blazer 2.6.5 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/LICENSE.txt +1 -1
  4. data/README.md +13 -28
  5. data/app/assets/javascripts/blazer/ace/ace.js +7235 -8906
  6. data/app/assets/javascripts/blazer/ace/ext-language_tools.js +762 -774
  7. data/app/assets/javascripts/blazer/ace/mode-sql.js +177 -72
  8. data/app/assets/javascripts/blazer/ace/snippets/sql.js +5 -29
  9. data/app/assets/javascripts/blazer/ace/snippets/text.js +1 -6
  10. data/app/assets/javascripts/blazer/ace/theme-twilight.js +8 -106
  11. data/app/assets/javascripts/blazer/application.js +9 -6
  12. data/app/assets/javascripts/blazer/chart.umd.js +13 -0
  13. data/app/assets/javascripts/blazer/chartjs-adapter-date-fns.bundle.js +6322 -0
  14. data/app/assets/javascripts/blazer/chartkick.js +1020 -914
  15. data/app/assets/javascripts/blazer/highlight.min.js +466 -3
  16. data/app/assets/javascripts/blazer/mapkick.bundle.js +1029 -0
  17. data/app/assets/javascripts/blazer/moment-timezone-with-data.js +39 -38
  18. data/app/assets/javascripts/blazer/moment.js +105 -88
  19. data/app/assets/javascripts/blazer/queries.js +10 -1
  20. data/app/assets/javascripts/blazer/rails-ujs.js +746 -0
  21. data/app/assets/javascripts/blazer/vue.global.prod.js +1 -0
  22. data/app/assets/stylesheets/blazer/bootstrap.css +1 -1
  23. data/app/assets/stylesheets/blazer/selectize.css +1 -1
  24. data/app/controllers/blazer/base_controller.rb +85 -84
  25. data/app/controllers/blazer/checks_controller.rb +6 -6
  26. data/app/controllers/blazer/dashboards_controller.rb +24 -24
  27. data/app/controllers/blazer/queries_controller.rb +208 -186
  28. data/app/controllers/blazer/uploads_controller.rb +49 -49
  29. data/app/helpers/blazer/base_helper.rb +0 -4
  30. data/app/models/blazer/query.rb +1 -12
  31. data/app/views/blazer/checks/index.html.erb +1 -1
  32. data/app/views/blazer/dashboards/_form.html.erb +11 -5
  33. data/app/views/blazer/queries/_form.html.erb +19 -14
  34. data/app/views/blazer/queries/docs.html.erb +11 -1
  35. data/app/views/blazer/queries/home.html.erb +9 -6
  36. data/app/views/blazer/queries/run.html.erb +17 -32
  37. data/app/views/blazer/queries/show.html.erb +12 -20
  38. data/app/views/layouts/blazer/application.html.erb +1 -5
  39. data/lib/blazer/adapters/sql_adapter.rb +1 -1
  40. data/lib/blazer/adapters.rb +17 -0
  41. data/lib/blazer/anomaly_detectors.rb +22 -0
  42. data/lib/blazer/data_source.rb +29 -40
  43. data/lib/blazer/engine.rb +11 -9
  44. data/lib/blazer/forecasters.rb +7 -0
  45. data/lib/blazer/result.rb +13 -71
  46. data/lib/blazer/result_cache.rb +71 -0
  47. data/lib/blazer/run_statement.rb +3 -2
  48. data/lib/blazer/run_statement_job.rb +2 -2
  49. data/lib/blazer/statement.rb +3 -1
  50. data/lib/blazer/version.rb +1 -1
  51. data/lib/blazer.rb +51 -53
  52. data/licenses/LICENSE-chart.js.txt +1 -1
  53. data/licenses/LICENSE-chartjs-adapter-date-fns.txt +9 -0
  54. data/licenses/LICENSE-chartkick.js.txt +1 -1
  55. data/licenses/LICENSE-date-fns.txt +21 -0
  56. data/licenses/LICENSE-kurkle-color.txt +9 -0
  57. data/licenses/LICENSE-mapkick-bundle.txt +1029 -0
  58. data/licenses/{LICENSE-jquery-ujs.txt → LICENSE-rails-ujs.txt} +1 -1
  59. data/licenses/LICENSE-vue.txt +1 -1
  60. metadata +26 -18
  61. data/app/assets/javascripts/blazer/Chart.js +0 -16172
  62. data/app/assets/javascripts/blazer/jquery-ujs.js +0 -555
  63. data/app/assets/javascripts/blazer/vue.js +0 -12014
  64. data/lib/blazer/adapters/mongodb_adapter.rb +0 -43
  65. data/lib/blazer/detect_anomalies.R +0 -19
