From 18186faacca8c64adb913c9cbb6764e3b9bb4f39 Mon Sep 17 00:00:00 2001 From: Ambroise Maupate Date: Wed, 6 Sep 2023 12:20:13 +0200 Subject: [PATCH] style: Removed Roadiz font and drop old browser postcss support --- .../Form/AttributeValueTranslationType.php | 4 +- .../templates/users/list.html.twig | 2 +- .../app/less/actions_menu/actions_menu.less | 17 +++---- .../src/Resources/app/less/alerts/alerts.less | 11 +++-- .../app/less/autocomplete/autocomplete.less | 2 +- .../src/Resources/app/less/badges/badges.less | 6 ++- .../src/Resources/app/less/base/elements.less | 6 +-- .../app/less/breadcrumb/breadcrumb.less | 4 +- .../src/Resources/app/less/bulk/bulk.less | 2 +- .../Resources/app/less/buttons/buttons.less | 41 ++++++----------- lib/Rozier/src/Resources/app/less/common.less | 7 +-- .../custom-forms-fields.less | 4 +- .../app/less/custom-forms-front.less | 4 +- .../app/less/dashboard/latestSources.less | 6 +-- .../app/less/documents/documents.less | 20 ++++----- .../Resources/app/less/dropdown/dropdown.less | 10 ++--- .../Resources/app/less/dropzone/dropzone.less | 15 ++++--- .../src/Resources/app/less/forms/forms.less | 25 ++++++----- .../app/less/forms/markdown_editor.less | 20 +++++---- .../Resources/app/less/grid/grid_layout.less | 4 +- .../Resources/app/less/history/history.less | 8 ++-- .../src/Resources/app/less/login/login.less | 15 +++---- .../Resources/app/less/navbars/common.less | 6 +-- .../Resources/app/less/navbars/filterbar.less | 6 +-- .../app/less/navbars/navigation.less | 4 +- .../app/less/navbars/translationbar.less | 6 +-- .../app/less/node-type-fields/fields.less | 2 +- .../src/Resources/app/less/nodes/edit.less | 6 +-- .../src/Resources/app/less/nodes/global.less | 8 ++-- .../panels/entries_panel/admin_entries.less | 33 +++++++------- .../main_content_panel/main_content.less | 2 +- .../less/panels/trees_panel/trees_panel.less | 30 ++++++------- .../less/panels/user_panel/user_panel.less | 40 ++++++++--------- .../app/less/responsive/less-1280.less | 2 +- .../app/less/responsive/less-768.less | 30 ++++++------- .../src/Resources/app/less/tables/tables.less | 15 +++---- .../src/Resources/app/less/themes/import.less | 2 +- lib/Rozier/src/Resources/app/less/vars.less | 9 ++-- .../less/widgets/children_nodes_widget.less | 20 ++++----- .../app/less/widgets/customform_widget.less | 10 ++--- .../app/less/widgets/documents_widget.less | 20 ++++----- .../less/widgets/drawer_document_item.less | 20 ++++----- .../app/less/widgets/drawer_item.less | 15 +++---- .../app/less/widgets/drawer_widget.less | 2 +- .../Resources/app/less/widgets/explorer.less | 26 +++++------ .../app/less/widgets/filter_explorer.less | 2 +- .../app/less/widgets/geotag_widget.less | 4 +- .../Resources/app/less/widgets/nestable.less | 44 +++++++++---------- .../Resources/app/less/widgets/node_tree.less | 4 +- .../Resources/app/less/widgets/tag_tree.less | 4 +- .../views/nodes/attributes/edit.html.twig | 12 ++--- .../views/panels/user_panel.html.twig | 4 +- .../views/partials/css-inject.html.twig | 4 +- .../views/partials/js-inject.html.twig | 4 +- .../views/partials/simple-js-inject.html.twig | 2 +- .../src/Resources/views/users/edit.html.twig | 5 ++- lib/Rozier/src/package.json | 2 +- .../static/css/app.2b79591a6009142beb0e.css | 30 +++++++++++++ .../css/app.2b79591a6009142beb0e.css.map | 1 + .../static/css/app.d45a1cf8e90fcc4fd94a.css | 30 ------------- .../css/app.d45a1cf8e90fcc4fd94a.css.map | 1 - .../css/vendor.aaeedaa02e00b12e41cf.css.map | 1 - ...cf.css => vendor.c385c7e785cae6757716.css} | 4 +- .../css/vendor.c385c7e785cae6757716.css.map | 1 + ...3c35a6d.js => app.76681f9d6dfbdddff6f4.js} | 8 ++-- ...5a6d.js => simple.76681f9d6dfbdddff6f4.js} | 0 ...5a6d.js => vendor.76681f9d6dfbdddff6f4.js} | 2 +- 67 files changed, 355 insertions(+), 361 deletions(-) create mode 100644 lib/Rozier/src/static/css/app.2b79591a6009142beb0e.css create mode 100644 lib/Rozier/src/static/css/app.2b79591a6009142beb0e.css.map delete mode 100644 lib/Rozier/src/static/css/app.d45a1cf8e90fcc4fd94a.css delete mode 100644 lib/Rozier/src/static/css/app.d45a1cf8e90fcc4fd94a.css.map delete mode 100644 lib/Rozier/src/static/css/vendor.aaeedaa02e00b12e41cf.css.map rename lib/Rozier/src/static/css/{vendor.aaeedaa02e00b12e41cf.css => vendor.c385c7e785cae6757716.css} (88%) create mode 100644 lib/Rozier/src/static/css/vendor.c385c7e785cae6757716.css.map rename lib/Rozier/src/static/js/{app.3c7e5e0ab2e763c35a6d.js => app.76681f9d6dfbdddff6f4.js} (61%) rename lib/Rozier/src/static/js/{simple.3c7e5e0ab2e763c35a6d.js => simple.76681f9d6dfbdddff6f4.js} (100%) rename lib/Rozier/src/static/js/{vendor.3c7e5e0ab2e763c35a6d.js => vendor.76681f9d6dfbdddff6f4.js} (99%) diff --git a/lib/RoadizCoreBundle/src/Form/AttributeValueTranslationType.php b/lib/RoadizCoreBundle/src/Form/AttributeValueTranslationType.php index da0de219..0e3b2e8b 100644 --- a/lib/RoadizCoreBundle/src/Form/AttributeValueTranslationType.php +++ b/lib/RoadizCoreBundle/src/Form/AttributeValueTranslationType.php @@ -105,7 +105,9 @@ public function buildForm(FormBuilderInterface $builder, array $options): void break; } } - $builder->add('attributeValue', AttributeValueRealmType::class); + $builder->add('attributeValue', AttributeValueRealmType::class, [ + 'label' => false, + ]); } /** diff --git a/lib/RoadizRozierBundle/templates/users/list.html.twig b/lib/RoadizRozierBundle/templates/users/list.html.twig index cbea15f0..05c10b25 100644 --- a/lib/RoadizRozierBundle/templates/users/list.html.twig +++ b/lib/RoadizRozierBundle/templates/users/list.html.twig @@ -31,7 +31,7 @@ 'filters': filters, } only %} - {% trans %}user.lastLogin{% endtrans %} + {% trans %}user.lastLogin{% endtrans %} {% include '@RoadizRozier/includes/column_ordering.html.twig' with { 'field': 'lastLogin', 'filters': filters, diff --git a/lib/Rozier/src/Resources/app/less/actions_menu/actions_menu.less b/lib/Rozier/src/Resources/app/less/actions_menu/actions_menu.less index 80cea1da..28e29186 100644 --- a/lib/Rozier/src/Resources/app/less/actions_menu/actions_menu.less +++ b/lib/Rozier/src/Resources/app/less/actions_menu/actions_menu.less @@ -18,7 +18,7 @@ /* -------- STYLES -------- */ .action-menu-icon(){ - .rounded(100%); + border-radius: 100%; position: relative; display: inline-block; background: @item-global-background; @@ -75,7 +75,7 @@ header, .uk-button { position: relative; - .rounded(0); + border-radius: 0; .box-sizing(); border: 0 none; height: @action-menu-H; @@ -96,7 +96,7 @@ i { .action-menu-icon(); - .transition(~'border-color ease 0.3s, color ease 0.3s'); + transition: ~'border-color ease 0.3s, color ease 0.3s'; } &:focus, @@ -201,9 +201,8 @@ .label { position: absolute; display: block; - font-size: 12px; + font-size: @default-font-size; line-height: @action-menu-H; - font-weight: bold; color: #444; text-shadow: none; height: 100%; @@ -221,7 +220,8 @@ padding: 0 20px; z-index: 999; left: 0; - .transition(left 0.3s ease); + transition: left 0.3s ease; + font-weight: bold; } } } @@ -319,7 +319,7 @@ } i { .action-menu-icon(); - .transition(~'border-color ease 0.3s, color ease 0.3s'); + transition: ~'border-color ease 0.3s, color ease 0.3s'; width: 24px; height: 24px; @@ -335,9 +335,10 @@ display: inline-block; vertical-align: middle; font-size: 11px; - font-weight: bold; line-height: @action-submenu-H; padding-left: 9px; + letter-spacing: 0.01em; + &:before { display: none; } diff --git a/lib/Rozier/src/Resources/app/less/alerts/alerts.less b/lib/Rozier/src/Resources/app/less/alerts/alerts.less index b957bc75..5a827e99 100644 --- a/lib/Rozier/src/Resources/app/less/alerts/alerts.less +++ b/lib/Rozier/src/Resources/app/less/alerts/alerts.less @@ -5,12 +5,11 @@ .uk-alert { text-align: center; padding: 18px; - z-index: 9999; - font-size: 12px; + font-size: @default-font-size; font-weight: bold; background:#eaeaea; color:@grey-medium; - .rounded(0px); + border-radius: 0px; .box-sizing(); -webkit-font-smoothing: antialiased; //border-top: none; @@ -100,7 +99,7 @@ td.uk-alert { text-align: left; .transform(scaleY(0)); .transform-origin(left, top); - .opacity(0); + opacity: 0; .transform-transition(~' 0.5s ease, 0.5s opacity ease, 0.1s height ease'); .transition-timing-function(@easeOutExpo); } @@ -115,13 +114,13 @@ td.uk-alert { .form-col-focus { .form-help { .transform(scaleY(1)); - .opacity(1); + opacity: 1; } } } .uk-notify-message { - font-size: 12px; + font-size: @default-font-size; font-weight: bold; line-height: 18px; diff --git a/lib/Rozier/src/Resources/app/less/autocomplete/autocomplete.less b/lib/Rozier/src/Resources/app/less/autocomplete/autocomplete.less index 8db1191e..3abb9a73 100644 --- a/lib/Rozier/src/Resources/app/less/autocomplete/autocomplete.less +++ b/lib/Rozier/src/Resources/app/less/autocomplete/autocomplete.less @@ -11,7 +11,7 @@ /* -------- STYLES -------- */ .ui-autocomplete{ - font-size:12px; + font-size: @default-font-size; z-index: 99999; .ui-menu-item{ diff --git a/lib/Rozier/src/Resources/app/less/badges/badges.less b/lib/Rozier/src/Resources/app/less/badges/badges.less index 5567e1d6..71276449 100644 --- a/lib/Rozier/src/Resources/app/less/badges/badges.less +++ b/lib/Rozier/src/Resources/app/less/badges/badges.less @@ -14,8 +14,10 @@ border-color: @grey-form-submit-border; color: @grey-form-submit-color; background: @grey-form-submit; - font-size:11px; line-height:20px; - text-shadow: 0 1px 0 rgba(255,255,255,.5); + font-size: 11px; + line-height: 20px; + letter-spacing: 0.02em; + text-shadow: none; } .uk-badge-success{ diff --git a/lib/Rozier/src/Resources/app/less/base/elements.less b/lib/Rozier/src/Resources/app/less/base/elements.less index 1f757ea7..517ee2e5 100755 --- a/lib/Rozier/src/Resources/app/less/base/elements.less +++ b/lib/Rozier/src/Resources/app/less/base/elements.less @@ -14,13 +14,13 @@ .fake-display-none(){ display: block; pointer-events: none; - .opacity(0); + opacity: 0; } .fake-display-block(){ display: block; pointer-events: auto; - .opacity(1); + opacity: 1; } .text-ellipsis(){ @@ -56,7 +56,6 @@ opacity: @opacity; } - .transform(...) { transform: @arguments; } @@ -77,7 +76,6 @@ backface-visibility:@value; } - /* * Transitions */ diff --git a/lib/Rozier/src/Resources/app/less/breadcrumb/breadcrumb.less b/lib/Rozier/src/Resources/app/less/breadcrumb/breadcrumb.less index 6796164c..4e40ad0f 100644 --- a/lib/Rozier/src/Resources/app/less/breadcrumb/breadcrumb.less +++ b/lib/Rozier/src/Resources/app/less/breadcrumb/breadcrumb.less @@ -44,13 +44,13 @@ .node-breadcrumb-link{ color:@grey-medium; - .transition(0.4s color ease); + transition: 0.4s color ease; .uk-icon-rz-breadcrumb-home{ margin-top:-3px; font-size:16px; color: @icon-simple; - .transition(0.4s color ease); + transition: 0.4s color ease; -webkit-font-smoothing: none; } diff --git a/lib/Rozier/src/Resources/app/less/bulk/bulk.less b/lib/Rozier/src/Resources/app/less/bulk/bulk.less index ebfaa80d..c8f3ab26 100644 --- a/lib/Rozier/src/Resources/app/less/bulk/bulk.less +++ b/lib/Rozier/src/Resources/app/less/bulk/bulk.less @@ -69,7 +69,7 @@ display: inline-block; margin:-2px 0 0 0; padding:0 10px; - font-size:12px; + font-size: @default-font-size; color: #333; background: #EFEFEF; } diff --git a/lib/Rozier/src/Resources/app/less/buttons/buttons.less b/lib/Rozier/src/Resources/app/less/buttons/buttons.less index 8b5deaa8..65b21297 100644 --- a/lib/Rozier/src/Resources/app/less/buttons/buttons.less +++ b/lib/Rozier/src/Resources/app/less/buttons/buttons.less @@ -14,13 +14,10 @@ align-items: center; justify-content: center; height: 30px; - font-size: 11px; - line-height: 30px; - font-weight: bold; - .border-radius(0px); + font-size: 12px; + border-radius: 0; text-shadow: 0 1px 0 rgba(255,255,255,.5); - .transition(~'0.35s ease border-color, 0.5s ease background, opacity 0.5s linear'); - //padding: 1px 8px 0; + transition: 0.35s ease border-color, 0.5s ease background, 0.5s linear opacity; padding: 0 8px 0; @media (min-width: @screen-sm-min) { @@ -38,7 +35,7 @@ } [class*=uk-icon-]{ - font-size:12px; + font-size: @default-font-size; margin:0 4px 0 0; } @@ -48,8 +45,7 @@ @media screen and (min-width: 1380px) { height: 36px; - font-size: 12px; - line-height: 34px; + font-size: @default-font-size; [class*=uk-icon-]{ font-size: 16px; @@ -62,16 +58,13 @@ &-small { height: 25px; - line-height: 25px; [class*=uk-icon-] { font-size: 14px; - line-height: 25px; } @media screen and (min-width: 1380px) { height: 30px; - line-height: 28px; [class*=uk-icon-] { font-size: 16px; @@ -81,7 +74,6 @@ &-select-all { height: 32px; - line-height: 30px; [class*=uk-icon-] { font-size: 14px; @@ -91,7 +83,6 @@ &-filter{ width: 32px; height: 32px; - line-height: 30px; padding:0; background: white; text-shadow: none; @@ -175,9 +166,8 @@ padding: 0px; min-width: 17px; min-height: 17px; - line-height: 17px; font-size: 10px; - .rounded(100%); + border-radius: 100%; border: none; background: darken(@maintree-global-bg, 3%); color: darken(@maintree-global-bg, 30%); @@ -189,12 +179,11 @@ width:20px; height:20px; margin:2px; - line-height:18px; color: #666; border: 1px solid @grey-form-border; background-color: #F2F2F2; text-align: center; - .rounded(100%); + border-radius: 100%; align-items: center; justify-content: center; @@ -206,7 +195,6 @@ @media screen and (min-width: 1380px) { width:30px; height:30px; - line-height:28px; [class*=uk-icon-]{ font-size: 16px; @@ -297,28 +285,27 @@ .uk-button:disabled, .uk-button-disabled { - .opacity(0.4); + opacity: 0.4; } .uk-icon-button { display: inline-block; font-size: 20px; .box-sizing(); - .rounded(100%); + border-radius: 100%; width: 36px; height: 36px; - line-height: 34px; color: #444; text-align: center; border: 1px solid @user-panel-text-alt-color; background-origin: border-box; text-shadow: 0 1px 0 #fff; background: #333333; - .opacity(0.8); - .transition(~"border-color 0.3s linear, background 0.3s linear, opacity 0.3s linear"); + opacity: 0.8; + transition: ~"border-color 0.3s linear, background 0.3s linear, opacity 0.3s linear"; &:hover { - .opacity(0.8); + opacity: 0.8; border-color:@contrast-color; background: #333333; } @@ -410,9 +397,9 @@ height:34px; margin: 0; font-size: 16px; - line-height:32px; + line-height: 32px; background:#fff; - .rounded(18px); + border-radius: 18px; border:1px solid #cbcbcb; .box-sizing(); diff --git a/lib/Rozier/src/Resources/app/less/common.less b/lib/Rozier/src/Resources/app/less/common.less index 0414bbbc..7b22c574 100644 --- a/lib/Rozier/src/Resources/app/less/common.less +++ b/lib/Rozier/src/Resources/app/less/common.less @@ -82,7 +82,7 @@ background: #CCC; color: rgba(255, 255, 255, 0.6); font-size: 11px; line-height: 15px; - .rounded(3px); + border-radius: 3px; max-width: none; z-index: 20000; } @@ -111,7 +111,7 @@ background: #CCC; padding: 1px; border: none; background: #C2C2C2; - .rounded(100%); + border-radius: 100%; .drop-shadow(0 0 0 rgba(0,0,0,0)); height: auto; width: auto; @@ -119,11 +119,12 @@ background: #CCC; .uk-text-small { max-width: 650px; + letter-spacing: 0.02em; } .uk-text-danger { padding: 0 20px; - font-size: 12px; + font-size: @default-font-size; } @media screen and (max-width: @screen-md-max) { diff --git a/lib/Rozier/src/Resources/app/less/custom-forms-fields/custom-forms-fields.less b/lib/Rozier/src/Resources/app/less/custom-forms-fields/custom-forms-fields.less index 4a01f60b..ebb54962 100644 --- a/lib/Rozier/src/Resources/app/less/custom-forms-fields/custom-forms-fields.less +++ b/lib/Rozier/src/Resources/app/less/custom-forms-fields/custom-forms-fields.less @@ -15,7 +15,7 @@ //.custom-form-fields { // .uk-sortable { // .uk-sortable-placeholder { -// .opacity(1); +// opacity: 1; // border: 1px dashed #b5b5b5; // // td { @@ -56,7 +56,7 @@ a{ color:@grey-medium; - .transition(0.4s color ease); + transition: 0.4s color ease; &:hover{ text-decoration:none; diff --git a/lib/Rozier/src/Resources/app/less/custom-forms-front.less b/lib/Rozier/src/Resources/app/less/custom-forms-front.less index 49e96037..d4639f9d 100644 --- a/lib/Rozier/src/Resources/app/less/custom-forms-front.less +++ b/lib/Rozier/src/Resources/app/less/custom-forms-front.less @@ -81,7 +81,7 @@ } .uk-form-description { - font-size: 12px; + font-size: @default-font-size; line-height: 16px; margin-bottom: 5px; @@ -103,7 +103,7 @@ .form-col-choice { div { .uk-form-label { - font-size: 12px; + font-size: @default-font-size; &:before { content: ''; diff --git a/lib/Rozier/src/Resources/app/less/dashboard/latestSources.less b/lib/Rozier/src/Resources/app/less/dashboard/latestSources.less index d06627dd..c2bf0261 100644 --- a/lib/Rozier/src/Resources/app/less/dashboard/latestSources.less +++ b/lib/Rozier/src/Resources/app/less/dashboard/latestSources.less @@ -16,7 +16,7 @@ height: 150px; .no-thumb { - .rounded(75px); + border-radius: 75px; width: 150px; height: 150px; background-color: #CCC; @@ -30,13 +30,13 @@ display: block; &.source-image { - .rounded(75px); + border-radius: 75px; .transform-origin(50%,50%); .transform-transition(ease 0.3s); } } .user-image { - .rounded(30px); + border-radius: 30px; position: absolute; bottom: 0; right: 0; diff --git a/lib/Rozier/src/Resources/app/less/documents/documents.less b/lib/Rozier/src/Resources/app/less/documents/documents.less index cb892b0a..ae1e02dc 100644 --- a/lib/Rozier/src/Resources/app/less/documents/documents.less +++ b/lib/Rozier/src/Resources/app/less/documents/documents.less @@ -105,7 +105,7 @@ table.documents { top:4px; } .document-platform-icon { - .opacity(0); + opacity: 0; } .document-checkbox { display: block; @@ -129,7 +129,7 @@ table.documents { left:0; height:4px; background-color:#eaeaea; - .transition(0.5s background-color @easeOutExpo); + transition: 0.5s background-color @easeOutExpo; z-index:3; } @@ -160,7 +160,7 @@ table.documents { text-transform: uppercase; padding:0 5px; background:#C8C8C8; - .transition(0.4s top @easeOutExpo); + transition: 0.4s top @easeOutExpo; z-index:2; } @@ -170,7 +170,7 @@ table.documents { bottom:0; bottom:-30px; overflow: hidden; - .transition(0.4s bottom @easeOutExpo); + transition: 0.4s bottom @easeOutExpo; .box-sizing(); .document-link{ // a @@ -179,7 +179,7 @@ table.documents { height:30px; //color:#333; border:none; - .rounded(0); + border-radius: 0; .box-sizing(); //&:hover{ @@ -213,12 +213,12 @@ table.documents { position: absolute; top: 50%; left: 50%; - .rounded(3px); + border-radius: 3px; text-align: center; line-height: 37px; .box-shadow(0px 0px 3px rgba(0, 0, 0, 0.1)); - .opacity(0.95); - .transition(0.9s opacity @easeOutExpo); + opacity: 0.95; + transition: 0.9s opacity @easeOutExpo; padding: 5px; i{ @@ -247,7 +247,7 @@ table.documents { .document-source{ margin-top:20px; - font-size: 12px; + font-size: @default-font-size; code{ padding:5px; @@ -262,7 +262,7 @@ table.documents { .document-paths { dt, dd { - font-size: 12px; + font-size: @default-font-size; color: #555555; } diff --git a/lib/Rozier/src/Resources/app/less/dropdown/dropdown.less b/lib/Rozier/src/Resources/app/less/dropdown/dropdown.less index 47d0edb7..e0c2f66e 100644 --- a/lib/Rozier/src/Resources/app/less/dropdown/dropdown.less +++ b/lib/Rozier/src/Resources/app/less/dropdown/dropdown.less @@ -24,7 +24,7 @@ padding: 10px; font-size: 13px; .box-sizing(); - .rounded(0px); + border-radius: 0px; box-shadow: 1px 1px 2px rgba(0,0,0,.05); } @@ -49,7 +49,7 @@ } a{ background: #e5e5e5; - font-size: 12px; + font-size: @default-font-size; min-width: 150px; &:active, &:focus{ @@ -89,7 +89,7 @@ p { margin: 0; padding: 0 15px 0 20px; - font-size: 12px; + font-size: @default-font-size; height: @contextualdropdown-p-height; i { @@ -106,7 +106,7 @@ padding-left: 16px; padding-right: 11px; font-weight: bold; - .transition(~'background ease 0.2s, color ease 0.2s'); + transition: ~'background ease 0.2s, color ease 0.2s'; i { line-height: 40px; @@ -127,7 +127,7 @@ border-bottom: 1px solid @contextualdropdown-border-color; padding: 0 13px; color: @contextualdropdown-p-color; - .transition(~'background ease 0.2s, color ease 0.2s'); + transition: ~'background ease 0.2s, color ease 0.2s'; &+p { border-top: 1px solid rgba(255, 255, 255, 0.8); diff --git a/lib/Rozier/src/Resources/app/less/dropzone/dropzone.less b/lib/Rozier/src/Resources/app/less/dropzone/dropzone.less index cf45e381..c96278d1 100644 --- a/lib/Rozier/src/Resources/app/less/dropzone/dropzone.less +++ b/lib/Rozier/src/Resources/app/less/dropzone/dropzone.less @@ -12,7 +12,7 @@ /* -------- STYLES -------- */ .dropzone-container { - .rounded(0); + border-radius: 0; overflow: hidden; .circles-icons { @@ -24,7 +24,7 @@ position: absolute; top:50%; left:50%; - .rounded(200px); + border-radius: 200px; background:none; border:1px solid @circle-border-color; pointer-events: none; @@ -82,7 +82,8 @@ height:50px; border-top:1px dashed #D2D2D2; text-align: center; - font-size: 12px; line-height:50px; + font-size: @default-font-size; + line-height:50px; background:#ECECEC; color: @grey-medium; letter-spacing: 0.05em; @@ -126,7 +127,7 @@ } &.dz-image-preview:hover .dz-details img { - .opacity(1); + opacity: 1; } @@ -151,7 +152,7 @@ .dz-error-message { top: 0; padding: 5px; - font-size: 12px; + font-size: @default-font-size; text-align: center; min-width: 0; max-width: none; @@ -172,7 +173,7 @@ &.dz-error { .dz-error-message { - .opacity(1); + opacity: 1; } .dz-details { @@ -198,7 +199,7 @@ // Leave message when an upload has been done .dropzone-container.dz-started .dz-message{ display: block; - .opacity(1); + opacity: 1; .circles-icons{ display: none; diff --git a/lib/Rozier/src/Resources/app/less/forms/forms.less b/lib/Rozier/src/Resources/app/less/forms/forms.less index 7ba4b491..08d9e150 100644 --- a/lib/Rozier/src/Resources/app/less/forms/forms.less +++ b/lib/Rozier/src/Resources/app/less/forms/forms.less @@ -57,9 +57,9 @@ input[type="date"], input[type="datetime-local"], textarea { - font-size: 12px; + font-size: @default-font-size; line-height: 16px; - font-weight: bold; + //font-weight: bold; //width: 100%; // You cannot place this for a wide selector! it will break ui-kit color: @grey-form-text; padding: 0px 15px; @@ -67,7 +67,7 @@ border: 1px solid @grey-form-border; .border-radius(0px); .box-sizing(); - .transition(~'0.35s ease border-color, 0.5s ease background'); + transition: ~'0.35s ease border-color, 0.5s ease background'; &.colorpicker-input{ width:105px; @@ -102,7 +102,7 @@ // File input[type=file]{ - font-size:12px; + font-size: @default-font-size; } // Checkbox @@ -133,7 +133,7 @@ height:36px; margin: 0; padding: 0; - font-size:12px; + font-size: @default-font-size; color: @grey-form-text; //border: 1px solid @grey-form-border; .border-radius(0px); @@ -185,9 +185,9 @@ select[multiple]{ min-width: 100px; min-height: 120px; padding:0 6px; - font-size:12px; + font-size: @default-font-size; -webkit-appearance:none; - .rounded(0px); + border-radius: 0px; &:focus{ background-color: @grey-verylight; @@ -229,7 +229,7 @@ // Labels .uk-form-label { - font-size: 12px; + font-size: @default-font-size; color: @grey-form-label; font-weight: normal; @@ -250,7 +250,7 @@ } .form-check-label { - font-size: 12px; + font-size: @default-font-size; color: @grey-form-label; font-weight: normal; } @@ -320,9 +320,10 @@ } .form-row-desc { - max-width: 400px; - font-size: 11px; - line-height: 17px; + max-width: 450px; + font-size: 12px; + letter-spacing: 0.005em; + line-height: 16px; color: #b0b0b0; margin: 5px 0 10px; display: block; diff --git a/lib/Rozier/src/Resources/app/less/forms/markdown_editor.less b/lib/Rozier/src/Resources/app/less/forms/markdown_editor.less index 11906b3c..695a8447 100644 --- a/lib/Rozier/src/Resources/app/less/forms/markdown_editor.less +++ b/lib/Rozier/src/Resources/app/less/forms/markdown_editor.less @@ -10,7 +10,7 @@ /* -------- STYLES -------- */ .uk-form-row { .CodeMirror { - font-size: 12px; + font-size: @default-font-size; height: auto; } .markdown-editor-tabs { @@ -66,7 +66,7 @@ .markdown-editor { .CodeMirror { font-family: @roadiz-mono-font; - font-size: 12px; + font-size: @default-font-size; line-height: 18px; color: #666666; border: 1px solid @grey-form-border; @@ -116,12 +116,14 @@ &-nav { margin: 0; padding: 0; + display: flex; + flex-wrap: wrap; + gap: 5px 0; } li { width: @navbar-liHW; height: @navbar-liHW; - display: inline-block; .box-sizing(); &:first-child { @@ -166,8 +168,8 @@ width: 1px; height: @navbar-liHW; background-color: @grey-form-submit-border-hover; - .opacity(0); - .transition(opacity ease 0.2s); + opacity: 0; + transition: opacity ease 0.2s; } &.uk-active, @@ -175,7 +177,7 @@ border-color: @grey-form-submit-border-hover; background-color: @grey-form-submit-hover; &:before { - .opacity(1); + opacity: 1; } } } @@ -209,7 +211,7 @@ &-content { //border: 1px solid @grey-form-border; background: #fff; - .transition(~'0.35s ease border-color, 0.5s ease background'); + transition: ~'0.35s ease border-color, 0.5s ease background'; cursor: text; &:hover { @@ -225,7 +227,7 @@ } &-preview { padding: 10px 20px; - font-size: 12px; + font-size: @default-font-size; h2, h3, h4, h5, h6 { font-weight: bold; @@ -272,7 +274,7 @@ bottom: 0px; height: 30px; line-height: 30px; - font-size: 12px; + font-size: @default-font-size; text-align: right; display: none; } diff --git a/lib/Rozier/src/Resources/app/less/grid/grid_layout.less b/lib/Rozier/src/Resources/app/less/grid/grid_layout.less index 3c90184d..da34e888 100644 --- a/lib/Rozier/src/Resources/app/less/grid/grid_layout.less +++ b/lib/Rozier/src/Resources/app/less/grid/grid_layout.less @@ -73,7 +73,7 @@ bottom:0; left:0; background: #000; - .opacity(0); + opacity: 0; z-index:4; } @@ -113,7 +113,7 @@ width: 0; #main-trees-overlay { - .opacity(0.7); + opacity: 0.7; } } } diff --git a/lib/Rozier/src/Resources/app/less/history/history.less b/lib/Rozier/src/Resources/app/less/history/history.less index e4f859fb..cf5f1657 100644 --- a/lib/Rozier/src/Resources/app/less/history/history.less +++ b/lib/Rozier/src/Resources/app/less/history/history.less @@ -43,7 +43,7 @@ padding:10px 20px; background: #eee; color:#232323; - font-size:12px; + font-size: @default-font-size; .box-sizing(); } @@ -78,7 +78,7 @@ .user-image-default{ background: #c9c9c9; text-align: center; - .rounded(100%); + border-radius: 100%; .uk-icon-rz-users{ font-size:24px; @@ -101,7 +101,7 @@ height: 40px; max-width: none; background-color: #CCC; - .rounded(30px); + border-radius: 30px; } } @@ -114,7 +114,7 @@ display: flex; align-items: center; padding: 10px 20px; - font-size: 12px; + font-size: @default-font-size; line-height: 18px; color:#4c4c4c; width: 80%; diff --git a/lib/Rozier/src/Resources/app/less/login/login.less b/lib/Rozier/src/Resources/app/less/login/login.less index a2f39e77..8a0769e2 100644 --- a/lib/Rozier/src/Resources/app/less/login/login.less +++ b/lib/Rozier/src/Resources/app/less/login/login.less @@ -27,11 +27,11 @@ right: 0px; .transform(~'scale3D(1.05,1.105,1.05)'); - .opacity(0); + opacity: 0; .transform-transition(~'6s ease, opacity 1s linear'); &.visible { - .opacity(1); + opacity: 1; .transform(~'scale3D(1,1,1)'); } } @@ -235,7 +235,7 @@ background: @grey-verylight; vertical-align: middle; color: @grey-form-submit-icon; - .transition(~'color ease 0.35s, border-color ease 0.35s'); + transition: ~'color ease 0.35s, border-color ease 0.35s'; &:before { padding-left: 2px; @@ -245,10 +245,10 @@ display: inline-block; height: 38px; line-height: 41px; - font-size: 12px; + font-size: @default-font-size; vertical-align: top; color: @grey-form-submit-textsimple; - .transition(color ease 0.35s); + transition: color ease 0.35s; } &:hover { .uk-icon-rz-earth { @@ -265,14 +265,13 @@ margin: 8px 0 8px 8px; height: 22px; line-height: 25px; - font-size: 12px; - font-weight: bold; + font-size: @default-font-size; vertical-align: top; border-left: 1px solid @grey-form-border; padding-left: 10px; text-decoration: none; color: @grey-form-submit-textsimple; - .transition(color ease 0.35s); + transition: color ease 0.35s; &:hover { color: @grey-form-text; diff --git a/lib/Rozier/src/Resources/app/less/navbars/common.less b/lib/Rozier/src/Resources/app/less/navbars/common.less index 4fb06b4f..3d63b654 100644 --- a/lib/Rozier/src/Resources/app/less/navbars/common.less +++ b/lib/Rozier/src/Resources/app/less/navbars/common.less @@ -19,7 +19,7 @@ .uk-navbar { background: none transparent; border: 0 none; - .rounded(0); + border-radius: 0; margin: 0; padding: 0; @@ -41,10 +41,10 @@ & > li { &:first-child { & > a { - .rounded(0); + border-radius: 0; } } } } } -} \ No newline at end of file +} diff --git a/lib/Rozier/src/Resources/app/less/navbars/filterbar.less b/lib/Rozier/src/Resources/app/less/navbars/filterbar.less index 835abacc..6f581807 100644 --- a/lib/Rozier/src/Resources/app/less/navbars/filterbar.less +++ b/lib/Rozier/src/Resources/app/less/navbars/filterbar.less @@ -26,7 +26,7 @@ position: absolute; width:100%; height:22px; vertical-align: bottom; - font-size:12px; line-height:23px; + font-size: @default-font-size; line-height:23px; background:@maincontent-header-bg; color:@icon-simple; @@ -65,11 +65,11 @@ } .filter-form-text{ - font-size:12px; + font-size: @default-font-size; } .item-per-page-label { - font-size: 12px; + font-size: @default-font-size; display: inline-block; margin-right: 5px; } diff --git a/lib/Rozier/src/Resources/app/less/navbars/navigation.less b/lib/Rozier/src/Resources/app/less/navbars/navigation.less index c2f337f8..16e934a5 100644 --- a/lib/Rozier/src/Resources/app/less/navbars/navigation.less +++ b/lib/Rozier/src/Resources/app/less/navbars/navigation.less @@ -55,7 +55,7 @@ height: 0; background: #686868; z-index: 2; - .transition(0.3s height ease); + transition: 0.3s height ease; } &:hover, &:active { @@ -73,7 +73,7 @@ & > li { &:first-child { & > a { - .rounded(0); + border-radius: 0; } } } diff --git a/lib/Rozier/src/Resources/app/less/navbars/translationbar.less b/lib/Rozier/src/Resources/app/less/navbars/translationbar.less index edba33b1..511893ab 100644 --- a/lib/Rozier/src/Resources/app/less/navbars/translationbar.less +++ b/lib/Rozier/src/Resources/app/less/navbars/translationbar.less @@ -39,7 +39,7 @@ width: @active-border-size; background: @translation-nav-color; height: 100%; - .transition(0.3s background-color ease); + transition: 0.3s background-color ease; } a { @@ -52,7 +52,7 @@ text-transform: capitalize; font-size:11px; line-height:30px; box-shadow: none; - .transition(0.3s color ease); + transition: 0.3s color ease; &:active, &:focus{ box-shadow: none; @@ -117,7 +117,7 @@ width:100%; background: @translation-nav-color; height:@active-border-size; - .transition(0.3s background-color ease); + transition: 0.3s background-color ease; } } } diff --git a/lib/Rozier/src/Resources/app/less/node-type-fields/fields.less b/lib/Rozier/src/Resources/app/less/node-type-fields/fields.less index b431874f..16dfce46 100644 --- a/lib/Rozier/src/Resources/app/less/node-type-fields/fields.less +++ b/lib/Rozier/src/Resources/app/less/node-type-fields/fields.less @@ -31,7 +31,7 @@ a{ color:@grey-medium; - .transition(0.4s color ease); + transition: 0.4s color ease; &:hover{ text-decoration:none; diff --git a/lib/Rozier/src/Resources/app/less/nodes/edit.less b/lib/Rozier/src/Resources/app/less/nodes/edit.less index c7aaa649..ca50c8c7 100644 --- a/lib/Rozier/src/Resources/app/less/nodes/edit.less +++ b/lib/Rozier/src/Resources/app/less/nodes/edit.less @@ -15,10 +15,10 @@ .box-sizing(); width:24px; height:24px; - .rounded(20px); + border-radius: 20px; line-height:20px; background-color:#E0E0E0; - .transition(background-color ease 0.35s); + transition: background-color ease 0.35s; cursor: pointer; color: @black-title; @@ -81,7 +81,7 @@ background-color: #e5e5e5; border: 1px solid #bfbfbf; border-left: 0 none; - font-size: 12px; + font-size: @default-font-size; line-height: 25px; padding: 1px 13px 0px; diff --git a/lib/Rozier/src/Resources/app/less/nodes/global.less b/lib/Rozier/src/Resources/app/less/nodes/global.less index 907661bf..d56d9965 100644 --- a/lib/Rozier/src/Resources/app/less/nodes/global.less +++ b/lib/Rozier/src/Resources/app/less/nodes/global.less @@ -109,7 +109,7 @@ // top:0; right:0; left:0; // height:4px; // background-color:#eaeaea; - // .transition(0.5s background-color @easeOutExpo); + // transition: 0.5s background-color @easeOutExpo; // z-index:3; // } @@ -131,7 +131,7 @@ bottom:0; bottom:-30px; overflow: hidden; - .transition(0.4s bottom @easeOutExpo); + transition: 0.4s bottom @easeOutExpo; .box-sizing(); .node-link{ // a @@ -139,7 +139,7 @@ width:64px; height:30px; color:#333; border:none; - .rounded(0); + border-radius: 0; .box-sizing(); &:hover{ @@ -196,7 +196,7 @@ &:before{ content: "\f00c"; font-family: 'FontAwesome'; - font-size: 12px; + font-size: @default-font-size; -webkit-font-smoothing: antialiased; text-align: center; line-height: 12px; diff --git a/lib/Rozier/src/Resources/app/less/panels/entries_panel/admin_entries.less b/lib/Rozier/src/Resources/app/less/panels/entries_panel/admin_entries.less index d0b9d37e..bc039688 100644 --- a/lib/Rozier/src/Resources/app/less/panels/entries_panel/admin_entries.less +++ b/lib/Rozier/src/Resources/app/less/panels/entries_panel/admin_entries.less @@ -2,7 +2,6 @@ ENTRIES PANEL \*------------------------------------*/ - /* * Override ui kit buttons styles & colors */ @@ -10,9 +9,7 @@ /* -------- VARS -------- */ @minify-tree-panel-area-width: 35px; - /* -------- STYLES -------- */ - #admin-menu { position: relative; background: #fff; @@ -26,7 +23,7 @@ padding: 0px; margin: 0px; color: @admin-menu-color; - .transition(color ease 0.2s); + transition: color ease 0.2s; } } header { @@ -90,9 +87,12 @@ background-position: @icon-size*-1 @icon-size*-1; } } + & > p > .info { + font-weight: bold; + } } - i { + i { font-size: 28px; } .info { @@ -103,7 +103,6 @@ background-color: @admin-menu-info-color; height: 53px; font-size: 13px; - font-weight: bold; line-height: 55px; padding: 0 22px 0 20px; margin: 0; @@ -121,7 +120,7 @@ } } .work-in-progress { - font-size: 12px; + font-size: @default-font-size; color: #CCC; display: none; } @@ -150,7 +149,7 @@ min-width: 210px; .box-sizing(); text-align: left; - .transition(background ease 0.3s); + transition: background ease 0.3s; &:before, &:after { display: none; @@ -168,7 +167,7 @@ height: 43px; line-height: 43px; left: 28px; - font-size: 12px; + font-size: @default-font-size; color: @admin-entries-subnav-text-color; .box-shadow(0px 0px 0px rgba(0,0,0,0)); @@ -207,7 +206,7 @@ } & > a > .work-in-progress { - font-size: 12px; + font-size: @default-font-size; color: #CCC; display: block; background-color: #F5F5F5; @@ -245,11 +244,11 @@ } .uk-rz-coming-soon{ - .opacity(0.5); + opacity: 0.5; z-index:2; .uk-nav-sub{ - .opacity(1); + opacity: 1; &> li > a{ cursor: default; @@ -257,7 +256,7 @@ } } -#frontend-home { +#frontend-home { &-area { height: @global-header-height - @minify-tree-panel-area-width - 2px; .box-sizing(); @@ -271,7 +270,7 @@ line-height: 38px; width: 38px; height: 38px; - .transition(~'color ease 0.35s, border-color ease 0.35s'); + transition: ~'color ease 0.35s, border-color ease 0.35s'; text-align: center; &:before { @@ -300,7 +299,7 @@ background-position: @icon-size*-1 0; position: absolute; right: -15px; top: 117px; - .opacity(1); + opacity: 1; .transform-transition(~'ease 0.8s, 0.8s opacity ease'); .transition-timing-function(@easeOutExpo); } @@ -308,7 +307,7 @@ &.tree-panel-hidden { &:after { .transform(translate(5px)); - .opacity(0); + opacity: 0; } } } @@ -318,7 +317,7 @@ line-height: 18px; background: darken(@global-header-color, 10%); border: 0 none; - .transition(background ease 0.35s); + transition: background ease 0.35s; i { color: #666; diff --git a/lib/Rozier/src/Resources/app/less/panels/main_content_panel/main_content.less b/lib/Rozier/src/Resources/app/less/panels/main_content_panel/main_content.less index d413de61..e1d1f576 100644 --- a/lib/Rozier/src/Resources/app/less/panels/main_content_panel/main_content.less +++ b/lib/Rozier/src/Resources/app/less/panels/main_content_panel/main_content.less @@ -108,7 +108,7 @@ width:16px; height:16px; padding:0; color:@icon-simple; - .transition(0.4s color ease); + transition: 0.4s color ease; &:hover{ color:@icon-simple-hover; diff --git a/lib/Rozier/src/Resources/app/less/panels/trees_panel/trees_panel.less b/lib/Rozier/src/Resources/app/less/panels/trees_panel/trees_panel.less index b5b0c45d..155cad16 100644 --- a/lib/Rozier/src/Resources/app/less/panels/trees_panel/trees_panel.less +++ b/lib/Rozier/src/Resources/app/less/panels/trees_panel/trees_panel.less @@ -2,7 +2,7 @@ position: relative; left:0; height:100%; - .transition(~'0.8s width ease'); + transition: ~'0.8s width ease'; .transition-timing-function(@easeOutExpo); overflow:hidden; z-index:1; @@ -11,8 +11,8 @@ position: absolute; top:0; right:0; bottom:0; left:0; background: @grey-interface; - .opacity(0); - .transition(~'0.6s opacity ease'); + opacity: 0; + transition: ~'0.6s opacity ease'; .transition-timing-function(@easeOutExpo); z-index:2; pointer-events: none; @@ -24,7 +24,7 @@ // height:100%; overflow: hidden; padding-bottom:0; - .transition(~'0.8s left ease'); + transition: ~'0.8s left ease'; .transition-timing-function(@easeOutExpo); } @@ -98,7 +98,7 @@ } .see-all-root-tree { - font-size: 12px; + font-size: @default-font-size; color: #989898; vertical-align: top; display: inline-block; @@ -188,7 +188,7 @@ left: 5px; height: 2px; background-color: transparent; - .transition(0.4s background-color @easeOutExpo); + transition: 0.4s background-color @easeOutExpo; } &:focus, @@ -227,7 +227,7 @@ .uk-form-icon { height: 36px; width: 80%; - .transition(~'background ease 0.35s, color ease 0.35s'); + transition: ~'background ease 0.35s, color ease 0.35s'; i { color: @maintree-search-placeholder; @@ -238,10 +238,10 @@ background: @maintree-search-input-bg; border: 0 none; color: @maintree-search-placeholder; - font-size: 12px; + font-size: @default-font-size; width: 100%; // padding: 19px 18px 18px; - .rounded(20px); + border-radius: 20px; text-indent: 5px; &::-webkit-input-placeholder { @@ -291,7 +291,7 @@ border-left: 2px solid transparent; border-right: 1px solid darken(@maintree-search-input-bg, 4%); border-bottom: 1px solid darken(@maintree-search-input-bg, 4%); - .transition(~'background ease 0.35s, color ease 0.35s'); + transition: ~'background ease 0.35s, color ease 0.35s'; .text-ellipsis(); &:hover { @@ -336,7 +336,7 @@ border-left: 4px solid transparent; border-right: 1px solid darken(@maintree-search-input-bg, 4%); border-bottom: 1px solid darken(@maintree-search-input-bg, 4%); - .transition(~'background ease 0.35s, color ease 0.35s'); + transition: ~'background ease 0.35s, color ease 0.35s'; .text-ellipsis(); &:hover { @@ -424,17 +424,17 @@ float: none; display: inline-block; top: 0; - .transition(border-color ease 0.35s); + transition: border-color ease 0.35s; a { - .rounded(0); + border-radius: 0; line-height: 0; margin: 0; color: #909090; border: 0 none; font-size: 26px; padding: 7px 5px 7px 6px; - .transition(background ease 0.35s); + transition: background ease 0.35s; i { font-size: 26px; @@ -462,7 +462,7 @@ background: none #d3d3d3; border: 0 none; color: #555; - .rounded(0); + border-radius: 0; } } } diff --git a/lib/Rozier/src/Resources/app/less/panels/user_panel/user_panel.less b/lib/Rozier/src/Resources/app/less/panels/user_panel/user_panel.less index 6533d392..f377c50f 100644 --- a/lib/Rozier/src/Resources/app/less/panels/user_panel/user_panel.less +++ b/lib/Rozier/src/Resources/app/less/panels/user_panel/user_panel.less @@ -14,14 +14,14 @@ position: relative; background: @user-panel-color; color: @user-panel-text-alt-color; - .transition(width ease 0.5s); + transition: width ease 0.5s; z-index:2; p, a, li, h1, h2, h3, h4, h5, h6 { color: @user-panel-text-alt-color; } p, li, h1, h2, h3, h4, h5, h6 { - .transition(font-size ease 1s); + transition: font-size ease 1s; } &-container{ @@ -36,25 +36,25 @@ text-shadow: 0 1px 0 rgba(0,0,0,.8); font-size: 16px; line-height: 34px; - .opacity(0.3); + opacity: 0.3; &:hover { - .opacity(0.8); + opacity: 0.8; } &:focus{ background: darken(#333, 5%); color:#b7b7b7; - .opacity(0.9); + opacity: 0.9; } &.uk-icon-rz-turn-off, &.uk-icon-rz-user { border-color: @contrast-color; - .opacity(0.5); + opacity: 0.5; &:hover { - .opacity(0.8); + opacity: 0.8; } } @@ -64,26 +64,26 @@ } .dev-mode { - .opacity(0.75); + opacity: 0.75; padding: 10px; margin: 0; - font-size: 10px; + font-size: 11px; line-height: 1.5em; - .transition(font-size 1s ease); + transition: font-size 1s ease; text-shadow: 0 1px 0 rgba(0,0,0,.8); i { display: block; margin: 4px; font-size: 32px; - .transition(font-size 1s ease); + transition: font-size 1s ease; color: lighten(@user-panel-color, 25%); text-shadow: 0 1px 0 rgba(0,0,0,.8); } } &.minified { p, li, h1, h2, h3, h4, h5, h6 { - font-size: 12px; + font-size: @default-font-size; } .dev-mode { font-size: 10px; @@ -159,8 +159,8 @@ color: #333333; display: inline-block; text-decoration: none; - .opacity(0.95); - .transition(opacity ease 0.5s); + opacity: 0.95; + transition: opacity ease 0.5s; padding-left: 0px; width: 99%; // on Firefox, prevent line-return vertical-align: middle; @@ -175,7 +175,7 @@ } &:hover { - .opacity(1); + opacity: 1; } } } @@ -185,7 +185,7 @@ padding: 20px 0 10px 0; h3, p { - font-size: 12px; + font-size: @default-font-size; margin-top: 6px; } @@ -214,21 +214,21 @@ display: block; width: @user-picture-size; height: @user-picture-size; - .rounded(50%); + border-radius: 50%; border: 3px solid @user-panel-color; background: darken(@user-panel-color, 5%); overflow: hidden; margin: 0 auto; - .transition(~"width 1s ease, height 1s ease, border 0.4s ease"); + transition: ~"width 1s ease, height 1s ease, border 0.4s ease"; img { object-fit: cover; width: 100%; height: 100%; - .rounded(50%); + border-radius: 50%; border: 0 none; background-color: #383838; - .transition(~"width 1s ease, height 1s ease, border 1s ease"); + transition: ~"width 1s ease, height 1s ease, border 1s ease"; &.uk-thumbnail { padding: 0px; diff --git a/lib/Rozier/src/Resources/app/less/responsive/less-1280.less b/lib/Rozier/src/Resources/app/less/responsive/less-1280.less index 05fb1172..eebd6295 100644 --- a/lib/Rozier/src/Resources/app/less/responsive/less-1280.less +++ b/lib/Rozier/src/Resources/app/less/responsive/less-1280.less @@ -19,6 +19,6 @@ } .navbar-navigation > .uk-navbar-nav li a { - font-size: 12px; + font-size: @default-font-size; } } diff --git a/lib/Rozier/src/Resources/app/less/responsive/less-768.less b/lib/Rozier/src/Resources/app/less/responsive/less-768.less index f725feaa..7ce3f42c 100644 --- a/lib/Rozier/src/Resources/app/less/responsive/less-768.less +++ b/lib/Rozier/src/Resources/app/less/responsive/less-768.less @@ -98,9 +98,9 @@ width:60px; height:@mobile-admin-menu-height; background: @user-panel-color; - .rounded(0); + border-radius: 0; border:0; - .transition(0.6s background @easeOutExpo); + transition: 0.6s background @easeOutExpo; &.active{ background: #3a3a3a; @@ -112,7 +112,7 @@ height:38px; top:5px; right:8px; - .rounded((@user-picture-size / 2)+5px); + border-radius: (@user-picture-size / 2)+5px; border: 3px solid @user-panel-color; } } @@ -128,8 +128,8 @@ // margin:0 0 25px 0; text-align:left; text-shadow: none; - .rounded(0); - .opacity(1); + border-radius: 0; + opacity: 1; &:before{ position: relative; @@ -141,7 +141,7 @@ background: #3a3a3a; color:#686868; text-align: center; - .rounded(18px); + border-radius: 18px; .box-sizing(); } @@ -163,7 +163,7 @@ display: inline-block; vertical-align: top; height:60px; - font-size:12px; + font-size: @default-font-size; line-height:60px; color:#939393; font-family: @main-font; @@ -187,7 +187,7 @@ width:80vw; background: #f2f2f2; .translate(-80vw, 0); - z-index:9; + z-index: 999; --webkit-overflow-scrolling: touch; overflow-y: scroll; padding-bottom: 50px; @@ -216,7 +216,7 @@ background: #f2f2f2; padding:3px 0px; border-bottom:1px solid #d9d9d9; - .transition(0.6s background @easeOutExpo); + transition: 0.6s background @easeOutExpo; &.nav-open{ background: #e2e2e2; @@ -362,7 +362,7 @@ width:100%; height: @mobile-admin-menu-height - 1; background: #aaa; - .rounded(0px); + border-radius: 0px; border-bottom:1px solid #7f7f7f; i{ @@ -440,7 +440,7 @@ text-align: center; z-index:7; .box-sizing(); - .transition(0.6s background @easeOutExpo); + transition: 0.6s background @easeOutExpo; &.active{ @@ -454,7 +454,7 @@ font-size:24px; line-height: @mobile-admin-menu-height -1; color:#a3a3a3; - .transition(0.6s color @easeOutExpo); + transition: 0.6s color @easeOutExpo; } } @@ -526,7 +526,7 @@ a { height: auto; background-color: transparent; - font-size: 12px; + font-size: @default-font-size; line-height: 25px; padding: 5px 8px; } @@ -751,7 +751,7 @@ .history-log-date{ width:100%; height:30px; padding:0 10px; - font-size:12px; line-height:30px; + font-size: @default-font-size; line-height:30px; } .history-log-user{ @@ -776,7 +776,7 @@ } .user-image-default .uk-icon-rz-users{ - font-size:12px; line-height:24px; + font-size: @default-font-size; line-height:24px; } } diff --git a/lib/Rozier/src/Resources/app/less/tables/tables.less b/lib/Rozier/src/Resources/app/less/tables/tables.less index 9556b58e..009e0e5e 100644 --- a/lib/Rozier/src/Resources/app/less/tables/tables.less +++ b/lib/Rozier/src/Resources/app/less/tables/tables.less @@ -14,7 +14,7 @@ @form-row-border-color : #e2e2e2; .uk-table { - font-size: 12px; + font-size: @default-font-size; td, th { @media (min-width: @screen-sm-min) { @@ -26,12 +26,9 @@ .uk-form { display: flex; justify-content: space-between; - } - - &:not(:first-child) { - .uk-form:first-child { - margin-left: -8px; - } + align-items: center; + flex-wrap: wrap; + gap: 1em 0.5em; } .CodeMirror { @@ -66,7 +63,7 @@ td { border-top: 1px solid white; border-bottom: 1px solid @form-row-border-color; - .transition(0.7s background-color @easeOutExpo); + transition: 0.7s background-color @easeOutExpo; vertical-align: middle; color:@grey-medium; } @@ -87,7 +84,7 @@ a { color:@grey-medium; - .transition(0.4s color ease); + transition: 0.4s color ease; &:hover{ text-decoration:none; diff --git a/lib/Rozier/src/Resources/app/less/themes/import.less b/lib/Rozier/src/Resources/app/less/themes/import.less index c80841b7..51fcb746 100644 --- a/lib/Rozier/src/Resources/app/less/themes/import.less +++ b/lib/Rozier/src/Resources/app/less/themes/import.less @@ -8,7 +8,7 @@ font-weight: normal; } td { - font-size: 12px; + font-size: @default-font-size; line-height: 18px; padding: 8px 8px 4px; } diff --git a/lib/Rozier/src/Resources/app/less/vars.less b/lib/Rozier/src/Resources/app/less/vars.less index d81bdf98..eb5648b8 100644 --- a/lib/Rozier/src/Resources/app/less/vars.less +++ b/lib/Rozier/src/Resources/app/less/vars.less @@ -65,9 +65,12 @@ /* -------- FONTS -------- */ -@main-font: 'Roadiz', system-ui; -@roadiz-mono-font: 'Roadiz Mono', monospace; +//@main-font: 'Roadiz', system-ui; +//@roadiz-mono-font: 'Roadiz Mono', monospace; +@main-font: system-ui; +@roadiz-mono-font: monospace; @roadiz-light: 300; +@default-font-size: 13px; /* -------- ADMIN HEADERS -------- */ @@ -139,7 +142,7 @@ color:#666; &.label { - font-size: 12px; + font-size: @default-font-size; padding-left: 0px; margin-left: 0; } diff --git a/lib/Rozier/src/Resources/app/less/widgets/children_nodes_widget.less b/lib/Rozier/src/Resources/app/less/widgets/children_nodes_widget.less index 3d88cccc..16243bed 100644 --- a/lib/Rozier/src/Resources/app/less/widgets/children_nodes_widget.less +++ b/lib/Rozier/src/Resources/app/less/widgets/children_nodes_widget.less @@ -102,7 +102,7 @@ .uk-icon-rz-plus-simple { position: absolute; - top: 4px; + top: 8px; left: 10px; } @@ -178,7 +178,7 @@ left: 1px; width: @children-node-height - 15; height: @children-node-height - 15; - .rounded(100px); + border-radius: 100px; overflow: hidden; z-index: 5; @@ -189,7 +189,7 @@ } } .unpublished-node .nodetree-element-img { - .rounded(2px); + border-radius: 2px; .transform(rotate(45deg)); top: 9px; left: 4px; @@ -310,7 +310,7 @@ left: 3px; width: @children-node-height / 2; height: @children-node-height / 2; - .rounded(3px); + border-radius: 3px; z-index: 1; } } @@ -337,8 +337,8 @@ content: ""; font-family: FontAwesome; color: @item-color; - font-size: 12px; - .rounded(100%); + font-size: @default-font-size; + border-radius: 100%; background-color: white; border: 1px solid #a0a0a0; width: @children-node-height / 2; @@ -354,7 +354,7 @@ &.unpublished-node { .icon-stack-folder, .uk-icon-folder { - .rounded(15%); + border-radius: 15%; top: 10px; width: (@children-node-height / 2) - 3; height: (@children-node-height / 2) - 3; @@ -371,8 +371,8 @@ content: ""; font-family: FontAwesome; color: @item-color; - font-size: 12px; - .rounded(100%); + font-size: @default-font-size; + border-radius: 100%; background-color: #a0a0a0; width: 8px; height: 8px; @@ -386,7 +386,7 @@ .icon-stack-folder { &-final { &:after { - .rounded(15%); + border-radius: 15%; } } } diff --git a/lib/Rozier/src/Resources/app/less/widgets/customform_widget.less b/lib/Rozier/src/Resources/app/less/widgets/customform_widget.less index 3c2602c9..5fbf68c3 100644 --- a/lib/Rozier/src/Resources/app/less/widgets/customform_widget.less +++ b/lib/Rozier/src/Resources/app/less/widgets/customform_widget.less @@ -90,10 +90,10 @@ padding-left:15px; background: @grey-verylight; color:#333; - font-size:12px; line-height:32px; + font-size: @default-font-size; line-height:32px; overflow: hidden; cursor: default; - .transition(0.4s background @easeOutExpo); + transition: 0.4s background @easeOutExpo; &:hover{ @@ -125,14 +125,14 @@ width:64px; height:32px; top:0; right:-64px; overflow: hidden; - .transition(0.4s right @easeOutExpo); + transition: 0.4s right @easeOutExpo; .custom-form-link{ // a display: inline-block; vertical-align: top; width:32px; height:32px; - .rounded(0); + border-radius: 0; color:#333; - .opacity(0.95); + opacity: 0.95; &:hover{ color:darken(#333, 10%); diff --git a/lib/Rozier/src/Resources/app/less/widgets/documents_widget.less b/lib/Rozier/src/Resources/app/less/widgets/documents_widget.less index b3d3d42e..4ea62ac8 100644 --- a/lib/Rozier/src/Resources/app/less/widgets/documents_widget.less +++ b/lib/Rozier/src/Resources/app/less/widgets/documents_widget.less @@ -94,7 +94,7 @@ } &.rz-coming-soon { - .opacity(0.5); + opacity: 0.5; pointer-events: none; } } @@ -155,7 +155,7 @@ .document-name{ display: none; - .transition(~"0.4s opacity ease, 0.4s top ease"); + transition: ~"0.4s opacity ease, 0.4s top ease"; } .document-mime-type{ @@ -168,15 +168,15 @@ height:30px; bottom:-30px; overflow: hidden; - .transition(0.4s bottom @easeOutExpo); + transition: 0.4s bottom @easeOutExpo; background: rgba(255,255,255,0.8); .document-link { display: inline-block; width:40px; height:30px; - .rounded(0); - .opacity(0.95); + border-radius: 0; + opacity: 0.95; i { margin:0; @@ -200,12 +200,12 @@ position: absolute; top: 50%; left: 50%; - .rounded(4px); + border-radius: 4px; text-align: center; line-height: 35px; .box-shadow(0px 0px 3px rgba(0, 0, 0, 0.1)); - .opacity(0.95); - .transition(0.9s opacity @easeOutExpo); + opacity: 0.95; + transition: 0.9s opacity @easeOutExpo; i{ font-size: 28px; @@ -221,7 +221,7 @@ } .document-name { display: block; - .opacity(0.7); + opacity: 0.7; font-size: 9px; position: absolute; top: 63px; @@ -236,7 +236,7 @@ bottom:0px; } .document-platform-icon { - .opacity(0); + opacity: 0; } &.not-image { .document-name { diff --git a/lib/Rozier/src/Resources/app/less/widgets/drawer_document_item.less b/lib/Rozier/src/Resources/app/less/widgets/drawer_document_item.less index 83496842..a074e4a8 100644 --- a/lib/Rozier/src/Resources/app/less/widgets/drawer_document_item.less +++ b/lib/Rozier/src/Resources/app/less/widgets/drawer_document_item.less @@ -43,7 +43,7 @@ height: 15px; color: #fff; opacity: 0; - .transition(0.4s opacity @easeOutExpo); + transition: 0.4s opacity @easeOutExpo; } &:hover { @@ -68,7 +68,7 @@ .document-name{ display: none; - .transition(~"0.4s opacity ease, 0.4s top ease"); + transition: ~"0.4s opacity ease, 0.4s top ease"; } .document-mime-type{ @@ -81,15 +81,15 @@ height:30px; bottom:-30px; overflow: hidden; - .transition(0.4s bottom @easeOutExpo); + transition: 0.4s bottom @easeOutExpo; background: rgba(255,255,255,0.8); .document-link { display: inline-block; width:40px; height:30px; - .rounded(0); - .opacity(0.95); + border-radius: 0; + opacity: 0.95; i { margin:0; @@ -113,12 +113,12 @@ position: absolute; top: 50%; left: 50%; - .rounded(4px); + border-radius: 4px; text-align: center; line-height: 35px; .box-shadow(0px 0px 3px rgba(0, 0, 0, 0.1)); - .opacity(0.95); - .transition(0.9s opacity @easeOutExpo); + opacity: 0.95; + transition: 0.9s opacity @easeOutExpo; i{ font-size: 28px; @@ -134,7 +134,7 @@ } .document-name { display: block; - .opacity(0.7); + opacity: 0.7; font-size: 9px; position: absolute; top: 63px; @@ -149,7 +149,7 @@ bottom:0px; } .document-platform-icon { - .opacity(0); + opacity: 0; } &.not-image { .document-name { diff --git a/lib/Rozier/src/Resources/app/less/widgets/drawer_item.less b/lib/Rozier/src/Resources/app/less/widgets/drawer_item.less index 0c32ebe0..8147e0ee 100644 --- a/lib/Rozier/src/Resources/app/less/widgets/drawer_item.less +++ b/lib/Rozier/src/Resources/app/less/widgets/drawer_item.less @@ -19,13 +19,12 @@ padding: 0; background: #E5E5E5; color: #666; - font-size: 12px; + font-size: @default-font-size; line-height: @drawer-item-height; - font-weight: 600; overflow: hidden; cursor: default; .border-radius(3px, 3px, 0, 0); - .transition(0.4s background @easeOutExpo, 0.4s opacity @easeOutExpo); + transition: 0.4s background @easeOutExpo, 0.4s opacity @easeOutExpo; flex: 0 1 ~"calc(50% - 12px)"; @@ -89,7 +88,7 @@ top:0; right: -@drawer-item-height * 2; overflow: hidden; - .transition(0.4s right @easeOutExpo); + transition: 0.4s right @easeOutExpo; &.no-edit { width: @drawer-item-height; @@ -99,9 +98,9 @@ display: inline-block; width: @drawer-item-height; height: @drawer-item-height; - .rounded(0); + border-radius: 0; color: #333; - .opacity(0.95); + opacity: 0.95; vertical-align: top; &:hover{ @@ -218,9 +217,9 @@ right: -@drawer-item-height; background: #BBBBBB; text-align: center; - .transition(0.4s right @easeOutExpo); + transition: 0.4s right @easeOutExpo; .transition-timing-function(@easeOutExpo); - .opacity(0.95); + opacity: 0.95; i { color: #333; diff --git a/lib/Rozier/src/Resources/app/less/widgets/drawer_widget.less b/lib/Rozier/src/Resources/app/less/widgets/drawer_widget.less index fdaf5995..e550e4d9 100644 --- a/lib/Rozier/src/Resources/app/less/widgets/drawer_widget.less +++ b/lib/Rozier/src/Resources/app/less/widgets/drawer_widget.less @@ -141,7 +141,7 @@ } &.rz-coming-soon { - .opacity(0.5); + opacity: 0.5; pointer-events: none; } } diff --git a/lib/Rozier/src/Resources/app/less/widgets/explorer.less b/lib/Rozier/src/Resources/app/less/widgets/explorer.less index 28fc4729..753190c1 100644 --- a/lib/Rozier/src/Resources/app/less/widgets/explorer.less +++ b/lib/Rozier/src/Resources/app/less/widgets/explorer.less @@ -103,9 +103,9 @@ padding:0 11px; background: #4f4f4f; text-align: center; - .rounded(40px); + border-radius: 40px; .box-sizing(); - .transition(background 0.3s linear); + transition: background 0.3s linear; @media (min-width: @screen-sm-min) { margin:0 20px; @@ -165,7 +165,7 @@ border-color:#4f4f4f; color:#ccc; text-indent: 5px; - .rounded(19px); + border-radius: 19px; .box-sizing(); &:hover{ @@ -189,8 +189,8 @@ width:16px; height:16px; cursor: pointer; - .opacity(0.8); - .transition(0.4s opacity @easeOutExpo); + opacity: 0.8; + transition: 0.4s opacity @easeOutExpo; @media (min-width: @screen-sm-min) { top:45px; @@ -206,7 +206,7 @@ } &:hover{ - .opacity(1); + opacity: 1; } .uk-icon-rz-close-explorer{ @@ -287,7 +287,7 @@ top:0; left:0; width:80px; height:80px; background:none; - .rounded(0); + border-radius: 0; } .link-button-inner{ @@ -297,9 +297,9 @@ bottom:-30px; left:0; background:#BBBBBB; - .transition(0.4s bottom @easeOutExpo); + transition: 0.4s bottom @easeOutExpo; .transition-timing-function(@easeOutExpo); - .opacity(0.95); + opacity: 0.95; i{ color:#333; @@ -330,7 +330,7 @@ margin-left: auto; margin-right: auto; line-height: 45px; - font-size: 12px; + font-size: @default-font-size; width: ~"calc(100vw - 30px)"; @media (min-width: @screen-sm-min) { @@ -354,11 +354,11 @@ line-height: 44px; .box-sizing(); text-align: center; - .rounded(25px); - .transition(~"background-color linear 0.35s, border-color linear 0.35s, color linear 0.35s"); + border-radius: 25px; + transition: ~"background-color linear 0.35s, border-color linear 0.35s, color linear 0.35s"; .label{ - font-size: 12px; + font-size: @default-font-size; padding-left: 8px; font-weight: 600; } diff --git a/lib/Rozier/src/Resources/app/less/widgets/filter_explorer.less b/lib/Rozier/src/Resources/app/less/widgets/filter_explorer.less index 1ca17d49..70381ad3 100644 --- a/lib/Rozier/src/Resources/app/less/widgets/filter_explorer.less +++ b/lib/Rozier/src/Resources/app/less/widgets/filter_explorer.less @@ -60,7 +60,7 @@ } .infos-content { - font-size: 12px; + font-size: @default-font-size; border-bottom: 1px solid #d5d5d5; padding: 5px 5px 0; margin: 0 20px; diff --git a/lib/Rozier/src/Resources/app/less/widgets/geotag_widget.less b/lib/Rozier/src/Resources/app/less/widgets/geotag_widget.less index 973f291e..e3a3670c 100644 --- a/lib/Rozier/src/Resources/app/less/widgets/geotag_widget.less +++ b/lib/Rozier/src/Resources/app/less/widgets/geotag_widget.less @@ -22,7 +22,7 @@ left:66px; height:55px; line-height:59px; - font-size:12px; + font-size: @default-font-size; color:#555; } @@ -101,7 +101,7 @@ list-style: none; display: block; border-bottom:1px solid lighten(@geotag-widget-border, 10%); - font-size: 12px; + font-size: @default-font-size; padding: 5px 8px; .button { diff --git a/lib/Rozier/src/Resources/app/less/widgets/nestable.less b/lib/Rozier/src/Resources/app/less/widgets/nestable.less index 33274766..ee25d2b5 100644 --- a/lib/Rozier/src/Resources/app/less/widgets/nestable.less +++ b/lib/Rozier/src/Resources/app/less/widgets/nestable.less @@ -28,16 +28,15 @@ position: relative; display: block; width: 100%; height:40px; - font-size:12px; line-height:42px; + font-size: @default-font-size; line-height:42px; color:#666666; border-bottom:1px dashed #b5b5b5 ; margin:0 0 0; padding-left: 23px; - font-weight: bold; text-align: left; background: #D0D0D0; .box-sizing(); - .transition(~'background ease 0.35s, color ease 0.35s'); + transition: ~'background ease 0.35s, color ease 0.35s'; &:after{ position: absolute; @@ -134,7 +133,7 @@ display: flex; flex-wrap: wrap; // warning when lots of tags align-items: center; - font-size: 12px; + font-size: @default-font-size; position: relative; } @@ -147,10 +146,9 @@ display: block; color: @item-color-name-color-hover; text-decoration: none; - font-weight: bold; } i { - .transition(color ease 0.2s); + transition: color ease 0.2s; } &.home-stack, &.home-node { @@ -176,7 +174,7 @@ position: absolute; top: 6px; margin-left: 2px; - .opacity(0); + opacity: 0; z-index:4; } &:hover { @@ -217,8 +215,8 @@ content: ""; font-family: FontAwesome; color: @item-color; - font-size: 12px; - .rounded(100%); + font-size: @default-font-size; + border-radius: 100%; background-color: white; border: 1px solid @item-color; width: 10px; @@ -240,8 +238,8 @@ content: ""; font-family: FontAwesome; color: @item-color; - font-size: 12px; - .rounded(100%); + font-size: @default-font-size; + border-radius: 100%; background-color: @item-color; width: 4px; height: 4px; @@ -269,7 +267,7 @@ &.unpublished-node { .icon-stack-folder, .uk-icon-folder { - .rounded(25%); + border-radius: 25%; .transform(rotate(45deg)); } } @@ -296,7 +294,7 @@ & > .nodetree-element-name { a { text-decoration: line-through; - .opacity(0.8); + opacity: 0.8; } } &:hover { @@ -311,7 +309,7 @@ & > .tagtree-element-name { a { text-decoration: line-through; - .opacity(0.8); + opacity: 0.8; } } &:hover { @@ -326,7 +324,7 @@ & > .foldertree-element-name { a { text-decoration: line-through; - .opacity(0.8); + opacity: 0.8; } } &:hover { @@ -342,7 +340,7 @@ & > .uk-nestable-handle:before { width: 9px; height: 9px; - .rounded(2px); + border-radius: 2px; .rotation(45deg); top: 1px; left: 1px; // t2 } @@ -371,6 +369,8 @@ padding: 4px 7px 4px 25px; min-width: 50px; text-align: right; + text-shadow: none; + letter-spacing: 0.02em; i { display: none; @@ -447,11 +447,11 @@ .tree-element-name { max-width: 70%; white-space: nowrap; - .transition(color ease 0.35s); + transition: color ease 0.35s; & > i { - font-size: 12px; - .opacity(0.5); + font-size: @default-font-size; + opacity: 0.5; } & > a { @@ -481,15 +481,15 @@ content: ""; font-family: FontAwesome; color: @item-color; - font-size: 12px; - .rounded(100%); + font-size: @default-font-size; + border-radius: 100%; background-color: white; border: 1px solid @item-color; width: 10px; display: inline-block; height: 10px; top:1px; // t3 - .transition(~'border ease 0.2s, background ease 0.2s'); + transition: ~'border ease 0.2s, background ease 0.2s'; } /* * wrapper diff --git a/lib/Rozier/src/Resources/app/less/widgets/node_tree.less b/lib/Rozier/src/Resources/app/less/widgets/node_tree.less index 329610b2..bd9aa6d4 100644 --- a/lib/Rozier/src/Resources/app/less/widgets/node_tree.less +++ b/lib/Rozier/src/Resources/app/less/widgets/node_tree.less @@ -37,7 +37,7 @@ &:hover { & > .uk-nestable-panel > .nodetree-contextualmenu { - .opacity(1); + opacity: 1; } .nodetree-bulk-selection { @@ -65,7 +65,7 @@ position: absolute; right: 22px; top: 5px; - .opacity(0); + opacity: 0; .uk-icon-caret-down { font-size: 10px; diff --git a/lib/Rozier/src/Resources/app/less/widgets/tag_tree.less b/lib/Rozier/src/Resources/app/less/widgets/tag_tree.less index 7ac7031d..46ea93fb 100644 --- a/lib/Rozier/src/Resources/app/less/widgets/tag_tree.less +++ b/lib/Rozier/src/Resources/app/less/widgets/tag_tree.less @@ -18,7 +18,7 @@ &:hover { & > .uk-nestable-panel > .tagtree-contextualmenu { - .opacity(1); + opacity: 1; } .tagtree-bulk-selection { @@ -34,7 +34,7 @@ top: 3px; right: 22px; - .opacity(0); + opacity: 0; .uk-icon-caret-down { font-size: 10px; diff --git a/lib/Rozier/src/Resources/views/nodes/attributes/edit.html.twig b/lib/Rozier/src/Resources/views/nodes/attributes/edit.html.twig index 526787fc..ec437439 100644 --- a/lib/Rozier/src/Resources/views/nodes/attributes/edit.html.twig +++ b/lib/Rozier/src/Resources/views/nodes/attributes/edit.html.twig @@ -22,9 +22,7 @@ - - - + @@ -34,11 +32,13 @@ - + {% endif -%} + ")},complete:function(){a.removeClass("uk-icon-spin"),a.removeClass("uk-icon-spinner")}})}}]),e}();t.default=s},ibAD:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("dACh")),r=s(n("jx4H")),o=s(n("0iPh")),a=n("EQNM");function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(){(0,i.default)(this,e),this.$btn=(0,o.default)(".node-type-field-edit-button"),this.currentRequest=null,this.$btn.length&&(this.$formFieldRow=(0,o.default)(".node-type-field-row"),this.$formFieldCol=(0,o.default)(".node-type-field-col"),this.indexOpen=null,this.openFormDelay=0,this.$formCont=null,this.$form=null,this.$formIcon=null,this.$formContHeight=null,this.init())}return(0,r.default)(e,[{key:"init",value:function(){}},{key:"unbind",value:function(){}},{key:"btnClick",value:function(e){var t=this;return e.preventDefault(),null!==this.indexOpen?(this.closeForm(),this.openFormDelay=400):this.openFormDelay=0,this.indexOpen!==parseInt(e.currentTarget.getAttribute("data-index"))&&(this.currentRequest&&4!==this.currentRequest.readyState&&this.currentRequest.abort(),window.Rozier.lazyload.canvasLoader.show(),this.openTimeout&&clearTimeout(this.openTimeout),this.openTimeout=setTimeout(function(){var n=new CustomEvent("pagechange");window.dispatchEvent(n),t.indexOpen=parseInt(e.currentTarget.getAttribute("data-index")),t.currentRequest=o.default.ajax({url:e.currentTarget.href,type:"get",cache:!1,dataType:"html"}).done(function(n){t.applyContent(e.currentTarget,n,e.currentTarget.href)}).fail(function(){window.UIkit.notify({message:window.Rozier.messages.forbiddenPage,status:"danger",timeout:3e3,pos:"top-center"})}).always(function(){window.Rozier.lazyload.canvasLoader.hide()})},this.openFormDelay)),!1}},{key:"applyContent",value:function(e,t,n){var i=this,r=['','",""].join("");(0,o.default)(e).parent().parent().after(r),this.$formFieldCol.removeClass("node-type-field-col"),(0,o.default)(".rz-boolean-checkbox").bootstrapSwitch({size:"small"}),window.Rozier.lazyload.initMarkdownEditors(),window.setTimeout(function(){i.$formCont=(0,o.default)(".node-type-field-edit-form-cont"),i.formContHeight=i.$formCont.actual("height"),i.$formRow=(0,o.default)(".node-type-field-edit-form-row"),i.$form=(0,o.default)("#edit-node-type-field-form"),i.$formIcon=(0,o.default)(i.$formFieldRow[i.indexOpen]).find(".node-type-field-col-1 i"),i.$form.attr("action",n),i.$formIcon[0].className="uk-icon-chevron-down",i.$formCont[0].style.height="0px",i.$formCont[0].style.display="block",a.TweenLite.to(i.$form,.6,{height:i.formContHeight,ease:a.Expo.easeOut}),a.TweenLite.to(i.$formCont,.6,{height:i.formContHeight,ease:a.Expo.easeOut})},200)}},{key:"closeForm",value:function(){var e=this;this.$formIcon[0].className="uk-icon-chevron-right",a.TweenLite.to(this.$formCont,.4,{height:0,ease:a.Expo.easeOut,onComplete:function(){e.$formRow.remove(),e.indexOpen=null,e.$formFieldCol.addClass("node-type-field-col")}})}},{key:"resize",value:function(){}}]),e}();t.default=l},inhQ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[e.nextPage&&e.nextPage>1?n("div",{staticClass:"widget-explorer-nextpage",on:{click:function(t){t.preventDefault(),e.loadMoreItems(t)}}},[e.isLoadingMore?[n("transition",{attrs:{name:"fade"}},[n("div",{staticClass:"spinner light"})])]:[n("i",{staticClass:"uk-icon-plus"}),e._v(" "),n("span",{staticClass:"label"},[e._v(e._s(e.moreItemsText))])]],2):e._e()])},staticRenderFns:[]};t.default=i},jfiS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._t("default"),e._v(" "),n("label",{staticClass:"typo__label"},[e._v("Tagging")]),e._v(" "),n("multiselect",{attrs:{"tag-placeholder":"Add this as new tag",placeholder:"Search or add a tag",label:"name","track-by":"id",options:e.options,multiple:!0,taggable:!0,"group-values":"children","group-label":"name"},on:{tag:e.addTag,input:e.tagsUpdateValue},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}}),e._v(" "),n("pre",{staticClass:"language-json"},[n("code",[e._v(e._s(e.value))])])],2)},staticRenderFns:[]};t.default=i},jx8E:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[!e.isTagExisting&&e.searchTerms?n("div",{staticClass:"tag-creator"},[n("div",{staticClass:"infos"},[e._v(e._s(e.translations.createTag))]),e._v(" "),n("tag-creator-item",{attrs:{"create-tag":e.tagsCreate,"tag-name":e.searchTerms}})],1):e._e()])},staticRenderFns:[]};t.default=i},kMqv:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTags=function(){var e={_token:window.RozierRoot.ajaxToken,_action:"tagsExplorer"};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.tagsAjaxExplorer,params:e}).then(function(e){return void 0!==e.data&&e.data.tags?{items:e.data.tags}:{}}).catch(function(e){throw new Error(e)})},t.getParentTags=function(){var e={_token:window.RozierRoot.ajaxToken,_action:"tagsExplorer",onlyParents:!0};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.tagsAjaxExplorer,params:e}).then(function(e){return void 0!==e.data&&e.data.tags?{items:e.data.tags}:{}}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},kR5N:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("dACh")),r=s(n("jx4H")),o=s(n("0iPh")),a=n("Tzw7");function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(){(0,i.default)(this,e),this.$content=(0,o.default)(".content-tag-edit").eq(0),this.$form=(0,o.default)("#edit-tag-form"),this.$formRow=null,this.$dropdown=null,this.onFormSubmit=this.onFormSubmit.bind(this),this.$content.length&&(this.$formRow=this.$content.find(".uk-form-row"),this.initEvents())}return(0,r.default)(e,[{key:"initEvents",value:function(){this.$form.on("submit",this.onFormSubmit)}},{key:"unbind",value:function(){this.$content.length&&this.$form.off("submit",this.onFormSubmit)}},{key:"onFormSubmit",value:function(){var e=this;return window.Rozier.lazyload.canvasLoader.show(),this.currentTimeout&&clearTimeout(this.currentTimeout),this.currentTimeout=setTimeout(function(){var t=new CustomEvent("pagechange");window.dispatchEvent(t);var n=new FormData(e.$form.get(0));o.default.ajax({url:window.location.href,type:"post",data:n,processData:!1,cache:!1,contentType:!1}).done(function(t){e.cleanErrors()}).fail(function(t){t.responseJSON&&(e.displayErrors(t.responseJSON.errors),window.UIkit.notify({message:t.responseJSON.message,status:"danger",timeout:2e3,pos:"top-center"}))}).always(function(){window.Rozier.lazyload.canvasLoader.hide(),window.Rozier.refreshMainTagTree(),window.Rozier.getMessages()})},300),!1}},{key:"cleanErrors",value:function(){var e=(0,o.default)(".form-errored");e.each(function(t){e.eq(t).removeClass("form-errored"),e.eq(t).find(".error-message").remove()})}},{key:"displayErrors",value:function(e,t){for(var n in t&&!1!==t||this.cleanErrors(),e){var i=null,r=null;if("object"===(0,a.toType)(e[n]))this.displayErrors(e[n],!0);else{i=n.replace("_","-"),r=e[n]instanceof Array?e[n][0]:e[n];var s=(0,o.default)(".form-col-"+i);s.length&&(s.addClass("form-errored"),s.append('

'+r+"

"))}}}},{key:"resize",value:function(){}}]),e}();t.default=l},kRS3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n("H8iA")),r=o(n("KtXb"));function o(e){return e&&e.__esModule?e:{default:e}}t.default={centralTruncate:i.default,truncate:r.default}},krmO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(e){return e&&e.__esModule?e:{default:e}}(n("Xos8")),o=n("xHmi");var a={documentPreviewInit:function(e,t){var n=e.commit,i=t.document;n(o.DOCUMENT_PREVIEW_INIT,{document:i})},documentPreviewDestroy:function(e){(0,e.commit)(o.DOCUMENT_PREVIEW_DESTROY)},documentPreviewClose:function(e){(0,e.commit)(o.DOCUMENT_PREVIEW_CLOSE)},documentPreviewOpen:function(e){(0,e.commit)(o.DOCUMENT_PREVIEW_OPEN)}},s=(i={},(0,r.default)(i,o.DOCUMENT_PREVIEW_INIT,function(e,t){var n=t.document;e.document=n}),(0,r.default)(i,o.DOCUMENT_PREVIEW_DESTROY,function(e){e.isVisible||(e.document=null)}),(0,r.default)(i,o.KEYBOARD_EVENT_SPACE,function(e){null===e.document||e.isVisible?e.isVisible&&(e.isVisible=!1,e.document=null):e.isVisible=!0}),(0,r.default)(i,o.KEYBOARD_EVENT_ESCAPE,function(e){e.isVisible=!1,e.document=null}),(0,r.default)(i,o.DOCUMENT_PREVIEW_OPEN,function(e){e.isVisible=!0}),(0,r.default)(i,o.DOCUMENT_PREVIEW_CLOSE,function(e){e.isVisible=!1,e.document=null}),i);t.default={state:{document:null,isVisible:!1,isLoading:!1},getters:{documentPreviewGetDocument:function(e){return e.document}},actions:a,mutations:s}},"l/s5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("drawer-item",{attrs:{item:e.item,index:e.index,"drawer-name":e.drawerName,"is-item-explorer":e.isItemExplorer,"parent-name":e.item.parent?e.item.parent:"",name:e.item.name?e.item.name:"","edit-item":e.item.editUrl,"add-item":e.addItem,"remove-item":e.removeItem}})},staticRenderFns:[]};t.default=i},lRwf:function(e,t){e.exports=Vue},lS9x:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("T4f3")),r=d(n("bnjF")),o=d(n("umdK")),a=d(n("DqSB")),s=d(n("Afu7")),l=d(n("RfA7")),u=d(n("e1f4")),c=d(n("CpLN"));function d(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var h=(0,i.default)({},r,o,a,s,l,u,c);t.default=h},lTHl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("rJVn"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("jx8E"),s=n.n(a);var l=function(e){n("9ZFY")},u=n("/4AN")(r.a,s.a,!1,l,"data-v-2897d1a1",null);t.default=u.exports},m1Vf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getJoinsByIds=function(e){var t=e.ids,n=void 0===t?[]:t,r=e.filters,o={_token:window.RozierRoot.ajaxToken,ids:n,nodeTypeFieldId:r.nodeTypeField};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.joinsAjaxByArray,params:o}).then(function(e){return void 0!==e.data&&e.data.items?{items:e.data.items}:null}).catch(function(e){throw new Error(e.response.data.humanMessage)})},t.getJoins=function(e){var t=e.searchTerms,n=e.preFilters,r=e.filters,o=(e.filterExplorerSelection,e.moreData),a={_token:window.RozierRoot.ajaxToken,_action:"toggleExplorer",nodeTypeFieldId:n?n.nodeTypeField:null,search:t,page:1};o&&(a.page=r?r.nextPage:1);return(0,i.default)({method:"GET",url:window.RozierRoot.routes.joinsAjaxExplorer,params:a}).then(function(e){return void 0!==e.data&&e.data.entities?{items:e.data.entities,filters:e.data.filters}:{}}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},mC1X:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("T4f3")),r=n("SJI6"),o=s(n("eQwT")),a=s(n("4NIs"));function s(e){return e&&e.__esModule?e:{default:e}}t.default={props:{entity:{required:!0,type:String},name:{required:!0,type:String},id:{required:!0,type:String},cols:{type:Number},rows:{type:Number},initialValue:{required:!0,type:String}},mixins:[o.default],data:function(){return{currentView:"",value:""}},mounted:function(){this.ids=this.initialValue.split(",")},computed:(0,i.default)({},(0,r.mapState)({translations:function(e){return e.translations}}),{updateList:function(){var e=this.items.map(function(e){return e.nodeName});this.value=e.join(", ")}}),components:{RzTextarea:a.default}}},mebu:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("ZJj3"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("c8JY"),s=n.n(a);var l=function(e){n("O9HX")},u=n("/4AN")(r.a,s.a,!1,l,"data-v-2ad1fec2",null);t.default=u.exports},nFnR:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.drawer?n("div",{ref:"drawer",staticClass:"uk-form-row drawer-widget entity-",class:[{"uk-active":e.isActive,"uk-alert-danger":e.drawer.errorMessage},"entity-"+e.entity],attrs:{"data-accept-entity":e.entity,"data-accept-limit":"0","data-entity-types":"[]"}},[n("nav",{staticClass:"drawer-widget-nav uk-navbar"},[e._m(0,!1,!1),e._v(" "),n("div",{staticClass:"uk-navbar-content uk-navbar-flip"},[n("div",{staticClass:"drawer-widget-quick-creation uk-button-group"},[n("rz-button",{attrs:{"is-active":e.drawer.isActive,callback:e.onExplorerButtonClick}},[n("i",{staticClass:"uk-icon-rz-explore"}),e._v("\n "+e._s(e.translations.explorer)+"\n ")])],1)])]),e._v(" "),e.drawer.errorMessage?[n("p",{staticClass:"uk-text-danger"},[e._v("\n "+e._s(e.drawer.errorMessage)+"\n ")])]:e._e(),e._v(" "),n("div",{staticClass:"drawer-widget-sortable-container"},[e.drawer.isLoading?n("transition",{attrs:{name:"fade"}},[n("div",{staticClass:"spinner"})]):e._e(),e._v(" "),n("ul",{staticClass:"drawer-widget-sortable",attrs:{"data-input-name":""}},[n("draggable",{attrs:{options:{group:""}},model:{value:e.items,callback:function(t){e.items=t},expression:"items"}},[n("transition-group",e._l(e.items,function(t,i){return n(e.drawer.currentListingView,{key:t.id,tag:"component",attrs:{"drawer-name":e.drawerName,"is-item-explorer":!1,"add-item":e.addItem,"remove-item":e.removeItem,index:i,item:t}})}))],1)],1),e._v(" "),n("div",{staticClass:"hidden"},[n("rz-textarea",{attrs:{"initial-value":e.value,name:e.name,id:e.id,cols:e.cols,rows:e.rows}}),e._v("\n "+e._s(e.updateList)+"\n ")],1)],1)],2):e._e()},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("ul",{staticClass:"uk-navbar-nav"},[t("li",{staticClass:"uk-navbar-brand"},[t("i",{})])])}]};t.default=i},nY3t:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=u(n("Xos8")),o=u(n("T4f3")),a=u(n("lS9x")),s=n("xHmi"),l=n("EY70");function u(e){return e&&e.__esModule?e:{default:e}}var c=(0,o.default)({},{isOpen:!1,isLoading:!1,items:[],entity:null,icons:{normal:"uk-icon-circle-o",active:"uk-icon-circle"},selectedItem:null}),d={filterExplorerOpen:function(e){var t=e.commit,n=e.dispatch,i=e.getters.getExplorerEntity;t(s.FILTER_EXPLORER_OPEN,{entity:i}),n("explorerResetSearchTerms"),n("filterExplorerMakeSearch")},filterExplorerUpdate:function(e,t){var n=e.commit,i=e.dispatch,r=t.item;n(s.FILTER_EXPLORER_UPDATE,{item:r}),i("explorerMakeSearch")},filterExplorerClose:function(e){(0,e.commit)(s.FILTER_EXPLORER_CLOSE)},filterExplorerReset:function(e){(0,e.commit)(s.FILTER_EXPLORER_RESET)},filterExplorerToggle:function(e){var t=e.dispatch;e.state.isOpen?t("filterExplorerClose"):t("filterExplorerOpen")},filterExplorerMakeSearch:function(e){var t=e.commit,n=e.state;t(s.FILTER_EXPLORER_REQUEST);var i=n.entity;return a.default.getFilters({entity:i}).then(function(e){e?t(s.FILTER_EXPLORER_SUCCESS,{result:e}):t(s.FILTER_EXPLORER_FAILED)}).catch(function(e){t(s.FILTER_EXPLORER_FAILED,{error:e})})}},h=(i={},(0,r.default)(i,s.FILTER_EXPLORER_UPDATE,function(e,t){var n=t.item;e.selectedItem=n}),(0,r.default)(i,s.FILTER_EXPLORER_REQUEST,function(e){e.isLoading=!0}),(0,r.default)(i,s.FILTER_EXPLORER_SUCCESS,function(e,t){var n=t.result;e.items=n.items,e.isLoading=!1}),(0,r.default)(i,s.FILTER_EXPLORER_OPEN,function(e,t){var n=t.entity;switch(e.isOpen=!0,e.entity=n,n){case l.DOCUMENT_ENTITY:e.icons.normal="uk-icon-folder",e.icons.active="uk-icon-folder-open";break;case l.NODE_ENTITY:case l.TAG_ENTITY:e.icons.normal="uk-icon-tag",e.icons.active="uk-icon-tag"}}),(0,r.default)(i,s.FILTER_EXPLORER_CLOSE,function(e){e.isOpen=!1}),(0,r.default)(i,s.FILTER_EXPLORER_RESET,function(e){e.selectedItem=null,e.items=[]}),(0,r.default)(i,s.FILTER_EXPLORER_FAILED,function(e,t){t.error;e.isLoading=!1,e.error="Request failed"}),(0,r.default)(i,s.KEYBOARD_EVENT_ESCAPE,function(e){e.isLoading=!1,e.isOpen=!1,e.selectedItem=null}),i);t.default={state:c,getters:{getFilterExplorerSelectedItem:function(e){return e.selectedItem}},actions:d,mutations:h}},oUTm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this.$createElement;return(this._self._c||e)("textarea",{attrs:{name:this.name,id:this.id,cols:this.cols,rows:this.rows}},[this._v(this._s(this.initialValue))])},staticRenderFns:[]};t.default=i},otgr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade-in"}},[e.item?n("li",{staticClass:"item"},[n("a",{staticClass:"filter-item-link",class:[e.isCurrentItem?"active":""],attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.onItemClick(e.item)}}},[n("i",{staticClass:"icon",class:e.isCurrentItem?e.icons.active:e.icons.normal}),e._v(" "),n("span",{staticClass:"text"},[e._v(e._s(e.item.name))])]),e._v(" "),n("ul",{staticClass:"sub-filters"},e._l(e.item.children,function(t,i){return n("filter-explorer-item",{key:t.id,attrs:{icons:e.icons,"current-item":e.currentItem,entity:e.entity,"on-item-click":e.onItemClick,item:t}})}))]):e._e()])},staticRenderFns:[]};t.default=i},"p+9q":function(e,t,n){(e.exports=n("lcwS")(!1)).push([e.i,"\n.toolbar[data-v-2ad1fec2] {\n margin: 20px 0;\n}\n.toolbar .toolbar__select_wraper[data-v-2ad1fec2] {\n position: relative;\n display: inline-block;\n}\n.toolbar .toolbar__select_wraper .toolbar__select[data-v-2ad1fec2] {\n padding-right: 30px;\n}\n.toolbar .toolbar__select_wraper i[data-v-2ad1fec2] {\n position: absolute;\n right: 7px;\n top: 11px;\n pointer-events: none;\n}\n",""])},pQmN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("AcRm"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("Mukt"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},pmdL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=N(n("X9RM")),r=N(n("dACh")),o=N(n("jx4H")),a=N(n("0iPh")),s=n("EQNM"),l=N(n("QKtd")),u=N(n("P4+A")),c=N(n("tjLZ")),d=N(n("UIBU")),h=N(n("sOvm")),f=N(n("Tr2I")),p=N(n("ibAD")),m=N(n("JTvu")),g=N(n("T2ht")),v=N(n("h5eJ")),_=N(n("bB58")),b=N(n("PKoN")),w=N(n("FVwp")),k=N(n("0vVo")),y=N(n("7Smz")),x=N(n("3Z0C")),E=N(n("wi4E")),C=N(n("QKcT")),T=N(n("aI4R")),S=N(n("3aBW")),A=N(n("+VLV")),R=N(n("RIYy")),D=N(n("NAyJ")),I=N(n("Ow2O")),O=N(n("ZysM")),M=N(n("x4pS")),$=N(n("kR5N")),L=N(n("t4hZ"));function N(e){return e&&e.__esModule?e:{default:e}}var P=function(){function e(){(0,r.default)(this,e),this.$linksSelector=null,this.$canvasLoaderContainer=null,this.documentsList=null,this.mainColor=null,this.currentRequest=null,this.nodeTreeContextActions=null,this.documentsBulk=null,this.tagsBulk=null,this.inputLengthWatcher=null,this.documentUploader=null,this.childrenNodesFields=null,this.geotagField=null,this.multiGeotagField=null,this.saveButtons=null,this.tagAutocomplete=null,this.folderAutocomplete=null,this.nodeTypeFieldsPosition=null,this.attributeValuesPosition=null,this.customFormFieldsPosition=null,this.settingsSaveButtons=null,this.nodeTypeFieldEdit=null,this.nodeEditSource=null,this.tagEdit=null,this.markdownEditors=[],this.jsonEditors=[],this.cssEditors=[],this.yamlEditors=[],this.$window=(0,a.default)(window),this.onPopState=this.onPopState.bind(this),this.onClick=this.onClick.bind(this),this.parseLinks(),window.removeEventListener("popstate",this.onPopState),window.addEventListener("popstate",this.onPopState),this.$canvasLoaderContainer=(0,a.default)("#canvasloader-container"),this.mainColor=window.Rozier.mainColor?window.Rozier.mainColor:"#00deab",this.initLoader(),window.history.pushState({},document.title,window.location.href)}return(0,o.default)(e,[{key:"initLoader",value:function(){this.canvasLoader=new window.CanvasLoader("canvasloader-container"),this.canvasLoader.setColor(this.mainColor),this.canvasLoader.setShape("square"),this.canvasLoader.setDensity(90),this.canvasLoader.setRange(.8),this.canvasLoader.setSpeed(4),this.canvasLoader.setFPS(30)}},{key:"parseLinks",value:function(){this.$linksSelector=(0,a.default)("a:not('[target=_blank]')").not(".rz-no-ajax-link").not("[download]").not('[href="#"]')}},{key:"onClick",value:function(e){var t=this,n=(0,a.default)(e.currentTarget),i=n.attr("href");if(void 0!==i&&!n.hasClass("rz-no-ajax-link")&&""!==i&&"#"!==i&&(i.indexOf(window.Rozier.baseUrl)>=0||"/"===i.charAt(0)||"?"===i.charAt(0)))return e.preventDefault(),this.clickTimeout&&clearTimeout(this.clickTimeout),this.clickTimeout=window.setTimeout(function(){window.history.pushState({},null,n.attr("href")),t.onPopState(null)},0),!1}},{key:"onPopState",value:function(e){var t=null;null!==e&&e.originalEvent&&(t=e.originalEvent.state),void 0!==t&&null!==t||(t=window.history.state),null!==t&&(this.canvasLoader.show(),this.loadContent(t,window.location))}},{key:"loadContent",value:function(e,t){var n=this;this.currentTimeout&&clearTimeout(this.currentTimeout),this.currentTimeout=window.setTimeout(function(){var i=new CustomEvent("pagechange");window.dispatchEvent(i),n.currentRequest=a.default.ajax({url:t.href,type:"get",dataType:"html",cache:!1,data:e.headerData,beforeSend:function(e){e.setRequestHeader("X-Partial",!0)}}).done(function(e){n.applyContent(e),n.canvasLoader.hide();var t=new CustomEvent("pageload",{detail:e});window.dispatchEvent(t)}).fail(function(e){if(void 0!==e.responseText)try{var i=JSON.parse(e.responseText);window.UIkit.notify({message:i.message,status:"danger",timeout:3e3,pos:"top-center"})}catch(e){window.location.href=t.href}else window.UIkit.notify({message:window.Rozier.messages.forbiddenPage,status:"danger",timeout:3e3,pos:"top-center"});n.canvasLoader.hide()})},100)}},{key:"refreshCodemirrorEditor",value:function(){var e=!0,t=!1,n=void 0;try{for(var r,o=(0,i.default)(this.markdownEditors);!(e=(r=o.next()).done);e=!0){r.value.forceEditorUpdate()}}catch(e){t=!0,n=e}finally{try{!e&&o.return&&o.return()}finally{if(t)throw n}}var a=!0,s=!1,l=void 0;try{for(var u,c=(0,i.default)(this.yamlEditors);!(a=(u=c.next()).done);a=!0){u.value.forceEditorUpdate()}}catch(e){s=!0,l=e}finally{try{!a&&c.return&&c.return()}finally{if(s)throw l}}var d=!0,h=!1,f=void 0;try{for(var p,m=(0,i.default)(this.cssEditors);!(d=(p=m.next()).done);d=!0){p.value.forceEditorUpdate()}}catch(e){h=!0,f=e}finally{try{!d&&m.return&&m.return()}finally{if(h)throw f}}var g=!0,v=!1,_=void 0;try{for(var b,w=(0,i.default)(this.jsonEditors);!(g=(b=w.next()).done);g=!0){b.value.forceEditorUpdate()}}catch(e){v=!0,_=e}finally{try{!g&&w.return&&w.return()}finally{if(v)throw _}}}},{key:"applyContent",value:function(e){var t=this,n=(0,a.default)("#main-content-scrollable"),i=n.find(".content-global"),r=(0,a.default)(e),o=r.find("[data-ajax-root]");o.length&&(r=(0,a.default)(o.html())),r.addClass("new-content-global"),n.find('meta[name="title"]').remove(),n.append(r);var s=n.find('meta[name="title"]');s.length&&(document.title=s[0].getAttribute("content")),r=n.find(".new-content-global"),i.fadeOut(100,function(){i.remove(),t.generalBind(),r.fadeIn(200,function(){r.removeClass("new-content-global");var e=new CustomEvent("pageshowend");window.dispatchEvent(e)})})}},{key:"bindAjaxLink",value:function(){this.parseLinks(),this.$linksSelector.off("click",this.onClick),this.$linksSelector.on("click",this.onClick)}},{key:"generalBind",value:function(){this.generalUnbind([this.documentsBulk,this.mainTreeTabs,this.nodesBulk,this.tagsBulk,this.inputLengthWatcher,this.documentUploader,this.childrenNodesFields,this.geotagField,this.multiGeotagField,this.stackNodeTrees,this.nodeTreeContextActions,this.tagAutocomplete,this.folderAutocomplete,this.nodeTypeFieldsPosition,this.attributeValuesPosition,this.customFormFieldsPosition,this.settingsSaveButtons,this.nodeTypeFieldEdit,this.nodeEditSource,this.tagEdit,this.nodeTree]),this.bindAjaxLink(),this.markdownEditors=[],this.jsonEditors=[],this.cssEditors=[],this.yamlEditors=[],this.documentsBulk=new l.default,this.mainTreeTabs=new L.default,this.nodesBulk=new u.default,this.tagsBulk=new c.default,this.inputLengthWatcher=new b.default,this.documentUploader=new d.default(window.Rozier.messages.dropzone),this.childrenNodesFields=new w.default,this.geotagField=new O.default,this.multiGeotagField=new M.default,this.stackNodeTrees=new k.default,this.saveButtons&&this.saveButtons.unbind(),this.saveButtons=new y.default,this.tagAutocomplete=new x.default,this.folderAutocomplete=new E.default,this.nodeTypeFieldsPosition=new h.default,this.attributeValuesPosition=new f.default,this.customFormFieldsPosition=new m.default,this.nodeTreeContextActions=new g.default,this.settingsSaveButtons=new C.default,this.nodeTypeFieldEdit=new p.default,this.nodeEditSource=new _.default,this.tagEdit=new $.default,this.nodeTree=new T.default,this.initMarkdownEditors(),this.initJsonEditors(),this.initCssEditors(),this.initYamlEditors(),this.initFilterBars(),this.initColorPickers(),this.initCollectionsForms(),(0,a.default)(".actions-menu").length&&s.TweenLite.to(".actions-menu",.5,{right:0,delay:.4,ease:s.Expo.easeOut}),window.Rozier.initNestables(),window.Rozier.bindMainTrees(),window.Rozier.nodeStatuses=new S.default,this.initBootstrapSwitches(),window.Rozier.getMessages(),void 0!==window.Rozier.importRoutes&&null!==window.Rozier.importRoutes&&(window.Rozier.import=new v.default(window.Rozier.importRoutes),window.Rozier.importRoutes=null)}},{key:"generalUnbind",value:function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=(0,i.default)(e);!(t=(o=a.next()).done);t=!0){var s=o.value;s&&s.unbind()}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}}},{key:"initCollectionsForms",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this,n=null;(n=null!==e?e.find(".rz-collection-form-type"):(0,a.default)(".rz-collection-form-type")).length&&n.collection({up:'',down:'',add:'',remove:'',after_add:function(e,n){return t.initMarkdownEditors(n),t.initJsonEditors(n),t.initCssEditors(n),t.initYamlEditors(n),t.initBootstrapSwitches(n),t.initColorPickers(n),t.initCollectionsForms(n),n.find("[data-vuejs]").each(function(e,t){window.Rozier.vueApp.mainContentComponents.push(window.Rozier.vueApp.buildComponent(t))}),!0}})}},{key:"initColorPickers",value:function(e){var t=(0,a.default)(".colorpicker-input");e&&e.length&&(t=e.find(".colorpicker-input")),t.length&&t.minicolors()}},{key:"initBootstrapSwitches",value:function(e){var t=(0,a.default)(".rz-boolean-checkbox");e&&e.length&&(t=e.find(".rz-boolean-checkbox")),t.bootstrapSwitch({size:"small"})}},{key:"initMarkdownEditors",value:function(e){var t=[],n=(t=e&&e.length?e.find("textarea[data-rz-markdowneditor]"):(0,a.default)("textarea[data-rz-markdowneditor]")).length;if(n)for(var i=0;i`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",r="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",o=new RegExp("^(?:"+i+"|"+r+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)"),a=new RegExp("^(?:"+i+"|"+r+")");t.exports.HTML_TAG_RE=o,t.exports.HTML_OPEN_CLOSE_TAG_RE=a},{}],4:[function(e,t,n){var i=Object.prototype.hasOwnProperty;function r(e,t){return i.call(e,t)}function o(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function a(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),d=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,h=e("./entities");var f=/[&<>"]/,p=/[&<>"]/g,m={"&":"&","<":"<",">":">",'"':"""};function g(e){return m[e]}var v=/[.?*+^$[\]\\(){}|-]/g;var _=e("uc.micro/categories/P/regex");n.lib={},n.lib.mdurl=e("mdurl"),n.lib.ucmicro=e("uc.micro"),n.assign=function(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!==(void 0===t?"undefined":(0,u.default)(t)))throw new TypeError(t+"must be object");(0,l.default)(t).forEach(function(n){e[n]=t[n]})}}),e},n.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},n.has=r,n.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},n.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(c,function(e,t,n){return t||function(e,t){var n=0;return r(h,t)?h[t]:35===t.charCodeAt(0)&&d.test(t)&&o(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?a(n):e}(e,n)})},n.isValidEntityCode=o,n.fromCodePoint=a,n.escapeHtml=function(e){return f.test(e)?e.replace(p,g):e},n.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},n.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},n.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},n.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},n.isPunctChar=function(e){return _.test(e)},n.escapeRE=function(e){return e.replace(v,"\\$&")},n.normalizeReference=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},{"./entities":1,mdurl:59,"uc.micro":65,"uc.micro/categories/P/regex":63}],5:[function(e,t,n){n.parseLinkLabel=e("./parse_link_label"),n.parseLinkDestination=e("./parse_link_destination"),n.parseLinkTitle=e("./parse_link_title")},{"./parse_link_destination":6,"./parse_link_label":7,"./parse_link_title":8}],6:[function(e,t,n){var i=e("../common/utils").isSpace,r=e("../common/utils").unescapeAll;t.exports=function(e,t,n){var o,a,s=t,l={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t1)break;if(41===o&&--a<0)break;t++}return s===t?l:(l.str=r(e.slice(s,t)),l.lines=0,l.pos=t,l.ok=!0,l)}},{"../common/utils":4}],7:[function(e,t,n){t.exports=function(e,t,n){var i,r,o,a,s=-1,l=e.posMax,u=e.pos;for(e.pos=t+1,i=1;e.pos=n)return l;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return l;for(t++,40===o&&(o=41);t=0))try{t.hostname=h.toASCII(t.hostname)}catch(e){}return d.encode(d.format(t))}function b(e){var t=d.parse(e,!0);if(t.hostname&&(!t.protocol||v.indexOf(t.protocol)>=0))try{t.hostname=h.toUnicode(t.hostname)}catch(e){}return d.decode(d.format(t))}function w(e,t){if(!(this instanceof w))return new w(e,t);t||i.isString(e)||(t=e||{},e="default"),this.inline=new u,this.block=new s,this.core=new a,this.renderer=new o,this.linkify=new c,this.validateLink=g,this.normalizeLink=_,this.normalizeLinkText=b,this.utils=i,this.helpers=r,this.options={},this.configure(e),t&&this.set(t)}w.prototype.set=function(e){return i.assign(this.options,e),this},w.prototype.configure=function(e){var t,n=this;if(i.isString(e)&&!(e=f[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&(0,l.default)(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},w.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var i=e.filter(function(e){return n.indexOf(e)<0});if(i.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+i);return this},w.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var i=e.filter(function(e){return n.indexOf(e)<0});if(i.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+i);return this},w.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},w.prototype.parse=function(e,t){var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},w.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},w.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},w.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},t.exports=w},{"./common/utils":4,"./helpers":5,"./parser_block":10,"./parser_core":11,"./parser_inline":12,"./presets/commonmark":13,"./presets/default":14,"./presets/zero":15,"./renderer":16,"linkify-it":54,mdurl:59,punycode:52}],10:[function(e,t,n){var i=e("./ruler"),r=[["table",e("./rules_block/table"),["paragraph","reference"]],["code",e("./rules_block/code")],["fence",e("./rules_block/fence"),["paragraph","reference","blockquote","list"]],["blockquote",e("./rules_block/blockquote"),["paragraph","reference","list"]],["hr",e("./rules_block/hr"),["paragraph","reference","blockquote","list"]],["list",e("./rules_block/list"),["paragraph","reference","blockquote"]],["reference",e("./rules_block/reference")],["heading",e("./rules_block/heading"),["paragraph","reference","blockquote"]],["lheading",e("./rules_block/lheading")],["html_block",e("./rules_block/html_block"),["paragraph","reference","blockquote"]],["paragraph",e("./rules_block/paragraph")]];function o(){this.ruler=new i;for(var e=0;e=n))&&!(e.sCount[a]=l){e.line=n;break}for(i=0;i=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},a.prototype.parse=function(e,t,n,i){var r,o,a,s=new this.State(e,t,n,i);for(this.tokenize(s),a=(o=this.ruler2.getRules("")).length,r=0;r"+o(e[t].content)+""},a.code_block=function(e,t,n,i,r){var a=e[t],s=r.renderAttrs(a);return""+o(e[t].content)+"\n"},a.fence=function(e,t,n,i,a){var s,l,u,c,d=e[t],h=d.info?r(d.info).trim():"",f="";return h&&(f=h.split(/\s+/g)[0]),0===(s=n.highlight&&n.highlight(d.content,f)||o(d.content)).indexOf(""+s+"\n"):"
"+s+"
\n"},a.image=function(e,t,n,i,r){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=r.renderInlineAsText(o.children,n,i),r.renderToken(e,t,n)},a.hardbreak=function(e,t,n){return n.xhtmlOut?"
\n":"
\n"},a.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},a.text=function(e,t){return o(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,n,i;if(!e.attrs)return"";for(i="",t=0,n=e.attrs.length;t\n":">")},s.prototype.renderInline=function(e,t,n){for(var i,r="",o=this.rules,a=0,s=e.length;a=y,l=[e.sCount[t]],e.sCount[t]=p-f,s=[e.tShift[t]],e.tShift[t]=k-e.bMarks[t],g=e.md.block.ruler.getRules("blockquote"),o=t+1;o=(y=e.eMarks[o]));o++)if(62!==e.src.charCodeAt(k++)){if(a)break;for(w=!1,_=0,b=g.length;_=y,l.push(e.sCount[o]),e.sCount[o]=p-f,s.push(e.tShift[o]),e.tShift[o]=k-e.bMarks[o]}for(d=e.parentType,e.parentType="blockquote",(v=e.push("blockquote_open","blockquote",1)).markup=">",v.map=h=[t,0],e.md.block.tokenize(e,t,o),(v=e.push("blockquote_close","blockquote",-1)).markup=">",e.parentType=d,h[1]=e.line,_=0;_=2&&"list"===e.parentType)break;i++}else{if(a=0,!(e.sCount[i]-e.blkIndent>=4))break;r=++i}return e.line=r,(o=e.push("code_block","code",0)).content=e.getLines(t,r,4+e.blkIndent,!0),o.map=[t,e.line],!0}},{}],20:[function(e,t,n){t.exports=function(e,t,n,i){var r,o,a,s,l,u,c,d=!1,h=e.bMarks[t]+e.tShift[t],f=e.eMarks[t];if(h+3>f)return!1;if(126!==(r=e.src.charCodeAt(h))&&96!==r)return!1;if(l=h,(o=(h=e.skipChars(h,r))-l)<3)return!1;if(c=e.src.slice(l,h),(a=e.src.slice(h,f)).indexOf("`")>=0)return!1;if(i)return!0;for(s=t;!(++s>=n)&&!((h=l=e.bMarks[s]+e.tShift[s])<(f=e.eMarks[s])&&e.sCount[s]=4||(h=e.skipChars(h,r))-l=c)return!1;for(a=1,o=e.src.charCodeAt(++u);35===o&&u6||uu&&i(e.src.charCodeAt(s-1))&&(c=s),e.line=t+1,(l=e.push("heading_open","h"+String(a),1)).markup="########".slice(0,a),l.map=[t,e.line],(l=e.push("inline","",0)).content=e.src.slice(u,c).trim(),l.map=[t,e.line],l.children=[],(l=e.push("heading_close","h"+String(a),-1)).markup="########".slice(0,a),!0))}},{"../common/utils":4}],22:[function(e,t,n){var i=e("../common/utils").isSpace;t.exports=function(e,t,n,r){var o,a,s,l,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(42!==(o=e.src.charCodeAt(u++))&&45!==o&&95!==o)return!1;for(a=1;u|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(r.source+"\\s*$"),/^$/,!1]];t.exports=function(e,t,n,i){var r,a,s,l,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(u))return!1;for(l=e.src.slice(u,c),r=0;r3)){if(e.sCount[h]>=e.blkIndent&&(l=e.bMarks[h]+e.tShift[h])<(u=e.eMarks[h])&&(45===(d=e.src.charCodeAt(l))||61===d)&&(l=e.skipChars(l,d),(l=e.skipSpaces(l))>=u)){c=61===d?1:2;break}if(!(e.sCount[h]<0)){for(r=!1,o=0,a=f.length;o=a)return-1;if((n=e.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=a)return-1;if(!((n=e.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-r>=10)return-1}return o=0)C=!0;else{if(!((v=r(e,t))>=0))return!1;C=!1}if(E=e.src.charCodeAt(v-1),a)return!0;for(T=e.tokens.length,C?(g=e.bMarks[t]+e.tShift[t],y=Number(e.src.substr(g,v-g-1)),I=e.push("ordered_list_open","ol",1),1!==y&&(I.attrs=[["start",y]])):I=e.push("bullet_list_open","ul",1),I.map=A=[t,0],I.markup=String.fromCharCode(E),s=t,S=!1,D=e.md.block.ruler.getRules("list");s=w?1:u-l)>4&&(k=1),c=l+k,(I=e.push("list_item_open","li",1)).markup=String.fromCharCode(E),I.map=R=[t,0],h=e.blkIndent,p=e.tight,d=e.tShift[t],f=e.sCount[t],m=e.parentType,e.blkIndent=c,e.tight=!0,e.parentType="list",e.tShift[t]=x-e.bMarks[t],e.sCount[t]=u,x>=w&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!S||(L=!1),S=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=h,e.tShift[t]=d,e.sCount[t]=f,e.tight=p,e.parentType=m,(I=e.push("list_item_close","li",-1)).markup=String.fromCharCode(E),s=t=e.line,R[1]=s,x=e.bMarks[t],s>=n)break;if(e.isEmpty(s))break;if(e.sCount[s]3||e.sCount[s]<0)){for(i=!1,r=0,o=l.length;r3||e.sCount[T]<0)){for(w=!1,f=0,p=k.length;f0&&this.level++,this.tokens.push(r),r},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!r(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,n,i){var o,a,s,l,u,c,d,h=e;if(e>=t)return"";for(c=new Array(t-e),o=0;hn)return!1;if(c=t+1,e.sCount[c]=e.eMarks[c])return!1;if(124!==(a=e.src.charCodeAt(l))&&45!==a&&58!==a)return!1;if(s=i(e,t+1),!/^[-:| ]+$/.test(s))return!1;for(d=s.split("|"),p=[],u=0;up.length)return!1;if(o)return!0;for((f=e.push("table_open","table",1)).map=g=[t,0],(f=e.push("thead_open","thead",1)).map=[t,t+1],(f=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u\s]/i.test(e)}function o(e){return/^<\/a\s*>/i.test(e)}t.exports=function(e){var t,n,a,s,l,u,c,d,h,f,p,m,g,v,_,b,w,k=e.tokens;if(e.md.options.linkify)for(n=0,a=k.length;n=0;t--)if("link_close"!==(u=s[t]).type){if("html_inline"===u.type&&(r(u.content)&&g>0&&g--,o(u.content)&&g++),!(g>0)&&"text"===u.type&&e.md.linkify.test(u.content)){for(h=u.content,w=e.md.linkify.match(h),c=[],m=u.level,p=0,d=0;dp&&((l=new e.Token("text","",0)).content=h.slice(p,f),l.level=m,c.push(l)),(l=new e.Token("link_open","a",1)).attrs=[["href",_]],l.level=m++,l.markup="linkify",l.info="auto",c.push(l),(l=new e.Token("text","",0)).content=b,l.level=m,c.push(l),(l=new e.Token("link_close","a",-1)).level=--m,l.markup="linkify",l.info="auto",c.push(l),p=w[d].lastIndex);p=0;t--)"text"===(n=e[t]).type&&(n.content=n.content.replace(o,s))}function u(e){var t,n;for(t=e.length-1;t>=0;t--)"text"===(n=e[t]).type&&i.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2"))}t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(r.test(e.tokens[t].content)&&l(e.tokens[t].children),i.test(e.tokens[t].content)&&u(e.tokens[t].children))}},{}],35:[function(e,t,n){var i=e("../common/utils").isWhiteSpace,r=e("../common/utils").isPunctChar,o=e("../common/utils").isMdAsciiPunct,a=/['"]/,s=/['"]/g,l="’";function u(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function c(e,t){var n,a,c,d,h,f,p,m,g,v,_,b,w,k,y,E,C,x,T,S,A;for(T=[],n=0;n=0&&!(T[C].level<=p);C--);if(T.length=C+1,"text"===a.type){h=0,f=(c=a.content).length;e:for(;h=0)g=c.charCodeAt(d.index-1);else for(C=n-1;C>=0;C--)if("text"===e[C].type){g=e[C].content.charCodeAt(e[C].content.length-1);break}if(v=32,h=48&&g<=57&&(E=y=!1),y&&E&&(y=!1,E=b),y||E){if(E)for(C=T.length-1;C>=0&&(m=T[C],!(T[C].level=0;t--)"inline"===e.tokens[t].type&&a.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},{"../common/utils":4}],36:[function(e,t,n){var i=e("../token");function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}r.prototype.Token=i,t.exports=r},{"../token":51}],37:[function(e,t,n){var i=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,r=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(e,t){var n,o,a,s,l,u,c=e.pos;return 60===e.src.charCodeAt(c)&&(!((n=e.src.slice(c)).indexOf(">")<0)&&(r.test(n)?(s=(o=n.match(r))[0].slice(1,-1),l=e.md.normalizeLink(s),!!e.md.validateLink(l)&&(t||((u=e.push("link_open","a",1)).attrs=[["href",l]],u.markup="autolink",u.info="auto",(u=e.push("text","",0)).content=e.md.normalizeLinkText(s),(u=e.push("link_close","a",-1)).markup="autolink",u.info="auto"),e.pos+=o[0].length,!0)):!!i.test(n)&&(s=(a=n.match(i))[0].slice(1,-1),l=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(l)&&(t||((u=e.push("link_open","a",1)).attrs=[["href",l]],u.markup="autolink",u.info="auto",(u=e.push("text","",0)).content=e.md.normalizeLinkText(s),(u=e.push("link_close","a",-1)).markup="autolink",u.info="auto"),e.pos+=a[0].length,!0))))}},{}],38:[function(e,t,n){t.exports=function(e,t){var n,i,r,o,a,s,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,i=e.posMax;l=0;){if((r=o[n]).open&&r.marker===i.marker&&r.end<0&&r.level===i.level){i.jump=t-n,i.open=!1,r.end=t,r.jump=0;break}n-=r.jump+1}}},{}],40:[function(e,t,n){t.exports.tokenize=function(e,t){var n,i,r=e.pos,o=e.src.charCodeAt(r);if(t)return!1;if(95!==o&&42!==o)return!1;for(i=e.scanDelims(e.pos,42===o),n=0;n?@[]^_`{|}~-".split("").forEach(function(e){r[e.charCodeAt(0)]=1}),t.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o=o)&&(!(33!==(n=e.src.charCodeAt(a+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(r=e.src.slice(a).match(i))&&(t||(e.push("html_inline","",0).content=e.src.slice(a,a+r[0].length)),e.pos+=r[0].length,!0))))}},{"../common/html_re":3}],44:[function(e,t,n){var i=e("../helpers/parse_link_label"),r=e("../helpers/parse_link_destination"),o=e("../helpers/parse_link_title"),a=e("../common/utils").normalizeReference,s=e("../common/utils").isSpace;t.exports=function(e,t){var n,l,u,c,d,h,f,p,m,g,v,_,b,w="",k=e.pos,y=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(h=e.pos+2,(d=i(e,e.pos+1,!1))<0)return!1;if((f=d+1)=y)return!1;for(b=f,(m=r(e.src,f,e.posMax)).ok&&(w=e.md.normalizeLink(m.str),e.md.validateLink(w)?f=m.pos:w=""),b=f;f=y||41!==e.src.charCodeAt(f))return e.pos=k,!1;f++}else{if(void 0===e.env.references)return!1;if(f=0?c=e.src.slice(b,f++):f=d+1):f=d+1,c||(c=e.src.slice(h,d)),!(p=e.env.references[a(c)]))return e.pos=k,!1;w=p.href,g=p.title}return t||(u=e.src.slice(h,d),e.md.inline.parse(u,e.md,e.env,_=[]),(v=e.push("image","img",0)).attrs=n=[["src",w],["alt",""]],v.children=_,v.content=u,g&&n.push(["title",g])),e.pos=f,e.posMax=y,!0}},{"../common/utils":4,"../helpers/parse_link_destination":6,"../helpers/parse_link_label":7,"../helpers/parse_link_title":8}],45:[function(e,t,n){var i=e("../helpers/parse_link_label"),r=e("../helpers/parse_link_destination"),o=e("../helpers/parse_link_title"),a=e("../common/utils").normalizeReference,s=e("../common/utils").isSpace;t.exports=function(e,t){var n,l,u,c,d,h,f,p,m,g="",v=e.pos,_=e.posMax,b=e.pos;if(91!==e.src.charCodeAt(e.pos))return!1;if(d=e.pos+1,(c=i(e,e.pos,!0))<0)return!1;if((h=c+1)<_&&40===e.src.charCodeAt(h)){for(h++;h<_&&(l=e.src.charCodeAt(h),s(l)||10===l);h++);if(h>=_)return!1;for(b=h,(f=r(e.src,h,e.posMax)).ok&&(g=e.md.normalizeLink(f.str),e.md.validateLink(g)?h=f.pos:g=""),b=h;h<_&&(l=e.src.charCodeAt(h),s(l)||10===l);h++);if(f=o(e.src,h,e.posMax),h<_&&b!==h&&f.ok)for(m=f.str,h=f.pos;h<_&&(l=e.src.charCodeAt(h),s(l)||10===l);h++);else m="";if(h>=_||41!==e.src.charCodeAt(h))return e.pos=v,!1;h++}else{if(void 0===e.env.references)return!1;if(h<_&&91===e.src.charCodeAt(h)?(b=h+1,(h=i(e,h))>=0?u=e.src.slice(b,h++):h=c+1):h=c+1,u||(u=e.src.slice(d,c)),!(p=e.env.references[a(u)]))return e.pos=v,!1;g=p.href,m=p.title}return t||(e.pos=d,e.posMax=c,e.push("link_open","a",1).attrs=n=[["href",g]],m&&n.push(["title",m]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=h,e.posMax=_,!0}},{"../common/utils":4,"../helpers/parse_link_destination":6,"../helpers/parse_link_label":7,"../helpers/parse_link_title":8}],46:[function(e,t,n){t.exports=function(e,t){var n,i,r=e.pos;if(10!==e.src.charCodeAt(r))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),r++;r0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},s.prototype.scanDelims=function(e,t){var n,i,s,l,u,c,d,h,f,p=e,m=!0,g=!0,v=this.posMax,_=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;p=0&&(n=this.attrs[t][1]),n},i.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},t.exports=i},{}],52:[function(e,t,n){(function(e){!function(i){var r="object"==(void 0===n?"undefined":(0,u.default)(n))&&n&&!n.nodeType&&n,o="object"==(void 0===t?"undefined":(0,u.default)(t))&&t&&!t.nodeType&&t,a="object"==(void 0===e?"undefined":(0,u.default)(e))&&e;a.global!==a&&a.window!==a&&a.self!==a||(i=a);var s,l,c=2147483647,d=36,h=1,f=26,p=38,m=700,g=72,v=128,_="-",b=/^xn--/,w=/[^\x20-\x7E]/,k=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},E=d-h,C=Math.floor,x=String.fromCharCode;function T(e){throw new RangeError(y[e])}function S(e,t){for(var n=e.length,i=[];n--;)i[n]=t(e[n]);return i}function A(e,t){var n=e.split("@"),i="";return n.length>1&&(i=n[0]+"@",e=n[1]),i+S((e=e.replace(k,".")).split("."),t).join(".")}function R(e){for(var t,n,i=[],r=0,o=e.length;r=55296&&t<=56319&&r65535&&(t+=x((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=x(e)}).join("")}function I(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:d}function O(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function M(e,t,n){var i=0;for(e=n?C(e/m):e>>1,e+=C(e/t);e>E*f>>1;i+=d)e=C(e/E);return C(i+(E+1)*e/(e+p))}function $(e){var t,n,i,r,o,a,s,l,u,p,m=[],b=e.length,w=0,k=v,y=g;for((n=e.lastIndexOf(_))<0&&(n=0),i=0;i=128&&T("not-basic"),m.push(e.charCodeAt(i));for(r=n>0?n+1:0;r=b&&T("invalid-input"),((l=I(e.charCodeAt(r++)))>=d||l>C((c-w)/a))&&T("overflow"),w+=l*a,!(l<(u=s<=y?h:s>=y+f?f:s-y));s+=d)a>C(c/(p=d-u))&&T("overflow"),a*=p;y=M(w-o,t=m.length+1,0==o),C(w/t)>c-k&&T("overflow"),k+=C(w/t),w%=t,m.splice(w++,0,k)}return D(m)}function L(e){var t,n,i,r,o,a,s,l,u,p,m,b,w,k,y,E=[];for(b=(e=R(e)).length,t=v,n=0,o=g,a=0;a=t&&mC((c-n)/(w=i+1))&&T("overflow"),n+=(s-t)*w,t=s,a=0;ac&&T("overflow"),m==t){for(l=n,u=d;!(l<(p=u<=o?h:u>=o+f?f:u-o));u+=d)y=l-p,k=d-p,E.push(x(O(p+y%k,0))),l=C(y/k);E.push(x(O(l,0))),o=M(n,w,i==r),n=0,++i}++n,++t}return E.join("")}if(s={version:"1.4.1",ucs2:{decode:R,encode:D},decode:$,encode:L,toASCII:function(e){return A(e,function(e){return w.test(e)?"xn--"+L(e):e})},toUnicode:function(e){return A(e,function(e){return b.test(e)?$(e.slice(4).toLowerCase()):e})}},r&&o)if(t.exports==r)o.exports=s;else for(l in s)s.hasOwnProperty(l)&&(r[l]=s[l]);else i.punycode=s}(this)}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],53:[function(e,t,n){t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}},{}],54:[function(e,t,n){function i(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&(0,l.default)(t).forEach(function(n){e[n]=t[n]})}),e}function r(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===r(e)}function a(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var u={"http:":{validate:function(e,t,n){var i=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(i)?i.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var i=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(i)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var i=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},c="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",d="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function h(t){var n=t.re=e("./lib/re")(t.__opts__),i=t.__tlds__.slice();function s(e){return e.replace("%TLDS%",n.src_tlds)}t.onCompile(),t.__tlds_replaced__||i.push(c),i.push(n.src_xn),n.src_tlds=i.join("|"),n.email_fuzzy=RegExp(s(n.tpl_email_fuzzy),"i"),n.link_fuzzy=RegExp(s(n.tpl_link_fuzzy),"i"),n.link_no_ip_fuzzy=RegExp(s(n.tpl_link_no_ip_fuzzy),"i"),n.host_fuzzy_test=RegExp(s(n.tpl_host_fuzzy_test),"i");var u=[];function d(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}t.__compiled__={},(0,l.default)(t.__schemas__).forEach(function(e){var n=t.__schemas__[e];if(null!==n){var i={validate:null,link:null};if(t.__compiled__[e]=i,function(e){return"[object Object]"===r(e)}(n))return!function(e){return"[object RegExp]"===r(e)}(n.validate)?o(n.validate)?i.validate=n.validate:d(e,n):i.validate=function(e){return function(t,n){var i=t.slice(n);return e.test(i)?i.match(e)[0].length:0}}(n.validate),void(o(n.normalize)?i.normalize=n.normalize:n.normalize?d(e,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===r(e)}(n)?d(e,n):u.push(e)}}),u.forEach(function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)}),t.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var h=(0,l.default)(t.__compiled__).filter(function(e){return e.length>0&&t.__compiled__[e]}).map(a).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><]|"+n.src_ZPCc+"))("+h+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><]|"+n.src_ZPCc+"))("+h+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(t)}function f(e,t){var n=new function(e,t){var n=e.__index__,i=e.__last_index__,r=e.__text_cache__.slice(n,i);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=i+t,this.raw=r,this.text=r,this.url=r}(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function p(e,t){if(!(this instanceof p))return new p(e,t);t||function(e){return(0,l.default)(e||{}).reduce(function(e,t){return e||s.hasOwnProperty(t)},!1)}(e)&&(t=e,e={}),this.__opts__=i({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=i({},u,e),this.__compiled__={},this.__tlds__=d,this.__tlds_replaced__=!1,this.re={},h(this)}p.prototype.add=function(e,t){return this.__schemas__[e]=t,h(this),this},p.prototype.set=function(e){return this.__opts__=i(this.__opts__,e),this},p.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,i,r,o,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(r=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l=0&&null!==(i=e.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,a=i.index+i[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},p.prototype.pretest=function(e){return this.re.pretest.test(e)},p.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},p.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(f(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)n.push(f(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},p.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),h(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,h(this),this)},p.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},p.prototype.onCompile=function(){},t.exports=p},{"./lib/re":55}],55:[function(e,t,n){t.exports=function(t){var n={};return n.src_Any=e("uc.micro/properties/Any/regex").source,n.src_Cc=e("uc.micro/categories/Cc/regex").source,n.src_Z=e("uc.micro/categories/Z/regex").source,n.src_P=e("uc.micro/categories/P/regex").source,n.src_ZPCc=[n.src_Z,n.src_P,n.src_Cc].join("|"),n.src_ZCc=[n.src_Z,n.src_Cc].join("|"),n.src_pseudo_letter="(?:(?!>|<|"+n.src_ZPCc+")"+n.src_Any+")",n.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",n.src_auth="(?:(?:(?!"+n.src_ZCc+"|[@/]).)+@)?",n.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",n.src_host_terminator="(?=$|>|<|"+n.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+n.src_ZPCc+"))",n.src_path="(?:[/?#](?:(?!"+n.src_ZCc+"|[()[\\]{}.,\"'?!\\-<>]).|\\[(?:(?!"+n.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+n.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+n.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+n.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+n.src_ZCc+"|[']).)+\\'|\\'(?="+n.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+n.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+n.src_ZCc+").|\\!(?!"+n.src_ZCc+"|[!]).|\\?(?!"+n.src_ZCc+"|[?]).)+|\\/)?",n.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',n.src_xn="xn--[a-z0-9\\-]{1,59}",n.src_domain_root="(?:"+n.src_xn+"|"+n.src_pseudo_letter+"{1,63})",n.src_domain="(?:"+n.src_xn+"|(?:"+n.src_pseudo_letter+")|(?:"+n.src_pseudo_letter+"(?:-(?!-)|"+n.src_pseudo_letter+"){0,61}"+n.src_pseudo_letter+"))",n.src_host="(?:(?:(?:(?:"+n.src_domain+")\\.)*"+n.src_domain_root+"))",n.tpl_host_fuzzy="(?:"+n.src_ip4+"|(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%)))",n.tpl_host_no_ip_fuzzy="(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%))",n.src_host_strict=n.src_host+n.src_host_terminator,n.tpl_host_fuzzy_strict=n.tpl_host_fuzzy+n.src_host_terminator,n.src_host_port_strict=n.src_host+n.src_port+n.src_host_terminator,n.tpl_host_port_fuzzy_strict=n.tpl_host_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_port_no_ip_fuzzy_strict=n.tpl_host_no_ip_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+n.src_ZPCc+"|>|$))",n.tpl_email_fuzzy="(^|<|>|\\(|"+n.src_ZCc+")("+n.src_email_name+"@"+n.tpl_host_fuzzy_strict+")",n.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+n.src_ZPCc+"))((?![$+<=>^`|])"+n.tpl_host_port_fuzzy_strict+n.src_path+")",n.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+n.src_ZPCc+"))((?![$+<=>^`|])"+n.tpl_host_port_no_ip_fuzzy_strict+n.src_path+")",n}},{"uc.micro/categories/Cc/regex":61,"uc.micro/categories/P/regex":63,"uc.micro/categories/Z/regex":64,"uc.micro/properties/Any/regex":66}],56:[function(e,t,n){var i={};function r(e,t){var n;return"string"!=typeof t&&(t=r.defaultChars),n=function(e){var t,n,r=i[e];if(r)return r;for(r=i[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&r)&&t+91114111?u+="����":(l-=65536,u+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):u+="�";return u})}r.defaultChars=";/?:@&=+$,#",r.componentChars="",t.exports=r},{}],57:[function(e,t,n){var i={};function r(e,t,n){var o,a,s,l,u,c="";for("string"!=typeof t&&(n=t,t=r.defaultChars),void 0===n&&(n=!0),u=function(e){var t,n,r=i[e];if(r)return r;for(r=i[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){c+=encodeURIComponent(e[o]+e[o+1]),o++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[o]);return c}r.defaultChars=";/?:@&=+$,-_.!~*'()#",r.componentChars="-_.!~*'()",t.exports=r},{}],58:[function(e,t,n){t.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},{}],59:[function(e,t,n){t.exports.encode=e("./encode"),t.exports.decode=e("./decode"),t.exports.format=e("./format"),t.exports.parse=e("./parse")},{"./decode":56,"./encode":57,"./format":58,"./parse":60}],60:[function(e,t,n){function i(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var r=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(s),u=["%","/","?",";","#"].concat(l),c=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},p={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};i.prototype.parse=function(e,t){var n,i,o,s,l,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var g=a.exec(m);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var v=r.exec(m);if(v&&(o=(v=v[0]).toLowerCase(),this.protocol=v,m=m.substr(v.length)),(t||v||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===m.substr(0,2))||v&&f[v]||(m=m.substr(2),this.slashes=!0)),!f[v]&&(l||v&&!p[v])){var _,b,w=-1;for(n=0;n127?x+="x":x+=C[T];if(!x.match(d)){var A=E.slice(0,n),R=E.slice(n+1),D=C.match(h);D&&(A.push(D[1]),R.unshift(D[2])),R.length&&(m=R.join(".")+m),this.hostname=A.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),y&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var I=m.indexOf("#");-1!==I&&(this.hash=m.substr(I),m=m.slice(0,I));var O=m.indexOf("?");return-1!==O&&(this.search=m.substr(O),m=m.slice(0,O)),m&&(this.pathname=m),p[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},i.prototype.parseHost=function(e){var t=o.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.exports=function(e,t){if(e&&e instanceof i)return e;var n=new i;return n.parse(e,t),n}},{}],61:[function(e,t,n){t.exports=/[\0-\x1F\x7F-\x9F]/},{}],62:[function(e,t,n){t.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},{}],63:[function(e,t,n){t.exports=/[!-#%-\*,-/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/},{}],64:[function(e,t,n){t.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},{}],65:[function(e,t,n){t.exports.Any=e("./properties/Any/regex"),t.exports.Cc=e("./categories/Cc/regex"),t.exports.Cf=e("./categories/Cf/regex"),t.exports.P=e("./categories/P/regex"),t.exports.Z=e("./categories/Z/regex")},{"./categories/Cc/regex":61,"./categories/Cf/regex":62,"./categories/P/regex":63,"./categories/Z/regex":64,"./properties/Any/regex":66}],66:[function(e,t,n){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},{}],67:[function(e,t,n){t.exports=e("./lib/")},{"./lib/":9}]},{},[67])(67)})}).call(t,n("h6ac"))},bB58:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("dACh")),r=s(n("jx4H")),o=s(n("0iPh")),a=n("Tzw7");function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(){(0,i.default)(this,e),this.$content=(0,o.default)(".content-node-edit-source").eq(0),this.$form=(0,o.default)("#edit-node-source-form"),this.$formRow=null,this.$dropdown=null,this.$input=null,this.onInputKeyDown=this.onInputKeyDown.bind(this),this.onInputKeyUp=this.onInputKeyUp.bind(this),this.inputFocus=this.inputFocus.bind(this),this.inputFocusOut=this.inputFocusOut.bind(this),this.onFormSubmit=this.onFormSubmit.bind(this),this.wrapInTabs=this.wrapInTabs.bind(this),this.$content.length&&(this.$formRow=this.$content.find(".uk-form-row"),window.setTimeout(this.wrapInTabs,300),this.init(),this.initEvents())}return(0,r.default)(e,[{key:"wrapInTabs",value:function(){var e={default:{name:"default",id:"default",fields:[]}},t=this.$content.find(".uk-form-row[data-field-group-canonical]"),n=t.length,i=1;if(n>0){for(var r=0;r1){this.$form.append('
      ');var l=this.$form.find(".uk-switcher"),u=this.$form.find("#node-source-form-switcher-nav");for(var c in e){var d=e[c],h="group-"+d.id.replace(/[\s_]/g,"-").replace(/[^\w-]+/g,"");l.append('
    • '),"default"===d.id?u.append('
    • '):u.append('
    • '+d.name+"
    • ");for(var f=l.find("#"+h),p=0;p=0;e--){var t=this.$devNames[e],n=(0,o.default)(t);if(""!==t.getAttribute("data-dev-name")){var i=n.parents(".uk-form-row").find("label"),r=n.find(".uk-navbar-brand.label");i.length?i.append(''+t.getAttribute("data-dev-name")+""):r.length&&r.append(''+t.getAttribute("data-dev-name")+"")}}for(var a=this.$formRow.length-1;a>=0;a--)if(this.$formRow[a].className.indexOf("children-nodes-widget")>=0){this.childrenNodeWidgetFlip(a);break}}},{key:"initEvents",value:function(){window.Rozier.$window.on("keydown",this.onInputKeyDown),window.Rozier.$window.on("keyup",this.onInputKeyUp),this.$input.on("focus",this.inputFocus),this.$input.on("focusout",this.inputFocusOut),this.$form.on("submit",this.onFormSubmit)}},{key:"unbind",value:function(){this.$content.length&&(window.Rozier.$window.off("keydown",this.onInputKeyDown),window.Rozier.$window.off("keyup",this.onInputKeyUp),this.$input.off("focus",this.inputFocus),this.$input.off("focusout",this.inputFocusOut),this.$form.off("submit",this.onFormSubmit))}},{key:"onFormSubmit",value:function(){var e=this;return window.Rozier.lazyload.canvasLoader.show(),this.currentTimeout&&clearTimeout(this.currentTimeout),this.currentTimeout=setTimeout(function(){var t=new CustomEvent("pagechange");window.dispatchEvent(t);var n=new FormData(e.$form.get(0));o.default.ajax({url:window.location.href,type:"post",data:n,processData:!1,cache:!1,contentType:!1}).done(function(t){if(e.cleanErrors(),t.public_url){var n=(0,o.default)("a.public-url-link");n.length&&n.attr("href",t.public_url)}if(t.preview_url){var i=(0,o.default)("a.preview-url-link");i.length&&i.attr("href",t.preview_url)}}).fail(function(t){t.responseJSON&&(e.displayErrors(t.responseJSON.errors),window.UIkit.notify({message:t.responseJSON.message,status:"danger",timeout:2e3,pos:"top-center"}))}).always(function(){window.Rozier.lazyload.canvasLoader.hide(),window.Rozier.getMessages(),window.Rozier.refreshAllNodeTrees()})},300),!1}},{key:"cleanErrors",value:function(){var e=(0,o.default)(".form-errored");e.each(function(t){e.eq(t).removeClass("form-errored"),e.eq(t).find(".error-message").remove()})}},{key:"displayErrors",value:function(e,t){for(var n in t&&!1!==t||this.cleanErrors(),e){var i=null,r=null;if("object"===(0,a.toType)(e[n]))this.displayErrors(e[n],!0);else{i=n.replace("_","-"),r=e[n]instanceof Array?e[n][0]:e[n];var s=(0,o.default)(".form-col-"+i);s.length&&(s.addClass("form-errored"),s.append('

      '+r+"

      "))}}}},{key:"onInputKeyDown",value:function(e){18===e.keyCode&&window.Rozier.$body.toggleClass("dev-name-visible")}},{key:"onInputKeyUp",value:function(e){18===e.keyCode&&window.Rozier.$body.toggleClass("dev-name-visible")}},{key:"childrenNodeWidgetFlip",value:function(e){e>=this.$formRow.length-2&&(this.$dropdown=(0,o.default)(this.$formRow[e]).find(".uk-dropdown-small"),this.$dropdown.addClass("uk-dropdown-up"))}},{key:"inputFocus",value:function(e){(0,o.default)(e.currentTarget).parent().addClass("form-col-focus")}},{key:"inputFocusOut",value:function(e){(0,o.default)(e.currentTarget).parent().removeClass("form-col-focus")}},{key:"resize",value:function(){}}]),e}();t.default=l},bKSI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFolders=function(){var e={_token:window.RozierRoot.ajaxToken,_action:"foldersExplorer"};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.foldersAjaxExplorer,params:e}).then(function(e){return void 0!==e.data&&e.data.folders?{items:e.data.folders}:{}}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},bXQK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("ERN0"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("ygC5"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},bnjF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNodesSourceFromSearch=function(e){var t={_token:window.RozierRoot.ajaxToken,_action:"searchNodesSources",searchTerms:e};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.searchNodesSourcesAjax,params:t}).then(function(e){return void 0!==e.data.data&&e.data.data.length>0?e.data.data:[]}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},bpQj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("NC+4"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("jfiS"),s=n.n(a);var l=function(e){n("T29m")},u=n("/4AN")(r.a,s.a,!1,l,null,null);t.default=u.exports},buA2:function(e,t,n){"use strict";!function(e){var t,n=function(e,t){void 0===t&&(t={}),this.init(e,t)},i=n.prototype,r=["canvas","vml"],o=["oval","spiral","square","rect","roundRect"],a=/^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/,s=-1!==navigator.appVersion.indexOf("MSIE")&&8===parseFloat(navigator.appVersion.split("MSIE")[1]),l=!!document.createElement("canvas").getContext,u=!0,c=function(e,t,n){var i,r=document.createElement(e);for(i in n)r[i]=n[i];return void 0!==t&&t.appendChild(r),r},d=function(e,t){for(var n in t)e.style[n]=t[n];return e},h=function(e,t){for(var n in t)e.setAttribute(n,t[n]);return e},f=function(e,t,n,i){e.save(),e.translate(t,n),e.rotate(i),e.translate(-t,-n),e.beginPath()};i.init=function(e,i){"boolean"==typeof i.safeVML&&(u=i.safeVML);try{void 0!==document.getElementById(e)?this.mum=document.getElementById(e):this.mum=document.body}catch(e){this.mum=document.body}if(i.id=void 0!==i.id?i.id:"canvasLoader",this.cont=c("div",this.mum,{id:i.id}),l)t=r[0],this.can=c("canvas",this.cont),this.con=this.can.getContext("2d"),this.cCan=d(c("canvas",this.cont),{display:"none"}),this.cCon=this.cCan.getContext("2d");else{if(t=r[1],void 0===n.vmlSheet){document.getElementsByTagName("head")[0].appendChild(c("style")),n.vmlSheet=document.styleSheets[document.styleSheets.length-1];var o,a=["group","oval","roundrect","fill"];for(o in a)n.vmlSheet.addRule(a[o],"behavior:url(#default#VML); position:absolute;")}this.vml=c("group",this.cont)}this.setColor(this.color),this.draw(),d(this.cont,{display:"none"})},i.cont={},i.can={},i.con={},i.cCan={},i.cCon={},i.timer={},i.activeId=0,i.diameter=40,i.setDiameter=function(e){this.diameter=Math.round(Math.abs(e)),this.redraw()},i.getDiameter=function(){return this.diameter},i.cRGB={},i.color="#000000",i.setColor=function(e){this.color=a.test(e)?e:"#000000",this.cRGB=this.getRGB(this.color),this.redraw()},i.getColor=function(){return this.color},i.shape=o[0],i.setShape=function(e){var t;for(t in o)if(e===o[t]){this.shape=e,this.redraw();break}},i.getShape=function(){return this.shape},i.density=40,i.setDensity=function(e){this.density=u&&t===r[1]?Math.round(Math.abs(e))<=40?Math.round(Math.abs(e)):40:Math.round(Math.abs(e)),this.density>360&&(this.density=360),this.activeId=0,this.redraw()},i.getDensity=function(){return this.density},i.range=1.3,i.setRange=function(e){this.range=Math.abs(e),this.redraw()},i.getRange=function(){return this.range},i.speed=2,i.setSpeed=function(e){this.speed=Math.round(Math.abs(e))},i.getSpeed=function(){return this.speed},i.fps=24,i.setFPS=function(e){this.fps=Math.round(Math.abs(e)),this.reset()},i.getFPS=function(){return this.fps},i.getRGB=function(e){return e="#"===e.charAt(0)?e.substring(1,7):e,{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16)}},i.draw=function(){var e,n,i,a,l,u,p,m,g,v,_,b,w=0,k=this.density,y=Math.round(k*this.range),E=1e3,C=0,x=this.cCon,T=this.diameter,S=.47;if(t===r[0])for(x.clearRect(0,0,E,E),h(this.can,{width:T,height:T}),h(this.cCan,{width:T,height:T});w=1;)e.removeChild(e.firstChild)}},i.redraw=function(){this.clean(),this.draw()},i.reset=function(){"number"==typeof this.timer&&(this.hide(),this.show())},i.tick=function(e){var n=this.con,i=this.diameter;e||(this.activeId+=360/this.density*this.speed),t===r[0]?(n.clearRect(0,0,i,i),f(n,.5*i,.5*i,this.activeId/180*Math.PI),n.drawImage(this.cCan,0,0,i,i),n.restore()):(this.activeId>=360&&(this.activeId-=360),d(this.vml,{rotation:this.activeId}))},i.show=function(){if("number"!=typeof this.timer){var e=this;this.timer=self.setInterval(function(){e.tick()},Math.round(1e3/this.fps)),d(this.cont,{display:"block"})}},i.hide=function(){"number"==typeof this.timer&&(clearInterval(this.timer),delete this.timer,d(this.cont,{display:"none"}))},i.kill=function(){var e,n=this.cont;for(e in"number"==typeof this.timer&&this.hide(),t===r[0]?(n.removeChild(this.can),n.removeChild(this.cCan)):n.removeChild(this.vml),this)delete this[e]},e.CanvasLoader=n}(window)},c8JY:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"toolbar",staticClass:"toolbar"},[e.cropped?e._e():[e.setDragMode?n("button",{staticClass:"toolbar__button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.move},on:{click:function(t){e.setDragMode("move")}}},[n("i",{staticClass:"uk-icon-arrows"})]):e._e(),e._v(" "),e.setDragMode?n("button",{staticClass:"toolbar__button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.crop},on:{click:function(t){e.setDragMode("crop")}}},[n("i",{staticClass:"uk-icon-crop"})]):e._e(),e._v(" "),e.zoomIn?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.zoomIn},on:{click:e.zoomIn}},[n("i",{staticClass:"uk-icon-search-plus"})]):e._e(),e._v(" "),e.zoomOut?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.zoomOut},on:{click:e.zoomOut}},[n("i",{staticClass:"uk-icon-search-minus"})]):e._e(),e._v(" "),e.rotateLeft?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.rotateLeft},on:{click:e.rotateLeft}},[n("i",{staticClass:"uk-icon-rotate-left"})]):e._e(),e._v(" "),e.rotateRight?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.rotateRight},on:{click:e.rotateRight}},[n("i",{staticClass:"uk-icon-rotate-right"})]):e._e(),e._v(" "),e.flipHorizontal?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.flipHorizontal},on:{click:e.flipHorizontal}},[n("i",{staticClass:"uk-icon-arrows-h"})]):e._e(),e._v(" "),e.flipVertical?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.flipVertical},on:{click:e.flipVertical}},[n("i",{staticClass:"uk-icon-arrows-v"})]):e._e(),e._v(" "),n("div",{staticClass:"toolbar__select_wraper",attrs:{"data-uk-tooltip":"",title:e.translations.aspectRatio}},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.ratio,expression:"ratio"}],staticClass:"toolbar__select uk-button",on:{change:[function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.ratio=t.target.multiple?n:n[0]},e.aspectRatio]}},[n("optgroup",{attrs:{label:e.translations.other}},[n("option",{attrs:{value:"free"}},[e._v(e._s(e.translations.free))]),e._v(" "),n("option",{attrs:{value:"1:1"}},[e._v("1:1")]),e._v(" "),n("option",{attrs:{value:"4:3"}},[e._v("4:3")])]),e._v(" "),n("optgroup",{attrs:{label:e.translations.landscape}},[n("option",{attrs:{value:"16:9"}},[e._v("16:9")]),e._v(" "),n("option",{attrs:{value:"21:9"}},[e._v("21:9")])]),e._v(" "),n("optgroup",{attrs:{label:e.translations.portrait}},[n("option",{attrs:{value:"9:16"}},[e._v("9:16")]),e._v(" "),n("option",{attrs:{value:"9:21"}},[e._v("9:21")])])]),e._v(" "),n("i",{staticClass:"uk-icon-arrow-down"})]),e._v(" "),e.cropping&&!e.cropped?n("button",{staticClass:"toolbar_button uk-button uk-button-primary",attrs:{"data-uk-tooltip":"",title:e.translations.applyChange},on:{click:e.crop}},[n("i",{staticClass:"uk-icon-check"})]):e._e()],e._v(" "),e.cropped?n("button",{staticClass:"toolbar_button uk-button uk-button-secondary",attrs:{"data-uk-tooltip":"",title:e.translations.undo},on:{click:e.undo}},[n("i",{staticClass:"uk-icon-undo"})]):e._e(),e._v(" "),e.cropped?n("button",{staticClass:"toolbar_button uk-button uk-button-primary",attrs:{"data-uk-tooltip":"",title:e.translations.saveAndOverwrite},on:{click:e.overwrite}},[n("i",{staticClass:"uk-icon-floppy-o"}),e._v(" "+e._s(e.translations.saveAndOverwrite)+"\n ")]):e._e()],2)},staticRenderFns:[]};t.default=i},cDWz:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("TL+m"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("VB4P"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},ciPl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("BYnw"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("qqmG"),s=n.n(a);var l=function(e){n("Xatb")},u=n("/4AN")(r.a,s.a,!1,l,"data-v-528b9f0b",null);t.default=u.exports},ds7r:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("modal",{attrs:{name:"warning-modal",transition:"pop-out",width:e.modalWidth,height:350},on:{"before-close":e.beforeClose}},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-part",attrs:{id:"bp-left"}},[n("div",{staticClass:"modal",attrs:{id:"partition-register"}},[n("div",{staticClass:"modal-title"},[e._v(e._s(e.title))]),e._v(" "),n("div",{staticClass:"modal-content"},[n("p",[e._v(e._s(e.content))]),e._v(" "),n("div",{staticClass:"btns"},[e.linkUrl&&e.linkLabel?n("a",{staticClass:"btn large-btn",attrs:{href:e.linkUrl}},[e._v(e._s(e.linkLabel))]):e._e(),e._v(" "),e.closeable?n("button",{staticClass:"large-btn",on:{click:e.close}},[e._v("Close")]):e._e()])])])]),e._v(" "),e.imageUrl?n("div",{staticClass:"box-part",attrs:{id:"bp-right"}},[n("img",{directives:[{name:"dynamic-img",rawName:"v-dynamic-img",value:e.imageUrl,expression:"imageUrl"}],attrs:{src:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="}})]):e._e()])])},staticRenderFns:[]};t.default=i},dy4P:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("mC1X"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("nFnR"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},e1f4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getImage=function(){return(0,i.default)({method:"GET",url:window.RozierRoot.routes.splashRequest,headers:{"X-Requested-With":"XMLHttpRequest"},params:{_:Math.random()}}).then(function(e){return e.data.url}).catch(function(){throw new Error("Image not found")})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},e9E8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{isLoadingMore:{required:!0,type:Boolean},nextPage:{type:Number},loadMoreItems:{required:!0,type:Function},moreItemsText:{required:!0,type:String}}}},eC0v:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("T4f3"));n("gzqx");var r=s(n("iUPs")),o=n("SJI6"),a=s(n("mebu"));function s(e){return e&&e.__esModule?e:{default:e}}t.default={props:{srcUrl:{required:!0,type:String},filename:{required:!0,type:String}},data:function(){return{editable:!1,cropper:!1,cropping:!0,data:null,canvasData:null,cropBoxData:null,image:null,type:"",name:"",url:this.srcUrl,cropped:!1,aspectRatio:null}},mounted:function(){this.blanchetteEditorInit({url:this.url,editor:this.$refs.blanchetteEditor})},computed:(0,i.default)({},(0,o.mapState)({originalUrl:function(e){return e.blanchetteEditor.originalUrl},isLoading:function(e){return e.blanchetteEditor.isLoading},translations:function(e){return e.translations}})),methods:(0,i.default)({},(0,o.mapActions)(["blanchetteEditorInit","blanchetteEditorLoaded","blanchetteEditorSave"]),{overwrite:function(){var e=this;this.blanchetteEditorSave({url:this.url,filename:this.filename}).then(function(){return e.restore()})},load:function(){var e=this;window.setTimeout(function(){e.image||(e.image=e.$refs.image,e.start(),e.blanchetteEditorLoaded())},1e3)},setAspectRatio:function(e){switch(e.target.value){case"1:1":this.aspectRatio=1;break;case"4:3":this.aspectRatio=4/3;break;case"16:9":this.aspectRatio=16/9;break;case"21:9":this.aspectRatio=21/9;break;case"9:16":this.aspectRatio=9/16;break;case"9:21":this.aspectRatio=9/21;break;default:this.aspectRatio=null}this.cropper.setAspectRatio(this.aspectRatio)},rotateRight:function(){this.cropper.rotate(90)},rotateLeft:function(){this.cropper.rotate(-90)},setDragMode:function(e){e&&this.cropper&&this.cropper.setDragMode(e)},zoomIn:function(){this.cropper.zoom(.1)},zoomOut:function(){this.cropper.zoom(-.1)},flipHorizontal:function(){this.cropper.scaleX(-this.cropper.getData().scaleX||-1)},flipVertical:function(){this.cropper.scaleY(-this.cropper.getData().scaleY||-1)},move:function(e,t){this.cropper.move(e,t)},start:function(){this.cropper||(this.cropper=new r.default(this.image,{autoCrop:!1,dragMode:"move",background:!1,aspectRatio:this.aspectRatio,viewMode:1,zoomOnWheel:!1,ready:function(){this.data&&(this.cropper.crop().setData(this.data).setCanvasData(this.canvasData).setCropBoxData(this.cropBoxData),this.data=null,this.canvasData=null,this.cropBoxData=null)},crop:function(e){e.detail.width>0&&e.detail.height>0&&!this.cropping&&(this.cropping=!0)}}))},stop:function(){this.cropper&&(this.cropper.destroy(),this.cropper=null)},crop:function(){var e=this.cropper,t=this.type;this.cropping&&(this.originalUrl=this.url,this.data=e.getData(),this.canvasData=e.getCanvasData(),this.cropBoxData=e.getCropBoxData(),this.url=e.getCroppedCanvas("image/png"===t?null:{fillColor:"#fff"}).toDataURL(t),this.cropped=!0,this.stop())},clear:function(){this.cropping&&this.cropper.clear()},restore:function(){this.cropper||(this.image=null,this.url=this.originalUrl,this.originalUrl="",this.cropped=!1)}}),components:{BlanchetteToolbar:a.default}}},eQwT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("THhJ"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("/4AN")(r.a,null,!1,null,null,null);t.default=a.exports},en6P:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("T4f3")),r=n("SJI6");t.default={computed:(0,i.default)({},(0,r.mapState)({isExplorerOpen:function(e){return e.explorer.isOpen}}))}},fHvF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(e){return e&&e.__esModule?e:{default:e}}(n("Xos8")),o=n("xHmi"),a=l(n("2y8T")),s=l(n("Mb7i"));function l(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var u={blanchetteEditorInit:function(e,t){var n=e.commit,i=e.dispatch,r=t.url,a=t.editor;i("blanchetteEditorIsLoading"),n(o.BLANCHETTE_EDITOR_INIT,{url:r,editor:a})},blanchetteEditorIsLoading:function(e){(0,e.commit)(o.BLANCHETTE_EDITOR_IS_LOADING)},blanchetteEditorLoaded:function(e){(0,e.commit)(o.BLANCHETTE_EDITOR_LOADED)},blanchetteEditorSave:function(e,t){var n=e.commit,i=e.state,r=t.url,l=t.filename,u=s.dataURItoBlob(r),c=i.editor.getElementsByTagName("form")[0],d=new FormData(c);return d.append("form[editDocument]",u,l),n(o.BLANCHETTE_EDITOR_IS_LOADING),a.setDocument(d).then(function(e){if(n(o.BLANCHETTE_EDITOR_LOADED),!e.data||!e.data.path)throw new Error("No path found");window.UIkit.notify({message:e.data.message,status:"success",timeout:2e3,pos:"top-center"}),n(o.BLANCHETTE_EDITOR_SAVE_SUCCESS,{path:e.data.path})}).catch(function(e){console.error(e),n(o.BLANCHETTE_EDITOR_ERROR,{error:e}),n(o.BLANCHETTE_EDITOR_LOADED)})}},c=(i={},(0,r.default)(i,o.BLANCHETTE_EDITOR_INIT,function(e,t){var n=t.url,i=t.editor;e.originalUrl=n,e.editor=i}),(0,r.default)(i,o.BLANCHETTE_EDITOR_IS_LOADING,function(e){e.isLoading=!0}),(0,r.default)(i,o.BLANCHETTE_EDITOR_ERROR,function(e,t){var n=t.error;e.error=n.message}),(0,r.default)(i,o.BLANCHETTE_EDITOR_LOADED,function(e){e.isLoading=!1}),(0,r.default)(i,o.BLANCHETTE_EDITOR_SAVE_SUCCESS,function(e,t){var n=t.path;e.originalUrl=n}),i);t.default={state:{isLoading:!0,originalUrl:"",editor:null},actions:u,mutations:c}},fa0H:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("MjFt"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("qE/d"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},g2gx:function(e,t,n){"use strict";var i,r;!function(o,a,s){for(var l,u,c={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},d={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},h={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},f={option:"alt",command:"meta",return:"enter",escape:"esc",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},p={},m={},g={},v=!1,_=!1,b=!1,w=1;w<20;++w)c[111+w]="f"+w;for(w=0;w<=9;++w)c[w+96]=w;function k(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function y(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return c[e.which]?c[e.which]:d[e.which]?d[e.which]:String.fromCharCode(e.which).toLowerCase()}function E(e,t){return e.sort().join(",")===t.sort().join(",")}function C(e){e=e||{};var t,n=!1;for(t in g)e[t]?n=!0:g[t]=0;n||(b=!1)}function x(e,t,n,i,r,o){var a,s,l=[],u=n.type;if(!p[e])return[];for("keyup"==u&&A(e)&&(t=[e]),a=0;a95&&e<112||c.hasOwnProperty(e)&&(l[c[e]]=e);return l}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function D(e,t,n,i){function r(t){return function(){b=t,++g[e],clearTimeout(u),u=setTimeout(C,1e3)}}function o(t){T(n,t,e),"keyup"!==i&&(v=y(t)),setTimeout(C,10)}g[e]=0;for(var a=0;a1?D(e,a,t,n):(o=I(e,n),p[o.key]=p[o.key]||[],x(o.key,o.modifiers,{type:o.action},i,e,r),p[o.key][i?"unshift":"push"]({callback:t,modifiers:o.modifiers,action:o.action,seq:i,level:r,combo:e}))}k(a,"keypress",S),k(a,"keydown",S),k(a,"keyup",S);var M={bind:function(e,t,n){return function(e,t,n){for(var i=0;i-1)&&("INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable)},handleKey:function(e,t,n){var i,r=x(e,t,n),o={},a=0,s=!1;for(i=0;ie?void 0!==t[e].update?o.default.ajax({url:t[e].update,type:"POST",dataType:"json",complete:function(){n.callSingleImport(e)}}):this.callSingleImport(e):this.$nextStepButton.length&&this.$nextStepButton.removeClass("uk-button-disabled")}},{key:"callSingleImport",value:function(e){var t=this,n=e,i=this.routes,r=(0,o.default)("#"+i[n].id),a=r.find("i");a.removeClass("uk-icon-circle-o"),a.addClass("uk-icon-spin"),a.addClass("uk-icon-spinner");var s={filename:i[n].filename};o.default.ajax({url:i[n].url,type:"POST",dataType:"json",data:s,success:function(){a.removeClass("uk-icon-spin"),a.removeClass("uk-icon-spinner"),a.addClass("uk-icon-check"),r.addClass("uk-badge-success"),i[n].postUpdate?i[n].postUpdate instanceof Array&&i[n].postUpdate.length>1?o.default.ajax({url:i[n].postUpdate[0],type:"POST",dataType:"json",complete:function(){o.default.ajax({url:i[n].postUpdate[1],type:"POST",dataType:"json",complete:function(){t.always(n+1,i)}})}}):o.default.ajax({url:i[n].postUpdate,type:"POST",dataType:"json",complete:function(){t.always(n+1,i)}}):t.always(n+1,i)},error:function(e){a.removeClass("uk-icon-spin"),a.removeClass("uk-icon-spinner"),a.addClass("uk-icon-warning"),r.addClass("uk-badge-danger"),e.responseJSON&&e.responseJSON.error&&r.parent().parent().after('
      ")},complete:function(){a.removeClass("uk-icon-spin"),a.removeClass("uk-icon-spinner")}})}}]),e}();t.default=s},ibAD:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("dACh")),r=s(n("jx4H")),o=s(n("0iPh")),a=n("EQNM");function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(){(0,i.default)(this,e),this.$btn=(0,o.default)(".node-type-field-edit-button"),this.currentRequest=null,this.$btn.length&&(this.$formFieldRow=(0,o.default)(".node-type-field-row"),this.$formFieldCol=(0,o.default)(".node-type-field-col"),this.indexOpen=null,this.openFormDelay=0,this.$formCont=null,this.$form=null,this.$formIcon=null,this.$formContHeight=null,this.init())}return(0,r.default)(e,[{key:"init",value:function(){}},{key:"unbind",value:function(){}},{key:"btnClick",value:function(e){var t=this;return e.preventDefault(),null!==this.indexOpen?(this.closeForm(),this.openFormDelay=400):this.openFormDelay=0,this.indexOpen!==parseInt(e.currentTarget.getAttribute("data-index"))&&(this.currentRequest&&4!==this.currentRequest.readyState&&this.currentRequest.abort(),window.Rozier.lazyload.canvasLoader.show(),this.openTimeout&&clearTimeout(this.openTimeout),this.openTimeout=setTimeout(function(){var n=new CustomEvent("pagechange");window.dispatchEvent(n),t.indexOpen=parseInt(e.currentTarget.getAttribute("data-index")),t.currentRequest=o.default.ajax({url:e.currentTarget.href,type:"get",cache:!1,dataType:"html"}).done(function(n){t.applyContent(e.currentTarget,n,e.currentTarget.href)}).fail(function(){window.UIkit.notify({message:window.Rozier.messages.forbiddenPage,status:"danger",timeout:3e3,pos:"top-center"})}).always(function(){window.Rozier.lazyload.canvasLoader.hide()})},this.openFormDelay)),!1}},{key:"applyContent",value:function(e,t,n){var i=this,r=['','",""].join("");(0,o.default)(e).parent().parent().after(r),this.$formFieldCol.removeClass("node-type-field-col"),(0,o.default)(".rz-boolean-checkbox").bootstrapSwitch({size:"small"}),window.Rozier.lazyload.initMarkdownEditors(),window.setTimeout(function(){i.$formCont=(0,o.default)(".node-type-field-edit-form-cont"),i.formContHeight=i.$formCont.actual("height"),i.$formRow=(0,o.default)(".node-type-field-edit-form-row"),i.$form=(0,o.default)("#edit-node-type-field-form"),i.$formIcon=(0,o.default)(i.$formFieldRow[i.indexOpen]).find(".node-type-field-col-1 i"),i.$form.attr("action",n),i.$formIcon[0].className="uk-icon-chevron-down",i.$formCont[0].style.height="0px",i.$formCont[0].style.display="block",a.TweenLite.to(i.$form,.6,{height:i.formContHeight,ease:a.Expo.easeOut}),a.TweenLite.to(i.$formCont,.6,{height:i.formContHeight,ease:a.Expo.easeOut})},200)}},{key:"closeForm",value:function(){var e=this;this.$formIcon[0].className="uk-icon-chevron-right",a.TweenLite.to(this.$formCont,.4,{height:0,ease:a.Expo.easeOut,onComplete:function(){e.$formRow.remove(),e.indexOpen=null,e.$formFieldCol.addClass("node-type-field-col")}})}},{key:"resize",value:function(){}}]),e}();t.default=l},inhQ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[e.nextPage&&e.nextPage>1?n("div",{staticClass:"widget-explorer-nextpage",on:{click:function(t){t.preventDefault(),e.loadMoreItems(t)}}},[e.isLoadingMore?[n("transition",{attrs:{name:"fade"}},[n("div",{staticClass:"spinner light"})])]:[n("i",{staticClass:"uk-icon-plus"}),e._v(" "),n("span",{staticClass:"label"},[e._v(e._s(e.moreItemsText))])]],2):e._e()])},staticRenderFns:[]};t.default=i},jfiS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._t("default"),e._v(" "),n("label",{staticClass:"typo__label"},[e._v("Tagging")]),e._v(" "),n("multiselect",{attrs:{"tag-placeholder":"Add this as new tag",placeholder:"Search or add a tag",label:"name","track-by":"id",options:e.options,multiple:!0,taggable:!0,"group-values":"children","group-label":"name"},on:{tag:e.addTag,input:e.tagsUpdateValue},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}}),e._v(" "),n("pre",{staticClass:"language-json"},[n("code",[e._v(e._s(e.value))])])],2)},staticRenderFns:[]};t.default=i},jx8E:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[!e.isTagExisting&&e.searchTerms?n("div",{staticClass:"tag-creator"},[n("div",{staticClass:"infos"},[e._v(e._s(e.translations.createTag))]),e._v(" "),n("tag-creator-item",{attrs:{"create-tag":e.tagsCreate,"tag-name":e.searchTerms}})],1):e._e()])},staticRenderFns:[]};t.default=i},kMqv:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTags=function(){var e={_token:window.RozierRoot.ajaxToken,_action:"tagsExplorer"};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.tagsAjaxExplorer,params:e}).then(function(e){return void 0!==e.data&&e.data.tags?{items:e.data.tags}:{}}).catch(function(e){throw new Error(e)})},t.getParentTags=function(){var e={_token:window.RozierRoot.ajaxToken,_action:"tagsExplorer",onlyParents:!0};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.tagsAjaxExplorer,params:e}).then(function(e){return void 0!==e.data&&e.data.tags?{items:e.data.tags}:{}}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},kR5N:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("dACh")),r=s(n("jx4H")),o=s(n("0iPh")),a=n("Tzw7");function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(){(0,i.default)(this,e),this.$content=(0,o.default)(".content-tag-edit").eq(0),this.$form=(0,o.default)("#edit-tag-form"),this.$formRow=null,this.$dropdown=null,this.onFormSubmit=this.onFormSubmit.bind(this),this.$content.length&&(this.$formRow=this.$content.find(".uk-form-row"),this.initEvents())}return(0,r.default)(e,[{key:"initEvents",value:function(){this.$form.on("submit",this.onFormSubmit)}},{key:"unbind",value:function(){this.$content.length&&this.$form.off("submit",this.onFormSubmit)}},{key:"onFormSubmit",value:function(){var e=this;return window.Rozier.lazyload.canvasLoader.show(),this.currentTimeout&&clearTimeout(this.currentTimeout),this.currentTimeout=setTimeout(function(){var t=new CustomEvent("pagechange");window.dispatchEvent(t);var n=new FormData(e.$form.get(0));o.default.ajax({url:window.location.href,type:"post",data:n,processData:!1,cache:!1,contentType:!1}).done(function(t){e.cleanErrors()}).fail(function(t){t.responseJSON&&(e.displayErrors(t.responseJSON.errors),window.UIkit.notify({message:t.responseJSON.message,status:"danger",timeout:2e3,pos:"top-center"}))}).always(function(){window.Rozier.lazyload.canvasLoader.hide(),window.Rozier.refreshMainTagTree(),window.Rozier.getMessages()})},300),!1}},{key:"cleanErrors",value:function(){var e=(0,o.default)(".form-errored");e.each(function(t){e.eq(t).removeClass("form-errored"),e.eq(t).find(".error-message").remove()})}},{key:"displayErrors",value:function(e,t){for(var n in t&&!1!==t||this.cleanErrors(),e){var i=null,r=null;if("object"===(0,a.toType)(e[n]))this.displayErrors(e[n],!0);else{i=n.replace("_","-"),r=e[n]instanceof Array?e[n][0]:e[n];var s=(0,o.default)(".form-col-"+i);s.length&&(s.addClass("form-errored"),s.append('

      '+r+"

      "))}}}},{key:"resize",value:function(){}}]),e}();t.default=l},kRS3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n("H8iA")),r=o(n("KtXb"));function o(e){return e&&e.__esModule?e:{default:e}}t.default={centralTruncate:i.default,truncate:r.default}},krmO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(e){return e&&e.__esModule?e:{default:e}}(n("Xos8")),o=n("xHmi");var a={documentPreviewInit:function(e,t){var n=e.commit,i=t.document;n(o.DOCUMENT_PREVIEW_INIT,{document:i})},documentPreviewDestroy:function(e){(0,e.commit)(o.DOCUMENT_PREVIEW_DESTROY)},documentPreviewClose:function(e){(0,e.commit)(o.DOCUMENT_PREVIEW_CLOSE)},documentPreviewOpen:function(e){(0,e.commit)(o.DOCUMENT_PREVIEW_OPEN)}},s=(i={},(0,r.default)(i,o.DOCUMENT_PREVIEW_INIT,function(e,t){var n=t.document;e.document=n}),(0,r.default)(i,o.DOCUMENT_PREVIEW_DESTROY,function(e){e.isVisible||(e.document=null)}),(0,r.default)(i,o.KEYBOARD_EVENT_SPACE,function(e){null===e.document||e.isVisible?e.isVisible&&(e.isVisible=!1,e.document=null):e.isVisible=!0}),(0,r.default)(i,o.KEYBOARD_EVENT_ESCAPE,function(e){e.isVisible=!1,e.document=null}),(0,r.default)(i,o.DOCUMENT_PREVIEW_OPEN,function(e){e.isVisible=!0}),(0,r.default)(i,o.DOCUMENT_PREVIEW_CLOSE,function(e){e.isVisible=!1,e.document=null}),i);t.default={state:{document:null,isVisible:!1,isLoading:!1},getters:{documentPreviewGetDocument:function(e){return e.document}},actions:a,mutations:s}},"l/s5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("drawer-item",{attrs:{item:e.item,index:e.index,"drawer-name":e.drawerName,"is-item-explorer":e.isItemExplorer,"parent-name":e.item.parent?e.item.parent:"",name:e.item.name?e.item.name:"","edit-item":e.item.editUrl,"add-item":e.addItem,"remove-item":e.removeItem}})},staticRenderFns:[]};t.default=i},lRwf:function(e,t){e.exports=Vue},lS9x:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("T4f3")),r=d(n("bnjF")),o=d(n("umdK")),a=d(n("DqSB")),s=d(n("Afu7")),l=d(n("RfA7")),u=d(n("e1f4")),c=d(n("CpLN"));function d(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var h=(0,i.default)({},r,o,a,s,l,u,c);t.default=h},lTHl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("rJVn"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("jx8E"),s=n.n(a);var l=function(e){n("9ZFY")},u=n("/4AN")(r.a,s.a,!1,l,"data-v-2897d1a1",null);t.default=u.exports},m1Vf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getJoinsByIds=function(e){var t=e.ids,n=void 0===t?[]:t,r=e.filters,o={_token:window.RozierRoot.ajaxToken,ids:n,nodeTypeFieldId:r.nodeTypeField};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.joinsAjaxByArray,params:o}).then(function(e){return void 0!==e.data&&e.data.items?{items:e.data.items}:null}).catch(function(e){throw new Error(e.response.data.humanMessage)})},t.getJoins=function(e){var t=e.searchTerms,n=e.preFilters,r=e.filters,o=(e.filterExplorerSelection,e.moreData),a={_token:window.RozierRoot.ajaxToken,_action:"toggleExplorer",nodeTypeFieldId:n?n.nodeTypeField:null,search:t,page:1};o&&(a.page=r?r.nextPage:1);return(0,i.default)({method:"GET",url:window.RozierRoot.routes.joinsAjaxExplorer,params:a}).then(function(e){return void 0!==e.data&&e.data.entities?{items:e.data.entities,filters:e.data.filters}:{}}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},mC1X:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("T4f3")),r=n("SJI6"),o=s(n("eQwT")),a=s(n("4NIs"));function s(e){return e&&e.__esModule?e:{default:e}}t.default={props:{entity:{required:!0,type:String},name:{required:!0,type:String},id:{required:!0,type:String},cols:{type:Number},rows:{type:Number},initialValue:{required:!0,type:String}},mixins:[o.default],data:function(){return{currentView:"",value:""}},mounted:function(){this.ids=this.initialValue.split(",")},computed:(0,i.default)({},(0,r.mapState)({translations:function(e){return e.translations}}),{updateList:function(){var e=this.items.map(function(e){return e.nodeName});this.value=e.join(", ")}}),components:{RzTextarea:a.default}}},mebu:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("ZJj3"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("c8JY"),s=n.n(a);var l=function(e){n("O9HX")},u=n("/4AN")(r.a,s.a,!1,l,"data-v-2ad1fec2",null);t.default=u.exports},nFnR:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.drawer?n("div",{ref:"drawer",staticClass:"uk-form-row drawer-widget entity-",class:[{"uk-active":e.isActive,"uk-alert-danger":e.drawer.errorMessage},"entity-"+e.entity],attrs:{"data-accept-entity":e.entity,"data-accept-limit":"0","data-entity-types":"[]"}},[n("nav",{staticClass:"drawer-widget-nav uk-navbar"},[e._m(0,!1,!1),e._v(" "),n("div",{staticClass:"uk-navbar-content uk-navbar-flip"},[n("div",{staticClass:"drawer-widget-quick-creation uk-button-group"},[n("rz-button",{attrs:{"is-active":e.drawer.isActive,callback:e.onExplorerButtonClick}},[n("i",{staticClass:"uk-icon-rz-explore"}),e._v("\n "+e._s(e.translations.explorer)+"\n ")])],1)])]),e._v(" "),e.drawer.errorMessage?[n("p",{staticClass:"uk-text-danger"},[e._v("\n "+e._s(e.drawer.errorMessage)+"\n ")])]:e._e(),e._v(" "),n("div",{staticClass:"drawer-widget-sortable-container"},[e.drawer.isLoading?n("transition",{attrs:{name:"fade"}},[n("div",{staticClass:"spinner"})]):e._e(),e._v(" "),n("ul",{staticClass:"drawer-widget-sortable",attrs:{"data-input-name":""}},[n("draggable",{attrs:{options:{group:""}},model:{value:e.items,callback:function(t){e.items=t},expression:"items"}},[n("transition-group",e._l(e.items,function(t,i){return n(e.drawer.currentListingView,{key:t.id,tag:"component",attrs:{"drawer-name":e.drawerName,"is-item-explorer":!1,"add-item":e.addItem,"remove-item":e.removeItem,index:i,item:t}})}))],1)],1),e._v(" "),n("div",{staticClass:"hidden"},[n("rz-textarea",{attrs:{"initial-value":e.value,name:e.name,id:e.id,cols:e.cols,rows:e.rows}}),e._v("\n "+e._s(e.updateList)+"\n ")],1)],1)],2):e._e()},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("ul",{staticClass:"uk-navbar-nav"},[t("li",{staticClass:"uk-navbar-brand"},[t("i",{})])])}]};t.default=i},nY3t:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=u(n("Xos8")),o=u(n("T4f3")),a=u(n("lS9x")),s=n("xHmi"),l=n("EY70");function u(e){return e&&e.__esModule?e:{default:e}}var c=(0,o.default)({},{isOpen:!1,isLoading:!1,items:[],entity:null,icons:{normal:"uk-icon-circle-o",active:"uk-icon-circle"},selectedItem:null}),d={filterExplorerOpen:function(e){var t=e.commit,n=e.dispatch,i=e.getters.getExplorerEntity;t(s.FILTER_EXPLORER_OPEN,{entity:i}),n("explorerResetSearchTerms"),n("filterExplorerMakeSearch")},filterExplorerUpdate:function(e,t){var n=e.commit,i=e.dispatch,r=t.item;n(s.FILTER_EXPLORER_UPDATE,{item:r}),i("explorerMakeSearch")},filterExplorerClose:function(e){(0,e.commit)(s.FILTER_EXPLORER_CLOSE)},filterExplorerReset:function(e){(0,e.commit)(s.FILTER_EXPLORER_RESET)},filterExplorerToggle:function(e){var t=e.dispatch;e.state.isOpen?t("filterExplorerClose"):t("filterExplorerOpen")},filterExplorerMakeSearch:function(e){var t=e.commit,n=e.state;t(s.FILTER_EXPLORER_REQUEST);var i=n.entity;return a.default.getFilters({entity:i}).then(function(e){e?t(s.FILTER_EXPLORER_SUCCESS,{result:e}):t(s.FILTER_EXPLORER_FAILED)}).catch(function(e){t(s.FILTER_EXPLORER_FAILED,{error:e})})}},h=(i={},(0,r.default)(i,s.FILTER_EXPLORER_UPDATE,function(e,t){var n=t.item;e.selectedItem=n}),(0,r.default)(i,s.FILTER_EXPLORER_REQUEST,function(e){e.isLoading=!0}),(0,r.default)(i,s.FILTER_EXPLORER_SUCCESS,function(e,t){var n=t.result;e.items=n.items,e.isLoading=!1}),(0,r.default)(i,s.FILTER_EXPLORER_OPEN,function(e,t){var n=t.entity;switch(e.isOpen=!0,e.entity=n,n){case l.DOCUMENT_ENTITY:e.icons.normal="uk-icon-folder",e.icons.active="uk-icon-folder-open";break;case l.NODE_ENTITY:case l.TAG_ENTITY:e.icons.normal="uk-icon-tag",e.icons.active="uk-icon-tag"}}),(0,r.default)(i,s.FILTER_EXPLORER_CLOSE,function(e){e.isOpen=!1}),(0,r.default)(i,s.FILTER_EXPLORER_RESET,function(e){e.selectedItem=null,e.items=[]}),(0,r.default)(i,s.FILTER_EXPLORER_FAILED,function(e,t){t.error;e.isLoading=!1,e.error="Request failed"}),(0,r.default)(i,s.KEYBOARD_EVENT_ESCAPE,function(e){e.isLoading=!1,e.isOpen=!1,e.selectedItem=null}),i);t.default={state:c,getters:{getFilterExplorerSelectedItem:function(e){return e.selectedItem}},actions:d,mutations:h}},oUTm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this.$createElement;return(this._self._c||e)("textarea",{attrs:{name:this.name,id:this.id,cols:this.cols,rows:this.rows}},[this._v(this._s(this.initialValue))])},staticRenderFns:[]};t.default=i},otgr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade-in"}},[e.item?n("li",{staticClass:"item"},[n("a",{staticClass:"filter-item-link",class:[e.isCurrentItem?"active":""],attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.onItemClick(e.item)}}},[n("i",{staticClass:"icon",class:e.isCurrentItem?e.icons.active:e.icons.normal}),e._v(" "),n("span",{staticClass:"text"},[e._v(e._s(e.item.name))])]),e._v(" "),n("ul",{staticClass:"sub-filters"},e._l(e.item.children,function(t,i){return n("filter-explorer-item",{key:t.id,attrs:{icons:e.icons,"current-item":e.currentItem,entity:e.entity,"on-item-click":e.onItemClick,item:t}})}))]):e._e()])},staticRenderFns:[]};t.default=i},"p+9q":function(e,t,n){(e.exports=n("lcwS")(!1)).push([e.i,"\n.toolbar[data-v-2ad1fec2] {\n margin: 20px 0;\n}\n.toolbar .toolbar__select_wraper[data-v-2ad1fec2] {\n position: relative;\n display: inline-block;\n}\n.toolbar .toolbar__select_wraper .toolbar__select[data-v-2ad1fec2] {\n padding-right: 30px;\n}\n.toolbar .toolbar__select_wraper i[data-v-2ad1fec2] {\n position: absolute;\n right: 7px;\n top: 11px;\n pointer-events: none;\n}\n",""])},pQmN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("AcRm"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("Mukt"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},pmdL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=N(n("X9RM")),r=N(n("dACh")),o=N(n("jx4H")),a=N(n("0iPh")),s=n("EQNM"),l=N(n("QKtd")),u=N(n("P4+A")),c=N(n("tjLZ")),d=N(n("UIBU")),h=N(n("sOvm")),f=N(n("Tr2I")),p=N(n("ibAD")),m=N(n("JTvu")),g=N(n("T2ht")),v=N(n("h5eJ")),_=N(n("bB58")),b=N(n("PKoN")),w=N(n("FVwp")),k=N(n("0vVo")),y=N(n("7Smz")),E=N(n("3Z0C")),C=N(n("wi4E")),x=N(n("QKcT")),T=N(n("aI4R")),S=N(n("3aBW")),A=N(n("+VLV")),R=N(n("RIYy")),D=N(n("NAyJ")),I=N(n("Ow2O")),O=N(n("ZysM")),M=N(n("x4pS")),$=N(n("kR5N")),L=N(n("t4hZ"));function N(e){return e&&e.__esModule?e:{default:e}}var P=function(){function e(){(0,r.default)(this,e),this.$linksSelector=null,this.$canvasLoaderContainer=null,this.documentsList=null,this.mainColor=null,this.currentRequest=null,this.nodeTreeContextActions=null,this.documentsBulk=null,this.tagsBulk=null,this.inputLengthWatcher=null,this.documentUploader=null,this.childrenNodesFields=null,this.geotagField=null,this.multiGeotagField=null,this.saveButtons=null,this.tagAutocomplete=null,this.folderAutocomplete=null,this.nodeTypeFieldsPosition=null,this.attributeValuesPosition=null,this.customFormFieldsPosition=null,this.settingsSaveButtons=null,this.nodeTypeFieldEdit=null,this.nodeEditSource=null,this.tagEdit=null,this.markdownEditors=[],this.jsonEditors=[],this.cssEditors=[],this.yamlEditors=[],this.$window=(0,a.default)(window),this.onPopState=this.onPopState.bind(this),this.onClick=this.onClick.bind(this),this.parseLinks(),window.removeEventListener("popstate",this.onPopState),window.addEventListener("popstate",this.onPopState),this.$canvasLoaderContainer=(0,a.default)("#canvasloader-container"),this.mainColor=window.Rozier.mainColor?window.Rozier.mainColor:"#00deab",this.initLoader(),window.history.pushState({},document.title,window.location.href)}return(0,o.default)(e,[{key:"initLoader",value:function(){this.canvasLoader=new window.CanvasLoader("canvasloader-container"),this.canvasLoader.setColor(this.mainColor),this.canvasLoader.setShape("square"),this.canvasLoader.setDensity(90),this.canvasLoader.setRange(.8),this.canvasLoader.setSpeed(4),this.canvasLoader.setFPS(30)}},{key:"parseLinks",value:function(){this.$linksSelector=(0,a.default)("a:not('[target=_blank]')").not(".rz-no-ajax-link").not("[download]").not('[href="#"]')}},{key:"onClick",value:function(e){var t=this,n=(0,a.default)(e.currentTarget),i=n.attr("href");if(void 0!==i&&!n.hasClass("rz-no-ajax-link")&&""!==i&&"#"!==i&&(i.indexOf(window.Rozier.baseUrl)>=0||"/"===i.charAt(0)||"?"===i.charAt(0)))return e.preventDefault(),this.clickTimeout&&clearTimeout(this.clickTimeout),this.clickTimeout=window.setTimeout(function(){window.history.pushState({},null,n.attr("href")),t.onPopState(null)},0),!1}},{key:"onPopState",value:function(e){var t=null;null!==e&&e.originalEvent&&(t=e.originalEvent.state),void 0!==t&&null!==t||(t=window.history.state),null!==t&&(this.canvasLoader.show(),this.loadContent(t,window.location))}},{key:"loadContent",value:function(e,t){var n=this;this.currentTimeout&&clearTimeout(this.currentTimeout),this.currentTimeout=window.setTimeout(function(){var i=new CustomEvent("pagechange");window.dispatchEvent(i),n.currentRequest=a.default.ajax({url:t.href,type:"get",dataType:"html",cache:!1,data:e.headerData,beforeSend:function(e){e.setRequestHeader("X-Partial",!0)}}).done(function(e){n.applyContent(e),n.canvasLoader.hide();var t=new CustomEvent("pageload",{detail:e});window.dispatchEvent(t)}).fail(function(e){if(void 0!==e.responseText)try{var i=JSON.parse(e.responseText);window.UIkit.notify({message:i.message,status:"danger",timeout:3e3,pos:"top-center"})}catch(e){window.location.href=t.href}else window.UIkit.notify({message:window.Rozier.messages.forbiddenPage,status:"danger",timeout:3e3,pos:"top-center"});n.canvasLoader.hide()})},100)}},{key:"refreshCodemirrorEditor",value:function(){var e=!0,t=!1,n=void 0;try{for(var r,o=(0,i.default)(this.markdownEditors);!(e=(r=o.next()).done);e=!0){r.value.forceEditorUpdate()}}catch(e){t=!0,n=e}finally{try{!e&&o.return&&o.return()}finally{if(t)throw n}}var a=!0,s=!1,l=void 0;try{for(var u,c=(0,i.default)(this.yamlEditors);!(a=(u=c.next()).done);a=!0){u.value.forceEditorUpdate()}}catch(e){s=!0,l=e}finally{try{!a&&c.return&&c.return()}finally{if(s)throw l}}var d=!0,h=!1,f=void 0;try{for(var p,m=(0,i.default)(this.cssEditors);!(d=(p=m.next()).done);d=!0){p.value.forceEditorUpdate()}}catch(e){h=!0,f=e}finally{try{!d&&m.return&&m.return()}finally{if(h)throw f}}var g=!0,v=!1,_=void 0;try{for(var b,w=(0,i.default)(this.jsonEditors);!(g=(b=w.next()).done);g=!0){b.value.forceEditorUpdate()}}catch(e){v=!0,_=e}finally{try{!g&&w.return&&w.return()}finally{if(v)throw _}}}},{key:"applyContent",value:function(e){var t=this,n=(0,a.default)("#main-content-scrollable"),i=n.find(".content-global"),r=(0,a.default)(e),o=r.find("[data-ajax-root]");o.length&&(r=(0,a.default)(o.html())),r.addClass("new-content-global"),n.find('meta[name="title"]').remove(),n.append(r);var s=n.find('meta[name="title"]');s.length&&(document.title=s[0].getAttribute("content")),r=n.find(".new-content-global"),i.fadeOut(100,function(){i.remove(),t.generalBind(),r.fadeIn(200,function(){r.removeClass("new-content-global");var e=new CustomEvent("pageshowend");window.dispatchEvent(e)})})}},{key:"bindAjaxLink",value:function(){this.parseLinks(),this.$linksSelector.off("click",this.onClick),this.$linksSelector.on("click",this.onClick)}},{key:"generalBind",value:function(){this.generalUnbind([this.documentsBulk,this.mainTreeTabs,this.nodesBulk,this.tagsBulk,this.inputLengthWatcher,this.documentUploader,this.childrenNodesFields,this.geotagField,this.multiGeotagField,this.stackNodeTrees,this.nodeTreeContextActions,this.tagAutocomplete,this.folderAutocomplete,this.nodeTypeFieldsPosition,this.attributeValuesPosition,this.customFormFieldsPosition,this.settingsSaveButtons,this.nodeTypeFieldEdit,this.nodeEditSource,this.tagEdit,this.nodeTree]),this.bindAjaxLink(),this.markdownEditors=[],this.jsonEditors=[],this.cssEditors=[],this.yamlEditors=[],this.documentsBulk=new l.default,this.mainTreeTabs=new L.default,this.nodesBulk=new u.default,this.tagsBulk=new c.default,this.inputLengthWatcher=new b.default,this.documentUploader=new d.default(window.Rozier.messages.dropzone),this.childrenNodesFields=new w.default,this.geotagField=new O.default,this.multiGeotagField=new M.default,this.stackNodeTrees=new k.default,this.saveButtons&&this.saveButtons.unbind(),this.saveButtons=new y.default,this.tagAutocomplete=new E.default,this.folderAutocomplete=new C.default,this.nodeTypeFieldsPosition=new h.default,this.attributeValuesPosition=new f.default,this.customFormFieldsPosition=new m.default,this.nodeTreeContextActions=new g.default,this.settingsSaveButtons=new x.default,this.nodeTypeFieldEdit=new p.default,this.nodeEditSource=new _.default,this.tagEdit=new $.default,this.nodeTree=new T.default,this.initMarkdownEditors(),this.initJsonEditors(),this.initCssEditors(),this.initYamlEditors(),this.initFilterBars(),this.initColorPickers(),this.initCollectionsForms(),(0,a.default)(".actions-menu").length&&s.TweenLite.to(".actions-menu",.5,{right:0,delay:.4,ease:s.Expo.easeOut}),window.Rozier.initNestables(),window.Rozier.bindMainTrees(),window.Rozier.nodeStatuses=new S.default,this.initBootstrapSwitches(),window.Rozier.getMessages(),void 0!==window.Rozier.importRoutes&&null!==window.Rozier.importRoutes&&(window.Rozier.import=new v.default(window.Rozier.importRoutes),window.Rozier.importRoutes=null)}},{key:"generalUnbind",value:function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=(0,i.default)(e);!(t=(o=a.next()).done);t=!0){var s=o.value;s&&s.unbind()}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}}},{key:"initCollectionsForms",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this,n=null;(n=null!==e?e.find(".rz-collection-form-type"):(0,a.default)(".rz-collection-form-type")).length&&n.collection({up:'',down:'',add:'',remove:'',after_add:function(e,n){return t.initMarkdownEditors(n),t.initJsonEditors(n),t.initCssEditors(n),t.initYamlEditors(n),t.initBootstrapSwitches(n),t.initColorPickers(n),t.initCollectionsForms(n),n.find("[data-vuejs]").each(function(e,t){window.Rozier.vueApp.mainContentComponents.push(window.Rozier.vueApp.buildComponent(t))}),!0}})}},{key:"initColorPickers",value:function(e){var t=(0,a.default)(".colorpicker-input");e&&e.length&&(t=e.find(".colorpicker-input")),t.length&&t.minicolors()}},{key:"initBootstrapSwitches",value:function(e){var t=(0,a.default)(".rz-boolean-checkbox");e&&e.length&&(t=e.find(".rz-boolean-checkbox")),t.bootstrapSwitch({size:"small"})}},{key:"initMarkdownEditors",value:function(e){var t=[],n=(t=e&&e.length?e.find("textarea[data-rz-markdowneditor]"):(0,a.default)("textarea[data-rz-markdowneditor]")).length;if(n)for(var i=0;i= 1.2.3 - */!function(a){r=[n("0iPh")],void 0===(o="function"==typeof(i=a)?i.apply(t,r):i)||(e.exports=o)}(function(e){e.fn.addBack=e.fn.addBack||e.fn.andSelf,e.fn.extend({actual:function(t,n){if(!this[t])throw'$.actual => The jQuery method "'+t+'" you called does not exist';var i,r,o=e.extend({absolute:!1,clone:!1,includeMargin:!1,display:"block"},n),a=this.eq(0);if(!0===o.clone)i=function(){a=a.clone().attr("style","position: absolute !important; top: -1000 !important; ").appendTo("body")},r=function(){a.remove()};else{var s,l=[],u="";i=function(){s=a.parents().addBack().filter(":hidden"),u+="visibility: hidden !important; display: "+o.display+" !important; ",!0===o.absolute&&(u+="position: absolute !important; "),s.each(function(){var t=e(this),n=t.attr("style");l.push(n),t.attr("style",n?n+";"+u:u)})},r=function(){s.each(function(t){var n=e(this),i=l[t];void 0===i?n.removeAttr("style"):n.attr("style",i)})}}i();var c=/(outer)/.test(t)?a[t](o.includeMargin):a[t]();return r(),c}})})},"s/f/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("swoF"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("tE9B"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},sOvm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$list=(0,o.default)(".node-type-fields > .uk-sortable"),this.currentRequest=null,this.onSortableChange=this.onSortableChange.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$list.length&&this.$list.children().length>1&&this.$list.on("change.uk.sortable",this.onSortableChange)}},{key:"unbind",value:function(){this.$list.length&&this.$list.children().length>1&&this.$list.off("change.uk.sortable",this.onSortableChange)}},{key:"onSortableChange",value:function(e,t,n){this.currentRequest&&4!==this.currentRequest.readyState&&this.currentRequest.abort();var i=(0,o.default)(n),r=parseInt(i.data("field-id")),a=i.prev(),s=0;0===a.length?(a=i.next(),s=parseInt(a.data("position"))-.5):s=parseInt(a.data("position"))+.5;var l={_token:window.Rozier.ajaxToken,_action:"updatePosition",nodeTypeFieldId:r,newPosition:s};this.currentRequest=o.default.ajax({url:window.Rozier.routes.nodeTypesFieldAjaxEdit.replace("%nodeTypeFieldId%",r),type:"POST",dataType:"json",data:l}).done(function(e){i.attr("data-position",s),window.UIkit.notify({message:e.responseText,status:e.status,timeout:3e3,pos:"top-center"})}).fail(function(e){e=JSON.parse(e.responseText),window.UIkit.notify({message:e.error_message,status:"danger",timeout:3e3,pos:"top-center"})})}}]),e}();t.default=s},si9I:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{onClick:{required:!0,type:Function},filterExplorerSelectedItems:{required:!1,type:Object},isFilterExplorerOpen:{required:!0,type:Boolean},entity:{required:!0},icon:{required:!0,type:String}}}},stwt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=l(n("dACh")),r=l(n("jx4H")),o=l(n("0iPh")),a=n("EQNM"),s=n("Tzw7");function l(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(){(0,i.default)(this,e),this.$menu=(0,o.default)("#menu-mobile"),this.$adminMenu=(0,o.default)("#admin-menu"),this.$adminMenuLink=this.$adminMenu.find("a"),this.$adminMenuNavParent=this.$adminMenu.find(".uk-parent"),this.$searchButton=(0,o.default)("#search-button"),this.$searchPanel=(0,o.default)("#nodes-sources-search"),this.$treeButton=(0,o.default)("#tree-button"),this.$treeWrapper=(0,o.default)("#tree-wrapper"),this.$treeWrapperLink=this.$treeWrapper.find("a"),this.$userPicture=(0,o.default)("#user-picture"),this.$userActions=(0,o.default)(".user-actions"),this.$userActionsLink=this.$userActions.find("a"),this.$mainContentOverlay=(0,o.default)("#main-content-overlay"),this.menuOpen=!1,this.searchOpen=!1,this.treeOpen=!1,this.adminOpen=!1,this.menuClick=this.menuClick.bind(this),this.adminMenuLinkClick=this.adminMenuLinkClick.bind(this),this.adminMenuNavParentClick=this.adminMenuNavParentClick.bind(this),this.searchButtonClick=this.searchButtonClick.bind(this),this.treeButtonClick=this.treeButtonClick.bind(this),this.treeWrapperLinkClick=this.treeWrapperLinkClick.bind(this),this.userPictureClick=this.userPictureClick.bind(this),this.userActionsLinkClick=this.userActionsLinkClick.bind(this),this.mainContentOverlayClick=this.mainContentOverlayClick.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$userPicture.length&&(0,s.addClass)(this.$userPicture[0],"rz-no-ajax-link"),this.$menu.on("click",this.menuClick),this.$adminMenuLink.on("click",this.adminMenuLinkClick),this.$adminMenuNavParent.on("click",this.adminMenuNavParentClick),this.$searchButton.on("click",this.searchButtonClick),this.$treeButton.on("click",this.treeButtonClick),this.$treeWrapperLink.on("click",this.treeWrapperLinkClick),this.$userPicture.on("click",this.userPictureClick),this.$userActionsLink.on("click",this.userActionsLinkClick),this.$mainContentOverlay.on("click",this.mainContentOverlayClick),window.addEventListener("pageload",this.mainContentOverlayClick)}},{key:"menuClick",value:function(e){this.menuOpen?this.closeMenu():this.openMenu()}},{key:"adminMenuNavParentClick",value:function(e){var t=(0,o.default)(e.currentTarget),n=(0,o.default)(e.currentTarget).find(".uk-nav-sub");if(t.hasClass("nav-open"))a.TweenLite.to(n,.6,{height:0,ease:a.Expo.easeOut,onComplete:function(){n[0].style.display="none"}}),t.removeClass("nav-open");else{var i=41*n.find(".uk-nav-sub-item").length-3;n[0].style.display="block",a.TweenLite.to(n,.6,{height:i,ease:a.Expo.easeOut,onComplete:function(){}}),t.addClass("nav-open")}}},{key:"adminMenuLinkClick",value:function(e){this.menuOpen&&this.closeMenu()}},{key:"openMenu",value:function(){this.closeSearch(),this.closeTree(),this.closeUser(),a.TweenLite.to(this.$adminMenu,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay.length&&(this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut})),this.menuOpen=!0}},{key:"closeMenu",value:function(){var e=this,t=.8*-window.Rozier.windowWidth;a.TweenLite.to(this.$adminMenu,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay.length&&(e.$mainContentOverlay[0].style.display="none")}}),this.menuOpen=!1}},{key:"searchButtonClick",value:function(e){this.searchOpen?this.closeSearch():this.openSearch()}},{key:"openSearch",value:function(){this.closeMenu(),this.closeTree(),this.closeUser(),a.TweenLite.to(this.$searchPanel,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay.length&&(this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut})),this.$searchButton.addClass("active"),this.searchOpen=!0}},{key:"closeSearch",value:function(){var e=this,t=.8*-window.Rozier.windowWidth;a.TweenLite.to(this.$searchPanel,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay[0].style.display="none"}}),this.$searchButton.removeClass("active"),this.searchOpen=!1}},{key:"treeButtonClick",value:function(e){this.treeOpen?this.closeTree():this.openTree()}},{key:"treeWrapperLinkClick",value:function(e){-1===e.currentTarget.className.indexOf("tab-link")&&this.treeOpen&&this.closeTree()}},{key:"openTree",value:function(){this.closeMenu(),this.closeSearch(),this.closeUser(),a.TweenLite.to(this.$treeWrapper,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut}),this.$treeButton.addClass("active"),this.treeOpen=!0}},{key:"closeTree",value:function(){var e=this,t=.8*-window.Rozier.windowWidth;a.TweenLite.to(this.$treeWrapper,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay[0].style.display="none"}}),(0,s.removeClass)(this.$treeButton[0],"active"),this.treeOpen=!1}},{key:"userPictureClick",value:function(e){return this.userOpen?this.closeUser():this.openUser(),!1}},{key:"userActionsLinkClick",value:function(e){this.userOpen&&this.closeUser()}},{key:"openUser",value:function(){this.closeMenu(),this.closeSearch(),this.closeTree(),a.TweenLite.to(this.$userActions,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay.length&&(this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut})),this.$userPicture.addClass("active"),this.userOpen=!0}},{key:"closeUser",value:function(){var e=this,t=.8*window.Rozier.windowWidth;a.TweenLite.to(this.$userActions,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay[0].style.display="none"}}),this.$userPicture.removeClass("active"),this.userOpen=!1}},{key:"mainContentOverlayClick",value:function(e){this.closeMenu(),this.closeTree(),this.closeUser(),this.closeSearch()}},{key:"resize",value:function(){}}]),e}();t.default=u},swoF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{length:{required:!0,type:Number},itemCount:{required:!0,type:Number,default:0}}}},t4hZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("zv2j")),r=s(n("dACh")),o=s(n("jx4H")),a=s(n("0iPh"));function s(e){return e&&e.__esModule?e:{default:e}}var l="roadiz.currentMainTreeTab",u=function(){function e(){(0,r.default)(this,e),this.onTabChange=this.onTabChange.bind(this),this.tabsMenu=(0,a.default)("#tree-menu");var t=window.localStorage.getItem(l);this.tabsMenu&&(window.UIkit.tab(this.tabsMenu,{connect:"#tree-container",swiping:!1,active:t?(0,i.default)(t):0}),this.tabsMenu.on("change.uk.tab",this.onTabChange))}return(0,o.default)(e,[{key:"unbind",value:function(){this.tabsMenu.off("change.uk.tab",this.onTabChange)}},{key:"onTabChange",value:function(e,t,n){var i=(t=t[0]).getAttribute("data-index");i&&window.localStorage.setItem(l,i)}}]),e}();t.default=u},tE9B:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[e.length&&e.itemCount?n("div",{staticClass:"widget-explorer-infos"},[e._v("\n "+e._s(e.length)+" / "+e._s(e.itemCount)+"\n ")]):e._e()])},staticRenderFns:[]};t.default=i},tjLZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$tagsCheckboxes=(0,o.default)("input.tag-checkbox"),this.$tagsIdBulkTags=(0,o.default)("input.tags-id-bulk-tags"),this.$tagsIdBulkStatus=(0,o.default)("input.tags-id-bulk-status"),this.$actionsMenu=(0,o.default)(".tags-bulk-actions"),this.$tagsFolderButton=(0,o.default)(".uk-button-bulk-folder-tags"),this.$tagsFolderCont=(0,o.default)(".tags-bulk-folder-cont"),this.$tagsStatusButton=(0,o.default)(".uk-button-bulk-status-tags"),this.$tagsStatusCont=(0,o.default)(".tags-bulk-status-cont"),this.$tagsSelectAll=(0,o.default)(".uk-button-select-all"),this.$tagsDeselectAll=(0,o.default)(".uk-button-bulk-deselect"),this.tagsFolderOpen=!1,this.tagsStatusOpen=!1,this.tagsIds=null,this.onCheckboxChange=this.onCheckboxChange.bind(this),this.tagsFolderButtonClick=this.tagsFolderButtonClick.bind(this),this.tagsStatusButtonClick=this.tagsStatusButtonClick.bind(this),this.onSelectAll=this.onSelectAll.bind(this),this.onDeselectAll=this.onDeselectAll.bind(this),this.$tagsCheckboxes.length&&this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$tagsCheckboxes.on("change",this.onCheckboxChange),this.$tagsStatusButton.on("click",this.tagsStatusButtonClick),this.$tagsFolderButton.on("click",this.tagsFolderButtonClick),this.$tagsSelectAll.on("click",this.onSelectAll),this.$tagsDeselectAll.on("click",this.onDeselectAll)}},{key:"unbind",value:function(){this.$tagsCheckboxes.length&&(this.$tagsCheckboxes.off("change",this.onCheckboxChange),this.$tagsStatusButton.off("click",this.tagsStatusButtonClick),this.$tagsFolderButton.off("click",this.tagsFolderButtonClick),this.$tagsSelectAll.off("click",this.onSelectAll),this.$tagsDeselectAll.off("click",this.onDeselectAll))}},{key:"onSelectAll",value:function(){return this.$tagsCheckboxes.prop("checked",!0),this.onCheckboxChange(null),!1}},{key:"onDeselectAll",value:function(){return this.$tagsCheckboxes.prop("checked",!1),this.onCheckboxChange(null),!1}},{key:"onCheckboxChange",value:function(){var e=this;return this.tagsIds=[],(0,o.default)("input.tag-checkbox:checked").each(function(t,n){e.tagsIds.push((0,o.default)(n).val())}),this.$tagsIdBulkTags.length&&this.$tagsIdBulkTags.val(this.tagsIds.join(",")),this.$tagsIdBulkStatus.length&&this.$tagsIdBulkStatus.val(this.tagsIds.join(",")),this.tagsIds.length>0?this.showActions():this.hideActions(),!1}},{key:"onBulkDelete",value:function(){return this.tagsIds.length>0&&(history.pushState({headerData:{tags:this.tagsIds}},null,window.Rozier.routes.tagsBulkDeletePage),window.Rozier.lazyload.onPopState(null)),!1}},{key:"showActions",value:function(){this.$actionsMenu.slideDown()}},{key:"hideActions",value:function(){this.$actionsMenu.slideUp()}},{key:"tagsFolderButtonClick",value:function(){return this.tagsFolderOpen?(this.$tagsFolderCont.slideUp(),this.tagsFolderOpen=!1):(this.$tagsStatusCont.slideUp(),this.tagsStatusOpen=!1,this.$tagsFolderCont.slideDown(),this.tagsFolderOpen=!0),!1}},{key:"tagsStatusButtonClick",value:function(){return this.tagsStatusOpen?(this.$tagsStatusCont.slideUp(),this.tagsStatusOpen=!1):(this.$tagsFolderCont.slideUp(),this.tagsFolderOpen=!1,this.$tagsStatusCont.slideDown(),this.tagsStatusOpen=!0),!1}}]),e}();t.default=s},uC1N:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=f(n("dACh")),r=f(n("jx4H")),o=n("EY70"),a=f(n("cDWz")),s=f(n("JoZF")),l=f(n("WGNA")),u=f(n("YtUu")),c=f(n("gXIW")),d=f(n("ug2n")),h=f(n("lTHl"));function f(e){return e&&e.__esModule?e:{default:e}}var p=function(){function e(){(0,i.default)(this,e)}return(0,r.default)(e,null,[{key:"getState",value:function(e){var t={trans:{moreItems:""},isFilterEnable:!1};switch(e){case o.DOCUMENT_ENTITY:t.currentListingView=a.default,t.filterExplorerIcon="uk-icon-rz-folder-tree-mini",t.trans.moreItems="moreDocuments",t.isFilterEnable=!0;break;case o.NODE_ENTITY:t.currentListingView=s.default,t.filterExplorerIcon="uk-icon-tags",t.trans.moreItems="moreNodes",t.isFilterEnable=!0;break;case o.EXPLORER_PROVIDER_ENTITY:case o.JOIN_ENTITY:t.currentListingView=l.default,t.trans.moreItems="moreEntities";break;case o.CUSTOM_FORM_ENTITY:t.currentListingView=u.default;break;case o.NODE_TYPE_ENTITY:t.currentListingView=c.default,t.trans.moreItems="moreNodeTypes";break;case o.TAG_ENTITY:t.currentListingView=d.default,t.trans.moreItems="moreTags",t.isFilterEnable=!0,t.filterExplorerIcon="uk-icon-tags"}return t}},{key:"getListingView",value:function(e){switch(e){case o.DOCUMENT_ENTITY:return a.default;case o.NODE_ENTITY:return s.default;case o.EXPLORER_PROVIDER_ENTITY:case o.JOIN_ENTITY:return l.default;case o.CUSTOM_FORM_ENTITY:return u.default;case o.NODE_TYPE_ENTITY:return c.default;case o.TAG_ENTITY:return d.default}}},{key:"getWidgetView",value:function(e){switch(e){case o.TAG_ENTITY:return h.default;default:return null}}}]),e}();t.default=p},"uHX/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n("GyB/")),r=o(n("tQq4"));function o(e){return e&&e.__esModule?e:{default:e}}n("DcmQ"),n("hCSc"),t.default={props:{name:{type:String,required:!0},initialValue:{type:String,default:""},options:{type:Object,default:function(){return{mode:"yaml",lineNumbers:!0,theme:"mbo",tabSize:4,indentUnit:4,indentWithTabs:!1,lineWrapping:!0,dragDrop:!1,readOnly:!1}}}},ready:function(){this.build()},mounted:function(){this.build()},watch:{value:function(e,t){if(e!==this.editor.getValue()){var n=this.editor.getScrollInfo();this.editor.setValue(e),this.editor.scrollTo(n.left,n.top)}},options:function(e,t){if("object"===(void 0===e?"undefined":(0,i.default)(e)))for(var n in e)e.hasOwnProperty(n)&&this.editor.setOption(n,e[n])}},beforeDestroy:function(){this.editor&&this.editor.doc.cm.getWrapperElement().remove()},methods:{build:function(){var e=this;this.editor=r.default.fromTextArea(this.$el,this.options),this.editor.on("change",function(t){e.value=t.getValue(),e.$emit&&(e.$emit("change",t.getValue()),e.$emit("input",t.getValue()))}),this.$el.hasAttribute("disabled")&&this.editor.setOption("readOnly",!0),this.editor.setValue(this.initialValue),this.editor.refresh()}}}},ug2n:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("rWnD"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("l/s5"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},umdK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("L3Vt"));t.getExplorerItems=function(e){var t=e.entity,n=e.searchTerms,h=e.preFilters,f=e.filters,p=e.filterExplorerSelection,m=e.moreData,g=void 0!==m&&m;switch(t){case r.DOCUMENT_ENTITY:return o.getDocuments({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.NODE_ENTITY:return a.getNodes({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.NODE_TYPE_ENTITY:return s.getNodeTypes({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.JOIN_ENTITY:return l.getJoins({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.CUSTOM_FORM_ENTITY:return u.getCustomForms({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.TAG_ENTITY:return c.getTags({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.EXPLORER_PROVIDER_ENTITY:return d.getItems({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g})}return i.default.reject(new Error("No type entity found"))};var r=n("EY70"),o=h(n("2y8T")),a=h(n("vfsJ")),s=h(n("O/s3")),l=h(n("m1Vf")),u=h(n("8DOo")),c=h(n("RfA7")),d=h(n("CpLN"));function h(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}},vEJa:function(e,t,n){var i=n("DWDv");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);n("X/Wc")("0fc9798b",i,!0,{})},vfsJ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNodesByIds=function(e){var t=e.ids,n=void 0===t?[]:t,r={_token:window.RozierRoot.ajaxToken,_action:"nodesByIds",ids:n};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.nodesAjaxByArray,params:r}).then(function(e){return void 0!==e.data&&e.data.items?{items:e.data.items}:null}).catch(function(e){throw new Error(e.response.data.humanMessage)})},t.getNodes=function(e){var t=e.searchTerms,n=e.preFilters,r=e.filters,o=e.filterExplorerSelection,a=e.moreData,s={_token:window.RozierRoot.ajaxToken,_action:"toggleExplorer",search:t,page:1};o&&o.id&&(s.tagId=o.id);n&&n.nodeTypes&&(s.nodeTypes=JSON.parse(n.nodeTypes));a&&(s.page=r?r.nextPage:1);return(0,i.default)({method:"GET",url:window.RozierRoot.routes.nodesAjaxExplorer,params:s}).then(function(e){return void 0!==e.data&&e.data.nodes?{items:e.data.nodes,filters:e.data.filters}:{}}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},wGGZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=d(n("GyB/")),r=d(n("T4f3")),o=d(n("0iPh")),a=d(n("lRwf")),s=n("SJI6"),l=d(n("4NIs")),u=d(n("BIao")),c=d(n("dy4P"));function d(e){return e&&e.__esModule?e:{default:e}}t.default={data:function(){return{selected:"",currentView:null,entity:"",mode:""}},mounted:function(){var e=this;for(var t in this.$formColIndexed=(0,o.default)(this.$el.getElementsByClassName("form-col-indexed")[0]),this.$formColUniversal=(0,o.default)(this.$el.getElementsByClassName("form-col-universal")[0]),this.$formColMinLength=(0,o.default)(this.$el.getElementsByClassName("form-col-minLength")[0]),this.$formColMaxLength=(0,o.default)(this.$el.getElementsByClassName("form-col-maxLength")[0]),this.$formColDefaultValues=(0,o.default)(this.$el.getElementsByClassName("form-col-defaultValues")[0]),this.$formSelectOption=(0,o.default)(this.$el).find("#nodetypefield_type option"),this.$formSelectOption.each(function(t,n){var i=(0,o.default)(n);i.attr("selected")&&(e.selected=i.val())}),this.$formElements={indexed:this.$formColIndexed,universal:this.$formColUniversal,minLength:this.$formColMinLength,maxLength:this.$formColMaxLength,defaultValues:this.$formColDefaultValues},this.$formElements)this.$formElements.hasOwnProperty(t)&&this.$formElements[t].addClass("hidden");this.defaultConfig={indexed:!0,universal:!0,minLength:!0,maxLength:!0,defaultValues:!0},this.currentView=l.default,this.config={1:{minLength:!0,maxLength:!0,defaultValues:{view:u.default,mode:"yaml"}},13:{defaultValues:{view:c.default,entity:"node-type"}},16:{defaultValues:{view:c.default,entity:"node-type"}},27:{defaultValues:{view:u.default,mode:"yaml"}},28:{defaultValues:{view:u.default,mode:"yaml"}},29:{defaultValues:{view:u.default,mode:"yaml"}},30:{defaultValues:{view:u.default,mode:"yaml"}},31:{defaultValues:{view:u.default,mode:"yaml"}},4:{defaultValues:{view:u.default,mode:"yaml"}}}},watch:{selected:function(e){var t=this;this.escape(),this.currentView=null,this.entity=null,a.default.nextTick(function(){window.setTimeout(function(){t.setConfig(e)},100)})}},methods:(0,r.default)({},(0,s.mapActions)(["escape","explorerClose","filterExplorerClose"]),{setConfig:function(e){var t=this.defaultConfig;for(var n in this.config[e]&&(t=(0,r.default)({},t,this.config[e])),this.$formElements)this.$formElements.hasOwnProperty(n)&&t.hasOwnProperty(n)&&(!0===t[n]?(this.$formElements[n].removeClass("hidden"),this.currentView=l.default):"object"===(0,i.default)(t[n])?(this.$formElements[n].removeClass("hidden"),this.entity=t[n].entity,this.mode=t[n].mode,this.currentView=t[n].view):(this.$formElements[n].addClass("hidden"),this.currentView=l.default))}})}},wi4E:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e);var t=this;(0,o.default)(".rz-folder-autocomplete").bind("keydown",function(e){e.keyCode===o.default.ui.keyCode.TAB&&(0,o.default)(this).autocomplete("instance").menu.active&&e.preventDefault()}).autocomplete({source:function(e,n){o.default.getJSON(window.Rozier.routes.foldersAjaxSearch,{_action:"folderAutocomplete",_token:window.Rozier.ajaxToken,search:t.extractLast(e.term)},n)},search:function(){if(t.extractLast(this.value).length<2)return!1},focus:function(){return!1},select:function(e,n){var i=t.split(this.value);return i.pop(),i.push(n.item.value),i.push(""),this.value=i.join(", "),!1}})}return(0,r.default)(e,[{key:"unbind",value:function(){}},{key:"split",value:function(e){return e.split(/,\s*/)}},{key:"extractLast",value:function(e){return this.split(e).pop()}}]),e}();t.default=s},x4pS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=g(n("aIIw")),r=g(n("kcQR")),o=g(n("HxWs")),a=g(n("X9RM")),s=g(n("BX4+")),l=g(n("dACh")),u=g(n("jx4H")),c=g(n("VOrx")),d=g(n("ZKjc")),h=g(n("0iPh")),f=n("ZysM"),p=g(f),m=n("f3z0");function g(e){return e&&e.__esModule?e:{default:e}}var v=function(e){function t(){(0,l.default)(this,t);var e=(0,c.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.$fields=(0,h.default)(".rz-multi-geotag-field:not(.is-enable)"),e.$fields.length&&e.init(),e}return(0,d.default)(t,e),(0,u.default)(t,[{key:"resetMarker",value:function(e,t,n,i,r){t.val("");var o=!0,s=!1,l=void 0;try{for(var u,c=(0,a.default)(e);!(o=(u=c.next()).done);o=!0){var d=u.value;null!==d&&d.removeFrom(i)}}catch(e){s=!0,l=e}finally{try{!o&&c.return&&c.return()}finally{if(s)throw l}}return e=[],n.hide(),this.syncSelector(r,e,i,t),!1}},{key:"bindSingleField",value:function(e){var t=(0,h.default)(e),n=t.parent().find(".uk-form-label"),i=n[0].innerHTML,r=null;r=window.Rozier.defaultMapLocation?window.Rozier.defaultMapLocation:f.DEFAULT_LOCATION;var o="geotag-canvas-"+this.uniqid(),s=o+"-address",l=o+"-reset",u={center:this.createLatLng(r),zoom:r.zoom||r.alt,scrollwheel:!1,styles:window.Rozier.mapsStyle};t.hide(),n.hide(),t.attr("data-geotag-canvas",o);var c=['",'
      ','
        ',"
      ",'
      ',"
      "].join("");t.after(c);var d=(0,h.default)("#"+s);d.attr("placeholder",window.Rozier.messages.geotag.typeAnAddress);var p=(0,h.default)("#"+l);p.hide();var m=this.createMap(o,u),g=[],v=t.parent().find(".multi-geotag-list-markers").eq(0);if(""!==t.val())try{var _=JSON.parse(t.val());if(!_.features)throw new Error("Data is not a valid GeoJSON featureCollection");var b=!0,w=!1,k=void 0;try{for(var y,x=(0,a.default)(_.features);!(b=(y=x.next()).done);b=!0){var E=y.value,C=this.createMarker(E,m);C.on("dragend",h.default.proxy(this.setMarkerEvent,this,C,g,t,p,m,v)),g.push(C)}}catch(e){w=!0,k=e}finally{try{!b&&x.return&&x.return()}finally{if(w)throw k}}p.show()}catch(e){return t.show(),(0,h.default)(document.getElementById(o)).hide(),!1}m.on("click",h.default.proxy(this.setMarkerEvent,this,null,g,t,p,m,v)),d.on("keypress",h.default.proxy(this.requestGeocode,this,g,t,p,m,v)),p.on("click",h.default.proxy(this.resetMarker,this,g,t,p,m,v)),window.Rozier.$window.on("resize",h.default.proxy(this.resetMap,this,m,g,u)),window.Rozier.$window.on("pageshowend",h.default.proxy(this.resetMap,this,m,g,u)),this.resetMap(m,g,u,null),this.syncSelector(v,g,m,t)}},{key:"syncSelector",value:function(e,t,n,i){e.empty();var r=0,o=!0,s=!1,l=void 0;try{for(var u,c=(0,a.default)(t);!(o=(u=c.next()).done);o=!0){var d=u.value;if(null!==d){if(d.getLatLng()){e.append(["
    • ",'',d.name?d.name:"#"+r,"",'','','',"","
    • "].join(""));var f=e.find('.rz-multi-geotag-center[data-geocode-id="'+r+'"]').eq(0),p=e.find('.rz-multi-geotag-remove[data-geocode-id="'+r+'"]').eq(0);f.on("click",h.default.proxy(this.centerMap,this,n,d)),p.on("click",h.default.proxy(this.removeMarker,this,n,t,d,e,i))}r++}}}catch(e){s=!0,l=e}finally{try{!o&&c.return&&c.return()}finally{if(s)throw l}}}},{key:"removeMarker",value:function(e,t,n,i,r,o){o&&o.preventDefault();var a=t.indexOf(n);return n.removeFrom(e),t.splice(a,1),this.syncSelector(i,t,e,r),this.writeMarkers(t,r),!1}},{key:"resetMap",value:function(e,t,n,i){i&&i.preventDefault(),e.invalidateSize(!0),void 0!==t&&t.length>0?e.fitBounds(this.getMediumLatLng(t)):e.panTo(n.center)}},{key:"centerMap",value:function(e,t,n){if(n&&n.preventDefault(),e&&t){var i=t.getLatLng();e.flyTo(i,i.alt)}}},{key:"getMediumLatLng",value:function(e){var t=new m.LatLngBounds,n=!0,i=!1,r=void 0;try{for(var o,s=(0,a.default)(e);!(n=(o=s.next()).done);n=!0){var l=o.value;t.extend(l.getLatLng())}}catch(e){i=!0,r=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw r}}return t}},{key:"setMarkerEvent",value:function(e,t,n,i,r,o,a){if(a.latlng)this.setMarker(e,t,n,i,r,a.latlng);else if(null!==e){var s=e.getLatLng();s.alt=r.getZoom(),e.setLatLng(s),r.flyTo(s,s.alt),this.writeMarkers(t,n)}this.syncSelector(o,t,r,n)}},{key:"setMarker",value:function(e,t,n,i,r,o,a){return r&&(o.alt||(o.alt=r.getZoom()),null===e?e=this.createMarker(o,r):(e.setLatLng(o),e.addTo(r)),e.name=a,r.flyTo(o,o.alt),t.push(e),this.writeMarkers(t,n),i.show()),e}},{key:"writeMarkers",value:function(e,t){var n={type:"FeatureCollection",features:[]},i=!0,r=!1,s=void 0;try{for(var l,u=(0,a.default)(e);!(i=(l=u.next()).done);i=!0){var c=l.value;if(c){var d=c.getLatLng();n.features.push(this.latLngToFeature(d,d.alt,c.name))}}}catch(e){r=!0,s=e}finally{try{!i&&u.return&&u.return()}finally{if(r)throw s}}t.val((0,o.default)(n))}},{key:"requestGeocode",value:function(){var e=(0,r.default)(i.default.mark(function e(t,n,r,o,a,s){var l,u;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(l=s.currentTarget.value,!s.which||13!==s.which){e.next=12;break}return s.preventDefault(),e.next=5,this.getLatLngForAddress(l);case 5:if(null!==(u=e.sent)){e.next=9;break}return console.error("Geocode was not successful."),e.abrupt("return");case 9:u.alt=o.getZoom(),this.setMarker(null,t,n,r,o,u,u.name||""),this.syncSelector(a,t,o,n);case 12:case"end":return e.stop()}},e,this)}));return function(t,n,i,r,o,a){return e.apply(this,arguments)}}()}]),t}(p.default);t.default=v},xHmi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.NODES_SEARCH_REQUEST="NODES_SEARCH_REQUEST",t.NODES_SEARCH_SUCCESS="NODES_SEARCH_SUCCESS",t.NODES_SEARCH_RESET="NODES_SEARCH_RESET",t.NODES_SEARCH_FAILED="NODES_SEARCH_FAILED",t.NODES_SEARCH_ENABLE_FOCUS="NODES_SEARCH_ENABLE_FOCUS",t.NODES_SEARCH_DISABLE_FOCUS="NODES_SEARCH_DISABLE_FOCUS",t.EXPLORER_REQUEST="EXPLORER_REQUEST",t.EXPLORER_SUCCESS="EXPLORER_SUCCESS",t.EXPLORER_RESET="EXPLORER_RESET",t.EXPLORER_FAILED="EXPLORER_FAILED",t.EXPLORER_OPEN="EXPLORER_OPEN",t.EXPLORER_CLOSE="EXPLORER_CLOSE",t.EXPLORER_LOAD_MORE="EXPLORER_LOAD_MORE",t.EXPLORER_LOAD_MORE_SUCCESS="EXPLORER_LOAD_MORE_SUCCESS",t.EXPLORER_IS_LOADED="EXPLORER_IS_LOADED",t.EXPLORER_UPDATE_SEARCH_TERMS="EXPLORER_UPDATE_SEARCH_TERMS",t.EXPLORER_UPDATE_FILTERS="EXPLORER_UPDATE_FILTERS",t.FILTER_EXPLORER_OPEN="FILTER_EXPLORER_OPEN",t.FILTER_EXPLORER_CLOSE="FILTER_EXPLORER_CLOSE",t.FILTER_EXPLORER_REQUEST="FILTER_EXPLORER_REQUEST",t.FILTER_EXPLORER_SUCCESS="FILTER_EXPLORER_SUCCESS",t.FILTER_EXPLORER_FAILED="FILTER_EXPLORER_FAILED",t.FILTER_EXPLORER_UPDATE="FILTER_EXPLORER_UPDATE",t.FILTER_EXPLORER_RESET="FILTER_EXPLORER_RESET",t.KEYBOARD_EVENT_ESCAPE="KEYBOARD_EVENT_ESCAPE",t.KEYBOARD_EVENT_SPACE="KEYBOARD_EVENT_SPACE",t.LOGIN_CHECK_DISCONNECTED="LOGIN_CHECK_DISCONNECTED",t.LOGIN_CHECK_CONNECTED="LOGIN_CHECK_CONNECTED",t.HEALTH_CHECK_FAILED="HEALTH_CHECK_FAILED",t.HEALTH_CHECK_SUCCEEDED="HEALTH_CHECK_SUCCEEDED",t.DRAWERS_ADD_INSTANCE="DRAWERS_ADD_INSTANCE",t.DRAWERS_REMOVE_INSTANCE="DRAWERS_REMOVE_INSTANCE",t.DRAWERS_ADD_ITEM="DRAWERS_ADD_DOCUMENT",t.DRAWERS_REMOVE_ITEM="DRAWERS_REMOVE_DOCUMENT",t.DRAWERS_EDIT_INSTANCE="DRAWERS_EDIT_INSTANCE",t.DRAWERS_UPDATE_LIST="DRAWERS_UPDATE_LIST",t.DRAWERS_ENABLE_DROPZONE="DRAWERS_ENABLE_DROPZONE",t.DRAWERS_DISABLE_DROPZONE="DRAWERS_DISABLE_DROPZONE",t.DRAWERS_INIT_DATA_REQUEST="DRAWERS_INIT_DATA_REQUEST",t.DRAWERS_INIT_DATA_REQUEST_SUCCESS="DRAWERS_INIT_DATA_REQUEST_SUCCESS",t.DRAWERS_INIT_DATA_REQUEST_FAILED="DRAWERS_INIT_DATA_REQUEST_FAILED",t.DRAWERS_INIT_DATA_REQUEST_EMPTY="DRAWERS_INIT_DATA_REQUEST_EMPTY",t.TAGS_UPDATE_VALUE="TAGS_UPDATE_VALUE",t.TAGS_REQUEST="TAGS_REQUEST",t.TAGS_REQUEST_SUCCESS="TAGS_REQUEST_SUCCESS",t.TAGS_REQUEST_ERROR="TAGS_REQUEST_ERROR",t.TAG_CREATE_NEW_REQUEST="TAG_CREATE_NEW_REQUEST",t.TAG_CREATE_NEW_REQUEST_SUCCESS="TAG_CREATE_NEW_REQUEST_SUCCESS",t.TAG_CREATE_NEW_REQUEST_ERROR="TAG_CREATE_NEW_REQUEST_ERROR",t.TAG_CREATOR_READY="TAG_CREATOR_READY",t.DOCUMENT_PREVIEW_INIT="DOCUMENT_PREVIEW_INIT",t.DOCUMENT_PREVIEW_DESTROY="DOCUMENT_PREVIEW_DESTROY",t.DOCUMENT_PREVIEW_OPEN="DOCUMENT_PREVIEW_OPEN",t.DOCUMENT_PREVIEW_CLOSE="DOCUMENT_PREVIEW_CLOSE",t.BLANCHETTE_EDITOR_INIT="BLANCHETTE_EDITOR_INIT",t.BLANCHETTE_EDITOR_IS_LOADING="BLANCHETTE_EDITOR_IS_LOADING",t.BLANCHETTE_EDITOR_LOADED="BLANCHETTE_EDITOR_LOADED",t.BLANCHETTE_EDITOR_ERROR="BLANCHETTE_EDITOR_ERROR",t.BLANCHETTE_EDITOR_SAVE_SUCCESS="BLANCHETTE_EDITOR_SAVE_SUCCESS"},xlJi:function(e,t){},ygC5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"slide-left-no-opacity"}},[e.isOpen?n("div",{staticClass:"filter-widget-explorer"},[n("ul",{staticClass:"filters-items"},[n("li",{staticClass:"filters-infos"},[n("div",{staticClass:"infos-content"},[n("transition",{attrs:{name:"fade"}},[e.itemCount||0===e.itemCount?n("div",[n("span",{staticClass:"number"},[e._v(e._s(e.itemCount))]),e._v("\n "+e._s(e.itemCount>1?e.translations.items:e.translations.item)+"\n ")]):e._e()])],1)]),e._v(" "),n("li",{staticClass:"item"},[n("a",{staticClass:"filter-item-link",class:[e.selectedItem?"":"active"],attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.onResetClick(t)}}},[n("i",{staticClass:"uk-icon-rz-unordered-list"}),e._v(" "+e._s(e.translations.see_all)+"\n ")])]),e._v(" "),e._l(e.items,function(t,i){return n("filter-explorer-item",{key:i,attrs:{"current-item":e.selectedItem,icons:e.icons,entity:e.entity,"on-item-click":e.onItemClick,item:t}})})],2)]):e._e()])},staticRenderFns:[]};t.default=i},ywca:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("4YKS"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("G7TI"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports}},["9wWa"]); \ No newline at end of file + */!function(a){r=[n("0iPh")],void 0===(o="function"==typeof(i=a)?i.apply(t,r):i)||(e.exports=o)}(function(e){e.fn.addBack=e.fn.addBack||e.fn.andSelf,e.fn.extend({actual:function(t,n){if(!this[t])throw'$.actual => The jQuery method "'+t+'" you called does not exist';var i,r,o=e.extend({absolute:!1,clone:!1,includeMargin:!1,display:"block"},n),a=this.eq(0);if(!0===o.clone)i=function(){a=a.clone().attr("style","position: absolute !important; top: -1000 !important; ").appendTo("body")},r=function(){a.remove()};else{var s,l=[],u="";i=function(){s=a.parents().addBack().filter(":hidden"),u+="visibility: hidden !important; display: "+o.display+" !important; ",!0===o.absolute&&(u+="position: absolute !important; "),s.each(function(){var t=e(this),n=t.attr("style");l.push(n),t.attr("style",n?n+";"+u:u)})},r=function(){s.each(function(t){var n=e(this),i=l[t];void 0===i?n.removeAttr("style"):n.attr("style",i)})}}i();var c=/(outer)/.test(t)?a[t](o.includeMargin):a[t]();return r(),c}})})},"s/f/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("swoF"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("tE9B"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},sOvm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$list=(0,o.default)(".node-type-fields > .uk-sortable"),this.currentRequest=null,this.onSortableChange=this.onSortableChange.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$list.length&&this.$list.children().length>1&&this.$list.on("change.uk.sortable",this.onSortableChange)}},{key:"unbind",value:function(){this.$list.length&&this.$list.children().length>1&&this.$list.off("change.uk.sortable",this.onSortableChange)}},{key:"onSortableChange",value:function(e,t,n){this.currentRequest&&4!==this.currentRequest.readyState&&this.currentRequest.abort();var i=(0,o.default)(n),r=parseInt(i.data("field-id")),a=i.prev(),s=0;0===a.length?(a=i.next(),s=parseInt(a.data("position"))-.5):s=parseInt(a.data("position"))+.5;var l={_token:window.Rozier.ajaxToken,_action:"updatePosition",nodeTypeFieldId:r,newPosition:s};this.currentRequest=o.default.ajax({url:window.Rozier.routes.nodeTypesFieldAjaxEdit.replace("%nodeTypeFieldId%",r),type:"POST",dataType:"json",data:l}).done(function(e){i.attr("data-position",s),window.UIkit.notify({message:e.responseText,status:e.status,timeout:3e3,pos:"top-center"})}).fail(function(e){e=JSON.parse(e.responseText),window.UIkit.notify({message:e.error_message,status:"danger",timeout:3e3,pos:"top-center"})})}}]),e}();t.default=s},si9I:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{onClick:{required:!0,type:Function},filterExplorerSelectedItems:{required:!1,type:Object},isFilterExplorerOpen:{required:!0,type:Boolean},entity:{required:!0},icon:{required:!0,type:String}}}},stwt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=l(n("dACh")),r=l(n("jx4H")),o=l(n("0iPh")),a=n("EQNM"),s=n("Tzw7");function l(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(){(0,i.default)(this,e),this.$menu=(0,o.default)("#menu-mobile"),this.$adminMenu=(0,o.default)("#admin-menu"),this.$adminMenuLink=this.$adminMenu.find("a"),this.$adminMenuNavParent=this.$adminMenu.find(".uk-parent"),this.$searchButton=(0,o.default)("#search-button"),this.$searchPanel=(0,o.default)("#nodes-sources-search"),this.$treeButton=(0,o.default)("#tree-button"),this.$treeWrapper=(0,o.default)("#tree-wrapper"),this.$treeWrapperLink=this.$treeWrapper.find("a"),this.$userPicture=(0,o.default)("#user-picture"),this.$userActions=(0,o.default)(".user-actions"),this.$userActionsLink=this.$userActions.find("a"),this.$mainContentOverlay=(0,o.default)("#main-content-overlay"),this.menuOpen=!1,this.searchOpen=!1,this.treeOpen=!1,this.adminOpen=!1,this.menuClick=this.menuClick.bind(this),this.adminMenuLinkClick=this.adminMenuLinkClick.bind(this),this.adminMenuNavParentClick=this.adminMenuNavParentClick.bind(this),this.searchButtonClick=this.searchButtonClick.bind(this),this.treeButtonClick=this.treeButtonClick.bind(this),this.treeWrapperLinkClick=this.treeWrapperLinkClick.bind(this),this.userPictureClick=this.userPictureClick.bind(this),this.userActionsLinkClick=this.userActionsLinkClick.bind(this),this.mainContentOverlayClick=this.mainContentOverlayClick.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$userPicture.length&&(0,s.addClass)(this.$userPicture[0],"rz-no-ajax-link"),this.$menu.on("click",this.menuClick),this.$adminMenuLink.on("click",this.adminMenuLinkClick),this.$adminMenuNavParent.on("click",this.adminMenuNavParentClick),this.$searchButton.on("click",this.searchButtonClick),this.$treeButton.on("click",this.treeButtonClick),this.$treeWrapperLink.on("click",this.treeWrapperLinkClick),this.$userPicture.on("click",this.userPictureClick),this.$userActionsLink.on("click",this.userActionsLinkClick),this.$mainContentOverlay.on("click",this.mainContentOverlayClick),window.addEventListener("pageload",this.mainContentOverlayClick)}},{key:"menuClick",value:function(e){this.menuOpen?this.closeMenu():this.openMenu()}},{key:"adminMenuNavParentClick",value:function(e){var t=(0,o.default)(e.currentTarget),n=(0,o.default)(e.currentTarget).find(".uk-nav-sub");if(t.hasClass("nav-open"))a.TweenLite.to(n,.6,{height:0,ease:a.Expo.easeOut,onComplete:function(){n[0].style.display="none"}}),t.removeClass("nav-open");else{var i=41*n.find(".uk-nav-sub-item").length-3;n[0].style.display="block",a.TweenLite.to(n,.6,{height:i,ease:a.Expo.easeOut,onComplete:function(){}}),t.addClass("nav-open")}}},{key:"adminMenuLinkClick",value:function(e){this.menuOpen&&this.closeMenu()}},{key:"openMenu",value:function(){this.closeSearch(),this.closeTree(),this.closeUser(),a.TweenLite.to(this.$adminMenu,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay.length&&(this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut})),this.menuOpen=!0}},{key:"closeMenu",value:function(){var e=this,t=.8*-window.Rozier.windowWidth;a.TweenLite.to(this.$adminMenu,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay.length&&(e.$mainContentOverlay[0].style.display="none")}}),this.menuOpen=!1}},{key:"searchButtonClick",value:function(e){this.searchOpen?this.closeSearch():this.openSearch()}},{key:"openSearch",value:function(){this.closeMenu(),this.closeTree(),this.closeUser(),a.TweenLite.to(this.$searchPanel,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay.length&&(this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut})),this.$searchButton.addClass("active"),this.searchOpen=!0}},{key:"closeSearch",value:function(){var e=this,t=.8*-window.Rozier.windowWidth;a.TweenLite.to(this.$searchPanel,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay[0].style.display="none"}}),this.$searchButton.removeClass("active"),this.searchOpen=!1}},{key:"treeButtonClick",value:function(e){this.treeOpen?this.closeTree():this.openTree()}},{key:"treeWrapperLinkClick",value:function(e){-1===e.currentTarget.className.indexOf("tab-link")&&this.treeOpen&&this.closeTree()}},{key:"openTree",value:function(){this.closeMenu(),this.closeSearch(),this.closeUser(),a.TweenLite.to(this.$treeWrapper,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut}),this.$treeButton.addClass("active"),this.treeOpen=!0}},{key:"closeTree",value:function(){var e=this,t=.8*-window.Rozier.windowWidth;a.TweenLite.to(this.$treeWrapper,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay[0].style.display="none"}}),(0,s.removeClass)(this.$treeButton[0],"active"),this.treeOpen=!1}},{key:"userPictureClick",value:function(e){return this.userOpen?this.closeUser():this.openUser(),!1}},{key:"userActionsLinkClick",value:function(e){this.userOpen&&this.closeUser()}},{key:"openUser",value:function(){this.closeMenu(),this.closeSearch(),this.closeTree(),a.TweenLite.to(this.$userActions,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay.length&&(this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut})),this.$userPicture.addClass("active"),this.userOpen=!0}},{key:"closeUser",value:function(){var e=this,t=.8*window.Rozier.windowWidth;a.TweenLite.to(this.$userActions,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay[0].style.display="none"}}),this.$userPicture.removeClass("active"),this.userOpen=!1}},{key:"mainContentOverlayClick",value:function(e){this.closeMenu(),this.closeTree(),this.closeUser(),this.closeSearch()}},{key:"resize",value:function(){}}]),e}();t.default=u},swoF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{length:{required:!0,type:Number},itemCount:{required:!0,type:Number,default:0}}}},t4hZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("zv2j")),r=s(n("dACh")),o=s(n("jx4H")),a=s(n("0iPh"));function s(e){return e&&e.__esModule?e:{default:e}}var l="roadiz.currentMainTreeTab",u=function(){function e(){(0,r.default)(this,e),this.onTabChange=this.onTabChange.bind(this),this.tabsMenu=(0,a.default)("#tree-menu");var t=window.localStorage.getItem(l);this.tabsMenu&&(window.UIkit.tab(this.tabsMenu,{connect:"#tree-container",swiping:!1,active:t?(0,i.default)(t):0}),this.tabsMenu.on("change.uk.tab",this.onTabChange))}return(0,o.default)(e,[{key:"unbind",value:function(){this.tabsMenu.off("change.uk.tab",this.onTabChange)}},{key:"onTabChange",value:function(e,t,n){var i=(t=t[0]).getAttribute("data-index");i&&window.localStorage.setItem(l,i)}}]),e}();t.default=u},tE9B:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[e.length&&e.itemCount?n("div",{staticClass:"widget-explorer-infos"},[e._v("\n "+e._s(e.length)+" / "+e._s(e.itemCount)+"\n ")]):e._e()])},staticRenderFns:[]};t.default=i},tjLZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$tagsCheckboxes=(0,o.default)("input.tag-checkbox"),this.$tagsIdBulkTags=(0,o.default)("input.tags-id-bulk-tags"),this.$tagsIdBulkStatus=(0,o.default)("input.tags-id-bulk-status"),this.$actionsMenu=(0,o.default)(".tags-bulk-actions"),this.$tagsFolderButton=(0,o.default)(".uk-button-bulk-folder-tags"),this.$tagsFolderCont=(0,o.default)(".tags-bulk-folder-cont"),this.$tagsStatusButton=(0,o.default)(".uk-button-bulk-status-tags"),this.$tagsStatusCont=(0,o.default)(".tags-bulk-status-cont"),this.$tagsSelectAll=(0,o.default)(".uk-button-select-all"),this.$tagsDeselectAll=(0,o.default)(".uk-button-bulk-deselect"),this.tagsFolderOpen=!1,this.tagsStatusOpen=!1,this.tagsIds=null,this.onCheckboxChange=this.onCheckboxChange.bind(this),this.tagsFolderButtonClick=this.tagsFolderButtonClick.bind(this),this.tagsStatusButtonClick=this.tagsStatusButtonClick.bind(this),this.onSelectAll=this.onSelectAll.bind(this),this.onDeselectAll=this.onDeselectAll.bind(this),this.$tagsCheckboxes.length&&this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$tagsCheckboxes.on("change",this.onCheckboxChange),this.$tagsStatusButton.on("click",this.tagsStatusButtonClick),this.$tagsFolderButton.on("click",this.tagsFolderButtonClick),this.$tagsSelectAll.on("click",this.onSelectAll),this.$tagsDeselectAll.on("click",this.onDeselectAll)}},{key:"unbind",value:function(){this.$tagsCheckboxes.length&&(this.$tagsCheckboxes.off("change",this.onCheckboxChange),this.$tagsStatusButton.off("click",this.tagsStatusButtonClick),this.$tagsFolderButton.off("click",this.tagsFolderButtonClick),this.$tagsSelectAll.off("click",this.onSelectAll),this.$tagsDeselectAll.off("click",this.onDeselectAll))}},{key:"onSelectAll",value:function(){return this.$tagsCheckboxes.prop("checked",!0),this.onCheckboxChange(null),!1}},{key:"onDeselectAll",value:function(){return this.$tagsCheckboxes.prop("checked",!1),this.onCheckboxChange(null),!1}},{key:"onCheckboxChange",value:function(){var e=this;return this.tagsIds=[],(0,o.default)("input.tag-checkbox:checked").each(function(t,n){e.tagsIds.push((0,o.default)(n).val())}),this.$tagsIdBulkTags.length&&this.$tagsIdBulkTags.val(this.tagsIds.join(",")),this.$tagsIdBulkStatus.length&&this.$tagsIdBulkStatus.val(this.tagsIds.join(",")),this.tagsIds.length>0?this.showActions():this.hideActions(),!1}},{key:"onBulkDelete",value:function(){return this.tagsIds.length>0&&(history.pushState({headerData:{tags:this.tagsIds}},null,window.Rozier.routes.tagsBulkDeletePage),window.Rozier.lazyload.onPopState(null)),!1}},{key:"showActions",value:function(){this.$actionsMenu.slideDown()}},{key:"hideActions",value:function(){this.$actionsMenu.slideUp()}},{key:"tagsFolderButtonClick",value:function(){return this.tagsFolderOpen?(this.$tagsFolderCont.slideUp(),this.tagsFolderOpen=!1):(this.$tagsStatusCont.slideUp(),this.tagsStatusOpen=!1,this.$tagsFolderCont.slideDown(),this.tagsFolderOpen=!0),!1}},{key:"tagsStatusButtonClick",value:function(){return this.tagsStatusOpen?(this.$tagsStatusCont.slideUp(),this.tagsStatusOpen=!1):(this.$tagsFolderCont.slideUp(),this.tagsFolderOpen=!1,this.$tagsStatusCont.slideDown(),this.tagsStatusOpen=!0),!1}}]),e}();t.default=s},uC1N:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=f(n("dACh")),r=f(n("jx4H")),o=n("EY70"),a=f(n("cDWz")),s=f(n("JoZF")),l=f(n("WGNA")),u=f(n("YtUu")),c=f(n("gXIW")),d=f(n("ug2n")),h=f(n("lTHl"));function f(e){return e&&e.__esModule?e:{default:e}}var p=function(){function e(){(0,i.default)(this,e)}return(0,r.default)(e,null,[{key:"getState",value:function(e){var t={trans:{moreItems:""},isFilterEnable:!1};switch(e){case o.DOCUMENT_ENTITY:t.currentListingView=a.default,t.filterExplorerIcon="uk-icon-rz-folder-tree-mini",t.trans.moreItems="moreDocuments",t.isFilterEnable=!0;break;case o.NODE_ENTITY:t.currentListingView=s.default,t.filterExplorerIcon="uk-icon-tags",t.trans.moreItems="moreNodes",t.isFilterEnable=!0;break;case o.EXPLORER_PROVIDER_ENTITY:case o.JOIN_ENTITY:t.currentListingView=l.default,t.trans.moreItems="moreEntities";break;case o.CUSTOM_FORM_ENTITY:t.currentListingView=u.default;break;case o.NODE_TYPE_ENTITY:t.currentListingView=c.default,t.trans.moreItems="moreNodeTypes";break;case o.TAG_ENTITY:t.currentListingView=d.default,t.trans.moreItems="moreTags",t.isFilterEnable=!0,t.filterExplorerIcon="uk-icon-tags"}return t}},{key:"getListingView",value:function(e){switch(e){case o.DOCUMENT_ENTITY:return a.default;case o.NODE_ENTITY:return s.default;case o.EXPLORER_PROVIDER_ENTITY:case o.JOIN_ENTITY:return l.default;case o.CUSTOM_FORM_ENTITY:return u.default;case o.NODE_TYPE_ENTITY:return c.default;case o.TAG_ENTITY:return d.default}}},{key:"getWidgetView",value:function(e){switch(e){case o.TAG_ENTITY:return h.default;default:return null}}}]),e}();t.default=p},"uHX/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n("GyB/")),r=o(n("tQq4"));function o(e){return e&&e.__esModule?e:{default:e}}n("DcmQ"),n("hCSc"),t.default={props:{name:{type:String,required:!0},initialValue:{type:String,default:""},options:{type:Object,default:function(){return{mode:"yaml",lineNumbers:!0,theme:"mbo",tabSize:4,indentUnit:4,indentWithTabs:!1,lineWrapping:!0,dragDrop:!1,readOnly:!1}}}},ready:function(){this.build()},mounted:function(){this.build()},watch:{value:function(e,t){if(e!==this.editor.getValue()){var n=this.editor.getScrollInfo();this.editor.setValue(e),this.editor.scrollTo(n.left,n.top)}},options:function(e,t){if("object"===(void 0===e?"undefined":(0,i.default)(e)))for(var n in e)e.hasOwnProperty(n)&&this.editor.setOption(n,e[n])}},beforeDestroy:function(){this.editor&&this.editor.doc.cm.getWrapperElement().remove()},methods:{build:function(){var e=this;this.editor=r.default.fromTextArea(this.$el,this.options),this.editor.on("change",function(t){e.value=t.getValue(),e.$emit&&(e.$emit("change",t.getValue()),e.$emit("input",t.getValue()))}),this.$el.hasAttribute("disabled")&&this.editor.setOption("readOnly",!0),this.editor.setValue(this.initialValue),this.editor.refresh()}}}},ug2n:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("rWnD"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("l/s5"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},umdK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("L3Vt"));t.getExplorerItems=function(e){var t=e.entity,n=e.searchTerms,h=e.preFilters,f=e.filters,p=e.filterExplorerSelection,m=e.moreData,g=void 0!==m&&m;switch(t){case r.DOCUMENT_ENTITY:return o.getDocuments({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.NODE_ENTITY:return a.getNodes({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.NODE_TYPE_ENTITY:return s.getNodeTypes({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.JOIN_ENTITY:return l.getJoins({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.CUSTOM_FORM_ENTITY:return u.getCustomForms({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.TAG_ENTITY:return c.getTags({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.EXPLORER_PROVIDER_ENTITY:return d.getItems({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g})}return i.default.reject(new Error("No type entity found"))};var r=n("EY70"),o=h(n("2y8T")),a=h(n("vfsJ")),s=h(n("O/s3")),l=h(n("m1Vf")),u=h(n("8DOo")),c=h(n("RfA7")),d=h(n("CpLN"));function h(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}},vEJa:function(e,t,n){var i=n("DWDv");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);n("X/Wc")("0fc9798b",i,!0,{})},vfsJ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNodesByIds=function(e){var t=e.ids,n=void 0===t?[]:t,r={_token:window.RozierRoot.ajaxToken,_action:"nodesByIds",ids:n};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.nodesAjaxByArray,params:r}).then(function(e){return void 0!==e.data&&e.data.items?{items:e.data.items}:null}).catch(function(e){throw new Error(e.response.data.humanMessage)})},t.getNodes=function(e){var t=e.searchTerms,n=e.preFilters,r=e.filters,o=e.filterExplorerSelection,a=e.moreData,s={_token:window.RozierRoot.ajaxToken,_action:"toggleExplorer",search:t,page:1};o&&o.id&&(s.tagId=o.id);n&&n.nodeTypes&&(s.nodeTypes=JSON.parse(n.nodeTypes));a&&(s.page=r?r.nextPage:1);return(0,i.default)({method:"GET",url:window.RozierRoot.routes.nodesAjaxExplorer,params:s}).then(function(e){return void 0!==e.data&&e.data.nodes?{items:e.data.nodes,filters:e.data.filters}:{}}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},wGGZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=d(n("GyB/")),r=d(n("T4f3")),o=d(n("0iPh")),a=d(n("lRwf")),s=n("SJI6"),l=d(n("4NIs")),u=d(n("BIao")),c=d(n("dy4P"));function d(e){return e&&e.__esModule?e:{default:e}}t.default={data:function(){return{selected:"",currentView:null,entity:"",mode:""}},mounted:function(){var e=this;for(var t in this.$formColIndexed=(0,o.default)(this.$el.getElementsByClassName("form-col-indexed")[0]),this.$formColUniversal=(0,o.default)(this.$el.getElementsByClassName("form-col-universal")[0]),this.$formColMinLength=(0,o.default)(this.$el.getElementsByClassName("form-col-minLength")[0]),this.$formColMaxLength=(0,o.default)(this.$el.getElementsByClassName("form-col-maxLength")[0]),this.$formColDefaultValues=(0,o.default)(this.$el.getElementsByClassName("form-col-defaultValues")[0]),this.$formSelectOption=(0,o.default)(this.$el).find("#nodetypefield_type option"),this.$formSelectOption.each(function(t,n){var i=(0,o.default)(n);i.attr("selected")&&(e.selected=i.val())}),this.$formElements={indexed:this.$formColIndexed,universal:this.$formColUniversal,minLength:this.$formColMinLength,maxLength:this.$formColMaxLength,defaultValues:this.$formColDefaultValues},this.$formElements)this.$formElements.hasOwnProperty(t)&&this.$formElements[t].addClass("hidden");this.defaultConfig={indexed:!0,universal:!0,minLength:!0,maxLength:!0,defaultValues:!0},this.currentView=l.default,this.config={1:{minLength:!0,maxLength:!0,defaultValues:{view:u.default,mode:"yaml"}},13:{defaultValues:{view:c.default,entity:"node-type"}},16:{defaultValues:{view:c.default,entity:"node-type"}},27:{defaultValues:{view:u.default,mode:"yaml"}},28:{defaultValues:{view:u.default,mode:"yaml"}},29:{defaultValues:{view:u.default,mode:"yaml"}},30:{defaultValues:{view:u.default,mode:"yaml"}},31:{defaultValues:{view:u.default,mode:"yaml"}},4:{defaultValues:{view:u.default,mode:"yaml"}}}},watch:{selected:function(e){var t=this;this.escape(),this.currentView=null,this.entity=null,a.default.nextTick(function(){window.setTimeout(function(){t.setConfig(e)},100)})}},methods:(0,r.default)({},(0,s.mapActions)(["escape","explorerClose","filterExplorerClose"]),{setConfig:function(e){var t=this.defaultConfig;for(var n in this.config[e]&&(t=(0,r.default)({},t,this.config[e])),this.$formElements)this.$formElements.hasOwnProperty(n)&&t.hasOwnProperty(n)&&(!0===t[n]?(this.$formElements[n].removeClass("hidden"),this.currentView=l.default):"object"===(0,i.default)(t[n])?(this.$formElements[n].removeClass("hidden"),this.entity=t[n].entity,this.mode=t[n].mode,this.currentView=t[n].view):(this.$formElements[n].addClass("hidden"),this.currentView=l.default))}})}},wi4E:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e);var t=this;(0,o.default)(".rz-folder-autocomplete").bind("keydown",function(e){e.keyCode===o.default.ui.keyCode.TAB&&(0,o.default)(this).autocomplete("instance").menu.active&&e.preventDefault()}).autocomplete({source:function(e,n){o.default.getJSON(window.Rozier.routes.foldersAjaxSearch,{_action:"folderAutocomplete",_token:window.Rozier.ajaxToken,search:t.extractLast(e.term)},n)},search:function(){if(t.extractLast(this.value).length<2)return!1},focus:function(){return!1},select:function(e,n){var i=t.split(this.value);return i.pop(),i.push(n.item.value),i.push(""),this.value=i.join(", "),!1}})}return(0,r.default)(e,[{key:"unbind",value:function(){}},{key:"split",value:function(e){return e.split(/,\s*/)}},{key:"extractLast",value:function(e){return this.split(e).pop()}}]),e}();t.default=s},x4pS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=g(n("aIIw")),r=g(n("kcQR")),o=g(n("HxWs")),a=g(n("X9RM")),s=g(n("BX4+")),l=g(n("dACh")),u=g(n("jx4H")),c=g(n("VOrx")),d=g(n("ZKjc")),h=g(n("0iPh")),f=n("ZysM"),p=g(f),m=n("f3z0");function g(e){return e&&e.__esModule?e:{default:e}}var v=function(e){function t(){(0,l.default)(this,t);var e=(0,c.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.$fields=(0,h.default)(".rz-multi-geotag-field:not(.is-enable)"),e.$fields.length&&e.init(),e}return(0,d.default)(t,e),(0,u.default)(t,[{key:"resetMarker",value:function(e,t,n,i,r){t.val("");var o=!0,s=!1,l=void 0;try{for(var u,c=(0,a.default)(e);!(o=(u=c.next()).done);o=!0){var d=u.value;null!==d&&d.removeFrom(i)}}catch(e){s=!0,l=e}finally{try{!o&&c.return&&c.return()}finally{if(s)throw l}}return e=[],n.hide(),this.syncSelector(r,e,i,t),!1}},{key:"bindSingleField",value:function(e){var t=(0,h.default)(e),n=t.parent().find(".uk-form-label"),i=n[0].innerHTML,r=null;r=window.Rozier.defaultMapLocation?window.Rozier.defaultMapLocation:f.DEFAULT_LOCATION;var o="geotag-canvas-"+this.uniqid(),s=o+"-address",l=o+"-reset",u={center:this.createLatLng(r),zoom:r.zoom||r.alt,scrollwheel:!1,styles:window.Rozier.mapsStyle};t.hide(),n.hide(),t.attr("data-geotag-canvas",o);var c=['",'
      ','
        ',"
      ",'
      ',"
      "].join("");t.after(c);var d=(0,h.default)("#"+s);d.attr("placeholder",window.Rozier.messages.geotag.typeAnAddress);var p=(0,h.default)("#"+l);p.hide();var m=this.createMap(o,u),g=[],v=t.parent().find(".multi-geotag-list-markers").eq(0);if(""!==t.val())try{var _=JSON.parse(t.val());if(!_.features)throw new Error("Data is not a valid GeoJSON featureCollection");var b=!0,w=!1,k=void 0;try{for(var y,E=(0,a.default)(_.features);!(b=(y=E.next()).done);b=!0){var C=y.value,x=this.createMarker(C,m);x.on("dragend",h.default.proxy(this.setMarkerEvent,this,x,g,t,p,m,v)),g.push(x)}}catch(e){w=!0,k=e}finally{try{!b&&E.return&&E.return()}finally{if(w)throw k}}p.show()}catch(e){return t.show(),(0,h.default)(document.getElementById(o)).hide(),!1}m.on("click",h.default.proxy(this.setMarkerEvent,this,null,g,t,p,m,v)),d.on("keypress",h.default.proxy(this.requestGeocode,this,g,t,p,m,v)),p.on("click",h.default.proxy(this.resetMarker,this,g,t,p,m,v)),window.Rozier.$window.on("resize",h.default.proxy(this.resetMap,this,m,g,u)),window.Rozier.$window.on("pageshowend",h.default.proxy(this.resetMap,this,m,g,u)),this.resetMap(m,g,u,null),this.syncSelector(v,g,m,t)}},{key:"syncSelector",value:function(e,t,n,i){e.empty();var r=0,o=!0,s=!1,l=void 0;try{for(var u,c=(0,a.default)(t);!(o=(u=c.next()).done);o=!0){var d=u.value;if(null!==d){if(d.getLatLng()){e.append(["
    • ",'',d.name?d.name:"#"+r,"",'','','',"","
    • "].join(""));var f=e.find('.rz-multi-geotag-center[data-geocode-id="'+r+'"]').eq(0),p=e.find('.rz-multi-geotag-remove[data-geocode-id="'+r+'"]').eq(0);f.on("click",h.default.proxy(this.centerMap,this,n,d)),p.on("click",h.default.proxy(this.removeMarker,this,n,t,d,e,i))}r++}}}catch(e){s=!0,l=e}finally{try{!o&&c.return&&c.return()}finally{if(s)throw l}}}},{key:"removeMarker",value:function(e,t,n,i,r,o){o&&o.preventDefault();var a=t.indexOf(n);return n.removeFrom(e),t.splice(a,1),this.syncSelector(i,t,e,r),this.writeMarkers(t,r),!1}},{key:"resetMap",value:function(e,t,n,i){i&&i.preventDefault(),e.invalidateSize(!0),void 0!==t&&t.length>0?e.fitBounds(this.getMediumLatLng(t)):e.panTo(n.center)}},{key:"centerMap",value:function(e,t,n){if(n&&n.preventDefault(),e&&t){var i=t.getLatLng();e.flyTo(i,i.alt)}}},{key:"getMediumLatLng",value:function(e){var t=new m.LatLngBounds,n=!0,i=!1,r=void 0;try{for(var o,s=(0,a.default)(e);!(n=(o=s.next()).done);n=!0){var l=o.value;t.extend(l.getLatLng())}}catch(e){i=!0,r=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw r}}return t}},{key:"setMarkerEvent",value:function(e,t,n,i,r,o,a){if(a.latlng)this.setMarker(e,t,n,i,r,a.latlng);else if(null!==e){var s=e.getLatLng();s.alt=r.getZoom(),e.setLatLng(s),r.flyTo(s,s.alt),this.writeMarkers(t,n)}this.syncSelector(o,t,r,n)}},{key:"setMarker",value:function(e,t,n,i,r,o,a){return r&&(o.alt||(o.alt=r.getZoom()),null===e?e=this.createMarker(o,r):(e.setLatLng(o),e.addTo(r)),e.name=a,r.flyTo(o,o.alt),t.push(e),this.writeMarkers(t,n),i.show()),e}},{key:"writeMarkers",value:function(e,t){var n={type:"FeatureCollection",features:[]},i=!0,r=!1,s=void 0;try{for(var l,u=(0,a.default)(e);!(i=(l=u.next()).done);i=!0){var c=l.value;if(c){var d=c.getLatLng();n.features.push(this.latLngToFeature(d,d.alt,c.name))}}}catch(e){r=!0,s=e}finally{try{!i&&u.return&&u.return()}finally{if(r)throw s}}t.val((0,o.default)(n))}},{key:"requestGeocode",value:function(){var e=(0,r.default)(i.default.mark(function e(t,n,r,o,a,s){var l,u;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(l=s.currentTarget.value,!s.which||13!==s.which){e.next=12;break}return s.preventDefault(),e.next=5,this.getLatLngForAddress(l);case 5:if(null!==(u=e.sent)){e.next=9;break}return console.error("Geocode was not successful."),e.abrupt("return");case 9:u.alt=o.getZoom(),this.setMarker(null,t,n,r,o,u,u.name||""),this.syncSelector(a,t,o,n);case 12:case"end":return e.stop()}},e,this)}));return function(t,n,i,r,o,a){return e.apply(this,arguments)}}()}]),t}(p.default);t.default=v},xHmi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.NODES_SEARCH_REQUEST="NODES_SEARCH_REQUEST",t.NODES_SEARCH_SUCCESS="NODES_SEARCH_SUCCESS",t.NODES_SEARCH_RESET="NODES_SEARCH_RESET",t.NODES_SEARCH_FAILED="NODES_SEARCH_FAILED",t.NODES_SEARCH_ENABLE_FOCUS="NODES_SEARCH_ENABLE_FOCUS",t.NODES_SEARCH_DISABLE_FOCUS="NODES_SEARCH_DISABLE_FOCUS",t.EXPLORER_REQUEST="EXPLORER_REQUEST",t.EXPLORER_SUCCESS="EXPLORER_SUCCESS",t.EXPLORER_RESET="EXPLORER_RESET",t.EXPLORER_FAILED="EXPLORER_FAILED",t.EXPLORER_OPEN="EXPLORER_OPEN",t.EXPLORER_CLOSE="EXPLORER_CLOSE",t.EXPLORER_LOAD_MORE="EXPLORER_LOAD_MORE",t.EXPLORER_LOAD_MORE_SUCCESS="EXPLORER_LOAD_MORE_SUCCESS",t.EXPLORER_IS_LOADED="EXPLORER_IS_LOADED",t.EXPLORER_UPDATE_SEARCH_TERMS="EXPLORER_UPDATE_SEARCH_TERMS",t.EXPLORER_UPDATE_FILTERS="EXPLORER_UPDATE_FILTERS",t.FILTER_EXPLORER_OPEN="FILTER_EXPLORER_OPEN",t.FILTER_EXPLORER_CLOSE="FILTER_EXPLORER_CLOSE",t.FILTER_EXPLORER_REQUEST="FILTER_EXPLORER_REQUEST",t.FILTER_EXPLORER_SUCCESS="FILTER_EXPLORER_SUCCESS",t.FILTER_EXPLORER_FAILED="FILTER_EXPLORER_FAILED",t.FILTER_EXPLORER_UPDATE="FILTER_EXPLORER_UPDATE",t.FILTER_EXPLORER_RESET="FILTER_EXPLORER_RESET",t.KEYBOARD_EVENT_ESCAPE="KEYBOARD_EVENT_ESCAPE",t.KEYBOARD_EVENT_SPACE="KEYBOARD_EVENT_SPACE",t.LOGIN_CHECK_DISCONNECTED="LOGIN_CHECK_DISCONNECTED",t.LOGIN_CHECK_CONNECTED="LOGIN_CHECK_CONNECTED",t.HEALTH_CHECK_FAILED="HEALTH_CHECK_FAILED",t.HEALTH_CHECK_SUCCEEDED="HEALTH_CHECK_SUCCEEDED",t.DRAWERS_ADD_INSTANCE="DRAWERS_ADD_INSTANCE",t.DRAWERS_REMOVE_INSTANCE="DRAWERS_REMOVE_INSTANCE",t.DRAWERS_ADD_ITEM="DRAWERS_ADD_DOCUMENT",t.DRAWERS_REMOVE_ITEM="DRAWERS_REMOVE_DOCUMENT",t.DRAWERS_EDIT_INSTANCE="DRAWERS_EDIT_INSTANCE",t.DRAWERS_UPDATE_LIST="DRAWERS_UPDATE_LIST",t.DRAWERS_ENABLE_DROPZONE="DRAWERS_ENABLE_DROPZONE",t.DRAWERS_DISABLE_DROPZONE="DRAWERS_DISABLE_DROPZONE",t.DRAWERS_INIT_DATA_REQUEST="DRAWERS_INIT_DATA_REQUEST",t.DRAWERS_INIT_DATA_REQUEST_SUCCESS="DRAWERS_INIT_DATA_REQUEST_SUCCESS",t.DRAWERS_INIT_DATA_REQUEST_FAILED="DRAWERS_INIT_DATA_REQUEST_FAILED",t.DRAWERS_INIT_DATA_REQUEST_EMPTY="DRAWERS_INIT_DATA_REQUEST_EMPTY",t.TAGS_UPDATE_VALUE="TAGS_UPDATE_VALUE",t.TAGS_REQUEST="TAGS_REQUEST",t.TAGS_REQUEST_SUCCESS="TAGS_REQUEST_SUCCESS",t.TAGS_REQUEST_ERROR="TAGS_REQUEST_ERROR",t.TAG_CREATE_NEW_REQUEST="TAG_CREATE_NEW_REQUEST",t.TAG_CREATE_NEW_REQUEST_SUCCESS="TAG_CREATE_NEW_REQUEST_SUCCESS",t.TAG_CREATE_NEW_REQUEST_ERROR="TAG_CREATE_NEW_REQUEST_ERROR",t.TAG_CREATOR_READY="TAG_CREATOR_READY",t.DOCUMENT_PREVIEW_INIT="DOCUMENT_PREVIEW_INIT",t.DOCUMENT_PREVIEW_DESTROY="DOCUMENT_PREVIEW_DESTROY",t.DOCUMENT_PREVIEW_OPEN="DOCUMENT_PREVIEW_OPEN",t.DOCUMENT_PREVIEW_CLOSE="DOCUMENT_PREVIEW_CLOSE",t.BLANCHETTE_EDITOR_INIT="BLANCHETTE_EDITOR_INIT",t.BLANCHETTE_EDITOR_IS_LOADING="BLANCHETTE_EDITOR_IS_LOADING",t.BLANCHETTE_EDITOR_LOADED="BLANCHETTE_EDITOR_LOADED",t.BLANCHETTE_EDITOR_ERROR="BLANCHETTE_EDITOR_ERROR",t.BLANCHETTE_EDITOR_SAVE_SUCCESS="BLANCHETTE_EDITOR_SAVE_SUCCESS"},xlJi:function(e,t){},ygC5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"slide-left-no-opacity"}},[e.isOpen?n("div",{staticClass:"filter-widget-explorer"},[n("ul",{staticClass:"filters-items"},[n("li",{staticClass:"filters-infos"},[n("div",{staticClass:"infos-content"},[n("transition",{attrs:{name:"fade"}},[e.itemCount||0===e.itemCount?n("div",[n("span",{staticClass:"number"},[e._v(e._s(e.itemCount))]),e._v("\n "+e._s(e.itemCount>1?e.translations.items:e.translations.item)+"\n ")]):e._e()])],1)]),e._v(" "),n("li",{staticClass:"item"},[n("a",{staticClass:"filter-item-link",class:[e.selectedItem?"":"active"],attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.onResetClick(t)}}},[n("i",{staticClass:"uk-icon-rz-unordered-list"}),e._v(" "+e._s(e.translations.see_all)+"\n ")])]),e._v(" "),e._l(e.items,function(t,i){return n("filter-explorer-item",{key:i,attrs:{"current-item":e.selectedItem,icons:e.icons,entity:e.entity,"on-item-click":e.onItemClick,item:t}})})],2)]):e._e()])},staticRenderFns:[]};t.default=i},ywca:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("4YKS"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("G7TI"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports}},["9wWa"]); \ No newline at end of file diff --git a/lib/Rozier/src/static/js/simple.3c7e5e0ab2e763c35a6d.js b/lib/Rozier/src/static/js/simple.76681f9d6dfbdddff6f4.js similarity index 100% rename from lib/Rozier/src/static/js/simple.3c7e5e0ab2e763c35a6d.js rename to lib/Rozier/src/static/js/simple.76681f9d6dfbdddff6f4.js diff --git a/lib/Rozier/src/static/js/vendor.3c7e5e0ab2e763c35a6d.js b/lib/Rozier/src/static/js/vendor.76681f9d6dfbdddff6f4.js similarity index 99% rename from lib/Rozier/src/static/js/vendor.3c7e5e0ab2e763c35a6d.js rename to lib/Rozier/src/static/js/vendor.76681f9d6dfbdddff6f4.js index 952fb124..396a5179 100644 --- a/lib/Rozier/src/static/js/vendor.3c7e5e0ab2e763c35a6d.js +++ b/lib/Rozier/src/static/js/vendor.76681f9d6dfbdddff6f4.js @@ -192,7 +192,7 @@ function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterat * http://jquery.org/license */ !function(s){"use strict";r=[i("0iPh"),i("QNbq")],void 0===(o="function"==typeof(n=s)?n.apply(e,r):n)||(t.exports=o)}(function(t){"use strict";return t.fn.extend({uniqueId:function(){var t=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}})})},"VcL+":function(t,e,i){var n=i("r8MY"),r=i("3til"),o=i("p/0c"),s=i("iyC2"),a=i("A+gr"),l=i("kwIb"),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var i=o(t),c=!i&&r(t),h=!i&&!c&&s(t),d=!i&&!c&&!h&&l(t),f=i||c||h||d,p=f?n(t.length,String):[],m=p.length;for(var g in t)!e&&!u.call(t,g)||f&&("length"==g||h&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,m))||p.push(g);return p}},Vhgk:function(t,e,i){var n=i("srRO"),r=i("p/0c");t.exports=function(t,e,i){var o=e(t);return r(t)?o:n(o,i(t))}},VuZO:function(t,e,i){t.exports={default:i("O35A"),__esModule:!0}},Wyka:function(t,e,i){var n=i("E5Ce"),r=i("U72i");t.exports=function(t){return n(r(t))}},"X/Wc":function(t,e,i){var n="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!n)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r=i("VCHZ"),o={},s=n&&(document.head||document.getElementsByTagName("head")[0]),a=null,l=0,u=!1,c=function(){},h=null,d="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t){for(var e=0;ei.parts.length&&(n.parts.length=i.parts.length)}else{var s=[];for(r=0;ro.threshold||Math.abs(n.pageY-o.pos.y)>o.threshold)&&o.apply(n)}if(e){r||(r=!0,e.show(),e.$current.addClass(e.$sortable.options.placeholderClass),e.$sortable.element.children().addClass(e.$sortable.options.childClass),t.$html.addClass(e.$sortable.options.dragMovingClass));var s=e.data("mouse-offset"),a=i.originalEvent.touches&&i.originalEvent.touches[0]||i.originalEvent,l=parseInt(a.pageX,10)+s.left,u=parseInt(a.pageY,10)+s.top;if(e.css({left:l,top:u}),u+e.height()/3>document.body.offsetHeight)return;uwindow.innerHeight+t.$win.scrollTop()&&t.$win.scrollTop(t.$win.scrollTop()+Math.ceil(e.height()/3))}}),t.$html.on(f,function(n){if(o=!1,i&&e){var r=function(e){e=t.$(e);do{if(e.data("sortable"))return e;e=t.$(e).parent()}while(e.length);return e}(i),s=e.$sortable,a={type:n.type};r[0]&&s.dragDrop(a,s.element),s.dragEnd(a,s.element)}else i=e=null})},init:function(){var e=this,r=this.element[0];s=[],this.checkEmptyList(),this.element.data("sortable-group",this.options.group?this.options.group:t.Utils.uid("sortable-group"));var o=v(function(i){if(!i.data||!i.data.sortable){var n=t.$(i.target),o=n.is("a[href]")?n:n.parents("a[href]");if(!n.is(":input")){if(e.options.handleClass)if(!(n.hasClass(e.options.handleClass)?n:n.closest("."+e.options.handleClass,e.element)).length)return;return i.preventDefault(),o.length&&o.one("click",function(t){t.preventDefault()}).one(f,function(){a||(o.trigger("click"),c&&o.attr("href").trim()&&(location.href=o.attr("href")))}),i.data=i.data||{},i.data.sortable=r,e.dragStart(i,this)}}}),p=v(t.Utils.debounce(function(t){return e.dragEnter(t,this)})),m=v(function(i){var n=e.dragenterData(this);e.dragenterData(this,n-1),e.dragenterData(this)||(t.$(this).removeClass(e.options.overClass),e.dragenterData(this,!1))}),g=v(function(t){return!i||i===this||n===this||(e.element.children().removeClass(e.options.overClass),n=this,e.moveElementNextTo(i,this),function(t){t.stopPropagation&&t.stopPropagation();t.preventDefault&&t.preventDefault();t.returnValue=!1}(t))});function v(i){return function(n){var o,s,a;u=n,n&&(s=(o=n.touches&&n.touches[0]||n).target||n.target,c&&document.elementFromPoint&&(s=document.elementFromPoint(o.pageX-document.body.scrollLeft,o.pageY-document.body.scrollTop)),l=t.$(s)),t.$(s).hasClass("."+e.options.childClass)?i.apply(s,[n]):s!==r&&(a=function(t,e){var i=e;if(i==t)return null;for(;i;){if(i.parentNode===t)return i;if(!(i=i.parentNode)||!i.ownerDocument||11===i.nodeType)break}return null}(r,s))&&i.apply(a,[n])}}this.addDragHandlers=function(){c&&u.touches&&u.touches.length?r.addEventListener(d,g,!1):(r.addEventListener("mouseover",p,!1),r.addEventListener("mouseout",m,!1))},this.removeDragHandlers=function(){c&&u.touches&&u.touches.length?r.removeEventListener(d,g,!1):(r.removeEventListener("mouseover",p,!1),r.removeEventListener("mouseout",m,!1))},window.addEventListener(d,function(t){i&&e.dragMove(t,e)},!1),r.addEventListener(h,o,!1)},dragStart:function(n,s){a=!1,r=!1,!1;var l=this,u=t.$(n.target);if((c||2!=n.button)&&!u.is("."+l.options.noDragClass)&&!u.closest("."+l.options.noDragClass).length&&!u.is(":input")){i=s,e&&e.remove();var h=t.$(i),d=h.offset(),f=n.touches&&n.touches[0]||n;o={pos:{x:f.pageX,y:f.pageY},threshold:l.options.handleClass?1:l.options.threshold,apply:function(n){(e=t.$('
      ').css({display:"none",top:d.top,left:d.left,width:h.width(),height:h.height(),padding:h.css("padding")}).data({"mouse-offset":{left:d.left-parseInt(f.pageX,10),top:d.top-parseInt(f.pageY,10)},origin:l.element,index:h.index()}).append(h.html()).appendTo("body")).$current=h,e.$sortable=l,h.data({"start-list":h.parent(),"start-index":h.index(),"sortable-group":l.options.group}),l.addDragHandlers(),l.options.start(this,i),l.trigger("start.uk.sortable",[l,i,e]),a=!0,o=!1}}}},dragMove:function(e,n){var r,o=(l=t.$(document.elementFromPoint(e.pageX-(document.body.scrollLeft||document.scrollLeft||0),e.pageY-(document.body.scrollTop||document.documentElement.scrollTop||0)))).closest("."+this.options.baseClass),a=o.data("sortable-group"),u=t.$(i),c=u.parent(),h=u.data("sortable-group");o[0]!==c[0]&&void 0!==h&&a===h&&(o.data("sortable").addDragHandlers(),s.push(o),o.children().addClass(this.options.childClass),o.children().length>0?(r=l.closest("."+this.options.childClass)).length?r.before(u):o.append(u):l.append(u),t.$doc.trigger("mouseover")),this.checkEmptyList(),this.checkEmptyList(c)},dragEnter:function(e,n){if(!i||i===n)return!0;var r=this.dragenterData(n);if(this.dragenterData(n,r+1),0===r){var o=t.$(n).parent(),s=t.$(i).data("start-list");if(o[0]!==s[0]){var a=o.data("sortable-group"),l=t.$(i).data("sortable-group");if((a||l)&&a!=l)return!1}t.$(n).addClass(this.options.overClass),this.moveElementNextTo(i,n)}return!1},dragEnd:function(r,o){var a=this;i&&(this.options.stop(o),this.trigger("stop.uk.sortable",[this])),i=null,n=null,s.push(this.element),s.forEach(function(e,i){t.$(e).children().each(function(){1===this.nodeType&&(t.$(this).removeClass(a.options.overClass).removeClass(a.options.placeholderClass).removeClass(a.options.childClass),a.dragenterData(this,!1))})}),s=[],t.$html.removeClass(this.options.dragMovingClass),this.removeDragHandlers(),e&&(e.remove(),e=null)},dragDrop:function(t,e){"drop"===t.type&&(t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault()),this.triggerChangeEvents()},triggerChangeEvents:function(){if(i){var n=t.$(i),r=e.data("origin"),o=n.closest("."+this.options.baseClass),s=[],a=t.$(i);r[0]===o[0]&&e.data("index")!=n.index()?s.push({sortable:this,mode:"moved"}):r[0]!=o[0]&&s.push({sortable:t.$(o).data("sortable"),mode:"added"},{sortable:t.$(r).data("sortable"),mode:"removed"}),s.forEach(function(t,e){t.sortable&&t.sortable.element.trigger("change.uk.sortable",[t.sortable,a,t.mode])})}},dragenterData:function(e,i){if(e=t.$(e),1==arguments.length)return parseInt(e.data("child-dragenter"),10)||0;i?e.data("child-dragenter",Math.max(0,i)):e.removeData("child-dragenter")},moveElementNextTo:function(e,i){!0;var n=this,r=t.$(e).parent().css("min-height",""),o=function(t,e){var i=t.parentNode;if(e.parentNode!=i)return!1;var n=t.previousSibling;for(;n&&9!==n.nodeType;){if(n===e)return!0;n=n.previousSibling}return!1}(e,i)?i:i.nextSibling,s=r.children(),a=s.length;if(!n.options.animation)return i.parentNode.insertBefore(e,o),void t.Utils.checkDisplay(n.element.parent());r.css("min-height",r.height()),s.stop().each(function(){var e=t.$(this),i=e.position();i.width=e.width(),e.data("offset-before",i)}),i.parentNode.insertBefore(e,o),t.Utils.checkDisplay(n.element.parent()),(s=r.children().each(function(){var e=t.$(this);e.data("offset-after",e.position())}).each(function(){var e=t.$(this),i=e.data("offset-before");e.css({position:"absolute",top:i.top,left:i.left,minWidth:i.width})})).each(function(){var e=t.$(this),i=(e.data("offset-before"),e.data("offset-after"));e.css("pointer-events","none").width(),setTimeout(function(){e.animate({top:i.top,left:i.left},n.options.animation,function(){e.css({position:"",top:"",left:"",minWidth:"","pointer-events":""}).removeClass(n.options.overClass).removeData("child-dragenter"),--a||(r.css("min-height",""),t.Utils.checkDisplay(n.element.parent()))})},0)})},serialize:function(){var e,i,n=[];return this.element.children().each(function(r,o){e={};for(var s,a,l=0;l-1e3&&t<1e3||x.call(/e/,e))return e;var i=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-S(-t):S(t);if(n!==t){var r=String(n),o=y.call(e,r.length+1);return _.call(r,i,"$&_")+"."+_.call(_.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _.call(e,i,"$&_")}var I=i(0),N=I.custom,F=H(N)?N:null;function j(t,e,i){var n="double"===(i.quoteStyle||e)?'"':"'";return n+t+n}function R(t){return _.call(String(t),/"/g,""")}function B(t){return!("[object Array]"!==Y(t)||L&&"object"==typeof t&&L in t)}function W(t){return!("[object RegExp]"!==Y(t)||L&&"object"==typeof t&&L in t)}function H(t){if(E)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!O)return!1;try{return O.call(t),!0}catch(t){}return!1}t.exports=function t(e,i,n,r){var a=i||{};if($(a,"quoteStyle")&&"single"!==a.quoteStyle&&"double"!==a.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if($(a,"maxStringLength")&&("number"==typeof a.maxStringLength?a.maxStringLength<0&&a.maxStringLength!==1/0:null!==a.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!$(a,"customInspect")||a.customInspect;if("boolean"!=typeof l&&"symbol"!==l)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if($(a,"indent")&&null!==a.indent&&"\t"!==a.indent&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if($(a,"numericSeparator")&&"boolean"!=typeof a.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=a.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,i){if(e.length>i.maxStringLength){var n=e.length-i.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return t(y.call(e,0,i.maxStringLength),i)+r}var o=_.call(_.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Z);return j(o,"single",i)}(e,a);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var b=String(e);return m?z(e,b):b}if("bigint"==typeof e){var x=String(e)+"n";return m?z(e,x):x}var S=void 0===a.depth?5:a.depth;if(void 0===n&&(n=0),n>=S&&S>0&&"object"==typeof e)return B(e)?"[Array]":"[Object]";var P=function(t,e){var i;if("\t"===t.indent)i="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;i=T.call(Array(t.indent+1)," ")}return{base:i,prev:T.call(Array(e+1),i)}}(a,n);if(void 0===r)r=[];else if(q(r,e)>=0)return"[Circular]";function N(e,i,o){if(i&&(r=C.call(r)).push(i),o){var s={depth:a.depth};return $(a,"quoteStyle")&&(s.quoteStyle=a.quoteStyle),t(e,s,n+1,r)}return t(e,a,n+1,r)}if("function"==typeof e&&!W(e)){var U=function(t){if(t.name)return t.name;var e=v.call(g.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),J=Q(e,N);return"[Function"+(U?": "+U:" (anonymous)")+"]"+(J.length>0?" { "+T.call(J,", ")+" }":"")}if(H(e)){var tt=E?_.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):O.call(e);return"object"!=typeof e||E?tt:X(tt)}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var et="<"+w.call(String(e.nodeName)),it=e.attributes||[],nt=0;nt"}if(B(e)){if(0===e.length)return"[]";var rt=Q(e,N);return P&&!function(t){for(var e=0;e=0)return!1;return!0}(rt)?"["+K(rt,P)+"]":"[ "+T.call(rt,", ")+" ]"}if(function(t){return!("[object Error]"!==Y(t)||L&&"object"==typeof t&&L in t)}(e)){var ot=Q(e,N);return"cause"in Error.prototype||!("cause"in e)||D.call(e,"cause")?0===ot.length?"["+String(e)+"]":"{ ["+String(e)+"] "+T.call(ot,", ")+" }":"{ ["+String(e)+"] "+T.call(k.call("[cause]: "+N(e.cause),ot),", ")+" }"}if("object"==typeof e&&l){if(F&&"function"==typeof e[F]&&I)return I(e,{depth:S-n});if("symbol"!==l&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!o||!t||"object"!=typeof t)return!1;try{o.call(t);try{u.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var st=[];return s.call(e,function(t,i){st.push(N(i,e,!0)+" => "+N(t,e))}),V("Map",o.call(e),st,P)}if(function(t){if(!u||!t||"object"!=typeof t)return!1;try{u.call(t);try{o.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var at=[];return c.call(e,function(t){at.push(N(t,e))}),V("Set",u.call(e),at,P)}if(function(t){if(!h||!t||"object"!=typeof t)return!1;try{h.call(t,h);try{d.call(t,d)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return G("WeakMap");if(function(t){if(!d||!t||"object"!=typeof t)return!1;try{d.call(t,d);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return G("WeakSet");if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{return f.call(t),!0}catch(t){}return!1}(e))return G("WeakRef");if(function(t){return!("[object Number]"!==Y(t)||L&&"object"==typeof t&&L in t)}(e))return X(N(Number(e)));if(function(t){if(!t||"object"!=typeof t||!M)return!1;try{return M.call(t),!0}catch(t){}return!1}(e))return X(N(M.call(e)));if(function(t){return!("[object Boolean]"!==Y(t)||L&&"object"==typeof t&&L in t)}(e))return X(p.call(e));if(function(t){return!("[object String]"!==Y(t)||L&&"object"==typeof t&&L in t)}(e))return X(N(String(e)));if(!function(t){return!("[object Date]"!==Y(t)||L&&"object"==typeof t&&L in t)}(e)&&!W(e)){var lt=Q(e,N),ut=A?A(e)===Object.prototype:e instanceof Object||e.constructor===Object,ct=e instanceof Object?"":"null prototype",ht=!ut&&L&&Object(e)===e&&L in e?y.call(Y(e),8,-1):ct?"Object":"",dt=(ut||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(ht||ct?"["+T.call(k.call([],ht||[],ct||[]),": ")+"] ":"");return 0===lt.length?dt+"{}":P?dt+"{"+K(lt,P)+"}":dt+"{ "+T.call(lt,", ")+" }"}return String(e)};var U=Object.prototype.hasOwnProperty||function(t){return t in this};function $(t,e){return U.call(t,e)}function Y(t){return m.call(t)}function q(t,e){if(t.indexOf)return t.indexOf(e);for(var i=0,n=t.length;i-1},isSelected:function(t){var e=this.trackBy?t[this.trackBy]:t;return this.valueKeys.indexOf(e)>-1},isNotSelected:function(t){return!this.isSelected(t)},getOptionLabel:function(t){return t||0===t?t.isTag?t.label:this.customLabel(t,this.label)||"":""},select:function(t,e){if(!(-1!==this.blockKeys.indexOf(e)||this.disabled||t.$isLabel||this.max&&this.multiple&&this.internalValue.length===this.max)){if(t.isTag)this.$emit("tag",t.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(t))return void("Tab"!==e&&this.removeElement(t));this.multiple?this.internalValue.push(t):this.internalValue=[t],this.$emit("select",(0,u.default)(t),this.id),this.$emit("input",this.getValue(),this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},removeElement:function(t){if(!this.disabled&&(this.allowEmpty||!(this.internalValue.length<=1))){var e="object"===(void 0===t?"undefined":l(t))?this.valueKeys.indexOf(t[this.trackBy]):this.valueKeys.indexOf(t);this.internalValue.splice(e,1),this.$emit("remove",(0,u.default)(t),this.id),this.$emit("input",this.getValue(),this.id),this.closeOnSelect&&this.deactivate()}},removeLastElement:function(){-1===this.blockKeys.indexOf("Delete")&&0===this.search.length&&Array.isArray(this.internalValue)&&this.removeElement(this.internalValue[this.internalValue.length-1])},activate:function(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&0===this.pointer&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.search="",this.$refs.search.focus()):this.$el.focus(),this.$emit("open",this.id))},deactivate:function(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search.blur():this.$el.blur(),this.search="",this.$emit("close",this.getValue(),this.id))},toggle:function(){this.isOpen?this.deactivate():this.activate()},adjustPosition:function(){"undefined"!=typeof window&&(this.hasEnoughSpace=this.$el.getBoundingClientRect().top+this.maxHeight0&&void 0!==arguments[0]?arguments[0]:"Enter").key;this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],t),this.pointerReset()},pointerForward:function(){this.pointer0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer].$isLabel&&this.pointerBackward()):this.filteredOptions[0].$isLabel&&this.pointerForward()},pointerReset:function(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust:function(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0)},pointerSet:function(t){this.pointer=t}}}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.default=function t(e){if(Array.isArray(e))return e.map(t);if(e&&"object"===(void 0===e?"undefined":n(e))){for(var i={},r=Object.keys(e),o=0,s=r.length;ot.limit?[i("strong",{domProps:{textContent:t._s(t.limitText(t.internalValue.length-t.limit))}})]:t._e(),t._v(" "),i("transition",{attrs:{name:"multiselect__loading"}},[t._t("loading",[i("div",{directives:[{name:"show",rawName:"v-show",value:t.loading,expression:"loading"}],staticClass:"multiselect__spinner"})])],2),t._v(" "),t.searchable?i("input",{ref:"search",staticClass:"multiselect__input",attrs:{type:"text",autocomplete:"off",placeholder:t.placeholder,disabled:t.disabled},domProps:{value:t.isOpen?t.search:t.currentOptionLabel},on:{input:function(e){t.updateSearch(e.target.value)},focus:function(e){e.preventDefault(),t.activate()},blur:function(e){e.preventDefault(),t.deactivate()},keyup:function(e){t._k(e.keyCode,"esc",27)||t.deactivate()},keydown:[function(e){t._k(e.keyCode,"down",40)||(e.preventDefault(),t.pointerForward())},function(e){t._k(e.keyCode,"up",38)||(e.preventDefault(),t.pointerBackward())},function(e){t._k(e.keyCode,"enter",13)||e.preventDefault()},function(e){t._k(e.keyCode,"enter",13)&&t._k(e.keyCode,"tab",9)||(e.stopPropagation(),e.target===e.currentTarget&&t.addPointerElement(e))},function(e){t._k(e.keyCode,"delete",[8,46])||t.removeLastElement()}]}}):t._e(),t._v(" "),t.searchable?t._e():i("span",{staticClass:"multiselect__single",domProps:{textContent:t._s(t.currentOptionLabel)}})],2),t._v(" "),i("transition",{attrs:{name:"multiselect"}},[i("ul",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}],ref:"list",staticClass:"multiselect__content",style:{maxHeight:t.maxHeight+"px"}},[t._t("beforeList"),t._v(" "),t.multiple&&t.max===t.internalValue.length?i("li",[i("span",{staticClass:"multiselect__option"},[t._t("maxElements",[t._v("Maximum of "+t._s(t.max)+" options selected. First remove a selected option to select another.")])],2)]):t._e(),t._v(" "),!t.max||t.internalValue.lengtho.threshold||Math.abs(n.pageY-o.pos.y)>o.threshold)&&o.apply(n)}if(e){r||(r=!0,e.show(),e.$current.addClass(e.$sortable.options.placeholderClass),e.$sortable.element.children().addClass(e.$sortable.options.childClass),t.$html.addClass(e.$sortable.options.dragMovingClass));var s=e.data("mouse-offset"),a=i.originalEvent.touches&&i.originalEvent.touches[0]||i.originalEvent,l=parseInt(a.pageX,10)+s.left,u=parseInt(a.pageY,10)+s.top;if(e.css({left:l,top:u}),u+e.height()/3>document.body.offsetHeight)return;uwindow.innerHeight+t.$win.scrollTop()&&t.$win.scrollTop(t.$win.scrollTop()+Math.ceil(e.height()/3))}}),t.$html.on(f,function(n){if(o=!1,i&&e){var r=function(e){e=t.$(e);do{if(e.data("sortable"))return e;e=t.$(e).parent()}while(e.length);return e}(i),s=e.$sortable,a={type:n.type};r[0]&&s.dragDrop(a,s.element),s.dragEnd(a,s.element)}else i=e=null})},init:function(){var e=this,r=this.element[0];s=[],this.checkEmptyList(),this.element.data("sortable-group",this.options.group?this.options.group:t.Utils.uid("sortable-group"));var o=v(function(i){if(!i.data||!i.data.sortable){var n=t.$(i.target),o=n.is("a[href]")?n:n.parents("a[href]");if(!n.is(":input")){if(e.options.handleClass)if(!(n.hasClass(e.options.handleClass)?n:n.closest("."+e.options.handleClass,e.element)).length)return;return i.preventDefault(),o.length&&o.one("click",function(t){t.preventDefault()}).one(f,function(){a||(o.trigger("click"),c&&o.attr("href").trim()&&(location.href=o.attr("href")))}),i.data=i.data||{},i.data.sortable=r,e.dragStart(i,this)}}}),p=v(t.Utils.debounce(function(t){return e.dragEnter(t,this)})),m=v(function(i){var n=e.dragenterData(this);e.dragenterData(this,n-1),e.dragenterData(this)||(t.$(this).removeClass(e.options.overClass),e.dragenterData(this,!1))}),g=v(function(t){return!i||i===this||n===this||(e.element.children().removeClass(e.options.overClass),n=this,e.moveElementNextTo(i,this),function(t){t.stopPropagation&&t.stopPropagation();t.preventDefault&&t.preventDefault();t.returnValue=!1}(t))});function v(i){return function(n){var o,s,a;u=n,n&&(s=(o=n.touches&&n.touches[0]||n).target||n.target,c&&document.elementFromPoint&&(s=document.elementFromPoint(o.pageX-document.body.scrollLeft,o.pageY-document.body.scrollTop)),l=t.$(s)),t.$(s).hasClass("."+e.options.childClass)?i.apply(s,[n]):s!==r&&(a=function(t,e){var i=e;if(i==t)return null;for(;i;){if(i.parentNode===t)return i;if(!(i=i.parentNode)||!i.ownerDocument||11===i.nodeType)break}return null}(r,s))&&i.apply(a,[n])}}this.addDragHandlers=function(){c&&u.touches&&u.touches.length?r.addEventListener(d,g,!1):(r.addEventListener("mouseover",p,!1),r.addEventListener("mouseout",m,!1))},this.removeDragHandlers=function(){c&&u.touches&&u.touches.length?r.removeEventListener(d,g,!1):(r.removeEventListener("mouseover",p,!1),r.removeEventListener("mouseout",m,!1))},window.addEventListener(d,function(t){i&&e.dragMove(t,e)},!1),r.addEventListener(h,o,!1)},dragStart:function(n,s){a=!1,r=!1,!1;var l=this,u=t.$(n.target);if((c||2!=n.button)&&!u.is("."+l.options.noDragClass)&&!u.closest("."+l.options.noDragClass).length&&!u.is(":input")){i=s,e&&e.remove();var h=t.$(i),d=h.offset(),f=n.touches&&n.touches[0]||n;o={pos:{x:f.pageX,y:f.pageY},threshold:l.options.handleClass?1:l.options.threshold,apply:function(n){(e=t.$('
      ').css({display:"none",top:d.top,left:d.left,width:h.width(),height:h.height(),padding:h.css("padding")}).data({"mouse-offset":{left:d.left-parseInt(f.pageX,10),top:d.top-parseInt(f.pageY,10)},origin:l.element,index:h.index()}).append(h.html()).appendTo("body")).$current=h,e.$sortable=l,h.data({"start-list":h.parent(),"start-index":h.index(),"sortable-group":l.options.group}),l.addDragHandlers(),l.options.start(this,i),l.trigger("start.uk.sortable",[l,i,e]),a=!0,o=!1}}}},dragMove:function(e,n){var r,o=(l=t.$(document.elementFromPoint(e.pageX-(document.body.scrollLeft||document.scrollLeft||0),e.pageY-(document.body.scrollTop||document.documentElement.scrollTop||0)))).closest("."+this.options.baseClass),a=o.data("sortable-group"),u=t.$(i),c=u.parent(),h=u.data("sortable-group");o[0]!==c[0]&&void 0!==h&&a===h&&(o.data("sortable").addDragHandlers(),s.push(o),o.children().addClass(this.options.childClass),o.children().length>0?(r=l.closest("."+this.options.childClass)).length?r.before(u):o.append(u):l.append(u),t.$doc.trigger("mouseover")),this.checkEmptyList(),this.checkEmptyList(c)},dragEnter:function(e,n){if(!i||i===n)return!0;var r=this.dragenterData(n);if(this.dragenterData(n,r+1),0===r){var o=t.$(n).parent(),s=t.$(i).data("start-list");if(o[0]!==s[0]){var a=o.data("sortable-group"),l=t.$(i).data("sortable-group");if((a||l)&&a!=l)return!1}t.$(n).addClass(this.options.overClass),this.moveElementNextTo(i,n)}return!1},dragEnd:function(r,o){var a=this;i&&(this.options.stop(o),this.trigger("stop.uk.sortable",[this])),i=null,n=null,s.push(this.element),s.forEach(function(e,i){t.$(e).children().each(function(){1===this.nodeType&&(t.$(this).removeClass(a.options.overClass).removeClass(a.options.placeholderClass).removeClass(a.options.childClass),a.dragenterData(this,!1))})}),s=[],t.$html.removeClass(this.options.dragMovingClass),this.removeDragHandlers(),e&&(e.remove(),e=null)},dragDrop:function(t,e){"drop"===t.type&&(t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault()),this.triggerChangeEvents()},triggerChangeEvents:function(){if(i){var n=t.$(i),r=e.data("origin"),o=n.closest("."+this.options.baseClass),s=[],a=t.$(i);r[0]===o[0]&&e.data("index")!=n.index()?s.push({sortable:this,mode:"moved"}):r[0]!=o[0]&&s.push({sortable:t.$(o).data("sortable"),mode:"added"},{sortable:t.$(r).data("sortable"),mode:"removed"}),s.forEach(function(t,e){t.sortable&&t.sortable.element.trigger("change.uk.sortable",[t.sortable,a,t.mode])})}},dragenterData:function(e,i){if(e=t.$(e),1==arguments.length)return parseInt(e.data("child-dragenter"),10)||0;i?e.data("child-dragenter",Math.max(0,i)):e.removeData("child-dragenter")},moveElementNextTo:function(e,i){!0;var n=this,r=t.$(e).parent().css("min-height",""),o=function(t,e){var i=t.parentNode;if(e.parentNode!=i)return!1;var n=t.previousSibling;for(;n&&9!==n.nodeType;){if(n===e)return!0;n=n.previousSibling}return!1}(e,i)?i:i.nextSibling,s=r.children(),a=s.length;if(!n.options.animation)return i.parentNode.insertBefore(e,o),void t.Utils.checkDisplay(n.element.parent());r.css("min-height",r.height()),s.stop().each(function(){var e=t.$(this),i=e.position();i.width=e.width(),e.data("offset-before",i)}),i.parentNode.insertBefore(e,o),t.Utils.checkDisplay(n.element.parent()),(s=r.children().each(function(){var e=t.$(this);e.data("offset-after",e.position())}).each(function(){var e=t.$(this),i=e.data("offset-before");e.css({position:"absolute",top:i.top,left:i.left,minWidth:i.width})})).each(function(){var e=t.$(this),i=(e.data("offset-before"),e.data("offset-after"));e.css("pointer-events","none").width(),setTimeout(function(){e.animate({top:i.top,left:i.left},n.options.animation,function(){e.css({position:"",top:"",left:"",minWidth:"","pointer-events":""}).removeClass(n.options.overClass).removeData("child-dragenter"),--a||(r.css("min-height",""),t.Utils.checkDisplay(n.element.parent()))})},0)})},serialize:function(){var e,i,n=[];return this.element.children().each(function(r,o){e={};for(var s,a,l=0;l-1e3&&t<1e3||x.call(/e/,e))return e;var i=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-S(-t):S(t);if(n!==t){var r=String(n),o=y.call(e,r.length+1);return _.call(r,i,"$&_")+"."+_.call(_.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _.call(e,i,"$&_")}var I=i(0),N=I.custom,F=H(N)?N:null;function j(t,e,i){var n="double"===(i.quoteStyle||e)?'"':"'";return n+t+n}function R(t){return _.call(String(t),/"/g,""")}function B(t){return!("[object Array]"!==Y(t)||L&&"object"==typeof t&&L in t)}function W(t){return!("[object RegExp]"!==Y(t)||L&&"object"==typeof t&&L in t)}function H(t){if(E)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!O)return!1;try{return O.call(t),!0}catch(t){}return!1}t.exports=function t(e,i,n,r){var a=i||{};if($(a,"quoteStyle")&&"single"!==a.quoteStyle&&"double"!==a.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if($(a,"maxStringLength")&&("number"==typeof a.maxStringLength?a.maxStringLength<0&&a.maxStringLength!==1/0:null!==a.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!$(a,"customInspect")||a.customInspect;if("boolean"!=typeof l&&"symbol"!==l)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if($(a,"indent")&&null!==a.indent&&"\t"!==a.indent&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if($(a,"numericSeparator")&&"boolean"!=typeof a.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=a.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,i){if(e.length>i.maxStringLength){var n=e.length-i.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return t(y.call(e,0,i.maxStringLength),i)+r}var o=_.call(_.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Z);return j(o,"single",i)}(e,a);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var b=String(e);return m?z(e,b):b}if("bigint"==typeof e){var x=String(e)+"n";return m?z(e,x):x}var S=void 0===a.depth?5:a.depth;if(void 0===n&&(n=0),n>=S&&S>0&&"object"==typeof e)return B(e)?"[Array]":"[Object]";var P=function(t,e){var i;if("\t"===t.indent)i="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;i=T.call(Array(t.indent+1)," ")}return{base:i,prev:T.call(Array(e+1),i)}}(a,n);if(void 0===r)r=[];else if(q(r,e)>=0)return"[Circular]";function N(e,i,o){if(i&&(r=C.call(r)).push(i),o){var s={depth:a.depth};return $(a,"quoteStyle")&&(s.quoteStyle=a.quoteStyle),t(e,s,n+1,r)}return t(e,a,n+1,r)}if("function"==typeof e&&!W(e)){var U=function(t){if(t.name)return t.name;var e=v.call(g.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),J=Q(e,N);return"[Function"+(U?": "+U:" (anonymous)")+"]"+(J.length>0?" { "+T.call(J,", ")+" }":"")}if(H(e)){var tt=E?_.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):O.call(e);return"object"!=typeof e||E?tt:X(tt)}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var et="<"+w.call(String(e.nodeName)),it=e.attributes||[],nt=0;nt"}if(B(e)){if(0===e.length)return"[]";var rt=Q(e,N);return P&&!function(t){for(var e=0;e=0)return!1;return!0}(rt)?"["+K(rt,P)+"]":"[ "+T.call(rt,", ")+" ]"}if(function(t){return!("[object Error]"!==Y(t)||L&&"object"==typeof t&&L in t)}(e)){var ot=Q(e,N);return"cause"in Error.prototype||!("cause"in e)||D.call(e,"cause")?0===ot.length?"["+String(e)+"]":"{ ["+String(e)+"] "+T.call(ot,", ")+" }":"{ ["+String(e)+"] "+T.call(k.call("[cause]: "+N(e.cause),ot),", ")+" }"}if("object"==typeof e&&l){if(F&&"function"==typeof e[F]&&I)return I(e,{depth:S-n});if("symbol"!==l&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!o||!t||"object"!=typeof t)return!1;try{o.call(t);try{u.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var st=[];return s.call(e,function(t,i){st.push(N(i,e,!0)+" => "+N(t,e))}),V("Map",o.call(e),st,P)}if(function(t){if(!u||!t||"object"!=typeof t)return!1;try{u.call(t);try{o.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var at=[];return c.call(e,function(t){at.push(N(t,e))}),V("Set",u.call(e),at,P)}if(function(t){if(!h||!t||"object"!=typeof t)return!1;try{h.call(t,h);try{d.call(t,d)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return G("WeakMap");if(function(t){if(!d||!t||"object"!=typeof t)return!1;try{d.call(t,d);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return G("WeakSet");if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{return f.call(t),!0}catch(t){}return!1}(e))return G("WeakRef");if(function(t){return!("[object Number]"!==Y(t)||L&&"object"==typeof t&&L in t)}(e))return X(N(Number(e)));if(function(t){if(!t||"object"!=typeof t||!M)return!1;try{return M.call(t),!0}catch(t){}return!1}(e))return X(N(M.call(e)));if(function(t){return!("[object Boolean]"!==Y(t)||L&&"object"==typeof t&&L in t)}(e))return X(p.call(e));if(function(t){return!("[object String]"!==Y(t)||L&&"object"==typeof t&&L in t)}(e))return X(N(String(e)));if(!function(t){return!("[object Date]"!==Y(t)||L&&"object"==typeof t&&L in t)}(e)&&!W(e)){var lt=Q(e,N),ut=A?A(e)===Object.prototype:e instanceof Object||e.constructor===Object,ct=e instanceof Object?"":"null prototype",ht=!ut&&L&&Object(e)===e&&L in e?y.call(Y(e),8,-1):ct?"Object":"",dt=(ut||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(ht||ct?"["+T.call(k.call([],ht||[],ct||[]),": ")+"] ":"");return 0===lt.length?dt+"{}":P?dt+"{"+K(lt,P)+"}":dt+"{ "+T.call(lt,", ")+" }"}return String(e)};var U=Object.prototype.hasOwnProperty||function(t){return t in this};function $(t,e){return U.call(t,e)}function Y(t){return m.call(t)}function q(t,e){if(t.indexOf)return t.indexOf(e);for(var i=0,n=t.length;i-1},isSelected:function(t){var e=this.trackBy?t[this.trackBy]:t;return this.valueKeys.indexOf(e)>-1},isNotSelected:function(t){return!this.isSelected(t)},getOptionLabel:function(t){return t||0===t?t.isTag?t.label:this.customLabel(t,this.label)||"":""},select:function(t,e){if(!(-1!==this.blockKeys.indexOf(e)||this.disabled||t.$isLabel||this.max&&this.multiple&&this.internalValue.length===this.max)){if(t.isTag)this.$emit("tag",t.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(t))return void("Tab"!==e&&this.removeElement(t));this.multiple?this.internalValue.push(t):this.internalValue=[t],this.$emit("select",(0,u.default)(t),this.id),this.$emit("input",this.getValue(),this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},removeElement:function(t){if(!this.disabled&&(this.allowEmpty||!(this.internalValue.length<=1))){var e="object"===(void 0===t?"undefined":l(t))?this.valueKeys.indexOf(t[this.trackBy]):this.valueKeys.indexOf(t);this.internalValue.splice(e,1),this.$emit("remove",(0,u.default)(t),this.id),this.$emit("input",this.getValue(),this.id),this.closeOnSelect&&this.deactivate()}},removeLastElement:function(){-1===this.blockKeys.indexOf("Delete")&&0===this.search.length&&Array.isArray(this.internalValue)&&this.removeElement(this.internalValue[this.internalValue.length-1])},activate:function(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&0===this.pointer&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.search="",this.$refs.search.focus()):this.$el.focus(),this.$emit("open",this.id))},deactivate:function(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search.blur():this.$el.blur(),this.search="",this.$emit("close",this.getValue(),this.id))},toggle:function(){this.isOpen?this.deactivate():this.activate()},adjustPosition:function(){"undefined"!=typeof window&&(this.hasEnoughSpace=this.$el.getBoundingClientRect().top+this.maxHeight0&&void 0!==arguments[0]?arguments[0]:"Enter").key;this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],t),this.pointerReset()},pointerForward:function(){this.pointer0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer].$isLabel&&this.pointerBackward()):this.filteredOptions[0].$isLabel&&this.pointerForward()},pointerReset:function(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust:function(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0)},pointerSet:function(t){this.pointer=t}}}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.default=function t(e){if(Array.isArray(e))return e.map(t);if(e&&"object"===(void 0===e?"undefined":n(e))){for(var i={},r=Object.keys(e),o=0,s=r.length;ot.limit?[i("strong",{domProps:{textContent:t._s(t.limitText(t.internalValue.length-t.limit))}})]:t._e(),t._v(" "),i("transition",{attrs:{name:"multiselect__loading"}},[t._t("loading",[i("div",{directives:[{name:"show",rawName:"v-show",value:t.loading,expression:"loading"}],staticClass:"multiselect__spinner"})])],2),t._v(" "),t.searchable?i("input",{ref:"search",staticClass:"multiselect__input",attrs:{type:"text",autocomplete:"off",placeholder:t.placeholder,disabled:t.disabled},domProps:{value:t.isOpen?t.search:t.currentOptionLabel},on:{input:function(e){t.updateSearch(e.target.value)},focus:function(e){e.preventDefault(),t.activate()},blur:function(e){e.preventDefault(),t.deactivate()},keyup:function(e){t._k(e.keyCode,"esc",27)||t.deactivate()},keydown:[function(e){t._k(e.keyCode,"down",40)||(e.preventDefault(),t.pointerForward())},function(e){t._k(e.keyCode,"up",38)||(e.preventDefault(),t.pointerBackward())},function(e){t._k(e.keyCode,"enter",13)||e.preventDefault()},function(e){t._k(e.keyCode,"enter",13)&&t._k(e.keyCode,"tab",9)||(e.stopPropagation(),e.target===e.currentTarget&&t.addPointerElement(e))},function(e){t._k(e.keyCode,"delete",[8,46])||t.removeLastElement()}]}}):t._e(),t._v(" "),t.searchable?t._e():i("span",{staticClass:"multiselect__single",domProps:{textContent:t._s(t.currentOptionLabel)}})],2),t._v(" "),i("transition",{attrs:{name:"multiselect"}},[i("ul",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}],ref:"list",staticClass:"multiselect__content",style:{maxHeight:t.maxHeight+"px"}},[t._t("beforeList"),t._v(" "),t.multiple&&t.max===t.internalValue.length?i("li",[i("span",{staticClass:"multiselect__option"},[t._t("maxElements",[t._v("Maximum of "+t._s(t.max)+" options selected. First remove a selected option to select another.")])],2)]):t._e(),t._v(" "),!t.max||t.internalValue.length
      {% trans %}attributes.code{% endtrans %}{% trans %}attributes.group{% endtrans %}{% trans %}attributes{% endtrans %} {% trans %}actions{% endtrans %}
      - {{- attribute_value_translation_form.vars.data|attribute_label -}} + {{- attribute_value_translation_form.vars.data|attribute_label -}} {%- if attributeValue.attribute.group %} + + {%- if attributeValue.attribute.group %} {{- attributeValue.attribute.group|attribute_group_label -}} - {% endif -%} {% form_theme attribute_value_translation_form '@RoadizRozier/horizontalForms.html.twig' %} {{ form_start(attribute_value_translation_form, { diff --git a/lib/Rozier/src/Resources/views/panels/user_panel.html.twig b/lib/Rozier/src/Resources/views/panels/user_panel.html.twig index 5970426a..cecbedab 100644 --- a/lib/Rozier/src/Resources/views/panels/user_panel.html.twig +++ b/lib/Rozier/src/Resources/views/panels/user_panel.html.twig @@ -17,7 +17,7 @@ src="{{ app.user.pictureUrl }}" alt="{{ app.user.identifier }}" /> -

      {{ "hello.%name%"|trans({'%name%': app.user.identifier}) }}

      +

      {{ "hello.%name%"|trans({'%name%': app.user.identifier}) }}

      {% elseif app.user %} {% set displayName = app.user.nickname|default(app.user.givenName|default(app.user.name)) %} {% if app.user.picture %} @@ -29,7 +29,7 @@ alt="{{ displayName }}" /> {% endif %} -

      {{ "hello.%name%"|trans({'%name%': displayName }) }}

      +

      {{ "hello.%name%"|trans({'%name%': displayName }) }}

      {% endif %}
      '+e.responseJSON.error+"
      ','
      ',t,"
      ","
      '+e.responseJSON.error+"
      ','
      ',t,"
      ","