From 8e4293ef6e00df761cabfff89f2d3ab5a41287fe Mon Sep 17 00:00:00 2001 From: Richard Korthuis Date: Tue, 13 Aug 2024 17:20:29 +0200 Subject: [PATCH] First alpha version of the plugin --- .gitignore | 51 + LICENSE.md | 288 + README.md | 29 + .../owc-openkaarten/streetmap/block.json | 40 + .../owc-openkaarten/streetmap/client.js | 3 + .../streetmap/client.js.LICENSE.txt | 6 + .../owc-openkaarten/streetmap/client.js.map | 1 + .../owc-openkaarten/streetmap/editor.css | 3 + .../owc-openkaarten/streetmap/editor.css.map | 1 + .../owc-openkaarten/streetmap/style.css | 3 + .../owc-openkaarten/streetmap/style.css.map | 1 + build/index.asset.php | 1 + build/index.js | 1 + build/mix-manifest.json | 5 + composer.json | 26 + composer.lock | 850 + functions/openkaarten-frontend-plugin-mix.php | 44 + ...rten-frontend-plugin-to-dom-attributes.php | 40 + includes/admin/class-admin.php | 121 + includes/class-autoloader.php | 59 + includes/class-base-block.php | 57 + includes/class-i18n.php | 50 + includes/class-plugin.php | 101 + includes/frontend/class-frontend.php | 137 + ...l_NL-a6d89d02facc49d2994e1a4275125118.json | 1 + .../openkaarten-frontend-plugin-nl_NL.mo | Bin 0 -> 1205 bytes .../openkaarten-frontend-plugin-nl_NL.po | 89 + languages/openkaarten-frontend-plugin.pot | 103 + openkaarten-frontend-plugin.php | 51 + package-lock.json | 54156 ++++++++++++++++ package.json | 45 + phpcs.xml.dist | 92 + src/blocks/block-list.php | 16 + src/blocks/index.js | 1 + .../streetmap/assets/scripts/client.js | 6 + .../streetmap/assets/scripts/edit.js | 118 + .../assets/scripts/utils/calculate-bounds.js | 23 + .../assets/scripts/utils/calculate-center.js | 5 + .../scripts/utils/make-filter-button-html.js | 8 + .../scripts/utils/make-marker-cluster.js | 41 + .../assets/scripts/utils/make-marker-icon.js | 39 + .../assets/scripts/utils/make-tooltip-card.js | 10 + .../streetmap/assets/scripts/vue/App.vue | 106 + .../assets/scripts/vue/BaseAlert.vue | 45 + .../assets/scripts/vue/BaseLoader.vue | 29 + .../assets/scripts/vue/BaseMapFilters.vue | 202 + .../scripts/vue/BaseMapFiltersCheckbox.vue | 118 + .../assets/scripts/vue/BaseTooltipCard.vue | 153 + .../scripts/vue/BaseTooltipCardClose.vue | 53 + .../streetmap/assets/scripts/vue/TheMap.vue | 359 + .../streetmap/assets/styles/editor.scss | 32 + .../streetmap/assets/styles/style.scss | 99 + .../owc-openkaarten/streetmap/block.json | 40 + .../streetmap/class-streetmap.php | 45 + src/blocks/owc-openkaarten/streetmap/index.js | 11 + .../owc-openkaarten/streetmap/template.php | 56 + src/client/scripts/.gitkeep | 0 webpack.mix.js | 111 + 58 files changed, 58181 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE.md create mode 100644 README.md create mode 100644 build/blocks/owc-openkaarten/streetmap/block.json create mode 100644 build/blocks/owc-openkaarten/streetmap/client.js create mode 100644 build/blocks/owc-openkaarten/streetmap/client.js.LICENSE.txt create mode 100644 build/blocks/owc-openkaarten/streetmap/client.js.map create mode 100644 build/blocks/owc-openkaarten/streetmap/editor.css create mode 100644 build/blocks/owc-openkaarten/streetmap/editor.css.map create mode 100644 build/blocks/owc-openkaarten/streetmap/style.css create mode 100644 build/blocks/owc-openkaarten/streetmap/style.css.map create mode 100644 build/index.asset.php create mode 100644 build/index.js create mode 100644 build/mix-manifest.json create mode 100644 composer.json create mode 100644 composer.lock create mode 100644 functions/openkaarten-frontend-plugin-mix.php create mode 100644 functions/openkaarten-frontend-plugin-to-dom-attributes.php create mode 100644 includes/admin/class-admin.php create mode 100644 includes/class-autoloader.php create mode 100644 includes/class-base-block.php create mode 100644 includes/class-i18n.php create mode 100644 includes/class-plugin.php create mode 100644 includes/frontend/class-frontend.php create mode 100644 languages/openkaarten-frontend-plugin-nl_NL-a6d89d02facc49d2994e1a4275125118.json create mode 100644 languages/openkaarten-frontend-plugin-nl_NL.mo create mode 100644 languages/openkaarten-frontend-plugin-nl_NL.po create mode 100644 languages/openkaarten-frontend-plugin.pot create mode 100644 openkaarten-frontend-plugin.php create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 phpcs.xml.dist create mode 100644 src/blocks/block-list.php create mode 100644 src/blocks/index.js create mode 100644 src/blocks/owc-openkaarten/streetmap/assets/scripts/client.js create mode 100644 src/blocks/owc-openkaarten/streetmap/assets/scripts/edit.js create mode 100644 src/blocks/owc-openkaarten/streetmap/assets/scripts/utils/calculate-bounds.js create mode 100644 src/blocks/owc-openkaarten/streetmap/assets/scripts/utils/calculate-center.js create mode 100644 src/blocks/owc-openkaarten/streetmap/assets/scripts/utils/make-filter-button-html.js create mode 100644 src/blocks/owc-openkaarten/streetmap/assets/scripts/utils/make-marker-cluster.js create mode 100644 src/blocks/owc-openkaarten/streetmap/assets/scripts/utils/make-marker-icon.js create mode 100644 src/blocks/owc-openkaarten/streetmap/assets/scripts/utils/make-tooltip-card.js create mode 100644 src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/App.vue create mode 100644 src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseAlert.vue create mode 100644 src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseLoader.vue create mode 100644 src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseMapFilters.vue create mode 100644 src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseMapFiltersCheckbox.vue create mode 100644 src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseTooltipCard.vue create mode 100644 src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseTooltipCardClose.vue create mode 100644 src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/TheMap.vue create mode 100644 src/blocks/owc-openkaarten/streetmap/assets/styles/editor.scss create mode 100644 src/blocks/owc-openkaarten/streetmap/assets/styles/style.scss create mode 100644 src/blocks/owc-openkaarten/streetmap/block.json create mode 100644 src/blocks/owc-openkaarten/streetmap/class-streetmap.php create mode 100644 src/blocks/owc-openkaarten/streetmap/index.js create mode 100644 src/blocks/owc-openkaarten/streetmap/template.php create mode 100644 src/client/scripts/.gitkeep create mode 100644 webpack.mix.js diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..88552f7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,51 @@ +# These are some examples of commonly ignored file patterns. +# You should customize this list as applicable to your project. +# Learn more about .gitignore: +# https://www.atlassian.com/git/tutorials/saving-changes/gitignore + +# Node artifact files +node_modules/ +dist/ + +# Compiled Java class files +*.class + +# Compiled Python bytecode +*.py[cod] + +# Log files +*.log + +# Package files +*.jar + +# Maven +target/ +dist/ + +# JetBrains IDE +.idea/ + +# Unit test reports +TEST*.xml + +# Generated by MacOS +.DS_Store + +# Generated by Windows +Thumbs.db + +# Applications +*.app +*.exe +*.war + +# Large media files +*.mp4 +*.tiff +*.avi +*.flv +*.mov +*.wmv + +vendor/ diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..7bdae8d --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,288 @@ +# EUROPEAN UNION PUBLIC LICENCE v. 1.2 + +EUPL © the European Union 2007, 2016 + +This European Union Public Licence (the ‘EUPL’) applies to the Work (as defined +below) which is provided under the terms of this Licence. Any use of the Work, +other than as authorised under this Licence is prohibited (to the extent such +use is covered by a right of the copyright holder of the Work). + +The Work is provided under the terms of this Licence when the Licensor (as +defined below) has placed the following notice immediately following the +copyright notice for the Work: + + Licensed under the EUPL + +or has expressed by any other means his willingness to license under the EUPL. + +## 1. Definitions + +In this Licence, the following terms have the following meaning: + +- ‘The Licence’: this Licence. + +- ‘The Original Work’: the work or software distributed or communicated by the + Licensor under this Licence, available as Source Code and also as Executable + Code as the case may be. + +- ‘Derivative Works’: the works or software that could be created by the + Licensee, based upon the Original Work or modifications thereof. This Licence + does not define the extent of modification or dependence on the Original Work + required in order to classify a work as a Derivative Work; this extent is + determined by copyright law applicable in the country mentioned in Article 15. + +- ‘The Work’: the Original Work or its Derivative Works. + +- ‘The Source Code’: the human-readable form of the Work which is the most + convenient for people to study and modify. + +- ‘The Executable Code’: any code which has generally been compiled and which is + meant to be interpreted by a computer as a program. + +- ‘The Licensor’: the natural or legal person that distributes or communicates + the Work under the Licence. + +- ‘Contributor(s)’: any natural or legal person who modifies the Work under the + Licence, or otherwise contributes to the creation of a Derivative Work. + +- ‘The Licensee’ or ‘You’: any natural or legal person who makes any usage of + the Work under the terms of the Licence. + +- ‘Distribution’ or ‘Communication’: any act of selling, giving, lending, + renting, distributing, communicating, transmitting, or otherwise making + available, online or offline, copies of the Work or providing access to its + essential functionalities at the disposal of any other natural or legal + person. + +## 2. Scope of the rights granted by the Licence + +The Licensor hereby grants You a worldwide, royalty-free, non-exclusive, +sublicensable licence to do the following, for the duration of copyright vested +in the Original Work: + +- use the Work in any circumstance and for all usage, +- reproduce the Work, +- modify the Work, and make Derivative Works based upon the Work, +- communicate to the public, including the right to make available or display + the Work or copies thereof to the public and perform publicly, as the case may + be, the Work, +- distribute the Work or copies thereof, +- lend and rent the Work or copies thereof, +- sublicense rights in the Work or copies thereof. + +Those rights can be exercised on any media, supports and formats, whether now +known or later invented, as far as the applicable law permits so. + +In the countries where moral rights apply, the Licensor waives his right to +exercise his moral right to the extent allowed by law in order to make effective +the licence of the economic rights here above listed. + +The Licensor grants to the Licensee royalty-free, non-exclusive usage rights to +any patents held by the Licensor, to the extent necessary to make use of the +rights granted on the Work under this Licence. + +## 3. Communication of the Source Code + +The Licensor may provide the Work either in its Source Code form, or as +Executable Code. If the Work is provided as Executable Code, the Licensor +provides in addition a machine-readable copy of the Source Code of the Work +along with each copy of the Work that the Licensor distributes or indicates, in +a notice following the copyright notice attached to the Work, a repository where +the Source Code is easily and freely accessible for as long as the Licensor +continues to distribute or communicate the Work. + +## 4. Limitations on copyright + +Nothing in this Licence is intended to deprive the Licensee of the benefits from +any exception or limitation to the exclusive rights of the rights owners in the +Work, of the exhaustion of those rights or of other applicable limitations +thereto. + +## 5. Obligations of the Licensee + +The grant of the rights mentioned above is subject to some restrictions and +obligations imposed on the Licensee. Those obligations are the following: + +Attribution right: The Licensee shall keep intact all copyright, patent or +trademarks notices and all notices that refer to the Licence and to the +disclaimer of warranties. The Licensee must include a copy of such notices and a +copy of the Licence with every copy of the Work he/she distributes or +communicates. The Licensee must cause any Derivative Work to carry prominent +notices stating that the Work has been modified and the date of modification. + +Copyleft clause: If the Licensee distributes or communicates copies of the +Original Works or Derivative Works, this Distribution or Communication will be +done under the terms of this Licence or of a later version of this Licence +unless the Original Work is expressly distributed only under this version of the +Licence — for example by communicating ‘EUPL v. 1.2 only’. The Licensee +(becoming Licensor) cannot offer or impose any additional terms or conditions on +the Work or Derivative Work that alter or restrict the terms of the Licence. + +Compatibility clause: If the Licensee Distributes or Communicates Derivative +Works or copies thereof based upon both the Work and another work licensed under +a Compatible Licence, this Distribution or Communication can be done under the +terms of this Compatible Licence. For the sake of this clause, ‘Compatible +Licence’ refers to the licences listed in the appendix attached to this Licence. +Should the Licensee's obligations under the Compatible Licence conflict with +his/her obligations under this Licence, the obligations of the Compatible +Licence shall prevail. + +Provision of Source Code: When distributing or communicating copies of the Work, +the Licensee will provide a machine-readable copy of the Source Code or indicate +a repository where this Source will be easily and freely available for as long +as the Licensee continues to distribute or communicate the Work. + +Legal Protection: This Licence does not grant permission to use the trade names, +trademarks, service marks, or names of the Licensor, except as required for +reasonable and customary use in describing the origin of the Work and +reproducing the content of the copyright notice. + +## 6. Chain of Authorship + +The original Licensor warrants that the copyright in the Original Work granted +hereunder is owned by him/her or licensed to him/her and that he/she has the +power and authority to grant the Licence. + +Each Contributor warrants that the copyright in the modifications he/she brings +to the Work are owned by him/her or licensed to him/her and that he/she has the +power and authority to grant the Licence. + +Each time You accept the Licence, the original Licensor and subsequent +Contributors grant You a licence to their contributions to the Work, under the +terms of this Licence. + +## 7. Disclaimer of Warranty + +The Work is a work in progress, which is continuously improved by numerous +Contributors. It is not a finished work and may therefore contain defects or +‘bugs’ inherent to this type of development. + +For the above reason, the Work is provided under the Licence on an ‘as is’ basis +and without warranties of any kind concerning the Work, including without +limitation merchantability, fitness for a particular purpose, absence of defects +or errors, accuracy, non-infringement of intellectual property rights other than +copyright as stated in Article 6 of this Licence. + +This disclaimer of warranty is an essential part of the Licence and a condition +for the grant of any rights to the Work. + +## 8. Disclaimer of Liability + +Except in the cases of wilful misconduct or damages directly caused to natural +persons, the Licensor will in no event be liable for any direct or indirect, +material or moral, damages of any kind, arising out of the Licence or of the use +of the Work, including without limitation, damages for loss of goodwill, work +stoppage, computer failure or malfunction, loss of data or any commercial +damage, even if the Licensor has been advised of the possibility of such damage. +However, the Licensor will be liable under statutory product liability laws as +far such laws apply to the Work. + +## 9. Additional agreements + +While distributing the Work, You may choose to conclude an additional agreement, +defining obligations or services consistent with this Licence. However, if +accepting obligations, You may act only on your own behalf and on your sole +responsibility, not on behalf of the original Licensor or any other Contributor, +and only if You agree to indemnify, defend, and hold each Contributor harmless +for any liability incurred by, or claims asserted against such Contributor by +the fact You have accepted any warranty or additional liability. + +## 10. Acceptance of the Licence + +The provisions of this Licence can be accepted by clicking on an icon ‘I agree’ +placed under the bottom of a window displaying the text of this Licence or by +affirming consent in any other similar way, in accordance with the rules of +applicable law. Clicking on that icon indicates your clear and irrevocable +acceptance of this Licence and all of its terms and conditions. + +Similarly, you irrevocably accept this Licence and all of its terms and +conditions by exercising any rights granted to You by Article 2 of this Licence, +such as the use of the Work, the creation by You of a Derivative Work or the +Distribution or Communication by You of the Work or copies thereof. + +## 11. Information to the public + +In case of any Distribution or Communication of the Work by means of electronic +communication by You (for example, by offering to download the Work from a +remote location) the distribution channel or media (for example, a website) must +at least provide to the public the information requested by the applicable law +regarding the Licensor, the Licence and the way it may be accessible, concluded, +stored and reproduced by the Licensee. + +## 12. Termination of the Licence + +The Licence and the rights granted hereunder will terminate automatically upon +any breach by the Licensee of the terms of the Licence. + +Such a termination will not terminate the licences of any person who has +received the Work from the Licensee under the Licence, provided such persons +remain in full compliance with the Licence. + +## 13. Miscellaneous + +Without prejudice of Article 9 above, the Licence represents the complete +agreement between the Parties as to the Work. + +If any provision of the Licence is invalid or unenforceable under applicable +law, this will not affect the validity or enforceability of the Licence as a +whole. Such provision will be construed or reformed so as necessary to make it +valid and enforceable. + +The European Commission may publish other linguistic versions or new versions of +this Licence or updated versions of the Appendix, so far this is required and +reasonable, without reducing the scope of the rights granted by the Licence. New +versions of the Licence will be published with a unique version number. + +All linguistic versions of this Licence, approved by the European Commission, +have identical value. Parties can take advantage of the linguistic version of +their choice. + +## 14. Jurisdiction + +Without prejudice to specific agreement between parties, + +- any litigation resulting from the interpretation of this License, arising + between the European Union institutions, bodies, offices or agencies, as a + Licensor, and any Licensee, will be subject to the jurisdiction of the Court + of Justice of the European Union, as laid down in article 272 of the Treaty on + the Functioning of the European Union, + +- any litigation arising between other parties and resulting from the + interpretation of this License, will be subject to the exclusive jurisdiction + of the competent court where the Licensor resides or conducts its primary + business. + +## 15. Applicable Law + +Without prejudice to specific agreement between parties, + +- this Licence shall be governed by the law of the European Union Member State + where the Licensor has his seat, resides or has his registered office, + +- this licence shall be governed by Belgian law if the Licensor has no seat, + residence or registered office inside a European Union Member State. + +## Appendix + +‘Compatible Licences’ according to Article 5 EUPL are: + +- GNU General Public License (GPL) v. 2, v. 3 +- GNU Affero General Public License (AGPL) v. 3 +- Open Software License (OSL) v. 2.1, v. 3.0 +- Eclipse Public License (EPL) v. 1.0 +- CeCILL v. 2.0, v. 2.1 +- Mozilla Public Licence (MPL) v. 2 +- GNU Lesser General Public Licence (LGPL) v. 2.1, v. 3 +- Creative Commons Attribution-ShareAlike v. 3.0 Unported (CC BY-SA 3.0) for + works other than software +- European Union Public Licence (EUPL) v. 1.1, v. 1.2 +- Québec Free and Open-Source Licence — Reciprocity (LiLiQ-R) or Strong + Reciprocity (LiLiQ-R+). + +The European Commission may update this Appendix to later versions of the above +licences without producing a new version of the EUPL, as long as they provide +the rights granted in Article 2 of this Licence and protect the covered Source +Code from exclusive appropriation. + +All other changes or additions to this Appendix require the production of a new +EUPL version. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..39af52c --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +# README # + +This README would normally document whatever steps are necessary to get your application up and running. + +### What is this repository for? ### + +* Quick summary +* Version +* [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo) + +### How do I get set up? ### + +* Summary of set up +* Configuration +* Dependencies +* Database configuration +* How to run tests +* Deployment instructions + +### Contribution guidelines ### + +* Writing tests +* Code review +* Other guidelines + +### Who do I talk to? ### + +* Repo owner or admin +* Other community or team contact \ No newline at end of file diff --git a/build/blocks/owc-openkaarten/streetmap/block.json b/build/blocks/owc-openkaarten/streetmap/block.json new file mode 100644 index 0000000..fddf825 --- /dev/null +++ b/build/blocks/owc-openkaarten/streetmap/block.json @@ -0,0 +1,40 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "title": "OWC Openmaps Openstreet Map", + "description": "OWC Openmaps Openstreet Map", + "icon": "admin-site-alt", + "name": "owc-openkaarten/streetmap", + "category": "openkaarten-frontend-plugin", + "textdomain": "openkaarten-frontend-plugin", + "attributes": { + "rest_uri": { + "type": "string", + "default": "" + }, + "selected_datasets": { + "type": "Array", + "default": [] + } + }, + "style": [ + "owc-openkaarten-streetmap-block" + ], + "supports": { + "align": false, + "className": false, + "customClassName": false, + "html": false, + "multiple": false + }, + "keywords": [ + "owc", + "openwebconcept", + "openmaps", + "map", + "locations" + ], + "viewScript": [ + "owc-openkaarten-streetmap-block" + ], + "version": "0.1.0" +} \ No newline at end of file diff --git a/build/blocks/owc-openkaarten/streetmap/client.js b/build/blocks/owc-openkaarten/streetmap/client.js new file mode 100644 index 0000000..ab0e007 --- /dev/null +++ b/build/blocks/owc-openkaarten/streetmap/client.js @@ -0,0 +1,3 @@ +/*! For license information please see client.js.LICENSE.txt */ +(()=>{var t,e={690:(t,e,i)=>{"use strict";var n={};function s(t,e){const i=Object.create(null),n=t.split(",");for(let t=0;t!!i[t.toLowerCase()]:t=>!!i[t]}i.r(n),i.d(n,{BaseTransition:()=>Fi,Comment:()=>_s,EffectScope:()=>yt,Fragment:()=>gs,KeepAlive:()=>Ki,ReactiveEffect:()=>Mt,Static:()=>vs,Suspense:()=>ki,Teleport:()=>as,Text:()=>ys,Transition:()=>La,TransitionGroup:()=>Ga,VueElement:()=>Ca,callWithAsyncErrorHandling:()=>Ir,callWithErrorHandling:()=>Lr,camelize:()=>R,capitalize:()=>Z,cloneVNode:()=>js,compatUtils:()=>Io,computed:()=>li,createApp:()=>Pl,createBlock:()=>Es,createCommentVNode:()=>Hs,createElementBlock:()=>Ss,createElementVNode:()=>Ds,createHydrationRenderer:()=>Yn,createRenderer:()=>Xn,createSSRApp:()=>Tl,createSlots:()=>Ks,createStaticVNode:()=>Zs,createTextVNode:()=>Us,createVNode:()=>Fs,customRef:()=>ni,defineAsyncComponent:()=>qi,defineComponent:()=>Vi,defineCustomElement:()=>xa,defineEmits:()=>fo,defineExpose:()=>mo,defineProps:()=>uo,defineSSRCustomElement:()=>Aa,devtools:()=>ci,effect:()=>Ot,effectScope:()=>_t,getCurrentInstance:()=>ar,getCurrentScope:()=>xt,getTransitionRawChildren:()=>Hi,guardReactiveProps:()=>Rs,h:()=>bo,handleError:()=>Nr,hydrate:()=>wl,initCustomFormatter:()=>Po,inject:()=>Bi,isMemoSame:()=>ko,isProxy:()=>Ue,isReactive:()=>Re,isReadonly:()=>je,isRef:()=>We,isRuntimeOnly:()=>yr,isVNode:()=>Ls,markRaw:()=>He,mergeDefaults:()=>xo,mergeProps:()=>Ws,nextTick:()=>qr,normalizeClass:()=>h,normalizeProps:()=>p,normalizeStyle:()=>o,onActivated:()=>Xi,onBeforeMount:()=>on,onBeforeUnmount:()=>hn,onBeforeUpdate:()=>ln,onDeactivated:()=>Yi,onErrorCaptured:()=>mn,onMounted:()=>an,onRenderTracked:()=>fn,onRenderTriggered:()=>dn,onScopeDispose:()=>At,onServerPrefetch:()=>un,onUnmounted:()=>pn,onUpdated:()=>cn,openBlock:()=>bs,popScopeId:()=>_i,provide:()=>Mi,proxyRefs:()=>ei,pushScopeId:()=>yi,queuePostFlushCb:()=>Jr,reactive:()=>Be,readonly:()=>De,ref:()=>Ge,registerRuntimeCompiler:()=>gr,render:()=>Cl,renderList:()=>Gs,renderSlot:()=>Js,resolveComponent:()=>hs,resolveDirective:()=>ds,resolveDynamicComponent:()=>us,resolveFilter:()=>Lo,resolveTransitionHooks:()=>Ri,setBlockTracking:()=>Ts,setDevtoolsHook:()=>hi,setTransitionHooks:()=>Zi,shallowReactive:()=>Oe,shallowReadonly:()=>Fe,shallowRef:()=>Ke,ssrContextKey:()=>Co,ssrUtils:()=>Eo,stop:()=>Dt,toDisplayString:()=>u,toHandlerKey:()=>H,toHandlers:()=>Ys,toRaw:()=>Ze,toRef:()=>oi,toRefs:()=>si,transformVNodeArgs:()=>Ns,triggerRef:()=>Ye,unref:()=>Qe,useAttrs:()=>_o,useCssModule:()=>wa,useCssVars:()=>Pa,useSSRContext:()=>wo,useSlots:()=>yo,useTransitionState:()=>Oi,vModelCheckbox:()=>il,vModelDynamic:()=>cl,vModelRadio:()=>sl,vModelSelect:()=>rl,vModelText:()=>el,vShow:()=>gl,version:()=>So,warn:()=>kr,watch:()=>ro,watchEffect:()=>eo,watchPostEffect:()=>io,watchSyncEffect:()=>no,withAsyncContext:()=>Ao,withCtx:()=>xi,withDefaults:()=>go,withDirectives:()=>Un,withKeys:()=>ml,withMemo:()=>To,withModifiers:()=>dl,withScopeId:()=>vi});const r=s("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");function o(t){if(P(t)){const e={};for(let i=0;i{if(t){const i=t.split(l);i.length>1&&(e[i[0].trim()]=i[1].trim())}})),e}function h(t){let e="";if(E(t))e=t;else if(P(t))for(let i=0;inull==t?"":P(t)||I(t)&&(t.toString===M||!S(t.toString))?JSON.stringify(t,d,2):String(t),d=(t,e)=>e&&e.__v_isRef?d(t,e.value):T(e)?{[`Map(${e.size})`]:[...e.entries()].reduce(((t,[e,i])=>(t[`${e} =>`]=i,t)),{})}:k(e)?{[`Set(${e.size})`]:[...e.values()]}:!I(e)||P(e)||O(e)?e:String(e),f={},m=[],g=()=>{},y=()=>!1,_=/^on[^a-z]/,v=t=>_.test(t),x=t=>t.startsWith("onUpdate:"),A=Object.assign,b=(t,e)=>{const i=t.indexOf(e);i>-1&&t.splice(i,1)},C=Object.prototype.hasOwnProperty,w=(t,e)=>C.call(t,e),P=Array.isArray,T=t=>"[object Map]"===B(t),k=t=>"[object Set]"===B(t),S=t=>"function"==typeof t,E=t=>"string"==typeof t,I=t=>null!==t&&"object"==typeof t,N=t=>I(t)&&S(t.then)&&S(t.catch),M=Object.prototype.toString,B=t=>M.call(t),O=t=>"[object Object]"===B(t),D=s(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),F=t=>{const e=Object.create(null);return i=>e[i]||(e[i]=t(i))},z=/-(\w)/g,R=F((t=>t.replace(z,((t,e)=>e?e.toUpperCase():"")))),j=/\B([A-Z])/g,U=F((t=>t.replace(j,"-$1").toLowerCase())),Z=F((t=>t.charAt(0).toUpperCase()+t.slice(1))),H=F((t=>t?`on${Z(t)}`:"")),V=(t,e)=>!Object.is(t,e),$=(t,e)=>{for(let i=0;i{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:i})},W=t=>{const e=parseFloat(t);return isNaN(e)?t:e};function G(t,e){const i=Object.create(null),n=t.split(",");for(let t=0;t!!i[t.toLowerCase()]:t=>!!i[t]}const K=()=>{},J=Object.assign,X=Object.prototype.hasOwnProperty,Y=(t,e)=>X.call(t,e),Q=Array.isArray,tt=t=>"[object Map]"===ot(t),et=t=>"function"==typeof t,it=t=>"string"==typeof t,nt=t=>"symbol"==typeof t,st=t=>null!==t&&"object"==typeof t,rt=Object.prototype.toString,ot=t=>rt.call(t),at=t=>ot(t).slice(8,-1),lt=t=>it(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,ct=t=>{const e=Object.create(null);return i=>e[i]||(e[i]=t(i))},ht=/-(\w)/g,pt=(ct((t=>t.replace(ht,((t,e)=>e?e.toUpperCase():"")))),/\B([A-Z])/g),ut=(ct((t=>t.replace(pt,"-$1").toLowerCase())),ct((t=>t.charAt(0).toUpperCase()+t.slice(1)))),dt=(ct((t=>t?`on${ut(t)}`:"")),(t,e)=>!Object.is(t,e)),ft=(t,e,i)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:i})};let mt;const gt=[];class yt{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&mt&&(this.parent=mt,this.index=(mt.scopes||(mt.scopes=[])).push(this)-1)}run(t){if(this.active)try{return this.on(),t()}finally{this.off()}else 0}on(){this.active&&(gt.push(this),mt=this)}off(){this.active&&(gt.pop(),mt=gt[gt.length-1])}stop(t){if(this.active){if(this.effects.forEach((t=>t.stop())),this.cleanups.forEach((t=>t())),this.scopes&&this.scopes.forEach((t=>t.stop(!0))),this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.active=!1}}}function _t(t){return new yt(t)}function vt(t,e){(e=e||mt)&&e.active&&e.effects.push(t)}function xt(){return mt}function At(t){mt&&mt.cleanups.push(t)}const bt=t=>{const e=new Set(t);return e.w=0,e.n=0,e},Ct=t=>(t.w&kt)>0,wt=t=>(t.n&kt)>0,Pt=new WeakMap;let Tt=0,kt=1;const St=30,Et=[];let Lt;const It=Symbol(""),Nt=Symbol("");class Mt{constructor(t,e=null,i){this.fn=t,this.scheduler=e,this.active=!0,this.deps=[],vt(this,i)}run(){if(!this.active)return this.fn();if(!Et.includes(this))try{return Et.push(Lt=this),zt.push(Ft),Ft=!0,kt=1<<++Tt,Tt<=St?(({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let i=0;for(let n=0;n0?Et[t-1]:void 0}}stop(){this.active&&(Bt(this),this.onStop&&this.onStop(),this.active=!1)}}function Bt(t){const{deps:e}=t;if(e.length){for(let i=0;i{("length"===e||e>=n)&&a.push(t)}));else switch(void 0!==i&&a.push(o.get(i)),e){case"add":Q(t)?lt(i)&&a.push(o.get("length")):(a.push(o.get(It)),tt(t)&&a.push(o.get(Nt)));break;case"delete":Q(t)||(a.push(o.get(It)),tt(t)&&a.push(o.get(Nt)));break;case"set":tt(t)&&a.push(o.get(It))}if(1===a.length)a[0]&&$t(a[0]);else{const t=[];for(const e of a)e&&t.push(...e);$t(bt(t))}}function $t(t,e){for(const e of Q(t)?t:[...t])(e!==Lt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const qt=G("__proto__,__v_isRef,__isVue"),Wt=new Set(Object.getOwnPropertyNames(Symbol).map((t=>Symbol[t])).filter(nt)),Gt=te(),Kt=te(!1,!0),Jt=te(!0),Xt=te(!0,!0),Yt=Qt();function Qt(){const t={};return["includes","indexOf","lastIndexOf"].forEach((e=>{t[e]=function(...t){const i=Ze(this);for(let t=0,e=this.length;t{t[e]=function(...t){Rt();const i=Ze(this)[e].apply(this,t);return jt(),i}})),t}function te(t=!1,e=!1){return function(i,n,s){if("__v_isReactive"===n)return!t;if("__v_isReadonly"===n)return t;if("__v_raw"===n&&s===(t?e?Me:Ne:e?Ie:Le).get(i))return i;const r=Q(i);if(!t&&r&&Y(Yt,n))return Reflect.get(Yt,n,s);const o=Reflect.get(i,n,s);if(nt(n)?Wt.has(n):qt(n))return o;if(t||Ut(i,0,n),e)return o;if(We(o)){return!r||!lt(n)?o.value:o}return st(o)?t?De(o):Be(o):o}}function ee(t=!1){return function(e,i,n,s){let r=e[i];if(!t&&(n=Ze(n),r=Ze(r),!Q(e)&&We(r)&&!We(n)))return r.value=n,!0;const o=Q(e)&<(i)?Number(i)!0,deleteProperty:(t,e)=>!0},se=J({},ie,{get:Kt,set:ee(!0)}),re=J({},ne,{get:Xt}),oe=t=>st(t)?Be(t):t,ae=t=>st(t)?De(t):t,le=t=>t,ce=t=>Reflect.getPrototypeOf(t);function he(t,e,i=!1,n=!1){const s=Ze(t=t.__v_raw),r=Ze(e);e!==r&&!i&&Ut(s,0,e),!i&&Ut(s,0,r);const{has:o}=ce(s),a=n?le:i?ae:oe;return o.call(s,e)?a(t.get(e)):o.call(s,r)?a(t.get(r)):void(t!==s&&t.get(e))}function pe(t,e=!1){const i=this.__v_raw,n=Ze(i),s=Ze(t);return t!==s&&!e&&Ut(n,0,t),!e&&Ut(n,0,s),t===s?i.has(t):i.has(t)||i.has(s)}function ue(t,e=!1){return t=t.__v_raw,!e&&Ut(Ze(t),0,It),Reflect.get(t,"size",t)}function de(t){t=Ze(t);const e=Ze(this);return ce(e).has.call(e,t)||(e.add(t),Vt(e,"add",t,t)),this}function fe(t,e){e=Ze(e);const i=Ze(this),{has:n,get:s}=ce(i);let r=n.call(i,t);r||(t=Ze(t),r=n.call(i,t));const o=s.call(i,t);return i.set(t,e),r?dt(e,o)&&Vt(i,"set",t,e):Vt(i,"add",t,e),this}function me(t){const e=Ze(this),{has:i,get:n}=ce(e);let s=i.call(e,t);s||(t=Ze(t),s=i.call(e,t));n&&n.call(e,t);const r=e.delete(t);return s&&Vt(e,"delete",t,void 0),r}function ge(){const t=Ze(this),e=0!==t.size,i=t.clear();return e&&Vt(t,"clear",void 0,void 0),i}function ye(t,e){return function(i,n){const s=this,r=s.__v_raw,o=Ze(r),a=e?le:t?ae:oe;return!t&&Ut(o,0,It),r.forEach(((t,e)=>i.call(n,a(t),a(e),s)))}}function _e(t,e,i){return function(...n){const s=this.__v_raw,r=Ze(s),o=tt(r),a="entries"===t||t===Symbol.iterator&&o,l="keys"===t&&o,c=s[t](...n),h=i?le:e?ae:oe;return!e&&Ut(r,0,l?Nt:It),{next(){const{value:t,done:e}=c.next();return e?{value:t,done:e}:{value:a?[h(t[0]),h(t[1])]:h(t),done:e}},[Symbol.iterator](){return this}}}}function ve(t){return function(...e){return"delete"!==t&&this}}function xe(){const t={get(t){return he(this,t)},get size(){return ue(this)},has:pe,add:de,set:fe,delete:me,clear:ge,forEach:ye(!1,!1)},e={get(t){return he(this,t,!1,!0)},get size(){return ue(this)},has:pe,add:de,set:fe,delete:me,clear:ge,forEach:ye(!1,!0)},i={get(t){return he(this,t,!0)},get size(){return ue(this,!0)},has(t){return pe.call(this,t,!0)},add:ve("add"),set:ve("set"),delete:ve("delete"),clear:ve("clear"),forEach:ye(!0,!1)},n={get(t){return he(this,t,!0,!0)},get size(){return ue(this,!0)},has(t){return pe.call(this,t,!0)},add:ve("add"),set:ve("set"),delete:ve("delete"),clear:ve("clear"),forEach:ye(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((s=>{t[s]=_e(s,!1,!1),i[s]=_e(s,!0,!1),e[s]=_e(s,!1,!0),n[s]=_e(s,!0,!0)})),[t,i,e,n]}const[Ae,be,Ce,we]=xe();function Pe(t,e){const i=e?t?we:Ce:t?be:Ae;return(e,n,s)=>"__v_isReactive"===n?!t:"__v_isReadonly"===n?t:"__v_raw"===n?e:Reflect.get(Y(i,n)&&n in e?i:e,n,s)}const Te={get:Pe(!1,!1)},ke={get:Pe(!1,!0)},Se={get:Pe(!0,!1)},Ee={get:Pe(!0,!0)};const Le=new WeakMap,Ie=new WeakMap,Ne=new WeakMap,Me=new WeakMap;function Be(t){return t&&t.__v_isReadonly?t:ze(t,!1,ie,Te,Le)}function Oe(t){return ze(t,!1,se,ke,Ie)}function De(t){return ze(t,!0,ne,Se,Ne)}function Fe(t){return ze(t,!0,re,Ee,Me)}function ze(t,e,i,n,s){if(!st(t))return t;if(t.__v_raw&&(!e||!t.__v_isReactive))return t;const r=s.get(t);if(r)return r;const o=(a=t).__v_skip||!Object.isExtensible(a)?0:function(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(at(a));var a;if(0===o)return t;const l=new Proxy(t,2===o?n:i);return s.set(t,l),l}function Re(t){return je(t)?Re(t.__v_raw):!(!t||!t.__v_isReactive)}function je(t){return!(!t||!t.__v_isReadonly)}function Ue(t){return Re(t)||je(t)}function Ze(t){const e=t&&t.__v_raw;return e?Ze(e):t}function He(t){return ft(t,"__v_skip",!0),t}function Ve(t){Zt()&&((t=Ze(t)).dep||(t.dep=bt()),Ht(t.dep))}function $e(t,e){(t=Ze(t)).dep&&$t(t.dep)}const qe=t=>st(t)?Be(t):t;function We(t){return Boolean(t&&!0===t.__v_isRef)}function Ge(t){return Xe(t,!1)}function Ke(t){return Xe(t,!0)}class Je{constructor(t,e){this._shallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?t:Ze(t),this._value=e?t:qe(t)}get value(){return Ve(this),this._value}set value(t){t=this._shallow?t:Ze(t),dt(t,this._rawValue)&&(this._rawValue=t,this._value=this._shallow?t:qe(t),$e(this))}}function Xe(t,e){return We(t)?t:new Je(t,e)}function Ye(t){$e(t)}function Qe(t){return We(t)?t.value:t}const ti={get:(t,e,i)=>Qe(Reflect.get(t,e,i)),set:(t,e,i,n)=>{const s=t[e];return We(s)&&!We(i)?(s.value=i,!0):Reflect.set(t,e,i,n)}};function ei(t){return Re(t)?t:new Proxy(t,ti)}class ii{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:e,set:i}=t((()=>Ve(this)),(()=>$e(this)));this._get=e,this._set=i}get value(){return this._get()}set value(t){this._set(t)}}function ni(t){return new ii(t)}function si(t){const e=Q(t)?new Array(t.length):{};for(const i in t)e[i]=oi(t,i);return e}class ri{constructor(t,e){this._object=t,this._key=e,this.__v_isRef=!0}get value(){return this._object[this._key]}set value(t){this._object[this._key]=t}}function oi(t,e){const i=t[e];return We(i)?i:new ri(t,e)}class ai{constructor(t,e,i){this._setter=e,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new Mt(t,(()=>{this._dirty||(this._dirty=!0,$e(this))})),this.__v_isReadonly=i}get value(){const t=Ze(this);return Ve(t),t._dirty&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function li(t,e){let i,n;const s=et(t);s?(i=t,n=K):(i=t.get,n=t.set);return new ai(i,n,s||!n)}Promise.resolve();new Set;new Map;let ci;function hi(t){ci=t}function pi(t,e,...i){const n=t.vnode.props||f;let s=i;const r=e.startsWith("update:"),o=r&&e.slice(7);if(o&&o in n){const t=`${"modelValue"===o?"model":o}Modifiers`,{number:e,trim:r}=n[t]||f;r?s=i.map((t=>t.trim())):e&&(s=i.map(W))}let a;let l=n[a=H(e)]||n[a=H(R(e))];!l&&r&&(l=n[a=H(U(e))]),l&&Ir(l,t,6,s);const c=n[a+"Once"];if(c){if(t.emitted){if(t.emitted[a])return}else t.emitted={};t.emitted[a]=!0,Ir(c,t,6,s)}}function ui(t,e,i=!1){const n=e.emitsCache,s=n.get(t);if(void 0!==s)return s;const r=t.emits;let o={},a=!1;if(!S(t)){const n=t=>{const i=ui(t,e,!0);i&&(a=!0,A(o,i))};!i&&e.mixins.length&&e.mixins.forEach(n),t.extends&&n(t.extends),t.mixins&&t.mixins.forEach(n)}return r||a?(P(r)?r.forEach((t=>o[t]=null)):A(o,r),n.set(t,o),o):(n.set(t,null),null)}function di(t,e){return!(!t||!v(e))&&(e=e.slice(2).replace(/Once$/,""),w(t,e[0].toLowerCase()+e.slice(1))||w(t,U(e))||w(t,e))}let fi=null,mi=null;function gi(t){const e=fi;return fi=t,mi=t&&t.type.__scopeId||null,e}function yi(t){mi=t}function _i(){mi=null}const vi=t=>xi;function xi(t,e=fi,i){if(!e)return t;if(t._n)return t;const n=(...i)=>{n._d&&Ts(-1);const s=gi(e),r=t(...i);return gi(s),n._d&&Ts(1),r};return n._n=!0,n._c=!0,n._d=!0,n}function Ai(t){const{type:e,vnode:i,proxy:n,withProxy:s,props:r,propsOptions:[o],slots:a,attrs:l,emit:c,render:h,renderCache:p,data:u,setupState:d,ctx:f,inheritAttrs:m}=t;let g,y;const _=gi(t);try{if(4&i.shapeFlag){const t=s||n;g=Vs(h.call(t,t,p,r,d,u,f)),y=l}else{const t=e;0,g=Vs(t.length>1?t(r,{attrs:l,slots:a,emit:c}):t(r,null)),y=e.props?l:Ci(l)}}catch(e){xs.length=0,Nr(e,t,1),g=Fs(_s)}let v=g;if(y&&!1!==m){const t=Object.keys(y),{shapeFlag:e}=v;t.length&&7&e&&(o&&t.some(x)&&(y=wi(y,o)),v=js(v,y))}return i.dirs&&(v.dirs=v.dirs?v.dirs.concat(i.dirs):i.dirs),i.transition&&(v.transition=i.transition),g=v,gi(_),g}function bi(t){let e;for(let i=0;i{let e;for(const i in t)("class"===i||"style"===i||v(i))&&((e||(e={}))[i]=t[i]);return e},wi=(t,e)=>{const i={};for(const n in t)x(n)&&n.slice(9)in e||(i[n]=t[n]);return i};function Pi(t,e,i){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let s=0;s0?(Si(t,"onPending"),Si(t,"onFallback"),c(null,t.ssFallback,e,i,n,null,r,o),Ni(u,t.ssFallback)):u.resolve()}(e,i,n,s,r,o,a,l,c):function(t,e,i,n,s,r,o,a,{p:l,um:c,o:{createElement:h}}){const p=e.suspense=t.suspense;p.vnode=e,e.el=t.el;const u=e.ssContent,d=e.ssFallback,{activeBranch:f,pendingBranch:m,isInFallback:g,isHydrating:y}=p;if(m)p.pendingBranch=u,Is(u,m)?(l(m,u,p.hiddenContainer,null,s,p,r,o,a),p.deps<=0?p.resolve():g&&(l(f,d,i,n,s,null,r,o,a),Ni(p,d))):(p.pendingId++,y?(p.isHydrating=!1,p.activeBranch=m):c(m,s,p),p.deps=0,p.effects.length=0,p.hiddenContainer=h("div"),g?(l(null,u,p.hiddenContainer,null,s,p,r,o,a),p.deps<=0?p.resolve():(l(f,d,i,n,s,null,r,o,a),Ni(p,d))):f&&Is(u,f)?(l(f,u,i,n,s,p,r,o,a),p.resolve(!0)):(l(null,u,p.hiddenContainer,null,s,p,r,o,a),p.deps<=0&&p.resolve()));else if(f&&Is(u,f))l(f,u,i,n,s,p,r,o,a),Ni(p,u);else if(Si(e,"onPending"),p.pendingBranch=u,p.pendingId++,l(null,u,p.hiddenContainer,null,s,p,r,o,a),p.deps<=0)p.resolve();else{const{timeout:t,pendingId:e}=p;t>0?setTimeout((()=>{p.pendingId===e&&p.fallback(d)}),t):0===t&&p.fallback(d)}}(t,e,i,n,s,o,a,l,c)},hydrate:function(t,e,i,n,s,r,o,a,l){const c=e.suspense=Ei(e,n,i,t.parentNode,document.createElement("div"),null,s,r,o,a,!0),h=l(t,c.pendingBranch=e.ssContent,i,c,r,o);0===c.deps&&c.resolve();return h},create:Ei,normalize:function(t){const{shapeFlag:e,children:i}=t,n=32&e;t.ssContent=Li(n?i.default:i),t.ssFallback=n?Li(i.fallback):Fs(_s)}};function Si(t,e){const i=t.props&&t.props[e];S(i)&&i()}function Ei(t,e,i,n,s,r,o,a,l,c,h=!1){const{p,m:u,um:d,n:f,o:{parentNode:m,remove:g}}=c,y=W(t.props&&t.props.timeout),_={vnode:t,parent:e,parentComponent:i,isSVG:o,container:n,hiddenContainer:s,anchor:r,deps:0,pendingId:0,timeout:"number"==typeof y?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:h,isUnmounted:!1,effects:[],resolve(t=!1){const{vnode:e,activeBranch:i,pendingBranch:n,pendingId:s,effects:r,parentComponent:o,container:a}=_;if(_.isHydrating)_.isHydrating=!1;else if(!t){const t=i&&n.transition&&"out-in"===n.transition.mode;t&&(i.transition.afterLeave=()=>{s===_.pendingId&&u(n,a,e,0)});let{anchor:e}=_;i&&(e=f(i),d(i,o,_,!0)),t||u(n,a,e,0)}Ni(_,n),_.pendingBranch=null,_.isInFallback=!1;let l=_.parent,c=!1;for(;l;){if(l.pendingBranch){l.effects.push(...r),c=!0;break}l=l.parent}c||Jr(r),_.effects=[],Si(e,"onResolve")},fallback(t){if(!_.pendingBranch)return;const{vnode:e,activeBranch:i,parentComponent:n,container:s,isSVG:r}=_;Si(e,"onFallback");const o=f(i),c=()=>{_.isInFallback&&(p(null,t,s,o,n,null,r,a,l),Ni(_,t))},h=t.transition&&"out-in"===t.transition.mode;h&&(i.transition.afterLeave=c),_.isInFallback=!0,d(i,n,null,!0),h||c()},move(t,e,i){_.activeBranch&&u(_.activeBranch,t,e,i),_.container=t},next:()=>_.activeBranch&&f(_.activeBranch),registerDep(t,e){const i=!!_.pendingBranch;i&&_.deps++;const n=t.vnode.el;t.asyncDep.catch((e=>{Nr(e,t,0)})).then((s=>{if(t.isUnmounted||_.isUnmounted||_.pendingId!==t.suspenseId)return;t.asyncResolved=!0;const{vnode:r}=t;mr(t,s,!1),n&&(r.el=n);const a=!n&&t.subTree.el;e(t,r,m(n||t.subTree.el),n?null:f(t.subTree),_,o,l),a&&g(a),Ti(t,r.el),i&&0==--_.deps&&_.resolve()}))},unmount(t,e){_.isUnmounted=!0,_.activeBranch&&d(_.activeBranch,i,t,e),_.pendingBranch&&d(_.pendingBranch,i,t,e)}};return _}function Li(t){let e;if(S(t)){const i=Ps&&t._c;i&&(t._d=!1,bs()),t=t(),i&&(t._d=!0,e=As,Cs())}if(P(t)){const e=bi(t);0,t=e}return t=Vs(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter((e=>e!==t))),t}function Ii(t,e){e&&e.pendingBranch?P(t)?e.effects.push(...t):e.effects.push(t):Jr(t)}function Ni(t,e){t.activeBranch=e;const{vnode:i,parentComponent:n}=t,s=i.el=e.el;n&&n.subTree===i&&(n.vnode.el=s,Ti(n,s))}function Mi(t,e){if(or){let i=or.provides;const n=or.parent&&or.parent.provides;n===i&&(i=or.provides=Object.create(n)),i[t]=e}else 0}function Bi(t,e,i=!1){const n=or||fi;if(n){const s=null==n.parent?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides;if(s&&t in s)return s[t];if(arguments.length>1)return i&&S(e)?e.call(n.proxy):e}else 0}function Oi(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return an((()=>{t.isMounted=!0})),hn((()=>{t.isUnmounting=!0})),t}const Di=[Function,Array],Fi={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Di,onEnter:Di,onAfterEnter:Di,onEnterCancelled:Di,onBeforeLeave:Di,onLeave:Di,onAfterLeave:Di,onLeaveCancelled:Di,onBeforeAppear:Di,onAppear:Di,onAfterAppear:Di,onAppearCancelled:Di},setup(t,{slots:e}){const i=ar(),n=Oi();let s;return()=>{const r=e.default&&Hi(e.default(),!0);if(!r||!r.length)return;const o=Ze(t),{mode:a}=o;const l=r[0];if(n.isLeaving)return ji(l);const c=Ui(l);if(!c)return ji(l);const h=Ri(c,o,n,i);Zi(c,h);const p=i.subTree,u=p&&Ui(p);let d=!1;const{getTransitionKey:f}=c.type;if(f){const t=f();void 0===s?s=t:t!==s&&(s=t,d=!0)}if(u&&u.type!==_s&&(!Is(c,u)||d)){const t=Ri(u,o,n,i);if(Zi(u,t),"out-in"===a)return n.isLeaving=!0,t.afterLeave=()=>{n.isLeaving=!1,i.update()},ji(l);"in-out"===a&&c.type!==_s&&(t.delayLeave=(t,e,i)=>{zi(n,u)[String(u.key)]=u,t._leaveCb=()=>{e(),t._leaveCb=void 0,delete h.delayedLeave},h.delayedLeave=i})}return l}}};function zi(t,e){const{leavingVNodes:i}=t;let n=i.get(e.type);return n||(n=Object.create(null),i.set(e.type,n)),n}function Ri(t,e,i,n){const{appear:s,mode:r,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:h,onBeforeLeave:p,onLeave:u,onAfterLeave:d,onLeaveCancelled:f,onBeforeAppear:m,onAppear:g,onAfterAppear:y,onAppearCancelled:_}=e,v=String(t.key),x=zi(i,t),A=(t,e)=>{t&&Ir(t,n,9,e)},b={mode:r,persisted:o,beforeEnter(e){let n=a;if(!i.isMounted){if(!s)return;n=m||a}e._leaveCb&&e._leaveCb(!0);const r=x[v];r&&Is(t,r)&&r.el._leaveCb&&r.el._leaveCb(),A(n,[e])},enter(t){let e=l,n=c,r=h;if(!i.isMounted){if(!s)return;e=g||l,n=y||c,r=_||h}let o=!1;const a=t._enterCb=e=>{o||(o=!0,A(e?r:n,[t]),b.delayedLeave&&b.delayedLeave(),t._enterCb=void 0)};e?(e(t,a),e.length<=1&&a()):a()},leave(e,n){const s=String(t.key);if(e._enterCb&&e._enterCb(!0),i.isUnmounting)return n();A(p,[e]);let r=!1;const o=e._leaveCb=i=>{r||(r=!0,n(),A(i?f:d,[e]),e._leaveCb=void 0,x[s]===t&&delete x[s])};x[s]=t,u?(u(e,o),u.length<=1&&o()):o()},clone:t=>Ri(t,e,i,n)};return b}function ji(t){if(Gi(t))return(t=js(t)).children=null,t}function Ui(t){return Gi(t)?t.children?t.children[0]:void 0:t}function Zi(t,e){6&t.shapeFlag&&t.component?Zi(t.component.subTree,e):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Hi(t,e=!1){let i=[],n=0;for(let s=0;s1)for(let t=0;t!!t.type.__asyncLoader;function qi(t){S(t)&&(t={loader:t});const{loader:e,loadingComponent:i,errorComponent:n,delay:s=200,timeout:r,suspensible:o=!0,onError:a}=t;let l,c=null,h=0;const p=()=>{let t;return c||(t=c=e().catch((t=>{if(t=t instanceof Error?t:new Error(String(t)),a)return new Promise(((e,i)=>{a(t,(()=>e((h++,c=null,p()))),(()=>i(t)),h+1)}));throw t})).then((e=>t!==c&&c?c:(e&&(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),l=e,e))))};return Vi({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return l},setup(){const t=or;if(l)return()=>Wi(l,t);const e=e=>{c=null,Nr(e,t,13,!n)};if(o&&t.suspense)return p().then((e=>()=>Wi(e,t))).catch((t=>(e(t),()=>n?Fs(n,{error:t}):null)));const a=Ge(!1),h=Ge(),u=Ge(!!s);return s&&setTimeout((()=>{u.value=!1}),s),null!=r&&setTimeout((()=>{if(!a.value&&!h.value){const t=new Error(`Async component timed out after ${r}ms.`);e(t),h.value=t}}),r),p().then((()=>{a.value=!0,t.parent&&Gi(t.parent.vnode)&&Wr(t.parent.update)})).catch((t=>{e(t),h.value=t})),()=>a.value&&l?Wi(l,t):h.value&&n?Fs(n,{error:h.value}):i&&!u.value?Fs(i):void 0}})}function Wi(t,{vnode:{ref:e,props:i,children:n}}){const s=Fs(t,i,n);return s.ref=e,s}const Gi=t=>t.type.__isKeepAlive,Ki={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const i=ar(),n=i.ctx;if(!n.renderer)return e.default;const s=new Map,r=new Set;let o=null;const a=i.suspense,{renderer:{p:l,m:c,um:h,o:{createElement:p}}}=n,u=p("div");function d(t){en(t),h(t,i,a)}function f(t){s.forEach(((e,i)=>{const n=Cr(e.type);!n||t&&t(n)||m(i)}))}function m(t){const e=s.get(t);o&&e.type===o.type?o&&en(o):d(e),s.delete(t),r.delete(t)}n.activate=(t,e,i,n,s)=>{const r=t.component;c(t,e,i,0,a),l(r.vnode,t,e,i,r,a,n,t.slotScopeIds,s),Jn((()=>{r.isDeactivated=!1,r.a&&$(r.a);const e=t.props&&t.props.onVnodeMounted;e&&es(e,r.parent,t)}),a)},n.deactivate=t=>{const e=t.component;c(t,u,null,1,a),Jn((()=>{e.da&&$(e.da);const i=t.props&&t.props.onVnodeUnmounted;i&&es(i,e.parent,t),e.isDeactivated=!0}),a)},ro((()=>[t.include,t.exclude]),(([t,e])=>{t&&f((e=>Ji(t,e))),e&&f((t=>!Ji(e,t)))}),{flush:"post",deep:!0});let g=null;const y=()=>{null!=g&&s.set(g,nn(i.subTree))};return an(y),cn(y),hn((()=>{s.forEach((t=>{const{subTree:e,suspense:n}=i,s=nn(e);if(t.type!==s.type)d(t);else{en(s);const t=s.component.da;t&&Jn(t,n)}}))})),()=>{if(g=null,!e.default)return null;const i=e.default(),n=i[0];if(i.length>1)return o=null,i;if(!(Ls(n)&&(4&n.shapeFlag||128&n.shapeFlag)))return o=null,n;let a=nn(n);const l=a.type,c=Cr($i(a)?a.type.__asyncResolved||{}:l),{include:h,exclude:p,max:u}=t;if(h&&(!c||!Ji(h,c))||p&&c&&Ji(p,c))return o=a,n;const d=null==a.key?l:a.key,f=s.get(d);return a.el&&(a=js(a),128&n.shapeFlag&&(n.ssContent=a)),g=d,f?(a.el=f.el,a.component=f.component,a.transition&&Zi(a,a.transition),a.shapeFlag|=512,r.delete(d),r.add(d)):(r.add(d),u&&r.size>parseInt(u,10)&&m(r.values().next().value)),a.shapeFlag|=256,o=a,n}}};function Ji(t,e){return P(t)?t.some((t=>Ji(t,e))):E(t)?t.split(",").indexOf(e)>-1:!!t.test&&t.test(e)}function Xi(t,e){Qi(t,"a",e)}function Yi(t,e){Qi(t,"da",e)}function Qi(t,e,i=or){const n=t.__wdc||(t.__wdc=()=>{let e=i;for(;e;){if(e.isDeactivated)return;e=e.parent}t()});if(sn(e,n,i),i){let t=i.parent;for(;t&&t.parent;)Gi(t.parent.vnode)&&tn(n,e,i,t),t=t.parent}}function tn(t,e,i,n){const s=sn(e,t,n,!0);pn((()=>{b(n[e],s)}),i)}function en(t){let e=t.shapeFlag;256&e&&(e-=256),512&e&&(e-=512),t.shapeFlag=e}function nn(t){return 128&t.shapeFlag?t.ssContent:t}function sn(t,e,i=or,n=!1){if(i){const s=i[t]||(i[t]=[]),r=e.__weh||(e.__weh=(...n)=>{if(i.isUnmounted)return;Rt(),lr(i);const s=Ir(e,i,t,n);return cr(),jt(),s});return n?s.unshift(r):s.push(r),r}}const rn=t=>(e,i=or)=>(!dr||"sp"===t)&&sn(t,e,i),on=rn("bm"),an=rn("m"),ln=rn("bu"),cn=rn("u"),hn=rn("bum"),pn=rn("um"),un=rn("sp"),dn=rn("rtg"),fn=rn("rtc");function mn(t,e=or){sn("ec",t,e)}let gn=!0;function yn(t){const e=xn(t),i=t.proxy,n=t.ctx;gn=!1,e.beforeCreate&&_n(e.beforeCreate,t,"bc");const{data:s,computed:r,methods:o,watch:a,provide:l,inject:c,created:h,beforeMount:p,mounted:u,beforeUpdate:d,updated:f,activated:m,deactivated:y,beforeDestroy:_,beforeUnmount:v,destroyed:x,unmounted:A,render:b,renderTracked:C,renderTriggered:w,errorCaptured:T,serverPrefetch:k,expose:E,inheritAttrs:L,components:N,directives:M,filters:B}=e;if(c&&function(t,e,i=g,n=!1){P(t)&&(t=wn(t));for(const i in t){const s=t[i];let r;r=I(s)?"default"in s?Bi(s.from||i,s.default,!0):Bi(s.from||i):Bi(s),We(r)&&n?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>r.value,set:t=>r.value=t}):e[i]=r}}(c,n,null,t.appContext.config.unwrapInjectedRef),o)for(const t in o){const e=o[t];S(e)&&(n[t]=e.bind(i))}if(s){0;const e=s.call(i,i);0,I(e)&&(t.data=Be(e))}if(gn=!0,r)for(const t in r){const e=r[t];0;const s=li({get:S(e)?e.bind(i,i):S(e.get)?e.get.bind(i,i):g,set:!S(e)&&S(e.set)?e.set.bind(i):g});Object.defineProperty(n,t,{enumerable:!0,configurable:!0,get:()=>s.value,set:t=>s.value=t})}if(a)for(const t in a)vn(a[t],n,i,t);if(l){const t=S(l)?l.call(i):l;Reflect.ownKeys(t).forEach((e=>{Mi(e,t[e])}))}function O(t,e){P(e)?e.forEach((e=>t(e.bind(i)))):e&&t(e.bind(i))}if(h&&_n(h,t,"c"),O(on,p),O(an,u),O(ln,d),O(cn,f),O(Xi,m),O(Yi,y),O(mn,T),O(fn,C),O(dn,w),O(hn,v),O(pn,A),O(un,k),P(E))if(E.length){const e=t.exposed||(t.exposed={});E.forEach((t=>{Object.defineProperty(e,t,{get:()=>i[t],set:e=>i[t]=e})}))}else t.exposed||(t.exposed={});b&&t.render===g&&(t.render=b),null!=L&&(t.inheritAttrs=L),N&&(t.components=N),M&&(t.directives=M)}function _n(t,e,i){Ir(P(t)?t.map((t=>t.bind(e.proxy))):t.bind(e.proxy),e,i)}function vn(t,e,i,n){const s=n.includes(".")?lo(i,n):()=>i[n];if(E(t)){const i=e[t];S(i)&&ro(s,i)}else if(S(t))ro(s,t.bind(i));else if(I(t))if(P(t))t.forEach((t=>vn(t,e,i,n)));else{const n=S(t.handler)?t.handler.bind(i):e[t.handler];S(n)&&ro(s,n,t)}else 0}function xn(t){const e=t.type,{mixins:i,extends:n}=e,{mixins:s,optionsCache:r,config:{optionMergeStrategies:o}}=t.appContext,a=r.get(e);let l;return a?l=a:s.length||i||n?(l={},s.length&&s.forEach((t=>An(l,t,o,!0))),An(l,e,o)):l=e,r.set(e,l),l}function An(t,e,i,n=!1){const{mixins:s,extends:r}=e;r&&An(t,r,i,!0),s&&s.forEach((e=>An(t,e,i,!0)));for(const s in e)if(n&&"expose"===s);else{const n=bn[s]||i&&i[s];t[s]=n?n(t[s],e[s]):e[s]}return t}const bn={data:Cn,props:Tn,emits:Tn,methods:Tn,computed:Tn,beforeCreate:Pn,created:Pn,beforeMount:Pn,mounted:Pn,beforeUpdate:Pn,updated:Pn,beforeDestroy:Pn,beforeUnmount:Pn,destroyed:Pn,unmounted:Pn,activated:Pn,deactivated:Pn,errorCaptured:Pn,serverPrefetch:Pn,components:Tn,directives:Tn,watch:function(t,e){if(!t)return e;if(!e)return t;const i=A(Object.create(null),t);for(const n in e)i[n]=Pn(t[n],e[n]);return i},provide:Cn,inject:function(t,e){return Tn(wn(t),wn(e))}};function Cn(t,e){return e?t?function(){return A(S(t)?t.call(this,this):t,S(e)?e.call(this,this):e)}:e:t}function wn(t){if(P(t)){const e={};for(let i=0;i{l=!0;const[i,n]=En(t,e,!0);A(o,i),n&&a.push(...n)};!i&&e.mixins.length&&e.mixins.forEach(n),t.extends&&n(t.extends),t.mixins&&t.mixins.forEach(n)}if(!r&&!l)return n.set(t,m),m;if(P(r))for(let t=0;t-1,n[1]=i<0||t-1||w(n,"default"))&&a.push(e)}}}}const c=[o,a];return n.set(t,c),c}function Ln(t){return"$"!==t[0]}function In(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:null===t?"null":""}function Nn(t,e){return In(t)===In(e)}function Mn(t,e){return P(e)?e.findIndex((e=>Nn(e,t))):S(e)&&Nn(e,t)?0:-1}const Bn=t=>"_"===t[0]||"$stable"===t,On=t=>P(t)?t.map(Vs):[Vs(t)],Dn=(t,e,i)=>{const n=xi(((...t)=>On(e(...t))),i);return n._c=!1,n},Fn=(t,e,i)=>{const n=t._ctx;for(const i in t){if(Bn(i))continue;const s=t[i];if(S(s))e[i]=Dn(0,s,n);else if(null!=s){0;const t=On(s);e[i]=()=>t}}},zn=(t,e)=>{const i=On(e);t.slots.default=()=>i},Rn=(t,e)=>{if(32&t.vnode.shapeFlag){const i=e._;i?(t.slots=Ze(e),q(e,"_",i)):Fn(e,t.slots={})}else t.slots={},e&&zn(t,e);q(t.slots,Ms,1)},jn=(t,e,i)=>{const{vnode:n,slots:s}=t;let r=!0,o=f;if(32&n.shapeFlag){const t=e._;t?i&&1===t?r=!1:(A(s,e),i||1!==t||delete s._):(r=!e.$stable,Fn(e,s)),o=e}else e&&(zn(t,e),o={default:1});if(r)for(const t in s)Bn(t)||t in o||delete s[t]};function Un(t,e){if(null===fi)return t;const i=fi.proxy,n=t.dirs||(t.dirs=[]);for(let t=0;t(r.has(t)||(t&&S(t.install)?(r.add(t),t.install(a,...e)):S(t)&&(r.add(t),t(a,...e))),a),mixin:t=>(s.mixins.includes(t)||s.mixins.push(t),a),component:(t,e)=>e?(s.components[t]=e,a):s.components[t],directive:(t,e)=>e?(s.directives[t]=e,a):s.directives[t],mount(r,l,c){if(!o){const h=Fs(i,n);return h.appContext=s,l&&e?e(h,r):t(h,r,c),o=!0,a._container=r,r.__vue_app__=a,xr(h.component)||h.component.proxy}},unmount(){o&&(t(null,a._container),delete a._container.__vue_app__)},provide:(t,e)=>(s.provides[t]=e,a)};return a}}let qn=!1;const Wn=t=>/svg/.test(t.namespaceURI)&&"foreignObject"!==t.tagName,Gn=t=>8===t.nodeType;function Kn(t){const{mt:e,p:i,o:{patchProp:n,nextSibling:s,parentNode:r,remove:o,insert:a,createComment:l}}=t,c=(i,n,o,a,l,m=!1)=>{const g=Gn(i)&&"["===i.data,y=()=>d(i,n,o,a,l,g),{type:_,ref:v,shapeFlag:x}=n,A=i.nodeType;n.el=i;let b=null;switch(_){case ys:3!==A?b=y():(i.data!==n.children&&(qn=!0,i.data=n.children),b=s(i));break;case _s:b=8!==A||g?y():s(i);break;case vs:if(1===A){b=i;const t=!n.children.length;for(let e=0;e{a=a||!!e.dynamicChildren;const{type:l,props:c,patchFlag:h,shapeFlag:u,dirs:d}=e,f="input"===l&&d||"option"===l;if(f||-1!==h){if(d&&Zn(e,null,i,"created"),c)if(f||!a||48&h)for(const e in c)(f&&e.endsWith("value")||v(e)&&!D(e))&&n(t,e,null,c[e],!1,void 0,i);else c.onClick&&n(t,"onClick",null,c.onClick,!1,void 0,i);let l;if((l=c&&c.onVnodeBeforeMount)&&es(l,i,e),d&&Zn(e,null,i,"beforeMount"),((l=c&&c.onVnodeMounted)||d)&&Ii((()=>{l&&es(l,i,e),d&&Zn(e,null,i,"mounted")}),s),16&u&&(!c||!c.innerHTML&&!c.textContent)){let n=p(t.firstChild,e,t,i,s,r,a);for(;n;){qn=!0;const t=n;n=n.nextSibling,o(t)}}else 8&u&&t.textContent!==e.children&&(qn=!0,t.textContent=e.children)}return t.nextSibling},p=(t,e,n,s,r,o,a)=>{a=a||!!e.dynamicChildren;const l=e.children,h=l.length;for(let e=0;e{const{slotScopeIds:h}=e;h&&(o=o?o.concat(h):h);const u=r(t),d=p(s(t),e,u,i,n,o,c);return d&&Gn(d)&&"]"===d.data?s(e.anchor=d):(qn=!0,a(e.anchor=l("]"),u,d),d)},d=(t,e,n,a,l,c)=>{if(qn=!0,e.el=null,c){const e=f(t);for(;;){const i=s(t);if(!i||i===e)break;o(i)}}const h=s(t),p=r(t);return o(t),i(null,e,p,h,n,a,Wn(p),l),h},f=t=>{let e=0;for(;t;)if((t=s(t))&&Gn(t)&&("["===t.data&&e++,"]"===t.data)){if(0===e)return s(t);e--}return t};return[(t,e)=>{if(!e.hasChildNodes())return i(null,t,e),void Yr();qn=!1,c(e.firstChild,t,null,null,null),Yr(),qn&&console.error("Hydration completed but contains mismatches.")},c]}const Jn=Ii;function Xn(t){return Qn(t)}function Yn(t){return Qn(t,Kn)}function Qn(t,e){const{insert:i,remove:n,patchProp:s,createElement:r,createText:o,createComment:a,setText:l,setElementText:c,parentNode:h,nextSibling:p,setScopeId:u=g,cloneNode:d,insertStaticContent:y}=t,_=(t,e,i,n=null,s=null,r=null,o=!1,a=null,l=!!e.dynamicChildren)=>{if(t===e)return;t&&!Is(t,e)&&(n=J(t),V(t,s,r,!0),t=null),-2===e.patchFlag&&(l=!1,e.dynamicChildren=null);const{type:c,ref:h,shapeFlag:p}=e;switch(c){case ys:v(t,e,i,n);break;case _s:x(t,e,i,n);break;case vs:null==t&&A(e,i,n,o);break;case gs:I(t,e,i,n,s,r,o,a,l);break;default:1&p?C(t,e,i,n,s,r,o,a,l):6&p?N(t,e,i,n,s,r,o,a,l):(64&p||128&p)&&c.process(t,e,i,n,s,r,o,a,l,Y)}null!=h&&s&&ts(h,t&&t.ref,r,e||t,!e)},v=(t,e,n,s)=>{if(null==t)i(e.el=o(e.children),n,s);else{const i=e.el=t.el;e.children!==t.children&&l(i,e.children)}},x=(t,e,n,s)=>{null==t?i(e.el=a(e.children||""),n,s):e.el=t.el},A=(t,e,i,n)=>{[t.el,t.anchor]=y(t.children,e,i,n)},b=({el:t,anchor:e})=>{let i;for(;t&&t!==e;)i=p(t),n(t),t=i;n(e)},C=(t,e,i,n,s,r,o,a,l)=>{o=o||"svg"===e.type,null==t?P(e,i,n,s,r,o,a,l):S(t,e,s,r,o,a,l)},P=(t,e,n,o,a,l,h,p)=>{let u,f;const{type:m,props:g,shapeFlag:y,transition:_,patchFlag:v,dirs:x}=t;if(t.el&&void 0!==d&&-1===v)u=t.el=d(t.el);else{if(u=t.el=r(t.type,l,g&&g.is,g),8&y?c(u,t.children):16&y&&k(t.children,u,null,o,a,l&&"foreignObject"!==m,h,p),x&&Zn(t,null,o,"created"),g){for(const e in g)"value"===e||D(e)||s(u,e,null,g[e],l,t.children,o,a,K);"value"in g&&s(u,"value",null,g.value),(f=g.onVnodeBeforeMount)&&es(f,o,t)}T(u,t,t.scopeId,h,o)}x&&Zn(t,null,o,"beforeMount");const A=(!a||a&&!a.pendingBranch)&&_&&!_.persisted;A&&_.beforeEnter(u),i(u,e,n),((f=g&&g.onVnodeMounted)||A||x)&&Jn((()=>{f&&es(f,o,t),A&&_.enter(u),x&&Zn(t,null,o,"mounted")}),a)},T=(t,e,i,n,s)=>{if(i&&u(t,i),n)for(let e=0;e{for(let c=l;c{const l=e.el=t.el;let{patchFlag:h,dynamicChildren:p,dirs:u}=e;h|=16&t.patchFlag;const d=t.props||f,m=e.props||f;let g;(g=m.onVnodeBeforeUpdate)&&es(g,i,e,t),u&&Zn(e,t,i,"beforeUpdate");const y=r&&"foreignObject"!==e.type;if(p?E(t.dynamicChildren,p,l,i,n,y,o):a||z(t,e,l,null,i,n,y,o,!1),h>0){if(16&h)L(l,e,d,m,i,n,r);else if(2&h&&d.class!==m.class&&s(l,"class",null,m.class,r),4&h&&s(l,"style",d.style,m.style,r),8&h){const o=e.dynamicProps;for(let e=0;e{g&&es(g,i,e,t),u&&Zn(e,t,i,"updated")}),n)},E=(t,e,i,n,s,r,o)=>{for(let a=0;a{if(i!==n){for(const l in n){if(D(l))continue;const c=n[l],h=i[l];c!==h&&"value"!==l&&s(t,l,h,c,a,e.children,r,o,K)}if(i!==f)for(const l in i)D(l)||l in n||s(t,l,i[l],null,a,e.children,r,o,K);"value"in n&&s(t,"value",i.value,n.value)}},I=(t,e,n,s,r,a,l,c,h)=>{const p=e.el=t?t.el:o(""),u=e.anchor=t?t.anchor:o("");let{patchFlag:d,dynamicChildren:f,slotScopeIds:m}=e;m&&(c=c?c.concat(m):m),null==t?(i(p,n,s),i(u,n,s),k(e.children,n,u,r,a,l,c,h)):d>0&&64&d&&f&&t.dynamicChildren?(E(t.dynamicChildren,f,n,r,a,l,c),(null!=e.key||r&&e===r.subTree)&&is(t,e,!0)):z(t,e,n,u,r,a,l,c,h)},N=(t,e,i,n,s,r,o,a,l)=>{e.slotScopeIds=a,null==t?512&e.shapeFlag?s.ctx.activate(e,i,n,o,l):M(e,i,n,s,r,o,l):B(t,e,l)},M=(t,e,i,n,s,r,o)=>{const a=t.component=rr(t,n,s);if(Gi(t)&&(a.ctx.renderer=Y),fr(a),a.asyncDep){if(s&&s.registerDep(a,O),!t.el){const t=a.subTree=Fs(_s);x(null,t,e,i)}}else O(a,t,e,i,s,r,o)},B=(t,e,i)=>{const n=e.component=t.component;if(function(t,e,i){const{props:n,children:s,component:r}=t,{props:o,children:a,patchFlag:l}=e,c=r.emitsOptions;if(e.dirs||e.transition)return!0;if(!(i&&l>=0))return!(!s&&!a||a&&a.$stable)||n!==o&&(n?!o||Pi(n,o,c):!!o);if(1024&l)return!0;if(16&l)return n?Pi(n,o,c):!!o;if(8&l){const t=e.dynamicProps;for(let e=0;eDr&&Or.splice(e,1)}(n.update),n.update()}else e.component=t.component,e.el=t.el,n.vnode=e},O=(t,e,i,n,s,r,o)=>{const a=new Mt((()=>{if(t.isMounted){let e,{next:i,bu:n,u:l,parent:c,vnode:p}=t,u=i;0,a.allowRecurse=!1,i?(i.el=p.el,F(t,i,o)):i=p,n&&$(n),(e=i.props&&i.props.onVnodeBeforeUpdate)&&es(e,c,i,p),a.allowRecurse=!0;const d=Ai(t);0;const f=t.subTree;t.subTree=d,_(f,d,h(f.el),J(f),t,s,r),i.el=d.el,null===u&&Ti(t,d.el),l&&Jn(l,s),(e=i.props&&i.props.onVnodeUpdated)&&Jn((()=>es(e,c,i,p)),s)}else{let o;const{el:l,props:c}=e,{bm:h,m:p,parent:u}=t,d=$i(e);if(a.allowRecurse=!1,h&&$(h),!d&&(o=c&&c.onVnodeBeforeMount)&&es(o,u,e),a.allowRecurse=!0,l&&tt){const i=()=>{t.subTree=Ai(t),tt(l,t.subTree,t,s,null)};d?e.type.__asyncLoader().then((()=>!t.isUnmounted&&i())):i()}else{0;const o=t.subTree=Ai(t);0,_(null,o,i,n,t,s,r),e.el=o.el}if(p&&Jn(p,s),!d&&(o=c&&c.onVnodeMounted)){const t=e;Jn((()=>es(o,u,t)),s)}256&e.shapeFlag&&t.a&&Jn(t.a,s),t.isMounted=!0,e=i=n=null}}),(()=>Wr(t.update)),t.scope),l=t.update=a.run.bind(a);l.id=t.uid,a.allowRecurse=l.allowRecurse=!0,l()},F=(t,e,i)=>{e.component=t;const n=t.vnode.props;t.vnode=e,t.next=null,function(t,e,i,n){const{props:s,attrs:r,vnode:{patchFlag:o}}=t,a=Ze(s),[l]=t.propsOptions;let c=!1;if(!(n||o>0)||16&o){let n;kn(t,e,s,r)&&(c=!0);for(const r in a)e&&(w(e,r)||(n=U(r))!==r&&w(e,n))||(l?!i||void 0===i[r]&&void 0===i[n]||(s[r]=Sn(l,a,r,void 0,t,!0)):delete s[r]);if(r!==a)for(const t in r)e&&w(e,t)||(delete r[t],c=!0)}else if(8&o){const i=t.vnode.dynamicProps;for(let n=0;n{const h=t&&t.children,p=t?t.shapeFlag:0,u=e.children,{patchFlag:d,shapeFlag:f}=e;if(d>0){if(128&d)return void Z(h,u,i,n,s,r,o,a,l);if(256&d)return void j(h,u,i,n,s,r,o,a,l)}8&f?(16&p&&K(h,s,r),u!==h&&c(i,u)):16&p?16&f?Z(h,u,i,n,s,r,o,a,l):K(h,s,r,!0):(8&p&&c(i,""),16&f&&k(u,i,n,s,r,o,a,l))},j=(t,e,i,n,s,r,o,a,l)=>{e=e||m;const c=(t=t||m).length,h=e.length,p=Math.min(c,h);let u;for(u=0;uh?K(t,s,r,!0,!1,p):k(e,i,n,s,r,o,a,l,p)},Z=(t,e,i,n,s,r,o,a,l)=>{let c=0;const h=e.length;let p=t.length-1,u=h-1;for(;c<=p&&c<=u;){const n=t[c],h=e[c]=l?$s(e[c]):Vs(e[c]);if(!Is(n,h))break;_(n,h,i,null,s,r,o,a,l),c++}for(;c<=p&&c<=u;){const n=t[p],c=e[u]=l?$s(e[u]):Vs(e[u]);if(!Is(n,c))break;_(n,c,i,null,s,r,o,a,l),p--,u--}if(c>p){if(c<=u){const t=u+1,p=tu)for(;c<=p;)V(t[c],s,r,!0),c++;else{const d=c,f=c,g=new Map;for(c=f;c<=u;c++){const t=e[c]=l?$s(e[c]):Vs(e[c]);null!=t.key&&g.set(t.key,c)}let y,v=0;const x=u-f+1;let A=!1,b=0;const C=new Array(x);for(c=0;c=x){V(n,s,r,!0);continue}let h;if(null!=n.key)h=g.get(n.key);else for(y=f;y<=u;y++)if(0===C[y-f]&&Is(n,e[y])){h=y;break}void 0===h?V(n,s,r,!0):(C[h-f]=c+1,h>=b?b=h:A=!0,_(n,e[h],i,null,s,r,o,a,l),v++)}const w=A?function(t){const e=t.slice(),i=[0];let n,s,r,o,a;const l=t.length;for(n=0;n>1,t[i[a]]0&&(e[n]=i[r-1]),i[r]=n)}}r=i.length,o=i[r-1];for(;r-- >0;)i[r]=o,o=e[o];return i}(C):m;for(y=w.length-1,c=x-1;c>=0;c--){const t=f+c,p=e[t],u=t+1{const{el:o,type:a,transition:l,children:c,shapeFlag:h}=t;if(6&h)return void H(t.component.subTree,e,n,s);if(128&h)return void t.suspense.move(e,n,s);if(64&h)return void a.move(t,e,n,Y);if(a===gs){i(o,e,n);for(let t=0;t{let r;for(;t&&t!==e;)r=p(t),i(t,n,s),t=r;i(e,n,s)})(t,e,n);if(2!==s&&1&h&&l)if(0===s)l.beforeEnter(o),i(o,e,n),Jn((()=>l.enter(o)),r);else{const{leave:t,delayLeave:s,afterLeave:r}=l,a=()=>i(o,e,n),c=()=>{t(o,(()=>{a(),r&&r()}))};s?s(o,a,c):c()}else i(o,e,n)},V=(t,e,i,n=!1,s=!1)=>{const{type:r,props:o,ref:a,children:l,dynamicChildren:c,shapeFlag:h,patchFlag:p,dirs:u}=t;if(null!=a&&ts(a,null,i,t,!0),256&h)return void e.ctx.deactivate(t);const d=1&h&&u,f=!$i(t);let m;if(f&&(m=o&&o.onVnodeBeforeUnmount)&&es(m,e,t),6&h)G(t.component,i,n);else{if(128&h)return void t.suspense.unmount(i,n);d&&Zn(t,null,e,"beforeUnmount"),64&h?t.type.remove(t,e,i,s,Y,n):c&&(r!==gs||p>0&&64&p)?K(c,e,i,!1,!0):(r===gs&&384&p||!s&&16&h)&&K(l,e,i),n&&q(t)}(f&&(m=o&&o.onVnodeUnmounted)||d)&&Jn((()=>{m&&es(m,e,t),d&&Zn(t,null,e,"unmounted")}),i)},q=t=>{const{type:e,el:i,anchor:s,transition:r}=t;if(e===gs)return void W(i,s);if(e===vs)return void b(t);const o=()=>{n(i),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&t.shapeFlag&&r&&!r.persisted){const{leave:e,delayLeave:n}=r,s=()=>e(i,o);n?n(t.el,o,s):s()}else o()},W=(t,e)=>{let i;for(;t!==e;)i=p(t),n(t),t=i;n(e)},G=(t,e,i)=>{const{bum:n,scope:s,update:r,subTree:o,um:a}=t;n&&$(n),s.stop(),r&&(r.active=!1,V(o,t,e,i)),a&&Jn(a,e),Jn((()=>{t.isUnmounted=!0}),e),e&&e.pendingBranch&&!e.isUnmounted&&t.asyncDep&&!t.asyncResolved&&t.suspenseId===e.pendingId&&(e.deps--,0===e.deps&&e.resolve())},K=(t,e,i,n=!1,s=!1,r=0)=>{for(let o=r;o6&t.shapeFlag?J(t.component.subTree):128&t.shapeFlag?t.suspense.next():p(t.anchor||t.el),X=(t,e,i)=>{null==t?e._vnode&&V(e._vnode,null,null,!0):_(e._vnode||null,t,e,null,null,null,i),Yr(),e._vnode=t},Y={p:_,um:V,m:H,r:q,mt:M,mc:k,pc:z,pbc:E,n:J,o:t};let Q,tt;return e&&([Q,tt]=e(Y)),{render:X,hydrate:Q,createApp:$n(X,Q)}}function ts(t,e,i,n,s=!1){if(P(t))return void t.forEach(((t,r)=>ts(t,e&&(P(e)?e[r]:e),i,n,s)));if($i(n)&&!s)return;const r=4&n.shapeFlag?xr(n.component)||n.component.proxy:n.el,o=s?null:r,{i:a,r:l}=t;const c=e&&e.r,h=a.refs===f?a.refs={}:a.refs,p=a.setupState;if(null!=c&&c!==l&&(E(c)?(h[c]=null,w(p,c)&&(p[c]=null)):We(c)&&(c.value=null)),E(l)){const t=()=>{h[l]=o,w(p,l)&&(p[l]=o)};o?(t.id=-1,Jn(t,i)):t()}else if(We(l)){const t=()=>{l.value=o};o?(t.id=-1,Jn(t,i)):t()}else S(l)&&Lr(l,a,12,[o,h])}function es(t,e,i,n=null){Ir(t,e,7,[i,n])}function is(t,e,i=!1){const n=t.children,s=e.children;if(P(n)&&P(s))for(let t=0;tt&&(t.disabled||""===t.disabled),ss=t=>"undefined"!=typeof SVGElement&&t instanceof SVGElement,rs=(t,e)=>{const i=t&&t.to;if(E(i)){if(e){const t=e(i);return t}return null}return i};function os(t,e,i,{o:{insert:n},m:s},r=2){0===r&&n(t.targetAnchor,e,i);const{el:o,anchor:a,shapeFlag:l,children:c,props:h}=t,p=2===r;if(p&&n(o,e,i),(!p||ns(h))&&16&l)for(let t=0;t{16&_&&h(v,t,e,s,r,o,a,l)};y?g(i,c):p&&g(p,u)}else{e.el=t.el;const n=e.anchor=t.anchor,h=e.target=t.target,d=e.targetAnchor=t.targetAnchor,m=ns(t.props),g=m?i:h,_=m?n:d;if(o=o||ss(h),x?(u(t.dynamicChildren,x,g,s,r,o,a),is(t,e,!0)):l||p(t,e,g,_,s,r,o,a,!1),y)m||os(e,i,n,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const t=e.target=rs(e.props,f);t&&os(e,t,null,c,0)}else m&&os(e,h,d,c,1)}},remove(t,e,i,n,{um:s,o:{remove:r}},o){const{shapeFlag:a,children:l,anchor:c,targetAnchor:h,target:p,props:u}=t;if(p&&r(h),(o||!ns(u))&&(r(c),16&a))for(let t=0;t0?As||m:null,Cs(),Ps>0&&As&&As.push(t),t}function Ss(t,e,i,n,s,r){return ks(Ds(t,e,i,n,s,r,!0))}function Es(t,e,i,n,s){return ks(Fs(t,e,i,n,s,!0))}function Ls(t){return!!t&&!0===t.__v_isVNode}function Is(t,e){return t.type===e.type&&t.key===e.key}function Ns(t){ws=t}const Ms="__vInternal",Bs=({key:t})=>null!=t?t:null,Os=({ref:t})=>null!=t?E(t)||We(t)||S(t)?{i:fi,r:t}:t:null;function Ds(t,e=null,i=null,n=0,s=null,r=(t===gs?0:1),o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Bs(e),ref:e&&Os(e),scopeId:mi,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null};return a?(qs(l,i),128&r&&t.normalize(l)):i&&(l.shapeFlag|=E(i)?8:16),Ps>0&&!o&&As&&(l.patchFlag>0||6&r)&&32!==l.patchFlag&&As.push(l),l}const Fs=zs;function zs(t,e=null,i=null,n=0,s=null,r=!1){if(t&&t!==ps||(t=_s),Ls(t)){const n=js(t,e,!0);return i&&qs(n,i),n}if(Pr(t)&&(t=t.__vccOpts),e){e=Rs(e);let{class:t,style:i}=e;t&&!E(t)&&(e.class=h(t)),I(i)&&(Ue(i)&&!P(i)&&(i=A({},i)),e.style=o(i))}return Ds(t,e,i,n,s,E(t)?1:(t=>t.__isSuspense)(t)?128:(t=>t.__isTeleport)(t)?64:I(t)?4:S(t)?2:0,r,!0)}function Rs(t){return t?Ue(t)||Ms in t?A({},t):t:null}function js(t,e,i=!1){const{props:n,ref:s,patchFlag:r,children:o}=t,a=e?Ws(n||{},e):n;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&Bs(a),ref:e&&e.ref?i&&s?P(s)?s.concat(Os(e)):[s,Os(e)]:Os(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==gs?-1===r?16:16|r:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&js(t.ssContent),ssFallback:t.ssFallback&&js(t.ssFallback),el:t.el,anchor:t.anchor}}function Us(t=" ",e=0){return Fs(ys,null,t,e)}function Zs(t,e){const i=Fs(vs,null,t);return i.staticCount=e,i}function Hs(t="",e=!1){return e?(bs(),Es(_s,null,t)):Fs(_s,null,t)}function Vs(t){return null==t||"boolean"==typeof t?Fs(_s):P(t)?Fs(gs,null,t.slice()):"object"==typeof t?$s(t):Fs(ys,null,String(t))}function $s(t){return null===t.el||t.memo?t:js(t)}function qs(t,e){let i=0;const{shapeFlag:n}=t;if(null==e)e=null;else if(P(e))i=16;else if("object"==typeof e){if(65&n){const i=e.default;return void(i&&(i._c&&(i._d=!1),qs(t,i()),i._c&&(i._d=!0)))}{i=32;const n=e._;n||Ms in e?3===n&&fi&&(1===fi.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=fi}}else S(e)?(e={default:e,_ctx:fi},i=32):(e=String(e),64&n?(i=16,e=[Us(e)]):i=8);t.children=e,t.shapeFlag|=i}function Ws(...t){const e={};for(let i=0;ie(t,i,void 0,r&&r[i])));else{const i=Object.keys(t);s=new Array(i.length);for(let n=0,o=i.length;n!Ls(t)||t.type!==_s&&!(t.type===gs&&!Xs(t.children))))?t:null}function Ys(t){const e={};for(const i in t)e[H(i)]=t[i];return e}const Qs=t=>t?hr(t)?xr(t)||t.proxy:Qs(t.parent):null,tr=A(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Qs(t.parent),$root:t=>Qs(t.root),$emit:t=>t.emit,$options:t=>xn(t),$forceUpdate:t=>()=>Wr(t.update),$nextTick:t=>qr.bind(t.proxy),$watch:t=>ao.bind(t)}),er={get({_:t},e){const{ctx:i,setupState:n,data:s,props:r,accessCache:o,type:a,appContext:l}=t;let c;if("$"!==e[0]){const a=o[e];if(void 0!==a)switch(a){case 0:return n[e];case 1:return s[e];case 3:return i[e];case 2:return r[e]}else{if(n!==f&&w(n,e))return o[e]=0,n[e];if(s!==f&&w(s,e))return o[e]=1,s[e];if((c=t.propsOptions[0])&&w(c,e))return o[e]=2,r[e];if(i!==f&&w(i,e))return o[e]=3,i[e];gn&&(o[e]=4)}}const h=tr[e];let p,u;return h?("$attrs"===e&&Ut(t,0,e),h(t)):(p=a.__cssModules)&&(p=p[e])?p:i!==f&&w(i,e)?(o[e]=3,i[e]):(u=l.config.globalProperties,w(u,e)?u[e]:void 0)},set({_:t},e,i){const{data:n,setupState:s,ctx:r}=t;if(s!==f&&w(s,e))s[e]=i;else if(n!==f&&w(n,e))n[e]=i;else if(w(t.props,e))return!1;return("$"!==e[0]||!(e.slice(1)in t))&&(r[e]=i,!0)},has({_:{data:t,setupState:e,accessCache:i,ctx:n,appContext:s,propsOptions:r}},o){let a;return void 0!==i[o]||t!==f&&w(t,o)||e!==f&&w(e,o)||(a=r[0])&&w(a,o)||w(n,o)||w(tr,o)||w(s.config.globalProperties,o)}};const ir=A({},er,{get(t,e){if(e!==Symbol.unscopables)return er.get(t,e,t)},has:(t,e)=>"_"!==e[0]&&!r(e)});const nr=Hn();let sr=0;function rr(t,e,i){const n=t.type,s=(e?e.appContext:t.appContext)||nr,r={uid:sr++,vnode:t,type:n,parent:e,appContext:s,root:null,next:null,subTree:null,update:null,scope:new yt(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:En(n,s),emitsOptions:ui(n,s),emit:null,emitted:null,propsDefaults:f,inheritAttrs:n.inheritAttrs,ctx:f,data:f,props:f,attrs:f,slots:f,refs:f,setupState:f,setupContext:null,suspense:i,suspenseId:i?i.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=e?e.root:r,r.emit=pi.bind(null,r),t.ce&&t.ce(r),r}let or=null;const ar=()=>or||fi,lr=t=>{or=t,t.scope.on()},cr=()=>{or&&or.scope.off(),or=null};function hr(t){return 4&t.vnode.shapeFlag}let pr,ur,dr=!1;function fr(t,e=!1){dr=e;const{props:i,children:n}=t.vnode,s=hr(t);!function(t,e,i,n=!1){const s={},r={};q(r,Ms,1),t.propsDefaults=Object.create(null),kn(t,e,s,r);for(const e in t.propsOptions[0])e in s||(s[e]=void 0);i?t.props=n?s:Oe(s):t.type.props?t.props=s:t.props=r,t.attrs=r}(t,i,s,e),Rn(t,n);const r=s?function(t,e){const i=t.type;0;t.accessCache=Object.create(null),t.proxy=He(new Proxy(t.ctx,er)),!1;const{setup:n}=i;if(n){const i=t.setupContext=n.length>1?vr(t):null;lr(t),Rt();const s=Lr(n,t,0,[t.props,i]);if(jt(),cr(),N(s)){if(s.then(cr,cr),e)return s.then((i=>{mr(t,i,e)})).catch((e=>{Nr(e,t,0)}));t.asyncDep=s}else mr(t,s,e)}else _r(t,e)}(t,e):void 0;return dr=!1,r}function mr(t,e,i){S(e)?t.render=e:I(e)&&(t.setupState=ei(e)),_r(t,i)}function gr(t){pr=t,ur=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,ir))}}const yr=()=>!pr;function _r(t,e,i){const n=t.type;if(!t.render){if(pr&&!n.render){const e=n.template;if(e){0;const{isCustomElement:i,compilerOptions:s}=t.appContext.config,{delimiters:r,compilerOptions:o}=n,a=A(A({isCustomElement:i,delimiters:r},s),o);n.render=pr(e,a)}}t.render=n.render||g,ur&&ur(t)}lr(t),Rt(),yn(t),jt(),cr()}function vr(t){const e=e=>{t.exposed=e||{}};let i;return{get attrs(){return i||(i=function(t){return new Proxy(t.attrs,{get:(e,i)=>(Ut(t,0,"$attrs"),e[i])})}(t))},slots:t.slots,emit:t.emit,expose:e}}function xr(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(ei(He(t.exposed)),{get:(e,i)=>i in e?e[i]:i in tr?tr[i](t):void 0}))}const Ar=/(?:^|[-_])(\w)/g,br=t=>t.replace(Ar,(t=>t.toUpperCase())).replace(/[-_]/g,"");function Cr(t){return S(t)&&t.displayName||t.name}function wr(t,e,i=!1){let n=Cr(e);if(!n&&e.__file){const t=e.__file.match(/([^/\\]+)\.\w+$/);t&&(n=t[1])}if(!n&&t&&t.parent){const i=t=>{for(const i in t)if(t[i]===e)return i};n=i(t.components||t.parent.type.components)||i(t.appContext.components)}return n?br(n):i?"App":"Anonymous"}function Pr(t){return S(t)&&"__vccOpts"in t}const Tr=[];function kr(t,...e){Rt();const i=Tr.length?Tr[Tr.length-1].component:null,n=i&&i.appContext.config.warnHandler,s=function(){let t=Tr[Tr.length-1];if(!t)return[];const e=[];for(;t;){const i=e[0];i&&i.vnode===t?i.recurseCount++:e.push({vnode:t,recurseCount:0});const n=t.component&&t.component.parent;t=n&&n.vnode}return e}();if(n)Lr(n,i,11,[t+e.join(""),i&&i.proxy,s.map((({vnode:t})=>`at <${wr(i,t.type)}>`)).join("\n"),s]);else{const i=[`[Vue warn]: ${t}`,...e];s.length&&i.push("\n",...function(t){const e=[];return t.forEach(((t,i)=>{e.push(...0===i?[]:["\n"],...function({vnode:t,recurseCount:e}){const i=e>0?`... (${e} recursive calls)`:"",n=!!t.component&&null==t.component.parent,s=` at <${wr(t.component,t.type,n)}`,r=">"+i;return t.props?[s,...Sr(t.props),r]:[s+r]}(t))})),e}(s)),console.warn(...i)}jt()}function Sr(t){const e=[],i=Object.keys(t);return i.slice(0,3).forEach((i=>{e.push(...Er(i,t[i]))})),i.length>3&&e.push(" ..."),e}function Er(t,e,i){return E(e)?(e=JSON.stringify(e),i?e:[`${t}=${e}`]):"number"==typeof e||"boolean"==typeof e||null==e?i?e:[`${t}=${e}`]:We(e)?(e=Er(t,Ze(e.value),!0),i?e:[`${t}=Ref<`,e,">"]):S(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=Ze(e),i?e:[`${t}=`,e])}function Lr(t,e,i,n){let s;try{s=n?t(...n):t()}catch(t){Nr(t,e,i)}return s}function Ir(t,e,i,n){if(S(t)){const s=Lr(t,e,i,n);return s&&N(s)&&s.catch((t=>{Nr(t,e,i)})),s}const s=[];for(let r=0;r>>1;Qr(Or[n])Qr(t)-Qr(e))),Zr=0;Zrnull==t.id?1/0:t.id;function to(t){Br=!1,Mr=!0,Xr(t),Or.sort(((t,e)=>Qr(t)-Qr(e)));try{for(Dr=0;Drt.value,h=!!t._shallow):Re(t)?(l=()=>t,n=!0):P(t)?(p=!0,h=t.some(Re),l=()=>t.map((t=>We(t)?t.value:Re(t)?co(t):S(t)?Lr(t,a,2):void 0))):l=S(t)?e?()=>Lr(t,a,2):()=>{if(!a||!a.isUnmounted)return c&&c(),Ir(t,a,3,[u])}:g,e&&n){const t=l;l=()=>co(t())}let u=t=>{c=_.onStop=()=>{Lr(t,a,4)}},d=p?[]:so;const m=()=>{if(_.active)if(e){const t=_.run();(n||h||(p?t.some(((t,e)=>V(t,d[e]))):V(t,d)))&&(c&&c(),Ir(e,a,3,[t,d===so?void 0:d,u]),d=t)}else _.run()};let y;m.allowRecurse=!!e,y="sync"===s?m:"post"===s?()=>Jn(m,a&&a.suspense):()=>{!a||a.isMounted?function(t){Kr(t,zr,Fr,Rr)}(m):m()};const _=new Mt(l,y);return e?i?m():d=_.run():"post"===s?Jn(_.run.bind(_),a&&a.suspense):_.run(),()=>{_.stop(),a&&a.scope&&b(a.scope.effects,_)}}function ao(t,e,i){const n=this.proxy,s=E(t)?t.includes(".")?lo(n,t):()=>n[t]:t.bind(n,n);let r;S(e)?r=e:(r=e.handler,i=e);const o=or;lr(this);const a=oo(s,r.bind(n),i);return o?lr(o):cr(),a}function lo(t,e){const i=e.split(".");return()=>{let e=t;for(let t=0;t{co(t,e)}));else if(O(t))for(const i in t)co(t[i],e);return t}const ho=t=>"function"==typeof t,po=t=>(t=>null!==t&&"object"==typeof t)(t)&&ho(t.then)&&ho(t.catch);function uo(){return null}function fo(){return null}function mo(t){0}function go(t,e){return null}function yo(){return vo().slots}function _o(){return vo().attrs}function vo(){const t=ar();return t.setupContext||(t.setupContext=vr(t))}function xo(t,e){for(const i in e){const n=t[i];n?n.default=e[i]:null===n&&(t[i]={default:e[i]})}return t}function Ao(t){const e=ar();let i=t();return cr(),po(i)&&(i=i.catch((t=>{throw lr(e),t}))),[i,()=>lr(e)]}function bo(t,e,i){const n=arguments.length;return 2===n?I(e)&&!P(e)?Ls(e)?Fs(t,null,[e]):Fs(t,e):Fs(t,null,e):(n>3?i=Array.prototype.slice.call(arguments,2):3===n&&Ls(i)&&(i=[i]),Fs(t,e,i))}const Co=Symbol(""),wo=()=>{{const t=Bi(Co);return t||kr("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),t}};function Po(){return void 0}function To(t,e,i,n){const s=i[n];if(s&&ko(s,t))return s;const r=e();return r.memo=t.slice(),i[n]=r}function ko(t,e){const i=t.memo;if(i.length!=e.length)return!1;for(let t=0;t0&&As&&As.push(t),!0}const So="3.2.13",Eo={createComponentInstance:rr,setupComponent:fr,renderComponentRoot:Ai,setCurrentRenderingInstance:gi,isVNode:Ls,normalizeVNode:Vs},Lo=null,Io=null;function No(t,e){const i=Object.create(null),n=t.split(",");for(let t=0;t!!i[t.toLowerCase()]:t=>!!i[t]}const Mo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Bo=No(Mo);function Oo(t){return!!t||""===t}function Do(t,e){if(t===e)return!0;let i=Ho(t),n=Ho(e);if(i||n)return!(!i||!n)&&t.getTime()===e.getTime();if(i=Uo(t),n=Uo(e),i||n)return!(!i||!n)&&function(t,e){if(t.length!==e.length)return!1;let i=!0;for(let n=0;i&&nDo(t,e)))}const zo={},Ro=/^on[^a-z]/,jo=Object.assign,Uo=(Object.prototype.hasOwnProperty,Array.isArray),Zo=t=>"[object Set]"===Go(t),Ho=t=>t instanceof Date,Vo=t=>"function"==typeof t,$o=t=>"string"==typeof t,qo=t=>null!==t&&"object"==typeof t,Wo=Object.prototype.toString,Go=t=>Wo.call(t),Ko=t=>{const e=Object.create(null);return i=>e[i]||(e[i]=t(i))},Jo=/-(\w)/g,Xo=Ko((t=>t.replace(Jo,((t,e)=>e?e.toUpperCase():"")))),Yo=/\B([A-Z])/g,Qo=Ko((t=>t.replace(Yo,"-$1").toLowerCase())),ta=Ko((t=>t.charAt(0).toUpperCase()+t.slice(1))),ea=(Ko((t=>t?`on${ta(t)}`:"")),t=>{const e=parseFloat(t);return isNaN(e)?t:e});const ia="undefined"!=typeof document?document:null,na=new Map,sa={insert:(t,e,i)=>{e.insertBefore(t,i||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,i,n)=>{const s=e?ia.createElementNS("http://www.w3.org/2000/svg",t):ia.createElement(t,i?{is:i}:void 0);return"select"===t&&n&&null!=n.multiple&&s.setAttribute("multiple",n.multiple),s},createText:t=>ia.createTextNode(t),createComment:t=>ia.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>ia.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},cloneNode(t){const e=t.cloneNode(!0);return"_value"in t&&(e._value=t._value),e},insertStaticContent(t,e,i,n){const s=i?i.previousSibling:e.lastChild;let r=na.get(t);if(!r){const e=ia.createElement("template");if(e.innerHTML=n?`${t}`:t,r=e.content,n){const t=r.firstChild;for(;t.firstChild;)r.appendChild(t.firstChild);r.removeChild(t)}na.set(t,r)}return e.insertBefore(r.cloneNode(!0),i),[s?s.nextSibling:e.firstChild,i?i.previousSibling:e.lastChild]}};const ra=/\s*!important$/;function oa(t,e,i){if(Uo(i))i.forEach((i=>oa(t,e,i)));else if(e.startsWith("--"))t.setProperty(e,i);else{const n=function(t,e){const i=la[e];if(i)return i;let n=R(e);if("filter"!==n&&n in t)return la[e]=n;n=ta(n);for(let i=0;idocument.createEvent("Event").timeStamp&&(ha=()=>performance.now());const t=navigator.userAgent.match(/firefox\/(\d+)/i);pa=!!(t&&Number(t[1])<=53)}let ua=0;const da=Promise.resolve(),fa=()=>{ua=0},ma=()=>ua||(da.then(fa),ua=ha());function ga(t,e,i,n){t.addEventListener(e,i,n)}function ya(t,e,i,n,s=null){const r=t._vei||(t._vei={}),o=r[e];if(n&&o)o.value=n;else{const[i,a]=function(t){let e;if(_a.test(t)){let i;for(e={};i=t.match(_a);)t=t.slice(0,t.length-i[0].length),e[i[0].toLowerCase()]=!0}return[Qo(t.slice(2)),e]}(e);if(n){const o=r[e]=function(t,e){const i=t=>{const n=t.timeStamp||ha();(pa||n>=i.attached-1)&&Ir(function(t,e){if(Uo(e)){const i=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{i.call(t),t._stopped=!0},e.map((t=>e=>!e._stopped&&t(e)))}return e}(t,i.value),e,5,[t])};return i.value=t,i.attached=ma(),i}(n,s);ga(t,i,o,a)}else o&&(!function(t,e,i,n){t.removeEventListener(e,i,n)}(t,i,o,a),r[e]=void 0)}}const _a=/(?:Once|Passive|Capture)$/;const va=/^on[a-z]/;function xa(t,e){const i=Vi(t);class n extends Ca{constructor(t){super(i,t,e)}}return n.def=i,n}const Aa=t=>xa(t,wl),ba="undefined"!=typeof HTMLElement?HTMLElement:class{};class Ca extends ba{constructor(t,e={},i){super(),this._def=t,this._props=e,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&i?i(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"});for(let t=0;t{for(const e of t)this._setAttr(e.attributeName)})).observe(this,{attributes:!0})}connectedCallback(){this._connected=!0,this._instance||(this._resolveDef(),this._update())}disconnectedCallback(){this._connected=!1,qr((()=>{this._connected||(Cl(null,this.shadowRoot),this._instance=null)}))}_resolveDef(){if(this._resolved)return;const t=t=>{this._resolved=!0;const{props:e,styles:i}=t,n=!Uo(e),s=e?n?Object.keys(e):e:[];let r;if(n)for(const t in this._props){const i=e[t];(i===Number||i&&i.type===Number)&&(this._props[t]=ea(this._props[t]),(r||(r=Object.create(null)))[t]=!0)}r&&(this._numberProps=r,this._update());for(const t of Object.keys(this))"_"!==t[0]&&this._setProp(t,this[t]);for(const t of s.map(Xo))Object.defineProperty(this,t,{get(){return this._getProp(t)},set(e){this._setProp(t,e)}});this._applyStyles(i)},e=this._def.__asyncLoader;e?e().then(t):t(this._def)}_setAttr(t){let e=this.getAttribute(t);this._numberProps&&this._numberProps[t]&&(e=ea(e)),this._setProp(Xo(t),e,!1)}_getProp(t){return this._props[t]}_setProp(t,e,i=!0){e!==this._props[t]&&(this._props[t]=e,this._instance&&this._update(),i&&(!0===e?this.setAttribute(Qo(t),""):"string"==typeof e||"number"==typeof e?this.setAttribute(Qo(t),e+""):e||this.removeAttribute(Qo(t))))}_update(){Cl(this._createVNode(),this.shadowRoot)}_createVNode(){const t=Fs(this._def,jo({},this._props));return this._instance||(t.ce=t=>{this._instance=t,t.isCE=!0,t.emit=(t,...e)=>{this.dispatchEvent(new CustomEvent(t,{detail:e}))};let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof Ca){t.parent=e._instance;break}}),t}_applyStyles(t){t&&t.forEach((t=>{const e=document.createElement("style");e.textContent=t,this.shadowRoot.appendChild(e)}))}}function wa(t="$style"){{const e=ar();if(!e)return zo;const i=e.type.__cssModules;if(!i)return zo;const n=i[t];return n||zo}}function Pa(t){const e=ar();if(!e)return;const i=()=>Ta(e.subTree,t(e.proxy));io(i),an((()=>{const t=new MutationObserver(i);t.observe(e.subTree.el.parentNode,{childList:!0}),pn((()=>t.disconnect()))}))}function Ta(t,e){if(128&t.shapeFlag){const i=t.suspense;t=i.activeBranch,i.pendingBranch&&!i.isHydrating&&i.effects.push((()=>{Ta(i.activeBranch,e)}))}for(;t.component;)t=t.component.subTree;if(1&t.shapeFlag&&t.el)ka(t.el,e);else if(t.type===gs)t.children.forEach((t=>Ta(t,e)));else if(t.type===vs){let{el:i,anchor:n}=t;for(;i&&(ka(i,e),i!==n);)i=i.nextSibling}}function ka(t,e){if(1===t.nodeType){const i=t.style;for(const t in e)i.setProperty(`--${t}`,e[t])}}const Sa="transition",Ea="animation",La=(t,{slots:e})=>bo(Fi,Oa(t),e);La.displayName="Transition";const Ia={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Na=La.props=jo({},Fi.props,Ia),Ma=(t,e=[])=>{Uo(t)?t.forEach((t=>t(...e))):t&&t(...e)},Ba=t=>!!t&&(Uo(t)?t.some((t=>t.length>1)):t.length>1);function Oa(t){const e={};for(const i in t)i in Ia||(e[i]=t[i]);if(!1===t.css)return e;const{name:i="v",type:n,duration:s,enterFromClass:r=`${i}-enter-from`,enterActiveClass:o=`${i}-enter-active`,enterToClass:a=`${i}-enter-to`,appearFromClass:l=r,appearActiveClass:c=o,appearToClass:h=a,leaveFromClass:p=`${i}-leave-from`,leaveActiveClass:u=`${i}-leave-active`,leaveToClass:d=`${i}-leave-to`}=t,f=function(t){if(null==t)return null;if(qo(t))return[Da(t.enter),Da(t.leave)];{const e=Da(t);return[e,e]}}(s),m=f&&f[0],g=f&&f[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:v,onLeave:x,onLeaveCancelled:A,onBeforeAppear:b=y,onAppear:C=_,onAppearCancelled:w=v}=e,P=(t,e,i)=>{za(t,e?h:a),za(t,e?c:o),i&&i()},T=(t,e)=>{za(t,d),za(t,u),e&&e()},k=t=>(e,i)=>{const s=t?C:_,o=()=>P(e,t,i);Ma(s,[e,o]),Ra((()=>{za(e,t?l:r),Fa(e,t?h:a),Ba(s)||Ua(e,n,m,o)}))};return jo(e,{onBeforeEnter(t){Ma(y,[t]),Fa(t,r),Fa(t,o)},onBeforeAppear(t){Ma(b,[t]),Fa(t,l),Fa(t,c)},onEnter:k(!1),onAppear:k(!0),onLeave(t,e){const i=()=>T(t,e);Fa(t,p),$a(),Fa(t,u),Ra((()=>{za(t,p),Fa(t,d),Ba(x)||Ua(t,n,g,i)})),Ma(x,[t,i])},onEnterCancelled(t){P(t,!1),Ma(v,[t])},onAppearCancelled(t){P(t,!0),Ma(w,[t])},onLeaveCancelled(t){T(t),Ma(A,[t])}})}function Da(t){return ea(t)}function Fa(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.add(e))),(t._vtc||(t._vtc=new Set)).add(e)}function za(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.remove(e)));const{_vtc:i}=t;i&&(i.delete(e),i.size||(t._vtc=void 0))}function Ra(t){requestAnimationFrame((()=>{requestAnimationFrame(t)}))}let ja=0;function Ua(t,e,i,n){const s=t._endId=++ja,r=()=>{s===t._endId&&n()};if(i)return setTimeout(r,i);const{type:o,timeout:a,propCount:l}=Za(t,e);if(!o)return n();const c=o+"end";let h=0;const p=()=>{t.removeEventListener(c,u),r()},u=e=>{e.target===t&&++h>=l&&p()};setTimeout((()=>{h(i[t]||"").split(", "),s=n(Sa+"Delay"),r=n(Sa+"Duration"),o=Ha(s,r),a=n(Ea+"Delay"),l=n(Ea+"Duration"),c=Ha(a,l);let h=null,p=0,u=0;e===Sa?o>0&&(h=Sa,p=o,u=r.length):e===Ea?c>0&&(h=Ea,p=c,u=l.length):(p=Math.max(o,c),h=p>0?o>c?Sa:Ea:null,u=h?h===Sa?r.length:l.length:0);return{type:h,timeout:p,propCount:u,hasTransform:h===Sa&&/\b(transform|all)(,|$)/.test(i[Sa+"Property"])}}function Ha(t,e){for(;t.lengthVa(e)+Va(t[i]))))}function Va(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function $a(){return document.body.offsetHeight}const qa=new WeakMap,Wa=new WeakMap,Ga={name:"TransitionGroup",props:jo({},Na,{tag:String,moveClass:String}),setup(t,{slots:e}){const i=ar(),n=Oi();let s,r;return cn((()=>{if(!s.length)return;const e=t.moveClass||`${t.name||"v"}-move`;if(!function(t,e,i){const n=t.cloneNode();t._vtc&&t._vtc.forEach((t=>{t.split(/\s+/).forEach((t=>t&&n.classList.remove(t)))}));i.split(/\s+/).forEach((t=>t&&n.classList.add(t))),n.style.display="none";const s=1===e.nodeType?e:e.parentNode;s.appendChild(n);const{hasTransform:r}=Za(n);return s.removeChild(n),r}(s[0].el,i.vnode.el,e))return;s.forEach(Ka),s.forEach(Ja);const n=s.filter(Xa);$a(),n.forEach((t=>{const i=t.el,n=i.style;Fa(i,e),n.transform=n.webkitTransform=n.transitionDuration="";const s=i._moveCb=t=>{t&&t.target!==i||t&&!/transform$/.test(t.propertyName)||(i.removeEventListener("transitionend",s),i._moveCb=null,za(i,e))};i.addEventListener("transitionend",s)}))})),()=>{const o=Ze(t),a=Oa(o);let l=o.tag||gs;s=r,r=e.default?Hi(e.default()):[];for(let t=0;t{const e=t.props["onUpdate:modelValue"];return Uo(e)?t=>((t,e)=>{for(let i=0;i{if(e.target.composing)return;let n=t.value;i?n=n.trim():r&&(n=ea(n)),t._assign(n)})),i&&ga(t,"change",(()=>{t.value=t.value.trim()})),e||(ga(t,"compositionstart",Qa),ga(t,"compositionend",tl),ga(t,"change",tl))},mounted(t,{value:e}){t.value=null==e?"":e},beforeUpdate(t,{value:e,modifiers:{lazy:i,trim:n,number:s}},r){if(t._assign=Ya(r),t.composing)return;if(document.activeElement===t){if(i)return;if(n&&t.value.trim()===e)return;if((s||"number"===t.type)&&ea(t.value)===e)return}const o=null==e?"":e;t.value!==o&&(t.value=o)}},il={deep:!0,created(t,e,i){t._assign=Ya(i),ga(t,"change",(()=>{const e=t._modelValue,i=al(t),n=t.checked,s=t._assign;if(Uo(e)){const t=Fo(e,i),r=-1!==t;if(n&&!r)s(e.concat(i));else if(!n&&r){const i=[...e];i.splice(t,1),s(i)}}else if(Zo(e)){const t=new Set(e);n?t.add(i):t.delete(i),s(t)}else s(ll(t,n))}))},mounted:nl,beforeUpdate(t,e,i){t._assign=Ya(i),nl(t,e,i)}};function nl(t,{value:e,oldValue:i},n){t._modelValue=e,Uo(e)?t.checked=Fo(e,n.props.value)>-1:Zo(e)?t.checked=e.has(n.props.value):e!==i&&(t.checked=Do(e,ll(t,!0)))}const sl={created(t,{value:e},i){t.checked=Do(e,i.props.value),t._assign=Ya(i),ga(t,"change",(()=>{t._assign(al(t))}))},beforeUpdate(t,{value:e,oldValue:i},n){t._assign=Ya(n),e!==i&&(t.checked=Do(e,n.props.value))}},rl={deep:!0,created(t,{value:e,modifiers:{number:i}},n){const s=Zo(e);ga(t,"change",(()=>{const e=Array.prototype.filter.call(t.options,(t=>t.selected)).map((t=>i?ea(al(t)):al(t)));t._assign(t.multiple?s?new Set(e):e:e[0])})),t._assign=Ya(n)},mounted(t,{value:e}){ol(t,e)},beforeUpdate(t,e,i){t._assign=Ya(i)},updated(t,{value:e}){ol(t,e)}};function ol(t,e){const i=t.multiple;if(!i||Uo(e)||Zo(e)){for(let n=0,s=t.options.length;n-1:s.selected=e.has(r);else if(Do(al(s),e))return void(t.selectedIndex!==n&&(t.selectedIndex=n))}i||-1===t.selectedIndex||(t.selectedIndex=-1)}}function al(t){return"_value"in t?t._value:t.value}function ll(t,e){const i=e?"_trueValue":"_falseValue";return i in t?t[i]:e}const cl={created(t,e,i){hl(t,e,i,null,"created")},mounted(t,e,i){hl(t,e,i,null,"mounted")},beforeUpdate(t,e,i,n){hl(t,e,i,n,"beforeUpdate")},updated(t,e,i,n){hl(t,e,i,n,"updated")}};function hl(t,e,i,n,s){let r;switch(t.tagName){case"SELECT":r=rl;break;case"TEXTAREA":r=el;break;default:switch(i.props&&i.props.type){case"checkbox":r=il;break;case"radio":r=sl;break;default:r=el}}const o=r[s];o&&o(t,e,i,n)}const pl=["ctrl","shift","alt","meta"],ul={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&0!==t.button,middle:t=>"button"in t&&1!==t.button,right:t=>"button"in t&&2!==t.button,exact:(t,e)=>pl.some((i=>t[`${i}Key`]&&!e.includes(i)))},dl=(t,e)=>(i,...n)=>{for(let t=0;ti=>{if(!("key"in i))return;const n=Qo(i.key);return e.some((t=>t===n||fl[t]===n))?t(i):void 0},gl={beforeMount(t,{value:e},{transition:i}){t._vod="none"===t.style.display?"":t.style.display,i&&e?i.beforeEnter(t):yl(t,e)},mounted(t,{value:e},{transition:i}){i&&e&&i.enter(t)},updated(t,{value:e,oldValue:i},{transition:n}){!e!=!i&&(n?e?(n.beforeEnter(t),yl(t,!0),n.enter(t)):n.leave(t,(()=>{yl(t,!1)})):yl(t,e))},beforeUnmount(t,{value:e}){yl(t,e)}};function yl(t,e){t.style.display=e?t._vod:"none"}const _l=jo({patchProp:(t,e,i,n,s=!1,r,o,a,l)=>{"class"===e?function(t,e,i){const n=t._vtc;n&&(e=(e?[e,...n]:[...n]).join(" ")),null==e?t.removeAttribute("class"):i?t.setAttribute("class",e):t.className=e}(t,n,s):"style"===e?function(t,e,i){const n=t.style,s=n.display;if(i)if($o(i))e!==i&&(n.cssText=i);else{for(const t in i)oa(n,t,i[t]);if(e&&!$o(e))for(const t in e)null==i[t]&&oa(n,t,"")}else t.removeAttribute("style");"_vod"in t&&(n.display=s)}(t,i,n):(t=>Ro.test(t))(e)?(t=>t.startsWith("onUpdate:"))(e)||ya(t,e,0,n,o):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):function(t,e,i,n){if(n)return"innerHTML"===e||"textContent"===e||!!(e in t&&va.test(e)&&Vo(i));if("spellcheck"===e||"draggable"===e)return!1;if("form"===e)return!1;if("list"===e&&"INPUT"===t.tagName)return!1;if("type"===e&&"TEXTAREA"===t.tagName)return!1;if(va.test(e)&&$o(i))return!1;return e in t}(t,e,n,s))?function(t,e,i,n,s,r,o){if("innerHTML"===e||"textContent"===e)return n&&o(n,s,r),void(t[e]=null==i?"":i);if("value"===e&&"PROGRESS"!==t.tagName){t._value=i;const n=null==i?"":i;return t.value!==n&&(t.value=n),void(null==i&&t.removeAttribute(e))}if(""===i||null==i){const n=typeof t[e];if("boolean"===n)return void(t[e]=Oo(i));if(null==i&&"string"===n)return t[e]="",void t.removeAttribute(e);if("number"===n){try{t[e]=0}catch(t){}return void t.removeAttribute(e)}}try{t[e]=i}catch(t){}}(t,e,n,r,o,a,l):("true-value"===e?t._trueValue=n:"false-value"===e&&(t._falseValue=n),function(t,e,i,n,s){if(n&&e.startsWith("xlink:"))null==i?t.removeAttributeNS(ca,e.slice(6,e.length)):t.setAttributeNS(ca,e,i);else{const n=Bo(e);null==i||n&&!Oo(i)?t.removeAttribute(e):t.setAttribute(e,n?"":i)}}(t,e,n,s))}},sa);let vl,xl=!1;function Al(){return vl||(vl=Xn(_l))}function bl(){return vl=xl?vl:Yn(_l),xl=!0,vl}const Cl=(...t)=>{Al().render(...t)},wl=(...t)=>{bl().hydrate(...t)},Pl=(...t)=>{const e=Al().createApp(...t);const{mount:i}=e;return e.mount=t=>{const n=kl(t);if(!n)return;const s=e._component;Vo(s)||s.render||s.template||(s.template=n.innerHTML),n.innerHTML="";const r=i(n,!1,n instanceof SVGElement);return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),r},e},Tl=(...t)=>{const e=bl().createApp(...t);const{mount:i}=e;return e.mount=t=>{const e=kl(t);if(e)return i(e,!0,e instanceof SVGElement)},e};function kl(t){if($o(t)){return document.querySelector(t)}return t}function Sl(t,e){const i=Object.create(null),n=t.split(",");for(let t=0;t!!i[t.toLowerCase()]:t=>!!i[t]}const El={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"};const Ll=/;(?![^(]*\))/g,Il=/:(.+)/;function Nl(t){const e={};return t.split(Ll).forEach((t=>{if(t){const i=t.split(Il);i.length>1&&(e[i[0].trim()]=i[1].trim())}})),e}const Ml=Sl("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),Bl=Sl("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),Ol=Sl("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr");const Dl={},Fl=()=>{},zl=()=>!1,Rl=/^on[^a-z]/,jl=t=>Rl.test(t),Ul=Object.assign,Zl=(Object.prototype.hasOwnProperty,Array.isArray),Hl=t=>"string"==typeof t,Vl=t=>"symbol"==typeof t,$l=t=>null!==t&&"object"==typeof t,ql=(Object.prototype.toString,Sl(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted")),Wl=t=>{const e=Object.create(null);return i=>e[i]||(e[i]=t(i))},Gl=/-(\w)/g,Kl=Wl((t=>t.replace(Gl,((t,e)=>e?e.toUpperCase():"")))),Jl=/\B([A-Z])/g,Xl=Wl((t=>t.replace(Jl,"-$1").toLowerCase())),Yl=Wl((t=>t.charAt(0).toUpperCase()+t.slice(1))),Ql=Wl((t=>t?`on${Yl(t)}`:""));i(172);function tc(t){throw t}function ec(t){}function ic(t,e,i,n){const s=new SyntaxError(String(t));return s.code=t,s.loc=e,s}const nc=Symbol(""),sc=Symbol(""),rc=Symbol(""),oc=Symbol(""),ac=Symbol(""),lc=Symbol(""),cc=Symbol(""),hc=Symbol(""),pc=Symbol(""),uc=Symbol(""),dc=Symbol(""),fc=Symbol(""),mc=Symbol(""),gc=Symbol(""),yc=Symbol(""),_c=Symbol(""),vc=Symbol(""),xc=Symbol(""),Ac=Symbol(""),bc=Symbol(""),Cc=Symbol(""),wc=Symbol(""),Pc=Symbol(""),Tc=Symbol(""),kc=Symbol(""),Sc=Symbol(""),Ec=Symbol(""),Lc=Symbol(""),Ic=Symbol(""),Nc=Symbol(""),Mc=Symbol(""),Bc=Symbol(""),Oc=Symbol(""),Dc=Symbol(""),Fc=Symbol(""),zc=Symbol(""),Rc=Symbol(""),jc=Symbol(""),Uc=Symbol(""),Zc={[nc]:"Fragment",[sc]:"Teleport",[rc]:"Suspense",[oc]:"KeepAlive",[ac]:"BaseTransition",[lc]:"openBlock",[cc]:"createBlock",[hc]:"createElementBlock",[pc]:"createVNode",[uc]:"createElementVNode",[dc]:"createCommentVNode",[fc]:"createTextVNode",[mc]:"createStaticVNode",[gc]:"resolveComponent",[yc]:"resolveDynamicComponent",[_c]:"resolveDirective",[vc]:"resolveFilter",[xc]:"withDirectives",[Ac]:"renderList",[bc]:"renderSlot",[Cc]:"createSlots",[wc]:"toDisplayString",[Pc]:"mergeProps",[Tc]:"normalizeClass",[kc]:"normalizeStyle",[Sc]:"normalizeProps",[Ec]:"guardReactiveProps",[Lc]:"toHandlers",[Ic]:"camelize",[Nc]:"capitalize",[Mc]:"toHandlerKey",[Bc]:"setBlockTracking",[Oc]:"pushScopeId",[Dc]:"popScopeId",[Fc]:"withCtx",[zc]:"unref",[Rc]:"isRef",[jc]:"withMemo",[Uc]:"isMemoSame"};const Hc={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Vc(t,e,i,n,s,r,o,a=!1,l=!1,c=!1,h=Hc){return t&&(a?(t.helper(lc),t.helper(vh(t.inSSR,c))):t.helper(_h(t.inSSR,c)),o&&t.helper(xc)),{type:13,tag:e,props:i,children:n,patchFlag:s,dynamicProps:r,directives:o,isBlock:a,disableTracking:l,isComponent:c,loc:h}}function $c(t,e=Hc){return{type:17,loc:e,elements:t}}function qc(t,e=Hc){return{type:15,loc:e,properties:t}}function Wc(t,e){return{type:16,loc:Hc,key:Hl(t)?Gc(t,!0):t,value:e}}function Gc(t,e=!1,i=Hc,n=0){return{type:4,loc:i,content:t,isStatic:e,constType:e?3:n}}function Kc(t,e=Hc){return{type:8,loc:e,children:t}}function Jc(t,e=[],i=Hc){return{type:14,loc:i,callee:t,arguments:e}}function Xc(t,e=void 0,i=!1,n=!1,s=Hc){return{type:18,params:t,returns:e,newline:i,isSlot:n,loc:s}}function Yc(t,e,i,n=!0){return{type:19,test:t,consequent:e,alternate:i,newline:n,loc:Hc}}const Qc=t=>4===t.type&&t.isStatic,th=(t,e)=>t===e||t===Xl(e);function eh(t){return th(t,"Teleport")?sc:th(t,"Suspense")?rc:th(t,"KeepAlive")?oc:th(t,"BaseTransition")?ac:void 0}const ih=/^\d|[^\$\w]/,nh=t=>!ih.test(t),sh=/[A-Za-z_$\xA0-\uFFFF]/,rh=/[\.\?\w$\xA0-\uFFFF]/,oh=/\s+[.[]\s*|\s*[.[]\s+/g,ah=t=>{t=t.trim().replace(oh,(t=>t.trim()));let e=0,i=[],n=0,s=0,r=null;for(let o=0;o4===t.key.type&&t.key.content===i))}t||r.properties.unshift(e),n=r}else n=Jc(i.helper(Pc),[qc([e]),r]),s&&s.callee===Ec&&(s=o[o.length-2]);13===t.type?s?s.arguments[0]=n:t.props=n:s?s.arguments[0]=n:t.arguments[2]=n}function Ch(t,e){return`_${e}_${t.replace(/[^\w]/g,((e,i)=>"-"===e?"_":t.charCodeAt(i).toString()))}`}function wh(t,{helper:e,removeHelper:i,inSSR:n}){t.isBlock||(t.isBlock=!0,i(_h(n,t.isComponent)),e(lc),e(vh(n,t.isComponent)))}function Ph(t,e){const i=e.options?e.options.compatConfig:e.compatConfig,n=i&&i[t];return"MODE"===t?n||3:n}function Th(t,e){const i=Ph("MODE",e),n=Ph(t,e);return 3===i?!0===n:!1!==n}function kh(t,e,i,...n){return Th(t,e)}const Sh=/&(gt|lt|amp|apos|quot);/g,Eh={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Lh={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:zl,isPreTag:zl,isCustomElement:zl,decodeEntities:t=>t.replace(Sh,((t,e)=>Eh[e])),onError:tc,onWarn:ec,comments:!1};function Ih(t,e={}){const i=function(t,e){const i=Ul({},Lh);let n;for(n in e)i[n]=void 0===e[n]?Lh[n]:e[n];return{options:i,column:1,line:1,offset:0,originalSource:t,source:t,inPre:!1,inVPre:!1,onWarn:i.onWarn}}(t,e),n=$h(i);return function(t,e=Hc){return{type:0,children:t,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:e}}(Nh(i,0,[]),qh(i,n))}function Nh(t,e,i){const n=Wh(i),s=n?n.ns:0,r=[];for(;!Qh(t,e,i);){const o=t.source;let a;if(0===e||1===e)if(!t.inVPre&&Gh(o,t.options.delimiters[0]))a=Zh(t,e);else if(0===e&&"<"===o[0])if(1===o.length)Yh(t,5,1);else if("!"===o[1])Gh(o,"\x3c!--")?a=Oh(t):Gh(o,""===o[2]){Yh(t,14,2),Kh(t,3);continue}if(/[a-z]/i.test(o[2])){Yh(t,23),Rh(t,1,n);continue}Yh(t,12,2),a=Dh(t)}else/[a-z]/i.test(o[1])?(a=Fh(t,i),Th("COMPILER_NATIVE_TEMPLATE",t)&&a&&"template"===a.tag&&!a.props.some((t=>7===t.type&&zh(t.name)))&&(a=a.children)):"?"===o[1]?(Yh(t,21,1),a=Dh(t)):Yh(t,12,1);if(a||(a=Hh(t,e)),Zl(a))for(let t=0;t/.exec(t.source);if(n){n.index<=3&&Yh(t,0),n[1]&&Yh(t,10),i=t.source.slice(4,n.index);const e=t.source.slice(0,n.index);let s=1,r=0;for(;-1!==(r=e.indexOf("\x3c!--",s));)Kh(t,r-s+1),r+4");return-1===s?(n=t.source.slice(i),Kh(t,t.source.length)):(n=t.source.slice(i,s),Kh(t,s+1)),{type:3,content:n,loc:qh(t,e)}}function Fh(t,e){const i=t.inPre,n=t.inVPre,s=Wh(e),r=Rh(t,0,s),o=t.inPre&&!i,a=t.inVPre&&!n;if(r.isSelfClosing||t.options.isVoidTag(r.tag))return o&&(t.inPre=!1),a&&(t.inVPre=!1),r;e.push(r);const l=t.options.getTextMode(r,s),c=Nh(t,l,e);e.pop();{const e=r.props.find((t=>6===t.type&&"inline-template"===t.name));if(e&&kh("COMPILER_INLINE_TEMPLATE",t,e.loc)){const i=qh(t,r.loc.end);e.value={type:2,content:i.source,loc:i}}}if(r.children=c,tp(t.source,r.tag))Rh(t,1,s);else if(Yh(t,24,0,r.loc.start),0===t.source.length&&"script"===r.tag.toLowerCase()){const e=c[0];e&&Gh(e.loc.source,"\x3c!--")&&Yh(t,8)}return r.loc=qh(t,r.loc.start),o&&(t.inPre=!1),a&&(t.inVPre=!1),r}const zh=Sl("if,else,else-if,for,slot");function Rh(t,e,i){const n=$h(t),s=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(t.source),r=s[1],o=t.options.getNamespace(r,i);Kh(t,s[0].length),Jh(t);const a=$h(t),l=t.source;t.options.isPreTag(r)&&(t.inPre=!0);let c=jh(t,e);0===e&&!t.inVPre&&c.some((t=>7===t.type&&"pre"===t.name))&&(t.inVPre=!0,Ul(t,a),t.source=l,c=jh(t,e).filter((t=>"v-pre"!==t.name)));let h=!1;if(0===t.source.length?Yh(t,9):(h=Gh(t.source,"/>"),1===e&&h&&Yh(t,4),Kh(t,h?2:1)),1===e)return;let p=0;return t.inVPre||("slot"===r?p=2:"template"===r?c.some((t=>7===t.type&&zh(t.name)))&&(p=3):function(t,e,i){const n=i.options;if(n.isCustomElement(t))return!1;if("component"===t||/^[A-Z]/.test(t)||eh(t)||n.isBuiltInComponent&&n.isBuiltInComponent(t)||n.isNativeTag&&!n.isNativeTag(t))return!0;for(let t=0;t0&&!Gh(t.source,">")&&!Gh(t.source,"/>");){if(Gh(t.source,"/")){Yh(t,22),Kh(t,1),Jh(t);continue}1===e&&Yh(t,3);const s=Uh(t,n);6===s.type&&s.value&&"class"===s.name&&(s.value.content=s.value.content.replace(/\s+/g," ").trim()),0===e&&i.push(s),/^[^\t\r\n\f />]/.test(t.source)&&Yh(t,15),Jh(t)}return i}function Uh(t,e){const i=$h(t),n=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(t.source)[0];e.has(n)&&Yh(t,2),e.add(n),"="===n[0]&&Yh(t,19);{const e=/["'<]/g;let i;for(;i=e.exec(n);)Yh(t,17,i.index)}let s;Kh(t,n.length),/^[\t\r\n\f ]*=/.test(t.source)&&(Jh(t),Kh(t,1),Jh(t),s=function(t){const e=$h(t);let i;const n=t.source[0],s='"'===n||"'"===n;if(s){Kh(t,1);const e=t.source.indexOf(n);-1===e?i=Vh(t,t.source.length,4):(i=Vh(t,e,4),Kh(t,1))}else{const e=/^[^\t\r\n\f >]+/.exec(t.source);if(!e)return;const n=/["'<=`]/g;let s;for(;s=n.exec(e[0]);)Yh(t,18,s.index);i=Vh(t,e[0].length,4)}return{content:i,isQuoted:s,loc:qh(t,e)}}(t),s||Yh(t,13));const r=qh(t,i);if(!t.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(n)){const e=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(n);let o,a=Gh(n,"."),l=e[1]||(a||Gh(n,":")?"bind":Gh(n,"@")?"on":"slot");if(e[2]){const s="slot"===l,r=n.lastIndexOf(e[2]),a=qh(t,Xh(t,i,r),Xh(t,i,r+e[2].length+(s&&e[3]||"").length));let c=e[2],h=!0;c.startsWith("[")?(h=!1,c.endsWith("]")?c=c.substr(1,c.length-2):(Yh(t,27),c=c.substr(1))):s&&(c+=e[3]||""),o={type:4,content:c,isStatic:h,constType:h?3:0,loc:a}}if(s&&s.isQuoted){const t=s.loc;t.start.offset++,t.start.column++,t.end=ch(t.start,s.content),t.source=t.source.slice(1,-1)}const c=e[3]?e[3].substr(1).split("."):[];return a&&c.push("prop"),"bind"===l&&o&&c.includes("sync")&&kh("COMPILER_V_BIND_SYNC",t,0,o.loc.source)&&(l="model",c.splice(c.indexOf("sync"),1)),{type:7,name:l,exp:s&&{type:4,content:s.content,isStatic:!1,constType:0,loc:s.loc},arg:o,modifiers:c,loc:r}}return!t.inVPre&&Gh(n,"v-")&&Yh(t,26),{type:6,name:n,value:s&&{type:2,content:s.content,loc:s.loc},loc:r}}function Zh(t,e){const[i,n]=t.options.delimiters,s=t.source.indexOf(n,i.length);if(-1===s)return void Yh(t,25);const r=$h(t);Kh(t,i.length);const o=$h(t),a=$h(t),l=s-i.length,c=t.source.slice(0,l),h=Vh(t,l,e),p=h.trim(),u=h.indexOf(p);u>0&&hh(o,c,u);return hh(a,c,l-(h.length-p.length-u)),Kh(t,n.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:p,loc:qh(t,o,a)},loc:qh(t,r)}}function Hh(t,e){const i=3===e?["]]>"]:["<",t.options.delimiters[0]];let n=t.source.length;for(let e=0;es&&(n=s)}const s=$h(t);return{type:2,content:Vh(t,n,e),loc:qh(t,s)}}function Vh(t,e,i){const n=t.source.slice(0,e);return Kh(t,e),2===i||3===i||-1===n.indexOf("&")?n:t.options.decodeEntities(n,4===i)}function $h(t){const{column:e,line:i,offset:n}=t;return{column:e,line:i,offset:n}}function qh(t,e,i){return{start:e,end:i=i||$h(t),source:t.originalSource.slice(e.offset,i.offset)}}function Wh(t){return t[t.length-1]}function Gh(t,e){return t.startsWith(e)}function Kh(t,e){const{source:i}=t;hh(t,i,e),t.source=i.slice(e)}function Jh(t){const e=/^[\t\r\n\f ]+/.exec(t.source);e&&Kh(t,e[0].length)}function Xh(t,e,i){return ch(e,t.originalSource.slice(e.offset,i),i)}function Yh(t,e,i,n=$h(t)){i&&(n.offset+=i,n.column+=i),t.options.onError(ic(e,{start:n,end:n,source:""}))}function Qh(t,e,i){const n=t.source;switch(e){case 0:if(Gh(n,"=0;--t)if(tp(n,i[t].tag))return!0;break;case 1:case 2:{const t=Wh(i);if(t&&tp(n,t.tag))return!0;break}case 3:if(Gh(n,"]]>"))return!0}return!n}function tp(t,e){return Gh(t,"]/.test(t[2+e.length]||">")}function ep(t,e){np(t,e,ip(t,t.children[0]))}function ip(t,e){const{children:i}=t;return 1===i.length&&1===e.type&&!yh(e)}function np(t,e,i=!1){let n=!0;const{children:s}=t,r=s.length;let o=0;for(let t=0;t0){if(t<3&&(n=!1),t>=2){r.codegenNode.patchFlag="-1",r.codegenNode=e.hoist(r.codegenNode),o++;continue}}else{const t=r.codegenNode;if(13===t.type){const i=cp(t);if((!i||512===i||1===i)&&ap(r,e)>=2){const i=lp(r);i&&(t.props=e.hoist(i))}t.dynamicProps&&(t.dynamicProps=e.hoist(t.dynamicProps))}}}else if(12===r.type){const t=sp(r.content,e);t>0&&(t<3&&(n=!1),t>=2&&(r.codegenNode=e.hoist(r.codegenNode),o++))}if(1===r.type){const t=1===r.tagType;t&&e.scopes.vSlot++,np(r,e),t&&e.scopes.vSlot--}else if(11===r.type)np(r,e,1===r.children.length);else if(9===r.type)for(let t=0;t1)for(let s=0;s`_${Zc[C.helper(t)]}`,replaceNode(t){C.parent.children[C.childIndex]=C.currentNode=t},removeNode(t){const e=C.parent.children,i=t?e.indexOf(t):C.currentNode?C.childIndex:-1;t&&t!==C.currentNode?C.childIndex>i&&(C.childIndex--,C.onNodeRemoved()):(C.currentNode=null,C.onNodeRemoved()),C.parent.children.splice(i,1)},onNodeRemoved:()=>{},addIdentifiers(t){},removeIdentifiers(t){},hoist(t){Hl(t)&&(t=Gc(t)),C.hoists.push(t);const e=Gc(`_hoisted_${C.hoists.length}`,!1,t.loc,2);return e.hoisted=t,e},cache:(t,e=!1)=>function(t,e,i=!1){return{type:20,index:t,value:e,isVNode:i,loc:Hc}}(C.cached++,t,e)};return C.filters=new Set,C}function pp(t,e){const i=hp(t,e);up(t,i),e.hoistStatic&&ep(t,i),e.ssr||function(t,e){const{helper:i}=e,{children:n}=t;if(1===n.length){const i=n[0];if(ip(t,i)&&i.codegenNode){const n=i.codegenNode;13===n.type&&wh(n,e),t.codegenNode=n}else t.codegenNode=i}else if(n.length>1){let n=64;El[64];0,t.codegenNode=Vc(e,i(nc),void 0,t.children,n+"",void 0,void 0,!0,void 0,!1)}}(t,i),t.helpers=[...i.helpers.keys()],t.components=[...i.components],t.directives=[...i.directives],t.imports=i.imports,t.hoists=i.hoists,t.temps=i.temps,t.cached=i.cached,t.filters=[...i.filters]}function up(t,e){e.currentNode=t;const{nodeTransforms:i}=e,n=[];for(let s=0;s{i--};for(;ie===t:e=>t.test(e);return(t,n)=>{if(1===t.type){const{props:s}=t;if(3===t.tagType&&s.some(mh))return;const r=[];for(let o=0;o`_${Zc[t]}`,push(t,e){u.code+=t},indent(){d(++u.indentLevel)},deindent(t=!1){t?--u.indentLevel:d(--u.indentLevel)},newline(){d(u.indentLevel)}};function d(t){u.push("\n"+" ".repeat(t))}return u}(t,e);e.onContextCreated&&e.onContextCreated(i);const{mode:n,push:s,prefixIdentifiers:r,indent:o,deindent:a,newline:l,scopeId:c,ssr:h}=i,p=t.helpers.length>0,u=!r&&"module"!==n;!function(t,e){const{ssr:i,prefixIdentifiers:n,push:s,newline:r,runtimeModuleName:o,runtimeGlobalName:a}=e,l=a,c=t=>`${Zc[t]}: _${Zc[t]}`;if(t.helpers.length>0&&(s(`const _Vue = ${l}\n`),t.hoists.length)){s(`const { ${[pc,uc,dc,fc,mc].filter((e=>t.helpers.includes(e))).map(c).join(", ")} } = _Vue\n`)}(function(t,e){if(!t.length)return;e.pure=!0;const{push:i,newline:n,helper:s,scopeId:r,mode:o}=e;n();for(let s=0;s`${Zc[t]}: _${Zc[t]}`)).join(", ")} } = _Vue`),s("\n"),l())),t.components.length&&(gp(t.components,"component",i),(t.directives.length||t.temps>0)&&l()),t.directives.length&&(gp(t.directives,"directive",i),t.temps>0&&l()),t.filters&&t.filters.length&&(l(),gp(t.filters,"filter",i),l()),t.temps>0){s("let ");for(let e=0;e0?", ":""}_temp${e}`)}return(t.components.length||t.directives.length||t.temps)&&(s("\n"),l()),h||s("return "),t.codegenNode?vp(t.codegenNode,i):s("null"),u&&(a(),s("}")),a(),s("}"),{ast:t,code:i.code,preamble:"",map:i.map?i.map.toJSON():void 0}}function gp(t,e,{helper:i,push:n,newline:s,isTS:r}){const o=i("filter"===e?vc:"component"===e?gc:_c);for(let i=0;i3||!1;e.push("["),i&&e.indent(),_p(t,e,i),i&&e.deindent(),e.push("]")}function _p(t,e,i=!1,n=!0){const{push:s,newline:r}=e;for(let o=0;ot||"null"))}([r,o,a,l,c]),e),i(")"),p&&i(")");h&&(i(", "),vp(h,e),i(")"))}(t,e);break;case 14:!function(t,e){const{push:i,helper:n,pure:s}=e,r=Hl(t.callee)?t.callee:n(t.callee);s&&i(fp);i(r+"(",t),_p(t.arguments,e),i(")")}(t,e);break;case 15:!function(t,e){const{push:i,indent:n,deindent:s,newline:r}=e,{properties:o}=t;if(!o.length)return void i("{}",t);const a=o.length>1||!1;i(a?"{":"{ "),a&&n();for(let t=0;t "),(l||a)&&(i("{"),n());o?(l&&i("return "),Zl(o)?yp(o,e):vp(o,e)):a&&vp(a,e);(l||a)&&(s(),i("}"));c&&(t.isNonScopedSlot&&i(", undefined, true"),i(")"))}(t,e);break;case 19:!function(t,e){const{test:i,consequent:n,alternate:s,newline:r}=t,{push:o,indent:a,deindent:l,newline:c}=e;if(4===i.type){const t=!nh(i.content);t&&o("("),xp(i,e),t&&o(")")}else o("("),vp(i,e),o(")");r&&a(),e.indentLevel++,r||o(" "),o("? "),vp(n,e),e.indentLevel--,r&&c(),r||o(" "),o(": ");const h=19===s.type;h||e.indentLevel++;vp(s,e),h||e.indentLevel--;r&&l(!0)}(t,e);break;case 20:!function(t,e){const{push:i,helper:n,indent:s,deindent:r,newline:o}=e;i(`_cache[${t.index}] || (`),t.isVNode&&(s(),i(`${n(Bc)}(-1),`),o());i(`_cache[${t.index}] = `),vp(t.value,e),t.isVNode&&(i(","),o(),i(`${n(Bc)}(1),`),o(),i(`_cache[${t.index}]`),r());i(")")}(t,e);break;case 21:_p(t.body,e,!0,!1)}}function xp(t,e){const{content:i,isStatic:n}=t;e.push(n?JSON.stringify(i):i,t)}function Ap(t,e){for(let i=0;ifunction(t,e,i,n){if(!("else"===e.name||e.exp&&e.exp.content.trim())){const n=e.exp?e.exp.loc:t.loc;i.onError(ic(28,e.loc)),e.exp=Gc("true",!1,n)}0;if("if"===e.name){const s=wp(t,e),r={type:9,loc:t.loc,branches:[s]};if(i.replaceNode(r),n)return n(r,s,!0)}else{const s=i.parent.children;let r=s.indexOf(t);for(;r-- >=-1;){const o=s[r];if(!o||2!==o.type||o.content.trim().length){if(o&&9===o.type){"else-if"===e.name&&void 0===o.branches[o.branches.length-1].condition&&i.onError(ic(30,t.loc)),i.removeNode();const s=wp(t,e);0,o.branches.push(s);const r=n&&n(o,s,!1);up(s,i),r&&r(),i.currentNode=null}else i.onError(ic(30,t.loc));break}i.removeNode(o)}}}(t,e,i,((t,e,n)=>{const s=i.parent.children;let r=s.indexOf(t),o=0;for(;r-- >=0;){const t=s[r];t&&9===t.type&&(o+=t.branches.length)}return()=>{if(n)t.codegenNode=Pp(e,o,i);else{const n=function(t){for(;;)if(19===t.type){if(19!==t.alternate.type)return t;t=t.alternate}else 20===t.type&&(t=t.value)}(t.codegenNode);n.alternate=Pp(e,o+t.branches.length-1,i)}}}))));function wp(t,e){return{type:10,loc:t.loc,condition:"else"===e.name?void 0:e.exp,children:3!==t.tagType||ph(t,"for")?[t]:t.children,userKey:uh(t,"key")}}function Pp(t,e,i){return t.condition?Yc(t.condition,Tp(t,e,i),Jc(i.helper(dc),['""',"true"])):Tp(t,e,i)}function Tp(t,e,i){const{helper:n}=i,s=Wc("key",Gc(`${e}`,!1,Hc,2)),{children:r}=t,o=r[0];if(1!==r.length||1!==o.type){if(1===r.length&&11===o.type){const t=o.codegenNode;return bh(t,s,i),t}{let e=64;El[64];return Vc(i,n(nc),qc([s]),r,e+"",void 0,void 0,!0,!1,!1,t.loc)}}{const t=o.codegenNode,e=14===(a=t).type&&a.callee===jc?a.arguments[1].returns:a;return 13===e.type&&wh(e,i),bh(e,s,i),t}var a}const kp=dp("for",((t,e,i)=>{const{helper:n,removeHelper:s}=i;return function(t,e,i,n){if(!e.exp)return void i.onError(ic(31,e.loc));const s=Ip(e.exp,i);if(!s)return void i.onError(ic(32,e.loc));const{addIdentifiers:r,removeIdentifiers:o,scopes:a}=i,{source:l,value:c,key:h,index:p}=s,u={type:11,loc:e.loc,source:l,valueAlias:c,keyAlias:h,objectIndexAlias:p,parseResult:s,children:gh(t)?t.children:[t]};i.replaceNode(u),a.vFor++;const d=n&&n(u);return()=>{a.vFor--,d&&d()}}(t,e,i,(e=>{const r=Jc(n(Ac),[e.source]),o=ph(t,"memo"),a=uh(t,"key"),l=a&&(6===a.type?Gc(a.value.content,!0):a.exp),c=a?Wc("key",l):null,h=4===e.source.type&&e.source.constType>0,p=h?64:a?128:256;return e.codegenNode=Vc(i,n(nc),void 0,r,p+"",void 0,void 0,!0,!h,!1,t.loc),()=>{let a;const p=gh(t),{children:u}=e;const d=1!==u.length||1!==u[0].type,f=yh(t)?t:p&&1===t.children.length&&yh(t.children[0])?t.children[0]:null;if(f?(a=f.codegenNode,p&&c&&bh(a,c,i)):d?a=Vc(i,n(nc),c?qc([c]):void 0,t.children,"64",void 0,void 0,!0,void 0,!1):(a=u[0].codegenNode,p&&c&&bh(a,c,i),a.isBlock!==!h&&(a.isBlock?(s(lc),s(vh(i.inSSR,a.isComponent))):s(_h(i.inSSR,a.isComponent))),a.isBlock=!h,a.isBlock?(n(lc),n(vh(i.inSSR,a.isComponent))):n(_h(i.inSSR,a.isComponent))),o){const t=Xc(Mp(e.parseResult,[Gc("_cached")]));t.body={type:21,body:[Kc(["const _memo = (",o.exp,")"]),Kc(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${i.helperString(Uc)}(_cached, _memo)) return _cached`]),Kc(["const _item = ",a]),Gc("_item.memo = _memo"),Gc("return _item")],loc:Hc},r.arguments.push(t,Gc("_cache"),Gc(String(i.cached++)))}else r.arguments.push(Xc(Mp(e.parseResult),a,!0))}}))}));const Sp=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ep=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Lp=/^\(|\)$/g;function Ip(t,e){const i=t.loc,n=t.content,s=n.match(Sp);if(!s)return;const[,r,o]=s,a={source:Np(i,o.trim(),n.indexOf(o,r.length)),value:void 0,key:void 0,index:void 0};let l=r.trim().replace(Lp,"").trim();const c=r.indexOf(l),h=l.match(Ep);if(h){l=l.replace(Ep,"").trim();const t=h[1].trim();let e;if(t&&(e=n.indexOf(t,c+l.length),a.key=Np(i,t,e)),h[2]){const s=h[2].trim();s&&(a.index=Np(i,s,n.indexOf(s,a.key?e+t.length:c+l.length)))}}return l&&(a.value=Np(i,l,c)),a}function Np(t,e,i){return Gc(e,!1,lh(t,i,e.length))}function Mp({value:t,key:e,index:i},n=[]){return function(t){let e=t.length;for(;e--&&!t[e];);return t.slice(0,e+1).map(((t,e)=>t||Gc("_".repeat(e+1),!1)))}([t,e,i,...n])}const Bp=Gc("undefined",!1),Op=(t,e)=>{if(1===t.type&&(1===t.tagType||3===t.tagType)){const i=ph(t,"slot");if(i)return i.exp,e.scopes.vSlot++,()=>{e.scopes.vSlot--}}},Dp=(t,e,i)=>Xc(t,e,!1,!0,e.length?e[0].loc:i);function Fp(t,e,i=Dp){e.helper(Fc);const{children:n,loc:s}=t,r=[],o=[];let a=e.scopes.vSlot>0||e.scopes.vFor>0;const l=ph(t,"slot",!0);if(l){const{arg:t,exp:e}=l;t&&!Qc(t)&&(a=!0),r.push(Wc(t||Gc("default",!0),i(e,n,s)))}let c=!1,h=!1;const p=[],u=new Set;for(let t=0;t{const r=i(t,n,s);return e.compatConfig&&(r.isNonScopedSlot=!0),Wc("default",r)};c?p.length&&p.some((t=>jp(t)))&&(h?e.onError(ic(39,p[0].loc)):r.push(t(void 0,p))):r.push(t(void 0,n))}const d=a?2:Rp(t.children)?3:1;let f=qc(r.concat(Wc("_",Gc(d+"",!1))),s);return o.length&&(f=Jc(e.helper(Cc),[f,$c(o)])),{slots:f,hasDynamicSlots:a}}function zp(t,e){return qc([Wc("name",t),Wc("fn",e)])}function Rp(t){for(let e=0;efunction(){if(1!==(t=e.currentNode).type||0!==t.tagType&&1!==t.tagType)return;const{tag:i,props:n}=t,s=1===t.tagType;let r=s?function(t,e,i=!1){let{tag:n}=t;const s=qp(n),r=uh(t,"is");if(r)if(s||Th("COMPILER_IS_ON_ELEMENT",e)){const t=6===r.type?r.value&&Gc(r.value.content,!0):r.exp;if(t)return Jc(e.helper(yc),[t])}else 6===r.type&&r.value.content.startsWith("vue:")&&(n=r.value.content.slice(4));const o=!s&&ph(t,"is");if(o&&o.exp)return Jc(e.helper(yc),[o.exp]);const a=eh(n)||e.isBuiltInComponent(n);if(a)return i||e.helper(a),a;return e.helper(gc),e.components.add(n),Ch(n,"component")}(t,e):`"${i}"`;let o,a,l,c,h,p,u=0,d=$l(r)&&r.callee===yc||r===sc||r===rc||!s&&("svg"===i||"foreignObject"===i||uh(t,"key",!0));if(n.length>0){const i=Hp(t,e);o=i.props,u=i.patchFlag,h=i.dynamicPropNames;const n=i.directives;p=n&&n.length?$c(n.map((t=>function(t,e){const i=[],n=Up.get(t);n?i.push(e.helperString(n)):(e.helper(_c),e.directives.add(t.name),i.push(Ch(t.name,"directive")));const{loc:s}=t;t.exp&&i.push(t.exp);t.arg&&(t.exp||i.push("void 0"),i.push(t.arg));if(Object.keys(t.modifiers).length){t.arg||(t.exp||i.push("void 0"),i.push("void 0"));const e=Gc("true",!1,s);i.push(qc(t.modifiers.map((t=>Wc(t,e))),s))}return $c(i,t.loc)}(t,e)))):void 0}if(t.children.length>0){r===oc&&(d=!0,u|=1024);if(s&&r!==sc&&r!==oc){const{slots:i,hasDynamicSlots:n}=Fp(t,e);a=i,n&&(u|=1024)}else if(1===t.children.length&&r!==sc){const i=t.children[0],n=i.type,s=5===n||8===n;s&&0===sp(i,e)&&(u|=1),a=s||2===n?i:t.children}else a=t.children}0!==u&&(l=String(u),h&&h.length&&(c=function(t){let e="[";for(let i=0,n=t.length;i{if(Qc(t)){const n=t.content,s=jl(n);if(o||!s||"onclick"===n.toLowerCase()||"onUpdate:modelValue"===n||ql(n)||(f=!0),s&&ql(n)&&(g=!0),20===i.type||(4===i.type||8===i.type)&&sp(i,e)>0)return;"ref"===n?p=!0:"class"===n?u=!0:"style"===n?d=!0:"key"===n||y.includes(n)||y.push(n),!o||"class"!==n&&"style"!==n||y.includes(n)||y.push(n)}else m=!0};for(let h=0;h0&&kh("COMPILER_V_FOR_REF",e,u.loc)&&a.push(Wc(Gc("refInFor",!0),Gc("true",!1)))}let v;if(l.length?(a.length&&l.push(qc(Vp(a),r)),v=l.length>1?Jc(e.helper(Pc),l,r):l[0]):a.length&&(v=qc(Vp(a),r)),m?h|=16:(u&&!o&&(h|=2),d&&!o&&(h|=4),y.length&&(h|=8),f&&(h|=32)),0!==h&&32!==h||!(p||g||c.length>0)||(h|=512),!e.inSSR&&v)switch(v.type){case 15:let t=-1,i=-1,n=!1;for(let e=0;e{const e=Object.create(null);return i=>e[i]||(e[i]=t(i))})((t=>t.replace(Wp,((t,e)=>e?e.toUpperCase():"")))),Kp=(t,e)=>{if(yh(t)){const{children:i,loc:n}=t,{slotName:s,slotProps:r}=function(t,e){let i,n='"default"';const s=[];for(let e=0;e0){const{props:n,directives:r}=Hp(t,e,s);i=n,r.length&&e.onError(ic(36,r[0].loc))}return{slotName:n,slotProps:i}}(t,e),o=[e.prefixIdentifiers?"_ctx.$slots":"$slots",s,"{}","undefined","true"];let a=2;r&&(o[2]=r,a=3),i.length&&(o[3]=Xc([],i,!1,!1,n),a=4),e.scopeId&&!e.slotted&&(a=5),o.splice(a),t.codegenNode=Jc(e.helper(bc),o,n)}};const Jp=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Xp=(t,e,i,n)=>{const{loc:s,modifiers:r,arg:o}=t;let a;if(t.exp||r.length||i.onError(ic(35,s)),4===o.type)if(o.isStatic){const t=o.content;a=Gc(Ql(Kl(t)),!0,o.loc)}else a=Kc([`${i.helperString(Mc)}(`,o,")"]);else a=o,a.children.unshift(`${i.helperString(Mc)}(`),a.children.push(")");let l=t.exp;l&&!l.content.trim()&&(l=void 0);let c=i.cacheHandlers&&!l&&!i.inVOnce;if(l){const t=ah(l.content),e=!(t||Jp.test(l.content)),i=l.content.includes(";");0,(e||c&&t)&&(l=Kc([`${e?"$event":"(...args)"} => ${i?"{":"("}`,l,i?"}":")"]))}let h={props:[Wc(a,l||Gc("() => {}",!1,s))]};return n&&(h=n(h)),c&&(h.props[0].value=i.cache(h.props[0].value)),h.props.forEach((t=>t.key.isHandlerKey=!0)),h},Yp=(t,e,i)=>{const{exp:n,modifiers:s,loc:r}=t,o=t.arg;return 4!==o.type?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=`${o.content} || ""`),s.includes("camel")&&(4===o.type?o.isStatic?o.content=Kl(o.content):o.content=`${i.helperString(Ic)}(${o.content})`:(o.children.unshift(`${i.helperString(Ic)}(`),o.children.push(")"))),i.inSSR||(s.includes("prop")&&Qp(o,"."),s.includes("attr")&&Qp(o,"^")),!n||4===n.type&&!n.content.trim()?(i.onError(ic(34,r)),{props:[Wc(o,Gc("",!0,r))]}):{props:[Wc(o,n)]}},Qp=(t,e)=>{4===t.type?t.isStatic?t.content=e+t.content:t.content=`\`${e}\${${t.content}}\``:(t.children.unshift(`'${e}' + (`),t.children.push(")"))},tu=(t,e)=>{if(0===t.type||1===t.type||11===t.type||10===t.type)return()=>{const i=t.children;let n,s=!1;for(let t=0;t7===t.type&&!e.directiveTransforms[t.name]))||"template"===t.tag)))for(let t=0;t{if(1===t.type&&ph(t,"once",!0)){if(eu.has(t)||e.inVOnce)return;return eu.add(t),e.inVOnce=!0,e.helper(Bc),()=>{e.inVOnce=!1;const t=e.currentNode;t.codegenNode&&(t.codegenNode=e.cache(t.codegenNode,!0))}}},nu=(t,e,i)=>{const{exp:n,arg:s}=t;if(!n)return i.onError(ic(41,t.loc)),su();const r=n.loc.source,o=4===n.type?n.content:r;i.bindingMetadata[r];if(!o.trim()||!ah(o))return i.onError(ic(42,n.loc)),su();const a=s||Gc("modelValue",!0),l=s?Qc(s)?`onUpdate:${s.content}`:Kc(['"onUpdate:" + ',s]):"onUpdate:modelValue";let c;c=Kc([`${i.isTS?"($event: any)":"$event"} => (`,n," = $event)"]);const h=[Wc(a,t.exp),Wc(l,c)];if(t.modifiers.length&&1===e.tagType){const e=t.modifiers.map((t=>(nh(t)?t:JSON.stringify(t))+": true")).join(", "),i=s?Qc(s)?`${s.content}Modifiers`:Kc([s,' + "Modifiers"']):"modelModifiers";h.push(Wc(i,Gc(`{ ${e} }`,!1,t.loc,2)))}return su(h)};function su(t=[]){return{props:t}}const ru=/[\w).+\-_$\]]/,ou=(t,e)=>{Th("COMPILER_FILTER",e)&&(5===t.type&&au(t.content,e),1===t.type&&t.props.forEach((t=>{7===t.type&&"for"!==t.name&&t.exp&&au(t.exp,e)})))};function au(t,e){if(4===t.type)lu(t,e);else for(let i=0;i=0&&(t=i.charAt(e)," "===t);e--);t&&ru.test(t)||(h=!0)}}else void 0===o?(f=r+1,o=i.slice(0,r).trim()):g();function g(){m.push(i.slice(f,r).trim()),f=r+1}if(void 0===o?o=i.slice(0,r).trim():0!==f&&g(),m.length){for(r=0;r{if(1===t.type){const i=ph(t,"memo");if(!i||hu.has(t))return;return hu.add(t),()=>{const n=t.codegenNode||e.currentNode.codegenNode;n&&13===n.type&&(1!==t.tagType&&wh(n,e),t.codegenNode=Jc(e.helper(jc),[i.exp,Xc(void 0,n),"_cache",String(e.cached++)]))}}};function uu(t,e={}){const i=e.onError||tc,n="module"===e.mode;!0===e.prefixIdentifiers?i(ic(46)):n&&i(ic(47));const s=!1;e.cacheHandlers&&i(ic(48)),e.scopeId&&!n&&i(ic(49));const r=Hl(t)?Ih(t,e):t,[o,a]=[[iu,Cp,pu,kp,ou,Kp,Zp,Op,tu],{on:Xp,bind:Yp,model:nu}];return pp(r,Ul({},e,{prefixIdentifiers:s,nodeTransforms:[...o,...e.nodeTransforms||[]],directiveTransforms:Ul({},a,e.directiveTransforms||{})})),mp(r,Ul({},e,{prefixIdentifiers:s}))}const du=Symbol(""),fu=Symbol(""),mu=Symbol(""),gu=Symbol(""),yu=Symbol(""),_u=Symbol(""),vu=Symbol(""),xu=Symbol(""),Au=Symbol(""),bu=Symbol("");var Cu;let wu;Cu={[du]:"vModelRadio",[fu]:"vModelCheckbox",[mu]:"vModelText",[gu]:"vModelSelect",[yu]:"vModelDynamic",[_u]:"withModifiers",[vu]:"withKeys",[xu]:"vShow",[Au]:"Transition",[bu]:"TransitionGroup"},Object.getOwnPropertySymbols(Cu).forEach((t=>{Zc[t]=Cu[t]}));const Pu=Sl("style,iframe,script,noscript",!0),Tu={isVoidTag:Ol,isNativeTag:t=>Ml(t)||Bl(t),isPreTag:t=>"pre"===t,decodeEntities:function(t,e=!1){return wu||(wu=document.createElement("div")),e?(wu.innerHTML=`
`,wu.children[0].getAttribute("foo")):(wu.innerHTML=t,wu.textContent)},isBuiltInComponent:t=>th(t,"Transition")?Au:th(t,"TransitionGroup")?bu:void 0,getNamespace(t,e){let i=e?e.ns:0;if(e&&2===i)if("annotation-xml"===e.tag){if("svg"===t)return 1;e.props.some((t=>6===t.type&&"encoding"===t.name&&null!=t.value&&("text/html"===t.value.content||"application/xhtml+xml"===t.value.content)))&&(i=0)}else/^m(?:[ions]|text)$/.test(e.tag)&&"mglyph"!==t&&"malignmark"!==t&&(i=0);else e&&1===i&&("foreignObject"!==e.tag&&"desc"!==e.tag&&"title"!==e.tag||(i=0));if(0===i){if("svg"===t)return 1;if("math"===t)return 2}return i},getTextMode({tag:t,ns:e}){if(0===e){if("textarea"===t||"title"===t)return 1;if(Pu(t))return 2}return 0}},ku=(t,e)=>{const i=Nl(t);return Gc(JSON.stringify(i),!1,e,3)};function Su(t,e){return ic(t,e)}const Eu=Sl("passive,once,capture"),Lu=Sl("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Iu=Sl("left,right"),Nu=Sl("onkeyup,onkeydown,onkeypress",!0),Mu=(t,e)=>Qc(t)&&"onclick"===t.content.toLowerCase()?Gc(e,!0):4!==t.type?Kc(["(",t,`) === "onClick" ? "${e}" : (`,t,")"]):t;const Bu=(t,e)=>{1!==t.type||0!==t.tagType||"script"!==t.tag&&"style"!==t.tag||(e.onError(Su(60,t.loc)),e.removeNode())},Ou=[t=>{1===t.type&&t.props.forEach(((e,i)=>{6===e.type&&"style"===e.name&&e.value&&(t.props[i]={type:7,name:"bind",arg:Gc("style",!0,e.loc),exp:ku(e.value.content,e.loc),modifiers:[],loc:e.loc})}))}],Du={cloak:()=>({props:[]}),html:(t,e,i)=>{const{exp:n,loc:s}=t;return n||i.onError(Su(50,s)),e.children.length&&(i.onError(Su(51,s)),e.children.length=0),{props:[Wc(Gc("innerHTML",!0,s),n||Gc("",!0))]}},text:(t,e,i)=>{const{exp:n,loc:s}=t;return n||i.onError(Su(52,s)),e.children.length&&(i.onError(Su(53,s)),e.children.length=0),{props:[Wc(Gc("textContent",!0),n?Jc(i.helperString(wc),[n],s):Gc("",!0))]}},model:(t,e,i)=>{const n=nu(t,e,i);if(!n.props.length||1===e.tagType)return n;t.arg&&i.onError(Su(55,t.arg.loc));const{tag:s}=e,r=i.isCustomElement(s);if("input"===s||"textarea"===s||"select"===s||r){let o=mu,a=!1;if("input"===s||r){const n=uh(e,"type");if(n){if(7===n.type)o=yu;else if(n.value)switch(n.value.content){case"radio":o=du;break;case"checkbox":o=fu;break;case"file":a=!0,i.onError(Su(56,t.loc))}}else(function(t){return t.props.some((t=>!(7!==t.type||"bind"!==t.name||t.arg&&4===t.arg.type&&t.arg.isStatic)))})(e)&&(o=yu)}else"select"===s&&(o=gu);a||(n.needRuntime=i.helper(o))}else i.onError(Su(54,t.loc));return n.props=n.props.filter((t=>!(4===t.key.type&&"modelValue"===t.key.content))),n},on:(t,e,i)=>Xp(t,e,i,(e=>{const{modifiers:n}=t;if(!n.length)return e;let{key:s,value:r}=e.props[0];const{keyModifiers:o,nonKeyModifiers:a,eventOptionModifiers:l}=((t,e,i,n)=>{const s=[],r=[],o=[];for(let n=0;n{const{exp:n,loc:s}=t;return n||i.onError(Su(58,s)),{props:[],needRuntime:i.helper(xu)}}};const Fu=Object.create(null);gr((function(t,e){if(!Hl(t)){if(!t.nodeType)return Fl;t=t.innerHTML}const i=t,s=Fu[i];if(s)return s;if("#"===t[0]){const e=document.querySelector(t);0,t=e?e.innerHTML:""}const{code:r}=function(t,e={}){return uu(t,Ul({},Tu,e,{nodeTransforms:[Bu,...Ou,...e.nodeTransforms||[]],directiveTransforms:Ul({},Du,e.directiveTransforms||{}),transformHoist:null}))}(t,Ul({hoistStatic:!0,onError:void 0,onWarn:Fl},e)),o=new Function("Vue",r)(n);return o._rc=!0,Fu[i]=o}));var zu=["innerHTML"];const Ru={props:{type:{type:String,default:"error"},message:{type:String,default:"",required:!0}},setup:function(t){return function(e,i){return bs(),Ss("div",{class:h(["alert","alert-"+t.type]),innerHTML:t.message},null,10,zu)}}};var ju=i(72),Uu=i.n(ju),Zu=i(341),Hu={insert:"head",singleton:!1};Uu()(Zu.A,Hu);Zu.A.locals;var Vu=i(262);const $u=(0,Vu.A)(Ru,[["__scopeId","data-v-70417498"]]);var qu={key:0,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"},Wu=[Zs('',2)];const Gu={props:{loading:{type:Boolean,required:!1,default:!1}},setup:function(t){return function(e,i){return t.loading?(bs(),Ss("svg",qu,Wu)):Hs("",!0)}}};var Ku=Ds("div",{id:"dataset-map"},null,-1),Ju={key:0,class:"owc-openkaarten-streetmap__overlay"};var Xu=i(481),Yu=i.n(Xu),Qu={class:"owc-openkaarten-streetmap__filters__header"},td={class:"owc-openkaarten-streetmap__filters__body"},ed={class:"owc-openkaarten-streetmap__filters__body__list"},id={class:"owc-openkaarten-streetmap__filters__footer"};var nd=["for","aria-checked"],sd={class:"owc-openkaarten-streetmap__filters__checkbox__label"},rd=["id","checked"],od=function(t){return yi("data-v-07907216"),t=t(),_i(),t}((function(){return Ds("span",{class:"owc-openkaarten-streetmap__filters__checkbox__mark"},null,-1)}));var ad={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ld=["fill"];const cd={props:{primaryColor:{type:String,required:!0}}};var hd=i(419),pd={insert:"head",singleton:!1};Uu()(hd.A,pd);hd.A.locals;const ud=(0,Vu.A)(cd,[["render",function(t,e,i,n,s,r){return bs(),Ss("button",{class:"owc-openkaarten-streetmap__tooltip-card__close-btn",title:"close",style:o({"--owc-openkaarten-streetmap--close-btn-color":i.primaryColor}),onClick:e[0]||(e[0]=function(e){return t.$emit("closeCard")})},[(bs(),Ss("svg",ad,[Ds("path",{d:"M4.41205 4.41058C4.73748 4.08514 5.26512 4.08514 5.59056 4.41058L10.0013 8.82133L14.412 4.41058C14.7375 4.08514 15.2651 4.08514 15.5906 4.41058C15.916 4.73602 15.916 5.26366 15.5906 5.58909L11.1798 9.99984L15.5906 14.4106C15.916 14.736 15.916 15.2637 15.5906 15.5891C15.2651 15.9145 14.7375 15.9145 14.412 15.5891L10.0013 11.1783L5.59056 15.5891C5.26512 15.9145 4.73748 15.9145 4.41205 15.5891C4.08661 15.2637 4.08661 14.736 4.41205 14.4106L8.82279 9.99984L4.41205 5.58909C4.08661 5.26366 4.08661 4.73602 4.41205 4.41058Z",fill:i.primaryColor},null,8,ld)]))],4)}]]),dd={components:{BaseTooltipCardClose:ud},props:{title:{type:String,required:!0},id:{type:Number,required:!0},color:{type:String,required:!0},selected:{type:Boolean,required:!0,default:!1}}};var fd=i(691),md={insert:"head",singleton:!1};Uu()(fd.A,md);fd.A.locals;const gd={components:{BaseTooltipCardClose:ud,BaseMapFiltersCheckbox:(0,Vu.A)(dd,[["render",function(t,e,i,n,s,r){return bs(),Ss("label",{for:"owc-checkbox-".concat(i.id),role:"checkbox","aria-checked":i.selected,class:"owc-openkaarten-streetmap__filters__checkbox"},[Ds("span",sd,u(i.title),1),Ds("input",{id:"owc-checkbox-".concat(i.id),type:"checkbox",checked:i.selected,onChange:e[0]||(e[0]=function(e){return t.$emit("onChange",i.id,!i.selected)})},null,40,rd),od],8,nd)}],["__scopeId","data-v-07907216"]])},props:{open:{type:Boolean},datasets:{type:Array,default:function(){return[]}},selectedDatasets:{type:Array,default:function(){return[]}},primaryColor:{type:String},title:{type:String,required:!1,default:"Filters"},confirm:{type:String,required:!1,default:"Bevestigen"}},setup:function(t,e){var i=e.emit;return{getDatalayerColor:function(e){var i;return(null===(i=e.features[0])||void 0===i||null===(i=i.properties)||void 0===i||null===(i=i.marker)||void 0===i?void 0:i.color)||t.primaryColor},datasetChange:function(t,e){i("datasetChange",t,e)}}},created:function(){var t=this;document.addEventListener("keyup",(function(e){t.open&&"Escape"===e.key&&t.$emit("closeFilters")}))}};var yd=i(303),_d={insert:"head",singleton:!1};Uu()(yd.A,_d);yd.A.locals;const vd=(0,Vu.A)(gd,[["render",function(t,e,i,n,s,r){var a=hs("BaseTooltipCardClose"),l=hs("BaseMapFiltersCheckbox");return bs(),Ss("div",{class:"owc-openkaarten-streetmap__filters",style:o({"--filters-primary-color":i.primaryColor})},[Ds("div",Qu,[Ds("h5",null,u(i.title),1),Fs(a,{primaryColor:i.primaryColor,onCloseCard:e[0]||(e[0]=function(e){return t.$emit("closeFilters")})},null,8,["primaryColor"])]),Ds("div",td,[Ds("ul",ed,[(bs(!0),Ss(gs,null,Gs(i.datasets,(function(t){return bs(),Ss("li",{key:t.id,class:"owc-openkaarten-streetmap__filters__body__list-item"},[Fs(l,{title:t.title,id:t.id,color:i.primaryColor,selected:i.selectedDatasets.includes(t.id),onOnChange:n.datasetChange},null,8,["title","id","color","selected","onOnChange"]),Ds("div",{style:o({"background-color":n.getDatalayerColor(t)}),class:"owc-openkaarten-streetmap__filters__body__list-item__dl-indicator"},null,4)])})),128))])]),Ds("div",id,[Ds("button",{class:"owc-openkaarten-streetmap__filters__footer__btn",onClick:e[1]||(e[1]=function(e){return t.$emit("closeFilters")})},u(i.confirm),1)])],4)}],["__scopeId","data-v-353311d8"]]);var xd={class:"owc-openkaarten-streetmap__tooltip-card__header"},Ad={class:"owc-openkaarten-streetmap__tooltip-card__title"},bd=["innerHTML"];function Cd(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,s,r,o,a=[],l=!0,c=!1;try{if(r=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;l=!1}else for(;!(l=(n=r.call(i)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){c=!0,s=t}finally{try{if(!l&&null!=i.return&&(o=i.return(),Object(o)!==o))return}finally{if(c)throw s}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return wd(t,e);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?wd(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function wd(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i'.concat(t.map((function(t){return"
  • ".concat(t.key,": ").concat(t.value,"
  • ")})).join(""),"")}(),handleFocus:function(t){t&&(t.focus(),document.addEventListener("keydown",(function(t){"Escape"===t.key&&e.emit("closeCard")})))}}}};var Td=i(539),kd={insert:"head",singleton:!1};Uu()(Td.A,kd);Td.A.locals;const Sd=(0,Vu.A)(Pd,[["render",function(t,e,i,n,s,r){var o=hs("BaseTooltipCardClose");return bs(),Ss("div",{key:i.id,ref:n.handleFocus,class:"owc-openkaarten-streetmap__tooltip-card",tabindex:"0"},[Ds("div",xd,[Ds("h4",Ad,u(i.title),1),Fs(o,{primaryColor:i.primaryColor,onCloseCard:e[0]||(e[0]=function(e){return t.$emit("closeCard")})},null,8,["primaryColor"])]),n.content?(bs(),Ss("div",{key:0,class:"owc-openkaarten-streetmap__tooltip-card__info",innerHTML:n.content},null,8,bd)):Hs("",!0)],512)}]]);function Ed(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,s,r,o,a=[],l=!0,c=!1;try{if(r=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;l=!1}else for(;!(l=(n=r.call(i)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){c=!0,s=t}finally{try{if(!l&&null!=i.return&&(o=i.return(),Object(o)!==o))return}finally{if(c)throw s}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ld(t,e);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Ld(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ld(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i=i;)e=e.__parent;return this._currentShownBounds.contains(e.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(t,e):this._animationAddLayerNonAnimated(t,e)),this},removeLayer:function(t){return t instanceof L.LayerGroup?this.removeLayers([t]):t.getLatLng?this._map?t.__parent?(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(t)),this._removeLayer(t,!0),this.fire("layerremove",{layer:t}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),t.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(t)&&(this._featureGroup.removeLayer(t),t.clusterShow&&t.clusterShow()),this):this:(!this._arraySplice(this._needsClustering,t)&&this.hasLayer(t)&&this._needsRemoving.push({layer:t,latlng:t._latlng}),this.fire("layerremove",{layer:t}),this):(this._nonPointGroup.removeLayer(t),this.fire("layerremove",{layer:t}),this)},addLayers:function(t,e){if(!L.Util.isArray(t))return this.addLayer(t);var i,n=this._featureGroup,s=this._nonPointGroup,r=this.options.chunkedLoading,o=this.options.chunkInterval,a=this.options.chunkProgress,l=t.length,c=0,h=!0;if(this._map){var p=(new Date).getTime(),u=L.bind((function(){var d=(new Date).getTime();for(this._map&&this._unspiderfy&&this._unspiderfy();co)break;if((i=t[c])instanceof L.LayerGroup)h&&(t=t.slice(),h=!1),this._extractNonGroupLayers(i,t),l=t.length;else if(i.getLatLng){if(!this.hasLayer(i)&&(this._addLayer(i,this._maxZoom),e||this.fire("layeradd",{layer:i}),i.__parent&&2===i.__parent.getChildCount())){var f=i.__parent.getAllChildMarkers(),m=f[0]===i?f[1]:f[0];n.removeLayer(m)}}else s.addLayer(i),e||this.fire("layeradd",{layer:i})}a&&a(c,l,(new Date).getTime()-p),c===l?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(u,this.options.chunkDelay)}),this);u()}else for(var d=this._needsClustering;c=0;e--)t.extend(this._needsClustering[e].getLatLng());return t.extend(this._nonPointGroup.getBounds()),t},eachLayer:function(t,e){var i,n,s,r=this._needsClustering.slice(),o=this._needsRemoving;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(r),n=r.length-1;n>=0;n--){for(i=!0,s=o.length-1;s>=0;s--)if(o[s].layer===r[n]){i=!1;break}i&&t.call(e,r[n])}this._nonPointGroup.eachLayer(t,e)},getLayers:function(){var t=[];return this.eachLayer((function(e){t.push(e)})),t},getLayer:function(t){var e=null;return t=parseInt(t,10),this.eachLayer((function(i){L.stamp(i)===t&&(e=i)})),e},hasLayer:function(t){if(!t)return!1;var e,i=this._needsClustering;for(e=i.length-1;e>=0;e--)if(i[e]===t)return!0;for(e=(i=this._needsRemoving).length-1;e>=0;e--)if(i[e].layer===t)return!1;return!(!t.__parent||t.__parent._group!==this)||this._nonPointGroup.hasLayer(t)},zoomToShowLayer:function(t,e){var i=this._map;"function"!=typeof e&&(e=function(){});var n=function(){!i.hasLayer(t)&&!i.hasLayer(t.__parent)||this._inZoomAnimation||(this._map.off("moveend",n,this),this.off("animationend",n,this),i.hasLayer(t)?e():t.__parent._icon&&(this.once("spiderfied",e,this),t.__parent.spiderfy()))};t._icon&&this._map.getBounds().contains(t.getLatLng())?e():t.__parent._zoom=0;i--)if(t[i]===e)return t.splice(i,1),!0},_removeFromGridUnclustered:function(t,e){for(var i=this._map,n=this._gridUnclustered,s=Math.floor(this._map.getMinZoom());e>=s&&n[e].removeObject(t,i.project(t.getLatLng(),e));e--);},_childMarkerDragStart:function(t){t.target.__dragStart=t.target._latlng},_childMarkerMoved:function(t){if(!this._ignoreMove&&!t.target.__dragStart){var e=t.target._popup&&t.target._popup.isOpen();this._moveChild(t.target,t.oldLatLng,t.latlng),e&&t.target.openPopup()}},_moveChild:function(t,e,i){t._latlng=e,this.removeLayer(t),t._latlng=i,this.addLayer(t)},_childMarkerDragEnd:function(t){var e=t.target.__dragStart;delete t.target.__dragStart,e&&this._moveChild(t.target,e,t.target._latlng)},_removeLayer:function(t,e,i){var n=this._gridClusters,s=this._gridUnclustered,r=this._featureGroup,o=this._map,a=Math.floor(this._map.getMinZoom());e&&this._removeFromGridUnclustered(t,this._maxZoom);var l,c=t.__parent,h=c._markers;for(this._arraySplice(h,t);c&&(c._childCount--,c._boundsNeedUpdate=!0,!(c._zoom"+e+"
    ",className:"marker-cluster"+i,iconSize:new L.Point(40,40)})},_bindEvents:function(){var t=this._map,e=this.options.spiderfyOnMaxZoom,i=this.options.showCoverageOnHover,n=this.options.zoomToBoundsOnClick,s=this.options.spiderfyOnEveryZoom;(e||n||s)&&this.on("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),i&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),t.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(t){var e=t.layer,i=e;if("clusterkeypress"!==t.type||!t.originalEvent||13===t.originalEvent.keyCode){for(;1===i._childClusters.length;)i=i._childClusters[0];i._zoom===this._maxZoom&&i._childCount===e._childCount&&this.options.spiderfyOnMaxZoom?e.spiderfy():this.options.zoomToBoundsOnClick&&e.zoomToBounds(),this.options.spiderfyOnEveryZoom&&e.spiderfy(),t.originalEvent&&13===t.originalEvent.keyCode&&this._map._container.focus()}},_showCoverage:function(t){var e=this._map;this._inZoomAnimation||(this._shownPolygon&&e.removeLayer(this._shownPolygon),t.layer.getChildCount()>2&&t.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(t.layer.getConvexHull(),this.options.polygonOptions),e.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var t=this.options.spiderfyOnMaxZoom,e=this.options.showCoverageOnHover,i=this.options.zoomToBoundsOnClick,n=this.options.spiderfyOnEveryZoom,s=this._map;(t||i||n)&&this.off("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),e&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),s.off("zoomend",this._hideCoverage,this))},_zoomEnd:function(){this._map&&(this._mergeSplitClusters(),this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){if(!this._inZoomAnimation){var t=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,t),this._topClusterLevel._recursivelyAddChildrenToMap(null,Math.round(this._map._zoom),t),this._currentShownBounds=t}},_generateInitialClusters:function(){var t=Math.ceil(this._map.getMaxZoom()),e=Math.floor(this._map.getMinZoom()),i=this.options.maxClusterRadius,n=i;"function"!=typeof i&&(n=function(){return i}),null!==this.options.disableClusteringAtZoom&&(t=this.options.disableClusteringAtZoom-1),this._maxZoom=t,this._gridClusters={},this._gridUnclustered={};for(var s=t;s>=e;s--)this._gridClusters[s]=new L.DistanceGrid(n(s)),this._gridUnclustered[s]=new L.DistanceGrid(n(s));this._topClusterLevel=new this._markerCluster(this,e-1)},_addLayer:function(t,e){var i,n,s=this._gridClusters,r=this._gridUnclustered,o=Math.floor(this._map.getMinZoom());for(this.options.singleMarkerMode&&this._overrideMarkerIcon(t),t.on(this._childMarkerEventHandlers,this);e>=o;e--){i=this._map.project(t.getLatLng(),e);var a=s[e].getNearObject(i);if(a)return a._addChild(t),void(t.__parent=a);if(a=r[e].getNearObject(i)){var l=a.__parent;l&&this._removeLayer(a,!1);var c=new this._markerCluster(this,e,a,t);s[e].addObject(c,this._map.project(c._cLatLng,e)),a.__parent=c,t.__parent=c;var h=c;for(n=e-1;n>l._zoom;n--)h=new this._markerCluster(this,n,h),s[n].addObject(h,this._map.project(a.getLatLng(),n));return l._addChild(h),void this._removeFromGridUnclustered(a,e)}r[e].addObject(t,i)}this._topClusterLevel._addChild(t),t.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer((function(t){t instanceof L.MarkerCluster&&t._iconNeedsUpdate&&t._updateIcon()}))},_enqueue:function(t){this._queue.push(t),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var t=0;tt?(this._animationStart(),this._animationZoomOut(this._zoom,t)):this._moveEnd()},_getExpandedVisibleBounds:function(){return this.options.removeOutsideVisibleBounds?L.Browser.mobile?this._checkBoundsMaxLat(this._map.getBounds()):this._checkBoundsMaxLat(this._map.getBounds().pad(1)):this._mapBoundsInfinite},_checkBoundsMaxLat:function(t){var e=this._maxLat;return void 0!==e&&(t.getNorth()>=e&&(t._northEast.lat=1/0),t.getSouth()<=-e&&(t._southWest.lat=-1/0)),t},_animationAddLayerNonAnimated:function(t,e){if(e===t)this._featureGroup.addLayer(t);else if(2===e._childCount){e._addToMap();var i=e.getAllChildMarkers();this._featureGroup.removeLayer(i[0]),this._featureGroup.removeLayer(i[1])}else e._updateIcon()},_extractNonGroupLayers:function(t,e){var i,n=t.getLayers(),s=0;for(e=e||[];s=0;i--)o=l[i],n.contains(o._latlng)||s.removeLayer(o)})),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(n,e),s.eachLayer((function(t){t instanceof L.MarkerCluster||!t._icon||t.clusterShow()})),this._topClusterLevel._recursively(n,t,e,(function(t){t._recursivelyRestoreChildPositions(e)})),this._ignoreMove=!1,this._enqueue((function(){this._topClusterLevel._recursively(n,t,r,(function(t){s.removeLayer(t),t.clusterShow()})),this._animationEnd()}))},_animationZoomOut:function(t,e){this._animationZoomOutSingle(this._topClusterLevel,t-1,e),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),t,this._getExpandedVisibleBounds())},_animationAddLayer:function(t,e){var i=this,n=this._featureGroup;n.addLayer(t),e!==t&&(e._childCount>2?(e._updateIcon(),this._forceLayout(),this._animationStart(),t._setPos(this._map.latLngToLayerPoint(e.getLatLng())),t.clusterHide(),this._enqueue((function(){n.removeLayer(t),t.clusterShow(),i._animationEnd()}))):(this._forceLayout(),i._animationStart(),i._animationZoomOutSingle(e,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(t,e,i){var n=this._getExpandedVisibleBounds(),s=Math.floor(this._map.getMinZoom());t._recursivelyAnimateChildrenInAndAddSelfToMap(n,s,e+1,i);var r=this;this._forceLayout(),t._recursivelyBecomeVisible(n,i),this._enqueue((function(){if(1===t._childCount){var o=t._markers[0];this._ignoreMove=!0,o.setLatLng(o.getLatLng()),this._ignoreMove=!1,o.clusterShow&&o.clusterShow()}else t._recursively(n,i,s,(function(t){t._recursivelyRemoveChildrenFromMap(n,s,e+1)}));r._animationEnd()}))},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim","")),this._inZoomAnimation--,this.fire("animationend")},_forceLayout:function(){L.Util.falseFn(document.body.offsetWidth)}}),L.markerClusterGroup=function(t){return new L.MarkerClusterGroup(t)};L.MarkerCluster=L.Marker.extend({options:L.Icon.prototype.options,initialize:function(t,e,i,n){L.Marker.prototype.initialize.call(this,i?i._cLatLng||i.getLatLng():new L.LatLng(0,0),{icon:this,pane:t.options.clusterPane}),this._group=t,this._zoom=e,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._bounds=new L.LatLngBounds,i&&this._addChild(i),n&&this._addChild(n)},getAllChildMarkers:function(t,e){t=t||[];for(var i=this._childClusters.length-1;i>=0;i--)this._childClusters[i].getAllChildMarkers(t,e);for(var n=this._markers.length-1;n>=0;n--)e&&this._markers[n].__dragStart||t.push(this._markers[n]);return t},getChildCount:function(){return this._childCount},zoomToBounds:function(t){for(var e,i=this._childClusters.slice(),n=this._group._map,s=n.getBoundsZoom(this._bounds),r=this._zoom+1,o=n.getZoom();i.length>0&&s>r;){r++;var a=[];for(e=0;er?this._group._map.setView(this._latlng,r):s<=o?this._group._map.setView(this._latlng,o+1):this._group._map.fitBounds(this._bounds,t)},getBounds:function(){var t=new L.LatLngBounds;return t.extend(this._bounds),t},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(t,e){this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._setClusterCenter(t),t instanceof L.MarkerCluster?(e||(this._childClusters.push(t),t.__parent=this),this._childCount+=t._childCount):(e||this._markers.push(t),this._childCount++),this.__parent&&this.__parent._addChild(t,!0)},_setClusterCenter:function(t){this._cLatLng||(this._cLatLng=t._cLatLng||t._latlng)},_resetBounds:function(){var t=this._bounds;t._southWest&&(t._southWest.lat=1/0,t._southWest.lng=1/0),t._northEast&&(t._northEast.lat=-1/0,t._northEast.lng=-1/0)},_recalculateBounds:function(){var t,e,i,n,s=this._markers,r=this._childClusters,o=0,a=0,l=this._childCount;if(0!==l){for(this._resetBounds(),t=0;t=0;i--)(n=s[i])._icon&&(n._setPos(e),n.clusterHide())}),(function(t){var i,n,s=t._childClusters;for(i=s.length-1;i>=0;i--)(n=s[i])._icon&&(n._setPos(e),n.clusterHide())}))},_recursivelyAnimateChildrenInAndAddSelfToMap:function(t,e,i,n){this._recursively(t,n,e,(function(s){s._recursivelyAnimateChildrenIn(t,s._group._map.latLngToLayerPoint(s.getLatLng()).round(),i),s._isSingleParent()&&i-1===n?(s.clusterShow(),s._recursivelyRemoveChildrenFromMap(t,e,i)):s.clusterHide(),s._addToMap()}))},_recursivelyBecomeVisible:function(t,e){this._recursively(t,this._group._map.getMinZoom(),e,null,(function(t){t.clusterShow()}))},_recursivelyAddChildrenToMap:function(t,e,i){this._recursively(i,this._group._map.getMinZoom()-1,e,(function(n){if(e!==n._zoom)for(var s=n._markers.length-1;s>=0;s--){var r=n._markers[s];i.contains(r._latlng)&&(t&&(r._backupLatlng=r.getLatLng(),r.setLatLng(t),r.clusterHide&&r.clusterHide()),n._group._featureGroup.addLayer(r))}}),(function(e){e._addToMap(t)}))},_recursivelyRestoreChildPositions:function(t){for(var e=this._markers.length-1;e>=0;e--){var i=this._markers[e];i._backupLatlng&&(i.setLatLng(i._backupLatlng),delete i._backupLatlng)}if(t-1===this._zoom)for(var n=this._childClusters.length-1;n>=0;n--)this._childClusters[n]._restorePosition();else for(var s=this._childClusters.length-1;s>=0;s--)this._childClusters[s]._recursivelyRestoreChildPositions(t)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(t,e,i,n){var s,r;this._recursively(t,e-1,i-1,(function(t){for(r=t._markers.length-1;r>=0;r--)s=t._markers[r],n&&n.contains(s._latlng)||(t._group._featureGroup.removeLayer(s),s.clusterShow&&s.clusterShow())}),(function(t){for(r=t._childClusters.length-1;r>=0;r--)s=t._childClusters[r],n&&n.contains(s._latlng)||(t._group._featureGroup.removeLayer(s),s.clusterShow&&s.clusterShow())}))},_recursively:function(t,e,i,n,s){var r,o,a=this._childClusters,l=this._zoom;if(e<=l&&(n&&n(this),s&&l===i&&s(this)),l=0;r--)(o=a[r])._boundsNeedUpdate&&o._recalculateBounds(),t.intersects(o._bounds)&&o._recursively(t,e,i,n,s)},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount}}),i(942),i(518),i(619),i(668),i(143);var Nd=function(t,e){var i=e.title,n=e.type;return{datasetTitle:i,datasetId:t.id,datasetType:n,properties:t.properties,coordinates:t.geometry.coordinates}},Md=i(843),Bd={insert:"head",singleton:!1};Uu()(Md.A,Bd);Md.A.locals;var Od=i(858),Dd={insert:"head",singleton:!1};Uu()(Od.A,Dd);Od.A.locals;const Fd={props:{datasets:{type:Array,default:function(){return[]}},primaryColor:{type:String,required:!0,default:"#328725"},mapStyles:{type:String,required:!0}},components:{BaseMapFilters:vd,BaseTooltipCard:Sd},setup:function(t){var e=Ge(null),i=Ge(!1),n=Ge(t.datasets.map((function(t){return t.id}))),s=Ge([]),r=Ge(null),o=Ge([]),a=function(n){var s=function(t){var e=null,i=null,n=null,s=null;return t.forEach((function(t){t.features.forEach((function(t){var r=Ed(t.geometry.coordinates.reverse(),2),o=r[0],a=r[1];e=null===e?o:Math.min(e,o),i=null===i?o:Math.max(i,o),n=null===n?a:Math.min(n,a),s=null===s?a:Math.max(s,a)}))})),{minLat:e,maxLat:i,minLong:n,maxLong:s}}(n),a=function(t){return{lat:(t.minLat+t.maxLat)/2,long:(t.minLong+t.maxLong)/2}}(s),l={centerX:a.lat,centerY:a.long,minimumZoom:4,maximumZoom:16,defaultZoom:8,enableHomeControl:!0,enableZoomControl:!0,enableBoxZoomControl:!0,maxBounds:[[s.minLat,s.minLong],[s.maxLat,s.maxLong]]},c=new(Yu().Map)("dataset-map",{center:[l.centerX,l.centerY],zoom:l.defaultZoom,minZoom:l.minimumZoom,maxZoom:l.maximumZoom,zoomControl:l.enableZoomControl,boxZoom:l.enableBoxZoomControl,defaultExtentControl:l.enableHomeControl});c.setView([l.centerX,l.centerY],l.defaultZoom);var h=n.map((function(i){var n,s,r,o,a,l,h,p,u=c.createPane(i.title.replace(" ","_")),d=(s={disableClusteringAtZoom:13,maxClusterRadius:40,showCoverageOnHover:!1,sizeMultiplier:4,clusterPane:u,color:(null===(n=i.features[0])||void 0===n||null===(n=n.properties)||void 0===n||null===(n=n.marker)||void 0===n?void 0:n.color)||t.primaryColor},r=s.disableClusteringAtZoom,o=s.maxClusterRadius,a=s.showCoverageOnHover,l=s.sizeMultiplier,h=s.color,p=s.clusterPane,new Id({disableClusteringAtZoom:r,maxClusterRadius:o,showCoverageOnHover:a,clusterPane:p,iconCreateFunction:function(t){var e=t.getChildCount(),i=e*l;return i<48&&(i=48),i>200&&(i=200),L.divIcon({html:'\n
    \n ').concat(e,"\n
    "),className:"owc-openkaarten-streetmap__cluster-group",iconSize:[i,i]})}}));return i.features.forEach((function(n){var s,r=function(t,e){var i,n,s=e.marker,r=e.defaultColor,o=(null==s?void 0:s.color)||r;s.icon?(i=s.icon,n="hosted-svg"):(i=''),n="inline-svg");var a={iconUrl:i,color:o};return"inline-svg"===n?t.divIcon({className:"leaflet-custom-icon",html:t.Util.template(a.iconUrl,a),iconAnchor:[12,32],iconSize:[25,30],popupAnchor:[0,-28]}):t.divIcon({className:"leaflet-custom-icon--hosted-svg",html:t.Util.template('
    \n \n \n ').concat(t,"\n")}("Filter",t.primaryColor),e}});var p=new(Yu().TileLayer)(t.mapStyles),u=new(Yu().Control.DataLayerFilters);c.addLayer(p),(null==h?void 0:h.length)>1&&c.addControl(u),h.forEach((function(t){var e=t.cluster;c.addLayer(e)})),o.value=h,r.value=c};return an((function(){document.getElementById("dataset-map")&&a(t.datasets)})),{datasetLocations:s,selectedDatasets:n,tooltipCard:e,closeTooltipCard:function(){var t;e.value=null,null===(t=document.getElementById("dataset-map"))||void 0===t||t.focus()},showFiltersCard:i,closeFilters:function(){i.value=!1},datasetChange:function(t,e){var i;if(!t)return null;if(e){var s=n.value;s.push(t),n.value=s}else n.value=n.value.filter((function(e){return e!==t}));var a=r.value,l=null===(i=o.value.find((function(e){return e.id===t})))||void 0===i?void 0:i.cluster,c=a.hasLayer(l);if(e){if(c)return null;a.addLayer(l)}else a.removeLayer(l)}}}};var zd=i(580),Rd={insert:"head",singleton:!1};Uu()(zd.A,Rd);zd.A.locals;const jd=(0,Vu.A)(Fd,[["render",function(t,e,i,n,s,r){var a=hs("BaseMapFilters"),l=hs("BaseTooltipCard");return bs(),Ss("div",{class:"owc-openkaarten-streetmap__map",style:o({"--owc-openkaarten-streetmap--primary-color":i.primaryColor})},[Ku,Fs(La,{name:"fade"},{default:xi((function(){return[n.showFiltersCard?(bs(),Ss("div",Ju)):Hs("",!0)]})),_:1}),Fs(La,{name:"slide"},{default:xi((function(){return[i.datasets&&i.datasets.length>1&&n.showFiltersCard?(bs(),Es(a,{key:0,open:n.showFiltersCard,datasets:i.datasets.filter((function(t){return t.features.length})),selectedDatasets:n.selectedDatasets,primaryColor:i.primaryColor,onCloseFilters:n.closeFilters,onDatasetChange:n.datasetChange},null,8,["open","datasets","selectedDatasets","primaryColor","onCloseFilters","onDatasetChange"])):Hs("",!0)]})),_:1}),n.tooltipCard?(bs(),Es(l,{key:n.tooltipCard.datasetId,id:n.tooltipCard.datasetId,title:n.tooltipCard.datasetTitle,properties:n.tooltipCard.properties,primaryColor:i.primaryColor,onCloseCard:n.closeTooltipCard},null,8,["id","title","properties","primaryColor","onCloseCard"])):Hs("",!0)],4)}]]),Ud=jd;function Zd(t){return Zd="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},Zd(t)}function Hd(){Hd=function(){return e};var t,e={},i=Object.prototype,n=i.hasOwnProperty,s=Object.defineProperty||function(t,e,i){t[e]=i.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function c(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,i){return t[e]=i}}function h(t,e,i,n){var r=e&&e.prototype instanceof y?e:y,o=Object.create(r.prototype),a=new L(n||[]);return s(o,"_invoke",{value:T(t,i,a)}),o}function p(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var u="suspendedStart",d="suspendedYield",f="executing",m="completed",g={};function y(){}function _(){}function v(){}var x={};c(x,o,(function(){return this}));var A=Object.getPrototypeOf,b=A&&A(A(I([])));b&&b!==i&&n.call(b,o)&&(x=b);var C=v.prototype=y.prototype=Object.create(x);function w(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function i(s,r,o,a){var l=p(t[s],t,r);if("throw"!==l.type){var c=l.arg,h=c.value;return h&&"object"==Zd(h)&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){i("next",t,o,a)}),(function(t){i("throw",t,o,a)})):e.resolve(h).then((function(t){c.value=t,o(c)}),(function(t){return i("throw",t,o,a)}))}a(l.arg)}var r;s(this,"_invoke",{value:function(t,n){function s(){return new e((function(e,s){i(t,n,e,s)}))}return r=r?r.then(s,s):s()}})}function T(e,i,n){var s=u;return function(r,o){if(s===f)throw Error("Generator is already running");if(s===m){if("throw"===r)throw o;return{value:t,done:!0}}for(n.method=r,n.arg=o;;){var a=n.delegate;if(a){var l=k(a,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(s===u)throw s=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);s=f;var c=p(e,i,n);if("normal"===c.type){if(s=n.done?m:d,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(s=m,n.method="throw",n.arg=c.arg)}}}function k(e,i){var n=i.method,s=e.iterator[n];if(s===t)return i.delegate=null,"throw"===n&&e.iterator.return&&(i.method="return",i.arg=t,k(e,i),"throw"===i.method)||"return"!==n&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var r=p(s,e.iterator,i.arg);if("throw"===r.type)return i.method="throw",i.arg=r.arg,i.delegate=null,g;var o=r.arg;return o?o.done?(i[e.resultName]=o.value,i.next=e.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,g):o:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,g)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function I(e){if(e||""===e){var i=e[o];if(i)return i.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var s=-1,r=function i(){for(;++s=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return s("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--i){var s=this.tryEntries[i];if(s.tryLoc<=this.prev&&n.call(s,"finallyLoc")&&this.prev=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),E(i),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var s=n.arg;E(i)}return s}}throw Error("illegal catch attempt")},delegateYield:function(e,i,n){return this.delegate={iterator:I(e),resultName:i,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function Vd(t,e,i,n,s,r,o){try{var a=t[r](o),l=a.value}catch(t){return void i(t)}a.done?e(l):Promise.resolve(l).then(n,s)}const $d={props:{endpoint:{type:String,default:"",required:!0},datasetIds:{type:Array,default:[]}},setup:function(t){var e=t,i=Ge(null),n=Ge(!1),s=Ge([]),r=Ge("#328725"),o=Ge("https://{s}.tile.osm.org/{z}/{x}/{y}.png");function a(){var t;return t=Hd().mark((function t(){var i;return Hd().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n.value=!0,!(e.datasetIds.length>0)){t.next=5;break}return i=new URL("".concat(e.endpoint,"/datasets?include=").concat(JSON.parse(e.datasetIds))),t.next=5,fetch(i.toString()).then((function(t){return t.json()})).then((function(t){s.value=t.datasets,t.mapStyles&&(o.value=t.mapStyles),t.primaryColor&&(r.value=t.primaryColor),n.value=!1})).catch((function(t){t.value=t,n.value=!1}));case 5:case"end":return t.stop()}}),t)})),a=function(){var e=this,i=arguments;return new Promise((function(n,s){var r=t.apply(e,i);function o(t){Vd(r,n,s,o,a,"next",t)}function a(t){Vd(r,n,s,o,a,"throw",t)}o(void 0)}))},a.apply(this,arguments)}return an((function(){!function(){a.apply(this,arguments)}()})),function(t,e){return bs(),Ss("div",{class:"owc-openkaarten-streetmap-container",ref:function(t,e){e.container=t}},[i.value?(bs(),Es($u,{key:0,type:"error",message:i.value},null,8,["message"])):Hs("",!0),Ds("section",{class:h(["owc-openkaarten-streetmap__results",{"owc-openkaarten-streetmap__results--loading":n.value}]),"aria-live":"polite","aria-atomic":"true"},[Fs(Gu,{loading:n.value},null,8,["loading"]),n.value?Hs("",!0):(bs(),Es(Ud,{key:0,title:"map",datasets:s.value,mapStyles:o.value,primaryColor:r.value},null,8,["datasets","mapStyles","primaryColor"]))],2)],512)}}};var qd=i(542),Wd={insert:"head",singleton:!1};Uu()(qd.A,Wd);qd.A.locals;function Gd(t){return Gd="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},Gd(t)}function Kd(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function Jd(t,e,i){return(e=function(t){var e=function(t,e){if("object"!=Gd(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=Gd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Gd(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}Pl($d,function(t){for(var e=1;e{"use strict";i.d(e,{A:()=>n});const n="/images/vendor/leaflet/dist/layers-2x.png?8f2c4d11474275fbc1614b9098334eae"},621:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});const n="/images/vendor/leaflet/dist/layers.png?416d91365b44e4b4f4777663e6f009f3"},563:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});const n="/images/vendor/leaflet/dist/marker-icon.png?2b3e1faf89f94a4835397e7a43b4f77d"},858:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(627),s=i.n(n),r=i(798),o=i.n(r)()(s());o.push([t.id,".leaflet-cluster-anim .leaflet-marker-icon,.leaflet-cluster-anim .leaflet-marker-shadow{transition:transform .3s ease-out,opacity .3s ease-in}.leaflet-cluster-spider-leg{transition:stroke-dashoffset .3s ease-out,stroke-opacity .3s ease-in}","",{version:3,sources:["webpack://./node_modules/leaflet.markercluster/dist/MarkerCluster.css"],names:[],mappings:"AAAA,wFAIC,qDACD,CAEA,4BAKC,oEACD",sourcesContent:[".leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {\n\t-webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;\n\t-moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;\n\t-o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;\n\ttransition: transform 0.3s ease-out, opacity 0.3s ease-in;\n}\n\n.leaflet-cluster-spider-leg {\n\t/* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */\n\t-webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;\n\t-moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;\n\t-o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;\n\ttransition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;\n}\n"],sourceRoot:""}]);const a=o},843:(t,e,i)=>{"use strict";i.d(e,{A:()=>g});var n=i(627),s=i.n(n),r=i(798),o=i.n(r),a=i(21),l=i.n(a),c=i(621),h=i(318),p=i(563),u=o()(s()),d=l()(c.A),f=l()(h.A),m=l()(p.A);u.push([t.id,".leaflet-image-layer,.leaflet-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane,.leaflet-pane>canvas,.leaflet-pane>svg,.leaflet-tile,.leaflet-tile-container,.leaflet-zoom-box{left:0;position:absolute;top:0}.leaflet-container{overflow:hidden}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile{-webkit-user-drag:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.leaflet-tile::-moz-selection{background:transparent}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{height:1600px;-webkit-transform-origin:0 0;width:1600px}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-height:none!important;max-width:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer{max-height:none!important;max-width:none!important;padding:0;width:auto}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{box-sizing:border-box;height:0;width:0;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{height:1px;width:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{pointer-events:visiblePainted;pointer-events:auto;position:relative;z-index:800}.leaflet-bottom,.leaflet-top{pointer-events:none;position:absolute;z-index:1000}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{clear:both;float:left}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-pan-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-control,.leaflet-popup-pane{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}.leaflet-image-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-image-layer.leaflet-interactive,.leaflet-marker-icon.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{background:hsla(0,0%,100%,.5);border:2px dotted #38f}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px rgba(0,0,0,.65)}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;color:#000;display:block;height:26px;line-height:26px;text-align:center;text-decoration:none;width:26px}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:focus,.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom:none;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.leaflet-bar a.leaflet-disabled{background-color:#f4f4f4;color:#bbb;cursor:default}.leaflet-touch .leaflet-bar a{height:30px;line-height:30px;width:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{background:#fff;border-radius:5px;box-shadow:0 1px 5px rgba(0,0,0,.4)}.leaflet-control-layers-toggle{background-image:url("+d+");height:36px;width:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url("+f+");background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{height:44px;width:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{background:#fff;color:#333;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{overflow-x:hidden;overflow-y:scroll;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url("+m+')}.leaflet-container .leaflet-control-attribution{background:#fff;background:hsla(0,0%,100%,.8);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;line-height:1.4;padding:0 5px}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:focus,.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;height:.6669em;vertical-align:baseline!important;width:1em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{background:hsla(0,0%,100%,.8);border:2px solid #777;border-top:none;box-sizing:border-box;line-height:1.1;padding:2px 5px 1px;text-shadow:1px 1px #fff;white-space:nowrap}.leaflet-control-scale-line:not(:first-child){border-bottom:none;border-top:2px solid #777;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers{box-shadow:none}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-layers{background-clip:padding-box;border:2px solid rgba(0,0,0,.2)}.leaflet-popup{margin-bottom:20px;position:absolute;text-align:center}.leaflet-popup-content-wrapper{border-radius:12px;padding:1px;text-align:left}.leaflet-popup-content{font-size:13px;font-size:1.08333em;line-height:1.3;margin:13px 24px 13px 20px;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{height:20px;left:50%;margin-left:-20px;margin-top:-1px;overflow:hidden;pointer-events:none;position:absolute;width:40px}.leaflet-popup-tip{height:17px;margin:-10px auto 0;padding:1px;pointer-events:auto;transform:rotate(45deg);width:17px}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;box-shadow:0 3px 14px rgba(0,0,0,.4);color:#333}.leaflet-container a.leaflet-popup-close-button{background:transparent;border:none;color:#757575;font:16px/24px Tahoma,Verdana,sans-serif;height:24px;position:absolute;right:0;text-align:center;text-decoration:none;top:0;width:24px}.leaflet-container a.leaflet-popup-close-button:focus,.leaflet-container a.leaflet-popup-close-button:hover{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678);margin:0 auto;width:24px}.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.4);color:#222;padding:6px;pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before,.leaflet-tooltip-top:before{background:transparent;border:6px solid transparent;content:"";pointer-events:none;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{border-top-color:#fff;bottom:0;margin-bottom:-12px}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-left:-6px;margin-top:-12px;top:0}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{margin-top:-6px;top:50%}.leaflet-tooltip-left:before{border-left-color:#fff;margin-right:-12px;right:0}.leaflet-tooltip-right:before{border-right-color:#fff;left:0;margin-left:-12px}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}',"",{version:3,sources:["webpack://./node_modules/leaflet/dist/leaflet.css"],names:[],mappings:"AAEA,6LAWC,MAAO,CADP,iBAAkB,CAElB,KACA,CACD,mBACC,eACA,CACD,0DAMG,sBAAuB,CAHzB,wBAAyB,CACtB,qBAAsB,CACjB,gBAER,CAED,8BACC,sBACD,CAFA,yBACC,sBACD,CAEA,8BACC,yCACA,CAED,wCAEC,aAAc,CACd,4BAA6B,CAF7B,YAGA,CACD,4CAEC,aACA,CAGD,6CAEC,yBAA2B,CAD3B,wBAEA,CACD,8MAMC,yBAA2B,CAD3B,wBAA0B,CAG1B,SAAU,CADV,UAEA,CAED,oCAEC,2BACD,CAEA,sCAEC,wBACA,CACD,sCAGC,iBAAkB,CAClB,uBACD,CACA,yDAEC,iBACD,CACA,mBACC,uCACD,CACA,qBACC,+CACD,CACA,cACC,cAAe,CACf,iBACA,CACD,qBACC,kBACA,CACD,kBAIM,qBAAsB,CAF3B,QAAS,CADT,OAAQ,CAIR,WACA,CAED,0BACC,qBACA,CAED,cAAwB,WAAc,CAEtC,mBAAwB,WAAc,CACtC,sBAAwB,WAAc,CACtC,qBAAwB,WAAc,CACtC,qBAAwB,WAAc,CACtC,sBAA0B,WAAc,CACxC,oBAAwB,WAAc,CAEtC,yBAA2B,WAAc,CACzC,sBAA2B,WAAc,CAEzC,mBAEC,UAAW,CADX,SAEA,CACD,MACC,0BAA2B,CAC3B,oBAAqB,CACrB,iBACA,CAKD,iBAGC,6BAA8B,CAC9B,mBAAoB,CAHpB,iBAAkB,CAClB,WAGA,CACD,6BAIC,mBAAoB,CAFpB,iBAAkB,CAClB,YAEA,CACD,aACC,KACA,CACD,eACC,OACA,CACD,gBACC,QACA,CACD,cACC,MACA,CACD,iBAEC,UAAW,CADX,UAEA,CACD,gCACC,WACA,CACD,8BACC,eACA,CACD,iCACC,kBACA,CACD,+BACC,gBACA,CACD,gCACC,iBACA,CAKD,kCACC,SAAU,CAGF,6BACR,CACD,oDACC,SACA,CACD,uBAGS,oBACR,CACD,0BACC,qBACD,CAEA,0CAGS,iDACR,CACD,iEAIS,eACR,CAED,sCACC,iBACA,CAKD,qBACC,cACA,CACD,cAGC,WACA,CACD,2DAEC,gBACA,CACD,qCAEC,WACA,CACD,iIAGC,WAAY,CAGZ,eACA,CAGD,gHAKC,mBACA,CAED,8KAIC,6BAA8B,CAC9B,mBACA,CAID,mBACC,eAAgB,CAChB,kBACA,CACD,qBACC,aACA,CACD,kBAEC,6BAAiC,CADjC,sBAEA,CAID,mBACC,qDAA2D,CAC3D,cAAe,CACf,gBAAkB,CAClB,eACA,CAKD,aAEC,iBAAkB,CADlB,oCAEA,CACD,eACC,qBAAsB,CACtB,4BAA6B,CAO7B,UAAY,CAHZ,aAAc,CAFd,WAAY,CACZ,gBAAiB,CAEjB,iBAAkB,CAClB,oBAAqB,CALrB,UAOA,CACD,8CAEC,2BAA4B,CAC5B,2BAA4B,CAC5B,aACA,CACD,0CAEC,wBACA,CACD,2BACC,0BAA2B,CAC3B,2BACA,CACD,0BAGC,kBAAmB,CAFnB,6BAA8B,CAC9B,8BAEA,CACD,gCAEC,wBAAyB,CACzB,UAAW,CAFX,cAGA,CAED,8BAEC,WAAY,CACZ,gBAAiB,CAFjB,UAGA,CACD,0CACC,0BAA2B,CAC3B,2BACA,CACD,yCACC,6BAA8B,CAC9B,8BACA,CAID,mDAEC,6CAAmD,CACnD,eACA,CAED,iFACC,cACA,CAKD,wBAEC,eAAgB,CAChB,iBAAkB,CAFlB,mCAGA,CACD,+BACC,wDAAwC,CAExC,WAAY,CADZ,UAEA,CACD,+CACC,wDAA2C,CAC3C,yBACA,CACD,8CAEC,WAAY,CADZ,UAEA,CACD,qHAEC,YACA,CACD,8DACC,aAAc,CACd,iBACA,CACD,iCAGC,eAAgB,CADhB,UAAW,CADX,wBAGA,CACD,kCAEC,iBAAkB,CADlB,iBAAkB,CAElB,iBACA,CACD,iCACC,cAAe,CACf,iBAAkB,CAClB,OACA,CACD,8BACC,aAAc,CACd,cAAe,CACf,mBACA,CACD,kCAEC,yBAA0B,CAD1B,QAAS,CAET,yBACA,CAGD,2BACC,wDACA,CAKD,gDACC,eAAgB,CAChB,6BAAoC,CACpC,QACA,CACD,yDAGC,UAAW,CACX,eAAgB,CAFhB,aAGA,CACD,+BACC,oBACA,CACD,0EAEC,yBACA,CACD,0BACC,wBAA0B,CAG1B,cAAgB,CAFhB,iCAAmC,CACnC,SAEA,CACD,qCACC,eACA,CACD,uCACC,iBACA,CACD,4BAQC,6BAAoC,CANpC,qBAAgB,CAAhB,eAAgB,CAKX,qBAAsB,CAJ3B,eAAgB,CAChB,mBAAoB,CAKpB,wBAAyB,CAJzB,kBAKA,CACD,8CAEC,kBAAmB,CADnB,yBAA0B,CAE1B,eACA,CACD,+DACC,4BACA,CAED,+GAGC,eACA,CACD,mEAGC,2BAA4B,CAD5B,+BAEA,CAKD,eAGC,kBAAmB,CAFnB,iBAAkB,CAClB,iBAEA,CACD,+BAGC,kBAAmB,CAFnB,WAAY,CACZ,eAEA,CACD,uBAGC,cAAe,CACf,mBAAoB,CAFpB,eAAgB,CADhB,0BAA2B,CAI3B,cACA,CACD,yBAEC,cACA,CACD,6BAEC,WAAY,CAEZ,QAAS,CAET,iBAAkB,CADlB,eAAgB,CAEhB,eAAgB,CAChB,mBAAoB,CALpB,iBAAkB,CAFlB,UAQA,CACD,mBAEC,WAAY,CAGZ,mBAAoB,CAFpB,WAAY,CAGZ,mBAAoB,CAKZ,uBAAwB,CAVhC,UAWA,CACD,kDAEC,eAAiB,CAEjB,oCAAsC,CADtC,UAEA,CACD,gDAWC,sBAAuB,CAPvB,WAAY,CAKZ,aAAc,CADd,wCAA2C,CAD3C,WAAY,CANZ,iBAAkB,CAElB,OAAQ,CAER,iBAAkB,CAKlB,oBAAqB,CARrB,KAAM,CAIN,UAMA,CACD,4GAEC,aACA,CACD,wBACC,aACA,CAED,8CACC,UACA,CACD,kCAIC,sHAAuH,CACvH,6GAAiH,CAHjH,aAAc,CADd,UAKA,CAED,4JAIC,qBACA,CAKD,kBACC,eAAgB,CAChB,qBACA,CAKD,iBAGC,qBAAsB,CACtB,qBAAsB,CACtB,iBAAkB,CAQlB,mCAAqC,CAPrC,UAAW,CAJX,WAAY,CAUZ,mBAAoB,CAXpB,iBAAkB,CAOlB,wBAAyB,CACzB,qBAAsB,CAEtB,gBAAiB,CAJjB,kBAOA,CACD,qCACC,cAAe,CACf,mBACA,CACD,sHAOC,sBAAuB,CADvB,4BAA6B,CAE7B,UAAW,CAHX,mBAAoB,CADpB,iBAKA,CAID,wBACC,cACD,CACA,qBACC,eACD,CACA,2DAEC,QAAS,CACT,gBACA,CACD,4BAGC,qBAAsB,CAFtB,QAAS,CACT,mBAEA,CACD,+BAIC,wBAAyB,CADzB,gBAAiB,CADjB,gBAAiB,CADjB,KAIA,CACD,sBACC,gBACD,CACA,uBACC,eACD,CACA,2DAGC,eAAgB,CADhB,OAEA,CACD,6BAGC,sBAAuB,CADvB,kBAAmB,CADnB,OAGA,CACD,8BAGC,uBAAwB,CAFxB,MAAO,CACP,iBAEA,CAID,aAEC,iBACC,gCAAiC,CACjC,wBACA,CACD",sourcesContent:['/* required styles */\r\n\r\n.leaflet-pane,\r\n.leaflet-tile,\r\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow,\r\n.leaflet-tile-container,\r\n.leaflet-pane > svg,\r\n.leaflet-pane > canvas,\r\n.leaflet-zoom-box,\r\n.leaflet-image-layer,\r\n.leaflet-layer {\r\n\tposition: absolute;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\t}\r\n.leaflet-container {\r\n\toverflow: hidden;\r\n\t}\r\n.leaflet-tile,\r\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow {\r\n\t-webkit-user-select: none;\r\n\t -moz-user-select: none;\r\n\t user-select: none;\r\n\t -webkit-user-drag: none;\r\n\t}\r\n/* Prevents IE11 from highlighting tiles in blue */\r\n.leaflet-tile::selection {\r\n\tbackground: transparent;\r\n}\r\n/* Safari renders non-retina tile on retina better with this, but Chrome is worse */\r\n.leaflet-safari .leaflet-tile {\r\n\timage-rendering: -webkit-optimize-contrast;\r\n\t}\r\n/* hack that prevents hw layers "stretching" when loading new tiles */\r\n.leaflet-safari .leaflet-tile-container {\r\n\twidth: 1600px;\r\n\theight: 1600px;\r\n\t-webkit-transform-origin: 0 0;\r\n\t}\r\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow {\r\n\tdisplay: block;\r\n\t}\r\n/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */\r\n/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */\r\n.leaflet-container .leaflet-overlay-pane svg {\r\n\tmax-width: none !important;\r\n\tmax-height: none !important;\r\n\t}\r\n.leaflet-container .leaflet-marker-pane img,\r\n.leaflet-container .leaflet-shadow-pane img,\r\n.leaflet-container .leaflet-tile-pane img,\r\n.leaflet-container img.leaflet-image-layer,\r\n.leaflet-container .leaflet-tile {\r\n\tmax-width: none !important;\r\n\tmax-height: none !important;\r\n\twidth: auto;\r\n\tpadding: 0;\r\n\t}\r\n\r\n.leaflet-container img.leaflet-tile {\r\n\t/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */\r\n\tmix-blend-mode: plus-lighter;\r\n}\r\n\r\n.leaflet-container.leaflet-touch-zoom {\r\n\t-ms-touch-action: pan-x pan-y;\r\n\ttouch-action: pan-x pan-y;\r\n\t}\r\n.leaflet-container.leaflet-touch-drag {\r\n\t-ms-touch-action: pinch-zoom;\r\n\t/* Fallback for FF which doesn\'t support pinch-zoom */\r\n\ttouch-action: none;\r\n\ttouch-action: pinch-zoom;\r\n}\r\n.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {\r\n\t-ms-touch-action: none;\r\n\ttouch-action: none;\r\n}\r\n.leaflet-container {\r\n\t-webkit-tap-highlight-color: transparent;\r\n}\r\n.leaflet-container a {\r\n\t-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);\r\n}\r\n.leaflet-tile {\r\n\tfilter: inherit;\r\n\tvisibility: hidden;\r\n\t}\r\n.leaflet-tile-loaded {\r\n\tvisibility: inherit;\r\n\t}\r\n.leaflet-zoom-box {\r\n\twidth: 0;\r\n\theight: 0;\r\n\t-moz-box-sizing: border-box;\r\n\t box-sizing: border-box;\r\n\tz-index: 800;\r\n\t}\r\n/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */\r\n.leaflet-overlay-pane svg {\r\n\t-moz-user-select: none;\r\n\t}\r\n\r\n.leaflet-pane { z-index: 400; }\r\n\r\n.leaflet-tile-pane { z-index: 200; }\r\n.leaflet-overlay-pane { z-index: 400; }\r\n.leaflet-shadow-pane { z-index: 500; }\r\n.leaflet-marker-pane { z-index: 600; }\r\n.leaflet-tooltip-pane { z-index: 650; }\r\n.leaflet-popup-pane { z-index: 700; }\r\n\r\n.leaflet-map-pane canvas { z-index: 100; }\r\n.leaflet-map-pane svg { z-index: 200; }\r\n\r\n.leaflet-vml-shape {\r\n\twidth: 1px;\r\n\theight: 1px;\r\n\t}\r\n.lvml {\r\n\tbehavior: url(#default#VML);\r\n\tdisplay: inline-block;\r\n\tposition: absolute;\r\n\t}\r\n\r\n\r\n/* control positioning */\r\n\r\n.leaflet-control {\r\n\tposition: relative;\r\n\tz-index: 800;\r\n\tpointer-events: visiblePainted; /* IE 9-10 doesn\'t have auto */\r\n\tpointer-events: auto;\r\n\t}\r\n.leaflet-top,\r\n.leaflet-bottom {\r\n\tposition: absolute;\r\n\tz-index: 1000;\r\n\tpointer-events: none;\r\n\t}\r\n.leaflet-top {\r\n\ttop: 0;\r\n\t}\r\n.leaflet-right {\r\n\tright: 0;\r\n\t}\r\n.leaflet-bottom {\r\n\tbottom: 0;\r\n\t}\r\n.leaflet-left {\r\n\tleft: 0;\r\n\t}\r\n.leaflet-control {\r\n\tfloat: left;\r\n\tclear: both;\r\n\t}\r\n.leaflet-right .leaflet-control {\r\n\tfloat: right;\r\n\t}\r\n.leaflet-top .leaflet-control {\r\n\tmargin-top: 10px;\r\n\t}\r\n.leaflet-bottom .leaflet-control {\r\n\tmargin-bottom: 10px;\r\n\t}\r\n.leaflet-left .leaflet-control {\r\n\tmargin-left: 10px;\r\n\t}\r\n.leaflet-right .leaflet-control {\r\n\tmargin-right: 10px;\r\n\t}\r\n\r\n\r\n/* zoom and fade animations */\r\n\r\n.leaflet-fade-anim .leaflet-popup {\r\n\topacity: 0;\r\n\t-webkit-transition: opacity 0.2s linear;\r\n\t -moz-transition: opacity 0.2s linear;\r\n\t transition: opacity 0.2s linear;\r\n\t}\r\n.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {\r\n\topacity: 1;\r\n\t}\r\n.leaflet-zoom-animated {\r\n\t-webkit-transform-origin: 0 0;\r\n\t -ms-transform-origin: 0 0;\r\n\t transform-origin: 0 0;\r\n\t}\r\nsvg.leaflet-zoom-animated {\r\n\twill-change: transform;\r\n}\r\n\r\n.leaflet-zoom-anim .leaflet-zoom-animated {\r\n\t-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);\r\n\t -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);\r\n\t transition: transform 0.25s cubic-bezier(0,0,0.25,1);\r\n\t}\r\n.leaflet-zoom-anim .leaflet-tile,\r\n.leaflet-pan-anim .leaflet-tile {\r\n\t-webkit-transition: none;\r\n\t -moz-transition: none;\r\n\t transition: none;\r\n\t}\r\n\r\n.leaflet-zoom-anim .leaflet-zoom-hide {\r\n\tvisibility: hidden;\r\n\t}\r\n\r\n\r\n/* cursors */\r\n\r\n.leaflet-interactive {\r\n\tcursor: pointer;\r\n\t}\r\n.leaflet-grab {\r\n\tcursor: -webkit-grab;\r\n\tcursor: -moz-grab;\r\n\tcursor: grab;\r\n\t}\r\n.leaflet-crosshair,\r\n.leaflet-crosshair .leaflet-interactive {\r\n\tcursor: crosshair;\r\n\t}\r\n.leaflet-popup-pane,\r\n.leaflet-control {\r\n\tcursor: auto;\r\n\t}\r\n.leaflet-dragging .leaflet-grab,\r\n.leaflet-dragging .leaflet-grab .leaflet-interactive,\r\n.leaflet-dragging .leaflet-marker-draggable {\r\n\tcursor: move;\r\n\tcursor: -webkit-grabbing;\r\n\tcursor: -moz-grabbing;\r\n\tcursor: grabbing;\r\n\t}\r\n\r\n/* marker & overlays interactivity */\r\n.leaflet-marker-icon,\r\n.leaflet-marker-shadow,\r\n.leaflet-image-layer,\r\n.leaflet-pane > svg path,\r\n.leaflet-tile-container {\r\n\tpointer-events: none;\r\n\t}\r\n\r\n.leaflet-marker-icon.leaflet-interactive,\r\n.leaflet-image-layer.leaflet-interactive,\r\n.leaflet-pane > svg path.leaflet-interactive,\r\nsvg.leaflet-image-layer.leaflet-interactive path {\r\n\tpointer-events: visiblePainted; /* IE 9-10 doesn\'t have auto */\r\n\tpointer-events: auto;\r\n\t}\r\n\r\n/* visual tweaks */\r\n\r\n.leaflet-container {\r\n\tbackground: #ddd;\r\n\toutline-offset: 1px;\r\n\t}\r\n.leaflet-container a {\r\n\tcolor: #0078A8;\r\n\t}\r\n.leaflet-zoom-box {\r\n\tborder: 2px dotted #38f;\r\n\tbackground: rgba(255,255,255,0.5);\r\n\t}\r\n\r\n\r\n/* general typography */\r\n.leaflet-container {\r\n\tfont-family: "Helvetica Neue", Arial, Helvetica, sans-serif;\r\n\tfont-size: 12px;\r\n\tfont-size: 0.75rem;\r\n\tline-height: 1.5;\r\n\t}\r\n\r\n\r\n/* general toolbar styles */\r\n\r\n.leaflet-bar {\r\n\tbox-shadow: 0 1px 5px rgba(0,0,0,0.65);\r\n\tborder-radius: 4px;\r\n\t}\r\n.leaflet-bar a {\r\n\tbackground-color: #fff;\r\n\tborder-bottom: 1px solid #ccc;\r\n\twidth: 26px;\r\n\theight: 26px;\r\n\tline-height: 26px;\r\n\tdisplay: block;\r\n\ttext-align: center;\r\n\ttext-decoration: none;\r\n\tcolor: black;\r\n\t}\r\n.leaflet-bar a,\r\n.leaflet-control-layers-toggle {\r\n\tbackground-position: 50% 50%;\r\n\tbackground-repeat: no-repeat;\r\n\tdisplay: block;\r\n\t}\r\n.leaflet-bar a:hover,\r\n.leaflet-bar a:focus {\r\n\tbackground-color: #f4f4f4;\r\n\t}\r\n.leaflet-bar a:first-child {\r\n\tborder-top-left-radius: 4px;\r\n\tborder-top-right-radius: 4px;\r\n\t}\r\n.leaflet-bar a:last-child {\r\n\tborder-bottom-left-radius: 4px;\r\n\tborder-bottom-right-radius: 4px;\r\n\tborder-bottom: none;\r\n\t}\r\n.leaflet-bar a.leaflet-disabled {\r\n\tcursor: default;\r\n\tbackground-color: #f4f4f4;\r\n\tcolor: #bbb;\r\n\t}\r\n\r\n.leaflet-touch .leaflet-bar a {\r\n\twidth: 30px;\r\n\theight: 30px;\r\n\tline-height: 30px;\r\n\t}\r\n.leaflet-touch .leaflet-bar a:first-child {\r\n\tborder-top-left-radius: 2px;\r\n\tborder-top-right-radius: 2px;\r\n\t}\r\n.leaflet-touch .leaflet-bar a:last-child {\r\n\tborder-bottom-left-radius: 2px;\r\n\tborder-bottom-right-radius: 2px;\r\n\t}\r\n\r\n/* zoom control */\r\n\r\n.leaflet-control-zoom-in,\r\n.leaflet-control-zoom-out {\r\n\tfont: bold 18px \'Lucida Console\', Monaco, monospace;\r\n\ttext-indent: 1px;\r\n\t}\r\n\r\n.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {\r\n\tfont-size: 22px;\r\n\t}\r\n\r\n\r\n/* layers control */\r\n\r\n.leaflet-control-layers {\r\n\tbox-shadow: 0 1px 5px rgba(0,0,0,0.4);\r\n\tbackground: #fff;\r\n\tborder-radius: 5px;\r\n\t}\r\n.leaflet-control-layers-toggle {\r\n\tbackground-image: url(images/layers.png);\r\n\twidth: 36px;\r\n\theight: 36px;\r\n\t}\r\n.leaflet-retina .leaflet-control-layers-toggle {\r\n\tbackground-image: url(images/layers-2x.png);\r\n\tbackground-size: 26px 26px;\r\n\t}\r\n.leaflet-touch .leaflet-control-layers-toggle {\r\n\twidth: 44px;\r\n\theight: 44px;\r\n\t}\r\n.leaflet-control-layers .leaflet-control-layers-list,\r\n.leaflet-control-layers-expanded .leaflet-control-layers-toggle {\r\n\tdisplay: none;\r\n\t}\r\n.leaflet-control-layers-expanded .leaflet-control-layers-list {\r\n\tdisplay: block;\r\n\tposition: relative;\r\n\t}\r\n.leaflet-control-layers-expanded {\r\n\tpadding: 6px 10px 6px 6px;\r\n\tcolor: #333;\r\n\tbackground: #fff;\r\n\t}\r\n.leaflet-control-layers-scrollbar {\r\n\toverflow-y: scroll;\r\n\toverflow-x: hidden;\r\n\tpadding-right: 5px;\r\n\t}\r\n.leaflet-control-layers-selector {\r\n\tmargin-top: 2px;\r\n\tposition: relative;\r\n\ttop: 1px;\r\n\t}\r\n.leaflet-control-layers label {\r\n\tdisplay: block;\r\n\tfont-size: 13px;\r\n\tfont-size: 1.08333em;\r\n\t}\r\n.leaflet-control-layers-separator {\r\n\theight: 0;\r\n\tborder-top: 1px solid #ddd;\r\n\tmargin: 5px -10px 5px -6px;\r\n\t}\r\n\r\n/* Default icon URLs */\r\n.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */\r\n\tbackground-image: url(images/marker-icon.png);\r\n\t}\r\n\r\n\r\n/* attribution and scale controls */\r\n\r\n.leaflet-container .leaflet-control-attribution {\r\n\tbackground: #fff;\r\n\tbackground: rgba(255, 255, 255, 0.8);\r\n\tmargin: 0;\r\n\t}\r\n.leaflet-control-attribution,\r\n.leaflet-control-scale-line {\r\n\tpadding: 0 5px;\r\n\tcolor: #333;\r\n\tline-height: 1.4;\r\n\t}\r\n.leaflet-control-attribution a {\r\n\ttext-decoration: none;\r\n\t}\r\n.leaflet-control-attribution a:hover,\r\n.leaflet-control-attribution a:focus {\r\n\ttext-decoration: underline;\r\n\t}\r\n.leaflet-attribution-flag {\r\n\tdisplay: inline !important;\r\n\tvertical-align: baseline !important;\r\n\twidth: 1em;\r\n\theight: 0.6669em;\r\n\t}\r\n.leaflet-left .leaflet-control-scale {\r\n\tmargin-left: 5px;\r\n\t}\r\n.leaflet-bottom .leaflet-control-scale {\r\n\tmargin-bottom: 5px;\r\n\t}\r\n.leaflet-control-scale-line {\r\n\tborder: 2px solid #777;\r\n\tborder-top: none;\r\n\tline-height: 1.1;\r\n\tpadding: 2px 5px 1px;\r\n\twhite-space: nowrap;\r\n\t-moz-box-sizing: border-box;\r\n\t box-sizing: border-box;\r\n\tbackground: rgba(255, 255, 255, 0.8);\r\n\ttext-shadow: 1px 1px #fff;\r\n\t}\r\n.leaflet-control-scale-line:not(:first-child) {\r\n\tborder-top: 2px solid #777;\r\n\tborder-bottom: none;\r\n\tmargin-top: -2px;\r\n\t}\r\n.leaflet-control-scale-line:not(:first-child):not(:last-child) {\r\n\tborder-bottom: 2px solid #777;\r\n\t}\r\n\r\n.leaflet-touch .leaflet-control-attribution,\r\n.leaflet-touch .leaflet-control-layers,\r\n.leaflet-touch .leaflet-bar {\r\n\tbox-shadow: none;\r\n\t}\r\n.leaflet-touch .leaflet-control-layers,\r\n.leaflet-touch .leaflet-bar {\r\n\tborder: 2px solid rgba(0,0,0,0.2);\r\n\tbackground-clip: padding-box;\r\n\t}\r\n\r\n\r\n/* popup */\r\n\r\n.leaflet-popup {\r\n\tposition: absolute;\r\n\ttext-align: center;\r\n\tmargin-bottom: 20px;\r\n\t}\r\n.leaflet-popup-content-wrapper {\r\n\tpadding: 1px;\r\n\ttext-align: left;\r\n\tborder-radius: 12px;\r\n\t}\r\n.leaflet-popup-content {\r\n\tmargin: 13px 24px 13px 20px;\r\n\tline-height: 1.3;\r\n\tfont-size: 13px;\r\n\tfont-size: 1.08333em;\r\n\tmin-height: 1px;\r\n\t}\r\n.leaflet-popup-content p {\r\n\tmargin: 17px 0;\r\n\tmargin: 1.3em 0;\r\n\t}\r\n.leaflet-popup-tip-container {\r\n\twidth: 40px;\r\n\theight: 20px;\r\n\tposition: absolute;\r\n\tleft: 50%;\r\n\tmargin-top: -1px;\r\n\tmargin-left: -20px;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\r\n\t}\r\n.leaflet-popup-tip {\r\n\twidth: 17px;\r\n\theight: 17px;\r\n\tpadding: 1px;\r\n\r\n\tmargin: -10px auto 0;\r\n\tpointer-events: auto;\r\n\r\n\t-webkit-transform: rotate(45deg);\r\n\t -moz-transform: rotate(45deg);\r\n\t -ms-transform: rotate(45deg);\r\n\t transform: rotate(45deg);\r\n\t}\r\n.leaflet-popup-content-wrapper,\r\n.leaflet-popup-tip {\r\n\tbackground: white;\r\n\tcolor: #333;\r\n\tbox-shadow: 0 3px 14px rgba(0,0,0,0.4);\r\n\t}\r\n.leaflet-container a.leaflet-popup-close-button {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tborder: none;\r\n\ttext-align: center;\r\n\twidth: 24px;\r\n\theight: 24px;\r\n\tfont: 16px/24px Tahoma, Verdana, sans-serif;\r\n\tcolor: #757575;\r\n\ttext-decoration: none;\r\n\tbackground: transparent;\r\n\t}\r\n.leaflet-container a.leaflet-popup-close-button:hover,\r\n.leaflet-container a.leaflet-popup-close-button:focus {\r\n\tcolor: #585858;\r\n\t}\r\n.leaflet-popup-scrolled {\r\n\toverflow: auto;\r\n\t}\r\n\r\n.leaflet-oldie .leaflet-popup-content-wrapper {\r\n\t-ms-zoom: 1;\r\n\t}\r\n.leaflet-oldie .leaflet-popup-tip {\r\n\twidth: 24px;\r\n\tmargin: 0 auto;\r\n\r\n\t-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";\r\n\tfilter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);\r\n\t}\r\n\r\n.leaflet-oldie .leaflet-control-zoom,\r\n.leaflet-oldie .leaflet-control-layers,\r\n.leaflet-oldie .leaflet-popup-content-wrapper,\r\n.leaflet-oldie .leaflet-popup-tip {\r\n\tborder: 1px solid #999;\r\n\t}\r\n\r\n\r\n/* div icon */\r\n\r\n.leaflet-div-icon {\r\n\tbackground: #fff;\r\n\tborder: 1px solid #666;\r\n\t}\r\n\r\n\r\n/* Tooltip */\r\n/* Base styles for the element that has a tooltip */\r\n.leaflet-tooltip {\r\n\tposition: absolute;\r\n\tpadding: 6px;\r\n\tbackground-color: #fff;\r\n\tborder: 1px solid #fff;\r\n\tborder-radius: 3px;\r\n\tcolor: #222;\r\n\twhite-space: nowrap;\r\n\t-webkit-user-select: none;\r\n\t-moz-user-select: none;\r\n\t-ms-user-select: none;\r\n\tuser-select: none;\r\n\tpointer-events: none;\r\n\tbox-shadow: 0 1px 3px rgba(0,0,0,0.4);\r\n\t}\r\n.leaflet-tooltip.leaflet-interactive {\r\n\tcursor: pointer;\r\n\tpointer-events: auto;\r\n\t}\r\n.leaflet-tooltip-top:before,\r\n.leaflet-tooltip-bottom:before,\r\n.leaflet-tooltip-left:before,\r\n.leaflet-tooltip-right:before {\r\n\tposition: absolute;\r\n\tpointer-events: none;\r\n\tborder: 6px solid transparent;\r\n\tbackground: transparent;\r\n\tcontent: "";\r\n\t}\r\n\r\n/* Directions */\r\n\r\n.leaflet-tooltip-bottom {\r\n\tmargin-top: 6px;\r\n}\r\n.leaflet-tooltip-top {\r\n\tmargin-top: -6px;\r\n}\r\n.leaflet-tooltip-bottom:before,\r\n.leaflet-tooltip-top:before {\r\n\tleft: 50%;\r\n\tmargin-left: -6px;\r\n\t}\r\n.leaflet-tooltip-top:before {\r\n\tbottom: 0;\r\n\tmargin-bottom: -12px;\r\n\tborder-top-color: #fff;\r\n\t}\r\n.leaflet-tooltip-bottom:before {\r\n\ttop: 0;\r\n\tmargin-top: -12px;\r\n\tmargin-left: -6px;\r\n\tborder-bottom-color: #fff;\r\n\t}\r\n.leaflet-tooltip-left {\r\n\tmargin-left: -6px;\r\n}\r\n.leaflet-tooltip-right {\r\n\tmargin-left: 6px;\r\n}\r\n.leaflet-tooltip-left:before,\r\n.leaflet-tooltip-right:before {\r\n\ttop: 50%;\r\n\tmargin-top: -6px;\r\n\t}\r\n.leaflet-tooltip-left:before {\r\n\tright: 0;\r\n\tmargin-right: -12px;\r\n\tborder-left-color: #fff;\r\n\t}\r\n.leaflet-tooltip-right:before {\r\n\tleft: 0;\r\n\tmargin-left: -12px;\r\n\tborder-right-color: #fff;\r\n\t}\r\n\r\n/* Printing */\r\n\r\n@media print {\r\n\t/* Prevent printers from removing background-images of controls. */\r\n\t.leaflet-control {\r\n\t\t-webkit-print-color-adjust: exact;\r\n\t\tprint-color-adjust: exact;\r\n\t\t}\r\n\t}\r\n'],sourceRoot:""}]);const g=u},341:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(627),s=i.n(n),r=i(798),o=i.n(r)()(s());o.push([t.id,".alert[data-v-70417498]{border-radius:4px;font-size:1.2rem;font-weight:700;margin-bottom:1rem;padding:1rem;text-align:center}.alert-success[data-v-70417498]{background-color:#d4edda;color:#155724}.alert-warning[data-v-70417498]{background-color:#fff3cd;color:#856404}.alert-error[data-v-70417498]{background-color:#f8d7da;color:#721c24}","",{version:3,sources:["webpack://./src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseAlert.vue"],names:[],mappings:"AAqBA,wBAGC,iBAAkB,CAClB,gBAAiB,CACjB,eAAiB,CAHjB,kBAAmB,CADnB,YAAa,CAKb,iBACD,CAEA,gCACC,wBAAyB,CACzB,aACD,CAEA,gCACC,wBAAyB,CACzB,aACD,CAEA,8BACC,wBAAyB,CACzB,aACD",sourcesContent:[" + + + + diff --git a/src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseAlert.vue b/src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseAlert.vue new file mode 100644 index 0000000..2d50123 --- /dev/null +++ b/src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseAlert.vue @@ -0,0 +1,45 @@ + + + + + diff --git a/src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseLoader.vue b/src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseLoader.vue new file mode 100644 index 0000000..17a47d8 --- /dev/null +++ b/src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseLoader.vue @@ -0,0 +1,29 @@ + + + diff --git a/src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseMapFilters.vue b/src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseMapFilters.vue new file mode 100644 index 0000000..d2464e2 --- /dev/null +++ b/src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseMapFilters.vue @@ -0,0 +1,202 @@ + + + + + \ No newline at end of file diff --git a/src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseMapFiltersCheckbox.vue b/src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseMapFiltersCheckbox.vue new file mode 100644 index 0000000..636c985 --- /dev/null +++ b/src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseMapFiltersCheckbox.vue @@ -0,0 +1,118 @@ + + + + + \ No newline at end of file diff --git a/src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseTooltipCard.vue b/src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseTooltipCard.vue new file mode 100644 index 0000000..b6adf7f --- /dev/null +++ b/src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseTooltipCard.vue @@ -0,0 +1,153 @@ + + + + + \ No newline at end of file diff --git a/src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseTooltipCardClose.vue b/src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseTooltipCardClose.vue new file mode 100644 index 0000000..193da0b --- /dev/null +++ b/src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/BaseTooltipCardClose.vue @@ -0,0 +1,53 @@ + + + + + \ No newline at end of file diff --git a/src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/TheMap.vue b/src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/TheMap.vue new file mode 100644 index 0000000..42f5751 --- /dev/null +++ b/src/blocks/owc-openkaarten/streetmap/assets/scripts/vue/TheMap.vue @@ -0,0 +1,359 @@ + + + + + diff --git a/src/blocks/owc-openkaarten/streetmap/assets/styles/editor.scss b/src/blocks/owc-openkaarten/streetmap/assets/styles/editor.scss new file mode 100644 index 0000000..22dc021 --- /dev/null +++ b/src/blocks/owc-openkaarten/streetmap/assets/styles/editor.scss @@ -0,0 +1,32 @@ + +.owc-openkaarten-streetmap { + border: 1px solid #ddd; + border-radius: 4px; + padding: 20px; + &__row { + display: flex; + flex-wrap: wrap; + gap: 30px; + } + h3 { + font-size: 1.2em; + margin: 0; + } + .components-base-control { + margin-bottom: 20px; + } + + select option { + padding: 4px 0; + } + p { + margin: 10px 0; + } + .components-message-box{ + display: flex; + flex-direction: column; + } + .components-select-control__input { + height: auto; + } +} diff --git a/src/blocks/owc-openkaarten/streetmap/assets/styles/style.scss b/src/blocks/owc-openkaarten/streetmap/assets/styles/style.scss new file mode 100644 index 0000000..c6dc276 --- /dev/null +++ b/src/blocks/owc-openkaarten/streetmap/assets/styles/style.scss @@ -0,0 +1,99 @@ +// Need to hide the first sets of controls, and only render the second +// Leaflet controls duplicate controls bug: +// https://github.com/alex3165/react-leaflet-draw/issues/150 +.leaflet-control-container { + display: none; +} + +.leaflet-control-container ~ .leaflet-control-container { + display: block; +} + +.leaflet-top { + align-items: center; + display: flex; + justify-content: flex-end; + width: 100%; + + > .leaflet-control { + margin-top: 10px !important; + } + + > :last-child { + margin-right: 10px; + } + + @media only screen and (min-width: 768px) { + > .leaflet-control { + margin-top: 20px !important; + } + + > :last-child { + margin-right: 20px; + } + } + + .leaflet-control-zoom { + align-items: center; + border: 1px solid var(--owc-openkaarten-streetmap--primary-color) !important; + border-radius: 3px; + display: flex; + flex-direction: row-reverse; + justify-content: space-between; + margin-right: 8px; + a { + align-items: center; + border: none; + border-radius: 3px; + color: var(--owc-openkaarten-streetmap--primary-color); + display: flex; + height: 48px !important; + justify-content: center; + width: 44px !important; + &:first-child { + border-bottom-right-radius: 3px; + border-bottom-left-radius: 0; + border-left: 1px solid + var(--owc-openkaarten-streetmap--primary-color) !important; + border-top-left-radius: 3px; + border-top-right-radius: 0; + } + } + } + + .leaflet-control-filters { + align-items: center; + border: 1px solid var(--owc-openkaarten-streetmap--primary-color) !important; + background-color: #fff; + border-radius: 3px; + display: flex; + justify-content: space-between; + gap: 8px; + min-width: 44px; + min-height: 50px; + padding: 10px 24px; + margin-left: 0 !important; + + &__control-text { + color: var(--owc-openkaarten-streetmap--primary-color); + font-size: 20px; + font-style: normal; + font-weight: 500; + line-height: 130%; /* 26px */ + } + + &:hover { + cursor: pointer; + background-color: rgb(244, 244, 244); + } + + &:focus-visible { + border-width: 3px; + } + + a { + width: 100%; + height: 100%; + } + } +} diff --git a/src/blocks/owc-openkaarten/streetmap/block.json b/src/blocks/owc-openkaarten/streetmap/block.json new file mode 100644 index 0000000..cac42d6 --- /dev/null +++ b/src/blocks/owc-openkaarten/streetmap/block.json @@ -0,0 +1,40 @@ +{ + "$schema" : "https://schemas.wp.org/trunk/block.json", + "title" : "OWC Openmaps Openstreet Map", + "description" : "OWC Openmaps Openstreet Map", + "icon" : "admin-site-alt", + "name" : "owc-openkaarten/streetmap", + "category" : "openkaarten-frontend-plugin", + "textdomain": "openkaarten-frontend-plugin", + "attributes" : { + "rest_uri" : { + "type" : "string", + "default" : "" + }, + "selected_datasets" : { + "type" : "Array", + "default" : [] + } + }, + "style" : [ + "owc-openkaarten-streetmap-block" + ], + "supports" : { + "align" : false, + "className" : false, + "customClassName" : false, + "html" : false, + "multiple" : false + }, + "keywords" : [ + "owc", + "openwebconcept", + "openmaps", + "map", + "locations" + ], + "viewScript" : [ + "owc-openkaarten-streetmap-block" + ], + "version" : "0.1.0" +} diff --git a/src/blocks/owc-openkaarten/streetmap/class-streetmap.php b/src/blocks/owc-openkaarten/streetmap/class-streetmap.php new file mode 100644 index 0000000..8c8b71e --- /dev/null +++ b/src/blocks/owc-openkaarten/streetmap/class-streetmap.php @@ -0,0 +1,45 @@ + + */ +class Streetmap extends Base_Block { + /** + * Render the blocks HTML. + * + * @param array $attributes An array of block attributes. + * @param string $content The content for the block. + * + * @return string The HTML for the block. + */ + public function render_block( $attributes, $content ) { + ob_start(); + include __DIR__ . '/template.php'; + $output = ob_get_clean(); + + return $output; + } +} + +new Streetmap(); diff --git a/src/blocks/owc-openkaarten/streetmap/index.js b/src/blocks/owc-openkaarten/streetmap/index.js new file mode 100644 index 0000000..c2a7d51 --- /dev/null +++ b/src/blocks/owc-openkaarten/streetmap/index.js @@ -0,0 +1,11 @@ +import {registerBlockType} from '@wordpress/blocks'; +import edit from './assets/scripts/edit'; +import metadata from './block.json'; + +const {name} = metadata; + +registerBlockType( name, { + ...metadata, + edit, + save: () => null, +} ); diff --git a/src/blocks/owc-openkaarten/streetmap/template.php b/src/blocks/owc-openkaarten/streetmap/template.php new file mode 100644 index 0000000..52445ca --- /dev/null +++ b/src/blocks/owc-openkaarten/streetmap/template.php @@ -0,0 +1,56 @@ + +
    'owc-openkaarten-streetmap', + 'class' => 'owc-openkaarten-streetmap', + 'data-endpoint' => esc_url( $openkaarten_frontend_plugin_rest_uri ), + 'data-title' => esc_attr( $attributes['title'] ?: '' ), + 'data-dataset-ids' => esc_attr( wp_json_encode( $attributes['selected_datasets'] ) ?: '' ), + ] + ) +); +?> +>
    diff --git a/src/client/scripts/.gitkeep b/src/client/scripts/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/webpack.mix.js b/webpack.mix.js new file mode 100644 index 0000000..b4297f4 --- /dev/null +++ b/webpack.mix.js @@ -0,0 +1,111 @@ +const mix = require( 'laravel-mix' ), + fs = require( 'fs' ), + path = require( 'path' ); + +const ALLOWED_FILES = [ '.scss', 'client.js' ]; +const MIX_OPTIONS = { + styles: { + outputStyle: 'compressed' + } +}; + +/** + * Get all files from specific directory. + * @param {string} directory path to file from root. + * @return {string[]} + */ +const getFiles = function ( directory ) { + return fs.readdirSync( directory ).filter( file => { + return ( ALLOWED_FILES.includes( path.extname( file ) ) || ALLOWED_FILES.includes( file ) ) ? fs.statSync( `${ directory }/${ file }` ).isFile() : false; + } ); +}; + +/** + * Get all directories from a specific directory. + * @param {string} directory The directory to check. + * @return {string[]} + */ +const getDirectories = function ( directory ) { + return fs.readdirSync( directory ).filter( function ( file ) { + return fs.statSync( path.join( directory, file ) ).isDirectory(); + } ); +}; + +/** + * Loop through the community block directories and block directories and build any files necessary. + * + * @param {string} folder name of the folder to scan. + * @param {string} outputFolder name of the folder to output. + * @constructor + */ +const OKP_build_blocks = ( folder, outputFolder = folder ) => { + Array.from( getDirectories( folder ) ).forEach( ( companyDir ) => { + Array.from( getDirectories( `${ folder }/${ companyDir }` ) ).forEach( ( blockDir ) => { + Array.from( getDirectories( `${ folder }/${ companyDir }/${ blockDir }/assets/` ) ).forEach( ( typeDir ) => { + OKP_build_files( typeDir, `${ folder }/${ companyDir }/${ blockDir }/assets/${ typeDir }`, `${ outputFolder }/${ companyDir }/${ blockDir }` ); + } ); + } ); + } ); +}; + +/** + * Little helper to reduce duplication. + * + * @param {string} typeDir The type of script directory. + * @param {string} path The path of the input directory. + * @param outputPath The path of the output directory. + * @constructor + */ +const OKP_build_files = ( typeDir, path, outputPath = path ) => { + const files = getFiles( path ); + + if( 0 === files.length) { + return; + } + + files.forEach( ( file ) => { + switch ( typeDir ) { + case 'styles': + mix.sass( + `${ path }/${ file }`, + outputPath + ).options( MIX_OPTIONS.styles ); + break; + + case 'scripts': + mix.js( `${ path }/${ file }`, outputPath ).vue({ version: 3 }); + break; + } + } ); +}; + +/** + * Loop through the client directory and build any files necessary. + * + * @param {string} folder name of the folder to scan. + * @param {string} outputFolder name of the folder to output. + * @constructor + */ +const OKP_build_client = ( folder, outputFolder = folder ) => { + Array.from( getDirectories( folder ) ).forEach( ( typeDir ) => { + OKP_build_files( typeDir, `${ folder }/${ typeDir }`, outputFolder ); + + const directories = Array.from( getDirectories( `${ folder }/${ typeDir }` ) ); + if ( directories.length > 0 ) { + directories.forEach( ( dir ) => OKP_build_files( typeDir, `${ folder }/${ typeDir }/${ dir }`, `${ outputFolder }/${ dir }` ) ); + } + } ); +}; + + + +OKP_build_blocks( 'src/blocks', 'blocks' ); +OKP_build_client( 'src/client', 'client' ); + +mix.setPublicPath( 'build' ) + .version() + .sourceMaps() + .options( { + cssnano: { preset: "default" }, + } ); +