avo 2.5.2.pre.5 → 2.5.2.pre.6
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of avo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -3
- data/app/assets/builds/avo.css +60 -0
- data/app/assets/builds/avo.js +1 -1
- data/app/assets/builds/avo.js.map +2 -2
- data/app/components/avo/button_component.rb +45 -8
- data/app/components/avo/sidebar/group_component.html.erb +3 -3
- data/app/components/avo/sidebar/heading_component.html.erb +2 -2
- data/app/components/avo/sidebar/link_component.html.erb +1 -1
- data/app/components/avo/sidebar/link_component.rb +1 -1
- data/app/components/avo/views/resource_index_component.html.erb +2 -2
- data/app/components/avo/views/resource_show_component.html.erb +1 -1
- data/app/controllers/avo/private_controller.rb +1 -0
- data/app/javascript/js/controllers/menu_controller.js +2 -2
- data/app/views/avo/private/_links_and_buttons.html.erb +1 -1
- data/app/views/layouts/avo/application.html.erb +1 -1
- data/lib/avo/version.rb +1 -1
- data/public/avo-assets/avo.css +42 -11
- data/public/avo-assets/avo.js +1 -1
- data/public/avo-assets/avo.js.map +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 980b088fbe620e1ad2f98a0efac9f17c16200cb75d635d47fc3a9df1671c28d7
|
4
|
+
data.tar.gz: e0e3264226d0bbf1178cf6d481995fac1b657d9cccf04ce1e8f873ae42214e3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 454a2ce7f86a0ed90f0f0031efa1d81eadd3f059a7dba0cc73f0e627e13d2d43f6039264dfdebb4ae0fba17e0b5b8598371dfa3a2fc94e9b4920b9c5bae14f5d
|
7
|
+
data.tar.gz: b126d79deff83b72d71cf9674cfe8f0e38f1eb4a48a731c7645f5ccc7414d3e1bb252a6e19ddd5d987e2d98bcc4479c07fd14f53607c1f8771dc1d68cb497721
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
avo (2.5.2.pre.
|
4
|
+
avo (2.5.2.pre.6)
|
5
5
|
active_link_to
|
6
6
|
addressable
|
7
7
|
breadcrumbs_on_rails
|
@@ -248,8 +248,6 @@ GEM
|
|
248
248
|
nokogiri (1.13.4)
|
249
249
|
mini_portile2 (~> 2.8.0)
|
250
250
|
racc (~> 1.4)
|
251
|
-
nokogiri (1.13.4-x86_64-linux)
|
252
|
-
racc (~> 1.4)
|
253
251
|
orm_adapter (0.5.0)
|
254
252
|
pagy (5.10.1)
|
255
253
|
activesupport
|
data/app/assets/builds/avo.css
CHANGED
@@ -6348,6 +6348,16 @@ progress[value]::-moz-progress-bar{
|
|
6348
6348
|
margin-right:0.5rem
|
6349
6349
|
}
|
6350
6350
|
|
6351
|
+
.my-2{
|
6352
|
+
margin-top:0.5rem;
|
6353
|
+
margin-bottom:0.5rem
|
6354
|
+
}
|
6355
|
+
|
6356
|
+
.my-1\.5{
|
6357
|
+
margin-top:0.375rem;
|
6358
|
+
margin-bottom:0.375rem
|
6359
|
+
}
|
6360
|
+
|
6351
6361
|
.mt-2{
|
6352
6362
|
margin-top:0.5rem
|
6353
6363
|
}
|
@@ -6480,6 +6490,22 @@ progress[value]::-moz-progress-bar{
|
|
6480
6490
|
margin-bottom:0.25rem
|
6481
6491
|
}
|
6482
6492
|
|
6493
|
+
.mr-0\.5{
|
6494
|
+
margin-right:0.125rem
|
6495
|
+
}
|
6496
|
+
|
6497
|
+
.mr-0{
|
6498
|
+
margin-right:0px
|
6499
|
+
}
|
6500
|
+
|
6501
|
+
.ml-2{
|
6502
|
+
margin-left:0.5rem
|
6503
|
+
}
|
6504
|
+
|
6505
|
+
.mr-8{
|
6506
|
+
margin-right:2rem
|
6507
|
+
}
|
6508
|
+
|
6483
6509
|
.block{
|
6484
6510
|
display:block
|
6485
6511
|
}
|
@@ -6926,6 +6952,18 @@ progress[value]::-moz-progress-bar{
|
|
6926
6952
|
margin-bottom:calc(0.75rem * var(--tw-space-y-reverse))
|
6927
6953
|
}
|
6928
6954
|
|
6955
|
+
.space-y-10 > :not([hidden]) ~ :not([hidden]){
|
6956
|
+
--tw-space-y-reverse:0;
|
6957
|
+
margin-top:calc(2.5rem * calc(1 - var(--tw-space-y-reverse)));
|
6958
|
+
margin-bottom:calc(2.5rem * var(--tw-space-y-reverse))
|
6959
|
+
}
|
6960
|
+
|
6961
|
+
.space-y-16 > :not([hidden]) ~ :not([hidden]){
|
6962
|
+
--tw-space-y-reverse:0;
|
6963
|
+
margin-top:calc(4rem * calc(1 - var(--tw-space-y-reverse)));
|
6964
|
+
margin-bottom:calc(4rem * var(--tw-space-y-reverse))
|
6965
|
+
}
|
6966
|
+
|
6929
6967
|
.divide-y > :not([hidden]) ~ :not([hidden]){
|
6930
6968
|
--tw-divide-y-reverse:0;
|
6931
6969
|
border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));
|
@@ -7227,6 +7265,10 @@ progress[value]::-moz-progress-bar{
|
|
7227
7265
|
border-color:rgb(94 100 110 / var(--tw-border-opacity))
|
7228
7266
|
}
|
7229
7267
|
|
7268
|
+
.border-transparent{
|
7269
|
+
border-color:transparent
|
7270
|
+
}
|
7271
|
+
|
7230
7272
|
.bg-red-600{
|
7231
7273
|
--tw-bg-opacity:1;
|
7232
7274
|
background-color:rgb(220 38 38 / var(--tw-bg-opacity))
|
@@ -7468,6 +7510,16 @@ progress[value]::-moz-progress-bar{
|
|
7468
7510
|
padding-right:2rem
|
7469
7511
|
}
|
7470
7512
|
|
7513
|
+
.py-1\.5{
|
7514
|
+
padding-top:0.375rem;
|
7515
|
+
padding-bottom:0.375rem
|
7516
|
+
}
|
7517
|
+
|
7518
|
+
.px-5{
|
7519
|
+
padding-left:1.25rem;
|
7520
|
+
padding-right:1.25rem
|
7521
|
+
}
|
7522
|
+
|
7471
7523
|
.pl-4{
|
7472
7524
|
padding-left:1rem
|
7473
7525
|
}
|
@@ -7536,6 +7588,10 @@ progress[value]::-moz-progress-bar{
|
|
7536
7588
|
padding-left:0.5rem
|
7537
7589
|
}
|
7538
7590
|
|
7591
|
+
.pr-0{
|
7592
|
+
padding-right:0px
|
7593
|
+
}
|
7594
|
+
|
7539
7595
|
.text-left{
|
7540
7596
|
text-align:left
|
7541
7597
|
}
|
@@ -8917,6 +8973,10 @@ trix-editor {
|
|
8917
8973
|
padding:1rem
|
8918
8974
|
}
|
8919
8975
|
|
8976
|
+
.lg\:p-6{
|
8977
|
+
padding:1.5rem
|
8978
|
+
}
|
8979
|
+
|
8920
8980
|
.lg\:px-8{
|
8921
8981
|
padding-left:2rem;
|
8922
8982
|
padding-right:2rem
|
data/app/assets/builds/avo.js
CHANGED
@@ -91,7 +91,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
91
91
|
/>`}setOptions(){let r;try{r=JSON.parse(this.controllerTarget.dataset.options)}catch(e){r={}}this.options=Mc(Fs({},r),{inputClasses:this.controllerTarget.dataset.inputClasses,editable:Kn(this.controllerTarget.dataset.editable)})}};ft(yw,"targets",["input","controller","rows"])});var oI,_te=te(()=>{gr();oI=class extends ht{constructor(){super(...arguments);ft(this,"spinnerMarkup",`<div class="button-spinner">
|
92
92
|
<div class="double-bounce1"></div>
|
93
93
|
<div class="double-bounce2"></div>
|
94
|
-
</div>`);ft(this,"confirmed",!1)}connect(){this.context.scope.element.addEventListener("click",r=>{this.confirmationMessage?this.confirmed||(r.preventDefault(),window.confirm(this.confirmationMessage)&&this.applyLoader()):this.applyLoader()})}get button(){return this.context.scope.element}get confirmationMessage(){return this.context.scope.element.getAttribute("data-avo-confirm")}applyLoader(){let{button:r}=this;r.style.width=`${r.getBoundingClientRect().width}px`,r.style.height=`${r.getBoundingClientRect().height}px`,r.innerHTML=this.spinnerMarkup,r.classList.add("justify-center"),setTimeout(()=>{this.markConfirmed(),r.click(),r.setAttribute("disabled","disabled")},1)}markConfirmed(){this.confirmed=!0}markUnconfirmed(){this.confirmed=!1}}});var bw,Ste=te(()=>{gr();bw=class extends ht{constructor(){super(...arguments);ft(this,"collapsed",!0)}get key(){return this.selfTarget.getAttribute("data-menu-key-param")}get defaultState(){return this.selfTarget.getAttribute("data-menu-default-collapsed-state")}get userState(){return window.localStorage.getItem(this.key)}set userState(r){window.localStorage.setItem(this.key,r)}get initiallyCollapsed(){return this.userState==="collapsed"||this.defaultState==="collapsed"?!0:(this.userState==="expanded"||this.defaultState==="expanded",!1)}connect(){this.initiallyCollapsed?(this.collapsed=!0,this.markCollapsed()):(this.collapsed=!1,this.markExpanded())}triggerCollapse(){this.collapsed=!this.collapsed,this.userState=this.collapsed?"collapsed":"expanded",this.updateDom()}updateDom(){this.collapsed?this.markCollapsed():this.markExpanded()}markCollapsed(){this.svgTarget.classList.add("rotate-
|
94
|
+
</div>`);ft(this,"confirmed",!1)}connect(){this.context.scope.element.addEventListener("click",r=>{this.confirmationMessage?this.confirmed||(r.preventDefault(),window.confirm(this.confirmationMessage)&&this.applyLoader()):this.applyLoader()})}get button(){return this.context.scope.element}get confirmationMessage(){return this.context.scope.element.getAttribute("data-avo-confirm")}applyLoader(){let{button:r}=this;r.style.width=`${r.getBoundingClientRect().width}px`,r.style.height=`${r.getBoundingClientRect().height}px`,r.innerHTML=this.spinnerMarkup,r.classList.add("justify-center"),setTimeout(()=>{this.markConfirmed(),r.click(),r.setAttribute("disabled","disabled")},1)}markConfirmed(){this.confirmed=!0}markUnconfirmed(){this.confirmed=!1}}});var bw,Ste=te(()=>{gr();bw=class extends ht{constructor(){super(...arguments);ft(this,"collapsed",!0)}get key(){return this.selfTarget.getAttribute("data-menu-key-param")}get defaultState(){return this.selfTarget.getAttribute("data-menu-default-collapsed-state")}get userState(){return window.localStorage.getItem(this.key)}set userState(r){window.localStorage.setItem(this.key,r)}get initiallyCollapsed(){return this.userState==="collapsed"||this.defaultState==="collapsed"?!0:(this.userState==="expanded"||this.defaultState==="expanded",!1)}connect(){this.initiallyCollapsed?(this.collapsed=!0,this.markCollapsed()):(this.collapsed=!1,this.markExpanded())}triggerCollapse(){this.collapsed=!this.collapsed,this.userState=this.collapsed?"collapsed":"expanded",this.updateDom()}updateDom(){this.collapsed?this.markCollapsed():this.markExpanded()}markCollapsed(){this.svgTarget.classList.add("rotate-90"),this.itemsTarget.classList.add("hidden")}markExpanded(){this.svgTarget.classList.remove("rotate-90"),this.itemsTarget.classList.remove("hidden")}};ft(bw,"targets",["svg","items","self"])});var xw,kte=te(()=>{gr();xw=class extends ht{toggleSidebar(){this.sidebarTarget.classList.toggle("hidden")}};ft(xw,"targets",["sidebar"])});var ww,Ete=te(()=>{gr();ww=class extends ht{close(){this.modalTarget.remove(),document.dispatchEvent(new Event("actions-modal:close"))}delayedClose(){let r=this;setTimeout(()=>{r.modalTarget.remove(),document.dispatchEvent(new Event("actions-modal:close"))},500)}};ft(ww,"targets",["modal"])});var _w,Cte=te(()=>{bd();_w=class extends Yi{getFilterValue(){let r=Array.from(this.selectorTarget.selectedOptions).map(({value:e})=>e);return r.length===0?null:r}getFilterClass(){let{filterClass:r}=this.selectorTarget.dataset;return r}};ft(_w,"targets",["selector"])});var Sw,Ate=te(()=>{gr();Sw=class extends ht{get turboFrame(){return this.selectorTarget.dataset.turboFrame}reload(){document.querySelector(`[data-per-page-option="${this.selectorTarget.value}"][data-turbo-frame="${this.turboFrame}"]`).click()}};ft(Sw,"targets",["selector"])});function wg(r){return{current:r}}var Tte=te(()=>{});function aI(r,e){var t=void 0;return function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];t&&clearTimeout(t),t=setTimeout(function(){return r.apply(void 0,i)},e)}}var Dte=te(()=>{});function kw(){return"autocomplete-".concat(oVe++)}var oVe,Ote=te(()=>{oVe=0});function Pd(r,e){return e.reduce(function(t,n){return t&&t[n]},r)}var Mte=te(()=>{});function Al(r){return r.collections.length===0?0:r.collections.reduce(function(e,t){return e+t.items.length},0)}var Ite=te(()=>{});var Pte=te(()=>{});var Lte=te(()=>{});var qte=te(()=>{});var Rte=te(()=>{});var Xu=te(()=>{Tte();Dte();Ote();Mte();Ite();Pte();Lte();qte();Rte()});function Fte(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),t.push.apply(t,n)}return t}function aVe(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Fte(Object(t),!0).forEach(function(n){sVe(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):Fte(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function sVe(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Nte(r,e,t){var n=e.initialState;return{getState:function(){return n},dispatch:function(o,a){var s=aVe({},n);n=r(n,{type:o,props:e,payload:a}),t({state:n,prevState:s})}}}var Bte=te(()=>{});var jte=te(()=>{});function Ld(r){return r.reduce(function(e,t){return e.concat(t)},[])}var zte=te(()=>{});function sI(r,e,t,n){if(r<0&&(e===null||n!==null&&e===0))return t+r;var i=(e===null?-1:e)+r;return i<=-1||i>=t?n===null?null:0:i}var Hte=te(()=>{});var Wte,lI=te(()=>{Wte=function(){}});function Ute(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),t.push.apply(t,n)}return t}function lVe(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ute(Object(t),!0).forEach(function(n){uVe(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):Ute(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function uVe(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Ew(r){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ew=function(t){return typeof t}:Ew=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ew(r)}function Vte(r,e){var t=[];return Promise.resolve(r(e)).then(function(n){return Array.isArray(n),"The `getSources` function must return an array of sources but returned type ".concat(JSON.stringify(Ew(n)),`:
|
95
95
|
|
96
96
|
`).concat(JSON.stringify(n,null,2)),Promise.all(n.filter(function(i){return Boolean(i)}).map(function(i){if(i.sourceId,t.includes(i.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(i.sourceId)," is not unique."));t.push(i.sourceId);var o=lVe({getItemInputValue:function(s){var u=s.state;return u.query},getItemUrl:function(){},onSelect:function(s){var u=s.setIsOpen;u(!1)},onActive:Wte},i);return Promise.resolve(o)}))})}var $te=te(()=>{lI()});function cVe(r){var e=r.collections.map(function(n){return n.items.length}).reduce(function(n,i,o){var a=n[o-1]||0,s=a+i;return n.push(s),n},[]),t=e.reduce(function(n,i){return i<=r.activeItemId?n+1:n},0);return r.collections[t]}function fVe(r){for(var e=r.state,t=r.collection,n=!1,i=0,o=0;n===!1;){var a=e.collections[i];if(a===t){n=!0;break}o+=a.items.length,i++}return e.activeItemId-o}function Oa(r){var e=cVe(r);if(!e)return null;var t=e.items[fVe({state:r,collection:e})],n=e.source,i=n.getItemInputValue({item:t,state:r}),o=n.getItemUrl({item:t,state:r});return{item:t,itemInputValue:i,itemUrl:o,source:n}}var Yte=te(()=>{});function uI(r,e){return r===e||r.contains(e)}var Kte=te(()=>{});function Gte(r){return{results:r,hits:r.map(function(e){return e.hits}).filter(Boolean),facetHits:r.map(function(e){var t;return(t=e.facetHits)===null||t===void 0?void 0:t.map(function(n){return{label:n.value,count:n.count,_highlightResult:{label:{value:n.highlighted}}}})}).filter(Boolean)}}var Xte=te(()=>{});var ws=te(()=>{jte();zte();Hte();$te();Yte();Kte();Xte();lI()});function Qte(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),t.push.apply(t,n)}return t}function Cw(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Qte(Object(t),!0).forEach(function(n){dVe(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):Qte(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function dVe(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Zte(r){var e=r.store,t=function(f){e.dispatch("setActiveItemId",f)},n=function(f){e.dispatch("setQuery",f)},i=function(f){var c=0,h=f.map(function(p){return Cw(Cw({},p),{},{items:Ld(p.items).map(function(m){return Cw(Cw({},m),{},{__autocomplete_id:c++})})})});e.dispatch("setCollections",h)},o=function(f){e.dispatch("setIsOpen",f)},a=function(f){e.dispatch("setStatus",f)},s=function(f){e.dispatch("setContext",f)};return{setActiveItemId:t,setQuery:n,setCollections:i,setIsOpen:o,setStatus:a,setContext:s}}var Jte=te(()=>{ws()});function hVe(r){return vVe(r)||gVe(r)||mVe(r)||pVe()}function pVe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
97
97
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mVe(r,e){if(!!r){if(typeof r=="string")return cI(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return cI(r,e)}}function gVe(r){if(typeof Symbol<"u"&&Symbol.iterator in Object(r))return Array.from(r)}function vVe(r){if(Array.isArray(r))return cI(r)}function cI(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=r[t];return n}function ere(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),t.push.apply(t,n)}return t}function qd(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?ere(Object(t),!0).forEach(function(n){yVe(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):ere(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function yVe(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function tre(r,e){var t,n=typeof window<"u"?window:{},i=r.plugins||[];return qd(qd({debug:!1,openOnFocus:!1,placeholder:"",autoFocus:!1,defaultActiveItemId:null,stallThreshold:300,environment:n,shouldPanelOpen:function(a){var s=a.state;return Al(s)>0}},r),{},{id:(t=r.id)!==null&&t!==void 0?t:kw(),plugins:i,initialState:qd({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},r.initialState),onStateChange:function(a){var s;(s=r.onStateChange)===null||s===void 0||s.call(r,a),i.forEach(function(u){var f;return(f=u.onStateChange)===null||f===void 0?void 0:f.call(u,a)})},onSubmit:function(a){var s;(s=r.onSubmit)===null||s===void 0||s.call(r,a),i.forEach(function(u){var f;return(f=u.onSubmit)===null||f===void 0?void 0:f.call(u,a)})},onReset:function(a){var s;(s=r.onReset)===null||s===void 0||s.call(r,a),i.forEach(function(u){var f;return(f=u.onReset)===null||f===void 0?void 0:f.call(u,a)})},getSources:function(a){return Promise.all([].concat(hVe(i.map(function(s){return s.getSources})),[r.getSources]).filter(Boolean).map(function(s){return Vte(s,a)})).then(function(s){return Ld(s)}).then(function(s){return s.map(function(u){return qd(qd({},u),{},{onSelect:function(c){u.onSelect(c),e.forEach(function(h){var p;return(p=h.onSelect)===null||p===void 0?void 0:p.call(h,c)})},onActive:function(c){u.onActive(c),e.forEach(function(h){var p;return(p=h.onActive)===null||p===void 0?void 0:p.call(h,c)})}})})})},navigator:qd({navigate:function(a){var s=a.itemUrl;n.location.assign(s)},navigateNewTab:function(a){var s=a.itemUrl,u=n.open(s,"_blank","noopener");u?.focus()},navigateNewWindow:function(a){var s=a.itemUrl;n.open(s,"_blank","noopener")}},r.navigator)})}var fI=te(()=>{Xu();ws()});function Tw(r){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Tw=function(t){return typeof t}:Tw=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tw(r)}function bVe(r){return SVe(r)||_Ve(r)||wVe(r)||xVe()}function xVe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|