diff --git a/dotCMS/src/main/webapp/html/css/dotcms-block-editor.css b/dotCMS/src/main/webapp/html/css/dotcms-block-editor.css index 2ee7a2ecf17a..235e650bd42d 100644 --- a/dotCMS/src/main/webapp/html/css/dotcms-block-editor.css +++ b/dotCMS/src/main/webapp/html/css/dotcms-block-editor.css @@ -1 +1 @@ -@font-face{font-family:primeicons;font-display:block;src:url(primeicons.eot);src:url(primeicons.eot?#iefix) format("embedded-opentype"),url(primeicons.woff2) format("woff2"),url(primeicons.woff) format("woff"),url(primeicons.ttf) format("truetype"),url(primeicons.svg?#primeicons) format("svg");font-weight:400;font-style:normal}.pi{font-family:primeicons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pi:before{--webkit-backface-visibility:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden}.pi-fw{width:1.28571429em;text-align:center}.pi-spin{animation:fa-spin 2s infinite linear}@keyframes fa-spin{0%{transform:rotate(0)}to{transform:rotate(359deg)}}.pi-eraser:before{content:"\ea04"}.pi-stopwatch:before{content:"\ea01"}.pi-verified:before{content:"\ea02"}.pi-delete-left:before{content:"\ea03"}.pi-hourglass:before{content:"\e9fe"}.pi-truck:before{content:"\ea00"}.pi-wrench:before{content:"\e9ff"}.pi-microphone:before{content:"\e9fa"}.pi-megaphone:before{content:"\e9fb"}.pi-arrow-right-arrow-left:before{content:"\e9fc"}.pi-bitcoin:before{content:"\e9fd"}.pi-file-edit:before{content:"\e9f6"}.pi-language:before{content:"\e9f7"}.pi-file-export:before{content:"\e9f8"}.pi-file-import:before{content:"\e9f9"}.pi-file-word:before{content:"\e9f1"}.pi-gift:before{content:"\e9f2"}.pi-cart-plus:before{content:"\e9f3"}.pi-thumbs-down-fill:before{content:"\e9f4"}.pi-thumbs-up-fill:before{content:"\e9f5"}.pi-arrows-alt:before{content:"\e9f0"}.pi-calculator:before{content:"\e9ef"}.pi-sort-alt-slash:before{content:"\e9ee"}.pi-arrows-h:before{content:"\e9ec"}.pi-arrows-v:before{content:"\e9ed"}.pi-pound:before{content:"\e9eb"}.pi-prime:before{content:"\e9ea"}.pi-chart-pie:before{content:"\e9e9"}.pi-reddit:before{content:"\e9e8"}.pi-code:before{content:"\e9e7"}.pi-sync:before{content:"\e9e6"}.pi-shopping-bag:before{content:"\e9e5"}.pi-server:before{content:"\e9e4"}.pi-database:before{content:"\e9e3"}.pi-hashtag:before{content:"\e9e2"}.pi-bookmark-fill:before{content:"\e9df"}.pi-filter-fill:before{content:"\e9e0"}.pi-heart-fill:before{content:"\e9e1"}.pi-flag-fill:before{content:"\e9de"}.pi-circle:before{content:"\e9dc"}.pi-circle-fill:before{content:"\e9dd"}.pi-bolt:before{content:"\e9db"}.pi-history:before{content:"\e9da"}.pi-box:before{content:"\e9d9"}.pi-at:before{content:"\e9d8"}.pi-arrow-up-right:before{content:"\e9d4"}.pi-arrow-up-left:before{content:"\e9d5"}.pi-arrow-down-left:before{content:"\e9d6"}.pi-arrow-down-right:before{content:"\e9d7"}.pi-telegram:before{content:"\e9d3"}.pi-stop-circle:before{content:"\e9d2"}.pi-stop:before{content:"\e9d1"}.pi-whatsapp:before{content:"\e9d0"}.pi-building:before{content:"\e9cf"}.pi-qrcode:before{content:"\e9ce"}.pi-car:before{content:"\e9cd"}.pi-instagram:before{content:"\e9cc"}.pi-linkedin:before{content:"\e9cb"}.pi-send:before{content:"\e9ca"}.pi-slack:before{content:"\e9c9"}.pi-sun:before{content:"\e9c8"}.pi-moon:before{content:"\e9c7"}.pi-vimeo:before{content:"\e9c6"}.pi-youtube:before{content:"\e9c5"}.pi-flag:before{content:"\e9c4"}.pi-wallet:before{content:"\e9c3"}.pi-map:before{content:"\e9c2"}.pi-link:before{content:"\e9c1"}.pi-credit-card:before{content:"\e9bf"}.pi-discord:before{content:"\e9c0"}.pi-percentage:before{content:"\e9be"}.pi-euro:before{content:"\e9bd"}.pi-book:before{content:"\e9ba"}.pi-shield:before{content:"\e9b9"}.pi-paypal:before{content:"\e9bb"}.pi-amazon:before{content:"\e9bc"}.pi-phone:before{content:"\e9b8"}.pi-filter-slash:before{content:"\e9b7"}.pi-facebook:before{content:"\e9b4"}.pi-github:before{content:"\e9b5"}.pi-twitter:before{content:"\e9b6"}.pi-step-backward-alt:before{content:"\e9ac"}.pi-step-forward-alt:before{content:"\e9ad"}.pi-forward:before{content:"\e9ae"}.pi-backward:before{content:"\e9af"}.pi-fast-backward:before{content:"\e9b0"}.pi-fast-forward:before{content:"\e9b1"}.pi-pause:before{content:"\e9b2"}.pi-play:before{content:"\e9b3"}.pi-compass:before{content:"\e9ab"}.pi-id-card:before{content:"\e9aa"}.pi-ticket:before{content:"\e9a9"}.pi-file-o:before{content:"\e9a8"}.pi-reply:before{content:"\e9a7"}.pi-directions-alt:before{content:"\e9a5"}.pi-directions:before{content:"\e9a6"}.pi-thumbs-up:before{content:"\e9a3"}.pi-thumbs-down:before{content:"\e9a4"}.pi-sort-numeric-down-alt:before{content:"\e996"}.pi-sort-numeric-up-alt:before{content:"\e997"}.pi-sort-alpha-down-alt:before{content:"\e998"}.pi-sort-alpha-up-alt:before{content:"\e999"}.pi-sort-numeric-down:before{content:"\e99a"}.pi-sort-numeric-up:before{content:"\e99b"}.pi-sort-alpha-down:before{content:"\e99c"}.pi-sort-alpha-up:before{content:"\e99d"}.pi-sort-alt:before{content:"\e99e"}.pi-sort-amount-up:before{content:"\e99f"}.pi-sort-amount-down:before{content:"\e9a0"}.pi-sort-amount-down-alt:before{content:"\e9a1"}.pi-sort-amount-up-alt:before{content:"\e9a2"}.pi-palette:before{content:"\e995"}.pi-undo:before{content:"\e994"}.pi-desktop:before{content:"\e993"}.pi-sliders-v:before{content:"\e991"}.pi-sliders-h:before{content:"\e992"}.pi-search-plus:before{content:"\e98f"}.pi-search-minus:before{content:"\e990"}.pi-file-excel:before{content:"\e98e"}.pi-file-pdf:before{content:"\e98d"}.pi-check-square:before{content:"\e98c"}.pi-chart-line:before{content:"\e98b"}.pi-user-edit:before{content:"\e98a"}.pi-exclamation-circle:before{content:"\e989"}.pi-android:before{content:"\e985"}.pi-google:before{content:"\e986"}.pi-apple:before{content:"\e987"}.pi-microsoft:before{content:"\e988"}.pi-heart:before{content:"\e984"}.pi-mobile:before{content:"\e982"}.pi-tablet:before{content:"\e983"}.pi-key:before{content:"\e981"}.pi-shopping-cart:before{content:"\e980"}.pi-comments:before{content:"\e97e"}.pi-comment:before{content:"\e97f"}.pi-briefcase:before{content:"\e97d"}.pi-bell:before{content:"\e97c"}.pi-paperclip:before{content:"\e97b"}.pi-share-alt:before{content:"\e97a"}.pi-envelope:before{content:"\e979"}.pi-volume-down:before{content:"\e976"}.pi-volume-up:before{content:"\e977"}.pi-volume-off:before{content:"\e978"}.pi-eject:before{content:"\e975"}.pi-money-bill:before{content:"\e974"}.pi-images:before{content:"\e973"}.pi-image:before{content:"\e972"}.pi-sign-in:before{content:"\e970"}.pi-sign-out:before{content:"\e971"}.pi-wifi:before{content:"\e96f"}.pi-sitemap:before{content:"\e96e"}.pi-chart-bar:before{content:"\e96d"}.pi-camera:before{content:"\e96c"}.pi-dollar:before{content:"\e96b"}.pi-lock-open:before{content:"\e96a"}.pi-table:before{content:"\e969"}.pi-map-marker:before{content:"\e968"}.pi-list:before{content:"\e967"}.pi-eye-slash:before{content:"\e965"}.pi-eye:before{content:"\e966"}.pi-folder-open:before{content:"\e964"}.pi-folder:before{content:"\e963"}.pi-video:before{content:"\e962"}.pi-inbox:before{content:"\e961"}.pi-lock:before{content:"\e95f"}.pi-unlock:before{content:"\e960"}.pi-tags:before{content:"\e95d"}.pi-tag:before{content:"\e95e"}.pi-power-off:before{content:"\e95c"}.pi-save:before{content:"\e95b"}.pi-question-circle:before{content:"\e959"}.pi-question:before{content:"\e95a"}.pi-copy:before{content:"\e957"}.pi-file:before{content:"\e958"}.pi-clone:before{content:"\e955"}.pi-calendar-times:before{content:"\e952"}.pi-calendar-minus:before{content:"\e953"}.pi-calendar-plus:before{content:"\e954"}.pi-ellipsis-v:before{content:"\e950"}.pi-ellipsis-h:before{content:"\e951"}.pi-bookmark:before{content:"\e94e"}.pi-globe:before{content:"\e94f"}.pi-replay:before{content:"\e94d"}.pi-filter:before{content:"\e94c"}.pi-print:before{content:"\e94b"}.pi-align-right:before{content:"\e946"}.pi-align-left:before{content:"\e947"}.pi-align-center:before{content:"\e948"}.pi-align-justify:before{content:"\e949"}.pi-cog:before{content:"\e94a"}.pi-cloud-download:before{content:"\e943"}.pi-cloud-upload:before{content:"\e944"}.pi-cloud:before{content:"\e945"}.pi-pencil:before{content:"\e942"}.pi-users:before{content:"\e941"}.pi-clock:before{content:"\e940"}.pi-user-minus:before{content:"\e93e"}.pi-user-plus:before{content:"\e93f"}.pi-trash:before{content:"\e93d"}.pi-external-link:before{content:"\e93c"}.pi-window-maximize:before{content:"\e93b"}.pi-window-minimize:before{content:"\e93a"}.pi-refresh:before{content:"\e938"}.pi-user:before{content:"\e939"}.pi-exclamation-triangle:before{content:"\e922"}.pi-calendar:before{content:"\e927"}.pi-chevron-circle-left:before{content:"\e928"}.pi-chevron-circle-down:before{content:"\e929"}.pi-chevron-circle-right:before{content:"\e92a"}.pi-chevron-circle-up:before{content:"\e92b"}.pi-angle-double-down:before{content:"\e92c"}.pi-angle-double-left:before{content:"\e92d"}.pi-angle-double-right:before{content:"\e92e"}.pi-angle-double-up:before{content:"\e92f"}.pi-angle-down:before{content:"\e930"}.pi-angle-left:before{content:"\e931"}.pi-angle-right:before{content:"\e932"}.pi-angle-up:before{content:"\e933"}.pi-upload:before{content:"\e934"}.pi-download:before{content:"\e956"}.pi-ban:before{content:"\e935"}.pi-star-fill:before{content:"\e936"}.pi-star:before{content:"\e937"}.pi-chevron-left:before{content:"\e900"}.pi-chevron-right:before{content:"\e901"}.pi-chevron-down:before{content:"\e902"}.pi-chevron-up:before{content:"\e903"}.pi-caret-left:before{content:"\e904"}.pi-caret-right:before{content:"\e905"}.pi-caret-down:before{content:"\e906"}.pi-caret-up:before{content:"\e907"}.pi-search:before{content:"\e908"}.pi-check:before{content:"\e909"}.pi-check-circle:before{content:"\e90a"}.pi-times:before{content:"\e90b"}.pi-times-circle:before{content:"\e90c"}.pi-plus:before{content:"\e90d"}.pi-plus-circle:before{content:"\e90e"}.pi-minus:before{content:"\e90f"}.pi-minus-circle:before{content:"\e910"}.pi-circle-on:before{content:"\e911"}.pi-circle-off:before{content:"\e912"}.pi-sort-down:before{content:"\e913"}.pi-sort-up:before{content:"\e914"}.pi-sort:before{content:"\e915"}.pi-step-backward:before{content:"\e916"}.pi-step-forward:before{content:"\e917"}.pi-th-large:before{content:"\e918"}.pi-arrow-down:before{content:"\e919"}.pi-arrow-left:before{content:"\e91a"}.pi-arrow-right:before{content:"\e91b"}.pi-arrow-up:before{content:"\e91c"}.pi-bars:before{content:"\e91d"}.pi-arrow-circle-down:before{content:"\e91e"}.pi-arrow-circle-left:before{content:"\e91f"}.pi-arrow-circle-right:before{content:"\e920"}.pi-arrow-circle-up:before{content:"\e921"}.pi-info:before{content:"\e923"}.pi-info-circle:before{content:"\e924"}.pi-home:before{content:"\e925"}.pi-spinner:before{content:"\e926"}.grid{display:flex;flex-wrap:wrap;margin-right:-.5rem;margin-left:-.5rem;margin-top:-.5rem}.grid>.col,.grid>[class*=col]{box-sizing:border-box}.grid-nogutter{margin-right:0;margin-left:0;margin-top:0}.grid-nogutter>.col,.grid-nogutter>[class*=col-]{padding:0}.col{flex-grow:1;flex-basis:0;padding:.5rem}.col-fixed{flex:0 0 auto;padding:.5rem}.col-1{flex:0 0 auto;padding:.5rem;width:8.3333%}.col-2{flex:0 0 auto;padding:.5rem;width:16.6667%}.col-3{flex:0 0 auto;padding:.5rem;width:25%}.col-4{flex:0 0 auto;padding:.5rem;width:33.3333%}.col-5{flex:0 0 auto;padding:.5rem;width:41.6667%}.col-6{flex:0 0 auto;padding:.5rem;width:50%}.col-7{flex:0 0 auto;padding:.5rem;width:58.3333%}.col-8{flex:0 0 auto;padding:.5rem;width:66.6667%}.col-9{flex:0 0 auto;padding:.5rem;width:75%}.col-10{flex:0 0 auto;padding:.5rem;width:83.3333%}.col-11{flex:0 0 auto;padding:.5rem;width:91.6667%}.col-12{flex:0 0 auto;padding:.5rem;width:100%}@media screen and (min-width: 576px){.sm\:col{flex-grow:1;flex-basis:0;padding:.5rem}.sm\:col-fixed{flex:0 0 auto;padding:.5rem}.sm\:col-1{flex:0 0 auto;padding:.5rem;width:8.3333%}.sm\:col-2{flex:0 0 auto;padding:.5rem;width:16.6667%}.sm\:col-3{flex:0 0 auto;padding:.5rem;width:25%}.sm\:col-4{flex:0 0 auto;padding:.5rem;width:33.3333%}.sm\:col-5{flex:0 0 auto;padding:.5rem;width:41.6667%}.sm\:col-6{flex:0 0 auto;padding:.5rem;width:50%}.sm\:col-7{flex:0 0 auto;padding:.5rem;width:58.3333%}.sm\:col-8{flex:0 0 auto;padding:.5rem;width:66.6667%}.sm\:col-9{flex:0 0 auto;padding:.5rem;width:75%}.sm\:col-10{flex:0 0 auto;padding:.5rem;width:83.3333%}.sm\:col-11{flex:0 0 auto;padding:.5rem;width:91.6667%}.sm\:col-12{flex:0 0 auto;padding:.5rem;width:100%}}@media screen and (min-width: 768px){.md\:col{flex-grow:1;flex-basis:0;padding:.5rem}.md\:col-fixed{flex:0 0 auto;padding:.5rem}.md\:col-1{flex:0 0 auto;padding:.5rem;width:8.3333%}.md\:col-2{flex:0 0 auto;padding:.5rem;width:16.6667%}.md\:col-3{flex:0 0 auto;padding:.5rem;width:25%}.md\:col-4{flex:0 0 auto;padding:.5rem;width:33.3333%}.md\:col-5{flex:0 0 auto;padding:.5rem;width:41.6667%}.md\:col-6{flex:0 0 auto;padding:.5rem;width:50%}.md\:col-7{flex:0 0 auto;padding:.5rem;width:58.3333%}.md\:col-8{flex:0 0 auto;padding:.5rem;width:66.6667%}.md\:col-9{flex:0 0 auto;padding:.5rem;width:75%}.md\:col-10{flex:0 0 auto;padding:.5rem;width:83.3333%}.md\:col-11{flex:0 0 auto;padding:.5rem;width:91.6667%}.md\:col-12{flex:0 0 auto;padding:.5rem;width:100%}}@media screen and (min-width: 992px){.lg\:col{flex-grow:1;flex-basis:0;padding:.5rem}.lg\:col-fixed{flex:0 0 auto;padding:.5rem}.lg\:col-1{flex:0 0 auto;padding:.5rem;width:8.3333%}.lg\:col-2{flex:0 0 auto;padding:.5rem;width:16.6667%}.lg\:col-3{flex:0 0 auto;padding:.5rem;width:25%}.lg\:col-4{flex:0 0 auto;padding:.5rem;width:33.3333%}.lg\:col-5{flex:0 0 auto;padding:.5rem;width:41.6667%}.lg\:col-6{flex:0 0 auto;padding:.5rem;width:50%}.lg\:col-7{flex:0 0 auto;padding:.5rem;width:58.3333%}.lg\:col-8{flex:0 0 auto;padding:.5rem;width:66.6667%}.lg\:col-9{flex:0 0 auto;padding:.5rem;width:75%}.lg\:col-10{flex:0 0 auto;padding:.5rem;width:83.3333%}.lg\:col-11{flex:0 0 auto;padding:.5rem;width:91.6667%}.lg\:col-12{flex:0 0 auto;padding:.5rem;width:100%}}@media screen and (min-width: 1200px){.xl\:col{flex-grow:1;flex-basis:0;padding:.5rem}.xl\:col-fixed{flex:0 0 auto;padding:.5rem}.xl\:col-1{flex:0 0 auto;padding:.5rem;width:8.3333%}.xl\:col-2{flex:0 0 auto;padding:.5rem;width:16.6667%}.xl\:col-3{flex:0 0 auto;padding:.5rem;width:25%}.xl\:col-4{flex:0 0 auto;padding:.5rem;width:33.3333%}.xl\:col-5{flex:0 0 auto;padding:.5rem;width:41.6667%}.xl\:col-6{flex:0 0 auto;padding:.5rem;width:50%}.xl\:col-7{flex:0 0 auto;padding:.5rem;width:58.3333%}.xl\:col-8{flex:0 0 auto;padding:.5rem;width:66.6667%}.xl\:col-9{flex:0 0 auto;padding:.5rem;width:75%}.xl\:col-10{flex:0 0 auto;padding:.5rem;width:83.3333%}.xl\:col-11{flex:0 0 auto;padding:.5rem;width:91.6667%}.xl\:col-12{flex:0 0 auto;padding:.5rem;width:100%}}.col-offset-0{margin-left:0!important}.col-offset-1{margin-left:8.3333%!important}.col-offset-2{margin-left:16.6667%!important}.col-offset-3{margin-left:25%!important}.col-offset-4{margin-left:33.3333%!important}.col-offset-5{margin-left:41.6667%!important}.col-offset-6{margin-left:50%!important}.col-offset-7{margin-left:58.3333%!important}.col-offset-8{margin-left:66.6667%!important}.col-offset-9{margin-left:75%!important}.col-offset-10{margin-left:83.3333%!important}.col-offset-11{margin-left:91.6667%!important}.col-offset-12{margin-left:100%!important}@media screen and (min-width: 576px){.sm\:col-offset-0{margin-left:0!important}.sm\:col-offset-1{margin-left:8.3333%!important}.sm\:col-offset-2{margin-left:16.6667%!important}.sm\:col-offset-3{margin-left:25%!important}.sm\:col-offset-4{margin-left:33.3333%!important}.sm\:col-offset-5{margin-left:41.6667%!important}.sm\:col-offset-6{margin-left:50%!important}.sm\:col-offset-7{margin-left:58.3333%!important}.sm\:col-offset-8{margin-left:66.6667%!important}.sm\:col-offset-9{margin-left:75%!important}.sm\:col-offset-10{margin-left:83.3333%!important}.sm\:col-offset-11{margin-left:91.6667%!important}.sm\:col-offset-12{margin-left:100%!important}}@media screen and (min-width: 768px){.md\:col-offset-0{margin-left:0!important}.md\:col-offset-1{margin-left:8.3333%!important}.md\:col-offset-2{margin-left:16.6667%!important}.md\:col-offset-3{margin-left:25%!important}.md\:col-offset-4{margin-left:33.3333%!important}.md\:col-offset-5{margin-left:41.6667%!important}.md\:col-offset-6{margin-left:50%!important}.md\:col-offset-7{margin-left:58.3333%!important}.md\:col-offset-8{margin-left:66.6667%!important}.md\:col-offset-9{margin-left:75%!important}.md\:col-offset-10{margin-left:83.3333%!important}.md\:col-offset-11{margin-left:91.6667%!important}.md\:col-offset-12{margin-left:100%!important}}@media screen and (min-width: 992px){.lg\:col-offset-0{margin-left:0!important}.lg\:col-offset-1{margin-left:8.3333%!important}.lg\:col-offset-2{margin-left:16.6667%!important}.lg\:col-offset-3{margin-left:25%!important}.lg\:col-offset-4{margin-left:33.3333%!important}.lg\:col-offset-5{margin-left:41.6667%!important}.lg\:col-offset-6{margin-left:50%!important}.lg\:col-offset-7{margin-left:58.3333%!important}.lg\:col-offset-8{margin-left:66.6667%!important}.lg\:col-offset-9{margin-left:75%!important}.lg\:col-offset-10{margin-left:83.3333%!important}.lg\:col-offset-11{margin-left:91.6667%!important}.lg\:col-offset-12{margin-left:100%!important}}@media screen and (min-width: 1200px){.xl\:col-offset-0{margin-left:0!important}.xl\:col-offset-1{margin-left:8.3333%!important}.xl\:col-offset-2{margin-left:16.6667%!important}.xl\:col-offset-3{margin-left:25%!important}.xl\:col-offset-4{margin-left:33.3333%!important}.xl\:col-offset-5{margin-left:41.6667%!important}.xl\:col-offset-6{margin-left:50%!important}.xl\:col-offset-7{margin-left:58.3333%!important}.xl\:col-offset-8{margin-left:66.6667%!important}.xl\:col-offset-9{margin-left:75%!important}.xl\:col-offset-10{margin-left:83.3333%!important}.xl\:col-offset-11{margin-left:91.6667%!important}.xl\:col-offset-12{margin-left:100%!important}}.text-0{color:var(--surface-0)!important}.text-50{color:var(--surface-50)!important}.text-100{color:var(--surface-100)!important}.text-200{color:var(--surface-200)!important}.text-300{color:var(--surface-300)!important}.text-400{color:var(--surface-400)!important}.text-500{color:var(--surface-500)!important}.text-600{color:var(--surface-600)!important}.text-700{color:var(--surface-700)!important}.text-800{color:var(--surface-800)!important}.text-900{color:var(--surface-900)!important}.focus\:text-0:focus{color:var(--surface-0)!important}.hover\:text-0:hover,.active\:text-0:active{color:var(--surface-0)!important}.focus\:text-50:focus{color:var(--surface-50)!important}.hover\:text-50:hover,.active\:text-50:active{color:var(--surface-50)!important}.focus\:text-100:focus{color:var(--surface-100)!important}.hover\:text-100:hover,.active\:text-100:active{color:var(--surface-100)!important}.focus\:text-200:focus{color:var(--surface-200)!important}.hover\:text-200:hover,.active\:text-200:active{color:var(--surface-200)!important}.focus\:text-300:focus{color:var(--surface-300)!important}.hover\:text-300:hover,.active\:text-300:active{color:var(--surface-300)!important}.focus\:text-400:focus{color:var(--surface-400)!important}.hover\:text-400:hover,.active\:text-400:active{color:var(--surface-400)!important}.focus\:text-500:focus{color:var(--surface-500)!important}.hover\:text-500:hover,.active\:text-500:active{color:var(--surface-500)!important}.focus\:text-600:focus{color:var(--surface-600)!important}.hover\:text-600:hover,.active\:text-600:active{color:var(--surface-600)!important}.focus\:text-700:focus{color:var(--surface-700)!important}.hover\:text-700:hover,.active\:text-700:active{color:var(--surface-700)!important}.focus\:text-800:focus{color:var(--surface-800)!important}.hover\:text-800:hover,.active\:text-800:active{color:var(--surface-800)!important}.focus\:text-900:focus{color:var(--surface-900)!important}.hover\:text-900:hover,.active\:text-900:active{color:var(--surface-900)!important}.surface-0{background-color:var(--surface-0)!important}.surface-50{background-color:var(--surface-50)!important}.surface-100{background-color:var(--surface-100)!important}.surface-200{background-color:var(--surface-200)!important}.surface-300{background-color:var(--surface-300)!important}.surface-400{background-color:var(--surface-400)!important}.surface-500{background-color:var(--surface-500)!important}.surface-600{background-color:var(--surface-600)!important}.surface-700{background-color:var(--surface-700)!important}.surface-800{background-color:var(--surface-800)!important}.surface-900{background-color:var(--surface-900)!important}.focus\:surface-0:focus{background-color:var(--surface-0)!important}.hover\:surface-0:hover,.active\:surface-0:active{background-color:var(--surface-0)!important}.focus\:surface-50:focus{background-color:var(--surface-50)!important}.hover\:surface-50:hover,.active\:surface-50:active{background-color:var(--surface-50)!important}.focus\:surface-100:focus{background-color:var(--surface-100)!important}.hover\:surface-100:hover,.active\:surface-100:active{background-color:var(--surface-100)!important}.focus\:surface-200:focus{background-color:var(--surface-200)!important}.hover\:surface-200:hover,.active\:surface-200:active{background-color:var(--surface-200)!important}.focus\:surface-300:focus{background-color:var(--surface-300)!important}.hover\:surface-300:hover,.active\:surface-300:active{background-color:var(--surface-300)!important}.focus\:surface-400:focus{background-color:var(--surface-400)!important}.hover\:surface-400:hover,.active\:surface-400:active{background-color:var(--surface-400)!important}.focus\:surface-500:focus{background-color:var(--surface-500)!important}.hover\:surface-500:hover,.active\:surface-500:active{background-color:var(--surface-500)!important}.focus\:surface-600:focus{background-color:var(--surface-600)!important}.hover\:surface-600:hover,.active\:surface-600:active{background-color:var(--surface-600)!important}.focus\:surface-700:focus{background-color:var(--surface-700)!important}.hover\:surface-700:hover,.active\:surface-700:active{background-color:var(--surface-700)!important}.focus\:surface-800:focus{background-color:var(--surface-800)!important}.hover\:surface-800:hover,.active\:surface-800:active{background-color:var(--surface-800)!important}.focus\:surface-900:focus{background-color:var(--surface-900)!important}.hover\:surface-900:hover,.active\:surface-900:active{background-color:var(--surface-900)!important}.border-0{border-color:var(--surface-0)!important}.border-50{border-color:var(--surface-50)!important}.border-100{border-color:var(--surface-100)!important}.border-200{border-color:var(--surface-200)!important}.border-300{border-color:var(--surface-300)!important}.border-400{border-color:var(--surface-400)!important}.border-500{border-color:var(--surface-500)!important}.border-600{border-color:var(--surface-600)!important}.border-700{border-color:var(--surface-700)!important}.border-800{border-color:var(--surface-800)!important}.border-900{border-color:var(--surface-900)!important}.focus\:border-0:focus{border-color:var(--surface-0)!important}.hover\:border-0:hover,.active\:border-0:active{border-color:var(--surface-0)!important}.focus\:border-50:focus{border-color:var(--surface-50)!important}.hover\:border-50:hover,.active\:border-50:active{border-color:var(--surface-50)!important}.focus\:border-100:focus{border-color:var(--surface-100)!important}.hover\:border-100:hover,.active\:border-100:active{border-color:var(--surface-100)!important}.focus\:border-200:focus{border-color:var(--surface-200)!important}.hover\:border-200:hover,.active\:border-200:active{border-color:var(--surface-200)!important}.focus\:border-300:focus{border-color:var(--surface-300)!important}.hover\:border-300:hover,.active\:border-300:active{border-color:var(--surface-300)!important}.focus\:border-400:focus{border-color:var(--surface-400)!important}.hover\:border-400:hover,.active\:border-400:active{border-color:var(--surface-400)!important}.focus\:border-500:focus{border-color:var(--surface-500)!important}.hover\:border-500:hover,.active\:border-500:active{border-color:var(--surface-500)!important}.focus\:border-600:focus{border-color:var(--surface-600)!important}.hover\:border-600:hover,.active\:border-600:active{border-color:var(--surface-600)!important}.focus\:border-700:focus{border-color:var(--surface-700)!important}.hover\:border-700:hover,.active\:border-700:active{border-color:var(--surface-700)!important}.focus\:border-800:focus{border-color:var(--surface-800)!important}.hover\:border-800:hover,.active\:border-800:active{border-color:var(--surface-800)!important}.focus\:border-900:focus{border-color:var(--surface-900)!important}.hover\:border-900:hover,.active\:border-900:active{border-color:var(--surface-900)!important}.bg-transparent{background-color:transparent!important}@media screen and (min-width: 576px){.sm\:bg-transparent{background-color:transparent!important}}@media screen and (min-width: 768px){.md\:bg-transparent{background-color:transparent!important}}@media screen and (min-width: 992px){.lg\:bg-transparent{background-color:transparent!important}}@media screen and (min-width: 1200px){.xl\:bg-transparent{background-color:transparent!important}}.border-transparent{border-color:transparent!important}@media screen and (min-width: 576px){.sm\:border-transparent{border-color:transparent!important}}@media screen and (min-width: 768px){.md\:border-transparent{border-color:transparent!important}}@media screen and (min-width: 992px){.lg\:border-transparent{border-color:transparent!important}}@media screen and (min-width: 1200px){.xl\:border-transparent{border-color:transparent!important}}.text-blue-50{color:var(--blue-50)!important}.text-blue-100{color:var(--blue-100)!important}.text-blue-200{color:var(--blue-200)!important}.text-blue-300{color:var(--blue-300)!important}.text-blue-400{color:var(--blue-400)!important}.text-blue-500{color:var(--blue-500)!important}.text-blue-600{color:var(--blue-600)!important}.text-blue-700{color:var(--blue-700)!important}.text-blue-800{color:var(--blue-800)!important}.text-blue-900{color:var(--blue-900)!important}.focus\:text-blue-50:focus{color:var(--blue-50)!important}.focus\:text-blue-100:focus{color:var(--blue-100)!important}.focus\:text-blue-200:focus{color:var(--blue-200)!important}.focus\:text-blue-300:focus{color:var(--blue-300)!important}.focus\:text-blue-400:focus{color:var(--blue-400)!important}.focus\:text-blue-500:focus{color:var(--blue-500)!important}.focus\:text-blue-600:focus{color:var(--blue-600)!important}.focus\:text-blue-700:focus{color:var(--blue-700)!important}.focus\:text-blue-800:focus{color:var(--blue-800)!important}.focus\:text-blue-900:focus{color:var(--blue-900)!important}.hover\:text-blue-50:hover{color:var(--blue-50)!important}.hover\:text-blue-100:hover{color:var(--blue-100)!important}.hover\:text-blue-200:hover{color:var(--blue-200)!important}.hover\:text-blue-300:hover{color:var(--blue-300)!important}.hover\:text-blue-400:hover{color:var(--blue-400)!important}.hover\:text-blue-500:hover{color:var(--blue-500)!important}.hover\:text-blue-600:hover{color:var(--blue-600)!important}.hover\:text-blue-700:hover{color:var(--blue-700)!important}.hover\:text-blue-800:hover{color:var(--blue-800)!important}.hover\:text-blue-900:hover{color:var(--blue-900)!important}.active\:text-blue-50:active{color:var(--blue-50)!important}.active\:text-blue-100:active{color:var(--blue-100)!important}.active\:text-blue-200:active{color:var(--blue-200)!important}.active\:text-blue-300:active{color:var(--blue-300)!important}.active\:text-blue-400:active{color:var(--blue-400)!important}.active\:text-blue-500:active{color:var(--blue-500)!important}.active\:text-blue-600:active{color:var(--blue-600)!important}.active\:text-blue-700:active{color:var(--blue-700)!important}.active\:text-blue-800:active{color:var(--blue-800)!important}.active\:text-blue-900:active{color:var(--blue-900)!important}.text-green-50{color:var(--green-50)!important}.text-green-100{color:var(--green-100)!important}.text-green-200{color:var(--green-200)!important}.text-green-300{color:var(--green-300)!important}.text-green-400{color:var(--green-400)!important}.text-green-500{color:var(--green-500)!important}.text-green-600{color:var(--green-600)!important}.text-green-700{color:var(--green-700)!important}.text-green-800{color:var(--green-800)!important}.text-green-900{color:var(--green-900)!important}.focus\:text-green-50:focus{color:var(--green-50)!important}.focus\:text-green-100:focus{color:var(--green-100)!important}.focus\:text-green-200:focus{color:var(--green-200)!important}.focus\:text-green-300:focus{color:var(--green-300)!important}.focus\:text-green-400:focus{color:var(--green-400)!important}.focus\:text-green-500:focus{color:var(--green-500)!important}.focus\:text-green-600:focus{color:var(--green-600)!important}.focus\:text-green-700:focus{color:var(--green-700)!important}.focus\:text-green-800:focus{color:var(--green-800)!important}.focus\:text-green-900:focus{color:var(--green-900)!important}.hover\:text-green-50:hover{color:var(--green-50)!important}.hover\:text-green-100:hover{color:var(--green-100)!important}.hover\:text-green-200:hover{color:var(--green-200)!important}.hover\:text-green-300:hover{color:var(--green-300)!important}.hover\:text-green-400:hover{color:var(--green-400)!important}.hover\:text-green-500:hover{color:var(--green-500)!important}.hover\:text-green-600:hover{color:var(--green-600)!important}.hover\:text-green-700:hover{color:var(--green-700)!important}.hover\:text-green-800:hover{color:var(--green-800)!important}.hover\:text-green-900:hover{color:var(--green-900)!important}.active\:text-green-50:active{color:var(--green-50)!important}.active\:text-green-100:active{color:var(--green-100)!important}.active\:text-green-200:active{color:var(--green-200)!important}.active\:text-green-300:active{color:var(--green-300)!important}.active\:text-green-400:active{color:var(--green-400)!important}.active\:text-green-500:active{color:var(--green-500)!important}.active\:text-green-600:active{color:var(--green-600)!important}.active\:text-green-700:active{color:var(--green-700)!important}.active\:text-green-800:active{color:var(--green-800)!important}.active\:text-green-900:active{color:var(--green-900)!important}.text-yellow-50{color:var(--yellow-50)!important}.text-yellow-100{color:var(--yellow-100)!important}.text-yellow-200{color:var(--yellow-200)!important}.text-yellow-300{color:var(--yellow-300)!important}.text-yellow-400{color:var(--yellow-400)!important}.text-yellow-500{color:var(--yellow-500)!important}.text-yellow-600{color:var(--yellow-600)!important}.text-yellow-700{color:var(--yellow-700)!important}.text-yellow-800{color:var(--yellow-800)!important}.text-yellow-900{color:var(--yellow-900)!important}.focus\:text-yellow-50:focus{color:var(--yellow-50)!important}.focus\:text-yellow-100:focus{color:var(--yellow-100)!important}.focus\:text-yellow-200:focus{color:var(--yellow-200)!important}.focus\:text-yellow-300:focus{color:var(--yellow-300)!important}.focus\:text-yellow-400:focus{color:var(--yellow-400)!important}.focus\:text-yellow-500:focus{color:var(--yellow-500)!important}.focus\:text-yellow-600:focus{color:var(--yellow-600)!important}.focus\:text-yellow-700:focus{color:var(--yellow-700)!important}.focus\:text-yellow-800:focus{color:var(--yellow-800)!important}.focus\:text-yellow-900:focus{color:var(--yellow-900)!important}.hover\:text-yellow-50:hover{color:var(--yellow-50)!important}.hover\:text-yellow-100:hover{color:var(--yellow-100)!important}.hover\:text-yellow-200:hover{color:var(--yellow-200)!important}.hover\:text-yellow-300:hover{color:var(--yellow-300)!important}.hover\:text-yellow-400:hover{color:var(--yellow-400)!important}.hover\:text-yellow-500:hover{color:var(--yellow-500)!important}.hover\:text-yellow-600:hover{color:var(--yellow-600)!important}.hover\:text-yellow-700:hover{color:var(--yellow-700)!important}.hover\:text-yellow-800:hover{color:var(--yellow-800)!important}.hover\:text-yellow-900:hover{color:var(--yellow-900)!important}.active\:text-yellow-50:active{color:var(--yellow-50)!important}.active\:text-yellow-100:active{color:var(--yellow-100)!important}.active\:text-yellow-200:active{color:var(--yellow-200)!important}.active\:text-yellow-300:active{color:var(--yellow-300)!important}.active\:text-yellow-400:active{color:var(--yellow-400)!important}.active\:text-yellow-500:active{color:var(--yellow-500)!important}.active\:text-yellow-600:active{color:var(--yellow-600)!important}.active\:text-yellow-700:active{color:var(--yellow-700)!important}.active\:text-yellow-800:active{color:var(--yellow-800)!important}.active\:text-yellow-900:active{color:var(--yellow-900)!important}.text-cyan-50{color:var(--cyan-50)!important}.text-cyan-100{color:var(--cyan-100)!important}.text-cyan-200{color:var(--cyan-200)!important}.text-cyan-300{color:var(--cyan-300)!important}.text-cyan-400{color:var(--cyan-400)!important}.text-cyan-500{color:var(--cyan-500)!important}.text-cyan-600{color:var(--cyan-600)!important}.text-cyan-700{color:var(--cyan-700)!important}.text-cyan-800{color:var(--cyan-800)!important}.text-cyan-900{color:var(--cyan-900)!important}.focus\:text-cyan-50:focus{color:var(--cyan-50)!important}.focus\:text-cyan-100:focus{color:var(--cyan-100)!important}.focus\:text-cyan-200:focus{color:var(--cyan-200)!important}.focus\:text-cyan-300:focus{color:var(--cyan-300)!important}.focus\:text-cyan-400:focus{color:var(--cyan-400)!important}.focus\:text-cyan-500:focus{color:var(--cyan-500)!important}.focus\:text-cyan-600:focus{color:var(--cyan-600)!important}.focus\:text-cyan-700:focus{color:var(--cyan-700)!important}.focus\:text-cyan-800:focus{color:var(--cyan-800)!important}.focus\:text-cyan-900:focus{color:var(--cyan-900)!important}.hover\:text-cyan-50:hover{color:var(--cyan-50)!important}.hover\:text-cyan-100:hover{color:var(--cyan-100)!important}.hover\:text-cyan-200:hover{color:var(--cyan-200)!important}.hover\:text-cyan-300:hover{color:var(--cyan-300)!important}.hover\:text-cyan-400:hover{color:var(--cyan-400)!important}.hover\:text-cyan-500:hover{color:var(--cyan-500)!important}.hover\:text-cyan-600:hover{color:var(--cyan-600)!important}.hover\:text-cyan-700:hover{color:var(--cyan-700)!important}.hover\:text-cyan-800:hover{color:var(--cyan-800)!important}.hover\:text-cyan-900:hover{color:var(--cyan-900)!important}.active\:text-cyan-50:active{color:var(--cyan-50)!important}.active\:text-cyan-100:active{color:var(--cyan-100)!important}.active\:text-cyan-200:active{color:var(--cyan-200)!important}.active\:text-cyan-300:active{color:var(--cyan-300)!important}.active\:text-cyan-400:active{color:var(--cyan-400)!important}.active\:text-cyan-500:active{color:var(--cyan-500)!important}.active\:text-cyan-600:active{color:var(--cyan-600)!important}.active\:text-cyan-700:active{color:var(--cyan-700)!important}.active\:text-cyan-800:active{color:var(--cyan-800)!important}.active\:text-cyan-900:active{color:var(--cyan-900)!important}.text-pink-50{color:var(--pink-50)!important}.text-pink-100{color:var(--pink-100)!important}.text-pink-200{color:var(--pink-200)!important}.text-pink-300{color:var(--pink-300)!important}.text-pink-400{color:var(--pink-400)!important}.text-pink-500{color:var(--pink-500)!important}.text-pink-600{color:var(--pink-600)!important}.text-pink-700{color:var(--pink-700)!important}.text-pink-800{color:var(--pink-800)!important}.text-pink-900{color:var(--pink-900)!important}.focus\:text-pink-50:focus{color:var(--pink-50)!important}.focus\:text-pink-100:focus{color:var(--pink-100)!important}.focus\:text-pink-200:focus{color:var(--pink-200)!important}.focus\:text-pink-300:focus{color:var(--pink-300)!important}.focus\:text-pink-400:focus{color:var(--pink-400)!important}.focus\:text-pink-500:focus{color:var(--pink-500)!important}.focus\:text-pink-600:focus{color:var(--pink-600)!important}.focus\:text-pink-700:focus{color:var(--pink-700)!important}.focus\:text-pink-800:focus{color:var(--pink-800)!important}.focus\:text-pink-900:focus{color:var(--pink-900)!important}.hover\:text-pink-50:hover{color:var(--pink-50)!important}.hover\:text-pink-100:hover{color:var(--pink-100)!important}.hover\:text-pink-200:hover{color:var(--pink-200)!important}.hover\:text-pink-300:hover{color:var(--pink-300)!important}.hover\:text-pink-400:hover{color:var(--pink-400)!important}.hover\:text-pink-500:hover{color:var(--pink-500)!important}.hover\:text-pink-600:hover{color:var(--pink-600)!important}.hover\:text-pink-700:hover{color:var(--pink-700)!important}.hover\:text-pink-800:hover{color:var(--pink-800)!important}.hover\:text-pink-900:hover{color:var(--pink-900)!important}.active\:text-pink-50:active{color:var(--pink-50)!important}.active\:text-pink-100:active{color:var(--pink-100)!important}.active\:text-pink-200:active{color:var(--pink-200)!important}.active\:text-pink-300:active{color:var(--pink-300)!important}.active\:text-pink-400:active{color:var(--pink-400)!important}.active\:text-pink-500:active{color:var(--pink-500)!important}.active\:text-pink-600:active{color:var(--pink-600)!important}.active\:text-pink-700:active{color:var(--pink-700)!important}.active\:text-pink-800:active{color:var(--pink-800)!important}.active\:text-pink-900:active{color:var(--pink-900)!important}.text-indigo-50{color:var(--indigo-50)!important}.text-indigo-100{color:var(--indigo-100)!important}.text-indigo-200{color:var(--indigo-200)!important}.text-indigo-300{color:var(--indigo-300)!important}.text-indigo-400{color:var(--indigo-400)!important}.text-indigo-500{color:var(--indigo-500)!important}.text-indigo-600{color:var(--indigo-600)!important}.text-indigo-700{color:var(--indigo-700)!important}.text-indigo-800{color:var(--indigo-800)!important}.text-indigo-900{color:var(--indigo-900)!important}.focus\:text-indigo-50:focus{color:var(--indigo-50)!important}.focus\:text-indigo-100:focus{color:var(--indigo-100)!important}.focus\:text-indigo-200:focus{color:var(--indigo-200)!important}.focus\:text-indigo-300:focus{color:var(--indigo-300)!important}.focus\:text-indigo-400:focus{color:var(--indigo-400)!important}.focus\:text-indigo-500:focus{color:var(--indigo-500)!important}.focus\:text-indigo-600:focus{color:var(--indigo-600)!important}.focus\:text-indigo-700:focus{color:var(--indigo-700)!important}.focus\:text-indigo-800:focus{color:var(--indigo-800)!important}.focus\:text-indigo-900:focus{color:var(--indigo-900)!important}.hover\:text-indigo-50:hover{color:var(--indigo-50)!important}.hover\:text-indigo-100:hover{color:var(--indigo-100)!important}.hover\:text-indigo-200:hover{color:var(--indigo-200)!important}.hover\:text-indigo-300:hover{color:var(--indigo-300)!important}.hover\:text-indigo-400:hover{color:var(--indigo-400)!important}.hover\:text-indigo-500:hover{color:var(--indigo-500)!important}.hover\:text-indigo-600:hover{color:var(--indigo-600)!important}.hover\:text-indigo-700:hover{color:var(--indigo-700)!important}.hover\:text-indigo-800:hover{color:var(--indigo-800)!important}.hover\:text-indigo-900:hover{color:var(--indigo-900)!important}.active\:text-indigo-50:active{color:var(--indigo-50)!important}.active\:text-indigo-100:active{color:var(--indigo-100)!important}.active\:text-indigo-200:active{color:var(--indigo-200)!important}.active\:text-indigo-300:active{color:var(--indigo-300)!important}.active\:text-indigo-400:active{color:var(--indigo-400)!important}.active\:text-indigo-500:active{color:var(--indigo-500)!important}.active\:text-indigo-600:active{color:var(--indigo-600)!important}.active\:text-indigo-700:active{color:var(--indigo-700)!important}.active\:text-indigo-800:active{color:var(--indigo-800)!important}.active\:text-indigo-900:active{color:var(--indigo-900)!important}.text-teal-50{color:var(--teal-50)!important}.text-teal-100{color:var(--teal-100)!important}.text-teal-200{color:var(--teal-200)!important}.text-teal-300{color:var(--teal-300)!important}.text-teal-400{color:var(--teal-400)!important}.text-teal-500{color:var(--teal-500)!important}.text-teal-600{color:var(--teal-600)!important}.text-teal-700{color:var(--teal-700)!important}.text-teal-800{color:var(--teal-800)!important}.text-teal-900{color:var(--teal-900)!important}.focus\:text-teal-50:focus{color:var(--teal-50)!important}.focus\:text-teal-100:focus{color:var(--teal-100)!important}.focus\:text-teal-200:focus{color:var(--teal-200)!important}.focus\:text-teal-300:focus{color:var(--teal-300)!important}.focus\:text-teal-400:focus{color:var(--teal-400)!important}.focus\:text-teal-500:focus{color:var(--teal-500)!important}.focus\:text-teal-600:focus{color:var(--teal-600)!important}.focus\:text-teal-700:focus{color:var(--teal-700)!important}.focus\:text-teal-800:focus{color:var(--teal-800)!important}.focus\:text-teal-900:focus{color:var(--teal-900)!important}.hover\:text-teal-50:hover{color:var(--teal-50)!important}.hover\:text-teal-100:hover{color:var(--teal-100)!important}.hover\:text-teal-200:hover{color:var(--teal-200)!important}.hover\:text-teal-300:hover{color:var(--teal-300)!important}.hover\:text-teal-400:hover{color:var(--teal-400)!important}.hover\:text-teal-500:hover{color:var(--teal-500)!important}.hover\:text-teal-600:hover{color:var(--teal-600)!important}.hover\:text-teal-700:hover{color:var(--teal-700)!important}.hover\:text-teal-800:hover{color:var(--teal-800)!important}.hover\:text-teal-900:hover{color:var(--teal-900)!important}.active\:text-teal-50:active{color:var(--teal-50)!important}.active\:text-teal-100:active{color:var(--teal-100)!important}.active\:text-teal-200:active{color:var(--teal-200)!important}.active\:text-teal-300:active{color:var(--teal-300)!important}.active\:text-teal-400:active{color:var(--teal-400)!important}.active\:text-teal-500:active{color:var(--teal-500)!important}.active\:text-teal-600:active{color:var(--teal-600)!important}.active\:text-teal-700:active{color:var(--teal-700)!important}.active\:text-teal-800:active{color:var(--teal-800)!important}.active\:text-teal-900:active{color:var(--teal-900)!important}.text-orange-50{color:var(--orange-50)!important}.text-orange-100{color:var(--orange-100)!important}.text-orange-200{color:var(--orange-200)!important}.text-orange-300{color:var(--orange-300)!important}.text-orange-400{color:var(--orange-400)!important}.text-orange-500{color:var(--orange-500)!important}.text-orange-600{color:var(--orange-600)!important}.text-orange-700{color:var(--orange-700)!important}.text-orange-800{color:var(--orange-800)!important}.text-orange-900{color:var(--orange-900)!important}.focus\:text-orange-50:focus{color:var(--orange-50)!important}.focus\:text-orange-100:focus{color:var(--orange-100)!important}.focus\:text-orange-200:focus{color:var(--orange-200)!important}.focus\:text-orange-300:focus{color:var(--orange-300)!important}.focus\:text-orange-400:focus{color:var(--orange-400)!important}.focus\:text-orange-500:focus{color:var(--orange-500)!important}.focus\:text-orange-600:focus{color:var(--orange-600)!important}.focus\:text-orange-700:focus{color:var(--orange-700)!important}.focus\:text-orange-800:focus{color:var(--orange-800)!important}.focus\:text-orange-900:focus{color:var(--orange-900)!important}.hover\:text-orange-50:hover{color:var(--orange-50)!important}.hover\:text-orange-100:hover{color:var(--orange-100)!important}.hover\:text-orange-200:hover{color:var(--orange-200)!important}.hover\:text-orange-300:hover{color:var(--orange-300)!important}.hover\:text-orange-400:hover{color:var(--orange-400)!important}.hover\:text-orange-500:hover{color:var(--orange-500)!important}.hover\:text-orange-600:hover{color:var(--orange-600)!important}.hover\:text-orange-700:hover{color:var(--orange-700)!important}.hover\:text-orange-800:hover{color:var(--orange-800)!important}.hover\:text-orange-900:hover{color:var(--orange-900)!important}.active\:text-orange-50:active{color:var(--orange-50)!important}.active\:text-orange-100:active{color:var(--orange-100)!important}.active\:text-orange-200:active{color:var(--orange-200)!important}.active\:text-orange-300:active{color:var(--orange-300)!important}.active\:text-orange-400:active{color:var(--orange-400)!important}.active\:text-orange-500:active{color:var(--orange-500)!important}.active\:text-orange-600:active{color:var(--orange-600)!important}.active\:text-orange-700:active{color:var(--orange-700)!important}.active\:text-orange-800:active{color:var(--orange-800)!important}.active\:text-orange-900:active{color:var(--orange-900)!important}.text-bluegray-50{color:var(--bluegray-50)!important}.text-bluegray-100{color:var(--bluegray-100)!important}.text-bluegray-200{color:var(--bluegray-200)!important}.text-bluegray-300{color:var(--bluegray-300)!important}.text-bluegray-400{color:var(--bluegray-400)!important}.text-bluegray-500{color:var(--bluegray-500)!important}.text-bluegray-600{color:var(--bluegray-600)!important}.text-bluegray-700{color:var(--bluegray-700)!important}.text-bluegray-800{color:var(--bluegray-800)!important}.text-bluegray-900{color:var(--bluegray-900)!important}.focus\:text-bluegray-50:focus{color:var(--bluegray-50)!important}.focus\:text-bluegray-100:focus{color:var(--bluegray-100)!important}.focus\:text-bluegray-200:focus{color:var(--bluegray-200)!important}.focus\:text-bluegray-300:focus{color:var(--bluegray-300)!important}.focus\:text-bluegray-400:focus{color:var(--bluegray-400)!important}.focus\:text-bluegray-500:focus{color:var(--bluegray-500)!important}.focus\:text-bluegray-600:focus{color:var(--bluegray-600)!important}.focus\:text-bluegray-700:focus{color:var(--bluegray-700)!important}.focus\:text-bluegray-800:focus{color:var(--bluegray-800)!important}.focus\:text-bluegray-900:focus{color:var(--bluegray-900)!important}.hover\:text-bluegray-50:hover{color:var(--bluegray-50)!important}.hover\:text-bluegray-100:hover{color:var(--bluegray-100)!important}.hover\:text-bluegray-200:hover{color:var(--bluegray-200)!important}.hover\:text-bluegray-300:hover{color:var(--bluegray-300)!important}.hover\:text-bluegray-400:hover{color:var(--bluegray-400)!important}.hover\:text-bluegray-500:hover{color:var(--bluegray-500)!important}.hover\:text-bluegray-600:hover{color:var(--bluegray-600)!important}.hover\:text-bluegray-700:hover{color:var(--bluegray-700)!important}.hover\:text-bluegray-800:hover{color:var(--bluegray-800)!important}.hover\:text-bluegray-900:hover{color:var(--bluegray-900)!important}.active\:text-bluegray-50:active{color:var(--bluegray-50)!important}.active\:text-bluegray-100:active{color:var(--bluegray-100)!important}.active\:text-bluegray-200:active{color:var(--bluegray-200)!important}.active\:text-bluegray-300:active{color:var(--bluegray-300)!important}.active\:text-bluegray-400:active{color:var(--bluegray-400)!important}.active\:text-bluegray-500:active{color:var(--bluegray-500)!important}.active\:text-bluegray-600:active{color:var(--bluegray-600)!important}.active\:text-bluegray-700:active{color:var(--bluegray-700)!important}.active\:text-bluegray-800:active{color:var(--bluegray-800)!important}.active\:text-bluegray-900:active{color:var(--bluegray-900)!important}.text-purple-50{color:var(--purple-50)!important}.text-purple-100{color:var(--purple-100)!important}.text-purple-200{color:var(--purple-200)!important}.text-purple-300{color:var(--purple-300)!important}.text-purple-400{color:var(--purple-400)!important}.text-purple-500{color:var(--purple-500)!important}.text-purple-600{color:var(--purple-600)!important}.text-purple-700{color:var(--purple-700)!important}.text-purple-800{color:var(--purple-800)!important}.text-purple-900{color:var(--purple-900)!important}.focus\:text-purple-50:focus{color:var(--purple-50)!important}.focus\:text-purple-100:focus{color:var(--purple-100)!important}.focus\:text-purple-200:focus{color:var(--purple-200)!important}.focus\:text-purple-300:focus{color:var(--purple-300)!important}.focus\:text-purple-400:focus{color:var(--purple-400)!important}.focus\:text-purple-500:focus{color:var(--purple-500)!important}.focus\:text-purple-600:focus{color:var(--purple-600)!important}.focus\:text-purple-700:focus{color:var(--purple-700)!important}.focus\:text-purple-800:focus{color:var(--purple-800)!important}.focus\:text-purple-900:focus{color:var(--purple-900)!important}.hover\:text-purple-50:hover{color:var(--purple-50)!important}.hover\:text-purple-100:hover{color:var(--purple-100)!important}.hover\:text-purple-200:hover{color:var(--purple-200)!important}.hover\:text-purple-300:hover{color:var(--purple-300)!important}.hover\:text-purple-400:hover{color:var(--purple-400)!important}.hover\:text-purple-500:hover{color:var(--purple-500)!important}.hover\:text-purple-600:hover{color:var(--purple-600)!important}.hover\:text-purple-700:hover{color:var(--purple-700)!important}.hover\:text-purple-800:hover{color:var(--purple-800)!important}.hover\:text-purple-900:hover{color:var(--purple-900)!important}.active\:text-purple-50:active{color:var(--purple-50)!important}.active\:text-purple-100:active{color:var(--purple-100)!important}.active\:text-purple-200:active{color:var(--purple-200)!important}.active\:text-purple-300:active{color:var(--purple-300)!important}.active\:text-purple-400:active{color:var(--purple-400)!important}.active\:text-purple-500:active{color:var(--purple-500)!important}.active\:text-purple-600:active{color:var(--purple-600)!important}.active\:text-purple-700:active{color:var(--purple-700)!important}.active\:text-purple-800:active{color:var(--purple-800)!important}.active\:text-purple-900:active{color:var(--purple-900)!important}.text-gray-50{color:var(--gray-50)!important}.text-gray-100{color:var(--gray-100)!important}.text-gray-200{color:var(--gray-200)!important}.text-gray-300{color:var(--gray-300)!important}.text-gray-400{color:var(--gray-400)!important}.text-gray-500{color:var(--gray-500)!important}.text-gray-600{color:var(--gray-600)!important}.text-gray-700{color:var(--gray-700)!important}.text-gray-800{color:var(--gray-800)!important}.text-gray-900{color:var(--gray-900)!important}.focus\:text-gray-50:focus{color:var(--gray-50)!important}.focus\:text-gray-100:focus{color:var(--gray-100)!important}.focus\:text-gray-200:focus{color:var(--gray-200)!important}.focus\:text-gray-300:focus{color:var(--gray-300)!important}.focus\:text-gray-400:focus{color:var(--gray-400)!important}.focus\:text-gray-500:focus{color:var(--gray-500)!important}.focus\:text-gray-600:focus{color:var(--gray-600)!important}.focus\:text-gray-700:focus{color:var(--gray-700)!important}.focus\:text-gray-800:focus{color:var(--gray-800)!important}.focus\:text-gray-900:focus{color:var(--gray-900)!important}.hover\:text-gray-50:hover{color:var(--gray-50)!important}.hover\:text-gray-100:hover{color:var(--gray-100)!important}.hover\:text-gray-200:hover{color:var(--gray-200)!important}.hover\:text-gray-300:hover{color:var(--gray-300)!important}.hover\:text-gray-400:hover{color:var(--gray-400)!important}.hover\:text-gray-500:hover{color:var(--gray-500)!important}.hover\:text-gray-600:hover{color:var(--gray-600)!important}.hover\:text-gray-700:hover{color:var(--gray-700)!important}.hover\:text-gray-800:hover{color:var(--gray-800)!important}.hover\:text-gray-900:hover{color:var(--gray-900)!important}.active\:text-gray-50:active{color:var(--gray-50)!important}.active\:text-gray-100:active{color:var(--gray-100)!important}.active\:text-gray-200:active{color:var(--gray-200)!important}.active\:text-gray-300:active{color:var(--gray-300)!important}.active\:text-gray-400:active{color:var(--gray-400)!important}.active\:text-gray-500:active{color:var(--gray-500)!important}.active\:text-gray-600:active{color:var(--gray-600)!important}.active\:text-gray-700:active{color:var(--gray-700)!important}.active\:text-gray-800:active{color:var(--gray-800)!important}.active\:text-gray-900:active{color:var(--gray-900)!important}.text-red-50{color:var(--red-50)!important}.text-red-100{color:var(--red-100)!important}.text-red-200{color:var(--red-200)!important}.text-red-300{color:var(--red-300)!important}.text-red-400{color:var(--red-400)!important}.text-red-500{color:var(--red-500)!important}.text-red-600{color:var(--red-600)!important}.text-red-700{color:var(--red-700)!important}.text-red-800{color:var(--red-800)!important}.text-red-900{color:var(--red-900)!important}.focus\:text-red-50:focus{color:var(--red-50)!important}.focus\:text-red-100:focus{color:var(--red-100)!important}.focus\:text-red-200:focus{color:var(--red-200)!important}.focus\:text-red-300:focus{color:var(--red-300)!important}.focus\:text-red-400:focus{color:var(--red-400)!important}.focus\:text-red-500:focus{color:var(--red-500)!important}.focus\:text-red-600:focus{color:var(--red-600)!important}.focus\:text-red-700:focus{color:var(--red-700)!important}.focus\:text-red-800:focus{color:var(--red-800)!important}.focus\:text-red-900:focus{color:var(--red-900)!important}.hover\:text-red-50:hover{color:var(--red-50)!important}.hover\:text-red-100:hover{color:var(--red-100)!important}.hover\:text-red-200:hover{color:var(--red-200)!important}.hover\:text-red-300:hover{color:var(--red-300)!important}.hover\:text-red-400:hover{color:var(--red-400)!important}.hover\:text-red-500:hover{color:var(--red-500)!important}.hover\:text-red-600:hover{color:var(--red-600)!important}.hover\:text-red-700:hover{color:var(--red-700)!important}.hover\:text-red-800:hover{color:var(--red-800)!important}.hover\:text-red-900:hover{color:var(--red-900)!important}.active\:text-red-50:active{color:var(--red-50)!important}.active\:text-red-100:active{color:var(--red-100)!important}.active\:text-red-200:active{color:var(--red-200)!important}.active\:text-red-300:active{color:var(--red-300)!important}.active\:text-red-400:active{color:var(--red-400)!important}.active\:text-red-500:active{color:var(--red-500)!important}.active\:text-red-600:active{color:var(--red-600)!important}.active\:text-red-700:active{color:var(--red-700)!important}.active\:text-red-800:active{color:var(--red-800)!important}.active\:text-red-900:active{color:var(--red-900)!important}.text-primary-50{color:var(--primary-50)!important}.text-primary-100{color:var(--primary-100)!important}.text-primary-200{color:var(--primary-200)!important}.text-primary-300{color:var(--primary-300)!important}.text-primary-400{color:var(--primary-400)!important}.text-primary-500{color:var(--primary-500)!important}.text-primary-600{color:var(--primary-600)!important}.text-primary-700{color:var(--primary-700)!important}.text-primary-800{color:var(--primary-800)!important}.text-primary-900{color:var(--primary-900)!important}.focus\:text-primary-50:focus{color:var(--primary-50)!important}.focus\:text-primary-100:focus{color:var(--primary-100)!important}.focus\:text-primary-200:focus{color:var(--primary-200)!important}.focus\:text-primary-300:focus{color:var(--primary-300)!important}.focus\:text-primary-400:focus{color:var(--primary-400)!important}.focus\:text-primary-500:focus{color:var(--primary-500)!important}.focus\:text-primary-600:focus{color:var(--primary-600)!important}.focus\:text-primary-700:focus{color:var(--primary-700)!important}.focus\:text-primary-800:focus{color:var(--primary-800)!important}.focus\:text-primary-900:focus{color:var(--primary-900)!important}.hover\:text-primary-50:hover{color:var(--primary-50)!important}.hover\:text-primary-100:hover{color:var(--primary-100)!important}.hover\:text-primary-200:hover{color:var(--primary-200)!important}.hover\:text-primary-300:hover{color:var(--primary-300)!important}.hover\:text-primary-400:hover{color:var(--primary-400)!important}.hover\:text-primary-500:hover{color:var(--primary-500)!important}.hover\:text-primary-600:hover{color:var(--primary-600)!important}.hover\:text-primary-700:hover{color:var(--primary-700)!important}.hover\:text-primary-800:hover{color:var(--primary-800)!important}.hover\:text-primary-900:hover{color:var(--primary-900)!important}.active\:text-primary-50:active{color:var(--primary-50)!important}.active\:text-primary-100:active{color:var(--primary-100)!important}.active\:text-primary-200:active{color:var(--primary-200)!important}.active\:text-primary-300:active{color:var(--primary-300)!important}.active\:text-primary-400:active{color:var(--primary-400)!important}.active\:text-primary-500:active{color:var(--primary-500)!important}.active\:text-primary-600:active{color:var(--primary-600)!important}.active\:text-primary-700:active{color:var(--primary-700)!important}.active\:text-primary-800:active{color:var(--primary-800)!important}.active\:text-primary-900:active{color:var(--primary-900)!important}.bg-blue-50{background-color:var(--blue-50)!important}.bg-blue-100{background-color:var(--blue-100)!important}.bg-blue-200{background-color:var(--blue-200)!important}.bg-blue-300{background-color:var(--blue-300)!important}.bg-blue-400{background-color:var(--blue-400)!important}.bg-blue-500{background-color:var(--blue-500)!important}.bg-blue-600{background-color:var(--blue-600)!important}.bg-blue-700{background-color:var(--blue-700)!important}.bg-blue-800{background-color:var(--blue-800)!important}.bg-blue-900{background-color:var(--blue-900)!important}.focus\:bg-blue-50:focus{background-color:var(--blue-50)!important}.focus\:bg-blue-100:focus{background-color:var(--blue-100)!important}.focus\:bg-blue-200:focus{background-color:var(--blue-200)!important}.focus\:bg-blue-300:focus{background-color:var(--blue-300)!important}.focus\:bg-blue-400:focus{background-color:var(--blue-400)!important}.focus\:bg-blue-500:focus{background-color:var(--blue-500)!important}.focus\:bg-blue-600:focus{background-color:var(--blue-600)!important}.focus\:bg-blue-700:focus{background-color:var(--blue-700)!important}.focus\:bg-blue-800:focus{background-color:var(--blue-800)!important}.focus\:bg-blue-900:focus{background-color:var(--blue-900)!important}.hover\:bg-blue-50:hover{background-color:var(--blue-50)!important}.hover\:bg-blue-100:hover{background-color:var(--blue-100)!important}.hover\:bg-blue-200:hover{background-color:var(--blue-200)!important}.hover\:bg-blue-300:hover{background-color:var(--blue-300)!important}.hover\:bg-blue-400:hover{background-color:var(--blue-400)!important}.hover\:bg-blue-500:hover{background-color:var(--blue-500)!important}.hover\:bg-blue-600:hover{background-color:var(--blue-600)!important}.hover\:bg-blue-700:hover{background-color:var(--blue-700)!important}.hover\:bg-blue-800:hover{background-color:var(--blue-800)!important}.hover\:bg-blue-900:hover{background-color:var(--blue-900)!important}.active\:bg-blue-50:active{background-color:var(--blue-50)!important}.active\:bg-blue-100:active{background-color:var(--blue-100)!important}.active\:bg-blue-200:active{background-color:var(--blue-200)!important}.active\:bg-blue-300:active{background-color:var(--blue-300)!important}.active\:bg-blue-400:active{background-color:var(--blue-400)!important}.active\:bg-blue-500:active{background-color:var(--blue-500)!important}.active\:bg-blue-600:active{background-color:var(--blue-600)!important}.active\:bg-blue-700:active{background-color:var(--blue-700)!important}.active\:bg-blue-800:active{background-color:var(--blue-800)!important}.active\:bg-blue-900:active{background-color:var(--blue-900)!important}.bg-green-50{background-color:var(--green-50)!important}.bg-green-100{background-color:var(--green-100)!important}.bg-green-200{background-color:var(--green-200)!important}.bg-green-300{background-color:var(--green-300)!important}.bg-green-400{background-color:var(--green-400)!important}.bg-green-500{background-color:var(--green-500)!important}.bg-green-600{background-color:var(--green-600)!important}.bg-green-700{background-color:var(--green-700)!important}.bg-green-800{background-color:var(--green-800)!important}.bg-green-900{background-color:var(--green-900)!important}.focus\:bg-green-50:focus{background-color:var(--green-50)!important}.focus\:bg-green-100:focus{background-color:var(--green-100)!important}.focus\:bg-green-200:focus{background-color:var(--green-200)!important}.focus\:bg-green-300:focus{background-color:var(--green-300)!important}.focus\:bg-green-400:focus{background-color:var(--green-400)!important}.focus\:bg-green-500:focus{background-color:var(--green-500)!important}.focus\:bg-green-600:focus{background-color:var(--green-600)!important}.focus\:bg-green-700:focus{background-color:var(--green-700)!important}.focus\:bg-green-800:focus{background-color:var(--green-800)!important}.focus\:bg-green-900:focus{background-color:var(--green-900)!important}.hover\:bg-green-50:hover{background-color:var(--green-50)!important}.hover\:bg-green-100:hover{background-color:var(--green-100)!important}.hover\:bg-green-200:hover{background-color:var(--green-200)!important}.hover\:bg-green-300:hover{background-color:var(--green-300)!important}.hover\:bg-green-400:hover{background-color:var(--green-400)!important}.hover\:bg-green-500:hover{background-color:var(--green-500)!important}.hover\:bg-green-600:hover{background-color:var(--green-600)!important}.hover\:bg-green-700:hover{background-color:var(--green-700)!important}.hover\:bg-green-800:hover{background-color:var(--green-800)!important}.hover\:bg-green-900:hover{background-color:var(--green-900)!important}.active\:bg-green-50:active{background-color:var(--green-50)!important}.active\:bg-green-100:active{background-color:var(--green-100)!important}.active\:bg-green-200:active{background-color:var(--green-200)!important}.active\:bg-green-300:active{background-color:var(--green-300)!important}.active\:bg-green-400:active{background-color:var(--green-400)!important}.active\:bg-green-500:active{background-color:var(--green-500)!important}.active\:bg-green-600:active{background-color:var(--green-600)!important}.active\:bg-green-700:active{background-color:var(--green-700)!important}.active\:bg-green-800:active{background-color:var(--green-800)!important}.active\:bg-green-900:active{background-color:var(--green-900)!important}.bg-yellow-50{background-color:var(--yellow-50)!important}.bg-yellow-100{background-color:var(--yellow-100)!important}.bg-yellow-200{background-color:var(--yellow-200)!important}.bg-yellow-300{background-color:var(--yellow-300)!important}.bg-yellow-400{background-color:var(--yellow-400)!important}.bg-yellow-500{background-color:var(--yellow-500)!important}.bg-yellow-600{background-color:var(--yellow-600)!important}.bg-yellow-700{background-color:var(--yellow-700)!important}.bg-yellow-800{background-color:var(--yellow-800)!important}.bg-yellow-900{background-color:var(--yellow-900)!important}.focus\:bg-yellow-50:focus{background-color:var(--yellow-50)!important}.focus\:bg-yellow-100:focus{background-color:var(--yellow-100)!important}.focus\:bg-yellow-200:focus{background-color:var(--yellow-200)!important}.focus\:bg-yellow-300:focus{background-color:var(--yellow-300)!important}.focus\:bg-yellow-400:focus{background-color:var(--yellow-400)!important}.focus\:bg-yellow-500:focus{background-color:var(--yellow-500)!important}.focus\:bg-yellow-600:focus{background-color:var(--yellow-600)!important}.focus\:bg-yellow-700:focus{background-color:var(--yellow-700)!important}.focus\:bg-yellow-800:focus{background-color:var(--yellow-800)!important}.focus\:bg-yellow-900:focus{background-color:var(--yellow-900)!important}.hover\:bg-yellow-50:hover{background-color:var(--yellow-50)!important}.hover\:bg-yellow-100:hover{background-color:var(--yellow-100)!important}.hover\:bg-yellow-200:hover{background-color:var(--yellow-200)!important}.hover\:bg-yellow-300:hover{background-color:var(--yellow-300)!important}.hover\:bg-yellow-400:hover{background-color:var(--yellow-400)!important}.hover\:bg-yellow-500:hover{background-color:var(--yellow-500)!important}.hover\:bg-yellow-600:hover{background-color:var(--yellow-600)!important}.hover\:bg-yellow-700:hover{background-color:var(--yellow-700)!important}.hover\:bg-yellow-800:hover{background-color:var(--yellow-800)!important}.hover\:bg-yellow-900:hover{background-color:var(--yellow-900)!important}.active\:bg-yellow-50:active{background-color:var(--yellow-50)!important}.active\:bg-yellow-100:active{background-color:var(--yellow-100)!important}.active\:bg-yellow-200:active{background-color:var(--yellow-200)!important}.active\:bg-yellow-300:active{background-color:var(--yellow-300)!important}.active\:bg-yellow-400:active{background-color:var(--yellow-400)!important}.active\:bg-yellow-500:active{background-color:var(--yellow-500)!important}.active\:bg-yellow-600:active{background-color:var(--yellow-600)!important}.active\:bg-yellow-700:active{background-color:var(--yellow-700)!important}.active\:bg-yellow-800:active{background-color:var(--yellow-800)!important}.active\:bg-yellow-900:active{background-color:var(--yellow-900)!important}.bg-cyan-50{background-color:var(--cyan-50)!important}.bg-cyan-100{background-color:var(--cyan-100)!important}.bg-cyan-200{background-color:var(--cyan-200)!important}.bg-cyan-300{background-color:var(--cyan-300)!important}.bg-cyan-400{background-color:var(--cyan-400)!important}.bg-cyan-500{background-color:var(--cyan-500)!important}.bg-cyan-600{background-color:var(--cyan-600)!important}.bg-cyan-700{background-color:var(--cyan-700)!important}.bg-cyan-800{background-color:var(--cyan-800)!important}.bg-cyan-900{background-color:var(--cyan-900)!important}.focus\:bg-cyan-50:focus{background-color:var(--cyan-50)!important}.focus\:bg-cyan-100:focus{background-color:var(--cyan-100)!important}.focus\:bg-cyan-200:focus{background-color:var(--cyan-200)!important}.focus\:bg-cyan-300:focus{background-color:var(--cyan-300)!important}.focus\:bg-cyan-400:focus{background-color:var(--cyan-400)!important}.focus\:bg-cyan-500:focus{background-color:var(--cyan-500)!important}.focus\:bg-cyan-600:focus{background-color:var(--cyan-600)!important}.focus\:bg-cyan-700:focus{background-color:var(--cyan-700)!important}.focus\:bg-cyan-800:focus{background-color:var(--cyan-800)!important}.focus\:bg-cyan-900:focus{background-color:var(--cyan-900)!important}.hover\:bg-cyan-50:hover{background-color:var(--cyan-50)!important}.hover\:bg-cyan-100:hover{background-color:var(--cyan-100)!important}.hover\:bg-cyan-200:hover{background-color:var(--cyan-200)!important}.hover\:bg-cyan-300:hover{background-color:var(--cyan-300)!important}.hover\:bg-cyan-400:hover{background-color:var(--cyan-400)!important}.hover\:bg-cyan-500:hover{background-color:var(--cyan-500)!important}.hover\:bg-cyan-600:hover{background-color:var(--cyan-600)!important}.hover\:bg-cyan-700:hover{background-color:var(--cyan-700)!important}.hover\:bg-cyan-800:hover{background-color:var(--cyan-800)!important}.hover\:bg-cyan-900:hover{background-color:var(--cyan-900)!important}.active\:bg-cyan-50:active{background-color:var(--cyan-50)!important}.active\:bg-cyan-100:active{background-color:var(--cyan-100)!important}.active\:bg-cyan-200:active{background-color:var(--cyan-200)!important}.active\:bg-cyan-300:active{background-color:var(--cyan-300)!important}.active\:bg-cyan-400:active{background-color:var(--cyan-400)!important}.active\:bg-cyan-500:active{background-color:var(--cyan-500)!important}.active\:bg-cyan-600:active{background-color:var(--cyan-600)!important}.active\:bg-cyan-700:active{background-color:var(--cyan-700)!important}.active\:bg-cyan-800:active{background-color:var(--cyan-800)!important}.active\:bg-cyan-900:active{background-color:var(--cyan-900)!important}.bg-pink-50{background-color:var(--pink-50)!important}.bg-pink-100{background-color:var(--pink-100)!important}.bg-pink-200{background-color:var(--pink-200)!important}.bg-pink-300{background-color:var(--pink-300)!important}.bg-pink-400{background-color:var(--pink-400)!important}.bg-pink-500{background-color:var(--pink-500)!important}.bg-pink-600{background-color:var(--pink-600)!important}.bg-pink-700{background-color:var(--pink-700)!important}.bg-pink-800{background-color:var(--pink-800)!important}.bg-pink-900{background-color:var(--pink-900)!important}.focus\:bg-pink-50:focus{background-color:var(--pink-50)!important}.focus\:bg-pink-100:focus{background-color:var(--pink-100)!important}.focus\:bg-pink-200:focus{background-color:var(--pink-200)!important}.focus\:bg-pink-300:focus{background-color:var(--pink-300)!important}.focus\:bg-pink-400:focus{background-color:var(--pink-400)!important}.focus\:bg-pink-500:focus{background-color:var(--pink-500)!important}.focus\:bg-pink-600:focus{background-color:var(--pink-600)!important}.focus\:bg-pink-700:focus{background-color:var(--pink-700)!important}.focus\:bg-pink-800:focus{background-color:var(--pink-800)!important}.focus\:bg-pink-900:focus{background-color:var(--pink-900)!important}.hover\:bg-pink-50:hover{background-color:var(--pink-50)!important}.hover\:bg-pink-100:hover{background-color:var(--pink-100)!important}.hover\:bg-pink-200:hover{background-color:var(--pink-200)!important}.hover\:bg-pink-300:hover{background-color:var(--pink-300)!important}.hover\:bg-pink-400:hover{background-color:var(--pink-400)!important}.hover\:bg-pink-500:hover{background-color:var(--pink-500)!important}.hover\:bg-pink-600:hover{background-color:var(--pink-600)!important}.hover\:bg-pink-700:hover{background-color:var(--pink-700)!important}.hover\:bg-pink-800:hover{background-color:var(--pink-800)!important}.hover\:bg-pink-900:hover{background-color:var(--pink-900)!important}.active\:bg-pink-50:active{background-color:var(--pink-50)!important}.active\:bg-pink-100:active{background-color:var(--pink-100)!important}.active\:bg-pink-200:active{background-color:var(--pink-200)!important}.active\:bg-pink-300:active{background-color:var(--pink-300)!important}.active\:bg-pink-400:active{background-color:var(--pink-400)!important}.active\:bg-pink-500:active{background-color:var(--pink-500)!important}.active\:bg-pink-600:active{background-color:var(--pink-600)!important}.active\:bg-pink-700:active{background-color:var(--pink-700)!important}.active\:bg-pink-800:active{background-color:var(--pink-800)!important}.active\:bg-pink-900:active{background-color:var(--pink-900)!important}.bg-indigo-50{background-color:var(--indigo-50)!important}.bg-indigo-100{background-color:var(--indigo-100)!important}.bg-indigo-200{background-color:var(--indigo-200)!important}.bg-indigo-300{background-color:var(--indigo-300)!important}.bg-indigo-400{background-color:var(--indigo-400)!important}.bg-indigo-500{background-color:var(--indigo-500)!important}.bg-indigo-600{background-color:var(--indigo-600)!important}.bg-indigo-700{background-color:var(--indigo-700)!important}.bg-indigo-800{background-color:var(--indigo-800)!important}.bg-indigo-900{background-color:var(--indigo-900)!important}.focus\:bg-indigo-50:focus{background-color:var(--indigo-50)!important}.focus\:bg-indigo-100:focus{background-color:var(--indigo-100)!important}.focus\:bg-indigo-200:focus{background-color:var(--indigo-200)!important}.focus\:bg-indigo-300:focus{background-color:var(--indigo-300)!important}.focus\:bg-indigo-400:focus{background-color:var(--indigo-400)!important}.focus\:bg-indigo-500:focus{background-color:var(--indigo-500)!important}.focus\:bg-indigo-600:focus{background-color:var(--indigo-600)!important}.focus\:bg-indigo-700:focus{background-color:var(--indigo-700)!important}.focus\:bg-indigo-800:focus{background-color:var(--indigo-800)!important}.focus\:bg-indigo-900:focus{background-color:var(--indigo-900)!important}.hover\:bg-indigo-50:hover{background-color:var(--indigo-50)!important}.hover\:bg-indigo-100:hover{background-color:var(--indigo-100)!important}.hover\:bg-indigo-200:hover{background-color:var(--indigo-200)!important}.hover\:bg-indigo-300:hover{background-color:var(--indigo-300)!important}.hover\:bg-indigo-400:hover{background-color:var(--indigo-400)!important}.hover\:bg-indigo-500:hover{background-color:var(--indigo-500)!important}.hover\:bg-indigo-600:hover{background-color:var(--indigo-600)!important}.hover\:bg-indigo-700:hover{background-color:var(--indigo-700)!important}.hover\:bg-indigo-800:hover{background-color:var(--indigo-800)!important}.hover\:bg-indigo-900:hover{background-color:var(--indigo-900)!important}.active\:bg-indigo-50:active{background-color:var(--indigo-50)!important}.active\:bg-indigo-100:active{background-color:var(--indigo-100)!important}.active\:bg-indigo-200:active{background-color:var(--indigo-200)!important}.active\:bg-indigo-300:active{background-color:var(--indigo-300)!important}.active\:bg-indigo-400:active{background-color:var(--indigo-400)!important}.active\:bg-indigo-500:active{background-color:var(--indigo-500)!important}.active\:bg-indigo-600:active{background-color:var(--indigo-600)!important}.active\:bg-indigo-700:active{background-color:var(--indigo-700)!important}.active\:bg-indigo-800:active{background-color:var(--indigo-800)!important}.active\:bg-indigo-900:active{background-color:var(--indigo-900)!important}.bg-teal-50{background-color:var(--teal-50)!important}.bg-teal-100{background-color:var(--teal-100)!important}.bg-teal-200{background-color:var(--teal-200)!important}.bg-teal-300{background-color:var(--teal-300)!important}.bg-teal-400{background-color:var(--teal-400)!important}.bg-teal-500{background-color:var(--teal-500)!important}.bg-teal-600{background-color:var(--teal-600)!important}.bg-teal-700{background-color:var(--teal-700)!important}.bg-teal-800{background-color:var(--teal-800)!important}.bg-teal-900{background-color:var(--teal-900)!important}.focus\:bg-teal-50:focus{background-color:var(--teal-50)!important}.focus\:bg-teal-100:focus{background-color:var(--teal-100)!important}.focus\:bg-teal-200:focus{background-color:var(--teal-200)!important}.focus\:bg-teal-300:focus{background-color:var(--teal-300)!important}.focus\:bg-teal-400:focus{background-color:var(--teal-400)!important}.focus\:bg-teal-500:focus{background-color:var(--teal-500)!important}.focus\:bg-teal-600:focus{background-color:var(--teal-600)!important}.focus\:bg-teal-700:focus{background-color:var(--teal-700)!important}.focus\:bg-teal-800:focus{background-color:var(--teal-800)!important}.focus\:bg-teal-900:focus{background-color:var(--teal-900)!important}.hover\:bg-teal-50:hover{background-color:var(--teal-50)!important}.hover\:bg-teal-100:hover{background-color:var(--teal-100)!important}.hover\:bg-teal-200:hover{background-color:var(--teal-200)!important}.hover\:bg-teal-300:hover{background-color:var(--teal-300)!important}.hover\:bg-teal-400:hover{background-color:var(--teal-400)!important}.hover\:bg-teal-500:hover{background-color:var(--teal-500)!important}.hover\:bg-teal-600:hover{background-color:var(--teal-600)!important}.hover\:bg-teal-700:hover{background-color:var(--teal-700)!important}.hover\:bg-teal-800:hover{background-color:var(--teal-800)!important}.hover\:bg-teal-900:hover{background-color:var(--teal-900)!important}.active\:bg-teal-50:active{background-color:var(--teal-50)!important}.active\:bg-teal-100:active{background-color:var(--teal-100)!important}.active\:bg-teal-200:active{background-color:var(--teal-200)!important}.active\:bg-teal-300:active{background-color:var(--teal-300)!important}.active\:bg-teal-400:active{background-color:var(--teal-400)!important}.active\:bg-teal-500:active{background-color:var(--teal-500)!important}.active\:bg-teal-600:active{background-color:var(--teal-600)!important}.active\:bg-teal-700:active{background-color:var(--teal-700)!important}.active\:bg-teal-800:active{background-color:var(--teal-800)!important}.active\:bg-teal-900:active{background-color:var(--teal-900)!important}.bg-orange-50{background-color:var(--orange-50)!important}.bg-orange-100{background-color:var(--orange-100)!important}.bg-orange-200{background-color:var(--orange-200)!important}.bg-orange-300{background-color:var(--orange-300)!important}.bg-orange-400{background-color:var(--orange-400)!important}.bg-orange-500{background-color:var(--orange-500)!important}.bg-orange-600{background-color:var(--orange-600)!important}.bg-orange-700{background-color:var(--orange-700)!important}.bg-orange-800{background-color:var(--orange-800)!important}.bg-orange-900{background-color:var(--orange-900)!important}.focus\:bg-orange-50:focus{background-color:var(--orange-50)!important}.focus\:bg-orange-100:focus{background-color:var(--orange-100)!important}.focus\:bg-orange-200:focus{background-color:var(--orange-200)!important}.focus\:bg-orange-300:focus{background-color:var(--orange-300)!important}.focus\:bg-orange-400:focus{background-color:var(--orange-400)!important}.focus\:bg-orange-500:focus{background-color:var(--orange-500)!important}.focus\:bg-orange-600:focus{background-color:var(--orange-600)!important}.focus\:bg-orange-700:focus{background-color:var(--orange-700)!important}.focus\:bg-orange-800:focus{background-color:var(--orange-800)!important}.focus\:bg-orange-900:focus{background-color:var(--orange-900)!important}.hover\:bg-orange-50:hover{background-color:var(--orange-50)!important}.hover\:bg-orange-100:hover{background-color:var(--orange-100)!important}.hover\:bg-orange-200:hover{background-color:var(--orange-200)!important}.hover\:bg-orange-300:hover{background-color:var(--orange-300)!important}.hover\:bg-orange-400:hover{background-color:var(--orange-400)!important}.hover\:bg-orange-500:hover{background-color:var(--orange-500)!important}.hover\:bg-orange-600:hover{background-color:var(--orange-600)!important}.hover\:bg-orange-700:hover{background-color:var(--orange-700)!important}.hover\:bg-orange-800:hover{background-color:var(--orange-800)!important}.hover\:bg-orange-900:hover{background-color:var(--orange-900)!important}.active\:bg-orange-50:active{background-color:var(--orange-50)!important}.active\:bg-orange-100:active{background-color:var(--orange-100)!important}.active\:bg-orange-200:active{background-color:var(--orange-200)!important}.active\:bg-orange-300:active{background-color:var(--orange-300)!important}.active\:bg-orange-400:active{background-color:var(--orange-400)!important}.active\:bg-orange-500:active{background-color:var(--orange-500)!important}.active\:bg-orange-600:active{background-color:var(--orange-600)!important}.active\:bg-orange-700:active{background-color:var(--orange-700)!important}.active\:bg-orange-800:active{background-color:var(--orange-800)!important}.active\:bg-orange-900:active{background-color:var(--orange-900)!important}.bg-bluegray-50{background-color:var(--bluegray-50)!important}.bg-bluegray-100{background-color:var(--bluegray-100)!important}.bg-bluegray-200{background-color:var(--bluegray-200)!important}.bg-bluegray-300{background-color:var(--bluegray-300)!important}.bg-bluegray-400{background-color:var(--bluegray-400)!important}.bg-bluegray-500{background-color:var(--bluegray-500)!important}.bg-bluegray-600{background-color:var(--bluegray-600)!important}.bg-bluegray-700{background-color:var(--bluegray-700)!important}.bg-bluegray-800{background-color:var(--bluegray-800)!important}.bg-bluegray-900{background-color:var(--bluegray-900)!important}.focus\:bg-bluegray-50:focus{background-color:var(--bluegray-50)!important}.focus\:bg-bluegray-100:focus{background-color:var(--bluegray-100)!important}.focus\:bg-bluegray-200:focus{background-color:var(--bluegray-200)!important}.focus\:bg-bluegray-300:focus{background-color:var(--bluegray-300)!important}.focus\:bg-bluegray-400:focus{background-color:var(--bluegray-400)!important}.focus\:bg-bluegray-500:focus{background-color:var(--bluegray-500)!important}.focus\:bg-bluegray-600:focus{background-color:var(--bluegray-600)!important}.focus\:bg-bluegray-700:focus{background-color:var(--bluegray-700)!important}.focus\:bg-bluegray-800:focus{background-color:var(--bluegray-800)!important}.focus\:bg-bluegray-900:focus{background-color:var(--bluegray-900)!important}.hover\:bg-bluegray-50:hover{background-color:var(--bluegray-50)!important}.hover\:bg-bluegray-100:hover{background-color:var(--bluegray-100)!important}.hover\:bg-bluegray-200:hover{background-color:var(--bluegray-200)!important}.hover\:bg-bluegray-300:hover{background-color:var(--bluegray-300)!important}.hover\:bg-bluegray-400:hover{background-color:var(--bluegray-400)!important}.hover\:bg-bluegray-500:hover{background-color:var(--bluegray-500)!important}.hover\:bg-bluegray-600:hover{background-color:var(--bluegray-600)!important}.hover\:bg-bluegray-700:hover{background-color:var(--bluegray-700)!important}.hover\:bg-bluegray-800:hover{background-color:var(--bluegray-800)!important}.hover\:bg-bluegray-900:hover{background-color:var(--bluegray-900)!important}.active\:bg-bluegray-50:active{background-color:var(--bluegray-50)!important}.active\:bg-bluegray-100:active{background-color:var(--bluegray-100)!important}.active\:bg-bluegray-200:active{background-color:var(--bluegray-200)!important}.active\:bg-bluegray-300:active{background-color:var(--bluegray-300)!important}.active\:bg-bluegray-400:active{background-color:var(--bluegray-400)!important}.active\:bg-bluegray-500:active{background-color:var(--bluegray-500)!important}.active\:bg-bluegray-600:active{background-color:var(--bluegray-600)!important}.active\:bg-bluegray-700:active{background-color:var(--bluegray-700)!important}.active\:bg-bluegray-800:active{background-color:var(--bluegray-800)!important}.active\:bg-bluegray-900:active{background-color:var(--bluegray-900)!important}.bg-purple-50{background-color:var(--purple-50)!important}.bg-purple-100{background-color:var(--purple-100)!important}.bg-purple-200{background-color:var(--purple-200)!important}.bg-purple-300{background-color:var(--purple-300)!important}.bg-purple-400{background-color:var(--purple-400)!important}.bg-purple-500{background-color:var(--purple-500)!important}.bg-purple-600{background-color:var(--purple-600)!important}.bg-purple-700{background-color:var(--purple-700)!important}.bg-purple-800{background-color:var(--purple-800)!important}.bg-purple-900{background-color:var(--purple-900)!important}.focus\:bg-purple-50:focus{background-color:var(--purple-50)!important}.focus\:bg-purple-100:focus{background-color:var(--purple-100)!important}.focus\:bg-purple-200:focus{background-color:var(--purple-200)!important}.focus\:bg-purple-300:focus{background-color:var(--purple-300)!important}.focus\:bg-purple-400:focus{background-color:var(--purple-400)!important}.focus\:bg-purple-500:focus{background-color:var(--purple-500)!important}.focus\:bg-purple-600:focus{background-color:var(--purple-600)!important}.focus\:bg-purple-700:focus{background-color:var(--purple-700)!important}.focus\:bg-purple-800:focus{background-color:var(--purple-800)!important}.focus\:bg-purple-900:focus{background-color:var(--purple-900)!important}.hover\:bg-purple-50:hover{background-color:var(--purple-50)!important}.hover\:bg-purple-100:hover{background-color:var(--purple-100)!important}.hover\:bg-purple-200:hover{background-color:var(--purple-200)!important}.hover\:bg-purple-300:hover{background-color:var(--purple-300)!important}.hover\:bg-purple-400:hover{background-color:var(--purple-400)!important}.hover\:bg-purple-500:hover{background-color:var(--purple-500)!important}.hover\:bg-purple-600:hover{background-color:var(--purple-600)!important}.hover\:bg-purple-700:hover{background-color:var(--purple-700)!important}.hover\:bg-purple-800:hover{background-color:var(--purple-800)!important}.hover\:bg-purple-900:hover{background-color:var(--purple-900)!important}.active\:bg-purple-50:active{background-color:var(--purple-50)!important}.active\:bg-purple-100:active{background-color:var(--purple-100)!important}.active\:bg-purple-200:active{background-color:var(--purple-200)!important}.active\:bg-purple-300:active{background-color:var(--purple-300)!important}.active\:bg-purple-400:active{background-color:var(--purple-400)!important}.active\:bg-purple-500:active{background-color:var(--purple-500)!important}.active\:bg-purple-600:active{background-color:var(--purple-600)!important}.active\:bg-purple-700:active{background-color:var(--purple-700)!important}.active\:bg-purple-800:active{background-color:var(--purple-800)!important}.active\:bg-purple-900:active{background-color:var(--purple-900)!important}.bg-gray-50{background-color:var(--gray-50)!important}.bg-gray-100{background-color:var(--gray-100)!important}.bg-gray-200{background-color:var(--gray-200)!important}.bg-gray-300{background-color:var(--gray-300)!important}.bg-gray-400{background-color:var(--gray-400)!important}.bg-gray-500{background-color:var(--gray-500)!important}.bg-gray-600{background-color:var(--gray-600)!important}.bg-gray-700{background-color:var(--gray-700)!important}.bg-gray-800{background-color:var(--gray-800)!important}.bg-gray-900{background-color:var(--gray-900)!important}.focus\:bg-gray-50:focus{background-color:var(--gray-50)!important}.focus\:bg-gray-100:focus{background-color:var(--gray-100)!important}.focus\:bg-gray-200:focus{background-color:var(--gray-200)!important}.focus\:bg-gray-300:focus{background-color:var(--gray-300)!important}.focus\:bg-gray-400:focus{background-color:var(--gray-400)!important}.focus\:bg-gray-500:focus{background-color:var(--gray-500)!important}.focus\:bg-gray-600:focus{background-color:var(--gray-600)!important}.focus\:bg-gray-700:focus{background-color:var(--gray-700)!important}.focus\:bg-gray-800:focus{background-color:var(--gray-800)!important}.focus\:bg-gray-900:focus{background-color:var(--gray-900)!important}.hover\:bg-gray-50:hover{background-color:var(--gray-50)!important}.hover\:bg-gray-100:hover{background-color:var(--gray-100)!important}.hover\:bg-gray-200:hover{background-color:var(--gray-200)!important}.hover\:bg-gray-300:hover{background-color:var(--gray-300)!important}.hover\:bg-gray-400:hover{background-color:var(--gray-400)!important}.hover\:bg-gray-500:hover{background-color:var(--gray-500)!important}.hover\:bg-gray-600:hover{background-color:var(--gray-600)!important}.hover\:bg-gray-700:hover{background-color:var(--gray-700)!important}.hover\:bg-gray-800:hover{background-color:var(--gray-800)!important}.hover\:bg-gray-900:hover{background-color:var(--gray-900)!important}.active\:bg-gray-50:active{background-color:var(--gray-50)!important}.active\:bg-gray-100:active{background-color:var(--gray-100)!important}.active\:bg-gray-200:active{background-color:var(--gray-200)!important}.active\:bg-gray-300:active{background-color:var(--gray-300)!important}.active\:bg-gray-400:active{background-color:var(--gray-400)!important}.active\:bg-gray-500:active{background-color:var(--gray-500)!important}.active\:bg-gray-600:active{background-color:var(--gray-600)!important}.active\:bg-gray-700:active{background-color:var(--gray-700)!important}.active\:bg-gray-800:active{background-color:var(--gray-800)!important}.active\:bg-gray-900:active{background-color:var(--gray-900)!important}.bg-red-50{background-color:var(--red-50)!important}.bg-red-100{background-color:var(--red-100)!important}.bg-red-200{background-color:var(--red-200)!important}.bg-red-300{background-color:var(--red-300)!important}.bg-red-400{background-color:var(--red-400)!important}.bg-red-500{background-color:var(--red-500)!important}.bg-red-600{background-color:var(--red-600)!important}.bg-red-700{background-color:var(--red-700)!important}.bg-red-800{background-color:var(--red-800)!important}.bg-red-900{background-color:var(--red-900)!important}.focus\:bg-red-50:focus{background-color:var(--red-50)!important}.focus\:bg-red-100:focus{background-color:var(--red-100)!important}.focus\:bg-red-200:focus{background-color:var(--red-200)!important}.focus\:bg-red-300:focus{background-color:var(--red-300)!important}.focus\:bg-red-400:focus{background-color:var(--red-400)!important}.focus\:bg-red-500:focus{background-color:var(--red-500)!important}.focus\:bg-red-600:focus{background-color:var(--red-600)!important}.focus\:bg-red-700:focus{background-color:var(--red-700)!important}.focus\:bg-red-800:focus{background-color:var(--red-800)!important}.focus\:bg-red-900:focus{background-color:var(--red-900)!important}.hover\:bg-red-50:hover{background-color:var(--red-50)!important}.hover\:bg-red-100:hover{background-color:var(--red-100)!important}.hover\:bg-red-200:hover{background-color:var(--red-200)!important}.hover\:bg-red-300:hover{background-color:var(--red-300)!important}.hover\:bg-red-400:hover{background-color:var(--red-400)!important}.hover\:bg-red-500:hover{background-color:var(--red-500)!important}.hover\:bg-red-600:hover{background-color:var(--red-600)!important}.hover\:bg-red-700:hover{background-color:var(--red-700)!important}.hover\:bg-red-800:hover{background-color:var(--red-800)!important}.hover\:bg-red-900:hover{background-color:var(--red-900)!important}.active\:bg-red-50:active{background-color:var(--red-50)!important}.active\:bg-red-100:active{background-color:var(--red-100)!important}.active\:bg-red-200:active{background-color:var(--red-200)!important}.active\:bg-red-300:active{background-color:var(--red-300)!important}.active\:bg-red-400:active{background-color:var(--red-400)!important}.active\:bg-red-500:active{background-color:var(--red-500)!important}.active\:bg-red-600:active{background-color:var(--red-600)!important}.active\:bg-red-700:active{background-color:var(--red-700)!important}.active\:bg-red-800:active{background-color:var(--red-800)!important}.active\:bg-red-900:active{background-color:var(--red-900)!important}.bg-primary-50{background-color:var(--primary-50)!important}.bg-primary-100{background-color:var(--primary-100)!important}.bg-primary-200{background-color:var(--primary-200)!important}.bg-primary-300{background-color:var(--primary-300)!important}.bg-primary-400{background-color:var(--primary-400)!important}.bg-primary-500{background-color:var(--primary-500)!important}.bg-primary-600{background-color:var(--primary-600)!important}.bg-primary-700{background-color:var(--primary-700)!important}.bg-primary-800{background-color:var(--primary-800)!important}.bg-primary-900{background-color:var(--primary-900)!important}.focus\:bg-primary-50:focus{background-color:var(--primary-50)!important}.focus\:bg-primary-100:focus{background-color:var(--primary-100)!important}.focus\:bg-primary-200:focus{background-color:var(--primary-200)!important}.focus\:bg-primary-300:focus{background-color:var(--primary-300)!important}.focus\:bg-primary-400:focus{background-color:var(--primary-400)!important}.focus\:bg-primary-500:focus{background-color:var(--primary-500)!important}.focus\:bg-primary-600:focus{background-color:var(--primary-600)!important}.focus\:bg-primary-700:focus{background-color:var(--primary-700)!important}.focus\:bg-primary-800:focus{background-color:var(--primary-800)!important}.focus\:bg-primary-900:focus{background-color:var(--primary-900)!important}.hover\:bg-primary-50:hover{background-color:var(--primary-50)!important}.hover\:bg-primary-100:hover{background-color:var(--primary-100)!important}.hover\:bg-primary-200:hover{background-color:var(--primary-200)!important}.hover\:bg-primary-300:hover{background-color:var(--primary-300)!important}.hover\:bg-primary-400:hover{background-color:var(--primary-400)!important}.hover\:bg-primary-500:hover{background-color:var(--primary-500)!important}.hover\:bg-primary-600:hover{background-color:var(--primary-600)!important}.hover\:bg-primary-700:hover{background-color:var(--primary-700)!important}.hover\:bg-primary-800:hover{background-color:var(--primary-800)!important}.hover\:bg-primary-900:hover{background-color:var(--primary-900)!important}.active\:bg-primary-50:active{background-color:var(--primary-50)!important}.active\:bg-primary-100:active{background-color:var(--primary-100)!important}.active\:bg-primary-200:active{background-color:var(--primary-200)!important}.active\:bg-primary-300:active{background-color:var(--primary-300)!important}.active\:bg-primary-400:active{background-color:var(--primary-400)!important}.active\:bg-primary-500:active{background-color:var(--primary-500)!important}.active\:bg-primary-600:active{background-color:var(--primary-600)!important}.active\:bg-primary-700:active{background-color:var(--primary-700)!important}.active\:bg-primary-800:active{background-color:var(--primary-800)!important}.active\:bg-primary-900:active{background-color:var(--primary-900)!important}.border-blue-50{border-color:var(--blue-50)!important}.border-blue-100{border-color:var(--blue-100)!important}.border-blue-200{border-color:var(--blue-200)!important}.border-blue-300{border-color:var(--blue-300)!important}.border-blue-400{border-color:var(--blue-400)!important}.border-blue-500{border-color:var(--blue-500)!important}.border-blue-600{border-color:var(--blue-600)!important}.border-blue-700{border-color:var(--blue-700)!important}.border-blue-800{border-color:var(--blue-800)!important}.border-blue-900{border-color:var(--blue-900)!important}.focus\:border-blue-50:focus{border-color:var(--blue-50)!important}.focus\:border-blue-100:focus{border-color:var(--blue-100)!important}.focus\:border-blue-200:focus{border-color:var(--blue-200)!important}.focus\:border-blue-300:focus{border-color:var(--blue-300)!important}.focus\:border-blue-400:focus{border-color:var(--blue-400)!important}.focus\:border-blue-500:focus{border-color:var(--blue-500)!important}.focus\:border-blue-600:focus{border-color:var(--blue-600)!important}.focus\:border-blue-700:focus{border-color:var(--blue-700)!important}.focus\:border-blue-800:focus{border-color:var(--blue-800)!important}.focus\:border-blue-900:focus{border-color:var(--blue-900)!important}.hover\:border-blue-50:hover{border-color:var(--blue-50)!important}.hover\:border-blue-100:hover{border-color:var(--blue-100)!important}.hover\:border-blue-200:hover{border-color:var(--blue-200)!important}.hover\:border-blue-300:hover{border-color:var(--blue-300)!important}.hover\:border-blue-400:hover{border-color:var(--blue-400)!important}.hover\:border-blue-500:hover{border-color:var(--blue-500)!important}.hover\:border-blue-600:hover{border-color:var(--blue-600)!important}.hover\:border-blue-700:hover{border-color:var(--blue-700)!important}.hover\:border-blue-800:hover{border-color:var(--blue-800)!important}.hover\:border-blue-900:hover{border-color:var(--blue-900)!important}.active\:border-blue-50:active{border-color:var(--blue-50)!important}.active\:border-blue-100:active{border-color:var(--blue-100)!important}.active\:border-blue-200:active{border-color:var(--blue-200)!important}.active\:border-blue-300:active{border-color:var(--blue-300)!important}.active\:border-blue-400:active{border-color:var(--blue-400)!important}.active\:border-blue-500:active{border-color:var(--blue-500)!important}.active\:border-blue-600:active{border-color:var(--blue-600)!important}.active\:border-blue-700:active{border-color:var(--blue-700)!important}.active\:border-blue-800:active{border-color:var(--blue-800)!important}.active\:border-blue-900:active{border-color:var(--blue-900)!important}.border-green-50{border-color:var(--green-50)!important}.border-green-100{border-color:var(--green-100)!important}.border-green-200{border-color:var(--green-200)!important}.border-green-300{border-color:var(--green-300)!important}.border-green-400{border-color:var(--green-400)!important}.border-green-500{border-color:var(--green-500)!important}.border-green-600{border-color:var(--green-600)!important}.border-green-700{border-color:var(--green-700)!important}.border-green-800{border-color:var(--green-800)!important}.border-green-900{border-color:var(--green-900)!important}.focus\:border-green-50:focus{border-color:var(--green-50)!important}.focus\:border-green-100:focus{border-color:var(--green-100)!important}.focus\:border-green-200:focus{border-color:var(--green-200)!important}.focus\:border-green-300:focus{border-color:var(--green-300)!important}.focus\:border-green-400:focus{border-color:var(--green-400)!important}.focus\:border-green-500:focus{border-color:var(--green-500)!important}.focus\:border-green-600:focus{border-color:var(--green-600)!important}.focus\:border-green-700:focus{border-color:var(--green-700)!important}.focus\:border-green-800:focus{border-color:var(--green-800)!important}.focus\:border-green-900:focus{border-color:var(--green-900)!important}.hover\:border-green-50:hover{border-color:var(--green-50)!important}.hover\:border-green-100:hover{border-color:var(--green-100)!important}.hover\:border-green-200:hover{border-color:var(--green-200)!important}.hover\:border-green-300:hover{border-color:var(--green-300)!important}.hover\:border-green-400:hover{border-color:var(--green-400)!important}.hover\:border-green-500:hover{border-color:var(--green-500)!important}.hover\:border-green-600:hover{border-color:var(--green-600)!important}.hover\:border-green-700:hover{border-color:var(--green-700)!important}.hover\:border-green-800:hover{border-color:var(--green-800)!important}.hover\:border-green-900:hover{border-color:var(--green-900)!important}.active\:border-green-50:active{border-color:var(--green-50)!important}.active\:border-green-100:active{border-color:var(--green-100)!important}.active\:border-green-200:active{border-color:var(--green-200)!important}.active\:border-green-300:active{border-color:var(--green-300)!important}.active\:border-green-400:active{border-color:var(--green-400)!important}.active\:border-green-500:active{border-color:var(--green-500)!important}.active\:border-green-600:active{border-color:var(--green-600)!important}.active\:border-green-700:active{border-color:var(--green-700)!important}.active\:border-green-800:active{border-color:var(--green-800)!important}.active\:border-green-900:active{border-color:var(--green-900)!important}.border-yellow-50{border-color:var(--yellow-50)!important}.border-yellow-100{border-color:var(--yellow-100)!important}.border-yellow-200{border-color:var(--yellow-200)!important}.border-yellow-300{border-color:var(--yellow-300)!important}.border-yellow-400{border-color:var(--yellow-400)!important}.border-yellow-500{border-color:var(--yellow-500)!important}.border-yellow-600{border-color:var(--yellow-600)!important}.border-yellow-700{border-color:var(--yellow-700)!important}.border-yellow-800{border-color:var(--yellow-800)!important}.border-yellow-900{border-color:var(--yellow-900)!important}.focus\:border-yellow-50:focus{border-color:var(--yellow-50)!important}.focus\:border-yellow-100:focus{border-color:var(--yellow-100)!important}.focus\:border-yellow-200:focus{border-color:var(--yellow-200)!important}.focus\:border-yellow-300:focus{border-color:var(--yellow-300)!important}.focus\:border-yellow-400:focus{border-color:var(--yellow-400)!important}.focus\:border-yellow-500:focus{border-color:var(--yellow-500)!important}.focus\:border-yellow-600:focus{border-color:var(--yellow-600)!important}.focus\:border-yellow-700:focus{border-color:var(--yellow-700)!important}.focus\:border-yellow-800:focus{border-color:var(--yellow-800)!important}.focus\:border-yellow-900:focus{border-color:var(--yellow-900)!important}.hover\:border-yellow-50:hover{border-color:var(--yellow-50)!important}.hover\:border-yellow-100:hover{border-color:var(--yellow-100)!important}.hover\:border-yellow-200:hover{border-color:var(--yellow-200)!important}.hover\:border-yellow-300:hover{border-color:var(--yellow-300)!important}.hover\:border-yellow-400:hover{border-color:var(--yellow-400)!important}.hover\:border-yellow-500:hover{border-color:var(--yellow-500)!important}.hover\:border-yellow-600:hover{border-color:var(--yellow-600)!important}.hover\:border-yellow-700:hover{border-color:var(--yellow-700)!important}.hover\:border-yellow-800:hover{border-color:var(--yellow-800)!important}.hover\:border-yellow-900:hover{border-color:var(--yellow-900)!important}.active\:border-yellow-50:active{border-color:var(--yellow-50)!important}.active\:border-yellow-100:active{border-color:var(--yellow-100)!important}.active\:border-yellow-200:active{border-color:var(--yellow-200)!important}.active\:border-yellow-300:active{border-color:var(--yellow-300)!important}.active\:border-yellow-400:active{border-color:var(--yellow-400)!important}.active\:border-yellow-500:active{border-color:var(--yellow-500)!important}.active\:border-yellow-600:active{border-color:var(--yellow-600)!important}.active\:border-yellow-700:active{border-color:var(--yellow-700)!important}.active\:border-yellow-800:active{border-color:var(--yellow-800)!important}.active\:border-yellow-900:active{border-color:var(--yellow-900)!important}.border-cyan-50{border-color:var(--cyan-50)!important}.border-cyan-100{border-color:var(--cyan-100)!important}.border-cyan-200{border-color:var(--cyan-200)!important}.border-cyan-300{border-color:var(--cyan-300)!important}.border-cyan-400{border-color:var(--cyan-400)!important}.border-cyan-500{border-color:var(--cyan-500)!important}.border-cyan-600{border-color:var(--cyan-600)!important}.border-cyan-700{border-color:var(--cyan-700)!important}.border-cyan-800{border-color:var(--cyan-800)!important}.border-cyan-900{border-color:var(--cyan-900)!important}.focus\:border-cyan-50:focus{border-color:var(--cyan-50)!important}.focus\:border-cyan-100:focus{border-color:var(--cyan-100)!important}.focus\:border-cyan-200:focus{border-color:var(--cyan-200)!important}.focus\:border-cyan-300:focus{border-color:var(--cyan-300)!important}.focus\:border-cyan-400:focus{border-color:var(--cyan-400)!important}.focus\:border-cyan-500:focus{border-color:var(--cyan-500)!important}.focus\:border-cyan-600:focus{border-color:var(--cyan-600)!important}.focus\:border-cyan-700:focus{border-color:var(--cyan-700)!important}.focus\:border-cyan-800:focus{border-color:var(--cyan-800)!important}.focus\:border-cyan-900:focus{border-color:var(--cyan-900)!important}.hover\:border-cyan-50:hover{border-color:var(--cyan-50)!important}.hover\:border-cyan-100:hover{border-color:var(--cyan-100)!important}.hover\:border-cyan-200:hover{border-color:var(--cyan-200)!important}.hover\:border-cyan-300:hover{border-color:var(--cyan-300)!important}.hover\:border-cyan-400:hover{border-color:var(--cyan-400)!important}.hover\:border-cyan-500:hover{border-color:var(--cyan-500)!important}.hover\:border-cyan-600:hover{border-color:var(--cyan-600)!important}.hover\:border-cyan-700:hover{border-color:var(--cyan-700)!important}.hover\:border-cyan-800:hover{border-color:var(--cyan-800)!important}.hover\:border-cyan-900:hover{border-color:var(--cyan-900)!important}.active\:border-cyan-50:active{border-color:var(--cyan-50)!important}.active\:border-cyan-100:active{border-color:var(--cyan-100)!important}.active\:border-cyan-200:active{border-color:var(--cyan-200)!important}.active\:border-cyan-300:active{border-color:var(--cyan-300)!important}.active\:border-cyan-400:active{border-color:var(--cyan-400)!important}.active\:border-cyan-500:active{border-color:var(--cyan-500)!important}.active\:border-cyan-600:active{border-color:var(--cyan-600)!important}.active\:border-cyan-700:active{border-color:var(--cyan-700)!important}.active\:border-cyan-800:active{border-color:var(--cyan-800)!important}.active\:border-cyan-900:active{border-color:var(--cyan-900)!important}.border-pink-50{border-color:var(--pink-50)!important}.border-pink-100{border-color:var(--pink-100)!important}.border-pink-200{border-color:var(--pink-200)!important}.border-pink-300{border-color:var(--pink-300)!important}.border-pink-400{border-color:var(--pink-400)!important}.border-pink-500{border-color:var(--pink-500)!important}.border-pink-600{border-color:var(--pink-600)!important}.border-pink-700{border-color:var(--pink-700)!important}.border-pink-800{border-color:var(--pink-800)!important}.border-pink-900{border-color:var(--pink-900)!important}.focus\:border-pink-50:focus{border-color:var(--pink-50)!important}.focus\:border-pink-100:focus{border-color:var(--pink-100)!important}.focus\:border-pink-200:focus{border-color:var(--pink-200)!important}.focus\:border-pink-300:focus{border-color:var(--pink-300)!important}.focus\:border-pink-400:focus{border-color:var(--pink-400)!important}.focus\:border-pink-500:focus{border-color:var(--pink-500)!important}.focus\:border-pink-600:focus{border-color:var(--pink-600)!important}.focus\:border-pink-700:focus{border-color:var(--pink-700)!important}.focus\:border-pink-800:focus{border-color:var(--pink-800)!important}.focus\:border-pink-900:focus{border-color:var(--pink-900)!important}.hover\:border-pink-50:hover{border-color:var(--pink-50)!important}.hover\:border-pink-100:hover{border-color:var(--pink-100)!important}.hover\:border-pink-200:hover{border-color:var(--pink-200)!important}.hover\:border-pink-300:hover{border-color:var(--pink-300)!important}.hover\:border-pink-400:hover{border-color:var(--pink-400)!important}.hover\:border-pink-500:hover{border-color:var(--pink-500)!important}.hover\:border-pink-600:hover{border-color:var(--pink-600)!important}.hover\:border-pink-700:hover{border-color:var(--pink-700)!important}.hover\:border-pink-800:hover{border-color:var(--pink-800)!important}.hover\:border-pink-900:hover{border-color:var(--pink-900)!important}.active\:border-pink-50:active{border-color:var(--pink-50)!important}.active\:border-pink-100:active{border-color:var(--pink-100)!important}.active\:border-pink-200:active{border-color:var(--pink-200)!important}.active\:border-pink-300:active{border-color:var(--pink-300)!important}.active\:border-pink-400:active{border-color:var(--pink-400)!important}.active\:border-pink-500:active{border-color:var(--pink-500)!important}.active\:border-pink-600:active{border-color:var(--pink-600)!important}.active\:border-pink-700:active{border-color:var(--pink-700)!important}.active\:border-pink-800:active{border-color:var(--pink-800)!important}.active\:border-pink-900:active{border-color:var(--pink-900)!important}.border-indigo-50{border-color:var(--indigo-50)!important}.border-indigo-100{border-color:var(--indigo-100)!important}.border-indigo-200{border-color:var(--indigo-200)!important}.border-indigo-300{border-color:var(--indigo-300)!important}.border-indigo-400{border-color:var(--indigo-400)!important}.border-indigo-500{border-color:var(--indigo-500)!important}.border-indigo-600{border-color:var(--indigo-600)!important}.border-indigo-700{border-color:var(--indigo-700)!important}.border-indigo-800{border-color:var(--indigo-800)!important}.border-indigo-900{border-color:var(--indigo-900)!important}.focus\:border-indigo-50:focus{border-color:var(--indigo-50)!important}.focus\:border-indigo-100:focus{border-color:var(--indigo-100)!important}.focus\:border-indigo-200:focus{border-color:var(--indigo-200)!important}.focus\:border-indigo-300:focus{border-color:var(--indigo-300)!important}.focus\:border-indigo-400:focus{border-color:var(--indigo-400)!important}.focus\:border-indigo-500:focus{border-color:var(--indigo-500)!important}.focus\:border-indigo-600:focus{border-color:var(--indigo-600)!important}.focus\:border-indigo-700:focus{border-color:var(--indigo-700)!important}.focus\:border-indigo-800:focus{border-color:var(--indigo-800)!important}.focus\:border-indigo-900:focus{border-color:var(--indigo-900)!important}.hover\:border-indigo-50:hover{border-color:var(--indigo-50)!important}.hover\:border-indigo-100:hover{border-color:var(--indigo-100)!important}.hover\:border-indigo-200:hover{border-color:var(--indigo-200)!important}.hover\:border-indigo-300:hover{border-color:var(--indigo-300)!important}.hover\:border-indigo-400:hover{border-color:var(--indigo-400)!important}.hover\:border-indigo-500:hover{border-color:var(--indigo-500)!important}.hover\:border-indigo-600:hover{border-color:var(--indigo-600)!important}.hover\:border-indigo-700:hover{border-color:var(--indigo-700)!important}.hover\:border-indigo-800:hover{border-color:var(--indigo-800)!important}.hover\:border-indigo-900:hover{border-color:var(--indigo-900)!important}.active\:border-indigo-50:active{border-color:var(--indigo-50)!important}.active\:border-indigo-100:active{border-color:var(--indigo-100)!important}.active\:border-indigo-200:active{border-color:var(--indigo-200)!important}.active\:border-indigo-300:active{border-color:var(--indigo-300)!important}.active\:border-indigo-400:active{border-color:var(--indigo-400)!important}.active\:border-indigo-500:active{border-color:var(--indigo-500)!important}.active\:border-indigo-600:active{border-color:var(--indigo-600)!important}.active\:border-indigo-700:active{border-color:var(--indigo-700)!important}.active\:border-indigo-800:active{border-color:var(--indigo-800)!important}.active\:border-indigo-900:active{border-color:var(--indigo-900)!important}.border-teal-50{border-color:var(--teal-50)!important}.border-teal-100{border-color:var(--teal-100)!important}.border-teal-200{border-color:var(--teal-200)!important}.border-teal-300{border-color:var(--teal-300)!important}.border-teal-400{border-color:var(--teal-400)!important}.border-teal-500{border-color:var(--teal-500)!important}.border-teal-600{border-color:var(--teal-600)!important}.border-teal-700{border-color:var(--teal-700)!important}.border-teal-800{border-color:var(--teal-800)!important}.border-teal-900{border-color:var(--teal-900)!important}.focus\:border-teal-50:focus{border-color:var(--teal-50)!important}.focus\:border-teal-100:focus{border-color:var(--teal-100)!important}.focus\:border-teal-200:focus{border-color:var(--teal-200)!important}.focus\:border-teal-300:focus{border-color:var(--teal-300)!important}.focus\:border-teal-400:focus{border-color:var(--teal-400)!important}.focus\:border-teal-500:focus{border-color:var(--teal-500)!important}.focus\:border-teal-600:focus{border-color:var(--teal-600)!important}.focus\:border-teal-700:focus{border-color:var(--teal-700)!important}.focus\:border-teal-800:focus{border-color:var(--teal-800)!important}.focus\:border-teal-900:focus{border-color:var(--teal-900)!important}.hover\:border-teal-50:hover{border-color:var(--teal-50)!important}.hover\:border-teal-100:hover{border-color:var(--teal-100)!important}.hover\:border-teal-200:hover{border-color:var(--teal-200)!important}.hover\:border-teal-300:hover{border-color:var(--teal-300)!important}.hover\:border-teal-400:hover{border-color:var(--teal-400)!important}.hover\:border-teal-500:hover{border-color:var(--teal-500)!important}.hover\:border-teal-600:hover{border-color:var(--teal-600)!important}.hover\:border-teal-700:hover{border-color:var(--teal-700)!important}.hover\:border-teal-800:hover{border-color:var(--teal-800)!important}.hover\:border-teal-900:hover{border-color:var(--teal-900)!important}.active\:border-teal-50:active{border-color:var(--teal-50)!important}.active\:border-teal-100:active{border-color:var(--teal-100)!important}.active\:border-teal-200:active{border-color:var(--teal-200)!important}.active\:border-teal-300:active{border-color:var(--teal-300)!important}.active\:border-teal-400:active{border-color:var(--teal-400)!important}.active\:border-teal-500:active{border-color:var(--teal-500)!important}.active\:border-teal-600:active{border-color:var(--teal-600)!important}.active\:border-teal-700:active{border-color:var(--teal-700)!important}.active\:border-teal-800:active{border-color:var(--teal-800)!important}.active\:border-teal-900:active{border-color:var(--teal-900)!important}.border-orange-50{border-color:var(--orange-50)!important}.border-orange-100{border-color:var(--orange-100)!important}.border-orange-200{border-color:var(--orange-200)!important}.border-orange-300{border-color:var(--orange-300)!important}.border-orange-400{border-color:var(--orange-400)!important}.border-orange-500{border-color:var(--orange-500)!important}.border-orange-600{border-color:var(--orange-600)!important}.border-orange-700{border-color:var(--orange-700)!important}.border-orange-800{border-color:var(--orange-800)!important}.border-orange-900{border-color:var(--orange-900)!important}.focus\:border-orange-50:focus{border-color:var(--orange-50)!important}.focus\:border-orange-100:focus{border-color:var(--orange-100)!important}.focus\:border-orange-200:focus{border-color:var(--orange-200)!important}.focus\:border-orange-300:focus{border-color:var(--orange-300)!important}.focus\:border-orange-400:focus{border-color:var(--orange-400)!important}.focus\:border-orange-500:focus{border-color:var(--orange-500)!important}.focus\:border-orange-600:focus{border-color:var(--orange-600)!important}.focus\:border-orange-700:focus{border-color:var(--orange-700)!important}.focus\:border-orange-800:focus{border-color:var(--orange-800)!important}.focus\:border-orange-900:focus{border-color:var(--orange-900)!important}.hover\:border-orange-50:hover{border-color:var(--orange-50)!important}.hover\:border-orange-100:hover{border-color:var(--orange-100)!important}.hover\:border-orange-200:hover{border-color:var(--orange-200)!important}.hover\:border-orange-300:hover{border-color:var(--orange-300)!important}.hover\:border-orange-400:hover{border-color:var(--orange-400)!important}.hover\:border-orange-500:hover{border-color:var(--orange-500)!important}.hover\:border-orange-600:hover{border-color:var(--orange-600)!important}.hover\:border-orange-700:hover{border-color:var(--orange-700)!important}.hover\:border-orange-800:hover{border-color:var(--orange-800)!important}.hover\:border-orange-900:hover{border-color:var(--orange-900)!important}.active\:border-orange-50:active{border-color:var(--orange-50)!important}.active\:border-orange-100:active{border-color:var(--orange-100)!important}.active\:border-orange-200:active{border-color:var(--orange-200)!important}.active\:border-orange-300:active{border-color:var(--orange-300)!important}.active\:border-orange-400:active{border-color:var(--orange-400)!important}.active\:border-orange-500:active{border-color:var(--orange-500)!important}.active\:border-orange-600:active{border-color:var(--orange-600)!important}.active\:border-orange-700:active{border-color:var(--orange-700)!important}.active\:border-orange-800:active{border-color:var(--orange-800)!important}.active\:border-orange-900:active{border-color:var(--orange-900)!important}.border-bluegray-50{border-color:var(--bluegray-50)!important}.border-bluegray-100{border-color:var(--bluegray-100)!important}.border-bluegray-200{border-color:var(--bluegray-200)!important}.border-bluegray-300{border-color:var(--bluegray-300)!important}.border-bluegray-400{border-color:var(--bluegray-400)!important}.border-bluegray-500{border-color:var(--bluegray-500)!important}.border-bluegray-600{border-color:var(--bluegray-600)!important}.border-bluegray-700{border-color:var(--bluegray-700)!important}.border-bluegray-800{border-color:var(--bluegray-800)!important}.border-bluegray-900{border-color:var(--bluegray-900)!important}.focus\:border-bluegray-50:focus{border-color:var(--bluegray-50)!important}.focus\:border-bluegray-100:focus{border-color:var(--bluegray-100)!important}.focus\:border-bluegray-200:focus{border-color:var(--bluegray-200)!important}.focus\:border-bluegray-300:focus{border-color:var(--bluegray-300)!important}.focus\:border-bluegray-400:focus{border-color:var(--bluegray-400)!important}.focus\:border-bluegray-500:focus{border-color:var(--bluegray-500)!important}.focus\:border-bluegray-600:focus{border-color:var(--bluegray-600)!important}.focus\:border-bluegray-700:focus{border-color:var(--bluegray-700)!important}.focus\:border-bluegray-800:focus{border-color:var(--bluegray-800)!important}.focus\:border-bluegray-900:focus{border-color:var(--bluegray-900)!important}.hover\:border-bluegray-50:hover{border-color:var(--bluegray-50)!important}.hover\:border-bluegray-100:hover{border-color:var(--bluegray-100)!important}.hover\:border-bluegray-200:hover{border-color:var(--bluegray-200)!important}.hover\:border-bluegray-300:hover{border-color:var(--bluegray-300)!important}.hover\:border-bluegray-400:hover{border-color:var(--bluegray-400)!important}.hover\:border-bluegray-500:hover{border-color:var(--bluegray-500)!important}.hover\:border-bluegray-600:hover{border-color:var(--bluegray-600)!important}.hover\:border-bluegray-700:hover{border-color:var(--bluegray-700)!important}.hover\:border-bluegray-800:hover{border-color:var(--bluegray-800)!important}.hover\:border-bluegray-900:hover{border-color:var(--bluegray-900)!important}.active\:border-bluegray-50:active{border-color:var(--bluegray-50)!important}.active\:border-bluegray-100:active{border-color:var(--bluegray-100)!important}.active\:border-bluegray-200:active{border-color:var(--bluegray-200)!important}.active\:border-bluegray-300:active{border-color:var(--bluegray-300)!important}.active\:border-bluegray-400:active{border-color:var(--bluegray-400)!important}.active\:border-bluegray-500:active{border-color:var(--bluegray-500)!important}.active\:border-bluegray-600:active{border-color:var(--bluegray-600)!important}.active\:border-bluegray-700:active{border-color:var(--bluegray-700)!important}.active\:border-bluegray-800:active{border-color:var(--bluegray-800)!important}.active\:border-bluegray-900:active{border-color:var(--bluegray-900)!important}.border-purple-50{border-color:var(--purple-50)!important}.border-purple-100{border-color:var(--purple-100)!important}.border-purple-200{border-color:var(--purple-200)!important}.border-purple-300{border-color:var(--purple-300)!important}.border-purple-400{border-color:var(--purple-400)!important}.border-purple-500{border-color:var(--purple-500)!important}.border-purple-600{border-color:var(--purple-600)!important}.border-purple-700{border-color:var(--purple-700)!important}.border-purple-800{border-color:var(--purple-800)!important}.border-purple-900{border-color:var(--purple-900)!important}.focus\:border-purple-50:focus{border-color:var(--purple-50)!important}.focus\:border-purple-100:focus{border-color:var(--purple-100)!important}.focus\:border-purple-200:focus{border-color:var(--purple-200)!important}.focus\:border-purple-300:focus{border-color:var(--purple-300)!important}.focus\:border-purple-400:focus{border-color:var(--purple-400)!important}.focus\:border-purple-500:focus{border-color:var(--purple-500)!important}.focus\:border-purple-600:focus{border-color:var(--purple-600)!important}.focus\:border-purple-700:focus{border-color:var(--purple-700)!important}.focus\:border-purple-800:focus{border-color:var(--purple-800)!important}.focus\:border-purple-900:focus{border-color:var(--purple-900)!important}.hover\:border-purple-50:hover{border-color:var(--purple-50)!important}.hover\:border-purple-100:hover{border-color:var(--purple-100)!important}.hover\:border-purple-200:hover{border-color:var(--purple-200)!important}.hover\:border-purple-300:hover{border-color:var(--purple-300)!important}.hover\:border-purple-400:hover{border-color:var(--purple-400)!important}.hover\:border-purple-500:hover{border-color:var(--purple-500)!important}.hover\:border-purple-600:hover{border-color:var(--purple-600)!important}.hover\:border-purple-700:hover{border-color:var(--purple-700)!important}.hover\:border-purple-800:hover{border-color:var(--purple-800)!important}.hover\:border-purple-900:hover{border-color:var(--purple-900)!important}.active\:border-purple-50:active{border-color:var(--purple-50)!important}.active\:border-purple-100:active{border-color:var(--purple-100)!important}.active\:border-purple-200:active{border-color:var(--purple-200)!important}.active\:border-purple-300:active{border-color:var(--purple-300)!important}.active\:border-purple-400:active{border-color:var(--purple-400)!important}.active\:border-purple-500:active{border-color:var(--purple-500)!important}.active\:border-purple-600:active{border-color:var(--purple-600)!important}.active\:border-purple-700:active{border-color:var(--purple-700)!important}.active\:border-purple-800:active{border-color:var(--purple-800)!important}.active\:border-purple-900:active{border-color:var(--purple-900)!important}.border-gray-50{border-color:var(--gray-50)!important}.border-gray-100{border-color:var(--gray-100)!important}.border-gray-200{border-color:var(--gray-200)!important}.border-gray-300{border-color:var(--gray-300)!important}.border-gray-400{border-color:var(--gray-400)!important}.border-gray-500{border-color:var(--gray-500)!important}.border-gray-600{border-color:var(--gray-600)!important}.border-gray-700{border-color:var(--gray-700)!important}.border-gray-800{border-color:var(--gray-800)!important}.border-gray-900{border-color:var(--gray-900)!important}.focus\:border-gray-50:focus{border-color:var(--gray-50)!important}.focus\:border-gray-100:focus{border-color:var(--gray-100)!important}.focus\:border-gray-200:focus{border-color:var(--gray-200)!important}.focus\:border-gray-300:focus{border-color:var(--gray-300)!important}.focus\:border-gray-400:focus{border-color:var(--gray-400)!important}.focus\:border-gray-500:focus{border-color:var(--gray-500)!important}.focus\:border-gray-600:focus{border-color:var(--gray-600)!important}.focus\:border-gray-700:focus{border-color:var(--gray-700)!important}.focus\:border-gray-800:focus{border-color:var(--gray-800)!important}.focus\:border-gray-900:focus{border-color:var(--gray-900)!important}.hover\:border-gray-50:hover{border-color:var(--gray-50)!important}.hover\:border-gray-100:hover{border-color:var(--gray-100)!important}.hover\:border-gray-200:hover{border-color:var(--gray-200)!important}.hover\:border-gray-300:hover{border-color:var(--gray-300)!important}.hover\:border-gray-400:hover{border-color:var(--gray-400)!important}.hover\:border-gray-500:hover{border-color:var(--gray-500)!important}.hover\:border-gray-600:hover{border-color:var(--gray-600)!important}.hover\:border-gray-700:hover{border-color:var(--gray-700)!important}.hover\:border-gray-800:hover{border-color:var(--gray-800)!important}.hover\:border-gray-900:hover{border-color:var(--gray-900)!important}.active\:border-gray-50:active{border-color:var(--gray-50)!important}.active\:border-gray-100:active{border-color:var(--gray-100)!important}.active\:border-gray-200:active{border-color:var(--gray-200)!important}.active\:border-gray-300:active{border-color:var(--gray-300)!important}.active\:border-gray-400:active{border-color:var(--gray-400)!important}.active\:border-gray-500:active{border-color:var(--gray-500)!important}.active\:border-gray-600:active{border-color:var(--gray-600)!important}.active\:border-gray-700:active{border-color:var(--gray-700)!important}.active\:border-gray-800:active{border-color:var(--gray-800)!important}.active\:border-gray-900:active{border-color:var(--gray-900)!important}.border-red-50{border-color:var(--red-50)!important}.border-red-100{border-color:var(--red-100)!important}.border-red-200{border-color:var(--red-200)!important}.border-red-300{border-color:var(--red-300)!important}.border-red-400{border-color:var(--red-400)!important}.border-red-500{border-color:var(--red-500)!important}.border-red-600{border-color:var(--red-600)!important}.border-red-700{border-color:var(--red-700)!important}.border-red-800{border-color:var(--red-800)!important}.border-red-900{border-color:var(--red-900)!important}.focus\:border-red-50:focus{border-color:var(--red-50)!important}.focus\:border-red-100:focus{border-color:var(--red-100)!important}.focus\:border-red-200:focus{border-color:var(--red-200)!important}.focus\:border-red-300:focus{border-color:var(--red-300)!important}.focus\:border-red-400:focus{border-color:var(--red-400)!important}.focus\:border-red-500:focus{border-color:var(--red-500)!important}.focus\:border-red-600:focus{border-color:var(--red-600)!important}.focus\:border-red-700:focus{border-color:var(--red-700)!important}.focus\:border-red-800:focus{border-color:var(--red-800)!important}.focus\:border-red-900:focus{border-color:var(--red-900)!important}.hover\:border-red-50:hover{border-color:var(--red-50)!important}.hover\:border-red-100:hover{border-color:var(--red-100)!important}.hover\:border-red-200:hover{border-color:var(--red-200)!important}.hover\:border-red-300:hover{border-color:var(--red-300)!important}.hover\:border-red-400:hover{border-color:var(--red-400)!important}.hover\:border-red-500:hover{border-color:var(--red-500)!important}.hover\:border-red-600:hover{border-color:var(--red-600)!important}.hover\:border-red-700:hover{border-color:var(--red-700)!important}.hover\:border-red-800:hover{border-color:var(--red-800)!important}.hover\:border-red-900:hover{border-color:var(--red-900)!important}.active\:border-red-50:active{border-color:var(--red-50)!important}.active\:border-red-100:active{border-color:var(--red-100)!important}.active\:border-red-200:active{border-color:var(--red-200)!important}.active\:border-red-300:active{border-color:var(--red-300)!important}.active\:border-red-400:active{border-color:var(--red-400)!important}.active\:border-red-500:active{border-color:var(--red-500)!important}.active\:border-red-600:active{border-color:var(--red-600)!important}.active\:border-red-700:active{border-color:var(--red-700)!important}.active\:border-red-800:active{border-color:var(--red-800)!important}.active\:border-red-900:active{border-color:var(--red-900)!important}.border-primary-50{border-color:var(--primary-50)!important}.border-primary-100{border-color:var(--primary-100)!important}.border-primary-200{border-color:var(--primary-200)!important}.border-primary-300{border-color:var(--primary-300)!important}.border-primary-400{border-color:var(--primary-400)!important}.border-primary-500{border-color:var(--primary-500)!important}.border-primary-600{border-color:var(--primary-600)!important}.border-primary-700{border-color:var(--primary-700)!important}.border-primary-800{border-color:var(--primary-800)!important}.border-primary-900{border-color:var(--primary-900)!important}.focus\:border-primary-50:focus{border-color:var(--primary-50)!important}.focus\:border-primary-100:focus{border-color:var(--primary-100)!important}.focus\:border-primary-200:focus{border-color:var(--primary-200)!important}.focus\:border-primary-300:focus{border-color:var(--primary-300)!important}.focus\:border-primary-400:focus{border-color:var(--primary-400)!important}.focus\:border-primary-500:focus{border-color:var(--primary-500)!important}.focus\:border-primary-600:focus{border-color:var(--primary-600)!important}.focus\:border-primary-700:focus{border-color:var(--primary-700)!important}.focus\:border-primary-800:focus{border-color:var(--primary-800)!important}.focus\:border-primary-900:focus{border-color:var(--primary-900)!important}.hover\:border-primary-50:hover{border-color:var(--primary-50)!important}.hover\:border-primary-100:hover{border-color:var(--primary-100)!important}.hover\:border-primary-200:hover{border-color:var(--primary-200)!important}.hover\:border-primary-300:hover{border-color:var(--primary-300)!important}.hover\:border-primary-400:hover{border-color:var(--primary-400)!important}.hover\:border-primary-500:hover{border-color:var(--primary-500)!important}.hover\:border-primary-600:hover{border-color:var(--primary-600)!important}.hover\:border-primary-700:hover{border-color:var(--primary-700)!important}.hover\:border-primary-800:hover{border-color:var(--primary-800)!important}.hover\:border-primary-900:hover{border-color:var(--primary-900)!important}.active\:border-primary-50:active{border-color:var(--primary-50)!important}.active\:border-primary-100:active{border-color:var(--primary-100)!important}.active\:border-primary-200:active{border-color:var(--primary-200)!important}.active\:border-primary-300:active{border-color:var(--primary-300)!important}.active\:border-primary-400:active{border-color:var(--primary-400)!important}.active\:border-primary-500:active{border-color:var(--primary-500)!important}.active\:border-primary-600:active{border-color:var(--primary-600)!important}.active\:border-primary-700:active{border-color:var(--primary-700)!important}.active\:border-primary-800:active{border-color:var(--primary-800)!important}.active\:border-primary-900:active{border-color:var(--primary-900)!important}.bg-white-alpha-10{background-color:#ffffff1a!important}.bg-white-alpha-20{background-color:#fff3!important}.bg-white-alpha-30{background-color:#ffffff4d!important}.bg-white-alpha-40{background-color:#fff6!important}.bg-white-alpha-50{background-color:#ffffff80!important}.bg-white-alpha-60{background-color:#fff9!important}.bg-white-alpha-70{background-color:#ffffffb3!important}.bg-white-alpha-80{background-color:#fffc!important}.bg-white-alpha-90{background-color:#ffffffe6!important}.hover\:bg-white-alpha-10:hover{background-color:#ffffff1a!important}.hover\:bg-white-alpha-20:hover{background-color:#fff3!important}.hover\:bg-white-alpha-30:hover{background-color:#ffffff4d!important}.hover\:bg-white-alpha-40:hover{background-color:#fff6!important}.hover\:bg-white-alpha-50:hover{background-color:#ffffff80!important}.hover\:bg-white-alpha-60:hover{background-color:#fff9!important}.hover\:bg-white-alpha-70:hover{background-color:#ffffffb3!important}.hover\:bg-white-alpha-80:hover{background-color:#fffc!important}.hover\:bg-white-alpha-90:hover{background-color:#ffffffe6!important}.focus\:bg-white-alpha-10:focus{background-color:#ffffff1a!important}.focus\:bg-white-alpha-20:focus{background-color:#fff3!important}.focus\:bg-white-alpha-30:focus{background-color:#ffffff4d!important}.focus\:bg-white-alpha-40:focus{background-color:#fff6!important}.focus\:bg-white-alpha-50:focus{background-color:#ffffff80!important}.focus\:bg-white-alpha-60:focus{background-color:#fff9!important}.focus\:bg-white-alpha-70:focus{background-color:#ffffffb3!important}.focus\:bg-white-alpha-80:focus{background-color:#fffc!important}.focus\:bg-white-alpha-90:focus{background-color:#ffffffe6!important}.active\:bg-white-alpha-10:active{background-color:#ffffff1a!important}.active\:bg-white-alpha-20:active{background-color:#fff3!important}.active\:bg-white-alpha-30:active{background-color:#ffffff4d!important}.active\:bg-white-alpha-40:active{background-color:#fff6!important}.active\:bg-white-alpha-50:active{background-color:#ffffff80!important}.active\:bg-white-alpha-60:active{background-color:#fff9!important}.active\:bg-white-alpha-70:active{background-color:#ffffffb3!important}.active\:bg-white-alpha-80:active{background-color:#fffc!important}.active\:bg-white-alpha-90:active{background-color:#ffffffe6!important}.bg-black-alpha-10{background-color:#0000001a!important}.bg-black-alpha-20{background-color:#0003!important}.bg-black-alpha-30{background-color:#0000004d!important}.bg-black-alpha-40{background-color:#0006!important}.bg-black-alpha-50{background-color:#00000080!important}.bg-black-alpha-60{background-color:#0009!important}.bg-black-alpha-70{background-color:#000000b3!important}.bg-black-alpha-80{background-color:#000c!important}.bg-black-alpha-90{background-color:#000000e6!important}.hover\:bg-black-alpha-10:hover{background-color:#0000001a!important}.hover\:bg-black-alpha-20:hover{background-color:#0003!important}.hover\:bg-black-alpha-30:hover{background-color:#0000004d!important}.hover\:bg-black-alpha-40:hover{background-color:#0006!important}.hover\:bg-black-alpha-50:hover{background-color:#00000080!important}.hover\:bg-black-alpha-60:hover{background-color:#0009!important}.hover\:bg-black-alpha-70:hover{background-color:#000000b3!important}.hover\:bg-black-alpha-80:hover{background-color:#000c!important}.hover\:bg-black-alpha-90:hover{background-color:#000000e6!important}.focus\:bg-black-alpha-10:focus{background-color:#0000001a!important}.focus\:bg-black-alpha-20:focus{background-color:#0003!important}.focus\:bg-black-alpha-30:focus{background-color:#0000004d!important}.focus\:bg-black-alpha-40:focus{background-color:#0006!important}.focus\:bg-black-alpha-50:focus{background-color:#00000080!important}.focus\:bg-black-alpha-60:focus{background-color:#0009!important}.focus\:bg-black-alpha-70:focus{background-color:#000000b3!important}.focus\:bg-black-alpha-80:focus{background-color:#000c!important}.focus\:bg-black-alpha-90:focus{background-color:#000000e6!important}.active\:bg-black-alpha-10:active{background-color:#0000001a!important}.active\:bg-black-alpha-20:active{background-color:#0003!important}.active\:bg-black-alpha-30:active{background-color:#0000004d!important}.active\:bg-black-alpha-40:active{background-color:#0006!important}.active\:bg-black-alpha-50:active{background-color:#00000080!important}.active\:bg-black-alpha-60:active{background-color:#0009!important}.active\:bg-black-alpha-70:active{background-color:#000000b3!important}.active\:bg-black-alpha-80:active{background-color:#000c!important}.active\:bg-black-alpha-90:active{background-color:#000000e6!important}.border-white-alpha-10{border-color:#ffffff1a!important}.border-white-alpha-20{border-color:#fff3!important}.border-white-alpha-30{border-color:#ffffff4d!important}.border-white-alpha-40{border-color:#fff6!important}.border-white-alpha-50{border-color:#ffffff80!important}.border-white-alpha-60{border-color:#fff9!important}.border-white-alpha-70{border-color:#ffffffb3!important}.border-white-alpha-80{border-color:#fffc!important}.border-white-alpha-90{border-color:#ffffffe6!important}.hover\:border-white-alpha-10:hover{border-color:#ffffff1a!important}.hover\:border-white-alpha-20:hover{border-color:#fff3!important}.hover\:border-white-alpha-30:hover{border-color:#ffffff4d!important}.hover\:border-white-alpha-40:hover{border-color:#fff6!important}.hover\:border-white-alpha-50:hover{border-color:#ffffff80!important}.hover\:border-white-alpha-60:hover{border-color:#fff9!important}.hover\:border-white-alpha-70:hover{border-color:#ffffffb3!important}.hover\:border-white-alpha-80:hover{border-color:#fffc!important}.hover\:border-white-alpha-90:hover{border-color:#ffffffe6!important}.focus\:border-white-alpha-10:focus{border-color:#ffffff1a!important}.focus\:border-white-alpha-20:focus{border-color:#fff3!important}.focus\:border-white-alpha-30:focus{border-color:#ffffff4d!important}.focus\:border-white-alpha-40:focus{border-color:#fff6!important}.focus\:border-white-alpha-50:focus{border-color:#ffffff80!important}.focus\:border-white-alpha-60:focus{border-color:#fff9!important}.focus\:border-white-alpha-70:focus{border-color:#ffffffb3!important}.focus\:border-white-alpha-80:focus{border-color:#fffc!important}.focus\:border-white-alpha-90:focus{border-color:#ffffffe6!important}.active\:border-white-alpha-10:active{border-color:#ffffff1a!important}.active\:border-white-alpha-20:active{border-color:#fff3!important}.active\:border-white-alpha-30:active{border-color:#ffffff4d!important}.active\:border-white-alpha-40:active{border-color:#fff6!important}.active\:border-white-alpha-50:active{border-color:#ffffff80!important}.active\:border-white-alpha-60:active{border-color:#fff9!important}.active\:border-white-alpha-70:active{border-color:#ffffffb3!important}.active\:border-white-alpha-80:active{border-color:#fffc!important}.active\:border-white-alpha-90:active{border-color:#ffffffe6!important}.border-black-alpha-10{border-color:#0000001a!important}.border-black-alpha-20{border-color:#0003!important}.border-black-alpha-30{border-color:#0000004d!important}.border-black-alpha-40{border-color:#0006!important}.border-black-alpha-50{border-color:#00000080!important}.border-black-alpha-60{border-color:#0009!important}.border-black-alpha-70{border-color:#000000b3!important}.border-black-alpha-80{border-color:#000c!important}.border-black-alpha-90{border-color:#000000e6!important}.hover\:border-black-alpha-10:hover{border-color:#0000001a!important}.hover\:border-black-alpha-20:hover{border-color:#0003!important}.hover\:border-black-alpha-30:hover{border-color:#0000004d!important}.hover\:border-black-alpha-40:hover{border-color:#0006!important}.hover\:border-black-alpha-50:hover{border-color:#00000080!important}.hover\:border-black-alpha-60:hover{border-color:#0009!important}.hover\:border-black-alpha-70:hover{border-color:#000000b3!important}.hover\:border-black-alpha-80:hover{border-color:#000c!important}.hover\:border-black-alpha-90:hover{border-color:#000000e6!important}.focus\:border-black-alpha-10:focus{border-color:#0000001a!important}.focus\:border-black-alpha-20:focus{border-color:#0003!important}.focus\:border-black-alpha-30:focus{border-color:#0000004d!important}.focus\:border-black-alpha-40:focus{border-color:#0006!important}.focus\:border-black-alpha-50:focus{border-color:#00000080!important}.focus\:border-black-alpha-60:focus{border-color:#0009!important}.focus\:border-black-alpha-70:focus{border-color:#000000b3!important}.focus\:border-black-alpha-80:focus{border-color:#000c!important}.focus\:border-black-alpha-90:focus{border-color:#000000e6!important}.active\:border-black-alpha-10:active{border-color:#0000001a!important}.active\:border-black-alpha-20:active{border-color:#0003!important}.active\:border-black-alpha-30:active{border-color:#0000004d!important}.active\:border-black-alpha-40:active{border-color:#0006!important}.active\:border-black-alpha-50:active{border-color:#00000080!important}.active\:border-black-alpha-60:active{border-color:#0009!important}.active\:border-black-alpha-70:active{border-color:#000000b3!important}.active\:border-black-alpha-80:active{border-color:#000c!important}.active\:border-black-alpha-90:active{border-color:#000000e6!important}.text-white-alpha-10{color:#ffffff1a!important}.text-white-alpha-20{color:#fff3!important}.text-white-alpha-30{color:#ffffff4d!important}.text-white-alpha-40{color:#fff6!important}.text-white-alpha-50{color:#ffffff80!important}.text-white-alpha-60{color:#fff9!important}.text-white-alpha-70{color:#ffffffb3!important}.text-white-alpha-80{color:#fffc!important}.text-white-alpha-90{color:#ffffffe6!important}.hover\:text-white-alpha-10:hover{color:#ffffff1a!important}.hover\:text-white-alpha-20:hover{color:#fff3!important}.hover\:text-white-alpha-30:hover{color:#ffffff4d!important}.hover\:text-white-alpha-40:hover{color:#fff6!important}.hover\:text-white-alpha-50:hover{color:#ffffff80!important}.hover\:text-white-alpha-60:hover{color:#fff9!important}.hover\:text-white-alpha-70:hover{color:#ffffffb3!important}.hover\:text-white-alpha-80:hover{color:#fffc!important}.hover\:text-white-alpha-90:hover{color:#ffffffe6!important}.focus\:text-white-alpha-10:focus{color:#ffffff1a!important}.focus\:text-white-alpha-20:focus{color:#fff3!important}.focus\:text-white-alpha-30:focus{color:#ffffff4d!important}.focus\:text-white-alpha-40:focus{color:#fff6!important}.focus\:text-white-alpha-50:focus{color:#ffffff80!important}.focus\:text-white-alpha-60:focus{color:#fff9!important}.focus\:text-white-alpha-70:focus{color:#ffffffb3!important}.focus\:text-white-alpha-80:focus{color:#fffc!important}.focus\:text-white-alpha-90:focus{color:#ffffffe6!important}.active\:text-white-alpha-10:active{color:#ffffff1a!important}.active\:text-white-alpha-20:active{color:#fff3!important}.active\:text-white-alpha-30:active{color:#ffffff4d!important}.active\:text-white-alpha-40:active{color:#fff6!important}.active\:text-white-alpha-50:active{color:#ffffff80!important}.active\:text-white-alpha-60:active{color:#fff9!important}.active\:text-white-alpha-70:active{color:#ffffffb3!important}.active\:text-white-alpha-80:active{color:#fffc!important}.active\:text-white-alpha-90:active{color:#ffffffe6!important}.text-black-alpha-10{color:#0000001a!important}.text-black-alpha-20{color:#0003!important}.text-black-alpha-30{color:#0000004d!important}.text-black-alpha-40{color:#0006!important}.text-black-alpha-50{color:#00000080!important}.text-black-alpha-60{color:#0009!important}.text-black-alpha-70{color:#000000b3!important}.text-black-alpha-80{color:#000c!important}.text-black-alpha-90{color:#000000e6!important}.hover\:text-black-alpha-10:hover{color:#0000001a!important}.hover\:text-black-alpha-20:hover{color:#0003!important}.hover\:text-black-alpha-30:hover{color:#0000004d!important}.hover\:text-black-alpha-40:hover{color:#0006!important}.hover\:text-black-alpha-50:hover{color:#00000080!important}.hover\:text-black-alpha-60:hover{color:#0009!important}.hover\:text-black-alpha-70:hover{color:#000000b3!important}.hover\:text-black-alpha-80:hover{color:#000c!important}.hover\:text-black-alpha-90:hover{color:#000000e6!important}.focus\:text-black-alpha-10:focus{color:#0000001a!important}.focus\:text-black-alpha-20:focus{color:#0003!important}.focus\:text-black-alpha-30:focus{color:#0000004d!important}.focus\:text-black-alpha-40:focus{color:#0006!important}.focus\:text-black-alpha-50:focus{color:#00000080!important}.focus\:text-black-alpha-60:focus{color:#0009!important}.focus\:text-black-alpha-70:focus{color:#000000b3!important}.focus\:text-black-alpha-80:focus{color:#000c!important}.focus\:text-black-alpha-90:focus{color:#000000e6!important}.active\:text-black-alpha-10:active{color:#0000001a!important}.active\:text-black-alpha-20:active{color:#0003!important}.active\:text-black-alpha-30:active{color:#0000004d!important}.active\:text-black-alpha-40:active{color:#0006!important}.active\:text-black-alpha-50:active{color:#00000080!important}.active\:text-black-alpha-60:active{color:#0009!important}.active\:text-black-alpha-70:active{color:#000000b3!important}.active\:text-black-alpha-80:active{color:#000c!important}.active\:text-black-alpha-90:active{color:#000000e6!important}.text-primary{color:var(--primary-color)!important}.bg-primary{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.bg-primary-reverse{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.bg-white{background-color:#fff!important}.border-primary{border-color:var(--primary-color)!important}.text-white{color:#fff!important}.border-white{border-color:#fff!important}.text-color{color:var(--text-color)!important}.text-color-secondary{color:var(--text-color-secondary)!important}.surface-ground{background-color:var(--surface-ground)!important}.surface-section{background-color:var(--surface-section)!important}.surface-card{background-color:var(--surface-card)!important}.surface-overlay{background-color:var(--surface-overlay)!important}.surface-hover{background-color:var(--surface-hover)!important}.surface-border{border-color:var(--surface-border)!important}.focus\:text-primary:focus{color:var(--primary-color)!important}.hover\:text-primary:hover,.active\:text-primary:active{color:var(--primary-color)!important}.focus\:bg-primary:focus{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.hover\:bg-primary:hover,.active\:bg-primary:active{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.focus\:bg-primary-reverse:focus{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.hover\:bg-primary-reverse:hover,.active\:bg-primary-reverse:active{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.focus\:bg-white:focus{background-color:#fff!important}.hover\:bg-white:hover,.active\:bg-white:active{background-color:#fff!important}.focus\:border-primary:focus{border-color:var(--primary-color)!important}.hover\:border-primary:hover,.active\:border-primary:active{border-color:var(--primary-color)!important}.focus\:text-white:focus{color:#fff!important}.hover\:text-white:hover,.active\:text-white:active{color:#fff!important}.focus\:border-white:focus{border-color:#fff!important}.hover\:border-white:hover,.active\:border-white:active{border-color:#fff!important}.focus\:text-color:focus{color:var(--text-color)!important}.hover\:text-color:hover,.active\:text-color:active{color:var(--text-color)!important}.focus\:text-color-secondary:focus{color:var(--text-color-secondary)!important}.hover\:text-color-secondary:hover,.active\:text-color-secondary:active{color:var(--text-color-secondary)!important}.focus\:surface-ground:focus{background-color:var(--surface-ground)!important}.hover\:surface-ground:hover,.active\:surface-ground:active{background-color:var(--surface-ground)!important}.focus\:surface-section:focus{background-color:var(--surface-section)!important}.hover\:surface-section:hover,.active\:surface-section:active{background-color:var(--surface-section)!important}.focus\:surface-card:focus{background-color:var(--surface-card)!important}.hover\:surface-card:hover,.active\:surface-card:active{background-color:var(--surface-card)!important}.focus\:surface-overlay:focus{background-color:var(--surface-overlay)!important}.hover\:surface-overlay:hover,.active\:surface-overlay:active{background-color:var(--surface-overlay)!important}.focus\:surface-hover:focus{background-color:var(--surface-hover)!important}.hover\:surface-hover:hover,.active\:surface-hover:active{background-color:var(--surface-hover)!important}.focus\:surface-border:focus{border-color:var(--surface-border)!important}.hover\:surface-border:hover,.active\:surface-border:active{border-color:var(--surface-border)!important}@media screen and (min-width: 576px){.sm\:text-primary{color:var(--primary-color)!important}.sm\:bg-primary{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.sm\:bg-primary-reverse{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.sm\:bg-white{background-color:#fff!important}.sm\:border-primary{border-color:var(--primary-color)!important}.sm\:text-white{color:#fff!important}.sm\:border-white{border-color:#fff!important}.sm\:text-color{color:var(--text-color)!important}.sm\:text-color-secondary{color:var(--text-color-secondary)!important}.sm\:surface-ground{background-color:var(--surface-ground)!important}.sm\:surface-section{background-color:var(--surface-section)!important}.sm\:surface-card{background-color:var(--surface-card)!important}.sm\:surface-overlay{background-color:var(--surface-overlay)!important}.sm\:surface-hover{background-color:var(--surface-hover)!important}.sm\:surface-border{border-color:var(--surface-border)!important}.sm\:focus\:text-primary:focus{color:var(--primary-color)!important}.sm\:hover\:text-primary:hover,.sm\:active\:text-primary:active{color:var(--primary-color)!important}.sm\:focus\:bg-primary:focus{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.sm\:hover\:bg-primary:hover,.sm\:active\:bg-primary:active{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.sm\:focus\:bg-primary-reverse:focus{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.sm\:hover\:bg-primary-reverse:hover,.sm\:active\:bg-primary-reverse:active{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.sm\:focus\:bg-white:focus{background-color:#fff!important}.sm\:hover\:bg-white:hover,.sm\:active\:bg-white:active{background-color:#fff!important}.sm\:focus\:border-primary:focus{border-color:var(--primary-color)!important}.sm\:hover\:border-primary:hover,.sm\:active\:border-primary:active{border-color:var(--primary-color)!important}.sm\:focus\:text-white:focus{color:#fff!important}.sm\:hover\:text-white:hover,.sm\:active\:text-white:active{color:#fff!important}.sm\:focus\:border-white:focus{border-color:#fff!important}.sm\:hover\:border-white:hover,.sm\:active\:border-white:active{border-color:#fff!important}.sm\:focus\:text-color:focus{color:var(--text-color)!important}.sm\:hover\:text-color:hover,.sm\:active\:text-color:active{color:var(--text-color)!important}.sm\:focus\:text-color-secondary:focus{color:var(--text-color-secondary)!important}.sm\:hover\:text-color-secondary:hover,.sm\:active\:text-color-secondary:active{color:var(--text-color-secondary)!important}.sm\:focus\:surface-ground:focus{background-color:var(--surface-ground)!important}.sm\:hover\:surface-ground:hover,.sm\:active\:surface-ground:active{background-color:var(--surface-ground)!important}.sm\:focus\:surface-section:focus{background-color:var(--surface-section)!important}.sm\:hover\:surface-section:hover,.sm\:active\:surface-section:active{background-color:var(--surface-section)!important}.sm\:focus\:surface-card:focus{background-color:var(--surface-card)!important}.sm\:hover\:surface-card:hover,.sm\:active\:surface-card:active{background-color:var(--surface-card)!important}.sm\:focus\:surface-overlay:focus{background-color:var(--surface-overlay)!important}.sm\:hover\:surface-overlay:hover,.sm\:active\:surface-overlay:active{background-color:var(--surface-overlay)!important}.sm\:focus\:surface-hover:focus{background-color:var(--surface-hover)!important}.sm\:hover\:surface-hover:hover,.sm\:active\:surface-hover:active{background-color:var(--surface-hover)!important}.sm\:focus\:surface-border:focus{border-color:var(--surface-border)!important}.sm\:hover\:surface-border:hover,.sm\:active\:surface-border:active{border-color:var(--surface-border)!important}}@media screen and (min-width: 768px){.md\:text-primary{color:var(--primary-color)!important}.md\:bg-primary{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.md\:bg-primary-reverse{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.md\:bg-white{background-color:#fff!important}.md\:border-primary{border-color:var(--primary-color)!important}.md\:text-white{color:#fff!important}.md\:border-white{border-color:#fff!important}.md\:text-color{color:var(--text-color)!important}.md\:text-color-secondary{color:var(--text-color-secondary)!important}.md\:surface-ground{background-color:var(--surface-ground)!important}.md\:surface-section{background-color:var(--surface-section)!important}.md\:surface-card{background-color:var(--surface-card)!important}.md\:surface-overlay{background-color:var(--surface-overlay)!important}.md\:surface-hover{background-color:var(--surface-hover)!important}.md\:surface-border{border-color:var(--surface-border)!important}.md\:focus\:text-primary:focus{color:var(--primary-color)!important}.md\:hover\:text-primary:hover,.md\:active\:text-primary:active{color:var(--primary-color)!important}.md\:focus\:bg-primary:focus{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.md\:hover\:bg-primary:hover,.md\:active\:bg-primary:active{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.md\:focus\:bg-primary-reverse:focus{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.md\:hover\:bg-primary-reverse:hover,.md\:active\:bg-primary-reverse:active{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.md\:focus\:bg-white:focus{background-color:#fff!important}.md\:hover\:bg-white:hover,.md\:active\:bg-white:active{background-color:#fff!important}.md\:focus\:border-primary:focus{border-color:var(--primary-color)!important}.md\:hover\:border-primary:hover,.md\:active\:border-primary:active{border-color:var(--primary-color)!important}.md\:focus\:text-white:focus{color:#fff!important}.md\:hover\:text-white:hover,.md\:active\:text-white:active{color:#fff!important}.md\:focus\:border-white:focus{border-color:#fff!important}.md\:hover\:border-white:hover,.md\:active\:border-white:active{border-color:#fff!important}.md\:focus\:text-color:focus{color:var(--text-color)!important}.md\:hover\:text-color:hover,.md\:active\:text-color:active{color:var(--text-color)!important}.md\:focus\:text-color-secondary:focus{color:var(--text-color-secondary)!important}.md\:hover\:text-color-secondary:hover,.md\:active\:text-color-secondary:active{color:var(--text-color-secondary)!important}.md\:focus\:surface-ground:focus{background-color:var(--surface-ground)!important}.md\:hover\:surface-ground:hover,.md\:active\:surface-ground:active{background-color:var(--surface-ground)!important}.md\:focus\:surface-section:focus{background-color:var(--surface-section)!important}.md\:hover\:surface-section:hover,.md\:active\:surface-section:active{background-color:var(--surface-section)!important}.md\:focus\:surface-card:focus{background-color:var(--surface-card)!important}.md\:hover\:surface-card:hover,.md\:active\:surface-card:active{background-color:var(--surface-card)!important}.md\:focus\:surface-overlay:focus{background-color:var(--surface-overlay)!important}.md\:hover\:surface-overlay:hover,.md\:active\:surface-overlay:active{background-color:var(--surface-overlay)!important}.md\:focus\:surface-hover:focus{background-color:var(--surface-hover)!important}.md\:hover\:surface-hover:hover,.md\:active\:surface-hover:active{background-color:var(--surface-hover)!important}.md\:focus\:surface-border:focus{border-color:var(--surface-border)!important}.md\:hover\:surface-border:hover,.md\:active\:surface-border:active{border-color:var(--surface-border)!important}}@media screen and (min-width: 992px){.lg\:text-primary{color:var(--primary-color)!important}.lg\:bg-primary{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.lg\:bg-primary-reverse{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.lg\:bg-white{background-color:#fff!important}.lg\:border-primary{border-color:var(--primary-color)!important}.lg\:text-white{color:#fff!important}.lg\:border-white{border-color:#fff!important}.lg\:text-color{color:var(--text-color)!important}.lg\:text-color-secondary{color:var(--text-color-secondary)!important}.lg\:surface-ground{background-color:var(--surface-ground)!important}.lg\:surface-section{background-color:var(--surface-section)!important}.lg\:surface-card{background-color:var(--surface-card)!important}.lg\:surface-overlay{background-color:var(--surface-overlay)!important}.lg\:surface-hover{background-color:var(--surface-hover)!important}.lg\:surface-border{border-color:var(--surface-border)!important}.lg\:focus\:text-primary:focus{color:var(--primary-color)!important}.lg\:hover\:text-primary:hover,.lg\:active\:text-primary:active{color:var(--primary-color)!important}.lg\:focus\:bg-primary:focus{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.lg\:hover\:bg-primary:hover,.lg\:active\:bg-primary:active{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.lg\:focus\:bg-primary-reverse:focus{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.lg\:hover\:bg-primary-reverse:hover,.lg\:active\:bg-primary-reverse:active{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.lg\:focus\:bg-white:focus{background-color:#fff!important}.lg\:hover\:bg-white:hover,.lg\:active\:bg-white:active{background-color:#fff!important}.lg\:focus\:border-primary:focus{border-color:var(--primary-color)!important}.lg\:hover\:border-primary:hover,.lg\:active\:border-primary:active{border-color:var(--primary-color)!important}.lg\:focus\:text-white:focus{color:#fff!important}.lg\:hover\:text-white:hover,.lg\:active\:text-white:active{color:#fff!important}.lg\:focus\:border-white:focus{border-color:#fff!important}.lg\:hover\:border-white:hover,.lg\:active\:border-white:active{border-color:#fff!important}.lg\:focus\:text-color:focus{color:var(--text-color)!important}.lg\:hover\:text-color:hover,.lg\:active\:text-color:active{color:var(--text-color)!important}.lg\:focus\:text-color-secondary:focus{color:var(--text-color-secondary)!important}.lg\:hover\:text-color-secondary:hover,.lg\:active\:text-color-secondary:active{color:var(--text-color-secondary)!important}.lg\:focus\:surface-ground:focus{background-color:var(--surface-ground)!important}.lg\:hover\:surface-ground:hover,.lg\:active\:surface-ground:active{background-color:var(--surface-ground)!important}.lg\:focus\:surface-section:focus{background-color:var(--surface-section)!important}.lg\:hover\:surface-section:hover,.lg\:active\:surface-section:active{background-color:var(--surface-section)!important}.lg\:focus\:surface-card:focus{background-color:var(--surface-card)!important}.lg\:hover\:surface-card:hover,.lg\:active\:surface-card:active{background-color:var(--surface-card)!important}.lg\:focus\:surface-overlay:focus{background-color:var(--surface-overlay)!important}.lg\:hover\:surface-overlay:hover,.lg\:active\:surface-overlay:active{background-color:var(--surface-overlay)!important}.lg\:focus\:surface-hover:focus{background-color:var(--surface-hover)!important}.lg\:hover\:surface-hover:hover,.lg\:active\:surface-hover:active{background-color:var(--surface-hover)!important}.lg\:focus\:surface-border:focus{border-color:var(--surface-border)!important}.lg\:hover\:surface-border:hover,.lg\:active\:surface-border:active{border-color:var(--surface-border)!important}}@media screen and (min-width: 1200px){.xl\:text-primary{color:var(--primary-color)!important}.xl\:bg-primary{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.xl\:bg-primary-reverse{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.xl\:bg-white{background-color:#fff!important}.xl\:border-primary{border-color:var(--primary-color)!important}.xl\:text-white{color:#fff!important}.xl\:border-white{border-color:#fff!important}.xl\:text-color{color:var(--text-color)!important}.xl\:text-color-secondary{color:var(--text-color-secondary)!important}.xl\:surface-ground{background-color:var(--surface-ground)!important}.xl\:surface-section{background-color:var(--surface-section)!important}.xl\:surface-card{background-color:var(--surface-card)!important}.xl\:surface-overlay{background-color:var(--surface-overlay)!important}.xl\:surface-hover{background-color:var(--surface-hover)!important}.xl\:surface-border{border-color:var(--surface-border)!important}.xl\:focus\:text-primary:focus{color:var(--primary-color)!important}.xl\:hover\:text-primary:hover,.xl\:active\:text-primary:active{color:var(--primary-color)!important}.xl\:focus\:bg-primary:focus{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.xl\:hover\:bg-primary:hover,.xl\:active\:bg-primary:active{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.xl\:focus\:bg-primary-reverse:focus{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.xl\:hover\:bg-primary-reverse:hover,.xl\:active\:bg-primary-reverse:active{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.xl\:focus\:bg-white:focus{background-color:#fff!important}.xl\:hover\:bg-white:hover,.xl\:active\:bg-white:active{background-color:#fff!important}.xl\:focus\:border-primary:focus{border-color:var(--primary-color)!important}.xl\:hover\:border-primary:hover,.xl\:active\:border-primary:active{border-color:var(--primary-color)!important}.xl\:focus\:text-white:focus{color:#fff!important}.xl\:hover\:text-white:hover,.xl\:active\:text-white:active{color:#fff!important}.xl\:focus\:border-white:focus{border-color:#fff!important}.xl\:hover\:border-white:hover,.xl\:active\:border-white:active{border-color:#fff!important}.xl\:focus\:text-color:focus{color:var(--text-color)!important}.xl\:hover\:text-color:hover,.xl\:active\:text-color:active{color:var(--text-color)!important}.xl\:focus\:text-color-secondary:focus{color:var(--text-color-secondary)!important}.xl\:hover\:text-color-secondary:hover,.xl\:active\:text-color-secondary:active{color:var(--text-color-secondary)!important}.xl\:focus\:surface-ground:focus{background-color:var(--surface-ground)!important}.xl\:hover\:surface-ground:hover,.xl\:active\:surface-ground:active{background-color:var(--surface-ground)!important}.xl\:focus\:surface-section:focus{background-color:var(--surface-section)!important}.xl\:hover\:surface-section:hover,.xl\:active\:surface-section:active{background-color:var(--surface-section)!important}.xl\:focus\:surface-card:focus{background-color:var(--surface-card)!important}.xl\:hover\:surface-card:hover,.xl\:active\:surface-card:active{background-color:var(--surface-card)!important}.xl\:focus\:surface-overlay:focus{background-color:var(--surface-overlay)!important}.xl\:hover\:surface-overlay:hover,.xl\:active\:surface-overlay:active{background-color:var(--surface-overlay)!important}.xl\:focus\:surface-hover:focus{background-color:var(--surface-hover)!important}.xl\:hover\:surface-hover:hover,.xl\:active\:surface-hover:active{background-color:var(--surface-hover)!important}.xl\:focus\:surface-border:focus{border-color:var(--surface-border)!important}.xl\:hover\:surface-border:hover,.xl\:active\:surface-border:active{border-color:var(--surface-border)!important}}.field{margin-bottom:1rem}.field>label{display:inline-block;margin-bottom:.5rem}.field.grid>label{display:flex;align-items:center}.field>small{margin-top:.25rem}.field.grid,.formgrid.grid{margin-top:0}.field.grid .col-fixed,.formgrid.grid .col-fixed,.field.grid .col,.formgrid.grid .col,.field.grid .col-1,.formgrid.grid .col-1,.field.grid .col-2,.formgrid.grid .col-2,.field.grid .col-3,.formgrid.grid .col-3,.field.grid .col-4,.formgrid.grid .col-4,.field.grid .col-5,.formgrid.grid .col-5,.field.grid .col-6,.formgrid.grid .col-6,.field.grid .col-7,.formgrid.grid .col-7,.field.grid .col-8,.formgrid.grid .col-8,.field.grid .col-9,.formgrid.grid .col-9,.field.grid .col-10,.formgrid.grid .col-10,.field.grid .col-11,.formgrid.grid .col-11,.field.grid .col-12,.formgrid.grid .col-12{padding-top:0;padding-bottom:0}.formgroup-inline{display:flex;flex-wrap:wrap;align-items:flex-start}.formgroup-inline .field,.formgroup-inline .field-checkbox,.formgroup-inline .field-radiobutton{margin-right:1rem}.formgroup-inline .field>label,.formgroup-inline .field-checkbox>label,.formgroup-inline .field-radiobutton>label{margin-right:.5rem;margin-bottom:0}.field-checkbox,.field-radiobutton{margin-bottom:1rem;display:flex;align-items:center}.field-checkbox>label,.field-radiobutton>label{margin-left:.5rem;line-height:1}.hidden{display:none!important}.block{display:block!important}.inline{display:inline!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.inline-flex{display:inline-flex!important}@media screen and (min-width: 576px){.sm\:hidden{display:none!important}.sm\:block{display:block!important}.sm\:inline{display:inline!important}.sm\:inline-block{display:inline-block!important}.sm\:flex{display:flex!important}.sm\:inline-flex{display:inline-flex!important}}@media screen and (min-width: 768px){.md\:hidden{display:none!important}.md\:block{display:block!important}.md\:inline{display:inline!important}.md\:inline-block{display:inline-block!important}.md\:flex{display:flex!important}.md\:inline-flex{display:inline-flex!important}}@media screen and (min-width: 992px){.lg\:hidden{display:none!important}.lg\:block{display:block!important}.lg\:inline{display:inline!important}.lg\:inline-block{display:inline-block!important}.lg\:flex{display:flex!important}.lg\:inline-flex{display:inline-flex!important}}@media screen and (min-width: 1200px){.xl\:hidden{display:none!important}.xl\:block{display:block!important}.xl\:inline{display:inline!important}.xl\:inline-block{display:inline-block!important}.xl\:flex{display:flex!important}.xl\:inline-flex{display:inline-flex!important}}.text-center{text-align:center!important}.text-justify{text-align:justify!important}.text-left{text-align:left!important}.text-right{text-align:right!important}@media screen and (min-width: 576px){.sm\:text-center{text-align:center!important}.sm\:text-justify{text-align:justify!important}.sm\:text-left{text-align:left!important}.sm\:text-right{text-align:right!important}}@media screen and (min-width: 768px){.md\:text-center{text-align:center!important}.md\:text-justify{text-align:justify!important}.md\:text-left{text-align:left!important}.md\:text-right{text-align:right!important}}@media screen and (min-width: 992px){.lg\:text-center{text-align:center!important}.lg\:text-justify{text-align:justify!important}.lg\:text-left{text-align:left!important}.lg\:text-right{text-align:right!important}}@media screen and (min-width: 1200px){.xl\:text-center{text-align:center!important}.xl\:text-justify{text-align:justify!important}.xl\:text-left{text-align:left!important}.xl\:text-right{text-align:right!important}}.underline{text-decoration:underline!important}.line-through{text-decoration:line-through!important}.no-underline{text-decoration:none!important}.focus\:underline:focus{text-decoration:underline!important}.hover\:underline:hover,.active\:underline:active{text-decoration:underline!important}.focus\:line-through:focus{text-decoration:line-through!important}.hover\:line-through:hover,.active\:line-through:active{text-decoration:line-through!important}.focus\:no-underline:focus{text-decoration:none!important}.hover\:no-underline:hover,.active\:no-underline:active{text-decoration:none!important}.lowercase{text-transform:lowercase!important}.uppercase{text-transform:uppercase!important}.capitalize{text-transform:capitalize!important}.text-overflow-clip{text-overflow:clip!important}.text-overflow-ellipsis{text-overflow:ellipsis!important}@media screen and (min-width: 576px){.sm\:text-overflow-clip{text-overflow:clip!important}.sm\:text-overflow-ellipsis{text-overflow:ellipsis!important}}@media screen and (min-width: 768px){.md\:text-overflow-clip{text-overflow:clip!important}.md\:text-overflow-ellipsis{text-overflow:ellipsis!important}}@media screen and (min-width: 992px){.lg\:text-overflow-clip{text-overflow:clip!important}.lg\:text-overflow-ellipsis{text-overflow:ellipsis!important}}@media screen and (min-width: 1200px){.xl\:text-overflow-clip{text-overflow:clip!important}.xl\:text-overflow-ellipsis{text-overflow:ellipsis!important}}.font-light{font-weight:300!important}.font-normal{font-weight:400!important}.font-medium{font-weight:500!important}.font-semibold{font-weight:600!important}.font-bold{font-weight:700!important}@media screen and (min-width: 576px){.sm\:font-light{font-weight:300!important}.sm\:font-normal{font-weight:400!important}.sm\:font-medium{font-weight:500!important}.sm\:font-semibold{font-weight:600!important}.sm\:font-bold{font-weight:700!important}}@media screen and (min-width: 768px){.md\:font-light{font-weight:300!important}.md\:font-normal{font-weight:400!important}.md\:font-medium{font-weight:500!important}.md\:font-semibold{font-weight:600!important}.md\:font-bold{font-weight:700!important}}@media screen and (min-width: 992px){.lg\:font-light{font-weight:300!important}.lg\:font-normal{font-weight:400!important}.lg\:font-medium{font-weight:500!important}.lg\:font-semibold{font-weight:600!important}.lg\:font-bold{font-weight:700!important}}@media screen and (min-width: 1200px){.xl\:font-light{font-weight:300!important}.xl\:font-normal{font-weight:400!important}.xl\:font-medium{font-weight:500!important}.xl\:font-semibold{font-weight:600!important}.xl\:font-bold{font-weight:700!important}}.font-italic{font-style:italic!important}.text-xs{font-size:.75rem!important}.text-sm{font-size:.875rem!important}.text-base{font-size:1rem!important}.text-lg{font-size:1.125rem!important}.text-xl{font-size:1.25rem!important}.text-2xl{font-size:1.5rem!important}.text-3xl{font-size:1.75rem!important}.text-4xl{font-size:2rem!important}.text-5xl{font-size:2.5rem!important}.text-6xl{font-size:3rem!important}.text-7xl{font-size:4rem!important}.text-8xl{font-size:6rem!important}@media screen and (min-width: 576px){.sm\:text-xs{font-size:.75rem!important}.sm\:text-sm{font-size:.875rem!important}.sm\:text-base{font-size:1rem!important}.sm\:text-lg{font-size:1.125rem!important}.sm\:text-xl{font-size:1.25rem!important}.sm\:text-2xl{font-size:1.5rem!important}.sm\:text-3xl{font-size:1.75rem!important}.sm\:text-4xl{font-size:2rem!important}.sm\:text-5xl{font-size:2.5rem!important}.sm\:text-6xl{font-size:3rem!important}.sm\:text-7xl{font-size:4rem!important}.sm\:text-8xl{font-size:6rem!important}}@media screen and (min-width: 768px){.md\:text-xs{font-size:.75rem!important}.md\:text-sm{font-size:.875rem!important}.md\:text-base{font-size:1rem!important}.md\:text-lg{font-size:1.125rem!important}.md\:text-xl{font-size:1.25rem!important}.md\:text-2xl{font-size:1.5rem!important}.md\:text-3xl{font-size:1.75rem!important}.md\:text-4xl{font-size:2rem!important}.md\:text-5xl{font-size:2.5rem!important}.md\:text-6xl{font-size:3rem!important}.md\:text-7xl{font-size:4rem!important}.md\:text-8xl{font-size:6rem!important}}@media screen and (min-width: 992px){.lg\:text-xs{font-size:.75rem!important}.lg\:text-sm{font-size:.875rem!important}.lg\:text-base{font-size:1rem!important}.lg\:text-lg{font-size:1.125rem!important}.lg\:text-xl{font-size:1.25rem!important}.lg\:text-2xl{font-size:1.5rem!important}.lg\:text-3xl{font-size:1.75rem!important}.lg\:text-4xl{font-size:2rem!important}.lg\:text-5xl{font-size:2.5rem!important}.lg\:text-6xl{font-size:3rem!important}.lg\:text-7xl{font-size:4rem!important}.lg\:text-8xl{font-size:6rem!important}}@media screen and (min-width: 1200px){.xl\:text-xs{font-size:.75rem!important}.xl\:text-sm{font-size:.875rem!important}.xl\:text-base{font-size:1rem!important}.xl\:text-lg{font-size:1.125rem!important}.xl\:text-xl{font-size:1.25rem!important}.xl\:text-2xl{font-size:1.5rem!important}.xl\:text-3xl{font-size:1.75rem!important}.xl\:text-4xl{font-size:2rem!important}.xl\:text-5xl{font-size:2.5rem!important}.xl\:text-6xl{font-size:3rem!important}.xl\:text-7xl{font-size:4rem!important}.xl\:text-8xl{font-size:6rem!important}}.line-height-1{line-height:1!important}.line-height-2{line-height:1.25!important}.line-height-3{line-height:1.5!important}.line-height-4{line-height:2!important}.white-space-normal{white-space:normal!important}.white-space-nowrap{white-space:nowrap!important}.vertical-align-baseline{vertical-align:baseline!important}.vertical-align-top{vertical-align:top!important}.vertical-align-middle{vertical-align:middle!important}.vertical-align-bottom{vertical-align:bottom!important}.vertical-align-text-top{vertical-align:text-top!important}.vertical-align-text-bottom{vertical-align:text-bottom!important}.vertical-align-sub{vertical-align:sub!important}.vertical-align-super{vertical-align:super!important}@media screen and (min-width: 576px){.sm\:vertical-align-baseline{vertical-align:baseline!important}.sm\:vertical-align-top{vertical-align:top!important}.sm\:vertical-align-middle{vertical-align:middle!important}.sm\:vertical-align-bottom{vertical-align:bottom!important}.sm\:vertical-align-text-top{vertical-align:text-top!important}.sm\:vertical-align-text-bottom{vertical-align:text-bottom!important}.sm\:vertical-align-sub{vertical-align:sub!important}.sm\:vertical-align-super{vertical-align:super!important}}@media screen and (min-width: 768px){.md\:vertical-align-baseline{vertical-align:baseline!important}.md\:vertical-align-top{vertical-align:top!important}.md\:vertical-align-middle{vertical-align:middle!important}.md\:vertical-align-bottom{vertical-align:bottom!important}.md\:vertical-align-text-top{vertical-align:text-top!important}.md\:vertical-align-text-bottom{vertical-align:text-bottom!important}.md\:vertical-align-sub{vertical-align:sub!important}.md\:vertical-align-super{vertical-align:super!important}}@media screen and (min-width: 992px){.lg\:vertical-align-baseline{vertical-align:baseline!important}.lg\:vertical-align-top{vertical-align:top!important}.lg\:vertical-align-middle{vertical-align:middle!important}.lg\:vertical-align-bottom{vertical-align:bottom!important}.lg\:vertical-align-text-top{vertical-align:text-top!important}.lg\:vertical-align-text-bottom{vertical-align:text-bottom!important}.lg\:vertical-align-sub{vertical-align:sub!important}.lg\:vertical-align-super{vertical-align:super!important}}@media screen and (min-width: 1200px){.xl\:vertical-align-baseline{vertical-align:baseline!important}.xl\:vertical-align-top{vertical-align:top!important}.xl\:vertical-align-middle{vertical-align:middle!important}.xl\:vertical-align-bottom{vertical-align:bottom!important}.xl\:vertical-align-text-top{vertical-align:text-top!important}.xl\:vertical-align-text-bottom{vertical-align:text-bottom!important}.xl\:vertical-align-sub{vertical-align:sub!important}.xl\:vertical-align-super{vertical-align:super!important}}.flex-row{flex-direction:row!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column{flex-direction:column!important}.flex-column-reverse{flex-direction:column-reverse!important}@media screen and (min-width: 576px){.sm\:flex-row{flex-direction:row!important}.sm\:flex-row-reverse{flex-direction:row-reverse!important}.sm\:flex-column{flex-direction:column!important}.sm\:flex-column-reverse{flex-direction:column-reverse!important}}@media screen and (min-width: 768px){.md\:flex-row{flex-direction:row!important}.md\:flex-row-reverse{flex-direction:row-reverse!important}.md\:flex-column{flex-direction:column!important}.md\:flex-column-reverse{flex-direction:column-reverse!important}}@media screen and (min-width: 992px){.lg\:flex-row{flex-direction:row!important}.lg\:flex-row-reverse{flex-direction:row-reverse!important}.lg\:flex-column{flex-direction:column!important}.lg\:flex-column-reverse{flex-direction:column-reverse!important}}@media screen and (min-width: 1200px){.xl\:flex-row{flex-direction:row!important}.xl\:flex-row-reverse{flex-direction:row-reverse!important}.xl\:flex-column{flex-direction:column!important}.xl\:flex-column-reverse{flex-direction:column-reverse!important}}.flex-wrap{flex-wrap:wrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-nowrap{flex-wrap:nowrap!important}@media screen and (min-width: 576px){.sm\:flex-wrap{flex-wrap:wrap!important}.sm\:flex-wrap-reverse{flex-wrap:wrap-reverse!important}.sm\:flex-nowrap{flex-wrap:nowrap!important}}@media screen and (min-width: 768px){.md\:flex-wrap{flex-wrap:wrap!important}.md\:flex-wrap-reverse{flex-wrap:wrap-reverse!important}.md\:flex-nowrap{flex-wrap:nowrap!important}}@media screen and (min-width: 992px){.lg\:flex-wrap{flex-wrap:wrap!important}.lg\:flex-wrap-reverse{flex-wrap:wrap-reverse!important}.lg\:flex-nowrap{flex-wrap:nowrap!important}}@media screen and (min-width: 1200px){.xl\:flex-wrap{flex-wrap:wrap!important}.xl\:flex-wrap-reverse{flex-wrap:wrap-reverse!important}.xl\:flex-nowrap{flex-wrap:nowrap!important}}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}@media screen and (min-width: 576px){.sm\:justify-content-start{justify-content:flex-start!important}.sm\:justify-content-end{justify-content:flex-end!important}.sm\:justify-content-center{justify-content:center!important}.sm\:justify-content-between{justify-content:space-between!important}.sm\:justify-content-around{justify-content:space-around!important}.sm\:justify-content-evenly{justify-content:space-evenly!important}}@media screen and (min-width: 768px){.md\:justify-content-start{justify-content:flex-start!important}.md\:justify-content-end{justify-content:flex-end!important}.md\:justify-content-center{justify-content:center!important}.md\:justify-content-between{justify-content:space-between!important}.md\:justify-content-around{justify-content:space-around!important}.md\:justify-content-evenly{justify-content:space-evenly!important}}@media screen and (min-width: 992px){.lg\:justify-content-start{justify-content:flex-start!important}.lg\:justify-content-end{justify-content:flex-end!important}.lg\:justify-content-center{justify-content:center!important}.lg\:justify-content-between{justify-content:space-between!important}.lg\:justify-content-around{justify-content:space-around!important}.lg\:justify-content-evenly{justify-content:space-evenly!important}}@media screen and (min-width: 1200px){.xl\:justify-content-start{justify-content:flex-start!important}.xl\:justify-content-end{justify-content:flex-end!important}.xl\:justify-content-center{justify-content:center!important}.xl\:justify-content-between{justify-content:space-between!important}.xl\:justify-content-around{justify-content:space-around!important}.xl\:justify-content-evenly{justify-content:space-evenly!important}}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-evenly{align-content:space-evenly!important}@media screen and (min-width: 576px){.sm\:align-content-start{align-content:flex-start!important}.sm\:align-content-end{align-content:flex-end!important}.sm\:align-content-center{align-content:center!important}.sm\:align-content-between{align-content:space-between!important}.sm\:align-content-around{align-content:space-around!important}.sm\:align-content-evenly{align-content:space-evenly!important}}@media screen and (min-width: 768px){.md\:align-content-start{align-content:flex-start!important}.md\:align-content-end{align-content:flex-end!important}.md\:align-content-center{align-content:center!important}.md\:align-content-between{align-content:space-between!important}.md\:align-content-around{align-content:space-around!important}.md\:align-content-evenly{align-content:space-evenly!important}}@media screen and (min-width: 992px){.lg\:align-content-start{align-content:flex-start!important}.lg\:align-content-end{align-content:flex-end!important}.lg\:align-content-center{align-content:center!important}.lg\:align-content-between{align-content:space-between!important}.lg\:align-content-around{align-content:space-around!important}.lg\:align-content-evenly{align-content:space-evenly!important}}@media screen and (min-width: 1200px){.xl\:align-content-start{align-content:flex-start!important}.xl\:align-content-end{align-content:flex-end!important}.xl\:align-content-center{align-content:center!important}.xl\:align-content-between{align-content:space-between!important}.xl\:align-content-around{align-content:space-around!important}.xl\:align-content-evenly{align-content:space-evenly!important}}.align-items-stretch{align-items:stretch!important}.align-items-start{align-items:flex-start!important}.align-items-center{align-items:center!important}.align-items-end{align-items:flex-end!important}.align-items-baseline{align-items:baseline!important}@media screen and (min-width: 576px){.sm\:align-items-stretch{align-items:stretch!important}.sm\:align-items-start{align-items:flex-start!important}.sm\:align-items-center{align-items:center!important}.sm\:align-items-end{align-items:flex-end!important}.sm\:align-items-baseline{align-items:baseline!important}}@media screen and (min-width: 768px){.md\:align-items-stretch{align-items:stretch!important}.md\:align-items-start{align-items:flex-start!important}.md\:align-items-center{align-items:center!important}.md\:align-items-end{align-items:flex-end!important}.md\:align-items-baseline{align-items:baseline!important}}@media screen and (min-width: 992px){.lg\:align-items-stretch{align-items:stretch!important}.lg\:align-items-start{align-items:flex-start!important}.lg\:align-items-center{align-items:center!important}.lg\:align-items-end{align-items:flex-end!important}.lg\:align-items-baseline{align-items:baseline!important}}@media screen and (min-width: 1200px){.xl\:align-items-stretch{align-items:stretch!important}.xl\:align-items-start{align-items:flex-start!important}.xl\:align-items-center{align-items:center!important}.xl\:align-items-end{align-items:flex-end!important}.xl\:align-items-baseline{align-items:baseline!important}}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-stretch{align-self:stretch!important}.align-self-baseline{align-self:baseline!important}@media screen and (min-width: 576px){.sm\:align-self-auto{align-self:auto!important}.sm\:align-self-start{align-self:flex-start!important}.sm\:align-self-end{align-self:flex-end!important}.sm\:align-self-center{align-self:center!important}.sm\:align-self-stretch{align-self:stretch!important}.sm\:align-self-baseline{align-self:baseline!important}}@media screen and (min-width: 768px){.md\:align-self-auto{align-self:auto!important}.md\:align-self-start{align-self:flex-start!important}.md\:align-self-end{align-self:flex-end!important}.md\:align-self-center{align-self:center!important}.md\:align-self-stretch{align-self:stretch!important}.md\:align-self-baseline{align-self:baseline!important}}@media screen and (min-width: 992px){.lg\:align-self-auto{align-self:auto!important}.lg\:align-self-start{align-self:flex-start!important}.lg\:align-self-end{align-self:flex-end!important}.lg\:align-self-center{align-self:center!important}.lg\:align-self-stretch{align-self:stretch!important}.lg\:align-self-baseline{align-self:baseline!important}}@media screen and (min-width: 1200px){.xl\:align-self-auto{align-self:auto!important}.xl\:align-self-start{align-self:flex-start!important}.xl\:align-self-end{align-self:flex-end!important}.xl\:align-self-center{align-self:center!important}.xl\:align-self-stretch{align-self:stretch!important}.xl\:align-self-baseline{align-self:baseline!important}}.flex-order-0{order:0!important}.flex-order-1{order:1!important}.flex-order-2{order:2!important}.flex-order-3{order:3!important}.flex-order-4{order:4!important}.flex-order-5{order:5!important}.flex-order-6{order:6!important}@media screen and (min-width: 576px){.sm\:flex-order-0{order:0!important}.sm\:flex-order-1{order:1!important}.sm\:flex-order-2{order:2!important}.sm\:flex-order-3{order:3!important}.sm\:flex-order-4{order:4!important}.sm\:flex-order-5{order:5!important}.sm\:flex-order-6{order:6!important}}@media screen and (min-width: 768px){.md\:flex-order-0{order:0!important}.md\:flex-order-1{order:1!important}.md\:flex-order-2{order:2!important}.md\:flex-order-3{order:3!important}.md\:flex-order-4{order:4!important}.md\:flex-order-5{order:5!important}.md\:flex-order-6{order:6!important}}@media screen and (min-width: 992px){.lg\:flex-order-0{order:0!important}.lg\:flex-order-1{order:1!important}.lg\:flex-order-2{order:2!important}.lg\:flex-order-3{order:3!important}.lg\:flex-order-4{order:4!important}.lg\:flex-order-5{order:5!important}.lg\:flex-order-6{order:6!important}}@media screen and (min-width: 1200px){.xl\:flex-order-0{order:0!important}.xl\:flex-order-1{order:1!important}.xl\:flex-order-2{order:2!important}.xl\:flex-order-3{order:3!important}.xl\:flex-order-4{order:4!important}.xl\:flex-order-5{order:5!important}.xl\:flex-order-6{order:6!important}}.flex-1{flex:1 1 0%!important}.flex-auto{flex:1 1 auto!important}.flex-initial{flex:0 1 auto!important}.flex-none{flex:none!important}@media screen and (min-width: 576px){.sm\:flex-1{flex:1 1 0%!important}.sm\:flex-auto{flex:1 1 auto!important}.sm\:flex-initial{flex:0 1 auto!important}.sm\:flex-none{flex:none!important}}@media screen and (min-width: 768px){.md\:flex-1{flex:1 1 0%!important}.md\:flex-auto{flex:1 1 auto!important}.md\:flex-initial{flex:0 1 auto!important}.md\:flex-none{flex:none!important}}@media screen and (min-width: 992px){.lg\:flex-1{flex:1 1 0%!important}.lg\:flex-auto{flex:1 1 auto!important}.lg\:flex-initial{flex:0 1 auto!important}.lg\:flex-none{flex:none!important}}@media screen and (min-width: 1200px){.xl\:flex-1{flex:1 1 0%!important}.xl\:flex-auto{flex:1 1 auto!important}.xl\:flex-initial{flex:0 1 auto!important}.xl\:flex-none{flex:none!important}}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}@media screen and (min-width: 576px){.sm\:flex-grow-0{flex-grow:0!important}.sm\:flex-grow-1{flex-grow:1!important}}@media screen and (min-width: 768px){.md\:flex-grow-0{flex-grow:0!important}.md\:flex-grow-1{flex-grow:1!important}}@media screen and (min-width: 992px){.lg\:flex-grow-0{flex-grow:0!important}.lg\:flex-grow-1{flex-grow:1!important}}@media screen and (min-width: 1200px){.xl\:flex-grow-0{flex-grow:0!important}.xl\:flex-grow-1{flex-grow:1!important}}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}@media screen and (min-width: 576px){.sm\:flex-shrink-0{flex-shrink:0!important}.sm\:flex-shrink-1{flex-shrink:1!important}}@media screen and (min-width: 768px){.md\:flex-shrink-0{flex-shrink:0!important}.md\:flex-shrink-1{flex-shrink:1!important}}@media screen and (min-width: 992px){.lg\:flex-shrink-0{flex-shrink:0!important}.lg\:flex-shrink-1{flex-shrink:1!important}}@media screen and (min-width: 1200px){.xl\:flex-shrink-0{flex-shrink:0!important}.xl\:flex-shrink-1{flex-shrink:1!important}}.gap-0{gap:0rem!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:2rem!important}.gap-6{gap:3rem!important}.gap-7{gap:4rem!important}.gap-8{gap:5rem!important}.row-gap-0{row-gap:0rem!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:2rem!important}.row-gap-6{row-gap:3rem!important}.row-gap-7{row-gap:4rem!important}.row-gap-8{row-gap:5rem!important}.column-gap-0{column-gap:0rem!important}.column-gap-1{column-gap:.25rem!important}.column-gap-2{column-gap:.5rem!important}.column-gap-3{column-gap:1rem!important}.column-gap-4{column-gap:1.5rem!important}.column-gap-5{column-gap:2rem!important}.column-gap-6{column-gap:3rem!important}.column-gap-7{column-gap:4rem!important}.column-gap-8{column-gap:5rem!important}@media screen and (min-width: 576px){.sm\:gap-0{gap:0rem!important}.sm\:gap-1{gap:.25rem!important}.sm\:gap-2{gap:.5rem!important}.sm\:gap-3{gap:1rem!important}.sm\:gap-4{gap:1.5rem!important}.sm\:gap-5{gap:2rem!important}.sm\:gap-6{gap:3rem!important}.sm\:gap-7{gap:4rem!important}.sm\:gap-8{gap:5rem!important}.sm\:row-gap-0{row-gap:0rem!important}.sm\:row-gap-1{row-gap:.25rem!important}.sm\:row-gap-2{row-gap:.5rem!important}.sm\:row-gap-3{row-gap:1rem!important}.sm\:row-gap-4{row-gap:1.5rem!important}.sm\:row-gap-5{row-gap:2rem!important}.sm\:row-gap-6{row-gap:3rem!important}.sm\:row-gap-7{row-gap:4rem!important}.sm\:row-gap-8{row-gap:5rem!important}.sm\:column-gap-0{column-gap:0rem!important}.sm\:column-gap-1{column-gap:.25rem!important}.sm\:column-gap-2{column-gap:.5rem!important}.sm\:column-gap-3{column-gap:1rem!important}.sm\:column-gap-4{column-gap:1.5rem!important}.sm\:column-gap-5{column-gap:2rem!important}.sm\:column-gap-6{column-gap:3rem!important}.sm\:column-gap-7{column-gap:4rem!important}.sm\:column-gap-8{column-gap:5rem!important}}@media screen and (min-width: 768px){.md\:gap-0{gap:0rem!important}.md\:gap-1{gap:.25rem!important}.md\:gap-2{gap:.5rem!important}.md\:gap-3{gap:1rem!important}.md\:gap-4{gap:1.5rem!important}.md\:gap-5{gap:2rem!important}.md\:gap-6{gap:3rem!important}.md\:gap-7{gap:4rem!important}.md\:gap-8{gap:5rem!important}.md\:row-gap-0{row-gap:0rem!important}.md\:row-gap-1{row-gap:.25rem!important}.md\:row-gap-2{row-gap:.5rem!important}.md\:row-gap-3{row-gap:1rem!important}.md\:row-gap-4{row-gap:1.5rem!important}.md\:row-gap-5{row-gap:2rem!important}.md\:row-gap-6{row-gap:3rem!important}.md\:row-gap-7{row-gap:4rem!important}.md\:row-gap-8{row-gap:5rem!important}.md\:column-gap-0{column-gap:0rem!important}.md\:column-gap-1{column-gap:.25rem!important}.md\:column-gap-2{column-gap:.5rem!important}.md\:column-gap-3{column-gap:1rem!important}.md\:column-gap-4{column-gap:1.5rem!important}.md\:column-gap-5{column-gap:2rem!important}.md\:column-gap-6{column-gap:3rem!important}.md\:column-gap-7{column-gap:4rem!important}.md\:column-gap-8{column-gap:5rem!important}}@media screen and (min-width: 992px){.lg\:gap-0{gap:0rem!important}.lg\:gap-1{gap:.25rem!important}.lg\:gap-2{gap:.5rem!important}.lg\:gap-3{gap:1rem!important}.lg\:gap-4{gap:1.5rem!important}.lg\:gap-5{gap:2rem!important}.lg\:gap-6{gap:3rem!important}.lg\:gap-7{gap:4rem!important}.lg\:gap-8{gap:5rem!important}.lg\:row-gap-0{row-gap:0rem!important}.lg\:row-gap-1{row-gap:.25rem!important}.lg\:row-gap-2{row-gap:.5rem!important}.lg\:row-gap-3{row-gap:1rem!important}.lg\:row-gap-4{row-gap:1.5rem!important}.lg\:row-gap-5{row-gap:2rem!important}.lg\:row-gap-6{row-gap:3rem!important}.lg\:row-gap-7{row-gap:4rem!important}.lg\:row-gap-8{row-gap:5rem!important}.lg\:column-gap-0{column-gap:0rem!important}.lg\:column-gap-1{column-gap:.25rem!important}.lg\:column-gap-2{column-gap:.5rem!important}.lg\:column-gap-3{column-gap:1rem!important}.lg\:column-gap-4{column-gap:1.5rem!important}.lg\:column-gap-5{column-gap:2rem!important}.lg\:column-gap-6{column-gap:3rem!important}.lg\:column-gap-7{column-gap:4rem!important}.lg\:column-gap-8{column-gap:5rem!important}}@media screen and (min-width: 1200px){.xl\:gap-0{gap:0rem!important}.xl\:gap-1{gap:.25rem!important}.xl\:gap-2{gap:.5rem!important}.xl\:gap-3{gap:1rem!important}.xl\:gap-4{gap:1.5rem!important}.xl\:gap-5{gap:2rem!important}.xl\:gap-6{gap:3rem!important}.xl\:gap-7{gap:4rem!important}.xl\:gap-8{gap:5rem!important}.xl\:row-gap-0{row-gap:0rem!important}.xl\:row-gap-1{row-gap:.25rem!important}.xl\:row-gap-2{row-gap:.5rem!important}.xl\:row-gap-3{row-gap:1rem!important}.xl\:row-gap-4{row-gap:1.5rem!important}.xl\:row-gap-5{row-gap:2rem!important}.xl\:row-gap-6{row-gap:3rem!important}.xl\:row-gap-7{row-gap:4rem!important}.xl\:row-gap-8{row-gap:5rem!important}.xl\:column-gap-0{column-gap:0rem!important}.xl\:column-gap-1{column-gap:.25rem!important}.xl\:column-gap-2{column-gap:.5rem!important}.xl\:column-gap-3{column-gap:1rem!important}.xl\:column-gap-4{column-gap:1.5rem!important}.xl\:column-gap-5{column-gap:2rem!important}.xl\:column-gap-6{column-gap:3rem!important}.xl\:column-gap-7{column-gap:4rem!important}.xl\:column-gap-8{column-gap:5rem!important}}.p-0{padding:0rem!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:2rem!important}.p-6{padding:3rem!important}.p-7{padding:4rem!important}.p-8{padding:5rem!important}.pt-0{padding-top:0rem!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:2rem!important}.pt-6{padding-top:3rem!important}.pt-7{padding-top:4rem!important}.pt-8{padding-top:5rem!important}.pr-0{padding-right:0rem!important}.pr-1{padding-right:.25rem!important}.pr-2{padding-right:.5rem!important}.pr-3{padding-right:1rem!important}.pr-4{padding-right:1.5rem!important}.pr-5{padding-right:2rem!important}.pr-6{padding-right:3rem!important}.pr-7{padding-right:4rem!important}.pr-8{padding-right:5rem!important}.pl-0{padding-left:0rem!important}.pl-1{padding-left:.25rem!important}.pl-2{padding-left:.5rem!important}.pl-3{padding-left:1rem!important}.pl-4{padding-left:1.5rem!important}.pl-5{padding-left:2rem!important}.pl-6{padding-left:3rem!important}.pl-7{padding-left:4rem!important}.pl-8{padding-left:5rem!important}.pb-0{padding-bottom:0rem!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:2rem!important}.pb-6{padding-bottom:3rem!important}.pb-7{padding-bottom:4rem!important}.pb-8{padding-bottom:5rem!important}.px-0{padding-left:0rem!important;padding-right:0rem!important}.px-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-3{padding-left:1rem!important;padding-right:1rem!important}.px-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-5{padding-left:2rem!important;padding-right:2rem!important}.px-6{padding-left:3rem!important;padding-right:3rem!important}.px-7{padding-left:4rem!important;padding-right:4rem!important}.px-8{padding-left:5rem!important;padding-right:5rem!important}.py-0{padding-top:0rem!important;padding-bottom:0rem!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:2rem!important;padding-bottom:2rem!important}.py-6{padding-top:3rem!important;padding-bottom:3rem!important}.py-7{padding-top:4rem!important;padding-bottom:4rem!important}.py-8{padding-top:5rem!important;padding-bottom:5rem!important}@media screen and (min-width: 576px){.sm\:p-0{padding:0rem!important}.sm\:p-1{padding:.25rem!important}.sm\:p-2{padding:.5rem!important}.sm\:p-3{padding:1rem!important}.sm\:p-4{padding:1.5rem!important}.sm\:p-5{padding:2rem!important}.sm\:p-6{padding:3rem!important}.sm\:p-7{padding:4rem!important}.sm\:p-8{padding:5rem!important}.sm\:pt-0{padding-top:0rem!important}.sm\:pt-1{padding-top:.25rem!important}.sm\:pt-2{padding-top:.5rem!important}.sm\:pt-3{padding-top:1rem!important}.sm\:pt-4{padding-top:1.5rem!important}.sm\:pt-5{padding-top:2rem!important}.sm\:pt-6{padding-top:3rem!important}.sm\:pt-7{padding-top:4rem!important}.sm\:pt-8{padding-top:5rem!important}.sm\:pr-0{padding-right:0rem!important}.sm\:pr-1{padding-right:.25rem!important}.sm\:pr-2{padding-right:.5rem!important}.sm\:pr-3{padding-right:1rem!important}.sm\:pr-4{padding-right:1.5rem!important}.sm\:pr-5{padding-right:2rem!important}.sm\:pr-6{padding-right:3rem!important}.sm\:pr-7{padding-right:4rem!important}.sm\:pr-8{padding-right:5rem!important}.sm\:pl-0{padding-left:0rem!important}.sm\:pl-1{padding-left:.25rem!important}.sm\:pl-2{padding-left:.5rem!important}.sm\:pl-3{padding-left:1rem!important}.sm\:pl-4{padding-left:1.5rem!important}.sm\:pl-5{padding-left:2rem!important}.sm\:pl-6{padding-left:3rem!important}.sm\:pl-7{padding-left:4rem!important}.sm\:pl-8{padding-left:5rem!important}.sm\:pb-0{padding-bottom:0rem!important}.sm\:pb-1{padding-bottom:.25rem!important}.sm\:pb-2{padding-bottom:.5rem!important}.sm\:pb-3{padding-bottom:1rem!important}.sm\:pb-4{padding-bottom:1.5rem!important}.sm\:pb-5{padding-bottom:2rem!important}.sm\:pb-6{padding-bottom:3rem!important}.sm\:pb-7{padding-bottom:4rem!important}.sm\:pb-8{padding-bottom:5rem!important}.sm\:px-0{padding-left:0rem!important;padding-right:0rem!important}.sm\:px-1{padding-left:.25rem!important;padding-right:.25rem!important}.sm\:px-2{padding-left:.5rem!important;padding-right:.5rem!important}.sm\:px-3{padding-left:1rem!important;padding-right:1rem!important}.sm\:px-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.sm\:px-5{padding-left:2rem!important;padding-right:2rem!important}.sm\:px-6{padding-left:3rem!important;padding-right:3rem!important}.sm\:px-7{padding-left:4rem!important;padding-right:4rem!important}.sm\:px-8{padding-left:5rem!important;padding-right:5rem!important}.sm\:py-0{padding-top:0rem!important;padding-bottom:0rem!important}.sm\:py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.sm\:py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.sm\:py-3{padding-top:1rem!important;padding-bottom:1rem!important}.sm\:py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.sm\:py-5{padding-top:2rem!important;padding-bottom:2rem!important}.sm\:py-6{padding-top:3rem!important;padding-bottom:3rem!important}.sm\:py-7{padding-top:4rem!important;padding-bottom:4rem!important}.sm\:py-8{padding-top:5rem!important;padding-bottom:5rem!important}}@media screen and (min-width: 768px){.md\:p-0{padding:0rem!important}.md\:p-1{padding:.25rem!important}.md\:p-2{padding:.5rem!important}.md\:p-3{padding:1rem!important}.md\:p-4{padding:1.5rem!important}.md\:p-5{padding:2rem!important}.md\:p-6{padding:3rem!important}.md\:p-7{padding:4rem!important}.md\:p-8{padding:5rem!important}.md\:pt-0{padding-top:0rem!important}.md\:pt-1{padding-top:.25rem!important}.md\:pt-2{padding-top:.5rem!important}.md\:pt-3{padding-top:1rem!important}.md\:pt-4{padding-top:1.5rem!important}.md\:pt-5{padding-top:2rem!important}.md\:pt-6{padding-top:3rem!important}.md\:pt-7{padding-top:4rem!important}.md\:pt-8{padding-top:5rem!important}.md\:pr-0{padding-right:0rem!important}.md\:pr-1{padding-right:.25rem!important}.md\:pr-2{padding-right:.5rem!important}.md\:pr-3{padding-right:1rem!important}.md\:pr-4{padding-right:1.5rem!important}.md\:pr-5{padding-right:2rem!important}.md\:pr-6{padding-right:3rem!important}.md\:pr-7{padding-right:4rem!important}.md\:pr-8{padding-right:5rem!important}.md\:pl-0{padding-left:0rem!important}.md\:pl-1{padding-left:.25rem!important}.md\:pl-2{padding-left:.5rem!important}.md\:pl-3{padding-left:1rem!important}.md\:pl-4{padding-left:1.5rem!important}.md\:pl-5{padding-left:2rem!important}.md\:pl-6{padding-left:3rem!important}.md\:pl-7{padding-left:4rem!important}.md\:pl-8{padding-left:5rem!important}.md\:pb-0{padding-bottom:0rem!important}.md\:pb-1{padding-bottom:.25rem!important}.md\:pb-2{padding-bottom:.5rem!important}.md\:pb-3{padding-bottom:1rem!important}.md\:pb-4{padding-bottom:1.5rem!important}.md\:pb-5{padding-bottom:2rem!important}.md\:pb-6{padding-bottom:3rem!important}.md\:pb-7{padding-bottom:4rem!important}.md\:pb-8{padding-bottom:5rem!important}.md\:px-0{padding-left:0rem!important;padding-right:0rem!important}.md\:px-1{padding-left:.25rem!important;padding-right:.25rem!important}.md\:px-2{padding-left:.5rem!important;padding-right:.5rem!important}.md\:px-3{padding-left:1rem!important;padding-right:1rem!important}.md\:px-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.md\:px-5{padding-left:2rem!important;padding-right:2rem!important}.md\:px-6{padding-left:3rem!important;padding-right:3rem!important}.md\:px-7{padding-left:4rem!important;padding-right:4rem!important}.md\:px-8{padding-left:5rem!important;padding-right:5rem!important}.md\:py-0{padding-top:0rem!important;padding-bottom:0rem!important}.md\:py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.md\:py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.md\:py-3{padding-top:1rem!important;padding-bottom:1rem!important}.md\:py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.md\:py-5{padding-top:2rem!important;padding-bottom:2rem!important}.md\:py-6{padding-top:3rem!important;padding-bottom:3rem!important}.md\:py-7{padding-top:4rem!important;padding-bottom:4rem!important}.md\:py-8{padding-top:5rem!important;padding-bottom:5rem!important}}@media screen and (min-width: 992px){.lg\:p-0{padding:0rem!important}.lg\:p-1{padding:.25rem!important}.lg\:p-2{padding:.5rem!important}.lg\:p-3{padding:1rem!important}.lg\:p-4{padding:1.5rem!important}.lg\:p-5{padding:2rem!important}.lg\:p-6{padding:3rem!important}.lg\:p-7{padding:4rem!important}.lg\:p-8{padding:5rem!important}.lg\:pt-0{padding-top:0rem!important}.lg\:pt-1{padding-top:.25rem!important}.lg\:pt-2{padding-top:.5rem!important}.lg\:pt-3{padding-top:1rem!important}.lg\:pt-4{padding-top:1.5rem!important}.lg\:pt-5{padding-top:2rem!important}.lg\:pt-6{padding-top:3rem!important}.lg\:pt-7{padding-top:4rem!important}.lg\:pt-8{padding-top:5rem!important}.lg\:pr-0{padding-right:0rem!important}.lg\:pr-1{padding-right:.25rem!important}.lg\:pr-2{padding-right:.5rem!important}.lg\:pr-3{padding-right:1rem!important}.lg\:pr-4{padding-right:1.5rem!important}.lg\:pr-5{padding-right:2rem!important}.lg\:pr-6{padding-right:3rem!important}.lg\:pr-7{padding-right:4rem!important}.lg\:pr-8{padding-right:5rem!important}.lg\:pl-0{padding-left:0rem!important}.lg\:pl-1{padding-left:.25rem!important}.lg\:pl-2{padding-left:.5rem!important}.lg\:pl-3{padding-left:1rem!important}.lg\:pl-4{padding-left:1.5rem!important}.lg\:pl-5{padding-left:2rem!important}.lg\:pl-6{padding-left:3rem!important}.lg\:pl-7{padding-left:4rem!important}.lg\:pl-8{padding-left:5rem!important}.lg\:pb-0{padding-bottom:0rem!important}.lg\:pb-1{padding-bottom:.25rem!important}.lg\:pb-2{padding-bottom:.5rem!important}.lg\:pb-3{padding-bottom:1rem!important}.lg\:pb-4{padding-bottom:1.5rem!important}.lg\:pb-5{padding-bottom:2rem!important}.lg\:pb-6{padding-bottom:3rem!important}.lg\:pb-7{padding-bottom:4rem!important}.lg\:pb-8{padding-bottom:5rem!important}.lg\:px-0{padding-left:0rem!important;padding-right:0rem!important}.lg\:px-1{padding-left:.25rem!important;padding-right:.25rem!important}.lg\:px-2{padding-left:.5rem!important;padding-right:.5rem!important}.lg\:px-3{padding-left:1rem!important;padding-right:1rem!important}.lg\:px-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.lg\:px-5{padding-left:2rem!important;padding-right:2rem!important}.lg\:px-6{padding-left:3rem!important;padding-right:3rem!important}.lg\:px-7{padding-left:4rem!important;padding-right:4rem!important}.lg\:px-8{padding-left:5rem!important;padding-right:5rem!important}.lg\:py-0{padding-top:0rem!important;padding-bottom:0rem!important}.lg\:py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.lg\:py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.lg\:py-3{padding-top:1rem!important;padding-bottom:1rem!important}.lg\:py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.lg\:py-5{padding-top:2rem!important;padding-bottom:2rem!important}.lg\:py-6{padding-top:3rem!important;padding-bottom:3rem!important}.lg\:py-7{padding-top:4rem!important;padding-bottom:4rem!important}.lg\:py-8{padding-top:5rem!important;padding-bottom:5rem!important}}@media screen and (min-width: 1200px){.xl\:p-0{padding:0rem!important}.xl\:p-1{padding:.25rem!important}.xl\:p-2{padding:.5rem!important}.xl\:p-3{padding:1rem!important}.xl\:p-4{padding:1.5rem!important}.xl\:p-5{padding:2rem!important}.xl\:p-6{padding:3rem!important}.xl\:p-7{padding:4rem!important}.xl\:p-8{padding:5rem!important}.xl\:pt-0{padding-top:0rem!important}.xl\:pt-1{padding-top:.25rem!important}.xl\:pt-2{padding-top:.5rem!important}.xl\:pt-3{padding-top:1rem!important}.xl\:pt-4{padding-top:1.5rem!important}.xl\:pt-5{padding-top:2rem!important}.xl\:pt-6{padding-top:3rem!important}.xl\:pt-7{padding-top:4rem!important}.xl\:pt-8{padding-top:5rem!important}.xl\:pr-0{padding-right:0rem!important}.xl\:pr-1{padding-right:.25rem!important}.xl\:pr-2{padding-right:.5rem!important}.xl\:pr-3{padding-right:1rem!important}.xl\:pr-4{padding-right:1.5rem!important}.xl\:pr-5{padding-right:2rem!important}.xl\:pr-6{padding-right:3rem!important}.xl\:pr-7{padding-right:4rem!important}.xl\:pr-8{padding-right:5rem!important}.xl\:pl-0{padding-left:0rem!important}.xl\:pl-1{padding-left:.25rem!important}.xl\:pl-2{padding-left:.5rem!important}.xl\:pl-3{padding-left:1rem!important}.xl\:pl-4{padding-left:1.5rem!important}.xl\:pl-5{padding-left:2rem!important}.xl\:pl-6{padding-left:3rem!important}.xl\:pl-7{padding-left:4rem!important}.xl\:pl-8{padding-left:5rem!important}.xl\:pb-0{padding-bottom:0rem!important}.xl\:pb-1{padding-bottom:.25rem!important}.xl\:pb-2{padding-bottom:.5rem!important}.xl\:pb-3{padding-bottom:1rem!important}.xl\:pb-4{padding-bottom:1.5rem!important}.xl\:pb-5{padding-bottom:2rem!important}.xl\:pb-6{padding-bottom:3rem!important}.xl\:pb-7{padding-bottom:4rem!important}.xl\:pb-8{padding-bottom:5rem!important}.xl\:px-0{padding-left:0rem!important;padding-right:0rem!important}.xl\:px-1{padding-left:.25rem!important;padding-right:.25rem!important}.xl\:px-2{padding-left:.5rem!important;padding-right:.5rem!important}.xl\:px-3{padding-left:1rem!important;padding-right:1rem!important}.xl\:px-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.xl\:px-5{padding-left:2rem!important;padding-right:2rem!important}.xl\:px-6{padding-left:3rem!important;padding-right:3rem!important}.xl\:px-7{padding-left:4rem!important;padding-right:4rem!important}.xl\:px-8{padding-left:5rem!important;padding-right:5rem!important}.xl\:py-0{padding-top:0rem!important;padding-bottom:0rem!important}.xl\:py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.xl\:py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.xl\:py-3{padding-top:1rem!important;padding-bottom:1rem!important}.xl\:py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.xl\:py-5{padding-top:2rem!important;padding-bottom:2rem!important}.xl\:py-6{padding-top:3rem!important;padding-bottom:3rem!important}.xl\:py-7{padding-top:4rem!important;padding-bottom:4rem!important}.xl\:py-8{padding-top:5rem!important;padding-bottom:5rem!important}}.m-0{margin:0rem!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:2rem!important}.m-6{margin:3rem!important}.m-7{margin:4rem!important}.m-8{margin:5rem!important}.-m-1{margin:-.25rem!important}.-m-2{margin:-.5rem!important}.-m-3{margin:-1rem!important}.-m-4{margin:-1.5rem!important}.-m-5{margin:-2rem!important}.-m-6{margin:-3rem!important}.-m-7{margin:-4rem!important}.-m-8{margin:-5rem!important}.m-auto{margin:auto!important}.mt-0{margin-top:0rem!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:2rem!important}.mt-6{margin-top:3rem!important}.mt-7{margin-top:4rem!important}.mt-8{margin-top:5rem!important}.-mt-1{margin-top:-.25rem!important}.-mt-2{margin-top:-.5rem!important}.-mt-3{margin-top:-1rem!important}.-mt-4{margin-top:-1.5rem!important}.-mt-5{margin-top:-2rem!important}.-mt-6{margin-top:-3rem!important}.-mt-7{margin-top:-4rem!important}.-mt-8{margin-top:-5rem!important}.mt-auto{margin-top:auto!important}.mr-0{margin-right:0rem!important}.mr-1{margin-right:.25rem!important}.mr-2{margin-right:.5rem!important}.mr-3{margin-right:1rem!important}.mr-4{margin-right:1.5rem!important}.mr-5{margin-right:2rem!important}.mr-6{margin-right:3rem!important}.mr-7{margin-right:4rem!important}.mr-8{margin-right:5rem!important}.-mr-1{margin-right:-.25rem!important}.-mr-2{margin-right:-.5rem!important}.-mr-3{margin-right:-1rem!important}.-mr-4{margin-right:-1.5rem!important}.-mr-5{margin-right:-2rem!important}.-mr-6{margin-right:-3rem!important}.-mr-7{margin-right:-4rem!important}.-mr-8{margin-right:-5rem!important}.mr-auto{margin-right:auto!important}.ml-0{margin-left:0rem!important}.ml-1{margin-left:.25rem!important}.ml-2{margin-left:.5rem!important}.ml-3{margin-left:1rem!important}.ml-4{margin-left:1.5rem!important}.ml-5{margin-left:2rem!important}.ml-6{margin-left:3rem!important}.ml-7{margin-left:4rem!important}.ml-8{margin-left:5rem!important}.-ml-1{margin-left:-.25rem!important}.-ml-2{margin-left:-.5rem!important}.-ml-3{margin-left:-1rem!important}.-ml-4{margin-left:-1.5rem!important}.-ml-5{margin-left:-2rem!important}.-ml-6{margin-left:-3rem!important}.-ml-7{margin-left:-4rem!important}.-ml-8{margin-left:-5rem!important}.ml-auto{margin-left:auto!important}.mb-0{margin-bottom:0rem!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:2rem!important}.mb-6{margin-bottom:3rem!important}.mb-7{margin-bottom:4rem!important}.mb-8{margin-bottom:5rem!important}.-mb-1{margin-bottom:-.25rem!important}.-mb-2{margin-bottom:-.5rem!important}.-mb-3{margin-bottom:-1rem!important}.-mb-4{margin-bottom:-1.5rem!important}.-mb-5{margin-bottom:-2rem!important}.-mb-6{margin-bottom:-3rem!important}.-mb-7{margin-bottom:-4rem!important}.-mb-8{margin-bottom:-5rem!important}.mb-auto{margin-bottom:auto!important}.mx-0{margin-left:0rem!important;margin-right:0rem!important}.mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.mx-3{margin-left:1rem!important;margin-right:1rem!important}.mx-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.mx-5{margin-left:2rem!important;margin-right:2rem!important}.mx-6{margin-left:3rem!important;margin-right:3rem!important}.mx-7{margin-left:4rem!important;margin-right:4rem!important}.mx-8{margin-left:5rem!important;margin-right:5rem!important}.-mx-1{margin-left:-.25rem!important;margin-right:-.25rem!important}.-mx-2{margin-left:-.5rem!important;margin-right:-.5rem!important}.-mx-3{margin-left:-1rem!important;margin-right:-1rem!important}.-mx-4{margin-left:-1.5rem!important;margin-right:-1.5rem!important}.-mx-5{margin-left:-2rem!important;margin-right:-2rem!important}.-mx-6{margin-left:-3rem!important;margin-right:-3rem!important}.-mx-7{margin-left:-4rem!important;margin-right:-4rem!important}.-mx-8{margin-left:-5rem!important;margin-right:-5rem!important}.mx-auto{margin-left:auto!important;margin-right:auto!important}.my-0{margin-top:0rem!important;margin-bottom:0rem!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:2rem!important;margin-bottom:2rem!important}.my-6{margin-top:3rem!important;margin-bottom:3rem!important}.my-7{margin-top:4rem!important;margin-bottom:4rem!important}.my-8{margin-top:5rem!important;margin-bottom:5rem!important}.-my-1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.-my-2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.-my-3{margin-top:-1rem!important;margin-bottom:-1rem!important}.-my-4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.-my-5{margin-top:-2rem!important;margin-bottom:-2rem!important}.-my-6{margin-top:-3rem!important;margin-bottom:-3rem!important}.-my-7{margin-top:-4rem!important;margin-bottom:-4rem!important}.-my-8{margin-top:-5rem!important;margin-bottom:-5rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}@media screen and (min-width: 576px){.sm\:m-0{margin:0rem!important}.sm\:m-1{margin:.25rem!important}.sm\:m-2{margin:.5rem!important}.sm\:m-3{margin:1rem!important}.sm\:m-4{margin:1.5rem!important}.sm\:m-5{margin:2rem!important}.sm\:m-6{margin:3rem!important}.sm\:m-7{margin:4rem!important}.sm\:m-8{margin:5rem!important}.sm\:-m-1{margin:-.25rem!important}.sm\:-m-2{margin:-.5rem!important}.sm\:-m-3{margin:-1rem!important}.sm\:-m-4{margin:-1.5rem!important}.sm\:-m-5{margin:-2rem!important}.sm\:-m-6{margin:-3rem!important}.sm\:-m-7{margin:-4rem!important}.sm\:-m-8{margin:-5rem!important}.sm\:m-auto{margin:auto!important}.sm\:mt-0{margin-top:0rem!important}.sm\:mt-1{margin-top:.25rem!important}.sm\:mt-2{margin-top:.5rem!important}.sm\:mt-3{margin-top:1rem!important}.sm\:mt-4{margin-top:1.5rem!important}.sm\:mt-5{margin-top:2rem!important}.sm\:mt-6{margin-top:3rem!important}.sm\:mt-7{margin-top:4rem!important}.sm\:mt-8{margin-top:5rem!important}.sm\:-mt-1{margin-top:-.25rem!important}.sm\:-mt-2{margin-top:-.5rem!important}.sm\:-mt-3{margin-top:-1rem!important}.sm\:-mt-4{margin-top:-1.5rem!important}.sm\:-mt-5{margin-top:-2rem!important}.sm\:-mt-6{margin-top:-3rem!important}.sm\:-mt-7{margin-top:-4rem!important}.sm\:-mt-8{margin-top:-5rem!important}.sm\:mt-auto{margin-top:auto!important}.sm\:mr-0{margin-right:0rem!important}.sm\:mr-1{margin-right:.25rem!important}.sm\:mr-2{margin-right:.5rem!important}.sm\:mr-3{margin-right:1rem!important}.sm\:mr-4{margin-right:1.5rem!important}.sm\:mr-5{margin-right:2rem!important}.sm\:mr-6{margin-right:3rem!important}.sm\:mr-7{margin-right:4rem!important}.sm\:mr-8{margin-right:5rem!important}.sm\:-mr-1{margin-right:-.25rem!important}.sm\:-mr-2{margin-right:-.5rem!important}.sm\:-mr-3{margin-right:-1rem!important}.sm\:-mr-4{margin-right:-1.5rem!important}.sm\:-mr-5{margin-right:-2rem!important}.sm\:-mr-6{margin-right:-3rem!important}.sm\:-mr-7{margin-right:-4rem!important}.sm\:-mr-8{margin-right:-5rem!important}.sm\:mr-auto{margin-right:auto!important}.sm\:ml-0{margin-left:0rem!important}.sm\:ml-1{margin-left:.25rem!important}.sm\:ml-2{margin-left:.5rem!important}.sm\:ml-3{margin-left:1rem!important}.sm\:ml-4{margin-left:1.5rem!important}.sm\:ml-5{margin-left:2rem!important}.sm\:ml-6{margin-left:3rem!important}.sm\:ml-7{margin-left:4rem!important}.sm\:ml-8{margin-left:5rem!important}.sm\:-ml-1{margin-left:-.25rem!important}.sm\:-ml-2{margin-left:-.5rem!important}.sm\:-ml-3{margin-left:-1rem!important}.sm\:-ml-4{margin-left:-1.5rem!important}.sm\:-ml-5{margin-left:-2rem!important}.sm\:-ml-6{margin-left:-3rem!important}.sm\:-ml-7{margin-left:-4rem!important}.sm\:-ml-8{margin-left:-5rem!important}.sm\:ml-auto{margin-left:auto!important}.sm\:mb-0{margin-bottom:0rem!important}.sm\:mb-1{margin-bottom:.25rem!important}.sm\:mb-2{margin-bottom:.5rem!important}.sm\:mb-3{margin-bottom:1rem!important}.sm\:mb-4{margin-bottom:1.5rem!important}.sm\:mb-5{margin-bottom:2rem!important}.sm\:mb-6{margin-bottom:3rem!important}.sm\:mb-7{margin-bottom:4rem!important}.sm\:mb-8{margin-bottom:5rem!important}.sm\:-mb-1{margin-bottom:-.25rem!important}.sm\:-mb-2{margin-bottom:-.5rem!important}.sm\:-mb-3{margin-bottom:-1rem!important}.sm\:-mb-4{margin-bottom:-1.5rem!important}.sm\:-mb-5{margin-bottom:-2rem!important}.sm\:-mb-6{margin-bottom:-3rem!important}.sm\:-mb-7{margin-bottom:-4rem!important}.sm\:-mb-8{margin-bottom:-5rem!important}.sm\:mb-auto{margin-bottom:auto!important}.sm\:mx-0{margin-left:0rem!important;margin-right:0rem!important}.sm\:mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.sm\:mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.sm\:mx-3{margin-left:1rem!important;margin-right:1rem!important}.sm\:mx-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.sm\:mx-5{margin-left:2rem!important;margin-right:2rem!important}.sm\:mx-6{margin-left:3rem!important;margin-right:3rem!important}.sm\:mx-7{margin-left:4rem!important;margin-right:4rem!important}.sm\:mx-8{margin-left:5rem!important;margin-right:5rem!important}.sm\:-mx-1{margin-left:-.25rem!important;margin-right:-.25rem!important}.sm\:-mx-2{margin-left:-.5rem!important;margin-right:-.5rem!important}.sm\:-mx-3{margin-left:-1rem!important;margin-right:-1rem!important}.sm\:-mx-4{margin-left:-1.5rem!important;margin-right:-1.5rem!important}.sm\:-mx-5{margin-left:-2rem!important;margin-right:-2rem!important}.sm\:-mx-6{margin-left:-3rem!important;margin-right:-3rem!important}.sm\:-mx-7{margin-left:-4rem!important;margin-right:-4rem!important}.sm\:-mx-8{margin-left:-5rem!important;margin-right:-5rem!important}.sm\:mx-auto{margin-left:auto!important;margin-right:auto!important}.sm\:my-0{margin-top:0rem!important;margin-bottom:0rem!important}.sm\:my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.sm\:my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.sm\:my-3{margin-top:1rem!important;margin-bottom:1rem!important}.sm\:my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.sm\:my-5{margin-top:2rem!important;margin-bottom:2rem!important}.sm\:my-6{margin-top:3rem!important;margin-bottom:3rem!important}.sm\:my-7{margin-top:4rem!important;margin-bottom:4rem!important}.sm\:my-8{margin-top:5rem!important;margin-bottom:5rem!important}.sm\:-my-1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.sm\:-my-2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.sm\:-my-3{margin-top:-1rem!important;margin-bottom:-1rem!important}.sm\:-my-4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.sm\:-my-5{margin-top:-2rem!important;margin-bottom:-2rem!important}.sm\:-my-6{margin-top:-3rem!important;margin-bottom:-3rem!important}.sm\:-my-7{margin-top:-4rem!important;margin-bottom:-4rem!important}.sm\:-my-8{margin-top:-5rem!important;margin-bottom:-5rem!important}.sm\:my-auto{margin-top:auto!important;margin-bottom:auto!important}}@media screen and (min-width: 768px){.md\:m-0{margin:0rem!important}.md\:m-1{margin:.25rem!important}.md\:m-2{margin:.5rem!important}.md\:m-3{margin:1rem!important}.md\:m-4{margin:1.5rem!important}.md\:m-5{margin:2rem!important}.md\:m-6{margin:3rem!important}.md\:m-7{margin:4rem!important}.md\:m-8{margin:5rem!important}.md\:-m-1{margin:-.25rem!important}.md\:-m-2{margin:-.5rem!important}.md\:-m-3{margin:-1rem!important}.md\:-m-4{margin:-1.5rem!important}.md\:-m-5{margin:-2rem!important}.md\:-m-6{margin:-3rem!important}.md\:-m-7{margin:-4rem!important}.md\:-m-8{margin:-5rem!important}.md\:m-auto{margin:auto!important}.md\:mt-0{margin-top:0rem!important}.md\:mt-1{margin-top:.25rem!important}.md\:mt-2{margin-top:.5rem!important}.md\:mt-3{margin-top:1rem!important}.md\:mt-4{margin-top:1.5rem!important}.md\:mt-5{margin-top:2rem!important}.md\:mt-6{margin-top:3rem!important}.md\:mt-7{margin-top:4rem!important}.md\:mt-8{margin-top:5rem!important}.md\:-mt-1{margin-top:-.25rem!important}.md\:-mt-2{margin-top:-.5rem!important}.md\:-mt-3{margin-top:-1rem!important}.md\:-mt-4{margin-top:-1.5rem!important}.md\:-mt-5{margin-top:-2rem!important}.md\:-mt-6{margin-top:-3rem!important}.md\:-mt-7{margin-top:-4rem!important}.md\:-mt-8{margin-top:-5rem!important}.md\:mt-auto{margin-top:auto!important}.md\:mr-0{margin-right:0rem!important}.md\:mr-1{margin-right:.25rem!important}.md\:mr-2{margin-right:.5rem!important}.md\:mr-3{margin-right:1rem!important}.md\:mr-4{margin-right:1.5rem!important}.md\:mr-5{margin-right:2rem!important}.md\:mr-6{margin-right:3rem!important}.md\:mr-7{margin-right:4rem!important}.md\:mr-8{margin-right:5rem!important}.md\:-mr-1{margin-right:-.25rem!important}.md\:-mr-2{margin-right:-.5rem!important}.md\:-mr-3{margin-right:-1rem!important}.md\:-mr-4{margin-right:-1.5rem!important}.md\:-mr-5{margin-right:-2rem!important}.md\:-mr-6{margin-right:-3rem!important}.md\:-mr-7{margin-right:-4rem!important}.md\:-mr-8{margin-right:-5rem!important}.md\:mr-auto{margin-right:auto!important}.md\:ml-0{margin-left:0rem!important}.md\:ml-1{margin-left:.25rem!important}.md\:ml-2{margin-left:.5rem!important}.md\:ml-3{margin-left:1rem!important}.md\:ml-4{margin-left:1.5rem!important}.md\:ml-5{margin-left:2rem!important}.md\:ml-6{margin-left:3rem!important}.md\:ml-7{margin-left:4rem!important}.md\:ml-8{margin-left:5rem!important}.md\:-ml-1{margin-left:-.25rem!important}.md\:-ml-2{margin-left:-.5rem!important}.md\:-ml-3{margin-left:-1rem!important}.md\:-ml-4{margin-left:-1.5rem!important}.md\:-ml-5{margin-left:-2rem!important}.md\:-ml-6{margin-left:-3rem!important}.md\:-ml-7{margin-left:-4rem!important}.md\:-ml-8{margin-left:-5rem!important}.md\:ml-auto{margin-left:auto!important}.md\:mb-0{margin-bottom:0rem!important}.md\:mb-1{margin-bottom:.25rem!important}.md\:mb-2{margin-bottom:.5rem!important}.md\:mb-3{margin-bottom:1rem!important}.md\:mb-4{margin-bottom:1.5rem!important}.md\:mb-5{margin-bottom:2rem!important}.md\:mb-6{margin-bottom:3rem!important}.md\:mb-7{margin-bottom:4rem!important}.md\:mb-8{margin-bottom:5rem!important}.md\:-mb-1{margin-bottom:-.25rem!important}.md\:-mb-2{margin-bottom:-.5rem!important}.md\:-mb-3{margin-bottom:-1rem!important}.md\:-mb-4{margin-bottom:-1.5rem!important}.md\:-mb-5{margin-bottom:-2rem!important}.md\:-mb-6{margin-bottom:-3rem!important}.md\:-mb-7{margin-bottom:-4rem!important}.md\:-mb-8{margin-bottom:-5rem!important}.md\:mb-auto{margin-bottom:auto!important}.md\:mx-0{margin-left:0rem!important;margin-right:0rem!important}.md\:mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.md\:mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.md\:mx-3{margin-left:1rem!important;margin-right:1rem!important}.md\:mx-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.md\:mx-5{margin-left:2rem!important;margin-right:2rem!important}.md\:mx-6{margin-left:3rem!important;margin-right:3rem!important}.md\:mx-7{margin-left:4rem!important;margin-right:4rem!important}.md\:mx-8{margin-left:5rem!important;margin-right:5rem!important}.md\:-mx-1{margin-left:-.25rem!important;margin-right:-.25rem!important}.md\:-mx-2{margin-left:-.5rem!important;margin-right:-.5rem!important}.md\:-mx-3{margin-left:-1rem!important;margin-right:-1rem!important}.md\:-mx-4{margin-left:-1.5rem!important;margin-right:-1.5rem!important}.md\:-mx-5{margin-left:-2rem!important;margin-right:-2rem!important}.md\:-mx-6{margin-left:-3rem!important;margin-right:-3rem!important}.md\:-mx-7{margin-left:-4rem!important;margin-right:-4rem!important}.md\:-mx-8{margin-left:-5rem!important;margin-right:-5rem!important}.md\:mx-auto{margin-left:auto!important;margin-right:auto!important}.md\:my-0{margin-top:0rem!important;margin-bottom:0rem!important}.md\:my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.md\:my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.md\:my-3{margin-top:1rem!important;margin-bottom:1rem!important}.md\:my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.md\:my-5{margin-top:2rem!important;margin-bottom:2rem!important}.md\:my-6{margin-top:3rem!important;margin-bottom:3rem!important}.md\:my-7{margin-top:4rem!important;margin-bottom:4rem!important}.md\:my-8{margin-top:5rem!important;margin-bottom:5rem!important}.md\:-my-1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.md\:-my-2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.md\:-my-3{margin-top:-1rem!important;margin-bottom:-1rem!important}.md\:-my-4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.md\:-my-5{margin-top:-2rem!important;margin-bottom:-2rem!important}.md\:-my-6{margin-top:-3rem!important;margin-bottom:-3rem!important}.md\:-my-7{margin-top:-4rem!important;margin-bottom:-4rem!important}.md\:-my-8{margin-top:-5rem!important;margin-bottom:-5rem!important}.md\:my-auto{margin-top:auto!important;margin-bottom:auto!important}}@media screen and (min-width: 992px){.lg\:m-0{margin:0rem!important}.lg\:m-1{margin:.25rem!important}.lg\:m-2{margin:.5rem!important}.lg\:m-3{margin:1rem!important}.lg\:m-4{margin:1.5rem!important}.lg\:m-5{margin:2rem!important}.lg\:m-6{margin:3rem!important}.lg\:m-7{margin:4rem!important}.lg\:m-8{margin:5rem!important}.lg\:-m-1{margin:-.25rem!important}.lg\:-m-2{margin:-.5rem!important}.lg\:-m-3{margin:-1rem!important}.lg\:-m-4{margin:-1.5rem!important}.lg\:-m-5{margin:-2rem!important}.lg\:-m-6{margin:-3rem!important}.lg\:-m-7{margin:-4rem!important}.lg\:-m-8{margin:-5rem!important}.lg\:m-auto{margin:auto!important}.lg\:mt-0{margin-top:0rem!important}.lg\:mt-1{margin-top:.25rem!important}.lg\:mt-2{margin-top:.5rem!important}.lg\:mt-3{margin-top:1rem!important}.lg\:mt-4{margin-top:1.5rem!important}.lg\:mt-5{margin-top:2rem!important}.lg\:mt-6{margin-top:3rem!important}.lg\:mt-7{margin-top:4rem!important}.lg\:mt-8{margin-top:5rem!important}.lg\:-mt-1{margin-top:-.25rem!important}.lg\:-mt-2{margin-top:-.5rem!important}.lg\:-mt-3{margin-top:-1rem!important}.lg\:-mt-4{margin-top:-1.5rem!important}.lg\:-mt-5{margin-top:-2rem!important}.lg\:-mt-6{margin-top:-3rem!important}.lg\:-mt-7{margin-top:-4rem!important}.lg\:-mt-8{margin-top:-5rem!important}.lg\:mt-auto{margin-top:auto!important}.lg\:mr-0{margin-right:0rem!important}.lg\:mr-1{margin-right:.25rem!important}.lg\:mr-2{margin-right:.5rem!important}.lg\:mr-3{margin-right:1rem!important}.lg\:mr-4{margin-right:1.5rem!important}.lg\:mr-5{margin-right:2rem!important}.lg\:mr-6{margin-right:3rem!important}.lg\:mr-7{margin-right:4rem!important}.lg\:mr-8{margin-right:5rem!important}.lg\:-mr-1{margin-right:-.25rem!important}.lg\:-mr-2{margin-right:-.5rem!important}.lg\:-mr-3{margin-right:-1rem!important}.lg\:-mr-4{margin-right:-1.5rem!important}.lg\:-mr-5{margin-right:-2rem!important}.lg\:-mr-6{margin-right:-3rem!important}.lg\:-mr-7{margin-right:-4rem!important}.lg\:-mr-8{margin-right:-5rem!important}.lg\:mr-auto{margin-right:auto!important}.lg\:ml-0{margin-left:0rem!important}.lg\:ml-1{margin-left:.25rem!important}.lg\:ml-2{margin-left:.5rem!important}.lg\:ml-3{margin-left:1rem!important}.lg\:ml-4{margin-left:1.5rem!important}.lg\:ml-5{margin-left:2rem!important}.lg\:ml-6{margin-left:3rem!important}.lg\:ml-7{margin-left:4rem!important}.lg\:ml-8{margin-left:5rem!important}.lg\:-ml-1{margin-left:-.25rem!important}.lg\:-ml-2{margin-left:-.5rem!important}.lg\:-ml-3{margin-left:-1rem!important}.lg\:-ml-4{margin-left:-1.5rem!important}.lg\:-ml-5{margin-left:-2rem!important}.lg\:-ml-6{margin-left:-3rem!important}.lg\:-ml-7{margin-left:-4rem!important}.lg\:-ml-8{margin-left:-5rem!important}.lg\:ml-auto{margin-left:auto!important}.lg\:mb-0{margin-bottom:0rem!important}.lg\:mb-1{margin-bottom:.25rem!important}.lg\:mb-2{margin-bottom:.5rem!important}.lg\:mb-3{margin-bottom:1rem!important}.lg\:mb-4{margin-bottom:1.5rem!important}.lg\:mb-5{margin-bottom:2rem!important}.lg\:mb-6{margin-bottom:3rem!important}.lg\:mb-7{margin-bottom:4rem!important}.lg\:mb-8{margin-bottom:5rem!important}.lg\:-mb-1{margin-bottom:-.25rem!important}.lg\:-mb-2{margin-bottom:-.5rem!important}.lg\:-mb-3{margin-bottom:-1rem!important}.lg\:-mb-4{margin-bottom:-1.5rem!important}.lg\:-mb-5{margin-bottom:-2rem!important}.lg\:-mb-6{margin-bottom:-3rem!important}.lg\:-mb-7{margin-bottom:-4rem!important}.lg\:-mb-8{margin-bottom:-5rem!important}.lg\:mb-auto{margin-bottom:auto!important}.lg\:mx-0{margin-left:0rem!important;margin-right:0rem!important}.lg\:mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.lg\:mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.lg\:mx-3{margin-left:1rem!important;margin-right:1rem!important}.lg\:mx-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.lg\:mx-5{margin-left:2rem!important;margin-right:2rem!important}.lg\:mx-6{margin-left:3rem!important;margin-right:3rem!important}.lg\:mx-7{margin-left:4rem!important;margin-right:4rem!important}.lg\:mx-8{margin-left:5rem!important;margin-right:5rem!important}.lg\:-mx-1{margin-left:-.25rem!important;margin-right:-.25rem!important}.lg\:-mx-2{margin-left:-.5rem!important;margin-right:-.5rem!important}.lg\:-mx-3{margin-left:-1rem!important;margin-right:-1rem!important}.lg\:-mx-4{margin-left:-1.5rem!important;margin-right:-1.5rem!important}.lg\:-mx-5{margin-left:-2rem!important;margin-right:-2rem!important}.lg\:-mx-6{margin-left:-3rem!important;margin-right:-3rem!important}.lg\:-mx-7{margin-left:-4rem!important;margin-right:-4rem!important}.lg\:-mx-8{margin-left:-5rem!important;margin-right:-5rem!important}.lg\:mx-auto{margin-left:auto!important;margin-right:auto!important}.lg\:my-0{margin-top:0rem!important;margin-bottom:0rem!important}.lg\:my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.lg\:my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.lg\:my-3{margin-top:1rem!important;margin-bottom:1rem!important}.lg\:my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.lg\:my-5{margin-top:2rem!important;margin-bottom:2rem!important}.lg\:my-6{margin-top:3rem!important;margin-bottom:3rem!important}.lg\:my-7{margin-top:4rem!important;margin-bottom:4rem!important}.lg\:my-8{margin-top:5rem!important;margin-bottom:5rem!important}.lg\:-my-1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.lg\:-my-2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.lg\:-my-3{margin-top:-1rem!important;margin-bottom:-1rem!important}.lg\:-my-4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.lg\:-my-5{margin-top:-2rem!important;margin-bottom:-2rem!important}.lg\:-my-6{margin-top:-3rem!important;margin-bottom:-3rem!important}.lg\:-my-7{margin-top:-4rem!important;margin-bottom:-4rem!important}.lg\:-my-8{margin-top:-5rem!important;margin-bottom:-5rem!important}.lg\:my-auto{margin-top:auto!important;margin-bottom:auto!important}}@media screen and (min-width: 1200px){.xl\:m-0{margin:0rem!important}.xl\:m-1{margin:.25rem!important}.xl\:m-2{margin:.5rem!important}.xl\:m-3{margin:1rem!important}.xl\:m-4{margin:1.5rem!important}.xl\:m-5{margin:2rem!important}.xl\:m-6{margin:3rem!important}.xl\:m-7{margin:4rem!important}.xl\:m-8{margin:5rem!important}.xl\:-m-1{margin:-.25rem!important}.xl\:-m-2{margin:-.5rem!important}.xl\:-m-3{margin:-1rem!important}.xl\:-m-4{margin:-1.5rem!important}.xl\:-m-5{margin:-2rem!important}.xl\:-m-6{margin:-3rem!important}.xl\:-m-7{margin:-4rem!important}.xl\:-m-8{margin:-5rem!important}.xl\:m-auto{margin:auto!important}.xl\:mt-0{margin-top:0rem!important}.xl\:mt-1{margin-top:.25rem!important}.xl\:mt-2{margin-top:.5rem!important}.xl\:mt-3{margin-top:1rem!important}.xl\:mt-4{margin-top:1.5rem!important}.xl\:mt-5{margin-top:2rem!important}.xl\:mt-6{margin-top:3rem!important}.xl\:mt-7{margin-top:4rem!important}.xl\:mt-8{margin-top:5rem!important}.xl\:-mt-1{margin-top:-.25rem!important}.xl\:-mt-2{margin-top:-.5rem!important}.xl\:-mt-3{margin-top:-1rem!important}.xl\:-mt-4{margin-top:-1.5rem!important}.xl\:-mt-5{margin-top:-2rem!important}.xl\:-mt-6{margin-top:-3rem!important}.xl\:-mt-7{margin-top:-4rem!important}.xl\:-mt-8{margin-top:-5rem!important}.xl\:mt-auto{margin-top:auto!important}.xl\:mr-0{margin-right:0rem!important}.xl\:mr-1{margin-right:.25rem!important}.xl\:mr-2{margin-right:.5rem!important}.xl\:mr-3{margin-right:1rem!important}.xl\:mr-4{margin-right:1.5rem!important}.xl\:mr-5{margin-right:2rem!important}.xl\:mr-6{margin-right:3rem!important}.xl\:mr-7{margin-right:4rem!important}.xl\:mr-8{margin-right:5rem!important}.xl\:-mr-1{margin-right:-.25rem!important}.xl\:-mr-2{margin-right:-.5rem!important}.xl\:-mr-3{margin-right:-1rem!important}.xl\:-mr-4{margin-right:-1.5rem!important}.xl\:-mr-5{margin-right:-2rem!important}.xl\:-mr-6{margin-right:-3rem!important}.xl\:-mr-7{margin-right:-4rem!important}.xl\:-mr-8{margin-right:-5rem!important}.xl\:mr-auto{margin-right:auto!important}.xl\:ml-0{margin-left:0rem!important}.xl\:ml-1{margin-left:.25rem!important}.xl\:ml-2{margin-left:.5rem!important}.xl\:ml-3{margin-left:1rem!important}.xl\:ml-4{margin-left:1.5rem!important}.xl\:ml-5{margin-left:2rem!important}.xl\:ml-6{margin-left:3rem!important}.xl\:ml-7{margin-left:4rem!important}.xl\:ml-8{margin-left:5rem!important}.xl\:-ml-1{margin-left:-.25rem!important}.xl\:-ml-2{margin-left:-.5rem!important}.xl\:-ml-3{margin-left:-1rem!important}.xl\:-ml-4{margin-left:-1.5rem!important}.xl\:-ml-5{margin-left:-2rem!important}.xl\:-ml-6{margin-left:-3rem!important}.xl\:-ml-7{margin-left:-4rem!important}.xl\:-ml-8{margin-left:-5rem!important}.xl\:ml-auto{margin-left:auto!important}.xl\:mb-0{margin-bottom:0rem!important}.xl\:mb-1{margin-bottom:.25rem!important}.xl\:mb-2{margin-bottom:.5rem!important}.xl\:mb-3{margin-bottom:1rem!important}.xl\:mb-4{margin-bottom:1.5rem!important}.xl\:mb-5{margin-bottom:2rem!important}.xl\:mb-6{margin-bottom:3rem!important}.xl\:mb-7{margin-bottom:4rem!important}.xl\:mb-8{margin-bottom:5rem!important}.xl\:-mb-1{margin-bottom:-.25rem!important}.xl\:-mb-2{margin-bottom:-.5rem!important}.xl\:-mb-3{margin-bottom:-1rem!important}.xl\:-mb-4{margin-bottom:-1.5rem!important}.xl\:-mb-5{margin-bottom:-2rem!important}.xl\:-mb-6{margin-bottom:-3rem!important}.xl\:-mb-7{margin-bottom:-4rem!important}.xl\:-mb-8{margin-bottom:-5rem!important}.xl\:mb-auto{margin-bottom:auto!important}.xl\:mx-0{margin-left:0rem!important;margin-right:0rem!important}.xl\:mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.xl\:mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.xl\:mx-3{margin-left:1rem!important;margin-right:1rem!important}.xl\:mx-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.xl\:mx-5{margin-left:2rem!important;margin-right:2rem!important}.xl\:mx-6{margin-left:3rem!important;margin-right:3rem!important}.xl\:mx-7{margin-left:4rem!important;margin-right:4rem!important}.xl\:mx-8{margin-left:5rem!important;margin-right:5rem!important}.xl\:-mx-1{margin-left:-.25rem!important;margin-right:-.25rem!important}.xl\:-mx-2{margin-left:-.5rem!important;margin-right:-.5rem!important}.xl\:-mx-3{margin-left:-1rem!important;margin-right:-1rem!important}.xl\:-mx-4{margin-left:-1.5rem!important;margin-right:-1.5rem!important}.xl\:-mx-5{margin-left:-2rem!important;margin-right:-2rem!important}.xl\:-mx-6{margin-left:-3rem!important;margin-right:-3rem!important}.xl\:-mx-7{margin-left:-4rem!important;margin-right:-4rem!important}.xl\:-mx-8{margin-left:-5rem!important;margin-right:-5rem!important}.xl\:mx-auto{margin-left:auto!important;margin-right:auto!important}.xl\:my-0{margin-top:0rem!important;margin-bottom:0rem!important}.xl\:my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.xl\:my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.xl\:my-3{margin-top:1rem!important;margin-bottom:1rem!important}.xl\:my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.xl\:my-5{margin-top:2rem!important;margin-bottom:2rem!important}.xl\:my-6{margin-top:3rem!important;margin-bottom:3rem!important}.xl\:my-7{margin-top:4rem!important;margin-bottom:4rem!important}.xl\:my-8{margin-top:5rem!important;margin-bottom:5rem!important}.xl\:-my-1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.xl\:-my-2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.xl\:-my-3{margin-top:-1rem!important;margin-bottom:-1rem!important}.xl\:-my-4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.xl\:-my-5{margin-top:-2rem!important;margin-bottom:-2rem!important}.xl\:-my-6{margin-top:-3rem!important;margin-bottom:-3rem!important}.xl\:-my-7{margin-top:-4rem!important;margin-bottom:-4rem!important}.xl\:-my-8{margin-top:-5rem!important;margin-bottom:-5rem!important}.xl\:my-auto{margin-top:auto!important;margin-bottom:auto!important}}.shadow-none{box-shadow:none!important}.shadow-1{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.shadow-2{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.shadow-3{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.shadow-4{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.shadow-5{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.shadow-6{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.shadow-7{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.shadow-8{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}.focus\:shadow-none:focus{box-shadow:none!important}.hover\:shadow-none:hover,.active\:shadow-none:active{box-shadow:none!important}.focus\:shadow-1:focus{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.hover\:shadow-1:hover,.active\:shadow-1:active{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.focus\:shadow-2:focus{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.hover\:shadow-2:hover,.active\:shadow-2:active{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.focus\:shadow-3:focus{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.hover\:shadow-3:hover,.active\:shadow-3:active{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.focus\:shadow-4:focus{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.hover\:shadow-4:hover,.active\:shadow-4:active{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.focus\:shadow-5:focus{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.hover\:shadow-5:hover,.active\:shadow-5:active{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.focus\:shadow-6:focus{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.hover\:shadow-6:hover,.active\:shadow-6:active{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.focus\:shadow-7:focus{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.hover\:shadow-7:hover,.active\:shadow-7:active{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.focus\:shadow-8:focus{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}.hover\:shadow-8:hover,.active\:shadow-8:active{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}@media screen and (min-width: 576px){.sm\:shadow-none{box-shadow:none!important}.sm\:shadow-1{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.sm\:shadow-2{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.sm\:shadow-3{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.sm\:shadow-4{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.sm\:shadow-5{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.sm\:shadow-6{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.sm\:shadow-7{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.sm\:shadow-8{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}.sm\:focus\:shadow-none:focus{box-shadow:none!important}.sm\:hover\:shadow-none:hover,.sm\:active\:shadow-none:active{box-shadow:none!important}.sm\:focus\:shadow-1:focus{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.sm\:hover\:shadow-1:hover,.sm\:active\:shadow-1:active{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.sm\:focus\:shadow-2:focus{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.sm\:hover\:shadow-2:hover,.sm\:active\:shadow-2:active{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.sm\:focus\:shadow-3:focus{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.sm\:hover\:shadow-3:hover,.sm\:active\:shadow-3:active{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.sm\:focus\:shadow-4:focus{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.sm\:hover\:shadow-4:hover,.sm\:active\:shadow-4:active{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.sm\:focus\:shadow-5:focus{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.sm\:hover\:shadow-5:hover,.sm\:active\:shadow-5:active{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.sm\:focus\:shadow-6:focus{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.sm\:hover\:shadow-6:hover,.sm\:active\:shadow-6:active{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.sm\:focus\:shadow-7:focus{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.sm\:hover\:shadow-7:hover,.sm\:active\:shadow-7:active{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.sm\:focus\:shadow-8:focus{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}.sm\:hover\:shadow-8:hover,.sm\:active\:shadow-8:active{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}}@media screen and (min-width: 768px){.md\:shadow-none{box-shadow:none!important}.md\:shadow-1{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.md\:shadow-2{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.md\:shadow-3{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.md\:shadow-4{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.md\:shadow-5{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.md\:shadow-6{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.md\:shadow-7{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.md\:shadow-8{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}.md\:focus\:shadow-none:focus{box-shadow:none!important}.md\:hover\:shadow-none:hover,.md\:active\:shadow-none:active{box-shadow:none!important}.md\:focus\:shadow-1:focus{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.md\:hover\:shadow-1:hover,.md\:active\:shadow-1:active{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.md\:focus\:shadow-2:focus{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.md\:hover\:shadow-2:hover,.md\:active\:shadow-2:active{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.md\:focus\:shadow-3:focus{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.md\:hover\:shadow-3:hover,.md\:active\:shadow-3:active{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.md\:focus\:shadow-4:focus{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.md\:hover\:shadow-4:hover,.md\:active\:shadow-4:active{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.md\:focus\:shadow-5:focus{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.md\:hover\:shadow-5:hover,.md\:active\:shadow-5:active{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.md\:focus\:shadow-6:focus{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.md\:hover\:shadow-6:hover,.md\:active\:shadow-6:active{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.md\:focus\:shadow-7:focus{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.md\:hover\:shadow-7:hover,.md\:active\:shadow-7:active{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.md\:focus\:shadow-8:focus{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}.md\:hover\:shadow-8:hover,.md\:active\:shadow-8:active{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}}@media screen and (min-width: 992px){.lg\:shadow-none{box-shadow:none!important}.lg\:shadow-1{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.lg\:shadow-2{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.lg\:shadow-3{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.lg\:shadow-4{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.lg\:shadow-5{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.lg\:shadow-6{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.lg\:shadow-7{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.lg\:shadow-8{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}.lg\:focus\:shadow-none:focus{box-shadow:none!important}.lg\:hover\:shadow-none:hover,.lg\:active\:shadow-none:active{box-shadow:none!important}.lg\:focus\:shadow-1:focus{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.lg\:hover\:shadow-1:hover,.lg\:active\:shadow-1:active{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.lg\:focus\:shadow-2:focus{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.lg\:hover\:shadow-2:hover,.lg\:active\:shadow-2:active{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.lg\:focus\:shadow-3:focus{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.lg\:hover\:shadow-3:hover,.lg\:active\:shadow-3:active{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.lg\:focus\:shadow-4:focus{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.lg\:hover\:shadow-4:hover,.lg\:active\:shadow-4:active{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.lg\:focus\:shadow-5:focus{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.lg\:hover\:shadow-5:hover,.lg\:active\:shadow-5:active{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.lg\:focus\:shadow-6:focus{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.lg\:hover\:shadow-6:hover,.lg\:active\:shadow-6:active{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.lg\:focus\:shadow-7:focus{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.lg\:hover\:shadow-7:hover,.lg\:active\:shadow-7:active{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.lg\:focus\:shadow-8:focus{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}.lg\:hover\:shadow-8:hover,.lg\:active\:shadow-8:active{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}}@media screen and (min-width: 1200px){.xl\:shadow-none{box-shadow:none!important}.xl\:shadow-1{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.xl\:shadow-2{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.xl\:shadow-3{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.xl\:shadow-4{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.xl\:shadow-5{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.xl\:shadow-6{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.xl\:shadow-7{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.xl\:shadow-8{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}.xl\:focus\:shadow-none:focus{box-shadow:none!important}.xl\:hover\:shadow-none:hover,.xl\:active\:shadow-none:active{box-shadow:none!important}.xl\:focus\:shadow-1:focus{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.xl\:hover\:shadow-1:hover,.xl\:active\:shadow-1:active{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.xl\:focus\:shadow-2:focus{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.xl\:hover\:shadow-2:hover,.xl\:active\:shadow-2:active{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.xl\:focus\:shadow-3:focus{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.xl\:hover\:shadow-3:hover,.xl\:active\:shadow-3:active{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.xl\:focus\:shadow-4:focus{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.xl\:hover\:shadow-4:hover,.xl\:active\:shadow-4:active{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.xl\:focus\:shadow-5:focus{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.xl\:hover\:shadow-5:hover,.xl\:active\:shadow-5:active{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.xl\:focus\:shadow-6:focus{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.xl\:hover\:shadow-6:hover,.xl\:active\:shadow-6:active{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.xl\:focus\:shadow-7:focus{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.xl\:hover\:shadow-7:hover,.xl\:active\:shadow-7:active{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.xl\:focus\:shadow-8:focus{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}.xl\:hover\:shadow-8:hover,.xl\:active\:shadow-8:active{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}}.border-none{border-width:0px!important;border-style:none}.border-1{border-width:1px!important;border-style:solid}.border-2{border-width:2px!important;border-style:solid}.border-3{border-width:3px!important;border-style:solid}.border-top-none{border-top-width:0px!important;border-top-style:none}.border-top-1{border-top-width:1px!important;border-top-style:solid}.border-top-2{border-top-width:2px!important;border-top-style:solid}.border-top-3{border-top-width:3px!important;border-top-style:solid}.border-right-none{border-right-width:0px!important;border-right-style:none}.border-right-1{border-right-width:1px!important;border-right-style:solid}.border-right-2{border-right-width:2px!important;border-right-style:solid}.border-right-3{border-right-width:3px!important;border-right-style:solid}.border-left-none{border-left-width:0px!important;border-left-style:none}.border-left-1{border-left-width:1px!important;border-left-style:solid}.border-left-2{border-left-width:2px!important;border-left-style:solid}.border-left-3{border-left-width:3px!important;border-left-style:solid}.border-bottom-none{border-bottom-width:0px!important;border-bottom-style:none}.border-bottom-1{border-bottom-width:1px!important;border-bottom-style:solid}.border-bottom-2{border-bottom-width:2px!important;border-bottom-style:solid}.border-bottom-3{border-bottom-width:3px!important;border-bottom-style:solid}.border-x-none{border-left-width:0px!important;border-left-style:none;border-right-width:0px!important;border-right-style:none}.border-x-1{border-left-width:1px!important;border-left-style:solid;border-right-width:1px!important;border-right-style:solid}.border-x-2{border-left-width:2px!important;border-left-style:solid;border-right-width:2px!important;border-right-style:solid}.border-x-3{border-left-width:3px!important;border-left-style:solid;border-right-width:3px!important;border-right-style:solid}.border-y-none{border-top-width:0px!important;border-top-style:none;border-bottom-width:0px!important;border-bottom-style:none}.border-y-1{border-top-width:1px!important;border-top-style:solid;border-bottom-width:1px!important;border-bottom-style:solid}.border-y-2{border-top-width:2px!important;border-top-style:solid;border-bottom-width:2px!important;border-bottom-style:solid}.border-y-3{border-top-width:3px!important;border-top-style:solid;border-bottom-width:3px!important;border-bottom-style:solid}@media screen and (min-width: 576px){.sm\:border-none{border-width:0px!important;border-style:none}.sm\:border-1{border-width:1px!important;border-style:solid}.sm\:border-2{border-width:2px!important;border-style:solid}.sm\:border-3{border-width:3px!important;border-style:solid}.sm\:border-top-none{border-top-width:0px!important;border-top-style:none}.sm\:border-top-1{border-top-width:1px!important;border-top-style:solid}.sm\:border-top-2{border-top-width:2px!important;border-top-style:solid}.sm\:border-top-3{border-top-width:3px!important;border-top-style:solid}.sm\:border-right-none{border-right-width:0px!important;border-right-style:none}.sm\:border-right-1{border-right-width:1px!important;border-right-style:solid}.sm\:border-right-2{border-right-width:2px!important;border-right-style:solid}.sm\:border-right-3{border-right-width:3px!important;border-right-style:solid}.sm\:border-left-none{border-left-width:0px!important;border-left-style:none}.sm\:border-left-1{border-left-width:1px!important;border-left-style:solid}.sm\:border-left-2{border-left-width:2px!important;border-left-style:solid}.sm\:border-left-3{border-left-width:3px!important;border-left-style:solid}.sm\:border-bottom-none{border-bottom-width:0px!important;border-bottom-style:none}.sm\:border-bottom-1{border-bottom-width:1px!important;border-bottom-style:solid}.sm\:border-bottom-2{border-bottom-width:2px!important;border-bottom-style:solid}.sm\:border-bottom-3{border-bottom-width:3px!important;border-bottom-style:solid}.sm\:border-x-none{border-left-width:0px!important;border-left-style:none;border-right-width:0px!important;border-right-style:none}.sm\:border-x-1{border-left-width:1px!important;border-left-style:solid;border-right-width:1px!important;border-right-style:solid}.sm\:border-x-2{border-left-width:2px!important;border-left-style:solid;border-right-width:2px!important;border-right-style:solid}.sm\:border-x-3{border-left-width:3px!important;border-left-style:solid;border-right-width:3px!important;border-right-style:solid}.sm\:border-y-none{border-top-width:0px!important;border-top-style:none;border-bottom-width:0px!important;border-bottom-style:none}.sm\:border-y-1{border-top-width:1px!important;border-top-style:solid;border-bottom-width:1px!important;border-bottom-style:solid}.sm\:border-y-2{border-top-width:2px!important;border-top-style:solid;border-bottom-width:2px!important;border-bottom-style:solid}.sm\:border-y-3{border-top-width:3px!important;border-top-style:solid;border-bottom-width:3px!important;border-bottom-style:solid}}@media screen and (min-width: 768px){.md\:border-none{border-width:0px!important;border-style:none}.md\:border-1{border-width:1px!important;border-style:solid}.md\:border-2{border-width:2px!important;border-style:solid}.md\:border-3{border-width:3px!important;border-style:solid}.md\:border-top-none{border-top-width:0px!important;border-top-style:none}.md\:border-top-1{border-top-width:1px!important;border-top-style:solid}.md\:border-top-2{border-top-width:2px!important;border-top-style:solid}.md\:border-top-3{border-top-width:3px!important;border-top-style:solid}.md\:border-right-none{border-right-width:0px!important;border-right-style:none}.md\:border-right-1{border-right-width:1px!important;border-right-style:solid}.md\:border-right-2{border-right-width:2px!important;border-right-style:solid}.md\:border-right-3{border-right-width:3px!important;border-right-style:solid}.md\:border-left-none{border-left-width:0px!important;border-left-style:none}.md\:border-left-1{border-left-width:1px!important;border-left-style:solid}.md\:border-left-2{border-left-width:2px!important;border-left-style:solid}.md\:border-left-3{border-left-width:3px!important;border-left-style:solid}.md\:border-bottom-none{border-bottom-width:0px!important;border-bottom-style:none}.md\:border-bottom-1{border-bottom-width:1px!important;border-bottom-style:solid}.md\:border-bottom-2{border-bottom-width:2px!important;border-bottom-style:solid}.md\:border-bottom-3{border-bottom-width:3px!important;border-bottom-style:solid}.md\:border-x-none{border-left-width:0px!important;border-left-style:none;border-right-width:0px!important;border-right-style:none}.md\:border-x-1{border-left-width:1px!important;border-left-style:solid;border-right-width:1px!important;border-right-style:solid}.md\:border-x-2{border-left-width:2px!important;border-left-style:solid;border-right-width:2px!important;border-right-style:solid}.md\:border-x-3{border-left-width:3px!important;border-left-style:solid;border-right-width:3px!important;border-right-style:solid}.md\:border-y-none{border-top-width:0px!important;border-top-style:none;border-bottom-width:0px!important;border-bottom-style:none}.md\:border-y-1{border-top-width:1px!important;border-top-style:solid;border-bottom-width:1px!important;border-bottom-style:solid}.md\:border-y-2{border-top-width:2px!important;border-top-style:solid;border-bottom-width:2px!important;border-bottom-style:solid}.md\:border-y-3{border-top-width:3px!important;border-top-style:solid;border-bottom-width:3px!important;border-bottom-style:solid}}@media screen and (min-width: 992px){.lg\:border-none{border-width:0px!important;border-style:none}.lg\:border-1{border-width:1px!important;border-style:solid}.lg\:border-2{border-width:2px!important;border-style:solid}.lg\:border-3{border-width:3px!important;border-style:solid}.lg\:border-top-none{border-top-width:0px!important;border-top-style:none}.lg\:border-top-1{border-top-width:1px!important;border-top-style:solid}.lg\:border-top-2{border-top-width:2px!important;border-top-style:solid}.lg\:border-top-3{border-top-width:3px!important;border-top-style:solid}.lg\:border-right-none{border-right-width:0px!important;border-right-style:none}.lg\:border-right-1{border-right-width:1px!important;border-right-style:solid}.lg\:border-right-2{border-right-width:2px!important;border-right-style:solid}.lg\:border-right-3{border-right-width:3px!important;border-right-style:solid}.lg\:border-left-none{border-left-width:0px!important;border-left-style:none}.lg\:border-left-1{border-left-width:1px!important;border-left-style:solid}.lg\:border-left-2{border-left-width:2px!important;border-left-style:solid}.lg\:border-left-3{border-left-width:3px!important;border-left-style:solid}.lg\:border-bottom-none{border-bottom-width:0px!important;border-bottom-style:none}.lg\:border-bottom-1{border-bottom-width:1px!important;border-bottom-style:solid}.lg\:border-bottom-2{border-bottom-width:2px!important;border-bottom-style:solid}.lg\:border-bottom-3{border-bottom-width:3px!important;border-bottom-style:solid}.lg\:border-x-none{border-left-width:0px!important;border-left-style:none;border-right-width:0px!important;border-right-style:none}.lg\:border-x-1{border-left-width:1px!important;border-left-style:solid;border-right-width:1px!important;border-right-style:solid}.lg\:border-x-2{border-left-width:2px!important;border-left-style:solid;border-right-width:2px!important;border-right-style:solid}.lg\:border-x-3{border-left-width:3px!important;border-left-style:solid;border-right-width:3px!important;border-right-style:solid}.lg\:border-y-none{border-top-width:0px!important;border-top-style:none;border-bottom-width:0px!important;border-bottom-style:none}.lg\:border-y-1{border-top-width:1px!important;border-top-style:solid;border-bottom-width:1px!important;border-bottom-style:solid}.lg\:border-y-2{border-top-width:2px!important;border-top-style:solid;border-bottom-width:2px!important;border-bottom-style:solid}.lg\:border-y-3{border-top-width:3px!important;border-top-style:solid;border-bottom-width:3px!important;border-bottom-style:solid}}@media screen and (min-width: 1200px){.xl\:border-none{border-width:0px!important;border-style:none}.xl\:border-1{border-width:1px!important;border-style:solid}.xl\:border-2{border-width:2px!important;border-style:solid}.xl\:border-3{border-width:3px!important;border-style:solid}.xl\:border-top-none{border-top-width:0px!important;border-top-style:none}.xl\:border-top-1{border-top-width:1px!important;border-top-style:solid}.xl\:border-top-2{border-top-width:2px!important;border-top-style:solid}.xl\:border-top-3{border-top-width:3px!important;border-top-style:solid}.xl\:border-right-none{border-right-width:0px!important;border-right-style:none}.xl\:border-right-1{border-right-width:1px!important;border-right-style:solid}.xl\:border-right-2{border-right-width:2px!important;border-right-style:solid}.xl\:border-right-3{border-right-width:3px!important;border-right-style:solid}.xl\:border-left-none{border-left-width:0px!important;border-left-style:none}.xl\:border-left-1{border-left-width:1px!important;border-left-style:solid}.xl\:border-left-2{border-left-width:2px!important;border-left-style:solid}.xl\:border-left-3{border-left-width:3px!important;border-left-style:solid}.xl\:border-bottom-none{border-bottom-width:0px!important;border-bottom-style:none}.xl\:border-bottom-1{border-bottom-width:1px!important;border-bottom-style:solid}.xl\:border-bottom-2{border-bottom-width:2px!important;border-bottom-style:solid}.xl\:border-bottom-3{border-bottom-width:3px!important;border-bottom-style:solid}.xl\:border-x-none{border-left-width:0px!important;border-left-style:none;border-right-width:0px!important;border-right-style:none}.xl\:border-x-1{border-left-width:1px!important;border-left-style:solid;border-right-width:1px!important;border-right-style:solid}.xl\:border-x-2{border-left-width:2px!important;border-left-style:solid;border-right-width:2px!important;border-right-style:solid}.xl\:border-x-3{border-left-width:3px!important;border-left-style:solid;border-right-width:3px!important;border-right-style:solid}.xl\:border-y-none{border-top-width:0px!important;border-top-style:none;border-bottom-width:0px!important;border-bottom-style:none}.xl\:border-y-1{border-top-width:1px!important;border-top-style:solid;border-bottom-width:1px!important;border-bottom-style:solid}.xl\:border-y-2{border-top-width:2px!important;border-top-style:solid;border-bottom-width:2px!important;border-bottom-style:solid}.xl\:border-y-3{border-top-width:3px!important;border-top-style:solid;border-bottom-width:3px!important;border-bottom-style:solid}}.border-solid{border-style:solid!important}.border-dashed{border-style:dashed!important}.border-dotted{border-style:dotted!important}.border-double{border-style:double!important}@media screen and (min-width: 576px){.sm\:border-solid{border-style:solid!important}.sm\:border-dashed{border-style:dashed!important}.sm\:border-dotted{border-style:dotted!important}.sm\:border-double{border-style:double!important}}@media screen and (min-width: 768px){.md\:border-solid{border-style:solid!important}.md\:border-dashed{border-style:dashed!important}.md\:border-dotted{border-style:dotted!important}.md\:border-double{border-style:double!important}}@media screen and (min-width: 992px){.lg\:border-solid{border-style:solid!important}.lg\:border-dashed{border-style:dashed!important}.lg\:border-dotted{border-style:dotted!important}.lg\:border-double{border-style:double!important}}@media screen and (min-width: 1200px){.xl\:border-solid{border-style:solid!important}.xl\:border-dashed{border-style:dashed!important}.xl\:border-dotted{border-style:dotted!important}.xl\:border-double{border-style:double!important}}.border-noround{border-radius:0!important}.border-round{border-radius:var(--border-radius)!important}.border-round-xs{border-radius:.125rem!important}.border-round-sm{border-radius:.25rem!important}.border-round-md{border-radius:.375rem!important}.border-round-lg{border-radius:.5rem!important}.border-round-xl{border-radius:.75rem!important}.border-round-2xl{border-radius:1rem!important}.border-round-3xl{border-radius:1.5rem!important}.border-circle{border-radius:50%!important}@media screen and (min-width: 576px){.sm\:border-noround{border-radius:0!important}.sm\:border-round{border-radius:var(--border-radius)!important}.sm\:border-round-xs{border-radius:.125rem!important}.sm\:border-round-sm{border-radius:.25rem!important}.sm\:border-round-md{border-radius:.375rem!important}.sm\:border-round-lg{border-radius:.5rem!important}.sm\:border-round-xl{border-radius:.75rem!important}.sm\:border-round-2xl{border-radius:1rem!important}.sm\:border-round-3xl{border-radius:1.5rem!important}.sm\:border-circle{border-radius:50%!important}}@media screen and (min-width: 768px){.md\:border-noround{border-radius:0!important}.md\:border-round{border-radius:var(--border-radius)!important}.md\:border-round-xs{border-radius:.125rem!important}.md\:border-round-sm{border-radius:.25rem!important}.md\:border-round-md{border-radius:.375rem!important}.md\:border-round-lg{border-radius:.5rem!important}.md\:border-round-xl{border-radius:.75rem!important}.md\:border-round-2xl{border-radius:1rem!important}.md\:border-round-3xl{border-radius:1.5rem!important}.md\:border-circle{border-radius:50%!important}}@media screen and (min-width: 992px){.lg\:border-noround{border-radius:0!important}.lg\:border-round{border-radius:var(--border-radius)!important}.lg\:border-round-xs{border-radius:.125rem!important}.lg\:border-round-sm{border-radius:.25rem!important}.lg\:border-round-md{border-radius:.375rem!important}.lg\:border-round-lg{border-radius:.5rem!important}.lg\:border-round-xl{border-radius:.75rem!important}.lg\:border-round-2xl{border-radius:1rem!important}.lg\:border-round-3xl{border-radius:1.5rem!important}.lg\:border-circle{border-radius:50%!important}}@media screen and (min-width: 1200px){.xl\:border-noround{border-radius:0!important}.xl\:border-round{border-radius:var(--border-radius)!important}.xl\:border-round-xs{border-radius:.125rem!important}.xl\:border-round-sm{border-radius:.25rem!important}.xl\:border-round-md{border-radius:.375rem!important}.xl\:border-round-lg{border-radius:.5rem!important}.xl\:border-round-xl{border-radius:.75rem!important}.xl\:border-round-2xl{border-radius:1rem!important}.xl\:border-round-3xl{border-radius:1.5rem!important}.xl\:border-circle{border-radius:50%!important}}.border-noround-left{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.border-noround-top{border-top-left-radius:0!important;border-top-right-radius:0!important}.border-noround-right{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.border-noround-bottom{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.border-round-left{border-top-left-radius:var(--border-radius)!important;border-bottom-left-radius:var(--border-radius)!important}.border-round-top{border-top-left-radius:var(--border-radius)!important;border-top-right-radius:var(--border-radius)!important}.border-round-right{border-top-right-radius:var(--border-radius)!important;border-bottom-right-radius:var(--border-radius)!important}.border-round-bottom{border-bottom-left-radius:var(--border-radius)!important;border-bottom-right-radius:var(--border-radius)!important}.border-round-left-xs{border-top-left-radius:.125rem!important;border-bottom-left-radius:.125rem!important}.border-round-top-xs{border-top-left-radius:.125rem!important;border-top-right-radius:.125rem!important}.border-round-right-xs{border-top-right-radius:.125rem!important;border-bottom-right-radius:.125rem!important}.border-round-bottom-xs{border-bottom-left-radius:.125rem!important;border-bottom-right-radius:.125rem!important}.border-round-left-sm{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.border-round-top-sm{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.border-round-right-sm{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.border-round-bottom-sm{border-bottom-left-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.border-round-left-md{border-top-left-radius:.375rem!important;border-bottom-left-radius:.375rem!important}.border-round-top-md{border-top-left-radius:.375rem!important;border-top-right-radius:.375rem!important}.border-round-right-md{border-top-right-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.border-round-bottom-md{border-bottom-left-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.border-round-left-lg{border-top-left-radius:.5rem!important;border-bottom-left-radius:.5rem!important}.border-round-top-lg{border-top-left-radius:.5rem!important;border-top-right-radius:.5rem!important}.border-round-right-lg{border-top-right-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.border-round-bottom-lg{border-bottom-left-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.border-round-left-xl{border-top-left-radius:.75rem!important;border-bottom-left-radius:.75rem!important}.border-round-top-xl{border-top-left-radius:.75rem!important;border-top-right-radius:.75rem!important}.border-round-right-xl{border-top-right-radius:.75rem!important;border-bottom-right-radius:.75rem!important}.border-round-bottom-xl{border-bottom-left-radius:.75rem!important;border-bottom-right-radius:.75rem!important}.border-round-left-2xl{border-top-left-radius:1rem!important;border-bottom-left-radius:1rem!important}.border-round-top-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.border-round-right-2xl{border-top-right-radius:1rem!important;border-bottom-right-radius:1rem!important}.border-round-bottom-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}.border-round-left-3xl{border-top-left-radius:1.5rem!important;border-bottom-left-radius:1.5rem!important}.border-round-top-3xl{border-top-left-radius:1.5rem!important;border-top-right-radius:1.5rem!important}.border-round-right-3xl{border-top-right-radius:1.5rem!important;border-bottom-right-radius:1.5rem!important}.border-round-bottom-3xl{border-bottom-left-radius:1.5rem!important;border-bottom-right-radius:1.5rem!important}.border-circle-left{border-top-left-radius:50%!important;border-bottom-left-radius:50%!important}.border-circle-top{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.border-circle-right{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.border-circle-bottom{border-bottom-left-radius:50%!important;border-bottom-right-radius:50%!important}@media screen and (min-width: 576px){.sm\:border-noround-left{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.sm\:border-noround-top{border-top-left-radius:0!important;border-top-right-radius:0!important}.sm\:border-noround-right{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.sm\:border-noround-bottom{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.sm\:border-round-left{border-top-left-radius:var(--border-radius)!important;border-bottom-left-radius:var(--border-radius)!important}.sm\:border-round-top{border-top-left-radius:var(--border-radius)!important;border-top-right-radius:var(--border-radius)!important}.sm\:border-round-right{border-top-right-radius:var(--border-radius)!important;border-bottom-right-radius:var(--border-radius)!important}.sm\:border-round-bottom{border-bottom-left-radius:var(--border-radius)!important;border-bottom-right-radius:var(--border-radius)!important}.sm\:border-round-left-xs{border-top-left-radius:.125rem!important;border-bottom-left-radius:.125rem!important}.sm\:border-round-top-xs{border-top-left-radius:.125rem!important;border-top-right-radius:.125rem!important}.sm\:border-round-right-xs{border-top-right-radius:.125rem!important;border-bottom-right-radius:.125rem!important}.sm\:border-round-bottom-xs{border-bottom-left-radius:.125rem!important;border-bottom-right-radius:.125rem!important}.sm\:border-round-left-sm{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.sm\:border-round-top-sm{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.sm\:border-round-right-sm{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.sm\:border-round-bottom-sm{border-bottom-left-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.sm\:border-round-left-md{border-top-left-radius:.375rem!important;border-bottom-left-radius:.375rem!important}.sm\:border-round-top-md{border-top-left-radius:.375rem!important;border-top-right-radius:.375rem!important}.sm\:border-round-right-md{border-top-right-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.sm\:border-round-bottom-md{border-bottom-left-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.sm\:border-round-left-lg{border-top-left-radius:.5rem!important;border-bottom-left-radius:.5rem!important}.sm\:border-round-top-lg{border-top-left-radius:.5rem!important;border-top-right-radius:.5rem!important}.sm\:border-round-right-lg{border-top-right-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.sm\:border-round-bottom-lg{border-bottom-left-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.sm\:border-round-left-xl{border-top-left-radius:.75rem!important;border-bottom-left-radius:.75rem!important}.sm\:border-round-top-xl{border-top-left-radius:.75rem!important;border-top-right-radius:.75rem!important}.sm\:border-round-right-xl{border-top-right-radius:.75rem!important;border-bottom-right-radius:.75rem!important}.sm\:border-round-bottom-xl{border-bottom-left-radius:.75rem!important;border-bottom-right-radius:.75rem!important}.sm\:border-round-left-2xl{border-top-left-radius:1rem!important;border-bottom-left-radius:1rem!important}.sm\:border-round-top-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.sm\:border-round-right-2xl{border-top-right-radius:1rem!important;border-bottom-right-radius:1rem!important}.sm\:border-round-bottom-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}.sm\:border-round-left-3xl{border-top-left-radius:1.5rem!important;border-bottom-left-radius:1.5rem!important}.sm\:border-round-top-3xl{border-top-left-radius:1.5rem!important;border-top-right-radius:1.5rem!important}.sm\:border-round-right-3xl{border-top-right-radius:1.5rem!important;border-bottom-right-radius:1.5rem!important}.sm\:border-round-bottom-3xl{border-bottom-left-radius:1.5rem!important;border-bottom-right-radius:1.5rem!important}.sm\:border-circle-left{border-top-left-radius:50%!important;border-bottom-left-radius:50%!important}.sm\:border-circle-top{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.sm\:border-circle-right{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.sm\:border-circle-bottom{border-bottom-left-radius:50%!important;border-bottom-right-radius:50%!important}}@media screen and (min-width: 768px){.md\:border-noround-left{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.md\:border-noround-top{border-top-left-radius:0!important;border-top-right-radius:0!important}.md\:border-noround-right{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.md\:border-noround-bottom{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.md\:border-round-left{border-top-left-radius:var(--border-radius)!important;border-bottom-left-radius:var(--border-radius)!important}.md\:border-round-top{border-top-left-radius:var(--border-radius)!important;border-top-right-radius:var(--border-radius)!important}.md\:border-round-right{border-top-right-radius:var(--border-radius)!important;border-bottom-right-radius:var(--border-radius)!important}.md\:border-round-bottom{border-bottom-left-radius:var(--border-radius)!important;border-bottom-right-radius:var(--border-radius)!important}.md\:border-round-left-xs{border-top-left-radius:.125rem!important;border-bottom-left-radius:.125rem!important}.md\:border-round-top-xs{border-top-left-radius:.125rem!important;border-top-right-radius:.125rem!important}.md\:border-round-right-xs{border-top-right-radius:.125rem!important;border-bottom-right-radius:.125rem!important}.md\:border-round-bottom-xs{border-bottom-left-radius:.125rem!important;border-bottom-right-radius:.125rem!important}.md\:border-round-left-sm{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.md\:border-round-top-sm{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.md\:border-round-right-sm{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.md\:border-round-bottom-sm{border-bottom-left-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.md\:border-round-left-md{border-top-left-radius:.375rem!important;border-bottom-left-radius:.375rem!important}.md\:border-round-top-md{border-top-left-radius:.375rem!important;border-top-right-radius:.375rem!important}.md\:border-round-right-md{border-top-right-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.md\:border-round-bottom-md{border-bottom-left-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.md\:border-round-left-lg{border-top-left-radius:.5rem!important;border-bottom-left-radius:.5rem!important}.md\:border-round-top-lg{border-top-left-radius:.5rem!important;border-top-right-radius:.5rem!important}.md\:border-round-right-lg{border-top-right-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.md\:border-round-bottom-lg{border-bottom-left-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.md\:border-round-left-xl{border-top-left-radius:.75rem!important;border-bottom-left-radius:.75rem!important}.md\:border-round-top-xl{border-top-left-radius:.75rem!important;border-top-right-radius:.75rem!important}.md\:border-round-right-xl{border-top-right-radius:.75rem!important;border-bottom-right-radius:.75rem!important}.md\:border-round-bottom-xl{border-bottom-left-radius:.75rem!important;border-bottom-right-radius:.75rem!important}.md\:border-round-left-2xl{border-top-left-radius:1rem!important;border-bottom-left-radius:1rem!important}.md\:border-round-top-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.md\:border-round-right-2xl{border-top-right-radius:1rem!important;border-bottom-right-radius:1rem!important}.md\:border-round-bottom-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}.md\:border-round-left-3xl{border-top-left-radius:1.5rem!important;border-bottom-left-radius:1.5rem!important}.md\:border-round-top-3xl{border-top-left-radius:1.5rem!important;border-top-right-radius:1.5rem!important}.md\:border-round-right-3xl{border-top-right-radius:1.5rem!important;border-bottom-right-radius:1.5rem!important}.md\:border-round-bottom-3xl{border-bottom-left-radius:1.5rem!important;border-bottom-right-radius:1.5rem!important}.md\:border-circle-left{border-top-left-radius:50%!important;border-bottom-left-radius:50%!important}.md\:border-circle-top{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.md\:border-circle-right{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.md\:border-circle-bottom{border-bottom-left-radius:50%!important;border-bottom-right-radius:50%!important}}@media screen and (min-width: 992px){.lg\:border-noround-left{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.lg\:border-noround-top{border-top-left-radius:0!important;border-top-right-radius:0!important}.lg\:border-noround-right{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.lg\:border-noround-bottom{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.lg\:border-round-left{border-top-left-radius:var(--border-radius)!important;border-bottom-left-radius:var(--border-radius)!important}.lg\:border-round-top{border-top-left-radius:var(--border-radius)!important;border-top-right-radius:var(--border-radius)!important}.lg\:border-round-right{border-top-right-radius:var(--border-radius)!important;border-bottom-right-radius:var(--border-radius)!important}.lg\:border-round-bottom{border-bottom-left-radius:var(--border-radius)!important;border-bottom-right-radius:var(--border-radius)!important}.lg\:border-round-left-xs{border-top-left-radius:.125rem!important;border-bottom-left-radius:.125rem!important}.lg\:border-round-top-xs{border-top-left-radius:.125rem!important;border-top-right-radius:.125rem!important}.lg\:border-round-right-xs{border-top-right-radius:.125rem!important;border-bottom-right-radius:.125rem!important}.lg\:border-round-bottom-xs{border-bottom-left-radius:.125rem!important;border-bottom-right-radius:.125rem!important}.lg\:border-round-left-sm{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.lg\:border-round-top-sm{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.lg\:border-round-right-sm{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.lg\:border-round-bottom-sm{border-bottom-left-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.lg\:border-round-left-md{border-top-left-radius:.375rem!important;border-bottom-left-radius:.375rem!important}.lg\:border-round-top-md{border-top-left-radius:.375rem!important;border-top-right-radius:.375rem!important}.lg\:border-round-right-md{border-top-right-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.lg\:border-round-bottom-md{border-bottom-left-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.lg\:border-round-left-lg{border-top-left-radius:.5rem!important;border-bottom-left-radius:.5rem!important}.lg\:border-round-top-lg{border-top-left-radius:.5rem!important;border-top-right-radius:.5rem!important}.lg\:border-round-right-lg{border-top-right-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.lg\:border-round-bottom-lg{border-bottom-left-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.lg\:border-round-left-xl{border-top-left-radius:.75rem!important;border-bottom-left-radius:.75rem!important}.lg\:border-round-top-xl{border-top-left-radius:.75rem!important;border-top-right-radius:.75rem!important}.lg\:border-round-right-xl{border-top-right-radius:.75rem!important;border-bottom-right-radius:.75rem!important}.lg\:border-round-bottom-xl{border-bottom-left-radius:.75rem!important;border-bottom-right-radius:.75rem!important}.lg\:border-round-left-2xl{border-top-left-radius:1rem!important;border-bottom-left-radius:1rem!important}.lg\:border-round-top-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.lg\:border-round-right-2xl{border-top-right-radius:1rem!important;border-bottom-right-radius:1rem!important}.lg\:border-round-bottom-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}.lg\:border-round-left-3xl{border-top-left-radius:1.5rem!important;border-bottom-left-radius:1.5rem!important}.lg\:border-round-top-3xl{border-top-left-radius:1.5rem!important;border-top-right-radius:1.5rem!important}.lg\:border-round-right-3xl{border-top-right-radius:1.5rem!important;border-bottom-right-radius:1.5rem!important}.lg\:border-round-bottom-3xl{border-bottom-left-radius:1.5rem!important;border-bottom-right-radius:1.5rem!important}.lg\:border-circle-left{border-top-left-radius:50%!important;border-bottom-left-radius:50%!important}.lg\:border-circle-top{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.lg\:border-circle-right{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.lg\:border-circle-bottom{border-bottom-left-radius:50%!important;border-bottom-right-radius:50%!important}}@media screen and (min-width: 1200px){.xl\:border-noround-left{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.xl\:border-noround-top{border-top-left-radius:0!important;border-top-right-radius:0!important}.xl\:border-noround-right{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.xl\:border-noround-bottom{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.xl\:border-round-left{border-top-left-radius:var(--border-radius)!important;border-bottom-left-radius:var(--border-radius)!important}.xl\:border-round-top{border-top-left-radius:var(--border-radius)!important;border-top-right-radius:var(--border-radius)!important}.xl\:border-round-right{border-top-right-radius:var(--border-radius)!important;border-bottom-right-radius:var(--border-radius)!important}.xl\:border-round-bottom{border-bottom-left-radius:var(--border-radius)!important;border-bottom-right-radius:var(--border-radius)!important}.xl\:border-round-left-xs{border-top-left-radius:.125rem!important;border-bottom-left-radius:.125rem!important}.xl\:border-round-top-xs{border-top-left-radius:.125rem!important;border-top-right-radius:.125rem!important}.xl\:border-round-right-xs{border-top-right-radius:.125rem!important;border-bottom-right-radius:.125rem!important}.xl\:border-round-bottom-xs{border-bottom-left-radius:.125rem!important;border-bottom-right-radius:.125rem!important}.xl\:border-round-left-sm{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.xl\:border-round-top-sm{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.xl\:border-round-right-sm{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.xl\:border-round-bottom-sm{border-bottom-left-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.xl\:border-round-left-md{border-top-left-radius:.375rem!important;border-bottom-left-radius:.375rem!important}.xl\:border-round-top-md{border-top-left-radius:.375rem!important;border-top-right-radius:.375rem!important}.xl\:border-round-right-md{border-top-right-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.xl\:border-round-bottom-md{border-bottom-left-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.xl\:border-round-left-lg{border-top-left-radius:.5rem!important;border-bottom-left-radius:.5rem!important}.xl\:border-round-top-lg{border-top-left-radius:.5rem!important;border-top-right-radius:.5rem!important}.xl\:border-round-right-lg{border-top-right-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.xl\:border-round-bottom-lg{border-bottom-left-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.xl\:border-round-left-xl{border-top-left-radius:.75rem!important;border-bottom-left-radius:.75rem!important}.xl\:border-round-top-xl{border-top-left-radius:.75rem!important;border-top-right-radius:.75rem!important}.xl\:border-round-right-xl{border-top-right-radius:.75rem!important;border-bottom-right-radius:.75rem!important}.xl\:border-round-bottom-xl{border-bottom-left-radius:.75rem!important;border-bottom-right-radius:.75rem!important}.xl\:border-round-left-2xl{border-top-left-radius:1rem!important;border-bottom-left-radius:1rem!important}.xl\:border-round-top-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.xl\:border-round-right-2xl{border-top-right-radius:1rem!important;border-bottom-right-radius:1rem!important}.xl\:border-round-bottom-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}.xl\:border-round-left-3xl{border-top-left-radius:1.5rem!important;border-bottom-left-radius:1.5rem!important}.xl\:border-round-top-3xl{border-top-left-radius:1.5rem!important;border-top-right-radius:1.5rem!important}.xl\:border-round-right-3xl{border-top-right-radius:1.5rem!important;border-bottom-right-radius:1.5rem!important}.xl\:border-round-bottom-3xl{border-bottom-left-radius:1.5rem!important;border-bottom-right-radius:1.5rem!important}.xl\:border-circle-left{border-top-left-radius:50%!important;border-bottom-left-radius:50%!important}.xl\:border-circle-top{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.xl\:border-circle-right{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.xl\:border-circle-bottom{border-bottom-left-radius:50%!important;border-bottom-right-radius:50%!important}}.w-full{width:100%!important}.w-screen{width:100vw!important}.w-auto{width:auto!important}.w-1{width:8.3333%!important}.w-2{width:16.6667%!important}.w-3{width:25%!important}.w-4{width:33.3333%!important}.w-5{width:41.6667%!important}.w-6{width:50%!important}.w-7{width:58.3333%!important}.w-8{width:66.6667%!important}.w-9{width:75%!important}.w-10{width:83.3333%!important}.w-11{width:91.6667%!important}.w-12{width:100%!important}.w-min{width:min-content!important}.w-max{width:max-content!important}.w-fit{width:-moz-fit-content!important;width:fit-content!important}.w-1rem{width:1rem!important}.w-2rem{width:2rem!important}.w-3rem{width:3rem!important}.w-4rem{width:4rem!important}.w-5rem{width:5rem!important}.w-6rem{width:6rem!important}.w-7rem{width:7rem!important}.w-8rem{width:8rem!important}.w-9rem{width:9rem!important}.w-10rem{width:10rem!important}.w-11rem{width:11rem!important}.w-12rem{width:12rem!important}.w-13rem{width:13rem!important}.w-14rem{width:14rem!important}.w-15rem{width:15rem!important}.w-16rem{width:16rem!important}.w-17rem{width:17rem!important}.w-18rem{width:18rem!important}.w-19rem{width:19rem!important}.w-20rem{width:20rem!important}.w-21rem{width:21rem!important}.w-22rem{width:22rem!important}.w-23rem{width:23rem!important}.w-24rem{width:24rem!important}.w-25rem{width:25rem!important}.w-26rem{width:26rem!important}.w-27rem{width:27rem!important}.w-28rem{width:28rem!important}.w-29rem{width:29rem!important}.w-30rem{width:30rem!important}@media screen and (min-width: 576px){.sm\:w-full{width:100%!important}.sm\:w-screen{width:100vw!important}.sm\:w-auto{width:auto!important}.sm\:w-1{width:8.3333%!important}.sm\:w-2{width:16.6667%!important}.sm\:w-3{width:25%!important}.sm\:w-4{width:33.3333%!important}.sm\:w-5{width:41.6667%!important}.sm\:w-6{width:50%!important}.sm\:w-7{width:58.3333%!important}.sm\:w-8{width:66.6667%!important}.sm\:w-9{width:75%!important}.sm\:w-10{width:83.3333%!important}.sm\:w-11{width:91.6667%!important}.sm\:w-12{width:100%!important}.sm\:w-min{width:min-content!important}.sm\:w-max{width:max-content!important}.sm\:w-fit{width:-moz-fit-content!important;width:fit-content!important}.sm\:w-1rem{width:1rem!important}.sm\:w-2rem{width:2rem!important}.sm\:w-3rem{width:3rem!important}.sm\:w-4rem{width:4rem!important}.sm\:w-5rem{width:5rem!important}.sm\:w-6rem{width:6rem!important}.sm\:w-7rem{width:7rem!important}.sm\:w-8rem{width:8rem!important}.sm\:w-9rem{width:9rem!important}.sm\:w-10rem{width:10rem!important}.sm\:w-11rem{width:11rem!important}.sm\:w-12rem{width:12rem!important}.sm\:w-13rem{width:13rem!important}.sm\:w-14rem{width:14rem!important}.sm\:w-15rem{width:15rem!important}.sm\:w-16rem{width:16rem!important}.sm\:w-17rem{width:17rem!important}.sm\:w-18rem{width:18rem!important}.sm\:w-19rem{width:19rem!important}.sm\:w-20rem{width:20rem!important}.sm\:w-21rem{width:21rem!important}.sm\:w-22rem{width:22rem!important}.sm\:w-23rem{width:23rem!important}.sm\:w-24rem{width:24rem!important}.sm\:w-25rem{width:25rem!important}.sm\:w-26rem{width:26rem!important}.sm\:w-27rem{width:27rem!important}.sm\:w-28rem{width:28rem!important}.sm\:w-29rem{width:29rem!important}.sm\:w-30rem{width:30rem!important}}@media screen and (min-width: 768px){.md\:w-full{width:100%!important}.md\:w-screen{width:100vw!important}.md\:w-auto{width:auto!important}.md\:w-1{width:8.3333%!important}.md\:w-2{width:16.6667%!important}.md\:w-3{width:25%!important}.md\:w-4{width:33.3333%!important}.md\:w-5{width:41.6667%!important}.md\:w-6{width:50%!important}.md\:w-7{width:58.3333%!important}.md\:w-8{width:66.6667%!important}.md\:w-9{width:75%!important}.md\:w-10{width:83.3333%!important}.md\:w-11{width:91.6667%!important}.md\:w-12{width:100%!important}.md\:w-min{width:min-content!important}.md\:w-max{width:max-content!important}.md\:w-fit{width:-moz-fit-content!important;width:fit-content!important}.md\:w-1rem{width:1rem!important}.md\:w-2rem{width:2rem!important}.md\:w-3rem{width:3rem!important}.md\:w-4rem{width:4rem!important}.md\:w-5rem{width:5rem!important}.md\:w-6rem{width:6rem!important}.md\:w-7rem{width:7rem!important}.md\:w-8rem{width:8rem!important}.md\:w-9rem{width:9rem!important}.md\:w-10rem{width:10rem!important}.md\:w-11rem{width:11rem!important}.md\:w-12rem{width:12rem!important}.md\:w-13rem{width:13rem!important}.md\:w-14rem{width:14rem!important}.md\:w-15rem{width:15rem!important}.md\:w-16rem{width:16rem!important}.md\:w-17rem{width:17rem!important}.md\:w-18rem{width:18rem!important}.md\:w-19rem{width:19rem!important}.md\:w-20rem{width:20rem!important}.md\:w-21rem{width:21rem!important}.md\:w-22rem{width:22rem!important}.md\:w-23rem{width:23rem!important}.md\:w-24rem{width:24rem!important}.md\:w-25rem{width:25rem!important}.md\:w-26rem{width:26rem!important}.md\:w-27rem{width:27rem!important}.md\:w-28rem{width:28rem!important}.md\:w-29rem{width:29rem!important}.md\:w-30rem{width:30rem!important}}@media screen and (min-width: 992px){.lg\:w-full{width:100%!important}.lg\:w-screen{width:100vw!important}.lg\:w-auto{width:auto!important}.lg\:w-1{width:8.3333%!important}.lg\:w-2{width:16.6667%!important}.lg\:w-3{width:25%!important}.lg\:w-4{width:33.3333%!important}.lg\:w-5{width:41.6667%!important}.lg\:w-6{width:50%!important}.lg\:w-7{width:58.3333%!important}.lg\:w-8{width:66.6667%!important}.lg\:w-9{width:75%!important}.lg\:w-10{width:83.3333%!important}.lg\:w-11{width:91.6667%!important}.lg\:w-12{width:100%!important}.lg\:w-min{width:min-content!important}.lg\:w-max{width:max-content!important}.lg\:w-fit{width:-moz-fit-content!important;width:fit-content!important}.lg\:w-1rem{width:1rem!important}.lg\:w-2rem{width:2rem!important}.lg\:w-3rem{width:3rem!important}.lg\:w-4rem{width:4rem!important}.lg\:w-5rem{width:5rem!important}.lg\:w-6rem{width:6rem!important}.lg\:w-7rem{width:7rem!important}.lg\:w-8rem{width:8rem!important}.lg\:w-9rem{width:9rem!important}.lg\:w-10rem{width:10rem!important}.lg\:w-11rem{width:11rem!important}.lg\:w-12rem{width:12rem!important}.lg\:w-13rem{width:13rem!important}.lg\:w-14rem{width:14rem!important}.lg\:w-15rem{width:15rem!important}.lg\:w-16rem{width:16rem!important}.lg\:w-17rem{width:17rem!important}.lg\:w-18rem{width:18rem!important}.lg\:w-19rem{width:19rem!important}.lg\:w-20rem{width:20rem!important}.lg\:w-21rem{width:21rem!important}.lg\:w-22rem{width:22rem!important}.lg\:w-23rem{width:23rem!important}.lg\:w-24rem{width:24rem!important}.lg\:w-25rem{width:25rem!important}.lg\:w-26rem{width:26rem!important}.lg\:w-27rem{width:27rem!important}.lg\:w-28rem{width:28rem!important}.lg\:w-29rem{width:29rem!important}.lg\:w-30rem{width:30rem!important}}@media screen and (min-width: 1200px){.xl\:w-full{width:100%!important}.xl\:w-screen{width:100vw!important}.xl\:w-auto{width:auto!important}.xl\:w-1{width:8.3333%!important}.xl\:w-2{width:16.6667%!important}.xl\:w-3{width:25%!important}.xl\:w-4{width:33.3333%!important}.xl\:w-5{width:41.6667%!important}.xl\:w-6{width:50%!important}.xl\:w-7{width:58.3333%!important}.xl\:w-8{width:66.6667%!important}.xl\:w-9{width:75%!important}.xl\:w-10{width:83.3333%!important}.xl\:w-11{width:91.6667%!important}.xl\:w-12{width:100%!important}.xl\:w-min{width:min-content!important}.xl\:w-max{width:max-content!important}.xl\:w-fit{width:-moz-fit-content!important;width:fit-content!important}.xl\:w-1rem{width:1rem!important}.xl\:w-2rem{width:2rem!important}.xl\:w-3rem{width:3rem!important}.xl\:w-4rem{width:4rem!important}.xl\:w-5rem{width:5rem!important}.xl\:w-6rem{width:6rem!important}.xl\:w-7rem{width:7rem!important}.xl\:w-8rem{width:8rem!important}.xl\:w-9rem{width:9rem!important}.xl\:w-10rem{width:10rem!important}.xl\:w-11rem{width:11rem!important}.xl\:w-12rem{width:12rem!important}.xl\:w-13rem{width:13rem!important}.xl\:w-14rem{width:14rem!important}.xl\:w-15rem{width:15rem!important}.xl\:w-16rem{width:16rem!important}.xl\:w-17rem{width:17rem!important}.xl\:w-18rem{width:18rem!important}.xl\:w-19rem{width:19rem!important}.xl\:w-20rem{width:20rem!important}.xl\:w-21rem{width:21rem!important}.xl\:w-22rem{width:22rem!important}.xl\:w-23rem{width:23rem!important}.xl\:w-24rem{width:24rem!important}.xl\:w-25rem{width:25rem!important}.xl\:w-26rem{width:26rem!important}.xl\:w-27rem{width:27rem!important}.xl\:w-28rem{width:28rem!important}.xl\:w-29rem{width:29rem!important}.xl\:w-30rem{width:30rem!important}}.h-full{height:100%!important}.h-screen{height:100vh!important}.h-auto{height:auto!important}.h-min{height:min-content!important}.h-max{height:max-content!important}.h-fit{height:-moz-fit-content!important;height:fit-content!important}.h-1rem{height:1rem!important}.h-2rem{height:2rem!important}.h-3rem{height:3rem!important}.h-4rem{height:4rem!important}.h-5rem{height:5rem!important}.h-6rem{height:6rem!important}.h-7rem{height:7rem!important}.h-8rem{height:8rem!important}.h-9rem{height:9rem!important}.h-10rem{height:10rem!important}.h-11rem{height:11rem!important}.h-12rem{height:12rem!important}.h-13rem{height:13rem!important}.h-14rem{height:14rem!important}.h-15rem{height:15rem!important}.h-16rem{height:16rem!important}.h-17rem{height:17rem!important}.h-18rem{height:18rem!important}.h-19rem{height:19rem!important}.h-20rem{height:20rem!important}.h-21rem{height:21rem!important}.h-22rem{height:22rem!important}.h-23rem{height:23rem!important}.h-24rem{height:24rem!important}.h-25rem{height:25rem!important}.h-26rem{height:26rem!important}.h-27rem{height:27rem!important}.h-28rem{height:28rem!important}.h-29rem{height:29rem!important}.h-30rem{height:30rem!important}@media screen and (min-width: 576px){.sm\:h-full{height:100%!important}.sm\:h-screen{height:100vh!important}.sm\:h-auto{height:auto!important}.sm\:h-min{height:min-content!important}.sm\:h-max{height:max-content!important}.sm\:h-fit{height:-moz-fit-content!important;height:fit-content!important}.sm\:h-1rem{height:1rem!important}.sm\:h-2rem{height:2rem!important}.sm\:h-3rem{height:3rem!important}.sm\:h-4rem{height:4rem!important}.sm\:h-5rem{height:5rem!important}.sm\:h-6rem{height:6rem!important}.sm\:h-7rem{height:7rem!important}.sm\:h-8rem{height:8rem!important}.sm\:h-9rem{height:9rem!important}.sm\:h-10rem{height:10rem!important}.sm\:h-11rem{height:11rem!important}.sm\:h-12rem{height:12rem!important}.sm\:h-13rem{height:13rem!important}.sm\:h-14rem{height:14rem!important}.sm\:h-15rem{height:15rem!important}.sm\:h-16rem{height:16rem!important}.sm\:h-17rem{height:17rem!important}.sm\:h-18rem{height:18rem!important}.sm\:h-19rem{height:19rem!important}.sm\:h-20rem{height:20rem!important}.sm\:h-21rem{height:21rem!important}.sm\:h-22rem{height:22rem!important}.sm\:h-23rem{height:23rem!important}.sm\:h-24rem{height:24rem!important}.sm\:h-25rem{height:25rem!important}.sm\:h-26rem{height:26rem!important}.sm\:h-27rem{height:27rem!important}.sm\:h-28rem{height:28rem!important}.sm\:h-29rem{height:29rem!important}.sm\:h-30rem{height:30rem!important}}@media screen and (min-width: 768px){.md\:h-full{height:100%!important}.md\:h-screen{height:100vh!important}.md\:h-auto{height:auto!important}.md\:h-min{height:min-content!important}.md\:h-max{height:max-content!important}.md\:h-fit{height:-moz-fit-content!important;height:fit-content!important}.md\:h-1rem{height:1rem!important}.md\:h-2rem{height:2rem!important}.md\:h-3rem{height:3rem!important}.md\:h-4rem{height:4rem!important}.md\:h-5rem{height:5rem!important}.md\:h-6rem{height:6rem!important}.md\:h-7rem{height:7rem!important}.md\:h-8rem{height:8rem!important}.md\:h-9rem{height:9rem!important}.md\:h-10rem{height:10rem!important}.md\:h-11rem{height:11rem!important}.md\:h-12rem{height:12rem!important}.md\:h-13rem{height:13rem!important}.md\:h-14rem{height:14rem!important}.md\:h-15rem{height:15rem!important}.md\:h-16rem{height:16rem!important}.md\:h-17rem{height:17rem!important}.md\:h-18rem{height:18rem!important}.md\:h-19rem{height:19rem!important}.md\:h-20rem{height:20rem!important}.md\:h-21rem{height:21rem!important}.md\:h-22rem{height:22rem!important}.md\:h-23rem{height:23rem!important}.md\:h-24rem{height:24rem!important}.md\:h-25rem{height:25rem!important}.md\:h-26rem{height:26rem!important}.md\:h-27rem{height:27rem!important}.md\:h-28rem{height:28rem!important}.md\:h-29rem{height:29rem!important}.md\:h-30rem{height:30rem!important}}@media screen and (min-width: 992px){.lg\:h-full{height:100%!important}.lg\:h-screen{height:100vh!important}.lg\:h-auto{height:auto!important}.lg\:h-min{height:min-content!important}.lg\:h-max{height:max-content!important}.lg\:h-fit{height:-moz-fit-content!important;height:fit-content!important}.lg\:h-1rem{height:1rem!important}.lg\:h-2rem{height:2rem!important}.lg\:h-3rem{height:3rem!important}.lg\:h-4rem{height:4rem!important}.lg\:h-5rem{height:5rem!important}.lg\:h-6rem{height:6rem!important}.lg\:h-7rem{height:7rem!important}.lg\:h-8rem{height:8rem!important}.lg\:h-9rem{height:9rem!important}.lg\:h-10rem{height:10rem!important}.lg\:h-11rem{height:11rem!important}.lg\:h-12rem{height:12rem!important}.lg\:h-13rem{height:13rem!important}.lg\:h-14rem{height:14rem!important}.lg\:h-15rem{height:15rem!important}.lg\:h-16rem{height:16rem!important}.lg\:h-17rem{height:17rem!important}.lg\:h-18rem{height:18rem!important}.lg\:h-19rem{height:19rem!important}.lg\:h-20rem{height:20rem!important}.lg\:h-21rem{height:21rem!important}.lg\:h-22rem{height:22rem!important}.lg\:h-23rem{height:23rem!important}.lg\:h-24rem{height:24rem!important}.lg\:h-25rem{height:25rem!important}.lg\:h-26rem{height:26rem!important}.lg\:h-27rem{height:27rem!important}.lg\:h-28rem{height:28rem!important}.lg\:h-29rem{height:29rem!important}.lg\:h-30rem{height:30rem!important}}@media screen and (min-width: 1200px){.xl\:h-full{height:100%!important}.xl\:h-screen{height:100vh!important}.xl\:h-auto{height:auto!important}.xl\:h-min{height:min-content!important}.xl\:h-max{height:max-content!important}.xl\:h-fit{height:-moz-fit-content!important;height:fit-content!important}.xl\:h-1rem{height:1rem!important}.xl\:h-2rem{height:2rem!important}.xl\:h-3rem{height:3rem!important}.xl\:h-4rem{height:4rem!important}.xl\:h-5rem{height:5rem!important}.xl\:h-6rem{height:6rem!important}.xl\:h-7rem{height:7rem!important}.xl\:h-8rem{height:8rem!important}.xl\:h-9rem{height:9rem!important}.xl\:h-10rem{height:10rem!important}.xl\:h-11rem{height:11rem!important}.xl\:h-12rem{height:12rem!important}.xl\:h-13rem{height:13rem!important}.xl\:h-14rem{height:14rem!important}.xl\:h-15rem{height:15rem!important}.xl\:h-16rem{height:16rem!important}.xl\:h-17rem{height:17rem!important}.xl\:h-18rem{height:18rem!important}.xl\:h-19rem{height:19rem!important}.xl\:h-20rem{height:20rem!important}.xl\:h-21rem{height:21rem!important}.xl\:h-22rem{height:22rem!important}.xl\:h-23rem{height:23rem!important}.xl\:h-24rem{height:24rem!important}.xl\:h-25rem{height:25rem!important}.xl\:h-26rem{height:26rem!important}.xl\:h-27rem{height:27rem!important}.xl\:h-28rem{height:28rem!important}.xl\:h-29rem{height:29rem!important}.xl\:h-30rem{height:30rem!important}}.min-w-0{min-width:0px!important}.min-w-full{min-width:100%!important}.min-w-screen{min-width:100vw!important}.min-w-min{min-width:min-content!important}.min-w-max{min-width:max-content!important}@media screen and (min-width: 576px){.sm\:min-w-0{min-width:0px!important}.sm\:min-w-full{min-width:100%!important}.sm\:min-w-screen{min-width:100vw!important}.sm\:min-w-min{min-width:min-content!important}.sm\:min-w-max{min-width:max-content!important}}@media screen and (min-width: 768px){.md\:min-w-0{min-width:0px!important}.md\:min-w-full{min-width:100%!important}.md\:min-w-screen{min-width:100vw!important}.md\:min-w-min{min-width:min-content!important}.md\:min-w-max{min-width:max-content!important}}@media screen and (min-width: 992px){.lg\:min-w-0{min-width:0px!important}.lg\:min-w-full{min-width:100%!important}.lg\:min-w-screen{min-width:100vw!important}.lg\:min-w-min{min-width:min-content!important}.lg\:min-w-max{min-width:max-content!important}}@media screen and (min-width: 1200px){.xl\:min-w-0{min-width:0px!important}.xl\:min-w-full{min-width:100%!important}.xl\:min-w-screen{min-width:100vw!important}.xl\:min-w-min{min-width:min-content!important}.xl\:min-w-max{min-width:max-content!important}}.max-w-0{max-width:0px!important}.max-w-full{max-width:100%!important}.max-w-screen{max-width:100vw!important}.max-w-min{max-width:min-content!important}.max-w-max{max-width:max-content!important}.max-w-fit{max-width:-moz-fit-content!important;max-width:fit-content!important}.max-w-1rem{max-width:1rem!important}.max-w-2rem{max-width:2rem!important}.max-w-3rem{max-width:3rem!important}.max-w-4rem{max-width:4rem!important}.max-w-5rem{max-width:5rem!important}.max-w-6rem{max-width:6rem!important}.max-w-7rem{max-width:7rem!important}.max-w-8rem{max-width:8rem!important}.max-w-9rem{max-width:9rem!important}.max-w-10rem{max-width:10rem!important}.max-w-11rem{max-width:11rem!important}.max-w-12rem{max-width:12rem!important}.max-w-13rem{max-width:13rem!important}.max-w-14rem{max-width:14rem!important}.max-w-15rem{max-width:15rem!important}.max-w-16rem{max-width:16rem!important}.max-w-17rem{max-width:17rem!important}.max-w-18rem{max-width:18rem!important}.max-w-19rem{max-width:19rem!important}.max-w-20rem{max-width:20rem!important}.max-w-21rem{max-width:21rem!important}.max-w-22rem{max-width:22rem!important}.max-w-23rem{max-width:23rem!important}.max-w-24rem{max-width:24rem!important}.max-w-25rem{max-width:25rem!important}.max-w-26rem{max-width:26rem!important}.max-w-27rem{max-width:27rem!important}.max-w-28rem{max-width:28rem!important}.max-w-29rem{max-width:29rem!important}.max-w-30rem{max-width:30rem!important}@media screen and (min-width: 576px){.sm\:max-w-0{max-width:0px!important}.sm\:max-w-full{max-width:100%!important}.sm\:max-w-screen{max-width:100vw!important}.sm\:max-w-min{max-width:min-content!important}.sm\:max-w-max{max-width:max-content!important}.sm\:max-w-fit{max-width:-moz-fit-content!important;max-width:fit-content!important}.sm\:max-w-1rem{max-width:1rem!important}.sm\:max-w-2rem{max-width:2rem!important}.sm\:max-w-3rem{max-width:3rem!important}.sm\:max-w-4rem{max-width:4rem!important}.sm\:max-w-5rem{max-width:5rem!important}.sm\:max-w-6rem{max-width:6rem!important}.sm\:max-w-7rem{max-width:7rem!important}.sm\:max-w-8rem{max-width:8rem!important}.sm\:max-w-9rem{max-width:9rem!important}.sm\:max-w-10rem{max-width:10rem!important}.sm\:max-w-11rem{max-width:11rem!important}.sm\:max-w-12rem{max-width:12rem!important}.sm\:max-w-13rem{max-width:13rem!important}.sm\:max-w-14rem{max-width:14rem!important}.sm\:max-w-15rem{max-width:15rem!important}.sm\:max-w-16rem{max-width:16rem!important}.sm\:max-w-17rem{max-width:17rem!important}.sm\:max-w-18rem{max-width:18rem!important}.sm\:max-w-19rem{max-width:19rem!important}.sm\:max-w-20rem{max-width:20rem!important}.sm\:max-w-21rem{max-width:21rem!important}.sm\:max-w-22rem{max-width:22rem!important}.sm\:max-w-23rem{max-width:23rem!important}.sm\:max-w-24rem{max-width:24rem!important}.sm\:max-w-25rem{max-width:25rem!important}.sm\:max-w-26rem{max-width:26rem!important}.sm\:max-w-27rem{max-width:27rem!important}.sm\:max-w-28rem{max-width:28rem!important}.sm\:max-w-29rem{max-width:29rem!important}.sm\:max-w-30rem{max-width:30rem!important}}@media screen and (min-width: 768px){.md\:max-w-0{max-width:0px!important}.md\:max-w-full{max-width:100%!important}.md\:max-w-screen{max-width:100vw!important}.md\:max-w-min{max-width:min-content!important}.md\:max-w-max{max-width:max-content!important}.md\:max-w-fit{max-width:-moz-fit-content!important;max-width:fit-content!important}.md\:max-w-1rem{max-width:1rem!important}.md\:max-w-2rem{max-width:2rem!important}.md\:max-w-3rem{max-width:3rem!important}.md\:max-w-4rem{max-width:4rem!important}.md\:max-w-5rem{max-width:5rem!important}.md\:max-w-6rem{max-width:6rem!important}.md\:max-w-7rem{max-width:7rem!important}.md\:max-w-8rem{max-width:8rem!important}.md\:max-w-9rem{max-width:9rem!important}.md\:max-w-10rem{max-width:10rem!important}.md\:max-w-11rem{max-width:11rem!important}.md\:max-w-12rem{max-width:12rem!important}.md\:max-w-13rem{max-width:13rem!important}.md\:max-w-14rem{max-width:14rem!important}.md\:max-w-15rem{max-width:15rem!important}.md\:max-w-16rem{max-width:16rem!important}.md\:max-w-17rem{max-width:17rem!important}.md\:max-w-18rem{max-width:18rem!important}.md\:max-w-19rem{max-width:19rem!important}.md\:max-w-20rem{max-width:20rem!important}.md\:max-w-21rem{max-width:21rem!important}.md\:max-w-22rem{max-width:22rem!important}.md\:max-w-23rem{max-width:23rem!important}.md\:max-w-24rem{max-width:24rem!important}.md\:max-w-25rem{max-width:25rem!important}.md\:max-w-26rem{max-width:26rem!important}.md\:max-w-27rem{max-width:27rem!important}.md\:max-w-28rem{max-width:28rem!important}.md\:max-w-29rem{max-width:29rem!important}.md\:max-w-30rem{max-width:30rem!important}}@media screen and (min-width: 992px){.lg\:max-w-0{max-width:0px!important}.lg\:max-w-full{max-width:100%!important}.lg\:max-w-screen{max-width:100vw!important}.lg\:max-w-min{max-width:min-content!important}.lg\:max-w-max{max-width:max-content!important}.lg\:max-w-fit{max-width:-moz-fit-content!important;max-width:fit-content!important}.lg\:max-w-1rem{max-width:1rem!important}.lg\:max-w-2rem{max-width:2rem!important}.lg\:max-w-3rem{max-width:3rem!important}.lg\:max-w-4rem{max-width:4rem!important}.lg\:max-w-5rem{max-width:5rem!important}.lg\:max-w-6rem{max-width:6rem!important}.lg\:max-w-7rem{max-width:7rem!important}.lg\:max-w-8rem{max-width:8rem!important}.lg\:max-w-9rem{max-width:9rem!important}.lg\:max-w-10rem{max-width:10rem!important}.lg\:max-w-11rem{max-width:11rem!important}.lg\:max-w-12rem{max-width:12rem!important}.lg\:max-w-13rem{max-width:13rem!important}.lg\:max-w-14rem{max-width:14rem!important}.lg\:max-w-15rem{max-width:15rem!important}.lg\:max-w-16rem{max-width:16rem!important}.lg\:max-w-17rem{max-width:17rem!important}.lg\:max-w-18rem{max-width:18rem!important}.lg\:max-w-19rem{max-width:19rem!important}.lg\:max-w-20rem{max-width:20rem!important}.lg\:max-w-21rem{max-width:21rem!important}.lg\:max-w-22rem{max-width:22rem!important}.lg\:max-w-23rem{max-width:23rem!important}.lg\:max-w-24rem{max-width:24rem!important}.lg\:max-w-25rem{max-width:25rem!important}.lg\:max-w-26rem{max-width:26rem!important}.lg\:max-w-27rem{max-width:27rem!important}.lg\:max-w-28rem{max-width:28rem!important}.lg\:max-w-29rem{max-width:29rem!important}.lg\:max-w-30rem{max-width:30rem!important}}@media screen and (min-width: 1200px){.xl\:max-w-0{max-width:0px!important}.xl\:max-w-full{max-width:100%!important}.xl\:max-w-screen{max-width:100vw!important}.xl\:max-w-min{max-width:min-content!important}.xl\:max-w-max{max-width:max-content!important}.xl\:max-w-fit{max-width:-moz-fit-content!important;max-width:fit-content!important}.xl\:max-w-1rem{max-width:1rem!important}.xl\:max-w-2rem{max-width:2rem!important}.xl\:max-w-3rem{max-width:3rem!important}.xl\:max-w-4rem{max-width:4rem!important}.xl\:max-w-5rem{max-width:5rem!important}.xl\:max-w-6rem{max-width:6rem!important}.xl\:max-w-7rem{max-width:7rem!important}.xl\:max-w-8rem{max-width:8rem!important}.xl\:max-w-9rem{max-width:9rem!important}.xl\:max-w-10rem{max-width:10rem!important}.xl\:max-w-11rem{max-width:11rem!important}.xl\:max-w-12rem{max-width:12rem!important}.xl\:max-w-13rem{max-width:13rem!important}.xl\:max-w-14rem{max-width:14rem!important}.xl\:max-w-15rem{max-width:15rem!important}.xl\:max-w-16rem{max-width:16rem!important}.xl\:max-w-17rem{max-width:17rem!important}.xl\:max-w-18rem{max-width:18rem!important}.xl\:max-w-19rem{max-width:19rem!important}.xl\:max-w-20rem{max-width:20rem!important}.xl\:max-w-21rem{max-width:21rem!important}.xl\:max-w-22rem{max-width:22rem!important}.xl\:max-w-23rem{max-width:23rem!important}.xl\:max-w-24rem{max-width:24rem!important}.xl\:max-w-25rem{max-width:25rem!important}.xl\:max-w-26rem{max-width:26rem!important}.xl\:max-w-27rem{max-width:27rem!important}.xl\:max-w-28rem{max-width:28rem!important}.xl\:max-w-29rem{max-width:29rem!important}.xl\:max-w-30rem{max-width:30rem!important}}.min-h-0{min-height:0px!important}.min-h-full{min-height:100%!important}.min-h-screen{min-height:100vh!important}@media screen and (min-width: 576px){.sm\:min-h-0{min-height:0px!important}.sm\:min-h-full{min-height:100%!important}.sm\:min-h-screen{min-height:100vh!important}}@media screen and (min-width: 768px){.md\:min-h-0{min-height:0px!important}.md\:min-h-full{min-height:100%!important}.md\:min-h-screen{min-height:100vh!important}}@media screen and (min-width: 992px){.lg\:min-h-0{min-height:0px!important}.lg\:min-h-full{min-height:100%!important}.lg\:min-h-screen{min-height:100vh!important}}@media screen and (min-width: 1200px){.xl\:min-h-0{min-height:0px!important}.xl\:min-h-full{min-height:100%!important}.xl\:min-h-screen{min-height:100vh!important}}.max-h-0{max-height:0px!important}.max-h-full{max-height:100%!important}.max-h-screen{max-height:100vh!important}.max-h-min{max-height:min-content!important}.max-h-max{max-height:max-content!important}.max-h-fit{max-height:-moz-fit-content!important;max-height:fit-content!important}.max-h-1rem{max-height:1rem!important}.max-h-2rem{max-height:2rem!important}.max-h-3rem{max-height:3rem!important}.max-h-4rem{max-height:4rem!important}.max-h-5rem{max-height:5rem!important}.max-h-6rem{max-height:6rem!important}.max-h-7rem{max-height:7rem!important}.max-h-8rem{max-height:8rem!important}.max-h-9rem{max-height:9rem!important}.max-h-10rem{max-height:10rem!important}.max-h-11rem{max-height:11rem!important}.max-h-12rem{max-height:12rem!important}.max-h-13rem{max-height:13rem!important}.max-h-14rem{max-height:14rem!important}.max-h-15rem{max-height:15rem!important}.max-h-16rem{max-height:16rem!important}.max-h-17rem{max-height:17rem!important}.max-h-18rem{max-height:18rem!important}.max-h-19rem{max-height:19rem!important}.max-h-20rem{max-height:20rem!important}.max-h-21rem{max-height:21rem!important}.max-h-22rem{max-height:22rem!important}.max-h-23rem{max-height:23rem!important}.max-h-24rem{max-height:24rem!important}.max-h-25rem{max-height:25rem!important}.max-h-26rem{max-height:26rem!important}.max-h-27rem{max-height:27rem!important}.max-h-28rem{max-height:28rem!important}.max-h-29rem{max-height:29rem!important}.max-h-30rem{max-height:30rem!important}@media screen and (min-width: 576px){.sm\:max-h-0{max-height:0px!important}.sm\:max-h-full{max-height:100%!important}.sm\:max-h-screen{max-height:100vh!important}.sm\:max-h-min{max-height:min-content!important}.sm\:max-h-max{max-height:max-content!important}.sm\:max-h-fit{max-height:-moz-fit-content!important;max-height:fit-content!important}.sm\:max-h-1rem{max-height:1rem!important}.sm\:max-h-2rem{max-height:2rem!important}.sm\:max-h-3rem{max-height:3rem!important}.sm\:max-h-4rem{max-height:4rem!important}.sm\:max-h-5rem{max-height:5rem!important}.sm\:max-h-6rem{max-height:6rem!important}.sm\:max-h-7rem{max-height:7rem!important}.sm\:max-h-8rem{max-height:8rem!important}.sm\:max-h-9rem{max-height:9rem!important}.sm\:max-h-10rem{max-height:10rem!important}.sm\:max-h-11rem{max-height:11rem!important}.sm\:max-h-12rem{max-height:12rem!important}.sm\:max-h-13rem{max-height:13rem!important}.sm\:max-h-14rem{max-height:14rem!important}.sm\:max-h-15rem{max-height:15rem!important}.sm\:max-h-16rem{max-height:16rem!important}.sm\:max-h-17rem{max-height:17rem!important}.sm\:max-h-18rem{max-height:18rem!important}.sm\:max-h-19rem{max-height:19rem!important}.sm\:max-h-20rem{max-height:20rem!important}.sm\:max-h-21rem{max-height:21rem!important}.sm\:max-h-22rem{max-height:22rem!important}.sm\:max-h-23rem{max-height:23rem!important}.sm\:max-h-24rem{max-height:24rem!important}.sm\:max-h-25rem{max-height:25rem!important}.sm\:max-h-26rem{max-height:26rem!important}.sm\:max-h-27rem{max-height:27rem!important}.sm\:max-h-28rem{max-height:28rem!important}.sm\:max-h-29rem{max-height:29rem!important}.sm\:max-h-30rem{max-height:30rem!important}}@media screen and (min-width: 768px){.md\:max-h-0{max-height:0px!important}.md\:max-h-full{max-height:100%!important}.md\:max-h-screen{max-height:100vh!important}.md\:max-h-min{max-height:min-content!important}.md\:max-h-max{max-height:max-content!important}.md\:max-h-fit{max-height:-moz-fit-content!important;max-height:fit-content!important}.md\:max-h-1rem{max-height:1rem!important}.md\:max-h-2rem{max-height:2rem!important}.md\:max-h-3rem{max-height:3rem!important}.md\:max-h-4rem{max-height:4rem!important}.md\:max-h-5rem{max-height:5rem!important}.md\:max-h-6rem{max-height:6rem!important}.md\:max-h-7rem{max-height:7rem!important}.md\:max-h-8rem{max-height:8rem!important}.md\:max-h-9rem{max-height:9rem!important}.md\:max-h-10rem{max-height:10rem!important}.md\:max-h-11rem{max-height:11rem!important}.md\:max-h-12rem{max-height:12rem!important}.md\:max-h-13rem{max-height:13rem!important}.md\:max-h-14rem{max-height:14rem!important}.md\:max-h-15rem{max-height:15rem!important}.md\:max-h-16rem{max-height:16rem!important}.md\:max-h-17rem{max-height:17rem!important}.md\:max-h-18rem{max-height:18rem!important}.md\:max-h-19rem{max-height:19rem!important}.md\:max-h-20rem{max-height:20rem!important}.md\:max-h-21rem{max-height:21rem!important}.md\:max-h-22rem{max-height:22rem!important}.md\:max-h-23rem{max-height:23rem!important}.md\:max-h-24rem{max-height:24rem!important}.md\:max-h-25rem{max-height:25rem!important}.md\:max-h-26rem{max-height:26rem!important}.md\:max-h-27rem{max-height:27rem!important}.md\:max-h-28rem{max-height:28rem!important}.md\:max-h-29rem{max-height:29rem!important}.md\:max-h-30rem{max-height:30rem!important}}@media screen and (min-width: 992px){.lg\:max-h-0{max-height:0px!important}.lg\:max-h-full{max-height:100%!important}.lg\:max-h-screen{max-height:100vh!important}.lg\:max-h-min{max-height:min-content!important}.lg\:max-h-max{max-height:max-content!important}.lg\:max-h-fit{max-height:-moz-fit-content!important;max-height:fit-content!important}.lg\:max-h-1rem{max-height:1rem!important}.lg\:max-h-2rem{max-height:2rem!important}.lg\:max-h-3rem{max-height:3rem!important}.lg\:max-h-4rem{max-height:4rem!important}.lg\:max-h-5rem{max-height:5rem!important}.lg\:max-h-6rem{max-height:6rem!important}.lg\:max-h-7rem{max-height:7rem!important}.lg\:max-h-8rem{max-height:8rem!important}.lg\:max-h-9rem{max-height:9rem!important}.lg\:max-h-10rem{max-height:10rem!important}.lg\:max-h-11rem{max-height:11rem!important}.lg\:max-h-12rem{max-height:12rem!important}.lg\:max-h-13rem{max-height:13rem!important}.lg\:max-h-14rem{max-height:14rem!important}.lg\:max-h-15rem{max-height:15rem!important}.lg\:max-h-16rem{max-height:16rem!important}.lg\:max-h-17rem{max-height:17rem!important}.lg\:max-h-18rem{max-height:18rem!important}.lg\:max-h-19rem{max-height:19rem!important}.lg\:max-h-20rem{max-height:20rem!important}.lg\:max-h-21rem{max-height:21rem!important}.lg\:max-h-22rem{max-height:22rem!important}.lg\:max-h-23rem{max-height:23rem!important}.lg\:max-h-24rem{max-height:24rem!important}.lg\:max-h-25rem{max-height:25rem!important}.lg\:max-h-26rem{max-height:26rem!important}.lg\:max-h-27rem{max-height:27rem!important}.lg\:max-h-28rem{max-height:28rem!important}.lg\:max-h-29rem{max-height:29rem!important}.lg\:max-h-30rem{max-height:30rem!important}}@media screen and (min-width: 1200px){.xl\:max-h-0{max-height:0px!important}.xl\:max-h-full{max-height:100%!important}.xl\:max-h-screen{max-height:100vh!important}.xl\:max-h-min{max-height:min-content!important}.xl\:max-h-max{max-height:max-content!important}.xl\:max-h-fit{max-height:-moz-fit-content!important;max-height:fit-content!important}.xl\:max-h-1rem{max-height:1rem!important}.xl\:max-h-2rem{max-height:2rem!important}.xl\:max-h-3rem{max-height:3rem!important}.xl\:max-h-4rem{max-height:4rem!important}.xl\:max-h-5rem{max-height:5rem!important}.xl\:max-h-6rem{max-height:6rem!important}.xl\:max-h-7rem{max-height:7rem!important}.xl\:max-h-8rem{max-height:8rem!important}.xl\:max-h-9rem{max-height:9rem!important}.xl\:max-h-10rem{max-height:10rem!important}.xl\:max-h-11rem{max-height:11rem!important}.xl\:max-h-12rem{max-height:12rem!important}.xl\:max-h-13rem{max-height:13rem!important}.xl\:max-h-14rem{max-height:14rem!important}.xl\:max-h-15rem{max-height:15rem!important}.xl\:max-h-16rem{max-height:16rem!important}.xl\:max-h-17rem{max-height:17rem!important}.xl\:max-h-18rem{max-height:18rem!important}.xl\:max-h-19rem{max-height:19rem!important}.xl\:max-h-20rem{max-height:20rem!important}.xl\:max-h-21rem{max-height:21rem!important}.xl\:max-h-22rem{max-height:22rem!important}.xl\:max-h-23rem{max-height:23rem!important}.xl\:max-h-24rem{max-height:24rem!important}.xl\:max-h-25rem{max-height:25rem!important}.xl\:max-h-26rem{max-height:26rem!important}.xl\:max-h-27rem{max-height:27rem!important}.xl\:max-h-28rem{max-height:28rem!important}.xl\:max-h-29rem{max-height:29rem!important}.xl\:max-h-30rem{max-height:30rem!important}}.static{position:static!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.sticky{position:sticky!important}@media screen and (min-width: 576px){.sm\:static{position:static!important}.sm\:fixed{position:fixed!important}.sm\:absolute{position:absolute!important}.sm\:relative{position:relative!important}.sm\:sticky{position:sticky!important}}@media screen and (min-width: 768px){.md\:static{position:static!important}.md\:fixed{position:fixed!important}.md\:absolute{position:absolute!important}.md\:relative{position:relative!important}.md\:sticky{position:sticky!important}}@media screen and (min-width: 992px){.lg\:static{position:static!important}.lg\:fixed{position:fixed!important}.lg\:absolute{position:absolute!important}.lg\:relative{position:relative!important}.lg\:sticky{position:sticky!important}}@media screen and (min-width: 1200px){.xl\:static{position:static!important}.xl\:fixed{position:fixed!important}.xl\:absolute{position:absolute!important}.xl\:relative{position:relative!important}.xl\:sticky{position:sticky!important}}.top-auto{top:auto!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}@media screen and (min-width: 576px){.sm\:top-auto{top:auto!important}.sm\:top-0{top:0!important}.sm\:top-50{top:50%!important}.sm\:top-100{top:100%!important}}@media screen and (min-width: 768px){.md\:top-auto{top:auto!important}.md\:top-0{top:0!important}.md\:top-50{top:50%!important}.md\:top-100{top:100%!important}}@media screen and (min-width: 992px){.lg\:top-auto{top:auto!important}.lg\:top-0{top:0!important}.lg\:top-50{top:50%!important}.lg\:top-100{top:100%!important}}@media screen and (min-width: 1200px){.xl\:top-auto{top:auto!important}.xl\:top-0{top:0!important}.xl\:top-50{top:50%!important}.xl\:top-100{top:100%!important}}.left-auto{left:auto!important}.left-0{left:0!important}.left-50{left:50%!important}.left-100{left:100%!important}@media screen and (min-width: 576px){.sm\:left-auto{left:auto!important}.sm\:left-0{left:0!important}.sm\:left-50{left:50%!important}.sm\:left-100{left:100%!important}}@media screen and (min-width: 768px){.md\:left-auto{left:auto!important}.md\:left-0{left:0!important}.md\:left-50{left:50%!important}.md\:left-100{left:100%!important}}@media screen and (min-width: 992px){.lg\:left-auto{left:auto!important}.lg\:left-0{left:0!important}.lg\:left-50{left:50%!important}.lg\:left-100{left:100%!important}}@media screen and (min-width: 1200px){.xl\:left-auto{left:auto!important}.xl\:left-0{left:0!important}.xl\:left-50{left:50%!important}.xl\:left-100{left:100%!important}}.right-auto{right:auto!important}.right-0{right:0!important}.right-50{right:50%!important}.right-100{right:100%!important}@media screen and (min-width: 576px){.sm\:right-auto{right:auto!important}.sm\:right-0{right:0!important}.sm\:right-50{right:50%!important}.sm\:right-100{right:100%!important}}@media screen and (min-width: 768px){.md\:right-auto{right:auto!important}.md\:right-0{right:0!important}.md\:right-50{right:50%!important}.md\:right-100{right:100%!important}}@media screen and (min-width: 992px){.lg\:right-auto{right:auto!important}.lg\:right-0{right:0!important}.lg\:right-50{right:50%!important}.lg\:right-100{right:100%!important}}@media screen and (min-width: 1200px){.xl\:right-auto{right:auto!important}.xl\:right-0{right:0!important}.xl\:right-50{right:50%!important}.xl\:right-100{right:100%!important}}.bottom-auto{bottom:auto!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}@media screen and (min-width: 576px){.sm\:bottom-auto{bottom:auto!important}.sm\:bottom-0{bottom:0!important}.sm\:bottom-50{bottom:50%!important}.sm\:bottom-100{bottom:100%!important}}@media screen and (min-width: 768px){.md\:bottom-auto{bottom:auto!important}.md\:bottom-0{bottom:0!important}.md\:bottom-50{bottom:50%!important}.md\:bottom-100{bottom:100%!important}}@media screen and (min-width: 992px){.lg\:bottom-auto{bottom:auto!important}.lg\:bottom-0{bottom:0!important}.lg\:bottom-50{bottom:50%!important}.lg\:bottom-100{bottom:100%!important}}@media screen and (min-width: 1200px){.xl\:bottom-auto{bottom:auto!important}.xl\:bottom-0{bottom:0!important}.xl\:bottom-50{bottom:50%!important}.xl\:bottom-100{bottom:100%!important}}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}@media screen and (min-width: 576px){.sm\:overflow-auto{overflow:auto!important}.sm\:overflow-hidden{overflow:hidden!important}.sm\:overflow-visible{overflow:visible!important}.sm\:overflow-scroll{overflow:scroll!important}}@media screen and (min-width: 768px){.md\:overflow-auto{overflow:auto!important}.md\:overflow-hidden{overflow:hidden!important}.md\:overflow-visible{overflow:visible!important}.md\:overflow-scroll{overflow:scroll!important}}@media screen and (min-width: 992px){.lg\:overflow-auto{overflow:auto!important}.lg\:overflow-hidden{overflow:hidden!important}.lg\:overflow-visible{overflow:visible!important}.lg\:overflow-scroll{overflow:scroll!important}}@media screen and (min-width: 1200px){.xl\:overflow-auto{overflow:auto!important}.xl\:overflow-hidden{overflow:hidden!important}.xl\:overflow-visible{overflow:visible!important}.xl\:overflow-scroll{overflow:scroll!important}}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}@media screen and (min-width: 576px){.sm\:overflow-x-auto{overflow-x:auto!important}.sm\:overflow-x-hidden{overflow-x:hidden!important}.sm\:overflow-x-visible{overflow-x:visible!important}.sm\:overflow-x-scroll{overflow-x:scroll!important}}@media screen and (min-width: 768px){.md\:overflow-x-auto{overflow-x:auto!important}.md\:overflow-x-hidden{overflow-x:hidden!important}.md\:overflow-x-visible{overflow-x:visible!important}.md\:overflow-x-scroll{overflow-x:scroll!important}}@media screen and (min-width: 992px){.lg\:overflow-x-auto{overflow-x:auto!important}.lg\:overflow-x-hidden{overflow-x:hidden!important}.lg\:overflow-x-visible{overflow-x:visible!important}.lg\:overflow-x-scroll{overflow-x:scroll!important}}@media screen and (min-width: 1200px){.xl\:overflow-x-auto{overflow-x:auto!important}.xl\:overflow-x-hidden{overflow-x:hidden!important}.xl\:overflow-x-visible{overflow-x:visible!important}.xl\:overflow-x-scroll{overflow-x:scroll!important}}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}@media screen and (min-width: 576px){.sm\:overflow-y-auto{overflow-y:auto!important}.sm\:overflow-y-hidden{overflow-y:hidden!important}.sm\:overflow-y-visible{overflow-y:visible!important}.sm\:overflow-y-scroll{overflow-y:scroll!important}}@media screen and (min-width: 768px){.md\:overflow-y-auto{overflow-y:auto!important}.md\:overflow-y-hidden{overflow-y:hidden!important}.md\:overflow-y-visible{overflow-y:visible!important}.md\:overflow-y-scroll{overflow-y:scroll!important}}@media screen and (min-width: 992px){.lg\:overflow-y-auto{overflow-y:auto!important}.lg\:overflow-y-hidden{overflow-y:hidden!important}.lg\:overflow-y-visible{overflow-y:visible!important}.lg\:overflow-y-scroll{overflow-y:scroll!important}}@media screen and (min-width: 1200px){.xl\:overflow-y-auto{overflow-y:auto!important}.xl\:overflow-y-hidden{overflow-y:hidden!important}.xl\:overflow-y-visible{overflow-y:visible!important}.xl\:overflow-y-scroll{overflow-y:scroll!important}}.z-auto{z-index:auto!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}.z-4{z-index:4!important}.z-5{z-index:5!important}@media screen and (min-width: 576px){.sm\:z-auto{z-index:auto!important}.sm\:z-0{z-index:0!important}.sm\:z-1{z-index:1!important}.sm\:z-2{z-index:2!important}.sm\:z-3{z-index:3!important}.sm\:z-4{z-index:4!important}.sm\:z-5{z-index:5!important}}@media screen and (min-width: 768px){.md\:z-auto{z-index:auto!important}.md\:z-0{z-index:0!important}.md\:z-1{z-index:1!important}.md\:z-2{z-index:2!important}.md\:z-3{z-index:3!important}.md\:z-4{z-index:4!important}.md\:z-5{z-index:5!important}}@media screen and (min-width: 992px){.lg\:z-auto{z-index:auto!important}.lg\:z-0{z-index:0!important}.lg\:z-1{z-index:1!important}.lg\:z-2{z-index:2!important}.lg\:z-3{z-index:3!important}.lg\:z-4{z-index:4!important}.lg\:z-5{z-index:5!important}}@media screen and (min-width: 1200px){.xl\:z-auto{z-index:auto!important}.xl\:z-0{z-index:0!important}.xl\:z-1{z-index:1!important}.xl\:z-2{z-index:2!important}.xl\:z-3{z-index:3!important}.xl\:z-4{z-index:4!important}.xl\:z-5{z-index:5!important}}.bg-repeat{background-repeat:repeat!important}.bg-no-repeat{background-repeat:no-repeat!important}.bg-repeat-x{background-repeat:repeat-x!important}.bg-repeat-y{background-repeat:repeat-y!important}.bg-repeat-round{background-repeat:round!important}.bg-repeat-space{background-repeat:space!important}@media screen and (min-width: 576px){.sm\:bg-repeat{background-repeat:repeat!important}.sm\:bg-no-repeat{background-repeat:no-repeat!important}.sm\:bg-repeat-x{background-repeat:repeat-x!important}.sm\:bg-repeat-y{background-repeat:repeat-y!important}.sm\:bg-repeat-round{background-repeat:round!important}.sm\:bg-repeat-space{background-repeat:space!important}}@media screen and (min-width: 768px){.md\:bg-repeat{background-repeat:repeat!important}.md\:bg-no-repeat{background-repeat:no-repeat!important}.md\:bg-repeat-x{background-repeat:repeat-x!important}.md\:bg-repeat-y{background-repeat:repeat-y!important}.md\:bg-repeat-round{background-repeat:round!important}.md\:bg-repeat-space{background-repeat:space!important}}@media screen and (min-width: 992px){.lg\:bg-repeat{background-repeat:repeat!important}.lg\:bg-no-repeat{background-repeat:no-repeat!important}.lg\:bg-repeat-x{background-repeat:repeat-x!important}.lg\:bg-repeat-y{background-repeat:repeat-y!important}.lg\:bg-repeat-round{background-repeat:round!important}.lg\:bg-repeat-space{background-repeat:space!important}}@media screen and (min-width: 1200px){.xl\:bg-repeat{background-repeat:repeat!important}.xl\:bg-no-repeat{background-repeat:no-repeat!important}.xl\:bg-repeat-x{background-repeat:repeat-x!important}.xl\:bg-repeat-y{background-repeat:repeat-y!important}.xl\:bg-repeat-round{background-repeat:round!important}.xl\:bg-repeat-space{background-repeat:space!important}}.bg-auto{background-size:auto!important}.bg-cover{background-size:cover!important}.bg-contain{background-size:contain!important}@media screen and (min-width: 576px){.sm\:bg-auto{background-size:auto!important}.sm\:bg-cover{background-size:cover!important}.sm\:bg-contain{background-size:contain!important}}@media screen and (min-width: 768px){.md\:bg-auto{background-size:auto!important}.md\:bg-cover{background-size:cover!important}.md\:bg-contain{background-size:contain!important}}@media screen and (min-width: 992px){.lg\:bg-auto{background-size:auto!important}.lg\:bg-cover{background-size:cover!important}.lg\:bg-contain{background-size:contain!important}}@media screen and (min-width: 1200px){.xl\:bg-auto{background-size:auto!important}.xl\:bg-cover{background-size:cover!important}.xl\:bg-contain{background-size:contain!important}}.bg-bottom{background-position:bottom!important}.bg-center{background-position:center!important}.bg-left{background-position:left!important}.bg-left-bottom{background-position:left bottom!important}.bg-left-top{background-position:left top!important}.bg-right{background-position:right!important}.bg-right-bottom{background-position:right bottom!important}.bg-right-top{background-position:right top!important}.bg-top{background-position:top!important}@media screen and (min-width: 576px){.sm\:bg-bottom{background-position:bottom!important}.sm\:bg-center{background-position:center!important}.sm\:bg-left{background-position:left!important}.sm\:bg-left-bottom{background-position:left bottom!important}.sm\:bg-left-top{background-position:left top!important}.sm\:bg-right{background-position:right!important}.sm\:bg-right-bottom{background-position:right bottom!important}.sm\:bg-right-top{background-position:right top!important}.sm\:bg-top{background-position:top!important}}@media screen and (min-width: 768px){.md\:bg-bottom{background-position:bottom!important}.md\:bg-center{background-position:center!important}.md\:bg-left{background-position:left!important}.md\:bg-left-bottom{background-position:left bottom!important}.md\:bg-left-top{background-position:left top!important}.md\:bg-right{background-position:right!important}.md\:bg-right-bottom{background-position:right bottom!important}.md\:bg-right-top{background-position:right top!important}.md\:bg-top{background-position:top!important}}@media screen and (min-width: 992px){.lg\:bg-bottom{background-position:bottom!important}.lg\:bg-center{background-position:center!important}.lg\:bg-left{background-position:left!important}.lg\:bg-left-bottom{background-position:left bottom!important}.lg\:bg-left-top{background-position:left top!important}.lg\:bg-right{background-position:right!important}.lg\:bg-right-bottom{background-position:right bottom!important}.lg\:bg-right-top{background-position:right top!important}.lg\:bg-top{background-position:top!important}}@media screen and (min-width: 1200px){.xl\:bg-bottom{background-position:bottom!important}.xl\:bg-center{background-position:center!important}.xl\:bg-left{background-position:left!important}.xl\:bg-left-bottom{background-position:left bottom!important}.xl\:bg-left-top{background-position:left top!important}.xl\:bg-right{background-position:right!important}.xl\:bg-right-bottom{background-position:right bottom!important}.xl\:bg-right-top{background-position:right top!important}.xl\:bg-top{background-position:top!important}}.list-none{list-style:none!important}.list-disc{list-style:disc!important}.list-decimal{list-style:decimal!important}.appearance-none{-webkit-appearance:none!important;appearance:none!important}.outline-none{outline:none!important}.pointer-events-none{pointer-events:none!important}.pointer-events-auto{pointer-events:auto!important}.cursor-auto{cursor:auto!important}.cursor-pointer{cursor:pointer!important}.cursor-wait{cursor:wait!important}.cursor-move{cursor:move!important}.select-none{-webkit-user-select:none!important;user-select:none!important}.select-text{-webkit-user-select:text!important;user-select:text!important}.select-all{-webkit-user-select:all!important;user-select:all!important}.select-auto{-webkit-user-select:auto!important;user-select:auto!important}.opacity-0{opacity:0!important}.opacity-10{opacity:.1!important}.opacity-20{opacity:.2!important}.opacity-30{opacity:.3!important}.opacity-40{opacity:.4!important}.opacity-50{opacity:.5!important}.opacity-60{opacity:.6!important}.opacity-70{opacity:.7!important}.opacity-80{opacity:.8!important}.opacity-90{opacity:.9!important}.opacity-100{opacity:1!important}.reset{all:unset}.transition-none{transition-property:none!important}.transition-all{transition-property:all!important}.transition-colors{transition-property:background-color,border-color,color!important}.transition-transform{transition-property:transform!important}.transition-duration-100{transition-duration:.1s!important}.transition-duration-150{transition-duration:.15s!important}.transition-duration-200{transition-duration:.2s!important}.transition-duration-300{transition-duration:.3s!important}.transition-duration-400{transition-duration:.4s!important}.transition-duration-500{transition-duration:.5s!important}.transition-duration-1000{transition-duration:1s!important}.transition-duration-2000{transition-duration:2s!important}.transition-duration-3000{transition-duration:3s!important}.transition-linear{transition-timing-function:linear!important}.transition-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)!important}.transition-ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)!important}.transition-ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.transition-delay-100{transition-delay:.1s!important}.transition-delay-150{transition-delay:.15s!important}.transition-delay-200{transition-delay:.2s!important}.transition-delay-300{transition-delay:.3s!important}.transition-delay-400{transition-delay:.4s!important}.transition-delay-500{transition-delay:.5s!important}.transition-delay-1000{transition-delay:1s!important}.translate-x-0{transform:translate(0)!important}.translate-x-100{transform:translate(100%)!important}.-translate-x-100{transform:translate(-100%)!important}.translate-y-0{transform:translateY(0)!important}.translate-y-100{transform:translateY(100%)!important}.-translate-y-100{transform:translateY(-100%)!important}@media screen and (min-width: 576px){.sm\:translate-x-0{transform:translate(0)!important}.sm\:translate-x-100{transform:translate(100%)!important}.sm\:-translate-x-100{transform:translate(-100%)!important}.sm\:translate-y-0{transform:translateY(0)!important}.sm\:translate-y-100{transform:translateY(100%)!important}.sm\:-translate-y-100{transform:translateY(-100%)!important}}@media screen and (min-width: 768px){.md\:translate-x-0{transform:translate(0)!important}.md\:translate-x-100{transform:translate(100%)!important}.md\:-translate-x-100{transform:translate(-100%)!important}.md\:translate-y-0{transform:translateY(0)!important}.md\:translate-y-100{transform:translateY(100%)!important}.md\:-translate-y-100{transform:translateY(-100%)!important}}@media screen and (min-width: 992px){.lg\:translate-x-0{transform:translate(0)!important}.lg\:translate-x-100{transform:translate(100%)!important}.lg\:-translate-x-100{transform:translate(-100%)!important}.lg\:translate-y-0{transform:translateY(0)!important}.lg\:translate-y-100{transform:translateY(100%)!important}.lg\:-translate-y-100{transform:translateY(-100%)!important}}@media screen and (min-width: 1200px){.xl\:translate-x-0{transform:translate(0)!important}.xl\:translate-x-100{transform:translate(100%)!important}.xl\:-translate-x-100{transform:translate(-100%)!important}.xl\:translate-y-0{transform:translateY(0)!important}.xl\:translate-y-100{transform:translateY(100%)!important}.xl\:-translate-y-100{transform:translateY(-100%)!important}}.rotate-45{transform:rotate(45deg)!important}.-rotate-45{transform:rotate(-45deg)!important}.rotate-90{transform:rotate(90deg)!important}.-rotate-90{transform:rotate(-90deg)!important}.rotate-180{transform:rotate(180deg)!important}.-rotate-180{transform:rotate(-180deg)!important}@media screen and (min-width: 576px){.sm\:rotate-45{transform:rotate(45deg)!important}.sm\:-rotate-45{transform:rotate(-45deg)!important}.sm\:rotate-90{transform:rotate(90deg)!important}.sm\:-rotate-90{transform:rotate(-90deg)!important}.sm\:rotate-180{transform:rotate(180deg)!important}.sm\:-rotate-180{transform:rotate(-180deg)!important}}@media screen and (min-width: 768px){.md\:rotate-45{transform:rotate(45deg)!important}.md\:-rotate-45{transform:rotate(-45deg)!important}.md\:rotate-90{transform:rotate(90deg)!important}.md\:-rotate-90{transform:rotate(-90deg)!important}.md\:rotate-180{transform:rotate(180deg)!important}.md\:-rotate-180{transform:rotate(-180deg)!important}}@media screen and (min-width: 992px){.lg\:rotate-45{transform:rotate(45deg)!important}.lg\:-rotate-45{transform:rotate(-45deg)!important}.lg\:rotate-90{transform:rotate(90deg)!important}.lg\:-rotate-90{transform:rotate(-90deg)!important}.lg\:rotate-180{transform:rotate(180deg)!important}.lg\:-rotate-180{transform:rotate(-180deg)!important}}@media screen and (min-width: 1200px){.xl\:rotate-45{transform:rotate(45deg)!important}.xl\:-rotate-45{transform:rotate(-45deg)!important}.xl\:rotate-90{transform:rotate(90deg)!important}.xl\:-rotate-90{transform:rotate(-90deg)!important}.xl\:rotate-180{transform:rotate(180deg)!important}.xl\:-rotate-180{transform:rotate(-180deg)!important}}.origin-center{transform-origin:center!important}.origin-top{transform-origin:top!important}.origin-top-right{transform-origin:top right!important}.origin-right{transform-origin:right!important}.origin-bottom-right{transform-origin:bottom right!important}.origin-bottom{transform-origin:bottom!important}.origin-bottom-left{transform-origin:bottom left!important}.origin-left{transform-origin:left!important}.origin-top-left{transform-origin:top-left!important}@media screen and (min-width: 576px){.sm\:origin-center{transform-origin:center!important}.sm\:origin-top{transform-origin:top!important}.sm\:origin-top-right{transform-origin:top right!important}.sm\:origin-right{transform-origin:right!important}.sm\:origin-bottom-right{transform-origin:bottom right!important}.sm\:origin-bottom{transform-origin:bottom!important}.sm\:origin-bottom-left{transform-origin:bottom left!important}.sm\:origin-left{transform-origin:left!important}.sm\:origin-top-left{transform-origin:top-left!important}}@media screen and (min-width: 768px){.md\:origin-center{transform-origin:center!important}.md\:origin-top{transform-origin:top!important}.md\:origin-top-right{transform-origin:top right!important}.md\:origin-right{transform-origin:right!important}.md\:origin-bottom-right{transform-origin:bottom right!important}.md\:origin-bottom{transform-origin:bottom!important}.md\:origin-bottom-left{transform-origin:bottom left!important}.md\:origin-left{transform-origin:left!important}.md\:origin-top-left{transform-origin:top-left!important}}@media screen and (min-width: 992px){.lg\:origin-center{transform-origin:center!important}.lg\:origin-top{transform-origin:top!important}.lg\:origin-top-right{transform-origin:top right!important}.lg\:origin-right{transform-origin:right!important}.lg\:origin-bottom-right{transform-origin:bottom right!important}.lg\:origin-bottom{transform-origin:bottom!important}.lg\:origin-bottom-left{transform-origin:bottom left!important}.lg\:origin-left{transform-origin:left!important}.lg\:origin-top-left{transform-origin:top-left!important}}@media screen and (min-width: 1200px){.xl\:origin-center{transform-origin:center!important}.xl\:origin-top{transform-origin:top!important}.xl\:origin-top-right{transform-origin:top right!important}.xl\:origin-right{transform-origin:right!important}.xl\:origin-bottom-right{transform-origin:bottom right!important}.xl\:origin-bottom{transform-origin:bottom!important}.xl\:origin-bottom-left{transform-origin:bottom left!important}.xl\:origin-left{transform-origin:left!important}.xl\:origin-top-left{transform-origin:top-left!important}}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadeout{0%{opacity:1}to{opacity:0}}@keyframes scalein{0%{opacity:0;transform:scaleY(.8);transition:transform .12s cubic-bezier(0,0,.2,1),opacity .12s cubic-bezier(0,0,.2,1)}to{opacity:1;transform:scaleY(1)}}@keyframes slidedown{0%{max-height:0}to{max-height:auto}}@keyframes slideup{0%{max-height:1000px}to{max-height:0}}@keyframes fadeinleft{0%{opacity:0;transform:translate(-100%);transition:transform .12s cubic-bezier(0,0,.2,1),opacity .12s cubic-bezier(0,0,.2,1)}to{opacity:1;transform:translate(0)}}@keyframes fadeoutleft{0%{opacity:1;transform:translate(0);transition:transform .12s cubic-bezier(0,0,.2,1),opacity .12s cubic-bezier(0,0,.2,1)}to{opacity:0;transform:translate(-100%)}}@keyframes fadeinright{0%{opacity:0;transform:translate(100%);transition:transform .12s cubic-bezier(0,0,.2,1),opacity .12s cubic-bezier(0,0,.2,1)}to{opacity:1;transform:translate(0)}}@keyframes fadeoutright{0%{opacity:1;transform:translate(0);transition:transform .12s cubic-bezier(0,0,.2,1),opacity .12s cubic-bezier(0,0,.2,1)}to{opacity:0;transform:translate(100%)}}@keyframes fadeinup{0%{opacity:0;transform:translateY(-100%);transition:transform .12s cubic-bezier(0,0,.2,1),opacity .12s cubic-bezier(0,0,.2,1)}to{opacity:1;transform:translateY(0)}}@keyframes fadeoutup{0%{opacity:1;transform:translateY(0);transition:transform .12s cubic-bezier(0,0,.2,1),opacity .12s cubic-bezier(0,0,.2,1)}to{opacity:0;transform:translateY(-100%)}}@keyframes fadeindown{0%{opacity:0;transform:translateY(100%);transition:transform .12s cubic-bezier(0,0,.2,1),opacity .12s cubic-bezier(0,0,.2,1)}to{opacity:1;transform:translateY(0)}}@keyframes fadeoutdown{0%{opacity:1;transform:translateY(0);transition:transform .12s cubic-bezier(0,0,.2,1),opacity .12s cubic-bezier(0,0,.2,1)}to{opacity:0;transform:translateY(100%)}}@keyframes animate-width{0%{width:0}to{width:100%}}@keyframes flip{0%{transform:perspective(2000px) rotateX(-100deg)}to{transform:perspective(2000px) rotateX(0)}}@keyframes flipleft{0%{transform:perspective(2000px) rotateY(-100deg);opacity:0}to{transform:perspective(2000px) rotateY(0);opacity:1}}@keyframes flipright{0%{transform:perspective(2000px) rotateY(100deg);opacity:0}to{transform:perspective(2000px) rotateY(0);opacity:1}}@keyframes flipup{0%{transform:perspective(2000px) rotateX(-100deg);opacity:0}to{transform:perspective(2000px) rotateX(0);opacity:1}}@keyframes zoomin{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomindown{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0)}}@keyframes zoominleft{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(10px,0,0)}}@keyframes zoominright{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(1000px,0,0)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-10px,0,0)}}@keyframes zoominup{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,1000px,0)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0)}}.fadein{animation:fadein .15s linear}.fadeout{animation:fadeout .15s linear}.slidedown{animation:slidedown .45s ease-in-out}.slideup{animation:slideup .45s cubic-bezier(0,1,0,1)}.scalein{animation:scalein .15s linear}.fadeinleft{animation:fadeinleft .15s linear}.fadeoutleft{animation:fadeoutleft .15s linear}.fadeinright{animation:fadeinright .15s linear}.fadeoutright{animation:fadeoutright .15s linear}.fadeinup{animation:fadeinup .15s linear}.fadeoutup{animation:fadeoutup .15s linear}.fadeindown{animation:fadeindown .15s linear}.fadeoutdown{animation:fadeoutdown .15s linear}.animate-width{animation:animate-width 1s linear}.flip{-webkit-backface-visibility:visible;backface-visibility:visible;animation:flip .15s linear}.flipup{-webkit-backface-visibility:visible;backface-visibility:visible;animation:flipup .15s linear}.flipleft{-webkit-backface-visibility:visible;backface-visibility:visible;animation:flipleft .15s linear}.flipright{-webkit-backface-visibility:visible;backface-visibility:visible;animation:flipright .15s linear}.zoomin{animation:zoomin .15s linear}.zoomindown{animation:zoomindown .15s linear}.zoominleft{animation:zoominleft .15s linear}.zoominright{animation:zoominright .15s linear}.zoominup{animation:zoominup .15s linear}.animation-duration-100{animation-duration:.1s!important}.animation-duration-150{animation-duration:.15s!important}.animation-duration-200{animation-duration:.2s!important}.animation-duration-300{animation-duration:.3s!important}.animation-duration-400{animation-duration:.4s!important}.animation-duration-500{animation-duration:.5s!important}.animation-duration-1000{animation-duration:1s!important}.animation-duration-2000{animation-duration:2s!important}.animation-duration-3000{animation-duration:3s!important}.animation-delay-100{animation-delay:.1s!important}.animation-delay-150{animation-delay:.15s!important}.animation-delay-200{animation-delay:.2s!important}.animation-delay-300{animation-delay:.3s!important}.animation-delay-400{animation-delay:.4s!important}.animation-delay-500{animation-delay:.5s!important}.animation-delay-1000{animation-delay:1s!important}.animation-iteration-1{animation-iteration-count:1!important}.animation-iteration-2{animation-iteration-count:2!important}.animation-iteration-infinite{animation-iteration-count:infinite!important}.animation-linear{animation-timing-function:linear!important}.animation-ease-in{animation-timing-function:cubic-bezier(.4,0,1,1)!important}.animation-ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)!important}.animation-ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)!important}.animation-fill-none{animation-fill-mode:none!important}.animation-fill-forwards{animation-fill-mode:forwards!important}.animation-fill-backwards{animation-fill-mode:backwards!important}.animation-fill-both{animation-fill-mode:both!important}.p-component,.p-component *{box-sizing:border-box}.p-hidden{display:none}.p-hidden-space{visibility:hidden}.p-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.p-hidden-accessible input,.p-hidden-accessible select{transform:scale(0)}.p-reset{margin:0;padding:0;border:0;outline:0;text-decoration:none;font-size:100%;list-style:none}.p-disabled,.p-disabled *{cursor:default!important;pointer-events:none}.p-component-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.p-overflow-hidden{overflow:hidden}.p-unselectable-text{-webkit-user-select:none;user-select:none}.p-scrollbar-measure{width:100px;height:100px;overflow:scroll;position:absolute;top:-9999px}@keyframes p-fadein{0%{opacity:0}to{opacity:1}}input[type=button],input[type=submit],input[type=reset],input[type=file]::-webkit-file-upload-button,button{border-radius:0}.p-link{text-align:left;background-color:transparent;margin:0;padding:0;border:0;cursor:pointer;-webkit-user-select:none;user-select:none}.p-link:disabled{cursor:default}.p-sr-only{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.p-connected-overlay{opacity:0;transform:scaleY(.8);transition:transform .12s cubic-bezier(0,0,.2,1),opacity .12s cubic-bezier(0,0,.2,1)}.p-connected-overlay-visible{opacity:1;transform:scaleY(1)}.p-connected-overlay-hidden{opacity:0;transform:scaleY(1);transition:opacity .1s linear}.p-toggleable-content.ng-animating{overflow:hidden}.p-badge{display:inline-block;border-radius:10px;text-align:center;padding:0 .5rem}.p-overlay-badge{position:relative}.p-overlay-badge .p-badge{position:absolute;top:0;right:0;transform:translate(50%,-50%);transform-origin:100% 0;margin:0}.p-badge-dot{width:.5rem;min-width:.5rem;height:.5rem;border-radius:50%;padding:0}.p-badge-no-gutter{padding:0;border-radius:50%}.p-button{margin:0;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;vertical-align:bottom;text-align:center;overflow:hidden;position:relative}.p-button-label{flex:1 1 auto}.p-button-icon-right{order:1}.p-button:disabled{cursor:default}.p-button-icon-only{justify-content:center}.p-button-icon-only:after{content:"p";visibility:hidden;clip:rect(0 0 0 0);width:0}.p-button-vertical{flex-direction:column}.p-button-icon-bottom{order:2}.p-buttonset .p-button{margin:0}.p-buttonset .p-button:not(:last-child){border-right:0 none}.p-buttonset .p-button:not(:first-of-type):not(:last-of-type){border-radius:0}.p-buttonset .p-button:first-of-type{border-top-right-radius:0;border-bottom-right-radius:0}.p-buttonset .p-button:last-of-type{border-top-left-radius:0;border-bottom-left-radius:0}.p-buttonset .p-button:focus{position:relative;z-index:1}.p-checkbox{display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:bottom;position:relative}.p-checkbox-disabled{cursor:default!important;pointer-events:none}.p-checkbox-box{display:flex;justify-content:center;align-items:center}p-checkbox{display:inline-flex;vertical-align:bottom;align-items:center}.p-checkbox-label{line-height:1}.p-colorpicker-panel .p-colorpicker-color{background:transparent url(color.png) no-repeat left top}.p-colorpicker-panel .p-colorpicker-hue{background:transparent url(hue.png) no-repeat left top}.p-inputtext{margin:0}.p-fluid .p-inputtext{width:100%}.p-inputgroup{display:flex;align-items:stretch;width:100%}.p-inputgroup-addon{display:flex;align-items:center;justify-content:center}.p-inputgroup .p-float-label{display:flex;align-items:stretch;width:100%}.p-inputgroup .p-inputtext,.p-fluid .p-inputgroup .p-inputtext,.p-inputgroup .p-inputwrapper,.p-inputgroup .p-inputwrapper>.p-component{flex:1 1 auto;width:1%}.p-float-label{display:block;position:relative}.p-float-label label{position:absolute;pointer-events:none;top:50%;margin-top:-.5rem;transition-property:all;transition-timing-function:ease;line-height:1}.p-float-label textarea~label{top:1rem}.p-float-label input:focus~label,.p-float-label input.p-filled~label,.p-float-label textarea:focus~label,.p-float-label textarea.p-filled~label,.p-float-label .p-inputwrapper-focus~label,.p-float-label .p-inputwrapper-filled~label{top:-.75rem;font-size:12px}.p-float-label .input:-webkit-autofill~label{top:-20px;font-size:12px}.p-float-label .p-placeholder,.p-float-label input::placeholder,.p-float-label .p-inputtext::placeholder{opacity:0;transition-property:all;transition-timing-function:ease}.p-float-label .p-focus .p-placeholder,.p-float-label input:focus::placeholder,.p-float-label .p-inputtext:focus::placeholder{opacity:1;transition-property:all;transition-timing-function:ease}.p-input-icon-left,.p-input-icon-right{position:relative;display:inline-block}.p-input-icon-left>i,.p-input-icon-right>i{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-input-icon-left,.p-fluid .p-input-icon-right{display:block;width:100%}.p-inputtextarea-resizable{overflow:hidden;resize:none}.p-fluid .p-inputtextarea{width:100%}.p-password{position:relative;display:inline-flex}.p-password-panel{position:absolute;top:0;left:0}.p-password .p-password-panel{min-width:100%}.p-password-meter{height:10px}.p-password-strength{height:100%;width:0;transition:width 1s ease-in-out}.p-fluid .p-password{display:flex}.p-password-input::-ms-reveal,.p-password-input::-ms-clear{display:none}.p-password-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-password-clearable{position:relative}.p-radiobutton{display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:bottom;position:relative}.p-radiobutton-box{display:flex;justify-content:center;align-items:center}.p-radiobutton-icon{-webkit-backface-visibility:hidden;backface-visibility:hidden;transform:translateZ(0) scale(.1);border-radius:50%;visibility:hidden}.p-radiobutton-box.p-highlight .p-radiobutton-icon{transform:translateZ(0) scale(1);visibility:visible}p-radiobutton{display:inline-flex;vertical-align:bottom;align-items:center}.p-radiobutton-label{line-height:1}.p-ripple{overflow:hidden;position:relative}.p-ink{display:block;position:absolute;background:rgba(255,255,255,.5);border-radius:100%;transform:scale(0)}.p-ink-active{animation:ripple .4s linear}.p-ripple-disabled .p-ink{display:none!important}@keyframes ripple{to{opacity:0;transform:scale(2.5)}}.p-tooltip{position:absolute;display:none;padding:.25em .5rem;max-width:12.5rem}.p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-left{padding:0 .25rem}.p-tooltip.p-tooltip-top,.p-tooltip.p-tooltip-bottom{padding:.25em 0}.p-tooltip .p-tooltip-text{white-space:pre-line;word-break:break-word}.p-tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.p-tooltip-right .p-tooltip-arrow{top:50%;left:0;margin-top:-.25rem;border-width:.25em .25em .25em 0}.p-tooltip-left .p-tooltip-arrow{top:50%;right:0;margin-top:-.25rem;border-width:.25em 0 .25em .25rem}.p-tooltip.p-tooltip-top{padding:.25em 0}.p-tooltip-top .p-tooltip-arrow{bottom:0;left:50%;margin-left:-.25rem;border-width:.25em .25em 0}.p-tooltip-bottom .p-tooltip-arrow{top:0;left:50%;margin-left:-.25rem;border-width:0 .25em .25rem}.form__buttons{display:flex;justify-content:center;margin-top:4.5rem}.form__buttons button{margin:0 .5rem}.form__group{margin:1rem 0;position:relative}.form__group:after{clear:both;content:"";display:table}.form__group .md-inputtext,.form__group>.ui-inputtext{width:100%}.ui-dialog-content .form__group:first-child{padding-top:0}.ui-dialog-content .form__group:last-child{padding-bottom:0}.form__group .ui-dropdown{width:100%}.form__group--validation{min-height:60px}.form__group--helper{position:relative}.form__group--helper input[pinputtext]{padding-right:4.5rem}.form__group--helper dot-field-helper{position:absolute;top:1.96rem;right:.25rem;z-index:1}.p-field-hint,.form__group-hint{color:#6c7389;display:block;font-size:.813rem;margin-top:.25rem}.form__label{color:var(--color-palette-black-op-60);display:block;font-size:.813rem}.form__hint-icon{border-radius:50%;border:solid 1px;color:#6c7389;cursor:pointer;margin-left:1rem;text-align:center;width:15px}.form__group .form__hint-icon:first-child{margin:0;position:absolute;right:0;top:32px;z-index:1}.form__group:first-child .form__hint-icon:first-child{top:25px}.form-group__two-cols>*:first-child{display:inline-block;padding-bottom:.5rem}@media (min-width: 40.063em){.form-group__two-cols{align-items:center;display:flex;justify-content:space-between}.form-group__two-cols>*:first-child{padding-bottom:0}}.p-component{font-family:Assistant,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:1rem;font-weight:400;line-height:normal}.p-component-overlay{background-color:#fff;transition-duration:.2s}.p-disabled,.p-component:disabled{opacity:1}.p-text-secondary{color:#14151a}.p-link{border-radius:.125rem}.p-link:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-fluid .p-inputgroup .p-button{width:auto}.p-fluid .p-inputgroup .p-button.p-button-icon-only{width:2.5rem}.p-field>label{font-size:.813rem}.formgroup-inline .field-checkbox{margin-bottom:0}.p-label-input-required:after{content:"*";color:red;margin-left:2px;vertical-align:middle}.pi{aspect-ratio:1/1;line-height:1;justify-content:center;align-items:center;display:flex;font-size:16px;width:20px}[class$=-sm] .pi{width:16px;font-size:14px}[class$=-lg] .pi{width:24px;font-size:18px}p-avatar{display:flex;justify-content:center;align-items:center}p-avatar .p-avatar.p-avatar-circle{overflow:unset}p-avatar .p-avatar.p-avatar-circle .p-badge-dot{bottom:0;top:unset;transform:unset;transform-origin:unset}p-avatar .p-avatar.p-avatar-circle img{border-radius:50%}p-avatar .p-avatar-lg{width:2.5rem;height:2.5rem}p-avatar .p-avatar-lg .p-avatar-text{font-size:2rem;line-height:2.5rem}p-avatar .p-avatar-xl{width:3rem;height:3rem}p-avatar .p-avatar-xl .p-avatar-text{font-size:2.5rem;line-height:3rem}.p-avatar{font-family:Assistant,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;color:#fff;background-color:var(--color-palette-secondary-500)}.p-avatar .p-avatar-text{font-size:1.5rem;line-height:2rem}.p-badge{background:var(--color-palette-primary-500);color:#fff;font-size:.625rem;font-weight:700;min-width:1.5rem;height:1.5rem;line-height:1.5;display:inline-flex;justify-content:center;align-items:center}.p-badge.p-badge-secondary{background-color:initial;color:var(--color-palette-secondary-500);border:1px solid var(--color-palette-secondary-500)}.p-badge.p-badge-lg{font-size:1.125rem;min-width:2.5rem;height:2.5rem}.p-badge.p-badge-xl{font-size:1.5rem;min-width:3rem;height:3rem}.p-breadcrumb ul>.p-breadcrumb-chevron.pi{color:#afb3c0}.p-breadcrumb ul>.p-breadcrumb-chevron.pi:not(:nth-child(2)){font-size:.625rem}.p-breadcrumb ul li:first-child{font-size:1.25rem}.p-breadcrumb ul li:nth-child(2):before{content:"";width:1px;height:20px;background:#afb3c0;display:block}.p-breadcrumb ul li .p-menuitem-link{transition:none;border-radius:.125rem}.p-breadcrumb ul li .p-menuitem-link:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-breadcrumb ul li .p-menuitem-link[href] .p-menuitem-text{font-size:1.25rem}.p-breadcrumb ul li .p-menuitem-link[href] .p-menuitem-text:hover{color:var(--color-palette-primary-500);text-decoration:underline}.p-breadcrumb ul li .p-menuitem-link .p-menuitem-text{color:#6c7389}.p-breadcrumb ul li .p-menuitem-link .p-menuitem-icon{color:#14151a}.p-breadcrumb ul li.p-breadcrumb-chevron{margin:0 .5rem;color:#14151a}.p-breadcrumb ul li:last-child .p-menuitem-icon{color:#14151a}#large,.p-button:not(.p-button-icon-only).p-button-lg,.p-button-lg .p-button:not(.p-button-icon-only){height:3rem;border-radius:.5rem;font-size:1.25rem}#large .p-button-label,.p-button:not(.p-button-icon-only).p-button-lg .p-button-label,.p-button-lg .p-button:not(.p-button-icon-only) .p-button-label{font-size:inherit}#large .p-button-icon,.p-button:not(.p-button-icon-only).p-button-lg .p-button-icon,.p-button-lg .p-button:not(.p-button-icon-only) .p-button-icon,#large .pi,.p-button:not(.p-button-icon-only).p-button-lg .pi,.p-button-lg .p-button:not(.p-button-icon-only) .pi{font-size:18px}#small,.p-button:not(.p-button-icon-only).p-button-sm,.p-button-sm .p-button:not(.p-button-icon-only){border-radius:.25rem;font-size:.813rem;gap:.25rem;height:2rem;padding:0 .5rem}#small .p-button-label,.p-button:not(.p-button-icon-only).p-button-sm .p-button-label,.p-button-sm .p-button:not(.p-button-icon-only) .p-button-label{font-size:inherit}#main-primary-severity,.p-button:enabled,.p-button.p-fileupload-choose{background-color:var(--color-palette-primary-500)}#main-primary-severity:hover,.p-button:hover:enabled,.p-button.p-fileupload-choose:hover{background-color:var(--color-palette-primary-600)}#main-primary-severity:active,.p-button:active:enabled,.p-button.p-fileupload-choose:active{background-color:var(--color-palette-primary-700)}#main-primary-severity:focus,.p-button:focus:enabled,.p-button.p-fileupload-choose:focus{background-color:var(--color-palette-primary-500);outline:2.8px solid var(--color-palette-primary-op-20)}#outlined-primary-severity,.p-button.p-button-outlined:enabled,.p-button.p-button-outlined:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton){background-color:transparent;border:1.5px solid var(--color-palette-primary-500)}#outlined-primary-severity .p-button-label,.p-button.p-button-outlined:enabled .p-button-label,.p-button.p-button-outlined:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .p-button-label,#outlined-primary-severity .p-button-icon,.p-button.p-button-outlined:enabled .p-button-icon,.p-button.p-button-outlined:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .p-button-icon,#outlined-primary-severity .pi,.p-button.p-button-outlined:enabled .pi,.p-button.p-button-outlined:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .pi{color:var(--color-palette-primary-500)}#outlined-primary-severity:hover,.p-button.p-button-outlined:hover:enabled,.p-button.p-button-outlined:hover:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton){background-color:var(--color-palette-primary-op-10)}#outlined-primary-severity:active,.p-button.p-button-outlined:active:enabled,.p-button.p-button-outlined:active:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton){background-color:var(--color-palette-primary-op-20)}#outlined-primary-severity:focus,.p-button.p-button-outlined:focus:enabled,.p-button.p-button-outlined:focus:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton){background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#outlined-primary-severity-sm,.p-button.p-button-outlined:enabled.p-button-sm,.p-button.p-button-outlined:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-sm{border:1px solid var(--color-palette-primary-500)}#outlined-secondary-severity,.p-button.p-button-outlined:enabled.p-button-secondary,.p-button.p-button-outlined:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-secondary,.p-button:enabled.p-button-link.p-button-secondary,.p-button.p-fileupload-choose.p-button-link.p-button-secondary{background-color:transparent;border:1.5px solid var(--color-palette-secondary-500)}#outlined-secondary-severity .p-button-label,.p-button.p-button-outlined:enabled.p-button-secondary .p-button-label,.p-button.p-button-outlined:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-secondary .p-button-label,.p-button:enabled.p-button-link.p-button-secondary .p-button-label,.p-button.p-fileupload-choose.p-button-link.p-button-secondary .p-button-label,#outlined-secondary-severity .p-button-icon,.p-button.p-button-outlined:enabled.p-button-secondary .p-button-icon,.p-button.p-button-outlined:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-secondary .p-button-icon,.p-button:enabled.p-button-link.p-button-secondary .p-button-icon,.p-button.p-fileupload-choose.p-button-link.p-button-secondary .p-button-icon,#outlined-secondary-severity .pi,.p-button.p-button-outlined:enabled.p-button-secondary .pi,.p-button.p-button-outlined:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-secondary .pi,.p-button:enabled.p-button-link.p-button-secondary .pi,.p-button.p-fileupload-choose.p-button-link.p-button-secondary .pi{color:var(--color-palette-secondary-500)}#outlined-secondary-severity:hover,.p-button.p-button-outlined.p-button-secondary:hover:enabled,.p-button.p-button-outlined.p-button-secondary:hover:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),.p-button.p-button-link.p-button-secondary:hover:enabled,.p-button.p-fileupload-choose.p-button-link.p-button-secondary:hover{background-color:var(--color-palette-secondary-op-10)}#outlined-secondary-severity:active,.p-button.p-button-outlined.p-button-secondary:active:enabled,.p-button.p-button-outlined.p-button-secondary:active:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),.p-button.p-button-link.p-button-secondary:active:enabled,.p-button.p-fileupload-choose.p-button-link.p-button-secondary:active{background-color:var(--color-palette-secondary-op-20)}#outlined-secondary-severity:focus,.p-button.p-button-outlined.p-button-secondary:focus:enabled,.p-button.p-button-outlined.p-button-secondary:focus:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),.p-button.p-button-link.p-button-secondary:focus:enabled,.p-button.p-fileupload-choose.p-button-link.p-button-secondary:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#outlined-secondary-severity-sm,.p-button.p-button-outlined:enabled.p-button-secondary.p-button-sm,.p-button.p-button-outlined:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-secondary.p-button-sm{border:1px solid var(--color-palette-secondary-500)}#text-primary-severity,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button.p-button-text{background-color:transparent;color:#14151a;overflow:hidden;max-width:100%}#text-primary-severity .p-button-label,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .p-button-label,a.p-button.p-button-text .p-button-label{color:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#text-primary-severity .p-button-icon,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .p-button-icon,a.p-button.p-button-text .p-button-icon,#text-primary-severity .pi,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .pi,a.p-button.p-button-text .pi{color:var(--color-palette-primary-500)}#text-primary-severity:hover,.p-button-text:hover:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button.p-button-text:hover{background-color:var(--color-palette-primary-op-10)}#text-primary-severity:active,.p-button-text:active:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button.p-button-text:active{background-color:var(--color-palette-primary-op-20)}#text-primary-severity:focus,.p-button-text:focus:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button.p-button-text:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#text-secondary-severity,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-secondary,a.p-button.p-button-text.p-button-secondary{background-color:transparent;color:#14151a}#text-secondary-severity.p-button-semi-transparent,.p-button-semi-transparent.p-button-text.p-button-secondary:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button-semi-transparent.p-button.p-button-text.p-button-secondary{background-color:#ffffffa6}#text-secondary-severity .p-button-label,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-secondary .p-button-label,a.p-button.p-button-text.p-button-secondary .p-button-label{color:inherit}#text-secondary-severity .p-button-icon,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-secondary .p-button-icon,a.p-button.p-button-text.p-button-secondary .p-button-icon,#text-secondary-severity .pi,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-secondary .pi,a.p-button.p-button-text.p-button-secondary .pi{color:var(--color-palette-secondary-500)}#text-secondary-severity.p-button-icon-only .p-button-icon,.p-button-icon-only.p-button-text.p-button-secondary:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .p-button-icon,a.p-button-icon-only.p-button.p-button-text.p-button-secondary .p-button-icon,#text-secondary-severity.p-button-icon-only .pi,.p-button-icon-only.p-button-text.p-button-secondary:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .pi,a.p-button-icon-only.p-button.p-button-text.p-button-secondary .pi{color:#14151a}#text-secondary-severity:hover,.p-button-text.p-button-secondary:hover:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button.p-button-text.p-button-secondary:hover{background-color:var(--color-palette-secondary-op-10)}#text-secondary-severity:active,.p-button-text.p-button-secondary:active:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button.p-button-text.p-button-secondary:active{background-color:var(--color-palette-secondary-op-20)}#text-secondary-severity:focus,.p-button-text.p-button-secondary:focus:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button.p-button-text.p-button-secondary:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#text-danger-severity,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-danger,a.p-button.p-button-text.p-button-danger{background-color:transparent;color:#d82b2e}#text-danger-severity:hover,.p-button-text.p-button-danger:hover:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button.p-button-text.p-button-danger:hover{background-color:#d82b2e1a}#text-danger-severity:active,.p-button-text.p-button-danger:active:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button.p-button-text.p-button-danger:active{background-color:#d82b2e33}#text-danger-severity:focus,.p-button-text.p-button-danger:focus:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button.p-button-text.p-button-danger:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#text-danger-severity .p-button-icon,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-danger .p-button-icon,a.p-button.p-button-text.p-button-danger .p-button-icon,#text-danger-severity .pi,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-danger .pi,a.p-button.p-button-text.p-button-danger .pi{color:inherit}#button-disabled,.p-button:disabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton){background-color:#f3f3f4;color:#afb3c0}#button-disabled .p-button-label,.p-button:disabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .p-button-label,#button-disabled .p-button-icon,.p-button:disabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .p-button-icon,#button-disabled .pi,.p-button:disabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .pi{color:inherit}#button-disabled-outlined,.p-button:disabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-outlined{border:1.5px solid #ebecef}#button-disabled-text,.p-button:disabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-text{border:none;background-color:transparent}.p-button{border:none;color:#fff;border-radius:.375rem}.p-button .p-button-label{color:inherit;font-size:inherit;text-transform:capitalize}.p-button .p-button-icon,.p-button .pi{color:inherit}.p-button:not(.p-button-icon-only){font-size:1rem;gap:.5rem;height:2.5rem;padding:0 1rem;text-transform:capitalize}.p-button:enabled.p-button-link,.p-button.p-fileupload-choose.p-button-link{color:var(--color-palette-primary-500);background:transparent;border:transparent}.p-button:enabled.p-button-link.p-button-secondary,.p-button.p-fileupload-choose.p-button-link.p-button-secondary{border:transparent}.p-button-icon-only:not(.p-splitbutton-menubutton){height:2.5rem;width:2.5rem;min-width:2.5rem;border:none}.p-button-icon-only:not(.p-splitbutton-menubutton).p-button-sm{height:2rem;width:2rem;min-width:2rem}.p-button.p-button-vertical{height:100%;gap:.25rem;margin-bottom:0;padding:.5rem}.p-button-rounded{border-radius:50%}#large,.p-splitbutton.p-button-lg .p-splitbutton-menubutton,.p-splitbutton.p-button-lg .p-splitbutton-defaultbutton{height:3rem;border-radius:.5rem;font-size:1.25rem}#large .p-button-label,.p-splitbutton.p-button-lg .p-splitbutton-menubutton .p-button-label,.p-splitbutton.p-button-lg .p-splitbutton-defaultbutton .p-button-label{font-size:inherit}#large .p-button-icon,.p-splitbutton.p-button-lg .p-splitbutton-menubutton .p-button-icon,.p-splitbutton.p-button-lg .p-splitbutton-defaultbutton .p-button-icon,#large .pi,.p-splitbutton.p-button-lg .p-splitbutton-menubutton .pi,.p-splitbutton.p-button-lg .p-splitbutton-defaultbutton .pi{font-size:18px}#small,.p-splitbutton.p-button-sm .p-splitbutton-menubutton,.p-splitbutton.p-button-sm .p-splitbutton-defaultbutton{border-radius:.25rem;font-size:.813rem;gap:.25rem;height:2rem;padding:0 .5rem}#small .p-button-label,.p-splitbutton.p-button-sm .p-splitbutton-menubutton .p-button-label,.p-splitbutton.p-button-sm .p-splitbutton-defaultbutton .p-button-label{font-size:inherit}#main-primary-severity,.p-splitbutton .p-splitbutton-defaultbutton:enabled,.p-splitbutton .p-splitbutton-menubutton:enabled{background-color:var(--color-palette-primary-500)}#main-primary-severity:hover,.p-splitbutton .p-splitbutton-defaultbutton:hover:enabled,.p-splitbutton .p-splitbutton-menubutton:hover:enabled{background-color:var(--color-palette-primary-600)}#main-primary-severity:active,.p-splitbutton .p-splitbutton-defaultbutton:active:enabled,.p-splitbutton .p-splitbutton-menubutton:active:enabled{background-color:var(--color-palette-primary-700)}#main-primary-severity:focus,.p-splitbutton .p-splitbutton-defaultbutton:focus:enabled,.p-splitbutton .p-splitbutton-menubutton:focus:enabled{background-color:var(--color-palette-primary-500);outline:2.8px solid var(--color-palette-primary-op-20)}#main-secondary-severity,.p-splitbutton.p-button-secondary .p-splitbutton-defaultbutton:enabled,.p-splitbutton.p-button-secondary .p-splitbutton-menubutton:enabled{background-color:var(--color-palette-secondary-500)}#main-secondary-severity:hover,.p-splitbutton.p-button-secondary .p-splitbutton-defaultbutton:hover:enabled,.p-splitbutton.p-button-secondary .p-splitbutton-menubutton:hover:enabled{background-color:var(--color-palette-secondary-600)}#main-secondary-severity:active,.p-splitbutton.p-button-secondary .p-splitbutton-defaultbutton:active:enabled,.p-splitbutton.p-button-secondary .p-splitbutton-menubutton:active:enabled{background-color:var(--color-palette-secondary-700)}#main-secondary-severity:focus,.p-splitbutton.p-button-secondary .p-splitbutton-defaultbutton:focus:enabled,.p-splitbutton.p-button-secondary .p-splitbutton-menubutton:focus:enabled{background-color:var(--color-palette-secondary-500);outline:2.8px solid var(--color-palette-primary-op-20)}#outlined-primary-severity,.p-splitbutton.p-button-outlined .p-splitbutton-defaultbutton:enabled,.p-splitbutton.p-button-outlined .p-splitbutton-menubutton:enabled{background-color:transparent;border:1.5px solid var(--color-palette-primary-500)}#outlined-primary-severity .p-button-label,.p-splitbutton.p-button-outlined .p-splitbutton-defaultbutton:enabled .p-button-label,.p-splitbutton.p-button-outlined .p-splitbutton-menubutton:enabled .p-button-label,#outlined-primary-severity .p-button-icon,.p-splitbutton.p-button-outlined .p-splitbutton-defaultbutton:enabled .p-button-icon,.p-splitbutton.p-button-outlined .p-splitbutton-menubutton:enabled .p-button-icon,#outlined-primary-severity .pi,.p-splitbutton.p-button-outlined .p-splitbutton-defaultbutton:enabled .pi,.p-splitbutton.p-button-outlined .p-splitbutton-menubutton:enabled .pi{color:var(--color-palette-primary-500)}#outlined-primary-severity:hover,.p-splitbutton.p-button-outlined .p-splitbutton-defaultbutton:hover:enabled,.p-splitbutton.p-button-outlined .p-splitbutton-menubutton:hover:enabled{background-color:var(--color-palette-primary-op-10)}#outlined-primary-severity:active,.p-splitbutton.p-button-outlined .p-splitbutton-defaultbutton:active:enabled,.p-splitbutton.p-button-outlined .p-splitbutton-menubutton:active:enabled{background-color:var(--color-palette-primary-op-20)}#outlined-primary-severity:focus,.p-splitbutton.p-button-outlined .p-splitbutton-defaultbutton:focus:enabled,.p-splitbutton.p-button-outlined .p-splitbutton-menubutton:focus:enabled{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#outlined-primary-severity-sm,.p-splitbutton.p-button-outlined.p-button-sm .p-splitbutton-defaultbutton:enabled,.p-splitbutton.p-button-outlined.p-button-sm .p-splitbutton-menubutton:enabled{border:1px solid var(--color-palette-primary-500)}#outlined-secondary-severity,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-defaultbutton:enabled,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-menubutton:enabled{background-color:transparent;border:1.5px solid var(--color-palette-secondary-500)}#outlined-secondary-severity .p-button-label,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-defaultbutton:enabled .p-button-label,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-menubutton:enabled .p-button-label,#outlined-secondary-severity .p-button-icon,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-defaultbutton:enabled .p-button-icon,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-menubutton:enabled .p-button-icon,#outlined-secondary-severity .pi,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-defaultbutton:enabled .pi,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-menubutton:enabled .pi{color:var(--color-palette-secondary-500)}#outlined-secondary-severity:hover,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-defaultbutton:hover:enabled,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-menubutton:hover:enabled{background-color:var(--color-palette-secondary-op-10)}#outlined-secondary-severity:active,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-defaultbutton:active:enabled,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-menubutton:active:enabled{background-color:var(--color-palette-secondary-op-20)}#outlined-secondary-severity:focus,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-defaultbutton:focus:enabled,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-menubutton:focus:enabled{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#outlined-secondary-severity-sm,.p-splitbutton.p-button-outlined.p-button-secondary.p-button-sm .p-splitbutton-defaultbutton:enabled,.p-splitbutton.p-button-outlined.p-button-secondary.p-button-sm .p-splitbutton-menubutton:enabled{border:1px solid var(--color-palette-secondary-500)}#text-primary-severity{background-color:transparent;color:#14151a;overflow:hidden;max-width:100%}#text-primary-severity .p-button-label{color:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#text-primary-severity .p-button-icon,#text-primary-severity .pi{color:var(--color-palette-primary-500)}#text-primary-severity:hover{background-color:var(--color-palette-primary-op-10)}#text-primary-severity:active{background-color:var(--color-palette-primary-op-20)}#text-primary-severity:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#button-disabled,.p-splitbutton .p-splitbutton-defaultbutton:disabled,.p-splitbutton .p-splitbutton-menubutton:disabled{background-color:#f3f3f4;color:#afb3c0}#button-disabled .p-button-label,.p-splitbutton .p-splitbutton-defaultbutton:disabled .p-button-label,.p-splitbutton .p-splitbutton-menubutton:disabled .p-button-label,#button-disabled .p-button-icon,.p-splitbutton .p-splitbutton-defaultbutton:disabled .p-button-icon,.p-splitbutton .p-splitbutton-menubutton:disabled .p-button-icon,#button-disabled .pi,.p-splitbutton .p-splitbutton-defaultbutton:disabled .pi,.p-splitbutton .p-splitbutton-menubutton:disabled .pi{color:inherit}#button-disabled-outlined,.p-splitbutton.p-button-outlined .p-splitbutton-defaultbutton:disabled,.p-splitbutton.p-button-outlined .p-splitbutton-menubutton:disabled{border:1.5px solid #ebecef}.p-splitbutton .p-splitbutton-menubutton{border-radius:0 .375rem .375rem 0;padding:0 .5rem}.p-splitbutton .p-splitbutton-defaultbutton{border-radius:.375rem 0 0 .375rem}.p-splitbutton.p-button-lg .p-splitbutton-menubutton{border-radius:0 .5rem .5rem 0}.p-splitbutton.p-button-lg .p-splitbutton-defaultbutton{border-radius:.5rem 0 0 .5rem}.p-splitbutton.p-button-sm .p-splitbutton-menubutton{border-radius:0 .25rem .25rem 0;padding:0 .25rem}.p-splitbutton.p-button-sm .p-splitbutton-defaultbutton{border-radius:.25rem 0 0 .25rem}.p-splitbutton.p-button-outlined .p-splitbutton-defaultbutton:enabled.p-button{border-right:none}.p-splitbutton.p-button-outlined.p-button-sm .p-splitbutton-defaultbutton:enabled.p-button{border-right:none}.p-card{background:#ffffff;color:#515667;border:1px solid #ebecef;border-radius:.25rem}.p-card .p-card-header{padding:1rem 1rem 0}.p-card .p-card-subtitle{font-weight:400;margin-bottom:.5rem;color:#6c7389}.p-card .p-card-body{padding:1.5rem}.p-card .p-card-body .p-card-title{font-size:1.5rem;font-weight:700;margin-bottom:.75rem}.p-card .p-card-footer{padding:1rem 0 0}.p-card .p-card{min-height:42px;display:flex;align-items:center}.p-card .p-card-body .p-card-body{padding:.5rem .75rem;width:100%}p-chip .p-chip{background-color:var(--color-palette-primary-op-10);color:var(--color-palette-primary-600);border-radius:.375rem;padding:0 .5rem;height:2.5rem;gap:.5rem}p-chip .p-chip .p-chip-icon,p-chip .p-chip .pi-chip-remove-icon{line-height:inherit}p-chip .p-chip .pi-chip-remove-icon{border-radius:.25rem}p-chip .p-chip .pi-chip-remove-icon:focus{outline:2.8px solid var(--color-palette-primary-op-20)}p-chip .p-chip.p-chip-secondary{background-color:var(--color-palette-secondary-100);color:var(--color-palette-secondary-600)}p-chip .p-chip.p-chip-warning{background-color:#fff8ec;color:#bc5b0d}p-chip .p-chip.p-chip-success{background-color:#f5fdf8;color:#0b6948}p-chip .p-chip.p-chip-error{background-color:#fff6f6;color:#d82b2e}p-chip .p-chip.p-chip-gray{background-color:#fafafb;color:#8d92a5}p-chip .p-chip.p-chip-sm{gap:.25rem;padding:0 .5rem;border-radius:.25rem;height:1.5rem}p-chip .p-chip.p-chip-sm .p-chip-text{font-size:14px}.p-confirm-popup{position:absolute;margin-top:.75rem;top:0;left:0;width:21.75rem;background:#ffffff;color:#515667;border:0 none;border-radius:.375rem;box-shadow:0 1px 3px var(--color-palette-black-op-10),0 1px 2px var(--color-palette-black-op-20)}.p-confirm-popup .p-confirm-popup-icon{font-size:1.5rem;color:var(--color-palette-primary-500)}.p-confirm-popup .p-confirm-popup-footer{padding:1rem;display:flex;column-gap:5px;justify-content:flex-end}.p-confirm-popup .p-confirm-popup-footer button{margin:0 0 .5rem;width:auto}.p-confirm-popup-flipped{margin-top:0;margin-bottom:.75rem}.p-confirm-popup:after,.p-confirm-popup:before{bottom:100%;left:calc(var(--overlayArrowLeft, 0) + 1.5rem);content:" ";height:0;width:0;position:absolute;pointer-events:none}.p-confirm-popup:after{border-width:8px;margin-left:-8px}.p-confirm-popup:before{border-width:10px;margin-left:-10px}.p-confirm-popup-flipped:after,.p-confirm-popup-flipped:before{bottom:auto;top:100%}.p-confirm-popup.p-confirm-popup-flipped:after{border-bottom-color:transparent}.p-confirm-popup.p-confirm-popup-flipped:before{border-bottom-color:transparent}.p-component.p-confirm-popup .p-confirm-popup-content{display:flex;align-items:flex-start;padding:1rem;gap:.5rem}.p-confirm-popup .p-button.p-button-sm{font-size:.875rem;padding:.65625rem 1.09375rem}.p-confirm-popup .p-button.p-button-text{background-color:transparent;color:var(--color-palette-primary-500);border-color:transparent}.p-confirm-popup .p-button.p-button-text.p-confirm-popup-reject{border:1.5px solid var(--color-palette-primary-400)}.p-contextmenu{padding:.5rem 0;background:#ffffff;color:#14151a;border:0 none;box-shadow:0 2px 4px -1px var(--color-palette-black-op-20),0 4px 5px 0 var(--color-palette-black-op-10),0 1px 10px 0 var(--color-palette-black-op-10);width:12.5rem}.p-contextmenu .p-menuitem-link{padding:.75rem;color:#14151a;border-radius:0;transition:none;-webkit-user-select:none;user-select:none}.p-contextmenu .p-menuitem-link .p-menuitem-text{color:#14151a}.p-contextmenu .p-menuitem-link .p-menuitem-icon{color:#14151a;margin-right:.5rem}.p-contextmenu .p-menuitem-link .p-submenu-icon{color:#14151a}.p-contextmenu .p-menuitem-link:not(.p-disabled):hover{background:var(--color-palette-primary-100)}.p-contextmenu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text{color:#14151a}.p-contextmenu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon{color:#14151a}.p-contextmenu .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon{color:#14151a}.p-contextmenu .p-menuitem-link:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-contextmenu .p-submenu-list{padding:.5rem 0;background:#ffffff;border:0 none;box-shadow:0 2px 4px -1px var(--color-palette-black-op-20),0 4px 5px 0 var(--color-palette-black-op-10),0 1px 10px 0 var(--color-palette-black-op-10)}.p-contextmenu .p-menuitem.p-menuitem-active>.p-menuitem-link{background:var(--color-palette-primary-op-10)}.p-contextmenu .p-menuitem.p-menuitem-active>.p-menuitem-link .p-menuitem-text{color:#14151a}.p-contextmenu .p-menuitem.p-menuitem-active>.p-menuitem-link .p-menuitem-icon,.p-contextmenu .p-menuitem.p-menuitem-active>.p-menuitem-link .p-submenu-icon{color:#14151a}.p-contextmenu .p-menu-separator{border-top:1px solid var(--color-palette-black-op-10);margin:.5rem 0}.p-contextmenu .p-submenu-icon{font-size:.875rem}.p-datatable .p-paginator-top,.p-datatable .p-paginator-bottom{border-width:0 0 1px 0;border-radius:0}.p-datatable .p-datatable-header,.p-datatable .p-datatable-footer{background:#ffffff;color:#14151a;border:1px solid #afb3c0;border-width:0 0 1px 0;padding:.75rem;font-weight:500}.p-datatable .p-datatable-thead>tr>th{background:#ffffff;border:1px solid #ebecef;border-width:0 0 1px 0;color:#6c7389;font-size:.813rem;font-weight:500;padding:.75rem;text-align:left;transition:none;text-wrap:nowrap}.p-datatable .p-datatable-thead>tr>th:first-child{padding-left:2rem}.p-datatable .p-datatable-thead>tr>th:last-child{padding-right:2rem}.p-datatable .p-datatable-tfoot>tr>td{text-align:left;padding:.75rem;border:1px solid #afb3c0;border-width:0 0 1px 0;font-weight:500;color:#14151a;background:#ffffff}.p-datatable .p-sortable-column{outline:0 none}.p-datatable .p-sortable-column .p-sortable-column-icon{display:inline-block;color:#6c7389;margin-left:.5rem}.p-datatable .p-sortable-column .p-sortable-column-badge{border-radius:50%;height:1.143rem;min-width:1.143rem;line-height:1.143rem;color:var(--color-palette-primary-500);background:var(--color-palette-primary-op-10);margin-left:.5rem}.p-datatable .p-sortable-column:not(.p-highlight):hover{color:#14151a}.p-datatable .p-sortable-column:not(.p-highlight):hover .p-sortable-column-icon{color:#14151a}.p-datatable .p-sortable-column.p-highlight{background:#ffffff;color:#14151a}.p-datatable .p-sortable-column.p-highlight .p-sortable-column-icon{color:#14151a}.p-datatable .p-datatable-tbody>tr{background:#ffffff;color:#14151a;height:4rem;transition:none;outline:0 none;cursor:pointer;overflow-wrap:anywhere}.p-datatable .p-datatable-tbody>tr>td{text-align:left;border:1px solid #ebecef;border-width:0 0 1px 0;padding:.5rem .75rem}.p-datatable .p-datatable-tbody>tr>td:first-child{padding-left:2rem}.p-datatable .p-datatable-tbody>tr>td:last-child{padding-right:2rem}.p-datatable .p-datatable-tbody>tr>td .p-row-toggler,.p-datatable .p-datatable-tbody>tr>td .p-row-editor-init,.p-datatable .p-datatable-tbody>tr>td .p-row-editor-save,.p-datatable .p-datatable-tbody>tr>td .p-row-editor-cancel{width:2rem;height:2rem;color:#14151a;border:0 none;background:transparent;border-radius:50%;transition:background-color .2s,color .2s,box-shadow .2s}.p-datatable .p-datatable-tbody>tr>td .p-row-toggler:enabled:hover,.p-datatable .p-datatable-tbody>tr>td .p-row-editor-init:enabled:hover,.p-datatable .p-datatable-tbody>tr>td .p-row-editor-save:enabled:hover,.p-datatable .p-datatable-tbody>tr>td .p-row-editor-cancel:enabled:hover{color:#14151a;border-color:transparent;background:var(--color-palette-primary-100)}.p-datatable .p-datatable-tbody>tr>td .p-row-toggler:focus,.p-datatable .p-datatable-tbody>tr>td .p-row-editor-init:focus,.p-datatable .p-datatable-tbody>tr>td .p-row-editor-save:focus,.p-datatable .p-datatable-tbody>tr>td .p-row-editor-cancel:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-datatable .p-datatable-tbody>tr>td .p-row-editor-save{margin-right:.5rem}.p-datatable .p-datatable-tbody>tr.p-highlight{background:var(--color-palette-primary-op-10);color:var(--color-palette-primary-500)}.p-datatable .p-datatable-tbody>tr.disabled-row{background:#f3f3f4;color:#6c7389;cursor:default}.p-datatable .p-datatable-tbody>tr.p-datatable-dragpoint-top>td{box-shadow:inset 0 2px 0 0 var(--color-palette-primary-100)}.p-datatable .p-datatable-tbody>tr.p-datatable-dragpoint-bottom>td{box-shadow:inset 0 -2px 0 0 var(--color-palette-primary-100)}.p-datatable.p-datatable-hoverable-rows .p-datatable-tbody>tr:not(.p-highlight):hover{background:var(--color-palette-primary-100);color:#14151a;transition:background-color ease-in .15s}.p-datatable.p-datatable-hoverable-rows .p-datatable-tbody>tr.disabled-row:hover{background:#f3f3f4;color:#6c7389}.p-datatable .p-column-resizer-helper{background:var(--color-palette-primary-500)}.p-datatable .p-datatable-scrollable-header,.p-datatable .p-datatable-scrollable-footer{background:#ffffff}.p-datatable .p-datatable-loading-icon{font-size:3rem;color:var(--color-palette-secondary-500)}.p-datatable.p-datatable-gridlines .p-datatable-header{border-width:1px 1px 0 1px}.p-datatable.p-datatable-gridlines .p-datatable-footer{border-width:0 1px 1px 1px}.p-datatable.p-datatable-gridlines .p-paginator-top{border-width:0 1px 0 1px}.p-datatable.p-datatable-gridlines .p-paginator-bottom{border-width:0 1px 1px 1px}.p-datatable.p-datatable-gridlines .p-datatable-thead>tr>th{border-width:1px 1px 1px 1px}.p-datatable.p-datatable-gridlines .p-datatable-tbody>tr>td{border-width:1px}.p-datatable.p-datatable-gridlines .p-datatable-tfoot>tr>td{border-width:1px}.p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(even){background:rgba(0,0,0,.02)}.p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(even).p-highlight{background:var(--color-palette-primary-100);color:var(--color-palette-primary-500)}.p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(even).p-highlight .p-row-toggler{color:var(--color-palette-primary-500)}.p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(even).p-highlight .p-row-toggler:hover{color:#14151a}.p-datatable.p-datatable-sm .p-datatable-header{padding:.375rem}.p-datatable.p-datatable-sm .p-datatable-thead>tr>th{padding:.375rem}.p-datatable.p-datatable-sm .p-datatable-tbody>tr>td{padding:.375rem}.p-datatable.p-datatable-sm .p-datatable-tfoot>tr>td{padding:.375rem}.p-datatable.p-datatable-sm .p-datatable-footer{padding:.375rem}.p-datatable.p-datatable-lg .p-datatable-header{padding:.9375rem}.p-datatable.p-datatable-lg .p-datatable-thead>tr>th{padding:.9375rem}.p-datatable.p-datatable-lg .p-datatable-tbody>tr>td{padding:.9375rem}.p-datatable.p-datatable-lg .p-datatable-tfoot>tr>td{padding:.9375rem}.p-datatable.p-datatable-lg .p-datatable-footer{padding:.9375rem}.p-datatable .p-sortable-column:focus{background-color:var(--color-palette-primary-100)}.p-datatable .p-datatable-tbody>tr:not(.p-highlight):focus{background-color:var(--color-palette-primary-100)}.p-dataview .p-paginator-top,.p-dataview .p-paginator-bottom{border-width:0 0 1px 0;border-radius:0}.p-dataview .p-dataview-header{background:#ffffff;color:#000001;border:1px solid #afb3c0;border-width:0 0 1px 0;padding:.75rem;font-weight:500}.p-dataview .p-dataview-content{background:#ffffff;color:#000001;border:0 none;padding:.75rem}.p-dataview.p-dataview-list .p-dataview-content>.grid>div{border:solid var(--color-palette-black-op-10);border-width:0 0 1px 0}.p-dataview .p-dataview-footer{background:#ffffff;color:#000001;border:1px solid #afb3c0;border-width:0 0 1px 0;padding:.75rem;font-weight:500;border-bottom-left-radius:.125rem;border-bottom-right-radius:.125rem}.p-dataview .p-dataview-loading-icon{font-size:2rem}.p-dataview .p-dataview-emptymessage{padding:.75rem}.p-dialog{border-radius:.375rem;box-shadow:0 11px 15px -7px var(--color-palette-black-op-20),0 24px 38px 3px var(--color-palette-black-op-10),0 9px 46px 8px var(--color-palette-black-op-10);border:0 none;overflow:auto}.p-dialog .p-dialog-header{border-bottom:0 none;background:#ffffff;color:#14151a;padding:2.5rem;border-top-right-radius:.375rem;border-top-left-radius:.375rem}.p-dialog .p-dialog-header .p-dialog-title{font-size:1.5rem}.p-dialog .p-dialog-header .p-dialog-header-icon{width:2rem;height:2rem;color:#14151a;border:0 none;background:transparent;border-radius:50%;transition:background-color .2s,color .2s,box-shadow .2s;margin-right:.5rem}.p-dialog .p-dialog-header .p-dialog-header-icon:enabled:hover{color:#14151a;border-color:transparent;background:var(--color-palette-primary-100)}.p-dialog .p-dialog-header .p-dialog-header-icon:focus{outline:0 none;outline-offset:0;box-shadow:0 0 0 4px var(--color-palette-secondary-op-20)}.p-dialog .p-dialog-header .p-dialog-header-icon:last-child{margin-right:0}.p-dialog .p-dialog-content{background:#ffffff;color:#14151a;padding:0 2.5rem 2.5rem}.p-dialog .p-dialog-footer{border-top:0 none;background:#ffffff;color:#14151a;padding:1.5rem;text-align:right;border-bottom-right-radius:.125rem;border-bottom-left-radius:.125rem}.p-dialog .p-dialog-footer button{margin:0 .5rem 0 0;width:auto}.p-dialog.p-confirm-dialog .p-confirm-dialog-icon{font-size:1.75rem;padding-right:.5rem;color:var(--color-palette-primary-500)}.p-dialog.p-confirm-dialog .p-confirm-dialog-message{line-height:1.5em}.p-dialog-mask.p-component-overlay{background-color:var(--color-palette-black-op-80);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.p-dialog-header .p-dialog-header-icons .p-dialog-header-close{background-color:#f3f3f4;color:var(--color-palette-primary-500);border-radius:0}.p-dialog-mask.p-dialog-mask-transparent.p-component-overlay{background-color:transparent;-webkit-backdrop-filter:blur(.375rem);backdrop-filter:blur(.375rem)}.p-divider-solid.p-divider-vertical:before{border-left-width:1.4px}.p-divider.p-component{color:#afb3c0}p-dynamicdialog .p-component-overlay{align-items:baseline;padding:7rem}#form-field-base,#form-field-extend,.p-autocomplete{background-color:#fff;height:2.5rem;border-radius:.375rem;border:1.5px solid #d1d4db;padding:0 .5rem;color:#6c7389;font-size:1rem}#form-field-base.p-filled,.p-filled#form-field-extend,.p-filled.p-autocomplete{color:#14151a}#form-field-hover,#form-field-states:enabled:hover,#form-field-extend:enabled:hover,.p-autocomplete:enabled:hover,#form-field-states:hover,#form-field-extend:hover,.p-autocomplete:hover{border-color:var(--color-palette-primary-400)}#form-field-focus,p-autocomplete.p-inputwrapper-focus .p-autocomplete,#form-field-states:enabled:active,#form-field-extend:enabled:active,.p-autocomplete:enabled:active,#form-field-states:enabled:focus,#form-field-extend:enabled:focus,.p-autocomplete:enabled:focus,#form-field-states:active,#form-field-extend:active,.p-autocomplete:active,#form-field-states:focus,#form-field-extend:focus,.p-autocomplete:focus{border-color:var(--color-palette-primary-400);outline:2.8px solid var(--color-palette-primary-op-20)}#form-field-disabled,#field-panel-item-disabled,#form-field-states:disabled,#form-field-extend:disabled,.p-autocomplete:disabled{border-color:#f3f3f4;background:#fafafb;color:#afb3c0}#field-trigger,.p-autocomplete-dropdown.p-element.p-button{background:#f3f3f4;color:var(--color-palette-primary-500);width:2.5rem;border-top-right-radius:.375rem;border-bottom-right-radius:.375rem;height:100%}#field-trigger-icon,.p-autocomplete-dropdown.p-element.p-button .p-button-icon{padding:.5rem;font-size:14px}#field-panel,.p-autocomplete-panel{background:#ffffff;color:#14151a;border:0 none;border-radius:.375rem;box-shadow:0 0 4px #14151a0a,0 8px 16px #14151a14;padding:.5rem;margin-top:.5rem}#field-panel-items,.p-autocomplete-panel .p-autocomplete-items{padding:0}#field-panel-item,.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item{display:flex;align-items:center;padding:0 .75rem;color:#14151a;height:2.5rem;gap:.5rem}#field-panel-item-highlight,.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item.p-highlight{background:var(--color-palette-primary-200)}#field-panel-item-hover,.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item:hover{background:var(--color-palette-primary-100)}#field-chip,.p-autocomplete.p-autocomplete-multiple .p-autocomplete-multiple-container .p-autocomplete-token{height:1.5rem;padding:.5rem;background:var(--color-palette-primary-200);border-radius:.25rem;color:var(--color-palette-primary-500);font-size:.813rem;display:flex;align-items:center;justify-content:center;gap:.25rem}.p-fluid .p-autocomplete.p-component,.p-autocomplete.p-component{display:grid;align-items:center;grid-template-columns:auto repeat(3,max-content)}.p-autocomplete{height:auto;padding-right:0}.p-autocomplete .p-autocomplete-loader,.p-autocomplete .p-autocomplete-clear-icon{position:unset;color:var(--color-palette-primary-500);margin:0 .25rem}.p-autocomplete .p-autocomplete-clear-icon{grid-column-start:3;grid-row-start:1}.p-autocomplete .p-autocomplete-loader{grid-column-start:2}.p-autocomplete .p-autocomplete-input.p-component{all:unset;border:none;font-family:Assistant,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:1rem;color:#14151a;padding:0;margin:0;width:100%;height:calc(2.5rem - 3px)}.p-autocomplete.p-autocomplete-dd .p-autocomplete-loader,.p-autocomplete.p-autocomplete-dd .p-autocomplete-clear-icon{right:3rem}.p-autocomplete .p-autocomplete-dropdown.p-button.p-element:hover,.p-autocomplete .p-autocomplete-dropdown.p-button.p-element:focus,.p-autocomplete .p-autocomplete-dropdown.p-button.p-element:active{outline:none;background-color:#f3f3f4}.p-autocomplete.p-autocomplete-multiple .p-autocomplete-multiple-container{display:flex;align-items:center;max-height:13rem;overflow:auto;gap:.25rem;padding:7px 0 6px}.p-autocomplete.p-autocomplete-multiple .p-autocomplete-multiple-container:hover,.p-autocomplete.p-autocomplete-multiple .p-autocomplete-multiple-container:active,.p-autocomplete.p-autocomplete-multiple .p-autocomplete-multiple-container.p-focus{border:none}.p-autocomplete.p-autocomplete-multiple .p-autocomplete-multiple-container .p-autocomplete-input-token input{font-family:Assistant,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:1rem;color:#14151a;padding:0;margin:0;height:1.5rem}.p-autocomplete.p-error>.p-inputtext,.p-autocomplete.p-invalid>.p-inputtext{border-color:#d82b2e}p-autocomplete.ng-dirty.ng-invalid>.p-autocomplete>.p-inputtext{border-color:#d82b2e}.p-autocomplete-dropdown.p-element.p-button{grid-column-start:4}.p-autocomplete-dropdown.p-element.p-button .p-button-icon{display:flex;align-items:center;justify-content:center}.p-autocomplete-dropdown.p-element.p-button:hover,.p-autocomplete-dropdown.p-element.p-button:active,.p-autocomplete-dropdown.p-element.p-button.p-focus{outline:none}#large{height:3rem;border-radius:.5rem;font-size:1.25rem}#large .p-button-label{font-size:inherit}#large .p-button-icon,#large .pi{font-size:18px}#small{border-radius:.25rem;font-size:.813rem;gap:.25rem;height:2rem;padding:0 .5rem}#small .p-button-label{font-size:inherit}#main-primary-severity{background-color:var(--color-palette-primary-500)}#main-primary-severity:hover{background-color:var(--color-palette-primary-600)}#main-primary-severity:active{background-color:var(--color-palette-primary-700)}#main-primary-severity:focus{background-color:var(--color-palette-primary-500);outline:2.8px solid var(--color-palette-primary-op-20)}#main-secondary-severity{background-color:var(--color-palette-secondary-500)}#main-secondary-severity:hover{background-color:var(--color-palette-secondary-600)}#main-secondary-severity:active{background-color:var(--color-palette-secondary-700)}#main-secondary-severity:focus{background-color:var(--color-palette-secondary-500);outline:2.8px solid var(--color-palette-primary-op-20)}#outlined-primary-severity,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-prev,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-next{background-color:transparent;border:1.5px solid var(--color-palette-primary-500)}#outlined-primary-severity .p-button-label,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-prev .p-button-label,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-next .p-button-label,#outlined-primary-severity .p-button-icon,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-prev .p-button-icon,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-next .p-button-icon,#outlined-primary-severity .pi,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-prev .pi,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-next .pi{color:var(--color-palette-primary-500)}#outlined-primary-severity:hover,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-prev:hover,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-next:hover{background-color:var(--color-palette-primary-op-10)}#outlined-primary-severity:active,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-prev:active,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-next:active{background-color:var(--color-palette-primary-op-20)}#outlined-primary-severity:focus,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-prev:focus,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-next:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#outlined-primary-severity-sm{border:1px solid var(--color-palette-primary-500)}#outlined-secondary-severity{background-color:transparent;border:1.5px solid var(--color-palette-secondary-500)}#outlined-secondary-severity .p-button-label,#outlined-secondary-severity .p-button-icon,#outlined-secondary-severity .pi{color:var(--color-palette-secondary-500)}#outlined-secondary-severity:hover{background-color:var(--color-palette-secondary-op-10)}#outlined-secondary-severity:active{background-color:var(--color-palette-secondary-op-20)}#outlined-secondary-severity:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#outlined-secondary-severity-sm{border:1px solid var(--color-palette-secondary-500)}#text-primary-severity,.p-calendar .p-datepicker .p-timepicker button{background-color:transparent;color:#14151a;overflow:hidden;max-width:100%}#text-primary-severity .p-button-label,.p-calendar .p-datepicker .p-timepicker button .p-button-label{color:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#text-primary-severity .p-button-icon,.p-calendar .p-datepicker .p-timepicker button .p-button-icon,#text-primary-severity .pi,.p-calendar .p-datepicker .p-timepicker button .pi{color:var(--color-palette-primary-500)}#text-primary-severity:hover,.p-calendar .p-datepicker .p-timepicker button:hover{background-color:var(--color-palette-primary-op-10)}#text-primary-severity:active,.p-calendar .p-datepicker .p-timepicker button:active{background-color:var(--color-palette-primary-op-20)}#text-primary-severity:focus,.p-calendar .p-datepicker .p-timepicker button:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#text-secondary-severity{background-color:transparent;color:#14151a}#text-secondary-severity.p-button-semi-transparent{background-color:#ffffffa6}#text-secondary-severity .p-button-label{color:inherit}#text-secondary-severity .p-button-icon,#text-secondary-severity .pi{color:var(--color-palette-secondary-500)}#text-secondary-severity.p-button-icon-only .p-button-icon,#text-secondary-severity.p-button-icon-only .pi{color:#14151a}#text-secondary-severity:hover{background-color:var(--color-palette-secondary-op-10)}#text-secondary-severity:active{background-color:var(--color-palette-secondary-op-20)}#text-secondary-severity:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#text-danger-severity{background-color:transparent;color:#d82b2e}#text-danger-severity:hover{background-color:#d82b2e1a}#text-danger-severity:active{background-color:#d82b2e33}#text-danger-severity:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#text-danger-severity .p-button-icon,#text-danger-severity .pi{color:inherit}#button-disabled{background-color:#f3f3f4;color:#afb3c0}#button-disabled .p-button-label,#button-disabled .p-button-icon,#button-disabled .pi{color:inherit}#button-disabled-outlined{border:1.5px solid #ebecef}#button-disabled-text{border:none;background-color:transparent}.p-calendar.p-calendar-w-btn{border-radius:.375rem;height:2.5rem;box-sizing:border-box;border:1.5px solid #d1d4db}.p-calendar.p-calendar-w-btn input{height:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.p-calendar.p-calendar-w-btn:focus-within{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}.p-calendar.p-calendar-w-btn:hover{border-color:var(--color-palette-primary-400)}.p-calendar.p-calendar-w-btn.p-calendar-disabled{border-color:#f3f3f4}.p-calendar.p-calendar-w-btn input.p-inputtext,.p-calendar.p-calendar-w-btn input.p-inputtext:focus,.p-calendar.p-calendar-w-btn input.p-inputtext:hover,.p-calendar.p-calendar-w-btn .p-button:focus{outline:transparent;border-right:none;border-color:transparent}.p-calendar.p-calendar-w-btn .p-button:disabled.p-datepicker-trigger,.p-calendar.p-calendar-w-btn .p-button:enabled.p-datepicker-trigger{height:auto;aspect-ratio:1/1;background-color:#f3f3f4}.p-calendar.p-calendar-w-btn .p-button:disabled.p-datepicker-trigger .pi,.p-calendar.p-calendar-w-btn .p-button:enabled.p-datepicker-trigger .pi{width:24px;font-size:18px}.p-calendar.p-calendar-w-btn .p-button:enabled.p-datepicker-trigger .pi{color:var(--color-palette-primary-500)}.p-calendar .p-datepicker{padding:1rem;background:#ffffff;color:#14151a;border-radius:.375rem}.p-calendar .p-datepicker:not(.p-datepicker-inline){margin-top:1rem;box-shadow:0 0 4px #14151a0a,0 8px 16px #14151a14;min-width:auto;display:flex;flex-direction:column;gap:1rem}.p-calendar .p-datepicker .p-datepicker-calendar span,.p-calendar .p-datepicker .p-monthpicker span,.p-calendar .p-datepicker .p-yearpicker span{display:inline-flex;justify-content:center;align-items:center;border-radius:50%;transition:background-color .15s;color:#14151a}.p-calendar .p-datepicker .p-datepicker-calendar span:hover,.p-calendar .p-datepicker .p-monthpicker span:hover,.p-calendar .p-datepicker .p-yearpicker span:hover{cursor:pointer;background:var(--color-palette-primary-op-10)}.p-calendar .p-datepicker .p-datepicker-calendar span.p-disabled,.p-calendar .p-datepicker .p-monthpicker span.p-disabled,.p-calendar .p-datepicker .p-yearpicker span.p-disabled{color:#afb3c0}.p-calendar .p-datepicker .p-datepicker-calendar span.p-highlight:not(.p-disabled),.p-calendar .p-datepicker .p-monthpicker span.p-highlight:not(.p-disabled),.p-calendar .p-datepicker .p-yearpicker span.p-highlight:not(.p-disabled){background:var(--color-palette-primary-op-10);color:var(--color-palette-primary-600)}.p-calendar .p-datepicker .p-datepicker-group{display:flex;flex-direction:column;gap:1rem}.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header{color:#14151a;background:#ffffff;margin:0;min-height:40px}.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-title{line-height:2rem;display:flex;gap:.5rem}.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-title .p-datepicker-year,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-title .p-datepicker-month,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-title .p-datepicker-decade{font-size:1.25rem;font-family:Assistant,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-weight:400;color:inherit}.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-title .p-datepicker-year:hover,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-title .p-datepicker-month:hover,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-title .p-datepicker-decade:hover{color:var(--color-palette-primary-500)}.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-prev,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-next{height:2.5rem;width:2.5rem;border-radius:50%}.p-calendar .p-datepicker .p-datepicker-group table.p-datepicker-calendar tbody{gap:.5rem;display:flex;flex-direction:column}.p-calendar .p-datepicker .p-datepicker-group table.p-datepicker-calendar tr{display:flex;gap:.5rem}.p-calendar .p-datepicker .p-datepicker-group table.p-datepicker-calendar td,.p-calendar .p-datepicker .p-datepicker-group table.p-datepicker-calendar th{border-spacing:0;padding:0;margin:0;color:#14151a}.p-calendar .p-datepicker .p-datepicker-group table.p-datepicker-calendar th{font-size:1rem;font-weight:500}.p-calendar .p-datepicker .p-datepicker-group table.p-datepicker-calendar span{width:2.5rem;height:2.5rem}.p-calendar .p-datepicker .p-datepicker-group table.p-datepicker-calendar th>span{width:2.5rem;height:22px}.p-calendar .p-datepicker .p-datepicker-group table.p-datepicker-calendar td.p-datepicker-today>span:not(.p-highlight){background:#ebecef;border-color:transparent}.p-calendar .p-datepicker .p-timepicker{gap:.25rem;border-top:1px solid #ebecef;padding:1rem}.p-calendar .p-datepicker .p-timepicker span{font-size:1rem;font-weight:400;width:2rem;height:2rem;display:flex;justify-content:center;align-content:center;flex-wrap:wrap}.p-calendar .p-datepicker .p-timepicker span.pi{width:24px;height:auto;aspect-ratio:1/1;font-size:18px;color:var(--color-palette-primary-500)}.p-calendar .p-datepicker .p-timepicker button{border-radius:.25rem}.p-calendar .p-datepicker.p-datepicker-timeonly .p-timepicker{border-top:0 none}.p-calendar .p-datepicker .p-monthpicker,.p-calendar .p-datepicker .p-yearpicker{display:grid;grid-template-columns:repeat(3,1fr);justify-items:center;gap:.5rem;width:328px}.p-calendar .p-datepicker .p-monthpicker span,.p-calendar .p-datepicker .p-yearpicker span{width:4.5rem;height:2.5rem;border-radius:100px}p-calendar.p-calendar-clearable .p-inputtext{padding-right:2.5rem}p-calendar.p-calendar-clearable .p-calendar-clear-icon{margin-top:-12px;color:#afb3c0;width:24px;font-size:18px;right:44px}p-calendar.p-calendar-clearable .p-calendar-clear-icon:hover{color:var(--color-palette-primary-600)}p-checkbox.p-element{gap:.5rem}p-checkbox.p-element.ng-dirty.ng-invalid .p-checkbox{border-color:#f65446}.p-checkbox{height:1.5rem;aspect-ratio:1/1;border-radius:.25rem;border:2px solid #d1d4db}.p-checkbox.p-checkbox-checked,.p-checkbox:has(.p-highlight){border-color:var(--color-palette-primary-500)}.p-checkbox.p-checkbox-disabled{border-color:#d1d4db;background-color:#f3f3f4}.p-checkbox.p-checkbox-disabled .p-checkbox-box.p-highlight .p-checkbox-icon{color:#d1d4db}.p-checkbox .p-checkbox-box{height:1.25rem;aspect-ratio:1/1}.p-checkbox+.p-checkbox-label.p-disabled{color:#afb3c0}.p-checkbox+.p-checkbox-label:hover{cursor:pointer}.p-checkbox:hover:not(:has(.p-checkbox-disabled)){cursor:pointer;border-color:var(--color-palette-primary-400)}.p-checkbox.p-checkbox-focused{outline:1.5px solid var(--color-palette-primary-op-20)}p-chips.ng-dirty.ng-invalid>.p-chips>.p-inputtext{border-color:#d82b2e}.p-chips .p-chips-multiple-container{padding:.375rem .75rem}.p-chips .p-chips-multiple-container:not(.p-disabled):hover{border-color:var(--color-palette-primary-500)}.p-chips .p-chips-multiple-container:not(.p-disabled).p-focus{outline:0 none;outline-offset:0;border-color:var(--color-palette-primary-500);box-shadow:inset 0 0 0 1px var(--color-palette-primary-500),inset 0 0 0 1px var(--color-palette-primary-500),inset 0 0 0 1px var(--color-palette-primary-500),inset 0 0 0 1px var(--color-palette-primary-500)}.p-chips .p-chips-multiple-container .p-chips-token{padding:.375rem .75rem;margin-right:.5rem;background:var(--color-palette-primary-op-10);color:var(--color-palette-primary-500);border-radius:.125rem}.p-chips .p-chips-multiple-container .p-chips-token .p-chips-token-icon{margin-left:.5rem}.p-chips .p-chips-multiple-container .p-chips-input-token{padding:.375rem 0}.p-chips .p-chips-multiple-container .p-chips-input-token input{font-family:Assistant,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:1rem;color:#14151a;padding:0;margin:0}.p-chips.p-error>.p-inputtext,.p-chips.p-invalid>.p-inputtext{border-color:#d82b2e}#form-field-base,.p-dropdown,#form-field-extend{background-color:#fff;height:2.5rem;border-radius:.375rem;border:1.5px solid #d1d4db;padding:0 .5rem;color:#6c7389;font-size:1rem}#form-field-base.p-filled,.p-filled.p-dropdown,.p-filled#form-field-extend{color:#14151a}#form-field-sm,p-dropdown.p-dropdown-sm .p-dropdown{height:2rem;font-size:.813rem;border-radius:.25rem}#form-field-hover,.p-dropdown:not(.p-disabled):hover,#form-field-states:enabled:hover,#form-field-extend:enabled:hover,#form-field-states:hover,#form-field-extend:hover{border-color:var(--color-palette-primary-400)}#form-field-focus,.p-dropdown:not(.p-disabled).p-focus,.p-dropdown.p-dropdown-open,#form-field-states:enabled:active,#form-field-extend:enabled:active,#form-field-states:enabled:focus,#form-field-extend:enabled:focus,#form-field-states:active,#form-field-extend:active,#form-field-states:focus,#form-field-extend:focus{border-color:var(--color-palette-primary-400);outline:2.8px solid var(--color-palette-primary-op-20)}#form-field-disabled,.p-dropdown.p-disabled,#field-panel-item-disabled,.p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-disabled,.p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight.p-disabled,#form-field-states:disabled,#form-field-extend:disabled{border-color:#f3f3f4;background:#fafafb;color:#afb3c0}#field-trigger,.p-dropdown .p-dropdown-trigger{background:#f3f3f4;color:var(--color-palette-primary-500);width:2.5rem;border-top-right-radius:.375rem;border-bottom-right-radius:.375rem;height:100%}#field-trigger-sm,p-dropdown.p-dropdown-sm .p-dropdown .p-dropdown-trigger{width:2rem;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}#field-trigger-icon,.p-dropdown .p-dropdown-trigger .p-dropdown-trigger-icon{padding:.5rem;font-size:14px}#field-panel,.p-dropdown-panel{background:#ffffff;color:#14151a;border:0 none;border-radius:.375rem;box-shadow:0 0 4px #14151a0a,0 8px 16px #14151a14;padding:.5rem;margin-top:.5rem}#field-panel-header,.p-dropdown-panel .p-dropdown-header{padding:.75rem;border-bottom:1.5px solid var(--color-palette-black-op-10);color:#14151a;background:#ffffff;margin:0;border-top-right-radius:.125rem;border-top-left-radius:.125rem}#field-panel-filter,.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-container .p-dropdown-filter{padding-right:3rem;color:#14151a}#field-panel-filter-icon,.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-container .p-dropdown-filter-icon{right:.75rem;color:var(--color-palette-primary-500)}#field-panel-items,.p-dropdown-panel .p-dropdown-items{padding:0}#field-panel-item,.p-dropdown-panel .p-dropdown-items .p-dropdown-item{display:flex;align-items:center;padding:0 .75rem;color:#14151a;height:2.5rem;gap:.5rem}#field-panel-item-highlight,.p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight{background:var(--color-palette-primary-200)}#field-panel-item-hover,.p-dropdown-panel .p-dropdown-items .p-dropdown-item:not(.p-highlight):not(.p-disabled):hover{background:var(--color-palette-primary-100)}#field-panel-item-disabled,.p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-disabled,.p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight.p-disabled{cursor:initial}p-dropdown.p-inputwrapper-filled .p-dropdown .p-element.p-dropdown-label,p-dropdown.p-inputwrapper-filled .p-dropdown input.p-dropdown-label{color:#14151a}p-dropdown.ng-dirty.ng-invalid>.p-dropdown{border-color:#f65446}.p-fluid .p-dropdown input.p-dropdown-label{width:100%}.p-dropdown{padding-right:0;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none}.p-dropdown .p-element.p-dropdown-label,.p-dropdown .p-dropdown-label{padding-right:.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.p-dropdown:has(.p-dropdown-clear-icon) .p-dropdown-label{padding-right:2rem}.p-dropdown input.p-dropdown-label{all:unset;width:100%}.p-dropdown .p-dropdown-clear-icon{color:var(--color-palette-primary-500);right:3rem}.p-dropdown.p-disabled .p-dropdown-trigger{color:#afb3c0}.p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message{padding:.75rem;color:#14151a;background:transparent}.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group{margin:0;padding:.75rem;color:#14151a;background-color:#f3f3f4;font-weight:700;-webkit-user-select:none;cursor:default;user-select:none}.p-dropdown-panel.p-error,.p-dropdown-panel.p-invalid{border-color:#f65446}.p-float-label>label{left:.75rem;color:#14151a;transition-duration:.2s}.p-float-label .p-autocomplete-multiple-container .p-autocomplete-token,.p-float-label .p-chips-multiple-container .p-chips-token{padding:.25rem 1rem}.p-float-label input:focus~label,.p-float-label input.p-filled~label,.p-float-label textarea:focus~label,.p-float-label textarea.p-filled~label,.p-float-label .p-inputwrapper-focus~label,.p-float-label .p-inputwrapper-filled~label{top:-.5rem!important;background-color:#fff;padding:2px 4px;margin-left:-4px;margin-top:0}.p-float-label textarea~label{margin-top:0}.p-float-label input:focus~label,.p-float-label .p-inputwrapper-focus~label{color:#14151a}#form-field-hover,#form-field-states:enabled:hover,.p-inputgroup:enabled:hover,#form-field-extend:enabled:hover,#form-field-states:hover,.p-inputgroup:hover,#form-field-extend:hover{border-color:var(--color-palette-primary-400)}#form-field-focus,#form-field-states:enabled:active,.p-inputgroup:enabled:active,#form-field-extend:enabled:active,#form-field-states:enabled:focus,.p-inputgroup:enabled:focus,#form-field-extend:enabled:focus,#form-field-states:active,.p-inputgroup:active,#form-field-extend:active,#form-field-states:focus,.p-inputgroup:focus,#form-field-extend:focus{border-color:var(--color-palette-primary-400);outline:2.8px solid var(--color-palette-primary-op-20)}#form-field-disabled,#field-panel-item-disabled,#form-field-states:disabled,.p-inputgroup:disabled,#form-field-extend:disabled{border-color:#f3f3f4;background:#fafafb;color:#afb3c0}.p-inputgroup-addon{height:2.5rem;background:#ffffff;color:#14151a;padding:.75rem;border:none;border-right:1.5px solid #d1d4db;min-width:2.357rem;z-index:1}.p-inputgroup-addon:last-child{border-right:none}.p-inputgroup{border:1.5px solid #d1d4db;border-radius:.375rem;overflow:hidden}.p-inputgroup .p-inputtext.p-element{border:none}.p-inputgroup .p-inputtext.p-element:has(+ .p-inputgroup-addon){border-right:1.5px solid #d1d4db;border-radius:0}.p-inputgroup .p-inputtext.p-element:has(+ .p-inputgroup-addon):hover{border-color:#d1d4db}.p-inputgroup .p-inputtext.p-element:has(+ .p-inputgroup-addon):focus{border-color:#d1d4db}.p-inputgroup .p-inputgroup-addon:first-child,.p-inputgroup .p-component:first-child{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem;border-top-right-radius:0;border-bottom-right-radius:0}.p-inputgroup .p-inputgroup-addon:last-child,.p-inputgroup .p-component:last-child{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem;border-top-left-radius:0;border-bottom-left-radius:0}.p-inputswitch.p-component{width:2.75rem;height:1rem;display:block}.p-inputswitch .p-inputswitch-slider{background:#afb3c0;transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s,background-size .2s cubic-bezier(.64,.09,.08,1);border-radius:.5rem}.p-inputswitch .p-inputswitch-slider:before{background:#ffffff;width:1.5rem;height:1.5rem;left:-1px;margin-top:-.75rem;border-radius:50%;transition-duration:.2s;transition-property:box-shadow transform;box-shadow:0 3px 1px -2px var(--color-palette-black-op-20),0 2px 2px 0 var(--color-palette-black-op-10),0 1px 5px 0 var(--color-palette-black-op-10)}.p-inputswitch.p-inputswitch-checked .p-inputswitch-slider:before{transform:translate(1.5rem);background:var(--color-palette-primary-500)}.p-inputswitch.p-focus .p-inputswitch-slider{outline:0 none;outline-offset:0;box-shadow:none}.p-inputswitch:not(.p-disabled):hover .p-inputswitch-slider{background:#afb3c0}.p-inputswitch.p-inputswitch-checked .p-inputswitch-slider{background:var(--color-palette-primary-op-10)}.p-inputswitch.p-inputswitch-checked:not(.p-disabled):hover .p-inputswitch-slider{background:var(--color-palette-primary-100)}.p-inputswitch:not(.p-disabled):hover .p-inputswitch-slider:before{box-shadow:0 3px 1px -2px var(--color-palette-black-op-20),0 2px 2px 0 var(--color-palette-black-op-10),0 1px 5px 0 var(--color-palette-black-op-10),0 0 1px 10px #0000000a}.p-inputswitch.p-inputswitch-focus .p-inputswitch-slider:before,.p-inputswitch.p-inputswitch-focus:not(.p-disabled):hover .p-inputswitch-slider:before{box-shadow:0 0 1px 10px var(--color-palette-black-op-10),0 3px 1px -2px var(--color-palette-black-op-20),0 2px 2px 0 var(--color-palette-black-op-10),0 1px 5px 0 var(--color-palette-black-op-10)}.p-inputswitch.p-inputswitch-checked:not(.p-disabled):hover .p-inputswitch-slider:before{box-shadow:0 0 1px 10px #3f51b50a,0 3px 1px -2px var(--color-palette-black-op-20),0 2px 2px 0 var(--color-palette-black-op-10),0 1px 5px 0 var(--color-palette-black-op-10)}.p-inputswitch.p-inputswitch-checked.p-inputswitch-focus .p-inputswitch-slider:before,.p-inputswitch.p-inputswitch-checked.p-inputswitch-focus:not(.p-disabled):hover .p-inputswitch-slider:before{box-shadow:0 0 1px 10px #3f51b51f,0 3px 1px -2px var(--color-palette-black-op-20),0 2px 2px 0 var(--color-palette-black-op-10),0 1px 5px 0 var(--color-palette-black-op-10)}#form-field-base,#form-field-extend,.p-inputtext:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input){background-color:#fff;height:2.5rem;border-radius:.375rem;border:1.5px solid #d1d4db;padding:0 .5rem;color:#6c7389;font-size:1rem}#form-field-base.p-filled,.p-filled#form-field-extend,.p-filled.p-inputtext:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input){color:#14151a}#form-field-sm,.p-inputtext:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input).p-inputtext-sm{height:2rem;font-size:.813rem;border-radius:.25rem}#form-field-hover,#form-field-states:enabled:hover,#form-field-extend:enabled:hover,.p-inputtext:enabled:hover:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input),#form-field-states:hover,#form-field-extend:hover,.p-inputtext:hover:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input){border-color:var(--color-palette-primary-400)}#form-field-focus,#form-field-states:enabled:active,#form-field-extend:enabled:active,.p-inputtext:enabled:active:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input),#form-field-states:enabled:focus,#form-field-extend:enabled:focus,.p-inputtext:enabled:focus:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input),#form-field-states:active,#form-field-extend:active,.p-inputtext:active:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input),#form-field-states:focus,#form-field-extend:focus,.p-inputtext:focus:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input){border-color:var(--color-palette-primary-400);outline:2.8px solid var(--color-palette-primary-op-20)}#form-field-disabled,#field-panel-item-disabled,#form-field-states:disabled,#form-field-extend:disabled,.p-inputtext:disabled:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input){border-color:#f3f3f4;background:#fafafb;color:#afb3c0}.p-inputtext:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input).p-inputtextarea{padding:.5rem;min-height:4rem}.p-inputtext:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input):disabled::placeholder{color:#afb3c0}.p-input-icon-right i.pi{color:var(--color-palette-primary-500);cursor:pointer;right:.5rem;margin-top:0;transform:translateY(-50%);-moz-transform:translateY(-50%)}.p-input-icon-right:has(.p-inputtext.p-inputtext-sm) i{font-size:.813rem}.p-input-icon-right i.pi:nth-of-type(1){right:.5rem}.p-input-icon-right i.pi:nth-of-type(2){right:2rem}.p-input-icon-right .p-inputtext{padding-right:2.5rem}#form-field-base,.p-multiselect,#form-field-extend{background-color:#fff;height:2.5rem;border-radius:.375rem;border:1.5px solid #d1d4db;padding:0 .5rem;color:#6c7389;font-size:1rem}#form-field-base.p-filled,.p-filled.p-multiselect,.p-filled#form-field-extend{color:#14151a}#form-field-hover,.p-multiselect:not(.p-multiselect-open):hover,#form-field-states:enabled:hover,#form-field-extend:enabled:hover,#form-field-states:hover,#form-field-extend:hover{border-color:var(--color-palette-primary-400)}#form-field-focus,.p-multiselect:not(.p-disabled).p-focus,.p-multiselect.p-multiselect-open,#form-field-states:enabled:active,#form-field-extend:enabled:active,#form-field-states:enabled:focus,#form-field-extend:enabled:focus,#form-field-states:active,#form-field-extend:active,#form-field-states:focus,#form-field-extend:focus{border-color:var(--color-palette-primary-400);outline:2.8px solid var(--color-palette-primary-op-20)}#form-field-disabled,.p-multiselect.p-disabled,#field-panel-item-disabled,.p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-disabled,.p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight.p-disabled,#form-field-states:disabled,#form-field-extend:disabled{border-color:#f3f3f4;background:#fafafb;color:#afb3c0}#field-trigger,.p-multiselect .p-multiselect-trigger{background:#f3f3f4;color:var(--color-palette-primary-500);width:2.5rem;border-top-right-radius:.375rem;border-bottom-right-radius:.375rem;height:100%}#field-trigger-icon,.p-multiselect .p-multiselect-trigger .p-multiselect-trigger-icon{padding:.5rem;font-size:14px}#field-panel,.p-multiselect-panel{background:#ffffff;color:#14151a;border:0 none;border-radius:.375rem;box-shadow:0 0 4px #14151a0a,0 8px 16px #14151a14;padding:.5rem;margin-top:.5rem}#field-panel-header,.p-multiselect-panel .p-multiselect-header{padding:.75rem;border-bottom:1.5px solid var(--color-palette-black-op-10);color:#14151a;background:#ffffff;margin:0;border-top-right-radius:.125rem;border-top-left-radius:.125rem}#field-panel-filter,.p-multiselect-panel .p-multiselect-header .p-multiselect-filter-container .p-multiselect-filter{padding-right:3rem;color:#14151a}#field-panel-filter-icon,.p-multiselect-panel .p-multiselect-header .p-multiselect-filter-container .p-multiselect-filter-icon{right:.75rem;color:var(--color-palette-primary-500)}#field-panel-items,.p-multiselect-panel .p-multiselect-items{padding:0}#field-panel-item,.p-multiselect-panel .p-multiselect-items .p-multiselect-item{display:flex;align-items:center;padding:0 .75rem;color:#14151a;height:2.5rem;gap:.5rem}#field-panel-item-highlight,.p-multiselect-panel .p-multiselect-items .p-multiselect-item:focus,.p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight{background:var(--color-palette-primary-200)}#field-panel-item-hover,.p-multiselect-panel .p-multiselect-items .p-multiselect-item:not(.p-highlight):not(.p-disabled):hover{background:var(--color-palette-primary-100)}#field-panel-item-disabled,.p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-disabled,.p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight.p-disabled{cursor:initial}#field-chip,.p-multiselect.p-multiselect-chip .p-multiselect-token{height:1.5rem;padding:.5rem;background:var(--color-palette-primary-200);border-radius:.25rem;color:var(--color-palette-primary-500);font-size:.813rem;display:flex;align-items:center;justify-content:center;gap:.25rem}.p-multiselect{min-width:13rem;padding-right:0;min-height:2.5rem;height:auto}.p-multiselect .p-multiselect-label-container{display:flex;align-items:center;padding-right:.5rem}.p-multiselect .p-multiselect-label-container .p-multiselect-label:not(.p-placeholder){color:#14151a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.p-multiselect .p-multiselect-label-container .p-multiselect-label:not(.p-placeholder):has(> .p-multiselect-token){padding:.5rem 0;height:auto;flex-wrap:wrap;overflow:visible}.p-multiselect .p-multiselect-trigger{height:auto}.p-multiselect.p-disabled .p-multiselect-label-container .p-multiselect-label,.p-multiselect.p-disabled .p-multiselect-trigger .p-multiselect-trigger-icon{color:#6c7389}.p-multiselect.p-multiselect-chip{color:#515667}.p-multiselect.p-multiselect-chip .p-multiselect-label{gap:.25rem}.p-multiselect-panel .p-multiselect-header .p-checkbox{margin-right:.5rem}.p-multiselect-panel .p-multiselect-header .p-multiselect-close{margin-left:.5rem;width:2rem;height:2rem;color:var(--color-palette-primary-500);border:0 none;background:transparent;border-radius:50%}.p-multiselect-panel .p-multiselect-header .p-multiselect-close:hover{background-color:var(--color-palette-primary-op-10)}.p-multiselect-panel .p-multiselect-header .p-multiselect-close:active{background-color:var(--color-palette-primary-op-20)}.p-multiselect-panel .p-multiselect-header .p-multiselect-close:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}.p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message{padding:.75rem;color:#14151a;background:transparent}#form-field-base,#form-field-extend{background-color:#fff;height:2.5rem;border-radius:.375rem;border:1.5px solid #d1d4db;padding:0 .5rem;color:#6c7389;font-size:1rem}#form-field-base.p-filled,.p-filled#form-field-extend{color:#14151a}#form-field-sm{height:2rem;font-size:.813rem;border-radius:.25rem}#form-field-hover,#form-field-states:enabled:hover,#form-field-extend:enabled:hover,#form-field-states:hover,#form-field-extend:hover{border-color:var(--color-palette-primary-400)}#form-field-focus,#form-field-states:enabled:active,#form-field-extend:enabled:active,#form-field-states:enabled:focus,#form-field-extend:enabled:focus,#form-field-states:active,#form-field-extend:active,#form-field-states:focus,#form-field-extend:focus{border-color:var(--color-palette-primary-400);outline:2.8px solid var(--color-palette-primary-op-20)}#form-field-disabled,#field-panel-item-disabled,#form-field-states:disabled,#form-field-extend:disabled{border-color:#f3f3f4;background:#fafafb;color:#afb3c0}#field-trigger{background:#f3f3f4;color:var(--color-palette-primary-500);width:2.5rem;border-top-right-radius:.375rem;border-bottom-right-radius:.375rem;height:100%}#field-trigger-sm{width:2rem;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}#field-trigger-icon{padding:.5rem;font-size:14px}#field-panel{background:#ffffff;color:#14151a;border:0 none;border-radius:.375rem;box-shadow:0 0 4px #14151a0a,0 8px 16px #14151a14;padding:.5rem;margin-top:.5rem}#field-panel-header{padding:.75rem;border-bottom:1.5px solid var(--color-palette-black-op-10);color:#14151a;background:#ffffff;margin:0;border-top-right-radius:.125rem;border-top-left-radius:.125rem}#field-panel-filter{padding-right:3rem;color:#14151a}#field-panel-filter-icon{right:.75rem;color:var(--color-palette-primary-500)}#field-panel-items{padding:0}#field-panel-item{display:flex;align-items:center;padding:0 .75rem;color:#14151a;height:2.5rem;gap:.5rem}#field-panel-item-highlight{background:var(--color-palette-primary-200)}#field-panel-item-hover{background:var(--color-palette-primary-100)}#field-panel-item-disabled{cursor:initial}#field-chip{height:1.5rem;padding:.5rem;background:var(--color-palette-primary-200);border-radius:.25rem;color:var(--color-palette-primary-500);font-size:.813rem;display:flex;align-items:center;justify-content:center;gap:.25rem}p-radiobutton.p-element{gap:.5rem}p-radiobutton.p-element.ng-dirty.ng-invalid .p-radiobutton:not(.p-radiobutton-disabled){border-color:#f65446}p-radiobutton.p-element .p-radiobutton{height:1.5rem;aspect-ratio:1/1;border-radius:50%;border:2px solid #d1d4db}p-radiobutton.p-element .p-radiobutton .p-radiobutton-box{height:1.25rem;border-radius:inherit;aspect-ratio:inherit}p-radiobutton.p-element .p-radiobutton .p-radiobutton-box .p-radiobutton-icon{height:.875rem;aspect-ratio:inherit;border-radius:inherit}p-radiobutton.p-element .p-radiobutton.p-radiobutton-checked{border-color:var(--color-palette-primary-500)}p-radiobutton.p-element .p-radiobutton.p-radiobutton-checked .p-radiobutton-box.p-highlight .p-radiobutton-icon{background-color:var(--color-palette-primary-500)}p-radiobutton.p-element .p-radiobutton.p-radiobutton-disabled{border-color:#d1d4db;background-color:#f3f3f4}p-radiobutton.p-element .p-radiobutton.p-radiobutton-disabled .p-radiobutton-box.p-highlight .p-radiobutton-icon{background-color:#d1d4db}p-radiobutton.p-element .p-radiobutton-label{font-size:1rem}p-radiobutton.p-element .p-radiobutton-label.p-disabled{color:#afb3c0}p-radiobutton.p-element:hover:not(:has(.p-radiobutton-disabled)){cursor:pointer}p-radiobutton.p-element:hover:not(:has(.p-radiobutton-disabled)) .p-radiobutton{border-color:var(--color-palette-primary-400)}p-radiobutton.p-element:hover:not(:has(.p-radiobutton-disabled)) .p-radiobutton-label:hover{cursor:pointer}p-radiobutton.p-element .p-radiobutton-focused{outline:1.5px solid var(--color-palette-primary-op-20)}.p-selectbutton .p-button{background:transparent;border:1px solid #afb3c0;color:#6c7389;transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s,background-size .2s cubic-bezier(.64,.09,.08,1);text-transform:uppercase}.p-selectbutton .p-button:not(.p-disabled):not(.p-highlight):hover{background-color:var(--color-palette-primary-100);color:#515667}.p-selectbutton .p-button.p-highlight .p-button-icon-left,.p-selectbutton .p-button.p-highlight .p-button-icon-right{color:#6c7389}.p-selectbutton .p-button.p-highlight:hover{background:var(--color-palette-primary-op-10);border-color:var(--color-palette-primary-op-10);color:#14151a}.p-selectbutton .p-button.p-highlight:hover .p-button-icon-left,.p-selectbutton .p-button.p-highlight:hover .p-button-icon-right{color:#14151a}.p-selectbutton .p-button:focus{background:var(--color-palette-primary-op-10);border-color:var(--color-palette-primary-op-10)}.p-selectbutton .p-button:focus.p-highlight{background:var(--color-palette-primary-op-10);border-color:#afb3c0;color:#515667}.p-button-tabbed{box-shadow:0 1px #afb3c0;display:inline-block}.p-button-tabbed .p-button{border-radius:0;padding:1rem;border:none}.p-button-tabbed .p-button:focus.p-highlight,.p-button-tabbed .p-button.p-highlight{color:#515667;box-shadow:0 -4px 0 0 var(--color-palette-primary-500) inset}.p-button-compact .p-button{padding-left:1rem;padding-right:1rem}.p-button-compact .p-button.p-highlight{background-color:var(--color-palette-primary-500);color:#fff}.p-button-compact .p-button.p-highlight:focus{background-color:var(--color-palette-primary-500);color:#fff}.p-selectbutton .p-disabled{opacity:.38}.p-slider{background:#ebecef;border:0 none;border-radius:6px}.p-slider.p-slider-horizontal{height:.286rem}.p-slider.p-slider-horizontal .p-slider-handle{margin-top:-.5715rem;margin-left:-.5715rem}.p-slider.p-slider-vertical{width:.286rem}.p-slider.p-slider-vertical .p-slider-handle{margin-left:-.5715rem;margin-bottom:-.5715rem}.p-slider .p-slider-handle{height:1.143rem;width:1.143rem;background:#ffffff;border:2px solid var(--color-palette-primary-500);border-radius:50%;transition:background-color .2s,color .2s,border-color .2s,box-shadow .2s}.p-slider .p-slider-handle:focus{outline:0 none;outline-offset:0;box-shadow:0 0 0 .2rem var(--color-palette-primary-400)}.p-slider .p-slider-range{background:var(--color-palette-primary-500)}.p-slider:not(.p-disabled) .p-slider-handle:hover{background:var(--color-palette-primary-500);border-color:var(--color-palette-primary-500)}.p-slider.p-slider-animate.p-slider-horizontal .p-slider-handle{transition:background-color .2s,color .2s,border-color .2s,box-shadow .2s,left .2s}.p-slider.p-slider-animate.p-slider-horizontal .p-slider-range{transition:width .2s}.p-slider.p-slider-animate.p-slider-vertical .p-slider-handle{transition:background-color .2s,color .2s,border-color .2s,box-shadow .2s,bottom .2s}.p-slider.p-slider-animate.p-slider-vertical .p-slider-range{transition:height .2s}.p-inplace .p-inplace-display{padding:1rem;border-radius:.125rem;transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s,background-size .2s cubic-bezier(.64,.09,.08,1)}.p-inplace .p-inplace-display:not(.p-disabled):hover{background:var(--color-palette-primary-100);color:#14151a}.p-inplace .p-inplace-display:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-listbox{background:#ffffff;color:#14151a;border:none;border-radius:.25rem}.p-listbox.p-component .p-listbox-header{padding:.75rem;border-bottom:1px solid var(--color-palette-black-op-10);color:#14151a;background:#ffffff;margin:0;border-top-right-radius:.25rem;border-top-left-radius:.25rem}.p-listbox .p-listbox-header .p-listbox-filter{padding-right:2.5rem}.p-listbox .p-listbox-header .p-listbox-filter-icon{right:.75rem;color:#14151a}.p-listbox .p-listbox-header .p-checkbox{margin-right:.5rem}.p-listbox .p-listbox-list{padding:0}.p-listbox .p-listbox-list .p-listbox-item{margin:0;padding:.5rem .75rem;border:0 none;color:#14151a;transition:none;border-radius:0}.p-listbox .p-listbox-list .p-listbox-item.p-highlight{color:var(--color-palette-primary-500);background:var(--color-palette-primary-op-10)}.p-listbox .p-listbox-list .p-listbox-item:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-listbox .p-listbox-list .p-listbox-item .p-checkbox{margin-right:.5rem}.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover{color:#14151a;background:var(--color-palette-primary-100)}.p-listbox-item .p-ink{background-color:var(--color-palette-primary-op-10)}.p-menu{padding:.5rem 0;background:#ffffff;color:#14151a;border:1px solid #afb3c0;border-radius:.375rem;width:12.5rem}.p-menu .p-menuitem-link{padding:.75rem;color:#14151a;border-radius:0;transition:none;-webkit-user-select:none;user-select:none}.p-menu .p-menuitem-link .p-menuitem-text{color:#14151a}.p-menu .p-menuitem-link .p-menuitem-icon{color:#6c7389;margin-right:.5rem}.p-menu .p-menuitem-link .p-submenu-icon{color:#14151a}.p-menu .p-menuitem-link:not(.p-disabled):hover{background:var(--color-palette-primary-100)}.p-menu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text{color:#14151a}.p-menu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon{color:#14151a}.p-menu .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon{color:#14151a}.p-menu .p-menuitem-link:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-menu.p-menu-overlay{background:#ffffff;border:0 none;box-shadow:0 2px 4px -1px var(--color-palette-black-op-20),0 4px 5px 0 var(--color-palette-black-op-10),0 1px 10px 0 var(--color-palette-black-op-10)}.p-menu .p-submenu-header{margin:0;padding:.75rem;color:#14151a;background:#ffffff;font-weight:700;border-top-right-radius:0;border-top-left-radius:0}.p-menu .p-menu-separator{border-top:1px solid var(--color-palette-black-op-10);margin:.5rem 0}.p-menu .p-disabled{opacity:.38}.p-inline-message{padding:.75rem;margin:0;border-radius:.125rem}.p-inline-message.p-inline-message-info{background:#b3e5fc;border:solid transparent;border-width:1px;color:#01579b}.p-inline-message.p-inline-message-info .p-inline-message-icon{color:#01579b}.p-inline-message.p-inline-message-success{background:#c8e6c9;border:solid transparent;border-width:1px;color:#1b5e20}.p-inline-message.p-inline-message-success .p-inline-message-icon{color:#1b5e20}.p-inline-message.p-inline-message-warn{background:#ffecb3;border:solid transparent;border-width:1px;color:#7f6003}.p-inline-message.p-inline-message-warn .p-inline-message-icon{color:#7f6003}.p-inline-message.p-inline-message-error{background:#ffcdd2;border:solid transparent;border-width:1px;color:#b71c1c}.p-inline-message.p-inline-message-error .p-inline-message-icon{color:#b71c1c}.p-inline-message .p-inline-message-icon{font-size:1rem;margin-right:.5rem}.p-inline-message .p-inline-message-text{font-size:1rem}.p-inline-message.p-inline-message-icon-only .p-inline-message-icon{margin-right:0}.p-message{margin:.75rem 0;border-radius:.125rem}.p-message .p-message-wrapper{padding:1rem 1.5rem}.p-message .p-message-close{width:2rem;height:2rem;border-radius:50%;background:transparent;transition:background-color .2s,color .2s,box-shadow .2s}.p-message .p-message-close:hover{background:var(--color-palette-white-op-30)}.p-message .p-message-close:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-message.p-message-info{background:#b3e5fc;border:solid transparent;border-width:0 0 0 0;color:#01579b}.p-message.p-message-info .p-message-icon,.p-message.p-message-info .p-message-close{color:#01579b}.p-message.p-message-success{background:#c8e6c9;border:solid transparent;border-width:0 0 0 0;color:#1b5e20}.p-message.p-message-success .p-message-icon,.p-message.p-message-success .p-message-close{color:#1b5e20}.p-message.p-message-warn{background:#ffecb3;border:solid transparent;border-width:0 0 0 0;color:#7f6003}.p-message.p-message-warn .p-message-icon,.p-message.p-message-warn .p-message-close{color:#7f6003}.p-message.p-message-error{background:#ffcdd2;border:solid transparent;border-width:0 0 0 0;color:#b71c1c}.p-message.p-message-error .p-message-icon,.p-message.p-message-error .p-message-close{color:#b71c1c}.p-message .p-message-text{font-size:1rem;font-weight:500}.p-message .p-message-icon{font-size:1.5rem;margin-right:.5rem}.p-message .p-message-summary{font-weight:700}.p-message .p-message-detail{margin-left:.5rem}.p-overlaypanel{background:#ffffff;color:#14151a;border:0 none;border-radius:.375rem;box-shadow:0 10px 20px 0 var(--color-palette-black-op-10)}.p-overlaypanel .p-overlaypanel-content{padding:1.5rem}.p-overlaypanel .p-overlaypanel-close{background:var(--color-palette-primary-500);color:#fff;width:2rem;height:2rem;transition:background-color .2s,color .2s,box-shadow .2s;border-radius:50%;position:absolute;top:-1rem;right:-1rem}.p-overlaypanel .p-overlaypanel-close:enabled:hover{background:var(--color-palette-primary-100);color:#fff}.p-paginator{background:#ffffff;color:#14151a;border:solid #ebecef;border-width:0;padding:.375rem .75rem;border-radius:.125rem;justify-content:flex-end}.p-paginator .p-paginator-first,.p-paginator .p-paginator-prev,.p-paginator .p-paginator-next,.p-paginator .p-paginator-last{background-color:transparent;border:0 none;color:#14151a;min-width:3rem;height:3rem;margin:.143rem;transition:none;border-radius:50%}.p-paginator .p-paginator-first:not(.p-disabled):not(.p-highlight):hover,.p-paginator .p-paginator-prev:not(.p-disabled):not(.p-highlight):hover,.p-paginator .p-paginator-next:not(.p-disabled):not(.p-highlight):hover,.p-paginator .p-paginator-last:not(.p-disabled):not(.p-highlight):hover{background:var(--color-palette-primary-100);border-color:transparent;color:#14151a}.p-paginator .p-paginator-first{border-top-left-radius:.125rem;border-bottom-left-radius:.125rem}.p-paginator .p-paginator-last{border-top-right-radius:.125rem;border-bottom-right-radius:.125rem}.p-paginator .p-dropdown{margin-left:.5rem;height:3rem}.p-paginator .p-dropdown .p-dropdown-label{padding-right:0}.p-paginator .p-paginator-current{background-color:transparent;border:0 none;color:#14151a;min-width:3rem;height:3rem;margin:.143rem;padding:0 .5rem}.p-paginator .p-paginator-pages .p-paginator-page{background-color:transparent;border:0 none;color:#14151a;min-width:3rem;height:3rem;margin:.143rem;transition:none;border-radius:50%}.p-paginator .p-paginator-pages .p-paginator-page.p-highlight{background:var(--color-palette-primary-op-10);color:var(--color-palette-primary-500)}.p-paginator .p-paginator-pages .p-paginator-page:not(.p-highlight):hover{background:#f3f3f4;border-color:transparent;color:#14151a}.p-paginator-bottom{border:none}p-panel{display:block;margin-bottom:2rem}.p-panel-toggleable{cursor:pointer;background-color:var(--color-palette-primary-100)}.p-panel-toggleable.p-panel-expanded{cursor:default}.p-panel-header{font-size:1.5rem;margin:.5rem 0;padding:1rem 0;position:relative}.p-panel-header .p-panel-icons span{color:var(--color-palette-primary-500);font-size:1.5rem;margin-left:.5rem;margin-right:.75rem}.p-panel-icons{display:flex;justify-content:end;flex:1}.p-panel-header .p-panel-icons span.pi{margin-right:1.5rem}p-progressspinner .p-progress-spinner{height:38px;width:38px}p-progressspinner .p-progress-spinner-circle{stroke:var(--color-palette-primary-500)!important;stroke-width:6px}.p-progressbar{border:0 none;height:4px;background:var(--color-palette-primary-op-10);border-radius:0}.p-progressbar .p-progressbar-value{border:0 none;margin:0;background:var(--color-palette-primary-500)}.p-progressbar .p-progressbar-label{color:#14151a;line-height:4px}.p-sidebar{background:#ffffff;border:0 none;box-shadow:0 1px 3px var(--color-palette-black-op-10),0 1px 2px var(--color-palette-black-op-20)}.p-sidebar .p-sidebar-header{padding:1.5rem}.p-sidebar .p-sidebar-header .p-sidebar-close,.p-sidebar .p-sidebar-header .p-sidebar-icon{width:2rem;height:2rem;border:0 none;background:transparent;border-radius:50%;transition:background-color .2s,color .2s,box-shadow .2s}.p-sidebar .p-sidebar-header .p-sidebar-close:enabled:hover,.p-sidebar .p-sidebar-header .p-sidebar-icon:enabled:hover{border-color:transparent}.p-sidebar .p-sidebar-header .p-sidebar-close:focus,.p-sidebar .p-sidebar-header .p-sidebar-icon:focus{outline:0 none;outline-offset:0}.p-sidebar .p-sidebar-content{padding:1rem;height:100%}.p-sidebar-mask{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.p-sidebar-mask.p-component-overlay-enter{animation:p-component-overlay-enter-animation .15s forwards}.p-sidebar-mask.p-component-overlay-leave{animation:p-component-overlay-leave-animation .15s forwards}@keyframes p-component-overlay-enter-animation{0%{background-color:transparent}to{background-color:var(--color-palette-black-op-80)}}@keyframes p-component-overlay-leave-animation{0%{background-color:var(--color-palette-black-op-80)}to{background-color:transparent}}.p-skeleton{background-color:#fafafb;border-radius:3px}.p-skeleton:after{background:linear-gradient(90deg,#ffffff,var(--color-palette-white-op-40),#ffffff)}.p-tabview .p-tabview-nav{border:solid var(--color-palette-black-op-10);border-width:0 0 1px 0;position:relative}.p-tabview .p-tabview-nav li{margin-right:0}.p-tabview-title{text-transform:capitalize}.p-tabview .p-tabview-nav li .p-tabview-nav-link{border:none;border-radius:0;color:#14151a;padding:1.2rem 1.5rem 1.35rem;transition:none;margin:0;white-space:nowrap}.p-tabview .p-tabview-nav li .p-tabview-nav-link:not(.p-disabled):focus{outline:0 none;outline-offset:0;box-shadow:none}.p-tabview .p-tabview-nav li:not(.p-highlight):not(.p-disabled) .p-tabview-nav-link:hover{background:var(--color-palette-primary-100);color:#14151a;background-clip:padding-box;border-bottom:4px solid var(--color-palette-primary-100)}.p-tabview .p-tabview-nav li.p-highlight .p-tabview-nav-link{border-bottom:4px solid var(--color-palette-primary-500)}.p-tabview .p-tabview-left-icon{margin-right:.5rem}.p-tabview .p-tabview-right-icon,.p-tabview .p-tabview-close{margin-left:.5rem}.p-tabview .p-tabview-panels{border:0 none;color:#14151a;padding:1.5rem 0;border-bottom-right-radius:.125rem;border-bottom-left-radius:.125rem}.p-tabview .p-tabview-nav li .p-tabview-nav-link>.p-ink{background-color:#3f51b529}.p-tabview .p-tabview-nav li .p-tabview-nav-link:focus{background-color:var(--color-palette-primary-op-10)}.p-tabview .p-tabview-nav .p-tabview-ink-bar{display:none}.p-tabview-nav-next.p-link,.p-tabview-nav-prev.p-link{width:40px}.p-tabview-nav-next.p-link{border-left:none;background:#f3f3f4}.p-tabview-nav-prev.p-link{border-right:none;background:#f3f3f4}.p-tag{display:inline-flex;align-items:center;justify-content:center;background:var(--color-palette-primary-500);color:#fff;font-size:1rem;font-weight:400;padding:.5rem 1rem;border-radius:7px}p-tag.sm.sm .p-tag{font-size:.813rem;padding:.5rem .75rem}p-tag.sm.sm .p-tag .p-tag-value{line-height:1rem}.p-tag .p-tag-icon{margin-right:.5rem;font-size:.625rem}p-tag.p-tag-success .p-tag{background-color:#f5fdf8;color:#0b6948}p-tag.p-tag-info .p-tag{background-color:var(--color-palette-primary-op-10);color:var(--color-palette-primary-600)}p-tag.p-tag-warning .p-tag{background-color:#fff8ec;color:#ffb444}p-tag.p-tag-error .p-tag{background-color:#fff6f6;color:#f65446}.p-tieredmenu{padding:.5rem 0;background:#ffffff;border:0 none;border-radius:.125rem;width:100%}.p-tieredmenu .p-menuitem-link{padding:.75rem;color:var(--color-palette-primary-800);border-radius:0;transition:none;-webkit-user-select:none;user-select:none}.p-tieredmenu .p-menuitem-link:not(.p-disabled):hover{background:#f3f3f4}.p-tieredmenu.p-tieredmenu-overlay{box-shadow:0 10px 24px 0 var(--color-palette-black-op-20)}.p-toast .p-toast-message{line-height:1.5;background-color:#fff;margin:0 0 1rem;box-shadow:0 1px 3px var(--color-palette-black-op-10),0 1px 2px var(--color-palette-black-op-20);border-radius:.125rem;border:solid transparent;border-width:0 0 0 0;color:#14151a}.p-toast .p-toast-message .p-toast-message-content{padding:1.5rem;border-width:0 0 0 0}.p-toast .p-toast-message .p-toast-message-content .p-toast-message-text{margin:0 1rem}.p-toast .p-toast-message .p-toast-message-content .p-toast-message-icon{font-size:1.5rem;width:28px}.p-toast .p-toast-message .p-toast-message-content .p-toast-summary{font-weight:700}.p-toast .p-toast-message .p-toast-message-content .p-toast-detail{margin:.5rem 0 0}.p-toast .p-toast-message .p-toast-icon-close{width:2rem;height:2rem;border-radius:50%;background:transparent;transition:background-color .2s,color .2s,box-shadow .2s;color:#515667;position:absolute;top:.75rem;right:.75rem}.p-toast .p-toast-message .p-toast-icon-close:hover{background:var(--color-palette-white-op-30)}.p-toast .p-toast-message .p-toast-icon-close:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-toolbar{background-color:#fff;border-bottom:solid 1px #f3f3f4;display:flex;padding:.5rem 1.5rem}.p-toolbar.p-corner-all{border-radius:0}.p-toolbar-group-left,.p-toolbar-group-right{align-items:center;display:flex;flex:1}.p-toolbar-group-left{justify-content:flex-start}.p-toolbar-group-right{justify-content:flex-end}.p-tooltip .p-tooltip-text{background:#3d404d;color:#fff;padding:.75rem 1rem;font-size:1rem;box-shadow:none;border-radius:.125rem}.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#3d404d}.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#3d404d}.p-tooltip.p-tooltip-top .p-tooltip-arrow{border-top-color:#3d404d}.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#3d404d}.p-tree{border:1px solid #afb3c0;background:#ffffff;color:#14151a;padding:.75rem;border-radius:.125rem}.p-tree .p-tree-container .p-treenode{padding:.25rem}.p-tree .p-tree-container .p-treenode .p-treenode-content{border-radius:.125rem;transition:none;padding:.571rem}.p-tree .p-tree-container .p-treenode .p-treenode-content .p-tree-toggler{margin-right:.5rem;width:2rem;height:2rem;color:#14151a;border:0 none;background:transparent;border-radius:50%;transition:background-color .2s,color .2s,box-shadow .2s}.p-tree .p-tree-container .p-treenode .p-treenode-content .p-tree-toggler:enabled:hover{color:#14151a;border-color:transparent;background:var(--color-palette-primary-100)}.p-tree .p-tree-container .p-treenode .p-treenode-content .p-tree-toggler:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-tree .p-tree-container .p-treenode .p-treenode-content .p-treenode-icon{margin-right:.5rem;color:#14151a}.p-tree .p-tree-container .p-treenode .p-treenode-content .p-checkbox{margin-right:.5rem}.p-tree .p-tree-container .p-treenode .p-treenode-content .p-checkbox .p-indeterminate .p-checkbox-icon{color:#14151a}.p-tree .p-tree-container .p-treenode .p-treenode-content:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight{background:var(--color-palette-primary-op-10);color:var(--color-palette-primary-500)}.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight .p-tree-toggler,.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight .p-treenode-icon{color:var(--color-palette-primary-500)}.p-tree .p-tree-container .p-treenode .p-treenode-content.p-treenode-selectable:not(.p-highlight):hover{background:var(--color-palette-primary-100);color:#14151a}.p-tree .p-tree-container .p-treenode .p-treenode-content.p-treenode-dragover{background:rgba(0,0,0,.04);color:#14151a}.p-tree .p-tree-filter-container{margin-bottom:.5rem}.p-tree .p-tree-filter-container .p-tree-filter{width:100%;padding-right:2.5rem}.p-tree .p-tree-filter-container .p-tree-filter-icon{right:.75rem;color:#14151a}.p-tree .p-treenode-children{padding:0 0 0 1rem}.p-tree .p-tree-loading-icon{font-size:3rem}.p-tree .p-treenode-droppoint.p-treenode-droppoint-active{background-color:#3241911f}.p-tree.p-tree-horizontal .p-treenode .p-treenode-content{border-radius:.125rem;border:1px solid #afb3c0;background-color:#fff;color:#14151a;padding:.571rem;transition:none}.p-tree.p-tree-horizontal .p-treenode .p-treenode-content.p-highlight{background-color:var(--color-palette-primary-op-10);color:var(--color-palette-primary-500)}.p-tree.p-tree-horizontal .p-treenode .p-treenode-content.p-highlight .p-treenode-icon{color:var(--color-palette-primary-500)}.p-tree.p-tree-horizontal .p-treenode .p-treenode-content .p-tree-toggler{margin-right:.5rem}.p-tree.p-tree-horizontal .p-treenode .p-treenode-content .p-treenode-icon{color:#14151a;margin-right:.5rem}.p-tree.p-tree-horizontal .p-treenode .p-treenode-content .p-checkbox{margin-right:.5rem}.p-tree.p-tree-horizontal .p-treenode .p-treenode-content .p-checkbox .p-checkbox-icon{color:var(--color-palette-primary-500)}.p-tree.p-tree-horizontal .p-treenode .p-treenode-content .p-treenode-label:not(.p-highlight):hover{background-color:inherit;color:inherit}.p-tree.p-tree-horizontal .p-treenode .p-treenode-content.p-treenode-selectable:not(.p-highlight):hover{background:var(--color-palette-primary-100);color:#14151a}.p-tree.p-tree-horizontal .p-treenode .p-treenode-content:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-error,.p-invalid{color:#f65446}p-inputmask.ng-dirty.ng-invalid>.p-inputtext{border-color:#f65446}p-inputnumber.ng-dirty.ng-invalid>.p-inputnumber>.p-inputtext{border-color:#f65446}.p-inputswitch.p-error,.p-inputswitch.p-invalid{border-color:#f65446}p-inputswitch.ng-dirty.ng-invalid>.p-inputswitch{border-color:#f65446}.p-inputtext.p-error,.p-inputtext.p-invalid,.p-inputtext.ng-dirty.ng-invalid{border-color:#f65446}.p-inputtext.p-error:hover,.p-inputtext.p-error:active,.p-inputtext.p-error:focus,.p-inputtext.p-invalid:hover,.p-inputtext.p-invalid:active,.p-inputtext.p-invalid:focus,.p-inputtext.ng-dirty.ng-invalid:hover,.p-inputtext.ng-dirty.ng-invalid:active,.p-inputtext.ng-dirty.ng-invalid:focus{border-color:#f65446}p-listbox.ng-dirty.ng-invalid>.p-listbox{border-color:#f65446}.p-listbox.p-error,.p-listbox.p-invalid{border-color:#f65446}p-multiselect.ng-dirty.ng-invalid>.p-multiselect{border-color:#f65446}p-multiselect.ng-dirty.ng-invalid>.p-multiselect:hover,p-multiselect.ng-dirty.ng-invalid>.p-multiselect:active,p-multiselect.ng-dirty.ng-invalid>.p-multiselect:focus{border-color:#f65446}.p-radiobutton.p-error>.p-radiobutton-box,.p-radiobutton.p-invalid>.p-radiobutton-box{border-color:#f65446}p-radiobutton.ng-dirty.ng-invalid>.p-radiobutton>.p-radiobutton-box{border-color:#f65446}.p-selectbutton.p-error>.p-button,.p-selectbutton.p-invalid>.p-button{border-color:#f65446}p-selectbutton.ng-dirty.ng-invalid>.p-selectbutton>.p-button{border-color:#f65446}.p-togglebutton.p-button.p-error,.p-togglebutton.p-button.p-invalid{border-color:#f65446}p-togglebutton.ng-dirty.ng-invalid>.p-togglebutton.p-button{border-color:#f65446}.p-multiselect.p-error,.p-multiselect.p-invalid{border-color:#f65446}.p-multiselect.p-error:hover,.p-multiselect.p-error:active,.p-multiselect.p-error:focus,.p-multiselect.p-invalid:hover,.p-multiselect.p-invalid:active,.p-multiselect.p-invalid:focus{border-color:#f65446}.p-rating .p-rating-icon.p-rating-cancel{color:#f65446}.p-rating:not(.p-disabled):not(.p-readonly) .p-rating-icon.p-rating-cancel:hover{color:#f65446}.p-inputtextarea.ng-invalid:not(.ng-pristine){border-color:#f65446}.p-inputtextarea.ng-invalid:not(.ng-pristine):hover,.p-inputtextarea.ng-invalid:not(.ng-pristine):active,.p-inputtextarea.ng-invalid:not(.ng-pristine):focus{border-color:#f65446}.p-password-panel{padding:.75rem;background:#ffffff;color:#14151a;border:0 none;box-shadow:0 5px 5px -3px var(--color-palette-black-op-20),0 8px 10px 1px var(--color-palette-black-op-10),0 3px 14px 2px var(--color-palette-black-op-10);border-radius:.125rem}.p-password-panel .p-password-meter{margin-bottom:.5rem}@font-face{font-family:primeicons;font-display:block;font-weight:400;font-style:normal;src:url(data:application/font-woff;base64,d09GRgABAAAAAQSgAAsAAAABBFQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIHFmNtYXAAAAFoAAAAVAAAAFQXVtN1Z2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAA+PAAAPjwt9TQjGhlYWQAAPq0AAAANgAAADYegaTEaGhlYQAA+uwAAAAkAAAAJAfqBMBobXR4AAD7EAAAA8wAAAPMwkwotGxvY2EAAP7cAAAB6AAAAeht864ebWF4cAABAMQAAAAgAAAAIAECAaduYW1lAAEA5AAAA5wAAAOcIOdgrHBvc3QAAQSAAAAAIAAAACAAAwAAAAMD/gGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6e4DwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOnu//3//wAAAAAAIOkA//3//wAB/+MXBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQDH/98C5gOfACkAAAU4ATEiJicBLgE1NDY3MQE+ATMyFhUUBgczCQEeARUUBgcxDgEjIjA5AQKnDRcI/l4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ABzADoALwAvAGcAaQB0AGgAdQBiAC4AYwBvAG0ALwBwAHIAaQBtAGUAZgBhAGMAZQBzAC8AcAByAGkAbQBlAGkAYwBvAG4Ac01JVABNAEkAVGh0dHBzOi8vb3BlbnNvdXJjZS5vcmcvbGljZW5zZXMvTUlUAGgAdAB0AHAAcwA6AC8ALwBvAHAAZQBuAHMAbwB1AHIAYwBlAC4AbwByAGcALwBsAGkAYwBlAG4AcwBlAHMALwBNAEkAVFZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMHByaW1laWNvbnMAcAByAGkAbQBlAGkAYwBvAG4Ac3ByaW1laWNvbnMAcAByAGkAbQBlAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcnByaW1laWNvbnMAcAByAGkAbQBlAGkAYwBvAG4AcwADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format("woff")} +@font-face{font-family:primeicons;font-display:block;src:url(primeicons.eot);src:url(primeicons.eot?#iefix) format("embedded-opentype"),url(primeicons.woff2) format("woff2"),url(primeicons.woff) format("woff"),url(primeicons.ttf) format("truetype"),url(primeicons.svg?#primeicons) format("svg");font-weight:400;font-style:normal}.pi{font-family:primeicons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pi:before{--webkit-backface-visibility:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden}.pi-fw{width:1.28571429em;text-align:center}.pi-spin{animation:fa-spin 2s infinite linear}@keyframes fa-spin{0%{transform:rotate(0)}to{transform:rotate(359deg)}}.pi-eraser:before{content:"\ea04"}.pi-stopwatch:before{content:"\ea01"}.pi-verified:before{content:"\ea02"}.pi-delete-left:before{content:"\ea03"}.pi-hourglass:before{content:"\e9fe"}.pi-truck:before{content:"\ea00"}.pi-wrench:before{content:"\e9ff"}.pi-microphone:before{content:"\e9fa"}.pi-megaphone:before{content:"\e9fb"}.pi-arrow-right-arrow-left:before{content:"\e9fc"}.pi-bitcoin:before{content:"\e9fd"}.pi-file-edit:before{content:"\e9f6"}.pi-language:before{content:"\e9f7"}.pi-file-export:before{content:"\e9f8"}.pi-file-import:before{content:"\e9f9"}.pi-file-word:before{content:"\e9f1"}.pi-gift:before{content:"\e9f2"}.pi-cart-plus:before{content:"\e9f3"}.pi-thumbs-down-fill:before{content:"\e9f4"}.pi-thumbs-up-fill:before{content:"\e9f5"}.pi-arrows-alt:before{content:"\e9f0"}.pi-calculator:before{content:"\e9ef"}.pi-sort-alt-slash:before{content:"\e9ee"}.pi-arrows-h:before{content:"\e9ec"}.pi-arrows-v:before{content:"\e9ed"}.pi-pound:before{content:"\e9eb"}.pi-prime:before{content:"\e9ea"}.pi-chart-pie:before{content:"\e9e9"}.pi-reddit:before{content:"\e9e8"}.pi-code:before{content:"\e9e7"}.pi-sync:before{content:"\e9e6"}.pi-shopping-bag:before{content:"\e9e5"}.pi-server:before{content:"\e9e4"}.pi-database:before{content:"\e9e3"}.pi-hashtag:before{content:"\e9e2"}.pi-bookmark-fill:before{content:"\e9df"}.pi-filter-fill:before{content:"\e9e0"}.pi-heart-fill:before{content:"\e9e1"}.pi-flag-fill:before{content:"\e9de"}.pi-circle:before{content:"\e9dc"}.pi-circle-fill:before{content:"\e9dd"}.pi-bolt:before{content:"\e9db"}.pi-history:before{content:"\e9da"}.pi-box:before{content:"\e9d9"}.pi-at:before{content:"\e9d8"}.pi-arrow-up-right:before{content:"\e9d4"}.pi-arrow-up-left:before{content:"\e9d5"}.pi-arrow-down-left:before{content:"\e9d6"}.pi-arrow-down-right:before{content:"\e9d7"}.pi-telegram:before{content:"\e9d3"}.pi-stop-circle:before{content:"\e9d2"}.pi-stop:before{content:"\e9d1"}.pi-whatsapp:before{content:"\e9d0"}.pi-building:before{content:"\e9cf"}.pi-qrcode:before{content:"\e9ce"}.pi-car:before{content:"\e9cd"}.pi-instagram:before{content:"\e9cc"}.pi-linkedin:before{content:"\e9cb"}.pi-send:before{content:"\e9ca"}.pi-slack:before{content:"\e9c9"}.pi-sun:before{content:"\e9c8"}.pi-moon:before{content:"\e9c7"}.pi-vimeo:before{content:"\e9c6"}.pi-youtube:before{content:"\e9c5"}.pi-flag:before{content:"\e9c4"}.pi-wallet:before{content:"\e9c3"}.pi-map:before{content:"\e9c2"}.pi-link:before{content:"\e9c1"}.pi-credit-card:before{content:"\e9bf"}.pi-discord:before{content:"\e9c0"}.pi-percentage:before{content:"\e9be"}.pi-euro:before{content:"\e9bd"}.pi-book:before{content:"\e9ba"}.pi-shield:before{content:"\e9b9"}.pi-paypal:before{content:"\e9bb"}.pi-amazon:before{content:"\e9bc"}.pi-phone:before{content:"\e9b8"}.pi-filter-slash:before{content:"\e9b7"}.pi-facebook:before{content:"\e9b4"}.pi-github:before{content:"\e9b5"}.pi-twitter:before{content:"\e9b6"}.pi-step-backward-alt:before{content:"\e9ac"}.pi-step-forward-alt:before{content:"\e9ad"}.pi-forward:before{content:"\e9ae"}.pi-backward:before{content:"\e9af"}.pi-fast-backward:before{content:"\e9b0"}.pi-fast-forward:before{content:"\e9b1"}.pi-pause:before{content:"\e9b2"}.pi-play:before{content:"\e9b3"}.pi-compass:before{content:"\e9ab"}.pi-id-card:before{content:"\e9aa"}.pi-ticket:before{content:"\e9a9"}.pi-file-o:before{content:"\e9a8"}.pi-reply:before{content:"\e9a7"}.pi-directions-alt:before{content:"\e9a5"}.pi-directions:before{content:"\e9a6"}.pi-thumbs-up:before{content:"\e9a3"}.pi-thumbs-down:before{content:"\e9a4"}.pi-sort-numeric-down-alt:before{content:"\e996"}.pi-sort-numeric-up-alt:before{content:"\e997"}.pi-sort-alpha-down-alt:before{content:"\e998"}.pi-sort-alpha-up-alt:before{content:"\e999"}.pi-sort-numeric-down:before{content:"\e99a"}.pi-sort-numeric-up:before{content:"\e99b"}.pi-sort-alpha-down:before{content:"\e99c"}.pi-sort-alpha-up:before{content:"\e99d"}.pi-sort-alt:before{content:"\e99e"}.pi-sort-amount-up:before{content:"\e99f"}.pi-sort-amount-down:before{content:"\e9a0"}.pi-sort-amount-down-alt:before{content:"\e9a1"}.pi-sort-amount-up-alt:before{content:"\e9a2"}.pi-palette:before{content:"\e995"}.pi-undo:before{content:"\e994"}.pi-desktop:before{content:"\e993"}.pi-sliders-v:before{content:"\e991"}.pi-sliders-h:before{content:"\e992"}.pi-search-plus:before{content:"\e98f"}.pi-search-minus:before{content:"\e990"}.pi-file-excel:before{content:"\e98e"}.pi-file-pdf:before{content:"\e98d"}.pi-check-square:before{content:"\e98c"}.pi-chart-line:before{content:"\e98b"}.pi-user-edit:before{content:"\e98a"}.pi-exclamation-circle:before{content:"\e989"}.pi-android:before{content:"\e985"}.pi-google:before{content:"\e986"}.pi-apple:before{content:"\e987"}.pi-microsoft:before{content:"\e988"}.pi-heart:before{content:"\e984"}.pi-mobile:before{content:"\e982"}.pi-tablet:before{content:"\e983"}.pi-key:before{content:"\e981"}.pi-shopping-cart:before{content:"\e980"}.pi-comments:before{content:"\e97e"}.pi-comment:before{content:"\e97f"}.pi-briefcase:before{content:"\e97d"}.pi-bell:before{content:"\e97c"}.pi-paperclip:before{content:"\e97b"}.pi-share-alt:before{content:"\e97a"}.pi-envelope:before{content:"\e979"}.pi-volume-down:before{content:"\e976"}.pi-volume-up:before{content:"\e977"}.pi-volume-off:before{content:"\e978"}.pi-eject:before{content:"\e975"}.pi-money-bill:before{content:"\e974"}.pi-images:before{content:"\e973"}.pi-image:before{content:"\e972"}.pi-sign-in:before{content:"\e970"}.pi-sign-out:before{content:"\e971"}.pi-wifi:before{content:"\e96f"}.pi-sitemap:before{content:"\e96e"}.pi-chart-bar:before{content:"\e96d"}.pi-camera:before{content:"\e96c"}.pi-dollar:before{content:"\e96b"}.pi-lock-open:before{content:"\e96a"}.pi-table:before{content:"\e969"}.pi-map-marker:before{content:"\e968"}.pi-list:before{content:"\e967"}.pi-eye-slash:before{content:"\e965"}.pi-eye:before{content:"\e966"}.pi-folder-open:before{content:"\e964"}.pi-folder:before{content:"\e963"}.pi-video:before{content:"\e962"}.pi-inbox:before{content:"\e961"}.pi-lock:before{content:"\e95f"}.pi-unlock:before{content:"\e960"}.pi-tags:before{content:"\e95d"}.pi-tag:before{content:"\e95e"}.pi-power-off:before{content:"\e95c"}.pi-save:before{content:"\e95b"}.pi-question-circle:before{content:"\e959"}.pi-question:before{content:"\e95a"}.pi-copy:before{content:"\e957"}.pi-file:before{content:"\e958"}.pi-clone:before{content:"\e955"}.pi-calendar-times:before{content:"\e952"}.pi-calendar-minus:before{content:"\e953"}.pi-calendar-plus:before{content:"\e954"}.pi-ellipsis-v:before{content:"\e950"}.pi-ellipsis-h:before{content:"\e951"}.pi-bookmark:before{content:"\e94e"}.pi-globe:before{content:"\e94f"}.pi-replay:before{content:"\e94d"}.pi-filter:before{content:"\e94c"}.pi-print:before{content:"\e94b"}.pi-align-right:before{content:"\e946"}.pi-align-left:before{content:"\e947"}.pi-align-center:before{content:"\e948"}.pi-align-justify:before{content:"\e949"}.pi-cog:before{content:"\e94a"}.pi-cloud-download:before{content:"\e943"}.pi-cloud-upload:before{content:"\e944"}.pi-cloud:before{content:"\e945"}.pi-pencil:before{content:"\e942"}.pi-users:before{content:"\e941"}.pi-clock:before{content:"\e940"}.pi-user-minus:before{content:"\e93e"}.pi-user-plus:before{content:"\e93f"}.pi-trash:before{content:"\e93d"}.pi-external-link:before{content:"\e93c"}.pi-window-maximize:before{content:"\e93b"}.pi-window-minimize:before{content:"\e93a"}.pi-refresh:before{content:"\e938"}.pi-user:before{content:"\e939"}.pi-exclamation-triangle:before{content:"\e922"}.pi-calendar:before{content:"\e927"}.pi-chevron-circle-left:before{content:"\e928"}.pi-chevron-circle-down:before{content:"\e929"}.pi-chevron-circle-right:before{content:"\e92a"}.pi-chevron-circle-up:before{content:"\e92b"}.pi-angle-double-down:before{content:"\e92c"}.pi-angle-double-left:before{content:"\e92d"}.pi-angle-double-right:before{content:"\e92e"}.pi-angle-double-up:before{content:"\e92f"}.pi-angle-down:before{content:"\e930"}.pi-angle-left:before{content:"\e931"}.pi-angle-right:before{content:"\e932"}.pi-angle-up:before{content:"\e933"}.pi-upload:before{content:"\e934"}.pi-download:before{content:"\e956"}.pi-ban:before{content:"\e935"}.pi-star-fill:before{content:"\e936"}.pi-star:before{content:"\e937"}.pi-chevron-left:before{content:"\e900"}.pi-chevron-right:before{content:"\e901"}.pi-chevron-down:before{content:"\e902"}.pi-chevron-up:before{content:"\e903"}.pi-caret-left:before{content:"\e904"}.pi-caret-right:before{content:"\e905"}.pi-caret-down:before{content:"\e906"}.pi-caret-up:before{content:"\e907"}.pi-search:before{content:"\e908"}.pi-check:before{content:"\e909"}.pi-check-circle:before{content:"\e90a"}.pi-times:before{content:"\e90b"}.pi-times-circle:before{content:"\e90c"}.pi-plus:before{content:"\e90d"}.pi-plus-circle:before{content:"\e90e"}.pi-minus:before{content:"\e90f"}.pi-minus-circle:before{content:"\e910"}.pi-circle-on:before{content:"\e911"}.pi-circle-off:before{content:"\e912"}.pi-sort-down:before{content:"\e913"}.pi-sort-up:before{content:"\e914"}.pi-sort:before{content:"\e915"}.pi-step-backward:before{content:"\e916"}.pi-step-forward:before{content:"\e917"}.pi-th-large:before{content:"\e918"}.pi-arrow-down:before{content:"\e919"}.pi-arrow-left:before{content:"\e91a"}.pi-arrow-right:before{content:"\e91b"}.pi-arrow-up:before{content:"\e91c"}.pi-bars:before{content:"\e91d"}.pi-arrow-circle-down:before{content:"\e91e"}.pi-arrow-circle-left:before{content:"\e91f"}.pi-arrow-circle-right:before{content:"\e920"}.pi-arrow-circle-up:before{content:"\e921"}.pi-info:before{content:"\e923"}.pi-info-circle:before{content:"\e924"}.pi-home:before{content:"\e925"}.pi-spinner:before{content:"\e926"}.grid{display:flex;flex-wrap:wrap;margin-right:-.5rem;margin-left:-.5rem;margin-top:-.5rem}.grid>.col,.grid>[class*=col]{box-sizing:border-box}.grid-nogutter{margin-right:0;margin-left:0;margin-top:0}.grid-nogutter>.col,.grid-nogutter>[class*=col-]{padding:0}.col{flex-grow:1;flex-basis:0;padding:.5rem}.col-fixed{flex:0 0 auto;padding:.5rem}.col-1{flex:0 0 auto;padding:.5rem;width:8.3333%}.col-2{flex:0 0 auto;padding:.5rem;width:16.6667%}.col-3{flex:0 0 auto;padding:.5rem;width:25%}.col-4{flex:0 0 auto;padding:.5rem;width:33.3333%}.col-5{flex:0 0 auto;padding:.5rem;width:41.6667%}.col-6{flex:0 0 auto;padding:.5rem;width:50%}.col-7{flex:0 0 auto;padding:.5rem;width:58.3333%}.col-8{flex:0 0 auto;padding:.5rem;width:66.6667%}.col-9{flex:0 0 auto;padding:.5rem;width:75%}.col-10{flex:0 0 auto;padding:.5rem;width:83.3333%}.col-11{flex:0 0 auto;padding:.5rem;width:91.6667%}.col-12{flex:0 0 auto;padding:.5rem;width:100%}@media screen and (min-width: 576px){.sm\:col{flex-grow:1;flex-basis:0;padding:.5rem}.sm\:col-fixed{flex:0 0 auto;padding:.5rem}.sm\:col-1{flex:0 0 auto;padding:.5rem;width:8.3333%}.sm\:col-2{flex:0 0 auto;padding:.5rem;width:16.6667%}.sm\:col-3{flex:0 0 auto;padding:.5rem;width:25%}.sm\:col-4{flex:0 0 auto;padding:.5rem;width:33.3333%}.sm\:col-5{flex:0 0 auto;padding:.5rem;width:41.6667%}.sm\:col-6{flex:0 0 auto;padding:.5rem;width:50%}.sm\:col-7{flex:0 0 auto;padding:.5rem;width:58.3333%}.sm\:col-8{flex:0 0 auto;padding:.5rem;width:66.6667%}.sm\:col-9{flex:0 0 auto;padding:.5rem;width:75%}.sm\:col-10{flex:0 0 auto;padding:.5rem;width:83.3333%}.sm\:col-11{flex:0 0 auto;padding:.5rem;width:91.6667%}.sm\:col-12{flex:0 0 auto;padding:.5rem;width:100%}}@media screen and (min-width: 768px){.md\:col{flex-grow:1;flex-basis:0;padding:.5rem}.md\:col-fixed{flex:0 0 auto;padding:.5rem}.md\:col-1{flex:0 0 auto;padding:.5rem;width:8.3333%}.md\:col-2{flex:0 0 auto;padding:.5rem;width:16.6667%}.md\:col-3{flex:0 0 auto;padding:.5rem;width:25%}.md\:col-4{flex:0 0 auto;padding:.5rem;width:33.3333%}.md\:col-5{flex:0 0 auto;padding:.5rem;width:41.6667%}.md\:col-6{flex:0 0 auto;padding:.5rem;width:50%}.md\:col-7{flex:0 0 auto;padding:.5rem;width:58.3333%}.md\:col-8{flex:0 0 auto;padding:.5rem;width:66.6667%}.md\:col-9{flex:0 0 auto;padding:.5rem;width:75%}.md\:col-10{flex:0 0 auto;padding:.5rem;width:83.3333%}.md\:col-11{flex:0 0 auto;padding:.5rem;width:91.6667%}.md\:col-12{flex:0 0 auto;padding:.5rem;width:100%}}@media screen and (min-width: 992px){.lg\:col{flex-grow:1;flex-basis:0;padding:.5rem}.lg\:col-fixed{flex:0 0 auto;padding:.5rem}.lg\:col-1{flex:0 0 auto;padding:.5rem;width:8.3333%}.lg\:col-2{flex:0 0 auto;padding:.5rem;width:16.6667%}.lg\:col-3{flex:0 0 auto;padding:.5rem;width:25%}.lg\:col-4{flex:0 0 auto;padding:.5rem;width:33.3333%}.lg\:col-5{flex:0 0 auto;padding:.5rem;width:41.6667%}.lg\:col-6{flex:0 0 auto;padding:.5rem;width:50%}.lg\:col-7{flex:0 0 auto;padding:.5rem;width:58.3333%}.lg\:col-8{flex:0 0 auto;padding:.5rem;width:66.6667%}.lg\:col-9{flex:0 0 auto;padding:.5rem;width:75%}.lg\:col-10{flex:0 0 auto;padding:.5rem;width:83.3333%}.lg\:col-11{flex:0 0 auto;padding:.5rem;width:91.6667%}.lg\:col-12{flex:0 0 auto;padding:.5rem;width:100%}}@media screen and (min-width: 1200px){.xl\:col{flex-grow:1;flex-basis:0;padding:.5rem}.xl\:col-fixed{flex:0 0 auto;padding:.5rem}.xl\:col-1{flex:0 0 auto;padding:.5rem;width:8.3333%}.xl\:col-2{flex:0 0 auto;padding:.5rem;width:16.6667%}.xl\:col-3{flex:0 0 auto;padding:.5rem;width:25%}.xl\:col-4{flex:0 0 auto;padding:.5rem;width:33.3333%}.xl\:col-5{flex:0 0 auto;padding:.5rem;width:41.6667%}.xl\:col-6{flex:0 0 auto;padding:.5rem;width:50%}.xl\:col-7{flex:0 0 auto;padding:.5rem;width:58.3333%}.xl\:col-8{flex:0 0 auto;padding:.5rem;width:66.6667%}.xl\:col-9{flex:0 0 auto;padding:.5rem;width:75%}.xl\:col-10{flex:0 0 auto;padding:.5rem;width:83.3333%}.xl\:col-11{flex:0 0 auto;padding:.5rem;width:91.6667%}.xl\:col-12{flex:0 0 auto;padding:.5rem;width:100%}}.col-offset-0{margin-left:0!important}.col-offset-1{margin-left:8.3333%!important}.col-offset-2{margin-left:16.6667%!important}.col-offset-3{margin-left:25%!important}.col-offset-4{margin-left:33.3333%!important}.col-offset-5{margin-left:41.6667%!important}.col-offset-6{margin-left:50%!important}.col-offset-7{margin-left:58.3333%!important}.col-offset-8{margin-left:66.6667%!important}.col-offset-9{margin-left:75%!important}.col-offset-10{margin-left:83.3333%!important}.col-offset-11{margin-left:91.6667%!important}.col-offset-12{margin-left:100%!important}@media screen and (min-width: 576px){.sm\:col-offset-0{margin-left:0!important}.sm\:col-offset-1{margin-left:8.3333%!important}.sm\:col-offset-2{margin-left:16.6667%!important}.sm\:col-offset-3{margin-left:25%!important}.sm\:col-offset-4{margin-left:33.3333%!important}.sm\:col-offset-5{margin-left:41.6667%!important}.sm\:col-offset-6{margin-left:50%!important}.sm\:col-offset-7{margin-left:58.3333%!important}.sm\:col-offset-8{margin-left:66.6667%!important}.sm\:col-offset-9{margin-left:75%!important}.sm\:col-offset-10{margin-left:83.3333%!important}.sm\:col-offset-11{margin-left:91.6667%!important}.sm\:col-offset-12{margin-left:100%!important}}@media screen and (min-width: 768px){.md\:col-offset-0{margin-left:0!important}.md\:col-offset-1{margin-left:8.3333%!important}.md\:col-offset-2{margin-left:16.6667%!important}.md\:col-offset-3{margin-left:25%!important}.md\:col-offset-4{margin-left:33.3333%!important}.md\:col-offset-5{margin-left:41.6667%!important}.md\:col-offset-6{margin-left:50%!important}.md\:col-offset-7{margin-left:58.3333%!important}.md\:col-offset-8{margin-left:66.6667%!important}.md\:col-offset-9{margin-left:75%!important}.md\:col-offset-10{margin-left:83.3333%!important}.md\:col-offset-11{margin-left:91.6667%!important}.md\:col-offset-12{margin-left:100%!important}}@media screen and (min-width: 992px){.lg\:col-offset-0{margin-left:0!important}.lg\:col-offset-1{margin-left:8.3333%!important}.lg\:col-offset-2{margin-left:16.6667%!important}.lg\:col-offset-3{margin-left:25%!important}.lg\:col-offset-4{margin-left:33.3333%!important}.lg\:col-offset-5{margin-left:41.6667%!important}.lg\:col-offset-6{margin-left:50%!important}.lg\:col-offset-7{margin-left:58.3333%!important}.lg\:col-offset-8{margin-left:66.6667%!important}.lg\:col-offset-9{margin-left:75%!important}.lg\:col-offset-10{margin-left:83.3333%!important}.lg\:col-offset-11{margin-left:91.6667%!important}.lg\:col-offset-12{margin-left:100%!important}}@media screen and (min-width: 1200px){.xl\:col-offset-0{margin-left:0!important}.xl\:col-offset-1{margin-left:8.3333%!important}.xl\:col-offset-2{margin-left:16.6667%!important}.xl\:col-offset-3{margin-left:25%!important}.xl\:col-offset-4{margin-left:33.3333%!important}.xl\:col-offset-5{margin-left:41.6667%!important}.xl\:col-offset-6{margin-left:50%!important}.xl\:col-offset-7{margin-left:58.3333%!important}.xl\:col-offset-8{margin-left:66.6667%!important}.xl\:col-offset-9{margin-left:75%!important}.xl\:col-offset-10{margin-left:83.3333%!important}.xl\:col-offset-11{margin-left:91.6667%!important}.xl\:col-offset-12{margin-left:100%!important}}.text-0{color:var(--surface-0)!important}.text-50{color:var(--surface-50)!important}.text-100{color:var(--surface-100)!important}.text-200{color:var(--surface-200)!important}.text-300{color:var(--surface-300)!important}.text-400{color:var(--surface-400)!important}.text-500{color:var(--surface-500)!important}.text-600{color:var(--surface-600)!important}.text-700{color:var(--surface-700)!important}.text-800{color:var(--surface-800)!important}.text-900{color:var(--surface-900)!important}.focus\:text-0:focus{color:var(--surface-0)!important}.hover\:text-0:hover,.active\:text-0:active{color:var(--surface-0)!important}.focus\:text-50:focus{color:var(--surface-50)!important}.hover\:text-50:hover,.active\:text-50:active{color:var(--surface-50)!important}.focus\:text-100:focus{color:var(--surface-100)!important}.hover\:text-100:hover,.active\:text-100:active{color:var(--surface-100)!important}.focus\:text-200:focus{color:var(--surface-200)!important}.hover\:text-200:hover,.active\:text-200:active{color:var(--surface-200)!important}.focus\:text-300:focus{color:var(--surface-300)!important}.hover\:text-300:hover,.active\:text-300:active{color:var(--surface-300)!important}.focus\:text-400:focus{color:var(--surface-400)!important}.hover\:text-400:hover,.active\:text-400:active{color:var(--surface-400)!important}.focus\:text-500:focus{color:var(--surface-500)!important}.hover\:text-500:hover,.active\:text-500:active{color:var(--surface-500)!important}.focus\:text-600:focus{color:var(--surface-600)!important}.hover\:text-600:hover,.active\:text-600:active{color:var(--surface-600)!important}.focus\:text-700:focus{color:var(--surface-700)!important}.hover\:text-700:hover,.active\:text-700:active{color:var(--surface-700)!important}.focus\:text-800:focus{color:var(--surface-800)!important}.hover\:text-800:hover,.active\:text-800:active{color:var(--surface-800)!important}.focus\:text-900:focus{color:var(--surface-900)!important}.hover\:text-900:hover,.active\:text-900:active{color:var(--surface-900)!important}.surface-0{background-color:var(--surface-0)!important}.surface-50{background-color:var(--surface-50)!important}.surface-100{background-color:var(--surface-100)!important}.surface-200{background-color:var(--surface-200)!important}.surface-300{background-color:var(--surface-300)!important}.surface-400{background-color:var(--surface-400)!important}.surface-500{background-color:var(--surface-500)!important}.surface-600{background-color:var(--surface-600)!important}.surface-700{background-color:var(--surface-700)!important}.surface-800{background-color:var(--surface-800)!important}.surface-900{background-color:var(--surface-900)!important}.focus\:surface-0:focus{background-color:var(--surface-0)!important}.hover\:surface-0:hover,.active\:surface-0:active{background-color:var(--surface-0)!important}.focus\:surface-50:focus{background-color:var(--surface-50)!important}.hover\:surface-50:hover,.active\:surface-50:active{background-color:var(--surface-50)!important}.focus\:surface-100:focus{background-color:var(--surface-100)!important}.hover\:surface-100:hover,.active\:surface-100:active{background-color:var(--surface-100)!important}.focus\:surface-200:focus{background-color:var(--surface-200)!important}.hover\:surface-200:hover,.active\:surface-200:active{background-color:var(--surface-200)!important}.focus\:surface-300:focus{background-color:var(--surface-300)!important}.hover\:surface-300:hover,.active\:surface-300:active{background-color:var(--surface-300)!important}.focus\:surface-400:focus{background-color:var(--surface-400)!important}.hover\:surface-400:hover,.active\:surface-400:active{background-color:var(--surface-400)!important}.focus\:surface-500:focus{background-color:var(--surface-500)!important}.hover\:surface-500:hover,.active\:surface-500:active{background-color:var(--surface-500)!important}.focus\:surface-600:focus{background-color:var(--surface-600)!important}.hover\:surface-600:hover,.active\:surface-600:active{background-color:var(--surface-600)!important}.focus\:surface-700:focus{background-color:var(--surface-700)!important}.hover\:surface-700:hover,.active\:surface-700:active{background-color:var(--surface-700)!important}.focus\:surface-800:focus{background-color:var(--surface-800)!important}.hover\:surface-800:hover,.active\:surface-800:active{background-color:var(--surface-800)!important}.focus\:surface-900:focus{background-color:var(--surface-900)!important}.hover\:surface-900:hover,.active\:surface-900:active{background-color:var(--surface-900)!important}.border-0{border-color:var(--surface-0)!important}.border-50{border-color:var(--surface-50)!important}.border-100{border-color:var(--surface-100)!important}.border-200{border-color:var(--surface-200)!important}.border-300{border-color:var(--surface-300)!important}.border-400{border-color:var(--surface-400)!important}.border-500{border-color:var(--surface-500)!important}.border-600{border-color:var(--surface-600)!important}.border-700{border-color:var(--surface-700)!important}.border-800{border-color:var(--surface-800)!important}.border-900{border-color:var(--surface-900)!important}.focus\:border-0:focus{border-color:var(--surface-0)!important}.hover\:border-0:hover,.active\:border-0:active{border-color:var(--surface-0)!important}.focus\:border-50:focus{border-color:var(--surface-50)!important}.hover\:border-50:hover,.active\:border-50:active{border-color:var(--surface-50)!important}.focus\:border-100:focus{border-color:var(--surface-100)!important}.hover\:border-100:hover,.active\:border-100:active{border-color:var(--surface-100)!important}.focus\:border-200:focus{border-color:var(--surface-200)!important}.hover\:border-200:hover,.active\:border-200:active{border-color:var(--surface-200)!important}.focus\:border-300:focus{border-color:var(--surface-300)!important}.hover\:border-300:hover,.active\:border-300:active{border-color:var(--surface-300)!important}.focus\:border-400:focus{border-color:var(--surface-400)!important}.hover\:border-400:hover,.active\:border-400:active{border-color:var(--surface-400)!important}.focus\:border-500:focus{border-color:var(--surface-500)!important}.hover\:border-500:hover,.active\:border-500:active{border-color:var(--surface-500)!important}.focus\:border-600:focus{border-color:var(--surface-600)!important}.hover\:border-600:hover,.active\:border-600:active{border-color:var(--surface-600)!important}.focus\:border-700:focus{border-color:var(--surface-700)!important}.hover\:border-700:hover,.active\:border-700:active{border-color:var(--surface-700)!important}.focus\:border-800:focus{border-color:var(--surface-800)!important}.hover\:border-800:hover,.active\:border-800:active{border-color:var(--surface-800)!important}.focus\:border-900:focus{border-color:var(--surface-900)!important}.hover\:border-900:hover,.active\:border-900:active{border-color:var(--surface-900)!important}.bg-transparent{background-color:transparent!important}@media screen and (min-width: 576px){.sm\:bg-transparent{background-color:transparent!important}}@media screen and (min-width: 768px){.md\:bg-transparent{background-color:transparent!important}}@media screen and (min-width: 992px){.lg\:bg-transparent{background-color:transparent!important}}@media screen and (min-width: 1200px){.xl\:bg-transparent{background-color:transparent!important}}.border-transparent{border-color:transparent!important}@media screen and (min-width: 576px){.sm\:border-transparent{border-color:transparent!important}}@media screen and (min-width: 768px){.md\:border-transparent{border-color:transparent!important}}@media screen and (min-width: 992px){.lg\:border-transparent{border-color:transparent!important}}@media screen and (min-width: 1200px){.xl\:border-transparent{border-color:transparent!important}}.text-blue-50{color:var(--blue-50)!important}.text-blue-100{color:var(--blue-100)!important}.text-blue-200{color:var(--blue-200)!important}.text-blue-300{color:var(--blue-300)!important}.text-blue-400{color:var(--blue-400)!important}.text-blue-500{color:var(--blue-500)!important}.text-blue-600{color:var(--blue-600)!important}.text-blue-700{color:var(--blue-700)!important}.text-blue-800{color:var(--blue-800)!important}.text-blue-900{color:var(--blue-900)!important}.focus\:text-blue-50:focus{color:var(--blue-50)!important}.focus\:text-blue-100:focus{color:var(--blue-100)!important}.focus\:text-blue-200:focus{color:var(--blue-200)!important}.focus\:text-blue-300:focus{color:var(--blue-300)!important}.focus\:text-blue-400:focus{color:var(--blue-400)!important}.focus\:text-blue-500:focus{color:var(--blue-500)!important}.focus\:text-blue-600:focus{color:var(--blue-600)!important}.focus\:text-blue-700:focus{color:var(--blue-700)!important}.focus\:text-blue-800:focus{color:var(--blue-800)!important}.focus\:text-blue-900:focus{color:var(--blue-900)!important}.hover\:text-blue-50:hover{color:var(--blue-50)!important}.hover\:text-blue-100:hover{color:var(--blue-100)!important}.hover\:text-blue-200:hover{color:var(--blue-200)!important}.hover\:text-blue-300:hover{color:var(--blue-300)!important}.hover\:text-blue-400:hover{color:var(--blue-400)!important}.hover\:text-blue-500:hover{color:var(--blue-500)!important}.hover\:text-blue-600:hover{color:var(--blue-600)!important}.hover\:text-blue-700:hover{color:var(--blue-700)!important}.hover\:text-blue-800:hover{color:var(--blue-800)!important}.hover\:text-blue-900:hover{color:var(--blue-900)!important}.active\:text-blue-50:active{color:var(--blue-50)!important}.active\:text-blue-100:active{color:var(--blue-100)!important}.active\:text-blue-200:active{color:var(--blue-200)!important}.active\:text-blue-300:active{color:var(--blue-300)!important}.active\:text-blue-400:active{color:var(--blue-400)!important}.active\:text-blue-500:active{color:var(--blue-500)!important}.active\:text-blue-600:active{color:var(--blue-600)!important}.active\:text-blue-700:active{color:var(--blue-700)!important}.active\:text-blue-800:active{color:var(--blue-800)!important}.active\:text-blue-900:active{color:var(--blue-900)!important}.text-green-50{color:var(--green-50)!important}.text-green-100{color:var(--green-100)!important}.text-green-200{color:var(--green-200)!important}.text-green-300{color:var(--green-300)!important}.text-green-400{color:var(--green-400)!important}.text-green-500{color:var(--green-500)!important}.text-green-600{color:var(--green-600)!important}.text-green-700{color:var(--green-700)!important}.text-green-800{color:var(--green-800)!important}.text-green-900{color:var(--green-900)!important}.focus\:text-green-50:focus{color:var(--green-50)!important}.focus\:text-green-100:focus{color:var(--green-100)!important}.focus\:text-green-200:focus{color:var(--green-200)!important}.focus\:text-green-300:focus{color:var(--green-300)!important}.focus\:text-green-400:focus{color:var(--green-400)!important}.focus\:text-green-500:focus{color:var(--green-500)!important}.focus\:text-green-600:focus{color:var(--green-600)!important}.focus\:text-green-700:focus{color:var(--green-700)!important}.focus\:text-green-800:focus{color:var(--green-800)!important}.focus\:text-green-900:focus{color:var(--green-900)!important}.hover\:text-green-50:hover{color:var(--green-50)!important}.hover\:text-green-100:hover{color:var(--green-100)!important}.hover\:text-green-200:hover{color:var(--green-200)!important}.hover\:text-green-300:hover{color:var(--green-300)!important}.hover\:text-green-400:hover{color:var(--green-400)!important}.hover\:text-green-500:hover{color:var(--green-500)!important}.hover\:text-green-600:hover{color:var(--green-600)!important}.hover\:text-green-700:hover{color:var(--green-700)!important}.hover\:text-green-800:hover{color:var(--green-800)!important}.hover\:text-green-900:hover{color:var(--green-900)!important}.active\:text-green-50:active{color:var(--green-50)!important}.active\:text-green-100:active{color:var(--green-100)!important}.active\:text-green-200:active{color:var(--green-200)!important}.active\:text-green-300:active{color:var(--green-300)!important}.active\:text-green-400:active{color:var(--green-400)!important}.active\:text-green-500:active{color:var(--green-500)!important}.active\:text-green-600:active{color:var(--green-600)!important}.active\:text-green-700:active{color:var(--green-700)!important}.active\:text-green-800:active{color:var(--green-800)!important}.active\:text-green-900:active{color:var(--green-900)!important}.text-yellow-50{color:var(--yellow-50)!important}.text-yellow-100{color:var(--yellow-100)!important}.text-yellow-200{color:var(--yellow-200)!important}.text-yellow-300{color:var(--yellow-300)!important}.text-yellow-400{color:var(--yellow-400)!important}.text-yellow-500{color:var(--yellow-500)!important}.text-yellow-600{color:var(--yellow-600)!important}.text-yellow-700{color:var(--yellow-700)!important}.text-yellow-800{color:var(--yellow-800)!important}.text-yellow-900{color:var(--yellow-900)!important}.focus\:text-yellow-50:focus{color:var(--yellow-50)!important}.focus\:text-yellow-100:focus{color:var(--yellow-100)!important}.focus\:text-yellow-200:focus{color:var(--yellow-200)!important}.focus\:text-yellow-300:focus{color:var(--yellow-300)!important}.focus\:text-yellow-400:focus{color:var(--yellow-400)!important}.focus\:text-yellow-500:focus{color:var(--yellow-500)!important}.focus\:text-yellow-600:focus{color:var(--yellow-600)!important}.focus\:text-yellow-700:focus{color:var(--yellow-700)!important}.focus\:text-yellow-800:focus{color:var(--yellow-800)!important}.focus\:text-yellow-900:focus{color:var(--yellow-900)!important}.hover\:text-yellow-50:hover{color:var(--yellow-50)!important}.hover\:text-yellow-100:hover{color:var(--yellow-100)!important}.hover\:text-yellow-200:hover{color:var(--yellow-200)!important}.hover\:text-yellow-300:hover{color:var(--yellow-300)!important}.hover\:text-yellow-400:hover{color:var(--yellow-400)!important}.hover\:text-yellow-500:hover{color:var(--yellow-500)!important}.hover\:text-yellow-600:hover{color:var(--yellow-600)!important}.hover\:text-yellow-700:hover{color:var(--yellow-700)!important}.hover\:text-yellow-800:hover{color:var(--yellow-800)!important}.hover\:text-yellow-900:hover{color:var(--yellow-900)!important}.active\:text-yellow-50:active{color:var(--yellow-50)!important}.active\:text-yellow-100:active{color:var(--yellow-100)!important}.active\:text-yellow-200:active{color:var(--yellow-200)!important}.active\:text-yellow-300:active{color:var(--yellow-300)!important}.active\:text-yellow-400:active{color:var(--yellow-400)!important}.active\:text-yellow-500:active{color:var(--yellow-500)!important}.active\:text-yellow-600:active{color:var(--yellow-600)!important}.active\:text-yellow-700:active{color:var(--yellow-700)!important}.active\:text-yellow-800:active{color:var(--yellow-800)!important}.active\:text-yellow-900:active{color:var(--yellow-900)!important}.text-cyan-50{color:var(--cyan-50)!important}.text-cyan-100{color:var(--cyan-100)!important}.text-cyan-200{color:var(--cyan-200)!important}.text-cyan-300{color:var(--cyan-300)!important}.text-cyan-400{color:var(--cyan-400)!important}.text-cyan-500{color:var(--cyan-500)!important}.text-cyan-600{color:var(--cyan-600)!important}.text-cyan-700{color:var(--cyan-700)!important}.text-cyan-800{color:var(--cyan-800)!important}.text-cyan-900{color:var(--cyan-900)!important}.focus\:text-cyan-50:focus{color:var(--cyan-50)!important}.focus\:text-cyan-100:focus{color:var(--cyan-100)!important}.focus\:text-cyan-200:focus{color:var(--cyan-200)!important}.focus\:text-cyan-300:focus{color:var(--cyan-300)!important}.focus\:text-cyan-400:focus{color:var(--cyan-400)!important}.focus\:text-cyan-500:focus{color:var(--cyan-500)!important}.focus\:text-cyan-600:focus{color:var(--cyan-600)!important}.focus\:text-cyan-700:focus{color:var(--cyan-700)!important}.focus\:text-cyan-800:focus{color:var(--cyan-800)!important}.focus\:text-cyan-900:focus{color:var(--cyan-900)!important}.hover\:text-cyan-50:hover{color:var(--cyan-50)!important}.hover\:text-cyan-100:hover{color:var(--cyan-100)!important}.hover\:text-cyan-200:hover{color:var(--cyan-200)!important}.hover\:text-cyan-300:hover{color:var(--cyan-300)!important}.hover\:text-cyan-400:hover{color:var(--cyan-400)!important}.hover\:text-cyan-500:hover{color:var(--cyan-500)!important}.hover\:text-cyan-600:hover{color:var(--cyan-600)!important}.hover\:text-cyan-700:hover{color:var(--cyan-700)!important}.hover\:text-cyan-800:hover{color:var(--cyan-800)!important}.hover\:text-cyan-900:hover{color:var(--cyan-900)!important}.active\:text-cyan-50:active{color:var(--cyan-50)!important}.active\:text-cyan-100:active{color:var(--cyan-100)!important}.active\:text-cyan-200:active{color:var(--cyan-200)!important}.active\:text-cyan-300:active{color:var(--cyan-300)!important}.active\:text-cyan-400:active{color:var(--cyan-400)!important}.active\:text-cyan-500:active{color:var(--cyan-500)!important}.active\:text-cyan-600:active{color:var(--cyan-600)!important}.active\:text-cyan-700:active{color:var(--cyan-700)!important}.active\:text-cyan-800:active{color:var(--cyan-800)!important}.active\:text-cyan-900:active{color:var(--cyan-900)!important}.text-pink-50{color:var(--pink-50)!important}.text-pink-100{color:var(--pink-100)!important}.text-pink-200{color:var(--pink-200)!important}.text-pink-300{color:var(--pink-300)!important}.text-pink-400{color:var(--pink-400)!important}.text-pink-500{color:var(--pink-500)!important}.text-pink-600{color:var(--pink-600)!important}.text-pink-700{color:var(--pink-700)!important}.text-pink-800{color:var(--pink-800)!important}.text-pink-900{color:var(--pink-900)!important}.focus\:text-pink-50:focus{color:var(--pink-50)!important}.focus\:text-pink-100:focus{color:var(--pink-100)!important}.focus\:text-pink-200:focus{color:var(--pink-200)!important}.focus\:text-pink-300:focus{color:var(--pink-300)!important}.focus\:text-pink-400:focus{color:var(--pink-400)!important}.focus\:text-pink-500:focus{color:var(--pink-500)!important}.focus\:text-pink-600:focus{color:var(--pink-600)!important}.focus\:text-pink-700:focus{color:var(--pink-700)!important}.focus\:text-pink-800:focus{color:var(--pink-800)!important}.focus\:text-pink-900:focus{color:var(--pink-900)!important}.hover\:text-pink-50:hover{color:var(--pink-50)!important}.hover\:text-pink-100:hover{color:var(--pink-100)!important}.hover\:text-pink-200:hover{color:var(--pink-200)!important}.hover\:text-pink-300:hover{color:var(--pink-300)!important}.hover\:text-pink-400:hover{color:var(--pink-400)!important}.hover\:text-pink-500:hover{color:var(--pink-500)!important}.hover\:text-pink-600:hover{color:var(--pink-600)!important}.hover\:text-pink-700:hover{color:var(--pink-700)!important}.hover\:text-pink-800:hover{color:var(--pink-800)!important}.hover\:text-pink-900:hover{color:var(--pink-900)!important}.active\:text-pink-50:active{color:var(--pink-50)!important}.active\:text-pink-100:active{color:var(--pink-100)!important}.active\:text-pink-200:active{color:var(--pink-200)!important}.active\:text-pink-300:active{color:var(--pink-300)!important}.active\:text-pink-400:active{color:var(--pink-400)!important}.active\:text-pink-500:active{color:var(--pink-500)!important}.active\:text-pink-600:active{color:var(--pink-600)!important}.active\:text-pink-700:active{color:var(--pink-700)!important}.active\:text-pink-800:active{color:var(--pink-800)!important}.active\:text-pink-900:active{color:var(--pink-900)!important}.text-indigo-50{color:var(--indigo-50)!important}.text-indigo-100{color:var(--indigo-100)!important}.text-indigo-200{color:var(--indigo-200)!important}.text-indigo-300{color:var(--indigo-300)!important}.text-indigo-400{color:var(--indigo-400)!important}.text-indigo-500{color:var(--indigo-500)!important}.text-indigo-600{color:var(--indigo-600)!important}.text-indigo-700{color:var(--indigo-700)!important}.text-indigo-800{color:var(--indigo-800)!important}.text-indigo-900{color:var(--indigo-900)!important}.focus\:text-indigo-50:focus{color:var(--indigo-50)!important}.focus\:text-indigo-100:focus{color:var(--indigo-100)!important}.focus\:text-indigo-200:focus{color:var(--indigo-200)!important}.focus\:text-indigo-300:focus{color:var(--indigo-300)!important}.focus\:text-indigo-400:focus{color:var(--indigo-400)!important}.focus\:text-indigo-500:focus{color:var(--indigo-500)!important}.focus\:text-indigo-600:focus{color:var(--indigo-600)!important}.focus\:text-indigo-700:focus{color:var(--indigo-700)!important}.focus\:text-indigo-800:focus{color:var(--indigo-800)!important}.focus\:text-indigo-900:focus{color:var(--indigo-900)!important}.hover\:text-indigo-50:hover{color:var(--indigo-50)!important}.hover\:text-indigo-100:hover{color:var(--indigo-100)!important}.hover\:text-indigo-200:hover{color:var(--indigo-200)!important}.hover\:text-indigo-300:hover{color:var(--indigo-300)!important}.hover\:text-indigo-400:hover{color:var(--indigo-400)!important}.hover\:text-indigo-500:hover{color:var(--indigo-500)!important}.hover\:text-indigo-600:hover{color:var(--indigo-600)!important}.hover\:text-indigo-700:hover{color:var(--indigo-700)!important}.hover\:text-indigo-800:hover{color:var(--indigo-800)!important}.hover\:text-indigo-900:hover{color:var(--indigo-900)!important}.active\:text-indigo-50:active{color:var(--indigo-50)!important}.active\:text-indigo-100:active{color:var(--indigo-100)!important}.active\:text-indigo-200:active{color:var(--indigo-200)!important}.active\:text-indigo-300:active{color:var(--indigo-300)!important}.active\:text-indigo-400:active{color:var(--indigo-400)!important}.active\:text-indigo-500:active{color:var(--indigo-500)!important}.active\:text-indigo-600:active{color:var(--indigo-600)!important}.active\:text-indigo-700:active{color:var(--indigo-700)!important}.active\:text-indigo-800:active{color:var(--indigo-800)!important}.active\:text-indigo-900:active{color:var(--indigo-900)!important}.text-teal-50{color:var(--teal-50)!important}.text-teal-100{color:var(--teal-100)!important}.text-teal-200{color:var(--teal-200)!important}.text-teal-300{color:var(--teal-300)!important}.text-teal-400{color:var(--teal-400)!important}.text-teal-500{color:var(--teal-500)!important}.text-teal-600{color:var(--teal-600)!important}.text-teal-700{color:var(--teal-700)!important}.text-teal-800{color:var(--teal-800)!important}.text-teal-900{color:var(--teal-900)!important}.focus\:text-teal-50:focus{color:var(--teal-50)!important}.focus\:text-teal-100:focus{color:var(--teal-100)!important}.focus\:text-teal-200:focus{color:var(--teal-200)!important}.focus\:text-teal-300:focus{color:var(--teal-300)!important}.focus\:text-teal-400:focus{color:var(--teal-400)!important}.focus\:text-teal-500:focus{color:var(--teal-500)!important}.focus\:text-teal-600:focus{color:var(--teal-600)!important}.focus\:text-teal-700:focus{color:var(--teal-700)!important}.focus\:text-teal-800:focus{color:var(--teal-800)!important}.focus\:text-teal-900:focus{color:var(--teal-900)!important}.hover\:text-teal-50:hover{color:var(--teal-50)!important}.hover\:text-teal-100:hover{color:var(--teal-100)!important}.hover\:text-teal-200:hover{color:var(--teal-200)!important}.hover\:text-teal-300:hover{color:var(--teal-300)!important}.hover\:text-teal-400:hover{color:var(--teal-400)!important}.hover\:text-teal-500:hover{color:var(--teal-500)!important}.hover\:text-teal-600:hover{color:var(--teal-600)!important}.hover\:text-teal-700:hover{color:var(--teal-700)!important}.hover\:text-teal-800:hover{color:var(--teal-800)!important}.hover\:text-teal-900:hover{color:var(--teal-900)!important}.active\:text-teal-50:active{color:var(--teal-50)!important}.active\:text-teal-100:active{color:var(--teal-100)!important}.active\:text-teal-200:active{color:var(--teal-200)!important}.active\:text-teal-300:active{color:var(--teal-300)!important}.active\:text-teal-400:active{color:var(--teal-400)!important}.active\:text-teal-500:active{color:var(--teal-500)!important}.active\:text-teal-600:active{color:var(--teal-600)!important}.active\:text-teal-700:active{color:var(--teal-700)!important}.active\:text-teal-800:active{color:var(--teal-800)!important}.active\:text-teal-900:active{color:var(--teal-900)!important}.text-orange-50{color:var(--orange-50)!important}.text-orange-100{color:var(--orange-100)!important}.text-orange-200{color:var(--orange-200)!important}.text-orange-300{color:var(--orange-300)!important}.text-orange-400{color:var(--orange-400)!important}.text-orange-500{color:var(--orange-500)!important}.text-orange-600{color:var(--orange-600)!important}.text-orange-700{color:var(--orange-700)!important}.text-orange-800{color:var(--orange-800)!important}.text-orange-900{color:var(--orange-900)!important}.focus\:text-orange-50:focus{color:var(--orange-50)!important}.focus\:text-orange-100:focus{color:var(--orange-100)!important}.focus\:text-orange-200:focus{color:var(--orange-200)!important}.focus\:text-orange-300:focus{color:var(--orange-300)!important}.focus\:text-orange-400:focus{color:var(--orange-400)!important}.focus\:text-orange-500:focus{color:var(--orange-500)!important}.focus\:text-orange-600:focus{color:var(--orange-600)!important}.focus\:text-orange-700:focus{color:var(--orange-700)!important}.focus\:text-orange-800:focus{color:var(--orange-800)!important}.focus\:text-orange-900:focus{color:var(--orange-900)!important}.hover\:text-orange-50:hover{color:var(--orange-50)!important}.hover\:text-orange-100:hover{color:var(--orange-100)!important}.hover\:text-orange-200:hover{color:var(--orange-200)!important}.hover\:text-orange-300:hover{color:var(--orange-300)!important}.hover\:text-orange-400:hover{color:var(--orange-400)!important}.hover\:text-orange-500:hover{color:var(--orange-500)!important}.hover\:text-orange-600:hover{color:var(--orange-600)!important}.hover\:text-orange-700:hover{color:var(--orange-700)!important}.hover\:text-orange-800:hover{color:var(--orange-800)!important}.hover\:text-orange-900:hover{color:var(--orange-900)!important}.active\:text-orange-50:active{color:var(--orange-50)!important}.active\:text-orange-100:active{color:var(--orange-100)!important}.active\:text-orange-200:active{color:var(--orange-200)!important}.active\:text-orange-300:active{color:var(--orange-300)!important}.active\:text-orange-400:active{color:var(--orange-400)!important}.active\:text-orange-500:active{color:var(--orange-500)!important}.active\:text-orange-600:active{color:var(--orange-600)!important}.active\:text-orange-700:active{color:var(--orange-700)!important}.active\:text-orange-800:active{color:var(--orange-800)!important}.active\:text-orange-900:active{color:var(--orange-900)!important}.text-bluegray-50{color:var(--bluegray-50)!important}.text-bluegray-100{color:var(--bluegray-100)!important}.text-bluegray-200{color:var(--bluegray-200)!important}.text-bluegray-300{color:var(--bluegray-300)!important}.text-bluegray-400{color:var(--bluegray-400)!important}.text-bluegray-500{color:var(--bluegray-500)!important}.text-bluegray-600{color:var(--bluegray-600)!important}.text-bluegray-700{color:var(--bluegray-700)!important}.text-bluegray-800{color:var(--bluegray-800)!important}.text-bluegray-900{color:var(--bluegray-900)!important}.focus\:text-bluegray-50:focus{color:var(--bluegray-50)!important}.focus\:text-bluegray-100:focus{color:var(--bluegray-100)!important}.focus\:text-bluegray-200:focus{color:var(--bluegray-200)!important}.focus\:text-bluegray-300:focus{color:var(--bluegray-300)!important}.focus\:text-bluegray-400:focus{color:var(--bluegray-400)!important}.focus\:text-bluegray-500:focus{color:var(--bluegray-500)!important}.focus\:text-bluegray-600:focus{color:var(--bluegray-600)!important}.focus\:text-bluegray-700:focus{color:var(--bluegray-700)!important}.focus\:text-bluegray-800:focus{color:var(--bluegray-800)!important}.focus\:text-bluegray-900:focus{color:var(--bluegray-900)!important}.hover\:text-bluegray-50:hover{color:var(--bluegray-50)!important}.hover\:text-bluegray-100:hover{color:var(--bluegray-100)!important}.hover\:text-bluegray-200:hover{color:var(--bluegray-200)!important}.hover\:text-bluegray-300:hover{color:var(--bluegray-300)!important}.hover\:text-bluegray-400:hover{color:var(--bluegray-400)!important}.hover\:text-bluegray-500:hover{color:var(--bluegray-500)!important}.hover\:text-bluegray-600:hover{color:var(--bluegray-600)!important}.hover\:text-bluegray-700:hover{color:var(--bluegray-700)!important}.hover\:text-bluegray-800:hover{color:var(--bluegray-800)!important}.hover\:text-bluegray-900:hover{color:var(--bluegray-900)!important}.active\:text-bluegray-50:active{color:var(--bluegray-50)!important}.active\:text-bluegray-100:active{color:var(--bluegray-100)!important}.active\:text-bluegray-200:active{color:var(--bluegray-200)!important}.active\:text-bluegray-300:active{color:var(--bluegray-300)!important}.active\:text-bluegray-400:active{color:var(--bluegray-400)!important}.active\:text-bluegray-500:active{color:var(--bluegray-500)!important}.active\:text-bluegray-600:active{color:var(--bluegray-600)!important}.active\:text-bluegray-700:active{color:var(--bluegray-700)!important}.active\:text-bluegray-800:active{color:var(--bluegray-800)!important}.active\:text-bluegray-900:active{color:var(--bluegray-900)!important}.text-purple-50{color:var(--purple-50)!important}.text-purple-100{color:var(--purple-100)!important}.text-purple-200{color:var(--purple-200)!important}.text-purple-300{color:var(--purple-300)!important}.text-purple-400{color:var(--purple-400)!important}.text-purple-500{color:var(--purple-500)!important}.text-purple-600{color:var(--purple-600)!important}.text-purple-700{color:var(--purple-700)!important}.text-purple-800{color:var(--purple-800)!important}.text-purple-900{color:var(--purple-900)!important}.focus\:text-purple-50:focus{color:var(--purple-50)!important}.focus\:text-purple-100:focus{color:var(--purple-100)!important}.focus\:text-purple-200:focus{color:var(--purple-200)!important}.focus\:text-purple-300:focus{color:var(--purple-300)!important}.focus\:text-purple-400:focus{color:var(--purple-400)!important}.focus\:text-purple-500:focus{color:var(--purple-500)!important}.focus\:text-purple-600:focus{color:var(--purple-600)!important}.focus\:text-purple-700:focus{color:var(--purple-700)!important}.focus\:text-purple-800:focus{color:var(--purple-800)!important}.focus\:text-purple-900:focus{color:var(--purple-900)!important}.hover\:text-purple-50:hover{color:var(--purple-50)!important}.hover\:text-purple-100:hover{color:var(--purple-100)!important}.hover\:text-purple-200:hover{color:var(--purple-200)!important}.hover\:text-purple-300:hover{color:var(--purple-300)!important}.hover\:text-purple-400:hover{color:var(--purple-400)!important}.hover\:text-purple-500:hover{color:var(--purple-500)!important}.hover\:text-purple-600:hover{color:var(--purple-600)!important}.hover\:text-purple-700:hover{color:var(--purple-700)!important}.hover\:text-purple-800:hover{color:var(--purple-800)!important}.hover\:text-purple-900:hover{color:var(--purple-900)!important}.active\:text-purple-50:active{color:var(--purple-50)!important}.active\:text-purple-100:active{color:var(--purple-100)!important}.active\:text-purple-200:active{color:var(--purple-200)!important}.active\:text-purple-300:active{color:var(--purple-300)!important}.active\:text-purple-400:active{color:var(--purple-400)!important}.active\:text-purple-500:active{color:var(--purple-500)!important}.active\:text-purple-600:active{color:var(--purple-600)!important}.active\:text-purple-700:active{color:var(--purple-700)!important}.active\:text-purple-800:active{color:var(--purple-800)!important}.active\:text-purple-900:active{color:var(--purple-900)!important}.text-gray-50{color:var(--gray-50)!important}.text-gray-100{color:var(--gray-100)!important}.text-gray-200{color:var(--gray-200)!important}.text-gray-300{color:var(--gray-300)!important}.text-gray-400{color:var(--gray-400)!important}.text-gray-500{color:var(--gray-500)!important}.text-gray-600{color:var(--gray-600)!important}.text-gray-700{color:var(--gray-700)!important}.text-gray-800{color:var(--gray-800)!important}.text-gray-900{color:var(--gray-900)!important}.focus\:text-gray-50:focus{color:var(--gray-50)!important}.focus\:text-gray-100:focus{color:var(--gray-100)!important}.focus\:text-gray-200:focus{color:var(--gray-200)!important}.focus\:text-gray-300:focus{color:var(--gray-300)!important}.focus\:text-gray-400:focus{color:var(--gray-400)!important}.focus\:text-gray-500:focus{color:var(--gray-500)!important}.focus\:text-gray-600:focus{color:var(--gray-600)!important}.focus\:text-gray-700:focus{color:var(--gray-700)!important}.focus\:text-gray-800:focus{color:var(--gray-800)!important}.focus\:text-gray-900:focus{color:var(--gray-900)!important}.hover\:text-gray-50:hover{color:var(--gray-50)!important}.hover\:text-gray-100:hover{color:var(--gray-100)!important}.hover\:text-gray-200:hover{color:var(--gray-200)!important}.hover\:text-gray-300:hover{color:var(--gray-300)!important}.hover\:text-gray-400:hover{color:var(--gray-400)!important}.hover\:text-gray-500:hover{color:var(--gray-500)!important}.hover\:text-gray-600:hover{color:var(--gray-600)!important}.hover\:text-gray-700:hover{color:var(--gray-700)!important}.hover\:text-gray-800:hover{color:var(--gray-800)!important}.hover\:text-gray-900:hover{color:var(--gray-900)!important}.active\:text-gray-50:active{color:var(--gray-50)!important}.active\:text-gray-100:active{color:var(--gray-100)!important}.active\:text-gray-200:active{color:var(--gray-200)!important}.active\:text-gray-300:active{color:var(--gray-300)!important}.active\:text-gray-400:active{color:var(--gray-400)!important}.active\:text-gray-500:active{color:var(--gray-500)!important}.active\:text-gray-600:active{color:var(--gray-600)!important}.active\:text-gray-700:active{color:var(--gray-700)!important}.active\:text-gray-800:active{color:var(--gray-800)!important}.active\:text-gray-900:active{color:var(--gray-900)!important}.text-red-50{color:var(--red-50)!important}.text-red-100{color:var(--red-100)!important}.text-red-200{color:var(--red-200)!important}.text-red-300{color:var(--red-300)!important}.text-red-400{color:var(--red-400)!important}.text-red-500{color:var(--red-500)!important}.text-red-600{color:var(--red-600)!important}.text-red-700{color:var(--red-700)!important}.text-red-800{color:var(--red-800)!important}.text-red-900{color:var(--red-900)!important}.focus\:text-red-50:focus{color:var(--red-50)!important}.focus\:text-red-100:focus{color:var(--red-100)!important}.focus\:text-red-200:focus{color:var(--red-200)!important}.focus\:text-red-300:focus{color:var(--red-300)!important}.focus\:text-red-400:focus{color:var(--red-400)!important}.focus\:text-red-500:focus{color:var(--red-500)!important}.focus\:text-red-600:focus{color:var(--red-600)!important}.focus\:text-red-700:focus{color:var(--red-700)!important}.focus\:text-red-800:focus{color:var(--red-800)!important}.focus\:text-red-900:focus{color:var(--red-900)!important}.hover\:text-red-50:hover{color:var(--red-50)!important}.hover\:text-red-100:hover{color:var(--red-100)!important}.hover\:text-red-200:hover{color:var(--red-200)!important}.hover\:text-red-300:hover{color:var(--red-300)!important}.hover\:text-red-400:hover{color:var(--red-400)!important}.hover\:text-red-500:hover{color:var(--red-500)!important}.hover\:text-red-600:hover{color:var(--red-600)!important}.hover\:text-red-700:hover{color:var(--red-700)!important}.hover\:text-red-800:hover{color:var(--red-800)!important}.hover\:text-red-900:hover{color:var(--red-900)!important}.active\:text-red-50:active{color:var(--red-50)!important}.active\:text-red-100:active{color:var(--red-100)!important}.active\:text-red-200:active{color:var(--red-200)!important}.active\:text-red-300:active{color:var(--red-300)!important}.active\:text-red-400:active{color:var(--red-400)!important}.active\:text-red-500:active{color:var(--red-500)!important}.active\:text-red-600:active{color:var(--red-600)!important}.active\:text-red-700:active{color:var(--red-700)!important}.active\:text-red-800:active{color:var(--red-800)!important}.active\:text-red-900:active{color:var(--red-900)!important}.text-primary-50{color:var(--primary-50)!important}.text-primary-100{color:var(--primary-100)!important}.text-primary-200{color:var(--primary-200)!important}.text-primary-300{color:var(--primary-300)!important}.text-primary-400{color:var(--primary-400)!important}.text-primary-500{color:var(--primary-500)!important}.text-primary-600{color:var(--primary-600)!important}.text-primary-700{color:var(--primary-700)!important}.text-primary-800{color:var(--primary-800)!important}.text-primary-900{color:var(--primary-900)!important}.focus\:text-primary-50:focus{color:var(--primary-50)!important}.focus\:text-primary-100:focus{color:var(--primary-100)!important}.focus\:text-primary-200:focus{color:var(--primary-200)!important}.focus\:text-primary-300:focus{color:var(--primary-300)!important}.focus\:text-primary-400:focus{color:var(--primary-400)!important}.focus\:text-primary-500:focus{color:var(--primary-500)!important}.focus\:text-primary-600:focus{color:var(--primary-600)!important}.focus\:text-primary-700:focus{color:var(--primary-700)!important}.focus\:text-primary-800:focus{color:var(--primary-800)!important}.focus\:text-primary-900:focus{color:var(--primary-900)!important}.hover\:text-primary-50:hover{color:var(--primary-50)!important}.hover\:text-primary-100:hover{color:var(--primary-100)!important}.hover\:text-primary-200:hover{color:var(--primary-200)!important}.hover\:text-primary-300:hover{color:var(--primary-300)!important}.hover\:text-primary-400:hover{color:var(--primary-400)!important}.hover\:text-primary-500:hover{color:var(--primary-500)!important}.hover\:text-primary-600:hover{color:var(--primary-600)!important}.hover\:text-primary-700:hover{color:var(--primary-700)!important}.hover\:text-primary-800:hover{color:var(--primary-800)!important}.hover\:text-primary-900:hover{color:var(--primary-900)!important}.active\:text-primary-50:active{color:var(--primary-50)!important}.active\:text-primary-100:active{color:var(--primary-100)!important}.active\:text-primary-200:active{color:var(--primary-200)!important}.active\:text-primary-300:active{color:var(--primary-300)!important}.active\:text-primary-400:active{color:var(--primary-400)!important}.active\:text-primary-500:active{color:var(--primary-500)!important}.active\:text-primary-600:active{color:var(--primary-600)!important}.active\:text-primary-700:active{color:var(--primary-700)!important}.active\:text-primary-800:active{color:var(--primary-800)!important}.active\:text-primary-900:active{color:var(--primary-900)!important}.bg-blue-50{background-color:var(--blue-50)!important}.bg-blue-100{background-color:var(--blue-100)!important}.bg-blue-200{background-color:var(--blue-200)!important}.bg-blue-300{background-color:var(--blue-300)!important}.bg-blue-400{background-color:var(--blue-400)!important}.bg-blue-500{background-color:var(--blue-500)!important}.bg-blue-600{background-color:var(--blue-600)!important}.bg-blue-700{background-color:var(--blue-700)!important}.bg-blue-800{background-color:var(--blue-800)!important}.bg-blue-900{background-color:var(--blue-900)!important}.focus\:bg-blue-50:focus{background-color:var(--blue-50)!important}.focus\:bg-blue-100:focus{background-color:var(--blue-100)!important}.focus\:bg-blue-200:focus{background-color:var(--blue-200)!important}.focus\:bg-blue-300:focus{background-color:var(--blue-300)!important}.focus\:bg-blue-400:focus{background-color:var(--blue-400)!important}.focus\:bg-blue-500:focus{background-color:var(--blue-500)!important}.focus\:bg-blue-600:focus{background-color:var(--blue-600)!important}.focus\:bg-blue-700:focus{background-color:var(--blue-700)!important}.focus\:bg-blue-800:focus{background-color:var(--blue-800)!important}.focus\:bg-blue-900:focus{background-color:var(--blue-900)!important}.hover\:bg-blue-50:hover{background-color:var(--blue-50)!important}.hover\:bg-blue-100:hover{background-color:var(--blue-100)!important}.hover\:bg-blue-200:hover{background-color:var(--blue-200)!important}.hover\:bg-blue-300:hover{background-color:var(--blue-300)!important}.hover\:bg-blue-400:hover{background-color:var(--blue-400)!important}.hover\:bg-blue-500:hover{background-color:var(--blue-500)!important}.hover\:bg-blue-600:hover{background-color:var(--blue-600)!important}.hover\:bg-blue-700:hover{background-color:var(--blue-700)!important}.hover\:bg-blue-800:hover{background-color:var(--blue-800)!important}.hover\:bg-blue-900:hover{background-color:var(--blue-900)!important}.active\:bg-blue-50:active{background-color:var(--blue-50)!important}.active\:bg-blue-100:active{background-color:var(--blue-100)!important}.active\:bg-blue-200:active{background-color:var(--blue-200)!important}.active\:bg-blue-300:active{background-color:var(--blue-300)!important}.active\:bg-blue-400:active{background-color:var(--blue-400)!important}.active\:bg-blue-500:active{background-color:var(--blue-500)!important}.active\:bg-blue-600:active{background-color:var(--blue-600)!important}.active\:bg-blue-700:active{background-color:var(--blue-700)!important}.active\:bg-blue-800:active{background-color:var(--blue-800)!important}.active\:bg-blue-900:active{background-color:var(--blue-900)!important}.bg-green-50{background-color:var(--green-50)!important}.bg-green-100{background-color:var(--green-100)!important}.bg-green-200{background-color:var(--green-200)!important}.bg-green-300{background-color:var(--green-300)!important}.bg-green-400{background-color:var(--green-400)!important}.bg-green-500{background-color:var(--green-500)!important}.bg-green-600{background-color:var(--green-600)!important}.bg-green-700{background-color:var(--green-700)!important}.bg-green-800{background-color:var(--green-800)!important}.bg-green-900{background-color:var(--green-900)!important}.focus\:bg-green-50:focus{background-color:var(--green-50)!important}.focus\:bg-green-100:focus{background-color:var(--green-100)!important}.focus\:bg-green-200:focus{background-color:var(--green-200)!important}.focus\:bg-green-300:focus{background-color:var(--green-300)!important}.focus\:bg-green-400:focus{background-color:var(--green-400)!important}.focus\:bg-green-500:focus{background-color:var(--green-500)!important}.focus\:bg-green-600:focus{background-color:var(--green-600)!important}.focus\:bg-green-700:focus{background-color:var(--green-700)!important}.focus\:bg-green-800:focus{background-color:var(--green-800)!important}.focus\:bg-green-900:focus{background-color:var(--green-900)!important}.hover\:bg-green-50:hover{background-color:var(--green-50)!important}.hover\:bg-green-100:hover{background-color:var(--green-100)!important}.hover\:bg-green-200:hover{background-color:var(--green-200)!important}.hover\:bg-green-300:hover{background-color:var(--green-300)!important}.hover\:bg-green-400:hover{background-color:var(--green-400)!important}.hover\:bg-green-500:hover{background-color:var(--green-500)!important}.hover\:bg-green-600:hover{background-color:var(--green-600)!important}.hover\:bg-green-700:hover{background-color:var(--green-700)!important}.hover\:bg-green-800:hover{background-color:var(--green-800)!important}.hover\:bg-green-900:hover{background-color:var(--green-900)!important}.active\:bg-green-50:active{background-color:var(--green-50)!important}.active\:bg-green-100:active{background-color:var(--green-100)!important}.active\:bg-green-200:active{background-color:var(--green-200)!important}.active\:bg-green-300:active{background-color:var(--green-300)!important}.active\:bg-green-400:active{background-color:var(--green-400)!important}.active\:bg-green-500:active{background-color:var(--green-500)!important}.active\:bg-green-600:active{background-color:var(--green-600)!important}.active\:bg-green-700:active{background-color:var(--green-700)!important}.active\:bg-green-800:active{background-color:var(--green-800)!important}.active\:bg-green-900:active{background-color:var(--green-900)!important}.bg-yellow-50{background-color:var(--yellow-50)!important}.bg-yellow-100{background-color:var(--yellow-100)!important}.bg-yellow-200{background-color:var(--yellow-200)!important}.bg-yellow-300{background-color:var(--yellow-300)!important}.bg-yellow-400{background-color:var(--yellow-400)!important}.bg-yellow-500{background-color:var(--yellow-500)!important}.bg-yellow-600{background-color:var(--yellow-600)!important}.bg-yellow-700{background-color:var(--yellow-700)!important}.bg-yellow-800{background-color:var(--yellow-800)!important}.bg-yellow-900{background-color:var(--yellow-900)!important}.focus\:bg-yellow-50:focus{background-color:var(--yellow-50)!important}.focus\:bg-yellow-100:focus{background-color:var(--yellow-100)!important}.focus\:bg-yellow-200:focus{background-color:var(--yellow-200)!important}.focus\:bg-yellow-300:focus{background-color:var(--yellow-300)!important}.focus\:bg-yellow-400:focus{background-color:var(--yellow-400)!important}.focus\:bg-yellow-500:focus{background-color:var(--yellow-500)!important}.focus\:bg-yellow-600:focus{background-color:var(--yellow-600)!important}.focus\:bg-yellow-700:focus{background-color:var(--yellow-700)!important}.focus\:bg-yellow-800:focus{background-color:var(--yellow-800)!important}.focus\:bg-yellow-900:focus{background-color:var(--yellow-900)!important}.hover\:bg-yellow-50:hover{background-color:var(--yellow-50)!important}.hover\:bg-yellow-100:hover{background-color:var(--yellow-100)!important}.hover\:bg-yellow-200:hover{background-color:var(--yellow-200)!important}.hover\:bg-yellow-300:hover{background-color:var(--yellow-300)!important}.hover\:bg-yellow-400:hover{background-color:var(--yellow-400)!important}.hover\:bg-yellow-500:hover{background-color:var(--yellow-500)!important}.hover\:bg-yellow-600:hover{background-color:var(--yellow-600)!important}.hover\:bg-yellow-700:hover{background-color:var(--yellow-700)!important}.hover\:bg-yellow-800:hover{background-color:var(--yellow-800)!important}.hover\:bg-yellow-900:hover{background-color:var(--yellow-900)!important}.active\:bg-yellow-50:active{background-color:var(--yellow-50)!important}.active\:bg-yellow-100:active{background-color:var(--yellow-100)!important}.active\:bg-yellow-200:active{background-color:var(--yellow-200)!important}.active\:bg-yellow-300:active{background-color:var(--yellow-300)!important}.active\:bg-yellow-400:active{background-color:var(--yellow-400)!important}.active\:bg-yellow-500:active{background-color:var(--yellow-500)!important}.active\:bg-yellow-600:active{background-color:var(--yellow-600)!important}.active\:bg-yellow-700:active{background-color:var(--yellow-700)!important}.active\:bg-yellow-800:active{background-color:var(--yellow-800)!important}.active\:bg-yellow-900:active{background-color:var(--yellow-900)!important}.bg-cyan-50{background-color:var(--cyan-50)!important}.bg-cyan-100{background-color:var(--cyan-100)!important}.bg-cyan-200{background-color:var(--cyan-200)!important}.bg-cyan-300{background-color:var(--cyan-300)!important}.bg-cyan-400{background-color:var(--cyan-400)!important}.bg-cyan-500{background-color:var(--cyan-500)!important}.bg-cyan-600{background-color:var(--cyan-600)!important}.bg-cyan-700{background-color:var(--cyan-700)!important}.bg-cyan-800{background-color:var(--cyan-800)!important}.bg-cyan-900{background-color:var(--cyan-900)!important}.focus\:bg-cyan-50:focus{background-color:var(--cyan-50)!important}.focus\:bg-cyan-100:focus{background-color:var(--cyan-100)!important}.focus\:bg-cyan-200:focus{background-color:var(--cyan-200)!important}.focus\:bg-cyan-300:focus{background-color:var(--cyan-300)!important}.focus\:bg-cyan-400:focus{background-color:var(--cyan-400)!important}.focus\:bg-cyan-500:focus{background-color:var(--cyan-500)!important}.focus\:bg-cyan-600:focus{background-color:var(--cyan-600)!important}.focus\:bg-cyan-700:focus{background-color:var(--cyan-700)!important}.focus\:bg-cyan-800:focus{background-color:var(--cyan-800)!important}.focus\:bg-cyan-900:focus{background-color:var(--cyan-900)!important}.hover\:bg-cyan-50:hover{background-color:var(--cyan-50)!important}.hover\:bg-cyan-100:hover{background-color:var(--cyan-100)!important}.hover\:bg-cyan-200:hover{background-color:var(--cyan-200)!important}.hover\:bg-cyan-300:hover{background-color:var(--cyan-300)!important}.hover\:bg-cyan-400:hover{background-color:var(--cyan-400)!important}.hover\:bg-cyan-500:hover{background-color:var(--cyan-500)!important}.hover\:bg-cyan-600:hover{background-color:var(--cyan-600)!important}.hover\:bg-cyan-700:hover{background-color:var(--cyan-700)!important}.hover\:bg-cyan-800:hover{background-color:var(--cyan-800)!important}.hover\:bg-cyan-900:hover{background-color:var(--cyan-900)!important}.active\:bg-cyan-50:active{background-color:var(--cyan-50)!important}.active\:bg-cyan-100:active{background-color:var(--cyan-100)!important}.active\:bg-cyan-200:active{background-color:var(--cyan-200)!important}.active\:bg-cyan-300:active{background-color:var(--cyan-300)!important}.active\:bg-cyan-400:active{background-color:var(--cyan-400)!important}.active\:bg-cyan-500:active{background-color:var(--cyan-500)!important}.active\:bg-cyan-600:active{background-color:var(--cyan-600)!important}.active\:bg-cyan-700:active{background-color:var(--cyan-700)!important}.active\:bg-cyan-800:active{background-color:var(--cyan-800)!important}.active\:bg-cyan-900:active{background-color:var(--cyan-900)!important}.bg-pink-50{background-color:var(--pink-50)!important}.bg-pink-100{background-color:var(--pink-100)!important}.bg-pink-200{background-color:var(--pink-200)!important}.bg-pink-300{background-color:var(--pink-300)!important}.bg-pink-400{background-color:var(--pink-400)!important}.bg-pink-500{background-color:var(--pink-500)!important}.bg-pink-600{background-color:var(--pink-600)!important}.bg-pink-700{background-color:var(--pink-700)!important}.bg-pink-800{background-color:var(--pink-800)!important}.bg-pink-900{background-color:var(--pink-900)!important}.focus\:bg-pink-50:focus{background-color:var(--pink-50)!important}.focus\:bg-pink-100:focus{background-color:var(--pink-100)!important}.focus\:bg-pink-200:focus{background-color:var(--pink-200)!important}.focus\:bg-pink-300:focus{background-color:var(--pink-300)!important}.focus\:bg-pink-400:focus{background-color:var(--pink-400)!important}.focus\:bg-pink-500:focus{background-color:var(--pink-500)!important}.focus\:bg-pink-600:focus{background-color:var(--pink-600)!important}.focus\:bg-pink-700:focus{background-color:var(--pink-700)!important}.focus\:bg-pink-800:focus{background-color:var(--pink-800)!important}.focus\:bg-pink-900:focus{background-color:var(--pink-900)!important}.hover\:bg-pink-50:hover{background-color:var(--pink-50)!important}.hover\:bg-pink-100:hover{background-color:var(--pink-100)!important}.hover\:bg-pink-200:hover{background-color:var(--pink-200)!important}.hover\:bg-pink-300:hover{background-color:var(--pink-300)!important}.hover\:bg-pink-400:hover{background-color:var(--pink-400)!important}.hover\:bg-pink-500:hover{background-color:var(--pink-500)!important}.hover\:bg-pink-600:hover{background-color:var(--pink-600)!important}.hover\:bg-pink-700:hover{background-color:var(--pink-700)!important}.hover\:bg-pink-800:hover{background-color:var(--pink-800)!important}.hover\:bg-pink-900:hover{background-color:var(--pink-900)!important}.active\:bg-pink-50:active{background-color:var(--pink-50)!important}.active\:bg-pink-100:active{background-color:var(--pink-100)!important}.active\:bg-pink-200:active{background-color:var(--pink-200)!important}.active\:bg-pink-300:active{background-color:var(--pink-300)!important}.active\:bg-pink-400:active{background-color:var(--pink-400)!important}.active\:bg-pink-500:active{background-color:var(--pink-500)!important}.active\:bg-pink-600:active{background-color:var(--pink-600)!important}.active\:bg-pink-700:active{background-color:var(--pink-700)!important}.active\:bg-pink-800:active{background-color:var(--pink-800)!important}.active\:bg-pink-900:active{background-color:var(--pink-900)!important}.bg-indigo-50{background-color:var(--indigo-50)!important}.bg-indigo-100{background-color:var(--indigo-100)!important}.bg-indigo-200{background-color:var(--indigo-200)!important}.bg-indigo-300{background-color:var(--indigo-300)!important}.bg-indigo-400{background-color:var(--indigo-400)!important}.bg-indigo-500{background-color:var(--indigo-500)!important}.bg-indigo-600{background-color:var(--indigo-600)!important}.bg-indigo-700{background-color:var(--indigo-700)!important}.bg-indigo-800{background-color:var(--indigo-800)!important}.bg-indigo-900{background-color:var(--indigo-900)!important}.focus\:bg-indigo-50:focus{background-color:var(--indigo-50)!important}.focus\:bg-indigo-100:focus{background-color:var(--indigo-100)!important}.focus\:bg-indigo-200:focus{background-color:var(--indigo-200)!important}.focus\:bg-indigo-300:focus{background-color:var(--indigo-300)!important}.focus\:bg-indigo-400:focus{background-color:var(--indigo-400)!important}.focus\:bg-indigo-500:focus{background-color:var(--indigo-500)!important}.focus\:bg-indigo-600:focus{background-color:var(--indigo-600)!important}.focus\:bg-indigo-700:focus{background-color:var(--indigo-700)!important}.focus\:bg-indigo-800:focus{background-color:var(--indigo-800)!important}.focus\:bg-indigo-900:focus{background-color:var(--indigo-900)!important}.hover\:bg-indigo-50:hover{background-color:var(--indigo-50)!important}.hover\:bg-indigo-100:hover{background-color:var(--indigo-100)!important}.hover\:bg-indigo-200:hover{background-color:var(--indigo-200)!important}.hover\:bg-indigo-300:hover{background-color:var(--indigo-300)!important}.hover\:bg-indigo-400:hover{background-color:var(--indigo-400)!important}.hover\:bg-indigo-500:hover{background-color:var(--indigo-500)!important}.hover\:bg-indigo-600:hover{background-color:var(--indigo-600)!important}.hover\:bg-indigo-700:hover{background-color:var(--indigo-700)!important}.hover\:bg-indigo-800:hover{background-color:var(--indigo-800)!important}.hover\:bg-indigo-900:hover{background-color:var(--indigo-900)!important}.active\:bg-indigo-50:active{background-color:var(--indigo-50)!important}.active\:bg-indigo-100:active{background-color:var(--indigo-100)!important}.active\:bg-indigo-200:active{background-color:var(--indigo-200)!important}.active\:bg-indigo-300:active{background-color:var(--indigo-300)!important}.active\:bg-indigo-400:active{background-color:var(--indigo-400)!important}.active\:bg-indigo-500:active{background-color:var(--indigo-500)!important}.active\:bg-indigo-600:active{background-color:var(--indigo-600)!important}.active\:bg-indigo-700:active{background-color:var(--indigo-700)!important}.active\:bg-indigo-800:active{background-color:var(--indigo-800)!important}.active\:bg-indigo-900:active{background-color:var(--indigo-900)!important}.bg-teal-50{background-color:var(--teal-50)!important}.bg-teal-100{background-color:var(--teal-100)!important}.bg-teal-200{background-color:var(--teal-200)!important}.bg-teal-300{background-color:var(--teal-300)!important}.bg-teal-400{background-color:var(--teal-400)!important}.bg-teal-500{background-color:var(--teal-500)!important}.bg-teal-600{background-color:var(--teal-600)!important}.bg-teal-700{background-color:var(--teal-700)!important}.bg-teal-800{background-color:var(--teal-800)!important}.bg-teal-900{background-color:var(--teal-900)!important}.focus\:bg-teal-50:focus{background-color:var(--teal-50)!important}.focus\:bg-teal-100:focus{background-color:var(--teal-100)!important}.focus\:bg-teal-200:focus{background-color:var(--teal-200)!important}.focus\:bg-teal-300:focus{background-color:var(--teal-300)!important}.focus\:bg-teal-400:focus{background-color:var(--teal-400)!important}.focus\:bg-teal-500:focus{background-color:var(--teal-500)!important}.focus\:bg-teal-600:focus{background-color:var(--teal-600)!important}.focus\:bg-teal-700:focus{background-color:var(--teal-700)!important}.focus\:bg-teal-800:focus{background-color:var(--teal-800)!important}.focus\:bg-teal-900:focus{background-color:var(--teal-900)!important}.hover\:bg-teal-50:hover{background-color:var(--teal-50)!important}.hover\:bg-teal-100:hover{background-color:var(--teal-100)!important}.hover\:bg-teal-200:hover{background-color:var(--teal-200)!important}.hover\:bg-teal-300:hover{background-color:var(--teal-300)!important}.hover\:bg-teal-400:hover{background-color:var(--teal-400)!important}.hover\:bg-teal-500:hover{background-color:var(--teal-500)!important}.hover\:bg-teal-600:hover{background-color:var(--teal-600)!important}.hover\:bg-teal-700:hover{background-color:var(--teal-700)!important}.hover\:bg-teal-800:hover{background-color:var(--teal-800)!important}.hover\:bg-teal-900:hover{background-color:var(--teal-900)!important}.active\:bg-teal-50:active{background-color:var(--teal-50)!important}.active\:bg-teal-100:active{background-color:var(--teal-100)!important}.active\:bg-teal-200:active{background-color:var(--teal-200)!important}.active\:bg-teal-300:active{background-color:var(--teal-300)!important}.active\:bg-teal-400:active{background-color:var(--teal-400)!important}.active\:bg-teal-500:active{background-color:var(--teal-500)!important}.active\:bg-teal-600:active{background-color:var(--teal-600)!important}.active\:bg-teal-700:active{background-color:var(--teal-700)!important}.active\:bg-teal-800:active{background-color:var(--teal-800)!important}.active\:bg-teal-900:active{background-color:var(--teal-900)!important}.bg-orange-50{background-color:var(--orange-50)!important}.bg-orange-100{background-color:var(--orange-100)!important}.bg-orange-200{background-color:var(--orange-200)!important}.bg-orange-300{background-color:var(--orange-300)!important}.bg-orange-400{background-color:var(--orange-400)!important}.bg-orange-500{background-color:var(--orange-500)!important}.bg-orange-600{background-color:var(--orange-600)!important}.bg-orange-700{background-color:var(--orange-700)!important}.bg-orange-800{background-color:var(--orange-800)!important}.bg-orange-900{background-color:var(--orange-900)!important}.focus\:bg-orange-50:focus{background-color:var(--orange-50)!important}.focus\:bg-orange-100:focus{background-color:var(--orange-100)!important}.focus\:bg-orange-200:focus{background-color:var(--orange-200)!important}.focus\:bg-orange-300:focus{background-color:var(--orange-300)!important}.focus\:bg-orange-400:focus{background-color:var(--orange-400)!important}.focus\:bg-orange-500:focus{background-color:var(--orange-500)!important}.focus\:bg-orange-600:focus{background-color:var(--orange-600)!important}.focus\:bg-orange-700:focus{background-color:var(--orange-700)!important}.focus\:bg-orange-800:focus{background-color:var(--orange-800)!important}.focus\:bg-orange-900:focus{background-color:var(--orange-900)!important}.hover\:bg-orange-50:hover{background-color:var(--orange-50)!important}.hover\:bg-orange-100:hover{background-color:var(--orange-100)!important}.hover\:bg-orange-200:hover{background-color:var(--orange-200)!important}.hover\:bg-orange-300:hover{background-color:var(--orange-300)!important}.hover\:bg-orange-400:hover{background-color:var(--orange-400)!important}.hover\:bg-orange-500:hover{background-color:var(--orange-500)!important}.hover\:bg-orange-600:hover{background-color:var(--orange-600)!important}.hover\:bg-orange-700:hover{background-color:var(--orange-700)!important}.hover\:bg-orange-800:hover{background-color:var(--orange-800)!important}.hover\:bg-orange-900:hover{background-color:var(--orange-900)!important}.active\:bg-orange-50:active{background-color:var(--orange-50)!important}.active\:bg-orange-100:active{background-color:var(--orange-100)!important}.active\:bg-orange-200:active{background-color:var(--orange-200)!important}.active\:bg-orange-300:active{background-color:var(--orange-300)!important}.active\:bg-orange-400:active{background-color:var(--orange-400)!important}.active\:bg-orange-500:active{background-color:var(--orange-500)!important}.active\:bg-orange-600:active{background-color:var(--orange-600)!important}.active\:bg-orange-700:active{background-color:var(--orange-700)!important}.active\:bg-orange-800:active{background-color:var(--orange-800)!important}.active\:bg-orange-900:active{background-color:var(--orange-900)!important}.bg-bluegray-50{background-color:var(--bluegray-50)!important}.bg-bluegray-100{background-color:var(--bluegray-100)!important}.bg-bluegray-200{background-color:var(--bluegray-200)!important}.bg-bluegray-300{background-color:var(--bluegray-300)!important}.bg-bluegray-400{background-color:var(--bluegray-400)!important}.bg-bluegray-500{background-color:var(--bluegray-500)!important}.bg-bluegray-600{background-color:var(--bluegray-600)!important}.bg-bluegray-700{background-color:var(--bluegray-700)!important}.bg-bluegray-800{background-color:var(--bluegray-800)!important}.bg-bluegray-900{background-color:var(--bluegray-900)!important}.focus\:bg-bluegray-50:focus{background-color:var(--bluegray-50)!important}.focus\:bg-bluegray-100:focus{background-color:var(--bluegray-100)!important}.focus\:bg-bluegray-200:focus{background-color:var(--bluegray-200)!important}.focus\:bg-bluegray-300:focus{background-color:var(--bluegray-300)!important}.focus\:bg-bluegray-400:focus{background-color:var(--bluegray-400)!important}.focus\:bg-bluegray-500:focus{background-color:var(--bluegray-500)!important}.focus\:bg-bluegray-600:focus{background-color:var(--bluegray-600)!important}.focus\:bg-bluegray-700:focus{background-color:var(--bluegray-700)!important}.focus\:bg-bluegray-800:focus{background-color:var(--bluegray-800)!important}.focus\:bg-bluegray-900:focus{background-color:var(--bluegray-900)!important}.hover\:bg-bluegray-50:hover{background-color:var(--bluegray-50)!important}.hover\:bg-bluegray-100:hover{background-color:var(--bluegray-100)!important}.hover\:bg-bluegray-200:hover{background-color:var(--bluegray-200)!important}.hover\:bg-bluegray-300:hover{background-color:var(--bluegray-300)!important}.hover\:bg-bluegray-400:hover{background-color:var(--bluegray-400)!important}.hover\:bg-bluegray-500:hover{background-color:var(--bluegray-500)!important}.hover\:bg-bluegray-600:hover{background-color:var(--bluegray-600)!important}.hover\:bg-bluegray-700:hover{background-color:var(--bluegray-700)!important}.hover\:bg-bluegray-800:hover{background-color:var(--bluegray-800)!important}.hover\:bg-bluegray-900:hover{background-color:var(--bluegray-900)!important}.active\:bg-bluegray-50:active{background-color:var(--bluegray-50)!important}.active\:bg-bluegray-100:active{background-color:var(--bluegray-100)!important}.active\:bg-bluegray-200:active{background-color:var(--bluegray-200)!important}.active\:bg-bluegray-300:active{background-color:var(--bluegray-300)!important}.active\:bg-bluegray-400:active{background-color:var(--bluegray-400)!important}.active\:bg-bluegray-500:active{background-color:var(--bluegray-500)!important}.active\:bg-bluegray-600:active{background-color:var(--bluegray-600)!important}.active\:bg-bluegray-700:active{background-color:var(--bluegray-700)!important}.active\:bg-bluegray-800:active{background-color:var(--bluegray-800)!important}.active\:bg-bluegray-900:active{background-color:var(--bluegray-900)!important}.bg-purple-50{background-color:var(--purple-50)!important}.bg-purple-100{background-color:var(--purple-100)!important}.bg-purple-200{background-color:var(--purple-200)!important}.bg-purple-300{background-color:var(--purple-300)!important}.bg-purple-400{background-color:var(--purple-400)!important}.bg-purple-500{background-color:var(--purple-500)!important}.bg-purple-600{background-color:var(--purple-600)!important}.bg-purple-700{background-color:var(--purple-700)!important}.bg-purple-800{background-color:var(--purple-800)!important}.bg-purple-900{background-color:var(--purple-900)!important}.focus\:bg-purple-50:focus{background-color:var(--purple-50)!important}.focus\:bg-purple-100:focus{background-color:var(--purple-100)!important}.focus\:bg-purple-200:focus{background-color:var(--purple-200)!important}.focus\:bg-purple-300:focus{background-color:var(--purple-300)!important}.focus\:bg-purple-400:focus{background-color:var(--purple-400)!important}.focus\:bg-purple-500:focus{background-color:var(--purple-500)!important}.focus\:bg-purple-600:focus{background-color:var(--purple-600)!important}.focus\:bg-purple-700:focus{background-color:var(--purple-700)!important}.focus\:bg-purple-800:focus{background-color:var(--purple-800)!important}.focus\:bg-purple-900:focus{background-color:var(--purple-900)!important}.hover\:bg-purple-50:hover{background-color:var(--purple-50)!important}.hover\:bg-purple-100:hover{background-color:var(--purple-100)!important}.hover\:bg-purple-200:hover{background-color:var(--purple-200)!important}.hover\:bg-purple-300:hover{background-color:var(--purple-300)!important}.hover\:bg-purple-400:hover{background-color:var(--purple-400)!important}.hover\:bg-purple-500:hover{background-color:var(--purple-500)!important}.hover\:bg-purple-600:hover{background-color:var(--purple-600)!important}.hover\:bg-purple-700:hover{background-color:var(--purple-700)!important}.hover\:bg-purple-800:hover{background-color:var(--purple-800)!important}.hover\:bg-purple-900:hover{background-color:var(--purple-900)!important}.active\:bg-purple-50:active{background-color:var(--purple-50)!important}.active\:bg-purple-100:active{background-color:var(--purple-100)!important}.active\:bg-purple-200:active{background-color:var(--purple-200)!important}.active\:bg-purple-300:active{background-color:var(--purple-300)!important}.active\:bg-purple-400:active{background-color:var(--purple-400)!important}.active\:bg-purple-500:active{background-color:var(--purple-500)!important}.active\:bg-purple-600:active{background-color:var(--purple-600)!important}.active\:bg-purple-700:active{background-color:var(--purple-700)!important}.active\:bg-purple-800:active{background-color:var(--purple-800)!important}.active\:bg-purple-900:active{background-color:var(--purple-900)!important}.bg-gray-50{background-color:var(--gray-50)!important}.bg-gray-100{background-color:var(--gray-100)!important}.bg-gray-200{background-color:var(--gray-200)!important}.bg-gray-300{background-color:var(--gray-300)!important}.bg-gray-400{background-color:var(--gray-400)!important}.bg-gray-500{background-color:var(--gray-500)!important}.bg-gray-600{background-color:var(--gray-600)!important}.bg-gray-700{background-color:var(--gray-700)!important}.bg-gray-800{background-color:var(--gray-800)!important}.bg-gray-900{background-color:var(--gray-900)!important}.focus\:bg-gray-50:focus{background-color:var(--gray-50)!important}.focus\:bg-gray-100:focus{background-color:var(--gray-100)!important}.focus\:bg-gray-200:focus{background-color:var(--gray-200)!important}.focus\:bg-gray-300:focus{background-color:var(--gray-300)!important}.focus\:bg-gray-400:focus{background-color:var(--gray-400)!important}.focus\:bg-gray-500:focus{background-color:var(--gray-500)!important}.focus\:bg-gray-600:focus{background-color:var(--gray-600)!important}.focus\:bg-gray-700:focus{background-color:var(--gray-700)!important}.focus\:bg-gray-800:focus{background-color:var(--gray-800)!important}.focus\:bg-gray-900:focus{background-color:var(--gray-900)!important}.hover\:bg-gray-50:hover{background-color:var(--gray-50)!important}.hover\:bg-gray-100:hover{background-color:var(--gray-100)!important}.hover\:bg-gray-200:hover{background-color:var(--gray-200)!important}.hover\:bg-gray-300:hover{background-color:var(--gray-300)!important}.hover\:bg-gray-400:hover{background-color:var(--gray-400)!important}.hover\:bg-gray-500:hover{background-color:var(--gray-500)!important}.hover\:bg-gray-600:hover{background-color:var(--gray-600)!important}.hover\:bg-gray-700:hover{background-color:var(--gray-700)!important}.hover\:bg-gray-800:hover{background-color:var(--gray-800)!important}.hover\:bg-gray-900:hover{background-color:var(--gray-900)!important}.active\:bg-gray-50:active{background-color:var(--gray-50)!important}.active\:bg-gray-100:active{background-color:var(--gray-100)!important}.active\:bg-gray-200:active{background-color:var(--gray-200)!important}.active\:bg-gray-300:active{background-color:var(--gray-300)!important}.active\:bg-gray-400:active{background-color:var(--gray-400)!important}.active\:bg-gray-500:active{background-color:var(--gray-500)!important}.active\:bg-gray-600:active{background-color:var(--gray-600)!important}.active\:bg-gray-700:active{background-color:var(--gray-700)!important}.active\:bg-gray-800:active{background-color:var(--gray-800)!important}.active\:bg-gray-900:active{background-color:var(--gray-900)!important}.bg-red-50{background-color:var(--red-50)!important}.bg-red-100{background-color:var(--red-100)!important}.bg-red-200{background-color:var(--red-200)!important}.bg-red-300{background-color:var(--red-300)!important}.bg-red-400{background-color:var(--red-400)!important}.bg-red-500{background-color:var(--red-500)!important}.bg-red-600{background-color:var(--red-600)!important}.bg-red-700{background-color:var(--red-700)!important}.bg-red-800{background-color:var(--red-800)!important}.bg-red-900{background-color:var(--red-900)!important}.focus\:bg-red-50:focus{background-color:var(--red-50)!important}.focus\:bg-red-100:focus{background-color:var(--red-100)!important}.focus\:bg-red-200:focus{background-color:var(--red-200)!important}.focus\:bg-red-300:focus{background-color:var(--red-300)!important}.focus\:bg-red-400:focus{background-color:var(--red-400)!important}.focus\:bg-red-500:focus{background-color:var(--red-500)!important}.focus\:bg-red-600:focus{background-color:var(--red-600)!important}.focus\:bg-red-700:focus{background-color:var(--red-700)!important}.focus\:bg-red-800:focus{background-color:var(--red-800)!important}.focus\:bg-red-900:focus{background-color:var(--red-900)!important}.hover\:bg-red-50:hover{background-color:var(--red-50)!important}.hover\:bg-red-100:hover{background-color:var(--red-100)!important}.hover\:bg-red-200:hover{background-color:var(--red-200)!important}.hover\:bg-red-300:hover{background-color:var(--red-300)!important}.hover\:bg-red-400:hover{background-color:var(--red-400)!important}.hover\:bg-red-500:hover{background-color:var(--red-500)!important}.hover\:bg-red-600:hover{background-color:var(--red-600)!important}.hover\:bg-red-700:hover{background-color:var(--red-700)!important}.hover\:bg-red-800:hover{background-color:var(--red-800)!important}.hover\:bg-red-900:hover{background-color:var(--red-900)!important}.active\:bg-red-50:active{background-color:var(--red-50)!important}.active\:bg-red-100:active{background-color:var(--red-100)!important}.active\:bg-red-200:active{background-color:var(--red-200)!important}.active\:bg-red-300:active{background-color:var(--red-300)!important}.active\:bg-red-400:active{background-color:var(--red-400)!important}.active\:bg-red-500:active{background-color:var(--red-500)!important}.active\:bg-red-600:active{background-color:var(--red-600)!important}.active\:bg-red-700:active{background-color:var(--red-700)!important}.active\:bg-red-800:active{background-color:var(--red-800)!important}.active\:bg-red-900:active{background-color:var(--red-900)!important}.bg-primary-50{background-color:var(--primary-50)!important}.bg-primary-100{background-color:var(--primary-100)!important}.bg-primary-200{background-color:var(--primary-200)!important}.bg-primary-300{background-color:var(--primary-300)!important}.bg-primary-400{background-color:var(--primary-400)!important}.bg-primary-500{background-color:var(--primary-500)!important}.bg-primary-600{background-color:var(--primary-600)!important}.bg-primary-700{background-color:var(--primary-700)!important}.bg-primary-800{background-color:var(--primary-800)!important}.bg-primary-900{background-color:var(--primary-900)!important}.focus\:bg-primary-50:focus{background-color:var(--primary-50)!important}.focus\:bg-primary-100:focus{background-color:var(--primary-100)!important}.focus\:bg-primary-200:focus{background-color:var(--primary-200)!important}.focus\:bg-primary-300:focus{background-color:var(--primary-300)!important}.focus\:bg-primary-400:focus{background-color:var(--primary-400)!important}.focus\:bg-primary-500:focus{background-color:var(--primary-500)!important}.focus\:bg-primary-600:focus{background-color:var(--primary-600)!important}.focus\:bg-primary-700:focus{background-color:var(--primary-700)!important}.focus\:bg-primary-800:focus{background-color:var(--primary-800)!important}.focus\:bg-primary-900:focus{background-color:var(--primary-900)!important}.hover\:bg-primary-50:hover{background-color:var(--primary-50)!important}.hover\:bg-primary-100:hover{background-color:var(--primary-100)!important}.hover\:bg-primary-200:hover{background-color:var(--primary-200)!important}.hover\:bg-primary-300:hover{background-color:var(--primary-300)!important}.hover\:bg-primary-400:hover{background-color:var(--primary-400)!important}.hover\:bg-primary-500:hover{background-color:var(--primary-500)!important}.hover\:bg-primary-600:hover{background-color:var(--primary-600)!important}.hover\:bg-primary-700:hover{background-color:var(--primary-700)!important}.hover\:bg-primary-800:hover{background-color:var(--primary-800)!important}.hover\:bg-primary-900:hover{background-color:var(--primary-900)!important}.active\:bg-primary-50:active{background-color:var(--primary-50)!important}.active\:bg-primary-100:active{background-color:var(--primary-100)!important}.active\:bg-primary-200:active{background-color:var(--primary-200)!important}.active\:bg-primary-300:active{background-color:var(--primary-300)!important}.active\:bg-primary-400:active{background-color:var(--primary-400)!important}.active\:bg-primary-500:active{background-color:var(--primary-500)!important}.active\:bg-primary-600:active{background-color:var(--primary-600)!important}.active\:bg-primary-700:active{background-color:var(--primary-700)!important}.active\:bg-primary-800:active{background-color:var(--primary-800)!important}.active\:bg-primary-900:active{background-color:var(--primary-900)!important}.border-blue-50{border-color:var(--blue-50)!important}.border-blue-100{border-color:var(--blue-100)!important}.border-blue-200{border-color:var(--blue-200)!important}.border-blue-300{border-color:var(--blue-300)!important}.border-blue-400{border-color:var(--blue-400)!important}.border-blue-500{border-color:var(--blue-500)!important}.border-blue-600{border-color:var(--blue-600)!important}.border-blue-700{border-color:var(--blue-700)!important}.border-blue-800{border-color:var(--blue-800)!important}.border-blue-900{border-color:var(--blue-900)!important}.focus\:border-blue-50:focus{border-color:var(--blue-50)!important}.focus\:border-blue-100:focus{border-color:var(--blue-100)!important}.focus\:border-blue-200:focus{border-color:var(--blue-200)!important}.focus\:border-blue-300:focus{border-color:var(--blue-300)!important}.focus\:border-blue-400:focus{border-color:var(--blue-400)!important}.focus\:border-blue-500:focus{border-color:var(--blue-500)!important}.focus\:border-blue-600:focus{border-color:var(--blue-600)!important}.focus\:border-blue-700:focus{border-color:var(--blue-700)!important}.focus\:border-blue-800:focus{border-color:var(--blue-800)!important}.focus\:border-blue-900:focus{border-color:var(--blue-900)!important}.hover\:border-blue-50:hover{border-color:var(--blue-50)!important}.hover\:border-blue-100:hover{border-color:var(--blue-100)!important}.hover\:border-blue-200:hover{border-color:var(--blue-200)!important}.hover\:border-blue-300:hover{border-color:var(--blue-300)!important}.hover\:border-blue-400:hover{border-color:var(--blue-400)!important}.hover\:border-blue-500:hover{border-color:var(--blue-500)!important}.hover\:border-blue-600:hover{border-color:var(--blue-600)!important}.hover\:border-blue-700:hover{border-color:var(--blue-700)!important}.hover\:border-blue-800:hover{border-color:var(--blue-800)!important}.hover\:border-blue-900:hover{border-color:var(--blue-900)!important}.active\:border-blue-50:active{border-color:var(--blue-50)!important}.active\:border-blue-100:active{border-color:var(--blue-100)!important}.active\:border-blue-200:active{border-color:var(--blue-200)!important}.active\:border-blue-300:active{border-color:var(--blue-300)!important}.active\:border-blue-400:active{border-color:var(--blue-400)!important}.active\:border-blue-500:active{border-color:var(--blue-500)!important}.active\:border-blue-600:active{border-color:var(--blue-600)!important}.active\:border-blue-700:active{border-color:var(--blue-700)!important}.active\:border-blue-800:active{border-color:var(--blue-800)!important}.active\:border-blue-900:active{border-color:var(--blue-900)!important}.border-green-50{border-color:var(--green-50)!important}.border-green-100{border-color:var(--green-100)!important}.border-green-200{border-color:var(--green-200)!important}.border-green-300{border-color:var(--green-300)!important}.border-green-400{border-color:var(--green-400)!important}.border-green-500{border-color:var(--green-500)!important}.border-green-600{border-color:var(--green-600)!important}.border-green-700{border-color:var(--green-700)!important}.border-green-800{border-color:var(--green-800)!important}.border-green-900{border-color:var(--green-900)!important}.focus\:border-green-50:focus{border-color:var(--green-50)!important}.focus\:border-green-100:focus{border-color:var(--green-100)!important}.focus\:border-green-200:focus{border-color:var(--green-200)!important}.focus\:border-green-300:focus{border-color:var(--green-300)!important}.focus\:border-green-400:focus{border-color:var(--green-400)!important}.focus\:border-green-500:focus{border-color:var(--green-500)!important}.focus\:border-green-600:focus{border-color:var(--green-600)!important}.focus\:border-green-700:focus{border-color:var(--green-700)!important}.focus\:border-green-800:focus{border-color:var(--green-800)!important}.focus\:border-green-900:focus{border-color:var(--green-900)!important}.hover\:border-green-50:hover{border-color:var(--green-50)!important}.hover\:border-green-100:hover{border-color:var(--green-100)!important}.hover\:border-green-200:hover{border-color:var(--green-200)!important}.hover\:border-green-300:hover{border-color:var(--green-300)!important}.hover\:border-green-400:hover{border-color:var(--green-400)!important}.hover\:border-green-500:hover{border-color:var(--green-500)!important}.hover\:border-green-600:hover{border-color:var(--green-600)!important}.hover\:border-green-700:hover{border-color:var(--green-700)!important}.hover\:border-green-800:hover{border-color:var(--green-800)!important}.hover\:border-green-900:hover{border-color:var(--green-900)!important}.active\:border-green-50:active{border-color:var(--green-50)!important}.active\:border-green-100:active{border-color:var(--green-100)!important}.active\:border-green-200:active{border-color:var(--green-200)!important}.active\:border-green-300:active{border-color:var(--green-300)!important}.active\:border-green-400:active{border-color:var(--green-400)!important}.active\:border-green-500:active{border-color:var(--green-500)!important}.active\:border-green-600:active{border-color:var(--green-600)!important}.active\:border-green-700:active{border-color:var(--green-700)!important}.active\:border-green-800:active{border-color:var(--green-800)!important}.active\:border-green-900:active{border-color:var(--green-900)!important}.border-yellow-50{border-color:var(--yellow-50)!important}.border-yellow-100{border-color:var(--yellow-100)!important}.border-yellow-200{border-color:var(--yellow-200)!important}.border-yellow-300{border-color:var(--yellow-300)!important}.border-yellow-400{border-color:var(--yellow-400)!important}.border-yellow-500{border-color:var(--yellow-500)!important}.border-yellow-600{border-color:var(--yellow-600)!important}.border-yellow-700{border-color:var(--yellow-700)!important}.border-yellow-800{border-color:var(--yellow-800)!important}.border-yellow-900{border-color:var(--yellow-900)!important}.focus\:border-yellow-50:focus{border-color:var(--yellow-50)!important}.focus\:border-yellow-100:focus{border-color:var(--yellow-100)!important}.focus\:border-yellow-200:focus{border-color:var(--yellow-200)!important}.focus\:border-yellow-300:focus{border-color:var(--yellow-300)!important}.focus\:border-yellow-400:focus{border-color:var(--yellow-400)!important}.focus\:border-yellow-500:focus{border-color:var(--yellow-500)!important}.focus\:border-yellow-600:focus{border-color:var(--yellow-600)!important}.focus\:border-yellow-700:focus{border-color:var(--yellow-700)!important}.focus\:border-yellow-800:focus{border-color:var(--yellow-800)!important}.focus\:border-yellow-900:focus{border-color:var(--yellow-900)!important}.hover\:border-yellow-50:hover{border-color:var(--yellow-50)!important}.hover\:border-yellow-100:hover{border-color:var(--yellow-100)!important}.hover\:border-yellow-200:hover{border-color:var(--yellow-200)!important}.hover\:border-yellow-300:hover{border-color:var(--yellow-300)!important}.hover\:border-yellow-400:hover{border-color:var(--yellow-400)!important}.hover\:border-yellow-500:hover{border-color:var(--yellow-500)!important}.hover\:border-yellow-600:hover{border-color:var(--yellow-600)!important}.hover\:border-yellow-700:hover{border-color:var(--yellow-700)!important}.hover\:border-yellow-800:hover{border-color:var(--yellow-800)!important}.hover\:border-yellow-900:hover{border-color:var(--yellow-900)!important}.active\:border-yellow-50:active{border-color:var(--yellow-50)!important}.active\:border-yellow-100:active{border-color:var(--yellow-100)!important}.active\:border-yellow-200:active{border-color:var(--yellow-200)!important}.active\:border-yellow-300:active{border-color:var(--yellow-300)!important}.active\:border-yellow-400:active{border-color:var(--yellow-400)!important}.active\:border-yellow-500:active{border-color:var(--yellow-500)!important}.active\:border-yellow-600:active{border-color:var(--yellow-600)!important}.active\:border-yellow-700:active{border-color:var(--yellow-700)!important}.active\:border-yellow-800:active{border-color:var(--yellow-800)!important}.active\:border-yellow-900:active{border-color:var(--yellow-900)!important}.border-cyan-50{border-color:var(--cyan-50)!important}.border-cyan-100{border-color:var(--cyan-100)!important}.border-cyan-200{border-color:var(--cyan-200)!important}.border-cyan-300{border-color:var(--cyan-300)!important}.border-cyan-400{border-color:var(--cyan-400)!important}.border-cyan-500{border-color:var(--cyan-500)!important}.border-cyan-600{border-color:var(--cyan-600)!important}.border-cyan-700{border-color:var(--cyan-700)!important}.border-cyan-800{border-color:var(--cyan-800)!important}.border-cyan-900{border-color:var(--cyan-900)!important}.focus\:border-cyan-50:focus{border-color:var(--cyan-50)!important}.focus\:border-cyan-100:focus{border-color:var(--cyan-100)!important}.focus\:border-cyan-200:focus{border-color:var(--cyan-200)!important}.focus\:border-cyan-300:focus{border-color:var(--cyan-300)!important}.focus\:border-cyan-400:focus{border-color:var(--cyan-400)!important}.focus\:border-cyan-500:focus{border-color:var(--cyan-500)!important}.focus\:border-cyan-600:focus{border-color:var(--cyan-600)!important}.focus\:border-cyan-700:focus{border-color:var(--cyan-700)!important}.focus\:border-cyan-800:focus{border-color:var(--cyan-800)!important}.focus\:border-cyan-900:focus{border-color:var(--cyan-900)!important}.hover\:border-cyan-50:hover{border-color:var(--cyan-50)!important}.hover\:border-cyan-100:hover{border-color:var(--cyan-100)!important}.hover\:border-cyan-200:hover{border-color:var(--cyan-200)!important}.hover\:border-cyan-300:hover{border-color:var(--cyan-300)!important}.hover\:border-cyan-400:hover{border-color:var(--cyan-400)!important}.hover\:border-cyan-500:hover{border-color:var(--cyan-500)!important}.hover\:border-cyan-600:hover{border-color:var(--cyan-600)!important}.hover\:border-cyan-700:hover{border-color:var(--cyan-700)!important}.hover\:border-cyan-800:hover{border-color:var(--cyan-800)!important}.hover\:border-cyan-900:hover{border-color:var(--cyan-900)!important}.active\:border-cyan-50:active{border-color:var(--cyan-50)!important}.active\:border-cyan-100:active{border-color:var(--cyan-100)!important}.active\:border-cyan-200:active{border-color:var(--cyan-200)!important}.active\:border-cyan-300:active{border-color:var(--cyan-300)!important}.active\:border-cyan-400:active{border-color:var(--cyan-400)!important}.active\:border-cyan-500:active{border-color:var(--cyan-500)!important}.active\:border-cyan-600:active{border-color:var(--cyan-600)!important}.active\:border-cyan-700:active{border-color:var(--cyan-700)!important}.active\:border-cyan-800:active{border-color:var(--cyan-800)!important}.active\:border-cyan-900:active{border-color:var(--cyan-900)!important}.border-pink-50{border-color:var(--pink-50)!important}.border-pink-100{border-color:var(--pink-100)!important}.border-pink-200{border-color:var(--pink-200)!important}.border-pink-300{border-color:var(--pink-300)!important}.border-pink-400{border-color:var(--pink-400)!important}.border-pink-500{border-color:var(--pink-500)!important}.border-pink-600{border-color:var(--pink-600)!important}.border-pink-700{border-color:var(--pink-700)!important}.border-pink-800{border-color:var(--pink-800)!important}.border-pink-900{border-color:var(--pink-900)!important}.focus\:border-pink-50:focus{border-color:var(--pink-50)!important}.focus\:border-pink-100:focus{border-color:var(--pink-100)!important}.focus\:border-pink-200:focus{border-color:var(--pink-200)!important}.focus\:border-pink-300:focus{border-color:var(--pink-300)!important}.focus\:border-pink-400:focus{border-color:var(--pink-400)!important}.focus\:border-pink-500:focus{border-color:var(--pink-500)!important}.focus\:border-pink-600:focus{border-color:var(--pink-600)!important}.focus\:border-pink-700:focus{border-color:var(--pink-700)!important}.focus\:border-pink-800:focus{border-color:var(--pink-800)!important}.focus\:border-pink-900:focus{border-color:var(--pink-900)!important}.hover\:border-pink-50:hover{border-color:var(--pink-50)!important}.hover\:border-pink-100:hover{border-color:var(--pink-100)!important}.hover\:border-pink-200:hover{border-color:var(--pink-200)!important}.hover\:border-pink-300:hover{border-color:var(--pink-300)!important}.hover\:border-pink-400:hover{border-color:var(--pink-400)!important}.hover\:border-pink-500:hover{border-color:var(--pink-500)!important}.hover\:border-pink-600:hover{border-color:var(--pink-600)!important}.hover\:border-pink-700:hover{border-color:var(--pink-700)!important}.hover\:border-pink-800:hover{border-color:var(--pink-800)!important}.hover\:border-pink-900:hover{border-color:var(--pink-900)!important}.active\:border-pink-50:active{border-color:var(--pink-50)!important}.active\:border-pink-100:active{border-color:var(--pink-100)!important}.active\:border-pink-200:active{border-color:var(--pink-200)!important}.active\:border-pink-300:active{border-color:var(--pink-300)!important}.active\:border-pink-400:active{border-color:var(--pink-400)!important}.active\:border-pink-500:active{border-color:var(--pink-500)!important}.active\:border-pink-600:active{border-color:var(--pink-600)!important}.active\:border-pink-700:active{border-color:var(--pink-700)!important}.active\:border-pink-800:active{border-color:var(--pink-800)!important}.active\:border-pink-900:active{border-color:var(--pink-900)!important}.border-indigo-50{border-color:var(--indigo-50)!important}.border-indigo-100{border-color:var(--indigo-100)!important}.border-indigo-200{border-color:var(--indigo-200)!important}.border-indigo-300{border-color:var(--indigo-300)!important}.border-indigo-400{border-color:var(--indigo-400)!important}.border-indigo-500{border-color:var(--indigo-500)!important}.border-indigo-600{border-color:var(--indigo-600)!important}.border-indigo-700{border-color:var(--indigo-700)!important}.border-indigo-800{border-color:var(--indigo-800)!important}.border-indigo-900{border-color:var(--indigo-900)!important}.focus\:border-indigo-50:focus{border-color:var(--indigo-50)!important}.focus\:border-indigo-100:focus{border-color:var(--indigo-100)!important}.focus\:border-indigo-200:focus{border-color:var(--indigo-200)!important}.focus\:border-indigo-300:focus{border-color:var(--indigo-300)!important}.focus\:border-indigo-400:focus{border-color:var(--indigo-400)!important}.focus\:border-indigo-500:focus{border-color:var(--indigo-500)!important}.focus\:border-indigo-600:focus{border-color:var(--indigo-600)!important}.focus\:border-indigo-700:focus{border-color:var(--indigo-700)!important}.focus\:border-indigo-800:focus{border-color:var(--indigo-800)!important}.focus\:border-indigo-900:focus{border-color:var(--indigo-900)!important}.hover\:border-indigo-50:hover{border-color:var(--indigo-50)!important}.hover\:border-indigo-100:hover{border-color:var(--indigo-100)!important}.hover\:border-indigo-200:hover{border-color:var(--indigo-200)!important}.hover\:border-indigo-300:hover{border-color:var(--indigo-300)!important}.hover\:border-indigo-400:hover{border-color:var(--indigo-400)!important}.hover\:border-indigo-500:hover{border-color:var(--indigo-500)!important}.hover\:border-indigo-600:hover{border-color:var(--indigo-600)!important}.hover\:border-indigo-700:hover{border-color:var(--indigo-700)!important}.hover\:border-indigo-800:hover{border-color:var(--indigo-800)!important}.hover\:border-indigo-900:hover{border-color:var(--indigo-900)!important}.active\:border-indigo-50:active{border-color:var(--indigo-50)!important}.active\:border-indigo-100:active{border-color:var(--indigo-100)!important}.active\:border-indigo-200:active{border-color:var(--indigo-200)!important}.active\:border-indigo-300:active{border-color:var(--indigo-300)!important}.active\:border-indigo-400:active{border-color:var(--indigo-400)!important}.active\:border-indigo-500:active{border-color:var(--indigo-500)!important}.active\:border-indigo-600:active{border-color:var(--indigo-600)!important}.active\:border-indigo-700:active{border-color:var(--indigo-700)!important}.active\:border-indigo-800:active{border-color:var(--indigo-800)!important}.active\:border-indigo-900:active{border-color:var(--indigo-900)!important}.border-teal-50{border-color:var(--teal-50)!important}.border-teal-100{border-color:var(--teal-100)!important}.border-teal-200{border-color:var(--teal-200)!important}.border-teal-300{border-color:var(--teal-300)!important}.border-teal-400{border-color:var(--teal-400)!important}.border-teal-500{border-color:var(--teal-500)!important}.border-teal-600{border-color:var(--teal-600)!important}.border-teal-700{border-color:var(--teal-700)!important}.border-teal-800{border-color:var(--teal-800)!important}.border-teal-900{border-color:var(--teal-900)!important}.focus\:border-teal-50:focus{border-color:var(--teal-50)!important}.focus\:border-teal-100:focus{border-color:var(--teal-100)!important}.focus\:border-teal-200:focus{border-color:var(--teal-200)!important}.focus\:border-teal-300:focus{border-color:var(--teal-300)!important}.focus\:border-teal-400:focus{border-color:var(--teal-400)!important}.focus\:border-teal-500:focus{border-color:var(--teal-500)!important}.focus\:border-teal-600:focus{border-color:var(--teal-600)!important}.focus\:border-teal-700:focus{border-color:var(--teal-700)!important}.focus\:border-teal-800:focus{border-color:var(--teal-800)!important}.focus\:border-teal-900:focus{border-color:var(--teal-900)!important}.hover\:border-teal-50:hover{border-color:var(--teal-50)!important}.hover\:border-teal-100:hover{border-color:var(--teal-100)!important}.hover\:border-teal-200:hover{border-color:var(--teal-200)!important}.hover\:border-teal-300:hover{border-color:var(--teal-300)!important}.hover\:border-teal-400:hover{border-color:var(--teal-400)!important}.hover\:border-teal-500:hover{border-color:var(--teal-500)!important}.hover\:border-teal-600:hover{border-color:var(--teal-600)!important}.hover\:border-teal-700:hover{border-color:var(--teal-700)!important}.hover\:border-teal-800:hover{border-color:var(--teal-800)!important}.hover\:border-teal-900:hover{border-color:var(--teal-900)!important}.active\:border-teal-50:active{border-color:var(--teal-50)!important}.active\:border-teal-100:active{border-color:var(--teal-100)!important}.active\:border-teal-200:active{border-color:var(--teal-200)!important}.active\:border-teal-300:active{border-color:var(--teal-300)!important}.active\:border-teal-400:active{border-color:var(--teal-400)!important}.active\:border-teal-500:active{border-color:var(--teal-500)!important}.active\:border-teal-600:active{border-color:var(--teal-600)!important}.active\:border-teal-700:active{border-color:var(--teal-700)!important}.active\:border-teal-800:active{border-color:var(--teal-800)!important}.active\:border-teal-900:active{border-color:var(--teal-900)!important}.border-orange-50{border-color:var(--orange-50)!important}.border-orange-100{border-color:var(--orange-100)!important}.border-orange-200{border-color:var(--orange-200)!important}.border-orange-300{border-color:var(--orange-300)!important}.border-orange-400{border-color:var(--orange-400)!important}.border-orange-500{border-color:var(--orange-500)!important}.border-orange-600{border-color:var(--orange-600)!important}.border-orange-700{border-color:var(--orange-700)!important}.border-orange-800{border-color:var(--orange-800)!important}.border-orange-900{border-color:var(--orange-900)!important}.focus\:border-orange-50:focus{border-color:var(--orange-50)!important}.focus\:border-orange-100:focus{border-color:var(--orange-100)!important}.focus\:border-orange-200:focus{border-color:var(--orange-200)!important}.focus\:border-orange-300:focus{border-color:var(--orange-300)!important}.focus\:border-orange-400:focus{border-color:var(--orange-400)!important}.focus\:border-orange-500:focus{border-color:var(--orange-500)!important}.focus\:border-orange-600:focus{border-color:var(--orange-600)!important}.focus\:border-orange-700:focus{border-color:var(--orange-700)!important}.focus\:border-orange-800:focus{border-color:var(--orange-800)!important}.focus\:border-orange-900:focus{border-color:var(--orange-900)!important}.hover\:border-orange-50:hover{border-color:var(--orange-50)!important}.hover\:border-orange-100:hover{border-color:var(--orange-100)!important}.hover\:border-orange-200:hover{border-color:var(--orange-200)!important}.hover\:border-orange-300:hover{border-color:var(--orange-300)!important}.hover\:border-orange-400:hover{border-color:var(--orange-400)!important}.hover\:border-orange-500:hover{border-color:var(--orange-500)!important}.hover\:border-orange-600:hover{border-color:var(--orange-600)!important}.hover\:border-orange-700:hover{border-color:var(--orange-700)!important}.hover\:border-orange-800:hover{border-color:var(--orange-800)!important}.hover\:border-orange-900:hover{border-color:var(--orange-900)!important}.active\:border-orange-50:active{border-color:var(--orange-50)!important}.active\:border-orange-100:active{border-color:var(--orange-100)!important}.active\:border-orange-200:active{border-color:var(--orange-200)!important}.active\:border-orange-300:active{border-color:var(--orange-300)!important}.active\:border-orange-400:active{border-color:var(--orange-400)!important}.active\:border-orange-500:active{border-color:var(--orange-500)!important}.active\:border-orange-600:active{border-color:var(--orange-600)!important}.active\:border-orange-700:active{border-color:var(--orange-700)!important}.active\:border-orange-800:active{border-color:var(--orange-800)!important}.active\:border-orange-900:active{border-color:var(--orange-900)!important}.border-bluegray-50{border-color:var(--bluegray-50)!important}.border-bluegray-100{border-color:var(--bluegray-100)!important}.border-bluegray-200{border-color:var(--bluegray-200)!important}.border-bluegray-300{border-color:var(--bluegray-300)!important}.border-bluegray-400{border-color:var(--bluegray-400)!important}.border-bluegray-500{border-color:var(--bluegray-500)!important}.border-bluegray-600{border-color:var(--bluegray-600)!important}.border-bluegray-700{border-color:var(--bluegray-700)!important}.border-bluegray-800{border-color:var(--bluegray-800)!important}.border-bluegray-900{border-color:var(--bluegray-900)!important}.focus\:border-bluegray-50:focus{border-color:var(--bluegray-50)!important}.focus\:border-bluegray-100:focus{border-color:var(--bluegray-100)!important}.focus\:border-bluegray-200:focus{border-color:var(--bluegray-200)!important}.focus\:border-bluegray-300:focus{border-color:var(--bluegray-300)!important}.focus\:border-bluegray-400:focus{border-color:var(--bluegray-400)!important}.focus\:border-bluegray-500:focus{border-color:var(--bluegray-500)!important}.focus\:border-bluegray-600:focus{border-color:var(--bluegray-600)!important}.focus\:border-bluegray-700:focus{border-color:var(--bluegray-700)!important}.focus\:border-bluegray-800:focus{border-color:var(--bluegray-800)!important}.focus\:border-bluegray-900:focus{border-color:var(--bluegray-900)!important}.hover\:border-bluegray-50:hover{border-color:var(--bluegray-50)!important}.hover\:border-bluegray-100:hover{border-color:var(--bluegray-100)!important}.hover\:border-bluegray-200:hover{border-color:var(--bluegray-200)!important}.hover\:border-bluegray-300:hover{border-color:var(--bluegray-300)!important}.hover\:border-bluegray-400:hover{border-color:var(--bluegray-400)!important}.hover\:border-bluegray-500:hover{border-color:var(--bluegray-500)!important}.hover\:border-bluegray-600:hover{border-color:var(--bluegray-600)!important}.hover\:border-bluegray-700:hover{border-color:var(--bluegray-700)!important}.hover\:border-bluegray-800:hover{border-color:var(--bluegray-800)!important}.hover\:border-bluegray-900:hover{border-color:var(--bluegray-900)!important}.active\:border-bluegray-50:active{border-color:var(--bluegray-50)!important}.active\:border-bluegray-100:active{border-color:var(--bluegray-100)!important}.active\:border-bluegray-200:active{border-color:var(--bluegray-200)!important}.active\:border-bluegray-300:active{border-color:var(--bluegray-300)!important}.active\:border-bluegray-400:active{border-color:var(--bluegray-400)!important}.active\:border-bluegray-500:active{border-color:var(--bluegray-500)!important}.active\:border-bluegray-600:active{border-color:var(--bluegray-600)!important}.active\:border-bluegray-700:active{border-color:var(--bluegray-700)!important}.active\:border-bluegray-800:active{border-color:var(--bluegray-800)!important}.active\:border-bluegray-900:active{border-color:var(--bluegray-900)!important}.border-purple-50{border-color:var(--purple-50)!important}.border-purple-100{border-color:var(--purple-100)!important}.border-purple-200{border-color:var(--purple-200)!important}.border-purple-300{border-color:var(--purple-300)!important}.border-purple-400{border-color:var(--purple-400)!important}.border-purple-500{border-color:var(--purple-500)!important}.border-purple-600{border-color:var(--purple-600)!important}.border-purple-700{border-color:var(--purple-700)!important}.border-purple-800{border-color:var(--purple-800)!important}.border-purple-900{border-color:var(--purple-900)!important}.focus\:border-purple-50:focus{border-color:var(--purple-50)!important}.focus\:border-purple-100:focus{border-color:var(--purple-100)!important}.focus\:border-purple-200:focus{border-color:var(--purple-200)!important}.focus\:border-purple-300:focus{border-color:var(--purple-300)!important}.focus\:border-purple-400:focus{border-color:var(--purple-400)!important}.focus\:border-purple-500:focus{border-color:var(--purple-500)!important}.focus\:border-purple-600:focus{border-color:var(--purple-600)!important}.focus\:border-purple-700:focus{border-color:var(--purple-700)!important}.focus\:border-purple-800:focus{border-color:var(--purple-800)!important}.focus\:border-purple-900:focus{border-color:var(--purple-900)!important}.hover\:border-purple-50:hover{border-color:var(--purple-50)!important}.hover\:border-purple-100:hover{border-color:var(--purple-100)!important}.hover\:border-purple-200:hover{border-color:var(--purple-200)!important}.hover\:border-purple-300:hover{border-color:var(--purple-300)!important}.hover\:border-purple-400:hover{border-color:var(--purple-400)!important}.hover\:border-purple-500:hover{border-color:var(--purple-500)!important}.hover\:border-purple-600:hover{border-color:var(--purple-600)!important}.hover\:border-purple-700:hover{border-color:var(--purple-700)!important}.hover\:border-purple-800:hover{border-color:var(--purple-800)!important}.hover\:border-purple-900:hover{border-color:var(--purple-900)!important}.active\:border-purple-50:active{border-color:var(--purple-50)!important}.active\:border-purple-100:active{border-color:var(--purple-100)!important}.active\:border-purple-200:active{border-color:var(--purple-200)!important}.active\:border-purple-300:active{border-color:var(--purple-300)!important}.active\:border-purple-400:active{border-color:var(--purple-400)!important}.active\:border-purple-500:active{border-color:var(--purple-500)!important}.active\:border-purple-600:active{border-color:var(--purple-600)!important}.active\:border-purple-700:active{border-color:var(--purple-700)!important}.active\:border-purple-800:active{border-color:var(--purple-800)!important}.active\:border-purple-900:active{border-color:var(--purple-900)!important}.border-gray-50{border-color:var(--gray-50)!important}.border-gray-100{border-color:var(--gray-100)!important}.border-gray-200{border-color:var(--gray-200)!important}.border-gray-300{border-color:var(--gray-300)!important}.border-gray-400{border-color:var(--gray-400)!important}.border-gray-500{border-color:var(--gray-500)!important}.border-gray-600{border-color:var(--gray-600)!important}.border-gray-700{border-color:var(--gray-700)!important}.border-gray-800{border-color:var(--gray-800)!important}.border-gray-900{border-color:var(--gray-900)!important}.focus\:border-gray-50:focus{border-color:var(--gray-50)!important}.focus\:border-gray-100:focus{border-color:var(--gray-100)!important}.focus\:border-gray-200:focus{border-color:var(--gray-200)!important}.focus\:border-gray-300:focus{border-color:var(--gray-300)!important}.focus\:border-gray-400:focus{border-color:var(--gray-400)!important}.focus\:border-gray-500:focus{border-color:var(--gray-500)!important}.focus\:border-gray-600:focus{border-color:var(--gray-600)!important}.focus\:border-gray-700:focus{border-color:var(--gray-700)!important}.focus\:border-gray-800:focus{border-color:var(--gray-800)!important}.focus\:border-gray-900:focus{border-color:var(--gray-900)!important}.hover\:border-gray-50:hover{border-color:var(--gray-50)!important}.hover\:border-gray-100:hover{border-color:var(--gray-100)!important}.hover\:border-gray-200:hover{border-color:var(--gray-200)!important}.hover\:border-gray-300:hover{border-color:var(--gray-300)!important}.hover\:border-gray-400:hover{border-color:var(--gray-400)!important}.hover\:border-gray-500:hover{border-color:var(--gray-500)!important}.hover\:border-gray-600:hover{border-color:var(--gray-600)!important}.hover\:border-gray-700:hover{border-color:var(--gray-700)!important}.hover\:border-gray-800:hover{border-color:var(--gray-800)!important}.hover\:border-gray-900:hover{border-color:var(--gray-900)!important}.active\:border-gray-50:active{border-color:var(--gray-50)!important}.active\:border-gray-100:active{border-color:var(--gray-100)!important}.active\:border-gray-200:active{border-color:var(--gray-200)!important}.active\:border-gray-300:active{border-color:var(--gray-300)!important}.active\:border-gray-400:active{border-color:var(--gray-400)!important}.active\:border-gray-500:active{border-color:var(--gray-500)!important}.active\:border-gray-600:active{border-color:var(--gray-600)!important}.active\:border-gray-700:active{border-color:var(--gray-700)!important}.active\:border-gray-800:active{border-color:var(--gray-800)!important}.active\:border-gray-900:active{border-color:var(--gray-900)!important}.border-red-50{border-color:var(--red-50)!important}.border-red-100{border-color:var(--red-100)!important}.border-red-200{border-color:var(--red-200)!important}.border-red-300{border-color:var(--red-300)!important}.border-red-400{border-color:var(--red-400)!important}.border-red-500{border-color:var(--red-500)!important}.border-red-600{border-color:var(--red-600)!important}.border-red-700{border-color:var(--red-700)!important}.border-red-800{border-color:var(--red-800)!important}.border-red-900{border-color:var(--red-900)!important}.focus\:border-red-50:focus{border-color:var(--red-50)!important}.focus\:border-red-100:focus{border-color:var(--red-100)!important}.focus\:border-red-200:focus{border-color:var(--red-200)!important}.focus\:border-red-300:focus{border-color:var(--red-300)!important}.focus\:border-red-400:focus{border-color:var(--red-400)!important}.focus\:border-red-500:focus{border-color:var(--red-500)!important}.focus\:border-red-600:focus{border-color:var(--red-600)!important}.focus\:border-red-700:focus{border-color:var(--red-700)!important}.focus\:border-red-800:focus{border-color:var(--red-800)!important}.focus\:border-red-900:focus{border-color:var(--red-900)!important}.hover\:border-red-50:hover{border-color:var(--red-50)!important}.hover\:border-red-100:hover{border-color:var(--red-100)!important}.hover\:border-red-200:hover{border-color:var(--red-200)!important}.hover\:border-red-300:hover{border-color:var(--red-300)!important}.hover\:border-red-400:hover{border-color:var(--red-400)!important}.hover\:border-red-500:hover{border-color:var(--red-500)!important}.hover\:border-red-600:hover{border-color:var(--red-600)!important}.hover\:border-red-700:hover{border-color:var(--red-700)!important}.hover\:border-red-800:hover{border-color:var(--red-800)!important}.hover\:border-red-900:hover{border-color:var(--red-900)!important}.active\:border-red-50:active{border-color:var(--red-50)!important}.active\:border-red-100:active{border-color:var(--red-100)!important}.active\:border-red-200:active{border-color:var(--red-200)!important}.active\:border-red-300:active{border-color:var(--red-300)!important}.active\:border-red-400:active{border-color:var(--red-400)!important}.active\:border-red-500:active{border-color:var(--red-500)!important}.active\:border-red-600:active{border-color:var(--red-600)!important}.active\:border-red-700:active{border-color:var(--red-700)!important}.active\:border-red-800:active{border-color:var(--red-800)!important}.active\:border-red-900:active{border-color:var(--red-900)!important}.border-primary-50{border-color:var(--primary-50)!important}.border-primary-100{border-color:var(--primary-100)!important}.border-primary-200{border-color:var(--primary-200)!important}.border-primary-300{border-color:var(--primary-300)!important}.border-primary-400{border-color:var(--primary-400)!important}.border-primary-500{border-color:var(--primary-500)!important}.border-primary-600{border-color:var(--primary-600)!important}.border-primary-700{border-color:var(--primary-700)!important}.border-primary-800{border-color:var(--primary-800)!important}.border-primary-900{border-color:var(--primary-900)!important}.focus\:border-primary-50:focus{border-color:var(--primary-50)!important}.focus\:border-primary-100:focus{border-color:var(--primary-100)!important}.focus\:border-primary-200:focus{border-color:var(--primary-200)!important}.focus\:border-primary-300:focus{border-color:var(--primary-300)!important}.focus\:border-primary-400:focus{border-color:var(--primary-400)!important}.focus\:border-primary-500:focus{border-color:var(--primary-500)!important}.focus\:border-primary-600:focus{border-color:var(--primary-600)!important}.focus\:border-primary-700:focus{border-color:var(--primary-700)!important}.focus\:border-primary-800:focus{border-color:var(--primary-800)!important}.focus\:border-primary-900:focus{border-color:var(--primary-900)!important}.hover\:border-primary-50:hover{border-color:var(--primary-50)!important}.hover\:border-primary-100:hover{border-color:var(--primary-100)!important}.hover\:border-primary-200:hover{border-color:var(--primary-200)!important}.hover\:border-primary-300:hover{border-color:var(--primary-300)!important}.hover\:border-primary-400:hover{border-color:var(--primary-400)!important}.hover\:border-primary-500:hover{border-color:var(--primary-500)!important}.hover\:border-primary-600:hover{border-color:var(--primary-600)!important}.hover\:border-primary-700:hover{border-color:var(--primary-700)!important}.hover\:border-primary-800:hover{border-color:var(--primary-800)!important}.hover\:border-primary-900:hover{border-color:var(--primary-900)!important}.active\:border-primary-50:active{border-color:var(--primary-50)!important}.active\:border-primary-100:active{border-color:var(--primary-100)!important}.active\:border-primary-200:active{border-color:var(--primary-200)!important}.active\:border-primary-300:active{border-color:var(--primary-300)!important}.active\:border-primary-400:active{border-color:var(--primary-400)!important}.active\:border-primary-500:active{border-color:var(--primary-500)!important}.active\:border-primary-600:active{border-color:var(--primary-600)!important}.active\:border-primary-700:active{border-color:var(--primary-700)!important}.active\:border-primary-800:active{border-color:var(--primary-800)!important}.active\:border-primary-900:active{border-color:var(--primary-900)!important}.bg-white-alpha-10{background-color:#ffffff1a!important}.bg-white-alpha-20{background-color:#fff3!important}.bg-white-alpha-30{background-color:#ffffff4d!important}.bg-white-alpha-40{background-color:#fff6!important}.bg-white-alpha-50{background-color:#ffffff80!important}.bg-white-alpha-60{background-color:#fff9!important}.bg-white-alpha-70{background-color:#ffffffb3!important}.bg-white-alpha-80{background-color:#fffc!important}.bg-white-alpha-90{background-color:#ffffffe6!important}.hover\:bg-white-alpha-10:hover{background-color:#ffffff1a!important}.hover\:bg-white-alpha-20:hover{background-color:#fff3!important}.hover\:bg-white-alpha-30:hover{background-color:#ffffff4d!important}.hover\:bg-white-alpha-40:hover{background-color:#fff6!important}.hover\:bg-white-alpha-50:hover{background-color:#ffffff80!important}.hover\:bg-white-alpha-60:hover{background-color:#fff9!important}.hover\:bg-white-alpha-70:hover{background-color:#ffffffb3!important}.hover\:bg-white-alpha-80:hover{background-color:#fffc!important}.hover\:bg-white-alpha-90:hover{background-color:#ffffffe6!important}.focus\:bg-white-alpha-10:focus{background-color:#ffffff1a!important}.focus\:bg-white-alpha-20:focus{background-color:#fff3!important}.focus\:bg-white-alpha-30:focus{background-color:#ffffff4d!important}.focus\:bg-white-alpha-40:focus{background-color:#fff6!important}.focus\:bg-white-alpha-50:focus{background-color:#ffffff80!important}.focus\:bg-white-alpha-60:focus{background-color:#fff9!important}.focus\:bg-white-alpha-70:focus{background-color:#ffffffb3!important}.focus\:bg-white-alpha-80:focus{background-color:#fffc!important}.focus\:bg-white-alpha-90:focus{background-color:#ffffffe6!important}.active\:bg-white-alpha-10:active{background-color:#ffffff1a!important}.active\:bg-white-alpha-20:active{background-color:#fff3!important}.active\:bg-white-alpha-30:active{background-color:#ffffff4d!important}.active\:bg-white-alpha-40:active{background-color:#fff6!important}.active\:bg-white-alpha-50:active{background-color:#ffffff80!important}.active\:bg-white-alpha-60:active{background-color:#fff9!important}.active\:bg-white-alpha-70:active{background-color:#ffffffb3!important}.active\:bg-white-alpha-80:active{background-color:#fffc!important}.active\:bg-white-alpha-90:active{background-color:#ffffffe6!important}.bg-black-alpha-10{background-color:#0000001a!important}.bg-black-alpha-20{background-color:#0003!important}.bg-black-alpha-30{background-color:#0000004d!important}.bg-black-alpha-40{background-color:#0006!important}.bg-black-alpha-50{background-color:#00000080!important}.bg-black-alpha-60{background-color:#0009!important}.bg-black-alpha-70{background-color:#000000b3!important}.bg-black-alpha-80{background-color:#000c!important}.bg-black-alpha-90{background-color:#000000e6!important}.hover\:bg-black-alpha-10:hover{background-color:#0000001a!important}.hover\:bg-black-alpha-20:hover{background-color:#0003!important}.hover\:bg-black-alpha-30:hover{background-color:#0000004d!important}.hover\:bg-black-alpha-40:hover{background-color:#0006!important}.hover\:bg-black-alpha-50:hover{background-color:#00000080!important}.hover\:bg-black-alpha-60:hover{background-color:#0009!important}.hover\:bg-black-alpha-70:hover{background-color:#000000b3!important}.hover\:bg-black-alpha-80:hover{background-color:#000c!important}.hover\:bg-black-alpha-90:hover{background-color:#000000e6!important}.focus\:bg-black-alpha-10:focus{background-color:#0000001a!important}.focus\:bg-black-alpha-20:focus{background-color:#0003!important}.focus\:bg-black-alpha-30:focus{background-color:#0000004d!important}.focus\:bg-black-alpha-40:focus{background-color:#0006!important}.focus\:bg-black-alpha-50:focus{background-color:#00000080!important}.focus\:bg-black-alpha-60:focus{background-color:#0009!important}.focus\:bg-black-alpha-70:focus{background-color:#000000b3!important}.focus\:bg-black-alpha-80:focus{background-color:#000c!important}.focus\:bg-black-alpha-90:focus{background-color:#000000e6!important}.active\:bg-black-alpha-10:active{background-color:#0000001a!important}.active\:bg-black-alpha-20:active{background-color:#0003!important}.active\:bg-black-alpha-30:active{background-color:#0000004d!important}.active\:bg-black-alpha-40:active{background-color:#0006!important}.active\:bg-black-alpha-50:active{background-color:#00000080!important}.active\:bg-black-alpha-60:active{background-color:#0009!important}.active\:bg-black-alpha-70:active{background-color:#000000b3!important}.active\:bg-black-alpha-80:active{background-color:#000c!important}.active\:bg-black-alpha-90:active{background-color:#000000e6!important}.border-white-alpha-10{border-color:#ffffff1a!important}.border-white-alpha-20{border-color:#fff3!important}.border-white-alpha-30{border-color:#ffffff4d!important}.border-white-alpha-40{border-color:#fff6!important}.border-white-alpha-50{border-color:#ffffff80!important}.border-white-alpha-60{border-color:#fff9!important}.border-white-alpha-70{border-color:#ffffffb3!important}.border-white-alpha-80{border-color:#fffc!important}.border-white-alpha-90{border-color:#ffffffe6!important}.hover\:border-white-alpha-10:hover{border-color:#ffffff1a!important}.hover\:border-white-alpha-20:hover{border-color:#fff3!important}.hover\:border-white-alpha-30:hover{border-color:#ffffff4d!important}.hover\:border-white-alpha-40:hover{border-color:#fff6!important}.hover\:border-white-alpha-50:hover{border-color:#ffffff80!important}.hover\:border-white-alpha-60:hover{border-color:#fff9!important}.hover\:border-white-alpha-70:hover{border-color:#ffffffb3!important}.hover\:border-white-alpha-80:hover{border-color:#fffc!important}.hover\:border-white-alpha-90:hover{border-color:#ffffffe6!important}.focus\:border-white-alpha-10:focus{border-color:#ffffff1a!important}.focus\:border-white-alpha-20:focus{border-color:#fff3!important}.focus\:border-white-alpha-30:focus{border-color:#ffffff4d!important}.focus\:border-white-alpha-40:focus{border-color:#fff6!important}.focus\:border-white-alpha-50:focus{border-color:#ffffff80!important}.focus\:border-white-alpha-60:focus{border-color:#fff9!important}.focus\:border-white-alpha-70:focus{border-color:#ffffffb3!important}.focus\:border-white-alpha-80:focus{border-color:#fffc!important}.focus\:border-white-alpha-90:focus{border-color:#ffffffe6!important}.active\:border-white-alpha-10:active{border-color:#ffffff1a!important}.active\:border-white-alpha-20:active{border-color:#fff3!important}.active\:border-white-alpha-30:active{border-color:#ffffff4d!important}.active\:border-white-alpha-40:active{border-color:#fff6!important}.active\:border-white-alpha-50:active{border-color:#ffffff80!important}.active\:border-white-alpha-60:active{border-color:#fff9!important}.active\:border-white-alpha-70:active{border-color:#ffffffb3!important}.active\:border-white-alpha-80:active{border-color:#fffc!important}.active\:border-white-alpha-90:active{border-color:#ffffffe6!important}.border-black-alpha-10{border-color:#0000001a!important}.border-black-alpha-20{border-color:#0003!important}.border-black-alpha-30{border-color:#0000004d!important}.border-black-alpha-40{border-color:#0006!important}.border-black-alpha-50{border-color:#00000080!important}.border-black-alpha-60{border-color:#0009!important}.border-black-alpha-70{border-color:#000000b3!important}.border-black-alpha-80{border-color:#000c!important}.border-black-alpha-90{border-color:#000000e6!important}.hover\:border-black-alpha-10:hover{border-color:#0000001a!important}.hover\:border-black-alpha-20:hover{border-color:#0003!important}.hover\:border-black-alpha-30:hover{border-color:#0000004d!important}.hover\:border-black-alpha-40:hover{border-color:#0006!important}.hover\:border-black-alpha-50:hover{border-color:#00000080!important}.hover\:border-black-alpha-60:hover{border-color:#0009!important}.hover\:border-black-alpha-70:hover{border-color:#000000b3!important}.hover\:border-black-alpha-80:hover{border-color:#000c!important}.hover\:border-black-alpha-90:hover{border-color:#000000e6!important}.focus\:border-black-alpha-10:focus{border-color:#0000001a!important}.focus\:border-black-alpha-20:focus{border-color:#0003!important}.focus\:border-black-alpha-30:focus{border-color:#0000004d!important}.focus\:border-black-alpha-40:focus{border-color:#0006!important}.focus\:border-black-alpha-50:focus{border-color:#00000080!important}.focus\:border-black-alpha-60:focus{border-color:#0009!important}.focus\:border-black-alpha-70:focus{border-color:#000000b3!important}.focus\:border-black-alpha-80:focus{border-color:#000c!important}.focus\:border-black-alpha-90:focus{border-color:#000000e6!important}.active\:border-black-alpha-10:active{border-color:#0000001a!important}.active\:border-black-alpha-20:active{border-color:#0003!important}.active\:border-black-alpha-30:active{border-color:#0000004d!important}.active\:border-black-alpha-40:active{border-color:#0006!important}.active\:border-black-alpha-50:active{border-color:#00000080!important}.active\:border-black-alpha-60:active{border-color:#0009!important}.active\:border-black-alpha-70:active{border-color:#000000b3!important}.active\:border-black-alpha-80:active{border-color:#000c!important}.active\:border-black-alpha-90:active{border-color:#000000e6!important}.text-white-alpha-10{color:#ffffff1a!important}.text-white-alpha-20{color:#fff3!important}.text-white-alpha-30{color:#ffffff4d!important}.text-white-alpha-40{color:#fff6!important}.text-white-alpha-50{color:#ffffff80!important}.text-white-alpha-60{color:#fff9!important}.text-white-alpha-70{color:#ffffffb3!important}.text-white-alpha-80{color:#fffc!important}.text-white-alpha-90{color:#ffffffe6!important}.hover\:text-white-alpha-10:hover{color:#ffffff1a!important}.hover\:text-white-alpha-20:hover{color:#fff3!important}.hover\:text-white-alpha-30:hover{color:#ffffff4d!important}.hover\:text-white-alpha-40:hover{color:#fff6!important}.hover\:text-white-alpha-50:hover{color:#ffffff80!important}.hover\:text-white-alpha-60:hover{color:#fff9!important}.hover\:text-white-alpha-70:hover{color:#ffffffb3!important}.hover\:text-white-alpha-80:hover{color:#fffc!important}.hover\:text-white-alpha-90:hover{color:#ffffffe6!important}.focus\:text-white-alpha-10:focus{color:#ffffff1a!important}.focus\:text-white-alpha-20:focus{color:#fff3!important}.focus\:text-white-alpha-30:focus{color:#ffffff4d!important}.focus\:text-white-alpha-40:focus{color:#fff6!important}.focus\:text-white-alpha-50:focus{color:#ffffff80!important}.focus\:text-white-alpha-60:focus{color:#fff9!important}.focus\:text-white-alpha-70:focus{color:#ffffffb3!important}.focus\:text-white-alpha-80:focus{color:#fffc!important}.focus\:text-white-alpha-90:focus{color:#ffffffe6!important}.active\:text-white-alpha-10:active{color:#ffffff1a!important}.active\:text-white-alpha-20:active{color:#fff3!important}.active\:text-white-alpha-30:active{color:#ffffff4d!important}.active\:text-white-alpha-40:active{color:#fff6!important}.active\:text-white-alpha-50:active{color:#ffffff80!important}.active\:text-white-alpha-60:active{color:#fff9!important}.active\:text-white-alpha-70:active{color:#ffffffb3!important}.active\:text-white-alpha-80:active{color:#fffc!important}.active\:text-white-alpha-90:active{color:#ffffffe6!important}.text-black-alpha-10{color:#0000001a!important}.text-black-alpha-20{color:#0003!important}.text-black-alpha-30{color:#0000004d!important}.text-black-alpha-40{color:#0006!important}.text-black-alpha-50{color:#00000080!important}.text-black-alpha-60{color:#0009!important}.text-black-alpha-70{color:#000000b3!important}.text-black-alpha-80{color:#000c!important}.text-black-alpha-90{color:#000000e6!important}.hover\:text-black-alpha-10:hover{color:#0000001a!important}.hover\:text-black-alpha-20:hover{color:#0003!important}.hover\:text-black-alpha-30:hover{color:#0000004d!important}.hover\:text-black-alpha-40:hover{color:#0006!important}.hover\:text-black-alpha-50:hover{color:#00000080!important}.hover\:text-black-alpha-60:hover{color:#0009!important}.hover\:text-black-alpha-70:hover{color:#000000b3!important}.hover\:text-black-alpha-80:hover{color:#000c!important}.hover\:text-black-alpha-90:hover{color:#000000e6!important}.focus\:text-black-alpha-10:focus{color:#0000001a!important}.focus\:text-black-alpha-20:focus{color:#0003!important}.focus\:text-black-alpha-30:focus{color:#0000004d!important}.focus\:text-black-alpha-40:focus{color:#0006!important}.focus\:text-black-alpha-50:focus{color:#00000080!important}.focus\:text-black-alpha-60:focus{color:#0009!important}.focus\:text-black-alpha-70:focus{color:#000000b3!important}.focus\:text-black-alpha-80:focus{color:#000c!important}.focus\:text-black-alpha-90:focus{color:#000000e6!important}.active\:text-black-alpha-10:active{color:#0000001a!important}.active\:text-black-alpha-20:active{color:#0003!important}.active\:text-black-alpha-30:active{color:#0000004d!important}.active\:text-black-alpha-40:active{color:#0006!important}.active\:text-black-alpha-50:active{color:#00000080!important}.active\:text-black-alpha-60:active{color:#0009!important}.active\:text-black-alpha-70:active{color:#000000b3!important}.active\:text-black-alpha-80:active{color:#000c!important}.active\:text-black-alpha-90:active{color:#000000e6!important}.text-primary{color:var(--primary-color)!important}.bg-primary{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.bg-primary-reverse{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.bg-white{background-color:#fff!important}.border-primary{border-color:var(--primary-color)!important}.text-white{color:#fff!important}.border-white{border-color:#fff!important}.text-color{color:var(--text-color)!important}.text-color-secondary{color:var(--text-color-secondary)!important}.surface-ground{background-color:var(--surface-ground)!important}.surface-section{background-color:var(--surface-section)!important}.surface-card{background-color:var(--surface-card)!important}.surface-overlay{background-color:var(--surface-overlay)!important}.surface-hover{background-color:var(--surface-hover)!important}.surface-border{border-color:var(--surface-border)!important}.focus\:text-primary:focus{color:var(--primary-color)!important}.hover\:text-primary:hover,.active\:text-primary:active{color:var(--primary-color)!important}.focus\:bg-primary:focus{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.hover\:bg-primary:hover,.active\:bg-primary:active{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.focus\:bg-primary-reverse:focus{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.hover\:bg-primary-reverse:hover,.active\:bg-primary-reverse:active{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.focus\:bg-white:focus{background-color:#fff!important}.hover\:bg-white:hover,.active\:bg-white:active{background-color:#fff!important}.focus\:border-primary:focus{border-color:var(--primary-color)!important}.hover\:border-primary:hover,.active\:border-primary:active{border-color:var(--primary-color)!important}.focus\:text-white:focus{color:#fff!important}.hover\:text-white:hover,.active\:text-white:active{color:#fff!important}.focus\:border-white:focus{border-color:#fff!important}.hover\:border-white:hover,.active\:border-white:active{border-color:#fff!important}.focus\:text-color:focus{color:var(--text-color)!important}.hover\:text-color:hover,.active\:text-color:active{color:var(--text-color)!important}.focus\:text-color-secondary:focus{color:var(--text-color-secondary)!important}.hover\:text-color-secondary:hover,.active\:text-color-secondary:active{color:var(--text-color-secondary)!important}.focus\:surface-ground:focus{background-color:var(--surface-ground)!important}.hover\:surface-ground:hover,.active\:surface-ground:active{background-color:var(--surface-ground)!important}.focus\:surface-section:focus{background-color:var(--surface-section)!important}.hover\:surface-section:hover,.active\:surface-section:active{background-color:var(--surface-section)!important}.focus\:surface-card:focus{background-color:var(--surface-card)!important}.hover\:surface-card:hover,.active\:surface-card:active{background-color:var(--surface-card)!important}.focus\:surface-overlay:focus{background-color:var(--surface-overlay)!important}.hover\:surface-overlay:hover,.active\:surface-overlay:active{background-color:var(--surface-overlay)!important}.focus\:surface-hover:focus{background-color:var(--surface-hover)!important}.hover\:surface-hover:hover,.active\:surface-hover:active{background-color:var(--surface-hover)!important}.focus\:surface-border:focus{border-color:var(--surface-border)!important}.hover\:surface-border:hover,.active\:surface-border:active{border-color:var(--surface-border)!important}@media screen and (min-width: 576px){.sm\:text-primary{color:var(--primary-color)!important}.sm\:bg-primary{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.sm\:bg-primary-reverse{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.sm\:bg-white{background-color:#fff!important}.sm\:border-primary{border-color:var(--primary-color)!important}.sm\:text-white{color:#fff!important}.sm\:border-white{border-color:#fff!important}.sm\:text-color{color:var(--text-color)!important}.sm\:text-color-secondary{color:var(--text-color-secondary)!important}.sm\:surface-ground{background-color:var(--surface-ground)!important}.sm\:surface-section{background-color:var(--surface-section)!important}.sm\:surface-card{background-color:var(--surface-card)!important}.sm\:surface-overlay{background-color:var(--surface-overlay)!important}.sm\:surface-hover{background-color:var(--surface-hover)!important}.sm\:surface-border{border-color:var(--surface-border)!important}.sm\:focus\:text-primary:focus{color:var(--primary-color)!important}.sm\:hover\:text-primary:hover,.sm\:active\:text-primary:active{color:var(--primary-color)!important}.sm\:focus\:bg-primary:focus{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.sm\:hover\:bg-primary:hover,.sm\:active\:bg-primary:active{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.sm\:focus\:bg-primary-reverse:focus{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.sm\:hover\:bg-primary-reverse:hover,.sm\:active\:bg-primary-reverse:active{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.sm\:focus\:bg-white:focus{background-color:#fff!important}.sm\:hover\:bg-white:hover,.sm\:active\:bg-white:active{background-color:#fff!important}.sm\:focus\:border-primary:focus{border-color:var(--primary-color)!important}.sm\:hover\:border-primary:hover,.sm\:active\:border-primary:active{border-color:var(--primary-color)!important}.sm\:focus\:text-white:focus{color:#fff!important}.sm\:hover\:text-white:hover,.sm\:active\:text-white:active{color:#fff!important}.sm\:focus\:border-white:focus{border-color:#fff!important}.sm\:hover\:border-white:hover,.sm\:active\:border-white:active{border-color:#fff!important}.sm\:focus\:text-color:focus{color:var(--text-color)!important}.sm\:hover\:text-color:hover,.sm\:active\:text-color:active{color:var(--text-color)!important}.sm\:focus\:text-color-secondary:focus{color:var(--text-color-secondary)!important}.sm\:hover\:text-color-secondary:hover,.sm\:active\:text-color-secondary:active{color:var(--text-color-secondary)!important}.sm\:focus\:surface-ground:focus{background-color:var(--surface-ground)!important}.sm\:hover\:surface-ground:hover,.sm\:active\:surface-ground:active{background-color:var(--surface-ground)!important}.sm\:focus\:surface-section:focus{background-color:var(--surface-section)!important}.sm\:hover\:surface-section:hover,.sm\:active\:surface-section:active{background-color:var(--surface-section)!important}.sm\:focus\:surface-card:focus{background-color:var(--surface-card)!important}.sm\:hover\:surface-card:hover,.sm\:active\:surface-card:active{background-color:var(--surface-card)!important}.sm\:focus\:surface-overlay:focus{background-color:var(--surface-overlay)!important}.sm\:hover\:surface-overlay:hover,.sm\:active\:surface-overlay:active{background-color:var(--surface-overlay)!important}.sm\:focus\:surface-hover:focus{background-color:var(--surface-hover)!important}.sm\:hover\:surface-hover:hover,.sm\:active\:surface-hover:active{background-color:var(--surface-hover)!important}.sm\:focus\:surface-border:focus{border-color:var(--surface-border)!important}.sm\:hover\:surface-border:hover,.sm\:active\:surface-border:active{border-color:var(--surface-border)!important}}@media screen and (min-width: 768px){.md\:text-primary{color:var(--primary-color)!important}.md\:bg-primary{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.md\:bg-primary-reverse{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.md\:bg-white{background-color:#fff!important}.md\:border-primary{border-color:var(--primary-color)!important}.md\:text-white{color:#fff!important}.md\:border-white{border-color:#fff!important}.md\:text-color{color:var(--text-color)!important}.md\:text-color-secondary{color:var(--text-color-secondary)!important}.md\:surface-ground{background-color:var(--surface-ground)!important}.md\:surface-section{background-color:var(--surface-section)!important}.md\:surface-card{background-color:var(--surface-card)!important}.md\:surface-overlay{background-color:var(--surface-overlay)!important}.md\:surface-hover{background-color:var(--surface-hover)!important}.md\:surface-border{border-color:var(--surface-border)!important}.md\:focus\:text-primary:focus{color:var(--primary-color)!important}.md\:hover\:text-primary:hover,.md\:active\:text-primary:active{color:var(--primary-color)!important}.md\:focus\:bg-primary:focus{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.md\:hover\:bg-primary:hover,.md\:active\:bg-primary:active{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.md\:focus\:bg-primary-reverse:focus{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.md\:hover\:bg-primary-reverse:hover,.md\:active\:bg-primary-reverse:active{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.md\:focus\:bg-white:focus{background-color:#fff!important}.md\:hover\:bg-white:hover,.md\:active\:bg-white:active{background-color:#fff!important}.md\:focus\:border-primary:focus{border-color:var(--primary-color)!important}.md\:hover\:border-primary:hover,.md\:active\:border-primary:active{border-color:var(--primary-color)!important}.md\:focus\:text-white:focus{color:#fff!important}.md\:hover\:text-white:hover,.md\:active\:text-white:active{color:#fff!important}.md\:focus\:border-white:focus{border-color:#fff!important}.md\:hover\:border-white:hover,.md\:active\:border-white:active{border-color:#fff!important}.md\:focus\:text-color:focus{color:var(--text-color)!important}.md\:hover\:text-color:hover,.md\:active\:text-color:active{color:var(--text-color)!important}.md\:focus\:text-color-secondary:focus{color:var(--text-color-secondary)!important}.md\:hover\:text-color-secondary:hover,.md\:active\:text-color-secondary:active{color:var(--text-color-secondary)!important}.md\:focus\:surface-ground:focus{background-color:var(--surface-ground)!important}.md\:hover\:surface-ground:hover,.md\:active\:surface-ground:active{background-color:var(--surface-ground)!important}.md\:focus\:surface-section:focus{background-color:var(--surface-section)!important}.md\:hover\:surface-section:hover,.md\:active\:surface-section:active{background-color:var(--surface-section)!important}.md\:focus\:surface-card:focus{background-color:var(--surface-card)!important}.md\:hover\:surface-card:hover,.md\:active\:surface-card:active{background-color:var(--surface-card)!important}.md\:focus\:surface-overlay:focus{background-color:var(--surface-overlay)!important}.md\:hover\:surface-overlay:hover,.md\:active\:surface-overlay:active{background-color:var(--surface-overlay)!important}.md\:focus\:surface-hover:focus{background-color:var(--surface-hover)!important}.md\:hover\:surface-hover:hover,.md\:active\:surface-hover:active{background-color:var(--surface-hover)!important}.md\:focus\:surface-border:focus{border-color:var(--surface-border)!important}.md\:hover\:surface-border:hover,.md\:active\:surface-border:active{border-color:var(--surface-border)!important}}@media screen and (min-width: 992px){.lg\:text-primary{color:var(--primary-color)!important}.lg\:bg-primary{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.lg\:bg-primary-reverse{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.lg\:bg-white{background-color:#fff!important}.lg\:border-primary{border-color:var(--primary-color)!important}.lg\:text-white{color:#fff!important}.lg\:border-white{border-color:#fff!important}.lg\:text-color{color:var(--text-color)!important}.lg\:text-color-secondary{color:var(--text-color-secondary)!important}.lg\:surface-ground{background-color:var(--surface-ground)!important}.lg\:surface-section{background-color:var(--surface-section)!important}.lg\:surface-card{background-color:var(--surface-card)!important}.lg\:surface-overlay{background-color:var(--surface-overlay)!important}.lg\:surface-hover{background-color:var(--surface-hover)!important}.lg\:surface-border{border-color:var(--surface-border)!important}.lg\:focus\:text-primary:focus{color:var(--primary-color)!important}.lg\:hover\:text-primary:hover,.lg\:active\:text-primary:active{color:var(--primary-color)!important}.lg\:focus\:bg-primary:focus{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.lg\:hover\:bg-primary:hover,.lg\:active\:bg-primary:active{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.lg\:focus\:bg-primary-reverse:focus{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.lg\:hover\:bg-primary-reverse:hover,.lg\:active\:bg-primary-reverse:active{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.lg\:focus\:bg-white:focus{background-color:#fff!important}.lg\:hover\:bg-white:hover,.lg\:active\:bg-white:active{background-color:#fff!important}.lg\:focus\:border-primary:focus{border-color:var(--primary-color)!important}.lg\:hover\:border-primary:hover,.lg\:active\:border-primary:active{border-color:var(--primary-color)!important}.lg\:focus\:text-white:focus{color:#fff!important}.lg\:hover\:text-white:hover,.lg\:active\:text-white:active{color:#fff!important}.lg\:focus\:border-white:focus{border-color:#fff!important}.lg\:hover\:border-white:hover,.lg\:active\:border-white:active{border-color:#fff!important}.lg\:focus\:text-color:focus{color:var(--text-color)!important}.lg\:hover\:text-color:hover,.lg\:active\:text-color:active{color:var(--text-color)!important}.lg\:focus\:text-color-secondary:focus{color:var(--text-color-secondary)!important}.lg\:hover\:text-color-secondary:hover,.lg\:active\:text-color-secondary:active{color:var(--text-color-secondary)!important}.lg\:focus\:surface-ground:focus{background-color:var(--surface-ground)!important}.lg\:hover\:surface-ground:hover,.lg\:active\:surface-ground:active{background-color:var(--surface-ground)!important}.lg\:focus\:surface-section:focus{background-color:var(--surface-section)!important}.lg\:hover\:surface-section:hover,.lg\:active\:surface-section:active{background-color:var(--surface-section)!important}.lg\:focus\:surface-card:focus{background-color:var(--surface-card)!important}.lg\:hover\:surface-card:hover,.lg\:active\:surface-card:active{background-color:var(--surface-card)!important}.lg\:focus\:surface-overlay:focus{background-color:var(--surface-overlay)!important}.lg\:hover\:surface-overlay:hover,.lg\:active\:surface-overlay:active{background-color:var(--surface-overlay)!important}.lg\:focus\:surface-hover:focus{background-color:var(--surface-hover)!important}.lg\:hover\:surface-hover:hover,.lg\:active\:surface-hover:active{background-color:var(--surface-hover)!important}.lg\:focus\:surface-border:focus{border-color:var(--surface-border)!important}.lg\:hover\:surface-border:hover,.lg\:active\:surface-border:active{border-color:var(--surface-border)!important}}@media screen and (min-width: 1200px){.xl\:text-primary{color:var(--primary-color)!important}.xl\:bg-primary{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.xl\:bg-primary-reverse{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.xl\:bg-white{background-color:#fff!important}.xl\:border-primary{border-color:var(--primary-color)!important}.xl\:text-white{color:#fff!important}.xl\:border-white{border-color:#fff!important}.xl\:text-color{color:var(--text-color)!important}.xl\:text-color-secondary{color:var(--text-color-secondary)!important}.xl\:surface-ground{background-color:var(--surface-ground)!important}.xl\:surface-section{background-color:var(--surface-section)!important}.xl\:surface-card{background-color:var(--surface-card)!important}.xl\:surface-overlay{background-color:var(--surface-overlay)!important}.xl\:surface-hover{background-color:var(--surface-hover)!important}.xl\:surface-border{border-color:var(--surface-border)!important}.xl\:focus\:text-primary:focus{color:var(--primary-color)!important}.xl\:hover\:text-primary:hover,.xl\:active\:text-primary:active{color:var(--primary-color)!important}.xl\:focus\:bg-primary:focus{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.xl\:hover\:bg-primary:hover,.xl\:active\:bg-primary:active{color:var(--primary-color-text)!important;background-color:var(--primary-color)!important}.xl\:focus\:bg-primary-reverse:focus{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.xl\:hover\:bg-primary-reverse:hover,.xl\:active\:bg-primary-reverse:active{color:var(--primary-color)!important;background-color:var(--primary-color-text)!important}.xl\:focus\:bg-white:focus{background-color:#fff!important}.xl\:hover\:bg-white:hover,.xl\:active\:bg-white:active{background-color:#fff!important}.xl\:focus\:border-primary:focus{border-color:var(--primary-color)!important}.xl\:hover\:border-primary:hover,.xl\:active\:border-primary:active{border-color:var(--primary-color)!important}.xl\:focus\:text-white:focus{color:#fff!important}.xl\:hover\:text-white:hover,.xl\:active\:text-white:active{color:#fff!important}.xl\:focus\:border-white:focus{border-color:#fff!important}.xl\:hover\:border-white:hover,.xl\:active\:border-white:active{border-color:#fff!important}.xl\:focus\:text-color:focus{color:var(--text-color)!important}.xl\:hover\:text-color:hover,.xl\:active\:text-color:active{color:var(--text-color)!important}.xl\:focus\:text-color-secondary:focus{color:var(--text-color-secondary)!important}.xl\:hover\:text-color-secondary:hover,.xl\:active\:text-color-secondary:active{color:var(--text-color-secondary)!important}.xl\:focus\:surface-ground:focus{background-color:var(--surface-ground)!important}.xl\:hover\:surface-ground:hover,.xl\:active\:surface-ground:active{background-color:var(--surface-ground)!important}.xl\:focus\:surface-section:focus{background-color:var(--surface-section)!important}.xl\:hover\:surface-section:hover,.xl\:active\:surface-section:active{background-color:var(--surface-section)!important}.xl\:focus\:surface-card:focus{background-color:var(--surface-card)!important}.xl\:hover\:surface-card:hover,.xl\:active\:surface-card:active{background-color:var(--surface-card)!important}.xl\:focus\:surface-overlay:focus{background-color:var(--surface-overlay)!important}.xl\:hover\:surface-overlay:hover,.xl\:active\:surface-overlay:active{background-color:var(--surface-overlay)!important}.xl\:focus\:surface-hover:focus{background-color:var(--surface-hover)!important}.xl\:hover\:surface-hover:hover,.xl\:active\:surface-hover:active{background-color:var(--surface-hover)!important}.xl\:focus\:surface-border:focus{border-color:var(--surface-border)!important}.xl\:hover\:surface-border:hover,.xl\:active\:surface-border:active{border-color:var(--surface-border)!important}}.field{margin-bottom:1rem}.field>label{display:inline-block;margin-bottom:.5rem}.field.grid>label{display:flex;align-items:center}.field>small{margin-top:.25rem}.field.grid,.formgrid.grid{margin-top:0}.field.grid .col-fixed,.formgrid.grid .col-fixed,.field.grid .col,.formgrid.grid .col,.field.grid .col-1,.formgrid.grid .col-1,.field.grid .col-2,.formgrid.grid .col-2,.field.grid .col-3,.formgrid.grid .col-3,.field.grid .col-4,.formgrid.grid .col-4,.field.grid .col-5,.formgrid.grid .col-5,.field.grid .col-6,.formgrid.grid .col-6,.field.grid .col-7,.formgrid.grid .col-7,.field.grid .col-8,.formgrid.grid .col-8,.field.grid .col-9,.formgrid.grid .col-9,.field.grid .col-10,.formgrid.grid .col-10,.field.grid .col-11,.formgrid.grid .col-11,.field.grid .col-12,.formgrid.grid .col-12{padding-top:0;padding-bottom:0}.formgroup-inline{display:flex;flex-wrap:wrap;align-items:flex-start}.formgroup-inline .field,.formgroup-inline .field-checkbox,.formgroup-inline .field-radiobutton{margin-right:1rem}.formgroup-inline .field>label,.formgroup-inline .field-checkbox>label,.formgroup-inline .field-radiobutton>label{margin-right:.5rem;margin-bottom:0}.field-checkbox,.field-radiobutton{margin-bottom:1rem;display:flex;align-items:center}.field-checkbox>label,.field-radiobutton>label{margin-left:.5rem;line-height:1}.hidden{display:none!important}.block{display:block!important}.inline{display:inline!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.inline-flex{display:inline-flex!important}@media screen and (min-width: 576px){.sm\:hidden{display:none!important}.sm\:block{display:block!important}.sm\:inline{display:inline!important}.sm\:inline-block{display:inline-block!important}.sm\:flex{display:flex!important}.sm\:inline-flex{display:inline-flex!important}}@media screen and (min-width: 768px){.md\:hidden{display:none!important}.md\:block{display:block!important}.md\:inline{display:inline!important}.md\:inline-block{display:inline-block!important}.md\:flex{display:flex!important}.md\:inline-flex{display:inline-flex!important}}@media screen and (min-width: 992px){.lg\:hidden{display:none!important}.lg\:block{display:block!important}.lg\:inline{display:inline!important}.lg\:inline-block{display:inline-block!important}.lg\:flex{display:flex!important}.lg\:inline-flex{display:inline-flex!important}}@media screen and (min-width: 1200px){.xl\:hidden{display:none!important}.xl\:block{display:block!important}.xl\:inline{display:inline!important}.xl\:inline-block{display:inline-block!important}.xl\:flex{display:flex!important}.xl\:inline-flex{display:inline-flex!important}}.text-center{text-align:center!important}.text-justify{text-align:justify!important}.text-left{text-align:left!important}.text-right{text-align:right!important}@media screen and (min-width: 576px){.sm\:text-center{text-align:center!important}.sm\:text-justify{text-align:justify!important}.sm\:text-left{text-align:left!important}.sm\:text-right{text-align:right!important}}@media screen and (min-width: 768px){.md\:text-center{text-align:center!important}.md\:text-justify{text-align:justify!important}.md\:text-left{text-align:left!important}.md\:text-right{text-align:right!important}}@media screen and (min-width: 992px){.lg\:text-center{text-align:center!important}.lg\:text-justify{text-align:justify!important}.lg\:text-left{text-align:left!important}.lg\:text-right{text-align:right!important}}@media screen and (min-width: 1200px){.xl\:text-center{text-align:center!important}.xl\:text-justify{text-align:justify!important}.xl\:text-left{text-align:left!important}.xl\:text-right{text-align:right!important}}.underline{text-decoration:underline!important}.line-through{text-decoration:line-through!important}.no-underline{text-decoration:none!important}.focus\:underline:focus{text-decoration:underline!important}.hover\:underline:hover,.active\:underline:active{text-decoration:underline!important}.focus\:line-through:focus{text-decoration:line-through!important}.hover\:line-through:hover,.active\:line-through:active{text-decoration:line-through!important}.focus\:no-underline:focus{text-decoration:none!important}.hover\:no-underline:hover,.active\:no-underline:active{text-decoration:none!important}.lowercase{text-transform:lowercase!important}.uppercase{text-transform:uppercase!important}.capitalize{text-transform:capitalize!important}.text-overflow-clip{text-overflow:clip!important}.text-overflow-ellipsis{text-overflow:ellipsis!important}@media screen and (min-width: 576px){.sm\:text-overflow-clip{text-overflow:clip!important}.sm\:text-overflow-ellipsis{text-overflow:ellipsis!important}}@media screen and (min-width: 768px){.md\:text-overflow-clip{text-overflow:clip!important}.md\:text-overflow-ellipsis{text-overflow:ellipsis!important}}@media screen and (min-width: 992px){.lg\:text-overflow-clip{text-overflow:clip!important}.lg\:text-overflow-ellipsis{text-overflow:ellipsis!important}}@media screen and (min-width: 1200px){.xl\:text-overflow-clip{text-overflow:clip!important}.xl\:text-overflow-ellipsis{text-overflow:ellipsis!important}}.font-light{font-weight:300!important}.font-normal{font-weight:400!important}.font-medium{font-weight:500!important}.font-semibold{font-weight:600!important}.font-bold{font-weight:700!important}@media screen and (min-width: 576px){.sm\:font-light{font-weight:300!important}.sm\:font-normal{font-weight:400!important}.sm\:font-medium{font-weight:500!important}.sm\:font-semibold{font-weight:600!important}.sm\:font-bold{font-weight:700!important}}@media screen and (min-width: 768px){.md\:font-light{font-weight:300!important}.md\:font-normal{font-weight:400!important}.md\:font-medium{font-weight:500!important}.md\:font-semibold{font-weight:600!important}.md\:font-bold{font-weight:700!important}}@media screen and (min-width: 992px){.lg\:font-light{font-weight:300!important}.lg\:font-normal{font-weight:400!important}.lg\:font-medium{font-weight:500!important}.lg\:font-semibold{font-weight:600!important}.lg\:font-bold{font-weight:700!important}}@media screen and (min-width: 1200px){.xl\:font-light{font-weight:300!important}.xl\:font-normal{font-weight:400!important}.xl\:font-medium{font-weight:500!important}.xl\:font-semibold{font-weight:600!important}.xl\:font-bold{font-weight:700!important}}.font-italic{font-style:italic!important}.text-xs{font-size:.75rem!important}.text-sm{font-size:.875rem!important}.text-base{font-size:1rem!important}.text-lg{font-size:1.125rem!important}.text-xl{font-size:1.25rem!important}.text-2xl{font-size:1.5rem!important}.text-3xl{font-size:1.75rem!important}.text-4xl{font-size:2rem!important}.text-5xl{font-size:2.5rem!important}.text-6xl{font-size:3rem!important}.text-7xl{font-size:4rem!important}.text-8xl{font-size:6rem!important}@media screen and (min-width: 576px){.sm\:text-xs{font-size:.75rem!important}.sm\:text-sm{font-size:.875rem!important}.sm\:text-base{font-size:1rem!important}.sm\:text-lg{font-size:1.125rem!important}.sm\:text-xl{font-size:1.25rem!important}.sm\:text-2xl{font-size:1.5rem!important}.sm\:text-3xl{font-size:1.75rem!important}.sm\:text-4xl{font-size:2rem!important}.sm\:text-5xl{font-size:2.5rem!important}.sm\:text-6xl{font-size:3rem!important}.sm\:text-7xl{font-size:4rem!important}.sm\:text-8xl{font-size:6rem!important}}@media screen and (min-width: 768px){.md\:text-xs{font-size:.75rem!important}.md\:text-sm{font-size:.875rem!important}.md\:text-base{font-size:1rem!important}.md\:text-lg{font-size:1.125rem!important}.md\:text-xl{font-size:1.25rem!important}.md\:text-2xl{font-size:1.5rem!important}.md\:text-3xl{font-size:1.75rem!important}.md\:text-4xl{font-size:2rem!important}.md\:text-5xl{font-size:2.5rem!important}.md\:text-6xl{font-size:3rem!important}.md\:text-7xl{font-size:4rem!important}.md\:text-8xl{font-size:6rem!important}}@media screen and (min-width: 992px){.lg\:text-xs{font-size:.75rem!important}.lg\:text-sm{font-size:.875rem!important}.lg\:text-base{font-size:1rem!important}.lg\:text-lg{font-size:1.125rem!important}.lg\:text-xl{font-size:1.25rem!important}.lg\:text-2xl{font-size:1.5rem!important}.lg\:text-3xl{font-size:1.75rem!important}.lg\:text-4xl{font-size:2rem!important}.lg\:text-5xl{font-size:2.5rem!important}.lg\:text-6xl{font-size:3rem!important}.lg\:text-7xl{font-size:4rem!important}.lg\:text-8xl{font-size:6rem!important}}@media screen and (min-width: 1200px){.xl\:text-xs{font-size:.75rem!important}.xl\:text-sm{font-size:.875rem!important}.xl\:text-base{font-size:1rem!important}.xl\:text-lg{font-size:1.125rem!important}.xl\:text-xl{font-size:1.25rem!important}.xl\:text-2xl{font-size:1.5rem!important}.xl\:text-3xl{font-size:1.75rem!important}.xl\:text-4xl{font-size:2rem!important}.xl\:text-5xl{font-size:2.5rem!important}.xl\:text-6xl{font-size:3rem!important}.xl\:text-7xl{font-size:4rem!important}.xl\:text-8xl{font-size:6rem!important}}.line-height-1{line-height:1!important}.line-height-2{line-height:1.25!important}.line-height-3{line-height:1.5!important}.line-height-4{line-height:2!important}.white-space-normal{white-space:normal!important}.white-space-nowrap{white-space:nowrap!important}.vertical-align-baseline{vertical-align:baseline!important}.vertical-align-top{vertical-align:top!important}.vertical-align-middle{vertical-align:middle!important}.vertical-align-bottom{vertical-align:bottom!important}.vertical-align-text-top{vertical-align:text-top!important}.vertical-align-text-bottom{vertical-align:text-bottom!important}.vertical-align-sub{vertical-align:sub!important}.vertical-align-super{vertical-align:super!important}@media screen and (min-width: 576px){.sm\:vertical-align-baseline{vertical-align:baseline!important}.sm\:vertical-align-top{vertical-align:top!important}.sm\:vertical-align-middle{vertical-align:middle!important}.sm\:vertical-align-bottom{vertical-align:bottom!important}.sm\:vertical-align-text-top{vertical-align:text-top!important}.sm\:vertical-align-text-bottom{vertical-align:text-bottom!important}.sm\:vertical-align-sub{vertical-align:sub!important}.sm\:vertical-align-super{vertical-align:super!important}}@media screen and (min-width: 768px){.md\:vertical-align-baseline{vertical-align:baseline!important}.md\:vertical-align-top{vertical-align:top!important}.md\:vertical-align-middle{vertical-align:middle!important}.md\:vertical-align-bottom{vertical-align:bottom!important}.md\:vertical-align-text-top{vertical-align:text-top!important}.md\:vertical-align-text-bottom{vertical-align:text-bottom!important}.md\:vertical-align-sub{vertical-align:sub!important}.md\:vertical-align-super{vertical-align:super!important}}@media screen and (min-width: 992px){.lg\:vertical-align-baseline{vertical-align:baseline!important}.lg\:vertical-align-top{vertical-align:top!important}.lg\:vertical-align-middle{vertical-align:middle!important}.lg\:vertical-align-bottom{vertical-align:bottom!important}.lg\:vertical-align-text-top{vertical-align:text-top!important}.lg\:vertical-align-text-bottom{vertical-align:text-bottom!important}.lg\:vertical-align-sub{vertical-align:sub!important}.lg\:vertical-align-super{vertical-align:super!important}}@media screen and (min-width: 1200px){.xl\:vertical-align-baseline{vertical-align:baseline!important}.xl\:vertical-align-top{vertical-align:top!important}.xl\:vertical-align-middle{vertical-align:middle!important}.xl\:vertical-align-bottom{vertical-align:bottom!important}.xl\:vertical-align-text-top{vertical-align:text-top!important}.xl\:vertical-align-text-bottom{vertical-align:text-bottom!important}.xl\:vertical-align-sub{vertical-align:sub!important}.xl\:vertical-align-super{vertical-align:super!important}}.flex-row{flex-direction:row!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column{flex-direction:column!important}.flex-column-reverse{flex-direction:column-reverse!important}@media screen and (min-width: 576px){.sm\:flex-row{flex-direction:row!important}.sm\:flex-row-reverse{flex-direction:row-reverse!important}.sm\:flex-column{flex-direction:column!important}.sm\:flex-column-reverse{flex-direction:column-reverse!important}}@media screen and (min-width: 768px){.md\:flex-row{flex-direction:row!important}.md\:flex-row-reverse{flex-direction:row-reverse!important}.md\:flex-column{flex-direction:column!important}.md\:flex-column-reverse{flex-direction:column-reverse!important}}@media screen and (min-width: 992px){.lg\:flex-row{flex-direction:row!important}.lg\:flex-row-reverse{flex-direction:row-reverse!important}.lg\:flex-column{flex-direction:column!important}.lg\:flex-column-reverse{flex-direction:column-reverse!important}}@media screen and (min-width: 1200px){.xl\:flex-row{flex-direction:row!important}.xl\:flex-row-reverse{flex-direction:row-reverse!important}.xl\:flex-column{flex-direction:column!important}.xl\:flex-column-reverse{flex-direction:column-reverse!important}}.flex-wrap{flex-wrap:wrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.flex-nowrap{flex-wrap:nowrap!important}@media screen and (min-width: 576px){.sm\:flex-wrap{flex-wrap:wrap!important}.sm\:flex-wrap-reverse{flex-wrap:wrap-reverse!important}.sm\:flex-nowrap{flex-wrap:nowrap!important}}@media screen and (min-width: 768px){.md\:flex-wrap{flex-wrap:wrap!important}.md\:flex-wrap-reverse{flex-wrap:wrap-reverse!important}.md\:flex-nowrap{flex-wrap:nowrap!important}}@media screen and (min-width: 992px){.lg\:flex-wrap{flex-wrap:wrap!important}.lg\:flex-wrap-reverse{flex-wrap:wrap-reverse!important}.lg\:flex-nowrap{flex-wrap:nowrap!important}}@media screen and (min-width: 1200px){.xl\:flex-wrap{flex-wrap:wrap!important}.xl\:flex-wrap-reverse{flex-wrap:wrap-reverse!important}.xl\:flex-nowrap{flex-wrap:nowrap!important}}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}@media screen and (min-width: 576px){.sm\:justify-content-start{justify-content:flex-start!important}.sm\:justify-content-end{justify-content:flex-end!important}.sm\:justify-content-center{justify-content:center!important}.sm\:justify-content-between{justify-content:space-between!important}.sm\:justify-content-around{justify-content:space-around!important}.sm\:justify-content-evenly{justify-content:space-evenly!important}}@media screen and (min-width: 768px){.md\:justify-content-start{justify-content:flex-start!important}.md\:justify-content-end{justify-content:flex-end!important}.md\:justify-content-center{justify-content:center!important}.md\:justify-content-between{justify-content:space-between!important}.md\:justify-content-around{justify-content:space-around!important}.md\:justify-content-evenly{justify-content:space-evenly!important}}@media screen and (min-width: 992px){.lg\:justify-content-start{justify-content:flex-start!important}.lg\:justify-content-end{justify-content:flex-end!important}.lg\:justify-content-center{justify-content:center!important}.lg\:justify-content-between{justify-content:space-between!important}.lg\:justify-content-around{justify-content:space-around!important}.lg\:justify-content-evenly{justify-content:space-evenly!important}}@media screen and (min-width: 1200px){.xl\:justify-content-start{justify-content:flex-start!important}.xl\:justify-content-end{justify-content:flex-end!important}.xl\:justify-content-center{justify-content:center!important}.xl\:justify-content-between{justify-content:space-between!important}.xl\:justify-content-around{justify-content:space-around!important}.xl\:justify-content-evenly{justify-content:space-evenly!important}}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-evenly{align-content:space-evenly!important}@media screen and (min-width: 576px){.sm\:align-content-start{align-content:flex-start!important}.sm\:align-content-end{align-content:flex-end!important}.sm\:align-content-center{align-content:center!important}.sm\:align-content-between{align-content:space-between!important}.sm\:align-content-around{align-content:space-around!important}.sm\:align-content-evenly{align-content:space-evenly!important}}@media screen and (min-width: 768px){.md\:align-content-start{align-content:flex-start!important}.md\:align-content-end{align-content:flex-end!important}.md\:align-content-center{align-content:center!important}.md\:align-content-between{align-content:space-between!important}.md\:align-content-around{align-content:space-around!important}.md\:align-content-evenly{align-content:space-evenly!important}}@media screen and (min-width: 992px){.lg\:align-content-start{align-content:flex-start!important}.lg\:align-content-end{align-content:flex-end!important}.lg\:align-content-center{align-content:center!important}.lg\:align-content-between{align-content:space-between!important}.lg\:align-content-around{align-content:space-around!important}.lg\:align-content-evenly{align-content:space-evenly!important}}@media screen and (min-width: 1200px){.xl\:align-content-start{align-content:flex-start!important}.xl\:align-content-end{align-content:flex-end!important}.xl\:align-content-center{align-content:center!important}.xl\:align-content-between{align-content:space-between!important}.xl\:align-content-around{align-content:space-around!important}.xl\:align-content-evenly{align-content:space-evenly!important}}.align-items-stretch{align-items:stretch!important}.align-items-start{align-items:flex-start!important}.align-items-center{align-items:center!important}.align-items-end{align-items:flex-end!important}.align-items-baseline{align-items:baseline!important}@media screen and (min-width: 576px){.sm\:align-items-stretch{align-items:stretch!important}.sm\:align-items-start{align-items:flex-start!important}.sm\:align-items-center{align-items:center!important}.sm\:align-items-end{align-items:flex-end!important}.sm\:align-items-baseline{align-items:baseline!important}}@media screen and (min-width: 768px){.md\:align-items-stretch{align-items:stretch!important}.md\:align-items-start{align-items:flex-start!important}.md\:align-items-center{align-items:center!important}.md\:align-items-end{align-items:flex-end!important}.md\:align-items-baseline{align-items:baseline!important}}@media screen and (min-width: 992px){.lg\:align-items-stretch{align-items:stretch!important}.lg\:align-items-start{align-items:flex-start!important}.lg\:align-items-center{align-items:center!important}.lg\:align-items-end{align-items:flex-end!important}.lg\:align-items-baseline{align-items:baseline!important}}@media screen and (min-width: 1200px){.xl\:align-items-stretch{align-items:stretch!important}.xl\:align-items-start{align-items:flex-start!important}.xl\:align-items-center{align-items:center!important}.xl\:align-items-end{align-items:flex-end!important}.xl\:align-items-baseline{align-items:baseline!important}}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-stretch{align-self:stretch!important}.align-self-baseline{align-self:baseline!important}@media screen and (min-width: 576px){.sm\:align-self-auto{align-self:auto!important}.sm\:align-self-start{align-self:flex-start!important}.sm\:align-self-end{align-self:flex-end!important}.sm\:align-self-center{align-self:center!important}.sm\:align-self-stretch{align-self:stretch!important}.sm\:align-self-baseline{align-self:baseline!important}}@media screen and (min-width: 768px){.md\:align-self-auto{align-self:auto!important}.md\:align-self-start{align-self:flex-start!important}.md\:align-self-end{align-self:flex-end!important}.md\:align-self-center{align-self:center!important}.md\:align-self-stretch{align-self:stretch!important}.md\:align-self-baseline{align-self:baseline!important}}@media screen and (min-width: 992px){.lg\:align-self-auto{align-self:auto!important}.lg\:align-self-start{align-self:flex-start!important}.lg\:align-self-end{align-self:flex-end!important}.lg\:align-self-center{align-self:center!important}.lg\:align-self-stretch{align-self:stretch!important}.lg\:align-self-baseline{align-self:baseline!important}}@media screen and (min-width: 1200px){.xl\:align-self-auto{align-self:auto!important}.xl\:align-self-start{align-self:flex-start!important}.xl\:align-self-end{align-self:flex-end!important}.xl\:align-self-center{align-self:center!important}.xl\:align-self-stretch{align-self:stretch!important}.xl\:align-self-baseline{align-self:baseline!important}}.flex-order-0{order:0!important}.flex-order-1{order:1!important}.flex-order-2{order:2!important}.flex-order-3{order:3!important}.flex-order-4{order:4!important}.flex-order-5{order:5!important}.flex-order-6{order:6!important}@media screen and (min-width: 576px){.sm\:flex-order-0{order:0!important}.sm\:flex-order-1{order:1!important}.sm\:flex-order-2{order:2!important}.sm\:flex-order-3{order:3!important}.sm\:flex-order-4{order:4!important}.sm\:flex-order-5{order:5!important}.sm\:flex-order-6{order:6!important}}@media screen and (min-width: 768px){.md\:flex-order-0{order:0!important}.md\:flex-order-1{order:1!important}.md\:flex-order-2{order:2!important}.md\:flex-order-3{order:3!important}.md\:flex-order-4{order:4!important}.md\:flex-order-5{order:5!important}.md\:flex-order-6{order:6!important}}@media screen and (min-width: 992px){.lg\:flex-order-0{order:0!important}.lg\:flex-order-1{order:1!important}.lg\:flex-order-2{order:2!important}.lg\:flex-order-3{order:3!important}.lg\:flex-order-4{order:4!important}.lg\:flex-order-5{order:5!important}.lg\:flex-order-6{order:6!important}}@media screen and (min-width: 1200px){.xl\:flex-order-0{order:0!important}.xl\:flex-order-1{order:1!important}.xl\:flex-order-2{order:2!important}.xl\:flex-order-3{order:3!important}.xl\:flex-order-4{order:4!important}.xl\:flex-order-5{order:5!important}.xl\:flex-order-6{order:6!important}}.flex-1{flex:1 1 0%!important}.flex-auto{flex:1 1 auto!important}.flex-initial{flex:0 1 auto!important}.flex-none{flex:none!important}@media screen and (min-width: 576px){.sm\:flex-1{flex:1 1 0%!important}.sm\:flex-auto{flex:1 1 auto!important}.sm\:flex-initial{flex:0 1 auto!important}.sm\:flex-none{flex:none!important}}@media screen and (min-width: 768px){.md\:flex-1{flex:1 1 0%!important}.md\:flex-auto{flex:1 1 auto!important}.md\:flex-initial{flex:0 1 auto!important}.md\:flex-none{flex:none!important}}@media screen and (min-width: 992px){.lg\:flex-1{flex:1 1 0%!important}.lg\:flex-auto{flex:1 1 auto!important}.lg\:flex-initial{flex:0 1 auto!important}.lg\:flex-none{flex:none!important}}@media screen and (min-width: 1200px){.xl\:flex-1{flex:1 1 0%!important}.xl\:flex-auto{flex:1 1 auto!important}.xl\:flex-initial{flex:0 1 auto!important}.xl\:flex-none{flex:none!important}}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}@media screen and (min-width: 576px){.sm\:flex-grow-0{flex-grow:0!important}.sm\:flex-grow-1{flex-grow:1!important}}@media screen and (min-width: 768px){.md\:flex-grow-0{flex-grow:0!important}.md\:flex-grow-1{flex-grow:1!important}}@media screen and (min-width: 992px){.lg\:flex-grow-0{flex-grow:0!important}.lg\:flex-grow-1{flex-grow:1!important}}@media screen and (min-width: 1200px){.xl\:flex-grow-0{flex-grow:0!important}.xl\:flex-grow-1{flex-grow:1!important}}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}@media screen and (min-width: 576px){.sm\:flex-shrink-0{flex-shrink:0!important}.sm\:flex-shrink-1{flex-shrink:1!important}}@media screen and (min-width: 768px){.md\:flex-shrink-0{flex-shrink:0!important}.md\:flex-shrink-1{flex-shrink:1!important}}@media screen and (min-width: 992px){.lg\:flex-shrink-0{flex-shrink:0!important}.lg\:flex-shrink-1{flex-shrink:1!important}}@media screen and (min-width: 1200px){.xl\:flex-shrink-0{flex-shrink:0!important}.xl\:flex-shrink-1{flex-shrink:1!important}}.gap-0{gap:0rem!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:2rem!important}.gap-6{gap:3rem!important}.gap-7{gap:4rem!important}.gap-8{gap:5rem!important}.row-gap-0{row-gap:0rem!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:2rem!important}.row-gap-6{row-gap:3rem!important}.row-gap-7{row-gap:4rem!important}.row-gap-8{row-gap:5rem!important}.column-gap-0{column-gap:0rem!important}.column-gap-1{column-gap:.25rem!important}.column-gap-2{column-gap:.5rem!important}.column-gap-3{column-gap:1rem!important}.column-gap-4{column-gap:1.5rem!important}.column-gap-5{column-gap:2rem!important}.column-gap-6{column-gap:3rem!important}.column-gap-7{column-gap:4rem!important}.column-gap-8{column-gap:5rem!important}@media screen and (min-width: 576px){.sm\:gap-0{gap:0rem!important}.sm\:gap-1{gap:.25rem!important}.sm\:gap-2{gap:.5rem!important}.sm\:gap-3{gap:1rem!important}.sm\:gap-4{gap:1.5rem!important}.sm\:gap-5{gap:2rem!important}.sm\:gap-6{gap:3rem!important}.sm\:gap-7{gap:4rem!important}.sm\:gap-8{gap:5rem!important}.sm\:row-gap-0{row-gap:0rem!important}.sm\:row-gap-1{row-gap:.25rem!important}.sm\:row-gap-2{row-gap:.5rem!important}.sm\:row-gap-3{row-gap:1rem!important}.sm\:row-gap-4{row-gap:1.5rem!important}.sm\:row-gap-5{row-gap:2rem!important}.sm\:row-gap-6{row-gap:3rem!important}.sm\:row-gap-7{row-gap:4rem!important}.sm\:row-gap-8{row-gap:5rem!important}.sm\:column-gap-0{column-gap:0rem!important}.sm\:column-gap-1{column-gap:.25rem!important}.sm\:column-gap-2{column-gap:.5rem!important}.sm\:column-gap-3{column-gap:1rem!important}.sm\:column-gap-4{column-gap:1.5rem!important}.sm\:column-gap-5{column-gap:2rem!important}.sm\:column-gap-6{column-gap:3rem!important}.sm\:column-gap-7{column-gap:4rem!important}.sm\:column-gap-8{column-gap:5rem!important}}@media screen and (min-width: 768px){.md\:gap-0{gap:0rem!important}.md\:gap-1{gap:.25rem!important}.md\:gap-2{gap:.5rem!important}.md\:gap-3{gap:1rem!important}.md\:gap-4{gap:1.5rem!important}.md\:gap-5{gap:2rem!important}.md\:gap-6{gap:3rem!important}.md\:gap-7{gap:4rem!important}.md\:gap-8{gap:5rem!important}.md\:row-gap-0{row-gap:0rem!important}.md\:row-gap-1{row-gap:.25rem!important}.md\:row-gap-2{row-gap:.5rem!important}.md\:row-gap-3{row-gap:1rem!important}.md\:row-gap-4{row-gap:1.5rem!important}.md\:row-gap-5{row-gap:2rem!important}.md\:row-gap-6{row-gap:3rem!important}.md\:row-gap-7{row-gap:4rem!important}.md\:row-gap-8{row-gap:5rem!important}.md\:column-gap-0{column-gap:0rem!important}.md\:column-gap-1{column-gap:.25rem!important}.md\:column-gap-2{column-gap:.5rem!important}.md\:column-gap-3{column-gap:1rem!important}.md\:column-gap-4{column-gap:1.5rem!important}.md\:column-gap-5{column-gap:2rem!important}.md\:column-gap-6{column-gap:3rem!important}.md\:column-gap-7{column-gap:4rem!important}.md\:column-gap-8{column-gap:5rem!important}}@media screen and (min-width: 992px){.lg\:gap-0{gap:0rem!important}.lg\:gap-1{gap:.25rem!important}.lg\:gap-2{gap:.5rem!important}.lg\:gap-3{gap:1rem!important}.lg\:gap-4{gap:1.5rem!important}.lg\:gap-5{gap:2rem!important}.lg\:gap-6{gap:3rem!important}.lg\:gap-7{gap:4rem!important}.lg\:gap-8{gap:5rem!important}.lg\:row-gap-0{row-gap:0rem!important}.lg\:row-gap-1{row-gap:.25rem!important}.lg\:row-gap-2{row-gap:.5rem!important}.lg\:row-gap-3{row-gap:1rem!important}.lg\:row-gap-4{row-gap:1.5rem!important}.lg\:row-gap-5{row-gap:2rem!important}.lg\:row-gap-6{row-gap:3rem!important}.lg\:row-gap-7{row-gap:4rem!important}.lg\:row-gap-8{row-gap:5rem!important}.lg\:column-gap-0{column-gap:0rem!important}.lg\:column-gap-1{column-gap:.25rem!important}.lg\:column-gap-2{column-gap:.5rem!important}.lg\:column-gap-3{column-gap:1rem!important}.lg\:column-gap-4{column-gap:1.5rem!important}.lg\:column-gap-5{column-gap:2rem!important}.lg\:column-gap-6{column-gap:3rem!important}.lg\:column-gap-7{column-gap:4rem!important}.lg\:column-gap-8{column-gap:5rem!important}}@media screen and (min-width: 1200px){.xl\:gap-0{gap:0rem!important}.xl\:gap-1{gap:.25rem!important}.xl\:gap-2{gap:.5rem!important}.xl\:gap-3{gap:1rem!important}.xl\:gap-4{gap:1.5rem!important}.xl\:gap-5{gap:2rem!important}.xl\:gap-6{gap:3rem!important}.xl\:gap-7{gap:4rem!important}.xl\:gap-8{gap:5rem!important}.xl\:row-gap-0{row-gap:0rem!important}.xl\:row-gap-1{row-gap:.25rem!important}.xl\:row-gap-2{row-gap:.5rem!important}.xl\:row-gap-3{row-gap:1rem!important}.xl\:row-gap-4{row-gap:1.5rem!important}.xl\:row-gap-5{row-gap:2rem!important}.xl\:row-gap-6{row-gap:3rem!important}.xl\:row-gap-7{row-gap:4rem!important}.xl\:row-gap-8{row-gap:5rem!important}.xl\:column-gap-0{column-gap:0rem!important}.xl\:column-gap-1{column-gap:.25rem!important}.xl\:column-gap-2{column-gap:.5rem!important}.xl\:column-gap-3{column-gap:1rem!important}.xl\:column-gap-4{column-gap:1.5rem!important}.xl\:column-gap-5{column-gap:2rem!important}.xl\:column-gap-6{column-gap:3rem!important}.xl\:column-gap-7{column-gap:4rem!important}.xl\:column-gap-8{column-gap:5rem!important}}.p-0{padding:0rem!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:2rem!important}.p-6{padding:3rem!important}.p-7{padding:4rem!important}.p-8{padding:5rem!important}.pt-0{padding-top:0rem!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:2rem!important}.pt-6{padding-top:3rem!important}.pt-7{padding-top:4rem!important}.pt-8{padding-top:5rem!important}.pr-0{padding-right:0rem!important}.pr-1{padding-right:.25rem!important}.pr-2{padding-right:.5rem!important}.pr-3{padding-right:1rem!important}.pr-4{padding-right:1.5rem!important}.pr-5{padding-right:2rem!important}.pr-6{padding-right:3rem!important}.pr-7{padding-right:4rem!important}.pr-8{padding-right:5rem!important}.pl-0{padding-left:0rem!important}.pl-1{padding-left:.25rem!important}.pl-2{padding-left:.5rem!important}.pl-3{padding-left:1rem!important}.pl-4{padding-left:1.5rem!important}.pl-5{padding-left:2rem!important}.pl-6{padding-left:3rem!important}.pl-7{padding-left:4rem!important}.pl-8{padding-left:5rem!important}.pb-0{padding-bottom:0rem!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:2rem!important}.pb-6{padding-bottom:3rem!important}.pb-7{padding-bottom:4rem!important}.pb-8{padding-bottom:5rem!important}.px-0{padding-left:0rem!important;padding-right:0rem!important}.px-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-3{padding-left:1rem!important;padding-right:1rem!important}.px-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-5{padding-left:2rem!important;padding-right:2rem!important}.px-6{padding-left:3rem!important;padding-right:3rem!important}.px-7{padding-left:4rem!important;padding-right:4rem!important}.px-8{padding-left:5rem!important;padding-right:5rem!important}.py-0{padding-top:0rem!important;padding-bottom:0rem!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:2rem!important;padding-bottom:2rem!important}.py-6{padding-top:3rem!important;padding-bottom:3rem!important}.py-7{padding-top:4rem!important;padding-bottom:4rem!important}.py-8{padding-top:5rem!important;padding-bottom:5rem!important}@media screen and (min-width: 576px){.sm\:p-0{padding:0rem!important}.sm\:p-1{padding:.25rem!important}.sm\:p-2{padding:.5rem!important}.sm\:p-3{padding:1rem!important}.sm\:p-4{padding:1.5rem!important}.sm\:p-5{padding:2rem!important}.sm\:p-6{padding:3rem!important}.sm\:p-7{padding:4rem!important}.sm\:p-8{padding:5rem!important}.sm\:pt-0{padding-top:0rem!important}.sm\:pt-1{padding-top:.25rem!important}.sm\:pt-2{padding-top:.5rem!important}.sm\:pt-3{padding-top:1rem!important}.sm\:pt-4{padding-top:1.5rem!important}.sm\:pt-5{padding-top:2rem!important}.sm\:pt-6{padding-top:3rem!important}.sm\:pt-7{padding-top:4rem!important}.sm\:pt-8{padding-top:5rem!important}.sm\:pr-0{padding-right:0rem!important}.sm\:pr-1{padding-right:.25rem!important}.sm\:pr-2{padding-right:.5rem!important}.sm\:pr-3{padding-right:1rem!important}.sm\:pr-4{padding-right:1.5rem!important}.sm\:pr-5{padding-right:2rem!important}.sm\:pr-6{padding-right:3rem!important}.sm\:pr-7{padding-right:4rem!important}.sm\:pr-8{padding-right:5rem!important}.sm\:pl-0{padding-left:0rem!important}.sm\:pl-1{padding-left:.25rem!important}.sm\:pl-2{padding-left:.5rem!important}.sm\:pl-3{padding-left:1rem!important}.sm\:pl-4{padding-left:1.5rem!important}.sm\:pl-5{padding-left:2rem!important}.sm\:pl-6{padding-left:3rem!important}.sm\:pl-7{padding-left:4rem!important}.sm\:pl-8{padding-left:5rem!important}.sm\:pb-0{padding-bottom:0rem!important}.sm\:pb-1{padding-bottom:.25rem!important}.sm\:pb-2{padding-bottom:.5rem!important}.sm\:pb-3{padding-bottom:1rem!important}.sm\:pb-4{padding-bottom:1.5rem!important}.sm\:pb-5{padding-bottom:2rem!important}.sm\:pb-6{padding-bottom:3rem!important}.sm\:pb-7{padding-bottom:4rem!important}.sm\:pb-8{padding-bottom:5rem!important}.sm\:px-0{padding-left:0rem!important;padding-right:0rem!important}.sm\:px-1{padding-left:.25rem!important;padding-right:.25rem!important}.sm\:px-2{padding-left:.5rem!important;padding-right:.5rem!important}.sm\:px-3{padding-left:1rem!important;padding-right:1rem!important}.sm\:px-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.sm\:px-5{padding-left:2rem!important;padding-right:2rem!important}.sm\:px-6{padding-left:3rem!important;padding-right:3rem!important}.sm\:px-7{padding-left:4rem!important;padding-right:4rem!important}.sm\:px-8{padding-left:5rem!important;padding-right:5rem!important}.sm\:py-0{padding-top:0rem!important;padding-bottom:0rem!important}.sm\:py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.sm\:py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.sm\:py-3{padding-top:1rem!important;padding-bottom:1rem!important}.sm\:py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.sm\:py-5{padding-top:2rem!important;padding-bottom:2rem!important}.sm\:py-6{padding-top:3rem!important;padding-bottom:3rem!important}.sm\:py-7{padding-top:4rem!important;padding-bottom:4rem!important}.sm\:py-8{padding-top:5rem!important;padding-bottom:5rem!important}}@media screen and (min-width: 768px){.md\:p-0{padding:0rem!important}.md\:p-1{padding:.25rem!important}.md\:p-2{padding:.5rem!important}.md\:p-3{padding:1rem!important}.md\:p-4{padding:1.5rem!important}.md\:p-5{padding:2rem!important}.md\:p-6{padding:3rem!important}.md\:p-7{padding:4rem!important}.md\:p-8{padding:5rem!important}.md\:pt-0{padding-top:0rem!important}.md\:pt-1{padding-top:.25rem!important}.md\:pt-2{padding-top:.5rem!important}.md\:pt-3{padding-top:1rem!important}.md\:pt-4{padding-top:1.5rem!important}.md\:pt-5{padding-top:2rem!important}.md\:pt-6{padding-top:3rem!important}.md\:pt-7{padding-top:4rem!important}.md\:pt-8{padding-top:5rem!important}.md\:pr-0{padding-right:0rem!important}.md\:pr-1{padding-right:.25rem!important}.md\:pr-2{padding-right:.5rem!important}.md\:pr-3{padding-right:1rem!important}.md\:pr-4{padding-right:1.5rem!important}.md\:pr-5{padding-right:2rem!important}.md\:pr-6{padding-right:3rem!important}.md\:pr-7{padding-right:4rem!important}.md\:pr-8{padding-right:5rem!important}.md\:pl-0{padding-left:0rem!important}.md\:pl-1{padding-left:.25rem!important}.md\:pl-2{padding-left:.5rem!important}.md\:pl-3{padding-left:1rem!important}.md\:pl-4{padding-left:1.5rem!important}.md\:pl-5{padding-left:2rem!important}.md\:pl-6{padding-left:3rem!important}.md\:pl-7{padding-left:4rem!important}.md\:pl-8{padding-left:5rem!important}.md\:pb-0{padding-bottom:0rem!important}.md\:pb-1{padding-bottom:.25rem!important}.md\:pb-2{padding-bottom:.5rem!important}.md\:pb-3{padding-bottom:1rem!important}.md\:pb-4{padding-bottom:1.5rem!important}.md\:pb-5{padding-bottom:2rem!important}.md\:pb-6{padding-bottom:3rem!important}.md\:pb-7{padding-bottom:4rem!important}.md\:pb-8{padding-bottom:5rem!important}.md\:px-0{padding-left:0rem!important;padding-right:0rem!important}.md\:px-1{padding-left:.25rem!important;padding-right:.25rem!important}.md\:px-2{padding-left:.5rem!important;padding-right:.5rem!important}.md\:px-3{padding-left:1rem!important;padding-right:1rem!important}.md\:px-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.md\:px-5{padding-left:2rem!important;padding-right:2rem!important}.md\:px-6{padding-left:3rem!important;padding-right:3rem!important}.md\:px-7{padding-left:4rem!important;padding-right:4rem!important}.md\:px-8{padding-left:5rem!important;padding-right:5rem!important}.md\:py-0{padding-top:0rem!important;padding-bottom:0rem!important}.md\:py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.md\:py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.md\:py-3{padding-top:1rem!important;padding-bottom:1rem!important}.md\:py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.md\:py-5{padding-top:2rem!important;padding-bottom:2rem!important}.md\:py-6{padding-top:3rem!important;padding-bottom:3rem!important}.md\:py-7{padding-top:4rem!important;padding-bottom:4rem!important}.md\:py-8{padding-top:5rem!important;padding-bottom:5rem!important}}@media screen and (min-width: 992px){.lg\:p-0{padding:0rem!important}.lg\:p-1{padding:.25rem!important}.lg\:p-2{padding:.5rem!important}.lg\:p-3{padding:1rem!important}.lg\:p-4{padding:1.5rem!important}.lg\:p-5{padding:2rem!important}.lg\:p-6{padding:3rem!important}.lg\:p-7{padding:4rem!important}.lg\:p-8{padding:5rem!important}.lg\:pt-0{padding-top:0rem!important}.lg\:pt-1{padding-top:.25rem!important}.lg\:pt-2{padding-top:.5rem!important}.lg\:pt-3{padding-top:1rem!important}.lg\:pt-4{padding-top:1.5rem!important}.lg\:pt-5{padding-top:2rem!important}.lg\:pt-6{padding-top:3rem!important}.lg\:pt-7{padding-top:4rem!important}.lg\:pt-8{padding-top:5rem!important}.lg\:pr-0{padding-right:0rem!important}.lg\:pr-1{padding-right:.25rem!important}.lg\:pr-2{padding-right:.5rem!important}.lg\:pr-3{padding-right:1rem!important}.lg\:pr-4{padding-right:1.5rem!important}.lg\:pr-5{padding-right:2rem!important}.lg\:pr-6{padding-right:3rem!important}.lg\:pr-7{padding-right:4rem!important}.lg\:pr-8{padding-right:5rem!important}.lg\:pl-0{padding-left:0rem!important}.lg\:pl-1{padding-left:.25rem!important}.lg\:pl-2{padding-left:.5rem!important}.lg\:pl-3{padding-left:1rem!important}.lg\:pl-4{padding-left:1.5rem!important}.lg\:pl-5{padding-left:2rem!important}.lg\:pl-6{padding-left:3rem!important}.lg\:pl-7{padding-left:4rem!important}.lg\:pl-8{padding-left:5rem!important}.lg\:pb-0{padding-bottom:0rem!important}.lg\:pb-1{padding-bottom:.25rem!important}.lg\:pb-2{padding-bottom:.5rem!important}.lg\:pb-3{padding-bottom:1rem!important}.lg\:pb-4{padding-bottom:1.5rem!important}.lg\:pb-5{padding-bottom:2rem!important}.lg\:pb-6{padding-bottom:3rem!important}.lg\:pb-7{padding-bottom:4rem!important}.lg\:pb-8{padding-bottom:5rem!important}.lg\:px-0{padding-left:0rem!important;padding-right:0rem!important}.lg\:px-1{padding-left:.25rem!important;padding-right:.25rem!important}.lg\:px-2{padding-left:.5rem!important;padding-right:.5rem!important}.lg\:px-3{padding-left:1rem!important;padding-right:1rem!important}.lg\:px-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.lg\:px-5{padding-left:2rem!important;padding-right:2rem!important}.lg\:px-6{padding-left:3rem!important;padding-right:3rem!important}.lg\:px-7{padding-left:4rem!important;padding-right:4rem!important}.lg\:px-8{padding-left:5rem!important;padding-right:5rem!important}.lg\:py-0{padding-top:0rem!important;padding-bottom:0rem!important}.lg\:py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.lg\:py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.lg\:py-3{padding-top:1rem!important;padding-bottom:1rem!important}.lg\:py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.lg\:py-5{padding-top:2rem!important;padding-bottom:2rem!important}.lg\:py-6{padding-top:3rem!important;padding-bottom:3rem!important}.lg\:py-7{padding-top:4rem!important;padding-bottom:4rem!important}.lg\:py-8{padding-top:5rem!important;padding-bottom:5rem!important}}@media screen and (min-width: 1200px){.xl\:p-0{padding:0rem!important}.xl\:p-1{padding:.25rem!important}.xl\:p-2{padding:.5rem!important}.xl\:p-3{padding:1rem!important}.xl\:p-4{padding:1.5rem!important}.xl\:p-5{padding:2rem!important}.xl\:p-6{padding:3rem!important}.xl\:p-7{padding:4rem!important}.xl\:p-8{padding:5rem!important}.xl\:pt-0{padding-top:0rem!important}.xl\:pt-1{padding-top:.25rem!important}.xl\:pt-2{padding-top:.5rem!important}.xl\:pt-3{padding-top:1rem!important}.xl\:pt-4{padding-top:1.5rem!important}.xl\:pt-5{padding-top:2rem!important}.xl\:pt-6{padding-top:3rem!important}.xl\:pt-7{padding-top:4rem!important}.xl\:pt-8{padding-top:5rem!important}.xl\:pr-0{padding-right:0rem!important}.xl\:pr-1{padding-right:.25rem!important}.xl\:pr-2{padding-right:.5rem!important}.xl\:pr-3{padding-right:1rem!important}.xl\:pr-4{padding-right:1.5rem!important}.xl\:pr-5{padding-right:2rem!important}.xl\:pr-6{padding-right:3rem!important}.xl\:pr-7{padding-right:4rem!important}.xl\:pr-8{padding-right:5rem!important}.xl\:pl-0{padding-left:0rem!important}.xl\:pl-1{padding-left:.25rem!important}.xl\:pl-2{padding-left:.5rem!important}.xl\:pl-3{padding-left:1rem!important}.xl\:pl-4{padding-left:1.5rem!important}.xl\:pl-5{padding-left:2rem!important}.xl\:pl-6{padding-left:3rem!important}.xl\:pl-7{padding-left:4rem!important}.xl\:pl-8{padding-left:5rem!important}.xl\:pb-0{padding-bottom:0rem!important}.xl\:pb-1{padding-bottom:.25rem!important}.xl\:pb-2{padding-bottom:.5rem!important}.xl\:pb-3{padding-bottom:1rem!important}.xl\:pb-4{padding-bottom:1.5rem!important}.xl\:pb-5{padding-bottom:2rem!important}.xl\:pb-6{padding-bottom:3rem!important}.xl\:pb-7{padding-bottom:4rem!important}.xl\:pb-8{padding-bottom:5rem!important}.xl\:px-0{padding-left:0rem!important;padding-right:0rem!important}.xl\:px-1{padding-left:.25rem!important;padding-right:.25rem!important}.xl\:px-2{padding-left:.5rem!important;padding-right:.5rem!important}.xl\:px-3{padding-left:1rem!important;padding-right:1rem!important}.xl\:px-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.xl\:px-5{padding-left:2rem!important;padding-right:2rem!important}.xl\:px-6{padding-left:3rem!important;padding-right:3rem!important}.xl\:px-7{padding-left:4rem!important;padding-right:4rem!important}.xl\:px-8{padding-left:5rem!important;padding-right:5rem!important}.xl\:py-0{padding-top:0rem!important;padding-bottom:0rem!important}.xl\:py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.xl\:py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.xl\:py-3{padding-top:1rem!important;padding-bottom:1rem!important}.xl\:py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.xl\:py-5{padding-top:2rem!important;padding-bottom:2rem!important}.xl\:py-6{padding-top:3rem!important;padding-bottom:3rem!important}.xl\:py-7{padding-top:4rem!important;padding-bottom:4rem!important}.xl\:py-8{padding-top:5rem!important;padding-bottom:5rem!important}}.m-0{margin:0rem!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:2rem!important}.m-6{margin:3rem!important}.m-7{margin:4rem!important}.m-8{margin:5rem!important}.-m-1{margin:-.25rem!important}.-m-2{margin:-.5rem!important}.-m-3{margin:-1rem!important}.-m-4{margin:-1.5rem!important}.-m-5{margin:-2rem!important}.-m-6{margin:-3rem!important}.-m-7{margin:-4rem!important}.-m-8{margin:-5rem!important}.m-auto{margin:auto!important}.mt-0{margin-top:0rem!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:2rem!important}.mt-6{margin-top:3rem!important}.mt-7{margin-top:4rem!important}.mt-8{margin-top:5rem!important}.-mt-1{margin-top:-.25rem!important}.-mt-2{margin-top:-.5rem!important}.-mt-3{margin-top:-1rem!important}.-mt-4{margin-top:-1.5rem!important}.-mt-5{margin-top:-2rem!important}.-mt-6{margin-top:-3rem!important}.-mt-7{margin-top:-4rem!important}.-mt-8{margin-top:-5rem!important}.mt-auto{margin-top:auto!important}.mr-0{margin-right:0rem!important}.mr-1{margin-right:.25rem!important}.mr-2{margin-right:.5rem!important}.mr-3{margin-right:1rem!important}.mr-4{margin-right:1.5rem!important}.mr-5{margin-right:2rem!important}.mr-6{margin-right:3rem!important}.mr-7{margin-right:4rem!important}.mr-8{margin-right:5rem!important}.-mr-1{margin-right:-.25rem!important}.-mr-2{margin-right:-.5rem!important}.-mr-3{margin-right:-1rem!important}.-mr-4{margin-right:-1.5rem!important}.-mr-5{margin-right:-2rem!important}.-mr-6{margin-right:-3rem!important}.-mr-7{margin-right:-4rem!important}.-mr-8{margin-right:-5rem!important}.mr-auto{margin-right:auto!important}.ml-0{margin-left:0rem!important}.ml-1{margin-left:.25rem!important}.ml-2{margin-left:.5rem!important}.ml-3{margin-left:1rem!important}.ml-4{margin-left:1.5rem!important}.ml-5{margin-left:2rem!important}.ml-6{margin-left:3rem!important}.ml-7{margin-left:4rem!important}.ml-8{margin-left:5rem!important}.-ml-1{margin-left:-.25rem!important}.-ml-2{margin-left:-.5rem!important}.-ml-3{margin-left:-1rem!important}.-ml-4{margin-left:-1.5rem!important}.-ml-5{margin-left:-2rem!important}.-ml-6{margin-left:-3rem!important}.-ml-7{margin-left:-4rem!important}.-ml-8{margin-left:-5rem!important}.ml-auto{margin-left:auto!important}.mb-0{margin-bottom:0rem!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:2rem!important}.mb-6{margin-bottom:3rem!important}.mb-7{margin-bottom:4rem!important}.mb-8{margin-bottom:5rem!important}.-mb-1{margin-bottom:-.25rem!important}.-mb-2{margin-bottom:-.5rem!important}.-mb-3{margin-bottom:-1rem!important}.-mb-4{margin-bottom:-1.5rem!important}.-mb-5{margin-bottom:-2rem!important}.-mb-6{margin-bottom:-3rem!important}.-mb-7{margin-bottom:-4rem!important}.-mb-8{margin-bottom:-5rem!important}.mb-auto{margin-bottom:auto!important}.mx-0{margin-left:0rem!important;margin-right:0rem!important}.mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.mx-3{margin-left:1rem!important;margin-right:1rem!important}.mx-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.mx-5{margin-left:2rem!important;margin-right:2rem!important}.mx-6{margin-left:3rem!important;margin-right:3rem!important}.mx-7{margin-left:4rem!important;margin-right:4rem!important}.mx-8{margin-left:5rem!important;margin-right:5rem!important}.-mx-1{margin-left:-.25rem!important;margin-right:-.25rem!important}.-mx-2{margin-left:-.5rem!important;margin-right:-.5rem!important}.-mx-3{margin-left:-1rem!important;margin-right:-1rem!important}.-mx-4{margin-left:-1.5rem!important;margin-right:-1.5rem!important}.-mx-5{margin-left:-2rem!important;margin-right:-2rem!important}.-mx-6{margin-left:-3rem!important;margin-right:-3rem!important}.-mx-7{margin-left:-4rem!important;margin-right:-4rem!important}.-mx-8{margin-left:-5rem!important;margin-right:-5rem!important}.mx-auto{margin-left:auto!important;margin-right:auto!important}.my-0{margin-top:0rem!important;margin-bottom:0rem!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:2rem!important;margin-bottom:2rem!important}.my-6{margin-top:3rem!important;margin-bottom:3rem!important}.my-7{margin-top:4rem!important;margin-bottom:4rem!important}.my-8{margin-top:5rem!important;margin-bottom:5rem!important}.-my-1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.-my-2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.-my-3{margin-top:-1rem!important;margin-bottom:-1rem!important}.-my-4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.-my-5{margin-top:-2rem!important;margin-bottom:-2rem!important}.-my-6{margin-top:-3rem!important;margin-bottom:-3rem!important}.-my-7{margin-top:-4rem!important;margin-bottom:-4rem!important}.-my-8{margin-top:-5rem!important;margin-bottom:-5rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}@media screen and (min-width: 576px){.sm\:m-0{margin:0rem!important}.sm\:m-1{margin:.25rem!important}.sm\:m-2{margin:.5rem!important}.sm\:m-3{margin:1rem!important}.sm\:m-4{margin:1.5rem!important}.sm\:m-5{margin:2rem!important}.sm\:m-6{margin:3rem!important}.sm\:m-7{margin:4rem!important}.sm\:m-8{margin:5rem!important}.sm\:-m-1{margin:-.25rem!important}.sm\:-m-2{margin:-.5rem!important}.sm\:-m-3{margin:-1rem!important}.sm\:-m-4{margin:-1.5rem!important}.sm\:-m-5{margin:-2rem!important}.sm\:-m-6{margin:-3rem!important}.sm\:-m-7{margin:-4rem!important}.sm\:-m-8{margin:-5rem!important}.sm\:m-auto{margin:auto!important}.sm\:mt-0{margin-top:0rem!important}.sm\:mt-1{margin-top:.25rem!important}.sm\:mt-2{margin-top:.5rem!important}.sm\:mt-3{margin-top:1rem!important}.sm\:mt-4{margin-top:1.5rem!important}.sm\:mt-5{margin-top:2rem!important}.sm\:mt-6{margin-top:3rem!important}.sm\:mt-7{margin-top:4rem!important}.sm\:mt-8{margin-top:5rem!important}.sm\:-mt-1{margin-top:-.25rem!important}.sm\:-mt-2{margin-top:-.5rem!important}.sm\:-mt-3{margin-top:-1rem!important}.sm\:-mt-4{margin-top:-1.5rem!important}.sm\:-mt-5{margin-top:-2rem!important}.sm\:-mt-6{margin-top:-3rem!important}.sm\:-mt-7{margin-top:-4rem!important}.sm\:-mt-8{margin-top:-5rem!important}.sm\:mt-auto{margin-top:auto!important}.sm\:mr-0{margin-right:0rem!important}.sm\:mr-1{margin-right:.25rem!important}.sm\:mr-2{margin-right:.5rem!important}.sm\:mr-3{margin-right:1rem!important}.sm\:mr-4{margin-right:1.5rem!important}.sm\:mr-5{margin-right:2rem!important}.sm\:mr-6{margin-right:3rem!important}.sm\:mr-7{margin-right:4rem!important}.sm\:mr-8{margin-right:5rem!important}.sm\:-mr-1{margin-right:-.25rem!important}.sm\:-mr-2{margin-right:-.5rem!important}.sm\:-mr-3{margin-right:-1rem!important}.sm\:-mr-4{margin-right:-1.5rem!important}.sm\:-mr-5{margin-right:-2rem!important}.sm\:-mr-6{margin-right:-3rem!important}.sm\:-mr-7{margin-right:-4rem!important}.sm\:-mr-8{margin-right:-5rem!important}.sm\:mr-auto{margin-right:auto!important}.sm\:ml-0{margin-left:0rem!important}.sm\:ml-1{margin-left:.25rem!important}.sm\:ml-2{margin-left:.5rem!important}.sm\:ml-3{margin-left:1rem!important}.sm\:ml-4{margin-left:1.5rem!important}.sm\:ml-5{margin-left:2rem!important}.sm\:ml-6{margin-left:3rem!important}.sm\:ml-7{margin-left:4rem!important}.sm\:ml-8{margin-left:5rem!important}.sm\:-ml-1{margin-left:-.25rem!important}.sm\:-ml-2{margin-left:-.5rem!important}.sm\:-ml-3{margin-left:-1rem!important}.sm\:-ml-4{margin-left:-1.5rem!important}.sm\:-ml-5{margin-left:-2rem!important}.sm\:-ml-6{margin-left:-3rem!important}.sm\:-ml-7{margin-left:-4rem!important}.sm\:-ml-8{margin-left:-5rem!important}.sm\:ml-auto{margin-left:auto!important}.sm\:mb-0{margin-bottom:0rem!important}.sm\:mb-1{margin-bottom:.25rem!important}.sm\:mb-2{margin-bottom:.5rem!important}.sm\:mb-3{margin-bottom:1rem!important}.sm\:mb-4{margin-bottom:1.5rem!important}.sm\:mb-5{margin-bottom:2rem!important}.sm\:mb-6{margin-bottom:3rem!important}.sm\:mb-7{margin-bottom:4rem!important}.sm\:mb-8{margin-bottom:5rem!important}.sm\:-mb-1{margin-bottom:-.25rem!important}.sm\:-mb-2{margin-bottom:-.5rem!important}.sm\:-mb-3{margin-bottom:-1rem!important}.sm\:-mb-4{margin-bottom:-1.5rem!important}.sm\:-mb-5{margin-bottom:-2rem!important}.sm\:-mb-6{margin-bottom:-3rem!important}.sm\:-mb-7{margin-bottom:-4rem!important}.sm\:-mb-8{margin-bottom:-5rem!important}.sm\:mb-auto{margin-bottom:auto!important}.sm\:mx-0{margin-left:0rem!important;margin-right:0rem!important}.sm\:mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.sm\:mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.sm\:mx-3{margin-left:1rem!important;margin-right:1rem!important}.sm\:mx-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.sm\:mx-5{margin-left:2rem!important;margin-right:2rem!important}.sm\:mx-6{margin-left:3rem!important;margin-right:3rem!important}.sm\:mx-7{margin-left:4rem!important;margin-right:4rem!important}.sm\:mx-8{margin-left:5rem!important;margin-right:5rem!important}.sm\:-mx-1{margin-left:-.25rem!important;margin-right:-.25rem!important}.sm\:-mx-2{margin-left:-.5rem!important;margin-right:-.5rem!important}.sm\:-mx-3{margin-left:-1rem!important;margin-right:-1rem!important}.sm\:-mx-4{margin-left:-1.5rem!important;margin-right:-1.5rem!important}.sm\:-mx-5{margin-left:-2rem!important;margin-right:-2rem!important}.sm\:-mx-6{margin-left:-3rem!important;margin-right:-3rem!important}.sm\:-mx-7{margin-left:-4rem!important;margin-right:-4rem!important}.sm\:-mx-8{margin-left:-5rem!important;margin-right:-5rem!important}.sm\:mx-auto{margin-left:auto!important;margin-right:auto!important}.sm\:my-0{margin-top:0rem!important;margin-bottom:0rem!important}.sm\:my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.sm\:my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.sm\:my-3{margin-top:1rem!important;margin-bottom:1rem!important}.sm\:my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.sm\:my-5{margin-top:2rem!important;margin-bottom:2rem!important}.sm\:my-6{margin-top:3rem!important;margin-bottom:3rem!important}.sm\:my-7{margin-top:4rem!important;margin-bottom:4rem!important}.sm\:my-8{margin-top:5rem!important;margin-bottom:5rem!important}.sm\:-my-1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.sm\:-my-2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.sm\:-my-3{margin-top:-1rem!important;margin-bottom:-1rem!important}.sm\:-my-4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.sm\:-my-5{margin-top:-2rem!important;margin-bottom:-2rem!important}.sm\:-my-6{margin-top:-3rem!important;margin-bottom:-3rem!important}.sm\:-my-7{margin-top:-4rem!important;margin-bottom:-4rem!important}.sm\:-my-8{margin-top:-5rem!important;margin-bottom:-5rem!important}.sm\:my-auto{margin-top:auto!important;margin-bottom:auto!important}}@media screen and (min-width: 768px){.md\:m-0{margin:0rem!important}.md\:m-1{margin:.25rem!important}.md\:m-2{margin:.5rem!important}.md\:m-3{margin:1rem!important}.md\:m-4{margin:1.5rem!important}.md\:m-5{margin:2rem!important}.md\:m-6{margin:3rem!important}.md\:m-7{margin:4rem!important}.md\:m-8{margin:5rem!important}.md\:-m-1{margin:-.25rem!important}.md\:-m-2{margin:-.5rem!important}.md\:-m-3{margin:-1rem!important}.md\:-m-4{margin:-1.5rem!important}.md\:-m-5{margin:-2rem!important}.md\:-m-6{margin:-3rem!important}.md\:-m-7{margin:-4rem!important}.md\:-m-8{margin:-5rem!important}.md\:m-auto{margin:auto!important}.md\:mt-0{margin-top:0rem!important}.md\:mt-1{margin-top:.25rem!important}.md\:mt-2{margin-top:.5rem!important}.md\:mt-3{margin-top:1rem!important}.md\:mt-4{margin-top:1.5rem!important}.md\:mt-5{margin-top:2rem!important}.md\:mt-6{margin-top:3rem!important}.md\:mt-7{margin-top:4rem!important}.md\:mt-8{margin-top:5rem!important}.md\:-mt-1{margin-top:-.25rem!important}.md\:-mt-2{margin-top:-.5rem!important}.md\:-mt-3{margin-top:-1rem!important}.md\:-mt-4{margin-top:-1.5rem!important}.md\:-mt-5{margin-top:-2rem!important}.md\:-mt-6{margin-top:-3rem!important}.md\:-mt-7{margin-top:-4rem!important}.md\:-mt-8{margin-top:-5rem!important}.md\:mt-auto{margin-top:auto!important}.md\:mr-0{margin-right:0rem!important}.md\:mr-1{margin-right:.25rem!important}.md\:mr-2{margin-right:.5rem!important}.md\:mr-3{margin-right:1rem!important}.md\:mr-4{margin-right:1.5rem!important}.md\:mr-5{margin-right:2rem!important}.md\:mr-6{margin-right:3rem!important}.md\:mr-7{margin-right:4rem!important}.md\:mr-8{margin-right:5rem!important}.md\:-mr-1{margin-right:-.25rem!important}.md\:-mr-2{margin-right:-.5rem!important}.md\:-mr-3{margin-right:-1rem!important}.md\:-mr-4{margin-right:-1.5rem!important}.md\:-mr-5{margin-right:-2rem!important}.md\:-mr-6{margin-right:-3rem!important}.md\:-mr-7{margin-right:-4rem!important}.md\:-mr-8{margin-right:-5rem!important}.md\:mr-auto{margin-right:auto!important}.md\:ml-0{margin-left:0rem!important}.md\:ml-1{margin-left:.25rem!important}.md\:ml-2{margin-left:.5rem!important}.md\:ml-3{margin-left:1rem!important}.md\:ml-4{margin-left:1.5rem!important}.md\:ml-5{margin-left:2rem!important}.md\:ml-6{margin-left:3rem!important}.md\:ml-7{margin-left:4rem!important}.md\:ml-8{margin-left:5rem!important}.md\:-ml-1{margin-left:-.25rem!important}.md\:-ml-2{margin-left:-.5rem!important}.md\:-ml-3{margin-left:-1rem!important}.md\:-ml-4{margin-left:-1.5rem!important}.md\:-ml-5{margin-left:-2rem!important}.md\:-ml-6{margin-left:-3rem!important}.md\:-ml-7{margin-left:-4rem!important}.md\:-ml-8{margin-left:-5rem!important}.md\:ml-auto{margin-left:auto!important}.md\:mb-0{margin-bottom:0rem!important}.md\:mb-1{margin-bottom:.25rem!important}.md\:mb-2{margin-bottom:.5rem!important}.md\:mb-3{margin-bottom:1rem!important}.md\:mb-4{margin-bottom:1.5rem!important}.md\:mb-5{margin-bottom:2rem!important}.md\:mb-6{margin-bottom:3rem!important}.md\:mb-7{margin-bottom:4rem!important}.md\:mb-8{margin-bottom:5rem!important}.md\:-mb-1{margin-bottom:-.25rem!important}.md\:-mb-2{margin-bottom:-.5rem!important}.md\:-mb-3{margin-bottom:-1rem!important}.md\:-mb-4{margin-bottom:-1.5rem!important}.md\:-mb-5{margin-bottom:-2rem!important}.md\:-mb-6{margin-bottom:-3rem!important}.md\:-mb-7{margin-bottom:-4rem!important}.md\:-mb-8{margin-bottom:-5rem!important}.md\:mb-auto{margin-bottom:auto!important}.md\:mx-0{margin-left:0rem!important;margin-right:0rem!important}.md\:mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.md\:mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.md\:mx-3{margin-left:1rem!important;margin-right:1rem!important}.md\:mx-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.md\:mx-5{margin-left:2rem!important;margin-right:2rem!important}.md\:mx-6{margin-left:3rem!important;margin-right:3rem!important}.md\:mx-7{margin-left:4rem!important;margin-right:4rem!important}.md\:mx-8{margin-left:5rem!important;margin-right:5rem!important}.md\:-mx-1{margin-left:-.25rem!important;margin-right:-.25rem!important}.md\:-mx-2{margin-left:-.5rem!important;margin-right:-.5rem!important}.md\:-mx-3{margin-left:-1rem!important;margin-right:-1rem!important}.md\:-mx-4{margin-left:-1.5rem!important;margin-right:-1.5rem!important}.md\:-mx-5{margin-left:-2rem!important;margin-right:-2rem!important}.md\:-mx-6{margin-left:-3rem!important;margin-right:-3rem!important}.md\:-mx-7{margin-left:-4rem!important;margin-right:-4rem!important}.md\:-mx-8{margin-left:-5rem!important;margin-right:-5rem!important}.md\:mx-auto{margin-left:auto!important;margin-right:auto!important}.md\:my-0{margin-top:0rem!important;margin-bottom:0rem!important}.md\:my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.md\:my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.md\:my-3{margin-top:1rem!important;margin-bottom:1rem!important}.md\:my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.md\:my-5{margin-top:2rem!important;margin-bottom:2rem!important}.md\:my-6{margin-top:3rem!important;margin-bottom:3rem!important}.md\:my-7{margin-top:4rem!important;margin-bottom:4rem!important}.md\:my-8{margin-top:5rem!important;margin-bottom:5rem!important}.md\:-my-1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.md\:-my-2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.md\:-my-3{margin-top:-1rem!important;margin-bottom:-1rem!important}.md\:-my-4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.md\:-my-5{margin-top:-2rem!important;margin-bottom:-2rem!important}.md\:-my-6{margin-top:-3rem!important;margin-bottom:-3rem!important}.md\:-my-7{margin-top:-4rem!important;margin-bottom:-4rem!important}.md\:-my-8{margin-top:-5rem!important;margin-bottom:-5rem!important}.md\:my-auto{margin-top:auto!important;margin-bottom:auto!important}}@media screen and (min-width: 992px){.lg\:m-0{margin:0rem!important}.lg\:m-1{margin:.25rem!important}.lg\:m-2{margin:.5rem!important}.lg\:m-3{margin:1rem!important}.lg\:m-4{margin:1.5rem!important}.lg\:m-5{margin:2rem!important}.lg\:m-6{margin:3rem!important}.lg\:m-7{margin:4rem!important}.lg\:m-8{margin:5rem!important}.lg\:-m-1{margin:-.25rem!important}.lg\:-m-2{margin:-.5rem!important}.lg\:-m-3{margin:-1rem!important}.lg\:-m-4{margin:-1.5rem!important}.lg\:-m-5{margin:-2rem!important}.lg\:-m-6{margin:-3rem!important}.lg\:-m-7{margin:-4rem!important}.lg\:-m-8{margin:-5rem!important}.lg\:m-auto{margin:auto!important}.lg\:mt-0{margin-top:0rem!important}.lg\:mt-1{margin-top:.25rem!important}.lg\:mt-2{margin-top:.5rem!important}.lg\:mt-3{margin-top:1rem!important}.lg\:mt-4{margin-top:1.5rem!important}.lg\:mt-5{margin-top:2rem!important}.lg\:mt-6{margin-top:3rem!important}.lg\:mt-7{margin-top:4rem!important}.lg\:mt-8{margin-top:5rem!important}.lg\:-mt-1{margin-top:-.25rem!important}.lg\:-mt-2{margin-top:-.5rem!important}.lg\:-mt-3{margin-top:-1rem!important}.lg\:-mt-4{margin-top:-1.5rem!important}.lg\:-mt-5{margin-top:-2rem!important}.lg\:-mt-6{margin-top:-3rem!important}.lg\:-mt-7{margin-top:-4rem!important}.lg\:-mt-8{margin-top:-5rem!important}.lg\:mt-auto{margin-top:auto!important}.lg\:mr-0{margin-right:0rem!important}.lg\:mr-1{margin-right:.25rem!important}.lg\:mr-2{margin-right:.5rem!important}.lg\:mr-3{margin-right:1rem!important}.lg\:mr-4{margin-right:1.5rem!important}.lg\:mr-5{margin-right:2rem!important}.lg\:mr-6{margin-right:3rem!important}.lg\:mr-7{margin-right:4rem!important}.lg\:mr-8{margin-right:5rem!important}.lg\:-mr-1{margin-right:-.25rem!important}.lg\:-mr-2{margin-right:-.5rem!important}.lg\:-mr-3{margin-right:-1rem!important}.lg\:-mr-4{margin-right:-1.5rem!important}.lg\:-mr-5{margin-right:-2rem!important}.lg\:-mr-6{margin-right:-3rem!important}.lg\:-mr-7{margin-right:-4rem!important}.lg\:-mr-8{margin-right:-5rem!important}.lg\:mr-auto{margin-right:auto!important}.lg\:ml-0{margin-left:0rem!important}.lg\:ml-1{margin-left:.25rem!important}.lg\:ml-2{margin-left:.5rem!important}.lg\:ml-3{margin-left:1rem!important}.lg\:ml-4{margin-left:1.5rem!important}.lg\:ml-5{margin-left:2rem!important}.lg\:ml-6{margin-left:3rem!important}.lg\:ml-7{margin-left:4rem!important}.lg\:ml-8{margin-left:5rem!important}.lg\:-ml-1{margin-left:-.25rem!important}.lg\:-ml-2{margin-left:-.5rem!important}.lg\:-ml-3{margin-left:-1rem!important}.lg\:-ml-4{margin-left:-1.5rem!important}.lg\:-ml-5{margin-left:-2rem!important}.lg\:-ml-6{margin-left:-3rem!important}.lg\:-ml-7{margin-left:-4rem!important}.lg\:-ml-8{margin-left:-5rem!important}.lg\:ml-auto{margin-left:auto!important}.lg\:mb-0{margin-bottom:0rem!important}.lg\:mb-1{margin-bottom:.25rem!important}.lg\:mb-2{margin-bottom:.5rem!important}.lg\:mb-3{margin-bottom:1rem!important}.lg\:mb-4{margin-bottom:1.5rem!important}.lg\:mb-5{margin-bottom:2rem!important}.lg\:mb-6{margin-bottom:3rem!important}.lg\:mb-7{margin-bottom:4rem!important}.lg\:mb-8{margin-bottom:5rem!important}.lg\:-mb-1{margin-bottom:-.25rem!important}.lg\:-mb-2{margin-bottom:-.5rem!important}.lg\:-mb-3{margin-bottom:-1rem!important}.lg\:-mb-4{margin-bottom:-1.5rem!important}.lg\:-mb-5{margin-bottom:-2rem!important}.lg\:-mb-6{margin-bottom:-3rem!important}.lg\:-mb-7{margin-bottom:-4rem!important}.lg\:-mb-8{margin-bottom:-5rem!important}.lg\:mb-auto{margin-bottom:auto!important}.lg\:mx-0{margin-left:0rem!important;margin-right:0rem!important}.lg\:mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.lg\:mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.lg\:mx-3{margin-left:1rem!important;margin-right:1rem!important}.lg\:mx-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.lg\:mx-5{margin-left:2rem!important;margin-right:2rem!important}.lg\:mx-6{margin-left:3rem!important;margin-right:3rem!important}.lg\:mx-7{margin-left:4rem!important;margin-right:4rem!important}.lg\:mx-8{margin-left:5rem!important;margin-right:5rem!important}.lg\:-mx-1{margin-left:-.25rem!important;margin-right:-.25rem!important}.lg\:-mx-2{margin-left:-.5rem!important;margin-right:-.5rem!important}.lg\:-mx-3{margin-left:-1rem!important;margin-right:-1rem!important}.lg\:-mx-4{margin-left:-1.5rem!important;margin-right:-1.5rem!important}.lg\:-mx-5{margin-left:-2rem!important;margin-right:-2rem!important}.lg\:-mx-6{margin-left:-3rem!important;margin-right:-3rem!important}.lg\:-mx-7{margin-left:-4rem!important;margin-right:-4rem!important}.lg\:-mx-8{margin-left:-5rem!important;margin-right:-5rem!important}.lg\:mx-auto{margin-left:auto!important;margin-right:auto!important}.lg\:my-0{margin-top:0rem!important;margin-bottom:0rem!important}.lg\:my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.lg\:my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.lg\:my-3{margin-top:1rem!important;margin-bottom:1rem!important}.lg\:my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.lg\:my-5{margin-top:2rem!important;margin-bottom:2rem!important}.lg\:my-6{margin-top:3rem!important;margin-bottom:3rem!important}.lg\:my-7{margin-top:4rem!important;margin-bottom:4rem!important}.lg\:my-8{margin-top:5rem!important;margin-bottom:5rem!important}.lg\:-my-1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.lg\:-my-2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.lg\:-my-3{margin-top:-1rem!important;margin-bottom:-1rem!important}.lg\:-my-4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.lg\:-my-5{margin-top:-2rem!important;margin-bottom:-2rem!important}.lg\:-my-6{margin-top:-3rem!important;margin-bottom:-3rem!important}.lg\:-my-7{margin-top:-4rem!important;margin-bottom:-4rem!important}.lg\:-my-8{margin-top:-5rem!important;margin-bottom:-5rem!important}.lg\:my-auto{margin-top:auto!important;margin-bottom:auto!important}}@media screen and (min-width: 1200px){.xl\:m-0{margin:0rem!important}.xl\:m-1{margin:.25rem!important}.xl\:m-2{margin:.5rem!important}.xl\:m-3{margin:1rem!important}.xl\:m-4{margin:1.5rem!important}.xl\:m-5{margin:2rem!important}.xl\:m-6{margin:3rem!important}.xl\:m-7{margin:4rem!important}.xl\:m-8{margin:5rem!important}.xl\:-m-1{margin:-.25rem!important}.xl\:-m-2{margin:-.5rem!important}.xl\:-m-3{margin:-1rem!important}.xl\:-m-4{margin:-1.5rem!important}.xl\:-m-5{margin:-2rem!important}.xl\:-m-6{margin:-3rem!important}.xl\:-m-7{margin:-4rem!important}.xl\:-m-8{margin:-5rem!important}.xl\:m-auto{margin:auto!important}.xl\:mt-0{margin-top:0rem!important}.xl\:mt-1{margin-top:.25rem!important}.xl\:mt-2{margin-top:.5rem!important}.xl\:mt-3{margin-top:1rem!important}.xl\:mt-4{margin-top:1.5rem!important}.xl\:mt-5{margin-top:2rem!important}.xl\:mt-6{margin-top:3rem!important}.xl\:mt-7{margin-top:4rem!important}.xl\:mt-8{margin-top:5rem!important}.xl\:-mt-1{margin-top:-.25rem!important}.xl\:-mt-2{margin-top:-.5rem!important}.xl\:-mt-3{margin-top:-1rem!important}.xl\:-mt-4{margin-top:-1.5rem!important}.xl\:-mt-5{margin-top:-2rem!important}.xl\:-mt-6{margin-top:-3rem!important}.xl\:-mt-7{margin-top:-4rem!important}.xl\:-mt-8{margin-top:-5rem!important}.xl\:mt-auto{margin-top:auto!important}.xl\:mr-0{margin-right:0rem!important}.xl\:mr-1{margin-right:.25rem!important}.xl\:mr-2{margin-right:.5rem!important}.xl\:mr-3{margin-right:1rem!important}.xl\:mr-4{margin-right:1.5rem!important}.xl\:mr-5{margin-right:2rem!important}.xl\:mr-6{margin-right:3rem!important}.xl\:mr-7{margin-right:4rem!important}.xl\:mr-8{margin-right:5rem!important}.xl\:-mr-1{margin-right:-.25rem!important}.xl\:-mr-2{margin-right:-.5rem!important}.xl\:-mr-3{margin-right:-1rem!important}.xl\:-mr-4{margin-right:-1.5rem!important}.xl\:-mr-5{margin-right:-2rem!important}.xl\:-mr-6{margin-right:-3rem!important}.xl\:-mr-7{margin-right:-4rem!important}.xl\:-mr-8{margin-right:-5rem!important}.xl\:mr-auto{margin-right:auto!important}.xl\:ml-0{margin-left:0rem!important}.xl\:ml-1{margin-left:.25rem!important}.xl\:ml-2{margin-left:.5rem!important}.xl\:ml-3{margin-left:1rem!important}.xl\:ml-4{margin-left:1.5rem!important}.xl\:ml-5{margin-left:2rem!important}.xl\:ml-6{margin-left:3rem!important}.xl\:ml-7{margin-left:4rem!important}.xl\:ml-8{margin-left:5rem!important}.xl\:-ml-1{margin-left:-.25rem!important}.xl\:-ml-2{margin-left:-.5rem!important}.xl\:-ml-3{margin-left:-1rem!important}.xl\:-ml-4{margin-left:-1.5rem!important}.xl\:-ml-5{margin-left:-2rem!important}.xl\:-ml-6{margin-left:-3rem!important}.xl\:-ml-7{margin-left:-4rem!important}.xl\:-ml-8{margin-left:-5rem!important}.xl\:ml-auto{margin-left:auto!important}.xl\:mb-0{margin-bottom:0rem!important}.xl\:mb-1{margin-bottom:.25rem!important}.xl\:mb-2{margin-bottom:.5rem!important}.xl\:mb-3{margin-bottom:1rem!important}.xl\:mb-4{margin-bottom:1.5rem!important}.xl\:mb-5{margin-bottom:2rem!important}.xl\:mb-6{margin-bottom:3rem!important}.xl\:mb-7{margin-bottom:4rem!important}.xl\:mb-8{margin-bottom:5rem!important}.xl\:-mb-1{margin-bottom:-.25rem!important}.xl\:-mb-2{margin-bottom:-.5rem!important}.xl\:-mb-3{margin-bottom:-1rem!important}.xl\:-mb-4{margin-bottom:-1.5rem!important}.xl\:-mb-5{margin-bottom:-2rem!important}.xl\:-mb-6{margin-bottom:-3rem!important}.xl\:-mb-7{margin-bottom:-4rem!important}.xl\:-mb-8{margin-bottom:-5rem!important}.xl\:mb-auto{margin-bottom:auto!important}.xl\:mx-0{margin-left:0rem!important;margin-right:0rem!important}.xl\:mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.xl\:mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.xl\:mx-3{margin-left:1rem!important;margin-right:1rem!important}.xl\:mx-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.xl\:mx-5{margin-left:2rem!important;margin-right:2rem!important}.xl\:mx-6{margin-left:3rem!important;margin-right:3rem!important}.xl\:mx-7{margin-left:4rem!important;margin-right:4rem!important}.xl\:mx-8{margin-left:5rem!important;margin-right:5rem!important}.xl\:-mx-1{margin-left:-.25rem!important;margin-right:-.25rem!important}.xl\:-mx-2{margin-left:-.5rem!important;margin-right:-.5rem!important}.xl\:-mx-3{margin-left:-1rem!important;margin-right:-1rem!important}.xl\:-mx-4{margin-left:-1.5rem!important;margin-right:-1.5rem!important}.xl\:-mx-5{margin-left:-2rem!important;margin-right:-2rem!important}.xl\:-mx-6{margin-left:-3rem!important;margin-right:-3rem!important}.xl\:-mx-7{margin-left:-4rem!important;margin-right:-4rem!important}.xl\:-mx-8{margin-left:-5rem!important;margin-right:-5rem!important}.xl\:mx-auto{margin-left:auto!important;margin-right:auto!important}.xl\:my-0{margin-top:0rem!important;margin-bottom:0rem!important}.xl\:my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.xl\:my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.xl\:my-3{margin-top:1rem!important;margin-bottom:1rem!important}.xl\:my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.xl\:my-5{margin-top:2rem!important;margin-bottom:2rem!important}.xl\:my-6{margin-top:3rem!important;margin-bottom:3rem!important}.xl\:my-7{margin-top:4rem!important;margin-bottom:4rem!important}.xl\:my-8{margin-top:5rem!important;margin-bottom:5rem!important}.xl\:-my-1{margin-top:-.25rem!important;margin-bottom:-.25rem!important}.xl\:-my-2{margin-top:-.5rem!important;margin-bottom:-.5rem!important}.xl\:-my-3{margin-top:-1rem!important;margin-bottom:-1rem!important}.xl\:-my-4{margin-top:-1.5rem!important;margin-bottom:-1.5rem!important}.xl\:-my-5{margin-top:-2rem!important;margin-bottom:-2rem!important}.xl\:-my-6{margin-top:-3rem!important;margin-bottom:-3rem!important}.xl\:-my-7{margin-top:-4rem!important;margin-bottom:-4rem!important}.xl\:-my-8{margin-top:-5rem!important;margin-bottom:-5rem!important}.xl\:my-auto{margin-top:auto!important;margin-bottom:auto!important}}.shadow-none{box-shadow:none!important}.shadow-1{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.shadow-2{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.shadow-3{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.shadow-4{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.shadow-5{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.shadow-6{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.shadow-7{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.shadow-8{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}.focus\:shadow-none:focus{box-shadow:none!important}.hover\:shadow-none:hover,.active\:shadow-none:active{box-shadow:none!important}.focus\:shadow-1:focus{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.hover\:shadow-1:hover,.active\:shadow-1:active{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.focus\:shadow-2:focus{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.hover\:shadow-2:hover,.active\:shadow-2:active{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.focus\:shadow-3:focus{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.hover\:shadow-3:hover,.active\:shadow-3:active{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.focus\:shadow-4:focus{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.hover\:shadow-4:hover,.active\:shadow-4:active{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.focus\:shadow-5:focus{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.hover\:shadow-5:hover,.active\:shadow-5:active{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.focus\:shadow-6:focus{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.hover\:shadow-6:hover,.active\:shadow-6:active{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.focus\:shadow-7:focus{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.hover\:shadow-7:hover,.active\:shadow-7:active{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.focus\:shadow-8:focus{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}.hover\:shadow-8:hover,.active\:shadow-8:active{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}@media screen and (min-width: 576px){.sm\:shadow-none{box-shadow:none!important}.sm\:shadow-1{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.sm\:shadow-2{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.sm\:shadow-3{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.sm\:shadow-4{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.sm\:shadow-5{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.sm\:shadow-6{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.sm\:shadow-7{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.sm\:shadow-8{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}.sm\:focus\:shadow-none:focus{box-shadow:none!important}.sm\:hover\:shadow-none:hover,.sm\:active\:shadow-none:active{box-shadow:none!important}.sm\:focus\:shadow-1:focus{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.sm\:hover\:shadow-1:hover,.sm\:active\:shadow-1:active{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.sm\:focus\:shadow-2:focus{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.sm\:hover\:shadow-2:hover,.sm\:active\:shadow-2:active{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.sm\:focus\:shadow-3:focus{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.sm\:hover\:shadow-3:hover,.sm\:active\:shadow-3:active{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.sm\:focus\:shadow-4:focus{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.sm\:hover\:shadow-4:hover,.sm\:active\:shadow-4:active{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.sm\:focus\:shadow-5:focus{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.sm\:hover\:shadow-5:hover,.sm\:active\:shadow-5:active{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.sm\:focus\:shadow-6:focus{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.sm\:hover\:shadow-6:hover,.sm\:active\:shadow-6:active{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.sm\:focus\:shadow-7:focus{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.sm\:hover\:shadow-7:hover,.sm\:active\:shadow-7:active{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.sm\:focus\:shadow-8:focus{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}.sm\:hover\:shadow-8:hover,.sm\:active\:shadow-8:active{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}}@media screen and (min-width: 768px){.md\:shadow-none{box-shadow:none!important}.md\:shadow-1{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.md\:shadow-2{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.md\:shadow-3{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.md\:shadow-4{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.md\:shadow-5{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.md\:shadow-6{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.md\:shadow-7{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.md\:shadow-8{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}.md\:focus\:shadow-none:focus{box-shadow:none!important}.md\:hover\:shadow-none:hover,.md\:active\:shadow-none:active{box-shadow:none!important}.md\:focus\:shadow-1:focus{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.md\:hover\:shadow-1:hover,.md\:active\:shadow-1:active{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.md\:focus\:shadow-2:focus{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.md\:hover\:shadow-2:hover,.md\:active\:shadow-2:active{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.md\:focus\:shadow-3:focus{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.md\:hover\:shadow-3:hover,.md\:active\:shadow-3:active{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.md\:focus\:shadow-4:focus{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.md\:hover\:shadow-4:hover,.md\:active\:shadow-4:active{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.md\:focus\:shadow-5:focus{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.md\:hover\:shadow-5:hover,.md\:active\:shadow-5:active{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.md\:focus\:shadow-6:focus{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.md\:hover\:shadow-6:hover,.md\:active\:shadow-6:active{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.md\:focus\:shadow-7:focus{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.md\:hover\:shadow-7:hover,.md\:active\:shadow-7:active{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.md\:focus\:shadow-8:focus{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}.md\:hover\:shadow-8:hover,.md\:active\:shadow-8:active{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}}@media screen and (min-width: 992px){.lg\:shadow-none{box-shadow:none!important}.lg\:shadow-1{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.lg\:shadow-2{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.lg\:shadow-3{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.lg\:shadow-4{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.lg\:shadow-5{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.lg\:shadow-6{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.lg\:shadow-7{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.lg\:shadow-8{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}.lg\:focus\:shadow-none:focus{box-shadow:none!important}.lg\:hover\:shadow-none:hover,.lg\:active\:shadow-none:active{box-shadow:none!important}.lg\:focus\:shadow-1:focus{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.lg\:hover\:shadow-1:hover,.lg\:active\:shadow-1:active{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.lg\:focus\:shadow-2:focus{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.lg\:hover\:shadow-2:hover,.lg\:active\:shadow-2:active{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.lg\:focus\:shadow-3:focus{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.lg\:hover\:shadow-3:hover,.lg\:active\:shadow-3:active{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.lg\:focus\:shadow-4:focus{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.lg\:hover\:shadow-4:hover,.lg\:active\:shadow-4:active{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.lg\:focus\:shadow-5:focus{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.lg\:hover\:shadow-5:hover,.lg\:active\:shadow-5:active{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.lg\:focus\:shadow-6:focus{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.lg\:hover\:shadow-6:hover,.lg\:active\:shadow-6:active{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.lg\:focus\:shadow-7:focus{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.lg\:hover\:shadow-7:hover,.lg\:active\:shadow-7:active{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.lg\:focus\:shadow-8:focus{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}.lg\:hover\:shadow-8:hover,.lg\:active\:shadow-8:active{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}}@media screen and (min-width: 1200px){.xl\:shadow-none{box-shadow:none!important}.xl\:shadow-1{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.xl\:shadow-2{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.xl\:shadow-3{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.xl\:shadow-4{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.xl\:shadow-5{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.xl\:shadow-6{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.xl\:shadow-7{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.xl\:shadow-8{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}.xl\:focus\:shadow-none:focus{box-shadow:none!important}.xl\:hover\:shadow-none:hover,.xl\:active\:shadow-none:active{box-shadow:none!important}.xl\:focus\:shadow-1:focus{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.xl\:hover\:shadow-1:hover,.xl\:active\:shadow-1:active{box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014!important}.xl\:focus\:shadow-2:focus{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.xl\:hover\:shadow-2:hover,.xl\:active\:shadow-2:active{box-shadow:0 4px 10px #00000008,0 0 2px #0000000f,0 2px 6px #0000001f!important}.xl\:focus\:shadow-3:focus{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.xl\:hover\:shadow-3:hover,.xl\:active\:shadow-3:active{box-shadow:0 1px 8px #00000014,0 3px 4px #0000001a,0 1px 4px -1px #0000001a!important}.xl\:focus\:shadow-4:focus{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.xl\:hover\:shadow-4:hover,.xl\:active\:shadow-4:active{box-shadow:0 1px 10px #0000001f,0 4px 5px #00000024,0 2px 4px -1px #0003!important}.xl\:focus\:shadow-5:focus{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.xl\:hover\:shadow-5:hover,.xl\:active\:shadow-5:active{box-shadow:0 1px 7px #0000001a,0 4px 5px -2px #0000001f,0 10px 15px -5px #0003!important}.xl\:focus\:shadow-6:focus{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.xl\:hover\:shadow-6:hover,.xl\:active\:shadow-6:active{box-shadow:0 3px 5px #0000000f,0 7px 9px #0000001f,0 20px 25px -8px #0000002e!important}.xl\:focus\:shadow-7:focus{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.xl\:hover\:shadow-7:hover,.xl\:active\:shadow-7:active{box-shadow:0 7px 30px #00000014,0 22px 30px 2px #00000026,0 8px 10px #00000026!important}.xl\:focus\:shadow-8:focus{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}.xl\:hover\:shadow-8:hover,.xl\:active\:shadow-8:active{box-shadow:0 9px 46px 8px #0000001f,0 24px 38px 3px #00000024,0 11px 15px #0003!important}}.border-none{border-width:0px!important;border-style:none}.border-1{border-width:1px!important;border-style:solid}.border-2{border-width:2px!important;border-style:solid}.border-3{border-width:3px!important;border-style:solid}.border-top-none{border-top-width:0px!important;border-top-style:none}.border-top-1{border-top-width:1px!important;border-top-style:solid}.border-top-2{border-top-width:2px!important;border-top-style:solid}.border-top-3{border-top-width:3px!important;border-top-style:solid}.border-right-none{border-right-width:0px!important;border-right-style:none}.border-right-1{border-right-width:1px!important;border-right-style:solid}.border-right-2{border-right-width:2px!important;border-right-style:solid}.border-right-3{border-right-width:3px!important;border-right-style:solid}.border-left-none{border-left-width:0px!important;border-left-style:none}.border-left-1{border-left-width:1px!important;border-left-style:solid}.border-left-2{border-left-width:2px!important;border-left-style:solid}.border-left-3{border-left-width:3px!important;border-left-style:solid}.border-bottom-none{border-bottom-width:0px!important;border-bottom-style:none}.border-bottom-1{border-bottom-width:1px!important;border-bottom-style:solid}.border-bottom-2{border-bottom-width:2px!important;border-bottom-style:solid}.border-bottom-3{border-bottom-width:3px!important;border-bottom-style:solid}.border-x-none{border-left-width:0px!important;border-left-style:none;border-right-width:0px!important;border-right-style:none}.border-x-1{border-left-width:1px!important;border-left-style:solid;border-right-width:1px!important;border-right-style:solid}.border-x-2{border-left-width:2px!important;border-left-style:solid;border-right-width:2px!important;border-right-style:solid}.border-x-3{border-left-width:3px!important;border-left-style:solid;border-right-width:3px!important;border-right-style:solid}.border-y-none{border-top-width:0px!important;border-top-style:none;border-bottom-width:0px!important;border-bottom-style:none}.border-y-1{border-top-width:1px!important;border-top-style:solid;border-bottom-width:1px!important;border-bottom-style:solid}.border-y-2{border-top-width:2px!important;border-top-style:solid;border-bottom-width:2px!important;border-bottom-style:solid}.border-y-3{border-top-width:3px!important;border-top-style:solid;border-bottom-width:3px!important;border-bottom-style:solid}@media screen and (min-width: 576px){.sm\:border-none{border-width:0px!important;border-style:none}.sm\:border-1{border-width:1px!important;border-style:solid}.sm\:border-2{border-width:2px!important;border-style:solid}.sm\:border-3{border-width:3px!important;border-style:solid}.sm\:border-top-none{border-top-width:0px!important;border-top-style:none}.sm\:border-top-1{border-top-width:1px!important;border-top-style:solid}.sm\:border-top-2{border-top-width:2px!important;border-top-style:solid}.sm\:border-top-3{border-top-width:3px!important;border-top-style:solid}.sm\:border-right-none{border-right-width:0px!important;border-right-style:none}.sm\:border-right-1{border-right-width:1px!important;border-right-style:solid}.sm\:border-right-2{border-right-width:2px!important;border-right-style:solid}.sm\:border-right-3{border-right-width:3px!important;border-right-style:solid}.sm\:border-left-none{border-left-width:0px!important;border-left-style:none}.sm\:border-left-1{border-left-width:1px!important;border-left-style:solid}.sm\:border-left-2{border-left-width:2px!important;border-left-style:solid}.sm\:border-left-3{border-left-width:3px!important;border-left-style:solid}.sm\:border-bottom-none{border-bottom-width:0px!important;border-bottom-style:none}.sm\:border-bottom-1{border-bottom-width:1px!important;border-bottom-style:solid}.sm\:border-bottom-2{border-bottom-width:2px!important;border-bottom-style:solid}.sm\:border-bottom-3{border-bottom-width:3px!important;border-bottom-style:solid}.sm\:border-x-none{border-left-width:0px!important;border-left-style:none;border-right-width:0px!important;border-right-style:none}.sm\:border-x-1{border-left-width:1px!important;border-left-style:solid;border-right-width:1px!important;border-right-style:solid}.sm\:border-x-2{border-left-width:2px!important;border-left-style:solid;border-right-width:2px!important;border-right-style:solid}.sm\:border-x-3{border-left-width:3px!important;border-left-style:solid;border-right-width:3px!important;border-right-style:solid}.sm\:border-y-none{border-top-width:0px!important;border-top-style:none;border-bottom-width:0px!important;border-bottom-style:none}.sm\:border-y-1{border-top-width:1px!important;border-top-style:solid;border-bottom-width:1px!important;border-bottom-style:solid}.sm\:border-y-2{border-top-width:2px!important;border-top-style:solid;border-bottom-width:2px!important;border-bottom-style:solid}.sm\:border-y-3{border-top-width:3px!important;border-top-style:solid;border-bottom-width:3px!important;border-bottom-style:solid}}@media screen and (min-width: 768px){.md\:border-none{border-width:0px!important;border-style:none}.md\:border-1{border-width:1px!important;border-style:solid}.md\:border-2{border-width:2px!important;border-style:solid}.md\:border-3{border-width:3px!important;border-style:solid}.md\:border-top-none{border-top-width:0px!important;border-top-style:none}.md\:border-top-1{border-top-width:1px!important;border-top-style:solid}.md\:border-top-2{border-top-width:2px!important;border-top-style:solid}.md\:border-top-3{border-top-width:3px!important;border-top-style:solid}.md\:border-right-none{border-right-width:0px!important;border-right-style:none}.md\:border-right-1{border-right-width:1px!important;border-right-style:solid}.md\:border-right-2{border-right-width:2px!important;border-right-style:solid}.md\:border-right-3{border-right-width:3px!important;border-right-style:solid}.md\:border-left-none{border-left-width:0px!important;border-left-style:none}.md\:border-left-1{border-left-width:1px!important;border-left-style:solid}.md\:border-left-2{border-left-width:2px!important;border-left-style:solid}.md\:border-left-3{border-left-width:3px!important;border-left-style:solid}.md\:border-bottom-none{border-bottom-width:0px!important;border-bottom-style:none}.md\:border-bottom-1{border-bottom-width:1px!important;border-bottom-style:solid}.md\:border-bottom-2{border-bottom-width:2px!important;border-bottom-style:solid}.md\:border-bottom-3{border-bottom-width:3px!important;border-bottom-style:solid}.md\:border-x-none{border-left-width:0px!important;border-left-style:none;border-right-width:0px!important;border-right-style:none}.md\:border-x-1{border-left-width:1px!important;border-left-style:solid;border-right-width:1px!important;border-right-style:solid}.md\:border-x-2{border-left-width:2px!important;border-left-style:solid;border-right-width:2px!important;border-right-style:solid}.md\:border-x-3{border-left-width:3px!important;border-left-style:solid;border-right-width:3px!important;border-right-style:solid}.md\:border-y-none{border-top-width:0px!important;border-top-style:none;border-bottom-width:0px!important;border-bottom-style:none}.md\:border-y-1{border-top-width:1px!important;border-top-style:solid;border-bottom-width:1px!important;border-bottom-style:solid}.md\:border-y-2{border-top-width:2px!important;border-top-style:solid;border-bottom-width:2px!important;border-bottom-style:solid}.md\:border-y-3{border-top-width:3px!important;border-top-style:solid;border-bottom-width:3px!important;border-bottom-style:solid}}@media screen and (min-width: 992px){.lg\:border-none{border-width:0px!important;border-style:none}.lg\:border-1{border-width:1px!important;border-style:solid}.lg\:border-2{border-width:2px!important;border-style:solid}.lg\:border-3{border-width:3px!important;border-style:solid}.lg\:border-top-none{border-top-width:0px!important;border-top-style:none}.lg\:border-top-1{border-top-width:1px!important;border-top-style:solid}.lg\:border-top-2{border-top-width:2px!important;border-top-style:solid}.lg\:border-top-3{border-top-width:3px!important;border-top-style:solid}.lg\:border-right-none{border-right-width:0px!important;border-right-style:none}.lg\:border-right-1{border-right-width:1px!important;border-right-style:solid}.lg\:border-right-2{border-right-width:2px!important;border-right-style:solid}.lg\:border-right-3{border-right-width:3px!important;border-right-style:solid}.lg\:border-left-none{border-left-width:0px!important;border-left-style:none}.lg\:border-left-1{border-left-width:1px!important;border-left-style:solid}.lg\:border-left-2{border-left-width:2px!important;border-left-style:solid}.lg\:border-left-3{border-left-width:3px!important;border-left-style:solid}.lg\:border-bottom-none{border-bottom-width:0px!important;border-bottom-style:none}.lg\:border-bottom-1{border-bottom-width:1px!important;border-bottom-style:solid}.lg\:border-bottom-2{border-bottom-width:2px!important;border-bottom-style:solid}.lg\:border-bottom-3{border-bottom-width:3px!important;border-bottom-style:solid}.lg\:border-x-none{border-left-width:0px!important;border-left-style:none;border-right-width:0px!important;border-right-style:none}.lg\:border-x-1{border-left-width:1px!important;border-left-style:solid;border-right-width:1px!important;border-right-style:solid}.lg\:border-x-2{border-left-width:2px!important;border-left-style:solid;border-right-width:2px!important;border-right-style:solid}.lg\:border-x-3{border-left-width:3px!important;border-left-style:solid;border-right-width:3px!important;border-right-style:solid}.lg\:border-y-none{border-top-width:0px!important;border-top-style:none;border-bottom-width:0px!important;border-bottom-style:none}.lg\:border-y-1{border-top-width:1px!important;border-top-style:solid;border-bottom-width:1px!important;border-bottom-style:solid}.lg\:border-y-2{border-top-width:2px!important;border-top-style:solid;border-bottom-width:2px!important;border-bottom-style:solid}.lg\:border-y-3{border-top-width:3px!important;border-top-style:solid;border-bottom-width:3px!important;border-bottom-style:solid}}@media screen and (min-width: 1200px){.xl\:border-none{border-width:0px!important;border-style:none}.xl\:border-1{border-width:1px!important;border-style:solid}.xl\:border-2{border-width:2px!important;border-style:solid}.xl\:border-3{border-width:3px!important;border-style:solid}.xl\:border-top-none{border-top-width:0px!important;border-top-style:none}.xl\:border-top-1{border-top-width:1px!important;border-top-style:solid}.xl\:border-top-2{border-top-width:2px!important;border-top-style:solid}.xl\:border-top-3{border-top-width:3px!important;border-top-style:solid}.xl\:border-right-none{border-right-width:0px!important;border-right-style:none}.xl\:border-right-1{border-right-width:1px!important;border-right-style:solid}.xl\:border-right-2{border-right-width:2px!important;border-right-style:solid}.xl\:border-right-3{border-right-width:3px!important;border-right-style:solid}.xl\:border-left-none{border-left-width:0px!important;border-left-style:none}.xl\:border-left-1{border-left-width:1px!important;border-left-style:solid}.xl\:border-left-2{border-left-width:2px!important;border-left-style:solid}.xl\:border-left-3{border-left-width:3px!important;border-left-style:solid}.xl\:border-bottom-none{border-bottom-width:0px!important;border-bottom-style:none}.xl\:border-bottom-1{border-bottom-width:1px!important;border-bottom-style:solid}.xl\:border-bottom-2{border-bottom-width:2px!important;border-bottom-style:solid}.xl\:border-bottom-3{border-bottom-width:3px!important;border-bottom-style:solid}.xl\:border-x-none{border-left-width:0px!important;border-left-style:none;border-right-width:0px!important;border-right-style:none}.xl\:border-x-1{border-left-width:1px!important;border-left-style:solid;border-right-width:1px!important;border-right-style:solid}.xl\:border-x-2{border-left-width:2px!important;border-left-style:solid;border-right-width:2px!important;border-right-style:solid}.xl\:border-x-3{border-left-width:3px!important;border-left-style:solid;border-right-width:3px!important;border-right-style:solid}.xl\:border-y-none{border-top-width:0px!important;border-top-style:none;border-bottom-width:0px!important;border-bottom-style:none}.xl\:border-y-1{border-top-width:1px!important;border-top-style:solid;border-bottom-width:1px!important;border-bottom-style:solid}.xl\:border-y-2{border-top-width:2px!important;border-top-style:solid;border-bottom-width:2px!important;border-bottom-style:solid}.xl\:border-y-3{border-top-width:3px!important;border-top-style:solid;border-bottom-width:3px!important;border-bottom-style:solid}}.border-solid{border-style:solid!important}.border-dashed{border-style:dashed!important}.border-dotted{border-style:dotted!important}.border-double{border-style:double!important}@media screen and (min-width: 576px){.sm\:border-solid{border-style:solid!important}.sm\:border-dashed{border-style:dashed!important}.sm\:border-dotted{border-style:dotted!important}.sm\:border-double{border-style:double!important}}@media screen and (min-width: 768px){.md\:border-solid{border-style:solid!important}.md\:border-dashed{border-style:dashed!important}.md\:border-dotted{border-style:dotted!important}.md\:border-double{border-style:double!important}}@media screen and (min-width: 992px){.lg\:border-solid{border-style:solid!important}.lg\:border-dashed{border-style:dashed!important}.lg\:border-dotted{border-style:dotted!important}.lg\:border-double{border-style:double!important}}@media screen and (min-width: 1200px){.xl\:border-solid{border-style:solid!important}.xl\:border-dashed{border-style:dashed!important}.xl\:border-dotted{border-style:dotted!important}.xl\:border-double{border-style:double!important}}.border-noround{border-radius:0!important}.border-round{border-radius:var(--border-radius)!important}.border-round-xs{border-radius:.125rem!important}.border-round-sm{border-radius:.25rem!important}.border-round-md{border-radius:.375rem!important}.border-round-lg{border-radius:.5rem!important}.border-round-xl{border-radius:.75rem!important}.border-round-2xl{border-radius:1rem!important}.border-round-3xl{border-radius:1.5rem!important}.border-circle{border-radius:50%!important}@media screen and (min-width: 576px){.sm\:border-noround{border-radius:0!important}.sm\:border-round{border-radius:var(--border-radius)!important}.sm\:border-round-xs{border-radius:.125rem!important}.sm\:border-round-sm{border-radius:.25rem!important}.sm\:border-round-md{border-radius:.375rem!important}.sm\:border-round-lg{border-radius:.5rem!important}.sm\:border-round-xl{border-radius:.75rem!important}.sm\:border-round-2xl{border-radius:1rem!important}.sm\:border-round-3xl{border-radius:1.5rem!important}.sm\:border-circle{border-radius:50%!important}}@media screen and (min-width: 768px){.md\:border-noround{border-radius:0!important}.md\:border-round{border-radius:var(--border-radius)!important}.md\:border-round-xs{border-radius:.125rem!important}.md\:border-round-sm{border-radius:.25rem!important}.md\:border-round-md{border-radius:.375rem!important}.md\:border-round-lg{border-radius:.5rem!important}.md\:border-round-xl{border-radius:.75rem!important}.md\:border-round-2xl{border-radius:1rem!important}.md\:border-round-3xl{border-radius:1.5rem!important}.md\:border-circle{border-radius:50%!important}}@media screen and (min-width: 992px){.lg\:border-noround{border-radius:0!important}.lg\:border-round{border-radius:var(--border-radius)!important}.lg\:border-round-xs{border-radius:.125rem!important}.lg\:border-round-sm{border-radius:.25rem!important}.lg\:border-round-md{border-radius:.375rem!important}.lg\:border-round-lg{border-radius:.5rem!important}.lg\:border-round-xl{border-radius:.75rem!important}.lg\:border-round-2xl{border-radius:1rem!important}.lg\:border-round-3xl{border-radius:1.5rem!important}.lg\:border-circle{border-radius:50%!important}}@media screen and (min-width: 1200px){.xl\:border-noround{border-radius:0!important}.xl\:border-round{border-radius:var(--border-radius)!important}.xl\:border-round-xs{border-radius:.125rem!important}.xl\:border-round-sm{border-radius:.25rem!important}.xl\:border-round-md{border-radius:.375rem!important}.xl\:border-round-lg{border-radius:.5rem!important}.xl\:border-round-xl{border-radius:.75rem!important}.xl\:border-round-2xl{border-radius:1rem!important}.xl\:border-round-3xl{border-radius:1.5rem!important}.xl\:border-circle{border-radius:50%!important}}.border-noround-left{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.border-noround-top{border-top-left-radius:0!important;border-top-right-radius:0!important}.border-noround-right{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.border-noround-bottom{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.border-round-left{border-top-left-radius:var(--border-radius)!important;border-bottom-left-radius:var(--border-radius)!important}.border-round-top{border-top-left-radius:var(--border-radius)!important;border-top-right-radius:var(--border-radius)!important}.border-round-right{border-top-right-radius:var(--border-radius)!important;border-bottom-right-radius:var(--border-radius)!important}.border-round-bottom{border-bottom-left-radius:var(--border-radius)!important;border-bottom-right-radius:var(--border-radius)!important}.border-round-left-xs{border-top-left-radius:.125rem!important;border-bottom-left-radius:.125rem!important}.border-round-top-xs{border-top-left-radius:.125rem!important;border-top-right-radius:.125rem!important}.border-round-right-xs{border-top-right-radius:.125rem!important;border-bottom-right-radius:.125rem!important}.border-round-bottom-xs{border-bottom-left-radius:.125rem!important;border-bottom-right-radius:.125rem!important}.border-round-left-sm{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.border-round-top-sm{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.border-round-right-sm{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.border-round-bottom-sm{border-bottom-left-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.border-round-left-md{border-top-left-radius:.375rem!important;border-bottom-left-radius:.375rem!important}.border-round-top-md{border-top-left-radius:.375rem!important;border-top-right-radius:.375rem!important}.border-round-right-md{border-top-right-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.border-round-bottom-md{border-bottom-left-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.border-round-left-lg{border-top-left-radius:.5rem!important;border-bottom-left-radius:.5rem!important}.border-round-top-lg{border-top-left-radius:.5rem!important;border-top-right-radius:.5rem!important}.border-round-right-lg{border-top-right-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.border-round-bottom-lg{border-bottom-left-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.border-round-left-xl{border-top-left-radius:.75rem!important;border-bottom-left-radius:.75rem!important}.border-round-top-xl{border-top-left-radius:.75rem!important;border-top-right-radius:.75rem!important}.border-round-right-xl{border-top-right-radius:.75rem!important;border-bottom-right-radius:.75rem!important}.border-round-bottom-xl{border-bottom-left-radius:.75rem!important;border-bottom-right-radius:.75rem!important}.border-round-left-2xl{border-top-left-radius:1rem!important;border-bottom-left-radius:1rem!important}.border-round-top-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.border-round-right-2xl{border-top-right-radius:1rem!important;border-bottom-right-radius:1rem!important}.border-round-bottom-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}.border-round-left-3xl{border-top-left-radius:1.5rem!important;border-bottom-left-radius:1.5rem!important}.border-round-top-3xl{border-top-left-radius:1.5rem!important;border-top-right-radius:1.5rem!important}.border-round-right-3xl{border-top-right-radius:1.5rem!important;border-bottom-right-radius:1.5rem!important}.border-round-bottom-3xl{border-bottom-left-radius:1.5rem!important;border-bottom-right-radius:1.5rem!important}.border-circle-left{border-top-left-radius:50%!important;border-bottom-left-radius:50%!important}.border-circle-top{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.border-circle-right{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.border-circle-bottom{border-bottom-left-radius:50%!important;border-bottom-right-radius:50%!important}@media screen and (min-width: 576px){.sm\:border-noround-left{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.sm\:border-noround-top{border-top-left-radius:0!important;border-top-right-radius:0!important}.sm\:border-noround-right{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.sm\:border-noround-bottom{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.sm\:border-round-left{border-top-left-radius:var(--border-radius)!important;border-bottom-left-radius:var(--border-radius)!important}.sm\:border-round-top{border-top-left-radius:var(--border-radius)!important;border-top-right-radius:var(--border-radius)!important}.sm\:border-round-right{border-top-right-radius:var(--border-radius)!important;border-bottom-right-radius:var(--border-radius)!important}.sm\:border-round-bottom{border-bottom-left-radius:var(--border-radius)!important;border-bottom-right-radius:var(--border-radius)!important}.sm\:border-round-left-xs{border-top-left-radius:.125rem!important;border-bottom-left-radius:.125rem!important}.sm\:border-round-top-xs{border-top-left-radius:.125rem!important;border-top-right-radius:.125rem!important}.sm\:border-round-right-xs{border-top-right-radius:.125rem!important;border-bottom-right-radius:.125rem!important}.sm\:border-round-bottom-xs{border-bottom-left-radius:.125rem!important;border-bottom-right-radius:.125rem!important}.sm\:border-round-left-sm{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.sm\:border-round-top-sm{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.sm\:border-round-right-sm{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.sm\:border-round-bottom-sm{border-bottom-left-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.sm\:border-round-left-md{border-top-left-radius:.375rem!important;border-bottom-left-radius:.375rem!important}.sm\:border-round-top-md{border-top-left-radius:.375rem!important;border-top-right-radius:.375rem!important}.sm\:border-round-right-md{border-top-right-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.sm\:border-round-bottom-md{border-bottom-left-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.sm\:border-round-left-lg{border-top-left-radius:.5rem!important;border-bottom-left-radius:.5rem!important}.sm\:border-round-top-lg{border-top-left-radius:.5rem!important;border-top-right-radius:.5rem!important}.sm\:border-round-right-lg{border-top-right-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.sm\:border-round-bottom-lg{border-bottom-left-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.sm\:border-round-left-xl{border-top-left-radius:.75rem!important;border-bottom-left-radius:.75rem!important}.sm\:border-round-top-xl{border-top-left-radius:.75rem!important;border-top-right-radius:.75rem!important}.sm\:border-round-right-xl{border-top-right-radius:.75rem!important;border-bottom-right-radius:.75rem!important}.sm\:border-round-bottom-xl{border-bottom-left-radius:.75rem!important;border-bottom-right-radius:.75rem!important}.sm\:border-round-left-2xl{border-top-left-radius:1rem!important;border-bottom-left-radius:1rem!important}.sm\:border-round-top-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.sm\:border-round-right-2xl{border-top-right-radius:1rem!important;border-bottom-right-radius:1rem!important}.sm\:border-round-bottom-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}.sm\:border-round-left-3xl{border-top-left-radius:1.5rem!important;border-bottom-left-radius:1.5rem!important}.sm\:border-round-top-3xl{border-top-left-radius:1.5rem!important;border-top-right-radius:1.5rem!important}.sm\:border-round-right-3xl{border-top-right-radius:1.5rem!important;border-bottom-right-radius:1.5rem!important}.sm\:border-round-bottom-3xl{border-bottom-left-radius:1.5rem!important;border-bottom-right-radius:1.5rem!important}.sm\:border-circle-left{border-top-left-radius:50%!important;border-bottom-left-radius:50%!important}.sm\:border-circle-top{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.sm\:border-circle-right{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.sm\:border-circle-bottom{border-bottom-left-radius:50%!important;border-bottom-right-radius:50%!important}}@media screen and (min-width: 768px){.md\:border-noround-left{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.md\:border-noround-top{border-top-left-radius:0!important;border-top-right-radius:0!important}.md\:border-noround-right{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.md\:border-noround-bottom{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.md\:border-round-left{border-top-left-radius:var(--border-radius)!important;border-bottom-left-radius:var(--border-radius)!important}.md\:border-round-top{border-top-left-radius:var(--border-radius)!important;border-top-right-radius:var(--border-radius)!important}.md\:border-round-right{border-top-right-radius:var(--border-radius)!important;border-bottom-right-radius:var(--border-radius)!important}.md\:border-round-bottom{border-bottom-left-radius:var(--border-radius)!important;border-bottom-right-radius:var(--border-radius)!important}.md\:border-round-left-xs{border-top-left-radius:.125rem!important;border-bottom-left-radius:.125rem!important}.md\:border-round-top-xs{border-top-left-radius:.125rem!important;border-top-right-radius:.125rem!important}.md\:border-round-right-xs{border-top-right-radius:.125rem!important;border-bottom-right-radius:.125rem!important}.md\:border-round-bottom-xs{border-bottom-left-radius:.125rem!important;border-bottom-right-radius:.125rem!important}.md\:border-round-left-sm{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.md\:border-round-top-sm{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.md\:border-round-right-sm{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.md\:border-round-bottom-sm{border-bottom-left-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.md\:border-round-left-md{border-top-left-radius:.375rem!important;border-bottom-left-radius:.375rem!important}.md\:border-round-top-md{border-top-left-radius:.375rem!important;border-top-right-radius:.375rem!important}.md\:border-round-right-md{border-top-right-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.md\:border-round-bottom-md{border-bottom-left-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.md\:border-round-left-lg{border-top-left-radius:.5rem!important;border-bottom-left-radius:.5rem!important}.md\:border-round-top-lg{border-top-left-radius:.5rem!important;border-top-right-radius:.5rem!important}.md\:border-round-right-lg{border-top-right-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.md\:border-round-bottom-lg{border-bottom-left-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.md\:border-round-left-xl{border-top-left-radius:.75rem!important;border-bottom-left-radius:.75rem!important}.md\:border-round-top-xl{border-top-left-radius:.75rem!important;border-top-right-radius:.75rem!important}.md\:border-round-right-xl{border-top-right-radius:.75rem!important;border-bottom-right-radius:.75rem!important}.md\:border-round-bottom-xl{border-bottom-left-radius:.75rem!important;border-bottom-right-radius:.75rem!important}.md\:border-round-left-2xl{border-top-left-radius:1rem!important;border-bottom-left-radius:1rem!important}.md\:border-round-top-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.md\:border-round-right-2xl{border-top-right-radius:1rem!important;border-bottom-right-radius:1rem!important}.md\:border-round-bottom-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}.md\:border-round-left-3xl{border-top-left-radius:1.5rem!important;border-bottom-left-radius:1.5rem!important}.md\:border-round-top-3xl{border-top-left-radius:1.5rem!important;border-top-right-radius:1.5rem!important}.md\:border-round-right-3xl{border-top-right-radius:1.5rem!important;border-bottom-right-radius:1.5rem!important}.md\:border-round-bottom-3xl{border-bottom-left-radius:1.5rem!important;border-bottom-right-radius:1.5rem!important}.md\:border-circle-left{border-top-left-radius:50%!important;border-bottom-left-radius:50%!important}.md\:border-circle-top{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.md\:border-circle-right{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.md\:border-circle-bottom{border-bottom-left-radius:50%!important;border-bottom-right-radius:50%!important}}@media screen and (min-width: 992px){.lg\:border-noround-left{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.lg\:border-noround-top{border-top-left-radius:0!important;border-top-right-radius:0!important}.lg\:border-noround-right{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.lg\:border-noround-bottom{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.lg\:border-round-left{border-top-left-radius:var(--border-radius)!important;border-bottom-left-radius:var(--border-radius)!important}.lg\:border-round-top{border-top-left-radius:var(--border-radius)!important;border-top-right-radius:var(--border-radius)!important}.lg\:border-round-right{border-top-right-radius:var(--border-radius)!important;border-bottom-right-radius:var(--border-radius)!important}.lg\:border-round-bottom{border-bottom-left-radius:var(--border-radius)!important;border-bottom-right-radius:var(--border-radius)!important}.lg\:border-round-left-xs{border-top-left-radius:.125rem!important;border-bottom-left-radius:.125rem!important}.lg\:border-round-top-xs{border-top-left-radius:.125rem!important;border-top-right-radius:.125rem!important}.lg\:border-round-right-xs{border-top-right-radius:.125rem!important;border-bottom-right-radius:.125rem!important}.lg\:border-round-bottom-xs{border-bottom-left-radius:.125rem!important;border-bottom-right-radius:.125rem!important}.lg\:border-round-left-sm{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.lg\:border-round-top-sm{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.lg\:border-round-right-sm{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.lg\:border-round-bottom-sm{border-bottom-left-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.lg\:border-round-left-md{border-top-left-radius:.375rem!important;border-bottom-left-radius:.375rem!important}.lg\:border-round-top-md{border-top-left-radius:.375rem!important;border-top-right-radius:.375rem!important}.lg\:border-round-right-md{border-top-right-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.lg\:border-round-bottom-md{border-bottom-left-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.lg\:border-round-left-lg{border-top-left-radius:.5rem!important;border-bottom-left-radius:.5rem!important}.lg\:border-round-top-lg{border-top-left-radius:.5rem!important;border-top-right-radius:.5rem!important}.lg\:border-round-right-lg{border-top-right-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.lg\:border-round-bottom-lg{border-bottom-left-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.lg\:border-round-left-xl{border-top-left-radius:.75rem!important;border-bottom-left-radius:.75rem!important}.lg\:border-round-top-xl{border-top-left-radius:.75rem!important;border-top-right-radius:.75rem!important}.lg\:border-round-right-xl{border-top-right-radius:.75rem!important;border-bottom-right-radius:.75rem!important}.lg\:border-round-bottom-xl{border-bottom-left-radius:.75rem!important;border-bottom-right-radius:.75rem!important}.lg\:border-round-left-2xl{border-top-left-radius:1rem!important;border-bottom-left-radius:1rem!important}.lg\:border-round-top-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.lg\:border-round-right-2xl{border-top-right-radius:1rem!important;border-bottom-right-radius:1rem!important}.lg\:border-round-bottom-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}.lg\:border-round-left-3xl{border-top-left-radius:1.5rem!important;border-bottom-left-radius:1.5rem!important}.lg\:border-round-top-3xl{border-top-left-radius:1.5rem!important;border-top-right-radius:1.5rem!important}.lg\:border-round-right-3xl{border-top-right-radius:1.5rem!important;border-bottom-right-radius:1.5rem!important}.lg\:border-round-bottom-3xl{border-bottom-left-radius:1.5rem!important;border-bottom-right-radius:1.5rem!important}.lg\:border-circle-left{border-top-left-radius:50%!important;border-bottom-left-radius:50%!important}.lg\:border-circle-top{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.lg\:border-circle-right{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.lg\:border-circle-bottom{border-bottom-left-radius:50%!important;border-bottom-right-radius:50%!important}}@media screen and (min-width: 1200px){.xl\:border-noround-left{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.xl\:border-noround-top{border-top-left-radius:0!important;border-top-right-radius:0!important}.xl\:border-noround-right{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.xl\:border-noround-bottom{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.xl\:border-round-left{border-top-left-radius:var(--border-radius)!important;border-bottom-left-radius:var(--border-radius)!important}.xl\:border-round-top{border-top-left-radius:var(--border-radius)!important;border-top-right-radius:var(--border-radius)!important}.xl\:border-round-right{border-top-right-radius:var(--border-radius)!important;border-bottom-right-radius:var(--border-radius)!important}.xl\:border-round-bottom{border-bottom-left-radius:var(--border-radius)!important;border-bottom-right-radius:var(--border-radius)!important}.xl\:border-round-left-xs{border-top-left-radius:.125rem!important;border-bottom-left-radius:.125rem!important}.xl\:border-round-top-xs{border-top-left-radius:.125rem!important;border-top-right-radius:.125rem!important}.xl\:border-round-right-xs{border-top-right-radius:.125rem!important;border-bottom-right-radius:.125rem!important}.xl\:border-round-bottom-xs{border-bottom-left-radius:.125rem!important;border-bottom-right-radius:.125rem!important}.xl\:border-round-left-sm{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.xl\:border-round-top-sm{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.xl\:border-round-right-sm{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.xl\:border-round-bottom-sm{border-bottom-left-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.xl\:border-round-left-md{border-top-left-radius:.375rem!important;border-bottom-left-radius:.375rem!important}.xl\:border-round-top-md{border-top-left-radius:.375rem!important;border-top-right-radius:.375rem!important}.xl\:border-round-right-md{border-top-right-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.xl\:border-round-bottom-md{border-bottom-left-radius:.375rem!important;border-bottom-right-radius:.375rem!important}.xl\:border-round-left-lg{border-top-left-radius:.5rem!important;border-bottom-left-radius:.5rem!important}.xl\:border-round-top-lg{border-top-left-radius:.5rem!important;border-top-right-radius:.5rem!important}.xl\:border-round-right-lg{border-top-right-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.xl\:border-round-bottom-lg{border-bottom-left-radius:.5rem!important;border-bottom-right-radius:.5rem!important}.xl\:border-round-left-xl{border-top-left-radius:.75rem!important;border-bottom-left-radius:.75rem!important}.xl\:border-round-top-xl{border-top-left-radius:.75rem!important;border-top-right-radius:.75rem!important}.xl\:border-round-right-xl{border-top-right-radius:.75rem!important;border-bottom-right-radius:.75rem!important}.xl\:border-round-bottom-xl{border-bottom-left-radius:.75rem!important;border-bottom-right-radius:.75rem!important}.xl\:border-round-left-2xl{border-top-left-radius:1rem!important;border-bottom-left-radius:1rem!important}.xl\:border-round-top-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.xl\:border-round-right-2xl{border-top-right-radius:1rem!important;border-bottom-right-radius:1rem!important}.xl\:border-round-bottom-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}.xl\:border-round-left-3xl{border-top-left-radius:1.5rem!important;border-bottom-left-radius:1.5rem!important}.xl\:border-round-top-3xl{border-top-left-radius:1.5rem!important;border-top-right-radius:1.5rem!important}.xl\:border-round-right-3xl{border-top-right-radius:1.5rem!important;border-bottom-right-radius:1.5rem!important}.xl\:border-round-bottom-3xl{border-bottom-left-radius:1.5rem!important;border-bottom-right-radius:1.5rem!important}.xl\:border-circle-left{border-top-left-radius:50%!important;border-bottom-left-radius:50%!important}.xl\:border-circle-top{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.xl\:border-circle-right{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.xl\:border-circle-bottom{border-bottom-left-radius:50%!important;border-bottom-right-radius:50%!important}}.w-full{width:100%!important}.w-screen{width:100vw!important}.w-auto{width:auto!important}.w-1{width:8.3333%!important}.w-2{width:16.6667%!important}.w-3{width:25%!important}.w-4{width:33.3333%!important}.w-5{width:41.6667%!important}.w-6{width:50%!important}.w-7{width:58.3333%!important}.w-8{width:66.6667%!important}.w-9{width:75%!important}.w-10{width:83.3333%!important}.w-11{width:91.6667%!important}.w-12{width:100%!important}.w-min{width:min-content!important}.w-max{width:max-content!important}.w-fit{width:-moz-fit-content!important;width:fit-content!important}.w-1rem{width:1rem!important}.w-2rem{width:2rem!important}.w-3rem{width:3rem!important}.w-4rem{width:4rem!important}.w-5rem{width:5rem!important}.w-6rem{width:6rem!important}.w-7rem{width:7rem!important}.w-8rem{width:8rem!important}.w-9rem{width:9rem!important}.w-10rem{width:10rem!important}.w-11rem{width:11rem!important}.w-12rem{width:12rem!important}.w-13rem{width:13rem!important}.w-14rem{width:14rem!important}.w-15rem{width:15rem!important}.w-16rem{width:16rem!important}.w-17rem{width:17rem!important}.w-18rem{width:18rem!important}.w-19rem{width:19rem!important}.w-20rem{width:20rem!important}.w-21rem{width:21rem!important}.w-22rem{width:22rem!important}.w-23rem{width:23rem!important}.w-24rem{width:24rem!important}.w-25rem{width:25rem!important}.w-26rem{width:26rem!important}.w-27rem{width:27rem!important}.w-28rem{width:28rem!important}.w-29rem{width:29rem!important}.w-30rem{width:30rem!important}@media screen and (min-width: 576px){.sm\:w-full{width:100%!important}.sm\:w-screen{width:100vw!important}.sm\:w-auto{width:auto!important}.sm\:w-1{width:8.3333%!important}.sm\:w-2{width:16.6667%!important}.sm\:w-3{width:25%!important}.sm\:w-4{width:33.3333%!important}.sm\:w-5{width:41.6667%!important}.sm\:w-6{width:50%!important}.sm\:w-7{width:58.3333%!important}.sm\:w-8{width:66.6667%!important}.sm\:w-9{width:75%!important}.sm\:w-10{width:83.3333%!important}.sm\:w-11{width:91.6667%!important}.sm\:w-12{width:100%!important}.sm\:w-min{width:min-content!important}.sm\:w-max{width:max-content!important}.sm\:w-fit{width:-moz-fit-content!important;width:fit-content!important}.sm\:w-1rem{width:1rem!important}.sm\:w-2rem{width:2rem!important}.sm\:w-3rem{width:3rem!important}.sm\:w-4rem{width:4rem!important}.sm\:w-5rem{width:5rem!important}.sm\:w-6rem{width:6rem!important}.sm\:w-7rem{width:7rem!important}.sm\:w-8rem{width:8rem!important}.sm\:w-9rem{width:9rem!important}.sm\:w-10rem{width:10rem!important}.sm\:w-11rem{width:11rem!important}.sm\:w-12rem{width:12rem!important}.sm\:w-13rem{width:13rem!important}.sm\:w-14rem{width:14rem!important}.sm\:w-15rem{width:15rem!important}.sm\:w-16rem{width:16rem!important}.sm\:w-17rem{width:17rem!important}.sm\:w-18rem{width:18rem!important}.sm\:w-19rem{width:19rem!important}.sm\:w-20rem{width:20rem!important}.sm\:w-21rem{width:21rem!important}.sm\:w-22rem{width:22rem!important}.sm\:w-23rem{width:23rem!important}.sm\:w-24rem{width:24rem!important}.sm\:w-25rem{width:25rem!important}.sm\:w-26rem{width:26rem!important}.sm\:w-27rem{width:27rem!important}.sm\:w-28rem{width:28rem!important}.sm\:w-29rem{width:29rem!important}.sm\:w-30rem{width:30rem!important}}@media screen and (min-width: 768px){.md\:w-full{width:100%!important}.md\:w-screen{width:100vw!important}.md\:w-auto{width:auto!important}.md\:w-1{width:8.3333%!important}.md\:w-2{width:16.6667%!important}.md\:w-3{width:25%!important}.md\:w-4{width:33.3333%!important}.md\:w-5{width:41.6667%!important}.md\:w-6{width:50%!important}.md\:w-7{width:58.3333%!important}.md\:w-8{width:66.6667%!important}.md\:w-9{width:75%!important}.md\:w-10{width:83.3333%!important}.md\:w-11{width:91.6667%!important}.md\:w-12{width:100%!important}.md\:w-min{width:min-content!important}.md\:w-max{width:max-content!important}.md\:w-fit{width:-moz-fit-content!important;width:fit-content!important}.md\:w-1rem{width:1rem!important}.md\:w-2rem{width:2rem!important}.md\:w-3rem{width:3rem!important}.md\:w-4rem{width:4rem!important}.md\:w-5rem{width:5rem!important}.md\:w-6rem{width:6rem!important}.md\:w-7rem{width:7rem!important}.md\:w-8rem{width:8rem!important}.md\:w-9rem{width:9rem!important}.md\:w-10rem{width:10rem!important}.md\:w-11rem{width:11rem!important}.md\:w-12rem{width:12rem!important}.md\:w-13rem{width:13rem!important}.md\:w-14rem{width:14rem!important}.md\:w-15rem{width:15rem!important}.md\:w-16rem{width:16rem!important}.md\:w-17rem{width:17rem!important}.md\:w-18rem{width:18rem!important}.md\:w-19rem{width:19rem!important}.md\:w-20rem{width:20rem!important}.md\:w-21rem{width:21rem!important}.md\:w-22rem{width:22rem!important}.md\:w-23rem{width:23rem!important}.md\:w-24rem{width:24rem!important}.md\:w-25rem{width:25rem!important}.md\:w-26rem{width:26rem!important}.md\:w-27rem{width:27rem!important}.md\:w-28rem{width:28rem!important}.md\:w-29rem{width:29rem!important}.md\:w-30rem{width:30rem!important}}@media screen and (min-width: 992px){.lg\:w-full{width:100%!important}.lg\:w-screen{width:100vw!important}.lg\:w-auto{width:auto!important}.lg\:w-1{width:8.3333%!important}.lg\:w-2{width:16.6667%!important}.lg\:w-3{width:25%!important}.lg\:w-4{width:33.3333%!important}.lg\:w-5{width:41.6667%!important}.lg\:w-6{width:50%!important}.lg\:w-7{width:58.3333%!important}.lg\:w-8{width:66.6667%!important}.lg\:w-9{width:75%!important}.lg\:w-10{width:83.3333%!important}.lg\:w-11{width:91.6667%!important}.lg\:w-12{width:100%!important}.lg\:w-min{width:min-content!important}.lg\:w-max{width:max-content!important}.lg\:w-fit{width:-moz-fit-content!important;width:fit-content!important}.lg\:w-1rem{width:1rem!important}.lg\:w-2rem{width:2rem!important}.lg\:w-3rem{width:3rem!important}.lg\:w-4rem{width:4rem!important}.lg\:w-5rem{width:5rem!important}.lg\:w-6rem{width:6rem!important}.lg\:w-7rem{width:7rem!important}.lg\:w-8rem{width:8rem!important}.lg\:w-9rem{width:9rem!important}.lg\:w-10rem{width:10rem!important}.lg\:w-11rem{width:11rem!important}.lg\:w-12rem{width:12rem!important}.lg\:w-13rem{width:13rem!important}.lg\:w-14rem{width:14rem!important}.lg\:w-15rem{width:15rem!important}.lg\:w-16rem{width:16rem!important}.lg\:w-17rem{width:17rem!important}.lg\:w-18rem{width:18rem!important}.lg\:w-19rem{width:19rem!important}.lg\:w-20rem{width:20rem!important}.lg\:w-21rem{width:21rem!important}.lg\:w-22rem{width:22rem!important}.lg\:w-23rem{width:23rem!important}.lg\:w-24rem{width:24rem!important}.lg\:w-25rem{width:25rem!important}.lg\:w-26rem{width:26rem!important}.lg\:w-27rem{width:27rem!important}.lg\:w-28rem{width:28rem!important}.lg\:w-29rem{width:29rem!important}.lg\:w-30rem{width:30rem!important}}@media screen and (min-width: 1200px){.xl\:w-full{width:100%!important}.xl\:w-screen{width:100vw!important}.xl\:w-auto{width:auto!important}.xl\:w-1{width:8.3333%!important}.xl\:w-2{width:16.6667%!important}.xl\:w-3{width:25%!important}.xl\:w-4{width:33.3333%!important}.xl\:w-5{width:41.6667%!important}.xl\:w-6{width:50%!important}.xl\:w-7{width:58.3333%!important}.xl\:w-8{width:66.6667%!important}.xl\:w-9{width:75%!important}.xl\:w-10{width:83.3333%!important}.xl\:w-11{width:91.6667%!important}.xl\:w-12{width:100%!important}.xl\:w-min{width:min-content!important}.xl\:w-max{width:max-content!important}.xl\:w-fit{width:-moz-fit-content!important;width:fit-content!important}.xl\:w-1rem{width:1rem!important}.xl\:w-2rem{width:2rem!important}.xl\:w-3rem{width:3rem!important}.xl\:w-4rem{width:4rem!important}.xl\:w-5rem{width:5rem!important}.xl\:w-6rem{width:6rem!important}.xl\:w-7rem{width:7rem!important}.xl\:w-8rem{width:8rem!important}.xl\:w-9rem{width:9rem!important}.xl\:w-10rem{width:10rem!important}.xl\:w-11rem{width:11rem!important}.xl\:w-12rem{width:12rem!important}.xl\:w-13rem{width:13rem!important}.xl\:w-14rem{width:14rem!important}.xl\:w-15rem{width:15rem!important}.xl\:w-16rem{width:16rem!important}.xl\:w-17rem{width:17rem!important}.xl\:w-18rem{width:18rem!important}.xl\:w-19rem{width:19rem!important}.xl\:w-20rem{width:20rem!important}.xl\:w-21rem{width:21rem!important}.xl\:w-22rem{width:22rem!important}.xl\:w-23rem{width:23rem!important}.xl\:w-24rem{width:24rem!important}.xl\:w-25rem{width:25rem!important}.xl\:w-26rem{width:26rem!important}.xl\:w-27rem{width:27rem!important}.xl\:w-28rem{width:28rem!important}.xl\:w-29rem{width:29rem!important}.xl\:w-30rem{width:30rem!important}}.h-full{height:100%!important}.h-screen{height:100vh!important}.h-auto{height:auto!important}.h-min{height:min-content!important}.h-max{height:max-content!important}.h-fit{height:-moz-fit-content!important;height:fit-content!important}.h-1rem{height:1rem!important}.h-2rem{height:2rem!important}.h-3rem{height:3rem!important}.h-4rem{height:4rem!important}.h-5rem{height:5rem!important}.h-6rem{height:6rem!important}.h-7rem{height:7rem!important}.h-8rem{height:8rem!important}.h-9rem{height:9rem!important}.h-10rem{height:10rem!important}.h-11rem{height:11rem!important}.h-12rem{height:12rem!important}.h-13rem{height:13rem!important}.h-14rem{height:14rem!important}.h-15rem{height:15rem!important}.h-16rem{height:16rem!important}.h-17rem{height:17rem!important}.h-18rem{height:18rem!important}.h-19rem{height:19rem!important}.h-20rem{height:20rem!important}.h-21rem{height:21rem!important}.h-22rem{height:22rem!important}.h-23rem{height:23rem!important}.h-24rem{height:24rem!important}.h-25rem{height:25rem!important}.h-26rem{height:26rem!important}.h-27rem{height:27rem!important}.h-28rem{height:28rem!important}.h-29rem{height:29rem!important}.h-30rem{height:30rem!important}@media screen and (min-width: 576px){.sm\:h-full{height:100%!important}.sm\:h-screen{height:100vh!important}.sm\:h-auto{height:auto!important}.sm\:h-min{height:min-content!important}.sm\:h-max{height:max-content!important}.sm\:h-fit{height:-moz-fit-content!important;height:fit-content!important}.sm\:h-1rem{height:1rem!important}.sm\:h-2rem{height:2rem!important}.sm\:h-3rem{height:3rem!important}.sm\:h-4rem{height:4rem!important}.sm\:h-5rem{height:5rem!important}.sm\:h-6rem{height:6rem!important}.sm\:h-7rem{height:7rem!important}.sm\:h-8rem{height:8rem!important}.sm\:h-9rem{height:9rem!important}.sm\:h-10rem{height:10rem!important}.sm\:h-11rem{height:11rem!important}.sm\:h-12rem{height:12rem!important}.sm\:h-13rem{height:13rem!important}.sm\:h-14rem{height:14rem!important}.sm\:h-15rem{height:15rem!important}.sm\:h-16rem{height:16rem!important}.sm\:h-17rem{height:17rem!important}.sm\:h-18rem{height:18rem!important}.sm\:h-19rem{height:19rem!important}.sm\:h-20rem{height:20rem!important}.sm\:h-21rem{height:21rem!important}.sm\:h-22rem{height:22rem!important}.sm\:h-23rem{height:23rem!important}.sm\:h-24rem{height:24rem!important}.sm\:h-25rem{height:25rem!important}.sm\:h-26rem{height:26rem!important}.sm\:h-27rem{height:27rem!important}.sm\:h-28rem{height:28rem!important}.sm\:h-29rem{height:29rem!important}.sm\:h-30rem{height:30rem!important}}@media screen and (min-width: 768px){.md\:h-full{height:100%!important}.md\:h-screen{height:100vh!important}.md\:h-auto{height:auto!important}.md\:h-min{height:min-content!important}.md\:h-max{height:max-content!important}.md\:h-fit{height:-moz-fit-content!important;height:fit-content!important}.md\:h-1rem{height:1rem!important}.md\:h-2rem{height:2rem!important}.md\:h-3rem{height:3rem!important}.md\:h-4rem{height:4rem!important}.md\:h-5rem{height:5rem!important}.md\:h-6rem{height:6rem!important}.md\:h-7rem{height:7rem!important}.md\:h-8rem{height:8rem!important}.md\:h-9rem{height:9rem!important}.md\:h-10rem{height:10rem!important}.md\:h-11rem{height:11rem!important}.md\:h-12rem{height:12rem!important}.md\:h-13rem{height:13rem!important}.md\:h-14rem{height:14rem!important}.md\:h-15rem{height:15rem!important}.md\:h-16rem{height:16rem!important}.md\:h-17rem{height:17rem!important}.md\:h-18rem{height:18rem!important}.md\:h-19rem{height:19rem!important}.md\:h-20rem{height:20rem!important}.md\:h-21rem{height:21rem!important}.md\:h-22rem{height:22rem!important}.md\:h-23rem{height:23rem!important}.md\:h-24rem{height:24rem!important}.md\:h-25rem{height:25rem!important}.md\:h-26rem{height:26rem!important}.md\:h-27rem{height:27rem!important}.md\:h-28rem{height:28rem!important}.md\:h-29rem{height:29rem!important}.md\:h-30rem{height:30rem!important}}@media screen and (min-width: 992px){.lg\:h-full{height:100%!important}.lg\:h-screen{height:100vh!important}.lg\:h-auto{height:auto!important}.lg\:h-min{height:min-content!important}.lg\:h-max{height:max-content!important}.lg\:h-fit{height:-moz-fit-content!important;height:fit-content!important}.lg\:h-1rem{height:1rem!important}.lg\:h-2rem{height:2rem!important}.lg\:h-3rem{height:3rem!important}.lg\:h-4rem{height:4rem!important}.lg\:h-5rem{height:5rem!important}.lg\:h-6rem{height:6rem!important}.lg\:h-7rem{height:7rem!important}.lg\:h-8rem{height:8rem!important}.lg\:h-9rem{height:9rem!important}.lg\:h-10rem{height:10rem!important}.lg\:h-11rem{height:11rem!important}.lg\:h-12rem{height:12rem!important}.lg\:h-13rem{height:13rem!important}.lg\:h-14rem{height:14rem!important}.lg\:h-15rem{height:15rem!important}.lg\:h-16rem{height:16rem!important}.lg\:h-17rem{height:17rem!important}.lg\:h-18rem{height:18rem!important}.lg\:h-19rem{height:19rem!important}.lg\:h-20rem{height:20rem!important}.lg\:h-21rem{height:21rem!important}.lg\:h-22rem{height:22rem!important}.lg\:h-23rem{height:23rem!important}.lg\:h-24rem{height:24rem!important}.lg\:h-25rem{height:25rem!important}.lg\:h-26rem{height:26rem!important}.lg\:h-27rem{height:27rem!important}.lg\:h-28rem{height:28rem!important}.lg\:h-29rem{height:29rem!important}.lg\:h-30rem{height:30rem!important}}@media screen and (min-width: 1200px){.xl\:h-full{height:100%!important}.xl\:h-screen{height:100vh!important}.xl\:h-auto{height:auto!important}.xl\:h-min{height:min-content!important}.xl\:h-max{height:max-content!important}.xl\:h-fit{height:-moz-fit-content!important;height:fit-content!important}.xl\:h-1rem{height:1rem!important}.xl\:h-2rem{height:2rem!important}.xl\:h-3rem{height:3rem!important}.xl\:h-4rem{height:4rem!important}.xl\:h-5rem{height:5rem!important}.xl\:h-6rem{height:6rem!important}.xl\:h-7rem{height:7rem!important}.xl\:h-8rem{height:8rem!important}.xl\:h-9rem{height:9rem!important}.xl\:h-10rem{height:10rem!important}.xl\:h-11rem{height:11rem!important}.xl\:h-12rem{height:12rem!important}.xl\:h-13rem{height:13rem!important}.xl\:h-14rem{height:14rem!important}.xl\:h-15rem{height:15rem!important}.xl\:h-16rem{height:16rem!important}.xl\:h-17rem{height:17rem!important}.xl\:h-18rem{height:18rem!important}.xl\:h-19rem{height:19rem!important}.xl\:h-20rem{height:20rem!important}.xl\:h-21rem{height:21rem!important}.xl\:h-22rem{height:22rem!important}.xl\:h-23rem{height:23rem!important}.xl\:h-24rem{height:24rem!important}.xl\:h-25rem{height:25rem!important}.xl\:h-26rem{height:26rem!important}.xl\:h-27rem{height:27rem!important}.xl\:h-28rem{height:28rem!important}.xl\:h-29rem{height:29rem!important}.xl\:h-30rem{height:30rem!important}}.min-w-0{min-width:0px!important}.min-w-full{min-width:100%!important}.min-w-screen{min-width:100vw!important}.min-w-min{min-width:min-content!important}.min-w-max{min-width:max-content!important}@media screen and (min-width: 576px){.sm\:min-w-0{min-width:0px!important}.sm\:min-w-full{min-width:100%!important}.sm\:min-w-screen{min-width:100vw!important}.sm\:min-w-min{min-width:min-content!important}.sm\:min-w-max{min-width:max-content!important}}@media screen and (min-width: 768px){.md\:min-w-0{min-width:0px!important}.md\:min-w-full{min-width:100%!important}.md\:min-w-screen{min-width:100vw!important}.md\:min-w-min{min-width:min-content!important}.md\:min-w-max{min-width:max-content!important}}@media screen and (min-width: 992px){.lg\:min-w-0{min-width:0px!important}.lg\:min-w-full{min-width:100%!important}.lg\:min-w-screen{min-width:100vw!important}.lg\:min-w-min{min-width:min-content!important}.lg\:min-w-max{min-width:max-content!important}}@media screen and (min-width: 1200px){.xl\:min-w-0{min-width:0px!important}.xl\:min-w-full{min-width:100%!important}.xl\:min-w-screen{min-width:100vw!important}.xl\:min-w-min{min-width:min-content!important}.xl\:min-w-max{min-width:max-content!important}}.max-w-0{max-width:0px!important}.max-w-full{max-width:100%!important}.max-w-screen{max-width:100vw!important}.max-w-min{max-width:min-content!important}.max-w-max{max-width:max-content!important}.max-w-fit{max-width:-moz-fit-content!important;max-width:fit-content!important}.max-w-1rem{max-width:1rem!important}.max-w-2rem{max-width:2rem!important}.max-w-3rem{max-width:3rem!important}.max-w-4rem{max-width:4rem!important}.max-w-5rem{max-width:5rem!important}.max-w-6rem{max-width:6rem!important}.max-w-7rem{max-width:7rem!important}.max-w-8rem{max-width:8rem!important}.max-w-9rem{max-width:9rem!important}.max-w-10rem{max-width:10rem!important}.max-w-11rem{max-width:11rem!important}.max-w-12rem{max-width:12rem!important}.max-w-13rem{max-width:13rem!important}.max-w-14rem{max-width:14rem!important}.max-w-15rem{max-width:15rem!important}.max-w-16rem{max-width:16rem!important}.max-w-17rem{max-width:17rem!important}.max-w-18rem{max-width:18rem!important}.max-w-19rem{max-width:19rem!important}.max-w-20rem{max-width:20rem!important}.max-w-21rem{max-width:21rem!important}.max-w-22rem{max-width:22rem!important}.max-w-23rem{max-width:23rem!important}.max-w-24rem{max-width:24rem!important}.max-w-25rem{max-width:25rem!important}.max-w-26rem{max-width:26rem!important}.max-w-27rem{max-width:27rem!important}.max-w-28rem{max-width:28rem!important}.max-w-29rem{max-width:29rem!important}.max-w-30rem{max-width:30rem!important}@media screen and (min-width: 576px){.sm\:max-w-0{max-width:0px!important}.sm\:max-w-full{max-width:100%!important}.sm\:max-w-screen{max-width:100vw!important}.sm\:max-w-min{max-width:min-content!important}.sm\:max-w-max{max-width:max-content!important}.sm\:max-w-fit{max-width:-moz-fit-content!important;max-width:fit-content!important}.sm\:max-w-1rem{max-width:1rem!important}.sm\:max-w-2rem{max-width:2rem!important}.sm\:max-w-3rem{max-width:3rem!important}.sm\:max-w-4rem{max-width:4rem!important}.sm\:max-w-5rem{max-width:5rem!important}.sm\:max-w-6rem{max-width:6rem!important}.sm\:max-w-7rem{max-width:7rem!important}.sm\:max-w-8rem{max-width:8rem!important}.sm\:max-w-9rem{max-width:9rem!important}.sm\:max-w-10rem{max-width:10rem!important}.sm\:max-w-11rem{max-width:11rem!important}.sm\:max-w-12rem{max-width:12rem!important}.sm\:max-w-13rem{max-width:13rem!important}.sm\:max-w-14rem{max-width:14rem!important}.sm\:max-w-15rem{max-width:15rem!important}.sm\:max-w-16rem{max-width:16rem!important}.sm\:max-w-17rem{max-width:17rem!important}.sm\:max-w-18rem{max-width:18rem!important}.sm\:max-w-19rem{max-width:19rem!important}.sm\:max-w-20rem{max-width:20rem!important}.sm\:max-w-21rem{max-width:21rem!important}.sm\:max-w-22rem{max-width:22rem!important}.sm\:max-w-23rem{max-width:23rem!important}.sm\:max-w-24rem{max-width:24rem!important}.sm\:max-w-25rem{max-width:25rem!important}.sm\:max-w-26rem{max-width:26rem!important}.sm\:max-w-27rem{max-width:27rem!important}.sm\:max-w-28rem{max-width:28rem!important}.sm\:max-w-29rem{max-width:29rem!important}.sm\:max-w-30rem{max-width:30rem!important}}@media screen and (min-width: 768px){.md\:max-w-0{max-width:0px!important}.md\:max-w-full{max-width:100%!important}.md\:max-w-screen{max-width:100vw!important}.md\:max-w-min{max-width:min-content!important}.md\:max-w-max{max-width:max-content!important}.md\:max-w-fit{max-width:-moz-fit-content!important;max-width:fit-content!important}.md\:max-w-1rem{max-width:1rem!important}.md\:max-w-2rem{max-width:2rem!important}.md\:max-w-3rem{max-width:3rem!important}.md\:max-w-4rem{max-width:4rem!important}.md\:max-w-5rem{max-width:5rem!important}.md\:max-w-6rem{max-width:6rem!important}.md\:max-w-7rem{max-width:7rem!important}.md\:max-w-8rem{max-width:8rem!important}.md\:max-w-9rem{max-width:9rem!important}.md\:max-w-10rem{max-width:10rem!important}.md\:max-w-11rem{max-width:11rem!important}.md\:max-w-12rem{max-width:12rem!important}.md\:max-w-13rem{max-width:13rem!important}.md\:max-w-14rem{max-width:14rem!important}.md\:max-w-15rem{max-width:15rem!important}.md\:max-w-16rem{max-width:16rem!important}.md\:max-w-17rem{max-width:17rem!important}.md\:max-w-18rem{max-width:18rem!important}.md\:max-w-19rem{max-width:19rem!important}.md\:max-w-20rem{max-width:20rem!important}.md\:max-w-21rem{max-width:21rem!important}.md\:max-w-22rem{max-width:22rem!important}.md\:max-w-23rem{max-width:23rem!important}.md\:max-w-24rem{max-width:24rem!important}.md\:max-w-25rem{max-width:25rem!important}.md\:max-w-26rem{max-width:26rem!important}.md\:max-w-27rem{max-width:27rem!important}.md\:max-w-28rem{max-width:28rem!important}.md\:max-w-29rem{max-width:29rem!important}.md\:max-w-30rem{max-width:30rem!important}}@media screen and (min-width: 992px){.lg\:max-w-0{max-width:0px!important}.lg\:max-w-full{max-width:100%!important}.lg\:max-w-screen{max-width:100vw!important}.lg\:max-w-min{max-width:min-content!important}.lg\:max-w-max{max-width:max-content!important}.lg\:max-w-fit{max-width:-moz-fit-content!important;max-width:fit-content!important}.lg\:max-w-1rem{max-width:1rem!important}.lg\:max-w-2rem{max-width:2rem!important}.lg\:max-w-3rem{max-width:3rem!important}.lg\:max-w-4rem{max-width:4rem!important}.lg\:max-w-5rem{max-width:5rem!important}.lg\:max-w-6rem{max-width:6rem!important}.lg\:max-w-7rem{max-width:7rem!important}.lg\:max-w-8rem{max-width:8rem!important}.lg\:max-w-9rem{max-width:9rem!important}.lg\:max-w-10rem{max-width:10rem!important}.lg\:max-w-11rem{max-width:11rem!important}.lg\:max-w-12rem{max-width:12rem!important}.lg\:max-w-13rem{max-width:13rem!important}.lg\:max-w-14rem{max-width:14rem!important}.lg\:max-w-15rem{max-width:15rem!important}.lg\:max-w-16rem{max-width:16rem!important}.lg\:max-w-17rem{max-width:17rem!important}.lg\:max-w-18rem{max-width:18rem!important}.lg\:max-w-19rem{max-width:19rem!important}.lg\:max-w-20rem{max-width:20rem!important}.lg\:max-w-21rem{max-width:21rem!important}.lg\:max-w-22rem{max-width:22rem!important}.lg\:max-w-23rem{max-width:23rem!important}.lg\:max-w-24rem{max-width:24rem!important}.lg\:max-w-25rem{max-width:25rem!important}.lg\:max-w-26rem{max-width:26rem!important}.lg\:max-w-27rem{max-width:27rem!important}.lg\:max-w-28rem{max-width:28rem!important}.lg\:max-w-29rem{max-width:29rem!important}.lg\:max-w-30rem{max-width:30rem!important}}@media screen and (min-width: 1200px){.xl\:max-w-0{max-width:0px!important}.xl\:max-w-full{max-width:100%!important}.xl\:max-w-screen{max-width:100vw!important}.xl\:max-w-min{max-width:min-content!important}.xl\:max-w-max{max-width:max-content!important}.xl\:max-w-fit{max-width:-moz-fit-content!important;max-width:fit-content!important}.xl\:max-w-1rem{max-width:1rem!important}.xl\:max-w-2rem{max-width:2rem!important}.xl\:max-w-3rem{max-width:3rem!important}.xl\:max-w-4rem{max-width:4rem!important}.xl\:max-w-5rem{max-width:5rem!important}.xl\:max-w-6rem{max-width:6rem!important}.xl\:max-w-7rem{max-width:7rem!important}.xl\:max-w-8rem{max-width:8rem!important}.xl\:max-w-9rem{max-width:9rem!important}.xl\:max-w-10rem{max-width:10rem!important}.xl\:max-w-11rem{max-width:11rem!important}.xl\:max-w-12rem{max-width:12rem!important}.xl\:max-w-13rem{max-width:13rem!important}.xl\:max-w-14rem{max-width:14rem!important}.xl\:max-w-15rem{max-width:15rem!important}.xl\:max-w-16rem{max-width:16rem!important}.xl\:max-w-17rem{max-width:17rem!important}.xl\:max-w-18rem{max-width:18rem!important}.xl\:max-w-19rem{max-width:19rem!important}.xl\:max-w-20rem{max-width:20rem!important}.xl\:max-w-21rem{max-width:21rem!important}.xl\:max-w-22rem{max-width:22rem!important}.xl\:max-w-23rem{max-width:23rem!important}.xl\:max-w-24rem{max-width:24rem!important}.xl\:max-w-25rem{max-width:25rem!important}.xl\:max-w-26rem{max-width:26rem!important}.xl\:max-w-27rem{max-width:27rem!important}.xl\:max-w-28rem{max-width:28rem!important}.xl\:max-w-29rem{max-width:29rem!important}.xl\:max-w-30rem{max-width:30rem!important}}.min-h-0{min-height:0px!important}.min-h-full{min-height:100%!important}.min-h-screen{min-height:100vh!important}@media screen and (min-width: 576px){.sm\:min-h-0{min-height:0px!important}.sm\:min-h-full{min-height:100%!important}.sm\:min-h-screen{min-height:100vh!important}}@media screen and (min-width: 768px){.md\:min-h-0{min-height:0px!important}.md\:min-h-full{min-height:100%!important}.md\:min-h-screen{min-height:100vh!important}}@media screen and (min-width: 992px){.lg\:min-h-0{min-height:0px!important}.lg\:min-h-full{min-height:100%!important}.lg\:min-h-screen{min-height:100vh!important}}@media screen and (min-width: 1200px){.xl\:min-h-0{min-height:0px!important}.xl\:min-h-full{min-height:100%!important}.xl\:min-h-screen{min-height:100vh!important}}.max-h-0{max-height:0px!important}.max-h-full{max-height:100%!important}.max-h-screen{max-height:100vh!important}.max-h-min{max-height:min-content!important}.max-h-max{max-height:max-content!important}.max-h-fit{max-height:-moz-fit-content!important;max-height:fit-content!important}.max-h-1rem{max-height:1rem!important}.max-h-2rem{max-height:2rem!important}.max-h-3rem{max-height:3rem!important}.max-h-4rem{max-height:4rem!important}.max-h-5rem{max-height:5rem!important}.max-h-6rem{max-height:6rem!important}.max-h-7rem{max-height:7rem!important}.max-h-8rem{max-height:8rem!important}.max-h-9rem{max-height:9rem!important}.max-h-10rem{max-height:10rem!important}.max-h-11rem{max-height:11rem!important}.max-h-12rem{max-height:12rem!important}.max-h-13rem{max-height:13rem!important}.max-h-14rem{max-height:14rem!important}.max-h-15rem{max-height:15rem!important}.max-h-16rem{max-height:16rem!important}.max-h-17rem{max-height:17rem!important}.max-h-18rem{max-height:18rem!important}.max-h-19rem{max-height:19rem!important}.max-h-20rem{max-height:20rem!important}.max-h-21rem{max-height:21rem!important}.max-h-22rem{max-height:22rem!important}.max-h-23rem{max-height:23rem!important}.max-h-24rem{max-height:24rem!important}.max-h-25rem{max-height:25rem!important}.max-h-26rem{max-height:26rem!important}.max-h-27rem{max-height:27rem!important}.max-h-28rem{max-height:28rem!important}.max-h-29rem{max-height:29rem!important}.max-h-30rem{max-height:30rem!important}@media screen and (min-width: 576px){.sm\:max-h-0{max-height:0px!important}.sm\:max-h-full{max-height:100%!important}.sm\:max-h-screen{max-height:100vh!important}.sm\:max-h-min{max-height:min-content!important}.sm\:max-h-max{max-height:max-content!important}.sm\:max-h-fit{max-height:-moz-fit-content!important;max-height:fit-content!important}.sm\:max-h-1rem{max-height:1rem!important}.sm\:max-h-2rem{max-height:2rem!important}.sm\:max-h-3rem{max-height:3rem!important}.sm\:max-h-4rem{max-height:4rem!important}.sm\:max-h-5rem{max-height:5rem!important}.sm\:max-h-6rem{max-height:6rem!important}.sm\:max-h-7rem{max-height:7rem!important}.sm\:max-h-8rem{max-height:8rem!important}.sm\:max-h-9rem{max-height:9rem!important}.sm\:max-h-10rem{max-height:10rem!important}.sm\:max-h-11rem{max-height:11rem!important}.sm\:max-h-12rem{max-height:12rem!important}.sm\:max-h-13rem{max-height:13rem!important}.sm\:max-h-14rem{max-height:14rem!important}.sm\:max-h-15rem{max-height:15rem!important}.sm\:max-h-16rem{max-height:16rem!important}.sm\:max-h-17rem{max-height:17rem!important}.sm\:max-h-18rem{max-height:18rem!important}.sm\:max-h-19rem{max-height:19rem!important}.sm\:max-h-20rem{max-height:20rem!important}.sm\:max-h-21rem{max-height:21rem!important}.sm\:max-h-22rem{max-height:22rem!important}.sm\:max-h-23rem{max-height:23rem!important}.sm\:max-h-24rem{max-height:24rem!important}.sm\:max-h-25rem{max-height:25rem!important}.sm\:max-h-26rem{max-height:26rem!important}.sm\:max-h-27rem{max-height:27rem!important}.sm\:max-h-28rem{max-height:28rem!important}.sm\:max-h-29rem{max-height:29rem!important}.sm\:max-h-30rem{max-height:30rem!important}}@media screen and (min-width: 768px){.md\:max-h-0{max-height:0px!important}.md\:max-h-full{max-height:100%!important}.md\:max-h-screen{max-height:100vh!important}.md\:max-h-min{max-height:min-content!important}.md\:max-h-max{max-height:max-content!important}.md\:max-h-fit{max-height:-moz-fit-content!important;max-height:fit-content!important}.md\:max-h-1rem{max-height:1rem!important}.md\:max-h-2rem{max-height:2rem!important}.md\:max-h-3rem{max-height:3rem!important}.md\:max-h-4rem{max-height:4rem!important}.md\:max-h-5rem{max-height:5rem!important}.md\:max-h-6rem{max-height:6rem!important}.md\:max-h-7rem{max-height:7rem!important}.md\:max-h-8rem{max-height:8rem!important}.md\:max-h-9rem{max-height:9rem!important}.md\:max-h-10rem{max-height:10rem!important}.md\:max-h-11rem{max-height:11rem!important}.md\:max-h-12rem{max-height:12rem!important}.md\:max-h-13rem{max-height:13rem!important}.md\:max-h-14rem{max-height:14rem!important}.md\:max-h-15rem{max-height:15rem!important}.md\:max-h-16rem{max-height:16rem!important}.md\:max-h-17rem{max-height:17rem!important}.md\:max-h-18rem{max-height:18rem!important}.md\:max-h-19rem{max-height:19rem!important}.md\:max-h-20rem{max-height:20rem!important}.md\:max-h-21rem{max-height:21rem!important}.md\:max-h-22rem{max-height:22rem!important}.md\:max-h-23rem{max-height:23rem!important}.md\:max-h-24rem{max-height:24rem!important}.md\:max-h-25rem{max-height:25rem!important}.md\:max-h-26rem{max-height:26rem!important}.md\:max-h-27rem{max-height:27rem!important}.md\:max-h-28rem{max-height:28rem!important}.md\:max-h-29rem{max-height:29rem!important}.md\:max-h-30rem{max-height:30rem!important}}@media screen and (min-width: 992px){.lg\:max-h-0{max-height:0px!important}.lg\:max-h-full{max-height:100%!important}.lg\:max-h-screen{max-height:100vh!important}.lg\:max-h-min{max-height:min-content!important}.lg\:max-h-max{max-height:max-content!important}.lg\:max-h-fit{max-height:-moz-fit-content!important;max-height:fit-content!important}.lg\:max-h-1rem{max-height:1rem!important}.lg\:max-h-2rem{max-height:2rem!important}.lg\:max-h-3rem{max-height:3rem!important}.lg\:max-h-4rem{max-height:4rem!important}.lg\:max-h-5rem{max-height:5rem!important}.lg\:max-h-6rem{max-height:6rem!important}.lg\:max-h-7rem{max-height:7rem!important}.lg\:max-h-8rem{max-height:8rem!important}.lg\:max-h-9rem{max-height:9rem!important}.lg\:max-h-10rem{max-height:10rem!important}.lg\:max-h-11rem{max-height:11rem!important}.lg\:max-h-12rem{max-height:12rem!important}.lg\:max-h-13rem{max-height:13rem!important}.lg\:max-h-14rem{max-height:14rem!important}.lg\:max-h-15rem{max-height:15rem!important}.lg\:max-h-16rem{max-height:16rem!important}.lg\:max-h-17rem{max-height:17rem!important}.lg\:max-h-18rem{max-height:18rem!important}.lg\:max-h-19rem{max-height:19rem!important}.lg\:max-h-20rem{max-height:20rem!important}.lg\:max-h-21rem{max-height:21rem!important}.lg\:max-h-22rem{max-height:22rem!important}.lg\:max-h-23rem{max-height:23rem!important}.lg\:max-h-24rem{max-height:24rem!important}.lg\:max-h-25rem{max-height:25rem!important}.lg\:max-h-26rem{max-height:26rem!important}.lg\:max-h-27rem{max-height:27rem!important}.lg\:max-h-28rem{max-height:28rem!important}.lg\:max-h-29rem{max-height:29rem!important}.lg\:max-h-30rem{max-height:30rem!important}}@media screen and (min-width: 1200px){.xl\:max-h-0{max-height:0px!important}.xl\:max-h-full{max-height:100%!important}.xl\:max-h-screen{max-height:100vh!important}.xl\:max-h-min{max-height:min-content!important}.xl\:max-h-max{max-height:max-content!important}.xl\:max-h-fit{max-height:-moz-fit-content!important;max-height:fit-content!important}.xl\:max-h-1rem{max-height:1rem!important}.xl\:max-h-2rem{max-height:2rem!important}.xl\:max-h-3rem{max-height:3rem!important}.xl\:max-h-4rem{max-height:4rem!important}.xl\:max-h-5rem{max-height:5rem!important}.xl\:max-h-6rem{max-height:6rem!important}.xl\:max-h-7rem{max-height:7rem!important}.xl\:max-h-8rem{max-height:8rem!important}.xl\:max-h-9rem{max-height:9rem!important}.xl\:max-h-10rem{max-height:10rem!important}.xl\:max-h-11rem{max-height:11rem!important}.xl\:max-h-12rem{max-height:12rem!important}.xl\:max-h-13rem{max-height:13rem!important}.xl\:max-h-14rem{max-height:14rem!important}.xl\:max-h-15rem{max-height:15rem!important}.xl\:max-h-16rem{max-height:16rem!important}.xl\:max-h-17rem{max-height:17rem!important}.xl\:max-h-18rem{max-height:18rem!important}.xl\:max-h-19rem{max-height:19rem!important}.xl\:max-h-20rem{max-height:20rem!important}.xl\:max-h-21rem{max-height:21rem!important}.xl\:max-h-22rem{max-height:22rem!important}.xl\:max-h-23rem{max-height:23rem!important}.xl\:max-h-24rem{max-height:24rem!important}.xl\:max-h-25rem{max-height:25rem!important}.xl\:max-h-26rem{max-height:26rem!important}.xl\:max-h-27rem{max-height:27rem!important}.xl\:max-h-28rem{max-height:28rem!important}.xl\:max-h-29rem{max-height:29rem!important}.xl\:max-h-30rem{max-height:30rem!important}}.static{position:static!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.sticky{position:sticky!important}@media screen and (min-width: 576px){.sm\:static{position:static!important}.sm\:fixed{position:fixed!important}.sm\:absolute{position:absolute!important}.sm\:relative{position:relative!important}.sm\:sticky{position:sticky!important}}@media screen and (min-width: 768px){.md\:static{position:static!important}.md\:fixed{position:fixed!important}.md\:absolute{position:absolute!important}.md\:relative{position:relative!important}.md\:sticky{position:sticky!important}}@media screen and (min-width: 992px){.lg\:static{position:static!important}.lg\:fixed{position:fixed!important}.lg\:absolute{position:absolute!important}.lg\:relative{position:relative!important}.lg\:sticky{position:sticky!important}}@media screen and (min-width: 1200px){.xl\:static{position:static!important}.xl\:fixed{position:fixed!important}.xl\:absolute{position:absolute!important}.xl\:relative{position:relative!important}.xl\:sticky{position:sticky!important}}.top-auto{top:auto!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}@media screen and (min-width: 576px){.sm\:top-auto{top:auto!important}.sm\:top-0{top:0!important}.sm\:top-50{top:50%!important}.sm\:top-100{top:100%!important}}@media screen and (min-width: 768px){.md\:top-auto{top:auto!important}.md\:top-0{top:0!important}.md\:top-50{top:50%!important}.md\:top-100{top:100%!important}}@media screen and (min-width: 992px){.lg\:top-auto{top:auto!important}.lg\:top-0{top:0!important}.lg\:top-50{top:50%!important}.lg\:top-100{top:100%!important}}@media screen and (min-width: 1200px){.xl\:top-auto{top:auto!important}.xl\:top-0{top:0!important}.xl\:top-50{top:50%!important}.xl\:top-100{top:100%!important}}.left-auto{left:auto!important}.left-0{left:0!important}.left-50{left:50%!important}.left-100{left:100%!important}@media screen and (min-width: 576px){.sm\:left-auto{left:auto!important}.sm\:left-0{left:0!important}.sm\:left-50{left:50%!important}.sm\:left-100{left:100%!important}}@media screen and (min-width: 768px){.md\:left-auto{left:auto!important}.md\:left-0{left:0!important}.md\:left-50{left:50%!important}.md\:left-100{left:100%!important}}@media screen and (min-width: 992px){.lg\:left-auto{left:auto!important}.lg\:left-0{left:0!important}.lg\:left-50{left:50%!important}.lg\:left-100{left:100%!important}}@media screen and (min-width: 1200px){.xl\:left-auto{left:auto!important}.xl\:left-0{left:0!important}.xl\:left-50{left:50%!important}.xl\:left-100{left:100%!important}}.right-auto{right:auto!important}.right-0{right:0!important}.right-50{right:50%!important}.right-100{right:100%!important}@media screen and (min-width: 576px){.sm\:right-auto{right:auto!important}.sm\:right-0{right:0!important}.sm\:right-50{right:50%!important}.sm\:right-100{right:100%!important}}@media screen and (min-width: 768px){.md\:right-auto{right:auto!important}.md\:right-0{right:0!important}.md\:right-50{right:50%!important}.md\:right-100{right:100%!important}}@media screen and (min-width: 992px){.lg\:right-auto{right:auto!important}.lg\:right-0{right:0!important}.lg\:right-50{right:50%!important}.lg\:right-100{right:100%!important}}@media screen and (min-width: 1200px){.xl\:right-auto{right:auto!important}.xl\:right-0{right:0!important}.xl\:right-50{right:50%!important}.xl\:right-100{right:100%!important}}.bottom-auto{bottom:auto!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}@media screen and (min-width: 576px){.sm\:bottom-auto{bottom:auto!important}.sm\:bottom-0{bottom:0!important}.sm\:bottom-50{bottom:50%!important}.sm\:bottom-100{bottom:100%!important}}@media screen and (min-width: 768px){.md\:bottom-auto{bottom:auto!important}.md\:bottom-0{bottom:0!important}.md\:bottom-50{bottom:50%!important}.md\:bottom-100{bottom:100%!important}}@media screen and (min-width: 992px){.lg\:bottom-auto{bottom:auto!important}.lg\:bottom-0{bottom:0!important}.lg\:bottom-50{bottom:50%!important}.lg\:bottom-100{bottom:100%!important}}@media screen and (min-width: 1200px){.xl\:bottom-auto{bottom:auto!important}.xl\:bottom-0{bottom:0!important}.xl\:bottom-50{bottom:50%!important}.xl\:bottom-100{bottom:100%!important}}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}@media screen and (min-width: 576px){.sm\:overflow-auto{overflow:auto!important}.sm\:overflow-hidden{overflow:hidden!important}.sm\:overflow-visible{overflow:visible!important}.sm\:overflow-scroll{overflow:scroll!important}}@media screen and (min-width: 768px){.md\:overflow-auto{overflow:auto!important}.md\:overflow-hidden{overflow:hidden!important}.md\:overflow-visible{overflow:visible!important}.md\:overflow-scroll{overflow:scroll!important}}@media screen and (min-width: 992px){.lg\:overflow-auto{overflow:auto!important}.lg\:overflow-hidden{overflow:hidden!important}.lg\:overflow-visible{overflow:visible!important}.lg\:overflow-scroll{overflow:scroll!important}}@media screen and (min-width: 1200px){.xl\:overflow-auto{overflow:auto!important}.xl\:overflow-hidden{overflow:hidden!important}.xl\:overflow-visible{overflow:visible!important}.xl\:overflow-scroll{overflow:scroll!important}}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}@media screen and (min-width: 576px){.sm\:overflow-x-auto{overflow-x:auto!important}.sm\:overflow-x-hidden{overflow-x:hidden!important}.sm\:overflow-x-visible{overflow-x:visible!important}.sm\:overflow-x-scroll{overflow-x:scroll!important}}@media screen and (min-width: 768px){.md\:overflow-x-auto{overflow-x:auto!important}.md\:overflow-x-hidden{overflow-x:hidden!important}.md\:overflow-x-visible{overflow-x:visible!important}.md\:overflow-x-scroll{overflow-x:scroll!important}}@media screen and (min-width: 992px){.lg\:overflow-x-auto{overflow-x:auto!important}.lg\:overflow-x-hidden{overflow-x:hidden!important}.lg\:overflow-x-visible{overflow-x:visible!important}.lg\:overflow-x-scroll{overflow-x:scroll!important}}@media screen and (min-width: 1200px){.xl\:overflow-x-auto{overflow-x:auto!important}.xl\:overflow-x-hidden{overflow-x:hidden!important}.xl\:overflow-x-visible{overflow-x:visible!important}.xl\:overflow-x-scroll{overflow-x:scroll!important}}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}@media screen and (min-width: 576px){.sm\:overflow-y-auto{overflow-y:auto!important}.sm\:overflow-y-hidden{overflow-y:hidden!important}.sm\:overflow-y-visible{overflow-y:visible!important}.sm\:overflow-y-scroll{overflow-y:scroll!important}}@media screen and (min-width: 768px){.md\:overflow-y-auto{overflow-y:auto!important}.md\:overflow-y-hidden{overflow-y:hidden!important}.md\:overflow-y-visible{overflow-y:visible!important}.md\:overflow-y-scroll{overflow-y:scroll!important}}@media screen and (min-width: 992px){.lg\:overflow-y-auto{overflow-y:auto!important}.lg\:overflow-y-hidden{overflow-y:hidden!important}.lg\:overflow-y-visible{overflow-y:visible!important}.lg\:overflow-y-scroll{overflow-y:scroll!important}}@media screen and (min-width: 1200px){.xl\:overflow-y-auto{overflow-y:auto!important}.xl\:overflow-y-hidden{overflow-y:hidden!important}.xl\:overflow-y-visible{overflow-y:visible!important}.xl\:overflow-y-scroll{overflow-y:scroll!important}}.z-auto{z-index:auto!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}.z-4{z-index:4!important}.z-5{z-index:5!important}@media screen and (min-width: 576px){.sm\:z-auto{z-index:auto!important}.sm\:z-0{z-index:0!important}.sm\:z-1{z-index:1!important}.sm\:z-2{z-index:2!important}.sm\:z-3{z-index:3!important}.sm\:z-4{z-index:4!important}.sm\:z-5{z-index:5!important}}@media screen and (min-width: 768px){.md\:z-auto{z-index:auto!important}.md\:z-0{z-index:0!important}.md\:z-1{z-index:1!important}.md\:z-2{z-index:2!important}.md\:z-3{z-index:3!important}.md\:z-4{z-index:4!important}.md\:z-5{z-index:5!important}}@media screen and (min-width: 992px){.lg\:z-auto{z-index:auto!important}.lg\:z-0{z-index:0!important}.lg\:z-1{z-index:1!important}.lg\:z-2{z-index:2!important}.lg\:z-3{z-index:3!important}.lg\:z-4{z-index:4!important}.lg\:z-5{z-index:5!important}}@media screen and (min-width: 1200px){.xl\:z-auto{z-index:auto!important}.xl\:z-0{z-index:0!important}.xl\:z-1{z-index:1!important}.xl\:z-2{z-index:2!important}.xl\:z-3{z-index:3!important}.xl\:z-4{z-index:4!important}.xl\:z-5{z-index:5!important}}.bg-repeat{background-repeat:repeat!important}.bg-no-repeat{background-repeat:no-repeat!important}.bg-repeat-x{background-repeat:repeat-x!important}.bg-repeat-y{background-repeat:repeat-y!important}.bg-repeat-round{background-repeat:round!important}.bg-repeat-space{background-repeat:space!important}@media screen and (min-width: 576px){.sm\:bg-repeat{background-repeat:repeat!important}.sm\:bg-no-repeat{background-repeat:no-repeat!important}.sm\:bg-repeat-x{background-repeat:repeat-x!important}.sm\:bg-repeat-y{background-repeat:repeat-y!important}.sm\:bg-repeat-round{background-repeat:round!important}.sm\:bg-repeat-space{background-repeat:space!important}}@media screen and (min-width: 768px){.md\:bg-repeat{background-repeat:repeat!important}.md\:bg-no-repeat{background-repeat:no-repeat!important}.md\:bg-repeat-x{background-repeat:repeat-x!important}.md\:bg-repeat-y{background-repeat:repeat-y!important}.md\:bg-repeat-round{background-repeat:round!important}.md\:bg-repeat-space{background-repeat:space!important}}@media screen and (min-width: 992px){.lg\:bg-repeat{background-repeat:repeat!important}.lg\:bg-no-repeat{background-repeat:no-repeat!important}.lg\:bg-repeat-x{background-repeat:repeat-x!important}.lg\:bg-repeat-y{background-repeat:repeat-y!important}.lg\:bg-repeat-round{background-repeat:round!important}.lg\:bg-repeat-space{background-repeat:space!important}}@media screen and (min-width: 1200px){.xl\:bg-repeat{background-repeat:repeat!important}.xl\:bg-no-repeat{background-repeat:no-repeat!important}.xl\:bg-repeat-x{background-repeat:repeat-x!important}.xl\:bg-repeat-y{background-repeat:repeat-y!important}.xl\:bg-repeat-round{background-repeat:round!important}.xl\:bg-repeat-space{background-repeat:space!important}}.bg-auto{background-size:auto!important}.bg-cover{background-size:cover!important}.bg-contain{background-size:contain!important}@media screen and (min-width: 576px){.sm\:bg-auto{background-size:auto!important}.sm\:bg-cover{background-size:cover!important}.sm\:bg-contain{background-size:contain!important}}@media screen and (min-width: 768px){.md\:bg-auto{background-size:auto!important}.md\:bg-cover{background-size:cover!important}.md\:bg-contain{background-size:contain!important}}@media screen and (min-width: 992px){.lg\:bg-auto{background-size:auto!important}.lg\:bg-cover{background-size:cover!important}.lg\:bg-contain{background-size:contain!important}}@media screen and (min-width: 1200px){.xl\:bg-auto{background-size:auto!important}.xl\:bg-cover{background-size:cover!important}.xl\:bg-contain{background-size:contain!important}}.bg-bottom{background-position:bottom!important}.bg-center{background-position:center!important}.bg-left{background-position:left!important}.bg-left-bottom{background-position:left bottom!important}.bg-left-top{background-position:left top!important}.bg-right{background-position:right!important}.bg-right-bottom{background-position:right bottom!important}.bg-right-top{background-position:right top!important}.bg-top{background-position:top!important}@media screen and (min-width: 576px){.sm\:bg-bottom{background-position:bottom!important}.sm\:bg-center{background-position:center!important}.sm\:bg-left{background-position:left!important}.sm\:bg-left-bottom{background-position:left bottom!important}.sm\:bg-left-top{background-position:left top!important}.sm\:bg-right{background-position:right!important}.sm\:bg-right-bottom{background-position:right bottom!important}.sm\:bg-right-top{background-position:right top!important}.sm\:bg-top{background-position:top!important}}@media screen and (min-width: 768px){.md\:bg-bottom{background-position:bottom!important}.md\:bg-center{background-position:center!important}.md\:bg-left{background-position:left!important}.md\:bg-left-bottom{background-position:left bottom!important}.md\:bg-left-top{background-position:left top!important}.md\:bg-right{background-position:right!important}.md\:bg-right-bottom{background-position:right bottom!important}.md\:bg-right-top{background-position:right top!important}.md\:bg-top{background-position:top!important}}@media screen and (min-width: 992px){.lg\:bg-bottom{background-position:bottom!important}.lg\:bg-center{background-position:center!important}.lg\:bg-left{background-position:left!important}.lg\:bg-left-bottom{background-position:left bottom!important}.lg\:bg-left-top{background-position:left top!important}.lg\:bg-right{background-position:right!important}.lg\:bg-right-bottom{background-position:right bottom!important}.lg\:bg-right-top{background-position:right top!important}.lg\:bg-top{background-position:top!important}}@media screen and (min-width: 1200px){.xl\:bg-bottom{background-position:bottom!important}.xl\:bg-center{background-position:center!important}.xl\:bg-left{background-position:left!important}.xl\:bg-left-bottom{background-position:left bottom!important}.xl\:bg-left-top{background-position:left top!important}.xl\:bg-right{background-position:right!important}.xl\:bg-right-bottom{background-position:right bottom!important}.xl\:bg-right-top{background-position:right top!important}.xl\:bg-top{background-position:top!important}}.list-none{list-style:none!important}.list-disc{list-style:disc!important}.list-decimal{list-style:decimal!important}.appearance-none{-webkit-appearance:none!important;appearance:none!important}.outline-none{outline:none!important}.pointer-events-none{pointer-events:none!important}.pointer-events-auto{pointer-events:auto!important}.cursor-auto{cursor:auto!important}.cursor-pointer{cursor:pointer!important}.cursor-wait{cursor:wait!important}.cursor-move{cursor:move!important}.select-none{-webkit-user-select:none!important;user-select:none!important}.select-text{-webkit-user-select:text!important;user-select:text!important}.select-all{-webkit-user-select:all!important;user-select:all!important}.select-auto{-webkit-user-select:auto!important;user-select:auto!important}.opacity-0{opacity:0!important}.opacity-10{opacity:.1!important}.opacity-20{opacity:.2!important}.opacity-30{opacity:.3!important}.opacity-40{opacity:.4!important}.opacity-50{opacity:.5!important}.opacity-60{opacity:.6!important}.opacity-70{opacity:.7!important}.opacity-80{opacity:.8!important}.opacity-90{opacity:.9!important}.opacity-100{opacity:1!important}.reset{all:unset}.transition-none{transition-property:none!important}.transition-all{transition-property:all!important}.transition-colors{transition-property:background-color,border-color,color!important}.transition-transform{transition-property:transform!important}.transition-duration-100{transition-duration:.1s!important}.transition-duration-150{transition-duration:.15s!important}.transition-duration-200{transition-duration:.2s!important}.transition-duration-300{transition-duration:.3s!important}.transition-duration-400{transition-duration:.4s!important}.transition-duration-500{transition-duration:.5s!important}.transition-duration-1000{transition-duration:1s!important}.transition-duration-2000{transition-duration:2s!important}.transition-duration-3000{transition-duration:3s!important}.transition-linear{transition-timing-function:linear!important}.transition-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)!important}.transition-ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)!important}.transition-ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.transition-delay-100{transition-delay:.1s!important}.transition-delay-150{transition-delay:.15s!important}.transition-delay-200{transition-delay:.2s!important}.transition-delay-300{transition-delay:.3s!important}.transition-delay-400{transition-delay:.4s!important}.transition-delay-500{transition-delay:.5s!important}.transition-delay-1000{transition-delay:1s!important}.translate-x-0{transform:translate(0)!important}.translate-x-100{transform:translate(100%)!important}.-translate-x-100{transform:translate(-100%)!important}.translate-y-0{transform:translateY(0)!important}.translate-y-100{transform:translateY(100%)!important}.-translate-y-100{transform:translateY(-100%)!important}@media screen and (min-width: 576px){.sm\:translate-x-0{transform:translate(0)!important}.sm\:translate-x-100{transform:translate(100%)!important}.sm\:-translate-x-100{transform:translate(-100%)!important}.sm\:translate-y-0{transform:translateY(0)!important}.sm\:translate-y-100{transform:translateY(100%)!important}.sm\:-translate-y-100{transform:translateY(-100%)!important}}@media screen and (min-width: 768px){.md\:translate-x-0{transform:translate(0)!important}.md\:translate-x-100{transform:translate(100%)!important}.md\:-translate-x-100{transform:translate(-100%)!important}.md\:translate-y-0{transform:translateY(0)!important}.md\:translate-y-100{transform:translateY(100%)!important}.md\:-translate-y-100{transform:translateY(-100%)!important}}@media screen and (min-width: 992px){.lg\:translate-x-0{transform:translate(0)!important}.lg\:translate-x-100{transform:translate(100%)!important}.lg\:-translate-x-100{transform:translate(-100%)!important}.lg\:translate-y-0{transform:translateY(0)!important}.lg\:translate-y-100{transform:translateY(100%)!important}.lg\:-translate-y-100{transform:translateY(-100%)!important}}@media screen and (min-width: 1200px){.xl\:translate-x-0{transform:translate(0)!important}.xl\:translate-x-100{transform:translate(100%)!important}.xl\:-translate-x-100{transform:translate(-100%)!important}.xl\:translate-y-0{transform:translateY(0)!important}.xl\:translate-y-100{transform:translateY(100%)!important}.xl\:-translate-y-100{transform:translateY(-100%)!important}}.rotate-45{transform:rotate(45deg)!important}.-rotate-45{transform:rotate(-45deg)!important}.rotate-90{transform:rotate(90deg)!important}.-rotate-90{transform:rotate(-90deg)!important}.rotate-180{transform:rotate(180deg)!important}.-rotate-180{transform:rotate(-180deg)!important}@media screen and (min-width: 576px){.sm\:rotate-45{transform:rotate(45deg)!important}.sm\:-rotate-45{transform:rotate(-45deg)!important}.sm\:rotate-90{transform:rotate(90deg)!important}.sm\:-rotate-90{transform:rotate(-90deg)!important}.sm\:rotate-180{transform:rotate(180deg)!important}.sm\:-rotate-180{transform:rotate(-180deg)!important}}@media screen and (min-width: 768px){.md\:rotate-45{transform:rotate(45deg)!important}.md\:-rotate-45{transform:rotate(-45deg)!important}.md\:rotate-90{transform:rotate(90deg)!important}.md\:-rotate-90{transform:rotate(-90deg)!important}.md\:rotate-180{transform:rotate(180deg)!important}.md\:-rotate-180{transform:rotate(-180deg)!important}}@media screen and (min-width: 992px){.lg\:rotate-45{transform:rotate(45deg)!important}.lg\:-rotate-45{transform:rotate(-45deg)!important}.lg\:rotate-90{transform:rotate(90deg)!important}.lg\:-rotate-90{transform:rotate(-90deg)!important}.lg\:rotate-180{transform:rotate(180deg)!important}.lg\:-rotate-180{transform:rotate(-180deg)!important}}@media screen and (min-width: 1200px){.xl\:rotate-45{transform:rotate(45deg)!important}.xl\:-rotate-45{transform:rotate(-45deg)!important}.xl\:rotate-90{transform:rotate(90deg)!important}.xl\:-rotate-90{transform:rotate(-90deg)!important}.xl\:rotate-180{transform:rotate(180deg)!important}.xl\:-rotate-180{transform:rotate(-180deg)!important}}.origin-center{transform-origin:center!important}.origin-top{transform-origin:top!important}.origin-top-right{transform-origin:top right!important}.origin-right{transform-origin:right!important}.origin-bottom-right{transform-origin:bottom right!important}.origin-bottom{transform-origin:bottom!important}.origin-bottom-left{transform-origin:bottom left!important}.origin-left{transform-origin:left!important}.origin-top-left{transform-origin:top-left!important}@media screen and (min-width: 576px){.sm\:origin-center{transform-origin:center!important}.sm\:origin-top{transform-origin:top!important}.sm\:origin-top-right{transform-origin:top right!important}.sm\:origin-right{transform-origin:right!important}.sm\:origin-bottom-right{transform-origin:bottom right!important}.sm\:origin-bottom{transform-origin:bottom!important}.sm\:origin-bottom-left{transform-origin:bottom left!important}.sm\:origin-left{transform-origin:left!important}.sm\:origin-top-left{transform-origin:top-left!important}}@media screen and (min-width: 768px){.md\:origin-center{transform-origin:center!important}.md\:origin-top{transform-origin:top!important}.md\:origin-top-right{transform-origin:top right!important}.md\:origin-right{transform-origin:right!important}.md\:origin-bottom-right{transform-origin:bottom right!important}.md\:origin-bottom{transform-origin:bottom!important}.md\:origin-bottom-left{transform-origin:bottom left!important}.md\:origin-left{transform-origin:left!important}.md\:origin-top-left{transform-origin:top-left!important}}@media screen and (min-width: 992px){.lg\:origin-center{transform-origin:center!important}.lg\:origin-top{transform-origin:top!important}.lg\:origin-top-right{transform-origin:top right!important}.lg\:origin-right{transform-origin:right!important}.lg\:origin-bottom-right{transform-origin:bottom right!important}.lg\:origin-bottom{transform-origin:bottom!important}.lg\:origin-bottom-left{transform-origin:bottom left!important}.lg\:origin-left{transform-origin:left!important}.lg\:origin-top-left{transform-origin:top-left!important}}@media screen and (min-width: 1200px){.xl\:origin-center{transform-origin:center!important}.xl\:origin-top{transform-origin:top!important}.xl\:origin-top-right{transform-origin:top right!important}.xl\:origin-right{transform-origin:right!important}.xl\:origin-bottom-right{transform-origin:bottom right!important}.xl\:origin-bottom{transform-origin:bottom!important}.xl\:origin-bottom-left{transform-origin:bottom left!important}.xl\:origin-left{transform-origin:left!important}.xl\:origin-top-left{transform-origin:top-left!important}}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadeout{0%{opacity:1}to{opacity:0}}@keyframes scalein{0%{opacity:0;transform:scaleY(.8);transition:transform .12s cubic-bezier(0,0,.2,1),opacity .12s cubic-bezier(0,0,.2,1)}to{opacity:1;transform:scaleY(1)}}@keyframes slidedown{0%{max-height:0}to{max-height:auto}}@keyframes slideup{0%{max-height:1000px}to{max-height:0}}@keyframes fadeinleft{0%{opacity:0;transform:translate(-100%);transition:transform .12s cubic-bezier(0,0,.2,1),opacity .12s cubic-bezier(0,0,.2,1)}to{opacity:1;transform:translate(0)}}@keyframes fadeoutleft{0%{opacity:1;transform:translate(0);transition:transform .12s cubic-bezier(0,0,.2,1),opacity .12s cubic-bezier(0,0,.2,1)}to{opacity:0;transform:translate(-100%)}}@keyframes fadeinright{0%{opacity:0;transform:translate(100%);transition:transform .12s cubic-bezier(0,0,.2,1),opacity .12s cubic-bezier(0,0,.2,1)}to{opacity:1;transform:translate(0)}}@keyframes fadeoutright{0%{opacity:1;transform:translate(0);transition:transform .12s cubic-bezier(0,0,.2,1),opacity .12s cubic-bezier(0,0,.2,1)}to{opacity:0;transform:translate(100%)}}@keyframes fadeinup{0%{opacity:0;transform:translateY(-100%);transition:transform .12s cubic-bezier(0,0,.2,1),opacity .12s cubic-bezier(0,0,.2,1)}to{opacity:1;transform:translateY(0)}}@keyframes fadeoutup{0%{opacity:1;transform:translateY(0);transition:transform .12s cubic-bezier(0,0,.2,1),opacity .12s cubic-bezier(0,0,.2,1)}to{opacity:0;transform:translateY(-100%)}}@keyframes fadeindown{0%{opacity:0;transform:translateY(100%);transition:transform .12s cubic-bezier(0,0,.2,1),opacity .12s cubic-bezier(0,0,.2,1)}to{opacity:1;transform:translateY(0)}}@keyframes fadeoutdown{0%{opacity:1;transform:translateY(0);transition:transform .12s cubic-bezier(0,0,.2,1),opacity .12s cubic-bezier(0,0,.2,1)}to{opacity:0;transform:translateY(100%)}}@keyframes animate-width{0%{width:0}to{width:100%}}@keyframes flip{0%{transform:perspective(2000px) rotateX(-100deg)}to{transform:perspective(2000px) rotateX(0)}}@keyframes flipleft{0%{transform:perspective(2000px) rotateY(-100deg);opacity:0}to{transform:perspective(2000px) rotateY(0);opacity:1}}@keyframes flipright{0%{transform:perspective(2000px) rotateY(100deg);opacity:0}to{transform:perspective(2000px) rotateY(0);opacity:1}}@keyframes flipup{0%{transform:perspective(2000px) rotateX(-100deg);opacity:0}to{transform:perspective(2000px) rotateX(0);opacity:1}}@keyframes zoomin{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomindown{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0)}}@keyframes zoominleft{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(10px,0,0)}}@keyframes zoominright{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(1000px,0,0)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-10px,0,0)}}@keyframes zoominup{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,1000px,0)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0)}}.fadein{animation:fadein .15s linear}.fadeout{animation:fadeout .15s linear}.slidedown{animation:slidedown .45s ease-in-out}.slideup{animation:slideup .45s cubic-bezier(0,1,0,1)}.scalein{animation:scalein .15s linear}.fadeinleft{animation:fadeinleft .15s linear}.fadeoutleft{animation:fadeoutleft .15s linear}.fadeinright{animation:fadeinright .15s linear}.fadeoutright{animation:fadeoutright .15s linear}.fadeinup{animation:fadeinup .15s linear}.fadeoutup{animation:fadeoutup .15s linear}.fadeindown{animation:fadeindown .15s linear}.fadeoutdown{animation:fadeoutdown .15s linear}.animate-width{animation:animate-width 1s linear}.flip{-webkit-backface-visibility:visible;backface-visibility:visible;animation:flip .15s linear}.flipup{-webkit-backface-visibility:visible;backface-visibility:visible;animation:flipup .15s linear}.flipleft{-webkit-backface-visibility:visible;backface-visibility:visible;animation:flipleft .15s linear}.flipright{-webkit-backface-visibility:visible;backface-visibility:visible;animation:flipright .15s linear}.zoomin{animation:zoomin .15s linear}.zoomindown{animation:zoomindown .15s linear}.zoominleft{animation:zoominleft .15s linear}.zoominright{animation:zoominright .15s linear}.zoominup{animation:zoominup .15s linear}.animation-duration-100{animation-duration:.1s!important}.animation-duration-150{animation-duration:.15s!important}.animation-duration-200{animation-duration:.2s!important}.animation-duration-300{animation-duration:.3s!important}.animation-duration-400{animation-duration:.4s!important}.animation-duration-500{animation-duration:.5s!important}.animation-duration-1000{animation-duration:1s!important}.animation-duration-2000{animation-duration:2s!important}.animation-duration-3000{animation-duration:3s!important}.animation-delay-100{animation-delay:.1s!important}.animation-delay-150{animation-delay:.15s!important}.animation-delay-200{animation-delay:.2s!important}.animation-delay-300{animation-delay:.3s!important}.animation-delay-400{animation-delay:.4s!important}.animation-delay-500{animation-delay:.5s!important}.animation-delay-1000{animation-delay:1s!important}.animation-iteration-1{animation-iteration-count:1!important}.animation-iteration-2{animation-iteration-count:2!important}.animation-iteration-infinite{animation-iteration-count:infinite!important}.animation-linear{animation-timing-function:linear!important}.animation-ease-in{animation-timing-function:cubic-bezier(.4,0,1,1)!important}.animation-ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)!important}.animation-ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)!important}.animation-fill-none{animation-fill-mode:none!important}.animation-fill-forwards{animation-fill-mode:forwards!important}.animation-fill-backwards{animation-fill-mode:backwards!important}.animation-fill-both{animation-fill-mode:both!important}.p-component,.p-component *{box-sizing:border-box}.p-hidden{display:none}.p-hidden-space{visibility:hidden}.p-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.p-hidden-accessible input,.p-hidden-accessible select{transform:scale(0)}.p-reset{margin:0;padding:0;border:0;outline:0;text-decoration:none;font-size:100%;list-style:none}.p-disabled,.p-disabled *{cursor:default!important;pointer-events:none}.p-component-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.p-overflow-hidden{overflow:hidden}.p-unselectable-text{-webkit-user-select:none;user-select:none}.p-scrollbar-measure{width:100px;height:100px;overflow:scroll;position:absolute;top:-9999px}@keyframes p-fadein{0%{opacity:0}to{opacity:1}}input[type=button],input[type=submit],input[type=reset],input[type=file]::-webkit-file-upload-button,button{border-radius:0}.p-link{text-align:left;background-color:transparent;margin:0;padding:0;border:0;cursor:pointer;-webkit-user-select:none;user-select:none}.p-link:disabled{cursor:default}.p-sr-only{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.p-connected-overlay{opacity:0;transform:scaleY(.8);transition:transform .12s cubic-bezier(0,0,.2,1),opacity .12s cubic-bezier(0,0,.2,1)}.p-connected-overlay-visible{opacity:1;transform:scaleY(1)}.p-connected-overlay-hidden{opacity:0;transform:scaleY(1);transition:opacity .1s linear}.p-toggleable-content.ng-animating{overflow:hidden}.p-badge{display:inline-block;border-radius:10px;text-align:center;padding:0 .5rem}.p-overlay-badge{position:relative}.p-overlay-badge .p-badge{position:absolute;top:0;right:0;transform:translate(50%,-50%);transform-origin:100% 0;margin:0}.p-badge-dot{width:.5rem;min-width:.5rem;height:.5rem;border-radius:50%;padding:0}.p-badge-no-gutter{padding:0;border-radius:50%}.p-button{margin:0;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;vertical-align:bottom;text-align:center;overflow:hidden;position:relative}.p-button-label{flex:1 1 auto}.p-button-icon-right{order:1}.p-button:disabled{cursor:default}.p-button-icon-only{justify-content:center}.p-button-icon-only:after{content:"p";visibility:hidden;clip:rect(0 0 0 0);width:0}.p-button-vertical{flex-direction:column}.p-button-icon-bottom{order:2}.p-buttonset .p-button{margin:0}.p-buttonset .p-button:not(:last-child){border-right:0 none}.p-buttonset .p-button:not(:first-of-type):not(:last-of-type){border-radius:0}.p-buttonset .p-button:first-of-type{border-top-right-radius:0;border-bottom-right-radius:0}.p-buttonset .p-button:last-of-type{border-top-left-radius:0;border-bottom-left-radius:0}.p-buttonset .p-button:focus{position:relative;z-index:1}.p-checkbox{display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:bottom;position:relative}.p-checkbox-disabled{cursor:default!important;pointer-events:none}.p-checkbox-box{display:flex;justify-content:center;align-items:center}p-checkbox{display:inline-flex;vertical-align:bottom;align-items:center}.p-checkbox-label{line-height:1}.p-colorpicker-panel .p-colorpicker-color{background:transparent url(color.png) no-repeat left top}.p-colorpicker-panel .p-colorpicker-hue{background:transparent url(hue.png) no-repeat left top}.p-inputtext{margin:0}.p-fluid .p-inputtext{width:100%}.p-inputgroup{display:flex;align-items:stretch;width:100%}.p-inputgroup-addon{display:flex;align-items:center;justify-content:center}.p-inputgroup .p-float-label{display:flex;align-items:stretch;width:100%}.p-inputgroup .p-inputtext,.p-fluid .p-inputgroup .p-inputtext,.p-inputgroup .p-inputwrapper,.p-inputgroup .p-inputwrapper>.p-component{flex:1 1 auto;width:1%}.p-float-label{display:block;position:relative}.p-float-label label{position:absolute;pointer-events:none;top:50%;margin-top:-.5rem;transition-property:all;transition-timing-function:ease;line-height:1}.p-float-label textarea~label{top:1rem}.p-float-label input:focus~label,.p-float-label input.p-filled~label,.p-float-label textarea:focus~label,.p-float-label textarea.p-filled~label,.p-float-label .p-inputwrapper-focus~label,.p-float-label .p-inputwrapper-filled~label{top:-.75rem;font-size:12px}.p-float-label .input:-webkit-autofill~label{top:-20px;font-size:12px}.p-float-label .p-placeholder,.p-float-label input::placeholder,.p-float-label .p-inputtext::placeholder{opacity:0;transition-property:all;transition-timing-function:ease}.p-float-label .p-focus .p-placeholder,.p-float-label input:focus::placeholder,.p-float-label .p-inputtext:focus::placeholder{opacity:1;transition-property:all;transition-timing-function:ease}.p-input-icon-left,.p-input-icon-right{position:relative;display:inline-block}.p-input-icon-left>i,.p-input-icon-right>i{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-input-icon-left,.p-fluid .p-input-icon-right{display:block;width:100%}.p-inputtextarea-resizable{overflow:hidden;resize:none}.p-fluid .p-inputtextarea{width:100%}.p-password{position:relative;display:inline-flex}.p-password-panel{position:absolute;top:0;left:0}.p-password .p-password-panel{min-width:100%}.p-password-meter{height:10px}.p-password-strength{height:100%;width:0;transition:width 1s ease-in-out}.p-fluid .p-password{display:flex}.p-password-input::-ms-reveal,.p-password-input::-ms-clear{display:none}.p-password-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-password-clearable{position:relative}.p-radiobutton{display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:bottom;position:relative}.p-radiobutton-box{display:flex;justify-content:center;align-items:center}.p-radiobutton-icon{-webkit-backface-visibility:hidden;backface-visibility:hidden;transform:translateZ(0) scale(.1);border-radius:50%;visibility:hidden}.p-radiobutton-box.p-highlight .p-radiobutton-icon{transform:translateZ(0) scale(1);visibility:visible}p-radiobutton{display:inline-flex;vertical-align:bottom;align-items:center}.p-radiobutton-label{line-height:1}.p-ripple{overflow:hidden;position:relative}.p-ink{display:block;position:absolute;background:rgba(255,255,255,.5);border-radius:100%;transform:scale(0)}.p-ink-active{animation:ripple .4s linear}.p-ripple-disabled .p-ink{display:none!important}@keyframes ripple{to{opacity:0;transform:scale(2.5)}}.p-tooltip{position:absolute;display:none;padding:.25em .5rem;max-width:12.5rem}.p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-left{padding:0 .25rem}.p-tooltip.p-tooltip-top,.p-tooltip.p-tooltip-bottom{padding:.25em 0}.p-tooltip .p-tooltip-text{white-space:pre-line;word-break:break-word}.p-tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.p-tooltip-right .p-tooltip-arrow{top:50%;left:0;margin-top:-.25rem;border-width:.25em .25em .25em 0}.p-tooltip-left .p-tooltip-arrow{top:50%;right:0;margin-top:-.25rem;border-width:.25em 0 .25em .25rem}.p-tooltip.p-tooltip-top{padding:.25em 0}.p-tooltip-top .p-tooltip-arrow{bottom:0;left:50%;margin-left:-.25rem;border-width:.25em .25em 0}.p-tooltip-bottom .p-tooltip-arrow{top:0;left:50%;margin-left:-.25rem;border-width:0 .25em .25rem}.form__buttons{display:flex;justify-content:center;margin-top:4.5rem}.form__buttons button{margin:0 .5rem}.form__group{margin:1rem 0;position:relative}.form__group:after{clear:both;content:"";display:table}.form__group .md-inputtext,.form__group>.ui-inputtext{width:100%}.ui-dialog-content .form__group:first-child{padding-top:0}.ui-dialog-content .form__group:last-child{padding-bottom:0}.form__group .ui-dropdown{width:100%}.form__group--validation{min-height:60px}.form__group--helper{position:relative}.form__group--helper input[pinputtext]{padding-right:4.5rem}.form__group--helper dot-field-helper{position:absolute;top:1.96rem;right:.25rem;z-index:1}.p-field-hint,.form__group-hint{color:#6c7389;display:block;font-size:.813rem;margin-top:.25rem}.form__label{color:var(--color-palette-black-op-60);display:block;font-size:.813rem}.form__hint-icon{border-radius:50%;border:solid 1px;color:#6c7389;cursor:pointer;margin-left:1rem;text-align:center;width:15px}.form__group .form__hint-icon:first-child{margin:0;position:absolute;right:0;top:32px;z-index:1}.form__group:first-child .form__hint-icon:first-child{top:25px}.form-group__two-cols>*:first-child{display:inline-block;padding-bottom:.5rem}@media (min-width: 40.063em){.form-group__two-cols{align-items:center;display:flex;justify-content:space-between}.form-group__two-cols>*:first-child{padding-bottom:0}}.p-component{font-family:Assistant,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:1rem;font-weight:400;line-height:normal}.p-component-overlay{background-color:#fff;transition-duration:.2s}.p-disabled,.p-component:disabled{opacity:1}.p-text-secondary{color:#14151a}.p-link{border-radius:.125rem}.p-link:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-fluid .p-inputgroup .p-button{width:auto}.p-fluid .p-inputgroup .p-button.p-button-icon-only{width:2.5rem}.p-field>label{font-size:.813rem}.formgroup-inline .field-checkbox{margin-bottom:0}.p-label-input-required:after{content:"*";color:red;margin-left:2px;vertical-align:middle}.pi{aspect-ratio:1/1;line-height:1;justify-content:center;align-items:center;display:flex;font-size:16px;width:20px}[class$=-sm] .pi{width:16px;font-size:14px}[class$=-lg] .pi{width:24px;font-size:18px}p-avatar{display:flex;justify-content:center;align-items:center}p-avatar .p-avatar.p-avatar-circle{overflow:unset}p-avatar .p-avatar.p-avatar-circle .p-badge-dot{bottom:0;top:unset;transform:unset;transform-origin:unset}p-avatar .p-avatar.p-avatar-circle img{border-radius:50%}p-avatar .p-avatar-lg{width:2.5rem;height:2.5rem}p-avatar .p-avatar-lg .p-avatar-text{font-size:2rem;line-height:2.5rem}p-avatar .p-avatar-xl{width:3rem;height:3rem}p-avatar .p-avatar-xl .p-avatar-text{font-size:2.5rem;line-height:3rem}.p-avatar{font-family:Assistant,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;color:#fff;background-color:var(--color-palette-secondary-500)}.p-avatar .p-avatar-text{font-size:1.5rem;line-height:2rem}.p-badge{background:var(--color-palette-primary-500);color:#fff;font-size:.625rem;font-weight:700;min-width:1.5rem;height:1.5rem;line-height:1.5;display:inline-flex;justify-content:center;align-items:center}.p-badge.p-badge-secondary{background-color:initial;color:var(--color-palette-secondary-500);border:1px solid var(--color-palette-secondary-500)}.p-badge.p-badge-lg{font-size:1.125rem;min-width:2.5rem;height:2.5rem}.p-badge.p-badge-xl{font-size:1.5rem;min-width:3rem;height:3rem}.p-breadcrumb ul>.p-breadcrumb-chevron.pi{color:#afb3c0}.p-breadcrumb ul>.p-breadcrumb-chevron.pi:not(:nth-child(2)){font-size:.625rem}.p-breadcrumb ul li:first-child{font-size:1.25rem}.p-breadcrumb ul li:nth-child(2):before{content:"";width:1px;height:20px;background:#afb3c0;display:block}.p-breadcrumb ul li .p-menuitem-link{transition:none;border-radius:.125rem}.p-breadcrumb ul li .p-menuitem-link:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-breadcrumb ul li .p-menuitem-link[href] .p-menuitem-text{font-size:1.25rem}.p-breadcrumb ul li .p-menuitem-link[href] .p-menuitem-text:hover{color:var(--color-palette-primary-500);text-decoration:underline}.p-breadcrumb ul li .p-menuitem-link .p-menuitem-text{color:#6c7389}.p-breadcrumb ul li .p-menuitem-link .p-menuitem-icon{color:#14151a}.p-breadcrumb ul li.p-breadcrumb-chevron{margin:0 .5rem;color:#14151a}.p-breadcrumb ul li:last-child .p-menuitem-icon{color:#14151a}#large,.p-button:not(.p-button-icon-only).p-button-lg,.p-button-lg .p-button:not(.p-button-icon-only){height:3rem;border-radius:.5rem;font-size:1.25rem}#large .p-button-label,.p-button:not(.p-button-icon-only).p-button-lg .p-button-label,.p-button-lg .p-button:not(.p-button-icon-only) .p-button-label{font-size:inherit}#large .p-button-icon,.p-button:not(.p-button-icon-only).p-button-lg .p-button-icon,.p-button-lg .p-button:not(.p-button-icon-only) .p-button-icon,#large .pi,.p-button:not(.p-button-icon-only).p-button-lg .pi,.p-button-lg .p-button:not(.p-button-icon-only) .pi{font-size:18px}#small,.p-button:not(.p-button-icon-only).p-button-sm,.p-button-sm .p-button:not(.p-button-icon-only){border-radius:.25rem;font-size:.813rem;gap:.25rem;height:2rem;padding:0 .5rem}#small .p-button-label,.p-button:not(.p-button-icon-only).p-button-sm .p-button-label,.p-button-sm .p-button:not(.p-button-icon-only) .p-button-label{font-size:inherit}#main-primary-severity,.p-button:enabled,.p-button.p-fileupload-choose{background-color:var(--color-palette-primary-500)}#main-primary-severity:hover,.p-button:hover:enabled,.p-button.p-fileupload-choose:hover{background-color:var(--color-palette-primary-600)}#main-primary-severity:active,.p-button:active:enabled,.p-button.p-fileupload-choose:active{background-color:var(--color-palette-primary-700)}#main-primary-severity:focus,.p-button:focus:enabled,.p-button.p-fileupload-choose:focus{background-color:var(--color-palette-primary-500);outline:2.8px solid var(--color-palette-primary-op-20)}#outlined-primary-severity,.p-button.p-button-outlined:enabled,.p-button.p-button-outlined:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton){background-color:transparent;border:1.5px solid var(--color-palette-primary-500)}#outlined-primary-severity .p-button-label,.p-button.p-button-outlined:enabled .p-button-label,.p-button.p-button-outlined:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .p-button-label,#outlined-primary-severity .p-button-icon,.p-button.p-button-outlined:enabled .p-button-icon,.p-button.p-button-outlined:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .p-button-icon,#outlined-primary-severity .pi,.p-button.p-button-outlined:enabled .pi,.p-button.p-button-outlined:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .pi{color:var(--color-palette-primary-500)}#outlined-primary-severity:hover,.p-button.p-button-outlined:hover:enabled,.p-button.p-button-outlined:hover:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton){background-color:var(--color-palette-primary-op-10)}#outlined-primary-severity:active,.p-button.p-button-outlined:active:enabled,.p-button.p-button-outlined:active:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton){background-color:var(--color-palette-primary-op-20)}#outlined-primary-severity:focus,.p-button.p-button-outlined:focus:enabled,.p-button.p-button-outlined:focus:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton){background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#outlined-primary-severity-sm,.p-button.p-button-outlined:enabled.p-button-sm,.p-button.p-button-outlined:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-sm{border:1px solid var(--color-palette-primary-500)}#outlined-secondary-severity,.p-button.p-button-outlined:enabled.p-button-secondary,.p-button.p-button-outlined:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-secondary,.p-button:enabled.p-button-link.p-button-secondary,.p-button.p-fileupload-choose.p-button-link.p-button-secondary{background-color:transparent;border:1.5px solid var(--color-palette-secondary-500)}#outlined-secondary-severity .p-button-label,.p-button.p-button-outlined:enabled.p-button-secondary .p-button-label,.p-button.p-button-outlined:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-secondary .p-button-label,.p-button:enabled.p-button-link.p-button-secondary .p-button-label,.p-button.p-fileupload-choose.p-button-link.p-button-secondary .p-button-label,#outlined-secondary-severity .p-button-icon,.p-button.p-button-outlined:enabled.p-button-secondary .p-button-icon,.p-button.p-button-outlined:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-secondary .p-button-icon,.p-button:enabled.p-button-link.p-button-secondary .p-button-icon,.p-button.p-fileupload-choose.p-button-link.p-button-secondary .p-button-icon,#outlined-secondary-severity .pi,.p-button.p-button-outlined:enabled.p-button-secondary .pi,.p-button.p-button-outlined:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-secondary .pi,.p-button:enabled.p-button-link.p-button-secondary .pi,.p-button.p-fileupload-choose.p-button-link.p-button-secondary .pi{color:var(--color-palette-secondary-500)}#outlined-secondary-severity:hover,.p-button.p-button-outlined.p-button-secondary:hover:enabled,.p-button.p-button-outlined.p-button-secondary:hover:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),.p-button.p-button-link.p-button-secondary:hover:enabled,.p-button.p-fileupload-choose.p-button-link.p-button-secondary:hover{background-color:var(--color-palette-secondary-op-10)}#outlined-secondary-severity:active,.p-button.p-button-outlined.p-button-secondary:active:enabled,.p-button.p-button-outlined.p-button-secondary:active:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),.p-button.p-button-link.p-button-secondary:active:enabled,.p-button.p-fileupload-choose.p-button-link.p-button-secondary:active{background-color:var(--color-palette-secondary-op-20)}#outlined-secondary-severity:focus,.p-button.p-button-outlined.p-button-secondary:focus:enabled,.p-button.p-button-outlined.p-button-secondary:focus:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),.p-button.p-button-link.p-button-secondary:focus:enabled,.p-button.p-fileupload-choose.p-button-link.p-button-secondary:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#outlined-secondary-severity-sm,.p-button.p-button-outlined:enabled.p-button-secondary.p-button-sm,.p-button.p-button-outlined:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-secondary.p-button-sm{border:1px solid var(--color-palette-secondary-500)}#text-primary-severity,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button.p-button-text{background-color:transparent;color:#14151a;overflow:hidden;max-width:100%}#text-primary-severity .p-button-label,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .p-button-label,a.p-button.p-button-text .p-button-label{color:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#text-primary-severity .p-button-icon,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .p-button-icon,a.p-button.p-button-text .p-button-icon,#text-primary-severity .pi,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .pi,a.p-button.p-button-text .pi{color:var(--color-palette-primary-500)}#text-primary-severity:hover,.p-button-text:hover:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button.p-button-text:hover{background-color:var(--color-palette-primary-op-10)}#text-primary-severity:active,.p-button-text:active:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button.p-button-text:active{background-color:var(--color-palette-primary-op-20)}#text-primary-severity:focus,.p-button-text:focus:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button.p-button-text:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#text-secondary-severity,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-secondary,a.p-button.p-button-text.p-button-secondary{background-color:transparent;color:#14151a}#text-secondary-severity.p-button-semi-transparent,.p-button-semi-transparent.p-button-text.p-button-secondary:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button-semi-transparent.p-button.p-button-text.p-button-secondary{background-color:#ffffffa6}#text-secondary-severity .p-button-label,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-secondary .p-button-label,a.p-button.p-button-text.p-button-secondary .p-button-label{color:inherit}#text-secondary-severity .p-button-icon,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-secondary .p-button-icon,a.p-button.p-button-text.p-button-secondary .p-button-icon,#text-secondary-severity .pi,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-secondary .pi,a.p-button.p-button-text.p-button-secondary .pi{color:var(--color-palette-secondary-500)}#text-secondary-severity.p-button-icon-only .p-button-icon,.p-button-icon-only.p-button-text.p-button-secondary:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .p-button-icon,a.p-button-icon-only.p-button.p-button-text.p-button-secondary .p-button-icon,#text-secondary-severity.p-button-icon-only .pi,.p-button-icon-only.p-button-text.p-button-secondary:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .pi,a.p-button-icon-only.p-button.p-button-text.p-button-secondary .pi{color:#14151a}#text-secondary-severity:hover,.p-button-text.p-button-secondary:hover:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button.p-button-text.p-button-secondary:hover{background-color:var(--color-palette-secondary-op-10)}#text-secondary-severity:active,.p-button-text.p-button-secondary:active:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button.p-button-text.p-button-secondary:active{background-color:var(--color-palette-secondary-op-20)}#text-secondary-severity:focus,.p-button-text.p-button-secondary:focus:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button.p-button-text.p-button-secondary:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#text-danger-severity,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-danger,a.p-button.p-button-text.p-button-danger{background-color:transparent;color:#d82b2e}#text-danger-severity:hover,.p-button-text.p-button-danger:hover:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button.p-button-text.p-button-danger:hover{background-color:#d82b2e1a}#text-danger-severity:active,.p-button-text.p-button-danger:active:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button.p-button-text.p-button-danger:active{background-color:#d82b2e33}#text-danger-severity:focus,.p-button-text.p-button-danger:focus:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton),a.p-button.p-button-text.p-button-danger:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#text-danger-severity .p-button-icon,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-danger .p-button-icon,a.p-button.p-button-text.p-button-danger .p-button-icon,#text-danger-severity .pi,.p-button-text:enabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-danger .pi,a.p-button.p-button-text.p-button-danger .pi{color:inherit}#button-disabled,.p-button:disabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton){background-color:#f3f3f4;color:#afb3c0}#button-disabled .p-button-label,.p-button:disabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .p-button-label,#button-disabled .p-button-icon,.p-button:disabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .p-button-icon,#button-disabled .pi,.p-button:disabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton) .pi{color:inherit}#button-disabled-outlined,.p-button:disabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-outlined{border:1.5px solid #ebecef}#button-disabled-text,.p-button:disabled:not(.p-splitbutton-defaultbutton,.p-splitbutton-menubutton).p-button-text{border:none;background-color:transparent}.p-button{border:none;color:#fff;border-radius:.375rem}.p-button .p-button-label{color:inherit;font-size:inherit;text-transform:capitalize}.p-button .p-button-icon,.p-button .pi{color:inherit}.p-button:not(.p-button-icon-only){font-size:1rem;gap:.5rem;height:2.5rem;padding:0 1rem;text-transform:capitalize}.p-button:enabled.p-button-link,.p-button.p-fileupload-choose.p-button-link{color:var(--color-palette-primary-500);background:transparent;border:transparent}.p-button:enabled.p-button-link.p-button-secondary,.p-button.p-fileupload-choose.p-button-link.p-button-secondary{border:transparent}.p-button-icon-only:not(.p-splitbutton-menubutton){height:2.5rem;width:2.5rem;min-width:2.5rem;border:none}.p-button-icon-only:not(.p-splitbutton-menubutton).p-button-sm{height:2rem;width:2rem;min-width:2rem}.p-button.p-button-vertical{height:100%;gap:.25rem;margin-bottom:0;padding:.5rem}.p-button-rounded{border-radius:50%}#large,.p-splitbutton.p-button-lg .p-splitbutton-menubutton,.p-splitbutton.p-button-lg .p-splitbutton-defaultbutton{height:3rem;border-radius:.5rem;font-size:1.25rem}#large .p-button-label,.p-splitbutton.p-button-lg .p-splitbutton-menubutton .p-button-label,.p-splitbutton.p-button-lg .p-splitbutton-defaultbutton .p-button-label{font-size:inherit}#large .p-button-icon,.p-splitbutton.p-button-lg .p-splitbutton-menubutton .p-button-icon,.p-splitbutton.p-button-lg .p-splitbutton-defaultbutton .p-button-icon,#large .pi,.p-splitbutton.p-button-lg .p-splitbutton-menubutton .pi,.p-splitbutton.p-button-lg .p-splitbutton-defaultbutton .pi{font-size:18px}#small,.p-splitbutton.p-button-sm .p-splitbutton-menubutton,.p-splitbutton.p-button-sm .p-splitbutton-defaultbutton{border-radius:.25rem;font-size:.813rem;gap:.25rem;height:2rem;padding:0 .5rem}#small .p-button-label,.p-splitbutton.p-button-sm .p-splitbutton-menubutton .p-button-label,.p-splitbutton.p-button-sm .p-splitbutton-defaultbutton .p-button-label{font-size:inherit}#main-primary-severity,.p-splitbutton .p-splitbutton-defaultbutton:enabled,.p-splitbutton .p-splitbutton-menubutton:enabled{background-color:var(--color-palette-primary-500)}#main-primary-severity:hover,.p-splitbutton .p-splitbutton-defaultbutton:hover:enabled,.p-splitbutton .p-splitbutton-menubutton:hover:enabled{background-color:var(--color-palette-primary-600)}#main-primary-severity:active,.p-splitbutton .p-splitbutton-defaultbutton:active:enabled,.p-splitbutton .p-splitbutton-menubutton:active:enabled{background-color:var(--color-palette-primary-700)}#main-primary-severity:focus,.p-splitbutton .p-splitbutton-defaultbutton:focus:enabled,.p-splitbutton .p-splitbutton-menubutton:focus:enabled{background-color:var(--color-palette-primary-500);outline:2.8px solid var(--color-palette-primary-op-20)}#main-secondary-severity,.p-splitbutton.p-button-secondary .p-splitbutton-defaultbutton:enabled,.p-splitbutton.p-button-secondary .p-splitbutton-menubutton:enabled{background-color:var(--color-palette-secondary-500)}#main-secondary-severity:hover,.p-splitbutton.p-button-secondary .p-splitbutton-defaultbutton:hover:enabled,.p-splitbutton.p-button-secondary .p-splitbutton-menubutton:hover:enabled{background-color:var(--color-palette-secondary-600)}#main-secondary-severity:active,.p-splitbutton.p-button-secondary .p-splitbutton-defaultbutton:active:enabled,.p-splitbutton.p-button-secondary .p-splitbutton-menubutton:active:enabled{background-color:var(--color-palette-secondary-700)}#main-secondary-severity:focus,.p-splitbutton.p-button-secondary .p-splitbutton-defaultbutton:focus:enabled,.p-splitbutton.p-button-secondary .p-splitbutton-menubutton:focus:enabled{background-color:var(--color-palette-secondary-500);outline:2.8px solid var(--color-palette-primary-op-20)}#outlined-primary-severity,.p-splitbutton.p-button-outlined .p-splitbutton-defaultbutton:enabled,.p-splitbutton.p-button-outlined .p-splitbutton-menubutton:enabled{background-color:transparent;border:1.5px solid var(--color-palette-primary-500)}#outlined-primary-severity .p-button-label,.p-splitbutton.p-button-outlined .p-splitbutton-defaultbutton:enabled .p-button-label,.p-splitbutton.p-button-outlined .p-splitbutton-menubutton:enabled .p-button-label,#outlined-primary-severity .p-button-icon,.p-splitbutton.p-button-outlined .p-splitbutton-defaultbutton:enabled .p-button-icon,.p-splitbutton.p-button-outlined .p-splitbutton-menubutton:enabled .p-button-icon,#outlined-primary-severity .pi,.p-splitbutton.p-button-outlined .p-splitbutton-defaultbutton:enabled .pi,.p-splitbutton.p-button-outlined .p-splitbutton-menubutton:enabled .pi{color:var(--color-palette-primary-500)}#outlined-primary-severity:hover,.p-splitbutton.p-button-outlined .p-splitbutton-defaultbutton:hover:enabled,.p-splitbutton.p-button-outlined .p-splitbutton-menubutton:hover:enabled{background-color:var(--color-palette-primary-op-10)}#outlined-primary-severity:active,.p-splitbutton.p-button-outlined .p-splitbutton-defaultbutton:active:enabled,.p-splitbutton.p-button-outlined .p-splitbutton-menubutton:active:enabled{background-color:var(--color-palette-primary-op-20)}#outlined-primary-severity:focus,.p-splitbutton.p-button-outlined .p-splitbutton-defaultbutton:focus:enabled,.p-splitbutton.p-button-outlined .p-splitbutton-menubutton:focus:enabled{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#outlined-primary-severity-sm,.p-splitbutton.p-button-outlined.p-button-sm .p-splitbutton-defaultbutton:enabled,.p-splitbutton.p-button-outlined.p-button-sm .p-splitbutton-menubutton:enabled{border:1px solid var(--color-palette-primary-500)}#outlined-secondary-severity,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-defaultbutton:enabled,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-menubutton:enabled{background-color:transparent;border:1.5px solid var(--color-palette-secondary-500)}#outlined-secondary-severity .p-button-label,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-defaultbutton:enabled .p-button-label,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-menubutton:enabled .p-button-label,#outlined-secondary-severity .p-button-icon,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-defaultbutton:enabled .p-button-icon,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-menubutton:enabled .p-button-icon,#outlined-secondary-severity .pi,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-defaultbutton:enabled .pi,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-menubutton:enabled .pi{color:var(--color-palette-secondary-500)}#outlined-secondary-severity:hover,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-defaultbutton:hover:enabled,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-menubutton:hover:enabled{background-color:var(--color-palette-secondary-op-10)}#outlined-secondary-severity:active,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-defaultbutton:active:enabled,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-menubutton:active:enabled{background-color:var(--color-palette-secondary-op-20)}#outlined-secondary-severity:focus,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-defaultbutton:focus:enabled,.p-splitbutton.p-button-outlined.p-button-secondary .p-splitbutton-menubutton:focus:enabled{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#outlined-secondary-severity-sm,.p-splitbutton.p-button-outlined.p-button-secondary.p-button-sm .p-splitbutton-defaultbutton:enabled,.p-splitbutton.p-button-outlined.p-button-secondary.p-button-sm .p-splitbutton-menubutton:enabled{border:1px solid var(--color-palette-secondary-500)}#text-primary-severity{background-color:transparent;color:#14151a;overflow:hidden;max-width:100%}#text-primary-severity .p-button-label{color:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#text-primary-severity .p-button-icon,#text-primary-severity .pi{color:var(--color-palette-primary-500)}#text-primary-severity:hover{background-color:var(--color-palette-primary-op-10)}#text-primary-severity:active{background-color:var(--color-palette-primary-op-20)}#text-primary-severity:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#button-disabled,.p-splitbutton .p-splitbutton-defaultbutton:disabled,.p-splitbutton .p-splitbutton-menubutton:disabled{background-color:#f3f3f4;color:#afb3c0}#button-disabled .p-button-label,.p-splitbutton .p-splitbutton-defaultbutton:disabled .p-button-label,.p-splitbutton .p-splitbutton-menubutton:disabled .p-button-label,#button-disabled .p-button-icon,.p-splitbutton .p-splitbutton-defaultbutton:disabled .p-button-icon,.p-splitbutton .p-splitbutton-menubutton:disabled .p-button-icon,#button-disabled .pi,.p-splitbutton .p-splitbutton-defaultbutton:disabled .pi,.p-splitbutton .p-splitbutton-menubutton:disabled .pi{color:inherit}#button-disabled-outlined,.p-splitbutton.p-button-outlined .p-splitbutton-defaultbutton:disabled,.p-splitbutton.p-button-outlined .p-splitbutton-menubutton:disabled{border:1.5px solid #ebecef}.p-splitbutton .p-splitbutton-menubutton{border-radius:0 .375rem .375rem 0;padding:0 .5rem}.p-splitbutton .p-splitbutton-defaultbutton{border-radius:.375rem 0 0 .375rem}.p-splitbutton.p-button-lg .p-splitbutton-menubutton{border-radius:0 .5rem .5rem 0}.p-splitbutton.p-button-lg .p-splitbutton-defaultbutton{border-radius:.5rem 0 0 .5rem}.p-splitbutton.p-button-sm .p-splitbutton-menubutton{border-radius:0 .25rem .25rem 0;padding:0 .25rem}.p-splitbutton.p-button-sm .p-splitbutton-defaultbutton{border-radius:.25rem 0 0 .25rem}.p-splitbutton.p-button-outlined .p-splitbutton-defaultbutton:enabled.p-button{border-right:none}.p-splitbutton.p-button-outlined.p-button-sm .p-splitbutton-defaultbutton:enabled.p-button{border-right:none}.p-card{background:#ffffff;color:#515667;border:1px solid #ebecef;border-radius:.25rem}.p-card .p-card-header{padding:1rem 1rem 0}.p-card .p-card-subtitle{font-weight:400;margin-bottom:.5rem;color:#6c7389}.p-card .p-card-body{padding:1.5rem}.p-card .p-card-body .p-card-title{font-size:1.5rem;font-weight:700;margin-bottom:.75rem}.p-card .p-card-footer{padding:1rem 0 0}.p-card .p-card{min-height:42px;display:flex;align-items:center}.p-card .p-card-body .p-card-body{padding:.5rem .75rem;width:100%}p-chip .p-chip{background-color:var(--color-palette-primary-op-10);color:var(--color-palette-primary-600);border-radius:.375rem;padding:0 .5rem;height:2.5rem;gap:.5rem}p-chip .p-chip .p-chip-icon,p-chip .p-chip .pi-chip-remove-icon{line-height:inherit}p-chip .p-chip .pi-chip-remove-icon{border-radius:.25rem}p-chip .p-chip .pi-chip-remove-icon:focus{outline:2.8px solid var(--color-palette-primary-op-20)}p-chip .p-chip.p-chip-secondary{background-color:var(--color-palette-secondary-100);color:var(--color-palette-secondary-600)}p-chip .p-chip.p-chip-warning{background-color:#fff8ec;color:#bc5b0d}p-chip .p-chip.p-chip-success{background-color:#f5fdf8;color:#0b6948}p-chip .p-chip.p-chip-error{background-color:#fff6f6;color:#d82b2e}p-chip .p-chip.p-chip-gray{background-color:#fafafb;color:#8d92a5}p-chip .p-chip.p-chip-pink{background:hsla(288deg,77%,55%,.08);color:#b31cd9}p-chip .p-chip.p-chip-sm{gap:.25rem;padding:0 .5rem;border-radius:.25rem;height:1.5rem}p-chip .p-chip.p-chip-sm .p-chip-text{font-size:14px}.p-confirm-popup{position:absolute;margin-top:.75rem;top:0;left:0;width:21.75rem;background:#ffffff;color:#515667;border:0 none;border-radius:.375rem;box-shadow:0 1px 3px var(--color-palette-black-op-10),0 1px 2px var(--color-palette-black-op-20)}.p-confirm-popup .p-confirm-popup-icon{font-size:1.5rem;color:var(--color-palette-primary-500)}.p-confirm-popup .p-confirm-popup-footer{padding:1rem;display:flex;column-gap:5px;justify-content:flex-end}.p-confirm-popup .p-confirm-popup-footer button{margin:0 0 .5rem;width:auto}.p-confirm-popup-flipped{margin-top:0;margin-bottom:.75rem}.p-confirm-popup:after,.p-confirm-popup:before{bottom:100%;left:calc(var(--overlayArrowLeft, 0) + 1.5rem);content:" ";height:0;width:0;position:absolute;pointer-events:none}.p-confirm-popup:after{border-width:8px;margin-left:-8px}.p-confirm-popup:before{border-width:10px;margin-left:-10px}.p-confirm-popup-flipped:after,.p-confirm-popup-flipped:before{bottom:auto;top:100%}.p-confirm-popup.p-confirm-popup-flipped:after{border-bottom-color:transparent}.p-confirm-popup.p-confirm-popup-flipped:before{border-bottom-color:transparent}.p-component.p-confirm-popup .p-confirm-popup-content{display:flex;align-items:flex-start;padding:1rem;gap:.5rem}.p-confirm-popup .p-button.p-button-sm{font-size:.875rem;padding:.65625rem 1.09375rem}.p-confirm-popup .p-button.p-button-text{background-color:transparent;color:var(--color-palette-primary-500);border-color:transparent}.p-confirm-popup .p-button.p-button-text.p-confirm-popup-reject{border:1.5px solid var(--color-palette-primary-400)}.p-contextmenu{padding:.5rem 0;background:#ffffff;color:#14151a;border:0 none;box-shadow:0 2px 4px -1px var(--color-palette-black-op-20),0 4px 5px 0 var(--color-palette-black-op-10),0 1px 10px 0 var(--color-palette-black-op-10);width:12.5rem}.p-contextmenu .p-menuitem-link{padding:.75rem;color:#14151a;border-radius:0;transition:none;-webkit-user-select:none;user-select:none}.p-contextmenu .p-menuitem-link .p-menuitem-text{color:#14151a}.p-contextmenu .p-menuitem-link .p-menuitem-icon{color:#14151a;margin-right:.5rem}.p-contextmenu .p-menuitem-link .p-submenu-icon{color:#14151a}.p-contextmenu .p-menuitem-link:not(.p-disabled):hover{background:var(--color-palette-primary-100)}.p-contextmenu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text{color:#14151a}.p-contextmenu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon{color:#14151a}.p-contextmenu .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon{color:#14151a}.p-contextmenu .p-menuitem-link:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-contextmenu .p-submenu-list{padding:.5rem 0;background:#ffffff;border:0 none;box-shadow:0 2px 4px -1px var(--color-palette-black-op-20),0 4px 5px 0 var(--color-palette-black-op-10),0 1px 10px 0 var(--color-palette-black-op-10)}.p-contextmenu .p-menuitem.p-menuitem-active>.p-menuitem-link{background:var(--color-palette-primary-op-10)}.p-contextmenu .p-menuitem.p-menuitem-active>.p-menuitem-link .p-menuitem-text{color:#14151a}.p-contextmenu .p-menuitem.p-menuitem-active>.p-menuitem-link .p-menuitem-icon,.p-contextmenu .p-menuitem.p-menuitem-active>.p-menuitem-link .p-submenu-icon{color:#14151a}.p-contextmenu .p-menu-separator{border-top:1px solid var(--color-palette-black-op-10);margin:.5rem 0}.p-contextmenu .p-submenu-icon{font-size:.875rem}.p-datatable .p-paginator-top,.p-datatable .p-paginator-bottom{border-width:0 0 1px 0;border-radius:0}.p-datatable .p-datatable-header,.p-datatable .p-datatable-footer{background:#ffffff;color:#14151a;border:1px solid #afb3c0;border-width:0 0 1px 0;padding:.75rem;font-weight:500}.p-datatable .p-datatable-thead>tr>th{background:#ffffff;border:1px solid #ebecef;border-width:0 0 1px 0;color:#6c7389;font-size:.813rem;font-weight:500;padding:.75rem;text-align:left;transition:none;text-wrap:nowrap}.p-datatable .p-datatable-thead>tr>th:first-child{padding-left:2rem}.p-datatable .p-datatable-thead>tr>th:last-child{padding-right:2rem}.p-datatable .p-datatable-tfoot>tr>td{text-align:left;padding:.75rem;border:1px solid #afb3c0;border-width:0 0 1px 0;font-weight:500;color:#14151a;background:#ffffff}.p-datatable .p-sortable-column{outline:0 none}.p-datatable .p-sortable-column .p-sortable-column-icon{display:inline-block;color:#6c7389;margin-left:.5rem}.p-datatable .p-sortable-column .p-sortable-column-badge{border-radius:50%;height:1.143rem;min-width:1.143rem;line-height:1.143rem;color:var(--color-palette-primary-500);background:var(--color-palette-primary-op-10);margin-left:.5rem}.p-datatable .p-sortable-column:not(.p-highlight):hover{color:#14151a}.p-datatable .p-sortable-column:not(.p-highlight):hover .p-sortable-column-icon{color:#14151a}.p-datatable .p-sortable-column.p-highlight{background:#ffffff;color:#14151a}.p-datatable .p-sortable-column.p-highlight .p-sortable-column-icon{color:#14151a}.p-datatable .p-datatable-tbody>tr{background:#ffffff;color:#14151a;height:4rem;transition:none;outline:0 none;cursor:pointer;overflow-wrap:anywhere}.p-datatable .p-datatable-tbody>tr>td{text-align:left;border:1px solid #ebecef;border-width:0 0 1px 0;padding:.5rem .75rem}.p-datatable .p-datatable-tbody>tr>td:first-child{padding-left:2rem}.p-datatable .p-datatable-tbody>tr>td:last-child{padding-right:2rem}.p-datatable .p-datatable-tbody>tr>td .p-row-toggler,.p-datatable .p-datatable-tbody>tr>td .p-row-editor-init,.p-datatable .p-datatable-tbody>tr>td .p-row-editor-save,.p-datatable .p-datatable-tbody>tr>td .p-row-editor-cancel{width:2rem;height:2rem;color:#14151a;border:0 none;background:transparent;border-radius:50%;transition:background-color .2s,color .2s,box-shadow .2s}.p-datatable .p-datatable-tbody>tr>td .p-row-toggler:enabled:hover,.p-datatable .p-datatable-tbody>tr>td .p-row-editor-init:enabled:hover,.p-datatable .p-datatable-tbody>tr>td .p-row-editor-save:enabled:hover,.p-datatable .p-datatable-tbody>tr>td .p-row-editor-cancel:enabled:hover{color:#14151a;border-color:transparent;background:var(--color-palette-primary-100)}.p-datatable .p-datatable-tbody>tr>td .p-row-toggler:focus,.p-datatable .p-datatable-tbody>tr>td .p-row-editor-init:focus,.p-datatable .p-datatable-tbody>tr>td .p-row-editor-save:focus,.p-datatable .p-datatable-tbody>tr>td .p-row-editor-cancel:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-datatable .p-datatable-tbody>tr>td .p-row-editor-save{margin-right:.5rem}.p-datatable .p-datatable-tbody>tr.p-highlight{background:var(--color-palette-primary-op-10);color:var(--color-palette-primary-500)}.p-datatable .p-datatable-tbody>tr.disabled-row{background:#f3f3f4;color:#6c7389;cursor:default}.p-datatable .p-datatable-tbody>tr.p-datatable-dragpoint-top>td{box-shadow:inset 0 2px 0 0 var(--color-palette-primary-100)}.p-datatable .p-datatable-tbody>tr.p-datatable-dragpoint-bottom>td{box-shadow:inset 0 -2px 0 0 var(--color-palette-primary-100)}.p-datatable.p-datatable-hoverable-rows .p-datatable-tbody>tr:not(.p-highlight):hover{background:var(--color-palette-primary-100);color:#14151a;transition:background-color ease-in .15s}.p-datatable.p-datatable-hoverable-rows .p-datatable-tbody>tr.disabled-row:hover{background:#f3f3f4;color:#6c7389}.p-datatable .p-column-resizer-helper{background:var(--color-palette-primary-500)}.p-datatable .p-datatable-scrollable-header,.p-datatable .p-datatable-scrollable-footer{background:#ffffff}.p-datatable .p-datatable-loading-icon{font-size:3rem;color:var(--color-palette-secondary-500)}.p-datatable.p-datatable-gridlines .p-datatable-header{border-width:1px 1px 0 1px}.p-datatable.p-datatable-gridlines .p-datatable-footer{border-width:0 1px 1px 1px}.p-datatable.p-datatable-gridlines .p-paginator-top{border-width:0 1px 0 1px}.p-datatable.p-datatable-gridlines .p-paginator-bottom{border-width:0 1px 1px 1px}.p-datatable.p-datatable-gridlines .p-datatable-thead>tr>th{border-width:1px 1px 1px 1px}.p-datatable.p-datatable-gridlines .p-datatable-tbody>tr>td{border-width:1px}.p-datatable.p-datatable-gridlines .p-datatable-tfoot>tr>td{border-width:1px}.p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(even){background:rgba(0,0,0,.02)}.p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(even).p-highlight{background:var(--color-palette-primary-100);color:var(--color-palette-primary-500)}.p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(even).p-highlight .p-row-toggler{color:var(--color-palette-primary-500)}.p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(even).p-highlight .p-row-toggler:hover{color:#14151a}.p-datatable.p-datatable-sm .p-datatable-header{padding:.375rem}.p-datatable.p-datatable-sm .p-datatable-thead>tr>th{padding:.375rem}.p-datatable.p-datatable-sm .p-datatable-tbody>tr>td{padding:.375rem}.p-datatable.p-datatable-sm .p-datatable-tfoot>tr>td{padding:.375rem}.p-datatable.p-datatable-sm .p-datatable-footer{padding:.375rem}.p-datatable.p-datatable-lg .p-datatable-header{padding:.9375rem}.p-datatable.p-datatable-lg .p-datatable-thead>tr>th{padding:.9375rem}.p-datatable.p-datatable-lg .p-datatable-tbody>tr>td{padding:.9375rem}.p-datatable.p-datatable-lg .p-datatable-tfoot>tr>td{padding:.9375rem}.p-datatable.p-datatable-lg .p-datatable-footer{padding:.9375rem}.p-datatable .p-sortable-column:focus{background-color:var(--color-palette-primary-100)}.p-datatable .p-datatable-tbody>tr:not(.p-highlight):focus{background-color:var(--color-palette-primary-100)}.p-dataview .p-paginator-top,.p-dataview .p-paginator-bottom{border-width:0 0 1px 0;border-radius:0}.p-dataview .p-dataview-header{background:#ffffff;color:#000001;border:1px solid #afb3c0;border-width:0 0 1px 0;padding:.75rem;font-weight:500}.p-dataview .p-dataview-content{background:#ffffff;color:#000001;border:0 none;padding:.75rem}.p-dataview.p-dataview-list .p-dataview-content>.grid>div{border:solid var(--color-palette-black-op-10);border-width:0 0 1px 0}.p-dataview .p-dataview-footer{background:#ffffff;color:#000001;border:1px solid #afb3c0;border-width:0 0 1px 0;padding:.75rem;font-weight:500;border-bottom-left-radius:.125rem;border-bottom-right-radius:.125rem}.p-dataview .p-dataview-loading-icon{font-size:2rem}.p-dataview .p-dataview-emptymessage{padding:.75rem}.p-dialog{border-radius:.375rem;box-shadow:0 11px 15px -7px var(--color-palette-black-op-20),0 24px 38px 3px var(--color-palette-black-op-10),0 9px 46px 8px var(--color-palette-black-op-10);border:0 none;overflow:auto}.p-dialog .p-dialog-header{border-bottom:0 none;background:#ffffff;color:#14151a;padding:2.5rem;border-top-right-radius:.375rem;border-top-left-radius:.375rem}.p-dialog .p-dialog-header .p-dialog-title{font-size:1.5rem}.p-dialog .p-dialog-header .p-dialog-header-icon{width:2rem;height:2rem;color:#14151a;border:0 none;background:transparent;border-radius:50%;transition:background-color .2s,color .2s,box-shadow .2s;margin-right:.5rem}.p-dialog .p-dialog-header .p-dialog-header-icon:enabled:hover{color:#14151a;border-color:transparent;background:var(--color-palette-primary-100)}.p-dialog .p-dialog-header .p-dialog-header-icon:focus{outline:0 none;outline-offset:0;box-shadow:0 0 0 4px var(--color-palette-secondary-op-20)}.p-dialog .p-dialog-header .p-dialog-header-icon:last-child{margin-right:0}.p-dialog .p-dialog-content{background:#ffffff;color:#14151a;padding:0 2.5rem 2.5rem}.p-dialog .p-dialog-footer{border-top:0 none;background:#ffffff;color:#14151a;padding:1.5rem;text-align:right;border-bottom-right-radius:.125rem;border-bottom-left-radius:.125rem}.p-dialog .p-dialog-footer button{margin:0 .5rem 0 0;width:auto}.p-dialog.p-confirm-dialog .p-confirm-dialog-icon{font-size:1.75rem;padding-right:.5rem;color:var(--color-palette-primary-500)}.p-dialog.p-confirm-dialog .p-confirm-dialog-message{line-height:1.5em}.p-dialog-mask.p-component-overlay{background-color:var(--color-palette-black-op-80);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.p-dialog-header .p-dialog-header-icons .p-dialog-header-close{background-color:#f3f3f4;color:var(--color-palette-primary-500);border-radius:0}.p-dialog-mask.p-dialog-mask-transparent.p-component-overlay{background-color:transparent;-webkit-backdrop-filter:blur(.375rem);backdrop-filter:blur(.375rem)}.p-divider-solid.p-divider-vertical:before{border-left-width:1.4px}.p-divider.p-component{color:#afb3c0}p-dynamicdialog .p-component-overlay{align-items:baseline;padding:7rem}#form-field-base,#form-field-extend,.p-autocomplete{background-color:#fff;height:2.5rem;border-radius:.375rem;border:1.5px solid #d1d4db;padding:0 .5rem;color:#6c7389;font-size:1rem}#form-field-base.p-filled,.p-filled#form-field-extend,.p-filled.p-autocomplete{color:#14151a}#form-field-hover,#form-field-states:enabled:hover,#form-field-extend:enabled:hover,.p-autocomplete:enabled:hover,#form-field-states:hover,#form-field-extend:hover,.p-autocomplete:hover{border-color:var(--color-palette-primary-400)}#form-field-focus,p-autocomplete.p-inputwrapper-focus .p-autocomplete,#form-field-states:enabled:active,#form-field-extend:enabled:active,.p-autocomplete:enabled:active,#form-field-states:enabled:focus,#form-field-extend:enabled:focus,.p-autocomplete:enabled:focus,#form-field-states:active,#form-field-extend:active,.p-autocomplete:active,#form-field-states:focus,#form-field-extend:focus,.p-autocomplete:focus{border-color:var(--color-palette-primary-400);outline:2.8px solid var(--color-palette-primary-op-20)}#form-field-disabled,#field-panel-item-disabled,#form-field-states:disabled,#form-field-extend:disabled,.p-autocomplete:disabled{border-color:#f3f3f4;background:#fafafb;color:#afb3c0}#field-trigger,.p-autocomplete-dropdown.p-element.p-button{background:#f3f3f4;color:var(--color-palette-primary-500);width:2.5rem;border-top-right-radius:.375rem;border-bottom-right-radius:.375rem;height:100%}#field-trigger-icon,.p-autocomplete-dropdown.p-element.p-button .p-button-icon{padding:.5rem;font-size:14px}#field-panel,.p-autocomplete-panel{background:#ffffff;color:#14151a;border:0 none;border-radius:.375rem;box-shadow:0 0 4px #14151a0a,0 8px 16px #14151a14;padding:.5rem;margin-top:.5rem}#field-panel-items,.p-autocomplete-panel .p-autocomplete-items{padding:0}#field-panel-item,.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item{display:flex;align-items:center;padding:0 .75rem;color:#14151a;height:2.5rem;gap:.5rem}#field-panel-item-highlight,.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item.p-highlight{background:var(--color-palette-primary-200)}#field-panel-item-hover,.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item:hover{background:var(--color-palette-primary-100)}#field-chip,.p-autocomplete.p-autocomplete-multiple .p-autocomplete-multiple-container .p-autocomplete-token{height:1.5rem;padding:.5rem;background:var(--color-palette-primary-200);border-radius:.25rem;color:var(--color-palette-primary-500);font-size:.813rem;display:flex;align-items:center;justify-content:center;gap:.25rem}.p-fluid .p-autocomplete.p-component,.p-autocomplete.p-component{display:grid;align-items:center;grid-template-columns:auto repeat(3,max-content)}.p-autocomplete{height:auto;padding-right:0}.p-autocomplete .p-autocomplete-loader,.p-autocomplete .p-autocomplete-clear-icon{position:unset;color:var(--color-palette-primary-500);margin:0 .25rem}.p-autocomplete .p-autocomplete-clear-icon{grid-column-start:3;grid-row-start:1}.p-autocomplete .p-autocomplete-loader{grid-column-start:2}.p-autocomplete .p-autocomplete-input.p-component{all:unset;border:none;font-family:Assistant,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:1rem;color:#14151a;padding:0;margin:0;width:100%;height:calc(2.5rem - 3px)}.p-autocomplete.p-autocomplete-dd .p-autocomplete-loader,.p-autocomplete.p-autocomplete-dd .p-autocomplete-clear-icon{right:3rem}.p-autocomplete .p-autocomplete-dropdown.p-button.p-element:hover,.p-autocomplete .p-autocomplete-dropdown.p-button.p-element:focus,.p-autocomplete .p-autocomplete-dropdown.p-button.p-element:active{outline:none;background-color:#f3f3f4}.p-autocomplete.p-autocomplete-multiple .p-autocomplete-multiple-container{display:flex;align-items:center;max-height:13rem;overflow:auto;gap:.25rem;padding:7px 0 6px}.p-autocomplete.p-autocomplete-multiple .p-autocomplete-multiple-container:hover,.p-autocomplete.p-autocomplete-multiple .p-autocomplete-multiple-container:active,.p-autocomplete.p-autocomplete-multiple .p-autocomplete-multiple-container.p-focus{border:none}.p-autocomplete.p-autocomplete-multiple .p-autocomplete-multiple-container .p-autocomplete-input-token input{font-family:Assistant,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:1rem;color:#14151a;padding:0;margin:0;height:1.5rem}.p-autocomplete.p-error>.p-inputtext,.p-autocomplete.p-invalid>.p-inputtext{border-color:#d82b2e}p-autocomplete.ng-dirty.ng-invalid>.p-autocomplete>.p-inputtext{border-color:#d82b2e}.p-autocomplete-dropdown.p-element.p-button{grid-column-start:4}.p-autocomplete-dropdown.p-element.p-button .p-button-icon{display:flex;align-items:center;justify-content:center}.p-autocomplete-dropdown.p-element.p-button:hover,.p-autocomplete-dropdown.p-element.p-button:active,.p-autocomplete-dropdown.p-element.p-button.p-focus{outline:none}#large{height:3rem;border-radius:.5rem;font-size:1.25rem}#large .p-button-label{font-size:inherit}#large .p-button-icon,#large .pi{font-size:18px}#small{border-radius:.25rem;font-size:.813rem;gap:.25rem;height:2rem;padding:0 .5rem}#small .p-button-label{font-size:inherit}#main-primary-severity{background-color:var(--color-palette-primary-500)}#main-primary-severity:hover{background-color:var(--color-palette-primary-600)}#main-primary-severity:active{background-color:var(--color-palette-primary-700)}#main-primary-severity:focus{background-color:var(--color-palette-primary-500);outline:2.8px solid var(--color-palette-primary-op-20)}#main-secondary-severity{background-color:var(--color-palette-secondary-500)}#main-secondary-severity:hover{background-color:var(--color-palette-secondary-600)}#main-secondary-severity:active{background-color:var(--color-palette-secondary-700)}#main-secondary-severity:focus{background-color:var(--color-palette-secondary-500);outline:2.8px solid var(--color-palette-primary-op-20)}#outlined-primary-severity,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-prev,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-next{background-color:transparent;border:1.5px solid var(--color-palette-primary-500)}#outlined-primary-severity .p-button-label,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-prev .p-button-label,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-next .p-button-label,#outlined-primary-severity .p-button-icon,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-prev .p-button-icon,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-next .p-button-icon,#outlined-primary-severity .pi,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-prev .pi,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-next .pi{color:var(--color-palette-primary-500)}#outlined-primary-severity:hover,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-prev:hover,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-next:hover{background-color:var(--color-palette-primary-op-10)}#outlined-primary-severity:active,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-prev:active,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-next:active{background-color:var(--color-palette-primary-op-20)}#outlined-primary-severity:focus,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-prev:focus,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-next:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#outlined-primary-severity-sm{border:1px solid var(--color-palette-primary-500)}#outlined-secondary-severity{background-color:transparent;border:1.5px solid var(--color-palette-secondary-500)}#outlined-secondary-severity .p-button-label,#outlined-secondary-severity .p-button-icon,#outlined-secondary-severity .pi{color:var(--color-palette-secondary-500)}#outlined-secondary-severity:hover{background-color:var(--color-palette-secondary-op-10)}#outlined-secondary-severity:active{background-color:var(--color-palette-secondary-op-20)}#outlined-secondary-severity:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#outlined-secondary-severity-sm{border:1px solid var(--color-palette-secondary-500)}#text-primary-severity,.p-calendar .p-datepicker .p-timepicker button{background-color:transparent;color:#14151a;overflow:hidden;max-width:100%}#text-primary-severity .p-button-label,.p-calendar .p-datepicker .p-timepicker button .p-button-label{color:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#text-primary-severity .p-button-icon,.p-calendar .p-datepicker .p-timepicker button .p-button-icon,#text-primary-severity .pi,.p-calendar .p-datepicker .p-timepicker button .pi{color:var(--color-palette-primary-500)}#text-primary-severity:hover,.p-calendar .p-datepicker .p-timepicker button:hover{background-color:var(--color-palette-primary-op-10)}#text-primary-severity:active,.p-calendar .p-datepicker .p-timepicker button:active{background-color:var(--color-palette-primary-op-20)}#text-primary-severity:focus,.p-calendar .p-datepicker .p-timepicker button:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#text-secondary-severity{background-color:transparent;color:#14151a}#text-secondary-severity.p-button-semi-transparent{background-color:#ffffffa6}#text-secondary-severity .p-button-label{color:inherit}#text-secondary-severity .p-button-icon,#text-secondary-severity .pi{color:var(--color-palette-secondary-500)}#text-secondary-severity.p-button-icon-only .p-button-icon,#text-secondary-severity.p-button-icon-only .pi{color:#14151a}#text-secondary-severity:hover{background-color:var(--color-palette-secondary-op-10)}#text-secondary-severity:active{background-color:var(--color-palette-secondary-op-20)}#text-secondary-severity:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#text-danger-severity{background-color:transparent;color:#d82b2e}#text-danger-severity:hover{background-color:#d82b2e1a}#text-danger-severity:active{background-color:#d82b2e33}#text-danger-severity:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}#text-danger-severity .p-button-icon,#text-danger-severity .pi{color:inherit}#button-disabled{background-color:#f3f3f4;color:#afb3c0}#button-disabled .p-button-label,#button-disabled .p-button-icon,#button-disabled .pi{color:inherit}#button-disabled-outlined{border:1.5px solid #ebecef}#button-disabled-text{border:none;background-color:transparent}.p-calendar.p-calendar-w-btn{border-radius:.375rem;height:2.5rem;box-sizing:border-box;border:1.5px solid #d1d4db}.p-calendar.p-calendar-w-btn input{height:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.p-calendar.p-calendar-w-btn:focus-within{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}.p-calendar.p-calendar-w-btn:hover{border-color:var(--color-palette-primary-400)}.p-calendar.p-calendar-w-btn.p-calendar-disabled{border-color:#f3f3f4}.p-calendar.p-calendar-w-btn input.p-inputtext,.p-calendar.p-calendar-w-btn input.p-inputtext:focus,.p-calendar.p-calendar-w-btn input.p-inputtext:hover,.p-calendar.p-calendar-w-btn .p-button:focus{outline:transparent;border-right:none;border-color:transparent}.p-calendar.p-calendar-w-btn .p-button:disabled.p-datepicker-trigger,.p-calendar.p-calendar-w-btn .p-button:enabled.p-datepicker-trigger{height:auto;aspect-ratio:1/1;background-color:#f3f3f4}.p-calendar.p-calendar-w-btn .p-button:disabled.p-datepicker-trigger .pi,.p-calendar.p-calendar-w-btn .p-button:enabled.p-datepicker-trigger .pi{width:24px;font-size:18px}.p-calendar.p-calendar-w-btn .p-button:enabled.p-datepicker-trigger .pi{color:var(--color-palette-primary-500)}.p-calendar .p-datepicker{padding:1rem;background:#ffffff;color:#14151a;border-radius:.375rem}.p-calendar .p-datepicker:not(.p-datepicker-inline){margin-top:1rem;box-shadow:0 0 4px #14151a0a,0 8px 16px #14151a14;min-width:auto;display:flex;flex-direction:column;gap:1rem}.p-calendar .p-datepicker .p-datepicker-calendar span,.p-calendar .p-datepicker .p-monthpicker span,.p-calendar .p-datepicker .p-yearpicker span{display:inline-flex;justify-content:center;align-items:center;border-radius:50%;transition:background-color .15s;color:#14151a}.p-calendar .p-datepicker .p-datepicker-calendar span:hover,.p-calendar .p-datepicker .p-monthpicker span:hover,.p-calendar .p-datepicker .p-yearpicker span:hover{cursor:pointer;background:var(--color-palette-primary-op-10)}.p-calendar .p-datepicker .p-datepicker-calendar span.p-disabled,.p-calendar .p-datepicker .p-monthpicker span.p-disabled,.p-calendar .p-datepicker .p-yearpicker span.p-disabled{color:#afb3c0}.p-calendar .p-datepicker .p-datepicker-calendar span.p-highlight:not(.p-disabled),.p-calendar .p-datepicker .p-monthpicker span.p-highlight:not(.p-disabled),.p-calendar .p-datepicker .p-yearpicker span.p-highlight:not(.p-disabled){background:var(--color-palette-primary-op-10);color:var(--color-palette-primary-600)}.p-calendar .p-datepicker .p-datepicker-group{display:flex;flex-direction:column;gap:1rem}.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header{color:#14151a;background:#ffffff;margin:0;min-height:40px}.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-title{line-height:2rem;display:flex;gap:.5rem}.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-title .p-datepicker-year,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-title .p-datepicker-month,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-title .p-datepicker-decade{font-size:1.25rem;font-family:Assistant,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-weight:400;color:inherit}.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-title .p-datepicker-year:hover,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-title .p-datepicker-month:hover,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-title .p-datepicker-decade:hover{color:var(--color-palette-primary-500)}.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-prev,.p-calendar .p-datepicker .p-datepicker-group .p-datepicker-header .p-datepicker-next{height:2.5rem;width:2.5rem;border-radius:50%}.p-calendar .p-datepicker .p-datepicker-group table.p-datepicker-calendar tbody{gap:.5rem;display:flex;flex-direction:column}.p-calendar .p-datepicker .p-datepicker-group table.p-datepicker-calendar tr{display:flex;gap:.5rem}.p-calendar .p-datepicker .p-datepicker-group table.p-datepicker-calendar td,.p-calendar .p-datepicker .p-datepicker-group table.p-datepicker-calendar th{border-spacing:0;padding:0;margin:0;color:#14151a}.p-calendar .p-datepicker .p-datepicker-group table.p-datepicker-calendar th{font-size:1rem;font-weight:500}.p-calendar .p-datepicker .p-datepicker-group table.p-datepicker-calendar span{width:2.5rem;height:2.5rem}.p-calendar .p-datepicker .p-datepicker-group table.p-datepicker-calendar th>span{width:2.5rem;height:22px}.p-calendar .p-datepicker .p-datepicker-group table.p-datepicker-calendar td.p-datepicker-today>span:not(.p-highlight){background:#ebecef;border-color:transparent}.p-calendar .p-datepicker .p-timepicker{gap:.25rem;border-top:1px solid #ebecef;padding:1rem}.p-calendar .p-datepicker .p-timepicker span{font-size:1rem;font-weight:400;width:2rem;height:2rem;display:flex;justify-content:center;align-content:center;flex-wrap:wrap}.p-calendar .p-datepicker .p-timepicker span.pi{width:24px;height:auto;aspect-ratio:1/1;font-size:18px;color:var(--color-palette-primary-500)}.p-calendar .p-datepicker .p-timepicker button{border-radius:.25rem}.p-calendar .p-datepicker.p-datepicker-timeonly .p-timepicker{border-top:0 none}.p-calendar .p-datepicker .p-monthpicker,.p-calendar .p-datepicker .p-yearpicker{display:grid;grid-template-columns:repeat(3,1fr);justify-items:center;gap:.5rem;width:328px}.p-calendar .p-datepicker .p-monthpicker span,.p-calendar .p-datepicker .p-yearpicker span{width:4.5rem;height:2.5rem;border-radius:100px}p-calendar.p-calendar-clearable .p-inputtext{padding-right:2.5rem}p-calendar.p-calendar-clearable .p-calendar-clear-icon{margin-top:-12px;color:#afb3c0;width:24px;font-size:18px;right:44px}p-calendar.p-calendar-clearable .p-calendar-clear-icon:hover{color:var(--color-palette-primary-600)}p-checkbox.p-element{gap:.5rem}p-checkbox.p-element.ng-dirty.ng-invalid .p-checkbox{border-color:#f65446}.p-checkbox{height:1.5rem;aspect-ratio:1/1;border-radius:.25rem;border:2px solid #d1d4db}.p-checkbox.p-checkbox-checked,.p-checkbox:has(.p-highlight){border-color:var(--color-palette-primary-500)}.p-checkbox.p-checkbox-disabled{border-color:#d1d4db;background-color:#f3f3f4}.p-checkbox.p-checkbox-disabled .p-checkbox-box.p-highlight .p-checkbox-icon{color:#d1d4db}.p-checkbox .p-checkbox-box{height:1.25rem;aspect-ratio:1/1}.p-checkbox+.p-checkbox-label.p-disabled{color:#afb3c0}.p-checkbox+.p-checkbox-label:hover{cursor:pointer}.p-checkbox:hover:not(:has(.p-checkbox-disabled)){cursor:pointer;border-color:var(--color-palette-primary-400)}.p-checkbox.p-checkbox-focused{outline:1.5px solid var(--color-palette-primary-op-20)}p-chips.ng-dirty.ng-invalid>.p-chips>.p-inputtext{border-color:#d82b2e}.p-chips .p-chips-multiple-container{padding:.375rem .75rem}.p-chips .p-chips-multiple-container:not(.p-disabled):hover{border-color:var(--color-palette-primary-500)}.p-chips .p-chips-multiple-container:not(.p-disabled).p-focus{outline:0 none;outline-offset:0;border-color:var(--color-palette-primary-500);box-shadow:inset 0 0 0 1px var(--color-palette-primary-500),inset 0 0 0 1px var(--color-palette-primary-500),inset 0 0 0 1px var(--color-palette-primary-500),inset 0 0 0 1px var(--color-palette-primary-500)}.p-chips .p-chips-multiple-container .p-chips-token{padding:.375rem .75rem;margin-right:.5rem;background:var(--color-palette-primary-op-10);color:var(--color-palette-primary-500);border-radius:.125rem}.p-chips .p-chips-multiple-container .p-chips-token .p-chips-token-icon{margin-left:.5rem}.p-chips .p-chips-multiple-container .p-chips-input-token{padding:.375rem 0}.p-chips .p-chips-multiple-container .p-chips-input-token input{font-family:Assistant,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:1rem;color:#14151a;padding:0;margin:0}.p-chips.p-error>.p-inputtext,.p-chips.p-invalid>.p-inputtext{border-color:#d82b2e}#form-field-base,.p-dropdown,#form-field-extend{background-color:#fff;height:2.5rem;border-radius:.375rem;border:1.5px solid #d1d4db;padding:0 .5rem;color:#6c7389;font-size:1rem}#form-field-base.p-filled,.p-filled.p-dropdown,.p-filled#form-field-extend{color:#14151a}#form-field-sm,p-dropdown.p-dropdown-sm .p-dropdown{height:2rem;font-size:.813rem;border-radius:.25rem}#form-field-hover,.p-dropdown:not(.p-disabled):hover,#form-field-states:enabled:hover,#form-field-extend:enabled:hover,#form-field-states:hover,#form-field-extend:hover{border-color:var(--color-palette-primary-400)}#form-field-focus,.p-dropdown:not(.p-disabled).p-focus,.p-dropdown.p-dropdown-open,#form-field-states:enabled:active,#form-field-extend:enabled:active,#form-field-states:enabled:focus,#form-field-extend:enabled:focus,#form-field-states:active,#form-field-extend:active,#form-field-states:focus,#form-field-extend:focus{border-color:var(--color-palette-primary-400);outline:2.8px solid var(--color-palette-primary-op-20)}#form-field-disabled,.p-dropdown.p-disabled,#field-panel-item-disabled,.p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-disabled,.p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight.p-disabled,#form-field-states:disabled,#form-field-extend:disabled{border-color:#f3f3f4;background:#fafafb;color:#afb3c0}#field-trigger,.p-dropdown .p-dropdown-trigger{background:#f3f3f4;color:var(--color-palette-primary-500);width:2.5rem;border-top-right-radius:.375rem;border-bottom-right-radius:.375rem;height:100%}#field-trigger-sm,p-dropdown.p-dropdown-sm .p-dropdown .p-dropdown-trigger{width:2rem;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}#field-trigger-icon,.p-dropdown .p-dropdown-trigger .p-dropdown-trigger-icon{padding:.5rem;font-size:14px}#field-panel,.p-dropdown-panel{background:#ffffff;color:#14151a;border:0 none;border-radius:.375rem;box-shadow:0 0 4px #14151a0a,0 8px 16px #14151a14;padding:.5rem;margin-top:.5rem}#field-panel-header,.p-dropdown-panel .p-dropdown-header{padding:.75rem;border-bottom:1.5px solid var(--color-palette-black-op-10);color:#14151a;background:#ffffff;margin:0;border-top-right-radius:.125rem;border-top-left-radius:.125rem}#field-panel-filter,.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-container .p-dropdown-filter{padding-right:3rem;color:#14151a}#field-panel-filter-icon,.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-container .p-dropdown-filter-icon{right:.75rem;color:var(--color-palette-primary-500)}#field-panel-items,.p-dropdown-panel .p-dropdown-items{padding:0}#field-panel-item,.p-dropdown-panel .p-dropdown-items .p-dropdown-item{display:flex;align-items:center;padding:0 .75rem;color:#14151a;height:2.5rem;gap:.5rem}#field-panel-item-highlight,.p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight{background:var(--color-palette-primary-200)}#field-panel-item-hover,.p-dropdown-panel .p-dropdown-items .p-dropdown-item:not(.p-highlight):not(.p-disabled):hover{background:var(--color-palette-primary-100)}#field-panel-item-disabled,.p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-disabled,.p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight.p-disabled{cursor:initial}p-dropdown.p-inputwrapper-filled .p-dropdown .p-element.p-dropdown-label,p-dropdown.p-inputwrapper-filled .p-dropdown input.p-dropdown-label{color:#14151a}p-dropdown.ng-dirty.ng-invalid>.p-dropdown{border-color:#f65446}.p-fluid .p-dropdown input.p-dropdown-label{width:100%}.p-dropdown{padding-right:0;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none}.p-dropdown .p-element.p-dropdown-label,.p-dropdown .p-dropdown-label{padding-right:.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.p-dropdown:has(.p-dropdown-clear-icon) .p-dropdown-label{padding-right:2rem}.p-dropdown input.p-dropdown-label{all:unset;width:100%}.p-dropdown .p-dropdown-clear-icon{color:var(--color-palette-primary-500);right:3rem}.p-dropdown.p-disabled .p-dropdown-trigger{color:#afb3c0}.p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message{padding:.75rem;color:#14151a;background:transparent}.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group{margin:0;padding:.75rem;color:#14151a;background-color:#f3f3f4;font-weight:700;-webkit-user-select:none;cursor:default;user-select:none}.p-dropdown-panel.p-error,.p-dropdown-panel.p-invalid{border-color:#f65446}.p-float-label>label{left:.75rem;color:#14151a;transition-duration:.2s}.p-float-label .p-autocomplete-multiple-container .p-autocomplete-token,.p-float-label .p-chips-multiple-container .p-chips-token{padding:.25rem 1rem}.p-float-label input:focus~label,.p-float-label input.p-filled~label,.p-float-label textarea:focus~label,.p-float-label textarea.p-filled~label,.p-float-label .p-inputwrapper-focus~label,.p-float-label .p-inputwrapper-filled~label{top:-.5rem!important;background-color:#fff;padding:2px 4px;margin-left:-4px;margin-top:0}.p-float-label textarea~label{margin-top:0}.p-float-label input:focus~label,.p-float-label .p-inputwrapper-focus~label{color:#14151a}#form-field-hover,#form-field-states:enabled:hover,.p-inputgroup:enabled:hover,#form-field-extend:enabled:hover,#form-field-states:hover,.p-inputgroup:hover,#form-field-extend:hover{border-color:var(--color-palette-primary-400)}#form-field-focus,#form-field-states:enabled:active,.p-inputgroup:enabled:active,#form-field-extend:enabled:active,#form-field-states:enabled:focus,.p-inputgroup:enabled:focus,#form-field-extend:enabled:focus,#form-field-states:active,.p-inputgroup:active,#form-field-extend:active,#form-field-states:focus,.p-inputgroup:focus,#form-field-extend:focus{border-color:var(--color-palette-primary-400);outline:2.8px solid var(--color-palette-primary-op-20)}#form-field-disabled,#field-panel-item-disabled,#form-field-states:disabled,.p-inputgroup:disabled,#form-field-extend:disabled{border-color:#f3f3f4;background:#fafafb;color:#afb3c0}.p-inputgroup-addon{height:2.5rem;background:#ffffff;color:#14151a;padding:.75rem;border:none;border-right:1.5px solid #d1d4db;min-width:2.357rem;z-index:1}.p-inputgroup-addon:last-child{border-right:none}.p-inputgroup{border:1.5px solid #d1d4db;border-radius:.375rem;overflow:hidden}.p-inputgroup .p-inputtext.p-element{border:none}.p-inputgroup .p-inputtext.p-element:has(+ .p-inputgroup-addon){border-right:1.5px solid #d1d4db;border-radius:0}.p-inputgroup .p-inputtext.p-element:has(+ .p-inputgroup-addon):hover{border-color:#d1d4db}.p-inputgroup .p-inputtext.p-element:has(+ .p-inputgroup-addon):focus{border-color:#d1d4db}.p-inputgroup .p-inputgroup-addon:first-child,.p-inputgroup .p-component:first-child{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem;border-top-right-radius:0;border-bottom-right-radius:0}.p-inputgroup .p-inputgroup-addon:last-child,.p-inputgroup .p-component:last-child{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem;border-top-left-radius:0;border-bottom-left-radius:0}.p-inputswitch.p-component{width:2.75rem;height:1rem;display:block}.p-inputswitch .p-inputswitch-slider{background:#afb3c0;transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s,background-size .2s cubic-bezier(.64,.09,.08,1);border-radius:.5rem}.p-inputswitch .p-inputswitch-slider:before{background:#ffffff;width:1.5rem;height:1.5rem;left:-1px;margin-top:-.75rem;border-radius:50%;transition-duration:.2s;transition-property:box-shadow transform;box-shadow:0 3px 1px -2px var(--color-palette-black-op-20),0 2px 2px 0 var(--color-palette-black-op-10),0 1px 5px 0 var(--color-palette-black-op-10)}.p-inputswitch.p-inputswitch-checked .p-inputswitch-slider:before{transform:translate(1.5rem);background:var(--color-palette-primary-500)}.p-inputswitch.p-focus .p-inputswitch-slider{outline:0 none;outline-offset:0;box-shadow:none}.p-inputswitch:not(.p-disabled):hover .p-inputswitch-slider{background:#afb3c0}.p-inputswitch.p-inputswitch-checked .p-inputswitch-slider{background:var(--color-palette-primary-op-10)}.p-inputswitch.p-inputswitch-checked:not(.p-disabled):hover .p-inputswitch-slider{background:var(--color-palette-primary-100)}.p-inputswitch:not(.p-disabled):hover .p-inputswitch-slider:before{box-shadow:0 3px 1px -2px var(--color-palette-black-op-20),0 2px 2px 0 var(--color-palette-black-op-10),0 1px 5px 0 var(--color-palette-black-op-10),0 0 1px 10px #0000000a}.p-inputswitch.p-inputswitch-focus .p-inputswitch-slider:before,.p-inputswitch.p-inputswitch-focus:not(.p-disabled):hover .p-inputswitch-slider:before{box-shadow:0 0 1px 10px var(--color-palette-black-op-10),0 3px 1px -2px var(--color-palette-black-op-20),0 2px 2px 0 var(--color-palette-black-op-10),0 1px 5px 0 var(--color-palette-black-op-10)}.p-inputswitch.p-inputswitch-checked:not(.p-disabled):hover .p-inputswitch-slider:before{box-shadow:0 0 1px 10px #3f51b50a,0 3px 1px -2px var(--color-palette-black-op-20),0 2px 2px 0 var(--color-palette-black-op-10),0 1px 5px 0 var(--color-palette-black-op-10)}.p-inputswitch.p-inputswitch-checked.p-inputswitch-focus .p-inputswitch-slider:before,.p-inputswitch.p-inputswitch-checked.p-inputswitch-focus:not(.p-disabled):hover .p-inputswitch-slider:before{box-shadow:0 0 1px 10px #3f51b51f,0 3px 1px -2px var(--color-palette-black-op-20),0 2px 2px 0 var(--color-palette-black-op-10),0 1px 5px 0 var(--color-palette-black-op-10)}#form-field-base,#form-field-extend,.p-inputtext:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input){background-color:#fff;height:2.5rem;border-radius:.375rem;border:1.5px solid #d1d4db;padding:0 .5rem;color:#6c7389;font-size:1rem}#form-field-base.p-filled,.p-filled#form-field-extend,.p-filled.p-inputtext:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input){color:#14151a}#form-field-sm,.p-inputtext:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input).p-inputtext-sm{height:2rem;font-size:.813rem;border-radius:.25rem}#form-field-hover,#form-field-states:enabled:hover,#form-field-extend:enabled:hover,.p-inputtext:enabled:hover:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input),#form-field-states:hover,#form-field-extend:hover,.p-inputtext:hover:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input){border-color:var(--color-palette-primary-400)}#form-field-focus,#form-field-states:enabled:active,#form-field-extend:enabled:active,.p-inputtext:enabled:active:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input),#form-field-states:enabled:focus,#form-field-extend:enabled:focus,.p-inputtext:enabled:focus:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input),#form-field-states:active,#form-field-extend:active,.p-inputtext:active:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input),#form-field-states:focus,#form-field-extend:focus,.p-inputtext:focus:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input){border-color:var(--color-palette-primary-400);outline:2.8px solid var(--color-palette-primary-op-20)}#form-field-disabled,#field-panel-item-disabled,#form-field-states:disabled,#form-field-extend:disabled,.p-inputtext:disabled:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input){border-color:#f3f3f4;background:#fafafb;color:#afb3c0}.p-inputtext:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input).p-inputtextarea{padding:.5rem;min-height:4rem}.p-inputtext:not(.p-dropdown-label,.p-autocomplete-multiple-container,.p-autocomplete-input):disabled::placeholder{color:#afb3c0}.p-input-icon-right i.pi{color:var(--color-palette-primary-500);cursor:pointer;right:.5rem;margin-top:0;transform:translateY(-50%);-moz-transform:translateY(-50%)}.p-input-icon-right:has(.p-inputtext.p-inputtext-sm) i{font-size:.813rem}.p-input-icon-right i.pi:nth-of-type(1){right:.5rem}.p-input-icon-right i.pi:nth-of-type(2){right:2rem}.p-input-icon-right .p-inputtext{padding-right:2.5rem}#form-field-base,.p-multiselect,#form-field-extend{background-color:#fff;height:2.5rem;border-radius:.375rem;border:1.5px solid #d1d4db;padding:0 .5rem;color:#6c7389;font-size:1rem}#form-field-base.p-filled,.p-filled.p-multiselect,.p-filled#form-field-extend{color:#14151a}#form-field-hover,.p-multiselect:not(.p-multiselect-open):hover,#form-field-states:enabled:hover,#form-field-extend:enabled:hover,#form-field-states:hover,#form-field-extend:hover{border-color:var(--color-palette-primary-400)}#form-field-focus,.p-multiselect:not(.p-disabled).p-focus,.p-multiselect.p-multiselect-open,#form-field-states:enabled:active,#form-field-extend:enabled:active,#form-field-states:enabled:focus,#form-field-extend:enabled:focus,#form-field-states:active,#form-field-extend:active,#form-field-states:focus,#form-field-extend:focus{border-color:var(--color-palette-primary-400);outline:2.8px solid var(--color-palette-primary-op-20)}#form-field-disabled,.p-multiselect.p-disabled,#field-panel-item-disabled,.p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-disabled,.p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight.p-disabled,#form-field-states:disabled,#form-field-extend:disabled{border-color:#f3f3f4;background:#fafafb;color:#afb3c0}#field-trigger,.p-multiselect .p-multiselect-trigger{background:#f3f3f4;color:var(--color-palette-primary-500);width:2.5rem;border-top-right-radius:.375rem;border-bottom-right-radius:.375rem;height:100%}#field-trigger-icon,.p-multiselect .p-multiselect-trigger .p-multiselect-trigger-icon{padding:.5rem;font-size:14px}#field-panel,.p-multiselect-panel{background:#ffffff;color:#14151a;border:0 none;border-radius:.375rem;box-shadow:0 0 4px #14151a0a,0 8px 16px #14151a14;padding:.5rem;margin-top:.5rem}#field-panel-header,.p-multiselect-panel .p-multiselect-header{padding:.75rem;border-bottom:1.5px solid var(--color-palette-black-op-10);color:#14151a;background:#ffffff;margin:0;border-top-right-radius:.125rem;border-top-left-radius:.125rem}#field-panel-filter,.p-multiselect-panel .p-multiselect-header .p-multiselect-filter-container .p-multiselect-filter{padding-right:3rem;color:#14151a}#field-panel-filter-icon,.p-multiselect-panel .p-multiselect-header .p-multiselect-filter-container .p-multiselect-filter-icon{right:.75rem;color:var(--color-palette-primary-500)}#field-panel-items,.p-multiselect-panel .p-multiselect-items{padding:0}#field-panel-item,.p-multiselect-panel .p-multiselect-items .p-multiselect-item{display:flex;align-items:center;padding:0 .75rem;color:#14151a;height:2.5rem;gap:.5rem}#field-panel-item-highlight,.p-multiselect-panel .p-multiselect-items .p-multiselect-item:focus,.p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight{background:var(--color-palette-primary-200)}#field-panel-item-hover,.p-multiselect-panel .p-multiselect-items .p-multiselect-item:not(.p-highlight):not(.p-disabled):hover{background:var(--color-palette-primary-100)}#field-panel-item-disabled,.p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-disabled,.p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight.p-disabled{cursor:initial}#field-chip,.p-multiselect.p-multiselect-chip .p-multiselect-token{height:1.5rem;padding:.5rem;background:var(--color-palette-primary-200);border-radius:.25rem;color:var(--color-palette-primary-500);font-size:.813rem;display:flex;align-items:center;justify-content:center;gap:.25rem}.p-multiselect{min-width:13rem;padding-right:0;min-height:2.5rem;height:auto}.p-multiselect .p-multiselect-label-container{display:flex;align-items:center;padding-right:.5rem}.p-multiselect .p-multiselect-label-container .p-multiselect-label:not(.p-placeholder){color:#14151a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.p-multiselect .p-multiselect-label-container .p-multiselect-label:not(.p-placeholder):has(> .p-multiselect-token){padding:.5rem 0;height:auto;flex-wrap:wrap;overflow:visible}.p-multiselect .p-multiselect-trigger{height:auto}.p-multiselect.p-disabled .p-multiselect-label-container .p-multiselect-label,.p-multiselect.p-disabled .p-multiselect-trigger .p-multiselect-trigger-icon{color:#6c7389}.p-multiselect.p-multiselect-chip{color:#515667}.p-multiselect.p-multiselect-chip .p-multiselect-label{gap:.25rem}.p-multiselect-panel .p-multiselect-header .p-checkbox{margin-right:.5rem}.p-multiselect-panel .p-multiselect-header .p-multiselect-close{margin-left:.5rem;width:2rem;height:2rem;color:var(--color-palette-primary-500);border:0 none;background:transparent;border-radius:50%}.p-multiselect-panel .p-multiselect-header .p-multiselect-close:hover{background-color:var(--color-palette-primary-op-10)}.p-multiselect-panel .p-multiselect-header .p-multiselect-close:active{background-color:var(--color-palette-primary-op-20)}.p-multiselect-panel .p-multiselect-header .p-multiselect-close:focus{background-color:transparent;outline:2.8px solid var(--color-palette-primary-op-20)}.p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message{padding:.75rem;color:#14151a;background:transparent}#form-field-base,#form-field-extend{background-color:#fff;height:2.5rem;border-radius:.375rem;border:1.5px solid #d1d4db;padding:0 .5rem;color:#6c7389;font-size:1rem}#form-field-base.p-filled,.p-filled#form-field-extend{color:#14151a}#form-field-sm{height:2rem;font-size:.813rem;border-radius:.25rem}#form-field-hover,#form-field-states:enabled:hover,#form-field-extend:enabled:hover,#form-field-states:hover,#form-field-extend:hover{border-color:var(--color-palette-primary-400)}#form-field-focus,#form-field-states:enabled:active,#form-field-extend:enabled:active,#form-field-states:enabled:focus,#form-field-extend:enabled:focus,#form-field-states:active,#form-field-extend:active,#form-field-states:focus,#form-field-extend:focus{border-color:var(--color-palette-primary-400);outline:2.8px solid var(--color-palette-primary-op-20)}#form-field-disabled,#field-panel-item-disabled,#form-field-states:disabled,#form-field-extend:disabled{border-color:#f3f3f4;background:#fafafb;color:#afb3c0}#field-trigger{background:#f3f3f4;color:var(--color-palette-primary-500);width:2.5rem;border-top-right-radius:.375rem;border-bottom-right-radius:.375rem;height:100%}#field-trigger-sm{width:2rem;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}#field-trigger-icon{padding:.5rem;font-size:14px}#field-panel{background:#ffffff;color:#14151a;border:0 none;border-radius:.375rem;box-shadow:0 0 4px #14151a0a,0 8px 16px #14151a14;padding:.5rem;margin-top:.5rem}#field-panel-header{padding:.75rem;border-bottom:1.5px solid var(--color-palette-black-op-10);color:#14151a;background:#ffffff;margin:0;border-top-right-radius:.125rem;border-top-left-radius:.125rem}#field-panel-filter{padding-right:3rem;color:#14151a}#field-panel-filter-icon{right:.75rem;color:var(--color-palette-primary-500)}#field-panel-items{padding:0}#field-panel-item{display:flex;align-items:center;padding:0 .75rem;color:#14151a;height:2.5rem;gap:.5rem}#field-panel-item-highlight{background:var(--color-palette-primary-200)}#field-panel-item-hover{background:var(--color-palette-primary-100)}#field-panel-item-disabled{cursor:initial}#field-chip{height:1.5rem;padding:.5rem;background:var(--color-palette-primary-200);border-radius:.25rem;color:var(--color-palette-primary-500);font-size:.813rem;display:flex;align-items:center;justify-content:center;gap:.25rem}p-radiobutton.p-element{gap:.5rem}p-radiobutton.p-element.ng-dirty.ng-invalid .p-radiobutton:not(.p-radiobutton-disabled){border-color:#f65446}p-radiobutton.p-element .p-radiobutton{height:1.5rem;aspect-ratio:1/1;border-radius:50%;border:2px solid #d1d4db}p-radiobutton.p-element .p-radiobutton .p-radiobutton-box{height:1.25rem;border-radius:inherit;aspect-ratio:inherit}p-radiobutton.p-element .p-radiobutton .p-radiobutton-box .p-radiobutton-icon{height:.875rem;aspect-ratio:inherit;border-radius:inherit}p-radiobutton.p-element .p-radiobutton.p-radiobutton-checked{border-color:var(--color-palette-primary-500)}p-radiobutton.p-element .p-radiobutton.p-radiobutton-checked .p-radiobutton-box.p-highlight .p-radiobutton-icon{background-color:var(--color-palette-primary-500)}p-radiobutton.p-element .p-radiobutton.p-radiobutton-disabled{border-color:#d1d4db;background-color:#f3f3f4}p-radiobutton.p-element .p-radiobutton.p-radiobutton-disabled .p-radiobutton-box.p-highlight .p-radiobutton-icon{background-color:#d1d4db}p-radiobutton.p-element .p-radiobutton-label{font-size:1rem}p-radiobutton.p-element .p-radiobutton-label.p-disabled{color:#afb3c0}p-radiobutton.p-element:hover:not(:has(.p-radiobutton-disabled)){cursor:pointer}p-radiobutton.p-element:hover:not(:has(.p-radiobutton-disabled)) .p-radiobutton{border-color:var(--color-palette-primary-400)}p-radiobutton.p-element:hover:not(:has(.p-radiobutton-disabled)) .p-radiobutton-label:hover{cursor:pointer}p-radiobutton.p-element .p-radiobutton-focused{outline:1.5px solid var(--color-palette-primary-op-20)}.p-selectbutton .p-button{background:transparent;border:1px solid #afb3c0;color:#6c7389;transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s,background-size .2s cubic-bezier(.64,.09,.08,1);text-transform:uppercase}.p-selectbutton .p-button:not(.p-disabled):not(.p-highlight):hover{background-color:var(--color-palette-primary-100);color:#515667}.p-selectbutton .p-button.p-highlight .p-button-icon-left,.p-selectbutton .p-button.p-highlight .p-button-icon-right{color:#6c7389}.p-selectbutton .p-button.p-highlight:hover{background:var(--color-palette-primary-op-10);border-color:var(--color-palette-primary-op-10);color:#14151a}.p-selectbutton .p-button.p-highlight:hover .p-button-icon-left,.p-selectbutton .p-button.p-highlight:hover .p-button-icon-right{color:#14151a}.p-selectbutton .p-button:focus{background:var(--color-palette-primary-op-10);border-color:var(--color-palette-primary-op-10)}.p-selectbutton .p-button:focus.p-highlight{background:var(--color-palette-primary-op-10);border-color:#afb3c0;color:#515667}.p-button-tabbed{box-shadow:0 1px #afb3c0;display:inline-block}.p-button-tabbed .p-button{border-radius:0;padding:1rem;border:none}.p-button-tabbed .p-button:focus.p-highlight,.p-button-tabbed .p-button.p-highlight{color:#515667;box-shadow:0 -4px 0 0 var(--color-palette-primary-500) inset}.p-button-compact .p-button{padding-left:1rem;padding-right:1rem}.p-button-compact .p-button.p-highlight{background-color:var(--color-palette-primary-500);color:#fff}.p-button-compact .p-button.p-highlight:focus{background-color:var(--color-palette-primary-500);color:#fff}.p-selectbutton .p-disabled{opacity:.38}.p-slider{background:#ebecef;border:0 none;border-radius:6px}.p-slider.p-slider-horizontal{height:.286rem}.p-slider.p-slider-horizontal .p-slider-handle{margin-top:-.5715rem;margin-left:-.5715rem}.p-slider.p-slider-vertical{width:.286rem}.p-slider.p-slider-vertical .p-slider-handle{margin-left:-.5715rem;margin-bottom:-.5715rem}.p-slider .p-slider-handle{height:1.143rem;width:1.143rem;background:#ffffff;border:2px solid var(--color-palette-primary-500);border-radius:50%;transition:background-color .2s,color .2s,border-color .2s,box-shadow .2s}.p-slider .p-slider-handle:focus{outline:0 none;outline-offset:0;box-shadow:0 0 0 .2rem var(--color-palette-primary-400)}.p-slider .p-slider-range{background:var(--color-palette-primary-500)}.p-slider:not(.p-disabled) .p-slider-handle:hover{background:var(--color-palette-primary-500);border-color:var(--color-palette-primary-500)}.p-slider.p-slider-animate.p-slider-horizontal .p-slider-handle{transition:background-color .2s,color .2s,border-color .2s,box-shadow .2s,left .2s}.p-slider.p-slider-animate.p-slider-horizontal .p-slider-range{transition:width .2s}.p-slider.p-slider-animate.p-slider-vertical .p-slider-handle{transition:background-color .2s,color .2s,border-color .2s,box-shadow .2s,bottom .2s}.p-slider.p-slider-animate.p-slider-vertical .p-slider-range{transition:height .2s}.p-inplace .p-inplace-display{padding:1rem;border-radius:.125rem;transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s,background-size .2s cubic-bezier(.64,.09,.08,1)}.p-inplace .p-inplace-display:not(.p-disabled):hover{background:var(--color-palette-primary-100);color:#14151a}.p-inplace .p-inplace-display:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-listbox{background:#ffffff;color:#14151a;border:none;border-radius:.25rem}.p-listbox.p-component .p-listbox-header{padding:.75rem;border-bottom:1px solid var(--color-palette-black-op-10);color:#14151a;background:#ffffff;margin:0;border-top-right-radius:.25rem;border-top-left-radius:.25rem}.p-listbox .p-listbox-header .p-listbox-filter{padding-right:2.5rem}.p-listbox .p-listbox-header .p-listbox-filter-icon{right:.75rem;color:#14151a}.p-listbox .p-listbox-header .p-checkbox{margin-right:.5rem}.p-listbox .p-listbox-list{padding:0}.p-listbox .p-listbox-list .p-listbox-item{margin:0;padding:.5rem .75rem;border:0 none;color:#14151a;transition:none;border-radius:0}.p-listbox .p-listbox-list .p-listbox-item.p-highlight{color:var(--color-palette-primary-500);background:var(--color-palette-primary-op-10)}.p-listbox .p-listbox-list .p-listbox-item:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-listbox .p-listbox-list .p-listbox-item .p-checkbox{margin-right:.5rem}.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover{color:#14151a;background:var(--color-palette-primary-100)}.p-listbox-item .p-ink{background-color:var(--color-palette-primary-op-10)}.p-menu{padding:.5rem 0;background:#ffffff;color:#14151a;border:1px solid #afb3c0;border-radius:.375rem;width:12.5rem}.p-menu .p-menuitem-link{padding:.75rem;color:#14151a;border-radius:0;transition:none;-webkit-user-select:none;user-select:none}.p-menu .p-menuitem-link .p-menuitem-text{color:#14151a}.p-menu .p-menuitem-link .p-menuitem-icon{color:#6c7389;margin-right:.5rem}.p-menu .p-menuitem-link .p-submenu-icon{color:#14151a}.p-menu .p-menuitem-link:not(.p-disabled):hover{background:var(--color-palette-primary-100)}.p-menu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text{color:#14151a}.p-menu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon{color:#14151a}.p-menu .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon{color:#14151a}.p-menu .p-menuitem-link:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-menu.p-menu-overlay{background:#ffffff;border:0 none;box-shadow:0 2px 4px -1px var(--color-palette-black-op-20),0 4px 5px 0 var(--color-palette-black-op-10),0 1px 10px 0 var(--color-palette-black-op-10)}.p-menu .p-submenu-header{margin:0;padding:.75rem;color:#14151a;background:#ffffff;font-weight:700;border-top-right-radius:0;border-top-left-radius:0}.p-menu .p-menu-separator{border-top:1px solid var(--color-palette-black-op-10);margin:.5rem 0}.p-menu .p-disabled{opacity:.38}.p-inline-message{padding:.75rem;margin:0;border-radius:.125rem}.p-inline-message.p-inline-message-info{background:#b3e5fc;border:solid transparent;border-width:1px;color:#01579b}.p-inline-message.p-inline-message-info .p-inline-message-icon{color:#01579b}.p-inline-message.p-inline-message-success{background:#c8e6c9;border:solid transparent;border-width:1px;color:#1b5e20}.p-inline-message.p-inline-message-success .p-inline-message-icon{color:#1b5e20}.p-inline-message.p-inline-message-warn{background:#ffecb3;border:solid transparent;border-width:1px;color:#7f6003}.p-inline-message.p-inline-message-warn .p-inline-message-icon{color:#7f6003}.p-inline-message.p-inline-message-error{background:#ffcdd2;border:solid transparent;border-width:1px;color:#b71c1c}.p-inline-message.p-inline-message-error .p-inline-message-icon{color:#b71c1c}.p-inline-message .p-inline-message-icon{font-size:1rem;margin-right:.5rem}.p-inline-message .p-inline-message-text{font-size:1rem}.p-inline-message.p-inline-message-icon-only .p-inline-message-icon{margin-right:0}.p-message{margin:.75rem 0;border-radius:.125rem}.p-message .p-message-wrapper{padding:1rem 1.5rem}.p-message .p-message-close{width:2rem;height:2rem;border-radius:50%;background:transparent;transition:background-color .2s,color .2s,box-shadow .2s}.p-message .p-message-close:hover{background:var(--color-palette-white-op-30)}.p-message .p-message-close:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-message.p-message-info{background:#b3e5fc;border:solid transparent;border-width:0 0 0 0;color:#01579b}.p-message.p-message-info .p-message-icon,.p-message.p-message-info .p-message-close{color:#01579b}.p-message.p-message-success{background:#c8e6c9;border:solid transparent;border-width:0 0 0 0;color:#1b5e20}.p-message.p-message-success .p-message-icon,.p-message.p-message-success .p-message-close{color:#1b5e20}.p-message.p-message-warn{background:#ffecb3;border:solid transparent;border-width:0 0 0 0;color:#7f6003}.p-message.p-message-warn .p-message-icon,.p-message.p-message-warn .p-message-close{color:#7f6003}.p-message.p-message-error{background:#ffcdd2;border:solid transparent;border-width:0 0 0 0;color:#b71c1c}.p-message.p-message-error .p-message-icon,.p-message.p-message-error .p-message-close{color:#b71c1c}.p-message .p-message-text{font-size:1rem;font-weight:500}.p-message .p-message-icon{font-size:1.5rem;margin-right:.5rem}.p-message .p-message-summary{font-weight:700}.p-message .p-message-detail{margin-left:.5rem}.p-overlaypanel{background:#ffffff;color:#14151a;border:0 none;border-radius:.375rem;box-shadow:0 10px 20px 0 var(--color-palette-black-op-10)}.p-overlaypanel .p-overlaypanel-content{padding:1.5rem}.p-overlaypanel .p-overlaypanel-close{background:var(--color-palette-primary-500);color:#fff;width:2rem;height:2rem;transition:background-color .2s,color .2s,box-shadow .2s;border-radius:50%;position:absolute;top:-1rem;right:-1rem}.p-overlaypanel .p-overlaypanel-close:enabled:hover{background:var(--color-palette-primary-100);color:#fff}.p-paginator{background:#ffffff;color:#14151a;border:solid #ebecef;border-width:0;padding:.375rem .75rem;border-radius:.125rem;justify-content:flex-end}.p-paginator .p-paginator-first,.p-paginator .p-paginator-prev,.p-paginator .p-paginator-next,.p-paginator .p-paginator-last{background-color:transparent;border:0 none;color:#14151a;min-width:3rem;height:3rem;margin:.143rem;transition:none;border-radius:50%}.p-paginator .p-paginator-first:not(.p-disabled):not(.p-highlight):hover,.p-paginator .p-paginator-prev:not(.p-disabled):not(.p-highlight):hover,.p-paginator .p-paginator-next:not(.p-disabled):not(.p-highlight):hover,.p-paginator .p-paginator-last:not(.p-disabled):not(.p-highlight):hover{background:var(--color-palette-primary-100);border-color:transparent;color:#14151a}.p-paginator .p-paginator-first{border-top-left-radius:.125rem;border-bottom-left-radius:.125rem}.p-paginator .p-paginator-last{border-top-right-radius:.125rem;border-bottom-right-radius:.125rem}.p-paginator .p-dropdown{margin-left:.5rem;height:3rem}.p-paginator .p-dropdown .p-dropdown-label{padding-right:0}.p-paginator .p-paginator-current{background-color:transparent;border:0 none;color:#14151a;min-width:3rem;height:3rem;margin:.143rem;padding:0 .5rem}.p-paginator .p-paginator-pages .p-paginator-page{background-color:transparent;border:0 none;color:#14151a;min-width:3rem;height:3rem;margin:.143rem;transition:none;border-radius:50%}.p-paginator .p-paginator-pages .p-paginator-page.p-highlight{background:var(--color-palette-primary-op-10);color:var(--color-palette-primary-500)}.p-paginator .p-paginator-pages .p-paginator-page:not(.p-highlight):hover{background:#f3f3f4;border-color:transparent;color:#14151a}.p-paginator-bottom{border:none}p-panel{display:block;margin-bottom:2rem}.p-panel-toggleable{cursor:pointer;background-color:var(--color-palette-primary-100)}.p-panel-toggleable.p-panel-expanded{cursor:default}.p-panel-header{font-size:1.5rem;margin:.5rem 0;padding:1rem 0;position:relative}.p-panel-header .p-panel-icons span{color:var(--color-palette-primary-500);font-size:1.5rem;margin-left:.5rem;margin-right:.75rem}.p-panel-icons{display:flex;justify-content:end;flex:1}.p-panel-header .p-panel-icons span.pi{margin-right:1.5rem}p-progressspinner .p-progress-spinner{height:38px;width:38px}p-progressspinner .p-progress-spinner-circle{stroke:var(--color-palette-primary-500)!important;stroke-width:6px}.p-progressbar{border:0 none;height:4px;background:var(--color-palette-primary-op-10);border-radius:0}.p-progressbar .p-progressbar-value{border:0 none;margin:0;background:var(--color-palette-primary-500)}.p-progressbar .p-progressbar-label{color:#14151a;line-height:4px}.p-sidebar{background:#ffffff;border:0 none;box-shadow:0 1px 3px var(--color-palette-black-op-10),0 1px 2px var(--color-palette-black-op-20)}.p-sidebar .p-sidebar-header{padding:1.5rem}.p-sidebar .p-sidebar-header .p-sidebar-close,.p-sidebar .p-sidebar-header .p-sidebar-icon{width:2rem;height:2rem;border:0 none;background:transparent;border-radius:50%;transition:background-color .2s,color .2s,box-shadow .2s}.p-sidebar .p-sidebar-header .p-sidebar-close:enabled:hover,.p-sidebar .p-sidebar-header .p-sidebar-icon:enabled:hover{border-color:transparent}.p-sidebar .p-sidebar-header .p-sidebar-close:focus,.p-sidebar .p-sidebar-header .p-sidebar-icon:focus{outline:0 none;outline-offset:0}.p-sidebar .p-sidebar-content{padding:1rem;height:100%}.p-sidebar-mask{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.p-sidebar-mask.p-component-overlay-enter{animation:p-component-overlay-enter-animation .15s forwards}.p-sidebar-mask.p-component-overlay-leave{animation:p-component-overlay-leave-animation .15s forwards}@keyframes p-component-overlay-enter-animation{0%{background-color:transparent}to{background-color:var(--color-palette-black-op-80)}}@keyframes p-component-overlay-leave-animation{0%{background-color:var(--color-palette-black-op-80)}to{background-color:transparent}}.p-skeleton{background-color:#fafafb;border-radius:3px}.p-skeleton:after{background:linear-gradient(90deg,#ffffff,var(--color-palette-white-op-40),#ffffff)}.p-tabview .p-tabview-nav{border:solid var(--color-palette-black-op-10);border-width:0 0 1px 0;position:relative}.p-tabview .p-tabview-nav li{margin-right:0}.p-tabview-title{text-transform:capitalize}.p-tabview .p-tabview-nav li .p-tabview-nav-link{border:none;border-radius:0;color:#14151a;padding:1.2rem 1.5rem 1.35rem;transition:none;margin:0;white-space:nowrap}.p-tabview .p-tabview-nav li .p-tabview-nav-link:not(.p-disabled):focus{outline:0 none;outline-offset:0;box-shadow:none}.p-tabview .p-tabview-nav li:not(.p-highlight):not(.p-disabled) .p-tabview-nav-link:hover{background:var(--color-palette-primary-100);color:#14151a;background-clip:padding-box;border-bottom:4px solid var(--color-palette-primary-100)}.p-tabview .p-tabview-nav li.p-highlight .p-tabview-nav-link{border-bottom:4px solid var(--color-palette-primary-500)}.p-tabview .p-tabview-left-icon{margin-right:.5rem}.p-tabview .p-tabview-right-icon,.p-tabview .p-tabview-close{margin-left:.5rem}.p-tabview .p-tabview-panels{border:0 none;color:#14151a;padding:1.5rem 0;border-bottom-right-radius:.125rem;border-bottom-left-radius:.125rem}.p-tabview .p-tabview-nav li .p-tabview-nav-link>.p-ink{background-color:#3f51b529}.p-tabview .p-tabview-nav li .p-tabview-nav-link:focus{background-color:var(--color-palette-primary-op-10)}.p-tabview .p-tabview-nav .p-tabview-ink-bar{display:none}.p-tabview-nav-next.p-link,.p-tabview-nav-prev.p-link{width:40px}.p-tabview-nav-next.p-link{border-left:none;background:#f3f3f4}.p-tabview-nav-prev.p-link{border-right:none;background:#f3f3f4}.p-tag{display:inline-flex;align-items:center;justify-content:center;background:var(--color-palette-primary-500);color:#fff;font-size:1rem;font-weight:400;padding:.5rem 1rem;border-radius:7px}p-tag.sm.sm .p-tag{font-size:.813rem;padding:.5rem .75rem}p-tag.sm.sm .p-tag .p-tag-value{line-height:1rem}.p-tag .p-tag-icon{margin-right:.5rem;font-size:.625rem}p-tag.p-tag-success .p-tag{background-color:#f5fdf8;color:#0b6948}p-tag.p-tag-info .p-tag{background-color:var(--color-palette-primary-op-10);color:var(--color-palette-primary-600)}p-tag.p-tag-warning .p-tag{background-color:#fff8ec;color:#ffb444}p-tag.p-tag-error .p-tag{background-color:#fff6f6;color:#f65446}.p-tieredmenu{padding:.5rem 0;background:#ffffff;border:0 none;border-radius:.125rem;width:100%}.p-tieredmenu .p-menuitem-link{padding:.75rem;color:var(--color-palette-primary-800);border-radius:0;transition:none;-webkit-user-select:none;user-select:none}.p-tieredmenu .p-menuitem-link:not(.p-disabled):hover{background:#f3f3f4}.p-tieredmenu.p-tieredmenu-overlay{box-shadow:0 10px 24px 0 var(--color-palette-black-op-20)}.p-toast .p-toast-message{line-height:1.5;background-color:#fff;margin:0 0 1rem;box-shadow:0 1px 3px var(--color-palette-black-op-10),0 1px 2px var(--color-palette-black-op-20);border-radius:.125rem;border:solid transparent;border-width:0 0 0 0;color:#14151a}.p-toast .p-toast-message .p-toast-message-content{padding:1.5rem;border-width:0 0 0 0}.p-toast .p-toast-message .p-toast-message-content .p-toast-message-text{margin:0 1rem}.p-toast .p-toast-message .p-toast-message-content .p-toast-message-icon{font-size:1.5rem;width:28px}.p-toast .p-toast-message .p-toast-message-content .p-toast-summary{font-weight:700}.p-toast .p-toast-message .p-toast-message-content .p-toast-detail{margin:.5rem 0 0}.p-toast .p-toast-message .p-toast-icon-close{width:2rem;height:2rem;border-radius:50%;background:transparent;transition:background-color .2s,color .2s,box-shadow .2s;color:#515667;position:absolute;top:.75rem;right:.75rem}.p-toast .p-toast-message .p-toast-icon-close:hover{background:var(--color-palette-white-op-30)}.p-toast .p-toast-message .p-toast-icon-close:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-toolbar{background-color:#fff;border-bottom:solid 1px #f3f3f4;display:flex;padding:.5rem 1.5rem}.p-toolbar.p-corner-all{border-radius:0}.p-toolbar-group-left,.p-toolbar-group-right{align-items:center;display:flex;flex:1}.p-toolbar-group-left{justify-content:flex-start}.p-toolbar-group-right{justify-content:flex-end}.p-tooltip .p-tooltip-text{background:#3d404d;color:#fff;padding:.75rem 1rem;font-size:1rem;box-shadow:none;border-radius:.125rem}.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#3d404d}.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#3d404d}.p-tooltip.p-tooltip-top .p-tooltip-arrow{border-top-color:#3d404d}.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#3d404d}.p-tree{border:1px solid #afb3c0;background:#ffffff;color:#14151a;padding:.75rem;border-radius:.125rem}.p-tree .p-tree-container .p-treenode{padding:.25rem}.p-tree .p-tree-container .p-treenode .p-treenode-content{border-radius:.125rem;transition:none;padding:.571rem}.p-tree .p-tree-container .p-treenode .p-treenode-content .p-tree-toggler{margin-right:.5rem;width:2rem;height:2rem;color:#14151a;border:0 none;background:transparent;border-radius:50%;transition:background-color .2s,color .2s,box-shadow .2s}.p-tree .p-tree-container .p-treenode .p-treenode-content .p-tree-toggler:enabled:hover{color:#14151a;border-color:transparent;background:var(--color-palette-primary-100)}.p-tree .p-tree-container .p-treenode .p-treenode-content .p-tree-toggler:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-tree .p-tree-container .p-treenode .p-treenode-content .p-treenode-icon{margin-right:.5rem;color:#14151a}.p-tree .p-tree-container .p-treenode .p-treenode-content .p-checkbox{margin-right:.5rem}.p-tree .p-tree-container .p-treenode .p-treenode-content .p-checkbox .p-indeterminate .p-checkbox-icon{color:#14151a}.p-tree .p-tree-container .p-treenode .p-treenode-content:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight{background:var(--color-palette-primary-op-10);color:var(--color-palette-primary-500)}.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight .p-tree-toggler,.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight .p-treenode-icon{color:var(--color-palette-primary-500)}.p-tree .p-tree-container .p-treenode .p-treenode-content.p-treenode-selectable:not(.p-highlight):hover{background:var(--color-palette-primary-100);color:#14151a}.p-tree .p-tree-container .p-treenode .p-treenode-content.p-treenode-dragover{background:rgba(0,0,0,.04);color:#14151a}.p-tree .p-tree-filter-container{margin-bottom:.5rem}.p-tree .p-tree-filter-container .p-tree-filter{width:100%;padding-right:2.5rem}.p-tree .p-tree-filter-container .p-tree-filter-icon{right:.75rem;color:#14151a}.p-tree .p-treenode-children{padding:0 0 0 1rem}.p-tree .p-tree-loading-icon{font-size:3rem}.p-tree .p-treenode-droppoint.p-treenode-droppoint-active{background-color:#3241911f}.p-tree.p-tree-horizontal .p-treenode .p-treenode-content{border-radius:.125rem;border:1px solid #afb3c0;background-color:#fff;color:#14151a;padding:.571rem;transition:none}.p-tree.p-tree-horizontal .p-treenode .p-treenode-content.p-highlight{background-color:var(--color-palette-primary-op-10);color:var(--color-palette-primary-500)}.p-tree.p-tree-horizontal .p-treenode .p-treenode-content.p-highlight .p-treenode-icon{color:var(--color-palette-primary-500)}.p-tree.p-tree-horizontal .p-treenode .p-treenode-content .p-tree-toggler{margin-right:.5rem}.p-tree.p-tree-horizontal .p-treenode .p-treenode-content .p-treenode-icon{color:#14151a;margin-right:.5rem}.p-tree.p-tree-horizontal .p-treenode .p-treenode-content .p-checkbox{margin-right:.5rem}.p-tree.p-tree-horizontal .p-treenode .p-treenode-content .p-checkbox .p-checkbox-icon{color:var(--color-palette-primary-500)}.p-tree.p-tree-horizontal .p-treenode .p-treenode-content .p-treenode-label:not(.p-highlight):hover{background-color:inherit;color:inherit}.p-tree.p-tree-horizontal .p-treenode .p-treenode-content.p-treenode-selectable:not(.p-highlight):hover{background:var(--color-palette-primary-100);color:#14151a}.p-tree.p-tree-horizontal .p-treenode .p-treenode-content:focus{outline:0 none;outline-offset:0;box-shadow:none}.p-error,.p-invalid{color:#f65446}p-inputmask.ng-dirty.ng-invalid>.p-inputtext{border-color:#f65446}p-inputnumber.ng-dirty.ng-invalid>.p-inputnumber>.p-inputtext{border-color:#f65446}.p-inputswitch.p-error,.p-inputswitch.p-invalid{border-color:#f65446}p-inputswitch.ng-dirty.ng-invalid>.p-inputswitch{border-color:#f65446}.p-inputtext.p-error,.p-inputtext.p-invalid,.p-inputtext.ng-dirty.ng-invalid{border-color:#f65446}.p-inputtext.p-error:hover,.p-inputtext.p-error:active,.p-inputtext.p-error:focus,.p-inputtext.p-invalid:hover,.p-inputtext.p-invalid:active,.p-inputtext.p-invalid:focus,.p-inputtext.ng-dirty.ng-invalid:hover,.p-inputtext.ng-dirty.ng-invalid:active,.p-inputtext.ng-dirty.ng-invalid:focus{border-color:#f65446}p-listbox.ng-dirty.ng-invalid>.p-listbox{border-color:#f65446}.p-listbox.p-error,.p-listbox.p-invalid{border-color:#f65446}p-multiselect.ng-dirty.ng-invalid>.p-multiselect{border-color:#f65446}p-multiselect.ng-dirty.ng-invalid>.p-multiselect:hover,p-multiselect.ng-dirty.ng-invalid>.p-multiselect:active,p-multiselect.ng-dirty.ng-invalid>.p-multiselect:focus{border-color:#f65446}.p-radiobutton.p-error>.p-radiobutton-box,.p-radiobutton.p-invalid>.p-radiobutton-box{border-color:#f65446}p-radiobutton.ng-dirty.ng-invalid>.p-radiobutton>.p-radiobutton-box{border-color:#f65446}.p-selectbutton.p-error>.p-button,.p-selectbutton.p-invalid>.p-button{border-color:#f65446}p-selectbutton.ng-dirty.ng-invalid>.p-selectbutton>.p-button{border-color:#f65446}.p-togglebutton.p-button.p-error,.p-togglebutton.p-button.p-invalid{border-color:#f65446}p-togglebutton.ng-dirty.ng-invalid>.p-togglebutton.p-button{border-color:#f65446}.p-multiselect.p-error,.p-multiselect.p-invalid{border-color:#f65446}.p-multiselect.p-error:hover,.p-multiselect.p-error:active,.p-multiselect.p-error:focus,.p-multiselect.p-invalid:hover,.p-multiselect.p-invalid:active,.p-multiselect.p-invalid:focus{border-color:#f65446}.p-rating .p-rating-icon.p-rating-cancel{color:#f65446}.p-rating:not(.p-disabled):not(.p-readonly) .p-rating-icon.p-rating-cancel:hover{color:#f65446}.p-inputtextarea.ng-invalid:not(.ng-pristine){border-color:#f65446}.p-inputtextarea.ng-invalid:not(.ng-pristine):hover,.p-inputtextarea.ng-invalid:not(.ng-pristine):active,.p-inputtextarea.ng-invalid:not(.ng-pristine):focus{border-color:#f65446}.p-password-panel{padding:.75rem;background:#ffffff;color:#14151a;border:0 none;box-shadow:0 5px 5px -3px var(--color-palette-black-op-20),0 8px 10px 1px var(--color-palette-black-op-10),0 3px 14px 2px var(--color-palette-black-op-10);border-radius:.125rem}.p-password-panel .p-password-meter{margin-bottom:.5rem}@font-face{font-family:primeicons;font-display:block;font-weight:400;font-style:normal;src:url(data:application/font-woff;base64,d09GRgABAAAAAQSgAAsAAAABBFQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIHFmNtYXAAAAFoAAAAVAAAAFQXVtN1Z2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAA+PAAAPjwt9TQjGhlYWQAAPq0AAAANgAAADYegaTEaGhlYQAA+uwAAAAkAAAAJAfqBMBobXR4AAD7EAAAA8wAAAPMwkwotGxvY2EAAP7cAAAB6AAAAeht864ebWF4cAABAMQAAAAgAAAAIAECAaduYW1lAAEA5AAAA5wAAAOcIOdgrHBvc3QAAQSAAAAAIAAAACAAAwAAAAMD/gGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAA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FAAcgBpAG0AZQBUAGUAawAgAEkAbgBmAG8AcgBtAGEAdABpAGMAc0ljb24gTGlicmFyeSBmb3IgUHJpbWUgVUkgTGlicmFyaWVzCkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEkAYwBvAG4AIABMAGkAYgByAGEAcgB5ACAAZgBvAHIAIABQAHIAaQBtAGUAIABVAEkAIABMAGkAYgByAGEAcgBpAGUAcwAKAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALmh0dHBzOi8vZ2l0aHViLmNvbS9wcmltZWZhY2VzL3ByaW1laWNvbnMAaAB0AHQAcABzADoALwAvAGcAaQB0AGgAdQBiAC4AYwBvAG0ALwBwAHIAaQBtAGUAZgBhAGMAZQBzAC8AcAByAGkAbQBlAGkAYwBvAG4Ac01JVABNAEkAVGh0dHBzOi8vb3BlbnNvdXJjZS5vcmcvbGljZW5zZXMvTUlUAGgAdAB0AHAAcwA6AC8ALwBvAHAAZQBuAHMAbwB1AHIAYwBlAC4AbwByAGcALwBsAGkAYwBlAG4AcwBlAHMALwBNAEkAVFZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMHByaW1laWNvbnMAcAByAGkAbQBlAGkAYwBvAG4Ac3ByaW1laWNvbnMAcAByAGkAbQBlAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcnByaW1laWNvbnMAcAByAGkAbQBlAGkAYwBvAG4AcwADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format("woff")} diff --git a/dotCMS/src/main/webapp/html/dotcms-block-editor.js b/dotCMS/src/main/webapp/html/dotcms-block-editor.js index 54812fa34606..c9ca1d8281e4 100644 --- a/dotCMS/src/main/webapp/html/dotcms-block-editor.js +++ b/dotCMS/src/main/webapp/html/dotcms-block-editor.js @@ -1 +1 @@ -var runtime=function(c){"use strict";var l,M=Object.prototype,p=M.hasOwnProperty,w=Object.defineProperty||function(r,t,e){r[t]=e.value},O="function"==typeof Symbol?Symbol:{},L=O.iterator||"@@iterator",z=O.asyncIterator||"@@asyncIterator",_=O.toStringTag||"@@toStringTag";function v(r,t,e){return Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}),r[t]}try{v({},"")}catch{v=function(t,e,o){return t[e]=o}}function R(r,t,e,o){var i=Object.create((t&&t.prototype instanceof j?t:j).prototype),a=new I(o||[]);return w(i,"_invoke",{value:H(r,e,a)}),i}function k(r,t,e){try{return{type:"normal",arg:r.call(t,e)}}catch(o){return{type:"throw",arg:o}}}c.wrap=R;var Y="suspendedStart",q="executing",b="completed",s={};function j(){}function S(){}function d(){}var N={};v(N,L,function(){return this});var T=Object.getPrototypeOf,E=T&&T(T(A([])));E&&E!==M&&p.call(E,L)&&(N=E);var g=d.prototype=j.prototype=Object.create(N);function D(r){["next","throw","return"].forEach(function(t){v(r,t,function(e){return this._invoke(t,e)})})}function G(r,t){function e(i,a,u,h){var f=k(r[i],r,a);if("throw"!==f.type){var C=f.arg,m=C.value;return m&&"object"==typeof m&&p.call(m,"__await")?t.resolve(m.__await).then(function(y){e("next",y,u,h)},function(y){e("throw",y,u,h)}):t.resolve(m).then(function(y){C.value=y,u(C)},function(y){return e("throw",y,u,h)})}h(f.arg)}var o;w(this,"_invoke",{value:function n(i,a){function u(){return new t(function(h,f){e(i,a,h,f)})}return o=o?o.then(u,u):u()}})}function H(r,t,e){var o=Y;return function(i,a){if(o===q)throw new Error("Generator is already running");if(o===b){if("throw"===i)throw a;return $()}for(e.method=i,e.arg=a;;){var u=e.delegate;if(u){var h=W(u,e);if(h){if(h===s)continue;return h}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(o===Y)throw o=b,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);o=q;var f=k(r,t,e);if("normal"===f.type){if(o=e.done?b:"suspendedYield",f.arg===s)continue;return{value:f.arg,done:e.done}}"throw"===f.type&&(o=b,e.method="throw",e.arg=f.arg)}}}function W(r,t){var e=t.method,o=r.iterator[e];if(o===l)return t.delegate=null,"throw"===e&&r.iterator.return&&(t.method="return",t.arg=l,W(r,t),"throw"===t.method)||"return"!==e&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+e+"' method")),s;var n=k(o,r.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,s;var i=n.arg;return i?i.done?(t[r.resultName]=i.value,t.next=r.nextLoc,"return"!==t.method&&(t.method="next",t.arg=l),t.delegate=null,s):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function J(r){var t={tryLoc:r[0]};1 in r&&(t.catchLoc=r[1]),2 in r&&(t.finallyLoc=r[2],t.afterLoc=r[3]),this.tryEntries.push(t)}function P(r){var t=r.completion||{};t.type="normal",delete t.arg,r.completion=t}function I(r){this.tryEntries=[{tryLoc:"root"}],r.forEach(J,this),this.reset(!0)}function A(r){if(r){var t=r[L];if(t)return t.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var e=-1,o=function n(){for(;++e=0;--o){var n=this.tryEntries[o],i=n.completion;if("root"===n.tryLoc)return e("end");if(n.tryLoc<=this.prev){var a=p.call(n,"catchLoc"),u=p.call(n,"finallyLoc");if(a&&u){if(this.prev=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&p.call(o,"finallyLoc")&&this.prev=0;--t){var e=this.tryEntries[t];if(e.finallyLoc===r)return this.complete(e.completion,e.afterLoc),P(e),s}},catch:function(r){for(var t=this.tryEntries.length-1;t>=0;--t){var e=this.tryEntries[t];if(e.tryLoc===r){var o=e.completion;if("throw"===o.type){var n=o.arg;P(e)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(r,t,e){return this.delegate={iterator:A(r),resultName:t,nextLoc:e},"next"===this.method&&(this.arg=l),s}},c}("object"==typeof module?module.exports:{});try{regeneratorRuntime=runtime}catch{"object"==typeof globalThis?globalThis.regeneratorRuntime=runtime:Function("r","regeneratorRuntime = r")(runtime)}(()=>{"use strict";var e,_={},v={};function r(e){var n=v[e];if(void 0!==n)return n.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return _[e](t,t.exports,r),t.loaded=!0,t.exports}r.m=_,e=[],r.O=(n,t,o,f)=>{if(!t){var a=1/0;for(i=0;i=f)&&Object.keys(r.O).every(b=>r.O[b](t[d]))?t.splice(d--,1):(l=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[t,o,f]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},(()=>{var n,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,o){if(1&o&&(t=this(t)),8&o||"object"==typeof t&&t&&(4&o&&t.__esModule||16&o&&"function"==typeof t.then))return t;var f=Object.create(null);r.r(f);var i={};n=n||[null,e({}),e([]),e(e)];for(var a=2&o&&t;"object"==typeof a&&!~n.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(l=>i[l]=()=>t[l]);return i.default=()=>t,r.d(f,i),f}})(),r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>(8592===e?"common":e)+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="dotcms-block-editor:";r.l=(t,o,f,i)=>{if(e[t])e[t].push(o);else{var a,l;if(void 0!==f)for(var d=document.getElementsByTagName("script"),s=0;s{a.onerror=a.onload=null,clearTimeout(p);var h=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),h&&h.forEach(m=>m(b)),g)return g(b)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(null,a.onerror),a.onload=u.bind(null,a.onload),l&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={3666:0};r.f.j=(o,f)=>{var i=r.o(e,o)?e[o]:void 0;if(0!==i)if(i)f.push(i[2]);else if(3666!=o){var a=new Promise((c,u)=>i=e[o]=[c,u]);f.push(i[2]=a);var l=r.p+r.u(o),d=new Error;r.l(l,c=>{if(r.o(e,o)&&(0!==(i=e[o])&&(e[o]=void 0),i)){var u=c&&("load"===c.type?"missing":c.type),p=c&&c.target&&c.target.src;d.message="Loading chunk "+o+" failed.\n("+u+": "+p+")",d.name="ChunkLoadError",d.type=u,d.request=p,i[1](d)}},"chunk-"+o,o)}else e[o]=0},r.O.j=o=>0===e[o];var n=(o,f)=>{var d,s,[i,a,l]=f,c=0;if(i.some(p=>0!==e[p])){for(d in a)r.o(a,d)&&(r.m[d]=a[d]);if(l)var u=l(r)}for(o&&o(f);c{"use strict";ge(88583),ge(30757)},30757:()=>{!function(X,oe){"use strict";function ge(){var e=Ue.splice(0,Ue.length);for(F=0;e.length;)e.shift().call(null,e.shift())}function ye(e,r){for(var i=0,h=e.length;i1)&&tt(this)}}}),x(o,pe,{value:function(p){-1>0,de="__"+se+dt,be="addEventListener",Le="attached",ce="Callback",me="detached",te="extends",pe="attributeChanged"+ce,vt=Le+ce,rt="connected"+ce,mt="disconnected"+ce,ze="created"+ce,kt=me+ce,ot="ADDITION",pt="REMOVAL",Oe="DOMAttrModified",bt="DOMContentLoaded",Et="DOMSubtreeModified",qe="<",st="=",Mt=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,wt=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],He=[],We=[],le="",De=A.documentElement,Ee=He.indexOf||function(e){for(var r=this.length;r--&&this[r]!==e;);return r},it=ne.prototype,Pe=it.hasOwnProperty,at=it.isPrototypeOf,Re=ne.defineProperty,Ne=[],Xe=ne.getOwnPropertyDescriptor,Y=ne.getOwnPropertyNames,Ct=ne.getPrototypeOf,Ye=ne.setPrototypeOf,Se=!!ne.__proto__,$e="__dreCEv1",Me=X.customElements,t=!/^force/.test(oe.type)&&!!(Me&&Me.define&&Me.get&&Me.whenDefined),a=ne.create||ne,u=X.Map||function(){var e,r=[],i=[];return{get:function(h){return i[Ee.call(r,h)]},set:function(h,s){(e=Ee.call(r,h))<0?i[r.push(h)-1]=s:i[e]=s}}},c=X.Promise||function(e){function r(o){for(h=!0;i.length;)i.shift()(o)}var i=[],h=!1,s={catch:function(){return s},then:function(o){return i.push(o),h&&setTimeout(r,1),s}};return e(r),s},f=!1,m=a(null),E=a(null),v=new u,C=function(e){return e.toLowerCase()},w=ne.create||function e(r){return r?(e.prototype=r,new e):this},b=Ye||(Se?function(e,r){return e.__proto__=r,e}:Y&&Xe?function(){function e(r,i){for(var h,s=Y(i),o=0,l=s.length;o
",new H(function(e,r){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var i=(Ce=Xe(P,"innerHTML"))&&Ce.set;i&&Re(P,"innerHTML",{set:function(h){for(;this.lastChild;)this.removeChild(this.lastChild);i.call(this,h)}})}r.disconnect(),Ce=null}).observe(Ce,{childList:!0,subtree:!0}),Ce.innerHTML=""),ue||(Ye||Se?(we=function(e,r){at.call(r,e)||Fe(e,r)},ae=Fe):(we=function(e,r){e[de]||(e[de]=ne(!0),Fe(e,r))},ae=we),G?(I=!1,e=Xe(P,be),r=e.value,i=function(o){var l=new CustomEvent(Oe,{bubbles:!0});l.attrName=o,l.prevValue=R.call(this,o),l.newValue=null,l[pt]=l.attrChange=2,V.call(this,o),$.call(this,l)},h=function(o,l){var d=Q.call(this,o),p=d&&R.call(this,o),y=new CustomEvent(Oe,{bubbles:!0});K.call(this,o,l),y.attrName=o,y.prevValue=d?p:null,y.newValue=l,d?y.MODIFICATION=y.attrChange=1:y[ot]=y.attrChange=0,$.call(this,y)},s=function(o){var l,d=o.currentTarget,p=d[de],y=o.propertyName;p.hasOwnProperty(y)&&(p=p[y],(l=new CustomEvent(Oe,{bubbles:!0})).attrName=p.name,l.prevValue=p.value||null,l.newValue=p.value=d[y]||null,null==l.prevValue?l[ot]=l.attrChange=0:l.MODIFICATION=l.attrChange=1,$.call(d,l))},e.value=function(o,l,d){o===Oe&&this[pe]&&this.setAttribute!==h&&(this[de]={className:{name:"class",value:this.className}},this.setAttribute=h,this.removeAttribute=i,r.call(this,"propertychange",s)),r.call(this,o,l,d)},Re(P,be,e)):H||(De[be](Oe,Te),De.setAttribute(de,1),De.removeAttribute(de),I&&(je=function(e){var r,i,h,s=this;if(s===e.target){for(h in r=s[de],s[de]=i=nt(s),i){if(!(h in r))return Be(0,s,h,r[h],i[h],ot);if(i[h]!==r[h])return Be(1,s,h,r[h],i[h],"MODIFICATION")}for(h in r)if(!(h in i))return Be(2,s,h,r[h],i[h],pt)}},Be=function(e,r,i,h,s,o){var l={attrChange:e,currentTarget:r,attrName:i,prevValue:h,newValue:s};l[o]=e,Qe(l)},nt=function(e){for(var r,i,h={},s=e.attributes,o=0,l=s.length;o$");if(r[te]="a",(e.prototype=w(S.prototype)).constructor=e,X.customElements.define(i,e,r),!h.test(A.createElement("a",{is:i}).outerHTML)||!h.test((new e).outerHTML))throw r}(function e(){return Reflect.construct(S,[],e)},{},"document-register-element-a"+dt)}catch{ft()}if(!oe.noBuiltIn)try{if(N.call(A,"a","a").outerHTML.indexOf("is")<0)throw{}}catch{C=function(r){return{is:r.toLowerCase()}}}}(window)},88583:()=>{"use strict";!function(t){const a=t.performance;function u(I){a&&a.mark&&a.mark(I)}function c(I,k){a&&a.measure&&a.measure(I,k)}u("Zone");const f=t.__Zone_symbol_prefix||"__zone_symbol__";function m(I){return f+I}const E=!0===t[m("forceDuplicateZoneCheck")];if(t.Zone){if(E||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let v=(()=>{class I{constructor(n,e){this._parent=n,this._name=e?e.name||"unnamed":"",this._properties=e&&e.properties||{},this._zoneDelegate=new w(this,this._parent&&this._parent._zoneDelegate,e)}static assertZonePatched(){if(t.Promise!==re.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let n=I.current;for(;n.parent;)n=n.parent;return n}static get current(){return F.zone}static get currentTask(){return ue}static __load_patch(n,e,r=!1){if(re.hasOwnProperty(n)){if(!r&&E)throw Error("Already loaded patch: "+n)}else if(!t["__Zone_disable_"+n]){const i="Zone:"+n;u(i),re[n]=e(t,I,Te),c(i,i)}}get parent(){return this._parent}get name(){return this._name}get(n){const e=this.getZoneWith(n);if(e)return e._properties[n]}getZoneWith(n){let e=this;for(;e;){if(e._properties.hasOwnProperty(n))return e;e=e._parent}return null}fork(n){if(!n)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,n)}wrap(n,e){if("function"!=typeof n)throw new Error("Expecting function got: "+n);const r=this._zoneDelegate.intercept(this,n,e),i=this;return function(){return i.runGuarded(r,this,arguments,e)}}run(n,e,r,i){F={parent:F,zone:this};try{return this._zoneDelegate.invoke(this,n,e,r,i)}finally{F=F.parent}}runGuarded(n,e=null,r,i){F={parent:F,zone:this};try{try{return this._zoneDelegate.invoke(this,n,e,r,i)}catch(h){if(this._zoneDelegate.handleError(this,h))throw h}}finally{F=F.parent}}runTask(n,e,r){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||z).name+"; Execution: "+this.name+")");if(n.state===B&&(n.type===O||n.type===j))return;const i=n.state!=Q;i&&n._transitionTo(Q,R),n.runCount++;const h=ue;ue=n,F={parent:F,zone:this};try{n.type==j&&n.data&&!n.data.isPeriodic&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,n,e,r)}catch(s){if(this._zoneDelegate.handleError(this,s))throw s}}finally{n.state!==B&&n.state!==K&&(n.type==O||n.data&&n.data.isPeriodic?i&&n._transitionTo(R,Q):(n.runCount=0,this._updateTaskCount(n,-1),i&&n._transitionTo(B,Q,B))),F=F.parent,ue=h}}scheduleTask(n){if(n.zone&&n.zone!==this){let r=this;for(;r;){if(r===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);r=r.parent}}n._transitionTo($,B);const e=[];n._zoneDelegates=e,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(r){throw n._transitionTo(K,$,B),this._zoneDelegate.handleError(this,r),r}return n._zoneDelegates===e&&this._updateTaskCount(n,1),n.state==$&&n._transitionTo(R,$),n}scheduleMicroTask(n,e,r,i){return this.scheduleTask(new b(N,n,e,r,i,void 0))}scheduleMacroTask(n,e,r,i,h){return this.scheduleTask(new b(j,n,e,r,i,h))}scheduleEventTask(n,e,r,i,h){return this.scheduleTask(new b(O,n,e,r,i,h))}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||z).name+"; Execution: "+this.name+")");n._transitionTo(V,R,Q);try{this._zoneDelegate.cancelTask(this,n)}catch(e){throw n._transitionTo(K,V),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(n,-1),n._transitionTo(B,V),n.runCount=0,n}_updateTaskCount(n,e){const r=n._zoneDelegates;-1==e&&(n._zoneDelegates=null);for(let i=0;iI.hasTask(n,e),onScheduleTask:(I,k,n,e)=>I.scheduleTask(n,e),onInvokeTask:(I,k,n,e,r,i)=>I.invokeTask(n,e,r,i),onCancelTask:(I,k,n,e)=>I.cancelTask(n,e)};class w{constructor(k,n,e){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=k,this._parentDelegate=n,this._forkZS=e&&(e&&e.onFork?e:n._forkZS),this._forkDlgt=e&&(e.onFork?n:n._forkDlgt),this._forkCurrZone=e&&(e.onFork?this.zone:n._forkCurrZone),this._interceptZS=e&&(e.onIntercept?e:n._interceptZS),this._interceptDlgt=e&&(e.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=e&&(e.onIntercept?this.zone:n._interceptCurrZone),this._invokeZS=e&&(e.onInvoke?e:n._invokeZS),this._invokeDlgt=e&&(e.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=e&&(e.onInvoke?this.zone:n._invokeCurrZone),this._handleErrorZS=e&&(e.onHandleError?e:n._handleErrorZS),this._handleErrorDlgt=e&&(e.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=e&&(e.onHandleError?this.zone:n._handleErrorCurrZone),this._scheduleTaskZS=e&&(e.onScheduleTask?e:n._scheduleTaskZS),this._scheduleTaskDlgt=e&&(e.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=e&&(e.onScheduleTask?this.zone:n._scheduleTaskCurrZone),this._invokeTaskZS=e&&(e.onInvokeTask?e:n._invokeTaskZS),this._invokeTaskDlgt=e&&(e.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=e&&(e.onInvokeTask?this.zone:n._invokeTaskCurrZone),this._cancelTaskZS=e&&(e.onCancelTask?e:n._cancelTaskZS),this._cancelTaskDlgt=e&&(e.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=e&&(e.onCancelTask?this.zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const r=e&&e.onHasTask;(r||n&&n._hasTaskZS)&&(this._hasTaskZS=r?e:C,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=k,e.onScheduleTask||(this._scheduleTaskZS=C,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this.zone),e.onInvokeTask||(this._invokeTaskZS=C,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this.zone),e.onCancelTask||(this._cancelTaskZS=C,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this.zone))}fork(k,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,k,n):new v(k,n)}intercept(k,n,e){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,k,n,e):n}invoke(k,n,e,r,i){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,k,n,e,r,i):n.apply(e,r)}handleError(k,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,k,n)}scheduleTask(k,n){let e=n;if(this._scheduleTaskZS)this._hasTaskZS&&e._zoneDelegates.push(this._hasTaskDlgtOwner),e=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,k,n),e||(e=n);else if(n.scheduleFn)n.scheduleFn(n);else{if(n.type!=N)throw new Error("Task is missing scheduleFn.");T(n)}return e}invokeTask(k,n,e,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,k,n,e,r):n.callback.apply(e,r)}cancelTask(k,n){let e;if(this._cancelTaskZS)e=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,k,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");e=n.cancelFn(n)}return e}hasTask(k,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,k,n)}catch(e){this.handleError(k,e)}}_updateTaskCount(k,n){const e=this._taskCounts,r=e[k],i=e[k]=r+n;if(i<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=i||this.hasTask(this.zone,{microTask:e.microTask>0,macroTask:e.macroTask>0,eventTask:e.eventTask>0,change:k})}}class b{constructor(k,n,e,r,i,h){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=k,this.source=n,this.data=r,this.scheduleFn=i,this.cancelFn=h,!e)throw new Error("callback is not defined");this.callback=e;const s=this;this.invoke=k===O&&r&&r.useG?b.invokeTask:function(){return b.invokeTask.call(t,s,this,arguments)}}static invokeTask(k,n,e){k||(k=this),fe++;try{return k.runCount++,k.zone.runTask(k,n,e)}finally{1==fe&&Z(),fe--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(B,$)}_transitionTo(k,n,e){if(this._state!==n&&this._state!==e)throw new Error(`${this.type} '${this.source}': can not transition to '${k}', expecting state '${n}'${e?" or '"+e+"'":""}, was '${this._state}'.`);this._state=k,k==B&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const H=m("setTimeout"),S=m("Promise"),P=m("then");let L,G=[],x=!1;function T(I){if(0===fe&&0===G.length)if(L||t[S]&&(L=t[S].resolve(0)),L){let k=L[P];k||(k=L.then),k.call(L,Z)}else t[H](Z,0);I&&G.push(I)}function Z(){if(!x){for(x=!0;G.length;){const I=G;G=[];for(let k=0;kF,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:T,showUncaughtError:()=>!v[m("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W};let F={parent:null,zone:new v(null,null)},ue=null,fe=0;function W(){}c("Zone","Zone"),t.Zone=v}(typeof window<"u"&&window||typeof self<"u"&&self||global);const oe=Object.getOwnPropertyDescriptor,ge=Object.defineProperty,ye=Object.getPrototypeOf,_t=Object.create,Ve=Array.prototype.slice,Ie="addEventListener",Je="removeEventListener",Qe=Zone.__symbol__(Ie),et=Zone.__symbol__(Je),he="true",ve="false",Ze=Zone.__symbol__("");function Fe(t,a){return Zone.current.wrap(t,a)}function lt(t,a,u,c,f){return Zone.current.scheduleMacroTask(t,a,u,c,f)}const U=Zone.__symbol__,Ae=typeof window<"u",ke=Ae?window:void 0,J=Ae&&ke||"object"==typeof self&&self||global,yt=[null];function tt(t,a){for(let u=t.length-1;u>=0;u--)"function"==typeof t[u]&&(t[u]=Fe(t[u],a+"_"+u));return t}function ft(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const A=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,ne=!("nw"in J)&&typeof J.process<"u"&&"[object process]"==={}.toString.call(J.process),ht=!ne&&!A&&!(!Ae||!ke.HTMLElement),Ue=typeof J.process<"u"&&"[object process]"==={}.toString.call(J.process)&&!A&&!(!Ae||!ke.HTMLElement),je={},Be=function(t){if(!(t=t||J.event))return;let a=je[t.type];a||(a=je[t.type]=U("ON_PROPERTY"+t.type));const u=this||t.target||J,c=u[a];let f;return ht&&u===ke&&"error"===t.type?(f=c&&c.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===f&&t.preventDefault()):(f=c&&c.apply(this,arguments),null!=f&&!f&&t.preventDefault()),f};function nt(t,a,u){let c=oe(t,a);if(!c&&u&&oe(u,a)&&(c={enumerable:!0,configurable:!0}),!c||!c.configurable)return;const f=U("on"+a+"patched");if(t.hasOwnProperty(f)&&t[f])return;delete c.writable,delete c.value;const m=c.get,E=c.set,v=a.substr(2);let C=je[v];C||(C=je[v]=U("ON_PROPERTY"+v)),c.set=function(w){let b=this;!b&&t===J&&(b=J),b&&(b[C]&&b.removeEventListener(v,Be),E&&E.apply(b,yt),"function"==typeof w?(b[C]=w,b.addEventListener(v,Be,!1)):b[C]=null)},c.get=function(){let w=this;if(!w&&t===J&&(w=J),!w)return null;const b=w[C];if(b)return b;if(m){let H=m&&m.call(this);if(H)return c.set.call(this,H),"function"==typeof w.removeAttribute&&w.removeAttribute(a),H}return null},ge(t,a,c),t[f]=!0}function Ge(t,a,u){if(a)for(let c=0;cfunction(E,v){const C=u(E,v);return C.cbIdx>=0&&"function"==typeof v[C.cbIdx]?lt(C.name,v[C.cbIdx],C,f):m.apply(E,v)})}function se(t,a){t[U("OriginalDelegate")]=a}let dt=!1,de=!1;function Le(){if(dt)return de;dt=!0;try{const t=ke.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(de=!0)}catch{}return de}Zone.__load_patch("ZoneAwarePromise",(t,a,u)=>{const c=Object.getOwnPropertyDescriptor,f=Object.defineProperty,E=u.symbol,v=[],C=!0===t[E("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],w=E("Promise"),b=E("then");u.onUnhandledError=s=>{if(u.showUncaughtError()){const o=s&&s.rejection;o?console.error("Unhandled Promise rejection:",o instanceof Error?o.message:o,"; Zone:",s.zone.name,"; Task:",s.task&&s.task.source,"; Value:",o,o instanceof Error?o.stack:void 0):console.error(s)}},u.microtaskDrainDone=()=>{for(;v.length;){const s=v.shift();try{s.zone.runGuarded(()=>{throw s.throwOriginal?s.rejection:s})}catch(o){P(o)}}};const S=E("unhandledPromiseRejectionHandler");function P(s){u.onUnhandledError(s);try{const o=a[S];"function"==typeof o&&o.call(this,s)}catch{}}function G(s){return s&&s.then}function x(s){return s}function L(s){return n.reject(s)}const T=E("state"),Z=E("value"),z=E("finally"),B=E("parentPromiseValue"),$=E("parentPromiseState"),Q=null,V=!0,K=!1;function j(s,o){return l=>{try{F(s,o,l)}catch(d){F(s,!1,d)}}}const Te=E("currentTaskTrace");function F(s,o,l){const d=function(){let s=!1;return function(l){return function(){s||(s=!0,l.apply(null,arguments))}}}();if(s===l)throw new TypeError("Promise resolved with itself");if(s[T]===Q){let p=null;try{("object"==typeof l||"function"==typeof l)&&(p=l&&l.then)}catch(y){return d(()=>{F(s,!1,y)})(),s}if(o!==K&&l instanceof n&&l.hasOwnProperty(T)&&l.hasOwnProperty(Z)&&l[T]!==Q)fe(l),F(s,l[T],l[Z]);else if(o!==K&&"function"==typeof p)try{p.call(l,d(j(s,o)),d(j(s,!1)))}catch(y){d(()=>{F(s,!1,y)})()}else{s[T]=o;const y=s[Z];if(s[Z]=l,s[z]===z&&o===V&&(s[T]=s[$],s[Z]=s[B]),o===K&&l instanceof Error){const _=a.currentTask&&a.currentTask.data&&a.currentTask.data.__creationTrace__;_&&f(l,Te,{configurable:!0,enumerable:!1,writable:!0,value:_})}for(let _=0;_{try{const g=s[Z],M=!!l&&z===l[z];M&&(l[B]=g,l[$]=y);const D=o.run(_,void 0,M&&_!==L&&_!==x?[]:[g]);F(l,!0,D)}catch(g){F(l,!1,g)}},l)}const k=function(){};class n{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(o){return F(new this(null),V,o)}static reject(o){return F(new this(null),K,o)}static race(o){let l,d,p=new this((g,M)=>{l=g,d=M});function y(g){l(g)}function _(g){d(g)}for(let g of o)G(g)||(g=this.resolve(g)),g.then(y,_);return p}static all(o){return n.allWithCallback(o)}static allSettled(o){return(this&&this.prototype instanceof n?this:n).allWithCallback(o,{thenCallback:d=>({status:"fulfilled",value:d}),errorCallback:d=>({status:"rejected",reason:d})})}static allWithCallback(o,l){let d,p,y=new this((D,q)=>{d=D,p=q}),_=2,g=0;const M=[];for(let D of o){G(D)||(D=this.resolve(D));const q=g;try{D.then(ee=>{M[q]=l?l.thenCallback(ee):ee,_--,0===_&&d(M)},ee=>{l?(M[q]=l.errorCallback(ee),_--,0===_&&d(M)):p(ee)})}catch(ee){p(ee)}_++,g++}return _-=2,0===_&&d(M),y}constructor(o){const l=this;if(!(l instanceof n))throw new Error("Must be an instanceof Promise.");l[T]=Q,l[Z]=[];try{o&&o(j(l,V),j(l,K))}catch(d){F(l,!1,d)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return n}then(o,l){let d=this.constructor[Symbol.species];(!d||"function"!=typeof d)&&(d=this.constructor||n);const p=new d(k),y=a.current;return this[T]==Q?this[Z].push(y,p,o,l):W(this,y,p,o,l),p}catch(o){return this.then(null,o)}finally(o){let l=this.constructor[Symbol.species];(!l||"function"!=typeof l)&&(l=n);const d=new l(k);d[z]=z;const p=a.current;return this[T]==Q?this[Z].push(p,d,o,o):W(this,p,d,o,o),d}}n.resolve=n.resolve,n.reject=n.reject,n.race=n.race,n.all=n.all;const e=t[w]=t.Promise;t.Promise=n;const r=E("thenPatched");function i(s){const o=s.prototype,l=c(o,"then");if(l&&(!1===l.writable||!l.configurable))return;const d=o.then;o[b]=d,s.prototype.then=function(p,y){return new n((g,M)=>{d.call(this,g,M)}).then(p,y)},s[r]=!0}return u.patchThen=i,e&&(i(e),ae(t,"fetch",s=>function h(s){return function(o,l){let d=s.apply(o,l);if(d instanceof n)return d;let p=d.constructor;return p[r]||i(p),d}}(s))),Promise[a.__symbol__("uncaughtPromiseErrors")]=v,n}),Zone.__load_patch("toString",t=>{const a=Function.prototype.toString,u=U("OriginalDelegate"),c=U("Promise"),f=U("Error"),m=function(){if("function"==typeof this){const w=this[u];if(w)return"function"==typeof w?a.call(w):Object.prototype.toString.call(w);if(this===Promise){const b=t[c];if(b)return a.call(b)}if(this===Error){const b=t[f];if(b)return a.call(b)}}return a.call(this)};m[u]=a,Function.prototype.toString=m;const E=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":E.call(this)}});let ce=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){ce=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{ce=!1}const me={useG:!0},te={},pe={},vt=new RegExp("^"+Ze+"(\\w+)(true|false)$"),rt=U("propagationStopped");function mt(t,a){const u=(a?a(t):t)+ve,c=(a?a(t):t)+he,f=Ze+u,m=Ze+c;te[t]={},te[t][ve]=f,te[t][he]=m}function ze(t,a,u){const c=u&&u.add||Ie,f=u&&u.rm||Je,m=u&&u.listeners||"eventListeners",E=u&&u.rmAll||"removeAllListeners",v=U(c),C="."+c+":",w="prependListener",b="."+w+":",H=function(L,T,Z){if(L.isRemoved)return;const z=L.callback;"object"==typeof z&&z.handleEvent&&(L.callback=$=>z.handleEvent($),L.originalDelegate=z),L.invoke(L,T,[Z]);const B=L.options;B&&"object"==typeof B&&B.once&&T[f].call(T,Z.type,L.originalDelegate?L.originalDelegate:L.callback,B)},S=function(L){if(!(L=L||t.event))return;const T=this||L.target||t,Z=T[te[L.type][ve]];if(Z)if(1===Z.length)H(Z[0],T,L);else{const z=Z.slice();for(let B=0;Bfunction(f,m){f[rt]=!0,c&&c.apply(f,m)})}function pt(t,a,u,c,f){const m=Zone.__symbol__(c);if(a[m])return;const E=a[m]=a[c];a[c]=function(v,C,w){return C&&C.prototype&&f.forEach(function(b){const H=`${u}.${c}::`+b,S=C.prototype;if(S.hasOwnProperty(b)){const P=t.ObjectGetOwnPropertyDescriptor(S,b);P&&P.value?(P.value=t.wrapWithCurrentZone(P.value,H),t._redefineProperty(C.prototype,b,P)):S[b]&&(S[b]=t.wrapWithCurrentZone(S[b],H))}else S[b]&&(S[b]=t.wrapWithCurrentZone(S[b],H))}),E.call(a,v,C,w)},t.attachOriginToPatched(a[c],E)}const Et=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],st=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],le=["load"],De=["blur","error","focus","load","resize","scroll","messageerror"],Ee=["bounce","finish","start"],it=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Pe=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],at=["close","error","open","message"],Re=["error","message"],Ne=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],Et,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function Xe(t,a,u){if(!u||0===u.length)return a;const c=u.filter(m=>m.target===t);if(!c||0===c.length)return a;const f=c[0].ignoreProperties;return a.filter(m=>-1===f.indexOf(m))}function Y(t,a,u,c){t&&Ge(t,Xe(t,a,u),c)}Zone.__load_patch("util",(t,a,u)=>{u.patchOnProperties=Ge,u.patchMethod=ae,u.bindArguments=tt,u.patchMacroTask=Ce;const c=a.__symbol__("BLACK_LISTED_EVENTS"),f=a.__symbol__("UNPATCHED_EVENTS");t[f]&&(t[c]=t[f]),t[c]&&(a[c]=a[f]=t[c]),u.patchEventPrototype=ot,u.patchEventTarget=ze,u.isIEOrEdge=Le,u.ObjectDefineProperty=ge,u.ObjectGetOwnPropertyDescriptor=oe,u.ObjectCreate=_t,u.ArraySlice=Ve,u.patchClass=we,u.wrapWithCurrentZone=Fe,u.filterProperties=Xe,u.attachOriginToPatched=se,u._redefineProperty=Object.defineProperty,u.patchCallbacks=pt,u.getGlobalObjects=()=>({globalSources:pe,zoneSymbolEventNames:te,eventNames:Ne,isBrowser:ht,isMix:Ue,isNode:ne,TRUE_STR:he,FALSE_STR:ve,ZONE_SYMBOL_PREFIX:Ze,ADD_EVENT_LISTENER_STR:Ie,REMOVE_EVENT_LISTENER_STR:Je})});const Ye=U("zoneTask");function Se(t,a,u,c){let f=null,m=null;u+=c;const E={};function v(w){const b=w.data;return b.args[0]=function(){return w.invoke.apply(this,arguments)},b.handleId=f.apply(t,b.args),w}function C(w){return m.call(t,w.data.handleId)}f=ae(t,a+=c,w=>function(b,H){if("function"==typeof H[0]){const S={isPeriodic:"Interval"===c,delay:"Timeout"===c||"Interval"===c?H[1]||0:void 0,args:H},P=H[0];H[0]=function(){try{return P.apply(this,arguments)}finally{S.isPeriodic||("number"==typeof S.handleId?delete E[S.handleId]:S.handleId&&(S.handleId[Ye]=null))}};const G=lt(a,H[0],S,v,C);if(!G)return G;const x=G.data.handleId;return"number"==typeof x?E[x]=G:x&&(x[Ye]=G),x&&x.ref&&x.unref&&"function"==typeof x.ref&&"function"==typeof x.unref&&(G.ref=x.ref.bind(x),G.unref=x.unref.bind(x)),"number"==typeof x||x?x:G}return w.apply(t,H)}),m=ae(t,u,w=>function(b,H){const S=H[0];let P;"number"==typeof S?P=E[S]:(P=S&&S[Ye],P||(P=S)),P&&"string"==typeof P.type?"notScheduled"!==P.state&&(P.cancelFn&&P.data.isPeriodic||0===P.runCount)&&("number"==typeof S?delete E[S]:S&&(S[Ye]=null),P.zone.cancelTask(P)):w.apply(t,H)})}Zone.__load_patch("legacy",t=>{const a=t[Zone.__symbol__("legacyPatch")];a&&a()}),Zone.__load_patch("queueMicrotask",(t,a,u)=>{u.patchMethod(t,"queueMicrotask",c=>function(f,m){a.current.scheduleMicroTask("queueMicrotask",m[0])})}),Zone.__load_patch("timers",t=>{const a="set",u="clear";Se(t,a,u,"Timeout"),Se(t,a,u,"Interval"),Se(t,a,u,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{Se(t,"request","cancel","AnimationFrame"),Se(t,"mozRequest","mozCancel","AnimationFrame"),Se(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,a)=>{const u=["alert","prompt","confirm"];for(let c=0;cfunction(C,w){return a.current.run(m,t,w,v)})}),Zone.__load_patch("EventTarget",(t,a,u)=>{(function Me(t,a){a.patchEventPrototype(t,a)})(t,u),function $e(t,a){if(Zone[a.symbol("patchEventTarget")])return;const{eventNames:u,zoneSymbolEventNames:c,TRUE_STR:f,FALSE_STR:m,ZONE_SYMBOL_PREFIX:E}=a.getGlobalObjects();for(let C=0;C{we("MutationObserver"),we("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,a,u)=>{we("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,a,u)=>{we("FileReader")}),Zone.__load_patch("on_property",(t,a,u)=>{!function Ct(t,a){if(ne&&!Ue||Zone[t.symbol("patchEvents")])return;const u=typeof WebSocket<"u",c=a.__Zone_ignore_on_properties;if(ht){const E=window,v=function be(){try{const t=ke.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:E,ignoreProperties:["error"]}]:[];Y(E,Ne.concat(["messageerror"]),c&&c.concat(v),ye(E)),Y(Document.prototype,Ne,c),typeof E.SVGElement<"u"&&Y(E.SVGElement.prototype,Ne,c),Y(Element.prototype,Ne,c),Y(HTMLElement.prototype,Ne,c),Y(HTMLMediaElement.prototype,st,c),Y(HTMLFrameSetElement.prototype,Et.concat(De),c),Y(HTMLBodyElement.prototype,Et.concat(De),c),Y(HTMLFrameElement.prototype,le,c),Y(HTMLIFrameElement.prototype,le,c);const C=E.HTMLMarqueeElement;C&&Y(C.prototype,Ee,c);const w=E.Worker;w&&Y(w.prototype,Re,c)}const f=a.XMLHttpRequest;f&&Y(f.prototype,it,c);const m=a.XMLHttpRequestEventTarget;m&&Y(m&&m.prototype,it,c),typeof IDBIndex<"u"&&(Y(IDBIndex.prototype,Pe,c),Y(IDBRequest.prototype,Pe,c),Y(IDBOpenDBRequest.prototype,Pe,c),Y(IDBDatabase.prototype,Pe,c),Y(IDBTransaction.prototype,Pe,c),Y(IDBCursor.prototype,Pe,c)),u&&Y(WebSocket.prototype,at,c)}(u,t)}),Zone.__load_patch("customElements",(t,a,u)=>{!function Pt(t,a){const{isBrowser:u,isMix:c}=a.getGlobalObjects();(u||c)&&t.customElements&&"customElements"in t&&a.patchCallbacks(a,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,u)}),Zone.__load_patch("XHR",(t,a)=>{!function C(w){const b=w.XMLHttpRequest;if(!b)return;const H=b.prototype;let P=H[Qe],G=H[et];if(!P){const N=w.XMLHttpRequestEventTarget;if(N){const j=N.prototype;P=j[Qe],G=j[et]}}const x="readystatechange",L="scheduled";function T(N){const j=N.data,O=j.target;O[m]=!1,O[v]=!1;const re=O[f];P||(P=O[Qe],G=O[et]),re&&G.call(O,x,re);const Te=O[f]=()=>{if(O.readyState===O.DONE)if(!j.aborted&&O[m]&&N.state===L){const ue=O[a.__symbol__("loadfalse")];if(0!==O.status&&ue&&ue.length>0){const fe=N.invoke;N.invoke=function(){const W=O[a.__symbol__("loadfalse")];for(let I=0;Ifunction(N,j){return N[c]=0==j[2],N[E]=j[1],B.apply(N,j)}),R=U("fetchTaskAborting"),Q=U("fetchTaskScheduling"),V=ae(H,"send",()=>function(N,j){if(!0===a.current[Q]||N[c])return V.apply(N,j);{const O={target:N,url:N[E],isPeriodic:!1,args:j,aborted:!1},re=lt("XMLHttpRequest.send",Z,O,T,z);N&&!0===N[v]&&!O.aborted&&re.state===L&&re.invoke()}}),K=ae(H,"abort",()=>function(N,j){const O=function S(N){return N[u]}(N);if(O&&"string"==typeof O.type){if(null==O.cancelFn||O.data&&O.data.aborted)return;O.zone.cancelTask(O)}else if(!0===a.current[R])return K.apply(N,j)})}(t);const u=U("xhrTask"),c=U("xhrSync"),f=U("xhrListener"),m=U("xhrScheduled"),E=U("xhrURL"),v=U("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function ut(t,a){const u=t.constructor.name;for(let c=0;c{const C=function(){return v.apply(this,tt(arguments,u+"."+f))};return se(C,v),C})(m)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,a)=>{function u(c){return function(f){kt(t,c).forEach(E=>{const v=t.PromiseRejectionEvent;if(v){const C=new v(c,{promise:f.promise,reason:f.rejection});E.invoke(C)}})}}t.PromiseRejectionEvent&&(a[U("unhandledPromiseRejectionHandler")]=u("unhandledrejection"),a[U("rejectionHandledHandler")]=u("rejectionhandled"))})}},X=>{X(X.s=39061)}]);(self.webpackChunkdotcms_block_editor=self.webpackChunkdotcms_block_editor||[]).push([[179],{36878:(K,O,A)=>{"use strict";function k(n){return"function"==typeof n}let V=!1;const B={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){if(n){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else V&&console.log("RxJS: Back to a better error behavior. Thank you. <3");V=n},get useDeprecatedSynchronousErrorHandling(){return V}};function G(n){setTimeout(()=>{throw n},0)}const $={closed:!0,next(n){},error(n){if(B.useDeprecatedSynchronousErrorHandling)throw n;G(n)},complete(){}},R=Array.isArray||(n=>n&&"number"==typeof n.length);function P(n){return null!==n&&"object"==typeof n}const ie=(()=>{function n(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((e,i)=>`${i+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return n.prototype=Object.create(Error.prototype),n})();class ce{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:i,_unsubscribe:r,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof ce)e.remove(this);else if(null!==e)for(let s=0;st.concat(e instanceof ie?e.errors:e),[])}ce.EMPTY=((n=new ce).closed=!0,n);const ye="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class re extends ce{constructor(t,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=$;break;case 1:if(!t){this.destination=$;break}if("object"==typeof t){t instanceof re?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new X(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new X(this,t,e,i)}}[ye](){return this}static create(t,e,i){const r=new re(t,e,i);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class X extends re{constructor(t,e,i,r){super(),this._parentSubscriber=t;let o,s=this;k(e)?o=e:e&&(o=e.next,i=e.error,r=e.complete,e!==$&&(s=Object.create(e),k(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=i,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;B.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=B;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=t,e.syncErrorThrown=!0):G(t),this.unsubscribe();else{if(this.unsubscribe(),i)throw t;G(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);B.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(i){if(this.unsubscribe(),B.useDeprecatedSynchronousErrorHandling)throw i;G(i)}}__tryOrSetError(t,e,i){if(!B.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(r){return B.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(G(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const j="function"==typeof Symbol&&Symbol.observable||"@@observable";function z(n){return n}function pe(...n){return Re(n)}function Re(n){return 0===n.length?z:1===n.length?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}let Ee=(()=>{class n{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){const{operator:o}=this,s=function W(n,t,e){if(n){if(n instanceof re)return n;if(n[ye])return n[ye]()}return n||t||e?new re(n,t,e):new re($)}(e,i,r);if(s.add(o?o.call(s,this.source):this.source||B.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),B.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(i){B.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=i),function U(n){for(;n;){const{closed:t,destination:e,isStopped:i}=n;if(t||i)return!1;n=e&&e instanceof re?e:null}return!0}(e)?e.error(i):console.warn(i)}}forEach(e,i){return new(i=Ie(i))((r,o)=>{let s;s=this.subscribe(a=>{try{e(a)}catch(l){o(l),s&&s.unsubscribe()}},o,r)})}_subscribe(e){const{source:i}=this;return i&&i.subscribe(e)}[j](){return this}pipe(...e){return 0===e.length?this:Re(e)(this)}toPromise(e){return new(e=Ie(e))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return n.create=t=>new n(t),n})();function Ie(n){if(n||(n=B.Promise||Promise),!n)throw new Error("no Promise impl found");return n}const ve=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class Ze extends ce{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}class St extends re{constructor(t){super(t),this.destination=t}}let ue=(()=>{class n extends Ee{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[ye](){return new St(this)}lift(e){const i=new Fi(this,this);return i.operator=e,i}next(e){if(this.closed)throw new ve;if(!this.isStopped){const{observers:i}=this,r=i.length,o=i.slice();for(let s=0;snew Fi(t,e),n})();class Fi extends ue{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):ce.EMPTY}}function Mi(n){return n&&"function"==typeof n.schedule}function fe(n,t){return function(i){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new Fr(n,t))}}class Fr{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new nr(t,this.project,this.thisArg))}}class nr extends re{constructor(t,e,i){super(t),this.project=e,this.count=0,this.thisArg=i||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}const $i=n=>t=>{for(let e=0,i=n.length;en&&"number"==typeof n.length&&"function"!=typeof n;function xo(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const $e=n=>{if(n&&"function"==typeof n[j])return(n=>t=>{const e=n[j]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)})(n);if(ha(n))return $i(n);if(xo(n))return(n=>t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,G),t))(n);if(n&&"function"==typeof n[Eo])return(n=>t=>{const e=n[Eo]();for(;;){let i;try{i=e.next()}catch(r){return t.error(r),t}if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof e.return&&t.add(()=>{e.return&&e.return()}),t})(n);{const e=`You provided ${P(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function Gt(n,t){return new Ee(e=>{const i=new ce;let r=0;return i.add(t.schedule(function(){r!==n.length?(e.next(n[r++]),e.closed||i.add(this.schedule())):e.complete()})),i})}function jr(n,t){if(null!=n){if(function di(n){return n&&"function"==typeof n[j]}(n))return function Vt(n,t){return new Ee(e=>{const i=new ce;return i.add(t.schedule(()=>{const r=n[j]();i.add(r.subscribe({next(o){i.add(t.schedule(()=>e.next(o)))},error(o){i.add(t.schedule(()=>e.error(o)))},complete(){i.add(t.schedule(()=>e.complete()))}}))})),i})}(n,t);if(xo(n))return function yt(n,t){return new Ee(e=>{const i=new ce;return i.add(t.schedule(()=>n.then(r=>{i.add(t.schedule(()=>{e.next(r),i.add(t.schedule(()=>e.complete()))}))},r=>{i.add(t.schedule(()=>e.error(r)))}))),i})}(n,t);if(ha(n))return Gt(n,t);if(function Wi(n){return n&&"function"==typeof n[Eo]}(n)||"string"==typeof n)return function kn(n,t){if(!n)throw new Error("Iterable cannot be null");return new Ee(e=>{const i=new ce;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(t.schedule(()=>{r=n[Eo](),i.add(t.schedule(function(){if(e.closed)return;let o,s;try{const a=r.next();o=a.value,s=a.done}catch(a){return void e.error(a)}s?e.complete():(e.next(o),this.schedule())}))})),i})}(n,t)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}function Et(n,t){return t?jr(n,t):n instanceof Ee?n:new Ee($e(n))}class Wn extends re{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Xo extends re{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function uc(n,t){if(t.closed)return;if(n instanceof Ee)return n.subscribe(t);let e;try{e=$e(n)(t)}catch(i){t.error(i)}return e}function ri(n,t,e=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(ri((r,o)=>Et(n(r,o)).pipe(fe((s,a)=>t(r,s,o,a))),e)):("number"==typeof t&&(e=t),i=>i.lift(new wC(n,e)))}class wC{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new TC(t,this.project,this.concurrent))}}class TC extends Xo{constructor(t,e,i=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}const Cf=ri;function el(n=Number.POSITIVE_INFINITY){return ri(z,n)}function tl(n,t){return t?Gt(n,t):new Ee($i(n))}function Cs(...n){let t=Number.POSITIVE_INFINITY,e=null,i=n[n.length-1];return Mi(i)?(e=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(t=n.pop())):"number"==typeof i&&(t=n.pop()),null===e&&1===n.length&&n[0]instanceof Ee?n[0]:el(t)(tl(n,e))}function dc(){return function(t){return t.lift(new Io(t))}}class Io{constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const r=new uy(t,i),o=e.subscribe(r);return r.closed||(r.connection=i.connect()),o}}class uy extends re{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,r=t._connection;this.connection=null,r&&(!i||r===i)&&r.unsubscribe()}}class Wu extends Ee{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new ce,t.add(this.source.subscribe(new dy(this.getSubject(),this))),t.closed&&(this._connection=null,t=ce.EMPTY)),t}refCount(){return dc()(this)}}const DC=(()=>{const n=Wu.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:n._subscribe},_isComplete:{value:n._isComplete,writable:!0},getSubject:{value:n.getSubject},connect:{value:n.connect},refCount:{value:n.refCount}}})();class dy extends St{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}class MC{constructor(t,e){this.subjectFactory=t,this.selector=e}call(t,e){const{selector:i}=this,r=this.subjectFactory(),o=i(r).subscribe(t);return o.add(e.subscribe(r)),o}}function pa(){return new ue}function Dn(n){for(let t in n)if(n[t]===Dn)return t;throw Error("Could not find renamed property on target object.")}function Tf(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function bn(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(bn).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function ma(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const Df=Dn({__forward_ref__:Dn});function Ft(n){return n.__forward_ref__=Ft,n.toString=function(){return bn(this())},n}function Xe(n){return ga(n)?n():n}function ga(n){return"function"==typeof n&&n.hasOwnProperty(Df)&&n.__forward_ref__===Ft}function Mf(n){return n&&!!n.\u0275providers}const Gu="https://g.co/ng/security#xss";class J extends Error{constructor(t,e){super(function Yu(n,t){return`NG0${Math.abs(n)}${t?": "+t.trim():""}`}(t,e)),this.code=t}}function dt(n){return"string"==typeof n?n:null==n?"":String(n)}function qu(n,t){throw new J(-201,!1)}function zr(n,t){null==n&&function Zt(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}(t,n,null,"!=")}function H(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function ft(n){return{providers:n.providers||[],imports:n.imports||[]}}function Ku(n){return my(n,hc)||my(n,gy)}function my(n,t){return n.hasOwnProperty(t)?n[t]:null}function il(n){return n&&(n.hasOwnProperty(Zu)||n.hasOwnProperty(AC))?n[Zu]:null}const hc=Dn({\u0275prov:Dn}),Zu=Dn({\u0275inj:Dn}),gy=Dn({ngInjectableDef:Dn}),AC=Dn({ngInjectorDef:Dn});var nt=(()=>((nt=nt||{})[nt.Default=0]="Default",nt[nt.Host=1]="Host",nt[nt.Self=2]="Self",nt[nt.SkipSelf=4]="SkipSelf",nt[nt.Optional=8]="Optional",nt))();let Sf;function Vr(n){const t=Sf;return Sf=n,t}function _y(n,t,e){const i=Ku(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&nt.Optional?null:void 0!==t?t:void qu(bn(n))}const mn=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Br={},Ef="__NG_DI_FLAG__",Ju="ngTempTokenPath",PC=/\n/gm,Ts="__source";let rl;function ol(n){const t=rl;return rl=n,t}function Xu(n,t=nt.Default){if(void 0===rl)throw new J(-203,!1);return null===rl?_y(n,void 0,t):rl.get(n,t&nt.Optional?null:void 0,t)}function F(n,t=nt.Default){return(function yy(){return Sf}()||Xu)(Xe(n),t)}function st(n,t=nt.Default){return F(n,pc(t))}function pc(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function td(n){const t=[];for(let e=0;e((ao=ao||{})[ao.OnPush=0]="OnPush",ao[ao.Default=1]="Default",ao))(),oe=(()=>(function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(oe||(oe={})),oe))();const De={},Ke=[],pt=Dn({\u0275cmp:Dn}),Ln=Dn({\u0275dir:Dn}),oi=Dn({\u0275pipe:Dn}),vi=Dn({\u0275mod:Dn}),sn=Dn({\u0275fac:Dn}),Si=Dn({__NG_ELEMENT_ID__:Dn});let lo=0;function we(n){return Ds(()=>{const e=!0===n.standalone,i={},r={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===ao.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||Ke,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||oe.Emulated,id:"c"+lo++,styles:n.styles||Ke,_:null,setInput:null,schemas:n.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},o=n.dependencies,s=n.features;return r.inputs=xf(n.inputs,i),r.outputs=xf(n.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(vr).filter(ts):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(br).filter(ts):null,r})}function Ei(n,t,e){const i=n.\u0275cmp;i.directiveDefs=()=>("function"==typeof t?t():t).map(vr),i.pipeDefs=()=>("function"==typeof e?e():e).map(br)}function vr(n){return Cn(n)||ir(n)}function ts(n){return null!==n}function et(n){return Ds(()=>({type:n.type,bootstrap:n.bootstrap||Ke,declarations:n.declarations||Ke,imports:n.imports||Ke,exports:n.exports||Ke,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function xf(n,t){if(null==n)return De;const e={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=i,t&&(t[r]=o)}return e}const Ce=we;function Hn(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function Cn(n){return n[pt]||null}function ir(n){return n[Ln]||null}function br(n){return n[oi]||null}function co(n,t){const e=n[vi]||null;if(!e&&!0===t)throw new Error(`Type ${bn(n)} does not have '\u0275mod' property.`);return e}function uo(n){return Array.isArray(n)&&"object"==typeof n[1]}function is(n){return Array.isArray(n)&&!0===n[1]}function zC(n){return 0!=(4&n.flags)}function kf(n){return n.componentOffset>-1}function Dy(n){return 1==(1&n.flags)}function rs(n){return null!==n.template}function yB(n){return 0!=(256&n[2])}function yc(n,t){return n.hasOwnProperty(sn)?n[sn]:null}class bx{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Gi(){return Cx}function Cx(n){return n.type.prototype.ngOnChanges&&(n.setInput=CB),bB}function bB(){const n=Tx(this),t=n?.current;if(t){const e=n.previous;if(e===De)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function CB(n,t,e,i){const r=this.declaredInputs[e],o=Tx(n)||function wB(n,t){return n[wx]=t}(n,{previous:De,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[r];s[r]=new bx(l&&l.currentValue,t,a===De),n[i]=t}Gi.ngInherit=!0;const wx="__ngSimpleChanges__";function Tx(n){return n[wx]||null}function Yi(n){for(;Array.isArray(n);)n=n[0];return n}function My(n,t){return Yi(t[n])}function ho(n,t){return Yi(t[n.index])}function Sx(n,t){return n.data[t]}function ad(n,t){return n[t]}function fo(n,t){const e=t[n];return uo(e)?e:e[0]}function Sy(n){return 64==(64&n[2])}function al(n,t){return null==t?null:n[t]}function Ex(n){n[18]=0}function BC(n,t){n[5]+=t;let e=n,i=n[3];for(;null!==i&&(1===t&&1===e[5]||-1===t&&0===e[5]);)i[5]+=t,e=i,i=i[3]}const _t={lFrame:Fx(null),bindingsEnabled:!0};function Ix(){return _t.bindingsEnabled}function le(){return _t.lFrame.lView}function nn(){return _t.lFrame.tView}function ee(n){return _t.lFrame.contextLView=n,n[8]}function te(n){return _t.lFrame.contextLView=null,n}function qi(){let n=Ox();for(;null!==n&&64===n.type;)n=n.parent;return n}function Ox(){return _t.lFrame.currentTNode}function Ss(n,t){const e=_t.lFrame;e.currentTNode=n,e.isParent=t}function UC(){return _t.lFrame.isParent}function HC(){_t.lFrame.isParent=!1}function wr(){const n=_t.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function ld(){return _t.lFrame.bindingIndex++}function wa(n){const t=_t.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function LB(n,t){const e=_t.lFrame;e.bindingIndex=e.bindingRootIndex=n,$C(t)}function $C(n){_t.lFrame.currentDirectiveIndex=n}function Px(){return _t.lFrame.currentQueryIndex}function GC(n){_t.lFrame.currentQueryIndex=n}function FB(n){const t=n[1];return 2===t.type?t.declTNode:1===t.type?n[6]:null}function Lx(n,t,e){if(e&nt.SkipSelf){let r=t,o=n;for(;!(r=r.parent,null!==r||e&nt.Host||(r=FB(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;t=r,n=o}const i=_t.lFrame=Rx();return i.currentTNode=t,i.lView=n,!0}function YC(n){const t=Rx(),e=n[1];_t.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function Rx(){const n=_t.lFrame,t=null===n?null:n.child;return null===t?Fx(n):t}function Fx(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function jx(){const n=_t.lFrame;return _t.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const zx=jx;function qC(){const n=jx();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Tr(){return _t.lFrame.selectedIndex}function _c(n){_t.lFrame.selectedIndex=n}function Jn(){const n=_t.lFrame;return Sx(n.tView,n.selectedIndex)}function KC(){_t.lFrame.currentNamespace="svg"}function QC(){!function BB(){_t.lFrame.currentNamespace=null}()}function Ey(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e=i)break}else t[l]<0&&(n[18]+=65536),(a>11>16&&(3&n[2])===t){n[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class Pf{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function XC(n,t,e){let i=0;for(;it){s=o-1;break}}}for(;o>16}(n),i=t;for(;e>0;)i=i[15],e--;return i}let ew=!0;function ky(n){const t=ew;return ew=n,t}let KB=0;const Es={};function Ny(n,t){const e=Yx(n,t);if(-1!==e)return e;const i=t[1];i.firstCreatePass&&(n.injectorIndex=t.length,tw(i.data,n),tw(t,null),tw(i.blueprint,null));const r=nw(n,t),o=n.injectorIndex;if($x(r)){const s=Oy(r),a=Ay(r,t),l=a[1].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=r,o}function tw(n,t){n.push(0,0,0,0,0,0,0,0,t)}function Yx(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function nw(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;null!==r;){if(i=eI(r),null===i)return-1;if(e++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function iw(n,t,e){!function QB(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Si)&&(i=e[Si]),null==i&&(i=e[Si]=KB++);const r=255&i;t.data[n+(r>>5)]|=1<=0?255&t:eU:t}(e);if("function"==typeof o){if(!Lx(t,n,i))return i&nt.Host?qx(r,0,i):Kx(t,e,i,r);try{const s=o(i);if(null!=s||i&nt.Optional)return s;qu()}finally{zx()}}else if("number"==typeof o){let s=null,a=Yx(n,t),l=-1,c=i&nt.Host?t[16][6]:null;for((-1===a||i&nt.SkipSelf)&&(l=-1===a?nw(n,t):t[a+8],-1!==l&&Xx(i,!1)?(s=t[1],a=Oy(l),t=Ay(l,t)):a=-1);-1!==a;){const u=t[1];if(Jx(o,a,u.data)){const d=JB(a,t,e,s,i,c);if(d!==Es)return d}l=t[a+8],-1!==l&&Xx(i,t[1].data[a+8]===c)&&Jx(o,a,t)?(s=u,a=Oy(l),t=Ay(l,t)):a=-1}}return r}function JB(n,t,e,i,r,o){const s=t[1],a=s.data[n+8],u=Py(a,s,e,null==i?kf(a)&&ew:i!=s&&0!=(3&a.type),r&nt.Host&&o===a);return null!==u?vc(t,s,u,a):Es}function Py(n,t,e,i,r){const o=n.providerIndexes,s=t.data,a=1048575&o,l=n.directiveStart,u=o>>20,h=r?a+u:n.directiveEnd;for(let f=i?a:a+u;f=l&&p.type===e)return f}if(r){const f=s[l];if(f&&rs(f)&&f.type===e)return l}return null}function vc(n,t,e,i){let r=n[e];const o=t.data;if(function WB(n){return n instanceof Pf}(r)){const s=r;s.resolving&&function ya(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new J(-200,`Circular dependency in DI detected for ${n}${e}`)}(function tn(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():dt(n)}(o[e]));const a=ky(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Vr(s.injectImpl):null;Lx(n,i,nt.Default);try{r=n[e]=s.factory(void 0,o,n,i),t.firstCreatePass&&e>=i.directiveStart&&function HB(n,t,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const s=Cx(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,s)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,r),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,o))}(e,o[e],t)}finally{null!==l&&Vr(l),ky(a),s.resolving=!1,zx()}}return r}function Jx(n,t,e){return!!(e[t+(n>>5)]&1<{const t=n.prototype.constructor,e=t[sn]||rw(t),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[sn]||rw(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function rw(n){return ga(n)?()=>{const t=rw(Xe(n));return t&&t()}:yc(n)}function eI(n){const t=n[1],e=t.type;return 2===e?t.declTNode:1===e?n[6]:null}const hd="__parameters__";function pd(n,t,e){return Ds(()=>{const i=function ow(n){return function(...e){if(n){const i=n(...e);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(hd)?l[hd]:Object.defineProperty(l,hd,{value:[]})[hd];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}class Me{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=H({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function bc(n,t){n.forEach(e=>Array.isArray(e)?bc(e,t):t(e))}function nI(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function Ry(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function jf(n,t){const e=[];for(let i=0;i=0?n[1|i]=e:(i=~i,function oU(n,t,e,i){let r=n.length;if(r==t)n.push(e,i);else if(1===r)n.push(i,n[0]),n[0]=e;else{for(r--,n.push(n[r-1],n[r]);r>t;)n[r]=n[r-2],r--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function aw(n,t){const e=md(n,t);if(e>=0)return n[1|e]}function md(n,t){return function iI(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){const o=i+(r-i>>1),s=n[o<t?r=o:i=o+1}return~(r<({token:n})),-1),zf=sl(pd("Optional"),8),Vf=sl(pd("SkipSelf"),4);var Ur=(()=>((Ur=Ur||{})[Ur.Important=1]="Important",Ur[Ur.DashCase=2]="DashCase",Ur))();const hw=new Map;let EU=0;const pw="__ngContext__";function sr(n,t){uo(t)?(n[pw]=t[20],function IU(n){hw.set(n[20],n)}(t)):n[pw]=t}function gw(n,t){return undefined(n,t)}function $f(n){const t=n[3];return is(t)?t[3]:t}function yw(n){return TI(n[13])}function _w(n){return TI(n[4])}function TI(n){for(;null!==n&&!is(n);)n=n[4];return n}function yd(n,t,e,i,r){if(null!=i){let o,s=!1;is(i)?o=i:uo(i)&&(s=!0,i=i[0]);const a=Yi(i);0===n&&null!==e?null==r?II(t,e,a):Cc(t,e,a,r||null,!0):1===n&&null!==e?Cc(t,e,a,r||null,!0):2===n?function Mw(n,t,e){const i=By(n,t);i&&function KU(n,t,e,i){n.removeChild(t,e,i)}(n,i,t,e)}(t,a,s):3===n&&t.destroyNode(a),null!=o&&function JU(n,t,e,i,r){const o=e[7];o!==Yi(e)&&yd(t,n,i,o,r);for(let a=10;a0&&(n[e-1][4]=i[4]);const o=Ry(n,10+t);!function BU(n,t){Wf(n,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function SI(n,t){if(!(128&t[2])){const e=t[11];e.destroyNode&&Wf(n,t,e,3,null,null),function $U(n){let t=n[13];if(!t)return ww(n[1],n);for(;t;){let e=null;if(uo(t))e=t[13];else{const i=t[10];i&&(e=i)}if(!e){for(;t&&!t[4]&&t!==n;)uo(t)&&ww(t[1],t),t=t[3];null===t&&(t=n),uo(t)&&ww(t[1],t),e=t&&t[4]}t=e}}(t)}}function ww(n,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function qU(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i=0?i[r=s]():i[r=-s].unsubscribe(),o+=2}else{const s=i[r=e[o+1]];e[o].call(s)}if(null!==i){for(let o=r+1;o-1){const{encapsulation:o}=n.data[i.directiveStart+r];if(o===oe.None||o===oe.Emulated)return null}return ho(i,e)}}(n,t.parent,e)}function Cc(n,t,e,i,r){n.insertBefore(t,e,i,r)}function II(n,t,e){n.appendChild(t,e)}function OI(n,t,e,i,r){null!==i?Cc(n,t,e,i,r):II(n,t,e)}function By(n,t){return n.parentNode(t)}function AI(n,t,e){return NI(n,t,e)}let $y,xw,Wy,NI=function kI(n,t,e){return 40&n.type?ho(n,e):null};function Uy(n,t,e,i){const r=EI(n,i,t),o=t[11],a=AI(i.parent||t[6],i,t);if(null!=r)if(Array.isArray(e))for(let l=0;ln,createScript:n=>n,createScriptURL:n=>n})}catch{}return $y}()?.createHTML(n)||n}function VI(n){return function Iw(){if(void 0===Wy&&(Wy=null,mn.trustedTypes))try{Wy=mn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Wy}()?.createHTML(n)||n}class Tc{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Gu})`}}class o8 extends Tc{getTypeName(){return"HTML"}}class s8 extends Tc{getTypeName(){return"Style"}}class a8 extends Tc{getTypeName(){return"Script"}}class l8 extends Tc{getTypeName(){return"URL"}}class c8 extends Tc{getTypeName(){return"ResourceURL"}}function mo(n){return n instanceof Tc?n.changingThisBreaksApplicationSecurity:n}function xs(n,t){const e=function u8(n){return n instanceof Tc&&n.getTypeName()||null}(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see ${Gu})`)}return e===t}class g8{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(wc(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class y8{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const i=this.inertDocument.createElement("body");e.appendChild(i)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=wc(t),e;const i=this.inertDocument.createElement("body");return i.innerHTML=wc(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0"),!0}endElement(t){const e=t.nodeName.toLowerCase();Ow.hasOwnProperty(e)&&!$I.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(qI(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const w8=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,T8=/([^\#-~ |!])/g;function qI(n){return n.replace(/&/g,"&").replace(w8,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(T8,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Yy;function KI(n,t){let e=null;try{Yy=Yy||function HI(n){const t=new y8(n);return function _8(){try{return!!(new window.DOMParser).parseFromString(wc(""),"text/html")}catch{return!1}}()?new g8(t):t}(n);let i=t?String(t):"";e=Yy.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=Yy.getInertBodyElement(i)}while(i!==o);return wc((new C8).sanitizeChildren(kw(e)||e))}finally{if(e){const i=kw(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function kw(n){return"content"in n&&function D8(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Rn=(()=>((Rn=Rn||{})[Rn.NONE=0]="NONE",Rn[Rn.HTML=1]="HTML",Rn[Rn.STYLE=2]="STYLE",Rn[Rn.SCRIPT=3]="SCRIPT",Rn[Rn.URL=4]="URL",Rn[Rn.RESOURCE_URL=5]="RESOURCE_URL",Rn))();function Yf(n){const t=qf();return t?VI(t.sanitize(Rn.HTML,n)||""):xs(n,"HTML")?VI(mo(n)):KI(function zI(){return void 0!==xw?xw:typeof document<"u"?document:void 0}(),dt(n))}function ss(n){const t=qf();return t?t.sanitize(Rn.URL,n)||"":xs(n,"URL")?mo(n):Gy(dt(n))}function qf(){const n=le();return n&&n[12]}const qy=new Me("ENVIRONMENT_INITIALIZER"),JI=new Me("INJECTOR",-1),XI=new Me("INJECTOR_DEF_TYPES");class eO{get(t,e=Br){if(e===Br){const i=new Error(`NullInjectorError: No provider for ${bn(t)}!`);throw i.name="NullInjectorError",i}return e}}function A8(...n){return{\u0275providers:tO(0,n),\u0275fromNgModule:!0}}function tO(n,...t){const e=[],i=new Set;let r;return bc(t,o=>{const s=o;Nw(s,e,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&nO(r,e),e}function nO(n,t){for(let e=0;e{t.push(o)})}}function Nw(n,t,e,i){if(!(n=Xe(n)))return!1;let r=null,o=il(n);const s=!o&&Cn(n);if(o||s){if(s&&!s.standalone)return!1;r=n}else{const l=n.ngModule;if(o=il(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Nw(c,t,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{bc(o.imports,u=>{Nw(u,t,e,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&nO(c,t)}if(!a){const c=yc(r)||(()=>new r);t.push({provide:r,useFactory:c,deps:Ke},{provide:XI,useValue:r,multi:!0},{provide:qy,useValue:()=>F(r),multi:!0})}const l=o.providers;null==l||a||Pw(l,u=>{t.push(u)})}}return r!==n&&void 0!==n.providers}function Pw(n,t){for(let e of n)Mf(e)&&(e=e.\u0275providers),Array.isArray(e)?Pw(e,t):t(e)}const k8=Dn({provide:String,useValue:Dn});function Lw(n){return null!==n&&"object"==typeof n&&k8 in n}function Dc(n){return"function"==typeof n}const Rw=new Me("Set Injector scope."),Ky={},P8={};let Fw;function Qy(){return void 0===Fw&&(Fw=new eO),Fw}class Is{}class oO extends Is{get destroyed(){return this._destroyed}constructor(t,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,zw(t,s=>this.processProvider(s)),this.records.set(JI,_d(void 0,this)),r.has("environment")&&this.records.set(Is,_d(void 0,this));const o=this.records.get(Rw);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(XI.multi,Ke,nt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const e=ol(this),i=Vr(void 0);try{return t()}finally{ol(e),Vr(i)}}get(t,e=Br,i=nt.Default){this.assertNotDestroyed(),i=pc(i);const r=ol(this),o=Vr(void 0);try{if(!(i&nt.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function z8(n){return"function"==typeof n||"object"==typeof n&&n instanceof Me}(t)&&Ku(t);a=l&&this.injectableDefInScope(l)?_d(jw(t),Ky):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&nt.Self?Qy():this.parent).get(t,e=i&nt.Optional&&e===Br?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[Ju]=s[Ju]||[]).unshift(bn(t)),r)throw s;return function vy(n,t,e,i){const r=n[Ju];throw t[Ts]&&r.unshift(t[Ts]),n.message=function RC(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let r=bn(t);if(Array.isArray(t))r=t.map(bn).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):bn(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(PC,"\n ")}`}("\n"+n.message,r,e,i),n.ngTokenPath=r,n[Ju]=null,n}(s,t,"R3InjectorError",this.source)}throw s}finally{Vr(o),ol(r)}}resolveInjectorInitializers(){const t=ol(this),e=Vr(void 0);try{const i=this.get(qy.multi,Ke,nt.Self);for(const r of i)r()}finally{ol(t),Vr(e)}}toString(){const t=[],e=this.records;for(const i of e.keys())t.push(bn(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new J(205,!1)}processProvider(t){let e=Dc(t=Xe(t))?t:Xe(t&&t.provide);const i=function R8(n){return Lw(n)?_d(void 0,n.useValue):_d(sO(n),Ky)}(t);if(Dc(t)||!0!==t.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=_d(void 0,Ky,!0),r.factory=()=>td(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,i)}hydrate(t,e){return e.value===Ky&&(e.value=P8,e.value=e.factory()),"object"==typeof e.value&&e.value&&function j8(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=Xe(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function jw(n){const t=Ku(n),e=null!==t?t.factory:yc(n);if(null!==e)return e;if(n instanceof Me)throw new J(204,!1);if(n instanceof Function)return function L8(n){const t=n.length;if(t>0)throw jf(t,"?"),new J(204,!1);const e=function Qu(n){const t=n&&(n[hc]||n[gy]);if(t){const e=function OC(n){if(n.hasOwnProperty("name"))return n.name;const t=(""+n).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),t}return null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new J(204,!1)}function sO(n,t,e){let i;if(Dc(n)){const r=Xe(n);return yc(r)||jw(r)}if(Lw(n))i=()=>Xe(n.useValue);else if(function rO(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...td(n.deps||[]));else if(function iO(n){return!(!n||!n.useExisting)}(n))i=()=>F(Xe(n.useExisting));else{const r=Xe(n&&(n.useClass||n.provide));if(!function F8(n){return!!n.deps}(n))return yc(r)||jw(r);i=()=>new r(...td(n.deps))}return i}function _d(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function zw(n,t){for(const e of n)Array.isArray(e)?zw(e,t):e&&Mf(e)?zw(e.\u0275providers,t):t(e)}class V8{}class aO{}class U8{resolveComponentFactory(t){throw function B8(n){const t=Error(`No component factory found for ${bn(n)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=n,t}(t)}}let Mc=(()=>{class n{}return n.NULL=new U8,n})();function H8(){return vd(qi(),le())}function vd(n,t){return new Dt(ho(n,t))}let Dt=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=H8,n})();function $8(n){return n instanceof Dt?n.nativeElement:n}class Kf{}let ar=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function W8(){const n=le(),e=fo(qi().index,n);return(uo(e)?e:n)[11]}(),n})(),G8=(()=>{class n{}return n.\u0275prov=H({token:n,providedIn:"root",factory:()=>null}),n})();class bd{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Y8=new bd("15.1.1"),Vw={};function Uw(n){return n.ngOriginalError}class Cd{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&Uw(t);for(;e&&Uw(e);)e=Uw(e);return e||null}}function cO(n){return n.ownerDocument.defaultView}function uO(n){return n.ownerDocument}function Da(n){return n instanceof Function?n():n}function hO(n,t,e){let i=n.length;for(;;){const r=n.indexOf(t,e);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}e=r+1}}const fO="ng-template";function nH(n,t,e){let i=0;for(;io?"":r[d+1].toLowerCase();const f=8&i?h:null;if(f&&-1!==hO(f,c,0)||2&i&&c!==h){if(as(i))return!1;s=!0}}}}else{if(!s&&!as(i)&&!as(l))return!1;if(s&&as(l))continue;s=!1,i=l|1&i}}return as(i)||s}function as(n){return 0==(1&n)}function oH(n,t,e,i){if(null===t)return-1;let r=0;if(i||!e){let o=!1;for(;r-1)for(e++;e0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!as(s)&&(t+=gO(o,r),r=""),i=s,o=o||!as(i);e++}return""!==r&&(t+=gO(o,r)),t}const vt={};function b(n){yO(nn(),le(),Tr()+n,!1)}function yO(n,t,e,i){if(!i)if(3==(3&t[2])){const o=n.preOrderCheckHooks;null!==o&&xy(t,o,e)}else{const o=n.preOrderHooks;null!==o&&Iy(t,o,0,e)}_c(e)}function CO(n,t=null,e=null,i){const r=wO(n,t,e,i);return r.resolveInjectorInitializers(),r}function wO(n,t=null,e=null,i,r=new Set){const o=[e||Ke,A8(n)];return i=i||("object"==typeof n?void 0:bn(n)),new oO(o,t||Qy(),i||null,r)}let Dr=(()=>{class n{static create(e,i){if(Array.isArray(e))return CO({name:""},i,e,"");{const r=e.name??"";return CO({name:r},e.parent,e.providers,r)}}}return n.THROW_IF_NOT_FOUND=Br,n.NULL=new eO,n.\u0275prov=H({token:n,providedIn:"any",factory:()=>F(JI)}),n.__NG_ELEMENT_ID__=-1,n})();function I(n,t=nt.Default){const e=le();return null===e?F(n,t):Qx(qi(),e,Xe(n),t)}function OO(n,t){const e=n.contentQueries;if(null!==e)for(let i=0;i22&&yO(n,t,22,!1),e(i,r)}finally{_c(o)}}function Kw(n,t,e){if(zC(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(s)!=a&&s.push(a),s.push(e,i,o)}}(n,t,i,Qf(n,e,r.hostVars,vt),r)}function Os(n,t,e,i,r,o){const s=ho(n,t);!function tT(n,t,e,i,r,o,s){if(null==o)n.removeAttribute(t,r,e);else{const a=null==s?dt(o):s(o,i||"",r);n.setAttribute(t,r,a,e)}}(t[11],s,o,n.value,e,i,r)}function QH(n,t,e,i,r,o){const s=o[t];if(null!==s){const a=i.setInput;for(let l=0;l0&&nT(e)}}function nT(n){for(let i=yw(n);null!==i;i=_w(i))for(let r=10;r0&&nT(o)}const e=n[1].components;if(null!==e)for(let i=0;i0&&nT(r)}}function t9(n,t){const e=fo(t,n),i=e[1];(function n9(n,t){for(let e=t.length;e-1&&(Cw(t,i),Ry(e,i))}this._attachedToViewContainer=!1}SI(this._lView[1],this._lView)}onDestroy(t){NO(this._lView[1],this._lView,null,t)}markForCheck(){iT(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){t_(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new J(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function HU(n,t){Wf(n,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new J(902,!1);this._appRef=t}}class i9 extends Zf{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;t_(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class $O extends Mc{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Cn(t);return new Jf(e,this.ngModule)}}function WO(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class o9{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){i=pc(i);const r=this.injector.get(t,Vw,i);return r!==Vw||e===Vw?r:this.parentInjector.get(t,e,i)}}class Jf extends aO{get inputs(){return WO(this.componentDef.inputs)}get outputs(){return WO(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function dH(n){return n.map(uH).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}create(t,e,i,r){let o=(r=r||this.ngModule)instanceof Is?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new o9(t,o):t,a=s.get(Kf,null);if(null===a)throw new J(407,!1);const l=s.get(G8,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=i?function LH(n,t,e){return n.selectRootElement(t,e===oe.ShadowDom)}(c,i,this.componentDef.encapsulation):bw(c,u,function r9(n){const t=n.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(u)),h=this.componentDef.onPush?288:272,f=Jw(0,null,null,1,0,null,null,null,null,null),p=Jy(null,f,null,h,null,null,a,c,l,s,null);let m,g;YC(p);try{const y=this.componentDef;let w,T=null;y.findHostDirectiveDefs?(w=[],T=new Map,y.findHostDirectiveDefs(y,w,T),w.push(y)):w=[y];const v=function a9(n,t){const e=n[1];return n[22]=t,Dd(e,22,2,"#host",null)}(p,d),N=function l9(n,t,e,i,r,o,s,a){const l=r[1];!function c9(n,t,e,i){for(const r of n)t.mergedAttrs=Lf(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(n_(t,t.mergedAttrs,!0),null!==e&&jI(i,e,t))}(i,n,t,s);const c=o.createRenderer(t,e),u=Jy(r,kO(e),null,e.onPush?32:16,r[n.index],n,o,c,a||null,null,null);return l.firstCreatePass&&eT(l,n,i.length-1),e_(r,u),r[n.index]=u}(v,d,y,w,p,a,c);g=Sx(f,22),d&&function d9(n,t,e,i){if(i)XC(n,e,["ng-version",Y8.full]);else{const{attrs:r,classes:o}=function hH(n){const t=[],e=[];let i=1,r=2;for(;i0&&FI(n,e,o.join(" "))}}(c,y,d,i),void 0!==e&&function h9(n,t,e){const i=n.projection=[];for(let r=0;r=0;i--){const r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Lf(r.hostAttrs,e=Lf(e,r.hostAttrs))}}(i)}function sT(n){return n===De?{}:n===Ke?[]:n}function m9(n,t){const e=n.viewQuery;n.viewQuery=e?(i,r)=>{t(i,r),e(i,r)}:t}function g9(n,t){const e=n.contentQueries;n.contentQueries=e?(i,r,o)=>{t(i,r,o),e(i,r,o)}:t}function y9(n,t){const e=n.hostBindings;n.hostBindings=e?(i,r)=>{t(i,r),e(i,r)}:t}let r_=null;function Sc(){if(!r_){const n=mn.Symbol;if(n&&n.iterator)r_=n.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;es(Yi(v[i.index])):i.index;let T=null;if(!s&&a&&(T=function A9(n,t,e,i){const r=n.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(n,t,r,i.index)),null!==T)(T.__ngLastListenerFn__||T).__ngNextListenerFn__=o,T.__ngLastListenerFn__=o,h=!1;else{o=cA(i,t,u,o,!1);const v=e.listen(g,r,o);d.push(o,v),c&&c.push(r,w,y,y+1)}}else o=cA(i,t,u,o,!1);const f=i.outputs;let p;if(h&&null!==f&&(p=f[r])){const m=p.length;if(m)for(let g=0;g-1?fo(n.index,t):t);let l=lA(t,0,i,s),c=o.__ngNextListenerFn__;for(;c;)l=lA(t,0,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function C(n=1){return function jB(n){return(_t.lFrame.contextLView=function zB(n,t){for(;n>0;)t=t[15],n--;return t}(n,_t.lFrame.contextLView))[8]}(n)}function k9(n,t){let e=null;const i=function sH(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(!(1&e))return t[e+1]}return null}(n);for(let r=0;r>17&32767}function uT(n){return 2|n}function xc(n){return(131068&n)>>2}function dT(n,t){return-131069&n|t<<2}function hT(n){return 1|n}function _A(n,t,e,i,r){const o=n[e+1],s=null===t;let a=i?ll(o):xc(o),l=!1;for(;0!==a&&(!1===l||s);){const u=n[a+1];j9(n[a],t)&&(l=!0,n[a+1]=i?hT(u):uT(u)),a=i?ll(u):xc(u)}l&&(n[e+1]=i?uT(o):hT(o))}function j9(n,t){return null===n||null==t||(Array.isArray(n)?n[1]:n)===t||!(!Array.isArray(n)||"string"!=typeof t)&&md(n,t)>=0}const Oi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function vA(n){return n.substring(Oi.key,Oi.keyEnd)}function z9(n){return n.substring(Oi.value,Oi.valueEnd)}function bA(n,t){const e=Oi.textEnd;return e===t?-1:(t=Oi.keyEnd=function U9(n,t,e){for(;t32;)t++;return t}(n,Oi.key=t,e),Pd(n,t,e))}function CA(n,t){const e=Oi.textEnd;let i=Oi.key=Pd(n,t,e);return e===i?-1:(i=Oi.keyEnd=function H9(n,t,e){let i;for(;t=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(n,i,e),i=TA(n,i,e),i=Oi.value=Pd(n,i,e),i=Oi.valueEnd=function $9(n,t,e){let i=-1,r=-1,o=-1,s=t,a=s;for(;s32&&(a=s),o=r,r=i,i=-33&l}return a}(n,i,e),TA(n,i,e))}function wA(n){Oi.key=0,Oi.keyEnd=0,Oi.value=0,Oi.valueEnd=0,Oi.textEnd=n.length}function Pd(n,t,e){for(;t=0;e=CA(t,e))EA(n,vA(t),z9(t))}function Ut(n){cs(po,ks,n,!0)}function ks(n,t){for(let e=function V9(n){return wA(n),bA(n,Pd(n,0,Oi.textEnd))}(t);e>=0;e=bA(t,e))po(n,vA(t),!0)}function ls(n,t,e,i){const r=le(),o=nn(),s=wa(2);o.firstUpdatePass&&SA(o,n,s,i),t!==vt&&lr(r,s,t)&&xA(o,o.data[Tr()],r,r[11],n,r[s+1]=function J9(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=bn(mo(n)))),n}(t,e),i,s)}function cs(n,t,e,i){const r=nn(),o=wa(2);r.firstUpdatePass&&SA(r,null,o,i);const s=le();if(e!==vt&&lr(s,o,e)){const a=r.data[Tr()];if(OA(a,i)&&!MA(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(e=ma(l,e||"")),lT(r,a,s,e,i)}else!function Z9(n,t,e,i,r,o,s,a){r===vt&&(r=Ke);let l=0,c=0,u=0=n.expandoStartIndex}function SA(n,t,e,i){const r=n.data;if(null===r[e+1]){const o=r[Tr()],s=MA(n,e);OA(o,i)&&null===t&&!s&&(t=!1),t=function G9(n,t,e,i){const r=function WC(n){const t=_t.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}(n);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(e=tp(e=fT(null,n,t,e,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||n[s]!==r)if(e=fT(r,n,t,e,i),null===o){let l=function Y9(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==xc(i))return n[ll(i)]}(n,t,i);void 0!==l&&Array.isArray(l)&&(l=fT(null,n,t,l[1],i),l=tp(l,t.attrs,i),function q9(n,t,e,i){n[ll(e?t.classBindings:t.styleBindings)]=i}(n,t,i,l))}else o=function K9(n,t,e){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(c=!0)):u=e,r)if(0!==l){const h=ll(n[a+1]);n[i+1]=l_(h,a),0!==h&&(n[h+1]=dT(n[h+1],i)),n[a+1]=function P9(n,t){return 131071&n|t<<17}(n[a+1],i)}else n[i+1]=l_(a,0),0!==a&&(n[a+1]=dT(n[a+1],i)),a=i;else n[i+1]=l_(l,0),0===a?a=i:n[l+1]=dT(n[l+1],i),l=i;c&&(n[i+1]=uT(n[i+1])),_A(n,u,i,!0),_A(n,u,i,!1),function F9(n,t,e,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof t&&md(o,t)>=0&&(e[i+1]=hT(e[i+1]))}(t,u,n,i,o),s=l_(a,l),o?t.classBindings=s:t.styleBindings=s}(r,o,t,e,s,i)}}function fT(n,t,e,i,r){let o=null;const s=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a0;){const l=n[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=e[r+1];h===vt&&(h=d?Ke:void 0);let f=d?aw(h,i):u===i?h:void 0;if(c&&!c_(f)&&(f=aw(l,i)),c_(f)&&(a=f,s))return a;const p=n[r+1];r=s?ll(p):xc(p)}if(null!==t){let l=o?t.residualClasses:t.residualStyles;null!=l&&(a=aw(l,i))}return a}function c_(n){return void 0!==n}function OA(n,t){return 0!=(n.flags&(t?8:16))}function Se(n,t=""){const e=le(),i=nn(),r=n+22,o=i.firstCreatePass?Dd(i,r,1,t,null):i.data[r],s=e[r]=function vw(n,t){return n.createText(t)}(e[11],t);Uy(i,e,s,o),Ss(o,!1)}function Ct(n){return bi("",n,""),Ct}function bi(n,t,e){const i=le(),r=Sd(i,n,t,e);return r!==vt&&Ma(i,Tr(),r),bi}function u_(n,t,e,i,r){const o=le(),s=Ed(o,n,t,e,i,r);return s!==vt&&Ma(o,Tr(),s),u_}const Rd="en-US";let ZA=Rd;function gT(n,t,e,i,r){if(n=Xe(n),Array.isArray(n))for(let o=0;o>20;if(Dc(n)||!n.multi){const f=new Pf(l,r,I),p=_T(a,t,r?u:u+h,d);-1===p?(iw(Ny(c,s),o,a),yT(o,n,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(f),s.push(f)):(e[p]=f,s[p]=f)}else{const f=_T(a,t,u+h,d),p=_T(a,t,u,u+h),g=p>=0&&e[p];if(r&&!g||!r&&!(f>=0&&e[f])){iw(Ny(c,s),o,a);const y=function g6(n,t,e,i,r){const o=new Pf(n,e,I);return o.multi=[],o.index=t,o.componentProviders=0,wk(o,r,i&&!e),o}(r?m6:p6,e.length,r,i,l);!r&&g&&(e[p].providerFactory=y),yT(o,n,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(y),s.push(y)}else yT(o,n,f>-1?f:p,wk(e[r?p:f],l,!r&&i));!r&&i&&g&&e[p].componentProviders++}}}function yT(n,t,e,i){const r=Dc(t),o=function N8(n){return!!n.useClass}(t);if(r||o){const l=(o?Xe(t.useClass):t).prototype.ngOnDestroy;if(l){const c=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.multi){const u=c.indexOf(e);-1===u?c.push(e,[i,l]):c[u+1].push(i,l)}else c.push(e,l)}}}function wk(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function _T(n,t,e,i){for(let r=e;r{e.providersResolver=(i,r)=>function f6(n,t,e){const i=nn();if(i.firstCreatePass){const r=rs(n);gT(e,i.data,i.blueprint,r,!0),gT(t,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,t)}}class Fd{}class Tk{}class Dk extends Fd{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new $O(this);const i=co(t);this._bootstrapComponents=Da(i.bootstrap),this._r3Injector=wO(t,e,[{provide:Fd,useValue:this},{provide:Mc,useValue:this.componentFactoryResolver}],bn(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class bT extends Tk{constructor(t){super(),this.moduleType=t}create(t){return new Dk(this.moduleType,t)}}class _6 extends Fd{constructor(t,e,i){super(),this.componentFactoryResolver=new $O(this),this.instance=null;const r=new oO([...t,{provide:Fd,useValue:this},{provide:Mc,useValue:this.componentFactoryResolver}],e||Qy(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function m_(n,t,e=null){return new _6(n,t,e).injector}let v6=(()=>{class n{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=tO(0,e.type),r=i.length>0?m_([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=H({token:n,providedIn:"environment",factory:()=>new n(F(Is))}),n})();function us(n){n.getStandaloneInjector=t=>t.get(v6).getOrCreateStandaloneInjector(n)}function cr(n,t,e){const i=wr()+n,r=le();return r[i]===vt?As(r,i,e?t.call(e):t()):Xf(r,i)}function tt(n,t,e,i){return kk(le(),wr(),n,t,e,i)}function Fn(n,t,e,i,r){return function Nk(n,t,e,i,r,o,s){const a=t+e;return Ec(n,a,r,o)?As(n,a+2,s?i.call(s,r,o):i(r,o)):ap(n,a+2)}(le(),wr(),n,t,e,i,r)}function ul(n,t,e,i,r,o){return function Pk(n,t,e,i,r,o,s,a){const l=t+e;return function s_(n,t,e,i,r){const o=Ec(n,t,e,i);return lr(n,t+2,r)||o}(n,l,r,o,s)?As(n,l+3,a?i.call(a,r,o,s):i(r,o,s)):ap(n,l+3)}(le(),wr(),n,t,e,i,r,o)}function jd(n,t,e,i,r,o,s){return function Lk(n,t,e,i,r,o,s,a,l){const c=t+e;return ko(n,c,r,o,s,a)?As(n,c+4,l?i.call(l,r,o,s,a):i(r,o,s,a)):ap(n,c+4)}(le(),wr(),n,t,e,i,r,o,s)}function wT(n,t,e,i){return function Rk(n,t,e,i,r,o){let s=t+e,a=!1;for(let l=0;l=0;e--){const i=t[e];if(n===i.name)return i}}(t,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(r,i.onDestroy)):i=e.data[r];const o=i.factory||(i.factory=yc(i.type)),s=Vr(I);try{const a=ky(!1),l=o();return ky(a),function x9(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,le(),r,l),l}finally{Vr(s)}}function ei(n,t,e){const i=n+22,r=le(),o=ad(r,i);return function lp(n,t){return n[1].data[t].pure}(r,i)?kk(r,wr(),t,o.transform,e,o):o.transform(e)}function TT(n){return t=>{setTimeout(n,void 0,t)}}const Q=class R6 extends ue{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){let r=t,o=e||(()=>null),s=i;if(t&&"object"==typeof t){const l=t;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=TT(o),r&&(r=TT(r)),s&&(s=TT(s)));const a=super.subscribe({next:r,error:o,complete:s});return t instanceof ce&&t.add(a),a}};function F6(){return this._results[Sc()]()}class cp{get changes(){return this._changes||(this._changes=new Q)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Sc(),i=cp.prototype;i[e]||(i[e]=F6)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const i=this;i.dirty=!1;const r=function Ao(n){return n.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function iU(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i{class n{}return n.__NG_ELEMENT_ID__=V6,n})();const j6=No,z6=class extends j6{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t,e){const i=this._declarationTContainer.tViews,r=Jy(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,e||null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(i)),qw(i,r,t),new Zf(r)}};function V6(){return g_(qi(),le())}function g_(n,t){return 4&n.type?new z6(t,n,vd(n,t)):null}let Gr=(()=>{class n{}return n.__NG_ELEMENT_ID__=B6,n})();function B6(){return zk(qi(),le())}const U6=Gr,Fk=class extends U6{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return vd(this._hostTNode,this._hostLView)}get injector(){return new ud(this._hostTNode,this._hostLView)}get parentInjector(){const t=nw(this._hostTNode,this._hostLView);if($x(t)){const e=Ay(t,this._hostLView),i=Oy(t);return new ud(e[1].data[i+8],e)}return new ud(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=jk(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=t.createEmbeddedView(e||{},o);return this.insert(s,r),s}createComponent(t,e,i,r,o){const s=t&&!function Ff(n){return"function"==typeof n}(t);let a;if(s)a=e;else{const d=e||{};a=d.index,i=d.injector,r=d.projectableNodes,o=d.environmentInjector||d.ngModuleRef}const l=s?t:new Jf(Cn(t)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const h=(s?c:this.parentInjector).get(Is,null);h&&(o=h)}const u=l.create(c,r,void 0,o);return this.insert(u.hostView,a),u}insert(t,e){const i=t._lView,r=i[1];if(function EB(n){return is(n[3])}(i)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const d=i[3],h=new Fk(d,d[6],d[3]);h.detach(h.indexOf(t))}}const o=this._adjustIndex(e),s=this._lContainer;!function WU(n,t,e,i){const r=10+i,o=e.length;i>0&&(e[r-1][4]=t),i0)i.push(s[a/2]);else{const c=o[a+1],u=t[-l];for(let d=10;d{class n{constructor(e){this.appInits=e,this.resolve=__,this.reject=__,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{o.subscribe({complete:a,error:l})});e.push(s)}}Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)(F(dp,8))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const hp=new Me("AppId",{providedIn:"root",factory:function cN(){return`${PT()}${PT()}${PT()}`}});function PT(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const uN=new Me("Platform Initializer"),b_=new Me("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),dN=new Me("appBootstrapListener"),hN=new Me("AnimationModuleType");let p$=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const Ns=new Me("LocaleId",{providedIn:"root",factory:()=>st(Ns,nt.Optional|nt.SkipSelf)||function m$(){return typeof $localize<"u"&&$localize.locale||Rd}()});class y${constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let fN=(()=>{class n{compileModuleSync(e){return new bT(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),o=Da(co(e).declarations).reduce((s,a)=>{const l=Cn(a);return l&&s.push(new Jf(l)),s},[]);return new y$(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const b$=(()=>Promise.resolve(0))();function LT(n){typeof Zone>"u"?b$.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class Yt{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Q(!1),this.onMicrotaskEmpty=new Q(!1),this.onStable=new Q(!1),this.onError=new Q(!1),typeof Zone>"u")throw new J(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function C$(){let n=mn.requestAnimationFrame,t=mn.cancelAnimationFrame;if(typeof Zone<"u"&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function D$(n){const t=()=>{!function T$(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(mn,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,FT(n),n.isCheckStableRunning=!0,RT(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),FT(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,o,s,a)=>{try{return gN(n),e.invokeTask(r,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&t(),yN(n)}},onInvoke:(e,i,r,o,s,a,l)=>{try{return gN(n),e.invoke(r,o,s,a,l)}finally{n.shouldCoalesceRunChangeDetection&&t(),yN(n)}},onHasTask:(e,i,r,o)=>{e.hasTask(r,o),i===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,FT(n),RT(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,r,o)=>(e.handleError(r,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Yt.isInAngularZone())throw new J(909,!1)}static assertNotInAngularZone(){if(Yt.isInAngularZone())throw new J(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,w$,__,__);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const w$={};function RT(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function FT(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function gN(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function yN(n){n._nesting--,RT(n)}class M${constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Q,this.onMicrotaskEmpty=new Q,this.onStable=new Q,this.onError=new Q}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,r){return t.apply(e,i)}}const _N=new Me(""),C_=new Me("");let VT,jT=(()=>{class n{constructor(e,i,r){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,VT||(function S$(n){VT=n}(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Yt.assertNotInAngularZone(),LT(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())LT(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}}return n.\u0275fac=function(e){return new(e||n)(F(Yt),F(zT),F(C_))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})(),zT=(()=>{class n{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return VT?.findTestabilityInTree(this,e,i)??null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})(),dl=null;const vN=new Me("AllowMultipleToken"),BT=new Me("PlatformDestroyListeners");class bN{constructor(t,e){this.name=t,this.token=e}}function wN(n,t,e=[]){const i=`Platform: ${t}`,r=new Me(i);return(o=[])=>{let s=UT();if(!s||s.injector.get(vN,!1)){const a=[...e,...o,{provide:r,useValue:!0}];n?n(a):function I$(n){if(dl&&!dl.get(vN,!1))throw new J(400,!1);dl=n;const t=n.get(DN);(function CN(n){const t=n.get(uN,null);t&&t.forEach(e=>e())})(n)}(function TN(n=[],t){return Dr.create({name:t,providers:[{provide:Rw,useValue:"platform"},{provide:BT,useValue:new Set([()=>dl=null])},...n]})}(a,i))}return function A$(n){const t=UT();if(!t)throw new J(401,!1);return t}()}}function UT(){return dl?.get(DN)??null}let DN=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const r=function SN(n,t){let e;return e="noop"===n?new M$:("zone.js"===n?void 0:n)||new Yt(t),e}(i?.ngZone,function MN(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:Yt,useValue:r}];return r.run(()=>{const s=Dr.create({providers:o,parent:this.injector,name:e.moduleType.name}),a=e.create(s),l=a.injector.get(Cd,null);if(!l)throw new J(402,!1);return r.runOutsideAngular(()=>{const c=r.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{w_(this._modules,a),c.unsubscribe()})}),function EN(n,t,e){try{const i=e();return ep(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(l,r,()=>{const c=a.injector.get(v_);return c.runInitializers(),c.donePromise.then(()=>(function JA(n){zr(n,"Expected localeId to be defined"),"string"==typeof n&&(ZA=n.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Ns,Rd)||Rd),this._moduleDoBootstrap(a),a))})})}bootstrapModule(e,i=[]){const r=xN({},i);return function E$(n,t,e){const i=new bT(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(e){const i=e.injector.get(Oc);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new J(-403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new J(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(BT,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(e){return new(e||n)(F(Dr))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function xN(n,t){return Array.isArray(t)?t.reduce(xN,n):{...n,...t}}let Oc=(()=>{class n{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(e,i,r){this._zone=e,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new Ee(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Ee(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Yt.assertNotInAngularZone(),LT(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{Yt.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=Cs(o,s.pipe(function py(){return n=>dc()(function fy(n,t){return function(i){let r;if(r="function"==typeof n?n:function(){return n},"function"==typeof t)return i.lift(new MC(r,t));const o=Object.create(i,DC);return o.source=i,o.subjectFactory=r,o}}(pa)(n))}()))}bootstrap(e,i){const r=e instanceof aO;if(!this._injector.get(v_).done)throw!r&&function nd(n){const t=Cn(n)||ir(n)||br(n);return null!==t&&t.standalone}(e),new J(405,false);let s;s=r?e:this._injector.get(Mc).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const a=function x$(n){return n.isBoundToModule}(s)?void 0:this._injector.get(Fd),c=s.create(Dr.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(_N,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),w_(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new J(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;w_(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(dN,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>w_(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new J(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(e){return new(e||n)(F(Yt),F(Is),F(Cd))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function w_(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}let In=(()=>{class n{}return n.__NG_ELEMENT_ID__=P$,n})();function P$(n){return function L$(n,t,e){if(kf(n)&&!e){const i=fo(n.index,t);return new Zf(i,i)}return 47&n.type?new Zf(t[16],t):null}(qi(),le(),16==(16&n))}class NN{constructor(){}supports(t){return o_(t)}create(t){return new B$(t)}}const V$=(n,t)=>t;class B${constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||V$}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){const s=!i||e&&e.currentIndex{s=this._trackByFn(r,a),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,s,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new U$(e,i),o,r),t}_verifyReinsertion(t,e,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new PN),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new PN),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class U${constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class H${constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class PN{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new H$,this.map.set(e,i)),i.add(t)}get(t,e){const r=this.map.get(t);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function LN(n,t,e){const i=n.previousIndex;if(null===i)return i;let r=0;return e&&i{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,e);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new W$(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class W${constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function FN(){return new fp([new NN])}let fp=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||FN()),deps:[[n,new Vf,new zf]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new J(901,!1)}}return n.\u0275prov=H({token:n,providedIn:"root",factory:FN}),n})();function jN(){return new pp([new RN])}let pp=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||jN()),deps:[[n,new Vf,new zf]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(i)return i;throw new J(901,!1)}}return n.\u0275prov=H({token:n,providedIn:"root",factory:jN}),n})();const q$=wN(null,"core",[]);let K$=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(F(Oc))},n.\u0275mod=et({type:n}),n.\u0275inj=ft({}),n})();let YT=null;function Ps(){return YT}class X${}const jn=new Me("DocumentToken");let qT=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:function(){return function eW(){return F(zN)}()},providedIn:"platform"}),n})();const tW=new Me("Location Initialized");let zN=(()=>{class n extends qT{constructor(e){super(),this._doc=e,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ps().getBaseHref(this._doc)}onPopState(e){const i=Ps().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Ps().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){VN()?this._history.pushState(e,i,r):this._location.hash=r}replaceState(e,i,r){VN()?this._history.replaceState(e,i,r):this._location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return n.\u0275fac=function(e){return new(e||n)(F(jn))},n.\u0275prov=H({token:n,factory:function(){return function nW(){return new zN(F(jn))}()},providedIn:"platform"}),n})();function VN(){return!!window.history.pushState}function KT(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function BN(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function xa(n){return n&&"?"!==n[0]?"?"+n:n}let kc=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:function(){return st(HN)},providedIn:"root"}),n})();const UN=new Me("appBaseHref");let HN=(()=>{class n extends kc{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??st(jn).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return KT(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+xa(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const s=this.prepareExternalUrl(r+xa(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){const s=this.prepareExternalUrl(r+xa(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return n.\u0275fac=function(e){return new(e||n)(F(qT),F(UN,8))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),iW=(()=>{class n extends kc{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=KT(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+xa(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+xa(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return n.\u0275fac=function(e){return new(e||n)(F(qT),F(UN,8))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})(),QT=(()=>{class n{constructor(e){this._subject=new Q,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function sW(n){if(new RegExp("^(https?:)?//").test(n)){const[,e]=n.split(/\/\/[^\/]+/);return e}return n}(BN($N(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+xa(i))}normalize(e){return n.stripTrailingSlash(function oW(n,t){return n&&new RegExp(`^${n}([/;?#]|$)`).test(t)?t.substring(n.length):t}(this._basePath,$N(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+xa(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+xa(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return n.normalizeQueryParams=xa,n.joinWithSlash=KT,n.stripTrailingSlash=BN,n.\u0275fac=function(e){return new(e||n)(F(kc))},n.\u0275prov=H({token:n,factory:function(){return function rW(){return new QT(F(kc))}()},providedIn:"root"}),n})();function $N(n){return n.replace(/\/index.html$/,"")}function XN(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}const sD=/\s+/,e2=[];let qn=(()=>{class n{constructor(e,i,r,o){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this.initialClasses=e2,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(sD):e2}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(sD):e}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const i of e)this._updateState(i,!0);else if(null!=e)for(const i of Object.keys(e))this._updateState(i,Boolean(e[i]));this._applyStateDiff()}_updateState(e,i){const r=this.stateMap.get(e);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(sD).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return n.\u0275fac=function(e){return new(e||n)(I(fp),I(pp),I(Dt),I(ar))},n.\u0275dir=Ce({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),n})();class $W{constructor(t,e,i,r){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Er=(()=>{class n{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new $W(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),r2(a,r)}});for(let r=0,o=i.length;r{r2(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(I(Gr),I(No),I(fp))},n.\u0275dir=Ce({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function r2(n,t){n.context.$implicit=t.item}let $t=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new GW,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){o2("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){o2("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(I(Gr),I(No))},n.\u0275dir=Ce({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class GW{constructor(){this.$implicit=null,this.ngIf=null}}function o2(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${bn(t)}'.`)}class aD{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let Nc=(()=>{class n{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const i of this._defaultViews)i.enforceState(e)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=Ce({type:n,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),n})(),yp=(()=>{class n{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new aD(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(e){return new(e||n)(I(Gr),I(No),I(Nc,9))},n.\u0275dir=Ce({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),n})(),_p=(()=>{class n{constructor(e,i,r){r._addDefault(new aD(e,i))}}return n.\u0275fac=function(e){return new(e||n)(I(Gr),I(No),I(Nc,9))},n.\u0275dir=Ce({type:n,selectors:[["","ngSwitchDefault",""]],standalone:!0}),n})(),ki=(()=>{class n{constructor(e,i,r){this._ngEl=e,this._differs=i,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){const[r,o]=e.split("."),s=-1===r.indexOf("-")?void 0:Ur.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,r,s)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}}return n.\u0275fac=function(e){return new(e||n)(I(Dt),I(pp),I(ar))},n.\u0275dir=Ce({type:n,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),n})(),qr=(()=>{class n{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:o,ngTemplateOutletInjector:s}=this;this._viewRef=i.createEmbeddedView(r,o,s?{injector:s}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return n.\u0275fac=function(e){return new(e||n)(I(Gr))},n.\u0275dir=Ce({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Gi]}),n})();function fs(n,t){return new J(2100,!1)}class qW{createSubscription(t,e){return t.subscribe({next:e,error:i=>{throw i}})}dispose(t){t.unsubscribe()}}class KW{createSubscription(t,e){return t.then(e,i=>{throw i})}dispose(t){}}const QW=new KW,ZW=new qW;let P_=(()=>{class n{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(ep(e))return QW;if(oA(e))return ZW;throw fs()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(I(In,16))},n.\u0275pipe=Hn({name:"async",type:n,pure:!1,standalone:!0}),n})(),lD=(()=>{class n{transform(e){if(null==e)return null;if("string"!=typeof e)throw fs();return e.toLowerCase()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=Hn({name:"lowercase",type:n,pure:!0,standalone:!0}),n})();const JW=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D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uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D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\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let a2=(()=>{class n{transform(e){if(null==e)return null;if("string"!=typeof e)throw fs();return e.replace(JW,i=>i[0].toUpperCase()+i.slice(1).toLowerCase())}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=Hn({name:"titlecase",type:n,pure:!0,standalone:!0}),n})(),gn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({}),n})();const c2="browser";let yG=(()=>{class n{}return n.\u0275prov=H({token:n,providedIn:"root",factory:()=>new _G(F(jn),window)}),n})();class _G{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function vG(n,t){const e=n.getElementById(t)||n.getElementsByName(t)[0];if(e)return e;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow)){const i=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=u2(this.window.history)||u2(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function u2(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}class d2{}class GG extends X${constructor(){super(...arguments),this.supportsDOMEvents=!0}}class fD extends GG{static makeCurrent(){!function J$(n){YT||(YT=n)}(new fD)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function YG(){return bp=bp||document.querySelector("base"),bp?bp.getAttribute("href"):null}();return null==e?null:function qG(n){R_=R_||document.createElement("a"),R_.setAttribute("href",n);const t=R_.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){bp=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return XN(document.cookie,t)}}let R_,bp=null;const y2=new Me("TRANSITION_ID"),QG=[{provide:dp,useFactory:function KG(n,t,e){return()=>{e.get(v_).donePromise.then(()=>{const i=Ps(),r=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let o=0;o{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();const F_=new Me("EventManagerPlugins");let j_=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>r.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}addGlobalEventListener(e,i,r){return this._findPluginFor(i).addGlobalEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const r=this._plugins;for(let o=0;o{class n{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),i.add(r))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})(),Cp=(()=>{class n extends v2{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,r){e.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,r.push(i.appendChild(s))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(b2),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(e,r,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(b2))}}return n.\u0275fac=function(e){return new(e||n)(F(jn))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();function b2(n){Ps().remove(n)}const pD={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},mD=/%COMP%/g;function gD(n,t){return t.flat(100).map(e=>e.replace(mD,n))}function T2(n){return t=>{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let z_=(()=>{class n{constructor(e,i,r){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new yD(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case oe.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new rY(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(e),r}case oe.ShadowDom:return new oY(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const r=gD(i.id,i.styles);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(F(j_),F(Cp),F(hp))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();class yD{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(pD[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(M2(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(M2(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;const o=pD[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const r=pD[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(Ur.DashCase|Ur.Important)?t.style.setProperty(e,i,r&Ur.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&Ur.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,T2(i)):this.eventManager.addEventListener(t,e,T2(i))}}function M2(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class rY extends yD{constructor(t,e,i,r){super(t),this.component=i;const o=gD(r+"-"+i.id,i.styles);e.addStyles(o),this.contentAttr=function tY(n){return"_ngcontent-%COMP%".replace(mD,n)}(r+"-"+i.id),this.hostAttr=function nY(n){return"_nghost-%COMP%".replace(mD,n)}(r+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}class oY extends yD{constructor(t,e,i,r){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=gD(r.id,r.styles);for(let s=0;s{class n extends _2{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return n.\u0275fac=function(e){return new(e||n)(F(jn))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();const S2=["alt","control","meta","shift"],aY={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},lY={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let cY=(()=>{class n extends _2{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,r){const o=n.parseEventName(i),s=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ps().onAndCancel(e,o.domEventName,s))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=n._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),S2.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=aY[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),S2.forEach(s=>{s!==r&&(0,lY[s])(e)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{n.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(F(jn))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();const x2=[{provide:b_,useValue:c2},{provide:uN,useValue:function uY(){fD.makeCurrent()},multi:!0},{provide:jn,useFactory:function hY(){return function r8(n){xw=n}(document),document},deps:[]}],fY=wN(q$,"browser",x2),I2=new Me(""),O2=[{provide:C_,useClass:class ZG{addToWindow(t){mn.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},mn.getAllAngularTestabilities=()=>t.getAllTestabilities(),mn.getAllAngularRootElements=()=>t.getAllRootElements(),mn.frameworkStabilizers||(mn.frameworkStabilizers=[]),mn.frameworkStabilizers.push(i=>{const r=mn.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(l){s=s||l,o--,0==o&&i(s)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,e,i){return null==e?null:t.getTestability(e)??(i?Ps().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:_N,useClass:jT,deps:[Yt,zT,C_]},{provide:jT,useClass:jT,deps:[Yt,zT,C_]}],A2=[{provide:Rw,useValue:"root"},{provide:Cd,useFactory:function dY(){return new Cd},deps:[]},{provide:F_,useClass:sY,multi:!0,deps:[jn,Yt,b_]},{provide:F_,useClass:cY,multi:!0,deps:[jn]},{provide:z_,useClass:z_,deps:[j_,Cp,hp]},{provide:Kf,useExisting:z_},{provide:v2,useExisting:Cp},{provide:Cp,useClass:Cp,deps:[jn]},{provide:j_,useClass:j_,deps:[F_,Yt]},{provide:d2,useClass:JG,deps:[]},[]];let k2=(()=>{class n{constructor(e){}static withServerTransition(e){return{ngModule:n,providers:[{provide:hp,useValue:e.appId},{provide:y2,useExisting:hp},QG]}}}return n.\u0275fac=function(e){return new(e||n)(F(I2,12))},n.\u0275mod=et({type:n}),n.\u0275inj=ft({providers:[...A2,...O2],imports:[gn,K$]}),n})(),N2=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(F(jn))},n.\u0275prov=H({token:n,factory:function(e){let i=null;return i=e?new e:function mY(){return new N2(F(jn))}(),i},providedIn:"root"}),n})();typeof window<"u"&&window;let V_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:function(e){let i=null;return i=e?new(e||n):F(bD),i},providedIn:"root"}),n})(),bD=(()=>{class n extends V_{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case Rn.NONE:return i;case Rn.HTML:return xs(i,"HTML")?mo(i):KI(this._doc,String(i)).toString();case Rn.STYLE:return xs(i,"Style")?mo(i):i;case Rn.SCRIPT:if(xs(i,"Script"))return mo(i);throw new Error("unsafe value used in a script context");case Rn.URL:return xs(i,"URL")?mo(i):Gy(String(i));case Rn.RESOURCE_URL:if(xs(i,"ResourceURL"))return mo(i);throw new Error(`unsafe value used in a resource URL context (see ${Gu})`);default:throw new Error(`Unexpected SecurityContext ${e} (see ${Gu})`)}}bypassSecurityTrustHtml(e){return function d8(n){return new o8(n)}(e)}bypassSecurityTrustStyle(e){return function h8(n){return new s8(n)}(e)}bypassSecurityTrustScript(e){return function f8(n){return new a8(n)}(e)}bypassSecurityTrustUrl(e){return function p8(n){return new l8(n)}(e)}bypassSecurityTrustResourceUrl(e){return function m8(n){return new c8(n)}(e)}}return n.\u0275fac=function(e){return new(e||n)(F(jn))},n.\u0275prov=H({token:n,factory:function(e){let i=null;return i=e?new e:function wY(n){return new bD(n.get(jn))}(F(Dr)),i},providedIn:"root"}),n})();function Fe(...n){let t=n[n.length-1];return Mi(t)?(n.pop(),Gt(n,t)):tl(n)}function fl(n,t){return ri(n,t,1)}function Tn(n,t){return function(i){return i.lift(new TY(n,t))}}class TY{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new DY(t,this.predicate,this.thisArg))}}class DY extends re{constructor(t,e,i){super(t),this.predicate=e,this.thisArg=i,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(t)}}class B_{}class CD{}class Kr{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),o=r.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof Kr?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new Kr;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Kr?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=t.value;if(o){let s=this.headers.get(e);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class MY{encodeKey(t){return R2(t)}encodeValue(t){return R2(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const EY=/%(\d[a-f0-9])/gi,xY={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function R2(n){return encodeURIComponent(n).replace(EY,(t,e)=>xY[e]??t)}function U_(n){return`${n}`}class ps{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new MY,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function SY(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e],r=Array.isArray(i)?i.map(U_):[U_(i)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new ps({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(U_(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const r=i.indexOf(U_(t.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class IY{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function F2(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function j2(n){return typeof Blob<"u"&&n instanceof Blob}function z2(n){return typeof FormData<"u"&&n instanceof FormData}class Oa{constructor(t,e,i,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function OY(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new Kr),this.context||(this.context=new IY),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":ad.set(h,t.setHeaders[h]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((d,h)=>d.set(h,t.setParams[h]),c)),new Oa(e,i,o,{params:c,headers:l,context:u,reportProgress:a,responseType:r,withCredentials:s})}}var Nn=(()=>((Nn=Nn||{})[Nn.Sent=0]="Sent",Nn[Nn.UploadProgress=1]="UploadProgress",Nn[Nn.ResponseHeader=2]="ResponseHeader",Nn[Nn.DownloadProgress=3]="DownloadProgress",Nn[Nn.Response=4]="Response",Nn[Nn.User=5]="User",Nn))();class wD{constructor(t,e=200,i="OK"){this.headers=t.headers||new Kr,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class TD extends wD{constructor(t={}){super(t),this.type=Nn.ResponseHeader}clone(t={}){return new TD({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class H_ extends wD{constructor(t={}){super(t),this.type=Nn.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new H_({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class V2 extends wD{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function DD(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let Ki=(()=>{class n{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof Oa)o=e;else{let l,c;l=r.headers instanceof Kr?r.headers:new Kr(r.headers),r.params&&(c=r.params instanceof ps?r.params:new ps({fromObject:r.params})),o=new Oa(e,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const s=Fe(o).pipe(fl(l=>this.handler.handle(l)));if(e instanceof Oa||"events"===r.observe)return s;const a=s.pipe(Tn(l=>l instanceof H_));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(fe(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(fe(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(fe(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(fe(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new ps).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,DD(r,i))}post(e,i,r={}){return this.request("POST",e,DD(r,i))}put(e,i,r={}){return this.request("PUT",e,DD(r,i))}}return n.\u0275fac=function(e){return new(e||n)(F(B_))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();function B2(n,t){return t(n)}function kY(n,t){return(e,i)=>t.intercept(e,{handle:r=>n(r,i)})}const PY=new Me("HTTP_INTERCEPTORS"),wp=new Me("HTTP_INTERCEPTOR_FNS");function LY(){let n=null;return(t,e)=>(null===n&&(n=(st(PY,{optional:!0})??[]).reduceRight(kY,B2)),n(t,e))}let U2=(()=>{class n extends B_{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=Array.from(new Set(this.injector.get(wp)));this.chain=i.reduceRight((r,o)=>function NY(n,t,e){return(i,r)=>e.runInContext(()=>t(i,o=>n(o,r)))}(r,o,this.injector),B2)}return this.chain(e,i=>this.backend.handle(i))}}return n.\u0275fac=function(e){return new(e||n)(F(CD),F(Is))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();const zY=/^\)\]\}',?\n/;let $2=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Ee(i=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((f,p)=>r.setRequestHeader(f,p.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const f=e.detectContentTypeHeader();null!==f&&r.setRequestHeader("Content-Type",f)}if(e.responseType){const f=e.responseType.toLowerCase();r.responseType="json"!==f?f:"text"}const o=e.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const f=r.statusText||"OK",p=new Kr(r.getAllResponseHeaders()),m=function VY(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new TD({headers:p,status:r.status,statusText:f,url:m}),s},l=()=>{let{headers:f,status:p,statusText:m,url:g}=a(),y=null;204!==p&&(y=typeof r.response>"u"?r.responseText:r.response),0===p&&(p=y?200:0);let w=p>=200&&p<300;if("json"===e.responseType&&"string"==typeof y){const T=y;y=y.replace(zY,"");try{y=""!==y?JSON.parse(y):null}catch(v){y=T,w&&(w=!1,y={error:v,text:y})}}w?(i.next(new H_({body:y,headers:f,status:p,statusText:m,url:g||void 0})),i.complete()):i.error(new V2({error:y,headers:f,status:p,statusText:m,url:g||void 0}))},c=f=>{const{url:p}=a(),m=new V2({error:f,status:r.status||0,statusText:r.statusText||"Unknown Error",url:p||void 0});i.error(m)};let u=!1;const d=f=>{u||(i.next(a()),u=!0);let p={type:Nn.DownloadProgress,loaded:f.loaded};f.lengthComputable&&(p.total=f.total),"text"===e.responseType&&r.responseText&&(p.partialText=r.responseText),i.next(p)},h=f=>{let p={type:Nn.UploadProgress,loaded:f.loaded};f.lengthComputable&&(p.total=f.total),i.next(p)};return r.addEventListener("load",l),r.addEventListener("error",c),r.addEventListener("timeout",c),r.addEventListener("abort",c),e.reportProgress&&(r.addEventListener("progress",d),null!==o&&r.upload&&r.upload.addEventListener("progress",h)),r.send(o),i.next({type:Nn.Sent}),()=>{r.removeEventListener("error",c),r.removeEventListener("abort",c),r.removeEventListener("load",l),r.removeEventListener("timeout",c),e.reportProgress&&(r.removeEventListener("progress",d),null!==o&&r.upload&&r.upload.removeEventListener("progress",h)),r.readyState!==r.DONE&&r.abort()}})}}return n.\u0275fac=function(e){return new(e||n)(F(d2))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();const MD=new Me("XSRF_ENABLED"),W2="XSRF-TOKEN",G2=new Me("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>W2}),Y2="X-XSRF-TOKEN",q2=new Me("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Y2});class K2{}let BY=(()=>{class n{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=XN(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return n.\u0275fac=function(e){return new(e||n)(F(jn),F(b_),F(G2))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();function UY(n,t){const e=n.url.toLowerCase();if(!st(MD)||"GET"===n.method||"HEAD"===n.method||e.startsWith("http://")||e.startsWith("https://"))return t(n);const i=st(K2).getToken(),r=st(q2);return null!=i&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,i)})),t(n)}var pi=(()=>((pi=pi||{})[pi.Interceptors=0]="Interceptors",pi[pi.LegacyInterceptors=1]="LegacyInterceptors",pi[pi.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",pi[pi.NoXsrfProtection=3]="NoXsrfProtection",pi[pi.JsonpSupport=4]="JsonpSupport",pi[pi.RequestsMadeViaParent=5]="RequestsMadeViaParent",pi))();function Ud(n,t){return{\u0275kind:n,\u0275providers:t}}function HY(...n){const t=[Ki,$2,U2,{provide:B_,useExisting:U2},{provide:CD,useExisting:$2},{provide:wp,useValue:UY,multi:!0},{provide:MD,useValue:!0},{provide:K2,useClass:BY}];for(const e of n)t.push(...e.\u0275providers);return function O8(n){return{\u0275providers:n}}(t)}const Q2=new Me("LEGACY_INTERCEPTOR_FN");function WY({cookieName:n,headerName:t}){const e=[];return void 0!==n&&e.push({provide:G2,useValue:n}),void 0!==t&&e.push({provide:q2,useValue:t}),Ud(pi.CustomXsrfConfiguration,e)}let SD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({providers:[HY(Ud(pi.LegacyInterceptors,[{provide:Q2,useFactory:LY},{provide:wp,useExisting:Q2,multi:!0}]),WY({cookieName:W2,headerName:Y2}))]}),n})();class GY extends ce{constructor(t,e){super()}schedule(t,e=0){return this}}class $_ extends GY{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const i=this.id,r=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(r,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this}requestAsyncId(t,e,i=0){return setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,i=!1;try{this.work(t)}catch(o){i=!0,r=!!o&&o||new Error(o)}if(i)return this.unsubscribe(),r}_unsubscribe(){const t=this.id,e=this.scheduler,i=e.actions,r=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&i.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}let Z2=(()=>{class n{constructor(e,i=n.now){this.SchedulerAction=e,this.now=i}schedule(e,i=0,r){return new this.SchedulerAction(this,e).schedule(r,i)}}return n.now=()=>Date.now(),n})();class ms extends Z2{constructor(t,e=Z2.now){super(t,()=>ms.delegate&&ms.delegate!==this?ms.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,i){return ms.delegate&&ms.delegate!==this?ms.delegate.schedule(t,e,i):super.schedule(t,e,i)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let i;this.active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const ED=new class qY extends ms{}(class YY extends $_{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(t,e,i):t.flush(this)}}),KY=ED,Ls=new Ee(n=>n.complete());function W_(n){return n?function QY(n){return new Ee(t=>n.schedule(()=>t.complete()))}(n):Ls}function yo(n,t){return new Ee(t?e=>t.schedule(ZY,0,{error:n,subscriber:e}):e=>e.error(n))}function ZY({error:n,subscriber:t}){t.error(n)}class Ro{constructor(t,e,i){this.kind=t,this.value=e,this.error=i,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,i){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}accept(t,e,i){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,i)}toObservable(){switch(this.kind){case"N":return Fe(this.value);case"E":return yo(this.error);case"C":return W_()}throw new Error("unexpected notification kind value")}static createNext(t){return typeof t<"u"?new Ro("N",t):Ro.undefinedValueNotification}static createError(t){return new Ro("E",void 0,t)}static createComplete(){return Ro.completeNotification}}Ro.completeNotification=new Ro("C"),Ro.undefinedValueNotification=new Ro("N",void 0);class XY{constructor(t,e=0){this.scheduler=t,this.delay=e}call(t,e){return e.subscribe(new G_(t,this.scheduler,this.delay))}}class G_ extends re{constructor(t,e,i=0){super(t),this.scheduler=e,this.delay=i}static dispatch(t){const{notification:e,destination:i}=t;e.observe(i),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(G_.dispatch,this.delay,new eq(t,this.destination)))}_next(t){this.scheduleMessage(Ro.createNext(t))}_error(t){this.scheduleMessage(Ro.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(Ro.createComplete()),this.unsubscribe()}}class eq{constructor(t,e){this.notification=t,this.destination=e}}class Y_ extends ue{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new tq(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,o=i.length;let s;if(this.closed)throw new ve;if(this.isStopped||this.hasError?s=ce.EMPTY:(this.observers.push(t),s=new Ze(this,t)),r&&t.add(t=new G_(t,r)),e)for(let a=0;ae&&(s=Math.max(s,o-e)),s>0&&r.splice(0,s),r}}class tq{constructor(t,e){this.time=t,this.value=e}}function li(n,t){return"function"==typeof t?e=>e.pipe(li((i,r)=>Et(n(i,r)).pipe(fe((o,s)=>t(i,o,r,s))))):e=>e.lift(new nq(n))}class nq{constructor(t){this.project=t}call(t,e){return e.subscribe(new iq(t,this.project))}}class iq extends Xo{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(r){return void this.destination.error(r)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const i=new Wn(this),r=this.destination;r.add(i),this.innerSubscription=uc(t,i),this.innerSubscription!==i&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;(!t||t.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}const q_={schedule(n,t){const e=setTimeout(n,t);return()=>clearTimeout(e)},scheduleBeforeRender(n){if(typeof window>"u")return q_.schedule(n,0);if(typeof window.requestAnimationFrame>"u")return q_.schedule(n,16);const t=window.requestAnimationFrame(n);return()=>window.cancelAnimationFrame(t)}};let xD;function hq(n,t,e){let i=e;return function oq(n){return!!n&&n.nodeType===Node.ELEMENT_NODE}(n)&&t.some((r,o)=>!("*"===r||!function aq(n,t){if(!xD){const e=Element.prototype;xD=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return n.nodeType===Node.ELEMENT_NODE&&xD.call(n,t)}(n,r)||(i=o,0))),i}class pq{constructor(t,e){this.componentFactory=e.get(Mc).resolveComponentFactory(t)}create(t){return new mq(this.componentFactory,t)}}class mq{constructor(t,e){this.componentFactory=t,this.injector=e,this.eventEmitters=new Y_(1),this.events=this.eventEmitters.pipe(li(i=>Cs(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(Yt),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=q_.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,e){this.runInZone(()=>{null!==this.componentRef?function lq(n,t){return n===t||n!=n&&t!=t}(e,this.getInputValue(t))&&(void 0!==e||!this.unchangedInputs.has(t))||(this.recordInputChange(t,e),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=e,this.scheduleDetectChanges()):this.initialInputValues.set(t,e)})}initializeComponent(t){const e=Dr.create({providers:[],parent:this.injector}),i=function dq(n,t){const e=n.childNodes,i=t.map(()=>[]);let r=-1;t.some((o,s)=>"*"===o&&(r=s,!0));for(let o=0,s=e.length;o{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t))}),this.initialInputValues.clear()}initializeOutputs(t){const e=this.componentFactory.outputs.map(({propName:i,templateName:r})=>t.instance[i].pipe(fe(s=>({name:r,value:s}))));this.eventEmitters.next(e)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const e=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(e)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=q_.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,e){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const i=this.inputChanges[t];if(i)return void(i.currentValue=e);const r=this.unchangedInputs.has(t),o=r?void 0:this.getInputValue(t);this.inputChanges[t]=new bx(o,e,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class gq extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function K_(n,t){return new Ee(e=>{const i=n.length;if(0===i)return void e.complete();const r=new Array(i);let o=0,s=0;for(let a=0;a{c||(c=!0,s++),r[a]=u},error:u=>e.error(u),complete:()=>{o++,(o===i||!c)&&(s===i&&e.next(t?t.reduce((u,d,h)=>(u[d]=r[h],u),{}):r),e.complete())}}))}})}let J2=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(I(ar),I(Dt))},n.\u0275dir=Ce({type:n}),n})(),Pc=(()=>{class n extends J2{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=ji(n)))(i||n)}}(),n.\u0275dir=Ce({type:n,features:[wn]}),n})();const Qi=new Me("NgValueAccessor"),bq={provide:Qi,useExisting:Ft(()=>pl),multi:!0},wq=new Me("CompositionEventMode");let pl=(()=>{class n extends J2{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Cq(){const n=Ps()?Ps().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(I(ar),I(Dt),I(wq,8))},n.\u0275dir=Ce({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&se("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[Pt([bq]),wn]}),n})();function ml(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function eP(n){return null!=n&&"number"==typeof n.length}const ur=new Me("NgValidators"),gl=new Me("NgAsyncValidators"),Dq=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[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])?)*$/;class Hd{static min(t){return function tP(n){return t=>{if(ml(t.value)||ml(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e{if(ml(t.value)||ml(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return function iP(n){return ml(n.value)?{required:!0}:null}(t)}static requiredTrue(t){return function rP(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function oP(n){return ml(n.value)||Dq.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function sP(n){return t=>ml(t.value)||!eP(t.value)?null:t.value.lengtheP(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return function lP(n){if(!n)return Q_;let t,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(ml(i.value))return null;const r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(t)}static nullValidator(t){return null}static compose(t){return pP(t)}static composeAsync(t){return mP(t)}}function Q_(n){return null}function cP(n){return null!=n}function uP(n){return ep(n)?Et(n):n}function dP(n){let t={};return n.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function hP(n,t){return t.map(e=>e(n))}function fP(n){return n.map(t=>function Mq(n){return!n.validate}(t)?t:e=>t.validate(e))}function pP(n){if(!n)return null;const t=n.filter(cP);return 0==t.length?null:function(e){return dP(hP(e,t))}}function ID(n){return null!=n?pP(fP(n)):null}function mP(n){if(!n)return null;const t=n.filter(cP);return 0==t.length?null:function(e){return function _q(...n){if(1===n.length){const t=n[0];if(R(t))return K_(t,null);if(P(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return K_(e.map(i=>t[i]),e)}}if("function"==typeof n[n.length-1]){const t=n.pop();return K_(n=1===n.length&&R(n[0])?n[0]:n,null).pipe(fe(e=>t(...e)))}return K_(n,null)}(hP(e,t).map(uP)).pipe(fe(dP))}}function OD(n){return null!=n?mP(fP(n)):null}function gP(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function yP(n){return n._rawValidators}function _P(n){return n._rawAsyncValidators}function AD(n){return n?Array.isArray(n)?n:[n]:[]}function Z_(n,t){return Array.isArray(n)?n.includes(t):n===t}function vP(n,t){const e=AD(t);return AD(n).forEach(r=>{Z_(e,r)||e.push(r)}),e}function bP(n,t){return AD(t).filter(e=>!Z_(n,e))}class CP{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=ID(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=OD(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class xr extends CP{get formDirective(){return null}get path(){return null}}class Rs extends CP{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class wP{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Lc=(()=>{class n extends wP{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(I(Rs,2))},n.\u0275dir=Ce({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&Wr("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[wn]}),n})(),$d=(()=>{class n extends wP{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(I(xr,10))},n.\u0275dir=Ce({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&Wr("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[wn]}),n})();const Tp="VALID",X_="INVALID",Wd="PENDING",Dp="DISABLED";function LD(n){return(ev(n)?n.validators:n)||null}function RD(n,t){return(ev(t)?t.asyncValidators:n)||null}function ev(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function DP(n,t,e){const i=n.controls;if(!(t?Object.keys(i):i).length)throw new J(1e3,"");if(!i[e])throw new J(1001,"")}function MP(n,t,e){n._forEachChild((i,r)=>{if(void 0===e[r])throw new J(1002,"")})}class tv{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Tp}get invalid(){return this.status===X_}get pending(){return this.status==Wd}get disabled(){return this.status===Dp}get enabled(){return this.status!==Dp}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(vP(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(vP(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(bP(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(bP(t,this._rawAsyncValidators))}hasValidator(t){return Z_(this._rawValidators,t)}hasAsyncValidator(t){return Z_(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Wd,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Dp,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Tp,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Tp||this.status===Wd)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Dp:Tp}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Wd,this._hasOwnPendingAsyncValidator=!0;const e=uP(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Q,this.statusChanges=new Q}_calculateStatus(){return this._allControlsDisabled()?Dp:this.errors?X_:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Wd)?Wd:this._anyControlsHaveStatus(X_)?X_:Tp}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ev(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function kq(n){return Array.isArray(n)?ID(n):n||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function Nq(n){return Array.isArray(n)?OD(n):n||null}(this._rawAsyncValidators)}}class Gd extends tv{constructor(t,e,i){super(LD(e),RD(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){MP(this,0,t),Object.keys(t).forEach(i=>{DP(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{const r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}class SP extends Gd{}const Yd=new Me("CallSetDisabledState",{providedIn:"root",factory:()=>nv}),nv="always";function iv(n,t){return[...t.path,n]}function Mp(n,t,e=nv){FD(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||"always"===e)&&t.valueAccessor.setDisabledState?.(n.disabled),function Lq(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&EP(n,t)})}(n,t),function Fq(n,t){const e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function Rq(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&EP(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function Pq(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function rv(n,t,e=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),sv(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function ov(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function FD(n,t){const e=yP(n);null!==t.validator?n.setValidators(gP(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const i=_P(n);null!==t.asyncValidator?n.setAsyncValidators(gP(i,t.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();ov(t._rawValidators,r),ov(t._rawAsyncValidators,r)}function sv(n,t){let e=!1;if(null!==n){if(null!==t.validator){const r=yP(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==t.validator);o.length!==r.length&&(e=!0,n.setValidators(o))}}if(null!==t.asyncValidator){const r=_P(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==t.asyncValidator);o.length!==r.length&&(e=!0,n.setAsyncValidators(o))}}}const i=()=>{};return ov(t._rawValidators,i),ov(t._rawAsyncValidators,i),e}function EP(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function zD(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function VD(n,t){if(!t)return null;let e,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===pl?e=o:function Vq(n){return Object.getPrototypeOf(n.constructor)===Pc}(o)?i=o:r=o}),r||i||e||null}function OP(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function AP(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const qd=class extends tv{constructor(t=null,e,i){super(LD(e),RD(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ev(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=AP(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){OP(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){OP(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){AP(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},Wq={provide:Rs,useExisting:Ft(()=>Ep)},PP=(()=>Promise.resolve())();let Ep=(()=>{class n extends Rs{constructor(e,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new qd,this._registered=!1,this.update=new Q,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=VD(0,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),zD(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Mp(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){PP.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=0!==i&&function Bd(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}(i);PP.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?iv(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(I(xr,9),I(ur,10),I(gl,10),I(Qi,10),I(In,8),I(Yd,8))},n.\u0275dir=Ce({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Pt([Wq]),wn,Gi]}),n})(),Kd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=Ce({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})(),RP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({}),n})();const UD=new Me("NgModelWithFormControlWarning"),Zq={provide:xr,useExisting:Ft(()=>Aa)};let Aa=(()=>{class n extends xr{constructor(e,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Q,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(sv(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Mp(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){rv(e.control||null,e,!1),function Bq(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,function IP(n,t){n._syncPendingControls(),t.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,r=this.form.get(e.path);i!==r&&(rv(i||null,e),(n=>n instanceof qd)(r)&&(Mp(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);(function xP(n,t){FD(n,t)})(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function jq(n,t){return sv(n,t)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){FD(this.form,this),this._oldForm&&sv(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(I(ur,10),I(gl,10),I(Yd,8))},n.\u0275dir=Ce({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&se("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Pt([Zq]),wn,Gi]}),n})();const eK={provide:Rs,useExisting:Ft(()=>Rc)};let Rc=(()=>{class n extends Rs{set isDisabled(e){}constructor(e,i,r,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new Q,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=VD(0,o)}ngOnChanges(e){this._added||this._setUpControl(),zD(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return iv(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(I(xr,13),I(ur,10),I(gl,10),I(Qi,10),I(UD,8))},n.\u0275dir=Ce({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Pt([eK]),wn,Gi]}),n})(),JP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[RP]}),n})();class XP extends tv{constructor(t,e,i){super(LD(e),RD(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){MP(this,0,t),t.forEach((i,r)=>{DP(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}function eL(n){return!!n&&(void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn)}let av=(()=>{class n{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new n;return e.useNonNullable=!0,e}group(e,i=null){const r=this._reduceControls(e);let o={};return eL(i)?o=i:null!==i&&(o.validators=i.validator,o.asyncValidators=i.asyncValidator),new Gd(r,o)}record(e,i=null){const r=this._reduceControls(e);return new SP(r,i)}control(e,i,r){let o={};return this.useNonNullable?(eL(i)?o=i:(o.validators=i,o.asyncValidators=r),new qd(e,{...o,nonNullable:!0})):new qd(e,i,r)}array(e,i,r){const o=e.map(s=>this._createControl(s));return new XP(o,i,r)}_reduceControls(e){const i={};return Object.keys(e).forEach(r=>{i[r]=this._createControl(e[r])}),i}_createControl(e){return e instanceof qd||e instanceof tv?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),lv=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Yd,useValue:e.callSetDisabledState??nv}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[JP]}),n})(),Qd=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:UD,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Yd,useValue:e.callSetDisabledState??nv}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[JP]}),n})();class tL{}class mK{}const ka="*";function xp(n,t){return{type:7,name:n,definitions:t,options:{}}}function Na(n,t=null){return{type:4,styles:t,timings:n}}function nL(n,t=null){return{type:2,steps:n,options:t}}function mi(n){return{type:6,styles:n,offset:null}}function iL(n,t,e){return{type:0,name:n,styles:t,options:e}}function Pa(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function cv(n,t=null){return{type:8,animation:n,options:t}}function uv(n,t=null){return{type:10,animation:n,options:t}}function rL(n){Promise.resolve().then(n)}class Ip{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){rL(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class oL{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,r=0;const o=this.players.length;0==o?rL(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const t=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function sL(n){return new J(3e3,!1)}function ZK(){return typeof window<"u"&&typeof window.document<"u"}function KD(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function yl(n){switch(n.length){case 0:return new Ip;case 1:return n[0];default:return new oL(n)}}function aL(n,t,e,i,r=new Map,o=new Map){const s=[],a=[];let l=-1,c=null;if(i.forEach(u=>{const d=u.get("offset"),h=d==l,f=h&&c||new Map;u.forEach((p,m)=>{let g=m,y=p;if("offset"!==m)switch(g=t.normalizePropertyName(g,s),y){case"!":y=r.get(m);break;case ka:y=o.get(m);break;default:y=t.normalizeStyleValue(m,g,y,s)}f.set(g,y)}),h||a.push(f),c=f,l=d}),s.length)throw function zK(n){return new J(3502,!1)}();return a}function QD(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&ZD(e,"start",n)));break;case"done":n.onDone(()=>i(e&&ZD(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&ZD(e,"destroy",n)))}}function ZD(n,t,e){const o=JD(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,e.totalTime??n.totalTime,!!e.disabled),s=n._data;return null!=s&&(o._data=s),o}function JD(n,t,e,i,r="",o=0,s){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function _o(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function lL(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}let XD=(n,t)=>!1,cL=(n,t,e)=>[],uL=null;function e1(n){const t=n.parentNode||n.host;return t===uL?null:t}(KD()||typeof Element<"u")&&(ZK()?(uL=(()=>document.documentElement)(),XD=(n,t)=>{for(;t;){if(t===n)return!0;t=e1(t)}return!1}):XD=(n,t)=>n.contains(t),cL=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]});let jc=null,dL=!1;const hL=XD,fL=cL;let pL=(()=>{class n{validateStyleProperty(e){return function XK(n){jc||(jc=function eQ(){return typeof document<"u"?document.body:null}()||{},dL=!!jc.style&&"WebkitAppearance"in jc.style);let t=!0;return jc.style&&!function JK(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in jc.style,!t&&dL&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in jc.style)),t}(e)}matchesElement(e,i){return!1}containsElement(e,i){return hL(e,i)}getParentElement(e){return e1(e)}query(e,i,r){return fL(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new Ip(r,o)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})(),t1=(()=>{class n{}return n.NOOP=new pL,n})();const n1="ng-enter",dv="ng-leave",hv="ng-trigger",fv=".ng-trigger",gL="ng-animating",r1=".ng-animating";function La(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:o1(parseFloat(t[1]),t[2])}function o1(n,t){return"s"===t?1e3*n:n}function pv(n,t,e){return n.hasOwnProperty("duration")?n:function iQ(n,t,e){let r,o=0,s="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push(sL()),{duration:0,delay:0,easing:""};r=o1(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=o1(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=n;if(!e){let a=!1,l=t.length;r<0&&(t.push(function yK(){return new J(3100,!1)}()),a=!0),o<0&&(t.push(function _K(){return new J(3101,!1)}()),a=!0),a&&t.splice(l,0,sL())}return{duration:r,delay:o,easing:s}}(n,t,e)}function Op(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function yL(n){const t=new Map;return Object.keys(n).forEach(e=>{t.set(e,n[e])}),t}function _l(n,t=new Map,e){if(e)for(let[i,r]of e)t.set(i,r);for(let[i,r]of n)t.set(i,r);return t}function vL(n,t,e){return e?t+":"+e+";":""}function bL(n){let t="";for(let e=0;e{const o=a1(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i}),KD()&&bL(n))}function zc(n,t){n.style&&(t.forEach((e,i)=>{const r=a1(i);n.style[r]=""}),KD()&&bL(n))}function Ap(n){return Array.isArray(n)?1==n.length?n[0]:nL(n):n}const s1=new RegExp("{{\\s*(.+?)\\s*}}","g");function CL(n){let t=[];if("string"==typeof n){let e;for(;e=s1.exec(n);)t.push(e[1]);s1.lastIndex=0}return t}function kp(n,t,e){const i=n.toString(),r=i.replace(s1,(o,s)=>{let a=t[s];return null==a&&(e.push(function bK(n){return new J(3003,!1)}()),a=""),a.toString()});return r==i?n:r}function mv(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const sQ=/-+([a-z0-9])/g;function a1(n){return n.replace(sQ,(...t)=>t[1].toUpperCase())}function aQ(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function vo(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw function CK(n){return new J(3004,!1)}()}}function wL(n,t){return window.getComputedStyle(n)[t]}function fQ(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function pQ(n,t,e){if(":"==n[0]){const l=function mQ(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(n,e);if("function"==typeof l)return void t.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function PK(n){return new J(3015,!1)}()),t;const r=i[1],o=i[2],s=i[3];t.push(TL(r,s));"<"==o[0]&&!("*"==r&&"*"==s)&&t.push(TL(s,r))}(i,e,t)):e.push(n),e}const vv=new Set(["true","1"]),bv=new Set(["false","0"]);function TL(n,t){const e=vv.has(n)||bv.has(n),i=vv.has(t)||bv.has(t);return(r,o)=>{let s="*"==n||n==r,a="*"==t||t==o;return!s&&e&&"boolean"==typeof r&&(s=r?vv.has(n):bv.has(n)),!a&&i&&"boolean"==typeof o&&(a=o?vv.has(t):bv.has(t)),s&&a}}const gQ=new RegExp("s*:selfs*,?","g");function l1(n,t,e,i){return new yQ(n).build(t,e,i)}class yQ{constructor(t){this._driver=t}build(t,e,i){const r=new bQ(e);return this._resetContextStyleTimingState(r),vo(this,Ap(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push(function TK(){return new J(3006,!1)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,e))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(function DK(){return new J(3007,!1)}())}),{type:7,name:t.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{CL(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&(mv(o.values()),e.errors.push(function MK(n,t){return new J(3008,!1)}()))}return{type:0,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=vo(this,Ap(t.animation),e);return{type:1,matchers:fQ(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Vc(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>vo(this,i,e)),options:Vc(t.options)}}visitGroup(t,e){const i=e.currentTime;let r=0;const o=t.steps.map(s=>{e.currentTime=i;const a=vo(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:o,options:Vc(t.options)}}visitAnimate(t,e){const i=function wQ(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return c1(pv(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=c1(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=pv(e,t);return c1(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:mi({});if(5==o.type)r=this.visitKeyframes(o,e);else{let s=t.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=mi(c)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of r)"string"==typeof a?a===ka?i.push(a):e.errors.push(new J(3002,!1)):i.push(yL(a));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),u=c.get(l);let d=!0;u&&(o!=r&&o>=u.startTime&&r<=u.endTime&&(e.errors.push(function EK(n,t,e,i,r){return new J(3010,!1)}()),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:r}),e.options&&function oQ(n,t,e){const i=t.params||{},r=CL(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function vK(n){return new J(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function xK(){return new J(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const u=t.steps.map(y=>{const w=this._makeStyleAst(y,e);let T=null!=w.offset?w.offset:function CQ(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(w.styles),v=0;return null!=T&&(o++,v=w.offset=T),l=l||v<0||v>1,a=a||v0&&o{const T=h>0?w==f?1:h*w:s[w],v=T*g;e.currentTime=p+m.delay+v,m.duration=v,this._validateStyleAst(y,e),y.offset=T,i.styles.push(y)}),i}visitReference(t,e){return{type:8,animation:vo(this,Ap(t.animation),e),options:Vc(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Vc(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Vc(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[o,s]=function _Q(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(gQ,"")),n=n.replace(/@\*/g,fv).replace(/@\w+/g,e=>fv+"-"+e.slice(1)).replace(/:animating/g,r1),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,_o(e.collectedStyles,e.currentQuerySelector,new Map);const a=vo(this,Ap(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:Vc(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function kK(){return new J(3013,!1)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:pv(t.timings,e.errors,!0);return{type:12,animation:vo(this,Ap(t.animation),e),timings:i,options:null}}}class bQ{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Vc(n){return n?(n=Op(n)).params&&(n.params=function vQ(n){return n?Op(n):null}(n.params)):n={},n}function c1(n,t,e){return{duration:n,delay:t,easing:e}}function u1(n,t,e,i,r,o,s=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class Cv{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const MQ=new RegExp(":enter","g"),EQ=new RegExp(":leave","g");function d1(n,t,e,i,r,o=new Map,s=new Map,a,l,c=[]){return(new xQ).buildKeyframes(n,t,e,i,r,o,s,a,l,c)}class xQ{buildKeyframes(t,e,i,r,o,s,a,l,c,u=[]){c=c||new Cv;const d=new h1(t,e,c,r,o,u,[]);d.options=l;const h=l.delay?La(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,l),vo(this,i,d);const f=d.timelines.filter(p=>p.containsAnimation());if(f.length&&a.size){let p;for(let m=f.length-1;m>=0;m--){const g=f[m];if(g.element===e){p=g;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,d.errors,l)}return f.length?f.map(p=>p.buildKeyframes()):[u1(e,[],[],[],0,h,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(const r of t){const o=r?.delay;if(o){const s="number"==typeof o?o:La(kp(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime;const s=null!=i.duration?La(i.duration):null,a=null!=i.delay?La(i.delay):null;return 0!==s&&t.forEach(l=>{const c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),vo(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let r=e;const o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=wv);const s=La(o.delay);r.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>vo(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let r=e.currentTimeline.currentTime;const o=t.options&&t.options.delay?La(t.options.delay):0;t.steps.forEach(s=>{const a=e.createSubContext(t.options);o&&a.delayNextStep(o),vo(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return pv(e.params?kp(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,t.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?La(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=wv);let s=i;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{e.currentQueryIndex=u;const d=e.createSubContext(t.options,c);o&&d.delayNextStep(o),c===e.element&&(l=d.currentTimeline),vo(this,t.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,r=e.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1);let l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const u=e.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;vo(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-d+(r.startTime-i.currentTimeline.startTime)}}const wv={};class h1{constructor(t,e,i,r,o,s,a,l){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=wv,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Tv(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let r=this.options;null!=i.duration&&(r.duration=La(i.duration)),null!=i.delay&&(r.delay=La(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=kp(o[a],s,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){const r=e||this.element,o=new h1(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=wv,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},o=new IQ(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,s){let a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(MQ,"."+this._enterClassName)).replace(EQ,"."+this._leaveClassName);let c=this._driver.query(this.element,t,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function NK(n){return new J(3014,!1)}()),a}}class Tv{constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new Tv(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||ka),this._currentKeyframe.set(e,ka);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},s=function OQ(n,t){const e=new Map;let i;return n.forEach(r=>{if("*"===r){i=i||t.keys();for(let o of i)e.set(o,ka)}else _l(r,e)}),e}(t,this._globalTimelineStyles);for(let[a,l]of s){const c=kp(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??ka),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=_l(a,new Map,this._backFill);c.forEach((u,d)=>{"!"===u?t.add(d):u===ka&&e.add(d)}),i||c.set("offset",l/this.duration),r.push(c)});const o=t.size?mv(t.values()):[],s=e.size?mv(e.values()):[];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return u1(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class IQ extends Tv{constructor(t,e,i,r,o,s,a=!1){super(t,e,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],s=i+e,a=e/s,l=_l(t[0]);l.set("offset",0),o.push(l);const c=_l(t[0]);c.set("offset",SL(a)),o.push(c);const u=t.length-1;for(let d=1;d<=u;d++){let h=_l(t[d]);const f=h.get("offset");h.set("offset",SL((e+f*i)/s)),o.push(h)}i=s,e=0,r="",t=o}return u1(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function SL(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class f1{}const AQ=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class kQ extends f1{normalizePropertyName(t,e){return a1(t)}normalizeStyleValue(t,e,i,r){let o="";const s=i.toString().trim();if(AQ.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function wK(n,t){return new J(3005,!1)}())}return s+o}}function EL(n,t,e,i,r,o,s,a,l,c,u,d,h){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const p1={};class xL{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return function NQ(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){let r=this._stateStyles.get("*");return void 0!==t&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,s,a,l,c,u){const d=[],h=this.ast.options&&this.ast.options.params||p1,p=this.buildStyles(i,a&&a.params||p1,d),m=l&&l.params||p1,g=this.buildStyles(r,m,d),y=new Set,w=new Map,T=new Map,v="void"===r,N={params:PQ(m,h),delay:this.ast.options?.delay},x=u?[]:d1(t,e,this.ast.animation,o,s,p,g,N,c,d);let ae=0;if(x.forEach(Pe=>{ae=Math.max(Pe.duration+Pe.delay,ae)}),d.length)return EL(e,this._triggerName,i,r,v,p,g,[],[],w,T,ae,d);x.forEach(Pe=>{const Ge=Pe.element,Tt=_o(w,Ge,new Set);Pe.preStyleProps.forEach(ut=>Tt.add(ut));const ht=_o(T,Ge,new Set);Pe.postStyleProps.forEach(ut=>ht.add(ut)),Ge!==e&&y.add(Ge)});const Z=mv(y.values());return EL(e,this._triggerName,i,r,v,p,g,x,Z,w,T,ae)}}function PQ(n,t){const e=Op(t);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(e[i]=n[i]);return e}class LQ{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i=new Map,r=Op(this.defaultParams);return Object.keys(t).forEach(o=>{const s=t[o];null!==s&&(r[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=kp(s,r,e));const l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(a,s)})}),i}}class FQ{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new LQ(r.style,r.options&&r.options.params||{},i))}),IL(this.states,"true","1"),IL(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new xL(t,r,this.states))}),this.fallbackTransition=function jQ(n,t,e){return new xL(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(s=>s.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function IL(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}const zQ=new Cv;class VQ{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const i=[],o=l1(this._driver,e,i,[]);if(i.length)throw function VK(n){return new J(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,e,i){const r=t.element,o=aL(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const r=[],o=this._animations.get(t);let s;const a=new Map;if(o?(s=d1(this._driver,e,o,n1,dv,new Map,new Map,i,zQ,r),s.forEach(u=>{const d=_o(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(r.push(function BK(){return new J(3300,!1)}()),s=[]),r.length)throw function UK(n){return new J(3504,!1)}();a.forEach((u,d)=>{u.forEach((h,f)=>{u.set(f,this._driver.computeStyle(d,f,ka))})});const c=yl(s.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function HK(n){return new J(3301,!1)}();return e}listen(t,e,i,r){const o=JD(e,"","","");return QD(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if("register"==i)return void this.register(t,r[0]);if("create"==i)return void this.create(t,e,r[0]||{});const o=this._getPlayer(t);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const OL="ng-animate-queued",m1="ng-animate-disabled",WQ=[],AL={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},GQ={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Fo="__ng_removed";class g1{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function QQ(n){return n??null}(i?t.value:t),i){const o=Op(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const Np="void",y1=new g1(Np);class YQ{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,jo(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw function $K(n,t){return new J(3302,!1)}();if(null==i||0==i.length)throw function WK(n){return new J(3303,!1)}();if(!function ZQ(n){return"start"==n||"done"==n}(i))throw function GK(n,t){return new J(3400,!1)}();const o=_o(this._elementListeners,t,[]),s={name:e,phase:i,callback:r};o.push(s);const a=_o(this._engine.statesByElement,t,new Map);return a.has(e)||(jo(t,hv),jo(t,hv+"-"+e),a.set(e,y1)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function YK(n){return new J(3401,!1)}();return e}trigger(t,e,i,r=!0){const o=this._getTrigger(e),s=new _1(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(jo(t,hv),jo(t,hv+"-"+e),this._engine.statesByElement.set(t,a=new Map));let l=a.get(e);const c=new g1(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=y1),c.value!==Np&&l.value===c.value){if(!function eZ(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r{zc(t,g),Fs(t,y)})}return}const h=_o(this._engine.playersByElement,t,[]);h.forEach(m=>{m.namespaceId==this.id&&m.triggerName==e&&m.queued&&m.destroy()});let f=o.matchTransition(l.value,c.value,t,c.params),p=!1;if(!f){if(!r)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(jo(t,OL),s.onStart(()=>{Zd(t,OL)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);const g=this._engine.playersByElement.get(t);if(g){let y=g.indexOf(s);y>=0&&g.splice(y,1)}}),this.players.push(s),h.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,fv,!0);i.forEach(r=>{if(r[Fo])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){const o=this._engine.statesByElement.get(t),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const u=this.trigger(t,c,Np,r);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),i&&yl(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const r=new Set;e.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||y1,u=new g1(Np),d=new _1(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let s=t;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{const o=t[Fo];(!o||o===AL)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){jo(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=JD(o,i.triggerName,i.fromState.value,i.toState.value);l._data=t,QD(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}}class qQ{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new YQ(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(t,e,i,r){if(Dv(e)){const o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!Dv(e))return;const o=e[Fo];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),jo(t,m1)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Zd(t,m1))}removeNode(t,e,i,r){if(Dv(e)){const o=t?this._fetchNamespace(t):null;if(o?o.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),i){const s=this.namespacesByHostElement.get(e);s&&s.id!==t&&s.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,i,r,o){this.collectedLeaveElements.push(e),e[Fo]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return Dv(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,fv,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,r1,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return yl(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[Fo];if(e&&e.setForRemoval){if(t[Fo]=AL,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(m1)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?yl(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw function qK(n){return new J(3402,!1)}()}_flushAnimations(t,e){const i=new Cv,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(de=>{u.add(de);const me=this.driver.query(de,".ng-animate-queued",!0);for(let be=0;be{const be=n1+m++;p.set(me,be),de.forEach(We=>jo(We,be))});const g=[],y=new Set,w=new Set;for(let de=0;dey.add(We)):w.add(me))}const T=new Map,v=PL(h,Array.from(y));v.forEach((de,me)=>{const be=dv+m++;T.set(me,be),de.forEach(We=>jo(We,be))}),t.push(()=>{f.forEach((de,me)=>{const be=p.get(me);de.forEach(We=>Zd(We,be))}),v.forEach((de,me)=>{const be=T.get(me);de.forEach(We=>Zd(We,be))}),g.forEach(de=>{this.processLeaveNode(de)})});const N=[],x=[];for(let de=this._namespaceList.length-1;de>=0;de--)this._namespaceList[de].drainQueuedTransitions(e).forEach(be=>{const We=be.player,Lt=be.element;if(N.push(We),this.collectedEnterElements.length){const An=Lt[Fo];if(An&&An.setForMove){if(An.previousTriggersValues&&An.previousTriggersValues.has(be.triggerName)){const Qt=An.previousTriggersValues.get(be.triggerName),mt=this.statesByElement.get(be.element);if(mt&&mt.has(be.triggerName)){const Un=mt.get(be.triggerName);Un.value=Qt,mt.set(be.triggerName,Un)}}return void We.destroy()}}const dn=!d||!this.driver.containsElement(d,Lt),Wt=T.get(Lt),On=p.get(Lt),zt=this._buildInstruction(be,i,On,Wt,dn);if(zt.errors&&zt.errors.length)return void x.push(zt);if(dn)return We.onStart(()=>zc(Lt,zt.fromStyles)),We.onDestroy(()=>Fs(Lt,zt.toStyles)),void r.push(We);if(be.isFallbackTransition)return We.onStart(()=>zc(Lt,zt.fromStyles)),We.onDestroy(()=>Fs(Lt,zt.toStyles)),void r.push(We);const tr=[];zt.timelines.forEach(An=>{An.stretchStartingKeyframe=!0,this.disabledNodes.has(An.element)||tr.push(An)}),zt.timelines=tr,i.append(Lt,zt.timelines),s.push({instruction:zt,player:We,element:Lt}),zt.queriedElements.forEach(An=>_o(a,An,[]).push(We)),zt.preStyleProps.forEach((An,Qt)=>{if(An.size){let mt=l.get(Qt);mt||l.set(Qt,mt=new Set),An.forEach((Un,Lr)=>mt.add(Lr))}}),zt.postStyleProps.forEach((An,Qt)=>{let mt=c.get(Qt);mt||c.set(Qt,mt=new Set),An.forEach((Un,Lr)=>mt.add(Lr))})});if(x.length){const de=[];x.forEach(me=>{de.push(function KK(n,t){return new J(3505,!1)}())}),N.forEach(me=>me.destroy()),this.reportError(de)}const ae=new Map,Z=new Map;s.forEach(de=>{const me=de.element;i.has(me)&&(Z.set(me,me),this._beforeAnimationBuild(de.player.namespaceId,de.instruction,ae))}),r.forEach(de=>{const me=de.element;this._getPreviousPlayers(me,!1,de.namespaceId,de.triggerName,null).forEach(We=>{_o(ae,me,[]).push(We),We.destroy()})});const Pe=g.filter(de=>RL(de,l,c)),Ge=new Map;NL(Ge,this.driver,w,c,ka).forEach(de=>{RL(de,l,c)&&Pe.push(de)});const ht=new Map;f.forEach((de,me)=>{NL(ht,this.driver,new Set(de),l,"!")}),Pe.forEach(de=>{const me=Ge.get(de),be=ht.get(de);Ge.set(de,new Map([...Array.from(me?.entries()??[]),...Array.from(be?.entries()??[])]))});const ut=[],vn=[],kt={};s.forEach(de=>{const{element:me,player:be,instruction:We}=de;if(i.has(me)){if(u.has(me))return be.onDestroy(()=>Fs(me,We.toStyles)),be.disabled=!0,be.overrideTotalTime(We.totalTime),void r.push(be);let Lt=kt;if(Z.size>1){let Wt=me;const On=[];for(;Wt=Wt.parentNode;){const zt=Z.get(Wt);if(zt){Lt=zt;break}On.push(Wt)}On.forEach(zt=>Z.set(zt,Lt))}const dn=this._buildAnimation(be.namespaceId,We,ae,o,ht,Ge);if(be.setRealPlayer(dn),Lt===kt)ut.push(be);else{const Wt=this.playersByElement.get(Lt);Wt&&Wt.length&&(be.parentPlayer=yl(Wt)),r.push(be)}}else zc(me,We.fromStyles),be.onDestroy(()=>Fs(me,We.toStyles)),vn.push(be),u.has(me)&&r.push(be)}),vn.forEach(de=>{const me=o.get(de.element);if(me&&me.length){const be=yl(me);de.setRealPlayer(be)}}),r.forEach(de=>{de.parentPlayer?de.syncPlayerEvents(de.parentPlayer):de.destroy()});for(let de=0;de!dn.destroyed);Lt.length?JQ(this,me,Lt):this.processLeaveNode(me)}return g.length=0,ut.forEach(de=>{this.players.push(de),de.onDone(()=>{de.destroy();const me=this.players.indexOf(de);this.players.splice(me,1)}),de.play()}),ut}elementContainsData(t,e){let i=!1;const r=e[Fo];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let s=[];if(e){const a=this.playersByQueriedElement.get(t);a&&(s=a)}else{const a=this.playersByElement.get(t);if(a){const l=!o||o==Np;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(t,e,i){const o=e.element,s=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,u=c!==o,d=_o(i,c,[]);this._getPreviousPlayers(c,u,s,a,e.toState).forEach(f=>{const p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),d.push(f)})}zc(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,s){const a=e.triggerName,l=e.element,c=[],u=new Set,d=new Set,h=e.timelines.map(p=>{const m=p.element;u.add(m);const g=m[Fo];if(g&&g.removedBeforeQueried)return new Ip(p.duration,p.delay);const y=m!==l,w=function XQ(n){const t=[];return LL(n,t),t}((i.get(m)||WQ).map(ae=>ae.getRealPlayer())).filter(ae=>!!ae.element&&ae.element===m),T=o.get(m),v=s.get(m),N=aL(0,this._normalizer,0,p.keyframes,T,v),x=this._buildPlayer(p,N,w);if(p.subTimeline&&r&&d.add(m),y){const ae=new _1(t,a,m);ae.setRealPlayer(x),c.push(ae)}return x});c.forEach(p=>{_o(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function KQ(n,t,e){let i=n.get(t);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&n.delete(t)}return i}(this.playersByQueriedElement,p.element,p))}),u.forEach(p=>jo(p,gL));const f=yl(h);return f.onDestroy(()=>{u.forEach(p=>Zd(p,gL)),Fs(l,e.toStyles)}),d.forEach(p=>{_o(r,p,[]).push(f)}),f}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new Ip(t.duration,t.delay)}}class _1{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new Ip,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>QD(t,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){_o(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Dv(n){return n&&1===n.nodeType}function kL(n,t){const e=n.style.display;return n.style.display=t??"none",e}function NL(n,t,e,i,r){const o=[];e.forEach(l=>o.push(kL(l)));const s=[];i.forEach((l,c)=>{const u=new Map;l.forEach(d=>{const h=t.computeStyle(c,d,r);u.set(d,h),(!h||0==h.length)&&(c[Fo]=GQ,s.push(c))}),n.set(c,u)});let a=0;return e.forEach(l=>kL(l,o[a++])),s}function PL(n,t){const e=new Map;if(n.forEach(a=>e.set(a,[])),0==t.length)return e;const r=new Set(t),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=e.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return t.forEach(a=>{const l=s(a);1!==l&&e.get(l).push(a)}),e}function jo(n,t){n.classList?.add(t)}function Zd(n,t){n.classList?.remove(t)}function JQ(n,t,e){yl(e).onDone(()=>n.processLeaveNode(t))}function LL(n,t){for(let e=0;er.add(o)):t.set(n,i),e.delete(n),!0}class Mv{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new qQ(t,e,i),this._timelineEngine=new VQ(t,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){const s=t+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],u=l1(this._driver,o,l,[]);if(l.length)throw function jK(n,t){return new J(3404,!1)}();a=function RQ(n,t,e){return new FQ(n,t,e)}(r,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i,r){this._transitionEngine.removeNode(t,e,r||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if("@"==i.charAt(0)){const[o,s]=lL(i);this._timelineEngine.command(o,e,s,r)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if("@"==i.charAt(0)){const[s,a]=lL(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(t,e,i,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let nZ=(()=>{class n{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Fs(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Fs(this._element,this._initialStyles),this._endStyles&&(Fs(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(zc(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(zc(this._element,this._endStyles),this._endStyles=null),Fs(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function v1(n){let t=null;return n.forEach((e,i)=>{(function iZ(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class FL{constructor(t,e,i,r){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&t.set(r,this._finished?i:wL(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class rZ{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return hL(t,e)}getParentElement(t){return e1(t)}query(t,e,i){return fL(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,u=s.filter(f=>f instanceof FL);(function lQ(n,t){return 0===n||0===t})(i,r)&&u.forEach(f=>{f.currentSnapshot.forEach((p,m)=>c.set(m,p))});let d=function rQ(n){return n.length?n[0]instanceof Map?n:n.map(t=>yL(t)):[]}(e).map(f=>_l(f));d=function cQ(n,t,e){if(e.size&&t.length){let i=t[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;os.set(a,wL(n,a)))}}return t}(t,d,c);const h=function tZ(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=v1(t[0]),t.length>1&&(i=v1(t[t.length-1]))):t instanceof Map&&(e=v1(t)),e||i?new nZ(n,e,i):null}(t,d);return new FL(t,d,l,h)}}let oZ=(()=>{class n extends tL{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:oe.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?nL(e):e;return jL(this._renderer,null,i,"register",[r]),new sZ(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(F(Kf),F(jn))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();class sZ extends mK{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new aZ(this._id,t,e||{},this._renderer)}}class aZ{constructor(t,e,i,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return jL(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function jL(n,t,e,i,r){return n.setProperty(t,`@@${e}:${i}`,r)}const zL="@.disabled";let lZ=(()=>{class n{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,s)=>{const a=s?.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(e,i){const o=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let u=this._rendererCache.get(o);return u||(u=new VL("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,u)),u}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=u=>{Array.isArray(u)?u.forEach(l):this.engine.registerTrigger(s,a,e,u.name,u)};return i.data.animation.forEach(l),new cZ(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){e>=0&&ei(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(F(Kf),F(Mv),F(Yt))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();class VL{constructor(t,e,i,r){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==zL?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class cZ extends VL{constructor(t,e,i,r,o){super(e,i,r,o),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==zL?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const r=function uZ(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let o=e.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function dZ(n){const t=n.indexOf(".");return[n.substring(0,t),n.slice(t+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(t,e,i)}}let hZ=(()=>{class n extends Mv{constructor(e,i,r,o){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(F(jn),F(t1),F(f1),F(Oc))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();const BL=[{provide:tL,useClass:oZ},{provide:f1,useFactory:function fZ(){return new kQ}},{provide:Mv,useClass:hZ},{provide:Kf,useFactory:function pZ(n,t,e){return new lZ(n,t,e)},deps:[z_,Mv,Yt]}],b1=[{provide:t1,useFactory:()=>new rZ},{provide:hN,useValue:"BrowserAnimations"},...BL],UL=[{provide:t1,useClass:pL},{provide:hN,useValue:"NoopAnimations"},...BL];let mZ=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?UL:b1}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({providers:b1,imports:[k2]}),n})();class wt{static equals(t,e,i){return i?this.resolveFieldData(t,i)===this.resolveFieldData(e,i):this.equalsByValue(t,e)}static equalsByValue(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){var o,s,a,i=Array.isArray(t),r=Array.isArray(e);if(i&&r){if((s=t.length)!=e.length)return!1;for(o=s;0!=o--;)if(!this.equalsByValue(t[o],e[o]))return!1;return!0}if(i!=r)return!1;var l=t instanceof Date,c=e instanceof Date;if(l!=c)return!1;if(l&&c)return t.getTime()==e.getTime();var u=t instanceof RegExp,d=e instanceof RegExp;if(u!=d)return!1;if(u&&d)return t.toString()==e.toString();var h=Object.keys(t);if((s=h.length)!==Object.keys(e).length)return!1;for(o=s;0!=o--;)if(!Object.prototype.hasOwnProperty.call(e,h[o]))return!1;for(o=s;0!=o--;)if(!this.equalsByValue(t[a=h[o]],e[a]))return!1;return!0}return t!=t&&e!=e}static resolveFieldData(t,e){if(t&&e){if(this.isFunction(e))return e(t);if(-1==e.indexOf("."))return t[e];{let i=e.split("."),r=t;for(let o=0,s=i.length;o=t.length&&(i%=t.length,e%=t.length),t.splice(i,0,t.splice(e,1)[0]))}static insertIntoOrderedArray(t,e,i,r){if(i.length>0){let o=!1;for(let s=0;se){i.splice(s,0,t),o=!0;break}o||i.push(t)}else i.push(t)}static findIndexInList(t,e){let i=-1;if(e)for(let r=0;r-1&&(t=t.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),t}static isEmpty(t){return null==t||""===t||Array.isArray(t)&&0===t.length||!(t instanceof Date)&&"object"==typeof t&&0===Object.keys(t).length}static isNotEmpty(t){return!this.isEmpty(t)}static compare(t,e,i,r=1){let o=-1;const s=this.isEmpty(t),a=this.isEmpty(e);return o=s&&a?0:s?r:a?-r:"string"==typeof t&&"string"==typeof e?t.localeCompare(e,i,{numeric:!0}):te?1:0,o}static sort(t,e,i=1,r,o=1){return(1===o?i:o)*wt.compare(t,e,r,i)}static merge(t,e){if(null!=t||null!=e)return null!=t&&"object"!=typeof t||null!=e&&"object"!=typeof e?null!=t&&"string"!=typeof t||null!=e&&"string"!=typeof e?e||t:[t||"",e||""].join(" "):{...t||{},...e||{}}}}var HL=0;function C1(){return"pr_id_"+ ++HL}var vl=function gZ(){let n=[];const r=o=>o&&parseInt(o.style.zIndex,10)||0;return{get:r,set:(o,s,a)=>{s&&(s.style.zIndex=String(((o,s)=>{let a=n.length>0?n[n.length-1]:{key:o,value:s},l=a.value+(a.key===o?0:s)+1;return n.push({key:o,value:l}),l})(o,a)))},clear:o=>{o&&((o=>{n=n.filter(s=>s.value!==o)})(r(o)),o.style.zIndex="")},getCurrent:()=>n.length>0?n[n.length-1].value:0}}();const $L=["*"];let WL=(()=>{class n{constructor(){this.requireConfirmationSource=new ue,this.acceptConfirmationSource=new ue,this.requireConfirmation$=this.requireConfirmationSource.asObservable(),this.accept=this.acceptConfirmationSource.asObservable()}confirm(e){return this.requireConfirmationSource.next(e),this}close(){return this.requireConfirmationSource.next(null),this}onAccept(){this.acceptConfirmationSource.next(null)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})(),dr=(()=>{class n{}return n.STARTS_WITH="startsWith",n.CONTAINS="contains",n.NOT_CONTAINS="notContains",n.ENDS_WITH="endsWith",n.EQUALS="equals",n.NOT_EQUALS="notEquals",n.IN="in",n.LESS_THAN="lt",n.LESS_THAN_OR_EQUAL_TO="lte",n.GREATER_THAN="gt",n.GREATER_THAN_OR_EQUAL_TO="gte",n.BETWEEN="between",n.IS="is",n.IS_NOT="isNot",n.BEFORE="before",n.AFTER="after",n.DATE_IS="dateIs",n.DATE_IS_NOT="dateIsNot",n.DATE_BEFORE="dateBefore",n.DATE_AFTER="dateAfter",n})(),GL=(()=>{class n{constructor(){this.filters={startsWith:(e,i,r)=>{if(null==i||""===i.trim())return!0;if(null==e)return!1;let o=wt.removeAccents(i.toString()).toLocaleLowerCase(r);return wt.removeAccents(e.toString()).toLocaleLowerCase(r).slice(0,o.length)===o},contains:(e,i,r)=>{if(null==i||"string"==typeof i&&""===i.trim())return!0;if(null==e)return!1;let o=wt.removeAccents(i.toString()).toLocaleLowerCase(r);return-1!==wt.removeAccents(e.toString()).toLocaleLowerCase(r).indexOf(o)},notContains:(e,i,r)=>{if(null==i||"string"==typeof i&&""===i.trim())return!0;if(null==e)return!1;let o=wt.removeAccents(i.toString()).toLocaleLowerCase(r);return-1===wt.removeAccents(e.toString()).toLocaleLowerCase(r).indexOf(o)},endsWith:(e,i,r)=>{if(null==i||""===i.trim())return!0;if(null==e)return!1;let o=wt.removeAccents(i.toString()).toLocaleLowerCase(r),s=wt.removeAccents(e.toString()).toLocaleLowerCase(r);return-1!==s.indexOf(o,s.length-o.length)},equals:(e,i,r)=>null==i||"string"==typeof i&&""===i.trim()||null!=e&&(e.getTime&&i.getTime?e.getTime()===i.getTime():wt.removeAccents(e.toString()).toLocaleLowerCase(r)==wt.removeAccents(i.toString()).toLocaleLowerCase(r)),notEquals:(e,i,r)=>!(null==i||"string"==typeof i&&""===i.trim()||null!=e&&(e.getTime&&i.getTime?e.getTime()===i.getTime():wt.removeAccents(e.toString()).toLocaleLowerCase(r)==wt.removeAccents(i.toString()).toLocaleLowerCase(r))),in:(e,i)=>{if(null==i||0===i.length)return!0;for(let r=0;rnull==i||null==i[0]||null==i[1]||null!=e&&(e.getTime?i[0].getTime()<=e.getTime()&&e.getTime()<=i[1].getTime():i[0]<=e&&e<=i[1]),lt:(e,i,r)=>null==i||null!=e&&(e.getTime&&i.getTime?e.getTime()null==i||null!=e&&(e.getTime&&i.getTime?e.getTime()<=i.getTime():e<=i),gt:(e,i,r)=>null==i||null!=e&&(e.getTime&&i.getTime?e.getTime()>i.getTime():e>i),gte:(e,i,r)=>null==i||null!=e&&(e.getTime&&i.getTime?e.getTime()>=i.getTime():e>=i),is:(e,i,r)=>this.filters.equals(e,i,r),isNot:(e,i,r)=>this.filters.notEquals(e,i,r),before:(e,i,r)=>this.filters.lt(e,i,r),after:(e,i,r)=>this.filters.gt(e,i,r),dateIs:(e,i)=>null==i||null!=e&&e.toDateString()===i.toDateString(),dateIsNot:(e,i)=>null==i||null!=e&&e.toDateString()!==i.toDateString(),dateBefore:(e,i)=>null==i||null!=e&&e.getTime()null==i||null!=e&&e.getTime()>i.getTime()}}filter(e,i,r,o,s){let a=[];if(e)for(let l of e)for(let c of i){let u=wt.resolveFieldData(l,c);if(this.filters[o](u,r,s)){a.push(l);break}}return a}register(e,i){this.filters[e]=i}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),yZ=(()=>{class n{constructor(){this.messageSource=new ue,this.clearSource=new ue,this.messageObserver=this.messageSource.asObservable(),this.clearObserver=this.clearSource.asObservable()}add(e){e&&this.messageSource.next(e)}addAll(e){e&&e.length&&this.messageSource.next(e)}clear(e){this.clearSource.next(e||null)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})(),YL=(()=>{class n{constructor(){this.clickSource=new ue,this.clickObservable=this.clickSource.asObservable()}add(e){e&&this.clickSource.next(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),bl=(()=>{class n{constructor(){this.ripple=!1,this.overlayOptions={},this.filterMatchModeOptions={text:[dr.STARTS_WITH,dr.CONTAINS,dr.NOT_CONTAINS,dr.ENDS_WITH,dr.EQUALS,dr.NOT_EQUALS],numeric:[dr.EQUALS,dr.NOT_EQUALS,dr.LESS_THAN,dr.LESS_THAN_OR_EQUAL_TO,dr.GREATER_THAN,dr.GREATER_THAN_OR_EQUAL_TO],date:[dr.DATE_IS,dr.DATE_IS_NOT,dr.DATE_BEFORE,dr.DATE_AFTER]},this.translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",emptyFilterMessage:"No results found"},this.zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100},this.translationSource=new ue,this.translationObserver=this.translationSource.asObservable()}getTranslation(e){return this.translation[e]}setTranslation(e){this.translation={...this.translation,...e},this.translationSource.next(this.translation)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),w1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=we({type:n,selectors:[["p-header"]],ngContentSelectors:$L,decls:1,vars:0,template:function(e,i){1&e&&($r(),Ii(0))},encapsulation:2}),n})(),T1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=we({type:n,selectors:[["p-footer"]],ngContentSelectors:$L,decls:1,vars:0,template:function(e,i){1&e&&($r(),Ii(0))},encapsulation:2}),n})(),Pi=(()=>{class n{constructor(e){this.template=e}getType(){return this.name}}return n.\u0275fac=function(e){return new(e||n)(I(No))},n.\u0275dir=Ce({type:n,selectors:[["","pTemplate",""]],inputs:{type:"type",name:["pTemplate","name"]}}),n})(),zo=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})(),Cl=(()=>{class n{}return n.STARTS_WITH="startsWith",n.CONTAINS="contains",n.NOT_CONTAINS="notContains",n.ENDS_WITH="endsWith",n.EQUALS="equals",n.NOT_EQUALS="notEquals",n.NO_FILTER="noFilter",n.LT="lt",n.LTE="lte",n.GT="gt",n.GTE="gte",n.IS="is",n.IS_NOT="isNot",n.BEFORE="before",n.AFTER="after",n.CLEAR="clear",n.APPLY="apply",n.MATCH_ALL="matchAll",n.MATCH_ANY="matchAny",n.ADD_RULE="addRule",n.REMOVE_RULE="removeRule",n.ACCEPT="accept",n.REJECT="reject",n.CHOOSE="choose",n.UPLOAD="upload",n.CANCEL="cancel",n.DAY_NAMES="dayNames",n.DAY_NAMES_SHORT="dayNamesShort",n.DAY_NAMES_MIN="dayNamesMin",n.MONTH_NAMES="monthNames",n.MONTH_NAMES_SHORT="monthNamesShort",n.FIRST_DAY_OF_WEEK="firstDayOfWeek",n.TODAY="today",n.WEEK_HEADER="weekHeader",n.WEAK="weak",n.MEDIUM="medium",n.STRONG="strong",n.PASSWORD_PROMPT="passwordPrompt",n.EMPTY_MESSAGE="emptyMessage",n.EMPTY_FILTER_MESSAGE="emptyFilterMessage",n})(),q=(()=>{class n{static addClass(e,i){e&&i&&(e.classList?e.classList.add(i):e.className+=" "+i)}static addMultipleClasses(e,i){if(e&&i)if(e.classList){let r=i.trim().split(" ");for(let o=0;o{if(m)return"relative"===getComputedStyle(m).getPropertyValue("position")?m:r(m.parentElement)},o=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),s=i.offsetHeight,a=i.getBoundingClientRect(),l=this.getWindowScrollTop(),c=this.getWindowScrollLeft(),u=this.getViewport(),h=r(e)?.getBoundingClientRect()||{top:-1*l,left:-1*c};let f,p;a.top+s+o.height>u.height?(f=a.top-h.top-o.height,e.style.transformOrigin="bottom",a.top+f<0&&(f=-1*a.top)):(f=s+a.top-h.top,e.style.transformOrigin="top"),p=o.width>u.width?-1*(a.left-h.left):a.left-h.left+o.width>u.width?-1*(a.left-h.left+o.width-u.width):a.left-h.left,e.style.top=f+"px",e.style.left=p+"px"}static absolutePosition(e,i){const r=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),o=r.height,s=r.width,a=i.offsetHeight,l=i.offsetWidth,c=i.getBoundingClientRect(),u=this.getWindowScrollTop(),d=this.getWindowScrollLeft(),h=this.getViewport();let f,p;c.top+a+o>h.height?(f=c.top+u-o,e.style.transformOrigin="bottom",f<0&&(f=u)):(f=a+c.top+u,e.style.transformOrigin="top"),p=c.left+s>h.width?Math.max(0,c.left+d+l-s):c.left+d,e.style.top=f+"px",e.style.left=p+"px"}static getParents(e,i=[]){return null===e.parentNode?i:this.getParents(e.parentNode,i.concat([e.parentNode]))}static getScrollableParents(e){let i=[];if(e){let r=this.getParents(e);const o=/(auto|scroll)/,s=a=>{let l=window.getComputedStyle(a,null);return o.test(l.getPropertyValue("overflow"))||o.test(l.getPropertyValue("overflowX"))||o.test(l.getPropertyValue("overflowY"))};for(let a of r){let l=1===a.nodeType&&a.dataset.scrollselectors;if(l){let c=l.split(",");for(let u of c){let d=this.findSingle(a,u);d&&s(d)&&i.push(d)}}9!==a.nodeType&&s(a)&&i.push(a)}}return i}static getHiddenElementOuterHeight(e){e.style.visibility="hidden",e.style.display="block";let i=e.offsetHeight;return e.style.display="none",e.style.visibility="visible",i}static getHiddenElementOuterWidth(e){e.style.visibility="hidden",e.style.display="block";let i=e.offsetWidth;return e.style.display="none",e.style.visibility="visible",i}static getHiddenElementDimensions(e){let i={};return e.style.visibility="hidden",e.style.display="block",i.width=e.offsetWidth,i.height=e.offsetHeight,e.style.display="none",e.style.visibility="visible",i}static scrollInView(e,i){let r=getComputedStyle(e).getPropertyValue("borderTopWidth"),o=r?parseFloat(r):0,s=getComputedStyle(e).getPropertyValue("paddingTop"),a=s?parseFloat(s):0,l=e.getBoundingClientRect(),u=i.getBoundingClientRect().top+document.body.scrollTop-(l.top+document.body.scrollTop)-o-a,d=e.scrollTop,h=e.clientHeight,f=this.getOuterHeight(i);u<0?e.scrollTop=d+u:u+f>h&&(e.scrollTop=d+u-h+f)}static fadeIn(e,i){e.style.opacity=0;let r=+new Date,o=0,s=function(){o=+e.style.opacity.replace(",",".")+((new Date).getTime()-r)/i,e.style.opacity=o,r=+new Date,+o<1&&(window.requestAnimationFrame&&requestAnimationFrame(s)||setTimeout(s,16))};s()}static fadeOut(e,i){var r=1,a=50/i;let l=setInterval(()=>{(r-=a)<=0&&(r=0,clearInterval(l)),e.style.opacity=r},50)}static getWindowScrollTop(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}static getWindowScrollLeft(){let e=document.documentElement;return(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}static matches(e,i){var r=Element.prototype;return(r.matches||r.webkitMatchesSelector||r.mozMatchesSelector||r.msMatchesSelector||function(s){return-1!==[].indexOf.call(document.querySelectorAll(s),this)}).call(e,i)}static getOuterWidth(e,i){let r=e.offsetWidth;if(i){let o=getComputedStyle(e);r+=parseFloat(o.marginLeft)+parseFloat(o.marginRight)}return r}static getHorizontalPadding(e){let i=getComputedStyle(e);return parseFloat(i.paddingLeft)+parseFloat(i.paddingRight)}static getHorizontalMargin(e){let i=getComputedStyle(e);return parseFloat(i.marginLeft)+parseFloat(i.marginRight)}static innerWidth(e){let i=e.offsetWidth,r=getComputedStyle(e);return i+=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight),i}static width(e){let i=e.offsetWidth,r=getComputedStyle(e);return i-=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight),i}static getInnerHeight(e){let i=e.offsetHeight,r=getComputedStyle(e);return i+=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom),i}static getOuterHeight(e,i){let r=e.offsetHeight;if(i){let o=getComputedStyle(e);r+=parseFloat(o.marginTop)+parseFloat(o.marginBottom)}return r}static getHeight(e){let i=e.offsetHeight,r=getComputedStyle(e);return i-=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom)+parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth),i}static getWidth(e){let i=e.offsetWidth,r=getComputedStyle(e);return i-=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight)+parseFloat(r.borderLeftWidth)+parseFloat(r.borderRightWidth),i}static getViewport(){let e=window,i=document,r=i.documentElement,o=i.getElementsByTagName("body")[0];return{width:e.innerWidth||r.clientWidth||o.clientWidth,height:e.innerHeight||r.clientHeight||o.clientHeight}}static getOffset(e){var i=e.getBoundingClientRect();return{top:i.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:i.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(e,i){let r=e.parentNode;if(!r)throw"Can't replace element";return r.replaceChild(i,e)}static getUserAgent(){return navigator.userAgent}static isIE(){var e=window.navigator.userAgent;return e.indexOf("MSIE ")>0||(e.indexOf("Trident/")>0?(e.indexOf("rv:"),!0):e.indexOf("Edge/")>0)}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(e,i){if(this.isElement(i))i.appendChild(e);else{if(!i.el||!i.el.nativeElement)throw"Cannot append "+i+" to "+e;i.el.nativeElement.appendChild(e)}}static removeChild(e,i){if(this.isElement(i))i.removeChild(e);else{if(!i.el||!i.el.nativeElement)throw"Cannot remove "+e+" from "+i;i.el.nativeElement.removeChild(e)}}static removeElement(e){"remove"in Element.prototype?e.remove():e.parentNode.removeChild(e)}static isElement(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName}static calculateScrollbarWidth(e){if(e){let i=getComputedStyle(e);return e.offsetWidth-e.clientWidth-parseFloat(i.borderLeftWidth)-parseFloat(i.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let i=document.createElement("div");i.className="p-scrollbar-measure",document.body.appendChild(i);let r=i.offsetWidth-i.clientWidth;return document.body.removeChild(i),this.calculatedScrollbarWidth=r,r}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let e=document.createElement("div");e.className="p-scrollbar-measure",document.body.appendChild(e);let i=e.offsetHeight-e.clientHeight;return document.body.removeChild(e),this.calculatedScrollbarWidth=i,i}static invokeElementMethod(e,i,r){e[i].apply(e,r)}static clearSelection(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let e=this.resolveUserAgent();this.browser={},e.browser&&(this.browser[e.browser]=!0,this.browser.version=e.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let e=navigator.userAgent.toLowerCase(),i=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:i[1]||"",version:i[2]||"0"}}static isInteger(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}static isHidden(e){return!e||null===e.offsetParent}static isVisible(e){return e&&null!=e.offsetParent}static isExist(e){return null!==e&&typeof e<"u"&&e.nodeName&&e.parentNode}static focus(e,i){e&&document.activeElement!==e&&e.focus(i)}static getFocusableElements(e){let i=n.find(e,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]):not(.p-disabled)'),r=[];for(let o of i)(o.offsetWidth||o.offsetHeight||o.getClientRects().length)&&r.push(o);return r}static getNextFocusableElement(e,i=!1){const r=n.getFocusableElements(e);let o=0;if(r&&r.length>0){const s=r.indexOf(r[0].ownerDocument.activeElement);i?o=-1==s||0===s?r.length-1:s-1:-1!=s&&s!==r.length-1&&(o=s+1)}return r[o]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null}static getTargetElement(e,i){if(!e)return null;switch(e){case"document":return document;case"window":return window;case"@next":return i?.nextElementSibling;case"@prev":return i?.previousElementSibling;case"@parent":return i?.parentElement;case"@grandparent":return i?.parentElement.parentElement;default:const r=typeof e;if("string"===r)return document.querySelector(e);if("object"===r&&e.hasOwnProperty("nativeElement"))return this.isExist(e.nativeElement)?e.nativeElement:void 0;const s=(a=e)&&a.constructor&&a.call&&a.apply?e():e;return s&&9===s.nodeType||this.isExist(s)?s:null}var a}}return n.zindex=1e3,n.calculatedScrollbarWidth=null,n.calculatedScrollbarHeight=null,n})();class qL{constructor(t,e=(()=>{})){this.element=t,this.listener=e}bindScrollListener(){this.scrollableParents=q.getScrollableParents(this.element);for(let t=0;t{class n{constructor(e,i,r){this.el=e,this.zone=i,this.config=r}ngAfterViewInit(){this.config&&this.config.ripple&&this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.onMouseDown.bind(this),this.el.nativeElement.addEventListener("mousedown",this.mouseDownListener)})}onMouseDown(e){let i=this.getInk();if(!i||"none"===getComputedStyle(i,null).display)return;if(q.removeClass(i,"p-ink-active"),!q.getHeight(i)&&!q.getWidth(i)){let a=Math.max(q.getOuterWidth(this.el.nativeElement),q.getOuterHeight(this.el.nativeElement));i.style.height=a+"px",i.style.width=a+"px"}let r=q.getOffset(this.el.nativeElement),o=e.pageX-r.left+document.body.scrollTop-q.getWidth(i)/2,s=e.pageY-r.top+document.body.scrollLeft-q.getHeight(i)/2;i.style.top=s+"px",i.style.left=o+"px",q.addClass(i,"p-ink-active"),this.timeout=setTimeout(()=>{let a=this.getInk();a&&q.removeClass(a,"p-ink-active")},401)}getInk(){const e=this.el.nativeElement.children;for(let i=0;i{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})();const _Z=["headerchkbox"],vZ=["filter"];function bZ(n,t){1&n&&Je(0)}function CZ(n,t){if(1&n&&(S(0,"div",7),Ii(1),D(2,bZ,1,0,"ng-container",8),E()),2&n){const e=C();b(2),_("ngTemplateOutlet",e.headerTemplate)}}const KL=function(n){return{"p-checkbox-disabled":n}},wZ=function(n,t,e){return{"p-highlight":n,"p-focus":t,"p-disabled":e}},QL=function(n){return{"pi pi-check":n}};function TZ(n,t){if(1&n){const e=Ne();S(0,"div",12)(1,"div",13)(2,"input",14),se("focus",function(){return ee(e),te(C(2).onHeaderCheckboxFocus())})("blur",function(){return ee(e),te(C(2).onHeaderCheckboxBlur())})("keydown.space",function(r){return ee(e),te(C(2).toggleAll(r))}),E()(),S(3,"div",15,16),se("click",function(r){return ee(e),te(C(2).toggleAll(r))}),_e(5,"span",17),E()()}if(2&n){const e=C(2);_("ngClass",tt(5,KL,e.disabled||e.toggleAllDisabled)),b(2),_("checked",e.allChecked)("disabled",e.disabled||e.toggleAllDisabled),b(1),_("ngClass",ul(7,wZ,e.allChecked,e.headerCheckboxFocus,e.disabled||e.toggleAllDisabled)),b(2),_("ngClass",tt(11,QL,e.allChecked))}}function DZ(n,t){1&n&&Je(0)}const MZ=function(n){return{options:n}};function SZ(n,t){if(1&n&&(it(0),D(1,DZ,1,0,"ng-container",18),rt()),2&n){const e=C(2);b(1),_("ngTemplateOutlet",e.filterTemplate)("ngTemplateOutletContext",tt(2,MZ,e.filterOptions))}}function EZ(n,t){if(1&n){const e=Ne();S(0,"div",20)(1,"input",21,22),se("input",function(r){return ee(e),te(C(3).onFilter(r))}),E(),_e(3,"span",23),E()}if(2&n){const e=C(3);b(1),_("value",e.filterValue||"")("disabled",e.disabled),bt("placeholder",e.filterPlaceHolder)("aria-label",e.ariaFilterLabel)}}function xZ(n,t){1&n&&D(0,EZ,4,4,"div",19),2&n&&_("ngIf",C(2).filter)}function IZ(n,t){if(1&n&&(S(0,"div",7),D(1,TZ,6,13,"div",9),D(2,SZ,2,4,"ng-container",10),D(3,xZ,1,1,"ng-template",null,11,Mn),E()),2&n){const e=Bt(4),i=C();b(1),_("ngIf",i.checkbox&&i.multiple&&i.showToggleAll),b(1),_("ngIf",i.filterTemplate)("ngIfElse",e)}}function OZ(n,t){if(1&n&&(S(0,"span"),Se(1),E()),2&n){const e=C().$implicit,i=C(2);b(1),Ct(i.getOptionGroupLabel(e)||"empty")}}function AZ(n,t){1&n&&Je(0)}function kZ(n,t){1&n&&Je(0)}const D1=function(n){return{$implicit:n}};function NZ(n,t){if(1&n&&(S(0,"li",25),D(1,OZ,2,1,"span",3),D(2,AZ,1,0,"ng-container",18),E(),D(3,kZ,1,0,"ng-container",18)),2&n){const e=t.$implicit,i=C(2),r=Bt(8);b(1),_("ngIf",!i.groupTemplate),b(1),_("ngTemplateOutlet",i.groupTemplate)("ngTemplateOutletContext",tt(5,D1,e)),b(1),_("ngTemplateOutlet",r)("ngTemplateOutletContext",tt(7,D1,i.getOptionGroupChildren(e)))}}function PZ(n,t){if(1&n&&(it(0),D(1,NZ,4,9,"ng-template",24),rt()),2&n){const e=C();b(1),_("ngForOf",e.optionsToRender)}}function LZ(n,t){1&n&&Je(0)}function RZ(n,t){if(1&n&&(it(0),D(1,LZ,1,0,"ng-container",18),rt()),2&n){const e=C(),i=Bt(8);b(1),_("ngTemplateOutlet",i)("ngTemplateOutletContext",tt(2,D1,e.optionsToRender))}}const FZ=function(n){return{"p-highlight":n}};function jZ(n,t){if(1&n&&(S(0,"div",12)(1,"div",28),_e(2,"span",17),E()()),2&n){const e=C().$implicit,i=C(2);_("ngClass",tt(3,KL,i.disabled||i.isOptionDisabled(e))),b(1),_("ngClass",tt(5,FZ,i.isSelected(e))),b(1),_("ngClass",tt(7,QL,i.isSelected(e)))}}function zZ(n,t){if(1&n&&(S(0,"span"),Se(1),E()),2&n){const e=C().$implicit,i=C(2);b(1),Ct(i.getOptionLabel(e))}}function VZ(n,t){1&n&&Je(0)}const BZ=function(n,t){return{"p-listbox-item":!0,"p-highlight":n,"p-disabled":t}},UZ=function(n,t){return{$implicit:n,index:t}};function HZ(n,t){if(1&n){const e=Ne();S(0,"li",27),se("click",function(r){const s=ee(e).$implicit;return te(C(2).onOptionClick(r,s))})("dblclick",function(r){const s=ee(e).$implicit;return te(C(2).onOptionDoubleClick(r,s))})("touchend",function(){const o=ee(e).$implicit;return te(C(2).onOptionTouchEnd(o))})("keydown",function(r){const s=ee(e).$implicit;return te(C(2).onOptionKeyDown(r,s))}),D(1,jZ,3,9,"div",9),D(2,zZ,2,1,"span",3),D(3,VZ,1,0,"ng-container",18),E()}if(2&n){const e=t.$implicit,i=t.index,r=C(2);_("ngClass",Fn(8,BZ,r.isSelected(e),r.isOptionDisabled(e))),bt("tabindex",r.disabled||r.isOptionDisabled(e)?null:"0")("aria-label",r.getOptionLabel(e))("aria-selected",r.isSelected(e)),b(1),_("ngIf",r.checkbox&&r.multiple),b(1),_("ngIf",!r.itemTemplate),b(1),_("ngTemplateOutlet",r.itemTemplate)("ngTemplateOutletContext",Fn(11,UZ,e,i))}}function $Z(n,t){1&n&&D(0,HZ,4,14,"li",26),2&n&&_("ngForOf",t.$implicit)}function WZ(n,t){if(1&n&&(it(0),Se(1),rt()),2&n){const e=C(2);b(1),bi(" ",e.emptyFilterMessageLabel," ")}}function GZ(n,t){1&n&&Je(0,null,30)}function YZ(n,t){if(1&n&&(S(0,"li",29),D(1,WZ,2,1,"ng-container",10),D(2,GZ,2,0,"ng-container",8),E()),2&n){const e=C();b(1),_("ngIf",!e.emptyFilterTemplate&&!e.emptyTemplate)("ngIfElse",e.emptyFilter),b(1),_("ngTemplateOutlet",e.emptyFilterTemplate||e.emptyTemplate)}}function qZ(n,t){if(1&n&&(it(0),Se(1),rt()),2&n){const e=C(2);b(1),bi(" ",e.emptyMessageLabel," ")}}function KZ(n,t){1&n&&Je(0,null,31)}function QZ(n,t){if(1&n&&(S(0,"li",29),D(1,qZ,2,1,"ng-container",10),D(2,KZ,2,0,"ng-container",8),E()),2&n){const e=C();b(1),_("ngIf",!e.emptyTemplate)("ngIfElse",e.empty),b(1),_("ngTemplateOutlet",e.emptyTemplate)}}function ZZ(n,t){1&n&&Je(0)}function JZ(n,t){if(1&n&&(S(0,"div",32),Ii(1,1),D(2,ZZ,1,0,"ng-container",8),E()),2&n){const e=C();b(2),_("ngTemplateOutlet",e.footerTemplate)}}const XZ=[[["p-header"]],[["p-footer"]]],eJ=function(n){return{"p-listbox p-component":!0,"p-disabled":n}},tJ=["p-header","p-footer"],nJ={provide:Qi,useExisting:Ft(()=>ZL),multi:!0};let ZL=(()=>{class n{constructor(e,i,r,o){this.el=e,this.cd=i,this.filterService=r,this.config=o,this.checkbox=!1,this.filter=!1,this.filterMatchMode="contains",this.metaKeySelection=!0,this.showToggleAll=!0,this.optionGroupChildren="items",this.onChange=new Q,this.onClick=new Q,this.onDblClick=new Q,this.onModelChange=()=>{},this.onModelTouched=()=>{}}get options(){return this._options}set options(e){this._options=e,this.hasFilter()&&this.activateFilter()}get filterValue(){return this._filterValue}set filterValue(e){this._filterValue=e,this.activateFilter()}ngOnInit(){this.translationSubscription=this.config.translationObserver.subscribe(()=>{this.cd.markForCheck()}),this.filterBy&&(this.filterOptions={filter:e=>this.onFilter(e),reset:()=>this.resetFilter()})}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"item":default:this.itemTemplate=e.template;break;case"group":this.groupTemplate=e.template;break;case"header":this.headerTemplate=e.template;break;case"filter":this.filterTemplate=e.template;break;case"footer":this.footerTemplate=e.template;break;case"empty":this.emptyTemplate=e.template;break;case"emptyfilter":this.emptyFilterTemplate=e.template}})}getOptionLabel(e){return this.optionLabel?wt.resolveFieldData(e,this.optionLabel):null!=e.label?e.label:e}getOptionGroupChildren(e){return this.optionGroupChildren?wt.resolveFieldData(e,this.optionGroupChildren):e.items}getOptionGroupLabel(e){return this.optionGroupLabel?wt.resolveFieldData(e,this.optionGroupLabel):null!=e.label?e.label:e}getOptionValue(e){return this.optionValue?wt.resolveFieldData(e,this.optionValue):this.optionLabel||void 0===e.value?e:e.value}isOptionDisabled(e){return this.optionDisabled?wt.resolveFieldData(e,this.optionDisabled):void 0!==e.disabled&&e.disabled}writeValue(e){this.value=e,this.cd.markForCheck()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}onOptionClick(e,i){this.disabled||this.isOptionDisabled(i)||this.readonly||(this.multiple?this.checkbox?this.onOptionClickCheckbox(e,i):this.onOptionClickMultiple(e,i):this.onOptionClickSingle(e,i),this.onClick.emit({originalEvent:e,option:i,value:this.value}),this.optionTouched=!1)}onOptionTouchEnd(e){this.disabled||this.isOptionDisabled(e)||this.readonly||(this.optionTouched=!0)}onOptionDoubleClick(e,i){this.disabled||this.isOptionDisabled(i)||this.readonly||this.onDblClick.emit({originalEvent:e,option:i,value:this.value})}onOptionClickSingle(e,i){let r=this.isSelected(i),o=!1;!this.optionTouched&&this.metaKeySelection?r?(e.metaKey||e.ctrlKey)&&(this.value=null,o=!0):(this.value=this.getOptionValue(i),o=!0):(this.value=r?null:this.getOptionValue(i),o=!0),o&&(this.onModelChange(this.value),this.onChange.emit({originalEvent:e,value:this.value}))}onOptionClickMultiple(e,i){let r=this.isSelected(i),o=!1;if(!this.optionTouched&&this.metaKeySelection){let a=e.metaKey||e.ctrlKey;r?(a?this.removeOption(i):this.value=[this.getOptionValue(i)],o=!0):(this.value=a&&this.value||[],this.value=[...this.value,this.getOptionValue(i)],o=!0)}else r?this.removeOption(i):this.value=[...this.value||[],this.getOptionValue(i)],o=!0;o&&(this.onModelChange(this.value),this.onChange.emit({originalEvent:e,value:this.value}))}onOptionClickCheckbox(e,i){this.disabled||this.readonly||(this.isSelected(i)?this.removeOption(i):(this.value=this.value?this.value:[],this.value=[...this.value,this.getOptionValue(i)]),this.onModelChange(this.value),this.onChange.emit({originalEvent:e,value:this.value}))}removeOption(e){this.value=this.value.filter(i=>!wt.equals(i,this.getOptionValue(e),this.dataKey))}isSelected(e){let i=!1,r=this.getOptionValue(e);if(this.multiple){if(this.value)for(let o of this.value)if(wt.equals(o,r,this.dataKey)){i=!0;break}}else i=wt.equals(this.value,r,this.dataKey);return i}get allChecked(){let e=this.optionsToRender;if(!e||0===e.length)return!1;{let i=0,r=0,o=0,s=this.group?0:this.optionsToRender.length;for(let a of e)if(this.group)for(let l of this.getOptionGroupChildren(a)){let c=this.isOptionDisabled(l),u=this.isSelected(l);if(c)u?i++:r++;else{if(!u)return!1;o++}s++}else{let l=this.isOptionDisabled(a),c=this.isSelected(a);if(l)c?i++:r++;else{if(!c)return!1;o++}}return s===i||s===o||o&&s===o+r+i}}get optionsToRender(){return this._filteredOptions||this.options}get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(Cl.EMPTY_MESSAGE)}get emptyFilterMessageLabel(){return this.emptyFilterMessage||this.config.getTranslation(Cl.EMPTY_FILTER_MESSAGE)}hasFilter(){return this._filterValue&&this._filterValue.trim().length>0}isEmpty(){return!this.optionsToRender||this.optionsToRender&&0===this.optionsToRender.length}onFilter(e){this._filterValue=e.target.value,this.activateFilter()}activateFilter(){if(this.hasFilter()&&this._options)if(this.group){let e=(this.filterBy||this.optionLabel||"label").split(","),i=[];for(let r of this.options){let o=this.filterService.filter(this.getOptionGroupChildren(r),e,this.filterValue,this.filterMatchMode,this.filterLocale);o&&o.length&&i.push({...r,[this.optionGroupChildren]:o})}this._filteredOptions=i}else this._filteredOptions=this._options.filter(e=>this.filterService.filters[this.filterMatchMode](this.getOptionLabel(e),this._filterValue,this.filterLocale));else this._filteredOptions=null}resetFilter(){this.filterViewChild&&this.filterViewChild.nativeElement&&(this.filterViewChild.nativeElement.value=""),this._filterValue=null,this._filteredOptions=null}get toggleAllDisabled(){let e=this.optionsToRender;if(!e||0===e.length)return!0;for(let i of e)if(!this.isOptionDisabled(i))return!1;return!0}toggleAll(e){this.disabled||this.toggleAllDisabled||this.readonly||(this.allChecked?this.uncheckAll():this.checkAll(),this.onModelChange(this.value),this.onChange.emit({originalEvent:e,value:this.value}),e.preventDefault())}checkAll(){let i=[];this.optionsToRender.forEach(r=>{if(this.group){let o=this.getOptionGroupChildren(r);o&&o.forEach(s=>{let a=this.isOptionDisabled(s);(!a||a&&this.isSelected(s))&&i.push(this.getOptionValue(s))})}else{let o=this.isOptionDisabled(r);(!o||o&&this.isSelected(r))&&i.push(this.getOptionValue(r))}}),this.value=i}uncheckAll(){let i=[];this.optionsToRender.forEach(r=>{this.group?r.items&&r.items.forEach(o=>{this.isOptionDisabled(o)&&this.isSelected(o)&&i.push(this.getOptionValue(o))}):this.isOptionDisabled(r)&&this.isSelected(r)&&i.push(this.getOptionValue(r))}),this.value=i}onOptionKeyDown(e,i){if(this.readonly)return;let r=e.currentTarget;switch(e.which){case 40:var o=this.findNextItem(r);o&&o.focus(),e.preventDefault();break;case 38:var s=this.findPrevItem(r);s&&s.focus(),e.preventDefault();break;case 13:this.onOptionClick(e,i),e.preventDefault()}}findNextItem(e){let i=e.nextElementSibling;return i?q.hasClass(i,"p-disabled")||q.isHidden(i)||q.hasClass(i,"p-listbox-item-group")?this.findNextItem(i):i:null}findPrevItem(e){let i=e.previousElementSibling;return i?q.hasClass(i,"p-disabled")||q.isHidden(i)||q.hasClass(i,"p-listbox-item-group")?this.findPrevItem(i):i:null}onHeaderCheckboxFocus(){this.headerCheckboxFocus=!0}onHeaderCheckboxBlur(){this.headerCheckboxFocus=!1}ngOnDestroy(){this.translationSubscription&&this.translationSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(I(Dt),I(In),I(GL),I(bl))},n.\u0275cmp=we({type:n,selectors:[["p-listbox"]],contentQueries:function(e,i,r){if(1&e&&(Yn(r,w1,5),Yn(r,T1,5),Yn(r,Pi,4)),2&e){let o;Ve(o=Be())&&(i.headerFacet=o.first),Ve(o=Be())&&(i.footerFacet=o.first),Ve(o=Be())&&(i.templates=o)}},viewQuery:function(e,i){if(1&e&&(Mt(_Z,5),Mt(vZ,5)),2&e){let r;Ve(r=Be())&&(i.headerCheckboxViewChild=r.first),Ve(r=Be())&&(i.filterViewChild=r.first)}},hostAttrs:[1,"p-element"],inputs:{multiple:"multiple",style:"style",styleClass:"styleClass",listStyle:"listStyle",listStyleClass:"listStyleClass",readonly:"readonly",disabled:"disabled",checkbox:"checkbox",filter:"filter",filterBy:"filterBy",filterMatchMode:"filterMatchMode",filterLocale:"filterLocale",metaKeySelection:"metaKeySelection",dataKey:"dataKey",showToggleAll:"showToggleAll",optionLabel:"optionLabel",optionValue:"optionValue",optionGroupChildren:"optionGroupChildren",optionGroupLabel:"optionGroupLabel",optionDisabled:"optionDisabled",ariaFilterLabel:"ariaFilterLabel",filterPlaceHolder:"filterPlaceHolder",emptyFilterMessage:"emptyFilterMessage",emptyMessage:"emptyMessage",group:"group",options:"options",filterValue:"filterValue"},outputs:{onChange:"onChange",onClick:"onClick",onDblClick:"onDblClick"},features:[Pt([nJ])],ngContentSelectors:tJ,decls:12,vars:18,consts:[[3,"ngClass","ngStyle"],["class","p-listbox-header",4,"ngIf"],["role","listbox",1,"p-listbox-list"],[4,"ngIf"],["itemslist",""],["class","p-listbox-empty-message",4,"ngIf"],["class","p-listbox-footer",4,"ngIf"],[1,"p-listbox-header"],[4,"ngTemplateOutlet"],["class","p-checkbox p-component",3,"ngClass",4,"ngIf"],[4,"ngIf","ngIfElse"],["builtInFilterElement",""],[1,"p-checkbox","p-component",3,"ngClass"],[1,"p-hidden-accessible"],["type","checkbox","readonly","readonly",3,"checked","disabled","focus","blur","keydown.space"],[1,"p-checkbox-box",3,"ngClass","click"],["headerchkbox",""],[1,"p-checkbox-icon",3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","p-listbox-filter-container",4,"ngIf"],[1,"p-listbox-filter-container"],["type","text",1,"p-listbox-filter","p-inputtext","p-component",3,"value","disabled","input"],["filter",""],[1,"p-listbox-filter-icon","pi","pi-search"],["ngFor","",3,"ngForOf"],[1,"p-listbox-item-group"],["pRipple","","role","option",3,"ngClass","click","dblclick","touchend","keydown",4,"ngFor","ngForOf"],["pRipple","","role","option",3,"ngClass","click","dblclick","touchend","keydown"],[1,"p-checkbox-box",3,"ngClass"],[1,"p-listbox-empty-message"],["emptyFilter",""],["empty",""],[1,"p-listbox-footer"]],template:function(e,i){1&e&&($r(XZ),S(0,"div",0),D(1,CZ,3,1,"div",1),D(2,IZ,5,3,"div",1),S(3,"div",0)(4,"ul",2),D(5,PZ,2,1,"ng-container",3),D(6,RZ,2,4,"ng-container",3),D(7,$Z,1,1,"ng-template",null,4,Mn),D(9,YZ,3,3,"li",5),D(10,QZ,3,3,"li",5),E()(),D(11,JZ,3,1,"div",6),E()),2&e&&(Ut(i.styleClass),_("ngClass",tt(16,eJ,i.disabled))("ngStyle",i.style),b(1),_("ngIf",i.headerFacet||i.headerTemplate),b(1),_("ngIf",i.checkbox&&i.multiple&&i.showToggleAll||i.filter),b(1),Ut(i.listStyleClass),_("ngClass","p-listbox-list-wrapper")("ngStyle",i.listStyle),b(1),bt("aria-multiselectable",i.multiple),b(1),_("ngIf",i.group),b(1),_("ngIf",!i.group),b(3),_("ngIf",i.hasFilter()&&i.isEmpty()),b(1),_("ngIf",!i.hasFilter()&&i.isEmpty()),b(1),_("ngIf",i.footerFacet||i.footerTemplate))},dependencies:[qn,Er,$t,qr,ki,wl],styles:[".p-listbox-list-wrapper{overflow:auto}.p-listbox-list{list-style-type:none;margin:0;padding:0}.p-listbox-item{cursor:pointer;position:relative;overflow:hidden;display:flex;align-items:center;-webkit-user-select:none;user-select:none}.p-listbox-header{display:flex;align-items:center}.p-listbox-filter-container{position:relative;flex:1 1 auto}.p-listbox-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-listbox-filter{width:100%}\n"],encapsulation:2,changeDetection:0}),n})(),M1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn,zo,Ra,zo]}),n})();function iJ(n,t){1&n&&Je(0)}const rJ=function(n,t,e,i){return{"p-button-icon":!0,"p-button-icon-left":n,"p-button-icon-right":t,"p-button-icon-top":e,"p-button-icon-bottom":i}};function oJ(n,t){if(1&n&&_e(0,"span",4),2&n){const e=C();Ut(e.loading?"p-button-loading-icon "+e.loadingIcon:e.icon),_("ngClass",jd(4,rJ,"left"===e.iconPos&&e.label,"right"===e.iconPos&&e.label,"top"===e.iconPos&&e.label,"bottom"===e.iconPos&&e.label)),bt("aria-hidden",!0)}}function sJ(n,t){if(1&n&&(S(0,"span",5),Se(1),E()),2&n){const e=C();bt("aria-hidden",e.icon&&!e.label),b(1),Ct(e.label)}}function aJ(n,t){if(1&n&&(S(0,"span",4),Se(1),E()),2&n){const e=C();Ut(e.badgeClass),_("ngClass",e.badgeStyleClass()),b(1),Ct(e.badge)}}const lJ=function(n,t,e,i,r){return{"p-button p-component":!0,"p-button-icon-only":n,"p-button-vertical":t,"p-disabled":e,"p-button-loading":i,"p-button-loading-label-only":r}},cJ=["*"],Bc={button:"p-button",component:"p-component",iconOnly:"p-button-icon-only",disabled:"p-disabled",loading:"p-button-loading",labelOnly:"p-button-loading-label-only"};let bo=(()=>{class n{constructor(e){this.el=e,this.iconPos="left",this.loadingIcon="pi pi-spinner pi-spin",this._loading=!1,this._internalClasses=Object.values(Bc)}get label(){return this._label}set label(e){this._label=e,this.initialized&&(this.updateLabel(),this.updateIcon(),this.setStyleClass())}get icon(){return this._icon}set icon(e){this._icon=e,this.initialized&&(this.updateIcon(),this.setStyleClass())}get loading(){return this._loading}set loading(e){this._loading=e,this.initialized&&(this.updateIcon(),this.setStyleClass())}get htmlElement(){return this.el.nativeElement}ngAfterViewInit(){q.addMultipleClasses(this.htmlElement,this.getStyleClass().join(" ")),this.createIcon(),this.createLabel(),this.initialized=!0}getStyleClass(){const e=[Bc.button,Bc.component];return this.icon&&!this.label&&wt.isEmpty(this.htmlElement.textContent)&&e.push(Bc.iconOnly),this.loading&&(e.push(Bc.disabled,Bc.loading),!this.icon&&this.label&&e.push(Bc.labelOnly)),e}setStyleClass(){const e=this.getStyleClass();this.htmlElement.classList.remove(...this._internalClasses),this.htmlElement.classList.add(...e)}createLabel(){if(this.label){let e=document.createElement("span");this.icon&&!this.label&&e.setAttribute("aria-hidden","true"),e.className="p-button-label",e.appendChild(document.createTextNode(this.label)),this.htmlElement.appendChild(e)}}createIcon(){if(this.icon||this.loading){let e=document.createElement("span");e.className="p-button-icon",e.setAttribute("aria-hidden","true");let i=this.label?"p-button-icon-"+this.iconPos:null;i&&q.addClass(e,i);let r=this.getIconClass();r&&q.addMultipleClasses(e,r),this.htmlElement.insertBefore(e,this.htmlElement.firstChild)}}updateLabel(){let e=q.findSingle(this.htmlElement,".p-button-label");this.label?e?e.textContent=this.label:this.createLabel():e&&this.htmlElement.removeChild(e)}updateIcon(){let e=q.findSingle(this.htmlElement,".p-button-icon");this.icon||this.loading?e?e.className=this.iconPos?"p-button-icon p-button-icon-"+this.iconPos+" "+this.getIconClass():"p-button-icon "+this.getIconClass():this.createIcon():e&&this.htmlElement.removeChild(e)}getIconClass(){return this.loading?"p-button-loading-icon "+this.loadingIcon:this._icon}ngOnDestroy(){this.initialized=!1}}return n.\u0275fac=function(e){return new(e||n)(I(Dt))},n.\u0275dir=Ce({type:n,selectors:[["","pButton",""]],hostAttrs:[1,"p-element"],inputs:{iconPos:"iconPos",loadingIcon:"loadingIcon",label:"label",icon:"icon",loading:"loading"}}),n})(),JL=(()=>{class n{constructor(){this.type="button",this.iconPos="left",this.loading=!1,this.loadingIcon="pi pi-spinner pi-spin",this.onClick=new Q,this.onFocus=new Q,this.onBlur=new Q}ngAfterContentInit(){this.templates.forEach(e=>{e.getType(),this.contentTemplate=e.template})}badgeStyleClass(){return{"p-badge p-component":!0,"p-badge-no-gutter":this.badge&&1===String(this.badge).length}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=we({type:n,selectors:[["p-button"]],contentQueries:function(e,i,r){if(1&e&&Yn(r,Pi,4),2&e){let o;Ve(o=Be())&&(i.templates=o)}},hostAttrs:[1,"p-element"],inputs:{type:"type",iconPos:"iconPos",icon:"icon",badge:"badge",label:"label",disabled:"disabled",loading:"loading",loadingIcon:"loadingIcon",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",ariaLabel:"ariaLabel"},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},ngContentSelectors:cJ,decls:6,vars:17,consts:[["pRipple","",3,"ngStyle","disabled","ngClass","click","focus","blur"],[4,"ngTemplateOutlet"],[3,"ngClass","class",4,"ngIf"],["class","p-button-label",4,"ngIf"],[3,"ngClass"],[1,"p-button-label"]],template:function(e,i){1&e&&($r(),S(0,"button",0),se("click",function(o){return i.onClick.emit(o)})("focus",function(o){return i.onFocus.emit(o)})("blur",function(o){return i.onBlur.emit(o)}),Ii(1),D(2,iJ,1,0,"ng-container",1),D(3,oJ,1,9,"span",2),D(4,sJ,2,2,"span",3),D(5,aJ,2,4,"span",2),E()),2&e&&(Ut(i.styleClass),_("ngStyle",i.style)("disabled",i.disabled||i.loading)("ngClass",function Ak(n,t,e,i,r,o,s,a){const l=wr()+n,c=le(),u=ko(c,l,e,i,r,o);return lr(c,l+4,s)||u?As(c,l+5,a?t.call(a,e,i,r,o,s):t(e,i,r,o,s)):Xf(c,l+5)}(11,lJ,i.icon&&!i.label,("top"===i.iconPos||"bottom"===i.iconPos)&&i.label,i.disabled||i.loading,i.loading,i.loading&&!i.icon&&i.label)),bt("type",i.type)("aria-label",i.ariaLabel),b(2),_("ngTemplateOutlet",i.contentTemplate),b(1),_("ngIf",!i.contentTemplate&&(i.icon||i.loading)),b(1),_("ngIf",!i.contentTemplate&&i.label),b(1),_("ngIf",!i.contentTemplate&&i.badge))},dependencies:[qn,$t,qr,ki,wl],encapsulation:2,changeDetection:0}),n})(),Vo=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn,Ra]}),n})();function Qr(n){return n instanceof Dt?n.nativeElement:n}function Ev(n,t,e,i){return k(e)&&(i=e,e=void 0),i?Ev(n,t,e).pipe(fe(r=>R(r)?i(...r):i(r))):new Ee(r=>{eR(n,t,function o(s){r.next(arguments.length>1?Array.prototype.slice.call(arguments):s)},r,e)})}function eR(n,t,e,i,r){let o;if(function pJ(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const s=n;n.addEventListener(t,e,r),o=()=>s.removeEventListener(t,e,r)}else if(function fJ(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const s=n;n.on(t,e),o=()=>s.off(t,e)}else if(function hJ(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const s=n;n.addListener(t,e),o=()=>s.removeListener(t,e)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let s=0,a=n.length;s0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}});let yJ=1;const _J=Promise.resolve(),xv={};function nR(n){return n in xv&&(delete xv[n],!0)}const iR={setImmediate(n){const t=yJ++;return xv[t]=!0,_J.then(()=>nR(t)&&n()),t},clearImmediate(n){nR(n)}},S1=new class bJ extends ms{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,r=-1,o=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++r0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=iR.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(iR.clearImmediate(e),t.scheduled=void 0)}}),Jd=new ms($_);class wJ{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new TJ(t,this.durationSelector))}}class TJ extends Xo{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:r}=this;e=r(t)}catch(r){return this.destination.error(r)}const i=uc(e,new Wn(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=void 0,i.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function E1(n){return!R(n)&&n-parseFloat(n)+1>=0}function rR(n=0,t,e){let i=-1;return E1(t)?i=Number(t)<1?1:Number(t):Mi(t)&&(e=t),Mi(e)||(e=Jd),new Ee(r=>{const o=E1(n)?n:+n-e.now();return e.schedule(DJ,o,{index:0,period:i,subscriber:r})})}function DJ(n){const{index:t,period:e,subscriber:i}=n;if(i.next(t),!i.closed){if(-1===e)return i.complete();n.index=t+1,this.schedule(n,e)}}let x1;try{x1=typeof Intl<"u"&&Intl.v8BreakIterator}catch{x1=!1}let Pp,I1,sR=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function gG(n){return n===c2}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!x1)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(F(b_))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Lp(n){return function MJ(){if(null==Pp&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Pp=!0}))}finally{Pp=Pp||!1}return Pp}()?n:!!n.capture}function lR(n){if(function SJ(){if(null==I1){const n=typeof document<"u"?document.head:null;I1=!(!n||!n.createShadowRoot&&!n.attachShadow)}return I1}()){const t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Ov(n){return n.composedPath?n.composedPath()[0]:n.target}let OJ=(()=>{class n{constructor(e,i,r){this._platform=e,this._change=new ue,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(function oR(n,t=Jd){return function CJ(n){return function(e){return e.lift(new wJ(n))}}(()=>rR(n,t))}(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(F(sR),F(Yt),F(jn,8))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),AJ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({}),n})();function Dl(){}function pn(n,t,e){return function(r){return r.lift(new ZJ(n,t,e))}}class ZJ{constructor(t,e,i){this.nextOrObserver=t,this.error=e,this.complete=i}call(t,e){return e.subscribe(new JJ(t,this.nextOrObserver,this.error,this.complete))}}class JJ extends re{constructor(t,e,i,r){super(t),this._tapNext=Dl,this._tapError=Dl,this._tapComplete=Dl,this._tapError=i||Dl,this._tapComplete=r||Dl,k(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||Dl,this._tapError=e.error||Dl,this._tapComplete=e.complete||Dl)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}function eh(n,t=Jd){return e=>e.lift(new XJ(n,t))}class XJ{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new eX(t,this.dueTime,this.scheduler))}}class eX extends re{constructor(t,e,i){super(t),this.dueTime=e,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(tX,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function tX(n){n.debouncedNext()}class rX{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new ue,this._typeaheadSubscription=ce.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new ue,this.change=new ue,t instanceof cp&&(this._itemChangesSubscription=t.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(pn(e=>this._pressedLetters.push(e)),eh(t),Tn(()=>this._pressedLetters.length>0),fe(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let r=1;r!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(on[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t);this._activeItem=e[i]??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const r=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof cp?this._items.toArray():this._items}}class dR extends rX{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}function pX(n){const{subscriber:t,counter:e,period:i}=n;t.next(e),this.schedule({subscriber:t,counter:e+1,period:i},i)}function yn(n){return t=>t.lift(new mX(n))}class mX{constructor(t){this.notifier=t}call(t,e){const i=new gX(t),r=uc(this.notifier,new Wn(i));return r&&!i.seenValue?(i.add(r),e.subscribe(i)):i}}class gX extends Xo{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}function O1(...n){return function yX(){return el(1)}()(Fe(...n))}const fR=(()=>{function n(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return n.prototype=Object.create(Error.prototype),n})();function At(n){return t=>0===n?W_():t.lift(new _X(n))}class _X{constructor(t){if(this.total=t,this.total<0)throw new fR}call(t,e){return e.subscribe(new vX(t,this.total))}}class vX extends re{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,i=++this.count;i<=e&&(this.destination.next(t),i===e&&(this.destination.complete(),this.unsubscribe()))}}function A1(n,t,e){for(let i in t)if(t.hasOwnProperty(i)){const r=t[i];r?n.setProperty(i,r,e?.has(i)?"important":""):n.removeProperty(i)}return n}function th(n,t){const e=t?"":"none";A1(n.style,{"touch-action":t?"":"none","-webkit-user-drag":t?"":"none","-webkit-tap-highlight-color":t?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function mR(n,t,e){A1(n.style,{position:t?"":"fixed",top:t?"":"0",opacity:t?"":"0",left:t?"":"-999em"},e)}function kv(n,t){return t&&"none"!=t?n+" "+t:n}function gR(n){const t=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*t}function k1(n,t){return n.getPropertyValue(t).split(",").map(i=>i.trim())}function N1(n){const t=n.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height,x:t.x,y:t.y}}function P1(n,t,e){const{top:i,bottom:r,left:o,right:s}=n;return e>=i&&e<=r&&t>=o&&t<=s}function Rp(n,t,e){n.top+=t,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function yR(n,t,e,i){const{top:r,right:o,bottom:s,left:a,width:l,height:c}=n,u=l*t,d=c*t;return i>r-d&&ia-u&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:N1(e)})})}handleScroll(t){const e=Ov(t),i=this.positions.get(e);if(!i)return null;const r=i.scrollPosition;let o,s;if(e===this._document){const c=this.getViewportScrollPosition();o=c.top,s=c.left}else o=e.scrollTop,s=e.scrollLeft;const a=r.top-o,l=r.left-s;return this.positions.forEach((c,u)=>{c.clientRect&&e!==u&&e.contains(u)&&Rp(c.clientRect,a,l)}),r.top=o,r.left=s,{top:a,left:l}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function vR(n){const t=n.cloneNode(!0),e=t.querySelectorAll("[id]"),i=n.nodeName.toLowerCase();t.removeAttribute("id");for(let r=0;rth(i,e)))}constructor(t,e,i,r,o,s){this._config=e,this._document=i,this._ngZone=r,this._viewportRuler=o,this._dragDropRegistry=s,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new ue,this._pointerMoveSubscription=ce.EMPTY,this._pointerUpSubscription=ce.EMPTY,this._scrollSubscription=ce.EMPTY,this._resizeSubscription=ce.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new ue,this.started=new ue,this.released=new ue,this.ended=new ue,this.entered=new ue,this.exited=new ue,this.dropped=new ue,this.moved=this._moveEvents,this._pointerDown=a=>{if(this.beforeStarted.next(),this._handles.length){const l=this._getTargetHandle(a);l&&!this._disabledHandles.has(l)&&!this.disabled&&this._initializeDragSequence(l,a)}else this.disabled||this._initializeDragSequence(this._rootElement,a)},this._pointerMove=a=>{const l=this._getPointerPositionOnPage(a);if(!this._hasStartedDragging){if(Math.abs(l.x-this._pickupPositionOnPage.x)+Math.abs(l.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const f=Date.now()>=this._dragStartTime+this._getDragStartDelay(a),p=this._dropContainer;if(!f)return void this._endDragSequence(a);(!p||!p.isDragging()&&!p.isReceiving())&&(a.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(a)))}return}a.preventDefault();const c=this._getConstrainedPointerPosition(l);if(this._hasMoved=!0,this._lastKnownPointerPosition=l,this._updatePointerDirectionDelta(c),this._dropContainer)this._updateActiveDropContainer(c,l);else{const u=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,d=this._activeTransform;d.x=c.x-u.x+this._passiveTransform.x,d.y=c.y-u.y+this._passiveTransform.y,this._applyRootElementTransform(d.x,d.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:c,event:a,distance:this._getDragDistance(c),delta:this._pointerDirectionDelta})})},this._pointerUp=a=>{this._endDragSequence(a)},this._nativeDragStart=a=>{if(this._handles.length){const l=this._getTargetHandle(a);l&&!this._disabledHandles.has(l)&&!this.disabled&&a.preventDefault()}else this.disabled||a.preventDefault()},this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new _R(i),s.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(i=>Qr(i)),this._handles.forEach(i=>th(i,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&e.add(i)}),this._disabledHandles=e,this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=Qr(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,Nv),e.addEventListener("touchstart",this._pointerDown,TR),e.addEventListener("dragstart",this._nativeDragStart,Nv)}),this._initialTransform=void 0,this._rootElement=e),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?Qr(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),th(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),th(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview?.remove(),this._previewRef?.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:t}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e,event:t})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(t){Fp(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const i=this._rootElement,r=i.parentNode,o=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment(""),a=this._getShadowRoot();r.insertBefore(s,i),this._initialTransform=i.style.transform||"",this._preview=this._createPreviewElement(),mR(i,!1,L1),this._document.body.appendChild(r.replaceChild(o,i)),this._getPreviewInsertionPoint(r,a).appendChild(this._preview),this.started.next({source:this,event:t}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this,event:t}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){this._parentDragRef&&e.stopPropagation();const i=this.isDragging(),r=Fp(e),o=!r&&0!==e.button,s=this._rootElement,a=Ov(e),l=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),c=r?function dX(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}(e):function uX(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}(e);if(a&&a.draggable&&"mousedown"===e.type&&e.preventDefault(),i||o||l||c)return;if(this._handles.length){const h=s.style;this._rootElementTapHighlight=h.webkitTapHighlightColor||"",h.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(h=>this._updateOnScroll(h)),this._boundaryElement&&(this._boundaryRect=N1(this._boundaryElement));const u=this._previewTemplate;this._pickupPositionInElement=u&&u.template&&!u.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,t,e);const d=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:d.x,y:d.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){mR(this._rootElement,!0,L1),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,i=e.getItemIndex(this),r=this._getPointerPositionOnPage(t),o=this._getDragDistance(r),s=e._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:o,dropPoint:r,event:t}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:s,distance:o,dropPoint:r,event:t}),e.drop(this,i,this._initialIndex,this._initialContainer,s,o,r,t),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:i,y:r}){let o=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!o&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(o=this._initialContainer),o&&o!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=o,this._dropContainer.enter(this,t,e,o===this._initialContainer&&o.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:o,currentIndex:o.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,r),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(t,e):this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,i=t?t.template:null;let r;if(i&&t){const o=t.matchSize?this._initialClientRect:null,s=t.viewContainer.createEmbeddedView(i,t.context);s.detectChanges(),r=MR(s,this._document),this._previewRef=s,t.matchSize?SR(r,o):r.style.transform=Pv(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else r=vR(this._rootElement),SR(r,this._initialClientRect),this._initialTransform&&(r.style.transform=this._initialTransform);return A1(r.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},L1),th(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(o=>r.classList.add(o)):r.classList.add(e)),r}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);const e=function DX(n){const t=getComputedStyle(n),e=k1(t,"transition-property"),i=e.find(a=>"transform"===a||"all"===a);if(!i)return 0;const r=e.indexOf(i),o=k1(t,"transition-duration"),s=k1(t,"transition-delay");return gR(o[r])+gR(s[r])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{const r=s=>{(!s||Ov(s)===this._preview&&"transform"===s.propertyName)&&(this._preview?.removeEventListener("transitionend",r),i(),clearTimeout(o))},o=setTimeout(r,1.5*e);this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let i;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),i=MR(this._placeholderRef,this._document)):i=vR(this._rootElement),i.style.pointerEvents="none",i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(t,e,i){const r=e===this._rootElement?null:e,o=r?r.getBoundingClientRect():t,s=Fp(i)?i.targetTouches[0]:i,a=this._getViewportScrollPosition();return{x:o.left-t.left+(s.pageX-o.left-a.left),y:o.top-t.top+(s.pageY-o.top-a.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),i=Fp(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,r=i.pageX-e.left,o=i.pageY-e.top;if(this._ownerSVGElement){const s=this._ownerSVGElement.getScreenCTM();if(s){const a=this._ownerSVGElement.createSVGPoint();return a.x=r,a.y=o,a.matrixTransform(s.inverse())}}return{x:r,y:o}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:r}=this.constrainPosition?this.constrainPosition(t,this,this._initialClientRect,this._pickupPositionInElement):t;if("x"===this.lockAxis||"x"===e?r=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:o,y:s}=this._pickupPositionInElement,a=this._boundaryRect,{width:l,height:c}=this._getPreviewRect(),u=a.top+s,d=a.bottom-(c-s);i=DR(i,a.left+o,a.right-(l-o)),r=DR(r,u,d)}return{x:i,y:r}}_updatePointerDirectionDelta(t){const{x:e,y:i}=t,r=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,s=Math.abs(e-o.x),a=Math.abs(i-o.y);return s>this._config.pointerDirectionChangeThreshold&&(r.x=e>o.x?1:-1,o.x=e),a>this._config.pointerDirectionChangeThreshold&&(r.y=i>o.y?1:-1,o.y=i),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,th(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,Nv),t.removeEventListener("touchstart",this._pointerDown,TR),t.removeEventListener("dragstart",this._nativeDragStart,Nv)}_applyRootElementTransform(t,e){const i=Pv(t,e),r=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=r.transform&&"none"!=r.transform?r.transform:""),r.transform=kv(i,this._initialTransform)}_applyPreviewTransform(t,e){const i=this._previewTemplate?.template?void 0:this._initialTransform,r=Pv(t,e);this._preview.style.transform=kv(r,i)}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const i=this._rootElement.getBoundingClientRect(),r=this._boundaryElement.getBoundingClientRect();if(0===r.width&&0===r.height||0===i.width&&0===i.height)return;const o=r.left-i.left,s=i.right-r.right,a=r.top-i.top,l=i.bottom-r.bottom;r.width>i.width?(o>0&&(t+=o),s>0&&(t-=s)):t=0,r.height>i.height?(a>0&&(e+=a),l>0&&(e-=l)):e=0,(t!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:Fp(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const i=Ov(t);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&Rp(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=lR(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){const i=this._previewContainer||"global";if("parent"===i)return t;if("global"===i){const r=this._document;return e||r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body}return Qr(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(t){return this._handles.find(e=>t.target&&(t.target===e||e.contains(t.target)))}}function Pv(n,t){return`translate3d(${Math.round(n)}px, ${Math.round(t)}px, 0)`}function DR(n,t,e){return Math.max(t,Math.min(e,n))}function Fp(n){return"t"===n.type[0]}function MR(n,t){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===t.ELEMENT_NODE)return e[0];const i=t.createElement("div");return e.forEach(r=>i.appendChild(r)),i}function SR(n,t){n.style.width=`${t.width}px`,n.style.height=`${t.height}px`,n.style.transform=Pv(t.left,t.top)}function jp(n,t){return Math.max(0,Math.min(t,n))}class IX{constructor(t,e){this._element=t,this._dragDropRegistry=e,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(t){this.withItems(t)}sort(t,e,i,r){const o=this._itemPositions,s=this._getItemIndexFromPointerPosition(t,e,i,r);if(-1===s&&o.length>0)return null;const a="horizontal"===this.orientation,l=o.findIndex(g=>g.drag===t),c=o[s],d=c.clientRect,h=l>s?1:-1,f=this._getItemOffsetPx(o[l].clientRect,d,h),p=this._getSiblingOffsetPx(l,o,h),m=o.slice();return function xX(n,t,e){const i=jp(t,n.length-1),r=jp(e,n.length-1);if(i===r)return;const o=n[i],s=r{if(m[y]===g)return;const w=g.drag===t,T=w?f:p,v=w?t.getPlaceholderElement():g.drag.getRootElement();g.offset+=T,a?(v.style.transform=kv(`translate3d(${Math.round(g.offset)}px, 0, 0)`,g.initialTransform),Rp(g.clientRect,0,T)):(v.style.transform=kv(`translate3d(0, ${Math.round(g.offset)}px, 0)`,g.initialTransform),Rp(g.clientRect,T,0))}),this._previousSwap.overlaps=P1(d,e,i),this._previousSwap.drag=c.drag,this._previousSwap.delta=a?r.x:r.y,{previousIndex:l,currentIndex:s}}enter(t,e,i,r){const o=null==r||r<0?this._getItemIndexFromPointerPosition(t,e,i):r,s=this._activeDraggables,a=s.indexOf(t),l=t.getPlaceholderElement();let c=s[o];if(c===t&&(c=s[o+1]),!c&&(null==o||-1===o||o-1&&s.splice(a,1),c&&!this._dragDropRegistry.isDragging(c)){const u=c.getRootElement();u.parentElement.insertBefore(l,u),s.splice(o,0,t)}else Qr(this._element).appendChild(l),s.push(t);l.style.transform="",this._cacheItemPositions()}withItems(t){this._activeDraggables=t.slice(),this._cacheItemPositions()}withSortPredicate(t){this._sortPredicate=t}reset(){this._activeDraggables.forEach(t=>{const e=t.getRootElement();if(e){const i=this._itemPositions.find(r=>r.drag===t)?.initialTransform;e.style.transform=i||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(t){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(i=>i.drag===t)}updateOnScroll(t,e){this._itemPositions.forEach(({clientRect:i})=>{Rp(i,t,e)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}_cacheItemPositions(){const t="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(e=>{const i=e.getVisibleElement();return{drag:e,offset:0,initialTransform:i.style.transform||"",clientRect:N1(i)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_getItemOffsetPx(t,e,i){const r="horizontal"===this.orientation;let o=r?e.left-t.left:e.top-t.top;return-1===i&&(o+=r?e.width-t.width:e.height-t.height),o}_getSiblingOffsetPx(t,e,i){const r="horizontal"===this.orientation,o=e[t].clientRect,s=e[t+-1*i];let a=o[r?"width":"height"]*i;if(s){const l=r?"left":"top",c=r?"right":"bottom";-1===i?a-=s.clientRect[l]-o[c]:a+=o[l]-s.clientRect[c]}return a}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,r="horizontal"===this.orientation;if(i[0].drag!==this._activeDraggables[0]){const s=i[i.length-1].clientRect;return r?t>=s.right:e>=s.bottom}{const s=i[0].clientRect;return r?t<=s.left:e<=s.top}}_getItemIndexFromPointerPosition(t,e,i,r){const o="horizontal"===this.orientation,s=this._itemPositions.findIndex(({drag:a,clientRect:l})=>a!==t&&((!r||a!==this._previousSwap.drag||!this._previousSwap.overlaps||(o?r.x:r.y)!==this._previousSwap.delta)&&(o?e>=Math.floor(l.left)&&e=Math.floor(l.top)&&i!0,this.sortPredicate=()=>!0,this.beforeStarted=new ue,this.entered=new ue,this.exited=new ue,this.dropped=new ue,this.sorted=new ue,this.receivingStarted=new ue,this.receivingStopped=new ue,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=ce.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new ue,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function fX(n=0,t=Jd){return(!E1(n)||n<0)&&(n=0),(!t||"function"!=typeof t.schedule)&&(t=Jd),new Ee(e=>(e.add(t.schedule(pX,n,{subscriber:e,counter:0,period:n})),e))}(0,tR).pipe(yn(this._stopScrollTimers)).subscribe(()=>{const s=this._scrollNode,a=this.autoScrollStep;1===this._verticalScrollDirection?s.scrollBy(0,-a):2===this._verticalScrollDirection&&s.scrollBy(0,a),1===this._horizontalScrollDirection?s.scrollBy(-a,0):2===this._horizontalScrollDirection&&s.scrollBy(a,0)})},this.element=Qr(t),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new _R(i),this._sortStrategy=new IX(this.element,e),this._sortStrategy.withSortPredicate((s,a)=>this.sortPredicate(s,a,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,e,i,r){this._draggingStarted(),null==r&&this.sortingDisabled&&(r=this._draggables.indexOf(t)),this._sortStrategy.enter(t,e,i,r),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,i,r,o,s,a,l={}){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:i,container:this,previousContainer:r,isPointerOverContainer:o,distance:s,dropPoint:a,event:l})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(e.filter(r=>r.isDragging()).every(r=>-1===t.indexOf(r))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(t){return this._sortStrategy.direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._sortStrategy.orientation=t,this}withScrollableParents(t){const e=Qr(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?this._sortStrategy.getItemIndex(t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,i,r){if(this.sortingDisabled||!this._clientRect||!yR(this._clientRect,.05,e,i))return;const o=this._sortStrategy.sort(t,e,i,r);o&&this.sorted.next({previousIndex:o.previousIndex,currentIndex:o.currentIndex,container:this,item:t})}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let i,r=0,o=0;if(this._parentPositions.positions.forEach((s,a)=>{a===this._document||!s.clientRect||i||yR(s.clientRect,.05,t,e)&&([r,o]=function AX(n,t,e,i){const r=IR(t,i),o=OR(t,e);let s=0,a=0;if(r){const l=n.scrollTop;1===r?l>0&&(s=1):n.scrollHeight-l>n.clientHeight&&(s=2)}if(o){const l=n.scrollLeft;1===o?l>0&&(a=1):n.scrollWidth-l>n.clientWidth&&(a=2)}return[s,a]}(a,s.clientRect,t,e),(r||o)&&(i=a))}),!r&&!o){const{width:s,height:a}=this._viewportRuler.getViewportSize(),l={width:s,height:a,top:0,right:s,bottom:a,left:0};r=IR(l,e),o=OR(l,t),i=window}i&&(r!==this._verticalScrollDirection||o!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=r,this._horizontalScrollDirection=o,this._scrollNode=i,(r||o)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=Qr(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=Qr(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_reset(){this._isDragging=!1;const t=Qr(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(t,e){return null!=this._clientRect&&P1(this._clientRect,t,e)}_getSiblingContainerFromPosition(t,e,i){return this._siblings.find(r=>r._canReceive(t,e,i))}_canReceive(t,e,i){if(!this._clientRect||!P1(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const r=this._getShadowRoot().elementFromPoint(e,i);if(!r)return!1;const o=Qr(this.element);return r===o||o.contains(r)}_startReceiving(t,e){const i=this._activeSiblings;!i.has(t)&&e.every(r=>this.enterPredicate(r,this)||this._draggables.indexOf(r)>-1)&&(i.add(t),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:t,receiver:this,items:e}))}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:t,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&this._sortStrategy.updateOnScroll(e.top,e.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const t=lR(Qr(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function IR(n,t){const{top:e,bottom:i,height:r}=n,o=.05*r;return t>=e-o&&t<=e+o?1:t>=i-o&&t<=i+o?2:0}function OR(n,t){const{left:e,right:i,width:r}=n,o=.05*r;return t>=e-o&&t<=e+o?1:t>=i-o&&t<=i+o?2:0}const Lv=Lp({passive:!1,capture:!0});let kX=(()=>{class n{constructor(e,i){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=r=>r.isDragging(),this.pointerMove=new ue,this.pointerUp=new ue,this.scroll=new ue,this._preventDefaultWhileDragging=r=>{this._activeDragInstances.length>0&&r.preventDefault()},this._persistentTouchmoveListener=r=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&r.preventDefault(),this.pointerMove.next(r))},this._document=i}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,Lv)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Lv)}startDragging(e,i){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const r=i.type.startsWith("touch");this._globalListeners.set(r?"touchend":"mouseup",{handler:o=>this.pointerUp.next(o),options:!0}).set("scroll",{handler:o=>this.scroll.next(o),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Lv}),r||this._globalListeners.set("mousemove",{handler:o=>this.pointerMove.next(o),options:Lv}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((o,s)=>{this._document.addEventListener(s,o.handler,o.options)})})}}stopDragging(e){const i=this._activeDragInstances.indexOf(e);i>-1&&(this._activeDragInstances.splice(i,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const i=[this.scroll];return e&&e!==this._document&&i.push(new Ee(r=>this._ngZone.runOutsideAngular(()=>{const s=a=>{this._activeDragInstances.length&&r.next(a)};return e.addEventListener("scroll",s,!0),()=>{e.removeEventListener("scroll",s,!0)}}))),Cs(...i)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,i)=>{this._document.removeEventListener(i,e.handler,e.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(e){return new(e||n)(F(Yt),F(jn))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const NX={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let R1=(()=>{class n{constructor(e,i,r,o){this._document=e,this._ngZone=i,this._viewportRuler=r,this._dragDropRegistry=o}createDrag(e,i=NX){return new EX(e,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new OX(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(F(jn),F(Yt),F(OJ),F(kX))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),LR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({providers:[R1],imports:[AJ]}),n})(),V1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn,Vo,zo,Ra,LR,zo,LR]}),n})();const nee=["data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuNjMyODEgMjJWMjEuMDE1Nkw3LjkwNjI1IDIwLjc5NjlWMTEuODM1OUw2LjYzMjgxIDExLjYxNzJWMTAuNjI1SDEwLjcxODhWMTEuNjE3Mkw5LjQ0NTMxIDExLjgzNTlWMTUuNzY1NkgxNC44ODI4VjExLjgzNTlMMTMuNjA5NCAxMS42MTcyVjEwLjYyNUgxNy42OTUzVjExLjYxNzJMMTYuNDIxOSAxMS44MzU5VjIwLjc5NjlMMTcuNjk1MyAyMS4wMTU2VjIySDEzLjYwOTRWMjEuMDE1NkwxNC44ODI4IDIwLjc5NjlWMTYuOTc2Nkg5LjQ0NTMxVjIwLjc5NjlMMTAuNzE4OCAyMS4wMTU2VjIySDYuNjMyODFaTTE5LjI3MzQgMjJWMjEuMDE1Nkwy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3MTM1IDE1LjMwNDcgMTAuMTQ4NEMxNS4xMDE2IDEwLjMyMDMgMTQuOTM0OSAxMC41MjM0IDE0LjgwNDcgMTAuNzU3OFYxMS42NzE5QzE0LjgwNDcgMTIuNzI5MiAxNS4wMjM0IDEzLjU0MTcgMTUuNDYwOSAxNC4xMDk0QzE1LjkwMzYgMTQuNjc3MSAxNi40NTgzIDE0Ljk2MDkgMTcuMTI1IDE0Ljk2MDlaIiBmaWxsPSJibGFjayIvPgo8L3N2Zz4K"],hee=new bD(document),RR=[...Array(6).keys()].map(n=>{const t=n+1;return{label:`Heading ${t}`,icon:js(nee[n]||""),id:`heading${t}`,attributes:{level:t}}}),B1={label:"Paragraph",icon:js("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuNDc0NjEgMTZWMTUuMjYxN0w3LjQyOTY5IDE1LjA5NzdWOC4zNzY5NUw2LjQ3NDYxIDguMjEyODlWNy40Njg3NUgxMC4zOTQ1QzExLjMwNDcgNy40Njg3NSAxMi4wMTE3IDcuNzAzMTIgMTIuNTE1NiA4LjE3MTg4QzEzLjAyMzQgOC42NDA2MiAxMy4yNzczIDkuMjU3ODEgMTMuMjc3MyAxMC4wMjM0QzEzLjI3NzMgMTAuNzk2OSAxMy4wMjM0IDExLjQxNiAxMi41MTU2IDExLjg4MDlDMTIuMDExNyAxMi4zNDU3IDExLjMwNDcgMTIuNTc4MSAxMC4zOTQ1IDEyLjU3ODFIOC41ODM5OFYxNS4wOTc3TDkuNTM5MDYgMTUuMjYxN1YxNkg2LjQ3NDYxWk04LjU4Mzk4IDExLjY3NThIMTAuMzk0NUMxMC45NzI3IDExLjY3NTggMTEuNDA0MyAxMS41MjE1IDExLjY4OTUgMTEuMjEyOUMxMS45Nzg1IDEwL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D0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQgMjAuNkw4LjggMTZMMTMuNCAxMS40TDEyIDEwTDYgMTZMMTIgMjJMMTMuNCAyMC42Wk0xOC42IDIwLjZMMjMuMiAxNkwxOC42IDExLjRMMjAgMTBMMjYgMTZMMjAgMjJMMTguNiAyMC42WiIgZmlsbD0iYmxhY2siLz4KPC9zdmc+Cg=="),id:"codeBlock"},{label:"Horizontal Line",icon:js("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3QgeD0iNiIgeT0iMTUiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyIiBmaWxsPSJibGFjayIvPgo8L3N2Zz4K"),id:"horizontalRule"}];function js(n){return hee.bypassSecurityTrustUrl(n)}const Rv=[{label:"Image",icon:"image",id:"image"},{label:"Video",icon:"movie",id:"video"},...RR,{label:"Table",icon:"table_view",id:"table"},...FR,...gee,B1],yee=[...RR,B1,...FR],_ee=[{name:"flip",options:{fallbackPlacements:["top"]}},{name:"preventOverflow",options:{altAxis:!1,tether:!1}}],bee={horizontalRule:!0,table:!0,image:!0,video:!0},Cee=[...Rv.filter(n=>!bee[n.id])],jR=function({type:n,editor:t,range:e,suggestionKey:i,ItemsType:r}){const o={to:e.to+i.getState(t.view.state).query?.length,from:n===r.BLOCK?e.from:e.from+1};t.chain().deleteRange(o).run()},zR={duration:[250,0],interactive:!0,maxWidth:"none",trigger:"manual",placement:"bottom-start",hideOnClick:"toggle",popperOptions:{modifiers:[{name:"flip",options:{fallbackPlacements:["top-start"]}}]}};function xe(...n){const t=n.length;if(0===t)throw new Error("list of properties cannot be empty.");return e=>fe(function wee(n,t){return i=>{let r=i;for(let o=0;oe?r[e]:null}return i}camelize(t){return t.replace(/(?:^\w|[A-Z]|\b\w)/g,(e,i)=>0===i?e.toLowerCase():e.toUpperCase()).replace(/\s+/g,"")}titleCase(t){return`${t.charAt(0).toLocaleUpperCase()}${t.slice(1)}`}}Hc.\u0275fac=function(t){return new(t||Hc)},Hc.\u0275prov=H({token:Hc,factory:Hc.\u0275fac});class Dee{getQueryParams(){const t=window.location.search.substring(1).split("&"),e=new Map;return t.forEach(i=>{const r=i.split("=");e.set(r[0],r[1])}),e}getQueryStringParam(t){let e=null;const r=new RegExp("[?&]"+t.replace(/[\[\]]/g,"\\$&")+"(=([^&#]*)|&|#|$)").exec(window.location.href);return r&&r[2]&&(e=decodeURIComponent(r[2].replace(/\+/g," "))),e}}class Co{constructor(t){this.stringUtils=t,this.showLogs=!0,this.httpRequestUtils=new Dee,this.showLogs=this.shouldShowLogs(),this.showLogs&&console.info("Setting the logger --\x3e Developer mode logger on")}info(t,...e){e&&e.length>0?console.info(this.wrapMessage(t),e):console.info(this.wrapMessage(t))}error(t,...e){e&&e.length>0?console.error(this.wrapMessage(t),e):console.error(this.wrapMessage(t))}warn(t,...e){e&&e.length>0?console.warn(this.wrapMessage(t),e):console.warn(this.wrapMessage(t))}debug(t,...e){e&&e.length>0?console.debug(this.wrapMessage(t),e):console.debug(this.wrapMessage(t))}shouldShowLogs(){this.httpRequestUtils.getQueryStringParam("devMode");return!0}wrapMessage(t){return this.showLogs?t:this.getCaller()+">> "+t}getCaller(){let t="unknown";try{throw new Error}catch(e){t=this.cleanCaller(this.stringUtils.getLine(e.stack,4))}return t}cleanCaller(t){return t?t.trim().substr(3):"unknown"}}Co.\u0275fac=function(t){return new(t||Co)(F(Hc))},Co.\u0275prov=H({token:Co,factory:Co.\u0275fac});class nh{constructor(t,e){this.loggerService=t,this.suppressAlerts=!1,this.locale=e;try{const i=window.location.search.substring(1);this.locale=this.checkQueryForUrl(i)}catch{this.loggerService.error("Could not set locale from URL.")}}checkQueryForUrl(t){let e=this.locale;if(t&&t.length){const i=t,r="locale=",o=i.indexOf(r);if(o>=0){let s=i.indexOf("&",o);s=-1!==s?s:i.indexOf("#",o),s=-1!==s?s:i.length,e=i.substring(o+r.length,s)}}return e}}nh.\u0275fac=function(t){return new(t||nh)(F(Co),F(Ns))},nh.\u0275prov=H({token:nh,factory:nh.\u0275fac});class zs{constructor(t,e){this.loggerService=e,this.siteId="48190c8c-42c4-46af-8d1a-0cd5db894797",this.hideFireOn=!1,this.hideRulePushOptions=!1,this.authUser=t;try{let i=document.location.search.substring(1);""===i&&document.location.hash.indexOf("?")>=0&&(i=document.location.hash.substr(document.location.hash.indexOf("?")+1));const r=zs.parseQueryParam(i,"realmId");r&&(this.siteId=r,this.loggerService.debug("Site Id set to ",this.siteId));const o=zs.parseQueryParam(i,"hideFireOn");o&&(this.hideFireOn="true"===o||"1"===o,this.loggerService.debug("hideFireOn set to ",this.hideFireOn));const s=zs.parseQueryParam(i,"hideRulePushOptions");s&&(this.hideRulePushOptions="true"===s||"1"===s,this.loggerService.debug("hideRulePushOptions set to ",this.hideRulePushOptions)),this.configureUser(i,t)}catch(i){this.loggerService.error("Could not set baseUrl automatically.",i)}}static parseQueryParam(t,e){let i=-1,r=null;if(e+="=",t&&t.length&&(i=t.indexOf(e)),i>=0){let o=t.indexOf("&",i);o=-1!==o?o:t.length,r=t.substring(i+e.length,o)}return r}configureUser(t,e){e.suppressAlerts="true"===zs.parseQueryParam(t,"suppressAlerts")}}zs.\u0275fac=function(t){return new(t||zs)(F(nh),F(Co))},zs.\u0275prov=H({token:zs,factory:zs.\u0275fac});class zp{isIE11(){return"Netscape"===navigator.appName&&-1!==navigator.appVersion.indexOf("Trident")}}function zi(n){return function(e){const i=new See(n),r=e.lift(i);return i.caught=r}}zp.\u0275fac=function(t){return new(t||zp)},zp.\u0275prov=H({token:zp,factory:zp.\u0275fac});class See{constructor(t){this.selector=t}call(t,e){return e.subscribe(new Eee(t,this.selector,this.caught))}}class Eee extends Xo{constructor(t,e,i){super(t),this.selector=e,this.caught=i}error(t){if(!this.isStopped){let e;try{e=this.selector(t,this.caught)}catch(o){return void super.error(o)}this._unsubscribeAndRecycle();const i=new Wn(this);this.add(i);const r=uc(e,i);r!==i&&this.add(r)}}}var $c=(()=>(function(n){n[n.BAD_REQUEST=400]="BAD_REQUEST",n[n.FORBIDDEN=403]="FORBIDDEN",n[n.NOT_FOUND=404]="NOT_FOUND",n[n.NO_CONTENT=204]="NO_CONTENT",n[n.SERVER_ERROR=500]="SERVER_ERROR",n[n.UNAUTHORIZED=401]="UNAUTHORIZED"}($c||($c={})),$c))();const Oee_1="Could not connect to server.";class U1{constructor(t,e,i,r,o){this.code=t,this.message=e,this.request=i,this.response=r,this.source=o}}class H1{constructor(t){this.resp=t;try{this.bodyJsonObject=t.body,this.headers=t.headers}catch{this.bodyJsonObject=null}}header(t){return this.headers.get(t)}get i18nMessagesMap(){return this.bodyJsonObject.i18nMessagesMap}get contentlets(){return this.bodyJsonObject.contentlets}get entity(){return this.bodyJsonObject.entity}get tempFiles(){return this.bodyJsonObject.tempFiles}get errorsMessages(){let t="";return this.bodyJsonObject.errors?this.bodyJsonObject.errors.forEach(e=>{t+=e.message}):t=this.bodyJsonObject.messages.toString(),t}get status(){return this.resp.status}get response(){return this.resp}existError(t){return this.bodyJsonObject.errors&&this.bodyJsonObject.errors.filter(e=>e.errorCode===t).length>0}}class Zr extends ue{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new ve;return this._value}next(t){super.next(this._value=t)}}const Fv=(()=>{function n(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return n.prototype=Object.create(Error.prototype),n})();class BR extends re{notifyNext(t,e,i,r,o){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class kee extends re{constructor(t,e,i){super(),this.parent=t,this.outerValue=e,this.outerIndex=i,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function UR(n,t,e,i,r=new kee(n,e,i)){if(!r.closed)return t instanceof Ee?t.subscribe(r):$e(t)(r)}const HR={};function jv(...n){let t,e;return Mi(n[n.length-1])&&(e=n.pop()),"function"==typeof n[n.length-1]&&(t=n.pop()),1===n.length&&R(n[0])&&(n=n[0]),tl(n,e).lift(new Nee(t))}class Nee{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new Pee(t,this.resultSelector))}}class Pee extends BR{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(HR),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let i=0;i{let e;try{e=n()}catch(r){return void t.error(r)}return(e?Et(e):W_()).subscribe(t)})}function ih(n=null){return t=>t.lift(new Lee(n))}class Lee{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new Ree(t,this.defaultValue))}}class Ree extends re{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function WR(n=zee){return t=>t.lift(new Fee(n))}class Fee{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new jee(t,this.errorFactory))}}class jee extends re{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function zee(){return new Fv}function Ml(n,t){const e=arguments.length>=2;return i=>i.pipe(n?Tn((r,o)=>n(r,o,i)):z,At(1),e?ih(t):WR(()=>new Fv))}function zv(n,t){let e=!1;return arguments.length>=2&&(e=!0),function(r){return r.lift(new Vee(n,t,e))}}class Vee{constructor(t,e,i=!1){this.accumulator=t,this.seed=e,this.hasSeed=i}call(t,e){return e.subscribe(new Bee(t,this.accumulator,this.seed,this.hasSeed))}}class Bee extends re{constructor(t,e,i,r){super(t),this.accumulator=e,this._seed=i,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let i;try{i=this.accumulator(this.seed,t,e)}catch(r){this.destination.error(r)}this.seed=i,this.destination.next(i)}}function Vp(n){return function(e){return 0===n?W_():e.lift(new Uee(n))}}class Uee{constructor(t){if(this.total=t,this.total<0)throw new fR}call(t,e){return e.subscribe(new Hee(t,this.total))}}class Hee extends re{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,i=this.total,r=this.count++;e.length0){const i=this.count>=this.total?this.total:this.count,r=this.ring;for(let o=0;o=2;return i=>i.pipe(n?Tn((r,o)=>n(r,o,i)):z,Vp(1),e?ih(t):WR(()=>new Fv))}class Wee{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new Gee(t,this.predicate,this.inclusive))}}class Gee extends re{constructor(t,e,i){super(t),this.predicate=e,this.inclusive=i,this.index=0}_next(t){const e=this.destination;let i;try{i=this.predicate(t,this.index++)}catch(r){return void e.error(r)}this.nextOrComplete(t,i)}nextOrComplete(t,e){const i=this.destination;Boolean(e)?i.next(t):(this.inclusive&&i.next(t),i.complete())}}class qee{constructor(t){this.value=t}call(t,e){return e.subscribe(new Kee(t,this.value))}}class Kee extends re{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}function $1(n){return t=>t.lift(new Qee(n))}class Qee{constructor(t){this.callback=t}call(t,e){return e.subscribe(new Zee(t,this.callback))}}class Zee extends re{constructor(t,e){super(t),this.add(new ce(e))}}const Rt="primary",Bp=Symbol("RouteTitle");class Jee{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function rh(n){return new Jee(n)}function Xee(n,t,e){const i=e.path.split("/");if(i.length>n.length||"full"===e.pathMatch&&(t.hasChildren()||i.lengthi[o]===r)}return n===t}function qR(n){return Array.prototype.concat.apply([],n)}function KR(n){return n.length>0?n[n.length-1]:null}function Zi(n,t){for(const e in n)n.hasOwnProperty(e)&&t(n[e],e)}function Sl(n){return cT(n)?n:ep(n)?Et(Promise.resolve(n)):Fe(n)}const Vv=!1,tte={exact:function JR(n,t,e){if(!Gc(n.segments,t.segments)||!Bv(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(const i in t.children)if(!n.children[i]||!JR(n.children[i],t.children[i],e))return!1;return!0},subset:XR},QR={exact:function nte(n,t){return Vs(n,t)},subset:function ite(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>YR(n[e],t[e]))},ignored:()=>!0};function ZR(n,t,e){return tte[e.paths](n.root,t.root,e.matrixParams)&&QR[e.queryParams](n.queryParams,t.queryParams)&&!("exact"===e.fragment&&n.fragment!==t.fragment)}function XR(n,t,e){return eF(n,t,t.segments,e)}function eF(n,t,e,i){if(n.segments.length>e.length){const r=n.segments.slice(0,e.length);return!(!Gc(r,e)||t.hasChildren()||!Bv(r,e,i))}if(n.segments.length===e.length){if(!Gc(n.segments,e)||!Bv(n.segments,e,i))return!1;for(const r in t.children)if(!n.children[r]||!XR(n.children[r],t.children[r],i))return!1;return!0}{const r=e.slice(0,n.segments.length),o=e.slice(n.segments.length);return!!(Gc(n.segments,r)&&Bv(n.segments,r,i)&&n.children[Rt])&&eF(n.children[Rt],t,o,i)}}function Bv(n,t,e){return t.every((i,r)=>QR[e](n[r].parameters,i.parameters))}class Wc{constructor(t=new jt([],{}),e={},i=null){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=rh(this.queryParams)),this._queryParamMap}toString(){return ste.serialize(this)}}class jt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Zi(e,(i,r)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Uv(this)}}class Up{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=rh(this.parameters)),this._parameterMap}toString(){return iF(this)}}function Gc(n,t){return n.length===t.length&&n.every((e,i)=>e.path===t[i].path)}let Hp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:function(){return new W1},providedIn:"root"}),n})();class W1{parse(t){const e=new mte(t);return new Wc(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${$p(t.root,!0)}`,i=function cte(n){const t=Object.keys(n).map(e=>{const i=n[e];return Array.isArray(i)?i.map(r=>`${Hv(e)}=${Hv(r)}`).join("&"):`${Hv(e)}=${Hv(i)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(t.queryParams),r="string"==typeof t.fragment?`#${function ate(n){return encodeURI(n)}(t.fragment)}`:"";return`${e}${i}${r}`}}const ste=new W1;function Uv(n){return n.segments.map(t=>iF(t)).join("/")}function $p(n,t){if(!n.hasChildren())return Uv(n);if(t){const e=n.children[Rt]?$p(n.children[Rt],!1):"",i=[];return Zi(n.children,(r,o)=>{o!==Rt&&i.push(`${o}:${$p(r,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function ote(n,t){let e=[];return Zi(n.children,(i,r)=>{r===Rt&&(e=e.concat(t(i,r)))}),Zi(n.children,(i,r)=>{r!==Rt&&(e=e.concat(t(i,r)))}),e}(n,(i,r)=>r===Rt?[$p(n.children[Rt],!1)]:[`${r}:${$p(i,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[Rt]?`${Uv(n)}/${e[0]}`:`${Uv(n)}/(${e.join("//")})`}}function tF(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Hv(n){return tF(n).replace(/%3B/gi,";")}function G1(n){return tF(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function $v(n){return decodeURIComponent(n)}function nF(n){return $v(n.replace(/\+/g,"%20"))}function iF(n){return`${G1(n.path)}${function lte(n){return Object.keys(n).map(t=>`;${G1(t)}=${G1(n[t])}`).join("")}(n.parameters)}`}const ute=/^[^\/()?;=#]+/;function Wv(n){const t=n.match(ute);return t?t[0]:""}const dte=/^[^=?&#]+/,fte=/^[^&#]+/;class mte{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new jt([],{}):new jt([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i[Rt]=new jt(t,e)),i}parseSegment(){const t=Wv(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new J(4009,Vv);return this.capture(t),new Up($v(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Wv(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=Wv(this.remaining);r&&(i=r,this.capture(i))}t[$v(e)]=$v(i)}parseQueryParam(t){const e=function hte(n){const t=n.match(dte);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=function pte(n){const t=n.match(fte);return t?t[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=nF(e),o=nF(i);if(t.hasOwnProperty(r)){let s=t[r];Array.isArray(s)||(s=[s],t[r]=s),s.push(o)}else t[r]=o}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=Wv(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new J(4010,Vv);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=Rt);const s=this.parseChildren();e[o]=1===Object.keys(s).length?s[Rt]:new jt([],s),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new J(4011,Vv)}}function Y1(n){return n.segments.length>0?new jt([],{[Rt]:n}):n}function Gv(n){const t={};for(const i of Object.keys(n.children)){const o=Gv(n.children[i]);(o.segments.length>0||o.hasChildren())&&(t[i]=o)}return function gte(n){if(1===n.numberOfChildren&&n.children[Rt]){const t=n.children[Rt];return new jt(n.segments.concat(t.segments),t.children)}return n}(new jt(n.segments,t))}function Yc(n){return n instanceof Wc}function vte(n,t,e,i,r){if(0===e.length)return oh(t.root,t.root,t.root,i,r);const o=function sF(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new oF(!0,0,n);let t=0,e=!1;const i=n.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Zi(o.outlets,(l,c)=>{a[c]="string"==typeof l?l.split("/"):l}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?t++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new oF(e,t,i)}(e);return o.toRoot()?oh(t.root,t.root,new jt([],{}),i,r):function s(l){const c=function Cte(n,t,e,i){if(n.isAbsolute)return new sh(t.root,!0,0);if(-1===i)return new sh(e,e===t.root,0);return function aF(n,t,e){let i=n,r=t,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new J(4005,!1);r=i.segments.length}return new sh(i,!1,r-o)}(e,i+(Wp(n.commands[0])?0:1),n.numberOfDoubleDots)}(o,t,n.snapshot?._urlSegment,l),u=c.processChildren?Yp(c.segmentGroup,c.index,o.commands):K1(c.segmentGroup,c.index,o.commands);return oh(t.root,c.segmentGroup,u,i,r)}(n.snapshot?._lastPathIndex)}function Wp(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function Gp(n){return"object"==typeof n&&null!=n&&n.outlets}function oh(n,t,e,i,r){let s,o={};i&&Zi(i,(l,c)=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`}),s=n===t?e:rF(n,t,e);const a=Y1(Gv(s));return new Wc(a,o,r)}function rF(n,t,e){const i={};return Zi(n.children,(r,o)=>{i[o]=r===t?e:rF(r,t,e)}),new jt(n.segments,i)}class oF{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&Wp(i[0]))throw new J(4003,!1);const r=i.find(Gp);if(r&&r!==KR(i))throw new J(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class sh{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function K1(n,t,e){if(n||(n=new jt([],{})),0===n.segments.length&&n.hasChildren())return Yp(n,t,e);const i=function Tte(n,t,e){let i=0,r=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return o;const s=n.segments[r],a=e[i];if(Gp(a))break;const l=`${a}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!cF(l,c,s))return o;i+=2}else{if(!cF(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(n,t,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof o&&(o=[o]),null!==o&&(r[s]=K1(n.children[s],t,o))}),Zi(n.children,(o,s)=>{void 0===i[s]&&(r[s]=o)}),new jt(n.segments,r)}}function Q1(n,t,e){const i=n.segments.slice(0,t);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(t[i]=Q1(new jt([],{}),0,e))}),t}function lF(n){const t={};return Zi(n,(e,i)=>t[i]=`${e}`),t}function cF(n,t,e){return n==e.path&&Vs(t,e.parameters)}const qp="imperative";class Bs{constructor(t,e){this.id=t,this.url=e}}class Z1 extends Bs{constructor(t,e,i="imperative",r=null){super(t,e),this.type=0,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class qc extends Bs{constructor(t,e,i){super(t,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Yv extends Bs{constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class uF extends Bs{constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r,this.type=16}}class dF extends Bs{constructor(t,e,i,r){super(t,e),this.error=i,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Mte extends Bs{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ste extends Bs{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ete extends Bs{constructor(t,e,i,r,o){super(t,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class xte extends Bs{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ite extends Bs{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ote{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ate{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class kte{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Nte{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Pte{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Lte{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hF{constructor(t,e,i){this.routerEvent=t,this.position=e,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let Fte=(()=>{class n{createUrlTree(e,i,r,o,s,a){return vte(e||i.root,r,o,s,a)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})(),jte=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:function(t){return Fte.\u0275fac(t)},providedIn:"root"}),n})();class fF{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=J1(t,this._root);return e?e.children.map(i=>i.value):[]}firstChild(t){const e=J1(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=X1(t,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return X1(t,this._root).map(e=>e.value)}}function J1(n,t){if(n===t.value)return t;for(const e of t.children){const i=J1(n,e);if(i)return i}return null}function X1(n,t){if(n===t.value)return[t];for(const e of t.children){const i=X1(n,e);if(i.length)return i.unshift(t),i}return[]}class Fa{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function ah(n){const t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}class pF extends fF{constructor(t,e){super(t),this.snapshot=e,eM(this,t)}toString(){return this.snapshot.toString()}}function mF(n,t){const e=function zte(n,t){const s=new qv([],{},{},"",{},Rt,t,null,n.root,-1,{});return new yF("",new Fa(s,[]))}(n,t),i=new Zr([new Up("",{})]),r=new Zr({}),o=new Zr({}),s=new Zr({}),a=new Zr(""),l=new lh(i,r,s,a,o,Rt,t,e.root);return l.snapshot=e.root,new pF(new Fa(l,[]),e)}class lh{constructor(t,e,i,r,o,s,a,l){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.pipe(fe(c=>c[Bp]))??Fe(void 0),this._futureSnapshot=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(fe(t=>rh(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(fe(t=>rh(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function gF(n,t="emptyOnly"){const e=n.pathFromRoot;let i=0;if("always"!==t)for(i=e.length-1;i>=1;){const r=e[i],o=e[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function Vte(n){return n.reduce((t,e)=>({params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class qv{get title(){return this.data?.[Bp]}constructor(t,e,i,r,o,s,a,l,c,u,d){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=u,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=rh(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=rh(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class yF extends fF{constructor(t,e){super(e),this.url=t,eM(this,e)}toString(){return _F(this._root)}}function eM(n,t){t.value._routerState=n,t.children.forEach(e=>eM(n,e))}function _F(n){const t=n.children.length>0?` { ${n.children.map(_F).join(", ")} } `:"";return`${n.value}${t}`}function tM(n){if(n.snapshot){const t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,Vs(t.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),t.fragment!==e.fragment&&n.fragment.next(e.fragment),Vs(t.params,e.params)||n.params.next(e.params),function ete(n,t){if(n.length!==t.length)return!1;for(let e=0;eVs(e.parameters,t[i].parameters))}(n.url,t.url);return e&&!(!n.parent!=!t.parent)&&(!n.parent||nM(n.parent,t.parent))}function Kp(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=t.value;const r=function Ute(n,t,e){return t.children.map(i=>{for(const r of e.children)if(n.shouldReuseRoute(i.value,r.value.snapshot))return Kp(n,i,r);return Kp(n,i)})}(n,t,e);return new Fa(i,r)}{if(n.shouldAttach(t.value)){const o=n.retrieve(t.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Kp(n,a)),s}}const i=function Hte(n){return new lh(new Zr(n.url),new Zr(n.params),new Zr(n.queryParams),new Zr(n.fragment),new Zr(n.data),n.outlet,n.component,n)}(t.value),r=t.children.map(o=>Kp(n,o));return new Fa(i,r)}}const iM="ngNavigationCancelingError";function vF(n,t){const{redirectTo:e,navigationBehaviorOptions:i}=Yc(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=bF(!1,0,t);return r.url=e,r.navigationBehaviorOptions=i,r}function bF(n,t,e){const i=new Error("NavigationCancelingError: "+(n||""));return i[iM]=!0,i.cancellationCode=t,e&&(i.url=e),i}function CF(n){return wF(n)&&Yc(n.url)}function wF(n){return n&&n[iM]}class $te{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Qp,this.attachRef=null}}let Qp=(()=>{class n{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new $te,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Kv=!1;let TF=(()=>{class n{constructor(){this.activated=null,this._activatedRoute=null,this.name=Rt,this.activateEvents=new Q,this.deactivateEvents=new Q,this.attachEvents=new Q,this.detachEvents=new Q,this.parentContexts=st(Qp),this.location=st(Gr),this.changeDetector=st(In),this.environmentInjector=st(Is)}ngOnChanges(e){if(e.name){const{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new J(4012,Kv);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new J(4012,Kv);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new J(4012,Kv);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new J(4013,Kv);this._activatedRoute=e;const r=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new Wte(e,a,r.injector);if(i&&function Gte(n){return!!n.resolveComponentFactory}(i)){const c=i.resolveComponentFactory(s);this.activated=r.createComponent(c,r.length,l)}else this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=Ce({type:n,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Gi]}),n})();class Wte{constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===lh?this.route:t===Qp?this.childContexts:this.parent.get(t,e)}}let rM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=we({type:n,selectors:[["ng-component"]],standalone:!0,features:[us],decls:1,vars:0,template:function(e,i){1&e&&_e(0,"router-outlet")},dependencies:[TF],encapsulation:2}),n})();function DF(n,t){return n.providers&&!n._injector&&(n._injector=m_(n.providers,t,`Route: ${n.path}`)),n._injector??t}function sM(n){const t=n.children&&n.children.map(sM),e=t?{...n,children:t}:{...n};return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==Rt&&(e.component=rM),e}function Bo(n){return n.outlet||Rt}function MF(n,t){const e=n.filter(i=>Bo(i)===t);return e.push(...n.filter(i=>Bo(i)!==t)),e}function Zp(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let t=n.parent;t;t=t.parent){const e=t.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class Zte{constructor(t,e,i,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=r}activate(t){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),tM(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const r=ah(e);t.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Zi(r,(o,s)=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(t,e,i){const r=t.value,o=e?e.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=ah(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=ah(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(t,e,i){const r=ah(e);t.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new Lte(o.value.snapshot))}),t.children.length&&this.forwardEvent(new Nte(t.value.snapshot))}activateRoutes(t,e,i){const r=t.value,o=e?e.value:null;if(tM(r),r===o)if(r.component){const s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,i);else if(r.component){const s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),tM(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=Zp(r.snapshot),l=a?.get(Mc)??null;s.attachRef=null,s.route=r,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,i)}}class SF{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Qv{constructor(t,e){this.component=t,this.route=e}}function Jte(n,t,e){const i=n._root;return Jp(i,t?t._root:null,e,[i.value])}function ch(n,t){const e=Symbol(),i=t.get(n,e);return i===e?"function"!=typeof n||function IC(n){return null!==Ku(n)}(n)?t.get(n):n:i}function Jp(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=ah(t);return n.children.forEach(s=>{(function ene(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=n.value,s=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function tne(n,t,e){if("function"==typeof e)return e(n,t);switch(e){case"pathParamsChange":return!Gc(n.url,t.url);case"pathParamsOrQueryParamsChange":return!Gc(n.url,t.url)||!Vs(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!nM(n,t)||!Vs(n.queryParams,t.queryParams);default:return!nM(n,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new SF(i)):(o.data=s.data,o._resolvedData=s._resolvedData),Jp(n,t,o.component?a?a.children:null:e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Qv(a.outlet.component,s))}else s&&Xp(t,a,r),r.canActivateChecks.push(new SF(i)),Jp(n,null,o.component?a?a.children:null:e,i,r)})(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),Zi(o,(s,a)=>Xp(s,e.getContext(a),r)),r}function Xp(n,t,e){const i=ah(n),r=n.value;Zi(i,(o,s)=>{Xp(o,r.component?t?t.children.getContext(s):null:t,e)}),e.canDeactivateChecks.push(new Qv(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}function em(n){return"function"==typeof n}function aM(n){return n instanceof Fv||"EmptyError"===n?.name}const Zv=Symbol("INITIAL_VALUE");function uh(){return li(n=>jv(n.map(t=>t.pipe(At(1),function Av(...n){const t=n[n.length-1];return Mi(t)?(n.pop(),e=>O1(n,e,t)):e=>O1(n,e)}(Zv)))).pipe(fe(t=>{for(const e of t)if(!0!==e){if(e===Zv)return Zv;if(!1===e||e instanceof Wc)return e}return!0}),Tn(t=>t!==Zv),At(1)))}function EF(n){return pe(pn(t=>{if(Yc(t))throw vF(0,t)}),fe(t=>!0===t))}const lM={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function xF(n,t,e,i,r){const o=cM(n,t,e);return o.matched?function _ne(n,t,e,i){const r=t.canMatch;return r&&0!==r.length?Fe(r.map(s=>{const a=ch(s,n);return Sl(function ane(n){return n&&em(n.canMatch)}(a)?a.canMatch(t,e):n.runInContext(()=>a(t,e)))})).pipe(uh(),EF()):Fe(!0)}(i=DF(t,i),t,e).pipe(fe(s=>!0===s?o:{...lM})):Fe(o)}function cM(n,t,e){if(""===t.path)return"full"===t.pathMatch&&(n.hasChildren()||e.length>0)?{...lM}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const r=(t.matcher||Xee)(e,n,t);if(!r)return{...lM};const o={};Zi(r.posParams,(a,l)=>{o[l]=a.path});const s=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function Jv(n,t,e,i){if(e.length>0&&function Cne(n,t,e){return e.some(i=>Xv(n,t,i)&&Bo(i)!==Rt)}(n,e,i)){const o=new jt(t,function bne(n,t,e,i){const r={};r[Rt]=i,i._sourceSegment=n,i._segmentIndexShift=t.length;for(const o of e)if(""===o.path&&Bo(o)!==Rt){const s=new jt([],{});s._sourceSegment=n,s._segmentIndexShift=t.length,r[Bo(o)]=s}return r}(n,t,i,new jt(e,n.children)));return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===e.length&&function wne(n,t,e){return e.some(i=>Xv(n,t,i))}(n,e,i)){const o=new jt(n.segments,function vne(n,t,e,i,r){const o={};for(const s of i)if(Xv(n,e,s)&&!r[Bo(s)]){const a=new jt([],{});a._sourceSegment=n,a._segmentIndexShift=t.length,o[Bo(s)]=a}return{...r,...o}}(n,t,e,i,n.children));return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:e}}const r=new jt(n.segments,n.children);return r._sourceSegment=n,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:e}}function Xv(n,t,e){return(!(n.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}function IF(n,t,e,i){return!!(Bo(n)===i||i!==Rt&&Xv(t,e,n))&&("**"===n.path||cM(t,n,e).matched)}function OF(n,t,e){return 0===t.length&&!n.children[e]}const eb=!1;class tb{constructor(t){this.segmentGroup=t||null}}class AF{constructor(t){this.urlTree=t}}function tm(n){return yo(new tb(n))}function kF(n){return yo(new AF(n))}class Sne{constructor(t,e,i,r,o){this.injector=t,this.configLoader=e,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0}apply(){const t=Jv(this.urlTree.root,[],[],this.config).segmentGroup,e=new jt(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,e,Rt).pipe(fe(o=>this.createUrlTree(Gv(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(zi(o=>{if(o instanceof AF)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof tb?this.noMatchError(o):o}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,Rt).pipe(fe(r=>this.createUrlTree(Gv(r),t.queryParams,t.fragment))).pipe(zi(r=>{throw r instanceof tb?this.noMatchError(r):r}))}noMatchError(t){return new J(4002,eb)}createUrlTree(t,e,i){const r=Y1(t);return new Wc(r,e,i)}expandSegmentGroup(t,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(t,e,i).pipe(fe(o=>new jt([],o))):this.expandSegment(t,i,e,i.segments,r,!0)}expandChildren(t,e,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return Et(r).pipe(fl(o=>{const s=i.children[o],a=MF(e,o);return this.expandSegmentGroup(t,a,s,o).pipe(fe(l=>({segment:l,outlet:o})))}),zv((o,s)=>(o[s.outlet]=s.segment,o),{}),GR())}expandSegment(t,e,i,r,o,s){return Et(i).pipe(fl(a=>this.expandSegmentAgainstRoute(t,e,i,a,r,o,s).pipe(zi(c=>{if(c instanceof tb)return Fe(null);throw c}))),Ml(a=>!!a),zi((a,l)=>{if(aM(a))return OF(e,r,o)?Fe(new jt([],{})):tm(e);throw a}))}expandSegmentAgainstRoute(t,e,i,r,o,s,a){return IF(r,e,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s):tm(e):tm(e)}expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,i,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,i,r){const o=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?kF(o):this.lineralizeSegments(i,o).pipe(ri(s=>{const a=new jt(s,{});return this.expandSegment(t,a,e,s,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=cM(e,r,o);if(!a)return tm(e);const d=this.applyRedirectCommands(l,r.redirectTo,u);return r.redirectTo.startsWith("/")?kF(d):this.lineralizeSegments(r,d).pipe(ri(h=>this.expandSegment(t,e,i,h.concat(c),s,!1)))}matchSegmentAgainstRoute(t,e,i,r,o){return"**"===i.path?(t=DF(i,t),i.loadChildren?(i._loadedRoutes?Fe({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(t,i)).pipe(fe(a=>(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,new jt(r,{})))):Fe(new jt(r,{}))):xF(e,i,r,t).pipe(li(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(t=i._injector??t,i,r).pipe(ri(u=>{const d=u.injector??t,h=u.routes,{segmentGroup:f,slicedSegments:p}=Jv(e,a,l,h),m=new jt(f.segments,f.children);if(0===p.length&&m.hasChildren())return this.expandChildren(d,h,m).pipe(fe(T=>new jt(a,T)));if(0===h.length&&0===p.length)return Fe(new jt(a,{}));const g=Bo(i)===o;return this.expandSegment(d,m,h,p,g?Rt:o,!0).pipe(fe(w=>new jt(a.concat(w.segments),w.children)))})):tm(e)))}getChildConfig(t,e,i){return e.children?Fe({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?Fe({routes:e._loadedRoutes,injector:e._loadedInjector}):function yne(n,t,e,i){const r=t.canLoad;return void 0===r||0===r.length?Fe(!0):Fe(r.map(s=>{const a=ch(s,n);return Sl(function ine(n){return n&&em(n.canLoad)}(a)?a.canLoad(t,e):n.runInContext(()=>a(t,e)))})).pipe(uh(),EF())}(t,e,i).pipe(ri(r=>r?this.configLoader.loadChildren(t,e).pipe(pn(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):function Dne(n){return yo(bF(eb,3))}())):Fe({routes:[],injector:t})}lineralizeSegments(t,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return Fe(i);if(r.numberOfChildren>1||!r.children[Rt])return yo(new J(4e3,eb));r=r.children[Rt]}}applyRedirectCommands(t,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,i)}applyRedirectCreateUrlTree(t,e,i,r){const o=this.createSegmentGroup(t,e.root,i,r);return new Wc(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return Zi(t,(r,o)=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[o]=e[a]}else i[o]=r}),i}createSegmentGroup(t,e,i,r){const o=this.createSegments(t,e.segments,i,r);let s={};return Zi(e.children,(a,l)=>{s[l]=this.createSegmentGroup(t,a,i,r)}),new jt(o,s)}createSegments(t,e,i,r){return e.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,r):this.findOrReturn(o,i))}findPosParam(t,e,i){const r=i[e.path.substring(1)];if(!r)throw new J(4001,eb);return r}findOrReturn(t,e){let i=0;for(const r of e){if(r.path===t.path)return e.splice(i),r;i++}return t}}class xne{}class Ane{constructor(t,e,i,r,o,s,a){this.injector=t,this.rootComponentType=e,this.config=i,this.urlTree=r,this.url=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a}recognize(){const t=Jv(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,Rt).pipe(fe(e=>{if(null===e)return null;const i=new qv([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Rt,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Fa(i,e),o=new yF(this.url,r);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(t){const e=t.value,i=gF(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(t,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(t,e,i):this.processSegment(t,e,i,i.segments,r)}processChildren(t,e,i){return Et(Object.keys(i.children)).pipe(fl(r=>{const o=i.children[r],s=MF(e,r);return this.processSegmentGroup(t,s,o,r)}),zv((r,o)=>r&&o?(r.push(...o),r):null),function $ee(n,t=!1){return e=>e.lift(new Wee(n,t))}(r=>null!==r),ih(null),GR(),fe(r=>{if(null===r)return null;const o=PF(r);return function kne(n){n.sort((t,e)=>t.value.outlet===Rt?-1:e.value.outlet===Rt?1:t.value.outlet.localeCompare(e.value.outlet))}(o),o}))}processSegment(t,e,i,r,o){return Et(e).pipe(fl(s=>this.processSegmentAgainstRoute(s._injector??t,s,i,r,o)),Ml(s=>!!s),zi(s=>{if(aM(s))return OF(i,r,o)?Fe([]):Fe(null);throw s}))}processSegmentAgainstRoute(t,e,i,r,o){if(e.redirectTo||!IF(e,i,r,o))return Fe(null);let s;if("**"===e.path){const a=r.length>0?KR(r).parameters:{},l=RF(i)+r.length;s=Fe({snapshot:new qv(r,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,FF(e),Bo(e),e.component??e._loadedComponent??null,e,LF(i),l,jF(e)),consumedSegments:[],remainingSegments:[]})}else s=xF(i,e,r,t).pipe(fe(({matched:a,consumedSegments:l,remainingSegments:c,parameters:u})=>{if(!a)return null;const d=RF(i)+l.length;return{snapshot:new qv(l,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,FF(e),Bo(e),e.component??e._loadedComponent??null,e,LF(i),d,jF(e)),consumedSegments:l,remainingSegments:c}}));return s.pipe(li(a=>{if(null===a)return Fe(null);const{snapshot:l,consumedSegments:c,remainingSegments:u}=a;t=e._injector??t;const d=e._loadedInjector??t,h=function Nne(n){return n.children?n.children:n.loadChildren?n._loadedRoutes:[]}(e),{segmentGroup:f,slicedSegments:p}=Jv(i,c,u,h.filter(g=>void 0===g.redirectTo));if(0===p.length&&f.hasChildren())return this.processChildren(d,h,f).pipe(fe(g=>null===g?null:[new Fa(l,g)]));if(0===h.length&&0===p.length)return Fe([new Fa(l,[])]);const m=Bo(e)===o;return this.processSegment(d,h,f,p,m?Rt:o).pipe(fe(g=>null===g?null:[new Fa(l,g)]))}))}}function Pne(n){const t=n.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function PF(n){const t=[],e=new Set;for(const i of n){if(!Pne(i)){t.push(i);continue}const r=t.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),e.add(r)):t.push(i)}for(const i of e){const r=PF(i.children);t.push(new Fa(i.value,r))}return t.filter(i=>!e.has(i))}function LF(n){let t=n;for(;t._sourceSegment;)t=t._sourceSegment;return t}function RF(n){let t=n,e=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,e+=t._segmentIndexShift??0;return e-1}function FF(n){return n.data||{}}function jF(n){return n.resolve||{}}function zF(n){return"string"==typeof n.title||null===n.title}function uM(n){return li(t=>{const e=n(t);return e?Et(e).pipe(fe(()=>t)):Fe(t)})}const dh=new Me("ROUTES");let dM=(()=>{class n{constructor(e,i){this.injector=e,this.compiler=i,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return Fe(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=Sl(e.loadComponent()).pipe(fe(BF),pn(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),$1(()=>{this.componentLoaders.delete(e)})),r=new Wu(i,()=>new ue).pipe(dc());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return Fe({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(fe(a=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,c,u=!1;Array.isArray(a)?c=a:(l=a.create(e).injector,c=qR(l.get(dh,[],nt.Self|nt.Optional)));return{routes:c.map(sM),injector:l}}),$1(()=>{this.childrenLoaders.delete(i)})),s=new Wu(o,()=>new ue).pipe(dc());return this.childrenLoaders.set(i,s),s}loadModuleFactoryOrRoutes(e){return Sl(e()).pipe(fe(BF),ri(r=>r instanceof Tk||Array.isArray(r)?Fe(r):Et(this.compiler.compileModuleAsync(r))))}}return n.\u0275fac=function(e){return new(e||n)(F(Dr),F(fN))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function BF(n){return function Hne(n){return n&&"object"==typeof n&&"default"in n}(n)?n.default:n}let ib=(()=>{class n{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new ue,this.configLoader=st(dM),this.environmentInjector=st(Is),this.urlSerializer=st(Hp),this.rootContexts=st(Qp),this.navigationId=0,this.afterPreactivation=()=>Fe(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=r=>this.events.next(new Ate(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new Ote(r))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:i})}setupNavigations(e){return this.transitions=new Zr({id:0,targetPageId:0,currentUrlTree:e.currentUrlTree,currentRawUrl:e.currentUrlTree,extractedUrl:e.urlHandlingStrategy.extract(e.currentUrlTree),urlAfterRedirects:e.urlHandlingStrategy.extract(e.currentUrlTree),rawUrl:e.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:qp,restoredState:null,currentSnapshot:e.routerState.snapshot,targetSnapshot:null,currentRouterState:e.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Tn(i=>0!==i.id),fe(i=>({...i,extractedUrl:e.urlHandlingStrategy.extract(i.rawUrl)})),li(i=>{let r=!1,o=!1;return Fe(i).pipe(pn(s=>{this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),li(s=>{const a=e.browserUrlTree.toString(),l=!e.navigated||s.extractedUrl.toString()!==a||a!==e.currentUrlTree.toString();if(!l&&"reload"!==(s.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const u="";return this.events.next(new uF(s.id,e.serializeUrl(i.rawUrl),u,0)),e.rawUrlTree=s.rawUrl,s.resolve(null),Ls}if(e.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return UF(s.source)&&(e.browserUrlTree=s.extractedUrl),Fe(s).pipe(li(u=>{const d=this.transitions?.getValue();return this.events.next(new Z1(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),d!==this.transitions?.getValue()?Ls:Promise.resolve(u)}),function Ene(n,t,e,i){return li(r=>function Mne(n,t,e,i,r){return new Sne(n,t,e,i,r).apply()}(n,t,e,r.extractedUrl,i).pipe(fe(o=>({...r,urlAfterRedirects:o}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,e.config),pn(u=>{this.currentNavigation={...this.currentNavigation,finalUrl:u.urlAfterRedirects},i.urlAfterRedirects=u.urlAfterRedirects}),function Rne(n,t,e,i,r){return ri(o=>function One(n,t,e,i,r,o,s="emptyOnly"){return new Ane(n,t,e,i,r,s,o).recognize().pipe(li(a=>null===a?function Ine(n){return new Ee(t=>t.error(n))}(new xne):Fe(a)))}(n,t,e,o.urlAfterRedirects,i.serialize(o.urlAfterRedirects),i,r).pipe(fe(s=>({...o,targetSnapshot:s}))))}(this.environmentInjector,this.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),pn(u=>{if(i.targetSnapshot=u.targetSnapshot,"eager"===e.urlUpdateStrategy){if(!u.extras.skipLocationChange){const h=e.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl);e.setBrowserUrl(h,u)}e.browserUrlTree=u.urlAfterRedirects}const d=new Mte(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}));if(l&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){const{id:u,extractedUrl:d,source:h,restoredState:f,extras:p}=s,m=new Z1(u,this.urlSerializer.serialize(d),h,f);this.events.next(m);const g=mF(d,this.rootComponentType).snapshot;return Fe(i={...s,targetSnapshot:g,urlAfterRedirects:d,extras:{...p,skipLocationChange:!1,replaceUrl:!1}})}{const u="";return this.events.next(new uF(s.id,e.serializeUrl(i.extractedUrl),u,1)),e.rawUrlTree=s.rawUrl,s.resolve(null),Ls}}),pn(s=>{const a=new Ste(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),fe(s=>i={...s,guards:Jte(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function cne(n,t){return ri(e=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return 0===s.length&&0===o.length?Fe({...e,guardsResult:!0}):function une(n,t,e,i){return Et(n).pipe(ri(r=>function gne(n,t,e,i,r){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?Fe(o.map(a=>{const l=Zp(t)??r,c=ch(a,l);return Sl(function sne(n){return n&&em(n.canDeactivate)}(c)?c.canDeactivate(n,t,e,i):l.runInContext(()=>c(n,t,e,i))).pipe(Ml())})).pipe(uh()):Fe(!0)}(r.component,r.route,e,t,i)),Ml(r=>!0!==r,!0))}(s,i,r,n).pipe(ri(a=>a&&function nne(n){return"boolean"==typeof n}(a)?function dne(n,t,e,i){return Et(t).pipe(fl(r=>O1(function fne(n,t){return null!==n&&t&&t(new kte(n)),Fe(!0)}(r.route.parent,i),function hne(n,t){return null!==n&&t&&t(new Pte(n)),Fe(!0)}(r.route,i),function mne(n,t,e){const i=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>function Xte(n){const t=n.routeConfig?n.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:n,guards:t}:null}(s)).filter(s=>null!==s).map(s=>$R(()=>Fe(s.guards.map(l=>{const c=Zp(s.node)??e,u=ch(l,c);return Sl(function one(n){return n&&em(n.canActivateChild)}(u)?u.canActivateChild(i,n):c.runInContext(()=>u(i,n))).pipe(Ml())})).pipe(uh())));return Fe(o).pipe(uh())}(n,r.path,e),function pne(n,t,e){const i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return Fe(!0);const r=i.map(o=>$R(()=>{const s=Zp(t)??e,a=ch(o,s);return Sl(function rne(n){return n&&em(n.canActivate)}(a)?a.canActivate(t,n):s.runInContext(()=>a(t,n))).pipe(Ml())}));return Fe(r).pipe(uh())}(n,r.route,e))),Ml(r=>!0!==r,!0))}(i,o,n,t):Fe(a)),fe(a=>({...e,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),pn(s=>{if(i.guardsResult=s.guardsResult,Yc(s.guardsResult))throw vF(0,s.guardsResult);const a=new Ete(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),Tn(s=>!!s.guardsResult||(e.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),uM(s=>{if(s.guards.canActivateChecks.length)return Fe(s).pipe(pn(a=>{const l=new xte(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),li(a=>{let l=!1;return Fe(a).pipe(function Fne(n,t){return ri(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return Fe(e);let o=0;return Et(r).pipe(fl(s=>function jne(n,t,e,i){const r=n.routeConfig,o=n._resolve;return void 0!==r?.title&&!zF(r)&&(o[Bp]=r.title),function zne(n,t,e,i){const r=function Vne(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}(n);if(0===r.length)return Fe({});const o={};return Et(r).pipe(ri(s=>function Bne(n,t,e,i){const r=Zp(t)??i,o=ch(n,r);return Sl(o.resolve?o.resolve(t,e):r.runInContext(()=>o(t,e)))}(n[s],t,e,i).pipe(Ml(),pn(a=>{o[s]=a}))),Vp(1),function Yee(n){return t=>t.lift(new qee(n))}(o),zi(s=>aM(s)?Ls:yo(s)))}(o,n,t,i).pipe(fe(s=>(n._resolvedData=s,n.data=gF(n,e).resolve,r&&zF(r)&&(n.data[Bp]=r.title),null)))}(s.route,i,n,t)),pn(()=>o++),Vp(1),ri(s=>o===r.length?Fe(e):Ls))})}(e.paramsInheritanceStrategy,this.environmentInjector),pn({next:()=>l=!0,complete:()=>{l||(e.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),pn(a=>{const l=new Ite(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),uM(s=>{const a=l=>{const c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(pn(u=>{l.component=u}),fe(()=>{})));for(const u of l.children)c.push(...a(u));return c};return jv(a(s.targetSnapshot.root)).pipe(ih(),At(1))}),uM(()=>this.afterPreactivation()),fe(s=>{const a=function Bte(n,t,e){const i=Kp(n,t._root,e?e._root:void 0);return new pF(i,t)}(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return i={...s,targetRouterState:a}}),pn(s=>{e.currentUrlTree=s.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),e.routerState=s.targetRouterState,"deferred"===e.urlUpdateStrategy&&(s.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,s),e.browserUrlTree=s.urlAfterRedirects)}),((n,t,e)=>fe(i=>(new Zte(t,i.targetRouterState,i.currentRouterState,e).activate(n),i)))(this.rootContexts,e.routeReuseStrategy,s=>this.events.next(s)),pn({next:s=>{r=!0,this.lastSuccessfulNavigation=this.currentNavigation,e.navigated=!0,this.events.next(new qc(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(e.currentUrlTree))),e.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{r=!0}}),$1(()=>{r||o||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),zi(s=>{if(o=!0,wF(s)){CF(s)||(e.navigated=!0,e.restoreHistory(i,!0));const a=new Yv(i.id,this.urlSerializer.serialize(i.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),CF(s)){const l=e.urlHandlingStrategy.merge(s.url,e.rawUrlTree),c={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||UF(i.source)};e.scheduleNavigation(l,qp,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}else i.resolve(!1)}else{e.restoreHistory(i,!0);const a=new dF(i.id,this.urlSerializer.serialize(i.extractedUrl),s,i.targetSnapshot??void 0);this.events.next(a);try{i.resolve(e.errorHandler(s))}catch(l){i.reject(l)}}return Ls}))}))}cancelNavigationTransition(e,i,r){const o=new Yv(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function UF(n){return n!==qp}let HF=(()=>{class n{buildTitle(e){let i,r=e.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===Rt);return i}getResolvedTitleForRoute(e){return e.data[Bp]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:function(){return st($ne)},providedIn:"root"}),n})(),$ne=(()=>{class n extends HF{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return n.\u0275fac=function(e){return new(e||n)(F(N2))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Wne=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:function(){return st(Yne)},providedIn:"root"}),n})();class Gne{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}let Yne=(()=>{class n extends Gne{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=ji(n)))(i||n)}}(),n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const rb=new Me("",{providedIn:"root",factory:()=>({})});let Kne=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:function(){return st(Qne)},providedIn:"root"}),n})(),Qne=(()=>{class n{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Zne(n){throw n}function Jne(n,t,e){return t.parse("/")}const Xne={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},eie={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ir=(()=>{class n{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=st(p$),this.isNgZoneEnabled=!1,this.options=st(rb,{optional:!0})||{},this.errorHandler=this.options.errorHandler||Zne,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Jne,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=st(Kne),this.routeReuseStrategy=st(Wne),this.urlCreationStrategy=st(jte),this.titleStrategy=st(HF),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=qR(st(dh,{optional:!0})??[]),this.navigationTransitions=st(ib),this.urlSerializer=st(Hp),this.location=st(QT),this.isNgZoneEnabled=st(Yt)instanceof Yt&&Yt.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Wc,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=mF(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(e=>{this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const e=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),qp,e)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{this.navigateToSyncWithBrowser(e.url,i,e.state)},0)}))}navigateToSyncWithBrowser(e,i,r){const o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){const l={...r};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(e);this.scheduleNavigation(a,i,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(e){this.config=e.map(sM),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s;let u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...o};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}return null!==u&&(u=this.removeEmptyProps(u)),this.urlCreationStrategy.createUrlTree(r,this.routerState,this.currentUrlTree,e,u,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){const r=Yc(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,qp,null,i)}navigate(e,i={skipLocationChange:!1}){return function tie(n){for(let t=0;t{const o=e[r];return null!=o&&(i[r]=o),i},{})}scheduleNavigation(e,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c,u;return s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,h)=>{a=d,l=h}),u="computed"===this.canceledNavigationResolution?r&&r.\u0275routerPageId?r.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:u,source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}setBrowserUrl(e,i){const r=this.urlSerializer.serialize(e),o={...i.extras.state,...this.generateNgRouterState(i.id,i.targetPageId)};this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl?this.location.replaceState(r,"",o):this.location.go(r,"",o)}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===r?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class WF{}let rie=(()=>{class n{constructor(e,i,r,o,s){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Tn(e=>e instanceof qc),fl(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const r=[];for(const o of i){o.providers&&!o._injector&&(o._injector=m_(o.providers,e,`Route: ${o.path}`));const s=o._injector??e,a=o._loadedInjector??s;o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent?r.push(this.preloadConfig(s,o)):(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Et(r).pipe(el())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):Fe(null);const o=r.pipe(ri(s=>null===s?Fe(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));return i.loadComponent&&!i._loadedComponent?Et([o,this.loader.loadComponent(i)]).pipe(el()):o})}}return n.\u0275fac=function(e){return new(e||n)(F(Ir),F(fN),F(Is),F(WF),F(dM))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const fM=new Me("");let GF=(()=>{class n{constructor(e,i,r,o,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Z1?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof qc&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof hF&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new hF(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return n.\u0275fac=function(e){!function IO(){throw new Error("invalid")}()},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();function Kc(n,t){return{\u0275kind:n,\u0275providers:t}}function qF(){const n=st(Dr);return t=>{const e=n.get(Oc);if(t!==e.components[0])return;const i=n.get(Ir),r=n.get(KF);1===n.get(mM)&&i.initialNavigation(),n.get(QF,null,nt.Optional)?.setUpPreloading(),n.get(fM,null,nt.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.unsubscribe())}}const KF=new Me("",{factory:()=>new ue}),mM=new Me("",{providedIn:"root",factory:()=>1});const QF=new Me("");function cie(n){return Kc(0,[{provide:QF,useExisting:rie},{provide:WF,useExisting:n}])}const ZF=new Me("ROUTER_FORROOT_GUARD"),uie=[QT,{provide:Hp,useClass:W1},Ir,Qp,{provide:lh,useFactory:function YF(n){return n.routerState.root},deps:[Ir]},dM,[]];function die(){return new bN("Router",Ir)}let JF=(()=>{class n{constructor(e){}static forRoot(e,i){return{ngModule:n,providers:[uie,[],{provide:dh,multi:!0,useValue:e},{provide:ZF,useFactory:mie,deps:[[Ir,new zf,new Vf]]},{provide:rb,useValue:i||{}},i?.useHash?{provide:kc,useClass:iW}:{provide:kc,useClass:HN},{provide:fM,useFactory:()=>{const n=st(yG),t=st(Yt),e=st(rb),i=st(ib),r=st(Hp);return e.scrollOffset&&n.setOffset(e.scrollOffset),new GF(r,i,n,t,e)}},i?.preloadingStrategy?cie(i.preloadingStrategy).\u0275providers:[],{provide:bN,multi:!0,useFactory:die},i?.initialNavigation?gie(i):[],[{provide:XF,useFactory:qF},{provide:dN,multi:!0,useExisting:XF}]]}}static forChild(e){return{ngModule:n,providers:[{provide:dh,multi:!0,useValue:e}]}}}return n.\u0275fac=function(e){return new(e||n)(F(ZF,8))},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[rM]}),n})();function mie(n){return"guarded"}function gie(n){return["disabled"===n.initialNavigation?Kc(3,[{provide:dp,multi:!0,useFactory:()=>{const t=st(Ir);return()=>{t.setUpLocationChangeListener()}}},{provide:mM,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?Kc(2,[{provide:mM,useValue:0},{provide:dp,multi:!0,deps:[Dr],useFactory:t=>{const e=t.get(tW,Promise.resolve());return()=>e.then(()=>new Promise(r=>{const o=t.get(Ir),s=t.get(KF);(function i(r){t.get(Ir).events.pipe(Tn(s=>s instanceof qc||s instanceof Yv||s instanceof dF),fe(s=>s instanceof qc||s instanceof Yv&&(0===s.code||1===s.code)&&null),Tn(s=>null!==s),At(1)).subscribe(()=>{r()})})(()=>{r(!0)}),t.get(ib).afterPreactivation=()=>(r(!0),s.closed?Fe(void 0):s),o.initialNavigation()}))}}]).\u0275providers:[]]}const XF=new Me("");class Jt{constructor(t,e,i){this.loggerService=t,this.router=e,this.http=i,this.httpErrosSubjects=[]}request(t){t.method||(t.method="GET");const e=this.getRequestOpts(t),i=t.body;return this.http.request(e).pipe(Tn(r=>r.type===Nn.Response),fe(r=>{try{return r.body}catch{return r}}),zi((r,o)=>{if(r){if(this.emitHttpError(r.status),r.status===$c.SERVER_ERROR||r.status===$c.FORBIDDEN)throw r.statusText&&r.statusText.indexOf("ECONNREFUSED")>=0?new U1(1,Oee_1,e,r,i):new U1(3,r.error.message,e,r,i);if(r.status===$c.NOT_FOUND)throw this.loggerService.error("Could not execute request: 404 path not valid.",t.url),new U1(2,r.headers.get("error-message"),e,r,i)}return null}))}requestView(t){let e;return t.method||(t.method="GET"),e=this.getRequestOpts(t),this.http.request(e).pipe(Tn(i=>i.type===Nn.Response),fe(i=>i.body&&i.body.errors&&i.body.errors.length>0?this.handleRequestViewErrors(i):new H1(i)),zi(i=>(this.emitHttpError(i.status),yo(this.handleResponseHttpErrors(i)))))}subscribeToHttpError(t){return this.httpErrosSubjects[t]||(this.httpErrosSubjects[t]=new ue),this.httpErrosSubjects[t].asObservable()}handleRequestViewErrors(t){return 401===t.status&&this.router.navigate(["/public/login"]),new H1(t)}handleResponseHttpErrors(t){return 401===t.status&&this.router.navigate(["/public/login"]),t}emitHttpError(t){this.httpErrosSubjects[t]&&this.httpErrosSubjects[t].next()}getRequestOpts(t){const e=this.getHttpHeaders(t.headers),i=this.getHttpParams(t.params),r=this.getFixedUrl(t.url);return"POST"===t.method||"PUT"===t.method||"PATCH"===t.method||"DELETE"===t.method?new Oa(t.method,r,t.body||null,{headers:e,params:i}):new Oa(t.method,r,{headers:e,params:i})}getHttpHeaders(t){let e=this.getDefaultRequestHeaders();return t&&Object.keys(t).length&&(Object.keys(t).forEach(i=>{e=e.set(i,t[i])}),"multipart/form-data"===t["Content-Type"]&&(e=e.delete("Content-Type"))),e}getFixedUrl(t){return t?.startsWith("api")?`/${t}`:(t?t.split("/")[0]:"").match(/v[1-9]/g)?`/api/${t}`:t}getHttpParams(t){if(t&&Object.keys(t).length){let e=new ps;return Object.keys(t).forEach(i=>{e=e.set(i,t[i])}),e}return null}getDefaultRequestHeaders(){return(new Kr).set("Accept","*/*").set("Content-Type","application/json")}}Jt.\u0275fac=function(t){return new(t||Jt)(F(Co),F(Ir),F(Ki))},Jt.\u0275prov=H({token:Jt,factory:Jt.\u0275fac});class im{constructor(){this.data=new ue}get showDialog$(){return this.data.asObservable()}open(t){this.data.next(t)}}im.\u0275fac=function(t){return new(t||im)},im.\u0275prov=H({token:im,factory:im.\u0275fac,providedIn:"root"});class fh{constructor(t){this.router=t}goToMain(){this.router.navigate(["/c"])}goToLogin(t){this.router.navigate(["/public/login"],t)}goToURL(t){this.router.navigate([t])}isPublicUrl(t){return t.startsWith("/public")}isFromCoreUrl(t){return t.startsWith("/fromCore")}isRootUrl(t){return"/"===t}gotoPortlet(t){this.router.navigate([`c/${t.replace(" ","_")}`])}goToForgotPassword(){this.router.navigate(["/public/forgotPassword"])}goToNotLicensed(){this.router.navigate(["c/notLicensed"])}}fh.\u0275fac=function(t){return new(t||fh)(F(Ir))},fh.\u0275prov=H({token:fh,factory:fh.\u0275fac});class Qc{constructor(t,e){this.coreWebService=t,this.loggerService=e,this.configParamsSubject=new Zr(null),this.configUrl="v1/appconfiguration",this.loadConfig()}getConfig(){return this.configParamsSubject.asObservable().pipe(Tn(t=>!!t))}loadConfig(){this.loggerService.debug("Loading configuration on: ",this.configUrl),this.coreWebService.requestView({url:this.configUrl}).pipe(xe("entity")).subscribe(t=>{this.loggerService.debug("Configuration Loaded!",t);const e={colors:t.config.colors,emailRegex:t.config.emailRegex,license:t.config.license,logos:t.config.logos,menu:t.menu,paginatorLinks:t.config["dotcms.paginator.links"],paginatorRows:t.config["dotcms.paginator.rows"],releaseInfo:{buildDate:t.config.releaseInfo?.buildDate,version:t.config.releaseInfo?.version},websocket:{websocketReconnectTime:t.config.websocket["dotcms.websocket.reconnect.time"],disabledWebsockets:t.config.websocket["dotcms.websocket.disable"]}};return this.configParamsSubject.next(e),this.loggerService.debug("this.configParams",e),t})}getTimeZones(){return this.coreWebService.requestView({url:this.configUrl}).pipe(xe("entity","config","timezones"),fe(t=>t.sort((e,i)=>e.label>i.label?1:e.label{this.connect()},0)}destroy(){this._open.complete(),this._close.complete(),this._message.complete(),this._error.complete()}}var ob=(()=>(function(n){n[n.NORMAL_CLOSE_CODE=1e3]="NORMAL_CLOSE_CODE",n[n.GO_AWAY_CODE=1001]="GO_AWAY_CODE"}(ob||(ob={})),ob))();class tj extends ej{constructor(t,e){if(super(e),this.url=t,this.dataStream=new ue,!new RegExp("wss?://").test(t))throw new Error("Invalid url provided ["+t+"]")}connect(){this.errorThrown=!1,this.loggerService.debug("Connecting with Web socket",this.url);try{this.socket=new WebSocket(this.url),this.socket.onopen=t=>{this.loggerService.debug("Web socket connected",this.url),this._open.next(t)},this.socket.onmessage=t=>{this._message.next(JSON.parse(t.data))},this.socket.onclose=t=>{this.errorThrown||(t.code===ob.NORMAL_CLOSE_CODE?(this._close.next(t),this._message.complete()):this._error.next(t))},this.socket.onerror=t=>{this.errorThrown=!0,this._error.next(t)}}catch(t){this.loggerService.debug("Web EventsSocket connection error",t),this._error.next(t)}}close(){this.socket&&3!==this.socket.readyState&&this.socket.close()}}class Tie extends ej{constructor(t,e,i){super(e),this.url=t,this.coreWebService=i,this.isClosed=!1,this.isAlreadyOpen=!1}connect(){this.connectLongPooling()}close(){this.loggerService.info("destroying long polling"),this.isClosed=!0,this.isAlreadyOpen=!1,this._close.next()}getLastCallback(t){return this.lastCallback=t.length>0?t[t.length-1].creationDate+1:this.lastCallback,this.lastCallback}connectLongPooling(t){this.isClosed=!1,this.loggerService.info("Starting long polling connection"),this.coreWebService.requestView({url:this.url,params:t?{lastCallBack:t}:{}}).pipe(xe("entity"),At(1)).subscribe(e=>{this.loggerService.debug("new Events",e),this.triggerOpen(),e instanceof Array?e.forEach(i=>{this._message.next(i)}):this._message.next(e),this.isClosed||this.connectLongPooling(this.getLastCallback(e))},e=>{this.loggerService.info("A error occur connecting through long polling"),this._error.next(e)})}triggerOpen(){this.isAlreadyOpen||(this._open.next(!0),this.isAlreadyOpen=!0)}}class Die{constructor(t,e){this.url=t,this.useSSL=e}getWebSocketURL(){return`${this.getWebSocketProtocol()}://${this.url}`}getLongPoolingURL(){return`${this.getHttpProtocol()}://${this.url}`}getWebSocketProtocol(){return this.useSSL?"wss":"ws"}getHttpProtocol(){return this.useSSL?"https":"http"}}var Jr=(()=>(function(n){n[n.NONE=0]="NONE",n[n.CONNECTING=1]="CONNECTING",n[n.RECONNECTING=2]="RECONNECTING",n[n.CONNECTED=3]="CONNECTED",n[n.CLOSED=4]="CLOSED"}(Jr||(Jr={})),Jr))();class ph{constructor(t,e,i,r){this.dotEventsSocketURL=t,this.dotcmsConfigService=e,this.loggerService=i,this.coreWebService=r,this.status=Jr.NONE,this._message=new ue,this._open=new ue}connect(){return this.init().pipe(pn(()=>{this.status=Jr.CONNECTING,this.connectProtocol()}))}destroy(){this.protocolImpl&&(this.loggerService.debug("Closing socket"),this.status=Jr.CLOSED,this.protocolImpl.close())}messages(){return this._message.asObservable()}open(){return this._open.asObservable()}isConnected(){return this.status===Jr.CONNECTED}init(){return this.dotcmsConfigService.getConfig().pipe(xe("websocket"),pn(t=>{this.webSocketConfigParams=t,this.protocolImpl=this.isWebSocketsBrowserSupport()&&!t.disabledWebsockets?this.getWebSocketProtocol():this.getLongPollingProtocol()}))}connectProtocol(){this.protocolImpl.open$().subscribe(()=>{this.status=Jr.CONNECTED,this._open.next(!0)}),this.protocolImpl.error$().subscribe(()=>{this.shouldTryWithLongPooling()?(this.loggerService.info("Error connecting with Websockets, trying again with long polling"),this.protocolImpl.destroy(),this.protocolImpl=this.getLongPollingProtocol(),this.connectProtocol()):setTimeout(()=>{this.status=this.getAfterErrorStatus(),this.protocolImpl.connect()},this.webSocketConfigParams.websocketReconnectTime)}),this.protocolImpl.close$().subscribe(t=>{this.status=Jr.CLOSED}),this.protocolImpl.message$().subscribe(t=>this._message.next(t),t=>this.loggerService.debug("Error in the System Events service: "+t.message),()=>this.loggerService.debug("Completed")),this.protocolImpl.connect()}getAfterErrorStatus(){return this.status===Jr.CONNECTING?Jr.CONNECTING:Jr.RECONNECTING}shouldTryWithLongPooling(){return this.isWebSocketProtocol()&&this.status!==Jr.CONNECTED&&this.status!==Jr.RECONNECTING}getWebSocketProtocol(){return new tj(this.dotEventsSocketURL.getWebSocketURL(),this.loggerService)}getLongPollingProtocol(){return new Tie(this.dotEventsSocketURL.getLongPoolingURL(),this.loggerService,this.coreWebService)}isWebSocketsBrowserSupport(){return"WebSocket"in window||"MozWebSocket"in window}isWebSocketProtocol(){return this.protocolImpl instanceof tj}}ph.\u0275fac=function(t){return new(t||ph)(F(Die),F(Qc),F(Co),F(Jt))},ph.\u0275prov=H({token:ph,factory:ph.\u0275fac});class El{constructor(t,e){this.dotEventsSocket=t,this.loggerService=e,this.subjects=[]}destroy(){this.dotEventsSocket.destroy(),this.messagesSub.unsubscribe()}start(){this.loggerService.debug("start DotcmsEventsService",this.dotEventsSocket.isConnected()),this.dotEventsSocket.isConnected()||(this.loggerService.debug("Connecting with socket"),this.messagesSub=this.dotEventsSocket.connect().pipe(li(()=>this.dotEventsSocket.messages())).subscribe(({event:t,payload:e})=>{this.subjects[t]||(this.subjects[t]=new ue),this.subjects[t].next(e.data)},t=>{this.loggerService.debug("Error in the System Events service: "+t.message)},()=>{this.loggerService.debug("Completed")}))}subscribeTo(t){return this.subjects[t]||(this.subjects[t]=new ue),this.subjects[t].asObservable()}subscribeToEvents(t){const e=new ue;return t.forEach(i=>{this.subscribeTo(i).subscribe(r=>{e.next({data:r,name:i})})}),e.asObservable()}open(){return this.dotEventsSocket.open()}}El.\u0275fac=function(t){return new(t||El)(F(ph),F(Co))},El.\u0275prov=H({token:El,factory:El.\u0275fac});var mh=(()=>(function(n){n.SHOW_VIDEO_THUMBNAIL="SHOW_VIDEO_THUMBNAIL"}(mh||(mh={})),mh))(),rm=(()=>(function(n){n.FULFILLED="fulfilled",n.REJECTED="rejected"}(rm||(rm={})),rm))(),sb=(()=>(function(n){n.EDIT="EDIT_MODE",n.PREVIEW="PREVIEW_MODE",n.LIVE="ADMIN_MODE"}(sb||(sb={})),sb))();class Mie{constructor(t){this._params=t}get params(){return this._params}get layout(){return this._params.layout}get page(){return this._params.page}get containers(){return this._params.containers}get containerMap(){return Object.keys(this.containers).reduce((t,e)=>({...t,[e]:this.containers[e].container}),{})}get site(){return this._params.site}get template(){return this._params.template}get canCreateTemplate(){return this._params.canCreateTemplate}get viewAs(){return this._params.viewAs}get numberContents(){return this._params.numberContents}set numberContents(t){this._params.numberContents=t}}getComputedStyle(document.body).getPropertyValue("--color-palette-black-op-20"),getComputedStyle(document.body).getPropertyValue("--color-palette-black-op-30"),getComputedStyle(document.body).getPropertyValue("--color-palette-black-op-50"),getComputedStyle(document.body).getPropertyValue("--color-palette-black-op-70");const om="variantName";var cm,Va=(()=>(function(n){n.INIT="INIT",n.LOADING="LOADING",n.LOADED="LOADED",n.SAVING="SAVING",n.IDLE="IDLE"}(Va||(Va={})),Va))();class xl{constructor(t,e){this.coreWebService=t,this.dotcmsEventsService=e,this.currentUserLanguageId="",this.country="",this.lang="",this._auth$=new ue,this._logout$=new ue,this._loginAsUsersList$=new ue,this.urls={changePassword:"v1/changePassword",getAuth:"v1/authentication/logInUser",loginAs:"v1/users/loginas",logout:"v1/logout",logoutAs:"v1/users/logoutas",recoverPassword:"v1/forgotpassword",serverInfo:"v1/loginform",userAuth:"v1/authentication",current:"/api/v1/users/current/"},e.subscribeTo("SESSION_DESTROYED").subscribe(()=>{this.logOutUser(),this.clearExperimentPersistence()}),e.subscribeTo("SESSION_LOGOUT").subscribe(()=>{this.clearExperimentPersistence()})}get auth$(){return this._auth$.asObservable()}get logout$(){return this._logout$.asObservable()}get auth(){return this._auth}get loginAsUsersList$(){return this._loginAsUsersList$.asObservable()}get isLogin$(){return this.auth&&this.auth.user?Fe(!0):this.loadAuth().pipe(fe(t=>!!t&&!!t.user))}getCurrentUser(){return this.coreWebService.request({url:this.urls.current}).pipe(fe(t=>t))}loadAuth(){return this.coreWebService.requestView({url:this.urls.getAuth}).pipe(xe("entity"),pn(t=>{t.user&&this.setAuth(t)}),fe(t=>this.getFullAuth(t)))}changePassword(t,e){const i=JSON.stringify({password:t,token:e});return this.coreWebService.requestView({body:i,method:"POST",url:this.urls.changePassword}).pipe(xe("entity"))}getLoginFormInfo(t,e){return this.setLanguage(t),this.coreWebService.requestView({body:{messagesKey:e,language:this.lang,country:this.country},method:"POST",url:this.urls.serverInfo}).pipe(xe("bodyJsonObject"))}loginAs(t){return this.coreWebService.requestView({body:{password:t.password,userId:t.user.userId},method:"POST",url:this.urls.loginAs}).pipe(fe(e=>{if(!e.entity.loginAs)throw e.errorsMessages;return this.setAuth({loginAsUser:t.user,user:this._auth.user}),e}),xe("entity","loginAs"))}loginUser({login:t,password:e,rememberMe:i,language:r,backEndLogin:o}){return this.setLanguage(r),this.coreWebService.requestView({body:{userId:t,password:e,rememberMe:i,language:this.lang,country:this.country,backEndLogin:o},method:"POST",url:this.urls.userAuth}).pipe(fe(s=>(this.setAuth({loginAsUser:null,user:s.entity}),this.coreWebService.subscribeToHttpError($c.UNAUTHORIZED).subscribe(()=>{this.logOutUser()}),s.entity)))}logoutAs(){return this.coreWebService.requestView({method:"PUT",url:`${this.urls.logoutAs}`}).pipe(fe(t=>(this.setAuth({loginAsUser:null,user:this._auth.user}),t.entity.logoutAs)))}recoverPassword(t){return this.coreWebService.requestView({body:{userId:t},method:"POST",url:this.urls.recoverPassword}).pipe(xe("entity"))}watchUser(t){this.auth&&t(this.auth),this.auth$.subscribe(e=>{e.user&&t(e)})}setAuth(t){this._auth=this.getFullAuth(t),this._auth$.next(this.getFullAuth(t)),this.currentUserLanguageId=t.user.languageId,t.user?this.dotcmsEventsService.start():this._logout$.next()}setLanguage(t){if(void 0!==t&&""!==t){const e=t.split("_");this.lang=e[0],this.country=e[1]}else this.lang="",this.country=""}logOutUser(){window.location.href=`/dotAdmin/logout?r=${(new Date).getTime()}`}getFullAuth(t){const e=!!t.loginAsUser||!!Object.keys(t.loginAsUser||{}).length;return{...t,isLoginAs:e}}clearExperimentPersistence(){sessionStorage.removeItem(om)}}xl.\u0275fac=function(t){return new(t||xl)(F(Jt),F(El))},xl.\u0275prov=H({token:xl,factory:xl.\u0275fac,providedIn:"root"});class sm{constructor(t,e,i,r){this.router=e,this.coreWebService=i,this._menusChange$=new ue,this._portletUrlSource$=new ue,this._currentPortlet$=new ue,this.urlMenus="v1/CORE_WEB/menu",this.portlets=new Map,t.watchUser(this.loadMenus.bind(this)),r.subscribeTo("UPDATE_PORTLET_LAYOUTS").subscribe(this.loadMenus.bind(this))}get currentPortletId(){return this._currentPortletId}get currentMenu(){return this.menus}get menusChange$(){return this._menusChange$.asObservable()}get portletUrl$(){return this._portletUrlSource$.asObservable()}get firstPortlet(){const t=this.portlets.entries().next().value;return t?t[0]:null}addPortletURL(t,e){this.portlets.set(t.replace(" ","_"),e)}getPortletURL(t){return this.portlets.get(t)}goToPortlet(t){this.router.gotoPortlet(t),this._currentPortletId=t}isPortlet(t){let e=this.getPortletId(t);return e.indexOf("?")>=0&&(e=e.substr(0,e.indexOf("?"))),this.portlets.has(e)}setCurrentPortlet(t){let e=this.getPortletId(t);e.indexOf("?")>=0&&(e=e.substr(0,e.indexOf("?"))),this._currentPortletId=e,this._currentPortlet$.next(e)}get currentPortlet$(){return this._currentPortlet$}setMenus(t){if(this.menus=t,this.menus.length){this.portlets=new Map;for(let e=0;e{this.setMenus(t.entity)},t=>this._menusChange$.error(t))}getPortletId(t){const e=t.split("/");return e[e.length-1]}}sm.\u0275fac=function(t){return new(t||sm)(F(xl),F(fh),F(Jt),F(El))},sm.\u0275prov=H({token:sm,factory:sm.\u0275fac});class am{constructor(t,e,i,r){this.coreWebService=i,this.loggerService=r,this.events=["SAVE_SITE","PUBLISH_SITE","UPDATE_SITE_PERMISSIONS","UN_ARCHIVE_SITE","UPDATE_SITE","ARCHIVE_SITE"],this._switchSite$=new ue,this._refreshSites$=new ue,this.urls={currentSiteUrl:"v1/site/currentSite",sitesUrl:"v1/site",switchSiteUrl:"v1/site/switch"},e.subscribeToEvents(["ARCHIVE_SITE","UPDATE_SITE"]).subscribe(o=>this.eventResponse(o)),e.subscribeToEvents(this.events).subscribe(({data:o})=>this.siteEventsHandler(o)),e.subscribeToEvents(["SWITCH_SITE"]).subscribe(({data:o})=>this.setCurrentSite(o)),t.watchUser(()=>this.loadCurrentSite())}eventResponse({name:t,data:e}){this.loggerService.debug("Capturing Site event",t,e),e.identifier===this.selectedSite.identifier&&("ARCHIVE_SITE"===t?this.switchToDefaultSite().pipe(At(1),li(r=>this.switchSite(r))).subscribe():this.loadCurrentSite())}siteEventsHandler(t){this._refreshSites$.next(t)}get refreshSites$(){return this._refreshSites$.asObservable()}get switchSite$(){return this._switchSite$.asObservable()}get currentSite(){return this.selectedSite}switchToDefaultSite(){return this.coreWebService.requestView({method:"PUT",url:"v1/site/switch"}).pipe(xe("entity"))}getSiteById(t){return this.coreWebService.requestView({url:`/api/content/render/false/query/+contentType:host%20+identifier:${t}`}).pipe(xe("contentlets"),fe(e=>e[0]))}switchSiteById(t){return this.loggerService.debug("Applying a Site Switch"),this.getSiteById(t).pipe(li(e=>e?this.switchSite(e):Fe(null)),At(1))}switchSite(t){return this.loggerService.debug("Applying a Site Switch",t.identifier),this.coreWebService.requestView({method:"PUT",url:`${this.urls.switchSiteUrl}/${t.identifier}`}).pipe(At(1),pn(()=>this.setCurrentSite(t)),fe(()=>t))}getCurrentSite(){return Cs(this.selectedSite?Fe(this.selectedSite):this.requestCurrentSite(),this.switchSite$)}requestCurrentSite(){return this.coreWebService.requestView({url:this.urls.currentSiteUrl}).pipe(xe("entity"))}setCurrentSite(t){this.selectedSite=t,this._switchSite$.next({...t})}loadCurrentSite(){this.getCurrentSite().pipe(At(1)).subscribe(t=>{this.setCurrentSite(t)})}}am.\u0275fac=function(t){return new(t||am)(F(xl),F(El),F(Jt),F(Co))},am.\u0275prov=H({token:am,factory:am.\u0275fac,providedIn:"root"});class Jc{constructor(){this.iconPath="./src/assets/images/icons",this.dotCMSURLKey="siteURLJWT"}}Jc.\u0275fac=function(t){return new(t||Jc)},Jc.\u0275prov=H({token:Jc,factory:Jc.\u0275fac});class gh{storeValue(t,e){localStorage.setItem(t,e)}getValue(t){return localStorage.getItem(t)}clearValue(t){localStorage.removeItem(t)}clear(){localStorage.clear()}}gh.\u0275fac=function(t){return new(t||gh)},gh.\u0275prov=H({token:gh,factory:gh.\u0275fac});class lm{}lm.\u0275fac=function(t){return new(t||lm)},lm.\u0275mod=et({type:lm}),lm.\u0275inj=ft({providers:[gh]});let yM=((cm=class{constructor(t){this.iconPath=t.iconPath}displayErrorMessage(t){this.displayMessage("Error",t,"error")}displaySuccessMessage(t){this.displayMessage("Success",t,"success")}displayInfoMessage(t){this.displayMessage("Info",t,"info")}displayMessage(t,e,i){let r;return r=new Notification(i,{body:e,icon:this.iconPath+"/"+i+".png"}),r}}).\u0275prov=H({token:cm,factory:cm.\u0275fac}),cm);yM=function Eie(n,t,e,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(n,t,e,i);else for(var a=n.length-1;a>=0;a--)(s=n[a])&&(o=(r<3?s(o):r>3?s(t,e,o):s(t,e))||o);return r>3&&o&&Object.defineProperty(t,e,o),o}([jy("config"),function xie(n,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(n,t)}("design:paramtypes",[Jc])],yM);class um{}um.\u0275fac=function(t){return new(t||um)},um.\u0275mod=et({type:um}),um.\u0275inj=ft({providers:[Jc,yM]});class dm{constructor(t){this._http=t}request(t){t.method||(t.method="GET");const e={params:new ps};return t.params&&Object.keys(t.params).forEach(i=>{e.params=e.params.set(i,t.params[i])}),this._http.request(new Oa(t.method,t.url,t.body,{params:e.params})).pipe(Tn(i=>i.type===Nn.Response),fe(i=>{try{return i.body}catch{return i}}))}requestView(t){t.method||(t.method="GET");const e={headers:new Kr,params:new ps};return t.params&&Object.keys(t.params).forEach(i=>{e.params=e.params.set(i,t.params[i])}),this._http.request(new Oa(t.method,t.url,t.body,{params:e.params})).pipe(Tn(i=>i.type===Nn.Response),fe(i=>new H1(i)))}subscribeTo(t){return Fe({error:t})}}function oj(n,t){return n.replace(/{(\d+)}/g,(e,i)=>typeof t[i]<"u"?t[i]:e)}dm.\u0275fac=function(t){return new(t||dm)(F(Ki))},dm.\u0275prov=H({token:dm,factory:dm.\u0275fac});class hm{constructor(){this.display=!1}show(){this.display=!0}hide(){this.display=!1}}hm.\u0275fac=function(t){return new(t||hm)},hm.\u0275prov=H({token:hm,factory:hm.\u0275fac,providedIn:"root"});class yh{constructor(t){this.coreWebService=t,this.currentUsersUrl="v1/users/current/",this.userPermissionsUrl="v1/permissions/_bypermissiontype?userid={0}",this.porletAccessUrl="v1/portlet/{0}/_doesuserhaveaccess"}getCurrentUser(){return this.coreWebService.request({url:this.currentUsersUrl}).pipe(fe(t=>t))}getUserPermissions(t,e=[],i=[]){let r=e.length?`${this.userPermissionsUrl}&permission={1}`:this.userPermissionsUrl;r=i.length?`${r}&permissiontype={2}`:r;const o=oj(r,[t,e.join(","),i.join(",")]);return this.coreWebService.requestView({url:o}).pipe(At(1),xe("entity"))}hasAccessToPortlet(t){return this.coreWebService.requestView({url:this.porletAccessUrl.replace("{0}",t)}).pipe(At(1),xe("entity","response"))}}yh.\u0275fac=function(t){return new(t||yh)(F(Jt))},yh.\u0275prov=H({token:yh,factory:yh.\u0275fac});class fm{constructor(t,e){this.coreWebService=t,this.currentUser=e,this.bundleUrl="api/bundle/getunsendbundles/userid",this.addToBundleUrl="/DotAjaxDirector/com.dotcms.publisher.ajax.RemotePublishAjaxAction/cmd/addToBundle"}getBundles(){return this.currentUser.getCurrentUser().pipe(ri(t=>this.coreWebService.requestView({url:`${this.bundleUrl}/${t.userId}`}).pipe(xe("bodyJsonObject","items"))))}addToBundle(t,e){return this.coreWebService.request({body:`assetIdentifier=${t}&bundleName=${e.name}&bundleSelect=${e.id}`,headers:{"Content-Type":"application/x-www-form-urlencoded"},method:"POST",url:this.addToBundleUrl}).pipe(fe(i=>i))}}fm.\u0275fac=function(t){return new(t||fm)(F(Jt),F(yh))},fm.\u0275prov=H({token:fm,factory:fm.\u0275fac});const aj=n=>{const t=parseInt(n,0);if(t)return t;try{return JSON.parse(n)}catch{return n}};class _h{setItem(t,e){let i;i="object"==typeof e?JSON.stringify(e):e,localStorage.setItem(t,i)}getItem(t){const e=localStorage.getItem(t);return aj(e)}removeItem(t){localStorage.removeItem(t)}clear(){localStorage.clear()}listen(t){return Ev(window,"storage").pipe(Tn(({key:e})=>e===t),fe(e=>aj(e.newValue)))}}_h.\u0275fac=function(t){return new(t||_h)},_h.\u0275prov=H({token:_h,factory:_h.\u0275fac,providedIn:"root"});const lj="default",cj="dotMessagesKeys-lang",_M="dotMessagesKeys",uj="buildDate";class To{constructor(t,e){this.http=t,this.dotLocalstorageService=e,this.messageMap={}}init(t){this.getAll(t?.language||lj,t?.buildDate||null)}get(t,...e){return this.messageMap[t]?e.length?oj(this.messageMap[t],e):this.messageMap[t]:t}getAll(t=lj,e=null){this.shouldReloadMessages(t,e)?this.http.get(this.geti18nURL(t)).pipe(At(1),xe("entity")).subscribe(i=>{this.messageMap=i,this.dotLocalstorageService.setItem(_M,this.messageMap),this.dotLocalstorageService.setItem(cj,t),this.dotLocalstorageService.setItem(uj,e)}):this.messageMap=this.dotLocalstorageService.getItem(_M)}geti18nURL(t){return`/api/v2/languages/${t||"default"}/keys`}shouldReloadMessages(t,e){const i=this.dotLocalstorageService.getItem(uj),r=this.dotLocalstorageService.getItem(cj);return!this.dotLocalstorageService.getItem(_M)||t!==r||e&&e!==i}}To.\u0275fac=function(t){return new(t||To)(F(Ki),F(_h))},To.\u0275prov=H({token:To,factory:To.\u0275fac,providedIn:"root"});class pm{constructor(t,e){this.confirmationService=t,this.dotMessageService=e,this.alertModel=null,this.confirmModel=null,this._confirmDialogOpened$=new ue}get confirmDialogOpened$(){return this._confirmDialogOpened$.asObservable()}confirm(t){t.footerLabel={accept:this.dotMessageService.get("dot.common.dialog.accept"),reject:this.dotMessageService.get("dot.common.dialog.reject"),...t.footerLabel},this.confirmModel=t,setTimeout(()=>{this.confirmationService.confirm(t),this._confirmDialogOpened$.next(!0)},0)}alert(t){t.footerLabel={accept:this.dotMessageService.get("dot.common.dialog.accept"),...t.footerLabel},this.alertModel=t,setTimeout(()=>{this._confirmDialogOpened$.next(!0)},0)}alertAccept(t){this.alertModel.accept&&this.alertModel.accept(t),this.alertModel=null}alertReject(t){this.alertModel.reject&&this.alertModel.reject(t),this.alertModel=null}clearConfirm(){this.confirmModel=null}}pm.\u0275fac=function(t){return new(t||pm)(F(WL),F(To))},pm.\u0275prov=H({token:pm,factory:pm.\u0275fac});class vh{constructor(t){this.http=t}getFiltered(t,e,i=!1){return this.http.get(`/api/v1/containers/?filter=${t}&perPage=${e}&system=${i}`).pipe(xe("entity"))}}function Lie(n,t,e){return 0===e?[t]:(n.push(t),n)}vh.\u0275fac=function(t){return new(t||vh)(F(Ki))},vh.\u0275prov=H({token:vh,factory:vh.\u0275fac});class mm{constructor(t){this.coreWebService=t}getContentType(t){return this.coreWebService.requestView({url:`v1/contenttype/id/${t}`}).pipe(At(1),xe("entity"))}getContentTypes({filter:t="",page:e=40,type:i=""}){return this.coreWebService.requestView({url:`/api/v1/contenttype?filter=${t}&orderby=name&direction=ASC&per_page=${e}${i?`&type=${i}`:""}`}).pipe(xe("entity"))}getAllContentTypes(){return this.getBaseTypes().pipe(Cf(t=>t),Tn(t=>!this.isRecentContentType(t))).pipe(function Rie(){return function Pie(n,t){return arguments.length>=2?function(i){return pe(zv(n,t),Vp(1),ih(t))(i)}:function(i){return pe(zv((r,o,s)=>n(r,o,s+1)),Vp(1))(i)}}(Lie,[])}())}filterContentTypes(t="",e=""){return this.coreWebService.requestView({body:{filter:{types:e,query:t},orderBy:"name",direction:"ASC",perPage:40},method:"POST",url:"/api/v1/contenttype/_filter"}).pipe(xe("entity"))}getUrlById(t){return this.getBaseTypes().pipe(Cf(e=>e),xe("types"),Cf(e=>e),Tn(e=>e.variable.toLocaleLowerCase()===t),xe("action"))}isContentTypeInMenu(t){return this.getUrlById(t).pipe(fe(e=>!!e),ih(!1))}saveCopyContentType(t,e){return this.coreWebService.requestView({body:{...e},method:"POST",url:`/api/v1/contenttype/${t}/_copy`}).pipe(xe("entity"))}isRecentContentType(t){return t.name.startsWith("RECENT")}getBaseTypes(){return this.coreWebService.requestView({url:"v1/contenttype/basetypes"}).pipe(xe("entity"))}}mm.\u0275fac=function(t){return new(t||mm)(F(Jt))},mm.\u0275prov=H({token:mm,factory:mm.\u0275fac});class gm{constructor(){this.contentTypeInfoCollection=[{clazz:"com.dotcms.contenttype.model.type.ImmutableSimpleContentType",icon:"event_note",label:"content"},{clazz:"com.dotcms.contenttype.model.type.ImmutableWidgetContentType",icon:"settings",label:"widget"},{clazz:"com.dotcms.contenttype.model.type.ImmutableFileAssetContentType",icon:"insert_drive_file",label:"fileasset"},{clazz:"com.dotcms.contenttype.model.type.ImmutableDotAssetContentType",icon:"file_copy",label:"dotasset"},{clazz:"com.dotcms.contenttype.model.type.ImmutablePageContentType",icon:"description",label:"htmlpage"},{clazz:"com.dotcms.contenttype.model.type.ImmutablePersonaContentType",icon:"person",label:"persona"},{clazz:"com.dotcms.contenttype.model.type.ImmutableFormContentType",icon:"format_list_bulleted",label:"form"},{clazz:"com.dotcms.contenttype.model.type.ImmutableVanityUrlContentType",icon:"format_strikethrough",label:"vanity_url"},{clazz:"com.dotcms.contenttype.model.type.ImmutableKeyValueContentType",icon:"public",label:"key_value"},{clazz:"com.dotcms.contenttype.model.type.ImmutableSimpleContentType",icon:"fa fa-newspaper-o",label:"content_old"},{clazz:"com.dotcms.contenttype.model.type.ImmutableWidgetContentType",icon:"fa fa-cog",label:"widget_old"},{clazz:"com.dotcms.contenttype.model.type.ImmutableFileAssetContentType",icon:"fa fa-file-o",label:"fileasset_old"},{clazz:"com.dotcms.contenttype.model.type.ImmutableDotAssetContentType",icon:"fa fa-files-o",label:"dotasset_old"},{clazz:"com.dotcms.contenttype.model.type.ImmutablePageContentType",icon:"fa fa-file-text-o",label:"htmlpage_old"},{clazz:"com.dotcms.contenttype.model.type.ImmutablePersonaContentType",icon:"fa fa-user",label:"persona_old"},{clazz:"com.dotcms.contenttype.model.type.ImmutableFormContentType",icon:"fa fa-list",label:"form_old"},{clazz:"com.dotcms.contenttype.model.type.ImmutableVanityUrlContentType",icon:"fa fa-map-signs",label:"vanity_url_old"},{clazz:"com.dotcms.contenttype.model.type.ImmutableKeyValueContentType",icon:"fa fa-globe",label:"key_value_old"}]}getIcon(t){return this.getItem(t,"icon")}getClazz(t){return this.getItem(t,"clazz")}getLabel(t){return this.getItem(t,"label")}getItem(t,e){let i,r=!1;if(t.indexOf("_old")>0&&(r=!0,t=t.replace("_old","")),t){t=this.getTypeName(t);for(let o=0;or.lift(function Fie({bufferSize:n=Number.POSITIVE_INFINITY,windowTime:t=Number.POSITIVE_INFINITY,refCount:e,scheduler:i}){let r,s,o=0,a=!1,l=!1;return function(u){let d;o++,!r||a?(a=!1,r=new Y_(n,t,i),d=r.subscribe(this),s=u.subscribe({next(h){r.next(h)},error(h){a=!0,r.error(h)},complete(){l=!0,s=void 0,r.complete()}}),l&&(s=void 0)):d=r.subscribe(this),this.add(()=>{o--,d.unsubscribe(),d=void 0,s&&!l&&e&&0===o&&(s.unsubscribe(),s=void 0,r=void 0)})}}(i))}_m.\u0275fac=function(t){return new(t||_m)(F(Jt))},_m.\u0275prov=H({token:_m,factory:_m.\u0275fac});class vm{constructor(t){this.http=t}copyInPage(t){const e={...t,personalization:t?.personalization||"dot:default"};return this.http.put("/api/v1/page/copyContent",e).pipe(dj(),xe("entity"))}}vm.\u0275fac=function(t){return new(t||vm)(F(Ki))},vm.\u0275prov=H({token:vm,factory:vm.\u0275fac,providedIn:"root"});class bm{constructor(t){this.coreWebService=t}postData(t,e){return this.coreWebService.requestView({body:e,method:"POST",url:`${t}`}).pipe(xe("entity"))}putData(t,e){return this.coreWebService.requestView({body:e,method:"PUT",url:`${t}`}).pipe(xe("entity"))}getDataById(t,e,i="entity"){return this.coreWebService.requestView({url:`${t}/id/${e}`}).pipe(xe(i))}delete(t,e){return this.coreWebService.requestView({method:"DELETE",url:`${t}/${e}`}).pipe(xe("entity"))}}bm.\u0275fac=function(t){return new(t||bm)(F(Jt))},bm.\u0275prov=H({token:bm,factory:bm.\u0275fac});class Cm{constructor(t){this.coreWebService=t}get(){return this.coreWebService.requestView({url:["api","content","respectFrontendRoles/false","render/false","query/+contentType:previewDevice +live:true +deleted:false +working:true","limit/40/orderby/title"].join("/")}).pipe(xe("contentlets"))}}Cm.\u0275fac=function(t){return new(t||Cm)(F(Jt))},Cm.\u0275prov=H({token:Cm,factory:Cm.\u0275fac});class Ba{setVariationId(t){sessionStorage.setItem(om,t)}getVariationId(){return sessionStorage.getItem(om)||"DEFAULT"}removeVariantId(){sessionStorage.removeItem(om)}}Ba.\u0275fac=function(t){return new(t||Ba)},Ba.\u0275prov=H({token:Ba,factory:Ba.\u0275fac});class wm{constructor(t,e){this.coreWebService=t,this.dotSessionStorageService=e}save(t,e){const i={method:"POST",body:e,url:`v1/page/${t}/content`},r=this.dotSessionStorageService.getVariationId();return r&&(i.params={variantName:r}),this.coreWebService.requestView(i).pipe(xe("entity"))}whatChange(t,e){return this.coreWebService.requestView({url:`v1/page/${t}/render/versions?langId=${e}`}).pipe(xe("entity"))}}wm.\u0275fac=function(t){return new(t||wm)(F(Jt),F(Ba))},wm.\u0275prov=H({token:wm,factory:wm.\u0275fac});var lb=(()=>(function(n){n.ASC="ASC",n.DESC="DESC"}(lb||(lb={})),lb))();class Tm{constructor(t){this.coreWebService=t,this._paginationPerPage=40,this._offset="0",this._url="/api/content/_search",this._defaultQueryParams={"+languageId":"1","+deleted":"false","+working":"true"},this._sortField="modDate",this._sortOrder=lb.DESC,this._extraParams=new Map(Object.entries(this._defaultQueryParams))}get(t){this.setBaseParams(t);const e=this.getESQuery(t,this.getObjectFromMap(this._extraParams));return this.coreWebService.requestView({body:JSON.stringify(e),method:"POST",url:this._url}).pipe(xe("entity"),At(1))}setExtraParams(t,e){null!=e&&this._extraParams.set(t,e.toString())}getESQuery(t,e){return{query:`${t.query} ${JSON.stringify(e).replace(/["{},]/g," ")}`,sort:`${this._sortField||""} ${this._sortOrder||""}`,limit:this._paginationPerPage,offset:this._offset}}setBaseParams(t){this._extraParams.clear(),this._paginationPerPage=t.itemsPerPage||this._paginationPerPage,this._sortField=t.sortField||this._sortField,this._sortOrder=t.sortOrder||this._sortOrder,this._offset=t.offset||this._offset,t.lang&&this.setExtraParams("+languageId",t.lang);let e=t.filter||"";e&&e.indexOf(" ")>0&&(e=`'${e.replace(/'/g,"\\'")}'`),e&&this.setExtraParams("+title",`${e}*`)}getObjectFromMap(t){return Array.from(t).reduce((i,[r,o])=>Object.assign(i,{[r]:o}),{})}}Tm.\u0275fac=function(t){return new(t||Tm)(F(Jt))},Tm.\u0275prov=H({token:Tm,factory:Tm.\u0275fac});class bh{constructor(){this.subject=new ue}listen(t){return this.subject.asObservable().pipe(Tn(e=>e.name===t))}notify(t,e){this.subject.next({name:t,data:e})}}bh.\u0275fac=function(t){return new(t||bh)},bh.\u0275prov=H({token:bh,factory:bh.\u0275fac});class Dm{constructor(){this.data=new ue}get showDialog$(){return this.data.asObservable()}open(t){this.data.next(t)}}Dm.\u0275fac=function(t){return new(t||Dm)},Dm.\u0275prov=H({token:Dm,factory:Dm.\u0275fac});class Mm{constructor(t){this.coreWebService=t}get(t){return this.coreWebService.requestView({url:t?`v2/languages?contentInode=${t}`:"v2/languages"}).pipe(xe("entity"))}}Mm.\u0275fac=function(t){return new(t||Mm)(F(Jt))},Mm.\u0275prov=H({token:Mm,factory:Mm.\u0275fac});const Vie=[{icon:"tune",titleKey:"com.dotcms.repackage.javax.portlet.title.rules",url:"/rules"},{icon:"cloud_upload",titleKey:"com.dotcms.repackage.javax.portlet.title.publishing-queue",url:"/c/publishing-queue"},{icon:"find_in_page",titleKey:"com.dotcms.repackage.javax.portlet.title.site-search",url:"/c/site-search"},{icon:"person",titleKey:"com.dotcms.repackage.javax.portlet.title.personas",url:"/c/c_Personas"},{icon:"update",titleKey:"com.dotcms.repackage.javax.portlet.title.time-machine",url:"/c/time-machine"},{icon:"device_hub",titleKey:"com.dotcms.repackage.javax.portlet.title.workflow-schemes",url:"/c/workflow-schemes"},{icon:"find_in_page",titleKey:"com.dotcms.repackage.javax.portlet.title.es-search",url:"/c/es-search"},{icon:"business",titleKey:"Forms-and-Form-Builder",url:"/forms"},{icon:"apps",titleKey:"com.dotcms.repackage.javax.portlet.title.apps",url:"/apps"},{icon:"integration_instructions",titleKey:"com.dotcms.repackage.javax.portlet.title.velocity",url:"/c/velocity_playground"}];class Sm{constructor(t){this.http=t,this.unlicenseData=new Zr({icon:"",titleKey:"",url:""}),this.licenseURL="/api/v1/appconfiguration"}isEnterprise(){return this.getLicense().pipe(fe(t=>t.level>=200))}canAccessEnterprisePortlet(t){return this.isEnterprise().pipe(At(1),fe(e=>{const i=this.checksIfEnterpriseUrl(t);return!i||i&&e}))}checksIfEnterpriseUrl(t){const e=Vie.filter(i=>0===t.indexOf(i.url));return e.length&&this.unlicenseData.next(...e),!!e.length}getLicense(){return this.license?Fe(this.license):this.http.get(this.licenseURL).pipe(xe("entity","config","license"),pn(t=>{this.setLicense(t)}))}updateLicense(){this.http.get(this.licenseURL).pipe(xe("entity","config","license")).subscribe(t=>{this.setLicense(t)})}setLicense(t){this.license={...t}}}Sm.\u0275fac=function(t){return new(t||Sm)(F(Ki))},Sm.\u0275prov=H({token:Sm,factory:Sm.\u0275fac});class Em{constructor(t,e){this.coreWebService=t,this.dotSessionStorageService=e}save(t,e){const i={body:e,method:"POST",url:`v1/page/${t}/layout`},r=this.dotSessionStorageService.getVariationId();return r&&(i.params={variantName:r}),this.coreWebService.requestView(i).pipe(xe("entity"),fe(o=>new Mie(o)))}}Em.\u0275fac=function(t){return new(t||Em)(F(Jt),F(Ba))},Em.\u0275prov=H({token:Em,factory:Em.\u0275fac});class xm{constructor(t,e){this.coreWebService=t,this.dotSessionStorageService=e}checkPermission(t){return this.coreWebService.requestView({body:{...t},method:"POST",url:"v1/page/_check-permission"}).pipe(xe("entity"))}get({viewAs:t,mode:e,url:i},r){const o=this.getOptionalViewAsParams(t,e);return this.coreWebService.requestView({url:`v1/page/render/${i?.replace(/^\//,"")}`,params:{...r,...o}}).pipe(xe("entity"))}getOptionalViewAsParams(t={},e=sb.PREVIEW){return{...this.getPersonaParam(t.persona),...this.getDeviceParam(t.device),...this.getLanguageParam(t.language),...this.getModeParam(e),variantName:this.dotSessionStorageService.getVariationId()}}getModeParam(t){return t?{mode:t}:{}}getPersonaParam(t){return t?{"com.dotmarketing.persona.id":t.identifier||""}:{}}getDeviceParam(t){return t?{device_inode:t.inode}:{}}getLanguageParam(t){return t?{language_id:t.toString()}:{}}}xm.\u0275fac=function(t){return new(t||xm)(F(Jt),F(Ba))},xm.\u0275prov=H({token:xm,factory:xm.\u0275fac});class Im{constructor(t){this.coreWebService=t}getPages(t=""){return this.coreWebService.requestView({url:`/api/v1/page/types?filter=${t}`}).pipe(At(1),xe("entity"))}}Im.\u0275fac=function(t){return new(t||Im)(F(Jt))},Im.\u0275prov=H({token:Im,factory:Im.\u0275fac});class Om{constructor(t){this.http=t}getByUrl(t){return this.http.post("/api/v1/page/actions",{host_id:t.host_id,language_id:t.language_id,url:t.url,renderMode:t.renderMode}).pipe(xe("entity"))}}Om.\u0275fac=function(t){return new(t||Om)(F(Ki))},Om.\u0275prov=H({token:Om,factory:Om.\u0275fac});class Am{constructor(t,e){this.coreWebService=t,this.dotSessionStorageService=e}personalized(t,e){const i=this.dotSessionStorageService.getVariationId();return this.coreWebService.requestView({method:"POST",url:"/api/v1/personalization/pagepersonas",params:{variantName:i},body:{pageId:t,personaTag:e}}).pipe(xe("entity"))}despersonalized(t,e){const i=this.dotSessionStorageService.getVariationId();return this.coreWebService.requestView({method:"DELETE",url:`/api/v1/personalization/pagepersonas/page/${t}/personalization/${e}`,params:{variantName:i}}).pipe(xe("entity"))}}Am.\u0275fac=function(t){return new(t||Am)(F(Jt),F(Ba))},Am.\u0275prov=H({token:Am,factory:Am.\u0275fac});class km{constructor(t){this.coreWebService=t}get(){return this.coreWebService.requestView({url:"content/respectFrontendRoles/false/render/false/query/+contentType:persona +live:true +deleted:false +working:true"}).pipe(xe("contentlets"))}}km.\u0275fac=function(t){return new(t||km)(F(Jt))},km.\u0275prov=H({token:km,factory:km.\u0275fac});class Xc{constructor(t){this.http=t}getKey(t){return this.http.get("/api/v1/configuration/config",{params:{keys:t}}).pipe(At(1),xe("entity",t))}getKeys(t){return this.http.get("/api/v1/configuration/config",{params:{keys:t.join()}}).pipe(At(1),xe("entity"))}getKeyAsList(t){return this.http.get("/api/v1/configuration/config",{params:{keys:`list:${t}`}}).pipe(At(1),xe("entity",t))}getFeatureFlag(t){return this.getKey(t).pipe(fe(e=>"true"===e))}getFeatureFlags(t){return this.getKeys(t).pipe(fe(e=>Object.keys(e).reduce((i,r)=>(i[r]="true"===e[r],i),{})))}}Xc.\u0275fac=function(t){return new(t||Xc)(F(Ki))},Xc.\u0275prov=H({token:Xc,factory:Xc.\u0275fac,providedIn:"root"});class Nm{constructor(t){this.coreWebService=t}get(){return this.coreWebService.requestView({url:"/api/v1/pushpublish/filters/"}).pipe(xe("entity"))}}Nm.\u0275fac=function(t){return new(t||Nm)(F(Jt))},Nm.\u0275prov=H({token:Nm,factory:Nm.\u0275fac});class Pm{constructor(t,e){this.dotMessageService=t,this.coreWebService=e}get(t,e){return this.coreWebService.requestView({url:`/api/v1/roles/${t}/rolehierarchyanduserroles?roleHierarchyForAssign=${e}`}).pipe(xe("entity"),fe(this.processRolesResponse.bind(this)))}search(){return this.coreWebService.requestView({url:"/api/v1/roles/_search"}).pipe(xe("entity"),fe(this.processRolesResponse.bind(this)))}processRolesResponse(t){return t.filter(e=>"anonymous"!==e.roleKey).map(e=>("CMS Anonymous"===e.roleKey?e.name=this.dotMessageService.get("current-user"):e.user&&(e.name=`${e.name}`),e))}}Pm.\u0275fac=function(t){return new(t||Pm)(F(To),F(Jt))},Pm.\u0275prov=H({token:Pm,factory:Pm.\u0275fac});class Ch{constructor(t){this.http=t,this.BASE_SITE_URL="/api/v1/site",this.params={archived:!1,live:!0,system:!0},this.defaultPerpage=10}set searchParam(t){this.params=t}getSites(t="*",e){return this.http.get(this.siteURL(t,e)).pipe(xe("entity"))}siteURL(t,e){const r=`filter=${t}&perPage=${e||this.defaultPerpage}&${this.getQueryParams()}`;return`${this.BASE_SITE_URL}?${r}`}getQueryParams(){return Object.keys(this.params).map(t=>`${t}=${this.params[t]}`).join("&")}}Ch.\u0275fac=function(t){return new(t||Ch)(F(Ki))},Ch.\u0275prov=H({token:Ch,factory:Ch.\u0275fac,providedIn:"root"});class Lm{constructor(t){this.coreWebService=t}setSelectedFolder(t){return this.coreWebService.requestView({body:{path:t},method:"PUT",url:"/api/v1/browser/selectedfolder"}).pipe(At(1))}}Lm.\u0275fac=function(t){return new(t||Lm)(F(Jt))},Lm.\u0275prov=H({token:Lm,factory:Lm.\u0275fac});class Rm{constructor(t){this.coreWebService=t}getSuggestions(t){return this.coreWebService.requestView({url:"v1/tags"+(t?`?name=${t}`:"")}).pipe(xe("bodyJsonObject"),fe(e=>Object.entries(e).map(([i,r])=>r)))}}Rm.\u0275fac=function(t){return new(t||Rm)(F(Jt))},Rm.\u0275prov=H({token:Rm,factory:Rm.\u0275fac});class Fm{constructor(t){this.coreWebService=t}get(t){return this.coreWebService.requestView({url:"v1/themes/id/"+t}).pipe(xe("entity"))}}function hj(n,t,e,i,r,o,s){try{var a=n[o](s),l=a.value}catch(c){return void e(c)}a.done?t(l):Promise.resolve(l).then(i,r)}function eu(n){return function(){var t=this,e=arguments;return new Promise(function(i,r){var o=n.apply(t,e);function s(l){hj(o,i,r,s,a,"next",l)}function a(l){hj(o,i,r,s,a,"throw",l)}s(void 0)})}}Fm.\u0275fac=function(t){return new(t||Fm)(F(Jt))},Fm.\u0275prov=H({token:Fm,factory:Fm.\u0275fac});const Uie={500:"500 Internal Server Error",400:"400 Bad Request",401:"401 Unauthorized Error"};class wh{uploadFile({file:t,maxSize:e,signal:i}){return"string"==typeof t?this.uploadFileByURL(t,i):this.uploadBinaryFile({file:t,maxSize:e,signal:i})}uploadFileByURL(t,e){return fetch("/api/v1/temp/byUrl",{method:"POST",signal:e,headers:{"Content-Type":"application/json",Origin:window.location.hostname},body:JSON.stringify({remoteUrl:t})}).then(function(){var r=eu(function*(o){if(200===o.status)return(yield o.json()).tempFiles[0];throw{message:(yield o.json()).message,status:o.status}});return function(o){return r.apply(this,arguments)}}()).catch(r=>{const{message:o,response:s}=r,a="string"==typeof s?JSON.parse(s):s;throw this.errorHandler(a||{message:o},r.status)})}uploadBinaryFile({file:t,maxSize:e,signal:i}){let r="/api/v1/temp";r+=e?`?maxFileLength=${e}`:"";const o=new FormData;return o.append("file",t),fetch(r,{method:"POST",signal:i,headers:{Origin:window.location.hostname},body:o}).then(function(){var s=eu(function*(a){if(200===a.status)return(yield a.json()).tempFiles[0];throw{message:(yield a.json()).message,status:a.status}});return function(a){return s.apply(this,arguments)}}()).catch(s=>{throw this.errorHandler(JSON.parse(s.response),s.status)})}errorHandler(t,e){let i="";try{i=t.message||t.errors[0].message}catch{i=Uie[e||500]}return{message:i,status:500|e}}}wh.\u0275fac=function(t){return new(t||wh)},wh.\u0275prov=H({token:wh,factory:wh.\u0275fac,providedIn:"root"});class jm{constructor(t){this.coreWebService=t}bringBack(t){return this.coreWebService.requestView({method:"PUT",url:`/api/v1/versionables/${t}/_bringback`}).pipe(xe("entity"))}}jm.\u0275fac=function(t){return new(t||jm)(F(Jt))},jm.\u0275prov=H({token:jm,factory:jm.\u0275fac});var tu=(()=>(function(n){n.NEW="NEW",n.DESTROY="DESTROY",n.PUBLISH="PUBLISH",n.EDIT="EDIT"}(tu||(tu={})),tu))();class zm{constructor(t){this.coreWebService=t}fireTo(t,e,i){return this.coreWebService.requestView({body:i,method:"PUT",url:`v1/workflow/actions/${e}/fire?inode=${t}&indexPolicy=WAIT_FOR`}).pipe(xe("entity"))}bulkFire(t){return this.coreWebService.requestView({body:t,method:"PUT",url:"/api/v1/workflow/contentlet/actions/bulk/fire"}).pipe(xe("entity"))}newContentlet(t,e){return this.request({contentType:t,data:e,action:tu.NEW})}publishContentlet(t,e,i){return this.request({contentType:t,data:e,action:tu.PUBLISH,individualPermissions:i})}saveContentlet(t){return this.request({data:t,action:tu.EDIT})}deleteContentlet(t){return this.request({data:t,action:tu.DESTROY})}publishContentletAndWaitForIndex(t,e,i){return this.publishContentlet(t,{...e,indexPolicy:"WAIT_FOR"},i)}request({contentType:t,data:e,action:i,individualPermissions:r}){const o=t?{contentType:t,...e}:e;return this.coreWebService.requestView({method:"PUT",url:`v1/workflow/actions/default/fire/${i}${e.inode?`?inode=${e.inode}`:""}`,body:r?{contentlet:o,individualPermissions:r}:{contentlet:o}}).pipe(At(1),xe("entity"))}}zm.\u0275fac=function(t){return new(t||zm)(F(Jt))},zm.\u0275prov=H({token:zm,factory:zm.\u0275fac});class Vm{constructor(t){this.coreWebService=t}get(){return this.coreWebService.requestView({url:"v1/workflow/schemes"}).pipe(xe("entity"))}getSystem(){return this.get().pipe(li(t=>t.filter(e=>e.system)),At(1))}}Vm.\u0275fac=function(t){return new(t||Vm)(F(Jt))},Vm.\u0275prov=H({token:Vm,factory:Vm.\u0275fac});class Bm{constructor(t){this.coreWebService=t}getByWorkflows(t=[]){return this.coreWebService.requestView({method:"POST",url:"/api/v1/workflow/schemes/actions/NEW",body:{schemes:t.map(this.getWorkFlowId)}}).pipe(xe("entity"))}getByInode(t,e){return this.coreWebService.requestView({url:`v1/workflow/contentlet/${t}/actions${e?`?renderMode=${e}`:""}`}).pipe(xe("entity"))}getWorkFlowId(t){return t&&t.id}}Bm.\u0275fac=function(t){return new(t||Bm)(F(Jt))},Bm.\u0275prov=H({token:Bm,factory:Bm.\u0275fac});var cb=(()=>(function(n){n[n.ASC=1]="ASC",n[n.DESC=-1]="DESC"}(cb||(cb={})),cb))();class Ji{constructor(t){this.coreWebService=t,this.links={},this.paginationPerPage=40,this._extraParams=new Map}get url(){return this._url}set url(t){this._url!==t&&(this.links={},this._url=t)}get filter(){return this._filter}set filter(t){this._filter!==t&&(this.links={},this._filter=t)}set searchParam(t){this._searchParam!==t&&(this.links=t.length>0?{}:this.links,this._searchParam=t)}get searchParam(){return this._searchParam}setExtraParams(t,e){null!=e&&(this.extraParams.set(t,e.toString()),this.links={})}deleteExtraParams(t){this.extraParams.delete(t)}resetExtraParams(){this.extraParams.clear()}get extraParams(){return this._extraParams}get sortField(){return this._sortField}set sortField(t){this._sortField!==t&&(this.links={},this._sortField=t)}get sortOrder(){return this._sortOrder}set sortOrder(t){this._sortOrder!==t&&(this.links={},this._sortOrder=t)}get(t){const e={...this.getParams(),...this.getObjectFromMap(this.extraParams)},i=this.sanitizeQueryParams(t,e);return this.coreWebService.requestView({params:e,url:i||this.url}).pipe(fe(r=>(this.setLinks(r.header(Ji.LINK_HEADER_NAME)),this.paginationPerPage=parseInt(r.header(Ji.PAGINATION_PER_PAGE_HEADER_NAME),10),this.currentPage=parseInt(r.header(Ji.PAGINATION_CURRENT_PAGE_HEADER_NAME),10),this.maxLinksPage=parseInt(r.header(Ji.PAGINATION_MAX_LINK_PAGES_HEADER_NAME),10),this.totalRecords=parseInt(r.header(Ji.PAGINATION_TOTAL_ENTRIES_HEADER_NAME),10),r.entity)),At(1))}getLastPage(){return this.get(this.links.last)}getFirstPage(){return this.get(this.links.first)}getPage(t=1){const e=this.links["x-page"]?this.links["x-page"].replace("pageValue",String(t)):void 0;return this.get(e)}getCurrentPage(){return this.getPage(this.currentPage)}getNextPage(){return this.get(this.links.next)}getPrevPage(){return this.get(this.links.prev)}getWithOffset(t){const e=this.getPageFromOffset(t);return this.getPage(e)}getPageFromOffset(t){return parseInt(String(t/this.paginationPerPage),10)+1}setLinks(t){(t?.split(",")||[]).forEach(i=>{const r=i.split(";"),o=r[0].substring(1,r[0].length-1),s=r[1].split("="),a=s[1].substring(1,s[1].length-1);this.links[a]=o.trim()})}getParams(){const t=new Map;return this.filter&&t.set("filter",this.filter),this.searchParam&&t.set("searchParam",this.searchParam),this.sortField&&t.set("orderby",this.sortField),this.sortOrder&&t.set("direction",cb[this.sortOrder]),this.paginationPerPage&&t.set("per_page",String(this.paginationPerPage)),this.getObjectFromMap(t)}getObjectFromMap(t){return Array.from(t).reduce((i,[r,o])=>Object.assign(i,{[r]:o}),{})}sanitizeQueryParams(t="",e){const i=t?.split("?"),r=i[0],o=i[1];if(!o)return t;const s=new URLSearchParams(o);for(const a in e)s.delete(a);return s.toString()?`${r}?${s.toString()}`:r}}Ji.LINK_HEADER_NAME="Link",Ji.PAGINATION_PER_PAGE_HEADER_NAME="X-Pagination-Per-Page",Ji.PAGINATION_CURRENT_PAGE_HEADER_NAME="X-Pagination-Current-Page",Ji.PAGINATION_MAX_LINK_PAGES_HEADER_NAME="X-Pagination-Link-Pages",Ji.PAGINATION_TOTAL_ENTRIES_HEADER_NAME="X-Pagination-Total-Entries",Ji.\u0275fac=function(t){return new(t||Ji)(F(Jt))},Ji.\u0275prov=H({token:Ji,factory:Ji.\u0275fac});class Um{constructor(t){this.http=t,this.seoToolsUrl="assets/seo/page-tools.json"}get(){return this.http.get(this.seoToolsUrl).pipe(xe("pageTools"))}}function hr(n){this.content=n}Um.\u0275fac=function(t){return new(t||Um)(F(Ki))},Um.\u0275prov=H({token:Um,factory:Um.\u0275fac}),hr.prototype={constructor:hr,find:function(n){for(var t=0;t>1}},hr.from=function(n){if(n instanceof hr)return n;var t=[];if(n)for(var e in n)t.push(e,n[e]);return new hr(t)};const fj=hr;function pj(n,t,e){for(let i=0;;i++){if(i==n.childCount||i==t.childCount)return n.childCount==t.childCount?null:e;let r=n.child(i),o=t.child(i);if(r!=o){if(!r.sameMarkup(o))return e;if(r.isText&&r.text!=o.text){for(let s=0;r.text[s]==o.text[s];s++)e++;return e}if(r.content.size||o.content.size){let s=pj(r.content,o.content,e+1);if(null!=s)return s}e+=r.nodeSize}else e+=r.nodeSize}}function mj(n,t,e,i){for(let r=n.childCount,o=t.childCount;;){if(0==r||0==o)return r==o?null:{a:e,b:i};let s=n.child(--r),a=t.child(--o),l=s.nodeSize;if(s!=a){if(!s.sameMarkup(a))return{a:e,b:i};if(s.isText&&s.text!=a.text){let c=0,u=Math.min(s.text.length,a.text.length);for(;ct&&!1!==i(l,r+a,o||null,s)&&l.content.size){let u=a+1;l.nodesBetween(Math.max(0,t-u),Math.min(l.content.size,e-u),i,r+u)}a=c}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,e,i,r){let o="",s=!0;return this.nodesBetween(t,e,(a,l)=>{a.isText?(o+=a.text.slice(Math.max(t,l)-l,e-l),s=!i):a.isLeaf?(r?o+="function"==typeof r?r(a):r:a.type.spec.leafText&&(o+=a.type.spec.leafText(a)),s=!i):!s&&a.isBlock&&(o+=i,s=!0)},0),o}append(t){if(!t.size)return this;if(!this.size)return t;let e=this.lastChild,i=t.firstChild,r=this.content.slice(),o=0;for(e.isText&&e.sameMarkup(i)&&(r[r.length-1]=e.withText(e.text+i.text),o=1);ot)for(let o=0,s=0;st&&((se)&&(a=a.isText?a.cut(Math.max(0,t-s),Math.min(a.text.length,e-s)):a.cut(Math.max(0,t-s-1),Math.min(a.content.size,e-s-1))),i.push(a),r+=a.nodeSize),s=l}return new he(i,r)}cutByIndex(t,e){return t==e?he.empty:0==t&&e==this.content.length?this:new he(this.content.slice(t,e))}replaceChild(t,e){let i=this.content[t];if(i==e)return this;let r=this.content.slice(),o=this.size+e.nodeSize-i.nodeSize;return r[t]=e,new he(r,o)}addToStart(t){return new he([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new he(this.content.concat(t),this.size+t.nodeSize)}eq(t){if(this.content.length!=t.content.length)return!1;for(let e=0;ethis.size||t<0)throw new RangeError(`Position ${t} outside of fragment (${this})`);for(let i=0,r=0;;i++){let s=r+this.child(i).nodeSize;if(s>=t)return s==t||e>0?ub(i+1,s):ub(i,r);r=s}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(t=>t.toJSON()):null}static fromJSON(t,e){if(!e)return he.empty;if(!Array.isArray(e))throw new RangeError("Invalid input for Fragment.fromJSON");return new he(e.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return he.empty;let e,i=0;for(let r=0;r{class n{constructor(e,i){this.type=e,this.attrs=i}addToSet(e){let i,r=!1;for(let o=0;othis.type.rank&&(i||(i=e.slice(0,o)),i.push(this),r=!0),i&&i.push(s)}}return i||(i=e.slice()),r||i.push(this),i}removeFromSet(e){for(let i=0;ir.type.rank-o.type.rank),i}}return n.none=[],n})();class hb extends Error{}class Te{constructor(t,e,i){this.content=t,this.openStart=e,this.openEnd=i}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,e){let i=yj(this.content,t+this.openStart,e);return i&&new Te(i,this.openStart,this.openEnd)}removeBetween(t,e){return new Te(gj(this.content,t+this.openStart,e+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let t={content:this.content.toJSON()};return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,e){if(!e)return Te.empty;let i=e.openStart||0,r=e.openEnd||0;if("number"!=typeof i||"number"!=typeof r)throw new RangeError("Invalid input for Slice.fromJSON");return new Te(he.fromJSON(t,e.content),i,r)}static maxOpen(t,e=!0){let i=0,r=0;for(let o=t.firstChild;o&&!o.isLeaf&&(e||!o.type.spec.isolating);o=o.firstChild)i++;for(let o=t.lastChild;o&&!o.isLeaf&&(e||!o.type.spec.isolating);o=o.lastChild)r++;return new Te(t,i,r)}}function gj(n,t,e){let{index:i,offset:r}=n.findIndex(t),o=n.maybeChild(i),{index:s,offset:a}=n.findIndex(e);if(r==t||o.isText){if(a!=e&&!n.child(s).isText)throw new RangeError("Removing non-flat range");return n.cut(0,t).append(n.cut(e))}if(i!=s)throw new RangeError("Removing non-flat range");return n.replaceChild(i,o.copy(gj(o.content,t-r-1,e-r-1)))}function yj(n,t,e,i){let{index:r,offset:o}=n.findIndex(t),s=n.maybeChild(r);if(o==t||s.isText)return i&&!i.canReplace(r,r,e)?null:n.cut(0,t).append(e).append(n.cut(t));let a=yj(s.content,t-o-1,e);return a&&n.replaceChild(r,s.copy(a))}function Hie(n,t,e){if(e.openStart>n.depth)throw new hb("Inserted content deeper than insertion position");if(n.depth-e.openStart!=t.depth-e.openEnd)throw new hb("Inconsistent open depths");return _j(n,t,e,0)}function _j(n,t,e,i){let r=n.index(i),o=n.node(i);if(r==t.index(i)&&i=0;o--)r=t.node(o).copy(he.from(r));return{start:r.resolveNoCache(n.openStart+e),end:r.resolveNoCache(r.content.size-n.openEnd-e)}}(e,n);return iu(o,bj(n,s,a,t,i))}{let s=n.parent,a=s.content;return iu(s,a.cut(0,n.parentOffset).append(e.content).append(a.cut(t.parentOffset)))}}return iu(o,fb(n,t,i))}function vj(n,t){if(!t.type.compatibleContent(n.type))throw new hb("Cannot join "+t.type.name+" onto "+n.type.name)}function bM(n,t,e){let i=n.node(e);return vj(i,t.node(e)),i}function nu(n,t){let e=t.length-1;e>=0&&n.isText&&n.sameMarkup(t[e])?t[e]=n.withText(t[e].text+n.text):t.push(n)}function Hm(n,t,e,i){let r=(t||n).node(e),o=0,s=t?t.index(e):r.childCount;n&&(o=n.index(e),n.depth>e?o++:n.textOffset&&(nu(n.nodeAfter,i),o++));for(let a=o;ar&&bM(n,t,r+1),s=i.depth>r&&bM(e,i,r+1),a=[];return Hm(null,n,r,a),o&&s&&t.index(r)==e.index(r)?(vj(o,s),nu(iu(o,bj(n,t,e,i,r+1)),a)):(o&&nu(iu(o,fb(n,t,r+1)),a),Hm(t,e,r,a),s&&nu(iu(s,fb(e,i,r+1)),a)),Hm(i,null,r,a),new he(a)}function fb(n,t,e){let i=[];return Hm(null,n,e,i),n.depth>e&&nu(iu(bM(n,t,e+1),fb(n,t,e+1)),i),Hm(t,null,e,i),new he(i)}Te.empty=new Te(he.empty,0,0);class $m{constructor(t,e,i){this.pos=t,this.path=e,this.parentOffset=i,this.depth=e.length/3-1}resolveDepth(t){return null==t?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[3*this.resolveDepth(t)]}index(t){return this.path[3*this.resolveDepth(t)+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t!=this.depth||this.textOffset?1:0)}start(t){return 0==(t=this.resolveDepth(t))?0:this.path[3*t-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(!(t=this.resolveDepth(t)))throw new RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[3*t-1]}after(t){if(!(t=this.resolveDepth(t)))throw new RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[3*t-1]+this.path[3*t].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,e=this.index(this.depth);if(e==t.childCount)return null;let i=this.pos-this.path[this.path.length-1],r=t.child(e);return i?t.child(e).cut(i):r}get nodeBefore(){let t=this.index(this.depth),e=this.pos-this.path[this.path.length-1];return e?this.parent.child(t).cut(0,e):0==t?null:this.parent.child(t-1)}posAtIndex(t,e){e=this.resolveDepth(e);let i=this.path[3*e],r=0==e?0:this.path[3*e-1]+1;for(let o=0;o0;e--)if(this.start(e)<=t&&this.end(e)>=t)return e;return 0}blockRange(t=this,e){if(t.pos=0;i--)if(t.pos<=this.end(i)&&(!e||e(this.node(i))))return new pb(this,t,i);return null}sameParent(t){return this.pos-this.parentOffset==t.pos-t.parentOffset}max(t){return t.pos>this.pos?t:this}min(t){return t.pos=0&&e<=t.content.size))throw new RangeError("Position "+e+" out of range");let i=[],r=0,o=e;for(let s=t;;){let{index:a,offset:l}=s.content.findIndex(o),c=o-l;if(i.push(s,a,r+l),!c||(s=s.child(a),s.isText))break;o=c-1,r+=l+1}return new $m(e,i,o)}static resolveCached(t,e){for(let r=0;rt&&this.nodesBetween(t,e,o=>(i.isInSet(o.marks)&&(r=!0),!r)),r}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),Cj(this.marks,t)}contentMatchAt(t){let e=this.type.contentMatch.matchFragment(this.content,0,t);if(!e)throw new Error("Called contentMatchAt on a node with invalid content");return e}canReplace(t,e,i=he.empty,r=0,o=i.childCount){let s=this.contentMatchAt(t).matchFragment(i,r,o),a=s&&s.matchFragment(this.content,e);if(!a||!a.validEnd)return!1;for(let l=r;le.type.name)}`);this.content.forEach(e=>e.check())}toJSON(){let t={type:this.type.name};for(let e in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map(e=>e.toJSON())),t}static fromJSON(t,e){if(!e)throw new RangeError("Invalid input for Node.fromJSON");let i=null;if(e.marks){if(!Array.isArray(e.marks))throw new RangeError("Invalid mark data for Node.fromJSON");i=e.marks.map(t.markFromJSON)}if("text"==e.type){if("string"!=typeof e.text)throw new RangeError("Invalid text node in JSON");return t.text(e.text,i)}let r=he.fromJSON(t,e.content);return t.nodeType(e.type).create(e.attrs,r,i)}}Hs.prototype.text=void 0;class mb extends Hs{constructor(t,e,i,r){if(super(t,e,null,r),!i)throw new RangeError("Empty text nodes are not allowed");this.text=i}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):Cj(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(t,e){return this.text.slice(t,e)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new mb(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new mb(this.type,this.attrs,t,this.marks)}cut(t=0,e=this.text.length){return 0==t&&e==this.text.length?this:this.withText(this.text.slice(t,e))}eq(t){return this.sameMarkup(t)&&this.text==t.text}toJSON(){let t=super.toJSON();return t.text=this.text,t}}function Cj(n,t){for(let e=n.length-1;e>=0;e--)t=n[e].type.name+"("+t+")";return t}class ru{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,e){let i=new Yie(t,e);if(null==i.next)return ru.empty;let r=wj(i);i.next&&i.err("Unexpected trailing text");let o=function ere(n){let t=Object.create(null);return function e(i){let r=[];i.forEach(s=>{n[s].forEach(({term:a,to:l})=>{if(!a)return;let c;for(let u=0;u{c||r.push([a,c=[]]),-1==c.indexOf(u)&&c.push(u)})})});let o=t[i.join(",")]=new ru(i.indexOf(n.length-1)>-1);for(let s=0;sl.concat(o(c,a)),[]);if("seq"!=s.type){if("star"==s.type){let l=e();return i(a,l),r(o(s.expr,l),l),[i(l)]}if("plus"==s.type){let l=e();return r(o(s.expr,a),l),r(o(s.expr,l),l),[i(l)]}if("opt"==s.type)return[i(a)].concat(o(s.expr,a));if("range"==s.type){let l=a;for(let c=0;cl.to=a)}}(r));return function tre(n,t){for(let e=0,i=[n];ec.createAndFill()));for(let c=0;c=this.next.length)throw new RangeError(`There's no ${t}th edge in this content match`);return this.next[t]}toString(){let t=[];return function e(i){t.push(i);for(let r=0;r{let o=r+(i.validEnd?"*":" ")+" ";for(let s=0;s"+t.indexOf(i.next[s].next);return o}).join("\n")}}ru.empty=new ru(!0);class Yie{constructor(t,e){this.string=t,this.nodeTypes=e,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(t){return this.next==t&&(this.pos++||!0)}err(t){throw new SyntaxError(t+" (in content expression '"+this.string+"')")}}function wj(n){let t=[];do{t.push(qie(n))}while(n.eat("|"));return 1==t.length?t[0]:{type:"choice",exprs:t}}function qie(n){let t=[];do{t.push(Kie(n))}while(n.next&&")"!=n.next&&"|"!=n.next);return 1==t.length?t[0]:{type:"seq",exprs:t}}function Kie(n){let t=function Jie(n){if(n.eat("(")){let t=wj(n);return n.eat(")")||n.err("Missing closing paren"),t}if(!/\W/.test(n.next)){let t=function Zie(n,t){let e=n.nodeTypes,i=e[t];if(i)return[i];let r=[];for(let o in e){let s=e[o];s.groups.indexOf(t)>-1&&r.push(s)}return 0==r.length&&n.err("No node type or group '"+t+"' found"),r}(n,n.next).map(e=>(null==n.inline?n.inline=e.isInline:n.inline!=e.isInline&&n.err("Mixing inline and block content"),{type:"name",value:e}));return n.pos++,1==t.length?t[0]:{type:"choice",exprs:t}}n.err("Unexpected token '"+n.next+"'")}(n);for(;;)if(n.eat("+"))t={type:"plus",expr:t};else if(n.eat("*"))t={type:"star",expr:t};else if(n.eat("?"))t={type:"opt",expr:t};else{if(!n.eat("{"))break;t=Qie(n,t)}return t}function Tj(n){/\D/.test(n.next)&&n.err("Expected number, got '"+n.next+"'");let t=Number(n.next);return n.pos++,t}function Qie(n,t){let e=Tj(n),i=e;return n.eat(",")&&(i="}"!=n.next?Tj(n):-1),n.eat("}")||n.err("Unclosed braced range"),{type:"range",min:e,max:i,expr:t}}function Dj(n,t){return t-n}function Mj(n,t){let e=[];return function i(r){let o=n[r];if(1==o.length&&!o[0].term)return i(o[0].to);e.push(r);for(let s=0;s-1}allowsMarks(t){if(null==this.markSet)return!0;for(let e=0;ei[o]=new gb(o,e,s));let r=e.spec.topNode||"doc";if(!i[r])throw new RangeError("Schema is missing its top node type ('"+r+"')");if(!i.text)throw new RangeError("Every schema needs a 'text' type");for(let o in i.text.attrs)throw new RangeError("The text node type should not have attributes");return i}}class nre{constructor(t){this.hasDefault=Object.prototype.hasOwnProperty.call(t,"default"),this.default=t.default}get isRequired(){return!this.hasDefault}}class yb{constructor(t,e,i,r){this.name=t,this.rank=e,this.schema=i,this.spec=r,this.attrs=xj(r.attrs),this.excluded=null;let o=Sj(this.attrs);this.instance=o?new Pn(this,o):null}create(t=null){return!t&&this.instance?this.instance:new Pn(this,Ej(this.attrs,t))}static compile(t,e){let i=Object.create(null),r=0;return t.forEach((o,s)=>i[o]=new yb(o,r++,e,s)),i}removeFromSet(t){for(var e=0;e-1}}class ire{constructor(t){this.cached=Object.create(null);let e=this.spec={};for(let r in t)e[r]=t[r];e.nodes=fj.from(t.nodes),e.marks=fj.from(t.marks||{}),this.nodes=gb.compile(this.spec.nodes,this),this.marks=yb.compile(this.spec.marks,this);let i=Object.create(null);for(let r in this.nodes){if(r in this.marks)throw new RangeError(r+" can not be both a node and a mark");let o=this.nodes[r],s=o.spec.content||"",a=o.spec.marks;o.contentMatch=i[s]||(i[s]=ru.parse(s,this.nodes)),o.inlineContent=o.contentMatch.inlineContent,o.markSet="_"==a?null:a?Ij(this,a.split(" ")):""!=a&&o.inlineContent?null:[]}for(let r in this.marks){let o=this.marks[r],s=o.spec.excludes;o.excluded=null==s?[o]:""==s?[]:Ij(this,s.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(t,e=null,i,r){if("string"==typeof t)t=this.nodeType(t);else{if(!(t instanceof gb))throw new RangeError("Invalid node type: "+t);if(t.schema!=this)throw new RangeError("Node type from different schema used ("+t.name+")")}return t.createChecked(e,i,r)}text(t,e){let i=this.nodes.text;return new mb(i,i.defaultAttrs,t,Pn.setFrom(e))}mark(t,e){return"string"==typeof t&&(t=this.marks[t]),t.create(e)}nodeFromJSON(t){return Hs.fromJSON(this,t)}markFromJSON(t){return Pn.fromJSON(this,t)}nodeType(t){let e=this.nodes[t];if(!e)throw new RangeError("Unknown node type: "+t);return e}}function Ij(n,t){let e=[];for(let i=0;i-1)&&e.push(s=l)}if(!s)throw new SyntaxError("Unknown mark type: '"+t[i]+"'")}return e}class Th{constructor(t,e){this.schema=t,this.rules=e,this.tags=[],this.styles=[],e.forEach(i=>{i.tag?this.tags.push(i):i.style&&this.styles.push(i)}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let r=t.nodes[i.node];return r.contentMatch.matchType(r)})}parse(t,e={}){let i=new Nj(this,e,!1);return i.addAll(t,e.from,e.to),i.finish()}parseSlice(t,e={}){let i=new Nj(this,e,!0);return i.addAll(t,e.from,e.to),Te.maxOpen(i.finish())}matchTag(t,e,i){for(let r=i?this.tags.indexOf(i)+1:0;rt.length&&(61!=a.charCodeAt(t.length)||a.slice(t.length+1)!=e))){if(s.getAttrs){let l=s.getAttrs(e);if(!1===l)continue;s.attrs=l||void 0}return s}}}static schemaRules(t){let e=[];function i(r){let o=null==r.priority?50:r.priority,s=0;for(;s{i(s=Pj(s)),s.mark||s.ignore||s.clearMark||(s.mark=r)})}for(let r in t.nodes){let o=t.nodes[r].spec.parseDOM;o&&o.forEach(s=>{i(s=Pj(s)),s.node||s.ignore||s.mark||(s.node=r)})}return e}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new Th(t,Th.schemaRules(t)))}}const Oj={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},rre={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Aj={ol:!0,ul:!0};function kj(n,t,e){return null!=t?(t?1:0)|("full"===t?2:0):n&&"pre"==n.whitespace?3:-5&e}class bb{constructor(t,e,i,r,o,s,a){this.type=t,this.attrs=e,this.marks=i,this.pendingMarks=r,this.solid=o,this.options=a,this.content=[],this.activeMarks=Pn.none,this.stashMarks=[],this.match=s||(4&a?null:t.contentMatch)}findWrapping(t){if(!this.match){if(!this.type)return[];let e=this.type.contentMatch.fillBefore(he.from(t));if(!e){let r,i=this.type.contentMatch;return(r=i.findWrapping(t.type))?(this.match=i,r):null}this.match=this.type.contentMatch.matchFragment(e)}return this.match.findWrapping(t.type)}finish(t){if(!(1&this.options)){let r,i=this.content[this.content.length-1];if(i&&i.isText&&(r=/[ \t\r\n\u000c]+$/.exec(i.text))){let o=i;i.text.length==r[0].length?this.content.pop():this.content[this.content.length-1]=o.withText(o.text.slice(0,o.text.length-r[0].length))}}let e=he.from(this.content);return!t&&this.match&&(e=e.append(this.match.fillBefore(he.empty,!0))),this.type?this.type.create(this.attrs,e,this.marks):e}popFromStashMark(t){for(let e=this.stashMarks.length-1;e>=0;e--)if(t.eq(this.stashMarks[e]))return this.stashMarks.splice(e,1)[0]}applyPending(t){for(let e=0,i=this.pendingMarks;e{s.clearMark(a)&&(i=a.addToSet(i))}):e=this.parser.schema.marks[s.mark].create(s.attrs).addToSet(e),!1!==s.consuming)break;o=s}return[e,i]}addElementByRule(t,e,i){let r,o,s;e.node?(o=this.parser.schema.nodes[e.node],o.isLeaf?this.insertNode(o.create(e.attrs))||this.leafFallback(t):r=this.enter(o,e.attrs||null,e.preserveWhitespace)):(s=this.parser.schema.marks[e.mark].create(e.attrs),this.addPendingMark(s));let a=this.top;if(o&&o.isLeaf)this.findInside(t);else if(i)this.addElement(t,i);else if(e.getContent)this.findInside(t),e.getContent(t,this.parser.schema).forEach(l=>this.insertNode(l));else{let l=t;"string"==typeof e.contentElement?l=t.querySelector(e.contentElement):"function"==typeof e.contentElement?l=e.contentElement(t):e.contentElement&&(l=e.contentElement),this.findAround(t,l,!0),this.addAll(l)}r&&this.sync(a)&&this.open--,s&&this.removePendingMark(s,a)}addAll(t,e,i){let r=e||0;for(let o=e?t.childNodes[e]:t.firstChild,s=null==i?null:t.childNodes[i];o!=s;o=o.nextSibling,++r)this.findAtPoint(t,r),this.addDOM(o);this.findAtPoint(t,r)}findPlace(t){let e,i;for(let r=this.open;r>=0;r--){let o=this.nodes[r],s=o.findWrapping(t);if(s&&(!e||e.length>s.length)&&(e=s,i=o,!s.length)||o.solid)break}if(!e)return!1;this.sync(i);for(let r=0;rthis.open){for(;e>this.open;e--)this.nodes[e-1].content.push(this.nodes[e].finish(t));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(t){for(let e=this.open;e>=0;e--)if(this.nodes[e]==t)return this.open=e,!0;return!1}get currentPos(){this.closeExtra();let t=0;for(let e=this.open;e>=0;e--){let i=this.nodes[e].content;for(let r=i.length-1;r>=0;r--)t+=i[r].nodeSize;e&&t++}return t}findAtPoint(t,e){if(this.find)for(let i=0;i-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);let e=t.split("/"),i=this.options.context,r=!(this.isOpen||i&&i.parent.type!=this.nodes[0].type),o=(r?0:1)-(i?i.depth+1:0),s=(a,l)=>{for(;a>=0;a--){let c=e[a];if(""==c){if(a==e.length-1||0==a)continue;for(;l>=o;l--)if(s(a-1,l))return!0;return!1}{let u=l>0||0==l&&r?this.nodes[l].type:i&&l>=o?i.node(l-o).type:null;if(!u||u.name!=c&&-1==u.groups.indexOf(c))return!1;l--}}return!0};return s(e.length-1,this.open)}textblockFromContext(){let t=this.options.context;if(t)for(let e=t.depth;e>=0;e--){let i=t.node(e).contentMatchAt(t.indexAfter(e)).defaultType;if(i&&i.isTextblock&&i.defaultAttrs)return i}for(let e in this.parser.schema.nodes){let i=this.parser.schema.nodes[e];if(i.isTextblock&&i.defaultAttrs)return i}}addPendingMark(t){let e=function cre(n,t){for(let e=0;e=0;i--){let r=this.nodes[i];if(r.pendingMarks.lastIndexOf(t)>-1)r.pendingMarks=t.removeFromSet(r.pendingMarks);else{r.activeMarks=t.removeFromSet(r.activeMarks);let s=r.popFromStashMark(t);s&&r.type&&r.type.allowsMarkType(s.type)&&(r.activeMarks=s.addToSet(r.activeMarks))}if(r==e)break}}}function sre(n,t){return(n.matches||n.msMatchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector).call(n,t)}function Pj(n){let t={};for(let e in n)t[e]=n[e];return t}function lre(n,t){let e=t.schema.nodes;for(let i in e){let r=e[i];if(!r.allowsMarkType(n))continue;let o=[],s=a=>{o.push(a);for(let l=0;l{if(o.length||s.marks.length){let a=0,l=0;for(;a=0;r--){let o=this.serializeMark(t.marks[r],t.isInline,e);o&&((o.contentDOM||o.dom).appendChild(i),i=o.dom)}return i}serializeMark(t,e,i={}){let r=this.marks[t.type.name];return r&&$s.renderSpec(TM(i),r(t,e))}static renderSpec(t,e,i=null){if("string"==typeof e)return{dom:t.createTextNode(e)};if(null!=e.nodeType)return{dom:e};if(e.dom&&null!=e.dom.nodeType)return e;let r=e[0],o=r.indexOf(" ");o>0&&(i=r.slice(0,o),r=r.slice(o+1));let s,a=i?t.createElementNS(i,r):t.createElement(r),l=e[1],c=1;if(l&&"object"==typeof l&&null==l.nodeType&&!Array.isArray(l)){c=2;for(let u in l)if(null!=l[u]){let d=u.indexOf(" ");d>0?a.setAttributeNS(u.slice(0,d),u.slice(d+1),l[u]):a.setAttribute(u,l[u])}}for(let u=c;uc)throw new RangeError("Content hole must be the only child of its parent node");return{dom:a,contentDOM:a}}{let{dom:h,contentDOM:f}=$s.renderSpec(t,d,i);if(a.appendChild(h),f){if(s)throw new RangeError("Multiple content holes");s=f}}}return{dom:a,contentDOM:s}}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new $s(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(t){let e=Lj(t.nodes);return e.text||(e.text=i=>i.text),e}static marksFromSchema(t){return Lj(t.marks)}}function Lj(n){let t={};for(let e in n){let i=n[e].spec.toDOM;i&&(t[e]=i)}return t}function TM(n){return n.document||window.document}const Fj=Math.pow(2,16);function ure(n,t){return n+t*Fj}function jj(n){return 65535&n}class DM{constructor(t,e,i){this.pos=t,this.delInfo=e,this.recover=i}get deleted(){return(8&this.delInfo)>0}get deletedBefore(){return(5&this.delInfo)>0}get deletedAfter(){return(6&this.delInfo)>0}get deletedAcross(){return(4&this.delInfo)>0}}class Uo{constructor(t,e=!1){if(this.ranges=t,this.inverted=e,!t.length&&Uo.empty)return Uo.empty}recover(t){let e=0,i=jj(t);if(!this.inverted)for(let r=0;rt)break;let c=this.ranges[a+o],u=this.ranges[a+s],d=l+c;if(t<=d){let f=l+r+((c?t==l?-1:t==d?1:e:e)<0?0:u);if(i)return f;let p=t==(e<0?l:d)?null:ure(a/3,t-l),m=t==l?2:t==d?1:4;return(e<0?t!=l:t!=d)&&(m|=8),new DM(f,m,p)}r+=u-c}return i?t+r:new DM(t+r,0,null)}touches(t,e){let i=0,r=jj(e),o=this.inverted?2:1,s=this.inverted?1:2;for(let a=0;at)break;let c=this.ranges[a+o];if(t<=l+c&&a==3*r)return!0;i+=this.ranges[a+s]-c}return!1}forEach(t){let e=this.inverted?2:1,i=this.inverted?1:2;for(let r=0,o=0;r=0;e--){let r=t.getMirror(e);this.appendMap(t.maps[e].invert(),null!=r&&r>e?i-r-1:void 0)}}invert(){let t=new Dh;return t.appendMappingInverted(this),t}map(t,e=1){if(this.mirror)return this._map(t,e,!0);for(let i=this.from;io&&ls.isAtom&&a.type.allowsMarkType(this.mark.type)?s.mark(this.mark.addToSet(s.marks)):s,r),e.openStart,e.openEnd);return gi.fromReplace(t,this.from,this.to,o)}invert(){return new Ws(this.from,this.to,this.mark)}map(t){let e=t.mapResult(this.from,1),i=t.mapResult(this.to,-1);return e.deleted&&i.deleted||e.pos>=i.pos?null:new Il(e.pos,i.pos,this.mark)}merge(t){return t instanceof Il&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new Il(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to)throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new Il(e.from,e.to,t.markFromJSON(e.mark))}}Vi.jsonID("addMark",Il);class Ws extends Vi{constructor(t,e,i){super(),this.from=t,this.to=e,this.mark=i}apply(t){let e=t.slice(this.from,this.to),i=new Te(SM(e.content,r=>r.mark(this.mark.removeFromSet(r.marks)),t),e.openStart,e.openEnd);return gi.fromReplace(t,this.from,this.to,i)}invert(){return new Il(this.from,this.to,this.mark)}map(t){let e=t.mapResult(this.from,1),i=t.mapResult(this.to,-1);return e.deleted&&i.deleted||e.pos>=i.pos?null:new Ws(e.pos,i.pos,this.mark)}merge(t){return t instanceof Ws&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new Ws(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to)throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new Ws(e.from,e.to,t.markFromJSON(e.mark))}}Vi.jsonID("removeMark",Ws);class Ol extends Vi{constructor(t,e){super(),this.pos=t,this.mark=e}apply(t){let e=t.nodeAt(this.pos);if(!e)return gi.fail("No node at mark step's position");let i=e.type.create(e.attrs,null,this.mark.addToSet(e.marks));return gi.fromReplace(t,this.pos,this.pos+1,new Te(he.from(i),0,e.isLeaf?0:1))}invert(t){let e=t.nodeAt(this.pos);if(e){let i=this.mark.addToSet(e.marks);if(i.length==e.marks.length){for(let r=0;ri.pos?null:new Bi(e.pos,i.pos,r,o,this.slice,this.insert,this.structure)}toJSON(){let t={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to||"number"!=typeof e.gapFrom||"number"!=typeof e.gapTo||"number"!=typeof e.insert)throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new Bi(e.from,e.to,e.gapFrom,e.gapTo,Te.fromJSON(t,e.slice),e.insert,!!e.structure)}}function EM(n,t,e){let i=n.resolve(t),r=e-t,o=i.depth;for(;r>0&&o>0&&i.indexAfter(o)==i.node(o).childCount;)o--,r--;if(r>0){let s=i.node(o).maybeChild(i.indexAfter(o));for(;r>0;){if(!s||s.isLeaf)return!0;s=s.firstChild,r--}}return!1}function mre(n,t,e){return(0==t||n.canReplace(t,n.childCount))&&(e==n.childCount||n.canReplace(0,e))}function Sh(n){let e=n.parent.content.cutByIndex(n.startIndex,n.endIndex);for(let i=n.depth;;--i){let r=n.$from.node(i),o=n.$from.index(i),s=n.$to.indexAfter(i);if(io;c--,u--){let d=r.node(c),h=r.index(c);if(d.type.spec.isolating)return!1;let f=d.content.cutByIndex(h,d.childCount),p=i&&i[u+1];p&&(f=f.replaceChild(0,p.type.create(p.attrs)));let m=i&&i[u]||d;if(!d.canReplace(h+1,d.childCount)||!m.type.validContent(f))return!1}let a=r.indexAfter(o),l=i&&i[0];return r.node(o).canReplaceWith(a,a,l?l.type:r.node(o+1).type)}function Al(n,t){let e=n.resolve(t),i=e.index();return Hj(e.nodeBefore,e.nodeAfter)&&e.parent.canReplace(i,i+1)}function Hj(n,t){return!(!n||!t||n.isLeaf||!n.canAppend(t))}function $j(n,t,e=-1){let i=n.resolve(t);for(let r=i.depth;;r--){let o,s,a=i.index(r);if(r==i.depth?(o=i.nodeBefore,s=i.nodeAfter):e>0?(o=i.node(r+1),a++,s=i.node(r).maybeChild(a)):(o=i.node(r).maybeChild(a-1),s=i.node(r+1)),o&&!o.isTextblock&&Hj(o,s)&&i.node(r).canReplace(a,a+1))return t;if(0==r)break;t=e<0?i.before(r):i.after(r)}}function Wj(n,t,e){let i=n.resolve(t);if(!e.content.size)return t;let r=e.content;for(let o=0;o=0;s--){let a=s==i.depth?0:i.pos<=(i.start(s+1)+i.end(s+1))/2?-1:1,l=i.index(s)+(a>0?1:0),c=i.node(s),u=!1;if(1==o)u=c.canReplace(l,l,r);else{let d=c.contentMatchAt(l).findWrapping(r.firstChild.type);u=d&&c.canReplaceWith(l,l,d[0])}if(u)return 0==a?i.pos:a<0?i.before(s+1):i.after(s+1)}return null}function IM(n,t,e=t,i=Te.empty){if(t==e&&!i.size)return null;let r=n.resolve(t),o=n.resolve(e);return Gj(r,o,i)?new fr(t,e,i):new Sre(r,o,i).fit()}function Gj(n,t,e){return!e.openStart&&!e.openEnd&&n.start()==t.start()&&n.parent.canReplace(n.index(),t.index(),e.content)}Vi.jsonID("replaceAround",Bi);class Sre{constructor(t,e,i){this.$from=t,this.$to=e,this.unplaced=i,this.frontier=[],this.placed=he.empty;for(let r=0;r<=t.depth;r++){let o=t.node(r);this.frontier.push({type:o.type,match:o.contentMatchAt(t.indexAfter(r))})}for(let r=t.depth;r>0;r--)this.placed=he.from(t.node(r).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let c=this.findFittable();c?this.placeNodes(c):this.openMore()||this.dropNode()}let t=this.mustMoveInline(),e=this.placed.size-this.depth-this.$from.depth,i=this.$from,r=this.close(t<0?this.$to:i.doc.resolve(t));if(!r)return null;let o=this.placed,s=i.depth,a=r.depth;for(;s&&a&&1==o.childCount;)o=o.firstChild.content,s--,a--;let l=new Te(o,s,a);return t>-1?new Bi(i.pos,t,this.$to.pos,this.$to.end(),l,e):l.size||i.pos!=this.$to.pos?new fr(i.pos,r.pos,l):null}findFittable(){let t=this.unplaced.openStart;for(let e=this.unplaced.content,i=0,r=this.unplaced.openEnd;i1&&(r=0),o.type.spec.isolating&&r<=i){t=i;break}e=o.content}for(let e=1;e<=2;e++)for(let i=1==e?t:this.unplaced.openStart;i>=0;i--){let r,o=null;i?(o=OM(this.unplaced.content,i-1).firstChild,r=o.content):r=this.unplaced.content;let s=r.firstChild;for(let a=this.depth;a>=0;a--){let u,{type:l,match:c}=this.frontier[a],d=null;if(1==e&&(s?c.matchType(s.type)||(d=c.fillBefore(he.from(s),!1)):o&&l.compatibleContent(o.type)))return{sliceDepth:i,frontierDepth:a,parent:o,inject:d};if(2==e&&s&&(u=c.findWrapping(s.type)))return{sliceDepth:i,frontierDepth:a,parent:o,wrap:u};if(o&&c.matchType(o.type))break}}}openMore(){let{content:t,openStart:e,openEnd:i}=this.unplaced,r=OM(t,e);return!(!r.childCount||r.firstChild.isLeaf||(this.unplaced=new Te(t,e+1,Math.max(i,r.size+e>=t.size-i?e+1:0)),0))}dropNode(){let{content:t,openStart:e,openEnd:i}=this.unplaced,r=OM(t,e);if(r.childCount<=1&&e>0){let o=t.size-e<=e+r.size;this.unplaced=new Te(Gm(t,e-1,1),e-1,o?e-1:i)}else this.unplaced=new Te(Gm(t,e,1),e,i)}placeNodes({sliceDepth:t,frontierDepth:e,parent:i,inject:r,wrap:o}){for(;this.depth>e;)this.closeFrontierNode();if(o)for(let m=0;m1||0==l||m.content.size)&&(d=g,u.push(Yj(m.mark(h.allowedMarks(m.marks)),1==c?l:0,c==a.childCount?f:-1)))}let p=c==a.childCount;p||(f=-1),this.placed=Ym(this.placed,e,he.from(u)),this.frontier[e].match=d,p&&f<0&&i&&i.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let m=0,g=a;m1&&r==this.$to.end(--i);)++r;return r}findCloseLevel(t){e:for(let e=Math.min(this.depth,t.depth);e>=0;e--){let{match:i,type:r}=this.frontier[e],o=e=0;a--){let{match:l,type:c}=this.frontier[a],u=AM(t,a,c,l,!0);if(!u||u.childCount)continue e}return{depth:e,fit:s,move:o?t.doc.resolve(t.after(e+1)):t}}}}close(t){let e=this.findCloseLevel(t);if(!e)return null;for(;this.depth>e.depth;)this.closeFrontierNode();e.fit.childCount&&(this.placed=Ym(this.placed,e.depth,e.fit)),t=e.move;for(let i=e.depth+1;i<=t.depth;i++){let r=t.node(i),o=r.type.contentMatch.fillBefore(r.content,!0,t.index(i));this.openFrontierNode(r.type,r.attrs,o)}return t}openFrontierNode(t,e=null,i){let r=this.frontier[this.depth];r.match=r.match.matchType(t),this.placed=Ym(this.placed,this.depth,he.from(t.create(e,i))),this.frontier.push({type:t,match:t.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(he.empty,!0);e.childCount&&(this.placed=Ym(this.placed,this.frontier.length,e))}}function Gm(n,t,e){return 0==t?n.cutByIndex(e,n.childCount):n.replaceChild(0,n.firstChild.copy(Gm(n.firstChild.content,t-1,e)))}function Ym(n,t,e){return 0==t?n.append(e):n.replaceChild(n.childCount-1,n.lastChild.copy(Ym(n.lastChild.content,t-1,e)))}function OM(n,t){for(let e=0;e1&&(i=i.replaceChild(0,Yj(i.firstChild,t-1,1==i.childCount?e-1:0))),t>0&&(i=n.type.contentMatch.fillBefore(i).append(i),e<=0&&(i=i.append(n.type.contentMatch.matchFragment(i).fillBefore(he.empty,!0)))),n.copy(i)}function AM(n,t,e,i,r){let o=n.node(t),s=r?n.indexAfter(t):n.index(t);if(s==o.childCount&&!e.compatibleContent(o.type))return null;let a=i.fillBefore(o.content,!0,s);return a&&!function Ere(n,t,e){for(let i=e;ii){let o=r.contentMatchAt(0),s=o.fillBefore(n).append(n);n=s.append(o.matchFragment(s).fillBefore(he.empty,!0))}return n}function Kj(n,t){let e=[];for(let r=Math.min(n.depth,t.depth);r>=0;r--){let o=n.start(r);if(ot.pos+(t.depth-r)||n.node(r).type.spec.isolating||t.node(r).type.spec.isolating)break;(o==t.start(r)||r==n.depth&&r==t.depth&&n.parent.inlineContent&&t.parent.inlineContent&&r&&t.start(r-1)==o-1)&&e.push(r)}return e}class Eh extends Vi{constructor(t,e,i){super(),this.pos=t,this.attr=e,this.value=i}apply(t){let e=t.nodeAt(this.pos);if(!e)return gi.fail("No node at attribute step's position");let i=Object.create(null);for(let o in e.attrs)i[o]=e.attrs[o];i[this.attr]=this.value;let r=e.type.create(i,null,e.marks);return gi.fromReplace(t,this.pos,this.pos+1,new Te(he.from(r),0,e.isLeaf?0:1))}getMap(){return Uo.empty}invert(t){return new Eh(this.pos,this.attr,t.nodeAt(this.pos).attrs[this.attr])}map(t){let e=t.mapResult(this.pos,1);return e.deletedAfter?null:new Eh(e.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(t,e){if("number"!=typeof e.pos||"string"!=typeof e.attr)throw new RangeError("Invalid input for AttrStep.fromJSON");return new Eh(e.pos,e.attr,e.value)}}Vi.jsonID("attr",Eh);let xh=class extends Error{};xh=function n(t){let e=Error.call(this,t);return e.__proto__=n.prototype,e},(xh.prototype=Object.create(Error.prototype)).constructor=xh,xh.prototype.name="TransformError";class kM{constructor(t){this.doc=t,this.steps=[],this.docs=[],this.mapping=new Dh}get before(){return this.docs.length?this.docs[0]:this.doc}step(t){let e=this.maybeStep(t);if(e.failed)throw new xh(e.failed);return this}maybeStep(t){let e=t.apply(this.doc);return e.failed||this.addStep(t,e.doc),e}get docChanged(){return this.steps.length>0}addStep(t,e){this.docs.push(this.doc),this.steps.push(t),this.mapping.appendMap(t.getMap()),this.doc=e}replace(t,e=t,i=Te.empty){let r=IM(this.doc,t,e,i);return r&&this.step(r),this}replaceWith(t,e,i){return this.replace(t,e,new Te(he.from(i),0,0))}delete(t,e){return this.replace(t,e,Te.empty)}insert(t,e){return this.replaceWith(t,t,e)}replaceRange(t,e,i){return function Ire(n,t,e,i){if(!i.size)return n.deleteRange(t,e);let r=n.doc.resolve(t),o=n.doc.resolve(e);if(Gj(r,o,i))return n.step(new fr(t,e,i));let s=Kj(r,n.doc.resolve(e));0==s[s.length-1]&&s.pop();let a=-(r.depth+1);s.unshift(a);for(let h=r.depth,f=r.pos-1;h>0;h--,f--){let p=r.node(h).type.spec;if(p.defining||p.definingAsContext||p.isolating)break;s.indexOf(h)>-1?a=h:r.before(h)==f&&s.splice(1,0,-h)}let l=s.indexOf(a),c=[],u=i.openStart;for(let h=i.content,f=0;;f++){let p=h.firstChild;if(c.push(p),f==i.openStart)break;h=p.content}for(let h=u-1;h>=0;h--){let f=c[h].type,p=xre(f);if(p&&r.node(l).type!=f)u=h;else if(p||!f.isTextblock)break}for(let h=i.openStart;h>=0;h--){let f=(h+u+1)%(i.openStart+1),p=c[f];if(p)for(let m=0;m=0&&(n.replace(t,e,i),!(n.steps.length>d));h--){let f=s[h];f<0||(t=r.before(f),e=o.after(f))}}(this,t,e,i),this}replaceRangeWith(t,e,i){return function Ore(n,t,e,i){if(!i.isInline&&t==e&&n.doc.resolve(t).parent.content.size){let r=function Mre(n,t,e){let i=n.resolve(t);if(i.parent.canReplaceWith(i.index(),i.index(),e))return t;if(0==i.parentOffset)for(let r=i.depth-1;r>=0;r--){let o=i.index(r);if(i.node(r).canReplaceWith(o,o,e))return i.before(r+1);if(o>0)return null}if(i.parentOffset==i.parent.content.size)for(let r=i.depth-1;r>=0;r--){let o=i.indexAfter(r);if(i.node(r).canReplaceWith(o,o,e))return i.after(r+1);if(o0&&(l||i.node(a-1).canReplace(i.index(a-1),r.indexAfter(a-1))))return n.delete(i.before(a),r.after(a))}for(let s=1;s<=i.depth&&s<=r.depth;s++)if(t-i.start(s)==i.depth-s&&e>i.end(s)&&r.end(s)-e!=r.depth-s)return n.delete(i.before(s),e);n.delete(t,e)}(this,t,e),this}lift(t,e){return function gre(n,t,e){let{$from:i,$to:r,depth:o}=t,s=i.before(o+1),a=r.after(o+1),l=s,c=a,u=he.empty,d=0;for(let p=o,m=!1;p>e;p--)m||i.index(p)>0?(m=!0,u=he.from(i.node(p).copy(u)),d++):l--;let h=he.empty,f=0;for(let p=o,m=!1;p>e;p--)m||r.after(p+1)=0;s--){if(i.size){let a=e[s].type.contentMatch.matchFragment(i);if(!a||!a.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}i=he.from(e[s].type.create(e[s].attrs,i))}let r=t.start,o=t.end;n.step(new Bi(r,o,r,o,new Te(i,0,0),e.length,!0))}(this,t,e),this}setBlockType(t,e=t,i,r=null){return function bre(n,t,e,i,r){if(!i.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let o=n.steps.length;n.doc.nodesBetween(t,e,(s,a)=>{if(s.isTextblock&&!s.hasMarkup(i,r)&&function Cre(n,t,e){let i=n.resolve(t),r=i.index();return i.parent.canReplaceWith(r,r+1,e)}(n.doc,n.mapping.slice(o).map(a),i)){n.clearIncompatible(n.mapping.slice(o).map(a,1),i);let l=n.mapping.slice(o),c=l.map(a,1),u=l.map(a+s.nodeSize,1);return n.step(new Bi(c,u,c+1,u-1,new Te(he.from(i.create(r,null,s.marks)),0,0),1,!0)),!1}})}(this,t,e,i,r),this}setNodeMarkup(t,e,i=null,r){return function wre(n,t,e,i,r){let o=n.doc.nodeAt(t);if(!o)throw new RangeError("No node at given position");e||(e=o.type);let s=e.create(i,null,r||o.marks);if(o.isLeaf)return n.replaceWith(t,t+o.nodeSize,s);if(!e.validContent(o.content))throw new RangeError("Invalid content for node type "+e.name);n.step(new Bi(t,t+o.nodeSize,t+1,t+o.nodeSize-1,new Te(he.from(s),0,0),1,!0))}(this,t,e,i,r),this}setNodeAttribute(t,e,i){return this.step(new Eh(t,e,i)),this}addNodeMark(t,e){return this.step(new Ol(t,e)),this}removeNodeMark(t,e){if(!(e instanceof Pn)){let i=this.doc.nodeAt(t);if(!i)throw new RangeError("No node at position "+t);if(!(e=e.isInSet(i.marks)))return this}return this.step(new Mh(t,e)),this}split(t,e=1,i){return function Tre(n,t,e=1,i){let r=n.doc.resolve(t),o=he.empty,s=he.empty;for(let a=r.depth,l=r.depth-e,c=e-1;a>l;a--,c--){o=he.from(r.node(a).copy(o));let u=i&&i[c];s=he.from(u?u.type.create(u.attrs,s):r.node(a).copy(s))}n.step(new fr(t,t,new Te(o.append(s),e,e),!0))}(this,t,e,i),this}addMark(t,e,i){return function hre(n,t,e,i){let s,a,r=[],o=[];n.doc.nodesBetween(t,e,(l,c,u)=>{if(!l.isInline)return;let d=l.marks;if(!i.isInSet(d)&&u.type.allowsMarkType(i.type)){let h=Math.max(c,t),f=Math.min(c+l.nodeSize,e),p=i.addToSet(d);for(let m=0;mn.step(l)),o.forEach(l=>n.step(l))}(this,t,e,i),this}removeMark(t,e,i){return function fre(n,t,e,i){let r=[],o=0;n.doc.nodesBetween(t,e,(s,a)=>{if(!s.isInline)return;o++;let l=null;if(i instanceof yb){let u,c=s.marks;for(;u=i.isInSet(c);)(l||(l=[])).push(u),c=u.removeFromSet(c)}else i?i.isInSet(s.marks)&&(l=[i]):l=s.marks;if(l&&l.length){let c=Math.min(a+s.nodeSize,e);for(let u=0;un.step(new Ws(s.from,s.to,s.style)))}(this,t,e,i),this}clearIncompatible(t,e,i){return function pre(n,t,e,i=e.contentMatch){let r=n.doc.nodeAt(t),o=[],s=t+1;for(let a=0;a=0;a--)n.step(o[a])}(this,t,e,i),this}}const NM=Object.create(null);class ct{constructor(t,e,i){this.$anchor=t,this.$head=e,this.ranges=i||[new Qj(t.min(e),t.max(e))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let t=this.ranges;for(let e=0;e=0;o--){let s=e<0?Ih(t.node(0),t.node(o),t.before(o+1),t.index(o),e,i):Ih(t.node(0),t.node(o),t.after(o+1),t.index(o)+1,e,i);if(s)return s}return null}static near(t,e=1){return this.findFrom(t,e)||this.findFrom(t,-e)||new Do(t.node(0))}static atStart(t){return Ih(t,t,0,0,1)||new Do(t)}static atEnd(t){return Ih(t,t,t.content.size,t.childCount,-1)||new Do(t)}static fromJSON(t,e){if(!e||!e.type)throw new RangeError("Invalid input for Selection.fromJSON");let i=NM[e.type];if(!i)throw new RangeError(`No selection type ${e.type} defined`);return i.fromJSON(t,e)}static jsonID(t,e){if(t in NM)throw new RangeError("Duplicate use of selection JSON ID "+t);return NM[t]=e,e.prototype.jsonID=t,e}getBookmark(){return at.between(this.$anchor,this.$head).getBookmark()}}ct.prototype.visible=!0;class Qj{constructor(t,e){this.$from=t,this.$to=e}}let Zj=!1;function Jj(n){!Zj&&!n.parent.inlineContent&&(Zj=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+n.parent.type.name+")"))}class at extends ct{constructor(t,e=t){Jj(t),Jj(e),super(t,e)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(t,e){let i=t.resolve(e.map(this.head));if(!i.parent.inlineContent)return ct.near(i);let r=t.resolve(e.map(this.anchor));return new at(r.parent.inlineContent?r:i,i)}replace(t,e=Te.empty){if(super.replace(t,e),e==Te.empty){let i=this.$from.marksAcross(this.$to);i&&t.ensureMarks(i)}}eq(t){return t instanceof at&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new wb(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(t,e){if("number"!=typeof e.anchor||"number"!=typeof e.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new at(t.resolve(e.anchor),t.resolve(e.head))}static create(t,e,i=e){let r=t.resolve(e);return new this(r,i==e?r:t.resolve(i))}static between(t,e,i){let r=t.pos-e.pos;if((!i||r)&&(i=r>=0?1:-1),!e.parent.inlineContent){let o=ct.findFrom(e,i,!0)||ct.findFrom(e,-i,!0);if(!o)return ct.near(e,i);e=o.$head}return t.parent.inlineContent||(0==r||(t=(ct.findFrom(t,-i,!0)||ct.findFrom(t,i,!0)).$anchor).posnew Do(n)};function Ih(n,t,e,i,r,o=!1){if(t.inlineContent)return at.create(n,e);for(let s=i-(r>0?0:1);r>0?s=0;s+=r){let a=t.child(s);if(a.isAtom){if(!o&&Qe.isSelectable(a))return Qe.create(n,e-(r<0?a.nodeSize:0))}else{let l=Ih(n,a,e+r,r<0?a.childCount:0,r,o);if(l)return l}e+=a.nodeSize*r}return null}function Xj(n,t,e){let i=n.steps.length-1;if(i{null==s&&(s=u)}),n.setSelection(ct.near(n.doc.resolve(s),e)))}class Nre extends kM{constructor(t){super(t.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=t.selection,this.storedMarks=t.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(t){return this.storedMarks=t,this.updated|=2,this}ensureMarks(t){return Pn.sameSet(this.storedMarks||this.selection.$from.marks(),t)||this.setStoredMarks(t),this}addStoredMark(t){return this.ensureMarks(t.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(t){return this.ensureMarks(t.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(2&this.updated)>0}addStep(t,e){super.addStep(t,e),this.updated=-3&this.updated,this.storedMarks=null}setTime(t){return this.time=t,this}replaceSelection(t){return this.selection.replace(this,t),this}replaceSelectionWith(t,e=!0){let i=this.selection;return e&&(t=t.mark(this.storedMarks||(i.empty?i.$from.marks():i.$from.marksAcross(i.$to)||Pn.none))),i.replaceWith(this,t),this}deleteSelection(){return this.selection.replace(this),this}insertText(t,e,i){let r=this.doc.type.schema;if(null==e)return t?this.replaceSelectionWith(r.text(t),!0):this.deleteSelection();{if(null==i&&(i=e),i=i??e,!t)return this.deleteRange(e,i);let o=this.storedMarks;if(!o){let s=this.doc.resolve(e);o=i==e?s.marks():s.marksAcross(this.doc.resolve(i))}return this.replaceRangeWith(e,i,r.text(t,o)),this.selection.empty||this.setSelection(ct.near(this.selection.$to)),this}}setMeta(t,e){return this.meta["string"==typeof t?t:t.key]=e,this}getMeta(t){return this.meta["string"==typeof t?t:t.key]}get isGeneric(){for(let t in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}}function n3(n,t){return t&&n?n.bind(t):n}class qm{constructor(t,e,i){this.name=t,this.init=n3(e.init,i),this.apply=n3(e.apply,i)}}const Pre=[new qm("doc",{init:n=>n.doc||n.schema.topNodeType.createAndFill(),apply:n=>n.doc}),new qm("selection",{init:(n,t)=>n.selection||ct.atStart(t.doc),apply:n=>n.selection}),new qm("storedMarks",{init:n=>n.storedMarks||null,apply:(n,t,e,i)=>i.selection.$cursor?n.storedMarks:null}),new qm("scrollToSelection",{init:()=>0,apply:(n,t)=>n.scrolledIntoView?t+1:t})];class LM{constructor(t,e){this.schema=t,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=Pre.slice(),e&&e.forEach(i=>{if(this.pluginsByKey[i.key])throw new RangeError("Adding different instances of a keyed plugin ("+i.key+")");this.plugins.push(i),this.pluginsByKey[i.key]=i,i.spec.state&&this.fields.push(new qm(i.key,i.spec.state,i))})}}class Oh{constructor(t){this.config=t}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(t){return this.applyTransaction(t).state}filterTransaction(t,e=-1){for(let i=0;ii.toJSON())),t&&"object"==typeof t)for(let i in t){if("doc"==i||"selection"==i)throw new RangeError("The JSON fields `doc` and `selection` are reserved");let r=t[i],o=r.spec.state;o&&o.toJSON&&(e[i]=o.toJSON.call(r,this[r.key]))}return e}static fromJSON(t,e,i){if(!e)throw new RangeError("Invalid input for EditorState.fromJSON");if(!t.schema)throw new RangeError("Required config field 'schema' missing");let r=new LM(t.schema,t.plugins),o=new Oh(r);return r.fields.forEach(s=>{if("doc"==s.name)o.doc=Hs.fromJSON(t.schema,e.doc);else if("selection"==s.name)o.selection=ct.fromJSON(o.doc,e.selection);else if("storedMarks"==s.name)e.storedMarks&&(o.storedMarks=e.storedMarks.map(t.schema.markFromJSON));else{if(i)for(let a in i){let l=i[a],c=l.spec.state;if(l.key==s.name&&c&&c.fromJSON&&Object.prototype.hasOwnProperty.call(e,a))return void(o[s.name]=c.fromJSON.call(l,t,e[a],o))}o[s.name]=s.init(t,o)}}),o}}function r3(n,t,e){for(let i in n){let r=n[i];r instanceof Function?r=r.bind(t):"handleDOMEvents"==i&&(r=r3(r,t,{})),e[i]=r}return e}class Kt{constructor(t){this.spec=t,this.props={},t.props&&r3(t.props,this,this.props),this.key=t.key?t.key.key:o3("plugin")}getState(t){return t[this.key]}}const RM=Object.create(null);function o3(n){return n in RM?n+"$"+ ++RM[n]:(RM[n]=0,n+"$")}class an{constructor(t="key"){this.key=o3(t)}get(t){return t.config.pluginsByKey[this.key]}getState(t){return t[this.key]}}function Mo(n){if(null==n)return window;if("[object Window]"!==n.toString()){var t=n.ownerDocument;return t&&t.defaultView||window}return n}function ou(n){return n instanceof Mo(n).Element||n instanceof Element}function Ho(n){return n instanceof Mo(n).HTMLElement||n instanceof HTMLElement}function FM(n){return!(typeof ShadowRoot>"u")&&(n instanceof Mo(n).ShadowRoot||n instanceof ShadowRoot)}var su=Math.max,Db=Math.min,Ah=Math.round;function jM(){var n=navigator.userAgentData;return null!=n&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function s3(){return!/^((?!chrome|android).)*safari/i.test(jM())}function kh(n,t,e){void 0===t&&(t=!1),void 0===e&&(e=!1);var i=n.getBoundingClientRect(),r=1,o=1;t&&Ho(n)&&(r=n.offsetWidth>0&&Ah(i.width)/n.offsetWidth||1,o=n.offsetHeight>0&&Ah(i.height)/n.offsetHeight||1);var a=(ou(n)?Mo(n):window).visualViewport,l=!s3()&&e,c=(i.left+(l&&a?a.offsetLeft:0))/r,u=(i.top+(l&&a?a.offsetTop:0))/o,d=i.width/r,h=i.height/o;return{width:d,height:h,top:u,right:c+d,bottom:u+h,left:c,x:c,y:u}}function zM(n){var t=Mo(n);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Gs(n){return n?(n.nodeName||"").toLowerCase():null}function kl(n){return((ou(n)?n.ownerDocument:n.document)||window.document).documentElement}function VM(n){return kh(kl(n)).left+zM(n).scrollLeft}function Ha(n){return Mo(n).getComputedStyle(n)}function BM(n){var t=Ha(n);return/auto|scroll|overlay|hidden/.test(t.overflow+t.overflowY+t.overflowX)}function jre(n,t,e){void 0===e&&(e=!1);var i=Ho(t),r=Ho(t)&&function Fre(n){var t=n.getBoundingClientRect(),e=Ah(t.width)/n.offsetWidth||1,i=Ah(t.height)/n.offsetHeight||1;return 1!==e||1!==i}(t),o=kl(t),s=kh(n,r,e),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!e)&&(("body"!==Gs(t)||BM(o))&&(a=function Rre(n){return n!==Mo(n)&&Ho(n)?function Lre(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}(n):zM(n)}(t)),Ho(t)?((l=kh(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=VM(o))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function UM(n){var t=kh(n),e=n.offsetWidth,i=n.offsetHeight;return Math.abs(t.width-e)<=1&&(e=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:n.offsetLeft,y:n.offsetTop,width:e,height:i}}function Mb(n){return"html"===Gs(n)?n:n.assignedSlot||n.parentNode||(FM(n)?n.host:null)||kl(n)}function a3(n){return["html","body","#document"].indexOf(Gs(n))>=0?n.ownerDocument.body:Ho(n)&&BM(n)?n:a3(Mb(n))}function Km(n,t){var e;void 0===t&&(t=[]);var i=a3(n),r=i===(null==(e=n.ownerDocument)?void 0:e.body),o=Mo(i),s=r?[o].concat(o.visualViewport||[],BM(i)?i:[]):i,a=t.concat(s);return r?a:a.concat(Km(Mb(s)))}function zre(n){return["table","td","th"].indexOf(Gs(n))>=0}function l3(n){return Ho(n)&&"fixed"!==Ha(n).position?n.offsetParent:null}function Qm(n){for(var t=Mo(n),e=l3(n);e&&zre(e)&&"static"===Ha(e).position;)e=l3(e);return e&&("html"===Gs(e)||"body"===Gs(e)&&"static"===Ha(e).position)?t:e||function Vre(n){var t=/firefox/i.test(jM());if(/Trident/i.test(jM())&&Ho(n)&&"fixed"===Ha(n).position)return null;var r=Mb(n);for(FM(r)&&(r=r.host);Ho(r)&&["html","body"].indexOf(Gs(r))<0;){var o=Ha(r);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return r;r=r.parentNode}return null}(n)||t}var Xr="top",$o="bottom",Wo="right",eo="left",HM="auto",Zm=[Xr,$o,Wo,eo],Nh="start",Jm="end",c3="viewport",Xm="popper",u3=Zm.reduce(function(n,t){return n.concat([t+"-"+Nh,t+"-"+Jm])},[]),d3=[].concat(Zm,[HM]).reduce(function(n,t){return n.concat([t,t+"-"+Nh,t+"-"+Jm])},[]),Jre=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Xre(n){var t=new Map,e=new Set,i=[];function r(o){e.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach(function(a){if(!e.has(a)){var l=t.get(a);l&&r(l)}}),i.push(o)}return n.forEach(function(o){t.set(o.name,o)}),n.forEach(function(o){e.has(o.name)||r(o)}),i}function toe(n){var t;return function(){return t||(t=new Promise(function(e){Promise.resolve().then(function(){t=void 0,e(n())})})),t}}var h3={placement:"bottom",modifiers:[],strategy:"absolute"};function f3(){for(var n=arguments.length,t=new Array(n),e=0;e=0?"x":"y"}function p3(n){var l,t=n.reference,e=n.element,i=n.placement,r=i?Ys(i):null,o=i?Ph(i):null,s=t.x+t.width/2-e.width/2,a=t.y+t.height/2-e.height/2;switch(r){case Xr:l={x:s,y:t.y-e.height};break;case $o:l={x:s,y:t.y+t.height};break;case Wo:l={x:t.x+t.width,y:a};break;case eo:l={x:t.x-e.width,y:a};break;default:l={x:t.x,y:t.y}}var c=r?$M(r):null;if(null!=c){var u="y"===c?"height":"width";switch(o){case Nh:l[c]=l[c]-(t[u]/2-e[u]/2);break;case Jm:l[c]=l[c]+(t[u]/2-e[u]/2)}}return l}const aoe={name:"popperOffsets",enabled:!0,phase:"read",fn:function soe(n){var t=n.state;t.modifiersData[n.name]=p3({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var loe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function m3(n){var t,e=n.popper,i=n.popperRect,r=n.placement,o=n.variation,s=n.offsets,a=n.position,l=n.gpuAcceleration,c=n.adaptive,u=n.roundOffsets,d=n.isFixed,h=s.x,f=void 0===h?0:h,p=s.y,m=void 0===p?0:p,g="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var y=s.hasOwnProperty("x"),w=s.hasOwnProperty("y"),T=eo,v=Xr,N=window;if(c){var x=Qm(e),ae="clientHeight",Z="clientWidth";x===Mo(e)&&"static"!==Ha(x=kl(e)).position&&"absolute"===a&&(ae="scrollHeight",Z="scrollWidth"),(r===Xr||(r===eo||r===Wo)&&o===Jm)&&(v=$o,m-=(d&&x===N&&N.visualViewport?N.visualViewport.height:x[ae])-i.height,m*=l?1:-1),r!==eo&&(r!==Xr&&r!==$o||o!==Jm)||(T=Wo,f-=(d&&x===N&&N.visualViewport?N.visualViewport.width:x[Z])-i.width,f*=l?1:-1)}var ut,Tt=Object.assign({position:a},c&&loe),ht=!0===u?function coe(n,t){var i=n.y,r=t.devicePixelRatio||1;return{x:Ah(n.x*r)/r||0,y:Ah(i*r)/r||0}}({x:f,y:m},Mo(e)):{x:f,y:m};return f=ht.x,m=ht.y,Object.assign({},Tt,l?((ut={})[v]=w?"0":"",ut[T]=y?"0":"",ut.transform=(N.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",ut):((t={})[v]=w?m+"px":"",t[T]=y?f+"px":"",t.transform="",t))}const doe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function uoe(n){var t=n.state,e=n.options,i=e.gpuAcceleration,r=void 0===i||i,o=e.adaptive,s=void 0===o||o,a=e.roundOffsets,l=void 0===a||a,c={placement:Ys(t.placement),variation:Ph(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,m3(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,m3(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},g3={name:"applyStyles",enabled:!0,phase:"write",fn:function hoe(n){var t=n.state;Object.keys(t.elements).forEach(function(e){var i=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];!Ho(o)||!Gs(o)||(Object.assign(o.style,i),Object.keys(r).forEach(function(s){var a=r[s];!1===a?o.removeAttribute(s):o.setAttribute(s,!0===a?"":a)}))})},effect:function foe(n){var t=n.state,e={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,e.popper),t.styles=e,t.elements.arrow&&Object.assign(t.elements.arrow.style,e.arrow),function(){Object.keys(t.elements).forEach(function(i){var r=t.elements[i],o=t.attributes[i]||{},a=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:e[i]).reduce(function(l,c){return l[c]="",l},{});!Ho(r)||!Gs(r)||(Object.assign(r.style,a),Object.keys(o).forEach(function(l){r.removeAttribute(l)}))})}},requires:["computeStyles"]},goe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function moe(n){var t=n.state,i=n.name,r=n.options.offset,o=void 0===r?[0,0]:r,s=d3.reduce(function(u,d){return u[d]=function poe(n,t,e){var i=Ys(n),r=[eo,Xr].indexOf(i)>=0?-1:1,o="function"==typeof e?e(Object.assign({},t,{placement:n})):e,s=o[0],a=o[1];return s=s||0,a=(a||0)*r,[eo,Wo].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(d,t.rects,o),u},{}),a=s[t.placement],c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=a.x,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=s}};var yoe={left:"right",right:"left",bottom:"top",top:"bottom"};function Eb(n){return n.replace(/left|right|bottom|top/g,function(t){return yoe[t]})}var _oe={start:"end",end:"start"};function y3(n){return n.replace(/start|end/g,function(t){return _oe[t]})}function _3(n,t){var e=t.getRootNode&&t.getRootNode();if(n.contains(t))return!0;if(e&&FM(e)){var i=t;do{if(i&&n.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function WM(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function v3(n,t,e){return t===c3?WM(function voe(n,t){var e=Mo(n),i=kl(n),r=e.visualViewport,o=i.clientWidth,s=i.clientHeight,a=0,l=0;if(r){o=r.width,s=r.height;var c=s3();(c||!c&&"fixed"===t)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:o,height:s,x:a+VM(n),y:l}}(n,e)):ou(t)?function Coe(n,t){var e=kh(n,!1,"fixed"===t);return e.top=e.top+n.clientTop,e.left=e.left+n.clientLeft,e.bottom=e.top+n.clientHeight,e.right=e.left+n.clientWidth,e.width=n.clientWidth,e.height=n.clientHeight,e.x=e.left,e.y=e.top,e}(t,e):WM(function boe(n){var t,e=kl(n),i=zM(n),r=null==(t=n.ownerDocument)?void 0:t.body,o=su(e.scrollWidth,e.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=su(e.scrollHeight,e.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+VM(n),l=-i.scrollTop;return"rtl"===Ha(r||e).direction&&(a+=su(e.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}(kl(n)))}function C3(n){return Object.assign({},{top:0,right:0,bottom:0,left:0},n)}function w3(n,t){return t.reduce(function(e,i){return e[i]=n,e},{})}function eg(n,t){void 0===t&&(t={});var i=t.placement,r=void 0===i?n.placement:i,o=t.strategy,s=void 0===o?n.strategy:o,a=t.boundary,l=void 0===a?"clippingParents":a,c=t.rootBoundary,u=void 0===c?c3:c,d=t.elementContext,h=void 0===d?Xm:d,f=t.altBoundary,p=void 0!==f&&f,m=t.padding,g=void 0===m?0:m,y=C3("number"!=typeof g?g:w3(g,Zm)),T=n.rects.popper,v=n.elements[p?h===Xm?"reference":Xm:h],N=function Toe(n,t,e,i){var r="clippingParents"===t?function woe(n){var t=Km(Mb(n)),i=["absolute","fixed"].indexOf(Ha(n).position)>=0&&Ho(n)?Qm(n):n;return ou(i)?t.filter(function(r){return ou(r)&&_3(r,i)&&"body"!==Gs(r)}):[]}(n):[].concat(t),o=[].concat(r,[e]),a=o.reduce(function(l,c){var u=v3(n,c,i);return l.top=su(u.top,l.top),l.right=Db(u.right,l.right),l.bottom=Db(u.bottom,l.bottom),l.left=su(u.left,l.left),l},v3(n,o[0],i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(ou(v)?v:v.contextElement||kl(n.elements.popper),l,u,s),x=kh(n.elements.reference),ae=p3({reference:x,element:T,strategy:"absolute",placement:r}),Z=WM(Object.assign({},T,ae)),Pe=h===Xm?Z:x,Ge={top:N.top-Pe.top+y.top,bottom:Pe.bottom-N.bottom+y.bottom,left:N.left-Pe.left+y.left,right:Pe.right-N.right+y.right},Tt=n.modifiersData.offset;if(h===Xm&&Tt){var ht=Tt[r];Object.keys(Ge).forEach(function(ut){var vn=[Wo,$o].indexOf(ut)>=0?1:-1,kt=[Xr,$o].indexOf(ut)>=0?"y":"x";Ge[ut]+=ht[kt]*vn})}return Ge}const Eoe={name:"flip",enabled:!0,phase:"main",fn:function Soe(n){var t=n.state,e=n.options,i=n.name;if(!t.modifiersData[i]._skip){for(var r=e.mainAxis,o=void 0===r||r,s=e.altAxis,a=void 0===s||s,l=e.fallbackPlacements,c=e.padding,u=e.boundary,d=e.rootBoundary,h=e.altBoundary,f=e.flipVariations,p=void 0===f||f,m=e.allowedAutoPlacements,g=t.options.placement,y=Ys(g),T=l||(y!==g&&p?function Moe(n){if(Ys(n)===HM)return[];var t=Eb(n);return[y3(n),t,y3(t)]}(g):[Eb(g)]),v=[g].concat(T).reduce(function(zt,tr){return zt.concat(Ys(tr)===HM?function Doe(n,t){void 0===t&&(t={});var r=t.boundary,o=t.rootBoundary,s=t.padding,a=t.flipVariations,l=t.allowedAutoPlacements,c=void 0===l?d3:l,u=Ph(t.placement),d=u?a?u3:u3.filter(function(p){return Ph(p)===u}):Zm,h=d.filter(function(p){return c.indexOf(p)>=0});0===h.length&&(h=d);var f=h.reduce(function(p,m){return p[m]=eg(n,{placement:m,boundary:r,rootBoundary:o,padding:s})[Ys(m)],p},{});return Object.keys(f).sort(function(p,m){return f[p]-f[m]})}(t,{placement:tr,boundary:u,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:m}):tr)},[]),N=t.rects.reference,x=t.rects.popper,ae=new Map,Z=!0,Pe=v[0],Ge=0;Ge=0,kt=vn?"width":"height",de=eg(t,{placement:Tt,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),me=vn?ut?Wo:eo:ut?$o:Xr;N[kt]>x[kt]&&(me=Eb(me));var be=Eb(me),We=[];if(o&&We.push(de[ht]<=0),a&&We.push(de[me]<=0,de[be]<=0),We.every(function(zt){return zt})){Pe=Tt,Z=!1;break}ae.set(Tt,We)}if(Z)for(var dn=function(tr){var so=v.find(function(An){var Qt=ae.get(An);if(Qt)return Qt.slice(0,tr).every(function(mt){return mt})});if(so)return Pe=so,"break"},Wt=p?3:1;Wt>0&&"break"!==dn(Wt);Wt--);t.placement!==Pe&&(t.modifiersData[i]._skip=!0,t.placement=Pe,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function tg(n,t,e){return su(n,Db(t,e))}const Aoe={name:"preventOverflow",enabled:!0,phase:"main",fn:function Ooe(n){var t=n.state,e=n.options,i=n.name,r=e.mainAxis,o=void 0===r||r,s=e.altAxis,a=void 0!==s&&s,h=e.tether,f=void 0===h||h,p=e.tetherOffset,m=void 0===p?0:p,g=eg(t,{boundary:e.boundary,rootBoundary:e.rootBoundary,padding:e.padding,altBoundary:e.altBoundary}),y=Ys(t.placement),w=Ph(t.placement),T=!w,v=$M(y),N=function xoe(n){return"x"===n?"y":"x"}(v),x=t.modifiersData.popperOffsets,ae=t.rects.reference,Z=t.rects.popper,Pe="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,Ge="number"==typeof Pe?{mainAxis:Pe,altAxis:Pe}:Object.assign({mainAxis:0,altAxis:0},Pe),Tt=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ht={x:0,y:0};if(x){if(o){var ut,vn="y"===v?Xr:eo,kt="y"===v?$o:Wo,de="y"===v?"height":"width",me=x[v],be=me+g[vn],We=me-g[kt],Lt=f?-Z[de]/2:0,dn=w===Nh?ae[de]:Z[de],Wt=w===Nh?-Z[de]:-ae[de],On=t.elements.arrow,zt=f&&On?UM(On):{width:0,height:0},tr=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},so=tr[vn],An=tr[kt],Qt=tg(0,ae[de],zt[de]),mt=T?ae[de]/2-Lt-Qt-so-Ge.mainAxis:dn-Qt-so-Ge.mainAxis,Un=T?-ae[de]/2+Lt+Qt+An+Ge.mainAxis:Wt+Qt+An+Ge.mainAxis,Lr=t.elements.arrow&&Qm(t.elements.arrow),ac=null!=(ut=Tt?.[v])?ut:0,Uu=me+Un-ac,sy=tg(f?Db(be,me+mt-ac-(Lr?"y"===v?Lr.clientTop||0:Lr.clientLeft||0:0)):be,me,f?su(We,Uu):We);x[v]=sy,ht[v]=sy-me}if(a){var ay,Ja=x[N],cc="y"===N?"height":"width",ly=Ja+g["x"===v?Xr:eo],Hu=Ja-g["x"===v?$o:Wo],cy=-1!==[Xr,eo].indexOf(y),gC=null!=(ay=Tt?.[N])?ay:0,yC=cy?ly:Ja-ae[cc]-Z[cc]-gC+Ge.altAxis,_C=cy?Ja+ae[cc]+Z[cc]-gC-Ge.altAxis:Hu,vC=f&&cy?function Ioe(n,t,e){var i=tg(n,t,e);return i>e?e:i}(yC,Ja,_C):tg(f?yC:ly,Ja,f?_C:Hu);x[N]=vC,ht[N]=vC-Ja}t.modifiersData[i]=ht}},requiresIfExists:["offset"]},Loe={name:"arrow",enabled:!0,phase:"main",fn:function Noe(n){var t,e=n.state,i=n.name,r=n.options,o=e.elements.arrow,s=e.modifiersData.popperOffsets,a=Ys(e.placement),l=$M(a),u=[eo,Wo].indexOf(a)>=0?"height":"width";if(o&&s){var d=function(t,e){return C3("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:w3(t,Zm))}(r.padding,e),h=UM(o),f="y"===l?Xr:eo,p="y"===l?$o:Wo,m=e.rects.reference[u]+e.rects.reference[l]-s[l]-e.rects.popper[u],g=s[l]-e.rects.reference[l],y=Qm(o),w=y?"y"===l?y.clientHeight||0:y.clientWidth||0:0,x=w/2-h[u]/2+(m/2-g/2),ae=tg(d[f],x,w-h[u]-d[p]);e.modifiersData[i]=((t={})[l]=ae,t.centerOffset=ae-x,t)}},effect:function Poe(n){var t=n.state,i=n.options.element,r=void 0===i?"[data-popper-arrow]":i;null!=r&&("string"==typeof r&&!(r=t.elements.popper.querySelector(r))||_3(t.elements.popper,r)&&(t.elements.arrow=r))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function T3(n,t,e){return void 0===e&&(e={x:0,y:0}),{top:n.top-t.height-e.y,right:n.right-t.width+e.x,bottom:n.bottom-t.height+e.y,left:n.left-t.width-e.x}}function D3(n){return[Xr,Wo,$o,eo].some(function(t){return n[t]>=0})}var Foe=[ooe,aoe,doe,g3,goe,Eoe,Aoe,Loe,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function Roe(n){var t=n.state,e=n.name,i=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,s=eg(t,{elementContext:"reference"}),a=eg(t,{altBoundary:!0}),l=T3(s,i),c=T3(a,r,o),u=D3(l),d=D3(c);t.modifiersData[e]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}],joe=ioe({defaultModifiers:Foe}),M3="tippy-content",E3="tippy-arrow",x3="tippy-svg-arrow",Nl={passive:!0,capture:!0},I3=function(){return document.body};function GM(n,t,e){return Array.isArray(n)?n[t]??(Array.isArray(e)?e[t]:e):n}function YM(n,t){var e={}.toString.call(n);return 0===e.indexOf("[object")&&e.indexOf(t+"]")>-1}function O3(n,t){return"function"==typeof n?n.apply(void 0,t):n}function A3(n,t){return 0===t?n:function(i){clearTimeout(e),e=setTimeout(function(){n(i)},t)};var e}function Pl(n){return[].concat(n)}function k3(n,t){-1===n.indexOf(t)&&n.push(t)}function Lh(n){return[].slice.call(n)}function P3(n){return Object.keys(n).reduce(function(t,e){return void 0!==n[e]&&(t[e]=n[e]),t},{})}function au(){return document.createElement("div")}function xb(n){return["Element","Fragment"].some(function(t){return YM(n,t)})}function QM(n,t){n.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function ng(n,t){n.forEach(function(e){e&&e.setAttribute("data-state",t)})}function ZM(n,t,e){var i=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(r){n[i](r,e)})}function F3(n,t){for(var e=t;e;){var i;if(n.contains(e))return!0;e=null==e.getRootNode||null==(i=e.getRootNode())?void 0:i.host}return!1}var qs={isTouch:!1},j3=0;function Goe(){qs.isTouch||(qs.isTouch=!0,window.performance&&document.addEventListener("mousemove",z3))}function z3(){var n=performance.now();n-j3<20&&(qs.isTouch=!1,document.removeEventListener("mousemove",z3)),j3=n}function Yoe(){var n=document.activeElement;(function L3(n){return!(!n||!n._tippy||n._tippy.reference!==n)})(n)&&n.blur&&!n._tippy.state.isVisible&&n.blur()}var Qoe=!!(typeof window<"u"&&typeof document<"u")&&!!window.msCrypto,to=Object.assign({appendTo:I3,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),ese=Object.keys(to);function $3(n){var e=(n.plugins||[]).reduce(function(i,r){var a,o=r.name;return o&&(i[o]=void 0!==n[o]?n[o]:null!=(a=to[o])?a:r.defaultValue),i},{});return Object.assign({},n,e)}function W3(n,t){var e=Object.assign({},t,{content:O3(t.content,[n])},t.ignoreAttributes?{}:function nse(n,t){return(t?Object.keys($3(Object.assign({},to,{plugins:t}))):ese).reduce(function(r,o){var s=(n.getAttribute("data-tippy-"+o)||"").trim();if(!s)return r;if("content"===o)r[o]=s;else try{r[o]=JSON.parse(s)}catch{r[o]=s}return r},{})}(n,t.plugins));return e.aria=Object.assign({},to.aria,e.aria),e.aria={expanded:"auto"===e.aria.expanded?t.interactive:e.aria.expanded,content:"auto"===e.aria.content?t.interactive?null:"describedby":e.aria.content},e}function JM(n,t){n.innerHTML=t}function G3(n){var t=au();return!0===n?t.className=E3:(t.className=x3,xb(n)?t.appendChild(n):JM(t,n)),t}function Y3(n,t){xb(t.content)?(JM(n,""),n.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?JM(n,t.content):n.textContent=t.content)}function Ib(n){var t=n.firstElementChild,e=Lh(t.children);return{box:t,content:e.find(function(i){return i.classList.contains(M3)}),arrow:e.find(function(i){return i.classList.contains(E3)||i.classList.contains(x3)}),backdrop:e.find(function(i){return i.classList.contains("tippy-backdrop")})}}function q3(n){var t=au(),e=au();e.className="tippy-box",e.setAttribute("data-state","hidden"),e.setAttribute("tabindex","-1");var i=au();function r(o,s){var a=Ib(t),l=a.box,c=a.content,u=a.arrow;s.theme?l.setAttribute("data-theme",s.theme):l.removeAttribute("data-theme"),"string"==typeof s.animation?l.setAttribute("data-animation",s.animation):l.removeAttribute("data-animation"),s.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth="number"==typeof s.maxWidth?s.maxWidth+"px":s.maxWidth,s.role?l.setAttribute("role",s.role):l.removeAttribute("role"),(o.content!==s.content||o.allowHTML!==s.allowHTML)&&Y3(c,n.props),s.arrow?u?o.arrow!==s.arrow&&(l.removeChild(u),l.appendChild(G3(s.arrow))):l.appendChild(G3(s.arrow)):u&&l.removeChild(u)}return i.className=M3,i.setAttribute("data-state","hidden"),Y3(i,n.props),t.appendChild(e),e.appendChild(i),r(n.props,n.props),{popper:t,onUpdate:r}}q3.$$tippy=!0;var rse=1,Ob=[],Ab=[];function ose(n,t){var i,r,o,u,d,h,m,e=W3(n,Object.assign({},to,$3(P3(t)))),s=!1,a=!1,l=!1,c=!1,f=[],p=A3(lc,e.interactiveDebounce),g=rse++,w=function Uoe(n){return n.filter(function(t,e){return n.indexOf(t)===e})}(e.plugins),v={id:g,reference:n,popper:au(),popperInstance:null,props:e,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:w,clearDelayTimeouts:function yC(){clearTimeout(i),clearTimeout(r),cancelAnimationFrame(o)},setProps:function _C(ne){if(!v.state.isDestroyed){be("onBeforeUpdate",[v,ne]),Bu();var Ye=v.props,gt=W3(n,Object.assign({},Ye,P3(ne),{ignoreAttributes:!0}));v.props=gt,Lr(),Ye.interactiveDebounce!==gt.interactiveDebounce&&(dn(),p=A3(lc,gt.interactiveDebounce)),Ye.triggerTarget&&!gt.triggerTarget?Pl(Ye.triggerTarget).forEach(function(xn){xn.removeAttribute("aria-expanded")}):gt.triggerTarget&&n.removeAttribute("aria-expanded"),Lt(),me(),ae&&ae(Ye,gt),v.popperInstance&&(pC(),cc().forEach(function(xn){requestAnimationFrame(xn._tippy.popperInstance.forceUpdate)})),be("onAfterUpdate",[v,ne])}},setContent:function vC(ne){v.setProps({content:ne})},show:function MTe(){var ne=v.state.isVisible,Ye=v.state.isDestroyed,gt=!v.state.isEnabled,xn=qs.isTouch&&!v.props.touch,hn=GM(v.props.duration,0,to.duration);if(!(ne||Ye||gt||xn||ut().hasAttribute("disabled")||(be("onShow",[v],!1),!1===v.props.onShow(v)))){if(v.state.isVisible=!0,ht()&&(x.style.visibility="visible"),me(),tr(),v.state.isMounted||(x.style.transition="none"),ht()){var Rr=kt();QM([Rr.box,Rr.content],0)}h=function(){var $u;if(v.state.isVisible&&!c){if(c=!0,x.style.transition=v.props.moveTransition,ht()&&v.props.animation){var JE=kt(),bC=JE.box,bf=JE.content;QM([bC,bf],hn),ng([bC,bf],"visible")}We(),Lt(),k3(Ab,v),null==($u=v.popperInstance)||$u.forceUpdate(),be("onMount",[v]),v.props.animation&&ht()&&function Qt(ne,Ye){mt(ne,Ye)}(hn,function(){v.state.isShown=!0,be("onShown",[v])})}},function Ja(){var Ye,ne=v.props.appendTo,gt=ut();(Ye=v.props.interactive&&ne===I3||"parent"===ne?gt.parentNode:O3(ne,[gt])).contains(x)||Ye.appendChild(x),v.state.isMounted=!0,pC()}()}},hide:function STe(){var ne=!v.state.isVisible,Ye=v.state.isDestroyed,gt=!v.state.isEnabled,xn=GM(v.props.duration,1,to.duration);if(!(ne||Ye||gt)&&(be("onHide",[v],!1),!1!==v.props.onHide(v))){if(v.state.isVisible=!1,v.state.isShown=!1,c=!1,s=!1,ht()&&(x.style.visibility="hidden"),dn(),so(),me(!0),ht()){var hn=kt(),Rr=hn.box,Jo=hn.content;v.props.animation&&(QM([Rr,Jo],xn),ng([Rr,Jo],"hidden"))}We(),Lt(),v.props.animation?ht()&&function An(ne,Ye){mt(ne,function(){!v.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&Ye()})}(xn,v.unmount):v.unmount()}},hideWithInteractivity:function ETe(ne){vn().addEventListener("mousemove",p),k3(Ob,p),p(ne)},enable:function cy(){v.state.isEnabled=!0},disable:function gC(){v.hide(),v.state.isEnabled=!1},unmount:function xTe(){v.state.isVisible&&v.hide(),v.state.isMounted&&(mC(),cc().forEach(function(ne){ne._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x),Ab=Ab.filter(function(ne){return ne!==v}),v.state.isMounted=!1,be("onHidden",[v]))},destroy:function ITe(){v.state.isDestroyed||(v.clearDelayTimeouts(),v.unmount(),Bu(),delete n._tippy,v.state.isDestroyed=!0,be("onDestroy",[v]))}};if(!e.render)return v;var N=e.render(v),x=N.popper,ae=N.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+v.id,v.popper=x,n._tippy=v,x._tippy=v;var Z=w.map(function(ne){return ne.fn(v)}),Pe=n.hasAttribute("aria-expanded");return Lr(),Lt(),me(),be("onCreate",[v]),e.showOnCreate&&ly(),x.addEventListener("mouseenter",function(){v.props.interactive&&v.state.isVisible&&v.clearDelayTimeouts()}),x.addEventListener("mouseleave",function(){v.props.interactive&&v.props.trigger.indexOf("mouseenter")>=0&&vn().addEventListener("mousemove",p)}),v;function Ge(){var ne=v.props.touch;return Array.isArray(ne)?ne:[ne,0]}function Tt(){return"hold"===Ge()[0]}function ht(){var ne;return!(null==(ne=v.props.render)||!ne.$$tippy)}function ut(){return m||n}function vn(){var ne=ut().parentNode;return ne?function R3(n){var t,i=Pl(n)[0];return null!=i&&null!=(t=i.ownerDocument)&&t.body?i.ownerDocument:document}(ne):document}function kt(){return Ib(x)}function de(ne){return v.state.isMounted&&!v.state.isVisible||qs.isTouch||u&&"focus"===u.type?0:GM(v.props.delay,ne?0:1,to.delay)}function me(ne){void 0===ne&&(ne=!1),x.style.pointerEvents=v.props.interactive&&!ne?"":"none",x.style.zIndex=""+v.props.zIndex}function be(ne,Ye,gt){var xn;void 0===gt&&(gt=!0),Z.forEach(function(hn){hn[ne]&&hn[ne].apply(hn,Ye)}),gt&&(xn=v.props)[ne].apply(xn,Ye)}function We(){var ne=v.props.aria;if(ne.content){var Ye="aria-"+ne.content,gt=x.id;Pl(v.props.triggerTarget||n).forEach(function(hn){var Rr=hn.getAttribute(Ye);if(v.state.isVisible)hn.setAttribute(Ye,Rr?Rr+" "+gt:gt);else{var Jo=Rr&&Rr.replace(gt,"").trim();Jo?hn.setAttribute(Ye,Jo):hn.removeAttribute(Ye)}})}}function Lt(){!Pe&&v.props.aria.expanded&&Pl(v.props.triggerTarget||n).forEach(function(Ye){v.props.interactive?Ye.setAttribute("aria-expanded",v.state.isVisible&&Ye===ut()?"true":"false"):Ye.removeAttribute("aria-expanded")})}function dn(){vn().removeEventListener("mousemove",p),Ob=Ob.filter(function(ne){return ne!==p})}function Wt(ne){if(!qs.isTouch||!l&&"mousedown"!==ne.type){var Ye=ne.composedPath&&ne.composedPath()[0]||ne.target;if(!v.props.interactive||!F3(x,Ye)){if(Pl(v.props.triggerTarget||n).some(function(gt){return F3(gt,Ye)})){if(qs.isTouch||v.state.isVisible&&v.props.trigger.indexOf("click")>=0)return}else be("onClickOutside",[v,ne]);!0===v.props.hideOnClick&&(v.clearDelayTimeouts(),v.hide(),a=!0,setTimeout(function(){a=!1}),v.state.isMounted||so())}}}function On(){l=!0}function zt(){l=!1}function tr(){var ne=vn();ne.addEventListener("mousedown",Wt,!0),ne.addEventListener("touchend",Wt,Nl),ne.addEventListener("touchstart",zt,Nl),ne.addEventListener("touchmove",On,Nl)}function so(){var ne=vn();ne.removeEventListener("mousedown",Wt,!0),ne.removeEventListener("touchend",Wt,Nl),ne.removeEventListener("touchstart",zt,Nl),ne.removeEventListener("touchmove",On,Nl)}function mt(ne,Ye){var gt=kt().box;function xn(hn){hn.target===gt&&(ZM(gt,"remove",xn),Ye())}if(0===ne)return Ye();ZM(gt,"remove",d),ZM(gt,"add",xn),d=xn}function Un(ne,Ye,gt){void 0===gt&&(gt=!1),Pl(v.props.triggerTarget||n).forEach(function(hn){hn.addEventListener(ne,Ye,gt),f.push({node:hn,eventType:ne,handler:Ye,options:gt})})}function Lr(){Tt()&&(Un("touchstart",ac,{passive:!0}),Un("touchend",Uu,{passive:!0})),function Boe(n){return n.split(/\s+/).filter(Boolean)}(v.props.trigger).forEach(function(ne){if("manual"!==ne)switch(Un(ne,ac),ne){case"mouseenter":Un("mouseleave",Uu);break;case"focus":Un(Qoe?"focusout":"blur",sy);break;case"focusin":Un("focusout",sy)}})}function Bu(){f.forEach(function(ne){ne.node.removeEventListener(ne.eventType,ne.handler,ne.options)}),f=[]}function ac(ne){var Ye,gt=!1;if(v.state.isEnabled&&!ay(ne)&&!a){var xn="focus"===(null==(Ye=u)?void 0:Ye.type);u=ne,m=ne.currentTarget,Lt(),!v.state.isVisible&&function KM(n){return YM(n,"MouseEvent")}(ne)&&Ob.forEach(function(hn){return hn(ne)}),"click"===ne.type&&(v.props.trigger.indexOf("mouseenter")<0||s)&&!1!==v.props.hideOnClick&&v.state.isVisible?gt=!0:ly(ne),"click"===ne.type&&(s=!gt),gt&&!xn&&Hu(ne)}}function lc(ne){var Ye=ne.target,gt=ut().contains(Ye)||x.contains(Ye);"mousemove"===ne.type&>||function Woe(n,t){var e=t.clientX,i=t.clientY;return n.every(function(r){var o=r.popperRect,s=r.popperState,l=r.props.interactiveBorder,c=function N3(n){return n.split("-")[0]}(s.placement),u=s.modifiersData.offset;return!u||o.top-i+("bottom"===c?u.top.y:0)>l||i-o.bottom-("top"===c?u.bottom.y:0)>l||o.left-e+("right"===c?u.left.x:0)>l||e-o.right-("left"===c?u.right.x:0)>l})}(cc().concat(x).map(function(hn){var Rr,vf=null==(Rr=hn._tippy.popperInstance)?void 0:Rr.state;return vf?{popperRect:hn.getBoundingClientRect(),popperState:vf,props:e}:null}).filter(Boolean),ne)&&(dn(),Hu(ne))}function Uu(ne){if(!(ay(ne)||v.props.trigger.indexOf("click")>=0&&s)){if(v.props.interactive)return void v.hideWithInteractivity(ne);Hu(ne)}}function sy(ne){v.props.trigger.indexOf("focusin")<0&&ne.target!==ut()||v.props.interactive&&ne.relatedTarget&&x.contains(ne.relatedTarget)||Hu(ne)}function ay(ne){return!!qs.isTouch&&Tt()!==ne.type.indexOf("touch")>=0}function pC(){mC();var ne=v.props,Ye=ne.popperOptions,gt=ne.placement,xn=ne.offset,hn=ne.getReferenceClientRect,Rr=ne.moveTransition,Jo=ht()?Ib(x).arrow:null,vf=hn?{getBoundingClientRect:hn,contextElement:hn.contextElement||ut()}:n,$u=[{name:"offset",options:{offset:xn}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Rr}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(bC){var bf=bC.state;if(ht()){var XE=kt().box;["placement","reference-hidden","escaped"].forEach(function(CC){"placement"===CC?XE.setAttribute("data-placement",bf.placement):bf.attributes.popper["data-popper-"+CC]?XE.setAttribute("data-"+CC,""):XE.removeAttribute("data-"+CC)}),bf.attributes.popper={}}}}];ht()&&Jo&&$u.push({name:"arrow",options:{element:Jo,padding:3}}),$u.push.apply($u,Ye?.modifiers||[]),v.popperInstance=joe(vf,x,Object.assign({},Ye,{placement:gt,onFirstUpdate:h,modifiers:$u}))}function mC(){v.popperInstance&&(v.popperInstance.destroy(),v.popperInstance=null)}function cc(){return Lh(x.querySelectorAll("[data-tippy-root]"))}function ly(ne){v.clearDelayTimeouts(),ne&&be("onTrigger",[v,ne]),tr();var Ye=de(!0),gt=Ge(),hn=gt[1];qs.isTouch&&"hold"===gt[0]&&hn&&(Ye=hn),Ye?i=setTimeout(function(){v.show()},Ye):v.show()}function Hu(ne){if(v.clearDelayTimeouts(),be("onUntrigger",[v,ne]),v.state.isVisible){if(!(v.props.trigger.indexOf("mouseenter")>=0&&v.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(ne.type)>=0&&s)){var Ye=de(!1);Ye?r=setTimeout(function(){v.state.isVisible&&v.hide()},Ye):o=requestAnimationFrame(function(){v.hide()})}}else so()}}function Ll(n,t){void 0===t&&(t={});var e=to.plugins.concat(t.plugins||[]);!function qoe(){document.addEventListener("touchstart",Goe,Nl),window.addEventListener("blur",Yoe)}();var i=Object.assign({},t,{plugins:e}),a=function $oe(n){return xb(n)?[n]:function Hoe(n){return YM(n,"NodeList")}(n)?Lh(n):Array.isArray(n)?n:Lh(document.querySelectorAll(n))}(n).reduce(function(l,c){var u=c&&ose(c,i);return u&&l.push(u),l},[]);return xb(n)?a[0]:a}Ll.defaultProps=to,Ll.setDefaultProps=function(t){Object.keys(t).forEach(function(i){to[i]=t[i]})},Ll.currentInput=qs,Object.assign({},g3,{effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow)}}),Ll.setDefaultProps({render:q3});const gs=Ll,Go=function(n){for(var t=0;;t++)if(!(n=n.previousSibling))return t},rg=function(n){let t=n.assignedSlot||n.parentNode;return t&&11==t.nodeType?t.host:t};let Z3=null;const $a=function(n,t,e){let i=Z3||(Z3=document.createRange());return i.setEnd(n,e??n.nodeValue.length),i.setStart(n,t||0),i},lu=function(n,t,e,i){return e&&(J3(n,t,e,i,-1)||J3(n,t,e,i,1))},fse=/^(img|br|input|textarea|hr)$/i;function J3(n,t,e,i,r){for(;;){if(n==e&&t==i)return!0;if(t==(r<0?0:Ks(n))){let o=n.parentNode;if(!o||1!=o.nodeType||mse(n)||fse.test(n.nodeName)||"false"==n.contentEditable)return!1;t=Go(n)+(r<0?0:1),n=o}else{if(1!=n.nodeType)return!1;if("false"==(n=n.childNodes[t+(r<0?-1:0)]).contentEditable)return!1;t=r<0?Ks(n):0}}}function Ks(n){return 3==n.nodeType?n.nodeValue.length:n.childNodes.length}function mse(n){let t;for(let e=n;e&&!(t=e.pmViewDesc);e=e.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==n||t.contentDOM==n)}const Nb=function(n){return n.focusNode&&lu(n.focusNode,n.focusOffset,n.anchorNode,n.anchorOffset)};function cu(n,t){let e=document.createEvent("Event");return e.initEvent("keydown",!0,!0),e.keyCode=n,e.key=e.code=t,e}const Qs=typeof navigator<"u"?navigator:null,X3=typeof document<"u"?document:null,Rl=Qs&&Qs.userAgent||"",eS=/Edge\/(\d+)/.exec(Rl),e4=/MSIE \d/.exec(Rl),tS=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Rl),no=!!(e4||tS||eS),Fl=e4?document.documentMode:tS?+tS[1]:eS?+eS[1]:0,ys=!no&&/gecko\/(\d+)/i.test(Rl);ys&&/Firefox\/(\d+)/.exec(Rl);const nS=!no&&/Chrome\/(\d+)/.exec(Rl),pr=!!nS,_se=nS?+nS[1]:0,Ar=!no&&!!Qs&&/Apple Computer/.test(Qs.vendor),Rh=Ar&&(/Mobile\/\w+/.test(Rl)||!!Qs&&Qs.maxTouchPoints>2),Yo=Rh||!!Qs&&/Mac/.test(Qs.platform),vse=!!Qs&&/Win/.test(Qs.platform),_s=/Android \d/.test(Rl),Pb=!!X3&&"webkitFontSmoothing"in X3.documentElement.style,bse=Pb?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function Cse(n){return{left:0,right:n.documentElement.clientWidth,top:0,bottom:n.documentElement.clientHeight}}function jl(n,t){return"number"==typeof n?n:n[t]}function wse(n){let t=n.getBoundingClientRect();return{left:t.left,right:t.left+n.clientWidth*(t.width/n.offsetWidth||1),top:t.top,bottom:t.top+n.clientHeight*(t.height/n.offsetHeight||1)}}function t4(n,t,e){let i=n.someProp("scrollThreshold")||0,r=n.someProp("scrollMargin")||5,o=n.dom.ownerDocument;for(let s=e||n.dom;s;s=rg(s)){if(1!=s.nodeType)continue;let a=s,l=a==o.body,c=l?Cse(o):wse(a),u=0,d=0;if(t.topc.bottom-jl(i,"bottom")&&(d=t.bottom-c.bottom+jl(r,"bottom")),t.leftc.right-jl(i,"right")&&(u=t.right-c.right+jl(r,"right")),u||d)if(l)o.defaultView.scrollBy(u,d);else{let h=a.scrollLeft,f=a.scrollTop;d&&(a.scrollTop+=d),u&&(a.scrollLeft+=u);let p=a.scrollLeft-h,m=a.scrollTop-f;t={left:t.left-p,top:t.top-m,right:t.right-p,bottom:t.bottom-m}}if(l)break}}function n4(n){let t=[],e=n.ownerDocument;for(let i=n;i&&(t.push({dom:i,top:i.scrollTop,left:i.scrollLeft}),n!=e);i=rg(i));return t}function r4(n,t){for(let e=0;e=a){s=Math.max(p.bottom,s),a=Math.min(p.top,a);let m=p.left>t.left?p.left-t.left:p.right=(p.left+p.right)/2?1:0));continue}}else p.top>t.top&&!l&&p.left<=t.left&&p.right>=t.left&&(l=u,c={left:Math.max(p.left,Math.min(p.right,t.left)),top:p.top});!e&&(t.left>=p.right&&t.top>=p.top||t.left>=p.left&&t.top>=p.bottom)&&(o=d+1)}}return!e&&l&&(e=l,r=c,i=0),e&&3==e.nodeType?function Sse(n,t){let e=n.nodeValue.length,i=document.createRange();for(let r=0;r=(o.left+o.right)/2?1:0)}}return{node:n,offset:0}}(e,r):!e||i&&1==e.nodeType?{node:n,offset:o}:o4(e,r)}function iS(n,t){return n.left>=t.left-1&&n.left<=t.right+1&&n.top>=t.top-1&&n.top<=t.bottom+1}function s4(n,t,e){let i=n.childNodes.length;if(i&&e.topt.top&&r++}i==n.dom&&r==i.childNodes.length-1&&1==i.lastChild.nodeType&&t.top>i.lastChild.getBoundingClientRect().bottom?a=n.state.doc.content.size:(0==r||1!=i.nodeType||"BR"!=i.childNodes[r-1].nodeName)&&(a=function Ise(n,t,e,i){let r=-1;for(let o=t,s=!1;o!=n.dom;){let a=n.docView.nearestDesc(o,!0);if(!a)return null;if(1==a.dom.nodeType&&(a.node.isBlock&&a.parent&&!s||!a.contentDOM)){let l=a.dom.getBoundingClientRect();if(a.node.isBlock&&a.parent&&!s&&(s=!0,l.left>i.left||l.top>i.top?r=a.posBefore:(l.right-1?r:n.docView.posFromDOM(t,e,-1)}(n,i,r,t))}null==a&&(a=function xse(n,t,e){let{node:i,offset:r}=o4(t,e),o=-1;if(1==i.nodeType&&!i.firstChild){let s=i.getBoundingClientRect();o=s.left!=s.right&&e.left>(s.left+s.right)/2?1:-1}return n.docView.posFromDOM(i,r,o)}(n,s,t));let l=n.docView.nearestDesc(s,!0);return{pos:a,inside:l?l.posAtStart-l.border:-1}}function a4(n){return n.top=0&&r==i.nodeValue.length?(l--,u=1):e<0?l--:c++,og(zl($a(i,l,c),u),u<0)}{let l=zl($a(i,r,r),e);if(ys&&r&&/\s/.test(i.nodeValue[r-1])&&r=0)}if(null==o&&r&&(e<0||r==Ks(i))){let l=i.childNodes[r-1],c=3==l.nodeType?$a(l,Ks(l)-(s?0:1)):1!=l.nodeType||"BR"==l.nodeName&&l.nextSibling?null:l;if(c)return og(zl(c,1),!1)}if(null==o&&r=0)}function og(n,t){if(0==n.width)return n;let e=t?n.left:n.right;return{top:n.top,bottom:n.bottom,left:e,right:e}}function rS(n,t){if(0==n.height)return n;let e=t?n.top:n.bottom;return{top:e,bottom:e,left:n.left,right:n.right}}function c4(n,t,e){let i=n.state,r=n.root.activeElement;i!=t&&n.updateState(t),r!=n.dom&&n.focus();try{return e()}finally{i!=t&&n.updateState(i),r!=n.dom&&r&&r.focus()}}const Nse=/[\u0590-\u08ac]/;let u4=null,d4=null,h4=!1;class sg{constructor(t,e,i,r){this.parent=t,this.children=e,this.dom=i,this.contentDOM=r,this.dirty=0,i.pmViewDesc=this}matchesWidget(t){return!1}matchesMark(t){return!1}matchesNode(t,e,i){return!1}matchesHack(t){return!1}parseRule(){return null}stopEvent(t){return!1}get size(){let t=0;for(let e=0;eGo(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))r=2&t.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==e)for(let o=t;;o=o.parentNode){if(o==this.dom){r=!1;break}if(o.previousSibling)break}if(null==r&&e==t.childNodes.length)for(let o=t;;o=o.parentNode){if(o==this.dom){r=!0;break}if(o.nextSibling)break}}return r??i>0?this.posAtEnd:this.posAtStart}nearestDesc(t,e=!1){for(let i=!0,r=t;r;r=r.parentNode){let s,o=this.getDesc(r);if(o&&(!e||o.node)){if(!i||!(s=o.nodeDOM)||(1==s.nodeType?s.contains(1==t.nodeType?t:t.parentNode):s==t))return o;i=!1}}}getDesc(t){let e=t.pmViewDesc;for(let i=e;i;i=i.parent)if(i==this)return e}posFromDOM(t,e,i){for(let r=t;r;r=r.parentNode){let o=this.getDesc(r);if(o)return o.localPosFromDOM(t,e,i)}return-1}descAt(t){for(let e=0,i=0;et||s instanceof g4){r=t-o;break}o=a}if(r)return this.children[i].domFromPos(r-this.children[i].border,e);for(;i&&!(o=this.children[i-1]).size&&o instanceof p4&&o.side>=0;i--);if(e<=0){let o,s=!0;for(;o=i?this.children[i-1]:null,o&&o.dom.parentNode!=this.contentDOM;i--,s=!1);return o&&e&&s&&!o.border&&!o.domAtom?o.domFromPos(o.size,e):{node:this.contentDOM,offset:o?Go(o.dom)+1:0}}{let o,s=!0;for(;o=i=u&&e<=c-l.border&&l.node&&l.contentDOM&&this.contentDOM.contains(l.contentDOM))return l.parseRange(t,e,u);t=s;for(let d=a;d>0;d--){let h=this.children[d-1];if(h.size&&h.dom.parentNode==this.contentDOM&&!h.emptyChildAt(1)){r=Go(h.dom)+1;break}t-=h.size}-1==r&&(r=0)}if(r>-1&&(c>e||a==this.children.length-1)){e=c;for(let u=a+1;uf&&se){let f=a;a=l,l=f}let h=document.createRange();h.setEnd(l.node,l.offset),h.setStart(a.node,a.offset),c.removeAllRanges(),c.addRange(h)}}ignoreMutation(t){return!this.contentDOM&&"selection"!=t.type}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(t,e){for(let i=0,r=0;r=i:ti){let a=i+o.border,l=s-o.border;if(t>=a&&e<=l)return this.dirty=t==i||e==s?2:1,void(t!=a||e!=l||!o.contentLost&&o.dom.parentNode==this.contentDOM?o.markDirty(t-a,e-a):o.dirty=3);o.dirty=o.dom!=o.contentDOM||o.dom.parentNode!=this.contentDOM||o.children.length?3:2}i=s}this.dirty=2}markParentsDirty(){let t=1;for(let e=this.parent;e;e=e.parent,t++){let i=1==t?2:1;e.dirtyo?o.parent?o.parent.posBeforeChild(o):void 0:r)),!e.type.spec.raw){if(1!=s.nodeType){let a=document.createElement("span");a.appendChild(s),s=a}s.contentEditable="false",s.classList.add("ProseMirror-widget")}super(t,[],s,null),this.widget=e,this.widget=e,o=this}matchesWidget(t){return 0==this.dirty&&t.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(t){let e=this.widget.spec.stopEvent;return!!e&&e(t)}ignoreMutation(t){return"selection"!=t.type||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class Rse extends sg{constructor(t,e,i,r){super(t,[],e,null),this.textDOM=i,this.text=r}get size(){return this.text.length}localPosFromDOM(t,e){return t!=this.textDOM?this.posAtStart+(e?this.size:0):this.posAtStart+e}domFromPos(t){return{node:this.textDOM,offset:t}}ignoreMutation(t){return"characterData"===t.type&&t.target.nodeValue==t.oldValue}}class du extends sg{constructor(t,e,i,r){super(t,[],i,r),this.mark=e}static create(t,e,i,r){let o=r.nodeViews[e.type.name],s=o&&o(e,r,i);return(!s||!s.dom)&&(s=$s.renderSpec(document,e.type.spec.toDOM(e,i))),new du(t,e,s.dom,s.contentDOM||s.dom)}parseRule(){return 3&this.dirty||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM||void 0}}matchesMark(t){return 3!=this.dirty&&this.mark.eq(t)}markDirty(t,e){if(super.markDirty(t,e),0!=this.dirty){let i=this.parent;for(;!i.node;)i=i.parent;i.dirty0&&(o=aS(o,0,t,i));for(let a=0;al?l.parent?l.parent.posBeforeChild(l):void 0:s,i,r),u=c&&c.dom,d=c&&c.contentDOM;if(e.isText)if(u){if(3!=u.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else u=document.createTextNode(e.text);else u||({dom:u,contentDOM:d}=$s.renderSpec(document,e.type.spec.toDOM(e)));!d&&!e.isText&&"BR"!=u.nodeName&&(u.hasAttribute("contenteditable")||(u.contentEditable="false"),e.type.spec.draggable&&(u.draggable=!0));let h=u;return u=v4(u,i,e),c?l=new Fse(t,e,i,r,u,d||null,h,c,o,s+1):e.isText?new Lb(t,e,i,r,u,h,o):new Vl(t,e,i,r,u,d||null,h,o,s+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let t={node:this.node.type.name,attrs:this.node.attrs};if("pre"==this.node.type.whitespace&&(t.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(let e=this.children.length-1;e>=0;e--){let i=this.children[e];if(this.dom.contains(i.dom.parentNode)){t.contentElement=i.dom.parentNode;break}}t.contentElement||(t.getContent=()=>he.empty)}else t.contentElement=this.contentDOM;else t.getContent=()=>this.node.content;return t}matchesNode(t,e,i){return 0==this.dirty&&t.eq(this.node)&&sS(e,this.outerDeco)&&i.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(t,e){let i=this.node.inlineContent,r=e,o=t.composing?this.localCompositionInfo(t,e):null,s=o&&o.pos>-1?o:null,a=o&&o.pos<0,l=new zse(this,s&&s.node,t);(function Use(n,t,e,i){let r=t.locals(n),o=0;if(0==r.length){for(let c=0;co;)a.push(r[s++]);let h=o+u.nodeSize;if(u.isText){let p=h;s!p.inline):a.slice(),t.forChild(o,u),d),o=h}})(this.node,this.innerDeco,(c,u,d)=>{c.spec.marks?l.syncToMarks(c.spec.marks,i,t):c.type.side>=0&&!d&&l.syncToMarks(u==this.node.childCount?Pn.none:this.node.child(u).marks,i,t),l.placeWidget(c,t,r)},(c,u,d,h)=>{let f;l.syncToMarks(c.marks,i,t),l.findNodeMatch(c,u,d,h)||a&&t.state.selection.from>r&&t.state.selection.to-1&&l.updateNodeAt(c,u,d,f,t)||l.updateNextNode(c,u,d,t,h,r)||l.addNode(c,u,d,t,r),r+=c.nodeSize}),l.syncToMarks([],i,t),this.node.isTextblock&&l.addTextblockHacks(),l.destroyRest(),(l.changed||2==this.dirty)&&(s&&this.protectLocalComposition(t,s),y4(this.contentDOM,this.children,t),Rh&&function Hse(n){if("UL"==n.nodeName||"OL"==n.nodeName){let t=n.style.cssText;n.style.cssText=t+"; list-style: square !important",window.getComputedStyle(n),n.style.cssText=t}}(this.dom))}localCompositionInfo(t,e){let{from:i,to:r}=t.state.selection;if(!(t.state.selection instanceof at)||ie+this.node.content.size)return null;let o=t.domSelectionRange(),s=function $se(n,t){for(;;){if(3==n.nodeType)return n;if(1==n.nodeType&&t>0){if(n.childNodes.length>t&&3==n.childNodes[t].nodeType)return n.childNodes[t];t=Ks(n=n.childNodes[t-1])}else{if(!(1==n.nodeType&&t=e){let c=a=0&&c+t.length+a>=e)return a+c;if(e==i&&l.length>=i+t.length-a&&l.slice(i-a,i-a+t.length)==t)return i}}return-1}(this.node.content,a,i-e,r-e);return l<0?null:{node:s,pos:l,text:a}}return{node:s,pos:-1,text:""}}protectLocalComposition(t,{node:e,pos:i,text:r}){if(this.getDesc(e))return;let o=e;for(;o.parentNode!=this.contentDOM;o=o.parentNode){for(;o.previousSibling;)o.parentNode.removeChild(o.previousSibling);for(;o.nextSibling;)o.parentNode.removeChild(o.nextSibling);o.pmViewDesc&&(o.pmViewDesc=void 0)}let s=new Rse(this,o,e,r);t.input.compositionNodes.push(s),this.children=aS(this.children,i,i+r.length,t,s)}update(t,e,i,r){return!(3==this.dirty||!t.sameMarkup(this.node)||(this.updateInner(t,e,i,r),0))}updateInner(t,e,i,r){this.updateOuterDeco(e),this.node=t,this.innerDeco=i,this.contentDOM&&this.updateChildren(r,this.posAtStart),this.dirty=0}updateOuterDeco(t){if(sS(t,this.outerDeco))return;let e=1!=this.nodeDOM.nodeType,i=this.dom;this.dom=_4(this.dom,this.nodeDOM,oS(this.outerDeco,this.node,e),oS(t,this.node,e)),this.dom!=i&&(i.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=t}selectNode(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable")}get domAtom(){return this.node.isAtom}}function m4(n,t,e,i,r){v4(i,t,n);let o=new Vl(void 0,n,t,e,i,i,i,r,0);return o.contentDOM&&o.updateChildren(r,0),o}class Lb extends Vl{constructor(t,e,i,r,o,s,a){super(t,e,i,r,o,null,s,a,0)}parseRule(){let t=this.nodeDOM.parentNode;for(;t&&t!=this.dom&&!t.pmIsDeco;)t=t.parentNode;return{skip:t||!0}}update(t,e,i,r){return!(3==this.dirty||0!=this.dirty&&!this.inParent()||!t.sameMarkup(this.node)||(this.updateOuterDeco(e),(0!=this.dirty||t.text!=this.node.text)&&t.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=t.text,r.trackWrites==this.nodeDOM&&(r.trackWrites=null)),this.node=t,this.dirty=0,0))}inParent(){let t=this.parent.contentDOM;for(let e=this.nodeDOM;e;e=e.parentNode)if(e==t)return!0;return!1}domFromPos(t){return{node:this.nodeDOM,offset:t}}localPosFromDOM(t,e,i){return t==this.nodeDOM?this.posAtStart+Math.min(e,this.node.text.length):super.localPosFromDOM(t,e,i)}ignoreMutation(t){return"characterData"!=t.type&&"selection"!=t.type}slice(t,e,i){let r=this.node.cut(t,e),o=document.createTextNode(r.text);return new Lb(this.parent,r,this.outerDeco,this.innerDeco,o,o,i)}markDirty(t,e){super.markDirty(t,e),this.dom!=this.nodeDOM&&(0==t||e==this.nodeDOM.nodeValue.length)&&(this.dirty=3)}get domAtom(){return!1}}class g4 extends sg{parseRule(){return{ignore:!0}}matchesHack(t){return 0==this.dirty&&this.dom.nodeName==t}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}}class Fse extends Vl{constructor(t,e,i,r,o,s,a,l,c,u){super(t,e,i,r,o,s,a,c,u),this.spec=l}update(t,e,i,r){if(3==this.dirty)return!1;if(this.spec.update){let o=this.spec.update(t,e,i);return o&&this.updateInner(t,e,i,r),o}return!(!this.contentDOM&&!t.isLeaf)&&super.update(t,e,i,r)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(t,e,i,r){this.spec.setSelection?this.spec.setSelection(t,e,i):super.setSelection(t,e,i,r)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(t){return!!this.spec.stopEvent&&this.spec.stopEvent(t)}ignoreMutation(t){return this.spec.ignoreMutation?this.spec.ignoreMutation(t):super.ignoreMutation(t)}}function y4(n,t,e){let i=n.firstChild,r=!1;for(let o=0;o0;){let a;for(;;)if(i){let c=e.children[i-1];if(!(c instanceof du)){a=c,i--;break}e=c,i=c.children.length}else{if(e==t)break e;i=e.parent.children.indexOf(e),e=e.parent}let l=a.node;if(l){if(l!=n.child(r-1))break;--r,o.set(a,r),s.push(a)}}return{index:r,matched:o,matches:s.reverse()}}(t.node.content,t)}destroyBetween(t,e){if(t!=e){for(let i=t;i>1,s=Math.min(o,t.length);for(;r-1)a>this.index&&(this.changed=!0,this.destroyBetween(this.index,a)),this.top=this.top.children[this.index];else{let l=du.create(this.top,t[o],e,i);this.top.children.splice(this.index,0,l),this.top=l,this.changed=!0}this.index=0,o++}}findNodeMatch(t,e,i,r){let s,o=-1;if(r>=this.preMatch.index&&(s=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&&s.matchesNode(t,e,i))o=this.top.children.indexOf(s,this.index);else for(let a=this.index,l=Math.min(this.top.children.length,a+5);a=e||u<=t?o.push(l):(ce&&o.push(l.slice(e-c,l.size,i)))}return o}function lS(n,t=null){let e=n.domSelectionRange(),i=n.state.doc;if(!e.focusNode)return null;let r=n.docView.nearestDesc(e.focusNode),o=r&&0==r.size,s=n.docView.posFromDOM(e.focusNode,e.focusOffset,1);if(s<0)return null;let l,c,a=i.resolve(s);if(Nb(e)){for(l=a;r&&!r.node;)r=r.parent;let u=r.node;if(r&&u.isAtom&&Qe.isSelectable(u)&&r.parent&&(!u.isInline||!function pse(n,t,e){for(let i=0==t,r=t==Ks(n);i||r;){if(n==e)return!0;let o=Go(n);if(!(n=n.parentNode))return!1;i=i&&0==o,r=r&&o==Ks(n)}}(e.focusNode,e.focusOffset,r.dom))){let d=r.posBefore;c=new Qe(s==d?a:i.resolve(d))}}else{let u=n.docView.posFromDOM(e.anchorNode,e.anchorOffset,1);if(u<0)return null;l=i.resolve(u)}return c||(c=uS(n,l,a,"pointer"==t||n.state.selection.head{(e.anchorNode!=i||e.anchorOffset!=r)&&(t.removeEventListener("selectionchange",n.input.hideSelectionGuard),setTimeout(()=>{(!C4(n)||n.state.selection.visible)&&n.dom.classList.remove("ProseMirror-hideselection")},20))})}(n))}n.domObserver.setCurSelection(),n.domObserver.connectSelection()}}const w4=Ar||pr&&_se<63;function T4(n,t){let{node:e,offset:i}=n.docView.domFromPos(t,0),r=ir(n,t,e))||at.between(t,e,i)}function E4(n){return!(n.editable&&!n.hasFocus())&&x4(n)}function x4(n){let t=n.domSelectionRange();if(!t.anchorNode)return!1;try{return n.dom.contains(3==t.anchorNode.nodeType?t.anchorNode.parentNode:t.anchorNode)&&(n.editable||n.dom.contains(3==t.focusNode.nodeType?t.focusNode.parentNode:t.focusNode))}catch{return!1}}function dS(n,t){let{$anchor:e,$head:i}=n.selection,r=t>0?e.max(i):e.min(i),o=r.parent.inlineContent?r.depth?n.doc.resolve(t>0?r.after():r.before()):null:r;return o&&ct.findFrom(o,t)}function fu(n,t){return n.dispatch(n.state.tr.setSelection(t).scrollIntoView()),!0}function I4(n,t,e){let i=n.state.selection;if(!(i instanceof at)){if(i instanceof Qe&&i.node.isInline)return fu(n,new at(t>0?i.$to:i.$from));{let r=dS(n.state,t);return!!r&&fu(n,r)}}if(!i.empty||e.indexOf("s")>-1)return!1;if(n.endOfTextblock(t>0?"forward":"backward")){let r=dS(n.state,t);return!!(r&&r instanceof Qe)&&fu(n,r)}if(!(Yo&&e.indexOf("m")>-1)){let s,r=i.$head,o=r.textOffset?null:t<0?r.nodeBefore:r.nodeAfter;if(!o||o.isText)return!1;let a=t<0?r.pos-o.nodeSize:r.pos;return!!(o.isAtom||(s=n.docView.descAt(a))&&!s.contentDOM)&&(Qe.isSelectable(o)?fu(n,new Qe(t<0?n.state.doc.resolve(r.pos-o.nodeSize):r)):!!Pb&&fu(n,new at(n.state.doc.resolve(t<0?a:a+o.nodeSize))))}}function Rb(n){return 3==n.nodeType?n.nodeValue.length:n.childNodes.length}function lg(n){let t=n.pmViewDesc;return t&&0==t.size&&(n.nextSibling||"BR"!=n.nodeName)}function cg(n,t){return t<0?function Kse(n){let t=n.domSelectionRange(),e=t.focusNode,i=t.focusOffset;if(!e)return;let r,o,s=!1;for(ys&&1==e.nodeType&&i0){if(1!=e.nodeType)break;{let a=e.childNodes[i-1];if(lg(a))r=e,o=--i;else{if(3!=a.nodeType)break;e=a,i=e.nodeValue.length}}}else{if(A4(e))break;{let a=e.previousSibling;for(;a&&lg(a);)r=e.parentNode,o=Go(a),a=a.previousSibling;if(a)e=a,i=Rb(e);else{if(e=e.parentNode,e==n.dom)break;i=0}}}s?hS(n,e,i):r&&hS(n,r,o)}(n):O4(n)}function O4(n){let t=n.domSelectionRange(),e=t.focusNode,i=t.focusOffset;if(!e)return;let o,s,r=Rb(e);for(;;)if(i{n.state==r&&Wa(n)},50)}function k4(n,t){let e=n.state.doc.resolve(t);if(!pr&&!vse&&e.parent.inlineContent){let r=n.coordsAtPos(t);if(t>e.start()){let o=n.coordsAtPos(t-1),s=(o.top+o.bottom)/2;if(s>r.top&&s1)return o.leftr.top&&s1)return o.left>r.left?"ltr":"rtl"}}return"rtl"==getComputedStyle(n.dom).direction?"rtl":"ltr"}function N4(n,t,e){let i=n.state.selection;if(i instanceof at&&!i.empty||e.indexOf("s")>-1||Yo&&e.indexOf("m")>-1)return!1;let{$from:r,$to:o}=i;if(!r.parent.inlineContent||n.endOfTextblock(t<0?"up":"down")){let s=dS(n.state,t);if(s&&s instanceof Qe)return fu(n,s)}if(!r.parent.inlineContent){let s=t<0?r:o,a=i instanceof Do?ct.near(s,t):ct.findFrom(s,t);return!!a&&fu(n,a)}return!1}function P4(n,t){if(!(n.state.selection instanceof at))return!0;let{$head:e,$anchor:i,empty:r}=n.state.selection;if(!e.sameParent(i))return!0;if(!r)return!1;if(n.endOfTextblock(t>0?"forward":"backward"))return!0;let o=!e.textOffset&&(t<0?e.nodeBefore:e.nodeAfter);if(o&&!o.isText){let s=n.state.tr;return t<0?s.delete(e.pos-o.nodeSize,e.pos):s.delete(e.pos,e.pos+o.nodeSize),n.dispatch(s),!0}return!1}function L4(n,t,e){n.domObserver.stop(),t.contentEditable=e,n.domObserver.start()}function R4(n,t){n.someProp("transformCopied",f=>{t=f(t,n)});let e=[],{content:i,openStart:r,openEnd:o}=t;for(;r>1&&o>1&&1==i.childCount&&1==i.firstChild.childCount;){r--,o--;let f=i.firstChild;e.push(f.type.name,f.attrs!=f.type.defaultAttrs?f.attrs:null),i=f.content}let s=n.someProp("clipboardSerializer")||$s.fromSchema(n.state.schema),a=$4(),l=a.createElement("div");l.appendChild(s.serializeFragment(i,{document:a}));let u,c=l.firstChild,d=0;for(;c&&1==c.nodeType&&(u=U4[c.nodeName.toLowerCase()]);){for(let f=u.length-1;f>=0;f--){let p=a.createElement(u[f]);for(;l.firstChild;)p.appendChild(l.firstChild);l.appendChild(p),d++}c=l.firstChild}return c&&1==c.nodeType&&c.setAttribute("data-pm-slice",`${r} ${o}${d?` -${d}`:""} ${JSON.stringify(e)}`),{dom:l,text:n.someProp("clipboardTextSerializer",f=>f(t,n))||t.content.textBetween(0,t.content.size,"\n\n")}}function F4(n,t,e,i,r){let s,a,o=r.parent.type.spec.code;if(!e&&!t)return null;let l=t&&(i||o||!e);if(l){if(n.someProp("transformPastedText",h=>{t=h(t,o||i,n)}),o)return t?new Te(he.from(n.state.schema.text(t.replace(/\r\n?/g,"\n"))),0,0):Te.empty;let d=n.someProp("clipboardTextParser",h=>h(t,r,i,n));if(d)a=d;else{let h=r.marks(),{schema:f}=n.state,p=$s.fromSchema(f);s=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach(m=>{let g=s.appendChild(document.createElement("p"));m&&g.appendChild(p.serializeNode(f.text(m,h)))})}}else n.someProp("transformPastedHTML",d=>{e=d(e,n)}),s=function tae(n){let t=/^(\s*]*>)*/.exec(n);t&&(n=n.slice(t[0].length));let r,e=$4().createElement("div"),i=/<([a-z][^>\s]+)/i.exec(n);if((r=i&&U4[i[1].toLowerCase()])&&(n=r.map(o=>"<"+o+">").join("")+n+r.map(o=>"").reverse().join("")),e.innerHTML=n,r)for(let o=0;o0;d--){let h=s.firstChild;for(;h&&1!=h.nodeType;)h=h.nextSibling;if(!h)break;s=h}if(a||(a=(n.someProp("clipboardParser")||n.someProp("domParser")||Th.fromSchema(n.state.schema)).parseSlice(s,{preserveWhitespace:!(!l&&!u),context:r,ruleFromNode:h=>"BR"!=h.nodeName||h.nextSibling||!h.parentNode||Xse.test(h.parentNode.nodeName)?null:{ignore:!0}})),u)a=function iae(n,t){if(!n.size)return n;let i,e=n.content.firstChild.type.schema;try{i=JSON.parse(t)}catch{return n}let{content:r,openStart:o,openEnd:s}=n;for(let a=i.length-2;a>=0;a-=2){let l=e.nodes[i[a]];if(!l||l.hasRequiredAttrs())break;r=he.from(l.create(i[a+1],r)),o++,s++}return new Te(r,o,s)}(B4(a,+u[1],+u[2]),u[4]);else if(a=Te.maxOpen(function eae(n,t){if(n.childCount<2)return n;for(let e=t.depth;e>=0;e--){let o,r=t.node(e).contentMatchAt(t.index(e)),s=[];if(n.forEach(a=>{if(!s)return;let c,l=r.findWrapping(a.type);if(!l)return s=null;if(c=s.length&&o.length&&z4(l,o,a,s[s.length-1],0))s[s.length-1]=c;else{s.length&&(s[s.length-1]=V4(s[s.length-1],o.length));let u=j4(a,l);s.push(u),r=r.matchType(u.type),o=l}}),s)return he.from(s)}return n}(a.content,r),!0),a.openStart||a.openEnd){let d=0,h=0;for(let f=a.content.firstChild;d{a=d(a,n)}),a}const Xse=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function j4(n,t,e=0){for(let i=t.length-1;i>=e;i--)n=t[i].create(null,he.from(n));return n}function z4(n,t,e,i,r){if(r1&&(o=0),r=e&&(a=t<0?s.contentMatchAt(0).fillBefore(a,o<=r).append(a):a.append(s.contentMatchAt(s.childCount).fillBefore(he.empty,!0))),n.replaceChild(t<0?0:n.childCount-1,s.copy(a))}function B4(n,t,e){return t{for(let e in t)n.input.eventHandlers[e]||n.dom.addEventListener(e,n.input.eventHandlers[e]=i=>mS(n,i))})}function mS(n,t){return n.someProp("handleDOMEvents",e=>{let i=e[t.type];return!!i&&(i(n,t)||t.defaultPrevented)})}function lae(n,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let e=t.target;e!=n.dom;e=e.parentNode)if(!e||11==e.nodeType||e.pmViewDesc&&e.pmViewDesc.stopEvent(t))return!1;return!0}function Fb(n){return{left:n.clientX,top:n.clientY}}function gS(n,t,e,i,r){if(-1==i)return!1;let o=n.state.doc.resolve(i);for(let s=o.depth+1;s>0;s--)if(n.someProp(t,a=>s>o.depth?a(n,e,o.nodeAfter,o.before(s),r,!0):a(n,e,o.node(s),o.before(s),r,!1)))return!0;return!1}function jh(n,t,e){n.focused||n.focus();let i=n.state.tr.setSelection(t);"pointer"==e&&i.setMeta("pointer",!0),n.dispatch(i)}function pae(n,t,e,i){return gS(n,"handleDoubleClickOn",t,e,i)||n.someProp("handleDoubleClick",r=>r(n,t,i))}function mae(n,t,e,i){return gS(n,"handleTripleClickOn",t,e,i)||n.someProp("handleTripleClick",r=>r(n,t,i))||function gae(n,t,e){if(0!=e.button)return!1;let i=n.state.doc;if(-1==t)return!!i.inlineContent&&(jh(n,at.create(i,0,i.content.size),"pointer"),!0);let r=i.resolve(t);for(let o=r.depth+1;o>0;o--){let s=o>r.depth?r.nodeAfter:r.node(o),a=r.before(o);if(s.inlineContent)jh(n,at.create(i,a+1,a+1+s.content.size),"pointer");else{if(!Qe.isSelectable(s))continue;jh(n,Qe.create(i,a),"pointer")}return!0}}(n,e,i)}function yS(n){return jb(n)}Nr.keydown=(n,t)=>{let e=t;if(n.input.shiftKey=16==e.keyCode||e.shiftKey,!G4(n,e)&&(n.input.lastKeyCode=e.keyCode,n.input.lastKeyCodeTime=Date.now(),!_s||!pr||13!=e.keyCode))if(229!=e.keyCode&&n.domObserver.forceFlush(),!Rh||13!=e.keyCode||e.ctrlKey||e.altKey||e.metaKey)n.someProp("handleKeyDown",i=>i(n,e))||function Jse(n,t){let e=t.keyCode,i=function Zse(n){let t="";return n.ctrlKey&&(t+="c"),n.metaKey&&(t+="m"),n.altKey&&(t+="a"),n.shiftKey&&(t+="s"),t}(t);if(8==e||Yo&&72==e&&"c"==i)return P4(n,-1)||cg(n,-1);if(46==e||Yo&&68==e&&"c"==i)return P4(n,1)||cg(n,1);if(13==e||27==e)return!0;if(37==e||Yo&&66==e&&"c"==i){let r=37==e?"ltr"==k4(n,n.state.selection.from)?-1:1:-1;return I4(n,r,i)||cg(n,r)}if(39==e||Yo&&70==e&&"c"==i){let r=39==e?"ltr"==k4(n,n.state.selection.from)?1:-1:1;return I4(n,r,i)||cg(n,r)}return 38==e||Yo&&80==e&&"c"==i?N4(n,-1,i)||cg(n,-1):40==e||Yo&&78==e&&"c"==i?function Qse(n){if(!Ar||n.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:e}=n.domSelectionRange();if(t&&1==t.nodeType&&0==e&&t.firstChild&&"false"==t.firstChild.contentEditable){let i=t.firstChild;L4(n,i,"true"),setTimeout(()=>L4(n,i,"false"),20)}return!1}(n)||N4(n,1,i)||O4(n):i==(Yo?"m":"c")&&(66==e||73==e||89==e||90==e)}(n,e)?e.preventDefault():Bl(n,"key");else{let i=Date.now();n.input.lastIOSEnter=i,n.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{n.input.lastIOSEnter==i&&(n.someProp("handleKeyDown",r=>r(n,cu(13,"Enter"))),n.input.lastIOSEnter=0)},200)}},Nr.keyup=(n,t)=>{16==t.keyCode&&(n.input.shiftKey=!1)},Nr.keypress=(n,t)=>{let e=t;if(G4(n,e)||!e.charCode||e.ctrlKey&&!e.altKey||Yo&&e.metaKey)return;if(n.someProp("handleKeyPress",r=>r(n,e)))return void e.preventDefault();let i=n.state.selection;if(!(i instanceof at&&i.$from.sameParent(i.$to))){let r=String.fromCharCode(e.charCode);!/[\r\n]/.test(r)&&!n.someProp("handleTextInput",o=>o(n,i.$from.pos,i.$to.pos,r))&&n.dispatch(n.state.tr.insertText(r).scrollIntoView()),e.preventDefault()}};const W4=Yo?"metaKey":"ctrlKey";kr.mousedown=(n,t)=>{let e=t;n.input.shiftKey=e.shiftKey;let i=yS(n),r=Date.now(),o="singleClick";r-n.input.lastClick.time<500&&function uae(n,t){let e=t.x-n.clientX,i=t.y-n.clientY;return e*e+i*i<100}(e,n.input.lastClick)&&!e[W4]&&("singleClick"==n.input.lastClick.type?o="doubleClick":"doubleClick"==n.input.lastClick.type&&(o="tripleClick")),n.input.lastClick={time:r,x:e.clientX,y:e.clientY,type:o};let s=n.posAtCoords(Fb(e));s&&("singleClick"==o?(n.input.mouseDown&&n.input.mouseDown.done(),n.input.mouseDown=new yae(n,s,e,!!i)):("doubleClick"==o?pae:mae)(n,s.pos,s.inside,e)?e.preventDefault():Bl(n,"pointer"))};class yae{constructor(t,e,i,r){let o,s;if(this.view=t,this.pos=e,this.event=i,this.flushed=r,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=t.state.doc,this.selectNode=!!i[W4],this.allowDefault=i.shiftKey,e.inside>-1)o=t.state.doc.nodeAt(e.inside),s=e.inside;else{let u=t.state.doc.resolve(e.pos);o=u.parent,s=u.depth?u.before():0}const a=r?null:i.target,l=a?t.docView.nearestDesc(a,!0):null;this.target=l?l.dom:null;let{selection:c}=t.state;(0==i.button&&o.type.spec.draggable&&!1!==o.type.spec.selectable||c instanceof Qe&&c.from<=s&&c.to>s)&&(this.mightDrag={node:o,pos:s,addAttr:!(!this.target||this.target.draggable),setUneditable:!(!this.target||!ys||this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),t.root.addEventListener("mouseup",this.up=this.up.bind(this)),t.root.addEventListener("mousemove",this.move=this.move.bind(this)),Bl(t,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>Wa(this.view)),this.view.input.mouseDown=null}up(t){if(this.done(),!this.view.dom.contains(t.target))return;let e=this.pos;this.view.state.doc!=this.startDoc&&(e=this.view.posAtCoords(Fb(t))),this.updateAllowDefault(t),this.allowDefault||!e?Bl(this.view,"pointer"):function fae(n,t,e,i,r){return gS(n,"handleClickOn",t,e,i)||n.someProp("handleClick",o=>o(n,t,i))||(r?function hae(n,t){if(-1==t)return!1;let i,r,e=n.state.selection;e instanceof Qe&&(i=e.node);let o=n.state.doc.resolve(t);for(let s=o.depth+1;s>0;s--){let a=s>o.depth?o.nodeAfter:o.node(s);if(Qe.isSelectable(a)){r=i&&e.$from.depth>0&&s>=e.$from.depth&&o.before(e.$from.depth+1)==e.$from.pos?o.before(e.$from.depth):o.before(s);break}}return null!=r&&(jh(n,Qe.create(n.state.doc,r),"pointer"),!0)}(n,e):function dae(n,t){if(-1==t)return!1;let e=n.state.doc.resolve(t),i=e.nodeAfter;return!!(i&&i.isAtom&&Qe.isSelectable(i))&&(jh(n,new Qe(e),"pointer"),!0)}(n,e))}(this.view,e.pos,e.inside,t,this.selectNode)?t.preventDefault():0==t.button&&(this.flushed||Ar&&this.mightDrag&&!this.mightDrag.node.isAtom||pr&&!this.view.state.selection.visible&&Math.min(Math.abs(e.pos-this.view.state.selection.from),Math.abs(e.pos-this.view.state.selection.to))<=2)?(jh(this.view,ct.near(this.view.state.doc.resolve(e.pos)),"pointer"),t.preventDefault()):Bl(this.view,"pointer")}move(t){this.updateAllowDefault(t),Bl(this.view,"pointer"),0==t.buttons&&this.done()}updateAllowDefault(t){!this.allowDefault&&(Math.abs(this.event.x-t.clientX)>4||Math.abs(this.event.y-t.clientY)>4)&&(this.allowDefault=!0)}}function G4(n,t){return!!n.composing||!!(Ar&&Math.abs(t.timeStamp-n.input.compositionEndedAt)<500)&&(n.input.compositionEndedAt=-2e8,!0)}kr.touchstart=n=>{n.input.lastTouch=Date.now(),yS(n),Bl(n,"pointer")},kr.touchmove=n=>{n.input.lastTouch=Date.now(),Bl(n,"pointer")},kr.contextmenu=n=>yS(n);const _ae=_s?5e3:-1;function Y4(n,t){clearTimeout(n.input.composingTimeout),t>-1&&(n.input.composingTimeout=setTimeout(()=>jb(n),t))}function q4(n){for(n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=function vae(){let n=document.createEvent("Event");return n.initEvent("event",!0,!0),n.timeStamp}());n.input.compositionNodes.length>0;)n.input.compositionNodes.pop().markParentsDirty()}function jb(n,t=!1){if(!(_s&&n.domObserver.flushingSoon>=0)){if(n.domObserver.forceFlush(),q4(n),t||n.docView&&n.docView.dirty){let e=lS(n);return e&&!e.eq(n.state.selection)?n.dispatch(n.state.tr.setSelection(e)):n.updateState(n.state),!0}return!1}}Nr.compositionstart=Nr.compositionupdate=n=>{if(!n.composing){n.domObserver.flush();let{state:t}=n,e=t.selection.$from;if(t.selection.empty&&(t.storedMarks||!e.textOffset&&e.parentOffset&&e.nodeBefore.marks.some(i=>!1===i.type.spec.inclusive)))n.markCursor=n.state.storedMarks||e.marks(),jb(n,!0),n.markCursor=null;else if(jb(n),ys&&t.selection.empty&&e.parentOffset&&!e.textOffset&&e.nodeBefore.marks.length){let i=n.domSelectionRange();for(let r=i.focusNode,o=i.focusOffset;r&&1==r.nodeType&&0!=o;){let s=o<0?r.lastChild:r.childNodes[o-1];if(!s)break;if(3==s.nodeType){n.domSelection().collapse(s,s.nodeValue.length);break}r=s,o=-1}}n.input.composing=!0}Y4(n,_ae)},Nr.compositionend=(n,t)=>{n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=t.timeStamp,n.input.compositionID++,Y4(n,20))};const zh=no&&Fl<15||Rh&&bse<604;function ug(n,t,e,i,r){let o=F4(n,t,e,i,n.state.selection.$from);if(n.someProp("handlePaste",l=>l(n,r,o||Te.empty)))return!0;if(!o)return!1;let s=function Cae(n){return 0==n.openStart&&0==n.openEnd&&1==n.content.childCount?n.content.firstChild:null}(o),a=s?n.state.tr.replaceSelectionWith(s,n.input.shiftKey):n.state.tr.replaceSelection(o);return n.dispatch(a.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}kr.copy=Nr.cut=(n,t)=>{let e=t,i=n.state.selection,r="cut"==e.type;if(i.empty)return;let o=zh?null:e.clipboardData,s=i.content(),{dom:a,text:l}=R4(n,s);o?(e.preventDefault(),o.clearData(),o.setData("text/html",a.innerHTML),o.setData("text/plain",l)):function bae(n,t){if(!n.dom.parentNode)return;let e=n.dom.parentNode.appendChild(document.createElement("div"));e.appendChild(t),e.style.cssText="position: fixed; left: -10000px; top: 10px";let i=getSelection(),r=document.createRange();r.selectNodeContents(t),n.dom.blur(),i.removeAllRanges(),i.addRange(r),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e),n.focus()},50)}(n,a),r&&n.dispatch(n.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))},Nr.paste=(n,t)=>{let e=t;if(n.composing&&!_s)return;let i=zh?null:e.clipboardData;i&&ug(n,i.getData("text/plain"),i.getData("text/html"),n.input.shiftKey,e)?e.preventDefault():function wae(n,t){if(!n.dom.parentNode)return;let e=n.input.shiftKey||n.state.selection.$from.parent.type.spec.code,i=n.dom.parentNode.appendChild(document.createElement(e?"textarea":"div"));e||(i.contentEditable="true"),i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout(()=>{n.focus(),i.parentNode&&i.parentNode.removeChild(i),e?ug(n,i.value,null,n.input.shiftKey,t):ug(n,i.textContent,i.innerHTML,n.input.shiftKey,t)},50)}(n,e)};class Tae{constructor(t,e){this.slice=t,this.move=e}}const K4=Yo?"altKey":"ctrlKey";kr.dragstart=(n,t)=>{let e=t,i=n.input.mouseDown;if(i&&i.done(),!e.dataTransfer)return;let r=n.state.selection,o=r.empty?null:n.posAtCoords(Fb(e));if(!(o&&o.pos>=r.from&&o.pos<=(r instanceof Qe?r.to-1:r.to)))if(i&&i.mightDrag)n.dispatch(n.state.tr.setSelection(Qe.create(n.state.doc,i.mightDrag.pos)));else if(e.target&&1==e.target.nodeType){let c=n.docView.nearestDesc(e.target,!0);c&&c.node.type.spec.draggable&&c!=n.docView&&n.dispatch(n.state.tr.setSelection(Qe.create(n.state.doc,c.posBefore)))}let s=n.state.selection.content(),{dom:a,text:l}=R4(n,s);e.dataTransfer.clearData(),e.dataTransfer.setData(zh?"Text":"text/html",a.innerHTML),e.dataTransfer.effectAllowed="copyMove",zh||e.dataTransfer.setData("text/plain",l),n.dragging=new Tae(s,!e[K4])},kr.dragend=n=>{let t=n.dragging;window.setTimeout(()=>{n.dragging==t&&(n.dragging=null)},50)},Nr.dragover=Nr.dragenter=(n,t)=>t.preventDefault(),Nr.drop=(n,t)=>{let e=t,i=n.dragging;if(n.dragging=null,!e.dataTransfer)return;let r=n.posAtCoords(Fb(e));if(!r)return;let o=n.state.doc.resolve(r.pos),s=i&&i.slice;s?n.someProp("transformPasted",p=>{s=p(s,n)}):s=F4(n,e.dataTransfer.getData(zh?"Text":"text/plain"),zh?null:e.dataTransfer.getData("text/html"),!1,o);let a=!(!i||e[K4]);if(n.someProp("handleDrop",p=>p(n,e,s||Te.empty,a)))return void e.preventDefault();if(!s)return;e.preventDefault();let l=s?Wj(n.state.doc,o.pos,s):o.pos;null==l&&(l=o.pos);let c=n.state.tr;a&&c.deleteSelection();let u=c.mapping.map(l),d=0==s.openStart&&0==s.openEnd&&1==s.content.childCount,h=c.doc;if(d?c.replaceRangeWith(u,u,s.content.firstChild):c.replaceRange(u,u,s),c.doc.eq(h))return;let f=c.doc.resolve(u);if(d&&Qe.isSelectable(s.content.firstChild)&&f.nodeAfter&&f.nodeAfter.sameMarkup(s.content.firstChild))c.setSelection(new Qe(f));else{let p=c.mapping.map(l);c.mapping.maps[c.mapping.maps.length-1].forEach((m,g,y,w)=>p=w),c.setSelection(uS(n,f,c.doc.resolve(p)))}n.focus(),n.dispatch(c.setMeta("uiEvent","drop"))},kr.focus=n=>{n.input.lastFocus=Date.now(),n.focused||(n.domObserver.stop(),n.dom.classList.add("ProseMirror-focused"),n.domObserver.start(),n.focused=!0,setTimeout(()=>{n.docView&&n.hasFocus()&&!n.domObserver.currentSelection.eq(n.domSelectionRange())&&Wa(n)},20))},kr.blur=(n,t)=>{let e=t;n.focused&&(n.domObserver.stop(),n.dom.classList.remove("ProseMirror-focused"),n.domObserver.start(),e.relatedTarget&&n.dom.contains(e.relatedTarget)&&n.domObserver.currentSelection.clear(),n.focused=!1)},kr.beforeinput=(n,t)=>{if(pr&&_s&&"deleteContentBackward"==t.inputType){n.domObserver.flushSoon();let{domChangeCount:i}=n.input;setTimeout(()=>{if(n.input.domChangeCount!=i||(n.dom.blur(),n.focus(),n.someProp("handleKeyDown",o=>o(n,cu(8,"Backspace")))))return;let{$cursor:r}=n.state.selection;r&&r.pos>0&&n.dispatch(n.state.tr.delete(r.pos-1,r.pos).scrollIntoView())},50)}};for(let n in Nr)kr[n]=Nr[n];function dg(n,t){if(n==t)return!0;for(let e in n)if(n[e]!==t[e])return!1;for(let e in t)if(!(e in n))return!1;return!0}class _S{constructor(t,e){this.toDOM=t,this.spec=e||pu,this.side=this.spec.side||0}map(t,e,i,r){let{pos:o,deleted:s}=t.mapResult(e.from+r,this.side<0?-1:1);return s?null:new Li(o-i,o-i,this)}valid(){return!0}eq(t){return this==t||t instanceof _S&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&dg(this.spec,t.spec))}destroy(t){this.spec.destroy&&this.spec.destroy(t)}}class Ul{constructor(t,e){this.attrs=t,this.spec=e||pu}map(t,e,i,r){let o=t.map(e.from+r,this.spec.inclusiveStart?-1:1)-i,s=t.map(e.to+r,this.spec.inclusiveEnd?1:-1)-i;return o>=s?null:new Li(o,s,this)}valid(t,e){return e.from=t&&(!o||o(a.spec))&&i.push(a.copy(a.from+r,a.to+r))}for(let s=0;st){let a=this.children[s]+1;this.children[s+2].findInner(t-a,e-a,i,r+a,o)}}map(t,e,i){return this==mr||0==t.maps.length?this:this.mapInner(t,e,0,0,i||pu)}mapInner(t,e,i,r,o){let s;for(let a=0;a{let g=m-p-(f-h);for(let y=0;yw+u-d)continue;let T=a[y]+u-d;f>=T?a[y+1]=h<=T?-2:-1:p>=r&&g&&(a[y]+=g,a[y+1]+=g)}d+=g}),u=e.maps[c].map(u,-1)}let l=!1;for(let c=0;c=i.content.size){l=!0;continue}let f=e.map(n[c+1]+o,-1)-r,{index:p,offset:m}=i.content.findIndex(d),g=i.maybeChild(p);if(g&&m==d&&m+g.nodeSize==f){let y=a[c+2].mapInner(e,g,u+1,n[c]+o+1,s);y!=mr?(a[c]=d,a[c+1]=f,a[c+2]=y):(a[c+1]=-2,l=!0)}else l=!0}if(l){let c=function Mae(n,t,e,i,r,o,s){function a(l,c){for(let u=0;u{let u,c=l+i;if(u=Z4(e,a,c)){for(r||(r=this.children.slice());oa&&d.to=t){this.children[a]==t&&(i=this.children[a+2]);break}let o=t+1,s=o+e.content.size;for(let a=0;ao&&l.type instanceof Ul){let c=Math.max(o,l.from)-o,u=Math.min(s,l.to)-o;cr.map(t,e,pu));return Hl.from(i)}forChild(t,e){if(e.isLeaf)return Vn.empty;let i=[];for(let r=0;re instanceof Vn)?t:t.reduce((e,i)=>e.concat(i instanceof Vn?i:i.members),[]))}}}function Q4(n,t){if(!t||!n.length)return n;let e=[];for(let i=0;ie&&s.to{let c=Z4(n,a,l+e);if(c){o=!0;let u=zb(c,a,e+l+1,i);u!=mr&&r.push(l,l+a.nodeSize,u)}});let s=Q4(o?J4(n):n,-e).sort(mu);for(let a=0;a0;)t++;n.splice(t,0,e)}function CS(n){let t=[];return n.someProp("decorations",e=>{let i=e(n.state);i&&i!=mr&&t.push(i)}),n.cursorWrapper&&t.push(Vn.create(n.state.doc,[n.cursorWrapper.deco])),Hl.from(t)}const Sae={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},Eae=no&&Fl<=11;class xae{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(t){this.anchorNode=t.anchorNode,this.anchorOffset=t.anchorOffset,this.focusNode=t.focusNode,this.focusOffset=t.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(t){return t.anchorNode==this.anchorNode&&t.anchorOffset==this.anchorOffset&&t.focusNode==this.focusNode&&t.focusOffset==this.focusOffset}}class Iae{constructor(t,e){this.view=t,this.handleDOMChange=e,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new xae,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.observer=window.MutationObserver&&new window.MutationObserver(i=>{for(let r=0;r"childList"==r.type&&r.removedNodes.length||"characterData"==r.type&&r.oldValue.length>r.target.nodeValue.length)?this.flushSoon():this.flush()}),Eae&&(this.onCharData=i=>{this.queue.push({target:i.target,type:"characterData",oldValue:i.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,Sae)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let t=this.observer.takeRecords();if(t.length){for(let e=0;ethis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(E4(this.view)){if(this.suppressingSelectionUpdates)return Wa(this.view);if(no&&Fl<=11&&!this.view.state.selection.empty){let t=this.view.domSelectionRange();if(t.focusNode&&lu(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(t){if(!t.focusNode)return!0;let i,e=new Set;for(let o=t.focusNode;o;o=rg(o))e.add(o);for(let o=t.anchorNode;o;o=rg(o))if(e.has(o)){i=o;break}let r=i&&this.view.docView.nearestDesc(i);return r&&r.ignoreMutation({type:"selection",target:3==i.nodeType?i.parentNode:i})?(this.setCurSelection(),!0):void 0}flush(){let{view:t}=this;if(!t.docView||this.flushingSoon>-1)return;let e=this.observer?this.observer.takeRecords():[];this.queue.length&&(e=this.queue.concat(e),this.queue.length=0);let i=t.domSelectionRange(),r=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(i)&&E4(t)&&!this.ignoreSelectionChange(i),o=-1,s=-1,a=!1,l=[];if(t.editable)for(let u=0;u1){let u=l.filter(d=>"BR"==d.nodeName);if(2==u.length){let d=u[0],h=u[1];d.parentNode&&d.parentNode.parentNode==h.parentNode?h.remove():d.remove()}}let c=null;o<0&&r&&t.input.lastFocus>Date.now()-200&&Math.max(t.input.lastTouch,t.input.lastClick.time)-1||r)&&(o>-1&&(t.docView.markDirty(o,s),function Oae(n){if(!e5.has(n)&&(e5.set(n,null),-1!==["normal","nowrap","pre-line"].indexOf(getComputedStyle(n.dom).whiteSpace))){if(n.requiresGeckoHackNode=ys,t5)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),t5=!0}}(t)),this.handleDOMChange(o,s,a,l),t.docView&&t.docView.dirty?t.updateState(t.state):this.currentSelection.eq(i)||Wa(t),this.currentSelection.set(i))}registerMutation(t,e){if(e.indexOf(t.target)>-1)return null;let i=this.view.docView.nearestDesc(t.target);if("attributes"==t.type&&(i==this.view.docView||"contenteditable"==t.attributeName||"style"==t.attributeName&&!t.oldValue&&!t.target.getAttribute("style"))||!i||i.ignoreMutation(t))return null;if("childList"==t.type){for(let u=0;ut.content.size?null:uS(n,t.resolve(e.anchor),t.resolve(e.head))}function wS(n,t,e){let i=n.depth,r=t?n.end():n.pos;for(;i>0&&(t||n.indexAfter(i)==n.node(i).childCount);)i--,r++,t=!1;if(e){let o=n.node(i).maybeChild(n.indexAfter(i));for(;o&&!o.isLeaf;)o=o.firstChild,r++}return r}class zae{constructor(t,e){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new oae,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=e,this.state=e.state,this.directPlugins=e.plugins||[],this.directPlugins.forEach(l5),this.dispatch=this.dispatch.bind(this),this.dom=t&&t.mount||document.createElement("div"),t&&(t.appendChild?t.appendChild(this.dom):"function"==typeof t?t(this.dom):t.mount&&(this.mounted=!0)),this.editable=s5(this),o5(this),this.nodeViews=a5(this),this.docView=m4(this.state.doc,r5(this),CS(this),this.dom,this),this.domObserver=new Iae(this,(i,r,o,s)=>function Lae(n,t,e,i,r){if(t<0){let Z=n.input.lastSelectionTime>Date.now()-50?n.input.lastSelectionOrigin:null,Pe=lS(n,Z);if(Pe&&!n.state.selection.eq(Pe)){if(pr&&_s&&13===n.input.lastKeyCode&&Date.now()-100Tt(n,cu(13,"Enter"))))return;let Ge=n.state.tr.setSelection(Pe);"pointer"==Z?Ge.setMeta("pointer",!0):"key"==Z&&Ge.scrollIntoView(),n.composing&&Ge.setMeta("composition",n.input.compositionID),n.dispatch(Ge)}return}let o=n.state.doc.resolve(t),s=o.sharedDepth(e);t=o.before(s+1),e=n.state.doc.resolve(e).after(s+1);let d,h,a=n.state.selection,l=function kae(n,t,e){let c,{node:i,fromOffset:r,toOffset:o,from:s,to:a}=n.docView.parseRange(t,e),l=n.domSelectionRange(),u=l.anchorNode;if(u&&n.dom.contains(1==u.nodeType?u:u.parentNode)&&(c=[{node:u,offset:l.anchorOffset}],Nb(l)||c.push({node:l.focusNode,offset:l.focusOffset})),pr&&8===n.input.lastKeyCode)for(let g=o;g>r;g--){let y=i.childNodes[g-1],w=y.pmViewDesc;if("BR"==y.nodeName&&!w){o=g;break}if(!w||w.size)break}let d=n.state.doc,h=n.someProp("domParser")||Th.fromSchema(n.state.schema),f=d.resolve(s),p=null,m=h.parse(i,{topNode:f.parent,topMatch:f.parent.contentMatchAt(f.index()),topOpen:!0,from:r,to:o,preserveWhitespace:"pre"!=f.parent.type.whitespace||"full",findPositions:c,ruleFromNode:Nae,context:f});if(c&&null!=c[0].pos){let g=c[0].pos,y=c[1]&&c[1].pos;null==y&&(y=g),p={anchor:g+s,head:y+s}}return{doc:m,sel:p,from:s,to:a}}(n,t,e),c=n.state.doc,u=c.slice(l.from,l.to);8===n.input.lastKeyCode&&Date.now()-100=s?o-i:0,a=o+(a-s),s=o):a=a?o-i:0,s=o+(s-a),a=o),{start:o,endA:s,endB:a}}(u.content,l.doc.content,l.from,d,h);if((Rh&&n.input.lastIOSEnter>Date.now()-225||_s)&&r.some(Z=>1==Z.nodeType&&!Pae.test(Z.nodeName))&&(!f||f.endA>=f.endB)&&n.someProp("handleKeyDown",Z=>Z(n,cu(13,"Enter"))))return void(n.input.lastIOSEnter=0);if(!f){if(!(i&&a instanceof at&&!a.empty&&a.$head.sameParent(a.$anchor))||n.composing||l.sel&&l.sel.anchor!=l.sel.head){if(l.sel){let Z=n5(n,n.state.doc,l.sel);if(Z&&!Z.eq(n.state.selection)){let Pe=n.state.tr.setSelection(Z);n.composing&&Pe.setMeta("composition",n.input.compositionID),n.dispatch(Pe)}}return}f={start:a.from,endA:a.to,endB:a.to}}if(pr&&n.cursorWrapper&&l.sel&&l.sel.anchor==n.cursorWrapper.deco.from&&l.sel.head==l.sel.anchor){let Z=f.endB-f.start;l.sel={anchor:l.sel.anchor+Z,head:l.sel.anchor+Z}}n.input.domChangeCount++,n.state.selection.fromn.state.selection.from&&f.start<=n.state.selection.from+2&&n.state.selection.from>=l.from?f.start=n.state.selection.from:f.endA=n.state.selection.to-2&&n.state.selection.to<=l.to&&(f.endB+=n.state.selection.to-f.endA,f.endA=n.state.selection.to)),no&&Fl<=11&&f.endB==f.start+1&&f.endA==f.start&&f.start>l.from&&" \xa0"==l.doc.textBetween(f.start-l.from-1,f.start-l.from+1)&&(f.start--,f.endA--,f.endB--);let w,p=l.doc.resolveNoCache(f.start-l.from),m=l.doc.resolveNoCache(f.endB-l.from),g=c.resolve(f.start),y=p.sameParent(m)&&p.parent.inlineContent&&g.end()>=f.endA;if((Rh&&n.input.lastIOSEnter>Date.now()-225&&(!y||r.some(Z=>"DIV"==Z.nodeName||"P"==Z.nodeName))||!y&&p.posZ(n,cu(13,"Enter"))))return void(n.input.lastIOSEnter=0);if(n.state.selection.anchor>f.start&&function Fae(n,t,e,i,r){if(!i.parent.isTextblock||e-t<=r.pos-i.pos||wS(i,!0,!1)e||wS(s,!0,!1)Z(n,cu(8,"Backspace"))))return void(_s&&pr&&n.domObserver.suppressSelectionUpdates());pr&&_s&&f.endB==f.start&&(n.input.lastAndroidDelete=Date.now()),_s&&!y&&p.start()!=m.start()&&0==m.parentOffset&&p.depth==m.depth&&l.sel&&l.sel.anchor==l.sel.head&&l.sel.head==f.endA&&(f.endB-=2,m=l.doc.resolveNoCache(f.endB-l.from),setTimeout(()=>{n.someProp("handleKeyDown",function(Z){return Z(n,cu(13,"Enter"))})},20));let N,x,ae,T=f.start,v=f.endA;if(y)if(p.pos==m.pos)no&&Fl<=11&&0==p.parentOffset&&(n.domObserver.suppressSelectionUpdates(),setTimeout(()=>Wa(n),20)),N=n.state.tr.delete(T,v),x=c.resolve(f.start).marksAcross(c.resolve(f.endA));else if(f.endA==f.endB&&(ae=function Rae(n,t){let s,a,l,e=n.firstChild.marks,i=t.firstChild.marks,r=e,o=i;for(let u=0;uu.mark(a.addToSet(u.marks));else{if(0!=r.length||1!=o.length)return null;a=o[0],s="remove",l=u=>u.mark(a.removeFromSet(u.marks))}let c=[];for(let u=0;uPe(n,T,v,Z)))return;N=n.state.tr.insertText(Z,T,v)}if(N||(N=n.state.tr.replace(T,v,l.doc.slice(f.start-l.from,f.endB-l.from))),l.sel){let Z=n5(n,N.doc,l.sel);Z&&!(pr&&_s&&n.composing&&Z.empty&&(f.start!=f.endB||n.input.lastAndroidDelete{lae(n,i)&&!mS(n,i)&&(n.editable||!(i.type in Nr))&&e(n,i)},rae[t]?{passive:!0}:void 0)}Ar&&n.dom.addEventListener("input",()=>null),pS(n)}(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let t=this._props;this._props={};for(let e in t)this._props[e]=t[e];this._props.state=this.state}return this._props}update(t){t.handleDOMEvents!=this._props.handleDOMEvents&&pS(this);let e=this._props;this._props=t,t.plugins&&(t.plugins.forEach(l5),this.directPlugins=t.plugins),this.updateStateInner(t.state,e)}setProps(t){let e={};for(let i in this._props)e[i]=this._props[i];e.state=this.state;for(let i in t)e[i]=t[i];this.update(e)}updateState(t){this.updateStateInner(t,this._props)}updateStateInner(t,e){let i=this.state,r=!1,o=!1;t.storedMarks&&this.composing&&(q4(this),o=!0),this.state=t;let s=i.plugins!=t.plugins||this._props.plugins!=e.plugins;if(s||this._props.plugins!=e.plugins||this._props.nodeViews!=e.nodeViews){let h=a5(this);(function Bae(n,t){let e=0,i=0;for(let r in n){if(n[r]!=t[r])return!0;e++}for(let r in t)i++;return e!=i})(h,this.nodeViews)&&(this.nodeViews=h,r=!0)}(s||e.handleDOMEvents!=this._props.handleDOMEvents)&&pS(this),this.editable=s5(this),o5(this);let a=CS(this),l=r5(this),c=i.plugins==t.plugins||i.doc.eq(t.doc)?t.scrollToSelection>i.scrollToSelection?"to selection":"preserve":"reset",u=r||!this.docView.matchesNode(t.doc,l,a);(u||!t.selection.eq(i.selection))&&(o=!0);let d="preserve"==c&&o&&null==this.dom.style.overflowAnchor&&function Tse(n){let i,r,t=n.dom.getBoundingClientRect(),e=Math.max(0,t.top);for(let o=(t.left+t.right)/2,s=e+1;s=e-20){i=a,r=l.top;break}}return{refDOM:i,refTop:r,stack:n4(n.dom)}}(this);if(o){this.domObserver.stop();let h=u&&(no||pr)&&!this.composing&&!i.selection.empty&&!t.selection.empty&&function Vae(n,t){let e=Math.min(n.$anchor.sharedDepth(n.head),t.$anchor.sharedDepth(t.head));return n.$anchor.start(e)!=t.$anchor.start(e)}(i.selection,t.selection);if(u){let f=pr?this.trackWrites=this.domSelectionRange().focusNode:null;(r||!this.docView.update(t.doc,l,a,this))&&(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=m4(t.doc,l,a,this.dom,this)),f&&!this.trackWrites&&(h=!0)}h||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&function qse(n){let t=n.docView.domFromPos(n.state.selection.anchor,0),e=n.domSelectionRange();return lu(t.node,t.offset,e.anchorNode,e.anchorOffset)}(this))?Wa(this,h):(M4(this,t.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(i),"reset"==c?this.dom.scrollTop=0:"to selection"==c?this.scrollToSelection():d&&function Dse({refDOM:n,refTop:t,stack:e}){let i=n?n.getBoundingClientRect().top:0;r4(e,0==i?0:i-t)}(d)}scrollToSelection(){let t=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",e=>e(this)))if(this.state.selection instanceof Qe){let e=this.docView.domAfterPos(this.state.selection.from);1==e.nodeType&&t4(this,e.getBoundingClientRect(),t)}else t4(this,this.coordsAtPos(this.state.selection.head,1),t)}destroyPluginViews(){let t;for(;t=this.pluginViews.pop();)t.destroy&&t.destroy()}updatePluginViews(t){if(t&&t.plugins==this.state.plugins&&this.directPlugins==this.prevDirectPlugins)for(let e=0;ee.ownerDocument.getSelection()),this._root=e;return t||document}posAtCoords(t){return Ose(this,t)}coordsAtPos(t,e=1){return l4(this,t,e)}domAtPos(t,e=0){return this.docView.domFromPos(t,e)}nodeDOM(t){let e=this.docView.descAt(t);return e?e.nodeDOM:null}posAtDOM(t,e,i=-1){let r=this.docView.posFromDOM(t,e,i);if(null==r)throw new RangeError("DOM position not inside the editor");return r}endOfTextblock(t,e){return function Lse(n,t,e){return u4==t&&d4==e?h4:(u4=t,d4=e,h4="up"==e||"down"==e?function kse(n,t,e){let i=t.selection,r="up"==e?i.$from:i.$to;return c4(n,t,()=>{let{node:o}=n.docView.domFromPos(r.pos,"up"==e?-1:1);for(;;){let a=n.docView.nearestDesc(o,!0);if(!a)break;if(a.node.isBlock){o=a.contentDOM||a.dom;break}o=a.dom.parentNode}let s=l4(n,r.pos,1);for(let a=o.firstChild;a;a=a.nextSibling){let l;if(1==a.nodeType)l=a.getClientRects();else{if(3!=a.nodeType)continue;l=$a(a,0,a.nodeValue.length).getClientRects()}for(let c=0;cu.top+1&&("up"==e?s.top-u.top>2*(u.bottom-s.top):u.bottom-s.bottom>2*(s.bottom-u.top)))return!1}}return!0})}(n,t,e):function Pse(n,t,e){let{$head:i}=t.selection;if(!i.parent.isTextblock)return!1;let r=i.parentOffset,o=!r,s=r==i.parent.content.size,a=n.domSelection();return Nse.test(i.parent.textContent)&&a.modify?c4(n,t,()=>{let{focusNode:l,focusOffset:c,anchorNode:u,anchorOffset:d}=n.domSelectionRange(),h=a.caretBidiLevel;a.modify("move",e,"character");let f=i.depth?n.docView.domAfterPos(i.before()):n.dom,{focusNode:p,focusOffset:m}=n.domSelectionRange(),g=p&&!f.contains(1==p.nodeType?p:p.parentNode)||l==p&&c==m;try{a.collapse(u,d),l&&(l!=u||c!=d)&&a.extend&&a.extend(l,c)}catch{}return null!=h&&(a.caretBidiLevel=h),g}):"left"==e||"backward"==e?o:s}(n,t,e))}(this,e||this.state,t)}pasteHTML(t,e){return ug(this,"",t,!1,e||new ClipboardEvent("paste"))}pasteText(t,e){return ug(this,t,null,!0,e||new ClipboardEvent("paste"))}destroy(){this.docView&&(function aae(n){n.domObserver.stop();for(let t in n.input.eventHandlers)n.dom.removeEventListener(t,n.input.eventHandlers[t]);clearTimeout(n.input.composingTimeout),clearTimeout(n.input.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],CS(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)}get isDestroyed(){return null==this.docView}dispatchEvent(t){return function cae(n,t){!mS(n,t)&&kr[t.type]&&(n.editable||!(t.type in Nr))&&kr[t.type](n,t)}(this,t)}dispatch(t){let e=this._props.dispatchTransaction;e?e.call(this,t):this.updateState(this.state.apply(t))}domSelectionRange(){return Ar&&11===this.root.nodeType&&function gse(n){let t=n.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}(this.dom.ownerDocument)==this.dom?function Aae(n){let t;function e(l){l.preventDefault(),l.stopImmediatePropagation(),t=l.getTargetRanges()[0]}n.dom.addEventListener("beforeinput",e,!0),document.execCommand("indent"),n.dom.removeEventListener("beforeinput",e,!0);let i=t.startContainer,r=t.startOffset,o=t.endContainer,s=t.endOffset,a=n.domAtPos(n.state.selection.anchor);return lu(a.node,a.offset,o,s)&&([i,r,o,s]=[o,s,i,r]),{anchorNode:i,anchorOffset:r,focusNode:o,focusOffset:s}}(this):this.domSelection()}domSelection(){return this.root.getSelection()}}function r5(n){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(n.editable),n.someProp("attributes",e=>{if("function"==typeof e&&(e=e(n.state)),e)for(let i in e)"class"==i?t.class+=" "+e[i]:"style"==i?t.style=(t.style?t.style+";":"")+e[i]:!t[i]&&"contenteditable"!=i&&"nodeName"!=i&&(t[i]=String(e[i]))}),t.translate||(t.translate="no"),[Li.node(0,n.state.doc.content.size,t)]}function o5(n){if(n.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),n.cursorWrapper={dom:t,deco:Li.widget(n.state.selection.head,t,{raw:!0,marks:n.markCursor})}}else n.cursorWrapper=null}function s5(n){return!n.someProp("editable",t=>!1===t(n.state))}function a5(n){let t=Object.create(null);function e(i){for(let r in i)Object.prototype.hasOwnProperty.call(t,r)||(t[r]=i[r])}return n.someProp("nodeViews",e),n.someProp("markViews",e),t}function l5(n){if(n.spec.state||n.spec.filterTransaction||n.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}for(var $l={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Vb={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Uae=typeof navigator<"u"&&/Mac/.test(navigator.platform),Hae=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),Xi=0;Xi<10;Xi++)$l[48+Xi]=$l[96+Xi]=String(Xi);for(Xi=1;Xi<=24;Xi++)$l[Xi+111]="F"+Xi;for(Xi=65;Xi<=90;Xi++)$l[Xi]=String.fromCharCode(Xi+32),Vb[Xi]=String.fromCharCode(Xi);for(var TS in $l)Vb.hasOwnProperty(TS)||(Vb[TS]=$l[TS]);const Wae=typeof navigator<"u"&&/Mac|iP(hone|[oa]d)/.test(navigator.platform);function Gae(n){let i,r,o,s,t=n.split(/-(?!$)/),e=t[t.length-1];"Space"==e&&(e=" ");for(let a=0;a127)&&(o=$l[i.keyCode])&&o!=r){let a=t[DS(o,i)];if(a&&a(e.state,e.dispatch,e))return!0}}return!1}}const SS=(n,t)=>!n.selection.empty&&(t&&t(n.tr.deleteSelection().scrollIntoView()),!0);const u5=(n,t,e)=>{let i=function c5(n,t){let{$cursor:e}=n.selection;return!e||(t?!t.endOfTextblock("backward",n):e.parentOffset>0)?null:e}(n,e);if(!i)return!1;let r=ES(i);if(!r){let s=i.blockRange(),a=s&&Sh(s);return null!=a&&(t&&t(n.tr.lift(s,a).scrollIntoView()),!0)}let o=r.nodeBefore;if(!o.type.spec.isolating&&C5(n,r,t))return!0;if(0==i.parent.content.size&&(Bh(o,"end")||Qe.isSelectable(o))){let s=IM(n.doc,i.before(),i.after(),Te.empty);if(s&&s.slice.size{let{$head:i,empty:r}=n.selection,o=i;if(!r)return!1;if(i.parent.isTextblock){if(e?!e.endOfTextblock("backward",n):i.parentOffset>0)return!1;o=ES(i)}let s=o&&o.nodeBefore;return!(!s||!Qe.isSelectable(s)||(t&&t(n.tr.setSelection(Qe.create(n.doc,o.pos-s.nodeSize)).scrollIntoView()),0))};function ES(n){if(!n.parent.type.spec.isolating)for(let t=n.depth-1;t>=0;t--){if(n.index(t)>0)return n.doc.resolve(n.before(t+1));if(n.node(t).type.spec.isolating)break}return null}const p5=(n,t,e)=>{let i=function f5(n,t){let{$cursor:e}=n.selection;return!e||(t?!t.endOfTextblock("forward",n):e.parentOffset{let{$head:i,empty:r}=n.selection,o=i;if(!r)return!1;if(i.parent.isTextblock){if(e?!e.endOfTextblock("forward",n):i.parentOffset=0;t--){let e=n.node(t);if(n.index(t)+1{let{$head:e,$anchor:i}=n.selection;return!(!e.parent.type.spec.code||!e.sameParent(i)||(t&&t(n.tr.insertText("\n").scrollIntoView()),0))};function IS(n){for(let t=0;t{let{$head:e,$anchor:i}=n.selection;if(!e.parent.type.spec.code||!e.sameParent(i))return!1;let r=e.node(-1),o=e.indexAfter(-1),s=IS(r.contentMatchAt(o));if(!s||!r.canReplaceWith(o,o,s))return!1;if(t){let a=e.after(),l=n.tr.replaceWith(a,a,s.createAndFill());l.setSelection(ct.near(l.doc.resolve(a),1)),t(l.scrollIntoView())}return!0},_5=(n,t)=>{let e=n.selection,{$from:i,$to:r}=e;if(e instanceof Do||i.parent.inlineContent||r.parent.inlineContent)return!1;let o=IS(r.parent.contentMatchAt(r.indexAfter()));if(!o||!o.isTextblock)return!1;if(t){let s=(!i.parentOffset&&r.index(){let{$cursor:e}=n.selection;if(!e||e.parent.content.size)return!1;if(e.depth>1&&e.after()!=e.end(-1)){let o=e.before();if(Ua(n.doc,o))return t&&t(n.tr.split(o).scrollIntoView()),!0}let i=e.blockRange(),r=i&&Sh(i);return null!=r&&(t&&t(n.tr.lift(i,r).scrollIntoView()),!0)},b5=function Jae(n){return(t,e)=>{let{$from:i,$to:r}=t.selection;if(t.selection instanceof Qe&&t.selection.node.isBlock)return!(!i.parentOffset||!Ua(t.doc,i.pos)||(e&&e(t.tr.split(i.pos).scrollIntoView()),0));if(!i.parent.isBlock)return!1;if(e){let o=r.parentOffset==r.parent.content.size,s=t.tr;(t.selection instanceof at||t.selection instanceof Do)&&s.deleteSelection();let a=0==i.depth?null:IS(i.node(-1).contentMatchAt(i.indexAfter(-1))),l=n&&n(r.parent,o),c=l?[l]:o&&a?[{type:a}]:void 0,u=Ua(s.doc,s.mapping.map(i.pos),1,c);if(!c&&!u&&Ua(s.doc,s.mapping.map(i.pos),1,a?[{type:a}]:void 0)&&(a&&(c=[{type:a}]),u=!0),u&&(s.split(s.mapping.map(i.pos),1,c),!o&&!i.parentOffset&&i.parent.type!=a)){let d=s.mapping.map(i.before()),h=s.doc.resolve(d);a&&i.node(-1).canReplaceWith(h.index(),h.index()+1,a)&&s.setNodeMarkup(s.mapping.map(i.before()),a)}e(s.scrollIntoView())}return!0}}();function C5(n,t,e){let o,s,i=t.nodeBefore,r=t.nodeAfter;if(i.type.spec.isolating||r.type.spec.isolating)return!1;if(function tle(n,t,e){let i=t.nodeBefore,r=t.nodeAfter,o=t.index();return!(!(i&&r&&i.type.compatibleContent(r.type))||(!i.content.size&&t.parent.canReplace(o-1,o)?(e&&e(n.tr.delete(t.pos-i.nodeSize,t.pos).scrollIntoView()),0):!t.parent.canReplace(o,o+1)||!r.isTextblock&&!Al(n.doc,t.pos)||(e&&e(n.tr.clearIncompatible(t.pos,i.type,i.contentMatchAt(i.childCount)).join(t.pos).scrollIntoView()),0)))}(n,t,e))return!0;let a=t.parent.canReplace(t.index(),t.index()+1);if(a&&(o=(s=i.contentMatchAt(i.childCount)).findWrapping(r.type))&&s.matchType(o[0]||r.type).validEnd){if(e){let d=t.pos+r.nodeSize,h=he.empty;for(let m=o.length-1;m>=0;m--)h=he.from(o[m].create(null,h));h=he.from(i.copy(h));let f=n.tr.step(new Bi(t.pos-1,d,t.pos,d,new Te(h,1,0),o.length,!0)),p=d+2*o.length;Al(f.doc,p)&&f.join(p),e(f.scrollIntoView())}return!0}let l=ct.findFrom(t,1),c=l&&l.$from.blockRange(l.$to),u=c&&Sh(c);if(null!=u&&u>=t.depth)return e&&e(n.tr.lift(c,u).scrollIntoView()),!0;if(a&&Bh(r,"start",!0)&&Bh(i,"end")){let d=i,h=[];for(;h.push(d),!d.isTextblock;)d=d.lastChild;let f=r,p=1;for(;!f.isTextblock;f=f.firstChild)p++;if(d.canReplace(d.childCount,d.childCount,f.content)){if(e){let m=he.empty;for(let y=h.length-1;y>=0;y--)m=he.from(h[y].copy(m));e(n.tr.step(new Bi(t.pos-h.length,t.pos+r.nodeSize,t.pos+p,t.pos+r.nodeSize-p,new Te(m,h.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function w5(n){return function(t,e){let i=t.selection,r=n<0?i.$from:i.$to,o=r.depth;for(;r.node(o).isInline;){if(!o)return!1;o--}return!!r.node(o).isTextblock&&(e&&e(t.tr.setSelection(at.create(t.doc,n<0?r.start(o):r.end(o)))),!0)}}const T5=w5(-1),D5=w5(1);function M5(n,t=null){return function(e,i){let r=!1;for(let o=0;o{if(r)return!1;if(l.isTextblock&&!l.hasMarkup(n,t))if(l.type==n)r=!0;else{let u=e.doc.resolve(c),d=u.index();r=u.parent.canReplaceWith(d,d+1,n)}})}if(!r)return!1;if(i){let o=e.tr;for(let s=0;s(t&&t(n.tr.setSelection(new Do(n.doc))),!0)},ole={"Ctrl-h":Wl.Backspace,"Alt-Backspace":Wl["Mod-Backspace"],"Ctrl-d":Wl.Delete,"Ctrl-Alt-Backspace":Wl["Mod-Delete"],"Alt-Delete":Wl["Mod-Delete"],"Alt-d":Wl["Mod-Delete"],"Ctrl-a":T5,"Ctrl-e":D5};for(let n in Wl)ole[n]=Wl[n];function Bb(n){const{state:t,transaction:e}=n;let{selection:i}=e,{doc:r}=e,{storedMarks:o}=e;return{...t,apply:t.apply.bind(t),applyTransaction:t.applyTransaction.bind(t),filterTransaction:t.filterTransaction,plugins:t.plugins,schema:t.schema,reconfigure:t.reconfigure.bind(t),toJSON:t.toJSON.bind(t),get storedMarks(){return o},get selection(){return i},get doc(){return r},get tr(){return i=e.selection,r=e.doc,o=e.storedMarks,e}}}typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform();class Ub{constructor(t){this.editor=t.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=t.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:t,editor:e,state:i}=this,{view:r}=e,{tr:o}=i,s=this.buildProps(o);return Object.fromEntries(Object.entries(t).map(([a,l])=>[a,(...u)=>{const d=l(...u)(s);return!o.getMeta("preventDispatch")&&!this.hasCustomState&&r.dispatch(o),d}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(t,e=!0){const{rawCommands:i,editor:r,state:o}=this,{view:s}=r,a=[],l=!!t,c=t||o.tr,d={...Object.fromEntries(Object.entries(i).map(([h,f])=>[h,(...m)=>{const g=this.buildProps(c,e),y=f(...m)(g);return a.push(y),d}])),run:()=>(!l&&e&&!c.getMeta("preventDispatch")&&!this.hasCustomState&&s.dispatch(c),a.every(h=>!0===h))};return d}createCan(t){const{rawCommands:e,state:i}=this,o=t||i.tr,s=this.buildProps(o,!1);return{...Object.fromEntries(Object.entries(e).map(([l,c])=>[l,(...u)=>c(...u)({...s,dispatch:void 0})])),chain:()=>this.createChain(o,!1)}}buildProps(t,e=!0){const{rawCommands:i,editor:r,state:o}=this,{view:s}=r;o.storedMarks&&t.setStoredMarks(o.storedMarks);const a={tr:t,editor:r,view:s,state:Bb({state:o,transaction:t}),dispatch:e?()=>{}:void 0,chain:()=>this.createChain(t),can:()=>this.createCan(t),get commands(){return Object.fromEntries(Object.entries(i).map(([l,c])=>[l,(...u)=>c(...u)(a)]))}};return a}}class _le{constructor(){this.callbacks={}}on(t,e){return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(e),this}emit(t,...e){const i=this.callbacks[t];return i&&i.forEach(r=>r.apply(this,e)),this}off(t,e){const i=this.callbacks[t];return i&&(e?this.callbacks[t]=i.filter(r=>r!==e):delete this.callbacks[t]),this}removeAllListeners(){this.callbacks={}}}function He(n,t,e){return void 0===n.config[t]&&n.parent?He(n.parent,t,e):"function"==typeof n.config[t]?n.config[t].bind({...e,parent:n.parent?He(n.parent,t,e):null}):n.config[t]}function Hb(n){return{baseExtensions:n.filter(r=>"extension"===r.type),nodeExtensions:n.filter(r=>"node"===r.type),markExtensions:n.filter(r=>"mark"===r.type)}}function E5(n){const t=[],{nodeExtensions:e,markExtensions:i}=Hb(n),r=[...e,...i],o={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return n.forEach(s=>{const l=He(s,"addGlobalAttributes",{name:s.name,options:s.options,storage:s.storage});l&&l().forEach(u=>{u.types.forEach(d=>{Object.entries(u.attributes).forEach(([h,f])=>{t.push({type:d,name:h,attribute:{...o,...f}})})})})}),r.forEach(s=>{const l=He(s,"addAttributes",{name:s.name,options:s.options,storage:s.storage});if(!l)return;const c=l();Object.entries(c).forEach(([u,d])=>{const h={...o,...d};"function"==typeof h?.default&&(h.default=h.default()),h?.isRequired&&void 0===h?.default&&delete h.default,t.push({type:s.name,name:u,attribute:h})})}),t}function Ui(n,t){if("string"==typeof n){if(!t.nodes[n])throw Error(`There is no node type named '${n}'. Maybe you forgot to add the extension?`);return t.nodes[n]}return n}function rn(...n){return n.filter(t=>!!t).reduce((t,e)=>{const i={...t};return Object.entries(e).forEach(([r,o])=>{i[r]=i[r]?"class"===r?[i[r],o].join(" "):"style"===r?[i[r],o].join("; "):o:o}),i},{})}function NS(n,t){return t.filter(e=>e.attribute.rendered).map(e=>e.attribute.renderHTML?e.attribute.renderHTML(n.attrs)||{}:{[e.name]:n.attrs[e.name]}).reduce((e,i)=>rn(e,i),{})}function x5(n){return"function"==typeof n}function xt(n,t,...e){return x5(n)?t?n.bind(t)(...e):n(...e):n}function I5(n,t){return n.style?n:{...n,getAttrs:e=>{const i=n.getAttrs?n.getAttrs(e):n.attrs;if(!1===i)return!1;const r=t.reduce((o,s)=>{const a=s.attribute.parseHTML?s.attribute.parseHTML(e):function ble(n){return"string"!=typeof n?n:n.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(n):"true"===n||"false"!==n&&n}(e.getAttribute(s.name));return null==a?o:{...o,[s.name]:a}},{});return{...i,...r}}}}function O5(n){return Object.fromEntries(Object.entries(n).filter(([t,e])=>("attrs"!==t||!function vle(n={}){return 0===Object.keys(n).length&&n.constructor===Object}(e))&&null!=e))}function PS(n,t){return t.nodes[n]||t.marks[n]||null}function k5(n,t){return Array.isArray(t)?t.some(e=>("string"==typeof e?e:e.name)===n.name):t}function LS(n){return"[object RegExp]"===Object.prototype.toString.call(n)}class hg{constructor(t){this.find=t.find,this.handler=t.handler}}function RS(n){var t;const{editor:e,from:i,to:r,text:o,rules:s,plugin:a}=n,{view:l}=e;if(l.composing)return!1;const c=l.state.doc.resolve(i);if(c.parent.type.spec.code||null!==(t=c.nodeBefore||c.nodeAfter)&&void 0!==t&&t.marks.find(h=>h.type.spec.code))return!1;let u=!1;const d=((n,t=500)=>{let e="";const i=n.parentOffset;return n.parent.nodesBetween(Math.max(0,i-t),i,(r,o,s,a)=>{var l,c;const u=(null===(c=(l=r.type.spec).toText)||void 0===c?void 0:c.call(l,{node:r,pos:o,parent:s,index:a}))||r.textContent||"%leaf%";e+=u.slice(0,Math.max(0,i-o))}),e})(c)+o;return s.forEach(h=>{if(u)return;const f=((n,t)=>{if(LS(t))return t.exec(n);const e=t(n);if(!e)return null;const i=[e.text];return i.index=e.index,i.input=n,i.data=e.data,e.replaceWith&&(e.text.includes(e.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),i.push(e.replaceWith)),i})(d,h.find);if(!f)return;const p=l.state.tr,m=Bb({state:l.state,transaction:p}),g={from:i-(f[0].length-o.length),to:r},{commands:y,chain:w,can:T}=new Ub({editor:e,state:m});null===h.handler({state:m,range:g,match:f,commands:y,chain:w,can:T})||!p.steps.length||(p.setMeta(a,{transform:p,from:i,to:r,text:o}),l.dispatch(p),u=!0)}),u}function Tle(n){const{editor:t,rules:e}=n,i=new Kt({state:{init:()=>null,apply:(r,o)=>r.getMeta(i)||(r.selectionSet||r.docChanged?null:o)},props:{handleTextInput:(r,o,s,a)=>RS({editor:t,from:o,to:s,text:a,rules:e,plugin:i}),handleDOMEvents:{compositionend:r=>(setTimeout(()=>{const{$cursor:o}=r.state.selection;o&&RS({editor:t,from:o.pos,to:o.pos,text:"",rules:e,plugin:i})}),!1)},handleKeyDown(r,o){if("Enter"!==o.key)return!1;const{$cursor:s}=r.state.selection;return!!s&&RS({editor:t,from:s.pos,to:s.pos,text:"\n",rules:e,plugin:i})}},isInputRules:!0});return i}class FS{constructor(t){this.find=t.find,this.handler=t.handler}}function Ele(n){const{editor:t,rules:e}=n;let i=null,r=!1,o=!1;return e.map(a=>new Kt({view(l){const c=u=>{var d;i=null!==(d=l.dom.parentElement)&&void 0!==d&&d.contains(u.target)?l.dom.parentElement:null};return window.addEventListener("dragstart",c),{destroy(){window.removeEventListener("dragstart",c)}}},props:{handleDOMEvents:{drop:l=>(o=i===l.dom.parentElement,!1),paste:(l,c)=>{var u;const d=null===(u=c.clipboardData)||void 0===u?void 0:u.getData("text/html");return r=!!d?.includes("data-pm-slice"),!1}}},appendTransaction:(l,c,u)=>{const d=l[0],h="paste"===d.getMeta("uiEvent")&&!r,f="drop"===d.getMeta("uiEvent")&&!o;if(!h&&!f)return;const p=c.doc.content.findDiffStart(u.doc.content),m=c.doc.content.findDiffEnd(u.doc.content);if(!function Dle(n){return"number"==typeof n}(p)||!m||p===m.b)return;const g=u.tr,y=Bb({state:u,transaction:g});return function Sle(n){const{editor:t,state:e,from:i,to:r,rule:o}=n,{commands:s,chain:a,can:l}=new Ub({editor:t,state:e}),c=[];return e.doc.nodesBetween(i,r,(d,h)=>{if(!d.isTextblock||d.type.spec.code)return;const f=Math.max(i,h),p=Math.min(r,h+d.content.size);((n,t)=>{if(LS(t))return[...n.matchAll(t)];const e=t(n);return e?e.map(i=>{const r=[i.text];return r.index=i.index,r.input=n,r.data=i.data,i.replaceWith&&(i.text.includes(i.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),r.push(i.replaceWith)),r}):[]})(d.textBetween(f-h,p-h,void 0,"\ufffc"),o.find).forEach(y=>{if(void 0===y.index)return;const w=f+y.index+1,T=w+y[0].length,v={from:e.tr.mapping.map(w),to:e.tr.mapping.map(T)},N=o.handler({state:e,range:v,match:y,commands:s,chain:a,can:l});c.push(N)})}),c.every(d=>null!==d)}({editor:t,state:y,from:Math.max(p-1,0),to:m.b-1,rule:a})&&g.steps.length?g:void 0}}))}class gu{constructor(t,e){this.splittableMarks=[],this.editor=e,this.extensions=gu.resolve(t),this.schema=function A5(n,t){var e;const i=E5(n),{nodeExtensions:r,markExtensions:o}=Hb(n),s=null===(e=r.find(c=>He(c,"topNode")))||void 0===e?void 0:e.name,a=Object.fromEntries(r.map(c=>{const u=i.filter(y=>y.type===c.name),d={name:c.name,options:c.options,storage:c.storage,editor:t},f=O5({...n.reduce((y,w)=>{const T=He(w,"extendNodeSchema",d);return{...y,...T?T(c):{}}},{}),content:xt(He(c,"content",d)),marks:xt(He(c,"marks",d)),group:xt(He(c,"group",d)),inline:xt(He(c,"inline",d)),atom:xt(He(c,"atom",d)),selectable:xt(He(c,"selectable",d)),draggable:xt(He(c,"draggable",d)),code:xt(He(c,"code",d)),defining:xt(He(c,"defining",d)),isolating:xt(He(c,"isolating",d)),attrs:Object.fromEntries(u.map(y=>{var w;return[y.name,{default:null===(w=y?.attribute)||void 0===w?void 0:w.default}]}))}),p=xt(He(c,"parseHTML",d));p&&(f.parseDOM=p.map(y=>I5(y,u)));const m=He(c,"renderHTML",d);m&&(f.toDOM=y=>m({node:y,HTMLAttributes:NS(y,u)}));const g=He(c,"renderText",d);return g&&(f.toText=g),[c.name,f]})),l=Object.fromEntries(o.map(c=>{const u=i.filter(g=>g.type===c.name),d={name:c.name,options:c.options,storage:c.storage,editor:t},f=O5({...n.reduce((g,y)=>{const w=He(y,"extendMarkSchema",d);return{...g,...w?w(c):{}}},{}),inclusive:xt(He(c,"inclusive",d)),excludes:xt(He(c,"excludes",d)),group:xt(He(c,"group",d)),spanning:xt(He(c,"spanning",d)),code:xt(He(c,"code",d)),attrs:Object.fromEntries(u.map(g=>{var y;return[g.name,{default:null===(y=g?.attribute)||void 0===y?void 0:y.default}]}))}),p=xt(He(c,"parseHTML",d));p&&(f.parseDOM=p.map(g=>I5(g,u)));const m=He(c,"renderHTML",d);return m&&(f.toDOM=g=>m({mark:g,HTMLAttributes:NS(g,u)})),[c.name,f]}));return new ire({topNode:s,nodes:a,marks:l})}(this.extensions,e),this.extensions.forEach(i=>{var r;this.editor.extensionStorage[i.name]=i.storage;const o={name:i.name,options:i.options,storage:i.storage,editor:this.editor,type:PS(i.name,this.schema)};"mark"===i.type&&(null===(r=xt(He(i,"keepOnSplit",o)))||void 0===r||r)&&this.splittableMarks.push(i.name);const s=He(i,"onBeforeCreate",o);s&&this.editor.on("beforeCreate",s);const a=He(i,"onCreate",o);a&&this.editor.on("create",a);const l=He(i,"onUpdate",o);l&&this.editor.on("update",l);const c=He(i,"onSelectionUpdate",o);c&&this.editor.on("selectionUpdate",c);const u=He(i,"onTransaction",o);u&&this.editor.on("transaction",u);const d=He(i,"onFocus",o);d&&this.editor.on("focus",d);const h=He(i,"onBlur",o);h&&this.editor.on("blur",h);const f=He(i,"onDestroy",o);f&&this.editor.on("destroy",f)})}static resolve(t){const e=gu.sort(gu.flatten(t)),i=function xle(n){const t=n.filter((e,i)=>n.indexOf(e)!==i);return[...new Set(t)]}(e.map(r=>r.name));return i.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${i.map(r=>`'${r}'`).join(", ")}]. This can lead to issues.`),e}static flatten(t){return t.map(e=>{const r=He(e,"addExtensions",{name:e.name,options:e.options,storage:e.storage});return r?[e,...this.flatten(r())]:e}).flat(10)}static sort(t){return t.sort((i,r)=>{const o=He(i,"priority")||100,s=He(r,"priority")||100;return o>s?-1:o{const r=He(e,"addCommands",{name:e.name,options:e.options,storage:e.storage,editor:this.editor,type:PS(e.name,this.schema)});return r?{...t,...r()}:t},{})}get plugins(){const{editor:t}=this,e=gu.sort([...this.extensions].reverse()),i=[],r=[],o=e.map(s=>{const a={name:s.name,options:s.options,storage:s.storage,editor:t,type:PS(s.name,this.schema)},l=[],c=He(s,"addKeyboardShortcuts",a);let u={};if("mark"===s.type&&s.config.exitable&&(u.ArrowRight=()=>Pr.handleExit({editor:t,mark:s})),c){const m=Object.fromEntries(Object.entries(c()).map(([g,y])=>[g,()=>y({editor:t})]));u={...u,...m}}const d=function qae(n){return new Kt({props:{handleKeyDown:MS(n)}})}(u);l.push(d);const h=He(s,"addInputRules",a);k5(s,t.options.enableInputRules)&&h&&i.push(...h());const f=He(s,"addPasteRules",a);k5(s,t.options.enablePasteRules)&&f&&r.push(...f());const p=He(s,"addProseMirrorPlugins",a);if(p){const m=p();l.push(...m)}return l}).flat();return[Tle({editor:t,rules:i}),...Ele({editor:t,rules:r}),...o]}get attributes(){return E5(this.extensions)}get nodeViews(){const{editor:t}=this,{nodeExtensions:e}=Hb(this.extensions);return Object.fromEntries(e.filter(i=>!!He(i,"addNodeView")).map(i=>{const r=this.attributes.filter(l=>l.type===i.name),o={name:i.name,options:i.options,storage:i.storage,editor:t,type:Ui(i.name,this.schema)},s=He(i,"addNodeView",o);return s?[i.name,(l,c,u,d)=>{const h=NS(l,r);return s()({editor:t,node:l,getPos:u,decorations:d,HTMLAttributes:h,extension:i})}]:[]}))}}function jS(n){return"Object"===function Ile(n){return Object.prototype.toString.call(n).slice(8,-1)}(n)&&n.constructor===Object&&Object.getPrototypeOf(n)===Object.prototype}function $b(n,t){const e={...n};return jS(n)&&jS(t)&&Object.keys(t).forEach(i=>{jS(t[i])?i in n?e[i]=$b(n[i],t[i]):Object.assign(e,{[i]:t[i]}):Object.assign(e,{[i]:t[i]})}),e}class Sn{constructor(t={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=xt(He(this,"addOptions",{name:this.name}))),this.storage=xt(He(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new Sn(t)}configure(t={}){const e=this.extend();return e.options=$b(this.options,t),e.storage=xt(He(e,"addStorage",{name:e.name,options:e.options})),e}extend(t={}){const e=new Sn(t);return e.parent=this,this.child=e,e.name=t.name?t.name:e.parent.name,t.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${e.name}".`),e.options=xt(He(e,"addOptions",{name:e.name})),e.storage=xt(He(e,"addStorage",{name:e.name,options:e.options})),e}}function N5(n,t,e){const{from:i,to:r}=t,{blockSeparator:o="\n\n",textSerializers:s={}}=e||{};let a="",l=!0;return n.nodesBetween(i,r,(c,u,d,h)=>{var f;const p=s?.[c.type.name];p?(c.isBlock&&!l&&(a+=o,l=!0),d&&(a+=p({node:c,pos:u,parent:d,index:h,range:t}))):c.isText?(a+=null===(f=c?.text)||void 0===f?void 0:f.slice(Math.max(i,u)-u,r-u),l=!1):c.isBlock&&!l&&(a+=o,l=!0)}),a}function zS(n){return Object.fromEntries(Object.entries(n.nodes).filter(([,t])=>t.spec.toText).map(([t,e])=>[t,e.spec.toText]))}const Ole=Sn.create({name:"clipboardTextSerializer",addProseMirrorPlugins(){return[new Kt({key:new an("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:n}=this,{state:t,schema:e}=n,{doc:i,selection:r}=t,{ranges:o}=r;return N5(i,{from:Math.min(...o.map(u=>u.$from.pos)),to:Math.max(...o.map(u=>u.$to.pos))},{textSerializers:zS(e)})}}})]}});function Wb(n,t,e={strict:!0}){const i=Object.keys(t);return!i.length||i.every(r=>e.strict?t[r]===n[r]:LS(t[r])?t[r].test(n[r]):t[r]===n[r])}function VS(n,t,e={}){return n.find(i=>i.type===t&&Wb(i.attrs,e))}function Ule(n,t,e={}){return!!VS(n,t,e)}function BS(n,t,e={}){if(!n||!t)return;let i=n.parent.childAfter(n.parentOffset);if(n.parentOffset===i.offset&&0!==i.offset&&(i=n.parent.childBefore(n.parentOffset)),!i.node)return;const r=VS([...i.node.marks],t,e);if(!r)return;let o=i.index,s=n.start()+i.offset,a=o+1,l=s+i.node.nodeSize;for(VS([...i.node.marks],t,e);o>0&&r.isInSet(n.parent.child(o-1).marks);)o-=1,s-=n.parent.child(o).nodeSize;for(;a${n}`;return(new window.DOMParser).parseFromString(t,"text/html").body}function qb(n,t,e){if(e={slice:!0,parseOptions:{},...e},"object"==typeof n&&null!==n)try{return Array.isArray(n)&&n.length>0?he.fromArray(n.map(i=>t.nodeFromJSON(i))):t.nodeFromJSON(n)}catch(i){return console.warn("[tiptap warn]: Invalid content.","Passed value:",n,"Error:",i),qb("",t,e)}if("string"==typeof n){const i=Th.fromSchema(t);return e.slice?i.parseSlice(US(n),e.parseOptions).content:i.parse(US(n),e.parseOptions)}return qb("",t,e)}function L5(){return typeof navigator<"u"&&/Mac/.test(navigator.platform)}function fg(n,t,e={}){const{from:i,to:r,empty:o}=n.selection,s=t?Ui(t,n.schema):null,a=[];n.doc.nodesBetween(i,r,(d,h)=>{if(d.isText)return;const f=Math.max(i,h),p=Math.min(r,h+d.nodeSize);a.push({node:d,from:f,to:p})});const l=r-i,c=a.filter(d=>!s||s.name===d.node.type.name).filter(d=>Wb(d.node.attrs,e,{strict:!1}));return o?!!c.length:c.reduce((d,h)=>d+h.to-h.from,0)>=l}function Kb(n,t){return t.nodes[n]?"node":t.marks[n]?"mark":null}function R5(n,t){const e="string"==typeof t?[t]:t;return Object.keys(n).reduce((i,r)=>(e.includes(r)||(i[r]=n[r]),i),{})}function F5(n,t,e={}){return qb(n,t,{slice:!1,parseOptions:e})}function j5(n,t){for(let e=n.depth;e>0;e-=1){const i=n.node(e);if(t(i))return{pos:e>0?n.before(e):0,start:n.start(e),depth:e,node:i}}}function HS(n){return t=>j5(t.$from,n)}function Qb(n,t){const e=Gl(t,n.schema),{from:i,to:r,empty:o}=n.selection,s=[];o?(n.storedMarks&&s.push(...n.storedMarks),s.push(...n.selection.$head.marks())):n.doc.nodesBetween(i,r,l=>{s.push(...l.marks)});const a=s.find(l=>l.type.name===e.name);return a?{...a.attrs}:{}}function B5(n,t){const e=Kb("string"==typeof t?t:t.name,n.schema);return"node"===e?function vce(n,t){const e=Ui(t,n.schema),{from:i,to:r}=n.selection,o=[];n.doc.nodesBetween(i,r,a=>{o.push(a)});const s=o.reverse().find(a=>a.type.name===e.name);return s?{...s.attrs}:{}}(n,t):"mark"===e?Qb(n,t):{}}function Zb(n,t,e){const i=[];return n===t?e.resolve(n).marks().forEach(r=>{const s=BS(e.resolve(n-1),r.type);s&&i.push({mark:r,...s})}):e.nodesBetween(n,t,(r,o)=>{i.push(...r.marks.map(s=>({from:o,to:o+r.nodeSize,mark:s})))}),i}function Jb(n,t,e){return Object.fromEntries(Object.entries(e).filter(([i])=>{const r=n.find(o=>o.type===t&&o.name===i);return!!r&&r.attribute.keepOnSplit}))}function WS(n,t,e={}){const{empty:i,ranges:r}=n.selection,o=t?Gl(t,n.schema):null;if(i)return!!(n.storedMarks||n.selection.$from.marks()).filter(d=>!o||o.name===d.type.name).find(d=>Wb(d.attrs,e,{strict:!1}));let s=0;const a=[];if(r.forEach(({$from:d,$to:h})=>{const f=d.pos,p=h.pos;n.doc.nodesBetween(f,p,(m,g)=>{if(!m.isText&&!m.marks.length)return;const y=Math.max(f,g),w=Math.min(p,g+m.nodeSize);s+=w-y,a.push(...m.marks.map(v=>({mark:v,from:y,to:w})))})}),0===s)return!1;const l=a.filter(d=>!o||o.name===d.mark.type.name).filter(d=>Wb(d.mark.attrs,e,{strict:!1})).reduce((d,h)=>d+h.to-h.from,0),c=a.filter(d=>!o||d.mark.type!==o&&d.mark.type.excludes(o)).reduce((d,h)=>d+h.to-h.from,0);return(l>0?l+c:l)>=s}function U5(n,t){const{nodeExtensions:e}=Hb(t),i=e.find(s=>s.name===n);if(!i)return!1;const o=xt(He(i,"group",{name:i.name,options:i.options,storage:i.storage}));return"string"==typeof o&&o.split(" ").includes("list")}function yu(n,t,e){const r=n.state.doc.content.size,o=Ga(t,0,r),s=Ga(e,0,r),a=n.coordsAtPos(o),l=n.coordsAtPos(s,-1),c=Math.min(a.top,l.top),u=Math.max(a.bottom,l.bottom),d=Math.min(a.left,l.left),h=Math.max(a.right,l.right),y={top:c,bottom:u,left:d,right:h,width:h-d,height:u-c,x:d,y:c};return{...y,toJSON:()=>y}}function H5(n,t){const e=n.storedMarks||n.selection.$to.parentOffset&&n.selection.$from.marks();if(e){const i=e.filter(r=>t?.includes(r.type.name));n.tr.ensureMarks(i)}}const GS=(n,t)=>{const e=HS(s=>s.type===t)(n.selection);if(!e)return!0;const i=n.doc.resolve(Math.max(0,e.pos-1)).before(e.depth);if(void 0===i)return!0;const r=n.doc.nodeAt(i);return e.node.type===r?.type&&Al(n.doc,e.pos)&&n.join(e.pos),!0},YS=(n,t)=>{const e=HS(s=>s.type===t)(n.selection);if(!e)return!0;const i=n.doc.resolve(e.start).after(e.depth);if(void 0===i)return!0;const r=n.doc.nodeAt(i);return e.node.type===r?.type&&Al(n.doc,i)&&n.join(i),!0};var Rce=Object.freeze({__proto__:null,blur:()=>({editor:n,view:t})=>(requestAnimationFrame(()=>{var e;n.isDestroyed||(t.dom.blur(),null===(e=window?.getSelection())||void 0===e||e.removeAllRanges())}),!0),clearContent:(n=!1)=>({commands:t})=>t.setContent("",n),clearNodes:()=>({state:n,tr:t,dispatch:e})=>{const{selection:i}=t,{ranges:r}=i;return e&&r.forEach(({$from:o,$to:s})=>{n.doc.nodesBetween(o.pos,s.pos,(a,l)=>{if(a.type.isText)return;const{doc:c,mapping:u}=t,d=c.resolve(u.map(l)),h=c.resolve(u.map(l+a.nodeSize)),f=d.blockRange(h);if(!f)return;const p=Sh(f);if(a.type.isTextblock){const{defaultType:m}=d.parent.contentMatchAt(d.index());t.setNodeMarkup(f.start,m)}(p||0===p)&&t.lift(f,p)})}),!0},command:n=>t=>n(t),createParagraphNear:()=>({state:n,dispatch:t})=>_5(n,t),deleteCurrentNode:()=>({tr:n,dispatch:t})=>{const{selection:e}=n,i=e.$anchor.node();if(i.content.size>0)return!1;const r=n.selection.$anchor;for(let o=r.depth;o>0;o-=1)if(r.node(o).type===i.type){if(t){const a=r.before(o),l=r.after(o);n.delete(a,l).scrollIntoView()}return!0}return!1},deleteNode:n=>({tr:t,state:e,dispatch:i})=>{const r=Ui(n,e.schema),o=t.selection.$anchor;for(let s=o.depth;s>0;s-=1)if(o.node(s).type===r){if(i){const l=o.before(s),c=o.after(s);t.delete(l,c).scrollIntoView()}return!0}return!1},deleteRange:n=>({tr:t,dispatch:e})=>{const{from:i,to:r}=n;return e&&t.delete(i,r),!0},deleteSelection:()=>({state:n,dispatch:t})=>SS(n,t),enter:()=>({commands:n})=>n.keyboardShortcut("Enter"),exitCode:()=>({state:n,dispatch:t})=>y5(n,t),extendMarkRange:(n,t={})=>({tr:e,state:i,dispatch:r})=>{const o=Gl(n,i.schema),{doc:s,selection:a}=e,{$from:l,from:c,to:u}=a;if(r){const d=BS(l,o,t);if(d&&d.from<=c&&d.to>=u){const h=at.create(s,d.from,d.to);e.setSelection(h)}}return!0},first:n=>t=>{const e="function"==typeof n?n(t):n;for(let i=0;i({editor:e,view:i,tr:r,dispatch:o})=>{t={scrollIntoView:!0,...t};const s=()=>{Yb()&&i.dom.focus(),requestAnimationFrame(()=>{e.isDestroyed||(i.focus(),t?.scrollIntoView&&e.commands.scrollIntoView())})};if(i.hasFocus()&&null===n||!1===n)return!0;if(o&&null===n&&!Gb(e.state.selection))return s(),!0;const a=P5(r.doc,n)||e.state.selection,l=e.state.selection.eq(a);return o&&(l||r.setSelection(a),l&&r.storedMarks&&r.setStoredMarks(r.storedMarks),s()),!0},forEach:(n,t)=>e=>n.every((i,r)=>t(i,{...e,index:r})),insertContent:(n,t)=>({tr:e,commands:i})=>i.insertContentAt({from:e.selection.from,to:e.selection.to},n,t),insertContentAt:(n,t,e)=>({tr:i,dispatch:r,editor:o})=>{if(r){e={parseOptions:{},updateSelection:!0,...e};const s=qb(t,o.schema,{parseOptions:{preserveWhitespace:"full",...e.parseOptions}});if("<>"===s.toString())return!0;let{from:a,to:l}="number"==typeof n?{from:n,to:n}:n,c=!0,u=!0;if(((n=>n.toString().startsWith("<"))(s)?s:[s]).forEach(h=>{h.check(),c=!!c&&h.isText&&0===h.marks.length,u=!!u&&h.isBlock}),a===l&&u){const{parent:h}=i.doc.resolve(a);h.isTextblock&&!h.type.spec.code&&!h.childCount&&(a-=1,l+=1)}c?Array.isArray(t)?i.insertText(t.map(h=>h.text||"").join(""),a,l):i.insertText("object"==typeof t&&t&&t.text?t.text:t,a,l):i.replaceWith(a,l,s),e.updateSelection&&function qle(n,t,e){const i=n.steps.length-1;if(i{0===s&&(s=u)}),n.setSelection(ct.near(n.doc.resolve(s),e))}(i,i.steps.length-1,-1)}return!0},joinUp:()=>({state:n,dispatch:t})=>((n,t)=>{let r,e=n.selection,i=e instanceof Qe;if(i){if(e.node.isTextblock||!Al(n.doc,e.from))return!1;r=e.from}else if(r=$j(n.doc,e.from,-1),null==r)return!1;if(t){let o=n.tr.join(r);i&&o.setSelection(Qe.create(o.doc,r-n.doc.resolve(r).nodeBefore.nodeSize)),t(o.scrollIntoView())}return!0})(n,t),joinDown:()=>({state:n,dispatch:t})=>((n,t)=>{let i,e=n.selection;if(e instanceof Qe){if(e.node.isTextblock||!Al(n.doc,e.to))return!1;i=e.to}else if(i=$j(n.doc,e.to,1),null==i)return!1;return t&&t(n.tr.join(i).scrollIntoView()),!0})(n,t),joinBackward:()=>({state:n,dispatch:t})=>u5(n,t),joinForward:()=>({state:n,dispatch:t})=>p5(n,t),keyboardShortcut:n=>({editor:t,view:e,tr:i,dispatch:r})=>{const o=function tce(n){const t=n.split(/-(?!$)/);let i,r,o,s,e=t[t.length-1];"Space"===e&&(e=" ");for(let a=0;a!["Alt","Ctrl","Meta","Shift"].includes(c)),a=new KeyboardEvent("keydown",{key:"Space"===s?" ":s,altKey:o.includes("Alt"),ctrlKey:o.includes("Ctrl"),metaKey:o.includes("Meta"),shiftKey:o.includes("Shift"),bubbles:!0,cancelable:!0});return t.captureTransaction(()=>{e.someProp("handleKeyDown",c=>c(e,a))})?.steps.forEach(c=>{const u=c.map(i.mapping);u&&r&&i.maybeStep(u)}),!0},lift:(n,t={})=>({state:e,dispatch:i})=>!!fg(e,Ui(n,e.schema),t)&&((n,t)=>{let{$from:e,$to:i}=n.selection,r=e.blockRange(i),o=r&&Sh(r);return null!=o&&(t&&t(n.tr.lift(r,o).scrollIntoView()),!0)})(e,i),liftEmptyBlock:()=>({state:n,dispatch:t})=>v5(n,t),liftListItem:n=>({state:t,dispatch:e})=>function ple(n){return function(t,e){let{$from:i,$to:r}=t.selection,o=i.blockRange(r,s=>s.childCount>0&&s.firstChild.type==n);return!!o&&(!e||(i.node(o.depth-1).type==n?function mle(n,t,e,i){let r=n.tr,o=i.end,s=i.$to.end(i.depth);om;p--)f-=r.child(p).nodeSize,i.delete(f-1,f+1);let o=i.doc.resolve(e.start),s=o.nodeAfter;if(i.mapping.map(e.end)!=e.start+o.nodeAfter.nodeSize)return!1;let a=0==e.startIndex,l=e.endIndex==r.childCount,c=o.node(-1),u=o.index(-1);if(!c.canReplace(u+(a?0:1),u+1,s.content.append(l?he.empty:he.from(r))))return!1;let d=o.pos,h=d+s.nodeSize;return i.step(new Bi(d-(a?1:0),h+(l?1:0),d+1,h-1,new Te((a?he.empty:he.from(r.copy(he.empty))).append(l?he.empty:he.from(r.copy(he.empty))),a?0:1,l?0:1),a?0:1)),t(i.scrollIntoView()),!0}(t,e,o)))}}(Ui(n,t.schema))(t,e),newlineInCode:()=>({state:n,dispatch:t})=>g5(n,t),resetAttributes:(n,t)=>({tr:e,state:i,dispatch:r})=>{let o=null,s=null;const a=Kb("string"==typeof n?n:n.name,i.schema);return!!a&&("node"===a&&(o=Ui(n,i.schema)),"mark"===a&&(s=Gl(n,i.schema)),r&&e.selection.ranges.forEach(l=>{i.doc.nodesBetween(l.$from.pos,l.$to.pos,(c,u)=>{o&&o===c.type&&e.setNodeMarkup(u,void 0,R5(c.attrs,t)),s&&c.marks.length&&c.marks.forEach(d=>{s===d.type&&e.addMark(u,u+c.nodeSize,s.create(R5(d.attrs,t)))})})}),!0)},scrollIntoView:()=>({tr:n,dispatch:t})=>(t&&n.scrollIntoView(),!0),selectAll:()=>({tr:n,commands:t})=>t.setTextSelection({from:0,to:n.doc.content.size}),selectNodeBackward:()=>({state:n,dispatch:t})=>h5(n,t),selectNodeForward:()=>({state:n,dispatch:t})=>m5(n,t),selectParentNode:()=>({state:n,dispatch:t})=>((n,t)=>{let r,{$from:e,to:i}=n.selection,o=e.sharedDepth(i);return 0!=o&&(r=e.before(o),t&&t(n.tr.setSelection(Qe.create(n.doc,r))),!0)})(n,t),selectTextblockEnd:()=>({state:n,dispatch:t})=>D5(n,t),selectTextblockStart:()=>({state:n,dispatch:t})=>T5(n,t),setContent:(n,t=!1,e={})=>({tr:i,editor:r,dispatch:o})=>{const{doc:s}=i,a=F5(n,r.schema,e);return o&&i.replaceWith(0,s.content.size,a).setMeta("preventUpdate",!t),!0},setMark:(n,t={})=>({tr:e,state:i,dispatch:r})=>{const{selection:o}=e,{empty:s,ranges:a}=o,l=Gl(n,i.schema);if(r)if(s){const c=Qb(i,l);e.addStoredMark(l.create({...c,...t}))}else a.forEach(c=>{const u=c.$from.pos,d=c.$to.pos;i.doc.nodesBetween(u,d,(h,f)=>{const p=Math.max(f,u),m=Math.min(f+h.nodeSize,d);h.marks.find(y=>y.type===l)?h.marks.forEach(y=>{l===y.type&&e.addMark(p,m,l.create({...y.attrs,...t}))}):e.addMark(p,m,l.create(t))})});return function Ece(n,t,e){var i;const{selection:r}=t;let o=null;if(Gb(r)&&(o=r.$cursor),o){const a=null!==(i=n.storedMarks)&&void 0!==i?i:o.marks();return!!e.isInSet(a)||!a.some(l=>l.type.excludes(e))}const{ranges:s}=r;return s.some(({$from:a,$to:l})=>{let c=0===a.depth&&n.doc.inlineContent&&n.doc.type.allowsMarkType(e);return n.doc.nodesBetween(a.pos,l.pos,(u,d,h)=>{if(c)return!1;if(u.isInline){const f=!h||h.type.allowsMarkType(e),p=!!e.isInSet(u.marks)||!u.marks.some(m=>m.type.excludes(e));c=f&&p}return!c}),c})}(i,e,l)},setMeta:(n,t)=>({tr:e})=>(e.setMeta(n,t),!0),setNode:(n,t={})=>({state:e,dispatch:i,chain:r})=>{const o=Ui(n,e.schema);return o.isTextblock?r().command(({commands:s})=>!!M5(o,t)(e)||s.clearNodes()).command(({state:s})=>M5(o,t)(s,i)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},setNodeSelection:n=>({tr:t,dispatch:e})=>{if(e){const{doc:i}=t,r=Ga(n,0,i.content.size),o=Qe.create(i,r);t.setSelection(o)}return!0},setTextSelection:n=>({tr:t,dispatch:e})=>{if(e){const{doc:i}=t,{from:r,to:o}="number"==typeof n?{from:n,to:n}:n,s=at.atStart(i).from,a=at.atEnd(i).to,l=Ga(r,s,a),c=Ga(o,s,a),u=at.create(i,l,c);t.setSelection(u)}return!0},sinkListItem:n=>({state:t,dispatch:e})=>function yle(n){return function(t,e){let{$from:i,$to:r}=t.selection,o=i.blockRange(r,c=>c.childCount>0&&c.firstChild.type==n);if(!o)return!1;let s=o.startIndex;if(0==s)return!1;let a=o.parent,l=a.child(s-1);if(l.type!=n)return!1;if(e){let c=l.lastChild&&l.lastChild.type==a.type,u=he.from(c?n.create():null),d=new Te(he.from(n.create(null,he.from(a.type.create(null,u)))),c?3:1,0),h=o.start,f=o.end;e(t.tr.step(new Bi(h-(c?3:1),f,h,f,d,1,!0)).scrollIntoView())}return!0}}(Ui(n,t.schema))(t,e),splitBlock:({keepMarks:n=!0}={})=>({tr:t,state:e,dispatch:i,editor:r})=>{const{selection:o,doc:s}=t,{$from:a,$to:l}=o,u=Jb(r.extensionManager.attributes,a.node().type.name,a.node().attrs);if(o instanceof Qe&&o.node.isBlock)return!(!a.parentOffset||!Ua(s,a.pos)||(i&&(n&&H5(e,r.extensionManager.splittableMarks),t.split(a.pos).scrollIntoView()),0));if(!a.parent.isBlock)return!1;if(i){const d=l.parentOffset===l.parent.content.size;o instanceof at&&t.deleteSelection();const h=0===a.depth?void 0:function yce(n){for(let t=0;t({tr:t,state:e,dispatch:i,editor:r})=>{var o;const s=Ui(n,e.schema),{$from:a,$to:l}=e.selection,c=e.selection.node;if(c&&c.isBlock||a.depth<2||!a.sameParent(l))return!1;const u=a.node(-1);if(u.type!==s)return!1;const d=r.extensionManager.attributes;if(0===a.parent.content.size&&a.node(-1).childCount===a.indexAfter(-1)){if(2===a.depth||a.node(-3).type!==s||a.index(-2)!==a.node(-2).childCount-1)return!1;if(i){let g=he.empty;const y=a.index(-1)?1:a.index(-2)?2:3;for(let ae=a.depth-y;ae>=a.depth-3;ae-=1)g=he.from(a.node(ae).copy(g));const w=a.indexAfter(-1){if(x>-1)return!1;ae.isTextblock&&0===ae.content.size&&(x=Z+1)}),x>-1&&t.setSelection(at.near(t.doc.resolve(x))),t.scrollIntoView()}return!0}const h=l.pos===a.end()?u.contentMatchAt(0).defaultType:null,f=Jb(d,u.type.name,u.attrs),p=Jb(d,a.node().type.name,a.node().attrs);t.delete(a.pos,l.pos);const m=h?[{type:s,attrs:f},{type:h,attrs:p}]:[{type:s,attrs:f}];if(!Ua(t.doc,a.pos,2))return!1;if(i){const{selection:g,storedMarks:y}=e,{splittableMarks:w}=r.extensionManager,T=y||g.$to.parentOffset&&g.$from.marks();if(t.split(a.pos,2,m).scrollIntoView(),!T||!i)return!0;const v=T.filter(N=>w.includes(N.type.name));t.ensureMarks(v)}return!0},toggleList:(n,t,e,i={})=>({editor:r,tr:o,state:s,dispatch:a,chain:l,commands:c,can:u})=>{const{extensions:d,splittableMarks:h}=r.extensionManager,f=Ui(n,s.schema),p=Ui(t,s.schema),{selection:m,storedMarks:g}=s,{$from:y,$to:w}=m,T=y.blockRange(w),v=g||m.$to.parentOffset&&m.$from.marks();if(!T)return!1;const N=HS(x=>U5(x.type.name,d))(m);if(T.depth>=1&&N&&T.depth-N.depth<=1){if(N.node.type===f)return c.liftListItem(p);if(U5(N.node.type.name,d)&&f.validContent(N.node.content)&&a)return l().command(()=>(o.setNodeMarkup(N.pos,f),!0)).command(()=>GS(o,f)).command(()=>YS(o,f)).run()}return e&&v&&a?l().command(()=>{const x=u().wrapInList(f,i),ae=v.filter(Z=>h.includes(Z.type.name));return o.ensureMarks(ae),!!x||c.clearNodes()}).wrapInList(f,i).command(()=>GS(o,f)).command(()=>YS(o,f)).run():l().command(()=>!!u().wrapInList(f,i)||c.clearNodes()).wrapInList(f,i).command(()=>GS(o,f)).command(()=>YS(o,f)).run()},toggleMark:(n,t={},e={})=>({state:i,commands:r})=>{const{extendEmptyMarkRange:o=!1}=e,s=Gl(n,i.schema);return WS(i,s,t)?r.unsetMark(s,{extendEmptyMarkRange:o}):r.setMark(s,t)},toggleNode:(n,t,e={})=>({state:i,commands:r})=>{const o=Ui(n,i.schema),s=Ui(t,i.schema);return fg(i,o,e)?r.setNode(s):r.setNode(o,e)},toggleWrap:(n,t={})=>({state:e,commands:i})=>{const r=Ui(n,e.schema);return fg(e,r,t)?i.lift(r):i.wrapIn(r,t)},undoInputRule:()=>({state:n,dispatch:t})=>{const e=n.plugins;for(let i=0;i=0;l-=1)s.step(a.steps[l].invert(a.docs[l]));if(o.text){const l=s.doc.resolve(o.from).marks();s.replaceWith(o.from,o.to,n.schema.text(o.text,l))}else s.delete(o.from,o.to)}return!0}}return!1},unsetAllMarks:()=>({tr:n,dispatch:t})=>{const{selection:e}=n,{empty:i,ranges:r}=e;return i||t&&r.forEach(o=>{n.removeMark(o.$from.pos,o.$to.pos)}),!0},unsetMark:(n,t={})=>({tr:e,state:i,dispatch:r})=>{var o;const{extendEmptyMarkRange:s=!1}=t,{selection:a}=e,l=Gl(n,i.schema),{$from:c,empty:u,ranges:d}=a;if(!r)return!0;if(u&&s){let{from:h,to:f}=a;const p=null===(o=c.marks().find(g=>g.type===l))||void 0===o?void 0:o.attrs,m=BS(c,l,p);m&&(h=m.from,f=m.to),e.removeMark(h,f,l)}else d.forEach(h=>{e.removeMark(h.$from.pos,h.$to.pos,l)});return e.removeStoredMark(l),!0},updateAttributes:(n,t={})=>({tr:e,state:i,dispatch:r})=>{let o=null,s=null;const a=Kb("string"==typeof n?n:n.name,i.schema);return!!a&&("node"===a&&(o=Ui(n,i.schema)),"mark"===a&&(s=Gl(n,i.schema)),r&&e.selection.ranges.forEach(l=>{const c=l.$from.pos,u=l.$to.pos;i.doc.nodesBetween(c,u,(d,h)=>{o&&o===d.type&&e.setNodeMarkup(h,void 0,{...d.attrs,...t}),s&&d.marks.length&&d.marks.forEach(f=>{if(s===f.type){const p=Math.max(h,c),m=Math.min(h+d.nodeSize,u);e.addMark(p,m,s.create({...f.attrs,...t}))}})})}),!0)},wrapIn:(n,t={})=>({state:e,dispatch:i})=>function nle(n,t=null){return function(e,i){let{$from:r,$to:o}=e.selection,s=r.blockRange(o),a=s&&xM(s,n,t);return!!a&&(i&&i(e.tr.wrap(s,a).scrollIntoView()),!0)}}(Ui(n,e.schema),t)(e,i),wrapInList:(n,t={})=>({state:e,dispatch:i})=>function hle(n,t=null){return function(e,i){let{$from:r,$to:o}=e.selection,s=r.blockRange(o),a=!1,l=s;if(!s)return!1;if(s.depth>=2&&r.node(s.depth-1).type.compatibleContent(n)&&0==s.startIndex){if(0==r.index(s.depth-1))return!1;let u=e.doc.resolve(s.start-2);l=new pb(u,u,s.depth),s.endIndex=0;u--)o=he.from(e[u].type.create(e[u].attrs,o));n.step(new Bi(t.start-(i?2:0),t.end,t.start,t.end,new Te(o,0,0),e.length,!0));let s=0;for(let u=0;u({...Rce})}),jce=Sn.create({name:"editable",addProseMirrorPlugins(){return[new Kt({key:new an("editable"),props:{editable:()=>this.editor.options.editable}})]}}),zce=Sn.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:n}=this;return[new Kt({key:new an("focusEvents"),props:{handleDOMEvents:{focus:(t,e)=>{n.isFocused=!0;const i=n.state.tr.setMeta("focus",{event:e}).setMeta("addToHistory",!1);return t.dispatch(i),!1},blur:(t,e)=>{n.isFocused=!1;const i=n.state.tr.setMeta("blur",{event:e}).setMeta("addToHistory",!1);return t.dispatch(i),!1}}}})]}}),Vce=Sn.create({name:"keymap",addKeyboardShortcuts(){const n=()=>this.editor.commands.first(({commands:s})=>[()=>s.undoInputRule(),()=>s.command(({tr:a})=>{const{selection:l,doc:c}=a,{empty:u,$anchor:d}=l,{pos:h,parent:f}=d,p=ct.atStart(c).from===h;return!(!(u&&p&&f.type.isTextblock)||f.textContent.length)&&s.clearNodes()}),()=>s.deleteSelection(),()=>s.joinBackward(),()=>s.selectNodeBackward()]),t=()=>this.editor.commands.first(({commands:s})=>[()=>s.deleteSelection(),()=>s.deleteCurrentNode(),()=>s.joinForward(),()=>s.selectNodeForward()]),i={Enter:()=>this.editor.commands.first(({commands:s})=>[()=>s.newlineInCode(),()=>s.createParagraphNear(),()=>s.liftEmptyBlock(),()=>s.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:n,"Mod-Backspace":n,"Shift-Backspace":n,Delete:t,"Mod-Delete":t,"Mod-a":()=>this.editor.commands.selectAll()},r={...i},o={...i,"Ctrl-h":n,"Alt-Backspace":n,"Ctrl-d":t,"Ctrl-Alt-Backspace":t,"Alt-Delete":t,"Alt-d":t,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return Yb()||L5()?o:r},addProseMirrorPlugins(){return[new Kt({key:new an("clearDocument"),appendTransaction:(n,t,e)=>{if(!n.some(p=>p.docChanged)||t.doc.eq(e.doc))return;const{empty:r,from:o,to:s}=t.selection,a=ct.atStart(t.doc).from,l=ct.atEnd(t.doc).to;if(r||o!==a||s!==l||0!==e.doc.textBetween(0,e.doc.content.size," "," ").length)return;const d=e.tr,h=Bb({state:e,transaction:d}),{commands:f}=new Ub({editor:this.editor,state:h});return f.clearNodes(),d.steps.length?d:void 0}})]}}),Bce=Sn.create({name:"tabindex",addProseMirrorPlugins(){return[new Kt({key:new an("tabindex"),props:{attributes:this.editor.isEditable?{tabindex:"0"}:{}}})]}});var Uce=Object.freeze({__proto__:null,ClipboardTextSerializer:Ole,Commands:Fce,Editable:jce,FocusEvents:zce,Keymap:Vce,Tabindex:Bce});class Wce extends _le{constructor(t={}){super(),this.isFocused=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(t),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.createView(),this.injectCSS(),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),window.setTimeout(()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}))},0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&document&&(this.css=function $ce(n,t){const e=document.querySelector("style[data-tiptap-style]");if(null!==e)return e;const i=document.createElement("style");return t&&i.setAttribute("nonce",t),i.setAttribute("data-tiptap-style",""),i.innerHTML=n,document.getElementsByTagName("head")[0].appendChild(i),i}('.ProseMirror {\n position: relative;\n}\n\n.ProseMirror {\n word-wrap: break-word;\n white-space: pre-wrap;\n white-space: break-spaces;\n -webkit-font-variant-ligatures: none;\n font-variant-ligatures: none;\n font-feature-settings: "liga" 0; /* the above doesn\'t seem to work in Edge */\n}\n\n.ProseMirror [contenteditable="false"] {\n white-space: normal;\n}\n\n.ProseMirror [contenteditable="false"] [contenteditable="true"] {\n white-space: pre-wrap;\n}\n\n.ProseMirror pre {\n white-space: pre-wrap;\n}\n\nimg.ProseMirror-separator {\n display: inline !important;\n border: none !important;\n margin: 0 !important;\n width: 1px !important;\n height: 1px !important;\n}\n\n.ProseMirror-gapcursor {\n display: none;\n pointer-events: none;\n position: absolute;\n margin: 0;\n}\n\n.ProseMirror-gapcursor:after {\n content: "";\n display: block;\n position: absolute;\n top: -2px;\n width: 20px;\n border-top: 1px solid black;\n animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n}\n\n@keyframes ProseMirror-cursor-blink {\n to {\n visibility: hidden;\n }\n}\n\n.ProseMirror-hideselection *::selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection *::-moz-selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection * {\n caret-color: transparent;\n}\n\n.ProseMirror-focused .ProseMirror-gapcursor {\n display: block;\n}\n\n.tippy-box[data-animation=fade][data-state=hidden] {\n opacity: 0\n}',this.options.injectNonce))}setOptions(t={}){this.options={...this.options,...t},this.view&&this.state&&!this.isDestroyed&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(t,e=!0){this.setOptions({editable:t}),e&&this.emit("update",{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(t,e){const i=x5(e)?e(t,[...this.state.plugins]):[...this.state.plugins,t],r=this.state.reconfigure({plugins:i});this.view.updateState(r)}unregisterPlugin(t){if(this.isDestroyed)return;const e="string"==typeof t?`${t}$`:t.key,i=this.state.reconfigure({plugins:this.state.plugins.filter(r=>!r.key.startsWith(e))});this.view.updateState(i)}createExtensionManager(){const e=[...this.options.enableCoreExtensions?Object.values(Uce):[],...this.options.extensions].filter(i=>["extension","node","mark"].includes(i?.type));this.extensionManager=new gu(e,this)}createCommandManager(){this.commandManager=new Ub({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){const t=F5(this.options.content,this.schema,this.options.parseOptions),e=P5(t,this.options.autofocus);this.view=new zae(this.options.element,{...this.options.editorProps,dispatchTransaction:this.dispatchTransaction.bind(this),state:Oh.create({doc:t,selection:e||void 0})});const i=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(i),this.createNodeViews(),this.view.dom.editor=this}createNodeViews(){this.view.setProps({nodeViews:this.extensionManager.nodeViews})}captureTransaction(t){this.isCapturingTransaction=!0,t(),this.isCapturingTransaction=!1;const e=this.capturedTransaction;return this.capturedTransaction=null,e}dispatchTransaction(t){if(this.view.isDestroyed)return;if(this.isCapturingTransaction)return this.capturedTransaction?void t.steps.forEach(s=>{var a;return null===(a=this.capturedTransaction)||void 0===a?void 0:a.step(s)}):void(this.capturedTransaction=t);const e=this.state.apply(t),i=!this.state.selection.eq(e.selection);this.view.updateState(e),this.emit("transaction",{editor:this,transaction:t}),i&&this.emit("selectionUpdate",{editor:this,transaction:t});const r=t.getMeta("focus"),o=t.getMeta("blur");r&&this.emit("focus",{editor:this,event:r.event,transaction:t}),o&&this.emit("blur",{editor:this,event:o.event,transaction:t}),t.docChanged&&!t.getMeta("preventUpdate")&&this.emit("update",{editor:this,transaction:t})}getAttributes(t){return B5(this.state,t)}isActive(t,e){return function Dce(n,t,e={}){if(!t)return fg(n,null,e)||WS(n,null,e);const i=Kb(t,n.schema);return"node"===i?fg(n,t,e):"mark"===i&&WS(n,t,e)}(this.state,"string"==typeof t?t:null,"string"==typeof t?e:t)}getJSON(){return this.state.doc.toJSON()}getHTML(){return function z5(n,t){const e=$s.fromSchema(t).serializeFragment(n),r=document.implementation.createHTMLDocument().createElement("div");return r.appendChild(e),r.innerHTML}(this.state.doc.content,this.schema)}getText(t){const{blockSeparator:e="\n\n",textSerializers:i={}}=t||{};return function V5(n,t){return N5(n,{from:0,to:n.content.size},t)}(this.state.doc,{blockSeparator:e,textSerializers:{...zS(this.schema),...i}})}get isEmpty(){return function Mce(n){var t;const e=null===(t=n.type.createAndFill())||void 0===t?void 0:t.toJSON(),i=n.toJSON();return JSON.stringify(e)===JSON.stringify(i)}(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){this.emit("destroy"),this.view&&this.view.destroy(),this.removeAllListeners()}get isDestroyed(){var t;return!(null!==(t=this.view)&&void 0!==t&&t.docView)}}function _u(n){return new hg({find:n.find,handler:({state:t,range:e,match:i})=>{const r=xt(n.getAttributes,void 0,i);if(!1===r||null===r)return null;const{tr:o}=t,s=i[i.length-1],a=i[0];let l=e.to;if(s){const c=a.search(/\S/),u=e.from+a.indexOf(s),d=u+s.length;if(Zb(e.from,e.to,t.doc).filter(f=>f.mark.type.excluded.find(m=>m===n.type&&m!==f.mark.type)).filter(f=>f.to>u).length)return null;de.from&&o.delete(e.from+c,u),l=e.from+c+s.length,o.addMark(e.from+c,l,n.type.create(r||{})),o.removeStoredMark(n.type)}}})}function $5(n){return new hg({find:n.find,handler:({state:t,range:e,match:i})=>{const r=xt(n.getAttributes,void 0,i)||{},{tr:o}=t,s=e.from;let a=e.to;if(i[1]){let c=s+i[0].lastIndexOf(i[1]);c>a?c=a:a=c+i[1].length,o.insertText(i[0][i[0].length-1],s+i[0].length-1),o.replaceWith(c,a,n.type.create(r))}else i[0]&&o.replaceWith(s,a,n.type.create(r))}})}function qS(n){return new hg({find:n.find,handler:({state:t,range:e,match:i})=>{const r=t.doc.resolve(e.from),o=xt(n.getAttributes,void 0,i)||{};if(!r.node(-1).canReplaceWith(r.index(-1),r.indexAfter(-1),n.type))return null;t.tr.delete(e.from,e.to).setBlockType(e.from,e.from,n.type,o)}})}function pg(n){return new hg({find:n.find,handler:({state:t,range:e,match:i,chain:r})=>{const o=xt(n.getAttributes,void 0,i)||{},s=t.tr.delete(e.from,e.to),l=s.doc.resolve(e.from).blockRange(),c=l&&xM(l,n.type,o);if(!c)return null;if(s.wrap(l,c),n.keepMarks&&n.editor){const{selection:d,storedMarks:h}=t,{splittableMarks:f}=n.editor.extensionManager,p=h||d.$to.parentOffset&&d.$from.marks();if(p){const m=p.filter(g=>f.includes(g.type.name));s.ensureMarks(m)}}if(n.keepAttributes){const d="bulletList"===n.type.name||"orderedList"===n.type.name?"listItem":"taskList";r().updateAttributes(d,o).run()}const u=s.doc.resolve(e.from-1).nodeBefore;u&&u.type===n.type&&Al(s.doc,e.from-1)&&(!n.joinPredicate||n.joinPredicate(i,u))&&s.join(e.from-1)}})}class Pr{constructor(t={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=xt(He(this,"addOptions",{name:this.name}))),this.storage=xt(He(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new Pr(t)}configure(t={}){const e=this.extend();return e.options=$b(this.options,t),e.storage=xt(He(e,"addStorage",{name:e.name,options:e.options})),e}extend(t={}){const e=new Pr(t);return e.parent=this,this.child=e,e.name=t.name?t.name:e.parent.name,t.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${e.name}".`),e.options=xt(He(e,"addOptions",{name:e.name})),e.storage=xt(He(e,"addStorage",{name:e.name,options:e.options})),e}static handleExit({editor:t,mark:e}){const{tr:i}=t.state,r=t.state.selection.$from;if(r.pos===r.end()){const s=r.marks();if(!s.find(c=>c?.type.name===e.name))return!1;const l=s.find(c=>c?.type.name===e.name);return l&&i.removeStoredMark(l),i.insertText(" ",r.pos),t.view.dispatch(i),!0}return!1}}class Bn{constructor(t={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=xt(He(this,"addOptions",{name:this.name}))),this.storage=xt(He(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new Bn(t)}configure(t={}){const e=this.extend();return e.options=$b(this.options,t),e.storage=xt(He(e,"addStorage",{name:e.name,options:e.options})),e}extend(t={}){const e=new Bn(t);return e.parent=this,this.child=e,e.name=t.name?t.name:e.parent.name,t.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${e.name}".`),e.options=xt(He(e,"addOptions",{name:e.name})),e.storage=xt(He(e,"addStorage",{name:e.name,options:e.options})),e}}class Gce{constructor(t,e,i){this.isDragging=!1,this.component=t,this.editor=e.editor,this.options={stopEvent:null,ignoreMutation:null,...i},this.extension=e.extension,this.node=e.node,this.decorations=e.decorations,this.getPos=e.getPos,this.mount()}mount(){}get dom(){return this.editor.view.dom}get contentDOM(){return null}onDragStart(t){var e,i,r,o,s,a,l;const{view:c}=this.editor,u=t.target,d=3===u.nodeType?null===(e=u.parentElement)||void 0===e?void 0:e.closest("[data-drag-handle]"):u.closest("[data-drag-handle]");if(!this.dom||null!==(i=this.contentDOM)&&void 0!==i&&i.contains(u)||!d)return;let h=0,f=0;if(this.dom!==d){const g=this.dom.getBoundingClientRect(),y=d.getBoundingClientRect(),w=null!==(r=t.offsetX)&&void 0!==r?r:null===(o=t.nativeEvent)||void 0===o?void 0:o.offsetX,T=null!==(s=t.offsetY)&&void 0!==s?s:null===(a=t.nativeEvent)||void 0===a?void 0:a.offsetY;h=y.x-g.x+w,f=y.y-g.y+T}null===(l=t.dataTransfer)||void 0===l||l.setDragImage(this.dom,h,f);const p=Qe.create(c.state.doc,this.getPos()),m=c.state.tr.setSelection(p);c.dispatch(m)}stopEvent(t){var e;if(!this.dom)return!1;if("function"==typeof this.options.stopEvent)return this.options.stopEvent({event:t});const i=t.target;if(!this.dom.contains(i)||null!==(e=this.contentDOM)&&void 0!==e&&e.contains(i))return!1;const o=t.type.startsWith("drag"),s="drop"===t.type;if((["INPUT","BUTTON","SELECT","TEXTAREA"].includes(i.tagName)||i.isContentEditable)&&!s&&!o)return!0;const{isEditable:l}=this.editor,{isDragging:c}=this,u=!!this.node.type.spec.draggable,d=Qe.isSelectable(this.node),h="copy"===t.type,f="paste"===t.type,p="cut"===t.type,m="mousedown"===t.type;if(!u&&d&&o&&t.preventDefault(),u&&o&&!c)return t.preventDefault(),!1;if(u&&l&&!c&&m){const g=i.closest("[data-drag-handle]");g&&(this.dom===g||this.dom.contains(g))&&(this.isDragging=!0,document.addEventListener("dragend",()=>{this.isDragging=!1},{once:!0}),document.addEventListener("drop",()=>{this.isDragging=!1},{once:!0}),document.addEventListener("mouseup",()=>{this.isDragging=!1},{once:!0}))}return!(c||s||h||f||p||m&&d)}ignoreMutation(t){return!this.dom||!this.contentDOM||("function"==typeof this.options.ignoreMutation?this.options.ignoreMutation({mutation:t}):!(!this.node.isLeaf&&!this.node.isAtom&&("selection"===t.type||this.dom.contains(t.target)&&"childList"===t.type&&Yb()&&this.editor.isFocused&&[...Array.from(t.addedNodes),...Array.from(t.removedNodes)].every(i=>i.isContentEditable)||(this.contentDOM!==t.target||"attributes"!==t.type)&&this.contentDOM.contains(t.target))))}updateAttributes(t){this.editor.commands.command(({tr:e})=>{const i=this.getPos();return e.setNodeMarkup(i,void 0,{...this.node.attrs,...t}),!0})}deleteNode(){const t=this.getPos();this.editor.commands.deleteRange({from:t,to:t+this.node.nodeSize})}}function Yl(n){return new FS({find:n.find,handler:({state:t,range:e,match:i})=>{const r=xt(n.getAttributes,void 0,i);if(!1===r||null===r)return null;const{tr:o}=t,s=i[i.length-1],a=i[0];let l=e.to;if(s){const c=a.search(/\S/),u=e.from+a.indexOf(s),d=u+s.length;if(Zb(e.from,e.to,t.doc).filter(f=>f.mark.type.excluded.find(m=>m===n.type&&m!==f.mark.type)).filter(f=>f.to>u).length)return null;de.from&&o.delete(e.from+c,u),l=e.from+c+s.length,o.addMark(e.from+c,l,n.type.create(r||{})),o.removeStoredMark(n.type)}}})}function qce(n){return new FS({find:n.find,handler({match:t,chain:e,range:i}){const r=xt(n.getAttributes,void 0,t);if(!1===r||null===r)return null;t.input&&e().deleteRange(i).insertContentAt(i.from,{type:n.type.name,attrs:r})}})}const Qce=new an("suggestion");function Zce({pluginKey:n=Qce,editor:t,char:e="@",allowSpaces:i=!1,allowedPrefixes:r=[" "],startOfLine:o=!1,decorationTag:s="span",decorationClass:a="suggestion",command:l=(()=>null),items:c=(()=>[]),render:u=(()=>({})),allow:d=(()=>!0)}){let h;const f=u?.(),p=new Kt({key:n,view(){var g,m=this;return{update:(g=eu(function*(y,w){var T,v,N,x,ae,Z,Pe;const Ge=null===(T=m.key)||void 0===T?void 0:T.getState(w),Tt=null===(v=m.key)||void 0===v?void 0:v.getState(y.state),ht=Ge.active&&Tt.active&&Ge.range.from!==Tt.range.from,ut=!Ge.active&&Tt.active,vn=Ge.active&&!Tt.active,de=ut||ht,me=!ut&&!vn&&Ge.query!==Tt.query&&!ht,be=vn||ht;if(!de&&!me&&!be)return;const We=be&&!de?Ge:Tt,Lt=y.dom.querySelector(`[data-decoration-id="${We.decorationId}"]`);h={editor:t,range:We.range,query:We.query,text:We.text,items:[],command:dn=>{l({editor:t,range:We.range,props:dn})},decorationNode:Lt,clientRect:Lt?()=>{var dn;const{decorationId:Wt}=null===(dn=m.key)||void 0===dn?void 0:dn.getState(t.state);return y.dom.querySelector(`[data-decoration-id="${Wt}"]`)?.getBoundingClientRect()||null}:null},de&&(null===(N=f?.onBeforeStart)||void 0===N||N.call(f,h)),me&&(null===(x=f?.onBeforeUpdate)||void 0===x||x.call(f,h)),(me||de)&&(h.items=yield c({editor:t,query:We.query})),be&&(null===(ae=f?.onExit)||void 0===ae||ae.call(f,h)),me&&(null===(Z=f?.onUpdate)||void 0===Z||Z.call(f,h)),de&&(null===(Pe=f?.onStart)||void 0===Pe||Pe.call(f,h))}),function(w,T){return g.apply(this,arguments)}),destroy:()=>{var g;h&&(null===(g=f?.onExit)||void 0===g||g.call(f,h))}}},state:{init:()=>({active:!1,range:{from:0,to:0},query:null,text:null,composing:!1}),apply(m,g,y,w){const{isEditable:T}=t,{composing:v}=t.view,{selection:N}=m,{empty:x,from:ae}=N,Z={...g};if(Z.composing=v,T&&(x||t.view.composing)){(aeg.range.to)&&!v&&!g.composing&&(Z.active=!1);const Pe=function Kce(n){var t;const{char:e,allowSpaces:i,allowedPrefixes:r,startOfLine:o,$position:s}=n,a=function Yce(n){return n.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}(e),l=new RegExp(`\\s${a}$`),c=o?"^":"",u=i?new RegExp(`${c}${a}.*?(?=\\s${a}|$)`,"gm"):new RegExp(`${c}(?:^)?${a}[^\\s${a}]*`,"gm"),d=(null===(t=s.nodeBefore)||void 0===t?void 0:t.isText)&&s.nodeBefore.text;if(!d)return null;const h=s.pos-d.length,f=Array.from(d.matchAll(u)).pop();if(!f||void 0===f.input||void 0===f.index)return null;const p=f.input.slice(Math.max(0,f.index-1),f.index),m=new RegExp(`^[${r?.join("")}\0]?$`).test(p);if(null!==r&&!m)return null;const g=h+f.index;let y=g+f[0].length;return i&&l.test(d.slice(y-1,y+1))&&(f[0]+=" ",y+=1),g=s.pos?{range:{from:g,to:y},query:f[0].slice(e.length),text:f[0]}:null}({char:e,allowSpaces:i,allowedPrefixes:r,startOfLine:o,$position:N.$from}),Ge=`id_${Math.floor(4294967295*Math.random())}`;Pe&&d({editor:t,state:w,range:Pe.range})?(Z.active=!0,Z.decorationId=g.decorationId?g.decorationId:Ge,Z.range=Pe.range,Z.query=Pe.query,Z.text=Pe.text):Z.active=!1}else Z.active=!1;return Z.active||(Z.decorationId=null,Z.range={from:0,to:0},Z.query=null,Z.text=null),Z}},props:{handleKeyDown(m,g){var y;const{active:w,range:T}=p.getState(m.state);return w&&(null===(y=f?.onKeyDown)||void 0===y?void 0:y.call(f,{view:m,event:g,range:T}))||!1},decorations(m){const{active:g,range:y,decorationId:w}=p.getState(m);return g?Vn.create(m.doc,[Li.inline(y.from,y.to,{nodeName:s,class:a,"data-decoration-id":w})]):null}}});return p}const Jce=function(){return{padding:".75rem 2rem",borderRadius:"2px"}};function Xce(n,t){if(1&n){const e=Ne();S(0,"button",2),se("mousedown",function(){return ee(e),te(C().back.emit())}),E()}2&n&&Gn(cr(2,Jce))}class Uh{constructor(){this.title="No Results",this.showBackBtn=!1,this.back=new Q}}function eue(n,t){if(1&n&&(S(0,"i",7),Se(1),E()),2&n){const e=C();b(1),Ct(e.url)}}function tue(n,t){1&n&&_e(0,"dot-contentlet-thumbnail",9),2&n&&_("contentlet",C(2).data.contentlet)("width",42)("height",42)("iconSize","42px")}function nue(n,t){if(1&n&&D(0,tue,1,4,"dot-contentlet-thumbnail",8),2&n){const e=C(),i=Bt(10);_("ngIf",null==e.data?null:e.data.contentlet)("ngIfElse",i)}}function iue(n,t){if(1&n&&(S(0,"span",10),Se(1),E()),2&n){const e=C();b(1),Ct(e.data.contentlet.url)}}function rue(n,t){if(1&n&&(S(0,"div",11),_e(1,"dot-state-icon",12),S(2,"dot-badge",13),Se(3),Xn(4,"lowercase"),E()()),2&n){const e=C();b(1),_("state",e.data.contentlet),b(2),Ct(ei(4,2,e.data.contentlet.language))}}function oue(n,t){1&n&&_e(0,"img",14),2&n&&_("src",C().url,ss)}Uh.\u0275fac=function(t){return new(t||Uh)},Uh.\u0275cmp=we({type:Uh,selectors:[["dot-empty-message"]],inputs:{title:"title",showBackBtn:"showBackBtn"},outputs:{back:"back"},decls:2,vars:2,consts:[[3,"innerHTML"],["pButton","","class","p-button-outlined","label","Back","type","submit",3,"style","mousedown",4,"ngIf"],["pButton","","label","Back","type","submit",1,"p-button-outlined",3,"mousedown"]],template:function(t,e){1&t&&(_e(0,"p",0),D(1,Xce,1,3,"button",1)),2&t&&(_("innerHTML",e.title,Yf),b(1),_("ngIf",e.showBackBtn))},dependencies:[$t,bo],styles:["[_nghost-%COMP%]{align-items:center;flex-direction:column;display:flex;justify-content:center;padding:16px;height:240px}"]});class vu{constructor(t){this.element=t,this.role="list-item",this.tabindex="-1",this.disabled=!1,this.label="",this.url="",this.page=!1,this.data=null,this.icon=!1}onMouseDown(t){t.preventDefault(),this.disabled||this.command()}ngOnInit(){this.icon=this.icon="string"==typeof this.url&&!(this.url.split("/").length>1)}getLabel(){return this.element.nativeElement.innerText}focus(){this.element.nativeElement.style="background: #eee"}unfocus(){this.element.nativeElement.style=""}scrollIntoView(){if(!this.isIntoView()){const t=this.element.nativeElement,e=t.parentElement,{top:i,top:r,height:o}=e.getBoundingClientRect(),{top:s,bottom:a}=t.getBoundingClientRect(),l=s-i,c=a-r;e.scrollTop+=this.alignToTop()?l:c-o}}isIntoView(){const{bottom:t,top:e}=this.element.nativeElement.getBoundingClientRect(),i=this.element.nativeElement.parentElement.getBoundingClientRect();return e>=i.top&&t<=i.bottom}alignToTop(){const{top:t}=this.element.nativeElement.getBoundingClientRect(),{top:e}=this.element.nativeElement.parentElement.getBoundingClientRect();return t span[_ngcontent-%COMP%]{overflow:hidden;display:block;white-space:nowrap;text-overflow:ellipsis;margin-bottom:4px}.data-wrapper[_ngcontent-%COMP%] .url[_ngcontent-%COMP%]{color:#afb3c0;font-size:14.4px}.data-wrapper[_ngcontent-%COMP%] .state[_ngcontent-%COMP%]{margin-top:8px;display:flex;align-items:flex-end}.data-wrapper[_ngcontent-%COMP%] .state[_ngcontent-%COMP%] dot-state-icon[_ngcontent-%COMP%]{margin-right:8px}"]});class Hh{constructor(){this.id="editor-suggestion-list",this.suggestionItems=[],this.destroy$=new ue,this.mouseMove=!0}onMouseMove(){this.mouseMove=!0}onMouseOver(t){const e=t.target,i=e.dataset?.index;if(isNaN(i)||!this.mouseMove)return;const r=Number(e?.dataset.index);e.getAttribute("disabled")?this.keyManager.activeItem?.unfocus():this.updateActiveItem(r)}onMouseDownHandler(t){t.preventDefault()}ngAfterViewInit(){this.keyManager=new dR(this.items).withWrap(),requestAnimationFrame(()=>this.setFirstItemActive()),this.items.changes.pipe(yn(this.destroy$)).subscribe(()=>requestAnimationFrame(()=>this.setFirstItemActive()))}ngOnDestroy(){this.destroy$.next(!0)}updateSelection(t){this.keyManager.activeItem&&this.keyManager.activeItem.unfocus(),this.keyManager.onKeydown(t),this.keyManager.activeItem?.scrollIntoView(),this.mouseMove=!1}execCommand(){this.keyManager.activeItem.command()}setFirstItemActive(){this.keyManager.activeItem?.unfocus(),this.keyManager.setFirstItemActive(),this.keyManager.activeItem?.focus()}resetKeyManager(){this.keyManager.activeItem?.unfocus(),this.keyManager=new dR(this.items).withWrap(),this.setFirstItemActive()}updateActiveItem(t){this.keyManager.activeItem?.unfocus(),this.keyManager.setActiveItem(t)}}function aue(n,t){1&n&&(S(0,"div",1),_e(1,"div",2),S(2,"div",3)(3,"div",4)(4,"div"),_e(5,"span",5)(6,"span",6),E(),S(7,"div",7),_e(8,"span",8)(9,"span",9),E()()()())}Hh.\u0275fac=function(t){return new(t||Hh)},Hh.\u0275cmp=we({type:Hh,selectors:[["dot-suggestion-list"]],contentQueries:function(t,e,i){if(1&t&&Yn(i,vu,4),2&t){let r;Ve(r=Be())&&(e.items=r)}},hostVars:1,hostBindings:function(t,e){1&t&&se("mousemove",function(r){return e.onMouseMove(r)})("mouseover",function(r){return e.onMouseOver(r)})("mousedown",function(r){return e.onMouseDownHandler(r)}),2&t&&bt("id",e.id)},inputs:{suggestionItems:"suggestionItems"},ngContentSelectors:["*"],decls:1,vars:0,template:function(t,e){1&t&&($r(),Ii(0))},styles:["[_nghost-%COMP%]{width:100%;height:100%;max-height:400px;overflow:auto;display:block}"]});class mg{constructor(){this.items=Array(4).fill(0)}}mg.\u0275fac=function(t){return new(t||mg)},mg.\u0275cmp=we({type:mg,selectors:[["dot-suggestion-loading-list"]],decls:1,vars:1,consts:[["class","card",4,"ngFor","ngForOf"],[1,"card"],[1,"image","skeleton"],[1,"body"],[1,"data-wrapper"],[1,"title","skeleton"],[1,"subtitle","skeleton"],[1,"state"],[1,"circle","skeleton"],[1,"meta","skeleton"]],template:function(t,e){1&t&&D(0,aue,10,0,"div",0),2&t&&_("ngForOf",e.items)},dependencies:[Er],styles:["[_nghost-%COMP%]{width:100%;height:100%;max-height:400px;overflow:auto;display:block}.skeleton[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_skeleton-loading 1s linear infinite alternate}.card[_ngcontent-%COMP%]{width:100%;max-height:80px;box-sizing:border-box;display:flex;gap:1rem;padding:8px;background-color:#fff;cursor:pointer}.image[_ngcontent-%COMP%]{min-width:64px;min-height:64px;background:#14151a}.body[_ngcontent-%COMP%]{display:block;width:100%;height:100%}.body[_ngcontent-%COMP%] .data-wrapper[_ngcontent-%COMP%]{overflow:hidden;height:100%;display:flex;flex-direction:column;justify-content:space-between}.body[_ngcontent-%COMP%] .data-wrapper[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], .body[_ngcontent-%COMP%] .data-wrapper[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{width:80%;overflow:hidden;display:block;white-space:nowrap;text-overflow:ellipsis;background-color:#14151a;height:12px;border-radius:5px;margin-bottom:10px}.body[_ngcontent-%COMP%] .data-wrapper[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{width:85%;height:10px}.body[_ngcontent-%COMP%] .data-wrapper[_ngcontent-%COMP%] .state[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;align-items:center}.body[_ngcontent-%COMP%] .data-wrapper[_ngcontent-%COMP%] .state[_ngcontent-%COMP%] .circle[_ngcontent-%COMP%]{width:16px;height:16px;background:#000;border-radius:100%;margin-right:.5rem}.body[_ngcontent-%COMP%] .data-wrapper[_ngcontent-%COMP%] .state[_ngcontent-%COMP%] .meta[_ngcontent-%COMP%]{width:30px;height:10px;background:#000;border-radius:4px}@keyframes _ngcontent-%COMP%_skeleton-loading{0%{background-color:#ccc}to{background-color:#f2f2f2}}"]});class ql{constructor(t){this.http=t}get defaultHeaders(){const t=new Kr;return t.set("Accept","*/*").set("Content-Type","application/json"),t}getLanguages(){return this.languages?Fe(this.languages):this.http.get("/api/v2/languages",{headers:this.defaultHeaders}).pipe(xe("entity"),fe(t=>{const e=this.getDotLanguageObject(t);return this.languages=e,e}))}getDotLanguageObject(t){return t.reduce((e,i)=>Object.assign(e,{[i.id]:i}),{})}}ql.\u0275fac=function(t){return new(t||ql)(F(Ki))},ql.\u0275prov=H({token:ql,factory:ql.\u0275fac,providedIn:"root"});const lue={SHOW_VIDEO_THUMBNAIL:!0};class bu{constructor(){this.config=lue}get configObject(){return this.config}setProperty(t,e){this.config={...this.config,[t]:e}}getProperty(t){return this.config[t]||!1}}bu.\u0275fac=function(t){return new(t||bu)},bu.\u0275prov=H({token:bu,factory:bu.\u0275fac,providedIn:"root"});var Kl=(()=>(function(n){n.DOWNLOAD="DOWNLOADING",n.IMPORT="IMPORTING",n.COMPLETED="COMPLETED",n.ERROR="ERROR"}(Kl||(Kl={})),Kl))();class Js{constructor(t,e){this.http=t,this.dotUploadService=e}publishContent({data:t,maxSize:e,statusCallback:i=(o=>{}),signal:r}){return i(Kl.DOWNLOAD),this.setTempResource({data:t,maxSize:e,signal:r}).pipe(li(o=>{const s=Array.isArray(o)?o:[o],a=[];return s.forEach(l=>{a.push({baseType:"dotAsset",asset:l.id,hostFolder:"",indexPolicy:"WAIT_FOR"})}),i(Kl.IMPORT),this.http.post("/api/v1/workflow/actions/default/fire/PUBLISH",JSON.stringify({contentlets:a}),{headers:{Origin:window.location.hostname,"Content-Type":"application/json;charset=UTF-8"}}).pipe(xe("entity","results"))}),zi(o=>yo(o)))}setTempResource({data:t,maxSize:e,signal:i}){return Et(this.dotUploadService.uploadFile({file:t,maxSize:e,signal:i}))}}Js.\u0275fac=function(t){return new(t||Js)(F(Ki),F(wh))},Js.\u0275prov=H({token:Js,factory:Js.\u0275fac});var Xb=(()=>(function(n){n.ASC="ASC",n.DESC="DESC"}(Xb||(Xb={})),Xb))();class $h{constructor(t){this.http=t}get({query:t,limit:e=0,offset:i=0}){return this.http.post("/api/content/_search",{query:t,sort:"score,modDate desc",limit:e,offset:i}).pipe(xe("entity"))}}$h.\u0275fac=function(t){return new(t||$h)(F(Ki))},$h.\u0275prov=H({token:$h,factory:$h.\u0275fac,providedIn:"root"});class Ql{constructor(t){this.http=t}get defaultHeaders(){const t=new Kr;return t.set("Accept","*/*").set("Content-Type","application/json"),t}getContentTypes(t="",e=""){return this.http.post("/api/v1/contenttype/_filter",{filter:{types:e,query:t},orderBy:"name",direction:"ASC",perPage:40}).pipe(xe("entity"))}getContentlets({contentType:t,filter:e,currentLanguage:i,contentletIdentifier:r}){const o=r?`-identifier:${r}`:"",s=e.includes("-")?e:`*${e}*`;return this.http.post("/api/content/_search",{query:`+contentType:${t} ${o} +languageId:${i} +deleted:false +working:true +catchall:${s} title:'${e}'^15`,sort:"modDate desc",offset:0,limit:40}).pipe(xe("entity","jsonObjectView","contentlets"))}getContentletsByLink({link:t,currentLanguage:e=_g}){return this.http.post("/api/content/_search",{query:`+languageId:${e} +deleted:false +working:true +(urlmap:*${t}* OR (contentType:(dotAsset OR htmlpageasset OR fileAsset) AND +path:*${t}*))`,sort:"modDate desc",offset:0,limit:40}).pipe(xe("entity","jsonObjectView","contentlets"))}}Ql.\u0275fac=function(t){return new(t||Ql)(F(Ki))},Ql.\u0275prov=H({token:Ql,factory:Ql.\u0275fac});const W5="/api/v1/ai",KS=new Kr({"Content-Type":"application/json"});class Zl{constructor(t){this.http=t}generateContent(t){return this.http.post(`${W5}/text/generate`,JSON.stringify({prompt:t}),{headers:KS}).pipe(zi(()=>yo("Error fetching AI content")),fe(({response:e})=>e))}generateAndPublishImage(t){return this.http.post(`${W5}/image/generate`,JSON.stringify({prompt:t}),{headers:KS}).pipe(zi(()=>yo("Error fetching AI content")),xe("response"),li(e=>this.createAndPublishContentlet(e)))}createAndPublishContentlet(t){return this.http.post("/api/v1/workflow/actions/default/fire/PUBLISH",JSON.stringify({contentlets:[{baseType:"dotAsset",asset:t,title:"Test1 name.png",hostFolder:"",indexPolicy:"WAIT_FOR"}]}),{headers:KS}).pipe(xe("entity","results"),zi(i=>yo(i)))}}Zl.\u0275fac=function(t){return new(t||Zl)(F(Ki))},Zl.\u0275prov=H({token:Zl,factory:Zl.\u0275fac});const G5=["list"];function uue(n,t){if(1&n&&(S(0,"h3"),Se(1),E()),2&n){const e=C(2);b(1),Ct(e.title)}}function due(n,t){if(1&n&&_e(0,"dot-suggestions-list-item",7),2&n){const e=C(),i=e.$implicit,r=e.index;_("command",i.command)("index",i.tabindex||r)("label",i.label)("url",i.icon)("data",i.data)("disabled",i.disabled)}}function hue(n,t){1&n&&_e(0,"div",8)}function fue(n,t){if(1&n&&(it(0),D(1,due,1,6,"dot-suggestions-list-item",5),D(2,hue,1,0,"ng-template",null,6,Mn),rt()),2&n){const e=t.$implicit,i=Bt(3);b(1),_("ngIf","divider"!==e.id)("ngIfElse",i)}}function pue(n,t){if(1&n&&(S(0,"div"),D(1,uue,2,1,"h3",2),S(2,"dot-suggestion-list",null,3),D(4,fue,4,2,"ng-container",4),E()()),2&n){const e=C();b(1),_("ngIf",!!e.title),b(3),_("ngForOf",e.items)}}function mue(n,t){if(1&n){const e=Ne();S(0,"dot-empty-message",9),se("back",function(){return ee(e),te(C().handleBackButton())}),E()}if(2&n){const e=C();_("title",e.noResultsMessage)("showBackBtn",!e.isFilterActive)}}var gr=(()=>(function(n){n.BLOCK="block",n.CONTENTTYPE="contentType",n.CONTENT="content"}(gr||(gr={})),gr))();class Jl{constructor(t,e,i){this.suggestionsService=t,this.dotLanguageService=e,this.cd=i,this.items=[],this.title="Select a block",this.noResultsMessage="No Results",this.currentLanguage=_g,this.allowedContentTypes="",this.contentletIdentifier="",this.isFilterActive=!1}onMouseDownHandler(t){t.preventDefault()}ngOnInit(){this.initialItems=this.items,this.itemsLoaded=gr.BLOCK,this.dotLanguageService.getLanguages().pipe(At(1)).subscribe(t=>this.dotLangs=t)}addContentletItem(){this.items=[{label:"Contentlets",icon:"receipt",command:()=>this.loadContentTypes()},...this.items],this.initialItems=this.items}execCommand(){this.items.length?this.list.execCommand():this.handleBackButton()}updateSelection(t){this.list.updateSelection(t)}handleBackButton(){return this.itemsLoaded=this.itemsLoaded===gr.CONTENT?gr.CONTENTTYPE:gr.BLOCK,this.filterItems(),!1}filterItems(t=""){switch(this.itemsLoaded){case gr.BLOCK:this.items=this.initialItems.filter(e=>e.label.toLowerCase().includes(t.trim().toLowerCase()));break;case gr.CONTENTTYPE:this.loadContentTypes(t);break;case gr.CONTENT:this.loadContentlets(this.selectedContentType,t)}this.isFilterActive=!!t.length}loadContentTypes(t=""){this.suggestionsService.getContentTypes(t,this.allowedContentTypes).pipe(fe(e=>e.map(i=>({label:i.name,icon:i.icon,command:()=>{this.selectedContentType=i,this.itemsLoaded=gr.CONTENT,this.loadContentlets(i)}}))),At(1)).subscribe(e=>{this.items=e,this.itemsLoaded=gr.CONTENTTYPE,this.items.length?this.title="Select a content type":this.noResultsMessage="No results",this.cd.detectChanges()})}loadContentlets(t,e=""){this.suggestionsService.getContentlets({contentType:t.variable,filter:e,currentLanguage:this.currentLanguage,contentletIdentifier:this.contentletIdentifier}).pipe(At(1)).subscribe(i=>{this.items=i.map(r=>{const{languageId:o}=r;return r.language=this.getContentletLanguage(o),{label:r.title,icon:"contentlet/image",data:{contentlet:r},command:()=>{this.onSelectContentlet({payload:r,type:{name:"dotContent"}})}}}),this.items.length?this.title="Select a contentlet":this.noResultsMessage=`No results for ${t.name}`,this.cd.detectChanges()})}getContentletLanguage(t){const{languageCode:e,countryCode:i}=this.dotLangs[t];return e&&i?`${e}-${i}`:""}}Jl.\u0275fac=function(t){return new(t||Jl)(I(Ql),I(ql),I(In))},Jl.\u0275cmp=we({type:Jl,selectors:[["dot-suggestions"]],viewQuery:function(t,e){if(1&t&&(Mt(G5,5),Mt(G5,5,Dt)),2&t){let i;Ve(i=Be())&&(e.list=i.first),Ve(i=Be())&&(e.listElement=i.first)}},hostBindings:function(t,e){1&t&&se("mousedown",function(r){return e.onMouseDownHandler(r)})},inputs:{onSelectContentlet:"onSelectContentlet",items:"items",title:"title",noResultsMessage:"noResultsMessage",currentLanguage:"currentLanguage",allowedContentTypes:"allowedContentTypes",contentletIdentifier:"contentletIdentifier"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["emptyBlock",""],[4,"ngIf"],["list",""],[4,"ngFor","ngForOf"],[3,"command","index","label","url","data","disabled",4,"ngIf","ngIfElse"],["divider",""],[3,"command","index","label","url","data","disabled"],[1,"divider"],[3,"title","showBackBtn","back"]],template:function(t,e){if(1&t&&(D(0,pue,5,2,"div",0),D(1,mue,1,2,"ng-template",null,1,Mn)),2&t){const i=Bt(2);_("ngIf",e.items.length)("ngIfElse",i)}},styles:['[_nghost-%COMP%]{display:block;min-width:240px;box-shadow:0 4px 20px var(--color-palette-black-op-10);padding:8px 0;background:#ffffff;font-family:Assistant,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif}h3[_ngcontent-%COMP%]{text-transform:uppercase;font-size:16px;margin:8px 16px;color:#999}.suggestion-list-container[_ngcontent-%COMP%]{width:100%;height:100%;max-height:400px;overflow:auto;display:block}.material-icons[_ngcontent-%COMP%]{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased}.divider[_ngcontent-%COMP%]{border-top:#afb3c0 solid 1px;margin:.5rem 0}']});class QS{constructor({editor:t,element:e,view:i,tippyOptions:r={},updateDelay:o=250,shouldShow:s}){this.preventHide=!1,this.shouldShow=({view:a,state:l,from:c,to:u})=>{const{doc:d,selection:h}=l,{empty:f}=h,p=!d.textBetween(c,u).length&&Gb(l.selection),m=this.element.contains(document.activeElement);return!(!a.hasFocus()&&!m||f||p||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.dragstartHandler=()=>{this.hide()},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:a})=>{var l;this.preventHide?this.preventHide=!1:a?.relatedTarget&&null!==(l=this.element.parentNode)&&void 0!==l&&l.contains(a.relatedTarget)||this.hide()},this.tippyBlurHandler=a=>{this.blurHandler({event:a})},this.handleDebouncedUpdate=(a,l)=>{const c=!l?.selection.eq(a.state.selection),u=!l?.doc.eq(a.state.doc);!c&&!u||(this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout(()=>{this.updateHandler(a,c,u,l)},this.updateDelay))},this.updateHandler=(a,l,c,u)=>{var d,h,f;const{state:p,composing:m}=a,{selection:g}=p;if(m||!l&&!c)return;this.createTooltip();const{ranges:w}=g,T=Math.min(...w.map(x=>x.$from.pos)),v=Math.max(...w.map(x=>x.$to.pos));(null===(d=this.shouldShow)||void 0===d?void 0:d.call(this,{editor:this.editor,view:a,state:p,oldState:u,from:T,to:v}))?(null===(h=this.tippy)||void 0===h||h.setProps({getReferenceClientRect:(null===(f=this.tippyOptions)||void 0===f?void 0:f.getReferenceClientRect)||(()=>{if(function Sce(n){return n instanceof Qe}(p.selection)){let x=a.nodeDOM(T);const ae=x.dataset.nodeViewWrapper?x:x.querySelector("[data-node-view-wrapper]");if(ae&&(x=ae.firstChild),x)return x.getBoundingClientRect()}return yu(a,T,v)})}),this.show()):this.hide()},this.editor=t,this.element=e,this.view=i,this.updateDelay=o,s&&(this.shouldShow=s),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener("dragstart",this.dragstartHandler),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=r,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:t}=this.editor.options;this.tippy||!t.parentElement||(this.tippy=gs(t,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"top",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(t,e){const{state:i}=t;if(this.updateDelay>0&&i.selection.$from.pos!==i.selection.$to.pos)return void this.handleDebouncedUpdate(t,e);const o=!e?.selection.eq(t.state.selection),s=!e?.doc.eq(t.state.doc);this.updateHandler(t,o,s,e)}show(){var t;null===(t=this.tippy)||void 0===t||t.show()}hide(){var t;null===(t=this.tippy)||void 0===t||t.hide()}destroy(){var t,e;!(null===(t=this.tippy)||void 0===t)&&t.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),null===(e=this.tippy)||void 0===e||e.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.removeEventListener("dragstart",this.dragstartHandler),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const Y5=n=>new Kt({key:"string"==typeof n.pluginKey?new an(n.pluginKey):n.pluginKey,view:t=>new QS({view:t,...n})}),ZS=Sn.create({name:"bubbleMenu",addOptions:()=>({element:null,tippyOptions:{},pluginKey:"bubbleMenu",updateDelay:void 0,shouldShow:null}),addProseMirrorPlugins(){return this.options.element?[Y5({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,updateDelay:this.options.updateDelay,shouldShow:this.options.shouldShow})]:[]}});class e0{constructor(t){this._el=t,this.pluginKey="NgxTiptapBubbleMenu",this.tippyOptions={},this.shouldShow=null}ngOnInit(){if(!this.editor)throw new Error("Required: Input `editor`");this.editor.registerPlugin(Y5({pluginKey:this.pluginKey,editor:this.editor,element:this._el.nativeElement,tippyOptions:this.tippyOptions,shouldShow:this.shouldShow}))}ngOnDestroy(){this.editor.unregisterPlugin(this.pluginKey)}}e0.\u0275fac=function(t){return new(t||e0)(I(Dt))},e0.\u0275dir=Ce({type:e0,selectors:[["tiptap-bubble-menu","editor",""],["","tiptapBubbleMenu","","editor",""]],inputs:{pluginKey:"pluginKey",editor:"editor",tippyOptions:"tippyOptions",shouldShow:"shouldShow"}});class t0{constructor(){this.draggable=!0,this.handle=""}}t0.\u0275fac=function(t){return new(t||t0)},t0.\u0275dir=Ce({type:t0,selectors:[["","tiptapDraggable",""]],hostVars:2,hostBindings:function(t,e){2&t&&bt("draggable",e.draggable)("data-drag-handle",e.handle)}});class Wh{constructor(t,e){this.el=t,this._renderer=e,this.onChange=()=>{},this.onTouched=()=>{},this.handleChange=({transaction:i})=>{i.docChanged&&this.onChange(this.editor.getJSON())}}writeValue(t){t&&this.editor.chain().setContent(t,!0).run()}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.editor.setEditable(!t),this._renderer.setProperty(this.el.nativeElement,"disabled",t)}ngOnInit(){if(!this.editor)throw new Error("Required: Input `editor`");const t=this.el.nativeElement.innerHTML;this.el.nativeElement.innerHTML="",this.el.nativeElement.appendChild(this.editor.options.element.firstChild),this.editor.setOptions({element:this.el.nativeElement}),t&&this.editor.chain().setContent(t,!1).run(),this.editor.on("blur",()=>{this.onTouched()}),this.editor.on("transaction",this.handleChange)}ngOnDestroy(){this.editor.destroy()}}Wh.\u0275fac=function(t){return new(t||Wh)(I(Dt),I(ar))},Wh.\u0275dir=Ce({type:Wh,selectors:[["tiptap","editor",""],["","tiptap","","editor",""],["tiptap-editor","editor",""],["","tiptapEditor","","editor",""]],inputs:{editor:"editor"},features:[Pt([{provide:Qi,useExisting:Ft(()=>Wh),multi:!0}])]});class gue{constructor({editor:t,element:e,view:i,tippyOptions:r={},shouldShow:o}){this.preventHide=!1,this.shouldShow=({view:s,state:a})=>{const{selection:l}=a,{$anchor:c,empty:u}=l,d=1===c.depth,h=c.parent.isTextblock&&!c.parent.type.spec.code&&!c.parent.textContent;return!!(s.hasFocus()&&u&&d&&h&&this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:s})=>{var a;this.preventHide?this.preventHide=!1:s?.relatedTarget&&null!==(a=this.element.parentNode)&&void 0!==a&&a.contains(s.relatedTarget)||this.hide()},this.tippyBlurHandler=s=>{this.blurHandler({event:s})},this.editor=t,this.element=e,this.view=i,o&&(this.shouldShow=o),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=r,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:t}=this.editor.options;this.tippy||!t.parentElement||(this.tippy=gs(t,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"right",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(t,e){var i,r,o;const{state:s}=t,{doc:a,selection:l}=s,{from:c,to:u}=l;e&&e.doc.eq(a)&&e.selection.eq(l)||(this.createTooltip(),(null===(i=this.shouldShow)||void 0===i?void 0:i.call(this,{editor:this.editor,view:t,state:s,oldState:e}))?(null===(r=this.tippy)||void 0===r||r.setProps({getReferenceClientRect:(null===(o=this.tippyOptions)||void 0===o?void 0:o.getReferenceClientRect)||(()=>yu(t,c,u))}),this.show()):this.hide())}show(){var t;null===(t=this.tippy)||void 0===t||t.show()}hide(){var t;null===(t=this.tippy)||void 0===t||t.hide()}destroy(){var t,e;!(null===(t=this.tippy)||void 0===t)&&t.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),null===(e=this.tippy)||void 0===e||e.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const q5=n=>new Kt({key:"string"==typeof n.pluginKey?new an(n.pluginKey):n.pluginKey,view:t=>new gue({view:t,...n})});Sn.create({name:"floatingMenu",addOptions:()=>({element:null,tippyOptions:{},pluginKey:"floatingMenu",shouldShow:null}),addProseMirrorPlugins(){return this.options.element?[q5({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,shouldShow:this.options.shouldShow})]:[]}});class n0{constructor(t){this._el=t,this.pluginKey="NgxTiptapFloatingMenu",this.tippyOptions={},this.shouldShow=null}ngOnInit(){if(!this.editor)throw new Error("Required: Input `editor`");this.editor.registerPlugin(q5({pluginKey:this.pluginKey,editor:this.editor,element:this._el.nativeElement,tippyOptions:this.tippyOptions,shouldShow:this.shouldShow}))}ngOnDestroy(){this.editor.unregisterPlugin(this.pluginKey)}}n0.\u0275fac=function(t){return new(t||n0)(I(Dt))},n0.\u0275dir=Ce({type:n0,selectors:[["tiptap-floating-menu","editor",""],["","tiptapFloatingMenu","","editor",""]],inputs:{pluginKey:"pluginKey",editor:"editor",tippyOptions:"tippyOptions",shouldShow:"shouldShow"}});class r0{constructor(){this.handle=""}}r0.\u0275fac=function(t){return new(t||r0)},r0.\u0275dir=Ce({type:r0,selectors:[["","tiptapNodeViewContent",""]],hostVars:1,hostBindings:function(t,e){2&t&&bt("data-node-view-content",e.handle)}});const K5={inode:"14dd5ad9-55ae-42a8-a5a7-e259b6d0901a",variantId:"DEFAULT",locked:!1,stInode:"d5ea385d-32ee-4f35-8172-d37f58d9cd7a",contentType:"Image",height:4e3,identifier:"93ca45e0-06d2-4eef-be1d-79bd6bf0fc99",hasTitleImage:!0,sortOrder:0,hostName:"demo.dotcms.com",extension:"jpg",isContent:!0,baseType:"FILEASSETS",archived:!1,working:!0,live:!0,isContentlet:!0,languageId:1,titleImage:"fileAsset",hasLiveVersion:!0,deleted:!1,folder:"",host:"",modDate:"",modUser:"",modUserName:"",owner:"",title:"",url:"",contentTypeIcon:"assessment",__icon__:"Icon"};class yg{transform({live:t,working:e,deleted:i,hasLiveVersion:r}){return{live:t,working:e,deleted:i,hasLiveVersion:r}}}yg.\u0275fac=function(t){return new(t||yg)},yg.\u0275pipe=Hn({name:"contentletState",type:yg,pure:!0});const JS="menuFloating";class vue{constructor({editor:t,view:e,render:i,command:r,key:o}){this.invalidNodes=["codeBlock","blockquote"],this.editor=t,this.view=e,this.editor.on("focus",()=>{this.update(this.editor.view)}),this.render=i,this.command=r,this.key=o}update(t,e){const i=this.key?.getState(t.state),r=e?this.key?.getState(e):null;if(i.open){const{from:o,to:s}=this.editor.state.selection,a=yu(this.view,o,s);this.render().onStart({clientRect:()=>a,range:{from:o,to:s},editor:this.editor,command:this.command})}else r&&r.open&&this.render().onExit(null)}}const Q5=new an(JS),bue=n=>new Kt({key:Q5,view:t=>new vue({key:Q5,view:t,...n}),state:{init:()=>({open:!1}),apply(t){const e=t.getMeta(JS);return e?.open?{open:e?.open}:{open:!1}}},props:{handleKeyDown(t,e){const{open:i,range:r}=this.getState(t.state);return!!i&&n.render().onKeyDown({event:e,range:r,view:t})}}}),Sue={paragrah:!0,text:!0,doc:!0},Z5={image:{image:!0,dotImage:!0},table:{table:!0,tableRow:!0,tableHeader:!0,tableCell:!0},orderedList:{orderedList:!0,listItem:!0},bulletList:{bulletList:!0,listItem:!0},video:{dotVideo:!0,youtube:!0}},Eue=(n,t)=>{const{type:e,attrs:i}=n;return"heading"===e&&t[e+i.level]},J5=(n,t)=>{if(!n?.length)return n;const e=[];for(const i in n){const r=n[i];(t[r.type]||Eue(r,t))&&e.push({...r,content:J5(r.content,t)})}return e},Oue=new RegExp(/]*)>(\s|\n|]*src="[^"]*"[^>]*>)*?<\/a>/gm),XS=new RegExp(/]*src="[^"]*"[^>]*>/gm),Cu=(n,t)=>{let i,e=n.depth;do{if(i=n.node(e),i){if(Array.isArray(t)&&t.includes(i.type.name))break;e--}}while(e>0&&i);return i},o0=n=>{const t=n.match(XS)||[];return(new DOMParser).parseFromString(n,"text/html").documentElement.textContent.trim().length>0?n.replace(XS,"")+t.join(""):t.join("")},X5=n=>{const{state:t}=n,{doc:e}=t.tr,i=t.selection.to,r=at.create(e,i,i);n.dispatch(t.tr.setSelection(r))},eE=(n,t)=>{let e=null,i=null,r=null;return n.state.doc.descendants((o,s)=>{o.type.name===t&&(e=o,i=s,r=i+e.nodeSize)}),e?{node:e,from:i,to:r}:null},ez=n=>/^https?:\/\/.+\.(jpg|jpeg|png|webp|avif|gif|svg)$/.test(n);class wu extends Vi{constructor(t,e){super(),this.STEP_TYPE="setDocAttr",this.key=t,this.value=e}get stepType(){return this.STEP_TYPE}static fromJSON(t,e){return new wu(e.key,e.value)}static register(){try{Vi.jsonID(this.prototype.STEP_TYPE,wu)}catch(t){if(t.message!==`Duplicate use of step JSON ID ${this.prototype.STEP_TYPE}`)throw t}return!0}apply(t){return this.prevValue=t.attrs[this.key],t.attrs===t.type.defaultAttrs&&(t.attrs=Object.assign({},t.attrs)),t.attrs[this.key]=this.value,gi.ok(t)}invert(){return new wu(this.key,this.prevValue)}map(){return this}toJSON(){return{stepType:this.stepType,key:this.key,value:this.value}}}class s0 extends Vi{constructor(){super(),this.STEP_TYPE="restoreDefaultDOMAttrs"}get stepType(){return this.STEP_TYPE}static register(){try{Vi.jsonID(this.prototype.STEP_TYPE,s0)}catch(t){if(t.message!==`Duplicate use of step JSON ID ${this.prototype.STEP_TYPE}`)throw t}return!0}apply(t){return t.attrs=Object.assign({},t.type.defaultAttrs),gi.ok(t)}invert(){return new s0}map(){return this}toJSON(){return{stepType:this.stepType}}}const _g=1;var Ti=(()=>(function(n){n.DOT_IMAGE="dotImage",n.LIST_ITEM="listItem",n.BULLET_LIST="bulletList",n.ORDERED_LIST="orderedList",n.BLOCKQUOTE="blockquote",n.CODE_BLOCK="codeBlock",n.DOC="doc",n.DOT_CONTENT="dotContent",n.PARAGRAPH="paragraph",n.HARD_BREAK="hardBreak",n.HEADING="heading",n.HORIZONTAL_RULE="horizontalRule",n.TEXT="text",n.TABLE_CELL="tableCell",n.AI_CONTENT="aiContent"}(Ti||(Ti={})),Ti))();const Bue=[Ti.DOT_IMAGE,Ti.DOT_CONTENT];function tz({editor:n,range:t,props:e,customBlocks:i}){const{type:r,payload:o}=e,s={dotContent:()=>{n.chain().addContentletBlock({range:t,payload:o}).addNextLine().run()},heading:()=>{n.chain().addHeading({range:t,type:r}).run()},table:()=>{n.commands.openForm([{key:"rows",label:"Rows",required:!0,value:"3",controlType:"number",type:"number",min:1},{key:"columns",label:"Columns",required:!0,value:"3",controlType:"number",type:"number",min:1},{key:"header",label:"Add Row Header",required:!1,value:!0,controlType:"text",type:"checkbox"}],{customClass:"dotTableForm"}).pipe?.(At(1),Tn(a=>!!a)).subscribe(a=>{requestAnimationFrame(()=>{n.chain().insertTable({rows:a.rows,cols:a.columns,withHeaderRow:!!a.header}).focus().run()})})},orderedList:()=>{n.chain().deleteRange(t).toggleOrderedList().focus().run()},bulletList:()=>{n.chain().deleteRange(t).toggleBulletList().focus().run()},blockquote:()=>{n.chain().deleteRange(t).setBlockquote().focus().run()},codeBlock:()=>{n.chain().deleteRange(t).setCodeBlock().focus().run()},horizontalRule:()=>{n.chain().deleteRange(t).setHorizontalRule().focus().run()},image:()=>n.commands.openAssetForm({type:"image"}),subscript:()=>n.chain().setSubscript().focus().run(),superscript:()=>n.chain().setSuperscript().focus().run(),video:()=>n.commands.openAssetForm({type:"video"}),aiContentPrompt:()=>n.commands.openAIPrompt(),aiContent:()=>n.commands.insertAINode(),aiImagePrompt:()=>n.commands.openImagePrompt()};nz(i).forEach(a=>{s[a.id]=()=>{try{n.commands[a.commandKey]()}catch{console.warn(`Custom command ${a.commandKey} does not exists.`)}}}),s[r.name]?s[r.name]():n.chain().setTextSelection(t).focus().run()}function nz(n){return n.extensions.map(t=>function Hue(n){return n.map(t=>({icon:t.icon,label:t.menuLabel,commandKey:t.command,id:`${t.command}-id`}))}(t.actions||[])).flat()}const $ue=(n,t)=>{let e,i;const r=new an("suggestionPlugin"),o=new ue;let s=!0;function a({editor:g,range:y,clientRect:w}){s&&(function c(g,y){const{allowedBlocks:w,allowedContentTypes:T,lang:v,contentletIdentifier:N}=g.storage.dotConfig,ae=function u({allowedBlocks:g=[],editor:y,range:w}){const v=[...g.length?Rv.filter(N=>g.includes(N.id)):Rv,...nz(t)];return v.forEach(N=>N.command=()=>function d({item:g,editor:y,range:w}){const{id:T,attributes:v}=g,N={type:{name:T.includes("heading")?"heading":T,...v}};jR({type:gr.BLOCK,editor:y,range:w,suggestionKey:r,ItemsType:gr}),h({editor:y,range:w,props:N})}({item:N,editor:y,range:w})),v}({allowedBlocks:w.length>1?w:[],editor:g,range:y});i=n.createComponent(Jl),i.instance.items=ae,i.instance.currentLanguage=v,i.instance.allowedContentTypes=T,i.instance.contentletIdentifier=N,i.instance.onSelectContentlet=Z=>{jR({type:gr.CONTENT,editor:g,range:y,suggestionKey:r,ItemsType:gr}),h({editor:g,range:y,props:Z})},i.changeDetectorRef.detectChanges(),(w.length<=1||w.includes("dotContent"))&&i.instance.addContentletItem()}(g,y),e=function Uue({element:n,content:t,rect:e,onHide:i}){return gs(n,{content:t,placement:"bottom",popperOptions:{modifiers:_ee},getReferenceClientRect:e,showOnCreate:!0,interactive:!0,offset:[120,10],trigger:"manual",maxWidth:"none",onHide:i})}({element:g.options.element.parentElement,content:i.location.nativeElement,rect:w,onHide:()=>{g.commands.focus();const T=f({editor:g,range:y});"/"===g.state.doc.textBetween(T.from,T.to," ")&&g.commands.deleteRange(T);const N=g.state.tr.setMeta(JS,{open:!1});g.view.dispatch(N),g.commands.freezeScroll(!1)}}))}function l({editor:g}){g.commands.freezeScroll(!0);const y=Cu(g.view.state.selection.$from,[Ti.TABLE_CELL])?.type.name===Ti.TABLE_CELL,w=Cu(g.view.state.selection.$from,[Ti.CODE_BLOCK])?.type.name===Ti.CODE_BLOCK;s=!y&&!w}function h({editor:g,range:y,props:w}){tz({editor:g,range:f({editor:g,range:y}),props:w,customBlocks:t})}function f({editor:g,range:y}){const w=r.getState(g.view.state).query?.length||0;return y.to=y.to+w,y}function p({event:g}){const{key:y}=g;return"Escape"===y?(g.stopImmediatePropagation(),e.hide(),!0):"Enter"===y?(i.instance.execCommand(),!0):("ArrowDown"===y||"ArrowUp"===y)&&(i.instance.updateSelection(g),!0)}function m({editor:g}){e?.destroy(),g.commands.freezeScroll(!1),i?.destroy(),i=null,o.next(!0),o.complete()}return Sn.create({name:"actionsMenu",addOptions:()=>({pluginKey:"actionsMenu",element:null,suggestion:{char:"/",pluginKey:r,allowSpaces:!0,startOfLine:!0,render:()=>({onBeforeStart:l,onStart:a,onKeyDown:p,onExit:m}),items:({query:g})=>(i&&i.instance.filterItems(g),[])}}),addCommands:()=>({addHeading:({range:g,type:y})=>({chain:w})=>w().focus().deleteRange(g).toggleHeading({level:y.level}).focus().run(),addContentletBlock:({range:g,payload:y})=>({chain:w})=>w().deleteRange(g).command(T=>{const v=T.editor.schema.nodes.dotContent.create({data:y});return T.tr.replaceSelectionWith(v),!0}).run(),addNextLine:()=>({chain:g})=>g().command(y=>{const{selection:w}=y.state;return y.commands.insertContentAt(w.head,{type:"paragraph"}),!0}).focus().run()}),addProseMirrorPlugins(){return[bue({command:tz,editor:this.editor,render:()=>({onStart:a,onKeyDown:p,onExit:m})}),Zce({editor:this.editor,...this.options.suggestion})]}})};function Wue(n,t){if(1&n){const e=Ne();S(0,"div",5)(1,"dot-asset-search",6),se("addAsset",function(r){return ee(e),te(C().onSelectAsset(r))}),E()()}if(2&n){const e=C();b(1),_("type",e.type)("languageId",e.languageId)}}function Gue(n,t){if(1&n){const e=Ne();S(0,"div",5)(1,"dot-upload-asset",7),se("uploadedFile",function(r){return ee(e),te(C().onSelectAsset(r))})("preventClose",function(r){return ee(e),te(C().onPreventClose(r))})("hide",function(r){return ee(e),te(C().onHide(r))}),E()()}if(2&n){const e=C();b(1),_("type",e.type)}}function Yue(n,t){if(1&n){const e=Ne();S(0,"div",5)(1,"dot-external-asset",8),se("addAsset",function(r){return ee(e),te(C().onSelectAsset(r))}),E()()}if(2&n){const e=C();b(1),_("type",e.type)}}class Gh{constructor(){this.languageId=_g,this.disableTabs=!1}onPreventClose(t){this.preventClose(t),this.disableTabs=t}}Gh.\u0275fac=function(t){return new(t||Gh)},Gh.\u0275cmp=we({type:Gh,selectors:[["dot-asset-form"]],inputs:{languageId:"languageId",type:"type",onSelectAsset:"onSelectAsset",preventClose:"preventClose",onHide:"onHide"},decls:8,vars:8,consts:[[1,"tabview-container"],["header","Library","leftIcon","pi pi-images",3,"cache","disabled"],["pTemplate","content"],["leftIcon","pi pi-folder",3,"cache","header","disabled"],["leftIcon","pi pi-link",3,"cache","header","disabled"],[1,"wrapper"],[3,"type","languageId","addAsset"],[3,"type","uploadedFile","preventClose","hide"],[3,"type","addAsset"]],template:function(t,e){1&t&&(S(0,"div",0)(1,"p-tabView")(2,"p-tabPanel",1),D(3,Wue,2,2,"ng-template",2),E(),S(4,"p-tabPanel",3),D(5,Gue,2,1,"ng-template",2),E(),S(6,"p-tabPanel",4),D(7,Yue,2,1,"ng-template",2),E()()()),2&t&&(b(2),_("cache",!1)("disabled",e.disableTabs),b(2),_("cache",!1)("header","Upload "+e.type)("disabled",e.disableTabs),b(2),_("cache",!1)("header",e.type+" URL")("disabled",e.disableTabs))},styles:["[_nghost-%COMP%]{border:1px solid #afb3c0;display:block}.tabview-container[_ngcontent-%COMP%]{width:720px;background:#ffffff}.wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:100%;width:100%}[_nghost-%COMP%] .p-tabview-nav{padding:0 2rem}[_nghost-%COMP%] .p-tabview-panel{height:25rem}"],changeDetection:0});class que{constructor({editor:t,view:e,pluginKey:i,render:r}){this.editor=t,this.view=e,this.pluginKey=i,this.render=r,this.editor.on("focus",()=>this.render().onHide(this.editor))}update(t,e){const i=this.pluginKey?.getState(t.state),r=e?this.pluginKey?.getState(e):{open:!1},{state:o}=t,{selection:s}=o;i?.open!==r?.open&&(i?.open?this.render().onStart({editor:this.editor,type:i.type,getPosition:()=>{const{from:a,to:l}=s;return yu(t,a,l)}}):this.render().onHide(this.editor))}destroy(){this.render().onDestroy()}}const Kue=n=>new Kt({key:n.pluginKey,view:t=>new que({view:t,...n}),state:{init:()=>({open:!1,type:null}),apply(t,e,i){const{open:r,type:o}=t.getMeta(n.pluginKey)||{},s=n.pluginKey?.getState(i);return"boolean"==typeof r?{open:r,type:o}:s||e}}}),a0=new an("bubble-image-form"),Que={interactive:!0,duration:0,maxWidth:"none",trigger:"manual",placement:"bottom-start",hideOnClick:"toggle",popperOptions:{modifiers:[{name:"flip",options:{fallbackPlacements:["top-start"]}}]}},Zue=n=>{let t,e,i,r=!1;function o({editor:d,type:h,getPosition:f}){(function l(d){const{element:h}=d.options;t||!!!h.parentElement||(t=gs(h.parentElement,Que))})(d),function c(d,h){e=n.createComponent(Gh),e.instance.languageId=d.storage.dotConfig.lang,e.instance.type=h,e.instance.onSelectAsset=f=>{u(d,!1),d.chain().insertAsset({type:h,payload:f}).addNextLine().closeAssetForm().run()},e.instance.preventClose=f=>u(d,f),e.instance.onHide=()=>{u(d,!1),s(d)},i=e.location.nativeElement,e.changeDetectorRef.detectChanges()}(d,h),t.setProps({content:i,getReferenceClientRect:f,onClickOutside:()=>s(d)}),t.show()}function s(d){r||(d.commands.closeAssetForm(),t?.hide(),e?.destroy())}function a(){t?.destroy(),e?.destroy()}function u(d,h){r=h,d.setOptions({editable:!h})}return ZS.extend({name:"bubbleAssetForm",addOptions:()=>({element:null,tippyOptions:{},pluginKey:a0}),addCommands:()=>({openAssetForm:({type:d})=>({chain:h})=>h().command(({tr:f})=>(f.setMeta(a0,{open:!0,type:d}),!0)).freezeScroll(!0).run(),closeAssetForm:()=>({chain:d})=>d().command(({tr:h})=>(h.setMeta(a0,{open:!1}),!0)).freezeScroll(!1).run(),insertAsset:({type:d,payload:h,position:f})=>({chain:p})=>{switch(d){case"video":return"string"==typeof h&&p().setYoutubeVideo?.({src:h}).run()||p().insertVideo?.(h,f).run();case"image":return p().insertImage(h,f).run()}}}),addProseMirrorPlugins(){return[Kue({pluginKey:a0,editor:this.editor,render:()=>({onStart:o,onHide:s,onDestroy:a})})]}})};class vg{}vg.\u0275fac=function(t){return new(t||vg)},vg.\u0275mod=et({type:vg}),vg.\u0275inj=ft({imports:[gn]});class Tu{}Tu.\u0275fac=function(t){return new(t||Tu)},Tu.\u0275mod=et({type:Tu}),Tu.\u0275inj=ft({imports:[gn]});const Jue=function(n,t,e){return{"border-width":n,width:t,height:e}};class Yh{constructor(){this.borderSize="",this.size=""}}Yh.\u0275fac=function(t){return new(t||Yh)},Yh.\u0275cmp=we({type:Yh,selectors:[["dot-spinner"]],inputs:{borderSize:"borderSize",size:"size"},decls:1,vars:5,consts:[[3,"ngStyle"]],template:function(t,e){1&t&&_e(0,"div",0),2&t&&_("ngStyle",ul(1,Jue,e.borderSize,e.size,e.size))},dependencies:[ki],styles:["div[_ngcontent-%COMP%]{border-radius:50%;width:2.5rem;height:2.5rem;display:inline-block;vertical-align:middle;font-size:10px;position:relative;text-indent:-9999em;border:.5rem solid var(--color-palette-primary-op-20);border-left-color:var(--color-palette-primary-500);transform:translateZ(0);animation:_ngcontent-%COMP%_load8 1.1s infinite linear;overflow:hidden}.edit-page-variant-mode [_nghost-%COMP%] div[_ngcontent-%COMP%]{border:.5rem solid var(--color-palette-white-op-20);border-left-color:var(--color-palette-white-op-90)}@keyframes _ngcontent-%COMP%_load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]});var qh=(()=>(function(n){n.FILE_TYPE_MISMATCH="FILE_TYPE_MISMATCH",n.MAX_FILE_SIZE_EXCEEDED="MAX_FILE_SIZE_EXCEEDED",n.MULTIPLE_FILES_DROPPED="MULTIPLE_FILES_DROPPED"}(qh||(qh={})),qh))();class l0{constructor(){this.fileDropped=new Q,this.fileDragEnter=new Q,this.fileDragOver=new Q,this.fileDragLeave=new Q,this._accept=[],this.errorsType=[],this._validity={fileTypeMismatch:!1,maxFileSizeExceeded:!1,multipleFilesDropped:!1,errorsType:[],valid:!0}}set accept(t){this._accept=t?.filter(e=>"*/*"!==e).map(e=>e.toLowerCase().replace(/\*/g,""))}get validity(){return this._validity}onDrop(t){t.stopPropagation(),t.preventDefault();const{dataTransfer:e}=t,i=this.getFiles(e),r=1===i?.length?i[0]:null;0!==i.length&&(this.setValidity(i),e.items?.clear(),e.clearData(),this.fileDropped.emit({file:r,validity:this._validity}))}onDragEnter(t){t.stopPropagation(),t.preventDefault(),this.fileDragEnter.emit(!0)}onDragOver(t){t.stopPropagation(),t.preventDefault(),this.fileDragOver.emit(!0)}onDragLeave(t){t.stopPropagation(),t.preventDefault(),this.fileDragLeave.emit(!0)}typeMatch(t){if(!this._accept.length)return!0;const e=t.name.split(".").pop().toLowerCase(),i=t.type.toLowerCase(),r=this._accept.some(o=>i.includes(o)||o.includes(`.${e}`));return r||this.errorsType.push(qh.FILE_TYPE_MISMATCH),r}getFiles(t){const{items:e,files:i}=t;return e?Array.from(e).filter(r=>"file"===r.kind).map(r=>r.getAsFile()):Array.from(i)||[]}isFileTooLong(t){if(!this.maxFileSize)return!1;const e=t.size>this.maxFileSize;return e&&this.errorsType.push(qh.MAX_FILE_SIZE_EXCEEDED),e}multipleFilesDropped(t){const e=t.length>1;return e&&this.errorsType.push(qh.MULTIPLE_FILES_DROPPED),e}setValidity(t){this.errorsType=[];const e=t[0],i=this.multipleFilesDropped(t),r=!this.typeMatch(e),o=this.isFileTooLong(e);this._validity={...this._validity,multipleFilesDropped:i,fileTypeMismatch:r,maxFileSizeExceeded:o,errorsType:this.errorsType,valid:!r&&!o&&!i}}}l0.\u0275fac=function(t){return new(t||l0)},l0.\u0275cmp=we({type:l0,selectors:[["dot-drop-zone"]],hostBindings:function(t,e){1&t&&se("drop",function(r){return e.onDrop(r)})("dragenter",function(r){return e.onDragEnter(r)})("dragover",function(r){return e.onDragOver(r)})("dragleave",function(r){return e.onDragLeave(r)})},inputs:{maxFileSize:"maxFileSize",accept:"accept"},outputs:{fileDropped:"fileDropped",fileDragEnter:"fileDragEnter",fileDragOver:"fileDragOver",fileDragLeave:"fileDragLeave"},standalone:!0,features:[us],ngContentSelectors:["*"],decls:1,vars:0,template:function(t,e){1&t&&($r(),Ii(0))},dependencies:[gn],styles:["[_nghost-%COMP%]{height:100%;width:100%}"],changeDetection:0});class c0{}c0.\u0275fac=function(t){return new(t||c0)},c0.\u0275cmp=we({type:c0,selectors:[["dot-icon"]],inputs:{name:"name",size:"size"},decls:2,vars:3,consts:[[1,"material-icons"]],template:function(t,e){1&t&&(S(0,"i",0),Se(1),E()),2&t&&(cl("font-size",e.size,"px"),b(1),Ct(e.name))},styles:["[_nghost-%COMP%]{display:inline-flex}[tiny][_nghost-%COMP%] i[_ngcontent-%COMP%]{font-size:14px}[big][_nghost-%COMP%] i[_ngcontent-%COMP%]{font-size:24px}[inverted][_nghost-%COMP%] i[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%] i[_ngcontent-%COMP%]{font-size:1.571428571rem;-webkit-user-select:none;user-select:none}"]});class Xs{constructor(t){this.dotMessageService=t}transform(t,e=[]){return t?this.dotMessageService.get(t,...e):""}}Xs.\u0275fac=function(t){return new(t||Xs)(I(To,16))},Xs.\u0275pipe=Hn({name:"dm",type:Xs,pure:!0,standalone:!0});const ede=function(n){return[n]};function tde(n,t){if(1&n&&_e(0,"i",6),2&n){const e=C();_("ngClass",tt(1,ede,e.configuration.icon))}}function nde(n,t){if(1&n&&(S(0,"h2",7),Se(1),E()),2&n){const e=C();b(1),bi(" ",null==e.configuration?null:e.configuration.subtitle," ")}}function ide(n,t){if(1&n){const e=Ne();S(0,"p-button",10),se("onClick",function(){return ee(e),te(C(2).buttonAction.emit())}),E()}2&n&&_("label",C(2).buttonLabel)}function rde(n,t){1&n&&(S(0,"span"),Se(1),Xn(2,"dm"),E()),2&n&&(b(1),Ct(ei(2,1,"dot.common.or.text")))}function ode(n,t){if(1&n&&(it(0),D(1,rde,3,3,"span",5),S(2,"a",11),Se(3),Xn(4,"dm"),E(),rt()),2&n){const e=C(2);b(1),_("ngIf",!e.hideContactUsLink&&e.buttonLabel),b(2),Ct(ei(4,2,"Contact-Us-for-more-Information"))}}function sde(n,t){if(1&n&&(it(0),S(1,"div",8),D(2,ide,1,1,"p-button",9),D(3,ode,5,4,"ng-container",5),E(),rt()),2&n){const e=C();b(2),_("ngIf",e.buttonLabel),b(1),_("ngIf",!e.hideContactUsLink)}}class u0{constructor(){this.hideContactUsLink=!1,this.buttonAction=new Q}}u0.\u0275fac=function(t){return new(t||u0)},u0.\u0275cmp=we({type:u0,selectors:[["dot-empty-container"]],inputs:{configuration:"configuration",buttonLabel:"buttonLabel",hideContactUsLink:"hideContactUsLink"},outputs:{buttonAction:"buttonAction"},standalone:!0,features:[us],decls:7,vars:4,consts:[[1,"message__wrapper","flex","gap-4","flex-column","w-30rem"],["data-Testid","message-principal",1,"message__principal-wrapper","flex","align-items-center","flex-column","gap-2"],["class","message__icon pi","data-Testid","message-icon",3,"ngClass",4,"ngIf"],["data-Testid","message-title",1,"message__title"],["class","message__subtitle","data-Testid","message-subtitle",4,"ngIf"],[4,"ngIf"],["data-Testid","message-icon",1,"message__icon","pi",3,"ngClass"],["data-Testid","message-subtitle",1,"message__subtitle"],["data-Testid","message-extra",1,"message__extra-wrapper","flex","align-items-center","flex-column","gap-2"],["data-Testid","message-button",3,"label","onClick",4,"ngIf"],["data-Testid","message-button",3,"label","onClick"],["data-Testid","message-contact-link","href","https://dotcms.com/contact-us/","target","_blank",1,"message__external-link"]],template:function(t,e){1&t&&(S(0,"div",0)(1,"div",1),D(2,tde,1,3,"i",2),S(3,"h1",3),Se(4),E(),D(5,nde,2,1,"h2",4),E(),D(6,sde,4,2,"ng-container",5),E()),2&t&&(b(2),_("ngIf",null==e.configuration?null:e.configuration.icon),b(2),Ct(null==e.configuration?null:e.configuration.title),b(1),_("ngIf",null==e.configuration?null:e.configuration.subtitle),b(1),_("ngIf",!e.hideContactUsLink||e.buttonLabel))},dependencies:[Vo,JL,$t,qn,Xs],styles:["[_nghost-%COMP%]{height:100%;display:flex;justify-content:center;align-content:center;flex-wrap:wrap}.message__title[_ngcontent-%COMP%], .message__subtitle[_ngcontent-%COMP%]{margin:0;text-align:center;line-height:140%}.message__title[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:700;color:#14151a}.message__subtitle[_ngcontent-%COMP%]{font-size:1rem;font-weight:400;color:#6c7389}.message__icon[_ngcontent-%COMP%]{font-size:3rem;padding:.75rem;color:#6c7389}.message__external-link[_ngcontent-%COMP%]{color:#14151a;text-align:center;font-size:1rem;font-weight:400}"],changeDetection:0});let bg=(()=>{class n{constructor(e,i,r,o,s){this.el=e,this.zone=i,this.config=r,this.renderer=o,this.changeDetector=s,this.escape=!0,this.autoHide=!0,this.fitContent=!0,this._tooltipOptions={tooltipPosition:"right",tooltipEvent:"hover",appendTo:"body",tooltipZIndex:"auto",escape:!0,positionTop:0,positionLeft:0,autoHide:!0}}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this.deactivate()}ngAfterViewInit(){this.zone.runOutsideAngular(()=>{if("hover"===this.getOption("tooltipEvent"))this.mouseEnterListener=this.onMouseEnter.bind(this),this.mouseLeaveListener=this.onMouseLeave.bind(this),this.clickListener=this.onInputClick.bind(this),this.el.nativeElement.addEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.addEventListener("click",this.clickListener),this.el.nativeElement.addEventListener("mouseleave",this.mouseLeaveListener);else if("focus"===this.getOption("tooltipEvent")){this.focusListener=this.onFocus.bind(this),this.blurListener=this.onBlur.bind(this);let e=this.getTarget(this.el.nativeElement);e.addEventListener("focus",this.focusListener),e.addEventListener("blur",this.blurListener)}})}ngOnChanges(e){e.tooltipPosition&&this.setOption({tooltipPosition:e.tooltipPosition.currentValue}),e.tooltipEvent&&this.setOption({tooltipEvent:e.tooltipEvent.currentValue}),e.appendTo&&this.setOption({appendTo:e.appendTo.currentValue}),e.positionStyle&&this.setOption({positionStyle:e.positionStyle.currentValue}),e.tooltipStyleClass&&this.setOption({tooltipStyleClass:e.tooltipStyleClass.currentValue}),e.tooltipZIndex&&this.setOption({tooltipZIndex:e.tooltipZIndex.currentValue}),e.escape&&this.setOption({escape:e.escape.currentValue}),e.showDelay&&this.setOption({showDelay:e.showDelay.currentValue}),e.hideDelay&&this.setOption({hideDelay:e.hideDelay.currentValue}),e.life&&this.setOption({life:e.life.currentValue}),e.positionTop&&this.setOption({positionTop:e.positionTop.currentValue}),e.positionLeft&&this.setOption({positionLeft:e.positionLeft.currentValue}),e.disabled&&this.setOption({disabled:e.disabled.currentValue}),e.text&&(this.setOption({tooltipLabel:e.text.currentValue}),this.active&&(e.text.currentValue?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),e.autoHide&&this.setOption({autoHide:e.autoHide.currentValue}),e.tooltipOptions&&(this._tooltipOptions={...this._tooltipOptions,...e.tooltipOptions.currentValue},this.deactivate(),this.active&&(this.getOption("tooltipLabel")?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide()))}isAutoHide(){return this.getOption("autoHide")}onMouseEnter(e){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(e){(this.isAutoHide()||!(q.hasClass(e.toElement,"p-tooltip")||q.hasClass(e.toElement,"p-tooltip-arrow")||q.hasClass(e.toElement,"p-tooltip-text")||q.hasClass(e.relatedTarget,"p-tooltip")))&&this.deactivate()}onFocus(e){this.activate()}onBlur(e){this.deactivate()}onInputClick(e){this.deactivate()}activate(){if(this.active=!0,this.clearHideTimeout(),this.getOption("showDelay")?this.showTimeout=setTimeout(()=>{this.show()},this.getOption("showDelay")):this.show(),this.getOption("life")){let e=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=>{this.hide()},e)}}deactivate(){this.active=!1,this.clearShowTimeout(),this.getOption("hideDelay")?(this.clearHideTimeout(),this.hideTimeout=setTimeout(()=>{this.hide()},this.getOption("hideDelay"))):this.hide()}create(){this.container&&(this.clearHideTimeout(),this.remove()),this.container=document.createElement("div");let e=document.createElement("div");e.className="p-tooltip-arrow",this.container.appendChild(e),this.tooltipText=document.createElement("div"),this.tooltipText.className="p-tooltip-text",this.updateText(),this.getOption("positionStyle")&&(this.container.style.position=this.getOption("positionStyle")),this.container.appendChild(this.tooltipText),"body"===this.getOption("appendTo")?document.body.appendChild(this.container):"target"===this.getOption("appendTo")?q.appendChild(this.container,this.el.nativeElement):q.appendChild(this.container,this.getOption("appendTo")),this.container.style.display="inline-block",this.fitContent&&(this.container.style.width="fit-content"),this.isAutoHide()||this.bindContainerMouseleaveListener()}bindContainerMouseleaveListener(){this.containerMouseleaveListener||(this.containerMouseleaveListener=this.renderer.listen(this.container??this.container.nativeElement,"mouseleave",i=>{this.deactivate()}))}unbindContainerMouseleaveListener(){this.containerMouseleaveListener&&(this.bindContainerMouseleaveListener(),this.containerMouseleaveListener=null)}show(){!this.getOption("tooltipLabel")||this.getOption("disabled")||(this.create(),this.align(),q.fadeIn(this.container,250),"auto"===this.getOption("tooltipZIndex")?vl.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener())}hide(){"auto"===this.getOption("tooltipZIndex")&&vl.clear(this.container),this.remove()}updateText(){this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(this.getOption("tooltipLabel")))):this.tooltipText.innerHTML=this.getOption("tooltipLabel")}align(){switch(this.getOption("tooltipPosition")){case"top":this.alignTop(),this.isOutOfBounds()&&(this.alignBottom(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"bottom":this.alignBottom(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"left":this.alignLeft(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()));break;case"right":this.alignRight(),this.isOutOfBounds()&&(this.alignLeft(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()))}}getHostOffset(){if("body"===this.getOption("appendTo")||"target"===this.getOption("appendTo")){let e=this.el.nativeElement.getBoundingClientRect();return{left:e.left+q.getWindowScrollLeft(),top:e.top+q.getWindowScrollTop()}}return{left:0,top:0}}alignRight(){this.preAlign("right");let e=this.getHostOffset(),i=e.left+q.getOuterWidth(this.el.nativeElement),r=e.top+(q.getOuterHeight(this.el.nativeElement)-q.getOuterHeight(this.container))/2;this.container.style.left=i+this.getOption("positionLeft")+"px",this.container.style.top=r+this.getOption("positionTop")+"px"}alignLeft(){this.preAlign("left");let e=this.getHostOffset(),i=e.left-q.getOuterWidth(this.container),r=e.top+(q.getOuterHeight(this.el.nativeElement)-q.getOuterHeight(this.container))/2;this.container.style.left=i+this.getOption("positionLeft")+"px",this.container.style.top=r+this.getOption("positionTop")+"px"}alignTop(){this.preAlign("top");let e=this.getHostOffset(),i=e.left+(q.getOuterWidth(this.el.nativeElement)-q.getOuterWidth(this.container))/2,r=e.top-q.getOuterHeight(this.container);this.container.style.left=i+this.getOption("positionLeft")+"px",this.container.style.top=r+this.getOption("positionTop")+"px"}alignBottom(){this.preAlign("bottom");let e=this.getHostOffset(),i=e.left+(q.getOuterWidth(this.el.nativeElement)-q.getOuterWidth(this.container))/2,r=e.top+q.getOuterHeight(this.el.nativeElement);this.container.style.left=i+this.getOption("positionLeft")+"px",this.container.style.top=r+this.getOption("positionTop")+"px"}setOption(e){this._tooltipOptions={...this._tooltipOptions,...e}}getOption(e){return this._tooltipOptions[e]}getTarget(e){return q.hasClass(e,"p-inputwrapper")?q.findSingle(e,"input"):e}preAlign(e){this.container.style.left="-999px",this.container.style.top="-999px";let i="p-tooltip p-component p-tooltip-"+e;this.container.className=this.getOption("tooltipStyleClass")?i+" "+this.getOption("tooltipStyleClass"):i}isOutOfBounds(){let e=this.container.getBoundingClientRect(),i=e.top,r=e.left,o=q.getOuterWidth(this.container),s=q.getOuterHeight(this.container),a=q.getViewport();return r+o>a.width||r<0||i<0||i+s>a.height}onWindowResize(e){this.hide()}bindDocumentResizeListener(){this.zone.runOutsideAngular(()=>{this.resizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.resizeListener)})}unbindDocumentResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new qL(this.el.nativeElement,()=>{this.container&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindEvents(){if("hover"===this.getOption("tooltipEvent"))this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener);else if("focus"===this.getOption("tooltipEvent")){let e=this.getTarget(this.el.nativeElement);e.removeEventListener("focus",this.focusListener),e.removeEventListener("blur",this.blurListener)}this.unbindDocumentResizeListener()}remove(){this.container&&this.container.parentElement&&("body"===this.getOption("appendTo")?document.body.removeChild(this.container):"target"===this.getOption("appendTo")?this.el.nativeElement.removeChild(this.container):q.removeChild(this.container,this.getOption("appendTo"))),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.unbindContainerMouseleaveListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}clearShowTimeout(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout()}ngOnDestroy(){this.unbindEvents(),this.container&&vl.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null)}}return n.\u0275fac=function(e){return new(e||n)(I(Dt),I(Yt),I(bl),I(ar),I(In))},n.\u0275dir=Ce({type:n,selectors:[["","pTooltip",""]],hostAttrs:[1,"p-element"],inputs:{tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",appendTo:"appendTo",positionStyle:"positionStyle",tooltipStyleClass:"tooltipStyleClass",tooltipZIndex:"tooltipZIndex",escape:"escape",showDelay:"showDelay",hideDelay:"hideDelay",life:"life",positionTop:"positionTop",positionLeft:"positionLeft",autoHide:"autoHide",fitContent:"fitContent",text:["pTooltip","text"],disabled:["tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions"},features:[Gi]}),n})(),Du=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})();const ade=function(n){return{"dot-tab-dropdown--active":n}};function lde(n,t){if(1&n){const e=Ne();S(0,"button",7),se("click",function(r){ee(e);const o=C().$implicit;return te(C().onClickDropdown(r,o.value.id))}),_e(1,"i",8),E()}if(2&n){const e=C().$implicit,i=C();_("disabled",e.disabled)("aria-disabled",e.disabled)("ngClass",tt(5,ade,i.activeId===e.value.id)),b(1),Ut(e.value.toggle?i.dropDownOpenIcon:i.dropDownCloseIcon)}}function cde(n,t){1&n&&_e(0,"div",9)}const ude=function(n,t){return{"dot-tab--active":n,"dot-tab__button--right":t}};function dde(n,t){if(1&n){const e=Ne();S(0,"div",2)(1,"div",3)(2,"button",4),se("click",function(r){const s=ee(e).$implicit;return te(C().onClickOption(r,s.value.id))}),Xn(3,"dm"),Se(4),E(),D(5,lde,2,7,"button",5),E(),D(6,cde,1,0,"div",6),E()}if(2&n){const e=t.$implicit,i=C();b(2),_("ngClass",Fn(10,ude,i.activeId===e.value.id,e.value.showDropdownButton))("value",e.value.id)("disabled",e.disabled)("item.disabled",e.disabled)("pTooltip",ei(3,8,"editpage.toolbar."+e.label.toLowerCase()+".page.clipboard")),b(2),bi(" ",e.label," "),b(1),_("ngIf",e.value.showDropdownButton),b(1),_("ngIf",i.activeId===e.value.id)}}class d0{constructor(){this.openMenu=new Q,this.clickOption=new Q,this.dropdownClick=new Q,this._options=[],this.dropDownOpenIcon="pi pi-angle-up",this.dropDownCloseIcon="pi pi-angle-down"}ngOnChanges(t){t.options&&(this._options=this.options.map(e=>({...e,value:{...e.value,toggle:!e.value.showDropdownButton&&void 0}})))}onClickOption(t,e){e===this.activeId&&!this.shouldRefresh(e)||this.clickOption.emit({event:t,optionId:e})}onClickDropdown(t,e){if(!this.shouldOpenMenu(e))return;this._options=this._options.map(o=>(e.includes(o.value.id)&&(o.value.toggle=!o.value.toggle),o));const r=t?.target?.closest(".dot-tab");this.openMenu.emit({event:t,menuId:e,target:r})}resetDropdowns(){this._options=this._options.map(t=>(t.value.toggle=!1,t))}resetDropdownById(t){this._options=this._options.map(e=>(e.value.id===t&&(e.value.toggle=!1),e))}shouldOpenMenu(t){return Boolean(this._options.find(e=>e.value.id===t&&e.value.showDropdownButton))}shouldRefresh(t){return Boolean(this._options.find(e=>e.value.id===t&&e.value.shouldRefresh))}}function hde(n,t){if(1&n&&(S(0,"small",1),Se(1),Xn(2,"dm"),E()),2&n){const e=C();b(1),bi(" ",ei(2,1,e.errorMsg),"\n")}}d0.\u0275fac=function(t){return new(t||d0)},d0.\u0275cmp=we({type:d0,selectors:[["dot-tab-buttons"]],inputs:{activeId:"activeId",options:"options"},outputs:{openMenu:"openMenu",clickOption:"clickOption",dropdownClick:"dropdownClick"},standalone:!0,features:[Gi,us],decls:2,vars:1,consts:[[1,"dot-tab-buttons"],["class","dot-tab-buttons__container",4,"ngFor","ngForOf"],[1,"dot-tab-buttons__container"],["data-testId","dot-tab-container",1,"dot-tab"],["data-testId","dot-tab-button-text","tooltipPosition","bottom",1,"dot-tab__button",3,"ngClass","value","disabled","item.disabled","pTooltip","click"],["class","dot-tab__dropdown","data-testId","dot-tab-button-dropdown",3,"disabled","aria-disabled","ngClass","click",4,"ngIf"],["class","dot-tab-indicator","data-testId","dot-tab-button",4,"ngIf"],["data-testId","dot-tab-button-dropdown",1,"dot-tab__dropdown",3,"disabled","aria-disabled","ngClass","click"],["data-testId","dot-tab-icon",1,"dot-tab-dropdown__icon","pi"],["data-testId","dot-tab-button",1,"dot-tab-indicator"]],template:function(t,e){1&t&&(S(0,"div",0),D(1,dde,7,13,"div",1),E()),2&t&&(b(1),_("ngForOf",e._options))},dependencies:[Er,Vo,$t,qn,Du,bg,Xs],styles:[".dot-tab-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:.5rem;margin-right:2rem;font-size:1rem}.dot-tab-buttons__container[_ngcontent-%COMP%]{position:relative}.dot-tab[_ngcontent-%COMP%]{display:flex;position:relative}.dot-tab[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-size:1rem;cursor:pointer}.dot-tab__button[_ngcontent-%COMP%]{border:1.5px solid #f3f3f4;color:var(--color-palette-primary-500);background-color:transparent;padding:.5rem 1rem;border-radius:.375rem;height:2.5rem;font-family:Assistant,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif}.dot-tab__button[_ngcontent-%COMP%]:hover{background:var(--color-palette-primary-100)}.dot-tab__button[_ngcontent-%COMP%]:disabled{cursor:not-allowed;background-color:#fafafb;color:#afb3c0}.dot-tab__button--right[_ngcontent-%COMP%]{border-top-right-radius:0;border-bottom-right-radius:0;border-right:0}.dot-tab__dropdown[_ngcontent-%COMP%]{background-color:transparent;border:1.5px solid #f3f3f4;height:2.5rem;border-top-right-radius:.375rem;border-bottom-right-radius:.375rem;border-left:0;padding:.5rem;color:var(--color-palette-primary-500)}.dot-tab__dropdown[_ngcontent-%COMP%]:hover{background:var(--color-palette-primary-200)}.dot-tab__dropdown[_ngcontent-%COMP%]:disabled{cursor:not-allowed;background-color:#fafafb;color:#afb3c0}.dot-tab-indicator[_ngcontent-%COMP%]{height:.25rem;border-radius:1rem;width:auto;background-color:var(--color-palette-primary-500);left:0;right:0;bottom:-.6rem;position:absolute}.dot-tab--active[_ngcontent-%COMP%]{background:var(--color-palette-primary-100);border-radius:.375rem;border-color:#fff}.dot-tab--active.dot-tab__button--right[_ngcontent-%COMP%]{border-color:#fff;border-top-right-radius:0;border-bottom-right-radius:0}.dot-tab-dropdown--active[_ngcontent-%COMP%]{background:var(--color-palette-primary-200);border-color:#fff}.dot-tab-dropdown__icon[_ngcontent-%COMP%]{width:1.5rem;display:flex;align-items:center;justify-content:center}"]});const h0={maxlength:"error.form.validator.maxlength",required:"error.form.validator.required",pattern:"error.form.validator.pattern"};class Cg{constructor(t,e){this.cd=t,this.dotMessageService=e,this.errorMsg="",this.destroy$=new ue}set message(t){this.defaultMessage=t,this.cd.markForCheck()}set field(t){t&&(this._field=t,t.statusChanges.pipe(yn(this.destroy$)).subscribe(()=>{this.errorMsg=this.getErrors(t.errors),this.cd.detectChanges()}))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}getErrors(t){let e=[];return t&&(e=[...this.getMsgDefaultValidators(t),...this.getMsgCustomsValidators(t)]),this.defaultMessage?this.defaultMessage:e.slice(0,1)[0]}getMsgDefaultValidators(t){let e=[];return Object.entries(t).forEach(([i,r])=>{if(i in h0){let o="";const{requiredLength:s,requiredPattern:a}=r;switch(i){case"maxlength":o=this.dotMessageService.get(h0[i],s);break;case"pattern":o=this.dotMessageService.get(this.patternErrorMessage||h0[i],a);break;default:o=h0[i]}e=[...e,o]}}),e}getMsgCustomsValidators(t){let e=[];return Object.entries(t).forEach(([,i])=>{"string"==typeof i&&(e=[...e,i])}),e}}Cg.\u0275fac=function(t){return new(t||Cg)(I(In),I(To))},Cg.\u0275cmp=we({type:Cg,selectors:[["dot-field-validation-message"]],inputs:{patternErrorMessage:"patternErrorMessage",message:"message",field:"field"},standalone:!0,features:[us],decls:1,vars:1,consts:[["class","p-invalid","data-testId","error-msg",4,"ngIf"],["data-testId","error-msg",1,"p-invalid"]],template:function(t,e){1&t&&D(0,hde,3,3,"small",0),2&t&&_("ngIf",e._field&&e._field.enabled&&e._field.dirty&&!e._field.valid)},dependencies:[$t,Xs],encapsulation:2,changeDetection:0});class Mu{copy(t){const e=document.createElement("textarea");let i;return e.style.position="fixed",e.style.top="0",e.style.left="0",e.style.opacity="0",e.value=t,document.body.appendChild(e),e.select(),new Promise((r,o)=>{try{i=document.execCommand("copy"),r(i)}catch{o(i)}document.body.removeChild(e)})}}function fde(n,t){if(1&n&&(S(0,"span",3),Se(1),E()),2&n){const e=C();b(1),Ct(e.label)}}Mu.\u0275fac=function(t){return new(t||Mu)},Mu.\u0275prov=H({token:Mu,factory:Mu.\u0275fac});class f0{constructor(t,e){this.dotClipboardUtil=t,this.dotMessageService=e,this.copy=""}ngOnInit(){this.tooltipText=this.tooltipText||this.dotMessageService.get("Copy")}copyUrlToClipboard(t){t.stopPropagation(),this.dotClipboardUtil.copy(this.copy).then(()=>{const e=this.tooltipText;this.tooltipText=this.dotMessageService.get("Copied"),setTimeout(()=>{this.tooltipText=e},1e3)}).catch(()=>{this.tooltipText="Error"})}}function pde(n,t){if(1&n){const e=Ne();S(0,"img",4),se("error",function(){return ee(e),te(C().handleError())}),E()}if(2&n){const e=C();_("src",e.src,ss)("title",e.name)("alt",e.name)}}function mde(n,t){if(1&n){const e=Ne();S(0,"video",5),se("error",function(){return ee(e),te(C().handleError())}),_e(1,"source",6),E()}if(2&n){const e=C();b(1),_("src",e.src,ss)}}f0.\u0275fac=function(t){return new(t||f0)(I(Mu),I(To))},f0.\u0275cmp=we({type:f0,selectors:[["dot-copy-button"]],inputs:{copy:"copy",label:"label",tooltipText:"tooltipText"},standalone:!0,features:[Pt([Mu]),us],decls:3,vars:2,consts:[["pButton","","type","button","appendTo","body","hideDelay","800","tooltipPosition","bottom",1,"p-button-sm","p-button-text",3,"pTooltip","click"],[1,"pi","pi-copy"],["class","p-button-label",4,"ngIf"],[1,"p-button-label"]],template:function(t,e){1&t&&(S(0,"button",0),se("click",function(r){return e.copyUrlToClipboard(r)}),_e(1,"i",1),D(2,fde,2,1,"span",2),E()),2&t&&(_("pTooltip",e.tooltipText),b(2),_("ngIf",!!e.label))},dependencies:[Du,bg,Vo,bo,$t],changeDetection:0});const gde=function(n){return["pi",n]},yde=function(n){return{"font-size":n,color:"var(--color-palette-secondary-400)"}};function _de(n,t){if(1&n&&_e(0,"i",7),2&n){const e=C();_("ngClass",tt(2,gde,e.thumbnailIcon))("ngStyle",tt(4,yde,e.iconSize))}}const vde={html:"pi-file",pdf:"pi-file-pdf",image:"pi-image",video:"pi-video",msword:"pi-file-word",doc:"pi-file-word",docx:"pi-file-word"};var Kh=(()=>(function(n){n.image="image",n.video="video",n.icon="icon"}(Kh||(Kh={})),Kh))();class p0{constructor(){this.CONTENT_THUMBNAIL_TYPE=Kh,this.DEFAULT_ICON="pi-file",this.thumbnailUrlMap={image:this.getImageThumbnailUrl.bind(this),video:this.getVideoThumbnailUrl.bind(this),pdf:this.getPdfThumbnailUrl.bind(this)}}get iconSize(){return this._iconSize||"1rem"}get name(){return this._name||""}ngOnInit(){this.buildThumbnail()}handleError(){this.thumbnailType=this.CONTENT_THUMBNAIL_TYPE.icon}setProperties(){const{tempUrl:t,inode:e,name:i,contentType:r,titleImage:o,iconSize:s}=this.dotThumbanilOptions;this._tempUrl=t,this._inode=e,this._name=i,this._contentType=r,this._titleImage=o,this._iconSize=s,this._type=this._contentType.split("/")[0]}buildThumbnail(){this.setProperties(),this.setSrc(),this.setThumbnailType(),this.setThumbnailIcon()}setThumbnailType(){this.thumbnailType=Kh[this._type]||Kh.icon}setSrc(){this.src=this._tempUrl||this.thumbnailUrlMap[this._type]?.()}setThumbnailIcon(){const t=this._name.split(".").pop();this.thumbnailIcon=vde[t]||this.DEFAULT_ICON}getPdfThumbnailUrl(){return`/contentAsset/image/${this._inode}/${this._titleImage}/pdf_page/1/resize_w/250/quality_q/45`}getImageThumbnailUrl(){return`/dA/${this._inode}/500w/50q`}getVideoThumbnailUrl(){return`/dA/${this._inode}`}}p0.\u0275fac=function(t){return new(t||p0)},p0.\u0275cmp=we({type:p0,selectors:[["dot-content-thumbnail"]],inputs:{dotThumbanilOptions:"dotThumbanilOptions"},standalone:!0,features:[us],decls:4,vars:3,consts:[[3,"ngSwitch"],["data-testId","thumbail-image",3,"src","title","alt","error",4,"ngSwitchCase"],["controls","","data-testId","thumbail-video",3,"error",4,"ngSwitchCase"],["data-testId","thumbail-icon",3,"ngClass","ngStyle",4,"ngSwitchDefault"],["data-testId","thumbail-image",3,"src","title","alt","error"],["controls","","data-testId","thumbail-video",3,"error"],[3,"src"],["data-testId","thumbail-icon",3,"ngClass","ngStyle"]],template:function(t,e){1&t&&(it(0,0),D(1,pde,1,3,"img",1),D(2,mde,2,1,"video",2),D(3,_de,1,6,"i",3),rt()),2&t&&(_("ngSwitch",e.thumbnailType),b(1),_("ngSwitchCase",e.CONTENT_THUMBNAIL_TYPE.image),b(1),_("ngSwitchCase",e.CONTENT_THUMBNAIL_TYPE.video))},dependencies:[gn,qn,ki,Nc,yp,_p],styles:["[_nghost-%COMP%]{width:100%;height:100%;justify-content:center;align-items:center;display:flex}[_nghost-%COMP%] img[_ngcontent-%COMP%], [_nghost-%COMP%] video[_ngcontent-%COMP%]{width:100%;height:100%}[_nghost-%COMP%] img[_ngcontent-%COMP%]{object-fit:cover}[_nghost-%COMP%] i[_ngcontent-%COMP%]{color:var(--color-palette-secondary-400)}"],changeDetection:0});class wg{constructor(t,e,i){this.el=t,this.renderer=e,this.formGroupDirective=i,e.addClass(this.el.nativeElement,"p-label-input-required")}set checkIsRequiredControl(t){this.isRequiredControl(t)||this.renderer.removeClass(this.el.nativeElement,"p-label-input-required")}isRequiredControl(t){const e=this.formGroupDirective.control?.get(t);return!(!e||!e.hasValidator(Hd.required))}}wg.\u0275fac=function(t){return new(t||wg)(I(Dt),I(ar),I(Aa))},wg.\u0275dir=Ce({type:wg,selectors:[["","dotFieldRequired",""]],inputs:{checkIsRequiredControl:"checkIsRequiredControl"},standalone:!0});class m0{constructor(){this.confirmationService=st(WL)}onPressEscape(){this.confirmationService.close()}}m0.\u0275fac=function(t){return new(t||m0)},m0.\u0275dir=Ce({type:m0,selectors:[["p-confirmPopup","dotRemoveConfirmPopupWithEscape",""]],hostBindings:function(t,e){1&t&&se("keydown.escape",function(r){return e.onPressEscape(r)},0,uO)},standalone:!0});let iz=(()=>{class n{constructor(e){this.host=e,this.focused=!1}ngAfterViewChecked(){if(!this.focused&&this.autofocus){const e=q.getFocusableElements(this.host.nativeElement);0===e.length&&this.host.nativeElement.focus(),e.length>0&&e[0].focus(),this.focused=!0}}}return n.\u0275fac=function(e){return new(e||n)(I(Dt))},n.\u0275dir=Ce({type:n,selectors:[["","pAutoFocus",""]],hostAttrs:[1,"p-element"],inputs:{autofocus:"autofocus"}}),n})(),bde=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})();const Cde=["overlay"],wde=["content"];function Tde(n,t){1&n&&Je(0)}const Dde=function(n,t,e){return{showTransitionParams:n,hideTransitionParams:t,transform:e}},Mde=function(n){return{value:"visible",params:n}},Sde=function(n){return{mode:n}},Ede=function(n){return{$implicit:n}};function xde(n,t){if(1&n){const e=Ne();S(0,"div",1,3),se("click",function(r){return ee(e),te(C(2).onOverlayContentClick(r))})("@overlayContentAnimation.start",function(r){return ee(e),te(C(2).onOverlayContentAnimationStart(r))})("@overlayContentAnimation.done",function(r){return ee(e),te(C(2).onOverlayContentAnimationDone(r))}),Ii(2),D(3,Tde,1,0,"ng-container",4),E()}if(2&n){const e=C(2);Ut(e.contentStyleClass),_("ngStyle",e.contentStyle)("ngClass","p-overlay-content")("@overlayContentAnimation",tt(11,Mde,ul(7,Dde,e.showTransitionOptions,e.hideTransitionOptions,e.transformOptions[e.modal?e.overlayResponsiveDirection:"default"]))),b(3),_("ngTemplateOutlet",e.contentTemplate)("ngTemplateOutletContext",tt(15,Ede,tt(13,Sde,e.overlayMode)))}}const Ide=function(n,t,e,i,r,o,s,a,l,c,u,d,h,f){return{"p-overlay p-component":!0,"p-overlay-modal p-component-overlay p-component-overlay-enter":n,"p-overlay-center":t,"p-overlay-top":e,"p-overlay-top-start":i,"p-overlay-top-end":r,"p-overlay-bottom":o,"p-overlay-bottom-start":s,"p-overlay-bottom-end":a,"p-overlay-left":l,"p-overlay-left-start":c,"p-overlay-left-end":u,"p-overlay-right":d,"p-overlay-right-start":h,"p-overlay-right-end":f}};function Ode(n,t){if(1&n){const e=Ne();S(0,"div",1,2),se("click",function(r){return ee(e),te(C().onOverlayClick(r))}),D(2,xde,4,17,"div",0),E()}if(2&n){const e=C();Ut(e.styleClass),_("ngStyle",e.style)("ngClass",wT(5,Ide,[e.modal,e.modal&&"center"===e.overlayResponsiveDirection,e.modal&&"top"===e.overlayResponsiveDirection,e.modal&&"top-start"===e.overlayResponsiveDirection,e.modal&&"top-end"===e.overlayResponsiveDirection,e.modal&&"bottom"===e.overlayResponsiveDirection,e.modal&&"bottom-start"===e.overlayResponsiveDirection,e.modal&&"bottom-end"===e.overlayResponsiveDirection,e.modal&&"left"===e.overlayResponsiveDirection,e.modal&&"left-start"===e.overlayResponsiveDirection,e.modal&&"left-end"===e.overlayResponsiveDirection,e.modal&&"right"===e.overlayResponsiveDirection,e.modal&&"right-start"===e.overlayResponsiveDirection,e.modal&&"right-end"===e.overlayResponsiveDirection])),b(2),_("ngIf",e.visible)}}const Ade=["*"],kde={provide:Qi,useExisting:Ft(()=>tE),multi:!0},Nde=cv([mi({transform:"{{transform}}",opacity:0}),Na("{{showTransitionParams}}")]),Pde=cv([Na("{{hideTransitionParams}}",mi({transform:"{{transform}}",opacity:0}))]);let tE=(()=>{class n{constructor(e,i,r,o,s,a){this.document=e,this.el=i,this.renderer=r,this.config=o,this.overlayService=s,this.zone=a,this.visibleChange=new Q,this.onBeforeShow=new Q,this.onShow=new Q,this.onBeforeHide=new Q,this.onHide=new Q,this.onAnimationStart=new Q,this.onAnimationDone=new Q,this._visible=!1,this.modalVisible=!1,this.isOverlayClicked=!1,this.isOverlayContentClicked=!1,this.transformOptions={default:"scaleY(0.8)",center:"scale(0.7)",top:"translate3d(0px, -100%, 0px)","top-start":"translate3d(0px, -100%, 0px)","top-end":"translate3d(0px, -100%, 0px)",bottom:"translate3d(0px, 100%, 0px)","bottom-start":"translate3d(0px, 100%, 0px)","bottom-end":"translate3d(0px, 100%, 0px)",left:"translate3d(-100%, 0px, 0px)","left-start":"translate3d(-100%, 0px, 0px)","left-end":"translate3d(-100%, 0px, 0px)",right:"translate3d(100%, 0px, 0px)","right-start":"translate3d(100%, 0px, 0px)","right-end":"translate3d(100%, 0px, 0px)"},this.window=this.document.defaultView}get visible(){return this._visible}set visible(e){this._visible=e,this._visible&&!this.modalVisible&&(this.modalVisible=!0)}get mode(){return this._mode||this.overlayOptions?.mode}set mode(e){this._mode=e}get style(){return wt.merge(this._style,this.modal?this.overlayResponsiveOptions?.style:this.overlayOptions?.style)}set style(e){this._style=e}get styleClass(){return wt.merge(this._styleClass,this.modal?this.overlayResponsiveOptions?.styleClass:this.overlayOptions?.styleClass)}set styleClass(e){this._styleClass=e}get contentStyle(){return wt.merge(this._contentStyle,this.modal?this.overlayResponsiveOptions?.contentStyle:this.overlayOptions?.contentStyle)}set contentStyle(e){this._contentStyle=e}get contentStyleClass(){return wt.merge(this._contentStyleClass,this.modal?this.overlayResponsiveOptions?.contentStyleClass:this.overlayOptions?.contentStyleClass)}set contentStyleClass(e){this._contentStyleClass=e}get target(){const e=this._target||this.overlayOptions?.target;return void 0===e?"@prev":e}set target(e){this._target=e}get appendTo(){return this._appendTo||this.overlayOptions?.appendTo}set appendTo(e){this._appendTo=e}get autoZIndex(){const e=this._autoZIndex||this.overlayOptions?.autoZIndex;return void 0===e||e}set autoZIndex(e){this._autoZIndex=e}get baseZIndex(){const e=this._baseZIndex||this.overlayOptions?.baseZIndex;return void 0===e?0:e}set baseZIndex(e){this._baseZIndex=e}get showTransitionOptions(){const e=this._showTransitionOptions||this.overlayOptions?.showTransitionOptions;return void 0===e?".12s cubic-bezier(0, 0, 0.2, 1)":e}set showTransitionOptions(e){this._showTransitionOptions=e}get hideTransitionOptions(){const e=this._hideTransitionOptions||this.overlayOptions?.hideTransitionOptions;return void 0===e?".1s linear":e}set hideTransitionOptions(e){this._hideTransitionOptions=e}get listener(){return this._listener||this.overlayOptions?.listener}set listener(e){this._listener=e}get responsive(){return this._responsive||this.overlayOptions?.responsive}set responsive(e){this._responsive=e}get options(){return this._options}set options(e){this._options=e}get modal(){return"modal"===this.mode||this.overlayResponsiveOptions&&this.window?.matchMedia(this.overlayResponsiveOptions.media?.replace("@media","")||`(max-width: ${this.overlayResponsiveOptions.breakpoint})`).matches}get overlayMode(){return this.mode||(this.modal?"modal":"overlay")}get overlayOptions(){return{...this.config?.overlayOptions,...this.options}}get overlayResponsiveOptions(){return{...this.overlayOptions?.responsive,...this.responsive}}get overlayResponsiveDirection(){return this.overlayResponsiveOptions?.direction||"center"}get overlayEl(){return this.overlayViewChild?.nativeElement}get contentEl(){return this.contentViewChild?.nativeElement}get targetEl(){return q.getTargetElement(this.target,this.el?.nativeElement)}ngAfterContentInit(){this.templates?.forEach(e=>{e.getType(),this.contentTemplate=e.template})}show(e,i=!1){this.onVisibleChange(!0),this.handleEvents("onShow",{overlay:e||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),i&&q.focus(this.targetEl),this.modal&&q.addClass(this.document?.body,"p-overflow-hidden")}hide(e,i=!1){this.visible&&(this.onVisibleChange(!1),this.handleEvents("onHide",{overlay:e||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),i&&q.focus(this.targetEl),this.modal&&q.removeClass(this.document?.body,"p-overflow-hidden"))}alignOverlay(){!this.modal&&q.alignOverlay(this.overlayEl,this.targetEl,this.appendTo)}onVisibleChange(e){this._visible=e,this.visibleChange.emit(e)}onOverlayClick(e){this.isOverlayClicked=!0}onOverlayContentClick(e){this.overlayService.add({originalEvent:e,target:this.targetEl}),this.isOverlayContentClicked=!0}onOverlayContentAnimationStart(e){switch(e.toState){case"visible":this.handleEvents("onBeforeShow",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.autoZIndex&&vl.set(this.overlayMode,this.overlayEl,this.baseZIndex+this.config?.zIndex[this.overlayMode]),q.appendOverlay(this.overlayEl,"body"===this.appendTo?this.document.body:this.appendTo,this.appendTo),this.alignOverlay();break;case"void":this.handleEvents("onBeforeHide",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.modal&&q.addClass(this.overlayEl,"p-component-overlay-leave")}this.handleEvents("onAnimationStart",e)}onOverlayContentAnimationDone(e){const i=this.overlayEl||e.element.parentElement;switch(e.toState){case"visible":this.show(i,!0),this.bindListeners();break;case"void":this.hide(i,!0),this.unbindListeners(),q.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),vl.clear(i),this.modalVisible=!1}this.handleEvents("onAnimationDone",e)}handleEvents(e,i){this[e].emit(i),this.options&&this.options[e]&&this.options[e](i),this.config?.overlayOptions&&this.config?.overlayOptions[e]&&this.config?.overlayOptions[e](i)}bindListeners(){this.bindScrollListener(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindDocumentKeyboardListener()}unbindListeners(){this.unbindScrollListener(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindDocumentKeyboardListener()}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new qL(this.targetEl,e=>{(!this.listener||this.listener(e,{type:"scroll",mode:this.overlayMode,valid:!0}))&&this.hide(e,!0)})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.document,"click",e=>{const r=!(this.targetEl&&(this.targetEl.isSameNode(e.target)||!this.isOverlayClicked&&this.targetEl.contains(e.target))||this.isOverlayContentClicked);(this.listener?this.listener(e,{type:"outside",mode:this.overlayMode,valid:3!==e.which&&r}):r)&&this.hide(e),this.isOverlayClicked=this.isOverlayContentClicked=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener||(this.documentResizeListener=this.renderer.listen(this.window,"resize",e=>{(this.listener?this.listener(e,{type:"resize",mode:this.overlayMode,valid:!q.isTouchDevice()}):!q.isTouchDevice())&&this.hide(e,!0)}))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindDocumentKeyboardListener(){this.documentKeyboardListener||this.zone.runOutsideAngular(()=>{this.documentKeyboardListener=this.renderer.listen(this.window,"keydown",e=>{this.overlayOptions.hideOnEscape&&27===e.keyCode&&(this.listener?this.listener(e,{type:"keydown",mode:this.overlayMode,valid:!q.isTouchDevice()}):!q.isTouchDevice())&&this.zone.run(()=>{this.hide(e,!0)})})})}unbindDocumentKeyboardListener(){this.documentKeyboardListener&&(this.documentKeyboardListener(),this.documentKeyboardListener=null)}ngOnDestroy(){this.hide(this.overlayEl,!0),this.overlayEl&&(q.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),vl.clear(this.overlayEl)),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.unbindListeners()}}return n.\u0275fac=function(e){return new(e||n)(I(jn),I(Dt),I(ar),I(bl),I(YL),I(Yt))},n.\u0275cmp=we({type:n,selectors:[["p-overlay"]],contentQueries:function(e,i,r){if(1&e&&Yn(r,Pi,4),2&e){let o;Ve(o=Be())&&(i.templates=o)}},viewQuery:function(e,i){if(1&e&&(Mt(Cde,5),Mt(wde,5)),2&e){let r;Ve(r=Be())&&(i.overlayViewChild=r.first),Ve(r=Be())&&(i.contentViewChild=r.first)}},hostAttrs:[1,"p-element"],inputs:{visible:"visible",mode:"mode",style:"style",styleClass:"styleClass",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",target:"target",appendTo:"appendTo",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",listener:"listener",responsive:"responsive",options:"options"},outputs:{visibleChange:"visibleChange",onBeforeShow:"onBeforeShow",onShow:"onShow",onBeforeHide:"onBeforeHide",onHide:"onHide",onAnimationStart:"onAnimationStart",onAnimationDone:"onAnimationDone"},features:[Pt([kde])],ngContentSelectors:Ade,decls:1,vars:1,consts:[[3,"ngStyle","class","ngClass","click",4,"ngIf"],[3,"ngStyle","ngClass","click"],["overlay",""],["content",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,i){1&e&&($r(),D(0,Ode,3,20,"div",0)),2&e&&_("ngIf",i.modalVisible)},dependencies:[qn,$t,qr,ki],styles:[".p-overlay{position:absolute;top:0;left:0}.p-overlay-modal{display:flex;align-items:center;justify-content:center;position:fixed;top:0;left:0;width:100%;height:100%}.p-overlay-content{transform-origin:inherit}.p-overlay-modal>.p-overlay-content{z-index:1;width:90%}.p-overlay-top{align-items:flex-start}.p-overlay-top-start{align-items:flex-start;justify-content:flex-start}.p-overlay-top-end{align-items:flex-start;justify-content:flex-end}.p-overlay-bottom{align-items:flex-end}.p-overlay-bottom-start{align-items:flex-end;justify-content:flex-start}.p-overlay-bottom-end{align-items:flex-end;justify-content:flex-end}.p-overlay-left{justify-content:flex-start}.p-overlay-left-start{justify-content:flex-start;align-items:flex-start}.p-overlay-left-end{justify-content:flex-start;align-items:flex-end}.p-overlay-right{justify-content:flex-end}.p-overlay-right-start{justify-content:flex-end;align-items:flex-start}.p-overlay-right-end{justify-content:flex-end;align-items:flex-end}\n"],encapsulation:2,data:{animation:[xp("overlayContentAnimation",[Pa(":enter",[uv(Nde)]),Pa(":leave",[uv(Pde)])])]},changeDetection:0}),n})();const Lde=["element"],Rde=["content"];function Fde(n,t){1&n&&Je(0)}const nE=function(n,t){return{$implicit:n,options:t}};function jde(n,t){if(1&n&&(it(0),D(1,Fde,1,0,"ng-container",7),rt()),2&n){const e=C(2);b(1),_("ngTemplateOutlet",e.contentTemplate)("ngTemplateOutletContext",Fn(2,nE,e.loadedItems,e.getContentOptions()))}}function zde(n,t){1&n&&Je(0)}function Vde(n,t){if(1&n&&(it(0),D(1,zde,1,0,"ng-container",7),rt()),2&n){const e=t.$implicit,i=t.index,r=C(3);b(1),_("ngTemplateOutlet",r.itemTemplate)("ngTemplateOutletContext",Fn(2,nE,e,r.getOptions(i)))}}const Bde=function(n){return{"p-scroller-loading":n}};function Ude(n,t){if(1&n&&(S(0,"div",8,9),D(2,Vde,2,5,"ng-container",10),E()),2&n){const e=C(2);_("ngClass",tt(4,Bde,e.d_loading))("ngStyle",e.contentStyle),b(2),_("ngForOf",e.loadedItems)("ngForTrackBy",e._trackBy||e.index)}}function Hde(n,t){1&n&&_e(0,"div",11),2&n&&_("ngStyle",C(2).spacerStyle)}function $de(n,t){1&n&&Je(0)}const Wde=function(n){return{numCols:n}},rz=function(n){return{options:n}};function Gde(n,t){if(1&n&&(it(0),D(1,$de,1,0,"ng-container",7),rt()),2&n){const e=t.index,i=C(4);b(1),_("ngTemplateOutlet",i.loaderTemplate)("ngTemplateOutletContext",tt(4,rz,i.getLoaderOptions(e,i.both&&tt(2,Wde,i._numItemsInViewport.cols))))}}function Yde(n,t){if(1&n&&(it(0),D(1,Gde,2,6,"ng-container",14),rt()),2&n){const e=C(3);b(1),_("ngForOf",e.loaderArr)}}function qde(n,t){1&n&&Je(0)}const Kde=function(){return{styleClass:"p-scroller-loading-icon"}};function Qde(n,t){if(1&n&&(it(0),D(1,qde,1,0,"ng-container",7),rt()),2&n){const e=C(4);b(1),_("ngTemplateOutlet",e.loaderIconTemplate)("ngTemplateOutletContext",tt(3,rz,cr(2,Kde)))}}function Zde(n,t){1&n&&_e(0,"i",16)}function Jde(n,t){if(1&n&&(D(0,Qde,2,5,"ng-container",0),D(1,Zde,1,0,"ng-template",null,15,Mn)),2&n){const e=Bt(2);_("ngIf",C(3).loaderIconTemplate)("ngIfElse",e)}}const Xde=function(n){return{"p-component-overlay":n}};function ehe(n,t){if(1&n&&(S(0,"div",12),D(1,Yde,2,1,"ng-container",0),D(2,Jde,3,2,"ng-template",null,13,Mn),E()),2&n){const e=Bt(3),i=C(2);_("ngClass",tt(3,Xde,!i.loaderTemplate)),b(1),_("ngIf",i.loaderTemplate)("ngIfElse",e)}}const the=function(n,t,e){return{"p-scroller":!0,"p-scroller-inline":n,"p-both-scroll":t,"p-horizontal-scroll":e}};function nhe(n,t){if(1&n){const e=Ne();it(0),S(1,"div",2,3),se("scroll",function(r){return ee(e),te(C().onContainerScroll(r))}),D(3,jde,2,5,"ng-container",0),D(4,Ude,3,6,"ng-template",null,4,Mn),D(6,Hde,1,1,"div",5),D(7,ehe,4,5,"div",6),E(),rt()}if(2&n){const e=Bt(5),i=C();b(1),Ut(i._styleClass),_("ngStyle",i._style)("ngClass",ul(10,the,i.inline,i.both,i.horizontal)),bt("id",i._id)("tabindex",i.tabindex),b(2),_("ngIf",i.contentTemplate)("ngIfElse",e),b(3),_("ngIf",i._showSpacer),b(1),_("ngIf",!i.loaderDisabled&&i._showLoader&&i.d_loading)}}function ihe(n,t){1&n&&Je(0)}const rhe=function(n,t){return{rows:n,columns:t}};function ohe(n,t){if(1&n&&(it(0),D(1,ihe,1,0,"ng-container",7),rt()),2&n){const e=C(2);b(1),_("ngTemplateOutlet",e.contentTemplate)("ngTemplateOutletContext",Fn(5,nE,e.items,Fn(2,rhe,e._items,e.loadedColumns)))}}function she(n,t){if(1&n&&(Ii(0),D(1,ohe,2,8,"ng-container",17)),2&n){const e=C();b(1),_("ngIf",e.contentTemplate)}}const ahe=["*"];let iE=(()=>{class n{constructor(e,i){this.cd=e,this.zone=i,this.onLazyLoad=new Q,this.onScroll=new Q,this.onScrollIndexChange=new Q,this._tabindex=0,this._itemSize=0,this._orientation="vertical",this._step=0,this._delay=0,this._resizeDelay=10,this._appendOnly=!1,this._inline=!1,this._lazy=!1,this._disabled=!1,this._loaderDisabled=!1,this._showSpacer=!0,this._showLoader=!1,this._autoSize=!1,this.d_loading=!1,this.first=0,this.last=0,this.page=0,this.isRangeChanged=!1,this.numItemsInViewport=0,this.lastScrollPos=0,this.lazyLoadState={},this.loaderArr=[],this.spacerStyle={},this.contentStyle={},this.initialized=!1}get id(){return this._id}set id(e){this._id=e}get style(){return this._style}set style(e){this._style=e}get styleClass(){return this._styleClass}set styleClass(e){this._styleClass=e}get tabindex(){return this._tabindex}set tabindex(e){this._tabindex=e}get items(){return this._items}set items(e){this._items=e}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=e}get scrollHeight(){return this._scrollHeight}set scrollHeight(e){this._scrollHeight=e}get scrollWidth(){return this._scrollWidth}set scrollWidth(e){this._scrollWidth=e}get orientation(){return this._orientation}set orientation(e){this._orientation=e}get step(){return this._step}set step(e){this._step=e}get delay(){return this._delay}set delay(e){this._delay=e}get resizeDelay(){return this._resizeDelay}set resizeDelay(e){this._resizeDelay=e}get appendOnly(){return this._appendOnly}set appendOnly(e){this._appendOnly=e}get inline(){return this._inline}set inline(e){this._inline=e}get lazy(){return this._lazy}set lazy(e){this._lazy=e}get disabled(){return this._disabled}set disabled(e){this._disabled=e}get loaderDisabled(){return this._loaderDisabled}set loaderDisabled(e){this._loaderDisabled=e}get columns(){return this._columns}set columns(e){this._columns=e}get showSpacer(){return this._showSpacer}set showSpacer(e){this._showSpacer=e}get showLoader(){return this._showLoader}set showLoader(e){this._showLoader=e}get numToleratedItems(){return this._numToleratedItems}set numToleratedItems(e){this._numToleratedItems=e}get loading(){return this._loading}set loading(e){this._loading=e}get autoSize(){return this._autoSize}set autoSize(e){this._autoSize=e}get trackBy(){return this._trackBy}set trackBy(e){this._trackBy=e}get options(){return this._options}set options(e){this._options=e,e&&"object"==typeof e&&Object.entries(e).forEach(([i,r])=>this[`_${i}`]!==r&&(this[`_${i}`]=r))}get vertical(){return"vertical"===this._orientation}get horizontal(){return"horizontal"===this._orientation}get both(){return"both"===this._orientation}get loadedItems(){return this._items&&!this.d_loading?this.both?this._items.slice(this._appendOnly?0:this.first.rows,this.last.rows).map(e=>this._columns?e:e.slice(this._appendOnly?0:this.first.cols,this.last.cols)):this.horizontal&&this._columns?this._items:this._items.slice(this._appendOnly?0:this.first,this.last):[]}get loadedRows(){return this.d_loading?this._loaderDisabled?this.loaderArr:[]:this.loadedItems}get loadedColumns(){return this._columns&&(this.both||this.horizontal)?this.d_loading&&this._loaderDisabled?this.both?this.loaderArr[0]:this.loaderArr:this._columns.slice(this.both?this.first.cols:this.first,this.both?this.last.cols:this.last):this._columns}get isPageChanged(){return!this._step||this.page!==this.getPageByFirst()}ngOnInit(){this.setInitialState()}ngOnChanges(e){let i=!1;if(e.loading){const{previousValue:r,currentValue:o}=e.loading;this.lazy&&r!==o&&o!==this.d_loading&&(this.d_loading=o,i=!0)}if(e.orientation&&(this.lastScrollPos=this.both?{top:0,left:0}:0),e.numToleratedItems){const{previousValue:r,currentValue:o}=e.numToleratedItems;r!==o&&o!==this.d_numToleratedItems&&(this.d_numToleratedItems=o)}if(e.options){const{previousValue:r,currentValue:o}=e.options;this.lazy&&r?.loading!==o?.loading&&o?.loading!==this.d_loading&&(this.d_loading=o.loading,i=!0),r?.numToleratedItems!==o?.numToleratedItems&&o?.numToleratedItems!==this.d_numToleratedItems&&(this.d_numToleratedItems=o.numToleratedItems)}this.initialized&&!i&&(e.items?.previousValue?.length!==e.items?.currentValue?.length||e.itemSize||e.scrollHeight||e.scrollWidth)&&(this.init(),this.calculateAutoSize())}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"content":this.contentTemplate=e.template;break;case"item":default:this.itemTemplate=e.template;break;case"loader":this.loaderTemplate=e.template;break;case"loadericon":this.loaderIconTemplate=e.template}})}ngAfterViewInit(){this.viewInit()}ngAfterViewChecked(){this.initialized||this.viewInit()}ngOnDestroy(){this.unbindResizeListener(),this.contentEl=null,this.initialized=!1}viewInit(){q.isVisible(this.elementViewChild?.nativeElement)&&(this.setInitialState(),this.setContentEl(this.contentEl),this.init(),this.defaultWidth=q.getWidth(this.elementViewChild.nativeElement),this.defaultHeight=q.getHeight(this.elementViewChild.nativeElement),this.defaultContentWidth=q.getWidth(this.contentEl),this.defaultContentHeight=q.getHeight(this.contentEl),this.initialized=!0)}init(){this._disabled||(this.setSize(),this.calculateOptions(),this.setSpacerSize(),this.bindResizeListener(),this.cd.detectChanges())}setContentEl(e){this.contentEl=e||this.contentViewChild?.nativeElement||q.findSingle(this.elementViewChild?.nativeElement,".p-scroller-content")}setInitialState(){this.first=this.both?{rows:0,cols:0}:0,this.last=this.both?{rows:0,cols:0}:0,this.numItemsInViewport=this.both?{rows:0,cols:0}:0,this.lastScrollPos=this.both?{top:0,left:0}:0,this.d_loading=this._loading||!1,this.d_numToleratedItems=this._numToleratedItems,this.loaderArr=[],this.spacerStyle={},this.contentStyle={}}getElementRef(){return this.elementViewChild}getPageByFirst(){return Math.floor((this.first+4*this.d_numToleratedItems)/(this._step||1))}scrollTo(e){this.lastScrollPos=this.both?{top:0,left:0}:0,this.elementViewChild?.nativeElement?.scrollTo(e)}scrollToIndex(e,i="auto"){const{numToleratedItems:r}=this.calculateNumItems(),o=this.getContentPosition(),s=(u=0,d)=>u<=d?0:u,a=(u,d,h)=>u*d+h,l=(u=0,d=0)=>this.scrollTo({left:u,top:d,behavior:i});let c=0;this.both?(c={rows:s(e[0],r[0]),cols:s(e[1],r[1])},l(a(c.cols,this._itemSize[1],o.left),a(c.rows,this._itemSize[0],o.top))):(c=s(e,r),this.horizontal?l(a(c,this._itemSize,o.left),0):l(0,a(c,this._itemSize,o.top))),this.isRangeChanged=this.first!==c,this.first=c}scrollInView(e,i,r="auto"){if(i){const{first:o,viewport:s}=this.getRenderedRange(),a=(u=0,d=0)=>this.scrollTo({left:u,top:d,behavior:r}),c="to-end"===i;if("to-start"===i){if(this.both)s.first.rows-o.rows>e[0]?a(s.first.cols*this._itemSize[1],(s.first.rows-1)*this._itemSize[0]):s.first.cols-o.cols>e[1]&&a((s.first.cols-1)*this._itemSize[1],s.first.rows*this._itemSize[0]);else if(s.first-o>e){const u=(s.first-1)*this._itemSize;this.horizontal?a(u,0):a(0,u)}}else if(c)if(this.both)s.last.rows-o.rows<=e[0]+1?a(s.first.cols*this._itemSize[1],(s.first.rows+1)*this._itemSize[0]):s.last.cols-o.cols<=e[1]+1&&a((s.first.cols+1)*this._itemSize[1],s.first.rows*this._itemSize[0]);else if(s.last-o<=e+1){const u=(s.first+1)*this._itemSize;this.horizontal?a(u,0):a(0,u)}}else this.scrollToIndex(e,r)}getRenderedRange(){const e=(o,s)=>Math.floor(o/(s||o));let i=this.first,r=0;if(this.elementViewChild?.nativeElement){const{scrollTop:o,scrollLeft:s}=this.elementViewChild.nativeElement;this.both?(i={rows:e(o,this._itemSize[0]),cols:e(s,this._itemSize[1])},r={rows:i.rows+this.numItemsInViewport.rows,cols:i.cols+this.numItemsInViewport.cols}):(i=e(this.horizontal?s:o,this._itemSize),r=i+this.numItemsInViewport)}return{first:this.first,last:this.last,viewport:{first:i,last:r}}}calculateNumItems(){const e=this.getContentPosition(),i=this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetWidth-e.left:0,r=this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetHeight-e.top:0,o=(c,u)=>Math.ceil(c/(u||c)),s=c=>Math.ceil(c/2),a=this.both?{rows:o(r,this._itemSize[0]),cols:o(i,this._itemSize[1])}:o(this.horizontal?i:r,this._itemSize);return{numItemsInViewport:a,numToleratedItems:this.d_numToleratedItems||(this.both?[s(a.rows),s(a.cols)]:s(a))}}calculateOptions(){const{numItemsInViewport:e,numToleratedItems:i}=this.calculateNumItems(),r=(a,l,c,u=!1)=>this.getLast(a+l+(aArray.from({length:e.cols})):Array.from({length:e})),this._lazy&&Promise.resolve().then(()=>{this.lazyLoadState={first:this._step?this.both?{rows:0,cols:o.cols}:0:o,last:Math.min(this._step?this._step:this.last,this.items.length)},this.handleEvents("onLazyLoad",this.lazyLoadState)})}calculateAutoSize(){this._autoSize&&!this.d_loading&&Promise.resolve().then(()=>{if(this.contentEl){this.contentEl.style.minHeight=this.contentEl.style.minWidth="auto",this.contentEl.style.position="relative",this.elementViewChild.nativeElement.style.contain="none";const[e,i]=[q.getWidth(this.contentEl),q.getHeight(this.contentEl)];e!==this.defaultContentWidth&&(this.elementViewChild.nativeElement.style.width=""),i!==this.defaultContentHeight&&(this.elementViewChild.nativeElement.style.height="");const[r,o]=[q.getWidth(this.elementViewChild.nativeElement),q.getHeight(this.elementViewChild.nativeElement)];(this.both||this.horizontal)&&(this.elementViewChild.nativeElement.style.width=rthis.elementViewChild.nativeElement.style[s]=a;this.both||this.horizontal?(o("height",r),o("width",i)):o("height",r)}}setSpacerSize(){if(this._items){const e=this.getContentPosition(),i=(r,o,s,a=0)=>this.spacerStyle={...this.spacerStyle,[`${r}`]:(o||[]).length*s+a+"px"};this.both?(i("height",this._items,this._itemSize[0],e.y),i("width",this._columns||this._items[1],this._itemSize[1],e.x)):this.horizontal?i("width",this._columns||this._items,this._itemSize,e.x):i("height",this._items,this._itemSize,e.y)}}setContentPosition(e){if(this.contentEl&&!this._appendOnly){const i=e?e.first:this.first,r=(s,a)=>s*a,o=(s=0,a=0)=>this.contentStyle={...this.contentStyle,transform:`translate3d(${s}px, ${a}px, 0)`};if(this.both)o(r(i.cols,this._itemSize[1]),r(i.rows,this._itemSize[0]));else{const s=r(i,this._itemSize);this.horizontal?o(s,0):o(0,s)}}}onScrollPositionChange(e){const i=e.target,r=this.getContentPosition(),o=(g,y)=>g?g>y?g-y:g:0,s=(g,y)=>Math.floor(g/(y||g)),a=(g,y,w,T,v,N)=>g<=v?v:N?w-T-v:y+v-1,l=(g,y,w,T,v,N,x)=>g<=N?0:Math.max(0,x?gy?w:g-2*N),c=(g,y,w,T,v,N=!1)=>{let x=y+T+2*v;return g>=v&&(x+=v+1),this.getLast(x,N)},u=o(i.scrollTop,r.top),d=o(i.scrollLeft,r.left);let h=this.both?{rows:0,cols:0}:0,f=this.last,p=!1,m=this.lastScrollPos;if(this.both){const g=this.lastScrollPos.top<=u,y=this.lastScrollPos.left<=d;if(!this._appendOnly||this._appendOnly&&(g||y)){const w={rows:s(u,this._itemSize[0]),cols:s(d,this._itemSize[1])},T={rows:a(w.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],g),cols:a(w.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],y)};h={rows:l(w.rows,T.rows,this.first.rows,0,0,this.d_numToleratedItems[0],g),cols:l(w.cols,T.cols,this.first.cols,0,0,this.d_numToleratedItems[1],y)},f={rows:c(w.rows,h.rows,0,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:c(w.cols,h.cols,0,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},p=h.rows!==this.first.rows||f.rows!==this.last.rows||h.cols!==this.first.cols||f.cols!==this.last.cols||this.isRangeChanged,m={top:u,left:d}}}else{const g=this.horizontal?d:u,y=this.lastScrollPos<=g;if(!this._appendOnly||this._appendOnly&&y){const w=s(g,this._itemSize);h=l(w,a(w,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,y),this.first,0,0,this.d_numToleratedItems,y),f=c(w,h,0,this.numItemsInViewport,this.d_numToleratedItems),p=h!==this.first||f!==this.last||this.isRangeChanged,m=g}}return{first:h,last:f,isRangeChanged:p,scrollPos:m}}onScrollChange(e){const{first:i,last:r,isRangeChanged:o,scrollPos:s}=this.onScrollPositionChange(e);if(o){const a={first:i,last:r};if(this.setContentPosition(a),this.first=i,this.last=r,this.lastScrollPos=s,this.handleEvents("onScrollIndexChange",a),this._lazy&&this.isPageChanged){const l={first:this._step?Math.min(this.getPageByFirst()*this._step,this.items.length-this._step):i,last:Math.min(this._step?(this.getPageByFirst()+1)*this._step:r,this.items.length)};(this.lazyLoadState.first!==l.first||this.lazyLoadState.last!==l.last)&&this.handleEvents("onLazyLoad",l),this.lazyLoadState=l}}}onContainerScroll(e){if(this.handleEvents("onScroll",{originalEvent:e}),this._delay&&this.isPageChanged){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.d_loading&&this.showLoader){const{isRangeChanged:i}=this.onScrollPositionChange(e);(i||this._step&&this.isPageChanged)&&(this.d_loading=!0,this.cd.detectChanges())}this.scrollTimeout=setTimeout(()=>{this.onScrollChange(e),this.d_loading&&this.showLoader&&(!this._lazy||void 0===this._loading)&&(this.d_loading=!1,this.page=this.getPageByFirst(),this.cd.detectChanges())},this._delay)}else!this.d_loading&&this.onScrollChange(e)}bindResizeListener(){this.windowResizeListener||this.zone.runOutsideAngular(()=>{this.windowResizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.windowResizeListener),window.addEventListener("orientationchange",this.windowResizeListener)})}unbindResizeListener(){this.windowResizeListener&&(window.removeEventListener("resize",this.windowResizeListener),window.removeEventListener("orientationchange",this.windowResizeListener),this.windowResizeListener=null)}onWindowResize(){this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{if(q.isVisible(this.elementViewChild?.nativeElement)){const[e,i]=[q.getWidth(this.elementViewChild.nativeElement),q.getHeight(this.elementViewChild.nativeElement)],[r,o]=[e!==this.defaultWidth,i!==this.defaultHeight];(this.both?r||o:this.horizontal?r:this.vertical&&o)&&this.zone.run(()=>{this.d_numToleratedItems=this._numToleratedItems,this.defaultWidth=e,this.defaultHeight=i,this.defaultContentWidth=q.getWidth(this.contentEl),this.defaultContentHeight=q.getHeight(this.contentEl),this.init()})}},this._resizeDelay)}handleEvents(e,i){return this.options&&this.options[e]?this.options[e](i):this[e].emit(i)}getContentOptions(){return{contentStyleClass:"p-scroller-content "+(this.d_loading?"p-scroller-loading":""),items:this.loadedItems,getItemOptions:e=>this.getOptions(e),loading:this.d_loading,getLoaderOptions:(e,i)=>this.getLoaderOptions(e,i),itemSize:this._itemSize,rows:this.loadedRows,columns:this.loadedColumns,spacerStyle:this.spacerStyle,contentStyle:this.contentStyle,vertical:this.vertical,horizontal:this.horizontal,both:this.both}}getOptions(e){const i=(this._items||[]).length,r=this.both?this.first.rows+e:this.first+e;return{index:r,count:i,first:0===r,last:r===i-1,even:r%2==0,odd:r%2!=0}}getLoaderOptions(e,i){const r=this.loaderArr.length;return{index:e,count:r,first:0===e,last:e===r-1,even:e%2==0,odd:e%2!=0,...i}}}return n.\u0275fac=function(e){return new(e||n)(I(In),I(Yt))},n.\u0275cmp=we({type:n,selectors:[["p-scroller"]],contentQueries:function(e,i,r){if(1&e&&Yn(r,Pi,4),2&e){let o;Ve(o=Be())&&(i.templates=o)}},viewQuery:function(e,i){if(1&e&&(Mt(Lde,5),Mt(Rde,5)),2&e){let r;Ve(r=Be())&&(i.elementViewChild=r.first),Ve(r=Be())&&(i.contentViewChild=r.first)}},hostAttrs:[1,"p-scroller-viewport","p-element"],inputs:{id:"id",style:"style",styleClass:"styleClass",tabindex:"tabindex",items:"items",itemSize:"itemSize",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth",orientation:"orientation",step:"step",delay:"delay",resizeDelay:"resizeDelay",appendOnly:"appendOnly",inline:"inline",lazy:"lazy",disabled:"disabled",loaderDisabled:"loaderDisabled",columns:"columns",showSpacer:"showSpacer",showLoader:"showLoader",numToleratedItems:"numToleratedItems",loading:"loading",autoSize:"autoSize",trackBy:"trackBy",options:"options"},outputs:{onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange"},features:[Gi],ngContentSelectors:ahe,decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["disabledContainer",""],[3,"ngStyle","ngClass","scroll"],["element",""],["buildInContent",""],["class","p-scroller-spacer",3,"ngStyle",4,"ngIf"],["class","p-scroller-loader",3,"ngClass",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-scroller-content",3,"ngClass","ngStyle"],["content",""],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"p-scroller-spacer",3,"ngStyle"],[1,"p-scroller-loader",3,"ngClass"],["buildInLoader",""],[4,"ngFor","ngForOf"],["buildInLoaderIcon",""],[1,"p-scroller-loading-icon","pi","pi-spinner","pi-spin"],[4,"ngIf"]],template:function(e,i){if(1&e&&($r(),D(0,nhe,8,14,"ng-container",0),D(1,she,2,1,"ng-template",null,1,Mn)),2&e){const r=Bt(2);_("ngIf",!i._disabled)("ngIfElse",r)}},dependencies:[qn,Er,$t,qr,ki],styles:["p-scroller{flex:1;outline:0 none}.p-scroller{position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;outline:0 none}.p-scroller-content{position:absolute;top:0;left:0;min-height:100%;min-width:100%;will-change:transform}.p-scroller-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0;pointer-events:none}.p-scroller-loader{position:sticky;top:0;left:0;width:100%;height:100%}.p-scroller-loader.p-component-overlay{display:flex;align-items:center;justify-content:center}.p-scroller-loading-icon{font-size:2rem}.p-scroller-inline .p-scroller-content{position:static}\n"],encapsulation:2}),n})(),oz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})();function lhe(n,t){if(1&n&&(S(0,"span"),Se(1),E()),2&n){const e=C();let i;b(1),Ct(null!==(i=e.label)&&void 0!==i?i:"empty")}}function che(n,t){1&n&&Je(0)}const Tg=function(n){return{height:n}},uhe=function(n,t){return{"p-dropdown-item":!0,"p-highlight":n,"p-disabled":t}},rE=function(n){return{$implicit:n}},dhe=["container"],hhe=["filter"],fhe=["in"],phe=["editableInput"],mhe=["items"],ghe=["scroller"],yhe=["overlay"];function _he(n,t){if(1&n&&(it(0),Se(1),rt()),2&n){const e=C(2);b(1),Ct(e.label||"empty")}}function vhe(n,t){1&n&&Je(0)}const bhe=function(n){return{"p-dropdown-label p-inputtext":!0,"p-dropdown-label-empty":n}};function Che(n,t){if(1&n&&(S(0,"span",14),D(1,_he,2,1,"ng-container",15),D(2,vhe,1,0,"ng-container",16),E()),2&n){const e=C();_("ngClass",tt(9,bhe,null==e.label||0===e.label.length))("pTooltip",e.tooltip)("tooltipPosition",e.tooltipPosition)("positionStyle",e.tooltipPositionStyle)("tooltipStyleClass",e.tooltipStyleClass),bt("id",e.labelId),b(1),_("ngIf",!e.selectedItemTemplate),b(1),_("ngTemplateOutlet",e.selectedItemTemplate)("ngTemplateOutletContext",tt(11,rE,e.selectedOption))}}const whe=function(n){return{"p-dropdown-label p-inputtext p-placeholder":!0,"p-dropdown-label-empty":n}};function The(n,t){if(1&n&&(S(0,"span",17),Se(1),E()),2&n){const e=C();_("ngClass",tt(2,whe,null==e.placeholder||0===e.placeholder.length)),b(1),Ct(e.placeholder||"empty")}}function Dhe(n,t){if(1&n){const e=Ne();S(0,"input",18,19),se("input",function(r){return ee(e),te(C().onEditableInputChange(r))})("focus",function(r){return ee(e),te(C().onEditableInputFocus(r))})("blur",function(r){return ee(e),te(C().onInputBlur(r))}),E()}if(2&n){const e=C();_("disabled",e.disabled),bt("maxlength",e.maxlength)("placeholder",e.placeholder)("aria-expanded",e.overlayVisible)}}function Mhe(n,t){if(1&n){const e=Ne();S(0,"i",20),se("click",function(r){return ee(e),te(C().clear(r))}),E()}}function She(n,t){1&n&&Je(0)}function Ehe(n,t){1&n&&Je(0)}const sz=function(n){return{options:n}};function xhe(n,t){if(1&n&&(it(0),D(1,Ehe,1,0,"ng-container",16),rt()),2&n){const e=C(3);b(1),_("ngTemplateOutlet",e.filterTemplate)("ngTemplateOutletContext",tt(2,sz,e.filterOptions))}}function Ihe(n,t){if(1&n){const e=Ne();S(0,"div",30)(1,"input",31,32),se("keydown.enter",function(r){return r.preventDefault()})("keydown",function(r){return ee(e),te(C(3).onKeydown(r,!1))})("input",function(r){return ee(e),te(C(3).onFilterInputChange(r))}),E(),_e(3,"span",33),E()}if(2&n){const e=C(3);b(1),_("value",e.filterValue||""),bt("placeholder",e.filterPlaceholder)("aria-label",e.ariaFilterLabel)("aria-activedescendant",e.overlayVisible?"p-highlighted-option":e.labelId)}}function Ohe(n,t){if(1&n&&(S(0,"div",27),se("click",function(i){return i.stopPropagation()}),D(1,xhe,2,4,"ng-container",28),D(2,Ihe,4,4,"ng-template",null,29,Mn),E()),2&n){const e=Bt(3),i=C(2);b(1),_("ngIf",i.filterTemplate)("ngIfElse",e)}}function Ahe(n,t){1&n&&Je(0)}const az=function(n,t){return{$implicit:n,options:t}};function khe(n,t){if(1&n&&D(0,Ahe,1,0,"ng-container",16),2&n){const e=t.$implicit,i=t.options;C(2),_("ngTemplateOutlet",Bt(7))("ngTemplateOutletContext",Fn(2,az,e,i))}}function Nhe(n,t){1&n&&Je(0)}function Phe(n,t){if(1&n&&D(0,Nhe,1,0,"ng-container",16),2&n){const e=t.options;_("ngTemplateOutlet",C(4).loaderTemplate)("ngTemplateOutletContext",tt(2,sz,e))}}function Lhe(n,t){1&n&&(it(0),D(1,Phe,1,4,"ng-template",36),rt())}function Rhe(n,t){if(1&n){const e=Ne();S(0,"p-scroller",34,35),se("onLazyLoad",function(r){return ee(e),te(C(2).onLazyLoad.emit(r))}),D(2,khe,1,5,"ng-template",13),D(3,Lhe,2,0,"ng-container",15),E()}if(2&n){const e=C(2);Gn(tt(8,Tg,e.scrollHeight)),_("items",e.optionsToDisplay)("itemSize",e.virtualScrollItemSize||e._itemSize)("autoSize",!0)("lazy",e.lazy)("options",e.virtualScrollOptions),b(3),_("ngIf",e.loaderTemplate)}}function Fhe(n,t){1&n&&Je(0)}const jhe=function(){return{}};function zhe(n,t){if(1&n&&(it(0),D(1,Fhe,1,0,"ng-container",16),rt()),2&n){C();const e=Bt(7),i=C();b(1),_("ngTemplateOutlet",e)("ngTemplateOutletContext",Fn(3,az,i.optionsToDisplay,cr(2,jhe)))}}function Vhe(n,t){if(1&n&&(S(0,"span"),Se(1),E()),2&n){const e=C().$implicit,i=C(4);b(1),Ct(i.getOptionGroupLabel(e)||"empty")}}function Bhe(n,t){1&n&&Je(0)}function Uhe(n,t){1&n&&Je(0)}const lz=function(n,t){return{$implicit:n,selectedOption:t}};function Hhe(n,t){if(1&n&&(S(0,"li",42),D(1,Vhe,2,1,"span",15),D(2,Bhe,1,0,"ng-container",16),E(),D(3,Uhe,1,0,"ng-container",16)),2&n){const e=t.$implicit,i=C(2).options,r=Bt(5),o=C(2);_("ngStyle",tt(6,Tg,i.itemSize+"px")),b(1),_("ngIf",!o.groupTemplate),b(1),_("ngTemplateOutlet",o.groupTemplate)("ngTemplateOutletContext",tt(8,rE,e)),b(1),_("ngTemplateOutlet",r)("ngTemplateOutletContext",Fn(10,lz,o.getOptionGroupChildren(e),o.selectedOption))}}function $he(n,t){if(1&n&&(it(0),D(1,Hhe,4,13,"ng-template",41),rt()),2&n){const e=C().$implicit;b(1),_("ngForOf",e)}}function Whe(n,t){1&n&&Je(0)}function Ghe(n,t){if(1&n&&(it(0),D(1,Whe,1,0,"ng-container",16),rt()),2&n){const e=C().$implicit,i=Bt(5),r=C(2);b(1),_("ngTemplateOutlet",i)("ngTemplateOutletContext",Fn(2,lz,e,r.selectedOption))}}function Yhe(n,t){if(1&n){const e=Ne();S(0,"p-dropdownItem",43),se("onClick",function(r){return ee(e),te(C(4).onItemClick(r))}),E()}if(2&n){const e=t.$implicit,i=C().selectedOption,r=C(3);_("option",e)("selected",i==e)("label",r.getOptionLabel(e))("disabled",r.isOptionDisabled(e))("template",r.itemTemplate)}}function qhe(n,t){1&n&&D(0,Yhe,1,5,"ng-template",41),2&n&&_("ngForOf",t.$implicit)}function Khe(n,t){if(1&n&&(it(0),Se(1),rt()),2&n){const e=C(4);b(1),bi(" ",e.emptyFilterMessageLabel," ")}}function Qhe(n,t){1&n&&Je(0,null,45)}function Zhe(n,t){if(1&n&&(S(0,"li",44),D(1,Khe,2,1,"ng-container",28),D(2,Qhe,2,0,"ng-container",22),E()),2&n){const e=C().options,i=C(2);_("ngStyle",tt(4,Tg,e.itemSize+"px")),b(1),_("ngIf",!i.emptyFilterTemplate&&!i.emptyTemplate)("ngIfElse",i.emptyFilter),b(1),_("ngTemplateOutlet",i.emptyFilterTemplate||i.emptyTemplate)}}function Jhe(n,t){if(1&n&&(it(0),Se(1),rt()),2&n){const e=C(4);b(1),bi(" ",e.emptyMessageLabel," ")}}function Xhe(n,t){1&n&&Je(0,null,46)}function efe(n,t){if(1&n&&(S(0,"li",44),D(1,Jhe,2,1,"ng-container",28),D(2,Xhe,2,0,"ng-container",22),E()),2&n){const e=C().options,i=C(2);_("ngStyle",tt(4,Tg,e.itemSize+"px")),b(1),_("ngIf",!i.emptyTemplate)("ngIfElse",i.empty),b(1),_("ngTemplateOutlet",i.emptyTemplate)}}function tfe(n,t){if(1&n&&(S(0,"ul",37,38),D(2,$he,2,1,"ng-container",15),D(3,Ghe,2,5,"ng-container",15),D(4,qhe,1,1,"ng-template",null,39,Mn),D(6,Zhe,3,6,"li",40),D(7,efe,3,6,"li",40),E()),2&n){const e=t.options,i=C(2);Gn(e.contentStyle),_("ngClass",e.contentStyleClass),bt("id",i.listId),b(2),_("ngIf",i.group),b(1),_("ngIf",!i.group),b(3),_("ngIf",i.filterValue&&i.isEmpty()),b(1),_("ngIf",!i.filterValue&&i.isEmpty())}}function nfe(n,t){1&n&&Je(0)}function ife(n,t){if(1&n&&(S(0,"div",21),D(1,She,1,0,"ng-container",22),D(2,Ohe,4,2,"div",23),S(3,"div",24),D(4,Rhe,4,10,"p-scroller",25),D(5,zhe,2,6,"ng-container",15),D(6,tfe,8,8,"ng-template",null,26,Mn),E(),D(8,nfe,1,0,"ng-container",22),E()),2&n){const e=C();Ut(e.panelStyleClass),_("ngClass","p-dropdown-panel p-component")("ngStyle",e.panelStyle),b(1),_("ngTemplateOutlet",e.headerTemplate),b(1),_("ngIf",e.filter),b(1),cl("max-height",e.virtualScroll?"auto":e.scrollHeight||"auto"),b(1),_("ngIf",e.virtualScroll),b(1),_("ngIf",!e.virtualScroll),b(3),_("ngTemplateOutlet",e.footerTemplate)}}const rfe=function(n,t,e,i){return{"p-dropdown p-component":!0,"p-disabled":n,"p-dropdown-open":t,"p-focus":e,"p-dropdown-clearable":i}},ofe={provide:Qi,useExisting:Ft(()=>oE),multi:!0};let sfe=(()=>{class n{constructor(){this.onClick=new Q}onOptionClick(e){this.onClick.emit({originalEvent:e,option:this.option})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=we({type:n,selectors:[["p-dropdownItem"]],hostAttrs:[1,"p-element"],inputs:{option:"option",selected:"selected",label:"label",disabled:"disabled",visible:"visible",itemSize:"itemSize",template:"template"},outputs:{onClick:"onClick"},decls:3,vars:15,consts:[["role","option","pRipple","",3,"ngStyle","id","ngClass","click"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,i){1&e&&(S(0,"li",0),se("click",function(o){return i.onOptionClick(o)}),D(1,lhe,2,1,"span",1),D(2,che,1,0,"ng-container",2),E()),2&e&&(_("ngStyle",tt(8,Tg,i.itemSize+"px"))("id",i.selected?"p-highlighted-option":"")("ngClass",Fn(10,uhe,i.selected,i.disabled)),bt("aria-label",i.label)("aria-selected",i.selected),b(1),_("ngIf",!i.template),b(1),_("ngTemplateOutlet",i.template)("ngTemplateOutletContext",tt(13,rE,i.option)))},dependencies:[qn,$t,qr,ki,wl],encapsulation:2}),n})(),oE=(()=>{class n{constructor(e,i,r,o,s,a){this.el=e,this.renderer=i,this.cd=r,this.zone=o,this.filterService=s,this.config=a,this.scrollHeight="200px",this.resetFilterOnHide=!1,this.dropdownIcon="pi pi-chevron-down",this.optionGroupChildren="items",this.autoDisplayFirst=!0,this.emptyFilterMessage="",this.emptyMessage="",this.lazy=!1,this.filterMatchMode="contains",this.tooltip="",this.tooltipPosition="right",this.tooltipPositionStyle="absolute",this.autofocusFilter=!0,this.overlayDirection="end",this.onChange=new Q,this.onFilter=new Q,this.onFocus=new Q,this.onBlur=new Q,this.onClick=new Q,this.onShow=new Q,this.onHide=new Q,this.onClear=new Q,this.onLazyLoad=new Q,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.id=C1()}get disabled(){return this._disabled}set disabled(e){e&&(this.focused=!1,this.overlayVisible&&this.hide()),this._disabled=e,this.cd.destroyed||this.cd.detectChanges()}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=e,console.warn("The itemSize property is deprecated, use virtualScrollItemSize property instead.")}get autoZIndex(){return this._autoZIndex}set autoZIndex(e){this._autoZIndex=e,console.warn("The autoZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}get baseZIndex(){return this._baseZIndex}set baseZIndex(e){this._baseZIndex=e,console.warn("The baseZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}get showTransitionOptions(){return this._showTransitionOptions}set showTransitionOptions(e){this._showTransitionOptions=e,console.warn("The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}get hideTransitionOptions(){return this._hideTransitionOptions}set hideTransitionOptions(e){this._hideTransitionOptions=e,console.warn("The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"item":default:this.itemTemplate=e.template;break;case"selectedItem":this.selectedItemTemplate=e.template;break;case"header":this.headerTemplate=e.template;break;case"filter":this.filterTemplate=e.template;break;case"footer":this.footerTemplate=e.template;break;case"emptyfilter":this.emptyFilterTemplate=e.template;break;case"empty":this.emptyTemplate=e.template;break;case"group":this.groupTemplate=e.template;break;case"loader":this.loaderTemplate=e.template}})}ngOnInit(){this.optionsToDisplay=this.options,this.updateSelectedOption(null),this.labelId=this.id+"_label",this.listId=this.id+"_list",this.filterBy&&(this.filterOptions={filter:e=>this.onFilterInputChange(e),reset:()=>this.resetFilter()})}get options(){return this._options}set options(e){this._options=e,this.optionsToDisplay=this._options,this.updateSelectedOption(this.value),this.selectedOption=this.findOption(this.value,this.optionsToDisplay),!this.selectedOption&&wt.isNotEmpty(this.value)&&!this.editable&&(this.value=null,this.onModelChange(this.value)),this.optionsChanged=!0,this._filterValue&&this._filterValue.length&&this.activateFilter()}get filterValue(){return this._filterValue}set filterValue(e){this._filterValue=e,this.activateFilter()}ngAfterViewInit(){this.editable&&this.updateEditableLabel()}get label(){return"number"==typeof this.selectedOption&&(this.selectedOption=this.selectedOption.toString()),this.selectedOption?this.getOptionLabel(this.selectedOption):null}get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(Cl.EMPTY_MESSAGE)}get emptyFilterMessageLabel(){return this.emptyFilterMessage||this.config.getTranslation(Cl.EMPTY_FILTER_MESSAGE)}get filled(){return"string"==typeof this.value?!!this.value:this.value||null!=this.value||null!=this.value}get isVisibleClearIcon(){return null!=this.value&&""!==this.value&&this.showClear&&!this.disabled}updateEditableLabel(){this.editableInputViewChild&&this.editableInputViewChild.nativeElement&&(this.editableInputViewChild.nativeElement.value=this.selectedOption?this.getOptionLabel(this.selectedOption):this.value||"")}getOptionLabel(e){return this.optionLabel?wt.resolveFieldData(e,this.optionLabel):e&&void 0!==e.label?e.label:e}getOptionValue(e){return this.optionValue?wt.resolveFieldData(e,this.optionValue):!this.optionLabel&&e&&void 0!==e.value?e.value:e}isOptionDisabled(e){return this.optionDisabled?wt.resolveFieldData(e,this.optionDisabled):!(!e||void 0===e.disabled)&&e.disabled}getOptionGroupLabel(e){return this.optionGroupLabel?wt.resolveFieldData(e,this.optionGroupLabel):e&&void 0!==e.label?e.label:e}getOptionGroupChildren(e){return this.optionGroupChildren?wt.resolveFieldData(e,this.optionGroupChildren):e.items}onItemClick(e){const i=e.option;this.isOptionDisabled(i)||(this.selectItem(e.originalEvent,i),this.accessibleViewChild.nativeElement.focus({preventScroll:!0})),setTimeout(()=>{this.hide()},1)}selectItem(e,i){this.selectedOption!=i&&(this.selectedOption=i,this.value=this.getOptionValue(i),this.onModelChange(this.value),this.updateEditableLabel(),this.onChange.emit({originalEvent:e,value:this.value}))}ngAfterViewChecked(){if(this.optionsChanged&&this.overlayVisible&&(this.optionsChanged=!1,this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.overlayViewChild&&this.overlayViewChild.alignOverlay()},1)})),this.selectedOptionUpdated&&this.itemsWrapper){let e=q.findSingle(this.overlayViewChild.overlayViewChild.nativeElement,"li.p-highlight");e&&q.scrollInView(this.itemsWrapper,e),this.selectedOptionUpdated=!1}}writeValue(e){this.filter&&this.resetFilter(),this.value=e,this.updateSelectedOption(e),this.updateEditableLabel(),this.cd.markForCheck()}resetFilter(){this._filterValue=null,this.filterViewChild&&this.filterViewChild.nativeElement&&(this.filterViewChild.nativeElement.value=""),this.optionsToDisplay=this.options}updateSelectedOption(e){this.selectedOption=this.findOption(e,this.optionsToDisplay),this.autoDisplayFirst&&!this.placeholder&&!this.selectedOption&&this.optionsToDisplay&&this.optionsToDisplay.length&&!this.editable&&(this.selectedOption=this.group?this.optionsToDisplay[0].items[0]:this.optionsToDisplay[0],this.value=this.getOptionValue(this.selectedOption),this.onModelChange(this.value)),this.selectedOptionUpdated=!0}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}onMouseclick(e){this.disabled||this.readonly||this.isInputClick(e)||(this.onClick.emit(e),this.accessibleViewChild.nativeElement.focus({preventScroll:!0}),this.overlayVisible?this.hide():this.show(),this.cd.detectChanges())}isInputClick(e){return q.hasClass(e.target,"p-dropdown-clear-icon")||e.target.isSameNode(this.accessibleViewChild.nativeElement)||this.editableInputViewChild&&e.target.isSameNode(this.editableInputViewChild.nativeElement)}isEmpty(){return!this.optionsToDisplay||this.optionsToDisplay&&0===this.optionsToDisplay.length}onEditableInputFocus(e){this.focused=!0,this.hide(),this.onFocus.emit(e)}onEditableInputChange(e){this.value=e.target.value,this.updateSelectedOption(this.value),this.onModelChange(this.value),this.onChange.emit({originalEvent:e,value:this.value})}show(){this.overlayVisible=!0,this.cd.markForCheck()}onOverlayAnimationStart(e){if("visible"===e.toState){if(this.itemsWrapper=q.findSingle(this.overlayViewChild.overlayViewChild.nativeElement,this.virtualScroll?".p-scroller":".p-dropdown-items-wrapper"),this.virtualScroll&&this.scroller.setContentEl(this.itemsViewChild.nativeElement),this.options&&this.options.length)if(this.virtualScroll){const i=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;-1!==i&&this.scroller.scrollToIndex(i)}else{let i=q.findSingle(this.itemsWrapper,".p-dropdown-item.p-highlight");i&&i.scrollIntoView({block:"nearest",inline:"center"})}this.filterViewChild&&this.filterViewChild.nativeElement&&(this.preventModelTouched=!0,this.autofocusFilter&&this.filterViewChild.nativeElement.focus()),this.onShow.emit(e)}"void"===e.toState&&(this.itemsWrapper=null,this.onModelTouched(),this.onHide.emit(e))}hide(){this.overlayVisible=!1,this.filter&&this.resetFilterOnHide&&this.resetFilter(),this.cd.markForCheck()}onInputFocus(e){this.focused=!0,this.onFocus.emit(e)}onInputBlur(e){this.focused=!1,this.onBlur.emit(e),this.preventModelTouched||this.onModelTouched(),this.preventModelTouched=!1}findPrevEnabledOption(e){let i;if(this.optionsToDisplay&&this.optionsToDisplay.length){for(let r=e-1;0<=r;r--){let o=this.optionsToDisplay[r];if(!this.isOptionDisabled(o)){i=o;break}}if(!i)for(let r=this.optionsToDisplay.length-1;r>=e;r--){let o=this.optionsToDisplay[r];if(!this.isOptionDisabled(o)){i=o;break}}}return i}findNextEnabledOption(e){let i;if(this.optionsToDisplay&&this.optionsToDisplay.length){for(let r=e+1;r0&&this.selectItem(e,this.getOptionGroupChildren(this.optionsToDisplay[0])[0])}else{let r=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1,o=this.findNextEnabledOption(r);o&&(this.selectItem(e,o),this.selectedOptionUpdated=!0)}e.preventDefault();break;case 38:if(this.group){let r=this.selectedOption?this.findOptionGroupIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;if(-1!==r){let o=r.itemIndex-1;if(o>=0)this.selectItem(e,this.getOptionGroupChildren(this.optionsToDisplay[r.groupIndex])[o]),this.selectedOptionUpdated=!0;else if(o<0){let s=this.optionsToDisplay[r.groupIndex-1];s&&(this.selectItem(e,this.getOptionGroupChildren(s)[this.getOptionGroupChildren(s).length-1]),this.selectedOptionUpdated=!0)}}}else{let r=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1,o=this.findPrevEnabledOption(r);o&&(this.selectItem(e,o),this.selectedOptionUpdated=!0)}e.preventDefault();break;case 32:i&&(this.overlayVisible?this.hide():this.show(),e.preventDefault());break;case 13:this.overlayVisible&&(!this.filter||this.optionsToDisplay&&this.optionsToDisplay.length>0)?this.hide():this.overlayVisible||this.show(),e.preventDefault();break;case 27:case 9:this.hide();break;default:i&&!e.metaKey&&17!==e.which&&this.search(e)}}search(e){this.searchTimeout&&clearTimeout(this.searchTimeout);const i=e.key;let r;if(this.previousSearchChar=this.currentSearchChar,this.currentSearchChar=i,this.searchValue=this.previousSearchChar===this.currentSearchChar?this.currentSearchChar:this.searchValue?this.searchValue+i:i,this.group){let o=this.selectedOption?this.findOptionGroupIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):{groupIndex:0,itemIndex:0};r=this.searchOptionWithinGroup(o)}else{let o=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;r=this.searchOption(++o)}r&&!this.isOptionDisabled(r)&&(this.selectItem(e,r),this.selectedOptionUpdated=!0),this.searchTimeout=setTimeout(()=>{this.searchValue=null},250)}searchOption(e){let i;return this.searchValue&&(i=this.searchOptionInRange(e,this.optionsToDisplay.length),i||(i=this.searchOptionInRange(0,e))),i}searchOptionInRange(e,i){for(let r=e;r{this.getSitesList(o.filter)}):console.warn("ContainerOptionsDirective is for use with PrimeNg Dropdown")}ngOnInit(){this.getSitesList(),this.dotEvents.forEach(t=>{this.dotEventsService.listen(t).pipe(yn(this.destroy$)).subscribe(()=>this.getSitesList())})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}setOptions(t){this.primeDropdown.options=[...t],this.cd.detectChanges()}getSitesList(t=""){this.dotSiteService.getSites(t,this.pageSize).pipe(At(1)).subscribe(e=>this.setOptions(e))}}g0.\u0275fac=function(t){return new(t||g0)(I(oE,10),I(bh),I(Ch),I(In))},g0.\u0275dir=Ce({type:g0,selectors:[["","dotSiteSelector",""]],inputs:{archive:"archive",live:"live",system:"system",pageSize:"pageSize"},standalone:!0,features:[Pt([Ji])]});class Dg{constructor(t){this.el=t}ngOnInit(){this.el.nativeElement.disabled||setTimeout(()=>{this.el.nativeElement.focus()},100)}}Dg.\u0275fac=function(t){return new(t||Dg)(I(Dt))},Dg.\u0275dir=Ce({type:Dg,selectors:[["","dotAutofocus",""]],standalone:!0});class y0{constructor(t,e){this.ngControl=t,this.el=e}onBlur(){this.ngControl.control.setValue(this.ngControl.value.trim())}ngAfterViewInit(){"input"!==this.el.nativeElement.tagName.toLowerCase()&&console.warn("DotTrimInputDirective is for use with Inputs")}}y0.\u0275fac=function(t){return new(t||y0)(I(Rs,10),I(Dt))},y0.\u0275dir=Ce({type:y0,selectors:[["","dotTrimInput",""]],hostBindings:function(t,e){1&t&&se("blur",function(){return e.onBlur()})},standalone:!0});class _0{constructor(t,e,i,r){this.primeDropdown=t,this.dotContainersService=e,this.dotMessageService=i,this.changeDetectorRef=r,this.maxOptions=10,this.destroy$=new ue,this.control=this.primeDropdown,this.loadErrorMessage=this.dotMessageService.get("dot.template.builder.box.containers.error"),this.control?(this.control.group=!0,this.control.optionLabel="label",this.control.optionValue="value",this.control.optionDisabled="inactive",this.control.filterBy="value.friendlyName,value.title"):console.warn("ContainerOptionsDirective is for use with PrimeNg Dropdown")}ngOnInit(){this.fetchContainerOptions().subscribe(t=>{this.control.options=this.control.options||t}),this.control.onFilter.pipe(yn(this.destroy$),eh(500),li(t=>this.fetchContainerOptions(t.filter))).subscribe(t=>this.setOptions(t))}fetchContainerOptions(t=""){return this.dotContainersService.getFiltered(t,this.maxOptions,!0).pipe(fe(e=>{const i=e.map(r=>({label:r.title,value:r,inactive:!1})).sort((r,o)=>r.label.localeCompare(o.label));return this.getOptionsGroupedByHost(i)}),zi(()=>this.handleContainersLoadError()))}handleContainersLoadError(){return this.control.disabled=!0,Fe([])}setOptions(t){this.control.options=[...t],this.changeDetectorRef.detectChanges()}getOptionsGroupedByHost(t){const e=this.getContainerGroupedByHost(t);return Object.keys(e).map(i=>({label:i,items:e[i].items}))}getContainerGroupedByHost(t){return t.reduce((e,i)=>{const{hostname:r}=i.value.parentPermissionable;return e[r]||(e[r]={items:[]}),e[r].items.push(i),e},{})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}}_0.\u0275fac=function(t){return new(t||_0)(I(oE,10),I(vh),I(To),I(In))},_0.\u0275dir=Ce({type:_0,selectors:[["p-dropdown","dotContainerOptions",""]],standalone:!0});const cfe=["container"],ufe=["in"],dfe=["multiIn"],hfe=["multiContainer"],ffe=["ddBtn"],pfe=["items"],mfe=["scroller"],gfe=["overlay"],yfe=function(n,t){return{"p-autocomplete-dd-input":n,"p-disabled":t}};function _fe(n,t){if(1&n){const e=Ne();S(0,"input",13,14),se("click",function(r){return ee(e),te(C().onInputClick(r))})("input",function(r){return ee(e),te(C().onInput(r))})("keydown",function(r){return ee(e),te(C().onKeydown(r))})("keyup",function(r){return ee(e),te(C().onKeyup(r))})("focus",function(r){return ee(e),te(C().onInputFocus(r))})("blur",function(r){return ee(e),te(C().onInputBlur(r))})("change",function(r){return ee(e),te(C().onInputChange(r))})("paste",function(r){return ee(e),te(C().onInputPaste(r))}),E()}if(2&n){const e=C();Ut(e.inputStyleClass),_("autofocus",e.autofocus)("ngStyle",e.inputStyle)("autocomplete",e.autocomplete)("ngClass",Fn(20,yfe,e.dropdown,e.disabled))("value",e.inputFieldValue)("readonly",e.readonly)("disabled",e.disabled),bt("type",e.type)("id",e.inputId)("required",e.required)("name",e.name)("placeholder",e.placeholder)("size",e.size)("maxlength",e.maxlength)("tabindex",e.tabindex)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledBy)("aria-required",e.required)}}function vfe(n,t){if(1&n){const e=Ne();S(0,"i",15),se("click",function(){return ee(e),te(C().clear())}),E()}}function bfe(n,t){if(1&n){const e=Ne();S(0,"i",15),se("click",function(){return ee(e),te(C().clear())}),E()}}function Cfe(n,t){1&n&&Je(0)}function wfe(n,t){if(1&n&&(S(0,"span",27),Se(1),E()),2&n){const e=C().$implicit,i=C(2);b(1),Ct(i.resolveFieldData(e))}}function Tfe(n,t){if(1&n){const e=Ne();S(0,"span",28),se("click",function(){ee(e),C();const r=Bt(1);return te(C(2).removeItem(r))}),E()}}const v0=function(n){return{$implicit:n}};function Dfe(n,t){if(1&n&&(S(0,"li",22,23),D(2,Cfe,1,0,"ng-container",24),D(3,wfe,2,1,"span",25),D(4,Tfe,1,0,"span",26),E()),2&n){const e=t.$implicit,i=C(2);b(2),_("ngTemplateOutlet",i.selectedItemTemplate)("ngTemplateOutletContext",tt(4,v0,e)),b(1),_("ngIf",!i.selectedItemTemplate),b(1),_("ngIf",!i.disabled&&!i.readonly)}}const Mfe=function(n,t){return{"p-disabled":n,"p-focus":t}};function Sfe(n,t){if(1&n){const e=Ne();S(0,"ul",16,17),se("click",function(){return ee(e),te(Bt(5).focus())}),D(2,Dfe,5,6,"li",18),S(3,"li",19)(4,"input",20,21),se("input",function(r){return ee(e),te(C().onInput(r))})("click",function(r){return ee(e),te(C().onInputClick(r))})("keydown",function(r){return ee(e),te(C().onKeydown(r))})("keyup",function(r){return ee(e),te(C().onKeyup(r))})("focus",function(r){return ee(e),te(C().onInputFocus(r))})("blur",function(r){return ee(e),te(C().onInputBlur(r))})("change",function(r){return ee(e),te(C().onInputChange(r))})("paste",function(r){return ee(e),te(C().onInputPaste(r))}),E()()()}if(2&n){const e=C();_("ngClass",Fn(20,Mfe,e.disabled,e.focus)),b(2),_("ngForOf",e.value),b(2),Ut(e.inputStyleClass),_("autofocus",e.autofocus)("disabled",e.disabled)("readonly",e.readonly)("autocomplete",e.autocomplete)("ngStyle",e.inputStyle),bt("type",e.type)("id",e.inputId)("placeholder",e.value&&e.value.length?null:e.placeholder)("tabindex",e.tabindex)("maxlength",e.maxlength)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledBy)("aria-required",e.required)("aria-controls",e.listId)("aria-expanded",e.overlayVisible)("aria-activedescendant","p-highlighted-option")}}function Efe(n,t){1&n&&_e(0,"i",29)}function xfe(n,t){if(1&n){const e=Ne();S(0,"button",30,31),se("click",function(r){return ee(e),te(C().handleDropdownClick(r))}),E()}if(2&n){const e=C();_("icon",e.dropdownIcon)("disabled",e.disabled),bt("aria-label",e.dropdownAriaLabel)("tabindex",e.tabindex)}}function Ife(n,t){1&n&&Je(0)}function Ofe(n,t){1&n&&Je(0)}const cz=function(n,t){return{$implicit:n,options:t}};function Afe(n,t){if(1&n&&D(0,Ofe,1,0,"ng-container",24),2&n){const e=t.$implicit,i=t.options;C(2),_("ngTemplateOutlet",Bt(15))("ngTemplateOutletContext",Fn(2,cz,e,i))}}function kfe(n,t){1&n&&Je(0)}const Nfe=function(n){return{options:n}};function Pfe(n,t){if(1&n&&D(0,kfe,1,0,"ng-container",24),2&n){const e=t.options;_("ngTemplateOutlet",C(3).loaderTemplate)("ngTemplateOutletContext",tt(2,Nfe,e))}}function Lfe(n,t){1&n&&(it(0),D(1,Pfe,1,4,"ng-template",35),rt())}const b0=function(n){return{height:n}};function Rfe(n,t){if(1&n){const e=Ne();S(0,"p-scroller",32,33),se("onLazyLoad",function(r){return ee(e),te(C().onLazyLoad.emit(r))}),D(2,Afe,1,5,"ng-template",34),D(3,Lfe,2,0,"ng-container",11),E()}if(2&n){const e=C();Gn(tt(8,b0,e.scrollHeight)),_("items",e.suggestions)("itemSize",e.virtualScrollItemSize||e._itemSize)("autoSize",!0)("lazy",e.lazy)("options",e.virtualScrollOptions),b(3),_("ngIf",e.loaderTemplate)}}function Ffe(n,t){1&n&&Je(0)}const jfe=function(){return{}};function zfe(n,t){if(1&n&&(it(0),D(1,Ffe,1,0,"ng-container",24),rt()),2&n){const e=C(),i=Bt(15);b(1),_("ngTemplateOutlet",i)("ngTemplateOutletContext",Fn(3,cz,e.suggestions,cr(2,jfe)))}}function Vfe(n,t){if(1&n&&(S(0,"span"),Se(1),E()),2&n){const e=C().$implicit,i=C(3);b(1),Ct(i.getOptionGroupLabel(e)||"empty")}}function Bfe(n,t){1&n&&Je(0)}function Ufe(n,t){1&n&&Je(0)}function Hfe(n,t){if(1&n&&(S(0,"li",41),D(1,Vfe,2,1,"span",11),D(2,Bfe,1,0,"ng-container",24),E(),D(3,Ufe,1,0,"ng-container",24)),2&n){const e=t.$implicit,i=C(2).options,r=Bt(5),o=C();_("ngStyle",tt(6,b0,i.itemSize+"px")),b(1),_("ngIf",!o.groupTemplate),b(1),_("ngTemplateOutlet",o.groupTemplate)("ngTemplateOutletContext",tt(8,v0,e)),b(1),_("ngTemplateOutlet",r)("ngTemplateOutletContext",tt(10,v0,o.getOptionGroupChildren(e)))}}function $fe(n,t){if(1&n&&(it(0),D(1,Hfe,4,12,"ng-template",40),rt()),2&n){const e=C().$implicit;b(1),_("ngForOf",e)}}function Wfe(n,t){1&n&&Je(0)}function Gfe(n,t){if(1&n&&(it(0),D(1,Wfe,1,0,"ng-container",24),rt()),2&n){const e=C().$implicit,i=Bt(5);b(1),_("ngTemplateOutlet",i)("ngTemplateOutletContext",tt(2,v0,e))}}function Yfe(n,t){if(1&n&&(S(0,"span"),Se(1),E()),2&n){const e=C().$implicit,i=C(3);b(1),Ct(i.resolveFieldData(e))}}function qfe(n,t){1&n&&Je(0)}const Kfe=function(n){return{"p-highlight":n}},Qfe=function(n,t){return{$implicit:n,index:t}};function Zfe(n,t){if(1&n){const e=Ne();S(0,"li",43),se("click",function(){const o=ee(e).$implicit;return te(C(3).selectItem(o))}),D(1,Yfe,2,1,"span",11),D(2,qfe,1,0,"ng-container",24),E()}if(2&n){const e=t.$implicit,i=t.index,r=C(2).options,o=C();_("ngStyle",tt(6,b0,r.itemSize+"px"))("ngClass",tt(8,Kfe,e===o.highlightOption))("id",o.highlightOption==e?"p-highlighted-option":""),b(1),_("ngIf",!o.itemTemplate),b(1),_("ngTemplateOutlet",o.itemTemplate)("ngTemplateOutletContext",Fn(10,Qfe,e,r.getOptions?r.getOptions(i):i))}}function Jfe(n,t){1&n&&D(0,Zfe,3,13,"li",42),2&n&&_("ngForOf",t.$implicit)}function Xfe(n,t){if(1&n&&(it(0),Se(1),rt()),2&n){const e=C(3);b(1),bi(" ",e.emptyMessageLabel," ")}}function epe(n,t){1&n&&Je(0,null,46)}function tpe(n,t){if(1&n&&(S(0,"li",44),D(1,Xfe,2,1,"ng-container",45),D(2,epe,2,0,"ng-container",9),E()),2&n){const e=C().options,i=C();_("ngStyle",tt(4,b0,e.itemSize+"px")),b(1),_("ngIf",!i.emptyTemplate)("ngIfElse",i.empty),b(1),_("ngTemplateOutlet",i.emptyTemplate)}}function npe(n,t){if(1&n&&(S(0,"ul",36,37),D(2,$fe,2,1,"ng-container",11),D(3,Gfe,2,4,"ng-container",11),D(4,Jfe,1,1,"ng-template",null,38,Mn),D(6,tpe,3,6,"li",39),E()),2&n){const e=t.options,i=C();Gn(e.contentStyle),_("ngClass",e.contentStyleClass),bt("id",i.listId),b(2),_("ngIf",i.group),b(1),_("ngIf",!i.group),b(3),_("ngIf",i.noResults&&i.showEmptyMessage)}}function ipe(n,t){1&n&&Je(0)}const rpe=function(n,t){return{"p-autocomplete p-component":!0,"p-autocomplete-dd":n,"p-autocomplete-multiple":t}},ope=function(){return["p-autocomplete-panel p-component"]},spe={provide:Qi,useExisting:Ft(()=>uz),multi:!0};let uz=(()=>{class n{constructor(e,i,r,o,s,a,l){this.el=e,this.renderer=i,this.cd=r,this.differs=o,this.config=s,this.overlayService=a,this.zone=l,this.minLength=1,this.delay=300,this.scrollHeight="200px",this.lazy=!1,this.type="text",this.autoZIndex=!0,this.baseZIndex=0,this.dropdownIcon="pi pi-chevron-down",this.unique=!0,this.completeOnFocus=!1,this.showClear=!1,this.dropdownMode="blank",this.showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)",this.hideTransitionOptions=".1s linear",this.autocomplete="off",this.completeMethod=new Q,this.onSelect=new Q,this.onUnselect=new Q,this.onFocus=new Q,this.onBlur=new Q,this.onDropdownClick=new Q,this.onClear=new Q,this.onKeyUp=new Q,this.onShow=new Q,this.onHide=new Q,this.onLazyLoad=new Q,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.overlayVisible=!1,this.focus=!1,this.inputFieldValue=null,this.inputValue=null,this.differ=o.find([]).create(null),this.listId=C1()+"_list"}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=e,console.warn("The itemSize property is deprecated, use virtualScrollItemSize property instead.")}get suggestions(){return this._suggestions}set suggestions(e){this._suggestions=e,this.handleSuggestionsChange()}ngAfterViewChecked(){this.suggestionsUpdated&&this.overlayViewChild&&this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.overlayViewChild&&this.overlayViewChild.alignOverlay()},1),this.suggestionsUpdated=!1}),this.highlightOptionChanged&&this.zone.runOutsideAngular(()=>{setTimeout(()=>{if(this.overlay&&this.itemsWrapper){let e=q.findSingle(this.overlayViewChild.overlayViewChild.nativeElement,"li.p-highlight");e&&q.scrollInView(this.itemsWrapper,e)}},1),this.highlightOptionChanged=!1})}handleSuggestionsChange(){null!=this._suggestions&&this.loading&&(this.highlightOption=null,this._suggestions.length?(this.noResults=!1,this.show(),this.suggestionsUpdated=!0,this.autoHighlight&&(this.highlightOption=this._suggestions[0])):(this.noResults=!0,this.showEmptyMessage?(this.show(),this.suggestionsUpdated=!0):this.hide()),this.loading=!1)}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"item":default:this.itemTemplate=e.template;break;case"group":this.groupTemplate=e.template;break;case"selectedItem":this.selectedItemTemplate=e.template;break;case"header":this.headerTemplate=e.template;break;case"empty":this.emptyTemplate=e.template;break;case"footer":this.footerTemplate=e.template;break;case"loader":this.loaderTemplate=e.template}})}writeValue(e){this.value=e,this.filled=this.value&&""!=this.value,this.updateInputField(),this.cd.markForCheck()}getOptionGroupChildren(e){return this.optionGroupChildren?wt.resolveFieldData(e,this.optionGroupChildren):e.items}getOptionGroupLabel(e){return this.optionGroupLabel?wt.resolveFieldData(e,this.optionGroupLabel):null!=e.label?e.label:e}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}onInput(e){if(!this.inputKeyDown&&q.isIE())return;this.timeout&&clearTimeout(this.timeout);let i=e.target.value;this.inputValue=i,!this.multiple&&!this.forceSelection&&this.onModelChange(i),0===i.length&&!this.multiple&&(this.value=null,this.hide(),this.onClear.emit(e),this.onModelChange(i)),i.length>=this.minLength?this.timeout=setTimeout(()=>{this.search(e,i)},this.delay):this.hide(),this.updateFilledState(),this.inputKeyDown=!1}onInputClick(e){this.documentClickListener&&(this.inputClick=!0)}search(e,i){null!=i&&(this.loading=!0,this.completeMethod.emit({originalEvent:e,query:i}))}selectItem(e,i=!0){this.forceSelectionUpdateModelTimeout&&(clearTimeout(this.forceSelectionUpdateModelTimeout),this.forceSelectionUpdateModelTimeout=null),this.multiple?(this.multiInputEL.nativeElement.value="",this.value=this.value||[],(!this.isSelected(e)||!this.unique)&&(this.value=[...this.value,e],this.onModelChange(this.value))):(this.inputEL.nativeElement.value=this.resolveFieldData(e),this.value=e,this.onModelChange(this.value)),this.onSelect.emit(e),this.updateFilledState(),i&&(this.itemClicked=!0,this.focusInput()),this.hide()}show(e){(this.multiInputEL||this.inputEL)&&!this.overlayVisible&&(this.multiple?this.multiInputEL.nativeElement.ownerDocument.activeElement==this.multiInputEL.nativeElement:this.inputEL.nativeElement.ownerDocument.activeElement==this.inputEL.nativeElement)&&(this.overlayVisible=!0),this.onShow.emit(e),this.cd.markForCheck()}clear(){this.multiple?this.value=null:(this.inputValue=null,this.inputEL.nativeElement.value=""),this.updateFilledState(),this.onModelChange(this.value),this.onClear.emit()}onOverlayAnimationStart(e){"visible"===e.toState&&(this.itemsWrapper=q.findSingle(this.overlayViewChild.overlayViewChild.nativeElement,this.virtualScroll?".p-scroller":".p-autocomplete-panel"),this.virtualScroll&&this.scroller?.setContentEl(this.itemsViewChild.nativeElement))}resolveFieldData(e){let i=this.field?wt.resolveFieldData(e,this.field):e;return void 0!==i?i:""}hide(e){this.overlayVisible=!1,this.onHide.emit(e),this.cd.markForCheck()}handleDropdownClick(e){if(this.overlayVisible)this.hide();else{this.focusInput();let i=this.multiple?this.multiInputEL.nativeElement.value:this.inputEL.nativeElement.value;"blank"===this.dropdownMode?this.search(e,""):"current"===this.dropdownMode&&this.search(e,i),this.onDropdownClick.emit({originalEvent:e,query:i})}}focusInput(){this.multiple?this.multiInputEL.nativeElement.focus():this.inputEL.nativeElement.focus()}get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(Cl.EMPTY_MESSAGE)}removeItem(e){let i=q.index(e),r=this.value[i];this.value=this.value.filter((o,s)=>s!=i),this.onModelChange(this.value),this.updateFilledState(),this.onUnselect.emit(r)}onKeydown(e){if(this.overlayVisible)switch(e.which){case 40:if(this.group){let r=this.findOptionGroupIndex(this.highlightOption,this.suggestions);if(-1!==r){let o=r.itemIndex+1;o=0)this.highlightOption=this.getOptionGroupChildren(this.suggestions[r.groupIndex])[o],this.highlightOptionChanged=!0;else if(o<0){let s=this.suggestions[r.groupIndex-1];s&&(this.highlightOption=this.getOptionGroupChildren(s)[this.getOptionGroupChildren(s).length-1],this.highlightOptionChanged=!0)}}}else{let r=this.findOptionIndex(this.highlightOption,this.suggestions);r>0&&(this.highlightOption=this.suggestions[r-1],this.highlightOptionChanged=!0)}e.preventDefault();break;case 13:this.highlightOption&&(this.selectItem(this.highlightOption),this.hide()),e.preventDefault();break;case 27:this.hide(),e.preventDefault();break;case 9:this.highlightOption&&this.selectItem(this.highlightOption),this.hide()}else 40===e.which&&this.suggestions?this.search(e,e.target.value):e.ctrlKey&&"z"===e.key&&!this.multiple?(this.inputEL.nativeElement.value=this.resolveFieldData(null),this.value="",this.onModelChange(this.value)):e.ctrlKey&&"z"===e.key&&this.multiple&&(this.value.pop(),this.onModelChange(this.value),this.updateFilledState());if(this.multiple&&8===e.which&&this.value&&this.value.length&&!this.multiInputEL.nativeElement.value){this.value=[...this.value];const r=this.value.pop();this.onModelChange(this.value),this.updateFilledState(),this.onUnselect.emit(r)}this.inputKeyDown=!0}onKeyup(e){this.onKeyUp.emit(e)}onInputFocus(e){!this.itemClicked&&this.completeOnFocus&&this.search(e,this.multiple?this.multiInputEL.nativeElement.value:this.inputEL.nativeElement.value),this.focus=!0,this.onFocus.emit(e),this.itemClicked=!1}onInputBlur(e){this.focus=!1,this.onModelTouched(),this.onBlur.emit(e)}onInputChange(e){if(this.forceSelection){let i=!1,r=e.target.value.trim();if(this.suggestions)for(let o of this.suggestions){let s=this.field?wt.resolveFieldData(o,this.field):o;if(s&&r===s.trim()){i=!0,this.forceSelectionUpdateModelTimeout=setTimeout(()=>{this.selectItem(o,!1)},250);break}}i||(this.multiple?this.multiInputEL.nativeElement.value="":(this.value=null,this.inputEL.nativeElement.value=""),this.onClear.emit(e),this.onModelChange(this.value),this.updateFilledState())}}onInputPaste(e){this.onKeydown(e)}isSelected(e){let i=!1;if(this.value&&this.value.length)for(let r=0;r{class n{constructor(){this.size="normal",this.shape="square",this.onImageError=new Q}containerClass(){return{"p-avatar p-component":!0,"p-avatar-image":null!=this.image,"p-avatar-circle":"circle"===this.shape,"p-avatar-lg":"large"===this.size,"p-avatar-xl":"xlarge"===this.size}}imageError(e){this.onImageError.emit(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=we({type:n,selectors:[["p-avatar"]],hostAttrs:[1,"p-element"],inputs:{label:"label",icon:"icon",image:"image",size:"size",shape:"shape",style:"style",styleClass:"styleClass"},outputs:{onImageError:"onImageError"},ngContentSelectors:hpe,decls:7,vars:6,consts:[[3,"ngClass","ngStyle"],["class","p-avatar-text",4,"ngIf","ngIfElse"],["iconTemplate",""],["imageTemplate",""],[1,"p-avatar-text"],[3,"class","ngClass",4,"ngIf","ngIfElse"],[3,"ngClass"],[3,"src","error",4,"ngIf"],[3,"src","error"]],template:function(e,i){if(1&e&&($r(),S(0,"div",0),Ii(1),D(2,ape,2,1,"span",1),D(3,cpe,1,2,"ng-template",null,2,Mn),D(5,dpe,1,1,"ng-template",null,3,Mn),E()),2&e){const r=Bt(4);Ut(i.styleClass),_("ngClass",i.containerClass())("ngStyle",i.style),b(2),_("ngIf",i.label)("ngIfElse",r)}},dependencies:[qn,$t,ki],styles:[".p-avatar{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;font-size:1rem}.p-avatar.p-avatar-image{background-color:transparent}.p-avatar.p-avatar-circle{border-radius:50%;overflow:hidden}.p-avatar .p-avatar-icon{font-size:1rem}.p-avatar img{width:100%;height:100%}\n"],encapsulation:2,changeDetection:0}),n})();class w0{constructor(t,e){this.avatar=t,this.cd=e,this.text="Default",this.avatar.shape="circle"}ngOnInit(){this.avatar.label=this.avatar.image?void 0:this.text[0]?.toUpperCase()}onImageError(){this.avatar.label=this.text[0]?.toUpperCase(),this.avatar.image=null,this.cd.detectChanges()}}function Ya(n){return(Ya="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})(n)}function Qn(n,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function ppe(n){return Qn(1,arguments),n instanceof Date||"object"===Ya(n)&&"[object Date]"===Object.prototype.toString.call(n)}function ni(n){Qn(1,arguments);var t=Object.prototype.toString.call(n);return n instanceof Date||"object"===Ya(n)&&"[object Date]"===t?new Date(n.getTime()):"number"==typeof n||"[object Number]"===t?new Date(n):(("string"==typeof n||"[object String]"===t)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function dz(n){if(Qn(1,arguments),!ppe(n)&&"number"!=typeof n)return!1;var t=ni(n);return!isNaN(Number(t))}function hz(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,i=new Array(t);e=n.length?{done:!0}:{done:!1,value:n[i++]}},e:function(c){throw c},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){e=e.call(n)},n:function(){var c=e.next();return o=c.done,c},e:function(c){s=!0,a=c},f:function(){try{!o&&null!=e.return&&e.return()}finally{if(s)throw a}}}}w0.\u0275fac=function(t){return new(t||w0)(I(fpe),I(In))},w0.\u0275dir=Ce({type:w0,selectors:[["p-avatar","dotAvatar",""]],hostBindings:function(t,e){1&t&&se("onImageError",function(r){return e.onImageError(r)})},inputs:{text:"text"},standalone:!0});const sE=A(61348).default;function io(n){if(null===n||!0===n||!1===n)return NaN;var t=Number(n);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function ype(n,t){Qn(2,arguments);var e=ni(n).getTime(),i=io(t);return new Date(e+i)}function pz(n,t){Qn(2,arguments);var e=io(t);return ype(n,-e)}function aE(n,t){if(null==n)throw new TypeError("assign requires that input parameter not be null or undefined");for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n}var mz=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},gz=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}};const lE={p:gz,P:function(t,e){var s,i=t.match(/(P+)(p+)?/)||[],r=i[1],o=i[2];if(!o)return mz(t,e);switch(r){case"P":s=e.dateTime({width:"short"});break;case"PP":s=e.dateTime({width:"medium"});break;case"PPP":s=e.dateTime({width:"long"});break;default:s=e.dateTime({width:"full"})}return s.replace("{{date}}",mz(r,e)).replace("{{time}}",gz(o,e))}};function Qh(n){var t=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return t.setUTCFullYear(n.getFullYear()),n.getTime()-t.getTime()}var bpe=["D","DD"],Cpe=["YY","YYYY"];function yz(n){return-1!==bpe.indexOf(n)}function _z(n){return-1!==Cpe.indexOf(n)}function T0(n,t,e){if("YYYY"===n)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===n)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===n)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===n)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}function je(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function cE(n,t){return(cE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,r){return i.__proto__=r,i})(n,t)}function ln(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&cE(n,t)}function D0(n){return(D0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(n)}function Tpe(n,t){if(t&&("object"===Ya(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return je(n)}function cn(n){var t=function wpe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var r,i=D0(n);if(t){var o=D0(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return Tpe(this,r)}}function Xt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function vz(n){var t=function Dpe(n,t){if("object"!==Ya(n)||null===n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var i=e.call(n,t||"default");if("object"!==Ya(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"===Ya(t)?t:String(t)}function bz(n,t){for(var e=0;e0,i=e?t:1-t;if(i<=50)r=n||100;else{var o=i+50;r=n+100*Math.floor(o/100)-(n>=o%100?100:0)}return e?r:1-r}function Mz(n){return n%400==0||n%4==0&&n%100!=0}var Fpe=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s0}},{key:"set",value:function(r,o,s){var a=r.getUTCFullYear();if(s.isTwoDigitYear){var l=Dz(s.year,a);return r.setUTCFullYear(l,0,1),r.setUTCHours(0,0,0,0),r}return r.setUTCFullYear("era"in o&&1!==o.era?1-s.year:s.year,0,1),r.setUTCHours(0,0,0,0),r}}]),e}(_n),Sz={};function Su(){return Sz}function Eu(n,t){var e,i,r,o,s,a,l,c;Qn(1,arguments);var u=Su(),d=io(null!==(e=null!==(i=null!==(r=null!==(o=t?.weekStartsOn)&&void 0!==o?o:null==t||null===(s=t.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.weekStartsOn)&&void 0!==r?r:u.weekStartsOn)&&void 0!==i?i:null===(l=u.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==e?e:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=ni(n),f=h.getUTCDay(),p=(f=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(d+1,0,f),p.setUTCHours(0,0,0,0);var m=Eu(p,t),g=new Date(0);g.setUTCFullYear(d,0,f),g.setUTCHours(0,0,0,0);var y=Eu(g,t);return u.getTime()>=m.getTime()?d+1:u.getTime()>=y.getTime()?d:d-1}var jpe=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s0}},{key:"set",value:function(r,o,s,a){var l=dE(r,a);if(s.isTwoDigitYear){var c=Dz(s.year,l);return r.setUTCFullYear(c,0,a.firstWeekContainsDate),r.setUTCHours(0,0,0,0),Eu(r,a)}return r.setUTCFullYear("era"in o&&1!==o.era?1-s.year:s.year,0,a.firstWeekContainsDate),r.setUTCHours(0,0,0,0),Eu(r,a)}}]),e}(_n);function Zh(n){Qn(1,arguments);var t=1,e=ni(n),i=e.getUTCDay(),r=(i=1&&o<=4}},{key:"set",value:function(r,o,s){return r.setUTCMonth(3*(s-1),1),r.setUTCHours(0,0,0,0),r}}]),e}(_n),Upe=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=4}},{key:"set",value:function(r,o,s){return r.setUTCMonth(3*(s-1),1),r.setUTCHours(0,0,0,0),r}}]),e}(_n),Hpe=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=11}},{key:"set",value:function(r,o,s){return r.setUTCMonth(s,1),r.setUTCHours(0,0,0,0),r}}]),e}(_n),$pe=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=11}},{key:"set",value:function(r,o,s){return r.setUTCMonth(s,1),r.setUTCHours(0,0,0,0),r}}]),e}(_n);function Wpe(n,t){var e,i,r,o,s,a,l,c;Qn(1,arguments);var u=Su(),d=io(null!==(e=null!==(i=null!==(r=null!==(o=t?.firstWeekContainsDate)&&void 0!==o?o:null==t||null===(s=t.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.firstWeekContainsDate)&&void 0!==r?r:u.firstWeekContainsDate)&&void 0!==i?i:null===(l=u.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==e?e:1),h=dE(n,t),f=new Date(0);f.setUTCFullYear(h,0,d),f.setUTCHours(0,0,0,0);var p=Eu(f,t);return p}function Ez(n,t){Qn(1,arguments);var e=ni(n),i=Eu(e,t).getTime()-Wpe(e,t).getTime();return Math.round(i/6048e5)+1}var qpe=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=53}},{key:"set",value:function(r,o,s,a){return Eu(function Ype(n,t,e){Qn(2,arguments);var i=ni(n),r=io(t),o=Ez(i,e)-r;return i.setUTCDate(i.getUTCDate()-7*o),i}(r,s,a),a)}}]),e}(_n);function xz(n){Qn(1,arguments);var t=ni(n),e=t.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(e+1,0,4),i.setUTCHours(0,0,0,0);var r=Zh(i),o=new Date(0);o.setUTCFullYear(e,0,4),o.setUTCHours(0,0,0,0);var s=Zh(o);return t.getTime()>=r.getTime()?e+1:t.getTime()>=s.getTime()?e:e-1}function Kpe(n){Qn(1,arguments);var t=xz(n),e=new Date(0);e.setUTCFullYear(t,0,4),e.setUTCHours(0,0,0,0);var i=Zh(e);return i}function Iz(n){Qn(1,arguments);var t=ni(n),e=Zh(t).getTime()-Kpe(t).getTime();return Math.round(e/6048e5)+1}var Jpe=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=53}},{key:"set",value:function(r,o,s){return Zh(function Zpe(n,t){Qn(2,arguments);var e=ni(n),i=io(t),r=Iz(e)-i;return e.setUTCDate(e.getUTCDate()-7*r),e}(r,s))}}]),e}(_n),Xpe=[31,28,31,30,31,30,31,31,30,31,30,31],eme=[31,29,31,30,31,30,31,31,30,31,30,31],tme=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=eme[l]:o>=1&&o<=Xpe[l]}},{key:"set",value:function(r,o,s){return r.setUTCDate(s),r.setUTCHours(0,0,0,0),r}}]),e}(_n),nme=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=366:o>=1&&o<=365}},{key:"set",value:function(r,o,s){return r.setUTCMonth(0,s),r.setUTCHours(0,0,0,0),r}}]),e}(_n);function hE(n,t,e){var i,r,o,s,a,l,c,u;Qn(2,arguments);var d=Su(),h=io(null!==(i=null!==(r=null!==(o=null!==(s=e?.weekStartsOn)&&void 0!==s?s:null==e||null===(a=e.locale)||void 0===a||null===(l=a.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==o?o:d.weekStartsOn)&&void 0!==r?r:null===(c=d.locale)||void 0===c||null===(u=c.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==i?i:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=ni(n),p=io(t),m=f.getUTCDay(),g=p%7,y=(g+7)%7,w=(y=0&&o<=6}},{key:"set",value:function(r,o,s,a){return(r=hE(r,s,a)).setUTCHours(0,0,0,0),r}}]),e}(_n),rme=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=6}},{key:"set",value:function(r,o,s,a){return(r=hE(r,s,a)).setUTCHours(0,0,0,0),r}}]),e}(_n),ome=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=6}},{key:"set",value:function(r,o,s,a){return(r=hE(r,s,a)).setUTCHours(0,0,0,0),r}}]),e}(_n),ame=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=7}},{key:"set",value:function(r,o,s){return r=function sme(n,t){Qn(2,arguments);var e=io(t);e%7==0&&(e-=7);var i=1,r=ni(n),o=r.getUTCDay(),s=e%7,a=(s+7)%7,l=(a=1&&o<=12}},{key:"set",value:function(r,o,s){var a=r.getUTCHours()>=12;return r.setUTCHours(a&&s<12?s+12:a||12!==s?s:0,0,0,0),r}}]),e}(_n),hme=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=23}},{key:"set",value:function(r,o,s){return r.setUTCHours(s,0,0,0),r}}]),e}(_n),fme=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=11}},{key:"set",value:function(r,o,s){var a=r.getUTCHours()>=12;return r.setUTCHours(a&&s<12?s+12:s,0,0,0),r}}]),e}(_n),pme=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=24}},{key:"set",value:function(r,o,s){return r.setUTCHours(s<=24?s%24:s,0,0,0),r}}]),e}(_n),mme=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=59}},{key:"set",value:function(r,o,s){return r.setUTCMinutes(s,0,0),r}}]),e}(_n),gme=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=59}},{key:"set",value:function(r,o,s){return r.setUTCSeconds(s,0),r}}]),e}(_n),yme=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s0?i:1-i;return En("yy"===e?r%100:r,e.length)},Xl_M=function(t,e){var i=t.getUTCMonth();return"M"===e?String(i+1):En(i+1,2)},Xl_d=function(t,e){return En(t.getUTCDate(),e.length)},Xl_h=function(t,e){return En(t.getUTCHours()%12||12,e.length)},Xl_H=function(t,e){return En(t.getUTCHours(),e.length)},Xl_m=function(t,e){return En(t.getUTCMinutes(),e.length)},Xl_s=function(t,e){return En(t.getUTCSeconds(),e.length)},Xl_S=function(t,e){var i=e.length,r=t.getUTCMilliseconds();return En(Math.floor(r*Math.pow(10,i-3)),e.length)};var Rme={G:function(t,e,i){var r=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return i.era(r,{width:"abbreviated"});case"GGGGG":return i.era(r,{width:"narrow"});default:return i.era(r,{width:"wide"})}},y:function(t,e,i){if("yo"===e){var r=t.getUTCFullYear();return i.ordinalNumber(r>0?r:1-r,{unit:"year"})}return Xl_y(t,e)},Y:function(t,e,i,r){var o=dE(t,r),s=o>0?o:1-o;return"YY"===e?En(s%100,2):"Yo"===e?i.ordinalNumber(s,{unit:"year"}):En(s,e.length)},R:function(t,e){return En(xz(t),e.length)},u:function(t,e){return En(t.getUTCFullYear(),e.length)},Q:function(t,e,i){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return En(r,2);case"Qo":return i.ordinalNumber(r,{unit:"quarter"});case"QQQ":return i.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(r,{width:"narrow",context:"formatting"});default:return i.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,i){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return En(r,2);case"qo":return i.ordinalNumber(r,{unit:"quarter"});case"qqq":return i.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(r,{width:"narrow",context:"standalone"});default:return i.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,i){var r=t.getUTCMonth();switch(e){case"M":case"MM":return Xl_M(t,e);case"Mo":return i.ordinalNumber(r+1,{unit:"month"});case"MMM":return i.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(r,{width:"narrow",context:"formatting"});default:return i.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,i){var r=t.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return En(r+1,2);case"Lo":return i.ordinalNumber(r+1,{unit:"month"});case"LLL":return i.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(r,{width:"narrow",context:"standalone"});default:return i.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,i,r){var o=Ez(t,r);return"wo"===e?i.ordinalNumber(o,{unit:"week"}):En(o,e.length)},I:function(t,e,i){var r=Iz(t);return"Io"===e?i.ordinalNumber(r,{unit:"week"}):En(r,e.length)},d:function(t,e,i){return"do"===e?i.ordinalNumber(t.getUTCDate(),{unit:"date"}):Xl_d(t,e)},D:function(t,e,i){var r=function Pme(n){Qn(1,arguments);var t=ni(n),e=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var i=t.getTime(),r=e-i;return Math.floor(r/864e5)+1}(t);return"Do"===e?i.ordinalNumber(r,{unit:"dayOfYear"}):En(r,e.length)},E:function(t,e,i){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return i.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,i,r){var o=t.getUTCDay(),s=(o-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(s);case"ee":return En(s,2);case"eo":return i.ordinalNumber(s,{unit:"day"});case"eee":return i.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},c:function(t,e,i,r){var o=t.getUTCDay(),s=(o-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(s);case"cc":return En(s,e.length);case"co":return i.ordinalNumber(s,{unit:"day"});case"ccc":return i.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(o,{width:"narrow",context:"standalone"});case"cccccc":return i.day(o,{width:"short",context:"standalone"});default:return i.day(o,{width:"wide",context:"standalone"})}},i:function(t,e,i){var r=t.getUTCDay(),o=0===r?7:r;switch(e){case"i":return String(o);case"ii":return En(o,e.length);case"io":return i.ordinalNumber(o,{unit:"day"});case"iii":return i.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,i){var o=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,e,i){var o,r=t.getUTCHours();switch(o=12===r?"noon":0===r?"midnight":r/12>=1?"pm":"am",e){case"b":case"bb":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(t,e,i){var o,r=t.getUTCHours();switch(o=r>=17?"evening":r>=12?"afternoon":r>=4?"morning":"night",e){case"B":case"BB":case"BBB":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(t,e,i){if("ho"===e){var r=t.getUTCHours()%12;return 0===r&&(r=12),i.ordinalNumber(r,{unit:"hour"})}return Xl_h(t,e)},H:function(t,e,i){return"Ho"===e?i.ordinalNumber(t.getUTCHours(),{unit:"hour"}):Xl_H(t,e)},K:function(t,e,i){var r=t.getUTCHours()%12;return"Ko"===e?i.ordinalNumber(r,{unit:"hour"}):En(r,e.length)},k:function(t,e,i){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===e?i.ordinalNumber(r,{unit:"hour"}):En(r,e.length)},m:function(t,e,i){return"mo"===e?i.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):Xl_m(t,e)},s:function(t,e,i){return"so"===e?i.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):Xl_s(t,e)},S:function(t,e){return Xl_S(t,e)},X:function(t,e,i,r){var s=(r._originalDate||t).getTimezoneOffset();if(0===s)return"Z";switch(e){case"X":return kz(s);case"XXXX":case"XX":return xu(s);default:return xu(s,":")}},x:function(t,e,i,r){var s=(r._originalDate||t).getTimezoneOffset();switch(e){case"x":return kz(s);case"xxxx":case"xx":return xu(s);default:return xu(s,":")}},O:function(t,e,i,r){var s=(r._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Az(s,":");default:return"GMT"+xu(s,":")}},z:function(t,e,i,r){var s=(r._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Az(s,":");default:return"GMT"+xu(s,":")}},t:function(t,e,i,r){return En(Math.floor((r._originalDate||t).getTime()/1e3),e.length)},T:function(t,e,i,r){return En((r._originalDate||t).getTime(),e.length)}};function Az(n,t){var e=n>0?"-":"+",i=Math.abs(n),r=Math.floor(i/60),o=i%60;if(0===o)return e+String(r);var s=t||"";return e+String(r)+s+En(o,2)}function kz(n,t){return n%60==0?(n>0?"-":"+")+En(Math.abs(n)/60,2):xu(n,t)}function xu(n,t){var e=t||"",i=n>0?"-":"+",r=Math.abs(n);return i+En(Math.floor(r/60),2)+e+En(r%60,2)}const Fme=Rme;var jme=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,zme=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Vme=/^'([^]*?)'?$/,Bme=/''/g,Ume=/[a-zA-Z]/;function $me(n){var t=n.match(Vme);return t?t[1].replace(Bme,"'"):n}function Wme(n,t){Qn(2,arguments);var e=ni(n),i=ni(t),r=e.getTime()-i.getTime();return r<0?-1:r>0?1:r}function Gme(n){return aE({},n)}var Nz=6e4,Pz=43200,Lz=525600,Rz=A(30298);const Fz="Invalid date";class Iu{constructor(t){this.loginService=st(xl),this.defaultDateFormatOptions={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!0},t.getSystemTimeZone().subscribe(e=>this._systemTimeZone=e)}get localeOptions(){return this._localeOptions}set localeOptions(t){this._localeOptions=t}setLang(t){var e=this;return eu(function*(){let o,[i,r]=t.replace("_","-").split("-");i=i?.toLowerCase()||"en",r=r?.toLocaleUpperCase()||"US";try{o=yield A(13131)(`./${i}-${r}/index.js`)}catch{try{o=yield A(71213)(`./${i}/index.js`)}catch{o=yield Promise.resolve().then(A.bind(A,61348))}}e.localeOptions={locale:o.default}})()}getDateFromTimestamp(t,e){if(!this.isValidTimestamp(t))return console.error("Invalid timestamp provided:",t),Fz;try{const i=e||this.defaultDateFormatOptions;return new Intl.DateTimeFormat(this.getLocaleISOSelectedAtLogin(),i).format(new Date(t)).replace(/\s+/g," ").trim()}catch(i){return console.error("Error formatting date:",i),Fz}}differenceInCalendarDays(t,e){return function kme(n,t){Qn(2,arguments);var e=Oz(n),i=Oz(t),r=e.getTime()-Qh(e),o=i.getTime()-Qh(i);return Math.round((r-o)/864e5)}(t,e)}isValid(t,e){return function Kme(n,t){return dz(function Ime(n,t,e,i){var r,o,s,a,l,c,u,d,h,f,p,m,g,y,w,T,v,N;Qn(3,arguments);var x=String(n),ae=String(t),Z=Su(),Pe=null!==(r=null!==(o=i?.locale)&&void 0!==o?o:Z.locale)&&void 0!==r?r:sE;if(!Pe.match)throw new RangeError("locale must contain match property");var Ge=io(null!==(s=null!==(a=null!==(l=null!==(c=i?.firstWeekContainsDate)&&void 0!==c?c:null==i||null===(u=i.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==l?l:Z.firstWeekContainsDate)&&void 0!==a?a:null===(h=Z.locale)||void 0===h||null===(f=h.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==s?s:1);if(!(Ge>=1&&Ge<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Tt=io(null!==(p=null!==(m=null!==(g=null!==(y=i?.weekStartsOn)&&void 0!==y?y:null==i||null===(w=i.locale)||void 0===w||null===(T=w.options)||void 0===T?void 0:T.weekStartsOn)&&void 0!==g?g:Z.weekStartsOn)&&void 0!==m?m:null===(v=Z.locale)||void 0===v||null===(N=v.options)||void 0===N?void 0:N.weekStartsOn)&&void 0!==p?p:0);if(!(Tt>=0&&Tt<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===ae)return""===x?ni(e):new Date(NaN);var me,ht={firstWeekContainsDate:Ge,weekStartsOn:Tt,locale:Pe},ut=[new Epe],vn=ae.match(Dme).map(function(Qt){var mt=Qt[0];return mt in lE?(0,lE[mt])(Qt,Pe.formatLong):Qt}).join("").match(Tme),kt=[],de=fz(vn);try{var be=function(){var mt=me.value;!(null!=i&&i.useAdditionalWeekYearTokens)&&_z(mt)&&T0(mt,ae,n),(null==i||!i.useAdditionalDayOfYearTokens)&&yz(mt)&&T0(mt,ae,n);var Un=mt[0],Lr=wme[Un];if(Lr){var Bu=Lr.incompatibleTokens;if(Array.isArray(Bu)){var ac=kt.find(function(Uu){return Bu.includes(Uu.token)||Uu.token===Un});if(ac)throw new RangeError("The format string mustn't contain `".concat(ac.fullToken,"` and `").concat(mt,"` at the same time"))}else if("*"===Lr.incompatibleTokens&&kt.length>0)throw new RangeError("The format string mustn't contain `".concat(mt,"` and any other token at the same time"));kt.push({token:Un,fullToken:mt});var lc=Lr.run(x,mt,Pe.match,ht);if(!lc)return{v:new Date(NaN)};ut.push(lc.setter),x=lc.rest}else{if(Un.match(xme))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Un+"`");if("''"===mt?mt="'":"'"===Un&&(mt=Ome(mt)),0!==x.indexOf(mt))return{v:new Date(NaN)};x=x.slice(mt.length)}};for(de.s();!(me=de.n()).done;){var We=be();if("object"===Ya(We))return We.v}}catch(Qt){de.e(Qt)}finally{de.f()}if(x.length>0&&Eme.test(x))return new Date(NaN);var Lt=ut.map(function(Qt){return Qt.priority}).sort(function(Qt,mt){return mt-Qt}).filter(function(Qt,mt,Un){return Un.indexOf(Qt)===mt}).map(function(Qt){return ut.filter(function(mt){return mt.priority===Qt}).sort(function(mt,Un){return Un.subPriority-mt.subPriority})}).map(function(Qt){return Qt[0]}),dn=ni(e);if(isNaN(dn.getTime()))return new Date(NaN);var tr,Wt=pz(dn,Qh(dn)),On={},zt=fz(Lt);try{for(zt.s();!(tr=zt.n()).done;){var so=tr.value;if(!so.validate(Wt,ht))return new Date(NaN);var An=so.set(Wt,On,ht);Array.isArray(An)?(Wt=An[0],aE(On,An[1])):Wt=An}}catch(Qt){zt.e(Qt)}finally{zt.f()}return Wt}(n,t,new Date))}(t,e)}format(t,e){return function Hme(n,t,e){var i,r,o,s,a,l,c,u,d,h,f,p,m,g,y,w,T,v;Qn(2,arguments);var N=String(t),x=Su(),ae=null!==(i=null!==(r=e?.locale)&&void 0!==r?r:x.locale)&&void 0!==i?i:sE,Z=io(null!==(o=null!==(s=null!==(a=null!==(l=e?.firstWeekContainsDate)&&void 0!==l?l:null==e||null===(c=e.locale)||void 0===c||null===(u=c.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==a?a:x.firstWeekContainsDate)&&void 0!==s?s:null===(d=x.locale)||void 0===d||null===(h=d.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==o?o:1);if(!(Z>=1&&Z<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Pe=io(null!==(f=null!==(p=null!==(m=null!==(g=e?.weekStartsOn)&&void 0!==g?g:null==e||null===(y=e.locale)||void 0===y||null===(w=y.options)||void 0===w?void 0:w.weekStartsOn)&&void 0!==m?m:x.weekStartsOn)&&void 0!==p?p:null===(T=x.locale)||void 0===T||null===(v=T.options)||void 0===v?void 0:v.weekStartsOn)&&void 0!==f?f:0);if(!(Pe>=0&&Pe<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!ae.localize)throw new RangeError("locale must contain localize property");if(!ae.formatLong)throw new RangeError("locale must contain formatLong property");var Ge=ni(n);if(!dz(Ge))throw new RangeError("Invalid time value");var Tt=Qh(Ge),ht=pz(Ge,Tt),ut={firstWeekContainsDate:Z,weekStartsOn:Pe,locale:ae,_originalDate:Ge},vn=N.match(zme).map(function(kt){var de=kt[0];return"p"===de||"P"===de?(0,lE[de])(kt,ae.formatLong):kt}).join("").match(jme).map(function(kt){if("''"===kt)return"'";var de=kt[0];if("'"===de)return $me(kt);var me=Fme[de];if(me)return!(null!=e&&e.useAdditionalWeekYearTokens)&&_z(kt)&&T0(kt,t,String(n)),!(null!=e&&e.useAdditionalDayOfYearTokens)&&yz(kt)&&T0(kt,t,String(n)),me(ht,kt,ae.localize,ut);if(de.match(Ume))throw new RangeError("Format string contains an unescaped latin alphabet character `"+de+"`");return kt}).join("");return vn}(t,e,{...this.localeOptions})}formatTZ(t,e){const i=(0,Rz.utcToZonedTime)(t,this._systemTimeZone.id);return(0,Rz.format)(i,e,{timeZone:this._systemTimeZone.id})}getRelative(t,e=this.getUTC()){return function Yme(n,t,e){var i,r,o;Qn(2,arguments);var s=Su(),a=null!==(i=null!==(r=e?.locale)&&void 0!==r?r:s.locale)&&void 0!==i?i:sE;if(!a.formatDistance)throw new RangeError("locale must contain localize.formatDistance property");var l=Wme(n,t);if(isNaN(l))throw new RangeError("Invalid time value");var u,d,c=aE(Gme(e),{addSuffix:Boolean(e?.addSuffix),comparison:l});l>0?(u=ni(t),d=ni(n)):(u=ni(n),d=ni(t));var f,h=String(null!==(o=e?.roundingMethod)&&void 0!==o?o:"round");if("floor"===h)f=Math.floor;else if("ceil"===h)f=Math.ceil;else{if("round"!==h)throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");f=Math.round}var T,p=d.getTime()-u.getTime(),m=p/Nz,g=Qh(d)-Qh(u),y=(p-g)/Nz,w=e?.unit;if("second"===(T=w?String(w):m<1?"second":m<60?"minute":m<1440?"hour":y1e13)return!1;const e=new Date(t);return!isNaN(e.getTime())}getLocaleISOSelectedAtLogin(){const t=this.loginService.currentUserLanguageId;return t?t.replace("_","-"):"en-US"}}Iu.\u0275fac=function(t){return new(t||Iu)(F(Qc))},Iu.\u0275prov=H({token:Iu,factory:Iu.\u0275fac,providedIn:"root"});class E0{constructor(t){this.dotFormatDateService=t}transform(t=(new Date).getTime(),e="MM/dd/yyyy",i=7){const r=!isNaN(Number(t)),o=r?new Date(Number(t)):new Date(t.replace("- ","")),s=r?this.dotFormatDateService.getUTC(o):o;return Math.abs(this.dotFormatDateService.differenceInCalendarDays(s,this.dotFormatDateService.getUTC()))>i?this.dotFormatDateService.format(s,e):this.dotFormatDateService.getRelative(s)}}E0.\u0275fac=function(t){return new(t||E0)(I(Iu,16))},E0.\u0275pipe=Hn({name:"dotRelativeDate",type:E0,pure:!0,standalone:!0});class x0{transform(t,e){return e.forEach((i,r)=>{t=t.replace(`{${r}}`,i)}),t}}x0.\u0275fac=function(t){return new(t||x0)},x0.\u0275pipe=Hn({name:"dotStringFormat",type:x0,pure:!0,standalone:!0});class I0{constructor(){this.dotFormatDateService=st(Iu)}transform(t,e){return this.dotFormatDateService.getDateFromTimestamp(t,e)}}I0.\u0275fac=function(t){return new(t||I0)},I0.\u0275pipe=Hn({name:"dotTimestampToDate",type:I0,pure:!0,standalone:!0});class O0{constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustResourceUrl(t)}}function Qme(n,t){if(1&n){const e=Ne();S(0,"div",3)(1,"div",4),_e(2,"video",5),E(),S(3,"div",6)(4,"div"),_e(5,"dot-spinner",7),Se(6," Uploading video, wait until finished. "),E(),S(7,"button",8),se("click",function(){return ee(e),te(C().cancel.emit(!0))}),E()()()}}function Zme(n,t){1&n&&(S(0,"span",9),Se(1,"Uploading..."),E())}O0.\u0275fac=function(t){return new(t||O0)(I(V_,16))},O0.\u0275pipe=Hn({name:"safeUrl",type:O0,pure:!0,standalone:!0});class Xh{constructor(){this.cancel=new Q}}Xh.\u0275fac=function(t){return new(t||Xh)},Xh.\u0275cmp=we({type:Xh,selectors:[["dot-upload-placeholder"]],inputs:{type:"type"},outputs:{cancel:"cancel"},standalone:!0,features:[us],decls:3,vars:2,consts:[[3,"ngSwitch"],["class","placeholder-container",4,"ngSwitchCase"],["class","default-message",4,"ngSwitchDefault"],[1,"placeholder-container"],[1,"preview-container__video"],["src","","controls","",1,"video"],[1,"preview-container__loading"],["size","30px"],["pButton","","label","Cancel",1,"p-button-md","p-button-outlined",3,"click"],[1,"default-message"]],template:function(t,e){1&t&&(it(0,0),D(1,Qme,8,0,"div",1),D(2,Zme,2,0,"span",2),rt()),2&t&&(_("ngSwitch",e.type),b(1),_("ngSwitchCase","video"))},dependencies:[gn,Nc,yp,_p,Vo,bo,Tu,Yh],styles:[".placeholder-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;width:-moz-fit-content;width:fit-content;padding:0}.preview-container__video[_ngcontent-%COMP%]{aspect-ratio:16/9;height:300px}.preview-container__video[_ngcontent-%COMP%] video[_ngcontent-%COMP%]{width:100%;height:100%}.preview-container__loading[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:1rem 0}.default-message[_ngcontent-%COMP%]{background-color:#f3f3f4;display:block;padding:16px;font-size:1.25rem;width:100%}"],changeDetection:0});const fE=new Kt({state:{init:()=>Vn.empty,apply(n,t){t=t.map(n.mapping,n.doc);const e=n.getMeta(this);if(e&&e.add){const r=Li.widget(e.add.pos,e.add.element,{key:e.add.id});t=t.add(n.doc,[r])}else e&&e.remove&&(t=t.remove(t.find(null,null,i=>i.key==e.remove.id)));return t}},props:{decorations(n){return this.getState(n)}}});class Jme{constructor(t,e,i){this.applicationRef=e.get(Oc),this.componentRef=function Z$(n,t){const e=Cn(n),i=t.elementInjector||Qy();return new Jf(e).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}(t,{environmentInjector:this.applicationRef.injector}),this.updateProps(i),this.applicationRef.attachView(this.componentRef.hostView)}get instance(){return this.componentRef.instance}get elementRef(){return this.componentRef.injector.get(Dt)}get dom(){return this.elementRef.nativeElement}updateProps(t){Object.entries(t).forEach(([e,i])=>{this.instance[e]=i})}detectChanges(){this.componentRef.changeDetectorRef.detectChanges()}destroy(){this.componentRef.destroy(),this.applicationRef.detachView(this.componentRef.hostView)}}class Mg{}Mg.\u0275fac=function(t){return new(t||Mg)},Mg.\u0275cmp=we({type:Mg,selectors:[["ng-component"]],inputs:{editor:"editor",node:"node",decorations:"decorations",selected:"selected",extension:"extension",getPos:"getPos",updateAttributes:"updateAttributes",deleteNode:"deleteNode"},decls:0,vars:0,template:function(t,e){},encapsulation:2});class Xme extends Gce{mount(){this.renderer=new Jme(this.component,this.options.injector,{editor:this.editor,node:this.node,decorations:this.decorations,selected:!1,extension:this.extension,getPos:()=>this.getPos(),updateAttributes:(i={})=>this.updateAttributes(i),deleteNode:()=>this.deleteNode()}),this.extension.config.draggable&&(this.renderer.elementRef.nativeElement.ondragstart=i=>{this.onDragStart(i)}),this.contentDOMElement=this.node.isLeaf?null:document.createElement(this.node.isInline?"span":"div"),this.contentDOMElement&&(this.contentDOMElement.style.whiteSpace="inherit",this.renderer.detectChanges())}get dom(){return this.renderer.dom}get contentDOM(){return this.node.isLeaf?null:(this.maybeMoveContentDOM(),this.contentDOMElement)}maybeMoveContentDOM(){const t=this.dom.querySelector("[data-node-view-content]");this.contentDOMElement&&t&&!t.contains(this.contentDOMElement)&&t.appendChild(this.contentDOMElement)}update(t,e){return this.options.update?this.options.update(t,e):t.type===this.node.type&&(t===this.node&&this.decorations===e||(this.node=t,this.decorations=e,this.renderer.updateProps({node:t,decorations:e}),this.maybeMoveContentDOM()),!0)}selectNode(){this.renderer.updateProps({selected:!0})}deselectNode(){this.renderer.updateProps({selected:!1})}destroy(){this.renderer.destroy()}}function tge(n,t){1&n&&Je(0)}function nge(n,t){if(1&n&&(S(0,"div",8),Ii(1,1),D(2,tge,1,0,"ng-container",6),E()),2&n){const e=C();b(2),_("ngTemplateOutlet",e.headerTemplate)}}function ige(n,t){1&n&&Je(0)}function rge(n,t){if(1&n&&(S(0,"div",9),Se(1),D(2,ige,1,0,"ng-container",6),E()),2&n){const e=C();b(1),bi(" ",e.header," "),b(1),_("ngTemplateOutlet",e.titleTemplate)}}function oge(n,t){1&n&&Je(0)}function sge(n,t){if(1&n&&(S(0,"div",10),Se(1),D(2,oge,1,0,"ng-container",6),E()),2&n){const e=C();b(1),bi(" ",e.subheader," "),b(1),_("ngTemplateOutlet",e.subtitleTemplate)}}function age(n,t){1&n&&Je(0)}function lge(n,t){1&n&&Je(0)}function cge(n,t){if(1&n&&(S(0,"div",11),Ii(1,2),D(2,lge,1,0,"ng-container",6),E()),2&n){const e=C();b(2),_("ngTemplateOutlet",e.footerTemplate)}}const uge=["*",[["p-header"]],[["p-footer"]]],dge=["*","p-header","p-footer"];let pE=(()=>{class n{constructor(e){this.el=e}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"header":this.headerTemplate=e.template;break;case"title":this.titleTemplate=e.template;break;case"subtitle":this.subtitleTemplate=e.template;break;case"content":default:this.contentTemplate=e.template;break;case"footer":this.footerTemplate=e.template}})}getBlockableElement(){return this.el.nativeElement.children[0]}}return n.\u0275fac=function(e){return new(e||n)(I(Dt))},n.\u0275cmp=we({type:n,selectors:[["p-card"]],contentQueries:function(e,i,r){if(1&e&&(Yn(r,w1,5),Yn(r,T1,5),Yn(r,Pi,4)),2&e){let o;Ve(o=Be())&&(i.headerFacet=o.first),Ve(o=Be())&&(i.footerFacet=o.first),Ve(o=Be())&&(i.templates=o)}},hostAttrs:[1,"p-element"],inputs:{header:"header",subheader:"subheader",style:"style",styleClass:"styleClass"},ngContentSelectors:dge,decls:9,vars:9,consts:[[3,"ngClass","ngStyle"],["class","p-card-header",4,"ngIf"],[1,"p-card-body"],["class","p-card-title",4,"ngIf"],["class","p-card-subtitle",4,"ngIf"],[1,"p-card-content"],[4,"ngTemplateOutlet"],["class","p-card-footer",4,"ngIf"],[1,"p-card-header"],[1,"p-card-title"],[1,"p-card-subtitle"],[1,"p-card-footer"]],template:function(e,i){1&e&&($r(uge),S(0,"div",0),D(1,nge,3,1,"div",1),S(2,"div",2),D(3,rge,3,2,"div",3),D(4,sge,3,2,"div",4),S(5,"div",5),Ii(6),D(7,age,1,0,"ng-container",6),E(),D(8,cge,3,1,"div",7),E()()),2&e&&(Ut(i.styleClass),_("ngClass","p-card p-component")("ngStyle",i.style),b(1),_("ngIf",i.headerFacet||i.headerTemplate),b(2),_("ngIf",i.header||i.titleTemplate),b(1),_("ngIf",i.subheader||i.subtitleTemplate),b(3),_("ngTemplateOutlet",i.contentTemplate),b(1),_("ngIf",i.footerFacet||i.footerTemplate))},dependencies:[qn,$t,qr,ki],styles:[".p-card-header img{width:100%}\n"],encapsulation:2,changeDetection:0}),n})(),jz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn,zo]}),n})();function hge(n,t){if(1&n&&_e(0,"dot-contentlet-thumbnail",4),2&n){const e=C();_("width",94)("height",94)("iconSize","72px")("contentlet",e.data)}}function fge(n,t){if(1&n&&(S(0,"h3",5),Se(1),E()),2&n){const e=C();b(1),Ct(e.data.title)}}function pge(n,t){if(1&n&&(S(0,"span"),Se(1),E()),2&n){const e=C();b(1),Ct(e.data.contentType)}}function mge(n,t){if(1&n&&(S(0,"div",6),_e(1,"dot-state-icon",7),Xn(2,"contentletState"),S(3,"dot-badge",8),Se(4),Xn(5,"lowercase"),E()()),2&n){const e=C();b(1),_("state",ei(2,3,e.data)),b(2),_("bordered",!0),b(1),Ct(ei(5,5,e.data.language))}}class ef extends Mg{ngOnInit(){this.data=this.node.attrs.data}}ef.\u0275fac=function(){let n;return function(e){return(n||(n=ji(ef)))(e||ef)}}(),ef.\u0275cmp=we({type:ef,selectors:[["dot-contentlet-block"]],features:[wn],decls:5,vars:2,consts:[["pTemplate","header"],["class","title",4,"pTemplate"],[4,"pTemplate"],["pTemplate","footer"],[3,"width","height","iconSize","contentlet"],[1,"title"],[1,"state"],["size","16px",3,"state"],[3,"bordered"]],template:function(t,e){1&t&&(S(0,"p-card"),D(1,hge,1,4,"ng-template",0),D(2,fge,2,1,"h3",1),D(3,pge,2,1,"span",2),D(4,mge,6,7,"ng-template",3),E()),2&t&&(b(2),_("pTemplate","title"),b(1),_("pTemplate","subtitle"))},dependencies:[pE,Pi,lD,yg],styles:["[_nghost-%COMP%]{display:block;height:100%;width:100%;box-sizing:border-box;margin-bottom:1rem}[_nghost-%COMP%] .p-card{background:#ffffff;border:1px solid #afb3c0;color:#14151a;display:flex}[_nghost-%COMP%] .p-card .p-card-header{box-sizing:border-box;padding:1rem;padding-right:0}[_nghost-%COMP%] .p-card .p-card-body{box-sizing:border-box;min-width:100px;padding:1rem 1.5rem 1rem 1rem;flex:1}[_nghost-%COMP%] .p-card .p-card-body .p-card-content{padding:0}[_nghost-%COMP%] .p-card .p-card-body .p-card-subtitle{color:#6c7389;font-size:.813rem;font-weight:regular;margin-bottom:.75rem}[_nghost-%COMP%] .p-card .p-card-body .p-card-title{overflow:hidden;width:100%;margin:0}[_nghost-%COMP%] .p-card .p-card-body .p-card-title h3{font-weight:700;margin-bottom:.5rem;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap;font-size:1.5rem}[_nghost-%COMP%] dot-contentlet-thumbnail[_ngcontent-%COMP%]{align-items:center;display:block;position:relative;width:94px;height:94px}[_nghost-%COMP%] .state[_ngcontent-%COMP%]{align-items:center;display:flex}[_nghost-%COMP%] .state[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-right:.5rem}[_nghost-%COMP%] .state[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{margin-right:0}"]});const gge=n=>Bn.create({name:"dotContent",group:"block",inline:!1,draggable:!0,addAttributes:()=>({data:{default:null,parseHTML:t=>({data:t.getAttribute("data")}),renderHTML:t=>({data:t.data})}}),parseHTML:()=>[{tag:"dotcms-contentlet-block"}],renderHTML({HTMLAttributes:t}){let e=["span",{}];return t.data.hasTitleImage&&(e=["img",{src:t.data.image}]),["div",["h3",{class:t.data.title},t.data.title],["div",t.data.identifier],e,["div",{},t.data.language]]},addNodeView:()=>((n,t)=>e=>new Xme(n,e,t))(ef,{injector:n})}),yge=/(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/,_ge=Bn.create({name:"image",addOptions:()=>({inline:!1,allowBase64:!1,HTMLAttributes:{}}),inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes:()=>({src:{default:null},alt:{default:null},title:{default:null}}),parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:n}){return["img",rn(this.options.HTMLAttributes,n)]},addCommands(){return{setImage:n=>({commands:t})=>t.insertContent({type:this.name,attrs:n})}},addInputRules(){return[$5({find:yge,type:this.type,getAttributes:n=>{const[,,t,e,i]=n;return{src:e,alt:t,title:i}}})]}}),zz="language_id",vge=(n,t)=>{const{href:e=null,target:i}=t;return["a",{href:e,target:i},Vz(n,t)]},Vz=(n,t)=>["img",rn(n,t)],Bz=(n,t)=>n.includes(zz)?n:`${n}?${zz}=${t}`,bge=n=>{if("string"==typeof n)return{src:n,data:"null"};const{fileAsset:t,asset:e,title:i,languageId:r}=n;return{data:n,src:Bz(t||e,r),title:i,alt:i}},ro=_ge.extend({name:"dotImage",addOptions:()=>({inline:!1,allowBase64:!0,HTMLAttributes:{}}),addAttributes:()=>({src:{default:null,parseHTML:n=>n.getAttribute("src"),renderHTML:n=>({src:Bz(n.src||n.data?.asset,n.data?.languageId)})},alt:{default:null,parseHTML:n=>n.getAttribute("alt"),renderHTML:n=>({alt:n.alt||n.data?.title})},title:{default:null,parseHTML:n=>n.getAttribute("title"),renderHTML:n=>({title:n.title||n.data?.title})},href:{default:null,parseHTML:n=>n.getAttribute("href"),renderHTML:n=>({href:n.href})},data:{default:null,parseHTML:n=>n.getAttribute("data"),renderHTML:n=>({data:JSON.stringify(n.data)})},target:{default:null,parseHTML:n=>n.getAttribute("target"),renderHTML:n=>({target:n.target})}}),parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},addCommands(){return{...this.parent?.(),setImageLink:n=>({commands:t})=>t.updateAttributes(this.name,n),unsetImageLink:()=>({commands:n})=>n.updateAttributes(this.name,{href:""}),insertImage:(n,t)=>({chain:e,state:i})=>{const{selection:r}=i,{head:o}=r,s={attrs:bge(n),type:ro.name};return e().insertContentAt(t??o,s).run()}}},renderHTML({HTMLAttributes:n}){const{href:t=null,style:e}=n||{};return["div",{class:"image-container",style:e},t?vge(this.options.HTMLAttributes,n):Vz(this.options.HTMLAttributes,n)]}}),Cge=Bn.create({name:"dotVideo",addAttributes:()=>({src:{default:null,parseHTML:n=>n.getAttribute("src"),renderHTML:n=>({src:n.src})},mimeType:{default:null,parseHTML:n=>n.getAttribute("mimeType"),renderHTML:n=>({mimeType:n.mimeType})},width:{default:null,parseHTML:n=>n.getAttribute("width"),renderHTML:n=>({width:n.width})},height:{default:null,parseHTML:n=>n.getAttribute("height"),renderHTML:n=>({height:n.height})},orientation:{default:null,parseHTML:n=>n.getAttribute("orientation"),renderHTML:({height:n,width:t})=>({orientation:n>t?"vertical":"horizontal"})},data:{default:null,parseHTML:n=>n.getAttribute("data"),renderHTML:n=>({data:JSON.stringify(n.data)})}}),parseHTML:()=>[{tag:"video"}],addOptions:()=>({inline:!1,allowBase64:!1,HTMLAttributes:{}}),inline(){return this.options.inline},group:()=>"block",draggable:!0,addCommands(){return{...this.parent?.(),insertVideo:(n,t)=>({commands:e,state:i})=>{const{selection:r}=i,{head:o}=r;return e.insertContentAt(t??o,{type:this.name,attrs:wge(n)})}}},renderHTML:({HTMLAttributes:n})=>["div",{class:"video-container"},["video",rn(n,{controls:!0})]]}),wge=n=>{if("string"==typeof n)return{src:n};const{assetMetaData:t,asset:e,mimeType:i,fileAsset:r}=n,{width:o="auto",height:s="auto",contentType:a}=t||{},l=s>o?"vertical":"horizontal";return{src:r||e,data:{...n},width:o,height:s,mimeType:i||a,orientation:l}},Tge=Bn.create({name:"aiContent",addAttributes:()=>({content:{default:""}}),parseHTML:()=>[{tag:"div[ai-content]"}],addOptions:()=>({inline:!1}),inline(){return this.options.inline},group:()=>"block",addCommands(){return{...this.parent?.(),insertAINode:n=>({commands:t,editor:e,tr:i})=>{const r=eE(e,Ti.AI_CONTENT);return r?(i.setNodeMarkup(r.from,void 0,{content:n}),t.setNodeSelection(r.from),!0):t.insertContent({type:this.name,attrs:{content:n}})}}},renderHTML:()=>["div[ai-content]"],addNodeView:()=>({node:n})=>{const t=document.createElement("div"),e=document.createElement("div");return e.innerHTML=n.attrs.content||"",t.contentEditable="true",t.classList.add("ai-content-container"),t.append(e),{dom:t}}}),Dge=Bn.create({name:"loader",addAttributes:()=>({isLoading:{default:!0}}),parseHTML:()=>[{tag:"div.p-d-flex.p-jc-center"}],addOptions:()=>({inline:!1}),inline(){return this.options.inline},group:()=>"block",addCommands(){return{...this.parent?.(),insertLoaderNode:n=>({commands:t})=>t.insertContent({type:this.name,attrs:{isLoading:n}})}},renderHTML:()=>["div",{class:"p-d-flex p-jc-center"}],addNodeView:()=>({node:n})=>{const t=document.createElement("div");if(t.classList.add("loader-style"),n.attrs.isLoading){const e=document.createElement("div");e.classList.add("p-progress-spinner"),t.append(e)}return{dom:t}}}),Mge={video:"dotVideo",image:"dotImage"},Sge=(n,t)=>Sn.create({name:"assetUploader",addProseMirrorPlugins(){const e=n.get(Js),i=this.editor;let r,o;function s(m){return m?.type.split("/")[0]||""}function a(m){alert(`Can drop just one ${m} at a time`)}function c(m){const{view:g}=i,{state:y}=g;g.dispatch(y.tr.setMeta(fE,{remove:{id:m}})),X5(g)}function u({view:m,file:g,position:y}){const w=s(g),T=g.name;(function l({view:m,position:g,id:y,type:w}){const T=t.createComponent(Xh),v=m.state.tr;T.instance.type=w,T.instance.cancel.subscribe(()=>{c(y),o.abort(),r.unsubscribe()}),T.changeDetectorRef.detectChanges(),v.setMeta(fE,{add:{id:y,pos:g,element:T.location.nativeElement}}),m.dispatch(v)})({view:m,position:y,id:T,type:w}),o=new AbortController;const{signal:v}=o;r=e.publishContent({data:g,signal:v}).pipe(At(1)).subscribe(N=>{const x=N[0][Object.keys(N[0])[0]];i.commands.insertAsset({type:w,payload:x,position:y})},N=>alert(N.message),()=>c(T))}function d(m){return i.commands.isNodeRegistered(Mge[m])}return[fE,new Kt({key:new an("assetUploader"),props:{handleDOMEvents:{click(m,g){!function h(m,g){const{doc:y,selection:w}=m.state,{ranges:T}=w,v=Math.min(...T.map(ae=>ae.$from.pos)),N=y.nodeAt(v);!g.target?.closest("a")||N.type.name!==ro.name||(g.preventDefault(),g.stopPropagation())}(m,g)},paste(m,g){!function f(m,g){const{clipboardData:y}=g,{files:w}=y,T=y.getData("Text")||"",v=s(w[0]),N=d(v);if(v&&!N)return void a(v);if(T&&!ez(T))return;const{from:x}=(n=>{const{state:t}=n,{selection:e}=t,{ranges:i}=e;return{from:Math.min(...i.map(s=>s.$from.pos)),to:Math.max(...i.map(s=>s.$to.pos))}})(m);ez(T)&&d("image")?i.chain().insertImage(T,x).addNextLine().run():u({view:m,file:w[0],position:x}),g.preventDefault(),g.stopPropagation()}(m,g)},drop(m,g){!function p(m,g){const{files:y}=g.dataTransfer,{length:w}=y,T=y[0],v=s(T);if(!d(v))return;if(w>1)return void a(v);g.preventDefault(),g.stopPropagation();const{clientX:N,clientY:x}=g,{pos:ae}=m.posAtCoords({left:N,top:x});u({view:m,file:T,position:ae})}(m,g)}}}})]}}),Ege=["cb"],xge=function(n,t,e){return{"p-checkbox-label":!0,"p-checkbox-label-active":n,"p-disabled":t,"p-checkbox-label-focus":e}};function Ige(n,t){if(1&n){const e=Ne();S(0,"label",7),se("click",function(r){ee(e);const o=C(),s=Bt(3);return te(o.onClick(r,s,!0))}),Se(1),E()}if(2&n){const e=C();Ut(e.labelStyleClass),_("ngClass",ul(5,xge,e.checked(),e.disabled,e.focused)),bt("for",e.inputId),b(1),Ct(e.label)}}const Oge=function(n,t,e){return{"p-checkbox p-component":!0,"p-checkbox-checked":n,"p-checkbox-disabled":t,"p-checkbox-focused":e}},Age=function(n,t,e){return{"p-highlight":n,"p-disabled":t,"p-focus":e}},kge={provide:Qi,useExisting:Ft(()=>mE),multi:!0};let mE=(()=>{class n{constructor(e){this.cd=e,this.checkboxIcon="pi pi-check",this.trueValue=!0,this.falseValue=!1,this.onChange=new Q,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.focused=!1}onClick(e,i,r){e.preventDefault(),!this.disabled&&!this.readonly&&(this.updateModel(e),r&&i.focus())}updateModel(e){let i;this.binary?(i=this.checked()?this.falseValue:this.trueValue,this.model=i,this.onModelChange(i)):(i=this.checked()?this.model.filter(r=>!wt.equals(r,this.value)):this.model?[...this.model,this.value]:[this.value],this.onModelChange(i),this.model=i,this.formControl&&this.formControl.setValue(i)),this.onChange.emit({checked:i,originalEvent:e})}handleChange(e){this.readonly||this.updateModel(e)}onFocus(){this.focused=!0}onBlur(){this.focused=!1,this.onModelTouched()}focus(){this.inputViewChild.nativeElement.focus()}writeValue(e){this.model=e,this.cd.markForCheck()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}checked(){return this.binary?this.model===this.trueValue:wt.contains(this.value,this.model)}}return n.\u0275fac=function(e){return new(e||n)(I(In))},n.\u0275cmp=we({type:n,selectors:[["p-checkbox"]],viewQuery:function(e,i){if(1&e&&Mt(Ege,5),2&e){let r;Ve(r=Be())&&(i.inputViewChild=r.first)}},hostAttrs:[1,"p-element"],inputs:{value:"value",name:"name",disabled:"disabled",binary:"binary",label:"label",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",tabindex:"tabindex",inputId:"inputId",style:"style",styleClass:"styleClass",labelStyleClass:"labelStyleClass",formControl:"formControl",checkboxIcon:"checkboxIcon",readonly:"readonly",required:"required",trueValue:"trueValue",falseValue:"falseValue"},outputs:{onChange:"onChange"},features:[Pt([kge])],decls:7,vars:26,consts:[[3,"ngStyle","ngClass"],[1,"p-hidden-accessible"],["type","checkbox",3,"readonly","value","checked","disabled","focus","blur","change"],["cb",""],[1,"p-checkbox-box",3,"ngClass","click"],[1,"p-checkbox-icon",3,"ngClass"],[3,"class","ngClass","click",4,"ngIf"],[3,"ngClass","click"]],template:function(e,i){if(1&e){const r=Ne();S(0,"div",0)(1,"div",1)(2,"input",2,3),se("focus",function(){return i.onFocus()})("blur",function(){return i.onBlur()})("change",function(s){return i.handleChange(s)}),E()(),S(4,"div",4),se("click",function(s){ee(r);const a=Bt(3);return te(i.onClick(s,a,!0))}),_e(5,"span",5),E()(),D(6,Ige,2,9,"label",6)}2&e&&(Ut(i.styleClass),_("ngStyle",i.style)("ngClass",ul(18,Oge,i.checked(),i.disabled,i.focused)),b(2),_("readonly",i.readonly)("value",i.value)("checked",i.checked())("disabled",i.disabled),bt("id",i.inputId)("name",i.name)("tabindex",i.tabindex)("aria-labelledby",i.ariaLabelledBy)("aria-label",i.ariaLabel)("aria-checked",i.checked())("required",i.required),b(2),_("ngClass",ul(22,Age,i.checked(),i.disabled,i.focused)),b(1),_("ngClass",i.checked()?i.checkboxIcon:null),b(1),_("ngIf",i.label))},dependencies:[qn,$t,ki],styles:[".p-checkbox{display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:bottom;position:relative}.p-checkbox-disabled{cursor:default!important;pointer-events:none}.p-checkbox-box{display:flex;justify-content:center;align-items:center}p-checkbox{display:inline-flex;vertical-align:bottom;align-items:center}.p-checkbox-label{line-height:1}\n"],encapsulation:2,changeDetection:0}),n})(),Uz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})(),Sg=(()=>{class n{constructor(e,i,r){this.el=e,this.ngModel=i,this.cd=r}ngAfterViewInit(){this.updateFilledState(),this.cd.detectChanges()}ngDoCheck(){this.updateFilledState()}onInput(e){this.updateFilledState()}updateFilledState(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length||this.ngModel&&this.ngModel.model}}return n.\u0275fac=function(e){return new(e||n)(I(Dt),I(Ep,8),I(In))},n.\u0275dir=Ce({type:n,selectors:[["","pInputText",""]],hostAttrs:[1,"p-inputtext","p-component","p-element"],hostVars:2,hostBindings:function(e,i){1&e&&se("input",function(o){return i.onInput(o)}),2&e&&Wr("p-filled",i.filled)}}),n})(),Hz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})();const Nge=["group"];function Pge(n,t){if(1&n&&(it(0),_e(1,"p-checkbox",11),S(2,"label",12),Se(3),Xn(4,"titlecase"),E(),rt()),2&n){const e=C().$implicit;b(1),_("formControlName",e.key)("binary",!0)("id",e.key),b(1),_("checkIsRequiredControl",e.key)("for",e.key),b(1),Ct(ei(4,6,e.label))}}const Lge=function(){return{width:"100%",fontSize:"14px",height:"40px"}};function Rge(n,t){if(1&n&&_e(0,"input",15,16),2&n){const e=C(2).$implicit;Gn(cr(6,Lge)),_("formControlName",e.key)("id",e.key)("type",e.type)("min",e.min)}}const Fge=function(n){return{"p-label-input-required":n}};function jge(n,t){if(1&n&&(it(0),S(1,"label",13),Se(2),Xn(3,"titlecase"),E(),D(4,Rge,2,7,"input",14),rt()),2&n){const e=C().$implicit;b(1),_("ngClass",tt(5,Fge,e.required))("for",e.key),b(1),Ct(ei(3,3,e.label))}}function zge(n,t){1&n&&(S(0,"span",17),Se(1,"This field is required"),E())}function Vge(n,t){if(1&n&&(S(0,"div",6),it(1,7),D(2,Pge,5,8,"ng-container",8),D(3,jge,5,7,"ng-container",9),rt(),D(4,zge,2,0,"span",10),E()),2&n){const e=t.$implicit,i=C(2);_("ngClass",e.type),b(1),_("ngSwitch",e.type),b(1),_("ngSwitchCase","checkbox"),b(2),_("ngIf",i.form.controls[e.key].invalid&&i.form.controls[e.key].dirty)}}const Bge=function(){return{width:"120px"}},Uge=function(){return{padding:"11.5px 24px"}};function Hge(n,t){if(1&n){const e=Ne();S(0,"form",1),se("ngSubmit",function(){return ee(e),te(C().onSubmit())}),D(1,Vge,5,4,"div",2),S(2,"div",3)(3,"button",4),se("click",function(){return ee(e),te(C().hide.emit(!0))}),E(),_e(4,"button",5),E()()}if(2&n){const e=C();_("ngClass",null==e.options?null:e.options.customClass)("formGroup",e.form),b(1),_("ngForOf",e.dynamicControls),b(2),Gn(cr(8,Bge)),b(1),Gn(cr(9,Uge)),_("disabled",e.form.invalid)}}class Eg{constructor(t){this.fb=t,this.formValues=new Q,this.hide=new Q,this.options=null,this.dynamicControls=[]}onSubmit(){this.formValues.emit({...this.form.value})}setFormValues(t){this.form.setValue(t)}buildForm(t){this.dynamicControls=t,this.form=this.fb.group({}),this.dynamicControls.forEach(e=>{this.form.addControl(e.key,this.fb.control(e.value||null,e.required?Hd.required:[]))})}cleanForm(){this.form=null}}Eg.\u0275fac=function(t){return new(t||Eg)(I(av))},Eg.\u0275cmp=we({type:Eg,selectors:[["dot-bubble-form"]],viewQuery:function(t,e){if(1&t&&Mt(Nge,5),2&t){let i;Ve(i=Be())&&(e.inputs=i)}},outputs:{formValues:"formValues",hide:"hide"},decls:1,vars:1,consts:[[3,"ngClass","formGroup","ngSubmit",4,"ngIf"],[3,"ngClass","formGroup","ngSubmit"],["class","field form-row",3,"ngClass",4,"ngFor","ngForOf"],[1,"form-action"],["pButton","","type","button","label","CANCEL",1,"p-button-outlined",3,"click"],["pButton","","type","submit","label","APPLY",1,"p-button",3,"disabled"],[1,"field","form-row",3,"ngClass"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["class","error-message",4,"ngIf"],[3,"formControlName","binary","id"],["dotFieldRequired","",3,"checkIsRequiredControl","for"],[3,"ngClass","for"],["pInputText","","type","control.type",3,"formControlName","id","type","min","style",4,"ngSwitchDefault"],["pInputText","","type","control.type",3,"formControlName","id","type","min"],["group",""],[1,"error-message"]],template:function(t,e){1&t&&D(0,Hge,5,10,"form",0),2&t&&_("ngIf",e.form)},dependencies:[qn,Er,$t,Nc,yp,_p,Kd,pl,Lc,$d,Aa,Rc,mE,bo,Sg,wg,a2],styles:["[_nghost-%COMP%]{background:#ffffff;border-radius:.125rem;box-shadow:0 4px 10px #0a07251a;display:flex;flex-direction:column;padding:16px}form[_ngcontent-%COMP%]{width:400px;display:flex;flex-direction:column;gap:16px}form.dotTableForm[_ngcontent-%COMP%]{width:200px}form.dotTableForm[_ngcontent-%COMP%] .p-button-outlined[_ngcontent-%COMP%]{display:none}.form-row[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px}.form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:12px}.form-row.checkbox[_ngcontent-%COMP%]{flex-direction:row;align-items:center}.form-action[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;padding-top:16px;width:100%;gap:10px}.error-message[_ngcontent-%COMP%]{color:#d82b2e;font-size:.625rem;text-align:left}"]});const $ge=["list"];function Wge(n,t){if(1&n&&_e(0,"dot-suggestions-list-item",5),2&n){const e=t.$implicit,i=t.index;_("command",e.command)("index",i)("label",e.label)("url",e.icon)("data",e.data)("page",!0)}}function Gge(n,t){if(1&n&&(S(0,"div")(1,"dot-suggestion-list",null,3),D(3,Wge,1,6,"dot-suggestions-list-item",4),E()()),2&n){const e=C();b(3),_("ngForOf",e.items)}}function Yge(n,t){1&n&&_e(0,"dot-suggestion-loading-list")}function qge(n,t){if(1&n){const e=Ne();S(0,"dot-empty-message",6),se("back",function(){return ee(e),te(C().handleBackButton())}),E()}2&n&&_("title",C().title)("showBackBtn",!0)}class tf{constructor(){this.items=[],this.loading=!1,this.back=new Q}handleBackButton(){return this.back.emit(!0),!1}execCommand(){this.items.length?this.list.execCommand():this.handleBackButton()}updateSelection(t){this.list.updateSelection(t)}}tf.\u0275fac=function(t){return new(t||tf)},tf.\u0275cmp=we({type:tf,selectors:[["dot-suggestion-page"]],viewQuery:function(t,e){if(1&t&&Mt($ge,5),2&t){let i;Ve(i=Be())&&(e.list=i.first)}},inputs:{items:"items",loading:"loading",title:"title"},outputs:{back:"back"},decls:5,vars:2,consts:[[4,"ngIf","ngIfElse"],["loadingBlock",""],["emptyBlock",""],["list",""],[3,"command","index","label","url","data","page",4,"ngFor","ngForOf"],[3,"command","index","label","url","data","page"],[3,"title","showBackBtn","back"]],template:function(t,e){if(1&t&&(D(0,Gge,4,1,"div",0),D(1,Yge,1,0,"ng-template",null,1,Mn),D(3,qge,1,2,"ng-template",null,2,Mn)),2&t){const i=Bt(2),r=Bt(4);_("ngIf",e.items.length)("ngIfElse",e.loading?i:r)}},styles:["[_nghost-%COMP%]{display:block;min-width:240px;box-shadow:0 4px 20px var(--color-palette-black-op-10);padding:8px 0;background:#ffffff}[_nghost-%COMP%] {width:100%;box-shadow:none;padding:0}[_nghost-%COMP%] dotcms-suggestions-list-item{padding:8px}"]});const Kge=["input"],Qge=["suggestions"];function Zge(n,t){1&n&&_e(0,"hr",11)}const Jge=function(){return{fontSize:"32px"}};function Xge(n,t){if(1&n&&(S(0,"div",12)(1,"a",13)(2,"span",14),Se(3,"language"),E(),S(4,"span",15),Se(5),E()(),S(6,"div",16)(7,"div",17),_e(8,"p-checkbox",18),E(),S(9,"label",19),Se(10,"Open link in new window"),E()()()),2&n){const e=C();b(1),_("href",e.currentLink,ss),b(1),Gn(cr(5,Jge)),b(3),Ct(e.currentLink),b(3),_("binary",!0)}}function eye(n,t){if(1&n){const e=Ne();S(0,"dot-suggestion-page",20,21),se("back",function(){return ee(e),te(C().resetForm())}),E()}if(2&n){const e=C();_("items",e.items)("loading",e.loading)("title",e.noResultsTitle)}}function tye(n,t){if(1&n){const e=Ne();S(0,"dot-form-actions",22),se("hide",function(r){return ee(e),te(C().hide.emit(r))})("remove",function(r){return ee(e),te(C().removeLink.emit(r))}),E()}2&n&&_("link",C().currentLink)}const nye=function(){return{width:"5rem",padding:".75rem 1rem",borderRadius:"0 2px 2px 0"}};class nf{constructor(t,e,i){this.fb=t,this.suggestionsService=e,this.dotLanguageService=i,this.hide=new Q(!1),this.removeLink=new Q(!1),this.isSuggestionOpen=new Q(!1),this.setNodeProps=new Q,this.showSuggestions=!1,this.languageId=_g,this.initialValues={link:"",blank:!0},this.minChars=3,this.loading=!1,this.items=[]}onMouseDownHandler(t){const{target:e}=t;e!==this.input.nativeElement&&t.preventDefault()}get noResultsTitle(){return`No results for ${this.newLink}`}get currentLink(){return this.initialValues.link}get newLink(){return this.form.get("link").value}ngOnInit(){this.form=this.fb.group({...this.initialValues}),this.form.get("link").valueChanges.pipe(eh(500)).subscribe(t=>{t.lengththis.setNodeProps.emit({link:this.currentLink,blank:t})),this.dotLanguageService.getLanguages().pipe(At(1)).subscribe(t=>this.dotLangs=t)}submitForm(){this.setNodeProps.emit(this.form.value),this.hide.emit(!0)}setLoading(){const t=this.newLink.length>=this.minChars&&!A0(this.newLink);this.items=t?this.items:[],this.showSuggestions=t,this.loading=t,t&&requestAnimationFrame(()=>this.isSuggestionOpen.emit(!0))}setFormValue({link:t="",blank:e=!0}){this.form.setValue({link:t,blank:e},{emitEvent:!1})}focusInput(){this.input.nativeElement.focus()}onKeyDownEvent(t){const e=this.suggestionsComponent?.items;if(t.stopImmediatePropagation(),"Escape"===t.key)return this.hide.emit(!0),!0;if(!this.showSuggestions||!e?.length)return!0;switch(t.key){case"Enter":return this.suggestionsComponent?.execCommand(),!1;case"ArrowUp":case"ArrowDown":return this.suggestionsComponent?.updateSelection(t),!1;default:return!1}}resetForm(){this.showSuggestions=!1,this.setFormValue({...this.initialValues})}onSelection({payload:{url:t}}){this.setFormValue({...this.form.value,link:t}),this.submitForm()}searchContentlets({link:t=""}){this.loading=!0,this.suggestionsService.getContentletsByLink({link:t,currentLanguage:this.languageId}).pipe(At(1)).subscribe(e=>{this.items=e.map(i=>{const{languageId:r}=i;return i.language=this.getContentletLanguage(r),{label:i.title,icon:"contentlet/image",data:{contentlet:i},command:()=>{this.onSelection({payload:i,type:{name:"dotContent"}})}}}),this.loading=!1})}getContentletLanguage(t){const{languageCode:e,countryCode:i}=this.dotLangs[t];return e&&i?`${e}-${i}`:""}}nf.\u0275fac=function(t){return new(t||nf)(I(av),I(Ql),I(ql))},nf.\u0275cmp=we({type:nf,selectors:[["dot-bubble-link-form"]],viewQuery:function(t,e){if(1&t&&(Mt(Kge,5),Mt(Qge,5)),2&t){let i;Ve(i=Be())&&(e.input=i.first),Ve(i=Be())&&(e.suggestionsComponent=i.first)}},hostBindings:function(t,e){1&t&&se("mousedown",function(r){return e.onMouseDownHandler(r)})},inputs:{showSuggestions:"showSuggestions",languageId:"languageId",initialValues:"initialValues"},outputs:{hide:"hide",removeLink:"removeLink",isSuggestionOpen:"isSuggestionOpen",setNodeProps:"setNodeProps"},decls:11,vars:8,consts:[[1,"form-container"],["autocomplete","off",3,"formGroup","keydown","ngSubmit"],[1,"p-inputgroup","search-container"],[1,"p-inputgroup"],["id","editor-input-link","pInputText","","type","text","placeholder","Paste link or search for pages","formControlName","link",3,"input"],["input",""],["pButton","","type","submit","label","ADD",1,"p-button"],["class","divider",4,"ngIf"],["class","info-container",4,"ngIf"],[3,"items","loading","title","back",4,"ngIf"],[3,"link","hide","remove",4,"ngIf"],[1,"divider"],[1,"info-container"],["target","_blank",1,"url-container",3,"href"],[1,"material-icons"],[1,"truncate"],[1,"field-checkbox"],[1,"checkbox-container"],["id","editor-input-checkbox","formControlName","blank",3,"binary"],["for","editor-input-checkbox"],[3,"items","loading","title","back"],["suggestions",""],[3,"link","hide","remove"]],template:function(t,e){1&t&&(S(0,"div",0)(1,"form",1),se("keydown",function(r){return e.onKeyDownEvent(r)})("ngSubmit",function(){return e.submitForm()}),S(2,"div",2)(3,"div",3)(4,"input",4,5),se("input",function(){return e.setLoading()}),E(),_e(6,"button",6),E()(),D(7,Zge,1,0,"hr",7),D(8,Xge,11,6,"div",8),E(),D(9,eye,2,3,"dot-suggestion-page",9),D(10,tye,1,1,"dot-form-actions",10),E()),2&t&&(b(1),_("formGroup",e.form),b(5),Gn(cr(7,nye)),b(1),_("ngIf",e.showSuggestions||e.currentLink),b(1),_("ngIf",e.currentLink&&!e.showSuggestions),b(1),_("ngIf",e.showSuggestions),b(1),_("ngIf",!e.showSuggestions&&e.currentLink))},styles:[".form-container[_ngcontent-%COMP%]{background:#ffffff;border-radius:.125rem;box-shadow:0 4px 10px #0a07251a;display:flex;flex-direction:column;width:400px}.form-container[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:column;max-width:100%}.form-container[_ngcontent-%COMP%] .search-container[_ngcontent-%COMP%]{padding:1rem;width:100%}.form-container[_ngcontent-%COMP%] .search-container[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{background:#ffffff;border:1px solid #afb3c0}.form-container[_ngcontent-%COMP%] .search-container[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]:focus{outline:none;box-shadow:none}.form-container[_ngcontent-%COMP%] .info-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;padding:1rem;width:100%}.form-container[_ngcontent-%COMP%] .info-container[_ngcontent-%COMP%] .url-container[_ngcontent-%COMP%]{cursor:pointer;white-space:nowrap;font-size:16px;width:100%;word-wrap:normal;display:flex;align-items:center;text-decoration:none;gap:8px;color:#14151a}.form-container[_ngcontent-%COMP%] .info-container[_ngcontent-%COMP%] .field-checkbox[_ngcontent-%COMP%]{display:flex;gap:3.2px;min-width:100%;font-size:16px}.form-container[_ngcontent-%COMP%] .info-container[_ngcontent-%COMP%] .field-checkbox[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%]{cursor:pointer;width:32px;display:flex;align-items:center;justify-content:center}.divider[_ngcontent-%COMP%]{border:0;border-top:1px solid #ebecef;width:100%;margin:0}.truncate[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"]});var iye=A(88222),rye=A.n(iye);const $z=({editor:n,view:t,pos:e})=>{const i=t.state.doc?.resolve(e),r=((n,t)=>{const e=t-n?.textOffset;return{to:e,from:n.index(){const{state:l}=this.editor,{to:c}=l.selection,{openOnClick:u}=qa.getState(l);this.pluginKey.getState(l).isOpen&&(u?(this.editor.commands.closeLinkForm(),requestAnimationFrame(()=>this.editor.commands.setTextSelection(c))):this.editor.commands.closeLinkForm())},this.editor=t,this.element=e,this.view=i,this.languageId=a,this.tippyOptions=r,this.element.remove(),this.element.style.visibility="visible",this.pluginKey=o,this.component=s,this.editor.on("focus",this.focusHandler),this.setComponentEvents(),document.body.addEventListener("scroll",this.hanlderScroll.bind(this),!0)}update(t,e){const i=this.pluginKey.getState(t.state),r=this.pluginKey.getState(e);i.isOpen!==r.isOpen?(this.createTooltip(),i.isOpen?this.show():this.hide(),this.detectLinkFormChanges()):this.detectLinkFormChanges()}createTooltip(){const{element:t}=this.editor.options;this.tippy||!t.parentElement||(this.tippy=gs(t.parentElement,{...this.tippyOptions,...zR,getReferenceClientRect:()=>this.setTippyPosition(),content:this.element,onHide:()=>{this.editor.commands.closeLinkForm()}}))}show(){this.tippy?.show(),this.component.instance.showSuggestions=!1,this.setInputValues(),this.component.instance.focusInput()}hide(){this.tippy?.hide(),this.editor.view.focus()}setTippyPosition(){const{view:t}=this.editor,{state:e}=t,{doc:i,selection:r}=e,{ranges:o}=r,s=Math.min(...o.map(m=>m.$from.pos)),l=yu(t,s,Math.max(...o.map(m=>m.$to.pos))),{element:c}=this.editor.options,u=c.parentElement.getBoundingClientRect(),d=document.querySelector("#bubble-menu")?.getBoundingClientRect()||l,h=u.bottomthis.hide()),this.component.instance.removeLink.pipe(yn(this.$destroy)).subscribe(()=>this.removeLink()),this.component.instance.isSuggestionOpen.pipe(yn(this.$destroy)).subscribe(()=>this.tippy.popperInstance.update()),this.component.instance.setNodeProps.pipe(yn(this.$destroy)).subscribe(t=>this.setLinkValues(t))}detectLinkFormChanges(){this.component.changeDetectorRef.detectChanges(),requestAnimationFrame(()=>this.tippy?.popperInstance?.forceUpdate())}getLinkProps(){const{href:t="",target:e="_top"}=this.editor.isActive("link")?this.editor.getAttributes("link"):this.editor.getAttributes(ro.name);return{link:t,blank:"_blank"===e}}getLinkSelect(){const{state:t}=this.editor,{from:e,to:i}=t.selection,r=t.doc.textBetween(e,i," ");return A0(r)?r:""}isImageNode(){const{type:t}=this.editor.state.doc.nodeAt(this.editor.state.selection.from)||{};return t?.name===ro.name}destroy(){this.tippy?.destroy(),this.editor.off("focus",this.focusHandler),this.$destroy.next(!0),this.component.destroy()}hanlderScroll(t){if(!this.tippy?.state.isMounted)return;const e=t.target,i=e?.parentElement?.parentElement;this.scrollElementMap[e.id]||this.scrollElementMap[i.id]||this.hide()}}const sye=n=>{let t;return new Kt({key:n.pluginKey,view:e=>new oye({view:e,...n}),state:{init:()=>({isOpen:!1,openOnClick:!1}),apply(e,i,r){const{isOpen:o,openOnClick:s}=e.getMeta(qa)||{},a=qa.getState(r);return"boolean"==typeof o?{isOpen:o,openOnClick:s}:a||i}},props:{handleDOMEvents:{mousedown(e,i){const r=n.editor,o=((n,t)=>{const{clientX:e,clientY:i}=t,{pos:r}=n.posAtCoords({left:e,top:i});return r})(e,i),{isOpen:s,openOnClick:a}=qa.getState(r.state);s&&a&&r.chain().unsetHighlight().setTextSelection(o).run()}},handleClickOn(e,i,r){const o=n.editor;return o.isActive("link")&&i?rye()(t,r)?(o.chain().setTextSelection(i).closeLinkForm().run(),null):($z({editor:o,view:e,pos:i}),t=r,!0):(t=r,null)},handleDoubleClickOn(e,i){const r=n.editor;return r.isActive("link")?($z({editor:r,view:e,pos:i}),!0):null}}})},qa=new an("addLink"),aye=(n,t)=>Sn.create({name:"bubbleLinkForm",addOptions:()=>({element:null,tippyOptions:{},pluginKey:qa}),addCommands:()=>({openLinkForm:({openOnClick:e})=>({chain:i})=>i().setMeta("preventAutolink",!0)?.setHighlight?.().command(({tr:r})=>(r.setMeta(qa,{isOpen:!0,openOnClick:e}),!0)).freezeScroll(!0).run(),closeLinkForm:()=>({chain:e})=>e().setMeta("preventAutolink",!0).unsetHighlight?.().command(({tr:i})=>(i.setMeta(qa,{isOpen:!1,openOnClick:!1}),!0)).freezeScroll(!1).run()}),addProseMirrorPlugins(){const e=n.createComponent(nf);return e.changeDetectorRef.detectChanges(),[sye({pluginKey:this.options.pluginKey,editor:this.editor,element:e.location.nativeElement,tippyOptions:this.options.tippyOptions,component:e,languageId:t})]}}),Wz={tableCell:!0,table:!0,youtube:!0,dotVideo:!0,aiContent:!0,loader:!0},lye=({editor:n,state:t,from:e,to:i})=>{const{doc:r,selection:o}=t,{view:s}=n,{empty:a}=o,{isOpen:l,openOnClick:c}=qa.getState(t),u=n.state.doc.nodeAt(n.state.selection.from),d=Cu(n.state.selection.$from),h=!r.textBetween(e,i).length&&Gb(t.selection);return"text"===u?.type.name&&"table"===d?.type.name&&!h||!(!l&&(!s.hasFocus()||a||h||Wz[d?.type.name]||Wz[u?.type.name])||l&&c)},A0=n=>!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(n),Gz=(n,t)=>t===ro.name&&n?.firstElementChild?n.firstElementChild.getBoundingClientRect():n.getBoundingClientRect(),Yz=n=>n.isActive("bulletList")||n.isActive("orderedList"),qz=[{icon:"format_bold",markAction:"bold",active:!1},{icon:"format_underlined",markAction:"underline",active:!1},{icon:"format_italic",markAction:"italic",active:!1},{icon:"strikethrough_s",markAction:"strike",active:!1},{icon:"superscript",markAction:"superscript",active:!1},{icon:"subscript",markAction:"subscript",active:!1,divider:!0}],gE=[{icon:"format_align_left",markAction:"left",active:!1},{icon:"format_align_center",markAction:"center",active:!1},{icon:"format_align_right",markAction:"right",active:!1},{icon:"format_align_justify",markAction:"justify",active:!1,divider:!0}],dye=[...qz,...gE,{icon:"format_list_bulleted",markAction:"bulletList",active:!1},{icon:"format_list_numbered",markAction:"orderedList",active:!1},{icon:"format_indent_decrease",markAction:"outdent",active:!1},{icon:"format_indent_increase",markAction:"indent",active:!1,divider:!0},{icon:"link",markAction:"link",active:!1,divider:!0},{icon:"format_clear",markAction:"clearAll",active:!1,divider:!0},{icon:"delete",markAction:"deleteNode",active:!1}],hye=[...gE,{icon:"link",markAction:"link",active:!1,divider:!0},{text:"Properties",markAction:"properties",active:!1,divider:!0},{icon:"delete",markAction:"deleteNode",active:!1}],fye=[...qz,...gE,{icon:"link",markAction:"link",active:!1,divider:!0},{icon:"format_clear",markAction:"clearAll",active:!1,divider:!0},{icon:"delete",markAction:"deleteNode",active:!1}],pye=[{icon:"delete",markAction:"deleteNode",active:!1}],Kz=[{name:"offset",options:{offset:[0,5]}},{name:"flip",options:{fallbackPlacements:["bottom-start","top-start"]}},{name:"preventOverflow",options:{altAxis:!0,tether:!0}}],gye=[{key:"src",label:"path",required:!0,controlType:"text",type:"text"},{key:"alt",label:"alt",controlType:"text",type:"text"},{key:"title",label:"caption",controlType:"text",type:"text"}];class yye extends QS{constructor(t){const{editor:e,element:i,view:r,tippyOptions:o={},pluginKey:s,component:a}=t;super(t),this.$destroy=new ue,this.focusHandler=()=>{this.editor.commands.closeForm(),setTimeout(()=>this.update(this.editor.view))},this.editor=e,this.element=i,this.view=r,this.tippyOptions=o,this.element.remove(),this.element.style.visibility="visible",this.pluginKey=s,this.component=a,this.component.instance.buildForm(gye),this.component.instance.formValues.pipe(yn(this.$destroy)).subscribe(l=>{this.editor.commands.updateValue(l)}),this.component.instance.hide.pipe(yn(this.$destroy)).subscribe(()=>{this.editor.commands.closeForm()}),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.on("focus",this.focusHandler),document.body.addEventListener("scroll",this.hanlderScroll.bind(this),!0)}update(t,e){const i=this.pluginKey?.getState(t.state),r=e?this.pluginKey?.getState(e):{open:!1},{state:o}=t,{doc:s,selection:a}=o,{ranges:l}=a,c=Math.min(...l.map(d=>d.$from.pos)),u=Math.max(...l.map(d=>d.$to.pos));i?.open!==r?.open?(i.open&&i.form?(this.component.instance.buildForm(i.form),this.component.instance.options=i.options):this.component.instance.cleanForm(),this.createTooltip(),this.tippy?.setProps({getReferenceClientRect:()=>{if(a instanceof Qe){const d=t.nodeDOM(c);if(d)return this.node=s.nodeAt(c),this.tippyRect(d,this.node.type.name)}return yu(t,c,u)}}),i.open?this.show():this.hide()):this.tippy?.popperInstance?.forceUpdate()}createTooltip(){const{element:t}=this.editor.options;this.tippy||!t.parentElement||(this.tippy=gs(t.parentElement,{...this.tippyOptions,...zR,content:this.element,onShow:()=>{requestAnimationFrame(()=>{this.component.instance.inputs.first.nativeElement.focus()})}}))}show(){this.tippy?.show()}destroy(){this.tippy?.destroy(),this.editor.off("focus",this.focusHandler),this.$destroy.next(!0),this.component.destroy(),this.component.instance.formValues.unsubscribe()}hanlderScroll(t){return!this.shouldHideOnScroll(t.target)||(setTimeout(()=>this.update(this.editor.view)),null)}tippyRect(t,e){return document.querySelector("#bubble-menu")?.getBoundingClientRect()||((n,t)=>t===ro.name&&n.getElementsByTagName("img")[0]?.getBoundingClientRect()||n.getBoundingClientRect())(t,e)}shouldHideOnScroll(t){return this.tippy?.state.isMounted&&this.tippy?.popper.contains(t)}}const _ye=n=>new Kt({key:n.pluginKey,view:t=>new yye({view:t,...n}),state:{init:()=>({open:!1,form:[],options:null}),apply(t,e,i){const{open:r,form:o,options:s}=t.getMeta(Ou)||{},a=Ou?.getState(i);return"boolean"==typeof r?{open:r,form:o,options:s}:a||e}}}),Ou=new an("bubble-form"),vye={interactive:!0,maxWidth:"none",trigger:"manual",placement:"bottom-start",hideOnClick:"toggle",popperOptions:{modifiers:[{name:"flip",options:{fallbackPlacements:["top-start"]}}]}},bye=n=>{const t=new ue;return ZS.extend({name:"bubbleForm",addOptions:()=>({element:null,tippyOptions:{},pluginKey:Ou,shouldShow:()=>!0}),addCommands:()=>({openForm:(e,i)=>({chain:r})=>(r().command(({tr:o})=>(o.setMeta(Ou,{form:e,options:i,open:!0}),!0)).freezeScroll(!0).run(),t),closeForm:()=>({chain:e})=>(t.next(null),e().command(({tr:i})=>(i.setMeta(Ou,{open:!1}),!0)).freezeScroll(!1).run()),updateValue:e=>({editor:i})=>{t.next(e),i.commands.closeForm()}}),addProseMirrorPlugins(){const e=n.createComponent(Eg),i=e.location.nativeElement;return e.changeDetectorRef.detectChanges(),[_ye({pluginKey:Ou,editor:this.editor,element:i,tippyOptions:vye,component:e,form$:t})]}})},Qz=function(){return{width:"50%"}};function Cye(n,t){if(1&n){const e=Ne();S(0,"div")(1,"div",1)(2,"button",2),se("click",function(){return ee(e),te(C().copy())}),E(),S(3,"button",3),se("click",function(){return ee(e),te(C().remove.emit(!0))}),E()()()}2&n&&(b(2),Gn(cr(4,Qz)),b(1),Gn(cr(5,Qz)))}class xg{constructor(){this.remove=new Q(!1),this.hide=new Q(!1),this.link=""}copy(){navigator.clipboard.writeText(this.link).then(()=>this.hide.emit(!0)).catch(()=>alert("Could not copy link"))}}function wye(n,t){if(1&n){const e=Ne();it(0),S(1,"button",3),se("click",function(){return ee(e),te(C().toggleChangeTo.emit())}),Se(2),E(),_e(3,"div",4),rt()}if(2&n){const e=C();b(2),Ct(e.selected)}}function Tye(n,t){1&n&&_e(0,"div",4)}function Dye(n,t){if(1&n){const e=Ne();it(0),S(1,"dot-bubble-menu-button",5),se("click",function(){const o=ee(e).$implicit;return te(C().command.emit(o))}),E(),D(2,Tye,1,0,"div",6),rt()}if(2&n){const e=t.$implicit;b(1),_("active",e.active)("item",e),b(1),_("ngIf",e.divider)}}xg.\u0275fac=function(t){return new(t||xg)},xg.\u0275cmp=we({type:xg,selectors:[["dot-form-actions"]],inputs:{link:"link"},outputs:{remove:"remove",hide:"hide"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"form-actions"],["pButton","","type","button","label","COPY LINK",1,"p-button-outlined",3,"click"],["pButton","","type","button","label","REMOVE LINK",1,"p-button-outlined","p-button-danger",3,"click"]],template:function(t,e){1&t&&D(0,Cye,4,6,"div",0),2&t&&_("ngIf",e.link.length)},dependencies:[$t,bo],styles:[".form-actions[_ngcontent-%COMP%]{align-items:center;display:flex;justify-content:space-between;padding:1rem;gap:.5rem}"]});class rf{constructor(){this.items=[],this.command=new Q,this.toggleChangeTo=new Q}preventDeSelection(t){t.preventDefault()}}rf.\u0275fac=function(t){return new(t||rf)},rf.\u0275cmp=we({type:rf,selectors:[["dot-bubble-menu"]],inputs:{items:"items",selected:"selected"},outputs:{command:"command",toggleChangeTo:"toggleChangeTo"},decls:3,vars:2,consts:[["id","bubble-menu",1,"bubble-menu",3,"mousedown"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"btn-dropdown",3,"click"],[1,"divider"],[3,"active","item","click"],["class","divider",4,"ngIf"]],template:function(t,e){1&t&&(S(0,"div",0),se("mousedown",function(r){return e.preventDeSelection(r)}),D(1,wye,4,1,"ng-container",1),D(2,Dye,3,3,"ng-container",2),E()),2&t&&(b(1),_("ngIf",e.selected),b(1),_("ngForOf",e.items))},styles:['[_nghost-%COMP%]{height:100%;width:100%}.bubble-menu[_ngcontent-%COMP%]{box-sizing:border-box;align-items:center;background:#ffffff;border-radius:.125rem;box-shadow:0 10px 24px 0 var(--color-palette-black-op-20);display:flex;justify-content:center;padding:5.6px;height:40px}.bubble-menu[_ngcontent-%COMP%] .btn-dropdown[_ngcontent-%COMP%]{background:none;border:none;outline:none;padding:4px;cursor:pointer}.bubble-menu[_ngcontent-%COMP%] .btn-dropdown[_ngcontent-%COMP%]:hover{background:#f3f3f4}.bubble-menu[_ngcontent-%COMP%] .btn-dropdown[_ngcontent-%COMP%]:after{content:"";border:solid #14151a;border-width:0 2px 2px 0;display:inline-block;padding:3.2px;transform:rotate(45deg);margin-left:12px}.bubble-menu[_ngcontent-%COMP%] .divider[_ngcontent-%COMP%]{border-left:1px solid #f3f3f4;height:100%;margin:0 8px}']});const Mye=function(n,t){return{"btn-bubble-menu":!0,"btn-icon":n,"btn-active":t}},Sye=function(n){return{"material-icons":n}};class Ig{constructor(){this.active=!1}}Ig.\u0275fac=function(t){return new(t||Ig)},Ig.\u0275cmp=we({type:Ig,selectors:[["dot-bubble-menu-button"]],inputs:{item:"item",active:"active"},decls:3,vars:8,consts:[[3,"ngClass"]],template:function(t,e){1&t&&(S(0,"button",0)(1,"span",0),Se(2),E()()),2&t&&(_("ngClass",Fn(3,Mye,e.item.icon,e.active)),b(1),_("ngClass",tt(6,Sye,e.item.icon)),b(1),Ct(e.item.icon||e.item.text))},dependencies:[qn],styles:["[_nghost-%COMP%]{display:flex;align-items:center;justify-content:center}.btn-bubble-menu[_ngcontent-%COMP%]{background:#ffffff;border:none;color:#14151a;display:flex;justify-content:center;align-items:center;cursor:pointer;max-width:auto;width:100%;height:32px;border-radius:.125rem}.btn-bubble-menu[_ngcontent-%COMP%]:hover{background:#f3f3f4}.btn-bubble-menu.btn-active[_ngcontent-%COMP%]{background:#f3f3f4;color:#14151a;border:1px solid #afb3c0}.btn-icon[_ngcontent-%COMP%]{width:32px}"]});const Eye=n=>{const t=n.component.instance,e=n.changeToComponent.instance;return new Kt({key:n.pluginKey,view:i=>new xye({view:i,...n}),props:{handleKeyDown(i,r){const{key:o}=r,{changeToIsOpen:s}=n.editor?.storage.bubbleMenu||{};if(s){if("Escape"===o)return t.toggleChangeTo.emit(),!0;if("Enter"===o)return e.execCommand(),!0;if("ArrowDown"===o||"ArrowUp"===o)return e.updateSelection(r),!0}return!1}}})};class xye extends QS{constructor(t){super(t),this.shouldShowProp=!1,this.updateActiveItems=(r=[],o)=>r.map(s=>(s.active=o.includes(s.markAction),s)),this.enabledMarks=()=>[...Object.keys(this.editor.schema.marks),...Object.keys(this.editor.schema.nodes)],this.getActiveMarks=(r=[])=>[...this.enabledMarks().filter(o=>this.editor.isActive(o)),...r.filter(o=>this.editor.isActive({textAlign:o}))];const{component:e,changeToComponent:i}=t;this.component=e,this.changeTo=i,this.changeToElement=this.changeTo.location.nativeElement,this.component.instance.command.subscribe(this.exeCommand.bind(this)),this.component.instance.toggleChangeTo.subscribe(this.toggleChangeTo.bind(this)),this.changeTo.instance.items=this.changeToItems(),this.changeTo.instance.title="Change To",this.changeToElement.remove(),this.changeTo.changeDetectorRef.detectChanges(),document.body.addEventListener("scroll",this.hanlderScroll.bind(this),!0),document.body.addEventListener("mouseup",this.showMenu.bind(this),!0),document.body.addEventListener("keyup",this.showMenu.bind(this),!0),this.editor.off("blur",this.blurHandler)}showMenu(){this.shouldShowProp&&(this.tippyChangeTo?.setProps({getReferenceClientRect:()=>this.tippy?.popper.getBoundingClientRect()}),this.show())}update(t,e){const{state:i,composing:r}=t,{doc:o,selection:s}=i,a=e&&e.doc.eq(o)&&e.selection.eq(s);if(r||a)return;this.createTooltip(),this.createChangeToTooltip();const{ranges:l}=s;this.selectionRange=l[0],this.selectionNodesCount=0,o.nodesBetween(this.selectionRange.$from.pos,this.selectionRange.$to.pos,d=>{d.isBlock&&this.selectionNodesCount++});const c=Math.min(...l.map(d=>d.$from.pos)),u=Math.max(...l.map(d=>d.$to.pos));if(this.shouldShowProp=this.shouldShow?.({editor:this.editor,view:t,state:i,oldState:e,from:c,to:u}),!this.shouldShowProp)return this.hide(),void this.tippyChangeTo?.hide();this.tippy?.setProps({getReferenceClientRect:()=>{const d=t.nodeDOM(c),h=o.nodeAt(c)?.type.name;return(({viewCoords:n,nodeCoords:t,padding:e})=>{const{top:i,bottom:r}=t,{top:o,bottom:s}=n,a=Math.ceil(i-o){this.changeTo.instance.list.updateActiveItem(t),this.changeTo.changeDetectorRef.detectChanges()})}setMenuItems(t,e){const i=t.nodeAt(e),o="table"===Cu(this.editor.state.selection.$from).type.name?"table":i?.type.name;this.selectionNode=i,this.component.instance.items=((n="")=>{switch(n){case"dotImage":return hye;case"dotContent":return pye;case"table":return fye;default:return dye}})(o),this.component.changeDetectorRef.detectChanges()}openImageProperties(){const{open:t}=Ou.getState(this.editor.state),{alt:e,src:i,title:r,data:o}=this.editor.getAttributes(ro.name),{title:s="",asset:a}=o||{};t?this.editor.commands.closeForm():this.editor.commands.openForm([{value:i||a,key:"src",label:"path",required:!0,controlType:"text",type:"text"},{value:e||s,key:"alt",label:"alt",controlType:"text",type:"text"},{value:r||s,key:"title",label:"caption",controlType:"text",type:"text"}]).pipe(At(1),Tn(l=>null!=l)).subscribe(l=>{requestAnimationFrame(()=>{this.editor.commands.updateAttributes(ro.name,{...l}),this.editor.commands.closeForm()})})}exeCommand(t){const{markAction:e,active:i}=t;switch(e){case"bold":this.editor.commands.toggleBold?.();break;case"italic":this.editor.commands.toggleItalic?.();break;case"strike":this.editor.commands.toggleStrike?.();break;case"underline":this.editor.commands.toggleUnderline?.();break;case"justify":case"left":case"center":case"right":this.toggleTextAlign(e,i);break;case"bulletList":this.editor.commands.toggleBulletList?.();break;case"orderedList":this.editor.commands.toggleOrderedList?.();break;case"indent":Yz(this.editor)&&this.editor.commands.sinkListItem("listItem");break;case"outdent":Yz(this.editor)&&this.editor.commands.liftListItem("listItem");break;case"link":const{isOpen:r}=qa.getState(this.editor.state);r?this.editor.view.focus():this.editor.commands.openLinkForm({openOnClick:!1});break;case"properties":this.openImageProperties();break;case"deleteNode":this.selectionNodesCount>1?((n,t)=>{const e=t.$from.pos,i=t.$to.pos+1;this.editor.chain().deleteRange({from:e,to:i}).blur().run()})(0,this.selectionRange):(({editor:n,nodeType:t,selectionRange:e})=>{Bue.includes(t)?((n,t)=>{const e=t.$from.pos,i=e+1;n.chain().deleteRange({from:e,to:i}).blur().run()})(n,e):((n,t)=>{const e=Cu(t.$from),i=e.type.name,r=Cu(t.$from,[Ti.ORDERED_LIST,Ti.BULLET_LIST]),{childCount:o}=r;switch(i){case Ti.ORDERED_LIST:case Ti.BULLET_LIST:o>1?n.chain().deleteNode(Ti.LIST_ITEM).blur().run():n.chain().deleteNode(r.type).blur().run();break;default:n.chain().deleteNode(e.type).blur().run()}})(n,e)})({editor:this.editor,nodeType:this.selectionNode.type.name,selectionRange:this.selectionRange});break;case"clearAll":this.editor.commands?.unsetAllMarks(),this.editor.commands?.clearNodes();break;case"superscript":this.editor.commands?.toggleSuperscript?.();break;case"subscript":this.editor.commands?.toggleSubscript?.()}}toggleTextAlign(t,e){e?this.editor.commands?.unsetTextAlign?.():this.editor.commands?.setTextAlign?.(t)}changeToItems(){const t=this.editor.storage.dotConfig.allowedBlocks;let i="table"===Cu(this.editor.state.selection.$from).type.name?yee:Cee;t.length>1&&(i=i.filter(o=>t.includes(o.id)));const r={heading1:()=>{this.editor.chain().focus().clearNodes().setHeading({level:1}).run()},heading2:()=>{this.editor.chain().focus().clearNodes().setHeading({level:2}).run()},heading3:()=>{this.editor.chain().focus().clearNodes().setHeading({level:3}).run()},heading4:()=>{this.editor.chain().focus().clearNodes().setHeading({level:4}).run()},heading5:()=>{this.editor.chain().focus().clearNodes().setHeading({level:5}).run()},heading6:()=>{this.editor.chain().focus().clearNodes().setHeading({level:6}).run()},paragraph:()=>{this.editor.chain().focus().clearNodes().run()},orderedList:()=>{this.editor.chain().focus().clearNodes().toggleOrderedList?.().run()},bulletList:()=>{this.editor.chain().focus().clearNodes().toggleBulletList?.().run()},blockquote:()=>{this.editor.chain().focus().clearNodes().toggleBlockquote?.().run()},codeBlock:()=>{this.editor.chain().focus().clearNodes().toggleCodeBlock?.().run()}};return i.forEach(o=>{o.isActive=()=>o.id.includes("heading")?this.editor.isActive("heading",o.attributes):this.editor.isActive(o.id),o.command=()=>{r[o.id](),this.tippyChangeTo.hide(),this.getActiveNode()}}),i}getActiveNode(){const t=this.changeToItems(),e=t.filter(o=>o?.isActive()),i=e.length>1?e[1]:e[0],r=t.findIndex(o=>o===i);return{activeItem:i,index:r}}createChangeToTooltip(){const{element:t}=this.editor.options;this.tippyChangeTo||(this.tippyChangeTo=gs(t,{...this.tippyOptions,appendTo:document.body,getReferenceClientRect:null,content:this.changeToElement,placement:"bottom-start",duration:0,hideOnClick:!1,popperOptions:{modifiers:Kz},onHide:()=>{this.editor.storage.bubbleMenu.changeToIsOpen=!1,this.changeTo.instance.items=[],this.changeTo.changeDetectorRef.detectChanges(),this.editor.commands.freezeScroll(!1)},onShow:()=>{this.editor.storage.bubbleMenu.changeToIsOpen=!0,this.editor.commands.freezeScroll(!0),this.updateChangeTo()}}))}toggleChangeTo(){this.tippyChangeTo?.state.isVisible?this.tippyChangeTo?.hide():this.tippyChangeTo?.show()}hanlderScroll(t){const i=this.changeTo.instance.listElement?.nativeElement;!this.tippy?.state.isMounted||t.target===i||this.tippyChangeTo?.hide()}}const Iye={duration:500,maxWidth:"none",placement:"top-start",trigger:"manual",interactive:!0},Oye=new an("bubble-menu");function Aye(n){const t=n.createComponent(rf),e=t.location.nativeElement,i=n.createComponent(Jl),r=i.location.nativeElement;return ZS.extend({name:"bubbleMenu",addOptions:()=>({element:null,tippyOptions:Iye,pluginKey:"bubbleMenu",shouldShow:lye}),addStorage:()=>({changeToIsOpen:!1}),addProseMirrorPlugins(){return e?[Eye({...this.options,component:t,changeToComponent:i,pluginKey:Oye,editor:this.editor,element:e,changeToElement:r})]:[]}})}const kye=Sn.create({name:"dotComands",addCommands:()=>({isNodeRegistered:n=>({view:t})=>{const{schema:e}=t.state,{nodes:i}=e;return Boolean(i[n])}})}),Nye=n=>Sn.create({name:"dotConfig",addStorage:()=>({...n})}),Pye=Bn.create({name:"tableCell",addOptions:()=>({HTMLAttributes:{}}),content:"block+",addAttributes:()=>({colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:n=>{const t=n.getAttribute("colwidth");return t?[parseInt(t,10)]:null}}}),tableRole:"cell",isolating:!0,parseHTML:()=>[{tag:"td"}],renderHTML({HTMLAttributes:n}){return["td",rn(this.options.HTMLAttributes,n),0]}});class Rye{constructor(t,e){this.tippy=e}init(){}update(){}destroy(){this.tippy.destroy()}}const Fye=n=>{let t;function e(s){return Li.node(s.$to.before(3),s.$to.after(3),{class:"focus"})}function i(s){s.preventDefault(),s.stopPropagation(),t?.setProps({getReferenceClientRect:()=>s.target.getBoundingClientRect()}),t.show()}function o(s){return"tableCell"===s?.type.name||"tableHeader"===s?.type.name||"tableRow"===s?.type.name}return new Kt({key:new an("dotTableCell"),state:{apply:()=>{},init:()=>{const{editor:s,viewContainerRef:a}=n,l=a.createComponent(Jl),c=l.location.nativeElement;l.instance.currentLanguage=s.storage.dotConfig.lang;const{element:d}=s.options;t=gs(d,{duration:500,maxWidth:"none",placement:"top-start",trigger:"manual",interactive:!0,appendTo:document.body,getReferenceClientRect:null,content:c,placement:"bottom-start",duration:0,hideOnClick:!0,popperOptions:{modifiers:Kz},onShow:()=>{s.commands.freezeScroll(!0);const h=l.instance.items.find(p=>"mergeCells"==p.id),f=l.instance.items.find(p=>"splitCells"==p.id);h.disabled=!s.can().mergeCells(),f.disabled=!s.can().splitCell(),setTimeout(()=>{l.changeDetectorRef.detectChanges()})},onHide:()=>s.commands.freezeScroll(!1)}),l.instance.items=((n,t)=>[{label:"Toggle row Header",icon:"check",id:"toggleRowHeader",command:()=>{n.commands.toggleHeaderRow(),t.hide()},tabindex:"0"},{label:"Toggle column Header",icon:"check",id:"toggleColumnHeader",command:()=>{n.commands.toggleHeaderColumn(),t.hide()},tabindex:"1"},{id:"divider"},{label:"Merge Cells",icon:"call_merge",id:"mergeCells",command:()=>{n.commands.mergeCells(),t.hide()},disabled:!0,tabindex:"2"},{label:"Split Cells",icon:"call_split",id:"splitCells",command:()=>{n.commands.splitCell(),t.hide()},disabled:!0,tabindex:"3"},{id:"divider"},{label:"Insert row above",icon:"arrow_upward",id:"insertAbove",command:()=>{n.commands.addRowBefore(),t.hide()},tabindex:"4"},{label:"Insert row below",icon:"arrow_downward",id:"insertBellow",command:()=>{n.commands.addRowAfter(),t.hide()},tabindex:"5"},{label:"Insert column left",icon:"arrow_back",id:"insertLeft",command:()=>{n.commands.addColumnBefore(),t.hide()},tabindex:"6"},{label:"Insert column right",icon:"arrow_forward",id:"insertRight",command:()=>{n.commands.addColumnAfter(),t.hide()},tabindex:"7"},{id:"divider"},{label:"Delete row",icon:"delete",id:"deleteRow",command:()=>{n.commands.deleteRow(),t.hide()},tabindex:"8"},{label:"Delete Column",icon:"delete",id:"deleteColumn",command:()=>{n.commands.deleteColumn(),t.hide()},tabindex:"9"},{label:"Delete Table",icon:"delete",id:"deleteTable",command:()=>{n.commands.deleteTable(),t.hide()},tabindex:"10"}])(n.editor,t),l.instance.title="",l.changeDetectorRef.detectChanges()}},view:s=>new Rye(s,t),props:{decorations(s){const a=s.selection.$from.depth>3?s.selection.$from.node(3):null;return"tableCell"==a?.type?.name||"tableHeader"==a?.type?.name?Vn.create(s.doc,[e(s.selection)]):null},handleDOMEvents:{contextmenu:(s,a)=>{o(s.state.selection.$from.node(s.state.selection.$from.depth-1))&&i(a)},mousedown:(s,a)=>{const l=s.state.selection.$from.node(s.state.selection.$from.depth-1);!function r(s){return s?.classList.contains("dot-cell-arrow")}(a.target)?2===a.button&&o(l)&&a.preventDefault():i(a)}}}})};function jye(n){return Pye.extend({renderHTML({HTMLAttributes:t}){return["td",rn(this.options.HTMLAttributes,t),["button",{class:"dot-cell-arrow"}],["p",0]]},addProseMirrorPlugins(){return[Fye({editor:this.editor,viewContainerRef:n})]}})}const zye=Bn.create({name:"tableHeader",addOptions:()=>({HTMLAttributes:{}}),content:"block+",addAttributes:()=>({colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:n=>{const t=n.getAttribute("colwidth");return t?[parseInt(t,10)]:null}}}),tableRole:"header_cell",isolating:!0,parseHTML:()=>[{tag:"th"}],renderHTML({HTMLAttributes:n}){return["th",rn(this.options.HTMLAttributes,n),0]}});var yE,_E;if(typeof WeakMap<"u"){let n=new WeakMap;yE=t=>n.get(t),_E=(t,e)=>(n.set(t,e),e)}else{const n=[];let e=0;yE=i=>{for(let r=0;r(10==e&&(e=0),n[e++]=i,n[e++]=r)}var Zn=class{constructor(n,t,e,i){this.width=n,this.height=t,this.map=e,this.problems=i}findCell(n){for(let t=0;ti&&(o+=c.attrs.colspan)}}for(let s=0;s1&&(e=!0)}-1==t?t=o:t!=o&&(t=Math.max(t,o))}return t}(n),e=n.childCount,i=[];let r=0,o=null;const s=[];for(let c=0,u=t*e;c=e){(o||(o=[])).push({type:"overlong_rowspan",pos:u,n:y-T});break}const v=r+T*t;for(let N=0;N0;t--)if("row"==n.node(t).type.spec.tableRole)return n.node(0).resolve(n.before(t+1));return null}function vs(n){const t=n.selection.$head;for(let e=t.depth;e>0;e--)if("row"==t.node(e).type.spec.tableRole)return!0;return!1}function k0(n){const t=n.selection;if("$anchorCell"in t&&t.$anchorCell)return t.$anchorCell.pos>t.$headCell.pos?t.$anchorCell:t.$headCell;if("node"in t&&t.node&&"cell"==t.node.type.spec.tableRole)return t.$anchor;const e=sf(t.$head)||function Gye(n){for(let t=n.nodeAfter,e=n.pos;t;t=t.firstChild,e++){const i=t.type.spec.tableRole;if("cell"==i||"header_cell"==i)return n.doc.resolve(e)}for(let t=n.nodeBefore,e=n.pos;t;t=t.lastChild,e--){const i=t.type.spec.tableRole;if("cell"==i||"header_cell"==i)return n.doc.resolve(e-t.nodeSize)}}(t.$head);if(e)return e;throw new RangeError(`No cell found around position ${t.head}`)}function vE(n){return"row"==n.parent.type.spec.tableRole&&!!n.nodeAfter}function bE(n,t){return n.depth==t.depth&&n.pos>=t.start(-1)&&n.pos<=t.end(-1)}function Xz(n,t,e){const i=n.node(-1),r=Zn.get(i),o=n.start(-1),s=r.nextCell(n.pos-o,t,e);return null==s?null:n.node(0).resolve(o+s)}function Au(n,t,e=1){const i={...n,colspan:n.colspan-e};return i.colwidth&&(i.colwidth=i.colwidth.slice(),i.colwidth.splice(t,e),i.colwidth.some(r=>r>0)||(i.colwidth=null)),i}function eV(n,t,e=1){const i={...n,colspan:n.colspan+e};if(i.colwidth){i.colwidth=i.colwidth.slice();for(let r=0;rc!=t.pos-r);a.unshift(t.pos-r);const l=a.map(c=>{const u=e.nodeAt(c);if(!u)throw RangeError(`No cell with offset ${c} found`);const d=r+c+1;return new Qj(s.resolve(d),s.resolve(d+u.content.size))});super(l[0].$from,l[0].$to,l),this.$anchorCell=n,this.$headCell=t}map(n,t){const e=n.resolve(t.map(this.$anchorCell.pos)),i=n.resolve(t.map(this.$headCell.pos));if(vE(e)&&vE(i)&&bE(e,i)){const r=this.$anchorCell.node(-1)!=e.node(-1);return r&&this.isRowSelection()?on.rowSelection(e,i):r&&this.isColSelection()?on.colSelection(e,i):new on(e,i)}return at.between(e,i)}content(){const n=this.$anchorCell.node(-1),t=Zn.get(n),e=this.$anchorCell.start(-1),i=t.rectBetween(this.$anchorCell.pos-e,this.$headCell.pos-e),r={},o=[];for(let a=i.top;a0||m>0){let g=f.attrs;if(p>0&&(g=Au(g,0,p)),m>0&&(g=Au(g,g.colspan-m,m)),h.lefti.bottom){const g={...f.attrs,rowspan:Math.min(h.bottom,i.bottom)-Math.max(h.top,i.top)};f=h.top0)&&Math.max(n+this.$anchorCell.nodeAfter.attrs.rowspan,t+this.$headCell.nodeAfter.attrs.rowspan)==this.$headCell.node(-1).childCount}static colSelection(n,t=n){const e=n.node(-1),i=Zn.get(e),r=n.start(-1),o=i.findCell(n.pos-r),s=i.findCell(t.pos-r),a=n.node(0);return o.top<=s.top?(o.top>0&&(n=a.resolve(r+i.map[o.left])),s.bottom0&&(t=a.resolve(r+i.map[s.left])),o.bottom0)&&Math.max(i+this.$anchorCell.nodeAfter.attrs.colspan,r+this.$headCell.nodeAfter.attrs.colspan)==t.width}eq(n){return n instanceof on&&n.$anchorCell.pos==this.$anchorCell.pos&&n.$headCell.pos==this.$headCell.pos}static rowSelection(n,t=n){const e=n.node(-1),i=Zn.get(e),r=n.start(-1),o=i.findCell(n.pos-r),s=i.findCell(t.pos-r),a=n.node(0);return o.left<=s.left?(o.left>0&&(n=a.resolve(r+i.map[o.top*i.width])),s.right0&&(t=a.resolve(r+i.map[s.top*i.width])),o.right{t.push(Li.node(i,i+e.nodeSize,{class:"selectedCell"}))}),Vn.create(n.doc,t)}var Xye=new an("fix-tables");function nV(n,t,e,i){const r=n.childCount,o=t.childCount;e:for(let s=0,a=0;s{"table"==r.type.spec.tableRole&&(e=function e_e(n,t,e,i){const r=Zn.get(t);if(!r.problems)return i;i||(i=n.tr);const o=[];for(let l=0;l0){let f="cell";u.firstChild&&(f=u.firstChild.type.spec.tableRole);const p=[];for(let g=0;gt.width)for(let d=0,h=0;dt.height){const d=[];for(let p=0,m=(t.height-1)*t.width;p=t.width)&&e.nodeAt(t.map[m+p]).type==l.header_cell;d.push(g?u||(u=l.header_cell.createAndFill()):c||(c=l.cell.createAndFill()))}const h=l.row.create(null,he.from(d)),f=[];for(let p=t.height;p{if(!r)return!1;const o=e.selection;if(o instanceof on)return N0(e,i,ct.near(o.$headCell,t));if("horiz"!=n&&!o.empty)return!1;const s=aV(r,n,t);if(null==s)return!1;if("horiz"==n)return N0(e,i,ct.near(e.doc.resolve(o.head+t),t));{const a=e.doc.resolve(s),l=Xz(a,n,t);let c;return c=l?ct.near(l,1):t<0?ct.near(e.doc.resolve(a.before(-1)),-1):ct.near(e.doc.resolve(a.after(-1)),1),N0(e,i,c)}}}function L0(n,t){return(e,i,r)=>{if(!r)return!1;const o=e.selection;let s;if(o instanceof on)s=o;else{const l=aV(r,n,t);if(null==l)return!1;s=new on(e.doc.resolve(l))}const a=Xz(s.$headCell,n,t);return!!a&&N0(e,i,new on(s.$anchorCell,a))}}function R0(n,t){const e=n.selection;if(!(e instanceof on))return!1;if(t){const i=n.tr,r=yr(n.schema).cell.createAndFill().content;e.forEachCell((o,s)=>{o.content.eq(r)||i.replace(i.mapping.map(s+1),i.mapping.map(s+o.nodeSize-1),new Te(r,0,0))}),i.docChanged&&t(i)}return!0}function s_e(n,t){const i=sf(n.state.doc.resolve(t));return!!i&&(n.dispatch(n.state.tr.setSelection(new on(i))),!0)}function a_e(n,t,e){if(!vs(n.state))return!1;let i=function t_e(n){if(!n.size)return null;let{content:t,openStart:e,openEnd:i}=n;for(;1==t.childCount&&(e>0&&i>0||"table"==t.child(0).type.spec.tableRole);)e--,i--,t=t.child(0).content;const r=t.child(0),o=r.type.spec.tableRole,s=r.type.schema,a=[];if("row"==o)for(let l=0;l=0;s--){const{rowspan:a,colspan:l}=o.child(s).attrs;for(let c=r;c=t.length&&t.push(he.empty),e[r]i&&(h=h.type.createChecked(Au(h.attrs,h.attrs.colspan,u+h.attrs.colspan-i),h.content)),c.push(h),u+=h.attrs.colspan;for(let f=1;fr&&(d=d.type.create({...d.attrs,rowspan:Math.max(1,r-d.attrs.rowspan)},d.content)),l.push(d)}o.push(he.from(l))}e=o,t=r}return{width:n,height:t,rows:e}}(i,a.right-a.left,a.bottom-a.top),sV(n.state,n.dispatch,s,a,i),!0}if(i){const o=k0(n.state),s=o.start(-1);return sV(n.state,n.dispatch,s,Zn.get(o.node(-1)).findCell(o.pos-s),i),!0}return!1}function l_e(n,t){var e;if(t.ctrlKey||t.metaKey)return;const i=lV(n,t.target);let r;if(t.shiftKey&&n.state.selection instanceof on)o(n.state.selection.$anchorCell,t),t.preventDefault();else if(t.shiftKey&&i&&null!=(r=sf(n.state.selection.$anchor))&&(null==(e=wE(n,t))?void 0:e.pos)!=r.pos)o(r,t),t.preventDefault();else if(!i)return;function o(l,c){let u=wE(n,c);const d=null==ec.getState(n.state);if(!u||!bE(l,u)){if(!d)return;u=l}const h=new on(l,u);if(d||!n.state.selection.eq(h)){const f=n.state.tr.setSelection(h);d&&f.setMeta(ec,l.pos),n.dispatch(f)}}function s(){n.root.removeEventListener("mouseup",s),n.root.removeEventListener("dragstart",s),n.root.removeEventListener("mousemove",a),null!=ec.getState(n.state)&&n.dispatch(n.state.tr.setMeta(ec,-1))}function a(l){const c=l,u=ec.getState(n.state);let d;if(null!=u)d=n.state.doc.resolve(u);else if(lV(n,c.target)!=i&&(d=wE(n,t),!d))return s();d&&o(d,c)}n.root.addEventListener("mouseup",s),n.root.addEventListener("dragstart",s),n.root.addEventListener("mousemove",a)}function aV(n,t,e){if(!(n.state.selection instanceof at))return null;const{$head:i}=n.state.selection;for(let r=i.depth-1;r>=0;r--){const o=i.node(r);if((e<0?i.index(r):i.indexAfter(r))!=(e<0?0:o.childCount))return null;if("cell"==o.type.spec.tableRole||"header_cell"==o.type.spec.tableRole){const a=i.before(r);return n.endOfTextblock("vert"==t?e>0?"down":"up":e>0?"right":"left")?a:null}}return null}function lV(n,t){for(;t&&t!=n.dom;t=t.parentNode)if("TD"==t.nodeName||"TH"==t.nodeName)return t;return null}function wE(n,t){const e=n.posAtCoords({left:t.clientX,top:t.clientY});return e&&e?sf(n.state.doc.resolve(e.pos)):null}var c_e=class{constructor(n,t){this.node=n,this.cellMinWidth=t,this.dom=document.createElement("div"),this.dom.className="tableWrapper",this.table=this.dom.appendChild(document.createElement("table")),this.colgroup=this.table.appendChild(document.createElement("colgroup")),TE(n,this.colgroup,this.table,t),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(n){return n.type==this.node.type&&(this.node=n,TE(n,this.colgroup,this.table,this.cellMinWidth),!0)}ignoreMutation(n){return"attributes"==n.type&&(n.target==this.table||this.colgroup.contains(n.target))}};function TE(n,t,e,i,r,o){var s;let a=0,l=!0,c=t.firstChild;const u=n.firstChild;if(u){for(let d=0,h=0;d(r.spec.props.nodeViews[yr(s.schema).table.name]=(a,l)=>new e(a,t,l),new F0(-1,!1)),apply:(o,s)=>s.apply(o)},props:{attributes:o=>{const s=Ko.getState(o);return s&&s.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(o,s)=>{!function d_e(n,t,e,i,r){const o=Ko.getState(n.state);if(o&&!o.dragging){const s=function m_e(n){for(;n&&"TD"!=n.nodeName&&"TH"!=n.nodeName;)n=n.classList&&n.classList.contains("ProseMirror")?null:n.parentNode;return n}(t.target);let a=-1;if(s){const{left:l,right:c}=s.getBoundingClientRect();t.clientX-l<=e?a=cV(n,t,"left"):c-t.clientX<=e&&(a=cV(n,t,"right"))}if(a!=o.activeHandle){if(!r&&-1!==a){const l=n.state.doc.resolve(a),c=l.node(-1),u=Zn.get(c),d=l.start(-1);if(u.colCount(l.pos-d)+l.nodeAfter.attrs.colspan-1==u.width-1)return}dV(n,a)}}}(o,s,n,0,i)},mouseleave:o=>{!function h_e(n){const t=Ko.getState(n.state);t&&t.activeHandle>-1&&!t.dragging&&dV(n,-1)}(o)},mousedown:(o,s)=>{!function f_e(n,t,e){const i=Ko.getState(n.state);if(!i||-1==i.activeHandle||i.dragging)return!1;const r=n.state.doc.nodeAt(i.activeHandle),o=function p_e(n,t,{colspan:e,colwidth:i}){const r=i&&i[i.length-1];if(r)return r;const o=n.domAtPos(t);let a=o.node.childNodes[o.offset].offsetWidth,l=e;if(i)for(let c=0;c{const s=Ko.getState(o);if(s&&s.activeHandle>-1)return function v_e(n,t){const e=[],i=n.doc.resolve(t),r=i.node(-1);if(!r)return Vn.empty;const o=Zn.get(r),s=i.start(-1),a=o.colCount(i.pos-s)+i.nodeAfter.attrs.colspan;for(let l=0;l-1&&n.docChanged){let i=n.mapping.map(t.activeHandle,-1);return vE(n.doc.resolve(i))||(i=-1),new F0(i,t.dragging)}return t}};function cV(n,t,e){const i=n.posAtCoords({left:t.clientX,top:t.clientY});if(!i)return-1;const{pos:r}=i,o=sf(n.state.doc.resolve(r));if(!o)return-1;if("right"==e)return o.pos;const s=Zn.get(o.node(-1)),a=o.start(-1),l=s.map.indexOf(o.pos-a);return l%s.width==0?-1:a+s.map[l-1]}function uV(n,t,e){return Math.max(e,n.startWidth+(t.clientX-n.startX))}function dV(n,t){n.dispatch(n.state.tr.setMeta(Ko,{setHandle:t}))}function __e(n){return Array(n).fill(0)}function na(n){const t=n.selection,e=k0(n),i=e.node(-1),r=e.start(-1),o=Zn.get(i);return{...t instanceof on?o.rectBetween(t.$anchorCell.pos-r,t.$headCell.pos-r):o.findCell(e.pos-r),tableStart:r,map:o,table:i}}function hV(n,{map:t,tableStart:e,table:i},r){let o=r>0?-1:0;(function qye(n,t,e){const i=yr(t.type.schema).header_cell;for(let r=0;r0&&r0&&t.map[a-1]==l||r0?-1:0;(function D_e(n,t,e){var i;const r=yr(t.type.schema).header_cell;for(let o=0;o0&&r0&&u==t.map[c-t.width]){const d=e.nodeAt(u).attrs;n.setNodeMarkup(n.mapping.slice(a).map(u+i),null,{...d,rowspan:d.rowspan-1}),l+=d.colspan-1}else if(r0&&e[o]==e[o-1]||i.right0&&e[r]==e[r-n]||i.bottom{var i;const r=t.selection;let o,s;if(r instanceof on){if(r.$anchorCell.pos!=r.$headCell.pos)return!1;o=r.$anchorCell.nodeAfter,s=r.$anchorCell.pos}else{if(o=function Wye(n){for(let t=n.depth;t>0;t--){const e=n.node(t).type.spec.tableRole;if("cell"===e||"header_cell"===e)return n.node(t)}return null}(r.$from),!o)return!1;s=null==(i=sf(r.$from))?void 0:i.pos}if(null==o||null==s||1==o.attrs.colspan&&1==o.attrs.rowspan)return!1;if(e){let a=o.attrs;const l=[],c=a.colwidth;a.rowspan>1&&(a={...a,rowspan:1}),a.colspan>1&&(a={...a,colspan:1});const u=na(t),d=t.tr;for(let f=0;fe[i.type.spec.tableRole])(n,t)}function yV(n,t,e){const i=t.map.cellsInRect({left:0,top:0,right:"row"==n?t.map.width:1,bottom:"column"==n?t.map.height:1});for(let r=0;rr.table.nodeAt(l));for(let l=0;l{const p=f+o.tableStart,m=s.doc.nodeAt(p);m&&s.setNodeMarkup(p,h,m.attrs)}),i(s)}return!0}}Og("row",{useDeprecatedLogic:!0}),Og("column",{useDeprecatedLogic:!0});var N_e=Og("cell",{useDeprecatedLogic:!0});function _V(n){return function(t,e){if(!vs(t))return!1;const i=function P_e(n,t){if(t<0){const e=n.nodeBefore;if(e)return n.pos-e.nodeSize;for(let i=n.index(-1)-1,r=n.before();i>=0;i--){const o=n.node(-1).child(i),s=o.lastChild;if(s)return r-1-s.nodeSize;r-=o.nodeSize}}else{if(n.index()null,apply(t,e){const i=t.getMeta(ec);if(null!=i)return-1==i?null:i;if(null==e||!t.docChanged)return e;const{deleted:r,pos:o}=t.mapping.mapResult(e);return r?null:o}},props:{decorations:Kye,handleDOMEvents:{mousedown:l_e},createSelectionBetween:t=>null!=ec.getState(t.state)?t.state.selection:null,handleTripleClick:s_e,handleKeyDown:o_e,handlePaste:a_e},appendTransaction:(t,e,i)=>function Jye(n,t,e){const i=(t||n).selection,r=(t||n).doc;let o,s;if(i instanceof Qe&&(s=i.node.type.spec.tableRole)){if("cell"==s||"header_cell"==s)o=on.create(r,i.from);else if("row"==s){const a=r.resolve(i.from+1);o=on.rowSelection(a,a)}else if(!e){const a=Zn.get(i.node),l=i.from+1;o=on.create(r,l+1,l+a.map[a.width*a.height-1])}}else i instanceof at&&function Qye({$from:n,$to:t}){if(n.pos==t.pos||n.pos=0&&!(n.after(r+1)=0&&!(t.before(o+1)>t.start(o));o--,i--);return e==i&&/row|table/.test(n.node(r).type.spec.tableRole)}(i)?o=at.create(r,i.from):i instanceof at&&function Zye({$from:n,$to:t}){let e,i;for(let r=n.depth;r>0;r--){const o=n.node(r);if("cell"===o.type.spec.tableRole||"header_cell"===o.type.spec.tableRole){e=o;break}}for(let r=t.depth;r>0;r--){const o=t.node(r);if("cell"===o.type.spec.tableRole||"header_cell"===o.type.spec.tableRole){i=o;break}}return e!==i&&0===t.parentOffset}(i)&&(o=at.create(r,i.$from.start(),i.$from.end()));return o&&(t||(t=n.tr)).setSelection(o),t}(i,iV(i,e),n)})}function vV(n,t,e,i,r,o){let s=0,a=!0,l=t.firstChild;const c=n.firstChild;for(let u=0,d=0;u{const{selection:t}=n.state;if(!function V_e(n){return n instanceof on}(t))return!1;let e=0;return j5(t.ranges[0].$from,o=>"table"===o.type.name)?.node.descendants(o=>{if("table"===o.type.name)return!1;["tableCell","tableHeader"].includes(o.type.name)&&(e+=1)}),e===t.ranges.length&&(n.commands.deleteTable(),!0)},B_e=Bn.create({name:"table",addOptions:()=>({HTMLAttributes:{},resizable:!1,handleWidth:5,cellMinWidth:25,View:F_e,lastColumnResizable:!0,allowTableNodeSelection:!1}),content:"tableRow+",tableRole:"table",isolating:!0,group:"block",parseHTML:()=>[{tag:"table"}],renderHTML({HTMLAttributes:n}){return["table",rn(this.options.HTMLAttributes,n),["tbody",0]]},addCommands:()=>({insertTable:({rows:n=3,cols:t=3,withHeaderRow:e=!0}={})=>({tr:i,dispatch:r,editor:o})=>{const s=function z_e(n,t,e,i,r){const o=function j_e(n){if(n.cached.tableNodeTypes)return n.cached.tableNodeTypes;const t={};return Object.keys(n.nodes).forEach(e=>{const i=n.nodes[e];i.spec.tableRole&&(t[i.spec.tableRole]=i)}),n.cached.tableNodeTypes=t,t}(n),s=[],a=[];for(let c=0;c({state:n,dispatch:t})=>function b_e(n,t){if(!vs(n))return!1;if(t){const e=na(n);t(hV(n.tr,e,e.left))}return!0}(n,t),addColumnAfter:()=>({state:n,dispatch:t})=>function C_e(n,t){if(!vs(n))return!1;if(t){const e=na(n);t(hV(n.tr,e,e.right))}return!0}(n,t),deleteColumn:()=>({state:n,dispatch:t})=>function T_e(n,t){if(!vs(n))return!1;if(t){const e=na(n),i=n.tr;if(0==e.left&&e.right==e.map.width)return!1;for(let r=e.right-1;w_e(i,e,r),r!=e.left;r--){const o=e.tableStart?i.doc.nodeAt(e.tableStart-1):i.doc;if(!o)throw RangeError("No table found");e.table=o,e.map=Zn.get(o)}t(i)}return!0}(n,t),addRowBefore:()=>({state:n,dispatch:t})=>function M_e(n,t){if(!vs(n))return!1;if(t){const e=na(n);t(fV(n.tr,e,e.top))}return!0}(n,t),addRowAfter:()=>({state:n,dispatch:t})=>function S_e(n,t){if(!vs(n))return!1;if(t){const e=na(n);t(fV(n.tr,e,e.bottom))}return!0}(n,t),deleteRow:()=>({state:n,dispatch:t})=>function x_e(n,t){if(!vs(n))return!1;if(t){const e=na(n),i=n.tr;if(0==e.top&&e.bottom==e.map.height)return!1;for(let r=e.bottom-1;E_e(i,e,r),r!=e.top;r--){const o=e.tableStart?i.doc.nodeAt(e.tableStart-1):i.doc;if(!o)throw RangeError("No table found");e.table=o,e.map=Zn.get(e.table)}t(i)}return!0}(n,t),deleteTable:()=>({state:n,dispatch:t})=>function L_e(n,t){const e=n.selection.$anchor;for(let i=e.depth;i>0;i--)if("table"==e.node(i).type.spec.tableRole)return t&&t(n.tr.delete(e.before(i),e.after(i)).scrollIntoView()),!0;return!1}(n,t),mergeCells:()=>({state:n,dispatch:t})=>mV(n,t),splitCell:()=>({state:n,dispatch:t})=>gV(n,t),toggleHeaderColumn:()=>({state:n,dispatch:t})=>Og("column")(n,t),toggleHeaderRow:()=>({state:n,dispatch:t})=>Og("row")(n,t),toggleHeaderCell:()=>({state:n,dispatch:t})=>N_e(n,t),mergeOrSplit:()=>({state:n,dispatch:t})=>!!mV(n,t)||gV(n,t),setCellAttribute:(n,t)=>({state:e,dispatch:i})=>function A_e(n,t){return function(e,i){if(!vs(e))return!1;const r=k0(e);if(r.nodeAfter.attrs[n]===t)return!1;if(i){const o=e.tr;e.selection instanceof on?e.selection.forEachCell((s,a)=>{s.attrs[n]!==t&&o.setNodeMarkup(a,null,{...s.attrs,[n]:t})}):o.setNodeMarkup(r.pos,null,{...r.nodeAfter.attrs,[n]:t}),i(o)}return!0}}(n,t)(e,i),goToNextCell:()=>({state:n,dispatch:t})=>_V(1)(n,t),goToPreviousCell:()=>({state:n,dispatch:t})=>_V(-1)(n,t),fixTables:()=>({state:n,dispatch:t})=>(t&&iV(n),!0),setCellSelection:n=>({tr:t,dispatch:e})=>{if(e){const i=on.create(t.doc,n.anchorCell,n.headCell);t.setSelection(i)}return!0}}),addKeyboardShortcuts(){return{Tab:()=>!!this.editor.commands.goToNextCell()||!!this.editor.can().addRowAfter()&&this.editor.chain().addRowAfter().goToNextCell().run(),"Shift-Tab":()=>this.editor.commands.goToPreviousCell(),Backspace:j0,"Mod-Backspace":j0,Delete:j0,"Mod-Delete":j0}},addProseMirrorPlugins(){return[...this.options.resizable&&this.editor.isEditable?[u_e({handleWidth:this.options.handleWidth,cellMinWidth:this.options.cellMinWidth,View:this.options.View,lastColumnResizable:this.options.lastColumnResizable})]:[],R_e({allowTableNodeSelection:this.options.allowTableNodeSelection})]},extendNodeSchema:n=>({tableRole:xt(He(n,"tableRole",{name:n.name,options:n.options,storage:n.storage}))})});class Ag{}Ag.\u0275fac=function(t){return new(t||Ag)},Ag.\u0275cmp=we({type:Ag,selectors:[["dot-drag-handler"]],decls:2,vars:0,consts:[[1,"material-icons"]],template:function(t,e){1&t&&(S(0,"i",0),Se(1,"drag_indicator"),E())},styles:["[_nghost-%COMP%]{position:absolute;cursor:grab;z-index:1;opacity:0;color:var(--color-palette-primary-800);transition:opacity .25s,top .15s;pointer-events:none}.visible[_nghost-%COMP%]{opacity:1;pointer-events:auto}"]});const H_e=n=>Sn.create({name:"dragHandler",addProseMirrorPlugins(){let t=null;const r=n.createComponent(Ag).location.nativeElement;function s(m){m&&m.parentNode&&m.parentNode.removeChild(m)}function c(m){for(;m&&m.parentNode&&!m.classList?.contains("ProseMirror")&&!m.parentNode.classList?.contains("ProseMirror");)m=m.parentNode;return m}function h(){r.classList.remove("visible")}return[new Kt({key:new an("dragHandler"),view:m=>(requestAnimationFrame(()=>function d(m){r.setAttribute("draggable","true"),r.addEventListener("dragstart",g=>function l(m,g){if(!m.dataTransfer)return;const w=function a(m,g){const y=g.posAtCoords(m);if(y){const w=c(g.nodeDOM(y.inside));if(w&&1===w.nodeType){const T=g.docView.nearestDesc(w,!0);if(T&&T!==g.docView)return T.posBefore}}return null}({left:m.clientX+50,top:m.clientY},g);if(null!=w){g.dispatch(g.state.tr.setSelection(Qe.create(g.state.doc,w)));const T=g.state.selection.content();m.dataTransfer.clearData(),m?.dataTransfer?.setDragImage(t,10,10),g.dragging={slice:T,move:!0}}}(g,m)),r.classList.remove("visible"),m.dom.parentElement?.appendChild(r)}(m)),document.body.addEventListener("scroll",h,!0),{destroy(){s(r),document.body.removeEventListener("scroll",h,!0)}}),props:{handleDOMEvents:{drop:(m,g)=>"TABLE"===c(g.target).nodeName||(requestAnimationFrame(()=>{(function p(){document.querySelector(".ProseMirror-hideselection")?.classList.remove("ProseMirror-hideselection"),r.classList.remove("visible")})(),X5(m),"TABLE"===t.nodeName&&s(t)}),!1),mousemove(m,g){const w=m.posAtCoords({left:g.clientX+50,top:g.clientY});if(w&&function u(m,g){const y=m.nodeDOM(g);return!(!y?.hasChildNodes()||1===y.childNodes.length&&"BR"==y.childNodes[0].nodeName)}(m,w.inside))if(t=c(m.nodeDOM(w.inside)),function f(m){return m&&!m.classList?.contains("ProseMirror")&&!m.innerText.startsWith("/")}(t)){const{top:T,left:v}=function o(m,g){return{top:g.getBoundingClientRect().top-m.getBoundingClientRect().top,left:g.getBoundingClientRect().left-m.getBoundingClientRect().left}}(m.dom.parentElement,t);r.style.left=v-25+"px",r.style.top=T<0?0:T+"px",r.classList.add("visible")}else r.classList.remove("visible");else t=null,r.classList.remove("visible");return!1}}}})]}}),$_e=function(n){return{completed:n}};function W_e(n,t){if(1&n){const e=Ne();S(0,"button",2),se("click",function(){return ee(e),te(C().byClick.emit())}),E()}if(2&n){const e=C();_("disabled",e.isCompleted||e.isLoading)("icon",e.isCompleted?"pi pi-check":null)("label",e.title)("loading",e.isLoading)("ngClass",tt(5,$_e,e.isCompleted))}}function G_e(n,t){1&n&&(S(0,"div",3),_e(1,"i",4),S(2,"span"),Se(3,"Something went wrong, please try again later or "),S(4,"a",5),Se(5," contact support "),E()()())}class kg{constructor(){this.label="",this.isLoading=!1,this.byClick=new Q,this.status=Kl}get title(){return this.label?this.label[0].toUpperCase()+this.label?.substring(1).toLowerCase():""}get isCompleted(){return this.label===this.status.COMPLETED}}kg.\u0275fac=function(t){return new(t||kg)},kg.\u0275cmp=we({type:kg,selectors:[["dot-floating-button"]],inputs:{label:"label",isLoading:"isLoading"},outputs:{byClick:"byClick"},decls:3,vars:2,consts:[["pButton","","iconPos","left",3,"disabled","icon","label","loading","ngClass","click",4,"ngIf","ngIfElse"],["error",""],["pButton","","iconPos","left",3,"disabled","icon","label","loading","ngClass","click"],[1,"alert"],[1,"pi","pi-exclamation-circle"],["href","https://www.dotcms.com/contact-us/"]],template:function(t,e){if(1&t&&(D(0,W_e,1,7,"button",0),D(1,G_e,6,0,"ng-template",null,1,Mn)),2&t){const i=Bt(2);_("ngIf",e.label!==e.status.ERROR)("ngIfElse",i)}},dependencies:[qn,$t,bo],styles:["[_nghost-%COMP%] .p-button-label{text-transform:unset}[_nghost-%COMP%] .p-button{display:inline-block}[_nghost-%COMP%] .p-button:enabled:hover, [_nghost-%COMP%] .p-button:enabled:active, [_nghost-%COMP%] .p-button:enabled:focus{background:var(--color-palette-primary-500)}[_nghost-%COMP%] .p-button:disabled{background-color:#000!important;color:#fff!important;opacity:1}[_nghost-%COMP%] .p-button.completed{background:var(--color-palette-primary-500)!important}.alert[_ngcontent-%COMP%]{background:#ffffff;color:#d82b2e;border:1px solid #d82b2e;border-radius:.125rem;padding:10px;display:flex;align-items:center;justify-content:center;gap:5px}.alert[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#d82b2e}"]});const q_e=n=>new Kt({key:n.pluginKey,view:t=>new K_e({view:t,...n})});class K_e{constructor({dotUploadFileService:t,editor:e,component:i,element:r,view:o}){this.preventHide=!1,this.$destroy=new ue,this.initialLabel="Import to dotCMS",this.offset=10,this.editor=e,this.element=r,this.view=o,this.component=i,this.dotUploadFileService=t,this.component.instance.byClick.pipe(yn(this.$destroy)).subscribe(()=>this.uploadImagedotCMS()),this.element.remove(),this.element.style.visibility="visible"}update(t,e){const{state:i,composing:r}=t,{doc:o,selection:s}=i,{empty:a,ranges:l}=s,c=e&&e.doc.eq(o)&&e.selection.eq(s);if(r||c||this.preventHide)return void(this.preventHide=!1);const u=Math.min(...l.map(g=>g.$from.pos)),d=o.nodeAt(u)?.type.name,h=this.editor.getAttributes(ro.name);if(a||d!==ro.name||h?.data)return void this.hide();const p=t.nodeDOM(u),m=p.querySelector("img");this.imageUrl=h?.src,this.updateButtonLabel(this.initialLabel),this.createTooltip(),this.tippy?.setProps({maxWidth:m?.width-this.offset||250,getReferenceClientRect:()=>(({viewCoords:n,nodeCoords:t})=>{const{bottom:i,left:r,top:o}=t,{bottom:s}=n,l=Math.ceil(s-i)<0?s:o-65,c=othis.updateButtonLabel(t)}).pipe(At(1),pn(()=>this.updateButtonLoading(!1))).subscribe(t=>{const e=t[0];this.updateButtonLabel(Kl.COMPLETED),this.updateImageNode(e[Object.keys(e)[0]])},()=>{this.updateButtonLoading(!1),this.updateButtonLabel(Kl.ERROR),this.setPreventHide()})}updateButtonLabel(t){this.component.instance.label=t,this.component.changeDetectorRef.detectChanges()}updateButtonLoading(t){this.component.instance.isLoading=t,this.component.changeDetectorRef.detectChanges()}}const Q_e=new an("floating-button");function Z_e(n,t){const e=t.createComponent(kg),i=e.location.nativeElement,r=n.get(Js);return Sn.create({addProseMirrorPlugins(){return i?[q_e({...this.options,dotUploadFileService:r,component:e,pluginKey:Q_e,editor:this.editor,element:i})]:[]}})}const Ng=new an("freeze-scroll"),J_e=Sn.create({name:"freezeScroll",addCommands:()=>({freezeScroll:n=>({chain:t})=>t().command(({tr:e})=>(e.setMeta(Ng,{freezeScroll:n}),!0)).run()}),addProseMirrorPlugins:()=>[X_e]}),X_e=new Kt({key:Ng,state:{init:()=>({freezeScroll:!1}),apply(n,t,e){const{freezeScroll:i}=n.getMeta(Ng)||{},r=Ng?.getState(e);return"boolean"==typeof i?{freezeScroll:i}:r||t}}});function CV(n){return!!n&&(n instanceof Ee||"function"==typeof n.lift&&"function"==typeof n.subscribe)}function af(...n){return t=>{let e;return"function"==typeof n[n.length-1]&&(e=n.pop()),t.lift(new eve(n,e))}}class eve{constructor(t,e){this.observables=t,this.project=e}call(t,e){return e.subscribe(new tve(t,this.observables,this.project))}}class tve extends BR{constructor(t,e,i){super(t),this.observables=e,this.project=i,this.toRespond=[];const r=e.length;this.values=new Array(r);for(let o=0;o0){const o=r.indexOf(i);-1!==o&&r.splice(o,1)}}notifyComplete(){}_next(t){if(0===this.toRespond.length){const e=[t,...this.values];this.project?this._tryProject(e):this.destination.next(e)}}_tryProject(t){let e;try{e=this.project.apply(this,t)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}class ive{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new rve(t,this.compare,this.keySelector))}}class rve extends re{constructor(t,e,i){super(t),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:r}=this;e=r?r(t):t}catch(r){return this.destination.error(r)}let i=!1;if(this.hasKey)try{const{compare:r}=this;i=r(this.key,e)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))}}const sve=new Me("@ngrx/component-store Initial State");let SE=(()=>{class n{constructor(e){this.destroySubject$=new Y_(1),this.destroy$=this.destroySubject$.asObservable(),this.stateSubject$=new Y_(1),this.isInitialized=!1,this.state$=this.select(i=>i),this.\u0275hasProvider=!1,e&&this.initState(e),this.checkProviderForHooks()}ngOnDestroy(){this.stateSubject$.complete(),this.destroySubject$.next()}updater(e){return i=>{let o,r=!0;const a=(CV(i)?i:Fe(i)).pipe(function JY(n,t=0){return function(i){return i.lift(new XY(n,t))}}(ED),pn(()=>this.assertStateIsInitialized()),af(this.stateSubject$),fe(([l,c])=>e(c,l)),pn(l=>this.stateSubject$.next(l)),zi(l=>r?(o=l,Ls):yo(()=>l)),yn(this.destroy$)).subscribe();if(o)throw o;return r=!1,a}}initState(e){jr([e],ED).subscribe(i=>{this.isInitialized=!0,this.stateSubject$.next(i)})}setState(e){"function"!=typeof e?this.initState(e):this.updater(e)()}patchState(e){const i="function"==typeof e?e(this.get()):e;this.updater((r,o)=>({...r,...o}))(i)}get(e){let i;return this.assertStateIsInitialized(),this.stateSubject$.pipe(At(1)).subscribe(r=>{i=e?e(r):r}),i}select(...e){const{observablesOrSelectorsObject:i,projector:r,config:o}=function ave(n){const t=Array.from(n);let e={debounce:!1};if(function lve(n){return typeof n.debounce<"u"}(t[t.length-1])&&(e={...e,...t.pop()}),1===t.length&&"function"!=typeof t[0])return{observablesOrSelectorsObject:t[0],projector:void 0,config:e};const i=t.pop();return{observablesOrSelectorsObject:t,projector:i,config:e}}(e);return(function cve(n,t){return Array.isArray(n)&&0===n.length&&t}(i,r)?this.stateSubject$:jv(i)).pipe(o.debounce?function ove(){return n=>new Ee(t=>{let e,i;const r=new ce;return r.add(n.subscribe({complete:()=>{e&&t.next(i),t.complete()},error:o=>{t.error(o)},next:o=>{i=o,e||(e=S1.schedule(()=>{t.next(i),e=void 0}),r.add(e))}})),r})}():n=>n,r?fe(a=>i.length>0&&Array.isArray(a)?r(...a):r(a)):n=>n,function nve(n,t){return e=>e.lift(new ive(n,t))}(),dj({refCount:!0,bufferSize:1}),yn(this.destroy$))}effect(e){const i=new ue;return e(i).pipe(yn(this.destroy$)).subscribe(),r=>(CV(r)?r:Fe(r)).pipe(yn(this.destroy$)).subscribe(s=>{i.next(s)})}checkProviderForHooks(){S1.schedule(()=>{})}assertStateIsInitialized(){if(!this.isInitialized)throw new Error(`${this.constructor.name} has not been initialized yet. Please make sure it is initialized before updating/getting.`)}}return n.\u0275fac=function(e){return new(e||n)(F(sve,8))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();class tc extends SE{constructor(t){super({prompt:"",content:"",acceptContent:!1,deleteContent:!1,status:"close"}),this.dotAiService=t,this.prompt$=this.select(e=>e.prompt),this.content$=this.select(e=>e.content),this.deleteContent$=this.select(e=>e.deleteContent),this.status$=this.select(e=>e.status),this.vm$=this.select(e=>e),this.setStatus=this.updater((e,i)=>({...e,status:i})),this.setAcceptContent=this.updater((e,i)=>({...e,acceptContent:i})),this.setDeleteContent=this.updater((e,i)=>({...e,deleteContent:i})),this.generateContent=this.effect(e=>e.pipe(li(i=>(this.patchState({status:"loading",prompt:i}),this.dotAiService.generateContent(i).pipe(pn(r=>this.patchState({status:"loaded",content:r})),zi(()=>(this.patchState({status:"loaded",content:""}),Fe(null)))))))),this.reGenerateContent=this.effect(e=>e.pipe(af(this.state$),pn(([i,{prompt:r}])=>this.generateContent(Fe(r)))))}}tc.\u0275fac=function(t){return new(t||tc)(F(Zl))},tc.\u0275prov=H({token:tc,factory:tc.\u0275fac,providedIn:"root"});const dve=["input"];function hve(n,t){1&n&&(it(0),_e(1,"span",7),rt())}function fve(n,t){1&n&&_e(0,"button",8)}function pve(n,t){if(1&n){const e=Ne();it(0),S(1,"form",1),se("ngSubmit",function(){return ee(e),te(C().onSubmit())}),S(2,"span",2)(3,"input",3,4),se("keyup.escape",function(r){return ee(e),te(C().handleScape(r))})("keydown.escape",function(r){return r.stopPropagation()}),Xn(5,"dm"),E(),D(6,hve,2,0,"ng-container",5),D(7,fve,1,0,"ng-template",null,6,Mn),E()(),rt()}if(2&n){const e=t.ngIf,i=Bt(8),r=C();b(1),_("formGroup",r.form),b(2),Sa("placeholder",ei(5,5,"block-editor.extension.ai-content.ask-ai-to-write-something")),bt("disabled","loading"===e.status||null),b(3),_("ngIf","loading"===e.status)("ngIfElse",i)}}class Pg{constructor(t){this.aiContentPromptStore=t,this.vm$=this.aiContentPromptStore.vm$,this.destroy$=new ue,this.form=new Gd({textPrompt:new qd("",Hd.required)})}ngOnInit(){this.aiContentPromptStore.status$.pipe(yn(this.destroy$),Tn(t=>"open"===t)).subscribe(()=>{this.form.reset(),this.input.nativeElement.focus()})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}onSubmit(){const t=this.form.value.textPrompt;t&&this.aiContentPromptStore.generateContent(t)}handleScape(t){this.aiContentPromptStore.setStatus("exit"),t.stopPropagation()}}function z0(n){return t=>t.lift(new mve(n))}Pg.\u0275fac=function(t){return new(t||Pg)(I(tc))},Pg.\u0275cmp=we({type:Pg,selectors:[["dot-ai-content-prompt"]],viewQuery:function(t,e){if(1&t&&Mt(dve,5),2&t){let i;Ve(i=Be())&&(e.input=i.first)}},decls:2,vars:3,consts:[[4,"ngIf"],["id","ai-text-prompt","autocomplete","off",3,"formGroup","ngSubmit"],[1,"p-input-icon-right"],["autofocus","","formControlName","textPrompt","pInputText","","type","text",3,"placeholder","keyup.escape","keydown.escape"],["input",""],[4,"ngIf","ngIfElse"],["submitButton",""],[1,"pi","pi-spin","pi-spinner"],["icon","pi pi-send","pButton","","type","submit",1,"p-button-rounded","p-button-text"]],template:function(t,e){1&t&&(D(0,pve,9,7,"ng-container",0),Xn(1,"async")),2&t&&_("ngIf",ei(1,1,e.vm$))},dependencies:[$t,Kd,pl,Lc,$d,Aa,Rc,bo,Sg,P_,Xs],styles:["form[_ngcontent-%COMP%]{margin:0 1rem}form[_ngcontent-%COMP%] .p-input-icon-right[_ngcontent-%COMP%]{width:100%;position:relative}form[_ngcontent-%COMP%] .p-input-icon-right[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%}form[_ngcontent-%COMP%] .p-input-icon-right[_ngcontent-%COMP%] button[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .p-input-icon-right[_ngcontent-%COMP%] .pi-spinner[_ngcontent-%COMP%]{position:absolute;right:0;top:0;bottom:0;margin:auto 0;background:none}form[_ngcontent-%COMP%] .p-input-icon-right[_ngcontent-%COMP%] .pi-spinner[_ngcontent-%COMP%]{margin-right:.5rem;color:var(--color-palette-primary-500)}"],changeDetection:0});class mve{constructor(t){this.total=t}call(t,e){return e.subscribe(new gve(t,this.total))}}class gve extends re{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}const yve={duration:[500,0],interactive:!0,maxWidth:"100%",trigger:"manual",hideOnClick:!1,placement:"bottom-start",popperOptions:{modifiers:[{name:"flip",enabled:!1},{name:"preventOverflow",options:{altAxis:!0}}]}};class _ve{constructor(t){this.destroy$=new ue,this.boundClickHandler=this.handleClick.bind(this);const{editor:e,element:i,view:r,tippyOptions:o={},pluginKey:s,component:a}=t;this.editor=e,this.element=i,this.view=r,this.tippyOptions=o,this.element.remove(),this.pluginKey=s,this.component=a,this.componentStore=this.component.injector.get(tc),this.componentStore.content$.pipe(yn(this.destroy$),Tn(l=>!!l)).subscribe(l=>{this.editor.chain().closeAIPrompt().insertAINode(l).openAIContentActions(Lg).run()}),this.componentStore.vm$.pipe(yn(this.destroy$),pn(l=>this.storeSate=l),Tn(l=>l.acceptContent)).subscribe(l=>{const c=eE(this.editor,Ti.AI_CONTENT);((n,t,e)=>{const{node:i,from:r,to:o}=t;i&&n.chain().deleteRange({from:r,to:o}).insertContentAt(r,e).run()})(this.editor,c,l.content),this.componentStore.setAcceptContent(!1)}),this.componentStore.status$.pipe(z0(1),yn(this.destroy$),Tn(l=>"exit"===l)).subscribe(()=>{this.tippy?.hide()}),this.componentStore.deleteContent$.pipe(z0(1),yn(this.destroy$),Tn(l=>l)).subscribe(()=>{const l=eE(this.editor,Ti.AI_CONTENT);l&&this.editor.commands.deleteRange({from:l.from,to:l.to}),this.componentStore.setDeleteContent(!1)})}update(t,e){const i=this.pluginKey?.getState(t.state),r=e?this.pluginKey?.getState(e):{open:!1};i?.open!==r?.open?i.open?this.show():this.hide("open"===this.storeSate.status||"loaded"===this.storeSate.status):this.tippy?.popperInstance?.forceUpdate()}createTooltip(){const{element:t}=this.editor.options;if(!t.parentElement)return;const{selection:i}=this.editor.state;if(i instanceof at){const{pos:r}=i.$cursor,s=this.editor.view.domAtPos(r).node;this.tippy=gs(t,{...yve,...this.tippyOptions,content:this.element,getReferenceClientRect:s.getBoundingClientRect.bind(s),onHide:()=>{this.editor.commands.closeAIPrompt()},onShow:a=>{const l=a.popper;l.style.width="100%",setTimeout(()=>{l.style.marginTop="-40px"},0)}})}}show(){this.createTooltip(),this.manageClickListener(!0),this.editor.setEditable(!1),this.tippy?.show(),this.componentStore.setStatus("open")}hide(t=!0){this.editor.setEditable(!0),this.editor.view.focus(),t&&this.componentStore.setStatus("close"),this.manageClickListener(!1)}destroy(){this.tippy?.destroy(),this.destroy$.next(!0),this.destroy$.complete(),this.manageClickListener(!1)}handleClick(){("open"===this.storeSate.status||"loaded"===this.storeSate.status)&&this.tippy.hide()}manageClickListener(t){t?this.editor.view.dom.addEventListener("click",this.boundClickHandler):this.editor.view.dom.removeEventListener("click",this.boundClickHandler)}}const vve=n=>new Kt({key:n.pluginKey,view:t=>new _ve({view:t,...n}),state:{init:()=>({open:!1}),apply(t,e,i){const{open:r}=t.getMeta(Rg)||{},o=Rg.getState(i);return"boolean"==typeof r?{open:r}:o||e}}}),Lg="dotAITextContent",Rg=new an(Lg),bve=n=>Sn.create({name:"aiContentPrompt",addOptions:()=>({element:null,tippyOptions:{},pluginKey:Rg}),addCommands:()=>({openAIPrompt:()=>({chain:t})=>t().command(({tr:e})=>(e.setMeta(Rg,{open:!0}),!0)).freezeScroll(!0).run(),closeAIPrompt:()=>({chain:t})=>t().command(({tr:e})=>(e.setMeta(Rg,{open:!1}),!0)).freezeScroll(!1).run()}),addProseMirrorPlugins(){const t=n.createComponent(Pg);return t.changeDetectorRef.detectChanges(),[vve({pluginKey:this.options.pluginKey,editor:this.editor,element:t.location.nativeElement,tippyOptions:this.options.tippyOptions,component:t})]}});function Cve(n,t){if(1&n&&(S(0,"div",2),_e(1,"i"),Se(2),E()),2&n){const e=t.$implicit;b(1),Ut(e.icon),b(1),bi(" ",e.label," ")}}var Ka=(()=>(function(n){n.ACCEPT="ACCEPT",n.DELETE="DELETE",n.REGENERATE="REGENERATE"}(Ka||(Ka={})),Ka))();class Fg{constructor(){this.actionEmitter=new Q,this.tooltipContent="Describe the size, color palette, style, mood, etc.",this.dotMessageService=st(To)}ngOnInit(){this.actionOptions=[{label:this.dotMessageService.get("block-editor.common.accept"),icon:"pi pi-check",callback:()=>this.emitAction(Ka.ACCEPT),selectedOption:!0},{label:this.dotMessageService.get("block-editor.common.regenerate"),icon:"pi pi-sync",callback:()=>this.emitAction(Ka.REGENERATE),selectedOption:!1},{label:this.dotMessageService.get("block-editor.common.delete"),icon:"pi pi-trash",callback:()=>this.emitAction(Ka.DELETE),selectedOption:!1}]}emitAction(t){this.actionEmitter.emit(t)}}Fg.\u0275fac=function(t){return new(t||Fg)},Fg.\u0275cmp=we({type:Fg,selectors:[["dot-ai-content-actions"]],outputs:{actionEmitter:"actionEmitter"},decls:2,vars:1,consts:[[3,"options","onClick"],["pTemplate","item"],[1,"action-content"]],template:function(t,e){1&t&&(S(0,"p-listbox",0),se("onClick",function(r){return r.value.callback()}),D(1,Cve,3,3,"ng-template",1),E()),2&t&&_("options",e.actionOptions)},dependencies:[Pi,ZL],styles:["[_nghost-%COMP%] .p-listbox{display:block;width:12.5rem;padding:.5rem;margin-left:4rem}[_nghost-%COMP%] .p-listbox li{padding:.75rem 1rem}[_nghost-%COMP%] .p-listbox li:first-child{background-color:var(--color-palette-primary-200)}[_nghost-%COMP%] .p-listbox li:nth-child(2){padding:1rem;background-color:#fff}[_nghost-%COMP%] .p-listbox li:last-child{border-top:1px solid #ebecef;background-color:#fff}[_nghost-%COMP%] .p-listbox li:hover{background-color:var(--color-palette-primary-100)}.action-content[_ngcontent-%COMP%]{display:flex;align-items:center;color:#14151a}.action-content[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:.25rem;color:#8d92a5}"],changeDetection:0});let wve=(()=>{class n{constructor(e){this.el=e}onkeydown(e){if(!0!==this.pFocusTrapDisabled){e.preventDefault();const i=q.getNextFocusableElement(this.el.nativeElement,e.shiftKey);i&&(i.focus(),i.select?.())}}}return n.\u0275fac=function(e){return new(e||n)(I(Dt))},n.\u0275dir=Ce({type:n,selectors:[["","pFocusTrap",""]],hostAttrs:[1,"p-element"],hostBindings:function(e,i){1&e&&se("keydown.tab",function(o){return i.onkeydown(o)})("keydown.shift.tab",function(o){return i.onkeydown(o)})},inputs:{pFocusTrapDisabled:"pFocusTrapDisabled"}}),n})(),Tve=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})();const Dve=["titlebar"],Mve=["content"],Sve=["footer"];function Eve(n,t){if(1&n){const e=Ne();S(0,"div",11),se("mousedown",function(r){return ee(e),te(C(3).initResize(r))}),E()}}function xve(n,t){if(1&n&&(S(0,"span",18),Se(1),E()),2&n){const e=C(4);bt("id",e.id+"-label"),b(1),Ct(e.header)}}function Ive(n,t){1&n&&(S(0,"span",18),Ii(1,1),E()),2&n&&bt("id",C(4).id+"-label")}function Ove(n,t){1&n&&Je(0)}const Ave=function(){return{"p-dialog-header-icon p-dialog-header-maximize p-link":!0}};function kve(n,t){if(1&n){const e=Ne();S(0,"button",19),se("click",function(){return ee(e),te(C(4).maximize())})("keydown.enter",function(){return ee(e),te(C(4).maximize())}),_e(1,"span",20),E()}if(2&n){const e=C(4);_("ngClass",cr(2,Ave)),b(1),_("ngClass",e.maximized?e.minimizeIcon:e.maximizeIcon)}}const Nve=function(){return{"p-dialog-header-icon p-dialog-header-close p-link":!0}};function Pve(n,t){if(1&n){const e=Ne();S(0,"button",21),se("click",function(r){return ee(e),te(C(4).close(r))})("keydown.enter",function(r){return ee(e),te(C(4).close(r))}),_e(1,"span",22),E()}if(2&n){const e=C(4);_("ngClass",cr(4,Nve)),bt("aria-label",e.closeAriaLabel)("tabindex",e.closeTabindex),b(1),_("ngClass",e.closeIcon)}}function Lve(n,t){if(1&n){const e=Ne();S(0,"div",12,13),se("mousedown",function(r){return ee(e),te(C(3).initDrag(r))}),D(2,xve,2,2,"span",14),D(3,Ive,2,1,"span",14),D(4,Ove,1,0,"ng-container",9),S(5,"div",15),D(6,kve,2,3,"button",16),D(7,Pve,2,5,"button",17),E()()}if(2&n){const e=C(3);b(2),_("ngIf",!e.headerFacet&&!e.headerTemplate),b(1),_("ngIf",e.headerFacet),b(1),_("ngTemplateOutlet",e.headerTemplate),b(2),_("ngIf",e.maximizable),b(1),_("ngIf",e.closable)}}function Rve(n,t){1&n&&Je(0)}function Fve(n,t){1&n&&Je(0)}function jve(n,t){if(1&n&&(S(0,"div",23,24),Ii(2,2),D(3,Fve,1,0,"ng-container",9),E()),2&n){const e=C(3);b(3),_("ngTemplateOutlet",e.footerTemplate)}}const zve=function(n,t,e,i){return{"p-dialog p-component":!0,"p-dialog-rtl":n,"p-dialog-draggable":t,"p-dialog-resizable":e,"p-dialog-maximized":i}},Vve=function(n,t){return{transform:n,transition:t}},Bve=function(n){return{value:"visible",params:n}};function Uve(n,t){if(1&n){const e=Ne();S(0,"div",3,4),se("@animation.start",function(r){return ee(e),te(C(2).onAnimationStart(r))})("@animation.done",function(r){return ee(e),te(C(2).onAnimationEnd(r))}),D(2,Eve,1,0,"div",5),D(3,Lve,8,5,"div",6),S(4,"div",7,8),Ii(6),D(7,Rve,1,0,"ng-container",9),E(),D(8,jve,4,1,"div",10),E()}if(2&n){const e=C(2);Ut(e.styleClass),_("ngClass",jd(15,zve,e.rtl,e.draggable,e.resizable,e.maximized))("ngStyle",e.style)("pFocusTrapDisabled",!1===e.focusTrap)("@animation",tt(23,Bve,Fn(20,Vve,e.transformOptions,e.transitionOptions))),bt("aria-labelledby",e.id+"-label"),b(2),_("ngIf",e.resizable),b(1),_("ngIf",e.showHeader),b(1),Ut(e.contentStyleClass),_("ngClass","p-dialog-content")("ngStyle",e.contentStyle),b(3),_("ngTemplateOutlet",e.contentTemplate),b(1),_("ngIf",e.footerFacet||e.footerTemplate)}}const Hve=function(n,t,e,i,r,o,s,a,l,c){return{"p-dialog-mask":!0,"p-component-overlay p-component-overlay-enter":n,"p-dialog-mask-scrollblocker":t,"p-dialog-left":e,"p-dialog-right":i,"p-dialog-top":r,"p-dialog-top-left":o,"p-dialog-top-right":s,"p-dialog-bottom":a,"p-dialog-bottom-left":l,"p-dialog-bottom-right":c}};function $ve(n,t){if(1&n&&(S(0,"div",1),D(1,Uve,9,25,"div",2),E()),2&n){const e=C();Ut(e.maskStyleClass),_("ngClass",wT(4,Hve,[e.modal,e.modal||e.blockScroll,"left"===e.position,"right"===e.position,"top"===e.position,"topleft"===e.position||"top-left"===e.position,"topright"===e.position||"top-right"===e.position,"bottom"===e.position,"bottomleft"===e.position||"bottom-left"===e.position,"bottomright"===e.position||"bottom-right"===e.position])),b(1),_("ngIf",e.visible)}}const Wve=["*",[["p-header"]],[["p-footer"]]],Gve=["*","p-header","p-footer"],Yve=cv([mi({transform:"{{transform}}",opacity:0}),Na("{{transition}}")]),qve=cv([Na("{{transition}}",mi({transform:"{{transform}}",opacity:0}))]);let Kve=(()=>{class n{constructor(e,i,r,o,s){this.el=e,this.renderer=i,this.zone=r,this.cd=o,this.config=s,this.draggable=!0,this.resizable=!0,this.closeOnEscape=!0,this.closable=!0,this.showHeader=!0,this.blockScroll=!1,this.autoZIndex=!0,this.baseZIndex=0,this.minX=0,this.minY=0,this.focusOnShow=!0,this.keepInViewport=!0,this.focusTrap=!0,this.transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)",this.closeIcon="pi pi-times",this.closeTabindex="-1",this.minimizeIcon="pi pi-window-minimize",this.maximizeIcon="pi pi-window-maximize",this.onShow=new Q,this.onHide=new Q,this.visibleChange=new Q,this.onResizeInit=new Q,this.onResizeEnd=new Q,this.onDragEnd=new Q,this.onMaximize=new Q,this.id=C1(),this._style={},this._position="center",this.transformOptions="scale(0.7)"}get positionLeft(){return 0}set positionLeft(e){console.log("positionLeft property is deprecated.")}get positionTop(){return 0}set positionTop(e){console.log("positionTop property is deprecated.")}get responsive(){return!1}set responsive(e){console.log("Responsive property is deprecated.")}get breakpoint(){return 649}set breakpoint(e){console.log("Breakpoint property is not utilized and deprecated, use breakpoints or CSS media queries instead.")}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"header":this.headerTemplate=e.template;break;case"content":default:this.contentTemplate=e.template;break;case"footer":this.footerTemplate=e.template}})}ngOnInit(){this.breakpoints&&this.createStyle()}get visible(){return this._visible}set visible(e){this._visible=e,this._visible&&!this.maskVisible&&(this.maskVisible=!0)}get style(){return this._style}set style(e){e&&(this._style={...e},this.originalStyle=e)}get position(){return this._position}set position(e){switch(this._position=e,e){case"topleft":case"bottomleft":case"left":this.transformOptions="translate3d(-100%, 0px, 0px)";break;case"topright":case"bottomright":case"right":this.transformOptions="translate3d(100%, 0px, 0px)";break;case"bottom":this.transformOptions="translate3d(0px, 100%, 0px)";break;case"top":this.transformOptions="translate3d(0px, -100%, 0px)";break;default:this.transformOptions="scale(0.7)"}}focus(){let e=q.findSingle(this.container,"[autofocus]");e&&this.zone.runOutsideAngular(()=>{setTimeout(()=>e.focus(),5)})}close(e){this.visibleChange.emit(!1),e.preventDefault()}enableModality(){this.closable&&this.dismissableMask&&(this.maskClickListener=this.renderer.listen(this.wrapper,"mousedown",e=>{this.wrapper&&this.wrapper.isSameNode(e.target)&&this.close(e)})),this.modal&&q.addClass(document.body,"p-overflow-hidden")}disableModality(){this.wrapper&&(this.dismissableMask&&this.unbindMaskClickListener(),this.modal&&q.removeClass(document.body,"p-overflow-hidden"),this.cd.destroyed||this.cd.detectChanges())}maximize(){this.maximized=!this.maximized,!this.modal&&!this.blockScroll&&(this.maximized?q.addClass(document.body,"p-overflow-hidden"):q.removeClass(document.body,"p-overflow-hidden")),this.onMaximize.emit({maximized:this.maximized})}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}moveOnTop(){this.autoZIndex&&(vl.set("modal",this.container,this.baseZIndex+this.config.zIndex.modal),this.wrapper.style.zIndex=String(parseInt(this.container.style.zIndex,10)-1))}createStyle(){if(!this.styleElement){this.styleElement=document.createElement("style"),this.styleElement.type="text/css",document.head.appendChild(this.styleElement);let e="";for(let i in this.breakpoints)e+=`\n @media screen and (max-width: ${i}) {\n .p-dialog[${this.id}] {\n width: ${this.breakpoints[i]} !important;\n }\n }\n `;this.styleElement.innerHTML=e}}initDrag(e){q.hasClass(e.target,"p-dialog-header-icon")||q.hasClass(e.target.parentElement,"p-dialog-header-icon")||this.draggable&&(this.dragging=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,this.container.style.margin="0",q.addClass(document.body,"p-unselectable-text"))}onKeydown(e){if(this.focusTrap&&9===e.which){e.preventDefault();let i=q.getFocusableElements(this.container);if(i&&i.length>0)if(i[0].ownerDocument.activeElement){let r=i.indexOf(i[0].ownerDocument.activeElement);e.shiftKey?-1==r||0===r?i[i.length-1].focus():i[r-1].focus():-1==r||r===i.length-1?i[0].focus():i[r+1].focus()}else i[0].focus()}}onDrag(e){if(this.dragging){let i=q.getOuterWidth(this.container),r=q.getOuterHeight(this.container),o=e.pageX-this.lastPageX,s=e.pageY-this.lastPageY,a=this.container.getBoundingClientRect(),l=a.left+o,c=a.top+s,u=q.getViewport();this.container.style.position="fixed",this.keepInViewport?(l>=this.minX&&l+i=this.minY&&c+rparseInt(u))&&h.left+lparseInt(d))&&h.top+c{this.documentDragListener=this.onDrag.bind(this),window.document.addEventListener("mousemove",this.documentDragListener)})}unbindDocumentDragListener(){this.documentDragListener&&(window.document.removeEventListener("mousemove",this.documentDragListener),this.documentDragListener=null)}bindDocumentDragEndListener(){this.zone.runOutsideAngular(()=>{this.documentDragEndListener=this.endDrag.bind(this),window.document.addEventListener("mouseup",this.documentDragEndListener)})}unbindDocumentDragEndListener(){this.documentDragEndListener&&(window.document.removeEventListener("mouseup",this.documentDragEndListener),this.documentDragEndListener=null)}bindDocumentResizeListeners(){this.zone.runOutsideAngular(()=>{this.documentResizeListener=this.onResize.bind(this),this.documentResizeEndListener=this.resizeEnd.bind(this),window.document.addEventListener("mousemove",this.documentResizeListener),window.document.addEventListener("mouseup",this.documentResizeEndListener)})}unbindDocumentResizeListeners(){this.documentResizeListener&&this.documentResizeEndListener&&(window.document.removeEventListener("mousemove",this.documentResizeListener),window.document.removeEventListener("mouseup",this.documentResizeEndListener),this.documentResizeListener=null,this.documentResizeEndListener=null)}bindDocumentEscapeListener(){this.documentEscapeListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:"document","keydown",i=>{27==i.which&&this.close(i)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}appendContainer(){this.appendTo&&("body"===this.appendTo?document.body.appendChild(this.wrapper):q.appendChild(this.wrapper,this.appendTo))}restoreAppend(){this.container&&this.appendTo&&this.el.nativeElement.appendChild(this.wrapper)}onAnimationStart(e){switch(e.toState){case"visible":this.container=e.element,this.wrapper=this.container.parentElement,this.appendContainer(),this.moveOnTop(),this.bindGlobalListeners(),this.container.setAttribute(this.id,""),this.modal&&this.enableModality(),!this.modal&&this.blockScroll&&q.addClass(document.body,"p-overflow-hidden"),this.focusOnShow&&this.focus();break;case"void":this.wrapper&&this.modal&&q.addClass(this.wrapper,"p-component-overlay-leave")}}onAnimationEnd(e){switch(e.toState){case"void":this.onContainerDestroy(),this.onHide.emit({}),this.cd.markForCheck();break;case"visible":this.onShow.emit({})}}onContainerDestroy(){this.unbindGlobalListeners(),this.dragging=!1,this.maskVisible=!1,this.maximized&&(q.removeClass(document.body,"p-overflow-hidden"),this.maximized=!1),this.modal&&this.disableModality(),this.blockScroll&&q.removeClass(document.body,"p-overflow-hidden"),this.container&&this.autoZIndex&&vl.clear(this.container),this.container=null,this.wrapper=null,this._style=this.originalStyle?{...this.originalStyle}:{}}destroyStyle(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)}ngOnDestroy(){this.container&&(this.restoreAppend(),this.onContainerDestroy()),this.destroyStyle()}}return n.\u0275fac=function(e){return new(e||n)(I(Dt),I(ar),I(Yt),I(In),I(bl))},n.\u0275cmp=we({type:n,selectors:[["p-dialog"]],contentQueries:function(e,i,r){if(1&e&&(Yn(r,w1,5),Yn(r,T1,5),Yn(r,Pi,4)),2&e){let o;Ve(o=Be())&&(i.headerFacet=o.first),Ve(o=Be())&&(i.footerFacet=o.first),Ve(o=Be())&&(i.templates=o)}},viewQuery:function(e,i){if(1&e&&(Mt(Dve,5),Mt(Mve,5),Mt(Sve,5)),2&e){let r;Ve(r=Be())&&(i.headerViewChild=r.first),Ve(r=Be())&&(i.contentViewChild=r.first),Ve(r=Be())&&(i.footerViewChild=r.first)}},hostAttrs:[1,"p-element"],inputs:{header:"header",draggable:"draggable",resizable:"resizable",positionLeft:"positionLeft",positionTop:"positionTop",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",modal:"modal",closeOnEscape:"closeOnEscape",dismissableMask:"dismissableMask",rtl:"rtl",closable:"closable",responsive:"responsive",appendTo:"appendTo",breakpoints:"breakpoints",styleClass:"styleClass",maskStyleClass:"maskStyleClass",showHeader:"showHeader",breakpoint:"breakpoint",blockScroll:"blockScroll",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",minX:"minX",minY:"minY",focusOnShow:"focusOnShow",maximizable:"maximizable",keepInViewport:"keepInViewport",focusTrap:"focusTrap",transitionOptions:"transitionOptions",closeIcon:"closeIcon",closeAriaLabel:"closeAriaLabel",closeTabindex:"closeTabindex",minimizeIcon:"minimizeIcon",maximizeIcon:"maximizeIcon",visible:"visible",style:"style",position:"position"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange",onResizeInit:"onResizeInit",onResizeEnd:"onResizeEnd",onDragEnd:"onDragEnd",onMaximize:"onMaximize"},ngContentSelectors:Gve,decls:1,vars:1,consts:[[3,"class","ngClass",4,"ngIf"],[3,"ngClass"],["pFocusTrap","","role","dialog",3,"ngClass","ngStyle","class","pFocusTrapDisabled",4,"ngIf"],["pFocusTrap","","role","dialog",3,"ngClass","ngStyle","pFocusTrapDisabled"],["container",""],["class","p-resizable-handle","style","z-index: 90;",3,"mousedown",4,"ngIf"],["class","p-dialog-header",3,"mousedown",4,"ngIf"],[3,"ngClass","ngStyle"],["content",""],[4,"ngTemplateOutlet"],["class","p-dialog-footer",4,"ngIf"],[1,"p-resizable-handle",2,"z-index","90",3,"mousedown"],[1,"p-dialog-header",3,"mousedown"],["titlebar",""],["class","p-dialog-title",4,"ngIf"],[1,"p-dialog-header-icons"],["type","button","tabindex","-1","pRipple","",3,"ngClass","click","keydown.enter",4,"ngIf"],["type","button","pRipple","",3,"ngClass","click","keydown.enter",4,"ngIf"],[1,"p-dialog-title"],["type","button","tabindex","-1","pRipple","",3,"ngClass","click","keydown.enter"],[1,"p-dialog-header-maximize-icon",3,"ngClass"],["type","button","pRipple","",3,"ngClass","click","keydown.enter"],[1,"p-dialog-header-close-icon",3,"ngClass"],[1,"p-dialog-footer"],["footer",""]],template:function(e,i){1&e&&($r(Wve),D(0,$ve,2,15,"div",0)),2&e&&_("ngIf",i.maskVisible)},dependencies:[qn,$t,qr,ki,wve,wl],styles:[".p-dialog-mask{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;pointer-events:none}.p-dialog-mask.p-component-overlay{pointer-events:auto}.p-dialog{display:flex;flex-direction:column;pointer-events:auto;max-height:90%;transform:scale(1);position:relative}.p-dialog-content{overflow-y:auto;flex-grow:1}.p-dialog-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.p-dialog-draggable .p-dialog-header{cursor:move}.p-dialog-footer{flex-shrink:0}.p-dialog .p-dialog-header-icons{display:flex;align-items:center}.p-dialog .p-dialog-header-icon{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-fluid .p-dialog-footer .p-button{width:auto}.p-dialog-top .p-dialog,.p-dialog-bottom .p-dialog,.p-dialog-left .p-dialog,.p-dialog-right .p-dialog,.p-dialog-top-left .p-dialog,.p-dialog-top-right .p-dialog,.p-dialog-bottom-left .p-dialog,.p-dialog-bottom-right .p-dialog{margin:.75rem;transform:translateZ(0)}.p-dialog-maximized{transition:none;transform:none;width:100vw!important;height:100vh!important;top:0!important;left:0!important;max-height:100%;height:100%}.p-dialog-maximized .p-dialog-content{flex-grow:1}.p-dialog-left{justify-content:flex-start}.p-dialog-right{justify-content:flex-end}.p-dialog-top{align-items:flex-start}.p-dialog-top-left{justify-content:flex-start;align-items:flex-start}.p-dialog-top-right{justify-content:flex-end;align-items:flex-start}.p-dialog-bottom{align-items:flex-end}.p-dialog-bottom-left{justify-content:flex-start;align-items:flex-end}.p-dialog-bottom-right{justify-content:flex-end;align-items:flex-end}.p-dialog .p-resizable-handle{position:absolute;font-size:.1px;display:block;cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.p-confirm-dialog .p-dialog-content{display:flex;align-items:center}\n"],encapsulation:2,data:{animation:[xp("animation",[Pa("void => visible",[uv(Yve)]),Pa("visible => void",[uv(qve)])])]},changeDetection:0}),n})(),Qve=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn,Tve,Ra,zo]}),n})(),tbe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn,Ra,zo,zo]}),n})();const ibe={selectedPromptType:null,showDialog:!1,status:Va.INIT,contentlets:[],prompt:null,editorContent:null,error:null};class Qa extends SE{constructor(t){super(ibe),this.dotAiService=t,this.isOpenDialog$=this.select(this.state$,({showDialog:e})=>e),this.isLoading$=this.select(this.state$,({status:e})=>e===Va.LOADING),this.getContentlets$=this.select(this.state$,({contentlets:e})=>e),this.setPromptType=this.updater((e,i)=>({...e,selectedPromptType:i})),this.showDialog=this.updater((e,i)=>({...e,showDialog:!0,selectedPromptType:"input",editorContent:i})),this.hideDialog=this.updater(e=>({...e,showDialog:!1,selectedPromptType:null})),this.vm$=this.select(this.state$,({selectedPromptType:e,showDialog:i,status:r})=>({selectedPromptType:e,showDialog:i,status:r})),this.generateImage=this.effect(e=>e.pipe(af(this.state$),li(([i,{selectedPromptType:r,editorContent:o}])=>{const s=i?.trim()??"",a="auto"===r&&o?`${s} to illustrate the following content: ${o}`:s;return this.patchState({status:Va.LOADING,prompt:a}),this.dotAiService.generateAndPublishImage(a).pipe(function uve(n,t,e){return i=>i.pipe(pn({next:n,complete:e}),zi(r=>(t(r),Ls)))}(l=>{this.patchState({status:Va.IDLE,contentlets:l})},()=>{this.patchState({status:Va.IDLE})}))}))),this.reGenerateContent=this.effect(e=>e.pipe(af(this.state$),pn(([i,{prompt:r}])=>r?this.generateImage(Fe(r)):Ls)))}}Qa.\u0275fac=function(t){return new(t||Qa)(F(Zl))},Qa.\u0275prov=H({token:Qa,factory:Qa.\u0275fac,providedIn:"root"});let rbe=(()=>{class n{constructor(e,i,r,o){this.el=e,this.ngModel=i,this.control=r,this.cd=o,this.onResize=new Q}ngOnInit(){this.ngModel&&(this.ngModelSubscription=this.ngModel.valueChanges.subscribe(()=>{this.updateState()})),this.control&&(this.ngControlSubscription=this.control.valueChanges.subscribe(()=>{this.updateState()}))}ngAfterViewInit(){this.autoResize&&this.resize(),this.updateFilledState(),this.cd.detectChanges()}onInput(e){this.updateState()}updateFilledState(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length}onFocus(e){this.autoResize&&this.resize(e)}onBlur(e){this.autoResize&&this.resize(e)}resize(e){this.el.nativeElement.style.height="auto",this.el.nativeElement.style.height=this.el.nativeElement.scrollHeight+"px",parseFloat(this.el.nativeElement.style.height)>=parseFloat(this.el.nativeElement.style.maxHeight)?(this.el.nativeElement.style.overflowY="scroll",this.el.nativeElement.style.height=this.el.nativeElement.style.maxHeight):this.el.nativeElement.style.overflow="hidden",this.onResize.emit(e||{})}updateState(){this.updateFilledState(),this.autoResize&&this.resize()}ngOnDestroy(){this.ngModelSubscription&&this.ngModelSubscription.unsubscribe(),this.ngControlSubscription&&this.ngControlSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(I(Dt),I(Ep,8),I(Rs,8),I(In))},n.\u0275dir=Ce({type:n,selectors:[["","pInputTextarea",""]],hostAttrs:[1,"p-inputtextarea","p-inputtext","p-component","p-element"],hostVars:4,hostBindings:function(e,i){1&e&&se("input",function(o){return i.onInput(o)})("focus",function(o){return i.onFocus(o)})("blur",function(o){return i.onBlur(o)}),2&e&&Wr("p-filled",i.filled)("p-inputtextarea-resizable",i.autoResize)},inputs:{autoResize:"autoResize"},outputs:{onResize:"onResize"}}),n})(),obe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})();function sbe(n,t){1&n&&(it(0),S(1,"div",4),KC(),S(2,"svg",5),_e(3,"path",6)(4,"path",7)(5,"path",8)(6,"path",9),E()(),QC(),S(7,"div",10)(8,"p",11),Se(9),Xn(10,"dm"),_e(11,"i",12),Xn(12,"dm"),E()(),rt()),2&n&&(b(9),bi(" ",ei(10,2,"block-editor.extension.ai-image.input-text.title")," "),b(2),Sa("pTooltip",ei(12,4,"block-editor.extension.ai-image.input-text.tooltip")))}function abe(n,t){if(1&n){const e=Ne();S(0,"form",13)(1,"div",14),_e(2,"textarea",15),E(),_e(3,"dot-field-validation-message",16),Xn(4,"dm"),S(5,"button",17),se("click",function(){return ee(e),te(C().generateImage())}),Xn(6,"dm"),E()()}if(2&n){const e=C();_("formGroup",e.form),b(2),_("placeholder",e.placeholder),b(1),a_("message"," ",ei(4,6,"block-editor.common.input-prompt-required-error"),""),_("field",e.promptControl),b(2),Sa("label",ei(6,8,"block-editor.common.generate")),_("loading",e.isLoading)}}function lbe(n,t){1&n&&(S(0,"div",4),KC(),S(1,"svg",18),_e(2,"path",19)(3,"path",20)(4,"path",21),E()(),QC(),S(5,"div",10)(6,"p",11),Se(7),Xn(8,"dm"),_e(9,"i",12),Xn(10,"dm"),E()()),2&n&&(b(7),bi(" ",ei(8,2,"block-editor.extension.ai-image.auto-text.title")," "),b(2),Sa("pTooltip",ei(10,4,"block-editor.extension.ai-image.auto-text.tooltip")))}class jg{constructor(){this.isSelected=!1,this.promptChanged=new Q,this.form=st(av).group({prompt:["",Hd.required]})}set selected(t){this.isSelected=t,this.resetForm()}get promptControl(){return this.form.get("prompt")}generateImage(){this.form.valid&&(this.promptChanged.emit(this.promptControl.value),this.disableForm())}ngOnChanges(t){const{type:e}=t;e&&"auto"===e.currentValue&&(this.promptControl.clearValidators(),this.form.updateValueAndValidity())}resetForm(){this.form.enable(),this.form.reset()}disableForm(){this.form.disable()}}jg.\u0275fac=function(t){return new(t||jg)},jg.\u0275cmp=we({type:jg,selectors:[["dot-ai-image-prompt-input"]],inputs:{placeholder:"placeholder",isLoading:"isLoading",type:"type",selected:"selected"},outputs:{promptChanged:"promptChanged"},standalone:!0,features:[Gi,us],decls:5,vars:5,consts:[[1,"prompt-input__wrapper","flex","flex-column","align-items-center","h-full","justify-content-center","flex-wrap"],[4,"ngIf","ngIfElse"],["class","w-full text-center",3,"formGroup",4,"ngIf"],["autoHeaderTpl",""],[1,"prompt-input__icon"],["fill","none","height","40","viewBox","0 0 40 40","width","40","xmlns","http://www.w3.org/2000/svg"],["clip-rule","evenodd","d","M5.02857 11C3.69491 11 2.41587 11.5234 1.47283 12.455C0.529794 13.3866 0 14.6502 0 15.9677V34.0323C0 35.3498 0.529794 36.6133 1.47283 37.545C2.41587 38.4766 3.69491 39 5.02857 39H26.9714C28.3051 39 29.5841 38.4766 30.5272 37.545C31.4702 36.6133 32 35.3498 32 34.0323V34L32 33.4L29.2571 30.7626L24.2834 25.849C24.1534 25.7117 23.994 25.6048 23.8169 25.5361C23.6397 25.4673 23.4493 25.4385 23.2594 25.4516C23.0674 25.4627 22.8795 25.5115 22.7068 25.5952C22.5341 25.679 22.38 25.796 22.2537 25.9394L19.8949 28.7394L11.4834 20.4297C11.3595 20.2996 11.209 20.1969 11.042 20.1284C10.8749 20.0598 10.6951 20.0271 10.5143 20.0323C10.3222 20.0433 10.1343 20.0921 9.96162 20.1759C9.78891 20.2596 9.63488 20.3766 9.50857 20.52L2.74286 28.4865V15.9677C2.74286 15.3689 2.98367 14.7945 3.41233 14.371C3.84098 13.9476 4.42236 13.7097 5.02857 13.7097H14.2194V12.3548V11H5.02857ZM2.74316 34.0326V32.7139L10.606 23.3926L18.1397 30.8352L13.5317 36.2545H5.02888C4.42895 36.2546 3.85305 36.0217 3.42543 35.606C2.99781 35.1903 2.75276 34.6252 2.74316 34.0326ZM17.0975 36.2906L23.406 28.8119L29.166 34.5023C29.0649 35.0045 28.7913 35.4568 28.3914 35.7827C27.9916 36.1086 27.4901 36.288 26.9717 36.2906H22.0346H17.0975Z","fill","#8D92A5","fill-rule","evenodd"],["d","M28.6935 19.2671L22.8007 21.0668C22.6478 21.1134 22.5136 21.2101 22.4181 21.3425C22.3227 21.4749 22.2711 21.6357 22.2711 21.8011C22.2711 21.9664 22.3227 22.1273 22.4181 22.2597C22.5136 22.392 22.6478 22.4887 22.8007 22.5353L28.6935 24.3351L30.4277 30.4505C30.4726 30.6091 30.5658 30.7484 30.6933 30.8474C30.8209 30.9465 30.9759 31 31.1352 31C31.2945 31 31.4495 30.9465 31.577 30.8474C31.7045 30.7484 31.7977 30.6091 31.8427 30.4505L33.5776 24.3351L39.4704 22.5353C39.6233 22.4887 39.7575 22.392 39.8529 22.2597C39.9484 22.1273 40 21.9664 40 21.8011C40 21.6357 39.9484 21.4749 39.8529 21.3425C39.7575 21.2101 39.6233 21.1134 39.4704 21.0668L33.5776 19.2671L31.8427 13.1517C31.7978 12.993 31.7046 12.8538 31.577 12.7547C31.4495 12.6556 31.2945 12.6021 31.1352 12.6021C30.9759 12.6021 30.8208 12.6556 30.6933 12.7547C30.5658 12.8538 30.4726 12.993 30.4277 13.1517L28.6935 19.2671Z","fill","#7042F0"],["d","M35.9026 8.29011L39.0994 7.31284C39.2522 7.26623 39.3864 7.16951 39.4819 7.03716C39.5773 6.9048 39.6289 6.74394 39.6289 6.57862C39.6289 6.41331 39.5773 6.25244 39.4819 6.12008C39.3864 5.98773 39.2522 5.89101 39.0994 5.8444L35.9026 4.8679L34.9609 1.54959C34.916 1.39096 34.8228 1.25169 34.6953 1.15262C34.5677 1.05354 34.4127 1 34.2534 1C34.0941 1 33.9391 1.05354 33.8115 1.15262C33.684 1.25169 33.5908 1.39096 33.5459 1.54959L32.6049 4.8679L29.4075 5.8444C29.2546 5.891 29.1204 5.98771 29.025 6.12006C28.9295 6.25241 28.8779 6.41329 28.8779 6.57862C28.8779 6.74395 28.9295 6.90483 29.025 7.03718C29.1204 7.16953 29.2546 7.26624 29.4075 7.31284L32.6049 8.29011L33.5459 11.6076C33.5908 11.7663 33.684 11.9056 33.8115 12.0046C33.9391 12.1037 34.0941 12.1572 34.2534 12.1572C34.4127 12.1572 34.5677 12.1037 34.6953 12.0046C34.8228 11.9056 34.916 11.7663 34.9609 11.6076L35.9026 8.29011Z","fill","#7042F0"],["d","M19.6845 9.67937L16.459 11.0447C16.3233 11.1021 16.2072 11.2002 16.1254 11.3265C16.0437 11.4527 16 11.6014 16 11.7535C16 11.9056 16.0437 12.0542 16.1254 12.1805C16.2072 12.3067 16.3233 12.4048 16.459 12.4623L19.6845 13.8276L21.0001 17.175C21.0555 17.3159 21.1501 17.4364 21.2717 17.5212C21.3934 17.606 21.5366 17.6514 21.6832 17.6514C21.8297 17.6514 21.973 17.606 22.0946 17.5212C22.2163 17.4364 22.3108 17.3159 22.3662 17.175L23.6818 13.8276L26.9067 12.4623C27.0424 12.4048 27.1585 12.3067 27.2402 12.1805C27.322 12.0542 27.3656 11.9056 27.3656 11.7535C27.3656 11.6014 27.322 11.4527 27.2402 11.3265C27.1585 11.2002 27.0424 11.1021 26.9067 11.0447L23.6818 9.67937L22.3662 6.33266C22.3108 6.19183 22.2163 6.07132 22.0946 5.98648C21.973 5.90165 21.8297 5.85635 21.6832 5.85635C21.5366 5.85635 21.3934 5.90165 21.2717 5.98648C21.1501 6.07132 21.0555 6.19183 21.0001 6.33266L19.6845 9.67937Z","fill","#7042F0"],[1,"flex","gap-1"],[1,"text-center"],["tooltipZIndex","999999",1,"pi","pi-info-circle",3,"pTooltip"],[1,"w-full","text-center",3,"formGroup"],[1,"field"],["autoResize","false","dotAutofocus","","formControlName","prompt","pInputTextarea","","rows","12",1,"w-full","h-full",3,"placeholder"],[3,"field","message"],["icon","pi pi-send","pButton","","type","submit",1,"p-button-outlined",3,"loading","label","click"],["fill","none","height","42","viewBox","0 0 34 42","width","34","xmlns","http://www.w3.org/2000/svg"],["d","M17.9594 25.5195L9.80768 28.0091C9.59623 28.0736 9.41058 28.2074 9.27852 28.3905C9.14646 28.5736 9.07509 28.7961 9.07509 29.0248C9.07509 29.2535 9.14646 29.4761 9.27852 29.6592C9.41058 29.8423 9.59623 29.9761 9.80768 30.0405L17.9594 32.5302L20.3584 40.9899C20.4205 41.2093 20.5494 41.4019 20.7259 41.5389C20.9023 41.6759 21.1167 41.75 21.3371 41.75C21.5574 41.75 21.7719 41.6759 21.9483 41.5389C22.1247 41.4019 22.2536 41.2093 22.3158 40.9899L24.7158 32.5302L32.8675 30.0405C33.079 29.9761 33.2646 29.8423 33.3967 29.6592C33.5287 29.4761 33.6001 29.2535 33.6001 29.0248C33.6001 28.7961 33.5287 28.5736 33.3967 28.3905C33.2646 28.2074 33.079 28.0736 32.8675 28.0091L24.7158 25.5195L22.3158 17.0598C22.2537 16.8404 22.1248 16.6477 21.9483 16.5107C21.7719 16.3736 21.5575 16.2995 21.3371 16.2995C21.1167 16.2995 20.9023 16.3736 20.7258 16.5107C20.5494 16.6477 20.4205 16.8404 20.3584 17.0598L17.9594 25.5195Z","fill","#7042F0"],["d","M27.9321 10.3346L32.3543 8.98276C32.5657 8.91828 32.7513 8.78449 32.8833 8.6014C33.0154 8.41831 33.0867 8.19578 33.0867 7.96709C33.0867 7.73841 33.0154 7.51587 32.8833 7.33278C32.7513 7.1497 32.5657 7.0159 32.3543 6.95143L27.9321 5.60059L26.6294 1.01027C26.5673 0.790829 26.4383 0.598168 26.2619 0.461118C26.0855 0.324068 25.871 0.25 25.6506 0.25C25.4303 0.25 25.2158 0.324068 25.0394 0.461118C24.8629 0.598168 24.734 0.790829 24.6719 1.01027L23.3702 5.60059L18.9471 6.95143C18.7357 7.01588 18.55 7.14966 18.418 7.33275C18.2859 7.51584 18.2146 7.73839 18.2146 7.96709C18.2146 8.19579 18.2859 8.41834 18.418 8.60143C18.55 8.78452 18.7357 8.91831 18.9471 8.98276L23.3702 10.3346L24.6719 14.9239C24.734 15.1434 24.8629 15.336 25.0394 15.4731C25.2158 15.6101 25.4303 15.6842 25.6506 15.6842C25.871 15.6842 26.0855 15.6101 26.2619 15.4731C26.4383 15.336 26.5673 15.1434 26.6294 14.9239L27.9321 10.3346Z","fill","#7042F0"],["d","M5.49703 12.2565L1.03503 14.1451C0.847305 14.2246 0.686661 14.3603 0.573578 14.535C0.460491 14.7096 0.400097 14.9152 0.400097 15.1256C0.400097 15.336 0.460491 15.5417 0.573578 15.7163C0.686661 15.8909 0.847305 16.0267 1.03503 16.1061L5.49703 17.9948L7.31694 22.6255C7.39355 22.8203 7.52433 22.987 7.69262 23.1043C7.8609 23.2217 8.05905 23.2844 8.2618 23.2844C8.46454 23.2844 8.66269 23.2217 8.83098 23.1043C8.99926 22.987 9.13005 22.8203 9.20666 22.6255L11.0266 17.9948L15.4876 16.1061C15.6754 16.0266 15.836 15.8909 15.9491 15.7163C16.0622 15.5417 16.1225 15.336 16.1225 15.1256C16.1225 14.9152 16.0622 14.7096 15.9491 14.535C15.836 14.3603 15.6754 14.2246 15.4876 14.1451L11.0266 12.2565L9.20666 7.62684C9.13005 7.43204 8.99926 7.26532 8.83098 7.14797C8.66269 7.03062 8.46454 6.96795 8.2618 6.96795C8.05905 6.96795 7.8609 7.03062 7.69262 7.14797C7.52433 7.26532 7.39355 7.43204 7.31694 7.62684L5.49703 12.2565Z","fill","#7042F0"]],template:function(t,e){if(1&t&&(S(0,"div",0),D(1,sbe,13,6,"ng-container",1),D(2,abe,7,10,"form",2),D(3,lbe,11,6,"ng-template",null,3,Mn),E()),2&t){const i=Bt(4);Wr("selected",e.isSelected),b(1),_("ngIf","input"===e.type)("ngIfElse",i),b(1),_("ngIf",e.isSelected)}},dependencies:[Vo,bo,$t,Qd,Kd,pl,Lc,$d,Aa,Rc,Du,bg,obe,rbe,Xs,Dg,bde,Cg],styles:["[_nghost-%COMP%] form[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%] form[_ngcontent-%COMP%] .field[_ngcontent-%COMP%]{margin-bottom:2rem}[_nghost-%COMP%] form[_ngcontent-%COMP%] dot-field-validation-message[_ngcontent-%COMP%]{position:absolute;left:0;bottom:50px}[_nghost-%COMP%] .prompt-input__wrapper[_ngcontent-%COMP%]{border-radius:.5rem;border:2px solid #ebecef;cursor:pointer;padding:1.5rem;gap:1.5rem;transition:all .15s ease;min-height:540px}[_nghost-%COMP%] .prompt-input__wrapper[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{display:inline-flex;color:var(--color-palette-primary-500)}[_nghost-%COMP%] .prompt-input__wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] .prompt-input__wrapper[_ngcontent-%COMP%]:hover{border-color:var(--color-palette-secondary-200)}[_nghost-%COMP%] .prompt-input__wrapper.selected[_ngcontent-%COMP%]{border-color:var(--color-palette-secondary-300);box-shadow:0 0 4px #14151a0a,0 8px 16px #14151a14;cursor:default}"],changeDetection:0});const cbe=function(){return{width:"800px"}};function ube(n,t){if(1&n){const e=Ne();it(0),S(1,"p-dialog",1),se("visibleChange",function(r){return te(ee(e).ngIf.showDialog=r)})("onHide",function(){return ee(e),te(C().hideDialog())}),Xn(2,"dm"),S(3,"div",2)(4,"dot-ai-image-prompt-input",3),se("click",function(){const o=ee(e).ngIf;return te(C().selectType("input",o.selectedPromptType))})("promptChanged",function(r){return ee(e),te(C().generateImage(r))}),Xn(5,"dm"),E(),S(6,"dot-ai-image-prompt-input",4),se("click",function(){const o=ee(e).ngIf;return te(C().selectType("auto",o.selectedPromptType))})("promptChanged",function(r){return ee(e),te(C().generateImage(r))}),Xn(7,"dm"),E()()(),rt()}if(2&n){const e=t.ngIf,i=C();b(1),Gn(cr(19,cbe)),Sa("header",ei(2,13,"block-editor.extension.ai-image.dialog-title")),_("visible",e.showDialog)("dismissableMask",!0)("draggable",!1)("resizable",!1),b(3),Sa("placeholder",ei(5,15,"block-editor.extension.ai-image.input-text.placeholder")),_("isLoading",e.status===i.ComponentStatus.LOADING)("selected","input"===e.selectedPromptType),b(2),Sa("placeholder",ei(7,17,"block-editor.extension.ai-image.auto-text.placeholder")),_("isLoading",e.status===i.ComponentStatus.LOADING)("selected","auto"===e.selectedPromptType)}}class lf{constructor(){this.vm$=st(Qa).vm$,this.ComponentStatus=Va,this.store=st(Qa)}hideDialog(){this.store.hideDialog()}selectType(t,e){e!=t&&this.store.setPromptType(t)}generateImage(t){this.store.generateImage(t)}}lf.\u0275fac=function(t){return new(t||lf)},lf.\u0275cmp=we({type:lf,selectors:[["dot-ai-image-prompt"]],standalone:!0,features:[us],decls:2,vars:3,consts:[[4,"ngIf"],["appendTo","body",3,"visible","dismissableMask","draggable","resizable","header","visibleChange","onHide"],[1,"dialog-prompts__wrapper","grid"],["type","input",1,"col",3,"isLoading","selected","placeholder","click","promptChanged"],["type","auto",1,"col",3,"isLoading","selected","placeholder","click","promptChanged"]],template:function(t,e){1&t&&(D(0,ube,8,20,"ng-container",0),Xn(1,"async")),2&t&&_("ngIf",ei(1,1,e.vm$))},dependencies:[Vo,Du,Qd,tbe,$t,Qve,Kve,jg,P_,Xs],styles:[".dialog-prompts__wrapper[_ngcontent-%COMP%]{gap:2rem}"],changeDetection:0});class dbe{constructor(t){this.destroy$=new ue;const{editor:e,element:i,view:r,pluginKey:o,component:s}=t;this.editor=e,this.element=i,this.view=r,this.element.remove(),this.pluginKey=o,this.component=s,this.store=this.component.injector.get(Qa),this.store.isOpenDialog$.pipe(z0(1),Tn(a=>!1===a),yn(this.destroy$)).subscribe(()=>{this.editor.commands.closeImagePrompt()}),this.store.isLoading$.pipe(Tn(a=>!0===a),yn(this.destroy$)).subscribe(()=>{this.store.hideDialog(),this.editor.chain().insertLoaderNode().closeImagePrompt().run()}),this.store.getContentlets$.pipe(Tn(a=>a.length>0),yn(this.destroy$)).subscribe(a=>{const l=Object.values(a[0])[0];this.editor.chain().deleteSelection().insertImage(l).openAIContentActions(EE).run()})}update(t,e){const i=this.pluginKey?.getState(t.state),r=e?this.pluginKey?.getState(e):{open:!1};i.open&&!1===r.open&&this.store.showDialog(this.editor.getText())}destroy(){this.destroy$.next(!0),this.destroy$.complete()}}const hbe=n=>new Kt({key:n.pluginKey,view:t=>new dbe({view:t,...n}),state:{init:()=>({open:!1}),apply(t,e,i){const{open:r}=t.getMeta(zg)||{},o=zg.getState(i);return"boolean"==typeof r?{open:r}:o||e}}}),EE="dotAIImageContent",zg=new an("aiImagePrompt-form"),fbe=n=>Sn.create({name:"aiImagePrompt",addOptions:()=>({element:null,pluginKey:zg}),addCommands:()=>({openImagePrompt:()=>({chain:t})=>t().command(({tr:e})=>(e.setMeta(zg,{open:!0}),!0)).freezeScroll(!0).run(),closeImagePrompt:()=>({chain:t})=>t().command(({tr:e})=>(e.setMeta(zg,{open:!1}),!0)).freezeScroll(!1).run()}),addProseMirrorPlugins(){const t=n.createComponent(lf);return t.changeDetectorRef.detectChanges(),[hbe({pluginKey:this.options.pluginKey,editor:this.editor,element:t.location.nativeElement,component:t})]}}),pbe={duration:[500,0],interactive:!0,maxWidth:200,trigger:"manual",hideOnClick:!1,placement:"bottom-start",popperOptions:{modifiers:[{name:"preventOverflow",options:{altAxis:!0}}]}};class mbe{constructor(t){this.destroy$=new ue;const{editor:e,element:i,view:r,tippyOptions:o={},pluginKey:s,component:a}=t;this.editor=e,this.element=i,this.view=r,this.tippyOptions=o,this.element.remove(),this.pluginKey=s,this.component=a,this.aiContentPromptStore=this.component.injector.get(tc),this.dotAiImagePromptStore=this.component.injector.get(Qa),this.component.instance.actionEmitter.pipe(yn(this.destroy$)).subscribe(l=>{switch(l){case Ka.ACCEPT:this.acceptContent();break;case Ka.REGENERATE:this.generateContent();break;case Ka.DELETE:this.deleteContent()}}),this.view.dom.addEventListener("keydown",this.handleKeyDown.bind(this))}update(t,e){const i=this.pluginKey?.getState(t.state),r=e?this.pluginKey?.getState(e):{open:!1};i?.open!==r?.open?(this.createTooltip(),i.open?this.show():this.hide()):this.tippy?.popperInstance?.forceUpdate()}createTooltip(){const{element:t}=this.editor.options;this.tippy||!t.parentElement||(this.tippy=gs(t.parentElement,{...pbe,...this.tippyOptions,content:this.element}))}show(){this.tippy?.show()}hide(){this.tippy?.hide(),this.editor.view.focus()}destroy(){this.tippy?.destroy(),this.destroy$.next(!0),this.destroy$.complete(),this.view.dom.removeEventListener("keydown",this.handleKeyDown)}acceptContent(){const t=this.pluginKey?.getState(this.view.state);this.editor.commands.closeAIContentActions(),t.nodeType===Lg&&this.aiContentPromptStore.setAcceptContent(!0)}generateContent(){const t=this.pluginKey?.getState(this.view.state);switch(this.editor.commands.closeAIContentActions(),t.nodeType){case Lg:this.aiContentPromptStore.reGenerateContent();break;case EE:this.dotAiImagePromptStore.reGenerateContent()}}deleteContent(){switch(this.pluginKey?.getState(this.view.state).nodeType){case Lg:this.aiContentPromptStore.setDeleteContent(!0);break;case EE:this.editor.commands.deleteSelection()}this.editor.commands.closeAIContentActions()}handleKeyDown(t){"Backspace"===t.key&&this.editor.commands.closeAIContentActions()}}const gbe=n=>new Kt({key:n.pluginKey,view:t=>new mbe({view:t,...n}),state:{init:()=>({open:!1,nodeType:null}),apply(t,e,i){const{open:r,nodeType:o}=t.getMeta(Vg)||{},s=Vg?.getState(i);return"boolean"==typeof r?{open:r,nodeType:o}:s||e}}}),Vg=new an("aiContentActions-form"),ybe=n=>Sn.create({name:"aiContentActions",addOptions:()=>({element:null,tippyOptions:{},pluginKey:Vg}),addCommands:()=>({openAIContentActions:t=>({chain:e})=>e().command(({tr:i})=>(i.setMeta(Vg,{open:!0,nodeType:t}),!0)).freezeScroll(!0).run(),closeAIContentActions:()=>({chain:t})=>t().command(({tr:e})=>(e.setMeta(Vg,{open:!1}),!0)).freezeScroll(!1).run()}),addProseMirrorPlugins(){const t=n.createComponent(Fg);return t.changeDetectorRef.detectChanges(),[gbe({pluginKey:this.options.pluginKey,editor:this.editor,element:t.location.nativeElement,tippyOptions:this.options.tippyOptions,component:t})]}}),TV={leading:!0,trailing:!1};class Cbe{constructor(t,e,i,r){this.duration=t,this.scheduler=e,this.leading=i,this.trailing=r}call(t,e){return e.subscribe(new wbe(t,this.duration,this.scheduler,this.leading,this.trailing))}}class wbe extends re{constructor(t,e,i,r,o){super(t),this.duration=e,this.scheduler=i,this.leading=r,this.trailing=o,this._hasTrailingValue=!1,this._trailingValue=null}_next(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(Tbe,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0))}_complete(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}clearThrottle(){const t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)}}function Tbe(n){const{subscriber:t}=n;t.clearThrottle()}const Dbe={loading:!0,preventScroll:!1,contentlets:[],languageId:1,search:"",assetType:null};class ku extends SE{constructor(t,e){super(Dbe),this.searchService=t,this.dotLanguageService=e,this.vm$=this.select(({contentlets:i,loading:r,preventScroll:o})=>({contentlets:i,loading:r,preventScroll:o})),this.updateContentlets=this.updater((i,r)=>({...i,contentlets:r})),this.updateAssetType=this.updater((i,r)=>({...i,assetType:r})),this.updatelanguageId=this.updater((i,r)=>({...i,languageId:r})),this.updateLoading=this.updater((i,r)=>({...i,loading:r})),this.updatePreventScroll=this.updater((i,r)=>({...i,preventScroll:r})),this.updateSearch=this.updater((i,r)=>({...i,search:r})),this.searchContentlet=this.effect(i=>i.pipe(pn(r=>{this.updateLoading(!0),this.updateSearch(r)}),af(this.state$),fe(([r,o])=>({...o,search:r})),ri(r=>this.searchContentletsRequest(this.params({...r}),[])))),this.nextBatch=this.effect(i=>i.pipe(af(this.state$),fe(([r,o])=>({...o,offset:r})),ri(({contentlets:r,...o})=>this.searchContentletsRequest(this.params(o),r)))),this.dotLanguageService.getLanguages().subscribe(i=>{this.languages=i})}searchContentletsRequest(t,e){return this.searchService.get(t).pipe(fe(({jsonObjectView:{contentlets:i}})=>{const r=this.setContentletLanguage(i);return this.updateLoading(!1),this.updatePreventScroll(!i?.length),this.updateContentlets([...e,...r])}))}params({search:t,assetType:e,offset:i=0,languageId:r}){return{query:`+catchall:${t.includes("-")?t:`${t}*`} title:'${t}'^15 +languageId:${r} +baseType:(4 OR 9) +metadata.contenttype:${e||""}/* +deleted:false +working:true`,sortOrder:Xb.ASC,limit:20,offset:i}}setContentletLanguage(t){return t.map(e=>({...e,language:this.getLanguage(e.languageId)}))}getLanguage(t){const{languageCode:e,countryCode:i}=this.languages[t];return e&&i?`${e}-${i}`:""}}function Mbe(n,t){if(1&n&&(S(0,"div",3),_e(1,"dot-contentlet-thumbnail",4),E()),2&n){const e=C();b(1),_("contentlet",e.contentlet)("cover",!1)("iconSize","72px")("showVideoThumbnail",e.showVideoThumbnail)}}function Sbe(n,t){if(1&n&&(S(0,"h2",5),Se(1),E()),2&n){const e=C();b(1),Ct((null==e.contentlet?null:e.contentlet.fileName)||(null==e.contentlet?null:e.contentlet.title))}}function Ebe(n,t){if(1&n&&(S(0,"div",6)(1,"span",7),Se(2),E(),_e(3,"dot-state-icon",8),E()),2&n){const e=C();b(2),Ct(e.contentlet.language),b(1),_("state",e.contentlet)}}ku.\u0275fac=function(t){return new(t||ku)(F($h),F(ql))},ku.\u0275prov=H({token:ku,factory:ku.\u0275fac});class Bg{constructor(t){this.dotMarketingConfigService=t,this.showVideoThumbnail=!0}ngOnInit(){this.showVideoThumbnail=this.dotMarketingConfigService.getProperty(mh.SHOW_VIDEO_THUMBNAIL)}getImage(t){return`/dA/${t}/500w/50q`}getContentletIcon(){return"FILEASSET"!==this.contentlet?.baseType?this.contentlet?.contentTypeIcon:this.contentlet?.__icon__}}Bg.\u0275fac=function(t){return new(t||Bg)(I(bu))},Bg.\u0275cmp=we({type:Bg,selectors:[["dot-asset-card"]],inputs:{contentlet:"contentlet"},decls:4,vars:1,consts:[["pTemplate","header"],["class","title",4,"pTemplate"],["pTemplate","footer"],[1,"thumbnail-container"],[3,"contentlet","cover","iconSize","showVideoThumbnail"],[1,"title"],[1,"state"],[1,"badge"],["size","16px",3,"state"]],template:function(t,e){1&t&&(S(0,"p-card"),D(1,Mbe,2,4,"ng-template",0),D(2,Sbe,2,1,"h2",1),D(3,Ebe,4,2,"ng-template",2),E()),2&t&&(b(2),_("pTemplate","title"))},dependencies:[pE,Pi],styles:["[_nghost-%COMP%] .p-card{border:none;box-shadow:0 1px 3px var(--color-palette-black-op-10),0 1px 2px var(--color-palette-black-op-20);cursor:pointer;display:flex;gap:1rem;height:94px}[_nghost-%COMP%] .p-card .p-card-header{padding:0;height:94px;width:94px;min-height:94px;min-width:94px;border-radius:.25rem 0 0 .25rem}[_nghost-%COMP%] .p-card .p-card-header .thumbnail-container{padding:10px;width:100%;height:100%;background:#f3f3f4}[_nghost-%COMP%] .p-card .p-card-header .thumbnail-container dot-contentlet-thumbnail{width:100%;height:100%}[_nghost-%COMP%] .p-card .p-card-header .thumbnail-container dot-contentlet-thumbnail img{object-fit:contain;width:100%;height:100%}[_nghost-%COMP%] .p-card .p-card-body{flex-grow:1;display:flex;flex-direction:column;overflow:hidden;padding:.75rem .75rem .75rem 0}[_nghost-%COMP%] .p-card .p-card-body .p-card-title{flex-grow:1}[_nghost-%COMP%] .p-card .p-card-body .p-card-title h2{font-size:16px;line-height:140%;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[_nghost-%COMP%] .state{align-items:center;display:flex;gap:.5rem}[_nghost-%COMP%] .badge{background:var(--color-palette-primary-100);border-radius:.125rem;color:#14151a;font-size:12px;line-height:140%;padding:.2rem .5rem;display:flex;align-items:center}"],changeDetection:0});let xbe=(()=>{class n{constructor(){this.shape="rectangle",this.animation="wave",this.borderRadius=null,this.size=null,this.width="100%",this.height="1rem"}containerClass(){return{"p-skeleton p-component":!0,"p-skeleton-circle":"circle"===this.shape,"p-skeleton-none":"none"===this.animation}}containerStyle(){return this.size?{...this.style,width:this.size,height:this.size,borderRadius:this.borderRadius}:{...this.style,width:this.width,height:this.height,borderRadius:this.borderRadius}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=we({type:n,selectors:[["p-skeleton"]],hostAttrs:[1,"p-element"],inputs:{styleClass:"styleClass",style:"style",shape:"shape",animation:"animation",borderRadius:"borderRadius",size:"size",width:"width",height:"height"},decls:1,vars:4,consts:[[3,"ngClass","ngStyle"]],template:function(e,i){1&e&&_e(0,"div",0),2&e&&(Ut(i.styleClass),_("ngClass",i.containerClass())("ngStyle",i.containerStyle()))},dependencies:[qn,ki],styles:['.p-skeleton{position:relative;overflow:hidden}.p-skeleton:after{content:"";animation:p-skeleton-animation 1.2s infinite;height:100%;left:0;position:absolute;right:0;top:0;transform:translate(-100%);z-index:1}.p-skeleton.p-skeleton-circle{border-radius:50%}.p-skeleton-none:after{animation:none}@keyframes p-skeleton-animation{0%{transform:translate(-100%)}to{transform:translate(100%)}}\n'],encapsulation:2,changeDetection:0}),n})(),DV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})();function Ibe(n,t){1&n&&_e(0,"p-skeleton",3)}function Obe(n,t){1&n&&(S(0,"div",4),_e(1,"p-skeleton",5)(2,"p-skeleton",6),E())}class Ug{}function Abe(n,t){if(1&n){const e=Ne();S(0,"dot-asset-card",7),se("click",function(){ee(e);const r=C().$implicit;return te(C(2).selectedItem.emit(r[0]))}),E()}2&n&&_("contentlet",C().$implicit[0])}function kbe(n,t){if(1&n){const e=Ne();S(0,"dot-asset-card",7),se("click",function(){ee(e);const r=C().$implicit;return te(C(2).selectedItem.emit(r[1]))}),E()}2&n&&_("contentlet",C().$implicit[1])}function Nbe(n,t){if(1&n&&(S(0,"div",5),D(1,Abe,1,1,"dot-asset-card",6),D(2,kbe,1,1,"dot-asset-card",6),E()),2&n){const e=t.$implicit;b(1),_("ngIf",e[0]),b(1),_("ngIf",e[1])}}function Pbe(n,t){if(1&n){const e=Ne();S(0,"p-scroller",3),se("onScrollIndexChange",function(r){return ee(e),te(C().onScrollIndexChange(r))}),D(1,Nbe,3,2,"ng-template",4),E()}if(2&n){const e=C();_("itemSize",110)("items",e.rows)("lazy",!0)}}function Lbe(n,t){1&n&&(S(0,"div",5),_e(1,"dot-asset-card-skeleton")(2,"dot-asset-card-skeleton"),E())}function Rbe(n,t){if(1&n&&(S(0,"div",8),D(1,Lbe,3,0,"div",9),E()),2&n){const e=C();b(1),_("ngForOf",e.loadingItems)}}function Fbe(n,t){if(1&n&&(S(0,"div",10),_e(1,"img",11),S(2,"p"),Se(3,"No results found, try searching again"),E()()),2&n){const e=C();b(1),_("src",e.icon,ss)}}Ug.\u0275fac=function(t){return new(t||Ug)},Ug.\u0275cmp=we({type:Ug,selectors:[["dot-asset-card-skeleton"]],decls:4,vars:0,consts:[["pTemplate","header"],["height","1rem"],["pTemplate","footer"],["shape","square","size","94px"],[1,"state"],["width","2rem","height","1rem"],["shape","circle","size","16px"]],template:function(t,e){1&t&&(S(0,"p-card"),D(1,Ibe,1,0,"ng-template",0),_e(2,"p-skeleton",1),D(3,Obe,3,0,"ng-template",2),E())},dependencies:[pE,Pi,xbe],styles:["[_nghost-%COMP%]{width:100%}[_nghost-%COMP%] .p-card{border:none;box-shadow:0 1px 3px var(--color-palette-black-op-10),0 1px 2px var(--color-palette-black-op-20);cursor:pointer;display:flex;gap:.5rem;height:94px}[_nghost-%COMP%] .p-card .p-card-header{padding:0}[_nghost-%COMP%] .p-card .p-card-body{flex:1;overflow:hidden;padding:.75rem .5rem .75rem 0;display:flex;flex-direction:column}[_nghost-%COMP%] .p-card .p-card-body .p-card-content{flex-grow:1}[_nghost-%COMP%] .state{align-items:center;display:flex;gap:.5rem}"],changeDetection:0});class Hg{constructor(){this.nextBatch=new Q,this.selectedItem=new Q,this.done=!1,this.loading=!0,this.loadingItems=[null,null,null],this.icon=js("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDEiIHZpZXdCb3g9IjAgMCA0MCA0MSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuMDc2MTcgOC41NTcxMkgwLjA5NTIxNDhWMzYuNDIzOEMwLjA5NTIxNDggMzguNjEzMyAxLjg4NjY0IDQwLjQwNDcgNC4wNzYxNyA0MC40MDQ3SDMxLjk0MjhWMzYuNDIzOEg0LjA3NjE3VjguNTU3MTJaTTM1LjkyMzggMC41OTUyMTVIMTIuMDM4MUM5Ljg0ODU1IDAuNTk1MjE1IDguMDU3MTIgMi4zODY2NCA4LjA1NzEyIDQuNTc2MTdWMjguNDYxOUM4LjA1NzEyIDMwLjY1MTQgOS44NDg1NSAzMi40NDI4IDEyLjAzODEgMzIuNDQyOEgzNS45MjM4QzM4LjExMzMgMzIuNDQyOCAzOS45MDQ3IDMwLjY1MTQgMzkuOTA0NyAyOC40NjE5VjQuNTc2MTdDMzkuOTA0NyAyLjM4NjY0IDM4LjExMzMgMC41OTUyMTUgMzUuOTIzOCAwLjU5NTIxNVpNMzUuOTIzOCAyOC40NjE5SDEyLjAzODFWNC41NzYxN0gzNS45MjM4VjI4LjQ2MTlaTTIxLjk5MDUgMjQuNDgwOUgyNS45NzE0VjE4LjUwOTVIMzEuOTQyOFYxNC41Mjg1SDI1Ljk3MTRWOC41NTcxMkgyMS45OTA1VjE0LjUyODVIMTYuMDE5VjE4LjUwOTVIMjEuOTkwNVYyNC40ODA5WiIgZmlsbD0iIzU3NkJFOCIvPgo8L3N2Zz4K"),this._itemRows=[],this._offset=0}set contentlets(t){this._offset=t?.length||0,this._itemRows=this.createRowItem(t)}get rows(){return[...this._itemRows]}onScrollIndexChange(t){this.done||t.last===this.rows.length&&this.nextBatch.emit(this._offset)}createRowItem(t=[]){const e=[];return t.forEach(i=>{const r=e.length-1;e[r]?.length<2?e[r].push(i):e.push([i])}),e}}Hg.\u0275fac=function(t){return new(t||Hg)},Hg.\u0275cmp=we({type:Hg,selectors:[["dot-asset-card-list"]],inputs:{done:"done",loading:"loading",contentlets:"contentlets"},outputs:{nextBatch:"nextBatch",selectedItem:"selectedItem"},decls:5,vars:2,consts:[["scrollHeight","20rem",3,"itemSize","items","lazy","onScrollIndexChange",4,"ngIf","ngIfElse"],["loadingBlock",""],["emptyBlock",""],["scrollHeight","20rem",3,"itemSize","items","lazy","onScrollIndexChange"],["pTemplate","item"],[1,"card-list-row"],[3,"contentlet","click",4,"ngIf"],[3,"contentlet","click"],[1,"wrapper","justify-start"],["class","card-list-row",4,"ngFor","ngForOf"],[1,"wrapper"],["width","42px","alt","No results found",3,"src"]],template:function(t,e){if(1&t&&(D(0,Pbe,2,3,"p-scroller",0),D(1,Rbe,2,1,"ng-template",null,1,Mn),D(3,Fbe,4,1,"ng-template",null,2,Mn)),2&t){const i=Bt(2),r=Bt(4);_("ngIf",(null==e.rows?null:e.rows.length)&&!e.loading)("ngIfElse",e.loading?i:r)}},dependencies:[Er,$t,Pi,iE,Bg,Ug],styles:["[_nghost-%COMP%]{display:flex;width:100%;height:20rem;flex-direction:column}[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%]{padding:0 2rem;display:flex;align-items:center;justify-content:center;flex-direction:column;flex-grow:1;height:250px;gap:0 1rem;overflow:hidden}[_nghost-%COMP%] .justify-start[_ngcontent-%COMP%]{justify-content:flex-start}[_nghost-%COMP%] p[_ngcontent-%COMP%]{margin:1rem 0;font-size:18px}[_nghost-%COMP%] dot-asset-card, [_nghost-%COMP%] dot-asset-card-skeleton{width:calc(50% - .5rem)}[_nghost-%COMP%] .p-scroller-content{padding:0 2rem;max-width:100%}[_nghost-%COMP%] .card-list-row{display:flex;justify-content:space-between;width:100%;min-height:110px;gap:1rem}"],changeDetection:0});const jbe=["input"];function zbe(n,t){if(1&n){const e=Ne();it(0),S(1,"dot-asset-card-list",6),se("selectedItem",function(r){return ee(e),te(C().addAsset.emit(r))})("nextBatch",function(r){return ee(e),te(C().offset$.next(r))}),E(),rt()}if(2&n){const e=t.ngIf;b(1),_("contentlets",e.contentlets)("done",e.preventScroll)("loading",e.loading)}}class $g{constructor(t){this.store=t,this.addAsset=new Q,this.vm$=this.store.vm$,this.offset$=new Zr(0),this.destroy$=new ue}set languageId(t){this.store.updatelanguageId(t)}set type(t){this.store.updateAssetType(t)}ngOnInit(){this.store.searchContentlet(""),this.offset$.pipe(yn(this.destroy$),z0(1),function bbe(n,t=Jd,e=TV){return i=>i.lift(new Cbe(n,t,e.leading,e.trailing))}(450)).subscribe(this.store.nextBatch),requestAnimationFrame(()=>this.input.nativeElement.focus())}ngAfterViewInit(){Ev(this.input.nativeElement,"input").pipe(yn(this.destroy$),eh(450)).subscribe(({target:t})=>{this.store.searchContentlet(t.value)})}ngOnDestroy(){this.destroy$.next(!0)}}$g.\u0275fac=function(t){return new(t||$g)(I(ku))},$g.\u0275cmp=we({type:$g,selectors:[["dot-asset-search"]],viewQuery:function(t,e){if(1&t&&Mt(jbe,5),2&t){let i;Ve(i=Be())&&(e.input=i.first)}},inputs:{languageId:"languageId",type:"type"},outputs:{addAsset:"addAsset"},features:[Pt([ku])],decls:8,vars:3,consts:[[1,"search-box"],[1,"p-input-icon-right"],["autofocus","","type","text","pInputText","","placeholder","Search",1,"search"],["input",""],[1,"pi","pi-search"],[4,"ngIf"],[3,"contentlets","done","loading","selectedItem","nextBatch"]],template:function(t,e){1&t&&(it(0),S(1,"div",0)(2,"span",1),_e(3,"input",2,3)(5,"i",4),E()(),rt(),D(6,zbe,2,3,"ng-container",5),Xn(7,"async")),2&t&&(b(6),_("ngIf",ei(7,1,e.vm$)))},dependencies:[$t,Sg,Hg,P_],styles:["[_nghost-%COMP%]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column}.search-box[_ngcontent-%COMP%]{padding:0 2rem;flex-grow:1;display:flex;align-items:center}.search-box[_ngcontent-%COMP%], .search-box[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .search-box[_ngcontent-%COMP%] .search[_ngcontent-%COMP%]{width:100%}"],changeDetection:0});const Vbe=n=>{switch(n.target.error.code){case n.target.error.MEDIA_ERR_ABORTED:return"You aborted the video playback.";case n.target.error.MEDIA_ERR_NETWORK:return"A network error caused the video download to fail part-way.";case n.target.error.MEDIA_ERR_DECODE:return'Video playback aborted due to browser compatibility issues. Try a different browser or visit MDN Video Support for more information.';case n.target.error.MEDIA_ERR_SRC_NOT_SUPPORTED:return'Invalid URL. Please provide a URL to a .mp4, .webm, .ogv video file, or a YouTube video link. For more info on supported video formats and containers, visit MDN Video Format Support.';default:return'An unknown error occurred. Please contact support'}},Bbe=["input"],Hbe=/(youtube\.com\/watch\?v=.*)|(youtu\.be\/.*)/;class Wg{constructor(t,e){this.fb=t,this.cd=e,this.addAsset=new Q,this.disableAction=!1,this.form=this.fb.group({url:["",[Hd.required,Hd.pattern("^((http|https)://)[-a-zA-Z0-9@:%._\\+~#?&//=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:%._\\+~#?&//=]*)$")]]}),this.form.valueChanges.subscribe(({url:i})=>{this.disableAction=!1,"video"===this.type&&!this.isInvalid&&!i.match(Hbe)&&this.tryToPlayVideo(i)}),requestAnimationFrame(()=>this.input.nativeElement.focus())}get placerHolder(){return"https://example.com/"+("video"===this.type?"video.mp4":"image.jpg")}get error(){return this.form.controls.url?.errors?.message||""}get isInvalid(){return this.form.controls.url?.invalid}onSubmit({url:t}){this.addAsset.emit(t)}tryToPlayVideo(t){const e=document.createElement("video");this.disableAction=!0,e.addEventListener("error",i=>{this.form.controls.url.setErrors({message:Vbe(i)}),this.cd.detectChanges()}),e.addEventListener("canplay",()=>{this.form.controls.url.setErrors(null),this.disableAction=!1,this.cd.detectChanges()}),e.src=`${t}#t=0.1`}}Wg.\u0275fac=function(t){return new(t||Wg)(I(av),I(In))},Wg.\u0275cmp=we({type:Wg,selectors:[["dot-external-asset"]],viewQuery:function(t,e){if(1&t&&Mt(Bbe,5),2&t){let i;Ve(i=Be())&&(e.input=i.first)}},inputs:{type:"type"},outputs:{addAsset:"addAsset"},decls:10,vars:7,consts:[[1,"wrapper",3,"formGroup","ngSubmit"],[1,"form-control"],["dotFieldRequired","","for","url"],["id","url","formControlName","url","autocomplete","off","type","text","pInputText","",3,"placeholder"],["input",""],[1,"footer"],[1,"error-message",3,"innerHTML"],["type","submit","pButton","",3,"disabled"]],template:function(t,e){1&t&&(S(0,"form",0),se("ngSubmit",function(){return e.onSubmit(e.form.value)}),S(1,"div",1)(2,"label",2),Se(3),E(),_e(4,"input",3,4),E(),S(6,"div",5),_e(7,"span",6),S(8,"button",7),Se(9,"Insert"),E()()()),2&t&&(_("formGroup",e.form),b(3),bi("Insert ",e.type," URL"),b(1),_("placeholder",e.placerHolder),b(3),Wr("hide",!e.isInvalid||e.form.pristine),_("innerHTML",e.error||"Enter a valid url",Yf),b(1),_("disabled",e.form.invalid||e.disableAction))},dependencies:[Kd,pl,Lc,$d,Aa,Rc,bo,Sg],styles:["[_nghost-%COMP%]{width:100%}.wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:flex-end;flex-direction:column;padding:2rem;gap:1rem}.form-control[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;gap:.75rem}.footer[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}.error-message[_ngcontent-%COMP%]{color:#d82b2e;font-size:.813rem;text-align:left;max-width:30rem}.hide[_ngcontent-%COMP%]{visibility:hidden}"],changeDetection:0});const $be=xp("shakeit",[iL("shakestart",mi({transform:"scale(1.1)"})),iL("shakeend",mi({transform:"scale(1)"})),Pa("shakestart => shakeend",Na("1000ms ease-in",function gK(n){return{type:5,steps:n}}([mi({transform:"translate3d(-2px, 0, 0)",offset:.1}),mi({transform:"translate3d(4px, 0, 0)",offset:.2}),mi({transform:"translate3d(-4px, 0, 0)",offset:.3}),mi({transform:"translate3d(4px, 0, 0)",offset:.4}),mi({transform:"translate3d(-4px, 0, 0)",offset:.5}),mi({transform:"translate3d(4px, 0, 0)",offset:.6}),mi({transform:"translate3d(-4px, 0, 0)",offset:.7}),mi({transform:"translate3d(4px, 0, 0)",offset:.8}),mi({transform:"translate3d(-2px, 0, 0)",offset:.9})])))]);function Wbe(n,t){1&n&&_e(0,"span",11),2&n&&_("innerHTML",C(2).$implicit.summary,Yf)}function Gbe(n,t){1&n&&_e(0,"span",12),2&n&&_("innerHTML",C(2).$implicit.detail,Yf)}function Ybe(n,t){if(1&n&&(it(0),D(1,Wbe,1,1,"span",9),D(2,Gbe,1,1,"span",10),rt()),2&n){const e=C().$implicit;b(1),_("ngIf",e.summary),b(1),_("ngIf",e.detail)}}function qbe(n,t){if(1&n&&(S(0,"span",15),Se(1),E()),2&n){const e=C(2).$implicit;b(1),Ct(e.summary)}}function Kbe(n,t){if(1&n&&(S(0,"span",16),Se(1),E()),2&n){const e=C(2).$implicit;b(1),Ct(e.detail)}}function Qbe(n,t){if(1&n&&(D(0,qbe,2,1,"span",13),D(1,Kbe,2,1,"span",14)),2&n){const e=C().$implicit;_("ngIf",e.summary),b(1),_("ngIf",e.detail)}}function Zbe(n,t){if(1&n){const e=Ne();S(0,"button",17),se("click",function(){ee(e);const r=C().index;return te(C(2).removeMessage(r))}),_e(1,"i",18),E()}}const Jbe=function(n,t){return{showTransitionParams:n,hideTransitionParams:t}},Xbe=function(n){return{value:"visible",params:n}},e0e=function(n,t,e,i){return{"pi-info-circle":n,"pi-check":t,"pi-exclamation-triangle":e,"pi-times-circle":i}};function t0e(n,t){if(1&n&&(S(0,"div",4)(1,"div",5),_e(2,"span",6),D(3,Ybe,3,2,"ng-container",1),D(4,Qbe,2,2,"ng-template",null,7,Mn),D(6,Zbe,2,0,"button",8),E()()),2&n){const e=t.$implicit,i=Bt(5),r=C(2);Ut("p-message p-message-"+e.severity),_("@messageAnimation",tt(12,Xbe,Fn(9,Jbe,r.showTransitionOptions,r.hideTransitionOptions))),b(2),Ut("p-message-icon pi"+(e.icon?" "+e.icon:"")),_("ngClass",jd(14,e0e,"info"===e.severity,"success"===e.severity,"warn"===e.severity,"error"===e.severity)),b(1),_("ngIf",!r.escape)("ngIfElse",i),b(3),_("ngIf",r.closable)}}function n0e(n,t){if(1&n&&(it(0),D(1,t0e,7,19,"div",3),rt()),2&n){const e=C();b(1),_("ngForOf",e.messages)}}function i0e(n,t){1&n&&Je(0)}function r0e(n,t){if(1&n&&(S(0,"div",19)(1,"div",5),D(2,i0e,1,0,"ng-container",20),E()()),2&n){const e=C();_("ngClass","p-message p-message-"+e.severity),b(2),_("ngTemplateOutlet",e.contentTemplate)}}let o0e=(()=>{class n{constructor(e,i,r){this.messageService=e,this.el=i,this.cd=r,this.closable=!0,this.enableService=!0,this.escape=!0,this.showTransitionOptions="300ms ease-out",this.hideTransitionOptions="200ms cubic-bezier(0.86, 0, 0.07, 1)",this.valueChange=new Q,this.timerSubscriptions=[]}set value(e){this.messages=e,this.startMessageLifes(this.messages)}ngAfterContentInit(){this.templates.forEach(e=>{e.getType(),this.contentTemplate=e.template}),this.messageService&&this.enableService&&!this.contentTemplate&&(this.messageSubscription=this.messageService.messageObserver.subscribe(e=>{if(e){e instanceof Array||(e=[e]);const i=e.filter(r=>this.key===r.key);this.messages=this.messages?[...this.messages,...i]:[...i],this.startMessageLifes(i),this.cd.markForCheck()}}),this.clearSubscription=this.messageService.clearObserver.subscribe(e=>{e?this.key===e&&(this.messages=null):this.messages=null,this.cd.markForCheck()}))}hasMessages(){let e=this.el.nativeElement.parentElement;return!(!e||!e.offsetParent)&&(null!=this.contentTemplate||this.messages&&this.messages.length>0)}clear(){this.messages=[],this.valueChange.emit(this.messages)}removeMessage(e){this.messages=this.messages.filter((i,r)=>r!==e),this.valueChange.emit(this.messages)}get icon(){const e=this.severity||(this.hasMessages()?this.messages[0].severity:null);if(this.hasMessages())switch(e){case"success":return"pi-check";case"info":default:return"pi-info-circle";case"error":return"pi-times";case"warn":return"pi-exclamation-triangle"}return null}ngOnDestroy(){this.messageSubscription&&this.messageSubscription.unsubscribe(),this.clearSubscription&&this.clearSubscription.unsubscribe(),this.timerSubscriptions?.forEach(e=>e.unsubscribe())}startMessageLifes(e){e?.forEach(i=>i.life&&this.startMessageLife(i))}startMessageLife(e){const i=rR(e.life).subscribe(()=>{this.messages=this.messages?.filter(r=>r!==e),this.timerSubscriptions=this.timerSubscriptions?.filter(r=>r!==i),this.valueChange.emit(this.messages),this.cd.markForCheck()});this.timerSubscriptions.push(i)}}return n.\u0275fac=function(e){return new(e||n)(I(yZ,8),I(Dt),I(In))},n.\u0275cmp=we({type:n,selectors:[["p-messages"]],contentQueries:function(e,i,r){if(1&e&&Yn(r,Pi,4),2&e){let o;Ve(o=Be())&&(i.templates=o)}},hostAttrs:[1,"p-element"],inputs:{value:"value",closable:"closable",style:"style",styleClass:"styleClass",enableService:"enableService",key:"key",escape:"escape",severity:"severity",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions"},outputs:{valueChange:"valueChange"},decls:4,vars:5,consts:[["role","alert",1,"p-messages","p-component",3,"ngStyle"],[4,"ngIf","ngIfElse"],["staticMessage",""],["role","alert",3,"class",4,"ngFor","ngForOf"],["role","alert"],[1,"p-message-wrapper"],[3,"ngClass"],["escapeOut",""],["class","p-message-close p-link","type","button","pRipple","",3,"click",4,"ngIf"],["class","p-message-summary",3,"innerHTML",4,"ngIf"],["class","p-message-detail",3,"innerHTML",4,"ngIf"],[1,"p-message-summary",3,"innerHTML"],[1,"p-message-detail",3,"innerHTML"],["class","p-message-summary",4,"ngIf"],["class","p-message-detail",4,"ngIf"],[1,"p-message-summary"],[1,"p-message-detail"],["type","button","pRipple","",1,"p-message-close","p-link",3,"click"],[1,"p-message-close-icon","pi","pi-times"],["role","alert",3,"ngClass"],[4,"ngTemplateOutlet"]],template:function(e,i){if(1&e&&(S(0,"div",0),D(1,n0e,2,1,"ng-container",1),D(2,r0e,3,2,"ng-template",null,2,Mn),E()),2&e){const r=Bt(3);Ut(i.styleClass),_("ngStyle",i.style),b(1),_("ngIf",!i.contentTemplate)("ngIfElse",r)}},dependencies:[qn,Er,$t,qr,ki,wl],styles:[".p-message-wrapper{display:flex;align-items:center}.p-message-close{display:flex;align-items:center;justify-content:center}.p-message-close.p-link{margin-left:auto;overflow:hidden;position:relative}.p-messages .p-message.ng-animating{overflow:hidden}\n"],encapsulation:2,data:{animation:[xp("messageAnimation",[Pa(":enter",[mi({opacity:0,transform:"translateY(-25%)"}),Na("{{showTransitionParams}}")]),Pa(":leave",[Na("{{hideTransitionParams}}",mi({height:0,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,opacity:0}))])])]},changeDetection:0}),n})(),MV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn,Ra]}),n})();function s0e(n,t){if(1&n&&(S(0,"div",5),Se(1),E()),2&n){const e=C(2);cl("display",null!=e.value&&0!==e.value?"flex":"none"),b(1),u_("",e.value,"",e.unit,"")}}function a0e(n,t){if(1&n&&(S(0,"div",3),D(1,s0e,2,4,"div",4),E()),2&n){const e=C();cl("width",e.value+"%")("background",e.color),b(1),_("ngIf",e.showValue)}}function l0e(n,t){if(1&n&&(S(0,"div",6),_e(1,"div",7),E()),2&n){const e=C();b(1),cl("background",e.color)}}const c0e=function(n,t){return{"p-progressbar p-component":!0,"p-progressbar-determinate":n,"p-progressbar-indeterminate":t}};let u0e=(()=>{class n{constructor(){this.showValue=!0,this.unit="%",this.mode="determinate"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=we({type:n,selectors:[["p-progressBar"]],hostAttrs:[1,"p-element"],inputs:{value:"value",showValue:"showValue",style:"style",styleClass:"styleClass",unit:"unit",mode:"mode",color:"color"},decls:3,vars:10,consts:[["role","progressbar","aria-valuemin","0","aria-valuemax","100",3,"ngStyle","ngClass"],["class","p-progressbar-value p-progressbar-value-animate","style","display:flex",3,"width","background",4,"ngIf"],["class","p-progressbar-indeterminate-container",4,"ngIf"],[1,"p-progressbar-value","p-progressbar-value-animate",2,"display","flex"],["class","p-progressbar-label",3,"display",4,"ngIf"],[1,"p-progressbar-label"],[1,"p-progressbar-indeterminate-container"],[1,"p-progressbar-value","p-progressbar-value-animate"]],template:function(e,i){1&e&&(S(0,"div",0),D(1,a0e,2,5,"div",1),D(2,l0e,2,2,"div",2),E()),2&e&&(Ut(i.styleClass),_("ngStyle",i.style)("ngClass",Fn(7,c0e,"determinate"===i.mode,"indeterminate"===i.mode)),bt("aria-valuenow",i.value),b(1),_("ngIf","determinate"===i.mode),b(1),_("ngIf","indeterminate"===i.mode))},dependencies:[qn,$t,ki],styles:['.p-progressbar{position:relative;overflow:hidden}.p-progressbar-determinate .p-progressbar-value{height:100%;width:0%;position:absolute;display:none;border:0 none;display:flex;align-items:center;justify-content:center;overflow:hidden}.p-progressbar-determinate .p-progressbar-label{display:inline-flex}.p-progressbar-determinate .p-progressbar-value-animate{transition:width 1s ease-in-out}.p-progressbar-indeterminate .p-progressbar-value:before{content:"";position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;animation:p-progressbar-indeterminate-anim 2.1s cubic-bezier(.65,.815,.735,.395) infinite}.p-progressbar-indeterminate .p-progressbar-value:after{content:"";position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;animation:p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(.165,.84,.44,1) infinite;animation-delay:1.15s}@keyframes p-progressbar-indeterminate-anim{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@keyframes p-progressbar-indeterminate-anim-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}\n'],encapsulation:2,changeDetection:0}),n})(),SV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})();const d0e=["advancedfileinput"],h0e=["basicfileinput"],f0e=["content"];function p0e(n,t){if(1&n){const e=Ne();S(0,"p-button",17),se("onClick",function(){return ee(e),te(C(2).upload())}),E()}if(2&n){const e=C(2);_("label",e.uploadButtonLabel)("icon",e.uploadIcon)("disabled",!e.hasFiles()||e.isFileLimitExceeded())("styleClass",e.uploadStyleClass)}}function m0e(n,t){if(1&n){const e=Ne();S(0,"p-button",17),se("onClick",function(){return ee(e),te(C(2).clear())}),E()}if(2&n){const e=C(2);_("label",e.cancelButtonLabel)("icon",e.cancelIcon)("disabled",!e.hasFiles()||e.uploading)("styleClass",e.cancelStyleClass)}}function g0e(n,t){1&n&&Je(0)}function y0e(n,t){1&n&&_e(0,"p-progressBar",18),2&n&&_("value",C(2).progress)("showValue",!1)}function _0e(n,t){if(1&n){const e=Ne();S(0,"img",26),se("error",function(r){return ee(e),te(C(5).imageError(r))}),E()}if(2&n){const e=C().$implicit,i=C(4);_("src",e.objectURL,ss)("width",i.previewWidth)}}function v0e(n,t){if(1&n){const e=Ne();S(0,"div",22)(1,"div"),D(2,_0e,1,2,"img",23),E(),S(3,"div",24),Se(4),E(),S(5,"div"),Se(6),E(),S(7,"div")(8,"button",25),se("click",function(r){const s=ee(e).index;return te(C(4).remove(r,s))}),E()()()}if(2&n){const e=t.$implicit,i=C(4);b(2),_("ngIf",i.isImage(e)),b(2),Ct(e.name),b(2),Ct(i.formatSize(e.size)),b(2),Ut(i.removeStyleClass),_("disabled",i.uploading)}}function b0e(n,t){if(1&n&&(S(0,"div"),D(1,v0e,9,6,"div",21),E()),2&n){const e=C(3);b(1),_("ngForOf",e.files)}}function C0e(n,t){}function w0e(n,t){if(1&n&&(S(0,"div"),D(1,C0e,0,0,"ng-template",27),E()),2&n){const e=C(3);b(1),_("ngForOf",e.files)("ngForTemplate",e.fileTemplate)}}function T0e(n,t){if(1&n&&(S(0,"div",19),D(1,b0e,2,1,"div",20),D(2,w0e,2,2,"div",20),E()),2&n){const e=C(2);b(1),_("ngIf",!e.fileTemplate),b(1),_("ngIf",e.fileTemplate)}}function D0e(n,t){1&n&&Je(0)}const M0e=function(n,t){return{"p-focus":n,"p-disabled":t}},S0e=function(n){return{$implicit:n}};function E0e(n,t){if(1&n){const e=Ne();S(0,"div",2)(1,"div",3)(2,"span",4),se("focus",function(){return ee(e),te(C().onFocus())})("blur",function(){return ee(e),te(C().onBlur())})("click",function(){return ee(e),te(C().choose())})("keydown.enter",function(){return ee(e),te(C().choose())}),S(3,"input",5,6),se("change",function(r){return ee(e),te(C().onFileSelect(r))}),E(),_e(5,"span",7),S(6,"span",8),Se(7),E()(),D(8,p0e,1,4,"p-button",9),D(9,m0e,1,4,"p-button",9),D(10,g0e,1,0,"ng-container",10),E(),S(11,"div",11,12),se("dragenter",function(r){return ee(e),te(C().onDragEnter(r))})("dragleave",function(r){return ee(e),te(C().onDragLeave(r))})("drop",function(r){return ee(e),te(C().onDrop(r))}),D(13,y0e,1,2,"p-progressBar",13),_e(14,"p-messages",14),D(15,T0e,3,2,"div",15),D(16,D0e,1,0,"ng-container",16),E()()}if(2&n){const e=C();Ut(e.styleClass),_("ngClass","p-fileupload p-fileupload-advanced p-component")("ngStyle",e.style),b(2),Ut(e.chooseStyleClass),_("ngClass",Fn(24,M0e,e.focus,e.disabled||e.isChooseDisabled())),b(1),_("multiple",e.multiple)("accept",e.accept)("disabled",e.disabled||e.isChooseDisabled()),bt("title",""),b(2),Ut(e.chooseIcon),_("ngClass","p-button-icon p-button-icon-left"),b(2),Ct(e.chooseButtonLabel),b(1),_("ngIf",!e.auto&&e.showUploadButton),b(1),_("ngIf",!e.auto&&e.showCancelButton),b(1),_("ngTemplateOutlet",e.toolbarTemplate),b(3),_("ngIf",e.hasFiles()),b(1),_("value",e.msgs)("enableService",!1),b(1),_("ngIf",e.hasFiles()),b(1),_("ngTemplateOutlet",e.contentTemplate)("ngTemplateOutletContext",tt(27,S0e,e.files))}}function x0e(n,t){if(1&n&&(S(0,"span",8),Se(1),E()),2&n){const e=C(2);b(1),Ct(e.basicButtonLabel)}}function I0e(n,t){if(1&n){const e=Ne();S(0,"input",33,34),se("change",function(r){return ee(e),te(C(2).onFileSelect(r))})("focus",function(){return ee(e),te(C(2).onFocus())})("blur",function(){return ee(e),te(C(2).onBlur())}),E()}if(2&n){const e=C(2);_("accept",e.accept)("multiple",e.multiple)("disabled",e.disabled)}}const O0e=function(n,t,e,i){return{"p-button p-component p-fileupload-choose":!0,"p-button-icon-only":n,"p-fileupload-choose-selected":t,"p-focus":e,"p-disabled":i}};function A0e(n,t){if(1&n){const e=Ne();S(0,"div",28),_e(1,"p-messages",14),S(2,"span",29),se("mouseup",function(){return ee(e),te(C().onBasicUploaderClick())})("keydown",function(r){return ee(e),te(C().onBasicKeydown(r))}),_e(3,"span",30),D(4,x0e,2,1,"span",31),D(5,I0e,2,3,"input",32),E()()}if(2&n){const e=C();b(1),_("value",e.msgs)("enableService",!1),b(1),Ut(e.styleClass),_("ngClass",jd(9,O0e,!e.basicButtonLabel,e.hasFiles(),e.focus,e.disabled))("ngStyle",e.style),b(1),_("ngClass",e.hasFiles()&&!e.auto?e.uploadIcon:e.chooseIcon),b(1),_("ngIf",e.basicButtonLabel),b(1),_("ngIf",!e.hasFiles())}}let k0e=(()=>{class n{constructor(e,i,r,o,s,a){this.el=e,this.sanitizer=i,this.zone=r,this.http=o,this.cd=s,this.config=a,this.method="post",this.invalidFileSizeMessageSummary="{0}: Invalid file size, ",this.invalidFileSizeMessageDetail="maximum upload size is {0}.",this.invalidFileTypeMessageSummary="{0}: Invalid file type, ",this.invalidFileTypeMessageDetail="allowed file types: {0}.",this.invalidFileLimitMessageDetail="limit is {0} at most.",this.invalidFileLimitMessageSummary="Maximum number of files exceeded, ",this.previewWidth=50,this.chooseIcon="pi pi-plus",this.uploadIcon="pi pi-upload",this.cancelIcon="pi pi-times",this.showUploadButton=!0,this.showCancelButton=!0,this.mode="advanced",this.onBeforeUpload=new Q,this.onSend=new Q,this.onUpload=new Q,this.onError=new Q,this.onClear=new Q,this.onRemove=new Q,this.onSelect=new Q,this.onProgress=new Q,this.uploadHandler=new Q,this.onImageError=new Q,this._files=[],this.progress=0,this.uploadedFileCount=0}set files(e){this._files=[];for(let i=0;i{switch(e.getType()){case"file":default:this.fileTemplate=e.template;break;case"content":this.contentTemplate=e.template;break;case"toolbar":this.toolbarTemplate=e.template}})}ngOnInit(){this.translationSubscription=this.config.translationObserver.subscribe(()=>{this.cd.markForCheck()})}ngAfterViewInit(){"advanced"===this.mode&&this.zone.runOutsideAngular(()=>{this.content&&this.content.nativeElement.addEventListener("dragover",this.onDragOver.bind(this))})}choose(){this.advancedFileInput.nativeElement.click()}onFileSelect(e){if("drop"!==e.type&&this.isIE11()&&this.duplicateIEEvent)return void(this.duplicateIEEvent=!1);this.msgs=[],this.multiple||(this.files=[]);let i=e.dataTransfer?e.dataTransfer.files:e.target.files;for(let r=0;rthis.maxFileSize&&(this.msgs.push({severity:"error",summary:this.invalidFileSizeMessageSummary.replace("{0}",e.name),detail:this.invalidFileSizeMessageDetail.replace("{0}",this.formatSize(this.maxFileSize))}),1))}isFileTypeValid(e){let i=this.accept.split(",").map(r=>r.trim());for(let r of i)if(this.isWildcard(r)?this.getTypeClass(e.type)===this.getTypeClass(r):e.type==r||this.getFileExtension(e).toLowerCase()===r.toLowerCase())return!0;return!1}getTypeClass(e){return e.substring(0,e.indexOf("/"))}isWildcard(e){return-1!==e.indexOf("*")}getFileExtension(e){return"."+e.name.split(".").pop()}isImage(e){return/^image\//.test(e.type)}onImageLoad(e){window.URL.revokeObjectURL(e.src)}upload(){if(this.customUpload)this.fileLimit&&(this.uploadedFileCount+=this.files.length),this.uploadHandler.emit({files:this.files}),this.cd.markForCheck();else{this.uploading=!0,this.msgs=[];let e=new FormData;this.onBeforeUpload.emit({formData:e});for(let i=0;i{switch(i.type){case Nn.Sent:this.onSend.emit({originalEvent:i,formData:e});break;case Nn.Response:this.uploading=!1,this.progress=0,i.status>=200&&i.status<300?(this.fileLimit&&(this.uploadedFileCount+=this.files.length),this.onUpload.emit({originalEvent:i,files:this.files})):this.onError.emit({files:this.files}),this.clear();break;case Nn.UploadProgress:i.loaded&&(this.progress=Math.round(100*i.loaded/i.total)),this.onProgress.emit({originalEvent:i,progress:this.progress})}this.cd.markForCheck()},i=>{this.uploading=!1,this.onError.emit({files:this.files,error:i})})}}clear(){this.files=[],this.onClear.emit(),this.clearInputElement(),this.cd.markForCheck()}remove(e,i){this.clearInputElement(),this.onRemove.emit({originalEvent:e,file:this.files[i]}),this.files.splice(i,1),this.checkFileLimit()}isFileLimitExceeded(){return this.fileLimit&&this.fileLimit<=this.files.length+this.uploadedFileCount&&this.focus&&(this.focus=!1),this.fileLimit&&this.fileLimit0}onDragEnter(e){this.disabled||(e.stopPropagation(),e.preventDefault())}onDragOver(e){this.disabled||(q.addClass(this.content.nativeElement,"p-fileupload-highlight"),this.dragHighlight=!0,e.stopPropagation(),e.preventDefault())}onDragLeave(e){this.disabled||q.removeClass(this.content.nativeElement,"p-fileupload-highlight")}onDrop(e){if(!this.disabled){q.removeClass(this.content.nativeElement,"p-fileupload-highlight"),e.stopPropagation(),e.preventDefault();let i=e.dataTransfer?e.dataTransfer.files:e.target.files;(this.multiple||i&&1===i.length)&&this.onFileSelect(e)}}onFocus(){this.focus=!0}onBlur(){this.focus=!1}formatSize(e){if(0==e)return"0 B";let s=Math.floor(Math.log(e)/Math.log(1e3));return parseFloat((e/Math.pow(1e3,s)).toFixed(3))+" "+["B","KB","MB","GB","TB","PB","EB","ZB","YB"][s]}onBasicUploaderClick(){this.hasFiles()?this.upload():this.basicFileInput.nativeElement.click()}onBasicKeydown(e){switch(e.code){case"Space":case"Enter":this.onBasicUploaderClick(),e.preventDefault()}}imageError(e){this.onImageError.emit(e)}getBlockableElement(){return this.el.nativeElement.children[0]}get chooseButtonLabel(){return this.chooseLabel||this.config.getTranslation(Cl.CHOOSE)}get uploadButtonLabel(){return this.uploadLabel||this.config.getTranslation(Cl.UPLOAD)}get cancelButtonLabel(){return this.cancelLabel||this.config.getTranslation(Cl.CANCEL)}ngOnDestroy(){this.content&&this.content.nativeElement&&this.content.nativeElement.removeEventListener("dragover",this.onDragOver),this.translationSubscription&&this.translationSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(I(Dt),I(V_),I(Yt),I(Ki),I(In),I(bl))},n.\u0275cmp=we({type:n,selectors:[["p-fileUpload"]],contentQueries:function(e,i,r){if(1&e&&Yn(r,Pi,4),2&e){let o;Ve(o=Be())&&(i.templates=o)}},viewQuery:function(e,i){if(1&e&&(Mt(d0e,5),Mt(h0e,5),Mt(f0e,5)),2&e){let r;Ve(r=Be())&&(i.advancedFileInput=r.first),Ve(r=Be())&&(i.basicFileInput=r.first),Ve(r=Be())&&(i.content=r.first)}},hostAttrs:[1,"p-element"],inputs:{name:"name",url:"url",method:"method",multiple:"multiple",accept:"accept",disabled:"disabled",auto:"auto",withCredentials:"withCredentials",maxFileSize:"maxFileSize",invalidFileSizeMessageSummary:"invalidFileSizeMessageSummary",invalidFileSizeMessageDetail:"invalidFileSizeMessageDetail",invalidFileTypeMessageSummary:"invalidFileTypeMessageSummary",invalidFileTypeMessageDetail:"invalidFileTypeMessageDetail",invalidFileLimitMessageDetail:"invalidFileLimitMessageDetail",invalidFileLimitMessageSummary:"invalidFileLimitMessageSummary",style:"style",styleClass:"styleClass",previewWidth:"previewWidth",chooseLabel:"chooseLabel",uploadLabel:"uploadLabel",cancelLabel:"cancelLabel",chooseIcon:"chooseIcon",uploadIcon:"uploadIcon",cancelIcon:"cancelIcon",showUploadButton:"showUploadButton",showCancelButton:"showCancelButton",mode:"mode",headers:"headers",customUpload:"customUpload",fileLimit:"fileLimit",uploadStyleClass:"uploadStyleClass",cancelStyleClass:"cancelStyleClass",removeStyleClass:"removeStyleClass",chooseStyleClass:"chooseStyleClass",files:"files"},outputs:{onBeforeUpload:"onBeforeUpload",onSend:"onSend",onUpload:"onUpload",onError:"onError",onClear:"onClear",onRemove:"onRemove",onSelect:"onSelect",onProgress:"onProgress",uploadHandler:"uploadHandler",onImageError:"onImageError"},decls:2,vars:2,consts:[[3,"ngClass","ngStyle","class",4,"ngIf"],["class","p-fileupload p-fileupload-basic p-component",4,"ngIf"],[3,"ngClass","ngStyle"],[1,"p-fileupload-buttonbar"],["pRipple","","tabindex","0",1,"p-button","p-component","p-fileupload-choose",3,"ngClass","focus","blur","click","keydown.enter"],["type","file",3,"multiple","accept","disabled","change"],["advancedfileinput",""],[3,"ngClass"],[1,"p-button-label"],["type","button",3,"label","icon","disabled","styleClass","onClick",4,"ngIf"],[4,"ngTemplateOutlet"],[1,"p-fileupload-content",3,"dragenter","dragleave","drop"],["content",""],[3,"value","showValue",4,"ngIf"],[3,"value","enableService"],["class","p-fileupload-files",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["type","button",3,"label","icon","disabled","styleClass","onClick"],[3,"value","showValue"],[1,"p-fileupload-files"],[4,"ngIf"],["class","p-fileupload-row",4,"ngFor","ngForOf"],[1,"p-fileupload-row"],[3,"src","width","error",4,"ngIf"],[1,"p-fileupload-filename"],["type","button","icon","pi pi-times","pButton","",3,"disabled","click"],[3,"src","width","error"],["ngFor","",3,"ngForOf","ngForTemplate"],[1,"p-fileupload","p-fileupload-basic","p-component"],["tabindex","0","pRipple","",3,"ngClass","ngStyle","mouseup","keydown"],[1,"p-button-icon","p-button-icon-left","pi",3,"ngClass"],["class","p-button-label",4,"ngIf"],["type","file",3,"accept","multiple","disabled","change","focus","blur",4,"ngIf"],["type","file",3,"accept","multiple","disabled","change","focus","blur"],["basicfileinput",""]],template:function(e,i){1&e&&(D(0,E0e,17,29,"div",0),D(1,A0e,6,14,"div",1)),2&e&&(_("ngIf","advanced"===i.mode),b(1),_("ngIf","basic"===i.mode))},dependencies:[qn,Er,$t,qr,ki,bo,JL,u0e,o0e,wl],styles:[".p-fileupload-content{position:relative}.p-fileupload-row{display:flex;align-items:center}.p-fileupload-row>div{flex:1 1 auto;width:25%}.p-fileupload-row>div:last-child{text-align:right}.p-fileupload-content .p-progressbar{width:100%;position:absolute;top:0;left:0}.p-button.p-fileupload-choose{position:relative;overflow:hidden}.p-button.p-fileupload-choose input[type=file],.p-fileupload-choose.p-fileupload-choose-selected input[type=file]{display:none}.p-fluid .p-fileupload .p-button{width:auto}.p-fileupload-filename{word-break:break-all}\n"],encapsulation:2,changeDetection:0}),n})(),EV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn,zo,Vo,SV,MV,Ra,zo,Vo,SV,MV]}),n})();function N0e(n,t){if(1&n&&(it(0),_e(1,"img",3),rt()),2&n){const e=C();b(1),_("src",e.src||e.file.objectURL,ss)("alt",e.file.name)}}function P0e(n,t){if(1&n&&(it(0),S(1,"video",4),_e(2,"source",5),E(),rt()),2&n){const e=C();b(2),_("src",e.src||e.file.objectURL,ss)}}function L0e(n,t){1&n&&(S(0,"p"),Se(1,"Select an accepted asset type"),E())}class Gg{}function R0e(n,t){if(1&n){const e=Ne();S(0,"p-fileUpload",2),se("onSelect",function(r){return ee(e),te(C().onSelectFile(r.files))}),E()}2&n&&_("accept",C().type+"/*")("customUpload",!0)}function F0e(n,t){if(1&n&&_e(0,"dot-asset-preview",11),2&n){const e=C(2);_("type",e.type)("file",e.file)("src",e.src)}}function j0e(n,t){if(1&n&&(S(0,"span",13),Se(1),E()),2&n){const e=C(3);b(1),Ct(e.error)}}function z0e(n,t){1&n&&D(0,j0e,2,1,"ng-template",null,12,Mn)}function V0e(n,t){if(1&n){const e=Ne();S(0,"div",3),D(1,F0e,1,3,"dot-asset-preview",4),D(2,z0e,2,0,null,5),E(),S(3,"div",6)(4,"div",7),_e(5,"dot-spinner",8),S(6,"span",9),se("@shakeit.done",function(r){return ee(e),te(C().shakeEnd(r))}),Se(7),E()(),S(8,"button",10),se("click",function(){return ee(e),te(C().cancelAction())}),Se(9," Cancel "),E()()}if(2&n){const e=C();b(1),_("ngIf","UPLOAD"===e.status),b(1),_("ngIf","ERROR"===e.status),b(3),_("size","30px"),b(1),_("@shakeit",e.animation),b(1),bi(" ",e.errorMessage," ")}}Gg.\u0275fac=function(t){return new(t||Gg)},Gg.\u0275cmp=we({type:Gg,selectors:[["dot-asset-preview"]],inputs:{type:"type",file:"file",src:"src"},decls:4,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"src","alt"],["controls","","preload","metadata"],[3,"src"]],template:function(t,e){1&t&&(it(0,0),D(1,N0e,2,2,"ng-container",1),D(2,P0e,3,1,"ng-container",1),D(3,L0e,2,0,"p",2),rt()),2&t&&(_("ngSwitch",e.type),b(1),_("ngSwitchCase","image"),b(1),_("ngSwitchCase","video"))},dependencies:[Nc,yp,_p],styles:["[_nghost-%COMP%]{height:100%;width:100%;display:flex;justify-content:center;align-items:center}[_nghost-%COMP%] img[_ngcontent-%COMP%]{height:100%;width:100%;object-fit:contain}[_nghost-%COMP%] video[_ngcontent-%COMP%]{width:100%;height:100%;max-height:100%;max-width:100%;object-fit:contain}"],changeDetection:0});var ia=(()=>(function(n){n.SELECT="SELECT",n.PREVIEW="PREVIEW",n.UPLOAD="UPLOAD",n.ERROR="ERROR"}(ia||(ia={})),ia))();class Yg{constructor(t,e,i,r){this.sanitizer=t,this.dotUploadFileService=e,this.cd=i,this.el=r,this.uploadedFile=new Q,this.preventClose=new Q,this.hide=new Q,this.status=ia.SELECT,this.animation="shakeend"}get errorMessage(){return` Don't close this window while the ${this.type} uploads`}onClick(t){const e=!this.el.nativeElement.contains(t);this.status===ia.UPLOAD&&e&&this.shakeMe()}ngOnDestroy(){this.preventClose.emit(!1)}onSelectFile(t){const e=t[0],i=new FileReader;this.preventClose.emit(!0),i.onload=r=>this.setFile(e,r.target.result),i.readAsArrayBuffer(e)}cancelAction(){this.file=null,this.status=ia.SELECT,this.cancelUploading(),this.hide.emit(!0)}shakeEnd(){this.animation="shakeend"}shakeMe(){"shakestart"!==this.animation&&(this.animation="shakestart")}uploadFile(){this.controller=new AbortController,this.status=ia.UPLOAD,this.$uploadRequestSubs=this.dotUploadFileService.publishContent({data:this.file,signal:this.controller.signal}).pipe(At(1),zi(t=>this.handleError(t))).subscribe(t=>{const e=t[0];this.uploadedFile.emit(e[Object.keys(e)[0]]),this.status=ia.SELECT})}setFile(t,e){const i=new Blob([new Uint8Array(e)],{type:"video/mp4"});this.src=this.sanitizer.bypassSecurityTrustResourceUrl(URL.createObjectURL(i)),this.file=t,this.status=ia.UPLOAD,this.uploadFile(),this.cd.markForCheck()}handleError(t){return this.status=ia.ERROR,this.preventClose.emit(!1),this.error=t?.error?.errors[0]||t.error,console.error(t),yo(t)}cancelUploading(){this.$uploadRequestSubs.unsubscribe(),this.controller?.abort()}}Yg.\u0275fac=function(t){return new(t||Yg)(I(V_),I(Js),I(In),I(Dt))},Yg.\u0275cmp=we({type:Yg,selectors:[["dot-upload-asset"]],hostBindings:function(t,e){1&t&&se("click",function(r){return e.onClick(r.target)},0,cO)},inputs:{type:"type"},outputs:{uploadedFile:"uploadedFile",preventClose:"preventClose",hide:"hide"},decls:3,vars:2,consts:[["chooseLabel","browse files","mode","basic",3,"accept","customUpload","onSelect",4,"ngIf","ngIfElse"],["preview",""],["chooseLabel","browse files","mode","basic",3,"accept","customUpload","onSelect"],[1,"preview-container"],[3,"type","file","src",4,"ngIf"],[4,"ngIf"],[1,"action-container"],[1,"loading-message"],[3,"size"],[1,"warning"],["data-test-id","back-btn","pButton","",1,"p-button-outlined",3,"click"],[3,"type","file","src"],["errorTemplate",""],[1,"error"]],template:function(t,e){if(1&t&&(D(0,R0e,1,2,"p-fileUpload",0),D(1,V0e,10,5,"ng-template",null,1,Mn)),2&t){const i=Bt(2);_("ngIf","SELECT"===e.status)("ngIfElse",i)}},dependencies:[$t,Yh,bo,k0e,Gg],styles:["[_nghost-%COMP%]{height:100%;width:100%;padding:1rem;gap:1rem;display:flex;justify-content:center;align-items:center;flex-direction:column}[_nghost-%COMP%] .error[_ngcontent-%COMP%]{color:#d82b2e;font-size:1.25rem;max-width:100%;white-space:pre-wrap}[_nghost-%COMP%] .preview-container[_ngcontent-%COMP%]{align-items:center;display:flex;flex-grow:1;justify-content:center;overflow:hidden;width:100%;flex-direction:column}[_nghost-%COMP%] .preview-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:100%;width:100%;object-fit:contain}[_nghost-%COMP%] .action-container[_ngcontent-%COMP%]{display:flex;height:-moz-fit-content;height:fit-content;justify-content:space-between;width:100%}[_nghost-%COMP%] .loading-message[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:1rem}[_nghost-%COMP%] .warning[_ngcontent-%COMP%]{display:block;font-style:normal;text-align:center;color:#14151a}"],data:{animation:[$be]},changeDetection:0});let IV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn,JF,Ra,Du,JF,Du]}),n})();function fCe(n,t){1&n&&Je(0)}function pCe(n,t){if(1&n&&(it(0),D(1,fCe,1,0,"ng-container",3),rt()),2&n){const e=C(2);b(1),_("ngTemplateOutlet",e.contentTemplate)}}function mCe(n,t){if(1&n&&(S(0,"div",1),Ii(1),D(2,pCe,2,1,"ng-container",2),E()),2&n){const e=C();_("hidden",!e.selected),bt("id",e.id)("aria-hidden",!e.selected)("aria-labelledby",e.id+"-label"),b(2),_("ngIf",e.contentTemplate&&(e.cache?e.loaded:e.selected))}}const OV=["*"],gCe=["content"],yCe=["navbar"],_Ce=["prevBtn"],vCe=["nextBtn"],bCe=["inkbar"];function CCe(n,t){if(1&n){const e=Ne();S(0,"button",12,13),se("click",function(){return ee(e),te(C().navBackward())}),_e(2,"span",14),E()}}function wCe(n,t){1&n&&_e(0,"span",24),2&n&&_("ngClass",C(3).$implicit.leftIcon)}function TCe(n,t){1&n&&_e(0,"span",25),2&n&&_("ngClass",C(3).$implicit.rightIcon)}function DCe(n,t){if(1&n&&(it(0),D(1,wCe,1,1,"span",21),S(2,"span",22),Se(3),E(),D(4,TCe,1,1,"span",23),rt()),2&n){const e=C(2).$implicit;b(1),_("ngIf",e.leftIcon),b(2),Ct(e.header),b(1),_("ngIf",e.rightIcon)}}function MCe(n,t){1&n&&Je(0)}function SCe(n,t){if(1&n){const e=Ne();S(0,"span",26),se("click",function(r){ee(e);const o=C(2).$implicit;return te(C().close(r,o))}),E()}}const ECe=function(n,t){return{"p-highlight":n,"p-disabled":t}};function xCe(n,t){if(1&n){const e=Ne();S(0,"li",16)(1,"a",17),se("click",function(r){ee(e);const o=C().$implicit;return te(C().open(r,o))})("keydown.enter",function(r){ee(e);const o=C().$implicit;return te(C().open(r,o))}),D(2,DCe,5,3,"ng-container",18),D(3,MCe,1,0,"ng-container",19),D(4,SCe,1,0,"span",20),E()()}if(2&n){const e=C().$implicit;Ut(e.headerStyleClass),_("ngClass",Fn(16,ECe,e.selected,e.disabled))("ngStyle",e.headerStyle),b(1),_("pTooltip",e.tooltip)("tooltipPosition",e.tooltipPosition)("positionStyle",e.tooltipPositionStyle)("tooltipStyleClass",e.tooltipStyleClass),bt("id",e.id+"-label")("aria-selected",e.selected)("aria-controls",e.id)("aria-selected",e.selected)("tabindex",e.disabled?null:"0"),b(1),_("ngIf",!e.headerTemplate),b(1),_("ngTemplateOutlet",e.headerTemplate),b(1),_("ngIf",e.closable)}}function ICe(n,t){1&n&&D(0,xCe,5,19,"li",15),2&n&&_("ngIf",!t.$implicit.closed)}function OCe(n,t){if(1&n){const e=Ne();S(0,"button",27,28),se("click",function(){return ee(e),te(C().navForward())}),_e(2,"span",29),E()}}const ACe=function(n){return{"p-tabview p-component":!0,"p-tabview-scrollable":n}};let kCe=0,AV=(()=>{class n{constructor(e,i,r){this.viewContainer=i,this.cd=r,this.cache=!0,this.tooltipPosition="top",this.tooltipPositionStyle="absolute",this.id="p-tabpanel-"+kCe++,this.tabView=e}ngAfterContentInit(){this.templates.forEach(e=>{"header"===e.getType()?this.headerTemplate=e.template:this.contentTemplate=e.template})}get selected(){return this._selected}set selected(e){this._selected=e,this.loaded||this.cd.detectChanges(),e&&(this.loaded=!0)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this.tabView.cd.markForCheck()}get header(){return this._header}set header(e){this._header=e,Promise.resolve().then(()=>{this.tabView.updateInkBar(),this.tabView.cd.markForCheck()})}get leftIcon(){return this._leftIcon}set leftIcon(e){this._leftIcon=e,this.tabView.cd.markForCheck()}get rightIcon(){return this._rightIcon}set rightIcon(e){this._rightIcon=e,this.tabView.cd.markForCheck()}ngOnDestroy(){this.view=null}}return n.\u0275fac=function(e){return new(e||n)(I(Ft(()=>kV)),I(Gr),I(In))},n.\u0275cmp=we({type:n,selectors:[["p-tabPanel"]],contentQueries:function(e,i,r){if(1&e&&Yn(r,Pi,4),2&e){let o;Ve(o=Be())&&(i.templates=o)}},hostAttrs:[1,"p-element"],inputs:{closable:"closable",headerStyle:"headerStyle",headerStyleClass:"headerStyleClass",cache:"cache",tooltip:"tooltip",tooltipPosition:"tooltipPosition",tooltipPositionStyle:"tooltipPositionStyle",tooltipStyleClass:"tooltipStyleClass",selected:"selected",disabled:"disabled",header:"header",leftIcon:"leftIcon",rightIcon:"rightIcon"},ngContentSelectors:OV,decls:1,vars:1,consts:[["class","p-tabview-panel","role","tabpanel",3,"hidden",4,"ngIf"],["role","tabpanel",1,"p-tabview-panel",3,"hidden"],[4,"ngIf"],[4,"ngTemplateOutlet"]],template:function(e,i){1&e&&($r(),D(0,mCe,3,5,"div",0)),2&e&&_("ngIf",!i.closed)},dependencies:[$t,qr],encapsulation:2}),n})(),kV=(()=>{class n{constructor(e,i){this.el=e,this.cd=i,this.orientation="top",this.onChange=new Q,this.onClose=new Q,this.activeIndexChange=new Q,this.backwardIsDisabled=!0,this.forwardIsDisabled=!1}ngAfterContentInit(){this.initTabs(),this.tabChangesSubscription=this.tabPanels.changes.subscribe(e=>{this.initTabs()})}ngAfterViewChecked(){this.tabChanged&&(this.updateInkBar(),this.tabChanged=!1)}ngOnDestroy(){this.tabChangesSubscription&&this.tabChangesSubscription.unsubscribe()}initTabs(){this.tabs=this.tabPanels.toArray(),!this.findSelectedTab()&&this.tabs.length&&(null!=this.activeIndex&&this.tabs.length>this.activeIndex?this.tabs[this.activeIndex].selected=!0:this.tabs[0].selected=!0,this.tabChanged=!0),this.cd.markForCheck()}open(e,i){if(i.disabled)e&&e.preventDefault();else{if(!i.selected){let r=this.findSelectedTab();r&&(r.selected=!1),this.tabChanged=!0,i.selected=!0;let o=this.findTabIndex(i);this.preventActiveIndexPropagation=!0,this.activeIndexChange.emit(o),this.onChange.emit({originalEvent:e,index:o}),this.updateScrollBar(o)}e&&e.preventDefault()}}close(e,i){this.controlClose?this.onClose.emit({originalEvent:e,index:this.findTabIndex(i),close:()=>{this.closeTab(i)}}):(this.closeTab(i),this.onClose.emit({originalEvent:e,index:this.findTabIndex(i)})),e.stopPropagation()}closeTab(e){if(!e.disabled){if(e.selected){this.tabChanged=!0,e.selected=!1;for(let i=0;ithis._activeIndex&&(this.findSelectedTab().selected=!1,this.tabs[this._activeIndex].selected=!0,this.tabChanged=!0,this.updateScrollBar(e))}updateInkBar(){if(this.navbar){const e=q.findSingle(this.navbar.nativeElement,"li.p-highlight");if(!e)return;this.inkbar.nativeElement.style.width=q.getWidth(e)+"px",this.inkbar.nativeElement.style.left=q.getOffset(e).left-q.getOffset(this.navbar.nativeElement).left+"px"}}updateScrollBar(e){this.navbar.nativeElement.children[e].scrollIntoView({block:"nearest"})}updateButtonState(){const e=this.content.nativeElement,{scrollLeft:i,scrollWidth:r}=e,o=q.getWidth(e);this.backwardIsDisabled=0===i,this.forwardIsDisabled=parseInt(i)===r-o}onScroll(e){this.scrollable&&this.updateButtonState(),e.preventDefault()}getVisibleButtonWidths(){return[this.prevBtn?.nativeElement,this.nextBtn?.nativeElement].reduce((e,i)=>i?e+q.getWidth(i):e,0)}navBackward(){const e=this.content.nativeElement,i=q.getWidth(e)-this.getVisibleButtonWidths(),r=e.scrollLeft-i;e.scrollLeft=r<=0?0:r}navForward(){const e=this.content.nativeElement,i=q.getWidth(e)-this.getVisibleButtonWidths(),r=e.scrollLeft+i,o=e.scrollWidth-i;e.scrollLeft=r>=o?o:r}}return n.\u0275fac=function(e){return new(e||n)(I(Dt),I(In))},n.\u0275cmp=we({type:n,selectors:[["p-tabView"]],contentQueries:function(e,i,r){if(1&e&&Yn(r,AV,4),2&e){let o;Ve(o=Be())&&(i.tabPanels=o)}},viewQuery:function(e,i){if(1&e&&(Mt(gCe,5),Mt(yCe,5),Mt(_Ce,5),Mt(vCe,5),Mt(bCe,5)),2&e){let r;Ve(r=Be())&&(i.content=r.first),Ve(r=Be())&&(i.navbar=r.first),Ve(r=Be())&&(i.prevBtn=r.first),Ve(r=Be())&&(i.nextBtn=r.first),Ve(r=Be())&&(i.inkbar=r.first)}},hostAttrs:[1,"p-element"],inputs:{orientation:"orientation",style:"style",styleClass:"styleClass",controlClose:"controlClose",scrollable:"scrollable",activeIndex:"activeIndex"},outputs:{onChange:"onChange",onClose:"onClose",activeIndexChange:"activeIndexChange"},ngContentSelectors:OV,decls:13,vars:9,consts:[[3,"ngClass","ngStyle"],[1,"p-tabview-nav-container"],["class","p-tabview-nav-prev p-tabview-nav-btn p-link","type","button","pRipple","",3,"click",4,"ngIf"],[1,"p-tabview-nav-content",3,"scroll"],["content",""],["role","tablist",1,"p-tabview-nav"],["navbar",""],["ngFor","",3,"ngForOf"],[1,"p-tabview-ink-bar"],["inkbar",""],["class","p-tabview-nav-next p-tabview-nav-btn p-link","type","button","pRipple","",3,"click",4,"ngIf"],[1,"p-tabview-panels"],["type","button","pRipple","",1,"p-tabview-nav-prev","p-tabview-nav-btn","p-link",3,"click"],["prevBtn",""],[1,"pi","pi-chevron-left"],["role","presentation",3,"ngClass","ngStyle","class",4,"ngIf"],["role","presentation",3,"ngClass","ngStyle"],["role","tab","pRipple","",1,"p-tabview-nav-link",3,"pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","click","keydown.enter"],[4,"ngIf"],[4,"ngTemplateOutlet"],["class","p-tabview-close pi pi-times",3,"click",4,"ngIf"],["class","p-tabview-left-icon",3,"ngClass",4,"ngIf"],[1,"p-tabview-title"],["class","p-tabview-right-icon",3,"ngClass",4,"ngIf"],[1,"p-tabview-left-icon",3,"ngClass"],[1,"p-tabview-right-icon",3,"ngClass"],[1,"p-tabview-close","pi","pi-times",3,"click"],["type","button","pRipple","",1,"p-tabview-nav-next","p-tabview-nav-btn","p-link",3,"click"],["nextBtn",""],[1,"pi","pi-chevron-right"]],template:function(e,i){1&e&&($r(),S(0,"div",0)(1,"div",1),D(2,CCe,3,0,"button",2),S(3,"div",3,4),se("scroll",function(o){return i.onScroll(o)}),S(5,"ul",5,6),D(7,ICe,1,1,"ng-template",7),_e(8,"li",8,9),E()(),D(10,OCe,3,0,"button",10),E(),S(11,"div",11),Ii(12),E()()),2&e&&(Ut(i.styleClass),_("ngClass",tt(7,ACe,i.scrollable))("ngStyle",i.style),b(2),_("ngIf",i.scrollable&&!i.backwardIsDisabled),b(5),_("ngForOf",i.tabs),b(3),_("ngIf",i.scrollable&&!i.forwardIsDisabled))},dependencies:[qn,Er,$t,qr,ki,bg,wl],styles:[".p-tabview-nav-container{position:relative}.p-tabview-scrollable .p-tabview-nav-container{overflow:hidden}.p-tabview-nav-content{overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior:contain auto}.p-tabview-nav{display:flex;margin:0;padding:0;list-style-type:none;flex:1 1 auto}.p-tabview-nav-link{cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center;position:relative;text-decoration:none;overflow:hidden}.p-tabview-ink-bar{display:none;z-index:1}.p-tabview-nav-link:focus{z-index:1}.p-tabview-title{line-height:1;white-space:nowrap}.p-tabview-nav-btn{position:absolute;top:0;z-index:2;height:100%;display:flex;align-items:center;justify-content:center}.p-tabview-nav-prev{left:0}.p-tabview-nav-next{right:0}.p-tabview-nav-content::-webkit-scrollbar{display:none}.p-tabview-close{z-index:1}\n"],encapsulation:2,changeDetection:0}),n})(),NV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn,zo,Du,Ra,zo]}),n})();class Nu{}Nu.\u0275fac=function(t){return new(t||Nu)},Nu.\u0275mod=et({type:Nu}),Nu.\u0275inj=ft({imports:[IV,Uz,Vo,Hz,jz,V1,M1,NV,DV,oz,EV,SD,IV,Uz,Vo,Hz,jz,V1,M1,NV,DV,oz,EV,SD]});class cf{}cf.\u0275fac=function(t){return new(t||cf)},cf.\u0275mod=et({type:cf}),cf.\u0275inj=ft({providers:[Js],imports:[gn,lv,Qd,Tu,Nu]}),Ei(Gh,[Pi,kV,AV,Wg,$g,Yg],[]);class Pu{}Pu.\u0275fac=function(t){return new(t||Pu)},Pu.\u0275mod=et({type:Pu}),Pu.\u0275inj=ft({providers:[Ql],imports:[gn,lv,Qd,Vo]}),Ei(Jl,[Er,$t,Hh,vu,Uh],[]);class uf{}uf.\u0275fac=function(t){return new(t||uf)},uf.\u0275mod=et({type:uf}),uf.\u0275inj=ft({providers:[Js,Co,Hc,Zl,{provide:dp,useFactory:n=>()=>n.init(),deps:[To],multi:!0}],imports:[gn,lv,Qd,Pu,Nu,cf,Xh,lf,Qd,Pu]}),Ei(rf,[Er,$t,Ig],[]),Ei(nf,[$t,Kd,pl,Lc,$d,Aa,Rc,mE,bo,Sg,xg,tf],[]),Ei(tf,[Er,$t,Hh,vu,mg,Uh],[]);class PCe extends TypeError{constructor(t,e){let i;const{message:r,explanation:o,...s}=t,{path:a}=t,l=0===a.length?r:`At path: ${a.join(".")} -- ${r}`;super(o??l),null!=o&&(this.cause=l),Object.assign(this,s),this.name=this.constructor.name,this.failures=()=>i??(i=[t,...e()])}}function Qo(n){return"object"==typeof n&&null!=n}function Ri(n){return"symbol"==typeof n?n.toString():"string"==typeof n?JSON.stringify(n):`${n}`}function FCe(n,t,e,i){if(!0===n)return;!1===n?n={}:"string"==typeof n&&(n={message:n});const{path:r,branch:o}=t,{type:s}=e,{refinement:a,message:l=`Expected a value of type \`${s}\`${a?` with refinement \`${a}\``:""}, but received: \`${Ri(i)}\``}=n;return{value:i,type:s,refinement:a,key:r[r.length-1],path:r,branch:o,...n,message:l}}function*xE(n,t,e,i){(function LCe(n){return Qo(n)&&"function"==typeof n[Symbol.iterator]})(n)||(n=[n]);for(const r of n){const o=FCe(r,t,e,i);o&&(yield o)}}function*IE(n,t,e={}){const{path:i=[],branch:r=[n],coerce:o=!1,mask:s=!1}=e,a={path:i,branch:r};if(o&&(n=t.coercer(n,a),s&&"type"!==t.type&&Qo(t.schema)&&Qo(n)&&!Array.isArray(n)))for(const c in n)void 0===t.schema[c]&&delete n[c];let l="valid";for(const c of t.validator(n,a))c.explanation=e.message,l="not_valid",yield[c,void 0];for(let[c,u,d]of t.entries(n,a)){const h=IE(u,d,{path:void 0===c?i:[...i,c],branch:void 0===c?r:[...r,u],coerce:o,mask:s,message:e.message});for(const f of h)f[0]?(l=null!=f[0].refinement?"not_refined":"not_valid",yield[f[0],void 0]):o&&(u=f[1],void 0===c?n=u:n instanceof Map?n.set(c,u):n instanceof Set?n.add(u):Qo(n)&&(void 0!==u||c in n)&&(n[c]=u))}if("not_valid"!==l)for(const c of t.refiner(n,a))c.explanation=e.message,l="not_refined",yield[c,void 0];"valid"===l&&(yield[void 0,n])}class Di{constructor(t){const{type:e,schema:i,validator:r,refiner:o,coercer:s=(l=>l),entries:a=function*(){}}=t;this.type=e,this.schema=i,this.entries=a,this.coercer=s,this.validator=r?(l,c)=>xE(r(l,c),c,this,l):()=>[],this.refiner=o?(l,c)=>xE(o(l,c),c,this,l):()=>[]}assert(t,e){return LV(t,this,e)}create(t,e){return function jCe(n,t,e){const i=Kg(n,t,{coerce:!0,message:e});if(i[0])throw i[0];return i[1]}(t,this,e)}is(t){return function RV(n,t){return!Kg(n,t)[0]}(t,this)}mask(t,e){return function zCe(n,t,e){const i=Kg(n,t,{coerce:!0,mask:!0,message:e});if(i[0])throw i[0];return i[1]}(t,this,e)}validate(t,e={}){return Kg(t,this,e)}}function LV(n,t,e){const i=Kg(n,t,{message:e});if(i[0])throw i[0]}function Kg(n,t,e={}){const i=IE(n,t,e),r=function RCe(n){const{done:t,value:e}=n.next();return t?void 0:e}(i);return r[0]?[new PCe(r[0],function*(){for(const s of i)s[0]&&(yield s[0])}),void 0]:[void 0,r[1]]}function So(n,t){return new Di({type:n,schema:null,validator:t})}function FV(n){return new Di({type:"array",schema:n,*entries(t){if(n&&Array.isArray(t))for(const[e,i]of t.entries())yield[e,i,n]},coercer:t=>Array.isArray(t)?t.slice():t,validator:t=>Array.isArray(t)||`Expected an array value, but received: ${Ri(t)}`})}function Lu(n){const t=n?Object.keys(n):[],e=function jV(){return So("never",()=>!1)}();return new Di({type:"object",schema:n||null,*entries(i){if(n&&Qo(i)){const r=new Set(Object.keys(i));for(const o of t)r.delete(o),yield[o,i[o],n[o]];for(const o of r)yield[o,i[o],e]}},validator:i=>Qo(i)||`Expected an object, but received: ${Ri(i)}`,coercer:i=>Qo(i)?{...i}:i})}function zV(n){return new Di({...n,validator:(t,e)=>void 0===t||n.validator(t,e),refiner:(t,e)=>void 0===t||n.refiner(t,e)})}function Qg(){return So("string",n=>"string"==typeof n||`Expected a string, but received: ${Ri(n)}`)}const BCe=Sn.create({name:"characterCount",addOptions:()=>({limit:null,mode:"textSize"}),addStorage:()=>({characters:()=>0,words:()=>0}),onBeforeCreate(){this.storage.characters=n=>{const t=n?.node||this.editor.state.doc;return"textSize"===(n?.mode||this.options.mode)?t.textBetween(0,t.content.size,void 0," ").length:t.nodeSize},this.storage.words=n=>{const t=n?.node||this.editor.state.doc;return t.textBetween(0,t.content.size," "," ").split(" ").filter(r=>""!==r).length}},addProseMirrorPlugins(){return[new Kt({key:new an("characterCount"),filterTransaction:(n,t)=>{const e=this.options.limit;if(!n.docChanged||0===e||null==e)return!0;const i=this.storage.characters({node:t.doc}),r=this.storage.characters({node:n.doc});if(r<=e||i>e&&r>e&&r<=i)return!0;if(i>e&&r>e&&r>i||!n.getMeta("paste"))return!1;const s=n.selection.$head.pos;return n.deleteRange(s-(r-e),s),!(this.storage.characters({node:n.doc})>e)}})]}}),UCe=/(?:^|\s)((?:==)((?:[^~=]+))(?:==))$/,HCe=/(?:^|\s)((?:==)((?:[^~=]+))(?:==))/g,$Ce=Pr.create({name:"highlight",addOptions:()=>({multicolor:!1,HTMLAttributes:{}}),addAttributes(){return this.options.multicolor?{color:{default:null,parseHTML:n=>n.getAttribute("data-color")||n.style.backgroundColor,renderHTML:n=>n.color?{"data-color":n.color,style:`background-color: ${n.color}; color: inherit`}:{}}}:{}},parseHTML:()=>[{tag:"mark"}],renderHTML({HTMLAttributes:n}){return["mark",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setHighlight:n=>({commands:t})=>t.setMark(this.name,n),toggleHighlight:n=>({commands:t})=>t.toggleMark(this.name,n),unsetHighlight:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-h":()=>this.editor.commands.toggleHighlight()}},addInputRules(){return[_u({find:UCe,type:this.type})]},addPasteRules(){return[Yl({find:HCe,type:this.type})]}}),Ru=(n,t)=>{for(const e in t)n[e]=t[e];return n},OE="numeric",AE="ascii",kE="alpha",V0="asciinumeric",B0="alphanumeric",NE="domain",$V="whitespace";function KCe(n,t){return n in t||(t[n]=[]),t[n]}function Fu(n,t,e){t[OE]&&(t[V0]=!0,t[B0]=!0),t[AE]&&(t[V0]=!0,t[kE]=!0),t[V0]&&(t[B0]=!0),t[kE]&&(t[B0]=!0),t[B0]&&(t[NE]=!0),t.emoji&&(t[NE]=!0);for(const i in t){const r=KCe(i,e);r.indexOf(n)<0&&r.push(n)}}function oo(n){void 0===n&&(n=null),this.j={},this.jr=[],this.jd=null,this.t=n}oo.groups={},oo.prototype={accepts(){return!!this.t},go(n){const t=this,e=t.j[n];if(e)return e;for(let i=0;i=0&&(e[i]=!0);return e}(s.t,i),e);Fu(o,l,i)}else e&&Fu(o,e,i);s.t=o}return r.j[n]=s,s}};const qe=(n,t,e,i,r)=>n.ta(t,e,i,r),Zo=(n,t,e,i,r)=>n.tr(t,e,i,r),WV=(n,t,e,i,r)=>n.ts(t,e,i,r),ge=(n,t,e,i,r)=>n.tt(t,e,i,r),Za="WORD",PE="UWORD",Zg="LOCALHOST",RE="UTLD",U0="SCHEME",hf="SLASH_SCHEME",ff="OPENBRACE",Jg="OPENBRACKET",Xg="OPENANGLEBRACKET",ey="OPENPAREN",ju="CLOSEBRACE",pf="CLOSEBRACKET",mf="CLOSEANGLEBRACKET",zu="CLOSEPAREN",H0="AMPERSAND",$0="APOSTROPHE",W0="ASTERISK",nc="AT",G0="BACKSLASH",Y0="BACKTICK",q0="CARET",ic="COLON",zE="COMMA",K0="DOLLAR",ra="DOT",Q0="EQUALS",VE="EXCLAMATION",oa="HYPHEN",Z0="PERCENT",J0="PIPE",X0="PLUS",eC="POUND",tC="QUERY",BE="QUOTE",UE="SEMI",sa="SLASH",ty="TILDE",nC="UNDERSCORE",iC="SYM";var qV=Object.freeze({__proto__:null,WORD:Za,UWORD:PE,LOCALHOST:Zg,TLD:"TLD",UTLD:RE,SCHEME:U0,SLASH_SCHEME:hf,NUM:"NUM",WS:"WS",NL:"NL",OPENBRACE:ff,OPENBRACKET:Jg,OPENANGLEBRACKET:Xg,OPENPAREN:ey,CLOSEBRACE:ju,CLOSEBRACKET:pf,CLOSEANGLEBRACKET:mf,CLOSEPAREN:zu,AMPERSAND:H0,APOSTROPHE:$0,ASTERISK:W0,AT:nc,BACKSLASH:G0,BACKTICK:Y0,CARET:q0,COLON:ic,COMMA:zE,DOLLAR:K0,DOT:ra,EQUALS:Q0,EXCLAMATION:VE,HYPHEN:oa,PERCENT:Z0,PIPE:J0,PLUS:X0,POUND:eC,QUERY:tC,QUOTE:BE,SEMI:UE,SLASH:sa,TILDE:ty,UNDERSCORE:nC,EMOJI:"EMOJI",SYM:iC});const Vu=/[a-z]/,rC=/\p{L}/u,oC=/\p{Emoji}/u,sC=/\d/,HE=/\s/;let aC=null,lC=null;function rc(n,t,e,i,r){let o;const s=t.length;for(let a=0;a=0;)o++;if(o>0){t.push(e.join(""));for(let s=parseInt(n.substring(i,i+o),10);s>0;s--)e.pop();i+=o}else e.push(n[i]),i++}return t}const gf={defaultProtocol:"http",events:null,format:ZV,formatHref:ZV,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function cC(n,t){void 0===t&&(t=null);let e=Ru({},gf);n&&(e=Ru(e,n instanceof cC?n.o:n));const i=e.ignoreTags,r=[];for(let o=0;on,check(n){return this.get("validate",n.toString(),n)},get(n,t,e){const i=null!=t;let r=this.o[n];return r&&("object"==typeof r?(r=e.t in r?r[e.t]:gf[n],"function"==typeof r&&i&&(r=r(t,e))):"function"==typeof r&&i&&(r=r(t,e.t,e)),r)},getObj(n,t,e){let i=this.o[n];return"function"==typeof i&&null!=t&&(i=i(t,e.t,e)),i},render(n){const t=n.render(this);return(this.get("render",null,n)||this.defaultRender)(t,n.t,n)}},uC.prototype={isLink:!1,toString(){return this.v},toHref(n){return this.toString()},toFormattedString(n){const t=this.toString(),e=n.get("truncate",t,this),i=n.get("format",t,this);return e&&i.length>e?i.substring(0,e)+"\u2026":i},toFormattedHref(n){return n.get("formatHref",this.toHref(n.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(n){return void 0===n&&(n=gf.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(n),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(n){return{type:this.t,value:this.toFormattedString(n),isLink:this.isLink,href:this.toFormattedHref(n),start:this.startIndex(),end:this.endIndex()}},validate(n){return n.get("validate",this.toString(),this)},render(n){const t=this,e=this.toHref(n.get("defaultProtocol")),i=n.get("formatHref",e,this),r=n.get("tagName",e,t),o=this.toFormattedString(n),s={},a=n.get("className",e,t),l=n.get("target",e,t),c=n.get("rel",e,t),u=n.getObj("attributes",e,t),d=n.getObj("events",e,t);return s.href=i,a&&(s.class=a),l&&(s.target=l),c&&(s.rel=c),u&&Ru(s,u),{tagName:r,attributes:s,content:o,eventListeners:d}}};const $E=ny("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),WE=ny("text"),JV=ny("nl"),oc=ny("url",{isLink:!0,toHref(n){return void 0===n&&(n=gf.defaultProtocol),this.hasProtocol()?this.v:`${n}://${this.v}`},hasProtocol(){const n=this.tk;return n.length>=2&&n[0].t!==Zg&&n[1].t===ic}}),Hi=n=>new oo(n);function GE(n,t,e){return new n(t.slice(e[0].s,e[e.length-1].e),e)}const iy=typeof console<"u"&&console&&console.warn||(()=>{}),un={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function XV(n,t){if(void 0===t&&(t=!1),un.initialized&&iy(`linkifyjs: already initialized - will not register custom scheme "${n}" until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(n))throw new Error('linkifyjs: incorrect scheme format.\n 1. Must only contain digits, lowercase ASCII letters or "-"\n 2. Cannot start or end with "-"\n 3. "-" cannot repeat');un.customSchemes.push([n,t])}function eB(n){return un.initialized||function swe(){un.scanner=function ewe(n){void 0===n&&(n=[]);const t={};oo.groups=t;const e=new oo;null==aC&&(aC=QV("aaa1rp3barth4b0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re2s2c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y0eats7k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking0channel11l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t0isalat7u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0at2delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d0network8tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0eles2s3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster5ia3d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0cys3drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7serati6ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic3tual5v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rthwesternmutual14on4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cher3ks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w0time7i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0channel7ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5m\xf6gensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u0elos6wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2")),null==lC&&(lC=QV("\u03b5\u03bb1\u03c52\u0431\u04331\u0435\u043b3\u0434\u0435\u0442\u04384\u0435\u044e2\u043a\u0430\u0442\u043e\u043b\u0438\u043a6\u043e\u043c3\u043c\u043a\u04342\u043e\u043d1\u0441\u043a\u0432\u04306\u043e\u043d\u043b\u0430\u0439\u043d5\u0440\u04333\u0440\u0443\u04412\u04442\u0441\u0430\u0439\u04423\u0440\u04313\u0443\u043a\u04403\u049b\u0430\u04373\u0570\u0561\u05753\u05d9\u05e9\u05e8\u05d0\u05dc5\u05e7\u05d5\u05dd3\u0627\u0628\u0648\u0638\u0628\u064a5\u062a\u0635\u0627\u0644\u0627\u062a6\u0631\u0627\u0645\u0643\u06485\u0644\u0627\u0631\u062f\u06464\u0628\u062d\u0631\u064a\u06465\u062c\u0632\u0627\u0626\u06315\u0633\u0639\u0648\u062f\u064a\u06296\u0639\u0644\u064a\u0627\u06465\u0645\u063a\u0631\u06285\u0645\u0627\u0631\u0627\u062a5\u06cc\u0631\u0627\u06465\u0628\u0627\u0631\u062a2\u0632\u0627\u06314\u064a\u062a\u06433\u06be\u0627\u0631\u062a5\u062a\u0648\u0646\u06334\u0633\u0648\u062f\u0627\u06463\u0631\u064a\u06295\u0634\u0628\u0643\u06294\u0639\u0631\u0627\u06422\u06282\u0645\u0627\u06464\u0641\u0644\u0633\u0637\u064a\u06466\u0642\u0637\u06313\u0643\u0627\u062b\u0648\u0644\u064a\u06436\u0648\u06453\u0645\u0635\u06312\u0644\u064a\u0633\u064a\u06275\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u06277\u0642\u06394\u0647\u0645\u0631\u0627\u06475\u067e\u0627\u06a9\u0633\u062a\u0627\u06467\u0680\u0627\u0631\u062a4\u0915\u0949\u092e3\u0928\u0947\u091f3\u092d\u093e\u0930\u09240\u092e\u094d3\u094b\u09245\u0938\u0902\u0917\u0920\u09285\u09ac\u09be\u0982\u09b2\u09be5\u09ad\u09be\u09b0\u09a42\u09f0\u09a44\u0a2d\u0a3e\u0a30\u0a244\u0aad\u0abe\u0ab0\u0aa44\u0b2d\u0b3e\u0b30\u0b244\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe6\u0bb2\u0b99\u0bcd\u0b95\u0bc86\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd11\u0c2d\u0c3e\u0c30\u0c24\u0c4d5\u0cad\u0cbe\u0cb0\u0ca44\u0d2d\u0d3e\u0d30\u0d24\u0d025\u0dbd\u0d82\u0d9a\u0dcf4\u0e04\u0e2d\u0e213\u0e44\u0e17\u0e223\u0ea5\u0eb2\u0ea73\u10d2\u10d42\u307f\u3093\u306a3\u30a2\u30de\u30be\u30f34\u30af\u30e9\u30a6\u30c94\u30b0\u30fc\u30b0\u30eb4\u30b3\u30e02\u30b9\u30c8\u30a23\u30bb\u30fc\u30eb3\u30d5\u30a1\u30c3\u30b7\u30e7\u30f36\u30dd\u30a4\u30f3\u30c84\u4e16\u754c2\u4e2d\u4fe11\u56fd1\u570b1\u6587\u7f513\u4e9a\u9a6c\u900a3\u4f01\u4e1a2\u4f5b\u5c712\u4fe1\u606f2\u5065\u5eb72\u516b\u53662\u516c\u53f81\u76ca2\u53f0\u6e7e1\u70632\u5546\u57ce1\u5e971\u68072\u5609\u91cc0\u5927\u9152\u5e975\u5728\u7ebf2\u5927\u62ff2\u5929\u4e3b\u65593\u5a31\u4e502\u5bb6\u96fb2\u5e7f\u4e1c2\u5fae\u535a2\u6148\u55842\u6211\u7231\u4f603\u624b\u673a2\u62db\u80582\u653f\u52a11\u5e9c2\u65b0\u52a0\u57612\u95fb2\u65f6\u5c1a2\u66f8\u7c4d2\u673a\u67842\u6de1\u9a6c\u95213\u6e38\u620f2\u6fb3\u95802\u70b9\u770b2\u79fb\u52a82\u7ec4\u7ec7\u673a\u67844\u7f51\u57401\u5e971\u7ad91\u7edc2\u8054\u901a2\u8c37\u6b4c2\u8d2d\u72692\u901a\u8ca92\u96c6\u56e22\u96fb\u8a0a\u76c8\u79d14\u98de\u5229\u6d663\u98df\u54c12\u9910\u53852\u9999\u683c\u91cc\u62c93\u6e2f2\ub2f7\ub1371\ucef42\uc0bc\uc1312\ud55c\uad6d2")),ge(e,"'",$0),ge(e,"{",ff),ge(e,"[",Jg),ge(e,"<",Xg),ge(e,"(",ey),ge(e,"}",ju),ge(e,"]",pf),ge(e,">",mf),ge(e,")",zu),ge(e,"&",H0),ge(e,"*",W0),ge(e,"@",nc),ge(e,"`",Y0),ge(e,"^",q0),ge(e,":",ic),ge(e,",",zE),ge(e,"$",K0),ge(e,".",ra),ge(e,"=",Q0),ge(e,"!",VE),ge(e,"-",oa),ge(e,"%",Z0),ge(e,"|",J0),ge(e,"+",X0),ge(e,"#",eC),ge(e,"?",tC),ge(e,'"',BE),ge(e,"/",sa),ge(e,";",UE),ge(e,"~",ty),ge(e,"_",nC),ge(e,"\\",G0);const i=Zo(e,sC,"NUM",{[OE]:!0});Zo(i,sC,i);const r=Zo(e,Vu,Za,{[AE]:!0});Zo(r,Vu,r);const o=Zo(e,rC,PE,{[kE]:!0});Zo(o,Vu),Zo(o,rC,o);const s=Zo(e,HE,"WS",{[$V]:!0});ge(e,"\n","NL",{[$V]:!0}),ge(s,"\n"),Zo(s,HE,s);const a=Zo(e,oC,"EMOJI",{emoji:!0});Zo(a,oC,a),ge(a,"\ufe0f",a);const l=ge(a,"\u200d");Zo(l,oC,a);const c=[[Vu,r]],u=[[Vu,null],[rC,o]];for(let d=0;dd[0]>h[0]?1:-1);for(let d=0;d=0?p[NE]=!0:Vu.test(h)?sC.test(h)?p[V0]=!0:p[AE]=!0:p[OE]=!0,WV(e,h,h,p)}return WV(e,"localhost",Zg,{ascii:!0}),e.jd=new oo(iC),{start:e,tokens:Ru({groups:t},qV)}}(un.customSchemes);for(let n=0;n=0&&h++,r++,u++;if(h<0)r-=u,r0&&(o.push(GE(WE,t,s)),s=[]),r-=h,u-=h;const f=d.t,p=e.slice(r-u,r);o.push(GE(f,t,p))}}return s.length>0&&o.push(GE(WE,t,s)),o}(un.parser.start,n,function twe(n,t){const e=function nwe(n){const t=[],e=n.length;let i=0;for(;i56319||i+1===e||(o=n.charCodeAt(i+1))<56320||o>57343?n[i]:n.slice(i,i+2);t.push(s),i+=s.length}return t}(t.replace(/[A-Z]/g,a=>a.toLowerCase())),i=e.length,r=[];let o=0,s=0;for(;s=0&&(d+=e[s].length,h++),c+=e[s].length,o+=e[s].length,s++;o-=d,s-=h,c-=d,r.push({t:u.t,v:t.slice(o-c,o),s:o-c,e:o})}return r}(un.scanner.start,n))}function qE(n,t,e){if(void 0===t&&(t=null),void 0===e&&(e=null),t&&"object"==typeof t){if(e)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);e=t,t=null}const i=new cC(e),r=eB(n),o=[];for(let s=0;s{const r=t.some(u=>u.docChanged)&&!e.doc.eq(i.doc),o=t.some(u=>u.getMeta("preventAutolink"));if(!r||o)return;const{tr:s}=i,a=function gce(n,t){const e=new kM(n);return t.forEach(i=>{i.steps.forEach(r=>{e.step(r)})}),e}(e.doc,[...t]),{mapping:l}=a;return function wce(n){const{mapping:t,steps:e}=n,i=[];return t.maps.forEach((r,o)=>{const s=[];if(r.ranges.length)r.forEach((a,l)=>{s.push({from:a,to:l})});else{const{from:a,to:l}=e[o];if(void 0===a||void 0===l)return;s.push({from:a,to:l})}s.forEach(({from:a,to:l})=>{const c=t.slice(o).map(a,-1),u=t.slice(o).map(l),d=t.invert().map(c,-1),h=t.invert().map(u);i.push({oldRange:{from:d,to:h},newRange:{from:c,to:u}})})}),function Cce(n){const t=function bce(n,t=JSON.stringify){const e={};return n.filter(i=>{const r=t(i);return!Object.prototype.hasOwnProperty.call(e,r)&&(e[r]=!0)})}(n);return 1===t.length?t:t.filter((e,i)=>!t.filter((o,s)=>s!==i).some(o=>e.oldRange.from>=o.oldRange.from&&e.oldRange.to<=o.oldRange.to&&e.newRange.from>=o.newRange.from&&e.newRange.to<=o.newRange.to))}(i)}(a).forEach(({oldRange:u,newRange:d})=>{Zb(u.from,u.to,e.doc).filter(m=>m.mark.type===n.type).forEach(m=>{const w=Zb(l.map(m.from),l.map(m.to),i.doc).filter(Z=>Z.mark.type===n.type);if(!w.length)return;const T=w[0],v=e.doc.textBetween(m.from,m.to,void 0," "),N=i.doc.textBetween(T.from,T.to,void 0," "),x=tB(v),ae=tB(N);x&&!ae&&s.removeMark(T.from,T.to,n.type)});const h=function _ce(n,t,e){const i=[];return n.nodesBetween(t.from,t.to,(r,o)=>{e(r)&&i.push({node:r,pos:o})}),i}(i.doc,d,m=>m.isTextblock);let f,p;if(h.length>1?(f=h[0],p=i.doc.textBetween(f.pos,f.pos+f.node.nodeSize,void 0," ")):h.length&&i.doc.textBetween(d.from,d.to," "," ").endsWith(" ")&&(f=h[0],p=i.doc.textBetween(f.pos,d.to,void 0," ")),f&&p){const m=p.split(" ").filter(w=>""!==w);if(m.length<=0)return!1;const g=m[m.length-1],y=f.pos+p.lastIndexOf(g);if(!g)return!1;qE(g).filter(w=>w.isLink).filter(w=>!n.validate||n.validate(w.value)).map(w=>({...w,from:y+w.start+1,to:y+w.end+1})).forEach(w=>{s.addMark(w.from,w.to,n.type.create({href:w.href}))})}}),s.steps.length?s:void 0}})}const uwe=Pr.create({name:"link",priority:1e3,keepOnSplit:!1,onCreate(){this.options.protocols.forEach(n=>{"string"!=typeof n?XV(n.scheme,n.optionalSlashes):XV(n)})},onDestroy(){!function owe(){oo.groups={},un.scanner=null,un.parser=null,un.tokenQueue=[],un.pluginQueue=[],un.customSchemes=[],un.initialized=!1}()},inclusive(){return this.options.autolink},addOptions:()=>({openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},validate:void 0}),addAttributes(){return{href:{default:null},target:{default:this.options.HTMLAttributes.target},class:{default:this.options.HTMLAttributes.class}}},parseHTML:()=>[{tag:'a[href]:not([href *= "javascript:" i])'}],renderHTML({HTMLAttributes:n}){return["a",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setLink:n=>({chain:t})=>t().setMark(this.name,n).setMeta("preventAutolink",!0).run(),toggleLink:n=>({chain:t})=>t().toggleMark(this.name,n,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run(),unsetLink:()=>({chain:n})=>n().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[Yl({find:n=>qE(n).filter(t=>!this.options.validate||this.options.validate(t.value)).filter(t=>t.isLink).map(t=>({text:t.value,index:t.start,data:t})),type:this.type,getAttributes:n=>{var t;return{href:null===(t=n.data)||void 0===t?void 0:t.href}}})]},addProseMirrorPlugins(){const n=[];return this.options.autolink&&n.push(awe({type:this.type,validate:this.options.validate})),this.options.openOnClick&&n.push(function lwe(n){return new Kt({key:new an("handleClickLink"),props:{handleClick:(t,e,i)=>{var r,o,s;if(0!==i.button)return!1;const a=B5(t.state,n.type.name),l=null===(r=i.target)||void 0===r?void 0:r.closest("a"),c=null!==(o=l?.href)&&void 0!==o?o:a.href,u=null!==(s=l?.target)&&void 0!==s?s:a.target;return!(!l||!c||(window.open(c,u),0))}}})}({type:this.type})),this.options.linkOnPaste&&n.push(function cwe(n){return new Kt({key:new an("handlePasteLink"),props:{handlePaste:(t,e,i)=>{const{state:r}=t,{selection:o}=r,{empty:s}=o;if(s)return!1;let a="";i.content.forEach(c=>{a+=c.textContent});const l=qE(a).find(c=>c.isLink&&c.value===a);return!(!a||!l||(n.editor.commands.setMark(n.type,{href:l.href}),0))}}})}({editor:this.editor,type:this.type})),n}}),dwe=Pr.create({name:"subscript",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"sub"},{style:"vertical-align",getAttrs:n=>"sub"===n&&null}],renderHTML({HTMLAttributes:n}){return["sub",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setSubscript:()=>({commands:n})=>n.setMark(this.name),toggleSubscript:()=>({commands:n})=>n.toggleMark(this.name),unsetSubscript:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-,":()=>this.editor.commands.toggleSubscript()}}}),hwe=Pr.create({name:"superscript",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"sup"},{style:"vertical-align",getAttrs:n=>"super"===n&&null}],renderHTML({HTMLAttributes:n}){return["sup",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setSuperscript:()=>({commands:n})=>n.setMark(this.name),toggleSuperscript:()=>({commands:n})=>n.toggleMark(this.name),unsetSuperscript:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-.":()=>this.editor.commands.toggleSuperscript()}}}),fwe=Bn.create({name:"tableRow",addOptions:()=>({HTMLAttributes:{}}),content:"(tableCell | tableHeader)*",tableRole:"row",parseHTML:()=>[{tag:"tr"}],renderHTML({HTMLAttributes:n}){return["tr",rn(this.options.HTMLAttributes,n),0]}}),pwe=Sn.create({name:"textAlign",addOptions:()=>({types:[],alignments:["left","center","right","justify"],defaultAlignment:"left"}),addGlobalAttributes(){return[{types:this.options.types,attributes:{textAlign:{default:this.options.defaultAlignment,parseHTML:n=>n.style.textAlign||this.options.defaultAlignment,renderHTML:n=>n.textAlign===this.options.defaultAlignment?{}:{style:`text-align: ${n.textAlign}`}}}}]},addCommands(){return{setTextAlign:n=>({commands:t})=>!!this.options.alignments.includes(n)&&this.options.types.every(e=>t.updateAttributes(e,{textAlign:n})),unsetTextAlign:()=>({commands:n})=>this.options.types.every(t=>n.resetAttributes(t,"textAlign"))}},addKeyboardShortcuts(){return{"Mod-Shift-l":()=>this.editor.commands.setTextAlign("left"),"Mod-Shift-e":()=>this.editor.commands.setTextAlign("center"),"Mod-Shift-r":()=>this.editor.commands.setTextAlign("right"),"Mod-Shift-j":()=>this.editor.commands.setTextAlign("justify")}}}),mwe=Pr.create({name:"underline",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:n=>!!n.includes("underline")&&{}}],renderHTML({HTMLAttributes:n}){return["u",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setUnderline:()=>({commands:n})=>n.setMark(this.name),toggleUnderline:()=>({commands:n})=>n.toggleMark(this.name),unsetUnderline:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}}),gwe=/^(https?:\/\/)?(www\.|music\.)?(youtube\.com|youtu\.be)(?!.*\/channel\/)(?!\/@)(.+)?$/,ywe=/^(https?:\/\/)?(www\.|music\.)?(youtube\.com|youtu\.be)(?!.*\/channel\/)(?!\/@)(.+)?$/g,nB=n=>n?"https://www.youtube-nocookie.com/embed/":"https://www.youtube.com/embed/",bwe=Bn.create({name:"youtube",addOptions:()=>({addPasteHandler:!0,allowFullscreen:!0,autoplay:!1,ccLanguage:void 0,ccLoadPolicy:void 0,controls:!0,disableKBcontrols:!1,enableIFrameApi:!1,endTime:0,height:480,interfaceLanguage:void 0,ivLoadPolicy:0,loop:!1,modestBranding:!1,HTMLAttributes:{},inline:!1,nocookie:!1,origin:"",playlist:"",progressBarColor:void 0,width:640}),inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes(){return{src:{default:null},start:{default:0},width:{default:this.options.width},height:{default:this.options.height}}},parseHTML:()=>[{tag:"div[data-youtube-video] iframe"}],addCommands(){return{setYoutubeVideo:n=>({commands:t})=>!!(n=>n.match(gwe))(n.src)&&t.insertContent({type:this.name,attrs:n})}},addPasteRules(){return this.options.addPasteHandler?[qce({find:ywe,type:this.type,getAttributes:n=>({src:n.input})})]:[]},renderHTML({HTMLAttributes:n}){const t=(n=>{const{url:t,allowFullscreen:e,autoplay:i,ccLanguage:r,ccLoadPolicy:o,controls:s,disableKBcontrols:a,enableIFrameApi:l,endTime:c,interfaceLanguage:u,ivLoadPolicy:d,loop:h,modestBranding:f,nocookie:p,origin:m,playlist:g,progressBarColor:y,startAt:w}=n;if(t.includes("/embed/"))return t;if(t.includes("youtu.be")){const ae=t.split("/").pop();return ae?`${nB(p)}${ae}`:null}const v=/v=([-\w]+)/gm.exec(t);if(!v||!v[1])return null;let N=`${nB(p)}${v[1]}`;const x=[];return!1===e&&x.push("fs=0"),i&&x.push("autoplay=1"),r&&x.push(`cc_lang_pref=${r}`),o&&x.push("cc_load_policy=1"),s||x.push("controls=0"),a&&x.push("disablekb=1"),l&&x.push("enablejsapi=1"),c&&x.push(`end=${c}`),u&&x.push(`hl=${u}`),d&&x.push(`iv_load_policy=${d}`),h&&x.push("loop=1"),f&&x.push("modestbranding=1"),m&&x.push(`origin=${m}`),g&&x.push(`playlist=${g}`),w&&x.push(`start=${w}`),y&&x.push(`color=${y}`),x.length&&(N+=`?${x.join("&")}`),N})({url:n.src,allowFullscreen:this.options.allowFullscreen,autoplay:this.options.autoplay,ccLanguage:this.options.ccLanguage,ccLoadPolicy:this.options.ccLoadPolicy,controls:this.options.controls,disableKBcontrols:this.options.disableKBcontrols,enableIFrameApi:this.options.enableIFrameApi,endTime:this.options.endTime,interfaceLanguage:this.options.interfaceLanguage,ivLoadPolicy:this.options.ivLoadPolicy,loop:this.options.loop,modestBranding:this.options.modestBranding,nocookie:this.options.nocookie,origin:this.options.origin,playlist:this.options.playlist,progressBarColor:this.options.progressBarColor,startAt:n.start||0});return n.src=t,["div",{"data-youtube-video":""},["iframe",rn(this.options.HTMLAttributes,{width:this.options.width,height:this.options.height,allowfullscreen:this.options.allowFullscreen,autoplay:this.options.autoplay,ccLanguage:this.options.ccLanguage,ccLoadPolicy:this.options.ccLoadPolicy,disableKBcontrols:this.options.disableKBcontrols,enableIFrameApi:this.options.enableIFrameApi,endTime:this.options.endTime,interfaceLanguage:this.options.interfaceLanguage,ivLoadPolicy:this.options.ivLoadPolicy,loop:this.options.loop,modestBranding:this.options.modestBranding,origin:this.options.origin,playlist:this.options.playlist,progressBarColor:this.options.progressBarColor},n)]]}}),Cwe=/^\s*>\s$/,wwe=Bn.create({name:"blockquote",addOptions:()=>({HTMLAttributes:{}}),content:"block+",group:"block",defining:!0,parseHTML:()=>[{tag:"blockquote"}],renderHTML({HTMLAttributes:n}){return["blockquote",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setBlockquote:()=>({commands:n})=>n.wrapIn(this.name),toggleBlockquote:()=>({commands:n})=>n.toggleWrap(this.name),unsetBlockquote:()=>({commands:n})=>n.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[pg({find:Cwe,type:this.type})]}}),Twe=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/,Dwe=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g,Mwe=/(?:^|\s)((?:__)((?:[^__]+))(?:__))$/,Swe=/(?:^|\s)((?:__)((?:[^__]+))(?:__))/g,Ewe=Pr.create({name:"bold",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"strong"},{tag:"b",getAttrs:n=>"normal"!==n.style.fontWeight&&null},{style:"font-weight",getAttrs:n=>/^(bold(er)?|[5-9]\d{2,})$/.test(n)&&null}],renderHTML({HTMLAttributes:n}){return["strong",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setBold:()=>({commands:n})=>n.setMark(this.name),toggleBold:()=>({commands:n})=>n.toggleMark(this.name),unsetBold:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[_u({find:Twe,type:this.type}),_u({find:Mwe,type:this.type})]},addPasteRules(){return[Yl({find:Dwe,type:this.type}),Yl({find:Swe,type:this.type})]}}),xwe=Bn.create({name:"listItem",addOptions:()=>({HTMLAttributes:{}}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:n}){return["li",rn(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),iB=Pr.create({name:"textStyle",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"span",getAttrs:n=>!!n.hasAttribute("style")&&{}}],renderHTML({HTMLAttributes:n}){return["span",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:t})=>{const e=Qb(n,this.type);return!!Object.entries(e).some(([,r])=>!!r)||t.unsetMark(this.name)}}}}),rB=/^\s*([-+*])\s$/,Iwe=Bn.create({name:"bulletList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML:()=>[{tag:"ul"}],renderHTML({HTMLAttributes:n}){return["ul",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{toggleBulletList:()=>({commands:n,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(xwe.name,this.editor.getAttributes(iB.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let n=pg({find:rB,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(n=pg({find:rB,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(iB.name),editor:this.editor})),[n]}}),Owe=/(?:^|\s)((?:`)((?:[^`]+))(?:`))$/,Awe=/(?:^|\s)((?:`)((?:[^`]+))(?:`))/g,kwe=Pr.create({name:"code",addOptions:()=>({HTMLAttributes:{}}),excludes:"_",code:!0,exitable:!0,parseHTML:()=>[{tag:"code"}],renderHTML({HTMLAttributes:n}){return["code",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setCode:()=>({commands:n})=>n.setMark(this.name),toggleCode:()=>({commands:n})=>n.toggleMark(this.name),unsetCode:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[_u({find:Owe,type:this.type})]},addPasteRules(){return[Yl({find:Awe,type:this.type})]}}),Nwe=/^```([a-z]+)?[\s\n]$/,Pwe=/^~~~([a-z]+)?[\s\n]$/,Lwe=Bn.create({name:"codeBlock",addOptions:()=>({languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,HTMLAttributes:{}}),content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:null,parseHTML:n=>{var t;const{languageClassPrefix:e}=this.options;return[...(null===(t=n.firstElementChild)||void 0===t?void 0:t.classList)||[]].filter(s=>s.startsWith(e)).map(s=>s.replace(e,""))[0]||null},rendered:!1}}},parseHTML:()=>[{tag:"pre",preserveWhitespace:"full"}],renderHTML({node:n,HTMLAttributes:t}){return["pre",rn(this.options.HTMLAttributes,t),["code",{class:n.attrs.language?this.options.languageClassPrefix+n.attrs.language:null},0]]},addCommands(){return{setCodeBlock:n=>({commands:t})=>t.setNode(this.name,n),toggleCodeBlock:n=>({commands:t})=>t.toggleNode(this.name,"paragraph",n)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:n,$anchor:t}=this.editor.state.selection;return!(!n||t.parent.type.name!==this.name)&&!(1!==t.pos&&t.parent.textContent.length)&&this.editor.commands.clearNodes()},Enter:({editor:n})=>{if(!this.options.exitOnTripleEnter)return!1;const{state:t}=n,{selection:e}=t,{$from:i,empty:r}=e;if(!r||i.parent.type!==this.type)return!1;const o=i.parentOffset===i.parent.nodeSize-2,s=i.parent.textContent.endsWith("\n\n");return!(!o||!s)&&n.chain().command(({tr:a})=>(a.delete(i.pos-2,i.pos),!0)).exitCode().run()},ArrowDown:({editor:n})=>{if(!this.options.exitOnArrowDown)return!1;const{state:t}=n,{selection:e,doc:i}=t,{$from:r,empty:o}=e;if(!o||r.parent.type!==this.type||r.parentOffset!==r.parent.nodeSize-2)return!1;const a=r.after();return void 0!==a&&!i.nodeAt(a)&&n.commands.exitCode()}}},addInputRules(){return[qS({find:Nwe,type:this.type,getAttributes:n=>({language:n[1]})}),qS({find:Pwe,type:this.type,getAttributes:n=>({language:n[1]})})]},addProseMirrorPlugins(){return[new Kt({key:new an("codeBlockVSCodeHandler"),props:{handlePaste:(n,t)=>{if(!t.clipboardData||this.editor.isActive(this.type.name))return!1;const e=t.clipboardData.getData("text/plain"),i=t.clipboardData.getData("vscode-editor-data"),o=(i?JSON.parse(i):void 0)?.mode;if(!e||!o)return!1;const{tr:s}=n.state;return s.replaceSelectionWith(this.type.create({language:o})),s.setSelection(at.near(s.doc.resolve(Math.max(0,s.selection.from-2)))),s.insertText(e.replace(/\r\n?/g,"\n")),s.setMeta("paste",!0),n.dispatch(s),!0}}})]}}),Rwe=Bn.create({name:"doc",topNode:!0,content:"block+"});function Fwe(n={}){return new Kt({view:t=>new jwe(t,n)})}class jwe{constructor(t,e){var i;this.editorView=t,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=null!==(i=e.width)&&void 0!==i?i:1,this.color=!1===e.color?void 0:e.color||"black",this.class=e.class,this.handlers=["dragover","dragend","drop","dragleave"].map(r=>{let o=s=>{this[r](s)};return t.dom.addEventListener(r,o),{name:r,handler:o}})}destroy(){this.handlers.forEach(({name:t,handler:e})=>this.editorView.dom.removeEventListener(t,e))}update(t,e){null!=this.cursorPos&&e.doc!=t.state.doc&&(this.cursorPos>t.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(t){t!=this.cursorPos&&(this.cursorPos=t,null==t?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let i,t=this.editorView.state.doc.resolve(this.cursorPos),e=!t.parent.inlineContent;if(e){let a=t.nodeBefore,l=t.nodeAfter;if(a||l){let c=this.editorView.nodeDOM(this.cursorPos-(a?a.nodeSize:0));if(c){let u=c.getBoundingClientRect(),d=a?u.bottom:u.top;a&&l&&(d=(d+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),i={left:u.left,right:u.right,top:d-this.width/2,bottom:d+this.width/2}}}}if(!i){let a=this.editorView.coordsAtPos(this.cursorPos);i={left:a.left-this.width/2,right:a.left+this.width/2,top:a.top,bottom:a.bottom}}let o,s,r=this.editorView.dom.offsetParent;if(this.element||(this.element=r.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",e),this.element.classList.toggle("prosemirror-dropcursor-inline",!e),!r||r==document.body&&"static"==getComputedStyle(r).position)o=-pageXOffset,s=-pageYOffset;else{let a=r.getBoundingClientRect();o=a.left-r.scrollLeft,s=a.top-r.scrollTop}this.element.style.left=i.left-o+"px",this.element.style.top=i.top-s+"px",this.element.style.width=i.right-i.left+"px",this.element.style.height=i.bottom-i.top+"px"}scheduleRemoval(t){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),t)}dragover(t){if(!this.editorView.editable)return;let e=this.editorView.posAtCoords({left:t.clientX,top:t.clientY}),i=e&&e.inside>=0&&this.editorView.state.doc.nodeAt(e.inside),r=i&&i.type.spec.disableDropCursor,o="function"==typeof r?r(this.editorView,e,t):r;if(e&&!o){let s=e.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let a=Wj(this.editorView.state.doc,s,this.editorView.dragging.slice);null!=a&&(s=a)}this.setCursor(s),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(t){(t.target==this.editorView.dom||!this.editorView.dom.contains(t.relatedTarget))&&this.setCursor(null)}}const zwe=Sn.create({name:"dropCursor",addOptions:()=>({color:"currentColor",width:1,class:void 0}),addProseMirrorPlugins(){return[Fwe(this.options)]}});class ui extends ct{constructor(t){super(t,t)}map(t,e){let i=t.resolve(e.map(this.head));return ui.valid(i)?new ui(i):ct.near(i)}content(){return Te.empty}eq(t){return t instanceof ui&&t.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(t,e){if("number"!=typeof e.pos)throw new RangeError("Invalid input for GapCursor.fromJSON");return new ui(t.resolve(e.pos))}getBookmark(){return new KE(this.anchor)}static valid(t){let e=t.parent;if(e.isTextblock||!function Vwe(n){for(let t=n.depth;t>=0;t--){let e=n.index(t),i=n.node(t);if(0!=e)for(let r=i.child(e-1);;r=r.lastChild){if(0==r.childCount&&!r.inlineContent||r.isAtom||r.type.spec.isolating)return!0;if(r.inlineContent)return!1}else if(i.type.spec.isolating)return!0}return!0}(t)||!function Bwe(n){for(let t=n.depth;t>=0;t--){let e=n.indexAfter(t),i=n.node(t);if(e!=i.childCount)for(let r=i.child(e);;r=r.firstChild){if(0==r.childCount&&!r.inlineContent||r.isAtom||r.type.spec.isolating)return!0;if(r.inlineContent)return!1}else if(i.type.spec.isolating)return!0}return!0}(t))return!1;let i=e.type.spec.allowGapCursor;if(null!=i)return i;let r=e.contentMatchAt(t.index()).defaultType;return r&&r.isTextblock}static findGapCursorFrom(t,e,i=!1){e:for(;;){if(!i&&ui.valid(t))return t;let r=t.pos,o=null;for(let s=t.depth;;s--){let a=t.node(s);if(e>0?t.indexAfter(s)0){o=a.child(e>0?t.indexAfter(s):t.index(s)-1);break}if(0==s)return null;r+=e;let l=t.doc.resolve(r);if(ui.valid(l))return l}for(;;){let s=e>0?o.firstChild:o.lastChild;if(!s){if(o.isAtom&&!o.isText&&!Qe.isSelectable(o)){t=t.doc.resolve(r+o.nodeSize*e),i=!1;continue e}break}o=s,r+=e;let a=t.doc.resolve(r);if(ui.valid(a))return a}return null}}}ui.prototype.visible=!1,ui.findFrom=ui.findGapCursorFrom,ct.jsonID("gapcursor",ui);class KE{constructor(t){this.pos=t}map(t){return new KE(t.map(this.pos))}resolve(t){let e=t.resolve(this.pos);return ui.valid(e)?new ui(e):ct.near(e)}}const Hwe=MS({ArrowLeft:dC("horiz",-1),ArrowRight:dC("horiz",1),ArrowUp:dC("vert",-1),ArrowDown:dC("vert",1)});function dC(n,t){const e="vert"==n?t>0?"down":"up":t>0?"right":"left";return function(i,r,o){let s=i.selection,a=t>0?s.$to:s.$from,l=s.empty;if(s instanceof at){if(!o.endOfTextblock(e)||0==a.depth)return!1;l=!1,a=i.doc.resolve(t>0?a.after():a.before())}let c=ui.findGapCursorFrom(a,t,l);return!!c&&(r&&r(i.tr.setSelection(new ui(c))),!0)}}function $we(n,t,e){if(!n||!n.editable)return!1;let i=n.state.doc.resolve(t);if(!ui.valid(i))return!1;let r=n.posAtCoords({left:e.clientX,top:e.clientY});return!(r&&r.inside>-1&&Qe.isSelectable(n.state.doc.nodeAt(r.inside))||(n.dispatch(n.state.tr.setSelection(new ui(i))),0))}function Wwe(n,t){if("insertCompositionText"!=t.inputType||!(n.state.selection instanceof ui))return!1;let{$from:e}=n.state.selection,i=e.parent.contentMatchAt(e.index()).findWrapping(n.state.schema.nodes.text);if(!i)return!1;let r=he.empty;for(let s=i.length-1;s>=0;s--)r=he.from(i[s].createAndFill(null,r));let o=n.state.tr.replace(e.pos,e.pos,new Te(r,0,0));return o.setSelection(at.near(o.doc.resolve(e.pos+1))),n.dispatch(o),!1}function Gwe(n){if(!(n.selection instanceof ui))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",Vn.create(n.doc,[Li.widget(n.selection.head,t,{key:"gapcursor"})])}const Ywe=Sn.create({name:"gapCursor",addProseMirrorPlugins:()=>[new Kt({props:{decorations:Gwe,createSelectionBetween:(n,t,e)=>t.pos==e.pos&&ui.valid(e)?new ui(e):null,handleClick:$we,handleKeyDown:Hwe,handleDOMEvents:{beforeinput:Wwe}}})],extendNodeSchema(n){var t;return{allowGapCursor:null!==(t=xt(He(n,"allowGapCursor",{name:n.name,options:n.options,storage:n.storage})))&&void 0!==t?t:null}}}),qwe=Bn.create({name:"hardBreak",addOptions:()=>({keepMarks:!0,HTMLAttributes:{}}),inline:!0,group:"inline",selectable:!1,parseHTML:()=>[{tag:"br"}],renderHTML({HTMLAttributes:n}){return["br",rn(this.options.HTMLAttributes,n)]},renderText:()=>"\n",addCommands(){return{setHardBreak:()=>({commands:n,chain:t,state:e,editor:i})=>n.first([()=>n.exitCode(),()=>n.command(()=>{const{selection:r,storedMarks:o}=e;if(r.$from.parent.type.spec.isolating)return!1;const{keepMarks:s}=this.options,{splittableMarks:a}=i.extensionManager,l=o||r.$to.parentOffset&&r.$from.marks();return t().insertContent({type:this.name}).command(({tr:c,dispatch:u})=>{if(u&&l&&s){const d=l.filter(h=>a.includes(h.type.name));c.ensureMarks(d)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),Kwe=Bn.create({name:"heading",addOptions:()=>({levels:[1,2,3,4,5,6],HTMLAttributes:{}}),content:"inline*",group:"block",defining:!0,addAttributes:()=>({level:{default:1,rendered:!1}}),parseHTML(){return this.options.levels.map(n=>({tag:`h${n}`,attrs:{level:n}}))},renderHTML({node:n,HTMLAttributes:t}){return[`h${this.options.levels.includes(n.attrs.level)?n.attrs.level:this.options.levels[0]}`,rn(this.options.HTMLAttributes,t),0]},addCommands(){return{setHeading:n=>({commands:t})=>!!this.options.levels.includes(n.level)&&t.setNode(this.name,n),toggleHeading:n=>({commands:t})=>!!this.options.levels.includes(n.level)&&t.toggleNode(this.name,"paragraph",n)}},addKeyboardShortcuts(){return this.options.levels.reduce((n,t)=>({...n,[`Mod-Alt-${t}`]:()=>this.editor.commands.toggleHeading({level:t})}),{})},addInputRules(){return this.options.levels.map(n=>qS({find:new RegExp(`^(#{1,${n}})\\s$`),type:this.type,getAttributes:{level:n}}))}});var er=function(){};er.prototype.append=function(t){return t.length?(t=er.from(t),!this.length&&t||t.length<200&&this.leafAppend(t)||this.length<200&&t.leafPrepend(this)||this.appendInner(t)):this},er.prototype.prepend=function(t){return t.length?er.from(t).append(this):this},er.prototype.appendInner=function(t){return new Qwe(this,t)},er.prototype.slice=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.length),t>=e?er.empty:this.sliceInner(Math.max(0,t),Math.min(this.length,e))},er.prototype.get=function(t){if(!(t<0||t>=this.length))return this.getInner(t)},er.prototype.forEach=function(t,e,i){void 0===e&&(e=0),void 0===i&&(i=this.length),e<=i?this.forEachInner(t,e,i,0):this.forEachInvertedInner(t,e,i,0)},er.prototype.map=function(t,e,i){void 0===e&&(e=0),void 0===i&&(i=this.length);var r=[];return this.forEach(function(o,s){return r.push(t(o,s))},e,i),r},er.from=function(t){return t instanceof er?t:t&&t.length?new oB(t):er.empty};var oB=function(n){function t(i){n.call(this),this.values=i}n&&(t.__proto__=n),(t.prototype=Object.create(n&&n.prototype)).constructor=t;var e={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(r,o){return 0==r&&o==this.length?this:new t(this.values.slice(r,o))},t.prototype.getInner=function(r){return this.values[r]},t.prototype.forEachInner=function(r,o,s,a){for(var l=o;l=s;l--)if(!1===r(this.values[l],a+l))return!1},t.prototype.leafAppend=function(r){if(this.length+r.length<=200)return new t(this.values.concat(r.flatten()))},t.prototype.leafPrepend=function(r){if(this.length+r.length<=200)return new t(r.flatten().concat(this.values))},e.length.get=function(){return this.values.length},e.depth.get=function(){return 0},Object.defineProperties(t.prototype,e),t}(er);er.empty=new oB([]);var Qwe=function(n){function t(e,i){n.call(this),this.left=e,this.right=i,this.length=e.length+i.length,this.depth=Math.max(e.depth,i.depth)+1}return n&&(t.__proto__=n),(t.prototype=Object.create(n&&n.prototype)).constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(i){return ia&&!1===this.right.forEachInner(i,Math.max(r-a,0),Math.min(this.length,o)-a,s+a))return!1},t.prototype.forEachInvertedInner=function(i,r,o,s){var a=this.left.length;if(r>a&&!1===this.right.forEachInvertedInner(i,r-a,Math.max(o,a)-a,s+a)||o=o?this.right.slice(i-o,r-o):this.left.slice(i,o).append(this.right.slice(0,r-o))},t.prototype.leafAppend=function(i){var r=this.right.leafAppend(i);if(r)return new t(this.left,r)},t.prototype.leafPrepend=function(i){var r=this.left.leafPrepend(i);if(r)return new t(r,this.right)},t.prototype.appendInner=function(i){return this.left.depth>=Math.max(this.right.depth,i.depth)+1?new t(this.left,new t(this.right,i)):new t(this,i)},t}(er);const sB=er;class bs{constructor(t,e){this.items=t,this.eventCount=e}popEvent(t,e){if(0==this.eventCount)return null;let r,o,i=this.items.length;for(;;i--)if(this.items.get(i-1).selection){--i;break}e&&(r=this.remapping(i,this.items.length),o=r.maps.length);let a,l,s=t.tr,c=[],u=[];return this.items.forEach((d,h)=>{if(!d.step)return r||(r=this.remapping(i,h+1),o=r.maps.length),o--,void u.push(d);if(r){u.push(new aa(d.map));let p,f=d.step.map(r.slice(o));f&&s.maybeStep(f).doc&&(p=s.mapping.maps[s.mapping.maps.length-1],c.push(new aa(p,void 0,void 0,c.length+u.length))),o--,p&&r.appendMap(p,o)}else s.maybeStep(d.step);return d.selection?(a=r?d.selection.map(r.slice(o)):d.selection,l=new bs(this.items.slice(0,i).append(u.reverse().concat(c)),this.eventCount-1),!1):void 0},this.items.length,0),{remaining:l,transform:s,selection:a}}addTransform(t,e,i,r){let o=[],s=this.eventCount,a=this.items,l=!r&&a.length?a.get(a.length-1):null;for(let u=0;uXwe&&(a=function Jwe(n,t){let e;return n.forEach((i,r)=>{if(i.selection&&0==t--)return e=r,!1}),n.slice(e)}(a,c),s-=c),new bs(a.append(o),s)}remapping(t,e){let i=new Dh;return this.items.forEach((r,o)=>{i.appendMap(r.map,null!=r.mirrorOffset&&o-r.mirrorOffset>=t?i.maps.length-r.mirrorOffset:void 0)},t,e),i}addMaps(t){return 0==this.eventCount?this:new bs(this.items.append(t.map(e=>new aa(e))),this.eventCount)}rebased(t,e){if(!this.eventCount)return this;let i=[],r=Math.max(0,this.items.length-e),o=t.mapping,s=t.steps.length,a=this.eventCount;this.items.forEach(h=>{h.selection&&a--},r);let l=e;this.items.forEach(h=>{let f=o.getMirror(--l);if(null==f)return;s=Math.min(s,f);let p=o.maps[f];if(h.step){let m=t.steps[f].invert(t.docs[f]),g=h.selection&&h.selection.map(o.slice(l+1,f));g&&a++,i.push(new aa(p,m,g))}else i.push(new aa(p))},r);let c=[];for(let h=e;h500&&(d=d.compress(this.items.length-i.length)),d}emptyItemCount(){let t=0;return this.items.forEach(e=>{e.step||t++}),t}compress(t=this.items.length){let e=this.remapping(0,t),i=e.maps.length,r=[],o=0;return this.items.forEach((s,a)=>{if(a>=t)r.push(s),s.selection&&o++;else if(s.step){let l=s.step.map(e.slice(i)),c=l&&l.getMap();if(i--,c&&e.appendMap(c,i),l){let u=s.selection&&s.selection.map(e.slice(i));u&&o++;let h,d=new aa(c.invert(),l,u),f=r.length-1;(h=r.length&&r[f].merge(d))?r[f]=h:r.push(d)}}else s.map&&i--},this.items.length,0),new bs(sB.from(r.reverse()),o)}}bs.empty=new bs(sB.empty,0);class aa{constructor(t,e,i,r){this.map=t,this.step=e,this.selection=i,this.mirrorOffset=r}merge(t){if(this.step&&t.step&&!t.selection){let e=t.step.merge(this.step);if(e)return new aa(e.getMap().invert(),e,this.selection)}}}class sc{constructor(t,e,i,r,o){this.done=t,this.undone=e,this.prevRanges=i,this.prevTime=r,this.prevComposition=o}}const Xwe=20;function aB(n){let t=[];return n.forEach((e,i,r,o)=>t.push(r,o)),t}function QE(n,t){if(!n)return null;let e=[];for(let i=0;inew sc(bs.empty,bs.empty,null,0,-1),apply:(t,e,i)=>function eTe(n,t,e,i){let o,r=e.getMeta(la);if(r)return r.historyState;e.getMeta(uB)&&(n=new sc(n.done,n.undone,null,0,-1));let s=e.getMeta("appendedTransaction");if(0==e.steps.length)return n;if(s&&s.getMeta(la))return s.getMeta(la).redo?new sc(n.done.addTransform(e,void 0,i,fC(t)),n.undone,aB(e.mapping.maps[e.steps.length-1]),n.prevTime,n.prevComposition):new sc(n.done,n.undone.addTransform(e,void 0,i,fC(t)),null,n.prevTime,n.prevComposition);if(!1===e.getMeta("addToHistory")||s&&!1===s.getMeta("addToHistory"))return(o=e.getMeta("rebased"))?new sc(n.done.rebased(e,o),n.undone.rebased(e,o),QE(n.prevRanges,e.mapping),n.prevTime,n.prevComposition):new sc(n.done.addMaps(e.mapping.maps),n.undone.addMaps(e.mapping.maps),QE(n.prevRanges,e.mapping),n.prevTime,n.prevComposition);{let a=e.getMeta("composition"),l=0==n.prevTime||!s&&n.prevComposition!=a&&(n.prevTime<(e.time||0)-i.newGroupDelay||!function tTe(n,t){if(!t)return!1;if(!n.docChanged)return!0;let e=!1;return n.mapping.maps[0].forEach((i,r)=>{for(let o=0;o=t[o]&&(e=!0)}),e}(e,n.prevRanges)),c=s?QE(n.prevRanges,e.mapping):aB(e.mapping.maps[e.steps.length-1]);return new sc(n.done.addTransform(e,l?t.selection.getBookmark():void 0,i,fC(t)),bs.empty,c,e.time,a??n.prevComposition)}}(e,i,t,n)},config:n={depth:n.depth||100,newGroupDelay:n.newGroupDelay||500},props:{handleDOMEvents:{beforeinput(t,e){let i=e.inputType,r="historyUndo"==i?dB:"historyRedo"==i?hB:null;return!!r&&(e.preventDefault(),r(t.state,t.dispatch))}}}})}const dB=(n,t)=>{let e=la.getState(n);return!(!e||0==e.done.eventCount||(t&&lB(e,n,t,!1),0))},hB=(n,t)=>{let e=la.getState(n);return!(!e||0==e.undone.eventCount||(t&&lB(e,n,t,!0),0))},iTe=Sn.create({name:"history",addOptions:()=>({depth:100,newGroupDelay:500}),addCommands:()=>({undo:()=>({state:n,dispatch:t})=>dB(n,t),redo:()=>({state:n,dispatch:t})=>hB(n,t)}),addProseMirrorPlugins(){return[nTe(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Mod-y":()=>this.editor.commands.redo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-\u044f":()=>this.editor.commands.undo(),"Shift-Mod-\u044f":()=>this.editor.commands.redo()}}}),rTe=Bn.create({name:"horizontalRule",addOptions:()=>({HTMLAttributes:{}}),group:"block",parseHTML:()=>[{tag:"hr"}],renderHTML({HTMLAttributes:n}){return["hr",rn(this.options.HTMLAttributes,n)]},addCommands(){return{setHorizontalRule:()=>({chain:n})=>n().insertContent({type:this.name}).command(({tr:t,dispatch:e})=>{var i;if(e){const{$to:r}=t.selection,o=r.end();if(r.nodeAfter)t.setSelection(at.create(t.doc,r.pos));else{const s=null===(i=r.parent.type.contentMatch.defaultType)||void 0===i?void 0:i.create();s&&(t.insert(o,s),t.setSelection(at.create(t.doc,o)))}t.scrollIntoView()}return!0}).run()}},addInputRules(){return[$5({find:/^(?:---|\u2014-|___\s|\*\*\*\s)$/,type:this.type})]}}),oTe=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/,sTe=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g,aTe=/(?:^|\s)((?:_)((?:[^_]+))(?:_))$/,lTe=/(?:^|\s)((?:_)((?:[^_]+))(?:_))/g,cTe=Pr.create({name:"italic",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"em"},{tag:"i",getAttrs:n=>"normal"!==n.style.fontStyle&&null},{style:"font-style=italic"}],renderHTML({HTMLAttributes:n}){return["em",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setItalic:()=>({commands:n})=>n.setMark(this.name),toggleItalic:()=>({commands:n})=>n.toggleMark(this.name),unsetItalic:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[_u({find:oTe,type:this.type}),_u({find:aTe,type:this.type})]},addPasteRules(){return[Yl({find:sTe,type:this.type}),Yl({find:lTe,type:this.type})]}}),uTe=Bn.create({name:"listItem",addOptions:()=>({HTMLAttributes:{}}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:n}){return["li",rn(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),dTe=Bn.create({name:"listItem",addOptions:()=>({HTMLAttributes:{}}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:n}){return["li",rn(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),fB=Pr.create({name:"textStyle",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"span",getAttrs:n=>!!n.hasAttribute("style")&&{}}],renderHTML({HTMLAttributes:n}){return["span",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:t})=>{const e=Qb(n,this.type);return!!Object.entries(e).some(([,r])=>!!r)||t.unsetMark(this.name)}}}}),pB=/^(\d+)\.\s$/,hTe=Bn.create({name:"orderedList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes:()=>({start:{default:1,parseHTML:n=>n.hasAttribute("start")?parseInt(n.getAttribute("start")||"",10):1}}),parseHTML:()=>[{tag:"ol"}],renderHTML({HTMLAttributes:n}){const{start:t,...e}=n;return 1===t?["ol",rn(this.options.HTMLAttributes,e),0]:["ol",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{toggleOrderedList:()=>({commands:n,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(dTe.name,this.editor.getAttributes(fB.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let n=pg({find:pB,type:this.type,getAttributes:t=>({start:+t[1]}),joinPredicate:(t,e)=>e.childCount+e.attrs.start===+t[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(n=pg({find:pB,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:t=>({start:+t[1],...this.editor.getAttributes(fB.name)}),joinPredicate:(t,e)=>e.childCount+e.attrs.start===+t[1],editor:this.editor})),[n]}}),fTe=Bn.create({name:"paragraph",priority:1e3,addOptions:()=>({HTMLAttributes:{}}),group:"block",content:"inline*",parseHTML:()=>[{tag:"p"}],renderHTML({HTMLAttributes:n}){return["p",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setParagraph:()=>({commands:n})=>n.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),pTe=/(?:^|\s)((?:~~)((?:[^~]+))(?:~~))$/,mTe=/(?:^|\s)((?:~~)((?:[^~]+))(?:~~))/g,gTe=Pr.create({name:"strike",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:n=>!!n.includes("line-through")&&{}}],renderHTML({HTMLAttributes:n}){return["s",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setStrike:()=>({commands:n})=>n.setMark(this.name),toggleStrike:()=>({commands:n})=>n.toggleMark(this.name),unsetStrike:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-x":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[_u({find:pTe,type:this.type})]},addPasteRules(){return[Yl({find:mTe,type:this.type})]}}),yTe=Bn.create({name:"text",group:"inline"}),mB=Sn.create({name:"starterKit",addExtensions(){var n,t,e,i,r,o,s,a,l,c,u,d,h,f,p,m,g,y;const w=[];return!1!==this.options.blockquote&&w.push(wwe.configure(null===(n=this.options)||void 0===n?void 0:n.blockquote)),!1!==this.options.bold&&w.push(Ewe.configure(null===(t=this.options)||void 0===t?void 0:t.bold)),!1!==this.options.bulletList&&w.push(Iwe.configure(null===(e=this.options)||void 0===e?void 0:e.bulletList)),!1!==this.options.code&&w.push(kwe.configure(null===(i=this.options)||void 0===i?void 0:i.code)),!1!==this.options.codeBlock&&w.push(Lwe.configure(null===(r=this.options)||void 0===r?void 0:r.codeBlock)),!1!==this.options.document&&w.push(Rwe.configure(null===(o=this.options)||void 0===o?void 0:o.document)),!1!==this.options.dropcursor&&w.push(zwe.configure(null===(s=this.options)||void 0===s?void 0:s.dropcursor)),!1!==this.options.gapcursor&&w.push(Ywe.configure(null===(a=this.options)||void 0===a?void 0:a.gapcursor)),!1!==this.options.hardBreak&&w.push(qwe.configure(null===(l=this.options)||void 0===l?void 0:l.hardBreak)),!1!==this.options.heading&&w.push(Kwe.configure(null===(c=this.options)||void 0===c?void 0:c.heading)),!1!==this.options.history&&w.push(iTe.configure(null===(u=this.options)||void 0===u?void 0:u.history)),!1!==this.options.horizontalRule&&w.push(rTe.configure(null===(d=this.options)||void 0===d?void 0:d.horizontalRule)),!1!==this.options.italic&&w.push(cTe.configure(null===(h=this.options)||void 0===h?void 0:h.italic)),!1!==this.options.listItem&&w.push(uTe.configure(null===(f=this.options)||void 0===f?void 0:f.listItem)),!1!==this.options.orderedList&&w.push(hTe.configure(null===(p=this.options)||void 0===p?void 0:p.orderedList)),!1!==this.options.paragraph&&w.push(fTe.configure(null===(m=this.options)||void 0===m?void 0:m.paragraph)),!1!==this.options.strike&&w.push(gTe.configure(null===(g=this.options)||void 0===g?void 0:g.strike)),!1!==this.options.text&&w.push(yTe.configure(null===(y=this.options)||void 0===y?void 0:y.text)),w}});var ry=(()=>(function(n){n.TOP_INITIAL="40px",n.TOP_CURRENT="26px"}(ry||(ry={})),ry))();function _Te(n){return n.replace(/\p{L}+('\p{L}+)?/gu,function(t){return t.charAt(0).toUpperCase()+t.slice(1)})}const bTe=Sn.create({name:"dotPlaceholder",addOptions:()=>({emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something \u2026",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}),addProseMirrorPlugins(){return[new Kt({key:new an("dotPlaceholder"),props:{decorations:({doc:n,selection:t})=>{const e=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:i}=t,r=[];if(!e)return null;const o=n.type.createAndFill(),s=o?.sameMarkup(n)&&null===o.content.findDiffStart(n.content);return n.descendants((a,l)=>{if((i>=l&&i<=l+a.nodeSize||!this.options.showOnlyCurrent)&&!a.isLeaf&&!a.childCount){const d=[this.options.emptyNodeClass];s&&d.push(this.options.emptyEditorClass);const h=Li.widget(l,((n,t,e)=>{const i=document.createElement("button");i.classList.add("add-button"),i.style.position="absolute",i.style.left="-45px",i.style.top="-2px";const r=document.createElement("div");return r.style.position="relative",r.setAttribute("draggable","false"),0===n&&t.type.name===Ti.HEADING&&(i.style.top=ry.TOP_INITIAL),0!==n&&t.type.name===Ti.HEADING&&(i.style.top=ry.TOP_CURRENT),i.innerHTML='',i.setAttribute("draggable","false"),i.addEventListener("mousedown",o=>{o.preventDefault(),e.chain().insertContent("/").run()},{once:!0}),r.appendChild(i),r})(l,a,this.editor)),f=Li.node(l,l+a.nodeSize,{class:d.join(" "),"data-placeholder":a.type.name===Ti.HEADING?`${_Te(a.type.name)} ${a.attrs.level}`:this.options.placeholder});r.push(f),r.push(h)}return this.options.includeChildren}),Vn.create(n,r)}}})]}});class oy{constructor(){}}function CTe(n,t){if(1&n&&_e(0,"dot-editor-count-bar",4),2&n){const e=C(2);_("characterCount",e.characterCount)("charLimit",e.charLimit)("readingTime",e.readingTime)}}oy.\u0275fac=function(t){return new(t||oy)},oy.\u0275cmp=we({type:oy,selectors:[["dot-editor-count-bar"]],inputs:{characterCount:"characterCount",charLimit:"charLimit",readingTime:"readingTime"},decls:8,vars:6,template:function(t,e){1&t&&(S(0,"span"),Se(1),E(),S(2,"span"),Se(3,"\u25cf"),E(),Se(4),S(5,"span"),Se(6,"\u25cf"),E(),Se(7)),2&t&&(Wr("error-message",e.charLimit&&e.characterCount.characters()>e.charLimit),b(1),u_(" ",e.characterCount.characters(),"",e.charLimit?"/"+e.charLimit:""," chars\n"),b(3),bi("\n",e.characterCount.words()," words\n"),b(3),bi("\n",e.readingTime,"m read\n"))},styles:["[_nghost-%COMP%]{display:flex;justify-content:flex-end;align-items:flex-end;color:#afb3c0;margin-top:1rem;gap:.65rem;font-size:16px}[_nghost-%COMP%] .error-message[_ngcontent-%COMP%]{color:#d82b2e}"]});const wTe=function(n,t){return{"editor-wrapper--fullscreen":n,"editor-wrapper--default":t}},TTe=function(n){return{"overflow-hidden":n}};function DTe(n,t){if(1&n){const e=Ne();it(0),S(1,"div",1)(2,"tiptap-editor",2),se("ngModelChange",function(r){return ee(e),te(C().onBlockEditorChange(r))})("keyup",function(){return ee(e),te(C().subject.next())}),E()(),D(3,CTe,1,3,"dot-editor-count-bar",3),rt()}if(2&n){const e=C();b(1),Gn(e.customStyles),_("ngClass",Fn(7,wTe,"true"===e.isFullscreen,"true"!==e.isFullscreen)),b(1),_("ngModel",e.content)("editor",e.editor)("ngClass",tt(10,TTe,e.freezeScroll)),b(1),_("ngIf",e.showCharData)}}class yf{constructor(t,e,i){this.injector=t,this.viewContainerRef=e,this.dotMarketingConfigService=i,this.languageId=_g,this.isFullscreen=!1,this.value="",this.valueChange=new Q,this.destroy$=new ue,this.allowedBlocks=["paragraph"],this._customNodes=new Map([["dotContent",gge(this.injector)],["image",ro],["video",Cge],["table",B_e.extend({resizable:!0})],["aiContent",Tge],["loader",Dge]]),this.displayCountBar=!0,this.customBlocks="",this.content="",this.subject=new ue,this.freezeScroll=!0,this.cd=st(In),this.dotPropertiesService=st(Xc)}get characterCount(){return this.editor?.storage.characterCount}get showCharData(){try{return JSON.parse(this.displayCountBar)}catch{return!0}}get readingTime(){return Math.ceil(this.characterCount.words()/265)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}writeValue(t){this.value=t,this.setEditorContent(t)}loadCustomBlocks(t){return eu(function*(){return Promise.allSettled(t.map(function(){var e=eu(function*(i){return import(i)});return function(i){return e.apply(this,arguments)}}()))})()}ngOnInit(){this.setFieldVariable(),jv([this.showVideoThumbnail$(),Et(this.getCustomRemoteExtensions())]).pipe(At(1)).subscribe(([t,e])=>{this.editor=new Wce({extensions:[...this.getEditorExtensions(),...this.getEditorMarks(),...this.getEditorNodes(),...e]}),this.dotMarketingConfigService.setProperty(mh.SHOW_VIDEO_THUMBNAIL,t),this.subscribeToEditorEvents()})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}onBlockEditorChange(t){this.valueChange.emit(t),this.onChange?.(JSON.stringify(t)),this.onTouched?.()}setAllowedBlocks(t){const e=t?t.replace(/ /g,"").split(",").filter(Boolean):[];this.allowedBlocks=[...this.allowedBlocks,...e]}subscribeToEditorEvents(){this.editor.on("create",()=>{this.setEditorContent(this.value),this.updateCharCount()}),this.subject.pipe(yn(this.destroy$),eh(250)).subscribe(()=>this.updateCharCount()),this.editor.on("transaction",({editor:t})=>{this.freezeScroll=Ng.getState(t.view.state)?.freezeScroll}),this.cd.detectChanges()}updateCharCount(){const t=this.editor.state.tr.setMeta("addToHistory",!1);0!=this.characterCount.characters()?t.step(new wu("charCount",this.characterCount.characters())).step(new wu("wordCount",this.characterCount.words())).step(new wu("readingTime",this.readingTime)):t.step(new s0),this.editor.view.dispatch(t)}showVideoThumbnail$(){return this.dotPropertiesService.getKey(mh.SHOW_VIDEO_THUMBNAIL).pipe(fe((t="true")=>"true"===t||"NOT_FOUND"===t))}isValidSchema(t){LV(t,Lu({extensions:FV(Lu({url:Qg(),actions:zV(FV(Lu({command:Qg(),menuLabel:Qg(),icon:Qg()})))}))}))}getParsedCustomBlocks(){if(!this.customBlocks?.length)return{extensions:[]};try{const e=JSON.parse(this.customBlocks);return this.isValidSchema(e),e}catch(e){return console.warn("JSON parse fails, please check the JSON format.",e),{extensions:[]}}}parsedCustomModules(t,e){return e.status===rm.REJECTED&&console.warn("Failed to load the module",e.reason),e.status===rm.FULFILLED?{...t,...e?.value}:{...t}}getCustomRemoteExtensions(){var t=this;return eu(function*(){const e=t.getParsedCustomBlocks(),i=e?.extensions?.map(a=>a.url),r=yield t.loadCustomBlocks(i),o=[];e.extensions.forEach(a=>{o.push(...a.actions?.map(l=>l.name)||[])});const s=r.reduce(t.parsedCustomModules,{});return Object.values(s)})()}getEditorNodes(){return[this.allowedBlocks?.length>1?mB.configure(this.starterConfig()):mB,...this.getAllowedCustomNodes()]}starterConfig(){const i=["heading1","heading2","heading3","heading4","heading5","heading6"].filter(o=>this.allowedBlocks?.includes(o)).map(o=>+o.slice(-1)),r=["orderedList","bulletList","blockquote","codeBlock","horizontalRule"].filter(o=>!this.allowedBlocks?.includes(o)).reduce((o,s)=>({...o,[s]:!1}),{});return{heading:!!i?.length&&{levels:i,HTMLAttributes:{}},...r}}getAllowedCustomNodes(){const t=[];if(this.allowedBlocks.length<=1)return[...this._customNodes.values()];for(const e of this.allowedBlocks){const i=this._customNodes.get(e);i&&t.push(i)}return t}getEditorExtensions(){return[Nye({lang:this.languageId||this.contentlet?.languageId,allowedContentTypes:this.allowedContentTypes,allowedBlocks:this.allowedBlocks,contentletIdentifier:this.contentletIdentifier}),kye,bTe.configure({placeholder:'Type "/" for commands'}),bwe.configure({height:300,width:400,interfaceLanguage:"us",nocookie:!0,modestBranding:!0}),dwe,hwe,$ue(this.viewContainerRef,this.getParsedCustomBlocks()),H_e(this.viewContainerRef),aye(this.viewContainerRef,this.languageId),Aye(this.viewContainerRef),bye(this.viewContainerRef),bve(this.viewContainerRef),fbe(this.viewContainerRef),ybe(this.viewContainerRef),Z_e(this.injector,this.viewContainerRef),jye(this.viewContainerRef),Zue(this.viewContainerRef),zye.extend({renderHTML({HTMLAttributes:n}){return["th",rn(this.options.HTMLAttributes,n),["button",{class:"dot-cell-arrow"}],["p",0]]}}),fwe,J_e,BCe,Sge(this.injector,this.viewContainerRef)]}getEditorMarks(){return[mwe,pwe.configure({types:["heading","paragraph","listItem","dotImage"]}),$Ce.configure({HTMLAttributes:{style:"background: #accef7;"}}),uwe.configure({autolink:!1,openOnClick:!1})]}setEditorJSONContent(t){this.content=this.allowedBlocks?.length>1?((n,t)=>{const e=(n=>n.reduce((t,e)=>Z5[e]?{...t,...Z5[e]}:{...t,[e]:!0},Sue))(this.allowedBlocks),i=Array.isArray(n)?[...n]:[...n.content];return J5(i,e)})(t):t}setEditorContent(t){"string"!=typeof t?this.setEditorJSONContent(t):this.content=(n=>{const t=new RegExp(/]*)>(.|\n)*?<\/p>/gm),e=new RegExp(/]*)>(.|\n)*?<\/h\d+>/gm),i=new RegExp(/]*)>(.|\n)*?<\/li>/gm),r=new RegExp(/<(ul|ol)(|\s+[^>]*)>(.|\n)*?<\/(ul|ol)>/gm);return n.replace(Oue,o=>(n=>{const t=document.createElement("div");t.innerHTML=n;const e=t.querySelector("a").getAttribute("href"),i=t.querySelector("a").getAttribute("href"),r=t.querySelector("a").getAttribute("alt");return n.replace(/]*)>/gm,"").replace(//gm,"").replace(XS,o=>o.replace(/img/gm,`img href="${e}" title="${i}" alt="${r}"`))})(o)).replace(t,o=>o0(o)).replace(e,o=>o0(o)).replace(i,o=>o0(o)).replace(r,o=>o0(o))})(t)}setFieldVariable(){const{contentTypes:t,styles:e,displayCountBar:i,charLimit:r,customBlocks:o,allowedBlocks:s}=this.getFieldVariables();this.allowedContentTypes=t,this.customStyles=e,this.displayCountBar=i,this.charLimit=Number(r),this.customBlocks=o,this.setAllowedBlocks(s)}getFieldVariables(){return this.field?.fieldVariables.reduce((t,{key:e,value:i})=>({...t,[e]:i}),{})||{}}}yf.\u0275fac=function(t){return new(t||yf)(I(Dr),I(Gr),I(bu))},yf.\u0275cmp=we({type:yf,selectors:[["dot-block-editor"]],inputs:{field:"field",contentlet:"contentlet",languageId:"languageId",isFullscreen:"isFullscreen",value:"value"},outputs:{valueChange:"valueChange"},features:[Pt([{provide:Qi,useExisting:Ft(()=>yf),multi:!0}])],decls:1,vars:1,consts:[[4,"ngIf"],[1,"editor-wrapper",3,"ngClass"],[3,"ngModel","editor","ngClass","ngModelChange","keyup"],[3,"characterCount","charLimit","readingTime",4,"ngIf"],[3,"characterCount","charLimit","readingTime"]],template:function(t,e){1&t&&D(0,DTe,4,12,"ng-container",0),2&t&&_("ngIf",e.editor)},dependencies:[qn,$t,Lc,Ep,Wh,oy],styles:['[_nghost-%COMP%]{position:relative;font-family:Assistant,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;height:100%;display:block}[_nghost-%COMP%] .editor-wrapper[_ngcontent-%COMP%]{display:block;border-radius:.25rem;overflow:hidden;position:relative;resize:vertical;outline:#afb3c0 solid 1px}[_nghost-%COMP%] .editor-wrapper--default[_ngcontent-%COMP%]{height:500px}[_nghost-%COMP%] .editor-wrapper--fullscreen[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%]:focus-within{outline-color:var(--color-palette-primary-500)}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] {display:block;height:100%;overflow-y:auto;width:100%}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror{box-sizing:border-box;display:block;min-height:100%;outline:none;padding:16px 64px;font:16px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror img{max-width:100%;max-height:100%;position:relative}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror img:before{align-items:center;background:#f3f3f4;border-radius:3px;border:1px solid #afb3c0;color:#6c7389;content:"The image URL " attr(src) " seems to be broken, please double check the URL.";display:flex;height:100%;left:0;padding:1rem;position:absolute;text-align:center;width:100%}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror ul, [_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror ol{padding-inline-start:16px;margin:0 0 0 16px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror ol li{list-style-type:decimal}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror ul li{list-style-type:disc}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror li{padding-top:4.576px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror li p{padding:0;margin:0}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h1{font-size:38.88px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h2{font-size:30.88px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h3{font-size:25.12px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h4{font-size:20.64px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h5{font-size:17.12px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h6{font-size:16px;font-weight:700;font-style:normal}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h1, [_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h2, [_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h3, [_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h4, [_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h5, [_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h6{margin:48px 0 22.08px;line-height:1.3}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror p{font-size:16px;line-height:20.64px;padding-top:4.576px;margin-bottom:16px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror p.is-empty{padding-top:4.576px;margin:0 0 5px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror blockquote{margin:16px;border-left:3px solid var(--color-palette-black-op-10);padding-left:16px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror pre{background:#14151a;border-radius:8px;color:#fff;padding:12px 16px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror pre code{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;background:none;color:inherit;padding:0}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror .is-empty:before{color:#afb3c0;content:attr(data-placeholder);float:left;height:0;pointer-events:none}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror .add-button{all:unset;cursor:pointer;border:solid 1px #eee;width:32px;height:32px;display:flex;align-items:center;justify-content:center;color:#666;background:#ffffff}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table{border-collapse:collapse;margin:0;overflow:hidden;table-layout:fixed;width:100%}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table td, [_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table th{border:2px solid #afb3c0;box-sizing:border-box;min-width:1rem;padding:3px 20px 3px 5px;position:relative;vertical-align:top}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table th{background-clip:padding-box}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table td>*, [_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table th>*{margin-bottom:0}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table th{background-color:#f3f3f4;font-weight:700;text-align:left}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table .selectedCell{background-color:#ebecef}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table .selectedCell:after{content:"";inset:0;pointer-events:none;position:absolute}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table .column-resize-handle{bottom:-2px;position:absolute;right:-2px;pointer-events:none;top:0;width:4px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table p{margin:0}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table .tableWrapper{padding:1rem 0;overflow-x:auto}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table .resize-cursor{cursor:ew-resize;cursor:col-resize}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table .dot-cell-arrow{position:absolute;display:none;top:3px;right:5px;border:solid black;border-width:0 2px 2px 0;padding:3px;transform:rotate(45deg);-webkit-transform:rotate(45deg);background:transparent;cursor:pointer;z-index:100}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table .selectedCell .dot-cell-arrow{display:block}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table td.focus .dot-cell-arrow, [_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table th.focus .dot-cell-arrow{display:block}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .video-container{margin-bottom:1rem;aspect-ratio:16/9;height:300px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .video-container video{width:100%;height:100%}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .image-container{margin-bottom:1rem}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .image-container img{width:auto;max-height:300px;max-width:50%;padding:.5rem}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .image-container.ProseMirror-selectednode img{outline:1px solid var(--color-palette-primary-500)}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ai-content-container.ProseMirror-selectednode{background-color:var(--color-palette-primary-op-20);border:1px solid var(--color-palette-primary-300)}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .loader-style{display:flex;justify-content:center;flex-direction:column;align-items:center;min-height:12.5rem;min-width:25rem;width:25.5625rem;height:17.375rem;padding:.5rem;border-radius:.5rem;border:1.5px solid #d1d4db}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .p-progress-spinner{border:5px solid #ebecef;border-radius:50%;border-top:5px solid var(--color-palette-primary-500);width:2.4rem;height:2.4rem;animation:_ngcontent-%COMP%_spin 1s linear infinite}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%]{scrollbar-gutter:stable}[_nghost-%COMP%] .overflow-hidden[_ngcontent-%COMP%]{overflow-y:hidden}']});class _f{constructor(t){this.injector=t}ngDoBootstrap(){if(void 0===customElements.get("dotcms-block-editor")){const t=function yq(n,t){const e=function uq(n,t){return t.get(Mc).resolveComponentFactory(n).inputs}(n,t.injector),i=t.strategyFactory||new pq(n,t.injector),r=function cq(n){const t={};return n.forEach(({propName:e,templateName:i})=>{t[function rq(n){return n.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(i)]=e}),t}(e);class o extends gq{get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=i.create(this.injector||t.injector);e.forEach(({propName:l})=>{if(!this.hasOwnProperty(l))return;const c=this[l];delete this[l],a.setInputValue(l,c)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,u){this.ngElementStrategy.setInputValue(r[a],c)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return o.observedAttributes=Object.keys(r),e.forEach(({propName:s})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(a){this.ngElementStrategy.setInputValue(s,a)},configurable:!0,enumerable:!0})}),o}(yf,{injector:this.injector});customElements.define("dotcms-block-editor",t)}}}_f.\u0275fac=function(t){return new(t||_f)(F(Dr))},_f.\u0275mod=et({type:_f}),_f.\u0275inj=ft({providers:[Xc],imports:[k2,mZ,gn,lv,uf,V1,M1,SD]}),fY().bootstrapModule(_f).catch(n=>console.error(n))},10152:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(k,V){for(var B=k<0?"-":"",G=Math.abs(k).toString();G.length{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(k,V){if(null==k)throw new TypeError("assign requires that input parameter not be null or undefined");for(var B in V)Object.prototype.hasOwnProperty.call(V,B)&&(k[B]=V[B]);return k},K.exports=O.default},42926:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function B(G){return(0,V.default)({},G)};var V=k(A(32963));K.exports=O.default},73215:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var V=k(A(33338));O.default=V.default,K.exports=O.default},40150:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.getDefaultOptions=function k(){return A},O.setDefaultOptions=function V(B){A=B};var A={}},1635:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var V=k(A(90448)),B=k(A(71074)),G=k(A(23122)),$=k(A(8622)),R=k(A(68450)),P=k(A(10152)),Y=k(A(21393));function Ue(X,U){var W=X>0?"-":"+",j=Math.abs(X),z=Math.floor(j/60),pe=j%60;if(0===pe)return W+String(z);var Re=U||"";return W+String(z)+Re+(0,P.default)(pe,2)}function ye(X,U){return X%60==0?(X>0?"-":"+")+(0,P.default)(Math.abs(X)/60,2):ze(X,U)}function ze(X,U){var W=U||"",j=X>0?"-":"+",z=Math.abs(X);return j+(0,P.default)(Math.floor(z/60),2)+W+(0,P.default)(z%60,2)}O.default={G:function(U,W,j){var z=U.getUTCFullYear()>0?1:0;switch(W){case"G":case"GG":case"GGG":return j.era(z,{width:"abbreviated"});case"GGGGG":return j.era(z,{width:"narrow"});default:return j.era(z,{width:"wide"})}},y:function(U,W,j){if("yo"===W){var z=U.getUTCFullYear();return j.ordinalNumber(z>0?z:1-z,{unit:"year"})}return Y.default.y(U,W)},Y:function(U,W,j,z){var pe=(0,R.default)(U,z),Re=pe>0?pe:1-pe;return"YY"===W?(0,P.default)(Re%100,2):"Yo"===W?j.ordinalNumber(Re,{unit:"year"}):(0,P.default)(Re,W.length)},R:function(U,W){var j=(0,G.default)(U);return(0,P.default)(j,W.length)},u:function(U,W){var j=U.getUTCFullYear();return(0,P.default)(j,W.length)},Q:function(U,W,j){var z=Math.ceil((U.getUTCMonth()+1)/3);switch(W){case"Q":return String(z);case"QQ":return(0,P.default)(z,2);case"Qo":return j.ordinalNumber(z,{unit:"quarter"});case"QQQ":return j.quarter(z,{width:"abbreviated",context:"formatting"});case"QQQQQ":return j.quarter(z,{width:"narrow",context:"formatting"});default:return j.quarter(z,{width:"wide",context:"formatting"})}},q:function(U,W,j){var z=Math.ceil((U.getUTCMonth()+1)/3);switch(W){case"q":return String(z);case"qq":return(0,P.default)(z,2);case"qo":return j.ordinalNumber(z,{unit:"quarter"});case"qqq":return j.quarter(z,{width:"abbreviated",context:"standalone"});case"qqqqq":return j.quarter(z,{width:"narrow",context:"standalone"});default:return j.quarter(z,{width:"wide",context:"standalone"})}},M:function(U,W,j){var z=U.getUTCMonth();switch(W){case"M":case"MM":return Y.default.M(U,W);case"Mo":return j.ordinalNumber(z+1,{unit:"month"});case"MMM":return j.month(z,{width:"abbreviated",context:"formatting"});case"MMMMM":return j.month(z,{width:"narrow",context:"formatting"});default:return j.month(z,{width:"wide",context:"formatting"})}},L:function(U,W,j){var z=U.getUTCMonth();switch(W){case"L":return String(z+1);case"LL":return(0,P.default)(z+1,2);case"Lo":return j.ordinalNumber(z+1,{unit:"month"});case"LLL":return j.month(z,{width:"abbreviated",context:"standalone"});case"LLLLL":return j.month(z,{width:"narrow",context:"standalone"});default:return j.month(z,{width:"wide",context:"standalone"})}},w:function(U,W,j,z){var pe=(0,$.default)(U,z);return"wo"===W?j.ordinalNumber(pe,{unit:"week"}):(0,P.default)(pe,W.length)},I:function(U,W,j){var z=(0,B.default)(U);return"Io"===W?j.ordinalNumber(z,{unit:"week"}):(0,P.default)(z,W.length)},d:function(U,W,j){return"do"===W?j.ordinalNumber(U.getUTCDate(),{unit:"date"}):Y.default.d(U,W)},D:function(U,W,j){var z=(0,V.default)(U);return"Do"===W?j.ordinalNumber(z,{unit:"dayOfYear"}):(0,P.default)(z,W.length)},E:function(U,W,j){var z=U.getUTCDay();switch(W){case"E":case"EE":case"EEE":return j.day(z,{width:"abbreviated",context:"formatting"});case"EEEEE":return j.day(z,{width:"narrow",context:"formatting"});case"EEEEEE":return j.day(z,{width:"short",context:"formatting"});default:return j.day(z,{width:"wide",context:"formatting"})}},e:function(U,W,j,z){var pe=U.getUTCDay(),Re=(pe-z.weekStartsOn+8)%7||7;switch(W){case"e":return String(Re);case"ee":return(0,P.default)(Re,2);case"eo":return j.ordinalNumber(Re,{unit:"day"});case"eee":return j.day(pe,{width:"abbreviated",context:"formatting"});case"eeeee":return j.day(pe,{width:"narrow",context:"formatting"});case"eeeeee":return j.day(pe,{width:"short",context:"formatting"});default:return j.day(pe,{width:"wide",context:"formatting"})}},c:function(U,W,j,z){var pe=U.getUTCDay(),Re=(pe-z.weekStartsOn+8)%7||7;switch(W){case"c":return String(Re);case"cc":return(0,P.default)(Re,W.length);case"co":return j.ordinalNumber(Re,{unit:"day"});case"ccc":return j.day(pe,{width:"abbreviated",context:"standalone"});case"ccccc":return j.day(pe,{width:"narrow",context:"standalone"});case"cccccc":return j.day(pe,{width:"short",context:"standalone"});default:return j.day(pe,{width:"wide",context:"standalone"})}},i:function(U,W,j){var z=U.getUTCDay(),pe=0===z?7:z;switch(W){case"i":return String(pe);case"ii":return(0,P.default)(pe,W.length);case"io":return j.ordinalNumber(pe,{unit:"day"});case"iii":return j.day(z,{width:"abbreviated",context:"formatting"});case"iiiii":return j.day(z,{width:"narrow",context:"formatting"});case"iiiiii":return j.day(z,{width:"short",context:"formatting"});default:return j.day(z,{width:"wide",context:"formatting"})}},a:function(U,W,j){var pe=U.getUTCHours()/12>=1?"pm":"am";switch(W){case"a":case"aa":return j.dayPeriod(pe,{width:"abbreviated",context:"formatting"});case"aaa":return j.dayPeriod(pe,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return j.dayPeriod(pe,{width:"narrow",context:"formatting"});default:return j.dayPeriod(pe,{width:"wide",context:"formatting"})}},b:function(U,W,j){var pe,z=U.getUTCHours();switch(pe=12===z?"noon":0===z?"midnight":z/12>=1?"pm":"am",W){case"b":case"bb":return j.dayPeriod(pe,{width:"abbreviated",context:"formatting"});case"bbb":return j.dayPeriod(pe,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return j.dayPeriod(pe,{width:"narrow",context:"formatting"});default:return j.dayPeriod(pe,{width:"wide",context:"formatting"})}},B:function(U,W,j){var pe,z=U.getUTCHours();switch(pe=z>=17?"evening":z>=12?"afternoon":z>=4?"morning":"night",W){case"B":case"BB":case"BBB":return j.dayPeriod(pe,{width:"abbreviated",context:"formatting"});case"BBBBB":return j.dayPeriod(pe,{width:"narrow",context:"formatting"});default:return j.dayPeriod(pe,{width:"wide",context:"formatting"})}},h:function(U,W,j){if("ho"===W){var z=U.getUTCHours()%12;return 0===z&&(z=12),j.ordinalNumber(z,{unit:"hour"})}return Y.default.h(U,W)},H:function(U,W,j){return"Ho"===W?j.ordinalNumber(U.getUTCHours(),{unit:"hour"}):Y.default.H(U,W)},K:function(U,W,j){var z=U.getUTCHours()%12;return"Ko"===W?j.ordinalNumber(z,{unit:"hour"}):(0,P.default)(z,W.length)},k:function(U,W,j){var z=U.getUTCHours();return 0===z&&(z=24),"ko"===W?j.ordinalNumber(z,{unit:"hour"}):(0,P.default)(z,W.length)},m:function(U,W,j){return"mo"===W?j.ordinalNumber(U.getUTCMinutes(),{unit:"minute"}):Y.default.m(U,W)},s:function(U,W,j){return"so"===W?j.ordinalNumber(U.getUTCSeconds(),{unit:"second"}):Y.default.s(U,W)},S:function(U,W){return Y.default.S(U,W)},X:function(U,W,j,z){var Re=(z._originalDate||U).getTimezoneOffset();if(0===Re)return"Z";switch(W){case"X":return ye(Re);case"XXXX":case"XX":return ze(Re);default:return ze(Re,":")}},x:function(U,W,j,z){var Re=(z._originalDate||U).getTimezoneOffset();switch(W){case"x":return ye(Re);case"xxxx":case"xx":return ze(Re);default:return ze(Re,":")}},O:function(U,W,j,z){var Re=(z._originalDate||U).getTimezoneOffset();switch(W){case"O":case"OO":case"OOO":return"GMT"+Ue(Re,":");default:return"GMT"+ze(Re,":")}},z:function(U,W,j,z){var Re=(z._originalDate||U).getTimezoneOffset();switch(W){case"z":case"zz":case"zzz":return"GMT"+Ue(Re,":");default:return"GMT"+ze(Re,":")}},t:function(U,W,j,z){var Re=Math.floor((z._originalDate||U).getTime()/1e3);return(0,P.default)(Re,W.length)},T:function(U,W,j,z){var Re=(z._originalDate||U).getTime();return(0,P.default)(Re,W.length)}},K.exports=O.default},21393:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var V=k(A(10152));O.default={y:function(R,P){var Y=R.getUTCFullYear(),ie=Y>0?Y:1-Y;return(0,V.default)("yy"===P?ie%100:ie,P.length)},M:function(R,P){var Y=R.getUTCMonth();return"M"===P?String(Y+1):(0,V.default)(Y+1,2)},d:function(R,P){return(0,V.default)(R.getUTCDate(),P.length)},a:function(R,P){var Y=R.getUTCHours()/12>=1?"pm":"am";switch(P){case"a":case"aa":return Y.toUpperCase();case"aaa":return Y;case"aaaaa":return Y[0];default:return"am"===Y?"a.m.":"p.m."}},h:function(R,P){return(0,V.default)(R.getUTCHours()%12||12,P.length)},H:function(R,P){return(0,V.default)(R.getUTCHours(),P.length)},m:function(R,P){return(0,V.default)(R.getUTCMinutes(),P.length)},s:function(R,P){return(0,V.default)(R.getUTCSeconds(),P.length)},S:function(R,P){var Y=P.length,ie=R.getUTCMilliseconds(),ce=Math.floor(ie*Math.pow(10,Y-3));return(0,V.default)(ce,P.length)}},K.exports=O.default},75852:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var A=function(R,P){switch(R){case"P":return P.date({width:"short"});case"PP":return P.date({width:"medium"});case"PPP":return P.date({width:"long"});default:return P.date({width:"full"})}},k=function(R,P){switch(R){case"p":return P.time({width:"short"});case"pp":return P.time({width:"medium"});case"ppp":return P.time({width:"long"});default:return P.time({width:"full"})}};O.default={p:k,P:function(R,P){var Ue,Y=R.match(/(P+)(p+)?/)||[],ie=Y[1],ce=Y[2];if(!ce)return A(R,P);switch(ie){case"P":Ue=P.dateTime({width:"short"});break;case"PP":Ue=P.dateTime({width:"medium"});break;case"PPP":Ue=P.dateTime({width:"long"});break;default:Ue=P.dateTime({width:"full"})}return Ue.replace("{{date}}",A(ie,P)).replace("{{time}}",k(ce,P))}},K.exports=O.default},47664:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(k){var V=new Date(Date.UTC(k.getFullYear(),k.getMonth(),k.getDate(),k.getHours(),k.getMinutes(),k.getSeconds(),k.getMilliseconds()));return V.setUTCFullYear(k.getFullYear()),k.getTime()-V.getTime()},K.exports=O.default},90448:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function $(R){(0,B.default)(1,arguments);var P=(0,V.default)(R),Y=P.getTime();P.setUTCMonth(0,1),P.setUTCHours(0,0,0,0);var ie=P.getTime(),ce=Y-ie;return Math.floor(ce/G)+1};var V=k(A(90798)),B=k(A(61886)),G=864e5;K.exports=O.default},71074:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function P(Y){(0,$.default)(1,arguments);var ie=(0,V.default)(Y),ce=(0,B.default)(ie).getTime()-(0,G.default)(ie).getTime();return Math.round(ce/R)+1};var V=k(A(90798)),B=k(A(96729)),G=k(A(50525)),$=k(A(61886)),R=6048e5;K.exports=O.default},23122:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function $(R){(0,B.default)(1,arguments);var P=(0,V.default)(R),Y=P.getUTCFullYear(),ie=new Date(0);ie.setUTCFullYear(Y+1,0,4),ie.setUTCHours(0,0,0,0);var ce=(0,G.default)(ie),Ue=new Date(0);Ue.setUTCFullYear(Y,0,4),Ue.setUTCHours(0,0,0,0);var ye=(0,G.default)(Ue);return P.getTime()>=ce.getTime()?Y+1:P.getTime()>=ye.getTime()?Y:Y-1};var V=k(A(90798)),B=k(A(61886)),G=k(A(96729));K.exports=O.default},8622:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function P(Y,ie){(0,$.default)(1,arguments);var ce=(0,V.default)(Y),Ue=(0,B.default)(ce,ie).getTime()-(0,G.default)(ce,ie).getTime();return Math.round(Ue/R)+1};var V=k(A(90798)),B=k(A(88314)),G=k(A(72447)),$=k(A(61886)),R=6048e5;K.exports=O.default},68450:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function P(Y,ie){var ce,Ue,ye,ze,re,X,U,W;(0,B.default)(1,arguments);var j=(0,V.default)(Y),z=j.getUTCFullYear(),pe=(0,R.getDefaultOptions)(),Re=(0,$.default)(null!==(ce=null!==(Ue=null!==(ye=null!==(ze=ie?.firstWeekContainsDate)&&void 0!==ze?ze:null==ie||null===(re=ie.locale)||void 0===re||null===(X=re.options)||void 0===X?void 0:X.firstWeekContainsDate)&&void 0!==ye?ye:pe.firstWeekContainsDate)&&void 0!==Ue?Ue:null===(U=pe.locale)||void 0===U||null===(W=U.options)||void 0===W?void 0:W.firstWeekContainsDate)&&void 0!==ce?ce:1);if(!(Re>=1&&Re<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Ee=new Date(0);Ee.setUTCFullYear(z+1,0,Re),Ee.setUTCHours(0,0,0,0);var Ie=(0,G.default)(Ee,ie),Ae=new Date(0);Ae.setUTCFullYear(z,0,Re),Ae.setUTCHours(0,0,0,0);var ve=(0,G.default)(Ae,ie);return j.getTime()>=Ie.getTime()?z+1:j.getTime()>=ve.getTime()?z:z-1};var V=k(A(90798)),B=k(A(61886)),G=k(A(88314)),$=k(A(6092)),R=A(40150);K.exports=O.default},70183:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.isProtectedDayOfYearToken=function V($){return-1!==A.indexOf($)},O.isProtectedWeekYearToken=function B($){return-1!==k.indexOf($)},O.throwProtectedError=function G($,R,P){if("YYYY"===$)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(R,"`) for formatting years to the input `").concat(P,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===$)throw new RangeError("Use `yy` instead of `YY` (in `".concat(R,"`) for formatting years to the input `").concat(P,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===$)throw new RangeError("Use `d` instead of `D` (in `".concat(R,"`) for formatting days of the month to the input `").concat(P,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===$)throw new RangeError("Use `dd` instead of `DD` (in `".concat(R,"`) for formatting days of the month to the input `").concat(P,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))};var A=["D","DD"],k=["YY","YYYY"]},61886:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(k,V){if(V.length1?"s":"")+" required, but only "+V.length+" present")},K.exports=O.default},96729:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function G($){(0,B.default)(1,arguments);var R=1,P=(0,V.default)($),Y=P.getUTCDay(),ie=(Y{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function $(R){(0,G.default)(1,arguments);var P=(0,V.default)(R),Y=new Date(0);Y.setUTCFullYear(P,0,4),Y.setUTCHours(0,0,0,0);var ie=(0,B.default)(Y);return ie};var V=k(A(23122)),B=k(A(96729)),G=k(A(61886));K.exports=O.default},88314:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function R(P,Y){var ie,ce,Ue,ye,ze,re,X,U;(0,B.default)(1,arguments);var W=(0,$.getDefaultOptions)(),j=(0,G.default)(null!==(ie=null!==(ce=null!==(Ue=null!==(ye=Y?.weekStartsOn)&&void 0!==ye?ye:null==Y||null===(ze=Y.locale)||void 0===ze||null===(re=ze.options)||void 0===re?void 0:re.weekStartsOn)&&void 0!==Ue?Ue:W.weekStartsOn)&&void 0!==ce?ce:null===(X=W.locale)||void 0===X||null===(U=X.options)||void 0===U?void 0:U.weekStartsOn)&&void 0!==ie?ie:0);if(!(j>=0&&j<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var z=(0,V.default)(P),pe=z.getUTCDay(),Re=(pe{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function P(Y,ie){var ce,Ue,ye,ze,re,X,U,W;(0,B.default)(1,arguments);var j=(0,R.getDefaultOptions)(),z=(0,$.default)(null!==(ce=null!==(Ue=null!==(ye=null!==(ze=ie?.firstWeekContainsDate)&&void 0!==ze?ze:null==ie||null===(re=ie.locale)||void 0===re||null===(X=re.options)||void 0===X?void 0:X.firstWeekContainsDate)&&void 0!==ye?ye:j.firstWeekContainsDate)&&void 0!==Ue?Ue:null===(U=j.locale)||void 0===U||null===(W=U.options)||void 0===W?void 0:W.firstWeekContainsDate)&&void 0!==ce?ce:1),pe=(0,V.default)(Y,ie),Re=new Date(0);Re.setUTCFullYear(pe,0,z),Re.setUTCHours(0,0,0,0);var Ee=(0,G.default)(Re,ie);return Ee};var V=k(A(68450)),B=k(A(61886)),G=k(A(88314)),$=k(A(6092)),R=A(40150);K.exports=O.default},6092:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(k){if(null===k||!0===k||!1===k)return NaN;var V=Number(k);return isNaN(V)?V:V<0?Math.ceil(V):Math.floor(V)},K.exports=O.default},50405:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function $(R,P){(0,G.default)(2,arguments);var Y=(0,B.default)(R).getTime(),ie=(0,V.default)(P);return new Date(Y+ie)};var V=k(A(6092)),B=k(A(90798)),G=k(A(61886));K.exports=O.default},61348:(K,O,A)=>{"use strict";A.r(O),A.d(O,{default:()=>xo});var k={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function G($e){return function(){var Vt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},yt=Vt.width?String(Vt.width):$e.defaultWidth,Gt=$e.formats[yt]||$e.formats[$e.defaultWidth];return Gt}}var Y={date:G({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:G({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:G({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},ce={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function ze($e){return function(Vt,yt){var kn;if("formatting"===(null!=yt&&yt.context?String(yt.context):"standalone")&&$e.formattingValues){var di=$e.defaultFormattingWidth||$e.defaultWidth,Wi=null!=yt&&yt.width?String(yt.width):di;kn=$e.formattingValues[Wi]||$e.formattingValues[di]}else{var jr=$e.defaultWidth,Et=null!=yt&&yt.width?String(yt.width):$e.defaultWidth;kn=$e.values[Et]||$e.values[jr]}return kn[$e.argumentCallback?$e.argumentCallback(Vt):Vt]}}function Ie($e){return function(Vt){var yt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Gt=yt.width,kn=Gt&&$e.matchPatterns[Gt]||$e.matchPatterns[$e.defaultMatchWidth],di=Vt.match(kn);if(!di)return null;var Wn,Wi=di[0],jr=Gt&&$e.parsePatterns[Gt]||$e.parsePatterns[$e.defaultParseWidth],Et=Array.isArray(jr)?ve(jr,function(Xo){return Xo.test(Wi)}):Ae(jr,function(Xo){return Xo.test(Wi)});Wn=$e.valueCallback?$e.valueCallback(Et):Et,Wn=yt.valueCallback?yt.valueCallback(Wn):Wn;var fa=Vt.slice(Wi.length);return{value:Wn,rest:fa}}}function Ae($e,Vt){for(var yt in $e)if($e.hasOwnProperty(yt)&&Vt($e[yt]))return yt}function ve($e,Vt){for(var yt=0;yt<$e.length;yt++)if(Vt($e[yt]))return yt}const xo={code:"en-US",formatDistance:function(Vt,yt,Gt){var kn,di=k[Vt];return kn="string"==typeof di?di:1===yt?di.one:di.other.replace("{{count}}",yt.toString()),null!=Gt&&Gt.addSuffix?Gt.comparison&&Gt.comparison>0?"in "+kn:kn+" ago":kn},formatLong:Y,formatRelative:function(Vt,yt,Gt,kn){return ce[Vt]},localize:{ordinalNumber:function(Vt,yt){var Gt=Number(Vt),kn=Gt%100;if(kn>20||kn<10)switch(kn%10){case 1:return Gt+"st";case 2:return Gt+"nd";case 3:return Gt+"rd"}return Gt+"th"},era:ze({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:ze({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(Vt){return Vt-1}}),month:ze({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:ze({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:ze({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function Ze($e){return function(Vt){var yt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Gt=Vt.match($e.matchPattern);if(!Gt)return null;var kn=Gt[0],di=Vt.match($e.parsePattern);if(!di)return null;var Wi=$e.valueCallback?$e.valueCallback(di[0]):di[0];Wi=yt.valueCallback?yt.valueCallback(Wi):Wi;var jr=Vt.slice(kn.length);return{value:Wi,rest:jr}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(Vt){return parseInt(Vt,10)}}),era:Ie({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Ie({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(Vt){return Vt+1}}),month:Ie({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Ie({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Ie({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},27868:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function j(pe,Re,Ee){var Ie,Ae,ve,Ze,St,ue,Fi,Mi,fe,Fr,nr,$i,ca,ua,Eo,Xa,da,fn;(0,ce.default)(2,arguments);var ha=String(Re),xo=(0,Ue.getDefaultOptions)(),$e=null!==(Ie=null!==(Ae=Ee?.locale)&&void 0!==Ae?Ae:xo.locale)&&void 0!==Ie?Ie:ye.default,Vt=(0,ie.default)(null!==(ve=null!==(Ze=null!==(St=null!==(ue=Ee?.firstWeekContainsDate)&&void 0!==ue?ue:null==Ee||null===(Fi=Ee.locale)||void 0===Fi||null===(Mi=Fi.options)||void 0===Mi?void 0:Mi.firstWeekContainsDate)&&void 0!==St?St:xo.firstWeekContainsDate)&&void 0!==Ze?Ze:null===(fe=xo.locale)||void 0===fe||null===(Fr=fe.options)||void 0===Fr?void 0:Fr.firstWeekContainsDate)&&void 0!==ve?ve:1);if(!(Vt>=1&&Vt<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var yt=(0,ie.default)(null!==(nr=null!==($i=null!==(ca=null!==(ua=Ee?.weekStartsOn)&&void 0!==ua?ua:null==Ee||null===(Eo=Ee.locale)||void 0===Eo||null===(Xa=Eo.options)||void 0===Xa?void 0:Xa.weekStartsOn)&&void 0!==ca?ca:xo.weekStartsOn)&&void 0!==$i?$i:null===(da=xo.locale)||void 0===da||null===(fn=da.options)||void 0===fn?void 0:fn.weekStartsOn)&&void 0!==nr?nr:0);if(!(yt>=0&&yt<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!$e.localize)throw new RangeError("locale must contain localize property");if(!$e.formatLong)throw new RangeError("locale must contain formatLong property");var Gt=(0,G.default)(pe);if(!(0,V.default)(Gt))throw new RangeError("Invalid time value");var kn=(0,P.default)(Gt),di=(0,B.default)(Gt,kn),Wi={firstWeekContainsDate:Vt,weekStartsOn:yt,locale:$e,_originalDate:Gt},jr=ha.match(re).map(function(Et){var Wn=Et[0];return"p"===Wn||"P"===Wn?(0,R.default[Wn])(Et,$e.formatLong):Et}).join("").match(ze).map(function(Et){if("''"===Et)return"'";var Wn=Et[0];if("'"===Wn)return z(Et);var fa=$.default[Wn];if(fa)return!(null!=Ee&&Ee.useAdditionalWeekYearTokens)&&(0,Y.isProtectedWeekYearToken)(Et)&&(0,Y.throwProtectedError)(Et,Re,String(pe)),!(null!=Ee&&Ee.useAdditionalDayOfYearTokens)&&(0,Y.isProtectedDayOfYearToken)(Et)&&(0,Y.throwProtectedError)(Et,Re,String(pe)),fa(di,Et,$e.localize,Wi);if(Wn.match(W))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Wn+"`");return Et}).join("");return jr};var V=k(A(88830)),B=k(A(65726)),G=k(A(90798)),$=k(A(1635)),R=k(A(75852)),P=k(A(47664)),Y=A(70183),ie=k(A(6092)),ce=k(A(61886)),Ue=A(40150),ye=k(A(73215)),ze=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,re=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,X=/^'([^]*?)'?$/,U=/''/g,W=/[a-zA-Z]/;function z(pe){var Re=pe.match(X);return Re?Re[1].replace(U,"'"):pe}K.exports=O.default},73085:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function G($){return(0,B.default)(1,arguments),$ instanceof Date||"object"===(0,V.default)($)&&"[object Date]"===Object.prototype.toString.call($)};var V=k(A(50590)),B=k(A(61886));K.exports=O.default},88830:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function $(R){if((0,G.default)(1,arguments),!(0,V.default)(R)&&"number"!=typeof R)return!1;var P=(0,B.default)(R);return!isNaN(Number(P))};var V=k(A(73085)),B=k(A(90798)),G=k(A(61886));K.exports=O.default},88995:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(k){return function(){var V=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},B=V.width?String(V.width):k.defaultWidth,G=k.formats[B]||k.formats[k.defaultWidth];return G}},K.exports=O.default},77579:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(k){return function(V,B){var $;if("formatting"===(null!=B&&B.context?String(B.context):"standalone")&&k.formattingValues){var R=k.defaultFormattingWidth||k.defaultWidth,P=null!=B&&B.width?String(B.width):R;$=k.formattingValues[P]||k.formattingValues[R]}else{var Y=k.defaultWidth,ie=null!=B&&B.width?String(B.width):k.defaultWidth;$=k.values[ie]||k.values[Y]}return $[k.argumentCallback?k.argumentCallback(V):V]}},K.exports=O.default},84728:(K,O)=>{"use strict";function k(B,G){for(var $ in B)if(B.hasOwnProperty($)&&G(B[$]))return $}function V(B,G){for(var $=0;$1&&void 0!==arguments[1]?arguments[1]:{},R=$.width,P=R&&B.matchPatterns[R]||B.matchPatterns[B.defaultMatchWidth],Y=G.match(P);if(!Y)return null;var ye,ie=Y[0],ce=R&&B.parsePatterns[R]||B.parsePatterns[B.defaultParseWidth],Ue=Array.isArray(ce)?V(ce,function(re){return re.test(ie)}):k(ce,function(re){return re.test(ie)});ye=B.valueCallback?B.valueCallback(Ue):Ue,ye=$.valueCallback?$.valueCallback(ye):ye;var ze=G.slice(ie.length);return{value:ye,rest:ze}}},K.exports=O.default},27223:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(k){return function(V){var B=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},G=V.match(k.matchPattern);if(!G)return null;var $=G[0],R=V.match(k.parsePattern);if(!R)return null;var P=k.valueCallback?k.valueCallback(R[0]):R[0];P=B.valueCallback?B.valueCallback(P):P;var Y=V.slice($.length);return{value:P,rest:Y}}},K.exports=O.default},39563:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var A={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};O.default=function(G,$,R){var P,Y=A[G];return P="string"==typeof Y?Y:1===$?Y.one:Y.other.replace("{{count}}",$.toString()),null!=R&&R.addSuffix?R.comparison&&R.comparison>0?"in "+P:P+" ago":P},K.exports=O.default},66929:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var V=k(A(88995)),R={date:(0,V.default)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,V.default)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,V.default)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};O.default=R,K.exports=O.default},21656:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var A={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};O.default=function(G,$,R,P){return A[G]},K.exports=O.default},31098:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var V=k(A(77579)),ce={ordinalNumber:function(ze,re){var X=Number(ze),U=X%100;if(U>20||U<10)switch(U%10){case 1:return X+"st";case 2:return X+"nd";case 3:return X+"rd"}return X+"th"},era:(0,V.default)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,V.default)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(ze){return ze-1}}),month:(0,V.default)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,V.default)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,V.default)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};O.default=ce,K.exports=O.default},53239:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var V=k(A(84728)),U={ordinalNumber:(0,k(A(27223)).default)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(z){return parseInt(z,10)}}),era:(0,V.default)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,V.default)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(z){return z+1}}),month:(0,V.default)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,V.default)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,V.default)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};O.default=U,K.exports=O.default},33338:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var V=k(A(39563)),B=k(A(66929)),G=k(A(21656)),$=k(A(31098)),R=k(A(53239));O.default={code:"en-US",formatDistance:V.default,formatLong:B.default,formatRelative:G.default,localize:$.default,match:R.default,options:{weekStartsOn:0,firstWeekContainsDate:1}},K.exports=O.default},65726:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function $(R,P){(0,B.default)(2,arguments);var Y=(0,G.default)(P);return(0,V.default)(R,-Y)};var V=k(A(50405)),B=k(A(61886)),G=k(A(6092));K.exports=O.default},90798:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function G($){(0,B.default)(1,arguments);var R=Object.prototype.toString.call($);return $ instanceof Date||"object"===(0,V.default)($)&&"[object Date]"===R?new Date($.getTime()):"number"==typeof $||"[object Number]"===R?new Date($):(("string"==typeof $||"[object String]"===R)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))};var V=k(A(50590)),B=k(A(61886));K.exports=O.default},88222:(K,O,A)=>{K=A.nmd(K);var V="__lodash_hash_undefined__",$=9007199254740991,R="[object Arguments]",P="[object Array]",ie="[object Boolean]",ce="[object Date]",Ue="[object Error]",ye="[object Function]",re="[object Map]",X="[object Number]",W="[object Object]",j="[object Promise]",pe="[object RegExp]",Re="[object Set]",Ee="[object String]",ve="[object WeakMap]",Ze="[object ArrayBuffer]",St="[object DataView]",Xa=/^\[object .+?Constructor\]$/,da=/^(?:0|[1-9]\d*)$/,fn={};fn["[object Float32Array]"]=fn["[object Float64Array]"]=fn["[object Int8Array]"]=fn["[object Int16Array]"]=fn["[object Int32Array]"]=fn["[object Uint8Array]"]=fn["[object Uint8ClampedArray]"]=fn["[object Uint16Array]"]=fn["[object Uint32Array]"]=!0,fn[R]=fn[P]=fn[Ze]=fn[ie]=fn[St]=fn[ce]=fn[Ue]=fn[ye]=fn[re]=fn[X]=fn[W]=fn[pe]=fn[Re]=fn[Ee]=fn[ve]=!1;var ha="object"==typeof global&&global&&global.Object===Object&&global,xo="object"==typeof self&&self&&self.Object===Object&&self,$e=ha||xo||Function("return this")(),Vt=O&&!O.nodeType&&O,yt=Vt&&K&&!K.nodeType&&K,Gt=yt&&yt.exports===Vt,kn=Gt&&ha.process,di=function(){try{return kn&&kn.binding&&kn.binding("util")}catch{}}(),Wi=di&&di.isTypedArray;function Wn(M,L){for(var oe=-1,De=null==M?0:M.length;++oeoi))return!1;var sn=pt.get(M);if(sn&&pt.get(L))return sn==L;var Si=-1,lo=!0,we=2&oe?new Zt:void 0;for(pt.set(M,L),pt.set(L,M);++Si-1},es.prototype.set=function ax(M,L){var oe=this.__data__,De=Qu(oe,M);return De<0?(++this.size,oe.push([M,L])):oe[De][1]=L,this},nl.prototype.clear=function EC(){this.size=0,this.__data__={hash:new ya,map:new(ma||es),string:new ya}},nl.prototype.delete=function lx(M){var L=mn(this,M).delete(M);return this.size-=L?1:0,L},nl.prototype.get=function xC(M){return mn(this,M).get(M)},nl.prototype.has=function cx(M){return mn(this,M).has(M)},nl.prototype.set=function zr(M,L){var oe=mn(this,M),De=oe.size;return oe.set(M,L),this.size+=oe.size==De?0:1,this},Zt.prototype.add=Zt.prototype.push=function ux(M){return this.__data__.set(M,V),this},Zt.prototype.has=function dx(M){return this.__data__.has(M)},_a.prototype.clear=function H(){this.__data__=new es,this.size=0},_a.prototype.delete=function hx(M){var L=this.__data__,oe=L.delete(M);return this.size=L.size,oe},_a.prototype.get=function ft(M){return this.__data__.get(M)},_a.prototype.has=function Ku(M){return this.__data__.has(M)},_a.prototype.set=function IC(M,L){var oe=this.__data__;if(oe instanceof es){var De=oe.__data__;if(!ma||De.length<199)return De.push([M,L]),this.size=++oe.size,this;oe=this.__data__=new nl(De)}return oe.set(M,L),this.size=oe.size,this};var px=py?function(M){return null==M?[]:(M=Object(M),function jr(M,L){for(var oe=-1,De=null==M?0:M.length,Ke=0,pt=[];++oe-1&&M%1==0&&M-1&&M%1==0&&M<=$}function sl(M){var L=typeof M;return null!=M&&("object"==L||"function"==L)}function mc(M){return null!=M&&"object"==typeof M}var vy=Wi?function Xo(M){return function(L){return M(L)}}(Wi):function nt(M){return mc(M)&&td(M.length)&&!!fn[il(M)]};function RC(M){return function F(M){return null!=M&&td(M.length)&&!pc(M)}(M)?function my(M,L){var oe=Xu(M),De=!oe&&ol(M),Ke=!oe&&!De&&ed(M),pt=!oe&&!De&&!Ke&&vy(M),Ln=oe||De||Ke||pt,oi=Ln?function fa(M,L){for(var oe=-1,De=Array(M);++oe{var k={"./ar-DZ/_lib/formatDistance/index.js":[28066,8592],"./ar-DZ/_lib/formatLong/index.js":[86369,8592],"./ar-DZ/_lib/formatRelative/index.js":[89786,8592],"./ar-DZ/_lib/localize/index.js":[36207,8592],"./ar-DZ/_lib/match/index.js":[53371,8592],"./ar-DZ/index.js":[76327,8592,6327],"./ar-EG/_lib/formatDistance/index.js":[95932,8592],"./ar-EG/_lib/formatLong/index.js":[46023,8592],"./ar-EG/_lib/formatRelative/index.js":[74621,8592],"./ar-EG/_lib/localize/index.js":[93376,8592],"./ar-EG/_lib/match/index.js":[76456,8592],"./ar-EG/index.js":[30830,8592,830],"./ar-MA/_lib/formatDistance/index.js":[25565,8592],"./ar-MA/_lib/formatLong/index.js":[81783,8592],"./ar-MA/_lib/formatRelative/index.js":[90030,8592],"./ar-MA/_lib/localize/index.js":[60503,8592],"./ar-MA/_lib/match/index.js":[83427,8592],"./ar-MA/index.js":[96094,8592,6094],"./ar-SA/_lib/formatDistance/index.js":[3797,8592],"./ar-SA/_lib/formatLong/index.js":[73212,8592],"./ar-SA/_lib/formatRelative/index.js":[79009,8592],"./ar-SA/_lib/localize/index.js":[12535,8592],"./ar-SA/_lib/match/index.js":[14710,8592],"./ar-SA/index.js":[54370,8592,4370],"./ar-TN/_lib/formatDistance/index.js":[56566,8592],"./ar-TN/_lib/formatLong/index.js":[4585,8592],"./ar-TN/_lib/formatRelative/index.js":[5374,8592],"./ar-TN/_lib/localize/index.js":[85963,8592],"./ar-TN/_lib/match/index.js":[13401,8592],"./ar-TN/index.js":[37373,8592,7373],"./be-tarask/_lib/formatDistance/index.js":[82665,8592],"./be-tarask/_lib/formatLong/index.js":[9662,8592],"./be-tarask/_lib/formatRelative/index.js":[4653,4,8592],"./be-tarask/_lib/localize/index.js":[40591,8592],"./be-tarask/_lib/match/index.js":[34412,8592],"./be-tarask/index.js":[27840,4,8592,7840],"./de-AT/_lib/localize/index.js":[44821,8592],"./de-AT/index.js":[21782,8592,1782],"./en-AU/_lib/formatLong/index.js":[65493,8592],"./en-AU/index.js":[87747,8592,7747],"./en-CA/_lib/formatDistance/index.js":[80780,8592],"./en-CA/_lib/formatLong/index.js":[26153,8592],"./en-CA/index.js":[21413,8592,1413],"./en-GB/_lib/formatLong/index.js":[33819,8592],"./en-GB/index.js":[33035,8592,3035],"./en-IE/index.js":[61959,8592,1959],"./en-IN/_lib/formatLong/index.js":[20862,8592],"./en-IN/index.js":[82873,8592,2873],"./en-NZ/_lib/formatLong/index.js":[36336,8592],"./en-NZ/index.js":[26041,8592,6041],"./en-US/_lib/formatDistance/index.js":[39563],"./en-US/_lib/formatLong/index.js":[66929],"./en-US/_lib/formatRelative/index.js":[21656],"./en-US/_lib/localize/index.js":[31098],"./en-US/_lib/match/index.js":[53239],"./en-US/index.js":[33338],"./en-ZA/_lib/formatLong/index.js":[9221,8592],"./en-ZA/index.js":[11543,8592,1543],"./fa-IR/_lib/formatDistance/index.js":[76726,8592],"./fa-IR/_lib/formatLong/index.js":[10749,8592],"./fa-IR/_lib/formatRelative/index.js":[7220,8592],"./fa-IR/_lib/localize/index.js":[72441,8592],"./fa-IR/_lib/match/index.js":[81488,8592],"./fa-IR/index.js":[84996,8592,4996],"./fr-CA/_lib/formatLong/index.js":[85947,8592],"./fr-CA/index.js":[73723,8592,3723],"./fr-CH/_lib/formatLong/index.js":[27414,8592],"./fr-CH/_lib/formatRelative/index.js":[66155,8592],"./fr-CH/index.js":[24565,8592,4565],"./it-CH/_lib/formatLong/index.js":[31519,8592],"./it-CH/index.js":[87736,8592,469],"./ja-Hira/_lib/formatDistance/index.js":[84703,8592],"./ja-Hira/_lib/formatLong/index.js":[56574,8592],"./ja-Hira/_lib/formatRelative/index.js":[93381,8592],"./ja-Hira/_lib/localize/index.js":[35710,8592],"./ja-Hira/_lib/match/index.js":[69417,8592],"./ja-Hira/index.js":[12944,8592,2944],"./nl-BE/_lib/formatDistance/index.js":[16129,8592],"./nl-BE/_lib/formatLong/index.js":[17657,8592],"./nl-BE/_lib/formatRelative/index.js":[89811,8592],"./nl-BE/_lib/localize/index.js":[58816,8592],"./nl-BE/_lib/match/index.js":[28333,8592],"./nl-BE/index.js":[70296,8592,296],"./pt-BR/_lib/formatDistance/index.js":[52638,8592],"./pt-BR/_lib/formatLong/index.js":[33247,8592],"./pt-BR/_lib/formatRelative/index.js":[25492,8592],"./pt-BR/_lib/localize/index.js":[81046,8592],"./pt-BR/_lib/match/index.js":[63770,8592],"./pt-BR/index.js":[47569,8592,7569],"./sr-Latn/_lib/formatDistance/index.js":[69014,8592],"./sr-Latn/_lib/formatLong/index.js":[99257,8592],"./sr-Latn/_lib/formatRelative/index.js":[42428,8592],"./sr-Latn/_lib/localize/index.js":[92773,8592],"./sr-Latn/_lib/match/index.js":[7766,8592],"./sr-Latn/index.js":[99064,8592,9064],"./uz-Cyrl/_lib/formatDistance/index.js":[67778,8592],"./uz-Cyrl/_lib/formatLong/index.js":[64095,8592],"./uz-Cyrl/_lib/formatRelative/index.js":[83734,8592],"./uz-Cyrl/_lib/localize/index.js":[17670,8592],"./uz-Cyrl/_lib/match/index.js":[75798,8592],"./uz-Cyrl/index.js":[14527,8592,4527],"./zh-CN/_lib/formatDistance/index.js":[33437,8592],"./zh-CN/_lib/formatLong/index.js":[91583,8592],"./zh-CN/_lib/formatRelative/index.js":[95629,8592,5441],"./zh-CN/_lib/localize/index.js":[17939,8592],"./zh-CN/_lib/match/index.js":[71362,8592],"./zh-CN/index.js":[86335,8592,2007],"./zh-HK/_lib/formatDistance/index.js":[37348,8592],"./zh-HK/_lib/formatLong/index.js":[60924,8592],"./zh-HK/_lib/formatRelative/index.js":[22164,8592],"./zh-HK/_lib/localize/index.js":[39264,8592],"./zh-HK/_lib/match/index.js":[50358,8592],"./zh-HK/index.js":[59277,8592,9277],"./zh-TW/_lib/formatDistance/index.js":[31613,8592],"./zh-TW/_lib/formatLong/index.js":[1239,8592],"./zh-TW/_lib/formatRelative/index.js":[13240,8592],"./zh-TW/_lib/localize/index.js":[29850,8592],"./zh-TW/_lib/match/index.js":[38819,8592],"./zh-TW/index.js":[74565,8592,3793]};function V(B){if(!A.o(k,B))return Promise.resolve().then(()=>{var R=new Error("Cannot find module '"+B+"'");throw R.code="MODULE_NOT_FOUND",R});var G=k[B],$=G[0];return Promise.all(G.slice(1).map(A.e)).then(()=>A.t($,23))}V.keys=()=>Object.keys(k),V.id=13131,K.exports=V},71213:(K,O,A)=>{var k={"./_lib/buildFormatLongFn/index.js":[88995,7],"./_lib/buildLocalizeFn/index.js":[77579,7],"./_lib/buildMatchFn/index.js":[84728,7],"./_lib/buildMatchPatternFn/index.js":[27223,7],"./af/_lib/formatDistance/index.js":[55864,7,8592],"./af/_lib/formatLong/index.js":[25358,7,8592],"./af/_lib/formatRelative/index.js":[25892,7,8592],"./af/_lib/localize/index.js":[18874,7,8592],"./af/_lib/match/index.js":[22146,7,8592],"./af/index.js":[72399,7,8592,2399],"./ar-DZ/_lib/formatDistance/index.js":[28066,7,8592],"./ar-DZ/_lib/formatLong/index.js":[86369,7,8592],"./ar-DZ/_lib/formatRelative/index.js":[89786,7,8592],"./ar-DZ/_lib/localize/index.js":[36207,7,8592],"./ar-DZ/_lib/match/index.js":[53371,7,8592],"./ar-DZ/index.js":[76327,7,8592,6327],"./ar-EG/_lib/formatDistance/index.js":[95932,7,8592],"./ar-EG/_lib/formatLong/index.js":[46023,7,8592],"./ar-EG/_lib/formatRelative/index.js":[74621,7,8592],"./ar-EG/_lib/localize/index.js":[93376,7,8592],"./ar-EG/_lib/match/index.js":[76456,7,8592],"./ar-EG/index.js":[30830,7,8592,830],"./ar-MA/_lib/formatDistance/index.js":[25565,7,8592],"./ar-MA/_lib/formatLong/index.js":[81783,7,8592],"./ar-MA/_lib/formatRelative/index.js":[90030,7,8592],"./ar-MA/_lib/localize/index.js":[60503,7,8592],"./ar-MA/_lib/match/index.js":[83427,7,8592],"./ar-MA/index.js":[96094,7,8592,6094],"./ar-SA/_lib/formatDistance/index.js":[3797,7,8592],"./ar-SA/_lib/formatLong/index.js":[73212,7,8592],"./ar-SA/_lib/formatRelative/index.js":[79009,7,8592],"./ar-SA/_lib/localize/index.js":[12535,7,8592],"./ar-SA/_lib/match/index.js":[14710,7,8592],"./ar-SA/index.js":[54370,7,8592,4370],"./ar-TN/_lib/formatDistance/index.js":[56566,7,8592],"./ar-TN/_lib/formatLong/index.js":[4585,7,8592],"./ar-TN/_lib/formatRelative/index.js":[5374,7,8592],"./ar-TN/_lib/localize/index.js":[85963,7,8592],"./ar-TN/_lib/match/index.js":[13401,7,8592],"./ar-TN/index.js":[37373,7,8592,7373],"./ar/_lib/formatDistance/index.js":[91118,7,8592],"./ar/_lib/formatLong/index.js":[90899,7,8592],"./ar/_lib/formatRelative/index.js":[18739,7,8592],"./ar/_lib/localize/index.js":[64620,7,8592],"./ar/_lib/match/index.js":[32101,7,8592],"./ar/index.js":[91780,7,8592,1780],"./az/_lib/formatDistance/index.js":[2541,7,8592],"./az/_lib/formatLong/index.js":[6246,7,8592],"./az/_lib/formatRelative/index.js":[33557,7,8592],"./az/_lib/localize/index.js":[89347,7,8592],"./az/_lib/match/index.js":[75242,7,8592],"./az/index.js":[170,7,8592,170],"./be-tarask/_lib/formatDistance/index.js":[82665,7,8592],"./be-tarask/_lib/formatLong/index.js":[9662,7,8592],"./be-tarask/_lib/formatRelative/index.js":[4653,7,4,8592],"./be-tarask/_lib/localize/index.js":[40591,7,8592],"./be-tarask/_lib/match/index.js":[34412,7,8592],"./be-tarask/index.js":[27840,7,4,8592,7840],"./be/_lib/formatDistance/index.js":[9006,7,8592],"./be/_lib/formatLong/index.js":[58343,7,8592],"./be/_lib/formatRelative/index.js":[20369,7,4,8592],"./be/_lib/localize/index.js":[30768,7,8592],"./be/_lib/match/index.js":[35637,7,8592],"./be/index.js":[94646,7,4,8592,4646],"./bg/_lib/formatDistance/index.js":[54037,7,8592],"./bg/_lib/formatLong/index.js":[44221,7,8592],"./bg/_lib/formatRelative/index.js":[24925,7,8592,9491],"./bg/_lib/localize/index.js":[60958,7,8592],"./bg/_lib/match/index.js":[99124,7,8592],"./bg/index.js":[90948,7,8592,6922],"./bn/_lib/formatDistance/index.js":[5190,7,8592],"./bn/_lib/formatLong/index.js":[10846,7,8592],"./bn/_lib/formatRelative/index.js":[90009,7,8592],"./bn/_lib/localize/index.js":[32143,9,8592],"./bn/_lib/match/index.js":[71701,7,8592],"./bn/index.js":[76982,7,8592,6982],"./bs/_lib/formatDistance/index.js":[3504,7,8592],"./bs/_lib/formatLong/index.js":[47625,7,8592],"./bs/_lib/formatRelative/index.js":[69642,7,8592],"./bs/_lib/localize/index.js":[19781,7,8592],"./bs/_lib/match/index.js":[98469,7,8592],"./bs/index.js":[21670,7,8592,1670],"./ca/_lib/formatDistance/index.js":[78470,7,8592],"./ca/_lib/formatLong/index.js":[37682,7,8592],"./ca/_lib/formatRelative/index.js":[73019,7,8592],"./ca/_lib/localize/index.js":[94354,7,8592],"./ca/_lib/match/index.js":[87821,7,8592],"./ca/index.js":[59800,7,8592,9800],"./cs/_lib/formatDistance/index.js":[84712,7,8592],"./cs/_lib/formatLong/index.js":[25366,7,8592],"./cs/_lib/formatRelative/index.js":[30404,7,8592],"./cs/_lib/localize/index.js":[1944,7,8592],"./cs/_lib/match/index.js":[8302,7,8592],"./cs/index.js":[27463,7,8592,7463],"./cy/_lib/formatDistance/index.js":[53860,7,8592],"./cy/_lib/formatLong/index.js":[5355,7,8592],"./cy/_lib/formatRelative/index.js":[11612,7,8592],"./cy/_lib/localize/index.js":[79008,7,8592],"./cy/_lib/match/index.js":[69946,7,8592],"./cy/index.js":[87955,7,8592,7955],"./da/_lib/formatDistance/index.js":[32439,7,8592],"./da/_lib/formatLong/index.js":[40114,7,8592],"./da/_lib/formatRelative/index.js":[33452,7,8592],"./da/_lib/localize/index.js":[22653,7,8592],"./da/_lib/match/index.js":[1416,7,8592],"./da/index.js":[11295,7,8592,1295],"./de-AT/_lib/localize/index.js":[44821,7,8592],"./de-AT/index.js":[21782,7,8592,1782],"./de/_lib/formatDistance/index.js":[98815,7,8592],"./de/_lib/formatLong/index.js":[47173,7,8592],"./de/_lib/formatRelative/index.js":[5278,7,8592],"./de/_lib/localize/index.js":[54552,7,8592],"./de/_lib/match/index.js":[31871,7,8592],"./de/index.js":[94086,7,8592,4086],"./el/_lib/formatDistance/index.js":[39298,7,8592],"./el/_lib/formatLong/index.js":[94460,7,8592],"./el/_lib/formatRelative/index.js":[72435,7,8592],"./el/_lib/localize/index.js":[674,7,8592],"./el/_lib/match/index.js":[40588,7,8592],"./el/index.js":[26106,7,8592,6106],"./en-AU/_lib/formatLong/index.js":[65493,7,8592],"./en-AU/index.js":[87747,7,8592,7747],"./en-CA/_lib/formatDistance/index.js":[80780,7,8592],"./en-CA/_lib/formatLong/index.js":[26153,7,8592],"./en-CA/index.js":[21413,7,8592,1413],"./en-GB/_lib/formatLong/index.js":[33819,7,8592],"./en-GB/index.js":[33035,7,8592,3035],"./en-IE/index.js":[61959,7,8592,1959],"./en-IN/_lib/formatLong/index.js":[20862,7,8592],"./en-IN/index.js":[82873,7,8592,2873],"./en-NZ/_lib/formatLong/index.js":[36336,7,8592],"./en-NZ/index.js":[26041,7,8592,6041],"./en-US/_lib/formatDistance/index.js":[39563,7],"./en-US/_lib/formatLong/index.js":[66929,7],"./en-US/_lib/formatRelative/index.js":[21656,7],"./en-US/_lib/localize/index.js":[31098,7],"./en-US/_lib/match/index.js":[53239,7],"./en-US/index.js":[33338,7],"./en-ZA/_lib/formatLong/index.js":[9221,7,8592],"./en-ZA/index.js":[11543,7,8592,1543],"./eo/_lib/formatDistance/index.js":[43549,7,8592],"./eo/_lib/formatLong/index.js":[25567,7,8592],"./eo/_lib/formatRelative/index.js":[30410,7,8592],"./eo/_lib/localize/index.js":[27249,7,8592],"./eo/_lib/match/index.js":[75687,7,8592],"./eo/index.js":[63574,7,8592,3574],"./es/_lib/formatDistance/index.js":[66660,7,8592],"./es/_lib/formatLong/index.js":[39055,7,8592],"./es/_lib/formatRelative/index.js":[63774,7,8592],"./es/_lib/localize/index.js":[38835,7,8592],"./es/_lib/match/index.js":[38662,7,8592],"./es/index.js":[23413,7,8592,3413],"./et/_lib/formatDistance/index.js":[64334,7,8592],"./et/_lib/formatLong/index.js":[32045,7,8592],"./et/_lib/formatRelative/index.js":[47074,7,8592],"./et/_lib/localize/index.js":[42462,7,8592],"./et/_lib/match/index.js":[85999,7,8592],"./et/index.js":[65861,7,8592,5861],"./eu/_lib/formatDistance/index.js":[91793,7,8592],"./eu/_lib/formatLong/index.js":[17350,7,8592],"./eu/_lib/formatRelative/index.js":[25688,7,8592],"./eu/_lib/localize/index.js":[28061,7,8592],"./eu/_lib/match/index.js":[11113,7,8592],"./eu/index.js":[29618,7,8592,9618],"./fa-IR/_lib/formatDistance/index.js":[76726,7,8592],"./fa-IR/_lib/formatLong/index.js":[10749,7,8592],"./fa-IR/_lib/formatRelative/index.js":[7220,7,8592],"./fa-IR/_lib/localize/index.js":[72441,7,8592],"./fa-IR/_lib/match/index.js":[81488,7,8592],"./fa-IR/index.js":[84996,7,8592,4996],"./fi/_lib/formatDistance/index.js":[97929,7,8592],"./fi/_lib/formatLong/index.js":[63741,7,8592],"./fi/_lib/formatRelative/index.js":[23234,7,8592],"./fi/_lib/localize/index.js":[5936,7,8592],"./fi/_lib/match/index.js":[157,7,8592],"./fi/index.js":[3596,7,8592,3596],"./fr-CA/_lib/formatLong/index.js":[85947,7,8592],"./fr-CA/index.js":[73723,7,8592,3723],"./fr-CH/_lib/formatLong/index.js":[27414,7,8592],"./fr-CH/_lib/formatRelative/index.js":[66155,7,8592],"./fr-CH/index.js":[24565,7,8592,4565],"./fr/_lib/formatDistance/index.js":[26839,7,8592],"./fr/_lib/formatLong/index.js":[32554,7,8592],"./fr/_lib/formatRelative/index.js":[15328,7,8592],"./fr/_lib/localize/index.js":[29821,7,8592],"./fr/_lib/match/index.js":[57047,7,8592],"./fr/index.js":[34153,7,8592,4153],"./fy/_lib/formatDistance/index.js":[60373,7,8592],"./fy/_lib/formatLong/index.js":[97771,7,8592],"./fy/_lib/formatRelative/index.js":[33851,7,8592],"./fy/_lib/localize/index.js":[86993,7,8592],"./fy/_lib/match/index.js":[48603,7,8592],"./fy/index.js":[73434,7,8592,3434],"./gd/_lib/formatDistance/index.js":[45690,7,8592],"./gd/_lib/formatLong/index.js":[2660,7,8592],"./gd/_lib/formatRelative/index.js":[30700,7,8592],"./gd/_lib/localize/index.js":[40751,7,8592],"./gd/_lib/match/index.js":[40421,7,8592],"./gd/index.js":[48569,7,8592,8569],"./gl/_lib/formatDistance/index.js":[35871,7,8592],"./gl/_lib/formatLong/index.js":[30449,7,8592],"./gl/_lib/formatRelative/index.js":[95563,7,8592],"./gl/_lib/localize/index.js":[61905,7,8592],"./gl/_lib/match/index.js":[33150,7,8592],"./gl/index.js":[96508,7,8592,6508],"./gu/_lib/formatDistance/index.js":[88210,7,8592],"./gu/_lib/formatLong/index.js":[63333,7,8592],"./gu/_lib/formatRelative/index.js":[89348,7,8592],"./gu/_lib/localize/index.js":[50143,7,8592],"./gu/_lib/match/index.js":[50932,7,8592],"./gu/index.js":[75732,7,8592,5732],"./he/_lib/formatDistance/index.js":[42191,7,8592],"./he/_lib/formatLong/index.js":[13925,7,8592],"./he/_lib/formatRelative/index.js":[11481,7,8592],"./he/_lib/localize/index.js":[19661,7,8592],"./he/_lib/match/index.js":[41291,7,8592],"./he/index.js":[86517,7,8592,6517],"./hi/_lib/formatDistance/index.js":[52573,7,8592],"./hi/_lib/formatLong/index.js":[30535,7,8592],"./hi/_lib/formatRelative/index.js":[65379,7,8592],"./hi/_lib/localize/index.js":[35423,9,8592],"./hi/_lib/match/index.js":[78198,7,8592],"./hi/index.js":[29562,7,8592,9562],"./hr/_lib/formatDistance/index.js":[7652,7,8592],"./hr/_lib/formatLong/index.js":[29577,7,8592],"./hr/_lib/formatRelative/index.js":[27603,7,8592],"./hr/_lib/localize/index.js":[12512,7,8592],"./hr/_lib/match/index.js":[83880,7,8592],"./hr/index.js":[41499,7,8592,1499],"./ht/_lib/formatDistance/index.js":[17743,7,8592],"./ht/_lib/formatLong/index.js":[50596,7,8592],"./ht/_lib/formatRelative/index.js":[66473,7,8592],"./ht/_lib/localize/index.js":[98942,7,8592],"./ht/_lib/match/index.js":[18649,7,8592],"./ht/index.js":[91792,7,8592,1792],"./hu/_lib/formatDistance/index.js":[74406,7,8592],"./hu/_lib/formatLong/index.js":[53971,7,8592],"./hu/_lib/formatRelative/index.js":[48580,7,8592],"./hu/_lib/localize/index.js":[6998,7,8592],"./hu/_lib/match/index.js":[69897,7,8592],"./hu/index.js":[85980,7,8592,5980],"./hy/_lib/formatDistance/index.js":[50897,7,8592],"./hy/_lib/formatLong/index.js":[11837,7,8592],"./hy/_lib/formatRelative/index.js":[3543,7,8592],"./hy/_lib/localize/index.js":[90151,7,8592],"./hy/_lib/match/index.js":[97177,7,8592],"./hy/index.js":[83268,7,8592,3268],"./id/_lib/formatDistance/index.js":[70846,7,8592],"./id/_lib/formatLong/index.js":[53405,7,8592],"./id/_lib/formatRelative/index.js":[97180,7,8592],"./id/_lib/localize/index.js":[35645,7,8592],"./id/_lib/match/index.js":[87601,7,8592],"./id/index.js":[90146,7,8592,146],"./is/_lib/formatDistance/index.js":[2370,7,8592],"./is/_lib/formatLong/index.js":[74096,7,8592],"./is/_lib/formatRelative/index.js":[42141,7,8592],"./is/_lib/localize/index.js":[12161,7,8592],"./is/_lib/match/index.js":[20798,7,8592],"./is/index.js":[84111,7,8592,4111],"./it-CH/_lib/formatLong/index.js":[31519,7,8592],"./it-CH/index.js":[87736,7,8592,469],"./it/_lib/formatDistance/index.js":[40358,7,8592],"./it/_lib/formatLong/index.js":[29588,7,8592],"./it/_lib/formatRelative/index.js":[91403,7,8592,5096],"./it/_lib/localize/index.js":[62007,7,8592],"./it/_lib/match/index.js":[94070,7,8592],"./it/index.js":[93722,7,8592,2039],"./ja-Hira/_lib/formatDistance/index.js":[84703,7,8592],"./ja-Hira/_lib/formatLong/index.js":[56574,7,8592],"./ja-Hira/_lib/formatRelative/index.js":[93381,7,8592],"./ja-Hira/_lib/localize/index.js":[35710,7,8592],"./ja-Hira/_lib/match/index.js":[69417,7,8592],"./ja-Hira/index.js":[12944,7,8592,2944],"./ja/_lib/formatDistance/index.js":[68018,7,8592],"./ja/_lib/formatLong/index.js":[45602,7,8592],"./ja/_lib/formatRelative/index.js":[65297,7,8592],"./ja/_lib/localize/index.js":[77420,7,8592],"./ja/_lib/match/index.js":[83926,7,8592],"./ja/index.js":[89251,7,8592,9251],"./ka/_lib/formatDistance/index.js":[39442,7,8592],"./ka/_lib/formatLong/index.js":[960,7,8592],"./ka/_lib/formatRelative/index.js":[18861,7,8592],"./ka/_lib/localize/index.js":[85798,7,8592],"./ka/_lib/match/index.js":[55077,7,8592],"./ka/index.js":[34010,7,8592,4010],"./kk/_lib/formatDistance/index.js":[44502,7,8592],"./kk/_lib/formatLong/index.js":[79591,7,8592],"./kk/_lib/formatRelative/index.js":[80876,7,8592,1098],"./kk/_lib/localize/index.js":[16163,7,8592],"./kk/_lib/match/index.js":[11079,7,8592],"./kk/index.js":[61615,7,8592,3387],"./km/_lib/formatDistance/index.js":[69355,7,8592],"./km/_lib/formatLong/index.js":[64335,7,8592],"./km/_lib/formatRelative/index.js":[68462,7,8592],"./km/_lib/localize/index.js":[32885,7,8592],"./km/_lib/match/index.js":[49242,7,8592],"./km/index.js":[98510,7,8592,8510],"./kn/_lib/formatDistance/index.js":[93557,7,8592],"./kn/_lib/formatLong/index.js":[19335,7,8592],"./kn/_lib/formatRelative/index.js":[19080,7,8592],"./kn/_lib/localize/index.js":[83848,7,8592],"./kn/_lib/match/index.js":[36809,7,8592],"./kn/index.js":[99517,7,8592,9517],"./ko/_lib/formatDistance/index.js":[21540,7,8592],"./ko/_lib/formatLong/index.js":[47237,7,8592],"./ko/_lib/formatRelative/index.js":[91078,7,8592],"./ko/_lib/localize/index.js":[89409,7,8592],"./ko/_lib/match/index.js":[38567,7,8592],"./ko/index.js":[15058,7,8592,5058],"./lb/_lib/formatDistance/index.js":[81904,7,8592],"./lb/_lib/formatLong/index.js":[53103,7,8592],"./lb/_lib/formatRelative/index.js":[64861,7,8592],"./lb/_lib/localize/index.js":[13317,7,8592],"./lb/_lib/match/index.js":[72652,7,8592],"./lb/index.js":[61953,7,8592,1953],"./lt/_lib/formatDistance/index.js":[55348,7,8592],"./lt/_lib/formatLong/index.js":[18290,7,8592],"./lt/_lib/formatRelative/index.js":[53257,7,8592],"./lt/_lib/localize/index.js":[62395,7,8592],"./lt/_lib/match/index.js":[5825,7,8592],"./lt/index.js":[35901,7,8592,5901],"./lv/_lib/formatDistance/index.js":[28910,7,8592],"./lv/_lib/formatLong/index.js":[86421,7,8592],"./lv/_lib/formatRelative/index.js":[60151,7,8592,3746],"./lv/_lib/localize/index.js":[44960,7,8592],"./lv/_lib/match/index.js":[4876,7,8592],"./lv/index.js":[82008,7,8592,6752],"./mk/_lib/formatDistance/index.js":[38992,7,8592],"./mk/_lib/formatLong/index.js":[7479,7,8592],"./mk/_lib/formatRelative/index.js":[41655,7,8592,903],"./mk/_lib/localize/index.js":[23458,7,8592],"./mk/_lib/match/index.js":[82975,7,8592],"./mk/index.js":[21880,7,8592,3593],"./mn/_lib/formatDistance/index.js":[61341,7,8592],"./mn/_lib/formatLong/index.js":[19732,7,8592],"./mn/_lib/formatRelative/index.js":[98225,7,8592],"./mn/_lib/localize/index.js":[89576,7,8592],"./mn/_lib/match/index.js":[33306,7,8592],"./mn/index.js":[31937,7,8592,1937],"./ms/_lib/formatDistance/index.js":[97808,7,8592],"./ms/_lib/formatLong/index.js":[61962,7,8592],"./ms/_lib/formatRelative/index.js":[68530,7,8592],"./ms/_lib/localize/index.js":[13241,7,8592],"./ms/_lib/match/index.js":[67079,7,8592],"./ms/index.js":[25098,7,8592,5098],"./mt/_lib/formatDistance/index.js":[14611,7,8592],"./mt/_lib/formatLong/index.js":[65011,7,8592],"./mt/_lib/formatRelative/index.js":[44521,7,8592],"./mt/_lib/localize/index.js":[69408,7,8592],"./mt/_lib/match/index.js":[29726,7,8592],"./mt/index.js":[12811,7,8592,2811],"./nb/_lib/formatDistance/index.js":[59968,7,8592],"./nb/_lib/formatLong/index.js":[20511,7,8592],"./nb/_lib/formatRelative/index.js":[11639,7,8592],"./nb/_lib/localize/index.js":[94249,7,8592],"./nb/_lib/match/index.js":[63498,7,8592],"./nb/index.js":[61295,7,8592,8226],"./nl-BE/_lib/formatDistance/index.js":[16129,7,8592],"./nl-BE/_lib/formatLong/index.js":[17657,7,8592],"./nl-BE/_lib/formatRelative/index.js":[89811,7,8592],"./nl-BE/_lib/localize/index.js":[58816,7,8592],"./nl-BE/_lib/match/index.js":[28333,7,8592],"./nl-BE/index.js":[70296,7,8592,296],"./nl/_lib/formatDistance/index.js":[57117,7,8592],"./nl/_lib/formatLong/index.js":[57197,7,8592],"./nl/_lib/formatRelative/index.js":[62818,7,8592],"./nl/_lib/localize/index.js":[67706,7,8592],"./nl/_lib/match/index.js":[61430,7,8592],"./nl/index.js":[80775,7,8592,775],"./nn/_lib/formatDistance/index.js":[4563,7,8592],"./nn/_lib/formatLong/index.js":[89212,7,8592],"./nn/_lib/formatRelative/index.js":[2565,7,8592],"./nn/_lib/localize/index.js":[28456,7,8592],"./nn/_lib/match/index.js":[51571,7,8592],"./nn/index.js":[34632,7,8592,4632],"./oc/_lib/formatDistance/index.js":[16585,7,8592],"./oc/_lib/formatLong/index.js":[96725,7,8592],"./oc/_lib/formatRelative/index.js":[7548,7,8592],"./oc/_lib/localize/index.js":[93417,7,8592],"./oc/_lib/match/index.js":[18145,7,8592],"./oc/index.js":[68311,7,8592,8311],"./pl/_lib/formatDistance/index.js":[62056,7,8592],"./pl/_lib/formatLong/index.js":[47448,7,8592],"./pl/_lib/formatRelative/index.js":[65991,7,8592,6160],"./pl/_lib/localize/index.js":[4306,7,8592],"./pl/_lib/match/index.js":[76075,7,8592],"./pl/index.js":[8554,7,8592,715],"./pt-BR/_lib/formatDistance/index.js":[52638,7,8592],"./pt-BR/_lib/formatLong/index.js":[33247,7,8592],"./pt-BR/_lib/formatRelative/index.js":[25492,7,8592],"./pt-BR/_lib/localize/index.js":[81046,7,8592],"./pt-BR/_lib/match/index.js":[63770,7,8592],"./pt-BR/index.js":[47569,7,8592,7569],"./pt/_lib/formatDistance/index.js":[55488,7,8592],"./pt/_lib/formatLong/index.js":[5133,7,8592],"./pt/_lib/formatRelative/index.js":[7493,7,8592],"./pt/_lib/localize/index.js":[58360,7,8592],"./pt/_lib/match/index.js":[37200,7,8592],"./pt/index.js":[24239,7,8592,4239],"./ro/_lib/formatDistance/index.js":[18199,7,8592],"./ro/_lib/formatLong/index.js":[84311,7,8592],"./ro/_lib/formatRelative/index.js":[97974,7,8592],"./ro/_lib/localize/index.js":[64729,7,8592],"./ro/_lib/match/index.js":[9202,7,8592],"./ro/index.js":[51055,7,8592,1055],"./ru/_lib/formatDistance/index.js":[90650,7,8592],"./ru/_lib/formatLong/index.js":[12580,7,8592],"./ru/_lib/formatRelative/index.js":[15994,7,8592,1338],"./ru/_lib/localize/index.js":[66943,7,8592],"./ru/_lib/match/index.js":[86374,7,8592],"./ru/index.js":[27413,7,8592,5287],"./sk/_lib/formatDistance/index.js":[32882,7,8592],"./sk/_lib/formatLong/index.js":[95087,7,8592],"./sk/_lib/formatRelative/index.js":[35507,7,8592,3951],"./sk/_lib/localize/index.js":[37369,7,8592],"./sk/_lib/match/index.js":[74329,7,8592],"./sk/index.js":[17065,7,8592,4586],"./sl/_lib/formatDistance/index.js":[57613,7,8592],"./sl/_lib/formatLong/index.js":[66302,7,8592],"./sl/_lib/formatRelative/index.js":[92131,7,8592],"./sl/_lib/localize/index.js":[2942,7,8592],"./sl/_lib/match/index.js":[36326,7,8592],"./sl/index.js":[62166,7,8592,2166],"./sq/_lib/formatDistance/index.js":[82569,7,8592],"./sq/_lib/formatLong/index.js":[32784,7,8592],"./sq/_lib/formatRelative/index.js":[44390,7,8592],"./sq/_lib/localize/index.js":[26425,7,8592],"./sq/_lib/match/index.js":[72140,7,8592],"./sq/index.js":[70797,7,8592,797],"./sr-Latn/_lib/formatDistance/index.js":[69014,7,8592],"./sr-Latn/_lib/formatLong/index.js":[99257,7,8592],"./sr-Latn/_lib/formatRelative/index.js":[42428,7,8592],"./sr-Latn/_lib/localize/index.js":[92773,7,8592],"./sr-Latn/_lib/match/index.js":[7766,7,8592],"./sr-Latn/index.js":[99064,7,8592,9064],"./sr/_lib/formatDistance/index.js":[55503,7,8592],"./sr/_lib/formatLong/index.js":[13465,7,8592],"./sr/_lib/formatRelative/index.js":[25743,7,8592],"./sr/_lib/localize/index.js":[30172,7,8592],"./sr/_lib/match/index.js":[81613,7,8592],"./sr/index.js":[15930,7,8592,5930],"./sv/_lib/formatDistance/index.js":[81387,7,8592],"./sv/_lib/formatLong/index.js":[20660,7,8592],"./sv/_lib/formatRelative/index.js":[43502,7,8592],"./sv/_lib/localize/index.js":[32384,7,8592],"./sv/_lib/match/index.js":[69940,7,8592],"./sv/index.js":[81413,7,8592,2135],"./ta/_lib/formatDistance/index.js":[66840,7,8592],"./ta/_lib/formatLong/index.js":[49391,7,8592],"./ta/_lib/formatRelative/index.js":[99284,7,8592],"./ta/_lib/localize/index.js":[61290,7,8592],"./ta/_lib/match/index.js":[33749,7,8592],"./ta/index.js":[21486,7,8592,1486],"./te/_lib/formatDistance/index.js":[38,7,8592],"./te/_lib/formatLong/index.js":[34703,7,8592],"./te/_lib/formatRelative/index.js":[46611,7,8592],"./te/_lib/localize/index.js":[86184,7,8592],"./te/_lib/match/index.js":[17208,7,8592],"./te/index.js":[52492,7,8592,2492],"./th/_lib/formatDistance/index.js":[32939,7,8592],"./th/_lib/formatLong/index.js":[96146,7,8592],"./th/_lib/formatRelative/index.js":[97294,7,8592],"./th/_lib/localize/index.js":[44204,7,8592],"./th/_lib/match/index.js":[59829,7,8592],"./th/index.js":[74785,7,8592,4785],"./tr/_lib/formatDistance/index.js":[77216,7,8592],"./tr/_lib/formatLong/index.js":[68379,7,8592],"./tr/_lib/formatRelative/index.js":[93999,7,8592],"./tr/_lib/localize/index.js":[8830,7,8592],"./tr/_lib/match/index.js":[58828,7,8592],"./tr/index.js":[63131,7,8592,3131],"./ug/_lib/formatDistance/index.js":[69442,7,8592],"./ug/_lib/formatLong/index.js":[36922,7,8592],"./ug/_lib/formatRelative/index.js":[20290,7,8592],"./ug/_lib/localize/index.js":[82490,7,8592],"./ug/_lib/match/index.js":[85282,7,8592],"./ug/index.js":[60182,7,8592,182],"./uk/_lib/formatDistance/index.js":[10017,7,8592],"./uk/_lib/formatLong/index.js":[26136,7,8592],"./uk/_lib/formatRelative/index.js":[88271,7,4,8592],"./uk/_lib/localize/index.js":[10954,7,8592],"./uk/_lib/match/index.js":[71680,7,8592],"./uk/index.js":[12509,7,4,8592,2509],"./uz-Cyrl/_lib/formatDistance/index.js":[67778,7,8592],"./uz-Cyrl/_lib/formatLong/index.js":[64095,7,8592],"./uz-Cyrl/_lib/formatRelative/index.js":[83734,7,8592],"./uz-Cyrl/_lib/localize/index.js":[17670,7,8592],"./uz-Cyrl/_lib/match/index.js":[75798,7,8592],"./uz-Cyrl/index.js":[14527,7,8592,4527],"./uz/_lib/formatDistance/index.js":[27197,7,8592],"./uz/_lib/formatLong/index.js":[27810,7,8592],"./uz/_lib/formatRelative/index.js":[22175,7,8592],"./uz/_lib/localize/index.js":[6881,7,8592],"./uz/_lib/match/index.js":[19263,7,8592],"./uz/index.js":[44203,7,8592,4203],"./vi/_lib/formatDistance/index.js":[61664,7,8592],"./vi/_lib/formatLong/index.js":[42296,7,8592],"./vi/_lib/formatRelative/index.js":[55191,7,8592],"./vi/_lib/localize/index.js":[67431,7,8592],"./vi/_lib/match/index.js":[98442,7,8592],"./vi/index.js":[48875,7,8592,8875],"./zh-CN/_lib/formatDistance/index.js":[33437,7,8592],"./zh-CN/_lib/formatLong/index.js":[91583,7,8592],"./zh-CN/_lib/formatRelative/index.js":[95629,7,8592,5441],"./zh-CN/_lib/localize/index.js":[17939,7,8592],"./zh-CN/_lib/match/index.js":[71362,7,8592],"./zh-CN/index.js":[86335,7,8592,2007],"./zh-HK/_lib/formatDistance/index.js":[37348,7,8592],"./zh-HK/_lib/formatLong/index.js":[60924,7,8592],"./zh-HK/_lib/formatRelative/index.js":[22164,7,8592],"./zh-HK/_lib/localize/index.js":[39264,7,8592],"./zh-HK/_lib/match/index.js":[50358,7,8592],"./zh-HK/index.js":[59277,7,8592,9277],"./zh-TW/_lib/formatDistance/index.js":[31613,7,8592],"./zh-TW/_lib/formatLong/index.js":[1239,7,8592],"./zh-TW/_lib/formatRelative/index.js":[13240,7,8592],"./zh-TW/_lib/localize/index.js":[29850,7,8592],"./zh-TW/_lib/match/index.js":[38819,7,8592],"./zh-TW/index.js":[74565,7,8592,3793]};function V(B){if(!A.o(k,B))return Promise.resolve().then(()=>{var R=new Error("Cannot find module '"+B+"'");throw R.code="MODULE_NOT_FOUND",R});var G=k[B],$=G[0];return Promise.all(G.slice(2).map(A.e)).then(()=>A.t($,16|G[1]))}V.keys=()=>Object.keys(k),V.id=71213,K.exports=V},36930:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(k,V,B,G,$,R,P){var Y=new Date(0);return Y.setUTCFullYear(k,V,B),Y.setUTCHours(G,$,R,P),Y},K.exports=O.default},47:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(G,$,R){var P=function B(G,$,R){if(R&&!R.code)throw new Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(R?[R.code,"en-US"]:void 0,{timeZone:$,timeZoneName:G})}(G,R.timeZone,R.locale);return P.formatToParts?function k(G,$){for(var R=G.formatToParts($),P=R.length-1;P>=0;--P)if("timeZoneName"===R[P].type)return R[P].value}(P,$):function V(G,$){var R=G.format($).replace(/\u200E/g,""),P=/ [\w-+ ]+$/.exec(R);return P?P[0].substr(1):""}(P,$)},K.exports=O.default},1870:(K,O,A)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function P(re,X,U){var W,j,z;if(!re||(W=R.timezoneZ.exec(re)))return 0;if(W=R.timezoneHH.exec(re))return Ue(z=parseInt(W[1],10))?-z*G:NaN;if(W=R.timezoneHHMM.exec(re)){z=parseInt(W[1],10);var pe=parseInt(W[2],10);return Ue(z,pe)?(j=Math.abs(z)*G+6e4*pe,z>0?-j:j):NaN}if(function ze(re){if(ye[re])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:re}),ye[re]=!0,!0}catch{return!1}}(re)){X=new Date(X||Date.now());var Re=U?X:function Y(re){return(0,V.default)(re.getFullYear(),re.getMonth(),re.getDate(),re.getHours(),re.getMinutes(),re.getSeconds(),re.getMilliseconds())}(X),Ee=ie(Re,re),Ie=U?Ee:function ce(re,X,U){var j=re.getTime()-X,z=ie(new Date(j),U);if(X===z)return X;j-=z-X;var pe=ie(new Date(j),U);return z===pe?z:Math.max(z,pe)}(X,Ee,re);return-Ie}return NaN};var k=B(A(78598)),V=B(A(36930));function B(re){return re&&re.__esModule?re:{default:re}}var G=36e5,R={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function ie(re,X){var U=(0,k.default)(re,X),W=(0,V.default)(U[0],U[1]-1,U[2],U[3]%24,U[4],U[5],0).getTime(),j=re.getTime(),z=j%1e3;return W-(j-(z>=0?z:1e3+z))}function Ue(re,X){return-23<=re&&re<=23&&(null==X||0<=X&&X<=59)}var ye={};K.exports=O.default},32121:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0,O.default=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,K.exports=O.default},78598:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(R,P){var Y=function $(R){if(!G[R]){var P=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z"));G[R]="06/25/2014, 00:00:00"===P||"\u200e06\u200e/\u200e25\u200e/\u200e2014\u200e \u200e00\u200e:\u200e00\u200e:\u200e00"===P?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:R,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:R,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return G[R]}(P);return Y.formatToParts?function V(R,P){try{for(var Y=R.formatToParts(P),ie=[],ce=0;ce=0&&(ie[Ue]=parseInt(Y[ce].value,10))}return ie}catch(ye){if(ye instanceof RangeError)return[NaN];throw ye}}(Y,R):function B(R,P){var Y=R.format(P).replace(/\u200E/g,""),ie=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(Y);return[ie[3],ie[1],ie[2],ie[4],ie[5],ie[6]]}(Y,R)};var k={year:0,month:1,day:2,hour:3,minute:4,second:5},G={};K.exports=O.default},65660:(K,O,A)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var k=B(A(47)),V=B(A(1870));function B(ye){return ye&&ye.__esModule?ye:{default:ye}}function R(ye,ze){var re=ye?(0,V.default)(ye,ze,!0)/6e4:ze.getTimezoneOffset();if(Number.isNaN(re))throw new RangeError("Invalid time zone specified: "+ye);return re}function P(ye,ze){for(var re=ye<0?"-":"",X=Math.abs(ye).toString();X.length0?"-":"+",U=Math.abs(ye);return X+P(Math.floor(U/60),2)+re+P(Math.floor(U%60),2)}function ie(ye,ze){return ye%60==0?(ye>0?"-":"+")+P(Math.abs(ye)/60,2):Y(ye,ze)}O.default={X:function(ye,ze,re,X){var U=R(X.timeZone,X._originalDate||ye);if(0===U)return"Z";switch(ze){case"X":return ie(U);case"XXXX":case"XX":return Y(U);default:return Y(U,":")}},x:function(ye,ze,re,X){var U=R(X.timeZone,X._originalDate||ye);switch(ze){case"x":return ie(U);case"xxxx":case"xx":return Y(U);default:return Y(U,":")}},O:function(ye,ze,re,X){var U=R(X.timeZone,X._originalDate||ye);switch(ze){case"O":case"OO":case"OOO":return"GMT"+function ce(ye,ze){var re=ye>0?"-":"+",X=Math.abs(ye),U=Math.floor(X/60),W=X%60;if(0===W)return re+String(U);var j=ze||"";return re+String(U)+j+P(W,2)}(U,":");default:return"GMT"+Y(U,":")}},z:function(ye,ze,re,X){var U=X._originalDate||ye;switch(ze){case"z":case"zz":case"zzz":return(0,k.default)("short",U,X);default:return(0,k.default)("long",U,X)}}},K.exports=O.default},34294:(K,O,A)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function R(P,Y,ie){var ce=String(Y),Ue=ie||{},ye=ce.match($);if(ye){var ze=(0,B.default)(P,Ue);ce=ye.reduce(function(re,X){if("'"===X[0])return re;var U=re.indexOf(X),W="'"===re[U-1],j=re.replace(X,"'"+V.default[X[0]](ze,X,null,Ue)+"'");return W?j.substring(0,U-1)+j.substring(U+1):j},ce)}return(0,k.default)(P,ce,Ue)};var k=G(A(27868)),V=G(A(65660)),B=G(A(29018));function G(P){return P&&P.__esModule?P:{default:P}}var $=/([xXOz]+)|''|'(''|[^'])+('|$)/g;K.exports=O.default},28032:(K,O,A)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function $(R,P,Y,ie){var ce=(0,k.default)(ie);return ce.timeZone=P,(0,V.default)((0,B.default)(R,P),Y,ce)};var k=G(A(42926)),V=G(A(34294)),B=G(A(17318));function G(R){return R&&R.__esModule?R:{default:R}}K.exports=O.default},46167:(K,O,A)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function B(G,$){return-(0,k.default)(G,$)};var k=function V(G){return G&&G.__esModule?G:{default:G}}(A(1870));K.exports=O.default},30298:(K,O,A)=>{"use strict";K.exports={format:A(34294),formatInTimeZone:A(28032),getTimezoneOffset:A(46167),toDate:A(29018),utcToZonedTime:A(17318),zonedTimeToUtc:A(99679)}},29018:(K,O,A)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function ce(Ie,Ae){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===Ie)return new Date(NaN);var ve=Ae||{},Ze=null==ve.additionalDigits?2:(0,k.default)(ve.additionalDigits);if(2!==Ze&&1!==Ze&&0!==Ze)throw new RangeError("additionalDigits must be 0, 1 or 2");if(Ie instanceof Date||"object"==typeof Ie&&"[object Date]"===Object.prototype.toString.call(Ie))return new Date(Ie.getTime());if("number"==typeof Ie||"[object Number]"===Object.prototype.toString.call(Ie))return new Date(Ie);if("string"!=typeof Ie&&"[object String]"!==Object.prototype.toString.call(Ie))return new Date(NaN);var St=Ue(Ie),ue=ye(St.date,Ze),Fi=ue.year,Mi=ue.restDateString,fe=ze(Mi,Fi);if(isNaN(fe))return new Date(NaN);if(fe){var $i,Fr=fe.getTime(),nr=0;if(St.time&&(nr=re(St.time),isNaN(nr)))return new Date(NaN);if(St.timeZone||ve.timeZone){if($i=(0,B.default)(St.timeZone||ve.timeZone,new Date(Fr+nr)),isNaN($i))return new Date(NaN)}else $i=(0,V.default)(new Date(Fr+nr)),$i=(0,V.default)(new Date(Fr+nr+$i));return new Date(Fr+nr+$i)}return new Date(NaN)};var k=$(A(6092)),V=$(A(47664)),B=$(A(1870)),G=$(A(32121));function $(Ie){return Ie&&Ie.__esModule?Ie:{default:Ie}}var R=36e5,ie={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:G.default};function Ue(Ie){var Ze,Ae={},ve=ie.dateTimePattern.exec(Ie);if(ve?(Ae.date=ve[1],Ze=ve[3]):(ve=ie.datePattern.exec(Ie))?(Ae.date=ve[1],Ze=ve[2]):(Ae.date=null,Ze=Ie),Ze){var St=ie.timeZone.exec(Ze);St?(Ae.time=Ze.replace(St[1],""),Ae.timeZone=St[1].trim()):Ae.time=Ze}return Ae}function ye(Ie,Ae){var St,ve=ie.YYY[Ae],Ze=ie.YYYYY[Ae];if(St=ie.YYYY.exec(Ie)||Ze.exec(Ie)){var ue=St[1];return{year:parseInt(ue,10),restDateString:Ie.slice(ue.length)}}if(St=ie.YY.exec(Ie)||ve.exec(Ie)){var Fi=St[1];return{year:100*parseInt(Fi,10),restDateString:Ie.slice(Fi.length)}}return{year:null}}function ze(Ie,Ae){if(null===Ae)return null;var ve,Ze,St,ue;if(0===Ie.length)return(Ze=new Date(0)).setUTCFullYear(Ae),Ze;if(ve=ie.MM.exec(Ie))return Ze=new Date(0),z(Ae,St=parseInt(ve[1],10)-1)?(Ze.setUTCFullYear(Ae,St),Ze):new Date(NaN);if(ve=ie.DDD.exec(Ie)){Ze=new Date(0);var Fi=parseInt(ve[1],10);return function pe(Ie,Ae){if(Ae<1)return!1;var ve=j(Ie);return!(ve&&Ae>366||!ve&&Ae>365)}(Ae,Fi)?(Ze.setUTCFullYear(Ae,0,Fi),Ze):new Date(NaN)}if(ve=ie.MMDD.exec(Ie)){Ze=new Date(0),St=parseInt(ve[1],10)-1;var Mi=parseInt(ve[2],10);return z(Ae,St,Mi)?(Ze.setUTCFullYear(Ae,St,Mi),Ze):new Date(NaN)}if(ve=ie.Www.exec(Ie))return Re(0,ue=parseInt(ve[1],10)-1)?X(Ae,ue):new Date(NaN);if(ve=ie.WwwD.exec(Ie)){ue=parseInt(ve[1],10)-1;var fe=parseInt(ve[2],10)-1;return Re(0,ue,fe)?X(Ae,ue,fe):new Date(NaN)}return null}function re(Ie){var Ae,ve,Ze;if(Ae=ie.HH.exec(Ie))return Ee(ve=parseFloat(Ae[1].replace(",",".")))?ve%24*R:NaN;if(Ae=ie.HHMM.exec(Ie))return Ee(ve=parseInt(Ae[1],10),Ze=parseFloat(Ae[2].replace(",",".")))?ve%24*R+6e4*Ze:NaN;if(Ae=ie.HHMMSS.exec(Ie)){ve=parseInt(Ae[1],10),Ze=parseInt(Ae[2],10);var St=parseFloat(Ae[3].replace(",","."));return Ee(ve,Ze,St)?ve%24*R+6e4*Ze+1e3*St:NaN}return null}function X(Ie,Ae,ve){Ae=Ae||0,ve=ve||0;var Ze=new Date(0);Ze.setUTCFullYear(Ie,0,4);var ue=7*Ae+ve+1-(Ze.getUTCDay()||7);return Ze.setUTCDate(Ze.getUTCDate()+ue),Ze}var U=[31,28,31,30,31,30,31,31,30,31,30,31],W=[31,29,31,30,31,30,31,31,30,31,30,31];function j(Ie){return Ie%400==0||Ie%4==0&&Ie%100!=0}function z(Ie,Ae,ve){if(Ae<0||Ae>11)return!1;if(null!=ve){if(ve<1)return!1;var Ze=j(Ie);if(Ze&&ve>W[Ae]||!Ze&&ve>U[Ae])return!1}return!0}function Re(Ie,Ae,ve){return!(Ae<0||Ae>52||null!=ve&&(ve<0||ve>6))}function Ee(Ie,Ae,ve){return!(null!=Ie&&(Ie<0||Ie>=25)||null!=Ae&&(Ae<0||Ae>=60)||null!=ve&&(ve<0||ve>=60))}K.exports=O.default},17318:(K,O,A)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function G($,R,P){var Y=(0,V.default)($,P),ie=(0,k.default)(R,Y,!0),ce=new Date(Y.getTime()-ie),Ue=new Date(0);return Ue.setFullYear(ce.getUTCFullYear(),ce.getUTCMonth(),ce.getUTCDate()),Ue.setHours(ce.getUTCHours(),ce.getUTCMinutes(),ce.getUTCSeconds(),ce.getUTCMilliseconds()),Ue};var k=B(A(1870)),V=B(A(29018));function B($){return $&&$.__esModule?$:{default:$}}K.exports=O.default},99679:(K,O,A)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function P(Y,ie,ce){if("string"==typeof Y&&!Y.match(B.default)){var Ue=(0,k.default)(ce);return Ue.timeZone=ie,(0,V.default)(Y,Ue)}var ye=(0,V.default)(Y,ce),ze=(0,$.default)(ye.getFullYear(),ye.getMonth(),ye.getDate(),ye.getHours(),ye.getMinutes(),ye.getSeconds(),ye.getMilliseconds()).getTime(),re=(0,G.default)(ie,new Date(ze));return new Date(ze+re)};var k=R(A(42926)),V=R(A(29018)),B=R(A(32121)),G=R(A(1870)),$=R(A(36930));function R(Y){return Y&&Y.__esModule?Y:{default:Y}}K.exports=O.default},36758:K=>{K.exports=function O(A){return A&&A.__esModule?A:{default:A}},K.exports.__esModule=!0,K.exports.default=K.exports},50590:K=>{function O(A){return K.exports=O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(k){return typeof k}:function(k){return k&&"function"==typeof Symbol&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},K.exports.__esModule=!0,K.exports.default=K.exports,O(A)}K.exports=O,K.exports.__esModule=!0,K.exports.default=K.exports}},K=>{K(K.s=36878)}]); \ No newline at end of file +var runtime=function(c){"use strict";var l,M=Object.prototype,p=M.hasOwnProperty,w=Object.defineProperty||function(r,t,e){r[t]=e.value},O="function"==typeof Symbol?Symbol:{},L=O.iterator||"@@iterator",z=O.asyncIterator||"@@asyncIterator",_=O.toStringTag||"@@toStringTag";function v(r,t,e){return Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}),r[t]}try{v({},"")}catch{v=function(t,e,o){return t[e]=o}}function R(r,t,e,o){var i=Object.create((t&&t.prototype instanceof j?t:j).prototype),a=new I(o||[]);return w(i,"_invoke",{value:H(r,e,a)}),i}function k(r,t,e){try{return{type:"normal",arg:r.call(t,e)}}catch(o){return{type:"throw",arg:o}}}c.wrap=R;var Y="suspendedStart",q="executing",b="completed",s={};function j(){}function S(){}function d(){}var N={};v(N,L,function(){return this});var T=Object.getPrototypeOf,E=T&&T(T(A([])));E&&E!==M&&p.call(E,L)&&(N=E);var g=d.prototype=j.prototype=Object.create(N);function D(r){["next","throw","return"].forEach(function(t){v(r,t,function(e){return this._invoke(t,e)})})}function G(r,t){function e(i,a,u,h){var f=k(r[i],r,a);if("throw"!==f.type){var C=f.arg,m=C.value;return m&&"object"==typeof m&&p.call(m,"__await")?t.resolve(m.__await).then(function(y){e("next",y,u,h)},function(y){e("throw",y,u,h)}):t.resolve(m).then(function(y){C.value=y,u(C)},function(y){return e("throw",y,u,h)})}h(f.arg)}var o;w(this,"_invoke",{value:function n(i,a){function u(){return new t(function(h,f){e(i,a,h,f)})}return o=o?o.then(u,u):u()}})}function H(r,t,e){var o=Y;return function(i,a){if(o===q)throw new Error("Generator is already running");if(o===b){if("throw"===i)throw a;return $()}for(e.method=i,e.arg=a;;){var u=e.delegate;if(u){var h=W(u,e);if(h){if(h===s)continue;return h}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(o===Y)throw o=b,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);o=q;var f=k(r,t,e);if("normal"===f.type){if(o=e.done?b:"suspendedYield",f.arg===s)continue;return{value:f.arg,done:e.done}}"throw"===f.type&&(o=b,e.method="throw",e.arg=f.arg)}}}function W(r,t){var e=t.method,o=r.iterator[e];if(o===l)return t.delegate=null,"throw"===e&&r.iterator.return&&(t.method="return",t.arg=l,W(r,t),"throw"===t.method)||"return"!==e&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+e+"' method")),s;var n=k(o,r.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,s;var i=n.arg;return i?i.done?(t[r.resultName]=i.value,t.next=r.nextLoc,"return"!==t.method&&(t.method="next",t.arg=l),t.delegate=null,s):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function J(r){var t={tryLoc:r[0]};1 in r&&(t.catchLoc=r[1]),2 in r&&(t.finallyLoc=r[2],t.afterLoc=r[3]),this.tryEntries.push(t)}function P(r){var t=r.completion||{};t.type="normal",delete t.arg,r.completion=t}function I(r){this.tryEntries=[{tryLoc:"root"}],r.forEach(J,this),this.reset(!0)}function A(r){if(r){var t=r[L];if(t)return t.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var e=-1,o=function n(){for(;++e=0;--o){var n=this.tryEntries[o],i=n.completion;if("root"===n.tryLoc)return e("end");if(n.tryLoc<=this.prev){var a=p.call(n,"catchLoc"),u=p.call(n,"finallyLoc");if(a&&u){if(this.prev=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&p.call(o,"finallyLoc")&&this.prev=0;--t){var e=this.tryEntries[t];if(e.finallyLoc===r)return this.complete(e.completion,e.afterLoc),P(e),s}},catch:function(r){for(var t=this.tryEntries.length-1;t>=0;--t){var e=this.tryEntries[t];if(e.tryLoc===r){var o=e.completion;if("throw"===o.type){var n=o.arg;P(e)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(r,t,e){return this.delegate={iterator:A(r),resultName:t,nextLoc:e},"next"===this.method&&(this.arg=l),s}},c}("object"==typeof module?module.exports:{});try{regeneratorRuntime=runtime}catch{"object"==typeof globalThis?globalThis.regeneratorRuntime=runtime:Function("r","regeneratorRuntime = r")(runtime)}(()=>{"use strict";var e,_={},v={};function r(e){var n=v[e];if(void 0!==n)return n.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return _[e](t,t.exports,r),t.loaded=!0,t.exports}r.m=_,e=[],r.O=(n,t,o,f)=>{if(!t){var a=1/0;for(i=0;i=f)&&Object.keys(r.O).every(b=>r.O[b](t[d]))?t.splice(d--,1):(l=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[t,o,f]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},(()=>{var n,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,o){if(1&o&&(t=this(t)),8&o||"object"==typeof t&&t&&(4&o&&t.__esModule||16&o&&"function"==typeof t.then))return t;var f=Object.create(null);r.r(f);var i={};n=n||[null,e({}),e([]),e(e)];for(var a=2&o&&t;"object"==typeof a&&!~n.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(l=>i[l]=()=>t[l]);return i.default=()=>t,r.d(f,i),f}})(),r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>(8592===e?"common":e)+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="dotcms-block-editor:";r.l=(t,o,f,i)=>{if(e[t])e[t].push(o);else{var a,l;if(void 0!==f)for(var d=document.getElementsByTagName("script"),s=0;s{a.onerror=a.onload=null,clearTimeout(p);var h=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),h&&h.forEach(m=>m(b)),g)return g(b)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(null,a.onerror),a.onload=u.bind(null,a.onload),l&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={3666:0};r.f.j=(o,f)=>{var i=r.o(e,o)?e[o]:void 0;if(0!==i)if(i)f.push(i[2]);else if(3666!=o){var a=new Promise((c,u)=>i=e[o]=[c,u]);f.push(i[2]=a);var l=r.p+r.u(o),d=new Error;r.l(l,c=>{if(r.o(e,o)&&(0!==(i=e[o])&&(e[o]=void 0),i)){var u=c&&("load"===c.type?"missing":c.type),p=c&&c.target&&c.target.src;d.message="Loading chunk "+o+" failed.\n("+u+": "+p+")",d.name="ChunkLoadError",d.type=u,d.request=p,i[1](d)}},"chunk-"+o,o)}else e[o]=0},r.O.j=o=>0===e[o];var n=(o,f)=>{var d,s,[i,a,l]=f,c=0;if(i.some(p=>0!==e[p])){for(d in a)r.o(a,d)&&(r.m[d]=a[d]);if(l)var u=l(r)}for(o&&o(f);c{"use strict";ge(88583),ge(30757)},30757:()=>{!function(X,oe){"use strict";function ge(){var e=Ue.splice(0,Ue.length);for(F=0;e.length;)e.shift().call(null,e.shift())}function ye(e,r){for(var i=0,h=e.length;i1)&&tt(this)}}}),x(o,pe,{value:function(p){-1>0,de="__"+se+dt,be="addEventListener",Le="attached",ce="Callback",me="detached",te="extends",pe="attributeChanged"+ce,vt=Le+ce,rt="connected"+ce,mt="disconnected"+ce,ze="created"+ce,kt=me+ce,ot="ADDITION",pt="REMOVAL",Oe="DOMAttrModified",bt="DOMContentLoaded",Et="DOMSubtreeModified",qe="<",st="=",Mt=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,wt=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],He=[],We=[],le="",De=A.documentElement,Ee=He.indexOf||function(e){for(var r=this.length;r--&&this[r]!==e;);return r},it=ne.prototype,Pe=it.hasOwnProperty,at=it.isPrototypeOf,Re=ne.defineProperty,Ne=[],Xe=ne.getOwnPropertyDescriptor,Y=ne.getOwnPropertyNames,Ct=ne.getPrototypeOf,Ye=ne.setPrototypeOf,Se=!!ne.__proto__,$e="__dreCEv1",Me=X.customElements,t=!/^force/.test(oe.type)&&!!(Me&&Me.define&&Me.get&&Me.whenDefined),a=ne.create||ne,u=X.Map||function(){var e,r=[],i=[];return{get:function(h){return i[Ee.call(r,h)]},set:function(h,s){(e=Ee.call(r,h))<0?i[r.push(h)-1]=s:i[e]=s}}},c=X.Promise||function(e){function r(o){for(h=!0;i.length;)i.shift()(o)}var i=[],h=!1,s={catch:function(){return s},then:function(o){return i.push(o),h&&setTimeout(r,1),s}};return e(r),s},f=!1,m=a(null),E=a(null),v=new u,C=function(e){return e.toLowerCase()},w=ne.create||function e(r){return r?(e.prototype=r,new e):this},b=Ye||(Se?function(e,r){return e.__proto__=r,e}:Y&&Xe?function(){function e(r,i){for(var h,s=Y(i),o=0,l=s.length;o
",new H(function(e,r){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var i=(Ce=Xe(P,"innerHTML"))&&Ce.set;i&&Re(P,"innerHTML",{set:function(h){for(;this.lastChild;)this.removeChild(this.lastChild);i.call(this,h)}})}r.disconnect(),Ce=null}).observe(Ce,{childList:!0,subtree:!0}),Ce.innerHTML=""),ue||(Ye||Se?(we=function(e,r){at.call(r,e)||Fe(e,r)},ae=Fe):(we=function(e,r){e[de]||(e[de]=ne(!0),Fe(e,r))},ae=we),G?(I=!1,e=Xe(P,be),r=e.value,i=function(o){var l=new CustomEvent(Oe,{bubbles:!0});l.attrName=o,l.prevValue=R.call(this,o),l.newValue=null,l[pt]=l.attrChange=2,V.call(this,o),$.call(this,l)},h=function(o,l){var d=Q.call(this,o),p=d&&R.call(this,o),y=new CustomEvent(Oe,{bubbles:!0});K.call(this,o,l),y.attrName=o,y.prevValue=d?p:null,y.newValue=l,d?y.MODIFICATION=y.attrChange=1:y[ot]=y.attrChange=0,$.call(this,y)},s=function(o){var l,d=o.currentTarget,p=d[de],y=o.propertyName;p.hasOwnProperty(y)&&(p=p[y],(l=new CustomEvent(Oe,{bubbles:!0})).attrName=p.name,l.prevValue=p.value||null,l.newValue=p.value=d[y]||null,null==l.prevValue?l[ot]=l.attrChange=0:l.MODIFICATION=l.attrChange=1,$.call(d,l))},e.value=function(o,l,d){o===Oe&&this[pe]&&this.setAttribute!==h&&(this[de]={className:{name:"class",value:this.className}},this.setAttribute=h,this.removeAttribute=i,r.call(this,"propertychange",s)),r.call(this,o,l,d)},Re(P,be,e)):H||(De[be](Oe,Te),De.setAttribute(de,1),De.removeAttribute(de),I&&(je=function(e){var r,i,h,s=this;if(s===e.target){for(h in r=s[de],s[de]=i=nt(s),i){if(!(h in r))return Be(0,s,h,r[h],i[h],ot);if(i[h]!==r[h])return Be(1,s,h,r[h],i[h],"MODIFICATION")}for(h in r)if(!(h in i))return Be(2,s,h,r[h],i[h],pt)}},Be=function(e,r,i,h,s,o){var l={attrChange:e,currentTarget:r,attrName:i,prevValue:h,newValue:s};l[o]=e,Qe(l)},nt=function(e){for(var r,i,h={},s=e.attributes,o=0,l=s.length;o$");if(r[te]="a",(e.prototype=w(S.prototype)).constructor=e,X.customElements.define(i,e,r),!h.test(A.createElement("a",{is:i}).outerHTML)||!h.test((new e).outerHTML))throw r}(function e(){return Reflect.construct(S,[],e)},{},"document-register-element-a"+dt)}catch{ft()}if(!oe.noBuiltIn)try{if(N.call(A,"a","a").outerHTML.indexOf("is")<0)throw{}}catch{C=function(r){return{is:r.toLowerCase()}}}}(window)},88583:()=>{"use strict";!function(t){const a=t.performance;function u(I){a&&a.mark&&a.mark(I)}function c(I,k){a&&a.measure&&a.measure(I,k)}u("Zone");const f=t.__Zone_symbol_prefix||"__zone_symbol__";function m(I){return f+I}const E=!0===t[m("forceDuplicateZoneCheck")];if(t.Zone){if(E||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let v=(()=>{class I{constructor(n,e){this._parent=n,this._name=e?e.name||"unnamed":"",this._properties=e&&e.properties||{},this._zoneDelegate=new w(this,this._parent&&this._parent._zoneDelegate,e)}static assertZonePatched(){if(t.Promise!==re.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let n=I.current;for(;n.parent;)n=n.parent;return n}static get current(){return F.zone}static get currentTask(){return ue}static __load_patch(n,e,r=!1){if(re.hasOwnProperty(n)){if(!r&&E)throw Error("Already loaded patch: "+n)}else if(!t["__Zone_disable_"+n]){const i="Zone:"+n;u(i),re[n]=e(t,I,Te),c(i,i)}}get parent(){return this._parent}get name(){return this._name}get(n){const e=this.getZoneWith(n);if(e)return e._properties[n]}getZoneWith(n){let e=this;for(;e;){if(e._properties.hasOwnProperty(n))return e;e=e._parent}return null}fork(n){if(!n)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,n)}wrap(n,e){if("function"!=typeof n)throw new Error("Expecting function got: "+n);const r=this._zoneDelegate.intercept(this,n,e),i=this;return function(){return i.runGuarded(r,this,arguments,e)}}run(n,e,r,i){F={parent:F,zone:this};try{return this._zoneDelegate.invoke(this,n,e,r,i)}finally{F=F.parent}}runGuarded(n,e=null,r,i){F={parent:F,zone:this};try{try{return this._zoneDelegate.invoke(this,n,e,r,i)}catch(h){if(this._zoneDelegate.handleError(this,h))throw h}}finally{F=F.parent}}runTask(n,e,r){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||z).name+"; Execution: "+this.name+")");if(n.state===B&&(n.type===O||n.type===j))return;const i=n.state!=Q;i&&n._transitionTo(Q,R),n.runCount++;const h=ue;ue=n,F={parent:F,zone:this};try{n.type==j&&n.data&&!n.data.isPeriodic&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,n,e,r)}catch(s){if(this._zoneDelegate.handleError(this,s))throw s}}finally{n.state!==B&&n.state!==K&&(n.type==O||n.data&&n.data.isPeriodic?i&&n._transitionTo(R,Q):(n.runCount=0,this._updateTaskCount(n,-1),i&&n._transitionTo(B,Q,B))),F=F.parent,ue=h}}scheduleTask(n){if(n.zone&&n.zone!==this){let r=this;for(;r;){if(r===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);r=r.parent}}n._transitionTo($,B);const e=[];n._zoneDelegates=e,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(r){throw n._transitionTo(K,$,B),this._zoneDelegate.handleError(this,r),r}return n._zoneDelegates===e&&this._updateTaskCount(n,1),n.state==$&&n._transitionTo(R,$),n}scheduleMicroTask(n,e,r,i){return this.scheduleTask(new b(N,n,e,r,i,void 0))}scheduleMacroTask(n,e,r,i,h){return this.scheduleTask(new b(j,n,e,r,i,h))}scheduleEventTask(n,e,r,i,h){return this.scheduleTask(new b(O,n,e,r,i,h))}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||z).name+"; Execution: "+this.name+")");n._transitionTo(V,R,Q);try{this._zoneDelegate.cancelTask(this,n)}catch(e){throw n._transitionTo(K,V),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(n,-1),n._transitionTo(B,V),n.runCount=0,n}_updateTaskCount(n,e){const r=n._zoneDelegates;-1==e&&(n._zoneDelegates=null);for(let i=0;iI.hasTask(n,e),onScheduleTask:(I,k,n,e)=>I.scheduleTask(n,e),onInvokeTask:(I,k,n,e,r,i)=>I.invokeTask(n,e,r,i),onCancelTask:(I,k,n,e)=>I.cancelTask(n,e)};class w{constructor(k,n,e){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=k,this._parentDelegate=n,this._forkZS=e&&(e&&e.onFork?e:n._forkZS),this._forkDlgt=e&&(e.onFork?n:n._forkDlgt),this._forkCurrZone=e&&(e.onFork?this.zone:n._forkCurrZone),this._interceptZS=e&&(e.onIntercept?e:n._interceptZS),this._interceptDlgt=e&&(e.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=e&&(e.onIntercept?this.zone:n._interceptCurrZone),this._invokeZS=e&&(e.onInvoke?e:n._invokeZS),this._invokeDlgt=e&&(e.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=e&&(e.onInvoke?this.zone:n._invokeCurrZone),this._handleErrorZS=e&&(e.onHandleError?e:n._handleErrorZS),this._handleErrorDlgt=e&&(e.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=e&&(e.onHandleError?this.zone:n._handleErrorCurrZone),this._scheduleTaskZS=e&&(e.onScheduleTask?e:n._scheduleTaskZS),this._scheduleTaskDlgt=e&&(e.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=e&&(e.onScheduleTask?this.zone:n._scheduleTaskCurrZone),this._invokeTaskZS=e&&(e.onInvokeTask?e:n._invokeTaskZS),this._invokeTaskDlgt=e&&(e.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=e&&(e.onInvokeTask?this.zone:n._invokeTaskCurrZone),this._cancelTaskZS=e&&(e.onCancelTask?e:n._cancelTaskZS),this._cancelTaskDlgt=e&&(e.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=e&&(e.onCancelTask?this.zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const r=e&&e.onHasTask;(r||n&&n._hasTaskZS)&&(this._hasTaskZS=r?e:C,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=k,e.onScheduleTask||(this._scheduleTaskZS=C,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this.zone),e.onInvokeTask||(this._invokeTaskZS=C,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this.zone),e.onCancelTask||(this._cancelTaskZS=C,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this.zone))}fork(k,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,k,n):new v(k,n)}intercept(k,n,e){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,k,n,e):n}invoke(k,n,e,r,i){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,k,n,e,r,i):n.apply(e,r)}handleError(k,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,k,n)}scheduleTask(k,n){let e=n;if(this._scheduleTaskZS)this._hasTaskZS&&e._zoneDelegates.push(this._hasTaskDlgtOwner),e=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,k,n),e||(e=n);else if(n.scheduleFn)n.scheduleFn(n);else{if(n.type!=N)throw new Error("Task is missing scheduleFn.");T(n)}return e}invokeTask(k,n,e,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,k,n,e,r):n.callback.apply(e,r)}cancelTask(k,n){let e;if(this._cancelTaskZS)e=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,k,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");e=n.cancelFn(n)}return e}hasTask(k,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,k,n)}catch(e){this.handleError(k,e)}}_updateTaskCount(k,n){const e=this._taskCounts,r=e[k],i=e[k]=r+n;if(i<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=i||this.hasTask(this.zone,{microTask:e.microTask>0,macroTask:e.macroTask>0,eventTask:e.eventTask>0,change:k})}}class b{constructor(k,n,e,r,i,h){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=k,this.source=n,this.data=r,this.scheduleFn=i,this.cancelFn=h,!e)throw new Error("callback is not defined");this.callback=e;const s=this;this.invoke=k===O&&r&&r.useG?b.invokeTask:function(){return b.invokeTask.call(t,s,this,arguments)}}static invokeTask(k,n,e){k||(k=this),fe++;try{return k.runCount++,k.zone.runTask(k,n,e)}finally{1==fe&&Z(),fe--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(B,$)}_transitionTo(k,n,e){if(this._state!==n&&this._state!==e)throw new Error(`${this.type} '${this.source}': can not transition to '${k}', expecting state '${n}'${e?" or '"+e+"'":""}, was '${this._state}'.`);this._state=k,k==B&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const H=m("setTimeout"),S=m("Promise"),P=m("then");let L,G=[],x=!1;function T(I){if(0===fe&&0===G.length)if(L||t[S]&&(L=t[S].resolve(0)),L){let k=L[P];k||(k=L.then),k.call(L,Z)}else t[H](Z,0);I&&G.push(I)}function Z(){if(!x){for(x=!0;G.length;){const I=G;G=[];for(let k=0;kF,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:T,showUncaughtError:()=>!v[m("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W};let F={parent:null,zone:new v(null,null)},ue=null,fe=0;function W(){}c("Zone","Zone"),t.Zone=v}(typeof window<"u"&&window||typeof self<"u"&&self||global);const oe=Object.getOwnPropertyDescriptor,ge=Object.defineProperty,ye=Object.getPrototypeOf,_t=Object.create,Ve=Array.prototype.slice,Ie="addEventListener",Je="removeEventListener",Qe=Zone.__symbol__(Ie),et=Zone.__symbol__(Je),he="true",ve="false",Ze=Zone.__symbol__("");function Fe(t,a){return Zone.current.wrap(t,a)}function lt(t,a,u,c,f){return Zone.current.scheduleMacroTask(t,a,u,c,f)}const U=Zone.__symbol__,Ae=typeof window<"u",ke=Ae?window:void 0,J=Ae&&ke||"object"==typeof self&&self||global,yt=[null];function tt(t,a){for(let u=t.length-1;u>=0;u--)"function"==typeof t[u]&&(t[u]=Fe(t[u],a+"_"+u));return t}function ft(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}const A=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,ne=!("nw"in J)&&typeof J.process<"u"&&"[object process]"==={}.toString.call(J.process),ht=!ne&&!A&&!(!Ae||!ke.HTMLElement),Ue=typeof J.process<"u"&&"[object process]"==={}.toString.call(J.process)&&!A&&!(!Ae||!ke.HTMLElement),je={},Be=function(t){if(!(t=t||J.event))return;let a=je[t.type];a||(a=je[t.type]=U("ON_PROPERTY"+t.type));const u=this||t.target||J,c=u[a];let f;return ht&&u===ke&&"error"===t.type?(f=c&&c.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===f&&t.preventDefault()):(f=c&&c.apply(this,arguments),null!=f&&!f&&t.preventDefault()),f};function nt(t,a,u){let c=oe(t,a);if(!c&&u&&oe(u,a)&&(c={enumerable:!0,configurable:!0}),!c||!c.configurable)return;const f=U("on"+a+"patched");if(t.hasOwnProperty(f)&&t[f])return;delete c.writable,delete c.value;const m=c.get,E=c.set,v=a.substr(2);let C=je[v];C||(C=je[v]=U("ON_PROPERTY"+v)),c.set=function(w){let b=this;!b&&t===J&&(b=J),b&&(b[C]&&b.removeEventListener(v,Be),E&&E.apply(b,yt),"function"==typeof w?(b[C]=w,b.addEventListener(v,Be,!1)):b[C]=null)},c.get=function(){let w=this;if(!w&&t===J&&(w=J),!w)return null;const b=w[C];if(b)return b;if(m){let H=m&&m.call(this);if(H)return c.set.call(this,H),"function"==typeof w.removeAttribute&&w.removeAttribute(a),H}return null},ge(t,a,c),t[f]=!0}function Ge(t,a,u){if(a)for(let c=0;cfunction(E,v){const C=u(E,v);return C.cbIdx>=0&&"function"==typeof v[C.cbIdx]?lt(C.name,v[C.cbIdx],C,f):m.apply(E,v)})}function se(t,a){t[U("OriginalDelegate")]=a}let dt=!1,de=!1;function Le(){if(dt)return de;dt=!0;try{const t=ke.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(de=!0)}catch{}return de}Zone.__load_patch("ZoneAwarePromise",(t,a,u)=>{const c=Object.getOwnPropertyDescriptor,f=Object.defineProperty,E=u.symbol,v=[],C=!0===t[E("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],w=E("Promise"),b=E("then");u.onUnhandledError=s=>{if(u.showUncaughtError()){const o=s&&s.rejection;o?console.error("Unhandled Promise rejection:",o instanceof Error?o.message:o,"; Zone:",s.zone.name,"; Task:",s.task&&s.task.source,"; Value:",o,o instanceof Error?o.stack:void 0):console.error(s)}},u.microtaskDrainDone=()=>{for(;v.length;){const s=v.shift();try{s.zone.runGuarded(()=>{throw s.throwOriginal?s.rejection:s})}catch(o){P(o)}}};const S=E("unhandledPromiseRejectionHandler");function P(s){u.onUnhandledError(s);try{const o=a[S];"function"==typeof o&&o.call(this,s)}catch{}}function G(s){return s&&s.then}function x(s){return s}function L(s){return n.reject(s)}const T=E("state"),Z=E("value"),z=E("finally"),B=E("parentPromiseValue"),$=E("parentPromiseState"),Q=null,V=!0,K=!1;function j(s,o){return l=>{try{F(s,o,l)}catch(d){F(s,!1,d)}}}const Te=E("currentTaskTrace");function F(s,o,l){const d=function(){let s=!1;return function(l){return function(){s||(s=!0,l.apply(null,arguments))}}}();if(s===l)throw new TypeError("Promise resolved with itself");if(s[T]===Q){let p=null;try{("object"==typeof l||"function"==typeof l)&&(p=l&&l.then)}catch(y){return d(()=>{F(s,!1,y)})(),s}if(o!==K&&l instanceof n&&l.hasOwnProperty(T)&&l.hasOwnProperty(Z)&&l[T]!==Q)fe(l),F(s,l[T],l[Z]);else if(o!==K&&"function"==typeof p)try{p.call(l,d(j(s,o)),d(j(s,!1)))}catch(y){d(()=>{F(s,!1,y)})()}else{s[T]=o;const y=s[Z];if(s[Z]=l,s[z]===z&&o===V&&(s[T]=s[$],s[Z]=s[B]),o===K&&l instanceof Error){const _=a.currentTask&&a.currentTask.data&&a.currentTask.data.__creationTrace__;_&&f(l,Te,{configurable:!0,enumerable:!1,writable:!0,value:_})}for(let _=0;_{try{const g=s[Z],M=!!l&&z===l[z];M&&(l[B]=g,l[$]=y);const D=o.run(_,void 0,M&&_!==L&&_!==x?[]:[g]);F(l,!0,D)}catch(g){F(l,!1,g)}},l)}const k=function(){};class n{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(o){return F(new this(null),V,o)}static reject(o){return F(new this(null),K,o)}static race(o){let l,d,p=new this((g,M)=>{l=g,d=M});function y(g){l(g)}function _(g){d(g)}for(let g of o)G(g)||(g=this.resolve(g)),g.then(y,_);return p}static all(o){return n.allWithCallback(o)}static allSettled(o){return(this&&this.prototype instanceof n?this:n).allWithCallback(o,{thenCallback:d=>({status:"fulfilled",value:d}),errorCallback:d=>({status:"rejected",reason:d})})}static allWithCallback(o,l){let d,p,y=new this((D,q)=>{d=D,p=q}),_=2,g=0;const M=[];for(let D of o){G(D)||(D=this.resolve(D));const q=g;try{D.then(ee=>{M[q]=l?l.thenCallback(ee):ee,_--,0===_&&d(M)},ee=>{l?(M[q]=l.errorCallback(ee),_--,0===_&&d(M)):p(ee)})}catch(ee){p(ee)}_++,g++}return _-=2,0===_&&d(M),y}constructor(o){const l=this;if(!(l instanceof n))throw new Error("Must be an instanceof Promise.");l[T]=Q,l[Z]=[];try{o&&o(j(l,V),j(l,K))}catch(d){F(l,!1,d)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return n}then(o,l){let d=this.constructor[Symbol.species];(!d||"function"!=typeof d)&&(d=this.constructor||n);const p=new d(k),y=a.current;return this[T]==Q?this[Z].push(y,p,o,l):W(this,y,p,o,l),p}catch(o){return this.then(null,o)}finally(o){let l=this.constructor[Symbol.species];(!l||"function"!=typeof l)&&(l=n);const d=new l(k);d[z]=z;const p=a.current;return this[T]==Q?this[Z].push(p,d,o,o):W(this,p,d,o,o),d}}n.resolve=n.resolve,n.reject=n.reject,n.race=n.race,n.all=n.all;const e=t[w]=t.Promise;t.Promise=n;const r=E("thenPatched");function i(s){const o=s.prototype,l=c(o,"then");if(l&&(!1===l.writable||!l.configurable))return;const d=o.then;o[b]=d,s.prototype.then=function(p,y){return new n((g,M)=>{d.call(this,g,M)}).then(p,y)},s[r]=!0}return u.patchThen=i,e&&(i(e),ae(t,"fetch",s=>function h(s){return function(o,l){let d=s.apply(o,l);if(d instanceof n)return d;let p=d.constructor;return p[r]||i(p),d}}(s))),Promise[a.__symbol__("uncaughtPromiseErrors")]=v,n}),Zone.__load_patch("toString",t=>{const a=Function.prototype.toString,u=U("OriginalDelegate"),c=U("Promise"),f=U("Error"),m=function(){if("function"==typeof this){const w=this[u];if(w)return"function"==typeof w?a.call(w):Object.prototype.toString.call(w);if(this===Promise){const b=t[c];if(b)return a.call(b)}if(this===Error){const b=t[f];if(b)return a.call(b)}}return a.call(this)};m[u]=a,Function.prototype.toString=m;const E=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":E.call(this)}});let ce=!1;if(typeof window<"u")try{const t=Object.defineProperty({},"passive",{get:function(){ce=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{ce=!1}const me={useG:!0},te={},pe={},vt=new RegExp("^"+Ze+"(\\w+)(true|false)$"),rt=U("propagationStopped");function mt(t,a){const u=(a?a(t):t)+ve,c=(a?a(t):t)+he,f=Ze+u,m=Ze+c;te[t]={},te[t][ve]=f,te[t][he]=m}function ze(t,a,u){const c=u&&u.add||Ie,f=u&&u.rm||Je,m=u&&u.listeners||"eventListeners",E=u&&u.rmAll||"removeAllListeners",v=U(c),C="."+c+":",w="prependListener",b="."+w+":",H=function(L,T,Z){if(L.isRemoved)return;const z=L.callback;"object"==typeof z&&z.handleEvent&&(L.callback=$=>z.handleEvent($),L.originalDelegate=z),L.invoke(L,T,[Z]);const B=L.options;B&&"object"==typeof B&&B.once&&T[f].call(T,Z.type,L.originalDelegate?L.originalDelegate:L.callback,B)},S=function(L){if(!(L=L||t.event))return;const T=this||L.target||t,Z=T[te[L.type][ve]];if(Z)if(1===Z.length)H(Z[0],T,L);else{const z=Z.slice();for(let B=0;Bfunction(f,m){f[rt]=!0,c&&c.apply(f,m)})}function pt(t,a,u,c,f){const m=Zone.__symbol__(c);if(a[m])return;const E=a[m]=a[c];a[c]=function(v,C,w){return C&&C.prototype&&f.forEach(function(b){const H=`${u}.${c}::`+b,S=C.prototype;if(S.hasOwnProperty(b)){const P=t.ObjectGetOwnPropertyDescriptor(S,b);P&&P.value?(P.value=t.wrapWithCurrentZone(P.value,H),t._redefineProperty(C.prototype,b,P)):S[b]&&(S[b]=t.wrapWithCurrentZone(S[b],H))}else S[b]&&(S[b]=t.wrapWithCurrentZone(S[b],H))}),E.call(a,v,C,w)},t.attachOriginToPatched(a[c],E)}const Et=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],st=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],le=["load"],De=["blur","error","focus","load","resize","scroll","messageerror"],Ee=["bounce","finish","start"],it=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Pe=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],at=["close","error","open","message"],Re=["error","message"],Ne=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],Et,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function Xe(t,a,u){if(!u||0===u.length)return a;const c=u.filter(m=>m.target===t);if(!c||0===c.length)return a;const f=c[0].ignoreProperties;return a.filter(m=>-1===f.indexOf(m))}function Y(t,a,u,c){t&&Ge(t,Xe(t,a,u),c)}Zone.__load_patch("util",(t,a,u)=>{u.patchOnProperties=Ge,u.patchMethod=ae,u.bindArguments=tt,u.patchMacroTask=Ce;const c=a.__symbol__("BLACK_LISTED_EVENTS"),f=a.__symbol__("UNPATCHED_EVENTS");t[f]&&(t[c]=t[f]),t[c]&&(a[c]=a[f]=t[c]),u.patchEventPrototype=ot,u.patchEventTarget=ze,u.isIEOrEdge=Le,u.ObjectDefineProperty=ge,u.ObjectGetOwnPropertyDescriptor=oe,u.ObjectCreate=_t,u.ArraySlice=Ve,u.patchClass=we,u.wrapWithCurrentZone=Fe,u.filterProperties=Xe,u.attachOriginToPatched=se,u._redefineProperty=Object.defineProperty,u.patchCallbacks=pt,u.getGlobalObjects=()=>({globalSources:pe,zoneSymbolEventNames:te,eventNames:Ne,isBrowser:ht,isMix:Ue,isNode:ne,TRUE_STR:he,FALSE_STR:ve,ZONE_SYMBOL_PREFIX:Ze,ADD_EVENT_LISTENER_STR:Ie,REMOVE_EVENT_LISTENER_STR:Je})});const Ye=U("zoneTask");function Se(t,a,u,c){let f=null,m=null;u+=c;const E={};function v(w){const b=w.data;return b.args[0]=function(){return w.invoke.apply(this,arguments)},b.handleId=f.apply(t,b.args),w}function C(w){return m.call(t,w.data.handleId)}f=ae(t,a+=c,w=>function(b,H){if("function"==typeof H[0]){const S={isPeriodic:"Interval"===c,delay:"Timeout"===c||"Interval"===c?H[1]||0:void 0,args:H},P=H[0];H[0]=function(){try{return P.apply(this,arguments)}finally{S.isPeriodic||("number"==typeof S.handleId?delete E[S.handleId]:S.handleId&&(S.handleId[Ye]=null))}};const G=lt(a,H[0],S,v,C);if(!G)return G;const x=G.data.handleId;return"number"==typeof x?E[x]=G:x&&(x[Ye]=G),x&&x.ref&&x.unref&&"function"==typeof x.ref&&"function"==typeof x.unref&&(G.ref=x.ref.bind(x),G.unref=x.unref.bind(x)),"number"==typeof x||x?x:G}return w.apply(t,H)}),m=ae(t,u,w=>function(b,H){const S=H[0];let P;"number"==typeof S?P=E[S]:(P=S&&S[Ye],P||(P=S)),P&&"string"==typeof P.type?"notScheduled"!==P.state&&(P.cancelFn&&P.data.isPeriodic||0===P.runCount)&&("number"==typeof S?delete E[S]:S&&(S[Ye]=null),P.zone.cancelTask(P)):w.apply(t,H)})}Zone.__load_patch("legacy",t=>{const a=t[Zone.__symbol__("legacyPatch")];a&&a()}),Zone.__load_patch("queueMicrotask",(t,a,u)=>{u.patchMethod(t,"queueMicrotask",c=>function(f,m){a.current.scheduleMicroTask("queueMicrotask",m[0])})}),Zone.__load_patch("timers",t=>{const a="set",u="clear";Se(t,a,u,"Timeout"),Se(t,a,u,"Interval"),Se(t,a,u,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{Se(t,"request","cancel","AnimationFrame"),Se(t,"mozRequest","mozCancel","AnimationFrame"),Se(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,a)=>{const u=["alert","prompt","confirm"];for(let c=0;cfunction(C,w){return a.current.run(m,t,w,v)})}),Zone.__load_patch("EventTarget",(t,a,u)=>{(function Me(t,a){a.patchEventPrototype(t,a)})(t,u),function $e(t,a){if(Zone[a.symbol("patchEventTarget")])return;const{eventNames:u,zoneSymbolEventNames:c,TRUE_STR:f,FALSE_STR:m,ZONE_SYMBOL_PREFIX:E}=a.getGlobalObjects();for(let C=0;C{we("MutationObserver"),we("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,a,u)=>{we("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,a,u)=>{we("FileReader")}),Zone.__load_patch("on_property",(t,a,u)=>{!function Ct(t,a){if(ne&&!Ue||Zone[t.symbol("patchEvents")])return;const u=typeof WebSocket<"u",c=a.__Zone_ignore_on_properties;if(ht){const E=window,v=function be(){try{const t=ke.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:E,ignoreProperties:["error"]}]:[];Y(E,Ne.concat(["messageerror"]),c&&c.concat(v),ye(E)),Y(Document.prototype,Ne,c),typeof E.SVGElement<"u"&&Y(E.SVGElement.prototype,Ne,c),Y(Element.prototype,Ne,c),Y(HTMLElement.prototype,Ne,c),Y(HTMLMediaElement.prototype,st,c),Y(HTMLFrameSetElement.prototype,Et.concat(De),c),Y(HTMLBodyElement.prototype,Et.concat(De),c),Y(HTMLFrameElement.prototype,le,c),Y(HTMLIFrameElement.prototype,le,c);const C=E.HTMLMarqueeElement;C&&Y(C.prototype,Ee,c);const w=E.Worker;w&&Y(w.prototype,Re,c)}const f=a.XMLHttpRequest;f&&Y(f.prototype,it,c);const m=a.XMLHttpRequestEventTarget;m&&Y(m&&m.prototype,it,c),typeof IDBIndex<"u"&&(Y(IDBIndex.prototype,Pe,c),Y(IDBRequest.prototype,Pe,c),Y(IDBOpenDBRequest.prototype,Pe,c),Y(IDBDatabase.prototype,Pe,c),Y(IDBTransaction.prototype,Pe,c),Y(IDBCursor.prototype,Pe,c)),u&&Y(WebSocket.prototype,at,c)}(u,t)}),Zone.__load_patch("customElements",(t,a,u)=>{!function Pt(t,a){const{isBrowser:u,isMix:c}=a.getGlobalObjects();(u||c)&&t.customElements&&"customElements"in t&&a.patchCallbacks(a,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,u)}),Zone.__load_patch("XHR",(t,a)=>{!function C(w){const b=w.XMLHttpRequest;if(!b)return;const H=b.prototype;let P=H[Qe],G=H[et];if(!P){const N=w.XMLHttpRequestEventTarget;if(N){const j=N.prototype;P=j[Qe],G=j[et]}}const x="readystatechange",L="scheduled";function T(N){const j=N.data,O=j.target;O[m]=!1,O[v]=!1;const re=O[f];P||(P=O[Qe],G=O[et]),re&&G.call(O,x,re);const Te=O[f]=()=>{if(O.readyState===O.DONE)if(!j.aborted&&O[m]&&N.state===L){const ue=O[a.__symbol__("loadfalse")];if(0!==O.status&&ue&&ue.length>0){const fe=N.invoke;N.invoke=function(){const W=O[a.__symbol__("loadfalse")];for(let I=0;Ifunction(N,j){return N[c]=0==j[2],N[E]=j[1],B.apply(N,j)}),R=U("fetchTaskAborting"),Q=U("fetchTaskScheduling"),V=ae(H,"send",()=>function(N,j){if(!0===a.current[Q]||N[c])return V.apply(N,j);{const O={target:N,url:N[E],isPeriodic:!1,args:j,aborted:!1},re=lt("XMLHttpRequest.send",Z,O,T,z);N&&!0===N[v]&&!O.aborted&&re.state===L&&re.invoke()}}),K=ae(H,"abort",()=>function(N,j){const O=function S(N){return N[u]}(N);if(O&&"string"==typeof O.type){if(null==O.cancelFn||O.data&&O.data.aborted)return;O.zone.cancelTask(O)}else if(!0===a.current[R])return K.apply(N,j)})}(t);const u=U("xhrTask"),c=U("xhrSync"),f=U("xhrListener"),m=U("xhrScheduled"),E=U("xhrURL"),v=U("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function ut(t,a){const u=t.constructor.name;for(let c=0;c{const C=function(){return v.apply(this,tt(arguments,u+"."+f))};return se(C,v),C})(m)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,a)=>{function u(c){return function(f){kt(t,c).forEach(E=>{const v=t.PromiseRejectionEvent;if(v){const C=new v(c,{promise:f.promise,reason:f.rejection});E.invoke(C)}})}}t.PromiseRejectionEvent&&(a[U("unhandledPromiseRejectionHandler")]=u("unhandledrejection"),a[U("rejectionHandledHandler")]=u("rejectionhandled"))})}},X=>{X(X.s=39061)}]);(self.webpackChunkdotcms_block_editor=self.webpackChunkdotcms_block_editor||[]).push([[179],{83734:(K,O,A)=>{"use strict";function k(n){return"function"==typeof n}let V=!1;const B={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){if(n){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else V&&console.log("RxJS: Back to a better error behavior. Thank you. <3");V=n},get useDeprecatedSynchronousErrorHandling(){return V}};function G(n){setTimeout(()=>{throw n},0)}const $={closed:!0,next(n){},error(n){if(B.useDeprecatedSynchronousErrorHandling)throw n;G(n)},complete(){}},R=Array.isArray||(n=>n&&"number"==typeof n.length);function P(n){return null!==n&&"object"==typeof n}const ie=(()=>{function n(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((e,i)=>`${i+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return n.prototype=Object.create(Error.prototype),n})();class ce{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:i,_unsubscribe:r,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof ce)e.remove(this);else if(null!==e)for(let s=0;st.concat(e instanceof ie?e.errors:e),[])}ce.EMPTY=((n=new ce).closed=!0,n);const _e="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class re extends ce{constructor(t,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=$;break;case 1:if(!t){this.destination=$;break}if("object"==typeof t){t instanceof re?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new X(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new X(this,t,e,i)}}[_e](){return this}static create(t,e,i){const r=new re(t,e,i);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class X extends re{constructor(t,e,i,r){super(),this._parentSubscriber=t;let o,s=this;k(e)?o=e:e&&(o=e.next,i=e.error,r=e.complete,e!==$&&(s=Object.create(e),k(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=i,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;B.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=B;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=t,e.syncErrorThrown=!0):G(t),this.unsubscribe();else{if(this.unsubscribe(),i)throw t;G(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);B.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(i){if(this.unsubscribe(),B.useDeprecatedSynchronousErrorHandling)throw i;G(i)}}__tryOrSetError(t,e,i){if(!B.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(r){return B.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(G(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const j="function"==typeof Symbol&&Symbol.observable||"@@observable";function z(n){return n}function pe(...n){return Fe(n)}function Fe(n){return 0===n.length?z:1===n.length?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}let Ee=(()=>{class n{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){const{operator:o}=this,s=function W(n,t,e){if(n){if(n instanceof re)return n;if(n[_e])return n[_e]()}return n||t||e?new re(n,t,e):new re($)}(e,i,r);if(s.add(o?o.call(s,this.source):this.source||B.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),B.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(i){B.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=i),function U(n){for(;n;){const{closed:t,destination:e,isStopped:i}=n;if(t||i)return!1;n=e&&e instanceof re?e:null}return!0}(e)?e.error(i):console.warn(i)}}forEach(e,i){return new(i=xe(i))((r,o)=>{let s;s=this.subscribe(a=>{try{e(a)}catch(l){o(l),s&&s.unsubscribe()}},o,r)})}_subscribe(e){const{source:i}=this;return i&&i.subscribe(e)}[j](){return this}pipe(...e){return 0===e.length?this:Fe(e)(this)}toPromise(e){return new(e=xe(e))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return n.create=t=>new n(t),n})();function xe(n){if(n||(n=B.Promise||Promise),!n)throw new Error("no Promise impl found");return n}const ve=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class Ze extends ce{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}class St extends re{constructor(t){super(t),this.destination=t}}let ue=(()=>{class n extends Ee{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[_e](){return new St(this)}lift(e){const i=new Ri(this,this);return i.operator=e,i}next(e){if(this.closed)throw new ve;if(!this.isStopped){const{observers:i}=this,r=i.length,o=i.slice();for(let s=0;snew Ri(t,e),n})();class Ri extends ue{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):ce.EMPTY}}function Di(n){return n&&"function"==typeof n.schedule}function fe(n,t){return function(i){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new Fr(n,t))}}class Fr{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new nr(t,this.project,this.thisArg))}}class nr extends re{constructor(t,e,i){super(t),this.project=e,this.count=0,this.thisArg=i||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}const $i=n=>t=>{for(let e=0,i=n.length;en&&"number"==typeof n.length&&"function"!=typeof n;function Oo(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const $e=n=>{if(n&&"function"==typeof n[j])return(n=>t=>{const e=n[j]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)})(n);if(fa(n))return $i(n);if(Oo(n))return(n=>t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,G),t))(n);if(n&&"function"==typeof n[Io])return(n=>t=>{const e=n[Io]();for(;;){let i;try{i=e.next()}catch(r){return t.error(r),t}if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof e.return&&t.add(()=>{e.return&&e.return()}),t})(n);{const e=`You provided ${P(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function Gt(n,t){return new Ee(e=>{const i=new ce;let r=0;return i.add(t.schedule(function(){r!==n.length?(e.next(n[r++]),e.closed||i.add(this.schedule())):e.complete()})),i})}function jr(n,t){if(null!=n){if(function di(n){return n&&"function"==typeof n[j]}(n))return function Ut(n,t){return new Ee(e=>{const i=new ce;return i.add(t.schedule(()=>{const r=n[j]();i.add(r.subscribe({next(o){i.add(t.schedule(()=>e.next(o)))},error(o){i.add(t.schedule(()=>e.error(o)))},complete(){i.add(t.schedule(()=>e.complete()))}}))})),i})}(n,t);if(Oo(n))return function _t(n,t){return new Ee(e=>{const i=new ce;return i.add(t.schedule(()=>n.then(r=>{i.add(t.schedule(()=>{e.next(r),i.add(t.schedule(()=>e.complete()))}))},r=>{i.add(t.schedule(()=>e.error(r)))}))),i})}(n,t);if(fa(n))return Gt(n,t);if(function Wi(n){return n&&"function"==typeof n[Io]}(n)||"string"==typeof n)return function kn(n,t){if(!n)throw new Error("Iterable cannot be null");return new Ee(e=>{const i=new ce;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(t.schedule(()=>{r=n[Io](),i.add(t.schedule(function(){if(e.closed)return;let o,s;try{const a=r.next();o=a.value,s=a.done}catch(a){return void e.error(a)}s?e.complete():(e.next(o),this.schedule())}))})),i})}(n,t)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}function Et(n,t){return t?jr(n,t):n instanceof Ee?n:new Ee($e(n))}class Wn extends re{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class ts extends re{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function uc(n,t){if(t.closed)return;if(n instanceof Ee)return n.subscribe(t);let e;try{e=$e(n)(t)}catch(i){t.error(i)}return e}function ri(n,t,e=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(ri((r,o)=>Et(n(r,o)).pipe(fe((s,a)=>t(r,s,o,a))),e)):("number"==typeof t&&(e=t),i=>i.lift(new DC(n,e)))}class DC{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new MC(t,this.project,this.concurrent))}}class MC extends ts{constructor(t,e,i=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}const wf=ri;function el(n=Number.POSITIVE_INFINITY){return ri(z,n)}function tl(n,t){return t?Gt(n,t):new Ee($i(n))}function Ts(...n){let t=Number.POSITIVE_INFINITY,e=null,i=n[n.length-1];return Di(i)?(e=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(t=n.pop())):"number"==typeof i&&(t=n.pop()),null===e&&1===n.length&&n[0]instanceof Ee?n[0]:el(t)(tl(n,e))}function dc(){return function(t){return t.lift(new Ao(t))}}class Ao{constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const r=new dy(t,i),o=e.subscribe(r);return r.closed||(r.connection=i.connect()),o}}class dy extends re{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,r=t._connection;this.connection=null,r&&(!i||r===i)&&r.unsubscribe()}}class Gu extends Ee{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new ce,t.add(this.source.subscribe(new hy(this.getSubject(),this))),t.closed&&(this._connection=null,t=ce.EMPTY)),t}refCount(){return dc()(this)}}const SC=(()=>{const n=Gu.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:n._subscribe},_isComplete:{value:n._isComplete,writable:!0},getSubject:{value:n.getSubject},connect:{value:n.connect},refCount:{value:n.refCount}}})();class hy extends St{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}class EC{constructor(t,e){this.subjectFactory=t,this.selector=e}call(t,e){const{selector:i}=this,r=this.subjectFactory(),o=i(r).subscribe(t);return o.add(e.subscribe(r)),o}}function ma(){return new ue}function Dn(n){for(let t in n)if(n[t]===Dn)return t;throw Error("Could not find renamed property on target object.")}function Df(n,t){for(const e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function bn(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(bn).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function ga(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}const Mf=Dn({__forward_ref__:Dn});function Ft(n){return n.__forward_ref__=Ft,n.toString=function(){return bn(this())},n}function Xe(n){return ya(n)?n():n}function ya(n){return"function"==typeof n&&n.hasOwnProperty(Mf)&&n.__forward_ref__===Ft}function Sf(n){return n&&!!n.\u0275providers}const Yu="https://g.co/ng/security#xss";class J extends Error{constructor(t,e){super(function qu(n,t){return`NG0${Math.abs(n)}${t?": "+t.trim():""}`}(t,e)),this.code=t}}function dt(n){return"string"==typeof n?n:null==n?"":String(n)}function Ku(n,t){throw new J(-201,!1)}function zr(n,t){null==n&&function Zt(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}(t,n,null,"!=")}function H(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function ft(n){return{providers:n.providers||[],imports:n.imports||[]}}function Qu(n){return gy(n,hc)||gy(n,yy)}function gy(n,t){return n.hasOwnProperty(t)?n[t]:null}function il(n){return n&&(n.hasOwnProperty(Ju)||n.hasOwnProperty(NC))?n[Ju]:null}const hc=Dn({\u0275prov:Dn}),Ju=Dn({\u0275inj:Dn}),yy=Dn({ngInjectableDef:Dn}),NC=Dn({ngInjectorDef:Dn});var rt=(()=>((rt=rt||{})[rt.Default=0]="Default",rt[rt.Host=1]="Host",rt[rt.Self=2]="Self",rt[rt.SkipSelf=4]="SkipSelf",rt[rt.Optional=8]="Optional",rt))();let Ef;function Vr(n){const t=Ef;return Ef=n,t}function vy(n,t,e){const i=Qu(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&rt.Optional?null:void 0!==t?t:void Ku(bn(n))}const mn=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Br={},xf="__NG_DI_FLAG__",Xu="ngTempTokenPath",RC=/\n/gm,Ms="__source";let rl;function ol(n){const t=rl;return rl=n,t}function ed(n,t=rt.Default){if(void 0===rl)throw new J(-203,!1);return null===rl?vy(n,void 0,t):rl.get(n,t&rt.Optional?null:void 0,t)}function F(n,t=rt.Default){return(function _y(){return Ef}()||ed)(Xe(n),t)}function st(n,t=rt.Default){return F(n,pc(t))}function pc(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function nd(n){const t=[];for(let e=0;e((lo=lo||{})[lo.OnPush=0]="OnPush",lo[lo.Default=1]="Default",lo))(),oe=(()=>(function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(oe||(oe={})),oe))();const De={},Ke=[],pt=Dn({\u0275cmp:Dn}),Ln=Dn({\u0275dir:Dn}),oi=Dn({\u0275pipe:Dn}),vi=Dn({\u0275mod:Dn}),sn=Dn({\u0275fac:Dn}),Mi=Dn({__NG_ELEMENT_ID__:Dn});let co=0;function Ce(n){return Ss(()=>{const e=!0===n.standalone,i={},r={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===lo.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||Ke,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||oe.Emulated,id:"c"+co++,styles:n.styles||Ke,_:null,setInput:null,schemas:n.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},o=n.dependencies,s=n.features;return r.inputs=If(n.inputs,i),r.outputs=If(n.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(vr).filter(is):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(br).filter(is):null,r})}function Si(n,t,e){const i=n.\u0275cmp;i.directiveDefs=()=>("function"==typeof t?t():t).map(vr),i.pipeDefs=()=>("function"==typeof e?e():e).map(br)}function vr(n){return Cn(n)||ir(n)}function is(n){return null!==n}function et(n){return Ss(()=>({type:n.type,bootstrap:n.bootstrap||Ke,declarations:n.declarations||Ke,imports:n.imports||Ke,exports:n.exports||Ke,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function If(n,t){if(null==n)return De;const e={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=i,t&&(t[r]=o)}return e}const we=Ce;function Hn(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function Cn(n){return n[pt]||null}function ir(n){return n[Ln]||null}function br(n){return n[oi]||null}function uo(n,t){const e=n[vi]||null;if(!e&&!0===t)throw new Error(`Type ${bn(n)} does not have '\u0275mod' property.`);return e}function ho(n){return Array.isArray(n)&&"object"==typeof n[1]}function ss(n){return Array.isArray(n)&&!0===n[1]}function BC(n){return 0!=(4&n.flags)}function Nf(n){return n.componentOffset>-1}function My(n){return 1==(1&n.flags)}function as(n){return null!==n.template}function vB(n){return 0!=(256&n[2])}function yc(n,t){return n.hasOwnProperty(sn)?n[sn]:null}class wx{constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Gi(){return Tx}function Tx(n){return n.type.prototype.ngOnChanges&&(n.setInput=TB),wB}function wB(){const n=Mx(this),t=n?.current;if(t){const e=n.previous;if(e===De)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function TB(n,t,e,i){const r=this.declaredInputs[e],o=Mx(n)||function DB(n,t){return n[Dx]=t}(n,{previous:De,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[r];s[r]=new wx(l&&l.currentValue,t,a===De),n[i]=t}Gi.ngInherit=!0;const Dx="__ngSimpleChanges__";function Mx(n){return n[Dx]||null}function Yi(n){for(;Array.isArray(n);)n=n[0];return n}function Sy(n,t){return Yi(t[n])}function fo(n,t){return Yi(t[n.index])}function xx(n,t){return n.data[t]}function ld(n,t){return n[t]}function po(n,t){const e=t[n];return ho(e)?e:e[0]}function Ey(n){return 64==(64&n[2])}function al(n,t){return null==t?null:n[t]}function Ix(n){n[18]=0}function HC(n,t){n[5]+=t;let e=n,i=n[3];for(;null!==i&&(1===t&&1===e[5]||-1===t&&0===e[5]);)i[5]+=t,e=i,i=i[3]}const vt={lFrame:zx(null),bindingsEnabled:!0};function Ax(){return vt.bindingsEnabled}function le(){return vt.lFrame.lView}function nn(){return vt.lFrame.tView}function ee(n){return vt.lFrame.contextLView=n,n[8]}function te(n){return vt.lFrame.contextLView=null,n}function qi(){let n=kx();for(;null!==n&&64===n.type;)n=n.parent;return n}function kx(){return vt.lFrame.currentTNode}function xs(n,t){const e=vt.lFrame;e.currentTNode=n,e.isParent=t}function $C(){return vt.lFrame.isParent}function WC(){vt.lFrame.isParent=!1}function wr(){const n=vt.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function cd(){return vt.lFrame.bindingIndex++}function Ta(n){const t=vt.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function FB(n,t){const e=vt.lFrame;e.bindingIndex=e.bindingRootIndex=n,GC(t)}function GC(n){vt.lFrame.currentDirectiveIndex=n}function Rx(){return vt.lFrame.currentQueryIndex}function qC(n){vt.lFrame.currentQueryIndex=n}function zB(n){const t=n[1];return 2===t.type?t.declTNode:1===t.type?n[6]:null}function Fx(n,t,e){if(e&rt.SkipSelf){let r=t,o=n;for(;!(r=r.parent,null!==r||e&rt.Host||(r=zB(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;t=r,n=o}const i=vt.lFrame=jx();return i.currentTNode=t,i.lView=n,!0}function KC(n){const t=jx(),e=n[1];vt.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function jx(){const n=vt.lFrame,t=null===n?null:n.child;return null===t?zx(n):t}function zx(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function Vx(){const n=vt.lFrame;return vt.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const Bx=Vx;function QC(){const n=Vx();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Tr(){return vt.lFrame.selectedIndex}function _c(n){vt.lFrame.selectedIndex=n}function ei(){const n=vt.lFrame;return xx(n.tView,n.selectedIndex)}function ZC(){vt.lFrame.currentNamespace="svg"}function JC(){!function HB(){vt.lFrame.currentNamespace=null}()}function xy(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e=i)break}else t[l]<0&&(n[18]+=65536),(a>11>16&&(3&n[2])===t){n[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class Lf{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function tw(n,t,e){let i=0;for(;it){s=o-1;break}}}for(;o>16}(n),i=t;for(;e>0;)i=i[15],e--;return i}let nw=!0;function Ny(n){const t=nw;return nw=n,t}let ZB=0;const Is={};function Py(n,t){const e=Kx(n,t);if(-1!==e)return e;const i=t[1];i.firstCreatePass&&(n.injectorIndex=t.length,iw(i.data,n),iw(t,null),iw(i.blueprint,null));const r=rw(n,t),o=n.injectorIndex;if(Gx(r)){const s=Ay(r),a=ky(r,t),l=a[1].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=r,o}function iw(n,t){n.push(0,0,0,0,0,0,0,0,t)}function Kx(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function rw(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;null!==r;){if(i=nI(r),null===i)return-1;if(e++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function ow(n,t,e){!function JB(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Mi)&&(i=e[Mi]),null==i&&(i=e[Mi]=ZB++);const r=255&i;t.data[n+(r>>5)]|=1<=0?255&t:nU:t}(e);if("function"==typeof o){if(!Fx(t,n,i))return i&rt.Host?Qx(r,0,i):Zx(t,e,i,r);try{const s=o(i);if(null!=s||i&rt.Optional)return s;Ku()}finally{Bx()}}else if("number"==typeof o){let s=null,a=Kx(n,t),l=-1,c=i&rt.Host?t[16][6]:null;for((-1===a||i&rt.SkipSelf)&&(l=-1===a?rw(n,t):t[a+8],-1!==l&&tI(i,!1)?(s=t[1],a=Ay(l),t=ky(l,t)):a=-1);-1!==a;){const u=t[1];if(eI(o,a,u.data)){const d=eU(a,t,e,s,i,c);if(d!==Is)return d}l=t[a+8],-1!==l&&tI(i,t[1].data[a+8]===c)&&eI(o,a,t)?(s=u,a=Ay(l),t=ky(l,t)):a=-1}}return r}function eU(n,t,e,i,r,o){const s=t[1],a=s.data[n+8],u=Ly(a,s,e,null==i?Nf(a)&&nw:i!=s&&0!=(3&a.type),r&rt.Host&&o===a);return null!==u?vc(t,s,u,a):Is}function Ly(n,t,e,i,r){const o=n.providerIndexes,s=t.data,a=1048575&o,l=n.directiveStart,u=o>>20,h=r?a+u:n.directiveEnd;for(let f=i?a:a+u;f=l&&p.type===e)return f}if(r){const f=s[l];if(f&&as(f)&&f.type===e)return l}return null}function vc(n,t,e,i){let r=n[e];const o=t.data;if(function YB(n){return n instanceof Lf}(r)){const s=r;s.resolving&&function _a(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new J(-200,`Circular dependency in DI detected for ${n}${e}`)}(function tn(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():dt(n)}(o[e]));const a=Ny(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Vr(s.injectImpl):null;Fx(n,i,rt.Default);try{r=n[e]=s.factory(void 0,o,n,i),t.firstCreatePass&&e>=i.directiveStart&&function WB(n,t,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const s=Tx(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,s)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,r),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,o))}(e,o[e],t)}finally{null!==l&&Vr(l),Ny(a),s.resolving=!1,Bx()}}return r}function eI(n,t,e){return!!(e[t+(n>>5)]&1<{const t=n.prototype.constructor,e=t[sn]||sw(t),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[sn]||sw(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function sw(n){return ya(n)?()=>{const t=sw(Xe(n));return t&&t()}:yc(n)}function nI(n){const t=n[1],e=t.type;return 2===e?t.declTNode:1===e?n[6]:null}const fd="__parameters__";function md(n,t,e){return Ss(()=>{const i=function aw(n){return function(...e){if(n){const i=n(...e);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(fd)?l[fd]:Object.defineProperty(l,fd,{value:[]})[fd];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}class Me{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=H({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function bc(n,t){n.forEach(e=>Array.isArray(e)?bc(e,t):t(e))}function rI(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function Fy(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function zf(n,t){const e=[];for(let i=0;i=0?n[1|i]=e:(i=~i,function aU(n,t,e,i){let r=n.length;if(r==t)n.push(e,i);else if(1===r)n.push(i,n[0]),n[0]=e;else{for(r--,n.push(n[r-1],n[r]);r>t;)n[r]=n[r-2],r--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function cw(n,t){const e=gd(n,t);if(e>=0)return n[1|e]}function gd(n,t){return function oI(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){const o=i+(r-i>>1),s=n[o<t?r=o:i=o+1}return~(r<({token:n})),-1),Vf=sl(md("Optional"),8),Bf=sl(md("SkipSelf"),4);var Ur=(()=>((Ur=Ur||{})[Ur.Important=1]="Important",Ur[Ur.DashCase=2]="DashCase",Ur))();const pw=new Map;let IU=0;const gw="__ngContext__";function sr(n,t){ho(t)?(n[gw]=t[20],function AU(n){pw.set(n[20],n)}(t)):n[gw]=t}function _w(n,t){return undefined(n,t)}function Wf(n){const t=n[3];return ss(t)?t[3]:t}function vw(n){return MI(n[13])}function bw(n){return MI(n[4])}function MI(n){for(;null!==n&&!ss(n);)n=n[4];return n}function _d(n,t,e,i,r){if(null!=i){let o,s=!1;ss(i)?o=i:ho(i)&&(s=!0,i=i[0]);const a=Yi(i);0===n&&null!==e?null==r?AI(t,e,a):Cc(t,e,a,r||null,!0):1===n&&null!==e?Cc(t,e,a,r||null,!0):2===n?function Ew(n,t,e){const i=Uy(n,t);i&&function ZU(n,t,e,i){n.removeChild(t,e,i)}(n,i,t,e)}(t,a,s):3===n&&t.destroyNode(a),null!=o&&function e8(n,t,e,i,r){const o=e[7];o!==Yi(e)&&_d(t,n,i,o,r);for(let a=10;a0&&(n[e-1][4]=i[4]);const o=Fy(n,10+t);!function HU(n,t){Gf(n,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function xI(n,t){if(!(128&t[2])){const e=t[11];e.destroyNode&&Gf(n,t,e,3,null,null),function GU(n){let t=n[13];if(!t)return Dw(n[1],n);for(;t;){let e=null;if(ho(t))e=t[13];else{const i=t[10];i&&(e=i)}if(!e){for(;t&&!t[4]&&t!==n;)ho(t)&&Dw(t[1],t),t=t[3];null===t&&(t=n),ho(t)&&Dw(t[1],t),e=t&&t[4]}t=e}}(t)}}function Dw(n,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function QU(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i=0?i[r=s]():i[r=-s].unsubscribe(),o+=2}else{const s=i[r=e[o+1]];e[o].call(s)}if(null!==i){for(let o=r+1;o-1){const{encapsulation:o}=n.data[i.directiveStart+r];if(o===oe.None||o===oe.Emulated)return null}return fo(i,e)}}(n,t.parent,e)}function Cc(n,t,e,i,r){n.insertBefore(t,e,i,r)}function AI(n,t,e){n.appendChild(t,e)}function kI(n,t,e,i,r){null!==i?Cc(n,t,e,i,r):AI(n,t,e)}function Uy(n,t){return n.parentNode(t)}function NI(n,t,e){return LI(n,t,e)}let Wy,Ow,Gy,LI=function PI(n,t,e){return 40&n.type?fo(n,e):null};function Hy(n,t,e,i){const r=II(n,i,t),o=t[11],a=NI(i.parent||t[6],i,t);if(null!=r)if(Array.isArray(e))for(let l=0;ln,createScript:n=>n,createScriptURL:n=>n})}catch{}return Wy}()?.createHTML(n)||n}function UI(n){return function Aw(){if(void 0===Gy&&(Gy=null,mn.trustedTypes))try{Gy=mn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Gy}()?.createHTML(n)||n}class Tc{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Yu})`}}class a8 extends Tc{getTypeName(){return"HTML"}}class l8 extends Tc{getTypeName(){return"Style"}}class c8 extends Tc{getTypeName(){return"Script"}}class u8 extends Tc{getTypeName(){return"URL"}}class d8 extends Tc{getTypeName(){return"ResourceURL"}}function go(n){return n instanceof Tc?n.changingThisBreaksApplicationSecurity:n}function Os(n,t){const e=function h8(n){return n instanceof Tc&&n.getTypeName()||null}(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see ${Yu})`)}return e===t}class _8{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(wc(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class v8{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const i=this.inertDocument.createElement("body");e.appendChild(i)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=wc(t),e;const i=this.inertDocument.createElement("body");return i.innerHTML=wc(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0"),!0}endElement(t){const e=t.nodeName.toLowerCase();kw.hasOwnProperty(e)&&!GI.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(QI(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const D8=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,M8=/([^\#-~ |!])/g;function QI(n){return n.replace(/&/g,"&").replace(D8,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(M8,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let qy;function ZI(n,t){let e=null;try{qy=qy||function WI(n){const t=new v8(n);return function b8(){try{return!!(new window.DOMParser).parseFromString(wc(""),"text/html")}catch{return!1}}()?new _8(t):t}(n);let i=t?String(t):"";e=qy.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=qy.getInertBodyElement(i)}while(i!==o);return wc((new T8).sanitizeChildren(Pw(e)||e))}finally{if(e){const i=Pw(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Pw(n){return"content"in n&&function S8(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Rn=(()=>((Rn=Rn||{})[Rn.NONE=0]="NONE",Rn[Rn.HTML=1]="HTML",Rn[Rn.STYLE=2]="STYLE",Rn[Rn.SCRIPT=3]="SCRIPT",Rn[Rn.URL=4]="URL",Rn[Rn.RESOURCE_URL=5]="RESOURCE_URL",Rn))();function Dc(n){const t=qf();return t?UI(t.sanitize(Rn.HTML,n)||""):Os(n,"HTML")?UI(go(n)):ZI(function BI(){return void 0!==Ow?Ow:typeof document<"u"?document:void 0}(),dt(n))}function Po(n){const t=qf();return t?t.sanitize(Rn.URL,n)||"":Os(n,"URL")?go(n):Yy(dt(n))}function qf(){const n=le();return n&&n[12]}const Ky=new Me("ENVIRONMENT_INITIALIZER"),eO=new Me("INJECTOR",-1),tO=new Me("INJECTOR_DEF_TYPES");class nO{get(t,e=Br){if(e===Br){const i=new Error(`NullInjectorError: No provider for ${bn(t)}!`);throw i.name="NullInjectorError",i}return e}}function N8(...n){return{\u0275providers:iO(0,n),\u0275fromNgModule:!0}}function iO(n,...t){const e=[],i=new Set;let r;return bc(t,o=>{const s=o;Lw(s,e,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&rO(r,e),e}function rO(n,t){for(let e=0;e{t.push(o)})}}function Lw(n,t,e,i){if(!(n=Xe(n)))return!1;let r=null,o=il(n);const s=!o&&Cn(n);if(o||s){if(s&&!s.standalone)return!1;r=n}else{const l=n.ngModule;if(o=il(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Lw(c,t,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{bc(o.imports,u=>{Lw(u,t,e,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&rO(c,t)}if(!a){const c=yc(r)||(()=>new r);t.push({provide:r,useFactory:c,deps:Ke},{provide:tO,useValue:r,multi:!0},{provide:Ky,useValue:()=>F(r),multi:!0})}const l=o.providers;null==l||a||Rw(l,u=>{t.push(u)})}}return r!==n&&void 0!==n.providers}function Rw(n,t){for(let e of n)Sf(e)&&(e=e.\u0275providers),Array.isArray(e)?Rw(e,t):t(e)}const P8=Dn({provide:String,useValue:Dn});function Fw(n){return null!==n&&"object"==typeof n&&P8 in n}function Mc(n){return"function"==typeof n}const jw=new Me("Set Injector scope."),Qy={},R8={};let zw;function Zy(){return void 0===zw&&(zw=new nO),zw}class As{}class aO extends As{get destroyed(){return this._destroyed}constructor(t,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Bw(t,s=>this.processProvider(s)),this.records.set(eO,vd(void 0,this)),r.has("environment")&&this.records.set(As,vd(void 0,this));const o=this.records.get(jw);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(tO.multi,Ke,rt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const e=ol(this),i=Vr(void 0);try{return t()}finally{ol(e),Vr(i)}}get(t,e=Br,i=rt.Default){this.assertNotDestroyed(),i=pc(i);const r=ol(this),o=Vr(void 0);try{if(!(i&rt.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function B8(n){return"function"==typeof n||"object"==typeof n&&n instanceof Me}(t)&&Qu(t);a=l&&this.injectableDefInScope(l)?vd(Vw(t),Qy):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&rt.Self?Zy():this.parent).get(t,e=i&rt.Optional&&e===Br?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[Xu]=s[Xu]||[]).unshift(bn(t)),r)throw s;return function by(n,t,e,i){const r=n[Xu];throw t[Ms]&&r.unshift(t[Ms]),n.message=function jC(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let r=bn(t);if(Array.isArray(t))r=t.map(bn).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):bn(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${n.replace(RC,"\n ")}`}("\n"+n.message,r,e,i),n.ngTokenPath=r,n[Xu]=null,n}(s,t,"R3InjectorError",this.source)}throw s}finally{Vr(o),ol(r)}}resolveInjectorInitializers(){const t=ol(this),e=Vr(void 0);try{const i=this.get(Ky.multi,Ke,rt.Self);for(const r of i)r()}finally{ol(t),Vr(e)}}toString(){const t=[],e=this.records;for(const i of e.keys())t.push(bn(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new J(205,!1)}processProvider(t){let e=Mc(t=Xe(t))?t:Xe(t&&t.provide);const i=function j8(n){return Fw(n)?vd(void 0,n.useValue):vd(lO(n),Qy)}(t);if(Mc(t)||!0!==t.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=vd(void 0,Qy,!0),r.factory=()=>nd(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,i)}hydrate(t,e){return e.value===Qy&&(e.value=R8,e.value=e.factory()),"object"==typeof e.value&&e.value&&function V8(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=Xe(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function Vw(n){const t=Qu(n),e=null!==t?t.factory:yc(n);if(null!==e)return e;if(n instanceof Me)throw new J(204,!1);if(n instanceof Function)return function F8(n){const t=n.length;if(t>0)throw zf(t,"?"),new J(204,!1);const e=function Zu(n){const t=n&&(n[hc]||n[yy]);if(t){const e=function kC(n){if(n.hasOwnProperty("name"))return n.name;const t=(""+n).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),t}return null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new J(204,!1)}function lO(n,t,e){let i;if(Mc(n)){const r=Xe(n);return yc(r)||Vw(r)}if(Fw(n))i=()=>Xe(n.useValue);else if(function sO(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...nd(n.deps||[]));else if(function oO(n){return!(!n||!n.useExisting)}(n))i=()=>F(Xe(n.useExisting));else{const r=Xe(n&&(n.useClass||n.provide));if(!function z8(n){return!!n.deps}(n))return yc(r)||Vw(r);i=()=>new r(...nd(n.deps))}return i}function vd(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function Bw(n,t){for(const e of n)Array.isArray(e)?Bw(e,t):e&&Sf(e)?Bw(e.\u0275providers,t):t(e)}class U8{}class cO{}class $8{resolveComponentFactory(t){throw function H8(n){const t=Error(`No component factory found for ${bn(n)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=n,t}(t)}}let Sc=(()=>{class n{}return n.NULL=new $8,n})();function W8(){return bd(qi(),le())}function bd(n,t){return new Dt(fo(n,t))}let Dt=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=W8,n})();function G8(n){return n instanceof Dt?n.nativeElement:n}class Kf{}let ar=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function Y8(){const n=le(),e=po(qi().index,n);return(ho(e)?e:n)[11]}(),n})(),q8=(()=>{class n{}return n.\u0275prov=H({token:n,providedIn:"root",factory:()=>null}),n})();class Cd{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const K8=new Cd("15.1.1"),Uw={};function $w(n){return n.ngOriginalError}class wd{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&$w(t);for(;e&&$w(e);)e=$w(e);return e||null}}function dO(n){return n.ownerDocument.defaultView}function hO(n){return n.ownerDocument}function Ma(n){return n instanceof Function?n():n}function pO(n,t,e){let i=n.length;for(;;){const r=n.indexOf(t,e);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}e=r+1}}const mO="ng-template";function rH(n,t,e){let i=0;for(;io?"":r[d+1].toLowerCase();const f=8&i?h:null;if(f&&-1!==pO(f,c,0)||2&i&&c!==h){if(ls(i))return!1;s=!0}}}}else{if(!s&&!ls(i)&&!ls(l))return!1;if(s&&ls(l))continue;s=!1,i=l|1&i}}return ls(i)||s}function ls(n){return 0==(1&n)}function aH(n,t,e,i){if(null===t)return-1;let r=0;if(i||!e){let o=!1;for(;r-1)for(e++;e0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!ls(s)&&(t+=_O(o,r),r=""),i=s,o=o||!ls(i);e++}return""!==r&&(t+=_O(o,r)),t}const bt={};function b(n){vO(nn(),le(),Tr()+n,!1)}function vO(n,t,e,i){if(!i)if(3==(3&t[2])){const o=n.preOrderCheckHooks;null!==o&&Iy(t,o,e)}else{const o=n.preOrderHooks;null!==o&&Oy(t,o,0,e)}_c(e)}function TO(n,t=null,e=null,i){const r=DO(n,t,e,i);return r.resolveInjectorInitializers(),r}function DO(n,t=null,e=null,i,r=new Set){const o=[e||Ke,N8(n)];return i=i||("object"==typeof n?void 0:bn(n)),new aO(o,t||Zy(),i||null,r)}let Dr=(()=>{class n{static create(e,i){if(Array.isArray(e))return TO({name:""},i,e,"");{const r=e.name??"";return TO({name:r},e.parent,e.providers,r)}}}return n.THROW_IF_NOT_FOUND=Br,n.NULL=new nO,n.\u0275prov=H({token:n,providedIn:"any",factory:()=>F(eO)}),n.__NG_ELEMENT_ID__=-1,n})();function I(n,t=rt.Default){const e=le();return null===e?F(n,t):Jx(qi(),e,Xe(n),t)}function kO(n,t){const e=n.contentQueries;if(null!==e)for(let i=0;i22&&vO(n,t,22,!1),e(i,r)}finally{_c(o)}}function Zw(n,t,e){if(BC(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(s)!=a&&s.push(a),s.push(e,i,o)}}(n,t,i,Qf(n,e,r.hostVars,bt),r)}function ks(n,t,e,i,r,o){const s=fo(n,t);!function iT(n,t,e,i,r,o,s){if(null==o)n.removeAttribute(t,r,e);else{const a=null==s?dt(o):s(o,i||"",r);n.setAttribute(t,r,a,e)}}(t[11],s,o,n.value,e,i,r)}function JH(n,t,e,i,r,o){const s=o[t];if(null!==s){const a=i.setInput;for(let l=0;l0&&rT(e)}}function rT(n){for(let i=vw(n);null!==i;i=bw(i))for(let r=10;r0&&rT(o)}const e=n[1].components;if(null!==e)for(let i=0;i0&&rT(r)}}function i9(n,t){const e=po(t,n),i=e[1];(function r9(n,t){for(let e=t.length;e-1&&(Tw(t,i),Fy(e,i))}this._attachedToViewContainer=!1}xI(this._lView[1],this._lView)}onDestroy(t){LO(this._lView[1],this._lView,null,t)}markForCheck(){oT(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){n_(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new J(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function WU(n,t){Gf(n,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new J(902,!1);this._appRef=t}}class o9 extends Zf{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;n_(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class GO extends Sc{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Cn(t);return new Jf(e,this.ngModule)}}function YO(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class a9{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){i=pc(i);const r=this.injector.get(t,Uw,i);return r!==Uw||e===Uw?r:this.parentInjector.get(t,e,i)}}class Jf extends cO{get inputs(){return YO(this.componentDef.inputs)}get outputs(){return YO(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function fH(n){return n.map(hH).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}create(t,e,i,r){let o=(r=r||this.ngModule)instanceof As?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new a9(t,o):t,a=s.get(Kf,null);if(null===a)throw new J(407,!1);const l=s.get(q8,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=i?function FH(n,t,e){return n.selectRootElement(t,e===oe.ShadowDom)}(c,i,this.componentDef.encapsulation):ww(c,u,function s9(n){const t=n.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(u)),h=this.componentDef.onPush?288:272,f=eT(0,null,null,1,0,null,null,null,null,null),p=Xy(null,f,null,h,null,null,a,c,l,s,null);let m,g;KC(p);try{const y=this.componentDef;let w,T=null;y.findHostDirectiveDefs?(w=[],T=new Map,y.findHostDirectiveDefs(y,w,T),w.push(y)):w=[y];const v=function c9(n,t){const e=n[1];return n[22]=t,Md(e,22,2,"#host",null)}(p,d),N=function u9(n,t,e,i,r,o,s,a){const l=r[1];!function d9(n,t,e,i){for(const r of n)t.mergedAttrs=Rf(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(i_(t,t.mergedAttrs,!0),null!==e&&VI(i,e,t))}(i,n,t,s);const c=o.createRenderer(t,e),u=Xy(r,PO(e),null,e.onPush?32:16,r[n.index],n,o,c,a||null,null,null);return l.firstCreatePass&&nT(l,n,i.length-1),t_(r,u),r[n.index]=u}(v,d,y,w,p,a,c);g=xx(f,22),d&&function f9(n,t,e,i){if(i)tw(n,e,["ng-version",K8.full]);else{const{attrs:r,classes:o}=function pH(n){const t=[],e=[];let i=1,r=2;for(;i0&&zI(n,e,o.join(" "))}}(c,y,d,i),void 0!==e&&function p9(n,t,e){const i=n.projection=[];for(let r=0;r=0;i--){const r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Rf(r.hostAttrs,e=Rf(e,r.hostAttrs))}}(i)}function lT(n){return n===De?{}:n===Ke?[]:n}function y9(n,t){const e=n.viewQuery;n.viewQuery=e?(i,r)=>{t(i,r),e(i,r)}:t}function _9(n,t){const e=n.contentQueries;n.contentQueries=e?(i,r,o)=>{t(i,r,o),e(i,r,o)}:t}function v9(n,t){const e=n.hostBindings;n.hostBindings=e?(i,r)=>{t(i,r),e(i,r)}:t}let o_=null;function Ec(){if(!o_){const n=mn.Symbol;if(n&&n.iterator)o_=n.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;es(Yi(v[i.index])):i.index;let T=null;if(!s&&a&&(T=function N9(n,t,e,i){const r=n.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(n,t,r,i.index)),null!==T)(T.__ngLastListenerFn__||T).__ngNextListenerFn__=o,T.__ngLastListenerFn__=o,h=!1;else{o=dA(i,t,u,o,!1);const v=e.listen(g,r,o);d.push(o,v),c&&c.push(r,w,y,y+1)}}else o=dA(i,t,u,o,!1);const f=i.outputs;let p;if(h&&null!==f&&(p=f[r])){const m=p.length;if(m)for(let g=0;g-1?po(n.index,t):t);let l=uA(t,0,i,s),c=o.__ngNextListenerFn__;for(;c;)l=uA(t,0,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function C(n=1){return function VB(n){return(vt.lFrame.contextLView=function BB(n,t){for(;n>0;)t=t[15],n--;return t}(n,vt.lFrame.contextLView))[8]}(n)}function P9(n,t){let e=null;const i=function lH(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(!(1&e))return t[e+1]}return null}(n);for(let r=0;r>17&32767}function hT(n){return 2|n}function Ic(n){return(131068&n)>>2}function fT(n,t){return-131069&n|t<<2}function pT(n){return 1|n}function bA(n,t,e,i,r){const o=n[e+1],s=null===t;let a=i?ll(o):Ic(o),l=!1;for(;0!==a&&(!1===l||s);){const u=n[a+1];V9(n[a],t)&&(l=!0,n[a+1]=i?pT(u):hT(u)),a=i?ll(u):Ic(u)}l&&(n[e+1]=i?hT(o):pT(o))}function V9(n,t){return null===n||null==t||(Array.isArray(n)?n[1]:n)===t||!(!Array.isArray(n)||"string"!=typeof t)&&gd(n,t)>=0}const Ii={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function CA(n){return n.substring(Ii.key,Ii.keyEnd)}function B9(n){return n.substring(Ii.value,Ii.valueEnd)}function wA(n,t){const e=Ii.textEnd;return e===t?-1:(t=Ii.keyEnd=function $9(n,t,e){for(;t32;)t++;return t}(n,Ii.key=t,e),Ld(n,t,e))}function TA(n,t){const e=Ii.textEnd;let i=Ii.key=Ld(n,t,e);return e===i?-1:(i=Ii.keyEnd=function W9(n,t,e){let i;for(;t=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(n,i,e),i=MA(n,i,e),i=Ii.value=Ld(n,i,e),i=Ii.valueEnd=function G9(n,t,e){let i=-1,r=-1,o=-1,s=t,a=s;for(;s32&&(a=s),o=r,r=i,i=-33&l}return a}(n,i,e),MA(n,i,e))}function DA(n){Ii.key=0,Ii.keyEnd=0,Ii.value=0,Ii.valueEnd=0,Ii.textEnd=n.length}function Ld(n,t,e){for(;t=0;e=TA(t,e))IA(n,CA(t),B9(t))}function jt(n){ds(mo,Ps,n,!0)}function Ps(n,t){for(let e=function U9(n){return DA(n),wA(n,Ld(n,0,Ii.textEnd))}(t);e>=0;e=wA(t,e))mo(n,CA(t),!0)}function us(n,t,e,i){const r=le(),o=nn(),s=Ta(2);o.firstUpdatePass&&xA(o,n,s,i),t!==bt&&lr(r,s,t)&&OA(o,o.data[Tr()],r,r[11],n,r[s+1]=function e7(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=bn(go(n)))),n}(t,e),i,s)}function ds(n,t,e,i){const r=nn(),o=Ta(2);r.firstUpdatePass&&xA(r,null,o,i);const s=le();if(e!==bt&&lr(s,o,e)){const a=r.data[Tr()];if(kA(a,i)&&!EA(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(e=ga(l,e||"")),uT(r,a,s,e,i)}else!function X9(n,t,e,i,r,o,s,a){r===bt&&(r=Ke);let l=0,c=0,u=0=n.expandoStartIndex}function xA(n,t,e,i){const r=n.data;if(null===r[e+1]){const o=r[Tr()],s=EA(n,e);kA(o,i)&&null===t&&!s&&(t=!1),t=function q9(n,t,e,i){const r=function YC(n){const t=vt.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}(n);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(e=tp(e=mT(null,n,t,e,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||n[s]!==r)if(e=mT(r,n,t,e,i),null===o){let l=function K9(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==Ic(i))return n[ll(i)]}(n,t,i);void 0!==l&&Array.isArray(l)&&(l=mT(null,n,t,l[1],i),l=tp(l,t.attrs,i),function Q9(n,t,e,i){n[ll(e?t.classBindings:t.styleBindings)]=i}(n,t,i,l))}else o=function Z9(n,t,e){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(c=!0)):u=e,r)if(0!==l){const h=ll(n[a+1]);n[i+1]=c_(h,a),0!==h&&(n[h+1]=fT(n[h+1],i)),n[a+1]=function R9(n,t){return 131071&n|t<<17}(n[a+1],i)}else n[i+1]=c_(a,0),0!==a&&(n[a+1]=fT(n[a+1],i)),a=i;else n[i+1]=c_(l,0),0===a?a=i:n[l+1]=fT(n[l+1],i),l=i;c&&(n[i+1]=hT(n[i+1])),bA(n,u,i,!0),bA(n,u,i,!1),function z9(n,t,e,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof t&&gd(o,t)>=0&&(e[i+1]=pT(e[i+1]))}(t,u,n,i,o),s=c_(a,l),o?t.classBindings=s:t.styleBindings=s}(r,o,t,e,s,i)}}function mT(n,t,e,i,r){let o=null;const s=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a0;){const l=n[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=e[r+1];h===bt&&(h=d?Ke:void 0);let f=d?cw(h,i):u===i?h:void 0;if(c&&!u_(f)&&(f=cw(l,i)),u_(f)&&(a=f,s))return a;const p=n[r+1];r=s?ll(p):Ic(p)}if(null!==t){let l=o?t.residualClasses:t.residualStyles;null!=l&&(a=cw(l,i))}return a}function u_(n){return void 0!==n}function kA(n,t){return 0!=(n.flags&(t?8:16))}function Se(n,t=""){const e=le(),i=nn(),r=n+22,o=i.firstCreatePass?Md(i,r,1,t,null):i.data[r],s=e[r]=function Cw(n,t){return n.createText(t)}(e[11],t);Hy(i,e,s,o),xs(o,!1)}function yt(n){return ji("",n,""),yt}function ji(n,t,e){const i=le(),r=Ed(i,n,t,e);return r!==bt&&Sa(i,Tr(),r),ji}function d_(n,t,e,i,r){const o=le(),s=xd(o,n,t,e,i,r);return s!==bt&&Sa(o,Tr(),s),d_}const Fd="en-US";let XA=Fd;function _T(n,t,e,i,r){if(n=Xe(n),Array.isArray(n))for(let o=0;o>20;if(Mc(n)||!n.multi){const f=new Lf(l,r,I),p=bT(a,t,r?u:u+h,d);-1===p?(ow(Py(c,s),o,a),vT(o,n,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(f),s.push(f)):(e[p]=f,s[p]=f)}else{const f=bT(a,t,u+h,d),p=bT(a,t,u,u+h),g=p>=0&&e[p];if(r&&!g||!r&&!(f>=0&&e[f])){ow(Py(c,s),o,a);const y=function _6(n,t,e,i,r){const o=new Lf(n,e,I);return o.multi=[],o.index=t,o.componentProviders=0,Dk(o,r,i&&!e),o}(r?y6:g6,e.length,r,i,l);!r&&g&&(e[p].providerFactory=y),vT(o,n,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(y),s.push(y)}else vT(o,n,f>-1?f:p,Dk(e[r?p:f],l,!r&&i));!r&&i&&g&&e[p].componentProviders++}}}function vT(n,t,e,i){const r=Mc(t),o=function L8(n){return!!n.useClass}(t);if(r||o){const l=(o?Xe(t.useClass):t).prototype.ngOnDestroy;if(l){const c=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.multi){const u=c.indexOf(e);-1===u?c.push(e,[i,l]):c[u+1].push(i,l)}else c.push(e,l)}}}function Dk(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function bT(n,t,e,i){for(let r=e;r{e.providersResolver=(i,r)=>function m6(n,t,e){const i=nn();if(i.firstCreatePass){const r=as(n);_T(e,i.data,i.blueprint,r,!0),_T(t,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,t)}}class jd{}class Mk{}class Sk extends jd{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new GO(this);const i=uo(t);this._bootstrapComponents=Ma(i.bootstrap),this._r3Injector=DO(t,e,[{provide:jd,useValue:this},{provide:Sc,useValue:this.componentFactoryResolver}],bn(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class wT extends Mk{constructor(t){super(),this.moduleType=t}create(t){return new Sk(this.moduleType,t)}}class b6 extends jd{constructor(t,e,i){super(),this.componentFactoryResolver=new GO(this),this.instance=null;const r=new aO([...t,{provide:jd,useValue:this},{provide:Sc,useValue:this.componentFactoryResolver}],e||Zy(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function g_(n,t,e=null){return new b6(n,t,e).injector}let C6=(()=>{class n{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=iO(0,e.type),r=i.length>0?g_([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=H({token:n,providedIn:"environment",factory:()=>new n(F(As))}),n})();function _o(n){n.getStandaloneInjector=t=>t.get(C6).getOrCreateStandaloneInjector(n)}function cr(n,t,e){const i=wr()+n,r=le();return r[i]===bt?Ns(r,i,e?t.call(e):t()):Xf(r,i)}function it(n,t,e,i){return Pk(le(),wr(),n,t,e,i)}function Fn(n,t,e,i,r){return function Lk(n,t,e,i,r,o,s){const a=t+e;return xc(n,a,r,o)?Ns(n,a+2,s?i.call(s,r,o):i(r,o)):ap(n,a+2)}(le(),wr(),n,t,e,i,r)}function ul(n,t,e,i,r,o){return function Rk(n,t,e,i,r,o,s,a){const l=t+e;return function a_(n,t,e,i,r){const o=xc(n,t,e,i);return lr(n,t+2,r)||o}(n,l,r,o,s)?Ns(n,l+3,a?i.call(a,r,o,s):i(r,o,s)):ap(n,l+3)}(le(),wr(),n,t,e,i,r,o)}function zd(n,t,e,i,r,o,s){return function Fk(n,t,e,i,r,o,s,a,l){const c=t+e;return Lo(n,c,r,o,s,a)?Ns(n,c+4,l?i.call(l,r,o,s,a):i(r,o,s,a)):ap(n,c+4)}(le(),wr(),n,t,e,i,r,o,s)}function DT(n,t,e,i){return function jk(n,t,e,i,r,o){let s=t+e,a=!1;for(let l=0;l=0;e--){const i=t[e];if(n===i.name)return i}}(t,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(r,i.onDestroy)):i=e.data[r];const o=i.factory||(i.factory=yc(i.type)),s=Vr(I);try{const a=Ny(!1),l=o();return Ny(a),function O9(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,le(),r,l),l}finally{Vr(s)}}function qn(n,t,e){const i=n+22,r=le(),o=ld(r,i);return function lp(n,t){return n[1].data[t].pure}(r,i)?Pk(r,wr(),t,o.transform,e,o):o.transform(e)}function MT(n){return t=>{setTimeout(n,void 0,t)}}const Q=class j6 extends ue{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,i){let r=t,o=e||(()=>null),s=i;if(t&&"object"==typeof t){const l=t;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=MT(o),r&&(r=MT(r)),s&&(s=MT(s)));const a=super.subscribe({next:r,error:o,complete:s});return t instanceof ce&&t.add(a),a}};function z6(){return this._results[Ec()]()}class cp{get changes(){return this._changes||(this._changes=new Q)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Ec(),i=cp.prototype;i[e]||(i[e]=z6)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const i=this;i.dirty=!1;const r=function No(n){return n.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function oU(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i{class n{}return n.__NG_ELEMENT_ID__=U6,n})();const V6=Ro,B6=class extends V6{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t,e){const i=this._declarationTContainer.tViews,r=Xy(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,e||null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(i)),Qw(i,r,t),new Zf(r)}};function U6(){return y_(qi(),le())}function y_(n,t){return 4&n.type?new B6(t,n,bd(n,t)):null}let Gr=(()=>{class n{}return n.__NG_ELEMENT_ID__=H6,n})();function H6(){return Bk(qi(),le())}const $6=Gr,zk=class extends $6{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return bd(this._hostTNode,this._hostLView)}get injector(){return new dd(this._hostTNode,this._hostLView)}get parentInjector(){const t=rw(this._hostTNode,this._hostLView);if(Gx(t)){const e=ky(t,this._hostLView),i=Ay(t);return new dd(e[1].data[i+8],e)}return new dd(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Vk(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=t.createEmbeddedView(e||{},o);return this.insert(s,r),s}createComponent(t,e,i,r,o){const s=t&&!function jf(n){return"function"==typeof n}(t);let a;if(s)a=e;else{const d=e||{};a=d.index,i=d.injector,r=d.projectableNodes,o=d.environmentInjector||d.ngModuleRef}const l=s?t:new Jf(Cn(t)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const h=(s?c:this.parentInjector).get(As,null);h&&(o=h)}const u=l.create(c,r,void 0,o);return this.insert(u.hostView,a),u}insert(t,e){const i=t._lView,r=i[1];if(function IB(n){return ss(n[3])}(i)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const d=i[3],h=new zk(d,d[6],d[3]);h.detach(h.indexOf(t))}}const o=this._adjustIndex(e),s=this._lContainer;!function YU(n,t,e,i){const r=10+i,o=e.length;i>0&&(e[r-1][4]=t),i0)i.push(s[a/2]);else{const c=o[a+1],u=t[-l];for(let d=10;d{class n{constructor(e){this.appInits=e,this.resolve=v_,this.reject=v_,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{o.subscribe({complete:a,error:l})});e.push(s)}}Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)(F(dp,8))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const hp=new Me("AppId",{providedIn:"root",factory:function dN(){return`${RT()}${RT()}${RT()}`}});function RT(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const hN=new Me("Platform Initializer"),C_=new Me("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),fN=new Me("appBootstrapListener"),pN=new Me("AnimationModuleType");let g$=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const Ls=new Me("LocaleId",{providedIn:"root",factory:()=>st(Ls,rt.Optional|rt.SkipSelf)||function y$(){return typeof $localize<"u"&&$localize.locale||Fd}()});class v${constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let mN=(()=>{class n{compileModuleSync(e){return new wT(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),o=Ma(uo(e).declarations).reduce((s,a)=>{const l=Cn(a);return l&&s.push(new Jf(l)),s},[]);return new v$(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const w$=(()=>Promise.resolve(0))();function FT(n){typeof Zone>"u"?w$.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class Yt{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Q(!1),this.onMicrotaskEmpty=new Q(!1),this.onStable=new Q(!1),this.onError=new Q(!1),typeof Zone>"u")throw new J(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function T$(){let n=mn.requestAnimationFrame,t=mn.cancelAnimationFrame;if(typeof Zone<"u"&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function S$(n){const t=()=>{!function M$(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(mn,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,zT(n),n.isCheckStableRunning=!0,jT(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),zT(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,o,s,a)=>{try{return _N(n),e.invokeTask(r,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&t(),vN(n)}},onInvoke:(e,i,r,o,s,a,l)=>{try{return _N(n),e.invoke(r,o,s,a,l)}finally{n.shouldCoalesceRunChangeDetection&&t(),vN(n)}},onHasTask:(e,i,r,o)=>{e.hasTask(r,o),i===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,zT(n),jT(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,r,o)=>(e.handleError(r,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Yt.isInAngularZone())throw new J(909,!1)}static assertNotInAngularZone(){if(Yt.isInAngularZone())throw new J(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,D$,v_,v_);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const D$={};function jT(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function zT(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function _N(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function vN(n){n._nesting--,jT(n)}class E${constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Q,this.onMicrotaskEmpty=new Q,this.onStable=new Q,this.onError=new Q}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,r){return t.apply(e,i)}}const bN=new Me(""),w_=new Me("");let UT,VT=(()=>{class n{constructor(e,i,r){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,UT||(function x$(n){UT=n}(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Yt.assertNotInAngularZone(),FT(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())FT(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}}return n.\u0275fac=function(e){return new(e||n)(F(Yt),F(BT),F(w_))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})(),BT=(()=>{class n{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return UT?.findTestabilityInTree(this,e,i)??null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})(),dl=null;const CN=new Me("AllowMultipleToken"),HT=new Me("PlatformDestroyListeners");class wN{constructor(t,e){this.name=t,this.token=e}}function DN(n,t,e=[]){const i=`Platform: ${t}`,r=new Me(i);return(o=[])=>{let s=$T();if(!s||s.injector.get(CN,!1)){const a=[...e,...o,{provide:r,useValue:!0}];n?n(a):function A$(n){if(dl&&!dl.get(CN,!1))throw new J(400,!1);dl=n;const t=n.get(SN);(function TN(n){const t=n.get(hN,null);t&&t.forEach(e=>e())})(n)}(function MN(n=[],t){return Dr.create({name:t,providers:[{provide:jw,useValue:"platform"},{provide:HT,useValue:new Set([()=>dl=null])},...n]})}(a,i))}return function N$(n){const t=$T();if(!t)throw new J(401,!1);return t}()}}function $T(){return dl?.get(SN)??null}let SN=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const r=function xN(n,t){let e;return e="noop"===n?new E$:("zone.js"===n?void 0:n)||new Yt(t),e}(i?.ngZone,function EN(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:Yt,useValue:r}];return r.run(()=>{const s=Dr.create({providers:o,parent:this.injector,name:e.moduleType.name}),a=e.create(s),l=a.injector.get(wd,null);if(!l)throw new J(402,!1);return r.runOutsideAngular(()=>{const c=r.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{T_(this._modules,a),c.unsubscribe()})}),function IN(n,t,e){try{const i=e();return ep(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(l,r,()=>{const c=a.injector.get(b_);return c.runInitializers(),c.donePromise.then(()=>(function ek(n){zr(n,"Expected localeId to be defined"),"string"==typeof n&&(XA=n.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Ls,Fd)||Fd),this._moduleDoBootstrap(a),a))})})}bootstrapModule(e,i=[]){const r=ON({},i);return function I$(n,t,e){const i=new wT(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(e){const i=e.injector.get(Ac);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new J(-403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new J(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(HT,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(e){return new(e||n)(F(Dr))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function ON(n,t){return Array.isArray(t)?t.reduce(ON,n):{...n,...t}}let Ac=(()=>{class n{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(e,i,r){this._zone=e,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new Ee(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Ee(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Yt.assertNotInAngularZone(),FT(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{Yt.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=Ts(o,s.pipe(function my(){return n=>dc()(function py(n,t){return function(i){let r;if(r="function"==typeof n?n:function(){return n},"function"==typeof t)return i.lift(new EC(r,t));const o=Object.create(i,SC);return o.source=i,o.subjectFactory=r,o}}(ma)(n))}()))}bootstrap(e,i){const r=e instanceof cO;if(!this._injector.get(b_).done)throw!r&&function id(n){const t=Cn(n)||ir(n)||br(n);return null!==t&&t.standalone}(e),new J(405,false);let s;s=r?e:this._injector.get(Sc).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const a=function O$(n){return n.isBoundToModule}(s)?void 0:this._injector.get(jd),c=s.create(Dr.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(bN,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),T_(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new J(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;T_(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(fN,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>T_(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new J(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(e){return new(e||n)(F(Yt),F(As),F(wd))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function T_(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}let In=(()=>{class n{}return n.__NG_ELEMENT_ID__=R$,n})();function R$(n){return function F$(n,t,e){if(Nf(n)&&!e){const i=po(n.index,t);return new Zf(i,i)}return 47&n.type?new Zf(t[16],t):null}(qi(),le(),16==(16&n))}class LN{constructor(){}supports(t){return s_(t)}create(t){return new H$(t)}}const U$=(n,t)=>t;class H${constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||U$}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){const s=!i||e&&e.currentIndex{s=this._trackByFn(r,a),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,s,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new $$(e,i),o,r),t}_verifyReinsertion(t,e,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new RN),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new RN),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class $${constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class W${constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class RN{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new W$,this.map.set(e,i)),i.add(t)}get(t,e){const r=this.map.get(t);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function FN(n,t,e){const i=n.previousIndex;if(null===i)return i;let r=0;return e&&i{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,e);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new Y$(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(i=>e(t[i],i))}}class Y${constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function zN(){return new fp([new LN])}let fp=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||zN()),deps:[[n,new Bf,new Vf]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new J(901,!1)}}return n.\u0275prov=H({token:n,providedIn:"root",factory:zN}),n})();function VN(){return new pp([new jN])}let pp=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||VN()),deps:[[n,new Bf,new Vf]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(i)return i;throw new J(901,!1)}}return n.\u0275prov=H({token:n,providedIn:"root",factory:VN}),n})();const Q$=DN(null,"core",[]);let Z$=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(e||n)(F(Ac))},n.\u0275mod=et({type:n}),n.\u0275inj=ft({}),n})();let KT=null;function Rs(){return KT}class tW{}const jn=new Me("DocumentToken");let QT=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:function(){return function nW(){return F(BN)}()},providedIn:"platform"}),n})();const iW=new Me("Location Initialized");let BN=(()=>{class n extends QT{constructor(e){super(),this._doc=e,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Rs().getBaseHref(this._doc)}onPopState(e){const i=Rs().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Rs().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){UN()?this._history.pushState(e,i,r):this._location.hash=r}replaceState(e,i,r){UN()?this._history.replaceState(e,i,r):this._location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return n.\u0275fac=function(e){return new(e||n)(F(jn))},n.\u0275prov=H({token:n,factory:function(){return function rW(){return new BN(F(jn))}()},providedIn:"platform"}),n})();function UN(){return!!window.history.pushState}function ZT(n,t){if(0==n.length)return t;if(0==t.length)return n;let e=0;return n.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?n+t.substring(1):1==e?n+t:n+"/"+t}function HN(n){const t=n.match(/#|\?|$/),e=t&&t.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)}function xa(n){return n&&"?"!==n[0]?"?"+n:n}let Nc=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:function(){return st(WN)},providedIn:"root"}),n})();const $N=new Me("appBaseHref");let WN=(()=>{class n extends Nc{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??st(jn).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return ZT(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+xa(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const s=this.prepareExternalUrl(r+xa(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){const s=this.prepareExternalUrl(r+xa(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return n.\u0275fac=function(e){return new(e||n)(F(QT),F($N,8))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),oW=(()=>{class n extends Nc{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=ZT(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+xa(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+xa(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return n.\u0275fac=function(e){return new(e||n)(F(QT),F($N,8))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})(),JT=(()=>{class n{constructor(e){this._subject=new Q,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function lW(n){if(new RegExp("^(https?:)?//").test(n)){const[,e]=n.split(/\/\/[^\/]+/);return e}return n}(HN(GN(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+xa(i))}normalize(e){return n.stripTrailingSlash(function aW(n,t){return n&&new RegExp(`^${n}([/;?#]|$)`).test(t)?t.substring(n.length):t}(this._basePath,GN(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+xa(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+xa(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return n.normalizeQueryParams=xa,n.joinWithSlash=ZT,n.stripTrailingSlash=HN,n.\u0275fac=function(e){return new(e||n)(F(Nc))},n.\u0275prov=H({token:n,factory:function(){return function sW(){return new JT(F(Nc))}()},providedIn:"root"}),n})();function GN(n){return n.replace(/\/index.html$/,"")}function t2(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}const lD=/\s+/,n2=[];let Qn=(()=>{class n{constructor(e,i,r,o){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this.initialClasses=n2,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(lD):n2}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(lD):e}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const i of e)this._updateState(i,!0);else if(null!=e)for(const i of Object.keys(e))this._updateState(i,Boolean(e[i]));this._applyStateDiff()}_updateState(e,i){const r=this.stateMap.get(e);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(lD).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return n.\u0275fac=function(e){return new(e||n)(I(fp),I(pp),I(Dt),I(ar))},n.\u0275dir=we({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),n})();class GW{constructor(t,e,i,r){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Er=(()=>{class n{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new GW(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),s2(a,r)}});for(let r=0,o=i.length;r{s2(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(I(Gr),I(Ro),I(fp))},n.\u0275dir=we({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function s2(n,t){n.context.$implicit=t.item}let zt=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new qW,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){a2("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){a2("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(I(Gr),I(Ro))},n.\u0275dir=we({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class qW{constructor(){this.$implicit=null,this.ngIf=null}}function a2(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${bn(t)}'.`)}class cD{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let Pc=(()=>{class n{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const i of this._defaultViews)i.enforceState(e)}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=we({type:n,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),n})(),yp=(()=>{class n{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new cD(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return n.\u0275fac=function(e){return new(e||n)(I(Gr),I(Ro),I(Pc,9))},n.\u0275dir=we({type:n,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),n})(),_p=(()=>{class n{constructor(e,i,r){r._addDefault(new cD(e,i))}}return n.\u0275fac=function(e){return new(e||n)(I(Gr),I(Ro),I(Pc,9))},n.\u0275dir=we({type:n,selectors:[["","ngSwitchDefault",""]],standalone:!0}),n})(),Ai=(()=>{class n{constructor(e,i,r){this._ngEl=e,this._differs=i,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){const[r,o]=e.split("."),s=-1===r.indexOf("-")?void 0:Ur.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,r,s)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}}return n.\u0275fac=function(e){return new(e||n)(I(Dt),I(pp),I(ar))},n.\u0275dir=we({type:n,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),n})(),qr=(()=>{class n{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:o,ngTemplateOutletInjector:s}=this;this._viewRef=i.createEmbeddedView(r,o,s?{injector:s}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return n.\u0275fac=function(e){return new(e||n)(I(Gr))},n.\u0275dir=we({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Gi]}),n})();function ps(n,t){return new J(2100,!1)}class QW{createSubscription(t,e){return t.subscribe({next:e,error:i=>{throw i}})}dispose(t){t.unsubscribe()}}class ZW{createSubscription(t,e){return t.then(e,i=>{throw i})}dispose(t){}}const JW=new ZW,XW=new QW;let L_=(()=>{class n{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(ep(e))return JW;if(aA(e))return XW;throw ps()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(I(In,16))},n.\u0275pipe=Hn({name:"async",type:n,pure:!1,standalone:!0}),n})(),uD=(()=>{class n{transform(e){if(null==e)return null;if("string"!=typeof e)throw ps();return e.toLowerCase()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=Hn({name:"lowercase",type:n,pure:!0,standalone:!0}),n})();const eG=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFB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2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\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EA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let c2=(()=>{class n{transform(e){if(null==e)return null;if("string"!=typeof e)throw ps();return e.replace(eG,i=>i[0].toUpperCase()+i.slice(1).toLowerCase())}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=Hn({name:"titlecase",type:n,pure:!0,standalone:!0}),n})(),gn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({}),n})();const d2="browser";let vG=(()=>{class n{}return n.\u0275prov=H({token:n,providedIn:"root",factory:()=>new bG(F(jn),window)}),n})();class bG{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function CG(n,t){const e=n.getElementById(t)||n.getElementsByName(t)[0];if(e)return e;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow)){const i=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=h2(this.window.history)||h2(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function h2(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}class f2{}class qG extends tW{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class mD extends qG{static makeCurrent(){!function eW(n){KT||(KT=n)}(new mD)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function KG(){return bp=bp||document.querySelector("base"),bp?bp.getAttribute("href"):null}();return null==e?null:function QG(n){F_=F_||document.createElement("a"),F_.setAttribute("href",n);const t=F_.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){bp=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return t2(document.cookie,t)}}let F_,bp=null;const v2=new Me("TRANSITION_ID"),JG=[{provide:dp,useFactory:function ZG(n,t,e){return()=>{e.get(b_).donePromise.then(()=>{const i=Rs(),r=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let o=0;o{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();const j_=new Me("EventManagerPlugins");let z_=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>r.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}addGlobalEventListener(e,i,r){return this._findPluginFor(i).addGlobalEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const r=this._plugins;for(let o=0;o{class n{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),i.add(r))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})(),Cp=(()=>{class n extends C2{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,r){e.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,r.push(i.appendChild(s))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(w2),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(e,r,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(w2))}}return n.\u0275fac=function(e){return new(e||n)(F(jn))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();function w2(n){Rs().remove(n)}const gD={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},yD=/%COMP%/g;function _D(n,t){return t.flat(100).map(e=>e.replace(yD,n))}function M2(n){return t=>{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let V_=(()=>{class n{constructor(e,i,r){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new vD(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case oe.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new sY(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(e),r}case oe.ShadowDom:return new aY(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const r=_D(i.id,i.styles);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(F(z_),F(Cp),F(hp))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();class vD{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(gD[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(E2(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(E2(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;const o=gD[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const r=gD[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(Ur.DashCase|Ur.Important)?t.style.setProperty(e,i,r&Ur.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&Ur.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,M2(i)):this.eventManager.addEventListener(t,e,M2(i))}}function E2(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class sY extends vD{constructor(t,e,i,r){super(t),this.component=i;const o=_D(r+"-"+i.id,i.styles);e.addStyles(o),this.contentAttr=function iY(n){return"_ngcontent-%COMP%".replace(yD,n)}(r+"-"+i.id),this.hostAttr=function rY(n){return"_nghost-%COMP%".replace(yD,n)}(r+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}class aY extends vD{constructor(t,e,i,r){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=_D(r.id,r.styles);for(let s=0;s{class n extends b2{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return n.\u0275fac=function(e){return new(e||n)(F(jn))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();const x2=["alt","control","meta","shift"],cY={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},uY={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let dY=(()=>{class n extends b2{constructor(e){super(e)}supports(e){return null!=n.parseEventName(e)}addEventListener(e,i,r){const o=n.parseEventName(i),s=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Rs().onAndCancel(e,o.domEventName,s))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=n._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),x2.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=cY[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),x2.forEach(s=>{s!==r&&(0,uY[s])(e)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{n.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return n.\u0275fac=function(e){return new(e||n)(F(jn))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();const O2=[{provide:C_,useValue:d2},{provide:hN,useValue:function hY(){mD.makeCurrent()},multi:!0},{provide:jn,useFactory:function pY(){return function s8(n){Ow=n}(document),document},deps:[]}],mY=DN(Q$,"browser",O2),A2=new Me(""),k2=[{provide:w_,useClass:class XG{addToWindow(t){mn.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},mn.getAllAngularTestabilities=()=>t.getAllTestabilities(),mn.getAllAngularRootElements=()=>t.getAllRootElements(),mn.frameworkStabilizers||(mn.frameworkStabilizers=[]),mn.frameworkStabilizers.push(i=>{const r=mn.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(l){s=s||l,o--,0==o&&i(s)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,e,i){return null==e?null:t.getTestability(e)??(i?Rs().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:bN,useClass:VT,deps:[Yt,BT,w_]},{provide:VT,useClass:VT,deps:[Yt,BT,w_]}],N2=[{provide:jw,useValue:"root"},{provide:wd,useFactory:function fY(){return new wd},deps:[]},{provide:j_,useClass:lY,multi:!0,deps:[jn,Yt,C_]},{provide:j_,useClass:dY,multi:!0,deps:[jn]},{provide:V_,useClass:V_,deps:[z_,Cp,hp]},{provide:Kf,useExisting:V_},{provide:C2,useExisting:Cp},{provide:Cp,useClass:Cp,deps:[jn]},{provide:z_,useClass:z_,deps:[j_,Yt]},{provide:f2,useClass:eY,deps:[]},[]];let P2=(()=>{class n{constructor(e){}static withServerTransition(e){return{ngModule:n,providers:[{provide:hp,useValue:e.appId},{provide:v2,useExisting:hp},JG]}}}return n.\u0275fac=function(e){return new(e||n)(F(A2,12))},n.\u0275mod=et({type:n}),n.\u0275inj=ft({providers:[...N2,...k2],imports:[gn,Z$]}),n})(),L2=(()=>{class n{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n.\u0275fac=function(e){return new(e||n)(F(jn))},n.\u0275prov=H({token:n,factory:function(e){let i=null;return i=e?new e:function yY(){return new L2(F(jn))}(),i},providedIn:"root"}),n})();typeof window<"u"&&window;let B_=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:function(e){let i=null;return i=e?new(e||n):F(wD),i},providedIn:"root"}),n})(),wD=(()=>{class n extends B_{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case Rn.NONE:return i;case Rn.HTML:return Os(i,"HTML")?go(i):ZI(this._doc,String(i)).toString();case Rn.STYLE:return Os(i,"Style")?go(i):i;case Rn.SCRIPT:if(Os(i,"Script"))return go(i);throw new Error("unsafe value used in a script context");case Rn.URL:return Os(i,"URL")?go(i):Yy(String(i));case Rn.RESOURCE_URL:if(Os(i,"ResourceURL"))return go(i);throw new Error(`unsafe value used in a resource URL context (see ${Yu})`);default:throw new Error(`Unexpected SecurityContext ${e} (see ${Yu})`)}}bypassSecurityTrustHtml(e){return function f8(n){return new a8(n)}(e)}bypassSecurityTrustStyle(e){return function p8(n){return new l8(n)}(e)}bypassSecurityTrustScript(e){return function m8(n){return new c8(n)}(e)}bypassSecurityTrustUrl(e){return function g8(n){return new u8(n)}(e)}bypassSecurityTrustResourceUrl(e){return function y8(n){return new d8(n)}(e)}}return n.\u0275fac=function(e){return new(e||n)(F(jn))},n.\u0275prov=H({token:n,factory:function(e){let i=null;return i=e?new e:function DY(n){return new wD(n.get(jn))}(F(Dr)),i},providedIn:"root"}),n})();function Re(...n){let t=n[n.length-1];return Di(t)?(n.pop(),Gt(n,t)):tl(n)}function fl(n,t){return ri(n,t,1)}function Tn(n,t){return function(i){return i.lift(new MY(n,t))}}class MY{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new SY(t,this.predicate,this.thisArg))}}class SY extends re{constructor(t,e,i){super(t),this.predicate=e,this.thisArg=i,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(t)}}class U_{}class TD{}class Kr{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),o=r.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let i=t[e];const r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof Kr?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new Kr;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Kr?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=t.value;if(o){let s=this.headers.get(e);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class EY{encodeKey(t){return j2(t)}encodeValue(t){return j2(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const IY=/%(\d[a-f0-9])/gi,OY={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function j2(n){return encodeURIComponent(n).replace(IY,(t,e)=>OY[e]??t)}function H_(n){return`${n}`}class ms{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new EY,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function xY(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e],r=Array.isArray(i)?i.map(H_):[H_(i)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new ms({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(H_(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const r=i.indexOf(H_(t.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class AY{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function z2(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function V2(n){return typeof Blob<"u"&&n instanceof Blob}function B2(n){return typeof FormData<"u"&&n instanceof FormData}class Oa{constructor(t,e,i,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function kY(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new Kr),this.context||(this.context=new AY),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":ad.set(h,t.setHeaders[h]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((d,h)=>d.set(h,t.setParams[h]),c)),new Oa(e,i,o,{params:c,headers:l,context:u,reportProgress:a,responseType:r,withCredentials:s})}}var Nn=(()=>((Nn=Nn||{})[Nn.Sent=0]="Sent",Nn[Nn.UploadProgress=1]="UploadProgress",Nn[Nn.ResponseHeader=2]="ResponseHeader",Nn[Nn.DownloadProgress=3]="DownloadProgress",Nn[Nn.Response=4]="Response",Nn[Nn.User=5]="User",Nn))();class DD{constructor(t,e=200,i="OK"){this.headers=t.headers||new Kr,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class MD extends DD{constructor(t={}){super(t),this.type=Nn.ResponseHeader}clone(t={}){return new MD({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class $_ extends DD{constructor(t={}){super(t),this.type=Nn.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new $_({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class U2 extends DD{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function SD(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let Ki=(()=>{class n{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof Oa)o=e;else{let l,c;l=r.headers instanceof Kr?r.headers:new Kr(r.headers),r.params&&(c=r.params instanceof ms?r.params:new ms({fromObject:r.params})),o=new Oa(e,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const s=Re(o).pipe(fl(l=>this.handler.handle(l)));if(e instanceof Oa||"events"===r.observe)return s;const a=s.pipe(Tn(l=>l instanceof $_));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(fe(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(fe(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(fe(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(fe(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new ms).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,SD(r,i))}post(e,i,r={}){return this.request("POST",e,SD(r,i))}put(e,i,r={}){return this.request("PUT",e,SD(r,i))}}return n.\u0275fac=function(e){return new(e||n)(F(U_))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();function H2(n,t){return t(n)}function PY(n,t){return(e,i)=>t.intercept(e,{handle:r=>n(r,i)})}const RY=new Me("HTTP_INTERCEPTORS"),wp=new Me("HTTP_INTERCEPTOR_FNS");function FY(){let n=null;return(t,e)=>(null===n&&(n=(st(RY,{optional:!0})??[]).reduceRight(PY,H2)),n(t,e))}let $2=(()=>{class n extends U_{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=Array.from(new Set(this.injector.get(wp)));this.chain=i.reduceRight((r,o)=>function LY(n,t,e){return(i,r)=>e.runInContext(()=>t(i,o=>n(o,r)))}(r,o,this.injector),H2)}return this.chain(e,i=>this.backend.handle(i))}}return n.\u0275fac=function(e){return new(e||n)(F(TD),F(As))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();const BY=/^\)\]\}',?\n/;let G2=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Ee(i=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((f,p)=>r.setRequestHeader(f,p.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const f=e.detectContentTypeHeader();null!==f&&r.setRequestHeader("Content-Type",f)}if(e.responseType){const f=e.responseType.toLowerCase();r.responseType="json"!==f?f:"text"}const o=e.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const f=r.statusText||"OK",p=new Kr(r.getAllResponseHeaders()),m=function UY(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new MD({headers:p,status:r.status,statusText:f,url:m}),s},l=()=>{let{headers:f,status:p,statusText:m,url:g}=a(),y=null;204!==p&&(y=typeof r.response>"u"?r.responseText:r.response),0===p&&(p=y?200:0);let w=p>=200&&p<300;if("json"===e.responseType&&"string"==typeof y){const T=y;y=y.replace(BY,"");try{y=""!==y?JSON.parse(y):null}catch(v){y=T,w&&(w=!1,y={error:v,text:y})}}w?(i.next(new $_({body:y,headers:f,status:p,statusText:m,url:g||void 0})),i.complete()):i.error(new U2({error:y,headers:f,status:p,statusText:m,url:g||void 0}))},c=f=>{const{url:p}=a(),m=new U2({error:f,status:r.status||0,statusText:r.statusText||"Unknown Error",url:p||void 0});i.error(m)};let u=!1;const d=f=>{u||(i.next(a()),u=!0);let p={type:Nn.DownloadProgress,loaded:f.loaded};f.lengthComputable&&(p.total=f.total),"text"===e.responseType&&r.responseText&&(p.partialText=r.responseText),i.next(p)},h=f=>{let p={type:Nn.UploadProgress,loaded:f.loaded};f.lengthComputable&&(p.total=f.total),i.next(p)};return r.addEventListener("load",l),r.addEventListener("error",c),r.addEventListener("timeout",c),r.addEventListener("abort",c),e.reportProgress&&(r.addEventListener("progress",d),null!==o&&r.upload&&r.upload.addEventListener("progress",h)),r.send(o),i.next({type:Nn.Sent}),()=>{r.removeEventListener("error",c),r.removeEventListener("abort",c),r.removeEventListener("load",l),r.removeEventListener("timeout",c),e.reportProgress&&(r.removeEventListener("progress",d),null!==o&&r.upload&&r.upload.removeEventListener("progress",h)),r.readyState!==r.DONE&&r.abort()}})}}return n.\u0275fac=function(e){return new(e||n)(F(f2))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();const ED=new Me("XSRF_ENABLED"),Y2="XSRF-TOKEN",q2=new Me("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Y2}),K2="X-XSRF-TOKEN",Q2=new Me("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>K2});class Z2{}let HY=(()=>{class n{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=t2(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return n.\u0275fac=function(e){return new(e||n)(F(jn),F(C_),F(q2))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();function $Y(n,t){const e=n.url.toLowerCase();if(!st(ED)||"GET"===n.method||"HEAD"===n.method||e.startsWith("http://")||e.startsWith("https://"))return t(n);const i=st(Z2).getToken(),r=st(Q2);return null!=i&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,i)})),t(n)}var pi=(()=>((pi=pi||{})[pi.Interceptors=0]="Interceptors",pi[pi.LegacyInterceptors=1]="LegacyInterceptors",pi[pi.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",pi[pi.NoXsrfProtection=3]="NoXsrfProtection",pi[pi.JsonpSupport=4]="JsonpSupport",pi[pi.RequestsMadeViaParent=5]="RequestsMadeViaParent",pi))();function Hd(n,t){return{\u0275kind:n,\u0275providers:t}}function WY(...n){const t=[Ki,G2,$2,{provide:U_,useExisting:$2},{provide:TD,useExisting:G2},{provide:wp,useValue:$Y,multi:!0},{provide:ED,useValue:!0},{provide:Z2,useClass:HY}];for(const e of n)t.push(...e.\u0275providers);return function k8(n){return{\u0275providers:n}}(t)}const J2=new Me("LEGACY_INTERCEPTOR_FN");function YY({cookieName:n,headerName:t}){const e=[];return void 0!==n&&e.push({provide:q2,useValue:n}),void 0!==t&&e.push({provide:Q2,useValue:t}),Hd(pi.CustomXsrfConfiguration,e)}let xD=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({providers:[WY(Hd(pi.LegacyInterceptors,[{provide:J2,useFactory:FY},{provide:wp,useExisting:J2,multi:!0}]),YY({cookieName:Y2,headerName:K2}))]}),n})();class qY extends ce{constructor(t,e){super()}schedule(t,e=0){return this}}class W_ extends qY{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const i=this.id,r=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(r,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this}requestAsyncId(t,e,i=0){return setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,i=!1;try{this.work(t)}catch(o){i=!0,r=!!o&&o||new Error(o)}if(i)return this.unsubscribe(),r}_unsubscribe(){const t=this.id,e=this.scheduler,i=e.actions,r=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&i.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}let X2=(()=>{class n{constructor(e,i=n.now){this.SchedulerAction=e,this.now=i}schedule(e,i=0,r){return new this.SchedulerAction(this,e).schedule(r,i)}}return n.now=()=>Date.now(),n})();class gs extends X2{constructor(t,e=X2.now){super(t,()=>gs.delegate&&gs.delegate!==this?gs.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,i){return gs.delegate&&gs.delegate!==this?gs.delegate.schedule(t,e,i):super.schedule(t,e,i)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let i;this.active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const ID=new class QY extends gs{}(class KY extends W_{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(t,e,i):t.flush(this)}}),ZY=ID,Fs=new Ee(n=>n.complete());function G_(n){return n?function JY(n){return new Ee(t=>n.schedule(()=>t.complete()))}(n):Fs}function vo(n,t){return new Ee(t?e=>t.schedule(XY,0,{error:n,subscriber:e}):e=>e.error(n))}function XY({error:n,subscriber:t}){t.error(n)}class zo{constructor(t,e,i){this.kind=t,this.value=e,this.error=i,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,i){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}accept(t,e,i){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,i)}toObservable(){switch(this.kind){case"N":return Re(this.value);case"E":return vo(this.error);case"C":return G_()}throw new Error("unexpected notification kind value")}static createNext(t){return typeof t<"u"?new zo("N",t):zo.undefinedValueNotification}static createError(t){return new zo("E",void 0,t)}static createComplete(){return zo.completeNotification}}zo.completeNotification=new zo("C"),zo.undefinedValueNotification=new zo("N",void 0);class tq{constructor(t,e=0){this.scheduler=t,this.delay=e}call(t,e){return e.subscribe(new Y_(t,this.scheduler,this.delay))}}class Y_ extends re{constructor(t,e,i=0){super(t),this.scheduler=e,this.delay=i}static dispatch(t){const{notification:e,destination:i}=t;e.observe(i),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(Y_.dispatch,this.delay,new nq(t,this.destination)))}_next(t){this.scheduleMessage(zo.createNext(t))}_error(t){this.scheduleMessage(zo.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(zo.createComplete()),this.unsubscribe()}}class nq{constructor(t,e){this.notification=t,this.destination=e}}class q_ extends ue{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new iq(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,o=i.length;let s;if(this.closed)throw new ve;if(this.isStopped||this.hasError?s=ce.EMPTY:(this.observers.push(t),s=new Ze(this,t)),r&&t.add(t=new Y_(t,r)),e)for(let a=0;ae&&(s=Math.max(s,o-e)),s>0&&r.splice(0,s),r}}class iq{constructor(t,e){this.time=t,this.value=e}}function li(n,t){return"function"==typeof t?e=>e.pipe(li((i,r)=>Et(n(i,r)).pipe(fe((o,s)=>t(i,o,r,s))))):e=>e.lift(new rq(n))}class rq{constructor(t){this.project=t}call(t,e){return e.subscribe(new oq(t,this.project))}}class oq extends ts{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(r){return void this.destination.error(r)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const i=new Wn(this),r=this.destination;r.add(i),this.innerSubscription=uc(t,i),this.innerSubscription!==i&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;(!t||t.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}const K_={schedule(n,t){const e=setTimeout(n,t);return()=>clearTimeout(e)},scheduleBeforeRender(n){if(typeof window>"u")return K_.schedule(n,0);if(typeof window.requestAnimationFrame>"u")return K_.schedule(n,16);const t=window.requestAnimationFrame(n);return()=>window.cancelAnimationFrame(t)}};let OD;function pq(n,t,e){let i=e;return function aq(n){return!!n&&n.nodeType===Node.ELEMENT_NODE}(n)&&t.some((r,o)=>!("*"===r||!function cq(n,t){if(!OD){const e=Element.prototype;OD=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return n.nodeType===Node.ELEMENT_NODE&&OD.call(n,t)}(n,r)||(i=o,0))),i}class gq{constructor(t,e){this.componentFactory=e.get(Sc).resolveComponentFactory(t)}create(t){return new yq(this.componentFactory,t)}}class yq{constructor(t,e){this.componentFactory=t,this.injector=e,this.eventEmitters=new q_(1),this.events=this.eventEmitters.pipe(li(i=>Ts(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(Yt),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=K_.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,e){this.runInZone(()=>{null!==this.componentRef?function uq(n,t){return n===t||n!=n&&t!=t}(e,this.getInputValue(t))&&(void 0!==e||!this.unchangedInputs.has(t))||(this.recordInputChange(t,e),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=e,this.scheduleDetectChanges()):this.initialInputValues.set(t,e)})}initializeComponent(t){const e=Dr.create({providers:[],parent:this.injector}),i=function fq(n,t){const e=n.childNodes,i=t.map(()=>[]);let r=-1;t.some((o,s)=>"*"===o&&(r=s,!0));for(let o=0,s=e.length;o{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t))}),this.initialInputValues.clear()}initializeOutputs(t){const e=this.componentFactory.outputs.map(({propName:i,templateName:r})=>t.instance[i].pipe(fe(s=>({name:r,value:s}))));this.eventEmitters.next(e)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const e=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(e)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=K_.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,e){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const i=this.inputChanges[t];if(i)return void(i.currentValue=e);const r=this.unchangedInputs.has(t),o=r?void 0:this.getInputValue(t);this.inputChanges[t]=new wx(o,e,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class _q extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function Q_(n,t){return new Ee(e=>{const i=n.length;if(0===i)return void e.complete();const r=new Array(i);let o=0,s=0;for(let a=0;a{c||(c=!0,s++),r[a]=u},error:u=>e.error(u),complete:()=>{o++,(o===i||!c)&&(s===i&&e.next(t?t.reduce((u,d,h)=>(u[d]=r[h],u),{}):r),e.complete())}}))}})}let eP=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(I(ar),I(Dt))},n.\u0275dir=we({type:n}),n})(),Lc=(()=>{class n extends eP{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Fi(n)))(i||n)}}(),n.\u0275dir=we({type:n,features:[wn]}),n})();const Qi=new Me("NgValueAccessor"),wq={provide:Qi,useExisting:Ft(()=>pl),multi:!0},Dq=new Me("CompositionEventMode");let pl=(()=>{class n extends eP{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Tq(){const n=Rs()?Rs().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(I(ar),I(Dt),I(Dq,8))},n.\u0275dir=we({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&se("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[Pt([wq]),wn]}),n})();function ml(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function nP(n){return null!=n&&"number"==typeof n.length}const ur=new Me("NgValidators"),gl=new Me("NgAsyncValidators"),Sq=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[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])?)*$/;class $d{static min(t){return function iP(n){return t=>{if(ml(t.value)||ml(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e{if(ml(t.value)||ml(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return function oP(n){return ml(n.value)?{required:!0}:null}(t)}static requiredTrue(t){return function sP(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function aP(n){return ml(n.value)||Sq.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function lP(n){return t=>ml(t.value)||!nP(t.value)?null:t.value.lengthnP(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return function uP(n){if(!n)return Z_;let t,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(ml(i.value))return null;const r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(t)}static nullValidator(t){return null}static compose(t){return gP(t)}static composeAsync(t){return yP(t)}}function Z_(n){return null}function dP(n){return null!=n}function hP(n){return ep(n)?Et(n):n}function fP(n){let t={};return n.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function pP(n,t){return t.map(e=>e(n))}function mP(n){return n.map(t=>function Eq(n){return!n.validate}(t)?t:e=>t.validate(e))}function gP(n){if(!n)return null;const t=n.filter(dP);return 0==t.length?null:function(e){return fP(pP(e,t))}}function AD(n){return null!=n?gP(mP(n)):null}function yP(n){if(!n)return null;const t=n.filter(dP);return 0==t.length?null:function(e){return function bq(...n){if(1===n.length){const t=n[0];if(R(t))return Q_(t,null);if(P(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return Q_(e.map(i=>t[i]),e)}}if("function"==typeof n[n.length-1]){const t=n.pop();return Q_(n=1===n.length&&R(n[0])?n[0]:n,null).pipe(fe(e=>t(...e)))}return Q_(n,null)}(pP(e,t).map(hP)).pipe(fe(fP))}}function kD(n){return null!=n?yP(mP(n)):null}function _P(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function vP(n){return n._rawValidators}function bP(n){return n._rawAsyncValidators}function ND(n){return n?Array.isArray(n)?n:[n]:[]}function J_(n,t){return Array.isArray(n)?n.includes(t):n===t}function CP(n,t){const e=ND(t);return ND(n).forEach(r=>{J_(e,r)||e.push(r)}),e}function wP(n,t){return ND(t).filter(e=>!J_(n,e))}class TP{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=AD(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=kD(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class xr extends TP{get formDirective(){return null}get path(){return null}}class js extends TP{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class DP{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Rc=(()=>{class n extends DP{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(I(js,2))},n.\u0275dir=we({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&Wr("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[wn]}),n})(),Wd=(()=>{class n extends DP{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(I(xr,10))},n.\u0275dir=we({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&Wr("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[wn]}),n})();const Tp="VALID",ev="INVALID",Gd="PENDING",Dp="DISABLED";function FD(n){return(tv(n)?n.validators:n)||null}function jD(n,t){return(tv(t)?t.asyncValidators:n)||null}function tv(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function SP(n,t,e){const i=n.controls;if(!(t?Object.keys(i):i).length)throw new J(1e3,"");if(!i[e])throw new J(1001,"")}function EP(n,t,e){n._forEachChild((i,r)=>{if(void 0===e[r])throw new J(1002,"")})}class nv{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Tp}get invalid(){return this.status===ev}get pending(){return this.status==Gd}get disabled(){return this.status===Dp}get enabled(){return this.status!==Dp}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(CP(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(CP(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(wP(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(wP(t,this._rawAsyncValidators))}hasValidator(t){return J_(this._rawValidators,t)}hasAsyncValidator(t){return J_(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Gd,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Dp,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Tp,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Tp||this.status===Gd)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Dp:Tp}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Gd,this._hasOwnPendingAsyncValidator=!0;const e=hP(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Q,this.statusChanges=new Q}_calculateStatus(){return this._allControlsDisabled()?Dp:this.errors?ev:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Gd)?Gd:this._anyControlsHaveStatus(ev)?ev:Tp}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){tv(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function Pq(n){return Array.isArray(n)?AD(n):n||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function Lq(n){return Array.isArray(n)?kD(n):n||null}(this._rawAsyncValidators)}}class Yd extends nv{constructor(t,e,i){super(FD(e),jD(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){EP(this,0,t),Object.keys(t).forEach(i=>{SP(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{const r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}class xP extends Yd{}const qd=new Me("CallSetDisabledState",{providedIn:"root",factory:()=>iv}),iv="always";function rv(n,t){return[...t.path,n]}function Mp(n,t,e=iv){zD(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||"always"===e)&&t.valueAccessor.setDisabledState?.(n.disabled),function Fq(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&IP(n,t)})}(n,t),function zq(n,t){const e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function jq(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&IP(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function Rq(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function ov(n,t,e=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),av(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function sv(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function zD(n,t){const e=vP(n);null!==t.validator?n.setValidators(_P(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const i=bP(n);null!==t.asyncValidator?n.setAsyncValidators(_P(i,t.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();sv(t._rawValidators,r),sv(t._rawAsyncValidators,r)}function av(n,t){let e=!1;if(null!==n){if(null!==t.validator){const r=vP(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==t.validator);o.length!==r.length&&(e=!0,n.setValidators(o))}}if(null!==t.asyncValidator){const r=bP(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==t.asyncValidator);o.length!==r.length&&(e=!0,n.setAsyncValidators(o))}}}const i=()=>{};return sv(t._rawValidators,i),sv(t._rawAsyncValidators,i),e}function IP(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function BD(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function UD(n,t){if(!t)return null;let e,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===pl?e=o:function Uq(n){return Object.getPrototypeOf(n.constructor)===Lc}(o)?i=o:r=o}),r||i||e||null}function kP(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function NP(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const Kd=class extends nv{constructor(t=null,e,i){super(FD(e),jD(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),tv(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=NP(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){kP(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){kP(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){NP(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},Yq={provide:js,useExisting:Ft(()=>Ep)},RP=(()=>Promise.resolve())();let Ep=(()=>{class n extends js{constructor(e,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new Kd,this._registered=!1,this.update=new Q,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=UD(0,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),BD(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Mp(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){RP.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=0!==i&&function Ud(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}(i);RP.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?rv(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(I(xr,9),I(ur,10),I(gl,10),I(Qi,10),I(In,8),I(qd,8))},n.\u0275dir=we({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Pt([Yq]),wn,Gi]}),n})(),Qd=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=we({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})(),jP=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({}),n})();const $D=new Me("NgModelWithFormControlWarning"),Xq={provide:xr,useExisting:Ft(()=>Aa)};let Aa=(()=>{class n extends xr{constructor(e,i,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Q,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(av(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Mp(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){ov(e.control||null,e,!1),function Hq(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,function AP(n,t){n._syncPendingControls(),t.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,r=this.form.get(e.path);i!==r&&(ov(i||null,e),(n=>n instanceof Kd)(r)&&(Mp(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);(function OP(n,t){zD(n,t)})(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function Vq(n,t){return av(n,t)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){zD(this.form,this),this._oldForm&&av(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(I(ur,10),I(gl,10),I(qd,8))},n.\u0275dir=we({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&se("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Pt([Xq]),wn,Gi]}),n})();const nK={provide:js,useExisting:Ft(()=>Fc)};let Fc=(()=>{class n extends js{set isDisabled(e){}constructor(e,i,r,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new Q,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=UD(0,o)}ngOnChanges(e){this._added||this._setUpControl(),BD(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return rv(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(I(xr,13),I(ur,10),I(gl,10),I(Qi,10),I($D,8))},n.\u0275dir=we({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Pt([nK]),wn,Gi]}),n})(),eL=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[jP]}),n})();class tL extends nv{constructor(t,e,i){super(FD(e),jD(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,i={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(t,e={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,i={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){EP(this,0,t),t.forEach((i,r)=>{SP(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((i,r)=>{i.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,i)=>{t(e,i)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}function nL(n){return!!n&&(void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn)}let lv=(()=>{class n{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new n;return e.useNonNullable=!0,e}group(e,i=null){const r=this._reduceControls(e);let o={};return nL(i)?o=i:null!==i&&(o.validators=i.validator,o.asyncValidators=i.asyncValidator),new Yd(r,o)}record(e,i=null){const r=this._reduceControls(e);return new xP(r,i)}control(e,i,r){let o={};return this.useNonNullable?(nL(i)?o=i:(o.validators=i,o.asyncValidators=r),new Kd(e,{...o,nonNullable:!0})):new Kd(e,i,r)}array(e,i,r){const o=e.map(s=>this._createControl(s));return new tL(o,i,r)}_reduceControls(e){const i={};return Object.keys(e).forEach(r=>{i[r]=this._createControl(e[r])}),i}_createControl(e){return e instanceof Kd||e instanceof nv?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),cv=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:qd,useValue:e.callSetDisabledState??iv}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[eL]}),n})(),Zd=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:$D,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:qd,useValue:e.callSetDisabledState??iv}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[eL]}),n})();class iL{}class yK{}const ka="*";function xp(n,t){return{type:7,name:n,definitions:t,options:{}}}function Na(n,t=null){return{type:4,styles:t,timings:n}}function rL(n,t=null){return{type:2,steps:n,options:t}}function mi(n){return{type:6,styles:n,offset:null}}function oL(n,t,e){return{type:0,name:n,styles:t,options:e}}function Pa(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function uv(n,t=null){return{type:8,animation:n,options:t}}function dv(n,t=null){return{type:10,animation:n,options:t}}function sL(n){Promise.resolve().then(n)}class Ip{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){sL(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class aL{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,r=0;const o=this.players.length;0==o?sL(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const t=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function lL(n){return new J(3e3,!1)}function XK(){return typeof window<"u"&&typeof window.document<"u"}function ZD(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function yl(n){switch(n.length){case 0:return new Ip;case 1:return n[0];default:return new aL(n)}}function cL(n,t,e,i,r=new Map,o=new Map){const s=[],a=[];let l=-1,c=null;if(i.forEach(u=>{const d=u.get("offset"),h=d==l,f=h&&c||new Map;u.forEach((p,m)=>{let g=m,y=p;if("offset"!==m)switch(g=t.normalizePropertyName(g,s),y){case"!":y=r.get(m);break;case ka:y=o.get(m);break;default:y=t.normalizeStyleValue(m,g,y,s)}f.set(g,y)}),h||a.push(f),c=f,l=d}),s.length)throw function BK(n){return new J(3502,!1)}();return a}function JD(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&XD(e,"start",n)));break;case"done":n.onDone(()=>i(e&&XD(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&XD(e,"destroy",n)))}}function XD(n,t,e){const o=e1(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,e.totalTime??n.totalTime,!!e.disabled),s=n._data;return null!=s&&(o._data=s),o}function e1(n,t,e,i,r="",o=0,s){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function bo(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function uL(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}let t1=(n,t)=>!1,dL=(n,t,e)=>[],hL=null;function n1(n){const t=n.parentNode||n.host;return t===hL?null:t}(ZD()||typeof Element<"u")&&(XK()?(hL=(()=>document.documentElement)(),t1=(n,t)=>{for(;t;){if(t===n)return!0;t=n1(t)}return!1}):t1=(n,t)=>n.contains(t),dL=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]});let zc=null,fL=!1;const pL=t1,mL=dL;let gL=(()=>{class n{validateStyleProperty(e){return function tQ(n){zc||(zc=function nQ(){return typeof document<"u"?document.body:null}()||{},fL=!!zc.style&&"WebkitAppearance"in zc.style);let t=!0;return zc.style&&!function eQ(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in zc.style,!t&&fL&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in zc.style)),t}(e)}matchesElement(e,i){return!1}containsElement(e,i){return pL(e,i)}getParentElement(e){return n1(e)}query(e,i,r){return mL(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new Ip(r,o)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})(),r1=(()=>{class n{}return n.NOOP=new gL,n})();const o1="ng-enter",hv="ng-leave",fv="ng-trigger",pv=".ng-trigger",_L="ng-animating",s1=".ng-animating";function La(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:a1(parseFloat(t[1]),t[2])}function a1(n,t){return"s"===t?1e3*n:n}function mv(n,t,e){return n.hasOwnProperty("duration")?n:function oQ(n,t,e){let r,o=0,s="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push(lL()),{duration:0,delay:0,easing:""};r=a1(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=a1(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=n;if(!e){let a=!1,l=t.length;r<0&&(t.push(function vK(){return new J(3100,!1)}()),a=!0),o<0&&(t.push(function bK(){return new J(3101,!1)}()),a=!0),a&&t.splice(l,0,lL())}return{duration:r,delay:o,easing:s}}(n,t,e)}function Op(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function vL(n){const t=new Map;return Object.keys(n).forEach(e=>{t.set(e,n[e])}),t}function _l(n,t=new Map,e){if(e)for(let[i,r]of e)t.set(i,r);for(let[i,r]of n)t.set(i,r);return t}function CL(n,t,e){return e?t+":"+e+";":""}function wL(n){let t="";for(let e=0;e{const o=c1(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i}),ZD()&&wL(n))}function Vc(n,t){n.style&&(t.forEach((e,i)=>{const r=c1(i);n.style[r]=""}),ZD()&&wL(n))}function Ap(n){return Array.isArray(n)?1==n.length?n[0]:rL(n):n}const l1=new RegExp("{{\\s*(.+?)\\s*}}","g");function TL(n){let t=[];if("string"==typeof n){let e;for(;e=l1.exec(n);)t.push(e[1]);l1.lastIndex=0}return t}function kp(n,t,e){const i=n.toString(),r=i.replace(l1,(o,s)=>{let a=t[s];return null==a&&(e.push(function wK(n){return new J(3003,!1)}()),a=""),a.toString()});return r==i?n:r}function gv(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const lQ=/-+([a-z0-9])/g;function c1(n){return n.replace(lQ,(...t)=>t[1].toUpperCase())}function cQ(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Co(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw function TK(n){return new J(3004,!1)}()}}function DL(n,t){return window.getComputedStyle(n)[t]}function mQ(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function gQ(n,t,e){if(":"==n[0]){const l=function yQ(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(n,e);if("function"==typeof l)return void t.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function RK(n){return new J(3015,!1)}()),t;const r=i[1],o=i[2],s=i[3];t.push(ML(r,s));"<"==o[0]&&!("*"==r&&"*"==s)&&t.push(ML(s,r))}(i,e,t)):e.push(n),e}const bv=new Set(["true","1"]),Cv=new Set(["false","0"]);function ML(n,t){const e=bv.has(n)||Cv.has(n),i=bv.has(t)||Cv.has(t);return(r,o)=>{let s="*"==n||n==r,a="*"==t||t==o;return!s&&e&&"boolean"==typeof r&&(s=r?bv.has(n):Cv.has(n)),!a&&i&&"boolean"==typeof o&&(a=o?bv.has(t):Cv.has(t)),s&&a}}const _Q=new RegExp("s*:selfs*,?","g");function u1(n,t,e,i){return new vQ(n).build(t,e,i)}class vQ{constructor(t){this._driver=t}build(t,e,i){const r=new wQ(e);return this._resetContextStyleTimingState(r),Co(this,Ap(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push(function MK(){return new J(3006,!1)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(u=>{l.name=u,o.push(this.visitState(l,e))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(function SK(){return new J(3007,!1)}())}),{type:7,name:t.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{TL(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&(gv(o.values()),e.errors.push(function EK(n,t){return new J(3008,!1)}()))}return{type:0,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Co(this,Ap(t.animation),e);return{type:1,matchers:mQ(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Bc(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>Co(this,i,e)),options:Bc(t.options)}}visitGroup(t,e){const i=e.currentTime;let r=0;const o=t.steps.map(s=>{e.currentTime=i;const a=Co(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:o,options:Bc(t.options)}}visitAnimate(t,e){const i=function DQ(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return d1(mv(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=d1(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=mv(e,t);return d1(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:mi({});if(5==o.type)r=this.visitKeyframes(o,e);else{let s=t.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=mi(c)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of r)"string"==typeof a?a===ka?i.push(a):e.errors.push(new J(3002,!1)):i.push(vL(a));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),u=c.get(l);let d=!0;u&&(o!=r&&o>=u.startTime&&r<=u.endTime&&(e.errors.push(function IK(n,t,e,i,r){return new J(3010,!1)}()),d=!1),o=u.startTime),d&&c.set(l,{startTime:o,endTime:r}),e.options&&function aQ(n,t,e){const i=t.params||{},r=TL(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function CK(n){return new J(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function OK(){return new J(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const u=t.steps.map(y=>{const w=this._makeStyleAst(y,e);let T=null!=w.offset?w.offset:function TQ(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(w.styles),v=0;return null!=T&&(o++,v=w.offset=T),l=l||v<0||v>1,a=a||v0&&o{const T=h>0?w==f?1:h*w:s[w],v=T*g;e.currentTime=p+m.delay+v,m.duration=v,this._validateStyleAst(y,e),y.offset=T,i.styles.push(y)}),i}visitReference(t,e){return{type:8,animation:Co(this,Ap(t.animation),e),options:Bc(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Bc(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Bc(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[o,s]=function bQ(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(_Q,"")),n=n.replace(/@\*/g,pv).replace(/@\w+/g,e=>pv+"-"+e.slice(1)).replace(/:animating/g,s1),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,bo(e.collectedStyles,e.currentQuerySelector,new Map);const a=Co(this,Ap(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:Bc(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function PK(){return new J(3013,!1)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:mv(t.timings,e.errors,!0);return{type:12,animation:Co(this,Ap(t.animation),e),timings:i,options:null}}}class wQ{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Bc(n){return n?(n=Op(n)).params&&(n.params=function CQ(n){return n?Op(n):null}(n.params)):n={},n}function d1(n,t,e){return{duration:n,delay:t,easing:e}}function h1(n,t,e,i,r,o,s=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class wv{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const EQ=new RegExp(":enter","g"),IQ=new RegExp(":leave","g");function f1(n,t,e,i,r,o=new Map,s=new Map,a,l,c=[]){return(new OQ).buildKeyframes(n,t,e,i,r,o,s,a,l,c)}class OQ{buildKeyframes(t,e,i,r,o,s,a,l,c,u=[]){c=c||new wv;const d=new p1(t,e,c,r,o,u,[]);d.options=l;const h=l.delay?La(l.delay):0;d.currentTimeline.delayNextStep(h),d.currentTimeline.setStyles([s],null,d.errors,l),Co(this,i,d);const f=d.timelines.filter(p=>p.containsAnimation());if(f.length&&a.size){let p;for(let m=f.length-1;m>=0;m--){const g=f[m];if(g.element===e){p=g;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,d.errors,l)}return f.length?f.map(p=>p.buildKeyframes()):[h1(e,[],[],[],0,h,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(const r of t){const o=r?.delay;if(o){const s="number"==typeof o?o:La(kp(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime;const s=null!=i.duration?La(i.duration):null,a=null!=i.delay?La(i.delay):null;return 0!==s&&t.forEach(l=>{const c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),Co(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let r=e;const o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Tv);const s=La(o.delay);r.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>Co(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let r=e.currentTimeline.currentTime;const o=t.options&&t.options.delay?La(t.options.delay):0;t.steps.forEach(s=>{const a=e.createSubContext(t.options);o&&a.delayNextStep(o),Co(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return mv(e.params?kp(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,t.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?La(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Tv);let s=i;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,u)=>{e.currentQueryIndex=u;const d=e.createSubContext(t.options,c);o&&d.delayNextStep(o),c===e.element&&(l=d.currentTimeline),Co(this,t.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,r=e.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1);let l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const u=e.currentTimeline;l&&u.delayNextStep(l);const d=u.currentTime;Co(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-d+(r.startTime-i.currentTimeline.startTime)}}const Tv={};class p1{constructor(t,e,i,r,o,s,a,l){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Tv,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Dv(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let r=this.options;null!=i.duration&&(r.duration=La(i.duration)),null!=i.delay&&(r.delay=La(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=kp(o[a],s,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){const r=e||this.element,o=new p1(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=Tv,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},o=new AQ(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,s){let a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(EQ,"."+this._enterClassName)).replace(IQ,"."+this._leaveClassName);let c=this._driver.query(this.element,t,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function LK(n){return new J(3014,!1)}()),a}}class Dv{constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new Dv(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||ka),this._currentKeyframe.set(e,ka);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},s=function kQ(n,t){const e=new Map;let i;return n.forEach(r=>{if("*"===r){i=i||t.keys();for(let o of i)e.set(o,ka)}else _l(r,e)}),e}(t,this._globalTimelineStyles);for(let[a,l]of s){const c=kp(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??ka),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=_l(a,new Map,this._backFill);c.forEach((u,d)=>{"!"===u?t.add(d):u===ka&&e.add(d)}),i||c.set("offset",l/this.duration),r.push(c)});const o=t.size?gv(t.values()):[],s=e.size?gv(e.values()):[];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return h1(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class AQ extends Dv{constructor(t,e,i,r,o,s,a=!1){super(t,e,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],s=i+e,a=e/s,l=_l(t[0]);l.set("offset",0),o.push(l);const c=_l(t[0]);c.set("offset",xL(a)),o.push(c);const u=t.length-1;for(let d=1;d<=u;d++){let h=_l(t[d]);const f=h.get("offset");h.set("offset",xL((e+f*i)/s)),o.push(h)}i=s,e=0,r="",t=o}return h1(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function xL(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}class m1{}const NQ=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class PQ extends m1{normalizePropertyName(t,e){return c1(t)}normalizeStyleValue(t,e,i,r){let o="";const s=i.toString().trim();if(NQ.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function DK(n,t){return new J(3005,!1)}())}return s+o}}function IL(n,t,e,i,r,o,s,a,l,c,u,d,h){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const g1={};class OL{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return function LQ(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){let r=this._stateStyles.get("*");return void 0!==t&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,s,a,l,c,u){const d=[],h=this.ast.options&&this.ast.options.params||g1,p=this.buildStyles(i,a&&a.params||g1,d),m=l&&l.params||g1,g=this.buildStyles(r,m,d),y=new Set,w=new Map,T=new Map,v="void"===r,N={params:RQ(m,h),delay:this.ast.options?.delay},x=u?[]:f1(t,e,this.ast.animation,o,s,p,g,N,c,d);let ae=0;if(x.forEach(Pe=>{ae=Math.max(Pe.duration+Pe.delay,ae)}),d.length)return IL(e,this._triggerName,i,r,v,p,g,[],[],w,T,ae,d);x.forEach(Pe=>{const Ge=Pe.element,Tt=bo(w,Ge,new Set);Pe.preStyleProps.forEach(ut=>Tt.add(ut));const ht=bo(T,Ge,new Set);Pe.postStyleProps.forEach(ut=>ht.add(ut)),Ge!==e&&y.add(Ge)});const Z=gv(y.values());return IL(e,this._triggerName,i,r,v,p,g,x,Z,w,T,ae)}}function RQ(n,t){const e=Op(t);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(e[i]=n[i]);return e}class FQ{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i=new Map,r=Op(this.defaultParams);return Object.keys(t).forEach(o=>{const s=t[o];null!==s&&(r[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=kp(s,r,e));const l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(a,s)})}),i}}class zQ{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new FQ(r.style,r.options&&r.options.params||{},i))}),AL(this.states,"true","1"),AL(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new OL(t,r,this.states))}),this.fallbackTransition=function VQ(n,t,e){return new OL(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(s=>s.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function AL(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}const BQ=new wv;class UQ{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const i=[],o=u1(this._driver,e,i,[]);if(i.length)throw function UK(n){return new J(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,e,i){const r=t.element,o=cL(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const r=[],o=this._animations.get(t);let s;const a=new Map;if(o?(s=f1(this._driver,e,o,o1,hv,new Map,new Map,i,BQ,r),s.forEach(u=>{const d=bo(a,u.element,new Map);u.postStyleProps.forEach(h=>d.set(h,null))})):(r.push(function HK(){return new J(3300,!1)}()),s=[]),r.length)throw function $K(n){return new J(3504,!1)}();a.forEach((u,d)=>{u.forEach((h,f)=>{u.set(f,this._driver.computeStyle(d,f,ka))})});const c=yl(s.map(u=>{const d=a.get(u.element);return this._buildPlayer(u,new Map,d)}));return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function WK(n){return new J(3301,!1)}();return e}listen(t,e,i,r){const o=e1(e,"","","");return JD(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if("register"==i)return void this.register(t,r[0]);if("create"==i)return void this.create(t,e,r[0]||{});const o=this._getPlayer(t);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const kL="ng-animate-queued",y1="ng-animate-disabled",YQ=[],NL={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},qQ={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Vo="__ng_removed";class _1{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function JQ(n){return n??null}(i?t.value:t),i){const o=Op(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const Np="void",v1=new _1(Np);class KQ{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Bo(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw function GK(n,t){return new J(3302,!1)}();if(null==i||0==i.length)throw function YK(n){return new J(3303,!1)}();if(!function XQ(n){return"start"==n||"done"==n}(i))throw function qK(n,t){return new J(3400,!1)}();const o=bo(this._elementListeners,t,[]),s={name:e,phase:i,callback:r};o.push(s);const a=bo(this._engine.statesByElement,t,new Map);return a.has(e)||(Bo(t,fv),Bo(t,fv+"-"+e),a.set(e,v1)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function KK(n){return new J(3401,!1)}();return e}trigger(t,e,i,r=!0){const o=this._getTrigger(e),s=new b1(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(Bo(t,fv),Bo(t,fv+"-"+e),this._engine.statesByElement.set(t,a=new Map));let l=a.get(e);const c=new _1(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=v1),c.value!==Np&&l.value===c.value){if(!function nZ(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r{Vc(t,g),zs(t,y)})}return}const h=bo(this._engine.playersByElement,t,[]);h.forEach(m=>{m.namespaceId==this.id&&m.triggerName==e&&m.queued&&m.destroy()});let f=o.matchTransition(l.value,c.value,t,c.params),p=!1;if(!f){if(!r)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(Bo(t,kL),s.onStart(()=>{Jd(t,kL)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);const g=this._engine.playersByElement.get(t);if(g){let y=g.indexOf(s);y>=0&&g.splice(y,1)}}),this.players.push(s),h.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,pv,!0);i.forEach(r=>{if(r[Vo])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){const o=this._engine.statesByElement.get(t),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const u=this.trigger(t,c,Np,r);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),i&&yl(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const r=new Set;e.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||v1,u=new _1(Np),d=new b1(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let s=t;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{const o=t[Vo];(!o||o===NL)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){Bo(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=e1(o,i.triggerName,i.fromState.value,i.toState.value);l._data=t,JD(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}}class QQ{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new KQ(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(t,e,i,r){if(Mv(e)){const o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!Mv(e))return;const o=e[Vo];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Bo(t,y1)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Jd(t,y1))}removeNode(t,e,i,r){if(Mv(e)){const o=t?this._fetchNamespace(t):null;if(o?o.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),i){const s=this.namespacesByHostElement.get(e);s&&s.id!==t&&s.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,i,r,o){this.collectedLeaveElements.push(e),e[Vo]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return Mv(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,pv,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,s1,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return yl(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[Vo];if(e&&e.setForRemoval){if(t[Vo]=NL,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(y1)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?yl(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw function QK(n){return new J(3402,!1)}()}_flushAnimations(t,e){const i=new wv,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(de=>{u.add(de);const ge=this.driver.query(de,".ng-animate-queued",!0);for(let be=0;be{const be=o1+m++;p.set(ge,be),de.forEach(We=>Bo(We,be))});const g=[],y=new Set,w=new Set;for(let de=0;dey.add(We)):w.add(ge))}const T=new Map,v=RL(h,Array.from(y));v.forEach((de,ge)=>{const be=hv+m++;T.set(ge,be),de.forEach(We=>Bo(We,be))}),t.push(()=>{f.forEach((de,ge)=>{const be=p.get(ge);de.forEach(We=>Jd(We,be))}),v.forEach((de,ge)=>{const be=T.get(ge);de.forEach(We=>Jd(We,be))}),g.forEach(de=>{this.processLeaveNode(de)})});const N=[],x=[];for(let de=this._namespaceList.length-1;de>=0;de--)this._namespaceList[de].drainQueuedTransitions(e).forEach(be=>{const We=be.player,Lt=be.element;if(N.push(We),this.collectedEnterElements.length){const An=Lt[Vo];if(An&&An.setForMove){if(An.previousTriggersValues&&An.previousTriggersValues.has(be.triggerName)){const Qt=An.previousTriggersValues.get(be.triggerName),mt=this.statesByElement.get(be.element);if(mt&&mt.has(be.triggerName)){const Un=mt.get(be.triggerName);Un.value=Qt,mt.set(be.triggerName,Un)}}return void We.destroy()}}const dn=!d||!this.driver.containsElement(d,Lt),Wt=T.get(Lt),On=p.get(Lt),Bt=this._buildInstruction(be,i,On,Wt,dn);if(Bt.errors&&Bt.errors.length)return void x.push(Bt);if(dn)return We.onStart(()=>Vc(Lt,Bt.fromStyles)),We.onDestroy(()=>zs(Lt,Bt.toStyles)),void r.push(We);if(be.isFallbackTransition)return We.onStart(()=>Vc(Lt,Bt.fromStyles)),We.onDestroy(()=>zs(Lt,Bt.toStyles)),void r.push(We);const tr=[];Bt.timelines.forEach(An=>{An.stretchStartingKeyframe=!0,this.disabledNodes.has(An.element)||tr.push(An)}),Bt.timelines=tr,i.append(Lt,Bt.timelines),s.push({instruction:Bt,player:We,element:Lt}),Bt.queriedElements.forEach(An=>bo(a,An,[]).push(We)),Bt.preStyleProps.forEach((An,Qt)=>{if(An.size){let mt=l.get(Qt);mt||l.set(Qt,mt=new Set),An.forEach((Un,Lr)=>mt.add(Lr))}}),Bt.postStyleProps.forEach((An,Qt)=>{let mt=c.get(Qt);mt||c.set(Qt,mt=new Set),An.forEach((Un,Lr)=>mt.add(Lr))})});if(x.length){const de=[];x.forEach(ge=>{de.push(function ZK(n,t){return new J(3505,!1)}())}),N.forEach(ge=>ge.destroy()),this.reportError(de)}const ae=new Map,Z=new Map;s.forEach(de=>{const ge=de.element;i.has(ge)&&(Z.set(ge,ge),this._beforeAnimationBuild(de.player.namespaceId,de.instruction,ae))}),r.forEach(de=>{const ge=de.element;this._getPreviousPlayers(ge,!1,de.namespaceId,de.triggerName,null).forEach(We=>{bo(ae,ge,[]).push(We),We.destroy()})});const Pe=g.filter(de=>jL(de,l,c)),Ge=new Map;LL(Ge,this.driver,w,c,ka).forEach(de=>{jL(de,l,c)&&Pe.push(de)});const ht=new Map;f.forEach((de,ge)=>{LL(ht,this.driver,new Set(de),l,"!")}),Pe.forEach(de=>{const ge=Ge.get(de),be=ht.get(de);Ge.set(de,new Map([...Array.from(ge?.entries()??[]),...Array.from(be?.entries()??[])]))});const ut=[],vn=[],kt={};s.forEach(de=>{const{element:ge,player:be,instruction:We}=de;if(i.has(ge)){if(u.has(ge))return be.onDestroy(()=>zs(ge,We.toStyles)),be.disabled=!0,be.overrideTotalTime(We.totalTime),void r.push(be);let Lt=kt;if(Z.size>1){let Wt=ge;const On=[];for(;Wt=Wt.parentNode;){const Bt=Z.get(Wt);if(Bt){Lt=Bt;break}On.push(Wt)}On.forEach(Bt=>Z.set(Bt,Lt))}const dn=this._buildAnimation(be.namespaceId,We,ae,o,ht,Ge);if(be.setRealPlayer(dn),Lt===kt)ut.push(be);else{const Wt=this.playersByElement.get(Lt);Wt&&Wt.length&&(be.parentPlayer=yl(Wt)),r.push(be)}}else Vc(ge,We.fromStyles),be.onDestroy(()=>zs(ge,We.toStyles)),vn.push(be),u.has(ge)&&r.push(be)}),vn.forEach(de=>{const ge=o.get(de.element);if(ge&&ge.length){const be=yl(ge);de.setRealPlayer(be)}}),r.forEach(de=>{de.parentPlayer?de.syncPlayerEvents(de.parentPlayer):de.destroy()});for(let de=0;de!dn.destroyed);Lt.length?eZ(this,ge,Lt):this.processLeaveNode(ge)}return g.length=0,ut.forEach(de=>{this.players.push(de),de.onDone(()=>{de.destroy();const ge=this.players.indexOf(de);this.players.splice(ge,1)}),de.play()}),ut}elementContainsData(t,e){let i=!1;const r=e[Vo];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let s=[];if(e){const a=this.playersByQueriedElement.get(t);a&&(s=a)}else{const a=this.playersByElement.get(t);if(a){const l=!o||o==Np;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(t,e,i){const o=e.element,s=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,u=c!==o,d=bo(i,c,[]);this._getPreviousPlayers(c,u,s,a,e.toState).forEach(f=>{const p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),d.push(f)})}Vc(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,s){const a=e.triggerName,l=e.element,c=[],u=new Set,d=new Set,h=e.timelines.map(p=>{const m=p.element;u.add(m);const g=m[Vo];if(g&&g.removedBeforeQueried)return new Ip(p.duration,p.delay);const y=m!==l,w=function tZ(n){const t=[];return FL(n,t),t}((i.get(m)||YQ).map(ae=>ae.getRealPlayer())).filter(ae=>!!ae.element&&ae.element===m),T=o.get(m),v=s.get(m),N=cL(0,this._normalizer,0,p.keyframes,T,v),x=this._buildPlayer(p,N,w);if(p.subTimeline&&r&&d.add(m),y){const ae=new b1(t,a,m);ae.setRealPlayer(x),c.push(ae)}return x});c.forEach(p=>{bo(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function ZQ(n,t,e){let i=n.get(t);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&n.delete(t)}return i}(this.playersByQueriedElement,p.element,p))}),u.forEach(p=>Bo(p,_L));const f=yl(h);return f.onDestroy(()=>{u.forEach(p=>Jd(p,_L)),zs(l,e.toStyles)}),d.forEach(p=>{bo(r,p,[]).push(f)}),f}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new Ip(t.duration,t.delay)}}class b1{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new Ip,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>JD(t,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){bo(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Mv(n){return n&&1===n.nodeType}function PL(n,t){const e=n.style.display;return n.style.display=t??"none",e}function LL(n,t,e,i,r){const o=[];e.forEach(l=>o.push(PL(l)));const s=[];i.forEach((l,c)=>{const u=new Map;l.forEach(d=>{const h=t.computeStyle(c,d,r);u.set(d,h),(!h||0==h.length)&&(c[Vo]=qQ,s.push(c))}),n.set(c,u)});let a=0;return e.forEach(l=>PL(l,o[a++])),s}function RL(n,t){const e=new Map;if(n.forEach(a=>e.set(a,[])),0==t.length)return e;const r=new Set(t),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=e.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return t.forEach(a=>{const l=s(a);1!==l&&e.get(l).push(a)}),e}function Bo(n,t){n.classList?.add(t)}function Jd(n,t){n.classList?.remove(t)}function eZ(n,t,e){yl(e).onDone(()=>n.processLeaveNode(t))}function FL(n,t){for(let e=0;er.add(o)):t.set(n,i),e.delete(n),!0}class Sv{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new QQ(t,e,i),this._timelineEngine=new UQ(t,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){const s=t+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],u=u1(this._driver,o,l,[]);if(l.length)throw function VK(n,t){return new J(3404,!1)}();a=function jQ(n,t,e){return new zQ(n,t,e)}(r,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i,r){this._transitionEngine.removeNode(t,e,r||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if("@"==i.charAt(0)){const[o,s]=uL(i);this._timelineEngine.command(o,e,s,r)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if("@"==i.charAt(0)){const[s,a]=uL(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(t,e,i,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let rZ=(()=>{class n{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&zs(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(zs(this._element,this._initialStyles),this._endStyles&&(zs(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Vc(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Vc(this._element,this._endStyles),this._endStyles=null),zs(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function C1(n){let t=null;return n.forEach((e,i)=>{(function oZ(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class zL{constructor(t,e,i,r){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&t.set(r,this._finished?i:DL(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class sZ{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return pL(t,e)}getParentElement(t){return n1(t)}query(t,e,i){return mL(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,u=s.filter(f=>f instanceof zL);(function uQ(n,t){return 0===n||0===t})(i,r)&&u.forEach(f=>{f.currentSnapshot.forEach((p,m)=>c.set(m,p))});let d=function sQ(n){return n.length?n[0]instanceof Map?n:n.map(t=>vL(t)):[]}(e).map(f=>_l(f));d=function dQ(n,t,e){if(e.size&&t.length){let i=t[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;os.set(a,DL(n,a)))}}return t}(t,d,c);const h=function iZ(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=C1(t[0]),t.length>1&&(i=C1(t[t.length-1]))):t instanceof Map&&(e=C1(t)),e||i?new rZ(n,e,i):null}(t,d);return new zL(t,d,l,h)}}let aZ=(()=>{class n extends iL{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:oe.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?rL(e):e;return VL(this._renderer,null,i,"register",[r]),new lZ(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(F(Kf),F(jn))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();class lZ extends yK{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new cZ(this._id,t,e||{},this._renderer)}}class cZ{constructor(t,e,i,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return VL(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function VL(n,t,e,i,r){return n.setProperty(t,`@@${e}:${i}`,r)}const BL="@.disabled";let uZ=(()=>{class n{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,s)=>{const a=s?.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(e,i){const o=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let u=this._rendererCache.get(o);return u||(u=new UL("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,u)),u}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=u=>{Array.isArray(u)?u.forEach(l):this.engine.registerTrigger(s,a,e,u.name,u)};return i.data.animation.forEach(l),new dZ(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){e>=0&&ei(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(F(Kf),F(Sv),F(Yt))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();class UL{constructor(t,e,i,r){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==BL?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class dZ extends UL{constructor(t,e,i,r,o){super(e,i,r,o),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==BL?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const r=function hZ(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let o=e.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function fZ(n){const t=n.indexOf(".");return[n.substring(0,t),n.slice(t+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(t,e,i)}}let pZ=(()=>{class n extends Sv{constructor(e,i,r,o){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(F(jn),F(r1),F(m1),F(Ac))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();const HL=[{provide:iL,useClass:aZ},{provide:m1,useFactory:function mZ(){return new PQ}},{provide:Sv,useClass:pZ},{provide:Kf,useFactory:function gZ(n,t,e){return new uZ(n,t,e)},deps:[V_,Sv,Yt]}],w1=[{provide:r1,useFactory:()=>new sZ},{provide:pN,useValue:"BrowserAnimations"},...HL],$L=[{provide:r1,useClass:gL},{provide:pN,useValue:"NoopAnimations"},...HL];let yZ=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?$L:w1}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({providers:w1,imports:[P2]}),n})();class wt{static equals(t,e,i){return i?this.resolveFieldData(t,i)===this.resolveFieldData(e,i):this.equalsByValue(t,e)}static equalsByValue(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){var o,s,a,i=Array.isArray(t),r=Array.isArray(e);if(i&&r){if((s=t.length)!=e.length)return!1;for(o=s;0!=o--;)if(!this.equalsByValue(t[o],e[o]))return!1;return!0}if(i!=r)return!1;var l=t instanceof Date,c=e instanceof Date;if(l!=c)return!1;if(l&&c)return t.getTime()==e.getTime();var u=t instanceof RegExp,d=e instanceof RegExp;if(u!=d)return!1;if(u&&d)return t.toString()==e.toString();var h=Object.keys(t);if((s=h.length)!==Object.keys(e).length)return!1;for(o=s;0!=o--;)if(!Object.prototype.hasOwnProperty.call(e,h[o]))return!1;for(o=s;0!=o--;)if(!this.equalsByValue(t[a=h[o]],e[a]))return!1;return!0}return t!=t&&e!=e}static resolveFieldData(t,e){if(t&&e){if(this.isFunction(e))return e(t);if(-1==e.indexOf("."))return t[e];{let i=e.split("."),r=t;for(let o=0,s=i.length;o=t.length&&(i%=t.length,e%=t.length),t.splice(i,0,t.splice(e,1)[0]))}static insertIntoOrderedArray(t,e,i,r){if(i.length>0){let o=!1;for(let s=0;se){i.splice(s,0,t),o=!0;break}o||i.push(t)}else i.push(t)}static findIndexInList(t,e){let i=-1;if(e)for(let r=0;r-1&&(t=t.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),t}static isEmpty(t){return null==t||""===t||Array.isArray(t)&&0===t.length||!(t instanceof Date)&&"object"==typeof t&&0===Object.keys(t).length}static isNotEmpty(t){return!this.isEmpty(t)}static compare(t,e,i,r=1){let o=-1;const s=this.isEmpty(t),a=this.isEmpty(e);return o=s&&a?0:s?r:a?-r:"string"==typeof t&&"string"==typeof e?t.localeCompare(e,i,{numeric:!0}):te?1:0,o}static sort(t,e,i=1,r,o=1){return(1===o?i:o)*wt.compare(t,e,r,i)}static merge(t,e){if(null!=t||null!=e)return null!=t&&"object"!=typeof t||null!=e&&"object"!=typeof e?null!=t&&"string"!=typeof t||null!=e&&"string"!=typeof e?e||t:[t||"",e||""].join(" "):{...t||{},...e||{}}}}var WL=0;function T1(){return"pr_id_"+ ++WL}var vl=function _Z(){let n=[];const r=o=>o&&parseInt(o.style.zIndex,10)||0;return{get:r,set:(o,s,a)=>{s&&(s.style.zIndex=String(((o,s)=>{let a=n.length>0?n[n.length-1]:{key:o,value:s},l=a.value+(a.key===o?0:s)+1;return n.push({key:o,value:l}),l})(o,a)))},clear:o=>{o&&((o=>{n=n.filter(s=>s.value!==o)})(r(o)),o.style.zIndex="")},getCurrent:()=>n.length>0?n[n.length-1].value:0}}();const GL=["*"];let YL=(()=>{class n{constructor(){this.requireConfirmationSource=new ue,this.acceptConfirmationSource=new ue,this.requireConfirmation$=this.requireConfirmationSource.asObservable(),this.accept=this.acceptConfirmationSource.asObservable()}confirm(e){return this.requireConfirmationSource.next(e),this}close(){return this.requireConfirmationSource.next(null),this}onAccept(){this.acceptConfirmationSource.next(null)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})(),dr=(()=>{class n{}return n.STARTS_WITH="startsWith",n.CONTAINS="contains",n.NOT_CONTAINS="notContains",n.ENDS_WITH="endsWith",n.EQUALS="equals",n.NOT_EQUALS="notEquals",n.IN="in",n.LESS_THAN="lt",n.LESS_THAN_OR_EQUAL_TO="lte",n.GREATER_THAN="gt",n.GREATER_THAN_OR_EQUAL_TO="gte",n.BETWEEN="between",n.IS="is",n.IS_NOT="isNot",n.BEFORE="before",n.AFTER="after",n.DATE_IS="dateIs",n.DATE_IS_NOT="dateIsNot",n.DATE_BEFORE="dateBefore",n.DATE_AFTER="dateAfter",n})(),qL=(()=>{class n{constructor(){this.filters={startsWith:(e,i,r)=>{if(null==i||""===i.trim())return!0;if(null==e)return!1;let o=wt.removeAccents(i.toString()).toLocaleLowerCase(r);return wt.removeAccents(e.toString()).toLocaleLowerCase(r).slice(0,o.length)===o},contains:(e,i,r)=>{if(null==i||"string"==typeof i&&""===i.trim())return!0;if(null==e)return!1;let o=wt.removeAccents(i.toString()).toLocaleLowerCase(r);return-1!==wt.removeAccents(e.toString()).toLocaleLowerCase(r).indexOf(o)},notContains:(e,i,r)=>{if(null==i||"string"==typeof i&&""===i.trim())return!0;if(null==e)return!1;let o=wt.removeAccents(i.toString()).toLocaleLowerCase(r);return-1===wt.removeAccents(e.toString()).toLocaleLowerCase(r).indexOf(o)},endsWith:(e,i,r)=>{if(null==i||""===i.trim())return!0;if(null==e)return!1;let o=wt.removeAccents(i.toString()).toLocaleLowerCase(r),s=wt.removeAccents(e.toString()).toLocaleLowerCase(r);return-1!==s.indexOf(o,s.length-o.length)},equals:(e,i,r)=>null==i||"string"==typeof i&&""===i.trim()||null!=e&&(e.getTime&&i.getTime?e.getTime()===i.getTime():wt.removeAccents(e.toString()).toLocaleLowerCase(r)==wt.removeAccents(i.toString()).toLocaleLowerCase(r)),notEquals:(e,i,r)=>!(null==i||"string"==typeof i&&""===i.trim()||null!=e&&(e.getTime&&i.getTime?e.getTime()===i.getTime():wt.removeAccents(e.toString()).toLocaleLowerCase(r)==wt.removeAccents(i.toString()).toLocaleLowerCase(r))),in:(e,i)=>{if(null==i||0===i.length)return!0;for(let r=0;rnull==i||null==i[0]||null==i[1]||null!=e&&(e.getTime?i[0].getTime()<=e.getTime()&&e.getTime()<=i[1].getTime():i[0]<=e&&e<=i[1]),lt:(e,i,r)=>null==i||null!=e&&(e.getTime&&i.getTime?e.getTime()null==i||null!=e&&(e.getTime&&i.getTime?e.getTime()<=i.getTime():e<=i),gt:(e,i,r)=>null==i||null!=e&&(e.getTime&&i.getTime?e.getTime()>i.getTime():e>i),gte:(e,i,r)=>null==i||null!=e&&(e.getTime&&i.getTime?e.getTime()>=i.getTime():e>=i),is:(e,i,r)=>this.filters.equals(e,i,r),isNot:(e,i,r)=>this.filters.notEquals(e,i,r),before:(e,i,r)=>this.filters.lt(e,i,r),after:(e,i,r)=>this.filters.gt(e,i,r),dateIs:(e,i)=>null==i||null!=e&&e.toDateString()===i.toDateString(),dateIsNot:(e,i)=>null==i||null!=e&&e.toDateString()!==i.toDateString(),dateBefore:(e,i)=>null==i||null!=e&&e.getTime()null==i||null!=e&&e.getTime()>i.getTime()}}filter(e,i,r,o,s){let a=[];if(e)for(let l of e)for(let c of i){let u=wt.resolveFieldData(l,c);if(this.filters[o](u,r,s)){a.push(l);break}}return a}register(e,i){this.filters[e]=i}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),vZ=(()=>{class n{constructor(){this.messageSource=new ue,this.clearSource=new ue,this.messageObserver=this.messageSource.asObservable(),this.clearObserver=this.clearSource.asObservable()}add(e){e&&this.messageSource.next(e)}addAll(e){e&&e.length&&this.messageSource.next(e)}clear(e){this.clearSource.next(e||null)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})(),KL=(()=>{class n{constructor(){this.clickSource=new ue,this.clickObservable=this.clickSource.asObservable()}add(e){e&&this.clickSource.next(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),bl=(()=>{class n{constructor(){this.ripple=!1,this.overlayOptions={},this.filterMatchModeOptions={text:[dr.STARTS_WITH,dr.CONTAINS,dr.NOT_CONTAINS,dr.ENDS_WITH,dr.EQUALS,dr.NOT_EQUALS],numeric:[dr.EQUALS,dr.NOT_EQUALS,dr.LESS_THAN,dr.LESS_THAN_OR_EQUAL_TO,dr.GREATER_THAN,dr.GREATER_THAN_OR_EQUAL_TO],date:[dr.DATE_IS,dr.DATE_IS_NOT,dr.DATE_BEFORE,dr.DATE_AFTER]},this.translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",emptyFilterMessage:"No results found"},this.zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100},this.translationSource=new ue,this.translationObserver=this.translationSource.asObservable()}getTranslation(e){return this.translation[e]}setTranslation(e){this.translation={...this.translation,...e},this.translationSource.next(this.translation)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),D1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=Ce({type:n,selectors:[["p-header"]],ngContentSelectors:GL,decls:1,vars:0,template:function(e,i){1&e&&($r(),xi(0))},encapsulation:2}),n})(),M1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=Ce({type:n,selectors:[["p-footer"]],ngContentSelectors:GL,decls:1,vars:0,template:function(e,i){1&e&&($r(),xi(0))},encapsulation:2}),n})(),Ni=(()=>{class n{constructor(e){this.template=e}getType(){return this.name}}return n.\u0275fac=function(e){return new(e||n)(I(Ro))},n.\u0275dir=we({type:n,selectors:[["","pTemplate",""]],inputs:{type:"type",name:["pTemplate","name"]}}),n})(),Uo=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})(),Cl=(()=>{class n{}return n.STARTS_WITH="startsWith",n.CONTAINS="contains",n.NOT_CONTAINS="notContains",n.ENDS_WITH="endsWith",n.EQUALS="equals",n.NOT_EQUALS="notEquals",n.NO_FILTER="noFilter",n.LT="lt",n.LTE="lte",n.GT="gt",n.GTE="gte",n.IS="is",n.IS_NOT="isNot",n.BEFORE="before",n.AFTER="after",n.CLEAR="clear",n.APPLY="apply",n.MATCH_ALL="matchAll",n.MATCH_ANY="matchAny",n.ADD_RULE="addRule",n.REMOVE_RULE="removeRule",n.ACCEPT="accept",n.REJECT="reject",n.CHOOSE="choose",n.UPLOAD="upload",n.CANCEL="cancel",n.DAY_NAMES="dayNames",n.DAY_NAMES_SHORT="dayNamesShort",n.DAY_NAMES_MIN="dayNamesMin",n.MONTH_NAMES="monthNames",n.MONTH_NAMES_SHORT="monthNamesShort",n.FIRST_DAY_OF_WEEK="firstDayOfWeek",n.TODAY="today",n.WEEK_HEADER="weekHeader",n.WEAK="weak",n.MEDIUM="medium",n.STRONG="strong",n.PASSWORD_PROMPT="passwordPrompt",n.EMPTY_MESSAGE="emptyMessage",n.EMPTY_FILTER_MESSAGE="emptyFilterMessage",n})(),q=(()=>{class n{static addClass(e,i){e&&i&&(e.classList?e.classList.add(i):e.className+=" "+i)}static addMultipleClasses(e,i){if(e&&i)if(e.classList){let r=i.trim().split(" ");for(let o=0;o{if(m)return"relative"===getComputedStyle(m).getPropertyValue("position")?m:r(m.parentElement)},o=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),s=i.offsetHeight,a=i.getBoundingClientRect(),l=this.getWindowScrollTop(),c=this.getWindowScrollLeft(),u=this.getViewport(),h=r(e)?.getBoundingClientRect()||{top:-1*l,left:-1*c};let f,p;a.top+s+o.height>u.height?(f=a.top-h.top-o.height,e.style.transformOrigin="bottom",a.top+f<0&&(f=-1*a.top)):(f=s+a.top-h.top,e.style.transformOrigin="top"),p=o.width>u.width?-1*(a.left-h.left):a.left-h.left+o.width>u.width?-1*(a.left-h.left+o.width-u.width):a.left-h.left,e.style.top=f+"px",e.style.left=p+"px"}static absolutePosition(e,i){const r=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),o=r.height,s=r.width,a=i.offsetHeight,l=i.offsetWidth,c=i.getBoundingClientRect(),u=this.getWindowScrollTop(),d=this.getWindowScrollLeft(),h=this.getViewport();let f,p;c.top+a+o>h.height?(f=c.top+u-o,e.style.transformOrigin="bottom",f<0&&(f=u)):(f=a+c.top+u,e.style.transformOrigin="top"),p=c.left+s>h.width?Math.max(0,c.left+d+l-s):c.left+d,e.style.top=f+"px",e.style.left=p+"px"}static getParents(e,i=[]){return null===e.parentNode?i:this.getParents(e.parentNode,i.concat([e.parentNode]))}static getScrollableParents(e){let i=[];if(e){let r=this.getParents(e);const o=/(auto|scroll)/,s=a=>{let l=window.getComputedStyle(a,null);return o.test(l.getPropertyValue("overflow"))||o.test(l.getPropertyValue("overflowX"))||o.test(l.getPropertyValue("overflowY"))};for(let a of r){let l=1===a.nodeType&&a.dataset.scrollselectors;if(l){let c=l.split(",");for(let u of c){let d=this.findSingle(a,u);d&&s(d)&&i.push(d)}}9!==a.nodeType&&s(a)&&i.push(a)}}return i}static getHiddenElementOuterHeight(e){e.style.visibility="hidden",e.style.display="block";let i=e.offsetHeight;return e.style.display="none",e.style.visibility="visible",i}static getHiddenElementOuterWidth(e){e.style.visibility="hidden",e.style.display="block";let i=e.offsetWidth;return e.style.display="none",e.style.visibility="visible",i}static getHiddenElementDimensions(e){let i={};return e.style.visibility="hidden",e.style.display="block",i.width=e.offsetWidth,i.height=e.offsetHeight,e.style.display="none",e.style.visibility="visible",i}static scrollInView(e,i){let r=getComputedStyle(e).getPropertyValue("borderTopWidth"),o=r?parseFloat(r):0,s=getComputedStyle(e).getPropertyValue("paddingTop"),a=s?parseFloat(s):0,l=e.getBoundingClientRect(),u=i.getBoundingClientRect().top+document.body.scrollTop-(l.top+document.body.scrollTop)-o-a,d=e.scrollTop,h=e.clientHeight,f=this.getOuterHeight(i);u<0?e.scrollTop=d+u:u+f>h&&(e.scrollTop=d+u-h+f)}static fadeIn(e,i){e.style.opacity=0;let r=+new Date,o=0,s=function(){o=+e.style.opacity.replace(",",".")+((new Date).getTime()-r)/i,e.style.opacity=o,r=+new Date,+o<1&&(window.requestAnimationFrame&&requestAnimationFrame(s)||setTimeout(s,16))};s()}static fadeOut(e,i){var r=1,a=50/i;let l=setInterval(()=>{(r-=a)<=0&&(r=0,clearInterval(l)),e.style.opacity=r},50)}static getWindowScrollTop(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}static getWindowScrollLeft(){let e=document.documentElement;return(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}static matches(e,i){var r=Element.prototype;return(r.matches||r.webkitMatchesSelector||r.mozMatchesSelector||r.msMatchesSelector||function(s){return-1!==[].indexOf.call(document.querySelectorAll(s),this)}).call(e,i)}static getOuterWidth(e,i){let r=e.offsetWidth;if(i){let o=getComputedStyle(e);r+=parseFloat(o.marginLeft)+parseFloat(o.marginRight)}return r}static getHorizontalPadding(e){let i=getComputedStyle(e);return parseFloat(i.paddingLeft)+parseFloat(i.paddingRight)}static getHorizontalMargin(e){let i=getComputedStyle(e);return parseFloat(i.marginLeft)+parseFloat(i.marginRight)}static innerWidth(e){let i=e.offsetWidth,r=getComputedStyle(e);return i+=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight),i}static width(e){let i=e.offsetWidth,r=getComputedStyle(e);return i-=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight),i}static getInnerHeight(e){let i=e.offsetHeight,r=getComputedStyle(e);return i+=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom),i}static getOuterHeight(e,i){let r=e.offsetHeight;if(i){let o=getComputedStyle(e);r+=parseFloat(o.marginTop)+parseFloat(o.marginBottom)}return r}static getHeight(e){let i=e.offsetHeight,r=getComputedStyle(e);return i-=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom)+parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth),i}static getWidth(e){let i=e.offsetWidth,r=getComputedStyle(e);return i-=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight)+parseFloat(r.borderLeftWidth)+parseFloat(r.borderRightWidth),i}static getViewport(){let e=window,i=document,r=i.documentElement,o=i.getElementsByTagName("body")[0];return{width:e.innerWidth||r.clientWidth||o.clientWidth,height:e.innerHeight||r.clientHeight||o.clientHeight}}static getOffset(e){var i=e.getBoundingClientRect();return{top:i.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:i.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(e,i){let r=e.parentNode;if(!r)throw"Can't replace element";return r.replaceChild(i,e)}static getUserAgent(){return navigator.userAgent}static isIE(){var e=window.navigator.userAgent;return e.indexOf("MSIE ")>0||(e.indexOf("Trident/")>0?(e.indexOf("rv:"),!0):e.indexOf("Edge/")>0)}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(e,i){if(this.isElement(i))i.appendChild(e);else{if(!i.el||!i.el.nativeElement)throw"Cannot append "+i+" to "+e;i.el.nativeElement.appendChild(e)}}static removeChild(e,i){if(this.isElement(i))i.removeChild(e);else{if(!i.el||!i.el.nativeElement)throw"Cannot remove "+e+" from "+i;i.el.nativeElement.removeChild(e)}}static removeElement(e){"remove"in Element.prototype?e.remove():e.parentNode.removeChild(e)}static isElement(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName}static calculateScrollbarWidth(e){if(e){let i=getComputedStyle(e);return e.offsetWidth-e.clientWidth-parseFloat(i.borderLeftWidth)-parseFloat(i.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let i=document.createElement("div");i.className="p-scrollbar-measure",document.body.appendChild(i);let r=i.offsetWidth-i.clientWidth;return document.body.removeChild(i),this.calculatedScrollbarWidth=r,r}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let e=document.createElement("div");e.className="p-scrollbar-measure",document.body.appendChild(e);let i=e.offsetHeight-e.clientHeight;return document.body.removeChild(e),this.calculatedScrollbarWidth=i,i}static invokeElementMethod(e,i,r){e[i].apply(e,r)}static clearSelection(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let e=this.resolveUserAgent();this.browser={},e.browser&&(this.browser[e.browser]=!0,this.browser.version=e.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let e=navigator.userAgent.toLowerCase(),i=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:i[1]||"",version:i[2]||"0"}}static isInteger(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}static isHidden(e){return!e||null===e.offsetParent}static isVisible(e){return e&&null!=e.offsetParent}static isExist(e){return null!==e&&typeof e<"u"&&e.nodeName&&e.parentNode}static focus(e,i){e&&document.activeElement!==e&&e.focus(i)}static getFocusableElements(e){let i=n.find(e,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]):not(.p-disabled)'),r=[];for(let o of i)(o.offsetWidth||o.offsetHeight||o.getClientRects().length)&&r.push(o);return r}static getNextFocusableElement(e,i=!1){const r=n.getFocusableElements(e);let o=0;if(r&&r.length>0){const s=r.indexOf(r[0].ownerDocument.activeElement);i?o=-1==s||0===s?r.length-1:s-1:-1!=s&&s!==r.length-1&&(o=s+1)}return r[o]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null}static getTargetElement(e,i){if(!e)return null;switch(e){case"document":return document;case"window":return window;case"@next":return i?.nextElementSibling;case"@prev":return i?.previousElementSibling;case"@parent":return i?.parentElement;case"@grandparent":return i?.parentElement.parentElement;default:const r=typeof e;if("string"===r)return document.querySelector(e);if("object"===r&&e.hasOwnProperty("nativeElement"))return this.isExist(e.nativeElement)?e.nativeElement:void 0;const s=(a=e)&&a.constructor&&a.call&&a.apply?e():e;return s&&9===s.nodeType||this.isExist(s)?s:null}var a}}return n.zindex=1e3,n.calculatedScrollbarWidth=null,n.calculatedScrollbarHeight=null,n})();class QL{constructor(t,e=(()=>{})){this.element=t,this.listener=e}bindScrollListener(){this.scrollableParents=q.getScrollableParents(this.element);for(let t=0;t{class n{constructor(e,i,r){this.el=e,this.zone=i,this.config=r}ngAfterViewInit(){this.config&&this.config.ripple&&this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.onMouseDown.bind(this),this.el.nativeElement.addEventListener("mousedown",this.mouseDownListener)})}onMouseDown(e){let i=this.getInk();if(!i||"none"===getComputedStyle(i,null).display)return;if(q.removeClass(i,"p-ink-active"),!q.getHeight(i)&&!q.getWidth(i)){let a=Math.max(q.getOuterWidth(this.el.nativeElement),q.getOuterHeight(this.el.nativeElement));i.style.height=a+"px",i.style.width=a+"px"}let r=q.getOffset(this.el.nativeElement),o=e.pageX-r.left+document.body.scrollTop-q.getWidth(i)/2,s=e.pageY-r.top+document.body.scrollLeft-q.getHeight(i)/2;i.style.top=s+"px",i.style.left=o+"px",q.addClass(i,"p-ink-active"),this.timeout=setTimeout(()=>{let a=this.getInk();a&&q.removeClass(a,"p-ink-active")},401)}getInk(){const e=this.el.nativeElement.children;for(let i=0;i{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})();const bZ=["headerchkbox"],CZ=["filter"];function wZ(n,t){1&n&&Je(0)}function TZ(n,t){if(1&n&&(S(0,"div",7),xi(1),D(2,wZ,1,0,"ng-container",8),E()),2&n){const e=C();b(2),_("ngTemplateOutlet",e.headerTemplate)}}const ZL=function(n){return{"p-checkbox-disabled":n}},DZ=function(n,t,e){return{"p-highlight":n,"p-focus":t,"p-disabled":e}},JL=function(n){return{"pi pi-check":n}};function MZ(n,t){if(1&n){const e=Ne();S(0,"div",12)(1,"div",13)(2,"input",14),se("focus",function(){return ee(e),te(C(2).onHeaderCheckboxFocus())})("blur",function(){return ee(e),te(C(2).onHeaderCheckboxBlur())})("keydown.space",function(r){return ee(e),te(C(2).toggleAll(r))}),E()(),S(3,"div",15,16),se("click",function(r){return ee(e),te(C(2).toggleAll(r))}),me(5,"span",17),E()()}if(2&n){const e=C(2);_("ngClass",it(5,ZL,e.disabled||e.toggleAllDisabled)),b(2),_("checked",e.allChecked)("disabled",e.disabled||e.toggleAllDisabled),b(1),_("ngClass",ul(7,DZ,e.allChecked,e.headerCheckboxFocus,e.disabled||e.toggleAllDisabled)),b(2),_("ngClass",it(11,JL,e.allChecked))}}function SZ(n,t){1&n&&Je(0)}const EZ=function(n){return{options:n}};function xZ(n,t){if(1&n&&(tt(0),D(1,SZ,1,0,"ng-container",18),nt()),2&n){const e=C(2);b(1),_("ngTemplateOutlet",e.filterTemplate)("ngTemplateOutletContext",it(2,EZ,e.filterOptions))}}function IZ(n,t){if(1&n){const e=Ne();S(0,"div",20)(1,"input",21,22),se("input",function(r){return ee(e),te(C(3).onFilter(r))}),E(),me(3,"span",23),E()}if(2&n){const e=C(3);b(1),_("value",e.filterValue||"")("disabled",e.disabled),Ct("placeholder",e.filterPlaceHolder)("aria-label",e.ariaFilterLabel)}}function OZ(n,t){1&n&&D(0,IZ,4,4,"div",19),2&n&&_("ngIf",C(2).filter)}function AZ(n,t){if(1&n&&(S(0,"div",7),D(1,MZ,6,13,"div",9),D(2,xZ,2,4,"ng-container",10),D(3,OZ,1,1,"ng-template",null,11,Mn),E()),2&n){const e=Ht(4),i=C();b(1),_("ngIf",i.checkbox&&i.multiple&&i.showToggleAll),b(1),_("ngIf",i.filterTemplate)("ngIfElse",e)}}function kZ(n,t){if(1&n&&(S(0,"span"),Se(1),E()),2&n){const e=C().$implicit,i=C(2);b(1),yt(i.getOptionGroupLabel(e)||"empty")}}function NZ(n,t){1&n&&Je(0)}function PZ(n,t){1&n&&Je(0)}const S1=function(n){return{$implicit:n}};function LZ(n,t){if(1&n&&(S(0,"li",25),D(1,kZ,2,1,"span",3),D(2,NZ,1,0,"ng-container",18),E(),D(3,PZ,1,0,"ng-container",18)),2&n){const e=t.$implicit,i=C(2),r=Ht(8);b(1),_("ngIf",!i.groupTemplate),b(1),_("ngTemplateOutlet",i.groupTemplate)("ngTemplateOutletContext",it(5,S1,e)),b(1),_("ngTemplateOutlet",r)("ngTemplateOutletContext",it(7,S1,i.getOptionGroupChildren(e)))}}function RZ(n,t){if(1&n&&(tt(0),D(1,LZ,4,9,"ng-template",24),nt()),2&n){const e=C();b(1),_("ngForOf",e.optionsToRender)}}function FZ(n,t){1&n&&Je(0)}function jZ(n,t){if(1&n&&(tt(0),D(1,FZ,1,0,"ng-container",18),nt()),2&n){const e=C(),i=Ht(8);b(1),_("ngTemplateOutlet",i)("ngTemplateOutletContext",it(2,S1,e.optionsToRender))}}const zZ=function(n){return{"p-highlight":n}};function VZ(n,t){if(1&n&&(S(0,"div",12)(1,"div",28),me(2,"span",17),E()()),2&n){const e=C().$implicit,i=C(2);_("ngClass",it(3,ZL,i.disabled||i.isOptionDisabled(e))),b(1),_("ngClass",it(5,zZ,i.isSelected(e))),b(1),_("ngClass",it(7,JL,i.isSelected(e)))}}function BZ(n,t){if(1&n&&(S(0,"span"),Se(1),E()),2&n){const e=C().$implicit,i=C(2);b(1),yt(i.getOptionLabel(e))}}function UZ(n,t){1&n&&Je(0)}const HZ=function(n,t){return{"p-listbox-item":!0,"p-highlight":n,"p-disabled":t}},$Z=function(n,t){return{$implicit:n,index:t}};function WZ(n,t){if(1&n){const e=Ne();S(0,"li",27),se("click",function(r){const s=ee(e).$implicit;return te(C(2).onOptionClick(r,s))})("dblclick",function(r){const s=ee(e).$implicit;return te(C(2).onOptionDoubleClick(r,s))})("touchend",function(){const o=ee(e).$implicit;return te(C(2).onOptionTouchEnd(o))})("keydown",function(r){const s=ee(e).$implicit;return te(C(2).onOptionKeyDown(r,s))}),D(1,VZ,3,9,"div",9),D(2,BZ,2,1,"span",3),D(3,UZ,1,0,"ng-container",18),E()}if(2&n){const e=t.$implicit,i=t.index,r=C(2);_("ngClass",Fn(8,HZ,r.isSelected(e),r.isOptionDisabled(e))),Ct("tabindex",r.disabled||r.isOptionDisabled(e)?null:"0")("aria-label",r.getOptionLabel(e))("aria-selected",r.isSelected(e)),b(1),_("ngIf",r.checkbox&&r.multiple),b(1),_("ngIf",!r.itemTemplate),b(1),_("ngTemplateOutlet",r.itemTemplate)("ngTemplateOutletContext",Fn(11,$Z,e,i))}}function GZ(n,t){1&n&&D(0,WZ,4,14,"li",26),2&n&&_("ngForOf",t.$implicit)}function YZ(n,t){if(1&n&&(tt(0),Se(1),nt()),2&n){const e=C(2);b(1),ji(" ",e.emptyFilterMessageLabel," ")}}function qZ(n,t){1&n&&Je(0,null,30)}function KZ(n,t){if(1&n&&(S(0,"li",29),D(1,YZ,2,1,"ng-container",10),D(2,qZ,2,0,"ng-container",8),E()),2&n){const e=C();b(1),_("ngIf",!e.emptyFilterTemplate&&!e.emptyTemplate)("ngIfElse",e.emptyFilter),b(1),_("ngTemplateOutlet",e.emptyFilterTemplate||e.emptyTemplate)}}function QZ(n,t){if(1&n&&(tt(0),Se(1),nt()),2&n){const e=C(2);b(1),ji(" ",e.emptyMessageLabel," ")}}function ZZ(n,t){1&n&&Je(0,null,31)}function JZ(n,t){if(1&n&&(S(0,"li",29),D(1,QZ,2,1,"ng-container",10),D(2,ZZ,2,0,"ng-container",8),E()),2&n){const e=C();b(1),_("ngIf",!e.emptyTemplate)("ngIfElse",e.empty),b(1),_("ngTemplateOutlet",e.emptyTemplate)}}function XZ(n,t){1&n&&Je(0)}function eJ(n,t){if(1&n&&(S(0,"div",32),xi(1,1),D(2,XZ,1,0,"ng-container",8),E()),2&n){const e=C();b(2),_("ngTemplateOutlet",e.footerTemplate)}}const tJ=[[["p-header"]],[["p-footer"]]],nJ=function(n){return{"p-listbox p-component":!0,"p-disabled":n}},iJ=["p-header","p-footer"],rJ={provide:Qi,useExisting:Ft(()=>XL),multi:!0};let XL=(()=>{class n{constructor(e,i,r,o){this.el=e,this.cd=i,this.filterService=r,this.config=o,this.checkbox=!1,this.filter=!1,this.filterMatchMode="contains",this.metaKeySelection=!0,this.showToggleAll=!0,this.optionGroupChildren="items",this.onChange=new Q,this.onClick=new Q,this.onDblClick=new Q,this.onModelChange=()=>{},this.onModelTouched=()=>{}}get options(){return this._options}set options(e){this._options=e,this.hasFilter()&&this.activateFilter()}get filterValue(){return this._filterValue}set filterValue(e){this._filterValue=e,this.activateFilter()}ngOnInit(){this.translationSubscription=this.config.translationObserver.subscribe(()=>{this.cd.markForCheck()}),this.filterBy&&(this.filterOptions={filter:e=>this.onFilter(e),reset:()=>this.resetFilter()})}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"item":default:this.itemTemplate=e.template;break;case"group":this.groupTemplate=e.template;break;case"header":this.headerTemplate=e.template;break;case"filter":this.filterTemplate=e.template;break;case"footer":this.footerTemplate=e.template;break;case"empty":this.emptyTemplate=e.template;break;case"emptyfilter":this.emptyFilterTemplate=e.template}})}getOptionLabel(e){return this.optionLabel?wt.resolveFieldData(e,this.optionLabel):null!=e.label?e.label:e}getOptionGroupChildren(e){return this.optionGroupChildren?wt.resolveFieldData(e,this.optionGroupChildren):e.items}getOptionGroupLabel(e){return this.optionGroupLabel?wt.resolveFieldData(e,this.optionGroupLabel):null!=e.label?e.label:e}getOptionValue(e){return this.optionValue?wt.resolveFieldData(e,this.optionValue):this.optionLabel||void 0===e.value?e:e.value}isOptionDisabled(e){return this.optionDisabled?wt.resolveFieldData(e,this.optionDisabled):void 0!==e.disabled&&e.disabled}writeValue(e){this.value=e,this.cd.markForCheck()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}onOptionClick(e,i){this.disabled||this.isOptionDisabled(i)||this.readonly||(this.multiple?this.checkbox?this.onOptionClickCheckbox(e,i):this.onOptionClickMultiple(e,i):this.onOptionClickSingle(e,i),this.onClick.emit({originalEvent:e,option:i,value:this.value}),this.optionTouched=!1)}onOptionTouchEnd(e){this.disabled||this.isOptionDisabled(e)||this.readonly||(this.optionTouched=!0)}onOptionDoubleClick(e,i){this.disabled||this.isOptionDisabled(i)||this.readonly||this.onDblClick.emit({originalEvent:e,option:i,value:this.value})}onOptionClickSingle(e,i){let r=this.isSelected(i),o=!1;!this.optionTouched&&this.metaKeySelection?r?(e.metaKey||e.ctrlKey)&&(this.value=null,o=!0):(this.value=this.getOptionValue(i),o=!0):(this.value=r?null:this.getOptionValue(i),o=!0),o&&(this.onModelChange(this.value),this.onChange.emit({originalEvent:e,value:this.value}))}onOptionClickMultiple(e,i){let r=this.isSelected(i),o=!1;if(!this.optionTouched&&this.metaKeySelection){let a=e.metaKey||e.ctrlKey;r?(a?this.removeOption(i):this.value=[this.getOptionValue(i)],o=!0):(this.value=a&&this.value||[],this.value=[...this.value,this.getOptionValue(i)],o=!0)}else r?this.removeOption(i):this.value=[...this.value||[],this.getOptionValue(i)],o=!0;o&&(this.onModelChange(this.value),this.onChange.emit({originalEvent:e,value:this.value}))}onOptionClickCheckbox(e,i){this.disabled||this.readonly||(this.isSelected(i)?this.removeOption(i):(this.value=this.value?this.value:[],this.value=[...this.value,this.getOptionValue(i)]),this.onModelChange(this.value),this.onChange.emit({originalEvent:e,value:this.value}))}removeOption(e){this.value=this.value.filter(i=>!wt.equals(i,this.getOptionValue(e),this.dataKey))}isSelected(e){let i=!1,r=this.getOptionValue(e);if(this.multiple){if(this.value)for(let o of this.value)if(wt.equals(o,r,this.dataKey)){i=!0;break}}else i=wt.equals(this.value,r,this.dataKey);return i}get allChecked(){let e=this.optionsToRender;if(!e||0===e.length)return!1;{let i=0,r=0,o=0,s=this.group?0:this.optionsToRender.length;for(let a of e)if(this.group)for(let l of this.getOptionGroupChildren(a)){let c=this.isOptionDisabled(l),u=this.isSelected(l);if(c)u?i++:r++;else{if(!u)return!1;o++}s++}else{let l=this.isOptionDisabled(a),c=this.isSelected(a);if(l)c?i++:r++;else{if(!c)return!1;o++}}return s===i||s===o||o&&s===o+r+i}}get optionsToRender(){return this._filteredOptions||this.options}get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(Cl.EMPTY_MESSAGE)}get emptyFilterMessageLabel(){return this.emptyFilterMessage||this.config.getTranslation(Cl.EMPTY_FILTER_MESSAGE)}hasFilter(){return this._filterValue&&this._filterValue.trim().length>0}isEmpty(){return!this.optionsToRender||this.optionsToRender&&0===this.optionsToRender.length}onFilter(e){this._filterValue=e.target.value,this.activateFilter()}activateFilter(){if(this.hasFilter()&&this._options)if(this.group){let e=(this.filterBy||this.optionLabel||"label").split(","),i=[];for(let r of this.options){let o=this.filterService.filter(this.getOptionGroupChildren(r),e,this.filterValue,this.filterMatchMode,this.filterLocale);o&&o.length&&i.push({...r,[this.optionGroupChildren]:o})}this._filteredOptions=i}else this._filteredOptions=this._options.filter(e=>this.filterService.filters[this.filterMatchMode](this.getOptionLabel(e),this._filterValue,this.filterLocale));else this._filteredOptions=null}resetFilter(){this.filterViewChild&&this.filterViewChild.nativeElement&&(this.filterViewChild.nativeElement.value=""),this._filterValue=null,this._filteredOptions=null}get toggleAllDisabled(){let e=this.optionsToRender;if(!e||0===e.length)return!0;for(let i of e)if(!this.isOptionDisabled(i))return!1;return!0}toggleAll(e){this.disabled||this.toggleAllDisabled||this.readonly||(this.allChecked?this.uncheckAll():this.checkAll(),this.onModelChange(this.value),this.onChange.emit({originalEvent:e,value:this.value}),e.preventDefault())}checkAll(){let i=[];this.optionsToRender.forEach(r=>{if(this.group){let o=this.getOptionGroupChildren(r);o&&o.forEach(s=>{let a=this.isOptionDisabled(s);(!a||a&&this.isSelected(s))&&i.push(this.getOptionValue(s))})}else{let o=this.isOptionDisabled(r);(!o||o&&this.isSelected(r))&&i.push(this.getOptionValue(r))}}),this.value=i}uncheckAll(){let i=[];this.optionsToRender.forEach(r=>{this.group?r.items&&r.items.forEach(o=>{this.isOptionDisabled(o)&&this.isSelected(o)&&i.push(this.getOptionValue(o))}):this.isOptionDisabled(r)&&this.isSelected(r)&&i.push(this.getOptionValue(r))}),this.value=i}onOptionKeyDown(e,i){if(this.readonly)return;let r=e.currentTarget;switch(e.which){case 40:var o=this.findNextItem(r);o&&o.focus(),e.preventDefault();break;case 38:var s=this.findPrevItem(r);s&&s.focus(),e.preventDefault();break;case 13:this.onOptionClick(e,i),e.preventDefault()}}findNextItem(e){let i=e.nextElementSibling;return i?q.hasClass(i,"p-disabled")||q.isHidden(i)||q.hasClass(i,"p-listbox-item-group")?this.findNextItem(i):i:null}findPrevItem(e){let i=e.previousElementSibling;return i?q.hasClass(i,"p-disabled")||q.isHidden(i)||q.hasClass(i,"p-listbox-item-group")?this.findPrevItem(i):i:null}onHeaderCheckboxFocus(){this.headerCheckboxFocus=!0}onHeaderCheckboxBlur(){this.headerCheckboxFocus=!1}ngOnDestroy(){this.translationSubscription&&this.translationSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(I(Dt),I(In),I(qL),I(bl))},n.\u0275cmp=Ce({type:n,selectors:[["p-listbox"]],contentQueries:function(e,i,r){if(1&e&&(Kn(r,D1,5),Kn(r,M1,5),Kn(r,Ni,4)),2&e){let o;Ve(o=Be())&&(i.headerFacet=o.first),Ve(o=Be())&&(i.footerFacet=o.first),Ve(o=Be())&&(i.templates=o)}},viewQuery:function(e,i){if(1&e&&(Mt(bZ,5),Mt(CZ,5)),2&e){let r;Ve(r=Be())&&(i.headerCheckboxViewChild=r.first),Ve(r=Be())&&(i.filterViewChild=r.first)}},hostAttrs:[1,"p-element"],inputs:{multiple:"multiple",style:"style",styleClass:"styleClass",listStyle:"listStyle",listStyleClass:"listStyleClass",readonly:"readonly",disabled:"disabled",checkbox:"checkbox",filter:"filter",filterBy:"filterBy",filterMatchMode:"filterMatchMode",filterLocale:"filterLocale",metaKeySelection:"metaKeySelection",dataKey:"dataKey",showToggleAll:"showToggleAll",optionLabel:"optionLabel",optionValue:"optionValue",optionGroupChildren:"optionGroupChildren",optionGroupLabel:"optionGroupLabel",optionDisabled:"optionDisabled",ariaFilterLabel:"ariaFilterLabel",filterPlaceHolder:"filterPlaceHolder",emptyFilterMessage:"emptyFilterMessage",emptyMessage:"emptyMessage",group:"group",options:"options",filterValue:"filterValue"},outputs:{onChange:"onChange",onClick:"onClick",onDblClick:"onDblClick"},features:[Pt([rJ])],ngContentSelectors:iJ,decls:12,vars:18,consts:[[3,"ngClass","ngStyle"],["class","p-listbox-header",4,"ngIf"],["role","listbox",1,"p-listbox-list"],[4,"ngIf"],["itemslist",""],["class","p-listbox-empty-message",4,"ngIf"],["class","p-listbox-footer",4,"ngIf"],[1,"p-listbox-header"],[4,"ngTemplateOutlet"],["class","p-checkbox p-component",3,"ngClass",4,"ngIf"],[4,"ngIf","ngIfElse"],["builtInFilterElement",""],[1,"p-checkbox","p-component",3,"ngClass"],[1,"p-hidden-accessible"],["type","checkbox","readonly","readonly",3,"checked","disabled","focus","blur","keydown.space"],[1,"p-checkbox-box",3,"ngClass","click"],["headerchkbox",""],[1,"p-checkbox-icon",3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","p-listbox-filter-container",4,"ngIf"],[1,"p-listbox-filter-container"],["type","text",1,"p-listbox-filter","p-inputtext","p-component",3,"value","disabled","input"],["filter",""],[1,"p-listbox-filter-icon","pi","pi-search"],["ngFor","",3,"ngForOf"],[1,"p-listbox-item-group"],["pRipple","","role","option",3,"ngClass","click","dblclick","touchend","keydown",4,"ngFor","ngForOf"],["pRipple","","role","option",3,"ngClass","click","dblclick","touchend","keydown"],[1,"p-checkbox-box",3,"ngClass"],[1,"p-listbox-empty-message"],["emptyFilter",""],["empty",""],[1,"p-listbox-footer"]],template:function(e,i){1&e&&($r(tJ),S(0,"div",0),D(1,TZ,3,1,"div",1),D(2,AZ,5,3,"div",1),S(3,"div",0)(4,"ul",2),D(5,RZ,2,1,"ng-container",3),D(6,jZ,2,4,"ng-container",3),D(7,GZ,1,1,"ng-template",null,4,Mn),D(9,KZ,3,3,"li",5),D(10,JZ,3,3,"li",5),E()(),D(11,eJ,3,1,"div",6),E()),2&e&&(jt(i.styleClass),_("ngClass",it(16,nJ,i.disabled))("ngStyle",i.style),b(1),_("ngIf",i.headerFacet||i.headerTemplate),b(1),_("ngIf",i.checkbox&&i.multiple&&i.showToggleAll||i.filter),b(1),jt(i.listStyleClass),_("ngClass","p-listbox-list-wrapper")("ngStyle",i.listStyle),b(1),Ct("aria-multiselectable",i.multiple),b(1),_("ngIf",i.group),b(1),_("ngIf",!i.group),b(3),_("ngIf",i.hasFilter()&&i.isEmpty()),b(1),_("ngIf",!i.hasFilter()&&i.isEmpty()),b(1),_("ngIf",i.footerFacet||i.footerTemplate))},dependencies:[Qn,Er,zt,qr,Ai,wl],styles:[".p-listbox-list-wrapper{overflow:auto}.p-listbox-list{list-style-type:none;margin:0;padding:0}.p-listbox-item{cursor:pointer;position:relative;overflow:hidden;display:flex;align-items:center;-webkit-user-select:none;user-select:none}.p-listbox-header{display:flex;align-items:center}.p-listbox-filter-container{position:relative;flex:1 1 auto}.p-listbox-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-listbox-filter{width:100%}\n"],encapsulation:2,changeDetection:0}),n})(),E1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn,Uo,Ra,Uo]}),n})();function oJ(n,t){1&n&&Je(0)}const sJ=function(n,t,e,i){return{"p-button-icon":!0,"p-button-icon-left":n,"p-button-icon-right":t,"p-button-icon-top":e,"p-button-icon-bottom":i}};function aJ(n,t){if(1&n&&me(0,"span",4),2&n){const e=C();jt(e.loading?"p-button-loading-icon "+e.loadingIcon:e.icon),_("ngClass",zd(4,sJ,"left"===e.iconPos&&e.label,"right"===e.iconPos&&e.label,"top"===e.iconPos&&e.label,"bottom"===e.iconPos&&e.label)),Ct("aria-hidden",!0)}}function lJ(n,t){if(1&n&&(S(0,"span",5),Se(1),E()),2&n){const e=C();Ct("aria-hidden",e.icon&&!e.label),b(1),yt(e.label)}}function cJ(n,t){if(1&n&&(S(0,"span",4),Se(1),E()),2&n){const e=C();jt(e.badgeClass),_("ngClass",e.badgeStyleClass()),b(1),yt(e.badge)}}const uJ=function(n,t,e,i,r){return{"p-button p-component":!0,"p-button-icon-only":n,"p-button-vertical":t,"p-disabled":e,"p-button-loading":i,"p-button-loading-label-only":r}},dJ=["*"],Uc={button:"p-button",component:"p-component",iconOnly:"p-button-icon-only",disabled:"p-disabled",loading:"p-button-loading",labelOnly:"p-button-loading-label-only"};let Qr=(()=>{class n{constructor(e){this.el=e,this.iconPos="left",this.loadingIcon="pi pi-spinner pi-spin",this._loading=!1,this._internalClasses=Object.values(Uc)}get label(){return this._label}set label(e){this._label=e,this.initialized&&(this.updateLabel(),this.updateIcon(),this.setStyleClass())}get icon(){return this._icon}set icon(e){this._icon=e,this.initialized&&(this.updateIcon(),this.setStyleClass())}get loading(){return this._loading}set loading(e){this._loading=e,this.initialized&&(this.updateIcon(),this.setStyleClass())}get htmlElement(){return this.el.nativeElement}ngAfterViewInit(){q.addMultipleClasses(this.htmlElement,this.getStyleClass().join(" ")),this.createIcon(),this.createLabel(),this.initialized=!0}getStyleClass(){const e=[Uc.button,Uc.component];return this.icon&&!this.label&&wt.isEmpty(this.htmlElement.textContent)&&e.push(Uc.iconOnly),this.loading&&(e.push(Uc.disabled,Uc.loading),!this.icon&&this.label&&e.push(Uc.labelOnly)),e}setStyleClass(){const e=this.getStyleClass();this.htmlElement.classList.remove(...this._internalClasses),this.htmlElement.classList.add(...e)}createLabel(){if(this.label){let e=document.createElement("span");this.icon&&!this.label&&e.setAttribute("aria-hidden","true"),e.className="p-button-label",e.appendChild(document.createTextNode(this.label)),this.htmlElement.appendChild(e)}}createIcon(){if(this.icon||this.loading){let e=document.createElement("span");e.className="p-button-icon",e.setAttribute("aria-hidden","true");let i=this.label?"p-button-icon-"+this.iconPos:null;i&&q.addClass(e,i);let r=this.getIconClass();r&&q.addMultipleClasses(e,r),this.htmlElement.insertBefore(e,this.htmlElement.firstChild)}}updateLabel(){let e=q.findSingle(this.htmlElement,".p-button-label");this.label?e?e.textContent=this.label:this.createLabel():e&&this.htmlElement.removeChild(e)}updateIcon(){let e=q.findSingle(this.htmlElement,".p-button-icon");this.icon||this.loading?e?e.className=this.iconPos?"p-button-icon p-button-icon-"+this.iconPos+" "+this.getIconClass():"p-button-icon "+this.getIconClass():this.createIcon():e&&this.htmlElement.removeChild(e)}getIconClass(){return this.loading?"p-button-loading-icon "+this.loadingIcon:this._icon}ngOnDestroy(){this.initialized=!1}}return n.\u0275fac=function(e){return new(e||n)(I(Dt))},n.\u0275dir=we({type:n,selectors:[["","pButton",""]],hostAttrs:[1,"p-element"],inputs:{iconPos:"iconPos",loadingIcon:"loadingIcon",label:"label",icon:"icon",loading:"loading"}}),n})(),eR=(()=>{class n{constructor(){this.type="button",this.iconPos="left",this.loading=!1,this.loadingIcon="pi pi-spinner pi-spin",this.onClick=new Q,this.onFocus=new Q,this.onBlur=new Q}ngAfterContentInit(){this.templates.forEach(e=>{e.getType(),this.contentTemplate=e.template})}badgeStyleClass(){return{"p-badge p-component":!0,"p-badge-no-gutter":this.badge&&1===String(this.badge).length}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=Ce({type:n,selectors:[["p-button"]],contentQueries:function(e,i,r){if(1&e&&Kn(r,Ni,4),2&e){let o;Ve(o=Be())&&(i.templates=o)}},hostAttrs:[1,"p-element"],inputs:{type:"type",iconPos:"iconPos",icon:"icon",badge:"badge",label:"label",disabled:"disabled",loading:"loading",loadingIcon:"loadingIcon",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",ariaLabel:"ariaLabel"},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},ngContentSelectors:dJ,decls:6,vars:17,consts:[["pRipple","",3,"ngStyle","disabled","ngClass","click","focus","blur"],[4,"ngTemplateOutlet"],[3,"ngClass","class",4,"ngIf"],["class","p-button-label",4,"ngIf"],[3,"ngClass"],[1,"p-button-label"]],template:function(e,i){1&e&&($r(),S(0,"button",0),se("click",function(o){return i.onClick.emit(o)})("focus",function(o){return i.onFocus.emit(o)})("blur",function(o){return i.onBlur.emit(o)}),xi(1),D(2,oJ,1,0,"ng-container",1),D(3,aJ,1,9,"span",2),D(4,lJ,2,2,"span",3),D(5,cJ,2,4,"span",2),E()),2&e&&(jt(i.styleClass),_("ngStyle",i.style)("disabled",i.disabled||i.loading)("ngClass",function Nk(n,t,e,i,r,o,s,a){const l=wr()+n,c=le(),u=Lo(c,l,e,i,r,o);return lr(c,l+4,s)||u?Ns(c,l+5,a?t.call(a,e,i,r,o,s):t(e,i,r,o,s)):Xf(c,l+5)}(11,uJ,i.icon&&!i.label,("top"===i.iconPos||"bottom"===i.iconPos)&&i.label,i.disabled||i.loading,i.loading,i.loading&&!i.icon&&i.label)),Ct("type",i.type)("aria-label",i.ariaLabel),b(2),_("ngTemplateOutlet",i.contentTemplate),b(1),_("ngIf",!i.contentTemplate&&(i.icon||i.loading)),b(1),_("ngIf",!i.contentTemplate&&i.label),b(1),_("ngIf",!i.contentTemplate&&i.badge))},dependencies:[Qn,zt,qr,Ai,wl],encapsulation:2,changeDetection:0}),n})(),wo=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn,Ra]}),n})();function Zr(n){return n instanceof Dt?n.nativeElement:n}function xv(n,t,e,i){return k(e)&&(i=e,e=void 0),i?xv(n,t,e).pipe(fe(r=>R(r)?i(...r):i(r))):new Ee(r=>{nR(n,t,function o(s){r.next(arguments.length>1?Array.prototype.slice.call(arguments):s)},r,e)})}function nR(n,t,e,i,r){let o;if(function gJ(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const s=n;n.addEventListener(t,e,r),o=()=>s.removeEventListener(t,e,r)}else if(function mJ(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const s=n;n.on(t,e),o=()=>s.off(t,e)}else if(function pJ(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const s=n;n.addListener(t,e),o=()=>s.removeListener(t,e)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let s=0,a=n.length;s0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}});let vJ=1;const bJ=Promise.resolve(),Iv={};function rR(n){return n in Iv&&(delete Iv[n],!0)}const oR={setImmediate(n){const t=vJ++;return Iv[t]=!0,bJ.then(()=>rR(t)&&n()),t},clearImmediate(n){rR(n)}},x1=new class wJ extends gs{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,r=-1,o=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++r0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=oR.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(oR.clearImmediate(e),t.scheduled=void 0)}}),Xd=new gs(W_);class DJ{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new MJ(t,this.durationSelector))}}class MJ extends ts{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:r}=this;e=r(t)}catch(r){return this.destination.error(r)}const i=uc(e,new Wn(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=void 0,i.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function I1(n){return!R(n)&&n-parseFloat(n)+1>=0}function sR(n=0,t,e){let i=-1;return I1(t)?i=Number(t)<1?1:Number(t):Di(t)&&(e=t),Di(e)||(e=Xd),new Ee(r=>{const o=I1(n)?n:+n-e.now();return e.schedule(SJ,o,{index:0,period:i,subscriber:r})})}function SJ(n){const{index:t,period:e,subscriber:i}=n;if(i.next(t),!i.closed){if(-1===e)return i.complete();n.index=t+1,this.schedule(n,e)}}let O1;try{O1=typeof Intl<"u"&&Intl.v8BreakIterator}catch{O1=!1}let Pp,A1,lR=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function _G(n){return n===d2}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!O1)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(F(C_))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Lp(n){return function EJ(){if(null==Pp&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Pp=!0}))}finally{Pp=Pp||!1}return Pp}()?n:!!n.capture}function uR(n){if(function xJ(){if(null==A1){const n=typeof document<"u"?document.head:null;A1=!(!n||!n.createShadowRoot&&!n.attachShadow)}return A1}()){const t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Av(n){return n.composedPath?n.composedPath()[0]:n.target}let kJ=(()=>{class n{constructor(e,i,r){this._platform=e,this._change=new ue,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(function aR(n,t=Xd){return function TJ(n){return function(e){return e.lift(new DJ(n))}}(()=>sR(n,t))}(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(F(lR),F(Yt),F(jn,8))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),NJ=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({}),n})();function Dl(){}function pn(n,t,e){return function(r){return r.lift(new XJ(n,t,e))}}class XJ{constructor(t,e,i){this.nextOrObserver=t,this.error=e,this.complete=i}call(t,e){return e.subscribe(new eX(t,this.nextOrObserver,this.error,this.complete))}}class eX extends re{constructor(t,e,i,r){super(t),this._tapNext=Dl,this._tapError=Dl,this._tapComplete=Dl,this._tapError=i||Dl,this._tapComplete=r||Dl,k(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||Dl,this._tapError=e.error||Dl,this._tapComplete=e.complete||Dl)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}function th(n,t=Xd){return e=>e.lift(new tX(n,t))}class tX{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new nX(t,this.dueTime,this.scheduler))}}class nX extends re{constructor(t,e,i){super(t),this.dueTime=e,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(iX,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function iX(n){n.debouncedNext()}class sX{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new ue,this._typeaheadSubscription=ce.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new ue,this.change=new ue,t instanceof cp&&(this._itemChangesSubscription=t.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(pn(e=>this._pressedLetters.push(e)),th(t),Tn(()=>this._pressedLetters.length>0),fe(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let r=1;r!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(on[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),i="number"==typeof t?t:e.indexOf(t);this._activeItem=e[i]??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const r=(this._activeItemIndex+t*i+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(!i[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof cp?this._items.toArray():this._items}}class fR extends sX{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}function gX(n){const{subscriber:t,counter:e,period:i}=n;t.next(e),this.schedule({subscriber:t,counter:e+1,period:i},i)}function yn(n){return t=>t.lift(new yX(n))}class yX{constructor(t){this.notifier=t}call(t,e){const i=new _X(t),r=uc(this.notifier,new Wn(i));return r&&!i.seenValue?(i.add(r),e.subscribe(i)):i}}class _X extends ts{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}function k1(...n){return function vX(){return el(1)}()(Re(...n))}const mR=(()=>{function n(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return n.prototype=Object.create(Error.prototype),n})();function At(n){return t=>0===n?G_():t.lift(new bX(n))}class bX{constructor(t){if(this.total=t,this.total<0)throw new mR}call(t,e){return e.subscribe(new CX(t,this.total))}}class CX extends re{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,i=++this.count;i<=e&&(this.destination.next(t),i===e&&(this.destination.complete(),this.unsubscribe()))}}function N1(n,t,e){for(let i in t)if(t.hasOwnProperty(i)){const r=t[i];r?n.setProperty(i,r,e?.has(i)?"important":""):n.removeProperty(i)}return n}function nh(n,t){const e=t?"":"none";N1(n.style,{"touch-action":t?"":"none","-webkit-user-drag":t?"":"none","-webkit-tap-highlight-color":t?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function yR(n,t,e){N1(n.style,{position:t?"":"fixed",top:t?"":"0",opacity:t?"":"0",left:t?"":"-999em"},e)}function Nv(n,t){return t&&"none"!=t?n+" "+t:n}function _R(n){const t=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*t}function P1(n,t){return n.getPropertyValue(t).split(",").map(i=>i.trim())}function L1(n){const t=n.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height,x:t.x,y:t.y}}function R1(n,t,e){const{top:i,bottom:r,left:o,right:s}=n;return e>=i&&e<=r&&t>=o&&t<=s}function Rp(n,t,e){n.top+=t,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function vR(n,t,e,i){const{top:r,right:o,bottom:s,left:a,width:l,height:c}=n,u=l*t,d=c*t;return i>r-d&&ia-u&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:L1(e)})})}handleScroll(t){const e=Av(t),i=this.positions.get(e);if(!i)return null;const r=i.scrollPosition;let o,s;if(e===this._document){const c=this.getViewportScrollPosition();o=c.top,s=c.left}else o=e.scrollTop,s=e.scrollLeft;const a=r.top-o,l=r.left-s;return this.positions.forEach((c,u)=>{c.clientRect&&e!==u&&e.contains(u)&&Rp(c.clientRect,a,l)}),r.top=o,r.left=s,{top:a,left:l}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function CR(n){const t=n.cloneNode(!0),e=t.querySelectorAll("[id]"),i=n.nodeName.toLowerCase();t.removeAttribute("id");for(let r=0;rnh(i,e)))}constructor(t,e,i,r,o,s){this._config=e,this._document=i,this._ngZone=r,this._viewportRuler=o,this._dragDropRegistry=s,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new ue,this._pointerMoveSubscription=ce.EMPTY,this._pointerUpSubscription=ce.EMPTY,this._scrollSubscription=ce.EMPTY,this._resizeSubscription=ce.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new ue,this.started=new ue,this.released=new ue,this.ended=new ue,this.entered=new ue,this.exited=new ue,this.dropped=new ue,this.moved=this._moveEvents,this._pointerDown=a=>{if(this.beforeStarted.next(),this._handles.length){const l=this._getTargetHandle(a);l&&!this._disabledHandles.has(l)&&!this.disabled&&this._initializeDragSequence(l,a)}else this.disabled||this._initializeDragSequence(this._rootElement,a)},this._pointerMove=a=>{const l=this._getPointerPositionOnPage(a);if(!this._hasStartedDragging){if(Math.abs(l.x-this._pickupPositionOnPage.x)+Math.abs(l.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const f=Date.now()>=this._dragStartTime+this._getDragStartDelay(a),p=this._dropContainer;if(!f)return void this._endDragSequence(a);(!p||!p.isDragging()&&!p.isReceiving())&&(a.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(a)))}return}a.preventDefault();const c=this._getConstrainedPointerPosition(l);if(this._hasMoved=!0,this._lastKnownPointerPosition=l,this._updatePointerDirectionDelta(c),this._dropContainer)this._updateActiveDropContainer(c,l);else{const u=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,d=this._activeTransform;d.x=c.x-u.x+this._passiveTransform.x,d.y=c.y-u.y+this._passiveTransform.y,this._applyRootElementTransform(d.x,d.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:c,event:a,distance:this._getDragDistance(c),delta:this._pointerDirectionDelta})})},this._pointerUp=a=>{this._endDragSequence(a)},this._nativeDragStart=a=>{if(this._handles.length){const l=this._getTargetHandle(a);l&&!this._disabledHandles.has(l)&&!this.disabled&&a.preventDefault()}else this.disabled||a.preventDefault()},this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new bR(i),s.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(i=>Zr(i)),this._handles.forEach(i=>nh(i,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&e.add(i)}),this._disabledHandles=e,this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=Zr(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,Pv),e.addEventListener("touchstart",this._pointerDown,MR),e.addEventListener("dragstart",this._nativeDragStart,Pv)}),this._initialTransform=void 0,this._rootElement=e),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?Zr(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),nh(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),nh(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview?.remove(),this._previewRef?.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:t}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e,event:t})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(t){Fp(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const i=this._rootElement,r=i.parentNode,o=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment(""),a=this._getShadowRoot();r.insertBefore(s,i),this._initialTransform=i.style.transform||"",this._preview=this._createPreviewElement(),yR(i,!1,F1),this._document.body.appendChild(r.replaceChild(o,i)),this._getPreviewInsertionPoint(r,a).appendChild(this._preview),this.started.next({source:this,event:t}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this,event:t}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){this._parentDragRef&&e.stopPropagation();const i=this.isDragging(),r=Fp(e),o=!r&&0!==e.button,s=this._rootElement,a=Av(e),l=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),c=r?function fX(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}(e):function hX(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}(e);if(a&&a.draggable&&"mousedown"===e.type&&e.preventDefault(),i||o||l||c)return;if(this._handles.length){const h=s.style;this._rootElementTapHighlight=h.webkitTapHighlightColor||"",h.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(h=>this._updateOnScroll(h)),this._boundaryElement&&(this._boundaryRect=L1(this._boundaryElement));const u=this._previewTemplate;this._pickupPositionInElement=u&&u.template&&!u.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,t,e);const d=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:d.x,y:d.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){yR(this._rootElement,!0,F1),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,i=e.getItemIndex(this),r=this._getPointerPositionOnPage(t),o=this._getDragDistance(r),s=e._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:o,dropPoint:r,event:t}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:s,distance:o,dropPoint:r,event:t}),e.drop(this,i,this._initialIndex,this._initialContainer,s,o,r,t),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:i,y:r}){let o=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!o&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(o=this._initialContainer),o&&o!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=o,this._dropContainer.enter(this,t,e,o===this._initialContainer&&o.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:o,currentIndex:o.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,r),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(t,e):this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,i=t?t.template:null;let r;if(i&&t){const o=t.matchSize?this._initialClientRect:null,s=t.viewContainer.createEmbeddedView(i,t.context);s.detectChanges(),r=ER(s,this._document),this._previewRef=s,t.matchSize?xR(r,o):r.style.transform=Lv(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else r=CR(this._rootElement),xR(r,this._initialClientRect),this._initialTransform&&(r.style.transform=this._initialTransform);return N1(r.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},F1),nh(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(o=>r.classList.add(o)):r.classList.add(e)),r}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);const e=function SX(n){const t=getComputedStyle(n),e=P1(t,"transition-property"),i=e.find(a=>"transform"===a||"all"===a);if(!i)return 0;const r=e.indexOf(i),o=P1(t,"transition-duration"),s=P1(t,"transition-delay");return _R(o[r])+_R(s[r])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{const r=s=>{(!s||Av(s)===this._preview&&"transform"===s.propertyName)&&(this._preview?.removeEventListener("transitionend",r),i(),clearTimeout(o))},o=setTimeout(r,1.5*e);this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let i;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),i=ER(this._placeholderRef,this._document)):i=CR(this._rootElement),i.style.pointerEvents="none",i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(t,e,i){const r=e===this._rootElement?null:e,o=r?r.getBoundingClientRect():t,s=Fp(i)?i.targetTouches[0]:i,a=this._getViewportScrollPosition();return{x:o.left-t.left+(s.pageX-o.left-a.left),y:o.top-t.top+(s.pageY-o.top-a.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),i=Fp(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,r=i.pageX-e.left,o=i.pageY-e.top;if(this._ownerSVGElement){const s=this._ownerSVGElement.getScreenCTM();if(s){const a=this._ownerSVGElement.createSVGPoint();return a.x=r,a.y=o,a.matrixTransform(s.inverse())}}return{x:r,y:o}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:r}=this.constrainPosition?this.constrainPosition(t,this,this._initialClientRect,this._pickupPositionInElement):t;if("x"===this.lockAxis||"x"===e?r=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:o,y:s}=this._pickupPositionInElement,a=this._boundaryRect,{width:l,height:c}=this._getPreviewRect(),u=a.top+s,d=a.bottom-(c-s);i=SR(i,a.left+o,a.right-(l-o)),r=SR(r,u,d)}return{x:i,y:r}}_updatePointerDirectionDelta(t){const{x:e,y:i}=t,r=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,s=Math.abs(e-o.x),a=Math.abs(i-o.y);return s>this._config.pointerDirectionChangeThreshold&&(r.x=e>o.x?1:-1,o.x=e),a>this._config.pointerDirectionChangeThreshold&&(r.y=i>o.y?1:-1,o.y=i),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,nh(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,Pv),t.removeEventListener("touchstart",this._pointerDown,MR),t.removeEventListener("dragstart",this._nativeDragStart,Pv)}_applyRootElementTransform(t,e){const i=Lv(t,e),r=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=r.transform&&"none"!=r.transform?r.transform:""),r.transform=Nv(i,this._initialTransform)}_applyPreviewTransform(t,e){const i=this._previewTemplate?.template?void 0:this._initialTransform,r=Lv(t,e);this._preview.style.transform=Nv(r,i)}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const i=this._rootElement.getBoundingClientRect(),r=this._boundaryElement.getBoundingClientRect();if(0===r.width&&0===r.height||0===i.width&&0===i.height)return;const o=r.left-i.left,s=i.right-r.right,a=r.top-i.top,l=i.bottom-r.bottom;r.width>i.width?(o>0&&(t+=o),s>0&&(t-=s)):t=0,r.height>i.height?(a>0&&(e+=a),l>0&&(e-=l)):e=0,(t!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:Fp(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const i=Av(t);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&Rp(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=uR(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){const i=this._previewContainer||"global";if("parent"===i)return t;if("global"===i){const r=this._document;return e||r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body}return Zr(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(t){return this._handles.find(e=>t.target&&(t.target===e||e.contains(t.target)))}}function Lv(n,t){return`translate3d(${Math.round(n)}px, ${Math.round(t)}px, 0)`}function SR(n,t,e){return Math.max(t,Math.min(e,n))}function Fp(n){return"t"===n.type[0]}function ER(n,t){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===t.ELEMENT_NODE)return e[0];const i=t.createElement("div");return e.forEach(r=>i.appendChild(r)),i}function xR(n,t){n.style.width=`${t.width}px`,n.style.height=`${t.height}px`,n.style.transform=Lv(t.left,t.top)}function jp(n,t){return Math.max(0,Math.min(t,n))}class AX{constructor(t,e){this._element=t,this._dragDropRegistry=e,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(t){this.withItems(t)}sort(t,e,i,r){const o=this._itemPositions,s=this._getItemIndexFromPointerPosition(t,e,i,r);if(-1===s&&o.length>0)return null;const a="horizontal"===this.orientation,l=o.findIndex(g=>g.drag===t),c=o[s],d=c.clientRect,h=l>s?1:-1,f=this._getItemOffsetPx(o[l].clientRect,d,h),p=this._getSiblingOffsetPx(l,o,h),m=o.slice();return function OX(n,t,e){const i=jp(t,n.length-1),r=jp(e,n.length-1);if(i===r)return;const o=n[i],s=r{if(m[y]===g)return;const w=g.drag===t,T=w?f:p,v=w?t.getPlaceholderElement():g.drag.getRootElement();g.offset+=T,a?(v.style.transform=Nv(`translate3d(${Math.round(g.offset)}px, 0, 0)`,g.initialTransform),Rp(g.clientRect,0,T)):(v.style.transform=Nv(`translate3d(0, ${Math.round(g.offset)}px, 0)`,g.initialTransform),Rp(g.clientRect,T,0))}),this._previousSwap.overlaps=R1(d,e,i),this._previousSwap.drag=c.drag,this._previousSwap.delta=a?r.x:r.y,{previousIndex:l,currentIndex:s}}enter(t,e,i,r){const o=null==r||r<0?this._getItemIndexFromPointerPosition(t,e,i):r,s=this._activeDraggables,a=s.indexOf(t),l=t.getPlaceholderElement();let c=s[o];if(c===t&&(c=s[o+1]),!c&&(null==o||-1===o||o-1&&s.splice(a,1),c&&!this._dragDropRegistry.isDragging(c)){const u=c.getRootElement();u.parentElement.insertBefore(l,u),s.splice(o,0,t)}else Zr(this._element).appendChild(l),s.push(t);l.style.transform="",this._cacheItemPositions()}withItems(t){this._activeDraggables=t.slice(),this._cacheItemPositions()}withSortPredicate(t){this._sortPredicate=t}reset(){this._activeDraggables.forEach(t=>{const e=t.getRootElement();if(e){const i=this._itemPositions.find(r=>r.drag===t)?.initialTransform;e.style.transform=i||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(t){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(i=>i.drag===t)}updateOnScroll(t,e){this._itemPositions.forEach(({clientRect:i})=>{Rp(i,t,e)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}_cacheItemPositions(){const t="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(e=>{const i=e.getVisibleElement();return{drag:e,offset:0,initialTransform:i.style.transform||"",clientRect:L1(i)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_getItemOffsetPx(t,e,i){const r="horizontal"===this.orientation;let o=r?e.left-t.left:e.top-t.top;return-1===i&&(o+=r?e.width-t.width:e.height-t.height),o}_getSiblingOffsetPx(t,e,i){const r="horizontal"===this.orientation,o=e[t].clientRect,s=e[t+-1*i];let a=o[r?"width":"height"]*i;if(s){const l=r?"left":"top",c=r?"right":"bottom";-1===i?a-=s.clientRect[l]-o[c]:a+=o[l]-s.clientRect[c]}return a}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,r="horizontal"===this.orientation;if(i[0].drag!==this._activeDraggables[0]){const s=i[i.length-1].clientRect;return r?t>=s.right:e>=s.bottom}{const s=i[0].clientRect;return r?t<=s.left:e<=s.top}}_getItemIndexFromPointerPosition(t,e,i,r){const o="horizontal"===this.orientation,s=this._itemPositions.findIndex(({drag:a,clientRect:l})=>a!==t&&((!r||a!==this._previousSwap.drag||!this._previousSwap.overlaps||(o?r.x:r.y)!==this._previousSwap.delta)&&(o?e>=Math.floor(l.left)&&e=Math.floor(l.top)&&i!0,this.sortPredicate=()=>!0,this.beforeStarted=new ue,this.entered=new ue,this.exited=new ue,this.dropped=new ue,this.sorted=new ue,this.receivingStarted=new ue,this.receivingStopped=new ue,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=ce.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new ue,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function mX(n=0,t=Xd){return(!I1(n)||n<0)&&(n=0),(!t||"function"!=typeof t.schedule)&&(t=Xd),new Ee(e=>(e.add(t.schedule(gX,n,{subscriber:e,counter:0,period:n})),e))}(0,iR).pipe(yn(this._stopScrollTimers)).subscribe(()=>{const s=this._scrollNode,a=this.autoScrollStep;1===this._verticalScrollDirection?s.scrollBy(0,-a):2===this._verticalScrollDirection&&s.scrollBy(0,a),1===this._horizontalScrollDirection?s.scrollBy(-a,0):2===this._horizontalScrollDirection&&s.scrollBy(a,0)})},this.element=Zr(t),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new bR(i),this._sortStrategy=new AX(this.element,e),this._sortStrategy.withSortPredicate((s,a)=>this.sortPredicate(s,a,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,e,i,r){this._draggingStarted(),null==r&&this.sortingDisabled&&(r=this._draggables.indexOf(t)),this._sortStrategy.enter(t,e,i,r),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,i,r,o,s,a,l={}){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:i,container:this,previousContainer:r,isPointerOverContainer:o,distance:s,dropPoint:a,event:l})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(e.filter(r=>r.isDragging()).every(r=>-1===t.indexOf(r))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(t){return this._sortStrategy.direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._sortStrategy.orientation=t,this}withScrollableParents(t){const e=Zr(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?this._sortStrategy.getItemIndex(t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,i,r){if(this.sortingDisabled||!this._clientRect||!vR(this._clientRect,.05,e,i))return;const o=this._sortStrategy.sort(t,e,i,r);o&&this.sorted.next({previousIndex:o.previousIndex,currentIndex:o.currentIndex,container:this,item:t})}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let i,r=0,o=0;if(this._parentPositions.positions.forEach((s,a)=>{a===this._document||!s.clientRect||i||vR(s.clientRect,.05,t,e)&&([r,o]=function NX(n,t,e,i){const r=AR(t,i),o=kR(t,e);let s=0,a=0;if(r){const l=n.scrollTop;1===r?l>0&&(s=1):n.scrollHeight-l>n.clientHeight&&(s=2)}if(o){const l=n.scrollLeft;1===o?l>0&&(a=1):n.scrollWidth-l>n.clientWidth&&(a=2)}return[s,a]}(a,s.clientRect,t,e),(r||o)&&(i=a))}),!r&&!o){const{width:s,height:a}=this._viewportRuler.getViewportSize(),l={width:s,height:a,top:0,right:s,bottom:a,left:0};r=AR(l,e),o=kR(l,t),i=window}i&&(r!==this._verticalScrollDirection||o!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=r,this._horizontalScrollDirection=o,this._scrollNode=i,(r||o)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=Zr(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=Zr(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_reset(){this._isDragging=!1;const t=Zr(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(t,e){return null!=this._clientRect&&R1(this._clientRect,t,e)}_getSiblingContainerFromPosition(t,e,i){return this._siblings.find(r=>r._canReceive(t,e,i))}_canReceive(t,e,i){if(!this._clientRect||!R1(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const r=this._getShadowRoot().elementFromPoint(e,i);if(!r)return!1;const o=Zr(this.element);return r===o||o.contains(r)}_startReceiving(t,e){const i=this._activeSiblings;!i.has(t)&&e.every(r=>this.enterPredicate(r,this)||this._draggables.indexOf(r)>-1)&&(i.add(t),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:t,receiver:this,items:e}))}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:t,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&this._sortStrategy.updateOnScroll(e.top,e.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const t=uR(Zr(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function AR(n,t){const{top:e,bottom:i,height:r}=n,o=.05*r;return t>=e-o&&t<=e+o?1:t>=i-o&&t<=i+o?2:0}function kR(n,t){const{left:e,right:i,width:r}=n,o=.05*r;return t>=e-o&&t<=e+o?1:t>=i-o&&t<=i+o?2:0}const Rv=Lp({passive:!1,capture:!0});let PX=(()=>{class n{constructor(e,i){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=r=>r.isDragging(),this.pointerMove=new ue,this.pointerUp=new ue,this.scroll=new ue,this._preventDefaultWhileDragging=r=>{this._activeDragInstances.length>0&&r.preventDefault()},this._persistentTouchmoveListener=r=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&r.preventDefault(),this.pointerMove.next(r))},this._document=i}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,Rv)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Rv)}startDragging(e,i){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const r=i.type.startsWith("touch");this._globalListeners.set(r?"touchend":"mouseup",{handler:o=>this.pointerUp.next(o),options:!0}).set("scroll",{handler:o=>this.scroll.next(o),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Rv}),r||this._globalListeners.set("mousemove",{handler:o=>this.pointerMove.next(o),options:Rv}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((o,s)=>{this._document.addEventListener(s,o.handler,o.options)})})}}stopDragging(e){const i=this._activeDragInstances.indexOf(e);i>-1&&(this._activeDragInstances.splice(i,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const i=[this.scroll];return e&&e!==this._document&&i.push(new Ee(r=>this._ngZone.runOutsideAngular(()=>{const s=a=>{this._activeDragInstances.length&&r.next(a)};return e.addEventListener("scroll",s,!0),()=>{e.removeEventListener("scroll",s,!0)}}))),Ts(...i)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,i)=>{this._document.removeEventListener(i,e.handler,e.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(e){return new(e||n)(F(Yt),F(jn))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const LX={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let j1=(()=>{class n{constructor(e,i,r,o){this._document=e,this._ngZone=i,this._viewportRuler=r,this._dragDropRegistry=o}createDrag(e,i=LX){return new IX(e,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new kX(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(F(jn),F(Yt),F(kJ),F(PX))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),FR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({providers:[j1],imports:[NJ]}),n})(),U1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn,wo,Uo,Ra,FR,Uo,FR]}),n})();const ree=["data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuNjMyODEgMjJWMjEuMDE1Nkw3LjkwNjI1IDIwLjc5NjlWMTEuODM1OUw2LjYzMjgxIDExLjYxNzJWMTAuNjI1SDEwLjcxODhWMTEuNjE3Mkw5LjQ0NTMxIDExLjgzNTlWMTUuNzY1NkgxNC44ODI4VjExLjgzNTlMMTMuNjA5NCAxMS42MTcyVjEwLjYyNUgxNy42OTUzVjExLjYxNzJMMTYuNDIxOSAxMS44MzU5VjIwLjc5NjlMMTcuNjk1MyAyMS4wMTU2VjIySDEzLjYwOTRWMjEuMDE1NkwxNC44ODI4IDIwLjc5NjlWMTYuOTc2Nkg5LjQ0NTMxVjIwLjc5NjlMMTAuNzE4OCAyMS4wMTU2VjIySDYuNjMyODFaTTE5LjI3MzQgMjJWMjEuMDE1NkwyMS4wMzEyIDIwLjc5NjlWMTIuMjczNEwxOS4yNDIyIDEyLjMwNDdWMTEuMzQzOEwyMi41NzAzIDEwLjYyNVYyMC43OTY5TDI0LjMyMDMgMjEuMDE1NlYyMkgxOS4yNzM0WiIgZmlsbD0iIzIyMjIyMiIvPgo8L3N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NC4xMDk0QzE1LjkwMzYgMTQuNjc3MSAxNi40NTgzIDE0Ljk2MDkgMTcuMTI1IDE0Ljk2MDlaIiBmaWxsPSJibGFjayIvPgo8L3N2Zz4K"],pee=new wD(document),jR=[...Array(6).keys()].map(n=>{const t=n+1;return{label:`Heading ${t}`,icon:Vs(ree[n]||""),id:`heading${t}`,attributes:{level:t}}}),H1={label:"Paragraph",icon:Vs("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuNDc0NjEgMTZWMTUuMjYxN0w3LjQyOTY5IDE1LjA5NzdWOC4zNzY5NUw2LjQ3NDYxIDguMjEyODlWNy40Njg3NUgxMC4zOTQ1QzExLjMwNDcgNy40Njg3NSAxMi4wMTE3IDcuNzAzMTIgMTIuNTE1NiA4LjE3MTg4QzEzLjAyMzQgOC42NDA2MiAxMy4yNzczIDkuMjU3ODEgMTMuMjc3MyAxMC4wMjM0QzEzLjI3NzMgMTAuNzk2OSAxMy4wMjM0IDExLjQxNiAxMi41MTU2IDExLjg4MDlDMTIuMDExNyAxMi4zNDU3IDExLjMwNDcgMTIuNTc4MSAxMC4zOTQ1IDEyLjU3ODFIOC41ODM5OFYxNS4wOTc3TDkuNTM5MDYgMTUuMjYxN1YxNkg2LjQ3NDYxWk04LjU4Mzk4IDExLjY3NThIMTAuMzk0NUMxMC45NzI3IDExLjY3NTggMTEuNDA0MyAxMS41MjE1IDExLjY4OTUgMTEuMjEyOUMxMS45Nzg1IDEwLjkwMDQgMTIuMTIzIDEwLjUwNzggMTIuMTIzIDEwLjAzNTJDMTIuMTIzIDkuNTYyNSAxMS45Nzg1IDkuMTY3OTcgMTEuNjg5NSA4Ljg1MTU2QzExLjQwNDMgOC41MzUxNiAxMC45NzI3IDguMzc2OTUgMTAuM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4LjggMTZMMTMuNCAxMS40TDEyIDEwTDYgMTZMMTIgMjJMMTMuNCAyMC42Wk0xOC42IDIwLjZMMjMuMiAxNkwxOC42IDExLjRMMjAgMTBMMjYgMTZMMjAgMjJMMTguNiAyMC42WiIgZmlsbD0iYmxhY2siLz4KPC9zdmc+Cg=="),id:"codeBlock"},{label:"Horizontal Line",icon:Vs("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3QgeD0iNiIgeT0iMTUiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyIiBmaWxsPSJibGFjayIvPgo8L3N2Zz4K"),id:"horizontalRule"}];function Vs(n){return pee.bypassSecurityTrustUrl(n)}const Fv=[{label:"Image",icon:"image",id:"image"},{label:"Video",icon:"movie",id:"video"},...jR,{label:"Table",icon:"table_view",id:"table"},...zR,..._ee,H1],vee=[...jR,H1,...zR],bee=[{name:"flip",options:{fallbackPlacements:["top"]}},{name:"preventOverflow",options:{altAxis:!1,tether:!1}}],wee={horizontalRule:!0,table:!0,image:!0,video:!0},Tee=[...Fv.filter(n=>!wee[n.id])],VR=function({type:n,editor:t,range:e,suggestionKey:i,ItemsType:r}){const o={to:e.to+i.getState(t.view.state).query?.length,from:n===r.BLOCK?e.from:e.from+1};t.chain().deleteRange(o).run()},BR={duration:[250,0],interactive:!0,maxWidth:"none",trigger:"manual",placement:"bottom-start",hideOnClick:"toggle",popperOptions:{modifiers:[{name:"flip",options:{fallbackPlacements:["top-start"]}}]}};function Oe(...n){const t=n.length;if(0===t)throw new Error("list of properties cannot be empty.");return e=>fe(function Dee(n,t){return i=>{let r=i;for(let o=0;oe?r[e]:null}return i}camelize(t){return t.replace(/(?:^\w|[A-Z]|\b\w)/g,(e,i)=>0===i?e.toLowerCase():e.toUpperCase()).replace(/\s+/g,"")}titleCase(t){return`${t.charAt(0).toLocaleUpperCase()}${t.slice(1)}`}}$c.\u0275fac=function(t){return new(t||$c)},$c.\u0275prov=H({token:$c,factory:$c.\u0275fac});class See{getQueryParams(){const t=window.location.search.substring(1).split("&"),e=new Map;return t.forEach(i=>{const r=i.split("=");e.set(r[0],r[1])}),e}getQueryStringParam(t){let e=null;const r=new RegExp("[?&]"+t.replace(/[\[\]]/g,"\\$&")+"(=([^&#]*)|&|#|$)").exec(window.location.href);return r&&r[2]&&(e=decodeURIComponent(r[2].replace(/\+/g," "))),e}}class To{constructor(t){this.stringUtils=t,this.showLogs=!0,this.httpRequestUtils=new See,this.showLogs=this.shouldShowLogs(),this.showLogs&&console.info("Setting the logger --\x3e Developer mode logger on")}info(t,...e){e&&e.length>0?console.info(this.wrapMessage(t),e):console.info(this.wrapMessage(t))}error(t,...e){e&&e.length>0?console.error(this.wrapMessage(t),e):console.error(this.wrapMessage(t))}warn(t,...e){e&&e.length>0?console.warn(this.wrapMessage(t),e):console.warn(this.wrapMessage(t))}debug(t,...e){e&&e.length>0?console.debug(this.wrapMessage(t),e):console.debug(this.wrapMessage(t))}shouldShowLogs(){this.httpRequestUtils.getQueryStringParam("devMode");return!0}wrapMessage(t){return this.showLogs?t:this.getCaller()+">> "+t}getCaller(){let t="unknown";try{throw new Error}catch(e){t=this.cleanCaller(this.stringUtils.getLine(e.stack,4))}return t}cleanCaller(t){return t?t.trim().substr(3):"unknown"}}To.\u0275fac=function(t){return new(t||To)(F($c))},To.\u0275prov=H({token:To,factory:To.\u0275fac});class ih{constructor(t,e){this.loggerService=t,this.suppressAlerts=!1,this.locale=e;try{const i=window.location.search.substring(1);this.locale=this.checkQueryForUrl(i)}catch{this.loggerService.error("Could not set locale from URL.")}}checkQueryForUrl(t){let e=this.locale;if(t&&t.length){const i=t,r="locale=",o=i.indexOf(r);if(o>=0){let s=i.indexOf("&",o);s=-1!==s?s:i.indexOf("#",o),s=-1!==s?s:i.length,e=i.substring(o+r.length,s)}}return e}}ih.\u0275fac=function(t){return new(t||ih)(F(To),F(Ls))},ih.\u0275prov=H({token:ih,factory:ih.\u0275fac});class Bs{constructor(t,e){this.loggerService=e,this.siteId="48190c8c-42c4-46af-8d1a-0cd5db894797",this.hideFireOn=!1,this.hideRulePushOptions=!1,this.authUser=t;try{let i=document.location.search.substring(1);""===i&&document.location.hash.indexOf("?")>=0&&(i=document.location.hash.substr(document.location.hash.indexOf("?")+1));const r=Bs.parseQueryParam(i,"realmId");r&&(this.siteId=r,this.loggerService.debug("Site Id set to ",this.siteId));const o=Bs.parseQueryParam(i,"hideFireOn");o&&(this.hideFireOn="true"===o||"1"===o,this.loggerService.debug("hideFireOn set to ",this.hideFireOn));const s=Bs.parseQueryParam(i,"hideRulePushOptions");s&&(this.hideRulePushOptions="true"===s||"1"===s,this.loggerService.debug("hideRulePushOptions set to ",this.hideRulePushOptions)),this.configureUser(i,t)}catch(i){this.loggerService.error("Could not set baseUrl automatically.",i)}}static parseQueryParam(t,e){let i=-1,r=null;if(e+="=",t&&t.length&&(i=t.indexOf(e)),i>=0){let o=t.indexOf("&",i);o=-1!==o?o:t.length,r=t.substring(i+e.length,o)}return r}configureUser(t,e){e.suppressAlerts="true"===Bs.parseQueryParam(t,"suppressAlerts")}}Bs.\u0275fac=function(t){return new(t||Bs)(F(ih),F(To))},Bs.\u0275prov=H({token:Bs,factory:Bs.\u0275fac});class zp{isIE11(){return"Netscape"===navigator.appName&&-1!==navigator.appVersion.indexOf("Trident")}}function zi(n){return function(e){const i=new xee(n),r=e.lift(i);return i.caught=r}}zp.\u0275fac=function(t){return new(t||zp)},zp.\u0275prov=H({token:zp,factory:zp.\u0275fac});class xee{constructor(t){this.selector=t}call(t,e){return e.subscribe(new Iee(t,this.selector,this.caught))}}class Iee extends ts{constructor(t,e,i){super(t),this.selector=e,this.caught=i}error(t){if(!this.isStopped){let e;try{e=this.selector(t,this.caught)}catch(o){return void super.error(o)}this._unsubscribeAndRecycle();const i=new Wn(this);this.add(i);const r=uc(e,i);r!==i&&this.add(r)}}}var Wc=(()=>(function(n){n[n.BAD_REQUEST=400]="BAD_REQUEST",n[n.FORBIDDEN=403]="FORBIDDEN",n[n.NOT_FOUND=404]="NOT_FOUND",n[n.NO_CONTENT=204]="NO_CONTENT",n[n.SERVER_ERROR=500]="SERVER_ERROR",n[n.UNAUTHORIZED=401]="UNAUTHORIZED"}(Wc||(Wc={})),Wc))();const kee_1="Could not connect to server.";class $1{constructor(t,e,i,r,o){this.code=t,this.message=e,this.request=i,this.response=r,this.source=o}}class W1{constructor(t){this.resp=t;try{this.bodyJsonObject=t.body,this.headers=t.headers}catch{this.bodyJsonObject=null}}header(t){return this.headers.get(t)}get i18nMessagesMap(){return this.bodyJsonObject.i18nMessagesMap}get contentlets(){return this.bodyJsonObject.contentlets}get entity(){return this.bodyJsonObject.entity}get tempFiles(){return this.bodyJsonObject.tempFiles}get errorsMessages(){let t="";return this.bodyJsonObject.errors?this.bodyJsonObject.errors.forEach(e=>{t+=e.message}):t=this.bodyJsonObject.messages.toString(),t}get status(){return this.resp.status}get response(){return this.resp}existError(t){return this.bodyJsonObject.errors&&this.bodyJsonObject.errors.filter(e=>e.errorCode===t).length>0}}class Jr extends ue{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new ve;return this._value}next(t){super.next(this._value=t)}}const jv=(()=>{function n(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return n.prototype=Object.create(Error.prototype),n})();class HR extends re{notifyNext(t,e,i,r,o){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class Pee extends re{constructor(t,e,i){super(),this.parent=t,this.outerValue=e,this.outerIndex=i,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function $R(n,t,e,i,r=new Pee(n,e,i)){if(!r.closed)return t instanceof Ee?t.subscribe(r):$e(t)(r)}const WR={};function zv(...n){let t,e;return Di(n[n.length-1])&&(e=n.pop()),"function"==typeof n[n.length-1]&&(t=n.pop()),1===n.length&&R(n[0])&&(n=n[0]),tl(n,e).lift(new Lee(t))}class Lee{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new Ree(t,this.resultSelector))}}class Ree extends HR{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(WR),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let i=0;i{let e;try{e=n()}catch(r){return void t.error(r)}return(e?Et(e):G_()).subscribe(t)})}function rh(n=null){return t=>t.lift(new Fee(n))}class Fee{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new jee(t,this.defaultValue))}}class jee extends re{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function YR(n=Bee){return t=>t.lift(new zee(n))}class zee{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new Vee(t,this.errorFactory))}}class Vee extends re{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function Bee(){return new jv}function Ml(n,t){const e=arguments.length>=2;return i=>i.pipe(n?Tn((r,o)=>n(r,o,i)):z,At(1),e?rh(t):YR(()=>new jv))}function Vv(n,t){let e=!1;return arguments.length>=2&&(e=!0),function(r){return r.lift(new Uee(n,t,e))}}class Uee{constructor(t,e,i=!1){this.accumulator=t,this.seed=e,this.hasSeed=i}call(t,e){return e.subscribe(new Hee(t,this.accumulator,this.seed,this.hasSeed))}}class Hee extends re{constructor(t,e,i,r){super(t),this.accumulator=e,this._seed=i,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let i;try{i=this.accumulator(this.seed,t,e)}catch(r){this.destination.error(r)}this.seed=i,this.destination.next(i)}}function Vp(n){return function(e){return 0===n?G_():e.lift(new $ee(n))}}class $ee{constructor(t){if(this.total=t,this.total<0)throw new mR}call(t,e){return e.subscribe(new Wee(t,this.total))}}class Wee extends re{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,i=this.total,r=this.count++;e.length0){const i=this.count>=this.total?this.total:this.count,r=this.ring;for(let o=0;o=2;return i=>i.pipe(n?Tn((r,o)=>n(r,o,i)):z,Vp(1),e?rh(t):YR(()=>new jv))}class Yee{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new qee(t,this.predicate,this.inclusive))}}class qee extends re{constructor(t,e,i){super(t),this.predicate=e,this.inclusive=i,this.index=0}_next(t){const e=this.destination;let i;try{i=this.predicate(t,this.index++)}catch(r){return void e.error(r)}this.nextOrComplete(t,i)}nextOrComplete(t,e){const i=this.destination;Boolean(e)?i.next(t):(this.inclusive&&i.next(t),i.complete())}}class Qee{constructor(t){this.value=t}call(t,e){return e.subscribe(new Zee(t,this.value))}}class Zee extends re{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}function G1(n){return t=>t.lift(new Jee(n))}class Jee{constructor(t){this.callback=t}call(t,e){return e.subscribe(new Xee(t,this.callback))}}class Xee extends re{constructor(t,e){super(t),this.add(new ce(e))}}const Rt="primary",Bp=Symbol("RouteTitle");class ete{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function oh(n){return new ete(n)}function tte(n,t,e){const i=e.path.split("/");if(i.length>n.length||"full"===e.pathMatch&&(t.hasChildren()||i.lengthi[o]===r)}return n===t}function QR(n){return Array.prototype.concat.apply([],n)}function ZR(n){return n.length>0?n[n.length-1]:null}function Zi(n,t){for(const e in n)n.hasOwnProperty(e)&&t(n[e],e)}function Sl(n){return dT(n)?n:ep(n)?Et(Promise.resolve(n)):Re(n)}const Bv=!1,ite={exact:function eF(n,t,e){if(!Yc(n.segments,t.segments)||!Uv(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(const i in t.children)if(!n.children[i]||!eF(n.children[i],t.children[i],e))return!1;return!0},subset:tF},JR={exact:function rte(n,t){return Us(n,t)},subset:function ote(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>KR(n[e],t[e]))},ignored:()=>!0};function XR(n,t,e){return ite[e.paths](n.root,t.root,e.matrixParams)&&JR[e.queryParams](n.queryParams,t.queryParams)&&!("exact"===e.fragment&&n.fragment!==t.fragment)}function tF(n,t,e){return nF(n,t,t.segments,e)}function nF(n,t,e,i){if(n.segments.length>e.length){const r=n.segments.slice(0,e.length);return!(!Yc(r,e)||t.hasChildren()||!Uv(r,e,i))}if(n.segments.length===e.length){if(!Yc(n.segments,e)||!Uv(n.segments,e,i))return!1;for(const r in t.children)if(!n.children[r]||!tF(n.children[r],t.children[r],i))return!1;return!0}{const r=e.slice(0,n.segments.length),o=e.slice(n.segments.length);return!!(Yc(n.segments,r)&&Uv(n.segments,r,i)&&n.children[Rt])&&nF(n.children[Rt],t,o,i)}}function Uv(n,t,e){return t.every((i,r)=>JR[e](n[r].parameters,i.parameters))}class Gc{constructor(t=new Vt([],{}),e={},i=null){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=oh(this.queryParams)),this._queryParamMap}toString(){return lte.serialize(this)}}class Vt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Zi(e,(i,r)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Hv(this)}}class Up{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=oh(this.parameters)),this._parameterMap}toString(){return oF(this)}}function Yc(n,t){return n.length===t.length&&n.every((e,i)=>e.path===t[i].path)}let Hp=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:function(){return new Y1},providedIn:"root"}),n})();class Y1{parse(t){const e=new yte(t);return new Gc(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${$p(t.root,!0)}`,i=function dte(n){const t=Object.keys(n).map(e=>{const i=n[e];return Array.isArray(i)?i.map(r=>`${$v(e)}=${$v(r)}`).join("&"):`${$v(e)}=${$v(i)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(t.queryParams),r="string"==typeof t.fragment?`#${function cte(n){return encodeURI(n)}(t.fragment)}`:"";return`${e}${i}${r}`}}const lte=new Y1;function Hv(n){return n.segments.map(t=>oF(t)).join("/")}function $p(n,t){if(!n.hasChildren())return Hv(n);if(t){const e=n.children[Rt]?$p(n.children[Rt],!1):"",i=[];return Zi(n.children,(r,o)=>{o!==Rt&&i.push(`${o}:${$p(r,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function ate(n,t){let e=[];return Zi(n.children,(i,r)=>{r===Rt&&(e=e.concat(t(i,r)))}),Zi(n.children,(i,r)=>{r!==Rt&&(e=e.concat(t(i,r)))}),e}(n,(i,r)=>r===Rt?[$p(n.children[Rt],!1)]:[`${r}:${$p(i,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[Rt]?`${Hv(n)}/${e[0]}`:`${Hv(n)}/(${e.join("//")})`}}function iF(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $v(n){return iF(n).replace(/%3B/gi,";")}function q1(n){return iF(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Wv(n){return decodeURIComponent(n)}function rF(n){return Wv(n.replace(/\+/g,"%20"))}function oF(n){return`${q1(n.path)}${function ute(n){return Object.keys(n).map(t=>`;${q1(t)}=${q1(n[t])}`).join("")}(n.parameters)}`}const hte=/^[^\/()?;=#]+/;function Gv(n){const t=n.match(hte);return t?t[0]:""}const fte=/^[^=?&#]+/,mte=/^[^&#]+/;class yte{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Vt([],{}):new Vt([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i[Rt]=new Vt(t,e)),i}parseSegment(){const t=Gv(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new J(4009,Bv);return this.capture(t),new Up(Wv(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Gv(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=Gv(this.remaining);r&&(i=r,this.capture(i))}t[Wv(e)]=Wv(i)}parseQueryParam(t){const e=function pte(n){const t=n.match(fte);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=function gte(n){const t=n.match(mte);return t?t[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=rF(e),o=rF(i);if(t.hasOwnProperty(r)){let s=t[r];Array.isArray(s)||(s=[s],t[r]=s),s.push(o)}else t[r]=o}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=Gv(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new J(4010,Bv);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=Rt);const s=this.parseChildren();e[o]=1===Object.keys(s).length?s[Rt]:new Vt([],s),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new J(4011,Bv)}}function K1(n){return n.segments.length>0?new Vt([],{[Rt]:n}):n}function Yv(n){const t={};for(const i of Object.keys(n.children)){const o=Yv(n.children[i]);(o.segments.length>0||o.hasChildren())&&(t[i]=o)}return function _te(n){if(1===n.numberOfChildren&&n.children[Rt]){const t=n.children[Rt];return new Vt(n.segments.concat(t.segments),t.children)}return n}(new Vt(n.segments,t))}function qc(n){return n instanceof Gc}function Cte(n,t,e,i,r){if(0===e.length)return sh(t.root,t.root,t.root,i,r);const o=function lF(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new aF(!0,0,n);let t=0,e=!1;const i=n.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Zi(o.outlets,(l,c)=>{a[c]="string"==typeof l?l.split("/"):l}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?t++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new aF(e,t,i)}(e);return o.toRoot()?sh(t.root,t.root,new Vt([],{}),i,r):function s(l){const c=function Tte(n,t,e,i){if(n.isAbsolute)return new ah(t.root,!0,0);if(-1===i)return new ah(e,e===t.root,0);return function cF(n,t,e){let i=n,r=t,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new J(4005,!1);r=i.segments.length}return new ah(i,!1,r-o)}(e,i+(Wp(n.commands[0])?0:1),n.numberOfDoubleDots)}(o,t,n.snapshot?._urlSegment,l),u=c.processChildren?Yp(c.segmentGroup,c.index,o.commands):Z1(c.segmentGroup,c.index,o.commands);return sh(t.root,c.segmentGroup,u,i,r)}(n.snapshot?._lastPathIndex)}function Wp(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function Gp(n){return"object"==typeof n&&null!=n&&n.outlets}function sh(n,t,e,i,r){let s,o={};i&&Zi(i,(l,c)=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`}),s=n===t?e:sF(n,t,e);const a=K1(Yv(s));return new Gc(a,o,r)}function sF(n,t,e){const i={};return Zi(n.children,(r,o)=>{i[o]=r===t?e:sF(r,t,e)}),new Vt(n.segments,i)}class aF{constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&Wp(i[0]))throw new J(4003,!1);const r=i.find(Gp);if(r&&r!==ZR(i))throw new J(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ah{constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}}function Z1(n,t,e){if(n||(n=new Vt([],{})),0===n.segments.length&&n.hasChildren())return Yp(n,t,e);const i=function Mte(n,t,e){let i=0,r=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return o;const s=n.segments[r],a=e[i];if(Gp(a))break;const l=`${a}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!dF(l,c,s))return o;i+=2}else{if(!dF(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(n,t,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof o&&(o=[o]),null!==o&&(r[s]=Z1(n.children[s],t,o))}),Zi(n.children,(o,s)=>{void 0===i[s]&&(r[s]=o)}),new Vt(n.segments,r)}}function J1(n,t,e){const i=n.segments.slice(0,t);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(t[i]=J1(new Vt([],{}),0,e))}),t}function uF(n){const t={};return Zi(n,(e,i)=>t[i]=`${e}`),t}function dF(n,t,e){return n==e.path&&Us(t,e.parameters)}const qp="imperative";class Hs{constructor(t,e){this.id=t,this.url=e}}class X1 extends Hs{constructor(t,e,i="imperative",r=null){super(t,e),this.type=0,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Kc extends Hs{constructor(t,e,i){super(t,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class qv extends Hs{constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class hF extends Hs{constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r,this.type=16}}class fF extends Hs{constructor(t,e,i,r){super(t,e),this.error=i,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ete extends Hs{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xte extends Hs{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ite extends Hs{constructor(t,e,i,r,o){super(t,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ote extends Hs{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ate extends Hs{constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kte{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Nte{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Pte{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Lte{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Rte{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Fte{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pF{constructor(t,e,i){this.routerEvent=t,this.position=e,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let zte=(()=>{class n{createUrlTree(e,i,r,o,s,a){return Cte(e||i.root,r,o,s,a)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})(),Vte=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:function(t){return zte.\u0275fac(t)},providedIn:"root"}),n})();class mF{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=eM(t,this._root);return e?e.children.map(i=>i.value):[]}firstChild(t){const e=eM(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=tM(t,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return tM(t,this._root).map(e=>e.value)}}function eM(n,t){if(n===t.value)return t;for(const e of t.children){const i=eM(n,e);if(i)return i}return null}function tM(n,t){if(n===t.value)return[t];for(const e of t.children){const i=tM(n,e);if(i.length)return i.unshift(t),i}return[]}class Fa{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function lh(n){const t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}class gF extends mF{constructor(t,e){super(t),this.snapshot=e,nM(this,t)}toString(){return this.snapshot.toString()}}function yF(n,t){const e=function Bte(n,t){const s=new Kv([],{},{},"",{},Rt,t,null,n.root,-1,{});return new vF("",new Fa(s,[]))}(n,t),i=new Jr([new Up("",{})]),r=new Jr({}),o=new Jr({}),s=new Jr({}),a=new Jr(""),l=new ch(i,r,s,a,o,Rt,t,e.root);return l.snapshot=e.root,new gF(new Fa(l,[]),e)}class ch{constructor(t,e,i,r,o,s,a,l){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.pipe(fe(c=>c[Bp]))??Re(void 0),this._futureSnapshot=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(fe(t=>oh(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(fe(t=>oh(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function _F(n,t="emptyOnly"){const e=n.pathFromRoot;let i=0;if("always"!==t)for(i=e.length-1;i>=1;){const r=e[i],o=e[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function Ute(n){return n.reduce((t,e)=>({params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class Kv{get title(){return this.data?.[Bp]}constructor(t,e,i,r,o,s,a,l,c,u,d){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=u,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=oh(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=oh(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class vF extends mF{constructor(t,e){super(e),this.url=t,nM(this,e)}toString(){return bF(this._root)}}function nM(n,t){t.value._routerState=n,t.children.forEach(e=>nM(n,e))}function bF(n){const t=n.children.length>0?` { ${n.children.map(bF).join(", ")} } `:"";return`${n.value}${t}`}function iM(n){if(n.snapshot){const t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,Us(t.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),t.fragment!==e.fragment&&n.fragment.next(e.fragment),Us(t.params,e.params)||n.params.next(e.params),function nte(n,t){if(n.length!==t.length)return!1;for(let e=0;eUs(e.parameters,t[i].parameters))}(n.url,t.url);return e&&!(!n.parent!=!t.parent)&&(!n.parent||rM(n.parent,t.parent))}function Kp(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=t.value;const r=function $te(n,t,e){return t.children.map(i=>{for(const r of e.children)if(n.shouldReuseRoute(i.value,r.value.snapshot))return Kp(n,i,r);return Kp(n,i)})}(n,t,e);return new Fa(i,r)}{if(n.shouldAttach(t.value)){const o=n.retrieve(t.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Kp(n,a)),s}}const i=function Wte(n){return new ch(new Jr(n.url),new Jr(n.params),new Jr(n.queryParams),new Jr(n.fragment),new Jr(n.data),n.outlet,n.component,n)}(t.value),r=t.children.map(o=>Kp(n,o));return new Fa(i,r)}}const oM="ngNavigationCancelingError";function CF(n,t){const{redirectTo:e,navigationBehaviorOptions:i}=qc(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=wF(!1,0,t);return r.url=e,r.navigationBehaviorOptions=i,r}function wF(n,t,e){const i=new Error("NavigationCancelingError: "+(n||""));return i[oM]=!0,i.cancellationCode=t,e&&(i.url=e),i}function TF(n){return DF(n)&&qc(n.url)}function DF(n){return n&&n[oM]}class Gte{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Qp,this.attachRef=null}}let Qp=(()=>{class n{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new Gte,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Qv=!1;let MF=(()=>{class n{constructor(){this.activated=null,this._activatedRoute=null,this.name=Rt,this.activateEvents=new Q,this.deactivateEvents=new Q,this.attachEvents=new Q,this.detachEvents=new Q,this.parentContexts=st(Qp),this.location=st(Gr),this.changeDetector=st(In),this.environmentInjector=st(As)}ngOnChanges(e){if(e.name){const{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new J(4012,Qv);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new J(4012,Qv);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new J(4012,Qv);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new J(4013,Qv);this._activatedRoute=e;const r=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new Yte(e,a,r.injector);if(i&&function qte(n){return!!n.resolveComponentFactory}(i)){const c=i.resolveComponentFactory(s);this.activated=r.createComponent(c,r.length,l)}else this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=we({type:n,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Gi]}),n})();class Yte{constructor(t,e,i){this.route=t,this.childContexts=e,this.parent=i}get(t,e){return t===ch?this.route:t===Qp?this.childContexts:this.parent.get(t,e)}}let sM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=Ce({type:n,selectors:[["ng-component"]],standalone:!0,features:[_o],decls:1,vars:0,template:function(e,i){1&e&&me(0,"router-outlet")},dependencies:[MF],encapsulation:2}),n})();function SF(n,t){return n.providers&&!n._injector&&(n._injector=g_(n.providers,t,`Route: ${n.path}`)),n._injector??t}function lM(n){const t=n.children&&n.children.map(lM),e=t?{...n,children:t}:{...n};return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==Rt&&(e.component=sM),e}function Ho(n){return n.outlet||Rt}function EF(n,t){const e=n.filter(i=>Ho(i)===t);return e.push(...n.filter(i=>Ho(i)!==t)),e}function Zp(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let t=n.parent;t;t=t.parent){const e=t.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class Xte{constructor(t,e,i,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=r}activate(t){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),iM(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){const r=lh(e);t.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Zi(r,(o,s)=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(t,e,i){const r=t.value,o=e?e.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=lh(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){const i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=lh(t);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(t,e,i){const r=lh(e);t.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new Fte(o.value.snapshot))}),t.children.length&&this.forwardEvent(new Lte(t.value.snapshot))}activateRoutes(t,e,i){const r=t.value,o=e?e.value:null;if(iM(r),r===o)if(r.component){const s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,i);else if(r.component){const s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),iM(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=Zp(r.snapshot),l=a?.get(Sc)??null;s.attachRef=null,s.route=r,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,i)}}class xF{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Zv{constructor(t,e){this.component=t,this.route=e}}function ene(n,t,e){const i=n._root;return Jp(i,t?t._root:null,e,[i.value])}function uh(n,t){const e=Symbol(),i=t.get(n,e);return i===e?"function"!=typeof n||function AC(n){return null!==Qu(n)}(n)?t.get(n):n:i}function Jp(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=lh(t);return n.children.forEach(s=>{(function nne(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=n.value,s=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function ine(n,t,e){if("function"==typeof e)return e(n,t);switch(e){case"pathParamsChange":return!Yc(n.url,t.url);case"pathParamsOrQueryParamsChange":return!Yc(n.url,t.url)||!Us(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!rM(n,t)||!Us(n.queryParams,t.queryParams);default:return!rM(n,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new xF(i)):(o.data=s.data,o._resolvedData=s._resolvedData),Jp(n,t,o.component?a?a.children:null:e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Zv(a.outlet.component,s))}else s&&Xp(t,a,r),r.canActivateChecks.push(new xF(i)),Jp(n,null,o.component?a?a.children:null:e,i,r)})(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),Zi(o,(s,a)=>Xp(s,e.getContext(a),r)),r}function Xp(n,t,e){const i=lh(n),r=n.value;Zi(i,(o,s)=>{Xp(o,r.component?t?t.children.getContext(s):null:t,e)}),e.canDeactivateChecks.push(new Zv(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}function em(n){return"function"==typeof n}function cM(n){return n instanceof jv||"EmptyError"===n?.name}const Jv=Symbol("INITIAL_VALUE");function dh(){return li(n=>zv(n.map(t=>t.pipe(At(1),function kv(...n){const t=n[n.length-1];return Di(t)?(n.pop(),e=>k1(n,e,t)):e=>k1(n,e)}(Jv)))).pipe(fe(t=>{for(const e of t)if(!0!==e){if(e===Jv)return Jv;if(!1===e||e instanceof Gc)return e}return!0}),Tn(t=>t!==Jv),At(1)))}function IF(n){return pe(pn(t=>{if(qc(t))throw CF(0,t)}),fe(t=>!0===t))}const uM={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function OF(n,t,e,i,r){const o=dM(n,t,e);return o.matched?function bne(n,t,e,i){const r=t.canMatch;return r&&0!==r.length?Re(r.map(s=>{const a=uh(s,n);return Sl(function cne(n){return n&&em(n.canMatch)}(a)?a.canMatch(t,e):n.runInContext(()=>a(t,e)))})).pipe(dh(),IF()):Re(!0)}(i=SF(t,i),t,e).pipe(fe(s=>!0===s?o:{...uM})):Re(o)}function dM(n,t,e){if(""===t.path)return"full"===t.pathMatch&&(n.hasChildren()||e.length>0)?{...uM}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const r=(t.matcher||tte)(e,n,t);if(!r)return{...uM};const o={};Zi(r.posParams,(a,l)=>{o[l]=a.path});const s=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function Xv(n,t,e,i){if(e.length>0&&function Tne(n,t,e){return e.some(i=>eb(n,t,i)&&Ho(i)!==Rt)}(n,e,i)){const o=new Vt(t,function wne(n,t,e,i){const r={};r[Rt]=i,i._sourceSegment=n,i._segmentIndexShift=t.length;for(const o of e)if(""===o.path&&Ho(o)!==Rt){const s=new Vt([],{});s._sourceSegment=n,s._segmentIndexShift=t.length,r[Ho(o)]=s}return r}(n,t,i,new Vt(e,n.children)));return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===e.length&&function Dne(n,t,e){return e.some(i=>eb(n,t,i))}(n,e,i)){const o=new Vt(n.segments,function Cne(n,t,e,i,r){const o={};for(const s of i)if(eb(n,e,s)&&!r[Ho(s)]){const a=new Vt([],{});a._sourceSegment=n,a._segmentIndexShift=t.length,o[Ho(s)]=a}return{...r,...o}}(n,t,e,i,n.children));return o._sourceSegment=n,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:e}}const r=new Vt(n.segments,n.children);return r._sourceSegment=n,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:e}}function eb(n,t,e){return(!(n.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}function AF(n,t,e,i){return!!(Ho(n)===i||i!==Rt&&eb(t,e,n))&&("**"===n.path||dM(t,n,e).matched)}function kF(n,t,e){return 0===t.length&&!n.children[e]}const tb=!1;class nb{constructor(t){this.segmentGroup=t||null}}class NF{constructor(t){this.urlTree=t}}function tm(n){return vo(new nb(n))}function PF(n){return vo(new NF(n))}class xne{constructor(t,e,i,r,o){this.injector=t,this.configLoader=e,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0}apply(){const t=Xv(this.urlTree.root,[],[],this.config).segmentGroup,e=new Vt(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,e,Rt).pipe(fe(o=>this.createUrlTree(Yv(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(zi(o=>{if(o instanceof NF)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof nb?this.noMatchError(o):o}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,Rt).pipe(fe(r=>this.createUrlTree(Yv(r),t.queryParams,t.fragment))).pipe(zi(r=>{throw r instanceof nb?this.noMatchError(r):r}))}noMatchError(t){return new J(4002,tb)}createUrlTree(t,e,i){const r=K1(t);return new Gc(r,e,i)}expandSegmentGroup(t,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(t,e,i).pipe(fe(o=>new Vt([],o))):this.expandSegment(t,i,e,i.segments,r,!0)}expandChildren(t,e,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return Et(r).pipe(fl(o=>{const s=i.children[o],a=EF(e,o);return this.expandSegmentGroup(t,a,s,o).pipe(fe(l=>({segment:l,outlet:o})))}),Vv((o,s)=>(o[s.outlet]=s.segment,o),{}),qR())}expandSegment(t,e,i,r,o,s){return Et(i).pipe(fl(a=>this.expandSegmentAgainstRoute(t,e,i,a,r,o,s).pipe(zi(c=>{if(c instanceof nb)return Re(null);throw c}))),Ml(a=>!!a),zi((a,l)=>{if(cM(a))return kF(e,r,o)?Re(new Vt([],{})):tm(e);throw a}))}expandSegmentAgainstRoute(t,e,i,r,o,s,a){return AF(r,e,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s):tm(e):tm(e)}expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,i,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,i,r){const o=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?PF(o):this.lineralizeSegments(i,o).pipe(ri(s=>{const a=new Vt(s,{});return this.expandSegment(t,a,e,s,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=dM(e,r,o);if(!a)return tm(e);const d=this.applyRedirectCommands(l,r.redirectTo,u);return r.redirectTo.startsWith("/")?PF(d):this.lineralizeSegments(r,d).pipe(ri(h=>this.expandSegment(t,e,i,h.concat(c),s,!1)))}matchSegmentAgainstRoute(t,e,i,r,o){return"**"===i.path?(t=SF(i,t),i.loadChildren?(i._loadedRoutes?Re({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(t,i)).pipe(fe(a=>(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,new Vt(r,{})))):Re(new Vt(r,{}))):OF(e,i,r,t).pipe(li(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(t=i._injector??t,i,r).pipe(ri(u=>{const d=u.injector??t,h=u.routes,{segmentGroup:f,slicedSegments:p}=Xv(e,a,l,h),m=new Vt(f.segments,f.children);if(0===p.length&&m.hasChildren())return this.expandChildren(d,h,m).pipe(fe(T=>new Vt(a,T)));if(0===h.length&&0===p.length)return Re(new Vt(a,{}));const g=Ho(i)===o;return this.expandSegment(d,m,h,p,g?Rt:o,!0).pipe(fe(w=>new Vt(a.concat(w.segments),w.children)))})):tm(e)))}getChildConfig(t,e,i){return e.children?Re({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?Re({routes:e._loadedRoutes,injector:e._loadedInjector}):function vne(n,t,e,i){const r=t.canLoad;return void 0===r||0===r.length?Re(!0):Re(r.map(s=>{const a=uh(s,n);return Sl(function one(n){return n&&em(n.canLoad)}(a)?a.canLoad(t,e):n.runInContext(()=>a(t,e)))})).pipe(dh(),IF())}(t,e,i).pipe(ri(r=>r?this.configLoader.loadChildren(t,e).pipe(pn(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):function Sne(n){return vo(wF(tb,3))}())):Re({routes:[],injector:t})}lineralizeSegments(t,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return Re(i);if(r.numberOfChildren>1||!r.children[Rt])return vo(new J(4e3,tb));r=r.children[Rt]}}applyRedirectCommands(t,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,i)}applyRedirectCreateUrlTree(t,e,i,r){const o=this.createSegmentGroup(t,e.root,i,r);return new Gc(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const i={};return Zi(t,(r,o)=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[o]=e[a]}else i[o]=r}),i}createSegmentGroup(t,e,i,r){const o=this.createSegments(t,e.segments,i,r);let s={};return Zi(e.children,(a,l)=>{s[l]=this.createSegmentGroup(t,a,i,r)}),new Vt(o,s)}createSegments(t,e,i,r){return e.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,r):this.findOrReturn(o,i))}findPosParam(t,e,i){const r=i[e.path.substring(1)];if(!r)throw new J(4001,tb);return r}findOrReturn(t,e){let i=0;for(const r of e){if(r.path===t.path)return e.splice(i),r;i++}return t}}class One{}class Nne{constructor(t,e,i,r,o,s,a){this.injector=t,this.rootComponentType=e,this.config=i,this.urlTree=r,this.url=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a}recognize(){const t=Xv(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,Rt).pipe(fe(e=>{if(null===e)return null;const i=new Kv([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Rt,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Fa(i,e),o=new vF(this.url,r);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(t){const e=t.value,i=_F(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(t,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(t,e,i):this.processSegment(t,e,i,i.segments,r)}processChildren(t,e,i){return Et(Object.keys(i.children)).pipe(fl(r=>{const o=i.children[r],s=EF(e,r);return this.processSegmentGroup(t,s,o,r)}),Vv((r,o)=>r&&o?(r.push(...o),r):null),function Gee(n,t=!1){return e=>e.lift(new Yee(n,t))}(r=>null!==r),rh(null),qR(),fe(r=>{if(null===r)return null;const o=RF(r);return function Pne(n){n.sort((t,e)=>t.value.outlet===Rt?-1:e.value.outlet===Rt?1:t.value.outlet.localeCompare(e.value.outlet))}(o),o}))}processSegment(t,e,i,r,o){return Et(e).pipe(fl(s=>this.processSegmentAgainstRoute(s._injector??t,s,i,r,o)),Ml(s=>!!s),zi(s=>{if(cM(s))return kF(i,r,o)?Re([]):Re(null);throw s}))}processSegmentAgainstRoute(t,e,i,r,o){if(e.redirectTo||!AF(e,i,r,o))return Re(null);let s;if("**"===e.path){const a=r.length>0?ZR(r).parameters:{},l=jF(i)+r.length;s=Re({snapshot:new Kv(r,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,zF(e),Ho(e),e.component??e._loadedComponent??null,e,FF(i),l,VF(e)),consumedSegments:[],remainingSegments:[]})}else s=OF(i,e,r,t).pipe(fe(({matched:a,consumedSegments:l,remainingSegments:c,parameters:u})=>{if(!a)return null;const d=jF(i)+l.length;return{snapshot:new Kv(l,u,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,zF(e),Ho(e),e.component??e._loadedComponent??null,e,FF(i),d,VF(e)),consumedSegments:l,remainingSegments:c}}));return s.pipe(li(a=>{if(null===a)return Re(null);const{snapshot:l,consumedSegments:c,remainingSegments:u}=a;t=e._injector??t;const d=e._loadedInjector??t,h=function Lne(n){return n.children?n.children:n.loadChildren?n._loadedRoutes:[]}(e),{segmentGroup:f,slicedSegments:p}=Xv(i,c,u,h.filter(g=>void 0===g.redirectTo));if(0===p.length&&f.hasChildren())return this.processChildren(d,h,f).pipe(fe(g=>null===g?null:[new Fa(l,g)]));if(0===h.length&&0===p.length)return Re([new Fa(l,[])]);const m=Ho(e)===o;return this.processSegment(d,h,f,p,m?Rt:o).pipe(fe(g=>null===g?null:[new Fa(l,g)]))}))}}function Rne(n){const t=n.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function RF(n){const t=[],e=new Set;for(const i of n){if(!Rne(i)){t.push(i);continue}const r=t.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),e.add(r)):t.push(i)}for(const i of e){const r=RF(i.children);t.push(new Fa(i.value,r))}return t.filter(i=>!e.has(i))}function FF(n){let t=n;for(;t._sourceSegment;)t=t._sourceSegment;return t}function jF(n){let t=n,e=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,e+=t._segmentIndexShift??0;return e-1}function zF(n){return n.data||{}}function VF(n){return n.resolve||{}}function BF(n){return"string"==typeof n.title||null===n.title}function hM(n){return li(t=>{const e=n(t);return e?Et(e).pipe(fe(()=>t)):Re(t)})}const hh=new Me("ROUTES");let fM=(()=>{class n{constructor(e,i){this.injector=e,this.compiler=i,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return Re(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=Sl(e.loadComponent()).pipe(fe(HF),pn(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),G1(()=>{this.componentLoaders.delete(e)})),r=new Gu(i,()=>new ue).pipe(dc());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return Re({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(fe(a=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,c,u=!1;Array.isArray(a)?c=a:(l=a.create(e).injector,c=QR(l.get(hh,[],rt.Self|rt.Optional)));return{routes:c.map(lM),injector:l}}),G1(()=>{this.childrenLoaders.delete(i)})),s=new Gu(o,()=>new ue).pipe(dc());return this.childrenLoaders.set(i,s),s}loadModuleFactoryOrRoutes(e){return Sl(e()).pipe(fe(HF),ri(r=>r instanceof Mk||Array.isArray(r)?Re(r):Et(this.compiler.compileModuleAsync(r))))}}return n.\u0275fac=function(e){return new(e||n)(F(Dr),F(mN))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function HF(n){return function Wne(n){return n&&"object"==typeof n&&"default"in n}(n)?n.default:n}let rb=(()=>{class n{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new ue,this.configLoader=st(fM),this.environmentInjector=st(As),this.urlSerializer=st(Hp),this.rootContexts=st(Qp),this.navigationId=0,this.afterPreactivation=()=>Re(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=r=>this.events.next(new Nte(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new kte(r))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:i})}setupNavigations(e){return this.transitions=new Jr({id:0,targetPageId:0,currentUrlTree:e.currentUrlTree,currentRawUrl:e.currentUrlTree,extractedUrl:e.urlHandlingStrategy.extract(e.currentUrlTree),urlAfterRedirects:e.urlHandlingStrategy.extract(e.currentUrlTree),rawUrl:e.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:qp,restoredState:null,currentSnapshot:e.routerState.snapshot,targetSnapshot:null,currentRouterState:e.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Tn(i=>0!==i.id),fe(i=>({...i,extractedUrl:e.urlHandlingStrategy.extract(i.rawUrl)})),li(i=>{let r=!1,o=!1;return Re(i).pipe(pn(s=>{this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),li(s=>{const a=e.browserUrlTree.toString(),l=!e.navigated||s.extractedUrl.toString()!==a||a!==e.currentUrlTree.toString();if(!l&&"reload"!==(s.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const u="";return this.events.next(new hF(s.id,e.serializeUrl(i.rawUrl),u,0)),e.rawUrlTree=s.rawUrl,s.resolve(null),Fs}if(e.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return $F(s.source)&&(e.browserUrlTree=s.extractedUrl),Re(s).pipe(li(u=>{const d=this.transitions?.getValue();return this.events.next(new X1(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),d!==this.transitions?.getValue()?Fs:Promise.resolve(u)}),function Ine(n,t,e,i){return li(r=>function Ene(n,t,e,i,r){return new xne(n,t,e,i,r).apply()}(n,t,e,r.extractedUrl,i).pipe(fe(o=>({...r,urlAfterRedirects:o}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,e.config),pn(u=>{this.currentNavigation={...this.currentNavigation,finalUrl:u.urlAfterRedirects},i.urlAfterRedirects=u.urlAfterRedirects}),function jne(n,t,e,i,r){return ri(o=>function kne(n,t,e,i,r,o,s="emptyOnly"){return new Nne(n,t,e,i,r,s,o).recognize().pipe(li(a=>null===a?function Ane(n){return new Ee(t=>t.error(n))}(new One):Re(a)))}(n,t,e,o.urlAfterRedirects,i.serialize(o.urlAfterRedirects),i,r).pipe(fe(s=>({...o,targetSnapshot:s}))))}(this.environmentInjector,this.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),pn(u=>{if(i.targetSnapshot=u.targetSnapshot,"eager"===e.urlUpdateStrategy){if(!u.extras.skipLocationChange){const h=e.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl);e.setBrowserUrl(h,u)}e.browserUrlTree=u.urlAfterRedirects}const d=new Ete(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}));if(l&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){const{id:u,extractedUrl:d,source:h,restoredState:f,extras:p}=s,m=new X1(u,this.urlSerializer.serialize(d),h,f);this.events.next(m);const g=yF(d,this.rootComponentType).snapshot;return Re(i={...s,targetSnapshot:g,urlAfterRedirects:d,extras:{...p,skipLocationChange:!1,replaceUrl:!1}})}{const u="";return this.events.next(new hF(s.id,e.serializeUrl(i.extractedUrl),u,1)),e.rawUrlTree=s.rawUrl,s.resolve(null),Fs}}),pn(s=>{const a=new xte(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),fe(s=>i={...s,guards:ene(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function dne(n,t){return ri(e=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return 0===s.length&&0===o.length?Re({...e,guardsResult:!0}):function hne(n,t,e,i){return Et(n).pipe(ri(r=>function _ne(n,t,e,i,r){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?Re(o.map(a=>{const l=Zp(t)??r,c=uh(a,l);return Sl(function lne(n){return n&&em(n.canDeactivate)}(c)?c.canDeactivate(n,t,e,i):l.runInContext(()=>c(n,t,e,i))).pipe(Ml())})).pipe(dh()):Re(!0)}(r.component,r.route,e,t,i)),Ml(r=>!0!==r,!0))}(s,i,r,n).pipe(ri(a=>a&&function rne(n){return"boolean"==typeof n}(a)?function fne(n,t,e,i){return Et(t).pipe(fl(r=>k1(function mne(n,t){return null!==n&&t&&t(new Pte(n)),Re(!0)}(r.route.parent,i),function pne(n,t){return null!==n&&t&&t(new Rte(n)),Re(!0)}(r.route,i),function yne(n,t,e){const i=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>function tne(n){const t=n.routeConfig?n.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:n,guards:t}:null}(s)).filter(s=>null!==s).map(s=>GR(()=>Re(s.guards.map(l=>{const c=Zp(s.node)??e,u=uh(l,c);return Sl(function ane(n){return n&&em(n.canActivateChild)}(u)?u.canActivateChild(i,n):c.runInContext(()=>u(i,n))).pipe(Ml())})).pipe(dh())));return Re(o).pipe(dh())}(n,r.path,e),function gne(n,t,e){const i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return Re(!0);const r=i.map(o=>GR(()=>{const s=Zp(t)??e,a=uh(o,s);return Sl(function sne(n){return n&&em(n.canActivate)}(a)?a.canActivate(t,n):s.runInContext(()=>a(t,n))).pipe(Ml())}));return Re(r).pipe(dh())}(n,r.route,e))),Ml(r=>!0!==r,!0))}(i,o,n,t):Re(a)),fe(a=>({...e,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),pn(s=>{if(i.guardsResult=s.guardsResult,qc(s.guardsResult))throw CF(0,s.guardsResult);const a=new Ite(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),Tn(s=>!!s.guardsResult||(e.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),hM(s=>{if(s.guards.canActivateChecks.length)return Re(s).pipe(pn(a=>{const l=new Ote(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),li(a=>{let l=!1;return Re(a).pipe(function zne(n,t){return ri(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return Re(e);let o=0;return Et(r).pipe(fl(s=>function Vne(n,t,e,i){const r=n.routeConfig,o=n._resolve;return void 0!==r?.title&&!BF(r)&&(o[Bp]=r.title),function Bne(n,t,e,i){const r=function Une(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}(n);if(0===r.length)return Re({});const o={};return Et(r).pipe(ri(s=>function Hne(n,t,e,i){const r=Zp(t)??i,o=uh(n,r);return Sl(o.resolve?o.resolve(t,e):r.runInContext(()=>o(t,e)))}(n[s],t,e,i).pipe(Ml(),pn(a=>{o[s]=a}))),Vp(1),function Kee(n){return t=>t.lift(new Qee(n))}(o),zi(s=>cM(s)?Fs:vo(s)))}(o,n,t,i).pipe(fe(s=>(n._resolvedData=s,n.data=_F(n,e).resolve,r&&BF(r)&&(n.data[Bp]=r.title),null)))}(s.route,i,n,t)),pn(()=>o++),Vp(1),ri(s=>o===r.length?Re(e):Fs))})}(e.paramsInheritanceStrategy,this.environmentInjector),pn({next:()=>l=!0,complete:()=>{l||(e.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),pn(a=>{const l=new Ate(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),hM(s=>{const a=l=>{const c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(pn(u=>{l.component=u}),fe(()=>{})));for(const u of l.children)c.push(...a(u));return c};return zv(a(s.targetSnapshot.root)).pipe(rh(),At(1))}),hM(()=>this.afterPreactivation()),fe(s=>{const a=function Hte(n,t,e){const i=Kp(n,t._root,e?e._root:void 0);return new gF(i,t)}(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return i={...s,targetRouterState:a}}),pn(s=>{e.currentUrlTree=s.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),e.routerState=s.targetRouterState,"deferred"===e.urlUpdateStrategy&&(s.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,s),e.browserUrlTree=s.urlAfterRedirects)}),((n,t,e)=>fe(i=>(new Xte(t,i.targetRouterState,i.currentRouterState,e).activate(n),i)))(this.rootContexts,e.routeReuseStrategy,s=>this.events.next(s)),pn({next:s=>{r=!0,this.lastSuccessfulNavigation=this.currentNavigation,e.navigated=!0,this.events.next(new Kc(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(e.currentUrlTree))),e.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{r=!0}}),G1(()=>{r||o||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),zi(s=>{if(o=!0,DF(s)){TF(s)||(e.navigated=!0,e.restoreHistory(i,!0));const a=new qv(i.id,this.urlSerializer.serialize(i.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),TF(s)){const l=e.urlHandlingStrategy.merge(s.url,e.rawUrlTree),c={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||$F(i.source)};e.scheduleNavigation(l,qp,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}else i.resolve(!1)}else{e.restoreHistory(i,!0);const a=new fF(i.id,this.urlSerializer.serialize(i.extractedUrl),s,i.targetSnapshot??void 0);this.events.next(a);try{i.resolve(e.errorHandler(s))}catch(l){i.reject(l)}}return Fs}))}))}cancelNavigationTransition(e,i,r){const o=new qv(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function $F(n){return n!==qp}let WF=(()=>{class n{buildTitle(e){let i,r=e.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===Rt);return i}getResolvedTitleForRoute(e){return e.data[Bp]}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:function(){return st(Gne)},providedIn:"root"}),n})(),Gne=(()=>{class n extends WF{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return n.\u0275fac=function(e){return new(e||n)(F(L2))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Yne=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:function(){return st(Kne)},providedIn:"root"}),n})();class qne{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}let Kne=(()=>{class n extends qne{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=Fi(n)))(i||n)}}(),n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const ob=new Me("",{providedIn:"root",factory:()=>({})});let Zne=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:function(){return st(Jne)},providedIn:"root"}),n})(),Jne=(()=>{class n{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Xne(n){throw n}function eie(n,t,e){return t.parse("/")}const tie={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},nie={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ir=(()=>{class n{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=st(g$),this.isNgZoneEnabled=!1,this.options=st(ob,{optional:!0})||{},this.errorHandler=this.options.errorHandler||Xne,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||eie,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=st(Zne),this.routeReuseStrategy=st(Yne),this.urlCreationStrategy=st(Vte),this.titleStrategy=st(WF),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=QR(st(hh,{optional:!0})??[]),this.navigationTransitions=st(rb),this.urlSerializer=st(Hp),this.location=st(JT),this.isNgZoneEnabled=st(Yt)instanceof Yt&&Yt.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Gc,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=yF(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(e=>{this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const e=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),qp,e)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{this.navigateToSyncWithBrowser(e.url,i,e.state)},0)}))}navigateToSyncWithBrowser(e,i,r){const o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){const l={...r};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(e);this.scheduleNavigation(a,i,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(e){this.config=e.map(lM),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s;let u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...o};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}return null!==u&&(u=this.removeEmptyProps(u)),this.urlCreationStrategy.createUrlTree(r,this.routerState,this.currentUrlTree,e,u,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){const r=qc(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,qp,null,i)}navigate(e,i={skipLocationChange:!1}){return function iie(n){for(let t=0;t{const o=e[r];return null!=o&&(i[r]=o),i},{})}scheduleNavigation(e,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c,u;return s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,h)=>{a=d,l=h}),u="computed"===this.canceledNavigationResolution?r&&r.\u0275routerPageId?r.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:u,source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}setBrowserUrl(e,i){const r=this.urlSerializer.serialize(e),o={...i.extras.state,...this.generateNgRouterState(i.id,i.targetPageId)};this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl?this.location.replaceState(r,"",o):this.location.go(r,"",o)}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===r?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class YF{}let sie=(()=>{class n{constructor(e,i,r,o,s){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Tn(e=>e instanceof Kc),fl(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const r=[];for(const o of i){o.providers&&!o._injector&&(o._injector=g_(o.providers,e,`Route: ${o.path}`));const s=o._injector??e,a=o._loadedInjector??s;o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent?r.push(this.preloadConfig(s,o)):(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Et(r).pipe(el())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):Re(null);const o=r.pipe(ri(s=>null===s?Re(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));return i.loadComponent&&!i._loadedComponent?Et([o,this.loader.loadComponent(i)]).pipe(el()):o})}}return n.\u0275fac=function(e){return new(e||n)(F(Ir),F(mN),F(As),F(YF),F(fM))},n.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const mM=new Me("");let qF=(()=>{class n{constructor(e,i,r,o,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof X1?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Kc&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof pF&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new pF(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return n.\u0275fac=function(e){!function AO(){throw new Error("invalid")}()},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();function Qc(n,t){return{\u0275kind:n,\u0275providers:t}}function QF(){const n=st(Dr);return t=>{const e=n.get(Ac);if(t!==e.components[0])return;const i=n.get(Ir),r=n.get(ZF);1===n.get(yM)&&i.initialNavigation(),n.get(JF,null,rt.Optional)?.setUpPreloading(),n.get(mM,null,rt.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.unsubscribe())}}const ZF=new Me("",{factory:()=>new ue}),yM=new Me("",{providedIn:"root",factory:()=>1});const JF=new Me("");function die(n){return Qc(0,[{provide:JF,useExisting:sie},{provide:YF,useExisting:n}])}const XF=new Me("ROUTER_FORROOT_GUARD"),hie=[JT,{provide:Hp,useClass:Y1},Ir,Qp,{provide:ch,useFactory:function KF(n){return n.routerState.root},deps:[Ir]},fM,[]];function fie(){return new wN("Router",Ir)}let ej=(()=>{class n{constructor(e){}static forRoot(e,i){return{ngModule:n,providers:[hie,[],{provide:hh,multi:!0,useValue:e},{provide:XF,useFactory:yie,deps:[[Ir,new Vf,new Bf]]},{provide:ob,useValue:i||{}},i?.useHash?{provide:Nc,useClass:oW}:{provide:Nc,useClass:WN},{provide:mM,useFactory:()=>{const n=st(vG),t=st(Yt),e=st(ob),i=st(rb),r=st(Hp);return e.scrollOffset&&n.setOffset(e.scrollOffset),new qF(r,i,n,t,e)}},i?.preloadingStrategy?die(i.preloadingStrategy).\u0275providers:[],{provide:wN,multi:!0,useFactory:fie},i?.initialNavigation?_ie(i):[],[{provide:tj,useFactory:QF},{provide:fN,multi:!0,useExisting:tj}]]}}static forChild(e){return{ngModule:n,providers:[{provide:hh,multi:!0,useValue:e}]}}}return n.\u0275fac=function(e){return new(e||n)(F(XF,8))},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[sM]}),n})();function yie(n){return"guarded"}function _ie(n){return["disabled"===n.initialNavigation?Qc(3,[{provide:dp,multi:!0,useFactory:()=>{const t=st(Ir);return()=>{t.setUpLocationChangeListener()}}},{provide:yM,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?Qc(2,[{provide:yM,useValue:0},{provide:dp,multi:!0,deps:[Dr],useFactory:t=>{const e=t.get(iW,Promise.resolve());return()=>e.then(()=>new Promise(r=>{const o=t.get(Ir),s=t.get(ZF);(function i(r){t.get(Ir).events.pipe(Tn(s=>s instanceof Kc||s instanceof qv||s instanceof fF),fe(s=>s instanceof Kc||s instanceof qv&&(0===s.code||1===s.code)&&null),Tn(s=>null!==s),At(1)).subscribe(()=>{r()})})(()=>{r(!0)}),t.get(rb).afterPreactivation=()=>(r(!0),s.closed?Re(void 0):s),o.initialNavigation()}))}}]).\u0275providers:[]]}const tj=new Me("");class Jt{constructor(t,e,i){this.loggerService=t,this.router=e,this.http=i,this.httpErrosSubjects=[]}request(t){t.method||(t.method="GET");const e=this.getRequestOpts(t),i=t.body;return this.http.request(e).pipe(Tn(r=>r.type===Nn.Response),fe(r=>{try{return r.body}catch{return r}}),zi((r,o)=>{if(r){if(this.emitHttpError(r.status),r.status===Wc.SERVER_ERROR||r.status===Wc.FORBIDDEN)throw r.statusText&&r.statusText.indexOf("ECONNREFUSED")>=0?new $1(1,kee_1,e,r,i):new $1(3,r.error.message,e,r,i);if(r.status===Wc.NOT_FOUND)throw this.loggerService.error("Could not execute request: 404 path not valid.",t.url),new $1(2,r.headers.get("error-message"),e,r,i)}return null}))}requestView(t){let e;return t.method||(t.method="GET"),e=this.getRequestOpts(t),this.http.request(e).pipe(Tn(i=>i.type===Nn.Response),fe(i=>i.body&&i.body.errors&&i.body.errors.length>0?this.handleRequestViewErrors(i):new W1(i)),zi(i=>(this.emitHttpError(i.status),vo(this.handleResponseHttpErrors(i)))))}subscribeToHttpError(t){return this.httpErrosSubjects[t]||(this.httpErrosSubjects[t]=new ue),this.httpErrosSubjects[t].asObservable()}handleRequestViewErrors(t){return 401===t.status&&this.router.navigate(["/public/login"]),new W1(t)}handleResponseHttpErrors(t){return 401===t.status&&this.router.navigate(["/public/login"]),t}emitHttpError(t){this.httpErrosSubjects[t]&&this.httpErrosSubjects[t].next()}getRequestOpts(t){const e=this.getHttpHeaders(t.headers),i=this.getHttpParams(t.params),r=this.getFixedUrl(t.url);return"POST"===t.method||"PUT"===t.method||"PATCH"===t.method||"DELETE"===t.method?new Oa(t.method,r,t.body||null,{headers:e,params:i}):new Oa(t.method,r,{headers:e,params:i})}getHttpHeaders(t){let e=this.getDefaultRequestHeaders();return t&&Object.keys(t).length&&(Object.keys(t).forEach(i=>{e=e.set(i,t[i])}),"multipart/form-data"===t["Content-Type"]&&(e=e.delete("Content-Type"))),e}getFixedUrl(t){return t?.startsWith("api")?`/${t}`:(t?t.split("/")[0]:"").match(/v[1-9]/g)?`/api/${t}`:t}getHttpParams(t){if(t&&Object.keys(t).length){let e=new ms;return Object.keys(t).forEach(i=>{e=e.set(i,t[i])}),e}return null}getDefaultRequestHeaders(){return(new Kr).set("Accept","*/*").set("Content-Type","application/json")}}Jt.\u0275fac=function(t){return new(t||Jt)(F(To),F(Ir),F(Ki))},Jt.\u0275prov=H({token:Jt,factory:Jt.\u0275fac});class im{constructor(){this.data=new ue}get showDialog$(){return this.data.asObservable()}open(t){this.data.next(t)}}im.\u0275fac=function(t){return new(t||im)},im.\u0275prov=H({token:im,factory:im.\u0275fac,providedIn:"root"});class ph{constructor(t){this.router=t}goToMain(){this.router.navigate(["/c"])}goToLogin(t){this.router.navigate(["/public/login"],t)}goToURL(t){this.router.navigate([t])}isPublicUrl(t){return t.startsWith("/public")}isFromCoreUrl(t){return t.startsWith("/fromCore")}isRootUrl(t){return"/"===t}gotoPortlet(t){this.router.navigate([`c/${t.replace(" ","_")}`])}goToForgotPassword(){this.router.navigate(["/public/forgotPassword"])}goToNotLicensed(){this.router.navigate(["c/notLicensed"])}}ph.\u0275fac=function(t){return new(t||ph)(F(Ir))},ph.\u0275prov=H({token:ph,factory:ph.\u0275fac});class Zc{constructor(t,e){this.coreWebService=t,this.loggerService=e,this.configParamsSubject=new Jr(null),this.configUrl="v1/appconfiguration",this.loadConfig()}getConfig(){return this.configParamsSubject.asObservable().pipe(Tn(t=>!!t))}loadConfig(){this.loggerService.debug("Loading configuration on: ",this.configUrl),this.coreWebService.requestView({url:this.configUrl}).pipe(Oe("entity")).subscribe(t=>{this.loggerService.debug("Configuration Loaded!",t);const e={colors:t.config.colors,emailRegex:t.config.emailRegex,license:t.config.license,logos:t.config.logos,menu:t.menu,paginatorLinks:t.config["dotcms.paginator.links"],paginatorRows:t.config["dotcms.paginator.rows"],releaseInfo:{buildDate:t.config.releaseInfo?.buildDate,version:t.config.releaseInfo?.version},websocket:{websocketReconnectTime:t.config.websocket["dotcms.websocket.reconnect.time"],disabledWebsockets:t.config.websocket["dotcms.websocket.disable"]}};return this.configParamsSubject.next(e),this.loggerService.debug("this.configParams",e),t})}getTimeZones(){return this.coreWebService.requestView({url:this.configUrl}).pipe(Oe("entity","config","timezones"),fe(t=>t.sort((e,i)=>e.label>i.label?1:e.label{this.connect()},0)}destroy(){this._open.complete(),this._close.complete(),this._message.complete(),this._error.complete()}}var sb=(()=>(function(n){n[n.NORMAL_CLOSE_CODE=1e3]="NORMAL_CLOSE_CODE",n[n.GO_AWAY_CODE=1001]="GO_AWAY_CODE"}(sb||(sb={})),sb))();class ij extends nj{constructor(t,e){if(super(e),this.url=t,this.dataStream=new ue,!new RegExp("wss?://").test(t))throw new Error("Invalid url provided ["+t+"]")}connect(){this.errorThrown=!1,this.loggerService.debug("Connecting with Web socket",this.url);try{this.socket=new WebSocket(this.url),this.socket.onopen=t=>{this.loggerService.debug("Web socket connected",this.url),this._open.next(t)},this.socket.onmessage=t=>{this._message.next(JSON.parse(t.data))},this.socket.onclose=t=>{this.errorThrown||(t.code===sb.NORMAL_CLOSE_CODE?(this._close.next(t),this._message.complete()):this._error.next(t))},this.socket.onerror=t=>{this.errorThrown=!0,this._error.next(t)}}catch(t){this.loggerService.debug("Web EventsSocket connection error",t),this._error.next(t)}}close(){this.socket&&3!==this.socket.readyState&&this.socket.close()}}class Mie extends nj{constructor(t,e,i){super(e),this.url=t,this.coreWebService=i,this.isClosed=!1,this.isAlreadyOpen=!1}connect(){this.connectLongPooling()}close(){this.loggerService.info("destroying long polling"),this.isClosed=!0,this.isAlreadyOpen=!1,this._close.next()}getLastCallback(t){return this.lastCallback=t.length>0?t[t.length-1].creationDate+1:this.lastCallback,this.lastCallback}connectLongPooling(t){this.isClosed=!1,this.loggerService.info("Starting long polling connection"),this.coreWebService.requestView({url:this.url,params:t?{lastCallBack:t}:{}}).pipe(Oe("entity"),At(1)).subscribe(e=>{this.loggerService.debug("new Events",e),this.triggerOpen(),e instanceof Array?e.forEach(i=>{this._message.next(i)}):this._message.next(e),this.isClosed||this.connectLongPooling(this.getLastCallback(e))},e=>{this.loggerService.info("A error occur connecting through long polling"),this._error.next(e)})}triggerOpen(){this.isAlreadyOpen||(this._open.next(!0),this.isAlreadyOpen=!0)}}class Sie{constructor(t,e){this.url=t,this.useSSL=e}getWebSocketURL(){return`${this.getWebSocketProtocol()}://${this.url}`}getLongPoolingURL(){return`${this.getHttpProtocol()}://${this.url}`}getWebSocketProtocol(){return this.useSSL?"wss":"ws"}getHttpProtocol(){return this.useSSL?"https":"http"}}var Xr=(()=>(function(n){n[n.NONE=0]="NONE",n[n.CONNECTING=1]="CONNECTING",n[n.RECONNECTING=2]="RECONNECTING",n[n.CONNECTED=3]="CONNECTED",n[n.CLOSED=4]="CLOSED"}(Xr||(Xr={})),Xr))();class mh{constructor(t,e,i,r){this.dotEventsSocketURL=t,this.dotcmsConfigService=e,this.loggerService=i,this.coreWebService=r,this.status=Xr.NONE,this._message=new ue,this._open=new ue}connect(){return this.init().pipe(pn(()=>{this.status=Xr.CONNECTING,this.connectProtocol()}))}destroy(){this.protocolImpl&&(this.loggerService.debug("Closing socket"),this.status=Xr.CLOSED,this.protocolImpl.close())}messages(){return this._message.asObservable()}open(){return this._open.asObservable()}isConnected(){return this.status===Xr.CONNECTED}init(){return this.dotcmsConfigService.getConfig().pipe(Oe("websocket"),pn(t=>{this.webSocketConfigParams=t,this.protocolImpl=this.isWebSocketsBrowserSupport()&&!t.disabledWebsockets?this.getWebSocketProtocol():this.getLongPollingProtocol()}))}connectProtocol(){this.protocolImpl.open$().subscribe(()=>{this.status=Xr.CONNECTED,this._open.next(!0)}),this.protocolImpl.error$().subscribe(()=>{this.shouldTryWithLongPooling()?(this.loggerService.info("Error connecting with Websockets, trying again with long polling"),this.protocolImpl.destroy(),this.protocolImpl=this.getLongPollingProtocol(),this.connectProtocol()):setTimeout(()=>{this.status=this.getAfterErrorStatus(),this.protocolImpl.connect()},this.webSocketConfigParams.websocketReconnectTime)}),this.protocolImpl.close$().subscribe(t=>{this.status=Xr.CLOSED}),this.protocolImpl.message$().subscribe(t=>this._message.next(t),t=>this.loggerService.debug("Error in the System Events service: "+t.message),()=>this.loggerService.debug("Completed")),this.protocolImpl.connect()}getAfterErrorStatus(){return this.status===Xr.CONNECTING?Xr.CONNECTING:Xr.RECONNECTING}shouldTryWithLongPooling(){return this.isWebSocketProtocol()&&this.status!==Xr.CONNECTED&&this.status!==Xr.RECONNECTING}getWebSocketProtocol(){return new ij(this.dotEventsSocketURL.getWebSocketURL(),this.loggerService)}getLongPollingProtocol(){return new Mie(this.dotEventsSocketURL.getLongPoolingURL(),this.loggerService,this.coreWebService)}isWebSocketsBrowserSupport(){return"WebSocket"in window||"MozWebSocket"in window}isWebSocketProtocol(){return this.protocolImpl instanceof ij}}mh.\u0275fac=function(t){return new(t||mh)(F(Sie),F(Zc),F(To),F(Jt))},mh.\u0275prov=H({token:mh,factory:mh.\u0275fac});class El{constructor(t,e){this.dotEventsSocket=t,this.loggerService=e,this.subjects=[]}destroy(){this.dotEventsSocket.destroy(),this.messagesSub.unsubscribe()}start(){this.loggerService.debug("start DotcmsEventsService",this.dotEventsSocket.isConnected()),this.dotEventsSocket.isConnected()||(this.loggerService.debug("Connecting with socket"),this.messagesSub=this.dotEventsSocket.connect().pipe(li(()=>this.dotEventsSocket.messages())).subscribe(({event:t,payload:e})=>{this.subjects[t]||(this.subjects[t]=new ue),this.subjects[t].next(e.data)},t=>{this.loggerService.debug("Error in the System Events service: "+t.message)},()=>{this.loggerService.debug("Completed")}))}subscribeTo(t){return this.subjects[t]||(this.subjects[t]=new ue),this.subjects[t].asObservable()}subscribeToEvents(t){const e=new ue;return t.forEach(i=>{this.subscribeTo(i).subscribe(r=>{e.next({data:r,name:i})})}),e.asObservable()}open(){return this.dotEventsSocket.open()}}El.\u0275fac=function(t){return new(t||El)(F(mh),F(To))},El.\u0275prov=H({token:El,factory:El.\u0275fac});var gh=(()=>(function(n){n.SHOW_VIDEO_THUMBNAIL="SHOW_VIDEO_THUMBNAIL"}(gh||(gh={})),gh))(),rm=(()=>(function(n){n.FULFILLED="fulfilled",n.REJECTED="rejected"}(rm||(rm={})),rm))(),ab=(()=>(function(n){n.EDIT="EDIT_MODE",n.PREVIEW="PREVIEW_MODE",n.LIVE="ADMIN_MODE"}(ab||(ab={})),ab))();class Eie{constructor(t){this._params=t}get params(){return this._params}get layout(){return this._params.layout}get page(){return this._params.page}get containers(){return this._params.containers}get containerMap(){return Object.keys(this.containers).reduce((t,e)=>({...t,[e]:this.containers[e].container}),{})}get site(){return this._params.site}get template(){return this._params.template}get canCreateTemplate(){return this._params.canCreateTemplate}get viewAs(){return this._params.viewAs}get numberContents(){return this._params.numberContents}set numberContents(t){this._params.numberContents=t}}getComputedStyle(document.body).getPropertyValue("--color-palette-black-op-20"),getComputedStyle(document.body).getPropertyValue("--color-palette-black-op-30"),getComputedStyle(document.body).getPropertyValue("--color-palette-black-op-50"),getComputedStyle(document.body).getPropertyValue("--color-palette-black-op-70");const om="variantName";var cm,Va=(()=>(function(n){n.INIT="INIT",n.LOADING="LOADING",n.LOADED="LOADED",n.SAVING="SAVING",n.IDLE="IDLE"}(Va||(Va={})),Va))();class xl{constructor(t,e){this.coreWebService=t,this.dotcmsEventsService=e,this.currentUserLanguageId="",this.country="",this.lang="",this._auth$=new ue,this._logout$=new ue,this._loginAsUsersList$=new ue,this.urls={changePassword:"v1/changePassword",getAuth:"v1/authentication/logInUser",loginAs:"v1/users/loginas",logout:"v1/logout",logoutAs:"v1/users/logoutas",recoverPassword:"v1/forgotpassword",serverInfo:"v1/loginform",userAuth:"v1/authentication",current:"/api/v1/users/current/"},e.subscribeTo("SESSION_DESTROYED").subscribe(()=>{this.logOutUser(),this.clearExperimentPersistence()}),e.subscribeTo("SESSION_LOGOUT").subscribe(()=>{this.clearExperimentPersistence()})}get auth$(){return this._auth$.asObservable()}get logout$(){return this._logout$.asObservable()}get auth(){return this._auth}get loginAsUsersList$(){return this._loginAsUsersList$.asObservable()}get isLogin$(){return this.auth&&this.auth.user?Re(!0):this.loadAuth().pipe(fe(t=>!!t&&!!t.user))}getCurrentUser(){return this.coreWebService.request({url:this.urls.current}).pipe(fe(t=>t))}loadAuth(){return this.coreWebService.requestView({url:this.urls.getAuth}).pipe(Oe("entity"),pn(t=>{t.user&&this.setAuth(t)}),fe(t=>this.getFullAuth(t)))}changePassword(t,e){const i=JSON.stringify({password:t,token:e});return this.coreWebService.requestView({body:i,method:"POST",url:this.urls.changePassword}).pipe(Oe("entity"))}getLoginFormInfo(t,e){return this.setLanguage(t),this.coreWebService.requestView({body:{messagesKey:e,language:this.lang,country:this.country},method:"POST",url:this.urls.serverInfo}).pipe(Oe("bodyJsonObject"))}loginAs(t){return this.coreWebService.requestView({body:{password:t.password,userId:t.user.userId},method:"POST",url:this.urls.loginAs}).pipe(fe(e=>{if(!e.entity.loginAs)throw e.errorsMessages;return this.setAuth({loginAsUser:t.user,user:this._auth.user}),e}),Oe("entity","loginAs"))}loginUser({login:t,password:e,rememberMe:i,language:r,backEndLogin:o}){return this.setLanguage(r),this.coreWebService.requestView({body:{userId:t,password:e,rememberMe:i,language:this.lang,country:this.country,backEndLogin:o},method:"POST",url:this.urls.userAuth}).pipe(fe(s=>(this.setAuth({loginAsUser:null,user:s.entity}),this.coreWebService.subscribeToHttpError(Wc.UNAUTHORIZED).subscribe(()=>{this.logOutUser()}),s.entity)))}logoutAs(){return this.coreWebService.requestView({method:"PUT",url:`${this.urls.logoutAs}`}).pipe(fe(t=>(this.setAuth({loginAsUser:null,user:this._auth.user}),t.entity.logoutAs)))}recoverPassword(t){return this.coreWebService.requestView({body:{userId:t},method:"POST",url:this.urls.recoverPassword}).pipe(Oe("entity"))}watchUser(t){this.auth&&t(this.auth),this.auth$.subscribe(e=>{e.user&&t(e)})}setAuth(t){this._auth=this.getFullAuth(t),this._auth$.next(this.getFullAuth(t)),this.currentUserLanguageId=t.user.languageId,t.user?this.dotcmsEventsService.start():this._logout$.next()}setLanguage(t){if(void 0!==t&&""!==t){const e=t.split("_");this.lang=e[0],this.country=e[1]}else this.lang="",this.country=""}logOutUser(){window.location.href=`/dotAdmin/logout?r=${(new Date).getTime()}`}getFullAuth(t){const e=!!t.loginAsUser||!!Object.keys(t.loginAsUser||{}).length;return{...t,isLoginAs:e}}clearExperimentPersistence(){sessionStorage.removeItem(om)}}xl.\u0275fac=function(t){return new(t||xl)(F(Jt),F(El))},xl.\u0275prov=H({token:xl,factory:xl.\u0275fac,providedIn:"root"});class sm{constructor(t,e,i,r){this.router=e,this.coreWebService=i,this._menusChange$=new ue,this._portletUrlSource$=new ue,this._currentPortlet$=new ue,this.urlMenus="v1/CORE_WEB/menu",this.portlets=new Map,t.watchUser(this.loadMenus.bind(this)),r.subscribeTo("UPDATE_PORTLET_LAYOUTS").subscribe(this.loadMenus.bind(this))}get currentPortletId(){return this._currentPortletId}get currentMenu(){return this.menus}get menusChange$(){return this._menusChange$.asObservable()}get portletUrl$(){return this._portletUrlSource$.asObservable()}get firstPortlet(){const t=this.portlets.entries().next().value;return t?t[0]:null}addPortletURL(t,e){this.portlets.set(t.replace(" ","_"),e)}getPortletURL(t){return this.portlets.get(t)}goToPortlet(t){this.router.gotoPortlet(t),this._currentPortletId=t}isPortlet(t){let e=this.getPortletId(t);return e.indexOf("?")>=0&&(e=e.substr(0,e.indexOf("?"))),this.portlets.has(e)}setCurrentPortlet(t){let e=this.getPortletId(t);e.indexOf("?")>=0&&(e=e.substr(0,e.indexOf("?"))),this._currentPortletId=e,this._currentPortlet$.next(e)}get currentPortlet$(){return this._currentPortlet$}setMenus(t){if(this.menus=t,this.menus.length){this.portlets=new Map;for(let e=0;e{this.setMenus(t.entity)},t=>this._menusChange$.error(t))}getPortletId(t){const e=t.split("/");return e[e.length-1]}}sm.\u0275fac=function(t){return new(t||sm)(F(xl),F(ph),F(Jt),F(El))},sm.\u0275prov=H({token:sm,factory:sm.\u0275fac});class am{constructor(t,e,i,r){this.coreWebService=i,this.loggerService=r,this.events=["SAVE_SITE","PUBLISH_SITE","UPDATE_SITE_PERMISSIONS","UN_ARCHIVE_SITE","UPDATE_SITE","ARCHIVE_SITE"],this._switchSite$=new ue,this._refreshSites$=new ue,this.urls={currentSiteUrl:"v1/site/currentSite",sitesUrl:"v1/site",switchSiteUrl:"v1/site/switch"},e.subscribeToEvents(["ARCHIVE_SITE","UPDATE_SITE"]).subscribe(o=>this.eventResponse(o)),e.subscribeToEvents(this.events).subscribe(({data:o})=>this.siteEventsHandler(o)),e.subscribeToEvents(["SWITCH_SITE"]).subscribe(({data:o})=>this.setCurrentSite(o)),t.watchUser(()=>this.loadCurrentSite())}eventResponse({name:t,data:e}){this.loggerService.debug("Capturing Site event",t,e),e.identifier===this.selectedSite.identifier&&("ARCHIVE_SITE"===t?this.switchToDefaultSite().pipe(At(1),li(r=>this.switchSite(r))).subscribe():this.loadCurrentSite())}siteEventsHandler(t){this._refreshSites$.next(t)}get refreshSites$(){return this._refreshSites$.asObservable()}get switchSite$(){return this._switchSite$.asObservable()}get currentSite(){return this.selectedSite}switchToDefaultSite(){return this.coreWebService.requestView({method:"PUT",url:"v1/site/switch"}).pipe(Oe("entity"))}getSiteById(t){return this.coreWebService.requestView({url:`/api/content/render/false/query/+contentType:host%20+identifier:${t}`}).pipe(Oe("contentlets"),fe(e=>e[0]))}switchSiteById(t){return this.loggerService.debug("Applying a Site Switch"),this.getSiteById(t).pipe(li(e=>e?this.switchSite(e):Re(null)),At(1))}switchSite(t){return this.loggerService.debug("Applying a Site Switch",t.identifier),this.coreWebService.requestView({method:"PUT",url:`${this.urls.switchSiteUrl}/${t.identifier}`}).pipe(At(1),pn(()=>this.setCurrentSite(t)),fe(()=>t))}getCurrentSite(){return Ts(this.selectedSite?Re(this.selectedSite):this.requestCurrentSite(),this.switchSite$)}requestCurrentSite(){return this.coreWebService.requestView({url:this.urls.currentSiteUrl}).pipe(Oe("entity"))}setCurrentSite(t){this.selectedSite=t,this._switchSite$.next({...t})}loadCurrentSite(){this.getCurrentSite().pipe(At(1)).subscribe(t=>{this.setCurrentSite(t)})}}am.\u0275fac=function(t){return new(t||am)(F(xl),F(El),F(Jt),F(To))},am.\u0275prov=H({token:am,factory:am.\u0275fac,providedIn:"root"});class Xc{constructor(){this.iconPath="./src/assets/images/icons",this.dotCMSURLKey="siteURLJWT"}}Xc.\u0275fac=function(t){return new(t||Xc)},Xc.\u0275prov=H({token:Xc,factory:Xc.\u0275fac});class yh{storeValue(t,e){localStorage.setItem(t,e)}getValue(t){return localStorage.getItem(t)}clearValue(t){localStorage.removeItem(t)}clear(){localStorage.clear()}}yh.\u0275fac=function(t){return new(t||yh)},yh.\u0275prov=H({token:yh,factory:yh.\u0275fac});class lm{}lm.\u0275fac=function(t){return new(t||lm)},lm.\u0275mod=et({type:lm}),lm.\u0275inj=ft({providers:[yh]});let vM=((cm=class{constructor(t){this.iconPath=t.iconPath}displayErrorMessage(t){this.displayMessage("Error",t,"error")}displaySuccessMessage(t){this.displayMessage("Success",t,"success")}displayInfoMessage(t){this.displayMessage("Info",t,"info")}displayMessage(t,e,i){let r;return r=new Notification(i,{body:e,icon:this.iconPath+"/"+i+".png"}),r}}).\u0275prov=H({token:cm,factory:cm.\u0275fac}),cm);vM=function Iie(n,t,e,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(n,t,e,i);else for(var a=n.length-1;a>=0;a--)(s=n[a])&&(o=(r<3?s(o):r>3?s(t,e,o):s(t,e))||o);return r>3&&o&&Object.defineProperty(t,e,o),o}([zy("config"),function Oie(n,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(n,t)}("design:paramtypes",[Xc])],vM);class um{}um.\u0275fac=function(t){return new(t||um)},um.\u0275mod=et({type:um}),um.\u0275inj=ft({providers:[Xc,vM]});class dm{constructor(t){this._http=t}request(t){t.method||(t.method="GET");const e={params:new ms};return t.params&&Object.keys(t.params).forEach(i=>{e.params=e.params.set(i,t.params[i])}),this._http.request(new Oa(t.method,t.url,t.body,{params:e.params})).pipe(Tn(i=>i.type===Nn.Response),fe(i=>{try{return i.body}catch{return i}}))}requestView(t){t.method||(t.method="GET");const e={headers:new Kr,params:new ms};return t.params&&Object.keys(t.params).forEach(i=>{e.params=e.params.set(i,t.params[i])}),this._http.request(new Oa(t.method,t.url,t.body,{params:e.params})).pipe(Tn(i=>i.type===Nn.Response),fe(i=>new W1(i)))}subscribeTo(t){return Re({error:t})}}function aj(n,t){return n.replace(/{(\d+)}/g,(e,i)=>typeof t[i]<"u"?t[i]:e)}dm.\u0275fac=function(t){return new(t||dm)(F(Ki))},dm.\u0275prov=H({token:dm,factory:dm.\u0275fac});class hm{constructor(){this.display=!1}show(){this.display=!0}hide(){this.display=!1}}hm.\u0275fac=function(t){return new(t||hm)},hm.\u0275prov=H({token:hm,factory:hm.\u0275fac,providedIn:"root"});class _h{constructor(t){this.coreWebService=t,this.currentUsersUrl="v1/users/current/",this.userPermissionsUrl="v1/permissions/_bypermissiontype?userid={0}",this.porletAccessUrl="v1/portlet/{0}/_doesuserhaveaccess"}getCurrentUser(){return this.coreWebService.request({url:this.currentUsersUrl}).pipe(fe(t=>t))}getUserPermissions(t,e=[],i=[]){let r=e.length?`${this.userPermissionsUrl}&permission={1}`:this.userPermissionsUrl;r=i.length?`${r}&permissiontype={2}`:r;const o=aj(r,[t,e.join(","),i.join(",")]);return this.coreWebService.requestView({url:o}).pipe(At(1),Oe("entity"))}hasAccessToPortlet(t){return this.coreWebService.requestView({url:this.porletAccessUrl.replace("{0}",t)}).pipe(At(1),Oe("entity","response"))}}_h.\u0275fac=function(t){return new(t||_h)(F(Jt))},_h.\u0275prov=H({token:_h,factory:_h.\u0275fac});class fm{constructor(t,e){this.coreWebService=t,this.currentUser=e,this.bundleUrl="api/bundle/getunsendbundles/userid",this.addToBundleUrl="/DotAjaxDirector/com.dotcms.publisher.ajax.RemotePublishAjaxAction/cmd/addToBundle"}getBundles(){return this.currentUser.getCurrentUser().pipe(ri(t=>this.coreWebService.requestView({url:`${this.bundleUrl}/${t.userId}`}).pipe(Oe("bodyJsonObject","items"))))}addToBundle(t,e){return this.coreWebService.request({body:`assetIdentifier=${t}&bundleName=${e.name}&bundleSelect=${e.id}`,headers:{"Content-Type":"application/x-www-form-urlencoded"},method:"POST",url:this.addToBundleUrl}).pipe(fe(i=>i))}}fm.\u0275fac=function(t){return new(t||fm)(F(Jt),F(_h))},fm.\u0275prov=H({token:fm,factory:fm.\u0275fac});const cj=n=>{const t=parseInt(n,0);if(t)return t;try{return JSON.parse(n)}catch{return n}};class vh{setItem(t,e){let i;i="object"==typeof e?JSON.stringify(e):e,localStorage.setItem(t,i)}getItem(t){const e=localStorage.getItem(t);return cj(e)}removeItem(t){localStorage.removeItem(t)}clear(){localStorage.clear()}listen(t){return xv(window,"storage").pipe(Tn(({key:e})=>e===t),fe(e=>cj(e.newValue)))}}vh.\u0275fac=function(t){return new(t||vh)},vh.\u0275prov=H({token:vh,factory:vh.\u0275fac,providedIn:"root"});const uj="default",dj="dotMessagesKeys-lang",bM="dotMessagesKeys",hj="buildDate";class Mo{constructor(t,e){this.http=t,this.dotLocalstorageService=e,this.messageMap={}}init(t){this.getAll(t?.language||uj,t?.buildDate||null)}get(t,...e){return this.messageMap[t]?e.length?aj(this.messageMap[t],e):this.messageMap[t]:t}getAll(t=uj,e=null){this.shouldReloadMessages(t,e)?this.http.get(this.geti18nURL(t)).pipe(At(1),Oe("entity")).subscribe(i=>{this.messageMap=i,this.dotLocalstorageService.setItem(bM,this.messageMap),this.dotLocalstorageService.setItem(dj,t),this.dotLocalstorageService.setItem(hj,e)}):this.messageMap=this.dotLocalstorageService.getItem(bM)}geti18nURL(t){return`/api/v2/languages/${t||"default"}/keys`}shouldReloadMessages(t,e){const i=this.dotLocalstorageService.getItem(hj),r=this.dotLocalstorageService.getItem(dj);return!this.dotLocalstorageService.getItem(bM)||t!==r||e&&e!==i}}Mo.\u0275fac=function(t){return new(t||Mo)(F(Ki),F(vh))},Mo.\u0275prov=H({token:Mo,factory:Mo.\u0275fac,providedIn:"root"});class pm{constructor(t,e){this.confirmationService=t,this.dotMessageService=e,this.alertModel=null,this.confirmModel=null,this._confirmDialogOpened$=new ue}get confirmDialogOpened$(){return this._confirmDialogOpened$.asObservable()}confirm(t){t.footerLabel={accept:this.dotMessageService.get("dot.common.dialog.accept"),reject:this.dotMessageService.get("dot.common.dialog.reject"),...t.footerLabel},this.confirmModel=t,setTimeout(()=>{this.confirmationService.confirm(t),this._confirmDialogOpened$.next(!0)},0)}alert(t){t.footerLabel={accept:this.dotMessageService.get("dot.common.dialog.accept"),...t.footerLabel},this.alertModel=t,setTimeout(()=>{this._confirmDialogOpened$.next(!0)},0)}alertAccept(t){this.alertModel.accept&&this.alertModel.accept(t),this.alertModel=null}alertReject(t){this.alertModel.reject&&this.alertModel.reject(t),this.alertModel=null}clearConfirm(){this.confirmModel=null}}pm.\u0275fac=function(t){return new(t||pm)(F(YL),F(Mo))},pm.\u0275prov=H({token:pm,factory:pm.\u0275fac});class bh{constructor(t){this.http=t}getFiltered(t,e,i=!1){return this.http.get(`/api/v1/containers/?filter=${t}&perPage=${e}&system=${i}`).pipe(Oe("entity"))}}function Fie(n,t,e){return 0===e?[t]:(n.push(t),n)}bh.\u0275fac=function(t){return new(t||bh)(F(Ki))},bh.\u0275prov=H({token:bh,factory:bh.\u0275fac});class mm{constructor(t){this.coreWebService=t}getContentType(t){return this.coreWebService.requestView({url:`v1/contenttype/id/${t}`}).pipe(At(1),Oe("entity"))}getContentTypes({filter:t="",page:e=40,type:i=""}){return this.coreWebService.requestView({url:`/api/v1/contenttype?filter=${t}&orderby=name&direction=ASC&per_page=${e}${i?`&type=${i}`:""}`}).pipe(Oe("entity"))}getAllContentTypes(){return this.getBaseTypes().pipe(wf(t=>t),Tn(t=>!this.isRecentContentType(t))).pipe(function jie(){return function Rie(n,t){return arguments.length>=2?function(i){return pe(Vv(n,t),Vp(1),rh(t))(i)}:function(i){return pe(Vv((r,o,s)=>n(r,o,s+1)),Vp(1))(i)}}(Fie,[])}())}filterContentTypes(t="",e=""){return this.coreWebService.requestView({body:{filter:{types:e,query:t},orderBy:"name",direction:"ASC",perPage:40},method:"POST",url:"/api/v1/contenttype/_filter"}).pipe(Oe("entity"))}getUrlById(t){return this.getBaseTypes().pipe(wf(e=>e),Oe("types"),wf(e=>e),Tn(e=>e.variable.toLocaleLowerCase()===t),Oe("action"))}isContentTypeInMenu(t){return this.getUrlById(t).pipe(fe(e=>!!e),rh(!1))}saveCopyContentType(t,e){return this.coreWebService.requestView({body:{...e},method:"POST",url:`/api/v1/contenttype/${t}/_copy`}).pipe(Oe("entity"))}isRecentContentType(t){return t.name.startsWith("RECENT")}getBaseTypes(){return this.coreWebService.requestView({url:"v1/contenttype/basetypes"}).pipe(Oe("entity"))}}mm.\u0275fac=function(t){return new(t||mm)(F(Jt))},mm.\u0275prov=H({token:mm,factory:mm.\u0275fac});class gm{constructor(){this.contentTypeInfoCollection=[{clazz:"com.dotcms.contenttype.model.type.ImmutableSimpleContentType",icon:"event_note",label:"content"},{clazz:"com.dotcms.contenttype.model.type.ImmutableWidgetContentType",icon:"settings",label:"widget"},{clazz:"com.dotcms.contenttype.model.type.ImmutableFileAssetContentType",icon:"insert_drive_file",label:"fileasset"},{clazz:"com.dotcms.contenttype.model.type.ImmutableDotAssetContentType",icon:"file_copy",label:"dotasset"},{clazz:"com.dotcms.contenttype.model.type.ImmutablePageContentType",icon:"description",label:"htmlpage"},{clazz:"com.dotcms.contenttype.model.type.ImmutablePersonaContentType",icon:"person",label:"persona"},{clazz:"com.dotcms.contenttype.model.type.ImmutableFormContentType",icon:"format_list_bulleted",label:"form"},{clazz:"com.dotcms.contenttype.model.type.ImmutableVanityUrlContentType",icon:"format_strikethrough",label:"vanity_url"},{clazz:"com.dotcms.contenttype.model.type.ImmutableKeyValueContentType",icon:"public",label:"key_value"},{clazz:"com.dotcms.contenttype.model.type.ImmutableSimpleContentType",icon:"fa fa-newspaper-o",label:"content_old"},{clazz:"com.dotcms.contenttype.model.type.ImmutableWidgetContentType",icon:"fa fa-cog",label:"widget_old"},{clazz:"com.dotcms.contenttype.model.type.ImmutableFileAssetContentType",icon:"fa fa-file-o",label:"fileasset_old"},{clazz:"com.dotcms.contenttype.model.type.ImmutableDotAssetContentType",icon:"fa fa-files-o",label:"dotasset_old"},{clazz:"com.dotcms.contenttype.model.type.ImmutablePageContentType",icon:"fa fa-file-text-o",label:"htmlpage_old"},{clazz:"com.dotcms.contenttype.model.type.ImmutablePersonaContentType",icon:"fa fa-user",label:"persona_old"},{clazz:"com.dotcms.contenttype.model.type.ImmutableFormContentType",icon:"fa fa-list",label:"form_old"},{clazz:"com.dotcms.contenttype.model.type.ImmutableVanityUrlContentType",icon:"fa fa-map-signs",label:"vanity_url_old"},{clazz:"com.dotcms.contenttype.model.type.ImmutableKeyValueContentType",icon:"fa fa-globe",label:"key_value_old"}]}getIcon(t){return this.getItem(t,"icon")}getClazz(t){return this.getItem(t,"clazz")}getLabel(t){return this.getItem(t,"label")}getItem(t,e){let i,r=!1;if(t.indexOf("_old")>0&&(r=!0,t=t.replace("_old","")),t){t=this.getTypeName(t);for(let o=0;or.lift(function zie({bufferSize:n=Number.POSITIVE_INFINITY,windowTime:t=Number.POSITIVE_INFINITY,refCount:e,scheduler:i}){let r,s,o=0,a=!1,l=!1;return function(u){let d;o++,!r||a?(a=!1,r=new q_(n,t,i),d=r.subscribe(this),s=u.subscribe({next(h){r.next(h)},error(h){a=!0,r.error(h)},complete(){l=!0,s=void 0,r.complete()}}),l&&(s=void 0)):d=r.subscribe(this),this.add(()=>{o--,d.unsubscribe(),d=void 0,s&&!l&&e&&0===o&&(s.unsubscribe(),s=void 0,r=void 0)})}}(i))}_m.\u0275fac=function(t){return new(t||_m)(F(Jt))},_m.\u0275prov=H({token:_m,factory:_m.\u0275fac});class vm{constructor(t){this.http=t}copyInPage(t){const e={...t,personalization:t?.personalization||"dot:default"};return this.http.put("/api/v1/page/copyContent",e).pipe(fj(),Oe("entity"))}}vm.\u0275fac=function(t){return new(t||vm)(F(Ki))},vm.\u0275prov=H({token:vm,factory:vm.\u0275fac,providedIn:"root"});class bm{constructor(t){this.coreWebService=t}postData(t,e){return this.coreWebService.requestView({body:e,method:"POST",url:`${t}`}).pipe(Oe("entity"))}putData(t,e){return this.coreWebService.requestView({body:e,method:"PUT",url:`${t}`}).pipe(Oe("entity"))}getDataById(t,e,i="entity"){return this.coreWebService.requestView({url:`${t}/id/${e}`}).pipe(Oe(i))}delete(t,e){return this.coreWebService.requestView({method:"DELETE",url:`${t}/${e}`}).pipe(Oe("entity"))}}bm.\u0275fac=function(t){return new(t||bm)(F(Jt))},bm.\u0275prov=H({token:bm,factory:bm.\u0275fac});class Cm{constructor(t){this.coreWebService=t}get(){return this.coreWebService.requestView({url:["api","content","respectFrontendRoles/false","render/false","query/+contentType:previewDevice +live:true +deleted:false +working:true","limit/40/orderby/title"].join("/")}).pipe(Oe("contentlets"))}}Cm.\u0275fac=function(t){return new(t||Cm)(F(Jt))},Cm.\u0275prov=H({token:Cm,factory:Cm.\u0275fac});class Ba{setVariationId(t){sessionStorage.setItem(om,t)}getVariationId(){return sessionStorage.getItem(om)||"DEFAULT"}removeVariantId(){sessionStorage.removeItem(om)}}Ba.\u0275fac=function(t){return new(t||Ba)},Ba.\u0275prov=H({token:Ba,factory:Ba.\u0275fac});class wm{constructor(t,e){this.coreWebService=t,this.dotSessionStorageService=e}save(t,e){const i={method:"POST",body:e,url:`v1/page/${t}/content`},r=this.dotSessionStorageService.getVariationId();return r&&(i.params={variantName:r}),this.coreWebService.requestView(i).pipe(Oe("entity"))}whatChange(t,e){return this.coreWebService.requestView({url:`v1/page/${t}/render/versions?langId=${e}`}).pipe(Oe("entity"))}}wm.\u0275fac=function(t){return new(t||wm)(F(Jt),F(Ba))},wm.\u0275prov=H({token:wm,factory:wm.\u0275fac});var cb=(()=>(function(n){n.ASC="ASC",n.DESC="DESC"}(cb||(cb={})),cb))();class Tm{constructor(t){this.coreWebService=t,this._paginationPerPage=40,this._offset="0",this._url="/api/content/_search",this._defaultQueryParams={"+languageId":"1","+deleted":"false","+working":"true"},this._sortField="modDate",this._sortOrder=cb.DESC,this._extraParams=new Map(Object.entries(this._defaultQueryParams))}get(t){this.setBaseParams(t);const e=this.getESQuery(t,this.getObjectFromMap(this._extraParams));return this.coreWebService.requestView({body:JSON.stringify(e),method:"POST",url:this._url}).pipe(Oe("entity"),At(1))}setExtraParams(t,e){null!=e&&this._extraParams.set(t,e.toString())}getESQuery(t,e){return{query:`${t.query} ${JSON.stringify(e).replace(/["{},]/g," ")}`,sort:`${this._sortField||""} ${this._sortOrder||""}`,limit:this._paginationPerPage,offset:this._offset}}setBaseParams(t){this._extraParams.clear(),this._paginationPerPage=t.itemsPerPage||this._paginationPerPage,this._sortField=t.sortField||this._sortField,this._sortOrder=t.sortOrder||this._sortOrder,this._offset=t.offset||this._offset,t.lang&&this.setExtraParams("+languageId",t.lang);let e=t.filter||"";e&&e.indexOf(" ")>0&&(e=`'${e.replace(/'/g,"\\'")}'`),e&&this.setExtraParams("+title",`${e}*`)}getObjectFromMap(t){return Array.from(t).reduce((i,[r,o])=>Object.assign(i,{[r]:o}),{})}}Tm.\u0275fac=function(t){return new(t||Tm)(F(Jt))},Tm.\u0275prov=H({token:Tm,factory:Tm.\u0275fac});class Ch{constructor(){this.subject=new ue}listen(t){return this.subject.asObservable().pipe(Tn(e=>e.name===t))}notify(t,e){this.subject.next({name:t,data:e})}}Ch.\u0275fac=function(t){return new(t||Ch)},Ch.\u0275prov=H({token:Ch,factory:Ch.\u0275fac});class Dm{constructor(){this.data=new ue}get showDialog$(){return this.data.asObservable()}open(t){this.data.next(t)}}Dm.\u0275fac=function(t){return new(t||Dm)},Dm.\u0275prov=H({token:Dm,factory:Dm.\u0275fac});class Mm{constructor(t){this.coreWebService=t}get(t){return this.coreWebService.requestView({url:t?`v2/languages?contentInode=${t}`:"v2/languages"}).pipe(Oe("entity"))}}Mm.\u0275fac=function(t){return new(t||Mm)(F(Jt))},Mm.\u0275prov=H({token:Mm,factory:Mm.\u0275fac});const Uie=[{icon:"tune",titleKey:"com.dotcms.repackage.javax.portlet.title.rules",url:"/rules"},{icon:"cloud_upload",titleKey:"com.dotcms.repackage.javax.portlet.title.publishing-queue",url:"/c/publishing-queue"},{icon:"find_in_page",titleKey:"com.dotcms.repackage.javax.portlet.title.site-search",url:"/c/site-search"},{icon:"person",titleKey:"com.dotcms.repackage.javax.portlet.title.personas",url:"/c/c_Personas"},{icon:"update",titleKey:"com.dotcms.repackage.javax.portlet.title.time-machine",url:"/c/time-machine"},{icon:"device_hub",titleKey:"com.dotcms.repackage.javax.portlet.title.workflow-schemes",url:"/c/workflow-schemes"},{icon:"find_in_page",titleKey:"com.dotcms.repackage.javax.portlet.title.es-search",url:"/c/es-search"},{icon:"business",titleKey:"Forms-and-Form-Builder",url:"/forms"},{icon:"apps",titleKey:"com.dotcms.repackage.javax.portlet.title.apps",url:"/apps"},{icon:"integration_instructions",titleKey:"com.dotcms.repackage.javax.portlet.title.velocity",url:"/c/velocity_playground"}];class Sm{constructor(t){this.http=t,this.unlicenseData=new Jr({icon:"",titleKey:"",url:""}),this.licenseURL="/api/v1/appconfiguration"}isEnterprise(){return this.getLicense().pipe(fe(t=>t.level>=200))}canAccessEnterprisePortlet(t){return this.isEnterprise().pipe(At(1),fe(e=>{const i=this.checksIfEnterpriseUrl(t);return!i||i&&e}))}checksIfEnterpriseUrl(t){const e=Uie.filter(i=>0===t.indexOf(i.url));return e.length&&this.unlicenseData.next(...e),!!e.length}getLicense(){return this.license?Re(this.license):this.http.get(this.licenseURL).pipe(Oe("entity","config","license"),pn(t=>{this.setLicense(t)}))}updateLicense(){this.http.get(this.licenseURL).pipe(Oe("entity","config","license")).subscribe(t=>{this.setLicense(t)})}setLicense(t){this.license={...t}}}Sm.\u0275fac=function(t){return new(t||Sm)(F(Ki))},Sm.\u0275prov=H({token:Sm,factory:Sm.\u0275fac});class Em{constructor(t,e){this.coreWebService=t,this.dotSessionStorageService=e}save(t,e){const i={body:e,method:"POST",url:`v1/page/${t}/layout`},r=this.dotSessionStorageService.getVariationId();return r&&(i.params={variantName:r}),this.coreWebService.requestView(i).pipe(Oe("entity"),fe(o=>new Eie(o)))}}Em.\u0275fac=function(t){return new(t||Em)(F(Jt),F(Ba))},Em.\u0275prov=H({token:Em,factory:Em.\u0275fac});class xm{constructor(t,e){this.coreWebService=t,this.dotSessionStorageService=e}checkPermission(t){return this.coreWebService.requestView({body:{...t},method:"POST",url:"v1/page/_check-permission"}).pipe(Oe("entity"))}get({viewAs:t,mode:e,url:i},r){const o=this.getOptionalViewAsParams(t,e);return this.coreWebService.requestView({url:`v1/page/render/${i?.replace(/^\//,"")}`,params:{...r,...o}}).pipe(Oe("entity"))}getOptionalViewAsParams(t={},e=ab.PREVIEW){return{...this.getPersonaParam(t.persona),...this.getDeviceParam(t.device),...this.getLanguageParam(t.language),...this.getModeParam(e),variantName:this.dotSessionStorageService.getVariationId()}}getModeParam(t){return t?{mode:t}:{}}getPersonaParam(t){return t?{"com.dotmarketing.persona.id":t.identifier||""}:{}}getDeviceParam(t){return t?{device_inode:t.inode}:{}}getLanguageParam(t){return t?{language_id:t.toString()}:{}}}xm.\u0275fac=function(t){return new(t||xm)(F(Jt),F(Ba))},xm.\u0275prov=H({token:xm,factory:xm.\u0275fac});class Im{constructor(t){this.coreWebService=t}getPages(t=""){return this.coreWebService.requestView({url:`/api/v1/page/types?filter=${t}`}).pipe(At(1),Oe("entity"))}}Im.\u0275fac=function(t){return new(t||Im)(F(Jt))},Im.\u0275prov=H({token:Im,factory:Im.\u0275fac});class Om{constructor(t){this.http=t}getByUrl(t){return this.http.post("/api/v1/page/actions",{host_id:t.host_id,language_id:t.language_id,url:t.url,renderMode:t.renderMode}).pipe(Oe("entity"))}}Om.\u0275fac=function(t){return new(t||Om)(F(Ki))},Om.\u0275prov=H({token:Om,factory:Om.\u0275fac});class Am{constructor(t,e){this.coreWebService=t,this.dotSessionStorageService=e}personalized(t,e){const i=this.dotSessionStorageService.getVariationId();return this.coreWebService.requestView({method:"POST",url:"/api/v1/personalization/pagepersonas",params:{variantName:i},body:{pageId:t,personaTag:e}}).pipe(Oe("entity"))}despersonalized(t,e){const i=this.dotSessionStorageService.getVariationId();return this.coreWebService.requestView({method:"DELETE",url:`/api/v1/personalization/pagepersonas/page/${t}/personalization/${e}`,params:{variantName:i}}).pipe(Oe("entity"))}}Am.\u0275fac=function(t){return new(t||Am)(F(Jt),F(Ba))},Am.\u0275prov=H({token:Am,factory:Am.\u0275fac});class km{constructor(t){this.coreWebService=t}get(){return this.coreWebService.requestView({url:"content/respectFrontendRoles/false/render/false/query/+contentType:persona +live:true +deleted:false +working:true"}).pipe(Oe("contentlets"))}}km.\u0275fac=function(t){return new(t||km)(F(Jt))},km.\u0275prov=H({token:km,factory:km.\u0275fac});class eu{constructor(t){this.http=t}getKey(t){return this.http.get("/api/v1/configuration/config",{params:{keys:t}}).pipe(At(1),Oe("entity",t))}getKeys(t){return this.http.get("/api/v1/configuration/config",{params:{keys:t.join()}}).pipe(At(1),Oe("entity"))}getKeyAsList(t){return this.http.get("/api/v1/configuration/config",{params:{keys:`list:${t}`}}).pipe(At(1),Oe("entity",t))}getFeatureFlag(t){return this.getKey(t).pipe(fe(e=>"true"===e))}getFeatureFlags(t){return this.getKeys(t).pipe(fe(e=>Object.keys(e).reduce((i,r)=>(i[r]="true"===e[r],i),{})))}}eu.\u0275fac=function(t){return new(t||eu)(F(Ki))},eu.\u0275prov=H({token:eu,factory:eu.\u0275fac,providedIn:"root"});class Nm{constructor(t){this.coreWebService=t}get(){return this.coreWebService.requestView({url:"/api/v1/pushpublish/filters/"}).pipe(Oe("entity"))}}Nm.\u0275fac=function(t){return new(t||Nm)(F(Jt))},Nm.\u0275prov=H({token:Nm,factory:Nm.\u0275fac});class Pm{constructor(t,e){this.dotMessageService=t,this.coreWebService=e}get(t,e){return this.coreWebService.requestView({url:`/api/v1/roles/${t}/rolehierarchyanduserroles?roleHierarchyForAssign=${e}`}).pipe(Oe("entity"),fe(this.processRolesResponse.bind(this)))}search(){return this.coreWebService.requestView({url:"/api/v1/roles/_search"}).pipe(Oe("entity"),fe(this.processRolesResponse.bind(this)))}processRolesResponse(t){return t.filter(e=>"anonymous"!==e.roleKey).map(e=>("CMS Anonymous"===e.roleKey?e.name=this.dotMessageService.get("current-user"):e.user&&(e.name=`${e.name}`),e))}}Pm.\u0275fac=function(t){return new(t||Pm)(F(Mo),F(Jt))},Pm.\u0275prov=H({token:Pm,factory:Pm.\u0275fac});class wh{constructor(t){this.http=t,this.BASE_SITE_URL="/api/v1/site",this.params={archived:!1,live:!0,system:!0},this.defaultPerpage=10}set searchParam(t){this.params=t}getSites(t="*",e){return this.http.get(this.siteURL(t,e)).pipe(Oe("entity"))}siteURL(t,e){const r=`filter=${t}&perPage=${e||this.defaultPerpage}&${this.getQueryParams()}`;return`${this.BASE_SITE_URL}?${r}`}getQueryParams(){return Object.keys(this.params).map(t=>`${t}=${this.params[t]}`).join("&")}}wh.\u0275fac=function(t){return new(t||wh)(F(Ki))},wh.\u0275prov=H({token:wh,factory:wh.\u0275fac,providedIn:"root"});class Lm{constructor(t){this.coreWebService=t}setSelectedFolder(t){return this.coreWebService.requestView({body:{path:t},method:"PUT",url:"/api/v1/browser/selectedfolder"}).pipe(At(1))}}Lm.\u0275fac=function(t){return new(t||Lm)(F(Jt))},Lm.\u0275prov=H({token:Lm,factory:Lm.\u0275fac});class Rm{constructor(t){this.coreWebService=t}getSuggestions(t){return this.coreWebService.requestView({url:"v1/tags"+(t?`?name=${t}`:"")}).pipe(Oe("bodyJsonObject"),fe(e=>Object.entries(e).map(([i,r])=>r)))}}Rm.\u0275fac=function(t){return new(t||Rm)(F(Jt))},Rm.\u0275prov=H({token:Rm,factory:Rm.\u0275fac});class Fm{constructor(t){this.coreWebService=t}get(t){return this.coreWebService.requestView({url:"v1/themes/id/"+t}).pipe(Oe("entity"))}}function pj(n,t,e,i,r,o,s){try{var a=n[o](s),l=a.value}catch(c){return void e(c)}a.done?t(l):Promise.resolve(l).then(i,r)}function tu(n){return function(){var t=this,e=arguments;return new Promise(function(i,r){var o=n.apply(t,e);function s(l){pj(o,i,r,s,a,"next",l)}function a(l){pj(o,i,r,s,a,"throw",l)}s(void 0)})}}Fm.\u0275fac=function(t){return new(t||Fm)(F(Jt))},Fm.\u0275prov=H({token:Fm,factory:Fm.\u0275fac});const $ie={500:"500 Internal Server Error",400:"400 Bad Request",401:"401 Unauthorized Error"};class Th{uploadFile({file:t,maxSize:e,signal:i}){return"string"==typeof t?this.uploadFileByURL(t,i):this.uploadBinaryFile({file:t,maxSize:e,signal:i})}uploadFileByURL(t,e){return fetch("/api/v1/temp/byUrl",{method:"POST",signal:e,headers:{"Content-Type":"application/json",Origin:window.location.hostname},body:JSON.stringify({remoteUrl:t})}).then(function(){var r=tu(function*(o){if(200===o.status)return(yield o.json()).tempFiles[0];throw{message:(yield o.json()).message,status:o.status}});return function(o){return r.apply(this,arguments)}}()).catch(r=>{const{message:o,response:s}=r,a="string"==typeof s?JSON.parse(s):s;throw this.errorHandler(a||{message:o},r.status)})}uploadBinaryFile({file:t,maxSize:e,signal:i}){let r="/api/v1/temp";r+=e?`?maxFileLength=${e}`:"";const o=new FormData;return o.append("file",t),fetch(r,{method:"POST",signal:i,headers:{Origin:window.location.hostname},body:o}).then(function(){var s=tu(function*(a){if(200===a.status)return(yield a.json()).tempFiles[0];throw{message:(yield a.json()).message,status:a.status}});return function(a){return s.apply(this,arguments)}}()).catch(s=>{throw this.errorHandler(JSON.parse(s.response),s.status)})}errorHandler(t,e){let i="";try{i=t.message||t.errors[0].message}catch{i=$ie[e||500]}return{message:i,status:500|e}}}Th.\u0275fac=function(t){return new(t||Th)},Th.\u0275prov=H({token:Th,factory:Th.\u0275fac,providedIn:"root"});class jm{constructor(t){this.coreWebService=t}bringBack(t){return this.coreWebService.requestView({method:"PUT",url:`/api/v1/versionables/${t}/_bringback`}).pipe(Oe("entity"))}}jm.\u0275fac=function(t){return new(t||jm)(F(Jt))},jm.\u0275prov=H({token:jm,factory:jm.\u0275fac});var nu=(()=>(function(n){n.NEW="NEW",n.DESTROY="DESTROY",n.PUBLISH="PUBLISH",n.EDIT="EDIT"}(nu||(nu={})),nu))();class zm{constructor(t){this.coreWebService=t}fireTo(t,e,i){return this.coreWebService.requestView({body:i,method:"PUT",url:`v1/workflow/actions/${e}/fire?inode=${t}&indexPolicy=WAIT_FOR`}).pipe(Oe("entity"))}bulkFire(t){return this.coreWebService.requestView({body:t,method:"PUT",url:"/api/v1/workflow/contentlet/actions/bulk/fire"}).pipe(Oe("entity"))}newContentlet(t,e){return this.request({contentType:t,data:e,action:nu.NEW})}publishContentlet(t,e,i){return this.request({contentType:t,data:e,action:nu.PUBLISH,individualPermissions:i})}saveContentlet(t){return this.request({data:t,action:nu.EDIT})}deleteContentlet(t){return this.request({data:t,action:nu.DESTROY})}publishContentletAndWaitForIndex(t,e,i){return this.publishContentlet(t,{...e,indexPolicy:"WAIT_FOR"},i)}request({contentType:t,data:e,action:i,individualPermissions:r}){const o=t?{contentType:t,...e}:e;return this.coreWebService.requestView({method:"PUT",url:`v1/workflow/actions/default/fire/${i}${e.inode?`?inode=${e.inode}`:""}`,body:r?{contentlet:o,individualPermissions:r}:{contentlet:o}}).pipe(At(1),Oe("entity"))}}zm.\u0275fac=function(t){return new(t||zm)(F(Jt))},zm.\u0275prov=H({token:zm,factory:zm.\u0275fac});class Vm{constructor(t){this.coreWebService=t}get(){return this.coreWebService.requestView({url:"v1/workflow/schemes"}).pipe(Oe("entity"))}getSystem(){return this.get().pipe(li(t=>t.filter(e=>e.system)),At(1))}}Vm.\u0275fac=function(t){return new(t||Vm)(F(Jt))},Vm.\u0275prov=H({token:Vm,factory:Vm.\u0275fac});class Bm{constructor(t){this.coreWebService=t}getByWorkflows(t=[]){return this.coreWebService.requestView({method:"POST",url:"/api/v1/workflow/schemes/actions/NEW",body:{schemes:t.map(this.getWorkFlowId)}}).pipe(Oe("entity"))}getByInode(t,e){return this.coreWebService.requestView({url:`v1/workflow/contentlet/${t}/actions${e?`?renderMode=${e}`:""}`}).pipe(Oe("entity"))}getWorkFlowId(t){return t&&t.id}}Bm.\u0275fac=function(t){return new(t||Bm)(F(Jt))},Bm.\u0275prov=H({token:Bm,factory:Bm.\u0275fac});var ub=(()=>(function(n){n[n.ASC=1]="ASC",n[n.DESC=-1]="DESC"}(ub||(ub={})),ub))();class Ji{constructor(t){this.coreWebService=t,this.links={},this.paginationPerPage=40,this._extraParams=new Map}get url(){return this._url}set url(t){this._url!==t&&(this.links={},this._url=t)}get filter(){return this._filter}set filter(t){this._filter!==t&&(this.links={},this._filter=t)}set searchParam(t){this._searchParam!==t&&(this.links=t.length>0?{}:this.links,this._searchParam=t)}get searchParam(){return this._searchParam}setExtraParams(t,e){null!=e&&(this.extraParams.set(t,e.toString()),this.links={})}deleteExtraParams(t){this.extraParams.delete(t)}resetExtraParams(){this.extraParams.clear()}get extraParams(){return this._extraParams}get sortField(){return this._sortField}set sortField(t){this._sortField!==t&&(this.links={},this._sortField=t)}get sortOrder(){return this._sortOrder}set sortOrder(t){this._sortOrder!==t&&(this.links={},this._sortOrder=t)}get(t){const e={...this.getParams(),...this.getObjectFromMap(this.extraParams)},i=this.sanitizeQueryParams(t,e);return this.coreWebService.requestView({params:e,url:i||this.url}).pipe(fe(r=>(this.setLinks(r.header(Ji.LINK_HEADER_NAME)),this.paginationPerPage=parseInt(r.header(Ji.PAGINATION_PER_PAGE_HEADER_NAME),10),this.currentPage=parseInt(r.header(Ji.PAGINATION_CURRENT_PAGE_HEADER_NAME),10),this.maxLinksPage=parseInt(r.header(Ji.PAGINATION_MAX_LINK_PAGES_HEADER_NAME),10),this.totalRecords=parseInt(r.header(Ji.PAGINATION_TOTAL_ENTRIES_HEADER_NAME),10),r.entity)),At(1))}getLastPage(){return this.get(this.links.last)}getFirstPage(){return this.get(this.links.first)}getPage(t=1){const e=this.links["x-page"]?this.links["x-page"].replace("pageValue",String(t)):void 0;return this.get(e)}getCurrentPage(){return this.getPage(this.currentPage)}getNextPage(){return this.get(this.links.next)}getPrevPage(){return this.get(this.links.prev)}getWithOffset(t){const e=this.getPageFromOffset(t);return this.getPage(e)}getPageFromOffset(t){return parseInt(String(t/this.paginationPerPage),10)+1}setLinks(t){(t?.split(",")||[]).forEach(i=>{const r=i.split(";"),o=r[0].substring(1,r[0].length-1),s=r[1].split("="),a=s[1].substring(1,s[1].length-1);this.links[a]=o.trim()})}getParams(){const t=new Map;return this.filter&&t.set("filter",this.filter),this.searchParam&&t.set("searchParam",this.searchParam),this.sortField&&t.set("orderby",this.sortField),this.sortOrder&&t.set("direction",ub[this.sortOrder]),this.paginationPerPage&&t.set("per_page",String(this.paginationPerPage)),this.getObjectFromMap(t)}getObjectFromMap(t){return Array.from(t).reduce((i,[r,o])=>Object.assign(i,{[r]:o}),{})}sanitizeQueryParams(t="",e){const i=t?.split("?"),r=i[0],o=i[1];if(!o)return t;const s=new URLSearchParams(o);for(const a in e)s.delete(a);return s.toString()?`${r}?${s.toString()}`:r}}Ji.LINK_HEADER_NAME="Link",Ji.PAGINATION_PER_PAGE_HEADER_NAME="X-Pagination-Per-Page",Ji.PAGINATION_CURRENT_PAGE_HEADER_NAME="X-Pagination-Current-Page",Ji.PAGINATION_MAX_LINK_PAGES_HEADER_NAME="X-Pagination-Link-Pages",Ji.PAGINATION_TOTAL_ENTRIES_HEADER_NAME="X-Pagination-Total-Entries",Ji.\u0275fac=function(t){return new(t||Ji)(F(Jt))},Ji.\u0275prov=H({token:Ji,factory:Ji.\u0275fac});class Um{constructor(t){this.http=t,this.seoToolsUrl="assets/seo/page-tools.json"}get(){return this.http.get(this.seoToolsUrl).pipe(Oe("pageTools"))}}function hr(n){this.content=n}Um.\u0275fac=function(t){return new(t||Um)(F(Ki))},Um.\u0275prov=H({token:Um,factory:Um.\u0275fac}),hr.prototype={constructor:hr,find:function(n){for(var t=0;t>1}},hr.from=function(n){if(n instanceof hr)return n;var t=[];if(n)for(var e in n)t.push(e,n[e]);return new hr(t)};const mj=hr;function gj(n,t,e){for(let i=0;;i++){if(i==n.childCount||i==t.childCount)return n.childCount==t.childCount?null:e;let r=n.child(i),o=t.child(i);if(r!=o){if(!r.sameMarkup(o))return e;if(r.isText&&r.text!=o.text){for(let s=0;r.text[s]==o.text[s];s++)e++;return e}if(r.content.size||o.content.size){let s=gj(r.content,o.content,e+1);if(null!=s)return s}e+=r.nodeSize}else e+=r.nodeSize}}function yj(n,t,e,i){for(let r=n.childCount,o=t.childCount;;){if(0==r||0==o)return r==o?null:{a:e,b:i};let s=n.child(--r),a=t.child(--o),l=s.nodeSize;if(s!=a){if(!s.sameMarkup(a))return{a:e,b:i};if(s.isText&&s.text!=a.text){let c=0,u=Math.min(s.text.length,a.text.length);for(;ct&&!1!==i(l,r+a,o||null,s)&&l.content.size){let u=a+1;l.nodesBetween(Math.max(0,t-u),Math.min(l.content.size,e-u),i,r+u)}a=c}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,e,i,r){let o="",s=!0;return this.nodesBetween(t,e,(a,l)=>{a.isText?(o+=a.text.slice(Math.max(t,l)-l,e-l),s=!i):a.isLeaf?(r?o+="function"==typeof r?r(a):r:a.type.spec.leafText&&(o+=a.type.spec.leafText(a)),s=!i):!s&&a.isBlock&&(o+=i,s=!0)},0),o}append(t){if(!t.size)return this;if(!this.size)return t;let e=this.lastChild,i=t.firstChild,r=this.content.slice(),o=0;for(e.isText&&e.sameMarkup(i)&&(r[r.length-1]=e.withText(e.text+i.text),o=1);ot)for(let o=0,s=0;st&&((se)&&(a=a.isText?a.cut(Math.max(0,t-s),Math.min(a.text.length,e-s)):a.cut(Math.max(0,t-s-1),Math.min(a.content.size,e-s-1))),i.push(a),r+=a.nodeSize),s=l}return new he(i,r)}cutByIndex(t,e){return t==e?he.empty:0==t&&e==this.content.length?this:new he(this.content.slice(t,e))}replaceChild(t,e){let i=this.content[t];if(i==e)return this;let r=this.content.slice(),o=this.size+e.nodeSize-i.nodeSize;return r[t]=e,new he(r,o)}addToStart(t){return new he([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new he(this.content.concat(t),this.size+t.nodeSize)}eq(t){if(this.content.length!=t.content.length)return!1;for(let e=0;ethis.size||t<0)throw new RangeError(`Position ${t} outside of fragment (${this})`);for(let i=0,r=0;;i++){let s=r+this.child(i).nodeSize;if(s>=t)return s==t||e>0?db(i+1,s):db(i,r);r=s}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(t=>t.toJSON()):null}static fromJSON(t,e){if(!e)return he.empty;if(!Array.isArray(e))throw new RangeError("Invalid input for Fragment.fromJSON");return new he(e.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return he.empty;let e,i=0;for(let r=0;r{class n{constructor(e,i){this.type=e,this.attrs=i}addToSet(e){let i,r=!1;for(let o=0;othis.type.rank&&(i||(i=e.slice(0,o)),i.push(this),r=!0),i&&i.push(s)}}return i||(i=e.slice()),r||i.push(this),i}removeFromSet(e){for(let i=0;ir.type.rank-o.type.rank),i}}return n.none=[],n})();class fb extends Error{}class Te{constructor(t,e,i){this.content=t,this.openStart=e,this.openEnd=i}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,e){let i=vj(this.content,t+this.openStart,e);return i&&new Te(i,this.openStart,this.openEnd)}removeBetween(t,e){return new Te(_j(this.content,t+this.openStart,e+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let t={content:this.content.toJSON()};return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,e){if(!e)return Te.empty;let i=e.openStart||0,r=e.openEnd||0;if("number"!=typeof i||"number"!=typeof r)throw new RangeError("Invalid input for Slice.fromJSON");return new Te(he.fromJSON(t,e.content),i,r)}static maxOpen(t,e=!0){let i=0,r=0;for(let o=t.firstChild;o&&!o.isLeaf&&(e||!o.type.spec.isolating);o=o.firstChild)i++;for(let o=t.lastChild;o&&!o.isLeaf&&(e||!o.type.spec.isolating);o=o.lastChild)r++;return new Te(t,i,r)}}function _j(n,t,e){let{index:i,offset:r}=n.findIndex(t),o=n.maybeChild(i),{index:s,offset:a}=n.findIndex(e);if(r==t||o.isText){if(a!=e&&!n.child(s).isText)throw new RangeError("Removing non-flat range");return n.cut(0,t).append(n.cut(e))}if(i!=s)throw new RangeError("Removing non-flat range");return n.replaceChild(i,o.copy(_j(o.content,t-r-1,e-r-1)))}function vj(n,t,e,i){let{index:r,offset:o}=n.findIndex(t),s=n.maybeChild(r);if(o==t||s.isText)return i&&!i.canReplace(r,r,e)?null:n.cut(0,t).append(e).append(n.cut(t));let a=vj(s.content,t-o-1,e);return a&&n.replaceChild(r,s.copy(a))}function Wie(n,t,e){if(e.openStart>n.depth)throw new fb("Inserted content deeper than insertion position");if(n.depth-e.openStart!=t.depth-e.openEnd)throw new fb("Inconsistent open depths");return bj(n,t,e,0)}function bj(n,t,e,i){let r=n.index(i),o=n.node(i);if(r==t.index(i)&&i=0;o--)r=t.node(o).copy(he.from(r));return{start:r.resolveNoCache(n.openStart+e),end:r.resolveNoCache(r.content.size-n.openEnd-e)}}(e,n);return ru(o,wj(n,s,a,t,i))}{let s=n.parent,a=s.content;return ru(s,a.cut(0,n.parentOffset).append(e.content).append(a.cut(t.parentOffset)))}}return ru(o,pb(n,t,i))}function Cj(n,t){if(!t.type.compatibleContent(n.type))throw new fb("Cannot join "+t.type.name+" onto "+n.type.name)}function wM(n,t,e){let i=n.node(e);return Cj(i,t.node(e)),i}function iu(n,t){let e=t.length-1;e>=0&&n.isText&&n.sameMarkup(t[e])?t[e]=n.withText(t[e].text+n.text):t.push(n)}function Hm(n,t,e,i){let r=(t||n).node(e),o=0,s=t?t.index(e):r.childCount;n&&(o=n.index(e),n.depth>e?o++:n.textOffset&&(iu(n.nodeAfter,i),o++));for(let a=o;ar&&wM(n,t,r+1),s=i.depth>r&&wM(e,i,r+1),a=[];return Hm(null,n,r,a),o&&s&&t.index(r)==e.index(r)?(Cj(o,s),iu(ru(o,wj(n,t,e,i,r+1)),a)):(o&&iu(ru(o,pb(n,t,r+1)),a),Hm(t,e,r,a),s&&iu(ru(s,pb(e,i,r+1)),a)),Hm(i,null,r,a),new he(a)}function pb(n,t,e){let i=[];return Hm(null,n,e,i),n.depth>e&&iu(ru(wM(n,t,e+1),pb(n,t,e+1)),i),Hm(t,null,e,i),new he(i)}Te.empty=new Te(he.empty,0,0);class $m{constructor(t,e,i){this.pos=t,this.path=e,this.parentOffset=i,this.depth=e.length/3-1}resolveDepth(t){return null==t?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[3*this.resolveDepth(t)]}index(t){return this.path[3*this.resolveDepth(t)+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t!=this.depth||this.textOffset?1:0)}start(t){return 0==(t=this.resolveDepth(t))?0:this.path[3*t-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(!(t=this.resolveDepth(t)))throw new RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[3*t-1]}after(t){if(!(t=this.resolveDepth(t)))throw new RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[3*t-1]+this.path[3*t].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,e=this.index(this.depth);if(e==t.childCount)return null;let i=this.pos-this.path[this.path.length-1],r=t.child(e);return i?t.child(e).cut(i):r}get nodeBefore(){let t=this.index(this.depth),e=this.pos-this.path[this.path.length-1];return e?this.parent.child(t).cut(0,e):0==t?null:this.parent.child(t-1)}posAtIndex(t,e){e=this.resolveDepth(e);let i=this.path[3*e],r=0==e?0:this.path[3*e-1]+1;for(let o=0;o0;e--)if(this.start(e)<=t&&this.end(e)>=t)return e;return 0}blockRange(t=this,e){if(t.pos=0;i--)if(t.pos<=this.end(i)&&(!e||e(this.node(i))))return new mb(this,t,i);return null}sameParent(t){return this.pos-this.parentOffset==t.pos-t.parentOffset}max(t){return t.pos>this.pos?t:this}min(t){return t.pos=0&&e<=t.content.size))throw new RangeError("Position "+e+" out of range");let i=[],r=0,o=e;for(let s=t;;){let{index:a,offset:l}=s.content.findIndex(o),c=o-l;if(i.push(s,a,r+l),!c||(s=s.child(a),s.isText))break;o=c-1,r+=l+1}return new $m(e,i,o)}static resolveCached(t,e){for(let r=0;rt&&this.nodesBetween(t,e,o=>(i.isInSet(o.marks)&&(r=!0),!r)),r}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),Tj(this.marks,t)}contentMatchAt(t){let e=this.type.contentMatch.matchFragment(this.content,0,t);if(!e)throw new Error("Called contentMatchAt on a node with invalid content");return e}canReplace(t,e,i=he.empty,r=0,o=i.childCount){let s=this.contentMatchAt(t).matchFragment(i,r,o),a=s&&s.matchFragment(this.content,e);if(!a||!a.validEnd)return!1;for(let l=r;le.type.name)}`);this.content.forEach(e=>e.check())}toJSON(){let t={type:this.type.name};for(let e in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map(e=>e.toJSON())),t}static fromJSON(t,e){if(!e)throw new RangeError("Invalid input for Node.fromJSON");let i=null;if(e.marks){if(!Array.isArray(e.marks))throw new RangeError("Invalid mark data for Node.fromJSON");i=e.marks.map(t.markFromJSON)}if("text"==e.type){if("string"!=typeof e.text)throw new RangeError("Invalid text node in JSON");return t.text(e.text,i)}let r=he.fromJSON(t,e.content);return t.nodeType(e.type).create(e.attrs,r,i)}}Ws.prototype.text=void 0;class gb extends Ws{constructor(t,e,i,r){if(super(t,e,null,r),!i)throw new RangeError("Empty text nodes are not allowed");this.text=i}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):Tj(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(t,e){return this.text.slice(t,e)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new gb(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new gb(this.type,this.attrs,t,this.marks)}cut(t=0,e=this.text.length){return 0==t&&e==this.text.length?this:this.withText(this.text.slice(t,e))}eq(t){return this.sameMarkup(t)&&this.text==t.text}toJSON(){let t=super.toJSON();return t.text=this.text,t}}function Tj(n,t){for(let e=n.length-1;e>=0;e--)t=n[e].type.name+"("+t+")";return t}class ou{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,e){let i=new Kie(t,e);if(null==i.next)return ou.empty;let r=Dj(i);i.next&&i.err("Unexpected trailing text");let o=function nre(n){let t=Object.create(null);return function e(i){let r=[];i.forEach(s=>{n[s].forEach(({term:a,to:l})=>{if(!a)return;let c;for(let u=0;u{c||r.push([a,c=[]]),-1==c.indexOf(u)&&c.push(u)})})});let o=t[i.join(",")]=new ou(i.indexOf(n.length-1)>-1);for(let s=0;sl.concat(o(c,a)),[]);if("seq"!=s.type){if("star"==s.type){let l=e();return i(a,l),r(o(s.expr,l),l),[i(l)]}if("plus"==s.type){let l=e();return r(o(s.expr,a),l),r(o(s.expr,l),l),[i(l)]}if("opt"==s.type)return[i(a)].concat(o(s.expr,a));if("range"==s.type){let l=a;for(let c=0;cl.to=a)}}(r));return function ire(n,t){for(let e=0,i=[n];ec.createAndFill()));for(let c=0;c=this.next.length)throw new RangeError(`There's no ${t}th edge in this content match`);return this.next[t]}toString(){let t=[];return function e(i){t.push(i);for(let r=0;r{let o=r+(i.validEnd?"*":" ")+" ";for(let s=0;s"+t.indexOf(i.next[s].next);return o}).join("\n")}}ou.empty=new ou(!0);class Kie{constructor(t,e){this.string=t,this.nodeTypes=e,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(t){return this.next==t&&(this.pos++||!0)}err(t){throw new SyntaxError(t+" (in content expression '"+this.string+"')")}}function Dj(n){let t=[];do{t.push(Qie(n))}while(n.eat("|"));return 1==t.length?t[0]:{type:"choice",exprs:t}}function Qie(n){let t=[];do{t.push(Zie(n))}while(n.next&&")"!=n.next&&"|"!=n.next);return 1==t.length?t[0]:{type:"seq",exprs:t}}function Zie(n){let t=function ere(n){if(n.eat("(")){let t=Dj(n);return n.eat(")")||n.err("Missing closing paren"),t}if(!/\W/.test(n.next)){let t=function Xie(n,t){let e=n.nodeTypes,i=e[t];if(i)return[i];let r=[];for(let o in e){let s=e[o];s.groups.indexOf(t)>-1&&r.push(s)}return 0==r.length&&n.err("No node type or group '"+t+"' found"),r}(n,n.next).map(e=>(null==n.inline?n.inline=e.isInline:n.inline!=e.isInline&&n.err("Mixing inline and block content"),{type:"name",value:e}));return n.pos++,1==t.length?t[0]:{type:"choice",exprs:t}}n.err("Unexpected token '"+n.next+"'")}(n);for(;;)if(n.eat("+"))t={type:"plus",expr:t};else if(n.eat("*"))t={type:"star",expr:t};else if(n.eat("?"))t={type:"opt",expr:t};else{if(!n.eat("{"))break;t=Jie(n,t)}return t}function Mj(n){/\D/.test(n.next)&&n.err("Expected number, got '"+n.next+"'");let t=Number(n.next);return n.pos++,t}function Jie(n,t){let e=Mj(n),i=e;return n.eat(",")&&(i="}"!=n.next?Mj(n):-1),n.eat("}")||n.err("Unclosed braced range"),{type:"range",min:e,max:i,expr:t}}function Sj(n,t){return t-n}function Ej(n,t){let e=[];return function i(r){let o=n[r];if(1==o.length&&!o[0].term)return i(o[0].to);e.push(r);for(let s=0;s-1}allowsMarks(t){if(null==this.markSet)return!0;for(let e=0;ei[o]=new yb(o,e,s));let r=e.spec.topNode||"doc";if(!i[r])throw new RangeError("Schema is missing its top node type ('"+r+"')");if(!i.text)throw new RangeError("Every schema needs a 'text' type");for(let o in i.text.attrs)throw new RangeError("The text node type should not have attributes");return i}}class rre{constructor(t){this.hasDefault=Object.prototype.hasOwnProperty.call(t,"default"),this.default=t.default}get isRequired(){return!this.hasDefault}}class _b{constructor(t,e,i,r){this.name=t,this.rank=e,this.schema=i,this.spec=r,this.attrs=Oj(r.attrs),this.excluded=null;let o=xj(this.attrs);this.instance=o?new Pn(this,o):null}create(t=null){return!t&&this.instance?this.instance:new Pn(this,Ij(this.attrs,t))}static compile(t,e){let i=Object.create(null),r=0;return t.forEach((o,s)=>i[o]=new _b(o,r++,e,s)),i}removeFromSet(t){for(var e=0;e-1}}class ore{constructor(t){this.cached=Object.create(null);let e=this.spec={};for(let r in t)e[r]=t[r];e.nodes=mj.from(t.nodes),e.marks=mj.from(t.marks||{}),this.nodes=yb.compile(this.spec.nodes,this),this.marks=_b.compile(this.spec.marks,this);let i=Object.create(null);for(let r in this.nodes){if(r in this.marks)throw new RangeError(r+" can not be both a node and a mark");let o=this.nodes[r],s=o.spec.content||"",a=o.spec.marks;o.contentMatch=i[s]||(i[s]=ou.parse(s,this.nodes)),o.inlineContent=o.contentMatch.inlineContent,o.markSet="_"==a?null:a?Aj(this,a.split(" ")):""!=a&&o.inlineContent?null:[]}for(let r in this.marks){let o=this.marks[r],s=o.spec.excludes;o.excluded=null==s?[o]:""==s?[]:Aj(this,s.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(t,e=null,i,r){if("string"==typeof t)t=this.nodeType(t);else{if(!(t instanceof yb))throw new RangeError("Invalid node type: "+t);if(t.schema!=this)throw new RangeError("Node type from different schema used ("+t.name+")")}return t.createChecked(e,i,r)}text(t,e){let i=this.nodes.text;return new gb(i,i.defaultAttrs,t,Pn.setFrom(e))}mark(t,e){return"string"==typeof t&&(t=this.marks[t]),t.create(e)}nodeFromJSON(t){return Ws.fromJSON(this,t)}markFromJSON(t){return Pn.fromJSON(this,t)}nodeType(t){let e=this.nodes[t];if(!e)throw new RangeError("Unknown node type: "+t);return e}}function Aj(n,t){let e=[];for(let i=0;i-1)&&e.push(s=l)}if(!s)throw new SyntaxError("Unknown mark type: '"+t[i]+"'")}return e}class Dh{constructor(t,e){this.schema=t,this.rules=e,this.tags=[],this.styles=[],e.forEach(i=>{i.tag?this.tags.push(i):i.style&&this.styles.push(i)}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let r=t.nodes[i.node];return r.contentMatch.matchType(r)})}parse(t,e={}){let i=new Lj(this,e,!1);return i.addAll(t,e.from,e.to),i.finish()}parseSlice(t,e={}){let i=new Lj(this,e,!0);return i.addAll(t,e.from,e.to),Te.maxOpen(i.finish())}matchTag(t,e,i){for(let r=i?this.tags.indexOf(i)+1:0;rt.length&&(61!=a.charCodeAt(t.length)||a.slice(t.length+1)!=e))){if(s.getAttrs){let l=s.getAttrs(e);if(!1===l)continue;s.attrs=l||void 0}return s}}}static schemaRules(t){let e=[];function i(r){let o=null==r.priority?50:r.priority,s=0;for(;s{i(s=Rj(s)),s.mark||s.ignore||s.clearMark||(s.mark=r)})}for(let r in t.nodes){let o=t.nodes[r].spec.parseDOM;o&&o.forEach(s=>{i(s=Rj(s)),s.node||s.ignore||s.mark||(s.node=r)})}return e}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new Dh(t,Dh.schemaRules(t)))}}const kj={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},sre={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Nj={ol:!0,ul:!0};function Pj(n,t,e){return null!=t?(t?1:0)|("full"===t?2:0):n&&"pre"==n.whitespace?3:-5&e}class Cb{constructor(t,e,i,r,o,s,a){this.type=t,this.attrs=e,this.marks=i,this.pendingMarks=r,this.solid=o,this.options=a,this.content=[],this.activeMarks=Pn.none,this.stashMarks=[],this.match=s||(4&a?null:t.contentMatch)}findWrapping(t){if(!this.match){if(!this.type)return[];let e=this.type.contentMatch.fillBefore(he.from(t));if(!e){let r,i=this.type.contentMatch;return(r=i.findWrapping(t.type))?(this.match=i,r):null}this.match=this.type.contentMatch.matchFragment(e)}return this.match.findWrapping(t.type)}finish(t){if(!(1&this.options)){let r,i=this.content[this.content.length-1];if(i&&i.isText&&(r=/[ \t\r\n\u000c]+$/.exec(i.text))){let o=i;i.text.length==r[0].length?this.content.pop():this.content[this.content.length-1]=o.withText(o.text.slice(0,o.text.length-r[0].length))}}let e=he.from(this.content);return!t&&this.match&&(e=e.append(this.match.fillBefore(he.empty,!0))),this.type?this.type.create(this.attrs,e,this.marks):e}popFromStashMark(t){for(let e=this.stashMarks.length-1;e>=0;e--)if(t.eq(this.stashMarks[e]))return this.stashMarks.splice(e,1)[0]}applyPending(t){for(let e=0,i=this.pendingMarks;e{s.clearMark(a)&&(i=a.addToSet(i))}):e=this.parser.schema.marks[s.mark].create(s.attrs).addToSet(e),!1!==s.consuming)break;o=s}return[e,i]}addElementByRule(t,e,i){let r,o,s;e.node?(o=this.parser.schema.nodes[e.node],o.isLeaf?this.insertNode(o.create(e.attrs))||this.leafFallback(t):r=this.enter(o,e.attrs||null,e.preserveWhitespace)):(s=this.parser.schema.marks[e.mark].create(e.attrs),this.addPendingMark(s));let a=this.top;if(o&&o.isLeaf)this.findInside(t);else if(i)this.addElement(t,i);else if(e.getContent)this.findInside(t),e.getContent(t,this.parser.schema).forEach(l=>this.insertNode(l));else{let l=t;"string"==typeof e.contentElement?l=t.querySelector(e.contentElement):"function"==typeof e.contentElement?l=e.contentElement(t):e.contentElement&&(l=e.contentElement),this.findAround(t,l,!0),this.addAll(l)}r&&this.sync(a)&&this.open--,s&&this.removePendingMark(s,a)}addAll(t,e,i){let r=e||0;for(let o=e?t.childNodes[e]:t.firstChild,s=null==i?null:t.childNodes[i];o!=s;o=o.nextSibling,++r)this.findAtPoint(t,r),this.addDOM(o);this.findAtPoint(t,r)}findPlace(t){let e,i;for(let r=this.open;r>=0;r--){let o=this.nodes[r],s=o.findWrapping(t);if(s&&(!e||e.length>s.length)&&(e=s,i=o,!s.length)||o.solid)break}if(!e)return!1;this.sync(i);for(let r=0;rthis.open){for(;e>this.open;e--)this.nodes[e-1].content.push(this.nodes[e].finish(t));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(t){for(let e=this.open;e>=0;e--)if(this.nodes[e]==t)return this.open=e,!0;return!1}get currentPos(){this.closeExtra();let t=0;for(let e=this.open;e>=0;e--){let i=this.nodes[e].content;for(let r=i.length-1;r>=0;r--)t+=i[r].nodeSize;e&&t++}return t}findAtPoint(t,e){if(this.find)for(let i=0;i-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);let e=t.split("/"),i=this.options.context,r=!(this.isOpen||i&&i.parent.type!=this.nodes[0].type),o=(r?0:1)-(i?i.depth+1:0),s=(a,l)=>{for(;a>=0;a--){let c=e[a];if(""==c){if(a==e.length-1||0==a)continue;for(;l>=o;l--)if(s(a-1,l))return!0;return!1}{let u=l>0||0==l&&r?this.nodes[l].type:i&&l>=o?i.node(l-o).type:null;if(!u||u.name!=c&&-1==u.groups.indexOf(c))return!1;l--}}return!0};return s(e.length-1,this.open)}textblockFromContext(){let t=this.options.context;if(t)for(let e=t.depth;e>=0;e--){let i=t.node(e).contentMatchAt(t.indexAfter(e)).defaultType;if(i&&i.isTextblock&&i.defaultAttrs)return i}for(let e in this.parser.schema.nodes){let i=this.parser.schema.nodes[e];if(i.isTextblock&&i.defaultAttrs)return i}}addPendingMark(t){let e=function dre(n,t){for(let e=0;e=0;i--){let r=this.nodes[i];if(r.pendingMarks.lastIndexOf(t)>-1)r.pendingMarks=t.removeFromSet(r.pendingMarks);else{r.activeMarks=t.removeFromSet(r.activeMarks);let s=r.popFromStashMark(t);s&&r.type&&r.type.allowsMarkType(s.type)&&(r.activeMarks=s.addToSet(r.activeMarks))}if(r==e)break}}}function lre(n,t){return(n.matches||n.msMatchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector).call(n,t)}function Rj(n){let t={};for(let e in n)t[e]=n[e];return t}function ure(n,t){let e=t.schema.nodes;for(let i in e){let r=e[i];if(!r.allowsMarkType(n))continue;let o=[],s=a=>{o.push(a);for(let l=0;l{if(o.length||s.marks.length){let a=0,l=0;for(;a=0;r--){let o=this.serializeMark(t.marks[r],t.isInline,e);o&&((o.contentDOM||o.dom).appendChild(i),i=o.dom)}return i}serializeMark(t,e,i={}){let r=this.marks[t.type.name];return r&&Gs.renderSpec(MM(i),r(t,e))}static renderSpec(t,e,i=null){if("string"==typeof e)return{dom:t.createTextNode(e)};if(null!=e.nodeType)return{dom:e};if(e.dom&&null!=e.dom.nodeType)return e;let r=e[0],o=r.indexOf(" ");o>0&&(i=r.slice(0,o),r=r.slice(o+1));let s,a=i?t.createElementNS(i,r):t.createElement(r),l=e[1],c=1;if(l&&"object"==typeof l&&null==l.nodeType&&!Array.isArray(l)){c=2;for(let u in l)if(null!=l[u]){let d=u.indexOf(" ");d>0?a.setAttributeNS(u.slice(0,d),u.slice(d+1),l[u]):a.setAttribute(u,l[u])}}for(let u=c;uc)throw new RangeError("Content hole must be the only child of its parent node");return{dom:a,contentDOM:a}}{let{dom:h,contentDOM:f}=Gs.renderSpec(t,d,i);if(a.appendChild(h),f){if(s)throw new RangeError("Multiple content holes");s=f}}}return{dom:a,contentDOM:s}}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new Gs(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(t){let e=Fj(t.nodes);return e.text||(e.text=i=>i.text),e}static marksFromSchema(t){return Fj(t.marks)}}function Fj(n){let t={};for(let e in n){let i=n[e].spec.toDOM;i&&(t[e]=i)}return t}function MM(n){return n.document||window.document}const zj=Math.pow(2,16);function hre(n,t){return n+t*zj}function Vj(n){return 65535&n}class SM{constructor(t,e,i){this.pos=t,this.delInfo=e,this.recover=i}get deleted(){return(8&this.delInfo)>0}get deletedBefore(){return(5&this.delInfo)>0}get deletedAfter(){return(6&this.delInfo)>0}get deletedAcross(){return(4&this.delInfo)>0}}class $o{constructor(t,e=!1){if(this.ranges=t,this.inverted=e,!t.length&&$o.empty)return $o.empty}recover(t){let e=0,i=Vj(t);if(!this.inverted)for(let r=0;rt)break;let c=this.ranges[a+o],u=this.ranges[a+s],d=l+c;if(t<=d){let f=l+r+((c?t==l?-1:t==d?1:e:e)<0?0:u);if(i)return f;let p=t==(e<0?l:d)?null:hre(a/3,t-l),m=t==l?2:t==d?1:4;return(e<0?t!=l:t!=d)&&(m|=8),new SM(f,m,p)}r+=u-c}return i?t+r:new SM(t+r,0,null)}touches(t,e){let i=0,r=Vj(e),o=this.inverted?2:1,s=this.inverted?1:2;for(let a=0;at)break;let c=this.ranges[a+o];if(t<=l+c&&a==3*r)return!0;i+=this.ranges[a+s]-c}return!1}forEach(t){let e=this.inverted?2:1,i=this.inverted?1:2;for(let r=0,o=0;r=0;e--){let r=t.getMirror(e);this.appendMap(t.maps[e].invert(),null!=r&&r>e?i-r-1:void 0)}}invert(){let t=new Mh;return t.appendMappingInverted(this),t}map(t,e=1){if(this.mirror)return this._map(t,e,!0);for(let i=this.from;io&&ls.isAtom&&a.type.allowsMarkType(this.mark.type)?s.mark(this.mark.addToSet(s.marks)):s,r),e.openStart,e.openEnd);return gi.fromReplace(t,this.from,this.to,o)}invert(){return new Ys(this.from,this.to,this.mark)}map(t){let e=t.mapResult(this.from,1),i=t.mapResult(this.to,-1);return e.deleted&&i.deleted||e.pos>=i.pos?null:new Il(e.pos,i.pos,this.mark)}merge(t){return t instanceof Il&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new Il(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to)throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new Il(e.from,e.to,t.markFromJSON(e.mark))}}Vi.jsonID("addMark",Il);class Ys extends Vi{constructor(t,e,i){super(),this.from=t,this.to=e,this.mark=i}apply(t){let e=t.slice(this.from,this.to),i=new Te(xM(e.content,r=>r.mark(this.mark.removeFromSet(r.marks)),t),e.openStart,e.openEnd);return gi.fromReplace(t,this.from,this.to,i)}invert(){return new Il(this.from,this.to,this.mark)}map(t){let e=t.mapResult(this.from,1),i=t.mapResult(this.to,-1);return e.deleted&&i.deleted||e.pos>=i.pos?null:new Ys(e.pos,i.pos,this.mark)}merge(t){return t instanceof Ys&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new Ys(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to)throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new Ys(e.from,e.to,t.markFromJSON(e.mark))}}Vi.jsonID("removeMark",Ys);class Ol extends Vi{constructor(t,e){super(),this.pos=t,this.mark=e}apply(t){let e=t.nodeAt(this.pos);if(!e)return gi.fail("No node at mark step's position");let i=e.type.create(e.attrs,null,this.mark.addToSet(e.marks));return gi.fromReplace(t,this.pos,this.pos+1,new Te(he.from(i),0,e.isLeaf?0:1))}invert(t){let e=t.nodeAt(this.pos);if(e){let i=this.mark.addToSet(e.marks);if(i.length==e.marks.length){for(let r=0;ri.pos?null:new Bi(e.pos,i.pos,r,o,this.slice,this.insert,this.structure)}toJSON(){let t={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to||"number"!=typeof e.gapFrom||"number"!=typeof e.gapTo||"number"!=typeof e.insert)throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new Bi(e.from,e.to,e.gapFrom,e.gapTo,Te.fromJSON(t,e.slice),e.insert,!!e.structure)}}function IM(n,t,e){let i=n.resolve(t),r=e-t,o=i.depth;for(;r>0&&o>0&&i.indexAfter(o)==i.node(o).childCount;)o--,r--;if(r>0){let s=i.node(o).maybeChild(i.indexAfter(o));for(;r>0;){if(!s||s.isLeaf)return!0;s=s.firstChild,r--}}return!1}function yre(n,t,e){return(0==t||n.canReplace(t,n.childCount))&&(e==n.childCount||n.canReplace(0,e))}function Eh(n){let e=n.parent.content.cutByIndex(n.startIndex,n.endIndex);for(let i=n.depth;;--i){let r=n.$from.node(i),o=n.$from.index(i),s=n.$to.indexAfter(i);if(io;c--,u--){let d=r.node(c),h=r.index(c);if(d.type.spec.isolating)return!1;let f=d.content.cutByIndex(h,d.childCount),p=i&&i[u+1];p&&(f=f.replaceChild(0,p.type.create(p.attrs)));let m=i&&i[u]||d;if(!d.canReplace(h+1,d.childCount)||!m.type.validContent(f))return!1}let a=r.indexAfter(o),l=i&&i[0];return r.node(o).canReplaceWith(a,a,l?l.type:r.node(o+1).type)}function Al(n,t){let e=n.resolve(t),i=e.index();return Wj(e.nodeBefore,e.nodeAfter)&&e.parent.canReplace(i,i+1)}function Wj(n,t){return!(!n||!t||n.isLeaf||!n.canAppend(t))}function Gj(n,t,e=-1){let i=n.resolve(t);for(let r=i.depth;;r--){let o,s,a=i.index(r);if(r==i.depth?(o=i.nodeBefore,s=i.nodeAfter):e>0?(o=i.node(r+1),a++,s=i.node(r).maybeChild(a)):(o=i.node(r).maybeChild(a-1),s=i.node(r+1)),o&&!o.isTextblock&&Wj(o,s)&&i.node(r).canReplace(a,a+1))return t;if(0==r)break;t=e<0?i.before(r):i.after(r)}}function Yj(n,t,e){let i=n.resolve(t);if(!e.content.size)return t;let r=e.content;for(let o=0;o=0;s--){let a=s==i.depth?0:i.pos<=(i.start(s+1)+i.end(s+1))/2?-1:1,l=i.index(s)+(a>0?1:0),c=i.node(s),u=!1;if(1==o)u=c.canReplace(l,l,r);else{let d=c.contentMatchAt(l).findWrapping(r.firstChild.type);u=d&&c.canReplaceWith(l,l,d[0])}if(u)return 0==a?i.pos:a<0?i.before(s+1):i.after(s+1)}return null}function AM(n,t,e=t,i=Te.empty){if(t==e&&!i.size)return null;let r=n.resolve(t),o=n.resolve(e);return qj(r,o,i)?new fr(t,e,i):new xre(r,o,i).fit()}function qj(n,t,e){return!e.openStart&&!e.openEnd&&n.start()==t.start()&&n.parent.canReplace(n.index(),t.index(),e.content)}Vi.jsonID("replaceAround",Bi);class xre{constructor(t,e,i){this.$from=t,this.$to=e,this.unplaced=i,this.frontier=[],this.placed=he.empty;for(let r=0;r<=t.depth;r++){let o=t.node(r);this.frontier.push({type:o.type,match:o.contentMatchAt(t.indexAfter(r))})}for(let r=t.depth;r>0;r--)this.placed=he.from(t.node(r).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let c=this.findFittable();c?this.placeNodes(c):this.openMore()||this.dropNode()}let t=this.mustMoveInline(),e=this.placed.size-this.depth-this.$from.depth,i=this.$from,r=this.close(t<0?this.$to:i.doc.resolve(t));if(!r)return null;let o=this.placed,s=i.depth,a=r.depth;for(;s&&a&&1==o.childCount;)o=o.firstChild.content,s--,a--;let l=new Te(o,s,a);return t>-1?new Bi(i.pos,t,this.$to.pos,this.$to.end(),l,e):l.size||i.pos!=this.$to.pos?new fr(i.pos,r.pos,l):null}findFittable(){let t=this.unplaced.openStart;for(let e=this.unplaced.content,i=0,r=this.unplaced.openEnd;i1&&(r=0),o.type.spec.isolating&&r<=i){t=i;break}e=o.content}for(let e=1;e<=2;e++)for(let i=1==e?t:this.unplaced.openStart;i>=0;i--){let r,o=null;i?(o=kM(this.unplaced.content,i-1).firstChild,r=o.content):r=this.unplaced.content;let s=r.firstChild;for(let a=this.depth;a>=0;a--){let u,{type:l,match:c}=this.frontier[a],d=null;if(1==e&&(s?c.matchType(s.type)||(d=c.fillBefore(he.from(s),!1)):o&&l.compatibleContent(o.type)))return{sliceDepth:i,frontierDepth:a,parent:o,inject:d};if(2==e&&s&&(u=c.findWrapping(s.type)))return{sliceDepth:i,frontierDepth:a,parent:o,wrap:u};if(o&&c.matchType(o.type))break}}}openMore(){let{content:t,openStart:e,openEnd:i}=this.unplaced,r=kM(t,e);return!(!r.childCount||r.firstChild.isLeaf||(this.unplaced=new Te(t,e+1,Math.max(i,r.size+e>=t.size-i?e+1:0)),0))}dropNode(){let{content:t,openStart:e,openEnd:i}=this.unplaced,r=kM(t,e);if(r.childCount<=1&&e>0){let o=t.size-e<=e+r.size;this.unplaced=new Te(Gm(t,e-1,1),e-1,o?e-1:i)}else this.unplaced=new Te(Gm(t,e,1),e,i)}placeNodes({sliceDepth:t,frontierDepth:e,parent:i,inject:r,wrap:o}){for(;this.depth>e;)this.closeFrontierNode();if(o)for(let m=0;m1||0==l||m.content.size)&&(d=g,u.push(Kj(m.mark(h.allowedMarks(m.marks)),1==c?l:0,c==a.childCount?f:-1)))}let p=c==a.childCount;p||(f=-1),this.placed=Ym(this.placed,e,he.from(u)),this.frontier[e].match=d,p&&f<0&&i&&i.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let m=0,g=a;m1&&r==this.$to.end(--i);)++r;return r}findCloseLevel(t){e:for(let e=Math.min(this.depth,t.depth);e>=0;e--){let{match:i,type:r}=this.frontier[e],o=e=0;a--){let{match:l,type:c}=this.frontier[a],u=NM(t,a,c,l,!0);if(!u||u.childCount)continue e}return{depth:e,fit:s,move:o?t.doc.resolve(t.after(e+1)):t}}}}close(t){let e=this.findCloseLevel(t);if(!e)return null;for(;this.depth>e.depth;)this.closeFrontierNode();e.fit.childCount&&(this.placed=Ym(this.placed,e.depth,e.fit)),t=e.move;for(let i=e.depth+1;i<=t.depth;i++){let r=t.node(i),o=r.type.contentMatch.fillBefore(r.content,!0,t.index(i));this.openFrontierNode(r.type,r.attrs,o)}return t}openFrontierNode(t,e=null,i){let r=this.frontier[this.depth];r.match=r.match.matchType(t),this.placed=Ym(this.placed,this.depth,he.from(t.create(e,i))),this.frontier.push({type:t,match:t.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(he.empty,!0);e.childCount&&(this.placed=Ym(this.placed,this.frontier.length,e))}}function Gm(n,t,e){return 0==t?n.cutByIndex(e,n.childCount):n.replaceChild(0,n.firstChild.copy(Gm(n.firstChild.content,t-1,e)))}function Ym(n,t,e){return 0==t?n.append(e):n.replaceChild(n.childCount-1,n.lastChild.copy(Ym(n.lastChild.content,t-1,e)))}function kM(n,t){for(let e=0;e1&&(i=i.replaceChild(0,Kj(i.firstChild,t-1,1==i.childCount?e-1:0))),t>0&&(i=n.type.contentMatch.fillBefore(i).append(i),e<=0&&(i=i.append(n.type.contentMatch.matchFragment(i).fillBefore(he.empty,!0)))),n.copy(i)}function NM(n,t,e,i,r){let o=n.node(t),s=r?n.indexAfter(t):n.index(t);if(s==o.childCount&&!e.compatibleContent(o.type))return null;let a=i.fillBefore(o.content,!0,s);return a&&!function Ire(n,t,e){for(let i=e;ii){let o=r.contentMatchAt(0),s=o.fillBefore(n).append(n);n=s.append(o.matchFragment(s).fillBefore(he.empty,!0))}return n}function Zj(n,t){let e=[];for(let r=Math.min(n.depth,t.depth);r>=0;r--){let o=n.start(r);if(ot.pos+(t.depth-r)||n.node(r).type.spec.isolating||t.node(r).type.spec.isolating)break;(o==t.start(r)||r==n.depth&&r==t.depth&&n.parent.inlineContent&&t.parent.inlineContent&&r&&t.start(r-1)==o-1)&&e.push(r)}return e}class xh extends Vi{constructor(t,e,i){super(),this.pos=t,this.attr=e,this.value=i}apply(t){let e=t.nodeAt(this.pos);if(!e)return gi.fail("No node at attribute step's position");let i=Object.create(null);for(let o in e.attrs)i[o]=e.attrs[o];i[this.attr]=this.value;let r=e.type.create(i,null,e.marks);return gi.fromReplace(t,this.pos,this.pos+1,new Te(he.from(r),0,e.isLeaf?0:1))}getMap(){return $o.empty}invert(t){return new xh(this.pos,this.attr,t.nodeAt(this.pos).attrs[this.attr])}map(t){let e=t.mapResult(this.pos,1);return e.deletedAfter?null:new xh(e.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(t,e){if("number"!=typeof e.pos||"string"!=typeof e.attr)throw new RangeError("Invalid input for AttrStep.fromJSON");return new xh(e.pos,e.attr,e.value)}}Vi.jsonID("attr",xh);let Ih=class extends Error{};Ih=function n(t){let e=Error.call(this,t);return e.__proto__=n.prototype,e},(Ih.prototype=Object.create(Error.prototype)).constructor=Ih,Ih.prototype.name="TransformError";class PM{constructor(t){this.doc=t,this.steps=[],this.docs=[],this.mapping=new Mh}get before(){return this.docs.length?this.docs[0]:this.doc}step(t){let e=this.maybeStep(t);if(e.failed)throw new Ih(e.failed);return this}maybeStep(t){let e=t.apply(this.doc);return e.failed||this.addStep(t,e.doc),e}get docChanged(){return this.steps.length>0}addStep(t,e){this.docs.push(this.doc),this.steps.push(t),this.mapping.appendMap(t.getMap()),this.doc=e}replace(t,e=t,i=Te.empty){let r=AM(this.doc,t,e,i);return r&&this.step(r),this}replaceWith(t,e,i){return this.replace(t,e,new Te(he.from(i),0,0))}delete(t,e){return this.replace(t,e,Te.empty)}insert(t,e){return this.replaceWith(t,t,e)}replaceRange(t,e,i){return function Are(n,t,e,i){if(!i.size)return n.deleteRange(t,e);let r=n.doc.resolve(t),o=n.doc.resolve(e);if(qj(r,o,i))return n.step(new fr(t,e,i));let s=Zj(r,n.doc.resolve(e));0==s[s.length-1]&&s.pop();let a=-(r.depth+1);s.unshift(a);for(let h=r.depth,f=r.pos-1;h>0;h--,f--){let p=r.node(h).type.spec;if(p.defining||p.definingAsContext||p.isolating)break;s.indexOf(h)>-1?a=h:r.before(h)==f&&s.splice(1,0,-h)}let l=s.indexOf(a),c=[],u=i.openStart;for(let h=i.content,f=0;;f++){let p=h.firstChild;if(c.push(p),f==i.openStart)break;h=p.content}for(let h=u-1;h>=0;h--){let f=c[h].type,p=Ore(f);if(p&&r.node(l).type!=f)u=h;else if(p||!f.isTextblock)break}for(let h=i.openStart;h>=0;h--){let f=(h+u+1)%(i.openStart+1),p=c[f];if(p)for(let m=0;m=0&&(n.replace(t,e,i),!(n.steps.length>d));h--){let f=s[h];f<0||(t=r.before(f),e=o.after(f))}}(this,t,e,i),this}replaceRangeWith(t,e,i){return function kre(n,t,e,i){if(!i.isInline&&t==e&&n.doc.resolve(t).parent.content.size){let r=function Ere(n,t,e){let i=n.resolve(t);if(i.parent.canReplaceWith(i.index(),i.index(),e))return t;if(0==i.parentOffset)for(let r=i.depth-1;r>=0;r--){let o=i.index(r);if(i.node(r).canReplaceWith(o,o,e))return i.before(r+1);if(o>0)return null}if(i.parentOffset==i.parent.content.size)for(let r=i.depth-1;r>=0;r--){let o=i.indexAfter(r);if(i.node(r).canReplaceWith(o,o,e))return i.after(r+1);if(o0&&(l||i.node(a-1).canReplace(i.index(a-1),r.indexAfter(a-1))))return n.delete(i.before(a),r.after(a))}for(let s=1;s<=i.depth&&s<=r.depth;s++)if(t-i.start(s)==i.depth-s&&e>i.end(s)&&r.end(s)-e!=r.depth-s)return n.delete(i.before(s),e);n.delete(t,e)}(this,t,e),this}lift(t,e){return function _re(n,t,e){let{$from:i,$to:r,depth:o}=t,s=i.before(o+1),a=r.after(o+1),l=s,c=a,u=he.empty,d=0;for(let p=o,m=!1;p>e;p--)m||i.index(p)>0?(m=!0,u=he.from(i.node(p).copy(u)),d++):l--;let h=he.empty,f=0;for(let p=o,m=!1;p>e;p--)m||r.after(p+1)=0;s--){if(i.size){let a=e[s].type.contentMatch.matchFragment(i);if(!a||!a.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}i=he.from(e[s].type.create(e[s].attrs,i))}let r=t.start,o=t.end;n.step(new Bi(r,o,r,o,new Te(i,0,0),e.length,!0))}(this,t,e),this}setBlockType(t,e=t,i,r=null){return function wre(n,t,e,i,r){if(!i.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let o=n.steps.length;n.doc.nodesBetween(t,e,(s,a)=>{if(s.isTextblock&&!s.hasMarkup(i,r)&&function Tre(n,t,e){let i=n.resolve(t),r=i.index();return i.parent.canReplaceWith(r,r+1,e)}(n.doc,n.mapping.slice(o).map(a),i)){n.clearIncompatible(n.mapping.slice(o).map(a,1),i);let l=n.mapping.slice(o),c=l.map(a,1),u=l.map(a+s.nodeSize,1);return n.step(new Bi(c,u,c+1,u-1,new Te(he.from(i.create(r,null,s.marks)),0,0),1,!0)),!1}})}(this,t,e,i,r),this}setNodeMarkup(t,e,i=null,r){return function Dre(n,t,e,i,r){let o=n.doc.nodeAt(t);if(!o)throw new RangeError("No node at given position");e||(e=o.type);let s=e.create(i,null,r||o.marks);if(o.isLeaf)return n.replaceWith(t,t+o.nodeSize,s);if(!e.validContent(o.content))throw new RangeError("Invalid content for node type "+e.name);n.step(new Bi(t,t+o.nodeSize,t+1,t+o.nodeSize-1,new Te(he.from(s),0,0),1,!0))}(this,t,e,i,r),this}setNodeAttribute(t,e,i){return this.step(new xh(t,e,i)),this}addNodeMark(t,e){return this.step(new Ol(t,e)),this}removeNodeMark(t,e){if(!(e instanceof Pn)){let i=this.doc.nodeAt(t);if(!i)throw new RangeError("No node at position "+t);if(!(e=e.isInSet(i.marks)))return this}return this.step(new Sh(t,e)),this}split(t,e=1,i){return function Mre(n,t,e=1,i){let r=n.doc.resolve(t),o=he.empty,s=he.empty;for(let a=r.depth,l=r.depth-e,c=e-1;a>l;a--,c--){o=he.from(r.node(a).copy(o));let u=i&&i[c];s=he.from(u?u.type.create(u.attrs,s):r.node(a).copy(s))}n.step(new fr(t,t,new Te(o.append(s),e,e),!0))}(this,t,e,i),this}addMark(t,e,i){return function pre(n,t,e,i){let s,a,r=[],o=[];n.doc.nodesBetween(t,e,(l,c,u)=>{if(!l.isInline)return;let d=l.marks;if(!i.isInSet(d)&&u.type.allowsMarkType(i.type)){let h=Math.max(c,t),f=Math.min(c+l.nodeSize,e),p=i.addToSet(d);for(let m=0;mn.step(l)),o.forEach(l=>n.step(l))}(this,t,e,i),this}removeMark(t,e,i){return function mre(n,t,e,i){let r=[],o=0;n.doc.nodesBetween(t,e,(s,a)=>{if(!s.isInline)return;o++;let l=null;if(i instanceof _b){let u,c=s.marks;for(;u=i.isInSet(c);)(l||(l=[])).push(u),c=u.removeFromSet(c)}else i?i.isInSet(s.marks)&&(l=[i]):l=s.marks;if(l&&l.length){let c=Math.min(a+s.nodeSize,e);for(let u=0;un.step(new Ys(s.from,s.to,s.style)))}(this,t,e,i),this}clearIncompatible(t,e,i){return function gre(n,t,e,i=e.contentMatch){let r=n.doc.nodeAt(t),o=[],s=t+1;for(let a=0;a=0;a--)n.step(o[a])}(this,t,e,i),this}}const LM=Object.create(null);class ct{constructor(t,e,i){this.$anchor=t,this.$head=e,this.ranges=i||[new Jj(t.min(e),t.max(e))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let t=this.ranges;for(let e=0;e=0;o--){let s=e<0?Oh(t.node(0),t.node(o),t.before(o+1),t.index(o),e,i):Oh(t.node(0),t.node(o),t.after(o+1),t.index(o)+1,e,i);if(s)return s}return null}static near(t,e=1){return this.findFrom(t,e)||this.findFrom(t,-e)||new So(t.node(0))}static atStart(t){return Oh(t,t,0,0,1)||new So(t)}static atEnd(t){return Oh(t,t,t.content.size,t.childCount,-1)||new So(t)}static fromJSON(t,e){if(!e||!e.type)throw new RangeError("Invalid input for Selection.fromJSON");let i=LM[e.type];if(!i)throw new RangeError(`No selection type ${e.type} defined`);return i.fromJSON(t,e)}static jsonID(t,e){if(t in LM)throw new RangeError("Duplicate use of selection JSON ID "+t);return LM[t]=e,e.prototype.jsonID=t,e}getBookmark(){return at.between(this.$anchor,this.$head).getBookmark()}}ct.prototype.visible=!0;class Jj{constructor(t,e){this.$from=t,this.$to=e}}let Xj=!1;function e3(n){!Xj&&!n.parent.inlineContent&&(Xj=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+n.parent.type.name+")"))}class at extends ct{constructor(t,e=t){e3(t),e3(e),super(t,e)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(t,e){let i=t.resolve(e.map(this.head));if(!i.parent.inlineContent)return ct.near(i);let r=t.resolve(e.map(this.anchor));return new at(r.parent.inlineContent?r:i,i)}replace(t,e=Te.empty){if(super.replace(t,e),e==Te.empty){let i=this.$from.marksAcross(this.$to);i&&t.ensureMarks(i)}}eq(t){return t instanceof at&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new Tb(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(t,e){if("number"!=typeof e.anchor||"number"!=typeof e.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new at(t.resolve(e.anchor),t.resolve(e.head))}static create(t,e,i=e){let r=t.resolve(e);return new this(r,i==e?r:t.resolve(i))}static between(t,e,i){let r=t.pos-e.pos;if((!i||r)&&(i=r>=0?1:-1),!e.parent.inlineContent){let o=ct.findFrom(e,i,!0)||ct.findFrom(e,-i,!0);if(!o)return ct.near(e,i);e=o.$head}return t.parent.inlineContent||(0==r||(t=(ct.findFrom(t,-i,!0)||ct.findFrom(t,i,!0)).$anchor).posnew So(n)};function Oh(n,t,e,i,r,o=!1){if(t.inlineContent)return at.create(n,e);for(let s=i-(r>0?0:1);r>0?s=0;s+=r){let a=t.child(s);if(a.isAtom){if(!o&&Qe.isSelectable(a))return Qe.create(n,e-(r<0?a.nodeSize:0))}else{let l=Oh(n,a,e+r,r<0?a.childCount:0,r,o);if(l)return l}e+=a.nodeSize*r}return null}function t3(n,t,e){let i=n.steps.length-1;if(i{null==s&&(s=u)}),n.setSelection(ct.near(n.doc.resolve(s),e)))}class Lre extends PM{constructor(t){super(t.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=t.selection,this.storedMarks=t.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(t){return this.storedMarks=t,this.updated|=2,this}ensureMarks(t){return Pn.sameSet(this.storedMarks||this.selection.$from.marks(),t)||this.setStoredMarks(t),this}addStoredMark(t){return this.ensureMarks(t.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(t){return this.ensureMarks(t.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(2&this.updated)>0}addStep(t,e){super.addStep(t,e),this.updated=-3&this.updated,this.storedMarks=null}setTime(t){return this.time=t,this}replaceSelection(t){return this.selection.replace(this,t),this}replaceSelectionWith(t,e=!0){let i=this.selection;return e&&(t=t.mark(this.storedMarks||(i.empty?i.$from.marks():i.$from.marksAcross(i.$to)||Pn.none))),i.replaceWith(this,t),this}deleteSelection(){return this.selection.replace(this),this}insertText(t,e,i){let r=this.doc.type.schema;if(null==e)return t?this.replaceSelectionWith(r.text(t),!0):this.deleteSelection();{if(null==i&&(i=e),i=i??e,!t)return this.deleteRange(e,i);let o=this.storedMarks;if(!o){let s=this.doc.resolve(e);o=i==e?s.marks():s.marksAcross(this.doc.resolve(i))}return this.replaceRangeWith(e,i,r.text(t,o)),this.selection.empty||this.setSelection(ct.near(this.selection.$to)),this}}setMeta(t,e){return this.meta["string"==typeof t?t:t.key]=e,this}getMeta(t){return this.meta["string"==typeof t?t:t.key]}get isGeneric(){for(let t in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}}function o3(n,t){return t&&n?n.bind(t):n}class qm{constructor(t,e,i){this.name=t,this.init=o3(e.init,i),this.apply=o3(e.apply,i)}}const Rre=[new qm("doc",{init:n=>n.doc||n.schema.topNodeType.createAndFill(),apply:n=>n.doc}),new qm("selection",{init:(n,t)=>n.selection||ct.atStart(t.doc),apply:n=>n.selection}),new qm("storedMarks",{init:n=>n.storedMarks||null,apply:(n,t,e,i)=>i.selection.$cursor?n.storedMarks:null}),new qm("scrollToSelection",{init:()=>0,apply:(n,t)=>n.scrolledIntoView?t+1:t})];class FM{constructor(t,e){this.schema=t,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=Rre.slice(),e&&e.forEach(i=>{if(this.pluginsByKey[i.key])throw new RangeError("Adding different instances of a keyed plugin ("+i.key+")");this.plugins.push(i),this.pluginsByKey[i.key]=i,i.spec.state&&this.fields.push(new qm(i.key,i.spec.state,i))})}}class Ah{constructor(t){this.config=t}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(t){return this.applyTransaction(t).state}filterTransaction(t,e=-1){for(let i=0;ii.toJSON())),t&&"object"==typeof t)for(let i in t){if("doc"==i||"selection"==i)throw new RangeError("The JSON fields `doc` and `selection` are reserved");let r=t[i],o=r.spec.state;o&&o.toJSON&&(e[i]=o.toJSON.call(r,this[r.key]))}return e}static fromJSON(t,e,i){if(!e)throw new RangeError("Invalid input for EditorState.fromJSON");if(!t.schema)throw new RangeError("Required config field 'schema' missing");let r=new FM(t.schema,t.plugins),o=new Ah(r);return r.fields.forEach(s=>{if("doc"==s.name)o.doc=Ws.fromJSON(t.schema,e.doc);else if("selection"==s.name)o.selection=ct.fromJSON(o.doc,e.selection);else if("storedMarks"==s.name)e.storedMarks&&(o.storedMarks=e.storedMarks.map(t.schema.markFromJSON));else{if(i)for(let a in i){let l=i[a],c=l.spec.state;if(l.key==s.name&&c&&c.fromJSON&&Object.prototype.hasOwnProperty.call(e,a))return void(o[s.name]=c.fromJSON.call(l,t,e[a],o))}o[s.name]=s.init(t,o)}}),o}}function s3(n,t,e){for(let i in n){let r=n[i];r instanceof Function?r=r.bind(t):"handleDOMEvents"==i&&(r=s3(r,t,{})),e[i]=r}return e}class Kt{constructor(t){this.spec=t,this.props={},t.props&&s3(t.props,this,this.props),this.key=t.key?t.key.key:a3("plugin")}getState(t){return t[this.key]}}const jM=Object.create(null);function a3(n){return n in jM?n+"$"+ ++jM[n]:(jM[n]=0,n+"$")}class an{constructor(t="key"){this.key=a3(t)}get(t){return t.config.pluginsByKey[this.key]}getState(t){return t[this.key]}}function Eo(n){if(null==n)return window;if("[object Window]"!==n.toString()){var t=n.ownerDocument;return t&&t.defaultView||window}return n}function su(n){return n instanceof Eo(n).Element||n instanceof Element}function Wo(n){return n instanceof Eo(n).HTMLElement||n instanceof HTMLElement}function zM(n){return!(typeof ShadowRoot>"u")&&(n instanceof Eo(n).ShadowRoot||n instanceof ShadowRoot)}var au=Math.max,Mb=Math.min,kh=Math.round;function VM(){var n=navigator.userAgentData;return null!=n&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function l3(){return!/^((?!chrome|android).)*safari/i.test(VM())}function Nh(n,t,e){void 0===t&&(t=!1),void 0===e&&(e=!1);var i=n.getBoundingClientRect(),r=1,o=1;t&&Wo(n)&&(r=n.offsetWidth>0&&kh(i.width)/n.offsetWidth||1,o=n.offsetHeight>0&&kh(i.height)/n.offsetHeight||1);var a=(su(n)?Eo(n):window).visualViewport,l=!l3()&&e,c=(i.left+(l&&a?a.offsetLeft:0))/r,u=(i.top+(l&&a?a.offsetTop:0))/o,d=i.width/r,h=i.height/o;return{width:d,height:h,top:u,right:c+d,bottom:u+h,left:c,x:c,y:u}}function BM(n){var t=Eo(n);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function qs(n){return n?(n.nodeName||"").toLowerCase():null}function kl(n){return((su(n)?n.ownerDocument:n.document)||window.document).documentElement}function UM(n){return Nh(kl(n)).left+BM(n).scrollLeft}function Ha(n){return Eo(n).getComputedStyle(n)}function HM(n){var t=Ha(n);return/auto|scroll|overlay|hidden/.test(t.overflow+t.overflowY+t.overflowX)}function Vre(n,t,e){void 0===e&&(e=!1);var i=Wo(t),r=Wo(t)&&function zre(n){var t=n.getBoundingClientRect(),e=kh(t.width)/n.offsetWidth||1,i=kh(t.height)/n.offsetHeight||1;return 1!==e||1!==i}(t),o=kl(t),s=Nh(n,r,e),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!e)&&(("body"!==qs(t)||HM(o))&&(a=function jre(n){return n!==Eo(n)&&Wo(n)?function Fre(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}(n):BM(n)}(t)),Wo(t)?((l=Nh(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=UM(o))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function $M(n){var t=Nh(n),e=n.offsetWidth,i=n.offsetHeight;return Math.abs(t.width-e)<=1&&(e=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:n.offsetLeft,y:n.offsetTop,width:e,height:i}}function Sb(n){return"html"===qs(n)?n:n.assignedSlot||n.parentNode||(zM(n)?n.host:null)||kl(n)}function c3(n){return["html","body","#document"].indexOf(qs(n))>=0?n.ownerDocument.body:Wo(n)&&HM(n)?n:c3(Sb(n))}function Km(n,t){var e;void 0===t&&(t=[]);var i=c3(n),r=i===(null==(e=n.ownerDocument)?void 0:e.body),o=Eo(i),s=r?[o].concat(o.visualViewport||[],HM(i)?i:[]):i,a=t.concat(s);return r?a:a.concat(Km(Sb(s)))}function Bre(n){return["table","td","th"].indexOf(qs(n))>=0}function u3(n){return Wo(n)&&"fixed"!==Ha(n).position?n.offsetParent:null}function Qm(n){for(var t=Eo(n),e=u3(n);e&&Bre(e)&&"static"===Ha(e).position;)e=u3(e);return e&&("html"===qs(e)||"body"===qs(e)&&"static"===Ha(e).position)?t:e||function Ure(n){var t=/firefox/i.test(VM());if(/Trident/i.test(VM())&&Wo(n)&&"fixed"===Ha(n).position)return null;var r=Sb(n);for(zM(r)&&(r=r.host);Wo(r)&&["html","body"].indexOf(qs(r))<0;){var o=Ha(r);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return r;r=r.parentNode}return null}(n)||t}var eo="top",Go="bottom",Yo="right",to="left",WM="auto",Zm=[eo,Go,Yo,to],Ph="start",Jm="end",d3="viewport",Xm="popper",h3=Zm.reduce(function(n,t){return n.concat([t+"-"+Ph,t+"-"+Jm])},[]),f3=[].concat(Zm,[WM]).reduce(function(n,t){return n.concat([t,t+"-"+Ph,t+"-"+Jm])},[]),eoe=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function toe(n){var t=new Map,e=new Set,i=[];function r(o){e.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach(function(a){if(!e.has(a)){var l=t.get(a);l&&r(l)}}),i.push(o)}return n.forEach(function(o){t.set(o.name,o)}),n.forEach(function(o){e.has(o.name)||r(o)}),i}function ioe(n){var t;return function(){return t||(t=new Promise(function(e){Promise.resolve().then(function(){t=void 0,e(n())})})),t}}var p3={placement:"bottom",modifiers:[],strategy:"absolute"};function m3(){for(var n=arguments.length,t=new Array(n),e=0;e=0?"x":"y"}function g3(n){var l,t=n.reference,e=n.element,i=n.placement,r=i?Ks(i):null,o=i?Lh(i):null,s=t.x+t.width/2-e.width/2,a=t.y+t.height/2-e.height/2;switch(r){case eo:l={x:s,y:t.y-e.height};break;case Go:l={x:s,y:t.y+t.height};break;case Yo:l={x:t.x+t.width,y:a};break;case to:l={x:t.x-e.width,y:a};break;default:l={x:t.x,y:t.y}}var c=r?GM(r):null;if(null!=c){var u="y"===c?"height":"width";switch(o){case Ph:l[c]=l[c]-(t[u]/2-e[u]/2);break;case Jm:l[c]=l[c]+(t[u]/2-e[u]/2)}}return l}const coe={name:"popperOffsets",enabled:!0,phase:"read",fn:function loe(n){var t=n.state;t.modifiersData[n.name]=g3({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var uoe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function y3(n){var t,e=n.popper,i=n.popperRect,r=n.placement,o=n.variation,s=n.offsets,a=n.position,l=n.gpuAcceleration,c=n.adaptive,u=n.roundOffsets,d=n.isFixed,h=s.x,f=void 0===h?0:h,p=s.y,m=void 0===p?0:p,g="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var y=s.hasOwnProperty("x"),w=s.hasOwnProperty("y"),T=to,v=eo,N=window;if(c){var x=Qm(e),ae="clientHeight",Z="clientWidth";x===Eo(e)&&"static"!==Ha(x=kl(e)).position&&"absolute"===a&&(ae="scrollHeight",Z="scrollWidth"),(r===eo||(r===to||r===Yo)&&o===Jm)&&(v=Go,m-=(d&&x===N&&N.visualViewport?N.visualViewport.height:x[ae])-i.height,m*=l?1:-1),r!==to&&(r!==eo&&r!==Go||o!==Jm)||(T=Yo,f-=(d&&x===N&&N.visualViewport?N.visualViewport.width:x[Z])-i.width,f*=l?1:-1)}var ut,Tt=Object.assign({position:a},c&&uoe),ht=!0===u?function doe(n,t){var i=n.y,r=t.devicePixelRatio||1;return{x:kh(n.x*r)/r||0,y:kh(i*r)/r||0}}({x:f,y:m},Eo(e)):{x:f,y:m};return f=ht.x,m=ht.y,Object.assign({},Tt,l?((ut={})[v]=w?"0":"",ut[T]=y?"0":"",ut.transform=(N.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",ut):((t={})[v]=w?m+"px":"",t[T]=y?f+"px":"",t.transform="",t))}const foe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function hoe(n){var t=n.state,e=n.options,i=e.gpuAcceleration,r=void 0===i||i,o=e.adaptive,s=void 0===o||o,a=e.roundOffsets,l=void 0===a||a,c={placement:Ks(t.placement),variation:Lh(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,y3(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,y3(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},_3={name:"applyStyles",enabled:!0,phase:"write",fn:function poe(n){var t=n.state;Object.keys(t.elements).forEach(function(e){var i=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];!Wo(o)||!qs(o)||(Object.assign(o.style,i),Object.keys(r).forEach(function(s){var a=r[s];!1===a?o.removeAttribute(s):o.setAttribute(s,!0===a?"":a)}))})},effect:function moe(n){var t=n.state,e={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,e.popper),t.styles=e,t.elements.arrow&&Object.assign(t.elements.arrow.style,e.arrow),function(){Object.keys(t.elements).forEach(function(i){var r=t.elements[i],o=t.attributes[i]||{},a=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:e[i]).reduce(function(l,c){return l[c]="",l},{});!Wo(r)||!qs(r)||(Object.assign(r.style,a),Object.keys(o).forEach(function(l){r.removeAttribute(l)}))})}},requires:["computeStyles"]},_oe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function yoe(n){var t=n.state,i=n.name,r=n.options.offset,o=void 0===r?[0,0]:r,s=f3.reduce(function(u,d){return u[d]=function goe(n,t,e){var i=Ks(n),r=[to,eo].indexOf(i)>=0?-1:1,o="function"==typeof e?e(Object.assign({},t,{placement:n})):e,s=o[0],a=o[1];return s=s||0,a=(a||0)*r,[to,Yo].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(d,t.rects,o),u},{}),a=s[t.placement],c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=a.x,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=s}};var voe={left:"right",right:"left",bottom:"top",top:"bottom"};function xb(n){return n.replace(/left|right|bottom|top/g,function(t){return voe[t]})}var boe={start:"end",end:"start"};function v3(n){return n.replace(/start|end/g,function(t){return boe[t]})}function b3(n,t){var e=t.getRootNode&&t.getRootNode();if(n.contains(t))return!0;if(e&&zM(e)){var i=t;do{if(i&&n.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function YM(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function C3(n,t,e){return t===d3?YM(function Coe(n,t){var e=Eo(n),i=kl(n),r=e.visualViewport,o=i.clientWidth,s=i.clientHeight,a=0,l=0;if(r){o=r.width,s=r.height;var c=l3();(c||!c&&"fixed"===t)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:o,height:s,x:a+UM(n),y:l}}(n,e)):su(t)?function Toe(n,t){var e=Nh(n,!1,"fixed"===t);return e.top=e.top+n.clientTop,e.left=e.left+n.clientLeft,e.bottom=e.top+n.clientHeight,e.right=e.left+n.clientWidth,e.width=n.clientWidth,e.height=n.clientHeight,e.x=e.left,e.y=e.top,e}(t,e):YM(function woe(n){var t,e=kl(n),i=BM(n),r=null==(t=n.ownerDocument)?void 0:t.body,o=au(e.scrollWidth,e.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=au(e.scrollHeight,e.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+UM(n),l=-i.scrollTop;return"rtl"===Ha(r||e).direction&&(a+=au(e.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}(kl(n)))}function T3(n){return Object.assign({},{top:0,right:0,bottom:0,left:0},n)}function D3(n,t){return t.reduce(function(e,i){return e[i]=n,e},{})}function eg(n,t){void 0===t&&(t={});var i=t.placement,r=void 0===i?n.placement:i,o=t.strategy,s=void 0===o?n.strategy:o,a=t.boundary,l=void 0===a?"clippingParents":a,c=t.rootBoundary,u=void 0===c?d3:c,d=t.elementContext,h=void 0===d?Xm:d,f=t.altBoundary,p=void 0!==f&&f,m=t.padding,g=void 0===m?0:m,y=T3("number"!=typeof g?g:D3(g,Zm)),T=n.rects.popper,v=n.elements[p?h===Xm?"reference":Xm:h],N=function Moe(n,t,e,i){var r="clippingParents"===t?function Doe(n){var t=Km(Sb(n)),i=["absolute","fixed"].indexOf(Ha(n).position)>=0&&Wo(n)?Qm(n):n;return su(i)?t.filter(function(r){return su(r)&&b3(r,i)&&"body"!==qs(r)}):[]}(n):[].concat(t),o=[].concat(r,[e]),a=o.reduce(function(l,c){var u=C3(n,c,i);return l.top=au(u.top,l.top),l.right=Mb(u.right,l.right),l.bottom=Mb(u.bottom,l.bottom),l.left=au(u.left,l.left),l},C3(n,o[0],i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(su(v)?v:v.contextElement||kl(n.elements.popper),l,u,s),x=Nh(n.elements.reference),ae=g3({reference:x,element:T,strategy:"absolute",placement:r}),Z=YM(Object.assign({},T,ae)),Pe=h===Xm?Z:x,Ge={top:N.top-Pe.top+y.top,bottom:Pe.bottom-N.bottom+y.bottom,left:N.left-Pe.left+y.left,right:Pe.right-N.right+y.right},Tt=n.modifiersData.offset;if(h===Xm&&Tt){var ht=Tt[r];Object.keys(Ge).forEach(function(ut){var vn=[Yo,Go].indexOf(ut)>=0?1:-1,kt=[eo,Go].indexOf(ut)>=0?"y":"x";Ge[ut]+=ht[kt]*vn})}return Ge}const Ioe={name:"flip",enabled:!0,phase:"main",fn:function xoe(n){var t=n.state,e=n.options,i=n.name;if(!t.modifiersData[i]._skip){for(var r=e.mainAxis,o=void 0===r||r,s=e.altAxis,a=void 0===s||s,l=e.fallbackPlacements,c=e.padding,u=e.boundary,d=e.rootBoundary,h=e.altBoundary,f=e.flipVariations,p=void 0===f||f,m=e.allowedAutoPlacements,g=t.options.placement,y=Ks(g),T=l||(y!==g&&p?function Eoe(n){if(Ks(n)===WM)return[];var t=xb(n);return[v3(n),t,v3(t)]}(g):[xb(g)]),v=[g].concat(T).reduce(function(Bt,tr){return Bt.concat(Ks(tr)===WM?function Soe(n,t){void 0===t&&(t={});var r=t.boundary,o=t.rootBoundary,s=t.padding,a=t.flipVariations,l=t.allowedAutoPlacements,c=void 0===l?f3:l,u=Lh(t.placement),d=u?a?h3:h3.filter(function(p){return Lh(p)===u}):Zm,h=d.filter(function(p){return c.indexOf(p)>=0});0===h.length&&(h=d);var f=h.reduce(function(p,m){return p[m]=eg(n,{placement:m,boundary:r,rootBoundary:o,padding:s})[Ks(m)],p},{});return Object.keys(f).sort(function(p,m){return f[p]-f[m]})}(t,{placement:tr,boundary:u,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:m}):tr)},[]),N=t.rects.reference,x=t.rects.popper,ae=new Map,Z=!0,Pe=v[0],Ge=0;Ge=0,kt=vn?"width":"height",de=eg(t,{placement:Tt,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),ge=vn?ut?Yo:to:ut?Go:eo;N[kt]>x[kt]&&(ge=xb(ge));var be=xb(ge),We=[];if(o&&We.push(de[ht]<=0),a&&We.push(de[ge]<=0,de[be]<=0),We.every(function(Bt){return Bt})){Pe=Tt,Z=!1;break}ae.set(Tt,We)}if(Z)for(var dn=function(tr){var ao=v.find(function(An){var Qt=ae.get(An);if(Qt)return Qt.slice(0,tr).every(function(mt){return mt})});if(ao)return Pe=ao,"break"},Wt=p?3:1;Wt>0&&"break"!==dn(Wt);Wt--);t.placement!==Pe&&(t.modifiersData[i]._skip=!0,t.placement=Pe,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function tg(n,t,e){return au(n,Mb(t,e))}const Noe={name:"preventOverflow",enabled:!0,phase:"main",fn:function koe(n){var t=n.state,e=n.options,i=n.name,r=e.mainAxis,o=void 0===r||r,s=e.altAxis,a=void 0!==s&&s,h=e.tether,f=void 0===h||h,p=e.tetherOffset,m=void 0===p?0:p,g=eg(t,{boundary:e.boundary,rootBoundary:e.rootBoundary,padding:e.padding,altBoundary:e.altBoundary}),y=Ks(t.placement),w=Lh(t.placement),T=!w,v=GM(y),N=function Ooe(n){return"x"===n?"y":"x"}(v),x=t.modifiersData.popperOffsets,ae=t.rects.reference,Z=t.rects.popper,Pe="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,Ge="number"==typeof Pe?{mainAxis:Pe,altAxis:Pe}:Object.assign({mainAxis:0,altAxis:0},Pe),Tt=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ht={x:0,y:0};if(x){if(o){var ut,vn="y"===v?eo:to,kt="y"===v?Go:Yo,de="y"===v?"height":"width",ge=x[v],be=ge+g[vn],We=ge-g[kt],Lt=f?-Z[de]/2:0,dn=w===Ph?ae[de]:Z[de],Wt=w===Ph?-Z[de]:-ae[de],On=t.elements.arrow,Bt=f&&On?$M(On):{width:0,height:0},tr=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ao=tr[vn],An=tr[kt],Qt=tg(0,ae[de],Bt[de]),mt=T?ae[de]/2-Lt-Qt-ao-Ge.mainAxis:dn-Qt-ao-Ge.mainAxis,Un=T?-ae[de]/2+Lt+Qt+An+Ge.mainAxis:Wt+Qt+An+Ge.mainAxis,Lr=t.elements.arrow&&Qm(t.elements.arrow),ac=null!=(ut=Tt?.[v])?ut:0,Hu=ge+Un-ac,ay=tg(f?Mb(be,ge+mt-ac-(Lr?"y"===v?Lr.clientTop||0:Lr.clientLeft||0:0)):be,ge,f?au(We,Hu):We);x[v]=ay,ht[v]=ay-ge}if(a){var ly,Ja=x[N],cc="y"===N?"height":"width",cy=Ja+g["x"===v?eo:to],$u=Ja-g["x"===v?Go:Yo],uy=-1!==[eo,to].indexOf(y),_C=null!=(ly=Tt?.[N])?ly:0,vC=uy?cy:Ja-ae[cc]-Z[cc]-_C+Ge.altAxis,bC=uy?Ja+ae[cc]+Z[cc]-_C-Ge.altAxis:$u,CC=f&&uy?function Aoe(n,t,e){var i=tg(n,t,e);return i>e?e:i}(vC,Ja,bC):tg(f?vC:cy,Ja,f?bC:$u);x[N]=CC,ht[N]=CC-Ja}t.modifiersData[i]=ht}},requiresIfExists:["offset"]},Foe={name:"arrow",enabled:!0,phase:"main",fn:function Loe(n){var t,e=n.state,i=n.name,r=n.options,o=e.elements.arrow,s=e.modifiersData.popperOffsets,a=Ks(e.placement),l=GM(a),u=[to,Yo].indexOf(a)>=0?"height":"width";if(o&&s){var d=function(t,e){return T3("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:D3(t,Zm))}(r.padding,e),h=$M(o),f="y"===l?eo:to,p="y"===l?Go:Yo,m=e.rects.reference[u]+e.rects.reference[l]-s[l]-e.rects.popper[u],g=s[l]-e.rects.reference[l],y=Qm(o),w=y?"y"===l?y.clientHeight||0:y.clientWidth||0:0,x=w/2-h[u]/2+(m/2-g/2),ae=tg(d[f],x,w-h[u]-d[p]);e.modifiersData[i]=((t={})[l]=ae,t.centerOffset=ae-x,t)}},effect:function Roe(n){var t=n.state,i=n.options.element,r=void 0===i?"[data-popper-arrow]":i;null!=r&&("string"==typeof r&&!(r=t.elements.popper.querySelector(r))||b3(t.elements.popper,r)&&(t.elements.arrow=r))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function M3(n,t,e){return void 0===e&&(e={x:0,y:0}),{top:n.top-t.height-e.y,right:n.right-t.width+e.x,bottom:n.bottom-t.height+e.y,left:n.left-t.width-e.x}}function S3(n){return[eo,Yo,Go,to].some(function(t){return n[t]>=0})}var zoe=[aoe,coe,foe,_3,_oe,Ioe,Noe,Foe,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function joe(n){var t=n.state,e=n.name,i=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,s=eg(t,{elementContext:"reference"}),a=eg(t,{altBoundary:!0}),l=M3(s,i),c=M3(a,r,o),u=S3(l),d=S3(c);t.modifiersData[e]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}],Voe=ooe({defaultModifiers:zoe}),E3="tippy-content",I3="tippy-arrow",O3="tippy-svg-arrow",Nl={passive:!0,capture:!0},A3=function(){return document.body};function qM(n,t,e){return Array.isArray(n)?n[t]??(Array.isArray(e)?e[t]:e):n}function KM(n,t){var e={}.toString.call(n);return 0===e.indexOf("[object")&&e.indexOf(t+"]")>-1}function k3(n,t){return"function"==typeof n?n.apply(void 0,t):n}function N3(n,t){return 0===t?n:function(i){clearTimeout(e),e=setTimeout(function(){n(i)},t)};var e}function Pl(n){return[].concat(n)}function P3(n,t){-1===n.indexOf(t)&&n.push(t)}function Rh(n){return[].slice.call(n)}function R3(n){return Object.keys(n).reduce(function(t,e){return void 0!==n[e]&&(t[e]=n[e]),t},{})}function lu(){return document.createElement("div")}function Ib(n){return["Element","Fragment"].some(function(t){return KM(n,t)})}function JM(n,t){n.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function ng(n,t){n.forEach(function(e){e&&e.setAttribute("data-state",t)})}function XM(n,t,e){var i=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(r){n[i](r,e)})}function z3(n,t){for(var e=t;e;){var i;if(n.contains(e))return!0;e=null==e.getRootNode||null==(i=e.getRootNode())?void 0:i.host}return!1}var Qs={isTouch:!1},V3=0;function qoe(){Qs.isTouch||(Qs.isTouch=!0,window.performance&&document.addEventListener("mousemove",B3))}function B3(){var n=performance.now();n-V3<20&&(Qs.isTouch=!1,document.removeEventListener("mousemove",B3)),V3=n}function Koe(){var n=document.activeElement;(function F3(n){return!(!n||!n._tippy||n._tippy.reference!==n)})(n)&&n.blur&&!n._tippy.state.isVisible&&n.blur()}var Joe=!!(typeof window<"u"&&typeof document<"u")&&!!window.msCrypto,no=Object.assign({appendTo:A3,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),nse=Object.keys(no);function G3(n){var e=(n.plugins||[]).reduce(function(i,r){var a,o=r.name;return o&&(i[o]=void 0!==n[o]?n[o]:null!=(a=no[o])?a:r.defaultValue),i},{});return Object.assign({},n,e)}function Y3(n,t){var e=Object.assign({},t,{content:k3(t.content,[n])},t.ignoreAttributes?{}:function rse(n,t){return(t?Object.keys(G3(Object.assign({},no,{plugins:t}))):nse).reduce(function(r,o){var s=(n.getAttribute("data-tippy-"+o)||"").trim();if(!s)return r;if("content"===o)r[o]=s;else try{r[o]=JSON.parse(s)}catch{r[o]=s}return r},{})}(n,t.plugins));return e.aria=Object.assign({},no.aria,e.aria),e.aria={expanded:"auto"===e.aria.expanded?t.interactive:e.aria.expanded,content:"auto"===e.aria.content?t.interactive?null:"describedby":e.aria.content},e}function eS(n,t){n.innerHTML=t}function q3(n){var t=lu();return!0===n?t.className=I3:(t.className=O3,Ib(n)?t.appendChild(n):eS(t,n)),t}function K3(n,t){Ib(t.content)?(eS(n,""),n.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?eS(n,t.content):n.textContent=t.content)}function Ob(n){var t=n.firstElementChild,e=Rh(t.children);return{box:t,content:e.find(function(i){return i.classList.contains(E3)}),arrow:e.find(function(i){return i.classList.contains(I3)||i.classList.contains(O3)}),backdrop:e.find(function(i){return i.classList.contains("tippy-backdrop")})}}function Q3(n){var t=lu(),e=lu();e.className="tippy-box",e.setAttribute("data-state","hidden"),e.setAttribute("tabindex","-1");var i=lu();function r(o,s){var a=Ob(t),l=a.box,c=a.content,u=a.arrow;s.theme?l.setAttribute("data-theme",s.theme):l.removeAttribute("data-theme"),"string"==typeof s.animation?l.setAttribute("data-animation",s.animation):l.removeAttribute("data-animation"),s.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth="number"==typeof s.maxWidth?s.maxWidth+"px":s.maxWidth,s.role?l.setAttribute("role",s.role):l.removeAttribute("role"),(o.content!==s.content||o.allowHTML!==s.allowHTML)&&K3(c,n.props),s.arrow?u?o.arrow!==s.arrow&&(l.removeChild(u),l.appendChild(q3(s.arrow))):l.appendChild(q3(s.arrow)):u&&l.removeChild(u)}return i.className=E3,i.setAttribute("data-state","hidden"),K3(i,n.props),t.appendChild(e),e.appendChild(i),r(n.props,n.props),{popper:t,onUpdate:r}}Q3.$$tippy=!0;var sse=1,Ab=[],kb=[];function ase(n,t){var i,r,o,u,d,h,m,e=Y3(n,Object.assign({},no,G3(R3(t)))),s=!1,a=!1,l=!1,c=!1,f=[],p=N3(lc,e.interactiveDebounce),g=sse++,w=function $oe(n){return n.filter(function(t,e){return n.indexOf(t)===e})}(e.plugins),v={id:g,reference:n,popper:lu(),popperInstance:null,props:e,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:w,clearDelayTimeouts:function vC(){clearTimeout(i),clearTimeout(r),cancelAnimationFrame(o)},setProps:function bC(ne){if(!v.state.isDestroyed){be("onBeforeUpdate",[v,ne]),Uu();var Ye=v.props,gt=Y3(n,Object.assign({},Ye,R3(ne),{ignoreAttributes:!0}));v.props=gt,Lr(),Ye.interactiveDebounce!==gt.interactiveDebounce&&(dn(),p=N3(lc,gt.interactiveDebounce)),Ye.triggerTarget&&!gt.triggerTarget?Pl(Ye.triggerTarget).forEach(function(xn){xn.removeAttribute("aria-expanded")}):gt.triggerTarget&&n.removeAttribute("aria-expanded"),Lt(),ge(),ae&&ae(Ye,gt),v.popperInstance&&(gC(),cc().forEach(function(xn){requestAnimationFrame(xn._tippy.popperInstance.forceUpdate)})),be("onAfterUpdate",[v,ne])}},setContent:function CC(ne){v.setProps({content:ne})},show:function xTe(){var ne=v.state.isVisible,Ye=v.state.isDestroyed,gt=!v.state.isEnabled,xn=Qs.isTouch&&!v.props.touch,hn=qM(v.props.duration,0,no.duration);if(!(ne||Ye||gt||xn||ut().hasAttribute("disabled")||(be("onShow",[v],!1),!1===v.props.onShow(v)))){if(v.state.isVisible=!0,ht()&&(x.style.visibility="visible"),ge(),tr(),v.state.isMounted||(x.style.transition="none"),ht()){var Rr=kt();JM([Rr.box,Rr.content],0)}h=function(){var Wu;if(v.state.isVisible&&!c){if(c=!0,x.style.transition=v.props.moveTransition,ht()&&v.props.animation){var ex=kt(),wC=ex.box,Cf=ex.content;JM([wC,Cf],hn),ng([wC,Cf],"visible")}We(),Lt(),P3(kb,v),null==(Wu=v.popperInstance)||Wu.forceUpdate(),be("onMount",[v]),v.props.animation&&ht()&&function Qt(ne,Ye){mt(ne,Ye)}(hn,function(){v.state.isShown=!0,be("onShown",[v])})}},function Ja(){var Ye,ne=v.props.appendTo,gt=ut();(Ye=v.props.interactive&&ne===A3||"parent"===ne?gt.parentNode:k3(ne,[gt])).contains(x)||Ye.appendChild(x),v.state.isMounted=!0,gC()}()}},hide:function ITe(){var ne=!v.state.isVisible,Ye=v.state.isDestroyed,gt=!v.state.isEnabled,xn=qM(v.props.duration,1,no.duration);if(!(ne||Ye||gt)&&(be("onHide",[v],!1),!1!==v.props.onHide(v))){if(v.state.isVisible=!1,v.state.isShown=!1,c=!1,s=!1,ht()&&(x.style.visibility="hidden"),dn(),ao(),ge(!0),ht()){var hn=kt(),Rr=hn.box,es=hn.content;v.props.animation&&(JM([Rr,es],xn),ng([Rr,es],"hidden"))}We(),Lt(),v.props.animation?ht()&&function An(ne,Ye){mt(ne,function(){!v.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&Ye()})}(xn,v.unmount):v.unmount()}},hideWithInteractivity:function OTe(ne){vn().addEventListener("mousemove",p),P3(Ab,p),p(ne)},enable:function uy(){v.state.isEnabled=!0},disable:function _C(){v.hide(),v.state.isEnabled=!1},unmount:function ATe(){v.state.isVisible&&v.hide(),v.state.isMounted&&(yC(),cc().forEach(function(ne){ne._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x),kb=kb.filter(function(ne){return ne!==v}),v.state.isMounted=!1,be("onHidden",[v]))},destroy:function kTe(){v.state.isDestroyed||(v.clearDelayTimeouts(),v.unmount(),Uu(),delete n._tippy,v.state.isDestroyed=!0,be("onDestroy",[v]))}};if(!e.render)return v;var N=e.render(v),x=N.popper,ae=N.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+v.id,v.popper=x,n._tippy=v,x._tippy=v;var Z=w.map(function(ne){return ne.fn(v)}),Pe=n.hasAttribute("aria-expanded");return Lr(),Lt(),ge(),be("onCreate",[v]),e.showOnCreate&&cy(),x.addEventListener("mouseenter",function(){v.props.interactive&&v.state.isVisible&&v.clearDelayTimeouts()}),x.addEventListener("mouseleave",function(){v.props.interactive&&v.props.trigger.indexOf("mouseenter")>=0&&vn().addEventListener("mousemove",p)}),v;function Ge(){var ne=v.props.touch;return Array.isArray(ne)?ne:[ne,0]}function Tt(){return"hold"===Ge()[0]}function ht(){var ne;return!(null==(ne=v.props.render)||!ne.$$tippy)}function ut(){return m||n}function vn(){var ne=ut().parentNode;return ne?function j3(n){var t,i=Pl(n)[0];return null!=i&&null!=(t=i.ownerDocument)&&t.body?i.ownerDocument:document}(ne):document}function kt(){return Ob(x)}function de(ne){return v.state.isMounted&&!v.state.isVisible||Qs.isTouch||u&&"focus"===u.type?0:qM(v.props.delay,ne?0:1,no.delay)}function ge(ne){void 0===ne&&(ne=!1),x.style.pointerEvents=v.props.interactive&&!ne?"":"none",x.style.zIndex=""+v.props.zIndex}function be(ne,Ye,gt){var xn;void 0===gt&&(gt=!0),Z.forEach(function(hn){hn[ne]&&hn[ne].apply(hn,Ye)}),gt&&(xn=v.props)[ne].apply(xn,Ye)}function We(){var ne=v.props.aria;if(ne.content){var Ye="aria-"+ne.content,gt=x.id;Pl(v.props.triggerTarget||n).forEach(function(hn){var Rr=hn.getAttribute(Ye);if(v.state.isVisible)hn.setAttribute(Ye,Rr?Rr+" "+gt:gt);else{var es=Rr&&Rr.replace(gt,"").trim();es?hn.setAttribute(Ye,es):hn.removeAttribute(Ye)}})}}function Lt(){!Pe&&v.props.aria.expanded&&Pl(v.props.triggerTarget||n).forEach(function(Ye){v.props.interactive?Ye.setAttribute("aria-expanded",v.state.isVisible&&Ye===ut()?"true":"false"):Ye.removeAttribute("aria-expanded")})}function dn(){vn().removeEventListener("mousemove",p),Ab=Ab.filter(function(ne){return ne!==p})}function Wt(ne){if(!Qs.isTouch||!l&&"mousedown"!==ne.type){var Ye=ne.composedPath&&ne.composedPath()[0]||ne.target;if(!v.props.interactive||!z3(x,Ye)){if(Pl(v.props.triggerTarget||n).some(function(gt){return z3(gt,Ye)})){if(Qs.isTouch||v.state.isVisible&&v.props.trigger.indexOf("click")>=0)return}else be("onClickOutside",[v,ne]);!0===v.props.hideOnClick&&(v.clearDelayTimeouts(),v.hide(),a=!0,setTimeout(function(){a=!1}),v.state.isMounted||ao())}}}function On(){l=!0}function Bt(){l=!1}function tr(){var ne=vn();ne.addEventListener("mousedown",Wt,!0),ne.addEventListener("touchend",Wt,Nl),ne.addEventListener("touchstart",Bt,Nl),ne.addEventListener("touchmove",On,Nl)}function ao(){var ne=vn();ne.removeEventListener("mousedown",Wt,!0),ne.removeEventListener("touchend",Wt,Nl),ne.removeEventListener("touchstart",Bt,Nl),ne.removeEventListener("touchmove",On,Nl)}function mt(ne,Ye){var gt=kt().box;function xn(hn){hn.target===gt&&(XM(gt,"remove",xn),Ye())}if(0===ne)return Ye();XM(gt,"remove",d),XM(gt,"add",xn),d=xn}function Un(ne,Ye,gt){void 0===gt&&(gt=!1),Pl(v.props.triggerTarget||n).forEach(function(hn){hn.addEventListener(ne,Ye,gt),f.push({node:hn,eventType:ne,handler:Ye,options:gt})})}function Lr(){Tt()&&(Un("touchstart",ac,{passive:!0}),Un("touchend",Hu,{passive:!0})),function Hoe(n){return n.split(/\s+/).filter(Boolean)}(v.props.trigger).forEach(function(ne){if("manual"!==ne)switch(Un(ne,ac),ne){case"mouseenter":Un("mouseleave",Hu);break;case"focus":Un(Joe?"focusout":"blur",ay);break;case"focusin":Un("focusout",ay)}})}function Uu(){f.forEach(function(ne){ne.node.removeEventListener(ne.eventType,ne.handler,ne.options)}),f=[]}function ac(ne){var Ye,gt=!1;if(v.state.isEnabled&&!ly(ne)&&!a){var xn="focus"===(null==(Ye=u)?void 0:Ye.type);u=ne,m=ne.currentTarget,Lt(),!v.state.isVisible&&function ZM(n){return KM(n,"MouseEvent")}(ne)&&Ab.forEach(function(hn){return hn(ne)}),"click"===ne.type&&(v.props.trigger.indexOf("mouseenter")<0||s)&&!1!==v.props.hideOnClick&&v.state.isVisible?gt=!0:cy(ne),"click"===ne.type&&(s=!gt),gt&&!xn&&$u(ne)}}function lc(ne){var Ye=ne.target,gt=ut().contains(Ye)||x.contains(Ye);"mousemove"===ne.type&>||function Yoe(n,t){var e=t.clientX,i=t.clientY;return n.every(function(r){var o=r.popperRect,s=r.popperState,l=r.props.interactiveBorder,c=function L3(n){return n.split("-")[0]}(s.placement),u=s.modifiersData.offset;return!u||o.top-i+("bottom"===c?u.top.y:0)>l||i-o.bottom-("top"===c?u.bottom.y:0)>l||o.left-e+("right"===c?u.left.x:0)>l||e-o.right-("left"===c?u.right.x:0)>l})}(cc().concat(x).map(function(hn){var Rr,bf=null==(Rr=hn._tippy.popperInstance)?void 0:Rr.state;return bf?{popperRect:hn.getBoundingClientRect(),popperState:bf,props:e}:null}).filter(Boolean),ne)&&(dn(),$u(ne))}function Hu(ne){if(!(ly(ne)||v.props.trigger.indexOf("click")>=0&&s)){if(v.props.interactive)return void v.hideWithInteractivity(ne);$u(ne)}}function ay(ne){v.props.trigger.indexOf("focusin")<0&&ne.target!==ut()||v.props.interactive&&ne.relatedTarget&&x.contains(ne.relatedTarget)||$u(ne)}function ly(ne){return!!Qs.isTouch&&Tt()!==ne.type.indexOf("touch")>=0}function gC(){yC();var ne=v.props,Ye=ne.popperOptions,gt=ne.placement,xn=ne.offset,hn=ne.getReferenceClientRect,Rr=ne.moveTransition,es=ht()?Ob(x).arrow:null,bf=hn?{getBoundingClientRect:hn,contextElement:hn.contextElement||ut()}:n,Wu=[{name:"offset",options:{offset:xn}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Rr}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(wC){var Cf=wC.state;if(ht()){var tx=kt().box;["placement","reference-hidden","escaped"].forEach(function(TC){"placement"===TC?tx.setAttribute("data-placement",Cf.placement):Cf.attributes.popper["data-popper-"+TC]?tx.setAttribute("data-"+TC,""):tx.removeAttribute("data-"+TC)}),Cf.attributes.popper={}}}}];ht()&&es&&Wu.push({name:"arrow",options:{element:es,padding:3}}),Wu.push.apply(Wu,Ye?.modifiers||[]),v.popperInstance=Voe(bf,x,Object.assign({},Ye,{placement:gt,onFirstUpdate:h,modifiers:Wu}))}function yC(){v.popperInstance&&(v.popperInstance.destroy(),v.popperInstance=null)}function cc(){return Rh(x.querySelectorAll("[data-tippy-root]"))}function cy(ne){v.clearDelayTimeouts(),ne&&be("onTrigger",[v,ne]),tr();var Ye=de(!0),gt=Ge(),hn=gt[1];Qs.isTouch&&"hold"===gt[0]&&hn&&(Ye=hn),Ye?i=setTimeout(function(){v.show()},Ye):v.show()}function $u(ne){if(v.clearDelayTimeouts(),be("onUntrigger",[v,ne]),v.state.isVisible){if(!(v.props.trigger.indexOf("mouseenter")>=0&&v.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(ne.type)>=0&&s)){var Ye=de(!1);Ye?r=setTimeout(function(){v.state.isVisible&&v.hide()},Ye):o=requestAnimationFrame(function(){v.hide()})}}else ao()}}function Ll(n,t){void 0===t&&(t={});var e=no.plugins.concat(t.plugins||[]);!function Qoe(){document.addEventListener("touchstart",qoe,Nl),window.addEventListener("blur",Koe)}();var i=Object.assign({},t,{plugins:e}),a=function Goe(n){return Ib(n)?[n]:function Woe(n){return KM(n,"NodeList")}(n)?Rh(n):Array.isArray(n)?n:Rh(document.querySelectorAll(n))}(n).reduce(function(l,c){var u=c&&ase(c,i);return u&&l.push(u),l},[]);return Ib(n)?a[0]:a}Ll.defaultProps=no,Ll.setDefaultProps=function(t){Object.keys(t).forEach(function(i){no[i]=t[i]})},Ll.currentInput=Qs,Object.assign({},_3,{effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow)}}),Ll.setDefaultProps({render:Q3});const ys=Ll,qo=function(n){for(var t=0;;t++)if(!(n=n.previousSibling))return t},rg=function(n){let t=n.assignedSlot||n.parentNode;return t&&11==t.nodeType?t.host:t};let X3=null;const $a=function(n,t,e){let i=X3||(X3=document.createRange());return i.setEnd(n,e??n.nodeValue.length),i.setStart(n,t||0),i},cu=function(n,t,e,i){return e&&(e4(n,t,e,i,-1)||e4(n,t,e,i,1))},mse=/^(img|br|input|textarea|hr)$/i;function e4(n,t,e,i,r){for(;;){if(n==e&&t==i)return!0;if(t==(r<0?0:Zs(n))){let o=n.parentNode;if(!o||1!=o.nodeType||yse(n)||mse.test(n.nodeName)||"false"==n.contentEditable)return!1;t=qo(n)+(r<0?0:1),n=o}else{if(1!=n.nodeType)return!1;if("false"==(n=n.childNodes[t+(r<0?-1:0)]).contentEditable)return!1;t=r<0?Zs(n):0}}}function Zs(n){return 3==n.nodeType?n.nodeValue.length:n.childNodes.length}function yse(n){let t;for(let e=n;e&&!(t=e.pmViewDesc);e=e.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==n||t.contentDOM==n)}const Pb=function(n){return n.focusNode&&cu(n.focusNode,n.focusOffset,n.anchorNode,n.anchorOffset)};function uu(n,t){let e=document.createEvent("Event");return e.initEvent("keydown",!0,!0),e.keyCode=n,e.key=e.code=t,e}const Js=typeof navigator<"u"?navigator:null,t4=typeof document<"u"?document:null,Rl=Js&&Js.userAgent||"",nS=/Edge\/(\d+)/.exec(Rl),n4=/MSIE \d/.exec(Rl),iS=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Rl),io=!!(n4||iS||nS),Fl=n4?document.documentMode:iS?+iS[1]:nS?+nS[1]:0,_s=!io&&/gecko\/(\d+)/i.test(Rl);_s&&/Firefox\/(\d+)/.exec(Rl);const rS=!io&&/Chrome\/(\d+)/.exec(Rl),pr=!!rS,bse=rS?+rS[1]:0,Ar=!io&&!!Js&&/Apple Computer/.test(Js.vendor),Fh=Ar&&(/Mobile\/\w+/.test(Rl)||!!Js&&Js.maxTouchPoints>2),Ko=Fh||!!Js&&/Mac/.test(Js.platform),Cse=!!Js&&/Win/.test(Js.platform),vs=/Android \d/.test(Rl),Lb=!!t4&&"webkitFontSmoothing"in t4.documentElement.style,wse=Lb?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function Tse(n){return{left:0,right:n.documentElement.clientWidth,top:0,bottom:n.documentElement.clientHeight}}function jl(n,t){return"number"==typeof n?n:n[t]}function Dse(n){let t=n.getBoundingClientRect();return{left:t.left,right:t.left+n.clientWidth*(t.width/n.offsetWidth||1),top:t.top,bottom:t.top+n.clientHeight*(t.height/n.offsetHeight||1)}}function r4(n,t,e){let i=n.someProp("scrollThreshold")||0,r=n.someProp("scrollMargin")||5,o=n.dom.ownerDocument;for(let s=e||n.dom;s;s=rg(s)){if(1!=s.nodeType)continue;let a=s,l=a==o.body,c=l?Tse(o):Dse(a),u=0,d=0;if(t.topc.bottom-jl(i,"bottom")&&(d=t.bottom-c.bottom+jl(r,"bottom")),t.leftc.right-jl(i,"right")&&(u=t.right-c.right+jl(r,"right")),u||d)if(l)o.defaultView.scrollBy(u,d);else{let h=a.scrollLeft,f=a.scrollTop;d&&(a.scrollTop+=d),u&&(a.scrollLeft+=u);let p=a.scrollLeft-h,m=a.scrollTop-f;t={left:t.left-p,top:t.top-m,right:t.right-p,bottom:t.bottom-m}}if(l)break}}function o4(n){let t=[],e=n.ownerDocument;for(let i=n;i&&(t.push({dom:i,top:i.scrollTop,left:i.scrollLeft}),n!=e);i=rg(i));return t}function s4(n,t){for(let e=0;e=a){s=Math.max(p.bottom,s),a=Math.min(p.top,a);let m=p.left>t.left?p.left-t.left:p.right=(p.left+p.right)/2?1:0));continue}}else p.top>t.top&&!l&&p.left<=t.left&&p.right>=t.left&&(l=u,c={left:Math.max(p.left,Math.min(p.right,t.left)),top:p.top});!e&&(t.left>=p.right&&t.top>=p.top||t.left>=p.left&&t.top>=p.bottom)&&(o=d+1)}}return!e&&l&&(e=l,r=c,i=0),e&&3==e.nodeType?function xse(n,t){let e=n.nodeValue.length,i=document.createRange();for(let r=0;r=(o.left+o.right)/2?1:0)}}return{node:n,offset:0}}(e,r):!e||i&&1==e.nodeType?{node:n,offset:o}:a4(e,r)}function oS(n,t){return n.left>=t.left-1&&n.left<=t.right+1&&n.top>=t.top-1&&n.top<=t.bottom+1}function l4(n,t,e){let i=n.childNodes.length;if(i&&e.topt.top&&r++}i==n.dom&&r==i.childNodes.length-1&&1==i.lastChild.nodeType&&t.top>i.lastChild.getBoundingClientRect().bottom?a=n.state.doc.content.size:(0==r||1!=i.nodeType||"BR"!=i.childNodes[r-1].nodeName)&&(a=function Ase(n,t,e,i){let r=-1;for(let o=t,s=!1;o!=n.dom;){let a=n.docView.nearestDesc(o,!0);if(!a)return null;if(1==a.dom.nodeType&&(a.node.isBlock&&a.parent&&!s||!a.contentDOM)){let l=a.dom.getBoundingClientRect();if(a.node.isBlock&&a.parent&&!s&&(s=!0,l.left>i.left||l.top>i.top?r=a.posBefore:(l.right-1?r:n.docView.posFromDOM(t,e,-1)}(n,i,r,t))}null==a&&(a=function Ose(n,t,e){let{node:i,offset:r}=a4(t,e),o=-1;if(1==i.nodeType&&!i.firstChild){let s=i.getBoundingClientRect();o=s.left!=s.right&&e.left>(s.left+s.right)/2?1:-1}return n.docView.posFromDOM(i,r,o)}(n,s,t));let l=n.docView.nearestDesc(s,!0);return{pos:a,inside:l?l.posAtStart-l.border:-1}}function c4(n){return n.top=0&&r==i.nodeValue.length?(l--,u=1):e<0?l--:c++,og(zl($a(i,l,c),u),u<0)}{let l=zl($a(i,r,r),e);if(_s&&r&&/\s/.test(i.nodeValue[r-1])&&r=0)}if(null==o&&r&&(e<0||r==Zs(i))){let l=i.childNodes[r-1],c=3==l.nodeType?$a(l,Zs(l)-(s?0:1)):1!=l.nodeType||"BR"==l.nodeName&&l.nextSibling?null:l;if(c)return og(zl(c,1),!1)}if(null==o&&r=0)}function og(n,t){if(0==n.width)return n;let e=t?n.left:n.right;return{top:n.top,bottom:n.bottom,left:e,right:e}}function sS(n,t){if(0==n.height)return n;let e=t?n.top:n.bottom;return{top:e,bottom:e,left:n.left,right:n.right}}function d4(n,t,e){let i=n.state,r=n.root.activeElement;i!=t&&n.updateState(t),r!=n.dom&&n.focus();try{return e()}finally{i!=t&&n.updateState(i),r!=n.dom&&r&&r.focus()}}const Lse=/[\u0590-\u08ac]/;let h4=null,f4=null,p4=!1;class sg{constructor(t,e,i,r){this.parent=t,this.children=e,this.dom=i,this.contentDOM=r,this.dirty=0,i.pmViewDesc=this}matchesWidget(t){return!1}matchesMark(t){return!1}matchesNode(t,e,i){return!1}matchesHack(t){return!1}parseRule(){return null}stopEvent(t){return!1}get size(){let t=0;for(let e=0;eqo(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))r=2&t.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==e)for(let o=t;;o=o.parentNode){if(o==this.dom){r=!1;break}if(o.previousSibling)break}if(null==r&&e==t.childNodes.length)for(let o=t;;o=o.parentNode){if(o==this.dom){r=!0;break}if(o.nextSibling)break}}return r??i>0?this.posAtEnd:this.posAtStart}nearestDesc(t,e=!1){for(let i=!0,r=t;r;r=r.parentNode){let s,o=this.getDesc(r);if(o&&(!e||o.node)){if(!i||!(s=o.nodeDOM)||(1==s.nodeType?s.contains(1==t.nodeType?t:t.parentNode):s==t))return o;i=!1}}}getDesc(t){let e=t.pmViewDesc;for(let i=e;i;i=i.parent)if(i==this)return e}posFromDOM(t,e,i){for(let r=t;r;r=r.parentNode){let o=this.getDesc(r);if(o)return o.localPosFromDOM(t,e,i)}return-1}descAt(t){for(let e=0,i=0;et||s instanceof _4){r=t-o;break}o=a}if(r)return this.children[i].domFromPos(r-this.children[i].border,e);for(;i&&!(o=this.children[i-1]).size&&o instanceof g4&&o.side>=0;i--);if(e<=0){let o,s=!0;for(;o=i?this.children[i-1]:null,o&&o.dom.parentNode!=this.contentDOM;i--,s=!1);return o&&e&&s&&!o.border&&!o.domAtom?o.domFromPos(o.size,e):{node:this.contentDOM,offset:o?qo(o.dom)+1:0}}{let o,s=!0;for(;o=i=u&&e<=c-l.border&&l.node&&l.contentDOM&&this.contentDOM.contains(l.contentDOM))return l.parseRange(t,e,u);t=s;for(let d=a;d>0;d--){let h=this.children[d-1];if(h.size&&h.dom.parentNode==this.contentDOM&&!h.emptyChildAt(1)){r=qo(h.dom)+1;break}t-=h.size}-1==r&&(r=0)}if(r>-1&&(c>e||a==this.children.length-1)){e=c;for(let u=a+1;uf&&se){let f=a;a=l,l=f}let h=document.createRange();h.setEnd(l.node,l.offset),h.setStart(a.node,a.offset),c.removeAllRanges(),c.addRange(h)}}ignoreMutation(t){return!this.contentDOM&&"selection"!=t.type}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(t,e){for(let i=0,r=0;r=i:ti){let a=i+o.border,l=s-o.border;if(t>=a&&e<=l)return this.dirty=t==i||e==s?2:1,void(t!=a||e!=l||!o.contentLost&&o.dom.parentNode==this.contentDOM?o.markDirty(t-a,e-a):o.dirty=3);o.dirty=o.dom!=o.contentDOM||o.dom.parentNode!=this.contentDOM||o.children.length?3:2}i=s}this.dirty=2}markParentsDirty(){let t=1;for(let e=this.parent;e;e=e.parent,t++){let i=1==t?2:1;e.dirtyo?o.parent?o.parent.posBeforeChild(o):void 0:r)),!e.type.spec.raw){if(1!=s.nodeType){let a=document.createElement("span");a.appendChild(s),s=a}s.contentEditable="false",s.classList.add("ProseMirror-widget")}super(t,[],s,null),this.widget=e,this.widget=e,o=this}matchesWidget(t){return 0==this.dirty&&t.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(t){let e=this.widget.spec.stopEvent;return!!e&&e(t)}ignoreMutation(t){return"selection"!=t.type||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class jse extends sg{constructor(t,e,i,r){super(t,[],e,null),this.textDOM=i,this.text=r}get size(){return this.text.length}localPosFromDOM(t,e){return t!=this.textDOM?this.posAtStart+(e?this.size:0):this.posAtStart+e}domFromPos(t){return{node:this.textDOM,offset:t}}ignoreMutation(t){return"characterData"===t.type&&t.target.nodeValue==t.oldValue}}class hu extends sg{constructor(t,e,i,r){super(t,[],i,r),this.mark=e}static create(t,e,i,r){let o=r.nodeViews[e.type.name],s=o&&o(e,r,i);return(!s||!s.dom)&&(s=Gs.renderSpec(document,e.type.spec.toDOM(e,i))),new hu(t,e,s.dom,s.contentDOM||s.dom)}parseRule(){return 3&this.dirty||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM||void 0}}matchesMark(t){return 3!=this.dirty&&this.mark.eq(t)}markDirty(t,e){if(super.markDirty(t,e),0!=this.dirty){let i=this.parent;for(;!i.node;)i=i.parent;i.dirty0&&(o=cS(o,0,t,i));for(let a=0;al?l.parent?l.parent.posBeforeChild(l):void 0:s,i,r),u=c&&c.dom,d=c&&c.contentDOM;if(e.isText)if(u){if(3!=u.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else u=document.createTextNode(e.text);else u||({dom:u,contentDOM:d}=Gs.renderSpec(document,e.type.spec.toDOM(e)));!d&&!e.isText&&"BR"!=u.nodeName&&(u.hasAttribute("contenteditable")||(u.contentEditable="false"),e.type.spec.draggable&&(u.draggable=!0));let h=u;return u=C4(u,i,e),c?l=new zse(t,e,i,r,u,d||null,h,c,o,s+1):e.isText?new Rb(t,e,i,r,u,h,o):new Vl(t,e,i,r,u,d||null,h,o,s+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let t={node:this.node.type.name,attrs:this.node.attrs};if("pre"==this.node.type.whitespace&&(t.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(let e=this.children.length-1;e>=0;e--){let i=this.children[e];if(this.dom.contains(i.dom.parentNode)){t.contentElement=i.dom.parentNode;break}}t.contentElement||(t.getContent=()=>he.empty)}else t.contentElement=this.contentDOM;else t.getContent=()=>this.node.content;return t}matchesNode(t,e,i){return 0==this.dirty&&t.eq(this.node)&&lS(e,this.outerDeco)&&i.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(t,e){let i=this.node.inlineContent,r=e,o=t.composing?this.localCompositionInfo(t,e):null,s=o&&o.pos>-1?o:null,a=o&&o.pos<0,l=new Bse(this,s&&s.node,t);(function $se(n,t,e,i){let r=t.locals(n),o=0;if(0==r.length){for(let c=0;co;)a.push(r[s++]);let h=o+u.nodeSize;if(u.isText){let p=h;s!p.inline):a.slice(),t.forChild(o,u),d),o=h}})(this.node,this.innerDeco,(c,u,d)=>{c.spec.marks?l.syncToMarks(c.spec.marks,i,t):c.type.side>=0&&!d&&l.syncToMarks(u==this.node.childCount?Pn.none:this.node.child(u).marks,i,t),l.placeWidget(c,t,r)},(c,u,d,h)=>{let f;l.syncToMarks(c.marks,i,t),l.findNodeMatch(c,u,d,h)||a&&t.state.selection.from>r&&t.state.selection.to-1&&l.updateNodeAt(c,u,d,f,t)||l.updateNextNode(c,u,d,t,h,r)||l.addNode(c,u,d,t,r),r+=c.nodeSize}),l.syncToMarks([],i,t),this.node.isTextblock&&l.addTextblockHacks(),l.destroyRest(),(l.changed||2==this.dirty)&&(s&&this.protectLocalComposition(t,s),v4(this.contentDOM,this.children,t),Fh&&function Wse(n){if("UL"==n.nodeName||"OL"==n.nodeName){let t=n.style.cssText;n.style.cssText=t+"; list-style: square !important",window.getComputedStyle(n),n.style.cssText=t}}(this.dom))}localCompositionInfo(t,e){let{from:i,to:r}=t.state.selection;if(!(t.state.selection instanceof at)||ie+this.node.content.size)return null;let o=t.domSelectionRange(),s=function Gse(n,t){for(;;){if(3==n.nodeType)return n;if(1==n.nodeType&&t>0){if(n.childNodes.length>t&&3==n.childNodes[t].nodeType)return n.childNodes[t];t=Zs(n=n.childNodes[t-1])}else{if(!(1==n.nodeType&&t=e){let c=a=0&&c+t.length+a>=e)return a+c;if(e==i&&l.length>=i+t.length-a&&l.slice(i-a,i-a+t.length)==t)return i}}return-1}(this.node.content,a,i-e,r-e);return l<0?null:{node:s,pos:l,text:a}}return{node:s,pos:-1,text:""}}protectLocalComposition(t,{node:e,pos:i,text:r}){if(this.getDesc(e))return;let o=e;for(;o.parentNode!=this.contentDOM;o=o.parentNode){for(;o.previousSibling;)o.parentNode.removeChild(o.previousSibling);for(;o.nextSibling;)o.parentNode.removeChild(o.nextSibling);o.pmViewDesc&&(o.pmViewDesc=void 0)}let s=new jse(this,o,e,r);t.input.compositionNodes.push(s),this.children=cS(this.children,i,i+r.length,t,s)}update(t,e,i,r){return!(3==this.dirty||!t.sameMarkup(this.node)||(this.updateInner(t,e,i,r),0))}updateInner(t,e,i,r){this.updateOuterDeco(e),this.node=t,this.innerDeco=i,this.contentDOM&&this.updateChildren(r,this.posAtStart),this.dirty=0}updateOuterDeco(t){if(lS(t,this.outerDeco))return;let e=1!=this.nodeDOM.nodeType,i=this.dom;this.dom=b4(this.dom,this.nodeDOM,aS(this.outerDeco,this.node,e),aS(t,this.node,e)),this.dom!=i&&(i.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=t}selectNode(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable")}get domAtom(){return this.node.isAtom}}function y4(n,t,e,i,r){C4(i,t,n);let o=new Vl(void 0,n,t,e,i,i,i,r,0);return o.contentDOM&&o.updateChildren(r,0),o}class Rb extends Vl{constructor(t,e,i,r,o,s,a){super(t,e,i,r,o,null,s,a,0)}parseRule(){let t=this.nodeDOM.parentNode;for(;t&&t!=this.dom&&!t.pmIsDeco;)t=t.parentNode;return{skip:t||!0}}update(t,e,i,r){return!(3==this.dirty||0!=this.dirty&&!this.inParent()||!t.sameMarkup(this.node)||(this.updateOuterDeco(e),(0!=this.dirty||t.text!=this.node.text)&&t.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=t.text,r.trackWrites==this.nodeDOM&&(r.trackWrites=null)),this.node=t,this.dirty=0,0))}inParent(){let t=this.parent.contentDOM;for(let e=this.nodeDOM;e;e=e.parentNode)if(e==t)return!0;return!1}domFromPos(t){return{node:this.nodeDOM,offset:t}}localPosFromDOM(t,e,i){return t==this.nodeDOM?this.posAtStart+Math.min(e,this.node.text.length):super.localPosFromDOM(t,e,i)}ignoreMutation(t){return"characterData"!=t.type&&"selection"!=t.type}slice(t,e,i){let r=this.node.cut(t,e),o=document.createTextNode(r.text);return new Rb(this.parent,r,this.outerDeco,this.innerDeco,o,o,i)}markDirty(t,e){super.markDirty(t,e),this.dom!=this.nodeDOM&&(0==t||e==this.nodeDOM.nodeValue.length)&&(this.dirty=3)}get domAtom(){return!1}}class _4 extends sg{parseRule(){return{ignore:!0}}matchesHack(t){return 0==this.dirty&&this.dom.nodeName==t}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}}class zse extends Vl{constructor(t,e,i,r,o,s,a,l,c,u){super(t,e,i,r,o,s,a,c,u),this.spec=l}update(t,e,i,r){if(3==this.dirty)return!1;if(this.spec.update){let o=this.spec.update(t,e,i);return o&&this.updateInner(t,e,i,r),o}return!(!this.contentDOM&&!t.isLeaf)&&super.update(t,e,i,r)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(t,e,i,r){this.spec.setSelection?this.spec.setSelection(t,e,i):super.setSelection(t,e,i,r)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(t){return!!this.spec.stopEvent&&this.spec.stopEvent(t)}ignoreMutation(t){return this.spec.ignoreMutation?this.spec.ignoreMutation(t):super.ignoreMutation(t)}}function v4(n,t,e){let i=n.firstChild,r=!1;for(let o=0;o0;){let a;for(;;)if(i){let c=e.children[i-1];if(!(c instanceof hu)){a=c,i--;break}e=c,i=c.children.length}else{if(e==t)break e;i=e.parent.children.indexOf(e),e=e.parent}let l=a.node;if(l){if(l!=n.child(r-1))break;--r,o.set(a,r),s.push(a)}}return{index:r,matched:o,matches:s.reverse()}}(t.node.content,t)}destroyBetween(t,e){if(t!=e){for(let i=t;i>1,s=Math.min(o,t.length);for(;r-1)a>this.index&&(this.changed=!0,this.destroyBetween(this.index,a)),this.top=this.top.children[this.index];else{let l=hu.create(this.top,t[o],e,i);this.top.children.splice(this.index,0,l),this.top=l,this.changed=!0}this.index=0,o++}}findNodeMatch(t,e,i,r){let s,o=-1;if(r>=this.preMatch.index&&(s=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&&s.matchesNode(t,e,i))o=this.top.children.indexOf(s,this.index);else for(let a=this.index,l=Math.min(this.top.children.length,a+5);a=e||u<=t?o.push(l):(ce&&o.push(l.slice(e-c,l.size,i)))}return o}function uS(n,t=null){let e=n.domSelectionRange(),i=n.state.doc;if(!e.focusNode)return null;let r=n.docView.nearestDesc(e.focusNode),o=r&&0==r.size,s=n.docView.posFromDOM(e.focusNode,e.focusOffset,1);if(s<0)return null;let l,c,a=i.resolve(s);if(Pb(e)){for(l=a;r&&!r.node;)r=r.parent;let u=r.node;if(r&&u.isAtom&&Qe.isSelectable(u)&&r.parent&&(!u.isInline||!function gse(n,t,e){for(let i=0==t,r=t==Zs(n);i||r;){if(n==e)return!0;let o=qo(n);if(!(n=n.parentNode))return!1;i=i&&0==o,r=r&&o==Zs(n)}}(e.focusNode,e.focusOffset,r.dom))){let d=r.posBefore;c=new Qe(s==d?a:i.resolve(d))}}else{let u=n.docView.posFromDOM(e.anchorNode,e.anchorOffset,1);if(u<0)return null;l=i.resolve(u)}return c||(c=hS(n,l,a,"pointer"==t||n.state.selection.head{(e.anchorNode!=i||e.anchorOffset!=r)&&(t.removeEventListener("selectionchange",n.input.hideSelectionGuard),setTimeout(()=>{(!T4(n)||n.state.selection.visible)&&n.dom.classList.remove("ProseMirror-hideselection")},20))})}(n))}n.domObserver.setCurSelection(),n.domObserver.connectSelection()}}const D4=Ar||pr&&bse<63;function M4(n,t){let{node:e,offset:i}=n.docView.domFromPos(t,0),r=ir(n,t,e))||at.between(t,e,i)}function I4(n){return!(n.editable&&!n.hasFocus())&&O4(n)}function O4(n){let t=n.domSelectionRange();if(!t.anchorNode)return!1;try{return n.dom.contains(3==t.anchorNode.nodeType?t.anchorNode.parentNode:t.anchorNode)&&(n.editable||n.dom.contains(3==t.focusNode.nodeType?t.focusNode.parentNode:t.focusNode))}catch{return!1}}function fS(n,t){let{$anchor:e,$head:i}=n.selection,r=t>0?e.max(i):e.min(i),o=r.parent.inlineContent?r.depth?n.doc.resolve(t>0?r.after():r.before()):null:r;return o&&ct.findFrom(o,t)}function pu(n,t){return n.dispatch(n.state.tr.setSelection(t).scrollIntoView()),!0}function A4(n,t,e){let i=n.state.selection;if(!(i instanceof at)){if(i instanceof Qe&&i.node.isInline)return pu(n,new at(t>0?i.$to:i.$from));{let r=fS(n.state,t);return!!r&&pu(n,r)}}if(!i.empty||e.indexOf("s")>-1)return!1;if(n.endOfTextblock(t>0?"forward":"backward")){let r=fS(n.state,t);return!!(r&&r instanceof Qe)&&pu(n,r)}if(!(Ko&&e.indexOf("m")>-1)){let s,r=i.$head,o=r.textOffset?null:t<0?r.nodeBefore:r.nodeAfter;if(!o||o.isText)return!1;let a=t<0?r.pos-o.nodeSize:r.pos;return!!(o.isAtom||(s=n.docView.descAt(a))&&!s.contentDOM)&&(Qe.isSelectable(o)?pu(n,new Qe(t<0?n.state.doc.resolve(r.pos-o.nodeSize):r)):!!Lb&&pu(n,new at(n.state.doc.resolve(t<0?a:a+o.nodeSize))))}}function Fb(n){return 3==n.nodeType?n.nodeValue.length:n.childNodes.length}function lg(n){let t=n.pmViewDesc;return t&&0==t.size&&(n.nextSibling||"BR"!=n.nodeName)}function cg(n,t){return t<0?function Zse(n){let t=n.domSelectionRange(),e=t.focusNode,i=t.focusOffset;if(!e)return;let r,o,s=!1;for(_s&&1==e.nodeType&&i0){if(1!=e.nodeType)break;{let a=e.childNodes[i-1];if(lg(a))r=e,o=--i;else{if(3!=a.nodeType)break;e=a,i=e.nodeValue.length}}}else{if(N4(e))break;{let a=e.previousSibling;for(;a&&lg(a);)r=e.parentNode,o=qo(a),a=a.previousSibling;if(a)e=a,i=Fb(e);else{if(e=e.parentNode,e==n.dom)break;i=0}}}s?pS(n,e,i):r&&pS(n,r,o)}(n):k4(n)}function k4(n){let t=n.domSelectionRange(),e=t.focusNode,i=t.focusOffset;if(!e)return;let o,s,r=Fb(e);for(;;)if(i{n.state==r&&Wa(n)},50)}function P4(n,t){let e=n.state.doc.resolve(t);if(!pr&&!Cse&&e.parent.inlineContent){let r=n.coordsAtPos(t);if(t>e.start()){let o=n.coordsAtPos(t-1),s=(o.top+o.bottom)/2;if(s>r.top&&s1)return o.leftr.top&&s1)return o.left>r.left?"ltr":"rtl"}}return"rtl"==getComputedStyle(n.dom).direction?"rtl":"ltr"}function L4(n,t,e){let i=n.state.selection;if(i instanceof at&&!i.empty||e.indexOf("s")>-1||Ko&&e.indexOf("m")>-1)return!1;let{$from:r,$to:o}=i;if(!r.parent.inlineContent||n.endOfTextblock(t<0?"up":"down")){let s=fS(n.state,t);if(s&&s instanceof Qe)return pu(n,s)}if(!r.parent.inlineContent){let s=t<0?r:o,a=i instanceof So?ct.near(s,t):ct.findFrom(s,t);return!!a&&pu(n,a)}return!1}function R4(n,t){if(!(n.state.selection instanceof at))return!0;let{$head:e,$anchor:i,empty:r}=n.state.selection;if(!e.sameParent(i))return!0;if(!r)return!1;if(n.endOfTextblock(t>0?"forward":"backward"))return!0;let o=!e.textOffset&&(t<0?e.nodeBefore:e.nodeAfter);if(o&&!o.isText){let s=n.state.tr;return t<0?s.delete(e.pos-o.nodeSize,e.pos):s.delete(e.pos,e.pos+o.nodeSize),n.dispatch(s),!0}return!1}function F4(n,t,e){n.domObserver.stop(),t.contentEditable=e,n.domObserver.start()}function j4(n,t){n.someProp("transformCopied",f=>{t=f(t,n)});let e=[],{content:i,openStart:r,openEnd:o}=t;for(;r>1&&o>1&&1==i.childCount&&1==i.firstChild.childCount;){r--,o--;let f=i.firstChild;e.push(f.type.name,f.attrs!=f.type.defaultAttrs?f.attrs:null),i=f.content}let s=n.someProp("clipboardSerializer")||Gs.fromSchema(n.state.schema),a=G4(),l=a.createElement("div");l.appendChild(s.serializeFragment(i,{document:a}));let u,c=l.firstChild,d=0;for(;c&&1==c.nodeType&&(u=$4[c.nodeName.toLowerCase()]);){for(let f=u.length-1;f>=0;f--){let p=a.createElement(u[f]);for(;l.firstChild;)p.appendChild(l.firstChild);l.appendChild(p),d++}c=l.firstChild}return c&&1==c.nodeType&&c.setAttribute("data-pm-slice",`${r} ${o}${d?` -${d}`:""} ${JSON.stringify(e)}`),{dom:l,text:n.someProp("clipboardTextSerializer",f=>f(t,n))||t.content.textBetween(0,t.content.size,"\n\n")}}function z4(n,t,e,i,r){let s,a,o=r.parent.type.spec.code;if(!e&&!t)return null;let l=t&&(i||o||!e);if(l){if(n.someProp("transformPastedText",h=>{t=h(t,o||i,n)}),o)return t?new Te(he.from(n.state.schema.text(t.replace(/\r\n?/g,"\n"))),0,0):Te.empty;let d=n.someProp("clipboardTextParser",h=>h(t,r,i,n));if(d)a=d;else{let h=r.marks(),{schema:f}=n.state,p=Gs.fromSchema(f);s=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach(m=>{let g=s.appendChild(document.createElement("p"));m&&g.appendChild(p.serializeNode(f.text(m,h)))})}}else n.someProp("transformPastedHTML",d=>{e=d(e,n)}),s=function iae(n){let t=/^(\s*]*>)*/.exec(n);t&&(n=n.slice(t[0].length));let r,e=G4().createElement("div"),i=/<([a-z][^>\s]+)/i.exec(n);if((r=i&&$4[i[1].toLowerCase()])&&(n=r.map(o=>"<"+o+">").join("")+n+r.map(o=>"").reverse().join("")),e.innerHTML=n,r)for(let o=0;o0;d--){let h=s.firstChild;for(;h&&1!=h.nodeType;)h=h.nextSibling;if(!h)break;s=h}if(a||(a=(n.someProp("clipboardParser")||n.someProp("domParser")||Dh.fromSchema(n.state.schema)).parseSlice(s,{preserveWhitespace:!(!l&&!u),context:r,ruleFromNode:h=>"BR"!=h.nodeName||h.nextSibling||!h.parentNode||tae.test(h.parentNode.nodeName)?null:{ignore:!0}})),u)a=function oae(n,t){if(!n.size)return n;let i,e=n.content.firstChild.type.schema;try{i=JSON.parse(t)}catch{return n}let{content:r,openStart:o,openEnd:s}=n;for(let a=i.length-2;a>=0;a-=2){let l=e.nodes[i[a]];if(!l||l.hasRequiredAttrs())break;r=he.from(l.create(i[a+1],r)),o++,s++}return new Te(r,o,s)}(H4(a,+u[1],+u[2]),u[4]);else if(a=Te.maxOpen(function nae(n,t){if(n.childCount<2)return n;for(let e=t.depth;e>=0;e--){let o,r=t.node(e).contentMatchAt(t.index(e)),s=[];if(n.forEach(a=>{if(!s)return;let c,l=r.findWrapping(a.type);if(!l)return s=null;if(c=s.length&&o.length&&B4(l,o,a,s[s.length-1],0))s[s.length-1]=c;else{s.length&&(s[s.length-1]=U4(s[s.length-1],o.length));let u=V4(a,l);s.push(u),r=r.matchType(u.type),o=l}}),s)return he.from(s)}return n}(a.content,r),!0),a.openStart||a.openEnd){let d=0,h=0;for(let f=a.content.firstChild;d{a=d(a,n)}),a}const tae=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function V4(n,t,e=0){for(let i=t.length-1;i>=e;i--)n=t[i].create(null,he.from(n));return n}function B4(n,t,e,i,r){if(r1&&(o=0),r=e&&(a=t<0?s.contentMatchAt(0).fillBefore(a,o<=r).append(a):a.append(s.contentMatchAt(s.childCount).fillBefore(he.empty,!0))),n.replaceChild(t<0?0:n.childCount-1,s.copy(a))}function H4(n,t,e){return t{for(let e in t)n.input.eventHandlers[e]||n.dom.addEventListener(e,n.input.eventHandlers[e]=i=>yS(n,i))})}function yS(n,t){return n.someProp("handleDOMEvents",e=>{let i=e[t.type];return!!i&&(i(n,t)||t.defaultPrevented)})}function uae(n,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let e=t.target;e!=n.dom;e=e.parentNode)if(!e||11==e.nodeType||e.pmViewDesc&&e.pmViewDesc.stopEvent(t))return!1;return!0}function jb(n){return{left:n.clientX,top:n.clientY}}function _S(n,t,e,i,r){if(-1==i)return!1;let o=n.state.doc.resolve(i);for(let s=o.depth+1;s>0;s--)if(n.someProp(t,a=>s>o.depth?a(n,e,o.nodeAfter,o.before(s),r,!0):a(n,e,o.node(s),o.before(s),r,!1)))return!0;return!1}function zh(n,t,e){n.focused||n.focus();let i=n.state.tr.setSelection(t);"pointer"==e&&i.setMeta("pointer",!0),n.dispatch(i)}function gae(n,t,e,i){return _S(n,"handleDoubleClickOn",t,e,i)||n.someProp("handleDoubleClick",r=>r(n,t,i))}function yae(n,t,e,i){return _S(n,"handleTripleClickOn",t,e,i)||n.someProp("handleTripleClick",r=>r(n,t,i))||function _ae(n,t,e){if(0!=e.button)return!1;let i=n.state.doc;if(-1==t)return!!i.inlineContent&&(zh(n,at.create(i,0,i.content.size),"pointer"),!0);let r=i.resolve(t);for(let o=r.depth+1;o>0;o--){let s=o>r.depth?r.nodeAfter:r.node(o),a=r.before(o);if(s.inlineContent)zh(n,at.create(i,a+1,a+1+s.content.size),"pointer");else{if(!Qe.isSelectable(s))continue;zh(n,Qe.create(i,a),"pointer")}return!0}}(n,e,i)}function vS(n){return zb(n)}Nr.keydown=(n,t)=>{let e=t;if(n.input.shiftKey=16==e.keyCode||e.shiftKey,!q4(n,e)&&(n.input.lastKeyCode=e.keyCode,n.input.lastKeyCodeTime=Date.now(),!vs||!pr||13!=e.keyCode))if(229!=e.keyCode&&n.domObserver.forceFlush(),!Fh||13!=e.keyCode||e.ctrlKey||e.altKey||e.metaKey)n.someProp("handleKeyDown",i=>i(n,e))||function eae(n,t){let e=t.keyCode,i=function Xse(n){let t="";return n.ctrlKey&&(t+="c"),n.metaKey&&(t+="m"),n.altKey&&(t+="a"),n.shiftKey&&(t+="s"),t}(t);if(8==e||Ko&&72==e&&"c"==i)return R4(n,-1)||cg(n,-1);if(46==e||Ko&&68==e&&"c"==i)return R4(n,1)||cg(n,1);if(13==e||27==e)return!0;if(37==e||Ko&&66==e&&"c"==i){let r=37==e?"ltr"==P4(n,n.state.selection.from)?-1:1:-1;return A4(n,r,i)||cg(n,r)}if(39==e||Ko&&70==e&&"c"==i){let r=39==e?"ltr"==P4(n,n.state.selection.from)?1:-1:1;return A4(n,r,i)||cg(n,r)}return 38==e||Ko&&80==e&&"c"==i?L4(n,-1,i)||cg(n,-1):40==e||Ko&&78==e&&"c"==i?function Jse(n){if(!Ar||n.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:e}=n.domSelectionRange();if(t&&1==t.nodeType&&0==e&&t.firstChild&&"false"==t.firstChild.contentEditable){let i=t.firstChild;F4(n,i,"true"),setTimeout(()=>F4(n,i,"false"),20)}return!1}(n)||L4(n,1,i)||k4(n):i==(Ko?"m":"c")&&(66==e||73==e||89==e||90==e)}(n,e)?e.preventDefault():Bl(n,"key");else{let i=Date.now();n.input.lastIOSEnter=i,n.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{n.input.lastIOSEnter==i&&(n.someProp("handleKeyDown",r=>r(n,uu(13,"Enter"))),n.input.lastIOSEnter=0)},200)}},Nr.keyup=(n,t)=>{16==t.keyCode&&(n.input.shiftKey=!1)},Nr.keypress=(n,t)=>{let e=t;if(q4(n,e)||!e.charCode||e.ctrlKey&&!e.altKey||Ko&&e.metaKey)return;if(n.someProp("handleKeyPress",r=>r(n,e)))return void e.preventDefault();let i=n.state.selection;if(!(i instanceof at&&i.$from.sameParent(i.$to))){let r=String.fromCharCode(e.charCode);!/[\r\n]/.test(r)&&!n.someProp("handleTextInput",o=>o(n,i.$from.pos,i.$to.pos,r))&&n.dispatch(n.state.tr.insertText(r).scrollIntoView()),e.preventDefault()}};const Y4=Ko?"metaKey":"ctrlKey";kr.mousedown=(n,t)=>{let e=t;n.input.shiftKey=e.shiftKey;let i=vS(n),r=Date.now(),o="singleClick";r-n.input.lastClick.time<500&&function hae(n,t){let e=t.x-n.clientX,i=t.y-n.clientY;return e*e+i*i<100}(e,n.input.lastClick)&&!e[Y4]&&("singleClick"==n.input.lastClick.type?o="doubleClick":"doubleClick"==n.input.lastClick.type&&(o="tripleClick")),n.input.lastClick={time:r,x:e.clientX,y:e.clientY,type:o};let s=n.posAtCoords(jb(e));s&&("singleClick"==o?(n.input.mouseDown&&n.input.mouseDown.done(),n.input.mouseDown=new vae(n,s,e,!!i)):("doubleClick"==o?gae:yae)(n,s.pos,s.inside,e)?e.preventDefault():Bl(n,"pointer"))};class vae{constructor(t,e,i,r){let o,s;if(this.view=t,this.pos=e,this.event=i,this.flushed=r,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=t.state.doc,this.selectNode=!!i[Y4],this.allowDefault=i.shiftKey,e.inside>-1)o=t.state.doc.nodeAt(e.inside),s=e.inside;else{let u=t.state.doc.resolve(e.pos);o=u.parent,s=u.depth?u.before():0}const a=r?null:i.target,l=a?t.docView.nearestDesc(a,!0):null;this.target=l?l.dom:null;let{selection:c}=t.state;(0==i.button&&o.type.spec.draggable&&!1!==o.type.spec.selectable||c instanceof Qe&&c.from<=s&&c.to>s)&&(this.mightDrag={node:o,pos:s,addAttr:!(!this.target||this.target.draggable),setUneditable:!(!this.target||!_s||this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),t.root.addEventListener("mouseup",this.up=this.up.bind(this)),t.root.addEventListener("mousemove",this.move=this.move.bind(this)),Bl(t,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>Wa(this.view)),this.view.input.mouseDown=null}up(t){if(this.done(),!this.view.dom.contains(t.target))return;let e=this.pos;this.view.state.doc!=this.startDoc&&(e=this.view.posAtCoords(jb(t))),this.updateAllowDefault(t),this.allowDefault||!e?Bl(this.view,"pointer"):function mae(n,t,e,i,r){return _S(n,"handleClickOn",t,e,i)||n.someProp("handleClick",o=>o(n,t,i))||(r?function pae(n,t){if(-1==t)return!1;let i,r,e=n.state.selection;e instanceof Qe&&(i=e.node);let o=n.state.doc.resolve(t);for(let s=o.depth+1;s>0;s--){let a=s>o.depth?o.nodeAfter:o.node(s);if(Qe.isSelectable(a)){r=i&&e.$from.depth>0&&s>=e.$from.depth&&o.before(e.$from.depth+1)==e.$from.pos?o.before(e.$from.depth):o.before(s);break}}return null!=r&&(zh(n,Qe.create(n.state.doc,r),"pointer"),!0)}(n,e):function fae(n,t){if(-1==t)return!1;let e=n.state.doc.resolve(t),i=e.nodeAfter;return!!(i&&i.isAtom&&Qe.isSelectable(i))&&(zh(n,new Qe(e),"pointer"),!0)}(n,e))}(this.view,e.pos,e.inside,t,this.selectNode)?t.preventDefault():0==t.button&&(this.flushed||Ar&&this.mightDrag&&!this.mightDrag.node.isAtom||pr&&!this.view.state.selection.visible&&Math.min(Math.abs(e.pos-this.view.state.selection.from),Math.abs(e.pos-this.view.state.selection.to))<=2)?(zh(this.view,ct.near(this.view.state.doc.resolve(e.pos)),"pointer"),t.preventDefault()):Bl(this.view,"pointer")}move(t){this.updateAllowDefault(t),Bl(this.view,"pointer"),0==t.buttons&&this.done()}updateAllowDefault(t){!this.allowDefault&&(Math.abs(this.event.x-t.clientX)>4||Math.abs(this.event.y-t.clientY)>4)&&(this.allowDefault=!0)}}function q4(n,t){return!!n.composing||!!(Ar&&Math.abs(t.timeStamp-n.input.compositionEndedAt)<500)&&(n.input.compositionEndedAt=-2e8,!0)}kr.touchstart=n=>{n.input.lastTouch=Date.now(),vS(n),Bl(n,"pointer")},kr.touchmove=n=>{n.input.lastTouch=Date.now(),Bl(n,"pointer")},kr.contextmenu=n=>vS(n);const bae=vs?5e3:-1;function K4(n,t){clearTimeout(n.input.composingTimeout),t>-1&&(n.input.composingTimeout=setTimeout(()=>zb(n),t))}function Q4(n){for(n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=function Cae(){let n=document.createEvent("Event");return n.initEvent("event",!0,!0),n.timeStamp}());n.input.compositionNodes.length>0;)n.input.compositionNodes.pop().markParentsDirty()}function zb(n,t=!1){if(!(vs&&n.domObserver.flushingSoon>=0)){if(n.domObserver.forceFlush(),Q4(n),t||n.docView&&n.docView.dirty){let e=uS(n);return e&&!e.eq(n.state.selection)?n.dispatch(n.state.tr.setSelection(e)):n.updateState(n.state),!0}return!1}}Nr.compositionstart=Nr.compositionupdate=n=>{if(!n.composing){n.domObserver.flush();let{state:t}=n,e=t.selection.$from;if(t.selection.empty&&(t.storedMarks||!e.textOffset&&e.parentOffset&&e.nodeBefore.marks.some(i=>!1===i.type.spec.inclusive)))n.markCursor=n.state.storedMarks||e.marks(),zb(n,!0),n.markCursor=null;else if(zb(n),_s&&t.selection.empty&&e.parentOffset&&!e.textOffset&&e.nodeBefore.marks.length){let i=n.domSelectionRange();for(let r=i.focusNode,o=i.focusOffset;r&&1==r.nodeType&&0!=o;){let s=o<0?r.lastChild:r.childNodes[o-1];if(!s)break;if(3==s.nodeType){n.domSelection().collapse(s,s.nodeValue.length);break}r=s,o=-1}}n.input.composing=!0}K4(n,bae)},Nr.compositionend=(n,t)=>{n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=t.timeStamp,n.input.compositionID++,K4(n,20))};const Vh=io&&Fl<15||Fh&&wse<604;function ug(n,t,e,i,r){let o=z4(n,t,e,i,n.state.selection.$from);if(n.someProp("handlePaste",l=>l(n,r,o||Te.empty)))return!0;if(!o)return!1;let s=function Tae(n){return 0==n.openStart&&0==n.openEnd&&1==n.content.childCount?n.content.firstChild:null}(o),a=s?n.state.tr.replaceSelectionWith(s,n.input.shiftKey):n.state.tr.replaceSelection(o);return n.dispatch(a.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}kr.copy=Nr.cut=(n,t)=>{let e=t,i=n.state.selection,r="cut"==e.type;if(i.empty)return;let o=Vh?null:e.clipboardData,s=i.content(),{dom:a,text:l}=j4(n,s);o?(e.preventDefault(),o.clearData(),o.setData("text/html",a.innerHTML),o.setData("text/plain",l)):function wae(n,t){if(!n.dom.parentNode)return;let e=n.dom.parentNode.appendChild(document.createElement("div"));e.appendChild(t),e.style.cssText="position: fixed; left: -10000px; top: 10px";let i=getSelection(),r=document.createRange();r.selectNodeContents(t),n.dom.blur(),i.removeAllRanges(),i.addRange(r),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e),n.focus()},50)}(n,a),r&&n.dispatch(n.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))},Nr.paste=(n,t)=>{let e=t;if(n.composing&&!vs)return;let i=Vh?null:e.clipboardData;i&&ug(n,i.getData("text/plain"),i.getData("text/html"),n.input.shiftKey,e)?e.preventDefault():function Dae(n,t){if(!n.dom.parentNode)return;let e=n.input.shiftKey||n.state.selection.$from.parent.type.spec.code,i=n.dom.parentNode.appendChild(document.createElement(e?"textarea":"div"));e||(i.contentEditable="true"),i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout(()=>{n.focus(),i.parentNode&&i.parentNode.removeChild(i),e?ug(n,i.value,null,n.input.shiftKey,t):ug(n,i.textContent,i.innerHTML,n.input.shiftKey,t)},50)}(n,e)};class Mae{constructor(t,e){this.slice=t,this.move=e}}const Z4=Ko?"altKey":"ctrlKey";kr.dragstart=(n,t)=>{let e=t,i=n.input.mouseDown;if(i&&i.done(),!e.dataTransfer)return;let r=n.state.selection,o=r.empty?null:n.posAtCoords(jb(e));if(!(o&&o.pos>=r.from&&o.pos<=(r instanceof Qe?r.to-1:r.to)))if(i&&i.mightDrag)n.dispatch(n.state.tr.setSelection(Qe.create(n.state.doc,i.mightDrag.pos)));else if(e.target&&1==e.target.nodeType){let c=n.docView.nearestDesc(e.target,!0);c&&c.node.type.spec.draggable&&c!=n.docView&&n.dispatch(n.state.tr.setSelection(Qe.create(n.state.doc,c.posBefore)))}let s=n.state.selection.content(),{dom:a,text:l}=j4(n,s);e.dataTransfer.clearData(),e.dataTransfer.setData(Vh?"Text":"text/html",a.innerHTML),e.dataTransfer.effectAllowed="copyMove",Vh||e.dataTransfer.setData("text/plain",l),n.dragging=new Mae(s,!e[Z4])},kr.dragend=n=>{let t=n.dragging;window.setTimeout(()=>{n.dragging==t&&(n.dragging=null)},50)},Nr.dragover=Nr.dragenter=(n,t)=>t.preventDefault(),Nr.drop=(n,t)=>{let e=t,i=n.dragging;if(n.dragging=null,!e.dataTransfer)return;let r=n.posAtCoords(jb(e));if(!r)return;let o=n.state.doc.resolve(r.pos),s=i&&i.slice;s?n.someProp("transformPasted",p=>{s=p(s,n)}):s=z4(n,e.dataTransfer.getData(Vh?"Text":"text/plain"),Vh?null:e.dataTransfer.getData("text/html"),!1,o);let a=!(!i||e[Z4]);if(n.someProp("handleDrop",p=>p(n,e,s||Te.empty,a)))return void e.preventDefault();if(!s)return;e.preventDefault();let l=s?Yj(n.state.doc,o.pos,s):o.pos;null==l&&(l=o.pos);let c=n.state.tr;a&&c.deleteSelection();let u=c.mapping.map(l),d=0==s.openStart&&0==s.openEnd&&1==s.content.childCount,h=c.doc;if(d?c.replaceRangeWith(u,u,s.content.firstChild):c.replaceRange(u,u,s),c.doc.eq(h))return;let f=c.doc.resolve(u);if(d&&Qe.isSelectable(s.content.firstChild)&&f.nodeAfter&&f.nodeAfter.sameMarkup(s.content.firstChild))c.setSelection(new Qe(f));else{let p=c.mapping.map(l);c.mapping.maps[c.mapping.maps.length-1].forEach((m,g,y,w)=>p=w),c.setSelection(hS(n,f,c.doc.resolve(p)))}n.focus(),n.dispatch(c.setMeta("uiEvent","drop"))},kr.focus=n=>{n.input.lastFocus=Date.now(),n.focused||(n.domObserver.stop(),n.dom.classList.add("ProseMirror-focused"),n.domObserver.start(),n.focused=!0,setTimeout(()=>{n.docView&&n.hasFocus()&&!n.domObserver.currentSelection.eq(n.domSelectionRange())&&Wa(n)},20))},kr.blur=(n,t)=>{let e=t;n.focused&&(n.domObserver.stop(),n.dom.classList.remove("ProseMirror-focused"),n.domObserver.start(),e.relatedTarget&&n.dom.contains(e.relatedTarget)&&n.domObserver.currentSelection.clear(),n.focused=!1)},kr.beforeinput=(n,t)=>{if(pr&&vs&&"deleteContentBackward"==t.inputType){n.domObserver.flushSoon();let{domChangeCount:i}=n.input;setTimeout(()=>{if(n.input.domChangeCount!=i||(n.dom.blur(),n.focus(),n.someProp("handleKeyDown",o=>o(n,uu(8,"Backspace")))))return;let{$cursor:r}=n.state.selection;r&&r.pos>0&&n.dispatch(n.state.tr.delete(r.pos-1,r.pos).scrollIntoView())},50)}};for(let n in Nr)kr[n]=Nr[n];function dg(n,t){if(n==t)return!0;for(let e in n)if(n[e]!==t[e])return!1;for(let e in t)if(!(e in n))return!1;return!0}class bS{constructor(t,e){this.toDOM=t,this.spec=e||mu,this.side=this.spec.side||0}map(t,e,i,r){let{pos:o,deleted:s}=t.mapResult(e.from+r,this.side<0?-1:1);return s?null:new Pi(o-i,o-i,this)}valid(){return!0}eq(t){return this==t||t instanceof bS&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&dg(this.spec,t.spec))}destroy(t){this.spec.destroy&&this.spec.destroy(t)}}class Ul{constructor(t,e){this.attrs=t,this.spec=e||mu}map(t,e,i,r){let o=t.map(e.from+r,this.spec.inclusiveStart?-1:1)-i,s=t.map(e.to+r,this.spec.inclusiveEnd?1:-1)-i;return o>=s?null:new Pi(o,s,this)}valid(t,e){return e.from=t&&(!o||o(a.spec))&&i.push(a.copy(a.from+r,a.to+r))}for(let s=0;st){let a=this.children[s]+1;this.children[s+2].findInner(t-a,e-a,i,r+a,o)}}map(t,e,i){return this==mr||0==t.maps.length?this:this.mapInner(t,e,0,0,i||mu)}mapInner(t,e,i,r,o){let s;for(let a=0;a{let g=m-p-(f-h);for(let y=0;yw+u-d)continue;let T=a[y]+u-d;f>=T?a[y+1]=h<=T?-2:-1:p>=r&&g&&(a[y]+=g,a[y+1]+=g)}d+=g}),u=e.maps[c].map(u,-1)}let l=!1;for(let c=0;c=i.content.size){l=!0;continue}let f=e.map(n[c+1]+o,-1)-r,{index:p,offset:m}=i.content.findIndex(d),g=i.maybeChild(p);if(g&&m==d&&m+g.nodeSize==f){let y=a[c+2].mapInner(e,g,u+1,n[c]+o+1,s);y!=mr?(a[c]=d,a[c+1]=f,a[c+2]=y):(a[c+1]=-2,l=!0)}else l=!0}if(l){let c=function Eae(n,t,e,i,r,o,s){function a(l,c){for(let u=0;u{let u,c=l+i;if(u=X4(e,a,c)){for(r||(r=this.children.slice());oa&&d.to=t){this.children[a]==t&&(i=this.children[a+2]);break}let o=t+1,s=o+e.content.size;for(let a=0;ao&&l.type instanceof Ul){let c=Math.max(o,l.from)-o,u=Math.min(s,l.to)-o;cr.map(t,e,mu));return Hl.from(i)}forChild(t,e){if(e.isLeaf)return Vn.empty;let i=[];for(let r=0;re instanceof Vn)?t:t.reduce((e,i)=>e.concat(i instanceof Vn?i:i.members),[]))}}}function J4(n,t){if(!t||!n.length)return n;let e=[];for(let i=0;ie&&s.to{let c=X4(n,a,l+e);if(c){o=!0;let u=Vb(c,a,e+l+1,i);u!=mr&&r.push(l,l+a.nodeSize,u)}});let s=J4(o?e5(n):n,-e).sort(gu);for(let a=0;a0;)t++;n.splice(t,0,e)}function TS(n){let t=[];return n.someProp("decorations",e=>{let i=e(n.state);i&&i!=mr&&t.push(i)}),n.cursorWrapper&&t.push(Vn.create(n.state.doc,[n.cursorWrapper.deco])),Hl.from(t)}const xae={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},Iae=io&&Fl<=11;class Oae{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(t){this.anchorNode=t.anchorNode,this.anchorOffset=t.anchorOffset,this.focusNode=t.focusNode,this.focusOffset=t.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(t){return t.anchorNode==this.anchorNode&&t.anchorOffset==this.anchorOffset&&t.focusNode==this.focusNode&&t.focusOffset==this.focusOffset}}class Aae{constructor(t,e){this.view=t,this.handleDOMChange=e,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new Oae,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.observer=window.MutationObserver&&new window.MutationObserver(i=>{for(let r=0;r"childList"==r.type&&r.removedNodes.length||"characterData"==r.type&&r.oldValue.length>r.target.nodeValue.length)?this.flushSoon():this.flush()}),Iae&&(this.onCharData=i=>{this.queue.push({target:i.target,type:"characterData",oldValue:i.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,xae)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let t=this.observer.takeRecords();if(t.length){for(let e=0;ethis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(I4(this.view)){if(this.suppressingSelectionUpdates)return Wa(this.view);if(io&&Fl<=11&&!this.view.state.selection.empty){let t=this.view.domSelectionRange();if(t.focusNode&&cu(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(t){if(!t.focusNode)return!0;let i,e=new Set;for(let o=t.focusNode;o;o=rg(o))e.add(o);for(let o=t.anchorNode;o;o=rg(o))if(e.has(o)){i=o;break}let r=i&&this.view.docView.nearestDesc(i);return r&&r.ignoreMutation({type:"selection",target:3==i.nodeType?i.parentNode:i})?(this.setCurSelection(),!0):void 0}flush(){let{view:t}=this;if(!t.docView||this.flushingSoon>-1)return;let e=this.observer?this.observer.takeRecords():[];this.queue.length&&(e=this.queue.concat(e),this.queue.length=0);let i=t.domSelectionRange(),r=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(i)&&I4(t)&&!this.ignoreSelectionChange(i),o=-1,s=-1,a=!1,l=[];if(t.editable)for(let u=0;u1){let u=l.filter(d=>"BR"==d.nodeName);if(2==u.length){let d=u[0],h=u[1];d.parentNode&&d.parentNode.parentNode==h.parentNode?h.remove():d.remove()}}let c=null;o<0&&r&&t.input.lastFocus>Date.now()-200&&Math.max(t.input.lastTouch,t.input.lastClick.time)-1||r)&&(o>-1&&(t.docView.markDirty(o,s),function kae(n){if(!n5.has(n)&&(n5.set(n,null),-1!==["normal","nowrap","pre-line"].indexOf(getComputedStyle(n.dom).whiteSpace))){if(n.requiresGeckoHackNode=_s,r5)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),r5=!0}}(t)),this.handleDOMChange(o,s,a,l),t.docView&&t.docView.dirty?t.updateState(t.state):this.currentSelection.eq(i)||Wa(t),this.currentSelection.set(i))}registerMutation(t,e){if(e.indexOf(t.target)>-1)return null;let i=this.view.docView.nearestDesc(t.target);if("attributes"==t.type&&(i==this.view.docView||"contenteditable"==t.attributeName||"style"==t.attributeName&&!t.oldValue&&!t.target.getAttribute("style"))||!i||i.ignoreMutation(t))return null;if("childList"==t.type){for(let u=0;ut.content.size?null:hS(n,t.resolve(e.anchor),t.resolve(e.head))}function DS(n,t,e){let i=n.depth,r=t?n.end():n.pos;for(;i>0&&(t||n.indexAfter(i)==n.node(i).childCount);)i--,r++,t=!1;if(e){let o=n.node(i).maybeChild(n.indexAfter(i));for(;o&&!o.isLeaf;)o=o.firstChild,r++}return r}class Bae{constructor(t,e){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new aae,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=e,this.state=e.state,this.directPlugins=e.plugins||[],this.directPlugins.forEach(u5),this.dispatch=this.dispatch.bind(this),this.dom=t&&t.mount||document.createElement("div"),t&&(t.appendChild?t.appendChild(this.dom):"function"==typeof t?t(this.dom):t.mount&&(this.mounted=!0)),this.editable=l5(this),a5(this),this.nodeViews=c5(this),this.docView=y4(this.state.doc,s5(this),TS(this),this.dom,this),this.domObserver=new Aae(this,(i,r,o,s)=>function Fae(n,t,e,i,r){if(t<0){let Z=n.input.lastSelectionTime>Date.now()-50?n.input.lastSelectionOrigin:null,Pe=uS(n,Z);if(Pe&&!n.state.selection.eq(Pe)){if(pr&&vs&&13===n.input.lastKeyCode&&Date.now()-100Tt(n,uu(13,"Enter"))))return;let Ge=n.state.tr.setSelection(Pe);"pointer"==Z?Ge.setMeta("pointer",!0):"key"==Z&&Ge.scrollIntoView(),n.composing&&Ge.setMeta("composition",n.input.compositionID),n.dispatch(Ge)}return}let o=n.state.doc.resolve(t),s=o.sharedDepth(e);t=o.before(s+1),e=n.state.doc.resolve(e).after(s+1);let d,h,a=n.state.selection,l=function Pae(n,t,e){let c,{node:i,fromOffset:r,toOffset:o,from:s,to:a}=n.docView.parseRange(t,e),l=n.domSelectionRange(),u=l.anchorNode;if(u&&n.dom.contains(1==u.nodeType?u:u.parentNode)&&(c=[{node:u,offset:l.anchorOffset}],Pb(l)||c.push({node:l.focusNode,offset:l.focusOffset})),pr&&8===n.input.lastKeyCode)for(let g=o;g>r;g--){let y=i.childNodes[g-1],w=y.pmViewDesc;if("BR"==y.nodeName&&!w){o=g;break}if(!w||w.size)break}let d=n.state.doc,h=n.someProp("domParser")||Dh.fromSchema(n.state.schema),f=d.resolve(s),p=null,m=h.parse(i,{topNode:f.parent,topMatch:f.parent.contentMatchAt(f.index()),topOpen:!0,from:r,to:o,preserveWhitespace:"pre"!=f.parent.type.whitespace||"full",findPositions:c,ruleFromNode:Lae,context:f});if(c&&null!=c[0].pos){let g=c[0].pos,y=c[1]&&c[1].pos;null==y&&(y=g),p={anchor:g+s,head:y+s}}return{doc:m,sel:p,from:s,to:a}}(n,t,e),c=n.state.doc,u=c.slice(l.from,l.to);8===n.input.lastKeyCode&&Date.now()-100=s?o-i:0,a=o+(a-s),s=o):a=a?o-i:0,s=o+(s-a),a=o),{start:o,endA:s,endB:a}}(u.content,l.doc.content,l.from,d,h);if((Fh&&n.input.lastIOSEnter>Date.now()-225||vs)&&r.some(Z=>1==Z.nodeType&&!Rae.test(Z.nodeName))&&(!f||f.endA>=f.endB)&&n.someProp("handleKeyDown",Z=>Z(n,uu(13,"Enter"))))return void(n.input.lastIOSEnter=0);if(!f){if(!(i&&a instanceof at&&!a.empty&&a.$head.sameParent(a.$anchor))||n.composing||l.sel&&l.sel.anchor!=l.sel.head){if(l.sel){let Z=o5(n,n.state.doc,l.sel);if(Z&&!Z.eq(n.state.selection)){let Pe=n.state.tr.setSelection(Z);n.composing&&Pe.setMeta("composition",n.input.compositionID),n.dispatch(Pe)}}return}f={start:a.from,endA:a.to,endB:a.to}}if(pr&&n.cursorWrapper&&l.sel&&l.sel.anchor==n.cursorWrapper.deco.from&&l.sel.head==l.sel.anchor){let Z=f.endB-f.start;l.sel={anchor:l.sel.anchor+Z,head:l.sel.anchor+Z}}n.input.domChangeCount++,n.state.selection.fromn.state.selection.from&&f.start<=n.state.selection.from+2&&n.state.selection.from>=l.from?f.start=n.state.selection.from:f.endA=n.state.selection.to-2&&n.state.selection.to<=l.to&&(f.endB+=n.state.selection.to-f.endA,f.endA=n.state.selection.to)),io&&Fl<=11&&f.endB==f.start+1&&f.endA==f.start&&f.start>l.from&&" \xa0"==l.doc.textBetween(f.start-l.from-1,f.start-l.from+1)&&(f.start--,f.endA--,f.endB--);let w,p=l.doc.resolveNoCache(f.start-l.from),m=l.doc.resolveNoCache(f.endB-l.from),g=c.resolve(f.start),y=p.sameParent(m)&&p.parent.inlineContent&&g.end()>=f.endA;if((Fh&&n.input.lastIOSEnter>Date.now()-225&&(!y||r.some(Z=>"DIV"==Z.nodeName||"P"==Z.nodeName))||!y&&p.posZ(n,uu(13,"Enter"))))return void(n.input.lastIOSEnter=0);if(n.state.selection.anchor>f.start&&function zae(n,t,e,i,r){if(!i.parent.isTextblock||e-t<=r.pos-i.pos||DS(i,!0,!1)e||DS(s,!0,!1)Z(n,uu(8,"Backspace"))))return void(vs&&pr&&n.domObserver.suppressSelectionUpdates());pr&&vs&&f.endB==f.start&&(n.input.lastAndroidDelete=Date.now()),vs&&!y&&p.start()!=m.start()&&0==m.parentOffset&&p.depth==m.depth&&l.sel&&l.sel.anchor==l.sel.head&&l.sel.head==f.endA&&(f.endB-=2,m=l.doc.resolveNoCache(f.endB-l.from),setTimeout(()=>{n.someProp("handleKeyDown",function(Z){return Z(n,uu(13,"Enter"))})},20));let N,x,ae,T=f.start,v=f.endA;if(y)if(p.pos==m.pos)io&&Fl<=11&&0==p.parentOffset&&(n.domObserver.suppressSelectionUpdates(),setTimeout(()=>Wa(n),20)),N=n.state.tr.delete(T,v),x=c.resolve(f.start).marksAcross(c.resolve(f.endA));else if(f.endA==f.endB&&(ae=function jae(n,t){let s,a,l,e=n.firstChild.marks,i=t.firstChild.marks,r=e,o=i;for(let u=0;uu.mark(a.addToSet(u.marks));else{if(0!=r.length||1!=o.length)return null;a=o[0],s="remove",l=u=>u.mark(a.removeFromSet(u.marks))}let c=[];for(let u=0;uPe(n,T,v,Z)))return;N=n.state.tr.insertText(Z,T,v)}if(N||(N=n.state.tr.replace(T,v,l.doc.slice(f.start-l.from,f.endB-l.from))),l.sel){let Z=o5(n,N.doc,l.sel);Z&&!(pr&&vs&&n.composing&&Z.empty&&(f.start!=f.endB||n.input.lastAndroidDelete{uae(n,i)&&!yS(n,i)&&(n.editable||!(i.type in Nr))&&e(n,i)},sae[t]?{passive:!0}:void 0)}Ar&&n.dom.addEventListener("input",()=>null),gS(n)}(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let t=this._props;this._props={};for(let e in t)this._props[e]=t[e];this._props.state=this.state}return this._props}update(t){t.handleDOMEvents!=this._props.handleDOMEvents&&gS(this);let e=this._props;this._props=t,t.plugins&&(t.plugins.forEach(u5),this.directPlugins=t.plugins),this.updateStateInner(t.state,e)}setProps(t){let e={};for(let i in this._props)e[i]=this._props[i];e.state=this.state;for(let i in t)e[i]=t[i];this.update(e)}updateState(t){this.updateStateInner(t,this._props)}updateStateInner(t,e){let i=this.state,r=!1,o=!1;t.storedMarks&&this.composing&&(Q4(this),o=!0),this.state=t;let s=i.plugins!=t.plugins||this._props.plugins!=e.plugins;if(s||this._props.plugins!=e.plugins||this._props.nodeViews!=e.nodeViews){let h=c5(this);(function Hae(n,t){let e=0,i=0;for(let r in n){if(n[r]!=t[r])return!0;e++}for(let r in t)i++;return e!=i})(h,this.nodeViews)&&(this.nodeViews=h,r=!0)}(s||e.handleDOMEvents!=this._props.handleDOMEvents)&&gS(this),this.editable=l5(this),a5(this);let a=TS(this),l=s5(this),c=i.plugins==t.plugins||i.doc.eq(t.doc)?t.scrollToSelection>i.scrollToSelection?"to selection":"preserve":"reset",u=r||!this.docView.matchesNode(t.doc,l,a);(u||!t.selection.eq(i.selection))&&(o=!0);let d="preserve"==c&&o&&null==this.dom.style.overflowAnchor&&function Mse(n){let i,r,t=n.dom.getBoundingClientRect(),e=Math.max(0,t.top);for(let o=(t.left+t.right)/2,s=e+1;s=e-20){i=a,r=l.top;break}}return{refDOM:i,refTop:r,stack:o4(n.dom)}}(this);if(o){this.domObserver.stop();let h=u&&(io||pr)&&!this.composing&&!i.selection.empty&&!t.selection.empty&&function Uae(n,t){let e=Math.min(n.$anchor.sharedDepth(n.head),t.$anchor.sharedDepth(t.head));return n.$anchor.start(e)!=t.$anchor.start(e)}(i.selection,t.selection);if(u){let f=pr?this.trackWrites=this.domSelectionRange().focusNode:null;(r||!this.docView.update(t.doc,l,a,this))&&(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=y4(t.doc,l,a,this.dom,this)),f&&!this.trackWrites&&(h=!0)}h||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&function Qse(n){let t=n.docView.domFromPos(n.state.selection.anchor,0),e=n.domSelectionRange();return cu(t.node,t.offset,e.anchorNode,e.anchorOffset)}(this))?Wa(this,h):(E4(this,t.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(i),"reset"==c?this.dom.scrollTop=0:"to selection"==c?this.scrollToSelection():d&&function Sse({refDOM:n,refTop:t,stack:e}){let i=n?n.getBoundingClientRect().top:0;s4(e,0==i?0:i-t)}(d)}scrollToSelection(){let t=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",e=>e(this)))if(this.state.selection instanceof Qe){let e=this.docView.domAfterPos(this.state.selection.from);1==e.nodeType&&r4(this,e.getBoundingClientRect(),t)}else r4(this,this.coordsAtPos(this.state.selection.head,1),t)}destroyPluginViews(){let t;for(;t=this.pluginViews.pop();)t.destroy&&t.destroy()}updatePluginViews(t){if(t&&t.plugins==this.state.plugins&&this.directPlugins==this.prevDirectPlugins)for(let e=0;ee.ownerDocument.getSelection()),this._root=e;return t||document}posAtCoords(t){return kse(this,t)}coordsAtPos(t,e=1){return u4(this,t,e)}domAtPos(t,e=0){return this.docView.domFromPos(t,e)}nodeDOM(t){let e=this.docView.descAt(t);return e?e.nodeDOM:null}posAtDOM(t,e,i=-1){let r=this.docView.posFromDOM(t,e,i);if(null==r)throw new RangeError("DOM position not inside the editor");return r}endOfTextblock(t,e){return function Fse(n,t,e){return h4==t&&f4==e?p4:(h4=t,f4=e,p4="up"==e||"down"==e?function Pse(n,t,e){let i=t.selection,r="up"==e?i.$from:i.$to;return d4(n,t,()=>{let{node:o}=n.docView.domFromPos(r.pos,"up"==e?-1:1);for(;;){let a=n.docView.nearestDesc(o,!0);if(!a)break;if(a.node.isBlock){o=a.contentDOM||a.dom;break}o=a.dom.parentNode}let s=u4(n,r.pos,1);for(let a=o.firstChild;a;a=a.nextSibling){let l;if(1==a.nodeType)l=a.getClientRects();else{if(3!=a.nodeType)continue;l=$a(a,0,a.nodeValue.length).getClientRects()}for(let c=0;cu.top+1&&("up"==e?s.top-u.top>2*(u.bottom-s.top):u.bottom-s.bottom>2*(s.bottom-u.top)))return!1}}return!0})}(n,t,e):function Rse(n,t,e){let{$head:i}=t.selection;if(!i.parent.isTextblock)return!1;let r=i.parentOffset,o=!r,s=r==i.parent.content.size,a=n.domSelection();return Lse.test(i.parent.textContent)&&a.modify?d4(n,t,()=>{let{focusNode:l,focusOffset:c,anchorNode:u,anchorOffset:d}=n.domSelectionRange(),h=a.caretBidiLevel;a.modify("move",e,"character");let f=i.depth?n.docView.domAfterPos(i.before()):n.dom,{focusNode:p,focusOffset:m}=n.domSelectionRange(),g=p&&!f.contains(1==p.nodeType?p:p.parentNode)||l==p&&c==m;try{a.collapse(u,d),l&&(l!=u||c!=d)&&a.extend&&a.extend(l,c)}catch{}return null!=h&&(a.caretBidiLevel=h),g}):"left"==e||"backward"==e?o:s}(n,t,e))}(this,e||this.state,t)}pasteHTML(t,e){return ug(this,"",t,!1,e||new ClipboardEvent("paste"))}pasteText(t,e){return ug(this,t,null,!0,e||new ClipboardEvent("paste"))}destroy(){this.docView&&(function cae(n){n.domObserver.stop();for(let t in n.input.eventHandlers)n.dom.removeEventListener(t,n.input.eventHandlers[t]);clearTimeout(n.input.composingTimeout),clearTimeout(n.input.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],TS(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)}get isDestroyed(){return null==this.docView}dispatchEvent(t){return function dae(n,t){!yS(n,t)&&kr[t.type]&&(n.editable||!(t.type in Nr))&&kr[t.type](n,t)}(this,t)}dispatch(t){let e=this._props.dispatchTransaction;e?e.call(this,t):this.updateState(this.state.apply(t))}domSelectionRange(){return Ar&&11===this.root.nodeType&&function _se(n){let t=n.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}(this.dom.ownerDocument)==this.dom?function Nae(n){let t;function e(l){l.preventDefault(),l.stopImmediatePropagation(),t=l.getTargetRanges()[0]}n.dom.addEventListener("beforeinput",e,!0),document.execCommand("indent"),n.dom.removeEventListener("beforeinput",e,!0);let i=t.startContainer,r=t.startOffset,o=t.endContainer,s=t.endOffset,a=n.domAtPos(n.state.selection.anchor);return cu(a.node,a.offset,o,s)&&([i,r,o,s]=[o,s,i,r]),{anchorNode:i,anchorOffset:r,focusNode:o,focusOffset:s}}(this):this.domSelection()}domSelection(){return this.root.getSelection()}}function s5(n){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(n.editable),n.someProp("attributes",e=>{if("function"==typeof e&&(e=e(n.state)),e)for(let i in e)"class"==i?t.class+=" "+e[i]:"style"==i?t.style=(t.style?t.style+";":"")+e[i]:!t[i]&&"contenteditable"!=i&&"nodeName"!=i&&(t[i]=String(e[i]))}),t.translate||(t.translate="no"),[Pi.node(0,n.state.doc.content.size,t)]}function a5(n){if(n.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),n.cursorWrapper={dom:t,deco:Pi.widget(n.state.selection.head,t,{raw:!0,marks:n.markCursor})}}else n.cursorWrapper=null}function l5(n){return!n.someProp("editable",t=>!1===t(n.state))}function c5(n){let t=Object.create(null);function e(i){for(let r in i)Object.prototype.hasOwnProperty.call(t,r)||(t[r]=i[r])}return n.someProp("nodeViews",e),n.someProp("markViews",e),t}function u5(n){if(n.spec.state||n.spec.filterTransaction||n.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}for(var $l={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Bb={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},$ae=typeof navigator<"u"&&/Mac/.test(navigator.platform),Wae=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),Xi=0;Xi<10;Xi++)$l[48+Xi]=$l[96+Xi]=String(Xi);for(Xi=1;Xi<=24;Xi++)$l[Xi+111]="F"+Xi;for(Xi=65;Xi<=90;Xi++)$l[Xi]=String.fromCharCode(Xi+32),Bb[Xi]=String.fromCharCode(Xi);for(var MS in $l)Bb.hasOwnProperty(MS)||(Bb[MS]=$l[MS]);const Yae=typeof navigator<"u"&&/Mac|iP(hone|[oa]d)/.test(navigator.platform);function qae(n){let i,r,o,s,t=n.split(/-(?!$)/),e=t[t.length-1];"Space"==e&&(e=" ");for(let a=0;a127)&&(o=$l[i.keyCode])&&o!=r){let a=t[SS(o,i)];if(a&&a(e.state,e.dispatch,e))return!0}}return!1}}const xS=(n,t)=>!n.selection.empty&&(t&&t(n.tr.deleteSelection().scrollIntoView()),!0);const h5=(n,t,e)=>{let i=function d5(n,t){let{$cursor:e}=n.selection;return!e||(t?!t.endOfTextblock("backward",n):e.parentOffset>0)?null:e}(n,e);if(!i)return!1;let r=IS(i);if(!r){let s=i.blockRange(),a=s&&Eh(s);return null!=a&&(t&&t(n.tr.lift(s,a).scrollIntoView()),!0)}let o=r.nodeBefore;if(!o.type.spec.isolating&&T5(n,r,t))return!0;if(0==i.parent.content.size&&(Uh(o,"end")||Qe.isSelectable(o))){let s=AM(n.doc,i.before(),i.after(),Te.empty);if(s&&s.slice.size{let{$head:i,empty:r}=n.selection,o=i;if(!r)return!1;if(i.parent.isTextblock){if(e?!e.endOfTextblock("backward",n):i.parentOffset>0)return!1;o=IS(i)}let s=o&&o.nodeBefore;return!(!s||!Qe.isSelectable(s)||(t&&t(n.tr.setSelection(Qe.create(n.doc,o.pos-s.nodeSize)).scrollIntoView()),0))};function IS(n){if(!n.parent.type.spec.isolating)for(let t=n.depth-1;t>=0;t--){if(n.index(t)>0)return n.doc.resolve(n.before(t+1));if(n.node(t).type.spec.isolating)break}return null}const g5=(n,t,e)=>{let i=function m5(n,t){let{$cursor:e}=n.selection;return!e||(t?!t.endOfTextblock("forward",n):e.parentOffset{let{$head:i,empty:r}=n.selection,o=i;if(!r)return!1;if(i.parent.isTextblock){if(e?!e.endOfTextblock("forward",n):i.parentOffset=0;t--){let e=n.node(t);if(n.index(t)+1{let{$head:e,$anchor:i}=n.selection;return!(!e.parent.type.spec.code||!e.sameParent(i)||(t&&t(n.tr.insertText("\n").scrollIntoView()),0))};function AS(n){for(let t=0;t{let{$head:e,$anchor:i}=n.selection;if(!e.parent.type.spec.code||!e.sameParent(i))return!1;let r=e.node(-1),o=e.indexAfter(-1),s=AS(r.contentMatchAt(o));if(!s||!r.canReplaceWith(o,o,s))return!1;if(t){let a=e.after(),l=n.tr.replaceWith(a,a,s.createAndFill());l.setSelection(ct.near(l.doc.resolve(a),1)),t(l.scrollIntoView())}return!0},b5=(n,t)=>{let e=n.selection,{$from:i,$to:r}=e;if(e instanceof So||i.parent.inlineContent||r.parent.inlineContent)return!1;let o=AS(r.parent.contentMatchAt(r.indexAfter()));if(!o||!o.isTextblock)return!1;if(t){let s=(!i.parentOffset&&r.index(){let{$cursor:e}=n.selection;if(!e||e.parent.content.size)return!1;if(e.depth>1&&e.after()!=e.end(-1)){let o=e.before();if(Ua(n.doc,o))return t&&t(n.tr.split(o).scrollIntoView()),!0}let i=e.blockRange(),r=i&&Eh(i);return null!=r&&(t&&t(n.tr.lift(i,r).scrollIntoView()),!0)},w5=function ele(n){return(t,e)=>{let{$from:i,$to:r}=t.selection;if(t.selection instanceof Qe&&t.selection.node.isBlock)return!(!i.parentOffset||!Ua(t.doc,i.pos)||(e&&e(t.tr.split(i.pos).scrollIntoView()),0));if(!i.parent.isBlock)return!1;if(e){let o=r.parentOffset==r.parent.content.size,s=t.tr;(t.selection instanceof at||t.selection instanceof So)&&s.deleteSelection();let a=0==i.depth?null:AS(i.node(-1).contentMatchAt(i.indexAfter(-1))),l=n&&n(r.parent,o),c=l?[l]:o&&a?[{type:a}]:void 0,u=Ua(s.doc,s.mapping.map(i.pos),1,c);if(!c&&!u&&Ua(s.doc,s.mapping.map(i.pos),1,a?[{type:a}]:void 0)&&(a&&(c=[{type:a}]),u=!0),u&&(s.split(s.mapping.map(i.pos),1,c),!o&&!i.parentOffset&&i.parent.type!=a)){let d=s.mapping.map(i.before()),h=s.doc.resolve(d);a&&i.node(-1).canReplaceWith(h.index(),h.index()+1,a)&&s.setNodeMarkup(s.mapping.map(i.before()),a)}e(s.scrollIntoView())}return!0}}();function T5(n,t,e){let o,s,i=t.nodeBefore,r=t.nodeAfter;if(i.type.spec.isolating||r.type.spec.isolating)return!1;if(function ile(n,t,e){let i=t.nodeBefore,r=t.nodeAfter,o=t.index();return!(!(i&&r&&i.type.compatibleContent(r.type))||(!i.content.size&&t.parent.canReplace(o-1,o)?(e&&e(n.tr.delete(t.pos-i.nodeSize,t.pos).scrollIntoView()),0):!t.parent.canReplace(o,o+1)||!r.isTextblock&&!Al(n.doc,t.pos)||(e&&e(n.tr.clearIncompatible(t.pos,i.type,i.contentMatchAt(i.childCount)).join(t.pos).scrollIntoView()),0)))}(n,t,e))return!0;let a=t.parent.canReplace(t.index(),t.index()+1);if(a&&(o=(s=i.contentMatchAt(i.childCount)).findWrapping(r.type))&&s.matchType(o[0]||r.type).validEnd){if(e){let d=t.pos+r.nodeSize,h=he.empty;for(let m=o.length-1;m>=0;m--)h=he.from(o[m].create(null,h));h=he.from(i.copy(h));let f=n.tr.step(new Bi(t.pos-1,d,t.pos,d,new Te(h,1,0),o.length,!0)),p=d+2*o.length;Al(f.doc,p)&&f.join(p),e(f.scrollIntoView())}return!0}let l=ct.findFrom(t,1),c=l&&l.$from.blockRange(l.$to),u=c&&Eh(c);if(null!=u&&u>=t.depth)return e&&e(n.tr.lift(c,u).scrollIntoView()),!0;if(a&&Uh(r,"start",!0)&&Uh(i,"end")){let d=i,h=[];for(;h.push(d),!d.isTextblock;)d=d.lastChild;let f=r,p=1;for(;!f.isTextblock;f=f.firstChild)p++;if(d.canReplace(d.childCount,d.childCount,f.content)){if(e){let m=he.empty;for(let y=h.length-1;y>=0;y--)m=he.from(h[y].copy(m));e(n.tr.step(new Bi(t.pos-h.length,t.pos+r.nodeSize,t.pos+p,t.pos+r.nodeSize-p,new Te(m,h.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function D5(n){return function(t,e){let i=t.selection,r=n<0?i.$from:i.$to,o=r.depth;for(;r.node(o).isInline;){if(!o)return!1;o--}return!!r.node(o).isTextblock&&(e&&e(t.tr.setSelection(at.create(t.doc,n<0?r.start(o):r.end(o)))),!0)}}const M5=D5(-1),S5=D5(1);function E5(n,t=null){return function(e,i){let r=!1;for(let o=0;o{if(r)return!1;if(l.isTextblock&&!l.hasMarkup(n,t))if(l.type==n)r=!0;else{let u=e.doc.resolve(c),d=u.index();r=u.parent.canReplaceWith(d,d+1,n)}})}if(!r)return!1;if(i){let o=e.tr;for(let s=0;s(t&&t(n.tr.setSelection(new So(n.doc))),!0)},ale={"Ctrl-h":Wl.Backspace,"Alt-Backspace":Wl["Mod-Backspace"],"Ctrl-d":Wl.Delete,"Ctrl-Alt-Backspace":Wl["Mod-Delete"],"Alt-Delete":Wl["Mod-Delete"],"Alt-d":Wl["Mod-Delete"],"Ctrl-a":M5,"Ctrl-e":S5};for(let n in Wl)ale[n]=Wl[n];function Ub(n){const{state:t,transaction:e}=n;let{selection:i}=e,{doc:r}=e,{storedMarks:o}=e;return{...t,apply:t.apply.bind(t),applyTransaction:t.applyTransaction.bind(t),filterTransaction:t.filterTransaction,plugins:t.plugins,schema:t.schema,reconfigure:t.reconfigure.bind(t),toJSON:t.toJSON.bind(t),get storedMarks(){return o},get selection(){return i},get doc(){return r},get tr(){return i=e.selection,r=e.doc,o=e.storedMarks,e}}}typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform();class Hb{constructor(t){this.editor=t.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=t.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:t,editor:e,state:i}=this,{view:r}=e,{tr:o}=i,s=this.buildProps(o);return Object.fromEntries(Object.entries(t).map(([a,l])=>[a,(...u)=>{const d=l(...u)(s);return!o.getMeta("preventDispatch")&&!this.hasCustomState&&r.dispatch(o),d}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(t,e=!0){const{rawCommands:i,editor:r,state:o}=this,{view:s}=r,a=[],l=!!t,c=t||o.tr,d={...Object.fromEntries(Object.entries(i).map(([h,f])=>[h,(...m)=>{const g=this.buildProps(c,e),y=f(...m)(g);return a.push(y),d}])),run:()=>(!l&&e&&!c.getMeta("preventDispatch")&&!this.hasCustomState&&s.dispatch(c),a.every(h=>!0===h))};return d}createCan(t){const{rawCommands:e,state:i}=this,o=t||i.tr,s=this.buildProps(o,!1);return{...Object.fromEntries(Object.entries(e).map(([l,c])=>[l,(...u)=>c(...u)({...s,dispatch:void 0})])),chain:()=>this.createChain(o,!1)}}buildProps(t,e=!0){const{rawCommands:i,editor:r,state:o}=this,{view:s}=r;o.storedMarks&&t.setStoredMarks(o.storedMarks);const a={tr:t,editor:r,view:s,state:Ub({state:o,transaction:t}),dispatch:e?()=>{}:void 0,chain:()=>this.createChain(t),can:()=>this.createCan(t),get commands(){return Object.fromEntries(Object.entries(i).map(([l,c])=>[l,(...u)=>c(...u)(a)]))}};return a}}class ble{constructor(){this.callbacks={}}on(t,e){return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(e),this}emit(t,...e){const i=this.callbacks[t];return i&&i.forEach(r=>r.apply(this,e)),this}off(t,e){const i=this.callbacks[t];return i&&(e?this.callbacks[t]=i.filter(r=>r!==e):delete this.callbacks[t]),this}removeAllListeners(){this.callbacks={}}}function He(n,t,e){return void 0===n.config[t]&&n.parent?He(n.parent,t,e):"function"==typeof n.config[t]?n.config[t].bind({...e,parent:n.parent?He(n.parent,t,e):null}):n.config[t]}function $b(n){return{baseExtensions:n.filter(r=>"extension"===r.type),nodeExtensions:n.filter(r=>"node"===r.type),markExtensions:n.filter(r=>"mark"===r.type)}}function I5(n){const t=[],{nodeExtensions:e,markExtensions:i}=$b(n),r=[...e,...i],o={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return n.forEach(s=>{const l=He(s,"addGlobalAttributes",{name:s.name,options:s.options,storage:s.storage});l&&l().forEach(u=>{u.types.forEach(d=>{Object.entries(u.attributes).forEach(([h,f])=>{t.push({type:d,name:h,attribute:{...o,...f}})})})})}),r.forEach(s=>{const l=He(s,"addAttributes",{name:s.name,options:s.options,storage:s.storage});if(!l)return;const c=l();Object.entries(c).forEach(([u,d])=>{const h={...o,...d};"function"==typeof h?.default&&(h.default=h.default()),h?.isRequired&&void 0===h?.default&&delete h.default,t.push({type:s.name,name:u,attribute:h})})}),t}function Ui(n,t){if("string"==typeof n){if(!t.nodes[n])throw Error(`There is no node type named '${n}'. Maybe you forgot to add the extension?`);return t.nodes[n]}return n}function rn(...n){return n.filter(t=>!!t).reduce((t,e)=>{const i={...t};return Object.entries(e).forEach(([r,o])=>{i[r]=i[r]?"class"===r?[i[r],o].join(" "):"style"===r?[i[r],o].join("; "):o:o}),i},{})}function LS(n,t){return t.filter(e=>e.attribute.rendered).map(e=>e.attribute.renderHTML?e.attribute.renderHTML(n.attrs)||{}:{[e.name]:n.attrs[e.name]}).reduce((e,i)=>rn(e,i),{})}function O5(n){return"function"==typeof n}function xt(n,t,...e){return O5(n)?t?n.bind(t)(...e):n(...e):n}function A5(n,t){return n.style?n:{...n,getAttrs:e=>{const i=n.getAttrs?n.getAttrs(e):n.attrs;if(!1===i)return!1;const r=t.reduce((o,s)=>{const a=s.attribute.parseHTML?s.attribute.parseHTML(e):function wle(n){return"string"!=typeof n?n:n.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(n):"true"===n||"false"!==n&&n}(e.getAttribute(s.name));return null==a?o:{...o,[s.name]:a}},{});return{...i,...r}}}}function k5(n){return Object.fromEntries(Object.entries(n).filter(([t,e])=>("attrs"!==t||!function Cle(n={}){return 0===Object.keys(n).length&&n.constructor===Object}(e))&&null!=e))}function RS(n,t){return t.nodes[n]||t.marks[n]||null}function P5(n,t){return Array.isArray(t)?t.some(e=>("string"==typeof e?e:e.name)===n.name):t}function FS(n){return"[object RegExp]"===Object.prototype.toString.call(n)}class hg{constructor(t){this.find=t.find,this.handler=t.handler}}function jS(n){var t;const{editor:e,from:i,to:r,text:o,rules:s,plugin:a}=n,{view:l}=e;if(l.composing)return!1;const c=l.state.doc.resolve(i);if(c.parent.type.spec.code||null!==(t=c.nodeBefore||c.nodeAfter)&&void 0!==t&&t.marks.find(h=>h.type.spec.code))return!1;let u=!1;const d=((n,t=500)=>{let e="";const i=n.parentOffset;return n.parent.nodesBetween(Math.max(0,i-t),i,(r,o,s,a)=>{var l,c;const u=(null===(c=(l=r.type.spec).toText)||void 0===c?void 0:c.call(l,{node:r,pos:o,parent:s,index:a}))||r.textContent||"%leaf%";e+=u.slice(0,Math.max(0,i-o))}),e})(c)+o;return s.forEach(h=>{if(u)return;const f=((n,t)=>{if(FS(t))return t.exec(n);const e=t(n);if(!e)return null;const i=[e.text];return i.index=e.index,i.input=n,i.data=e.data,e.replaceWith&&(e.text.includes(e.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),i.push(e.replaceWith)),i})(d,h.find);if(!f)return;const p=l.state.tr,m=Ub({state:l.state,transaction:p}),g={from:i-(f[0].length-o.length),to:r},{commands:y,chain:w,can:T}=new Hb({editor:e,state:m});null===h.handler({state:m,range:g,match:f,commands:y,chain:w,can:T})||!p.steps.length||(p.setMeta(a,{transform:p,from:i,to:r,text:o}),l.dispatch(p),u=!0)}),u}function Mle(n){const{editor:t,rules:e}=n,i=new Kt({state:{init:()=>null,apply:(r,o)=>r.getMeta(i)||(r.selectionSet||r.docChanged?null:o)},props:{handleTextInput:(r,o,s,a)=>jS({editor:t,from:o,to:s,text:a,rules:e,plugin:i}),handleDOMEvents:{compositionend:r=>(setTimeout(()=>{const{$cursor:o}=r.state.selection;o&&jS({editor:t,from:o.pos,to:o.pos,text:"",rules:e,plugin:i})}),!1)},handleKeyDown(r,o){if("Enter"!==o.key)return!1;const{$cursor:s}=r.state.selection;return!!s&&jS({editor:t,from:s.pos,to:s.pos,text:"\n",rules:e,plugin:i})}},isInputRules:!0});return i}class zS{constructor(t){this.find=t.find,this.handler=t.handler}}function Ile(n){const{editor:t,rules:e}=n;let i=null,r=!1,o=!1;return e.map(a=>new Kt({view(l){const c=u=>{var d;i=null!==(d=l.dom.parentElement)&&void 0!==d&&d.contains(u.target)?l.dom.parentElement:null};return window.addEventListener("dragstart",c),{destroy(){window.removeEventListener("dragstart",c)}}},props:{handleDOMEvents:{drop:l=>(o=i===l.dom.parentElement,!1),paste:(l,c)=>{var u;const d=null===(u=c.clipboardData)||void 0===u?void 0:u.getData("text/html");return r=!!d?.includes("data-pm-slice"),!1}}},appendTransaction:(l,c,u)=>{const d=l[0],h="paste"===d.getMeta("uiEvent")&&!r,f="drop"===d.getMeta("uiEvent")&&!o;if(!h&&!f)return;const p=c.doc.content.findDiffStart(u.doc.content),m=c.doc.content.findDiffEnd(u.doc.content);if(!function Sle(n){return"number"==typeof n}(p)||!m||p===m.b)return;const g=u.tr,y=Ub({state:u,transaction:g});return function xle(n){const{editor:t,state:e,from:i,to:r,rule:o}=n,{commands:s,chain:a,can:l}=new Hb({editor:t,state:e}),c=[];return e.doc.nodesBetween(i,r,(d,h)=>{if(!d.isTextblock||d.type.spec.code)return;const f=Math.max(i,h),p=Math.min(r,h+d.content.size);((n,t)=>{if(FS(t))return[...n.matchAll(t)];const e=t(n);return e?e.map(i=>{const r=[i.text];return r.index=i.index,r.input=n,r.data=i.data,i.replaceWith&&(i.text.includes(i.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),r.push(i.replaceWith)),r}):[]})(d.textBetween(f-h,p-h,void 0,"\ufffc"),o.find).forEach(y=>{if(void 0===y.index)return;const w=f+y.index+1,T=w+y[0].length,v={from:e.tr.mapping.map(w),to:e.tr.mapping.map(T)},N=o.handler({state:e,range:v,match:y,commands:s,chain:a,can:l});c.push(N)})}),c.every(d=>null!==d)}({editor:t,state:y,from:Math.max(p-1,0),to:m.b-1,rule:a})&&g.steps.length?g:void 0}}))}class yu{constructor(t,e){this.splittableMarks=[],this.editor=e,this.extensions=yu.resolve(t),this.schema=function N5(n,t){var e;const i=I5(n),{nodeExtensions:r,markExtensions:o}=$b(n),s=null===(e=r.find(c=>He(c,"topNode")))||void 0===e?void 0:e.name,a=Object.fromEntries(r.map(c=>{const u=i.filter(y=>y.type===c.name),d={name:c.name,options:c.options,storage:c.storage,editor:t},f=k5({...n.reduce((y,w)=>{const T=He(w,"extendNodeSchema",d);return{...y,...T?T(c):{}}},{}),content:xt(He(c,"content",d)),marks:xt(He(c,"marks",d)),group:xt(He(c,"group",d)),inline:xt(He(c,"inline",d)),atom:xt(He(c,"atom",d)),selectable:xt(He(c,"selectable",d)),draggable:xt(He(c,"draggable",d)),code:xt(He(c,"code",d)),defining:xt(He(c,"defining",d)),isolating:xt(He(c,"isolating",d)),attrs:Object.fromEntries(u.map(y=>{var w;return[y.name,{default:null===(w=y?.attribute)||void 0===w?void 0:w.default}]}))}),p=xt(He(c,"parseHTML",d));p&&(f.parseDOM=p.map(y=>A5(y,u)));const m=He(c,"renderHTML",d);m&&(f.toDOM=y=>m({node:y,HTMLAttributes:LS(y,u)}));const g=He(c,"renderText",d);return g&&(f.toText=g),[c.name,f]})),l=Object.fromEntries(o.map(c=>{const u=i.filter(g=>g.type===c.name),d={name:c.name,options:c.options,storage:c.storage,editor:t},f=k5({...n.reduce((g,y)=>{const w=He(y,"extendMarkSchema",d);return{...g,...w?w(c):{}}},{}),inclusive:xt(He(c,"inclusive",d)),excludes:xt(He(c,"excludes",d)),group:xt(He(c,"group",d)),spanning:xt(He(c,"spanning",d)),code:xt(He(c,"code",d)),attrs:Object.fromEntries(u.map(g=>{var y;return[g.name,{default:null===(y=g?.attribute)||void 0===y?void 0:y.default}]}))}),p=xt(He(c,"parseHTML",d));p&&(f.parseDOM=p.map(g=>A5(g,u)));const m=He(c,"renderHTML",d);return m&&(f.toDOM=g=>m({mark:g,HTMLAttributes:LS(g,u)})),[c.name,f]}));return new ore({topNode:s,nodes:a,marks:l})}(this.extensions,e),this.extensions.forEach(i=>{var r;this.editor.extensionStorage[i.name]=i.storage;const o={name:i.name,options:i.options,storage:i.storage,editor:this.editor,type:RS(i.name,this.schema)};"mark"===i.type&&(null===(r=xt(He(i,"keepOnSplit",o)))||void 0===r||r)&&this.splittableMarks.push(i.name);const s=He(i,"onBeforeCreate",o);s&&this.editor.on("beforeCreate",s);const a=He(i,"onCreate",o);a&&this.editor.on("create",a);const l=He(i,"onUpdate",o);l&&this.editor.on("update",l);const c=He(i,"onSelectionUpdate",o);c&&this.editor.on("selectionUpdate",c);const u=He(i,"onTransaction",o);u&&this.editor.on("transaction",u);const d=He(i,"onFocus",o);d&&this.editor.on("focus",d);const h=He(i,"onBlur",o);h&&this.editor.on("blur",h);const f=He(i,"onDestroy",o);f&&this.editor.on("destroy",f)})}static resolve(t){const e=yu.sort(yu.flatten(t)),i=function Ole(n){const t=n.filter((e,i)=>n.indexOf(e)!==i);return[...new Set(t)]}(e.map(r=>r.name));return i.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${i.map(r=>`'${r}'`).join(", ")}]. This can lead to issues.`),e}static flatten(t){return t.map(e=>{const r=He(e,"addExtensions",{name:e.name,options:e.options,storage:e.storage});return r?[e,...this.flatten(r())]:e}).flat(10)}static sort(t){return t.sort((i,r)=>{const o=He(i,"priority")||100,s=He(r,"priority")||100;return o>s?-1:o{const r=He(e,"addCommands",{name:e.name,options:e.options,storage:e.storage,editor:this.editor,type:RS(e.name,this.schema)});return r?{...t,...r()}:t},{})}get plugins(){const{editor:t}=this,e=yu.sort([...this.extensions].reverse()),i=[],r=[],o=e.map(s=>{const a={name:s.name,options:s.options,storage:s.storage,editor:t,type:RS(s.name,this.schema)},l=[],c=He(s,"addKeyboardShortcuts",a);let u={};if("mark"===s.type&&s.config.exitable&&(u.ArrowRight=()=>Pr.handleExit({editor:t,mark:s})),c){const m=Object.fromEntries(Object.entries(c()).map(([g,y])=>[g,()=>y({editor:t})]));u={...u,...m}}const d=function Qae(n){return new Kt({props:{handleKeyDown:ES(n)}})}(u);l.push(d);const h=He(s,"addInputRules",a);P5(s,t.options.enableInputRules)&&h&&i.push(...h());const f=He(s,"addPasteRules",a);P5(s,t.options.enablePasteRules)&&f&&r.push(...f());const p=He(s,"addProseMirrorPlugins",a);if(p){const m=p();l.push(...m)}return l}).flat();return[Mle({editor:t,rules:i}),...Ile({editor:t,rules:r}),...o]}get attributes(){return I5(this.extensions)}get nodeViews(){const{editor:t}=this,{nodeExtensions:e}=$b(this.extensions);return Object.fromEntries(e.filter(i=>!!He(i,"addNodeView")).map(i=>{const r=this.attributes.filter(l=>l.type===i.name),o={name:i.name,options:i.options,storage:i.storage,editor:t,type:Ui(i.name,this.schema)},s=He(i,"addNodeView",o);return s?[i.name,(l,c,u,d)=>{const h=LS(l,r);return s()({editor:t,node:l,getPos:u,decorations:d,HTMLAttributes:h,extension:i})}]:[]}))}}function VS(n){return"Object"===function Ale(n){return Object.prototype.toString.call(n).slice(8,-1)}(n)&&n.constructor===Object&&Object.getPrototypeOf(n)===Object.prototype}function Wb(n,t){const e={...n};return VS(n)&&VS(t)&&Object.keys(t).forEach(i=>{VS(t[i])?i in n?e[i]=Wb(n[i],t[i]):Object.assign(e,{[i]:t[i]}):Object.assign(e,{[i]:t[i]})}),e}class Sn{constructor(t={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=xt(He(this,"addOptions",{name:this.name}))),this.storage=xt(He(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new Sn(t)}configure(t={}){const e=this.extend();return e.options=Wb(this.options,t),e.storage=xt(He(e,"addStorage",{name:e.name,options:e.options})),e}extend(t={}){const e=new Sn(t);return e.parent=this,this.child=e,e.name=t.name?t.name:e.parent.name,t.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${e.name}".`),e.options=xt(He(e,"addOptions",{name:e.name})),e.storage=xt(He(e,"addStorage",{name:e.name,options:e.options})),e}}function L5(n,t,e){const{from:i,to:r}=t,{blockSeparator:o="\n\n",textSerializers:s={}}=e||{};let a="",l=!0;return n.nodesBetween(i,r,(c,u,d,h)=>{var f;const p=s?.[c.type.name];p?(c.isBlock&&!l&&(a+=o,l=!0),d&&(a+=p({node:c,pos:u,parent:d,index:h,range:t}))):c.isText?(a+=null===(f=c?.text)||void 0===f?void 0:f.slice(Math.max(i,u)-u,r-u),l=!1):c.isBlock&&!l&&(a+=o,l=!0)}),a}function BS(n){return Object.fromEntries(Object.entries(n.nodes).filter(([,t])=>t.spec.toText).map(([t,e])=>[t,e.spec.toText]))}const kle=Sn.create({name:"clipboardTextSerializer",addProseMirrorPlugins(){return[new Kt({key:new an("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:n}=this,{state:t,schema:e}=n,{doc:i,selection:r}=t,{ranges:o}=r;return L5(i,{from:Math.min(...o.map(u=>u.$from.pos)),to:Math.max(...o.map(u=>u.$to.pos))},{textSerializers:BS(e)})}}})]}});function Gb(n,t,e={strict:!0}){const i=Object.keys(t);return!i.length||i.every(r=>e.strict?t[r]===n[r]:FS(t[r])?t[r].test(n[r]):t[r]===n[r])}function US(n,t,e={}){return n.find(i=>i.type===t&&Gb(i.attrs,e))}function $le(n,t,e={}){return!!US(n,t,e)}function HS(n,t,e={}){if(!n||!t)return;let i=n.parent.childAfter(n.parentOffset);if(n.parentOffset===i.offset&&0!==i.offset&&(i=n.parent.childBefore(n.parentOffset)),!i.node)return;const r=US([...i.node.marks],t,e);if(!r)return;let o=i.index,s=n.start()+i.offset,a=o+1,l=s+i.node.nodeSize;for(US([...i.node.marks],t,e);o>0&&r.isInSet(n.parent.child(o-1).marks);)o-=1,s-=n.parent.child(o).nodeSize;for(;a${n}`;return(new window.DOMParser).parseFromString(t,"text/html").body}function Kb(n,t,e){if(e={slice:!0,parseOptions:{},...e},"object"==typeof n&&null!==n)try{return Array.isArray(n)&&n.length>0?he.fromArray(n.map(i=>t.nodeFromJSON(i))):t.nodeFromJSON(n)}catch(i){return console.warn("[tiptap warn]: Invalid content.","Passed value:",n,"Error:",i),Kb("",t,e)}if("string"==typeof n){const i=Dh.fromSchema(t);return e.slice?i.parseSlice($S(n),e.parseOptions).content:i.parse($S(n),e.parseOptions)}return Kb("",t,e)}function F5(){return typeof navigator<"u"&&/Mac/.test(navigator.platform)}function fg(n,t,e={}){const{from:i,to:r,empty:o}=n.selection,s=t?Ui(t,n.schema):null,a=[];n.doc.nodesBetween(i,r,(d,h)=>{if(d.isText)return;const f=Math.max(i,h),p=Math.min(r,h+d.nodeSize);a.push({node:d,from:f,to:p})});const l=r-i,c=a.filter(d=>!s||s.name===d.node.type.name).filter(d=>Gb(d.node.attrs,e,{strict:!1}));return o?!!c.length:c.reduce((d,h)=>d+h.to-h.from,0)>=l}function Qb(n,t){return t.nodes[n]?"node":t.marks[n]?"mark":null}function j5(n,t){const e="string"==typeof t?[t]:t;return Object.keys(n).reduce((i,r)=>(e.includes(r)||(i[r]=n[r]),i),{})}function z5(n,t,e={}){return Kb(n,t,{slice:!1,parseOptions:e})}function V5(n,t){for(let e=n.depth;e>0;e-=1){const i=n.node(e);if(t(i))return{pos:e>0?n.before(e):0,start:n.start(e),depth:e,node:i}}}function WS(n){return t=>V5(t.$from,n)}function Zb(n,t){const e=Gl(t,n.schema),{from:i,to:r,empty:o}=n.selection,s=[];o?(n.storedMarks&&s.push(...n.storedMarks),s.push(...n.selection.$head.marks())):n.doc.nodesBetween(i,r,l=>{s.push(...l.marks)});const a=s.find(l=>l.type.name===e.name);return a?{...a.attrs}:{}}function H5(n,t){const e=Qb("string"==typeof t?t:t.name,n.schema);return"node"===e?function Cce(n,t){const e=Ui(t,n.schema),{from:i,to:r}=n.selection,o=[];n.doc.nodesBetween(i,r,a=>{o.push(a)});const s=o.reverse().find(a=>a.type.name===e.name);return s?{...s.attrs}:{}}(n,t):"mark"===e?Zb(n,t):{}}function Jb(n,t,e){const i=[];return n===t?e.resolve(n).marks().forEach(r=>{const s=HS(e.resolve(n-1),r.type);s&&i.push({mark:r,...s})}):e.nodesBetween(n,t,(r,o)=>{i.push(...r.marks.map(s=>({from:o,to:o+r.nodeSize,mark:s})))}),i}function Xb(n,t,e){return Object.fromEntries(Object.entries(e).filter(([i])=>{const r=n.find(o=>o.type===t&&o.name===i);return!!r&&r.attribute.keepOnSplit}))}function YS(n,t,e={}){const{empty:i,ranges:r}=n.selection,o=t?Gl(t,n.schema):null;if(i)return!!(n.storedMarks||n.selection.$from.marks()).filter(d=>!o||o.name===d.type.name).find(d=>Gb(d.attrs,e,{strict:!1}));let s=0;const a=[];if(r.forEach(({$from:d,$to:h})=>{const f=d.pos,p=h.pos;n.doc.nodesBetween(f,p,(m,g)=>{if(!m.isText&&!m.marks.length)return;const y=Math.max(f,g),w=Math.min(p,g+m.nodeSize);s+=w-y,a.push(...m.marks.map(v=>({mark:v,from:y,to:w})))})}),0===s)return!1;const l=a.filter(d=>!o||o.name===d.mark.type.name).filter(d=>Gb(d.mark.attrs,e,{strict:!1})).reduce((d,h)=>d+h.to-h.from,0),c=a.filter(d=>!o||d.mark.type!==o&&d.mark.type.excludes(o)).reduce((d,h)=>d+h.to-h.from,0);return(l>0?l+c:l)>=s}function $5(n,t){const{nodeExtensions:e}=$b(t),i=e.find(s=>s.name===n);if(!i)return!1;const o=xt(He(i,"group",{name:i.name,options:i.options,storage:i.storage}));return"string"==typeof o&&o.split(" ").includes("list")}function _u(n,t,e){const r=n.state.doc.content.size,o=Ga(t,0,r),s=Ga(e,0,r),a=n.coordsAtPos(o),l=n.coordsAtPos(s,-1),c=Math.min(a.top,l.top),u=Math.max(a.bottom,l.bottom),d=Math.min(a.left,l.left),h=Math.max(a.right,l.right),y={top:c,bottom:u,left:d,right:h,width:h-d,height:u-c,x:d,y:c};return{...y,toJSON:()=>y}}function W5(n,t){const e=n.storedMarks||n.selection.$to.parentOffset&&n.selection.$from.marks();if(e){const i=e.filter(r=>t?.includes(r.type.name));n.tr.ensureMarks(i)}}const qS=(n,t)=>{const e=WS(s=>s.type===t)(n.selection);if(!e)return!0;const i=n.doc.resolve(Math.max(0,e.pos-1)).before(e.depth);if(void 0===i)return!0;const r=n.doc.nodeAt(i);return e.node.type===r?.type&&Al(n.doc,e.pos)&&n.join(e.pos),!0},KS=(n,t)=>{const e=WS(s=>s.type===t)(n.selection);if(!e)return!0;const i=n.doc.resolve(e.start).after(e.depth);if(void 0===i)return!0;const r=n.doc.nodeAt(i);return e.node.type===r?.type&&Al(n.doc,i)&&n.join(i),!0};var jce=Object.freeze({__proto__:null,blur:()=>({editor:n,view:t})=>(requestAnimationFrame(()=>{var e;n.isDestroyed||(t.dom.blur(),null===(e=window?.getSelection())||void 0===e||e.removeAllRanges())}),!0),clearContent:(n=!1)=>({commands:t})=>t.setContent("",n),clearNodes:()=>({state:n,tr:t,dispatch:e})=>{const{selection:i}=t,{ranges:r}=i;return e&&r.forEach(({$from:o,$to:s})=>{n.doc.nodesBetween(o.pos,s.pos,(a,l)=>{if(a.type.isText)return;const{doc:c,mapping:u}=t,d=c.resolve(u.map(l)),h=c.resolve(u.map(l+a.nodeSize)),f=d.blockRange(h);if(!f)return;const p=Eh(f);if(a.type.isTextblock){const{defaultType:m}=d.parent.contentMatchAt(d.index());t.setNodeMarkup(f.start,m)}(p||0===p)&&t.lift(f,p)})}),!0},command:n=>t=>n(t),createParagraphNear:()=>({state:n,dispatch:t})=>b5(n,t),deleteCurrentNode:()=>({tr:n,dispatch:t})=>{const{selection:e}=n,i=e.$anchor.node();if(i.content.size>0)return!1;const r=n.selection.$anchor;for(let o=r.depth;o>0;o-=1)if(r.node(o).type===i.type){if(t){const a=r.before(o),l=r.after(o);n.delete(a,l).scrollIntoView()}return!0}return!1},deleteNode:n=>({tr:t,state:e,dispatch:i})=>{const r=Ui(n,e.schema),o=t.selection.$anchor;for(let s=o.depth;s>0;s-=1)if(o.node(s).type===r){if(i){const l=o.before(s),c=o.after(s);t.delete(l,c).scrollIntoView()}return!0}return!1},deleteRange:n=>({tr:t,dispatch:e})=>{const{from:i,to:r}=n;return e&&t.delete(i,r),!0},deleteSelection:()=>({state:n,dispatch:t})=>xS(n,t),enter:()=>({commands:n})=>n.keyboardShortcut("Enter"),exitCode:()=>({state:n,dispatch:t})=>v5(n,t),extendMarkRange:(n,t={})=>({tr:e,state:i,dispatch:r})=>{const o=Gl(n,i.schema),{doc:s,selection:a}=e,{$from:l,from:c,to:u}=a;if(r){const d=HS(l,o,t);if(d&&d.from<=c&&d.to>=u){const h=at.create(s,d.from,d.to);e.setSelection(h)}}return!0},first:n=>t=>{const e="function"==typeof n?n(t):n;for(let i=0;i({editor:e,view:i,tr:r,dispatch:o})=>{t={scrollIntoView:!0,...t};const s=()=>{qb()&&i.dom.focus(),requestAnimationFrame(()=>{e.isDestroyed||(i.focus(),t?.scrollIntoView&&e.commands.scrollIntoView())})};if(i.hasFocus()&&null===n||!1===n)return!0;if(o&&null===n&&!Yb(e.state.selection))return s(),!0;const a=R5(r.doc,n)||e.state.selection,l=e.state.selection.eq(a);return o&&(l||r.setSelection(a),l&&r.storedMarks&&r.setStoredMarks(r.storedMarks),s()),!0},forEach:(n,t)=>e=>n.every((i,r)=>t(i,{...e,index:r})),insertContent:(n,t)=>({tr:e,commands:i})=>i.insertContentAt({from:e.selection.from,to:e.selection.to},n,t),insertContentAt:(n,t,e)=>({tr:i,dispatch:r,editor:o})=>{if(r){e={parseOptions:{},updateSelection:!0,...e};const s=Kb(t,o.schema,{parseOptions:{preserveWhitespace:"full",...e.parseOptions}});if("<>"===s.toString())return!0;let{from:a,to:l}="number"==typeof n?{from:n,to:n}:n,c=!0,u=!0;if(((n=>n.toString().startsWith("<"))(s)?s:[s]).forEach(h=>{h.check(),c=!!c&&h.isText&&0===h.marks.length,u=!!u&&h.isBlock}),a===l&&u){const{parent:h}=i.doc.resolve(a);h.isTextblock&&!h.type.spec.code&&!h.childCount&&(a-=1,l+=1)}c?Array.isArray(t)?i.insertText(t.map(h=>h.text||"").join(""),a,l):i.insertText("object"==typeof t&&t&&t.text?t.text:t,a,l):i.replaceWith(a,l,s),e.updateSelection&&function Qle(n,t,e){const i=n.steps.length-1;if(i{0===s&&(s=u)}),n.setSelection(ct.near(n.doc.resolve(s),e))}(i,i.steps.length-1,-1)}return!0},joinUp:()=>({state:n,dispatch:t})=>((n,t)=>{let r,e=n.selection,i=e instanceof Qe;if(i){if(e.node.isTextblock||!Al(n.doc,e.from))return!1;r=e.from}else if(r=Gj(n.doc,e.from,-1),null==r)return!1;if(t){let o=n.tr.join(r);i&&o.setSelection(Qe.create(o.doc,r-n.doc.resolve(r).nodeBefore.nodeSize)),t(o.scrollIntoView())}return!0})(n,t),joinDown:()=>({state:n,dispatch:t})=>((n,t)=>{let i,e=n.selection;if(e instanceof Qe){if(e.node.isTextblock||!Al(n.doc,e.to))return!1;i=e.to}else if(i=Gj(n.doc,e.to,1),null==i)return!1;return t&&t(n.tr.join(i).scrollIntoView()),!0})(n,t),joinBackward:()=>({state:n,dispatch:t})=>h5(n,t),joinForward:()=>({state:n,dispatch:t})=>g5(n,t),keyboardShortcut:n=>({editor:t,view:e,tr:i,dispatch:r})=>{const o=function ice(n){const t=n.split(/-(?!$)/);let i,r,o,s,e=t[t.length-1];"Space"===e&&(e=" ");for(let a=0;a!["Alt","Ctrl","Meta","Shift"].includes(c)),a=new KeyboardEvent("keydown",{key:"Space"===s?" ":s,altKey:o.includes("Alt"),ctrlKey:o.includes("Ctrl"),metaKey:o.includes("Meta"),shiftKey:o.includes("Shift"),bubbles:!0,cancelable:!0});return t.captureTransaction(()=>{e.someProp("handleKeyDown",c=>c(e,a))})?.steps.forEach(c=>{const u=c.map(i.mapping);u&&r&&i.maybeStep(u)}),!0},lift:(n,t={})=>({state:e,dispatch:i})=>!!fg(e,Ui(n,e.schema),t)&&((n,t)=>{let{$from:e,$to:i}=n.selection,r=e.blockRange(i),o=r&&Eh(r);return null!=o&&(t&&t(n.tr.lift(r,o).scrollIntoView()),!0)})(e,i),liftEmptyBlock:()=>({state:n,dispatch:t})=>C5(n,t),liftListItem:n=>({state:t,dispatch:e})=>function gle(n){return function(t,e){let{$from:i,$to:r}=t.selection,o=i.blockRange(r,s=>s.childCount>0&&s.firstChild.type==n);return!!o&&(!e||(i.node(o.depth-1).type==n?function yle(n,t,e,i){let r=n.tr,o=i.end,s=i.$to.end(i.depth);om;p--)f-=r.child(p).nodeSize,i.delete(f-1,f+1);let o=i.doc.resolve(e.start),s=o.nodeAfter;if(i.mapping.map(e.end)!=e.start+o.nodeAfter.nodeSize)return!1;let a=0==e.startIndex,l=e.endIndex==r.childCount,c=o.node(-1),u=o.index(-1);if(!c.canReplace(u+(a?0:1),u+1,s.content.append(l?he.empty:he.from(r))))return!1;let d=o.pos,h=d+s.nodeSize;return i.step(new Bi(d-(a?1:0),h+(l?1:0),d+1,h-1,new Te((a?he.empty:he.from(r.copy(he.empty))).append(l?he.empty:he.from(r.copy(he.empty))),a?0:1,l?0:1),a?0:1)),t(i.scrollIntoView()),!0}(t,e,o)))}}(Ui(n,t.schema))(t,e),newlineInCode:()=>({state:n,dispatch:t})=>_5(n,t),resetAttributes:(n,t)=>({tr:e,state:i,dispatch:r})=>{let o=null,s=null;const a=Qb("string"==typeof n?n:n.name,i.schema);return!!a&&("node"===a&&(o=Ui(n,i.schema)),"mark"===a&&(s=Gl(n,i.schema)),r&&e.selection.ranges.forEach(l=>{i.doc.nodesBetween(l.$from.pos,l.$to.pos,(c,u)=>{o&&o===c.type&&e.setNodeMarkup(u,void 0,j5(c.attrs,t)),s&&c.marks.length&&c.marks.forEach(d=>{s===d.type&&e.addMark(u,u+c.nodeSize,s.create(j5(d.attrs,t)))})})}),!0)},scrollIntoView:()=>({tr:n,dispatch:t})=>(t&&n.scrollIntoView(),!0),selectAll:()=>({tr:n,commands:t})=>t.setTextSelection({from:0,to:n.doc.content.size}),selectNodeBackward:()=>({state:n,dispatch:t})=>p5(n,t),selectNodeForward:()=>({state:n,dispatch:t})=>y5(n,t),selectParentNode:()=>({state:n,dispatch:t})=>((n,t)=>{let r,{$from:e,to:i}=n.selection,o=e.sharedDepth(i);return 0!=o&&(r=e.before(o),t&&t(n.tr.setSelection(Qe.create(n.doc,r))),!0)})(n,t),selectTextblockEnd:()=>({state:n,dispatch:t})=>S5(n,t),selectTextblockStart:()=>({state:n,dispatch:t})=>M5(n,t),setContent:(n,t=!1,e={})=>({tr:i,editor:r,dispatch:o})=>{const{doc:s}=i,a=z5(n,r.schema,e);return o&&i.replaceWith(0,s.content.size,a).setMeta("preventUpdate",!t),!0},setMark:(n,t={})=>({tr:e,state:i,dispatch:r})=>{const{selection:o}=e,{empty:s,ranges:a}=o,l=Gl(n,i.schema);if(r)if(s){const c=Zb(i,l);e.addStoredMark(l.create({...c,...t}))}else a.forEach(c=>{const u=c.$from.pos,d=c.$to.pos;i.doc.nodesBetween(u,d,(h,f)=>{const p=Math.max(f,u),m=Math.min(f+h.nodeSize,d);h.marks.find(y=>y.type===l)?h.marks.forEach(y=>{l===y.type&&e.addMark(p,m,l.create({...y.attrs,...t}))}):e.addMark(p,m,l.create(t))})});return function Ice(n,t,e){var i;const{selection:r}=t;let o=null;if(Yb(r)&&(o=r.$cursor),o){const a=null!==(i=n.storedMarks)&&void 0!==i?i:o.marks();return!!e.isInSet(a)||!a.some(l=>l.type.excludes(e))}const{ranges:s}=r;return s.some(({$from:a,$to:l})=>{let c=0===a.depth&&n.doc.inlineContent&&n.doc.type.allowsMarkType(e);return n.doc.nodesBetween(a.pos,l.pos,(u,d,h)=>{if(c)return!1;if(u.isInline){const f=!h||h.type.allowsMarkType(e),p=!!e.isInSet(u.marks)||!u.marks.some(m=>m.type.excludes(e));c=f&&p}return!c}),c})}(i,e,l)},setMeta:(n,t)=>({tr:e})=>(e.setMeta(n,t),!0),setNode:(n,t={})=>({state:e,dispatch:i,chain:r})=>{const o=Ui(n,e.schema);return o.isTextblock?r().command(({commands:s})=>!!E5(o,t)(e)||s.clearNodes()).command(({state:s})=>E5(o,t)(s,i)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},setNodeSelection:n=>({tr:t,dispatch:e})=>{if(e){const{doc:i}=t,r=Ga(n,0,i.content.size),o=Qe.create(i,r);t.setSelection(o)}return!0},setTextSelection:n=>({tr:t,dispatch:e})=>{if(e){const{doc:i}=t,{from:r,to:o}="number"==typeof n?{from:n,to:n}:n,s=at.atStart(i).from,a=at.atEnd(i).to,l=Ga(r,s,a),c=Ga(o,s,a),u=at.create(i,l,c);t.setSelection(u)}return!0},sinkListItem:n=>({state:t,dispatch:e})=>function vle(n){return function(t,e){let{$from:i,$to:r}=t.selection,o=i.blockRange(r,c=>c.childCount>0&&c.firstChild.type==n);if(!o)return!1;let s=o.startIndex;if(0==s)return!1;let a=o.parent,l=a.child(s-1);if(l.type!=n)return!1;if(e){let c=l.lastChild&&l.lastChild.type==a.type,u=he.from(c?n.create():null),d=new Te(he.from(n.create(null,he.from(a.type.create(null,u)))),c?3:1,0),h=o.start,f=o.end;e(t.tr.step(new Bi(h-(c?3:1),f,h,f,d,1,!0)).scrollIntoView())}return!0}}(Ui(n,t.schema))(t,e),splitBlock:({keepMarks:n=!0}={})=>({tr:t,state:e,dispatch:i,editor:r})=>{const{selection:o,doc:s}=t,{$from:a,$to:l}=o,u=Xb(r.extensionManager.attributes,a.node().type.name,a.node().attrs);if(o instanceof Qe&&o.node.isBlock)return!(!a.parentOffset||!Ua(s,a.pos)||(i&&(n&&W5(e,r.extensionManager.splittableMarks),t.split(a.pos).scrollIntoView()),0));if(!a.parent.isBlock)return!1;if(i){const d=l.parentOffset===l.parent.content.size;o instanceof at&&t.deleteSelection();const h=0===a.depth?void 0:function vce(n){for(let t=0;t({tr:t,state:e,dispatch:i,editor:r})=>{var o;const s=Ui(n,e.schema),{$from:a,$to:l}=e.selection,c=e.selection.node;if(c&&c.isBlock||a.depth<2||!a.sameParent(l))return!1;const u=a.node(-1);if(u.type!==s)return!1;const d=r.extensionManager.attributes;if(0===a.parent.content.size&&a.node(-1).childCount===a.indexAfter(-1)){if(2===a.depth||a.node(-3).type!==s||a.index(-2)!==a.node(-2).childCount-1)return!1;if(i){let g=he.empty;const y=a.index(-1)?1:a.index(-2)?2:3;for(let ae=a.depth-y;ae>=a.depth-3;ae-=1)g=he.from(a.node(ae).copy(g));const w=a.indexAfter(-1){if(x>-1)return!1;ae.isTextblock&&0===ae.content.size&&(x=Z+1)}),x>-1&&t.setSelection(at.near(t.doc.resolve(x))),t.scrollIntoView()}return!0}const h=l.pos===a.end()?u.contentMatchAt(0).defaultType:null,f=Xb(d,u.type.name,u.attrs),p=Xb(d,a.node().type.name,a.node().attrs);t.delete(a.pos,l.pos);const m=h?[{type:s,attrs:f},{type:h,attrs:p}]:[{type:s,attrs:f}];if(!Ua(t.doc,a.pos,2))return!1;if(i){const{selection:g,storedMarks:y}=e,{splittableMarks:w}=r.extensionManager,T=y||g.$to.parentOffset&&g.$from.marks();if(t.split(a.pos,2,m).scrollIntoView(),!T||!i)return!0;const v=T.filter(N=>w.includes(N.type.name));t.ensureMarks(v)}return!0},toggleList:(n,t,e,i={})=>({editor:r,tr:o,state:s,dispatch:a,chain:l,commands:c,can:u})=>{const{extensions:d,splittableMarks:h}=r.extensionManager,f=Ui(n,s.schema),p=Ui(t,s.schema),{selection:m,storedMarks:g}=s,{$from:y,$to:w}=m,T=y.blockRange(w),v=g||m.$to.parentOffset&&m.$from.marks();if(!T)return!1;const N=WS(x=>$5(x.type.name,d))(m);if(T.depth>=1&&N&&T.depth-N.depth<=1){if(N.node.type===f)return c.liftListItem(p);if($5(N.node.type.name,d)&&f.validContent(N.node.content)&&a)return l().command(()=>(o.setNodeMarkup(N.pos,f),!0)).command(()=>qS(o,f)).command(()=>KS(o,f)).run()}return e&&v&&a?l().command(()=>{const x=u().wrapInList(f,i),ae=v.filter(Z=>h.includes(Z.type.name));return o.ensureMarks(ae),!!x||c.clearNodes()}).wrapInList(f,i).command(()=>qS(o,f)).command(()=>KS(o,f)).run():l().command(()=>!!u().wrapInList(f,i)||c.clearNodes()).wrapInList(f,i).command(()=>qS(o,f)).command(()=>KS(o,f)).run()},toggleMark:(n,t={},e={})=>({state:i,commands:r})=>{const{extendEmptyMarkRange:o=!1}=e,s=Gl(n,i.schema);return YS(i,s,t)?r.unsetMark(s,{extendEmptyMarkRange:o}):r.setMark(s,t)},toggleNode:(n,t,e={})=>({state:i,commands:r})=>{const o=Ui(n,i.schema),s=Ui(t,i.schema);return fg(i,o,e)?r.setNode(s):r.setNode(o,e)},toggleWrap:(n,t={})=>({state:e,commands:i})=>{const r=Ui(n,e.schema);return fg(e,r,t)?i.lift(r):i.wrapIn(r,t)},undoInputRule:()=>({state:n,dispatch:t})=>{const e=n.plugins;for(let i=0;i=0;l-=1)s.step(a.steps[l].invert(a.docs[l]));if(o.text){const l=s.doc.resolve(o.from).marks();s.replaceWith(o.from,o.to,n.schema.text(o.text,l))}else s.delete(o.from,o.to)}return!0}}return!1},unsetAllMarks:()=>({tr:n,dispatch:t})=>{const{selection:e}=n,{empty:i,ranges:r}=e;return i||t&&r.forEach(o=>{n.removeMark(o.$from.pos,o.$to.pos)}),!0},unsetMark:(n,t={})=>({tr:e,state:i,dispatch:r})=>{var o;const{extendEmptyMarkRange:s=!1}=t,{selection:a}=e,l=Gl(n,i.schema),{$from:c,empty:u,ranges:d}=a;if(!r)return!0;if(u&&s){let{from:h,to:f}=a;const p=null===(o=c.marks().find(g=>g.type===l))||void 0===o?void 0:o.attrs,m=HS(c,l,p);m&&(h=m.from,f=m.to),e.removeMark(h,f,l)}else d.forEach(h=>{e.removeMark(h.$from.pos,h.$to.pos,l)});return e.removeStoredMark(l),!0},updateAttributes:(n,t={})=>({tr:e,state:i,dispatch:r})=>{let o=null,s=null;const a=Qb("string"==typeof n?n:n.name,i.schema);return!!a&&("node"===a&&(o=Ui(n,i.schema)),"mark"===a&&(s=Gl(n,i.schema)),r&&e.selection.ranges.forEach(l=>{const c=l.$from.pos,u=l.$to.pos;i.doc.nodesBetween(c,u,(d,h)=>{o&&o===d.type&&e.setNodeMarkup(h,void 0,{...d.attrs,...t}),s&&d.marks.length&&d.marks.forEach(f=>{if(s===f.type){const p=Math.max(h,c),m=Math.min(h+d.nodeSize,u);e.addMark(p,m,s.create({...f.attrs,...t}))}})})}),!0)},wrapIn:(n,t={})=>({state:e,dispatch:i})=>function rle(n,t=null){return function(e,i){let{$from:r,$to:o}=e.selection,s=r.blockRange(o),a=s&&OM(s,n,t);return!!a&&(i&&i(e.tr.wrap(s,a).scrollIntoView()),!0)}}(Ui(n,e.schema),t)(e,i),wrapInList:(n,t={})=>({state:e,dispatch:i})=>function ple(n,t=null){return function(e,i){let{$from:r,$to:o}=e.selection,s=r.blockRange(o),a=!1,l=s;if(!s)return!1;if(s.depth>=2&&r.node(s.depth-1).type.compatibleContent(n)&&0==s.startIndex){if(0==r.index(s.depth-1))return!1;let u=e.doc.resolve(s.start-2);l=new mb(u,u,s.depth),s.endIndex=0;u--)o=he.from(e[u].type.create(e[u].attrs,o));n.step(new Bi(t.start-(i?2:0),t.end,t.start,t.end,new Te(o,0,0),e.length,!0));let s=0;for(let u=0;u({...jce})}),Vce=Sn.create({name:"editable",addProseMirrorPlugins(){return[new Kt({key:new an("editable"),props:{editable:()=>this.editor.options.editable}})]}}),Bce=Sn.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:n}=this;return[new Kt({key:new an("focusEvents"),props:{handleDOMEvents:{focus:(t,e)=>{n.isFocused=!0;const i=n.state.tr.setMeta("focus",{event:e}).setMeta("addToHistory",!1);return t.dispatch(i),!1},blur:(t,e)=>{n.isFocused=!1;const i=n.state.tr.setMeta("blur",{event:e}).setMeta("addToHistory",!1);return t.dispatch(i),!1}}}})]}}),Uce=Sn.create({name:"keymap",addKeyboardShortcuts(){const n=()=>this.editor.commands.first(({commands:s})=>[()=>s.undoInputRule(),()=>s.command(({tr:a})=>{const{selection:l,doc:c}=a,{empty:u,$anchor:d}=l,{pos:h,parent:f}=d,p=ct.atStart(c).from===h;return!(!(u&&p&&f.type.isTextblock)||f.textContent.length)&&s.clearNodes()}),()=>s.deleteSelection(),()=>s.joinBackward(),()=>s.selectNodeBackward()]),t=()=>this.editor.commands.first(({commands:s})=>[()=>s.deleteSelection(),()=>s.deleteCurrentNode(),()=>s.joinForward(),()=>s.selectNodeForward()]),i={Enter:()=>this.editor.commands.first(({commands:s})=>[()=>s.newlineInCode(),()=>s.createParagraphNear(),()=>s.liftEmptyBlock(),()=>s.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:n,"Mod-Backspace":n,"Shift-Backspace":n,Delete:t,"Mod-Delete":t,"Mod-a":()=>this.editor.commands.selectAll()},r={...i},o={...i,"Ctrl-h":n,"Alt-Backspace":n,"Ctrl-d":t,"Ctrl-Alt-Backspace":t,"Alt-Delete":t,"Alt-d":t,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return qb()||F5()?o:r},addProseMirrorPlugins(){return[new Kt({key:new an("clearDocument"),appendTransaction:(n,t,e)=>{if(!n.some(p=>p.docChanged)||t.doc.eq(e.doc))return;const{empty:r,from:o,to:s}=t.selection,a=ct.atStart(t.doc).from,l=ct.atEnd(t.doc).to;if(r||o!==a||s!==l||0!==e.doc.textBetween(0,e.doc.content.size," "," ").length)return;const d=e.tr,h=Ub({state:e,transaction:d}),{commands:f}=new Hb({editor:this.editor,state:h});return f.clearNodes(),d.steps.length?d:void 0}})]}}),Hce=Sn.create({name:"tabindex",addProseMirrorPlugins(){return[new Kt({key:new an("tabindex"),props:{attributes:this.editor.isEditable?{tabindex:"0"}:{}}})]}});var $ce=Object.freeze({__proto__:null,ClipboardTextSerializer:kle,Commands:zce,Editable:Vce,FocusEvents:Bce,Keymap:Uce,Tabindex:Hce});class Yce extends ble{constructor(t={}){super(),this.isFocused=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(t),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.createView(),this.injectCSS(),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),window.setTimeout(()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}))},0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&document&&(this.css=function Gce(n,t){const e=document.querySelector("style[data-tiptap-style]");if(null!==e)return e;const i=document.createElement("style");return t&&i.setAttribute("nonce",t),i.setAttribute("data-tiptap-style",""),i.innerHTML=n,document.getElementsByTagName("head")[0].appendChild(i),i}('.ProseMirror {\n position: relative;\n}\n\n.ProseMirror {\n word-wrap: break-word;\n white-space: pre-wrap;\n white-space: break-spaces;\n -webkit-font-variant-ligatures: none;\n font-variant-ligatures: none;\n font-feature-settings: "liga" 0; /* the above doesn\'t seem to work in Edge */\n}\n\n.ProseMirror [contenteditable="false"] {\n white-space: normal;\n}\n\n.ProseMirror [contenteditable="false"] [contenteditable="true"] {\n white-space: pre-wrap;\n}\n\n.ProseMirror pre {\n white-space: pre-wrap;\n}\n\nimg.ProseMirror-separator {\n display: inline !important;\n border: none !important;\n margin: 0 !important;\n width: 1px !important;\n height: 1px !important;\n}\n\n.ProseMirror-gapcursor {\n display: none;\n pointer-events: none;\n position: absolute;\n margin: 0;\n}\n\n.ProseMirror-gapcursor:after {\n content: "";\n display: block;\n position: absolute;\n top: -2px;\n width: 20px;\n border-top: 1px solid black;\n animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n}\n\n@keyframes ProseMirror-cursor-blink {\n to {\n visibility: hidden;\n }\n}\n\n.ProseMirror-hideselection *::selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection *::-moz-selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection * {\n caret-color: transparent;\n}\n\n.ProseMirror-focused .ProseMirror-gapcursor {\n display: block;\n}\n\n.tippy-box[data-animation=fade][data-state=hidden] {\n opacity: 0\n}',this.options.injectNonce))}setOptions(t={}){this.options={...this.options,...t},this.view&&this.state&&!this.isDestroyed&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(t,e=!0){this.setOptions({editable:t}),e&&this.emit("update",{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(t,e){const i=O5(e)?e(t,[...this.state.plugins]):[...this.state.plugins,t],r=this.state.reconfigure({plugins:i});this.view.updateState(r)}unregisterPlugin(t){if(this.isDestroyed)return;const e="string"==typeof t?`${t}$`:t.key,i=this.state.reconfigure({plugins:this.state.plugins.filter(r=>!r.key.startsWith(e))});this.view.updateState(i)}createExtensionManager(){const e=[...this.options.enableCoreExtensions?Object.values($ce):[],...this.options.extensions].filter(i=>["extension","node","mark"].includes(i?.type));this.extensionManager=new yu(e,this)}createCommandManager(){this.commandManager=new Hb({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){const t=z5(this.options.content,this.schema,this.options.parseOptions),e=R5(t,this.options.autofocus);this.view=new Bae(this.options.element,{...this.options.editorProps,dispatchTransaction:this.dispatchTransaction.bind(this),state:Ah.create({doc:t,selection:e||void 0})});const i=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(i),this.createNodeViews(),this.view.dom.editor=this}createNodeViews(){this.view.setProps({nodeViews:this.extensionManager.nodeViews})}captureTransaction(t){this.isCapturingTransaction=!0,t(),this.isCapturingTransaction=!1;const e=this.capturedTransaction;return this.capturedTransaction=null,e}dispatchTransaction(t){if(this.view.isDestroyed)return;if(this.isCapturingTransaction)return this.capturedTransaction?void t.steps.forEach(s=>{var a;return null===(a=this.capturedTransaction)||void 0===a?void 0:a.step(s)}):void(this.capturedTransaction=t);const e=this.state.apply(t),i=!this.state.selection.eq(e.selection);this.view.updateState(e),this.emit("transaction",{editor:this,transaction:t}),i&&this.emit("selectionUpdate",{editor:this,transaction:t});const r=t.getMeta("focus"),o=t.getMeta("blur");r&&this.emit("focus",{editor:this,event:r.event,transaction:t}),o&&this.emit("blur",{editor:this,event:o.event,transaction:t}),t.docChanged&&!t.getMeta("preventUpdate")&&this.emit("update",{editor:this,transaction:t})}getAttributes(t){return H5(this.state,t)}isActive(t,e){return function Sce(n,t,e={}){if(!t)return fg(n,null,e)||YS(n,null,e);const i=Qb(t,n.schema);return"node"===i?fg(n,t,e):"mark"===i&&YS(n,t,e)}(this.state,"string"==typeof t?t:null,"string"==typeof t?e:t)}getJSON(){return this.state.doc.toJSON()}getHTML(){return function B5(n,t){const e=Gs.fromSchema(t).serializeFragment(n),r=document.implementation.createHTMLDocument().createElement("div");return r.appendChild(e),r.innerHTML}(this.state.doc.content,this.schema)}getText(t){const{blockSeparator:e="\n\n",textSerializers:i={}}=t||{};return function U5(n,t){return L5(n,{from:0,to:n.content.size},t)}(this.state.doc,{blockSeparator:e,textSerializers:{...BS(this.schema),...i}})}get isEmpty(){return function Ece(n){var t;const e=null===(t=n.type.createAndFill())||void 0===t?void 0:t.toJSON(),i=n.toJSON();return JSON.stringify(e)===JSON.stringify(i)}(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){this.emit("destroy"),this.view&&this.view.destroy(),this.removeAllListeners()}get isDestroyed(){var t;return!(null!==(t=this.view)&&void 0!==t&&t.docView)}}function vu(n){return new hg({find:n.find,handler:({state:t,range:e,match:i})=>{const r=xt(n.getAttributes,void 0,i);if(!1===r||null===r)return null;const{tr:o}=t,s=i[i.length-1],a=i[0];let l=e.to;if(s){const c=a.search(/\S/),u=e.from+a.indexOf(s),d=u+s.length;if(Jb(e.from,e.to,t.doc).filter(f=>f.mark.type.excluded.find(m=>m===n.type&&m!==f.mark.type)).filter(f=>f.to>u).length)return null;de.from&&o.delete(e.from+c,u),l=e.from+c+s.length,o.addMark(e.from+c,l,n.type.create(r||{})),o.removeStoredMark(n.type)}}})}function G5(n){return new hg({find:n.find,handler:({state:t,range:e,match:i})=>{const r=xt(n.getAttributes,void 0,i)||{},{tr:o}=t,s=e.from;let a=e.to;if(i[1]){let c=s+i[0].lastIndexOf(i[1]);c>a?c=a:a=c+i[1].length,o.insertText(i[0][i[0].length-1],s+i[0].length-1),o.replaceWith(c,a,n.type.create(r))}else i[0]&&o.replaceWith(s,a,n.type.create(r))}})}function QS(n){return new hg({find:n.find,handler:({state:t,range:e,match:i})=>{const r=t.doc.resolve(e.from),o=xt(n.getAttributes,void 0,i)||{};if(!r.node(-1).canReplaceWith(r.index(-1),r.indexAfter(-1),n.type))return null;t.tr.delete(e.from,e.to).setBlockType(e.from,e.from,n.type,o)}})}function pg(n){return new hg({find:n.find,handler:({state:t,range:e,match:i,chain:r})=>{const o=xt(n.getAttributes,void 0,i)||{},s=t.tr.delete(e.from,e.to),l=s.doc.resolve(e.from).blockRange(),c=l&&OM(l,n.type,o);if(!c)return null;if(s.wrap(l,c),n.keepMarks&&n.editor){const{selection:d,storedMarks:h}=t,{splittableMarks:f}=n.editor.extensionManager,p=h||d.$to.parentOffset&&d.$from.marks();if(p){const m=p.filter(g=>f.includes(g.type.name));s.ensureMarks(m)}}if(n.keepAttributes){const d="bulletList"===n.type.name||"orderedList"===n.type.name?"listItem":"taskList";r().updateAttributes(d,o).run()}const u=s.doc.resolve(e.from-1).nodeBefore;u&&u.type===n.type&&Al(s.doc,e.from-1)&&(!n.joinPredicate||n.joinPredicate(i,u))&&s.join(e.from-1)}})}class Pr{constructor(t={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=xt(He(this,"addOptions",{name:this.name}))),this.storage=xt(He(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new Pr(t)}configure(t={}){const e=this.extend();return e.options=Wb(this.options,t),e.storage=xt(He(e,"addStorage",{name:e.name,options:e.options})),e}extend(t={}){const e=new Pr(t);return e.parent=this,this.child=e,e.name=t.name?t.name:e.parent.name,t.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${e.name}".`),e.options=xt(He(e,"addOptions",{name:e.name})),e.storage=xt(He(e,"addStorage",{name:e.name,options:e.options})),e}static handleExit({editor:t,mark:e}){const{tr:i}=t.state,r=t.state.selection.$from;if(r.pos===r.end()){const s=r.marks();if(!s.find(c=>c?.type.name===e.name))return!1;const l=s.find(c=>c?.type.name===e.name);return l&&i.removeStoredMark(l),i.insertText(" ",r.pos),t.view.dispatch(i),!0}return!1}}class Bn{constructor(t={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=xt(He(this,"addOptions",{name:this.name}))),this.storage=xt(He(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new Bn(t)}configure(t={}){const e=this.extend();return e.options=Wb(this.options,t),e.storage=xt(He(e,"addStorage",{name:e.name,options:e.options})),e}extend(t={}){const e=new Bn(t);return e.parent=this,this.child=e,e.name=t.name?t.name:e.parent.name,t.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${e.name}".`),e.options=xt(He(e,"addOptions",{name:e.name})),e.storage=xt(He(e,"addStorage",{name:e.name,options:e.options})),e}}class qce{constructor(t,e,i){this.isDragging=!1,this.component=t,this.editor=e.editor,this.options={stopEvent:null,ignoreMutation:null,...i},this.extension=e.extension,this.node=e.node,this.decorations=e.decorations,this.getPos=e.getPos,this.mount()}mount(){}get dom(){return this.editor.view.dom}get contentDOM(){return null}onDragStart(t){var e,i,r,o,s,a,l;const{view:c}=this.editor,u=t.target,d=3===u.nodeType?null===(e=u.parentElement)||void 0===e?void 0:e.closest("[data-drag-handle]"):u.closest("[data-drag-handle]");if(!this.dom||null!==(i=this.contentDOM)&&void 0!==i&&i.contains(u)||!d)return;let h=0,f=0;if(this.dom!==d){const g=this.dom.getBoundingClientRect(),y=d.getBoundingClientRect(),w=null!==(r=t.offsetX)&&void 0!==r?r:null===(o=t.nativeEvent)||void 0===o?void 0:o.offsetX,T=null!==(s=t.offsetY)&&void 0!==s?s:null===(a=t.nativeEvent)||void 0===a?void 0:a.offsetY;h=y.x-g.x+w,f=y.y-g.y+T}null===(l=t.dataTransfer)||void 0===l||l.setDragImage(this.dom,h,f);const p=Qe.create(c.state.doc,this.getPos()),m=c.state.tr.setSelection(p);c.dispatch(m)}stopEvent(t){var e;if(!this.dom)return!1;if("function"==typeof this.options.stopEvent)return this.options.stopEvent({event:t});const i=t.target;if(!this.dom.contains(i)||null!==(e=this.contentDOM)&&void 0!==e&&e.contains(i))return!1;const o=t.type.startsWith("drag"),s="drop"===t.type;if((["INPUT","BUTTON","SELECT","TEXTAREA"].includes(i.tagName)||i.isContentEditable)&&!s&&!o)return!0;const{isEditable:l}=this.editor,{isDragging:c}=this,u=!!this.node.type.spec.draggable,d=Qe.isSelectable(this.node),h="copy"===t.type,f="paste"===t.type,p="cut"===t.type,m="mousedown"===t.type;if(!u&&d&&o&&t.preventDefault(),u&&o&&!c)return t.preventDefault(),!1;if(u&&l&&!c&&m){const g=i.closest("[data-drag-handle]");g&&(this.dom===g||this.dom.contains(g))&&(this.isDragging=!0,document.addEventListener("dragend",()=>{this.isDragging=!1},{once:!0}),document.addEventListener("drop",()=>{this.isDragging=!1},{once:!0}),document.addEventListener("mouseup",()=>{this.isDragging=!1},{once:!0}))}return!(c||s||h||f||p||m&&d)}ignoreMutation(t){return!this.dom||!this.contentDOM||("function"==typeof this.options.ignoreMutation?this.options.ignoreMutation({mutation:t}):!(!this.node.isLeaf&&!this.node.isAtom&&("selection"===t.type||this.dom.contains(t.target)&&"childList"===t.type&&qb()&&this.editor.isFocused&&[...Array.from(t.addedNodes),...Array.from(t.removedNodes)].every(i=>i.isContentEditable)||(this.contentDOM!==t.target||"attributes"!==t.type)&&this.contentDOM.contains(t.target))))}updateAttributes(t){this.editor.commands.command(({tr:e})=>{const i=this.getPos();return e.setNodeMarkup(i,void 0,{...this.node.attrs,...t}),!0})}deleteNode(){const t=this.getPos();this.editor.commands.deleteRange({from:t,to:t+this.node.nodeSize})}}function Yl(n){return new zS({find:n.find,handler:({state:t,range:e,match:i})=>{const r=xt(n.getAttributes,void 0,i);if(!1===r||null===r)return null;const{tr:o}=t,s=i[i.length-1],a=i[0];let l=e.to;if(s){const c=a.search(/\S/),u=e.from+a.indexOf(s),d=u+s.length;if(Jb(e.from,e.to,t.doc).filter(f=>f.mark.type.excluded.find(m=>m===n.type&&m!==f.mark.type)).filter(f=>f.to>u).length)return null;de.from&&o.delete(e.from+c,u),l=e.from+c+s.length,o.addMark(e.from+c,l,n.type.create(r||{})),o.removeStoredMark(n.type)}}})}function Qce(n){return new zS({find:n.find,handler({match:t,chain:e,range:i}){const r=xt(n.getAttributes,void 0,t);if(!1===r||null===r)return null;t.input&&e().deleteRange(i).insertContentAt(i.from,{type:n.type.name,attrs:r})}})}const Jce=new an("suggestion");function Xce({pluginKey:n=Jce,editor:t,char:e="@",allowSpaces:i=!1,allowedPrefixes:r=[" "],startOfLine:o=!1,decorationTag:s="span",decorationClass:a="suggestion",command:l=(()=>null),items:c=(()=>[]),render:u=(()=>({})),allow:d=(()=>!0)}){let h;const f=u?.(),p=new Kt({key:n,view(){var g,m=this;return{update:(g=tu(function*(y,w){var T,v,N,x,ae,Z,Pe;const Ge=null===(T=m.key)||void 0===T?void 0:T.getState(w),Tt=null===(v=m.key)||void 0===v?void 0:v.getState(y.state),ht=Ge.active&&Tt.active&&Ge.range.from!==Tt.range.from,ut=!Ge.active&&Tt.active,vn=Ge.active&&!Tt.active,de=ut||ht,ge=!ut&&!vn&&Ge.query!==Tt.query&&!ht,be=vn||ht;if(!de&&!ge&&!be)return;const We=be&&!de?Ge:Tt,Lt=y.dom.querySelector(`[data-decoration-id="${We.decorationId}"]`);h={editor:t,range:We.range,query:We.query,text:We.text,items:[],command:dn=>{l({editor:t,range:We.range,props:dn})},decorationNode:Lt,clientRect:Lt?()=>{var dn;const{decorationId:Wt}=null===(dn=m.key)||void 0===dn?void 0:dn.getState(t.state);return y.dom.querySelector(`[data-decoration-id="${Wt}"]`)?.getBoundingClientRect()||null}:null},de&&(null===(N=f?.onBeforeStart)||void 0===N||N.call(f,h)),ge&&(null===(x=f?.onBeforeUpdate)||void 0===x||x.call(f,h)),(ge||de)&&(h.items=yield c({editor:t,query:We.query})),be&&(null===(ae=f?.onExit)||void 0===ae||ae.call(f,h)),ge&&(null===(Z=f?.onUpdate)||void 0===Z||Z.call(f,h)),de&&(null===(Pe=f?.onStart)||void 0===Pe||Pe.call(f,h))}),function(w,T){return g.apply(this,arguments)}),destroy:()=>{var g;h&&(null===(g=f?.onExit)||void 0===g||g.call(f,h))}}},state:{init:()=>({active:!1,range:{from:0,to:0},query:null,text:null,composing:!1}),apply(m,g,y,w){const{isEditable:T}=t,{composing:v}=t.view,{selection:N}=m,{empty:x,from:ae}=N,Z={...g};if(Z.composing=v,T&&(x||t.view.composing)){(aeg.range.to)&&!v&&!g.composing&&(Z.active=!1);const Pe=function Zce(n){var t;const{char:e,allowSpaces:i,allowedPrefixes:r,startOfLine:o,$position:s}=n,a=function Kce(n){return n.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}(e),l=new RegExp(`\\s${a}$`),c=o?"^":"",u=i?new RegExp(`${c}${a}.*?(?=\\s${a}|$)`,"gm"):new RegExp(`${c}(?:^)?${a}[^\\s${a}]*`,"gm"),d=(null===(t=s.nodeBefore)||void 0===t?void 0:t.isText)&&s.nodeBefore.text;if(!d)return null;const h=s.pos-d.length,f=Array.from(d.matchAll(u)).pop();if(!f||void 0===f.input||void 0===f.index)return null;const p=f.input.slice(Math.max(0,f.index-1),f.index),m=new RegExp(`^[${r?.join("")}\0]?$`).test(p);if(null!==r&&!m)return null;const g=h+f.index;let y=g+f[0].length;return i&&l.test(d.slice(y-1,y+1))&&(f[0]+=" ",y+=1),g=s.pos?{range:{from:g,to:y},query:f[0].slice(e.length),text:f[0]}:null}({char:e,allowSpaces:i,allowedPrefixes:r,startOfLine:o,$position:N.$from}),Ge=`id_${Math.floor(4294967295*Math.random())}`;Pe&&d({editor:t,state:w,range:Pe.range})?(Z.active=!0,Z.decorationId=g.decorationId?g.decorationId:Ge,Z.range=Pe.range,Z.query=Pe.query,Z.text=Pe.text):Z.active=!1}else Z.active=!1;return Z.active||(Z.decorationId=null,Z.range={from:0,to:0},Z.query=null,Z.text=null),Z}},props:{handleKeyDown(m,g){var y;const{active:w,range:T}=p.getState(m.state);return w&&(null===(y=f?.onKeyDown)||void 0===y?void 0:y.call(f,{view:m,event:g,range:T}))||!1},decorations(m){const{active:g,range:y,decorationId:w}=p.getState(m);return g?Vn.create(m.doc,[Pi.inline(y.from,y.to,{nodeName:s,class:a,"data-decoration-id":w})]):null}}});return p}const eue=function(){return{padding:".75rem 2rem",borderRadius:"2px"}};function tue(n,t){if(1&n){const e=Ne();S(0,"button",2),se("mousedown",function(){return ee(e),te(C().back.emit())}),E()}2&n&&Gn(cr(2,eue))}class Hh{constructor(){this.title="No Results",this.showBackBtn=!1,this.back=new Q}}function nue(n,t){if(1&n&&(S(0,"i",7),Se(1),E()),2&n){const e=C();b(1),yt(e.url)}}function iue(n,t){1&n&&me(0,"dot-contentlet-thumbnail",9),2&n&&_("contentlet",C(2).data.contentlet)("width",42)("height",42)("iconSize","42px")}function rue(n,t){if(1&n&&D(0,iue,1,4,"dot-contentlet-thumbnail",8),2&n){const e=C(),i=Ht(10);_("ngIf",null==e.data?null:e.data.contentlet)("ngIfElse",i)}}function oue(n,t){if(1&n&&(S(0,"span",10),Se(1),E()),2&n){const e=C();b(1),yt(e.data.contentlet.url)}}function sue(n,t){if(1&n&&(S(0,"div",11),me(1,"dot-state-icon",12),S(2,"dot-badge",13),Se(3),Yn(4,"lowercase"),E()()),2&n){const e=C();b(1),_("state",e.data.contentlet),b(2),yt(qn(4,2,e.data.contentlet.language))}}function aue(n,t){1&n&&me(0,"img",14),2&n&&_("src",C().url,Po)}Hh.\u0275fac=function(t){return new(t||Hh)},Hh.\u0275cmp=Ce({type:Hh,selectors:[["dot-empty-message"]],inputs:{title:"title",showBackBtn:"showBackBtn"},outputs:{back:"back"},decls:2,vars:2,consts:[[3,"innerHTML"],["pButton","","class","p-button-outlined","label","Back","type","submit",3,"style","mousedown",4,"ngIf"],["pButton","","label","Back","type","submit",1,"p-button-outlined",3,"mousedown"]],template:function(t,e){1&t&&(me(0,"p",0),D(1,tue,1,3,"button",1)),2&t&&(_("innerHTML",e.title,Dc),b(1),_("ngIf",e.showBackBtn))},dependencies:[zt,Qr],styles:["[_nghost-%COMP%]{align-items:center;flex-direction:column;display:flex;justify-content:center;padding:16px;height:240px}"]});class bu{constructor(t){this.element=t,this.role="list-item",this.tabindex="-1",this.disabled=!1,this.label="",this.url="",this.page=!1,this.data=null,this.icon=!1}onMouseDown(t){t.preventDefault(),this.disabled||this.command()}ngOnInit(){this.icon=this.icon="string"==typeof this.url&&!(this.url.split("/").length>1)}getLabel(){return this.element.nativeElement.innerText}focus(){this.element.nativeElement.style="background: #eee"}unfocus(){this.element.nativeElement.style=""}scrollIntoView(){if(!this.isIntoView()){const t=this.element.nativeElement,e=t.parentElement,{top:i,top:r,height:o}=e.getBoundingClientRect(),{top:s,bottom:a}=t.getBoundingClientRect(),l=s-i,c=a-r;e.scrollTop+=this.alignToTop()?l:c-o}}isIntoView(){const{bottom:t,top:e}=this.element.nativeElement.getBoundingClientRect(),i=this.element.nativeElement.parentElement.getBoundingClientRect();return e>=i.top&&t<=i.bottom}alignToTop(){const{top:t}=this.element.nativeElement.getBoundingClientRect(),{top:e}=this.element.nativeElement.parentElement.getBoundingClientRect();return t span[_ngcontent-%COMP%]{overflow:hidden;display:block;white-space:nowrap;text-overflow:ellipsis;margin-bottom:4px}.data-wrapper[_ngcontent-%COMP%] .url[_ngcontent-%COMP%]{color:#afb3c0;font-size:14.4px}.data-wrapper[_ngcontent-%COMP%] .state[_ngcontent-%COMP%]{margin-top:8px;display:flex;align-items:flex-end}.data-wrapper[_ngcontent-%COMP%] .state[_ngcontent-%COMP%] dot-state-icon[_ngcontent-%COMP%]{margin-right:8px}"]});class $h{constructor(){this.id="editor-suggestion-list",this.suggestionItems=[],this.destroy$=new ue,this.mouseMove=!0}onMouseMove(){this.mouseMove=!0}onMouseOver(t){const e=t.target,i=e.dataset?.index;if(isNaN(i)||!this.mouseMove)return;const r=Number(e?.dataset.index);e.getAttribute("disabled")?this.keyManager.activeItem?.unfocus():this.updateActiveItem(r)}onMouseDownHandler(t){t.preventDefault()}ngAfterViewInit(){this.keyManager=new fR(this.items).withWrap(),requestAnimationFrame(()=>this.setFirstItemActive()),this.items.changes.pipe(yn(this.destroy$)).subscribe(()=>requestAnimationFrame(()=>this.setFirstItemActive()))}ngOnDestroy(){this.destroy$.next(!0)}updateSelection(t){this.keyManager.activeItem&&this.keyManager.activeItem.unfocus(),this.keyManager.onKeydown(t),this.keyManager.activeItem?.scrollIntoView(),this.mouseMove=!1}execCommand(){this.keyManager.activeItem.command()}setFirstItemActive(){this.keyManager.activeItem?.unfocus(),this.keyManager.setFirstItemActive(),this.keyManager.activeItem?.focus()}resetKeyManager(){this.keyManager.activeItem?.unfocus(),this.keyManager=new fR(this.items).withWrap(),this.setFirstItemActive()}updateActiveItem(t){this.keyManager.activeItem?.unfocus(),this.keyManager.setActiveItem(t)}}function cue(n,t){1&n&&(S(0,"div",1),me(1,"div",2),S(2,"div",3)(3,"div",4)(4,"div"),me(5,"span",5)(6,"span",6),E(),S(7,"div",7),me(8,"span",8)(9,"span",9),E()()()())}$h.\u0275fac=function(t){return new(t||$h)},$h.\u0275cmp=Ce({type:$h,selectors:[["dot-suggestion-list"]],contentQueries:function(t,e,i){if(1&t&&Kn(i,bu,4),2&t){let r;Ve(r=Be())&&(e.items=r)}},hostVars:1,hostBindings:function(t,e){1&t&&se("mousemove",function(r){return e.onMouseMove(r)})("mouseover",function(r){return e.onMouseOver(r)})("mousedown",function(r){return e.onMouseDownHandler(r)}),2&t&&Ct("id",e.id)},inputs:{suggestionItems:"suggestionItems"},ngContentSelectors:["*"],decls:1,vars:0,template:function(t,e){1&t&&($r(),xi(0))},styles:["[_nghost-%COMP%]{width:100%;height:100%;max-height:400px;overflow:auto;display:block}"]});class mg{constructor(){this.items=Array(4).fill(0)}}mg.\u0275fac=function(t){return new(t||mg)},mg.\u0275cmp=Ce({type:mg,selectors:[["dot-suggestion-loading-list"]],decls:1,vars:1,consts:[["class","card",4,"ngFor","ngForOf"],[1,"card"],[1,"image","skeleton"],[1,"body"],[1,"data-wrapper"],[1,"title","skeleton"],[1,"subtitle","skeleton"],[1,"state"],[1,"circle","skeleton"],[1,"meta","skeleton"]],template:function(t,e){1&t&&D(0,cue,10,0,"div",0),2&t&&_("ngForOf",e.items)},dependencies:[Er],styles:["[_nghost-%COMP%]{width:100%;height:100%;max-height:400px;overflow:auto;display:block}.skeleton[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_skeleton-loading 1s linear infinite alternate}.card[_ngcontent-%COMP%]{width:100%;max-height:80px;box-sizing:border-box;display:flex;gap:1rem;padding:8px;background-color:#fff;cursor:pointer}.image[_ngcontent-%COMP%]{min-width:64px;min-height:64px;background:#14151a}.body[_ngcontent-%COMP%]{display:block;width:100%;height:100%}.body[_ngcontent-%COMP%] .data-wrapper[_ngcontent-%COMP%]{overflow:hidden;height:100%;display:flex;flex-direction:column;justify-content:space-between}.body[_ngcontent-%COMP%] .data-wrapper[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], .body[_ngcontent-%COMP%] .data-wrapper[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{width:80%;overflow:hidden;display:block;white-space:nowrap;text-overflow:ellipsis;background-color:#14151a;height:12px;border-radius:5px;margin-bottom:10px}.body[_ngcontent-%COMP%] .data-wrapper[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{width:85%;height:10px}.body[_ngcontent-%COMP%] .data-wrapper[_ngcontent-%COMP%] .state[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;align-items:center}.body[_ngcontent-%COMP%] .data-wrapper[_ngcontent-%COMP%] .state[_ngcontent-%COMP%] .circle[_ngcontent-%COMP%]{width:16px;height:16px;background:#000;border-radius:100%;margin-right:.5rem}.body[_ngcontent-%COMP%] .data-wrapper[_ngcontent-%COMP%] .state[_ngcontent-%COMP%] .meta[_ngcontent-%COMP%]{width:30px;height:10px;background:#000;border-radius:4px}@keyframes _ngcontent-%COMP%_skeleton-loading{0%{background-color:#ccc}to{background-color:#f2f2f2}}"]});class ql{constructor(t){this.http=t}get defaultHeaders(){const t=new Kr;return t.set("Accept","*/*").set("Content-Type","application/json"),t}getLanguages(){return this.languages?Re(this.languages):this.http.get("/api/v2/languages",{headers:this.defaultHeaders}).pipe(Oe("entity"),fe(t=>{const e=this.getDotLanguageObject(t);return this.languages=e,e}))}getDotLanguageObject(t){return t.reduce((e,i)=>Object.assign(e,{[i.id]:i}),{})}}ql.\u0275fac=function(t){return new(t||ql)(F(Ki))},ql.\u0275prov=H({token:ql,factory:ql.\u0275fac,providedIn:"root"});const uue={SHOW_VIDEO_THUMBNAIL:!0};class Cu{constructor(){this.config=uue}get configObject(){return this.config}setProperty(t,e){this.config={...this.config,[t]:e}}getProperty(t){return this.config[t]||!1}}Cu.\u0275fac=function(t){return new(t||Cu)},Cu.\u0275prov=H({token:Cu,factory:Cu.\u0275fac,providedIn:"root"});var Kl=(()=>(function(n){n.DOWNLOAD="DOWNLOADING",n.IMPORT="IMPORTING",n.COMPLETED="COMPLETED",n.ERROR="ERROR"}(Kl||(Kl={})),Kl))();class ea{constructor(t,e){this.http=t,this.dotUploadService=e}publishContent({data:t,maxSize:e,statusCallback:i=(o=>{}),signal:r}){return i(Kl.DOWNLOAD),this.setTempResource({data:t,maxSize:e,signal:r}).pipe(li(o=>{const s=Array.isArray(o)?o:[o],a=[];return s.forEach(l=>{a.push({baseType:"dotAsset",asset:l.id,hostFolder:"",indexPolicy:"WAIT_FOR"})}),i(Kl.IMPORT),this.http.post("/api/v1/workflow/actions/default/fire/PUBLISH",JSON.stringify({contentlets:a}),{headers:{Origin:window.location.hostname,"Content-Type":"application/json;charset=UTF-8"}}).pipe(Oe("entity","results"))}),zi(o=>vo(o)))}setTempResource({data:t,maxSize:e,signal:i}){return Et(this.dotUploadService.uploadFile({file:t,maxSize:e,signal:i}))}}ea.\u0275fac=function(t){return new(t||ea)(F(Ki),F(Th))},ea.\u0275prov=H({token:ea,factory:ea.\u0275fac});var e0=(()=>(function(n){n.ASC="ASC",n.DESC="DESC"}(e0||(e0={})),e0))();class Wh{constructor(t){this.http=t}get({query:t,limit:e=0,offset:i=0}){return this.http.post("/api/content/_search",{query:t,sort:"score,modDate desc",limit:e,offset:i}).pipe(Oe("entity"))}}Wh.\u0275fac=function(t){return new(t||Wh)(F(Ki))},Wh.\u0275prov=H({token:Wh,factory:Wh.\u0275fac,providedIn:"root"});class Ql{constructor(t){this.http=t}get defaultHeaders(){const t=new Kr;return t.set("Accept","*/*").set("Content-Type","application/json"),t}getContentTypes(t="",e=""){return this.http.post("/api/v1/contenttype/_filter",{filter:{types:e,query:t},orderBy:"name",direction:"ASC",perPage:40}).pipe(Oe("entity"))}getContentlets({contentType:t,filter:e,currentLanguage:i,contentletIdentifier:r}){const o=r?`-identifier:${r}`:"",s=e.includes("-")?e:`*${e}*`;return this.http.post("/api/content/_search",{query:`+contentType:${t} ${o} +languageId:${i} +deleted:false +working:true +catchall:${s} title:'${e}'^15`,sort:"modDate desc",offset:0,limit:40}).pipe(Oe("entity","jsonObjectView","contentlets"))}getContentletsByLink({link:t,currentLanguage:e=_g}){return this.http.post("/api/content/_search",{query:`+languageId:${e} +deleted:false +working:true +(urlmap:*${t}* OR (contentType:(dotAsset OR htmlpageasset OR fileAsset) AND +path:*${t}*))`,sort:"modDate desc",offset:0,limit:40}).pipe(Oe("entity","jsonObjectView","contentlets"))}}Ql.\u0275fac=function(t){return new(t||Ql)(F(Ki))},Ql.\u0275prov=H({token:Ql,factory:Ql.\u0275fac});const Y5="/api/v1/ai",ZS=new Kr({"Content-Type":"application/json"});class Zl{constructor(t){this.http=t}generateContent(t){return this.http.post(`${Y5}/text/generate`,JSON.stringify({prompt:t}),{headers:ZS}).pipe(zi(()=>vo("Error fetching AI content")),fe(({choices:e})=>e[0].message.content))}generateAndPublishImage(t,e="1024x1024"){return this.http.post(`${Y5}/image/generate`,JSON.stringify({prompt:t,size:e}),{headers:ZS}).pipe(zi(()=>vo("Error fetching AI content")),li(i=>this.createAndPublishContentlet(i)))}createAndPublishContentlet(t){const{response:e,tempFileName:i}=t;return this.http.post("/api/v1/workflow/actions/default/fire/PUBLISH",JSON.stringify({contentlets:[{baseType:"dotAsset",asset:e,title:i,hostFolder:"",indexPolicy:"WAIT_FOR"}]}),{headers:ZS}).pipe(Oe("entity","results"),zi(o=>vo(o)))}}Zl.\u0275fac=function(t){return new(t||Zl)(F(Ki))},Zl.\u0275prov=H({token:Zl,factory:Zl.\u0275fac});const q5=["list"];function hue(n,t){if(1&n&&(S(0,"h3"),Se(1),E()),2&n){const e=C(2);b(1),yt(e.title)}}function fue(n,t){if(1&n&&me(0,"dot-suggestions-list-item",7),2&n){const e=C(),i=e.$implicit,r=e.index;_("command",i.command)("index",i.tabindex||r)("label",i.label)("url",i.icon)("data",i.data)("disabled",i.disabled)}}function pue(n,t){1&n&&me(0,"div",8)}function mue(n,t){if(1&n&&(tt(0),D(1,fue,1,6,"dot-suggestions-list-item",5),D(2,pue,1,0,"ng-template",null,6,Mn),nt()),2&n){const e=t.$implicit,i=Ht(3);b(1),_("ngIf","divider"!==e.id)("ngIfElse",i)}}function gue(n,t){if(1&n&&(S(0,"div"),D(1,hue,2,1,"h3",2),S(2,"dot-suggestion-list",null,3),D(4,mue,4,2,"ng-container",4),E()()),2&n){const e=C();b(1),_("ngIf",!!e.title),b(3),_("ngForOf",e.items)}}function yue(n,t){if(1&n){const e=Ne();S(0,"dot-empty-message",9),se("back",function(){return ee(e),te(C().handleBackButton())}),E()}if(2&n){const e=C();_("title",e.noResultsMessage)("showBackBtn",!e.isFilterActive)}}var gr=(()=>(function(n){n.BLOCK="block",n.CONTENTTYPE="contentType",n.CONTENT="content"}(gr||(gr={})),gr))();class Jl{constructor(t,e,i){this.suggestionsService=t,this.dotLanguageService=e,this.cd=i,this.items=[],this.title="Select a block",this.noResultsMessage="No Results",this.currentLanguage=_g,this.allowedContentTypes="",this.contentletIdentifier="",this.isFilterActive=!1}onMouseDownHandler(t){t.preventDefault()}ngOnInit(){this.initialItems=this.items,this.itemsLoaded=gr.BLOCK,this.dotLanguageService.getLanguages().pipe(At(1)).subscribe(t=>this.dotLangs=t)}addContentletItem(){this.items=[{label:"Contentlets",icon:"receipt",command:()=>this.loadContentTypes()},...this.items],this.initialItems=this.items}execCommand(){this.items.length?this.list.execCommand():this.handleBackButton()}updateSelection(t){this.list.updateSelection(t)}handleBackButton(){return this.itemsLoaded=this.itemsLoaded===gr.CONTENT?gr.CONTENTTYPE:gr.BLOCK,this.filterItems(),!1}filterItems(t=""){switch(this.itemsLoaded){case gr.BLOCK:this.items=this.initialItems.filter(e=>e.label.toLowerCase().includes(t.trim().toLowerCase()));break;case gr.CONTENTTYPE:this.loadContentTypes(t);break;case gr.CONTENT:this.loadContentlets(this.selectedContentType,t)}this.isFilterActive=!!t.length}loadContentTypes(t=""){this.suggestionsService.getContentTypes(t,this.allowedContentTypes).pipe(fe(e=>e.map(i=>({label:i.name,icon:i.icon,command:()=>{this.selectedContentType=i,this.itemsLoaded=gr.CONTENT,this.loadContentlets(i)}}))),At(1)).subscribe(e=>{this.items=e,this.itemsLoaded=gr.CONTENTTYPE,this.items.length?this.title="Select a content type":this.noResultsMessage="No results",this.cd.detectChanges()})}loadContentlets(t,e=""){this.suggestionsService.getContentlets({contentType:t.variable,filter:e,currentLanguage:this.currentLanguage,contentletIdentifier:this.contentletIdentifier}).pipe(At(1)).subscribe(i=>{this.items=i.map(r=>{const{languageId:o}=r;return r.language=this.getContentletLanguage(o),{label:r.title,icon:"contentlet/image",data:{contentlet:r},command:()=>{this.onSelectContentlet({payload:r,type:{name:"dotContent"}})}}}),this.items.length?this.title="Select a contentlet":this.noResultsMessage=`No results for ${t.name}`,this.cd.detectChanges()})}getContentletLanguage(t){const{languageCode:e,countryCode:i}=this.dotLangs[t];return e&&i?`${e}-${i}`:""}}Jl.\u0275fac=function(t){return new(t||Jl)(I(Ql),I(ql),I(In))},Jl.\u0275cmp=Ce({type:Jl,selectors:[["dot-suggestions"]],viewQuery:function(t,e){if(1&t&&(Mt(q5,5),Mt(q5,5,Dt)),2&t){let i;Ve(i=Be())&&(e.list=i.first),Ve(i=Be())&&(e.listElement=i.first)}},hostBindings:function(t,e){1&t&&se("mousedown",function(r){return e.onMouseDownHandler(r)})},inputs:{onSelectContentlet:"onSelectContentlet",items:"items",title:"title",noResultsMessage:"noResultsMessage",currentLanguage:"currentLanguage",allowedContentTypes:"allowedContentTypes",contentletIdentifier:"contentletIdentifier"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["emptyBlock",""],[4,"ngIf"],["list",""],[4,"ngFor","ngForOf"],[3,"command","index","label","url","data","disabled",4,"ngIf","ngIfElse"],["divider",""],[3,"command","index","label","url","data","disabled"],[1,"divider"],[3,"title","showBackBtn","back"]],template:function(t,e){if(1&t&&(D(0,gue,5,2,"div",0),D(1,yue,1,2,"ng-template",null,1,Mn)),2&t){const i=Ht(2);_("ngIf",e.items.length)("ngIfElse",i)}},styles:['[_nghost-%COMP%]{display:block;min-width:240px;box-shadow:0 4px 20px var(--color-palette-black-op-10);padding:8px 0;background:#ffffff;font-family:Assistant,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif}h3[_ngcontent-%COMP%]{text-transform:uppercase;font-size:16px;margin:8px 16px;color:#999}.suggestion-list-container[_ngcontent-%COMP%]{width:100%;height:100%;max-height:400px;overflow:auto;display:block}.material-icons[_ngcontent-%COMP%]{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased}.divider[_ngcontent-%COMP%]{border-top:#afb3c0 solid 1px;margin:.5rem 0}']});class JS{constructor({editor:t,element:e,view:i,tippyOptions:r={},updateDelay:o=250,shouldShow:s}){this.preventHide=!1,this.shouldShow=({view:a,state:l,from:c,to:u})=>{const{doc:d,selection:h}=l,{empty:f}=h,p=!d.textBetween(c,u).length&&Yb(l.selection),m=this.element.contains(document.activeElement);return!(!a.hasFocus()&&!m||f||p||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.dragstartHandler=()=>{this.hide()},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:a})=>{var l;this.preventHide?this.preventHide=!1:a?.relatedTarget&&null!==(l=this.element.parentNode)&&void 0!==l&&l.contains(a.relatedTarget)||this.hide()},this.tippyBlurHandler=a=>{this.blurHandler({event:a})},this.handleDebouncedUpdate=(a,l)=>{const c=!l?.selection.eq(a.state.selection),u=!l?.doc.eq(a.state.doc);!c&&!u||(this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout(()=>{this.updateHandler(a,c,u,l)},this.updateDelay))},this.updateHandler=(a,l,c,u)=>{var d,h,f;const{state:p,composing:m}=a,{selection:g}=p;if(m||!l&&!c)return;this.createTooltip();const{ranges:w}=g,T=Math.min(...w.map(x=>x.$from.pos)),v=Math.max(...w.map(x=>x.$to.pos));(null===(d=this.shouldShow)||void 0===d?void 0:d.call(this,{editor:this.editor,view:a,state:p,oldState:u,from:T,to:v}))?(null===(h=this.tippy)||void 0===h||h.setProps({getReferenceClientRect:(null===(f=this.tippyOptions)||void 0===f?void 0:f.getReferenceClientRect)||(()=>{if(function xce(n){return n instanceof Qe}(p.selection)){let x=a.nodeDOM(T);const ae=x.dataset.nodeViewWrapper?x:x.querySelector("[data-node-view-wrapper]");if(ae&&(x=ae.firstChild),x)return x.getBoundingClientRect()}return _u(a,T,v)})}),this.show()):this.hide()},this.editor=t,this.element=e,this.view=i,this.updateDelay=o,s&&(this.shouldShow=s),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener("dragstart",this.dragstartHandler),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=r,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:t}=this.editor.options;this.tippy||!t.parentElement||(this.tippy=ys(t,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"top",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(t,e){const{state:i}=t;if(this.updateDelay>0&&i.selection.$from.pos!==i.selection.$to.pos)return void this.handleDebouncedUpdate(t,e);const o=!e?.selection.eq(t.state.selection),s=!e?.doc.eq(t.state.doc);this.updateHandler(t,o,s,e)}show(){var t;null===(t=this.tippy)||void 0===t||t.show()}hide(){var t;null===(t=this.tippy)||void 0===t||t.hide()}destroy(){var t,e;!(null===(t=this.tippy)||void 0===t)&&t.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),null===(e=this.tippy)||void 0===e||e.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.removeEventListener("dragstart",this.dragstartHandler),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const K5=n=>new Kt({key:"string"==typeof n.pluginKey?new an(n.pluginKey):n.pluginKey,view:t=>new JS({view:t,...n})}),XS=Sn.create({name:"bubbleMenu",addOptions:()=>({element:null,tippyOptions:{},pluginKey:"bubbleMenu",updateDelay:void 0,shouldShow:null}),addProseMirrorPlugins(){return this.options.element?[K5({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,updateDelay:this.options.updateDelay,shouldShow:this.options.shouldShow})]:[]}});class t0{constructor(t){this._el=t,this.pluginKey="NgxTiptapBubbleMenu",this.tippyOptions={},this.shouldShow=null}ngOnInit(){if(!this.editor)throw new Error("Required: Input `editor`");this.editor.registerPlugin(K5({pluginKey:this.pluginKey,editor:this.editor,element:this._el.nativeElement,tippyOptions:this.tippyOptions,shouldShow:this.shouldShow}))}ngOnDestroy(){this.editor.unregisterPlugin(this.pluginKey)}}t0.\u0275fac=function(t){return new(t||t0)(I(Dt))},t0.\u0275dir=we({type:t0,selectors:[["tiptap-bubble-menu","editor",""],["","tiptapBubbleMenu","","editor",""]],inputs:{pluginKey:"pluginKey",editor:"editor",tippyOptions:"tippyOptions",shouldShow:"shouldShow"}});class n0{constructor(){this.draggable=!0,this.handle=""}}n0.\u0275fac=function(t){return new(t||n0)},n0.\u0275dir=we({type:n0,selectors:[["","tiptapDraggable",""]],hostVars:2,hostBindings:function(t,e){2&t&&Ct("draggable",e.draggable)("data-drag-handle",e.handle)}});class Gh{constructor(t,e){this.el=t,this._renderer=e,this.onChange=()=>{},this.onTouched=()=>{},this.handleChange=({transaction:i})=>{i.docChanged&&this.onChange(this.editor.getJSON())}}writeValue(t){t&&this.editor.chain().setContent(t,!0).run()}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.editor.setEditable(!t),this._renderer.setProperty(this.el.nativeElement,"disabled",t)}ngOnInit(){if(!this.editor)throw new Error("Required: Input `editor`");const t=this.el.nativeElement.innerHTML;this.el.nativeElement.innerHTML="",this.el.nativeElement.appendChild(this.editor.options.element.firstChild),this.editor.setOptions({element:this.el.nativeElement}),t&&this.editor.chain().setContent(t,!1).run(),this.editor.on("blur",()=>{this.onTouched()}),this.editor.on("transaction",this.handleChange)}ngOnDestroy(){this.editor.destroy()}}Gh.\u0275fac=function(t){return new(t||Gh)(I(Dt),I(ar))},Gh.\u0275dir=we({type:Gh,selectors:[["tiptap","editor",""],["","tiptap","","editor",""],["tiptap-editor","editor",""],["","tiptapEditor","","editor",""]],inputs:{editor:"editor"},features:[Pt([{provide:Qi,useExisting:Ft(()=>Gh),multi:!0}])]});class _ue{constructor({editor:t,element:e,view:i,tippyOptions:r={},shouldShow:o}){this.preventHide=!1,this.shouldShow=({view:s,state:a})=>{const{selection:l}=a,{$anchor:c,empty:u}=l,d=1===c.depth,h=c.parent.isTextblock&&!c.parent.type.spec.code&&!c.parent.textContent;return!!(s.hasFocus()&&u&&d&&h&&this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:s})=>{var a;this.preventHide?this.preventHide=!1:s?.relatedTarget&&null!==(a=this.element.parentNode)&&void 0!==a&&a.contains(s.relatedTarget)||this.hide()},this.tippyBlurHandler=s=>{this.blurHandler({event:s})},this.editor=t,this.element=e,this.view=i,o&&(this.shouldShow=o),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=r,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:t}=this.editor.options;this.tippy||!t.parentElement||(this.tippy=ys(t,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"right",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(t,e){var i,r,o;const{state:s}=t,{doc:a,selection:l}=s,{from:c,to:u}=l;e&&e.doc.eq(a)&&e.selection.eq(l)||(this.createTooltip(),(null===(i=this.shouldShow)||void 0===i?void 0:i.call(this,{editor:this.editor,view:t,state:s,oldState:e}))?(null===(r=this.tippy)||void 0===r||r.setProps({getReferenceClientRect:(null===(o=this.tippyOptions)||void 0===o?void 0:o.getReferenceClientRect)||(()=>_u(t,c,u))}),this.show()):this.hide())}show(){var t;null===(t=this.tippy)||void 0===t||t.show()}hide(){var t;null===(t=this.tippy)||void 0===t||t.hide()}destroy(){var t,e;!(null===(t=this.tippy)||void 0===t)&&t.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),null===(e=this.tippy)||void 0===e||e.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const Q5=n=>new Kt({key:"string"==typeof n.pluginKey?new an(n.pluginKey):n.pluginKey,view:t=>new _ue({view:t,...n})});Sn.create({name:"floatingMenu",addOptions:()=>({element:null,tippyOptions:{},pluginKey:"floatingMenu",shouldShow:null}),addProseMirrorPlugins(){return this.options.element?[Q5({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,shouldShow:this.options.shouldShow})]:[]}});class r0{constructor(t){this._el=t,this.pluginKey="NgxTiptapFloatingMenu",this.tippyOptions={},this.shouldShow=null}ngOnInit(){if(!this.editor)throw new Error("Required: Input `editor`");this.editor.registerPlugin(Q5({pluginKey:this.pluginKey,editor:this.editor,element:this._el.nativeElement,tippyOptions:this.tippyOptions,shouldShow:this.shouldShow}))}ngOnDestroy(){this.editor.unregisterPlugin(this.pluginKey)}}r0.\u0275fac=function(t){return new(t||r0)(I(Dt))},r0.\u0275dir=we({type:r0,selectors:[["tiptap-floating-menu","editor",""],["","tiptapFloatingMenu","","editor",""]],inputs:{pluginKey:"pluginKey",editor:"editor",tippyOptions:"tippyOptions",shouldShow:"shouldShow"}});class o0{constructor(){this.handle=""}}o0.\u0275fac=function(t){return new(t||o0)},o0.\u0275dir=we({type:o0,selectors:[["","tiptapNodeViewContent",""]],hostVars:1,hostBindings:function(t,e){2&t&&Ct("data-node-view-content",e.handle)}});const Z5={inode:"14dd5ad9-55ae-42a8-a5a7-e259b6d0901a",variantId:"DEFAULT",locked:!1,stInode:"d5ea385d-32ee-4f35-8172-d37f58d9cd7a",contentType:"Image",height:4e3,identifier:"93ca45e0-06d2-4eef-be1d-79bd6bf0fc99",hasTitleImage:!0,sortOrder:0,hostName:"demo.dotcms.com",extension:"jpg",isContent:!0,baseType:"FILEASSETS",archived:!1,working:!0,live:!0,isContentlet:!0,languageId:1,titleImage:"fileAsset",hasLiveVersion:!0,deleted:!1,folder:"",host:"",modDate:"",modUser:"",modUserName:"",owner:"",title:"",url:"",contentTypeIcon:"assessment",__icon__:"Icon"};class yg{transform({live:t,working:e,deleted:i,hasLiveVersion:r}){return{live:t,working:e,deleted:i,hasLiveVersion:r}}}yg.\u0275fac=function(t){return new(t||yg)},yg.\u0275pipe=Hn({name:"contentletState",type:yg,pure:!0});const eE="menuFloating";class Cue{constructor({editor:t,view:e,render:i,command:r,key:o}){this.invalidNodes=["codeBlock","blockquote"],this.editor=t,this.view=e,this.editor.on("focus",()=>{this.update(this.editor.view)}),this.render=i,this.command=r,this.key=o}update(t,e){const i=this.key?.getState(t.state),r=e?this.key?.getState(e):null;if(i.open){const{from:o,to:s}=this.editor.state.selection,a=_u(this.view,o,s);this.render().onStart({clientRect:()=>a,range:{from:o,to:s},editor:this.editor,command:this.command})}else r&&r.open&&this.render().onExit(null)}}const J5=new an(eE),wue=n=>new Kt({key:J5,view:t=>new Cue({key:J5,view:t,...n}),state:{init:()=>({open:!1}),apply(t){const e=t.getMeta(eE);return e?.open?{open:e?.open}:{open:!1}}},props:{handleKeyDown(t,e){const{open:i,range:r}=this.getState(t.state);return!!i&&n.render().onKeyDown({event:e,range:r,view:t})}}}),xue={paragrah:!0,text:!0,doc:!0},X5={image:{image:!0,dotImage:!0},table:{table:!0,tableRow:!0,tableHeader:!0,tableCell:!0},orderedList:{orderedList:!0,listItem:!0},bulletList:{bulletList:!0,listItem:!0},video:{dotVideo:!0,youtube:!0}},Iue=(n,t)=>{const{type:e,attrs:i}=n;return"heading"===e&&t[e+i.level]},ez=(n,t)=>{if(!n?.length)return n;const e=[];for(const i in n){const r=n[i];(t[r.type]||Iue(r,t))&&e.push({...r,content:ez(r.content,t)})}return e},kue=new RegExp(/]*)>(\s|\n|]*src="[^"]*"[^>]*>)*?<\/a>/gm),tE=new RegExp(/]*src="[^"]*"[^>]*>/gm),wu=(n,t)=>{let i,e=n.depth;do{if(i=n.node(e),i){if(Array.isArray(t)&&t.includes(i.type.name))break;e--}}while(e>0&&i);return i},s0=n=>{const t=n.match(tE)||[];return(new DOMParser).parseFromString(n,"text/html").documentElement.textContent.trim().length>0?n.replace(tE,"")+t.join(""):t.join("")},tz=n=>{const{state:t}=n,{doc:e}=t.tr,i=t.selection.to,r=at.create(e,i,i);n.dispatch(t.tr.setSelection(r))},nE=(n,t)=>{let e=null,i=null,r=null;return n.state.doc.descendants((o,s)=>{o.type.name===t&&(e=o,i=s,r=i+e.nodeSize)}),e?{node:e,from:i,to:r}:null},nz=n=>/^https?:\/\/.+\.(jpg|jpeg|png|webp|avif|gif|svg)$/.test(n);class Tu extends Vi{constructor(t,e){super(),this.STEP_TYPE="setDocAttr",this.key=t,this.value=e}get stepType(){return this.STEP_TYPE}static fromJSON(t,e){return new Tu(e.key,e.value)}static register(){try{Vi.jsonID(this.prototype.STEP_TYPE,Tu)}catch(t){if(t.message!==`Duplicate use of step JSON ID ${this.prototype.STEP_TYPE}`)throw t}return!0}apply(t){return this.prevValue=t.attrs[this.key],t.attrs===t.type.defaultAttrs&&(t.attrs=Object.assign({},t.attrs)),t.attrs[this.key]=this.value,gi.ok(t)}invert(){return new Tu(this.key,this.prevValue)}map(){return this}toJSON(){return{stepType:this.stepType,key:this.key,value:this.value}}}class a0 extends Vi{constructor(){super(),this.STEP_TYPE="restoreDefaultDOMAttrs"}get stepType(){return this.STEP_TYPE}static register(){try{Vi.jsonID(this.prototype.STEP_TYPE,a0)}catch(t){if(t.message!==`Duplicate use of step JSON ID ${this.prototype.STEP_TYPE}`)throw t}return!0}apply(t){return t.attrs=Object.assign({},t.type.defaultAttrs),gi.ok(t)}invert(){return new a0}map(){return this}toJSON(){return{stepType:this.stepType}}}const _g=1;var wi=(()=>(function(n){n.DOT_IMAGE="dotImage",n.LIST_ITEM="listItem",n.BULLET_LIST="bulletList",n.ORDERED_LIST="orderedList",n.BLOCKQUOTE="blockquote",n.CODE_BLOCK="codeBlock",n.DOC="doc",n.DOT_CONTENT="dotContent",n.PARAGRAPH="paragraph",n.HARD_BREAK="hardBreak",n.HEADING="heading",n.HORIZONTAL_RULE="horizontalRule",n.TEXT="text",n.TABLE_CELL="tableCell",n.AI_CONTENT="aiContent"}(wi||(wi={})),wi))();const Hue=[wi.DOT_IMAGE,wi.DOT_CONTENT];function iz({editor:n,range:t,props:e,customBlocks:i}){const{type:r,payload:o}=e,s={dotContent:()=>{n.chain().addContentletBlock({range:t,payload:o}).addNextLine().run()},heading:()=>{n.chain().addHeading({range:t,type:r}).run()},table:()=>{n.commands.openForm([{key:"rows",label:"Rows",required:!0,value:"3",controlType:"number",type:"number",min:1},{key:"columns",label:"Columns",required:!0,value:"3",controlType:"number",type:"number",min:1},{key:"header",label:"Add Row Header",required:!1,value:!0,controlType:"text",type:"checkbox"}],{customClass:"dotTableForm"}).pipe?.(At(1),Tn(a=>!!a)).subscribe(a=>{requestAnimationFrame(()=>{n.chain().insertTable({rows:a.rows,cols:a.columns,withHeaderRow:!!a.header}).focus().run()})})},orderedList:()=>{n.chain().deleteRange(t).toggleOrderedList().focus().run()},bulletList:()=>{n.chain().deleteRange(t).toggleBulletList().focus().run()},blockquote:()=>{n.chain().deleteRange(t).setBlockquote().focus().run()},codeBlock:()=>{n.chain().deleteRange(t).setCodeBlock().focus().run()},horizontalRule:()=>{n.chain().deleteRange(t).setHorizontalRule().focus().run()},image:()=>n.commands.openAssetForm({type:"image"}),subscript:()=>n.chain().setSubscript().focus().run(),superscript:()=>n.chain().setSuperscript().focus().run(),video:()=>n.commands.openAssetForm({type:"video"}),aiContentPrompt:()=>n.commands.openAIPrompt(),aiContent:()=>n.commands.insertAINode(),aiImagePrompt:()=>n.commands.openImagePrompt()};rz(i).forEach(a=>{s[a.id]=()=>{try{n.commands[a.commandKey]()}catch{console.warn(`Custom command ${a.commandKey} does not exists.`)}}}),s[r.name]?s[r.name]():n.chain().setTextSelection(t).focus().run()}function rz(n){return n.extensions.map(t=>function Wue(n){return n.map(t=>({icon:t.icon,label:t.menuLabel,commandKey:t.command,id:`${t.command}-id`}))}(t.actions||[])).flat()}const Gue=(n,t)=>{let e,i;const r=new an("suggestionPlugin"),o=new ue;let s=!0;function a({editor:g,range:y,clientRect:w}){s&&(function c(g,y){const{allowedBlocks:w,allowedContentTypes:T,lang:v,contentletIdentifier:N}=g.storage.dotConfig,ae=function u({allowedBlocks:g=[],editor:y,range:w}){const v=[...g.length?Fv.filter(N=>g.includes(N.id)):Fv,...rz(t)];return v.forEach(N=>N.command=()=>function d({item:g,editor:y,range:w}){const{id:T,attributes:v}=g,N={type:{name:T.includes("heading")?"heading":T,...v}};VR({type:gr.BLOCK,editor:y,range:w,suggestionKey:r,ItemsType:gr}),h({editor:y,range:w,props:N})}({item:N,editor:y,range:w})),v}({allowedBlocks:w.length>1?w:[],editor:g,range:y});i=n.createComponent(Jl),i.instance.items=ae,i.instance.currentLanguage=v,i.instance.allowedContentTypes=T,i.instance.contentletIdentifier=N,i.instance.onSelectContentlet=Z=>{VR({type:gr.CONTENT,editor:g,range:y,suggestionKey:r,ItemsType:gr}),h({editor:g,range:y,props:Z})},i.changeDetectorRef.detectChanges(),(w.length<=1||w.includes("dotContent"))&&i.instance.addContentletItem()}(g,y),e=function $ue({element:n,content:t,rect:e,onHide:i}){return ys(n,{content:t,placement:"bottom",popperOptions:{modifiers:bee},getReferenceClientRect:e,showOnCreate:!0,interactive:!0,offset:[120,10],trigger:"manual",maxWidth:"none",onHide:i})}({element:g.options.element.parentElement,content:i.location.nativeElement,rect:w,onHide:()=>{g.commands.focus();const T=f({editor:g,range:y});"/"===g.state.doc.textBetween(T.from,T.to," ")&&g.commands.deleteRange(T);const N=g.state.tr.setMeta(eE,{open:!1});g.view.dispatch(N),g.commands.freezeScroll(!1)}}))}function l({editor:g}){g.commands.freezeScroll(!0);const y=wu(g.view.state.selection.$from,[wi.TABLE_CELL])?.type.name===wi.TABLE_CELL,w=wu(g.view.state.selection.$from,[wi.CODE_BLOCK])?.type.name===wi.CODE_BLOCK;s=!y&&!w}function h({editor:g,range:y,props:w}){iz({editor:g,range:f({editor:g,range:y}),props:w,customBlocks:t})}function f({editor:g,range:y}){const w=r.getState(g.view.state).query?.length||0;return y.to=y.to+w,y}function p({event:g}){const{key:y}=g;return"Escape"===y?(g.stopImmediatePropagation(),e.hide(),!0):"Enter"===y?(i.instance.execCommand(),!0):("ArrowDown"===y||"ArrowUp"===y)&&(i.instance.updateSelection(g),!0)}function m({editor:g}){e?.destroy(),g.commands.freezeScroll(!1),i?.destroy(),i=null,o.next(!0),o.complete()}return Sn.create({name:"actionsMenu",addOptions:()=>({pluginKey:"actionsMenu",element:null,suggestion:{char:"/",pluginKey:r,allowSpaces:!0,startOfLine:!0,render:()=>({onBeforeStart:l,onStart:a,onKeyDown:p,onExit:m}),items:({query:g})=>(i&&i.instance.filterItems(g),[])}}),addCommands:()=>({addHeading:({range:g,type:y})=>({chain:w})=>w().focus().deleteRange(g).toggleHeading({level:y.level}).focus().run(),addContentletBlock:({range:g,payload:y})=>({chain:w})=>w().deleteRange(g).command(T=>{const v=T.editor.schema.nodes.dotContent.create({data:y});return T.tr.replaceSelectionWith(v),!0}).run(),addNextLine:()=>({chain:g})=>g().command(y=>{const{selection:w}=y.state;return y.commands.insertContentAt(w.head,{type:"paragraph"}),!0}).focus().run()}),addProseMirrorPlugins(){return[wue({command:iz,editor:this.editor,render:()=>({onStart:a,onKeyDown:p,onExit:m})}),Xce({editor:this.editor,...this.options.suggestion})]}})};function Yue(n,t){if(1&n){const e=Ne();S(0,"div",5)(1,"dot-asset-search",6),se("addAsset",function(r){return ee(e),te(C().onSelectAsset(r))}),E()()}if(2&n){const e=C();b(1),_("type",e.type)("languageId",e.languageId)}}function que(n,t){if(1&n){const e=Ne();S(0,"div",5)(1,"dot-upload-asset",7),se("uploadedFile",function(r){return ee(e),te(C().onSelectAsset(r))})("preventClose",function(r){return ee(e),te(C().onPreventClose(r))})("hide",function(r){return ee(e),te(C().onHide(r))}),E()()}if(2&n){const e=C();b(1),_("type",e.type)}}function Kue(n,t){if(1&n){const e=Ne();S(0,"div",5)(1,"dot-external-asset",8),se("addAsset",function(r){return ee(e),te(C().onSelectAsset(r))}),E()()}if(2&n){const e=C();b(1),_("type",e.type)}}class Yh{constructor(){this.languageId=_g,this.disableTabs=!1}onPreventClose(t){this.preventClose(t),this.disableTabs=t}}Yh.\u0275fac=function(t){return new(t||Yh)},Yh.\u0275cmp=Ce({type:Yh,selectors:[["dot-asset-form"]],inputs:{languageId:"languageId",type:"type",onSelectAsset:"onSelectAsset",preventClose:"preventClose",onHide:"onHide"},decls:8,vars:8,consts:[[1,"tabview-container"],["header","Library","leftIcon","pi pi-images",3,"cache","disabled"],["pTemplate","content"],["leftIcon","pi pi-folder",3,"cache","header","disabled"],["leftIcon","pi pi-link",3,"cache","header","disabled"],[1,"wrapper"],[3,"type","languageId","addAsset"],[3,"type","uploadedFile","preventClose","hide"],[3,"type","addAsset"]],template:function(t,e){1&t&&(S(0,"div",0)(1,"p-tabView")(2,"p-tabPanel",1),D(3,Yue,2,2,"ng-template",2),E(),S(4,"p-tabPanel",3),D(5,que,2,1,"ng-template",2),E(),S(6,"p-tabPanel",4),D(7,Kue,2,1,"ng-template",2),E()()()),2&t&&(b(2),_("cache",!1)("disabled",e.disableTabs),b(2),_("cache",!1)("header","Upload "+e.type)("disabled",e.disableTabs),b(2),_("cache",!1)("header",e.type+" URL")("disabled",e.disableTabs))},styles:["[_nghost-%COMP%]{border:1px solid #afb3c0;display:block}.tabview-container[_ngcontent-%COMP%]{width:720px;background:#ffffff}.wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:100%;width:100%}[_nghost-%COMP%] .p-tabview-nav{padding:0 2rem}[_nghost-%COMP%] .p-tabview-panel{height:25rem}"],changeDetection:0});class Que{constructor({editor:t,view:e,pluginKey:i,render:r}){this.editor=t,this.view=e,this.pluginKey=i,this.render=r,this.editor.on("focus",()=>this.render().onHide(this.editor))}update(t,e){const i=this.pluginKey?.getState(t.state),r=e?this.pluginKey?.getState(e):{open:!1},{state:o}=t,{selection:s}=o;i?.open!==r?.open&&(i?.open?this.render().onStart({editor:this.editor,type:i.type,getPosition:()=>{const{from:a,to:l}=s;return _u(t,a,l)}}):this.render().onHide(this.editor))}destroy(){this.render().onDestroy()}}const Zue=n=>new Kt({key:n.pluginKey,view:t=>new Que({view:t,...n}),state:{init:()=>({open:!1,type:null}),apply(t,e,i){const{open:r,type:o}=t.getMeta(n.pluginKey)||{},s=n.pluginKey?.getState(i);return"boolean"==typeof r?{open:r,type:o}:s||e}}}),l0=new an("bubble-image-form"),Jue={interactive:!0,duration:0,maxWidth:"none",trigger:"manual",placement:"bottom-start",hideOnClick:"toggle",popperOptions:{modifiers:[{name:"flip",options:{fallbackPlacements:["top-start"]}}]}},Xue=n=>{let t,e,i,r=!1;function o({editor:d,type:h,getPosition:f}){(function l(d){const{element:h}=d.options;t||!!!h.parentElement||(t=ys(h.parentElement,Jue))})(d),function c(d,h){e=n.createComponent(Yh),e.instance.languageId=d.storage.dotConfig.lang,e.instance.type=h,e.instance.onSelectAsset=f=>{u(d,!1),d.chain().insertAsset({type:h,payload:f}).addNextLine().closeAssetForm().run()},e.instance.preventClose=f=>u(d,f),e.instance.onHide=()=>{u(d,!1),s(d)},i=e.location.nativeElement,e.changeDetectorRef.detectChanges()}(d,h),t.setProps({content:i,getReferenceClientRect:f,onClickOutside:()=>s(d)}),t.show()}function s(d){r||(d.commands.closeAssetForm(),t?.hide(),e?.destroy())}function a(){t?.destroy(),e?.destroy()}function u(d,h){r=h,d.setOptions({editable:!h})}return XS.extend({name:"bubbleAssetForm",addOptions:()=>({element:null,tippyOptions:{},pluginKey:l0}),addCommands:()=>({openAssetForm:({type:d})=>({chain:h})=>h().command(({tr:f})=>(f.setMeta(l0,{open:!0,type:d}),!0)).freezeScroll(!0).run(),closeAssetForm:()=>({chain:d})=>d().command(({tr:h})=>(h.setMeta(l0,{open:!1}),!0)).freezeScroll(!1).run(),insertAsset:({type:d,payload:h,position:f})=>({chain:p})=>{switch(d){case"video":return"string"==typeof h&&p().setYoutubeVideo?.({src:h}).run()||p().insertVideo?.(h,f).run();case"image":return p().insertImage(h,f).run()}}}),addProseMirrorPlugins(){return[Zue({pluginKey:l0,editor:this.editor,render:()=>({onStart:o,onHide:s,onDestroy:a})})]}})};class vg{}vg.\u0275fac=function(t){return new(t||vg)},vg.\u0275mod=et({type:vg}),vg.\u0275inj=ft({imports:[gn]});class Du{}Du.\u0275fac=function(t){return new(t||Du)},Du.\u0275mod=et({type:Du}),Du.\u0275inj=ft({imports:[gn]});const ede=function(n,t,e){return{"border-width":n,width:t,height:e}};class qh{constructor(){this.borderSize="",this.size=""}}qh.\u0275fac=function(t){return new(t||qh)},qh.\u0275cmp=Ce({type:qh,selectors:[["dot-spinner"]],inputs:{borderSize:"borderSize",size:"size"},decls:1,vars:5,consts:[[3,"ngStyle"]],template:function(t,e){1&t&&me(0,"div",0),2&t&&_("ngStyle",ul(1,ede,e.borderSize,e.size,e.size))},dependencies:[Ai],styles:["div[_ngcontent-%COMP%]{border-radius:50%;width:2.5rem;height:2.5rem;display:inline-block;vertical-align:middle;font-size:10px;position:relative;text-indent:-9999em;border:.5rem solid var(--color-palette-primary-op-20);border-left-color:var(--color-palette-primary-500);transform:translateZ(0);animation:_ngcontent-%COMP%_load8 1.1s infinite linear;overflow:hidden}.edit-page-variant-mode [_nghost-%COMP%] div[_ngcontent-%COMP%]{border:.5rem solid var(--color-palette-white-op-20);border-left-color:var(--color-palette-white-op-90)}@keyframes _ngcontent-%COMP%_load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]});var Kh=(()=>(function(n){n.FILE_TYPE_MISMATCH="FILE_TYPE_MISMATCH",n.MAX_FILE_SIZE_EXCEEDED="MAX_FILE_SIZE_EXCEEDED",n.MULTIPLE_FILES_DROPPED="MULTIPLE_FILES_DROPPED"}(Kh||(Kh={})),Kh))();class c0{constructor(){this.fileDropped=new Q,this.fileDragEnter=new Q,this.fileDragOver=new Q,this.fileDragLeave=new Q,this._accept=[],this.errorsType=[],this._validity={fileTypeMismatch:!1,maxFileSizeExceeded:!1,multipleFilesDropped:!1,errorsType:[],valid:!0}}set accept(t){this._accept=t?.filter(e=>"*/*"!==e).map(e=>e.toLowerCase().replace(/\*/g,""))}get validity(){return this._validity}onDrop(t){t.stopPropagation(),t.preventDefault();const{dataTransfer:e}=t,i=this.getFiles(e),r=1===i?.length?i[0]:null;0!==i.length&&(this.setValidity(i),e.items?.clear(),e.clearData(),this.fileDropped.emit({file:r,validity:this._validity}))}onDragEnter(t){t.stopPropagation(),t.preventDefault(),this.fileDragEnter.emit(!0)}onDragOver(t){t.stopPropagation(),t.preventDefault(),this.fileDragOver.emit(!0)}onDragLeave(t){t.stopPropagation(),t.preventDefault(),this.fileDragLeave.emit(!0)}typeMatch(t){if(!this._accept.length)return!0;const e=t.name.split(".").pop().toLowerCase(),i=t.type.toLowerCase(),r=this._accept.some(o=>i.includes(o)||o.includes(`.${e}`));return r||this.errorsType.push(Kh.FILE_TYPE_MISMATCH),r}getFiles(t){const{items:e,files:i}=t;return e?Array.from(e).filter(r=>"file"===r.kind).map(r=>r.getAsFile()):Array.from(i)||[]}isFileTooLong(t){if(!this.maxFileSize)return!1;const e=t.size>this.maxFileSize;return e&&this.errorsType.push(Kh.MAX_FILE_SIZE_EXCEEDED),e}multipleFilesDropped(t){const e=t.length>1;return e&&this.errorsType.push(Kh.MULTIPLE_FILES_DROPPED),e}setValidity(t){this.errorsType=[];const e=t[0],i=this.multipleFilesDropped(t),r=!this.typeMatch(e),o=this.isFileTooLong(e);this._validity={...this._validity,multipleFilesDropped:i,fileTypeMismatch:r,maxFileSizeExceeded:o,errorsType:this.errorsType,valid:!r&&!o&&!i}}}c0.\u0275fac=function(t){return new(t||c0)},c0.\u0275cmp=Ce({type:c0,selectors:[["dot-drop-zone"]],hostBindings:function(t,e){1&t&&se("drop",function(r){return e.onDrop(r)})("dragenter",function(r){return e.onDragEnter(r)})("dragover",function(r){return e.onDragOver(r)})("dragleave",function(r){return e.onDragLeave(r)})},inputs:{maxFileSize:"maxFileSize",accept:"accept"},outputs:{fileDropped:"fileDropped",fileDragEnter:"fileDragEnter",fileDragOver:"fileDragOver",fileDragLeave:"fileDragLeave"},standalone:!0,features:[_o],ngContentSelectors:["*"],decls:1,vars:0,template:function(t,e){1&t&&($r(),xi(0))},dependencies:[gn],styles:["[_nghost-%COMP%]{height:100%;width:100%}"],changeDetection:0});class u0{}u0.\u0275fac=function(t){return new(t||u0)},u0.\u0275cmp=Ce({type:u0,selectors:[["dot-icon"]],inputs:{name:"name",size:"size"},decls:2,vars:3,consts:[[1,"material-icons"]],template:function(t,e){1&t&&(S(0,"i",0),Se(1),E()),2&t&&(cl("font-size",e.size,"px"),b(1),yt(e.name))},styles:["[_nghost-%COMP%]{display:inline-flex}[tiny][_nghost-%COMP%] i[_ngcontent-%COMP%]{font-size:14px}[big][_nghost-%COMP%] i[_ngcontent-%COMP%]{font-size:24px}[inverted][_nghost-%COMP%] i[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%] i[_ngcontent-%COMP%]{font-size:1.571428571rem;-webkit-user-select:none;user-select:none}"]});class bs{constructor(t){this.dotMessageService=t}transform(t,e=[]){return t?this.dotMessageService.get(t,...e):""}}bs.\u0275fac=function(t){return new(t||bs)(I(Mo,16))},bs.\u0275pipe=Hn({name:"dm",type:bs,pure:!0,standalone:!0});const nde=function(n){return[n]};function ide(n,t){if(1&n&&me(0,"i",6),2&n){const e=C();_("ngClass",it(1,nde,e.configuration.icon))}}function rde(n,t){if(1&n&&(S(0,"h2",7),Se(1),E()),2&n){const e=C();b(1),ji(" ",null==e.configuration?null:e.configuration.subtitle," ")}}function ode(n,t){if(1&n){const e=Ne();S(0,"p-button",10),se("onClick",function(){return ee(e),te(C(2).buttonAction.emit())}),E()}2&n&&_("label",C(2).buttonLabel)}function sde(n,t){1&n&&(S(0,"span"),Se(1),Yn(2,"dm"),E()),2&n&&(b(1),yt(qn(2,1,"dot.common.or.text")))}function ade(n,t){if(1&n&&(tt(0),D(1,sde,3,3,"span",5),S(2,"a",11),Se(3),Yn(4,"dm"),E(),nt()),2&n){const e=C(2);b(1),_("ngIf",!e.hideContactUsLink&&e.buttonLabel),b(2),yt(qn(4,2,"Contact-Us-for-more-Information"))}}function lde(n,t){if(1&n&&(tt(0),S(1,"div",8),D(2,ode,1,1,"p-button",9),D(3,ade,5,4,"ng-container",5),E(),nt()),2&n){const e=C();b(2),_("ngIf",e.buttonLabel),b(1),_("ngIf",!e.hideContactUsLink)}}class d0{constructor(){this.hideContactUsLink=!1,this.buttonAction=new Q}}d0.\u0275fac=function(t){return new(t||d0)},d0.\u0275cmp=Ce({type:d0,selectors:[["dot-empty-container"]],inputs:{configuration:"configuration",buttonLabel:"buttonLabel",hideContactUsLink:"hideContactUsLink"},outputs:{buttonAction:"buttonAction"},standalone:!0,features:[_o],decls:7,vars:4,consts:[[1,"message__wrapper","flex","gap-4","flex-column","w-30rem"],["data-Testid","message-principal",1,"message__principal-wrapper","flex","align-items-center","flex-column","gap-2"],["class","message__icon pi","data-Testid","message-icon",3,"ngClass",4,"ngIf"],["data-Testid","message-title",1,"message__title"],["class","message__subtitle","data-Testid","message-subtitle",4,"ngIf"],[4,"ngIf"],["data-Testid","message-icon",1,"message__icon","pi",3,"ngClass"],["data-Testid","message-subtitle",1,"message__subtitle"],["data-Testid","message-extra",1,"message__extra-wrapper","flex","align-items-center","flex-column","gap-2"],["data-Testid","message-button",3,"label","onClick",4,"ngIf"],["data-Testid","message-button",3,"label","onClick"],["data-Testid","message-contact-link","href","https://dotcms.com/contact-us/","target","_blank",1,"message__external-link"]],template:function(t,e){1&t&&(S(0,"div",0)(1,"div",1),D(2,ide,1,3,"i",2),S(3,"h1",3),Se(4),E(),D(5,rde,2,1,"h2",4),E(),D(6,lde,4,2,"ng-container",5),E()),2&t&&(b(2),_("ngIf",null==e.configuration?null:e.configuration.icon),b(2),yt(null==e.configuration?null:e.configuration.title),b(1),_("ngIf",null==e.configuration?null:e.configuration.subtitle),b(1),_("ngIf",!e.hideContactUsLink||e.buttonLabel))},dependencies:[wo,eR,zt,Qn,bs],styles:["[_nghost-%COMP%]{height:100%;display:flex;justify-content:center;align-content:center;flex-wrap:wrap}.message__title[_ngcontent-%COMP%], .message__subtitle[_ngcontent-%COMP%]{margin:0;text-align:center;line-height:140%}.message__title[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:700;color:#14151a}.message__subtitle[_ngcontent-%COMP%]{font-size:1rem;font-weight:400;color:#6c7389}.message__icon[_ngcontent-%COMP%]{font-size:3rem;padding:.75rem;color:#6c7389}.message__external-link[_ngcontent-%COMP%]{color:#14151a;text-align:center;font-size:1rem;font-weight:400}"],changeDetection:0});let bg=(()=>{class n{constructor(e,i,r,o,s){this.el=e,this.zone=i,this.config=r,this.renderer=o,this.changeDetector=s,this.escape=!0,this.autoHide=!0,this.fitContent=!0,this._tooltipOptions={tooltipPosition:"right",tooltipEvent:"hover",appendTo:"body",tooltipZIndex:"auto",escape:!0,positionTop:0,positionLeft:0,autoHide:!0}}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this.deactivate()}ngAfterViewInit(){this.zone.runOutsideAngular(()=>{if("hover"===this.getOption("tooltipEvent"))this.mouseEnterListener=this.onMouseEnter.bind(this),this.mouseLeaveListener=this.onMouseLeave.bind(this),this.clickListener=this.onInputClick.bind(this),this.el.nativeElement.addEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.addEventListener("click",this.clickListener),this.el.nativeElement.addEventListener("mouseleave",this.mouseLeaveListener);else if("focus"===this.getOption("tooltipEvent")){this.focusListener=this.onFocus.bind(this),this.blurListener=this.onBlur.bind(this);let e=this.getTarget(this.el.nativeElement);e.addEventListener("focus",this.focusListener),e.addEventListener("blur",this.blurListener)}})}ngOnChanges(e){e.tooltipPosition&&this.setOption({tooltipPosition:e.tooltipPosition.currentValue}),e.tooltipEvent&&this.setOption({tooltipEvent:e.tooltipEvent.currentValue}),e.appendTo&&this.setOption({appendTo:e.appendTo.currentValue}),e.positionStyle&&this.setOption({positionStyle:e.positionStyle.currentValue}),e.tooltipStyleClass&&this.setOption({tooltipStyleClass:e.tooltipStyleClass.currentValue}),e.tooltipZIndex&&this.setOption({tooltipZIndex:e.tooltipZIndex.currentValue}),e.escape&&this.setOption({escape:e.escape.currentValue}),e.showDelay&&this.setOption({showDelay:e.showDelay.currentValue}),e.hideDelay&&this.setOption({hideDelay:e.hideDelay.currentValue}),e.life&&this.setOption({life:e.life.currentValue}),e.positionTop&&this.setOption({positionTop:e.positionTop.currentValue}),e.positionLeft&&this.setOption({positionLeft:e.positionLeft.currentValue}),e.disabled&&this.setOption({disabled:e.disabled.currentValue}),e.text&&(this.setOption({tooltipLabel:e.text.currentValue}),this.active&&(e.text.currentValue?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),e.autoHide&&this.setOption({autoHide:e.autoHide.currentValue}),e.tooltipOptions&&(this._tooltipOptions={...this._tooltipOptions,...e.tooltipOptions.currentValue},this.deactivate(),this.active&&(this.getOption("tooltipLabel")?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide()))}isAutoHide(){return this.getOption("autoHide")}onMouseEnter(e){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(e){(this.isAutoHide()||!(q.hasClass(e.toElement,"p-tooltip")||q.hasClass(e.toElement,"p-tooltip-arrow")||q.hasClass(e.toElement,"p-tooltip-text")||q.hasClass(e.relatedTarget,"p-tooltip")))&&this.deactivate()}onFocus(e){this.activate()}onBlur(e){this.deactivate()}onInputClick(e){this.deactivate()}activate(){if(this.active=!0,this.clearHideTimeout(),this.getOption("showDelay")?this.showTimeout=setTimeout(()=>{this.show()},this.getOption("showDelay")):this.show(),this.getOption("life")){let e=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=>{this.hide()},e)}}deactivate(){this.active=!1,this.clearShowTimeout(),this.getOption("hideDelay")?(this.clearHideTimeout(),this.hideTimeout=setTimeout(()=>{this.hide()},this.getOption("hideDelay"))):this.hide()}create(){this.container&&(this.clearHideTimeout(),this.remove()),this.container=document.createElement("div");let e=document.createElement("div");e.className="p-tooltip-arrow",this.container.appendChild(e),this.tooltipText=document.createElement("div"),this.tooltipText.className="p-tooltip-text",this.updateText(),this.getOption("positionStyle")&&(this.container.style.position=this.getOption("positionStyle")),this.container.appendChild(this.tooltipText),"body"===this.getOption("appendTo")?document.body.appendChild(this.container):"target"===this.getOption("appendTo")?q.appendChild(this.container,this.el.nativeElement):q.appendChild(this.container,this.getOption("appendTo")),this.container.style.display="inline-block",this.fitContent&&(this.container.style.width="fit-content"),this.isAutoHide()||this.bindContainerMouseleaveListener()}bindContainerMouseleaveListener(){this.containerMouseleaveListener||(this.containerMouseleaveListener=this.renderer.listen(this.container??this.container.nativeElement,"mouseleave",i=>{this.deactivate()}))}unbindContainerMouseleaveListener(){this.containerMouseleaveListener&&(this.bindContainerMouseleaveListener(),this.containerMouseleaveListener=null)}show(){!this.getOption("tooltipLabel")||this.getOption("disabled")||(this.create(),this.align(),q.fadeIn(this.container,250),"auto"===this.getOption("tooltipZIndex")?vl.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener())}hide(){"auto"===this.getOption("tooltipZIndex")&&vl.clear(this.container),this.remove()}updateText(){this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(this.getOption("tooltipLabel")))):this.tooltipText.innerHTML=this.getOption("tooltipLabel")}align(){switch(this.getOption("tooltipPosition")){case"top":this.alignTop(),this.isOutOfBounds()&&(this.alignBottom(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"bottom":this.alignBottom(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"left":this.alignLeft(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()));break;case"right":this.alignRight(),this.isOutOfBounds()&&(this.alignLeft(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()))}}getHostOffset(){if("body"===this.getOption("appendTo")||"target"===this.getOption("appendTo")){let e=this.el.nativeElement.getBoundingClientRect();return{left:e.left+q.getWindowScrollLeft(),top:e.top+q.getWindowScrollTop()}}return{left:0,top:0}}alignRight(){this.preAlign("right");let e=this.getHostOffset(),i=e.left+q.getOuterWidth(this.el.nativeElement),r=e.top+(q.getOuterHeight(this.el.nativeElement)-q.getOuterHeight(this.container))/2;this.container.style.left=i+this.getOption("positionLeft")+"px",this.container.style.top=r+this.getOption("positionTop")+"px"}alignLeft(){this.preAlign("left");let e=this.getHostOffset(),i=e.left-q.getOuterWidth(this.container),r=e.top+(q.getOuterHeight(this.el.nativeElement)-q.getOuterHeight(this.container))/2;this.container.style.left=i+this.getOption("positionLeft")+"px",this.container.style.top=r+this.getOption("positionTop")+"px"}alignTop(){this.preAlign("top");let e=this.getHostOffset(),i=e.left+(q.getOuterWidth(this.el.nativeElement)-q.getOuterWidth(this.container))/2,r=e.top-q.getOuterHeight(this.container);this.container.style.left=i+this.getOption("positionLeft")+"px",this.container.style.top=r+this.getOption("positionTop")+"px"}alignBottom(){this.preAlign("bottom");let e=this.getHostOffset(),i=e.left+(q.getOuterWidth(this.el.nativeElement)-q.getOuterWidth(this.container))/2,r=e.top+q.getOuterHeight(this.el.nativeElement);this.container.style.left=i+this.getOption("positionLeft")+"px",this.container.style.top=r+this.getOption("positionTop")+"px"}setOption(e){this._tooltipOptions={...this._tooltipOptions,...e}}getOption(e){return this._tooltipOptions[e]}getTarget(e){return q.hasClass(e,"p-inputwrapper")?q.findSingle(e,"input"):e}preAlign(e){this.container.style.left="-999px",this.container.style.top="-999px";let i="p-tooltip p-component p-tooltip-"+e;this.container.className=this.getOption("tooltipStyleClass")?i+" "+this.getOption("tooltipStyleClass"):i}isOutOfBounds(){let e=this.container.getBoundingClientRect(),i=e.top,r=e.left,o=q.getOuterWidth(this.container),s=q.getOuterHeight(this.container),a=q.getViewport();return r+o>a.width||r<0||i<0||i+s>a.height}onWindowResize(e){this.hide()}bindDocumentResizeListener(){this.zone.runOutsideAngular(()=>{this.resizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.resizeListener)})}unbindDocumentResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new QL(this.el.nativeElement,()=>{this.container&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindEvents(){if("hover"===this.getOption("tooltipEvent"))this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener);else if("focus"===this.getOption("tooltipEvent")){let e=this.getTarget(this.el.nativeElement);e.removeEventListener("focus",this.focusListener),e.removeEventListener("blur",this.blurListener)}this.unbindDocumentResizeListener()}remove(){this.container&&this.container.parentElement&&("body"===this.getOption("appendTo")?document.body.removeChild(this.container):"target"===this.getOption("appendTo")?this.el.nativeElement.removeChild(this.container):q.removeChild(this.container,this.getOption("appendTo"))),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.unbindContainerMouseleaveListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}clearShowTimeout(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout()}ngOnDestroy(){this.unbindEvents(),this.container&&vl.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null)}}return n.\u0275fac=function(e){return new(e||n)(I(Dt),I(Yt),I(bl),I(ar),I(In))},n.\u0275dir=we({type:n,selectors:[["","pTooltip",""]],hostAttrs:[1,"p-element"],inputs:{tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",appendTo:"appendTo",positionStyle:"positionStyle",tooltipStyleClass:"tooltipStyleClass",tooltipZIndex:"tooltipZIndex",escape:"escape",showDelay:"showDelay",hideDelay:"hideDelay",life:"life",positionTop:"positionTop",positionLeft:"positionLeft",autoHide:"autoHide",fitContent:"fitContent",text:["pTooltip","text"],disabled:["tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions"},features:[Gi]}),n})(),Mu=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})();const cde=function(n){return{"dot-tab-dropdown--active":n}};function ude(n,t){if(1&n){const e=Ne();S(0,"button",7),se("click",function(r){ee(e);const o=C().$implicit;return te(C().onClickDropdown(r,o.value.id))}),me(1,"i",8),E()}if(2&n){const e=C().$implicit,i=C();_("disabled",e.disabled)("aria-disabled",e.disabled)("ngClass",it(5,cde,i.activeId===e.value.id)),b(1),jt(e.value.toggle?i.dropDownOpenIcon:i.dropDownCloseIcon)}}function dde(n,t){1&n&&me(0,"div",9)}const hde=function(n,t){return{"dot-tab--active":n,"dot-tab__button--right":t}};function fde(n,t){if(1&n){const e=Ne();S(0,"div",2)(1,"div",3)(2,"button",4),se("click",function(r){const s=ee(e).$implicit;return te(C().onClickOption(r,s.value.id))}),Yn(3,"dm"),Se(4),E(),D(5,ude,2,7,"button",5),E(),D(6,dde,1,0,"div",6),E()}if(2&n){const e=t.$implicit,i=C();b(2),_("ngClass",Fn(10,hde,i.activeId===e.value.id,e.value.showDropdownButton))("value",e.value.id)("disabled",e.disabled)("item.disabled",e.disabled)("pTooltip",qn(3,8,"editpage.toolbar."+e.label.toLowerCase()+".page.clipboard")),b(2),ji(" ",e.label," "),b(1),_("ngIf",e.value.showDropdownButton),b(1),_("ngIf",i.activeId===e.value.id)}}class h0{constructor(){this.openMenu=new Q,this.clickOption=new Q,this.dropdownClick=new Q,this._options=[],this.dropDownOpenIcon="pi pi-angle-up",this.dropDownCloseIcon="pi pi-angle-down"}ngOnChanges(t){t.options&&(this._options=this.options.map(e=>({...e,value:{...e.value,toggle:!e.value.showDropdownButton&&void 0}})))}onClickOption(t,e){e===this.activeId&&!this.shouldRefresh(e)||this.clickOption.emit({event:t,optionId:e})}onClickDropdown(t,e){if(!this.shouldOpenMenu(e))return;this._options=this._options.map(o=>(e.includes(o.value.id)&&(o.value.toggle=!o.value.toggle),o));const r=t?.target?.closest(".dot-tab");this.openMenu.emit({event:t,menuId:e,target:r})}resetDropdowns(){this._options=this._options.map(t=>(t.value.toggle=!1,t))}resetDropdownById(t){this._options=this._options.map(e=>(e.value.id===t&&(e.value.toggle=!1),e))}shouldOpenMenu(t){return Boolean(this._options.find(e=>e.value.id===t&&e.value.showDropdownButton))}shouldRefresh(t){return Boolean(this._options.find(e=>e.value.id===t&&e.value.shouldRefresh))}}function pde(n,t){if(1&n&&(S(0,"small",1),Se(1),Yn(2,"dm"),E()),2&n){const e=C();b(1),ji(" ",qn(2,1,e.errorMsg),"\n")}}h0.\u0275fac=function(t){return new(t||h0)},h0.\u0275cmp=Ce({type:h0,selectors:[["dot-tab-buttons"]],inputs:{activeId:"activeId",options:"options"},outputs:{openMenu:"openMenu",clickOption:"clickOption",dropdownClick:"dropdownClick"},standalone:!0,features:[Gi,_o],decls:2,vars:1,consts:[[1,"dot-tab-buttons"],["class","dot-tab-buttons__container",4,"ngFor","ngForOf"],[1,"dot-tab-buttons__container"],["data-testId","dot-tab-container",1,"dot-tab"],["data-testId","dot-tab-button-text","tooltipPosition","bottom",1,"dot-tab__button",3,"ngClass","value","disabled","item.disabled","pTooltip","click"],["class","dot-tab__dropdown","data-testId","dot-tab-button-dropdown",3,"disabled","aria-disabled","ngClass","click",4,"ngIf"],["class","dot-tab-indicator","data-testId","dot-tab-button",4,"ngIf"],["data-testId","dot-tab-button-dropdown",1,"dot-tab__dropdown",3,"disabled","aria-disabled","ngClass","click"],["data-testId","dot-tab-icon",1,"dot-tab-dropdown__icon","pi"],["data-testId","dot-tab-button",1,"dot-tab-indicator"]],template:function(t,e){1&t&&(S(0,"div",0),D(1,fde,7,13,"div",1),E()),2&t&&(b(1),_("ngForOf",e._options))},dependencies:[Er,wo,zt,Qn,Mu,bg,bs],styles:[".dot-tab-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:.5rem;margin-right:2rem;font-size:1rem}.dot-tab-buttons__container[_ngcontent-%COMP%]{position:relative}.dot-tab[_ngcontent-%COMP%]{display:flex;position:relative}.dot-tab[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-size:1rem;cursor:pointer}.dot-tab__button[_ngcontent-%COMP%]{border:1.5px solid #f3f3f4;color:var(--color-palette-primary-500);background-color:transparent;padding:.5rem 1rem;border-radius:.375rem;height:2.5rem;font-family:Assistant,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif}.dot-tab__button[_ngcontent-%COMP%]:hover{background:var(--color-palette-primary-100)}.dot-tab__button[_ngcontent-%COMP%]:disabled{cursor:not-allowed;background-color:#fafafb;color:#afb3c0}.dot-tab__button--right[_ngcontent-%COMP%]{border-top-right-radius:0;border-bottom-right-radius:0;border-right:0}.dot-tab__dropdown[_ngcontent-%COMP%]{background-color:transparent;border:1.5px solid #f3f3f4;height:2.5rem;border-top-right-radius:.375rem;border-bottom-right-radius:.375rem;border-left:0;padding:.5rem;color:var(--color-palette-primary-500)}.dot-tab__dropdown[_ngcontent-%COMP%]:hover{background:var(--color-palette-primary-200)}.dot-tab__dropdown[_ngcontent-%COMP%]:disabled{cursor:not-allowed;background-color:#fafafb;color:#afb3c0}.dot-tab-indicator[_ngcontent-%COMP%]{height:.25rem;border-radius:1rem;width:auto;background-color:var(--color-palette-primary-500);left:0;right:0;bottom:-.6rem;position:absolute}.dot-tab--active[_ngcontent-%COMP%]{background:var(--color-palette-primary-100);border-radius:.375rem;border-color:#fff}.dot-tab--active.dot-tab__button--right[_ngcontent-%COMP%]{border-color:#fff;border-top-right-radius:0;border-bottom-right-radius:0}.dot-tab-dropdown--active[_ngcontent-%COMP%]{background:var(--color-palette-primary-200);border-color:#fff}.dot-tab-dropdown__icon[_ngcontent-%COMP%]{width:1.5rem;display:flex;align-items:center;justify-content:center}"]});const f0={maxlength:"error.form.validator.maxlength",required:"error.form.validator.required",pattern:"error.form.validator.pattern"};class Cg{constructor(t,e){this.cd=t,this.dotMessageService=e,this.errorMsg="",this.destroy$=new ue}set message(t){this.defaultMessage=t,this.cd.markForCheck()}set field(t){t&&(this._field=t,t.statusChanges.pipe(yn(this.destroy$)).subscribe(()=>{this.errorMsg=this.getErrors(t.errors),this.cd.detectChanges()}))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}getErrors(t){let e=[];return t&&(e=[...this.getMsgDefaultValidators(t),...this.getMsgCustomsValidators(t)]),this.defaultMessage?this.defaultMessage:e.slice(0,1)[0]}getMsgDefaultValidators(t){let e=[];return Object.entries(t).forEach(([i,r])=>{if(i in f0){let o="";const{requiredLength:s,requiredPattern:a}=r;switch(i){case"maxlength":o=this.dotMessageService.get(f0[i],s);break;case"pattern":o=this.dotMessageService.get(this.patternErrorMessage||f0[i],a);break;default:o=f0[i]}e=[...e,o]}}),e}getMsgCustomsValidators(t){let e=[];return Object.entries(t).forEach(([,i])=>{"string"==typeof i&&(e=[...e,i])}),e}}Cg.\u0275fac=function(t){return new(t||Cg)(I(In),I(Mo))},Cg.\u0275cmp=Ce({type:Cg,selectors:[["dot-field-validation-message"]],inputs:{patternErrorMessage:"patternErrorMessage",message:"message",field:"field"},standalone:!0,features:[_o],decls:1,vars:1,consts:[["class","p-invalid","data-testId","error-msg",4,"ngIf"],["data-testId","error-msg",1,"p-invalid"]],template:function(t,e){1&t&&D(0,pde,3,3,"small",0),2&t&&_("ngIf",e._field&&e._field.enabled&&e._field.dirty&&!e._field.valid)},dependencies:[zt,bs],encapsulation:2,changeDetection:0});class Su{copy(t){const e=document.createElement("textarea");let i;return e.style.position="fixed",e.style.top="0",e.style.left="0",e.style.opacity="0",e.value=t,document.body.appendChild(e),e.select(),new Promise((r,o)=>{try{i=document.execCommand("copy"),r(i)}catch{o(i)}document.body.removeChild(e)})}}function mde(n,t){if(1&n&&(S(0,"span",3),Se(1),E()),2&n){const e=C();b(1),yt(e.label)}}Su.\u0275fac=function(t){return new(t||Su)},Su.\u0275prov=H({token:Su,factory:Su.\u0275fac});class p0{constructor(t,e){this.dotClipboardUtil=t,this.dotMessageService=e,this.copy=""}ngOnInit(){this.tooltipText=this.tooltipText||this.dotMessageService.get("Copy")}copyUrlToClipboard(t){t.stopPropagation(),this.dotClipboardUtil.copy(this.copy).then(()=>{const e=this.tooltipText;this.tooltipText=this.dotMessageService.get("Copied"),setTimeout(()=>{this.tooltipText=e},1e3)}).catch(()=>{this.tooltipText="Error"})}}function gde(n,t){if(1&n){const e=Ne();S(0,"img",4),se("error",function(){return ee(e),te(C().handleError())}),E()}if(2&n){const e=C();_("src",e.src,Po)("title",e.name)("alt",e.name)}}function yde(n,t){if(1&n){const e=Ne();S(0,"video",5),se("error",function(){return ee(e),te(C().handleError())}),me(1,"source",6),E()}if(2&n){const e=C();b(1),_("src",e.src,Po)}}p0.\u0275fac=function(t){return new(t||p0)(I(Su),I(Mo))},p0.\u0275cmp=Ce({type:p0,selectors:[["dot-copy-button"]],inputs:{copy:"copy",label:"label",tooltipText:"tooltipText"},standalone:!0,features:[Pt([Su]),_o],decls:3,vars:2,consts:[["pButton","","type","button","appendTo","body","hideDelay","800","tooltipPosition","bottom",1,"p-button-sm","p-button-text",3,"pTooltip","click"],[1,"pi","pi-copy"],["class","p-button-label",4,"ngIf"],[1,"p-button-label"]],template:function(t,e){1&t&&(S(0,"button",0),se("click",function(r){return e.copyUrlToClipboard(r)}),me(1,"i",1),D(2,mde,2,1,"span",2),E()),2&t&&(_("pTooltip",e.tooltipText),b(2),_("ngIf",!!e.label))},dependencies:[Mu,bg,wo,Qr,zt],changeDetection:0});const _de=function(n){return["pi",n]},vde=function(n){return{"font-size":n,color:"var(--color-palette-secondary-400)"}};function bde(n,t){if(1&n&&me(0,"i",7),2&n){const e=C();_("ngClass",it(2,_de,e.thumbnailIcon))("ngStyle",it(4,vde,e.iconSize))}}const Cde={html:"pi-file",pdf:"pi-file-pdf",image:"pi-image",video:"pi-video",msword:"pi-file-word",doc:"pi-file-word",docx:"pi-file-word"};var Qh=(()=>(function(n){n.image="image",n.video="video",n.icon="icon"}(Qh||(Qh={})),Qh))();class m0{constructor(){this.CONTENT_THUMBNAIL_TYPE=Qh,this.DEFAULT_ICON="pi-file",this.thumbnailUrlMap={image:this.getImageThumbnailUrl.bind(this),video:this.getVideoThumbnailUrl.bind(this),pdf:this.getPdfThumbnailUrl.bind(this)}}get iconSize(){return this._iconSize||"1rem"}get name(){return this._name||""}ngOnInit(){this.buildThumbnail()}handleError(){this.thumbnailType=this.CONTENT_THUMBNAIL_TYPE.icon}setProperties(){const{tempUrl:t,inode:e,name:i,contentType:r,titleImage:o,iconSize:s}=this.dotThumbanilOptions;this._tempUrl=t,this._inode=e,this._name=i,this._contentType=r,this._titleImage=o,this._iconSize=s,this._type=this._contentType.split("/")[0]}buildThumbnail(){this.setProperties(),this.setSrc(),this.setThumbnailType(),this.setThumbnailIcon()}setThumbnailType(){this.thumbnailType=Qh[this._type]||Qh.icon}setSrc(){this.src=this._tempUrl||this.thumbnailUrlMap[this._type]?.()}setThumbnailIcon(){const t=this._name.split(".").pop();this.thumbnailIcon=Cde[t]||this.DEFAULT_ICON}getPdfThumbnailUrl(){return`/contentAsset/image/${this._inode}/${this._titleImage}/pdf_page/1/resize_w/250/quality_q/45`}getImageThumbnailUrl(){return`/dA/${this._inode}/500w/50q`}getVideoThumbnailUrl(){return`/dA/${this._inode}`}}function wde(n,t){if(1&n&&(tt(0),S(1,"a",1),me(2,"i"),S(3,"span",2),Se(4),Yn(5,"dm"),E()(),nt()),2&n){const e=C();b(1),_("href",e.link,Po)("title",e.link),b(1),jt(e.classNames),b(2),yt(qn(5,5,e.label))}}m0.\u0275fac=function(t){return new(t||m0)},m0.\u0275cmp=Ce({type:m0,selectors:[["dot-content-thumbnail"]],inputs:{dotThumbanilOptions:"dotThumbanilOptions"},standalone:!0,features:[_o],decls:4,vars:3,consts:[[3,"ngSwitch"],["data-testId","thumbail-image",3,"src","title","alt","error",4,"ngSwitchCase"],["controls","","data-testId","thumbail-video",3,"error",4,"ngSwitchCase"],["data-testId","thumbail-icon",3,"ngClass","ngStyle",4,"ngSwitchDefault"],["data-testId","thumbail-image",3,"src","title","alt","error"],["controls","","data-testId","thumbail-video",3,"error"],[3,"src"],["data-testId","thumbail-icon",3,"ngClass","ngStyle"]],template:function(t,e){1&t&&(tt(0,0),D(1,gde,1,3,"img",1),D(2,yde,2,1,"video",2),D(3,bde,1,6,"i",3),nt()),2&t&&(_("ngSwitch",e.thumbnailType),b(1),_("ngSwitchCase",e.CONTENT_THUMBNAIL_TYPE.image),b(1),_("ngSwitchCase",e.CONTENT_THUMBNAIL_TYPE.video))},dependencies:[gn,Qn,Ai,Pc,yp,_p],styles:["[_nghost-%COMP%]{width:100%;height:100%;justify-content:center;align-items:center;display:flex}[_nghost-%COMP%] img[_ngcontent-%COMP%], [_nghost-%COMP%] video[_ngcontent-%COMP%]{width:100%;height:100%}[_nghost-%COMP%] img[_ngcontent-%COMP%]{object-fit:cover}[_nghost-%COMP%] i[_ngcontent-%COMP%]{color:var(--color-palette-secondary-400)}"],changeDetection:0});class wg{set href(t){this.link=this.getFixedLink(t)}set icon(t){this.classNames=`pi ${t}`}getFixedLink(t){return t.startsWith("/")?t:`/${t}`}}wg.\u0275fac=function(t){return new(t||wg)},wg.\u0275cmp=Ce({type:wg,selectors:[["dot-link"]],inputs:{label:"label",href:"href",icon:"icon"},standalone:!0,features:[_o],decls:1,vars:1,consts:[[4,"ngIf"],["pButton","","target","_blank",1,"p-button-sm","p-button-text",3,"href","title"],[1,"p-button-label"]],template:function(t,e){1&t&&D(0,wde,6,7,"ng-container",0),2&t&&_("ngIf",e.link)},dependencies:[wo,Qr,zt,bs],styles:["a[_ngcontent-%COMP%], a[_ngcontent-%COMP%]:focus, a[_ngcontent-%COMP%]:active{text-decoration:none}"]});class g0{}g0.\u0275fac=function(t){return new(t||g0)},g0.\u0275cmp=Ce({type:g0,selectors:[["dot-api-link"]],inputs:{href:"href"},standalone:!0,features:[_o],decls:1,vars:1,consts:[["label","API","icon","pi-link",3,"href"]],template:function(t,e){1&t&&me(0,"dot-link",0),2&t&&_("href",e.href)},dependencies:[wg]});class Tg{constructor(t,e,i){this.el=t,this.renderer=e,this.formGroupDirective=i,e.addClass(this.el.nativeElement,"p-label-input-required")}set checkIsRequiredControl(t){this.isRequiredControl(t)||this.renderer.removeClass(this.el.nativeElement,"p-label-input-required")}isRequiredControl(t){const e=this.formGroupDirective.control?.get(t);return!(!e||!e.hasValidator($d.required))}}Tg.\u0275fac=function(t){return new(t||Tg)(I(Dt),I(ar),I(Aa))},Tg.\u0275dir=we({type:Tg,selectors:[["","dotFieldRequired",""]],inputs:{checkIsRequiredControl:"checkIsRequiredControl"},standalone:!0});class y0{constructor(){this.confirmationService=st(YL)}onPressEscape(){this.confirmationService.close()}}y0.\u0275fac=function(t){return new(t||y0)},y0.\u0275dir=we({type:y0,selectors:[["p-confirmPopup","dotRemoveConfirmPopupWithEscape",""]],hostBindings:function(t,e){1&t&&se("keydown.escape",function(r){return e.onPressEscape(r)},0,hO)},standalone:!0});let oz=(()=>{class n{constructor(e){this.host=e,this.focused=!1}ngAfterViewChecked(){if(!this.focused&&this.autofocus){const e=q.getFocusableElements(this.host.nativeElement);0===e.length&&this.host.nativeElement.focus(),e.length>0&&e[0].focus(),this.focused=!0}}}return n.\u0275fac=function(e){return new(e||n)(I(Dt))},n.\u0275dir=we({type:n,selectors:[["","pAutoFocus",""]],hostAttrs:[1,"p-element"],inputs:{autofocus:"autofocus"}}),n})(),Tde=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})();const Dde=["overlay"],Mde=["content"];function Sde(n,t){1&n&&Je(0)}const Ede=function(n,t,e){return{showTransitionParams:n,hideTransitionParams:t,transform:e}},xde=function(n){return{value:"visible",params:n}},Ide=function(n){return{mode:n}},Ode=function(n){return{$implicit:n}};function Ade(n,t){if(1&n){const e=Ne();S(0,"div",1,3),se("click",function(r){return ee(e),te(C(2).onOverlayContentClick(r))})("@overlayContentAnimation.start",function(r){return ee(e),te(C(2).onOverlayContentAnimationStart(r))})("@overlayContentAnimation.done",function(r){return ee(e),te(C(2).onOverlayContentAnimationDone(r))}),xi(2),D(3,Sde,1,0,"ng-container",4),E()}if(2&n){const e=C(2);jt(e.contentStyleClass),_("ngStyle",e.contentStyle)("ngClass","p-overlay-content")("@overlayContentAnimation",it(11,xde,ul(7,Ede,e.showTransitionOptions,e.hideTransitionOptions,e.transformOptions[e.modal?e.overlayResponsiveDirection:"default"]))),b(3),_("ngTemplateOutlet",e.contentTemplate)("ngTemplateOutletContext",it(15,Ode,it(13,Ide,e.overlayMode)))}}const kde=function(n,t,e,i,r,o,s,a,l,c,u,d,h,f){return{"p-overlay p-component":!0,"p-overlay-modal p-component-overlay p-component-overlay-enter":n,"p-overlay-center":t,"p-overlay-top":e,"p-overlay-top-start":i,"p-overlay-top-end":r,"p-overlay-bottom":o,"p-overlay-bottom-start":s,"p-overlay-bottom-end":a,"p-overlay-left":l,"p-overlay-left-start":c,"p-overlay-left-end":u,"p-overlay-right":d,"p-overlay-right-start":h,"p-overlay-right-end":f}};function Nde(n,t){if(1&n){const e=Ne();S(0,"div",1,2),se("click",function(r){return ee(e),te(C().onOverlayClick(r))}),D(2,Ade,4,17,"div",0),E()}if(2&n){const e=C();jt(e.styleClass),_("ngStyle",e.style)("ngClass",DT(5,kde,[e.modal,e.modal&&"center"===e.overlayResponsiveDirection,e.modal&&"top"===e.overlayResponsiveDirection,e.modal&&"top-start"===e.overlayResponsiveDirection,e.modal&&"top-end"===e.overlayResponsiveDirection,e.modal&&"bottom"===e.overlayResponsiveDirection,e.modal&&"bottom-start"===e.overlayResponsiveDirection,e.modal&&"bottom-end"===e.overlayResponsiveDirection,e.modal&&"left"===e.overlayResponsiveDirection,e.modal&&"left-start"===e.overlayResponsiveDirection,e.modal&&"left-end"===e.overlayResponsiveDirection,e.modal&&"right"===e.overlayResponsiveDirection,e.modal&&"right-start"===e.overlayResponsiveDirection,e.modal&&"right-end"===e.overlayResponsiveDirection])),b(2),_("ngIf",e.visible)}}const Pde=["*"],Lde={provide:Qi,useExisting:Ft(()=>iE),multi:!0},Rde=uv([mi({transform:"{{transform}}",opacity:0}),Na("{{showTransitionParams}}")]),Fde=uv([Na("{{hideTransitionParams}}",mi({transform:"{{transform}}",opacity:0}))]);let iE=(()=>{class n{constructor(e,i,r,o,s,a){this.document=e,this.el=i,this.renderer=r,this.config=o,this.overlayService=s,this.zone=a,this.visibleChange=new Q,this.onBeforeShow=new Q,this.onShow=new Q,this.onBeforeHide=new Q,this.onHide=new Q,this.onAnimationStart=new Q,this.onAnimationDone=new Q,this._visible=!1,this.modalVisible=!1,this.isOverlayClicked=!1,this.isOverlayContentClicked=!1,this.transformOptions={default:"scaleY(0.8)",center:"scale(0.7)",top:"translate3d(0px, -100%, 0px)","top-start":"translate3d(0px, -100%, 0px)","top-end":"translate3d(0px, -100%, 0px)",bottom:"translate3d(0px, 100%, 0px)","bottom-start":"translate3d(0px, 100%, 0px)","bottom-end":"translate3d(0px, 100%, 0px)",left:"translate3d(-100%, 0px, 0px)","left-start":"translate3d(-100%, 0px, 0px)","left-end":"translate3d(-100%, 0px, 0px)",right:"translate3d(100%, 0px, 0px)","right-start":"translate3d(100%, 0px, 0px)","right-end":"translate3d(100%, 0px, 0px)"},this.window=this.document.defaultView}get visible(){return this._visible}set visible(e){this._visible=e,this._visible&&!this.modalVisible&&(this.modalVisible=!0)}get mode(){return this._mode||this.overlayOptions?.mode}set mode(e){this._mode=e}get style(){return wt.merge(this._style,this.modal?this.overlayResponsiveOptions?.style:this.overlayOptions?.style)}set style(e){this._style=e}get styleClass(){return wt.merge(this._styleClass,this.modal?this.overlayResponsiveOptions?.styleClass:this.overlayOptions?.styleClass)}set styleClass(e){this._styleClass=e}get contentStyle(){return wt.merge(this._contentStyle,this.modal?this.overlayResponsiveOptions?.contentStyle:this.overlayOptions?.contentStyle)}set contentStyle(e){this._contentStyle=e}get contentStyleClass(){return wt.merge(this._contentStyleClass,this.modal?this.overlayResponsiveOptions?.contentStyleClass:this.overlayOptions?.contentStyleClass)}set contentStyleClass(e){this._contentStyleClass=e}get target(){const e=this._target||this.overlayOptions?.target;return void 0===e?"@prev":e}set target(e){this._target=e}get appendTo(){return this._appendTo||this.overlayOptions?.appendTo}set appendTo(e){this._appendTo=e}get autoZIndex(){const e=this._autoZIndex||this.overlayOptions?.autoZIndex;return void 0===e||e}set autoZIndex(e){this._autoZIndex=e}get baseZIndex(){const e=this._baseZIndex||this.overlayOptions?.baseZIndex;return void 0===e?0:e}set baseZIndex(e){this._baseZIndex=e}get showTransitionOptions(){const e=this._showTransitionOptions||this.overlayOptions?.showTransitionOptions;return void 0===e?".12s cubic-bezier(0, 0, 0.2, 1)":e}set showTransitionOptions(e){this._showTransitionOptions=e}get hideTransitionOptions(){const e=this._hideTransitionOptions||this.overlayOptions?.hideTransitionOptions;return void 0===e?".1s linear":e}set hideTransitionOptions(e){this._hideTransitionOptions=e}get listener(){return this._listener||this.overlayOptions?.listener}set listener(e){this._listener=e}get responsive(){return this._responsive||this.overlayOptions?.responsive}set responsive(e){this._responsive=e}get options(){return this._options}set options(e){this._options=e}get modal(){return"modal"===this.mode||this.overlayResponsiveOptions&&this.window?.matchMedia(this.overlayResponsiveOptions.media?.replace("@media","")||`(max-width: ${this.overlayResponsiveOptions.breakpoint})`).matches}get overlayMode(){return this.mode||(this.modal?"modal":"overlay")}get overlayOptions(){return{...this.config?.overlayOptions,...this.options}}get overlayResponsiveOptions(){return{...this.overlayOptions?.responsive,...this.responsive}}get overlayResponsiveDirection(){return this.overlayResponsiveOptions?.direction||"center"}get overlayEl(){return this.overlayViewChild?.nativeElement}get contentEl(){return this.contentViewChild?.nativeElement}get targetEl(){return q.getTargetElement(this.target,this.el?.nativeElement)}ngAfterContentInit(){this.templates?.forEach(e=>{e.getType(),this.contentTemplate=e.template})}show(e,i=!1){this.onVisibleChange(!0),this.handleEvents("onShow",{overlay:e||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),i&&q.focus(this.targetEl),this.modal&&q.addClass(this.document?.body,"p-overflow-hidden")}hide(e,i=!1){this.visible&&(this.onVisibleChange(!1),this.handleEvents("onHide",{overlay:e||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),i&&q.focus(this.targetEl),this.modal&&q.removeClass(this.document?.body,"p-overflow-hidden"))}alignOverlay(){!this.modal&&q.alignOverlay(this.overlayEl,this.targetEl,this.appendTo)}onVisibleChange(e){this._visible=e,this.visibleChange.emit(e)}onOverlayClick(e){this.isOverlayClicked=!0}onOverlayContentClick(e){this.overlayService.add({originalEvent:e,target:this.targetEl}),this.isOverlayContentClicked=!0}onOverlayContentAnimationStart(e){switch(e.toState){case"visible":this.handleEvents("onBeforeShow",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.autoZIndex&&vl.set(this.overlayMode,this.overlayEl,this.baseZIndex+this.config?.zIndex[this.overlayMode]),q.appendOverlay(this.overlayEl,"body"===this.appendTo?this.document.body:this.appendTo,this.appendTo),this.alignOverlay();break;case"void":this.handleEvents("onBeforeHide",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.modal&&q.addClass(this.overlayEl,"p-component-overlay-leave")}this.handleEvents("onAnimationStart",e)}onOverlayContentAnimationDone(e){const i=this.overlayEl||e.element.parentElement;switch(e.toState){case"visible":this.show(i,!0),this.bindListeners();break;case"void":this.hide(i,!0),this.unbindListeners(),q.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),vl.clear(i),this.modalVisible=!1}this.handleEvents("onAnimationDone",e)}handleEvents(e,i){this[e].emit(i),this.options&&this.options[e]&&this.options[e](i),this.config?.overlayOptions&&this.config?.overlayOptions[e]&&this.config?.overlayOptions[e](i)}bindListeners(){this.bindScrollListener(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindDocumentKeyboardListener()}unbindListeners(){this.unbindScrollListener(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindDocumentKeyboardListener()}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new QL(this.targetEl,e=>{(!this.listener||this.listener(e,{type:"scroll",mode:this.overlayMode,valid:!0}))&&this.hide(e,!0)})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.document,"click",e=>{const r=!(this.targetEl&&(this.targetEl.isSameNode(e.target)||!this.isOverlayClicked&&this.targetEl.contains(e.target))||this.isOverlayContentClicked);(this.listener?this.listener(e,{type:"outside",mode:this.overlayMode,valid:3!==e.which&&r}):r)&&this.hide(e),this.isOverlayClicked=this.isOverlayContentClicked=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener||(this.documentResizeListener=this.renderer.listen(this.window,"resize",e=>{(this.listener?this.listener(e,{type:"resize",mode:this.overlayMode,valid:!q.isTouchDevice()}):!q.isTouchDevice())&&this.hide(e,!0)}))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindDocumentKeyboardListener(){this.documentKeyboardListener||this.zone.runOutsideAngular(()=>{this.documentKeyboardListener=this.renderer.listen(this.window,"keydown",e=>{this.overlayOptions.hideOnEscape&&27===e.keyCode&&(this.listener?this.listener(e,{type:"keydown",mode:this.overlayMode,valid:!q.isTouchDevice()}):!q.isTouchDevice())&&this.zone.run(()=>{this.hide(e,!0)})})})}unbindDocumentKeyboardListener(){this.documentKeyboardListener&&(this.documentKeyboardListener(),this.documentKeyboardListener=null)}ngOnDestroy(){this.hide(this.overlayEl,!0),this.overlayEl&&(q.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),vl.clear(this.overlayEl)),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.unbindListeners()}}return n.\u0275fac=function(e){return new(e||n)(I(jn),I(Dt),I(ar),I(bl),I(KL),I(Yt))},n.\u0275cmp=Ce({type:n,selectors:[["p-overlay"]],contentQueries:function(e,i,r){if(1&e&&Kn(r,Ni,4),2&e){let o;Ve(o=Be())&&(i.templates=o)}},viewQuery:function(e,i){if(1&e&&(Mt(Dde,5),Mt(Mde,5)),2&e){let r;Ve(r=Be())&&(i.overlayViewChild=r.first),Ve(r=Be())&&(i.contentViewChild=r.first)}},hostAttrs:[1,"p-element"],inputs:{visible:"visible",mode:"mode",style:"style",styleClass:"styleClass",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",target:"target",appendTo:"appendTo",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",listener:"listener",responsive:"responsive",options:"options"},outputs:{visibleChange:"visibleChange",onBeforeShow:"onBeforeShow",onShow:"onShow",onBeforeHide:"onBeforeHide",onHide:"onHide",onAnimationStart:"onAnimationStart",onAnimationDone:"onAnimationDone"},features:[Pt([Lde])],ngContentSelectors:Pde,decls:1,vars:1,consts:[[3,"ngStyle","class","ngClass","click",4,"ngIf"],[3,"ngStyle","ngClass","click"],["overlay",""],["content",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,i){1&e&&($r(),D(0,Nde,3,20,"div",0)),2&e&&_("ngIf",i.modalVisible)},dependencies:[Qn,zt,qr,Ai],styles:[".p-overlay{position:absolute;top:0;left:0}.p-overlay-modal{display:flex;align-items:center;justify-content:center;position:fixed;top:0;left:0;width:100%;height:100%}.p-overlay-content{transform-origin:inherit}.p-overlay-modal>.p-overlay-content{z-index:1;width:90%}.p-overlay-top{align-items:flex-start}.p-overlay-top-start{align-items:flex-start;justify-content:flex-start}.p-overlay-top-end{align-items:flex-start;justify-content:flex-end}.p-overlay-bottom{align-items:flex-end}.p-overlay-bottom-start{align-items:flex-end;justify-content:flex-start}.p-overlay-bottom-end{align-items:flex-end;justify-content:flex-end}.p-overlay-left{justify-content:flex-start}.p-overlay-left-start{justify-content:flex-start;align-items:flex-start}.p-overlay-left-end{justify-content:flex-start;align-items:flex-end}.p-overlay-right{justify-content:flex-end}.p-overlay-right-start{justify-content:flex-end;align-items:flex-start}.p-overlay-right-end{justify-content:flex-end;align-items:flex-end}\n"],encapsulation:2,data:{animation:[xp("overlayContentAnimation",[Pa(":enter",[dv(Rde)]),Pa(":leave",[dv(Fde)])])]},changeDetection:0}),n})();const jde=["element"],zde=["content"];function Vde(n,t){1&n&&Je(0)}const rE=function(n,t){return{$implicit:n,options:t}};function Bde(n,t){if(1&n&&(tt(0),D(1,Vde,1,0,"ng-container",7),nt()),2&n){const e=C(2);b(1),_("ngTemplateOutlet",e.contentTemplate)("ngTemplateOutletContext",Fn(2,rE,e.loadedItems,e.getContentOptions()))}}function Ude(n,t){1&n&&Je(0)}function Hde(n,t){if(1&n&&(tt(0),D(1,Ude,1,0,"ng-container",7),nt()),2&n){const e=t.$implicit,i=t.index,r=C(3);b(1),_("ngTemplateOutlet",r.itemTemplate)("ngTemplateOutletContext",Fn(2,rE,e,r.getOptions(i)))}}const $de=function(n){return{"p-scroller-loading":n}};function Wde(n,t){if(1&n&&(S(0,"div",8,9),D(2,Hde,2,5,"ng-container",10),E()),2&n){const e=C(2);_("ngClass",it(4,$de,e.d_loading))("ngStyle",e.contentStyle),b(2),_("ngForOf",e.loadedItems)("ngForTrackBy",e._trackBy||e.index)}}function Gde(n,t){1&n&&me(0,"div",11),2&n&&_("ngStyle",C(2).spacerStyle)}function Yde(n,t){1&n&&Je(0)}const qde=function(n){return{numCols:n}},sz=function(n){return{options:n}};function Kde(n,t){if(1&n&&(tt(0),D(1,Yde,1,0,"ng-container",7),nt()),2&n){const e=t.index,i=C(4);b(1),_("ngTemplateOutlet",i.loaderTemplate)("ngTemplateOutletContext",it(4,sz,i.getLoaderOptions(e,i.both&&it(2,qde,i._numItemsInViewport.cols))))}}function Qde(n,t){if(1&n&&(tt(0),D(1,Kde,2,6,"ng-container",14),nt()),2&n){const e=C(3);b(1),_("ngForOf",e.loaderArr)}}function Zde(n,t){1&n&&Je(0)}const Jde=function(){return{styleClass:"p-scroller-loading-icon"}};function Xde(n,t){if(1&n&&(tt(0),D(1,Zde,1,0,"ng-container",7),nt()),2&n){const e=C(4);b(1),_("ngTemplateOutlet",e.loaderIconTemplate)("ngTemplateOutletContext",it(3,sz,cr(2,Jde)))}}function ehe(n,t){1&n&&me(0,"i",16)}function the(n,t){if(1&n&&(D(0,Xde,2,5,"ng-container",0),D(1,ehe,1,0,"ng-template",null,15,Mn)),2&n){const e=Ht(2);_("ngIf",C(3).loaderIconTemplate)("ngIfElse",e)}}const nhe=function(n){return{"p-component-overlay":n}};function ihe(n,t){if(1&n&&(S(0,"div",12),D(1,Qde,2,1,"ng-container",0),D(2,the,3,2,"ng-template",null,13,Mn),E()),2&n){const e=Ht(3),i=C(2);_("ngClass",it(3,nhe,!i.loaderTemplate)),b(1),_("ngIf",i.loaderTemplate)("ngIfElse",e)}}const rhe=function(n,t,e){return{"p-scroller":!0,"p-scroller-inline":n,"p-both-scroll":t,"p-horizontal-scroll":e}};function ohe(n,t){if(1&n){const e=Ne();tt(0),S(1,"div",2,3),se("scroll",function(r){return ee(e),te(C().onContainerScroll(r))}),D(3,Bde,2,5,"ng-container",0),D(4,Wde,3,6,"ng-template",null,4,Mn),D(6,Gde,1,1,"div",5),D(7,ihe,4,5,"div",6),E(),nt()}if(2&n){const e=Ht(5),i=C();b(1),jt(i._styleClass),_("ngStyle",i._style)("ngClass",ul(10,rhe,i.inline,i.both,i.horizontal)),Ct("id",i._id)("tabindex",i.tabindex),b(2),_("ngIf",i.contentTemplate)("ngIfElse",e),b(3),_("ngIf",i._showSpacer),b(1),_("ngIf",!i.loaderDisabled&&i._showLoader&&i.d_loading)}}function she(n,t){1&n&&Je(0)}const ahe=function(n,t){return{rows:n,columns:t}};function lhe(n,t){if(1&n&&(tt(0),D(1,she,1,0,"ng-container",7),nt()),2&n){const e=C(2);b(1),_("ngTemplateOutlet",e.contentTemplate)("ngTemplateOutletContext",Fn(5,rE,e.items,Fn(2,ahe,e._items,e.loadedColumns)))}}function che(n,t){if(1&n&&(xi(0),D(1,lhe,2,8,"ng-container",17)),2&n){const e=C();b(1),_("ngIf",e.contentTemplate)}}const uhe=["*"];let oE=(()=>{class n{constructor(e,i){this.cd=e,this.zone=i,this.onLazyLoad=new Q,this.onScroll=new Q,this.onScrollIndexChange=new Q,this._tabindex=0,this._itemSize=0,this._orientation="vertical",this._step=0,this._delay=0,this._resizeDelay=10,this._appendOnly=!1,this._inline=!1,this._lazy=!1,this._disabled=!1,this._loaderDisabled=!1,this._showSpacer=!0,this._showLoader=!1,this._autoSize=!1,this.d_loading=!1,this.first=0,this.last=0,this.page=0,this.isRangeChanged=!1,this.numItemsInViewport=0,this.lastScrollPos=0,this.lazyLoadState={},this.loaderArr=[],this.spacerStyle={},this.contentStyle={},this.initialized=!1}get id(){return this._id}set id(e){this._id=e}get style(){return this._style}set style(e){this._style=e}get styleClass(){return this._styleClass}set styleClass(e){this._styleClass=e}get tabindex(){return this._tabindex}set tabindex(e){this._tabindex=e}get items(){return this._items}set items(e){this._items=e}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=e}get scrollHeight(){return this._scrollHeight}set scrollHeight(e){this._scrollHeight=e}get scrollWidth(){return this._scrollWidth}set scrollWidth(e){this._scrollWidth=e}get orientation(){return this._orientation}set orientation(e){this._orientation=e}get step(){return this._step}set step(e){this._step=e}get delay(){return this._delay}set delay(e){this._delay=e}get resizeDelay(){return this._resizeDelay}set resizeDelay(e){this._resizeDelay=e}get appendOnly(){return this._appendOnly}set appendOnly(e){this._appendOnly=e}get inline(){return this._inline}set inline(e){this._inline=e}get lazy(){return this._lazy}set lazy(e){this._lazy=e}get disabled(){return this._disabled}set disabled(e){this._disabled=e}get loaderDisabled(){return this._loaderDisabled}set loaderDisabled(e){this._loaderDisabled=e}get columns(){return this._columns}set columns(e){this._columns=e}get showSpacer(){return this._showSpacer}set showSpacer(e){this._showSpacer=e}get showLoader(){return this._showLoader}set showLoader(e){this._showLoader=e}get numToleratedItems(){return this._numToleratedItems}set numToleratedItems(e){this._numToleratedItems=e}get loading(){return this._loading}set loading(e){this._loading=e}get autoSize(){return this._autoSize}set autoSize(e){this._autoSize=e}get trackBy(){return this._trackBy}set trackBy(e){this._trackBy=e}get options(){return this._options}set options(e){this._options=e,e&&"object"==typeof e&&Object.entries(e).forEach(([i,r])=>this[`_${i}`]!==r&&(this[`_${i}`]=r))}get vertical(){return"vertical"===this._orientation}get horizontal(){return"horizontal"===this._orientation}get both(){return"both"===this._orientation}get loadedItems(){return this._items&&!this.d_loading?this.both?this._items.slice(this._appendOnly?0:this.first.rows,this.last.rows).map(e=>this._columns?e:e.slice(this._appendOnly?0:this.first.cols,this.last.cols)):this.horizontal&&this._columns?this._items:this._items.slice(this._appendOnly?0:this.first,this.last):[]}get loadedRows(){return this.d_loading?this._loaderDisabled?this.loaderArr:[]:this.loadedItems}get loadedColumns(){return this._columns&&(this.both||this.horizontal)?this.d_loading&&this._loaderDisabled?this.both?this.loaderArr[0]:this.loaderArr:this._columns.slice(this.both?this.first.cols:this.first,this.both?this.last.cols:this.last):this._columns}get isPageChanged(){return!this._step||this.page!==this.getPageByFirst()}ngOnInit(){this.setInitialState()}ngOnChanges(e){let i=!1;if(e.loading){const{previousValue:r,currentValue:o}=e.loading;this.lazy&&r!==o&&o!==this.d_loading&&(this.d_loading=o,i=!0)}if(e.orientation&&(this.lastScrollPos=this.both?{top:0,left:0}:0),e.numToleratedItems){const{previousValue:r,currentValue:o}=e.numToleratedItems;r!==o&&o!==this.d_numToleratedItems&&(this.d_numToleratedItems=o)}if(e.options){const{previousValue:r,currentValue:o}=e.options;this.lazy&&r?.loading!==o?.loading&&o?.loading!==this.d_loading&&(this.d_loading=o.loading,i=!0),r?.numToleratedItems!==o?.numToleratedItems&&o?.numToleratedItems!==this.d_numToleratedItems&&(this.d_numToleratedItems=o.numToleratedItems)}this.initialized&&!i&&(e.items?.previousValue?.length!==e.items?.currentValue?.length||e.itemSize||e.scrollHeight||e.scrollWidth)&&(this.init(),this.calculateAutoSize())}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"content":this.contentTemplate=e.template;break;case"item":default:this.itemTemplate=e.template;break;case"loader":this.loaderTemplate=e.template;break;case"loadericon":this.loaderIconTemplate=e.template}})}ngAfterViewInit(){this.viewInit()}ngAfterViewChecked(){this.initialized||this.viewInit()}ngOnDestroy(){this.unbindResizeListener(),this.contentEl=null,this.initialized=!1}viewInit(){q.isVisible(this.elementViewChild?.nativeElement)&&(this.setInitialState(),this.setContentEl(this.contentEl),this.init(),this.defaultWidth=q.getWidth(this.elementViewChild.nativeElement),this.defaultHeight=q.getHeight(this.elementViewChild.nativeElement),this.defaultContentWidth=q.getWidth(this.contentEl),this.defaultContentHeight=q.getHeight(this.contentEl),this.initialized=!0)}init(){this._disabled||(this.setSize(),this.calculateOptions(),this.setSpacerSize(),this.bindResizeListener(),this.cd.detectChanges())}setContentEl(e){this.contentEl=e||this.contentViewChild?.nativeElement||q.findSingle(this.elementViewChild?.nativeElement,".p-scroller-content")}setInitialState(){this.first=this.both?{rows:0,cols:0}:0,this.last=this.both?{rows:0,cols:0}:0,this.numItemsInViewport=this.both?{rows:0,cols:0}:0,this.lastScrollPos=this.both?{top:0,left:0}:0,this.d_loading=this._loading||!1,this.d_numToleratedItems=this._numToleratedItems,this.loaderArr=[],this.spacerStyle={},this.contentStyle={}}getElementRef(){return this.elementViewChild}getPageByFirst(){return Math.floor((this.first+4*this.d_numToleratedItems)/(this._step||1))}scrollTo(e){this.lastScrollPos=this.both?{top:0,left:0}:0,this.elementViewChild?.nativeElement?.scrollTo(e)}scrollToIndex(e,i="auto"){const{numToleratedItems:r}=this.calculateNumItems(),o=this.getContentPosition(),s=(u=0,d)=>u<=d?0:u,a=(u,d,h)=>u*d+h,l=(u=0,d=0)=>this.scrollTo({left:u,top:d,behavior:i});let c=0;this.both?(c={rows:s(e[0],r[0]),cols:s(e[1],r[1])},l(a(c.cols,this._itemSize[1],o.left),a(c.rows,this._itemSize[0],o.top))):(c=s(e,r),this.horizontal?l(a(c,this._itemSize,o.left),0):l(0,a(c,this._itemSize,o.top))),this.isRangeChanged=this.first!==c,this.first=c}scrollInView(e,i,r="auto"){if(i){const{first:o,viewport:s}=this.getRenderedRange(),a=(u=0,d=0)=>this.scrollTo({left:u,top:d,behavior:r}),c="to-end"===i;if("to-start"===i){if(this.both)s.first.rows-o.rows>e[0]?a(s.first.cols*this._itemSize[1],(s.first.rows-1)*this._itemSize[0]):s.first.cols-o.cols>e[1]&&a((s.first.cols-1)*this._itemSize[1],s.first.rows*this._itemSize[0]);else if(s.first-o>e){const u=(s.first-1)*this._itemSize;this.horizontal?a(u,0):a(0,u)}}else if(c)if(this.both)s.last.rows-o.rows<=e[0]+1?a(s.first.cols*this._itemSize[1],(s.first.rows+1)*this._itemSize[0]):s.last.cols-o.cols<=e[1]+1&&a((s.first.cols+1)*this._itemSize[1],s.first.rows*this._itemSize[0]);else if(s.last-o<=e+1){const u=(s.first+1)*this._itemSize;this.horizontal?a(u,0):a(0,u)}}else this.scrollToIndex(e,r)}getRenderedRange(){const e=(o,s)=>Math.floor(o/(s||o));let i=this.first,r=0;if(this.elementViewChild?.nativeElement){const{scrollTop:o,scrollLeft:s}=this.elementViewChild.nativeElement;this.both?(i={rows:e(o,this._itemSize[0]),cols:e(s,this._itemSize[1])},r={rows:i.rows+this.numItemsInViewport.rows,cols:i.cols+this.numItemsInViewport.cols}):(i=e(this.horizontal?s:o,this._itemSize),r=i+this.numItemsInViewport)}return{first:this.first,last:this.last,viewport:{first:i,last:r}}}calculateNumItems(){const e=this.getContentPosition(),i=this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetWidth-e.left:0,r=this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetHeight-e.top:0,o=(c,u)=>Math.ceil(c/(u||c)),s=c=>Math.ceil(c/2),a=this.both?{rows:o(r,this._itemSize[0]),cols:o(i,this._itemSize[1])}:o(this.horizontal?i:r,this._itemSize);return{numItemsInViewport:a,numToleratedItems:this.d_numToleratedItems||(this.both?[s(a.rows),s(a.cols)]:s(a))}}calculateOptions(){const{numItemsInViewport:e,numToleratedItems:i}=this.calculateNumItems(),r=(a,l,c,u=!1)=>this.getLast(a+l+(aArray.from({length:e.cols})):Array.from({length:e})),this._lazy&&Promise.resolve().then(()=>{this.lazyLoadState={first:this._step?this.both?{rows:0,cols:o.cols}:0:o,last:Math.min(this._step?this._step:this.last,this.items.length)},this.handleEvents("onLazyLoad",this.lazyLoadState)})}calculateAutoSize(){this._autoSize&&!this.d_loading&&Promise.resolve().then(()=>{if(this.contentEl){this.contentEl.style.minHeight=this.contentEl.style.minWidth="auto",this.contentEl.style.position="relative",this.elementViewChild.nativeElement.style.contain="none";const[e,i]=[q.getWidth(this.contentEl),q.getHeight(this.contentEl)];e!==this.defaultContentWidth&&(this.elementViewChild.nativeElement.style.width=""),i!==this.defaultContentHeight&&(this.elementViewChild.nativeElement.style.height="");const[r,o]=[q.getWidth(this.elementViewChild.nativeElement),q.getHeight(this.elementViewChild.nativeElement)];(this.both||this.horizontal)&&(this.elementViewChild.nativeElement.style.width=rthis.elementViewChild.nativeElement.style[s]=a;this.both||this.horizontal?(o("height",r),o("width",i)):o("height",r)}}setSpacerSize(){if(this._items){const e=this.getContentPosition(),i=(r,o,s,a=0)=>this.spacerStyle={...this.spacerStyle,[`${r}`]:(o||[]).length*s+a+"px"};this.both?(i("height",this._items,this._itemSize[0],e.y),i("width",this._columns||this._items[1],this._itemSize[1],e.x)):this.horizontal?i("width",this._columns||this._items,this._itemSize,e.x):i("height",this._items,this._itemSize,e.y)}}setContentPosition(e){if(this.contentEl&&!this._appendOnly){const i=e?e.first:this.first,r=(s,a)=>s*a,o=(s=0,a=0)=>this.contentStyle={...this.contentStyle,transform:`translate3d(${s}px, ${a}px, 0)`};if(this.both)o(r(i.cols,this._itemSize[1]),r(i.rows,this._itemSize[0]));else{const s=r(i,this._itemSize);this.horizontal?o(s,0):o(0,s)}}}onScrollPositionChange(e){const i=e.target,r=this.getContentPosition(),o=(g,y)=>g?g>y?g-y:g:0,s=(g,y)=>Math.floor(g/(y||g)),a=(g,y,w,T,v,N)=>g<=v?v:N?w-T-v:y+v-1,l=(g,y,w,T,v,N,x)=>g<=N?0:Math.max(0,x?gy?w:g-2*N),c=(g,y,w,T,v,N=!1)=>{let x=y+T+2*v;return g>=v&&(x+=v+1),this.getLast(x,N)},u=o(i.scrollTop,r.top),d=o(i.scrollLeft,r.left);let h=this.both?{rows:0,cols:0}:0,f=this.last,p=!1,m=this.lastScrollPos;if(this.both){const g=this.lastScrollPos.top<=u,y=this.lastScrollPos.left<=d;if(!this._appendOnly||this._appendOnly&&(g||y)){const w={rows:s(u,this._itemSize[0]),cols:s(d,this._itemSize[1])},T={rows:a(w.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],g),cols:a(w.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],y)};h={rows:l(w.rows,T.rows,this.first.rows,0,0,this.d_numToleratedItems[0],g),cols:l(w.cols,T.cols,this.first.cols,0,0,this.d_numToleratedItems[1],y)},f={rows:c(w.rows,h.rows,0,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:c(w.cols,h.cols,0,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},p=h.rows!==this.first.rows||f.rows!==this.last.rows||h.cols!==this.first.cols||f.cols!==this.last.cols||this.isRangeChanged,m={top:u,left:d}}}else{const g=this.horizontal?d:u,y=this.lastScrollPos<=g;if(!this._appendOnly||this._appendOnly&&y){const w=s(g,this._itemSize);h=l(w,a(w,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,y),this.first,0,0,this.d_numToleratedItems,y),f=c(w,h,0,this.numItemsInViewport,this.d_numToleratedItems),p=h!==this.first||f!==this.last||this.isRangeChanged,m=g}}return{first:h,last:f,isRangeChanged:p,scrollPos:m}}onScrollChange(e){const{first:i,last:r,isRangeChanged:o,scrollPos:s}=this.onScrollPositionChange(e);if(o){const a={first:i,last:r};if(this.setContentPosition(a),this.first=i,this.last=r,this.lastScrollPos=s,this.handleEvents("onScrollIndexChange",a),this._lazy&&this.isPageChanged){const l={first:this._step?Math.min(this.getPageByFirst()*this._step,this.items.length-this._step):i,last:Math.min(this._step?(this.getPageByFirst()+1)*this._step:r,this.items.length)};(this.lazyLoadState.first!==l.first||this.lazyLoadState.last!==l.last)&&this.handleEvents("onLazyLoad",l),this.lazyLoadState=l}}}onContainerScroll(e){if(this.handleEvents("onScroll",{originalEvent:e}),this._delay&&this.isPageChanged){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.d_loading&&this.showLoader){const{isRangeChanged:i}=this.onScrollPositionChange(e);(i||this._step&&this.isPageChanged)&&(this.d_loading=!0,this.cd.detectChanges())}this.scrollTimeout=setTimeout(()=>{this.onScrollChange(e),this.d_loading&&this.showLoader&&(!this._lazy||void 0===this._loading)&&(this.d_loading=!1,this.page=this.getPageByFirst(),this.cd.detectChanges())},this._delay)}else!this.d_loading&&this.onScrollChange(e)}bindResizeListener(){this.windowResizeListener||this.zone.runOutsideAngular(()=>{this.windowResizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.windowResizeListener),window.addEventListener("orientationchange",this.windowResizeListener)})}unbindResizeListener(){this.windowResizeListener&&(window.removeEventListener("resize",this.windowResizeListener),window.removeEventListener("orientationchange",this.windowResizeListener),this.windowResizeListener=null)}onWindowResize(){this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{if(q.isVisible(this.elementViewChild?.nativeElement)){const[e,i]=[q.getWidth(this.elementViewChild.nativeElement),q.getHeight(this.elementViewChild.nativeElement)],[r,o]=[e!==this.defaultWidth,i!==this.defaultHeight];(this.both?r||o:this.horizontal?r:this.vertical&&o)&&this.zone.run(()=>{this.d_numToleratedItems=this._numToleratedItems,this.defaultWidth=e,this.defaultHeight=i,this.defaultContentWidth=q.getWidth(this.contentEl),this.defaultContentHeight=q.getHeight(this.contentEl),this.init()})}},this._resizeDelay)}handleEvents(e,i){return this.options&&this.options[e]?this.options[e](i):this[e].emit(i)}getContentOptions(){return{contentStyleClass:"p-scroller-content "+(this.d_loading?"p-scroller-loading":""),items:this.loadedItems,getItemOptions:e=>this.getOptions(e),loading:this.d_loading,getLoaderOptions:(e,i)=>this.getLoaderOptions(e,i),itemSize:this._itemSize,rows:this.loadedRows,columns:this.loadedColumns,spacerStyle:this.spacerStyle,contentStyle:this.contentStyle,vertical:this.vertical,horizontal:this.horizontal,both:this.both}}getOptions(e){const i=(this._items||[]).length,r=this.both?this.first.rows+e:this.first+e;return{index:r,count:i,first:0===r,last:r===i-1,even:r%2==0,odd:r%2!=0}}getLoaderOptions(e,i){const r=this.loaderArr.length;return{index:e,count:r,first:0===e,last:e===r-1,even:e%2==0,odd:e%2!=0,...i}}}return n.\u0275fac=function(e){return new(e||n)(I(In),I(Yt))},n.\u0275cmp=Ce({type:n,selectors:[["p-scroller"]],contentQueries:function(e,i,r){if(1&e&&Kn(r,Ni,4),2&e){let o;Ve(o=Be())&&(i.templates=o)}},viewQuery:function(e,i){if(1&e&&(Mt(jde,5),Mt(zde,5)),2&e){let r;Ve(r=Be())&&(i.elementViewChild=r.first),Ve(r=Be())&&(i.contentViewChild=r.first)}},hostAttrs:[1,"p-scroller-viewport","p-element"],inputs:{id:"id",style:"style",styleClass:"styleClass",tabindex:"tabindex",items:"items",itemSize:"itemSize",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth",orientation:"orientation",step:"step",delay:"delay",resizeDelay:"resizeDelay",appendOnly:"appendOnly",inline:"inline",lazy:"lazy",disabled:"disabled",loaderDisabled:"loaderDisabled",columns:"columns",showSpacer:"showSpacer",showLoader:"showLoader",numToleratedItems:"numToleratedItems",loading:"loading",autoSize:"autoSize",trackBy:"trackBy",options:"options"},outputs:{onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange"},features:[Gi],ngContentSelectors:uhe,decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["disabledContainer",""],[3,"ngStyle","ngClass","scroll"],["element",""],["buildInContent",""],["class","p-scroller-spacer",3,"ngStyle",4,"ngIf"],["class","p-scroller-loader",3,"ngClass",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-scroller-content",3,"ngClass","ngStyle"],["content",""],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"p-scroller-spacer",3,"ngStyle"],[1,"p-scroller-loader",3,"ngClass"],["buildInLoader",""],[4,"ngFor","ngForOf"],["buildInLoaderIcon",""],[1,"p-scroller-loading-icon","pi","pi-spinner","pi-spin"],[4,"ngIf"]],template:function(e,i){if(1&e&&($r(),D(0,ohe,8,14,"ng-container",0),D(1,che,2,1,"ng-template",null,1,Mn)),2&e){const r=Ht(2);_("ngIf",!i._disabled)("ngIfElse",r)}},dependencies:[Qn,Er,zt,qr,Ai],styles:["p-scroller{flex:1;outline:0 none}.p-scroller{position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;outline:0 none}.p-scroller-content{position:absolute;top:0;left:0;min-height:100%;min-width:100%;will-change:transform}.p-scroller-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0;pointer-events:none}.p-scroller-loader{position:sticky;top:0;left:0;width:100%;height:100%}.p-scroller-loader.p-component-overlay{display:flex;align-items:center;justify-content:center}.p-scroller-loading-icon{font-size:2rem}.p-scroller-inline .p-scroller-content{position:static}\n"],encapsulation:2}),n})(),az=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})();function dhe(n,t){if(1&n&&(S(0,"span"),Se(1),E()),2&n){const e=C();let i;b(1),yt(null!==(i=e.label)&&void 0!==i?i:"empty")}}function hhe(n,t){1&n&&Je(0)}const Dg=function(n){return{height:n}},fhe=function(n,t){return{"p-dropdown-item":!0,"p-highlight":n,"p-disabled":t}},sE=function(n){return{$implicit:n}},phe=["container"],mhe=["filter"],ghe=["in"],yhe=["editableInput"],_he=["items"],vhe=["scroller"],bhe=["overlay"];function Che(n,t){if(1&n&&(tt(0),Se(1),nt()),2&n){const e=C(2);b(1),yt(e.label||"empty")}}function whe(n,t){1&n&&Je(0)}const The=function(n){return{"p-dropdown-label p-inputtext":!0,"p-dropdown-label-empty":n}};function Dhe(n,t){if(1&n&&(S(0,"span",14),D(1,Che,2,1,"ng-container",15),D(2,whe,1,0,"ng-container",16),E()),2&n){const e=C();_("ngClass",it(9,The,null==e.label||0===e.label.length))("pTooltip",e.tooltip)("tooltipPosition",e.tooltipPosition)("positionStyle",e.tooltipPositionStyle)("tooltipStyleClass",e.tooltipStyleClass),Ct("id",e.labelId),b(1),_("ngIf",!e.selectedItemTemplate),b(1),_("ngTemplateOutlet",e.selectedItemTemplate)("ngTemplateOutletContext",it(11,sE,e.selectedOption))}}const Mhe=function(n){return{"p-dropdown-label p-inputtext p-placeholder":!0,"p-dropdown-label-empty":n}};function She(n,t){if(1&n&&(S(0,"span",17),Se(1),E()),2&n){const e=C();_("ngClass",it(2,Mhe,null==e.placeholder||0===e.placeholder.length)),b(1),yt(e.placeholder||"empty")}}function Ehe(n,t){if(1&n){const e=Ne();S(0,"input",18,19),se("input",function(r){return ee(e),te(C().onEditableInputChange(r))})("focus",function(r){return ee(e),te(C().onEditableInputFocus(r))})("blur",function(r){return ee(e),te(C().onInputBlur(r))}),E()}if(2&n){const e=C();_("disabled",e.disabled),Ct("maxlength",e.maxlength)("placeholder",e.placeholder)("aria-expanded",e.overlayVisible)}}function xhe(n,t){if(1&n){const e=Ne();S(0,"i",20),se("click",function(r){return ee(e),te(C().clear(r))}),E()}}function Ihe(n,t){1&n&&Je(0)}function Ohe(n,t){1&n&&Je(0)}const lz=function(n){return{options:n}};function Ahe(n,t){if(1&n&&(tt(0),D(1,Ohe,1,0,"ng-container",16),nt()),2&n){const e=C(3);b(1),_("ngTemplateOutlet",e.filterTemplate)("ngTemplateOutletContext",it(2,lz,e.filterOptions))}}function khe(n,t){if(1&n){const e=Ne();S(0,"div",30)(1,"input",31,32),se("keydown.enter",function(r){return r.preventDefault()})("keydown",function(r){return ee(e),te(C(3).onKeydown(r,!1))})("input",function(r){return ee(e),te(C(3).onFilterInputChange(r))}),E(),me(3,"span",33),E()}if(2&n){const e=C(3);b(1),_("value",e.filterValue||""),Ct("placeholder",e.filterPlaceholder)("aria-label",e.ariaFilterLabel)("aria-activedescendant",e.overlayVisible?"p-highlighted-option":e.labelId)}}function Nhe(n,t){if(1&n&&(S(0,"div",27),se("click",function(i){return i.stopPropagation()}),D(1,Ahe,2,4,"ng-container",28),D(2,khe,4,4,"ng-template",null,29,Mn),E()),2&n){const e=Ht(3),i=C(2);b(1),_("ngIf",i.filterTemplate)("ngIfElse",e)}}function Phe(n,t){1&n&&Je(0)}const cz=function(n,t){return{$implicit:n,options:t}};function Lhe(n,t){if(1&n&&D(0,Phe,1,0,"ng-container",16),2&n){const e=t.$implicit,i=t.options;C(2),_("ngTemplateOutlet",Ht(7))("ngTemplateOutletContext",Fn(2,cz,e,i))}}function Rhe(n,t){1&n&&Je(0)}function Fhe(n,t){if(1&n&&D(0,Rhe,1,0,"ng-container",16),2&n){const e=t.options;_("ngTemplateOutlet",C(4).loaderTemplate)("ngTemplateOutletContext",it(2,lz,e))}}function jhe(n,t){1&n&&(tt(0),D(1,Fhe,1,4,"ng-template",36),nt())}function zhe(n,t){if(1&n){const e=Ne();S(0,"p-scroller",34,35),se("onLazyLoad",function(r){return ee(e),te(C(2).onLazyLoad.emit(r))}),D(2,Lhe,1,5,"ng-template",13),D(3,jhe,2,0,"ng-container",15),E()}if(2&n){const e=C(2);Gn(it(8,Dg,e.scrollHeight)),_("items",e.optionsToDisplay)("itemSize",e.virtualScrollItemSize||e._itemSize)("autoSize",!0)("lazy",e.lazy)("options",e.virtualScrollOptions),b(3),_("ngIf",e.loaderTemplate)}}function Vhe(n,t){1&n&&Je(0)}const Bhe=function(){return{}};function Uhe(n,t){if(1&n&&(tt(0),D(1,Vhe,1,0,"ng-container",16),nt()),2&n){C();const e=Ht(7),i=C();b(1),_("ngTemplateOutlet",e)("ngTemplateOutletContext",Fn(3,cz,i.optionsToDisplay,cr(2,Bhe)))}}function Hhe(n,t){if(1&n&&(S(0,"span"),Se(1),E()),2&n){const e=C().$implicit,i=C(4);b(1),yt(i.getOptionGroupLabel(e)||"empty")}}function $he(n,t){1&n&&Je(0)}function Whe(n,t){1&n&&Je(0)}const uz=function(n,t){return{$implicit:n,selectedOption:t}};function Ghe(n,t){if(1&n&&(S(0,"li",42),D(1,Hhe,2,1,"span",15),D(2,$he,1,0,"ng-container",16),E(),D(3,Whe,1,0,"ng-container",16)),2&n){const e=t.$implicit,i=C(2).options,r=Ht(5),o=C(2);_("ngStyle",it(6,Dg,i.itemSize+"px")),b(1),_("ngIf",!o.groupTemplate),b(1),_("ngTemplateOutlet",o.groupTemplate)("ngTemplateOutletContext",it(8,sE,e)),b(1),_("ngTemplateOutlet",r)("ngTemplateOutletContext",Fn(10,uz,o.getOptionGroupChildren(e),o.selectedOption))}}function Yhe(n,t){if(1&n&&(tt(0),D(1,Ghe,4,13,"ng-template",41),nt()),2&n){const e=C().$implicit;b(1),_("ngForOf",e)}}function qhe(n,t){1&n&&Je(0)}function Khe(n,t){if(1&n&&(tt(0),D(1,qhe,1,0,"ng-container",16),nt()),2&n){const e=C().$implicit,i=Ht(5),r=C(2);b(1),_("ngTemplateOutlet",i)("ngTemplateOutletContext",Fn(2,uz,e,r.selectedOption))}}function Qhe(n,t){if(1&n){const e=Ne();S(0,"p-dropdownItem",43),se("onClick",function(r){return ee(e),te(C(4).onItemClick(r))}),E()}if(2&n){const e=t.$implicit,i=C().selectedOption,r=C(3);_("option",e)("selected",i==e)("label",r.getOptionLabel(e))("disabled",r.isOptionDisabled(e))("template",r.itemTemplate)}}function Zhe(n,t){1&n&&D(0,Qhe,1,5,"ng-template",41),2&n&&_("ngForOf",t.$implicit)}function Jhe(n,t){if(1&n&&(tt(0),Se(1),nt()),2&n){const e=C(4);b(1),ji(" ",e.emptyFilterMessageLabel," ")}}function Xhe(n,t){1&n&&Je(0,null,45)}function efe(n,t){if(1&n&&(S(0,"li",44),D(1,Jhe,2,1,"ng-container",28),D(2,Xhe,2,0,"ng-container",22),E()),2&n){const e=C().options,i=C(2);_("ngStyle",it(4,Dg,e.itemSize+"px")),b(1),_("ngIf",!i.emptyFilterTemplate&&!i.emptyTemplate)("ngIfElse",i.emptyFilter),b(1),_("ngTemplateOutlet",i.emptyFilterTemplate||i.emptyTemplate)}}function tfe(n,t){if(1&n&&(tt(0),Se(1),nt()),2&n){const e=C(4);b(1),ji(" ",e.emptyMessageLabel," ")}}function nfe(n,t){1&n&&Je(0,null,46)}function ife(n,t){if(1&n&&(S(0,"li",44),D(1,tfe,2,1,"ng-container",28),D(2,nfe,2,0,"ng-container",22),E()),2&n){const e=C().options,i=C(2);_("ngStyle",it(4,Dg,e.itemSize+"px")),b(1),_("ngIf",!i.emptyTemplate)("ngIfElse",i.empty),b(1),_("ngTemplateOutlet",i.emptyTemplate)}}function rfe(n,t){if(1&n&&(S(0,"ul",37,38),D(2,Yhe,2,1,"ng-container",15),D(3,Khe,2,5,"ng-container",15),D(4,Zhe,1,1,"ng-template",null,39,Mn),D(6,efe,3,6,"li",40),D(7,ife,3,6,"li",40),E()),2&n){const e=t.options,i=C(2);Gn(e.contentStyle),_("ngClass",e.contentStyleClass),Ct("id",i.listId),b(2),_("ngIf",i.group),b(1),_("ngIf",!i.group),b(3),_("ngIf",i.filterValue&&i.isEmpty()),b(1),_("ngIf",!i.filterValue&&i.isEmpty())}}function ofe(n,t){1&n&&Je(0)}function sfe(n,t){if(1&n&&(S(0,"div",21),D(1,Ihe,1,0,"ng-container",22),D(2,Nhe,4,2,"div",23),S(3,"div",24),D(4,zhe,4,10,"p-scroller",25),D(5,Uhe,2,6,"ng-container",15),D(6,rfe,8,8,"ng-template",null,26,Mn),E(),D(8,ofe,1,0,"ng-container",22),E()),2&n){const e=C();jt(e.panelStyleClass),_("ngClass","p-dropdown-panel p-component")("ngStyle",e.panelStyle),b(1),_("ngTemplateOutlet",e.headerTemplate),b(1),_("ngIf",e.filter),b(1),cl("max-height",e.virtualScroll?"auto":e.scrollHeight||"auto"),b(1),_("ngIf",e.virtualScroll),b(1),_("ngIf",!e.virtualScroll),b(3),_("ngTemplateOutlet",e.footerTemplate)}}const afe=function(n,t,e,i){return{"p-dropdown p-component":!0,"p-disabled":n,"p-dropdown-open":t,"p-focus":e,"p-dropdown-clearable":i}},lfe={provide:Qi,useExisting:Ft(()=>aE),multi:!0};let cfe=(()=>{class n{constructor(){this.onClick=new Q}onOptionClick(e){this.onClick.emit({originalEvent:e,option:this.option})}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=Ce({type:n,selectors:[["p-dropdownItem"]],hostAttrs:[1,"p-element"],inputs:{option:"option",selected:"selected",label:"label",disabled:"disabled",visible:"visible",itemSize:"itemSize",template:"template"},outputs:{onClick:"onClick"},decls:3,vars:15,consts:[["role","option","pRipple","",3,"ngStyle","id","ngClass","click"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,i){1&e&&(S(0,"li",0),se("click",function(o){return i.onOptionClick(o)}),D(1,dhe,2,1,"span",1),D(2,hhe,1,0,"ng-container",2),E()),2&e&&(_("ngStyle",it(8,Dg,i.itemSize+"px"))("id",i.selected?"p-highlighted-option":"")("ngClass",Fn(10,fhe,i.selected,i.disabled)),Ct("aria-label",i.label)("aria-selected",i.selected),b(1),_("ngIf",!i.template),b(1),_("ngTemplateOutlet",i.template)("ngTemplateOutletContext",it(13,sE,i.option)))},dependencies:[Qn,zt,qr,Ai,wl],encapsulation:2}),n})(),aE=(()=>{class n{constructor(e,i,r,o,s,a){this.el=e,this.renderer=i,this.cd=r,this.zone=o,this.filterService=s,this.config=a,this.scrollHeight="200px",this.resetFilterOnHide=!1,this.dropdownIcon="pi pi-chevron-down",this.optionGroupChildren="items",this.autoDisplayFirst=!0,this.emptyFilterMessage="",this.emptyMessage="",this.lazy=!1,this.filterMatchMode="contains",this.tooltip="",this.tooltipPosition="right",this.tooltipPositionStyle="absolute",this.autofocusFilter=!0,this.overlayDirection="end",this.onChange=new Q,this.onFilter=new Q,this.onFocus=new Q,this.onBlur=new Q,this.onClick=new Q,this.onShow=new Q,this.onHide=new Q,this.onClear=new Q,this.onLazyLoad=new Q,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.id=T1()}get disabled(){return this._disabled}set disabled(e){e&&(this.focused=!1,this.overlayVisible&&this.hide()),this._disabled=e,this.cd.destroyed||this.cd.detectChanges()}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=e,console.warn("The itemSize property is deprecated, use virtualScrollItemSize property instead.")}get autoZIndex(){return this._autoZIndex}set autoZIndex(e){this._autoZIndex=e,console.warn("The autoZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}get baseZIndex(){return this._baseZIndex}set baseZIndex(e){this._baseZIndex=e,console.warn("The baseZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}get showTransitionOptions(){return this._showTransitionOptions}set showTransitionOptions(e){this._showTransitionOptions=e,console.warn("The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}get hideTransitionOptions(){return this._hideTransitionOptions}set hideTransitionOptions(e){this._hideTransitionOptions=e,console.warn("The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"item":default:this.itemTemplate=e.template;break;case"selectedItem":this.selectedItemTemplate=e.template;break;case"header":this.headerTemplate=e.template;break;case"filter":this.filterTemplate=e.template;break;case"footer":this.footerTemplate=e.template;break;case"emptyfilter":this.emptyFilterTemplate=e.template;break;case"empty":this.emptyTemplate=e.template;break;case"group":this.groupTemplate=e.template;break;case"loader":this.loaderTemplate=e.template}})}ngOnInit(){this.optionsToDisplay=this.options,this.updateSelectedOption(null),this.labelId=this.id+"_label",this.listId=this.id+"_list",this.filterBy&&(this.filterOptions={filter:e=>this.onFilterInputChange(e),reset:()=>this.resetFilter()})}get options(){return this._options}set options(e){this._options=e,this.optionsToDisplay=this._options,this.updateSelectedOption(this.value),this.selectedOption=this.findOption(this.value,this.optionsToDisplay),!this.selectedOption&&wt.isNotEmpty(this.value)&&!this.editable&&(this.value=null,this.onModelChange(this.value)),this.optionsChanged=!0,this._filterValue&&this._filterValue.length&&this.activateFilter()}get filterValue(){return this._filterValue}set filterValue(e){this._filterValue=e,this.activateFilter()}ngAfterViewInit(){this.editable&&this.updateEditableLabel()}get label(){return"number"==typeof this.selectedOption&&(this.selectedOption=this.selectedOption.toString()),this.selectedOption?this.getOptionLabel(this.selectedOption):null}get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(Cl.EMPTY_MESSAGE)}get emptyFilterMessageLabel(){return this.emptyFilterMessage||this.config.getTranslation(Cl.EMPTY_FILTER_MESSAGE)}get filled(){return"string"==typeof this.value?!!this.value:this.value||null!=this.value||null!=this.value}get isVisibleClearIcon(){return null!=this.value&&""!==this.value&&this.showClear&&!this.disabled}updateEditableLabel(){this.editableInputViewChild&&this.editableInputViewChild.nativeElement&&(this.editableInputViewChild.nativeElement.value=this.selectedOption?this.getOptionLabel(this.selectedOption):this.value||"")}getOptionLabel(e){return this.optionLabel?wt.resolveFieldData(e,this.optionLabel):e&&void 0!==e.label?e.label:e}getOptionValue(e){return this.optionValue?wt.resolveFieldData(e,this.optionValue):!this.optionLabel&&e&&void 0!==e.value?e.value:e}isOptionDisabled(e){return this.optionDisabled?wt.resolveFieldData(e,this.optionDisabled):!(!e||void 0===e.disabled)&&e.disabled}getOptionGroupLabel(e){return this.optionGroupLabel?wt.resolveFieldData(e,this.optionGroupLabel):e&&void 0!==e.label?e.label:e}getOptionGroupChildren(e){return this.optionGroupChildren?wt.resolveFieldData(e,this.optionGroupChildren):e.items}onItemClick(e){const i=e.option;this.isOptionDisabled(i)||(this.selectItem(e.originalEvent,i),this.accessibleViewChild.nativeElement.focus({preventScroll:!0})),setTimeout(()=>{this.hide()},1)}selectItem(e,i){this.selectedOption!=i&&(this.selectedOption=i,this.value=this.getOptionValue(i),this.onModelChange(this.value),this.updateEditableLabel(),this.onChange.emit({originalEvent:e,value:this.value}))}ngAfterViewChecked(){if(this.optionsChanged&&this.overlayVisible&&(this.optionsChanged=!1,this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.overlayViewChild&&this.overlayViewChild.alignOverlay()},1)})),this.selectedOptionUpdated&&this.itemsWrapper){let e=q.findSingle(this.overlayViewChild.overlayViewChild.nativeElement,"li.p-highlight");e&&q.scrollInView(this.itemsWrapper,e),this.selectedOptionUpdated=!1}}writeValue(e){this.filter&&this.resetFilter(),this.value=e,this.updateSelectedOption(e),this.updateEditableLabel(),this.cd.markForCheck()}resetFilter(){this._filterValue=null,this.filterViewChild&&this.filterViewChild.nativeElement&&(this.filterViewChild.nativeElement.value=""),this.optionsToDisplay=this.options}updateSelectedOption(e){this.selectedOption=this.findOption(e,this.optionsToDisplay),this.autoDisplayFirst&&!this.placeholder&&!this.selectedOption&&this.optionsToDisplay&&this.optionsToDisplay.length&&!this.editable&&(this.selectedOption=this.group?this.optionsToDisplay[0].items[0]:this.optionsToDisplay[0],this.value=this.getOptionValue(this.selectedOption),this.onModelChange(this.value)),this.selectedOptionUpdated=!0}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}onMouseclick(e){this.disabled||this.readonly||this.isInputClick(e)||(this.onClick.emit(e),this.accessibleViewChild.nativeElement.focus({preventScroll:!0}),this.overlayVisible?this.hide():this.show(),this.cd.detectChanges())}isInputClick(e){return q.hasClass(e.target,"p-dropdown-clear-icon")||e.target.isSameNode(this.accessibleViewChild.nativeElement)||this.editableInputViewChild&&e.target.isSameNode(this.editableInputViewChild.nativeElement)}isEmpty(){return!this.optionsToDisplay||this.optionsToDisplay&&0===this.optionsToDisplay.length}onEditableInputFocus(e){this.focused=!0,this.hide(),this.onFocus.emit(e)}onEditableInputChange(e){this.value=e.target.value,this.updateSelectedOption(this.value),this.onModelChange(this.value),this.onChange.emit({originalEvent:e,value:this.value})}show(){this.overlayVisible=!0,this.cd.markForCheck()}onOverlayAnimationStart(e){if("visible"===e.toState){if(this.itemsWrapper=q.findSingle(this.overlayViewChild.overlayViewChild.nativeElement,this.virtualScroll?".p-scroller":".p-dropdown-items-wrapper"),this.virtualScroll&&this.scroller.setContentEl(this.itemsViewChild.nativeElement),this.options&&this.options.length)if(this.virtualScroll){const i=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;-1!==i&&this.scroller.scrollToIndex(i)}else{let i=q.findSingle(this.itemsWrapper,".p-dropdown-item.p-highlight");i&&i.scrollIntoView({block:"nearest",inline:"center"})}this.filterViewChild&&this.filterViewChild.nativeElement&&(this.preventModelTouched=!0,this.autofocusFilter&&this.filterViewChild.nativeElement.focus()),this.onShow.emit(e)}"void"===e.toState&&(this.itemsWrapper=null,this.onModelTouched(),this.onHide.emit(e))}hide(){this.overlayVisible=!1,this.filter&&this.resetFilterOnHide&&this.resetFilter(),this.cd.markForCheck()}onInputFocus(e){this.focused=!0,this.onFocus.emit(e)}onInputBlur(e){this.focused=!1,this.onBlur.emit(e),this.preventModelTouched||this.onModelTouched(),this.preventModelTouched=!1}findPrevEnabledOption(e){let i;if(this.optionsToDisplay&&this.optionsToDisplay.length){for(let r=e-1;0<=r;r--){let o=this.optionsToDisplay[r];if(!this.isOptionDisabled(o)){i=o;break}}if(!i)for(let r=this.optionsToDisplay.length-1;r>=e;r--){let o=this.optionsToDisplay[r];if(!this.isOptionDisabled(o)){i=o;break}}}return i}findNextEnabledOption(e){let i;if(this.optionsToDisplay&&this.optionsToDisplay.length){for(let r=e+1;r0&&this.selectItem(e,this.getOptionGroupChildren(this.optionsToDisplay[0])[0])}else{let r=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1,o=this.findNextEnabledOption(r);o&&(this.selectItem(e,o),this.selectedOptionUpdated=!0)}e.preventDefault();break;case 38:if(this.group){let r=this.selectedOption?this.findOptionGroupIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;if(-1!==r){let o=r.itemIndex-1;if(o>=0)this.selectItem(e,this.getOptionGroupChildren(this.optionsToDisplay[r.groupIndex])[o]),this.selectedOptionUpdated=!0;else if(o<0){let s=this.optionsToDisplay[r.groupIndex-1];s&&(this.selectItem(e,this.getOptionGroupChildren(s)[this.getOptionGroupChildren(s).length-1]),this.selectedOptionUpdated=!0)}}}else{let r=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1,o=this.findPrevEnabledOption(r);o&&(this.selectItem(e,o),this.selectedOptionUpdated=!0)}e.preventDefault();break;case 32:i&&(this.overlayVisible?this.hide():this.show(),e.preventDefault());break;case 13:this.overlayVisible&&(!this.filter||this.optionsToDisplay&&this.optionsToDisplay.length>0)?this.hide():this.overlayVisible||this.show(),e.preventDefault();break;case 27:case 9:this.hide();break;default:i&&!e.metaKey&&17!==e.which&&this.search(e)}}search(e){this.searchTimeout&&clearTimeout(this.searchTimeout);const i=e.key;let r;if(this.previousSearchChar=this.currentSearchChar,this.currentSearchChar=i,this.searchValue=this.previousSearchChar===this.currentSearchChar?this.currentSearchChar:this.searchValue?this.searchValue+i:i,this.group){let o=this.selectedOption?this.findOptionGroupIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):{groupIndex:0,itemIndex:0};r=this.searchOptionWithinGroup(o)}else{let o=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;r=this.searchOption(++o)}r&&!this.isOptionDisabled(r)&&(this.selectItem(e,r),this.selectedOptionUpdated=!0),this.searchTimeout=setTimeout(()=>{this.searchValue=null},250)}searchOption(e){let i;return this.searchValue&&(i=this.searchOptionInRange(e,this.optionsToDisplay.length),i||(i=this.searchOptionInRange(0,e))),i}searchOptionInRange(e,i){for(let r=e;r{this.getSitesList(o.filter)}):console.warn("ContainerOptionsDirective is for use with PrimeNg Dropdown")}ngOnInit(){this.getSitesList(),this.dotEvents.forEach(t=>{this.dotEventsService.listen(t).pipe(yn(this.destroy$)).subscribe(()=>this.getSitesList())})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}setOptions(t){this.primeDropdown.options=[...t],this.cd.detectChanges()}getSitesList(t=""){this.dotSiteService.getSites(t,this.pageSize).pipe(At(1)).subscribe(e=>this.setOptions(e))}}_0.\u0275fac=function(t){return new(t||_0)(I(aE,10),I(Ch),I(wh),I(In))},_0.\u0275dir=we({type:_0,selectors:[["","dotSiteSelector",""]],inputs:{archive:"archive",live:"live",system:"system",pageSize:"pageSize"},standalone:!0,features:[Pt([Ji])]});class Mg{constructor(t){this.el=t}ngOnInit(){this.el.nativeElement.disabled||setTimeout(()=>{this.el.nativeElement.focus()},100)}}Mg.\u0275fac=function(t){return new(t||Mg)(I(Dt))},Mg.\u0275dir=we({type:Mg,selectors:[["","dotAutofocus",""]],standalone:!0});class v0{constructor(t,e){this.ngControl=t,this.el=e}onBlur(){this.ngControl.control.setValue(this.ngControl.value.trim())}ngAfterViewInit(){"input"!==this.el.nativeElement.tagName.toLowerCase()&&console.warn("DotTrimInputDirective is for use with Inputs")}}v0.\u0275fac=function(t){return new(t||v0)(I(js,10),I(Dt))},v0.\u0275dir=we({type:v0,selectors:[["","dotTrimInput",""]],hostBindings:function(t,e){1&t&&se("blur",function(){return e.onBlur()})},standalone:!0});class b0{constructor(t,e,i,r){this.primeDropdown=t,this.dotContainersService=e,this.dotMessageService=i,this.changeDetectorRef=r,this.maxOptions=10,this.destroy$=new ue,this.control=this.primeDropdown,this.loadErrorMessage=this.dotMessageService.get("dot.template.builder.box.containers.error"),this.control?(this.control.group=!0,this.control.optionLabel="label",this.control.optionValue="value",this.control.optionDisabled="inactive",this.control.filterBy="value.friendlyName,value.title"):console.warn("ContainerOptionsDirective is for use with PrimeNg Dropdown")}ngOnInit(){this.fetchContainerOptions().subscribe(t=>{this.control.options=this.control.options||t}),this.control.onFilter.pipe(yn(this.destroy$),th(500),li(t=>this.fetchContainerOptions(t.filter))).subscribe(t=>this.setOptions(t))}fetchContainerOptions(t=""){return this.dotContainersService.getFiltered(t,this.maxOptions,!0).pipe(fe(e=>{const i=e.map(r=>({label:r.title,value:r,inactive:!1})).sort((r,o)=>r.label.localeCompare(o.label));return this.getOptionsGroupedByHost(i)}),zi(()=>this.handleContainersLoadError()))}handleContainersLoadError(){return this.control.disabled=!0,Re([])}setOptions(t){this.control.options=[...t],this.changeDetectorRef.detectChanges()}getOptionsGroupedByHost(t){const e=this.getContainerGroupedByHost(t);return Object.keys(e).map(i=>({label:i,items:e[i].items}))}getContainerGroupedByHost(t){return t.reduce((e,i)=>{const{hostname:r}=i.value.parentPermissionable;return e[r]||(e[r]={items:[]}),e[r].items.push(i),e},{})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}}b0.\u0275fac=function(t){return new(t||b0)(I(aE,10),I(bh),I(Mo),I(In))},b0.\u0275dir=we({type:b0,selectors:[["p-dropdown","dotContainerOptions",""]],standalone:!0});const hfe=["container"],ffe=["in"],pfe=["multiIn"],mfe=["multiContainer"],gfe=["ddBtn"],yfe=["items"],_fe=["scroller"],vfe=["overlay"],bfe=function(n,t){return{"p-autocomplete-dd-input":n,"p-disabled":t}};function Cfe(n,t){if(1&n){const e=Ne();S(0,"input",13,14),se("click",function(r){return ee(e),te(C().onInputClick(r))})("input",function(r){return ee(e),te(C().onInput(r))})("keydown",function(r){return ee(e),te(C().onKeydown(r))})("keyup",function(r){return ee(e),te(C().onKeyup(r))})("focus",function(r){return ee(e),te(C().onInputFocus(r))})("blur",function(r){return ee(e),te(C().onInputBlur(r))})("change",function(r){return ee(e),te(C().onInputChange(r))})("paste",function(r){return ee(e),te(C().onInputPaste(r))}),E()}if(2&n){const e=C();jt(e.inputStyleClass),_("autofocus",e.autofocus)("ngStyle",e.inputStyle)("autocomplete",e.autocomplete)("ngClass",Fn(20,bfe,e.dropdown,e.disabled))("value",e.inputFieldValue)("readonly",e.readonly)("disabled",e.disabled),Ct("type",e.type)("id",e.inputId)("required",e.required)("name",e.name)("placeholder",e.placeholder)("size",e.size)("maxlength",e.maxlength)("tabindex",e.tabindex)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledBy)("aria-required",e.required)}}function wfe(n,t){if(1&n){const e=Ne();S(0,"i",15),se("click",function(){return ee(e),te(C().clear())}),E()}}function Tfe(n,t){if(1&n){const e=Ne();S(0,"i",15),se("click",function(){return ee(e),te(C().clear())}),E()}}function Dfe(n,t){1&n&&Je(0)}function Mfe(n,t){if(1&n&&(S(0,"span",27),Se(1),E()),2&n){const e=C().$implicit,i=C(2);b(1),yt(i.resolveFieldData(e))}}function Sfe(n,t){if(1&n){const e=Ne();S(0,"span",28),se("click",function(){ee(e),C();const r=Ht(1);return te(C(2).removeItem(r))}),E()}}const C0=function(n){return{$implicit:n}};function Efe(n,t){if(1&n&&(S(0,"li",22,23),D(2,Dfe,1,0,"ng-container",24),D(3,Mfe,2,1,"span",25),D(4,Sfe,1,0,"span",26),E()),2&n){const e=t.$implicit,i=C(2);b(2),_("ngTemplateOutlet",i.selectedItemTemplate)("ngTemplateOutletContext",it(4,C0,e)),b(1),_("ngIf",!i.selectedItemTemplate),b(1),_("ngIf",!i.disabled&&!i.readonly)}}const xfe=function(n,t){return{"p-disabled":n,"p-focus":t}};function Ife(n,t){if(1&n){const e=Ne();S(0,"ul",16,17),se("click",function(){return ee(e),te(Ht(5).focus())}),D(2,Efe,5,6,"li",18),S(3,"li",19)(4,"input",20,21),se("input",function(r){return ee(e),te(C().onInput(r))})("click",function(r){return ee(e),te(C().onInputClick(r))})("keydown",function(r){return ee(e),te(C().onKeydown(r))})("keyup",function(r){return ee(e),te(C().onKeyup(r))})("focus",function(r){return ee(e),te(C().onInputFocus(r))})("blur",function(r){return ee(e),te(C().onInputBlur(r))})("change",function(r){return ee(e),te(C().onInputChange(r))})("paste",function(r){return ee(e),te(C().onInputPaste(r))}),E()()()}if(2&n){const e=C();_("ngClass",Fn(20,xfe,e.disabled,e.focus)),b(2),_("ngForOf",e.value),b(2),jt(e.inputStyleClass),_("autofocus",e.autofocus)("disabled",e.disabled)("readonly",e.readonly)("autocomplete",e.autocomplete)("ngStyle",e.inputStyle),Ct("type",e.type)("id",e.inputId)("placeholder",e.value&&e.value.length?null:e.placeholder)("tabindex",e.tabindex)("maxlength",e.maxlength)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledBy)("aria-required",e.required)("aria-controls",e.listId)("aria-expanded",e.overlayVisible)("aria-activedescendant","p-highlighted-option")}}function Ofe(n,t){1&n&&me(0,"i",29)}function Afe(n,t){if(1&n){const e=Ne();S(0,"button",30,31),se("click",function(r){return ee(e),te(C().handleDropdownClick(r))}),E()}if(2&n){const e=C();_("icon",e.dropdownIcon)("disabled",e.disabled),Ct("aria-label",e.dropdownAriaLabel)("tabindex",e.tabindex)}}function kfe(n,t){1&n&&Je(0)}function Nfe(n,t){1&n&&Je(0)}const dz=function(n,t){return{$implicit:n,options:t}};function Pfe(n,t){if(1&n&&D(0,Nfe,1,0,"ng-container",24),2&n){const e=t.$implicit,i=t.options;C(2),_("ngTemplateOutlet",Ht(15))("ngTemplateOutletContext",Fn(2,dz,e,i))}}function Lfe(n,t){1&n&&Je(0)}const Rfe=function(n){return{options:n}};function Ffe(n,t){if(1&n&&D(0,Lfe,1,0,"ng-container",24),2&n){const e=t.options;_("ngTemplateOutlet",C(3).loaderTemplate)("ngTemplateOutletContext",it(2,Rfe,e))}}function jfe(n,t){1&n&&(tt(0),D(1,Ffe,1,4,"ng-template",35),nt())}const w0=function(n){return{height:n}};function zfe(n,t){if(1&n){const e=Ne();S(0,"p-scroller",32,33),se("onLazyLoad",function(r){return ee(e),te(C().onLazyLoad.emit(r))}),D(2,Pfe,1,5,"ng-template",34),D(3,jfe,2,0,"ng-container",11),E()}if(2&n){const e=C();Gn(it(8,w0,e.scrollHeight)),_("items",e.suggestions)("itemSize",e.virtualScrollItemSize||e._itemSize)("autoSize",!0)("lazy",e.lazy)("options",e.virtualScrollOptions),b(3),_("ngIf",e.loaderTemplate)}}function Vfe(n,t){1&n&&Je(0)}const Bfe=function(){return{}};function Ufe(n,t){if(1&n&&(tt(0),D(1,Vfe,1,0,"ng-container",24),nt()),2&n){const e=C(),i=Ht(15);b(1),_("ngTemplateOutlet",i)("ngTemplateOutletContext",Fn(3,dz,e.suggestions,cr(2,Bfe)))}}function Hfe(n,t){if(1&n&&(S(0,"span"),Se(1),E()),2&n){const e=C().$implicit,i=C(3);b(1),yt(i.getOptionGroupLabel(e)||"empty")}}function $fe(n,t){1&n&&Je(0)}function Wfe(n,t){1&n&&Je(0)}function Gfe(n,t){if(1&n&&(S(0,"li",41),D(1,Hfe,2,1,"span",11),D(2,$fe,1,0,"ng-container",24),E(),D(3,Wfe,1,0,"ng-container",24)),2&n){const e=t.$implicit,i=C(2).options,r=Ht(5),o=C();_("ngStyle",it(6,w0,i.itemSize+"px")),b(1),_("ngIf",!o.groupTemplate),b(1),_("ngTemplateOutlet",o.groupTemplate)("ngTemplateOutletContext",it(8,C0,e)),b(1),_("ngTemplateOutlet",r)("ngTemplateOutletContext",it(10,C0,o.getOptionGroupChildren(e)))}}function Yfe(n,t){if(1&n&&(tt(0),D(1,Gfe,4,12,"ng-template",40),nt()),2&n){const e=C().$implicit;b(1),_("ngForOf",e)}}function qfe(n,t){1&n&&Je(0)}function Kfe(n,t){if(1&n&&(tt(0),D(1,qfe,1,0,"ng-container",24),nt()),2&n){const e=C().$implicit,i=Ht(5);b(1),_("ngTemplateOutlet",i)("ngTemplateOutletContext",it(2,C0,e))}}function Qfe(n,t){if(1&n&&(S(0,"span"),Se(1),E()),2&n){const e=C().$implicit,i=C(3);b(1),yt(i.resolveFieldData(e))}}function Zfe(n,t){1&n&&Je(0)}const Jfe=function(n){return{"p-highlight":n}},Xfe=function(n,t){return{$implicit:n,index:t}};function epe(n,t){if(1&n){const e=Ne();S(0,"li",43),se("click",function(){const o=ee(e).$implicit;return te(C(3).selectItem(o))}),D(1,Qfe,2,1,"span",11),D(2,Zfe,1,0,"ng-container",24),E()}if(2&n){const e=t.$implicit,i=t.index,r=C(2).options,o=C();_("ngStyle",it(6,w0,r.itemSize+"px"))("ngClass",it(8,Jfe,e===o.highlightOption))("id",o.highlightOption==e?"p-highlighted-option":""),b(1),_("ngIf",!o.itemTemplate),b(1),_("ngTemplateOutlet",o.itemTemplate)("ngTemplateOutletContext",Fn(10,Xfe,e,r.getOptions?r.getOptions(i):i))}}function tpe(n,t){1&n&&D(0,epe,3,13,"li",42),2&n&&_("ngForOf",t.$implicit)}function npe(n,t){if(1&n&&(tt(0),Se(1),nt()),2&n){const e=C(3);b(1),ji(" ",e.emptyMessageLabel," ")}}function ipe(n,t){1&n&&Je(0,null,46)}function rpe(n,t){if(1&n&&(S(0,"li",44),D(1,npe,2,1,"ng-container",45),D(2,ipe,2,0,"ng-container",9),E()),2&n){const e=C().options,i=C();_("ngStyle",it(4,w0,e.itemSize+"px")),b(1),_("ngIf",!i.emptyTemplate)("ngIfElse",i.empty),b(1),_("ngTemplateOutlet",i.emptyTemplate)}}function ope(n,t){if(1&n&&(S(0,"ul",36,37),D(2,Yfe,2,1,"ng-container",11),D(3,Kfe,2,4,"ng-container",11),D(4,tpe,1,1,"ng-template",null,38,Mn),D(6,rpe,3,6,"li",39),E()),2&n){const e=t.options,i=C();Gn(e.contentStyle),_("ngClass",e.contentStyleClass),Ct("id",i.listId),b(2),_("ngIf",i.group),b(1),_("ngIf",!i.group),b(3),_("ngIf",i.noResults&&i.showEmptyMessage)}}function spe(n,t){1&n&&Je(0)}const ape=function(n,t){return{"p-autocomplete p-component":!0,"p-autocomplete-dd":n,"p-autocomplete-multiple":t}},lpe=function(){return["p-autocomplete-panel p-component"]},cpe={provide:Qi,useExisting:Ft(()=>hz),multi:!0};let hz=(()=>{class n{constructor(e,i,r,o,s,a,l){this.el=e,this.renderer=i,this.cd=r,this.differs=o,this.config=s,this.overlayService=a,this.zone=l,this.minLength=1,this.delay=300,this.scrollHeight="200px",this.lazy=!1,this.type="text",this.autoZIndex=!0,this.baseZIndex=0,this.dropdownIcon="pi pi-chevron-down",this.unique=!0,this.completeOnFocus=!1,this.showClear=!1,this.dropdownMode="blank",this.showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)",this.hideTransitionOptions=".1s linear",this.autocomplete="off",this.completeMethod=new Q,this.onSelect=new Q,this.onUnselect=new Q,this.onFocus=new Q,this.onBlur=new Q,this.onDropdownClick=new Q,this.onClear=new Q,this.onKeyUp=new Q,this.onShow=new Q,this.onHide=new Q,this.onLazyLoad=new Q,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.overlayVisible=!1,this.focus=!1,this.inputFieldValue=null,this.inputValue=null,this.differ=o.find([]).create(null),this.listId=T1()+"_list"}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=e,console.warn("The itemSize property is deprecated, use virtualScrollItemSize property instead.")}get suggestions(){return this._suggestions}set suggestions(e){this._suggestions=e,this.handleSuggestionsChange()}ngAfterViewChecked(){this.suggestionsUpdated&&this.overlayViewChild&&this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.overlayViewChild&&this.overlayViewChild.alignOverlay()},1),this.suggestionsUpdated=!1}),this.highlightOptionChanged&&this.zone.runOutsideAngular(()=>{setTimeout(()=>{if(this.overlay&&this.itemsWrapper){let e=q.findSingle(this.overlayViewChild.overlayViewChild.nativeElement,"li.p-highlight");e&&q.scrollInView(this.itemsWrapper,e)}},1),this.highlightOptionChanged=!1})}handleSuggestionsChange(){null!=this._suggestions&&this.loading&&(this.highlightOption=null,this._suggestions.length?(this.noResults=!1,this.show(),this.suggestionsUpdated=!0,this.autoHighlight&&(this.highlightOption=this._suggestions[0])):(this.noResults=!0,this.showEmptyMessage?(this.show(),this.suggestionsUpdated=!0):this.hide()),this.loading=!1)}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"item":default:this.itemTemplate=e.template;break;case"group":this.groupTemplate=e.template;break;case"selectedItem":this.selectedItemTemplate=e.template;break;case"header":this.headerTemplate=e.template;break;case"empty":this.emptyTemplate=e.template;break;case"footer":this.footerTemplate=e.template;break;case"loader":this.loaderTemplate=e.template}})}writeValue(e){this.value=e,this.filled=this.value&&""!=this.value,this.updateInputField(),this.cd.markForCheck()}getOptionGroupChildren(e){return this.optionGroupChildren?wt.resolveFieldData(e,this.optionGroupChildren):e.items}getOptionGroupLabel(e){return this.optionGroupLabel?wt.resolveFieldData(e,this.optionGroupLabel):null!=e.label?e.label:e}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}onInput(e){if(!this.inputKeyDown&&q.isIE())return;this.timeout&&clearTimeout(this.timeout);let i=e.target.value;this.inputValue=i,!this.multiple&&!this.forceSelection&&this.onModelChange(i),0===i.length&&!this.multiple&&(this.value=null,this.hide(),this.onClear.emit(e),this.onModelChange(i)),i.length>=this.minLength?this.timeout=setTimeout(()=>{this.search(e,i)},this.delay):this.hide(),this.updateFilledState(),this.inputKeyDown=!1}onInputClick(e){this.documentClickListener&&(this.inputClick=!0)}search(e,i){null!=i&&(this.loading=!0,this.completeMethod.emit({originalEvent:e,query:i}))}selectItem(e,i=!0){this.forceSelectionUpdateModelTimeout&&(clearTimeout(this.forceSelectionUpdateModelTimeout),this.forceSelectionUpdateModelTimeout=null),this.multiple?(this.multiInputEL.nativeElement.value="",this.value=this.value||[],(!this.isSelected(e)||!this.unique)&&(this.value=[...this.value,e],this.onModelChange(this.value))):(this.inputEL.nativeElement.value=this.resolveFieldData(e),this.value=e,this.onModelChange(this.value)),this.onSelect.emit(e),this.updateFilledState(),i&&(this.itemClicked=!0,this.focusInput()),this.hide()}show(e){(this.multiInputEL||this.inputEL)&&!this.overlayVisible&&(this.multiple?this.multiInputEL.nativeElement.ownerDocument.activeElement==this.multiInputEL.nativeElement:this.inputEL.nativeElement.ownerDocument.activeElement==this.inputEL.nativeElement)&&(this.overlayVisible=!0),this.onShow.emit(e),this.cd.markForCheck()}clear(){this.multiple?this.value=null:(this.inputValue=null,this.inputEL.nativeElement.value=""),this.updateFilledState(),this.onModelChange(this.value),this.onClear.emit()}onOverlayAnimationStart(e){"visible"===e.toState&&(this.itemsWrapper=q.findSingle(this.overlayViewChild.overlayViewChild.nativeElement,this.virtualScroll?".p-scroller":".p-autocomplete-panel"),this.virtualScroll&&this.scroller?.setContentEl(this.itemsViewChild.nativeElement))}resolveFieldData(e){let i=this.field?wt.resolveFieldData(e,this.field):e;return void 0!==i?i:""}hide(e){this.overlayVisible=!1,this.onHide.emit(e),this.cd.markForCheck()}handleDropdownClick(e){if(this.overlayVisible)this.hide();else{this.focusInput();let i=this.multiple?this.multiInputEL.nativeElement.value:this.inputEL.nativeElement.value;"blank"===this.dropdownMode?this.search(e,""):"current"===this.dropdownMode&&this.search(e,i),this.onDropdownClick.emit({originalEvent:e,query:i})}}focusInput(){this.multiple?this.multiInputEL.nativeElement.focus():this.inputEL.nativeElement.focus()}get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(Cl.EMPTY_MESSAGE)}removeItem(e){let i=q.index(e),r=this.value[i];this.value=this.value.filter((o,s)=>s!=i),this.onModelChange(this.value),this.updateFilledState(),this.onUnselect.emit(r)}onKeydown(e){if(this.overlayVisible)switch(e.which){case 40:if(this.group){let r=this.findOptionGroupIndex(this.highlightOption,this.suggestions);if(-1!==r){let o=r.itemIndex+1;o=0)this.highlightOption=this.getOptionGroupChildren(this.suggestions[r.groupIndex])[o],this.highlightOptionChanged=!0;else if(o<0){let s=this.suggestions[r.groupIndex-1];s&&(this.highlightOption=this.getOptionGroupChildren(s)[this.getOptionGroupChildren(s).length-1],this.highlightOptionChanged=!0)}}}else{let r=this.findOptionIndex(this.highlightOption,this.suggestions);r>0&&(this.highlightOption=this.suggestions[r-1],this.highlightOptionChanged=!0)}e.preventDefault();break;case 13:this.highlightOption&&(this.selectItem(this.highlightOption),this.hide()),e.preventDefault();break;case 27:this.hide(),e.preventDefault();break;case 9:this.highlightOption&&this.selectItem(this.highlightOption),this.hide()}else 40===e.which&&this.suggestions?this.search(e,e.target.value):e.ctrlKey&&"z"===e.key&&!this.multiple?(this.inputEL.nativeElement.value=this.resolveFieldData(null),this.value="",this.onModelChange(this.value)):e.ctrlKey&&"z"===e.key&&this.multiple&&(this.value.pop(),this.onModelChange(this.value),this.updateFilledState());if(this.multiple&&8===e.which&&this.value&&this.value.length&&!this.multiInputEL.nativeElement.value){this.value=[...this.value];const r=this.value.pop();this.onModelChange(this.value),this.updateFilledState(),this.onUnselect.emit(r)}this.inputKeyDown=!0}onKeyup(e){this.onKeyUp.emit(e)}onInputFocus(e){!this.itemClicked&&this.completeOnFocus&&this.search(e,this.multiple?this.multiInputEL.nativeElement.value:this.inputEL.nativeElement.value),this.focus=!0,this.onFocus.emit(e),this.itemClicked=!1}onInputBlur(e){this.focus=!1,this.onModelTouched(),this.onBlur.emit(e)}onInputChange(e){if(this.forceSelection){let i=!1,r=e.target.value.trim();if(this.suggestions)for(let o of this.suggestions){let s=this.field?wt.resolveFieldData(o,this.field):o;if(s&&r===s.trim()){i=!0,this.forceSelectionUpdateModelTimeout=setTimeout(()=>{this.selectItem(o,!1)},250);break}}i||(this.multiple?this.multiInputEL.nativeElement.value="":(this.value=null,this.inputEL.nativeElement.value=""),this.onClear.emit(e),this.onModelChange(this.value),this.updateFilledState())}}onInputPaste(e){this.onKeydown(e)}isSelected(e){let i=!1;if(this.value&&this.value.length)for(let r=0;r{class n{constructor(){this.size="normal",this.shape="square",this.onImageError=new Q}containerClass(){return{"p-avatar p-component":!0,"p-avatar-image":null!=this.image,"p-avatar-circle":"circle"===this.shape,"p-avatar-lg":"large"===this.size,"p-avatar-xl":"xlarge"===this.size}}imageError(e){this.onImageError.emit(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=Ce({type:n,selectors:[["p-avatar"]],hostAttrs:[1,"p-element"],inputs:{label:"label",icon:"icon",image:"image",size:"size",shape:"shape",style:"style",styleClass:"styleClass"},outputs:{onImageError:"onImageError"},ngContentSelectors:mpe,decls:7,vars:6,consts:[[3,"ngClass","ngStyle"],["class","p-avatar-text",4,"ngIf","ngIfElse"],["iconTemplate",""],["imageTemplate",""],[1,"p-avatar-text"],[3,"class","ngClass",4,"ngIf","ngIfElse"],[3,"ngClass"],[3,"src","error",4,"ngIf"],[3,"src","error"]],template:function(e,i){if(1&e&&($r(),S(0,"div",0),xi(1),D(2,upe,2,1,"span",1),D(3,hpe,1,2,"ng-template",null,2,Mn),D(5,ppe,1,1,"ng-template",null,3,Mn),E()),2&e){const r=Ht(4);jt(i.styleClass),_("ngClass",i.containerClass())("ngStyle",i.style),b(2),_("ngIf",i.label)("ngIfElse",r)}},dependencies:[Qn,zt,Ai],styles:[".p-avatar{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;font-size:1rem}.p-avatar.p-avatar-image{background-color:transparent}.p-avatar.p-avatar-circle{border-radius:50%;overflow:hidden}.p-avatar .p-avatar-icon{font-size:1rem}.p-avatar img{width:100%;height:100%}\n"],encapsulation:2,changeDetection:0}),n})();class D0{constructor(t,e){this.avatar=t,this.cd=e,this.text="Default",this.avatar.shape="circle"}ngOnInit(){this.avatar.label=this.avatar.image?void 0:this.text[0]?.toUpperCase()}onImageError(){this.avatar.label=this.text[0]?.toUpperCase(),this.avatar.image=null,this.cd.detectChanges()}}function Ya(n){return(Ya="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})(n)}function Jn(n,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function ype(n){return Jn(1,arguments),n instanceof Date||"object"===Ya(n)&&"[object Date]"===Object.prototype.toString.call(n)}function ni(n){Jn(1,arguments);var t=Object.prototype.toString.call(n);return n instanceof Date||"object"===Ya(n)&&"[object Date]"===t?new Date(n.getTime()):"number"==typeof n||"[object Number]"===t?new Date(n):(("string"==typeof n||"[object String]"===t)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function fz(n){if(Jn(1,arguments),!ype(n)&&"number"!=typeof n)return!1;var t=ni(n);return!isNaN(Number(t))}function pz(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,i=new Array(t);e=n.length?{done:!0}:{done:!1,value:n[i++]}},e:function(c){throw c},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){e=e.call(n)},n:function(){var c=e.next();return o=c.done,c},e:function(c){s=!0,a=c},f:function(){try{!o&&null!=e.return&&e.return()}finally{if(s)throw a}}}}D0.\u0275fac=function(t){return new(t||D0)(I(gpe),I(In))},D0.\u0275dir=we({type:D0,selectors:[["p-avatar","dotAvatar",""]],hostBindings:function(t,e){1&t&&se("onImageError",function(r){return e.onImageError(r)})},inputs:{text:"text"},standalone:!0});const lE=A(61348).default;function ro(n){if(null===n||!0===n||!1===n)return NaN;var t=Number(n);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function bpe(n,t){Jn(2,arguments);var e=ni(n).getTime(),i=ro(t);return new Date(e+i)}function gz(n,t){Jn(2,arguments);var e=ro(t);return bpe(n,-e)}function cE(n,t){if(null==n)throw new TypeError("assign requires that input parameter not be null or undefined");for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n}var yz=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},_z=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}};const uE={p:_z,P:function(t,e){var s,i=t.match(/(P+)(p+)?/)||[],r=i[1],o=i[2];if(!o)return yz(t,e);switch(r){case"P":s=e.dateTime({width:"short"});break;case"PP":s=e.dateTime({width:"medium"});break;case"PPP":s=e.dateTime({width:"long"});break;default:s=e.dateTime({width:"full"})}return s.replace("{{date}}",yz(r,e)).replace("{{time}}",_z(o,e))}};function Zh(n){var t=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return t.setUTCFullYear(n.getFullYear()),n.getTime()-t.getTime()}var Tpe=["D","DD"],Dpe=["YY","YYYY"];function vz(n){return-1!==Tpe.indexOf(n)}function bz(n){return-1!==Dpe.indexOf(n)}function M0(n,t,e){if("YYYY"===n)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===n)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===n)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===n)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}function je(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function dE(n,t){return(dE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,r){return i.__proto__=r,i})(n,t)}function ln(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&dE(n,t)}function S0(n){return(S0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(n)}function Spe(n,t){if(t&&("object"===Ya(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return je(n)}function cn(n){var t=function Mpe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var r,i=S0(n);if(t){var o=S0(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return Spe(this,r)}}function Xt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function Cz(n){var t=function Epe(n,t){if("object"!==Ya(n)||null===n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var i=e.call(n,t||"default");if("object"!==Ya(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}(n,"string");return"symbol"===Ya(t)?t:String(t)}function wz(n,t){for(var e=0;e0,i=e?t:1-t;if(i<=50)r=n||100;else{var o=i+50;r=n+100*Math.floor(o/100)-(n>=o%100?100:0)}return e?r:1-r}function Ez(n){return n%400==0||n%4==0&&n%100!=0}var Vpe=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s0}},{key:"set",value:function(r,o,s){var a=r.getUTCFullYear();if(s.isTwoDigitYear){var l=Sz(s.year,a);return r.setUTCFullYear(l,0,1),r.setUTCHours(0,0,0,0),r}return r.setUTCFullYear("era"in o&&1!==o.era?1-s.year:s.year,0,1),r.setUTCHours(0,0,0,0),r}}]),e}(_n),xz={};function Eu(){return xz}function xu(n,t){var e,i,r,o,s,a,l,c;Jn(1,arguments);var u=Eu(),d=ro(null!==(e=null!==(i=null!==(r=null!==(o=t?.weekStartsOn)&&void 0!==o?o:null==t||null===(s=t.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.weekStartsOn)&&void 0!==r?r:u.weekStartsOn)&&void 0!==i?i:null===(l=u.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==e?e:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=ni(n),f=h.getUTCDay(),p=(f=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(d+1,0,f),p.setUTCHours(0,0,0,0);var m=xu(p,t),g=new Date(0);g.setUTCFullYear(d,0,f),g.setUTCHours(0,0,0,0);var y=xu(g,t);return u.getTime()>=m.getTime()?d+1:u.getTime()>=y.getTime()?d:d-1}var Bpe=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s0}},{key:"set",value:function(r,o,s,a){var l=fE(r,a);if(s.isTwoDigitYear){var c=Sz(s.year,l);return r.setUTCFullYear(c,0,a.firstWeekContainsDate),r.setUTCHours(0,0,0,0),xu(r,a)}return r.setUTCFullYear("era"in o&&1!==o.era?1-s.year:s.year,0,a.firstWeekContainsDate),r.setUTCHours(0,0,0,0),xu(r,a)}}]),e}(_n);function Jh(n){Jn(1,arguments);var t=1,e=ni(n),i=e.getUTCDay(),r=(i=1&&o<=4}},{key:"set",value:function(r,o,s){return r.setUTCMonth(3*(s-1),1),r.setUTCHours(0,0,0,0),r}}]),e}(_n),Wpe=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=4}},{key:"set",value:function(r,o,s){return r.setUTCMonth(3*(s-1),1),r.setUTCHours(0,0,0,0),r}}]),e}(_n),Gpe=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=11}},{key:"set",value:function(r,o,s){return r.setUTCMonth(s,1),r.setUTCHours(0,0,0,0),r}}]),e}(_n),Ype=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=11}},{key:"set",value:function(r,o,s){return r.setUTCMonth(s,1),r.setUTCHours(0,0,0,0),r}}]),e}(_n);function qpe(n,t){var e,i,r,o,s,a,l,c;Jn(1,arguments);var u=Eu(),d=ro(null!==(e=null!==(i=null!==(r=null!==(o=t?.firstWeekContainsDate)&&void 0!==o?o:null==t||null===(s=t.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.firstWeekContainsDate)&&void 0!==r?r:u.firstWeekContainsDate)&&void 0!==i?i:null===(l=u.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==e?e:1),h=fE(n,t),f=new Date(0);f.setUTCFullYear(h,0,d),f.setUTCHours(0,0,0,0);var p=xu(f,t);return p}function Iz(n,t){Jn(1,arguments);var e=ni(n),i=xu(e,t).getTime()-qpe(e,t).getTime();return Math.round(i/6048e5)+1}var Zpe=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=53}},{key:"set",value:function(r,o,s,a){return xu(function Qpe(n,t,e){Jn(2,arguments);var i=ni(n),r=ro(t),o=Iz(i,e)-r;return i.setUTCDate(i.getUTCDate()-7*o),i}(r,s,a),a)}}]),e}(_n);function Oz(n){Jn(1,arguments);var t=ni(n),e=t.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(e+1,0,4),i.setUTCHours(0,0,0,0);var r=Jh(i),o=new Date(0);o.setUTCFullYear(e,0,4),o.setUTCHours(0,0,0,0);var s=Jh(o);return t.getTime()>=r.getTime()?e+1:t.getTime()>=s.getTime()?e:e-1}function Jpe(n){Jn(1,arguments);var t=Oz(n),e=new Date(0);e.setUTCFullYear(t,0,4),e.setUTCHours(0,0,0,0);var i=Jh(e);return i}function Az(n){Jn(1,arguments);var t=ni(n),e=Jh(t).getTime()-Jpe(t).getTime();return Math.round(e/6048e5)+1}var tme=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=53}},{key:"set",value:function(r,o,s){return Jh(function eme(n,t){Jn(2,arguments);var e=ni(n),i=ro(t),r=Az(e)-i;return e.setUTCDate(e.getUTCDate()-7*r),e}(r,s))}}]),e}(_n),nme=[31,28,31,30,31,30,31,31,30,31,30,31],ime=[31,29,31,30,31,30,31,31,30,31,30,31],rme=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=ime[l]:o>=1&&o<=nme[l]}},{key:"set",value:function(r,o,s){return r.setUTCDate(s),r.setUTCHours(0,0,0,0),r}}]),e}(_n),ome=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=366:o>=1&&o<=365}},{key:"set",value:function(r,o,s){return r.setUTCMonth(0,s),r.setUTCHours(0,0,0,0),r}}]),e}(_n);function pE(n,t,e){var i,r,o,s,a,l,c,u;Jn(2,arguments);var d=Eu(),h=ro(null!==(i=null!==(r=null!==(o=null!==(s=e?.weekStartsOn)&&void 0!==s?s:null==e||null===(a=e.locale)||void 0===a||null===(l=a.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==o?o:d.weekStartsOn)&&void 0!==r?r:null===(c=d.locale)||void 0===c||null===(u=c.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==i?i:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=ni(n),p=ro(t),m=f.getUTCDay(),g=p%7,y=(g+7)%7,w=(y=0&&o<=6}},{key:"set",value:function(r,o,s,a){return(r=pE(r,s,a)).setUTCHours(0,0,0,0),r}}]),e}(_n),ame=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=6}},{key:"set",value:function(r,o,s,a){return(r=pE(r,s,a)).setUTCHours(0,0,0,0),r}}]),e}(_n),lme=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=6}},{key:"set",value:function(r,o,s,a){return(r=pE(r,s,a)).setUTCHours(0,0,0,0),r}}]),e}(_n),ume=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=7}},{key:"set",value:function(r,o,s){return r=function cme(n,t){Jn(2,arguments);var e=ro(t);e%7==0&&(e-=7);var i=1,r=ni(n),o=r.getUTCDay(),s=e%7,a=(s+7)%7,l=(a=1&&o<=12}},{key:"set",value:function(r,o,s){var a=r.getUTCHours()>=12;return r.setUTCHours(a&&s<12?s+12:a||12!==s?s:0,0,0,0),r}}]),e}(_n),mme=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=23}},{key:"set",value:function(r,o,s){return r.setUTCHours(s,0,0,0),r}}]),e}(_n),gme=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=11}},{key:"set",value:function(r,o,s){var a=r.getUTCHours()>=12;return r.setUTCHours(a&&s<12?s+12:s,0,0,0),r}}]),e}(_n),yme=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=24}},{key:"set",value:function(r,o,s){return r.setUTCHours(s<=24?s%24:s,0,0,0),r}}]),e}(_n),_me=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=59}},{key:"set",value:function(r,o,s){return r.setUTCMinutes(s,0,0),r}}]),e}(_n),vme=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=59}},{key:"set",value:function(r,o,s){return r.setUTCSeconds(s,0),r}}]),e}(_n),bme=function(n){ln(e,n);var t=cn(e);function e(){var i;Xt(this,e);for(var r=arguments.length,o=new Array(r),s=0;s0?i:1-i;return En("yy"===e?r%100:r,e.length)},Xl_M=function(t,e){var i=t.getUTCMonth();return"M"===e?String(i+1):En(i+1,2)},Xl_d=function(t,e){return En(t.getUTCDate(),e.length)},Xl_h=function(t,e){return En(t.getUTCHours()%12||12,e.length)},Xl_H=function(t,e){return En(t.getUTCHours(),e.length)},Xl_m=function(t,e){return En(t.getUTCMinutes(),e.length)},Xl_s=function(t,e){return En(t.getUTCSeconds(),e.length)},Xl_S=function(t,e){var i=e.length,r=t.getUTCMilliseconds();return En(Math.floor(r*Math.pow(10,i-3)),e.length)};var zme={G:function(t,e,i){var r=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return i.era(r,{width:"abbreviated"});case"GGGGG":return i.era(r,{width:"narrow"});default:return i.era(r,{width:"wide"})}},y:function(t,e,i){if("yo"===e){var r=t.getUTCFullYear();return i.ordinalNumber(r>0?r:1-r,{unit:"year"})}return Xl_y(t,e)},Y:function(t,e,i,r){var o=fE(t,r),s=o>0?o:1-o;return"YY"===e?En(s%100,2):"Yo"===e?i.ordinalNumber(s,{unit:"year"}):En(s,e.length)},R:function(t,e){return En(Oz(t),e.length)},u:function(t,e){return En(t.getUTCFullYear(),e.length)},Q:function(t,e,i){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return En(r,2);case"Qo":return i.ordinalNumber(r,{unit:"quarter"});case"QQQ":return i.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(r,{width:"narrow",context:"formatting"});default:return i.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,i){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return En(r,2);case"qo":return i.ordinalNumber(r,{unit:"quarter"});case"qqq":return i.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(r,{width:"narrow",context:"standalone"});default:return i.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,i){var r=t.getUTCMonth();switch(e){case"M":case"MM":return Xl_M(t,e);case"Mo":return i.ordinalNumber(r+1,{unit:"month"});case"MMM":return i.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(r,{width:"narrow",context:"formatting"});default:return i.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,i){var r=t.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return En(r+1,2);case"Lo":return i.ordinalNumber(r+1,{unit:"month"});case"LLL":return i.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(r,{width:"narrow",context:"standalone"});default:return i.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,i,r){var o=Iz(t,r);return"wo"===e?i.ordinalNumber(o,{unit:"week"}):En(o,e.length)},I:function(t,e,i){var r=Az(t);return"Io"===e?i.ordinalNumber(r,{unit:"week"}):En(r,e.length)},d:function(t,e,i){return"do"===e?i.ordinalNumber(t.getUTCDate(),{unit:"date"}):Xl_d(t,e)},D:function(t,e,i){var r=function Fme(n){Jn(1,arguments);var t=ni(n),e=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var i=t.getTime(),r=e-i;return Math.floor(r/864e5)+1}(t);return"Do"===e?i.ordinalNumber(r,{unit:"dayOfYear"}):En(r,e.length)},E:function(t,e,i){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return i.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,i,r){var o=t.getUTCDay(),s=(o-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(s);case"ee":return En(s,2);case"eo":return i.ordinalNumber(s,{unit:"day"});case"eee":return i.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},c:function(t,e,i,r){var o=t.getUTCDay(),s=(o-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(s);case"cc":return En(s,e.length);case"co":return i.ordinalNumber(s,{unit:"day"});case"ccc":return i.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(o,{width:"narrow",context:"standalone"});case"cccccc":return i.day(o,{width:"short",context:"standalone"});default:return i.day(o,{width:"wide",context:"standalone"})}},i:function(t,e,i){var r=t.getUTCDay(),o=0===r?7:r;switch(e){case"i":return String(o);case"ii":return En(o,e.length);case"io":return i.ordinalNumber(o,{unit:"day"});case"iii":return i.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,i){var o=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,e,i){var o,r=t.getUTCHours();switch(o=12===r?"noon":0===r?"midnight":r/12>=1?"pm":"am",e){case"b":case"bb":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(t,e,i){var o,r=t.getUTCHours();switch(o=r>=17?"evening":r>=12?"afternoon":r>=4?"morning":"night",e){case"B":case"BB":case"BBB":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(t,e,i){if("ho"===e){var r=t.getUTCHours()%12;return 0===r&&(r=12),i.ordinalNumber(r,{unit:"hour"})}return Xl_h(t,e)},H:function(t,e,i){return"Ho"===e?i.ordinalNumber(t.getUTCHours(),{unit:"hour"}):Xl_H(t,e)},K:function(t,e,i){var r=t.getUTCHours()%12;return"Ko"===e?i.ordinalNumber(r,{unit:"hour"}):En(r,e.length)},k:function(t,e,i){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===e?i.ordinalNumber(r,{unit:"hour"}):En(r,e.length)},m:function(t,e,i){return"mo"===e?i.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):Xl_m(t,e)},s:function(t,e,i){return"so"===e?i.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):Xl_s(t,e)},S:function(t,e){return Xl_S(t,e)},X:function(t,e,i,r){var s=(r._originalDate||t).getTimezoneOffset();if(0===s)return"Z";switch(e){case"X":return Pz(s);case"XXXX":case"XX":return Iu(s);default:return Iu(s,":")}},x:function(t,e,i,r){var s=(r._originalDate||t).getTimezoneOffset();switch(e){case"x":return Pz(s);case"xxxx":case"xx":return Iu(s);default:return Iu(s,":")}},O:function(t,e,i,r){var s=(r._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Nz(s,":");default:return"GMT"+Iu(s,":")}},z:function(t,e,i,r){var s=(r._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Nz(s,":");default:return"GMT"+Iu(s,":")}},t:function(t,e,i,r){return En(Math.floor((r._originalDate||t).getTime()/1e3),e.length)},T:function(t,e,i,r){return En((r._originalDate||t).getTime(),e.length)}};function Nz(n,t){var e=n>0?"-":"+",i=Math.abs(n),r=Math.floor(i/60),o=i%60;if(0===o)return e+String(r);var s=t||"";return e+String(r)+s+En(o,2)}function Pz(n,t){return n%60==0?(n>0?"-":"+")+En(Math.abs(n)/60,2):Iu(n,t)}function Iu(n,t){var e=t||"",i=n>0?"-":"+",r=Math.abs(n);return i+En(Math.floor(r/60),2)+e+En(r%60,2)}const Vme=zme;var Bme=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ume=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Hme=/^'([^]*?)'?$/,$me=/''/g,Wme=/[a-zA-Z]/;function Yme(n){var t=n.match(Hme);return t?t[1].replace($me,"'"):n}function qme(n,t){Jn(2,arguments);var e=ni(n),i=ni(t),r=e.getTime()-i.getTime();return r<0?-1:r>0?1:r}function Kme(n){return cE({},n)}var Lz=6e4,Rz=43200,Fz=525600,jz=A(30298);const zz="Invalid date";class Ou{constructor(t){this.loginService=st(xl),this.defaultDateFormatOptions={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!0},t.getSystemTimeZone().subscribe(e=>this._systemTimeZone=e)}get localeOptions(){return this._localeOptions}set localeOptions(t){this._localeOptions=t}setLang(t){var e=this;return tu(function*(){let o,[i,r]=t.replace("_","-").split("-");i=i?.toLowerCase()||"en",r=r?.toLocaleUpperCase()||"US";try{o=yield A(13131)(`./${i}-${r}/index.js`)}catch{try{o=yield A(71213)(`./${i}/index.js`)}catch{o=yield Promise.resolve().then(A.bind(A,61348))}}e.localeOptions={locale:o.default}})()}getDateFromTimestamp(t,e){if(!this.isValidTimestamp(t))return console.error("Invalid timestamp provided:",t),zz;try{const i=e||this.defaultDateFormatOptions;return new Intl.DateTimeFormat(this.getLocaleISOSelectedAtLogin(),i).format(new Date(t)).replace(/\s+/g," ").trim()}catch(i){return console.error("Error formatting date:",i),zz}}differenceInCalendarDays(t,e){return function Lme(n,t){Jn(2,arguments);var e=kz(n),i=kz(t),r=e.getTime()-Zh(e),o=i.getTime()-Zh(i);return Math.round((r-o)/864e5)}(t,e)}isValid(t,e){return function Jme(n,t){return fz(function kme(n,t,e,i){var r,o,s,a,l,c,u,d,h,f,p,m,g,y,w,T,v,N;Jn(3,arguments);var x=String(n),ae=String(t),Z=Eu(),Pe=null!==(r=null!==(o=i?.locale)&&void 0!==o?o:Z.locale)&&void 0!==r?r:lE;if(!Pe.match)throw new RangeError("locale must contain match property");var Ge=ro(null!==(s=null!==(a=null!==(l=null!==(c=i?.firstWeekContainsDate)&&void 0!==c?c:null==i||null===(u=i.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==l?l:Z.firstWeekContainsDate)&&void 0!==a?a:null===(h=Z.locale)||void 0===h||null===(f=h.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==s?s:1);if(!(Ge>=1&&Ge<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Tt=ro(null!==(p=null!==(m=null!==(g=null!==(y=i?.weekStartsOn)&&void 0!==y?y:null==i||null===(w=i.locale)||void 0===w||null===(T=w.options)||void 0===T?void 0:T.weekStartsOn)&&void 0!==g?g:Z.weekStartsOn)&&void 0!==m?m:null===(v=Z.locale)||void 0===v||null===(N=v.options)||void 0===N?void 0:N.weekStartsOn)&&void 0!==p?p:0);if(!(Tt>=0&&Tt<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===ae)return""===x?ni(e):new Date(NaN);var ge,ht={firstWeekContainsDate:Ge,weekStartsOn:Tt,locale:Pe},ut=[new Ope],vn=ae.match(Eme).map(function(Qt){var mt=Qt[0];return mt in uE?(0,uE[mt])(Qt,Pe.formatLong):Qt}).join("").match(Sme),kt=[],de=mz(vn);try{var be=function(){var mt=ge.value;!(null!=i&&i.useAdditionalWeekYearTokens)&&bz(mt)&&M0(mt,ae,n),(null==i||!i.useAdditionalDayOfYearTokens)&&vz(mt)&&M0(mt,ae,n);var Un=mt[0],Lr=Mme[Un];if(Lr){var Uu=Lr.incompatibleTokens;if(Array.isArray(Uu)){var ac=kt.find(function(Hu){return Uu.includes(Hu.token)||Hu.token===Un});if(ac)throw new RangeError("The format string mustn't contain `".concat(ac.fullToken,"` and `").concat(mt,"` at the same time"))}else if("*"===Lr.incompatibleTokens&&kt.length>0)throw new RangeError("The format string mustn't contain `".concat(mt,"` and any other token at the same time"));kt.push({token:Un,fullToken:mt});var lc=Lr.run(x,mt,Pe.match,ht);if(!lc)return{v:new Date(NaN)};ut.push(lc.setter),x=lc.rest}else{if(Un.match(Ame))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Un+"`");if("''"===mt?mt="'":"'"===Un&&(mt=Nme(mt)),0!==x.indexOf(mt))return{v:new Date(NaN)};x=x.slice(mt.length)}};for(de.s();!(ge=de.n()).done;){var We=be();if("object"===Ya(We))return We.v}}catch(Qt){de.e(Qt)}finally{de.f()}if(x.length>0&&Ome.test(x))return new Date(NaN);var Lt=ut.map(function(Qt){return Qt.priority}).sort(function(Qt,mt){return mt-Qt}).filter(function(Qt,mt,Un){return Un.indexOf(Qt)===mt}).map(function(Qt){return ut.filter(function(mt){return mt.priority===Qt}).sort(function(mt,Un){return Un.subPriority-mt.subPriority})}).map(function(Qt){return Qt[0]}),dn=ni(e);if(isNaN(dn.getTime()))return new Date(NaN);var tr,Wt=gz(dn,Zh(dn)),On={},Bt=mz(Lt);try{for(Bt.s();!(tr=Bt.n()).done;){var ao=tr.value;if(!ao.validate(Wt,ht))return new Date(NaN);var An=ao.set(Wt,On,ht);Array.isArray(An)?(Wt=An[0],cE(On,An[1])):Wt=An}}catch(Qt){Bt.e(Qt)}finally{Bt.f()}return Wt}(n,t,new Date))}(t,e)}format(t,e){return function Gme(n,t,e){var i,r,o,s,a,l,c,u,d,h,f,p,m,g,y,w,T,v;Jn(2,arguments);var N=String(t),x=Eu(),ae=null!==(i=null!==(r=e?.locale)&&void 0!==r?r:x.locale)&&void 0!==i?i:lE,Z=ro(null!==(o=null!==(s=null!==(a=null!==(l=e?.firstWeekContainsDate)&&void 0!==l?l:null==e||null===(c=e.locale)||void 0===c||null===(u=c.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==a?a:x.firstWeekContainsDate)&&void 0!==s?s:null===(d=x.locale)||void 0===d||null===(h=d.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==o?o:1);if(!(Z>=1&&Z<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Pe=ro(null!==(f=null!==(p=null!==(m=null!==(g=e?.weekStartsOn)&&void 0!==g?g:null==e||null===(y=e.locale)||void 0===y||null===(w=y.options)||void 0===w?void 0:w.weekStartsOn)&&void 0!==m?m:x.weekStartsOn)&&void 0!==p?p:null===(T=x.locale)||void 0===T||null===(v=T.options)||void 0===v?void 0:v.weekStartsOn)&&void 0!==f?f:0);if(!(Pe>=0&&Pe<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!ae.localize)throw new RangeError("locale must contain localize property");if(!ae.formatLong)throw new RangeError("locale must contain formatLong property");var Ge=ni(n);if(!fz(Ge))throw new RangeError("Invalid time value");var Tt=Zh(Ge),ht=gz(Ge,Tt),ut={firstWeekContainsDate:Z,weekStartsOn:Pe,locale:ae,_originalDate:Ge},vn=N.match(Ume).map(function(kt){var de=kt[0];return"p"===de||"P"===de?(0,uE[de])(kt,ae.formatLong):kt}).join("").match(Bme).map(function(kt){if("''"===kt)return"'";var de=kt[0];if("'"===de)return Yme(kt);var ge=Vme[de];if(ge)return!(null!=e&&e.useAdditionalWeekYearTokens)&&bz(kt)&&M0(kt,t,String(n)),!(null!=e&&e.useAdditionalDayOfYearTokens)&&vz(kt)&&M0(kt,t,String(n)),ge(ht,kt,ae.localize,ut);if(de.match(Wme))throw new RangeError("Format string contains an unescaped latin alphabet character `"+de+"`");return kt}).join("");return vn}(t,e,{...this.localeOptions})}formatTZ(t,e){const i=(0,jz.utcToZonedTime)(t,this._systemTimeZone.id);return(0,jz.format)(i,e,{timeZone:this._systemTimeZone.id})}getRelative(t,e=this.getUTC()){return function Qme(n,t,e){var i,r,o;Jn(2,arguments);var s=Eu(),a=null!==(i=null!==(r=e?.locale)&&void 0!==r?r:s.locale)&&void 0!==i?i:lE;if(!a.formatDistance)throw new RangeError("locale must contain localize.formatDistance property");var l=qme(n,t);if(isNaN(l))throw new RangeError("Invalid time value");var u,d,c=cE(Kme(e),{addSuffix:Boolean(e?.addSuffix),comparison:l});l>0?(u=ni(t),d=ni(n)):(u=ni(n),d=ni(t));var f,h=String(null!==(o=e?.roundingMethod)&&void 0!==o?o:"round");if("floor"===h)f=Math.floor;else if("ceil"===h)f=Math.ceil;else{if("round"!==h)throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");f=Math.round}var T,p=d.getTime()-u.getTime(),m=p/Lz,g=Zh(d)-Zh(u),y=(p-g)/Lz,w=e?.unit;if("second"===(T=w?String(w):m<1?"second":m<60?"minute":m<1440?"hour":y1e13)return!1;const e=new Date(t);return!isNaN(e.getTime())}getLocaleISOSelectedAtLogin(){const t=this.loginService.currentUserLanguageId;return t?t.replace("_","-"):"en-US"}}Ou.\u0275fac=function(t){return new(t||Ou)(F(Zc))},Ou.\u0275prov=H({token:Ou,factory:Ou.\u0275fac,providedIn:"root"});class I0{constructor(t){this.dotFormatDateService=t}transform(t=(new Date).getTime(),e="MM/dd/yyyy",i=7){const r=!isNaN(Number(t)),o=r?new Date(Number(t)):new Date(t.replace("- ","")),s=r?this.dotFormatDateService.getUTC(o):o;return Math.abs(this.dotFormatDateService.differenceInCalendarDays(s,this.dotFormatDateService.getUTC()))>i?this.dotFormatDateService.format(s,e):this.dotFormatDateService.getRelative(s)}}I0.\u0275fac=function(t){return new(t||I0)(I(Ou,16))},I0.\u0275pipe=Hn({name:"dotRelativeDate",type:I0,pure:!0,standalone:!0});class O0{transform(t,e){return e.forEach((i,r)=>{t=t.replace(`{${r}}`,i)}),t}}O0.\u0275fac=function(t){return new(t||O0)},O0.\u0275pipe=Hn({name:"dotStringFormat",type:O0,pure:!0,standalone:!0});class A0{constructor(){this.dotFormatDateService=st(Ou)}transform(t,e){return this.dotFormatDateService.getDateFromTimestamp(t,e)}}A0.\u0275fac=function(t){return new(t||A0)},A0.\u0275pipe=Hn({name:"dotTimestampToDate",type:A0,pure:!0,standalone:!0});class k0{constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustResourceUrl(t)}}function Xme(n,t){if(1&n){const e=Ne();S(0,"div",3)(1,"div",4),me(2,"video",5),E(),S(3,"div",6)(4,"div"),me(5,"dot-spinner",7),Se(6," Uploading video, wait until finished. "),E(),S(7,"button",8),se("click",function(){return ee(e),te(C().cancel.emit(!0))}),E()()()}}function ege(n,t){1&n&&(S(0,"span",9),Se(1,"Uploading..."),E())}k0.\u0275fac=function(t){return new(t||k0)(I(B_,16))},k0.\u0275pipe=Hn({name:"safeUrl",type:k0,pure:!0,standalone:!0});class ef{constructor(){this.cancel=new Q}}ef.\u0275fac=function(t){return new(t||ef)},ef.\u0275cmp=Ce({type:ef,selectors:[["dot-upload-placeholder"]],inputs:{type:"type"},outputs:{cancel:"cancel"},standalone:!0,features:[_o],decls:3,vars:2,consts:[[3,"ngSwitch"],["class","placeholder-container",4,"ngSwitchCase"],["class","default-message",4,"ngSwitchDefault"],[1,"placeholder-container"],[1,"preview-container__video"],["src","","controls","",1,"video"],[1,"preview-container__loading"],["size","30px"],["pButton","","label","Cancel",1,"p-button-md","p-button-outlined",3,"click"],[1,"default-message"]],template:function(t,e){1&t&&(tt(0,0),D(1,Xme,8,0,"div",1),D(2,ege,2,0,"span",2),nt()),2&t&&(_("ngSwitch",e.type),b(1),_("ngSwitchCase","video"))},dependencies:[gn,Pc,yp,_p,wo,Qr,Du,qh],styles:[".placeholder-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;width:-moz-fit-content;width:fit-content;padding:0}.preview-container__video[_ngcontent-%COMP%]{aspect-ratio:16/9;height:300px}.preview-container__video[_ngcontent-%COMP%] video[_ngcontent-%COMP%]{width:100%;height:100%}.preview-container__loading[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:1rem 0}.default-message[_ngcontent-%COMP%]{background-color:#f3f3f4;display:block;padding:16px;font-size:1.25rem;width:100%}"],changeDetection:0});const mE=new Kt({state:{init:()=>Vn.empty,apply(n,t){t=t.map(n.mapping,n.doc);const e=n.getMeta(this);if(e&&e.add){const r=Pi.widget(e.add.pos,e.add.element,{key:e.add.id});t=t.add(n.doc,[r])}else e&&e.remove&&(t=t.remove(t.find(null,null,i=>i.key==e.remove.id)));return t}},props:{decorations(n){return this.getState(n)}}});class tge{constructor(t,e,i){this.applicationRef=e.get(Ac),this.componentRef=function X$(n,t){const e=Cn(n),i=t.elementInjector||Zy();return new Jf(e).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}(t,{environmentInjector:this.applicationRef.injector}),this.updateProps(i),this.applicationRef.attachView(this.componentRef.hostView)}get instance(){return this.componentRef.instance}get elementRef(){return this.componentRef.injector.get(Dt)}get dom(){return this.elementRef.nativeElement}updateProps(t){Object.entries(t).forEach(([e,i])=>{this.instance[e]=i})}detectChanges(){this.componentRef.changeDetectorRef.detectChanges()}destroy(){this.componentRef.destroy(),this.applicationRef.detachView(this.componentRef.hostView)}}class Sg{}Sg.\u0275fac=function(t){return new(t||Sg)},Sg.\u0275cmp=Ce({type:Sg,selectors:[["ng-component"]],inputs:{editor:"editor",node:"node",decorations:"decorations",selected:"selected",extension:"extension",getPos:"getPos",updateAttributes:"updateAttributes",deleteNode:"deleteNode"},decls:0,vars:0,template:function(t,e){},encapsulation:2});class nge extends qce{mount(){this.renderer=new tge(this.component,this.options.injector,{editor:this.editor,node:this.node,decorations:this.decorations,selected:!1,extension:this.extension,getPos:()=>this.getPos(),updateAttributes:(i={})=>this.updateAttributes(i),deleteNode:()=>this.deleteNode()}),this.extension.config.draggable&&(this.renderer.elementRef.nativeElement.ondragstart=i=>{this.onDragStart(i)}),this.contentDOMElement=this.node.isLeaf?null:document.createElement(this.node.isInline?"span":"div"),this.contentDOMElement&&(this.contentDOMElement.style.whiteSpace="inherit",this.renderer.detectChanges())}get dom(){return this.renderer.dom}get contentDOM(){return this.node.isLeaf?null:(this.maybeMoveContentDOM(),this.contentDOMElement)}maybeMoveContentDOM(){const t=this.dom.querySelector("[data-node-view-content]");this.contentDOMElement&&t&&!t.contains(this.contentDOMElement)&&t.appendChild(this.contentDOMElement)}update(t,e){return this.options.update?this.options.update(t,e):t.type===this.node.type&&(t===this.node&&this.decorations===e||(this.node=t,this.decorations=e,this.renderer.updateProps({node:t,decorations:e}),this.maybeMoveContentDOM()),!0)}selectNode(){this.renderer.updateProps({selected:!0})}deselectNode(){this.renderer.updateProps({selected:!1})}destroy(){this.renderer.destroy()}}function rge(n,t){1&n&&Je(0)}function oge(n,t){if(1&n&&(S(0,"div",8),xi(1,1),D(2,rge,1,0,"ng-container",6),E()),2&n){const e=C();b(2),_("ngTemplateOutlet",e.headerTemplate)}}function sge(n,t){1&n&&Je(0)}function age(n,t){if(1&n&&(S(0,"div",9),Se(1),D(2,sge,1,0,"ng-container",6),E()),2&n){const e=C();b(1),ji(" ",e.header," "),b(1),_("ngTemplateOutlet",e.titleTemplate)}}function lge(n,t){1&n&&Je(0)}function cge(n,t){if(1&n&&(S(0,"div",10),Se(1),D(2,lge,1,0,"ng-container",6),E()),2&n){const e=C();b(1),ji(" ",e.subheader," "),b(1),_("ngTemplateOutlet",e.subtitleTemplate)}}function uge(n,t){1&n&&Je(0)}function dge(n,t){1&n&&Je(0)}function hge(n,t){if(1&n&&(S(0,"div",11),xi(1,2),D(2,dge,1,0,"ng-container",6),E()),2&n){const e=C();b(2),_("ngTemplateOutlet",e.footerTemplate)}}const fge=["*",[["p-header"]],[["p-footer"]]],pge=["*","p-header","p-footer"];let gE=(()=>{class n{constructor(e){this.el=e}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"header":this.headerTemplate=e.template;break;case"title":this.titleTemplate=e.template;break;case"subtitle":this.subtitleTemplate=e.template;break;case"content":default:this.contentTemplate=e.template;break;case"footer":this.footerTemplate=e.template}})}getBlockableElement(){return this.el.nativeElement.children[0]}}return n.\u0275fac=function(e){return new(e||n)(I(Dt))},n.\u0275cmp=Ce({type:n,selectors:[["p-card"]],contentQueries:function(e,i,r){if(1&e&&(Kn(r,D1,5),Kn(r,M1,5),Kn(r,Ni,4)),2&e){let o;Ve(o=Be())&&(i.headerFacet=o.first),Ve(o=Be())&&(i.footerFacet=o.first),Ve(o=Be())&&(i.templates=o)}},hostAttrs:[1,"p-element"],inputs:{header:"header",subheader:"subheader",style:"style",styleClass:"styleClass"},ngContentSelectors:pge,decls:9,vars:9,consts:[[3,"ngClass","ngStyle"],["class","p-card-header",4,"ngIf"],[1,"p-card-body"],["class","p-card-title",4,"ngIf"],["class","p-card-subtitle",4,"ngIf"],[1,"p-card-content"],[4,"ngTemplateOutlet"],["class","p-card-footer",4,"ngIf"],[1,"p-card-header"],[1,"p-card-title"],[1,"p-card-subtitle"],[1,"p-card-footer"]],template:function(e,i){1&e&&($r(fge),S(0,"div",0),D(1,oge,3,1,"div",1),S(2,"div",2),D(3,age,3,2,"div",3),D(4,cge,3,2,"div",4),S(5,"div",5),xi(6),D(7,uge,1,0,"ng-container",6),E(),D(8,hge,3,1,"div",7),E()()),2&e&&(jt(i.styleClass),_("ngClass","p-card p-component")("ngStyle",i.style),b(1),_("ngIf",i.headerFacet||i.headerTemplate),b(2),_("ngIf",i.header||i.titleTemplate),b(1),_("ngIf",i.subheader||i.subtitleTemplate),b(3),_("ngTemplateOutlet",i.contentTemplate),b(1),_("ngIf",i.footerFacet||i.footerTemplate))},dependencies:[Qn,zt,qr,Ai],styles:[".p-card-header img{width:100%}\n"],encapsulation:2,changeDetection:0}),n})(),Vz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn,Uo]}),n})();function mge(n,t){if(1&n&&me(0,"dot-contentlet-thumbnail",4),2&n){const e=C();_("width",94)("height",94)("iconSize","72px")("contentlet",e.data)}}function gge(n,t){if(1&n&&(S(0,"h3",5),Se(1),E()),2&n){const e=C();b(1),yt(e.data.title)}}function yge(n,t){if(1&n&&(S(0,"span"),Se(1),E()),2&n){const e=C();b(1),yt(e.data.contentType)}}function _ge(n,t){if(1&n&&(S(0,"div",6),me(1,"dot-state-icon",7),Yn(2,"contentletState"),S(3,"dot-badge",8),Se(4),Yn(5,"lowercase"),E()()),2&n){const e=C();b(1),_("state",qn(2,3,e.data)),b(2),_("bordered",!0),b(1),yt(qn(5,5,e.data.language))}}class tf extends Sg{ngOnInit(){this.data=this.node.attrs.data}}tf.\u0275fac=function(){let n;return function(e){return(n||(n=Fi(tf)))(e||tf)}}(),tf.\u0275cmp=Ce({type:tf,selectors:[["dot-contentlet-block"]],features:[wn],decls:5,vars:2,consts:[["pTemplate","header"],["class","title",4,"pTemplate"],[4,"pTemplate"],["pTemplate","footer"],[3,"width","height","iconSize","contentlet"],[1,"title"],[1,"state"],["size","16px",3,"state"],[3,"bordered"]],template:function(t,e){1&t&&(S(0,"p-card"),D(1,mge,1,4,"ng-template",0),D(2,gge,2,1,"h3",1),D(3,yge,2,1,"span",2),D(4,_ge,6,7,"ng-template",3),E()),2&t&&(b(2),_("pTemplate","title"),b(1),_("pTemplate","subtitle"))},dependencies:[gE,Ni,uD,yg],styles:["[_nghost-%COMP%]{display:block;height:100%;width:100%;box-sizing:border-box;margin-bottom:1rem}[_nghost-%COMP%] .p-card{background:#ffffff;border:1px solid #afb3c0;color:#14151a;display:flex}[_nghost-%COMP%] .p-card .p-card-header{box-sizing:border-box;padding:1rem;padding-right:0}[_nghost-%COMP%] .p-card .p-card-body{box-sizing:border-box;min-width:100px;padding:1rem 1.5rem 1rem 1rem;flex:1}[_nghost-%COMP%] .p-card .p-card-body .p-card-content{padding:0}[_nghost-%COMP%] .p-card .p-card-body .p-card-subtitle{color:#6c7389;font-size:.813rem;font-weight:regular;margin-bottom:.75rem}[_nghost-%COMP%] .p-card .p-card-body .p-card-title{overflow:hidden;width:100%;margin:0}[_nghost-%COMP%] .p-card .p-card-body .p-card-title h3{font-weight:700;margin-bottom:.5rem;margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap;font-size:1.5rem}[_nghost-%COMP%] dot-contentlet-thumbnail[_ngcontent-%COMP%]{align-items:center;display:block;position:relative;width:94px;height:94px}[_nghost-%COMP%] .state[_ngcontent-%COMP%]{align-items:center;display:flex}[_nghost-%COMP%] .state[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-right:.5rem}[_nghost-%COMP%] .state[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child{margin-right:0}"]});const vge=n=>Bn.create({name:"dotContent",group:"block",inline:!1,draggable:!0,addAttributes:()=>({data:{default:null,parseHTML:t=>({data:t.getAttribute("data")}),renderHTML:t=>({data:t.data})}}),parseHTML:()=>[{tag:"dotcms-contentlet-block"}],renderHTML({HTMLAttributes:t}){let e=["span",{}];return t.data.hasTitleImage&&(e=["img",{src:t.data.image}]),["div",["h3",{class:t.data.title},t.data.title],["div",t.data.identifier],e,["div",{},t.data.language]]},addNodeView:()=>((n,t)=>e=>new nge(n,e,t))(tf,{injector:n})}),bge=/(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/,Cge=Bn.create({name:"image",addOptions:()=>({inline:!1,allowBase64:!1,HTMLAttributes:{}}),inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes:()=>({src:{default:null},alt:{default:null},title:{default:null}}),parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:n}){return["img",rn(this.options.HTMLAttributes,n)]},addCommands(){return{setImage:n=>({commands:t})=>t.insertContent({type:this.name,attrs:n})}},addInputRules(){return[G5({find:bge,type:this.type,getAttributes:n=>{const[,,t,e,i]=n;return{src:e,alt:t,title:i}}})]}}),Bz="language_id",wge=(n,t)=>{const{href:e=null,target:i}=t;return["a",{href:e,target:i},Uz(n,t)]},Uz=(n,t)=>["img",rn(n,t)],Hz=(n,t)=>n.includes(Bz)?n:`${n}?${Bz}=${t}`,Tge=n=>{if("string"==typeof n)return{src:n,data:"null"};const{fileAsset:t,asset:e,title:i,languageId:r}=n;return{data:n,src:Hz(t||e,r),title:i,alt:i}},oo=Cge.extend({name:"dotImage",addOptions:()=>({inline:!1,allowBase64:!0,HTMLAttributes:{}}),addAttributes:()=>({src:{default:null,parseHTML:n=>n.getAttribute("src"),renderHTML:n=>({src:Hz(n.src||n.data?.asset,n.data?.languageId)})},alt:{default:null,parseHTML:n=>n.getAttribute("alt"),renderHTML:n=>({alt:n.alt||n.data?.title})},title:{default:null,parseHTML:n=>n.getAttribute("title"),renderHTML:n=>({title:n.title||n.data?.title})},href:{default:null,parseHTML:n=>n.getAttribute("href"),renderHTML:n=>({href:n.href})},data:{default:null,parseHTML:n=>n.getAttribute("data"),renderHTML:n=>({data:JSON.stringify(n.data)})},target:{default:null,parseHTML:n=>n.getAttribute("target"),renderHTML:n=>({target:n.target})}}),parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},addCommands(){return{...this.parent?.(),setImageLink:n=>({commands:t})=>t.updateAttributes(this.name,n),unsetImageLink:()=>({commands:n})=>n.updateAttributes(this.name,{href:""}),insertImage:(n,t)=>({chain:e,state:i})=>{const{selection:r}=i,{head:o}=r,s={attrs:Tge(n),type:oo.name};return e().insertContentAt(t??o,s).run()}}},renderHTML({HTMLAttributes:n}){const{href:t=null,style:e}=n||{};return["div",{class:"image-container",style:e},t?wge(this.options.HTMLAttributes,n):Uz(this.options.HTMLAttributes,n)]}}),Dge=Bn.create({name:"dotVideo",addAttributes:()=>({src:{default:null,parseHTML:n=>n.getAttribute("src"),renderHTML:n=>({src:n.src})},mimeType:{default:null,parseHTML:n=>n.getAttribute("mimeType"),renderHTML:n=>({mimeType:n.mimeType})},width:{default:null,parseHTML:n=>n.getAttribute("width"),renderHTML:n=>({width:n.width})},height:{default:null,parseHTML:n=>n.getAttribute("height"),renderHTML:n=>({height:n.height})},orientation:{default:null,parseHTML:n=>n.getAttribute("orientation"),renderHTML:({height:n,width:t})=>({orientation:n>t?"vertical":"horizontal"})},data:{default:null,parseHTML:n=>n.getAttribute("data"),renderHTML:n=>({data:JSON.stringify(n.data)})}}),parseHTML:()=>[{tag:"video"}],addOptions:()=>({inline:!1,allowBase64:!1,HTMLAttributes:{}}),inline(){return this.options.inline},group:()=>"block",draggable:!0,addCommands(){return{...this.parent?.(),insertVideo:(n,t)=>({commands:e,state:i})=>{const{selection:r}=i,{head:o}=r;return e.insertContentAt(t??o,{type:this.name,attrs:Mge(n)})}}},renderHTML:({HTMLAttributes:n})=>["div",{class:"video-container"},["video",rn(n,{controls:!0})]]}),Mge=n=>{if("string"==typeof n)return{src:n};const{assetMetaData:t,asset:e,mimeType:i,fileAsset:r}=n,{width:o="auto",height:s="auto",contentType:a}=t||{},l=s>o?"vertical":"horizontal";return{src:r||e,data:{...n},width:o,height:s,mimeType:i||a,orientation:l}},Sge=Bn.create({name:"aiContent",addAttributes:()=>({content:{default:""}}),parseHTML:()=>[{tag:"div[ai-content]"}],addOptions:()=>({inline:!1}),inline(){return this.options.inline},group:()=>"block",addCommands(){return{...this.parent?.(),insertAINode:n=>({commands:t,editor:e,tr:i})=>{const r=nE(e,wi.AI_CONTENT);return r?(i.setNodeMarkup(r.from,void 0,{content:n}),t.setNodeSelection(r.from),!0):t.insertContent({type:this.name,attrs:{content:n}})}}},renderHTML:()=>["div[ai-content]"],addNodeView:()=>({node:n})=>{const t=document.createElement("div"),e=document.createElement("div");return e.innerHTML=n.attrs.content||"",t.contentEditable="true",t.classList.add("ai-content-container"),t.append(e),{dom:t}}}),Ege=Bn.create({name:"loader",addAttributes:()=>({isLoading:{default:!0}}),parseHTML:()=>[{tag:"div.p-d-flex.p-jc-center"}],addOptions:()=>({inline:!1}),inline(){return this.options.inline},group:()=>"block",addCommands(){return{...this.parent?.(),insertLoaderNode:n=>({commands:t})=>t.insertContent({type:this.name,attrs:{isLoading:n}})}},renderHTML:()=>["div",{class:"p-d-flex p-jc-center"}],addNodeView:()=>({node:n})=>{const t=document.createElement("div");if(t.classList.add("loader-style"),n.attrs.isLoading){const e=document.createElement("div");e.classList.add("p-progress-spinner"),t.append(e)}return{dom:t}}}),xge={video:"dotVideo",image:"dotImage"},Ige=(n,t)=>Sn.create({name:"assetUploader",addProseMirrorPlugins(){const e=n.get(ea),i=this.editor;let r,o;function s(m){return m?.type.split("/")[0]||""}function a(m){alert(`Can drop just one ${m} at a time`)}function c(m){const{view:g}=i,{state:y}=g;g.dispatch(y.tr.setMeta(mE,{remove:{id:m}})),tz(g)}function u({view:m,file:g,position:y}){const w=s(g),T=g.name;(function l({view:m,position:g,id:y,type:w}){const T=t.createComponent(ef),v=m.state.tr;T.instance.type=w,T.instance.cancel.subscribe(()=>{c(y),o.abort(),r.unsubscribe()}),T.changeDetectorRef.detectChanges(),v.setMeta(mE,{add:{id:y,pos:g,element:T.location.nativeElement}}),m.dispatch(v)})({view:m,position:y,id:T,type:w}),o=new AbortController;const{signal:v}=o;r=e.publishContent({data:g,signal:v}).pipe(At(1)).subscribe(N=>{const x=N[0][Object.keys(N[0])[0]];i.commands.insertAsset({type:w,payload:x,position:y})},N=>alert(N.message),()=>c(T))}function d(m){return i.commands.isNodeRegistered(xge[m])}return[mE,new Kt({key:new an("assetUploader"),props:{handleDOMEvents:{click(m,g){!function h(m,g){const{doc:y,selection:w}=m.state,{ranges:T}=w,v=Math.min(...T.map(ae=>ae.$from.pos)),N=y.nodeAt(v);!g.target?.closest("a")||N.type.name!==oo.name||(g.preventDefault(),g.stopPropagation())}(m,g)},paste(m,g){!function f(m,g){const{clipboardData:y}=g,{files:w}=y,T=y.getData("Text")||"",v=s(w[0]),N=d(v);if(v&&!N)return void a(v);if(T&&!nz(T))return;const{from:x}=(n=>{const{state:t}=n,{selection:e}=t,{ranges:i}=e;return{from:Math.min(...i.map(s=>s.$from.pos)),to:Math.max(...i.map(s=>s.$to.pos))}})(m);nz(T)&&d("image")?i.chain().insertImage(T,x).addNextLine().run():u({view:m,file:w[0],position:x}),g.preventDefault(),g.stopPropagation()}(m,g)},drop(m,g){!function p(m,g){const{files:y}=g.dataTransfer,{length:w}=y,T=y[0],v=s(T);if(!d(v))return;if(w>1)return void a(v);g.preventDefault(),g.stopPropagation();const{clientX:N,clientY:x}=g,{pos:ae}=m.posAtCoords({left:N,top:x});u({view:m,file:T,position:ae})}(m,g)}}}})]}}),Oge=["cb"],Age=function(n,t,e){return{"p-checkbox-label":!0,"p-checkbox-label-active":n,"p-disabled":t,"p-checkbox-label-focus":e}};function kge(n,t){if(1&n){const e=Ne();S(0,"label",7),se("click",function(r){ee(e);const o=C(),s=Ht(3);return te(o.onClick(r,s,!0))}),Se(1),E()}if(2&n){const e=C();jt(e.labelStyleClass),_("ngClass",ul(5,Age,e.checked(),e.disabled,e.focused)),Ct("for",e.inputId),b(1),yt(e.label)}}const Nge=function(n,t,e){return{"p-checkbox p-component":!0,"p-checkbox-checked":n,"p-checkbox-disabled":t,"p-checkbox-focused":e}},Pge=function(n,t,e){return{"p-highlight":n,"p-disabled":t,"p-focus":e}},Lge={provide:Qi,useExisting:Ft(()=>yE),multi:!0};let yE=(()=>{class n{constructor(e){this.cd=e,this.checkboxIcon="pi pi-check",this.trueValue=!0,this.falseValue=!1,this.onChange=new Q,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.focused=!1}onClick(e,i,r){e.preventDefault(),!this.disabled&&!this.readonly&&(this.updateModel(e),r&&i.focus())}updateModel(e){let i;this.binary?(i=this.checked()?this.falseValue:this.trueValue,this.model=i,this.onModelChange(i)):(i=this.checked()?this.model.filter(r=>!wt.equals(r,this.value)):this.model?[...this.model,this.value]:[this.value],this.onModelChange(i),this.model=i,this.formControl&&this.formControl.setValue(i)),this.onChange.emit({checked:i,originalEvent:e})}handleChange(e){this.readonly||this.updateModel(e)}onFocus(){this.focused=!0}onBlur(){this.focused=!1,this.onModelTouched()}focus(){this.inputViewChild.nativeElement.focus()}writeValue(e){this.model=e,this.cd.markForCheck()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}checked(){return this.binary?this.model===this.trueValue:wt.contains(this.value,this.model)}}return n.\u0275fac=function(e){return new(e||n)(I(In))},n.\u0275cmp=Ce({type:n,selectors:[["p-checkbox"]],viewQuery:function(e,i){if(1&e&&Mt(Oge,5),2&e){let r;Ve(r=Be())&&(i.inputViewChild=r.first)}},hostAttrs:[1,"p-element"],inputs:{value:"value",name:"name",disabled:"disabled",binary:"binary",label:"label",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",tabindex:"tabindex",inputId:"inputId",style:"style",styleClass:"styleClass",labelStyleClass:"labelStyleClass",formControl:"formControl",checkboxIcon:"checkboxIcon",readonly:"readonly",required:"required",trueValue:"trueValue",falseValue:"falseValue"},outputs:{onChange:"onChange"},features:[Pt([Lge])],decls:7,vars:26,consts:[[3,"ngStyle","ngClass"],[1,"p-hidden-accessible"],["type","checkbox",3,"readonly","value","checked","disabled","focus","blur","change"],["cb",""],[1,"p-checkbox-box",3,"ngClass","click"],[1,"p-checkbox-icon",3,"ngClass"],[3,"class","ngClass","click",4,"ngIf"],[3,"ngClass","click"]],template:function(e,i){if(1&e){const r=Ne();S(0,"div",0)(1,"div",1)(2,"input",2,3),se("focus",function(){return i.onFocus()})("blur",function(){return i.onBlur()})("change",function(s){return i.handleChange(s)}),E()(),S(4,"div",4),se("click",function(s){ee(r);const a=Ht(3);return te(i.onClick(s,a,!0))}),me(5,"span",5),E()(),D(6,kge,2,9,"label",6)}2&e&&(jt(i.styleClass),_("ngStyle",i.style)("ngClass",ul(18,Nge,i.checked(),i.disabled,i.focused)),b(2),_("readonly",i.readonly)("value",i.value)("checked",i.checked())("disabled",i.disabled),Ct("id",i.inputId)("name",i.name)("tabindex",i.tabindex)("aria-labelledby",i.ariaLabelledBy)("aria-label",i.ariaLabel)("aria-checked",i.checked())("required",i.required),b(2),_("ngClass",ul(22,Pge,i.checked(),i.disabled,i.focused)),b(1),_("ngClass",i.checked()?i.checkboxIcon:null),b(1),_("ngIf",i.label))},dependencies:[Qn,zt,Ai],styles:[".p-checkbox{display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:bottom;position:relative}.p-checkbox-disabled{cursor:default!important;pointer-events:none}.p-checkbox-box{display:flex;justify-content:center;align-items:center}p-checkbox{display:inline-flex;vertical-align:bottom;align-items:center}.p-checkbox-label{line-height:1}\n"],encapsulation:2,changeDetection:0}),n})(),$z=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})(),Eg=(()=>{class n{constructor(e,i,r){this.el=e,this.ngModel=i,this.cd=r}ngAfterViewInit(){this.updateFilledState(),this.cd.detectChanges()}ngDoCheck(){this.updateFilledState()}onInput(e){this.updateFilledState()}updateFilledState(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length||this.ngModel&&this.ngModel.model}}return n.\u0275fac=function(e){return new(e||n)(I(Dt),I(Ep,8),I(In))},n.\u0275dir=we({type:n,selectors:[["","pInputText",""]],hostAttrs:[1,"p-inputtext","p-component","p-element"],hostVars:2,hostBindings:function(e,i){1&e&&se("input",function(o){return i.onInput(o)}),2&e&&Wr("p-filled",i.filled)}}),n})(),Wz=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})();const Rge=["group"];function Fge(n,t){if(1&n&&(tt(0),me(1,"p-checkbox",11),S(2,"label",12),Se(3),Yn(4,"titlecase"),E(),nt()),2&n){const e=C().$implicit;b(1),_("formControlName",e.key)("binary",!0)("id",e.key),b(1),_("checkIsRequiredControl",e.key)("for",e.key),b(1),yt(qn(4,6,e.label))}}const jge=function(){return{width:"100%",fontSize:"14px",height:"40px"}};function zge(n,t){if(1&n&&me(0,"input",15,16),2&n){const e=C(2).$implicit;Gn(cr(6,jge)),_("formControlName",e.key)("id",e.key)("type",e.type)("min",e.min)}}const Vge=function(n){return{"p-label-input-required":n}};function Bge(n,t){if(1&n&&(tt(0),S(1,"label",13),Se(2),Yn(3,"titlecase"),E(),D(4,zge,2,7,"input",14),nt()),2&n){const e=C().$implicit;b(1),_("ngClass",it(5,Vge,e.required))("for",e.key),b(1),yt(qn(3,3,e.label))}}function Uge(n,t){1&n&&(S(0,"span",17),Se(1,"This field is required"),E())}function Hge(n,t){if(1&n&&(S(0,"div",6),tt(1,7),D(2,Fge,5,8,"ng-container",8),D(3,Bge,5,7,"ng-container",9),nt(),D(4,Uge,2,0,"span",10),E()),2&n){const e=t.$implicit,i=C(2);_("ngClass",e.type),b(1),_("ngSwitch",e.type),b(1),_("ngSwitchCase","checkbox"),b(2),_("ngIf",i.form.controls[e.key].invalid&&i.form.controls[e.key].dirty)}}const $ge=function(){return{width:"120px"}},Wge=function(){return{padding:"11.5px 24px"}};function Gge(n,t){if(1&n){const e=Ne();S(0,"form",1),se("ngSubmit",function(){return ee(e),te(C().onSubmit())}),D(1,Hge,5,4,"div",2),S(2,"div",3)(3,"button",4),se("click",function(){return ee(e),te(C().hide.emit(!0))}),E(),me(4,"button",5),E()()}if(2&n){const e=C();_("ngClass",null==e.options?null:e.options.customClass)("formGroup",e.form),b(1),_("ngForOf",e.dynamicControls),b(2),Gn(cr(8,$ge)),b(1),Gn(cr(9,Wge)),_("disabled",e.form.invalid)}}class xg{constructor(t){this.fb=t,this.formValues=new Q,this.hide=new Q,this.options=null,this.dynamicControls=[]}onSubmit(){this.formValues.emit({...this.form.value})}setFormValues(t){this.form.setValue(t)}buildForm(t){this.dynamicControls=t,this.form=this.fb.group({}),this.dynamicControls.forEach(e=>{this.form.addControl(e.key,this.fb.control(e.value||null,e.required?$d.required:[]))})}cleanForm(){this.form=null}}xg.\u0275fac=function(t){return new(t||xg)(I(lv))},xg.\u0275cmp=Ce({type:xg,selectors:[["dot-bubble-form"]],viewQuery:function(t,e){if(1&t&&Mt(Rge,5),2&t){let i;Ve(i=Be())&&(e.inputs=i)}},outputs:{formValues:"formValues",hide:"hide"},decls:1,vars:1,consts:[[3,"ngClass","formGroup","ngSubmit",4,"ngIf"],[3,"ngClass","formGroup","ngSubmit"],["class","field form-row",3,"ngClass",4,"ngFor","ngForOf"],[1,"form-action"],["pButton","","type","button","label","CANCEL",1,"p-button-outlined",3,"click"],["pButton","","type","submit","label","APPLY",1,"p-button",3,"disabled"],[1,"field","form-row",3,"ngClass"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["class","error-message",4,"ngIf"],[3,"formControlName","binary","id"],["dotFieldRequired","",3,"checkIsRequiredControl","for"],[3,"ngClass","for"],["pInputText","","type","control.type",3,"formControlName","id","type","min","style",4,"ngSwitchDefault"],["pInputText","","type","control.type",3,"formControlName","id","type","min"],["group",""],[1,"error-message"]],template:function(t,e){1&t&&D(0,Gge,5,10,"form",0),2&t&&_("ngIf",e.form)},dependencies:[Qn,Er,zt,Pc,yp,_p,Qd,pl,Rc,Wd,Aa,Fc,yE,Qr,Eg,Tg,c2],styles:["[_nghost-%COMP%]{background:#ffffff;border-radius:.125rem;box-shadow:0 4px 10px #0a07251a;display:flex;flex-direction:column;padding:16px}form[_ngcontent-%COMP%]{width:400px;display:flex;flex-direction:column;gap:16px}form.dotTableForm[_ngcontent-%COMP%]{width:200px}form.dotTableForm[_ngcontent-%COMP%] .p-button-outlined[_ngcontent-%COMP%]{display:none}.form-row[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px}.form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:12px}.form-row.checkbox[_ngcontent-%COMP%]{flex-direction:row;align-items:center}.form-action[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;padding-top:16px;width:100%;gap:10px}.error-message[_ngcontent-%COMP%]{color:#d82b2e;font-size:.625rem;text-align:left}"]});const Yge=["list"];function qge(n,t){if(1&n&&me(0,"dot-suggestions-list-item",5),2&n){const e=t.$implicit,i=t.index;_("command",e.command)("index",i)("label",e.label)("url",e.icon)("data",e.data)("page",!0)}}function Kge(n,t){if(1&n&&(S(0,"div")(1,"dot-suggestion-list",null,3),D(3,qge,1,6,"dot-suggestions-list-item",4),E()()),2&n){const e=C();b(3),_("ngForOf",e.items)}}function Qge(n,t){1&n&&me(0,"dot-suggestion-loading-list")}function Zge(n,t){if(1&n){const e=Ne();S(0,"dot-empty-message",6),se("back",function(){return ee(e),te(C().handleBackButton())}),E()}2&n&&_("title",C().title)("showBackBtn",!0)}class nf{constructor(){this.items=[],this.loading=!1,this.back=new Q}handleBackButton(){return this.back.emit(!0),!1}execCommand(){this.items.length?this.list.execCommand():this.handleBackButton()}updateSelection(t){this.list.updateSelection(t)}}nf.\u0275fac=function(t){return new(t||nf)},nf.\u0275cmp=Ce({type:nf,selectors:[["dot-suggestion-page"]],viewQuery:function(t,e){if(1&t&&Mt(Yge,5),2&t){let i;Ve(i=Be())&&(e.list=i.first)}},inputs:{items:"items",loading:"loading",title:"title"},outputs:{back:"back"},decls:5,vars:2,consts:[[4,"ngIf","ngIfElse"],["loadingBlock",""],["emptyBlock",""],["list",""],[3,"command","index","label","url","data","page",4,"ngFor","ngForOf"],[3,"command","index","label","url","data","page"],[3,"title","showBackBtn","back"]],template:function(t,e){if(1&t&&(D(0,Kge,4,1,"div",0),D(1,Qge,1,0,"ng-template",null,1,Mn),D(3,Zge,1,2,"ng-template",null,2,Mn)),2&t){const i=Ht(2),r=Ht(4);_("ngIf",e.items.length)("ngIfElse",e.loading?i:r)}},styles:["[_nghost-%COMP%]{display:block;min-width:240px;box-shadow:0 4px 20px var(--color-palette-black-op-10);padding:8px 0;background:#ffffff}[_nghost-%COMP%] {width:100%;box-shadow:none;padding:0}[_nghost-%COMP%] dotcms-suggestions-list-item{padding:8px}"]});const Jge=["input"],Xge=["suggestions"];function eye(n,t){1&n&&me(0,"hr",11)}const tye=function(){return{fontSize:"32px"}};function nye(n,t){if(1&n&&(S(0,"div",12)(1,"a",13)(2,"span",14),Se(3,"language"),E(),S(4,"span",15),Se(5),E()(),S(6,"div",16)(7,"div",17),me(8,"p-checkbox",18),E(),S(9,"label",19),Se(10,"Open link in new window"),E()()()),2&n){const e=C();b(1),_("href",e.currentLink,Po),b(1),Gn(cr(5,tye)),b(3),yt(e.currentLink),b(3),_("binary",!0)}}function iye(n,t){if(1&n){const e=Ne();S(0,"dot-suggestion-page",20,21),se("back",function(){return ee(e),te(C().resetForm())}),E()}if(2&n){const e=C();_("items",e.items)("loading",e.loading)("title",e.noResultsTitle)}}function rye(n,t){if(1&n){const e=Ne();S(0,"dot-form-actions",22),se("hide",function(r){return ee(e),te(C().hide.emit(r))})("remove",function(r){return ee(e),te(C().removeLink.emit(r))}),E()}2&n&&_("link",C().currentLink)}const oye=function(){return{width:"5rem",padding:".75rem 1rem",borderRadius:"0 2px 2px 0"}};class rf{constructor(t,e,i){this.fb=t,this.suggestionsService=e,this.dotLanguageService=i,this.hide=new Q(!1),this.removeLink=new Q(!1),this.isSuggestionOpen=new Q(!1),this.setNodeProps=new Q,this.showSuggestions=!1,this.languageId=_g,this.initialValues={link:"",blank:!0},this.minChars=3,this.loading=!1,this.items=[]}onMouseDownHandler(t){const{target:e}=t;e!==this.input.nativeElement&&t.preventDefault()}get noResultsTitle(){return`No results for ${this.newLink}`}get currentLink(){return this.initialValues.link}get newLink(){return this.form.get("link").value}ngOnInit(){this.form=this.fb.group({...this.initialValues}),this.form.get("link").valueChanges.pipe(th(500)).subscribe(t=>{t.lengththis.setNodeProps.emit({link:this.currentLink,blank:t})),this.dotLanguageService.getLanguages().pipe(At(1)).subscribe(t=>this.dotLangs=t)}submitForm(){this.setNodeProps.emit(this.form.value),this.hide.emit(!0)}setLoading(){const t=this.newLink.length>=this.minChars&&!N0(this.newLink);this.items=t?this.items:[],this.showSuggestions=t,this.loading=t,t&&requestAnimationFrame(()=>this.isSuggestionOpen.emit(!0))}setFormValue({link:t="",blank:e=!0}){this.form.setValue({link:t,blank:e},{emitEvent:!1})}focusInput(){this.input.nativeElement.focus()}onKeyDownEvent(t){const e=this.suggestionsComponent?.items;if(t.stopImmediatePropagation(),"Escape"===t.key)return this.hide.emit(!0),!0;if(!this.showSuggestions||!e?.length)return!0;switch(t.key){case"Enter":return this.suggestionsComponent?.execCommand(),!1;case"ArrowUp":case"ArrowDown":return this.suggestionsComponent?.updateSelection(t),!1;default:return!1}}resetForm(){this.showSuggestions=!1,this.setFormValue({...this.initialValues})}onSelection({payload:{url:t}}){this.setFormValue({...this.form.value,link:t}),this.submitForm()}searchContentlets({link:t=""}){this.loading=!0,this.suggestionsService.getContentletsByLink({link:t,currentLanguage:this.languageId}).pipe(At(1)).subscribe(e=>{this.items=e.map(i=>{const{languageId:r}=i;return i.language=this.getContentletLanguage(r),{label:i.title,icon:"contentlet/image",data:{contentlet:i},command:()=>{this.onSelection({payload:i,type:{name:"dotContent"}})}}}),this.loading=!1})}getContentletLanguage(t){const{languageCode:e,countryCode:i}=this.dotLangs[t];return e&&i?`${e}-${i}`:""}}rf.\u0275fac=function(t){return new(t||rf)(I(lv),I(Ql),I(ql))},rf.\u0275cmp=Ce({type:rf,selectors:[["dot-bubble-link-form"]],viewQuery:function(t,e){if(1&t&&(Mt(Jge,5),Mt(Xge,5)),2&t){let i;Ve(i=Be())&&(e.input=i.first),Ve(i=Be())&&(e.suggestionsComponent=i.first)}},hostBindings:function(t,e){1&t&&se("mousedown",function(r){return e.onMouseDownHandler(r)})},inputs:{showSuggestions:"showSuggestions",languageId:"languageId",initialValues:"initialValues"},outputs:{hide:"hide",removeLink:"removeLink",isSuggestionOpen:"isSuggestionOpen",setNodeProps:"setNodeProps"},decls:11,vars:8,consts:[[1,"form-container"],["autocomplete","off",3,"formGroup","keydown","ngSubmit"],[1,"p-inputgroup","search-container"],[1,"p-inputgroup"],["id","editor-input-link","pInputText","","type","text","placeholder","Paste link or search for pages","formControlName","link",3,"input"],["input",""],["pButton","","type","submit","label","ADD",1,"p-button"],["class","divider",4,"ngIf"],["class","info-container",4,"ngIf"],[3,"items","loading","title","back",4,"ngIf"],[3,"link","hide","remove",4,"ngIf"],[1,"divider"],[1,"info-container"],["target","_blank",1,"url-container",3,"href"],[1,"material-icons"],[1,"truncate"],[1,"field-checkbox"],[1,"checkbox-container"],["id","editor-input-checkbox","formControlName","blank",3,"binary"],["for","editor-input-checkbox"],[3,"items","loading","title","back"],["suggestions",""],[3,"link","hide","remove"]],template:function(t,e){1&t&&(S(0,"div",0)(1,"form",1),se("keydown",function(r){return e.onKeyDownEvent(r)})("ngSubmit",function(){return e.submitForm()}),S(2,"div",2)(3,"div",3)(4,"input",4,5),se("input",function(){return e.setLoading()}),E(),me(6,"button",6),E()(),D(7,eye,1,0,"hr",7),D(8,nye,11,6,"div",8),E(),D(9,iye,2,3,"dot-suggestion-page",9),D(10,rye,1,1,"dot-form-actions",10),E()),2&t&&(b(1),_("formGroup",e.form),b(5),Gn(cr(7,oye)),b(1),_("ngIf",e.showSuggestions||e.currentLink),b(1),_("ngIf",e.currentLink&&!e.showSuggestions),b(1),_("ngIf",e.showSuggestions),b(1),_("ngIf",!e.showSuggestions&&e.currentLink))},styles:[".form-container[_ngcontent-%COMP%]{background:#ffffff;border-radius:.125rem;box-shadow:0 4px 10px #0a07251a;display:flex;flex-direction:column;width:400px}.form-container[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:column;max-width:100%}.form-container[_ngcontent-%COMP%] .search-container[_ngcontent-%COMP%]{padding:1rem;width:100%}.form-container[_ngcontent-%COMP%] .search-container[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{background:#ffffff;border:1px solid #afb3c0}.form-container[_ngcontent-%COMP%] .search-container[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]:focus{outline:none;box-shadow:none}.form-container[_ngcontent-%COMP%] .info-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;padding:1rem;width:100%}.form-container[_ngcontent-%COMP%] .info-container[_ngcontent-%COMP%] .url-container[_ngcontent-%COMP%]{cursor:pointer;white-space:nowrap;font-size:16px;width:100%;word-wrap:normal;display:flex;align-items:center;text-decoration:none;gap:8px;color:#14151a}.form-container[_ngcontent-%COMP%] .info-container[_ngcontent-%COMP%] .field-checkbox[_ngcontent-%COMP%]{display:flex;gap:3.2px;min-width:100%;font-size:16px}.form-container[_ngcontent-%COMP%] .info-container[_ngcontent-%COMP%] .field-checkbox[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%]{cursor:pointer;width:32px;display:flex;align-items:center;justify-content:center}.divider[_ngcontent-%COMP%]{border:0;border-top:1px solid #ebecef;width:100%;margin:0}.truncate[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"]});var sye=A(88222),aye=A.n(sye);const Gz=({editor:n,view:t,pos:e})=>{const i=t.state.doc?.resolve(e),r=((n,t)=>{const e=t-n?.textOffset;return{to:e,from:n.index(){const{state:l}=this.editor,{to:c}=l.selection,{openOnClick:u}=qa.getState(l);this.pluginKey.getState(l).isOpen&&(u?(this.editor.commands.closeLinkForm(),requestAnimationFrame(()=>this.editor.commands.setTextSelection(c))):this.editor.commands.closeLinkForm())},this.editor=t,this.element=e,this.view=i,this.languageId=a,this.tippyOptions=r,this.element.remove(),this.element.style.visibility="visible",this.pluginKey=o,this.component=s,this.editor.on("focus",this.focusHandler),this.setComponentEvents(),document.body.addEventListener("scroll",this.hanlderScroll.bind(this),!0)}update(t,e){const i=this.pluginKey.getState(t.state),r=this.pluginKey.getState(e);i.isOpen!==r.isOpen?(this.createTooltip(),i.isOpen?this.show():this.hide(),this.detectLinkFormChanges()):this.detectLinkFormChanges()}createTooltip(){const{element:t}=this.editor.options;this.tippy||!t.parentElement||(this.tippy=ys(t.parentElement,{...this.tippyOptions,...BR,getReferenceClientRect:()=>this.setTippyPosition(),content:this.element,onHide:()=>{this.editor.commands.closeLinkForm()}}))}show(){this.tippy?.show(),this.component.instance.showSuggestions=!1,this.setInputValues(),this.component.instance.focusInput()}hide(){this.tippy?.hide(),this.editor.view.focus()}setTippyPosition(){const{view:t}=this.editor,{state:e}=t,{doc:i,selection:r}=e,{ranges:o}=r,s=Math.min(...o.map(m=>m.$from.pos)),l=_u(t,s,Math.max(...o.map(m=>m.$to.pos))),{element:c}=this.editor.options,u=c.parentElement.getBoundingClientRect(),d=document.querySelector("#bubble-menu")?.getBoundingClientRect()||l,h=u.bottomthis.hide()),this.component.instance.removeLink.pipe(yn(this.$destroy)).subscribe(()=>this.removeLink()),this.component.instance.isSuggestionOpen.pipe(yn(this.$destroy)).subscribe(()=>this.tippy.popperInstance.update()),this.component.instance.setNodeProps.pipe(yn(this.$destroy)).subscribe(t=>this.setLinkValues(t))}detectLinkFormChanges(){this.component.changeDetectorRef.detectChanges(),requestAnimationFrame(()=>this.tippy?.popperInstance?.forceUpdate())}getLinkProps(){const{href:t="",target:e="_top"}=this.editor.isActive("link")?this.editor.getAttributes("link"):this.editor.getAttributes(oo.name);return{link:t,blank:"_blank"===e}}getLinkSelect(){const{state:t}=this.editor,{from:e,to:i}=t.selection,r=t.doc.textBetween(e,i," ");return N0(r)?r:""}isImageNode(){const{type:t}=this.editor.state.doc.nodeAt(this.editor.state.selection.from)||{};return t?.name===oo.name}destroy(){this.tippy?.destroy(),this.editor.off("focus",this.focusHandler),this.$destroy.next(!0),this.component.destroy()}hanlderScroll(t){if(!this.tippy?.state.isMounted)return;const e=t.target,i=e?.parentElement?.parentElement;this.scrollElementMap[e.id]||this.scrollElementMap[i.id]||this.hide()}}const cye=n=>{let t;return new Kt({key:n.pluginKey,view:e=>new lye({view:e,...n}),state:{init:()=>({isOpen:!1,openOnClick:!1}),apply(e,i,r){const{isOpen:o,openOnClick:s}=e.getMeta(qa)||{},a=qa.getState(r);return"boolean"==typeof o?{isOpen:o,openOnClick:s}:a||i}},props:{handleDOMEvents:{mousedown(e,i){const r=n.editor,o=((n,t)=>{const{clientX:e,clientY:i}=t,{pos:r}=n.posAtCoords({left:e,top:i});return r})(e,i),{isOpen:s,openOnClick:a}=qa.getState(r.state);s&&a&&r.chain().unsetHighlight().setTextSelection(o).run()}},handleClickOn(e,i,r){const o=n.editor;return o.isActive("link")&&i?aye()(t,r)?(o.chain().setTextSelection(i).closeLinkForm().run(),null):(Gz({editor:o,view:e,pos:i}),t=r,!0):(t=r,null)},handleDoubleClickOn(e,i){const r=n.editor;return r.isActive("link")?(Gz({editor:r,view:e,pos:i}),!0):null}}})},qa=new an("addLink"),uye=(n,t)=>Sn.create({name:"bubbleLinkForm",addOptions:()=>({element:null,tippyOptions:{},pluginKey:qa}),addCommands:()=>({openLinkForm:({openOnClick:e})=>({chain:i})=>i().setMeta("preventAutolink",!0)?.setHighlight?.().command(({tr:r})=>(r.setMeta(qa,{isOpen:!0,openOnClick:e}),!0)).freezeScroll(!0).run(),closeLinkForm:()=>({chain:e})=>e().setMeta("preventAutolink",!0).unsetHighlight?.().command(({tr:i})=>(i.setMeta(qa,{isOpen:!1,openOnClick:!1}),!0)).freezeScroll(!1).run()}),addProseMirrorPlugins(){const e=n.createComponent(rf);return e.changeDetectorRef.detectChanges(),[cye({pluginKey:this.options.pluginKey,editor:this.editor,element:e.location.nativeElement,tippyOptions:this.options.tippyOptions,component:e,languageId:t})]}}),Yz={tableCell:!0,table:!0,youtube:!0,dotVideo:!0,aiContent:!0,loader:!0},dye=({editor:n,state:t,from:e,to:i})=>{const{doc:r,selection:o}=t,{view:s}=n,{empty:a}=o,{isOpen:l,openOnClick:c}=qa.getState(t),u=n.state.doc.nodeAt(n.state.selection.from),d=wu(n.state.selection.$from),h=!r.textBetween(e,i).length&&Yb(t.selection);return"text"===u?.type.name&&"table"===d?.type.name&&!h||!(!l&&(!s.hasFocus()||a||h||Yz[d?.type.name]||Yz[u?.type.name])||l&&c)},N0=n=>!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(n),qz=(n,t)=>t===oo.name&&n?.firstElementChild?n.firstElementChild.getBoundingClientRect():n.getBoundingClientRect(),Kz=n=>n.isActive("bulletList")||n.isActive("orderedList"),Qz=[{icon:"format_bold",markAction:"bold",active:!1},{icon:"format_underlined",markAction:"underline",active:!1},{icon:"format_italic",markAction:"italic",active:!1},{icon:"strikethrough_s",markAction:"strike",active:!1},{icon:"superscript",markAction:"superscript",active:!1},{icon:"subscript",markAction:"subscript",active:!1,divider:!0}],_E=[{icon:"format_align_left",markAction:"left",active:!1},{icon:"format_align_center",markAction:"center",active:!1},{icon:"format_align_right",markAction:"right",active:!1},{icon:"format_align_justify",markAction:"justify",active:!1,divider:!0}],pye=[...Qz,..._E,{icon:"format_list_bulleted",markAction:"bulletList",active:!1},{icon:"format_list_numbered",markAction:"orderedList",active:!1},{icon:"format_indent_decrease",markAction:"outdent",active:!1},{icon:"format_indent_increase",markAction:"indent",active:!1,divider:!0},{icon:"link",markAction:"link",active:!1,divider:!0},{icon:"format_clear",markAction:"clearAll",active:!1,divider:!0},{icon:"delete",markAction:"deleteNode",active:!1}],mye=[..._E,{icon:"link",markAction:"link",active:!1,divider:!0},{text:"Properties",markAction:"properties",active:!1,divider:!0},{icon:"delete",markAction:"deleteNode",active:!1}],gye=[...Qz,..._E,{icon:"link",markAction:"link",active:!1,divider:!0},{icon:"format_clear",markAction:"clearAll",active:!1,divider:!0},{icon:"delete",markAction:"deleteNode",active:!1}],yye=[{icon:"delete",markAction:"deleteNode",active:!1}],Zz=[{name:"offset",options:{offset:[0,5]}},{name:"flip",options:{fallbackPlacements:["bottom-start","top-start"]}},{name:"preventOverflow",options:{altAxis:!0,tether:!0}}],vye=[{key:"src",label:"path",required:!0,controlType:"text",type:"text"},{key:"alt",label:"alt",controlType:"text",type:"text"},{key:"title",label:"caption",controlType:"text",type:"text"}];class bye extends JS{constructor(t){const{editor:e,element:i,view:r,tippyOptions:o={},pluginKey:s,component:a}=t;super(t),this.$destroy=new ue,this.focusHandler=()=>{this.editor.commands.closeForm(),setTimeout(()=>this.update(this.editor.view))},this.editor=e,this.element=i,this.view=r,this.tippyOptions=o,this.element.remove(),this.element.style.visibility="visible",this.pluginKey=s,this.component=a,this.component.instance.buildForm(vye),this.component.instance.formValues.pipe(yn(this.$destroy)).subscribe(l=>{this.editor.commands.updateValue(l)}),this.component.instance.hide.pipe(yn(this.$destroy)).subscribe(()=>{this.editor.commands.closeForm()}),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.on("focus",this.focusHandler),document.body.addEventListener("scroll",this.hanlderScroll.bind(this),!0)}update(t,e){const i=this.pluginKey?.getState(t.state),r=e?this.pluginKey?.getState(e):{open:!1},{state:o}=t,{doc:s,selection:a}=o,{ranges:l}=a,c=Math.min(...l.map(d=>d.$from.pos)),u=Math.max(...l.map(d=>d.$to.pos));i?.open!==r?.open?(i.open&&i.form?(this.component.instance.buildForm(i.form),this.component.instance.options=i.options):this.component.instance.cleanForm(),this.createTooltip(),this.tippy?.setProps({getReferenceClientRect:()=>{if(a instanceof Qe){const d=t.nodeDOM(c);if(d)return this.node=s.nodeAt(c),this.tippyRect(d,this.node.type.name)}return _u(t,c,u)}}),i.open?this.show():this.hide()):this.tippy?.popperInstance?.forceUpdate()}createTooltip(){const{element:t}=this.editor.options;this.tippy||!t.parentElement||(this.tippy=ys(t.parentElement,{...this.tippyOptions,...BR,content:this.element,onShow:()=>{requestAnimationFrame(()=>{this.component.instance.inputs.first.nativeElement.focus()})}}))}show(){this.tippy?.show()}destroy(){this.tippy?.destroy(),this.editor.off("focus",this.focusHandler),this.$destroy.next(!0),this.component.destroy(),this.component.instance.formValues.unsubscribe()}hanlderScroll(t){return!this.shouldHideOnScroll(t.target)||(setTimeout(()=>this.update(this.editor.view)),null)}tippyRect(t,e){return document.querySelector("#bubble-menu")?.getBoundingClientRect()||((n,t)=>t===oo.name&&n.getElementsByTagName("img")[0]?.getBoundingClientRect()||n.getBoundingClientRect())(t,e)}shouldHideOnScroll(t){return this.tippy?.state.isMounted&&this.tippy?.popper.contains(t)}}const Cye=n=>new Kt({key:n.pluginKey,view:t=>new bye({view:t,...n}),state:{init:()=>({open:!1,form:[],options:null}),apply(t,e,i){const{open:r,form:o,options:s}=t.getMeta(Au)||{},a=Au?.getState(i);return"boolean"==typeof r?{open:r,form:o,options:s}:a||e}}}),Au=new an("bubble-form"),wye={interactive:!0,maxWidth:"none",trigger:"manual",placement:"bottom-start",hideOnClick:"toggle",popperOptions:{modifiers:[{name:"flip",options:{fallbackPlacements:["top-start"]}}]}},Tye=n=>{const t=new ue;return XS.extend({name:"bubbleForm",addOptions:()=>({element:null,tippyOptions:{},pluginKey:Au,shouldShow:()=>!0}),addCommands:()=>({openForm:(e,i)=>({chain:r})=>(r().command(({tr:o})=>(o.setMeta(Au,{form:e,options:i,open:!0}),!0)).freezeScroll(!0).run(),t),closeForm:()=>({chain:e})=>(t.next(null),e().command(({tr:i})=>(i.setMeta(Au,{open:!1}),!0)).freezeScroll(!1).run()),updateValue:e=>({editor:i})=>{t.next(e),i.commands.closeForm()}}),addProseMirrorPlugins(){const e=n.createComponent(xg),i=e.location.nativeElement;return e.changeDetectorRef.detectChanges(),[Cye({pluginKey:Au,editor:this.editor,element:i,tippyOptions:wye,component:e,form$:t})]}})},Jz=function(){return{width:"50%"}};function Dye(n,t){if(1&n){const e=Ne();S(0,"div")(1,"div",1)(2,"button",2),se("click",function(){return ee(e),te(C().copy())}),E(),S(3,"button",3),se("click",function(){return ee(e),te(C().remove.emit(!0))}),E()()()}2&n&&(b(2),Gn(cr(4,Jz)),b(1),Gn(cr(5,Jz)))}class Ig{constructor(){this.remove=new Q(!1),this.hide=new Q(!1),this.link=""}copy(){navigator.clipboard.writeText(this.link).then(()=>this.hide.emit(!0)).catch(()=>alert("Could not copy link"))}}function Mye(n,t){if(1&n){const e=Ne();tt(0),S(1,"button",3),se("click",function(){return ee(e),te(C().toggleChangeTo.emit())}),Se(2),E(),me(3,"div",4),nt()}if(2&n){const e=C();b(2),yt(e.selected)}}function Sye(n,t){1&n&&me(0,"div",4)}function Eye(n,t){if(1&n){const e=Ne();tt(0),S(1,"dot-bubble-menu-button",5),se("click",function(){const o=ee(e).$implicit;return te(C().command.emit(o))}),E(),D(2,Sye,1,0,"div",6),nt()}if(2&n){const e=t.$implicit;b(1),_("active",e.active)("item",e),b(1),_("ngIf",e.divider)}}Ig.\u0275fac=function(t){return new(t||Ig)},Ig.\u0275cmp=Ce({type:Ig,selectors:[["dot-form-actions"]],inputs:{link:"link"},outputs:{remove:"remove",hide:"hide"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"form-actions"],["pButton","","type","button","label","COPY LINK",1,"p-button-outlined",3,"click"],["pButton","","type","button","label","REMOVE LINK",1,"p-button-outlined","p-button-danger",3,"click"]],template:function(t,e){1&t&&D(0,Dye,4,6,"div",0),2&t&&_("ngIf",e.link.length)},dependencies:[zt,Qr],styles:[".form-actions[_ngcontent-%COMP%]{align-items:center;display:flex;justify-content:space-between;padding:1rem;gap:.5rem}"]});class sf{constructor(){this.items=[],this.command=new Q,this.toggleChangeTo=new Q}preventDeSelection(t){t.preventDefault()}}sf.\u0275fac=function(t){return new(t||sf)},sf.\u0275cmp=Ce({type:sf,selectors:[["dot-bubble-menu"]],inputs:{items:"items",selected:"selected"},outputs:{command:"command",toggleChangeTo:"toggleChangeTo"},decls:3,vars:2,consts:[["id","bubble-menu",1,"bubble-menu",3,"mousedown"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"btn-dropdown",3,"click"],[1,"divider"],[3,"active","item","click"],["class","divider",4,"ngIf"]],template:function(t,e){1&t&&(S(0,"div",0),se("mousedown",function(r){return e.preventDeSelection(r)}),D(1,Mye,4,1,"ng-container",1),D(2,Eye,3,3,"ng-container",2),E()),2&t&&(b(1),_("ngIf",e.selected),b(1),_("ngForOf",e.items))},styles:['[_nghost-%COMP%]{height:100%;width:100%}.bubble-menu[_ngcontent-%COMP%]{box-sizing:border-box;align-items:center;background:#ffffff;border-radius:.125rem;box-shadow:0 10px 24px 0 var(--color-palette-black-op-20);display:flex;justify-content:center;padding:5.6px;height:40px}.bubble-menu[_ngcontent-%COMP%] .btn-dropdown[_ngcontent-%COMP%]{background:none;border:none;outline:none;padding:4px;cursor:pointer}.bubble-menu[_ngcontent-%COMP%] .btn-dropdown[_ngcontent-%COMP%]:hover{background:#f3f3f4}.bubble-menu[_ngcontent-%COMP%] .btn-dropdown[_ngcontent-%COMP%]:after{content:"";border:solid #14151a;border-width:0 2px 2px 0;display:inline-block;padding:3.2px;transform:rotate(45deg);margin-left:12px}.bubble-menu[_ngcontent-%COMP%] .divider[_ngcontent-%COMP%]{border-left:1px solid #f3f3f4;height:100%;margin:0 8px}']});const xye=function(n,t){return{"btn-bubble-menu":!0,"btn-icon":n,"btn-active":t}},Iye=function(n){return{"material-icons":n}};class Og{constructor(){this.active=!1}}Og.\u0275fac=function(t){return new(t||Og)},Og.\u0275cmp=Ce({type:Og,selectors:[["dot-bubble-menu-button"]],inputs:{item:"item",active:"active"},decls:3,vars:8,consts:[[3,"ngClass"]],template:function(t,e){1&t&&(S(0,"button",0)(1,"span",0),Se(2),E()()),2&t&&(_("ngClass",Fn(3,xye,e.item.icon,e.active)),b(1),_("ngClass",it(6,Iye,e.item.icon)),b(1),yt(e.item.icon||e.item.text))},dependencies:[Qn],styles:["[_nghost-%COMP%]{display:flex;align-items:center;justify-content:center}.btn-bubble-menu[_ngcontent-%COMP%]{background:#ffffff;border:none;color:#14151a;display:flex;justify-content:center;align-items:center;cursor:pointer;max-width:auto;width:100%;height:32px;border-radius:.125rem}.btn-bubble-menu[_ngcontent-%COMP%]:hover{background:#f3f3f4}.btn-bubble-menu.btn-active[_ngcontent-%COMP%]{background:#f3f3f4;color:#14151a;border:1px solid #afb3c0}.btn-icon[_ngcontent-%COMP%]{width:32px}"]});const Oye=n=>{const t=n.component.instance,e=n.changeToComponent.instance;return new Kt({key:n.pluginKey,view:i=>new Aye({view:i,...n}),props:{handleKeyDown(i,r){const{key:o}=r,{changeToIsOpen:s}=n.editor?.storage.bubbleMenu||{};if(s){if("Escape"===o)return t.toggleChangeTo.emit(),!0;if("Enter"===o)return e.execCommand(),!0;if("ArrowDown"===o||"ArrowUp"===o)return e.updateSelection(r),!0}return!1}}})};class Aye extends JS{constructor(t){super(t),this.shouldShowProp=!1,this.updateActiveItems=(r=[],o)=>r.map(s=>(s.active=o.includes(s.markAction),s)),this.enabledMarks=()=>[...Object.keys(this.editor.schema.marks),...Object.keys(this.editor.schema.nodes)],this.getActiveMarks=(r=[])=>[...this.enabledMarks().filter(o=>this.editor.isActive(o)),...r.filter(o=>this.editor.isActive({textAlign:o}))];const{component:e,changeToComponent:i}=t;this.component=e,this.changeTo=i,this.changeToElement=this.changeTo.location.nativeElement,this.component.instance.command.subscribe(this.exeCommand.bind(this)),this.component.instance.toggleChangeTo.subscribe(this.toggleChangeTo.bind(this)),this.changeTo.instance.items=this.changeToItems(),this.changeTo.instance.title="Change To",this.changeToElement.remove(),this.changeTo.changeDetectorRef.detectChanges(),document.body.addEventListener("scroll",this.hanlderScroll.bind(this),!0),document.body.addEventListener("mouseup",this.showMenu.bind(this),!0),document.body.addEventListener("keyup",this.showMenu.bind(this),!0),this.editor.off("blur",this.blurHandler)}showMenu(){this.shouldShowProp&&(this.tippyChangeTo?.setProps({getReferenceClientRect:()=>this.tippy?.popper.getBoundingClientRect()}),this.show())}update(t,e){const{state:i,composing:r}=t,{doc:o,selection:s}=i,a=e&&e.doc.eq(o)&&e.selection.eq(s);if(r||a)return;this.createTooltip(),this.createChangeToTooltip();const{ranges:l}=s;this.selectionRange=l[0],this.selectionNodesCount=0,o.nodesBetween(this.selectionRange.$from.pos,this.selectionRange.$to.pos,d=>{d.isBlock&&this.selectionNodesCount++});const c=Math.min(...l.map(d=>d.$from.pos)),u=Math.max(...l.map(d=>d.$to.pos));if(this.shouldShowProp=this.shouldShow?.({editor:this.editor,view:t,state:i,oldState:e,from:c,to:u}),!this.shouldShowProp)return this.hide(),void this.tippyChangeTo?.hide();this.tippy?.setProps({getReferenceClientRect:()=>{const d=t.nodeDOM(c),h=o.nodeAt(c)?.type.name;return(({viewCoords:n,nodeCoords:t,padding:e})=>{const{top:i,bottom:r}=t,{top:o,bottom:s}=n,a=Math.ceil(i-o){this.changeTo.instance.list.updateActiveItem(t),this.changeTo.changeDetectorRef.detectChanges()})}setMenuItems(t,e){const i=t.nodeAt(e),o="table"===wu(this.editor.state.selection.$from).type.name?"table":i?.type.name;this.selectionNode=i,this.component.instance.items=((n="")=>{switch(n){case"dotImage":return mye;case"dotContent":return yye;case"table":return gye;default:return pye}})(o),this.component.changeDetectorRef.detectChanges()}openImageProperties(){const{open:t}=Au.getState(this.editor.state),{alt:e,src:i,title:r,data:o}=this.editor.getAttributes(oo.name),{title:s="",asset:a}=o||{};t?this.editor.commands.closeForm():this.editor.commands.openForm([{value:i||a,key:"src",label:"path",required:!0,controlType:"text",type:"text"},{value:e||s,key:"alt",label:"alt",controlType:"text",type:"text"},{value:r||s,key:"title",label:"caption",controlType:"text",type:"text"}]).pipe(At(1),Tn(l=>null!=l)).subscribe(l=>{requestAnimationFrame(()=>{this.editor.commands.updateAttributes(oo.name,{...l}),this.editor.commands.closeForm()})})}exeCommand(t){const{markAction:e,active:i}=t;switch(e){case"bold":this.editor.commands.toggleBold?.();break;case"italic":this.editor.commands.toggleItalic?.();break;case"strike":this.editor.commands.toggleStrike?.();break;case"underline":this.editor.commands.toggleUnderline?.();break;case"justify":case"left":case"center":case"right":this.toggleTextAlign(e,i);break;case"bulletList":this.editor.commands.toggleBulletList?.();break;case"orderedList":this.editor.commands.toggleOrderedList?.();break;case"indent":Kz(this.editor)&&this.editor.commands.sinkListItem("listItem");break;case"outdent":Kz(this.editor)&&this.editor.commands.liftListItem("listItem");break;case"link":const{isOpen:r}=qa.getState(this.editor.state);r?this.editor.view.focus():this.editor.commands.openLinkForm({openOnClick:!1});break;case"properties":this.openImageProperties();break;case"deleteNode":this.selectionNodesCount>1?((n,t)=>{const e=t.$from.pos,i=t.$to.pos+1;this.editor.chain().deleteRange({from:e,to:i}).blur().run()})(0,this.selectionRange):(({editor:n,nodeType:t,selectionRange:e})=>{Hue.includes(t)?((n,t)=>{const e=t.$from.pos,i=e+1;n.chain().deleteRange({from:e,to:i}).blur().run()})(n,e):((n,t)=>{const e=wu(t.$from),i=e.type.name,r=wu(t.$from,[wi.ORDERED_LIST,wi.BULLET_LIST]),{childCount:o}=r;switch(i){case wi.ORDERED_LIST:case wi.BULLET_LIST:o>1?n.chain().deleteNode(wi.LIST_ITEM).blur().run():n.chain().deleteNode(r.type).blur().run();break;default:n.chain().deleteNode(e.type).blur().run()}})(n,e)})({editor:this.editor,nodeType:this.selectionNode.type.name,selectionRange:this.selectionRange});break;case"clearAll":this.editor.commands?.unsetAllMarks(),this.editor.commands?.clearNodes();break;case"superscript":this.editor.commands?.toggleSuperscript?.();break;case"subscript":this.editor.commands?.toggleSubscript?.()}}toggleTextAlign(t,e){e?this.editor.commands?.unsetTextAlign?.():this.editor.commands?.setTextAlign?.(t)}changeToItems(){const t=this.editor.storage.dotConfig.allowedBlocks;let i="table"===wu(this.editor.state.selection.$from).type.name?vee:Tee;t.length>1&&(i=i.filter(o=>t.includes(o.id)));const r={heading1:()=>{this.editor.chain().focus().clearNodes().setHeading({level:1}).run()},heading2:()=>{this.editor.chain().focus().clearNodes().setHeading({level:2}).run()},heading3:()=>{this.editor.chain().focus().clearNodes().setHeading({level:3}).run()},heading4:()=>{this.editor.chain().focus().clearNodes().setHeading({level:4}).run()},heading5:()=>{this.editor.chain().focus().clearNodes().setHeading({level:5}).run()},heading6:()=>{this.editor.chain().focus().clearNodes().setHeading({level:6}).run()},paragraph:()=>{this.editor.chain().focus().clearNodes().run()},orderedList:()=>{this.editor.chain().focus().clearNodes().toggleOrderedList?.().run()},bulletList:()=>{this.editor.chain().focus().clearNodes().toggleBulletList?.().run()},blockquote:()=>{this.editor.chain().focus().clearNodes().toggleBlockquote?.().run()},codeBlock:()=>{this.editor.chain().focus().clearNodes().toggleCodeBlock?.().run()}};return i.forEach(o=>{o.isActive=()=>o.id.includes("heading")?this.editor.isActive("heading",o.attributes):this.editor.isActive(o.id),o.command=()=>{r[o.id](),this.tippyChangeTo.hide(),this.getActiveNode()}}),i}getActiveNode(){const t=this.changeToItems(),e=t.filter(o=>o?.isActive()),i=e.length>1?e[1]:e[0],r=t.findIndex(o=>o===i);return{activeItem:i,index:r}}createChangeToTooltip(){const{element:t}=this.editor.options;this.tippyChangeTo||(this.tippyChangeTo=ys(t,{...this.tippyOptions,appendTo:document.body,getReferenceClientRect:null,content:this.changeToElement,placement:"bottom-start",duration:0,hideOnClick:!1,popperOptions:{modifiers:Zz},onHide:()=>{this.editor.storage.bubbleMenu.changeToIsOpen=!1,this.changeTo.instance.items=[],this.changeTo.changeDetectorRef.detectChanges(),this.editor.commands.freezeScroll(!1)},onShow:()=>{this.editor.storage.bubbleMenu.changeToIsOpen=!0,this.editor.commands.freezeScroll(!0),this.updateChangeTo()}}))}toggleChangeTo(){this.tippyChangeTo?.state.isVisible?this.tippyChangeTo?.hide():this.tippyChangeTo?.show()}hanlderScroll(t){const i=this.changeTo.instance.listElement?.nativeElement;!this.tippy?.state.isMounted||t.target===i||this.tippyChangeTo?.hide()}}const kye={duration:500,maxWidth:"none",placement:"top-start",trigger:"manual",interactive:!0},Nye=new an("bubble-menu");function Pye(n){const t=n.createComponent(sf),e=t.location.nativeElement,i=n.createComponent(Jl),r=i.location.nativeElement;return XS.extend({name:"bubbleMenu",addOptions:()=>({element:null,tippyOptions:kye,pluginKey:"bubbleMenu",shouldShow:dye}),addStorage:()=>({changeToIsOpen:!1}),addProseMirrorPlugins(){return e?[Oye({...this.options,component:t,changeToComponent:i,pluginKey:Nye,editor:this.editor,element:e,changeToElement:r})]:[]}})}const Lye=Sn.create({name:"dotComands",addCommands:()=>({isNodeRegistered:n=>({view:t})=>{const{schema:e}=t.state,{nodes:i}=e;return Boolean(i[n])}})}),Rye=n=>Sn.create({name:"dotConfig",addStorage:()=>({...n})}),Fye=Bn.create({name:"tableCell",addOptions:()=>({HTMLAttributes:{}}),content:"block+",addAttributes:()=>({colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:n=>{const t=n.getAttribute("colwidth");return t?[parseInt(t,10)]:null}}}),tableRole:"cell",isolating:!0,parseHTML:()=>[{tag:"td"}],renderHTML({HTMLAttributes:n}){return["td",rn(this.options.HTMLAttributes,n),0]}});class zye{constructor(t,e){this.tippy=e}init(){}update(){}destroy(){this.tippy.destroy()}}const Vye=n=>{let t;function e(s){return Pi.node(s.$to.before(3),s.$to.after(3),{class:"focus"})}function i(s){s.preventDefault(),s.stopPropagation(),t?.setProps({getReferenceClientRect:()=>s.target.getBoundingClientRect()}),t.show()}function o(s){return"tableCell"===s?.type.name||"tableHeader"===s?.type.name||"tableRow"===s?.type.name}return new Kt({key:new an("dotTableCell"),state:{apply:()=>{},init:()=>{const{editor:s,viewContainerRef:a}=n,l=a.createComponent(Jl),c=l.location.nativeElement;l.instance.currentLanguage=s.storage.dotConfig.lang;const{element:d}=s.options;t=ys(d,{duration:500,maxWidth:"none",placement:"top-start",trigger:"manual",interactive:!0,appendTo:document.body,getReferenceClientRect:null,content:c,placement:"bottom-start",duration:0,hideOnClick:!0,popperOptions:{modifiers:Zz},onShow:()=>{s.commands.freezeScroll(!0);const h=l.instance.items.find(p=>"mergeCells"==p.id),f=l.instance.items.find(p=>"splitCells"==p.id);h.disabled=!s.can().mergeCells(),f.disabled=!s.can().splitCell(),setTimeout(()=>{l.changeDetectorRef.detectChanges()})},onHide:()=>s.commands.freezeScroll(!1)}),l.instance.items=((n,t)=>[{label:"Toggle row Header",icon:"check",id:"toggleRowHeader",command:()=>{n.commands.toggleHeaderRow(),t.hide()},tabindex:"0"},{label:"Toggle column Header",icon:"check",id:"toggleColumnHeader",command:()=>{n.commands.toggleHeaderColumn(),t.hide()},tabindex:"1"},{id:"divider"},{label:"Merge Cells",icon:"call_merge",id:"mergeCells",command:()=>{n.commands.mergeCells(),t.hide()},disabled:!0,tabindex:"2"},{label:"Split Cells",icon:"call_split",id:"splitCells",command:()=>{n.commands.splitCell(),t.hide()},disabled:!0,tabindex:"3"},{id:"divider"},{label:"Insert row above",icon:"arrow_upward",id:"insertAbove",command:()=>{n.commands.addRowBefore(),t.hide()},tabindex:"4"},{label:"Insert row below",icon:"arrow_downward",id:"insertBellow",command:()=>{n.commands.addRowAfter(),t.hide()},tabindex:"5"},{label:"Insert column left",icon:"arrow_back",id:"insertLeft",command:()=>{n.commands.addColumnBefore(),t.hide()},tabindex:"6"},{label:"Insert column right",icon:"arrow_forward",id:"insertRight",command:()=>{n.commands.addColumnAfter(),t.hide()},tabindex:"7"},{id:"divider"},{label:"Delete row",icon:"delete",id:"deleteRow",command:()=>{n.commands.deleteRow(),t.hide()},tabindex:"8"},{label:"Delete Column",icon:"delete",id:"deleteColumn",command:()=>{n.commands.deleteColumn(),t.hide()},tabindex:"9"},{label:"Delete Table",icon:"delete",id:"deleteTable",command:()=>{n.commands.deleteTable(),t.hide()},tabindex:"10"}])(n.editor,t),l.instance.title="",l.changeDetectorRef.detectChanges()}},view:s=>new zye(s,t),props:{decorations(s){const a=s.selection.$from.depth>3?s.selection.$from.node(3):null;return"tableCell"==a?.type?.name||"tableHeader"==a?.type?.name?Vn.create(s.doc,[e(s.selection)]):null},handleDOMEvents:{contextmenu:(s,a)=>{o(s.state.selection.$from.node(s.state.selection.$from.depth-1))&&i(a)},mousedown:(s,a)=>{const l=s.state.selection.$from.node(s.state.selection.$from.depth-1);!function r(s){return s?.classList.contains("dot-cell-arrow")}(a.target)?2===a.button&&o(l)&&a.preventDefault():i(a)}}}})};function Bye(n){return Fye.extend({renderHTML({HTMLAttributes:t}){return["td",rn(this.options.HTMLAttributes,t),["button",{class:"dot-cell-arrow"}],["p",0]]},addProseMirrorPlugins(){return[Vye({editor:this.editor,viewContainerRef:n})]}})}const Uye=Bn.create({name:"tableHeader",addOptions:()=>({HTMLAttributes:{}}),content:"block+",addAttributes:()=>({colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:n=>{const t=n.getAttribute("colwidth");return t?[parseInt(t,10)]:null}}}),tableRole:"header_cell",isolating:!0,parseHTML:()=>[{tag:"th"}],renderHTML({HTMLAttributes:n}){return["th",rn(this.options.HTMLAttributes,n),0]}});var vE,bE;if(typeof WeakMap<"u"){let n=new WeakMap;vE=t=>n.get(t),bE=(t,e)=>(n.set(t,e),e)}else{const n=[];let e=0;vE=i=>{for(let r=0;r(10==e&&(e=0),n[e++]=i,n[e++]=r)}var Xn=class{constructor(n,t,e,i){this.width=n,this.height=t,this.map=e,this.problems=i}findCell(n){for(let t=0;ti&&(o+=c.attrs.colspan)}}for(let s=0;s1&&(e=!0)}-1==t?t=o:t!=o&&(t=Math.max(t,o))}return t}(n),e=n.childCount,i=[];let r=0,o=null;const s=[];for(let c=0,u=t*e;c=e){(o||(o=[])).push({type:"overlong_rowspan",pos:u,n:y-T});break}const v=r+T*t;for(let N=0;N0;t--)if("row"==n.node(t).type.spec.tableRole)return n.node(0).resolve(n.before(t+1));return null}function Cs(n){const t=n.selection.$head;for(let e=t.depth;e>0;e--)if("row"==t.node(e).type.spec.tableRole)return!0;return!1}function P0(n){const t=n.selection;if("$anchorCell"in t&&t.$anchorCell)return t.$anchorCell.pos>t.$headCell.pos?t.$anchorCell:t.$headCell;if("node"in t&&t.node&&"cell"==t.node.type.spec.tableRole)return t.$anchor;const e=af(t.$head)||function Kye(n){for(let t=n.nodeAfter,e=n.pos;t;t=t.firstChild,e++){const i=t.type.spec.tableRole;if("cell"==i||"header_cell"==i)return n.doc.resolve(e)}for(let t=n.nodeBefore,e=n.pos;t;t=t.lastChild,e--){const i=t.type.spec.tableRole;if("cell"==i||"header_cell"==i)return n.doc.resolve(e-t.nodeSize)}}(t.$head);if(e)return e;throw new RangeError(`No cell found around position ${t.head}`)}function CE(n){return"row"==n.parent.type.spec.tableRole&&!!n.nodeAfter}function wE(n,t){return n.depth==t.depth&&n.pos>=t.start(-1)&&n.pos<=t.end(-1)}function tV(n,t,e){const i=n.node(-1),r=Xn.get(i),o=n.start(-1),s=r.nextCell(n.pos-o,t,e);return null==s?null:n.node(0).resolve(o+s)}function ku(n,t,e=1){const i={...n,colspan:n.colspan-e};return i.colwidth&&(i.colwidth=i.colwidth.slice(),i.colwidth.splice(t,e),i.colwidth.some(r=>r>0)||(i.colwidth=null)),i}function nV(n,t,e=1){const i={...n,colspan:n.colspan+e};if(i.colwidth){i.colwidth=i.colwidth.slice();for(let r=0;rc!=t.pos-r);a.unshift(t.pos-r);const l=a.map(c=>{const u=e.nodeAt(c);if(!u)throw RangeError(`No cell with offset ${c} found`);const d=r+c+1;return new Jj(s.resolve(d),s.resolve(d+u.content.size))});super(l[0].$from,l[0].$to,l),this.$anchorCell=n,this.$headCell=t}map(n,t){const e=n.resolve(t.map(this.$anchorCell.pos)),i=n.resolve(t.map(this.$headCell.pos));if(CE(e)&&CE(i)&&wE(e,i)){const r=this.$anchorCell.node(-1)!=e.node(-1);return r&&this.isRowSelection()?on.rowSelection(e,i):r&&this.isColSelection()?on.colSelection(e,i):new on(e,i)}return at.between(e,i)}content(){const n=this.$anchorCell.node(-1),t=Xn.get(n),e=this.$anchorCell.start(-1),i=t.rectBetween(this.$anchorCell.pos-e,this.$headCell.pos-e),r={},o=[];for(let a=i.top;a0||m>0){let g=f.attrs;if(p>0&&(g=ku(g,0,p)),m>0&&(g=ku(g,g.colspan-m,m)),h.lefti.bottom){const g={...f.attrs,rowspan:Math.min(h.bottom,i.bottom)-Math.max(h.top,i.top)};f=h.top0)&&Math.max(n+this.$anchorCell.nodeAfter.attrs.rowspan,t+this.$headCell.nodeAfter.attrs.rowspan)==this.$headCell.node(-1).childCount}static colSelection(n,t=n){const e=n.node(-1),i=Xn.get(e),r=n.start(-1),o=i.findCell(n.pos-r),s=i.findCell(t.pos-r),a=n.node(0);return o.top<=s.top?(o.top>0&&(n=a.resolve(r+i.map[o.left])),s.bottom0&&(t=a.resolve(r+i.map[s.left])),o.bottom0)&&Math.max(i+this.$anchorCell.nodeAfter.attrs.colspan,r+this.$headCell.nodeAfter.attrs.colspan)==t.width}eq(n){return n instanceof on&&n.$anchorCell.pos==this.$anchorCell.pos&&n.$headCell.pos==this.$headCell.pos}static rowSelection(n,t=n){const e=n.node(-1),i=Xn.get(e),r=n.start(-1),o=i.findCell(n.pos-r),s=i.findCell(t.pos-r),a=n.node(0);return o.left<=s.left?(o.left>0&&(n=a.resolve(r+i.map[o.top*i.width])),s.right0&&(t=a.resolve(r+i.map[s.top*i.width])),o.right{t.push(Pi.node(i,i+e.nodeSize,{class:"selectedCell"}))}),Vn.create(n.doc,t)}var n_e=new an("fix-tables");function rV(n,t,e,i){const r=n.childCount,o=t.childCount;e:for(let s=0,a=0;s{"table"==r.type.spec.tableRole&&(e=function i_e(n,t,e,i){const r=Xn.get(t);if(!r.problems)return i;i||(i=n.tr);const o=[];for(let l=0;l0){let f="cell";u.firstChild&&(f=u.firstChild.type.spec.tableRole);const p=[];for(let g=0;gt.width)for(let d=0,h=0;dt.height){const d=[];for(let p=0,m=(t.height-1)*t.width;p=t.width)&&e.nodeAt(t.map[m+p]).type==l.header_cell;d.push(g?u||(u=l.header_cell.createAndFill()):c||(c=l.cell.createAndFill()))}const h=l.row.create(null,he.from(d)),f=[];for(let p=t.height;p{if(!r)return!1;const o=e.selection;if(o instanceof on)return L0(e,i,ct.near(o.$headCell,t));if("horiz"!=n&&!o.empty)return!1;const s=cV(r,n,t);if(null==s)return!1;if("horiz"==n)return L0(e,i,ct.near(e.doc.resolve(o.head+t),t));{const a=e.doc.resolve(s),l=tV(a,n,t);let c;return c=l?ct.near(l,1):t<0?ct.near(e.doc.resolve(a.before(-1)),-1):ct.near(e.doc.resolve(a.after(-1)),1),L0(e,i,c)}}}function F0(n,t){return(e,i,r)=>{if(!r)return!1;const o=e.selection;let s;if(o instanceof on)s=o;else{const l=cV(r,n,t);if(null==l)return!1;s=new on(e.doc.resolve(l))}const a=tV(s.$headCell,n,t);return!!a&&L0(e,i,new on(s.$anchorCell,a))}}function j0(n,t){const e=n.selection;if(!(e instanceof on))return!1;if(t){const i=n.tr,r=yr(n.schema).cell.createAndFill().content;e.forEachCell((o,s)=>{o.content.eq(r)||i.replace(i.mapping.map(s+1),i.mapping.map(s+o.nodeSize-1),new Te(r,0,0))}),i.docChanged&&t(i)}return!0}function c_e(n,t){const i=af(n.state.doc.resolve(t));return!!i&&(n.dispatch(n.state.tr.setSelection(new on(i))),!0)}function u_e(n,t,e){if(!Cs(n.state))return!1;let i=function r_e(n){if(!n.size)return null;let{content:t,openStart:e,openEnd:i}=n;for(;1==t.childCount&&(e>0&&i>0||"table"==t.child(0).type.spec.tableRole);)e--,i--,t=t.child(0).content;const r=t.child(0),o=r.type.spec.tableRole,s=r.type.schema,a=[];if("row"==o)for(let l=0;l=0;s--){const{rowspan:a,colspan:l}=o.child(s).attrs;for(let c=r;c=t.length&&t.push(he.empty),e[r]i&&(h=h.type.createChecked(ku(h.attrs,h.attrs.colspan,u+h.attrs.colspan-i),h.content)),c.push(h),u+=h.attrs.colspan;for(let f=1;fr&&(d=d.type.create({...d.attrs,rowspan:Math.max(1,r-d.attrs.rowspan)},d.content)),l.push(d)}o.push(he.from(l))}e=o,t=r}return{width:n,height:t,rows:e}}(i,a.right-a.left,a.bottom-a.top),lV(n.state,n.dispatch,s,a,i),!0}if(i){const o=P0(n.state),s=o.start(-1);return lV(n.state,n.dispatch,s,Xn.get(o.node(-1)).findCell(o.pos-s),i),!0}return!1}function d_e(n,t){var e;if(t.ctrlKey||t.metaKey)return;const i=uV(n,t.target);let r;if(t.shiftKey&&n.state.selection instanceof on)o(n.state.selection.$anchorCell,t),t.preventDefault();else if(t.shiftKey&&i&&null!=(r=af(n.state.selection.$anchor))&&(null==(e=DE(n,t))?void 0:e.pos)!=r.pos)o(r,t),t.preventDefault();else if(!i)return;function o(l,c){let u=DE(n,c);const d=null==ec.getState(n.state);if(!u||!wE(l,u)){if(!d)return;u=l}const h=new on(l,u);if(d||!n.state.selection.eq(h)){const f=n.state.tr.setSelection(h);d&&f.setMeta(ec,l.pos),n.dispatch(f)}}function s(){n.root.removeEventListener("mouseup",s),n.root.removeEventListener("dragstart",s),n.root.removeEventListener("mousemove",a),null!=ec.getState(n.state)&&n.dispatch(n.state.tr.setMeta(ec,-1))}function a(l){const c=l,u=ec.getState(n.state);let d;if(null!=u)d=n.state.doc.resolve(u);else if(uV(n,c.target)!=i&&(d=DE(n,t),!d))return s();d&&o(d,c)}n.root.addEventListener("mouseup",s),n.root.addEventListener("dragstart",s),n.root.addEventListener("mousemove",a)}function cV(n,t,e){if(!(n.state.selection instanceof at))return null;const{$head:i}=n.state.selection;for(let r=i.depth-1;r>=0;r--){const o=i.node(r);if((e<0?i.index(r):i.indexAfter(r))!=(e<0?0:o.childCount))return null;if("cell"==o.type.spec.tableRole||"header_cell"==o.type.spec.tableRole){const a=i.before(r);return n.endOfTextblock("vert"==t?e>0?"down":"up":e>0?"right":"left")?a:null}}return null}function uV(n,t){for(;t&&t!=n.dom;t=t.parentNode)if("TD"==t.nodeName||"TH"==t.nodeName)return t;return null}function DE(n,t){const e=n.posAtCoords({left:t.clientX,top:t.clientY});return e&&e?af(n.state.doc.resolve(e.pos)):null}var h_e=class{constructor(n,t){this.node=n,this.cellMinWidth=t,this.dom=document.createElement("div"),this.dom.className="tableWrapper",this.table=this.dom.appendChild(document.createElement("table")),this.colgroup=this.table.appendChild(document.createElement("colgroup")),ME(n,this.colgroup,this.table,t),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(n){return n.type==this.node.type&&(this.node=n,ME(n,this.colgroup,this.table,this.cellMinWidth),!0)}ignoreMutation(n){return"attributes"==n.type&&(n.target==this.table||this.colgroup.contains(n.target))}};function ME(n,t,e,i,r,o){var s;let a=0,l=!0,c=t.firstChild;const u=n.firstChild;if(u){for(let d=0,h=0;d(r.spec.props.nodeViews[yr(s.schema).table.name]=(a,l)=>new e(a,t,l),new z0(-1,!1)),apply:(o,s)=>s.apply(o)},props:{attributes:o=>{const s=Zo.getState(o);return s&&s.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(o,s)=>{!function p_e(n,t,e,i,r){const o=Zo.getState(n.state);if(o&&!o.dragging){const s=function __e(n){for(;n&&"TD"!=n.nodeName&&"TH"!=n.nodeName;)n=n.classList&&n.classList.contains("ProseMirror")?null:n.parentNode;return n}(t.target);let a=-1;if(s){const{left:l,right:c}=s.getBoundingClientRect();t.clientX-l<=e?a=dV(n,t,"left"):c-t.clientX<=e&&(a=dV(n,t,"right"))}if(a!=o.activeHandle){if(!r&&-1!==a){const l=n.state.doc.resolve(a),c=l.node(-1),u=Xn.get(c),d=l.start(-1);if(u.colCount(l.pos-d)+l.nodeAfter.attrs.colspan-1==u.width-1)return}fV(n,a)}}}(o,s,n,0,i)},mouseleave:o=>{!function m_e(n){const t=Zo.getState(n.state);t&&t.activeHandle>-1&&!t.dragging&&fV(n,-1)}(o)},mousedown:(o,s)=>{!function g_e(n,t,e){const i=Zo.getState(n.state);if(!i||-1==i.activeHandle||i.dragging)return!1;const r=n.state.doc.nodeAt(i.activeHandle),o=function y_e(n,t,{colspan:e,colwidth:i}){const r=i&&i[i.length-1];if(r)return r;const o=n.domAtPos(t);let a=o.node.childNodes[o.offset].offsetWidth,l=e;if(i)for(let c=0;c{const s=Zo.getState(o);if(s&&s.activeHandle>-1)return function w_e(n,t){const e=[],i=n.doc.resolve(t),r=i.node(-1);if(!r)return Vn.empty;const o=Xn.get(r),s=i.start(-1),a=o.colCount(i.pos-s)+i.nodeAfter.attrs.colspan;for(let l=0;l-1&&n.docChanged){let i=n.mapping.map(t.activeHandle,-1);return CE(n.doc.resolve(i))||(i=-1),new z0(i,t.dragging)}return t}};function dV(n,t,e){const i=n.posAtCoords({left:t.clientX,top:t.clientY});if(!i)return-1;const{pos:r}=i,o=af(n.state.doc.resolve(r));if(!o)return-1;if("right"==e)return o.pos;const s=Xn.get(o.node(-1)),a=o.start(-1),l=s.map.indexOf(o.pos-a);return l%s.width==0?-1:a+s.map[l-1]}function hV(n,t,e){return Math.max(e,n.startWidth+(t.clientX-n.startX))}function fV(n,t){n.dispatch(n.state.tr.setMeta(Zo,{setHandle:t}))}function C_e(n){return Array(n).fill(0)}function ia(n){const t=n.selection,e=P0(n),i=e.node(-1),r=e.start(-1),o=Xn.get(i);return{...t instanceof on?o.rectBetween(t.$anchorCell.pos-r,t.$headCell.pos-r):o.findCell(e.pos-r),tableStart:r,map:o,table:i}}function pV(n,{map:t,tableStart:e,table:i},r){let o=r>0?-1:0;(function Zye(n,t,e){const i=yr(t.type.schema).header_cell;for(let r=0;r0&&r0&&t.map[a-1]==l||r0?-1:0;(function E_e(n,t,e){var i;const r=yr(t.type.schema).header_cell;for(let o=0;o0&&r0&&u==t.map[c-t.width]){const d=e.nodeAt(u).attrs;n.setNodeMarkup(n.mapping.slice(a).map(u+i),null,{...d,rowspan:d.rowspan-1}),l+=d.colspan-1}else if(r0&&e[o]==e[o-1]||i.right0&&e[r]==e[r-n]||i.bottom{var i;const r=t.selection;let o,s;if(r instanceof on){if(r.$anchorCell.pos!=r.$headCell.pos)return!1;o=r.$anchorCell.nodeAfter,s=r.$anchorCell.pos}else{if(o=function qye(n){for(let t=n.depth;t>0;t--){const e=n.node(t).type.spec.tableRole;if("cell"===e||"header_cell"===e)return n.node(t)}return null}(r.$from),!o)return!1;s=null==(i=af(r.$from))?void 0:i.pos}if(null==o||null==s||1==o.attrs.colspan&&1==o.attrs.rowspan)return!1;if(e){let a=o.attrs;const l=[],c=a.colwidth;a.rowspan>1&&(a={...a,rowspan:1}),a.colspan>1&&(a={...a,colspan:1});const u=ia(t),d=t.tr;for(let f=0;fe[i.type.spec.tableRole])(n,t)}function vV(n,t,e){const i=t.map.cellsInRect({left:0,top:0,right:"row"==n?t.map.width:1,bottom:"column"==n?t.map.height:1});for(let r=0;rr.table.nodeAt(l));for(let l=0;l{const p=f+o.tableStart,m=s.doc.nodeAt(p);m&&s.setNodeMarkup(p,h,m.attrs)}),i(s)}return!0}}Ag("row",{useDeprecatedLogic:!0}),Ag("column",{useDeprecatedLogic:!0});var R_e=Ag("cell",{useDeprecatedLogic:!0});function bV(n){return function(t,e){if(!Cs(t))return!1;const i=function F_e(n,t){if(t<0){const e=n.nodeBefore;if(e)return n.pos-e.nodeSize;for(let i=n.index(-1)-1,r=n.before();i>=0;i--){const o=n.node(-1).child(i),s=o.lastChild;if(s)return r-1-s.nodeSize;r-=o.nodeSize}}else{if(n.index()null,apply(t,e){const i=t.getMeta(ec);if(null!=i)return-1==i?null:i;if(null==e||!t.docChanged)return e;const{deleted:r,pos:o}=t.mapping.mapResult(e);return r?null:o}},props:{decorations:Jye,handleDOMEvents:{mousedown:d_e},createSelectionBetween:t=>null!=ec.getState(t.state)?t.state.selection:null,handleTripleClick:c_e,handleKeyDown:l_e,handlePaste:u_e},appendTransaction:(t,e,i)=>function t_e(n,t,e){const i=(t||n).selection,r=(t||n).doc;let o,s;if(i instanceof Qe&&(s=i.node.type.spec.tableRole)){if("cell"==s||"header_cell"==s)o=on.create(r,i.from);else if("row"==s){const a=r.resolve(i.from+1);o=on.rowSelection(a,a)}else if(!e){const a=Xn.get(i.node),l=i.from+1;o=on.create(r,l+1,l+a.map[a.width*a.height-1])}}else i instanceof at&&function Xye({$from:n,$to:t}){if(n.pos==t.pos||n.pos=0&&!(n.after(r+1)=0&&!(t.before(o+1)>t.start(o));o--,i--);return e==i&&/row|table/.test(n.node(r).type.spec.tableRole)}(i)?o=at.create(r,i.from):i instanceof at&&function e_e({$from:n,$to:t}){let e,i;for(let r=n.depth;r>0;r--){const o=n.node(r);if("cell"===o.type.spec.tableRole||"header_cell"===o.type.spec.tableRole){e=o;break}}for(let r=t.depth;r>0;r--){const o=t.node(r);if("cell"===o.type.spec.tableRole||"header_cell"===o.type.spec.tableRole){i=o;break}}return e!==i&&0===t.parentOffset}(i)&&(o=at.create(r,i.$from.start(),i.$from.end()));return o&&(t||(t=n.tr)).setSelection(o),t}(i,oV(i,e),n)})}function CV(n,t,e,i,r,o){let s=0,a=!0,l=t.firstChild;const c=n.firstChild;for(let u=0,d=0;u{const{selection:t}=n.state;if(!function H_e(n){return n instanceof on}(t))return!1;let e=0;return V5(t.ranges[0].$from,o=>"table"===o.type.name)?.node.descendants(o=>{if("table"===o.type.name)return!1;["tableCell","tableHeader"].includes(o.type.name)&&(e+=1)}),e===t.ranges.length&&(n.commands.deleteTable(),!0)},$_e=Bn.create({name:"table",addOptions:()=>({HTMLAttributes:{},resizable:!1,handleWidth:5,cellMinWidth:25,View:V_e,lastColumnResizable:!0,allowTableNodeSelection:!1}),content:"tableRow+",tableRole:"table",isolating:!0,group:"block",parseHTML:()=>[{tag:"table"}],renderHTML({HTMLAttributes:n}){return["table",rn(this.options.HTMLAttributes,n),["tbody",0]]},addCommands:()=>({insertTable:({rows:n=3,cols:t=3,withHeaderRow:e=!0}={})=>({tr:i,dispatch:r,editor:o})=>{const s=function U_e(n,t,e,i,r){const o=function B_e(n){if(n.cached.tableNodeTypes)return n.cached.tableNodeTypes;const t={};return Object.keys(n.nodes).forEach(e=>{const i=n.nodes[e];i.spec.tableRole&&(t[i.spec.tableRole]=i)}),n.cached.tableNodeTypes=t,t}(n),s=[],a=[];for(let c=0;c({state:n,dispatch:t})=>function T_e(n,t){if(!Cs(n))return!1;if(t){const e=ia(n);t(pV(n.tr,e,e.left))}return!0}(n,t),addColumnAfter:()=>({state:n,dispatch:t})=>function D_e(n,t){if(!Cs(n))return!1;if(t){const e=ia(n);t(pV(n.tr,e,e.right))}return!0}(n,t),deleteColumn:()=>({state:n,dispatch:t})=>function S_e(n,t){if(!Cs(n))return!1;if(t){const e=ia(n),i=n.tr;if(0==e.left&&e.right==e.map.width)return!1;for(let r=e.right-1;M_e(i,e,r),r!=e.left;r--){const o=e.tableStart?i.doc.nodeAt(e.tableStart-1):i.doc;if(!o)throw RangeError("No table found");e.table=o,e.map=Xn.get(o)}t(i)}return!0}(n,t),addRowBefore:()=>({state:n,dispatch:t})=>function x_e(n,t){if(!Cs(n))return!1;if(t){const e=ia(n);t(mV(n.tr,e,e.top))}return!0}(n,t),addRowAfter:()=>({state:n,dispatch:t})=>function I_e(n,t){if(!Cs(n))return!1;if(t){const e=ia(n);t(mV(n.tr,e,e.bottom))}return!0}(n,t),deleteRow:()=>({state:n,dispatch:t})=>function A_e(n,t){if(!Cs(n))return!1;if(t){const e=ia(n),i=n.tr;if(0==e.top&&e.bottom==e.map.height)return!1;for(let r=e.bottom-1;O_e(i,e,r),r!=e.top;r--){const o=e.tableStart?i.doc.nodeAt(e.tableStart-1):i.doc;if(!o)throw RangeError("No table found");e.table=o,e.map=Xn.get(e.table)}t(i)}return!0}(n,t),deleteTable:()=>({state:n,dispatch:t})=>function j_e(n,t){const e=n.selection.$anchor;for(let i=e.depth;i>0;i--)if("table"==e.node(i).type.spec.tableRole)return t&&t(n.tr.delete(e.before(i),e.after(i)).scrollIntoView()),!0;return!1}(n,t),mergeCells:()=>({state:n,dispatch:t})=>yV(n,t),splitCell:()=>({state:n,dispatch:t})=>_V(n,t),toggleHeaderColumn:()=>({state:n,dispatch:t})=>Ag("column")(n,t),toggleHeaderRow:()=>({state:n,dispatch:t})=>Ag("row")(n,t),toggleHeaderCell:()=>({state:n,dispatch:t})=>R_e(n,t),mergeOrSplit:()=>({state:n,dispatch:t})=>!!yV(n,t)||_V(n,t),setCellAttribute:(n,t)=>({state:e,dispatch:i})=>function P_e(n,t){return function(e,i){if(!Cs(e))return!1;const r=P0(e);if(r.nodeAfter.attrs[n]===t)return!1;if(i){const o=e.tr;e.selection instanceof on?e.selection.forEachCell((s,a)=>{s.attrs[n]!==t&&o.setNodeMarkup(a,null,{...s.attrs,[n]:t})}):o.setNodeMarkup(r.pos,null,{...r.nodeAfter.attrs,[n]:t}),i(o)}return!0}}(n,t)(e,i),goToNextCell:()=>({state:n,dispatch:t})=>bV(1)(n,t),goToPreviousCell:()=>({state:n,dispatch:t})=>bV(-1)(n,t),fixTables:()=>({state:n,dispatch:t})=>(t&&oV(n),!0),setCellSelection:n=>({tr:t,dispatch:e})=>{if(e){const i=on.create(t.doc,n.anchorCell,n.headCell);t.setSelection(i)}return!0}}),addKeyboardShortcuts(){return{Tab:()=>!!this.editor.commands.goToNextCell()||!!this.editor.can().addRowAfter()&&this.editor.chain().addRowAfter().goToNextCell().run(),"Shift-Tab":()=>this.editor.commands.goToPreviousCell(),Backspace:V0,"Mod-Backspace":V0,Delete:V0,"Mod-Delete":V0}},addProseMirrorPlugins(){return[...this.options.resizable&&this.editor.isEditable?[f_e({handleWidth:this.options.handleWidth,cellMinWidth:this.options.cellMinWidth,View:this.options.View,lastColumnResizable:this.options.lastColumnResizable})]:[],z_e({allowTableNodeSelection:this.options.allowTableNodeSelection})]},extendNodeSchema:n=>({tableRole:xt(He(n,"tableRole",{name:n.name,options:n.options,storage:n.storage}))})});class kg{}kg.\u0275fac=function(t){return new(t||kg)},kg.\u0275cmp=Ce({type:kg,selectors:[["dot-drag-handler"]],decls:2,vars:0,consts:[[1,"material-icons"]],template:function(t,e){1&t&&(S(0,"i",0),Se(1,"drag_indicator"),E())},styles:["[_nghost-%COMP%]{position:absolute;cursor:grab;z-index:1;opacity:0;color:var(--color-palette-primary-800);transition:opacity .25s,top .15s;pointer-events:none}.visible[_nghost-%COMP%]{opacity:1;pointer-events:auto}"]});const G_e=n=>Sn.create({name:"dragHandler",addProseMirrorPlugins(){let t=null;const r=n.createComponent(kg).location.nativeElement;function s(m){m&&m.parentNode&&m.parentNode.removeChild(m)}function c(m){for(;m&&m.parentNode&&!m.classList?.contains("ProseMirror")&&!m.parentNode.classList?.contains("ProseMirror");)m=m.parentNode;return m}function h(){r.classList.remove("visible")}return[new Kt({key:new an("dragHandler"),view:m=>(requestAnimationFrame(()=>function d(m){r.setAttribute("draggable","true"),r.addEventListener("dragstart",g=>function l(m,g){if(!m.dataTransfer)return;const w=function a(m,g){const y=g.posAtCoords(m);if(y){const w=c(g.nodeDOM(y.inside));if(w&&1===w.nodeType){const T=g.docView.nearestDesc(w,!0);if(T&&T!==g.docView)return T.posBefore}}return null}({left:m.clientX+50,top:m.clientY},g);if(null!=w){g.dispatch(g.state.tr.setSelection(Qe.create(g.state.doc,w)));const T=g.state.selection.content();m.dataTransfer.clearData(),m?.dataTransfer?.setDragImage(t,10,10),g.dragging={slice:T,move:!0}}}(g,m)),r.classList.remove("visible"),m.dom.parentElement?.appendChild(r)}(m)),document.body.addEventListener("scroll",h,!0),{destroy(){s(r),document.body.removeEventListener("scroll",h,!0)}}),props:{handleDOMEvents:{drop:(m,g)=>"TABLE"===c(g.target).nodeName||(requestAnimationFrame(()=>{(function p(){document.querySelector(".ProseMirror-hideselection")?.classList.remove("ProseMirror-hideselection"),r.classList.remove("visible")})(),tz(m),"TABLE"===t.nodeName&&s(t)}),!1),mousemove(m,g){const w=m.posAtCoords({left:g.clientX+50,top:g.clientY});if(w&&function u(m,g){const y=m.nodeDOM(g);return!(!y?.hasChildNodes()||1===y.childNodes.length&&"BR"==y.childNodes[0].nodeName)}(m,w.inside))if(t=c(m.nodeDOM(w.inside)),function f(m){return m&&!m.classList?.contains("ProseMirror")&&!m.innerText.startsWith("/")}(t)){const{top:T,left:v}=function o(m,g){return{top:g.getBoundingClientRect().top-m.getBoundingClientRect().top,left:g.getBoundingClientRect().left-m.getBoundingClientRect().left}}(m.dom.parentElement,t);r.style.left=v-25+"px",r.style.top=T<0?0:T+"px",r.classList.add("visible")}else r.classList.remove("visible");else t=null,r.classList.remove("visible");return!1}}}})]}}),Y_e=function(n){return{completed:n}};function q_e(n,t){if(1&n){const e=Ne();S(0,"button",2),se("click",function(){return ee(e),te(C().byClick.emit())}),E()}if(2&n){const e=C();_("disabled",e.isCompleted||e.isLoading)("icon",e.isCompleted?"pi pi-check":null)("label",e.title)("loading",e.isLoading)("ngClass",it(5,Y_e,e.isCompleted))}}function K_e(n,t){1&n&&(S(0,"div",3),me(1,"i",4),S(2,"span"),Se(3,"Something went wrong, please try again later or "),S(4,"a",5),Se(5," contact support "),E()()())}class Ng{constructor(){this.label="",this.isLoading=!1,this.byClick=new Q,this.status=Kl}get title(){return this.label?this.label[0].toUpperCase()+this.label?.substring(1).toLowerCase():""}get isCompleted(){return this.label===this.status.COMPLETED}}Ng.\u0275fac=function(t){return new(t||Ng)},Ng.\u0275cmp=Ce({type:Ng,selectors:[["dot-floating-button"]],inputs:{label:"label",isLoading:"isLoading"},outputs:{byClick:"byClick"},decls:3,vars:2,consts:[["pButton","","iconPos","left",3,"disabled","icon","label","loading","ngClass","click",4,"ngIf","ngIfElse"],["error",""],["pButton","","iconPos","left",3,"disabled","icon","label","loading","ngClass","click"],[1,"alert"],[1,"pi","pi-exclamation-circle"],["href","https://www.dotcms.com/contact-us/"]],template:function(t,e){if(1&t&&(D(0,q_e,1,7,"button",0),D(1,K_e,6,0,"ng-template",null,1,Mn)),2&t){const i=Ht(2);_("ngIf",e.label!==e.status.ERROR)("ngIfElse",i)}},dependencies:[Qn,zt,Qr],styles:["[_nghost-%COMP%] .p-button-label{text-transform:unset}[_nghost-%COMP%] .p-button{display:inline-block}[_nghost-%COMP%] .p-button:enabled:hover, [_nghost-%COMP%] .p-button:enabled:active, [_nghost-%COMP%] .p-button:enabled:focus{background:var(--color-palette-primary-500)}[_nghost-%COMP%] .p-button:disabled{background-color:#000!important;color:#fff!important;opacity:1}[_nghost-%COMP%] .p-button.completed{background:var(--color-palette-primary-500)!important}.alert[_ngcontent-%COMP%]{background:#ffffff;color:#d82b2e;border:1px solid #d82b2e;border-radius:.125rem;padding:10px;display:flex;align-items:center;justify-content:center;gap:5px}.alert[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#d82b2e}"]});const Z_e=n=>new Kt({key:n.pluginKey,view:t=>new J_e({view:t,...n})});class J_e{constructor({dotUploadFileService:t,editor:e,component:i,element:r,view:o}){this.preventHide=!1,this.$destroy=new ue,this.initialLabel="Import to dotCMS",this.offset=10,this.editor=e,this.element=r,this.view=o,this.component=i,this.dotUploadFileService=t,this.component.instance.byClick.pipe(yn(this.$destroy)).subscribe(()=>this.uploadImagedotCMS()),this.element.remove(),this.element.style.visibility="visible"}update(t,e){const{state:i,composing:r}=t,{doc:o,selection:s}=i,{empty:a,ranges:l}=s,c=e&&e.doc.eq(o)&&e.selection.eq(s);if(r||c||this.preventHide)return void(this.preventHide=!1);const u=Math.min(...l.map(g=>g.$from.pos)),d=o.nodeAt(u)?.type.name,h=this.editor.getAttributes(oo.name);if(a||d!==oo.name||h?.data)return void this.hide();const p=t.nodeDOM(u),m=p.querySelector("img");this.imageUrl=h?.src,this.updateButtonLabel(this.initialLabel),this.createTooltip(),this.tippy?.setProps({maxWidth:m?.width-this.offset||250,getReferenceClientRect:()=>(({viewCoords:n,nodeCoords:t})=>{const{bottom:i,left:r,top:o}=t,{bottom:s}=n,l=Math.ceil(s-i)<0?s:o-65,c=othis.updateButtonLabel(t)}).pipe(At(1),pn(()=>this.updateButtonLoading(!1))).subscribe(t=>{const e=t[0];this.updateButtonLabel(Kl.COMPLETED),this.updateImageNode(e[Object.keys(e)[0]])},()=>{this.updateButtonLoading(!1),this.updateButtonLabel(Kl.ERROR),this.setPreventHide()})}updateButtonLabel(t){this.component.instance.label=t,this.component.changeDetectorRef.detectChanges()}updateButtonLoading(t){this.component.instance.isLoading=t,this.component.changeDetectorRef.detectChanges()}}const X_e=new an("floating-button");function eve(n,t){const e=t.createComponent(Ng),i=e.location.nativeElement,r=n.get(ea);return Sn.create({addProseMirrorPlugins(){return i?[Z_e({...this.options,dotUploadFileService:r,component:e,pluginKey:X_e,editor:this.editor,element:i})]:[]}})}const Pg=new an("freeze-scroll"),tve=Sn.create({name:"freezeScroll",addCommands:()=>({freezeScroll:n=>({chain:t})=>t().command(({tr:e})=>(e.setMeta(Pg,{freezeScroll:n}),!0)).run()}),addProseMirrorPlugins:()=>[nve]}),nve=new Kt({key:Pg,state:{init:()=>({freezeScroll:!1}),apply(n,t,e){const{freezeScroll:i}=n.getMeta(Pg)||{},r=Pg?.getState(e);return"boolean"==typeof i?{freezeScroll:i}:r||t}}});function TV(n){return!!n&&(n instanceof Ee||"function"==typeof n.lift&&"function"==typeof n.subscribe)}function lf(...n){return t=>{let e;return"function"==typeof n[n.length-1]&&(e=n.pop()),t.lift(new ive(n,e))}}class ive{constructor(t,e){this.observables=t,this.project=e}call(t,e){return e.subscribe(new rve(t,this.observables,this.project))}}class rve extends HR{constructor(t,e,i){super(t),this.observables=e,this.project=i,this.toRespond=[];const r=e.length;this.values=new Array(r);for(let o=0;o0){const o=r.indexOf(i);-1!==o&&r.splice(o,1)}}notifyComplete(){}_next(t){if(0===this.toRespond.length){const e=[t,...this.values];this.project?this._tryProject(e):this.destination.next(e)}}_tryProject(t){let e;try{e=this.project.apply(this,t)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}class sve{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new ave(t,this.compare,this.keySelector))}}class ave extends re{constructor(t,e,i){super(t),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:r}=this;e=r?r(t):t}catch(r){return this.destination.error(r)}let i=!1;if(this.hasKey)try{const{compare:r}=this;i=r(this.key,e)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))}}const cve=new Me("@ngrx/component-store Initial State");let xE=(()=>{class n{constructor(e){this.destroySubject$=new q_(1),this.destroy$=this.destroySubject$.asObservable(),this.stateSubject$=new q_(1),this.isInitialized=!1,this.state$=this.select(i=>i),this.\u0275hasProvider=!1,e&&this.initState(e),this.checkProviderForHooks()}ngOnDestroy(){this.stateSubject$.complete(),this.destroySubject$.next()}updater(e){return i=>{let o,r=!0;const a=(TV(i)?i:Re(i)).pipe(function eq(n,t=0){return function(i){return i.lift(new tq(n,t))}}(ID),pn(()=>this.assertStateIsInitialized()),lf(this.stateSubject$),fe(([l,c])=>e(c,l)),pn(l=>this.stateSubject$.next(l)),zi(l=>r?(o=l,Fs):vo(()=>l)),yn(this.destroy$)).subscribe();if(o)throw o;return r=!1,a}}initState(e){jr([e],ID).subscribe(i=>{this.isInitialized=!0,this.stateSubject$.next(i)})}setState(e){"function"!=typeof e?this.initState(e):this.updater(e)()}patchState(e){const i="function"==typeof e?e(this.get()):e;this.updater((r,o)=>({...r,...o}))(i)}get(e){let i;return this.assertStateIsInitialized(),this.stateSubject$.pipe(At(1)).subscribe(r=>{i=e?e(r):r}),i}select(...e){const{observablesOrSelectorsObject:i,projector:r,config:o}=function uve(n){const t=Array.from(n);let e={debounce:!1};if(function dve(n){return typeof n.debounce<"u"}(t[t.length-1])&&(e={...e,...t.pop()}),1===t.length&&"function"!=typeof t[0])return{observablesOrSelectorsObject:t[0],projector:void 0,config:e};const i=t.pop();return{observablesOrSelectorsObject:t,projector:i,config:e}}(e);return(function hve(n,t){return Array.isArray(n)&&0===n.length&&t}(i,r)?this.stateSubject$:zv(i)).pipe(o.debounce?function lve(){return n=>new Ee(t=>{let e,i;const r=new ce;return r.add(n.subscribe({complete:()=>{e&&t.next(i),t.complete()},error:o=>{t.error(o)},next:o=>{i=o,e||(e=x1.schedule(()=>{t.next(i),e=void 0}),r.add(e))}})),r})}():n=>n,r?fe(a=>i.length>0&&Array.isArray(a)?r(...a):r(a)):n=>n,function ove(n,t){return e=>e.lift(new sve(n,t))}(),fj({refCount:!0,bufferSize:1}),yn(this.destroy$))}effect(e){const i=new ue;return e(i).pipe(yn(this.destroy$)).subscribe(),r=>(TV(r)?r:Re(r)).pipe(yn(this.destroy$)).subscribe(s=>{i.next(s)})}checkProviderForHooks(){x1.schedule(()=>{})}assertStateIsInitialized(){if(!this.isInitialized)throw new Error(`${this.constructor.name} has not been initialized yet. Please make sure it is initialized before updating/getting.`)}}return n.\u0275fac=function(e){return new(e||n)(F(cve,8))},n.\u0275prov=H({token:n,factory:n.\u0275fac}),n})();class tc extends xE{constructor(t){super({prompt:"",content:"",acceptContent:!1,deleteContent:!1,status:"close"}),this.dotAiService=t,this.prompt$=this.select(e=>e.prompt),this.content$=this.select(e=>e.content),this.deleteContent$=this.select(e=>e.deleteContent),this.status$=this.select(e=>e.status),this.vm$=this.select(e=>e),this.setStatus=this.updater((e,i)=>({...e,status:i})),this.setAcceptContent=this.updater((e,i)=>({...e,acceptContent:i})),this.setDeleteContent=this.updater((e,i)=>({...e,deleteContent:i})),this.generateContent=this.effect(e=>e.pipe(li(i=>(this.patchState({status:"loading",prompt:i}),this.dotAiService.generateContent(i).pipe(pn(r=>this.patchState({status:"loaded",content:r})),zi(()=>(this.patchState({status:"loaded",content:""}),Re(null)))))))),this.reGenerateContent=this.effect(e=>e.pipe(lf(this.state$),pn(([i,{prompt:r}])=>this.generateContent(Re(r)))))}}tc.\u0275fac=function(t){return new(t||tc)(F(Zl))},tc.\u0275prov=H({token:tc,factory:tc.\u0275fac,providedIn:"root"});const pve=["input"];function mve(n,t){1&n&&(tt(0),me(1,"span",7),nt())}function gve(n,t){1&n&&me(0,"button",8)}function yve(n,t){if(1&n){const e=Ne();tt(0),S(1,"form",1),se("ngSubmit",function(){return ee(e),te(C().onSubmit())}),S(2,"span",2)(3,"input",3,4),se("keyup.escape",function(r){return ee(e),te(C().handleScape(r))})("keydown.escape",function(r){return r.stopPropagation()}),Yn(5,"dm"),E(),D(6,mve,2,0,"ng-container",5),D(7,gve,1,0,"ng-template",null,6,Mn),E()(),nt()}if(2&n){const e=t.ngIf,i=Ht(8),r=C();b(1),_("formGroup",r.form),b(2),cs("placeholder",qn(5,5,"block-editor.extension.ai-content.ask-ai-to-write-something")),Ct("disabled","loading"===e.status||null),b(3),_("ngIf","loading"===e.status)("ngIfElse",i)}}class Lg{constructor(t){this.aiContentPromptStore=t,this.vm$=this.aiContentPromptStore.vm$,this.destroy$=new ue,this.form=new Yd({textPrompt:new Kd("",$d.required)})}ngOnInit(){this.aiContentPromptStore.status$.pipe(yn(this.destroy$),Tn(t=>"open"===t)).subscribe(()=>{this.form.reset(),this.input.nativeElement.focus()})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}onSubmit(){const t=this.form.value.textPrompt;t&&this.aiContentPromptStore.generateContent(t)}handleScape(t){this.aiContentPromptStore.setStatus("exit"),t.stopPropagation()}}function B0(n){return t=>t.lift(new _ve(n))}Lg.\u0275fac=function(t){return new(t||Lg)(I(tc))},Lg.\u0275cmp=Ce({type:Lg,selectors:[["dot-ai-content-prompt"]],viewQuery:function(t,e){if(1&t&&Mt(pve,5),2&t){let i;Ve(i=Be())&&(e.input=i.first)}},decls:2,vars:3,consts:[[4,"ngIf"],["id","ai-text-prompt","autocomplete","off",3,"formGroup","ngSubmit"],[1,"p-input-icon-right"],["autofocus","","formControlName","textPrompt","pInputText","","type","text",3,"placeholder","keyup.escape","keydown.escape"],["input",""],[4,"ngIf","ngIfElse"],["submitButton",""],[1,"pi","pi-spin","pi-spinner"],["icon","pi pi-send","pButton","","type","submit",1,"p-button-rounded","p-button-text"]],template:function(t,e){1&t&&(D(0,yve,9,7,"ng-container",0),Yn(1,"async")),2&t&&_("ngIf",qn(1,1,e.vm$))},dependencies:[zt,Qd,pl,Rc,Wd,Aa,Fc,Qr,Eg,L_,bs],styles:["form[_ngcontent-%COMP%]{margin:0 1rem}form[_ngcontent-%COMP%] .p-input-icon-right[_ngcontent-%COMP%]{width:100%;position:relative}form[_ngcontent-%COMP%] .p-input-icon-right[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%}form[_ngcontent-%COMP%] .p-input-icon-right[_ngcontent-%COMP%] button[_ngcontent-%COMP%], form[_ngcontent-%COMP%] .p-input-icon-right[_ngcontent-%COMP%] .pi-spinner[_ngcontent-%COMP%]{position:absolute;right:0;top:0;bottom:0;margin:auto 0;background:none}form[_ngcontent-%COMP%] .p-input-icon-right[_ngcontent-%COMP%] .pi-spinner[_ngcontent-%COMP%]{margin-right:.5rem;color:var(--color-palette-primary-500)}"],changeDetection:0});class _ve{constructor(t){this.total=t}call(t,e){return e.subscribe(new vve(t,this.total))}}class vve extends re{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}const bve={duration:[500,0],interactive:!0,maxWidth:"100%",trigger:"manual",hideOnClick:!1,placement:"bottom-start",popperOptions:{modifiers:[{name:"flip",enabled:!1},{name:"preventOverflow",options:{altAxis:!0}}]}};class Cve{constructor(t){this.destroy$=new ue,this.boundClickHandler=this.handleClick.bind(this);const{editor:e,element:i,view:r,tippyOptions:o={},pluginKey:s,component:a}=t;this.editor=e,this.element=i,this.view=r,this.tippyOptions=o,this.element.remove(),this.pluginKey=s,this.component=a,this.componentStore=this.component.injector.get(tc),this.componentStore.content$.pipe(yn(this.destroy$),Tn(l=>!!l)).subscribe(l=>{this.editor.chain().closeAIPrompt().insertAINode(l).openAIContentActions(Rg).run()}),this.componentStore.vm$.pipe(yn(this.destroy$),pn(l=>this.storeSate=l),Tn(l=>l.acceptContent)).subscribe(l=>{const c=nE(this.editor,wi.AI_CONTENT);((n,t,e)=>{const{node:i,from:r,to:o}=t;i&&n.chain().deleteRange({from:r,to:o}).insertContentAt(r,e).run()})(this.editor,c,l.content),this.componentStore.setAcceptContent(!1)}),this.componentStore.status$.pipe(B0(1),yn(this.destroy$),Tn(l=>"exit"===l)).subscribe(()=>{this.tippy?.hide()}),this.componentStore.deleteContent$.pipe(B0(1),yn(this.destroy$),Tn(l=>l)).subscribe(()=>{const l=nE(this.editor,wi.AI_CONTENT);l&&this.editor.commands.deleteRange({from:l.from,to:l.to}),this.componentStore.setDeleteContent(!1)})}update(t,e){const i=this.pluginKey?.getState(t.state),r=e?this.pluginKey?.getState(e):{open:!1};i?.open!==r?.open?i.open?this.show():this.hide("open"===this.storeSate.status||"loaded"===this.storeSate.status):this.tippy?.popperInstance?.forceUpdate()}createTooltip(){const{element:t}=this.editor.options;if(!t.parentElement)return;const{selection:i}=this.editor.state;if(i instanceof at){const{pos:r}=i.$cursor,s=this.editor.view.domAtPos(r).node;this.tippy=ys(t,{...bve,...this.tippyOptions,content:this.element,getReferenceClientRect:s.getBoundingClientRect.bind(s),onHide:()=>{this.editor.commands.closeAIPrompt()},onShow:a=>{const l=a.popper;l.style.width="100%",setTimeout(()=>{l.style.marginTop="-40px"},0)}})}}show(){this.createTooltip(),this.manageClickListener(!0),this.editor.setEditable(!1),this.tippy?.show(),this.componentStore.setStatus("open")}hide(t=!0){this.editor.setEditable(!0),this.editor.view.focus(),t&&this.componentStore.setStatus("close"),this.manageClickListener(!1)}destroy(){this.tippy?.destroy(),this.destroy$.next(!0),this.destroy$.complete(),this.manageClickListener(!1)}handleClick(){("open"===this.storeSate.status||"loaded"===this.storeSate.status)&&this.tippy.hide()}manageClickListener(t){t?this.editor.view.dom.addEventListener("click",this.boundClickHandler):this.editor.view.dom.removeEventListener("click",this.boundClickHandler)}}const wve=n=>new Kt({key:n.pluginKey,view:t=>new Cve({view:t,...n}),state:{init:()=>({open:!1}),apply(t,e,i){const{open:r}=t.getMeta(Fg)||{},o=Fg.getState(i);return"boolean"==typeof r?{open:r}:o||e}}}),Rg="dotAITextContent",Fg=new an(Rg),Tve=n=>Sn.create({name:"aiContentPrompt",addOptions:()=>({element:null,tippyOptions:{},pluginKey:Fg}),addCommands:()=>({openAIPrompt:()=>({chain:t})=>t().command(({tr:e})=>(e.setMeta(Fg,{open:!0}),!0)).freezeScroll(!0).run(),closeAIPrompt:()=>({chain:t})=>t().command(({tr:e})=>(e.setMeta(Fg,{open:!1}),!0)).freezeScroll(!1).run()}),addProseMirrorPlugins(){const t=n.createComponent(Lg);return t.changeDetectorRef.detectChanges(),[wve({pluginKey:this.options.pluginKey,editor:this.editor,element:t.location.nativeElement,tippyOptions:this.options.tippyOptions,component:t})]}});function Dve(n,t){if(1&n&&(S(0,"div",2),me(1,"i"),Se(2),E()),2&n){const e=t.$implicit;b(1),jt(e.icon),b(1),ji(" ",e.label," ")}}var Ka=(()=>(function(n){n.ACCEPT="ACCEPT",n.DELETE="DELETE",n.REGENERATE="REGENERATE"}(Ka||(Ka={})),Ka))();class jg{constructor(){this.actionEmitter=new Q,this.tooltipContent="Describe the size, color palette, style, mood, etc.",this.dotMessageService=st(Mo)}ngOnInit(){this.actionOptions=[{label:this.dotMessageService.get("block-editor.common.accept"),icon:"pi pi-check",callback:()=>this.emitAction(Ka.ACCEPT),selectedOption:!0},{label:this.dotMessageService.get("block-editor.common.regenerate"),icon:"pi pi-sync",callback:()=>this.emitAction(Ka.REGENERATE),selectedOption:!1},{label:this.dotMessageService.get("block-editor.common.delete"),icon:"pi pi-trash",callback:()=>this.emitAction(Ka.DELETE),selectedOption:!1}]}emitAction(t){this.actionEmitter.emit(t)}}jg.\u0275fac=function(t){return new(t||jg)},jg.\u0275cmp=Ce({type:jg,selectors:[["dot-ai-content-actions"]],outputs:{actionEmitter:"actionEmitter"},decls:2,vars:1,consts:[[3,"options","onClick"],["pTemplate","item"],[1,"action-content"]],template:function(t,e){1&t&&(S(0,"p-listbox",0),se("onClick",function(r){return r.value.callback()}),D(1,Dve,3,3,"ng-template",1),E()),2&t&&_("options",e.actionOptions)},dependencies:[Ni,XL],styles:["[_nghost-%COMP%] .p-listbox{display:block;width:12.5rem;padding:.5rem;margin-left:4rem}[_nghost-%COMP%] .p-listbox li{padding:.75rem 1rem}[_nghost-%COMP%] .p-listbox li:first-child{background-color:var(--color-palette-primary-200)}[_nghost-%COMP%] .p-listbox li:nth-child(2){padding:1rem;background-color:#fff}[_nghost-%COMP%] .p-listbox li:last-child{border-top:1px solid #ebecef;background-color:#fff}[_nghost-%COMP%] .p-listbox li:hover{background-color:var(--color-palette-primary-100)}.action-content[_ngcontent-%COMP%]{display:flex;align-items:center;color:#14151a}.action-content[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:.25rem;color:#8d92a5}"],changeDetection:0});let Mve=(()=>{class n{constructor(e){this.el=e}onkeydown(e){if(!0!==this.pFocusTrapDisabled){e.preventDefault();const i=q.getNextFocusableElement(this.el.nativeElement,e.shiftKey);i&&(i.focus(),i.select?.())}}}return n.\u0275fac=function(e){return new(e||n)(I(Dt))},n.\u0275dir=we({type:n,selectors:[["","pFocusTrap",""]],hostAttrs:[1,"p-element"],hostBindings:function(e,i){1&e&&se("keydown.tab",function(o){return i.onkeydown(o)})("keydown.shift.tab",function(o){return i.onkeydown(o)})},inputs:{pFocusTrapDisabled:"pFocusTrapDisabled"}}),n})(),Sve=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})();const Eve=["titlebar"],xve=["content"],Ive=["footer"];function Ove(n,t){if(1&n){const e=Ne();S(0,"div",11),se("mousedown",function(r){return ee(e),te(C(3).initResize(r))}),E()}}function Ave(n,t){if(1&n&&(S(0,"span",18),Se(1),E()),2&n){const e=C(4);Ct("id",e.id+"-label"),b(1),yt(e.header)}}function kve(n,t){1&n&&(S(0,"span",18),xi(1,1),E()),2&n&&Ct("id",C(4).id+"-label")}function Nve(n,t){1&n&&Je(0)}const Pve=function(){return{"p-dialog-header-icon p-dialog-header-maximize p-link":!0}};function Lve(n,t){if(1&n){const e=Ne();S(0,"button",19),se("click",function(){return ee(e),te(C(4).maximize())})("keydown.enter",function(){return ee(e),te(C(4).maximize())}),me(1,"span",20),E()}if(2&n){const e=C(4);_("ngClass",cr(2,Pve)),b(1),_("ngClass",e.maximized?e.minimizeIcon:e.maximizeIcon)}}const Rve=function(){return{"p-dialog-header-icon p-dialog-header-close p-link":!0}};function Fve(n,t){if(1&n){const e=Ne();S(0,"button",21),se("click",function(r){return ee(e),te(C(4).close(r))})("keydown.enter",function(r){return ee(e),te(C(4).close(r))}),me(1,"span",22),E()}if(2&n){const e=C(4);_("ngClass",cr(4,Rve)),Ct("aria-label",e.closeAriaLabel)("tabindex",e.closeTabindex),b(1),_("ngClass",e.closeIcon)}}function jve(n,t){if(1&n){const e=Ne();S(0,"div",12,13),se("mousedown",function(r){return ee(e),te(C(3).initDrag(r))}),D(2,Ave,2,2,"span",14),D(3,kve,2,1,"span",14),D(4,Nve,1,0,"ng-container",9),S(5,"div",15),D(6,Lve,2,3,"button",16),D(7,Fve,2,5,"button",17),E()()}if(2&n){const e=C(3);b(2),_("ngIf",!e.headerFacet&&!e.headerTemplate),b(1),_("ngIf",e.headerFacet),b(1),_("ngTemplateOutlet",e.headerTemplate),b(2),_("ngIf",e.maximizable),b(1),_("ngIf",e.closable)}}function zve(n,t){1&n&&Je(0)}function Vve(n,t){1&n&&Je(0)}function Bve(n,t){if(1&n&&(S(0,"div",23,24),xi(2,2),D(3,Vve,1,0,"ng-container",9),E()),2&n){const e=C(3);b(3),_("ngTemplateOutlet",e.footerTemplate)}}const Uve=function(n,t,e,i){return{"p-dialog p-component":!0,"p-dialog-rtl":n,"p-dialog-draggable":t,"p-dialog-resizable":e,"p-dialog-maximized":i}},Hve=function(n,t){return{transform:n,transition:t}},$ve=function(n){return{value:"visible",params:n}};function Wve(n,t){if(1&n){const e=Ne();S(0,"div",3,4),se("@animation.start",function(r){return ee(e),te(C(2).onAnimationStart(r))})("@animation.done",function(r){return ee(e),te(C(2).onAnimationEnd(r))}),D(2,Ove,1,0,"div",5),D(3,jve,8,5,"div",6),S(4,"div",7,8),xi(6),D(7,zve,1,0,"ng-container",9),E(),D(8,Bve,4,1,"div",10),E()}if(2&n){const e=C(2);jt(e.styleClass),_("ngClass",zd(15,Uve,e.rtl,e.draggable,e.resizable,e.maximized))("ngStyle",e.style)("pFocusTrapDisabled",!1===e.focusTrap)("@animation",it(23,$ve,Fn(20,Hve,e.transformOptions,e.transitionOptions))),Ct("aria-labelledby",e.id+"-label"),b(2),_("ngIf",e.resizable),b(1),_("ngIf",e.showHeader),b(1),jt(e.contentStyleClass),_("ngClass","p-dialog-content")("ngStyle",e.contentStyle),b(3),_("ngTemplateOutlet",e.contentTemplate),b(1),_("ngIf",e.footerFacet||e.footerTemplate)}}const Gve=function(n,t,e,i,r,o,s,a,l,c){return{"p-dialog-mask":!0,"p-component-overlay p-component-overlay-enter":n,"p-dialog-mask-scrollblocker":t,"p-dialog-left":e,"p-dialog-right":i,"p-dialog-top":r,"p-dialog-top-left":o,"p-dialog-top-right":s,"p-dialog-bottom":a,"p-dialog-bottom-left":l,"p-dialog-bottom-right":c}};function Yve(n,t){if(1&n&&(S(0,"div",1),D(1,Wve,9,25,"div",2),E()),2&n){const e=C();jt(e.maskStyleClass),_("ngClass",DT(4,Gve,[e.modal,e.modal||e.blockScroll,"left"===e.position,"right"===e.position,"top"===e.position,"topleft"===e.position||"top-left"===e.position,"topright"===e.position||"top-right"===e.position,"bottom"===e.position,"bottomleft"===e.position||"bottom-left"===e.position,"bottomright"===e.position||"bottom-right"===e.position])),b(1),_("ngIf",e.visible)}}const qve=["*",[["p-header"]],[["p-footer"]]],Kve=["*","p-header","p-footer"],Qve=uv([mi({transform:"{{transform}}",opacity:0}),Na("{{transition}}")]),Zve=uv([Na("{{transition}}",mi({transform:"{{transform}}",opacity:0}))]);let Jve=(()=>{class n{constructor(e,i,r,o,s){this.el=e,this.renderer=i,this.zone=r,this.cd=o,this.config=s,this.draggable=!0,this.resizable=!0,this.closeOnEscape=!0,this.closable=!0,this.showHeader=!0,this.blockScroll=!1,this.autoZIndex=!0,this.baseZIndex=0,this.minX=0,this.minY=0,this.focusOnShow=!0,this.keepInViewport=!0,this.focusTrap=!0,this.transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)",this.closeIcon="pi pi-times",this.closeTabindex="-1",this.minimizeIcon="pi pi-window-minimize",this.maximizeIcon="pi pi-window-maximize",this.onShow=new Q,this.onHide=new Q,this.visibleChange=new Q,this.onResizeInit=new Q,this.onResizeEnd=new Q,this.onDragEnd=new Q,this.onMaximize=new Q,this.id=T1(),this._style={},this._position="center",this.transformOptions="scale(0.7)"}get positionLeft(){return 0}set positionLeft(e){console.log("positionLeft property is deprecated.")}get positionTop(){return 0}set positionTop(e){console.log("positionTop property is deprecated.")}get responsive(){return!1}set responsive(e){console.log("Responsive property is deprecated.")}get breakpoint(){return 649}set breakpoint(e){console.log("Breakpoint property is not utilized and deprecated, use breakpoints or CSS media queries instead.")}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"header":this.headerTemplate=e.template;break;case"content":default:this.contentTemplate=e.template;break;case"footer":this.footerTemplate=e.template}})}ngOnInit(){this.breakpoints&&this.createStyle()}get visible(){return this._visible}set visible(e){this._visible=e,this._visible&&!this.maskVisible&&(this.maskVisible=!0)}get style(){return this._style}set style(e){e&&(this._style={...e},this.originalStyle=e)}get position(){return this._position}set position(e){switch(this._position=e,e){case"topleft":case"bottomleft":case"left":this.transformOptions="translate3d(-100%, 0px, 0px)";break;case"topright":case"bottomright":case"right":this.transformOptions="translate3d(100%, 0px, 0px)";break;case"bottom":this.transformOptions="translate3d(0px, 100%, 0px)";break;case"top":this.transformOptions="translate3d(0px, -100%, 0px)";break;default:this.transformOptions="scale(0.7)"}}focus(){let e=q.findSingle(this.container,"[autofocus]");e&&this.zone.runOutsideAngular(()=>{setTimeout(()=>e.focus(),5)})}close(e){this.visibleChange.emit(!1),e.preventDefault()}enableModality(){this.closable&&this.dismissableMask&&(this.maskClickListener=this.renderer.listen(this.wrapper,"mousedown",e=>{this.wrapper&&this.wrapper.isSameNode(e.target)&&this.close(e)})),this.modal&&q.addClass(document.body,"p-overflow-hidden")}disableModality(){this.wrapper&&(this.dismissableMask&&this.unbindMaskClickListener(),this.modal&&q.removeClass(document.body,"p-overflow-hidden"),this.cd.destroyed||this.cd.detectChanges())}maximize(){this.maximized=!this.maximized,!this.modal&&!this.blockScroll&&(this.maximized?q.addClass(document.body,"p-overflow-hidden"):q.removeClass(document.body,"p-overflow-hidden")),this.onMaximize.emit({maximized:this.maximized})}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}moveOnTop(){this.autoZIndex&&(vl.set("modal",this.container,this.baseZIndex+this.config.zIndex.modal),this.wrapper.style.zIndex=String(parseInt(this.container.style.zIndex,10)-1))}createStyle(){if(!this.styleElement){this.styleElement=document.createElement("style"),this.styleElement.type="text/css",document.head.appendChild(this.styleElement);let e="";for(let i in this.breakpoints)e+=`\n @media screen and (max-width: ${i}) {\n .p-dialog[${this.id}] {\n width: ${this.breakpoints[i]} !important;\n }\n }\n `;this.styleElement.innerHTML=e}}initDrag(e){q.hasClass(e.target,"p-dialog-header-icon")||q.hasClass(e.target.parentElement,"p-dialog-header-icon")||this.draggable&&(this.dragging=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,this.container.style.margin="0",q.addClass(document.body,"p-unselectable-text"))}onKeydown(e){if(this.focusTrap&&9===e.which){e.preventDefault();let i=q.getFocusableElements(this.container);if(i&&i.length>0)if(i[0].ownerDocument.activeElement){let r=i.indexOf(i[0].ownerDocument.activeElement);e.shiftKey?-1==r||0===r?i[i.length-1].focus():i[r-1].focus():-1==r||r===i.length-1?i[0].focus():i[r+1].focus()}else i[0].focus()}}onDrag(e){if(this.dragging){let i=q.getOuterWidth(this.container),r=q.getOuterHeight(this.container),o=e.pageX-this.lastPageX,s=e.pageY-this.lastPageY,a=this.container.getBoundingClientRect(),l=a.left+o,c=a.top+s,u=q.getViewport();this.container.style.position="fixed",this.keepInViewport?(l>=this.minX&&l+i=this.minY&&c+rparseInt(u))&&h.left+lparseInt(d))&&h.top+c{this.documentDragListener=this.onDrag.bind(this),window.document.addEventListener("mousemove",this.documentDragListener)})}unbindDocumentDragListener(){this.documentDragListener&&(window.document.removeEventListener("mousemove",this.documentDragListener),this.documentDragListener=null)}bindDocumentDragEndListener(){this.zone.runOutsideAngular(()=>{this.documentDragEndListener=this.endDrag.bind(this),window.document.addEventListener("mouseup",this.documentDragEndListener)})}unbindDocumentDragEndListener(){this.documentDragEndListener&&(window.document.removeEventListener("mouseup",this.documentDragEndListener),this.documentDragEndListener=null)}bindDocumentResizeListeners(){this.zone.runOutsideAngular(()=>{this.documentResizeListener=this.onResize.bind(this),this.documentResizeEndListener=this.resizeEnd.bind(this),window.document.addEventListener("mousemove",this.documentResizeListener),window.document.addEventListener("mouseup",this.documentResizeEndListener)})}unbindDocumentResizeListeners(){this.documentResizeListener&&this.documentResizeEndListener&&(window.document.removeEventListener("mousemove",this.documentResizeListener),window.document.removeEventListener("mouseup",this.documentResizeEndListener),this.documentResizeListener=null,this.documentResizeEndListener=null)}bindDocumentEscapeListener(){this.documentEscapeListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:"document","keydown",i=>{27==i.which&&this.close(i)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}appendContainer(){this.appendTo&&("body"===this.appendTo?document.body.appendChild(this.wrapper):q.appendChild(this.wrapper,this.appendTo))}restoreAppend(){this.container&&this.appendTo&&this.el.nativeElement.appendChild(this.wrapper)}onAnimationStart(e){switch(e.toState){case"visible":this.container=e.element,this.wrapper=this.container.parentElement,this.appendContainer(),this.moveOnTop(),this.bindGlobalListeners(),this.container.setAttribute(this.id,""),this.modal&&this.enableModality(),!this.modal&&this.blockScroll&&q.addClass(document.body,"p-overflow-hidden"),this.focusOnShow&&this.focus();break;case"void":this.wrapper&&this.modal&&q.addClass(this.wrapper,"p-component-overlay-leave")}}onAnimationEnd(e){switch(e.toState){case"void":this.onContainerDestroy(),this.onHide.emit({}),this.cd.markForCheck();break;case"visible":this.onShow.emit({})}}onContainerDestroy(){this.unbindGlobalListeners(),this.dragging=!1,this.maskVisible=!1,this.maximized&&(q.removeClass(document.body,"p-overflow-hidden"),this.maximized=!1),this.modal&&this.disableModality(),this.blockScroll&&q.removeClass(document.body,"p-overflow-hidden"),this.container&&this.autoZIndex&&vl.clear(this.container),this.container=null,this.wrapper=null,this._style=this.originalStyle?{...this.originalStyle}:{}}destroyStyle(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)}ngOnDestroy(){this.container&&(this.restoreAppend(),this.onContainerDestroy()),this.destroyStyle()}}return n.\u0275fac=function(e){return new(e||n)(I(Dt),I(ar),I(Yt),I(In),I(bl))},n.\u0275cmp=Ce({type:n,selectors:[["p-dialog"]],contentQueries:function(e,i,r){if(1&e&&(Kn(r,D1,5),Kn(r,M1,5),Kn(r,Ni,4)),2&e){let o;Ve(o=Be())&&(i.headerFacet=o.first),Ve(o=Be())&&(i.footerFacet=o.first),Ve(o=Be())&&(i.templates=o)}},viewQuery:function(e,i){if(1&e&&(Mt(Eve,5),Mt(xve,5),Mt(Ive,5)),2&e){let r;Ve(r=Be())&&(i.headerViewChild=r.first),Ve(r=Be())&&(i.contentViewChild=r.first),Ve(r=Be())&&(i.footerViewChild=r.first)}},hostAttrs:[1,"p-element"],inputs:{header:"header",draggable:"draggable",resizable:"resizable",positionLeft:"positionLeft",positionTop:"positionTop",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",modal:"modal",closeOnEscape:"closeOnEscape",dismissableMask:"dismissableMask",rtl:"rtl",closable:"closable",responsive:"responsive",appendTo:"appendTo",breakpoints:"breakpoints",styleClass:"styleClass",maskStyleClass:"maskStyleClass",showHeader:"showHeader",breakpoint:"breakpoint",blockScroll:"blockScroll",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",minX:"minX",minY:"minY",focusOnShow:"focusOnShow",maximizable:"maximizable",keepInViewport:"keepInViewport",focusTrap:"focusTrap",transitionOptions:"transitionOptions",closeIcon:"closeIcon",closeAriaLabel:"closeAriaLabel",closeTabindex:"closeTabindex",minimizeIcon:"minimizeIcon",maximizeIcon:"maximizeIcon",visible:"visible",style:"style",position:"position"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange",onResizeInit:"onResizeInit",onResizeEnd:"onResizeEnd",onDragEnd:"onDragEnd",onMaximize:"onMaximize"},ngContentSelectors:Kve,decls:1,vars:1,consts:[[3,"class","ngClass",4,"ngIf"],[3,"ngClass"],["pFocusTrap","","role","dialog",3,"ngClass","ngStyle","class","pFocusTrapDisabled",4,"ngIf"],["pFocusTrap","","role","dialog",3,"ngClass","ngStyle","pFocusTrapDisabled"],["container",""],["class","p-resizable-handle","style","z-index: 90;",3,"mousedown",4,"ngIf"],["class","p-dialog-header",3,"mousedown",4,"ngIf"],[3,"ngClass","ngStyle"],["content",""],[4,"ngTemplateOutlet"],["class","p-dialog-footer",4,"ngIf"],[1,"p-resizable-handle",2,"z-index","90",3,"mousedown"],[1,"p-dialog-header",3,"mousedown"],["titlebar",""],["class","p-dialog-title",4,"ngIf"],[1,"p-dialog-header-icons"],["type","button","tabindex","-1","pRipple","",3,"ngClass","click","keydown.enter",4,"ngIf"],["type","button","pRipple","",3,"ngClass","click","keydown.enter",4,"ngIf"],[1,"p-dialog-title"],["type","button","tabindex","-1","pRipple","",3,"ngClass","click","keydown.enter"],[1,"p-dialog-header-maximize-icon",3,"ngClass"],["type","button","pRipple","",3,"ngClass","click","keydown.enter"],[1,"p-dialog-header-close-icon",3,"ngClass"],[1,"p-dialog-footer"],["footer",""]],template:function(e,i){1&e&&($r(qve),D(0,Yve,2,15,"div",0)),2&e&&_("ngIf",i.maskVisible)},dependencies:[Qn,zt,qr,Ai,Mve,wl],styles:[".p-dialog-mask{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;pointer-events:none}.p-dialog-mask.p-component-overlay{pointer-events:auto}.p-dialog{display:flex;flex-direction:column;pointer-events:auto;max-height:90%;transform:scale(1);position:relative}.p-dialog-content{overflow-y:auto;flex-grow:1}.p-dialog-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.p-dialog-draggable .p-dialog-header{cursor:move}.p-dialog-footer{flex-shrink:0}.p-dialog .p-dialog-header-icons{display:flex;align-items:center}.p-dialog .p-dialog-header-icon{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-fluid .p-dialog-footer .p-button{width:auto}.p-dialog-top .p-dialog,.p-dialog-bottom .p-dialog,.p-dialog-left .p-dialog,.p-dialog-right .p-dialog,.p-dialog-top-left .p-dialog,.p-dialog-top-right .p-dialog,.p-dialog-bottom-left .p-dialog,.p-dialog-bottom-right .p-dialog{margin:.75rem;transform:translateZ(0)}.p-dialog-maximized{transition:none;transform:none;width:100vw!important;height:100vh!important;top:0!important;left:0!important;max-height:100%;height:100%}.p-dialog-maximized .p-dialog-content{flex-grow:1}.p-dialog-left{justify-content:flex-start}.p-dialog-right{justify-content:flex-end}.p-dialog-top{align-items:flex-start}.p-dialog-top-left{justify-content:flex-start;align-items:flex-start}.p-dialog-top-right{justify-content:flex-end;align-items:flex-start}.p-dialog-bottom{align-items:flex-end}.p-dialog-bottom-left{justify-content:flex-start;align-items:flex-end}.p-dialog-bottom-right{justify-content:flex-end;align-items:flex-end}.p-dialog .p-resizable-handle{position:absolute;font-size:.1px;display:block;cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.p-confirm-dialog .p-dialog-content{display:flex;align-items:center}\n"],encapsulation:2,data:{animation:[xp("animation",[Pa("void => visible",[dv(Qve)]),Pa("visible => void",[dv(Zve)])])]},changeDetection:0}),n})(),Xve=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn,Sve,Ra,Uo]}),n})(),rbe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn,Ra,Uo,Uo]}),n})();const sbe={selectedPromptType:null,showDialog:!1,status:Va.INIT,contentlets:[],prompt:null,editorContent:null,error:null};class Qa extends xE{constructor(t){super(sbe),this.dotAiService=t,this.isOpenDialog$=this.select(this.state$,({showDialog:e})=>e),this.isLoading$=this.select(this.state$,({status:e})=>e===Va.LOADING),this.getContentlets$=this.select(this.state$,({contentlets:e})=>e),this.setPromptType=this.updater((e,i)=>({...e,selectedPromptType:i})),this.showDialog=this.updater((e,i)=>({...e,showDialog:!0,selectedPromptType:"input",editorContent:i})),this.hideDialog=this.updater(e=>({...e,showDialog:!1,selectedPromptType:null})),this.vm$=this.select(this.state$,({selectedPromptType:e,showDialog:i,status:r})=>({selectedPromptType:e,showDialog:i,status:r})),this.generateImage=this.effect(e=>e.pipe(lf(this.state$),li(([i,{selectedPromptType:r,editorContent:o}])=>{const s=i?.trim()??"",a="auto"===r&&o?`${s} to illustrate the following content: ${o}`:s;return this.patchState({status:Va.LOADING,prompt:a}),this.dotAiService.generateAndPublishImage(a).pipe(function fve(n,t,e){return i=>i.pipe(pn({next:n,complete:e}),zi(r=>(t(r),Fs)))}(l=>{this.patchState({status:Va.IDLE,contentlets:l})},()=>(this.patchState({status:Va.IDLE}),Re(null))))}))),this.reGenerateContent=this.effect(e=>e.pipe(lf(this.state$),pn(([i,{prompt:r}])=>r?this.generateImage(Re(r)):Fs)))}}Qa.\u0275fac=function(t){return new(t||Qa)(F(Zl))},Qa.\u0275prov=H({token:Qa,factory:Qa.\u0275fac,providedIn:"root"});let abe=(()=>{class n{constructor(e,i,r,o){this.el=e,this.ngModel=i,this.control=r,this.cd=o,this.onResize=new Q}ngOnInit(){this.ngModel&&(this.ngModelSubscription=this.ngModel.valueChanges.subscribe(()=>{this.updateState()})),this.control&&(this.ngControlSubscription=this.control.valueChanges.subscribe(()=>{this.updateState()}))}ngAfterViewInit(){this.autoResize&&this.resize(),this.updateFilledState(),this.cd.detectChanges()}onInput(e){this.updateState()}updateFilledState(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length}onFocus(e){this.autoResize&&this.resize(e)}onBlur(e){this.autoResize&&this.resize(e)}resize(e){this.el.nativeElement.style.height="auto",this.el.nativeElement.style.height=this.el.nativeElement.scrollHeight+"px",parseFloat(this.el.nativeElement.style.height)>=parseFloat(this.el.nativeElement.style.maxHeight)?(this.el.nativeElement.style.overflowY="scroll",this.el.nativeElement.style.height=this.el.nativeElement.style.maxHeight):this.el.nativeElement.style.overflow="hidden",this.onResize.emit(e||{})}updateState(){this.updateFilledState(),this.autoResize&&this.resize()}ngOnDestroy(){this.ngModelSubscription&&this.ngModelSubscription.unsubscribe(),this.ngControlSubscription&&this.ngControlSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(I(Dt),I(Ep,8),I(js,8),I(In))},n.\u0275dir=we({type:n,selectors:[["","pInputTextarea",""]],hostAttrs:[1,"p-inputtextarea","p-inputtext","p-component","p-element"],hostVars:4,hostBindings:function(e,i){1&e&&se("input",function(o){return i.onInput(o)})("focus",function(o){return i.onFocus(o)})("blur",function(o){return i.onBlur(o)}),2&e&&Wr("p-filled",i.filled)("p-inputtextarea-resizable",i.autoResize)},inputs:{autoResize:"autoResize"},outputs:{onResize:"onResize"}}),n})(),lbe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})();function cbe(n,t){1&n&&(tt(0),S(1,"div",4),ZC(),S(2,"svg",5),me(3,"path",6)(4,"path",7)(5,"path",8)(6,"path",9),E()(),JC(),S(7,"div",10)(8,"p",11),me(9,"span",12),Yn(10,"dm"),me(11,"i",13),Yn(12,"dm"),E()(),nt()),2&n&&(b(9),cs("innerHTML",qn(10,2,"block-editor.extension.ai-image.input-text.title"),Dc),b(2),cs("pTooltip",qn(12,4,"block-editor.extension.ai-image.input-text.tooltip")))}function ube(n,t){if(1&n){const e=Ne();S(0,"form",14)(1,"div",15),me(2,"textarea",16),E(),me(3,"dot-field-validation-message",17),Yn(4,"dm"),S(5,"button",18),se("click",function(){return ee(e),te(C().generateImage())}),Yn(6,"dm"),E()()}if(2&n){const e=C();_("formGroup",e.form),b(2),_("placeholder",e.placeholder),b(1),l_("message"," ",qn(4,6,"block-editor.common.input-prompt-required-error"),""),_("field",e.promptControl),b(2),cs("label",qn(6,8,"block-editor.common.generate")),_("loading",e.isLoading)}}function dbe(n,t){1&n&&(S(0,"div",4),ZC(),S(1,"svg",19),me(2,"path",20)(3,"path",21)(4,"path",22),E()(),JC(),S(5,"div",10)(6,"p",11),me(7,"span",12),Yn(8,"dm"),me(9,"i",13),Yn(10,"dm"),E()()),2&n&&(b(7),cs("innerHTML",qn(8,2,"block-editor.extension.ai-image.auto-text.title"),Dc),b(2),cs("pTooltip",qn(10,4,"block-editor.extension.ai-image.auto-text.tooltip")))}class zg{constructor(){this.isSelected=!1,this.promptChanged=new Q,this.form=st(lv).group({prompt:["",$d.required]})}set selected(t){this.isSelected=t,this.resetForm()}get promptControl(){return this.form.get("prompt")}generateImage(){this.form.valid&&(this.promptChanged.emit(this.promptControl.value),this.disableForm())}ngOnChanges(t){const{type:e}=t;e&&"auto"===e.currentValue&&(this.promptControl.clearValidators(),this.form.updateValueAndValidity())}resetForm(){this.form.enable(),this.form.reset()}disableForm(){this.form.disable()}}zg.\u0275fac=function(t){return new(t||zg)},zg.\u0275cmp=Ce({type:zg,selectors:[["dot-ai-image-prompt-input"]],inputs:{placeholder:"placeholder",isLoading:"isLoading",type:"type",selected:"selected"},outputs:{promptChanged:"promptChanged"},standalone:!0,features:[Gi,_o],decls:5,vars:5,consts:[[1,"prompt-input__wrapper","flex","flex-column","align-items-center","h-full","justify-content-center","flex-wrap"],[4,"ngIf","ngIfElse"],["class","w-full text-center",3,"formGroup",4,"ngIf"],["autoHeaderTpl",""],[1,"prompt-input__icon"],["fill","none","height","40","viewBox","0 0 40 40","width","40","xmlns","http://www.w3.org/2000/svg"],["clip-rule","evenodd","d","M5.02857 11C3.69491 11 2.41587 11.5234 1.47283 12.455C0.529794 13.3866 0 14.6502 0 15.9677V34.0323C0 35.3498 0.529794 36.6133 1.47283 37.545C2.41587 38.4766 3.69491 39 5.02857 39H26.9714C28.3051 39 29.5841 38.4766 30.5272 37.545C31.4702 36.6133 32 35.3498 32 34.0323V34L32 33.4L29.2571 30.7626L24.2834 25.849C24.1534 25.7117 23.994 25.6048 23.8169 25.5361C23.6397 25.4673 23.4493 25.4385 23.2594 25.4516C23.0674 25.4627 22.8795 25.5115 22.7068 25.5952C22.5341 25.679 22.38 25.796 22.2537 25.9394L19.8949 28.7394L11.4834 20.4297C11.3595 20.2996 11.209 20.1969 11.042 20.1284C10.8749 20.0598 10.6951 20.0271 10.5143 20.0323C10.3222 20.0433 10.1343 20.0921 9.96162 20.1759C9.78891 20.2596 9.63488 20.3766 9.50857 20.52L2.74286 28.4865V15.9677C2.74286 15.3689 2.98367 14.7945 3.41233 14.371C3.84098 13.9476 4.42236 13.7097 5.02857 13.7097H14.2194V12.3548V11H5.02857ZM2.74316 34.0326V32.7139L10.606 23.3926L18.1397 30.8352L13.5317 36.2545H5.02888C4.42895 36.2546 3.85305 36.0217 3.42543 35.606C2.99781 35.1903 2.75276 34.6252 2.74316 34.0326ZM17.0975 36.2906L23.406 28.8119L29.166 34.5023C29.0649 35.0045 28.7913 35.4568 28.3914 35.7827C27.9916 36.1086 27.4901 36.288 26.9717 36.2906H22.0346H17.0975Z","fill","#8D92A5","fill-rule","evenodd"],["d","M28.6935 19.2671L22.8007 21.0668C22.6478 21.1134 22.5136 21.2101 22.4181 21.3425C22.3227 21.4749 22.2711 21.6357 22.2711 21.8011C22.2711 21.9664 22.3227 22.1273 22.4181 22.2597C22.5136 22.392 22.6478 22.4887 22.8007 22.5353L28.6935 24.3351L30.4277 30.4505C30.4726 30.6091 30.5658 30.7484 30.6933 30.8474C30.8209 30.9465 30.9759 31 31.1352 31C31.2945 31 31.4495 30.9465 31.577 30.8474C31.7045 30.7484 31.7977 30.6091 31.8427 30.4505L33.5776 24.3351L39.4704 22.5353C39.6233 22.4887 39.7575 22.392 39.8529 22.2597C39.9484 22.1273 40 21.9664 40 21.8011C40 21.6357 39.9484 21.4749 39.8529 21.3425C39.7575 21.2101 39.6233 21.1134 39.4704 21.0668L33.5776 19.2671L31.8427 13.1517C31.7978 12.993 31.7046 12.8538 31.577 12.7547C31.4495 12.6556 31.2945 12.6021 31.1352 12.6021C30.9759 12.6021 30.8208 12.6556 30.6933 12.7547C30.5658 12.8538 30.4726 12.993 30.4277 13.1517L28.6935 19.2671Z","fill","#7042F0"],["d","M35.9026 8.29011L39.0994 7.31284C39.2522 7.26623 39.3864 7.16951 39.4819 7.03716C39.5773 6.9048 39.6289 6.74394 39.6289 6.57862C39.6289 6.41331 39.5773 6.25244 39.4819 6.12008C39.3864 5.98773 39.2522 5.89101 39.0994 5.8444L35.9026 4.8679L34.9609 1.54959C34.916 1.39096 34.8228 1.25169 34.6953 1.15262C34.5677 1.05354 34.4127 1 34.2534 1C34.0941 1 33.9391 1.05354 33.8115 1.15262C33.684 1.25169 33.5908 1.39096 33.5459 1.54959L32.6049 4.8679L29.4075 5.8444C29.2546 5.891 29.1204 5.98771 29.025 6.12006C28.9295 6.25241 28.8779 6.41329 28.8779 6.57862C28.8779 6.74395 28.9295 6.90483 29.025 7.03718C29.1204 7.16953 29.2546 7.26624 29.4075 7.31284L32.6049 8.29011L33.5459 11.6076C33.5908 11.7663 33.684 11.9056 33.8115 12.0046C33.9391 12.1037 34.0941 12.1572 34.2534 12.1572C34.4127 12.1572 34.5677 12.1037 34.6953 12.0046C34.8228 11.9056 34.916 11.7663 34.9609 11.6076L35.9026 8.29011Z","fill","#7042F0"],["d","M19.6845 9.67937L16.459 11.0447C16.3233 11.1021 16.2072 11.2002 16.1254 11.3265C16.0437 11.4527 16 11.6014 16 11.7535C16 11.9056 16.0437 12.0542 16.1254 12.1805C16.2072 12.3067 16.3233 12.4048 16.459 12.4623L19.6845 13.8276L21.0001 17.175C21.0555 17.3159 21.1501 17.4364 21.2717 17.5212C21.3934 17.606 21.5366 17.6514 21.6832 17.6514C21.8297 17.6514 21.973 17.606 22.0946 17.5212C22.2163 17.4364 22.3108 17.3159 22.3662 17.175L23.6818 13.8276L26.9067 12.4623C27.0424 12.4048 27.1585 12.3067 27.2402 12.1805C27.322 12.0542 27.3656 11.9056 27.3656 11.7535C27.3656 11.6014 27.322 11.4527 27.2402 11.3265C27.1585 11.2002 27.0424 11.1021 26.9067 11.0447L23.6818 9.67937L22.3662 6.33266C22.3108 6.19183 22.2163 6.07132 22.0946 5.98648C21.973 5.90165 21.8297 5.85635 21.6832 5.85635C21.5366 5.85635 21.3934 5.90165 21.2717 5.98648C21.1501 6.07132 21.0555 6.19183 21.0001 6.33266L19.6845 9.67937Z","fill","#7042F0"],[1,"flex","gap-1"],[1,"text-center"],[3,"innerHTML"],["tooltipZIndex","999999",1,"pi","pi-info-circle",3,"pTooltip"],[1,"w-full","text-center",3,"formGroup"],[1,"field"],["autoResize","false","dotAutofocus","","formControlName","prompt","pInputTextarea","","rows","12",1,"w-full","h-full",3,"placeholder"],[3,"field","message"],["icon","pi pi-send","pButton","","type","submit",1,"p-button-outlined",3,"loading","label","click"],["fill","none","height","42","viewBox","0 0 34 42","width","34","xmlns","http://www.w3.org/2000/svg"],["d","M17.9594 25.5195L9.80768 28.0091C9.59623 28.0736 9.41058 28.2074 9.27852 28.3905C9.14646 28.5736 9.07509 28.7961 9.07509 29.0248C9.07509 29.2535 9.14646 29.4761 9.27852 29.6592C9.41058 29.8423 9.59623 29.9761 9.80768 30.0405L17.9594 32.5302L20.3584 40.9899C20.4205 41.2093 20.5494 41.4019 20.7259 41.5389C20.9023 41.6759 21.1167 41.75 21.3371 41.75C21.5574 41.75 21.7719 41.6759 21.9483 41.5389C22.1247 41.4019 22.2536 41.2093 22.3158 40.9899L24.7158 32.5302L32.8675 30.0405C33.079 29.9761 33.2646 29.8423 33.3967 29.6592C33.5287 29.4761 33.6001 29.2535 33.6001 29.0248C33.6001 28.7961 33.5287 28.5736 33.3967 28.3905C33.2646 28.2074 33.079 28.0736 32.8675 28.0091L24.7158 25.5195L22.3158 17.0598C22.2537 16.8404 22.1248 16.6477 21.9483 16.5107C21.7719 16.3736 21.5575 16.2995 21.3371 16.2995C21.1167 16.2995 20.9023 16.3736 20.7258 16.5107C20.5494 16.6477 20.4205 16.8404 20.3584 17.0598L17.9594 25.5195Z","fill","#7042F0"],["d","M27.9321 10.3346L32.3543 8.98276C32.5657 8.91828 32.7513 8.78449 32.8833 8.6014C33.0154 8.41831 33.0867 8.19578 33.0867 7.96709C33.0867 7.73841 33.0154 7.51587 32.8833 7.33278C32.7513 7.1497 32.5657 7.0159 32.3543 6.95143L27.9321 5.60059L26.6294 1.01027C26.5673 0.790829 26.4383 0.598168 26.2619 0.461118C26.0855 0.324068 25.871 0.25 25.6506 0.25C25.4303 0.25 25.2158 0.324068 25.0394 0.461118C24.8629 0.598168 24.734 0.790829 24.6719 1.01027L23.3702 5.60059L18.9471 6.95143C18.7357 7.01588 18.55 7.14966 18.418 7.33275C18.2859 7.51584 18.2146 7.73839 18.2146 7.96709C18.2146 8.19579 18.2859 8.41834 18.418 8.60143C18.55 8.78452 18.7357 8.91831 18.9471 8.98276L23.3702 10.3346L24.6719 14.9239C24.734 15.1434 24.8629 15.336 25.0394 15.4731C25.2158 15.6101 25.4303 15.6842 25.6506 15.6842C25.871 15.6842 26.0855 15.6101 26.2619 15.4731C26.4383 15.336 26.5673 15.1434 26.6294 14.9239L27.9321 10.3346Z","fill","#7042F0"],["d","M5.49703 12.2565L1.03503 14.1451C0.847305 14.2246 0.686661 14.3603 0.573578 14.535C0.460491 14.7096 0.400097 14.9152 0.400097 15.1256C0.400097 15.336 0.460491 15.5417 0.573578 15.7163C0.686661 15.8909 0.847305 16.0267 1.03503 16.1061L5.49703 17.9948L7.31694 22.6255C7.39355 22.8203 7.52433 22.987 7.69262 23.1043C7.8609 23.2217 8.05905 23.2844 8.2618 23.2844C8.46454 23.2844 8.66269 23.2217 8.83098 23.1043C8.99926 22.987 9.13005 22.8203 9.20666 22.6255L11.0266 17.9948L15.4876 16.1061C15.6754 16.0266 15.836 15.8909 15.9491 15.7163C16.0622 15.5417 16.1225 15.336 16.1225 15.1256C16.1225 14.9152 16.0622 14.7096 15.9491 14.535C15.836 14.3603 15.6754 14.2246 15.4876 14.1451L11.0266 12.2565L9.20666 7.62684C9.13005 7.43204 8.99926 7.26532 8.83098 7.14797C8.66269 7.03062 8.46454 6.96795 8.2618 6.96795C8.05905 6.96795 7.8609 7.03062 7.69262 7.14797C7.52433 7.26532 7.39355 7.43204 7.31694 7.62684L5.49703 12.2565Z","fill","#7042F0"]],template:function(t,e){if(1&t&&(S(0,"div",0),D(1,cbe,13,6,"ng-container",1),D(2,ube,7,10,"form",2),D(3,dbe,11,6,"ng-template",null,3,Mn),E()),2&t){const i=Ht(4);Wr("selected",e.isSelected),b(1),_("ngIf","input"===e.type)("ngIfElse",i),b(1),_("ngIf",e.isSelected)}},dependencies:[wo,Qr,zt,Zd,Qd,pl,Rc,Wd,Aa,Fc,Mu,bg,lbe,abe,bs,Mg,Tde,Cg],styles:["[_nghost-%COMP%] form[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%] form[_ngcontent-%COMP%] .field[_ngcontent-%COMP%]{margin-bottom:2rem}[_nghost-%COMP%] form[_ngcontent-%COMP%] dot-field-validation-message[_ngcontent-%COMP%]{position:absolute;left:0;bottom:50px}[_nghost-%COMP%] .prompt-input__wrapper[_ngcontent-%COMP%]{border-radius:.5rem;border:2px solid #ebecef;cursor:pointer;padding:1.5rem;gap:1.5rem;transition:all .15s ease;min-height:540px}[_nghost-%COMP%] .prompt-input__wrapper[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{display:inline-flex;color:var(--color-palette-primary-500)}[_nghost-%COMP%] .prompt-input__wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] .prompt-input__wrapper[_ngcontent-%COMP%]:hover{border-color:var(--color-palette-secondary-200)}[_nghost-%COMP%] .prompt-input__wrapper.selected[_ngcontent-%COMP%]{border-color:var(--color-palette-secondary-300);box-shadow:0 0 4px #14151a0a,0 8px 16px #14151a14;cursor:default}"],changeDetection:0});const hbe=function(){return{width:"800px"}};function fbe(n,t){if(1&n){const e=Ne();tt(0),S(1,"p-dialog",1),se("visibleChange",function(r){return te(ee(e).ngIf.showDialog=r)})("onHide",function(){return ee(e),te(C().hideDialog())}),Yn(2,"dm"),S(3,"div",2)(4,"dot-ai-image-prompt-input",3),se("click",function(){const o=ee(e).ngIf;return te(C().selectType("input",o.selectedPromptType))})("promptChanged",function(r){return ee(e),te(C().generateImage(r))}),Yn(5,"dm"),E(),S(6,"dot-ai-image-prompt-input",4),se("click",function(){const o=ee(e).ngIf;return te(C().selectType("auto",o.selectedPromptType))})("promptChanged",function(r){return ee(e),te(C().generateImage(r))}),Yn(7,"dm"),E()()(),nt()}if(2&n){const e=t.ngIf,i=C();b(1),Gn(cr(19,hbe)),cs("header",qn(2,13,"block-editor.extension.ai-image.dialog-title")),_("visible",e.showDialog)("dismissableMask",!0)("draggable",!1)("resizable",!1),b(3),cs("placeholder",qn(5,15,"block-editor.extension.ai-image.input-text.placeholder")),_("isLoading",e.status===i.ComponentStatus.LOADING)("selected","input"===e.selectedPromptType),b(2),cs("placeholder",qn(7,17,"block-editor.extension.ai-image.auto-text.placeholder")),_("isLoading",e.status===i.ComponentStatus.LOADING)("selected","auto"===e.selectedPromptType)}}class cf{constructor(){this.vm$=st(Qa).vm$,this.ComponentStatus=Va,this.store=st(Qa)}hideDialog(){this.store.hideDialog()}selectType(t,e){e!=t&&this.store.setPromptType(t)}generateImage(t){this.store.generateImage(t)}}cf.\u0275fac=function(t){return new(t||cf)},cf.\u0275cmp=Ce({type:cf,selectors:[["dot-ai-image-prompt"]],standalone:!0,features:[_o],decls:2,vars:3,consts:[[4,"ngIf"],["appendTo","body",3,"visible","dismissableMask","draggable","resizable","header","visibleChange","onHide"],[1,"dialog-prompts__wrapper","grid"],["type","input",1,"col",3,"isLoading","selected","placeholder","click","promptChanged"],["type","auto",1,"col",3,"isLoading","selected","placeholder","click","promptChanged"]],template:function(t,e){1&t&&(D(0,fbe,8,20,"ng-container",0),Yn(1,"async")),2&t&&_("ngIf",qn(1,1,e.vm$))},dependencies:[wo,Mu,Zd,rbe,zt,Xve,Jve,zg,L_,bs],styles:[".dialog-prompts__wrapper[_ngcontent-%COMP%]{gap:2rem}"],changeDetection:0});class pbe{constructor(t){this.destroy$=new ue;const{editor:e,element:i,view:r,pluginKey:o,component:s}=t;this.editor=e,this.element=i,this.view=r,this.element.remove(),this.pluginKey=o,this.component=s,this.store=this.component.injector.get(Qa),this.store.isOpenDialog$.pipe(B0(1),Tn(a=>!1===a),yn(this.destroy$)).subscribe(()=>{this.editor.commands.closeImagePrompt()}),this.store.isLoading$.pipe(Tn(a=>!0===a),yn(this.destroy$)).subscribe(()=>{this.store.hideDialog(),this.editor.chain().insertLoaderNode().closeImagePrompt().run()}),this.store.getContentlets$.pipe(Tn(a=>a.length>0),yn(this.destroy$)).subscribe(a=>{const l=Object.values(a[0])[0];this.editor.chain().deleteSelection().insertImage(l).openAIContentActions(IE).run()})}update(t,e){const i=this.pluginKey?.getState(t.state),r=e?this.pluginKey?.getState(e):{open:!1};i.open&&!1===r.open&&this.store.showDialog(this.editor.getText())}destroy(){this.destroy$.next(!0),this.destroy$.complete()}}const mbe=n=>new Kt({key:n.pluginKey,view:t=>new pbe({view:t,...n}),state:{init:()=>({open:!1}),apply(t,e,i){const{open:r}=t.getMeta(Vg)||{},o=Vg.getState(i);return"boolean"==typeof r?{open:r}:o||e}}}),IE="dotAIImageContent",Vg=new an("aiImagePrompt-form"),gbe=n=>Sn.create({name:"aiImagePrompt",addOptions:()=>({element:null,pluginKey:Vg}),addCommands:()=>({openImagePrompt:()=>({chain:t})=>t().command(({tr:e})=>(e.setMeta(Vg,{open:!0}),!0)).freezeScroll(!0).run(),closeImagePrompt:()=>({chain:t})=>t().command(({tr:e})=>(e.setMeta(Vg,{open:!1}),!0)).freezeScroll(!1).run()}),addProseMirrorPlugins(){const t=n.createComponent(cf);return t.changeDetectorRef.detectChanges(),[mbe({pluginKey:this.options.pluginKey,editor:this.editor,element:t.location.nativeElement,component:t})]}}),ybe={duration:[500,0],interactive:!0,maxWidth:200,trigger:"manual",hideOnClick:!1,placement:"bottom-start",popperOptions:{modifiers:[{name:"preventOverflow",options:{altAxis:!0}}]}};class _be{constructor(t){this.destroy$=new ue;const{editor:e,element:i,view:r,tippyOptions:o={},pluginKey:s,component:a}=t;this.editor=e,this.element=i,this.view=r,this.tippyOptions=o,this.element.remove(),this.pluginKey=s,this.component=a,this.aiContentPromptStore=this.component.injector.get(tc),this.dotAiImagePromptStore=this.component.injector.get(Qa),this.component.instance.actionEmitter.pipe(yn(this.destroy$)).subscribe(l=>{switch(l){case Ka.ACCEPT:this.acceptContent();break;case Ka.REGENERATE:this.generateContent();break;case Ka.DELETE:this.deleteContent()}}),this.view.dom.addEventListener("keydown",this.handleKeyDown.bind(this))}update(t,e){const i=this.pluginKey?.getState(t.state),r=e?this.pluginKey?.getState(e):{open:!1};i?.open!==r?.open?(this.createTooltip(),i.open?this.show():this.hide()):this.tippy?.popperInstance?.forceUpdate()}createTooltip(){const{element:t}=this.editor.options;this.tippy||!t.parentElement||(this.tippy=ys(t.parentElement,{...ybe,...this.tippyOptions,content:this.element}))}show(){this.tippy?.show()}hide(){this.tippy?.hide(),this.editor.view.focus()}destroy(){this.tippy?.destroy(),this.destroy$.next(!0),this.destroy$.complete(),this.view.dom.removeEventListener("keydown",this.handleKeyDown)}acceptContent(){const t=this.pluginKey?.getState(this.view.state);this.editor.commands.closeAIContentActions(),t.nodeType===Rg&&this.aiContentPromptStore.setAcceptContent(!0)}generateContent(){const t=this.pluginKey?.getState(this.view.state);switch(this.editor.commands.closeAIContentActions(),t.nodeType){case Rg:this.aiContentPromptStore.reGenerateContent();break;case IE:this.dotAiImagePromptStore.reGenerateContent()}}deleteContent(){switch(this.pluginKey?.getState(this.view.state).nodeType){case Rg:this.aiContentPromptStore.setDeleteContent(!0);break;case IE:this.editor.commands.deleteSelection()}this.editor.commands.closeAIContentActions()}handleKeyDown(t){"Backspace"===t.key&&this.editor.commands.closeAIContentActions()}}const vbe=n=>new Kt({key:n.pluginKey,view:t=>new _be({view:t,...n}),state:{init:()=>({open:!1,nodeType:null}),apply(t,e,i){const{open:r,nodeType:o}=t.getMeta(Bg)||{},s=Bg?.getState(i);return"boolean"==typeof r?{open:r,nodeType:o}:s||e}}}),Bg=new an("aiContentActions-form"),bbe=n=>Sn.create({name:"aiContentActions",addOptions:()=>({element:null,tippyOptions:{},pluginKey:Bg}),addCommands:()=>({openAIContentActions:t=>({chain:e})=>e().command(({tr:i})=>(i.setMeta(Bg,{open:!0,nodeType:t}),!0)).freezeScroll(!0).run(),closeAIContentActions:()=>({chain:t})=>t().command(({tr:e})=>(e.setMeta(Bg,{open:!1}),!0)).freezeScroll(!1).run()}),addProseMirrorPlugins(){const t=n.createComponent(jg);return t.changeDetectorRef.detectChanges(),[vbe({pluginKey:this.options.pluginKey,editor:this.editor,element:t.location.nativeElement,tippyOptions:this.options.tippyOptions,component:t})]}}),MV={leading:!0,trailing:!1};class Dbe{constructor(t,e,i,r){this.duration=t,this.scheduler=e,this.leading=i,this.trailing=r}call(t,e){return e.subscribe(new Mbe(t,this.duration,this.scheduler,this.leading,this.trailing))}}class Mbe extends re{constructor(t,e,i,r,o){super(t),this.duration=e,this.scheduler=i,this.leading=r,this.trailing=o,this._hasTrailingValue=!1,this._trailingValue=null}_next(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(Sbe,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0))}_complete(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}clearThrottle(){const t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)}}function Sbe(n){const{subscriber:t}=n;t.clearThrottle()}const Ebe={loading:!0,preventScroll:!1,contentlets:[],languageId:1,search:"",assetType:null};class Nu extends xE{constructor(t,e){super(Ebe),this.searchService=t,this.dotLanguageService=e,this.vm$=this.select(({contentlets:i,loading:r,preventScroll:o})=>({contentlets:i,loading:r,preventScroll:o})),this.updateContentlets=this.updater((i,r)=>({...i,contentlets:r})),this.updateAssetType=this.updater((i,r)=>({...i,assetType:r})),this.updatelanguageId=this.updater((i,r)=>({...i,languageId:r})),this.updateLoading=this.updater((i,r)=>({...i,loading:r})),this.updatePreventScroll=this.updater((i,r)=>({...i,preventScroll:r})),this.updateSearch=this.updater((i,r)=>({...i,search:r})),this.searchContentlet=this.effect(i=>i.pipe(pn(r=>{this.updateLoading(!0),this.updateSearch(r)}),lf(this.state$),fe(([r,o])=>({...o,search:r})),ri(r=>this.searchContentletsRequest(this.params({...r}),[])))),this.nextBatch=this.effect(i=>i.pipe(lf(this.state$),fe(([r,o])=>({...o,offset:r})),ri(({contentlets:r,...o})=>this.searchContentletsRequest(this.params(o),r)))),this.dotLanguageService.getLanguages().subscribe(i=>{this.languages=i})}searchContentletsRequest(t,e){return this.searchService.get(t).pipe(fe(({jsonObjectView:{contentlets:i}})=>{const r=this.setContentletLanguage(i);return this.updateLoading(!1),this.updatePreventScroll(!i?.length),this.updateContentlets([...e,...r])}))}params({search:t,assetType:e,offset:i=0,languageId:r}){return{query:`+catchall:${t.includes("-")?t:`${t}*`} title:'${t}'^15 +languageId:${r} +baseType:(4 OR 9) +metadata.contenttype:${e||""}/* +deleted:false +working:true`,sortOrder:e0.ASC,limit:20,offset:i}}setContentletLanguage(t){return t.map(e=>({...e,language:this.getLanguage(e.languageId)}))}getLanguage(t){const{languageCode:e,countryCode:i}=this.languages[t];return e&&i?`${e}-${i}`:""}}function xbe(n,t){if(1&n&&(S(0,"div",3),me(1,"dot-contentlet-thumbnail",4),E()),2&n){const e=C();b(1),_("contentlet",e.contentlet)("cover",!1)("iconSize","72px")("showVideoThumbnail",e.showVideoThumbnail)}}function Ibe(n,t){if(1&n&&(S(0,"h2",5),Se(1),E()),2&n){const e=C();b(1),yt((null==e.contentlet?null:e.contentlet.fileName)||(null==e.contentlet?null:e.contentlet.title))}}function Obe(n,t){if(1&n&&(S(0,"div",6)(1,"span",7),Se(2),E(),me(3,"dot-state-icon",8),E()),2&n){const e=C();b(2),yt(e.contentlet.language),b(1),_("state",e.contentlet)}}Nu.\u0275fac=function(t){return new(t||Nu)(F(Wh),F(ql))},Nu.\u0275prov=H({token:Nu,factory:Nu.\u0275fac});class Ug{constructor(t){this.dotMarketingConfigService=t,this.showVideoThumbnail=!0}ngOnInit(){this.showVideoThumbnail=this.dotMarketingConfigService.getProperty(gh.SHOW_VIDEO_THUMBNAIL)}getImage(t){return`/dA/${t}/500w/50q`}getContentletIcon(){return"FILEASSET"!==this.contentlet?.baseType?this.contentlet?.contentTypeIcon:this.contentlet?.__icon__}}Ug.\u0275fac=function(t){return new(t||Ug)(I(Cu))},Ug.\u0275cmp=Ce({type:Ug,selectors:[["dot-asset-card"]],inputs:{contentlet:"contentlet"},decls:4,vars:1,consts:[["pTemplate","header"],["class","title",4,"pTemplate"],["pTemplate","footer"],[1,"thumbnail-container"],[3,"contentlet","cover","iconSize","showVideoThumbnail"],[1,"title"],[1,"state"],[1,"badge"],["size","16px",3,"state"]],template:function(t,e){1&t&&(S(0,"p-card"),D(1,xbe,2,4,"ng-template",0),D(2,Ibe,2,1,"h2",1),D(3,Obe,4,2,"ng-template",2),E()),2&t&&(b(2),_("pTemplate","title"))},dependencies:[gE,Ni],styles:["[_nghost-%COMP%] .p-card{border:none;box-shadow:0 1px 3px var(--color-palette-black-op-10),0 1px 2px var(--color-palette-black-op-20);cursor:pointer;display:flex;gap:1rem;height:94px}[_nghost-%COMP%] .p-card .p-card-header{padding:0;height:94px;width:94px;min-height:94px;min-width:94px;border-radius:.25rem 0 0 .25rem}[_nghost-%COMP%] .p-card .p-card-header .thumbnail-container{padding:10px;width:100%;height:100%;background:#f3f3f4}[_nghost-%COMP%] .p-card .p-card-header .thumbnail-container dot-contentlet-thumbnail{width:100%;height:100%}[_nghost-%COMP%] .p-card .p-card-header .thumbnail-container dot-contentlet-thumbnail img{object-fit:contain;width:100%;height:100%}[_nghost-%COMP%] .p-card .p-card-body{flex-grow:1;display:flex;flex-direction:column;overflow:hidden;padding:.75rem .75rem .75rem 0}[_nghost-%COMP%] .p-card .p-card-body .p-card-title{flex-grow:1}[_nghost-%COMP%] .p-card .p-card-body .p-card-title h2{font-size:16px;line-height:140%;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[_nghost-%COMP%] .state{align-items:center;display:flex;gap:.5rem}[_nghost-%COMP%] .badge{background:var(--color-palette-primary-100);border-radius:.125rem;color:#14151a;font-size:12px;line-height:140%;padding:.2rem .5rem;display:flex;align-items:center}"],changeDetection:0});let Abe=(()=>{class n{constructor(){this.shape="rectangle",this.animation="wave",this.borderRadius=null,this.size=null,this.width="100%",this.height="1rem"}containerClass(){return{"p-skeleton p-component":!0,"p-skeleton-circle":"circle"===this.shape,"p-skeleton-none":"none"===this.animation}}containerStyle(){return this.size?{...this.style,width:this.size,height:this.size,borderRadius:this.borderRadius}:{...this.style,width:this.width,height:this.height,borderRadius:this.borderRadius}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=Ce({type:n,selectors:[["p-skeleton"]],hostAttrs:[1,"p-element"],inputs:{styleClass:"styleClass",style:"style",shape:"shape",animation:"animation",borderRadius:"borderRadius",size:"size",width:"width",height:"height"},decls:1,vars:4,consts:[[3,"ngClass","ngStyle"]],template:function(e,i){1&e&&me(0,"div",0),2&e&&(jt(i.styleClass),_("ngClass",i.containerClass())("ngStyle",i.containerStyle()))},dependencies:[Qn,Ai],styles:['.p-skeleton{position:relative;overflow:hidden}.p-skeleton:after{content:"";animation:p-skeleton-animation 1.2s infinite;height:100%;left:0;position:absolute;right:0;top:0;transform:translate(-100%);z-index:1}.p-skeleton.p-skeleton-circle{border-radius:50%}.p-skeleton-none:after{animation:none}@keyframes p-skeleton-animation{0%{transform:translate(-100%)}to{transform:translate(100%)}}\n'],encapsulation:2,changeDetection:0}),n})(),SV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})();function kbe(n,t){1&n&&me(0,"p-skeleton",3)}function Nbe(n,t){1&n&&(S(0,"div",4),me(1,"p-skeleton",5)(2,"p-skeleton",6),E())}class Hg{}function Pbe(n,t){if(1&n){const e=Ne();S(0,"dot-asset-card",7),se("click",function(){ee(e);const r=C().$implicit;return te(C(2).selectedItem.emit(r[0]))}),E()}2&n&&_("contentlet",C().$implicit[0])}function Lbe(n,t){if(1&n){const e=Ne();S(0,"dot-asset-card",7),se("click",function(){ee(e);const r=C().$implicit;return te(C(2).selectedItem.emit(r[1]))}),E()}2&n&&_("contentlet",C().$implicit[1])}function Rbe(n,t){if(1&n&&(S(0,"div",5),D(1,Pbe,1,1,"dot-asset-card",6),D(2,Lbe,1,1,"dot-asset-card",6),E()),2&n){const e=t.$implicit;b(1),_("ngIf",e[0]),b(1),_("ngIf",e[1])}}function Fbe(n,t){if(1&n){const e=Ne();S(0,"p-scroller",3),se("onScrollIndexChange",function(r){return ee(e),te(C().onScrollIndexChange(r))}),D(1,Rbe,3,2,"ng-template",4),E()}if(2&n){const e=C();_("itemSize",110)("items",e.rows)("lazy",!0)}}function jbe(n,t){1&n&&(S(0,"div",5),me(1,"dot-asset-card-skeleton")(2,"dot-asset-card-skeleton"),E())}function zbe(n,t){if(1&n&&(S(0,"div",8),D(1,jbe,3,0,"div",9),E()),2&n){const e=C();b(1),_("ngForOf",e.loadingItems)}}function Vbe(n,t){if(1&n&&(S(0,"div",10),me(1,"img",11),S(2,"p"),Se(3,"No results found, try searching again"),E()()),2&n){const e=C();b(1),_("src",e.icon,Po)}}Hg.\u0275fac=function(t){return new(t||Hg)},Hg.\u0275cmp=Ce({type:Hg,selectors:[["dot-asset-card-skeleton"]],decls:4,vars:0,consts:[["pTemplate","header"],["height","1rem"],["pTemplate","footer"],["shape","square","size","94px"],[1,"state"],["width","2rem","height","1rem"],["shape","circle","size","16px"]],template:function(t,e){1&t&&(S(0,"p-card"),D(1,kbe,1,0,"ng-template",0),me(2,"p-skeleton",1),D(3,Nbe,3,0,"ng-template",2),E())},dependencies:[gE,Ni,Abe],styles:["[_nghost-%COMP%]{width:100%}[_nghost-%COMP%] .p-card{border:none;box-shadow:0 1px 3px var(--color-palette-black-op-10),0 1px 2px var(--color-palette-black-op-20);cursor:pointer;display:flex;gap:.5rem;height:94px}[_nghost-%COMP%] .p-card .p-card-header{padding:0}[_nghost-%COMP%] .p-card .p-card-body{flex:1;overflow:hidden;padding:.75rem .5rem .75rem 0;display:flex;flex-direction:column}[_nghost-%COMP%] .p-card .p-card-body .p-card-content{flex-grow:1}[_nghost-%COMP%] .state{align-items:center;display:flex;gap:.5rem}"],changeDetection:0});class $g{constructor(){this.nextBatch=new Q,this.selectedItem=new Q,this.done=!1,this.loading=!0,this.loadingItems=[null,null,null],this.icon=Vs("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDEiIHZpZXdCb3g9IjAgMCA0MCA0MSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuMDc2MTcgOC41NTcxMkgwLjA5NTIxNDhWMzYuNDIzOEMwLjA5NTIxNDggMzguNjEzMyAxLjg4NjY0IDQwLjQwNDcgNC4wNzYxNyA0MC40MDQ3SDMxLjk0MjhWMzYuNDIzOEg0LjA3NjE3VjguNTU3MTJaTTM1LjkyMzggMC41OTUyMTVIMTIuMDM4MUM5Ljg0ODU1IDAuNTk1MjE1IDguMDU3MTIgMi4zODY2NCA4LjA1NzEyIDQuNTc2MTdWMjguNDYxOUM4LjA1NzEyIDMwLjY1MTQgOS44NDg1NSAzMi40NDI4IDEyLjAzODEgMzIuNDQyOEgzNS45MjM4QzM4LjExMzMgMzIuNDQyOCAzOS45MDQ3IDMwLjY1MTQgMzkuOTA0NyAyOC40NjE5VjQuNTc2MTdDMzkuOTA0NyAyLjM4NjY0IDM4LjExMzMgMC41OTUyMTUgMzUuOTIzOCAwLjU5NTIxNVpNMzUuOTIzOCAyOC40NjE5SDEyLjAzODFWNC41NzYxN0gzNS45MjM4VjI4LjQ2MTlaTTIxLjk5MDUgMjQuNDgwOUgyNS45NzE0VjE4LjUwOTVIMzEuOTQyOFYxNC41Mjg1SDI1Ljk3MTRWOC41NTcxMkgyMS45OTA1VjE0LjUyODVIMTYuMDE5VjE4LjUwOTVIMjEuOTkwNVYyNC40ODA5WiIgZmlsbD0iIzU3NkJFOCIvPgo8L3N2Zz4K"),this._itemRows=[],this._offset=0}set contentlets(t){this._offset=t?.length||0,this._itemRows=this.createRowItem(t)}get rows(){return[...this._itemRows]}onScrollIndexChange(t){this.done||t.last===this.rows.length&&this.nextBatch.emit(this._offset)}createRowItem(t=[]){const e=[];return t.forEach(i=>{const r=e.length-1;e[r]?.length<2?e[r].push(i):e.push([i])}),e}}$g.\u0275fac=function(t){return new(t||$g)},$g.\u0275cmp=Ce({type:$g,selectors:[["dot-asset-card-list"]],inputs:{done:"done",loading:"loading",contentlets:"contentlets"},outputs:{nextBatch:"nextBatch",selectedItem:"selectedItem"},decls:5,vars:2,consts:[["scrollHeight","20rem",3,"itemSize","items","lazy","onScrollIndexChange",4,"ngIf","ngIfElse"],["loadingBlock",""],["emptyBlock",""],["scrollHeight","20rem",3,"itemSize","items","lazy","onScrollIndexChange"],["pTemplate","item"],[1,"card-list-row"],[3,"contentlet","click",4,"ngIf"],[3,"contentlet","click"],[1,"wrapper","justify-start"],["class","card-list-row",4,"ngFor","ngForOf"],[1,"wrapper"],["width","42px","alt","No results found",3,"src"]],template:function(t,e){if(1&t&&(D(0,Fbe,2,3,"p-scroller",0),D(1,zbe,2,1,"ng-template",null,1,Mn),D(3,Vbe,4,1,"ng-template",null,2,Mn)),2&t){const i=Ht(2),r=Ht(4);_("ngIf",(null==e.rows?null:e.rows.length)&&!e.loading)("ngIfElse",e.loading?i:r)}},dependencies:[Er,zt,Ni,oE,Ug,Hg],styles:["[_nghost-%COMP%]{display:flex;width:100%;height:20rem;flex-direction:column}[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%]{padding:0 2rem;display:flex;align-items:center;justify-content:center;flex-direction:column;flex-grow:1;height:250px;gap:0 1rem;overflow:hidden}[_nghost-%COMP%] .justify-start[_ngcontent-%COMP%]{justify-content:flex-start}[_nghost-%COMP%] p[_ngcontent-%COMP%]{margin:1rem 0;font-size:18px}[_nghost-%COMP%] dot-asset-card, [_nghost-%COMP%] dot-asset-card-skeleton{width:calc(50% - .5rem)}[_nghost-%COMP%] .p-scroller-content{padding:0 2rem;max-width:100%}[_nghost-%COMP%] .card-list-row{display:flex;justify-content:space-between;width:100%;min-height:110px;gap:1rem}"],changeDetection:0});const Bbe=["input"];function Ube(n,t){if(1&n){const e=Ne();tt(0),S(1,"dot-asset-card-list",6),se("selectedItem",function(r){return ee(e),te(C().addAsset.emit(r))})("nextBatch",function(r){return ee(e),te(C().offset$.next(r))}),E(),nt()}if(2&n){const e=t.ngIf;b(1),_("contentlets",e.contentlets)("done",e.preventScroll)("loading",e.loading)}}class Wg{constructor(t){this.store=t,this.addAsset=new Q,this.vm$=this.store.vm$,this.offset$=new Jr(0),this.destroy$=new ue}set languageId(t){this.store.updatelanguageId(t)}set type(t){this.store.updateAssetType(t)}ngOnInit(){this.store.searchContentlet(""),this.offset$.pipe(yn(this.destroy$),B0(1),function Tbe(n,t=Xd,e=MV){return i=>i.lift(new Dbe(n,t,e.leading,e.trailing))}(450)).subscribe(this.store.nextBatch),requestAnimationFrame(()=>this.input.nativeElement.focus())}ngAfterViewInit(){xv(this.input.nativeElement,"input").pipe(yn(this.destroy$),th(450)).subscribe(({target:t})=>{this.store.searchContentlet(t.value)})}ngOnDestroy(){this.destroy$.next(!0)}}Wg.\u0275fac=function(t){return new(t||Wg)(I(Nu))},Wg.\u0275cmp=Ce({type:Wg,selectors:[["dot-asset-search"]],viewQuery:function(t,e){if(1&t&&Mt(Bbe,5),2&t){let i;Ve(i=Be())&&(e.input=i.first)}},inputs:{languageId:"languageId",type:"type"},outputs:{addAsset:"addAsset"},features:[Pt([Nu])],decls:8,vars:3,consts:[[1,"search-box"],[1,"p-input-icon-right"],["autofocus","","type","text","pInputText","","placeholder","Search",1,"search"],["input",""],[1,"pi","pi-search"],[4,"ngIf"],[3,"contentlets","done","loading","selectedItem","nextBatch"]],template:function(t,e){1&t&&(tt(0),S(1,"div",0)(2,"span",1),me(3,"input",2,3)(5,"i",4),E()(),nt(),D(6,Ube,2,3,"ng-container",5),Yn(7,"async")),2&t&&(b(6),_("ngIf",qn(7,1,e.vm$)))},dependencies:[zt,Eg,$g,L_],styles:["[_nghost-%COMP%]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column}.search-box[_ngcontent-%COMP%]{padding:0 2rem;flex-grow:1;display:flex;align-items:center}.search-box[_ngcontent-%COMP%], .search-box[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .search-box[_ngcontent-%COMP%] .search[_ngcontent-%COMP%]{width:100%}"],changeDetection:0});const Hbe=n=>{switch(n.target.error.code){case n.target.error.MEDIA_ERR_ABORTED:return"You aborted the video playback.";case n.target.error.MEDIA_ERR_NETWORK:return"A network error caused the video download to fail part-way.";case n.target.error.MEDIA_ERR_DECODE:return'Video playback aborted due to browser compatibility issues. Try a different browser or visit MDN Video Support for more information.';case n.target.error.MEDIA_ERR_SRC_NOT_SUPPORTED:return'Invalid URL. Please provide a URL to a .mp4, .webm, .ogv video file, or a YouTube video link. For more info on supported video formats and containers, visit MDN Video Format Support.';default:return'An unknown error occurred. Please contact support'}},$be=["input"],Gbe=/(youtube\.com\/watch\?v=.*)|(youtu\.be\/.*)/;class Gg{constructor(t,e){this.fb=t,this.cd=e,this.addAsset=new Q,this.disableAction=!1,this.form=this.fb.group({url:["",[$d.required,$d.pattern("^((http|https)://)[-a-zA-Z0-9@:%._\\+~#?&//=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:%._\\+~#?&//=]*)$")]]}),this.form.valueChanges.subscribe(({url:i})=>{this.disableAction=!1,"video"===this.type&&!this.isInvalid&&!i.match(Gbe)&&this.tryToPlayVideo(i)}),requestAnimationFrame(()=>this.input.nativeElement.focus())}get placerHolder(){return"https://example.com/"+("video"===this.type?"video.mp4":"image.jpg")}get error(){return this.form.controls.url?.errors?.message||""}get isInvalid(){return this.form.controls.url?.invalid}onSubmit({url:t}){this.addAsset.emit(t)}tryToPlayVideo(t){const e=document.createElement("video");this.disableAction=!0,e.addEventListener("error",i=>{this.form.controls.url.setErrors({message:Hbe(i)}),this.cd.detectChanges()}),e.addEventListener("canplay",()=>{this.form.controls.url.setErrors(null),this.disableAction=!1,this.cd.detectChanges()}),e.src=`${t}#t=0.1`}}Gg.\u0275fac=function(t){return new(t||Gg)(I(lv),I(In))},Gg.\u0275cmp=Ce({type:Gg,selectors:[["dot-external-asset"]],viewQuery:function(t,e){if(1&t&&Mt($be,5),2&t){let i;Ve(i=Be())&&(e.input=i.first)}},inputs:{type:"type"},outputs:{addAsset:"addAsset"},decls:10,vars:7,consts:[[1,"wrapper",3,"formGroup","ngSubmit"],[1,"form-control"],["dotFieldRequired","","for","url"],["id","url","formControlName","url","autocomplete","off","type","text","pInputText","",3,"placeholder"],["input",""],[1,"footer"],[1,"error-message",3,"innerHTML"],["type","submit","pButton","",3,"disabled"]],template:function(t,e){1&t&&(S(0,"form",0),se("ngSubmit",function(){return e.onSubmit(e.form.value)}),S(1,"div",1)(2,"label",2),Se(3),E(),me(4,"input",3,4),E(),S(6,"div",5),me(7,"span",6),S(8,"button",7),Se(9,"Insert"),E()()()),2&t&&(_("formGroup",e.form),b(3),ji("Insert ",e.type," URL"),b(1),_("placeholder",e.placerHolder),b(3),Wr("hide",!e.isInvalid||e.form.pristine),_("innerHTML",e.error||"Enter a valid url",Dc),b(1),_("disabled",e.form.invalid||e.disableAction))},dependencies:[Qd,pl,Rc,Wd,Aa,Fc,Qr,Eg],styles:["[_nghost-%COMP%]{width:100%}.wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:flex-end;flex-direction:column;padding:2rem;gap:1rem}.form-control[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;gap:.75rem}.footer[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}.error-message[_ngcontent-%COMP%]{color:#d82b2e;font-size:.813rem;text-align:left;max-width:30rem}.hide[_ngcontent-%COMP%]{visibility:hidden}"],changeDetection:0});const Ybe=xp("shakeit",[oL("shakestart",mi({transform:"scale(1.1)"})),oL("shakeend",mi({transform:"scale(1)"})),Pa("shakestart => shakeend",Na("1000ms ease-in",function _K(n){return{type:5,steps:n}}([mi({transform:"translate3d(-2px, 0, 0)",offset:.1}),mi({transform:"translate3d(4px, 0, 0)",offset:.2}),mi({transform:"translate3d(-4px, 0, 0)",offset:.3}),mi({transform:"translate3d(4px, 0, 0)",offset:.4}),mi({transform:"translate3d(-4px, 0, 0)",offset:.5}),mi({transform:"translate3d(4px, 0, 0)",offset:.6}),mi({transform:"translate3d(-4px, 0, 0)",offset:.7}),mi({transform:"translate3d(4px, 0, 0)",offset:.8}),mi({transform:"translate3d(-2px, 0, 0)",offset:.9})])))]);function qbe(n,t){1&n&&me(0,"span",11),2&n&&_("innerHTML",C(2).$implicit.summary,Dc)}function Kbe(n,t){1&n&&me(0,"span",12),2&n&&_("innerHTML",C(2).$implicit.detail,Dc)}function Qbe(n,t){if(1&n&&(tt(0),D(1,qbe,1,1,"span",9),D(2,Kbe,1,1,"span",10),nt()),2&n){const e=C().$implicit;b(1),_("ngIf",e.summary),b(1),_("ngIf",e.detail)}}function Zbe(n,t){if(1&n&&(S(0,"span",15),Se(1),E()),2&n){const e=C(2).$implicit;b(1),yt(e.summary)}}function Jbe(n,t){if(1&n&&(S(0,"span",16),Se(1),E()),2&n){const e=C(2).$implicit;b(1),yt(e.detail)}}function Xbe(n,t){if(1&n&&(D(0,Zbe,2,1,"span",13),D(1,Jbe,2,1,"span",14)),2&n){const e=C().$implicit;_("ngIf",e.summary),b(1),_("ngIf",e.detail)}}function e0e(n,t){if(1&n){const e=Ne();S(0,"button",17),se("click",function(){ee(e);const r=C().index;return te(C(2).removeMessage(r))}),me(1,"i",18),E()}}const t0e=function(n,t){return{showTransitionParams:n,hideTransitionParams:t}},n0e=function(n){return{value:"visible",params:n}},i0e=function(n,t,e,i){return{"pi-info-circle":n,"pi-check":t,"pi-exclamation-triangle":e,"pi-times-circle":i}};function r0e(n,t){if(1&n&&(S(0,"div",4)(1,"div",5),me(2,"span",6),D(3,Qbe,3,2,"ng-container",1),D(4,Xbe,2,2,"ng-template",null,7,Mn),D(6,e0e,2,0,"button",8),E()()),2&n){const e=t.$implicit,i=Ht(5),r=C(2);jt("p-message p-message-"+e.severity),_("@messageAnimation",it(12,n0e,Fn(9,t0e,r.showTransitionOptions,r.hideTransitionOptions))),b(2),jt("p-message-icon pi"+(e.icon?" "+e.icon:"")),_("ngClass",zd(14,i0e,"info"===e.severity,"success"===e.severity,"warn"===e.severity,"error"===e.severity)),b(1),_("ngIf",!r.escape)("ngIfElse",i),b(3),_("ngIf",r.closable)}}function o0e(n,t){if(1&n&&(tt(0),D(1,r0e,7,19,"div",3),nt()),2&n){const e=C();b(1),_("ngForOf",e.messages)}}function s0e(n,t){1&n&&Je(0)}function a0e(n,t){if(1&n&&(S(0,"div",19)(1,"div",5),D(2,s0e,1,0,"ng-container",20),E()()),2&n){const e=C();_("ngClass","p-message p-message-"+e.severity),b(2),_("ngTemplateOutlet",e.contentTemplate)}}let l0e=(()=>{class n{constructor(e,i,r){this.messageService=e,this.el=i,this.cd=r,this.closable=!0,this.enableService=!0,this.escape=!0,this.showTransitionOptions="300ms ease-out",this.hideTransitionOptions="200ms cubic-bezier(0.86, 0, 0.07, 1)",this.valueChange=new Q,this.timerSubscriptions=[]}set value(e){this.messages=e,this.startMessageLifes(this.messages)}ngAfterContentInit(){this.templates.forEach(e=>{e.getType(),this.contentTemplate=e.template}),this.messageService&&this.enableService&&!this.contentTemplate&&(this.messageSubscription=this.messageService.messageObserver.subscribe(e=>{if(e){e instanceof Array||(e=[e]);const i=e.filter(r=>this.key===r.key);this.messages=this.messages?[...this.messages,...i]:[...i],this.startMessageLifes(i),this.cd.markForCheck()}}),this.clearSubscription=this.messageService.clearObserver.subscribe(e=>{e?this.key===e&&(this.messages=null):this.messages=null,this.cd.markForCheck()}))}hasMessages(){let e=this.el.nativeElement.parentElement;return!(!e||!e.offsetParent)&&(null!=this.contentTemplate||this.messages&&this.messages.length>0)}clear(){this.messages=[],this.valueChange.emit(this.messages)}removeMessage(e){this.messages=this.messages.filter((i,r)=>r!==e),this.valueChange.emit(this.messages)}get icon(){const e=this.severity||(this.hasMessages()?this.messages[0].severity:null);if(this.hasMessages())switch(e){case"success":return"pi-check";case"info":default:return"pi-info-circle";case"error":return"pi-times";case"warn":return"pi-exclamation-triangle"}return null}ngOnDestroy(){this.messageSubscription&&this.messageSubscription.unsubscribe(),this.clearSubscription&&this.clearSubscription.unsubscribe(),this.timerSubscriptions?.forEach(e=>e.unsubscribe())}startMessageLifes(e){e?.forEach(i=>i.life&&this.startMessageLife(i))}startMessageLife(e){const i=sR(e.life).subscribe(()=>{this.messages=this.messages?.filter(r=>r!==e),this.timerSubscriptions=this.timerSubscriptions?.filter(r=>r!==i),this.valueChange.emit(this.messages),this.cd.markForCheck()});this.timerSubscriptions.push(i)}}return n.\u0275fac=function(e){return new(e||n)(I(vZ,8),I(Dt),I(In))},n.\u0275cmp=Ce({type:n,selectors:[["p-messages"]],contentQueries:function(e,i,r){if(1&e&&Kn(r,Ni,4),2&e){let o;Ve(o=Be())&&(i.templates=o)}},hostAttrs:[1,"p-element"],inputs:{value:"value",closable:"closable",style:"style",styleClass:"styleClass",enableService:"enableService",key:"key",escape:"escape",severity:"severity",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions"},outputs:{valueChange:"valueChange"},decls:4,vars:5,consts:[["role","alert",1,"p-messages","p-component",3,"ngStyle"],[4,"ngIf","ngIfElse"],["staticMessage",""],["role","alert",3,"class",4,"ngFor","ngForOf"],["role","alert"],[1,"p-message-wrapper"],[3,"ngClass"],["escapeOut",""],["class","p-message-close p-link","type","button","pRipple","",3,"click",4,"ngIf"],["class","p-message-summary",3,"innerHTML",4,"ngIf"],["class","p-message-detail",3,"innerHTML",4,"ngIf"],[1,"p-message-summary",3,"innerHTML"],[1,"p-message-detail",3,"innerHTML"],["class","p-message-summary",4,"ngIf"],["class","p-message-detail",4,"ngIf"],[1,"p-message-summary"],[1,"p-message-detail"],["type","button","pRipple","",1,"p-message-close","p-link",3,"click"],[1,"p-message-close-icon","pi","pi-times"],["role","alert",3,"ngClass"],[4,"ngTemplateOutlet"]],template:function(e,i){if(1&e&&(S(0,"div",0),D(1,o0e,2,1,"ng-container",1),D(2,a0e,3,2,"ng-template",null,2,Mn),E()),2&e){const r=Ht(3);jt(i.styleClass),_("ngStyle",i.style),b(1),_("ngIf",!i.contentTemplate)("ngIfElse",r)}},dependencies:[Qn,Er,zt,qr,Ai,wl],styles:[".p-message-wrapper{display:flex;align-items:center}.p-message-close{display:flex;align-items:center;justify-content:center}.p-message-close.p-link{margin-left:auto;overflow:hidden;position:relative}.p-messages .p-message.ng-animating{overflow:hidden}\n"],encapsulation:2,data:{animation:[xp("messageAnimation",[Pa(":enter",[mi({opacity:0,transform:"translateY(-25%)"}),Na("{{showTransitionParams}}")]),Pa(":leave",[Na("{{hideTransitionParams}}",mi({height:0,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,opacity:0}))])])]},changeDetection:0}),n})(),EV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn,Ra]}),n})();function c0e(n,t){if(1&n&&(S(0,"div",5),Se(1),E()),2&n){const e=C(2);cl("display",null!=e.value&&0!==e.value?"flex":"none"),b(1),d_("",e.value,"",e.unit,"")}}function u0e(n,t){if(1&n&&(S(0,"div",3),D(1,c0e,2,4,"div",4),E()),2&n){const e=C();cl("width",e.value+"%")("background",e.color),b(1),_("ngIf",e.showValue)}}function d0e(n,t){if(1&n&&(S(0,"div",6),me(1,"div",7),E()),2&n){const e=C();b(1),cl("background",e.color)}}const h0e=function(n,t){return{"p-progressbar p-component":!0,"p-progressbar-determinate":n,"p-progressbar-indeterminate":t}};let f0e=(()=>{class n{constructor(){this.showValue=!0,this.unit="%",this.mode="determinate"}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=Ce({type:n,selectors:[["p-progressBar"]],hostAttrs:[1,"p-element"],inputs:{value:"value",showValue:"showValue",style:"style",styleClass:"styleClass",unit:"unit",mode:"mode",color:"color"},decls:3,vars:10,consts:[["role","progressbar","aria-valuemin","0","aria-valuemax","100",3,"ngStyle","ngClass"],["class","p-progressbar-value p-progressbar-value-animate","style","display:flex",3,"width","background",4,"ngIf"],["class","p-progressbar-indeterminate-container",4,"ngIf"],[1,"p-progressbar-value","p-progressbar-value-animate",2,"display","flex"],["class","p-progressbar-label",3,"display",4,"ngIf"],[1,"p-progressbar-label"],[1,"p-progressbar-indeterminate-container"],[1,"p-progressbar-value","p-progressbar-value-animate"]],template:function(e,i){1&e&&(S(0,"div",0),D(1,u0e,2,5,"div",1),D(2,d0e,2,2,"div",2),E()),2&e&&(jt(i.styleClass),_("ngStyle",i.style)("ngClass",Fn(7,h0e,"determinate"===i.mode,"indeterminate"===i.mode)),Ct("aria-valuenow",i.value),b(1),_("ngIf","determinate"===i.mode),b(1),_("ngIf","indeterminate"===i.mode))},dependencies:[Qn,zt,Ai],styles:['.p-progressbar{position:relative;overflow:hidden}.p-progressbar-determinate .p-progressbar-value{height:100%;width:0%;position:absolute;display:none;border:0 none;display:flex;align-items:center;justify-content:center;overflow:hidden}.p-progressbar-determinate .p-progressbar-label{display:inline-flex}.p-progressbar-determinate .p-progressbar-value-animate{transition:width 1s ease-in-out}.p-progressbar-indeterminate .p-progressbar-value:before{content:"";position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;animation:p-progressbar-indeterminate-anim 2.1s cubic-bezier(.65,.815,.735,.395) infinite}.p-progressbar-indeterminate .p-progressbar-value:after{content:"";position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;animation:p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(.165,.84,.44,1) infinite;animation-delay:1.15s}@keyframes p-progressbar-indeterminate-anim{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@keyframes p-progressbar-indeterminate-anim-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}\n'],encapsulation:2,changeDetection:0}),n})(),xV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn]}),n})();const p0e=["advancedfileinput"],m0e=["basicfileinput"],g0e=["content"];function y0e(n,t){if(1&n){const e=Ne();S(0,"p-button",17),se("onClick",function(){return ee(e),te(C(2).upload())}),E()}if(2&n){const e=C(2);_("label",e.uploadButtonLabel)("icon",e.uploadIcon)("disabled",!e.hasFiles()||e.isFileLimitExceeded())("styleClass",e.uploadStyleClass)}}function _0e(n,t){if(1&n){const e=Ne();S(0,"p-button",17),se("onClick",function(){return ee(e),te(C(2).clear())}),E()}if(2&n){const e=C(2);_("label",e.cancelButtonLabel)("icon",e.cancelIcon)("disabled",!e.hasFiles()||e.uploading)("styleClass",e.cancelStyleClass)}}function v0e(n,t){1&n&&Je(0)}function b0e(n,t){1&n&&me(0,"p-progressBar",18),2&n&&_("value",C(2).progress)("showValue",!1)}function C0e(n,t){if(1&n){const e=Ne();S(0,"img",26),se("error",function(r){return ee(e),te(C(5).imageError(r))}),E()}if(2&n){const e=C().$implicit,i=C(4);_("src",e.objectURL,Po)("width",i.previewWidth)}}function w0e(n,t){if(1&n){const e=Ne();S(0,"div",22)(1,"div"),D(2,C0e,1,2,"img",23),E(),S(3,"div",24),Se(4),E(),S(5,"div"),Se(6),E(),S(7,"div")(8,"button",25),se("click",function(r){const s=ee(e).index;return te(C(4).remove(r,s))}),E()()()}if(2&n){const e=t.$implicit,i=C(4);b(2),_("ngIf",i.isImage(e)),b(2),yt(e.name),b(2),yt(i.formatSize(e.size)),b(2),jt(i.removeStyleClass),_("disabled",i.uploading)}}function T0e(n,t){if(1&n&&(S(0,"div"),D(1,w0e,9,6,"div",21),E()),2&n){const e=C(3);b(1),_("ngForOf",e.files)}}function D0e(n,t){}function M0e(n,t){if(1&n&&(S(0,"div"),D(1,D0e,0,0,"ng-template",27),E()),2&n){const e=C(3);b(1),_("ngForOf",e.files)("ngForTemplate",e.fileTemplate)}}function S0e(n,t){if(1&n&&(S(0,"div",19),D(1,T0e,2,1,"div",20),D(2,M0e,2,2,"div",20),E()),2&n){const e=C(2);b(1),_("ngIf",!e.fileTemplate),b(1),_("ngIf",e.fileTemplate)}}function E0e(n,t){1&n&&Je(0)}const x0e=function(n,t){return{"p-focus":n,"p-disabled":t}},I0e=function(n){return{$implicit:n}};function O0e(n,t){if(1&n){const e=Ne();S(0,"div",2)(1,"div",3)(2,"span",4),se("focus",function(){return ee(e),te(C().onFocus())})("blur",function(){return ee(e),te(C().onBlur())})("click",function(){return ee(e),te(C().choose())})("keydown.enter",function(){return ee(e),te(C().choose())}),S(3,"input",5,6),se("change",function(r){return ee(e),te(C().onFileSelect(r))}),E(),me(5,"span",7),S(6,"span",8),Se(7),E()(),D(8,y0e,1,4,"p-button",9),D(9,_0e,1,4,"p-button",9),D(10,v0e,1,0,"ng-container",10),E(),S(11,"div",11,12),se("dragenter",function(r){return ee(e),te(C().onDragEnter(r))})("dragleave",function(r){return ee(e),te(C().onDragLeave(r))})("drop",function(r){return ee(e),te(C().onDrop(r))}),D(13,b0e,1,2,"p-progressBar",13),me(14,"p-messages",14),D(15,S0e,3,2,"div",15),D(16,E0e,1,0,"ng-container",16),E()()}if(2&n){const e=C();jt(e.styleClass),_("ngClass","p-fileupload p-fileupload-advanced p-component")("ngStyle",e.style),b(2),jt(e.chooseStyleClass),_("ngClass",Fn(24,x0e,e.focus,e.disabled||e.isChooseDisabled())),b(1),_("multiple",e.multiple)("accept",e.accept)("disabled",e.disabled||e.isChooseDisabled()),Ct("title",""),b(2),jt(e.chooseIcon),_("ngClass","p-button-icon p-button-icon-left"),b(2),yt(e.chooseButtonLabel),b(1),_("ngIf",!e.auto&&e.showUploadButton),b(1),_("ngIf",!e.auto&&e.showCancelButton),b(1),_("ngTemplateOutlet",e.toolbarTemplate),b(3),_("ngIf",e.hasFiles()),b(1),_("value",e.msgs)("enableService",!1),b(1),_("ngIf",e.hasFiles()),b(1),_("ngTemplateOutlet",e.contentTemplate)("ngTemplateOutletContext",it(27,I0e,e.files))}}function A0e(n,t){if(1&n&&(S(0,"span",8),Se(1),E()),2&n){const e=C(2);b(1),yt(e.basicButtonLabel)}}function k0e(n,t){if(1&n){const e=Ne();S(0,"input",33,34),se("change",function(r){return ee(e),te(C(2).onFileSelect(r))})("focus",function(){return ee(e),te(C(2).onFocus())})("blur",function(){return ee(e),te(C(2).onBlur())}),E()}if(2&n){const e=C(2);_("accept",e.accept)("multiple",e.multiple)("disabled",e.disabled)}}const N0e=function(n,t,e,i){return{"p-button p-component p-fileupload-choose":!0,"p-button-icon-only":n,"p-fileupload-choose-selected":t,"p-focus":e,"p-disabled":i}};function P0e(n,t){if(1&n){const e=Ne();S(0,"div",28),me(1,"p-messages",14),S(2,"span",29),se("mouseup",function(){return ee(e),te(C().onBasicUploaderClick())})("keydown",function(r){return ee(e),te(C().onBasicKeydown(r))}),me(3,"span",30),D(4,A0e,2,1,"span",31),D(5,k0e,2,3,"input",32),E()()}if(2&n){const e=C();b(1),_("value",e.msgs)("enableService",!1),b(1),jt(e.styleClass),_("ngClass",zd(9,N0e,!e.basicButtonLabel,e.hasFiles(),e.focus,e.disabled))("ngStyle",e.style),b(1),_("ngClass",e.hasFiles()&&!e.auto?e.uploadIcon:e.chooseIcon),b(1),_("ngIf",e.basicButtonLabel),b(1),_("ngIf",!e.hasFiles())}}let L0e=(()=>{class n{constructor(e,i,r,o,s,a){this.el=e,this.sanitizer=i,this.zone=r,this.http=o,this.cd=s,this.config=a,this.method="post",this.invalidFileSizeMessageSummary="{0}: Invalid file size, ",this.invalidFileSizeMessageDetail="maximum upload size is {0}.",this.invalidFileTypeMessageSummary="{0}: Invalid file type, ",this.invalidFileTypeMessageDetail="allowed file types: {0}.",this.invalidFileLimitMessageDetail="limit is {0} at most.",this.invalidFileLimitMessageSummary="Maximum number of files exceeded, ",this.previewWidth=50,this.chooseIcon="pi pi-plus",this.uploadIcon="pi pi-upload",this.cancelIcon="pi pi-times",this.showUploadButton=!0,this.showCancelButton=!0,this.mode="advanced",this.onBeforeUpload=new Q,this.onSend=new Q,this.onUpload=new Q,this.onError=new Q,this.onClear=new Q,this.onRemove=new Q,this.onSelect=new Q,this.onProgress=new Q,this.uploadHandler=new Q,this.onImageError=new Q,this._files=[],this.progress=0,this.uploadedFileCount=0}set files(e){this._files=[];for(let i=0;i{switch(e.getType()){case"file":default:this.fileTemplate=e.template;break;case"content":this.contentTemplate=e.template;break;case"toolbar":this.toolbarTemplate=e.template}})}ngOnInit(){this.translationSubscription=this.config.translationObserver.subscribe(()=>{this.cd.markForCheck()})}ngAfterViewInit(){"advanced"===this.mode&&this.zone.runOutsideAngular(()=>{this.content&&this.content.nativeElement.addEventListener("dragover",this.onDragOver.bind(this))})}choose(){this.advancedFileInput.nativeElement.click()}onFileSelect(e){if("drop"!==e.type&&this.isIE11()&&this.duplicateIEEvent)return void(this.duplicateIEEvent=!1);this.msgs=[],this.multiple||(this.files=[]);let i=e.dataTransfer?e.dataTransfer.files:e.target.files;for(let r=0;rthis.maxFileSize&&(this.msgs.push({severity:"error",summary:this.invalidFileSizeMessageSummary.replace("{0}",e.name),detail:this.invalidFileSizeMessageDetail.replace("{0}",this.formatSize(this.maxFileSize))}),1))}isFileTypeValid(e){let i=this.accept.split(",").map(r=>r.trim());for(let r of i)if(this.isWildcard(r)?this.getTypeClass(e.type)===this.getTypeClass(r):e.type==r||this.getFileExtension(e).toLowerCase()===r.toLowerCase())return!0;return!1}getTypeClass(e){return e.substring(0,e.indexOf("/"))}isWildcard(e){return-1!==e.indexOf("*")}getFileExtension(e){return"."+e.name.split(".").pop()}isImage(e){return/^image\//.test(e.type)}onImageLoad(e){window.URL.revokeObjectURL(e.src)}upload(){if(this.customUpload)this.fileLimit&&(this.uploadedFileCount+=this.files.length),this.uploadHandler.emit({files:this.files}),this.cd.markForCheck();else{this.uploading=!0,this.msgs=[];let e=new FormData;this.onBeforeUpload.emit({formData:e});for(let i=0;i{switch(i.type){case Nn.Sent:this.onSend.emit({originalEvent:i,formData:e});break;case Nn.Response:this.uploading=!1,this.progress=0,i.status>=200&&i.status<300?(this.fileLimit&&(this.uploadedFileCount+=this.files.length),this.onUpload.emit({originalEvent:i,files:this.files})):this.onError.emit({files:this.files}),this.clear();break;case Nn.UploadProgress:i.loaded&&(this.progress=Math.round(100*i.loaded/i.total)),this.onProgress.emit({originalEvent:i,progress:this.progress})}this.cd.markForCheck()},i=>{this.uploading=!1,this.onError.emit({files:this.files,error:i})})}}clear(){this.files=[],this.onClear.emit(),this.clearInputElement(),this.cd.markForCheck()}remove(e,i){this.clearInputElement(),this.onRemove.emit({originalEvent:e,file:this.files[i]}),this.files.splice(i,1),this.checkFileLimit()}isFileLimitExceeded(){return this.fileLimit&&this.fileLimit<=this.files.length+this.uploadedFileCount&&this.focus&&(this.focus=!1),this.fileLimit&&this.fileLimit0}onDragEnter(e){this.disabled||(e.stopPropagation(),e.preventDefault())}onDragOver(e){this.disabled||(q.addClass(this.content.nativeElement,"p-fileupload-highlight"),this.dragHighlight=!0,e.stopPropagation(),e.preventDefault())}onDragLeave(e){this.disabled||q.removeClass(this.content.nativeElement,"p-fileupload-highlight")}onDrop(e){if(!this.disabled){q.removeClass(this.content.nativeElement,"p-fileupload-highlight"),e.stopPropagation(),e.preventDefault();let i=e.dataTransfer?e.dataTransfer.files:e.target.files;(this.multiple||i&&1===i.length)&&this.onFileSelect(e)}}onFocus(){this.focus=!0}onBlur(){this.focus=!1}formatSize(e){if(0==e)return"0 B";let s=Math.floor(Math.log(e)/Math.log(1e3));return parseFloat((e/Math.pow(1e3,s)).toFixed(3))+" "+["B","KB","MB","GB","TB","PB","EB","ZB","YB"][s]}onBasicUploaderClick(){this.hasFiles()?this.upload():this.basicFileInput.nativeElement.click()}onBasicKeydown(e){switch(e.code){case"Space":case"Enter":this.onBasicUploaderClick(),e.preventDefault()}}imageError(e){this.onImageError.emit(e)}getBlockableElement(){return this.el.nativeElement.children[0]}get chooseButtonLabel(){return this.chooseLabel||this.config.getTranslation(Cl.CHOOSE)}get uploadButtonLabel(){return this.uploadLabel||this.config.getTranslation(Cl.UPLOAD)}get cancelButtonLabel(){return this.cancelLabel||this.config.getTranslation(Cl.CANCEL)}ngOnDestroy(){this.content&&this.content.nativeElement&&this.content.nativeElement.removeEventListener("dragover",this.onDragOver),this.translationSubscription&&this.translationSubscription.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(I(Dt),I(B_),I(Yt),I(Ki),I(In),I(bl))},n.\u0275cmp=Ce({type:n,selectors:[["p-fileUpload"]],contentQueries:function(e,i,r){if(1&e&&Kn(r,Ni,4),2&e){let o;Ve(o=Be())&&(i.templates=o)}},viewQuery:function(e,i){if(1&e&&(Mt(p0e,5),Mt(m0e,5),Mt(g0e,5)),2&e){let r;Ve(r=Be())&&(i.advancedFileInput=r.first),Ve(r=Be())&&(i.basicFileInput=r.first),Ve(r=Be())&&(i.content=r.first)}},hostAttrs:[1,"p-element"],inputs:{name:"name",url:"url",method:"method",multiple:"multiple",accept:"accept",disabled:"disabled",auto:"auto",withCredentials:"withCredentials",maxFileSize:"maxFileSize",invalidFileSizeMessageSummary:"invalidFileSizeMessageSummary",invalidFileSizeMessageDetail:"invalidFileSizeMessageDetail",invalidFileTypeMessageSummary:"invalidFileTypeMessageSummary",invalidFileTypeMessageDetail:"invalidFileTypeMessageDetail",invalidFileLimitMessageDetail:"invalidFileLimitMessageDetail",invalidFileLimitMessageSummary:"invalidFileLimitMessageSummary",style:"style",styleClass:"styleClass",previewWidth:"previewWidth",chooseLabel:"chooseLabel",uploadLabel:"uploadLabel",cancelLabel:"cancelLabel",chooseIcon:"chooseIcon",uploadIcon:"uploadIcon",cancelIcon:"cancelIcon",showUploadButton:"showUploadButton",showCancelButton:"showCancelButton",mode:"mode",headers:"headers",customUpload:"customUpload",fileLimit:"fileLimit",uploadStyleClass:"uploadStyleClass",cancelStyleClass:"cancelStyleClass",removeStyleClass:"removeStyleClass",chooseStyleClass:"chooseStyleClass",files:"files"},outputs:{onBeforeUpload:"onBeforeUpload",onSend:"onSend",onUpload:"onUpload",onError:"onError",onClear:"onClear",onRemove:"onRemove",onSelect:"onSelect",onProgress:"onProgress",uploadHandler:"uploadHandler",onImageError:"onImageError"},decls:2,vars:2,consts:[[3,"ngClass","ngStyle","class",4,"ngIf"],["class","p-fileupload p-fileupload-basic p-component",4,"ngIf"],[3,"ngClass","ngStyle"],[1,"p-fileupload-buttonbar"],["pRipple","","tabindex","0",1,"p-button","p-component","p-fileupload-choose",3,"ngClass","focus","blur","click","keydown.enter"],["type","file",3,"multiple","accept","disabled","change"],["advancedfileinput",""],[3,"ngClass"],[1,"p-button-label"],["type","button",3,"label","icon","disabled","styleClass","onClick",4,"ngIf"],[4,"ngTemplateOutlet"],[1,"p-fileupload-content",3,"dragenter","dragleave","drop"],["content",""],[3,"value","showValue",4,"ngIf"],[3,"value","enableService"],["class","p-fileupload-files",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["type","button",3,"label","icon","disabled","styleClass","onClick"],[3,"value","showValue"],[1,"p-fileupload-files"],[4,"ngIf"],["class","p-fileupload-row",4,"ngFor","ngForOf"],[1,"p-fileupload-row"],[3,"src","width","error",4,"ngIf"],[1,"p-fileupload-filename"],["type","button","icon","pi pi-times","pButton","",3,"disabled","click"],[3,"src","width","error"],["ngFor","",3,"ngForOf","ngForTemplate"],[1,"p-fileupload","p-fileupload-basic","p-component"],["tabindex","0","pRipple","",3,"ngClass","ngStyle","mouseup","keydown"],[1,"p-button-icon","p-button-icon-left","pi",3,"ngClass"],["class","p-button-label",4,"ngIf"],["type","file",3,"accept","multiple","disabled","change","focus","blur",4,"ngIf"],["type","file",3,"accept","multiple","disabled","change","focus","blur"],["basicfileinput",""]],template:function(e,i){1&e&&(D(0,O0e,17,29,"div",0),D(1,P0e,6,14,"div",1)),2&e&&(_("ngIf","advanced"===i.mode),b(1),_("ngIf","basic"===i.mode))},dependencies:[Qn,Er,zt,qr,Ai,Qr,eR,f0e,l0e,wl],styles:[".p-fileupload-content{position:relative}.p-fileupload-row{display:flex;align-items:center}.p-fileupload-row>div{flex:1 1 auto;width:25%}.p-fileupload-row>div:last-child{text-align:right}.p-fileupload-content .p-progressbar{width:100%;position:absolute;top:0;left:0}.p-button.p-fileupload-choose{position:relative;overflow:hidden}.p-button.p-fileupload-choose input[type=file],.p-fileupload-choose.p-fileupload-choose-selected input[type=file]{display:none}.p-fluid .p-fileupload .p-button{width:auto}.p-fileupload-filename{word-break:break-all}\n"],encapsulation:2,changeDetection:0}),n})(),IV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn,Uo,wo,xV,EV,Ra,Uo,wo,xV,EV]}),n})();function R0e(n,t){if(1&n&&(tt(0),me(1,"img",3),nt()),2&n){const e=C();b(1),_("src",e.src||e.file.objectURL,Po)("alt",e.file.name)}}function F0e(n,t){if(1&n&&(tt(0),S(1,"video",4),me(2,"source",5),E(),nt()),2&n){const e=C();b(2),_("src",e.src||e.file.objectURL,Po)}}function j0e(n,t){1&n&&(S(0,"p"),Se(1,"Select an accepted asset type"),E())}class Yg{}function z0e(n,t){if(1&n){const e=Ne();S(0,"p-fileUpload",2),se("onSelect",function(r){return ee(e),te(C().onSelectFile(r.files))}),E()}2&n&&_("accept",C().type+"/*")("customUpload",!0)}function V0e(n,t){if(1&n&&me(0,"dot-asset-preview",11),2&n){const e=C(2);_("type",e.type)("file",e.file)("src",e.src)}}function B0e(n,t){if(1&n&&(S(0,"span",13),Se(1),E()),2&n){const e=C(3);b(1),yt(e.error)}}function U0e(n,t){1&n&&D(0,B0e,2,1,"ng-template",null,12,Mn)}function H0e(n,t){if(1&n){const e=Ne();S(0,"div",3),D(1,V0e,1,3,"dot-asset-preview",4),D(2,U0e,2,0,null,5),E(),S(3,"div",6)(4,"div",7),me(5,"dot-spinner",8),S(6,"span",9),se("@shakeit.done",function(r){return ee(e),te(C().shakeEnd(r))}),Se(7),E()(),S(8,"button",10),se("click",function(){return ee(e),te(C().cancelAction())}),Se(9," Cancel "),E()()}if(2&n){const e=C();b(1),_("ngIf","UPLOAD"===e.status),b(1),_("ngIf","ERROR"===e.status),b(3),_("size","30px"),b(1),_("@shakeit",e.animation),b(1),ji(" ",e.errorMessage," ")}}Yg.\u0275fac=function(t){return new(t||Yg)},Yg.\u0275cmp=Ce({type:Yg,selectors:[["dot-asset-preview"]],inputs:{type:"type",file:"file",src:"src"},decls:4,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"src","alt"],["controls","","preload","metadata"],[3,"src"]],template:function(t,e){1&t&&(tt(0,0),D(1,R0e,2,2,"ng-container",1),D(2,F0e,3,1,"ng-container",1),D(3,j0e,2,0,"p",2),nt()),2&t&&(_("ngSwitch",e.type),b(1),_("ngSwitchCase","image"),b(1),_("ngSwitchCase","video"))},dependencies:[Pc,yp,_p],styles:["[_nghost-%COMP%]{height:100%;width:100%;display:flex;justify-content:center;align-items:center}[_nghost-%COMP%] img[_ngcontent-%COMP%]{height:100%;width:100%;object-fit:contain}[_nghost-%COMP%] video[_ngcontent-%COMP%]{width:100%;height:100%;max-height:100%;max-width:100%;object-fit:contain}"],changeDetection:0});var ra=(()=>(function(n){n.SELECT="SELECT",n.PREVIEW="PREVIEW",n.UPLOAD="UPLOAD",n.ERROR="ERROR"}(ra||(ra={})),ra))();class qg{constructor(t,e,i,r){this.sanitizer=t,this.dotUploadFileService=e,this.cd=i,this.el=r,this.uploadedFile=new Q,this.preventClose=new Q,this.hide=new Q,this.status=ra.SELECT,this.animation="shakeend"}get errorMessage(){return` Don't close this window while the ${this.type} uploads`}onClick(t){const e=!this.el.nativeElement.contains(t);this.status===ra.UPLOAD&&e&&this.shakeMe()}ngOnDestroy(){this.preventClose.emit(!1)}onSelectFile(t){const e=t[0],i=new FileReader;this.preventClose.emit(!0),i.onload=r=>this.setFile(e,r.target.result),i.readAsArrayBuffer(e)}cancelAction(){this.file=null,this.status=ra.SELECT,this.cancelUploading(),this.hide.emit(!0)}shakeEnd(){this.animation="shakeend"}shakeMe(){"shakestart"!==this.animation&&(this.animation="shakestart")}uploadFile(){this.controller=new AbortController,this.status=ra.UPLOAD,this.$uploadRequestSubs=this.dotUploadFileService.publishContent({data:this.file,signal:this.controller.signal}).pipe(At(1),zi(t=>this.handleError(t))).subscribe(t=>{const e=t[0];this.uploadedFile.emit(e[Object.keys(e)[0]]),this.status=ra.SELECT})}setFile(t,e){const i=new Blob([new Uint8Array(e)],{type:"video/mp4"});this.src=this.sanitizer.bypassSecurityTrustResourceUrl(URL.createObjectURL(i)),this.file=t,this.status=ra.UPLOAD,this.uploadFile(),this.cd.markForCheck()}handleError(t){return this.status=ra.ERROR,this.preventClose.emit(!1),this.error=t?.error?.errors[0]||t.error,console.error(t),vo(t)}cancelUploading(){this.$uploadRequestSubs.unsubscribe(),this.controller?.abort()}}qg.\u0275fac=function(t){return new(t||qg)(I(B_),I(ea),I(In),I(Dt))},qg.\u0275cmp=Ce({type:qg,selectors:[["dot-upload-asset"]],hostBindings:function(t,e){1&t&&se("click",function(r){return e.onClick(r.target)},0,dO)},inputs:{type:"type"},outputs:{uploadedFile:"uploadedFile",preventClose:"preventClose",hide:"hide"},decls:3,vars:2,consts:[["chooseLabel","browse files","mode","basic",3,"accept","customUpload","onSelect",4,"ngIf","ngIfElse"],["preview",""],["chooseLabel","browse files","mode","basic",3,"accept","customUpload","onSelect"],[1,"preview-container"],[3,"type","file","src",4,"ngIf"],[4,"ngIf"],[1,"action-container"],[1,"loading-message"],[3,"size"],[1,"warning"],["data-test-id","back-btn","pButton","",1,"p-button-outlined",3,"click"],[3,"type","file","src"],["errorTemplate",""],[1,"error"]],template:function(t,e){if(1&t&&(D(0,z0e,1,2,"p-fileUpload",0),D(1,H0e,10,5,"ng-template",null,1,Mn)),2&t){const i=Ht(2);_("ngIf","SELECT"===e.status)("ngIfElse",i)}},dependencies:[zt,qh,Qr,L0e,Yg],styles:["[_nghost-%COMP%]{height:100%;width:100%;padding:1rem;gap:1rem;display:flex;justify-content:center;align-items:center;flex-direction:column}[_nghost-%COMP%] .error[_ngcontent-%COMP%]{color:#d82b2e;font-size:1.25rem;max-width:100%;white-space:pre-wrap}[_nghost-%COMP%] .preview-container[_ngcontent-%COMP%]{align-items:center;display:flex;flex-grow:1;justify-content:center;overflow:hidden;width:100%;flex-direction:column}[_nghost-%COMP%] .preview-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:100%;width:100%;object-fit:contain}[_nghost-%COMP%] .action-container[_ngcontent-%COMP%]{display:flex;height:-moz-fit-content;height:fit-content;justify-content:space-between;width:100%}[_nghost-%COMP%] .loading-message[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:1rem}[_nghost-%COMP%] .warning[_ngcontent-%COMP%]{display:block;font-style:normal;text-align:center;color:#14151a}"],data:{animation:[Ybe]},changeDetection:0});let AV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn,ej,Ra,Mu,ej,Mu]}),n})();function gCe(n,t){1&n&&Je(0)}function yCe(n,t){if(1&n&&(tt(0),D(1,gCe,1,0,"ng-container",3),nt()),2&n){const e=C(2);b(1),_("ngTemplateOutlet",e.contentTemplate)}}function _Ce(n,t){if(1&n&&(S(0,"div",1),xi(1),D(2,yCe,2,1,"ng-container",2),E()),2&n){const e=C();_("hidden",!e.selected),Ct("id",e.id)("aria-hidden",!e.selected)("aria-labelledby",e.id+"-label"),b(2),_("ngIf",e.contentTemplate&&(e.cache?e.loaded:e.selected))}}const kV=["*"],vCe=["content"],bCe=["navbar"],CCe=["prevBtn"],wCe=["nextBtn"],TCe=["inkbar"];function DCe(n,t){if(1&n){const e=Ne();S(0,"button",12,13),se("click",function(){return ee(e),te(C().navBackward())}),me(2,"span",14),E()}}function MCe(n,t){1&n&&me(0,"span",24),2&n&&_("ngClass",C(3).$implicit.leftIcon)}function SCe(n,t){1&n&&me(0,"span",25),2&n&&_("ngClass",C(3).$implicit.rightIcon)}function ECe(n,t){if(1&n&&(tt(0),D(1,MCe,1,1,"span",21),S(2,"span",22),Se(3),E(),D(4,SCe,1,1,"span",23),nt()),2&n){const e=C(2).$implicit;b(1),_("ngIf",e.leftIcon),b(2),yt(e.header),b(1),_("ngIf",e.rightIcon)}}function xCe(n,t){1&n&&Je(0)}function ICe(n,t){if(1&n){const e=Ne();S(0,"span",26),se("click",function(r){ee(e);const o=C(2).$implicit;return te(C().close(r,o))}),E()}}const OCe=function(n,t){return{"p-highlight":n,"p-disabled":t}};function ACe(n,t){if(1&n){const e=Ne();S(0,"li",16)(1,"a",17),se("click",function(r){ee(e);const o=C().$implicit;return te(C().open(r,o))})("keydown.enter",function(r){ee(e);const o=C().$implicit;return te(C().open(r,o))}),D(2,ECe,5,3,"ng-container",18),D(3,xCe,1,0,"ng-container",19),D(4,ICe,1,0,"span",20),E()()}if(2&n){const e=C().$implicit;jt(e.headerStyleClass),_("ngClass",Fn(16,OCe,e.selected,e.disabled))("ngStyle",e.headerStyle),b(1),_("pTooltip",e.tooltip)("tooltipPosition",e.tooltipPosition)("positionStyle",e.tooltipPositionStyle)("tooltipStyleClass",e.tooltipStyleClass),Ct("id",e.id+"-label")("aria-selected",e.selected)("aria-controls",e.id)("aria-selected",e.selected)("tabindex",e.disabled?null:"0"),b(1),_("ngIf",!e.headerTemplate),b(1),_("ngTemplateOutlet",e.headerTemplate),b(1),_("ngIf",e.closable)}}function kCe(n,t){1&n&&D(0,ACe,5,19,"li",15),2&n&&_("ngIf",!t.$implicit.closed)}function NCe(n,t){if(1&n){const e=Ne();S(0,"button",27,28),se("click",function(){return ee(e),te(C().navForward())}),me(2,"span",29),E()}}const PCe=function(n){return{"p-tabview p-component":!0,"p-tabview-scrollable":n}};let LCe=0,NV=(()=>{class n{constructor(e,i,r){this.viewContainer=i,this.cd=r,this.cache=!0,this.tooltipPosition="top",this.tooltipPositionStyle="absolute",this.id="p-tabpanel-"+LCe++,this.tabView=e}ngAfterContentInit(){this.templates.forEach(e=>{"header"===e.getType()?this.headerTemplate=e.template:this.contentTemplate=e.template})}get selected(){return this._selected}set selected(e){this._selected=e,this.loaded||this.cd.detectChanges(),e&&(this.loaded=!0)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this.tabView.cd.markForCheck()}get header(){return this._header}set header(e){this._header=e,Promise.resolve().then(()=>{this.tabView.updateInkBar(),this.tabView.cd.markForCheck()})}get leftIcon(){return this._leftIcon}set leftIcon(e){this._leftIcon=e,this.tabView.cd.markForCheck()}get rightIcon(){return this._rightIcon}set rightIcon(e){this._rightIcon=e,this.tabView.cd.markForCheck()}ngOnDestroy(){this.view=null}}return n.\u0275fac=function(e){return new(e||n)(I(Ft(()=>PV)),I(Gr),I(In))},n.\u0275cmp=Ce({type:n,selectors:[["p-tabPanel"]],contentQueries:function(e,i,r){if(1&e&&Kn(r,Ni,4),2&e){let o;Ve(o=Be())&&(i.templates=o)}},hostAttrs:[1,"p-element"],inputs:{closable:"closable",headerStyle:"headerStyle",headerStyleClass:"headerStyleClass",cache:"cache",tooltip:"tooltip",tooltipPosition:"tooltipPosition",tooltipPositionStyle:"tooltipPositionStyle",tooltipStyleClass:"tooltipStyleClass",selected:"selected",disabled:"disabled",header:"header",leftIcon:"leftIcon",rightIcon:"rightIcon"},ngContentSelectors:kV,decls:1,vars:1,consts:[["class","p-tabview-panel","role","tabpanel",3,"hidden",4,"ngIf"],["role","tabpanel",1,"p-tabview-panel",3,"hidden"],[4,"ngIf"],[4,"ngTemplateOutlet"]],template:function(e,i){1&e&&($r(),D(0,_Ce,3,5,"div",0)),2&e&&_("ngIf",!i.closed)},dependencies:[zt,qr],encapsulation:2}),n})(),PV=(()=>{class n{constructor(e,i){this.el=e,this.cd=i,this.orientation="top",this.onChange=new Q,this.onClose=new Q,this.activeIndexChange=new Q,this.backwardIsDisabled=!0,this.forwardIsDisabled=!1}ngAfterContentInit(){this.initTabs(),this.tabChangesSubscription=this.tabPanels.changes.subscribe(e=>{this.initTabs()})}ngAfterViewChecked(){this.tabChanged&&(this.updateInkBar(),this.tabChanged=!1)}ngOnDestroy(){this.tabChangesSubscription&&this.tabChangesSubscription.unsubscribe()}initTabs(){this.tabs=this.tabPanels.toArray(),!this.findSelectedTab()&&this.tabs.length&&(null!=this.activeIndex&&this.tabs.length>this.activeIndex?this.tabs[this.activeIndex].selected=!0:this.tabs[0].selected=!0,this.tabChanged=!0),this.cd.markForCheck()}open(e,i){if(i.disabled)e&&e.preventDefault();else{if(!i.selected){let r=this.findSelectedTab();r&&(r.selected=!1),this.tabChanged=!0,i.selected=!0;let o=this.findTabIndex(i);this.preventActiveIndexPropagation=!0,this.activeIndexChange.emit(o),this.onChange.emit({originalEvent:e,index:o}),this.updateScrollBar(o)}e&&e.preventDefault()}}close(e,i){this.controlClose?this.onClose.emit({originalEvent:e,index:this.findTabIndex(i),close:()=>{this.closeTab(i)}}):(this.closeTab(i),this.onClose.emit({originalEvent:e,index:this.findTabIndex(i)})),e.stopPropagation()}closeTab(e){if(!e.disabled){if(e.selected){this.tabChanged=!0,e.selected=!1;for(let i=0;ithis._activeIndex&&(this.findSelectedTab().selected=!1,this.tabs[this._activeIndex].selected=!0,this.tabChanged=!0,this.updateScrollBar(e))}updateInkBar(){if(this.navbar){const e=q.findSingle(this.navbar.nativeElement,"li.p-highlight");if(!e)return;this.inkbar.nativeElement.style.width=q.getWidth(e)+"px",this.inkbar.nativeElement.style.left=q.getOffset(e).left-q.getOffset(this.navbar.nativeElement).left+"px"}}updateScrollBar(e){this.navbar.nativeElement.children[e].scrollIntoView({block:"nearest"})}updateButtonState(){const e=this.content.nativeElement,{scrollLeft:i,scrollWidth:r}=e,o=q.getWidth(e);this.backwardIsDisabled=0===i,this.forwardIsDisabled=parseInt(i)===r-o}onScroll(e){this.scrollable&&this.updateButtonState(),e.preventDefault()}getVisibleButtonWidths(){return[this.prevBtn?.nativeElement,this.nextBtn?.nativeElement].reduce((e,i)=>i?e+q.getWidth(i):e,0)}navBackward(){const e=this.content.nativeElement,i=q.getWidth(e)-this.getVisibleButtonWidths(),r=e.scrollLeft-i;e.scrollLeft=r<=0?0:r}navForward(){const e=this.content.nativeElement,i=q.getWidth(e)-this.getVisibleButtonWidths(),r=e.scrollLeft+i,o=e.scrollWidth-i;e.scrollLeft=r>=o?o:r}}return n.\u0275fac=function(e){return new(e||n)(I(Dt),I(In))},n.\u0275cmp=Ce({type:n,selectors:[["p-tabView"]],contentQueries:function(e,i,r){if(1&e&&Kn(r,NV,4),2&e){let o;Ve(o=Be())&&(i.tabPanels=o)}},viewQuery:function(e,i){if(1&e&&(Mt(vCe,5),Mt(bCe,5),Mt(CCe,5),Mt(wCe,5),Mt(TCe,5)),2&e){let r;Ve(r=Be())&&(i.content=r.first),Ve(r=Be())&&(i.navbar=r.first),Ve(r=Be())&&(i.prevBtn=r.first),Ve(r=Be())&&(i.nextBtn=r.first),Ve(r=Be())&&(i.inkbar=r.first)}},hostAttrs:[1,"p-element"],inputs:{orientation:"orientation",style:"style",styleClass:"styleClass",controlClose:"controlClose",scrollable:"scrollable",activeIndex:"activeIndex"},outputs:{onChange:"onChange",onClose:"onClose",activeIndexChange:"activeIndexChange"},ngContentSelectors:kV,decls:13,vars:9,consts:[[3,"ngClass","ngStyle"],[1,"p-tabview-nav-container"],["class","p-tabview-nav-prev p-tabview-nav-btn p-link","type","button","pRipple","",3,"click",4,"ngIf"],[1,"p-tabview-nav-content",3,"scroll"],["content",""],["role","tablist",1,"p-tabview-nav"],["navbar",""],["ngFor","",3,"ngForOf"],[1,"p-tabview-ink-bar"],["inkbar",""],["class","p-tabview-nav-next p-tabview-nav-btn p-link","type","button","pRipple","",3,"click",4,"ngIf"],[1,"p-tabview-panels"],["type","button","pRipple","",1,"p-tabview-nav-prev","p-tabview-nav-btn","p-link",3,"click"],["prevBtn",""],[1,"pi","pi-chevron-left"],["role","presentation",3,"ngClass","ngStyle","class",4,"ngIf"],["role","presentation",3,"ngClass","ngStyle"],["role","tab","pRipple","",1,"p-tabview-nav-link",3,"pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","click","keydown.enter"],[4,"ngIf"],[4,"ngTemplateOutlet"],["class","p-tabview-close pi pi-times",3,"click",4,"ngIf"],["class","p-tabview-left-icon",3,"ngClass",4,"ngIf"],[1,"p-tabview-title"],["class","p-tabview-right-icon",3,"ngClass",4,"ngIf"],[1,"p-tabview-left-icon",3,"ngClass"],[1,"p-tabview-right-icon",3,"ngClass"],[1,"p-tabview-close","pi","pi-times",3,"click"],["type","button","pRipple","",1,"p-tabview-nav-next","p-tabview-nav-btn","p-link",3,"click"],["nextBtn",""],[1,"pi","pi-chevron-right"]],template:function(e,i){1&e&&($r(),S(0,"div",0)(1,"div",1),D(2,DCe,3,0,"button",2),S(3,"div",3,4),se("scroll",function(o){return i.onScroll(o)}),S(5,"ul",5,6),D(7,kCe,1,1,"ng-template",7),me(8,"li",8,9),E()(),D(10,NCe,3,0,"button",10),E(),S(11,"div",11),xi(12),E()()),2&e&&(jt(i.styleClass),_("ngClass",it(7,PCe,i.scrollable))("ngStyle",i.style),b(2),_("ngIf",i.scrollable&&!i.backwardIsDisabled),b(5),_("ngForOf",i.tabs),b(3),_("ngIf",i.scrollable&&!i.forwardIsDisabled))},dependencies:[Qn,Er,zt,qr,Ai,bg,wl],styles:[".p-tabview-nav-container{position:relative}.p-tabview-scrollable .p-tabview-nav-container{overflow:hidden}.p-tabview-nav-content{overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior:contain auto}.p-tabview-nav{display:flex;margin:0;padding:0;list-style-type:none;flex:1 1 auto}.p-tabview-nav-link{cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center;position:relative;text-decoration:none;overflow:hidden}.p-tabview-ink-bar{display:none;z-index:1}.p-tabview-nav-link:focus{z-index:1}.p-tabview-title{line-height:1;white-space:nowrap}.p-tabview-nav-btn{position:absolute;top:0;z-index:2;height:100%;display:flex;align-items:center;justify-content:center}.p-tabview-nav-prev{left:0}.p-tabview-nav-next{right:0}.p-tabview-nav-content::-webkit-scrollbar{display:none}.p-tabview-close{z-index:1}\n"],encapsulation:2,changeDetection:0}),n})(),LV=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=et({type:n}),n.\u0275inj=ft({imports:[gn,Uo,Mu,Ra,Uo]}),n})();class Pu{}Pu.\u0275fac=function(t){return new(t||Pu)},Pu.\u0275mod=et({type:Pu}),Pu.\u0275inj=ft({imports:[AV,$z,wo,Wz,Vz,U1,E1,LV,SV,az,IV,xD,AV,$z,wo,Wz,Vz,U1,E1,LV,SV,az,IV,xD]});class uf{}uf.\u0275fac=function(t){return new(t||uf)},uf.\u0275mod=et({type:uf}),uf.\u0275inj=ft({providers:[ea],imports:[gn,cv,Zd,Du,Pu]}),Si(Yh,[Ni,PV,NV,Gg,Wg,qg],[]);class Lu{}Lu.\u0275fac=function(t){return new(t||Lu)},Lu.\u0275mod=et({type:Lu}),Lu.\u0275inj=ft({providers:[Ql],imports:[gn,cv,Zd,wo]}),Si(Jl,[Er,zt,$h,bu,Hh],[]);class df{}df.\u0275fac=function(t){return new(t||df)},df.\u0275mod=et({type:df}),df.\u0275inj=ft({providers:[ea,To,$c,Zl,{provide:dp,useFactory:n=>()=>n.init(),deps:[Mo],multi:!0}],imports:[gn,cv,Zd,Lu,Pu,uf,ef,cf,Zd,Lu]}),Si(sf,[Er,zt,Og],[]),Si(rf,[zt,Qd,pl,Rc,Wd,Aa,Fc,yE,Qr,Eg,Ig,nf],[]),Si(nf,[Er,zt,$h,bu,mg,Hh],[]);class FCe extends TypeError{constructor(t,e){let i;const{message:r,explanation:o,...s}=t,{path:a}=t,l=0===a.length?r:`At path: ${a.join(".")} -- ${r}`;super(o??l),null!=o&&(this.cause=l),Object.assign(this,s),this.name=this.constructor.name,this.failures=()=>i??(i=[t,...e()])}}function Jo(n){return"object"==typeof n&&null!=n}function Li(n){return"symbol"==typeof n?n.toString():"string"==typeof n?JSON.stringify(n):`${n}`}function VCe(n,t,e,i){if(!0===n)return;!1===n?n={}:"string"==typeof n&&(n={message:n});const{path:r,branch:o}=t,{type:s}=e,{refinement:a,message:l=`Expected a value of type \`${s}\`${a?` with refinement \`${a}\``:""}, but received: \`${Li(i)}\``}=n;return{value:i,type:s,refinement:a,key:r[r.length-1],path:r,branch:o,...n,message:l}}function*OE(n,t,e,i){(function jCe(n){return Jo(n)&&"function"==typeof n[Symbol.iterator]})(n)||(n=[n]);for(const r of n){const o=VCe(r,t,e,i);o&&(yield o)}}function*AE(n,t,e={}){const{path:i=[],branch:r=[n],coerce:o=!1,mask:s=!1}=e,a={path:i,branch:r};if(o&&(n=t.coercer(n,a),s&&"type"!==t.type&&Jo(t.schema)&&Jo(n)&&!Array.isArray(n)))for(const c in n)void 0===t.schema[c]&&delete n[c];let l="valid";for(const c of t.validator(n,a))c.explanation=e.message,l="not_valid",yield[c,void 0];for(let[c,u,d]of t.entries(n,a)){const h=AE(u,d,{path:void 0===c?i:[...i,c],branch:void 0===c?r:[...r,u],coerce:o,mask:s,message:e.message});for(const f of h)f[0]?(l=null!=f[0].refinement?"not_refined":"not_valid",yield[f[0],void 0]):o&&(u=f[1],void 0===c?n=u:n instanceof Map?n.set(c,u):n instanceof Set?n.add(u):Jo(n)&&(void 0!==u||c in n)&&(n[c]=u))}if("not_valid"!==l)for(const c of t.refiner(n,a))c.explanation=e.message,l="not_refined",yield[c,void 0];"valid"===l&&(yield[void 0,n])}class Ti{constructor(t){const{type:e,schema:i,validator:r,refiner:o,coercer:s=(l=>l),entries:a=function*(){}}=t;this.type=e,this.schema=i,this.entries=a,this.coercer=s,this.validator=r?(l,c)=>OE(r(l,c),c,this,l):()=>[],this.refiner=o?(l,c)=>OE(o(l,c),c,this,l):()=>[]}assert(t,e){return FV(t,this,e)}create(t,e){return function BCe(n,t,e){const i=Qg(n,t,{coerce:!0,message:e});if(i[0])throw i[0];return i[1]}(t,this,e)}is(t){return function jV(n,t){return!Qg(n,t)[0]}(t,this)}mask(t,e){return function UCe(n,t,e){const i=Qg(n,t,{coerce:!0,mask:!0,message:e});if(i[0])throw i[0];return i[1]}(t,this,e)}validate(t,e={}){return Qg(t,this,e)}}function FV(n,t,e){const i=Qg(n,t,{message:e});if(i[0])throw i[0]}function Qg(n,t,e={}){const i=AE(n,t,e),r=function zCe(n){const{done:t,value:e}=n.next();return t?void 0:e}(i);return r[0]?[new FCe(r[0],function*(){for(const s of i)s[0]&&(yield s[0])}),void 0]:[void 0,r[1]]}function xo(n,t){return new Ti({type:n,schema:null,validator:t})}function zV(n){return new Ti({type:"array",schema:n,*entries(t){if(n&&Array.isArray(t))for(const[e,i]of t.entries())yield[e,i,n]},coercer:t=>Array.isArray(t)?t.slice():t,validator:t=>Array.isArray(t)||`Expected an array value, but received: ${Li(t)}`})}function Ru(n){const t=n?Object.keys(n):[],e=function VV(){return xo("never",()=>!1)}();return new Ti({type:"object",schema:n||null,*entries(i){if(n&&Jo(i)){const r=new Set(Object.keys(i));for(const o of t)r.delete(o),yield[o,i[o],n[o]];for(const o of r)yield[o,i[o],e]}},validator:i=>Jo(i)||`Expected an object, but received: ${Li(i)}`,coercer:i=>Jo(i)?{...i}:i})}function BV(n){return new Ti({...n,validator:(t,e)=>void 0===t||n.validator(t,e),refiner:(t,e)=>void 0===t||n.refiner(t,e)})}function Zg(){return xo("string",n=>"string"==typeof n||`Expected a string, but received: ${Li(n)}`)}const $Ce=Sn.create({name:"characterCount",addOptions:()=>({limit:null,mode:"textSize"}),addStorage:()=>({characters:()=>0,words:()=>0}),onBeforeCreate(){this.storage.characters=n=>{const t=n?.node||this.editor.state.doc;return"textSize"===(n?.mode||this.options.mode)?t.textBetween(0,t.content.size,void 0," ").length:t.nodeSize},this.storage.words=n=>{const t=n?.node||this.editor.state.doc;return t.textBetween(0,t.content.size," "," ").split(" ").filter(r=>""!==r).length}},addProseMirrorPlugins(){return[new Kt({key:new an("characterCount"),filterTransaction:(n,t)=>{const e=this.options.limit;if(!n.docChanged||0===e||null==e)return!0;const i=this.storage.characters({node:t.doc}),r=this.storage.characters({node:n.doc});if(r<=e||i>e&&r>e&&r<=i)return!0;if(i>e&&r>e&&r>i||!n.getMeta("paste"))return!1;const s=n.selection.$head.pos;return n.deleteRange(s-(r-e),s),!(this.storage.characters({node:n.doc})>e)}})]}}),WCe=/(?:^|\s)((?:==)((?:[^~=]+))(?:==))$/,GCe=/(?:^|\s)((?:==)((?:[^~=]+))(?:==))/g,YCe=Pr.create({name:"highlight",addOptions:()=>({multicolor:!1,HTMLAttributes:{}}),addAttributes(){return this.options.multicolor?{color:{default:null,parseHTML:n=>n.getAttribute("data-color")||n.style.backgroundColor,renderHTML:n=>n.color?{"data-color":n.color,style:`background-color: ${n.color}; color: inherit`}:{}}}:{}},parseHTML:()=>[{tag:"mark"}],renderHTML({HTMLAttributes:n}){return["mark",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setHighlight:n=>({commands:t})=>t.setMark(this.name,n),toggleHighlight:n=>({commands:t})=>t.toggleMark(this.name,n),unsetHighlight:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-h":()=>this.editor.commands.toggleHighlight()}},addInputRules(){return[vu({find:WCe,type:this.type})]},addPasteRules(){return[Yl({find:GCe,type:this.type})]}}),Fu=(n,t)=>{for(const e in t)n[e]=t[e];return n},kE="numeric",NE="ascii",PE="alpha",U0="asciinumeric",H0="alphanumeric",LE="domain",GV="whitespace";function JCe(n,t){return n in t||(t[n]=[]),t[n]}function ju(n,t,e){t[kE]&&(t[U0]=!0,t[H0]=!0),t[NE]&&(t[U0]=!0,t[PE]=!0),t[U0]&&(t[H0]=!0),t[PE]&&(t[H0]=!0),t[H0]&&(t[LE]=!0),t.emoji&&(t[LE]=!0);for(const i in t){const r=JCe(i,e);r.indexOf(n)<0&&r.push(n)}}function so(n){void 0===n&&(n=null),this.j={},this.jr=[],this.jd=null,this.t=n}so.groups={},so.prototype={accepts(){return!!this.t},go(n){const t=this,e=t.j[n];if(e)return e;for(let i=0;i=0&&(e[i]=!0);return e}(s.t,i),e);ju(o,l,i)}else e&&ju(o,e,i);s.t=o}return r.j[n]=s,s}};const qe=(n,t,e,i,r)=>n.ta(t,e,i,r),Xo=(n,t,e,i,r)=>n.tr(t,e,i,r),YV=(n,t,e,i,r)=>n.ts(t,e,i,r),ye=(n,t,e,i,r)=>n.tt(t,e,i,r),Za="WORD",RE="UWORD",Jg="LOCALHOST",jE="UTLD",$0="SCHEME",ff="SLASH_SCHEME",pf="OPENBRACE",Xg="OPENBRACKET",ey="OPENANGLEBRACKET",ty="OPENPAREN",zu="CLOSEBRACE",mf="CLOSEBRACKET",gf="CLOSEANGLEBRACKET",Vu="CLOSEPAREN",W0="AMPERSAND",G0="APOSTROPHE",Y0="ASTERISK",nc="AT",q0="BACKSLASH",K0="BACKTICK",Q0="CARET",ic="COLON",BE="COMMA",Z0="DOLLAR",oa="DOT",J0="EQUALS",UE="EXCLAMATION",sa="HYPHEN",X0="PERCENT",eC="PIPE",tC="PLUS",nC="POUND",iC="QUERY",HE="QUOTE",$E="SEMI",aa="SLASH",ny="TILDE",rC="UNDERSCORE",oC="SYM";var QV=Object.freeze({__proto__:null,WORD:Za,UWORD:RE,LOCALHOST:Jg,TLD:"TLD",UTLD:jE,SCHEME:$0,SLASH_SCHEME:ff,NUM:"NUM",WS:"WS",NL:"NL",OPENBRACE:pf,OPENBRACKET:Xg,OPENANGLEBRACKET:ey,OPENPAREN:ty,CLOSEBRACE:zu,CLOSEBRACKET:mf,CLOSEANGLEBRACKET:gf,CLOSEPAREN:Vu,AMPERSAND:W0,APOSTROPHE:G0,ASTERISK:Y0,AT:nc,BACKSLASH:q0,BACKTICK:K0,CARET:Q0,COLON:ic,COMMA:BE,DOLLAR:Z0,DOT:oa,EQUALS:J0,EXCLAMATION:UE,HYPHEN:sa,PERCENT:X0,PIPE:eC,PLUS:tC,POUND:nC,QUERY:iC,QUOTE:HE,SEMI:$E,SLASH:aa,TILDE:ny,UNDERSCORE:rC,EMOJI:"EMOJI",SYM:oC});const Bu=/[a-z]/,sC=/\p{L}/u,aC=/\p{Emoji}/u,lC=/\d/,WE=/\s/;let cC=null,uC=null;function rc(n,t,e,i,r){let o;const s=t.length;for(let a=0;a=0;)o++;if(o>0){t.push(e.join(""));for(let s=parseInt(n.substring(i,i+o),10);s>0;s--)e.pop();i+=o}else e.push(n[i]),i++}return t}const yf={defaultProtocol:"http",events:null,format:XV,formatHref:XV,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function dC(n,t){void 0===t&&(t=null);let e=Fu({},yf);n&&(e=Fu(e,n instanceof dC?n.o:n));const i=e.ignoreTags,r=[];for(let o=0;on,check(n){return this.get("validate",n.toString(),n)},get(n,t,e){const i=null!=t;let r=this.o[n];return r&&("object"==typeof r?(r=e.t in r?r[e.t]:yf[n],"function"==typeof r&&i&&(r=r(t,e))):"function"==typeof r&&i&&(r=r(t,e.t,e)),r)},getObj(n,t,e){let i=this.o[n];return"function"==typeof i&&null!=t&&(i=i(t,e.t,e)),i},render(n){const t=n.render(this);return(this.get("render",null,n)||this.defaultRender)(t,n.t,n)}},hC.prototype={isLink:!1,toString(){return this.v},toHref(n){return this.toString()},toFormattedString(n){const t=this.toString(),e=n.get("truncate",t,this),i=n.get("format",t,this);return e&&i.length>e?i.substring(0,e)+"\u2026":i},toFormattedHref(n){return n.get("formatHref",this.toHref(n.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(n){return void 0===n&&(n=yf.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(n),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(n){return{type:this.t,value:this.toFormattedString(n),isLink:this.isLink,href:this.toFormattedHref(n),start:this.startIndex(),end:this.endIndex()}},validate(n){return n.get("validate",this.toString(),this)},render(n){const t=this,e=this.toHref(n.get("defaultProtocol")),i=n.get("formatHref",e,this),r=n.get("tagName",e,t),o=this.toFormattedString(n),s={},a=n.get("className",e,t),l=n.get("target",e,t),c=n.get("rel",e,t),u=n.getObj("attributes",e,t),d=n.getObj("events",e,t);return s.href=i,a&&(s.class=a),l&&(s.target=l),c&&(s.rel=c),u&&Fu(s,u),{tagName:r,attributes:s,content:o,eventListeners:d}}};const GE=iy("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),YE=iy("text"),eB=iy("nl"),oc=iy("url",{isLink:!0,toHref(n){return void 0===n&&(n=yf.defaultProtocol),this.hasProtocol()?this.v:`${n}://${this.v}`},hasProtocol(){const n=this.tk;return n.length>=2&&n[0].t!==Jg&&n[1].t===ic}}),Hi=n=>new so(n);function qE(n,t,e){return new n(t.slice(e[0].s,e[e.length-1].e),e)}const ry=typeof console<"u"&&console&&console.warn||(()=>{}),un={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function tB(n,t){if(void 0===t&&(t=!1),un.initialized&&ry(`linkifyjs: already initialized - will not register custom scheme "${n}" until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(n))throw new Error('linkifyjs: incorrect scheme format.\n 1. Must only contain digits, lowercase ASCII letters or "-"\n 2. Cannot start or end with "-"\n 3. "-" cannot repeat');un.customSchemes.push([n,t])}function nB(n){return un.initialized||function cwe(){un.scanner=function iwe(n){void 0===n&&(n=[]);const t={};so.groups=t;const e=new so;null==cC&&(cC=JV("aaa1rp3barth4b0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re2s2c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y0eats7k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking0channel11l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t0isalat7u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0at2delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d0network8tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0eles2s3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster5ia3d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0cys3drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7serati6ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic3tual5v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rthwesternmutual14on4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cher3ks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w0time7i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0channel7ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5m\xf6gensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u0elos6wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2")),null==uC&&(uC=JV("\u03b5\u03bb1\u03c52\u0431\u04331\u0435\u043b3\u0434\u0435\u0442\u04384\u0435\u044e2\u043a\u0430\u0442\u043e\u043b\u0438\u043a6\u043e\u043c3\u043c\u043a\u04342\u043e\u043d1\u0441\u043a\u0432\u04306\u043e\u043d\u043b\u0430\u0439\u043d5\u0440\u04333\u0440\u0443\u04412\u04442\u0441\u0430\u0439\u04423\u0440\u04313\u0443\u043a\u04403\u049b\u0430\u04373\u0570\u0561\u05753\u05d9\u05e9\u05e8\u05d0\u05dc5\u05e7\u05d5\u05dd3\u0627\u0628\u0648\u0638\u0628\u064a5\u062a\u0635\u0627\u0644\u0627\u062a6\u0631\u0627\u0645\u0643\u06485\u0644\u0627\u0631\u062f\u06464\u0628\u062d\u0631\u064a\u06465\u062c\u0632\u0627\u0626\u06315\u0633\u0639\u0648\u062f\u064a\u06296\u0639\u0644\u064a\u0627\u06465\u0645\u063a\u0631\u06285\u0645\u0627\u0631\u0627\u062a5\u06cc\u0631\u0627\u06465\u0628\u0627\u0631\u062a2\u0632\u0627\u06314\u064a\u062a\u06433\u06be\u0627\u0631\u062a5\u062a\u0648\u0646\u06334\u0633\u0648\u062f\u0627\u06463\u0631\u064a\u06295\u0634\u0628\u0643\u06294\u0639\u0631\u0627\u06422\u06282\u0645\u0627\u06464\u0641\u0644\u0633\u0637\u064a\u06466\u0642\u0637\u06313\u0643\u0627\u062b\u0648\u0644\u064a\u06436\u0648\u06453\u0645\u0635\u06312\u0644\u064a\u0633\u064a\u06275\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u06277\u0642\u06394\u0647\u0645\u0631\u0627\u06475\u067e\u0627\u06a9\u0633\u062a\u0627\u06467\u0680\u0627\u0631\u062a4\u0915\u0949\u092e3\u0928\u0947\u091f3\u092d\u093e\u0930\u09240\u092e\u094d3\u094b\u09245\u0938\u0902\u0917\u0920\u09285\u09ac\u09be\u0982\u09b2\u09be5\u09ad\u09be\u09b0\u09a42\u09f0\u09a44\u0a2d\u0a3e\u0a30\u0a244\u0aad\u0abe\u0ab0\u0aa44\u0b2d\u0b3e\u0b30\u0b244\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe6\u0bb2\u0b99\u0bcd\u0b95\u0bc86\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd11\u0c2d\u0c3e\u0c30\u0c24\u0c4d5\u0cad\u0cbe\u0cb0\u0ca44\u0d2d\u0d3e\u0d30\u0d24\u0d025\u0dbd\u0d82\u0d9a\u0dcf4\u0e04\u0e2d\u0e213\u0e44\u0e17\u0e223\u0ea5\u0eb2\u0ea73\u10d2\u10d42\u307f\u3093\u306a3\u30a2\u30de\u30be\u30f34\u30af\u30e9\u30a6\u30c94\u30b0\u30fc\u30b0\u30eb4\u30b3\u30e02\u30b9\u30c8\u30a23\u30bb\u30fc\u30eb3\u30d5\u30a1\u30c3\u30b7\u30e7\u30f36\u30dd\u30a4\u30f3\u30c84\u4e16\u754c2\u4e2d\u4fe11\u56fd1\u570b1\u6587\u7f513\u4e9a\u9a6c\u900a3\u4f01\u4e1a2\u4f5b\u5c712\u4fe1\u606f2\u5065\u5eb72\u516b\u53662\u516c\u53f81\u76ca2\u53f0\u6e7e1\u70632\u5546\u57ce1\u5e971\u68072\u5609\u91cc0\u5927\u9152\u5e975\u5728\u7ebf2\u5927\u62ff2\u5929\u4e3b\u65593\u5a31\u4e502\u5bb6\u96fb2\u5e7f\u4e1c2\u5fae\u535a2\u6148\u55842\u6211\u7231\u4f603\u624b\u673a2\u62db\u80582\u653f\u52a11\u5e9c2\u65b0\u52a0\u57612\u95fb2\u65f6\u5c1a2\u66f8\u7c4d2\u673a\u67842\u6de1\u9a6c\u95213\u6e38\u620f2\u6fb3\u95802\u70b9\u770b2\u79fb\u52a82\u7ec4\u7ec7\u673a\u67844\u7f51\u57401\u5e971\u7ad91\u7edc2\u8054\u901a2\u8c37\u6b4c2\u8d2d\u72692\u901a\u8ca92\u96c6\u56e22\u96fb\u8a0a\u76c8\u79d14\u98de\u5229\u6d663\u98df\u54c12\u9910\u53852\u9999\u683c\u91cc\u62c93\u6e2f2\ub2f7\ub1371\ucef42\uc0bc\uc1312\ud55c\uad6d2")),ye(e,"'",G0),ye(e,"{",pf),ye(e,"[",Xg),ye(e,"<",ey),ye(e,"(",ty),ye(e,"}",zu),ye(e,"]",mf),ye(e,">",gf),ye(e,")",Vu),ye(e,"&",W0),ye(e,"*",Y0),ye(e,"@",nc),ye(e,"`",K0),ye(e,"^",Q0),ye(e,":",ic),ye(e,",",BE),ye(e,"$",Z0),ye(e,".",oa),ye(e,"=",J0),ye(e,"!",UE),ye(e,"-",sa),ye(e,"%",X0),ye(e,"|",eC),ye(e,"+",tC),ye(e,"#",nC),ye(e,"?",iC),ye(e,'"',HE),ye(e,"/",aa),ye(e,";",$E),ye(e,"~",ny),ye(e,"_",rC),ye(e,"\\",q0);const i=Xo(e,lC,"NUM",{[kE]:!0});Xo(i,lC,i);const r=Xo(e,Bu,Za,{[NE]:!0});Xo(r,Bu,r);const o=Xo(e,sC,RE,{[PE]:!0});Xo(o,Bu),Xo(o,sC,o);const s=Xo(e,WE,"WS",{[GV]:!0});ye(e,"\n","NL",{[GV]:!0}),ye(s,"\n"),Xo(s,WE,s);const a=Xo(e,aC,"EMOJI",{emoji:!0});Xo(a,aC,a),ye(a,"\ufe0f",a);const l=ye(a,"\u200d");Xo(l,aC,a);const c=[[Bu,r]],u=[[Bu,null],[sC,o]];for(let d=0;dd[0]>h[0]?1:-1);for(let d=0;d=0?p[LE]=!0:Bu.test(h)?lC.test(h)?p[U0]=!0:p[NE]=!0:p[kE]=!0,YV(e,h,h,p)}return YV(e,"localhost",Jg,{ascii:!0}),e.jd=new so(oC),{start:e,tokens:Fu({groups:t},QV)}}(un.customSchemes);for(let n=0;n=0&&h++,r++,u++;if(h<0)r-=u,r0&&(o.push(qE(YE,t,s)),s=[]),r-=h,u-=h;const f=d.t,p=e.slice(r-u,r);o.push(qE(f,t,p))}}return s.length>0&&o.push(qE(YE,t,s)),o}(un.parser.start,n,function rwe(n,t){const e=function owe(n){const t=[],e=n.length;let i=0;for(;i56319||i+1===e||(o=n.charCodeAt(i+1))<56320||o>57343?n[i]:n.slice(i,i+2);t.push(s),i+=s.length}return t}(t.replace(/[A-Z]/g,a=>a.toLowerCase())),i=e.length,r=[];let o=0,s=0;for(;s=0&&(d+=e[s].length,h++),c+=e[s].length,o+=e[s].length,s++;o-=d,s-=h,c-=d,r.push({t:u.t,v:t.slice(o-c,o),s:o-c,e:o})}return r}(un.scanner.start,n))}function QE(n,t,e){if(void 0===t&&(t=null),void 0===e&&(e=null),t&&"object"==typeof t){if(e)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);e=t,t=null}const i=new dC(e),r=nB(n),o=[];for(let s=0;s{const r=t.some(u=>u.docChanged)&&!e.doc.eq(i.doc),o=t.some(u=>u.getMeta("preventAutolink"));if(!r||o)return;const{tr:s}=i,a=function _ce(n,t){const e=new PM(n);return t.forEach(i=>{i.steps.forEach(r=>{e.step(r)})}),e}(e.doc,[...t]),{mapping:l}=a;return function Dce(n){const{mapping:t,steps:e}=n,i=[];return t.maps.forEach((r,o)=>{const s=[];if(r.ranges.length)r.forEach((a,l)=>{s.push({from:a,to:l})});else{const{from:a,to:l}=e[o];if(void 0===a||void 0===l)return;s.push({from:a,to:l})}s.forEach(({from:a,to:l})=>{const c=t.slice(o).map(a,-1),u=t.slice(o).map(l),d=t.invert().map(c,-1),h=t.invert().map(u);i.push({oldRange:{from:d,to:h},newRange:{from:c,to:u}})})}),function Tce(n){const t=function wce(n,t=JSON.stringify){const e={};return n.filter(i=>{const r=t(i);return!Object.prototype.hasOwnProperty.call(e,r)&&(e[r]=!0)})}(n);return 1===t.length?t:t.filter((e,i)=>!t.filter((o,s)=>s!==i).some(o=>e.oldRange.from>=o.oldRange.from&&e.oldRange.to<=o.oldRange.to&&e.newRange.from>=o.newRange.from&&e.newRange.to<=o.newRange.to))}(i)}(a).forEach(({oldRange:u,newRange:d})=>{Jb(u.from,u.to,e.doc).filter(m=>m.mark.type===n.type).forEach(m=>{const w=Jb(l.map(m.from),l.map(m.to),i.doc).filter(Z=>Z.mark.type===n.type);if(!w.length)return;const T=w[0],v=e.doc.textBetween(m.from,m.to,void 0," "),N=i.doc.textBetween(T.from,T.to,void 0," "),x=iB(v),ae=iB(N);x&&!ae&&s.removeMark(T.from,T.to,n.type)});const h=function bce(n,t,e){const i=[];return n.nodesBetween(t.from,t.to,(r,o)=>{e(r)&&i.push({node:r,pos:o})}),i}(i.doc,d,m=>m.isTextblock);let f,p;if(h.length>1?(f=h[0],p=i.doc.textBetween(f.pos,f.pos+f.node.nodeSize,void 0," ")):h.length&&i.doc.textBetween(d.from,d.to," "," ").endsWith(" ")&&(f=h[0],p=i.doc.textBetween(f.pos,d.to,void 0," ")),f&&p){const m=p.split(" ").filter(w=>""!==w);if(m.length<=0)return!1;const g=m[m.length-1],y=f.pos+p.lastIndexOf(g);if(!g)return!1;QE(g).filter(w=>w.isLink).filter(w=>!n.validate||n.validate(w.value)).map(w=>({...w,from:y+w.start+1,to:y+w.end+1})).forEach(w=>{s.addMark(w.from,w.to,n.type.create({href:w.href}))})}}),s.steps.length?s:void 0}})}const fwe=Pr.create({name:"link",priority:1e3,keepOnSplit:!1,onCreate(){this.options.protocols.forEach(n=>{"string"!=typeof n?tB(n.scheme,n.optionalSlashes):tB(n)})},onDestroy(){!function lwe(){so.groups={},un.scanner=null,un.parser=null,un.tokenQueue=[],un.pluginQueue=[],un.customSchemes=[],un.initialized=!1}()},inclusive(){return this.options.autolink},addOptions:()=>({openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},validate:void 0}),addAttributes(){return{href:{default:null},target:{default:this.options.HTMLAttributes.target},class:{default:this.options.HTMLAttributes.class}}},parseHTML:()=>[{tag:'a[href]:not([href *= "javascript:" i])'}],renderHTML({HTMLAttributes:n}){return["a",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setLink:n=>({chain:t})=>t().setMark(this.name,n).setMeta("preventAutolink",!0).run(),toggleLink:n=>({chain:t})=>t().toggleMark(this.name,n,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run(),unsetLink:()=>({chain:n})=>n().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[Yl({find:n=>QE(n).filter(t=>!this.options.validate||this.options.validate(t.value)).filter(t=>t.isLink).map(t=>({text:t.value,index:t.start,data:t})),type:this.type,getAttributes:n=>{var t;return{href:null===(t=n.data)||void 0===t?void 0:t.href}}})]},addProseMirrorPlugins(){const n=[];return this.options.autolink&&n.push(uwe({type:this.type,validate:this.options.validate})),this.options.openOnClick&&n.push(function dwe(n){return new Kt({key:new an("handleClickLink"),props:{handleClick:(t,e,i)=>{var r,o,s;if(0!==i.button)return!1;const a=H5(t.state,n.type.name),l=null===(r=i.target)||void 0===r?void 0:r.closest("a"),c=null!==(o=l?.href)&&void 0!==o?o:a.href,u=null!==(s=l?.target)&&void 0!==s?s:a.target;return!(!l||!c||(window.open(c,u),0))}}})}({type:this.type})),this.options.linkOnPaste&&n.push(function hwe(n){return new Kt({key:new an("handlePasteLink"),props:{handlePaste:(t,e,i)=>{const{state:r}=t,{selection:o}=r,{empty:s}=o;if(s)return!1;let a="";i.content.forEach(c=>{a+=c.textContent});const l=QE(a).find(c=>c.isLink&&c.value===a);return!(!a||!l||(n.editor.commands.setMark(n.type,{href:l.href}),0))}}})}({editor:this.editor,type:this.type})),n}}),pwe=Pr.create({name:"subscript",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"sub"},{style:"vertical-align",getAttrs:n=>"sub"===n&&null}],renderHTML({HTMLAttributes:n}){return["sub",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setSubscript:()=>({commands:n})=>n.setMark(this.name),toggleSubscript:()=>({commands:n})=>n.toggleMark(this.name),unsetSubscript:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-,":()=>this.editor.commands.toggleSubscript()}}}),mwe=Pr.create({name:"superscript",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"sup"},{style:"vertical-align",getAttrs:n=>"super"===n&&null}],renderHTML({HTMLAttributes:n}){return["sup",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setSuperscript:()=>({commands:n})=>n.setMark(this.name),toggleSuperscript:()=>({commands:n})=>n.toggleMark(this.name),unsetSuperscript:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-.":()=>this.editor.commands.toggleSuperscript()}}}),gwe=Bn.create({name:"tableRow",addOptions:()=>({HTMLAttributes:{}}),content:"(tableCell | tableHeader)*",tableRole:"row",parseHTML:()=>[{tag:"tr"}],renderHTML({HTMLAttributes:n}){return["tr",rn(this.options.HTMLAttributes,n),0]}}),ywe=Sn.create({name:"textAlign",addOptions:()=>({types:[],alignments:["left","center","right","justify"],defaultAlignment:"left"}),addGlobalAttributes(){return[{types:this.options.types,attributes:{textAlign:{default:this.options.defaultAlignment,parseHTML:n=>n.style.textAlign||this.options.defaultAlignment,renderHTML:n=>n.textAlign===this.options.defaultAlignment?{}:{style:`text-align: ${n.textAlign}`}}}}]},addCommands(){return{setTextAlign:n=>({commands:t})=>!!this.options.alignments.includes(n)&&this.options.types.every(e=>t.updateAttributes(e,{textAlign:n})),unsetTextAlign:()=>({commands:n})=>this.options.types.every(t=>n.resetAttributes(t,"textAlign"))}},addKeyboardShortcuts(){return{"Mod-Shift-l":()=>this.editor.commands.setTextAlign("left"),"Mod-Shift-e":()=>this.editor.commands.setTextAlign("center"),"Mod-Shift-r":()=>this.editor.commands.setTextAlign("right"),"Mod-Shift-j":()=>this.editor.commands.setTextAlign("justify")}}}),_we=Pr.create({name:"underline",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:n=>!!n.includes("underline")&&{}}],renderHTML({HTMLAttributes:n}){return["u",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setUnderline:()=>({commands:n})=>n.setMark(this.name),toggleUnderline:()=>({commands:n})=>n.toggleMark(this.name),unsetUnderline:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}}),vwe=/^(https?:\/\/)?(www\.|music\.)?(youtube\.com|youtu\.be)(?!.*\/channel\/)(?!\/@)(.+)?$/,bwe=/^(https?:\/\/)?(www\.|music\.)?(youtube\.com|youtu\.be)(?!.*\/channel\/)(?!\/@)(.+)?$/g,rB=n=>n?"https://www.youtube-nocookie.com/embed/":"https://www.youtube.com/embed/",Twe=Bn.create({name:"youtube",addOptions:()=>({addPasteHandler:!0,allowFullscreen:!0,autoplay:!1,ccLanguage:void 0,ccLoadPolicy:void 0,controls:!0,disableKBcontrols:!1,enableIFrameApi:!1,endTime:0,height:480,interfaceLanguage:void 0,ivLoadPolicy:0,loop:!1,modestBranding:!1,HTMLAttributes:{},inline:!1,nocookie:!1,origin:"",playlist:"",progressBarColor:void 0,width:640}),inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes(){return{src:{default:null},start:{default:0},width:{default:this.options.width},height:{default:this.options.height}}},parseHTML:()=>[{tag:"div[data-youtube-video] iframe"}],addCommands(){return{setYoutubeVideo:n=>({commands:t})=>!!(n=>n.match(vwe))(n.src)&&t.insertContent({type:this.name,attrs:n})}},addPasteRules(){return this.options.addPasteHandler?[Qce({find:bwe,type:this.type,getAttributes:n=>({src:n.input})})]:[]},renderHTML({HTMLAttributes:n}){const t=(n=>{const{url:t,allowFullscreen:e,autoplay:i,ccLanguage:r,ccLoadPolicy:o,controls:s,disableKBcontrols:a,enableIFrameApi:l,endTime:c,interfaceLanguage:u,ivLoadPolicy:d,loop:h,modestBranding:f,nocookie:p,origin:m,playlist:g,progressBarColor:y,startAt:w}=n;if(t.includes("/embed/"))return t;if(t.includes("youtu.be")){const ae=t.split("/").pop();return ae?`${rB(p)}${ae}`:null}const v=/v=([-\w]+)/gm.exec(t);if(!v||!v[1])return null;let N=`${rB(p)}${v[1]}`;const x=[];return!1===e&&x.push("fs=0"),i&&x.push("autoplay=1"),r&&x.push(`cc_lang_pref=${r}`),o&&x.push("cc_load_policy=1"),s||x.push("controls=0"),a&&x.push("disablekb=1"),l&&x.push("enablejsapi=1"),c&&x.push(`end=${c}`),u&&x.push(`hl=${u}`),d&&x.push(`iv_load_policy=${d}`),h&&x.push("loop=1"),f&&x.push("modestbranding=1"),m&&x.push(`origin=${m}`),g&&x.push(`playlist=${g}`),w&&x.push(`start=${w}`),y&&x.push(`color=${y}`),x.length&&(N+=`?${x.join("&")}`),N})({url:n.src,allowFullscreen:this.options.allowFullscreen,autoplay:this.options.autoplay,ccLanguage:this.options.ccLanguage,ccLoadPolicy:this.options.ccLoadPolicy,controls:this.options.controls,disableKBcontrols:this.options.disableKBcontrols,enableIFrameApi:this.options.enableIFrameApi,endTime:this.options.endTime,interfaceLanguage:this.options.interfaceLanguage,ivLoadPolicy:this.options.ivLoadPolicy,loop:this.options.loop,modestBranding:this.options.modestBranding,nocookie:this.options.nocookie,origin:this.options.origin,playlist:this.options.playlist,progressBarColor:this.options.progressBarColor,startAt:n.start||0});return n.src=t,["div",{"data-youtube-video":""},["iframe",rn(this.options.HTMLAttributes,{width:this.options.width,height:this.options.height,allowfullscreen:this.options.allowFullscreen,autoplay:this.options.autoplay,ccLanguage:this.options.ccLanguage,ccLoadPolicy:this.options.ccLoadPolicy,disableKBcontrols:this.options.disableKBcontrols,enableIFrameApi:this.options.enableIFrameApi,endTime:this.options.endTime,interfaceLanguage:this.options.interfaceLanguage,ivLoadPolicy:this.options.ivLoadPolicy,loop:this.options.loop,modestBranding:this.options.modestBranding,origin:this.options.origin,playlist:this.options.playlist,progressBarColor:this.options.progressBarColor},n)]]}}),Dwe=/^\s*>\s$/,Mwe=Bn.create({name:"blockquote",addOptions:()=>({HTMLAttributes:{}}),content:"block+",group:"block",defining:!0,parseHTML:()=>[{tag:"blockquote"}],renderHTML({HTMLAttributes:n}){return["blockquote",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setBlockquote:()=>({commands:n})=>n.wrapIn(this.name),toggleBlockquote:()=>({commands:n})=>n.toggleWrap(this.name),unsetBlockquote:()=>({commands:n})=>n.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[pg({find:Dwe,type:this.type})]}}),Swe=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/,Ewe=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g,xwe=/(?:^|\s)((?:__)((?:[^__]+))(?:__))$/,Iwe=/(?:^|\s)((?:__)((?:[^__]+))(?:__))/g,Owe=Pr.create({name:"bold",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"strong"},{tag:"b",getAttrs:n=>"normal"!==n.style.fontWeight&&null},{style:"font-weight",getAttrs:n=>/^(bold(er)?|[5-9]\d{2,})$/.test(n)&&null}],renderHTML({HTMLAttributes:n}){return["strong",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setBold:()=>({commands:n})=>n.setMark(this.name),toggleBold:()=>({commands:n})=>n.toggleMark(this.name),unsetBold:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[vu({find:Swe,type:this.type}),vu({find:xwe,type:this.type})]},addPasteRules(){return[Yl({find:Ewe,type:this.type}),Yl({find:Iwe,type:this.type})]}}),Awe=Bn.create({name:"listItem",addOptions:()=>({HTMLAttributes:{}}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:n}){return["li",rn(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),oB=Pr.create({name:"textStyle",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"span",getAttrs:n=>!!n.hasAttribute("style")&&{}}],renderHTML({HTMLAttributes:n}){return["span",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:t})=>{const e=Zb(n,this.type);return!!Object.entries(e).some(([,r])=>!!r)||t.unsetMark(this.name)}}}}),sB=/^\s*([-+*])\s$/,kwe=Bn.create({name:"bulletList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML:()=>[{tag:"ul"}],renderHTML({HTMLAttributes:n}){return["ul",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{toggleBulletList:()=>({commands:n,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(Awe.name,this.editor.getAttributes(oB.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let n=pg({find:sB,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(n=pg({find:sB,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(oB.name),editor:this.editor})),[n]}}),Nwe=/(?:^|\s)((?:`)((?:[^`]+))(?:`))$/,Pwe=/(?:^|\s)((?:`)((?:[^`]+))(?:`))/g,Lwe=Pr.create({name:"code",addOptions:()=>({HTMLAttributes:{}}),excludes:"_",code:!0,exitable:!0,parseHTML:()=>[{tag:"code"}],renderHTML({HTMLAttributes:n}){return["code",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setCode:()=>({commands:n})=>n.setMark(this.name),toggleCode:()=>({commands:n})=>n.toggleMark(this.name),unsetCode:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[vu({find:Nwe,type:this.type})]},addPasteRules(){return[Yl({find:Pwe,type:this.type})]}}),Rwe=/^```([a-z]+)?[\s\n]$/,Fwe=/^~~~([a-z]+)?[\s\n]$/,jwe=Bn.create({name:"codeBlock",addOptions:()=>({languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,HTMLAttributes:{}}),content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:null,parseHTML:n=>{var t;const{languageClassPrefix:e}=this.options;return[...(null===(t=n.firstElementChild)||void 0===t?void 0:t.classList)||[]].filter(s=>s.startsWith(e)).map(s=>s.replace(e,""))[0]||null},rendered:!1}}},parseHTML:()=>[{tag:"pre",preserveWhitespace:"full"}],renderHTML({node:n,HTMLAttributes:t}){return["pre",rn(this.options.HTMLAttributes,t),["code",{class:n.attrs.language?this.options.languageClassPrefix+n.attrs.language:null},0]]},addCommands(){return{setCodeBlock:n=>({commands:t})=>t.setNode(this.name,n),toggleCodeBlock:n=>({commands:t})=>t.toggleNode(this.name,"paragraph",n)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:n,$anchor:t}=this.editor.state.selection;return!(!n||t.parent.type.name!==this.name)&&!(1!==t.pos&&t.parent.textContent.length)&&this.editor.commands.clearNodes()},Enter:({editor:n})=>{if(!this.options.exitOnTripleEnter)return!1;const{state:t}=n,{selection:e}=t,{$from:i,empty:r}=e;if(!r||i.parent.type!==this.type)return!1;const o=i.parentOffset===i.parent.nodeSize-2,s=i.parent.textContent.endsWith("\n\n");return!(!o||!s)&&n.chain().command(({tr:a})=>(a.delete(i.pos-2,i.pos),!0)).exitCode().run()},ArrowDown:({editor:n})=>{if(!this.options.exitOnArrowDown)return!1;const{state:t}=n,{selection:e,doc:i}=t,{$from:r,empty:o}=e;if(!o||r.parent.type!==this.type||r.parentOffset!==r.parent.nodeSize-2)return!1;const a=r.after();return void 0!==a&&!i.nodeAt(a)&&n.commands.exitCode()}}},addInputRules(){return[QS({find:Rwe,type:this.type,getAttributes:n=>({language:n[1]})}),QS({find:Fwe,type:this.type,getAttributes:n=>({language:n[1]})})]},addProseMirrorPlugins(){return[new Kt({key:new an("codeBlockVSCodeHandler"),props:{handlePaste:(n,t)=>{if(!t.clipboardData||this.editor.isActive(this.type.name))return!1;const e=t.clipboardData.getData("text/plain"),i=t.clipboardData.getData("vscode-editor-data"),o=(i?JSON.parse(i):void 0)?.mode;if(!e||!o)return!1;const{tr:s}=n.state;return s.replaceSelectionWith(this.type.create({language:o})),s.setSelection(at.near(s.doc.resolve(Math.max(0,s.selection.from-2)))),s.insertText(e.replace(/\r\n?/g,"\n")),s.setMeta("paste",!0),n.dispatch(s),!0}}})]}}),zwe=Bn.create({name:"doc",topNode:!0,content:"block+"});function Vwe(n={}){return new Kt({view:t=>new Bwe(t,n)})}class Bwe{constructor(t,e){var i;this.editorView=t,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=null!==(i=e.width)&&void 0!==i?i:1,this.color=!1===e.color?void 0:e.color||"black",this.class=e.class,this.handlers=["dragover","dragend","drop","dragleave"].map(r=>{let o=s=>{this[r](s)};return t.dom.addEventListener(r,o),{name:r,handler:o}})}destroy(){this.handlers.forEach(({name:t,handler:e})=>this.editorView.dom.removeEventListener(t,e))}update(t,e){null!=this.cursorPos&&e.doc!=t.state.doc&&(this.cursorPos>t.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(t){t!=this.cursorPos&&(this.cursorPos=t,null==t?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let i,t=this.editorView.state.doc.resolve(this.cursorPos),e=!t.parent.inlineContent;if(e){let a=t.nodeBefore,l=t.nodeAfter;if(a||l){let c=this.editorView.nodeDOM(this.cursorPos-(a?a.nodeSize:0));if(c){let u=c.getBoundingClientRect(),d=a?u.bottom:u.top;a&&l&&(d=(d+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),i={left:u.left,right:u.right,top:d-this.width/2,bottom:d+this.width/2}}}}if(!i){let a=this.editorView.coordsAtPos(this.cursorPos);i={left:a.left-this.width/2,right:a.left+this.width/2,top:a.top,bottom:a.bottom}}let o,s,r=this.editorView.dom.offsetParent;if(this.element||(this.element=r.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",e),this.element.classList.toggle("prosemirror-dropcursor-inline",!e),!r||r==document.body&&"static"==getComputedStyle(r).position)o=-pageXOffset,s=-pageYOffset;else{let a=r.getBoundingClientRect();o=a.left-r.scrollLeft,s=a.top-r.scrollTop}this.element.style.left=i.left-o+"px",this.element.style.top=i.top-s+"px",this.element.style.width=i.right-i.left+"px",this.element.style.height=i.bottom-i.top+"px"}scheduleRemoval(t){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),t)}dragover(t){if(!this.editorView.editable)return;let e=this.editorView.posAtCoords({left:t.clientX,top:t.clientY}),i=e&&e.inside>=0&&this.editorView.state.doc.nodeAt(e.inside),r=i&&i.type.spec.disableDropCursor,o="function"==typeof r?r(this.editorView,e,t):r;if(e&&!o){let s=e.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let a=Yj(this.editorView.state.doc,s,this.editorView.dragging.slice);null!=a&&(s=a)}this.setCursor(s),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(t){(t.target==this.editorView.dom||!this.editorView.dom.contains(t.relatedTarget))&&this.setCursor(null)}}const Uwe=Sn.create({name:"dropCursor",addOptions:()=>({color:"currentColor",width:1,class:void 0}),addProseMirrorPlugins(){return[Vwe(this.options)]}});class ui extends ct{constructor(t){super(t,t)}map(t,e){let i=t.resolve(e.map(this.head));return ui.valid(i)?new ui(i):ct.near(i)}content(){return Te.empty}eq(t){return t instanceof ui&&t.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(t,e){if("number"!=typeof e.pos)throw new RangeError("Invalid input for GapCursor.fromJSON");return new ui(t.resolve(e.pos))}getBookmark(){return new ZE(this.anchor)}static valid(t){let e=t.parent;if(e.isTextblock||!function Hwe(n){for(let t=n.depth;t>=0;t--){let e=n.index(t),i=n.node(t);if(0!=e)for(let r=i.child(e-1);;r=r.lastChild){if(0==r.childCount&&!r.inlineContent||r.isAtom||r.type.spec.isolating)return!0;if(r.inlineContent)return!1}else if(i.type.spec.isolating)return!0}return!0}(t)||!function $we(n){for(let t=n.depth;t>=0;t--){let e=n.indexAfter(t),i=n.node(t);if(e!=i.childCount)for(let r=i.child(e);;r=r.firstChild){if(0==r.childCount&&!r.inlineContent||r.isAtom||r.type.spec.isolating)return!0;if(r.inlineContent)return!1}else if(i.type.spec.isolating)return!0}return!0}(t))return!1;let i=e.type.spec.allowGapCursor;if(null!=i)return i;let r=e.contentMatchAt(t.index()).defaultType;return r&&r.isTextblock}static findGapCursorFrom(t,e,i=!1){e:for(;;){if(!i&&ui.valid(t))return t;let r=t.pos,o=null;for(let s=t.depth;;s--){let a=t.node(s);if(e>0?t.indexAfter(s)0){o=a.child(e>0?t.indexAfter(s):t.index(s)-1);break}if(0==s)return null;r+=e;let l=t.doc.resolve(r);if(ui.valid(l))return l}for(;;){let s=e>0?o.firstChild:o.lastChild;if(!s){if(o.isAtom&&!o.isText&&!Qe.isSelectable(o)){t=t.doc.resolve(r+o.nodeSize*e),i=!1;continue e}break}o=s,r+=e;let a=t.doc.resolve(r);if(ui.valid(a))return a}return null}}}ui.prototype.visible=!1,ui.findFrom=ui.findGapCursorFrom,ct.jsonID("gapcursor",ui);class ZE{constructor(t){this.pos=t}map(t){return new ZE(t.map(this.pos))}resolve(t){let e=t.resolve(this.pos);return ui.valid(e)?new ui(e):ct.near(e)}}const Gwe=ES({ArrowLeft:fC("horiz",-1),ArrowRight:fC("horiz",1),ArrowUp:fC("vert",-1),ArrowDown:fC("vert",1)});function fC(n,t){const e="vert"==n?t>0?"down":"up":t>0?"right":"left";return function(i,r,o){let s=i.selection,a=t>0?s.$to:s.$from,l=s.empty;if(s instanceof at){if(!o.endOfTextblock(e)||0==a.depth)return!1;l=!1,a=i.doc.resolve(t>0?a.after():a.before())}let c=ui.findGapCursorFrom(a,t,l);return!!c&&(r&&r(i.tr.setSelection(new ui(c))),!0)}}function Ywe(n,t,e){if(!n||!n.editable)return!1;let i=n.state.doc.resolve(t);if(!ui.valid(i))return!1;let r=n.posAtCoords({left:e.clientX,top:e.clientY});return!(r&&r.inside>-1&&Qe.isSelectable(n.state.doc.nodeAt(r.inside))||(n.dispatch(n.state.tr.setSelection(new ui(i))),0))}function qwe(n,t){if("insertCompositionText"!=t.inputType||!(n.state.selection instanceof ui))return!1;let{$from:e}=n.state.selection,i=e.parent.contentMatchAt(e.index()).findWrapping(n.state.schema.nodes.text);if(!i)return!1;let r=he.empty;for(let s=i.length-1;s>=0;s--)r=he.from(i[s].createAndFill(null,r));let o=n.state.tr.replace(e.pos,e.pos,new Te(r,0,0));return o.setSelection(at.near(o.doc.resolve(e.pos+1))),n.dispatch(o),!1}function Kwe(n){if(!(n.selection instanceof ui))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",Vn.create(n.doc,[Pi.widget(n.selection.head,t,{key:"gapcursor"})])}const Qwe=Sn.create({name:"gapCursor",addProseMirrorPlugins:()=>[new Kt({props:{decorations:Kwe,createSelectionBetween:(n,t,e)=>t.pos==e.pos&&ui.valid(e)?new ui(e):null,handleClick:Ywe,handleKeyDown:Gwe,handleDOMEvents:{beforeinput:qwe}}})],extendNodeSchema(n){var t;return{allowGapCursor:null!==(t=xt(He(n,"allowGapCursor",{name:n.name,options:n.options,storage:n.storage})))&&void 0!==t?t:null}}}),Zwe=Bn.create({name:"hardBreak",addOptions:()=>({keepMarks:!0,HTMLAttributes:{}}),inline:!0,group:"inline",selectable:!1,parseHTML:()=>[{tag:"br"}],renderHTML({HTMLAttributes:n}){return["br",rn(this.options.HTMLAttributes,n)]},renderText:()=>"\n",addCommands(){return{setHardBreak:()=>({commands:n,chain:t,state:e,editor:i})=>n.first([()=>n.exitCode(),()=>n.command(()=>{const{selection:r,storedMarks:o}=e;if(r.$from.parent.type.spec.isolating)return!1;const{keepMarks:s}=this.options,{splittableMarks:a}=i.extensionManager,l=o||r.$to.parentOffset&&r.$from.marks();return t().insertContent({type:this.name}).command(({tr:c,dispatch:u})=>{if(u&&l&&s){const d=l.filter(h=>a.includes(h.type.name));c.ensureMarks(d)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),Jwe=Bn.create({name:"heading",addOptions:()=>({levels:[1,2,3,4,5,6],HTMLAttributes:{}}),content:"inline*",group:"block",defining:!0,addAttributes:()=>({level:{default:1,rendered:!1}}),parseHTML(){return this.options.levels.map(n=>({tag:`h${n}`,attrs:{level:n}}))},renderHTML({node:n,HTMLAttributes:t}){return[`h${this.options.levels.includes(n.attrs.level)?n.attrs.level:this.options.levels[0]}`,rn(this.options.HTMLAttributes,t),0]},addCommands(){return{setHeading:n=>({commands:t})=>!!this.options.levels.includes(n.level)&&t.setNode(this.name,n),toggleHeading:n=>({commands:t})=>!!this.options.levels.includes(n.level)&&t.toggleNode(this.name,"paragraph",n)}},addKeyboardShortcuts(){return this.options.levels.reduce((n,t)=>({...n,[`Mod-Alt-${t}`]:()=>this.editor.commands.toggleHeading({level:t})}),{})},addInputRules(){return this.options.levels.map(n=>QS({find:new RegExp(`^(#{1,${n}})\\s$`),type:this.type,getAttributes:{level:n}}))}});var er=function(){};er.prototype.append=function(t){return t.length?(t=er.from(t),!this.length&&t||t.length<200&&this.leafAppend(t)||this.length<200&&t.leafPrepend(this)||this.appendInner(t)):this},er.prototype.prepend=function(t){return t.length?er.from(t).append(this):this},er.prototype.appendInner=function(t){return new Xwe(this,t)},er.prototype.slice=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.length),t>=e?er.empty:this.sliceInner(Math.max(0,t),Math.min(this.length,e))},er.prototype.get=function(t){if(!(t<0||t>=this.length))return this.getInner(t)},er.prototype.forEach=function(t,e,i){void 0===e&&(e=0),void 0===i&&(i=this.length),e<=i?this.forEachInner(t,e,i,0):this.forEachInvertedInner(t,e,i,0)},er.prototype.map=function(t,e,i){void 0===e&&(e=0),void 0===i&&(i=this.length);var r=[];return this.forEach(function(o,s){return r.push(t(o,s))},e,i),r},er.from=function(t){return t instanceof er?t:t&&t.length?new aB(t):er.empty};var aB=function(n){function t(i){n.call(this),this.values=i}n&&(t.__proto__=n),(t.prototype=Object.create(n&&n.prototype)).constructor=t;var e={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(r,o){return 0==r&&o==this.length?this:new t(this.values.slice(r,o))},t.prototype.getInner=function(r){return this.values[r]},t.prototype.forEachInner=function(r,o,s,a){for(var l=o;l=s;l--)if(!1===r(this.values[l],a+l))return!1},t.prototype.leafAppend=function(r){if(this.length+r.length<=200)return new t(this.values.concat(r.flatten()))},t.prototype.leafPrepend=function(r){if(this.length+r.length<=200)return new t(r.flatten().concat(this.values))},e.length.get=function(){return this.values.length},e.depth.get=function(){return 0},Object.defineProperties(t.prototype,e),t}(er);er.empty=new aB([]);var Xwe=function(n){function t(e,i){n.call(this),this.left=e,this.right=i,this.length=e.length+i.length,this.depth=Math.max(e.depth,i.depth)+1}return n&&(t.__proto__=n),(t.prototype=Object.create(n&&n.prototype)).constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(i){return ia&&!1===this.right.forEachInner(i,Math.max(r-a,0),Math.min(this.length,o)-a,s+a))return!1},t.prototype.forEachInvertedInner=function(i,r,o,s){var a=this.left.length;if(r>a&&!1===this.right.forEachInvertedInner(i,r-a,Math.max(o,a)-a,s+a)||o=o?this.right.slice(i-o,r-o):this.left.slice(i,o).append(this.right.slice(0,r-o))},t.prototype.leafAppend=function(i){var r=this.right.leafAppend(i);if(r)return new t(this.left,r)},t.prototype.leafPrepend=function(i){var r=this.left.leafPrepend(i);if(r)return new t(r,this.right)},t.prototype.appendInner=function(i){return this.left.depth>=Math.max(this.right.depth,i.depth)+1?new t(this.left,new t(this.right,i)):new t(this,i)},t}(er);const lB=er;class ws{constructor(t,e){this.items=t,this.eventCount=e}popEvent(t,e){if(0==this.eventCount)return null;let r,o,i=this.items.length;for(;;i--)if(this.items.get(i-1).selection){--i;break}e&&(r=this.remapping(i,this.items.length),o=r.maps.length);let a,l,s=t.tr,c=[],u=[];return this.items.forEach((d,h)=>{if(!d.step)return r||(r=this.remapping(i,h+1),o=r.maps.length),o--,void u.push(d);if(r){u.push(new la(d.map));let p,f=d.step.map(r.slice(o));f&&s.maybeStep(f).doc&&(p=s.mapping.maps[s.mapping.maps.length-1],c.push(new la(p,void 0,void 0,c.length+u.length))),o--,p&&r.appendMap(p,o)}else s.maybeStep(d.step);return d.selection?(a=r?d.selection.map(r.slice(o)):d.selection,l=new ws(this.items.slice(0,i).append(u.reverse().concat(c)),this.eventCount-1),!1):void 0},this.items.length,0),{remaining:l,transform:s,selection:a}}addTransform(t,e,i,r){let o=[],s=this.eventCount,a=this.items,l=!r&&a.length?a.get(a.length-1):null;for(let u=0;unTe&&(a=function tTe(n,t){let e;return n.forEach((i,r)=>{if(i.selection&&0==t--)return e=r,!1}),n.slice(e)}(a,c),s-=c),new ws(a.append(o),s)}remapping(t,e){let i=new Mh;return this.items.forEach((r,o)=>{i.appendMap(r.map,null!=r.mirrorOffset&&o-r.mirrorOffset>=t?i.maps.length-r.mirrorOffset:void 0)},t,e),i}addMaps(t){return 0==this.eventCount?this:new ws(this.items.append(t.map(e=>new la(e))),this.eventCount)}rebased(t,e){if(!this.eventCount)return this;let i=[],r=Math.max(0,this.items.length-e),o=t.mapping,s=t.steps.length,a=this.eventCount;this.items.forEach(h=>{h.selection&&a--},r);let l=e;this.items.forEach(h=>{let f=o.getMirror(--l);if(null==f)return;s=Math.min(s,f);let p=o.maps[f];if(h.step){let m=t.steps[f].invert(t.docs[f]),g=h.selection&&h.selection.map(o.slice(l+1,f));g&&a++,i.push(new la(p,m,g))}else i.push(new la(p))},r);let c=[];for(let h=e;h500&&(d=d.compress(this.items.length-i.length)),d}emptyItemCount(){let t=0;return this.items.forEach(e=>{e.step||t++}),t}compress(t=this.items.length){let e=this.remapping(0,t),i=e.maps.length,r=[],o=0;return this.items.forEach((s,a)=>{if(a>=t)r.push(s),s.selection&&o++;else if(s.step){let l=s.step.map(e.slice(i)),c=l&&l.getMap();if(i--,c&&e.appendMap(c,i),l){let u=s.selection&&s.selection.map(e.slice(i));u&&o++;let h,d=new la(c.invert(),l,u),f=r.length-1;(h=r.length&&r[f].merge(d))?r[f]=h:r.push(d)}}else s.map&&i--},this.items.length,0),new ws(lB.from(r.reverse()),o)}}ws.empty=new ws(lB.empty,0);class la{constructor(t,e,i,r){this.map=t,this.step=e,this.selection=i,this.mirrorOffset=r}merge(t){if(this.step&&t.step&&!t.selection){let e=t.step.merge(this.step);if(e)return new la(e.getMap().invert(),e,this.selection)}}}class sc{constructor(t,e,i,r,o){this.done=t,this.undone=e,this.prevRanges=i,this.prevTime=r,this.prevComposition=o}}const nTe=20;function cB(n){let t=[];return n.forEach((e,i,r,o)=>t.push(r,o)),t}function JE(n,t){if(!n)return null;let e=[];for(let i=0;inew sc(ws.empty,ws.empty,null,0,-1),apply:(t,e,i)=>function iTe(n,t,e,i){let o,r=e.getMeta(ca);if(r)return r.historyState;e.getMeta(hB)&&(n=new sc(n.done,n.undone,null,0,-1));let s=e.getMeta("appendedTransaction");if(0==e.steps.length)return n;if(s&&s.getMeta(ca))return s.getMeta(ca).redo?new sc(n.done.addTransform(e,void 0,i,mC(t)),n.undone,cB(e.mapping.maps[e.steps.length-1]),n.prevTime,n.prevComposition):new sc(n.done,n.undone.addTransform(e,void 0,i,mC(t)),null,n.prevTime,n.prevComposition);if(!1===e.getMeta("addToHistory")||s&&!1===s.getMeta("addToHistory"))return(o=e.getMeta("rebased"))?new sc(n.done.rebased(e,o),n.undone.rebased(e,o),JE(n.prevRanges,e.mapping),n.prevTime,n.prevComposition):new sc(n.done.addMaps(e.mapping.maps),n.undone.addMaps(e.mapping.maps),JE(n.prevRanges,e.mapping),n.prevTime,n.prevComposition);{let a=e.getMeta("composition"),l=0==n.prevTime||!s&&n.prevComposition!=a&&(n.prevTime<(e.time||0)-i.newGroupDelay||!function rTe(n,t){if(!t)return!1;if(!n.docChanged)return!0;let e=!1;return n.mapping.maps[0].forEach((i,r)=>{for(let o=0;o=t[o]&&(e=!0)}),e}(e,n.prevRanges)),c=s?JE(n.prevRanges,e.mapping):cB(e.mapping.maps[e.steps.length-1]);return new sc(n.done.addTransform(e,l?t.selection.getBookmark():void 0,i,mC(t)),ws.empty,c,e.time,a??n.prevComposition)}}(e,i,t,n)},config:n={depth:n.depth||100,newGroupDelay:n.newGroupDelay||500},props:{handleDOMEvents:{beforeinput(t,e){let i=e.inputType,r="historyUndo"==i?fB:"historyRedo"==i?pB:null;return!!r&&(e.preventDefault(),r(t.state,t.dispatch))}}}})}const fB=(n,t)=>{let e=ca.getState(n);return!(!e||0==e.done.eventCount||(t&&uB(e,n,t,!1),0))},pB=(n,t)=>{let e=ca.getState(n);return!(!e||0==e.undone.eventCount||(t&&uB(e,n,t,!0),0))},sTe=Sn.create({name:"history",addOptions:()=>({depth:100,newGroupDelay:500}),addCommands:()=>({undo:()=>({state:n,dispatch:t})=>fB(n,t),redo:()=>({state:n,dispatch:t})=>pB(n,t)}),addProseMirrorPlugins(){return[oTe(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Mod-y":()=>this.editor.commands.redo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-\u044f":()=>this.editor.commands.undo(),"Shift-Mod-\u044f":()=>this.editor.commands.redo()}}}),aTe=Bn.create({name:"horizontalRule",addOptions:()=>({HTMLAttributes:{}}),group:"block",parseHTML:()=>[{tag:"hr"}],renderHTML({HTMLAttributes:n}){return["hr",rn(this.options.HTMLAttributes,n)]},addCommands(){return{setHorizontalRule:()=>({chain:n})=>n().insertContent({type:this.name}).command(({tr:t,dispatch:e})=>{var i;if(e){const{$to:r}=t.selection,o=r.end();if(r.nodeAfter)t.setSelection(at.create(t.doc,r.pos));else{const s=null===(i=r.parent.type.contentMatch.defaultType)||void 0===i?void 0:i.create();s&&(t.insert(o,s),t.setSelection(at.create(t.doc,o)))}t.scrollIntoView()}return!0}).run()}},addInputRules(){return[G5({find:/^(?:---|\u2014-|___\s|\*\*\*\s)$/,type:this.type})]}}),lTe=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/,cTe=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g,uTe=/(?:^|\s)((?:_)((?:[^_]+))(?:_))$/,dTe=/(?:^|\s)((?:_)((?:[^_]+))(?:_))/g,hTe=Pr.create({name:"italic",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"em"},{tag:"i",getAttrs:n=>"normal"!==n.style.fontStyle&&null},{style:"font-style=italic"}],renderHTML({HTMLAttributes:n}){return["em",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setItalic:()=>({commands:n})=>n.setMark(this.name),toggleItalic:()=>({commands:n})=>n.toggleMark(this.name),unsetItalic:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[vu({find:lTe,type:this.type}),vu({find:uTe,type:this.type})]},addPasteRules(){return[Yl({find:cTe,type:this.type}),Yl({find:dTe,type:this.type})]}}),fTe=Bn.create({name:"listItem",addOptions:()=>({HTMLAttributes:{}}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:n}){return["li",rn(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),pTe=Bn.create({name:"listItem",addOptions:()=>({HTMLAttributes:{}}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:n}){return["li",rn(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),mB=Pr.create({name:"textStyle",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"span",getAttrs:n=>!!n.hasAttribute("style")&&{}}],renderHTML({HTMLAttributes:n}){return["span",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:t})=>{const e=Zb(n,this.type);return!!Object.entries(e).some(([,r])=>!!r)||t.unsetMark(this.name)}}}}),gB=/^(\d+)\.\s$/,mTe=Bn.create({name:"orderedList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes:()=>({start:{default:1,parseHTML:n=>n.hasAttribute("start")?parseInt(n.getAttribute("start")||"",10):1}}),parseHTML:()=>[{tag:"ol"}],renderHTML({HTMLAttributes:n}){const{start:t,...e}=n;return 1===t?["ol",rn(this.options.HTMLAttributes,e),0]:["ol",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{toggleOrderedList:()=>({commands:n,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(pTe.name,this.editor.getAttributes(mB.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let n=pg({find:gB,type:this.type,getAttributes:t=>({start:+t[1]}),joinPredicate:(t,e)=>e.childCount+e.attrs.start===+t[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(n=pg({find:gB,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:t=>({start:+t[1],...this.editor.getAttributes(mB.name)}),joinPredicate:(t,e)=>e.childCount+e.attrs.start===+t[1],editor:this.editor})),[n]}}),gTe=Bn.create({name:"paragraph",priority:1e3,addOptions:()=>({HTMLAttributes:{}}),group:"block",content:"inline*",parseHTML:()=>[{tag:"p"}],renderHTML({HTMLAttributes:n}){return["p",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setParagraph:()=>({commands:n})=>n.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),yTe=/(?:^|\s)((?:~~)((?:[^~]+))(?:~~))$/,_Te=/(?:^|\s)((?:~~)((?:[^~]+))(?:~~))/g,vTe=Pr.create({name:"strike",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:n=>!!n.includes("line-through")&&{}}],renderHTML({HTMLAttributes:n}){return["s",rn(this.options.HTMLAttributes,n),0]},addCommands(){return{setStrike:()=>({commands:n})=>n.setMark(this.name),toggleStrike:()=>({commands:n})=>n.toggleMark(this.name),unsetStrike:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-x":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[vu({find:yTe,type:this.type})]},addPasteRules(){return[Yl({find:_Te,type:this.type})]}}),bTe=Bn.create({name:"text",group:"inline"}),yB=Sn.create({name:"starterKit",addExtensions(){var n,t,e,i,r,o,s,a,l,c,u,d,h,f,p,m,g,y;const w=[];return!1!==this.options.blockquote&&w.push(Mwe.configure(null===(n=this.options)||void 0===n?void 0:n.blockquote)),!1!==this.options.bold&&w.push(Owe.configure(null===(t=this.options)||void 0===t?void 0:t.bold)),!1!==this.options.bulletList&&w.push(kwe.configure(null===(e=this.options)||void 0===e?void 0:e.bulletList)),!1!==this.options.code&&w.push(Lwe.configure(null===(i=this.options)||void 0===i?void 0:i.code)),!1!==this.options.codeBlock&&w.push(jwe.configure(null===(r=this.options)||void 0===r?void 0:r.codeBlock)),!1!==this.options.document&&w.push(zwe.configure(null===(o=this.options)||void 0===o?void 0:o.document)),!1!==this.options.dropcursor&&w.push(Uwe.configure(null===(s=this.options)||void 0===s?void 0:s.dropcursor)),!1!==this.options.gapcursor&&w.push(Qwe.configure(null===(a=this.options)||void 0===a?void 0:a.gapcursor)),!1!==this.options.hardBreak&&w.push(Zwe.configure(null===(l=this.options)||void 0===l?void 0:l.hardBreak)),!1!==this.options.heading&&w.push(Jwe.configure(null===(c=this.options)||void 0===c?void 0:c.heading)),!1!==this.options.history&&w.push(sTe.configure(null===(u=this.options)||void 0===u?void 0:u.history)),!1!==this.options.horizontalRule&&w.push(aTe.configure(null===(d=this.options)||void 0===d?void 0:d.horizontalRule)),!1!==this.options.italic&&w.push(hTe.configure(null===(h=this.options)||void 0===h?void 0:h.italic)),!1!==this.options.listItem&&w.push(fTe.configure(null===(f=this.options)||void 0===f?void 0:f.listItem)),!1!==this.options.orderedList&&w.push(mTe.configure(null===(p=this.options)||void 0===p?void 0:p.orderedList)),!1!==this.options.paragraph&&w.push(gTe.configure(null===(m=this.options)||void 0===m?void 0:m.paragraph)),!1!==this.options.strike&&w.push(vTe.configure(null===(g=this.options)||void 0===g?void 0:g.strike)),!1!==this.options.text&&w.push(bTe.configure(null===(y=this.options)||void 0===y?void 0:y.text)),w}});var oy=(()=>(function(n){n.TOP_INITIAL="40px",n.TOP_CURRENT="26px"}(oy||(oy={})),oy))();function CTe(n){return n.replace(/\p{L}+('\p{L}+)?/gu,function(t){return t.charAt(0).toUpperCase()+t.slice(1)})}const TTe=Sn.create({name:"dotPlaceholder",addOptions:()=>({emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something \u2026",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}),addProseMirrorPlugins(){return[new Kt({key:new an("dotPlaceholder"),props:{decorations:({doc:n,selection:t})=>{const e=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:i}=t,r=[];if(!e)return null;const o=n.type.createAndFill(),s=o?.sameMarkup(n)&&null===o.content.findDiffStart(n.content);return n.descendants((a,l)=>{if((i>=l&&i<=l+a.nodeSize||!this.options.showOnlyCurrent)&&!a.isLeaf&&!a.childCount){const d=[this.options.emptyNodeClass];s&&d.push(this.options.emptyEditorClass);const h=Pi.widget(l,((n,t,e)=>{const i=document.createElement("button");i.classList.add("add-button"),i.style.position="absolute",i.style.left="-45px",i.style.top="-2px";const r=document.createElement("div");return r.style.position="relative",r.setAttribute("draggable","false"),0===n&&t.type.name===wi.HEADING&&(i.style.top=oy.TOP_INITIAL),0!==n&&t.type.name===wi.HEADING&&(i.style.top=oy.TOP_CURRENT),i.innerHTML='',i.setAttribute("draggable","false"),i.addEventListener("mousedown",o=>{o.preventDefault(),e.chain().insertContent("/").run()},{once:!0}),r.appendChild(i),r})(l,a,this.editor)),f=Pi.node(l,l+a.nodeSize,{class:d.join(" "),"data-placeholder":a.type.name===wi.HEADING?`${CTe(a.type.name)} ${a.attrs.level}`:this.options.placeholder});r.push(f),r.push(h)}return this.options.includeChildren}),Vn.create(n,r)}}})]}});class sy{constructor(){}}function DTe(n,t){if(1&n&&me(0,"dot-editor-count-bar",4),2&n){const e=C(2);_("characterCount",e.characterCount)("charLimit",e.charLimit)("readingTime",e.readingTime)}}sy.\u0275fac=function(t){return new(t||sy)},sy.\u0275cmp=Ce({type:sy,selectors:[["dot-editor-count-bar"]],inputs:{characterCount:"characterCount",charLimit:"charLimit",readingTime:"readingTime"},decls:8,vars:6,template:function(t,e){1&t&&(S(0,"span"),Se(1),E(),S(2,"span"),Se(3,"\u25cf"),E(),Se(4),S(5,"span"),Se(6,"\u25cf"),E(),Se(7)),2&t&&(Wr("error-message",e.charLimit&&e.characterCount.characters()>e.charLimit),b(1),d_(" ",e.characterCount.characters(),"",e.charLimit?"/"+e.charLimit:""," chars\n"),b(3),ji("\n",e.characterCount.words()," words\n"),b(3),ji("\n",e.readingTime,"m read\n"))},styles:["[_nghost-%COMP%]{display:flex;justify-content:flex-end;align-items:flex-end;color:#afb3c0;margin-top:1rem;gap:.65rem;font-size:16px}[_nghost-%COMP%] .error-message[_ngcontent-%COMP%]{color:#d82b2e}"]});const MTe=function(n,t){return{"editor-wrapper--fullscreen":n,"editor-wrapper--default":t}},STe=function(n){return{"overflow-hidden":n}};function ETe(n,t){if(1&n){const e=Ne();tt(0),S(1,"div",1)(2,"tiptap-editor",2),se("ngModelChange",function(r){return ee(e),te(C().onBlockEditorChange(r))})("keyup",function(){return ee(e),te(C().subject.next())}),E()(),D(3,DTe,1,3,"dot-editor-count-bar",3),nt()}if(2&n){const e=C();b(1),Gn(e.customStyles),_("ngClass",Fn(7,MTe,"true"===e.isFullscreen,"true"!==e.isFullscreen)),b(1),_("ngModel",e.content)("editor",e.editor)("ngClass",it(10,STe,e.freezeScroll)),b(1),_("ngIf",e.showCharData)}}class _f{constructor(t,e,i){this.injector=t,this.viewContainerRef=e,this.dotMarketingConfigService=i,this.languageId=_g,this.isFullscreen=!1,this.value="",this.valueChange=new Q,this.destroy$=new ue,this.allowedBlocks=["paragraph"],this._customNodes=new Map([["dotContent",vge(this.injector)],["image",oo],["video",Dge],["table",$_e.extend({resizable:!0})],["aiContent",Sge],["loader",Ege]]),this.displayCountBar=!0,this.customBlocks="",this.content="",this.subject=new ue,this.freezeScroll=!0,this.cd=st(In),this.dotPropertiesService=st(eu)}get characterCount(){return this.editor?.storage.characterCount}get showCharData(){try{return JSON.parse(this.displayCountBar)}catch{return!0}}get readingTime(){return Math.ceil(this.characterCount.words()/265)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}writeValue(t){this.value=t,this.setEditorContent(t)}loadCustomBlocks(t){return tu(function*(){return Promise.allSettled(t.map(function(){var e=tu(function*(i){return import(i)});return function(i){return e.apply(this,arguments)}}()))})()}ngOnInit(){this.setFieldVariable(),zv([this.showVideoThumbnail$(),Et(this.getCustomRemoteExtensions())]).pipe(At(1)).subscribe(([t,e])=>{this.editor=new Yce({extensions:[...this.getEditorExtensions(),...this.getEditorMarks(),...this.getEditorNodes(),...e]}),this.dotMarketingConfigService.setProperty(gh.SHOW_VIDEO_THUMBNAIL,t),this.subscribeToEditorEvents()})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}onBlockEditorChange(t){this.valueChange.emit(t),this.onChange?.(JSON.stringify(t)),this.onTouched?.()}setAllowedBlocks(t){const e=t?t.replace(/ /g,"").split(",").filter(Boolean):[];this.allowedBlocks=[...this.allowedBlocks,...e]}subscribeToEditorEvents(){this.editor.on("create",()=>{this.setEditorContent(this.value),this.updateCharCount()}),this.subject.pipe(yn(this.destroy$),th(250)).subscribe(()=>this.updateCharCount()),this.editor.on("transaction",({editor:t})=>{this.freezeScroll=Pg.getState(t.view.state)?.freezeScroll}),this.cd.detectChanges()}updateCharCount(){const t=this.editor.state.tr.setMeta("addToHistory",!1);0!=this.characterCount.characters()?t.step(new Tu("charCount",this.characterCount.characters())).step(new Tu("wordCount",this.characterCount.words())).step(new Tu("readingTime",this.readingTime)):t.step(new a0),this.editor.view.dispatch(t)}showVideoThumbnail$(){return this.dotPropertiesService.getKey(gh.SHOW_VIDEO_THUMBNAIL).pipe(fe((t="true")=>"true"===t||"NOT_FOUND"===t))}isValidSchema(t){FV(t,Ru({extensions:zV(Ru({url:Zg(),actions:BV(zV(Ru({command:Zg(),menuLabel:Zg(),icon:Zg()})))}))}))}getParsedCustomBlocks(){if(!this.customBlocks?.length)return{extensions:[]};try{const e=JSON.parse(this.customBlocks);return this.isValidSchema(e),e}catch(e){return console.warn("JSON parse fails, please check the JSON format.",e),{extensions:[]}}}parsedCustomModules(t,e){return e.status===rm.REJECTED&&console.warn("Failed to load the module",e.reason),e.status===rm.FULFILLED?{...t,...e?.value}:{...t}}getCustomRemoteExtensions(){var t=this;return tu(function*(){const e=t.getParsedCustomBlocks(),i=e?.extensions?.map(a=>a.url),r=yield t.loadCustomBlocks(i),o=[];e.extensions.forEach(a=>{o.push(...a.actions?.map(l=>l.name)||[])});const s=r.reduce(t.parsedCustomModules,{});return Object.values(s)})()}getEditorNodes(){return[this.allowedBlocks?.length>1?yB.configure(this.starterConfig()):yB,...this.getAllowedCustomNodes()]}starterConfig(){const i=["heading1","heading2","heading3","heading4","heading5","heading6"].filter(o=>this.allowedBlocks?.includes(o)).map(o=>+o.slice(-1)),r=["orderedList","bulletList","blockquote","codeBlock","horizontalRule"].filter(o=>!this.allowedBlocks?.includes(o)).reduce((o,s)=>({...o,[s]:!1}),{});return{heading:!!i?.length&&{levels:i,HTMLAttributes:{}},...r}}getAllowedCustomNodes(){const t=[];if(this.allowedBlocks.length<=1)return[...this._customNodes.values()];for(const e of this.allowedBlocks){const i=this._customNodes.get(e);i&&t.push(i)}return t}getEditorExtensions(){return[Rye({lang:this.languageId||this.contentlet?.languageId,allowedContentTypes:this.allowedContentTypes,allowedBlocks:this.allowedBlocks,contentletIdentifier:this.contentletIdentifier}),Lye,TTe.configure({placeholder:'Type "/" for commands'}),Twe.configure({height:300,width:400,interfaceLanguage:"us",nocookie:!0,modestBranding:!0}),pwe,mwe,Gue(this.viewContainerRef,this.getParsedCustomBlocks()),G_e(this.viewContainerRef),uye(this.viewContainerRef,this.languageId),Pye(this.viewContainerRef),Tye(this.viewContainerRef),Tve(this.viewContainerRef),gbe(this.viewContainerRef),bbe(this.viewContainerRef),eve(this.injector,this.viewContainerRef),Bye(this.viewContainerRef),Xue(this.viewContainerRef),Uye.extend({renderHTML({HTMLAttributes:n}){return["th",rn(this.options.HTMLAttributes,n),["button",{class:"dot-cell-arrow"}],["p",0]]}}),gwe,tve,$Ce,Ige(this.injector,this.viewContainerRef)]}getEditorMarks(){return[_we,ywe.configure({types:["heading","paragraph","listItem","dotImage"]}),YCe.configure({HTMLAttributes:{style:"background: #accef7;"}}),fwe.configure({autolink:!1,openOnClick:!1})]}setEditorJSONContent(t){this.content=this.allowedBlocks?.length>1?((n,t)=>{const e=(n=>n.reduce((t,e)=>X5[e]?{...t,...X5[e]}:{...t,[e]:!0},xue))(this.allowedBlocks),i=Array.isArray(n)?[...n]:[...n.content];return ez(i,e)})(t):t}setEditorContent(t){"string"!=typeof t?this.setEditorJSONContent(t):this.content=(n=>{const t=new RegExp(/]*)>(.|\n)*?<\/p>/gm),e=new RegExp(/]*)>(.|\n)*?<\/h\d+>/gm),i=new RegExp(/]*)>(.|\n)*?<\/li>/gm),r=new RegExp(/<(ul|ol)(|\s+[^>]*)>(.|\n)*?<\/(ul|ol)>/gm);return n.replace(kue,o=>(n=>{const t=document.createElement("div");t.innerHTML=n;const e=t.querySelector("a").getAttribute("href"),i=t.querySelector("a").getAttribute("href"),r=t.querySelector("a").getAttribute("alt");return n.replace(/]*)>/gm,"").replace(//gm,"").replace(tE,o=>o.replace(/img/gm,`img href="${e}" title="${i}" alt="${r}"`))})(o)).replace(t,o=>s0(o)).replace(e,o=>s0(o)).replace(i,o=>s0(o)).replace(r,o=>s0(o))})(t)}setFieldVariable(){const{contentTypes:t,styles:e,displayCountBar:i,charLimit:r,customBlocks:o,allowedBlocks:s}=this.getFieldVariables();this.allowedContentTypes=t,this.customStyles=e,this.displayCountBar=i,this.charLimit=Number(r),this.customBlocks=o,this.setAllowedBlocks(s)}getFieldVariables(){return this.field?.fieldVariables.reduce((t,{key:e,value:i})=>({...t,[e]:i}),{})||{}}}_f.\u0275fac=function(t){return new(t||_f)(I(Dr),I(Gr),I(Cu))},_f.\u0275cmp=Ce({type:_f,selectors:[["dot-block-editor"]],inputs:{field:"field",contentlet:"contentlet",languageId:"languageId",isFullscreen:"isFullscreen",value:"value"},outputs:{valueChange:"valueChange"},features:[Pt([{provide:Qi,useExisting:Ft(()=>_f),multi:!0}])],decls:1,vars:1,consts:[[4,"ngIf"],[1,"editor-wrapper",3,"ngClass"],[3,"ngModel","editor","ngClass","ngModelChange","keyup"],[3,"characterCount","charLimit","readingTime",4,"ngIf"],[3,"characterCount","charLimit","readingTime"]],template:function(t,e){1&t&&D(0,ETe,4,12,"ng-container",0),2&t&&_("ngIf",e.editor)},dependencies:[Qn,zt,Rc,Ep,Gh,sy],styles:['[_nghost-%COMP%]{position:relative;font-family:Assistant,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;height:100%;display:block}[_nghost-%COMP%] .editor-wrapper[_ngcontent-%COMP%]{display:block;border-radius:.25rem;overflow:hidden;position:relative;resize:vertical;outline:#afb3c0 solid 1px}[_nghost-%COMP%] .editor-wrapper--default[_ngcontent-%COMP%]{height:500px}[_nghost-%COMP%] .editor-wrapper--fullscreen[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%]:focus-within{outline-color:var(--color-palette-primary-500)}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] {display:block;height:100%;overflow-y:auto;width:100%}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror{box-sizing:border-box;display:block;min-height:100%;outline:none;padding:16px 64px;font:16px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror img{max-width:100%;max-height:100%;position:relative}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror img:before{align-items:center;background:#f3f3f4;border-radius:3px;border:1px solid #afb3c0;color:#6c7389;content:"The image URL " attr(src) " seems to be broken, please double check the URL.";display:flex;height:100%;left:0;padding:1rem;position:absolute;text-align:center;width:100%}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror ul, [_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror ol{padding-inline-start:16px;margin:0 0 0 16px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror ol li{list-style-type:decimal}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror ul li{list-style-type:disc}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror li{padding-top:4.576px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror li p{padding:0;margin:0}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h1{font-size:38.88px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h2{font-size:30.88px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h3{font-size:25.12px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h4{font-size:20.64px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h5{font-size:17.12px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h6{font-size:16px;font-weight:700;font-style:normal}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h1, [_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h2, [_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h3, [_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h4, [_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h5, [_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror h6{margin:48px 0 22.08px;line-height:1.3}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror p{font-size:16px;line-height:20.64px;padding-top:4.576px;margin-bottom:16px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror p.is-empty{padding-top:4.576px;margin:0 0 5px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror blockquote{margin:16px;border-left:3px solid var(--color-palette-black-op-10);padding-left:16px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror pre{background:#14151a;border-radius:8px;color:#fff;padding:12px 16px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror pre code{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;background:none;color:inherit;padding:0}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror .is-empty:before{color:#afb3c0;content:attr(data-placeholder);float:left;height:0;pointer-events:none}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror .add-button{all:unset;cursor:pointer;border:solid 1px #eee;width:32px;height:32px;display:flex;align-items:center;justify-content:center;color:#666;background:#ffffff}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table{border-collapse:collapse;margin:0;overflow:hidden;table-layout:fixed;width:100%}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table td, [_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table th{border:2px solid #afb3c0;box-sizing:border-box;min-width:1rem;padding:3px 20px 3px 5px;position:relative;vertical-align:top}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table th{background-clip:padding-box}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table td>*, [_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table th>*{margin-bottom:0}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table th{background-color:#f3f3f4;font-weight:700;text-align:left}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table .selectedCell{background-color:#ebecef}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table .selectedCell:after{content:"";inset:0;pointer-events:none;position:absolute}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table .column-resize-handle{bottom:-2px;position:absolute;right:-2px;pointer-events:none;top:0;width:4px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table p{margin:0}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table .tableWrapper{padding:1rem 0;overflow-x:auto}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table .resize-cursor{cursor:ew-resize;cursor:col-resize}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table .dot-cell-arrow{position:absolute;display:none;top:3px;right:5px;border:solid black;border-width:0 2px 2px 0;padding:3px;transform:rotate(45deg);-webkit-transform:rotate(45deg);background:transparent;cursor:pointer;z-index:100}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table .selectedCell .dot-cell-arrow{display:block}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table td.focus .dot-cell-arrow, [_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ProseMirror table th.focus .dot-cell-arrow{display:block}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .video-container{margin-bottom:1rem;aspect-ratio:16/9;height:300px}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .video-container video{width:100%;height:100%}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .image-container{margin-bottom:1rem}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .image-container img{width:auto;max-height:300px;max-width:50%;padding:.5rem}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .image-container.ProseMirror-selectednode img{outline:1px solid var(--color-palette-primary-500)}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .ai-content-container.ProseMirror-selectednode{background-color:var(--color-palette-primary-op-20);border:1px solid var(--color-palette-primary-300)}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .loader-style{display:flex;justify-content:center;flex-direction:column;align-items:center;min-height:12.5rem;min-width:25rem;width:25.5625rem;height:17.375rem;padding:.5rem;border-radius:.5rem;border:1.5px solid #d1d4db}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%] .p-progress-spinner{border:5px solid #ebecef;border-radius:50%;border-top:5px solid var(--color-palette-primary-500);width:2.4rem;height:2.4rem;animation:_ngcontent-%COMP%_spin 1s linear infinite}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}[_nghost-%COMP%] tiptap-editor[_ngcontent-%COMP%]{scrollbar-gutter:stable}[_nghost-%COMP%] .overflow-hidden[_ngcontent-%COMP%]{overflow-y:hidden}']});class vf{constructor(t){this.injector=t}ngDoBootstrap(){if(void 0===customElements.get("dotcms-block-editor")){const t=function vq(n,t){const e=function hq(n,t){return t.get(Sc).resolveComponentFactory(n).inputs}(n,t.injector),i=t.strategyFactory||new gq(n,t.injector),r=function dq(n){const t={};return n.forEach(({propName:e,templateName:i})=>{t[function sq(n){return n.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(i)]=e}),t}(e);class o extends _q{get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=i.create(this.injector||t.injector);e.forEach(({propName:l})=>{if(!this.hasOwnProperty(l))return;const c=this[l];delete this[l],a.setInputValue(l,c)})}return this._ngElementStrategy}constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,u){this.ngElementStrategy.setInputValue(r[a],c)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return o.observedAttributes=Object.keys(r),e.forEach(({propName:s})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(a){this.ngElementStrategy.setInputValue(s,a)},configurable:!0,enumerable:!0})}),o}(_f,{injector:this.injector});customElements.define("dotcms-block-editor",t)}}}vf.\u0275fac=function(t){return new(t||vf)(F(Dr))},vf.\u0275mod=et({type:vf}),vf.\u0275inj=ft({providers:[eu],imports:[P2,yZ,gn,cv,df,U1,E1,xD]}),mY().bootstrapModule(vf).catch(n=>console.error(n))},10152:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(k,V){for(var B=k<0?"-":"",G=Math.abs(k).toString();G.length{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(k,V){if(null==k)throw new TypeError("assign requires that input parameter not be null or undefined");for(var B in V)Object.prototype.hasOwnProperty.call(V,B)&&(k[B]=V[B]);return k},K.exports=O.default},42926:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function B(G){return(0,V.default)({},G)};var V=k(A(32963));K.exports=O.default},73215:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var V=k(A(33338));O.default=V.default,K.exports=O.default},40150:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.getDefaultOptions=function k(){return A},O.setDefaultOptions=function V(B){A=B};var A={}},1635:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var V=k(A(90448)),B=k(A(71074)),G=k(A(23122)),$=k(A(8622)),R=k(A(68450)),P=k(A(10152)),Y=k(A(21393));function Ue(X,U){var W=X>0?"-":"+",j=Math.abs(X),z=Math.floor(j/60),pe=j%60;if(0===pe)return W+String(z);var Fe=U||"";return W+String(z)+Fe+(0,P.default)(pe,2)}function _e(X,U){return X%60==0?(X>0?"-":"+")+(0,P.default)(Math.abs(X)/60,2):ze(X,U)}function ze(X,U){var W=U||"",j=X>0?"-":"+",z=Math.abs(X);return j+(0,P.default)(Math.floor(z/60),2)+W+(0,P.default)(z%60,2)}O.default={G:function(U,W,j){var z=U.getUTCFullYear()>0?1:0;switch(W){case"G":case"GG":case"GGG":return j.era(z,{width:"abbreviated"});case"GGGGG":return j.era(z,{width:"narrow"});default:return j.era(z,{width:"wide"})}},y:function(U,W,j){if("yo"===W){var z=U.getUTCFullYear();return j.ordinalNumber(z>0?z:1-z,{unit:"year"})}return Y.default.y(U,W)},Y:function(U,W,j,z){var pe=(0,R.default)(U,z),Fe=pe>0?pe:1-pe;return"YY"===W?(0,P.default)(Fe%100,2):"Yo"===W?j.ordinalNumber(Fe,{unit:"year"}):(0,P.default)(Fe,W.length)},R:function(U,W){var j=(0,G.default)(U);return(0,P.default)(j,W.length)},u:function(U,W){var j=U.getUTCFullYear();return(0,P.default)(j,W.length)},Q:function(U,W,j){var z=Math.ceil((U.getUTCMonth()+1)/3);switch(W){case"Q":return String(z);case"QQ":return(0,P.default)(z,2);case"Qo":return j.ordinalNumber(z,{unit:"quarter"});case"QQQ":return j.quarter(z,{width:"abbreviated",context:"formatting"});case"QQQQQ":return j.quarter(z,{width:"narrow",context:"formatting"});default:return j.quarter(z,{width:"wide",context:"formatting"})}},q:function(U,W,j){var z=Math.ceil((U.getUTCMonth()+1)/3);switch(W){case"q":return String(z);case"qq":return(0,P.default)(z,2);case"qo":return j.ordinalNumber(z,{unit:"quarter"});case"qqq":return j.quarter(z,{width:"abbreviated",context:"standalone"});case"qqqqq":return j.quarter(z,{width:"narrow",context:"standalone"});default:return j.quarter(z,{width:"wide",context:"standalone"})}},M:function(U,W,j){var z=U.getUTCMonth();switch(W){case"M":case"MM":return Y.default.M(U,W);case"Mo":return j.ordinalNumber(z+1,{unit:"month"});case"MMM":return j.month(z,{width:"abbreviated",context:"formatting"});case"MMMMM":return j.month(z,{width:"narrow",context:"formatting"});default:return j.month(z,{width:"wide",context:"formatting"})}},L:function(U,W,j){var z=U.getUTCMonth();switch(W){case"L":return String(z+1);case"LL":return(0,P.default)(z+1,2);case"Lo":return j.ordinalNumber(z+1,{unit:"month"});case"LLL":return j.month(z,{width:"abbreviated",context:"standalone"});case"LLLLL":return j.month(z,{width:"narrow",context:"standalone"});default:return j.month(z,{width:"wide",context:"standalone"})}},w:function(U,W,j,z){var pe=(0,$.default)(U,z);return"wo"===W?j.ordinalNumber(pe,{unit:"week"}):(0,P.default)(pe,W.length)},I:function(U,W,j){var z=(0,B.default)(U);return"Io"===W?j.ordinalNumber(z,{unit:"week"}):(0,P.default)(z,W.length)},d:function(U,W,j){return"do"===W?j.ordinalNumber(U.getUTCDate(),{unit:"date"}):Y.default.d(U,W)},D:function(U,W,j){var z=(0,V.default)(U);return"Do"===W?j.ordinalNumber(z,{unit:"dayOfYear"}):(0,P.default)(z,W.length)},E:function(U,W,j){var z=U.getUTCDay();switch(W){case"E":case"EE":case"EEE":return j.day(z,{width:"abbreviated",context:"formatting"});case"EEEEE":return j.day(z,{width:"narrow",context:"formatting"});case"EEEEEE":return j.day(z,{width:"short",context:"formatting"});default:return j.day(z,{width:"wide",context:"formatting"})}},e:function(U,W,j,z){var pe=U.getUTCDay(),Fe=(pe-z.weekStartsOn+8)%7||7;switch(W){case"e":return String(Fe);case"ee":return(0,P.default)(Fe,2);case"eo":return j.ordinalNumber(Fe,{unit:"day"});case"eee":return j.day(pe,{width:"abbreviated",context:"formatting"});case"eeeee":return j.day(pe,{width:"narrow",context:"formatting"});case"eeeeee":return j.day(pe,{width:"short",context:"formatting"});default:return j.day(pe,{width:"wide",context:"formatting"})}},c:function(U,W,j,z){var pe=U.getUTCDay(),Fe=(pe-z.weekStartsOn+8)%7||7;switch(W){case"c":return String(Fe);case"cc":return(0,P.default)(Fe,W.length);case"co":return j.ordinalNumber(Fe,{unit:"day"});case"ccc":return j.day(pe,{width:"abbreviated",context:"standalone"});case"ccccc":return j.day(pe,{width:"narrow",context:"standalone"});case"cccccc":return j.day(pe,{width:"short",context:"standalone"});default:return j.day(pe,{width:"wide",context:"standalone"})}},i:function(U,W,j){var z=U.getUTCDay(),pe=0===z?7:z;switch(W){case"i":return String(pe);case"ii":return(0,P.default)(pe,W.length);case"io":return j.ordinalNumber(pe,{unit:"day"});case"iii":return j.day(z,{width:"abbreviated",context:"formatting"});case"iiiii":return j.day(z,{width:"narrow",context:"formatting"});case"iiiiii":return j.day(z,{width:"short",context:"formatting"});default:return j.day(z,{width:"wide",context:"formatting"})}},a:function(U,W,j){var pe=U.getUTCHours()/12>=1?"pm":"am";switch(W){case"a":case"aa":return j.dayPeriod(pe,{width:"abbreviated",context:"formatting"});case"aaa":return j.dayPeriod(pe,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return j.dayPeriod(pe,{width:"narrow",context:"formatting"});default:return j.dayPeriod(pe,{width:"wide",context:"formatting"})}},b:function(U,W,j){var pe,z=U.getUTCHours();switch(pe=12===z?"noon":0===z?"midnight":z/12>=1?"pm":"am",W){case"b":case"bb":return j.dayPeriod(pe,{width:"abbreviated",context:"formatting"});case"bbb":return j.dayPeriod(pe,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return j.dayPeriod(pe,{width:"narrow",context:"formatting"});default:return j.dayPeriod(pe,{width:"wide",context:"formatting"})}},B:function(U,W,j){var pe,z=U.getUTCHours();switch(pe=z>=17?"evening":z>=12?"afternoon":z>=4?"morning":"night",W){case"B":case"BB":case"BBB":return j.dayPeriod(pe,{width:"abbreviated",context:"formatting"});case"BBBBB":return j.dayPeriod(pe,{width:"narrow",context:"formatting"});default:return j.dayPeriod(pe,{width:"wide",context:"formatting"})}},h:function(U,W,j){if("ho"===W){var z=U.getUTCHours()%12;return 0===z&&(z=12),j.ordinalNumber(z,{unit:"hour"})}return Y.default.h(U,W)},H:function(U,W,j){return"Ho"===W?j.ordinalNumber(U.getUTCHours(),{unit:"hour"}):Y.default.H(U,W)},K:function(U,W,j){var z=U.getUTCHours()%12;return"Ko"===W?j.ordinalNumber(z,{unit:"hour"}):(0,P.default)(z,W.length)},k:function(U,W,j){var z=U.getUTCHours();return 0===z&&(z=24),"ko"===W?j.ordinalNumber(z,{unit:"hour"}):(0,P.default)(z,W.length)},m:function(U,W,j){return"mo"===W?j.ordinalNumber(U.getUTCMinutes(),{unit:"minute"}):Y.default.m(U,W)},s:function(U,W,j){return"so"===W?j.ordinalNumber(U.getUTCSeconds(),{unit:"second"}):Y.default.s(U,W)},S:function(U,W){return Y.default.S(U,W)},X:function(U,W,j,z){var Fe=(z._originalDate||U).getTimezoneOffset();if(0===Fe)return"Z";switch(W){case"X":return _e(Fe);case"XXXX":case"XX":return ze(Fe);default:return ze(Fe,":")}},x:function(U,W,j,z){var Fe=(z._originalDate||U).getTimezoneOffset();switch(W){case"x":return _e(Fe);case"xxxx":case"xx":return ze(Fe);default:return ze(Fe,":")}},O:function(U,W,j,z){var Fe=(z._originalDate||U).getTimezoneOffset();switch(W){case"O":case"OO":case"OOO":return"GMT"+Ue(Fe,":");default:return"GMT"+ze(Fe,":")}},z:function(U,W,j,z){var Fe=(z._originalDate||U).getTimezoneOffset();switch(W){case"z":case"zz":case"zzz":return"GMT"+Ue(Fe,":");default:return"GMT"+ze(Fe,":")}},t:function(U,W,j,z){var Fe=Math.floor((z._originalDate||U).getTime()/1e3);return(0,P.default)(Fe,W.length)},T:function(U,W,j,z){var Fe=(z._originalDate||U).getTime();return(0,P.default)(Fe,W.length)}},K.exports=O.default},21393:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var V=k(A(10152));O.default={y:function(R,P){var Y=R.getUTCFullYear(),ie=Y>0?Y:1-Y;return(0,V.default)("yy"===P?ie%100:ie,P.length)},M:function(R,P){var Y=R.getUTCMonth();return"M"===P?String(Y+1):(0,V.default)(Y+1,2)},d:function(R,P){return(0,V.default)(R.getUTCDate(),P.length)},a:function(R,P){var Y=R.getUTCHours()/12>=1?"pm":"am";switch(P){case"a":case"aa":return Y.toUpperCase();case"aaa":return Y;case"aaaaa":return Y[0];default:return"am"===Y?"a.m.":"p.m."}},h:function(R,P){return(0,V.default)(R.getUTCHours()%12||12,P.length)},H:function(R,P){return(0,V.default)(R.getUTCHours(),P.length)},m:function(R,P){return(0,V.default)(R.getUTCMinutes(),P.length)},s:function(R,P){return(0,V.default)(R.getUTCSeconds(),P.length)},S:function(R,P){var Y=P.length,ie=R.getUTCMilliseconds(),ce=Math.floor(ie*Math.pow(10,Y-3));return(0,V.default)(ce,P.length)}},K.exports=O.default},75852:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var A=function(R,P){switch(R){case"P":return P.date({width:"short"});case"PP":return P.date({width:"medium"});case"PPP":return P.date({width:"long"});default:return P.date({width:"full"})}},k=function(R,P){switch(R){case"p":return P.time({width:"short"});case"pp":return P.time({width:"medium"});case"ppp":return P.time({width:"long"});default:return P.time({width:"full"})}};O.default={p:k,P:function(R,P){var Ue,Y=R.match(/(P+)(p+)?/)||[],ie=Y[1],ce=Y[2];if(!ce)return A(R,P);switch(ie){case"P":Ue=P.dateTime({width:"short"});break;case"PP":Ue=P.dateTime({width:"medium"});break;case"PPP":Ue=P.dateTime({width:"long"});break;default:Ue=P.dateTime({width:"full"})}return Ue.replace("{{date}}",A(ie,P)).replace("{{time}}",k(ce,P))}},K.exports=O.default},47664:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(k){var V=new Date(Date.UTC(k.getFullYear(),k.getMonth(),k.getDate(),k.getHours(),k.getMinutes(),k.getSeconds(),k.getMilliseconds()));return V.setUTCFullYear(k.getFullYear()),k.getTime()-V.getTime()},K.exports=O.default},90448:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function $(R){(0,B.default)(1,arguments);var P=(0,V.default)(R),Y=P.getTime();P.setUTCMonth(0,1),P.setUTCHours(0,0,0,0);var ie=P.getTime(),ce=Y-ie;return Math.floor(ce/G)+1};var V=k(A(90798)),B=k(A(61886)),G=864e5;K.exports=O.default},71074:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function P(Y){(0,$.default)(1,arguments);var ie=(0,V.default)(Y),ce=(0,B.default)(ie).getTime()-(0,G.default)(ie).getTime();return Math.round(ce/R)+1};var V=k(A(90798)),B=k(A(96729)),G=k(A(50525)),$=k(A(61886)),R=6048e5;K.exports=O.default},23122:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function $(R){(0,B.default)(1,arguments);var P=(0,V.default)(R),Y=P.getUTCFullYear(),ie=new Date(0);ie.setUTCFullYear(Y+1,0,4),ie.setUTCHours(0,0,0,0);var ce=(0,G.default)(ie),Ue=new Date(0);Ue.setUTCFullYear(Y,0,4),Ue.setUTCHours(0,0,0,0);var _e=(0,G.default)(Ue);return P.getTime()>=ce.getTime()?Y+1:P.getTime()>=_e.getTime()?Y:Y-1};var V=k(A(90798)),B=k(A(61886)),G=k(A(96729));K.exports=O.default},8622:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function P(Y,ie){(0,$.default)(1,arguments);var ce=(0,V.default)(Y),Ue=(0,B.default)(ce,ie).getTime()-(0,G.default)(ce,ie).getTime();return Math.round(Ue/R)+1};var V=k(A(90798)),B=k(A(88314)),G=k(A(72447)),$=k(A(61886)),R=6048e5;K.exports=O.default},68450:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function P(Y,ie){var ce,Ue,_e,ze,re,X,U,W;(0,B.default)(1,arguments);var j=(0,V.default)(Y),z=j.getUTCFullYear(),pe=(0,R.getDefaultOptions)(),Fe=(0,$.default)(null!==(ce=null!==(Ue=null!==(_e=null!==(ze=ie?.firstWeekContainsDate)&&void 0!==ze?ze:null==ie||null===(re=ie.locale)||void 0===re||null===(X=re.options)||void 0===X?void 0:X.firstWeekContainsDate)&&void 0!==_e?_e:pe.firstWeekContainsDate)&&void 0!==Ue?Ue:null===(U=pe.locale)||void 0===U||null===(W=U.options)||void 0===W?void 0:W.firstWeekContainsDate)&&void 0!==ce?ce:1);if(!(Fe>=1&&Fe<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Ee=new Date(0);Ee.setUTCFullYear(z+1,0,Fe),Ee.setUTCHours(0,0,0,0);var xe=(0,G.default)(Ee,ie),Ae=new Date(0);Ae.setUTCFullYear(z,0,Fe),Ae.setUTCHours(0,0,0,0);var ve=(0,G.default)(Ae,ie);return j.getTime()>=xe.getTime()?z+1:j.getTime()>=ve.getTime()?z:z-1};var V=k(A(90798)),B=k(A(61886)),G=k(A(88314)),$=k(A(6092)),R=A(40150);K.exports=O.default},70183:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.isProtectedDayOfYearToken=function V($){return-1!==A.indexOf($)},O.isProtectedWeekYearToken=function B($){return-1!==k.indexOf($)},O.throwProtectedError=function G($,R,P){if("YYYY"===$)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(R,"`) for formatting years to the input `").concat(P,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===$)throw new RangeError("Use `yy` instead of `YY` (in `".concat(R,"`) for formatting years to the input `").concat(P,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===$)throw new RangeError("Use `d` instead of `D` (in `".concat(R,"`) for formatting days of the month to the input `").concat(P,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===$)throw new RangeError("Use `dd` instead of `DD` (in `".concat(R,"`) for formatting days of the month to the input `").concat(P,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))};var A=["D","DD"],k=["YY","YYYY"]},61886:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(k,V){if(V.length1?"s":"")+" required, but only "+V.length+" present")},K.exports=O.default},96729:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function G($){(0,B.default)(1,arguments);var R=1,P=(0,V.default)($),Y=P.getUTCDay(),ie=(Y{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function $(R){(0,G.default)(1,arguments);var P=(0,V.default)(R),Y=new Date(0);Y.setUTCFullYear(P,0,4),Y.setUTCHours(0,0,0,0);var ie=(0,B.default)(Y);return ie};var V=k(A(23122)),B=k(A(96729)),G=k(A(61886));K.exports=O.default},88314:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function R(P,Y){var ie,ce,Ue,_e,ze,re,X,U;(0,B.default)(1,arguments);var W=(0,$.getDefaultOptions)(),j=(0,G.default)(null!==(ie=null!==(ce=null!==(Ue=null!==(_e=Y?.weekStartsOn)&&void 0!==_e?_e:null==Y||null===(ze=Y.locale)||void 0===ze||null===(re=ze.options)||void 0===re?void 0:re.weekStartsOn)&&void 0!==Ue?Ue:W.weekStartsOn)&&void 0!==ce?ce:null===(X=W.locale)||void 0===X||null===(U=X.options)||void 0===U?void 0:U.weekStartsOn)&&void 0!==ie?ie:0);if(!(j>=0&&j<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var z=(0,V.default)(P),pe=z.getUTCDay(),Fe=(pe{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function P(Y,ie){var ce,Ue,_e,ze,re,X,U,W;(0,B.default)(1,arguments);var j=(0,R.getDefaultOptions)(),z=(0,$.default)(null!==(ce=null!==(Ue=null!==(_e=null!==(ze=ie?.firstWeekContainsDate)&&void 0!==ze?ze:null==ie||null===(re=ie.locale)||void 0===re||null===(X=re.options)||void 0===X?void 0:X.firstWeekContainsDate)&&void 0!==_e?_e:j.firstWeekContainsDate)&&void 0!==Ue?Ue:null===(U=j.locale)||void 0===U||null===(W=U.options)||void 0===W?void 0:W.firstWeekContainsDate)&&void 0!==ce?ce:1),pe=(0,V.default)(Y,ie),Fe=new Date(0);Fe.setUTCFullYear(pe,0,z),Fe.setUTCHours(0,0,0,0);var Ee=(0,G.default)(Fe,ie);return Ee};var V=k(A(68450)),B=k(A(61886)),G=k(A(88314)),$=k(A(6092)),R=A(40150);K.exports=O.default},6092:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(k){if(null===k||!0===k||!1===k)return NaN;var V=Number(k);return isNaN(V)?V:V<0?Math.ceil(V):Math.floor(V)},K.exports=O.default},50405:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function $(R,P){(0,G.default)(2,arguments);var Y=(0,B.default)(R).getTime(),ie=(0,V.default)(P);return new Date(Y+ie)};var V=k(A(6092)),B=k(A(90798)),G=k(A(61886));K.exports=O.default},61348:(K,O,A)=>{"use strict";A.r(O),A.d(O,{default:()=>Oo});var k={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function G($e){return function(){var Ut=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_t=Ut.width?String(Ut.width):$e.defaultWidth,Gt=$e.formats[_t]||$e.formats[$e.defaultWidth];return Gt}}var Y={date:G({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:G({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:G({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},ce={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function ze($e){return function(Ut,_t){var kn;if("formatting"===(null!=_t&&_t.context?String(_t.context):"standalone")&&$e.formattingValues){var di=$e.defaultFormattingWidth||$e.defaultWidth,Wi=null!=_t&&_t.width?String(_t.width):di;kn=$e.formattingValues[Wi]||$e.formattingValues[di]}else{var jr=$e.defaultWidth,Et=null!=_t&&_t.width?String(_t.width):$e.defaultWidth;kn=$e.values[Et]||$e.values[jr]}return kn[$e.argumentCallback?$e.argumentCallback(Ut):Ut]}}function xe($e){return function(Ut){var _t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Gt=_t.width,kn=Gt&&$e.matchPatterns[Gt]||$e.matchPatterns[$e.defaultMatchWidth],di=Ut.match(kn);if(!di)return null;var Wn,Wi=di[0],jr=Gt&&$e.parsePatterns[Gt]||$e.parsePatterns[$e.defaultParseWidth],Et=Array.isArray(jr)?ve(jr,function(ts){return ts.test(Wi)}):Ae(jr,function(ts){return ts.test(Wi)});Wn=$e.valueCallback?$e.valueCallback(Et):Et,Wn=_t.valueCallback?_t.valueCallback(Wn):Wn;var pa=Ut.slice(Wi.length);return{value:Wn,rest:pa}}}function Ae($e,Ut){for(var _t in $e)if($e.hasOwnProperty(_t)&&Ut($e[_t]))return _t}function ve($e,Ut){for(var _t=0;_t<$e.length;_t++)if(Ut($e[_t]))return _t}const Oo={code:"en-US",formatDistance:function(Ut,_t,Gt){var kn,di=k[Ut];return kn="string"==typeof di?di:1===_t?di.one:di.other.replace("{{count}}",_t.toString()),null!=Gt&&Gt.addSuffix?Gt.comparison&&Gt.comparison>0?"in "+kn:kn+" ago":kn},formatLong:Y,formatRelative:function(Ut,_t,Gt,kn){return ce[Ut]},localize:{ordinalNumber:function(Ut,_t){var Gt=Number(Ut),kn=Gt%100;if(kn>20||kn<10)switch(kn%10){case 1:return Gt+"st";case 2:return Gt+"nd";case 3:return Gt+"rd"}return Gt+"th"},era:ze({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:ze({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(Ut){return Ut-1}}),month:ze({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:ze({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:ze({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function Ze($e){return function(Ut){var _t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Gt=Ut.match($e.matchPattern);if(!Gt)return null;var kn=Gt[0],di=Ut.match($e.parsePattern);if(!di)return null;var Wi=$e.valueCallback?$e.valueCallback(di[0]):di[0];Wi=_t.valueCallback?_t.valueCallback(Wi):Wi;var jr=Ut.slice(kn.length);return{value:Wi,rest:jr}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(Ut){return parseInt(Ut,10)}}),era:xe({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:xe({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(Ut){return Ut+1}}),month:xe({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:xe({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:xe({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},27868:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function j(pe,Fe,Ee){var xe,Ae,ve,Ze,St,ue,Ri,Di,fe,Fr,nr,$i,ua,da,Io,Xa,ha,fn;(0,ce.default)(2,arguments);var fa=String(Fe),Oo=(0,Ue.getDefaultOptions)(),$e=null!==(xe=null!==(Ae=Ee?.locale)&&void 0!==Ae?Ae:Oo.locale)&&void 0!==xe?xe:_e.default,Ut=(0,ie.default)(null!==(ve=null!==(Ze=null!==(St=null!==(ue=Ee?.firstWeekContainsDate)&&void 0!==ue?ue:null==Ee||null===(Ri=Ee.locale)||void 0===Ri||null===(Di=Ri.options)||void 0===Di?void 0:Di.firstWeekContainsDate)&&void 0!==St?St:Oo.firstWeekContainsDate)&&void 0!==Ze?Ze:null===(fe=Oo.locale)||void 0===fe||null===(Fr=fe.options)||void 0===Fr?void 0:Fr.firstWeekContainsDate)&&void 0!==ve?ve:1);if(!(Ut>=1&&Ut<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var _t=(0,ie.default)(null!==(nr=null!==($i=null!==(ua=null!==(da=Ee?.weekStartsOn)&&void 0!==da?da:null==Ee||null===(Io=Ee.locale)||void 0===Io||null===(Xa=Io.options)||void 0===Xa?void 0:Xa.weekStartsOn)&&void 0!==ua?ua:Oo.weekStartsOn)&&void 0!==$i?$i:null===(ha=Oo.locale)||void 0===ha||null===(fn=ha.options)||void 0===fn?void 0:fn.weekStartsOn)&&void 0!==nr?nr:0);if(!(_t>=0&&_t<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!$e.localize)throw new RangeError("locale must contain localize property");if(!$e.formatLong)throw new RangeError("locale must contain formatLong property");var Gt=(0,G.default)(pe);if(!(0,V.default)(Gt))throw new RangeError("Invalid time value");var kn=(0,P.default)(Gt),di=(0,B.default)(Gt,kn),Wi={firstWeekContainsDate:Ut,weekStartsOn:_t,locale:$e,_originalDate:Gt},jr=fa.match(re).map(function(Et){var Wn=Et[0];return"p"===Wn||"P"===Wn?(0,R.default[Wn])(Et,$e.formatLong):Et}).join("").match(ze).map(function(Et){if("''"===Et)return"'";var Wn=Et[0];if("'"===Wn)return z(Et);var pa=$.default[Wn];if(pa)return!(null!=Ee&&Ee.useAdditionalWeekYearTokens)&&(0,Y.isProtectedWeekYearToken)(Et)&&(0,Y.throwProtectedError)(Et,Fe,String(pe)),!(null!=Ee&&Ee.useAdditionalDayOfYearTokens)&&(0,Y.isProtectedDayOfYearToken)(Et)&&(0,Y.throwProtectedError)(Et,Fe,String(pe)),pa(di,Et,$e.localize,Wi);if(Wn.match(W))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Wn+"`");return Et}).join("");return jr};var V=k(A(88830)),B=k(A(65726)),G=k(A(90798)),$=k(A(1635)),R=k(A(75852)),P=k(A(47664)),Y=A(70183),ie=k(A(6092)),ce=k(A(61886)),Ue=A(40150),_e=k(A(73215)),ze=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,re=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,X=/^'([^]*?)'?$/,U=/''/g,W=/[a-zA-Z]/;function z(pe){var Fe=pe.match(X);return Fe?Fe[1].replace(U,"'"):pe}K.exports=O.default},73085:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function G($){return(0,B.default)(1,arguments),$ instanceof Date||"object"===(0,V.default)($)&&"[object Date]"===Object.prototype.toString.call($)};var V=k(A(50590)),B=k(A(61886));K.exports=O.default},88830:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function $(R){if((0,G.default)(1,arguments),!(0,V.default)(R)&&"number"!=typeof R)return!1;var P=(0,B.default)(R);return!isNaN(Number(P))};var V=k(A(73085)),B=k(A(90798)),G=k(A(61886));K.exports=O.default},88995:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(k){return function(){var V=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},B=V.width?String(V.width):k.defaultWidth,G=k.formats[B]||k.formats[k.defaultWidth];return G}},K.exports=O.default},77579:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(k){return function(V,B){var $;if("formatting"===(null!=B&&B.context?String(B.context):"standalone")&&k.formattingValues){var R=k.defaultFormattingWidth||k.defaultWidth,P=null!=B&&B.width?String(B.width):R;$=k.formattingValues[P]||k.formattingValues[R]}else{var Y=k.defaultWidth,ie=null!=B&&B.width?String(B.width):k.defaultWidth;$=k.values[ie]||k.values[Y]}return $[k.argumentCallback?k.argumentCallback(V):V]}},K.exports=O.default},84728:(K,O)=>{"use strict";function k(B,G){for(var $ in B)if(B.hasOwnProperty($)&&G(B[$]))return $}function V(B,G){for(var $=0;$1&&void 0!==arguments[1]?arguments[1]:{},R=$.width,P=R&&B.matchPatterns[R]||B.matchPatterns[B.defaultMatchWidth],Y=G.match(P);if(!Y)return null;var _e,ie=Y[0],ce=R&&B.parsePatterns[R]||B.parsePatterns[B.defaultParseWidth],Ue=Array.isArray(ce)?V(ce,function(re){return re.test(ie)}):k(ce,function(re){return re.test(ie)});_e=B.valueCallback?B.valueCallback(Ue):Ue,_e=$.valueCallback?$.valueCallback(_e):_e;var ze=G.slice(ie.length);return{value:_e,rest:ze}}},K.exports=O.default},27223:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(k){return function(V){var B=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},G=V.match(k.matchPattern);if(!G)return null;var $=G[0],R=V.match(k.parsePattern);if(!R)return null;var P=k.valueCallback?k.valueCallback(R[0]):R[0];P=B.valueCallback?B.valueCallback(P):P;var Y=V.slice($.length);return{value:P,rest:Y}}},K.exports=O.default},39563:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var A={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};O.default=function(G,$,R){var P,Y=A[G];return P="string"==typeof Y?Y:1===$?Y.one:Y.other.replace("{{count}}",$.toString()),null!=R&&R.addSuffix?R.comparison&&R.comparison>0?"in "+P:P+" ago":P},K.exports=O.default},66929:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var V=k(A(88995)),R={date:(0,V.default)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,V.default)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,V.default)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};O.default=R,K.exports=O.default},21656:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var A={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};O.default=function(G,$,R,P){return A[G]},K.exports=O.default},31098:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var V=k(A(77579)),ce={ordinalNumber:function(ze,re){var X=Number(ze),U=X%100;if(U>20||U<10)switch(U%10){case 1:return X+"st";case 2:return X+"nd";case 3:return X+"rd"}return X+"th"},era:(0,V.default)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,V.default)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(ze){return ze-1}}),month:(0,V.default)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,V.default)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,V.default)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};O.default=ce,K.exports=O.default},53239:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var V=k(A(84728)),U={ordinalNumber:(0,k(A(27223)).default)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(z){return parseInt(z,10)}}),era:(0,V.default)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,V.default)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(z){return z+1}}),month:(0,V.default)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,V.default)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,V.default)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};O.default=U,K.exports=O.default},33338:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var V=k(A(39563)),B=k(A(66929)),G=k(A(21656)),$=k(A(31098)),R=k(A(53239));O.default={code:"en-US",formatDistance:V.default,formatLong:B.default,formatRelative:G.default,localize:$.default,match:R.default,options:{weekStartsOn:0,firstWeekContainsDate:1}},K.exports=O.default},65726:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function $(R,P){(0,B.default)(2,arguments);var Y=(0,G.default)(P);return(0,V.default)(R,-Y)};var V=k(A(50405)),B=k(A(61886)),G=k(A(6092));K.exports=O.default},90798:(K,O,A)=>{"use strict";var k=A(36758).default;Object.defineProperty(O,"__esModule",{value:!0}),O.default=function G($){(0,B.default)(1,arguments);var R=Object.prototype.toString.call($);return $ instanceof Date||"object"===(0,V.default)($)&&"[object Date]"===R?new Date($.getTime()):"number"==typeof $||"[object Number]"===R?new Date($):(("string"==typeof $||"[object String]"===R)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))};var V=k(A(50590)),B=k(A(61886));K.exports=O.default},88222:(K,O,A)=>{K=A.nmd(K);var V="__lodash_hash_undefined__",$=9007199254740991,R="[object Arguments]",P="[object Array]",ie="[object Boolean]",ce="[object Date]",Ue="[object Error]",_e="[object Function]",re="[object Map]",X="[object Number]",W="[object Object]",j="[object Promise]",pe="[object RegExp]",Fe="[object Set]",Ee="[object String]",ve="[object WeakMap]",Ze="[object ArrayBuffer]",St="[object DataView]",Xa=/^\[object .+?Constructor\]$/,ha=/^(?:0|[1-9]\d*)$/,fn={};fn["[object Float32Array]"]=fn["[object Float64Array]"]=fn["[object Int8Array]"]=fn["[object Int16Array]"]=fn["[object Int32Array]"]=fn["[object Uint8Array]"]=fn["[object Uint8ClampedArray]"]=fn["[object Uint16Array]"]=fn["[object Uint32Array]"]=!0,fn[R]=fn[P]=fn[Ze]=fn[ie]=fn[St]=fn[ce]=fn[Ue]=fn[_e]=fn[re]=fn[X]=fn[W]=fn[pe]=fn[Fe]=fn[Ee]=fn[ve]=!1;var fa="object"==typeof global&&global&&global.Object===Object&&global,Oo="object"==typeof self&&self&&self.Object===Object&&self,$e=fa||Oo||Function("return this")(),Ut=O&&!O.nodeType&&O,_t=Ut&&K&&!K.nodeType&&K,Gt=_t&&_t.exports===Ut,kn=Gt&&fa.process,di=function(){try{return kn&&kn.binding&&kn.binding("util")}catch{}}(),Wi=di&&di.isTypedArray;function Wn(M,L){for(var oe=-1,De=null==M?0:M.length;++oeoi))return!1;var sn=pt.get(M);if(sn&&pt.get(L))return sn==L;var Mi=-1,co=!0,Ce=2&oe?new Zt:void 0;for(pt.set(M,L),pt.set(L,M);++Mi-1},ns.prototype.set=function cx(M,L){var oe=this.__data__,De=Zu(oe,M);return De<0?(++this.size,oe.push([M,L])):oe[De][1]=L,this},nl.prototype.clear=function IC(){this.size=0,this.__data__={hash:new _a,map:new(ga||ns),string:new _a}},nl.prototype.delete=function ux(M){var L=mn(this,M).delete(M);return this.size-=L?1:0,L},nl.prototype.get=function OC(M){return mn(this,M).get(M)},nl.prototype.has=function dx(M){return mn(this,M).has(M)},nl.prototype.set=function zr(M,L){var oe=mn(this,M),De=oe.size;return oe.set(M,L),this.size+=oe.size==De?0:1,this},Zt.prototype.add=Zt.prototype.push=function hx(M){return this.__data__.set(M,V),this},Zt.prototype.has=function fx(M){return this.__data__.has(M)},va.prototype.clear=function H(){this.__data__=new ns,this.size=0},va.prototype.delete=function px(M){var L=this.__data__,oe=L.delete(M);return this.size=L.size,oe},va.prototype.get=function ft(M){return this.__data__.get(M)},va.prototype.has=function Qu(M){return this.__data__.has(M)},va.prototype.set=function AC(M,L){var oe=this.__data__;if(oe instanceof ns){var De=oe.__data__;if(!ga||De.length<199)return De.push([M,L]),this.size=++oe.size,this;oe=this.__data__=new nl(De)}return oe.set(M,L),this.size=oe.size,this};var gx=my?function(M){return null==M?[]:(M=Object(M),function jr(M,L){for(var oe=-1,De=null==M?0:M.length,Ke=0,pt=[];++oe-1&&M%1==0&&M-1&&M%1==0&&M<=$}function sl(M){var L=typeof M;return null!=M&&("object"==L||"function"==L)}function mc(M){return null!=M&&"object"==typeof M}var by=Wi?function ts(M){return function(L){return M(L)}}(Wi):function rt(M){return mc(M)&&nd(M.length)&&!!fn[il(M)]};function jC(M){return function F(M){return null!=M&&nd(M.length)&&!pc(M)}(M)?function gy(M,L){var oe=ed(M),De=!oe&&ol(M),Ke=!oe&&!De&&td(M),pt=!oe&&!De&&!Ke&&by(M),Ln=oe||De||Ke||pt,oi=Ln?function pa(M,L){for(var oe=-1,De=Array(M);++oe{var k={"./ar-DZ/_lib/formatDistance/index.js":[28066,8592],"./ar-DZ/_lib/formatLong/index.js":[86369,8592],"./ar-DZ/_lib/formatRelative/index.js":[89786,8592],"./ar-DZ/_lib/localize/index.js":[36207,8592],"./ar-DZ/_lib/match/index.js":[53371,8592],"./ar-DZ/index.js":[76327,8592,6327],"./ar-EG/_lib/formatDistance/index.js":[95932,8592],"./ar-EG/_lib/formatLong/index.js":[46023,8592],"./ar-EG/_lib/formatRelative/index.js":[74621,8592],"./ar-EG/_lib/localize/index.js":[93376,8592],"./ar-EG/_lib/match/index.js":[76456,8592],"./ar-EG/index.js":[30830,8592,830],"./ar-MA/_lib/formatDistance/index.js":[25565,8592],"./ar-MA/_lib/formatLong/index.js":[81783,8592],"./ar-MA/_lib/formatRelative/index.js":[90030,8592],"./ar-MA/_lib/localize/index.js":[60503,8592],"./ar-MA/_lib/match/index.js":[83427,8592],"./ar-MA/index.js":[96094,8592,6094],"./ar-SA/_lib/formatDistance/index.js":[3797,8592],"./ar-SA/_lib/formatLong/index.js":[73212,8592],"./ar-SA/_lib/formatRelative/index.js":[79009,8592],"./ar-SA/_lib/localize/index.js":[12535,8592],"./ar-SA/_lib/match/index.js":[14710,8592],"./ar-SA/index.js":[54370,8592,4370],"./ar-TN/_lib/formatDistance/index.js":[56566,8592],"./ar-TN/_lib/formatLong/index.js":[4585,8592],"./ar-TN/_lib/formatRelative/index.js":[5374,8592],"./ar-TN/_lib/localize/index.js":[85963,8592],"./ar-TN/_lib/match/index.js":[13401,8592],"./ar-TN/index.js":[37373,8592,7373],"./be-tarask/_lib/formatDistance/index.js":[82665,8592],"./be-tarask/_lib/formatLong/index.js":[9662,8592],"./be-tarask/_lib/formatRelative/index.js":[4653,4,8592],"./be-tarask/_lib/localize/index.js":[40591,8592],"./be-tarask/_lib/match/index.js":[34412,8592],"./be-tarask/index.js":[27840,4,8592,7840],"./de-AT/_lib/localize/index.js":[44821,8592],"./de-AT/index.js":[21782,8592,1782],"./en-AU/_lib/formatLong/index.js":[65493,8592],"./en-AU/index.js":[87747,8592,7747],"./en-CA/_lib/formatDistance/index.js":[80780,8592],"./en-CA/_lib/formatLong/index.js":[26153,8592],"./en-CA/index.js":[21413,8592,1413],"./en-GB/_lib/formatLong/index.js":[33819,8592],"./en-GB/index.js":[33035,8592,3035],"./en-IE/index.js":[61959,8592,1959],"./en-IN/_lib/formatLong/index.js":[20862,8592],"./en-IN/index.js":[82873,8592,2873],"./en-NZ/_lib/formatLong/index.js":[36336,8592],"./en-NZ/index.js":[26041,8592,6041],"./en-US/_lib/formatDistance/index.js":[39563],"./en-US/_lib/formatLong/index.js":[66929],"./en-US/_lib/formatRelative/index.js":[21656],"./en-US/_lib/localize/index.js":[31098],"./en-US/_lib/match/index.js":[53239],"./en-US/index.js":[33338],"./en-ZA/_lib/formatLong/index.js":[9221,8592],"./en-ZA/index.js":[11543,8592,1543],"./fa-IR/_lib/formatDistance/index.js":[76726,8592],"./fa-IR/_lib/formatLong/index.js":[10749,8592],"./fa-IR/_lib/formatRelative/index.js":[7220,8592],"./fa-IR/_lib/localize/index.js":[72441,8592],"./fa-IR/_lib/match/index.js":[81488,8592],"./fa-IR/index.js":[84996,8592,4996],"./fr-CA/_lib/formatLong/index.js":[85947,8592],"./fr-CA/index.js":[73723,8592,3723],"./fr-CH/_lib/formatLong/index.js":[27414,8592],"./fr-CH/_lib/formatRelative/index.js":[66155,8592],"./fr-CH/index.js":[24565,8592,4565],"./it-CH/_lib/formatLong/index.js":[31519,8592],"./it-CH/index.js":[87736,8592,469],"./ja-Hira/_lib/formatDistance/index.js":[84703,8592],"./ja-Hira/_lib/formatLong/index.js":[56574,8592],"./ja-Hira/_lib/formatRelative/index.js":[93381,8592],"./ja-Hira/_lib/localize/index.js":[35710,8592],"./ja-Hira/_lib/match/index.js":[69417,8592],"./ja-Hira/index.js":[12944,8592,2944],"./nl-BE/_lib/formatDistance/index.js":[16129,8592],"./nl-BE/_lib/formatLong/index.js":[17657,8592],"./nl-BE/_lib/formatRelative/index.js":[89811,8592],"./nl-BE/_lib/localize/index.js":[58816,8592],"./nl-BE/_lib/match/index.js":[28333,8592],"./nl-BE/index.js":[70296,8592,296],"./pt-BR/_lib/formatDistance/index.js":[52638,8592],"./pt-BR/_lib/formatLong/index.js":[33247,8592],"./pt-BR/_lib/formatRelative/index.js":[25492,8592],"./pt-BR/_lib/localize/index.js":[81046,8592],"./pt-BR/_lib/match/index.js":[63770,8592],"./pt-BR/index.js":[47569,8592,7569],"./sr-Latn/_lib/formatDistance/index.js":[69014,8592],"./sr-Latn/_lib/formatLong/index.js":[99257,8592],"./sr-Latn/_lib/formatRelative/index.js":[42428,8592],"./sr-Latn/_lib/localize/index.js":[92773,8592],"./sr-Latn/_lib/match/index.js":[7766,8592],"./sr-Latn/index.js":[99064,8592,9064],"./uz-Cyrl/_lib/formatDistance/index.js":[67778,8592],"./uz-Cyrl/_lib/formatLong/index.js":[64095,8592],"./uz-Cyrl/_lib/formatRelative/index.js":[539,8592],"./uz-Cyrl/_lib/localize/index.js":[17670,8592],"./uz-Cyrl/_lib/match/index.js":[75798,8592],"./uz-Cyrl/index.js":[14527,8592,4527],"./zh-CN/_lib/formatDistance/index.js":[33437,8592],"./zh-CN/_lib/formatLong/index.js":[91583,8592],"./zh-CN/_lib/formatRelative/index.js":[95629,8592,5441],"./zh-CN/_lib/localize/index.js":[17939,8592],"./zh-CN/_lib/match/index.js":[71362,8592],"./zh-CN/index.js":[86335,8592,2007],"./zh-HK/_lib/formatDistance/index.js":[37348,8592],"./zh-HK/_lib/formatLong/index.js":[60924,8592],"./zh-HK/_lib/formatRelative/index.js":[22164,8592],"./zh-HK/_lib/localize/index.js":[39264,8592],"./zh-HK/_lib/match/index.js":[50358,8592],"./zh-HK/index.js":[59277,8592,9277],"./zh-TW/_lib/formatDistance/index.js":[31613,8592],"./zh-TW/_lib/formatLong/index.js":[1239,8592],"./zh-TW/_lib/formatRelative/index.js":[13240,8592],"./zh-TW/_lib/localize/index.js":[29850,8592],"./zh-TW/_lib/match/index.js":[38819,8592],"./zh-TW/index.js":[74565,8592,3793]};function V(B){if(!A.o(k,B))return Promise.resolve().then(()=>{var R=new Error("Cannot find module '"+B+"'");throw R.code="MODULE_NOT_FOUND",R});var G=k[B],$=G[0];return Promise.all(G.slice(1).map(A.e)).then(()=>A.t($,23))}V.keys=()=>Object.keys(k),V.id=13131,K.exports=V},71213:(K,O,A)=>{var k={"./_lib/buildFormatLongFn/index.js":[88995,7],"./_lib/buildLocalizeFn/index.js":[77579,7],"./_lib/buildMatchFn/index.js":[84728,7],"./_lib/buildMatchPatternFn/index.js":[27223,7],"./af/_lib/formatDistance/index.js":[55864,7,8592],"./af/_lib/formatLong/index.js":[25358,7,8592],"./af/_lib/formatRelative/index.js":[25892,7,8592],"./af/_lib/localize/index.js":[18874,7,8592],"./af/_lib/match/index.js":[22146,7,8592],"./af/index.js":[72399,7,8592,2399],"./ar-DZ/_lib/formatDistance/index.js":[28066,7,8592],"./ar-DZ/_lib/formatLong/index.js":[86369,7,8592],"./ar-DZ/_lib/formatRelative/index.js":[89786,7,8592],"./ar-DZ/_lib/localize/index.js":[36207,7,8592],"./ar-DZ/_lib/match/index.js":[53371,7,8592],"./ar-DZ/index.js":[76327,7,8592,6327],"./ar-EG/_lib/formatDistance/index.js":[95932,7,8592],"./ar-EG/_lib/formatLong/index.js":[46023,7,8592],"./ar-EG/_lib/formatRelative/index.js":[74621,7,8592],"./ar-EG/_lib/localize/index.js":[93376,7,8592],"./ar-EG/_lib/match/index.js":[76456,7,8592],"./ar-EG/index.js":[30830,7,8592,830],"./ar-MA/_lib/formatDistance/index.js":[25565,7,8592],"./ar-MA/_lib/formatLong/index.js":[81783,7,8592],"./ar-MA/_lib/formatRelative/index.js":[90030,7,8592],"./ar-MA/_lib/localize/index.js":[60503,7,8592],"./ar-MA/_lib/match/index.js":[83427,7,8592],"./ar-MA/index.js":[96094,7,8592,6094],"./ar-SA/_lib/formatDistance/index.js":[3797,7,8592],"./ar-SA/_lib/formatLong/index.js":[73212,7,8592],"./ar-SA/_lib/formatRelative/index.js":[79009,7,8592],"./ar-SA/_lib/localize/index.js":[12535,7,8592],"./ar-SA/_lib/match/index.js":[14710,7,8592],"./ar-SA/index.js":[54370,7,8592,4370],"./ar-TN/_lib/formatDistance/index.js":[56566,7,8592],"./ar-TN/_lib/formatLong/index.js":[4585,7,8592],"./ar-TN/_lib/formatRelative/index.js":[5374,7,8592],"./ar-TN/_lib/localize/index.js":[85963,7,8592],"./ar-TN/_lib/match/index.js":[13401,7,8592],"./ar-TN/index.js":[37373,7,8592,7373],"./ar/_lib/formatDistance/index.js":[91118,7,8592],"./ar/_lib/formatLong/index.js":[90899,7,8592],"./ar/_lib/formatRelative/index.js":[18739,7,8592],"./ar/_lib/localize/index.js":[64620,7,8592],"./ar/_lib/match/index.js":[32101,7,8592],"./ar/index.js":[91780,7,8592,1780],"./az/_lib/formatDistance/index.js":[2541,7,8592],"./az/_lib/formatLong/index.js":[6246,7,8592],"./az/_lib/formatRelative/index.js":[33557,7,8592],"./az/_lib/localize/index.js":[89347,7,8592],"./az/_lib/match/index.js":[75242,7,8592],"./az/index.js":[170,7,8592,170],"./be-tarask/_lib/formatDistance/index.js":[82665,7,8592],"./be-tarask/_lib/formatLong/index.js":[9662,7,8592],"./be-tarask/_lib/formatRelative/index.js":[4653,7,4,8592],"./be-tarask/_lib/localize/index.js":[40591,7,8592],"./be-tarask/_lib/match/index.js":[34412,7,8592],"./be-tarask/index.js":[27840,7,4,8592,7840],"./be/_lib/formatDistance/index.js":[9006,7,8592],"./be/_lib/formatLong/index.js":[58343,7,8592],"./be/_lib/formatRelative/index.js":[20369,7,4,8592],"./be/_lib/localize/index.js":[30768,7,8592],"./be/_lib/match/index.js":[35637,7,8592],"./be/index.js":[94646,7,4,8592,4646],"./bg/_lib/formatDistance/index.js":[54037,7,8592],"./bg/_lib/formatLong/index.js":[44221,7,8592],"./bg/_lib/formatRelative/index.js":[24925,7,8592,9491],"./bg/_lib/localize/index.js":[60958,7,8592],"./bg/_lib/match/index.js":[99124,7,8592],"./bg/index.js":[90948,7,8592,6922],"./bn/_lib/formatDistance/index.js":[5190,7,8592],"./bn/_lib/formatLong/index.js":[10846,7,8592],"./bn/_lib/formatRelative/index.js":[90009,7,8592],"./bn/_lib/localize/index.js":[32143,9,8592],"./bn/_lib/match/index.js":[71701,7,8592],"./bn/index.js":[76982,7,8592,6982],"./bs/_lib/formatDistance/index.js":[3504,7,8592],"./bs/_lib/formatLong/index.js":[47625,7,8592],"./bs/_lib/formatRelative/index.js":[69642,7,8592],"./bs/_lib/localize/index.js":[19781,7,8592],"./bs/_lib/match/index.js":[98469,7,8592],"./bs/index.js":[21670,7,8592,1670],"./ca/_lib/formatDistance/index.js":[78470,7,8592],"./ca/_lib/formatLong/index.js":[37682,7,8592],"./ca/_lib/formatRelative/index.js":[73019,7,8592],"./ca/_lib/localize/index.js":[94354,7,8592],"./ca/_lib/match/index.js":[87821,7,8592],"./ca/index.js":[59800,7,8592,9800],"./cs/_lib/formatDistance/index.js":[84712,7,8592],"./cs/_lib/formatLong/index.js":[25366,7,8592],"./cs/_lib/formatRelative/index.js":[30404,7,8592],"./cs/_lib/localize/index.js":[1944,7,8592],"./cs/_lib/match/index.js":[8302,7,8592],"./cs/index.js":[27463,7,8592,7463],"./cy/_lib/formatDistance/index.js":[53860,7,8592],"./cy/_lib/formatLong/index.js":[5355,7,8592],"./cy/_lib/formatRelative/index.js":[11612,7,8592],"./cy/_lib/localize/index.js":[79008,7,8592],"./cy/_lib/match/index.js":[69946,7,8592],"./cy/index.js":[87955,7,8592,7955],"./da/_lib/formatDistance/index.js":[32439,7,8592],"./da/_lib/formatLong/index.js":[40114,7,8592],"./da/_lib/formatRelative/index.js":[33452,7,8592],"./da/_lib/localize/index.js":[22653,7,8592],"./da/_lib/match/index.js":[1416,7,8592],"./da/index.js":[11295,7,8592,1295],"./de-AT/_lib/localize/index.js":[44821,7,8592],"./de-AT/index.js":[21782,7,8592,1782],"./de/_lib/formatDistance/index.js":[98815,7,8592],"./de/_lib/formatLong/index.js":[47173,7,8592],"./de/_lib/formatRelative/index.js":[5278,7,8592],"./de/_lib/localize/index.js":[54552,7,8592],"./de/_lib/match/index.js":[31871,7,8592],"./de/index.js":[94086,7,8592,4086],"./el/_lib/formatDistance/index.js":[39298,7,8592],"./el/_lib/formatLong/index.js":[94460,7,8592],"./el/_lib/formatRelative/index.js":[72435,7,8592],"./el/_lib/localize/index.js":[674,7,8592],"./el/_lib/match/index.js":[40588,7,8592],"./el/index.js":[26106,7,8592,6106],"./en-AU/_lib/formatLong/index.js":[65493,7,8592],"./en-AU/index.js":[87747,7,8592,7747],"./en-CA/_lib/formatDistance/index.js":[80780,7,8592],"./en-CA/_lib/formatLong/index.js":[26153,7,8592],"./en-CA/index.js":[21413,7,8592,1413],"./en-GB/_lib/formatLong/index.js":[33819,7,8592],"./en-GB/index.js":[33035,7,8592,3035],"./en-IE/index.js":[61959,7,8592,1959],"./en-IN/_lib/formatLong/index.js":[20862,7,8592],"./en-IN/index.js":[82873,7,8592,2873],"./en-NZ/_lib/formatLong/index.js":[36336,7,8592],"./en-NZ/index.js":[26041,7,8592,6041],"./en-US/_lib/formatDistance/index.js":[39563,7],"./en-US/_lib/formatLong/index.js":[66929,7],"./en-US/_lib/formatRelative/index.js":[21656,7],"./en-US/_lib/localize/index.js":[31098,7],"./en-US/_lib/match/index.js":[53239,7],"./en-US/index.js":[33338,7],"./en-ZA/_lib/formatLong/index.js":[9221,7,8592],"./en-ZA/index.js":[11543,7,8592,1543],"./eo/_lib/formatDistance/index.js":[43549,7,8592],"./eo/_lib/formatLong/index.js":[25567,7,8592],"./eo/_lib/formatRelative/index.js":[30410,7,8592],"./eo/_lib/localize/index.js":[27249,7,8592],"./eo/_lib/match/index.js":[75687,7,8592],"./eo/index.js":[63574,7,8592,3574],"./es/_lib/formatDistance/index.js":[66660,7,8592],"./es/_lib/formatLong/index.js":[39055,7,8592],"./es/_lib/formatRelative/index.js":[63774,7,8592],"./es/_lib/localize/index.js":[38835,7,8592],"./es/_lib/match/index.js":[38662,7,8592],"./es/index.js":[23413,7,8592,3413],"./et/_lib/formatDistance/index.js":[64334,7,8592],"./et/_lib/formatLong/index.js":[32045,7,8592],"./et/_lib/formatRelative/index.js":[47074,7,8592],"./et/_lib/localize/index.js":[42462,7,8592],"./et/_lib/match/index.js":[85999,7,8592],"./et/index.js":[65861,7,8592,5861],"./eu/_lib/formatDistance/index.js":[91793,7,8592],"./eu/_lib/formatLong/index.js":[17350,7,8592],"./eu/_lib/formatRelative/index.js":[25688,7,8592],"./eu/_lib/localize/index.js":[28061,7,8592],"./eu/_lib/match/index.js":[11113,7,8592],"./eu/index.js":[29618,7,8592,9618],"./fa-IR/_lib/formatDistance/index.js":[76726,7,8592],"./fa-IR/_lib/formatLong/index.js":[10749,7,8592],"./fa-IR/_lib/formatRelative/index.js":[7220,7,8592],"./fa-IR/_lib/localize/index.js":[72441,7,8592],"./fa-IR/_lib/match/index.js":[81488,7,8592],"./fa-IR/index.js":[84996,7,8592,4996],"./fi/_lib/formatDistance/index.js":[97929,7,8592],"./fi/_lib/formatLong/index.js":[63741,7,8592],"./fi/_lib/formatRelative/index.js":[23234,7,8592],"./fi/_lib/localize/index.js":[5936,7,8592],"./fi/_lib/match/index.js":[157,7,8592],"./fi/index.js":[3596,7,8592,3596],"./fr-CA/_lib/formatLong/index.js":[85947,7,8592],"./fr-CA/index.js":[73723,7,8592,3723],"./fr-CH/_lib/formatLong/index.js":[27414,7,8592],"./fr-CH/_lib/formatRelative/index.js":[66155,7,8592],"./fr-CH/index.js":[24565,7,8592,4565],"./fr/_lib/formatDistance/index.js":[26839,7,8592],"./fr/_lib/formatLong/index.js":[32554,7,8592],"./fr/_lib/formatRelative/index.js":[15328,7,8592],"./fr/_lib/localize/index.js":[29821,7,8592],"./fr/_lib/match/index.js":[57047,7,8592],"./fr/index.js":[34153,7,8592,4153],"./fy/_lib/formatDistance/index.js":[60373,7,8592],"./fy/_lib/formatLong/index.js":[97771,7,8592],"./fy/_lib/formatRelative/index.js":[33851,7,8592],"./fy/_lib/localize/index.js":[86993,7,8592],"./fy/_lib/match/index.js":[48603,7,8592],"./fy/index.js":[73434,7,8592,3434],"./gd/_lib/formatDistance/index.js":[45690,7,8592],"./gd/_lib/formatLong/index.js":[2660,7,8592],"./gd/_lib/formatRelative/index.js":[30700,7,8592],"./gd/_lib/localize/index.js":[40751,7,8592],"./gd/_lib/match/index.js":[40421,7,8592],"./gd/index.js":[48569,7,8592,8569],"./gl/_lib/formatDistance/index.js":[35871,7,8592],"./gl/_lib/formatLong/index.js":[30449,7,8592],"./gl/_lib/formatRelative/index.js":[95563,7,8592],"./gl/_lib/localize/index.js":[61905,7,8592],"./gl/_lib/match/index.js":[33150,7,8592],"./gl/index.js":[96508,7,8592,6508],"./gu/_lib/formatDistance/index.js":[88210,7,8592],"./gu/_lib/formatLong/index.js":[63333,7,8592],"./gu/_lib/formatRelative/index.js":[89348,7,8592],"./gu/_lib/localize/index.js":[50143,7,8592],"./gu/_lib/match/index.js":[50932,7,8592],"./gu/index.js":[75732,7,8592,5732],"./he/_lib/formatDistance/index.js":[42191,7,8592],"./he/_lib/formatLong/index.js":[13925,7,8592],"./he/_lib/formatRelative/index.js":[11481,7,8592],"./he/_lib/localize/index.js":[19661,7,8592],"./he/_lib/match/index.js":[41291,7,8592],"./he/index.js":[86517,7,8592,6517],"./hi/_lib/formatDistance/index.js":[52573,7,8592],"./hi/_lib/formatLong/index.js":[30535,7,8592],"./hi/_lib/formatRelative/index.js":[65379,7,8592],"./hi/_lib/localize/index.js":[35423,9,8592],"./hi/_lib/match/index.js":[78198,7,8592],"./hi/index.js":[29562,7,8592,9562],"./hr/_lib/formatDistance/index.js":[7652,7,8592],"./hr/_lib/formatLong/index.js":[29577,7,8592],"./hr/_lib/formatRelative/index.js":[27603,7,8592],"./hr/_lib/localize/index.js":[12512,7,8592],"./hr/_lib/match/index.js":[83880,7,8592],"./hr/index.js":[41499,7,8592,1499],"./ht/_lib/formatDistance/index.js":[17743,7,8592],"./ht/_lib/formatLong/index.js":[50596,7,8592],"./ht/_lib/formatRelative/index.js":[66473,7,8592],"./ht/_lib/localize/index.js":[98942,7,8592],"./ht/_lib/match/index.js":[18649,7,8592],"./ht/index.js":[91792,7,8592,1792],"./hu/_lib/formatDistance/index.js":[74406,7,8592],"./hu/_lib/formatLong/index.js":[53971,7,8592],"./hu/_lib/formatRelative/index.js":[48580,7,8592],"./hu/_lib/localize/index.js":[6998,7,8592],"./hu/_lib/match/index.js":[69897,7,8592],"./hu/index.js":[85980,7,8592,5980],"./hy/_lib/formatDistance/index.js":[50897,7,8592],"./hy/_lib/formatLong/index.js":[11837,7,8592],"./hy/_lib/formatRelative/index.js":[3543,7,8592],"./hy/_lib/localize/index.js":[90151,7,8592],"./hy/_lib/match/index.js":[97177,7,8592],"./hy/index.js":[83268,7,8592,3268],"./id/_lib/formatDistance/index.js":[70846,7,8592],"./id/_lib/formatLong/index.js":[53405,7,8592],"./id/_lib/formatRelative/index.js":[97180,7,8592],"./id/_lib/localize/index.js":[35645,7,8592],"./id/_lib/match/index.js":[87601,7,8592],"./id/index.js":[90146,7,8592,146],"./is/_lib/formatDistance/index.js":[2370,7,8592],"./is/_lib/formatLong/index.js":[74096,7,8592],"./is/_lib/formatRelative/index.js":[42141,7,8592],"./is/_lib/localize/index.js":[12161,7,8592],"./is/_lib/match/index.js":[20798,7,8592],"./is/index.js":[84111,7,8592,4111],"./it-CH/_lib/formatLong/index.js":[31519,7,8592],"./it-CH/index.js":[87736,7,8592,469],"./it/_lib/formatDistance/index.js":[40358,7,8592],"./it/_lib/formatLong/index.js":[29588,7,8592],"./it/_lib/formatRelative/index.js":[91403,7,8592,5096],"./it/_lib/localize/index.js":[62007,7,8592],"./it/_lib/match/index.js":[94070,7,8592],"./it/index.js":[93722,7,8592,2039],"./ja-Hira/_lib/formatDistance/index.js":[84703,7,8592],"./ja-Hira/_lib/formatLong/index.js":[56574,7,8592],"./ja-Hira/_lib/formatRelative/index.js":[93381,7,8592],"./ja-Hira/_lib/localize/index.js":[35710,7,8592],"./ja-Hira/_lib/match/index.js":[69417,7,8592],"./ja-Hira/index.js":[12944,7,8592,2944],"./ja/_lib/formatDistance/index.js":[68018,7,8592],"./ja/_lib/formatLong/index.js":[45602,7,8592],"./ja/_lib/formatRelative/index.js":[65297,7,8592],"./ja/_lib/localize/index.js":[77420,7,8592],"./ja/_lib/match/index.js":[83926,7,8592],"./ja/index.js":[89251,7,8592,9251],"./ka/_lib/formatDistance/index.js":[39442,7,8592],"./ka/_lib/formatLong/index.js":[960,7,8592],"./ka/_lib/formatRelative/index.js":[18861,7,8592],"./ka/_lib/localize/index.js":[85798,7,8592],"./ka/_lib/match/index.js":[55077,7,8592],"./ka/index.js":[34010,7,8592,4010],"./kk/_lib/formatDistance/index.js":[44502,7,8592],"./kk/_lib/formatLong/index.js":[79591,7,8592],"./kk/_lib/formatRelative/index.js":[80876,7,8592,1098],"./kk/_lib/localize/index.js":[16163,7,8592],"./kk/_lib/match/index.js":[11079,7,8592],"./kk/index.js":[61615,7,8592,3387],"./km/_lib/formatDistance/index.js":[69355,7,8592],"./km/_lib/formatLong/index.js":[64335,7,8592],"./km/_lib/formatRelative/index.js":[68462,7,8592],"./km/_lib/localize/index.js":[32885,7,8592],"./km/_lib/match/index.js":[49242,7,8592],"./km/index.js":[98510,7,8592,8510],"./kn/_lib/formatDistance/index.js":[93557,7,8592],"./kn/_lib/formatLong/index.js":[19335,7,8592],"./kn/_lib/formatRelative/index.js":[19080,7,8592],"./kn/_lib/localize/index.js":[83848,7,8592],"./kn/_lib/match/index.js":[36809,7,8592],"./kn/index.js":[99517,7,8592,9517],"./ko/_lib/formatDistance/index.js":[21540,7,8592],"./ko/_lib/formatLong/index.js":[47237,7,8592],"./ko/_lib/formatRelative/index.js":[91078,7,8592],"./ko/_lib/localize/index.js":[89409,7,8592],"./ko/_lib/match/index.js":[38567,7,8592],"./ko/index.js":[15058,7,8592,5058],"./lb/_lib/formatDistance/index.js":[81904,7,8592],"./lb/_lib/formatLong/index.js":[53103,7,8592],"./lb/_lib/formatRelative/index.js":[64861,7,8592],"./lb/_lib/localize/index.js":[13317,7,8592],"./lb/_lib/match/index.js":[72652,7,8592],"./lb/index.js":[61953,7,8592,1953],"./lt/_lib/formatDistance/index.js":[55348,7,8592],"./lt/_lib/formatLong/index.js":[18290,7,8592],"./lt/_lib/formatRelative/index.js":[53257,7,8592],"./lt/_lib/localize/index.js":[62395,7,8592],"./lt/_lib/match/index.js":[5825,7,8592],"./lt/index.js":[35901,7,8592,5901],"./lv/_lib/formatDistance/index.js":[28910,7,8592],"./lv/_lib/formatLong/index.js":[86421,7,8592],"./lv/_lib/formatRelative/index.js":[60151,7,8592,3746],"./lv/_lib/localize/index.js":[44960,7,8592],"./lv/_lib/match/index.js":[4876,7,8592],"./lv/index.js":[82008,7,8592,6752],"./mk/_lib/formatDistance/index.js":[38992,7,8592],"./mk/_lib/formatLong/index.js":[7479,7,8592],"./mk/_lib/formatRelative/index.js":[41655,7,8592,903],"./mk/_lib/localize/index.js":[23458,7,8592],"./mk/_lib/match/index.js":[82975,7,8592],"./mk/index.js":[21880,7,8592,3593],"./mn/_lib/formatDistance/index.js":[61341,7,8592],"./mn/_lib/formatLong/index.js":[19732,7,8592],"./mn/_lib/formatRelative/index.js":[98225,7,8592],"./mn/_lib/localize/index.js":[89576,7,8592],"./mn/_lib/match/index.js":[33306,7,8592],"./mn/index.js":[31937,7,8592,1937],"./ms/_lib/formatDistance/index.js":[97808,7,8592],"./ms/_lib/formatLong/index.js":[61962,7,8592],"./ms/_lib/formatRelative/index.js":[68530,7,8592],"./ms/_lib/localize/index.js":[13241,7,8592],"./ms/_lib/match/index.js":[67079,7,8592],"./ms/index.js":[25098,7,8592,5098],"./mt/_lib/formatDistance/index.js":[14611,7,8592],"./mt/_lib/formatLong/index.js":[65011,7,8592],"./mt/_lib/formatRelative/index.js":[44521,7,8592],"./mt/_lib/localize/index.js":[69408,7,8592],"./mt/_lib/match/index.js":[29726,7,8592],"./mt/index.js":[12811,7,8592,2811],"./nb/_lib/formatDistance/index.js":[59968,7,8592],"./nb/_lib/formatLong/index.js":[20511,7,8592],"./nb/_lib/formatRelative/index.js":[11639,7,8592],"./nb/_lib/localize/index.js":[94249,7,8592],"./nb/_lib/match/index.js":[63498,7,8592],"./nb/index.js":[61295,7,8592,8226],"./nl-BE/_lib/formatDistance/index.js":[16129,7,8592],"./nl-BE/_lib/formatLong/index.js":[17657,7,8592],"./nl-BE/_lib/formatRelative/index.js":[89811,7,8592],"./nl-BE/_lib/localize/index.js":[58816,7,8592],"./nl-BE/_lib/match/index.js":[28333,7,8592],"./nl-BE/index.js":[70296,7,8592,296],"./nl/_lib/formatDistance/index.js":[57117,7,8592],"./nl/_lib/formatLong/index.js":[57197,7,8592],"./nl/_lib/formatRelative/index.js":[62818,7,8592],"./nl/_lib/localize/index.js":[67706,7,8592],"./nl/_lib/match/index.js":[61430,7,8592],"./nl/index.js":[80775,7,8592,775],"./nn/_lib/formatDistance/index.js":[4563,7,8592],"./nn/_lib/formatLong/index.js":[89212,7,8592],"./nn/_lib/formatRelative/index.js":[2565,7,8592],"./nn/_lib/localize/index.js":[28456,7,8592],"./nn/_lib/match/index.js":[51571,7,8592],"./nn/index.js":[34632,7,8592,4632],"./oc/_lib/formatDistance/index.js":[16585,7,8592],"./oc/_lib/formatLong/index.js":[96725,7,8592],"./oc/_lib/formatRelative/index.js":[7548,7,8592],"./oc/_lib/localize/index.js":[93417,7,8592],"./oc/_lib/match/index.js":[18145,7,8592],"./oc/index.js":[68311,7,8592,8311],"./pl/_lib/formatDistance/index.js":[62056,7,8592],"./pl/_lib/formatLong/index.js":[47448,7,8592],"./pl/_lib/formatRelative/index.js":[65991,7,8592,6160],"./pl/_lib/localize/index.js":[4306,7,8592],"./pl/_lib/match/index.js":[76075,7,8592],"./pl/index.js":[8554,7,8592,715],"./pt-BR/_lib/formatDistance/index.js":[52638,7,8592],"./pt-BR/_lib/formatLong/index.js":[33247,7,8592],"./pt-BR/_lib/formatRelative/index.js":[25492,7,8592],"./pt-BR/_lib/localize/index.js":[81046,7,8592],"./pt-BR/_lib/match/index.js":[63770,7,8592],"./pt-BR/index.js":[47569,7,8592,7569],"./pt/_lib/formatDistance/index.js":[55488,7,8592],"./pt/_lib/formatLong/index.js":[5133,7,8592],"./pt/_lib/formatRelative/index.js":[7493,7,8592],"./pt/_lib/localize/index.js":[58360,7,8592],"./pt/_lib/match/index.js":[37200,7,8592],"./pt/index.js":[24239,7,8592,4239],"./ro/_lib/formatDistance/index.js":[18199,7,8592],"./ro/_lib/formatLong/index.js":[84311,7,8592],"./ro/_lib/formatRelative/index.js":[97974,7,8592],"./ro/_lib/localize/index.js":[64729,7,8592],"./ro/_lib/match/index.js":[9202,7,8592],"./ro/index.js":[51055,7,8592,1055],"./ru/_lib/formatDistance/index.js":[90650,7,8592],"./ru/_lib/formatLong/index.js":[12580,7,8592],"./ru/_lib/formatRelative/index.js":[15994,7,8592,1338],"./ru/_lib/localize/index.js":[66943,7,8592],"./ru/_lib/match/index.js":[86374,7,8592],"./ru/index.js":[27413,7,8592,5287],"./sk/_lib/formatDistance/index.js":[32882,7,8592],"./sk/_lib/formatLong/index.js":[95087,7,8592],"./sk/_lib/formatRelative/index.js":[35507,7,8592,3951],"./sk/_lib/localize/index.js":[37369,7,8592],"./sk/_lib/match/index.js":[74329,7,8592],"./sk/index.js":[17065,7,8592,4586],"./sl/_lib/formatDistance/index.js":[57613,7,8592],"./sl/_lib/formatLong/index.js":[66302,7,8592],"./sl/_lib/formatRelative/index.js":[92131,7,8592],"./sl/_lib/localize/index.js":[2942,7,8592],"./sl/_lib/match/index.js":[36326,7,8592],"./sl/index.js":[62166,7,8592,2166],"./sq/_lib/formatDistance/index.js":[82569,7,8592],"./sq/_lib/formatLong/index.js":[32784,7,8592],"./sq/_lib/formatRelative/index.js":[44390,7,8592],"./sq/_lib/localize/index.js":[26425,7,8592],"./sq/_lib/match/index.js":[72140,7,8592],"./sq/index.js":[70797,7,8592,797],"./sr-Latn/_lib/formatDistance/index.js":[69014,7,8592],"./sr-Latn/_lib/formatLong/index.js":[99257,7,8592],"./sr-Latn/_lib/formatRelative/index.js":[42428,7,8592],"./sr-Latn/_lib/localize/index.js":[92773,7,8592],"./sr-Latn/_lib/match/index.js":[7766,7,8592],"./sr-Latn/index.js":[99064,7,8592,9064],"./sr/_lib/formatDistance/index.js":[55503,7,8592],"./sr/_lib/formatLong/index.js":[13465,7,8592],"./sr/_lib/formatRelative/index.js":[25743,7,8592],"./sr/_lib/localize/index.js":[30172,7,8592],"./sr/_lib/match/index.js":[81613,7,8592],"./sr/index.js":[15930,7,8592,5930],"./sv/_lib/formatDistance/index.js":[81387,7,8592],"./sv/_lib/formatLong/index.js":[20660,7,8592],"./sv/_lib/formatRelative/index.js":[43502,7,8592],"./sv/_lib/localize/index.js":[32384,7,8592],"./sv/_lib/match/index.js":[69940,7,8592],"./sv/index.js":[81413,7,8592,2135],"./ta/_lib/formatDistance/index.js":[66840,7,8592],"./ta/_lib/formatLong/index.js":[49391,7,8592],"./ta/_lib/formatRelative/index.js":[99284,7,8592],"./ta/_lib/localize/index.js":[61290,7,8592],"./ta/_lib/match/index.js":[33749,7,8592],"./ta/index.js":[21486,7,8592,1486],"./te/_lib/formatDistance/index.js":[38,7,8592],"./te/_lib/formatLong/index.js":[34703,7,8592],"./te/_lib/formatRelative/index.js":[46611,7,8592],"./te/_lib/localize/index.js":[86184,7,8592],"./te/_lib/match/index.js":[17208,7,8592],"./te/index.js":[52492,7,8592,2492],"./th/_lib/formatDistance/index.js":[32939,7,8592],"./th/_lib/formatLong/index.js":[96146,7,8592],"./th/_lib/formatRelative/index.js":[97294,7,8592],"./th/_lib/localize/index.js":[44204,7,8592],"./th/_lib/match/index.js":[59829,7,8592],"./th/index.js":[74785,7,8592,4785],"./tr/_lib/formatDistance/index.js":[77216,7,8592],"./tr/_lib/formatLong/index.js":[68379,7,8592],"./tr/_lib/formatRelative/index.js":[93999,7,8592],"./tr/_lib/localize/index.js":[8830,7,8592],"./tr/_lib/match/index.js":[58828,7,8592],"./tr/index.js":[63131,7,8592,3131],"./ug/_lib/formatDistance/index.js":[69442,7,8592],"./ug/_lib/formatLong/index.js":[36922,7,8592],"./ug/_lib/formatRelative/index.js":[20290,7,8592],"./ug/_lib/localize/index.js":[82490,7,8592],"./ug/_lib/match/index.js":[85282,7,8592],"./ug/index.js":[60182,7,8592,182],"./uk/_lib/formatDistance/index.js":[10017,7,8592],"./uk/_lib/formatLong/index.js":[26136,7,8592],"./uk/_lib/formatRelative/index.js":[88271,7,4,8592],"./uk/_lib/localize/index.js":[10954,7,8592],"./uk/_lib/match/index.js":[71680,7,8592],"./uk/index.js":[12509,7,4,8592,2509],"./uz-Cyrl/_lib/formatDistance/index.js":[67778,7,8592],"./uz-Cyrl/_lib/formatLong/index.js":[64095,7,8592],"./uz-Cyrl/_lib/formatRelative/index.js":[539,7,8592],"./uz-Cyrl/_lib/localize/index.js":[17670,7,8592],"./uz-Cyrl/_lib/match/index.js":[75798,7,8592],"./uz-Cyrl/index.js":[14527,7,8592,4527],"./uz/_lib/formatDistance/index.js":[27197,7,8592],"./uz/_lib/formatLong/index.js":[27810,7,8592],"./uz/_lib/formatRelative/index.js":[22175,7,8592],"./uz/_lib/localize/index.js":[6881,7,8592],"./uz/_lib/match/index.js":[19263,7,8592],"./uz/index.js":[44203,7,8592,4203],"./vi/_lib/formatDistance/index.js":[61664,7,8592],"./vi/_lib/formatLong/index.js":[42296,7,8592],"./vi/_lib/formatRelative/index.js":[55191,7,8592],"./vi/_lib/localize/index.js":[67431,7,8592],"./vi/_lib/match/index.js":[98442,7,8592],"./vi/index.js":[48875,7,8592,8875],"./zh-CN/_lib/formatDistance/index.js":[33437,7,8592],"./zh-CN/_lib/formatLong/index.js":[91583,7,8592],"./zh-CN/_lib/formatRelative/index.js":[95629,7,8592,5441],"./zh-CN/_lib/localize/index.js":[17939,7,8592],"./zh-CN/_lib/match/index.js":[71362,7,8592],"./zh-CN/index.js":[86335,7,8592,2007],"./zh-HK/_lib/formatDistance/index.js":[37348,7,8592],"./zh-HK/_lib/formatLong/index.js":[60924,7,8592],"./zh-HK/_lib/formatRelative/index.js":[22164,7,8592],"./zh-HK/_lib/localize/index.js":[39264,7,8592],"./zh-HK/_lib/match/index.js":[50358,7,8592],"./zh-HK/index.js":[59277,7,8592,9277],"./zh-TW/_lib/formatDistance/index.js":[31613,7,8592],"./zh-TW/_lib/formatLong/index.js":[1239,7,8592],"./zh-TW/_lib/formatRelative/index.js":[13240,7,8592],"./zh-TW/_lib/localize/index.js":[29850,7,8592],"./zh-TW/_lib/match/index.js":[38819,7,8592],"./zh-TW/index.js":[74565,7,8592,3793]};function V(B){if(!A.o(k,B))return Promise.resolve().then(()=>{var R=new Error("Cannot find module '"+B+"'");throw R.code="MODULE_NOT_FOUND",R});var G=k[B],$=G[0];return Promise.all(G.slice(2).map(A.e)).then(()=>A.t($,16|G[1]))}V.keys=()=>Object.keys(k),V.id=71213,K.exports=V},36930:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(k,V,B,G,$,R,P){var Y=new Date(0);return Y.setUTCFullYear(k,V,B),Y.setUTCHours(G,$,R,P),Y},K.exports=O.default},47:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(G,$,R){var P=function B(G,$,R){if(R&&!R.code)throw new Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(R?[R.code,"en-US"]:void 0,{timeZone:$,timeZoneName:G})}(G,R.timeZone,R.locale);return P.formatToParts?function k(G,$){for(var R=G.formatToParts($),P=R.length-1;P>=0;--P)if("timeZoneName"===R[P].type)return R[P].value}(P,$):function V(G,$){var R=G.format($).replace(/\u200E/g,""),P=/ [\w-+ ]+$/.exec(R);return P?P[0].substr(1):""}(P,$)},K.exports=O.default},1870:(K,O,A)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function P(re,X,U){var W,j,z;if(!re||(W=R.timezoneZ.exec(re)))return 0;if(W=R.timezoneHH.exec(re))return Ue(z=parseInt(W[1],10))?-z*G:NaN;if(W=R.timezoneHHMM.exec(re)){z=parseInt(W[1],10);var pe=parseInt(W[2],10);return Ue(z,pe)?(j=Math.abs(z)*G+6e4*pe,z>0?-j:j):NaN}if(function ze(re){if(_e[re])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:re}),_e[re]=!0,!0}catch{return!1}}(re)){X=new Date(X||Date.now());var Fe=U?X:function Y(re){return(0,V.default)(re.getFullYear(),re.getMonth(),re.getDate(),re.getHours(),re.getMinutes(),re.getSeconds(),re.getMilliseconds())}(X),Ee=ie(Fe,re),xe=U?Ee:function ce(re,X,U){var j=re.getTime()-X,z=ie(new Date(j),U);if(X===z)return X;j-=z-X;var pe=ie(new Date(j),U);return z===pe?z:Math.max(z,pe)}(X,Ee,re);return-xe}return NaN};var k=B(A(78598)),V=B(A(36930));function B(re){return re&&re.__esModule?re:{default:re}}var G=36e5,R={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function ie(re,X){var U=(0,k.default)(re,X),W=(0,V.default)(U[0],U[1]-1,U[2],U[3]%24,U[4],U[5],0).getTime(),j=re.getTime(),z=j%1e3;return W-(j-(z>=0?z:1e3+z))}function Ue(re,X){return-23<=re&&re<=23&&(null==X||0<=X&&X<=59)}var _e={};K.exports=O.default},32121:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0,O.default=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,K.exports=O.default},78598:(K,O)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function A(R,P){var Y=function $(R){if(!G[R]){var P=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z"));G[R]="06/25/2014, 00:00:00"===P||"\u200e06\u200e/\u200e25\u200e/\u200e2014\u200e \u200e00\u200e:\u200e00\u200e:\u200e00"===P?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:R,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:R,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return G[R]}(P);return Y.formatToParts?function V(R,P){try{for(var Y=R.formatToParts(P),ie=[],ce=0;ce=0&&(ie[Ue]=parseInt(Y[ce].value,10))}return ie}catch(_e){if(_e instanceof RangeError)return[NaN];throw _e}}(Y,R):function B(R,P){var Y=R.format(P).replace(/\u200E/g,""),ie=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(Y);return[ie[3],ie[1],ie[2],ie[4],ie[5],ie[6]]}(Y,R)};var k={year:0,month:1,day:2,hour:3,minute:4,second:5},G={};K.exports=O.default},65660:(K,O,A)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=void 0;var k=B(A(47)),V=B(A(1870));function B(_e){return _e&&_e.__esModule?_e:{default:_e}}function R(_e,ze){var re=_e?(0,V.default)(_e,ze,!0)/6e4:ze.getTimezoneOffset();if(Number.isNaN(re))throw new RangeError("Invalid time zone specified: "+_e);return re}function P(_e,ze){for(var re=_e<0?"-":"",X=Math.abs(_e).toString();X.length0?"-":"+",U=Math.abs(_e);return X+P(Math.floor(U/60),2)+re+P(Math.floor(U%60),2)}function ie(_e,ze){return _e%60==0?(_e>0?"-":"+")+P(Math.abs(_e)/60,2):Y(_e,ze)}O.default={X:function(_e,ze,re,X){var U=R(X.timeZone,X._originalDate||_e);if(0===U)return"Z";switch(ze){case"X":return ie(U);case"XXXX":case"XX":return Y(U);default:return Y(U,":")}},x:function(_e,ze,re,X){var U=R(X.timeZone,X._originalDate||_e);switch(ze){case"x":return ie(U);case"xxxx":case"xx":return Y(U);default:return Y(U,":")}},O:function(_e,ze,re,X){var U=R(X.timeZone,X._originalDate||_e);switch(ze){case"O":case"OO":case"OOO":return"GMT"+function ce(_e,ze){var re=_e>0?"-":"+",X=Math.abs(_e),U=Math.floor(X/60),W=X%60;if(0===W)return re+String(U);var j=ze||"";return re+String(U)+j+P(W,2)}(U,":");default:return"GMT"+Y(U,":")}},z:function(_e,ze,re,X){var U=X._originalDate||_e;switch(ze){case"z":case"zz":case"zzz":return(0,k.default)("short",U,X);default:return(0,k.default)("long",U,X)}}},K.exports=O.default},34294:(K,O,A)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function R(P,Y,ie){var ce=String(Y),Ue=ie||{},_e=ce.match($);if(_e){var ze=(0,B.default)(P,Ue);ce=_e.reduce(function(re,X){if("'"===X[0])return re;var U=re.indexOf(X),W="'"===re[U-1],j=re.replace(X,"'"+V.default[X[0]](ze,X,null,Ue)+"'");return W?j.substring(0,U-1)+j.substring(U+1):j},ce)}return(0,k.default)(P,ce,Ue)};var k=G(A(27868)),V=G(A(65660)),B=G(A(29018));function G(P){return P&&P.__esModule?P:{default:P}}var $=/([xXOz]+)|''|'(''|[^'])+('|$)/g;K.exports=O.default},28032:(K,O,A)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function $(R,P,Y,ie){var ce=(0,k.default)(ie);return ce.timeZone=P,(0,V.default)((0,B.default)(R,P),Y,ce)};var k=G(A(42926)),V=G(A(34294)),B=G(A(17318));function G(R){return R&&R.__esModule?R:{default:R}}K.exports=O.default},46167:(K,O,A)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function B(G,$){return-(0,k.default)(G,$)};var k=function V(G){return G&&G.__esModule?G:{default:G}}(A(1870));K.exports=O.default},30298:(K,O,A)=>{"use strict";K.exports={format:A(34294),formatInTimeZone:A(28032),getTimezoneOffset:A(46167),toDate:A(29018),utcToZonedTime:A(17318),zonedTimeToUtc:A(99679)}},29018:(K,O,A)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function ce(xe,Ae){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===xe)return new Date(NaN);var ve=Ae||{},Ze=null==ve.additionalDigits?2:(0,k.default)(ve.additionalDigits);if(2!==Ze&&1!==Ze&&0!==Ze)throw new RangeError("additionalDigits must be 0, 1 or 2");if(xe instanceof Date||"object"==typeof xe&&"[object Date]"===Object.prototype.toString.call(xe))return new Date(xe.getTime());if("number"==typeof xe||"[object Number]"===Object.prototype.toString.call(xe))return new Date(xe);if("string"!=typeof xe&&"[object String]"!==Object.prototype.toString.call(xe))return new Date(NaN);var St=Ue(xe),ue=_e(St.date,Ze),Ri=ue.year,Di=ue.restDateString,fe=ze(Di,Ri);if(isNaN(fe))return new Date(NaN);if(fe){var $i,Fr=fe.getTime(),nr=0;if(St.time&&(nr=re(St.time),isNaN(nr)))return new Date(NaN);if(St.timeZone||ve.timeZone){if($i=(0,B.default)(St.timeZone||ve.timeZone,new Date(Fr+nr)),isNaN($i))return new Date(NaN)}else $i=(0,V.default)(new Date(Fr+nr)),$i=(0,V.default)(new Date(Fr+nr+$i));return new Date(Fr+nr+$i)}return new Date(NaN)};var k=$(A(6092)),V=$(A(47664)),B=$(A(1870)),G=$(A(32121));function $(xe){return xe&&xe.__esModule?xe:{default:xe}}var R=36e5,ie={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:G.default};function Ue(xe){var Ze,Ae={},ve=ie.dateTimePattern.exec(xe);if(ve?(Ae.date=ve[1],Ze=ve[3]):(ve=ie.datePattern.exec(xe))?(Ae.date=ve[1],Ze=ve[2]):(Ae.date=null,Ze=xe),Ze){var St=ie.timeZone.exec(Ze);St?(Ae.time=Ze.replace(St[1],""),Ae.timeZone=St[1].trim()):Ae.time=Ze}return Ae}function _e(xe,Ae){var St,ve=ie.YYY[Ae],Ze=ie.YYYYY[Ae];if(St=ie.YYYY.exec(xe)||Ze.exec(xe)){var ue=St[1];return{year:parseInt(ue,10),restDateString:xe.slice(ue.length)}}if(St=ie.YY.exec(xe)||ve.exec(xe)){var Ri=St[1];return{year:100*parseInt(Ri,10),restDateString:xe.slice(Ri.length)}}return{year:null}}function ze(xe,Ae){if(null===Ae)return null;var ve,Ze,St,ue;if(0===xe.length)return(Ze=new Date(0)).setUTCFullYear(Ae),Ze;if(ve=ie.MM.exec(xe))return Ze=new Date(0),z(Ae,St=parseInt(ve[1],10)-1)?(Ze.setUTCFullYear(Ae,St),Ze):new Date(NaN);if(ve=ie.DDD.exec(xe)){Ze=new Date(0);var Ri=parseInt(ve[1],10);return function pe(xe,Ae){if(Ae<1)return!1;var ve=j(xe);return!(ve&&Ae>366||!ve&&Ae>365)}(Ae,Ri)?(Ze.setUTCFullYear(Ae,0,Ri),Ze):new Date(NaN)}if(ve=ie.MMDD.exec(xe)){Ze=new Date(0),St=parseInt(ve[1],10)-1;var Di=parseInt(ve[2],10);return z(Ae,St,Di)?(Ze.setUTCFullYear(Ae,St,Di),Ze):new Date(NaN)}if(ve=ie.Www.exec(xe))return Fe(0,ue=parseInt(ve[1],10)-1)?X(Ae,ue):new Date(NaN);if(ve=ie.WwwD.exec(xe)){ue=parseInt(ve[1],10)-1;var fe=parseInt(ve[2],10)-1;return Fe(0,ue,fe)?X(Ae,ue,fe):new Date(NaN)}return null}function re(xe){var Ae,ve,Ze;if(Ae=ie.HH.exec(xe))return Ee(ve=parseFloat(Ae[1].replace(",",".")))?ve%24*R:NaN;if(Ae=ie.HHMM.exec(xe))return Ee(ve=parseInt(Ae[1],10),Ze=parseFloat(Ae[2].replace(",",".")))?ve%24*R+6e4*Ze:NaN;if(Ae=ie.HHMMSS.exec(xe)){ve=parseInt(Ae[1],10),Ze=parseInt(Ae[2],10);var St=parseFloat(Ae[3].replace(",","."));return Ee(ve,Ze,St)?ve%24*R+6e4*Ze+1e3*St:NaN}return null}function X(xe,Ae,ve){Ae=Ae||0,ve=ve||0;var Ze=new Date(0);Ze.setUTCFullYear(xe,0,4);var ue=7*Ae+ve+1-(Ze.getUTCDay()||7);return Ze.setUTCDate(Ze.getUTCDate()+ue),Ze}var U=[31,28,31,30,31,30,31,31,30,31,30,31],W=[31,29,31,30,31,30,31,31,30,31,30,31];function j(xe){return xe%400==0||xe%4==0&&xe%100!=0}function z(xe,Ae,ve){if(Ae<0||Ae>11)return!1;if(null!=ve){if(ve<1)return!1;var Ze=j(xe);if(Ze&&ve>W[Ae]||!Ze&&ve>U[Ae])return!1}return!0}function Fe(xe,Ae,ve){return!(Ae<0||Ae>52||null!=ve&&(ve<0||ve>6))}function Ee(xe,Ae,ve){return!(null!=xe&&(xe<0||xe>=25)||null!=Ae&&(Ae<0||Ae>=60)||null!=ve&&(ve<0||ve>=60))}K.exports=O.default},17318:(K,O,A)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function G($,R,P){var Y=(0,V.default)($,P),ie=(0,k.default)(R,Y,!0),ce=new Date(Y.getTime()-ie),Ue=new Date(0);return Ue.setFullYear(ce.getUTCFullYear(),ce.getUTCMonth(),ce.getUTCDate()),Ue.setHours(ce.getUTCHours(),ce.getUTCMinutes(),ce.getUTCSeconds(),ce.getUTCMilliseconds()),Ue};var k=B(A(1870)),V=B(A(29018));function B($){return $&&$.__esModule?$:{default:$}}K.exports=O.default},99679:(K,O,A)=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=function P(Y,ie,ce){if("string"==typeof Y&&!Y.match(B.default)){var Ue=(0,k.default)(ce);return Ue.timeZone=ie,(0,V.default)(Y,Ue)}var _e=(0,V.default)(Y,ce),ze=(0,$.default)(_e.getFullYear(),_e.getMonth(),_e.getDate(),_e.getHours(),_e.getMinutes(),_e.getSeconds(),_e.getMilliseconds()).getTime(),re=(0,G.default)(ie,new Date(ze));return new Date(ze+re)};var k=R(A(42926)),V=R(A(29018)),B=R(A(32121)),G=R(A(1870)),$=R(A(36930));function R(Y){return Y&&Y.__esModule?Y:{default:Y}}K.exports=O.default},36758:K=>{K.exports=function O(A){return A&&A.__esModule?A:{default:A}},K.exports.__esModule=!0,K.exports.default=K.exports},50590:K=>{function O(A){return K.exports=O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(k){return typeof k}:function(k){return k&&"function"==typeof Symbol&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},K.exports.__esModule=!0,K.exports.default=K.exports,O(A)}K.exports=O,K.exports.__esModule=!0,K.exports.default=K.exports}},K=>{K(K.s=83734)}]); \ No newline at end of file