@@ -0,0 +1 @@
1
+ var Vue=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const n=t("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(e){if(E(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=R(r)?l(r):o(r);if(s)for(const e in s)t[e]=s[e]}return t}return R(e)||M(e)?e:void 0}const r=/;(?![^(]*\))/g,s=/:([^]+)/,i=/\/\*.*?\*\//gs;function l(e){const t={};return e.replace(i,"").split(r).forEach((e=>{if(e){const n=e.split(s);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function c(e){let t="";if(R(e))t=e;else if(E(e))for(let n=0;n<e.length;n++){const o=c(e[n]);o&&(t+=o+" ")}else if(M(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const a=t("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"),u=t("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"),p=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),f=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function d(e){return!!e||""===e}function h(e,t){if(e===t)return!0;let n=F(e),o=F(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=$(e),o=$(t),n||o)return e===t;if(n=E(e),o=E(t),n||o)return!(!n||!o)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=h(e[o],t[o]);return n}(e,t);if(n=M(e),o=M(t),n||o){if(!n||!o)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const o=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(o&&!r||!o&&r||!h(e[n],t[n]))return!1}}return String(e)===String(t)}function m(e,t){return e.findIndex((e=>h(e,t)))}const g=(e,t)=>t&&t.__v_isRef?g(e,t.value):O(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:A(t)?{[`Set(${t.size})`]:[...t.values()]}:!M(t)||E(t)||L(t)?t:String(t),v={},y=[],b=()=>{},_=()=>!1,S=/^on[^a-z]/,x=e=>S.test(e),C=e=>e.startsWith("onUpdate:"),k=Object.assign,w=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},T=Object.prototype.hasOwnProperty,N=(e,t)=>T.call(e,t),E=Array.isArray,O=e=>"[object Map]"===B(e),A=e=>"[object Set]"===B(e),F=e=>"[object Date]"===B(e),P=e=>"function"==typeof e,R=e=>"string"==typeof e,$=e=>"symbol"==typeof e,M=e=>null!==e&&"object"==typeof e,V=e=>M(e)&&P(e.then)&&P(e.catch),I=Object.prototype.toString,B=e=>I.call(e),L=e=>"[object Object]"===B(e),j=e=>R(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,U=t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),D=t("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),H=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},W=/-(\w)/g,z=H((e=>e.replace(W,((e,t)=>t?t.toUpperCase():"")))),K=/\B([A-Z])/g,G=H((e=>e.replace(K,"-$1").toLowerCase())),q=H((e=>e.charAt(0).toUpperCase()+e.slice(1))),J=H((e=>e?`on${q(e)}`:"")),Z=(e,t)=>!Object.is(e,t),Y=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Q=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},X=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ee;let te;class ne{constructor(e=!1){this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=te,!e&&te&&(this.index=(te.scopes||(te.scopes=[])).push(this)-1)}run(e){if(this.active){const t=te;try{return te=this,e()}finally{te=t}}}on(){te=this}off(){te=this.parent}stop(e){if(this.active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this.active=!1}}}function oe(e,t=te){t&&t.active&&t.effects.push(e)}const re=e=>{const t=new Set(e);return t.w=0,t.n=0,t},se=e=>(e.w&ae)>0,ie=e=>(e.n&ae)>0,le=new WeakMap;let ce=0,ae=1;let ue;const pe=Symbol(""),fe=Symbol("");class de{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,oe(this,n)}run(){if(!this.active)return this.fn();let e=ue,t=me;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=ue,ue=this,me=!0,ae=1<<++ce,ce<=30?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ae})(this):he(this),this.fn()}finally{ce<=30&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const r=t[o];se(r)&&!ie(r)?r.delete(e):t[n++]=r,r.w&=~ae,r.n&=~ae}t.length=n}})(this),ae=1<<--ce,ue=this.parent,me=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ue===this?this.deferStop=!0:this.active&&(he(this),this.onStop&&this.onStop(),this.active=!1)}}function he(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let me=!0;const ge=[];function ve(){ge.push(me),me=!1}function ye(){const e=ge.pop();me=void 0===e||e}function be(e,t,n){if(me&&ue){let t=le.get(e);t||le.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=re()),_e(o)}}function _e(e,t){let n=!1;ce<=30?ie(e)||(e.n|=ae,n=!se(e)):n=!e.has(ue),n&&(e.add(ue),ue.deps.push(e))}function Se(e,t,n,o,r,s){const i=le.get(e);if(!i)return;let l=[];if("clear"===t)l=[...i.values()];else if("length"===n&&E(e)){const e=X(o);i.forEach(((t,n)=>{("length"===n||n>=e)&&l.push(t)}))}else switch(void 0!==n&&l.push(i.get(n)),t){case"add":E(e)?j(n)&&l.push(i.get("length")):(l.push(i.get(pe)),O(e)&&l.push(i.get(fe)));break;case"delete":E(e)||(l.push(i.get(pe)),O(e)&&l.push(i.get(fe)));break;case"set":O(e)&&l.push(i.get(pe))}if(1===l.length)l[0]&&xe(l[0]);else{const e=[];for(const t of l)t&&e.push(...t);xe(re(e))}}function xe(e,t){const n=E(e)?e:[...e];for(const o of n)o.computed&&Ce(o);for(const o of n)o.computed||Ce(o)}function Ce(e,t){(e!==ue||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const ke=t("__proto__,__v_isRef,__isVue"),we=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter($)),Te=Pe(),Ne=Pe(!1,!0),Ee=Pe(!0),Oe=Pe(!0,!0),Ae=Fe();function Fe(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=bt(this);for(let t=0,r=this.length;t<r;t++)be(n,0,t+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(bt)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){ve();const n=bt(this)[t].apply(this,e);return ye(),n}})),e}function Pe(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&r===(e?t?at:ct:t?lt:it).get(n))return n;const s=E(n);if(!e&&s&&N(Ae,o))return Reflect.get(Ae,o,r);const i=Reflect.get(n,o,r);return($(o)?we.has(o):ke(o))?i:(e||be(n,0,o),t?i:wt(i)?s&&j(o)?i:i.value:M(i)?e?dt(i):pt(i):i)}}function Re(e=!1){return function(t,n,o,r){let s=t[n];if(gt(s)&&wt(s)&&!wt(o))return!1;if(!e&&(vt(o)||gt(o)||(s=bt(s),o=bt(o)),!E(t)&&wt(s)&&!wt(o)))return s.value=o,!0;const i=E(t)&&j(n)?Number(n)<t.length:N(t,n),l=Reflect.set(t,n,o,r);return t===bt(r)&&(i?Z(o,s)&&Se(t,"set",n,o):Se(t,"add",n,o)),l}}const $e={get:Te,set:Re(),deleteProperty:function(e,t){const n=N(e,t),o=Reflect.deleteProperty(e,t);return o&&n&&Se(e,"delete",t,void 0),o},has:function(e,t){const n=Reflect.has(e,t);return $(t)&&we.has(t)||be(e,0,t),n},ownKeys:function(e){return be(e,0,E(e)?"length":pe),Reflect.ownKeys(e)}},Me={get:Ee,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},Ve=k({},$e,{get:Ne,set:Re(!0)}),Ie=k({},Me,{get:Oe}),Be=e=>e,Le=e=>Reflect.getPrototypeOf(e);function je(e,t,n=!1,o=!1){const r=bt(e=e.__v_raw),s=bt(t);n||(t!==s&&be(r,0,t),be(r,0,s));const{has:i}=Le(r),l=o?Be:n?xt:St;return i.call(r,t)?l(e.get(t)):i.call(r,s)?l(e.get(s)):void(e!==r&&e.get(t))}function Ue(e,t=!1){const n=this.__v_raw,o=bt(n),r=bt(e);return t||(e!==r&&be(o,0,e),be(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function De(e,t=!1){return e=e.__v_raw,!t&&be(bt(e),0,pe),Reflect.get(e,"size",e)}function He(e){e=bt(e);const t=bt(this);return Le(t).has.call(t,e)||(t.add(e),Se(t,"add",e,e)),this}function We(e,t){t=bt(t);const n=bt(this),{has:o,get:r}=Le(n);let s=o.call(n,e);s||(e=bt(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?Z(t,i)&&Se(n,"set",e,t):Se(n,"add",e,t),this}function ze(e){const t=bt(this),{has:n,get:o}=Le(t);let r=n.call(t,e);r||(e=bt(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&Se(t,"delete",e,void 0),s}function Ke(){const e=bt(this),t=0!==e.size,n=e.clear();return t&&Se(e,"clear",void 0,void 0),n}function Ge(e,t){return function(n,o){const r=this,s=r.__v_raw,i=bt(s),l=t?Be:e?xt:St;return!e&&be(i,0,pe),s.forEach(((e,t)=>n.call(o,l(e),l(t),r)))}}function qe(e,t,n){return function(...o){const r=this.__v_raw,s=bt(r),i=O(s),l="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,a=r[e](...o),u=n?Be:t?xt:St;return!t&&be(s,0,c?fe:pe),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Je(e){return function(...t){return"delete"!==e&&this}}function Ze(){const e={get(e){return je(this,e)},get size(){return De(this)},has:Ue,add:He,set:We,delete:ze,clear:Ke,forEach:Ge(!1,!1)},t={get(e){return je(this,e,!1,!0)},get size(){return De(this)},has:Ue,add:He,set:We,delete:ze,clear:Ke,forEach:Ge(!1,!0)},n={get(e){return je(this,e,!0)},get size(){return De(this,!0)},has(e){return Ue.call(this,e,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:Ge(!0,!1)},o={get(e){return je(this,e,!0,!0)},get size(){return De(this,!0)},has(e){return Ue.call(this,e,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:Ge(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=qe(r,!1,!1),n[r]=qe(r,!0,!1),t[r]=qe(r,!1,!0),o[r]=qe(r,!0,!0)})),[e,n,t,o]}const[Ye,Qe,Xe,et]=Ze();function tt(e,t){const n=t?e?et:Xe:e?Qe:Ye;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(N(n,o)&&o in t?n:t,o,r)}const nt={get:tt(!1,!1)},ot={get:tt(!1,!0)},rt={get:tt(!0,!1)},st={get:tt(!0,!0)},it=new WeakMap,lt=new WeakMap,ct=new WeakMap,at=new WeakMap;function ut(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>B(e).slice(8,-1))(e))}function pt(e){return gt(e)?e:ht(e,!1,$e,nt,it)}function ft(e){return ht(e,!1,Ve,ot,lt)}function dt(e){return ht(e,!0,Me,rt,ct)}function ht(e,t,n,o,r){if(!M(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=ut(e);if(0===i)return e;const l=new Proxy(e,2===i?o:n);return r.set(e,l),l}function mt(e){return gt(e)?mt(e.__v_raw):!(!e||!e.__v_isReactive)}function gt(e){return!(!e||!e.__v_isReadonly)}function vt(e){return!(!e||!e.__v_isShallow)}function yt(e){return mt(e)||gt(e)}function bt(e){const t=e&&e.__v_raw;return t?bt(t):e}function _t(e){return Q(e,"__v_skip",!0),e}const St=e=>M(e)?pt(e):e,xt=e=>M(e)?dt(e):e;function Ct(e){me&&ue&&_e((e=bt(e)).dep||(e.dep=re()))}function kt(e,t){(e=bt(e)).dep&&xe(e.dep)}function wt(e){return!(!e||!0!==e.__v_isRef)}function Tt(e){return Nt(e,!1)}function Nt(e,t){return wt(e)?e:new Et(e,t)}class Et{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:bt(e),this._value=t?e:St(e)}get value(){return Ct(this),this._value}set value(e){const t=this.__v_isShallow||vt(e)||gt(e);e=t?e:bt(e),Z(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:St(e),kt(this))}}function Ot(e){return wt(e)?e.value:e}const At={get:(e,t,n)=>Ot(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return wt(r)&&!wt(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Ft(e){return mt(e)?e:new Proxy(e,At)}class Pt{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e((()=>Ct(this)),(()=>kt(this)));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}class Rt{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}}function $t(e,t,n){const o=e[t];return wt(o)?o:new Rt(e,t,n)}var Mt;class Vt{constructor(e,t,n,o){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[Mt]=!1,this._dirty=!0,this.effect=new de(e,(()=>{this._dirty||(this._dirty=!0,kt(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=bt(this);return Ct(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function It(e,t,n,o){let r;try{r=o?e(...o):e()}catch(s){Lt(s,t,n)}return r}function Bt(e,t,n,o){if(P(e)){const r=It(e,t,n,o);return r&&V(r)&&r.catch((e=>{Lt(e,t,n)})),r}const r=[];for(let s=0;s<e.length;s++)r.push(Bt(e[s],t,n,o));return r}function Lt(e,t,n,o=!0){if(t){let o=t.parent;const r=t.proxy,s=n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,s))return;o=o.parent}const i=t.appContext.config.errorHandler;if(i)return void It(i,null,10,[e,r,s])}!function(e,t,n,o=!0){console.error(e)}(e,0,0,o)}Mt="__v_isReadonly";let jt=!1,Ut=!1;const Dt=[];let Ht=0;const Wt=[];let zt=null,Kt=0;const Gt=Promise.resolve();let qt=null;function Jt(e){const t=qt||Gt;return e?t.then(this?e.bind(this):e):t}function Zt(e){Dt.length&&Dt.includes(e,jt&&e.allowRecurse?Ht+1:Ht)||(null==e.id?Dt.push(e):Dt.splice(function(e){let t=Ht+1,n=Dt.length;for(;t<n;){const o=t+n>>>1;tn(Dt[o])<e?t=o+1:n=o}return t}(e.id),0,e),Yt())}function Yt(){jt||Ut||(Ut=!0,qt=Gt.then(on))}function Qt(e){E(e)?Wt.push(...e):zt&&zt.includes(e,e.allowRecurse?Kt+1:Kt)||Wt.push(e),Yt()}function Xt(e,t=(jt?Ht+1:0)){for(;t<Dt.length;t++){const e=Dt[t];e&&e.pre&&(Dt.splice(t,1),t--,e())}}function en(e){if(Wt.length){const e=[...new Set(Wt)];if(Wt.length=0,zt)return void zt.push(...e);for(zt=e,zt.sort(((e,t)=>tn(e)-tn(t))),Kt=0;Kt<zt.length;Kt++)zt[Kt]();zt=null,Kt=0}}const tn=e=>null==e.id?1/0:e.id,nn=(e,t)=>{const n=tn(e)-tn(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function on(e){Ut=!1,jt=!0,Dt.sort(nn);try{for(Ht=0;Ht<Dt.length;Ht++){const e=Dt[Ht];e&&!1!==e.active&&It(e,null,14)}}finally{Ht=0,Dt.length=0,en(),jt=!1,qt=null,(Dt.length||Wt.length)&&on()}}let rn=[];function sn(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||v;let r=n;const s=t.startsWith("update:"),i=s&&t.slice(7);if(i&&i in o){const e=`${"modelValue"===i?"model":i}Modifiers`,{number:t,trim:s}=o[e]||v;s&&(r=n.map((e=>R(e)?e.trim():e))),t&&(r=n.map(X))}let l,c=o[l=J(t)]||o[l=J(z(t))];!c&&s&&(c=o[l=J(G(t))]),c&&Bt(c,e,6,r);const a=o[l+"Once"];if(a){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,Bt(a,e,6,r)}}function ln(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const s=e.emits;let i={},l=!1;if(!P(e)){const o=e=>{const n=ln(e,t,!0);n&&(l=!0,k(i,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return s||l?(E(s)?s.forEach((e=>i[e]=null)):k(i,s),M(e)&&o.set(e,i),i):(M(e)&&o.set(e,null),null)}function cn(e,t){return!(!e||!x(t))&&(t=t.slice(2).replace(/Once$/,""),N(e,t[0].toLowerCase()+t.slice(1))||N(e,G(t))||N(e,t))}let an=null,un=null;function pn(e){const t=an;return an=e,un=e&&e.type.__scopeId||null,t}function fn(e,t=an,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Cr(-1);const r=pn(t);let s;try{s=e(...n)}finally{pn(r),o._d&&Cr(1)}return s};return o._n=!0,o._c=!0,o._d=!0,o}function dn(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:l,attrs:c,emit:a,render:u,renderCache:p,data:f,setupState:d,ctx:h,inheritAttrs:m}=e;let g,v;const y=pn(e);try{if(4&n.shapeFlag){const e=r||o;g=Vr(u.call(e,e,p,s,d,f,h)),v=c}else{const e=t;0,g=Vr(e(s,e.length>1?{attrs:c,slots:l,emit:a}:null)),v=t.props?c:hn(c)}}catch(_){yr.length=0,Lt(_,e,1),g=Pr(gr)}let b=g;if(v&&!1!==m){const e=Object.keys(v),{shapeFlag:t}=b;e.length&&7&t&&(i&&e.some(C)&&(v=mn(v,i)),b=$r(b,v))}return n.dirs&&(b=$r(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),g=b,pn(y),g}const hn=e=>{let t;for(const n in e)("class"===n||"style"===n||x(n))&&((t||(t={}))[n]=e[n]);return t},mn=(e,t)=>{const n={};for(const o in e)C(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function gn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const s=o[r];if(t[s]!==e[s]&&!cn(n,s))return!0}return!1}function vn({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const yn=e=>e.__isSuspense,bn={name:"Suspense",__isSuspense:!0,process(e,t,n,o,r,s,i,l,c,a){null==e?function(e,t,n,o,r,s,i,l,c){const{p:a,o:{createElement:u}}=c,p=u("div"),f=e.suspense=Sn(e,r,o,t,p,n,s,i,l,c);a(null,f.pendingBranch=e.ssContent,p,null,o,f,s,i),f.deps>0?(_n(e,"onPending"),_n(e,"onFallback"),a(null,e.ssFallback,t,n,o,null,s,i),kn(f,e.ssFallback)):f.resolve()}(t,n,o,r,s,i,l,c,a):function(e,t,n,o,r,s,i,l,{p:c,um:a,o:{createElement:u}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const f=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:g,isHydrating:v}=p;if(m)p.pendingBranch=f,Nr(f,m)?(c(m,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():g&&(c(h,d,n,o,r,null,s,i,l),kn(p,d))):(p.pendingId++,v?(p.isHydrating=!1,p.activeBranch=m):a(m,r,p),p.deps=0,p.effects.length=0,p.hiddenContainer=u("div"),g?(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():(c(h,d,n,o,r,null,s,i,l),kn(p,d))):h&&Nr(f,h)?(c(h,f,n,o,r,p,s,i,l),p.resolve(!0)):(c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0&&p.resolve()));else if(h&&Nr(f,h))c(h,f,n,o,r,p,s,i,l),kn(p,f);else if(_n(t,"onPending"),p.pendingBranch=f,p.pendingId++,c(null,f,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0)p.resolve();else{const{timeout:e,pendingId:t}=p;e>0?setTimeout((()=>{p.pendingId===t&&p.fallback(d)}),e):0===e&&p.fallback(d)}}(e,t,n,o,r,i,l,c,a)},hydrate:function(e,t,n,o,r,s,i,l,c){const a=t.suspense=Sn(t,o,n,e.parentNode,document.createElement("div"),null,r,s,i,l,!0),u=c(e,a.pendingBranch=t.ssContent,n,a,s,i);0===a.deps&&a.resolve();return u},create:Sn,normalize:function(e){const{shapeFlag:t,children:n}=e,o=32&t;e.ssContent=xn(o?n.default:n),e.ssFallback=o?xn(n.fallback):Pr(gr)}};function _n(e,t){const n=e.props&&e.props[t];P(n)&&n()}function Sn(e,t,n,o,r,s,i,l,c,a,u=!1){const{p:p,m:f,um:d,n:h,o:{parentNode:m,remove:g}}=a,v=X(e.props&&e.props.timeout),y={vnode:e,parent:t,parentComponent:n,isSVG:i,container:o,hiddenContainer:r,anchor:s,deps:0,pendingId:0,timeout:"number"==typeof v?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:o,pendingId:r,effects:s,parentComponent:i,container:l}=y;if(y.isHydrating)y.isHydrating=!1;else if(!e){const e=n&&o.transition&&"out-in"===o.transition.mode;e&&(n.transition.afterLeave=()=>{r===y.pendingId&&f(o,l,t,0)});let{anchor:t}=y;n&&(t=h(n),d(n,i,y,!0)),e||f(o,l,t,0)}kn(y,o),y.pendingBranch=null,y.isInFallback=!1;let c=y.parent,a=!1;for(;c;){if(c.pendingBranch){c.effects.push(...s),a=!0;break}c=c.parent}a||Qt(s),y.effects=[],_n(t,"onResolve")},fallback(e){if(!y.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:r,isSVG:s}=y;_n(t,"onFallback");const i=h(n),a=()=>{y.isInFallback&&(p(null,e,r,i,o,null,s,l,c),kn(y,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=a),y.isInFallback=!0,d(n,o,null,!0),u||a()},move(e,t,n){y.activeBranch&&f(y.activeBranch,e,t,n),y.container=e},next:()=>y.activeBranch&&h(y.activeBranch),registerDep(e,t){const n=!!y.pendingBranch;n&&y.deps++;const o=e.vnode.el;e.asyncDep.catch((t=>{Lt(t,e,0)})).then((r=>{if(e.isUnmounted||y.isUnmounted||y.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:s}=e;Yr(e,r,!1),o&&(s.el=o);const l=!o&&e.subTree.el;t(e,s,m(o||e.subTree.el),o?null:h(e.subTree),y,i,c),l&&g(l),vn(e,s.el),n&&0==--y.deps&&y.resolve()}))},unmount(e,t){y.isUnmounted=!0,y.activeBranch&&d(y.activeBranch,n,e,t),y.pendingBranch&&d(y.pendingBranch,n,e,t)}};return y}function xn(e){let t;if(P(e)){const n=xr&&e._c;n&&(e._d=!1,_r()),e=e(),n&&(e._d=!0,t=br,Sr())}if(E(e)){const t=function(e){let t;for(let n=0;n<e.length;n++){const o=e[n];if(!Tr(o))return;if(o.type!==gr||"v-if"===o.children){if(t)return;t=o}}return t}(e);e=t}return e=Vr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function Cn(e,t){t&&t.pendingBranch?E(e)?t.effects.push(...e):t.effects.push(e):Qt(e)}function kn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,r=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=r,vn(o,r))}function wn(e,t){if(Hr){let n=Hr.provides;const o=Hr.parent&&Hr.parent.provides;o===n&&(n=Hr.provides=Object.create(o)),n[e]=t}else;}function Tn(e,t,n=!1){const o=Hr||an;if(o){const r=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&P(t)?t.call(o.proxy):t}}function Nn(e,t){return An(e,null,{flush:"post"})}const En={};function On(e,t,n){return An(e,t,n)}function An(e,t,{immediate:n,deep:o,flush:r}=v){const s=Hr;let i,l,c=!1,a=!1;if(wt(e)?(i=()=>e.value,c=vt(e)):mt(e)?(i=()=>e,o=!0):E(e)?(a=!0,c=e.some((e=>mt(e)||vt(e))),i=()=>e.map((e=>wt(e)?e.value:mt(e)?Rn(e):P(e)?It(e,s,2):void 0))):i=P(e)?t?()=>It(e,s,2):()=>{if(!s||!s.isUnmounted)return l&&l(),Bt(e,s,3,[u])}:b,t&&o){const e=i;i=()=>Rn(e())}let u=e=>{l=h.onStop=()=>{It(e,s,4)}},p=a?new Array(e.length).fill(En):En;const f=()=>{if(h.active)if(t){const e=h.run();(o||c||(a?e.some(((e,t)=>Z(e,p[t]))):Z(e,p)))&&(l&&l(),Bt(t,s,3,[e,p===En?void 0:a&&p[0]===En?[]:p,u]),p=e)}else h.run()};let d;f.allowRecurse=!!t,"sync"===r?d=f:"post"===r?d=()=>nr(f,s&&s.suspense):(f.pre=!0,s&&(f.id=s.uid),d=()=>Zt(f));const h=new de(i,d);t?n?f():p=h.run():"post"===r?nr(h.run.bind(h),s&&s.suspense):h.run();return()=>{h.stop(),s&&s.scope&&w(s.scope.effects,h)}}function Fn(e,t,n){const o=this.proxy,r=R(e)?e.includes(".")?Pn(o,e):()=>o[e]:e.bind(o,o);let s;P(t)?s=t:(s=t.handler,n=t);const i=Hr;zr(this);const l=An(r,s.bind(o),n);return i?zr(i):Kr(),l}function Pn(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function Rn(e,t){if(!M(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),wt(e))Rn(e.value,t);else if(E(e))for(let n=0;n<e.length;n++)Rn(e[n],t);else if(A(e)||O(e))e.forEach((e=>{Rn(e,t)}));else if(L(e))for(const n in e)Rn(e[n],t);return e}function $n(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ro((()=>{e.isMounted=!0})),lo((()=>{e.isUnmounting=!0})),e}const Mn=[Function,Array],Vn={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Mn,onEnter:Mn,onAfterEnter:Mn,onEnterCancelled:Mn,onBeforeLeave:Mn,onLeave:Mn,onAfterLeave:Mn,onLeaveCancelled:Mn,onBeforeAppear:Mn,onAppear:Mn,onAfterAppear:Mn,onAppearCancelled:Mn},setup(e,{slots:t}){const n=Wr(),o=$n();let r;return()=>{const s=t.default&&Dn(t.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1)for(const e of s)if(e.type!==gr){i=e;break}const l=bt(e),{mode:c}=l;if(o.isLeaving)return Ln(i);const a=jn(i);if(!a)return Ln(i);const u=Bn(a,l,o,n);Un(a,u);const p=n.subTree,f=p&&jn(p);let d=!1;const{getTransitionKey:h}=a.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,d=!0)}if(f&&f.type!==gr&&(!Nr(a,f)||d)){const e=Bn(f,l,o,n);if(Un(f,e),"out-in"===c)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&n.update()},Ln(i);"in-out"===c&&a.type!==gr&&(e.delayLeave=(e,t,n)=>{In(o,f)[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return i}}};function In(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Bn(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:p,onLeave:f,onAfterLeave:d,onLeaveCancelled:h,onBeforeAppear:m,onAppear:g,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),_=In(n,e),S=(e,t)=>{e&&Bt(e,o,9,t)},x=(e,t)=>{const n=t[1];S(e,t),E(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},C={mode:s,persisted:i,beforeEnter(t){let o=l;if(!n.isMounted){if(!r)return;o=m||l}t._leaveCb&&t._leaveCb(!0);const s=_[b];s&&Nr(e,s)&&s.el._leaveCb&&s.el._leaveCb(),S(o,[t])},enter(e){let t=c,o=a,s=u;if(!n.isMounted){if(!r)return;t=g||c,o=v||a,s=y||u}let i=!1;const l=e._enterCb=t=>{i||(i=!0,S(t?s:o,[e]),C.delayedLeave&&C.delayedLeave(),e._enterCb=void 0)};t?x(t,[e,l]):l()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();S(p,[t]);let s=!1;const i=t._leaveCb=n=>{s||(s=!0,o(),S(n?h:d,[t]),t._leaveCb=void 0,_[r]===e&&delete _[r])};_[r]=e,f?x(f,[t,i]):i()},clone:e=>Bn(e,t,n,o)};return C}function Ln(e){if(Kn(e))return(e=$r(e)).children=null,e}function jn(e){return Kn(e)?e.children?e.children[0]:void 0:e}function Un(e,t){6&e.shapeFlag&&e.component?Un(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Dn(e,t=!1,n){let o=[],r=0;for(let s=0;s<e.length;s++){let i=e[s];const l=null==n?i.key:String(n)+String(null!=i.key?i.key:s);i.type===hr?(128&i.patchFlag&&r++,o=o.concat(Dn(i.children,t,l))):(t||i.type!==gr)&&o.push(null!=l?$r(i,{key:l}):i)}if(r>1)for(let s=0;s<o.length;s++)o[s].patchFlag=-2;return o}function Hn(e){return P(e)?{setup:e,name:e.name}:e}const Wn=e=>!!e.type.__asyncLoader;function zn(e,t){const{ref:n,props:o,children:r,ce:s}=t.vnode,i=Pr(e,o,r);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const Kn=e=>e.type.__isKeepAlive,Gn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Wr(),o=n.ctx,r=new Map,s=new Set;let i=null;const l=n.suspense,{renderer:{p:c,m:a,um:u,o:{createElement:p}}}=o,f=p("div");function d(e){Xn(e),u(e,n,l,!0)}function h(e){r.forEach(((t,n)=>{const o=ns(t.type);!o||e&&e(o)||m(n)}))}function m(e){const t=r.get(e);i&&t.type===i.type?i&&Xn(i):d(t),r.delete(e),s.delete(e)}o.activate=(e,t,n,o,r)=>{const s=e.component;a(e,t,n,0,l),c(s.vnode,e,t,n,s,l,o,e.slotScopeIds,r),nr((()=>{s.isDeactivated=!1,s.a&&Y(s.a);const t=e.props&&e.props.onVnodeMounted;t&&jr(t,s.parent,e)}),l)},o.deactivate=e=>{const t=e.component;a(e,f,null,1,l),nr((()=>{t.da&&Y(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&jr(n,t.parent,e),t.isDeactivated=!0}),l)},On((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>qn(e,t))),t&&h((e=>!qn(t,e)))}),{flush:"post",deep:!0});let g=null;const v=()=>{null!=g&&r.set(g,eo(n.subTree))};return ro(v),io(v),lo((()=>{r.forEach((e=>{const{subTree:t,suspense:o}=n,r=eo(t);if(e.type!==r.type)d(e);else{Xn(r);const e=r.component.da;e&&nr(e,o)}}))})),()=>{if(g=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!(Tr(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return i=null,o;let l=eo(o);const c=l.type,a=ns(Wn(l)?l.type.__asyncResolved||{}:c),{include:u,exclude:p,max:f}=e;if(u&&(!a||!qn(u,a))||p&&a&&qn(p,a))return i=l,o;const d=null==l.key?c:l.key,h=r.get(d);return l.el&&(l=$r(l),128&o.shapeFlag&&(o.ssContent=l)),g=d,h?(l.el=h.el,l.component=h.component,l.transition&&Un(l,l.transition),l.shapeFlag|=512,s.delete(d),s.add(d)):(s.add(d),f&&s.size>parseInt(f,10)&&m(s.values().next().value)),l.shapeFlag|=256,i=l,yn(o.type)?o:l}}};function qn(e,t){return E(e)?e.some((e=>qn(e,t))):R(e)?e.split(",").includes(t):!!e.test&&e.test(t)}function Jn(e,t){Yn(e,"a",t)}function Zn(e,t){Yn(e,"da",t)}function Yn(e,t,n=Hr){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(to(t,o,n),n){let e=n.parent;for(;e&&e.parent;)Kn(e.parent.vnode)&&Qn(o,t,n,e),e=e.parent}}function Qn(e,t,n,o){const r=to(t,e,o,!0);co((()=>{w(o[t],r)}),n)}function Xn(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function eo(e){return 128&e.shapeFlag?e.ssContent:e}function to(e,t,n=Hr,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ve(),zr(n);const r=Bt(t,n,e,o);return Kr(),ye(),r});return o?r.unshift(s):r.push(s),s}}const no=e=>(t,n=Hr)=>(!Zr||"sp"===e)&&to(e,((...e)=>t(...e)),n),oo=no("bm"),ro=no("m"),so=no("bu"),io=no("u"),lo=no("bum"),co=no("um"),ao=no("sp"),uo=no("rtg"),po=no("rtc");function fo(e,t=Hr){to("ec",e,t)}function ho(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];s&&(l.oldValue=s[i].value);let c=l.dir[o];c&&(ve(),Bt(c,n,8,[e.el,l,e,t]),ye())}}const mo="components";const go=Symbol();function vo(e,t,n=!0,o=!1){const r=an||Hr;if(r){const n=r.type;if(e===mo){const e=ns(n,!1);if(e&&(e===t||e===z(t)||e===q(z(t))))return n}const s=yo(r[e]||n[e],t)||yo(r.appContext[e],t);return!s&&o?n:s}}function yo(e,t){return e&&(e[t]||e[z(t)]||e[q(z(t))])}function bo(e){return e.some((e=>!Tr(e)||e.type!==gr&&!(e.type===hr&&!bo(e.children))))?e:null}const _o=e=>e?Gr(e)?ts(e)||e.proxy:_o(e.parent):null,So=k(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>_o(e.parent),$root:e=>_o(e.root),$emit:e=>e.emit,$options:e=>Oo(e),$forceUpdate:e=>e.f||(e.f=()=>Zt(e.update)),$nextTick:e=>e.n||(e.n=Jt.bind(e.proxy)),$watch:e=>Fn.bind(e)}),xo=(e,t)=>e!==v&&!e.__isScriptSetup&&N(e,t),Co={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:l,appContext:c}=e;let a;if("$"!==t[0]){const l=i[t];if(void 0!==l)switch(l){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(xo(o,t))return i[t]=1,o[t];if(r!==v&&N(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&N(a,t))return i[t]=3,s[t];if(n!==v&&N(n,t))return i[t]=4,n[t];wo&&(i[t]=0)}}const u=So[t];let p,f;return u?("$attrs"===t&&be(e,0,t),u(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==v&&N(n,t)?(i[t]=4,n[t]):(f=c.config.globalProperties,N(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return xo(r,t)?(r[t]=n,!0):o!==v&&N(o,t)?(o[t]=n,!0):!N(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let l;return!!n[i]||e!==v&&N(e,i)||xo(t,i)||(l=s[0])&&N(l,i)||N(o,i)||N(So,i)||N(r.config.globalProperties,i)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:N(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},ko=k({},Co,{get(e,t){if(t!==Symbol.unscopables)return Co.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!n(t)});let wo=!0;function To(e){const t=Oo(e),n=e.proxy,o=e.ctx;wo=!1,t.beforeCreate&&No(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:i,watch:l,provide:c,inject:a,created:u,beforeMount:p,mounted:f,beforeUpdate:d,updated:h,activated:m,deactivated:g,beforeUnmount:v,unmounted:y,render:_,renderTracked:S,renderTriggered:x,errorCaptured:C,serverPrefetch:k,expose:w,inheritAttrs:T,components:N,directives:O}=t;if(a&&function(e,t,n=b,o=!1){E(e)&&(e=Ro(e));for(const r in e){const n=e[r];let s;s=M(n)?"default"in n?Tn(n.from||r,n.default,!0):Tn(n.from||r):Tn(n),wt(s)&&o?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e}):t[r]=s}}(a,o,null,e.appContext.config.unwrapInjectedRef),i)for(const b in i){const e=i[b];P(e)&&(o[b]=e.bind(n))}if(r){const t=r.call(n,n);M(t)&&(e.data=pt(t))}if(wo=!0,s)for(const E in s){const e=s[E],t=P(e)?e.bind(n,n):P(e.get)?e.get.bind(n,n):b,r=!P(e)&&P(e.set)?e.set.bind(n):b,i=os({get:t,set:r});Object.defineProperty(o,E,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(l)for(const b in l)Eo(l[b],o,n,b);if(c){const e=P(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{wn(t,e[t])}))}function A(e,t){E(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(u&&No(u,e,"c"),A(oo,p),A(ro,f),A(so,d),A(io,h),A(Jn,m),A(Zn,g),A(fo,C),A(po,S),A(uo,x),A(lo,v),A(co,y),A(ao,k),E(w))if(w.length){const t=e.exposed||(e.exposed={});w.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});_&&e.render===b&&(e.render=_),null!=T&&(e.inheritAttrs=T),N&&(e.components=N),O&&(e.directives=O)}function No(e,t,n){Bt(E(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Eo(e,t,n,o){const r=o.includes(".")?Pn(n,o):()=>n[o];if(R(e)){const n=t[e];P(n)&&On(r,n)}else if(P(e))On(r,e.bind(n));else if(M(e))if(E(e))e.forEach((e=>Eo(e,t,n,o)));else{const o=P(e.handler)?e.handler.bind(n):t[e.handler];P(o)&&On(r,o,e)}}function Oo(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,l=s.get(t);let c;return l?c=l:r.length||n||o?(c={},r.length&&r.forEach((e=>Ao(c,e,i,!0))),Ao(c,t,i)):c=t,M(t)&&s.set(t,c),c}function Ao(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&Ao(e,s,n,!0),r&&r.forEach((t=>Ao(e,t,n,!0)));for(const i in t)if(o&&"expose"===i);else{const o=Fo[i]||n&&n[i];e[i]=o?o(e[i],t[i]):t[i]}return e}const Fo={data:Po,props:Mo,emits:Mo,methods:Mo,computed:Mo,beforeCreate:$o,created:$o,beforeMount:$o,mounted:$o,beforeUpdate:$o,updated:$o,beforeDestroy:$o,beforeUnmount:$o,destroyed:$o,unmounted:$o,activated:$o,deactivated:$o,errorCaptured:$o,serverPrefetch:$o,components:Mo,directives:Mo,watch:function(e,t){if(!e)return t;if(!t)return e;const n=k(Object.create(null),e);for(const o in t)n[o]=$o(e[o],t[o]);return n},provide:Po,inject:function(e,t){return Mo(Ro(e),Ro(t))}};function Po(e,t){return t?e?function(){return k(P(e)?e.call(this,this):e,P(t)?t.call(this,this):t)}:t:e}function Ro(e){if(E(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function $o(e,t){return e?[...new Set([].concat(e,t))]:t}function Mo(e,t){return e?k(k(Object.create(null),e),t):t}function Vo(e,t,n,o){const[r,s]=e.propsOptions;let i,l=!1;if(t)for(let c in t){if(U(c))continue;const a=t[c];let u;r&&N(r,u=z(c))?s&&s.includes(u)?(i||(i={}))[u]=a:n[u]=a:cn(e.emitsOptions,c)||c in o&&a===o[c]||(o[c]=a,l=!0)}if(s){const t=bt(n),o=i||v;for(let i=0;i<s.length;i++){const l=s[i];n[l]=Io(r,t,l,o[l],e,!N(o,l))}}return l}function Io(e,t,n,o,r,s){const i=e[n];if(null!=i){const e=N(i,"default");if(e&&void 0===o){const e=i.default;if(i.type!==Function&&P(e)){const{propsDefaults:s}=r;n in s?o=s[n]:(zr(r),o=s[n]=e.call(null,t),Kr())}else o=e}i[0]&&(s&&!e?o=!1:!i[1]||""!==o&&o!==G(n)||(o=!0))}return o}function Bo(e,t,n=!1){const o=t.propsCache,r=o.get(e);if(r)return r;const s=e.props,i={},l=[];let c=!1;if(!P(e)){const o=e=>{c=!0;const[n,o]=Bo(e,t,!0);k(i,n),o&&l.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!s&&!c)return M(e)&&o.set(e,y),y;if(E(s))for(let u=0;u<s.length;u++){const e=z(s[u]);Lo(e)&&(i[e]=v)}else if(s)for(const u in s){const e=z(u);if(Lo(e)){const t=s[u],n=i[e]=E(t)||P(t)?{type:t}:Object.assign({},t);if(n){const t=Do(Boolean,n.type),o=Do(String,n.type);n[0]=t>-1,n[1]=o<0||t<o,(t>-1||N(n,"default"))&&l.push(e)}}}const a=[i,l];return M(e)&&o.set(e,a),a}function Lo(e){return"$"!==e[0]}function jo(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function Uo(e,t){return jo(e)===jo(t)}function Do(e,t){return E(t)?t.findIndex((t=>Uo(t,e))):P(t)&&Uo(t,e)?0:-1}const Ho=e=>"_"===e[0]||"$stable"===e,Wo=e=>E(e)?e.map(Vr):[Vr(e)],zo=(e,t,n)=>{if(t._n)return t;const o=fn(((...e)=>Wo(t(...e))),n);return o._c=!1,o},Ko=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Ho(r))continue;const n=e[r];if(P(n))t[r]=zo(0,n,o);else if(null!=n){const e=Wo(n);t[r]=()=>e}}},Go=(e,t)=>{const n=Wo(t);e.slots.default=()=>n};function qo(){return{app:null,config:{isNativeTag:_,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Jo=0;function Zo(e,t){return function(n,o=null){P(n)||(n=Object.assign({},n)),null==o||M(o)||(o=null);const r=qo(),s=new Set;let i=!1;const l=r.app={_uid:Jo++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:cs,get config(){return r.config},set config(e){},use:(e,...t)=>(s.has(e)||(e&&P(e.install)?(s.add(e),e.install(l,...t)):P(e)&&(s.add(e),e(l,...t))),l),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),l),component:(e,t)=>t?(r.components[e]=t,l):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,l):r.directives[e],mount(s,c,a){if(!i){const u=Pr(n,o);return u.appContext=r,c&&t?t(u,s):e(u,s,a),i=!0,l._container=s,s.__vue_app__=l,ts(u.component)||u.component.proxy}},unmount(){i&&(e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,l)};return l}}function Yo(e,t,n,o,r=!1){if(E(e))return void e.forEach(((e,s)=>Yo(e,t&&(E(t)?t[s]:t),n,o,r)));if(Wn(o)&&!r)return;const s=4&o.shapeFlag?ts(o.component)||o.component.proxy:o.el,i=r?null:s,{i:l,r:c}=e,a=t&&t.r,u=l.refs===v?l.refs={}:l.refs,p=l.setupState;if(null!=a&&a!==c&&(R(a)?(u[a]=null,N(p,a)&&(p[a]=null)):wt(a)&&(a.value=null)),P(c))It(c,l,12,[i,u]);else{const t=R(c),o=wt(c);if(t||o){const l=()=>{if(e.f){const n=t?N(p,c)?p[c]:u[c]:c.value;r?E(n)&&w(n,s):E(n)?n.includes(s)||n.push(s):t?(u[c]=[s],N(p,c)&&(p[c]=u[c])):(c.value=[s],e.k&&(u[e.k]=c.value))}else t?(u[c]=i,N(p,c)&&(p[c]=i)):o&&(c.value=i,e.k&&(u[e.k]=i))};i?(l.id=-1,nr(l,n)):l()}}}let Qo=!1;const Xo=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,er=e=>8===e.nodeType;function tr(e){const{mt:t,p:n,o:{patchProp:o,createText:r,nextSibling:s,parentNode:i,remove:l,insert:c,createComment:a}}=e,u=(n,o,l,a,g,v=!1)=>{const y=er(n)&&"["===n.data,b=()=>h(n,o,l,a,g,y),{type:_,ref:S,shapeFlag:x,patchFlag:C}=o;let k=n.nodeType;o.el=n,-2===C&&(v=!1,o.dynamicChildren=null);let w=null;switch(_){case mr:3!==k?""===o.children?(c(o.el=r(""),i(n),n),w=n):w=b():(n.data!==o.children&&(Qo=!0,n.data=o.children),w=s(n));break;case gr:w=8!==k||y?b():s(n);break;case vr:if(y&&(k=(n=s(n)).nodeType),1===k||3===k){w=n;const e=!o.children.length;for(let t=0;t<o.staticCount;t++)e&&(o.children+=1===w.nodeType?w.outerHTML:w.data),t===o.staticCount-1&&(o.anchor=w),w=s(w);return y?s(w):w}b();break;case hr:w=y?d(n,o,l,a,g,v):b();break;default:if(1&x)w=1!==k||o.type.toLowerCase()!==n.tagName.toLowerCase()?b():p(n,o,l,a,g,v);else if(6&x){o.slotScopeIds=g;const e=i(n);if(t(o,e,null,l,a,Xo(e),v),w=y?m(n):s(n),w&&er(w)&&"teleport end"===w.data&&(w=s(w)),Wn(o)){let t;y?(t=Pr(hr),t.anchor=w?w.previousSibling:e.lastChild):t=3===n.nodeType?Mr(""):Pr("div"),t.el=n,o.component.subTree=t}}else 64&x?w=8!==k?b():o.type.hydrate(n,o,l,a,g,v,e,f):128&x&&(w=o.type.hydrate(n,o,l,a,Xo(i(n)),g,v,e,u))}return null!=S&&Yo(S,null,a,o),w},p=(e,t,n,r,s,i)=>{i=i||!!t.dynamicChildren;const{type:c,props:a,patchFlag:u,shapeFlag:p,dirs:d}=t,h="input"===c&&d||"option"===c;if(h||-1!==u){if(d&&ho(t,null,n,"created"),a)if(h||!i||48&u)for(const t in a)(h&&t.endsWith("value")||x(t)&&!U(t))&&o(e,t,null,a[t],!1,void 0,n);else a.onClick&&o(e,"onClick",null,a.onClick,!1,void 0,n);let c;if((c=a&&a.onVnodeBeforeMount)&&jr(c,n,t),d&&ho(t,null,n,"beforeMount"),((c=a&&a.onVnodeMounted)||d)&&Cn((()=>{c&&jr(c,n,t),d&&ho(t,null,n,"mounted")}),r),16&p&&(!a||!a.innerHTML&&!a.textContent)){let o=f(e.firstChild,t,e,n,r,s,i);for(;o;){Qo=!0;const e=o;o=o.nextSibling,l(e)}}else 8&p&&e.textContent!==t.children&&(Qo=!0,e.textContent=t.children)}return e.nextSibling},f=(e,t,o,r,s,i,l)=>{l=l||!!t.dynamicChildren;const c=t.children,a=c.length;for(let p=0;p<a;p++){const t=l?c[p]:c[p]=Vr(c[p]);if(e)e=u(e,t,r,s,i,l);else{if(t.type===mr&&!t.children)continue;Qo=!0,n(null,t,o,null,r,s,Xo(o),i)}}return e},d=(e,t,n,o,r,l)=>{const{slotScopeIds:u}=t;u&&(r=r?r.concat(u):u);const p=i(e),d=f(s(e),t,p,n,o,r,l);return d&&er(d)&&"]"===d.data?s(t.anchor=d):(Qo=!0,c(t.anchor=a("]"),p,d),d)},h=(e,t,o,r,c,a)=>{if(Qo=!0,t.el=null,a){const t=m(e);for(;;){const n=s(e);if(!n||n===t)break;l(n)}}const u=s(e),p=i(e);return l(e),n(null,t,p,u,o,r,Xo(p),c),u},m=e=>{let t=0;for(;e;)if((e=s(e))&&er(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return s(e);t--}return e};return[(e,t)=>{if(!t.hasChildNodes())return n(null,e,t),en(),void(t._vnode=e);Qo=!1,u(t.firstChild,e,null,null,null),en(),t._vnode=e,Qo&&console.error("Hydration completed but contains mismatches.")},u]}const nr=Cn;function or(e){return sr(e)}function rr(e){return sr(e,tr)}function sr(e,t){(ee||(ee="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{})).__VUE__=!0;const{insert:n,remove:o,patchProp:r,createElement:s,createText:i,createComment:l,setText:c,setElementText:a,parentNode:u,nextSibling:p,setScopeId:f=b,insertStaticContent:d}=e,h=(e,t,n,o=null,r=null,s=null,i=!1,l=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!Nr(e,t)&&(o=J(e),D(e,r,s,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:a,ref:u,shapeFlag:p}=t;switch(a){case mr:m(e,t,n,o);break;case gr:g(e,t,n,o);break;case vr:null==e&&_(t,n,o,i);break;case hr:A(e,t,n,o,r,s,i,l,c);break;default:1&p?S(e,t,n,o,r,s,i,l,c):6&p?F(e,t,n,o,r,s,i,l,c):(64&p||128&p)&&a.process(e,t,n,o,r,s,i,l,c,X)}null!=u&&r&&Yo(u,e&&e.ref,s,t||e,!t)},m=(e,t,o,r)=>{if(null==e)n(t.el=i(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&c(n,t.children)}},g=(e,t,o,r)=>{null==e?n(t.el=l(t.children||""),o,r):t.el=e.el},_=(e,t,n,o)=>{[e.el,e.anchor]=d(e.children,t,n,o,e.el,e.anchor)},S=(e,t,n,o,r,s,i,l,c)=>{i=i||"svg"===t.type,null==e?x(t,n,o,r,s,i,l,c):T(e,t,r,s,i,l,c)},x=(e,t,o,i,l,c,u,p)=>{let f,d;const{type:h,props:m,shapeFlag:g,transition:v,dirs:y}=e;if(f=e.el=s(e.type,c,m&&m.is,m),8&g?a(f,e.children):16&g&&w(e.children,f,null,i,l,c&&"foreignObject"!==h,u,p),y&&ho(e,null,i,"created"),m){for(const t in m)"value"===t||U(t)||r(f,t,null,m[t],c,e.children,i,l,q);"value"in m&&r(f,"value",null,m.value),(d=m.onVnodeBeforeMount)&&jr(d,i,e)}C(f,e,e.scopeId,u,i),y&&ho(e,null,i,"beforeMount");const b=(!l||l&&!l.pendingBranch)&&v&&!v.persisted;b&&v.beforeEnter(f),n(f,t,o),((d=m&&m.onVnodeMounted)||b||y)&&nr((()=>{d&&jr(d,i,e),b&&v.enter(f),y&&ho(e,null,i,"mounted")}),l)},C=(e,t,n,o,r)=>{if(n&&f(e,n),o)for(let s=0;s<o.length;s++)f(e,o[s]);if(r){if(t===r.subTree){const t=r.vnode;C(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},w=(e,t,n,o,r,s,i,l,c=0)=>{for(let a=c;a<e.length;a++){const c=e[a]=l?Ir(e[a]):Vr(e[a]);h(null,c,t,n,o,r,s,i,l)}},T=(e,t,n,o,s,i,l)=>{const c=t.el=e.el;let{patchFlag:u,dynamicChildren:p,dirs:f}=t;u|=16&e.patchFlag;const d=e.props||v,h=t.props||v;let m;n&&ir(n,!1),(m=h.onVnodeBeforeUpdate)&&jr(m,n,t,e),f&&ho(t,e,n,"beforeUpdate"),n&&ir(n,!0);const g=s&&"foreignObject"!==t.type;if(p?E(e.dynamicChildren,p,c,n,o,g,i):l||I(e,t,c,null,n,o,g,i,!1),u>0){if(16&u)O(c,t,d,h,n,o,s);else if(2&u&&d.class!==h.class&&r(c,"class",null,h.class,s),4&u&&r(c,"style",d.style,h.style,s),8&u){const i=t.dynamicProps;for(let t=0;t<i.length;t++){const l=i[t],a=d[l],u=h[l];u===a&&"value"!==l||r(c,l,a,u,s,e.children,n,o,q)}}1&u&&e.children!==t.children&&a(c,t.children)}else l||null!=p||O(c,t,d,h,n,o,s);((m=h.onVnodeUpdated)||f)&&nr((()=>{m&&jr(m,n,t,e),f&&ho(t,e,n,"updated")}),o)},E=(e,t,n,o,r,s,i)=>{for(let l=0;l<t.length;l++){const c=e[l],a=t[l],p=c.el&&(c.type===hr||!Nr(c,a)||70&c.shapeFlag)?u(c.el):n;h(c,a,p,null,o,r,s,i,!0)}},O=(e,t,n,o,s,i,l)=>{if(n!==o){if(n!==v)for(const c in n)U(c)||c in o||r(e,c,n[c],null,l,t.children,s,i,q);for(const c in o){if(U(c))continue;const a=o[c],u=n[c];a!==u&&"value"!==c&&r(e,c,u,a,l,t.children,s,i,q)}"value"in o&&r(e,"value",n.value,o.value)}},A=(e,t,o,r,s,l,c,a,u)=>{const p=t.el=e?e.el:i(""),f=t.anchor=e?e.anchor:i("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:m}=t;m&&(a=a?a.concat(m):m),null==e?(n(p,o,r),n(f,o,r),w(t.children,o,f,s,l,c,a,u)):d>0&&64&d&&h&&e.dynamicChildren?(E(e.dynamicChildren,h,o,s,l,c,a),(null!=t.key||s&&t===s.subTree)&&lr(e,t,!0)):I(e,t,o,f,s,l,c,a,u)},F=(e,t,n,o,r,s,i,l,c)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,c):P(t,n,o,r,s,i,c):R(e,t,c)},P=(e,t,n,o,r,s,i)=>{const l=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||Ur,s={uid:Dr++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new ne(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Bo(o,r),emitsOptions:ln(o,r),emit:null,emitted:null,propsDefaults:v,inheritAttrs:o.inheritAttrs,ctx:v,data:v,props:v,attrs:v,slots:v,refs:v,setupState:v,setupContext:null,suspense:n,suspenseId:n?n.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};s.ctx={_:s},s.root=t?t.root:s,s.emit=sn.bind(null,s),e.ce&&e.ce(s);return s}(e,o,r);if(Kn(e)&&(l.ctx.renderer=X),function(e,t=!1){Zr=t;const{props:n,children:o}=e.vnode,r=Gr(e);(function(e,t,n,o=!1){const r={},s={};Q(s,Er,1),e.propsDefaults=Object.create(null),Vo(e,t,r,s);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);e.props=n?o?r:ft(r):e.type.props?r:s,e.attrs=s})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=bt(t),Q(t,"_",n)):Ko(t,e.slots={})}else e.slots={},t&&Go(e,t);Q(e.slots,Er,1)})(e,o);const s=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=_t(new Proxy(e.ctx,Co));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?es(e):null;zr(e),ve();const r=It(o,e,0,[e.props,n]);if(ye(),Kr(),V(r)){if(r.then(Kr,Kr),t)return r.then((n=>{Yr(e,n,t)})).catch((t=>{Lt(t,e,0)}));e.asyncDep=r}else Yr(e,r,t)}else Xr(e,t)}(e,t):void 0;Zr=!1}(l),l.asyncDep){if(r&&r.registerDep(l,$),!e.el){const e=l.subTree=Pr(gr);g(null,e,t,n)}}else $(l,e,t,n,r,s,i)},R=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:l,patchFlag:c}=t,a=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!r&&!l||l&&l.$stable)||o!==i&&(o?!i||gn(o,i,a):!!i);if(1024&c)return!0;if(16&c)return o?gn(o,i,a):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(i[n]!==o[n]&&!cn(a,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void M(o,t,n);o.next=t,function(e){const t=Dt.indexOf(e);t>Ht&&Dt.splice(t,1)}(o.update),o.update()}else t.el=e.el,o.vnode=t},$=(e,t,n,o,r,s,i)=>{const l=e.effect=new de((()=>{if(e.isMounted){let t,{next:n,bu:o,u:l,parent:c,vnode:a}=e,p=n;ir(e,!1),n?(n.el=a.el,M(e,n,i)):n=a,o&&Y(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&jr(t,c,n,a),ir(e,!0);const f=dn(e),d=e.subTree;e.subTree=f,h(d,f,u(d.el),J(d),e,r,s),n.el=f.el,null===p&&vn(e,f.el),l&&nr(l,r),(t=n.props&&n.props.onVnodeUpdated)&&nr((()=>jr(t,c,n,a)),r)}else{let i;const{el:l,props:c}=t,{bm:a,m:u,parent:p}=e,f=Wn(t);if(ir(e,!1),a&&Y(a),!f&&(i=c&&c.onVnodeBeforeMount)&&jr(i,p,t),ir(e,!0),l&&oe){const n=()=>{e.subTree=dn(e),oe(l,e.subTree,e,r,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const i=e.subTree=dn(e);h(null,i,n,o,e,r,s),t.el=i.el}if(u&&nr(u,r),!f&&(i=c&&c.onVnodeMounted)){const e=t;nr((()=>jr(i,p,e)),r)}(256&t.shapeFlag||p&&Wn(p.vnode)&&256&p.vnode.shapeFlag)&&e.a&&nr(e.a,r),e.isMounted=!0,t=n=o=null}}),(()=>Zt(c)),e.scope),c=e.update=()=>l.run();c.id=e.uid,ir(e,!0),c()},M=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,l=bt(r),[c]=e.propsOptions;let a=!1;if(!(o||i>0)||16&i){let o;Vo(e,t,r,s)&&(a=!0);for(const s in l)t&&(N(t,s)||(o=G(s))!==s&&N(t,o))||(c?!n||void 0===n[s]&&void 0===n[o]||(r[s]=Io(c,l,s,void 0,e,!0)):delete r[s]);if(s!==l)for(const e in s)t&&N(t,e)||(delete s[e],a=!0)}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let i=n[o];if(cn(e.emitsOptions,i))continue;const u=t[i];if(c)if(N(s,i))u!==s[i]&&(s[i]=u,a=!0);else{const t=z(i);r[t]=Io(c,l,t,u,e,!1)}else u!==s[i]&&(s[i]=u,a=!0)}}a&&Se(e,"set","$attrs")}(e,t.props,o,n),((e,t,n)=>{const{vnode:o,slots:r}=e;let s=!0,i=v;if(32&o.shapeFlag){const e=t._;e?n&&1===e?s=!1:(k(r,t),n||1!==e||delete r._):(s=!t.$stable,Ko(t,r)),i=t}else t&&(Go(e,t),i={default:1});if(s)for(const l in r)Ho(l)||l in i||delete r[l]})(e,t.children,n),ve(),Xt(),ye()},I=(e,t,n,o,r,s,i,l,c=!1)=>{const u=e&&e.children,p=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void L(u,f,n,o,r,s,i,l,c);if(256&d)return void B(u,f,n,o,r,s,i,l,c)}8&h?(16&p&&q(u,r,s),f!==u&&a(n,f)):16&p?16&h?L(u,f,n,o,r,s,i,l,c):q(u,r,s,!0):(8&p&&a(n,""),16&h&&w(f,n,o,r,s,i,l,c))},B=(e,t,n,o,r,s,i,l,c)=>{const a=(e=e||y).length,u=(t=t||y).length,p=Math.min(a,u);let f;for(f=0;f<p;f++){const o=t[f]=c?Ir(t[f]):Vr(t[f]);h(e[f],o,n,null,r,s,i,l,c)}a>u?q(e,r,s,!0,!1,p):w(t,n,o,r,s,i,l,c,p)},L=(e,t,n,o,r,s,i,l,c)=>{let a=0;const u=t.length;let p=e.length-1,f=u-1;for(;a<=p&&a<=f;){const o=e[a],u=t[a]=c?Ir(t[a]):Vr(t[a]);if(!Nr(o,u))break;h(o,u,n,null,r,s,i,l,c),a++}for(;a<=p&&a<=f;){const o=e[p],a=t[f]=c?Ir(t[f]):Vr(t[f]);if(!Nr(o,a))break;h(o,a,n,null,r,s,i,l,c),p--,f--}if(a>p){if(a<=f){const e=f+1,p=e<u?t[e].el:o;for(;a<=f;)h(null,t[a]=c?Ir(t[a]):Vr(t[a]),n,p,r,s,i,l,c),a++}}else if(a>f)for(;a<=p;)D(e[a],r,s,!0),a++;else{const d=a,m=a,g=new Map;for(a=m;a<=f;a++){const e=t[a]=c?Ir(t[a]):Vr(t[a]);null!=e.key&&g.set(e.key,a)}let v,b=0;const _=f-m+1;let S=!1,x=0;const C=new Array(_);for(a=0;a<_;a++)C[a]=0;for(a=d;a<=p;a++){const o=e[a];if(b>=_){D(o,r,s,!0);continue}let u;if(null!=o.key)u=g.get(o.key);else for(v=m;v<=f;v++)if(0===C[v-m]&&Nr(o,t[v])){u=v;break}void 0===u?D(o,r,s,!0):(C[u-m]=a+1,u>=x?x=u:S=!0,h(o,t[u],n,null,r,s,i,l,c),b++)}const k=S?function(e){const t=e.slice(),n=[0];let o,r,s,i,l;const c=e.length;for(o=0;o<c;o++){const c=e[o];if(0!==c){if(r=n[n.length-1],e[r]<c){t[o]=r,n.push(o);continue}for(s=0,i=n.length-1;s<i;)l=s+i>>1,e[n[l]]<c?s=l+1:i=l;c<e[n[s]]&&(s>0&&(t[o]=n[s-1]),n[s]=o)}}s=n.length,i=n[s-1];for(;s-- >0;)n[s]=i,i=t[i];return n}(C):y;for(v=k.length-1,a=_-1;a>=0;a--){const e=m+a,p=t[e],f=e+1<u?t[e+1].el:o;0===C[a]?h(null,p,n,f,r,s,i,l,c):S&&(v<0||a!==k[v]?j(p,n,f,2):v--)}}},j=(e,t,o,r,s=null)=>{const{el:i,type:l,transition:c,children:a,shapeFlag:u}=e;if(6&u)return void j(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void l.move(e,t,o,X);if(l===hr){n(i,t,o);for(let e=0;e<a.length;e++)j(a[e],t,o,r);return void n(e.anchor,t,o)}if(l===vr)return void(({el:e,anchor:t},o,r)=>{let s;for(;e&&e!==t;)s=p(e),n(e,o,r),e=s;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&c)if(0===r)c.beforeEnter(i),n(i,t,o),nr((()=>c.enter(i)),s);else{const{leave:e,delayLeave:r,afterLeave:s}=c,l=()=>n(i,t,o),a=()=>{e(i,(()=>{l(),s&&s()}))};r?r(i,l,a):a()}else n(i,t,o)},D=(e,t,n,o=!1,r=!1)=>{const{type:s,props:i,ref:l,children:c,dynamicChildren:a,shapeFlag:u,patchFlag:p,dirs:f}=e;if(null!=l&&Yo(l,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const d=1&u&&f,h=!Wn(e);let m;if(h&&(m=i&&i.onVnodeBeforeUnmount)&&jr(m,t,e),6&u)K(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);d&&ho(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,X,o):a&&(s!==hr||p>0&&64&p)?q(a,t,n,!1,!0):(s===hr&&384&p||!r&&16&u)&&q(c,t,n),o&&H(e)}(h&&(m=i&&i.onVnodeUnmounted)||d)&&nr((()=>{m&&jr(m,t,e),d&&ho(e,null,t,"unmounted")}),n)},H=e=>{const{type:t,el:n,anchor:r,transition:s}=e;if(t===hr)return void W(n,r);if(t===vr)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=p(e),o(e),e=n;o(t)})(e);const i=()=>{o(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:o}=s,r=()=>t(n,i);o?o(e.el,i,r):r()}else i()},W=(e,t)=>{let n;for(;e!==t;)n=p(e),o(e),e=n;o(t)},K=(e,t,n)=>{const{bum:o,scope:r,update:s,subTree:i,um:l}=e;o&&Y(o),r.stop(),s&&(s.active=!1,D(i,e,t,n)),l&&nr(l,t),nr((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},q=(e,t,n,o=!1,r=!1,s=0)=>{for(let i=s;i<e.length;i++)D(e[i],t,n,o,r)},J=e=>6&e.shapeFlag?J(e.component.subTree):128&e.shapeFlag?e.suspense.next():p(e.anchor||e.el),Z=(e,t,n)=>{null==e?t._vnode&&D(t._vnode,null,null,!0):h(t._vnode||null,e,t,null,null,null,n),Xt(),en(),t._vnode=e},X={p:h,um:D,m:j,r:H,mt:P,mc:w,pc:I,pbc:E,n:J,o:e};let te,oe;return t&&([te,oe]=t(X)),{render:Z,hydrate:te,createApp:Zo(Z,te)}}function ir({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function lr(e,t,n=!1){const o=e.children,r=t.children;if(E(o)&&E(r))for(let s=0;s<o.length;s++){const e=o[s];let t=r[s];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=r[s]=Ir(r[s]),t.el=e.el),n||lr(e,t)),t.type===mr&&(t.el=e.el)}}const cr=e=>e&&(e.disabled||""===e.disabled),ar=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,ur=(e,t)=>{const n=e&&e.to;if(R(n)){if(t){return t(n)}return null}return n};function pr(e,t,n,{o:{insert:o},m:r},s=2){0===s&&o(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:a,props:u}=e,p=2===s;if(p&&o(i,t,n),(!p||cr(u))&&16&c)for(let f=0;f<a.length;f++)r(a[f],t,n,2);p&&o(l,t,n)}const fr={__isTeleport:!0,process(e,t,n,o,r,s,i,l,c,a){const{mc:u,pc:p,pbc:f,o:{insert:d,querySelector:h,createText:m}}=a,g=cr(t.props);let{shapeFlag:v,children:y,dynamicChildren:b}=t;if(null==e){const e=t.el=m(""),a=t.anchor=m("");d(e,n,o),d(a,n,o);const p=t.target=ur(t.props,h),f=t.targetAnchor=m("");p&&(d(f,p),i=i||ar(p));const b=(e,t)=>{16&v&&u(y,e,t,r,s,i,l,c)};g?b(n,a):p&&b(p,f)}else{t.el=e.el;const o=t.anchor=e.anchor,u=t.target=e.target,d=t.targetAnchor=e.targetAnchor,m=cr(e.props),v=m?n:u,y=m?o:d;if(i=i||ar(u),b?(f(e.dynamicChildren,b,v,r,s,i,l),lr(e,t,!0)):c||p(e,t,v,y,r,s,i,l,!1),g)m||pr(t,n,o,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=ur(t.props,h);e&&pr(t,e,null,a,0)}else m&&pr(t,u,d,a,1)}dr(t)},remove(e,t,n,o,{um:r,o:{remove:s}},i){const{shapeFlag:l,children:c,anchor:a,targetAnchor:u,target:p,props:f}=e;if(p&&s(u),(i||!cr(f))&&(s(a),16&l))for(let d=0;d<c.length;d++){const e=c[d];r(e,t,n,!0,!!e.dynamicChildren)}},move:pr,hydrate:function(e,t,n,o,r,s,{o:{nextSibling:i,parentNode:l,querySelector:c}},a){const u=t.target=ur(t.props,c);if(u){const c=u._lpa||u.firstChild;if(16&t.shapeFlag)if(cr(t.props))t.anchor=a(i(e),t,l(e),n,o,r,s),t.targetAnchor=c;else{t.anchor=i(e);let l=c;for(;l;)if(l=i(l),l&&8===l.nodeType&&"teleport anchor"===l.data){t.targetAnchor=l,u._lpa=t.targetAnchor&&i(t.targetAnchor);break}a(c,t,u,n,o,r,s)}dr(t)}return t.anchor&&i(t.anchor)}};function dr(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n!==e.targetAnchor;)1===n.nodeType&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const hr=Symbol(void 0),mr=Symbol(void 0),gr=Symbol(void 0),vr=Symbol(void 0),yr=[];let br=null;function _r(e=!1){yr.push(br=e?null:[])}function Sr(){yr.pop(),br=yr[yr.length-1]||null}let xr=1;function Cr(e){xr+=e}function kr(e){return e.dynamicChildren=xr>0?br||y:null,Sr(),xr>0&&br&&br.push(e),e}function wr(e,t,n,o,r){return kr(Pr(e,t,n,o,r,!0))}function Tr(e){return!!e&&!0===e.__v_isVNode}function Nr(e,t){return e.type===t.type&&e.key===t.key}const Er="__vInternal",Or=({key:e})=>null!=e?e:null,Ar=({ref:e,ref_key:t,ref_for:n})=>null!=e?R(e)||wt(e)||P(e)?{i:an,r:e,k:t,f:!!n}:e:null;function Fr(e,t=null,n=null,o=0,r=null,s=(e===hr?0:1),i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Or(t),ref:t&&Ar(t),scopeId:un,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:an};return l?(Br(c,n),128&s&&e.normalize(c)):n&&(c.shapeFlag|=R(n)?8:16),xr>0&&!i&&br&&(c.patchFlag>0||6&s)&&32!==c.patchFlag&&br.push(c),c}const Pr=function(e,t=null,n=null,r=0,s=null,i=!1){e&&e!==go||(e=gr);if(Tr(e)){const o=$r(e,t,!0);return n&&Br(o,n),xr>0&&!i&&br&&(6&o.shapeFlag?br[br.indexOf(e)]=o:br.push(o)),o.patchFlag|=-2,o}l=e,P(l)&&"__vccOpts"in l&&(e=e.__vccOpts);var l;if(t){t=Rr(t);let{class:e,style:n}=t;e&&!R(e)&&(t.class=c(e)),M(n)&&(yt(n)&&!E(n)&&(n=k({},n)),t.style=o(n))}const a=R(e)?1:yn(e)?128:(e=>e.__isTeleport)(e)?64:M(e)?4:P(e)?2:0;return Fr(e,t,n,r,s,a,i,!0)};function Rr(e){return e?yt(e)||Er in e?k({},e):e:null}function $r(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,l=t?Lr(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Or(l),ref:t&&t.ref?n&&r?E(r)?r.concat(Ar(t)):[r,Ar(t)]:Ar(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==hr?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&$r(e.ssContent),ssFallback:e.ssFallback&&$r(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function Mr(e=" ",t=0){return Pr(mr,null,e,t)}function Vr(e){return null==e||"boolean"==typeof e?Pr(gr):E(e)?Pr(hr,null,e.slice()):"object"==typeof e?Ir(e):Pr(mr,null,String(e))}function Ir(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:$r(e)}function Br(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(E(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Br(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Er in t?3===o&&an&&(1===an.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=an}}else P(t)?(t={default:t,_ctx:an},n=32):(t=String(t),64&o?(n=16,t=[Mr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Lr(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const e in r)if("class"===e)t.class!==r.class&&(t.class=c([t.class,r.class]));else if("style"===e)t.style=o([t.style,r.style]);else if(x(e)){const n=t[e],o=r[e];!o||n===o||E(n)&&n.includes(o)||(t[e]=n?[].concat(n,o):o)}else""!==e&&(t[e]=r[e])}return t}function jr(e,t,n,o=null){Bt(e,t,7,[n,o])}const Ur=qo();let Dr=0;let Hr=null;const Wr=()=>Hr||an,zr=e=>{Hr=e,e.scope.on()},Kr=()=>{Hr&&Hr.scope.off(),Hr=null};function Gr(e){return 4&e.vnode.shapeFlag}let qr,Jr,Zr=!1;function Yr(e,t,n){P(t)?e.render=t:M(t)&&(e.setupState=Ft(t)),Xr(e,n)}function Qr(e){qr=e,Jr=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,ko))}}function Xr(e,t,n){const o=e.type;if(!e.render){if(!t&&qr&&!o.render){const t=o.template||Oo(e).template;if(t){const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:s,compilerOptions:i}=o,l=k(k({isCustomElement:n,delimiters:s},r),i);o.render=qr(t,l)}}e.render=o.render||b,Jr&&Jr(e)}zr(e),ve(),To(e),ye(),Kr()}function es(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=function(e){return new Proxy(e.attrs,{get:(t,n)=>(be(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t}}function ts(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ft(_t(e.exposed)),{get:(t,n)=>n in t?t[n]:n in So?So[n](e):void 0,has:(e,t)=>t in e||t in So}))}function ns(e,t=!0){return P(e)?e.displayName||e.name:e.name||t&&e.__name}const os=(e,t)=>function(e,t,n=!1){let o,r;const s=P(e);return s?(o=e,r=b):(o=e.get,r=e.set),new Vt(o,r,s||!r,n)}(e,0,Zr);function rs(){const e=Wr();return e.setupContext||(e.setupContext=es(e))}function ss(e,t,n){const o=arguments.length;return 2===o?M(t)&&!E(t)?Tr(t)?Pr(e,null,[t]):Pr(e,t):Pr(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Tr(n)&&(n=[n]),Pr(e,t,n))}const is=Symbol("");function ls(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let o=0;o<n.length;o++)if(Z(n[o],t[o]))return!1;return xr>0&&br&&br.push(e),!0}const cs="3.2.45",as="undefined"!=typeof document?document:null,us=as&&as.createElement("template"),ps={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t?as.createElementNS("http://www.w3.org/2000/svg",e):as.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>as.createTextNode(e),createComment:e=>as.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>as.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,s){const i=n?n.previousSibling:t.lastChild;if(r&&(r===s||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==s&&(r=r.nextSibling););else{us.innerHTML=o?`<svg>${e}</svg>`:e;const r=us.content;if(o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};const fs=/\s*!important$/;function ds(e,t,n){if(E(n))n.forEach((n=>ds(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=ms[t];if(n)return n;let o=z(t);if("filter"!==o&&o in e)return ms[t]=o;o=q(o);for(let r=0;r<hs.length;r++){const n=hs[r]+o;if(n in e)return ms[t]=n}return t}(e,t);fs.test(n)?e.setProperty(G(o),n.replace(fs,""),"important"):e[o]=n}}const hs=["Webkit","Moz","ms"],ms={};const gs="http://www.w3.org/1999/xlink";function vs(e,t,n,o){e.addEventListener(t,n,o)}function ys(e,t,n,o,r=null){const s=e._vei||(e._vei={}),i=s[t];if(o&&i)i.value=o;else{const[n,l]=function(e){let t;if(bs.test(e)){let n;for(t={};n=e.match(bs);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):G(e.slice(2)),t]}(t);if(o){const i=s[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Bt(function(e,t){if(E(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>_s||(Ss.then((()=>_s=0)),_s=Date.now()))(),n}(o,r);vs(e,n,i,l)}else i&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,l),s[t]=void 0)}}const bs=/(?:Once|Passive|Capture)$/;let _s=0;const Ss=Promise.resolve();const xs=/^on[a-z]/;function Cs(e,t){const n=Hn(e);class o extends ws{constructor(e){super(n,e,t)}}return o.def=n,o}const ks="undefined"!=typeof HTMLElement?HTMLElement:class{};class ws extends ks{constructor(e,t={},n){super(),this._def=e,this._props=t,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,Jt((()=>{this._connected||(Si(null,this.shadowRoot),this._instance=null)}))}_resolveDef(){this._resolved=!0;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);new MutationObserver((e=>{for(const t of e)this._setAttr(t.attributeName)})).observe(this,{attributes:!0});const e=(e,t=!1)=>{const{props:n,styles:o}=e;let r;if(n&&!E(n))for(const s in n){const e=n[s];(e===Number||e&&e.type===Number)&&(s in this._props&&(this._props[s]=X(this._props[s])),(r||(r=Object.create(null)))[z(s)]=!0)}this._numberProps=r,t&&this._resolveProps(e),this._applyStyles(o),this._update()},t=this._def.__asyncLoader;t?t().then((t=>e(t,!0))):e(this._def)}_resolveProps(e){const{props:t}=e,n=E(t)?t:Object.keys(t||{});for(const o of Object.keys(this))"_"!==o[0]&&n.includes(o)&&this._setProp(o,this[o],!0,!1);for(const o of n.map(z))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(e){this._setProp(o,e)}})}_setAttr(e){let t=this.getAttribute(e);const n=z(e);this._numberProps&&this._numberProps[n]&&(t=X(t)),this._setProp(n,t,!1)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,o=!0){t!==this._props[e]&&(this._props[e]=t,o&&this._instance&&this._update(),n&&(!0===t?this.setAttribute(G(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(G(e),t+""):t||this.removeAttribute(G(e))))}_update(){Si(this._createVNode(),this.shadowRoot)}_createVNode(){const e=Pr(this._def,k({},this._props));return this._instance||(e.ce=e=>{this._instance=e,e.isCE=!0;const t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,{detail:t}))};e.emit=(e,...n)=>{t(e,n),G(e)!==e&&t(G(e),n)};let n=this;for(;n=n&&(n.parentNode||n.host);)if(n instanceof ws){e.parent=n._instance,e.provides=n._instance.provides;break}}),e}_applyStyles(e){e&&e.forEach((e=>{const t=document.createElement("style");t.textContent=e,this.shadowRoot.appendChild(t)}))}}function Ts(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{Ts(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)Ns(e.el,t);else if(e.type===hr)e.children.forEach((e=>Ts(e,t)));else if(e.type===vr){let{el:n,anchor:o}=e;for(;n&&(Ns(n,t),n!==o);)n=n.nextSibling}}function Ns(e,t){if(1===e.nodeType){const n=e.style;for(const e in t)n.setProperty(`--${e}`,t[e])}}const Es="transition",Os="animation",As=(e,{slots:t})=>ss(Vn,Ms(e),t);As.displayName="Transition";const Fs={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},Ps=As.props=k({},Vn.props,Fs),Rs=(e,t=[])=>{E(e)?e.forEach((e=>e(...t))):e&&e(...t)},$s=e=>!!e&&(E(e)?e.some((e=>e.length>1)):e.length>1);function Ms(e){const t={};for(const k in e)k in Fs||(t[k]=e[k]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=s,appearActiveClass:a=i,appearToClass:u=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,h=function(e){if(null==e)return null;if(M(e))return[Vs(e.enter),Vs(e.leave)];{const t=Vs(e);return[t,t]}}(r),m=h&&h[0],g=h&&h[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:b,onLeave:_,onLeaveCancelled:S,onBeforeAppear:x=v,onAppear:C=y,onAppearCancelled:w=b}=t,T=(e,t,n)=>{Bs(e,t?u:l),Bs(e,t?a:i),n&&n()},N=(e,t)=>{e._isLeaving=!1,Bs(e,p),Bs(e,d),Bs(e,f),t&&t()},E=e=>(t,n)=>{const r=e?C:y,i=()=>T(t,e,n);Rs(r,[t,i]),Ls((()=>{Bs(t,e?c:s),Is(t,e?u:l),$s(r)||Us(t,o,m,i)}))};return k(t,{onBeforeEnter(e){Rs(v,[e]),Is(e,s),Is(e,i)},onBeforeAppear(e){Rs(x,[e]),Is(e,c),Is(e,a)},onEnter:E(!1),onAppear:E(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>N(e,t);Is(e,p),zs(),Is(e,f),Ls((()=>{e._isLeaving&&(Bs(e,p),Is(e,d),$s(_)||Us(e,o,g,n))})),Rs(_,[e,n])},onEnterCancelled(e){T(e,!1),Rs(b,[e])},onAppearCancelled(e){T(e,!0),Rs(w,[e])},onLeaveCancelled(e){N(e),Rs(S,[e])}})}function Vs(e){return X(e)}function Is(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function Bs(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Ls(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let js=0;function Us(e,t,n,o){const r=e._endId=++js,s=()=>{r===e._endId&&o()};if(n)return setTimeout(s,n);const{type:i,timeout:l,propCount:c}=Ds(e,t);if(!i)return o();const a=i+"end";let u=0;const p=()=>{e.removeEventListener(a,f),s()},f=t=>{t.target===e&&++u>=c&&p()};setTimeout((()=>{u<c&&p()}),l+1),e.addEventListener(a,f)}function Ds(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),s=o("transitionDuration"),i=Hs(r,s),l=o("animationDelay"),c=o("animationDuration"),a=Hs(l,c);let u=null,p=0,f=0;t===Es?i>0&&(u=Es,p=i,f=s.length):t===Os?a>0&&(u=Os,p=a,f=c.length):(p=Math.max(i,a),u=p>0?i>a?Es:Os:null,f=u?u===Es?s.length:c.length:0);return{type:u,timeout:p,propCount:f,hasTransform:u===Es&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString())}}function Hs(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>Ws(t)+Ws(e[n]))))}function Ws(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function zs(){return document.body.offsetHeight}const Ks=new WeakMap,Gs=new WeakMap,qs={name:"TransitionGroup",props:k({},Ps,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Wr(),o=$n();let r,s;return io((()=>{if(!r.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode();e._vtc&&e._vtc.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(o);const{hasTransform:s}=Ds(o);return r.removeChild(o),s}(r[0].el,n.vnode.el,t))return;r.forEach(Js),r.forEach(Zs);const o=r.filter(Ys);zs(),o.forEach((e=>{const n=e.el,o=n.style;Is(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n._moveCb=null,Bs(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const i=bt(e),l=Ms(i);let c=i.tag||hr;r=s,s=t.default?Dn(t.default()):[];for(let e=0;e<s.length;e++){const t=s[e];null!=t.key&&Un(t,Bn(t,l,o,n))}if(r)for(let e=0;e<r.length;e++){const t=r[e];Un(t,Bn(t,l,o,n)),Ks.set(t,t.el.getBoundingClientRect())}return Pr(c,null,s)}}};function Js(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function Zs(e){Gs.set(e,e.el.getBoundingClientRect())}function Ys(e){const t=Ks.get(e),n=Gs.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${o}px,${r}px)`,t.transitionDuration="0s",e}}const Qs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return E(t)?e=>Y(t,e):t};function Xs(e){e.target.composing=!0}function ei(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ti={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=Qs(r);const s=o||r.props&&"number"===r.props.type;vs(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n&&(o=o.trim()),s&&(o=X(o)),e._assign(o)})),n&&vs(e,"change",(()=>{e.value=e.value.trim()})),t||(vs(e,"compositionstart",Xs),vs(e,"compositionend",ei),vs(e,"change",ei))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},s){if(e._assign=Qs(s),e.composing)return;if(document.activeElement===e&&"range"!==e.type){if(n)return;if(o&&e.value.trim()===t)return;if((r||"number"===e.type)&&X(e.value)===t)return}const i=null==t?"":t;e.value!==i&&(e.value=i)}},ni={deep:!0,created(e,t,n){e._assign=Qs(n),vs(e,"change",(()=>{const t=e._modelValue,n=li(e),o=e.checked,r=e._assign;if(E(t)){const e=m(t,n),s=-1!==e;if(o&&!s)r(t.concat(n));else if(!o&&s){const n=[...t];n.splice(e,1),r(n)}}else if(A(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(ci(e,o))}))},mounted:oi,beforeUpdate(e,t,n){e._assign=Qs(n),oi(e,t,n)}};function oi(e,{value:t,oldValue:n},o){e._modelValue=t,E(t)?e.checked=m(t,o.props.value)>-1:A(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=h(t,ci(e,!0)))}const ri={created(e,{value:t},n){e.checked=h(t,n.props.value),e._assign=Qs(n),vs(e,"change",(()=>{e._assign(li(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=Qs(o),t!==n&&(e.checked=h(t,o.props.value))}},si={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const r=A(t);vs(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?X(li(e)):li(e)));e._assign(e.multiple?r?new Set(t):t:t[0])})),e._assign=Qs(o)},mounted(e,{value:t}){ii(e,t)},beforeUpdate(e,t,n){e._assign=Qs(n)},updated(e,{value:t}){ii(e,t)}};function ii(e,t){const n=e.multiple;if(!n||E(t)||A(t)){for(let o=0,r=e.options.length;o<r;o++){const r=e.options[o],s=li(r);if(n)r.selected=E(t)?m(t,s)>-1:t.has(s);else if(h(li(r),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function li(e){return"_value"in e?e._value:e.value}function ci(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ai={created(e,t,n){ui(e,t,n,null,"created")},mounted(e,t,n){ui(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){ui(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){ui(e,t,n,o,"updated")}};function ui(e,t,n,o,r){const s=function(e,t){switch(e){case"SELECT":return si;case"TEXTAREA":return ti;default:switch(t){case"checkbox":return ni;case"radio":return ri;default:return ti}}}(e.tagName,n.props&&n.props.type)[r];s&&s(e,t,n,o)}const pi=["ctrl","shift","alt","meta"],fi={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>pi.some((n=>e[`${n}Key`]&&!t.includes(n)))},di={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},hi={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):mi(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),mi(e,!0),o.enter(e)):o.leave(e,(()=>{mi(e,!1)})):mi(e,t))},beforeUnmount(e,{value:t}){mi(e,t)}};function mi(e,t){e.style.display=t?e._vod:"none"}const gi=k({patchProp:(e,t,n,o,r=!1,s,i,l,c)=>{"class"===t?function(e,t,n){const o=e._vtc;o&&(t=(t?[t,...o]:[...o]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,r):"style"===t?function(e,t,n){const o=e.style,r=R(n);if(n&&!r){for(const e in n)ds(o,e,n[e]);if(t&&!R(t))for(const e in t)null==n[e]&&ds(o,e,"")}else{const s=o.display;r?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=s)}}(e,n,o):x(t)?C(t)||ys(e,t,0,o,i):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&xs.test(t)&&P(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(xs.test(t)&&R(n))return!1;return t in e}(e,t,o,r))?function(e,t,n,o,r,s,i){if("innerHTML"===t||"textContent"===t)return o&&i(o,r,s),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;const o=null==n?"":n;return e.value===o&&"OPTION"!==e.tagName||(e.value=o),void(null==n&&e.removeAttribute(t))}let l=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=d(n):null==n&&"string"===o?(n="",l=!0):"number"===o&&(n=0,l=!0)}try{e[t]=n}catch(c){}l&&e.removeAttribute(t)}(e,t,o,s,i,l,c):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,r){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(gs,t.slice(6,t.length)):e.setAttributeNS(gs,t,n);else{const o=f(t);null==n||o&&!d(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,r))}},ps);let vi,yi=!1;function bi(){return vi||(vi=or(gi))}function _i(){return vi=yi?vi:rr(gi),yi=!0,vi}const Si=(...e)=>{bi().render(...e)},xi=(...e)=>{_i().hydrate(...e)};function Ci(e){if(R(e)){return document.querySelector(e)}return e}const ki=b;function wi(e){throw e}function Ti(e){}function Ni(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const Ei=Symbol(""),Oi=Symbol(""),Ai=Symbol(""),Fi=Symbol(""),Pi=Symbol(""),Ri=Symbol(""),$i=Symbol(""),Mi=Symbol(""),Vi=Symbol(""),Ii=Symbol(""),Bi=Symbol(""),Li=Symbol(""),ji=Symbol(""),Ui=Symbol(""),Di=Symbol(""),Hi=Symbol(""),Wi=Symbol(""),zi=Symbol(""),Ki=Symbol(""),Gi=Symbol(""),qi=Symbol(""),Ji=Symbol(""),Zi=Symbol(""),Yi=Symbol(""),Qi=Symbol(""),Xi=Symbol(""),el=Symbol(""),tl=Symbol(""),nl=Symbol(""),ol=Symbol(""),rl=Symbol(""),sl=Symbol(""),il=Symbol(""),ll=Symbol(""),cl=Symbol(""),al=Symbol(""),ul=Symbol(""),pl=Symbol(""),fl=Symbol(""),dl={[Ei]:"Fragment",[Oi]:"Teleport",[Ai]:"Suspense",[Fi]:"KeepAlive",[Pi]:"BaseTransition",[Ri]:"openBlock",[$i]:"createBlock",[Mi]:"createElementBlock",[Vi]:"createVNode",[Ii]:"createElementVNode",[Bi]:"createCommentVNode",[Li]:"createTextVNode",[ji]:"createStaticVNode",[Ui]:"resolveComponent",[Di]:"resolveDynamicComponent",[Hi]:"resolveDirective",[Wi]:"resolveFilter",[zi]:"withDirectives",[Ki]:"renderList",[Gi]:"renderSlot",[qi]:"createSlots",[Ji]:"toDisplayString",[Zi]:"mergeProps",[Yi]:"normalizeClass",[Qi]:"normalizeStyle",[Xi]:"normalizeProps",[el]:"guardReactiveProps",[tl]:"toHandlers",[nl]:"camelize",[ol]:"capitalize",[rl]:"toHandlerKey",[sl]:"setBlockTracking",[il]:"pushScopeId",[ll]:"popScopeId",[cl]:"withCtx",[al]:"unref",[ul]:"isRef",[pl]:"withMemo",[fl]:"isMemoSame"};const hl={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ml(e,t,n,o,r,s,i,l=!1,c=!1,a=!1,u=hl){return e&&(l?(e.helper(Ri),e.helper(Wl(e.inSSR,a))):e.helper(Hl(e.inSSR,a)),i&&e.helper(zi)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:l,disableTracking:c,isComponent:a,loc:u}}function gl(e,t=hl){return{type:17,loc:t,elements:e}}function vl(e,t=hl){return{type:15,loc:t,properties:e}}function yl(e,t){return{type:16,loc:hl,key:R(e)?bl(e,!0):e,value:t}}function bl(e,t=!1,n=hl,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function _l(e,t=hl){return{type:8,loc:t,children:e}}function Sl(e,t=[],n=hl){return{type:14,loc:n,callee:e,arguments:t}}function xl(e,t,n=!1,o=!1,r=hl){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Cl(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:hl}}const kl=e=>4===e.type&&e.isStatic,wl=(e,t)=>e===t||e===G(t);function Tl(e){return wl(e,"Teleport")?Oi:wl(e,"Suspense")?Ai:wl(e,"KeepAlive")?Fi:wl(e,"BaseTransition")?Pi:void 0}const Nl=/^\d|[^\$\w]/,El=e=>!Nl.test(e),Ol=/[A-Za-z_$\xA0-\uFFFF]/,Al=/[\.\?\w$\xA0-\uFFFF]/,Fl=/\s+[.[]\s*|\s*[.[]\s+/g,Pl=e=>{e=e.trim().replace(Fl,(e=>e.trim()));let t=0,n=[],o=0,r=0,s=null;for(let i=0;i<e.length;i++){const l=e.charAt(i);switch(t){case 0:if("["===l)n.push(t),t=1,o++;else if("("===l)n.push(t),t=2,r++;else if(!(0===i?Ol:Al).test(l))return!1;break;case 1:"'"===l||'"'===l||"`"===l?(n.push(t),t=3,s=l):"["===l?o++:"]"===l&&(--o||(t=n.pop()));break;case 2:if("'"===l||'"'===l||"`"===l)n.push(t),t=3,s=l;else if("("===l)r++;else if(")"===l){if(i===e.length-1)return!1;--r||(t=n.pop())}break;case 3:l===s&&(t=n.pop(),s=null)}}return!o&&!r};function Rl(e,t,n){const o={source:e.source.slice(t,t+n),start:$l(e.start,e.source,t),end:e.end};return null!=n&&(o.end=$l(e.start,e.source,t+n)),o}function $l(e,t,n=t.length){return Ml(k({},e),t,n)}function Ml(e,t,n=t.length){let o=0,r=-1;for(let s=0;s<n;s++)10===t.charCodeAt(s)&&(o++,r=s);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function Vl(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(R(t)?r.name===t:t.test(r.name)))return r}}function Il(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const s=e.props[r];if(6===s.type){if(n)continue;if(s.name===t&&(s.value||o))return s}else if("bind"===s.name&&(s.exp||o)&&Bl(s.arg,t))return s}}function Bl(e,t){return!(!e||!kl(e)||e.content!==t)}function Ll(e){return 5===e.type||2===e.type}function jl(e){return 7===e.type&&"slot"===e.name}function Ul(e){return 1===e.type&&3===e.tagType}function Dl(e){return 1===e.type&&2===e.tagType}function Hl(e,t){return e||t?Vi:Ii}function Wl(e,t){return e||t?$i:Mi}const zl=new Set([Xi,el]);function Kl(e,t=[]){if(e&&!R(e)&&14===e.type){const n=e.callee;if(!R(n)&&zl.has(n))return Kl(e.arguments[0],t.concat(e))}return[e,t]}function Gl(e,t,n){let o,r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!R(s)&&14===s.type){const e=Kl(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||R(s))o=vl([t]);else if(14===s.type){const e=s.arguments[0];R(e)||15!==e.type?s.callee===tl?o=Sl(n.helper(Zi),[vl([t]),s]):s.arguments.unshift(vl([t])):ql(t,e)||e.properties.unshift(t),!o&&(o=s)}else 15===s.type?(ql(t,s)||s.properties.unshift(t),o=s):(o=Sl(n.helper(Zi),[vl([t]),s]),r&&r.callee===el&&(r=i[i.length-2]));13===e.type?r?r.arguments[0]=o:e.props=o:r?r.arguments[0]=o:e.arguments[2]=o}function ql(e,t){let n=!1;if(4===e.key.type){const o=e.key.content;n=t.properties.some((e=>4===e.key.type&&e.key.content===o))}return n}function Jl(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function Zl(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(Hl(o,e.isComponent)),t(Ri),t(Wl(o,e.isComponent)))}const Yl=/&(gt|lt|amp|apos|quot);/g,Ql={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Xl={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:_,isPreTag:_,isCustomElement:_,decodeEntities:e=>e.replace(Yl,((e,t)=>Ql[t])),onError:wi,onWarn:Ti,comments:!1};function ec(e,t={}){const n=function(e,t){const n=k({},Xl);let o;for(o in t)n[o]=void 0===t[o]?Xl[o]:t[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),o=hc(n);return function(e,t=hl){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(tc(n,0,[]),mc(n,o))}function tc(e,t,n){const o=gc(n),r=o?o.ns:0,s=[];for(;!Sc(e,t,n);){const i=e.source;let l;if(0===t||1===t)if(!e.inVPre&&vc(i,e.options.delimiters[0]))l=pc(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])l=vc(i,"\x3c!--")?rc(e):vc(i,"<!DOCTYPE")?sc(e):vc(i,"<![CDATA[")&&0!==r?oc(e,n):sc(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){yc(e,3);continue}if(/[a-z]/i.test(i[2])){cc(e,1,o);continue}l=sc(e)}else/[a-z]/i.test(i[1])?l=ic(e,n):"?"===i[1]&&(l=sc(e));if(l||(l=fc(e,t)),E(l))for(let e=0;e<l.length;e++)nc(s,l[e]);else nc(s,l)}let i=!1;if(2!==t&&1!==t){const t="preserve"!==e.options.whitespace;for(let n=0;n<s.length;n++){const o=s[n];if(2===o.type)if(e.inPre)o.content=o.content.replace(/\r\n/g,"\n");else if(/[^\t\r\n\f ]/.test(o.content))t&&(o.content=o.content.replace(/[\t\r\n\f ]+/g," "));else{const e=s[n-1],r=s[n+1];!e||!r||t&&(3===e.type&&3===r.type||3===e.type&&1===r.type||1===e.type&&3===r.type||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(i=!0,s[n]=null):o.content=" "}else 3!==o.type||e.options.comments||(i=!0,s[n]=null)}if(e.inPre&&o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return i?s.filter(Boolean):s}function nc(e,t){if(2===t.type){const n=gc(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function oc(e,t){yc(e,9);const n=tc(e,3,t);return 0===e.source.length||yc(e,3),n}function rc(e){const t=hc(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)yc(e,s-r+1),r=s+1;yc(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),yc(e,e.source.length);return{type:3,content:n,loc:mc(e,t)}}function sc(e){const t=hc(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),yc(e,e.source.length)):(o=e.source.slice(n,r),yc(e,r+1)),{type:3,content:o,loc:mc(e,t)}}function ic(e,t){const n=e.inPre,o=e.inVPre,r=gc(t),s=cc(e,0,r),i=e.inPre&&!n,l=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return i&&(e.inPre=!1),l&&(e.inVPre=!1),s;t.push(s);const c=e.options.getTextMode(s,r),a=tc(e,c,t);if(t.pop(),s.children=a,xc(e.source,s.tag))cc(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&vc(e.loc.source,"\x3c!--")}return s.loc=mc(e,s.loc.start),i&&(e.inPre=!1),l&&(e.inVPre=!1),s}const lc=t("if,else,else-if,for,slot");function cc(e,t,n){const o=hc(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);yc(e,r[0].length),bc(e);const l=hc(e),c=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let a=ac(e,t);0===t&&!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,k(e,l),e.source=c,a=ac(e,t).filter((e=>"v-pre"!==e.name)));let u=!1;if(0===e.source.length||(u=vc(e.source,"/>"),yc(e,u?2:1)),1===t)return;let p=0;return e.inVPre||("slot"===s?p=2:"template"===s?a.some((e=>7===e.type&&lc(e.name)))&&(p=3):function(e,t,n){const o=n.options;if(o.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||Tl(e)||o.isBuiltInComponent&&o.isBuiltInComponent(e)||o.isNativeTag&&!o.isNativeTag(e))return!0;for(let r=0;r<t.length;r++){const e=t[r];if(6===e.type){if("is"===e.name&&e.value&&e.value.content.startsWith("vue:"))return!0}else{if("is"===e.name)return!0;"bind"===e.name&&Bl(e.arg,"is")}}}(s,a,e)&&(p=1)),{type:1,ns:i,tag:s,tagType:p,props:a,isSelfClosing:u,children:[],loc:mc(e,o),codegenNode:void 0}}function ac(e,t){const n=[],o=new Set;for(;e.source.length>0&&!vc(e.source,">")&&!vc(e.source,"/>");){if(vc(e.source,"/")){yc(e,1),bc(e);continue}const r=uc(e,o);6===r.type&&r.value&&"class"===r.name&&(r.value.content=r.value.content.replace(/\s+/g," ").trim()),0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),bc(e)}return n}function uc(e,t){const n=hc(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}let r;yc(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(bc(e),yc(e,1),bc(e),r=function(e){const t=hc(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){yc(e,1);const t=e.source.indexOf(o);-1===t?n=dc(e,e.source.length,4):(n=dc(e,t,4),yc(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=dc(e,t[0].length,4)}return{content:n,isQuoted:r,loc:mc(e,t)}}(e));const s=mc(e,n);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,l=vc(o,"."),c=t[1]||(l||vc(o,":")?"bind":vc(o,"@")?"on":"slot");if(t[2]){const r="slot"===c,s=o.lastIndexOf(t[2]),l=mc(e,_c(e,n,s),_c(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],u=!0;a.startsWith("[")?(u=!1,a=a.endsWith("]")?a.slice(1,a.length-1):a.slice(1)):r&&(a+=t[3]||""),i={type:4,content:a,isStatic:u,constType:u?3:0,loc:l}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=$l(e.start,r.content),e.source=e.source.slice(1,-1)}const a=t[3]?t[3].slice(1).split("."):[];return l&&a.push("prop"),{type:7,name:c,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:i,modifiers:a,loc:s}}return!e.inVPre&&vc(o,"v-"),{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function pc(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=hc(e);yc(e,n.length);const i=hc(e),l=hc(e),c=r-n.length,a=e.source.slice(0,c),u=dc(e,c,t),p=u.trim(),f=u.indexOf(p);f>0&&Ml(i,a,f);return Ml(l,a,c-(u.length-p.length-f)),yc(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:p,loc:mc(e,i,l)},loc:mc(e,s)}}function fc(e,t){const n=3===t?["]]>"]:["<",e.options.delimiters[0]];let o=e.source.length;for(let s=0;s<n.length;s++){const t=e.source.indexOf(n[s],1);-1!==t&&o>t&&(o=t)}const r=hc(e);return{type:2,content:dc(e,o,t),loc:mc(e,r)}}function dc(e,t,n){const o=e.source.slice(0,t);return yc(e,t),2!==n&&3!==n&&o.includes("&")?e.options.decodeEntities(o,4===n):o}function hc(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function mc(e,t,n){return{start:t,end:n=n||hc(e),source:e.originalSource.slice(t.offset,n.offset)}}function gc(e){return e[e.length-1]}function vc(e,t){return e.startsWith(t)}function yc(e,t){const{source:n}=e;Ml(e,n,t),e.source=n.slice(t)}function bc(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&yc(e,t[0].length)}function _c(e,t,n){return $l(t,e.originalSource.slice(t.offset,n),n)}function Sc(e,t,n){const o=e.source;switch(t){case 0:if(vc(o,"</"))for(let e=n.length-1;e>=0;--e)if(xc(o,n[e].tag))return!0;break;case 1:case 2:{const e=gc(n);if(e&&xc(o,e.tag))return!0;break}case 3:if(vc(o,"]]>"))return!0}return!o}function xc(e,t){return vc(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Cc(e,t){wc(e,t,kc(e,e.children[0]))}function kc(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Dl(t)}function wc(e,t,n=!1){const{children:o}=e,r=o.length;let s=0;for(let i=0;i<o.length;i++){const e=o[i];if(1===e.type&&0===e.tagType){const o=n?0:Tc(e,t);if(o>0){if(o>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),s++;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Fc(n);if((!o||512===o||1===o)&&Oc(e,t)>=2){const o=Ac(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,wc(e,t),n&&t.scopes.vSlot--}else if(11===e.type)wc(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)wc(e.branches[n],t,1===e.branches[n].children.length)}s&&t.transformHoist&&t.transformHoist(o,t,e),s&&s===r&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&E(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(gl(e.codegenNode.children)))}function Tc(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const o=n.get(e);if(void 0!==o)return o;const r=e.codegenNode;if(13!==r.type)return 0;if(r.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag)return 0;if(Fc(r))return n.set(e,0),0;{let o=3;const s=Oc(e,t);if(0===s)return n.set(e,0),0;s<o&&(o=s);for(let r=0;r<e.children.length;r++){const s=Tc(e.children[r],t);if(0===s)return n.set(e,0),0;s<o&&(o=s)}if(o>1)for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&"bind"===s.name&&s.exp){const r=Tc(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}if(r.isBlock){for(let t=0;t<e.props.length;t++){if(7===e.props[t].type)return n.set(e,0),0}t.removeHelper(Ri),t.removeHelper(Wl(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(Hl(t.inSSR,r.isComponent))}return n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return Tc(e.content,t);case 4:return e.constType;case 8:let s=3;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(R(o)||$(o))continue;const r=Tc(o,t);if(0===r)return 0;r<s&&(s=r)}return s}}const Nc=new Set([Yi,Qi,Xi,el]);function Ec(e,t){if(14===e.type&&!R(e.callee)&&Nc.has(e.callee)){const n=e.arguments[0];if(4===n.type)return Tc(n,t);if(14===n.type)return Ec(n,t)}return 0}function Oc(e,t){let n=3;const o=Ac(e);if(o&&15===o.type){const{properties:e}=o;for(let o=0;o<e.length;o++){const{key:r,value:s}=e[o],i=Tc(r,t);if(0===i)return i;let l;if(i<n&&(n=i),l=4===s.type?Tc(s,t):14===s.type?Ec(s,t):0,0===l)return l;l<n&&(n=l)}}return n}function Ac(e){const t=e.codegenNode;if(13===t.type)return t.props}function Fc(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function Pc(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,cacheHandlers:r=!1,nodeTransforms:s=[],directiveTransforms:i={},transformHoist:l=null,isBuiltInComponent:c=b,isCustomElement:a=b,expressionPlugins:u=[],scopeId:p=null,slotted:f=!0,ssr:d=!1,inSSR:h=!1,ssrCssVars:m="",bindingMetadata:g=v,inline:y=!1,isTS:_=!1,onError:S=wi,onWarn:x=Ti,compatConfig:C}){const k=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),w={selfName:k&&q(z(k[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:s,directiveTransforms:i,transformHoist:l,isBuiltInComponent:c,isCustomElement:a,expressionPlugins:u,scopeId:p,slotted:f,ssr:d,inSSR:h,ssrCssVars:m,bindingMetadata:g,inline:y,isTS:_,onError:S,onWarn:x,compatConfig:C,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=w.helpers.get(e)||0;return w.helpers.set(e,t+1),e},removeHelper(e){const t=w.helpers.get(e);if(t){const n=t-1;n?w.helpers.set(e,n):w.helpers.delete(e)}},helperString:e=>`_${dl[w.helper(e)]}`,replaceNode(e){w.parent.children[w.childIndex]=w.currentNode=e},removeNode(e){const t=e?w.parent.children.indexOf(e):w.currentNode?w.childIndex:-1;e&&e!==w.currentNode?w.childIndex>t&&(w.childIndex--,w.onNodeRemoved()):(w.currentNode=null,w.onNodeRemoved()),w.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){R(e)&&(e=bl(e)),w.hoists.push(e);const t=bl(`_hoisted_${w.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:hl}}(w.cached++,e,t)};return w}function Rc(e,t){const n=Pc(e,t);$c(e,n),t.hoistStatic&&Cc(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(kc(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&Zl(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=ml(t,n(Ei),void 0,e.children,o+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached}function $c(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s<n.length;s++){const r=n[s](e,t);if(r&&(E(r)?o.push(...r):o.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(Bi);break;case 5:t.ssr||t.helper(Ji);break;case 9:for(let n=0;n<e.branches.length;n++)$c(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];R(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,$c(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function Mc(e,t){const n=R(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(jl))return;const s=[];for(let i=0;i<r.length;i++){const l=r[i];if(7===l.type&&n(l.name)){r.splice(i,1),i--;const n=t(e,l,o);n&&s.push(n)}}return s}}}const Vc="/*#__PURE__*/",Ic=e=>`${dl[e]}: _${dl[e]}`;function Bc(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeImports:i=!1,runtimeGlobalName:l="Vue",runtimeModuleName:c="vue",ssrRuntimeModuleName:a="vue/server-renderer",ssr:u=!1,isTS:p=!1,inSSR:f=!1}){const d={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:l,runtimeModuleName:c,ssrRuntimeModuleName:a,ssr:u,isTS:p,inSSR:f,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${dl[e]}`,push(e,t){d.code+=e},indent(){h(++d.indentLevel)},deindent(e=!1){e?--d.indentLevel:h(--d.indentLevel)},newline(){h(d.indentLevel)}};function h(e){d.push("\n"+" ".repeat(e))}return d}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:l,newline:c,ssr:a}=n,u=e.helpers.length>0,p=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[Vi,Ii,Bi,Li,ji].filter((t=>e.helpers.includes(t))).map(Ic).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o();for(let r=0;r<e.length;r++){const s=e[r];s&&(n(`const _hoisted_${r+1} = `),Dc(s,t),o())}t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),p&&(r("with (_ctx) {"),i(),u&&(r(`const { ${e.helpers.map(Ic).join(", ")} } = _Vue`),r("\n"),c())),e.components.length&&(Lc(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(Lc(e.directives,"directive",n),e.temps>0&&c()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),c()),a||r("return "),e.codegenNode?Dc(e.codegenNode,n):r("null"),p&&(l(),r("}")),l(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Lc(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("component"===t?Ui:Hi);for(let l=0;l<e.length;l++){let n=e[l];const c=n.endsWith("__self");c&&(n=n.slice(0,-6)),o(`const ${Jl(n,t)} = ${i}(${JSON.stringify(n)}${c?", true":""})${s?"!":""}`),l<e.length-1&&r()}}function jc(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Uc(e,t,n),n&&t.deindent(),t.push("]")}function Uc(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const l=e[i];R(l)?r(l):E(l)?jc(l,t):Dc(l,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function Dc(e,t){if(R(e))t.push(e);else if($(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:Dc(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:Hc(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Vc);n(`${o(Ji)}(`),Dc(e.content,t),n(")")}(e,t);break;case 8:Wc(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Vc);n(`${o(Bi)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:s,props:i,children:l,patchFlag:c,dynamicProps:a,directives:u,isBlock:p,disableTracking:f,isComponent:d}=e;u&&n(o(zi)+"(");p&&n(`(${o(Ri)}(${f?"true":""}), `);r&&n(Vc);const h=p?Wl(t.inSSR,d):Hl(t.inSSR,d);n(o(h)+"(",e),Uc(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([s,i,l,c,a]),t),n(")"),p&&n(")");u&&(n(", "),Dc(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=R(e.callee)?e.callee:o(e.callee);r&&n(Vc);n(s+"(",e),Uc(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const l=i.length>1||!1;n(l?"{":"{ "),l&&o();for(let c=0;c<i.length;c++){const{key:e,value:o}=i[c];zc(e,t),n(": "),Dc(o,t),c<i.length-1&&(n(","),s())}l&&r(),n(l?"}":" }")}(e,t);break;case 17:!function(e,t){jc(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:l,newline:c,isSlot:a}=e;a&&n(`_${dl[cl]}(`);n("(",e),E(s)?Uc(s,t):s&&Dc(s,t);n(") => "),(c||l)&&(n("{"),o());i?(c&&n("return "),E(i)?jc(i,t):Dc(i,t)):l&&Dc(l,t);(c||l)&&(r(),n("}"));a&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:l,deindent:c,newline:a}=t;if(4===n.type){const e=!El(n.content);e&&i("("),Hc(n,t),e&&i(")")}else i("("),Dc(n,t),i(")");s&&l(),t.indentLevel++,s||i(" "),i("? "),Dc(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const u=19===r.type;u||t.indentLevel++;Dc(r,t),u||t.indentLevel--;s&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(sl)}(-1),`),i());n(`_cache[${e.index}] = `),Dc(e.value,t),e.isVNode&&(n(","),i(),n(`${o(sl)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:Uc(e.body,t,!0,!1)}}function Hc(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Wc(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];R(o)?t.push(o):Dc(o,t)}}function zc(e,t){const{push:n}=t;if(8===e.type)n("["),Wc(e,t),n("]");else if(e.isStatic){n(El(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const Kc=Mc(/^(if|else|else-if)$/,((e,t,n)=>function(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=bl("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Gc(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(i&&3===i.type)n.removeNode(i);else{if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=Gc(e,t);i.branches.push(r);const s=o&&o(i,r,!1);$c(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}}(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=qc(t,i,n);else{const o=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);o.alternate=qc(t,i+e.branches.length-1,n)}}}))));function Gc(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!Vl(e,"for")?e.children:[e],userKey:Il(e,"key"),isTemplateIf:n}}function qc(e,t,n){return e.condition?Cl(e.condition,Jc(e,t,n),Sl(n.helper(Bi),['""',"true"])):Jc(e,t,n)}function Jc(e,t,n){const{helper:o}=n,r=yl("key",bl(`${t}`,!1,hl,2)),{children:s}=e,i=s[0];if(1!==s.length||1!==i.type){if(1===s.length&&11===i.type){const e=i.codegenNode;return Gl(e,r,n),e}{let t=64;return ml(n,o(Ei),vl([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=14===(l=e).type&&l.callee===pl?l.arguments[1].returns:l;return 13===t.type&&Zl(t,n),Gl(t,r,n),e}var l}const Zc=Mc("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return function(e,t,n,o){if(!t.exp)return;const r=ea(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:l,key:c,index:a}=r,u={type:11,loc:t.loc,source:i,valueAlias:l,keyAlias:c,objectIndexAlias:a,parseResult:r,children:Ul(e)?e.children:[e]};n.replaceNode(u),s.vFor++;const p=o&&o(u);return()=>{s.vFor--,p&&p()}}(e,t,n,(t=>{const s=Sl(o(Ki),[t.source]),i=Ul(e),l=Vl(e,"memo"),c=Il(e,"key"),a=c&&(6===c.type?bl(c.value.content,!0):c.exp),u=c?yl("key",a):null,p=4===t.source.type&&t.source.constType>0,f=p?64:c?128:256;return t.codegenNode=ml(n,o(Ei),void 0,s,f+"",void 0,void 0,!0,!p,!1,e.loc),()=>{let c;const{children:f}=t,d=1!==f.length||1!==f[0].type,h=Dl(e)?e:i&&1===e.children.length&&Dl(e.children[0])?e.children[0]:null;if(h?(c=h.codegenNode,i&&u&&Gl(c,u,n)):d?c=ml(n,o(Ei),u?vl([u]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(c=f[0].codegenNode,i&&u&&Gl(c,u,n),c.isBlock!==!p&&(c.isBlock?(r(Ri),r(Wl(n.inSSR,c.isComponent))):r(Hl(n.inSSR,c.isComponent))),c.isBlock=!p,c.isBlock?(o(Ri),o(Wl(n.inSSR,c.isComponent))):o(Hl(n.inSSR,c.isComponent))),l){const e=xl(na(t.parseResult,[bl("_cached")]));e.body={type:21,body:[_l(["const _memo = (",l.exp,")"]),_l(["if (_cached",...a?[" && _cached.key === ",a]:[],` && ${n.helperString(fl)}(_cached, _memo)) return _cached`]),_l(["const _item = ",c]),bl("_item.memo = _memo"),bl("return _item")],loc:hl},s.arguments.push(e,bl("_cache"),bl(String(n.cached++)))}else s.arguments.push(xl(na(t.parseResult),c,!0))}}))}));const Yc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Qc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Xc=/^\(|\)$/g;function ea(e,t){const n=e.loc,o=e.content,r=o.match(Yc);if(!r)return;const[,s,i]=r,l={source:ta(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let c=s.trim().replace(Xc,"").trim();const a=s.indexOf(c),u=c.match(Qc);if(u){c=c.replace(Qc,"").trim();const e=u[1].trim();let t;if(e&&(t=o.indexOf(e,a+c.length),l.key=ta(n,e,t)),u[2]){const r=u[2].trim();r&&(l.index=ta(n,r,o.indexOf(r,l.key?t+e.length:a+c.length)))}}return c&&(l.value=ta(n,c,a)),l}function ta(e,t,n){return bl(t,!1,Rl(e,n,t.length))}function na({value:e,key:t,index:n},o=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||bl("_".repeat(t+1),!1)))}([e,t,n,...o])}const oa=bl("undefined",!1),ra=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Vl(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},sa=(e,t,n)=>xl(e,t,!1,!0,t.length?t[0].loc:n);function ia(e,t,n=sa){t.helper(cl);const{children:o,loc:r}=e,s=[],i=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const c=Vl(e,"slot",!0);if(c){const{arg:e,exp:t}=c;e&&!kl(e)&&(l=!0),s.push(yl(e||bl("default",!0),n(t,o,r)))}let a=!1,u=!1;const p=[],f=new Set;let d=0;for(let g=0;g<o.length;g++){const e=o[g];let r;if(!Ul(e)||!(r=Vl(e,"slot",!0))){3!==e.type&&p.push(e);continue}if(c)break;a=!0;const{children:h,loc:m}=e,{arg:v=bl("default",!0),exp:y}=r;let b;kl(v)?b=v?v.content:"default":l=!0;const _=n(y,h,m);let S,x,C;if(S=Vl(e,"if"))l=!0,i.push(Cl(S.exp,la(v,_,d++),oa));else if(x=Vl(e,/^else(-if)?$/,!0)){let e,t=g;for(;t--&&(e=o[t],3===e.type););if(e&&Ul(e)&&Vl(e,"if")){o.splice(g,1),g--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=x.exp?Cl(x.exp,la(v,_,d++),oa):la(v,_,d++)}}else if(C=Vl(e,"for")){l=!0;const e=C.parseResult||ea(C.exp);e&&i.push(Sl(t.helper(Ki),[e.source,xl(na(e),la(v,_),!0)]))}else{if(b){if(f.has(b))continue;f.add(b),"default"===b&&(u=!0)}s.push(yl(v,_))}}if(!c){const e=(e,t)=>yl("default",n(e,t,r));a?p.length&&p.some((e=>aa(e)))&&(u||s.push(e(void 0,p))):s.push(e(void 0,o))}const h=l?2:ca(e.children)?3:1;let m=vl(s.concat(yl("_",bl(h+"",!1))),r);return i.length&&(m=Sl(t.helper(qi),[m,gl(i)])),{slots:m,hasDynamicSlots:l}}function la(e,t,n){const o=[yl("name",e),yl("fn",t)];return null!=n&&o.push(yl("key",bl(String(n),!0))),vl(o)}function ca(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||ca(n.children))return!0;break;case 9:if(ca(n.branches))return!0;break;case 10:case 11:if(ca(n.children))return!0}}return!1}function aa(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():aa(e.content))}const ua=new WeakMap,pa=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType;let s=r?function(e,t,n=!1){let{tag:o}=e;const r=ma(o),s=Il(e,"is");if(s)if(r){const e=6===s.type?s.value&&bl(s.value.content,!0):s.exp;if(e)return Sl(t.helper(Di),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&Vl(e,"is");if(i&&i.exp)return Sl(t.helper(Di),[i.exp]);const l=Tl(o)||t.isBuiltInComponent(o);if(l)return n||t.helper(l),l;return t.helper(Ui),t.components.add(o),Jl(o,"component")}(e,t):`"${n}"`;const i=M(s)&&s.callee===Di;let l,c,a,u,p,f,d=0,h=i||s===Oi||s===Ai||!r&&("svg"===n||"foreignObject"===n);if(o.length>0){const n=fa(e,t,void 0,r,i);l=n.props,d=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;f=o&&o.length?gl(o.map((e=>function(e,t){const n=[],o=ua.get(e);o?n.push(t.helperString(o)):(t.helper(Hi),t.directives.add(e.name),n.push(Jl(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=bl("true",!1,r);n.push(vl(e.modifiers.map((e=>yl(e,t))),r))}return gl(n,e.loc)}(e,t)))):void 0,n.shouldUseBlock&&(h=!0)}if(e.children.length>0){s===Fi&&(h=!0,d|=1024);if(r&&s!==Oi&&s!==Fi){const{slots:n,hasDynamicSlots:o}=ia(e,t);c=n,o&&(d|=1024)}else if(1===e.children.length&&s!==Oi){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Tc(n,t)&&(d|=1),c=r||2===o?n:e.children}else c=e.children}0!==d&&(a=String(d),p&&p.length&&(u=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(p))),e.codegenNode=ml(t,s,l,c,a,u,f,!!h,!1,r,e.loc)};function fa(e,t,n=e.props,o,r,s=!1){const{tag:i,loc:l,children:c}=e;let a=[];const u=[],p=[],f=c.length>0;let d=!1,h=0,m=!1,g=!1,v=!1,y=!1,b=!1,_=!1;const S=[],C=e=>{a.length&&(u.push(vl(da(a),l)),a=[]),e&&u.push(e)},k=({key:e,value:n})=>{if(kl(e)){const s=e.content,i=x(s);if(!i||o&&!r||"onclick"===s.toLowerCase()||"onUpdate:modelValue"===s||U(s)||(y=!0),i&&U(s)&&(_=!0),20===n.type||(4===n.type||8===n.type)&&Tc(n,t)>0)return;"ref"===s?m=!0:"class"===s?g=!0:"style"===s?v=!0:"key"===s||S.includes(s)||S.push(s),!o||"class"!==s&&"style"!==s||S.includes(s)||S.push(s)}else b=!0};for(let x=0;x<n.length;x++){const r=n[x];if(6===r.type){const{loc:e,name:n,value:o}=r;let s=!0;if("ref"===n&&(m=!0,t.scopes.vFor>0&&a.push(yl(bl("ref_for",!0),bl("true")))),"is"===n&&(ma(i)||o&&o.content.startsWith("vue:")))continue;a.push(yl(bl(n,!0,Rl(e,0,n.length)),bl(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:c,exp:h,loc:m}=r,g="bind"===n,v="on"===n;if("slot"===n)continue;if("once"===n||"memo"===n)continue;if("is"===n||g&&Bl(c,"is")&&ma(i))continue;if(v&&s)continue;if((g&&Bl(c,"key")||v&&f&&Bl(c,"vue:before-update"))&&(d=!0),g&&Bl(c,"ref")&&t.scopes.vFor>0&&a.push(yl(bl("ref_for",!0),bl("true"))),!c&&(g||v)){b=!0,h&&(g?(C(),u.push(h)):C({type:14,loc:m,callee:t.helper(tl),arguments:o?[h]:[h,"true"]}));continue}const y=t.directiveTransforms[n];if(y){const{props:n,needRuntime:o}=y(r,e,t);!s&&n.forEach(k),v&&c&&!kl(c)?C(vl(n,l)):a.push(...n),o&&(p.push(r),$(o)&&ua.set(r,o))}else D(n)||(p.push(r),f&&(d=!0))}}let w;if(u.length?(C(),w=u.length>1?Sl(t.helper(Zi),u,l):u[0]):a.length&&(w=vl(da(a),l)),b?h|=16:(g&&!o&&(h|=2),v&&!o&&(h|=4),S.length&&(h|=8),y&&(h|=32)),d||0!==h&&32!==h||!(m||_||p.length>0)||(h|=512),!t.inSSR&&w)switch(w.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<w.properties.length;t++){const r=w.properties[t].key;kl(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=w.properties[e],s=w.properties[n];o?w=Sl(t.helper(Xi),[w]):(r&&!kl(r.value)&&(r.value=Sl(t.helper(Yi),[r.value])),s&&(v||4===s.value.type&&"["===s.value.content.trim()[0]||17===s.value.type)&&(s.value=Sl(t.helper(Qi),[s.value])));break;case 14:break;default:w=Sl(t.helper(Xi),[Sl(t.helper(el),[w])])}return{props:w,directives:p,patchFlag:h,dynamicPropNames:S,shouldUseBlock:d}}function da(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const r=e[o];if(8===r.key.type||!r.key.isStatic){n.push(r);continue}const s=r.key.content,i=t.get(s);i?("style"===s||"class"===s||x(s))&&ha(i,r):(t.set(s,r),n.push(r))}return n}function ha(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=gl([e.value,t.value],e.loc)}function ma(e){return"component"===e||"Component"===e}const ga=(e,t)=>{if(Dl(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=function(e,t){let n,o='"default"';const r=[];for(let s=0;s<e.props.length;s++){const t=e.props[s];6===t.type?t.value&&("name"===t.name?o=JSON.stringify(t.value.content):(t.name=z(t.name),r.push(t))):"bind"===t.name&&Bl(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&kl(t.arg)&&(t.arg.content=z(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=fa(e,t,r,!1,!1);n=o}return{slotName:o,slotProps:n}}(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let l=2;s&&(i[2]=s,l=3),n.length&&(i[3]=xl([],n,!1,!1,o),l=4),t.scopeId&&!t.slotted&&(l=5),i.splice(l),e.codegenNode=Sl(t.helper(Gi),i,o)}};const va=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,ya=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let l;if(4===i.type)if(i.isStatic){let e=i.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`);l=bl(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?J(z(e)):`on:${e}`,!0,i.loc)}else l=_l([`${n.helperString(rl)}(`,i,")"]);else l=i,l.children.unshift(`${n.helperString(rl)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let a=n.cacheHandlers&&!c&&!n.inVOnce;if(c){const e=Pl(c.content),t=!(e||va.test(c.content)),n=c.content.includes(";");(t||a&&e)&&(c=_l([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let u={props:[yl(l,c||bl("() => {}",!1,r))]};return o&&(u=o(u)),a&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach((e=>e.key.isHandlerKey=!0)),u},ba=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?z(i.content):`${n.helperString(nl)}(${i.content})`:(i.children.unshift(`${n.helperString(nl)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&_a(i,"."),r.includes("attr")&&_a(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[yl(i,bl("",!0,s))]}:{props:[yl(i,o)]}},_a=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Sa=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(Ll(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!Ll(s)){o=void 0;break}o||(o=n[e]=_l([t],t.loc)),o.children.push(" + ",s),n.splice(r,1),r--}}}if(r&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name])))))for(let e=0;e<n.length;e++){const o=n[e];if(Ll(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==Tc(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:Sl(t.helper(Li),r)}}}}},xa=new WeakSet,Ca=(e,t)=>{if(1===e.type&&Vl(e,"once",!0)){if(xa.has(e)||t.inVOnce)return;return xa.add(e),t.inVOnce=!0,t.helper(sl),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},ka=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return wa();const s=o.loc.source,i=4===o.type?o.content:s,l=n.bindingMetadata[s];if("props"===l||"props-aliased"===l)return wa();if(!i.trim()||!Pl(i))return wa();const c=r||bl("modelValue",!0),a=r?kl(r)?`onUpdate:${r.content}`:_l(['"onUpdate:" + ',r]):"onUpdate:modelValue";let u;u=_l([`${n.isTS?"($event: any)":"$event"} => ((`,o,") = $event)"]);const p=[yl(c,e.exp),yl(a,u)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(El(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?kl(r)?`${r.content}Modifiers`:_l([r,' + "Modifiers"']):"modelModifiers";p.push(yl(n,bl(`{ ${t} }`,!1,e.loc,2)))}return wa(p)};function wa(e=[]){return{props:e}}const Ta=new WeakSet,Na=(e,t)=>{if(1===e.type){const n=Vl(e,"memo");if(!n||Ta.has(e))return;return Ta.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&Zl(o,t),e.codegenNode=Sl(t.helper(pl),[n.exp,xl(void 0,o),"_cache",String(t.cached++)]))}}};function Ea(e,t={}){const n=t.onError||wi,o="module"===t.mode;!0===t.prefixIdentifiers?n(Ni(47)):o&&n(Ni(48));t.cacheHandlers&&n(Ni(49)),t.scopeId&&!o&&n(Ni(50));const r=R(e)?ec(e,t):e,[s,i]=[[Ca,Kc,Na,Zc,ga,pa,ra,Sa],{on:ya,bind:ba,model:ka}];return Rc(r,k({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:k({},i,t.directiveTransforms||{})})),Bc(r,k({},t,{prefixIdentifiers:false}))}const Oa=Symbol(""),Aa=Symbol(""),Fa=Symbol(""),Pa=Symbol(""),Ra=Symbol(""),$a=Symbol(""),Ma=Symbol(""),Va=Symbol(""),Ia=Symbol(""),Ba=Symbol("");var La;let ja;La={[Oa]:"vModelRadio",[Aa]:"vModelCheckbox",[Fa]:"vModelText",[Pa]:"vModelSelect",[Ra]:"vModelDynamic",[$a]:"withModifiers",[Ma]:"withKeys",[Va]:"vShow",[Ia]:"Transition",[Ba]:"TransitionGroup"},Object.getOwnPropertySymbols(La).forEach((e=>{dl[e]=La[e]}));const Ua=t("style,iframe,script,noscript",!0),Da={isVoidTag:p,isNativeTag:e=>a(e)||u(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return ja||(ja=document.createElement("div")),t?(ja.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,ja.children[0].getAttribute("foo")):(ja.innerHTML=e,ja.textContent)},isBuiltInComponent:e=>wl(e,"Transition")?Ia:wl(e,"TransitionGroup")?Ba:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Ua(e))return 2}return 0}},Ha=(e,t)=>{const n=l(e);return bl(JSON.stringify(n),!1,t,3)};const Wa=t("passive,once,capture"),za=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Ka=t("left,right"),Ga=t("onkeyup,onkeydown,onkeypress",!0),qa=(e,t)=>kl(e)&&"onclick"===e.content.toLowerCase()?bl(t,!0):4!==e.type?_l(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Ja=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Za=[e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:bl("style",!0,t.loc),exp:Ha(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],Ya={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[yl(bl("innerHTML",!0,r),o||bl("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[yl(bl("textContent",!0),o?Tc(o,n)>0?o:Sl(n.helperString(Ji),[o],r):bl("",!0))]}},model:(e,t,n)=>{const o=ka(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=Fa,i=!1;if("input"===r||s){const n=Il(t,"type");if(n){if(7===n.type)e=Ra;else if(n.value)switch(n.value.content){case"radio":e=Oa;break;case"checkbox":e=Aa;break;case"file":i=!0}}else(function(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))})(t)&&(e=Ra)}else"select"===r&&(e=Pa);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>ya(e,t,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:l,eventOptionModifiers:c}=((e,t,n,o)=>{const r=[],s=[],i=[];for(let l=0;l<t.length;l++){const n=t[l];Wa(n)?i.push(n):Ka(n)?kl(e)?Ga(e.content)?r.push(n):s.push(n):(r.push(n),s.push(n)):za(n)?s.push(n):r.push(n)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o);if(l.includes("right")&&(r=qa(r,"onContextmenu")),l.includes("middle")&&(r=qa(r,"onMouseup")),l.length&&(s=Sl(n.helper($a),[s,JSON.stringify(l)])),!i.length||kl(r)&&!Ga(r.content)||(s=Sl(n.helper(Ma),[s,JSON.stringify(i)])),c.length){const e=c.map(q).join("");r=kl(r)?bl(`${r.content}${e}`,!0):_l(["(",r,`) + "${e}"`])}return{props:[yl(r,s)]}})),show:(e,t,n)=>({props:[],needRuntime:n.helper(Va)})};const Qa=Object.create(null);function Xa(e,t){if(!R(e)){if(!e.nodeType)return b;e=e.innerHTML}const n=e,o=Qa[n];if(o)return o;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const r=k({hoistStatic:!0,onError:void 0,onWarn:b},t);r.isCustomElement||"undefined"==typeof customElements||(r.isCustomElement=e=>!!customElements.get(e));const{code:s}=function(e,t={}){return Ea(e,k({},Da,t,{nodeTransforms:[Ja,...Za,...t.nodeTransforms||[]],directiveTransforms:k({},Ya,t.directiveTransforms||{}),transformHoist:null}))}(e,r),i=new Function(s)();return i._rc=!0,Qa[n]=i}return Qr(Xa),e.BaseTransition=Vn,e.Comment=gr,e.EffectScope=ne,e.Fragment=hr,e.KeepAlive=Gn,e.ReactiveEffect=de,e.Static=vr,e.Suspense=bn,e.Teleport=fr,e.Text=mr,e.Transition=As,e.TransitionGroup=qs,e.VueElement=ws,e.callWithAsyncErrorHandling=Bt,e.callWithErrorHandling=It,e.camelize=z,e.capitalize=q,e.cloneVNode=$r,e.compatUtils=null,e.compile=Xa,e.computed=os,e.createApp=(...e)=>{const t=bi().createApp(...e),{mount:n}=t;return t.mount=e=>{const o=Ci(e);if(!o)return;const r=t._component;P(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},e.createBlock=wr,e.createCommentVNode=function(e="",t=!1){return t?(_r(),wr(gr,null,e)):Pr(gr,null,e)},e.createElementBlock=function(e,t,n,o,r,s){return kr(Fr(e,t,n,o,r,s,!0))},e.createElementVNode=Fr,e.createHydrationRenderer=rr,e.createPropsRestProxy=function(e,t){const n={};for(const o in e)t.includes(o)||Object.defineProperty(n,o,{enumerable:!0,get:()=>e[o]});return n},e.createRenderer=or,e.createSSRApp=(...e)=>{const t=_i().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=Ci(e);if(t)return n(t,!0,t instanceof SVGElement)},t},e.createSlots=function(e,t){for(let n=0;n<t.length;n++){const o=t[n];if(E(o))for(let t=0;t<o.length;t++)e[o[t].name]=o[t].fn;else o&&(e[o.name]=o.key?(...e)=>{const t=o.fn(...e);return t&&(t.key=o.key),t}:o.fn)}return e},e.createStaticVNode=function(e,t){const n=Pr(vr,null,e);return n.staticCount=t,n},e.createTextVNode=Mr,e.createVNode=Pr,e.customRef=function(e){return new Pt(e)},e.defineAsyncComponent=function(e){P(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:s,suspensible:i=!0,onError:l}=e;let c,a=null,u=0;const p=()=>{let e;return a||(e=a=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((u++,a=null,p()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==a&&a?a:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return Hn({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return c},setup(){const e=Hr;if(c)return()=>zn(c,e);const t=t=>{a=null,Lt(t,e,13,!o)};if(i&&e.suspense)return p().then((t=>()=>zn(t,e))).catch((e=>(t(e),()=>o?Pr(o,{error:e}):null)));const l=Tt(!1),u=Tt(),f=Tt(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=s&&setTimeout((()=>{if(!l.value&&!u.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),u.value=e}}),s),p().then((()=>{l.value=!0,e.parent&&Kn(e.parent.vnode)&&Zt(e.parent.update)})).catch((e=>{t(e),u.value=e})),()=>l.value&&c?zn(c,e):u.value&&o?Pr(o,{error:u.value}):n&&!f.value?Pr(n):void 0}})},e.defineComponent=Hn,e.defineCustomElement=Cs,e.defineEmits=function(){return null},e.defineExpose=function(e){},e.defineProps=function(){return null},e.defineSSRCustomElement=e=>Cs(e,xi),e.effect=function(e,t){e.effect&&(e=e.effect.fn);const n=new de(e);t&&(k(n,t),t.scope&&oe(n,t.scope)),t&&t.lazy||n.run();const o=n.run.bind(n);return o.effect=n,o},e.effectScope=function(e){return new ne(e)},e.getCurrentInstance=Wr,e.getCurrentScope=function(){return te},e.getTransitionRawChildren=Dn,e.guardReactiveProps=Rr,e.h=ss,e.handleError=Lt,e.hydrate=xi,e.initCustomFormatter=function(){},e.initDirectivesForSSR=ki,e.inject=Tn,e.isMemoSame=ls,e.isProxy=yt,e.isReactive=mt,e.isReadonly=gt,e.isRef=wt,e.isRuntimeOnly=()=>!qr,e.isShallow=vt,e.isVNode=Tr,e.markRaw=_t,e.mergeDefaults=function(e,t){const n=E(e)?e.reduce(((e,t)=>(e[t]={},e)),{}):e;for(const o in t){const e=n[o];e?E(e)||P(e)?n[o]={type:e,default:t[o]}:e.default=t[o]:null===e&&(n[o]={default:t[o]})}return n},e.mergeProps=Lr,e.nextTick=Jt,e.normalizeClass=c,e.normalizeProps=function(e){if(!e)return null;let{class:t,style:n}=e;return t&&!R(t)&&(e.class=c(t)),n&&(e.style=o(n)),e},e.normalizeStyle=o,e.onActivated=Jn,e.onBeforeMount=oo,e.onBeforeUnmount=lo,e.onBeforeUpdate=so,e.onDeactivated=Zn,e.onErrorCaptured=fo,e.onMounted=ro,e.onRenderTracked=po,e.onRenderTriggered=uo,e.onScopeDispose=function(e){te&&te.cleanups.push(e)},e.onServerPrefetch=ao,e.onUnmounted=co,e.onUpdated=io,e.openBlock=_r,e.popScopeId=function(){un=null},e.provide=wn,e.proxyRefs=Ft,e.pushScopeId=function(e){un=e},e.queuePostFlushCb=Qt,e.reactive=pt,e.readonly=dt,e.ref=Tt,e.registerRuntimeCompiler=Qr,e.render=Si,e.renderList=function(e,t,n,o){let r;const s=n&&n[o];if(E(e)||R(e)){r=new Array(e.length);for(let n=0,o=e.length;n<o;n++)r[n]=t(e[n],n,void 0,s&&s[n])}else if("number"==typeof e){r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,s&&s[n])}else if(M(e))if(e[Symbol.iterator])r=Array.from(e,((e,n)=>t(e,n,void 0,s&&s[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,i=n.length;o<i;o++){const i=n[o];r[o]=t(e[i],i,o,s&&s[o])}}else r=[];return n&&(n[o]=r),r},e.renderSlot=function(e,t,n={},o,r){if(an.isCE||an.parent&&Wn(an.parent)&&an.parent.isCE)return"default"!==t&&(n.name=t),Pr("slot",n,o&&o());let s=e[t];s&&s._c&&(s._d=!1),_r();const i=s&&bo(s(n)),l=wr(hr,{key:n.key||i&&i.key||`_${t}`},i||(o?o():[]),i&&1===e._?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l},e.resolveComponent=function(e,t){return vo(mo,e,!0,t)||e},e.resolveDirective=function(e){return vo("directives",e)},e.resolveDynamicComponent=function(e){return R(e)?vo(mo,e,!1)||e:e||go},e.resolveFilter=null,e.resolveTransitionHooks=Bn,e.setBlockTracking=Cr,e.setDevtoolsHook=function t(n,o){var r,s;if(e.devtools=n,e.devtools)e.devtools.enabled=!0,rn.forEach((({event:t,args:n})=>e.devtools.emit(t,...n))),rn=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null===(s=null===(r=window.navigator)||void 0===r?void 0:r.userAgent)||void 0===s?void 0:s.includes("jsdom"))){(o.__VUE_DEVTOOLS_HOOK_REPLAY__=o.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((e=>{t(e,o)})),setTimeout((()=>{e.devtools||(o.__VUE_DEVTOOLS_HOOK_REPLAY__=null,rn=[])}),3e3)}else rn=[]},e.setTransitionHooks=Un,e.shallowReactive=ft,e.shallowReadonly=function(e){return ht(e,!0,Ie,st,at)},e.shallowRef=function(e){return Nt(e,!0)},e.ssrContextKey=is,e.ssrUtils=null,e.stop=function(e){e.effect.stop()},e.toDisplayString=e=>R(e)?e:null==e?"":E(e)||M(e)&&(e.toString===I||!P(e.toString))?JSON.stringify(e,g,2):String(e),e.toHandlerKey=J,e.toHandlers=function(e,t){const n={};for(const o in e)n[t&&/[A-Z]/.test(o)?`on:${o}`:J(o)]=e[o];return n},e.toRaw=bt,e.toRef=$t,e.toRefs=function(e){const t=E(e)?new Array(e.length):{};for(const n in e)t[n]=$t(e,n);return t},e.transformVNodeArgs=function(e){},e.triggerRef=function(e){kt(e)},e.unref=Ot,e.useAttrs=function(){return rs().attrs},e.useCssModule=function(e="$style"){return v},e.useCssVars=function(e){const t=Wr();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>Ns(e,n)))},o=()=>{const o=e(t.proxy);Ts(t.subTree,o),n(o)};Nn(o),ro((()=>{const e=new MutationObserver(o);e.observe(t.subTree.el.parentNode,{childList:!0}),co((()=>e.disconnect()))}))},e.useSSRContext=()=>{},e.useSlots=function(){return rs().slots},e.useTransitionState=$n,e.vModelCheckbox=ni,e.vModelDynamic=ai,e.vModelRadio=ri,e.vModelSelect=si,e.vModelText=ti,e.vShow=hi,e.version=cs,e.warn=function(e,...t){},e.watch=On,e.watchEffect=function(e,t){return An(e,null,t)},e.watchPostEffect=Nn,e.watchSyncEffect=function(e,t){return An(e,null,{flush:"sync"})},e.withAsyncContext=function(e){const t=Wr();let n=e();return Kr(),V(n)&&(n=n.catch((e=>{throw zr(t),e}))),[n,()=>zr(t)]},e.withCtx=fn,e.withDefaults=function(e,t){return null},e.withDirectives=function(e,t){const n=an;if(null===n)return e;const o=ts(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[e,n,i,l=v]=t[s];e&&(P(e)&&(e={mounted:e,updated:e}),e.deep&&Rn(n),r.push({dir:e,instance:o,value:n,oldValue:void 0,arg:i,modifiers:l}))}return e},e.withKeys=(e,t)=>n=>{if(!("key"in n))return;const o=G(n.key);return t.some((e=>e===o||di[e]===o))?e(n):void 0},e.withMemo=function(e,t,n,o){const r=n[o];if(r&&ls(r,e))return r;const s=t();return s.memo=e.slice(),n[o]=s},e.withModifiers=(e,t)=>(n,...o)=>{for(let e=0;e<t.length;e++){const o=fi[t[e]];if(o&&o(n,t))return}return e(n,...o)},e.withScopeId=e=>fn,Object.defineProperty(e,"__esModule",{value:!0}),e}({});
@@ -5273,7 +5273,7 @@ a.thumbnail.active {
5273
5273
  .media,
5274
5274
  .media-body {
5275
5275
  overflow: hidden;
5276
- zoom: 1;
5276
+ transform: scale(1);
5277
5277
  }
5278
5278
  .media-body {
5279
5279
  width: 10000px;
@@ -172,7 +172,7 @@
172
172
  vertical-align: baseline;
173
173
  display: -moz-inline-stack;
174
174
  display: inline-block;
175
- zoom: 1;
175
+ transform: scale(1);
176
176
  *display: inline;
177
177
  }
178
178
  .selectize-control.multi .selectize-input > div {
@@ -24,7 +24,7 @@ module Blazer
24
24
 
25
25
  if Blazer.override_csp
26
26
  after_action do
27
- response.headers['Content-Security-Policy'] = "default-src 'self' https: 'unsafe-inline' 'unsafe-eval' data:"
27
+ response.headers['Content-Security-Policy'] = "default-src 'self' https: 'unsafe-inline' 'unsafe-eval' data: blob:"
28
28
  end
29
29
  end
30
30
 
@@ -32,101 +32,102 @@ module Blazer
32
32
 
33
33
  private
34
34
 
35
- def process_vars(statement, var_params = nil)
36
- var_params ||= request.query_parameters
37
- (@bind_vars ||= []).concat(statement.variables).uniq!
38
- # update in-place so populated in view and consistent across queries on dashboard
39
- @bind_vars.each do |var|
40
- if !var_params[var]
41
- default = statement.data_source.variable_defaults[var]
42
- # only add if default exists
43
- var_params[var] = default if default
44
- end
35
+ def process_vars(statement, var_params = nil)
36
+ var_params ||= request.query_parameters
37
+ (@bind_vars ||= []).concat(statement.variables).uniq!
38
+ # update in-place so populated in view and consistent across queries on dashboard
39
+ @bind_vars.each do |var|
40
+ if !var_params[var]
41
+ default = statement.data_source.variable_defaults[var]
42
+ # only add if default exists
43
+ var_params[var] = default if default
45
44
  end
46
- runnable = @bind_vars.all? { |v| var_params[v] }
47
- statement.add_values(var_params) if runnable
48
- runnable
49
45
  end
46
+ runnable = @bind_vars.all? { |v| var_params[v] }
47
+ statement.add_values(var_params) if runnable
48
+ runnable
49
+ end
50
50
 
51
- def refresh_query(query)
52
- statement = query.statement_object
53
- runnable = process_vars(statement)
54
- cohort_analysis_statement(statement) if statement.cohort_analysis?
55
- statement.clear_cache if runnable
56
- end
51
+ def refresh_query(query)
52
+ statement = query.statement_object
53
+ runnable = process_vars(statement)
54
+ cohort_analysis_statement(statement) if statement.cohort_analysis?
55
+ statement.clear_cache if runnable
56
+ end
57
57
 
58
- def add_cohort_analysis_vars
59
- @bind_vars << "cohort_period" unless @bind_vars.include?("cohort_period")
60
- @smart_vars["cohort_period"] = ["day", "week", "month"] if @smart_vars
61
- # TODO create var_params method
62
- request.query_parameters["cohort_period"] ||= "week"
63
- end
58
+ def add_cohort_analysis_vars
59
+ @bind_vars << "cohort_period" unless @bind_vars.include?("cohort_period")
60
+ @smart_vars["cohort_period"] = ["day", "week", "month"] if @smart_vars
61
+ # TODO create var_params method
62
+ request.query_parameters["cohort_period"] ||= "week"
63
+ end
64
64
 
65
- def parse_smart_variables(var, data_source)
66
- smart_var_data_source =
67
- ([data_source] + Array(data_source.settings["inherit_smart_settings"]).map { |ds| Blazer.data_sources[ds] }).find { |ds| ds.smart_variables[var] }
68
-
69
- if smart_var_data_source
70
- query = smart_var_data_source.smart_variables[var]
71
-
72
- if query.is_a? Hash
73
- smart_var = query.map { |k,v| [v, k] }
74
- elsif query.is_a? Array
75
- smart_var = query.map { |v| [v, v] }
76
- elsif query
77
- result = smart_var_data_source.run_statement(query)
78
- smart_var = result.rows.map { |v| v.reverse }
79
- error = result.error if result.error
80
- end
65
+ def parse_smart_variables(var, data_source)
66
+ smart_var_data_source =
67
+ ([data_source] + Array(data_source.settings["inherit_smart_settings"]).map { |ds| Blazer.data_sources[ds] }).find { |ds| ds.smart_variables[var] }
68
+
69
+ if smart_var_data_source
70
+ query = smart_var_data_source.smart_variables[var]
71
+
72
+ if query.is_a? Hash
73
+ smart_var = query.map { |k,v| [v, k] }
74
+ elsif query.is_a? Array
75
+ smart_var = query.map { |v| [v, v] }
76
+ elsif query
77
+ result = smart_var_data_source.run_statement(query)
78
+ smart_var = result.rows.map { |v| v.reverse }
79
+ error = result.error if result.error
81
80
  end
82
-
83
- [smart_var, error]
84
81
  end
85
82
 
86
- def cohort_analysis_statement(statement)
87
- @cohort_period = params["cohort_period"] || "week"
88
- @cohort_period = "week" unless ["day", "week", "month"].include?(@cohort_period)
89
-
90
- # for now
91
- @conversion_period = @cohort_period
92
- @cohort_days =
93
- case @cohort_period
94
- when "day"
95
- 1
96
- when "week"
97
- 7
98
- when "month"
99
- 30
100
- end
101
-
102
- statement.apply_cohort_analysis(period: @cohort_period, days: @cohort_days)
103
- end
83
+ [smart_var, error]
84
+ end
104
85
 
105
- # TODO allow all keys
106
- # or show error message for disallowed keys
107
- UNPERMITTED_KEYS = [:controller, :action, :id, :host, :query, :dashboard, :query_id, :query_ids, :table_names, :authenticity_token, :utf8, :_method, :commit, :statement, :data_source, :name, :fork_query_id, :blazer, :run_id, :script_name, :original_script_name]
86
+ def cohort_analysis_statement(statement)
87
+ @cohort_period = params["cohort_period"] || "week"
88
+ @cohort_period = "week" unless ["day", "week", "month"].include?(@cohort_period)
89
+
90
+ # for now
91
+ @conversion_period = @cohort_period
92
+ @cohort_days =
93
+ case @cohort_period
94
+ when "day"
95
+ 1
96
+ when "week"
97
+ 7
98
+ when "month"
99
+ 30
100
+ end
108
101
 
109
- def variable_params(resource, var_params = nil)
110
- permitted_keys = resource.variables - UNPERMITTED_KEYS.map(&:to_s)
111
- var_params ||= request.query_parameters
112
- var_params.slice(*permitted_keys)
113
- end
114
- helper_method :variable_params
102
+ statement.apply_cohort_analysis(period: @cohort_period, days: @cohort_days)
103
+ end
115
104
 
116
- def blazer_user
117
- send(Blazer.user_method) if Blazer.user_method && respond_to?(Blazer.user_method, true)
118
- end
119
- helper_method :blazer_user
105
+ def variable_params(resource, var_params = nil)
106
+ permitted_keys = resource.variables
107
+ var_params ||= request.query_parameters
108
+ var_params.slice(*permitted_keys)
109
+ end
110
+ helper_method :variable_params
120
111
 
121
- def render_errors(resource)
122
- @errors = resource.errors
123
- action = resource.persisted? ? :edit : :new
124
- render action, status: :unprocessable_entity
125
- end
112
+ def nested_variable_params(resource)
113
+ variable_params(resource, request.query_parameters["variables"] || {})
114
+ end
115
+ helper_method :nested_variable_params
126
116
 
127
- # do not inherit from ApplicationController - #120
128
- def default_url_options
129
- {}
130
- end
117
+ def blazer_user
118
+ send(Blazer.user_method) if Blazer.user_method && respond_to?(Blazer.user_method, true)
119
+ end
120
+ helper_method :blazer_user
121
+
122
+ def render_errors(resource)
123
+ @errors = resource.errors
124
+ action = resource.persisted? ? :edit : :new
125
+ render action, status: :unprocessable_entity
126
+ end
127
+
128
+ # do not inherit from ApplicationController - #120
129
+ def default_url_options
130
+ {}
131
+ end
131
132
  end
132
133
  end
@@ -45,12 +45,12 @@ module Blazer
45
45
 
46
46
  private
47
47
 
48
- def check_params
49
- params.require(:check).permit(:query_id, :emails, :slack_channels, :invert, :check_type, :schedule)
50
- end
48
+ def check_params
49
+ params.require(:check).permit(:query_id, :emails, :slack_channels, :invert, :check_type, :schedule)
50
+ end
51
51
 
52
- def set_check
53
- @check = Blazer::Check.find(params[:id])
54
- end
52
+ def set_check
53
+ @check = Blazer::Check.find(params[:id])
54
+ end
55
55
  end
56
56
  end