node-red-contrib-power-saver 3.4.3 → 3.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/docs/.vuepress/components/BestSaveVerificator.vue +17 -7
  2. package/docs/.vuepress/components/DonateButtons.vue +0 -1
  3. package/docs/.vuepress/config.js +15 -28
  4. package/docs/.vuepress/dist/404.html +6 -6
  5. package/docs/.vuepress/dist/assets/404.32f46df8.js +1 -0
  6. package/docs/.vuepress/dist/assets/404.html.bee13de6.js +1 -0
  7. package/docs/.vuepress/dist/assets/404.html.f166316b.js +1 -0
  8. package/docs/.vuepress/dist/assets/BestSaveVerificator.574001b7.js +1 -0
  9. package/docs/.vuepress/dist/assets/DonateButtons.ab660315.js +1 -0
  10. package/docs/.vuepress/dist/assets/Layout.1b8eeaf1.js +1 -0
  11. package/docs/.vuepress/dist/assets/{img/add-tariff-flow.eb700d4f.png → add-tariff-flow.9e258f5b.png} +0 -0
  12. package/docs/.vuepress/dist/assets/app.b3d8926b.js +8 -0
  13. package/docs/.vuepress/dist/assets/{img/back-to-top.8b37f773.svg → back-to-top.8efcbe56.svg} +0 -0
  14. package/docs/.vuepress/dist/assets/{img/best-save-config.79a2f39a.png → best-save-config.70d29386.png} +0 -0
  15. package/docs/.vuepress/dist/assets/best-save-viewer.html.bb64949a.js +1 -0
  16. package/docs/.vuepress/dist/assets/best-save-viewer.html.e897b3ac.js +1 -0
  17. package/docs/.vuepress/dist/assets/{img/copy-payload-best-save.b9192985.png → copy-payload-best-save.8b51cdf4.png} +0 -0
  18. package/docs/.vuepress/dist/assets/{img/elvia-config-no-config.b4bb972c.png → elvia-config-no-config.7ea35c3b.png} +0 -0
  19. package/docs/.vuepress/dist/assets/{img/elvia-config-no-tariff.3f89aba8.png → elvia-config-no-tariff.a208a0f3.png} +0 -0
  20. package/docs/.vuepress/dist/assets/{img/elvia-config-select-tariff.0f73fd56.png → elvia-config-select-tariff.48562d43.png} +0 -0
  21. package/docs/.vuepress/dist/assets/{img/elvia-config-subscription-key.8be8ab8a.png → elvia-config-subscription-key.3368b931.png} +0 -0
  22. package/docs/.vuepress/dist/assets/{img/elvia-flow.bae2a4d5.png → elvia-flow.a8b126d6.png} +0 -0
  23. package/docs/.vuepress/dist/assets/example-cascade-temperature-control.html.3632cc6c.js +272 -0
  24. package/docs/.vuepress/dist/assets/example-cascade-temperature-control.html.5a363ecf.js +1 -0
  25. package/docs/.vuepress/dist/assets/{img/example-flow-1.3ff3e23f.png → example-flow-1.971bbb87.png} +0 -0
  26. package/docs/.vuepress/dist/assets/{img/example-flow-2.b653b58d.png → example-flow-2.a0c62ed7.png} +0 -0
  27. package/docs/.vuepress/dist/assets/example-heat-capacitor.html.89cdea26.js +1 -0
  28. package/docs/.vuepress/dist/assets/example-heat-capacitor.html.b87ab267.js +215 -0
  29. package/docs/.vuepress/dist/assets/example-next-schedule-entity.html.dd06a4d6.js +11 -0
  30. package/docs/.vuepress/dist/assets/example-next-schedule-entity.html.fc8e9124.js +1 -0
  31. package/docs/.vuepress/dist/assets/example-nordpool-current-state.html.278abccb.js +1 -0
  32. package/docs/.vuepress/dist/assets/example-nordpool-current-state.html.8eca9b26.js +174 -0
  33. package/docs/.vuepress/dist/assets/example-nordpool-events-state.html.05c3331c.js +159 -0
  34. package/docs/.vuepress/dist/assets/example-nordpool-events-state.html.47dbda83.js +1 -0
  35. package/docs/.vuepress/dist/assets/example-tibber-mqtt.html.bed6459b.js +1 -0
  36. package/docs/.vuepress/dist/assets/example-tibber-mqtt.html.ce7f09e2.js +167 -0
  37. package/docs/.vuepress/dist/assets/{img/heat-capacitor-temperatureVsPrice.6e74905b.png → heat-capacitor-temperatureVsPrice.19bc8932.png} +0 -0
  38. package/docs/.vuepress/dist/assets/index.html.21bfa52e.js +1 -0
  39. package/docs/.vuepress/dist/assets/index.html.350682d1.js +38 -0
  40. package/docs/.vuepress/dist/assets/index.html.3bbc4fe4.js +1 -0
  41. package/docs/.vuepress/dist/assets/index.html.485a4abc.js +1 -0
  42. package/docs/.vuepress/dist/assets/index.html.49024575.js +1 -0
  43. package/docs/.vuepress/dist/assets/index.html.4c0ec52b.js +1 -0
  44. package/docs/.vuepress/dist/assets/index.html.54f6072c.js +1 -0
  45. package/docs/.vuepress/dist/assets/index.html.75c4e015.js +1 -0
  46. package/docs/.vuepress/dist/assets/index.html.7857db23.js +1 -0
  47. package/docs/.vuepress/dist/assets/index.html.797b027e.js +1 -0
  48. package/docs/.vuepress/dist/assets/index.html.88f59477.js +1 -0
  49. package/docs/.vuepress/dist/assets/index.html.c4e8bf36.js +1 -0
  50. package/docs/.vuepress/dist/assets/index.html.c98d742c.js +1 -0
  51. package/docs/.vuepress/dist/assets/index.html.edb1389f.js +1 -0
  52. package/docs/.vuepress/dist/assets/{img/lowest-price-config.6d66a8c2.png → lowest-price-config.d7043621.png} +0 -0
  53. package/docs/.vuepress/dist/assets/migrate-best-save.dcc20d06.js +1 -0
  54. package/docs/.vuepress/dist/assets/{img/migrate-best-save.f73420f6.png → migrate-best-save.ec036b00.png} +0 -0
  55. package/docs/.vuepress/dist/assets/{img/migrate-power-saver.aae13f9d.png → migrate-power-saver.98ee9f2e.png} +0 -0
  56. package/docs/.vuepress/dist/assets/mysterious-plan.687d8b75.png +0 -0
  57. package/docs/.vuepress/dist/assets/{img/next-schedule-entity.4406856a.png → next-schedule-entity.418ab6ec.png} +0 -0
  58. package/docs/.vuepress/dist/assets/{img/next-schedule-flow.413ad62b.png → next-schedule-flow.862dea60.png} +0 -0
  59. package/docs/.vuepress/dist/assets/{img/next-schedule-sensor.eb896bdd.png → next-schedule-sensor.87198baf.png} +0 -0
  60. package/docs/.vuepress/dist/assets/node-power-saver.3a115c24.js +1 -0
  61. package/docs/.vuepress/dist/assets/{img/node-power-saver.51ff2e5d.png → node-power-saver.feb2d4fb.png} +0 -0
  62. package/docs/.vuepress/dist/assets/{img/node-ps-elvia-add-tariff.94ea2b09.png → node-ps-elvia-add-tariff.0bff05a9.png} +0 -0
  63. package/docs/.vuepress/dist/assets/node-ps-elvia-add-tariff.57baddc7.js +1 -0
  64. package/docs/.vuepress/dist/assets/node-ps-general-add-tariff.17755af1.js +1 -0
  65. package/docs/.vuepress/dist/assets/{img/node-ps-general-add-tariff.a3cf6f06.png → node-ps-general-add-tariff.5a5c98c6.png} +0 -0
  66. package/docs/.vuepress/dist/assets/{img/node-ps-receive-price.76eaa418.png → node-ps-receive-price.3587e62e.png} +0 -0
  67. package/docs/.vuepress/dist/assets/node-ps-receive-price.dbc5e137.js +1 -0
  68. package/docs/.vuepress/dist/assets/{img/node-ps-strategy-best-save.392292d5.png → node-ps-strategy-best-save.13861759.png} +0 -0
  69. package/docs/.vuepress/dist/assets/node-ps-strategy-best-save.516d9e66.js +1 -0
  70. package/docs/.vuepress/dist/assets/{img/node-ps-strategy-heat-capacitor-cascade-control.2e75ed9e.png → node-ps-strategy-heat-capacitor-cascade-control.f35cce75.png} +0 -0
  71. package/docs/.vuepress/dist/assets/node-ps-strategy-heat-capacitor-simple-flow-example.099aa155.js +1 -0
  72. package/docs/.vuepress/dist/assets/{img/node-ps-strategy-heat-capacitor-simple-flow-example.29d9bf59.png → node-ps-strategy-heat-capacitor-simple-flow-example.5b712b3b.png} +0 -0
  73. package/docs/.vuepress/dist/assets/node-ps-strategy-heat-capacitor.e7736c9e.js +1 -0
  74. package/docs/.vuepress/dist/assets/{img/node-ps-strategy-lowest-price.3a4ad347.png → node-ps-strategy-lowest-price.4e5c38ee.png} +0 -0
  75. package/docs/.vuepress/dist/assets/node-ps-strategy-lowest-price.83209fac.js +1 -0
  76. package/docs/.vuepress/dist/assets/old-power-saver-doc.html.c7324541.js +1 -0
  77. package/docs/.vuepress/dist/assets/old-power-saver-doc.html.f428e475.js +83 -0
  78. package/docs/.vuepress/dist/assets/{img/oven-setpoint-calculation.5bda0eec.png → oven-setpoint-calculation.47b65429.png} +0 -0
  79. package/docs/.vuepress/dist/assets/{img/overshoot-time.b3b5d70e.png → overshoot-time.2c4e3929.png} +0 -0
  80. package/docs/.vuepress/dist/assets/plugin-vue_export-helper.21dcd24c.js +1 -0
  81. package/docs/.vuepress/dist/assets/{img/power-saver-nordpool-current-state.bf14afde.png → power-saver-nordpool-current-state.cbe8e48a.png} +0 -0
  82. package/docs/.vuepress/dist/assets/{img/power-saver-nordpool-events-state.8c392507.png → power-saver-nordpool-events-state.a764b813.png} +0 -0
  83. package/docs/.vuepress/dist/assets/{img/power-saver-tibber-mqtt.16891dd2.png → power-saver-tibber-mqtt.c04fb150.png} +0 -0
  84. package/docs/.vuepress/dist/assets/power-saver.html.4baca6ba.js +1 -0
  85. package/docs/.vuepress/dist/assets/power-saver.html.875a1f0e.js +1 -0
  86. package/docs/.vuepress/dist/assets/ps-elvia-add-tariff.html.05d3ab1b.js +1 -0
  87. package/docs/.vuepress/dist/assets/ps-elvia-add-tariff.html.dce36de0.js +1 -0
  88. package/docs/.vuepress/dist/assets/ps-general-add-tariff.html.3056f433.js +1 -0
  89. package/docs/.vuepress/dist/assets/ps-general-add-tariff.html.3cce3e4d.js +1 -0
  90. package/docs/.vuepress/dist/assets/ps-receive-price.html.0d762910.js +66 -0
  91. package/docs/.vuepress/dist/assets/ps-receive-price.html.53dde398.js +1 -0
  92. package/docs/.vuepress/dist/assets/ps-strategy-best-save.html.503ecfbe.js +1 -0
  93. package/docs/.vuepress/dist/assets/ps-strategy-best-save.html.9b0747bf.js +72 -0
  94. package/docs/.vuepress/dist/assets/ps-strategy-heat-capacitor.html.53b3383d.js +228 -0
  95. package/docs/.vuepress/dist/assets/ps-strategy-heat-capacitor.html.b7849bf7.js +1 -0
  96. package/docs/.vuepress/dist/assets/ps-strategy-lowest-price.html.1e419f56.js +92 -0
  97. package/docs/.vuepress/dist/assets/ps-strategy-lowest-price.html.f006d811.js +1 -0
  98. package/docs/.vuepress/dist/assets/strategy-input.html.6d452f16.js +26 -0
  99. package/docs/.vuepress/dist/assets/strategy-input.html.8a16d321.js +1 -0
  100. package/docs/.vuepress/dist/assets/style.a8aae67b.css +1 -0
  101. package/docs/.vuepress/dist/assets/temperature-manipulation-config.a0e0439b.png +0 -0
  102. package/docs/.vuepress/dist/changelog/index.html +6 -6
  103. package/docs/.vuepress/dist/contribute/index.html +6 -6
  104. package/docs/.vuepress/dist/examples/example-cascade-temperature-control.html +6 -6
  105. package/docs/.vuepress/dist/examples/example-heat-capacitor.html +6 -6
  106. package/docs/.vuepress/dist/examples/example-next-schedule-entity.html +7 -7
  107. package/docs/.vuepress/dist/examples/example-nordpool-current-state.html +6 -6
  108. package/docs/.vuepress/dist/examples/example-nordpool-events-state.html +6 -6
  109. package/docs/.vuepress/dist/examples/example-tibber-mqtt.html +6 -6
  110. package/docs/.vuepress/dist/examples/index.html +5 -5
  111. package/docs/.vuepress/dist/faq/best-save-viewer.html +6 -6
  112. package/docs/.vuepress/dist/faq/index.html +6 -6
  113. package/docs/.vuepress/dist/guide/index.html +8 -8
  114. package/docs/.vuepress/dist/index.html +6 -6
  115. package/docs/.vuepress/dist/nodes/index.html +6 -6
  116. package/docs/.vuepress/dist/nodes/old-power-saver-doc.html +9 -9
  117. package/docs/.vuepress/dist/nodes/power-saver.html +6 -6
  118. package/docs/.vuepress/dist/nodes/ps-elvia-add-tariff.html +6 -6
  119. package/docs/.vuepress/dist/nodes/ps-general-add-tariff.html +6 -6
  120. package/docs/.vuepress/dist/nodes/ps-receive-price.html +11 -11
  121. package/docs/.vuepress/dist/nodes/ps-strategy-best-save.html +12 -12
  122. package/docs/.vuepress/dist/nodes/ps-strategy-heat-capacitor.html +11 -11
  123. package/docs/.vuepress/dist/nodes/ps-strategy-lowest-price.html +11 -11
  124. package/docs/.vuepress/dist/nodes/strategy-input.html +6 -6
  125. package/docs/changelog/README.md +4 -0
  126. package/docs/faq/best-save-viewer.md +1 -0
  127. package/package.json +9 -11
  128. package/docs/.vuepress/dist/.nojekyll +0 -0
  129. package/docs/.vuepress/dist/assets/css/835.styles.c5afb22b.css +0 -1
  130. package/docs/.vuepress/dist/assets/css/896.styles.21a80cb6.css +0 -1
  131. package/docs/.vuepress/dist/assets/css/styles.1c48cbd0.css +0 -10
  132. package/docs/.vuepress/dist/assets/js/229.5c5378fa.js +0 -1
  133. package/docs/.vuepress/dist/assets/js/331.872104cd.js +0 -1
  134. package/docs/.vuepress/dist/assets/js/405.f4edd94d.js +0 -2
  135. package/docs/.vuepress/dist/assets/js/405.f4edd94d.js.LICENSE.txt +0 -8
  136. package/docs/.vuepress/dist/assets/js/490.1e639e05.js +0 -1
  137. package/docs/.vuepress/dist/assets/js/491.bd938119.js +0 -1
  138. package/docs/.vuepress/dist/assets/js/555.d8963d84.js +0 -1
  139. package/docs/.vuepress/dist/assets/js/811.5f659592.js +0 -1
  140. package/docs/.vuepress/dist/assets/js/app.6c6c1409.js +0 -1
  141. package/docs/.vuepress/dist/assets/js/runtime~app.f6ac32d7.js +0 -1
  142. package/docs/.vuepress/dist/assets/js/v-0607240a.0193a377.js +0 -1
  143. package/docs/.vuepress/dist/assets/js/v-08683c60.52e94cb6.js +0 -1
  144. package/docs/.vuepress/dist/assets/js/v-0aca7ba6.cac5d4b9.js +0 -1
  145. package/docs/.vuepress/dist/assets/js/v-0b5e3c8c.18561f6e.js +0 -1
  146. package/docs/.vuepress/dist/assets/js/v-1ad821fa.6697a349.js +0 -1
  147. package/docs/.vuepress/dist/assets/js/v-1b3a0ab8.c6c4e19b.js +0 -1
  148. package/docs/.vuepress/dist/assets/js/v-1e2b191e.07b8ab21.js +0 -1
  149. package/docs/.vuepress/dist/assets/js/v-29504124.00be7399.js +0 -1
  150. package/docs/.vuepress/dist/assets/js/v-30acb564.28af12af.js +0 -1
  151. package/docs/.vuepress/dist/assets/js/v-3706649a.c76d575b.js +0 -1
  152. package/docs/.vuepress/dist/assets/js/v-4637f9e4.d334c29a.js +0 -1
  153. package/docs/.vuepress/dist/assets/js/v-4c28314d.8cbb0f9d.js +0 -1
  154. package/docs/.vuepress/dist/assets/js/v-510ed0d4.c04bc2e4.js +0 -1
  155. package/docs/.vuepress/dist/assets/js/v-5954bcb2.dff3fc67.js +0 -1
  156. package/docs/.vuepress/dist/assets/js/v-5db8da3a.e5e6d7a6.js +0 -1
  157. package/docs/.vuepress/dist/assets/js/v-61f728ca.81968036.js +0 -1
  158. package/docs/.vuepress/dist/assets/js/v-677dfaed.c159b0f4.js +0 -1
  159. package/docs/.vuepress/dist/assets/js/v-7446a652.8fc2c591.js +0 -1
  160. package/docs/.vuepress/dist/assets/js/v-7c87f26e.8ed52391.js +0 -1
  161. package/docs/.vuepress/dist/assets/js/v-84304104.f3f07ed3.js +0 -1
  162. package/docs/.vuepress/dist/assets/js/v-8daa1a0e.ed84ca09.js +0 -1
  163. package/docs/.vuepress/dist/assets/js/v-b4a42144.9a2a0c9f.js +0 -1
  164. package/docs/.vuepress/dist/assets/js/v-e8c55052.b7d52fc6.js +0 -1
  165. package/docs/.vuepress/dist/assets/js/v-fffb8e28.d09ab959.js +0 -1
@@ -0,0 +1,8 @@
1
+ var Za=Object.defineProperty,ec=Object.defineProperties;var tc=Object.getOwnPropertyDescriptors;var no=Object.getOwnPropertySymbols;var Ts=Object.prototype.hasOwnProperty,Cs=Object.prototype.propertyIsEnumerable;var Ps=(e,t,n)=>t in e?Za(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ve=(e,t)=>{for(var n in t||(t={}))Ts.call(t,n)&&Ps(e,n,t[n]);if(no)for(var n of no(t))Cs.call(t,n)&&Ps(e,n,t[n]);return e},Ie=(e,t)=>ec(e,tc(t));var Tn=(e,t)=>{var n={};for(var o in e)Ts.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&no)for(var o of no(e))t.indexOf(o)<0&&Cs.call(e,o)&&(n[o]=e[o]);return n};const ws={};function Dr(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const nc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",oc=Dr(nc);function Yi(e){return!!e||e===""}function xt(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=he(o)?ic(o):xt(o);if(r)for(const s in r)t[s]=r[s]}return t}else{if(he(e))return e;if(be(e))return e}}const rc=/;(?![^(]*\))/g,sc=/:(.+)/;function ic(e){const t={};return e.split(rc).forEach(n=>{if(n){const o=n.split(sc);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function At(e){let t="";if(he(e))t=e;else if(Q(e))for(let n=0;n<e.length;n++){const o=At(e[n]);o&&(t+=o+" ")}else if(be(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function lc(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=rn(e[o],t[o]);return n}function rn(e,t){if(e===t)return!0;let n=As(e),o=As(t);if(n||o)return n&&o?e.getTime()===t.getTime():!1;if(n=Q(e),o=Q(t),n||o)return n&&o?lc(e,t):!1;if(n=be(e),o=be(t),n||o){if(!n||!o)return!1;const r=Object.keys(e).length,s=Object.keys(t).length;if(r!==s)return!1;for(const i in e){const l=e.hasOwnProperty(i),a=t.hasOwnProperty(i);if(l&&!a||!l&&a||!rn(e[i],t[i]))return!1}}return String(e)===String(t)}function Qi(e,t){return e.findIndex(n=>rn(n,t))}const Xi=e=>he(e)?e:e==null?"":Q(e)||be(e)&&(e.toString===el||!ee(e.toString))?JSON.stringify(e,Ji,2):String(e),Ji=(e,t)=>t&&t.__v_isRef?Ji(e,t.value):tn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r])=>(n[`${o} =>`]=r,n),{})}:ko(t)?{[`Set(${t.size})`]:[...t.values()]}:be(t)&&!Q(t)&&!tl(t)?String(t):t,pe={},en=[],Ye=()=>{},ac=()=>!1,cc=/^on[^a-z]/,Yn=e=>cc.test(e),Hr=e=>e.startsWith("onUpdate:"),Se=Object.assign,zr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},uc=Object.prototype.hasOwnProperty,se=(e,t)=>uc.call(e,t),Q=Array.isArray,tn=e=>No(e)==="[object Map]",ko=e=>No(e)==="[object Set]",As=e=>e instanceof Date,ee=e=>typeof e=="function",he=e=>typeof e=="string",Fr=e=>typeof e=="symbol",be=e=>e!==null&&typeof e=="object",Zi=e=>be(e)&&ee(e.then)&&ee(e.catch),el=Object.prototype.toString,No=e=>el.call(e),fc=e=>No(e).slice(8,-1),tl=e=>No(e)==="[object Object]",Br=e=>he(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ln=Dr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Mo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},dc=/-(\w)/g,nt=Mo(e=>e.replace(dc,(t,n)=>n?n.toUpperCase():"")),pc=/\B([A-Z])/g,Wt=Mo(e=>e.replace(pc,"-$1").toLowerCase()),Do=Mo(e=>e.charAt(0).toUpperCase()+e.slice(1)),Jo=Mo(e=>e?`on${Do(e)}`:""),Bn=(e,t)=>!Object.is(e,t),uo=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},go=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},vo=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ss;const hc=()=>Ss||(Ss=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let je;class mc{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&je&&(this.parent=je,this.index=(je.scopes||(je.scopes=[])).push(this)-1)}run(t){if(this.active)try{return je=this,t()}finally{je=this.parent}}on(){je=this}off(){je=this.parent}stop(t){if(this.active){let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.scopes)for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);if(this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.active=!1}}}function gc(e,t=je){t&&t.active&&t.effects.push(e)}function vc(){return je}function _c(e){je&&je.cleanups.push(e)}const Vr=e=>{const t=new Set(e);return t.w=0,t.n=0,t},nl=e=>(e.w&Ct)>0,ol=e=>(e.n&Ct)>0,yc=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Ct},wc=e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const r=t[o];nl(r)&&!ol(r)?r.delete(e):t[n++]=r,r.w&=~Ct,r.n&=~Ct}t.length=n}},dr=new WeakMap;let On=0,Ct=1;const pr=30;let et;const zt=Symbol(""),hr=Symbol("");class jr{constructor(t,n=null,o){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,gc(this,o)}run(){if(!this.active)return this.fn();let t=et,n=Pt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=et,et=this,Pt=!0,Ct=1<<++On,On<=pr?yc(this):$s(this),this.fn()}finally{On<=pr&&wc(this),Ct=1<<--On,et=this.parent,Pt=n,this.parent=void 0}}stop(){this.active&&($s(this),this.onStop&&this.onStop(),this.active=!1)}}function $s(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Pt=!0;const rl=[];function _n(){rl.push(Pt),Pt=!1}function yn(){const e=rl.pop();Pt=e===void 0?!0:e}function ze(e,t,n){if(Pt&&et){let o=dr.get(e);o||dr.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=Vr()),sl(r)}}function sl(e,t){let n=!1;On<=pr?ol(e)||(e.n|=Ct,n=!nl(e)):n=!e.has(et),n&&(e.add(et),et.deps.push(e))}function lt(e,t,n,o,r,s){const i=dr.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&Q(e))i.forEach((a,c)=>{(c==="length"||c>=o)&&l.push(a)});else switch(n!==void 0&&l.push(i.get(n)),t){case"add":Q(e)?Br(n)&&l.push(i.get("length")):(l.push(i.get(zt)),tn(e)&&l.push(i.get(hr)));break;case"delete":Q(e)||(l.push(i.get(zt)),tn(e)&&l.push(i.get(hr)));break;case"set":tn(e)&&l.push(i.get(zt));break}if(l.length===1)l[0]&&mr(l[0]);else{const a=[];for(const c of l)c&&a.push(...c);mr(Vr(a))}}function mr(e,t){for(const n of Q(e)?e:[...e])(n!==et||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const bc=Dr("__proto__,__v_isRef,__isVue"),il=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(Fr)),Ec=Ur(),xc=Ur(!1,!0),Pc=Ur(!0),Os=Tc();function Tc(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=ie(this);for(let s=0,i=this.length;s<i;s++)ze(o,"get",s+"");const r=o[t](...n);return r===-1||r===!1?o[t](...n.map(ie)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){_n();const o=ie(this)[t].apply(this,n);return yn(),o}}),e}function Ur(e=!1,t=!1){return function(o,r,s){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&s===(e?t?Bc:fl:t?ul:cl).get(o))return o;const i=Q(o);if(!e&&i&&se(Os,r))return Reflect.get(Os,r,s);const l=Reflect.get(o,r,s);return(Fr(r)?il.has(r):bc(r))||(e||ze(o,"get",r),t)?l:Pe(l)?!i||!Br(r)?l.value:l:be(l)?e?Kr(l):wn(l):l}}const Cc=ll(),Ac=ll(!0);function ll(e=!1){return function(n,o,r,s){let i=n[o];if(Vn(i)&&Pe(i)&&!Pe(r))return!1;if(!e&&!Vn(r)&&(dl(r)||(r=ie(r),i=ie(i)),!Q(n)&&Pe(i)&&!Pe(r)))return i.value=r,!0;const l=Q(n)&&Br(o)?Number(o)<n.length:se(n,o),a=Reflect.set(n,o,r,s);return n===ie(s)&&(l?Bn(r,i)&&lt(n,"set",o,r):lt(n,"add",o,r)),a}}function Sc(e,t){const n=se(e,t);e[t];const o=Reflect.deleteProperty(e,t);return o&&n&&lt(e,"delete",t,void 0),o}function $c(e,t){const n=Reflect.has(e,t);return(!Fr(t)||!il.has(t))&&ze(e,"has",t),n}function Oc(e){return ze(e,"iterate",Q(e)?"length":zt),Reflect.ownKeys(e)}const al={get:Ec,set:Cc,deleteProperty:Sc,has:$c,ownKeys:Oc},Rc={get:Pc,set(e,t){return!0},deleteProperty(e,t){return!0}},Lc=Se({},al,{get:xc,set:Ac}),Wr=e=>e,Ho=e=>Reflect.getPrototypeOf(e);function oo(e,t,n=!1,o=!1){e=e.__v_raw;const r=ie(e),s=ie(t);t!==s&&!n&&ze(r,"get",t),!n&&ze(r,"get",s);const{has:i}=Ho(r),l=o?Wr:n?Yr:jn;if(i.call(r,t))return l(e.get(t));if(i.call(r,s))return l(e.get(s));e!==r&&e.get(t)}function ro(e,t=!1){const n=this.__v_raw,o=ie(n),r=ie(e);return e!==r&&!t&&ze(o,"has",e),!t&&ze(o,"has",r),e===r?n.has(e):n.has(e)||n.has(r)}function so(e,t=!1){return e=e.__v_raw,!t&&ze(ie(e),"iterate",zt),Reflect.get(e,"size",e)}function Rs(e){e=ie(e);const t=ie(this);return Ho(t).has.call(t,e)||(t.add(e),lt(t,"add",e,e)),this}function Ls(e,t){t=ie(t);const n=ie(this),{has:o,get:r}=Ho(n);let s=o.call(n,e);s||(e=ie(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?Bn(t,i)&&lt(n,"set",e,t):lt(n,"add",e,t),this}function Is(e){const t=ie(this),{has:n,get:o}=Ho(t);let r=n.call(t,e);r||(e=ie(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&lt(t,"delete",e,void 0),s}function ks(){const e=ie(this),t=e.size!==0,n=e.clear();return t&&lt(e,"clear",void 0,void 0),n}function io(e,t){return function(o,r){const s=this,i=s.__v_raw,l=ie(i),a=t?Wr:e?Yr:jn;return!e&&ze(l,"iterate",zt),i.forEach((c,u)=>o.call(r,a(c),a(u),s))}}function lo(e,t,n){return function(...o){const r=this.__v_raw,s=ie(r),i=tn(s),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,c=r[e](...o),u=n?Wr:t?Yr:jn;return!t&&ze(s,"iterate",a?hr:zt),{next(){const{value:h,done:d}=c.next();return d?{value:h,done:d}:{value:l?[u(h[0]),u(h[1])]:u(h),done:d}},[Symbol.iterator](){return this}}}}function pt(e){return function(...t){return e==="delete"?!1:this}}function Ic(){const e={get(s){return oo(this,s)},get size(){return so(this)},has:ro,add:Rs,set:Ls,delete:Is,clear:ks,forEach:io(!1,!1)},t={get(s){return oo(this,s,!1,!0)},get size(){return so(this)},has:ro,add:Rs,set:Ls,delete:Is,clear:ks,forEach:io(!1,!0)},n={get(s){return oo(this,s,!0)},get size(){return so(this,!0)},has(s){return ro.call(this,s,!0)},add:pt("add"),set:pt("set"),delete:pt("delete"),clear:pt("clear"),forEach:io(!0,!1)},o={get(s){return oo(this,s,!0,!0)},get size(){return so(this,!0)},has(s){return ro.call(this,s,!0)},add:pt("add"),set:pt("set"),delete:pt("delete"),clear:pt("clear"),forEach:io(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=lo(s,!1,!1),n[s]=lo(s,!0,!1),t[s]=lo(s,!1,!0),o[s]=lo(s,!0,!0)}),[e,n,t,o]}const[kc,Nc,Mc,Dc]=Ic();function qr(e,t){const n=t?e?Dc:Mc:e?Nc:kc;return(o,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(se(n,r)&&r in o?n:o,r,s)}const Hc={get:qr(!1,!1)},zc={get:qr(!1,!0)},Fc={get:qr(!0,!1)},cl=new WeakMap,ul=new WeakMap,fl=new WeakMap,Bc=new WeakMap;function Vc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function jc(e){return e.__v_skip||!Object.isExtensible(e)?0:Vc(fc(e))}function wn(e){return Vn(e)?e:Gr(e,!1,al,Hc,cl)}function Uc(e){return Gr(e,!1,Lc,zc,ul)}function Kr(e){return Gr(e,!0,Rc,Fc,fl)}function Gr(e,t,n,o,r){if(!be(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=jc(e);if(i===0)return e;const l=new Proxy(e,i===2?o:n);return r.set(e,l),l}function nn(e){return Vn(e)?nn(e.__v_raw):!!(e&&e.__v_isReactive)}function Vn(e){return!!(e&&e.__v_isReadonly)}function dl(e){return!!(e&&e.__v_isShallow)}function pl(e){return nn(e)||Vn(e)}function ie(e){const t=e&&e.__v_raw;return t?ie(t):e}function hl(e){return go(e,"__v_skip",!0),e}const jn=e=>be(e)?wn(e):e,Yr=e=>be(e)?Kr(e):e;function ml(e){Pt&&et&&(e=ie(e),sl(e.dep||(e.dep=Vr())))}function gl(e,t){e=ie(e),e.dep&&mr(e.dep)}function Pe(e){return!!(e&&e.__v_isRef===!0)}function Te(e){return _l(e,!1)}function vl(e){return _l(e,!0)}function _l(e,t){return Pe(e)?e:new Wc(e,t)}class Wc{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ie(t),this._value=n?t:jn(t)}get value(){return ml(this),this._value}set value(t){t=this.__v_isShallow?t:ie(t),Bn(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:jn(t),gl(this))}}function Ft(e){return Pe(e)?e.value:e}const qc={get:(e,t,n)=>Ft(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Pe(r)&&!Pe(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function yl(e){return nn(e)?e:new Proxy(e,qc)}function Ym(e){const t=Q(e)?new Array(e.length):{};for(const n in e)t[n]=Gc(e,n);return t}class Kc{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function Gc(e,t,n){const o=e[t];return Pe(o)?o:new Kc(e,t,n)}class Yc{constructor(t,n,o,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new jr(t,()=>{this._dirty||(this._dirty=!0,gl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=ie(this);return ml(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Qc(e,t,n=!1){let o,r;const s=ee(e);return s?(o=e,r=Ye):(o=e.get,r=e.set),new Yc(o,r,s||!r,n)}Promise.resolve();function Tt(e,t,n,o){let r;try{r=o?e(...o):e()}catch(s){Qn(s,t,n)}return r}function Ue(e,t,n,o){if(ee(e)){const s=Tt(e,t,n,o);return s&&Zi(s)&&s.catch(i=>{Qn(i,t,n)}),s}const r=[];for(let s=0;s<e.length;s++)r.push(Ue(e[s],t,n,o));return r}function Qn(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let s=t.parent;const i=t.proxy,l=n;for(;s;){const c=s.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,i,l)===!1)return}s=s.parent}const a=t.appContext.config.errorHandler;if(a){Tt(a,null,10,[e,i,l]);return}}Xc(e,n,r,o)}function Xc(e,t,n,o=!0){console.error(e)}let _o=!1,gr=!1;const De=[];let rt=0;const In=[];let Rn=null,Xt=0;const kn=[];let _t=null,Jt=0;const wl=Promise.resolve();let Qr=null,vr=null;function zo(e){const t=Qr||wl;return e?t.then(this?e.bind(this):e):t}function Jc(e){let t=rt+1,n=De.length;for(;t<n;){const o=t+n>>>1;Un(De[o])<e?t=o+1:n=o}return t}function Xr(e){(!De.length||!De.includes(e,_o&&e.allowRecurse?rt+1:rt))&&e!==vr&&(e.id==null?De.push(e):De.splice(Jc(e.id),0,e),bl())}function bl(){!_o&&!gr&&(gr=!0,Qr=wl.then(xl))}function Zc(e){const t=De.indexOf(e);t>rt&&De.splice(t,1)}function El(e,t,n,o){Q(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?o+1:o))&&n.push(e),bl()}function eu(e){El(e,Rn,In,Xt)}function tu(e){El(e,_t,kn,Jt)}function Jr(e,t=null){if(In.length){for(vr=t,Rn=[...new Set(In)],In.length=0,Xt=0;Xt<Rn.length;Xt++)Rn[Xt]();Rn=null,Xt=0,vr=null,Jr(e,t)}}function yo(e){if(kn.length){const t=[...new Set(kn)];if(kn.length=0,_t){_t.push(...t);return}for(_t=t,_t.sort((n,o)=>Un(n)-Un(o)),Jt=0;Jt<_t.length;Jt++)_t[Jt]();_t=null,Jt=0}}const Un=e=>e.id==null?1/0:e.id;function xl(e){gr=!1,_o=!0,Jr(e),De.sort((n,o)=>Un(n)-Un(o));const t=Ye;try{for(rt=0;rt<De.length;rt++){const n=De[rt];n&&n.active!==!1&&Tt(n,null,14)}}finally{rt=0,De.length=0,yo(),_o=!1,Qr=null,(De.length||In.length||kn.length)&&xl(e)}}function nu(e,t,...n){const o=e.vnode.props||pe;let r=n;const s=t.startsWith("update:"),i=s&&t.slice(7);if(i&&i in o){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:h,trim:d}=o[u]||pe;d?r=n.map(_=>_.trim()):h&&(r=n.map(vo))}let l,a=o[l=Jo(t)]||o[l=Jo(nt(t))];!a&&s&&(a=o[l=Jo(Wt(t))]),a&&Ue(a,e,6,r);const c=o[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ue(c,e,6,r)}}function Pl(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const s=e.emits;let i={},l=!1;if(!ee(e)){const a=c=>{const u=Pl(c,t,!0);u&&(l=!0,Se(i,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!s&&!l?(o.set(e,null),null):(Q(s)?s.forEach(a=>i[a]=null):Se(i,s),o.set(e,i),i)}function Zr(e,t){return!e||!Yn(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,Wt(t))||se(e,t))}let He=null,Fo=null;function wo(e){const t=He;return He=e,Fo=e&&e.type.__scopeId||null,t}function ou(e){Fo=e}function ru(){Fo=null}const su=e=>sn;function sn(e,t=He,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&Ws(-1);const s=wo(t),i=e(...r);return wo(s),o._d&&Ws(1),i};return o._n=!0,o._c=!0,o._d=!0,o}function Zo(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:l,attrs:a,emit:c,render:u,renderCache:h,data:d,setupState:_,ctx:p,inheritAttrs:y}=e;let m,v;const w=wo(e);try{if(n.shapeFlag&4){const A=r||o;m=Ge(u.call(A,A,h,s,_,d,p)),v=a}else{const A=t;m=Ge(A.length>1?A(s,{attrs:a,slots:l,emit:c}):A(s,null)),v=t.props?a:iu(a)}}catch(A){Mn.length=0,Qn(A,e,1),m=ye(qe)}let P=m;if(v&&y!==!1){const A=Object.keys(v),{shapeFlag:M}=P;A.length&&M&7&&(i&&A.some(Hr)&&(v=lu(v,i)),P=cn(P,v))}return n.dirs&&(P.dirs=P.dirs?P.dirs.concat(n.dirs):n.dirs),n.transition&&(P.transition=n.transition),m=P,wo(w),m}const iu=e=>{let t;for(const n in e)(n==="class"||n==="style"||Yn(n))&&((t||(t={}))[n]=e[n]);return t},lu=(e,t)=>{const n={};for(const o in e)(!Hr(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function au(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:l,patchFlag:a}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return o?Ns(o,i,c):!!i;if(a&8){const u=t.dynamicProps;for(let h=0;h<u.length;h++){const d=u[h];if(i[d]!==o[d]&&!Zr(c,d))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:o===i?!1:o?i?Ns(o,i,c):!0:!!i;return!1}function Ns(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]&&!Zr(n,s))return!0}return!1}function cu({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const uu=e=>e.__isSuspense;function Tl(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):tu(e)}function Bt(e,t){if(xe){let n=xe.provides;const o=xe.parent&&xe.parent.provides;o===n&&(n=xe.provides=Object.create(o)),n[e]=t}}function Ce(e,t,n=!1){const o=xe||He;if(o){const r=o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&ee(t)?t.call(o.proxy):t}}const Ms={};function it(e,t,n){return Cl(e,t,n)}function Cl(e,t,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:i}=pe){const l=xe;let a,c=!1,u=!1;if(Pe(e)?(a=()=>e.value,c=dl(e)):nn(e)?(a=()=>e,o=!0):Q(e)?(u=!0,c=e.some(nn),a=()=>e.map(v=>{if(Pe(v))return v.value;if(nn(v))return Ht(v);if(ee(v))return Tt(v,l,2)})):ee(e)?t?a=()=>Tt(e,l,2):a=()=>{if(!(l&&l.isUnmounted))return h&&h(),Ue(e,l,3,[d])}:a=Ye,t&&o){const v=a;a=()=>Ht(v())}let h,d=v=>{h=m.onStop=()=>{Tt(v,l,4)}};if(fn)return d=Ye,t?n&&Ue(t,l,3,[a(),u?[]:void 0,d]):a(),Ye;let _=u?[]:Ms;const p=()=>{if(!!m.active)if(t){const v=m.run();(o||c||(u?v.some((w,P)=>Bn(w,_[P])):Bn(v,_)))&&(h&&h(),Ue(t,l,3,[v,_===Ms?void 0:_,d]),_=v)}else m.run()};p.allowRecurse=!!t;let y;r==="sync"?y=p:r==="post"?y=()=>ke(p,l&&l.suspense):y=()=>{!l||l.isMounted?eu(p):p()};const m=new jr(a,y);return t?n?p():_=m.run():r==="post"?ke(m.run.bind(m),l&&l.suspense):m.run(),()=>{m.stop(),l&&l.scope&&zr(l.scope.effects,m)}}function fu(e,t,n){const o=this.proxy,r=he(e)?e.includes(".")?Al(o,e):()=>o[e]:e.bind(o,o);let s;ee(t)?s=t:(s=t.handler,n=t);const i=xe;un(this);const l=Cl(r,s.bind(o),n);return i?un(i):jt(),l}function Al(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r<n.length&&o;r++)o=o[n[r]];return o}}function Ht(e,t){if(!be(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Pe(e))Ht(e.value,t);else if(Q(e))for(let n=0;n<e.length;n++)Ht(e[n],t);else if(ko(e)||tn(e))e.forEach(n=>{Ht(n,t)});else if(tl(e))for(const n in e)Ht(e[n],t);return e}function du(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ft(()=>{e.isMounted=!0}),es(()=>{e.isUnmounting=!0}),e}const Be=[Function,Array],pu={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Be,onEnter:Be,onAfterEnter:Be,onEnterCancelled:Be,onBeforeLeave:Be,onLeave:Be,onAfterLeave:Be,onLeaveCancelled:Be,onBeforeAppear:Be,onAppear:Be,onAfterAppear:Be,onAppearCancelled:Be},setup(e,{slots:t}){const n=Kl(),o=du();let r;return()=>{const s=t.default&&Ol(t.default(),!0);if(!s||!s.length)return;const i=ie(e),{mode:l}=i,a=s[0];if(o.isLeaving)return er(a);const c=Ds(a);if(!c)return er(a);const u=_r(c,i,o,n);yr(c,u);const h=n.subTree,d=h&&Ds(h);let _=!1;const{getTransitionKey:p}=c.type;if(p){const y=p();r===void 0?r=y:y!==r&&(r=y,_=!0)}if(d&&d.type!==qe&&(!Mt(c,d)||_)){const y=_r(d,i,o,n);if(yr(d,y),l==="out-in")return o.isLeaving=!0,y.afterLeave=()=>{o.isLeaving=!1,n.update()},er(a);l==="in-out"&&c.type!==qe&&(y.delayLeave=(m,v,w)=>{const P=$l(o,d);P[String(d.key)]=d,m._leaveCb=()=>{v(),m._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=w})}return a}}},Sl=pu;function $l(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 _r(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:h,onLeave:d,onAfterLeave:_,onLeaveCancelled:p,onBeforeAppear:y,onAppear:m,onAfterAppear:v,onAppearCancelled:w}=t,P=String(e.key),A=$l(n,e),M=(C,x)=>{C&&Ue(C,o,9,x)},H={mode:s,persisted:i,beforeEnter(C){let x=l;if(!n.isMounted)if(r)x=y||l;else return;C._leaveCb&&C._leaveCb(!0);const F=A[P];F&&Mt(e,F)&&F.el._leaveCb&&F.el._leaveCb(),M(x,[C])},enter(C){let x=a,F=c,z=u;if(!n.isMounted)if(r)x=m||a,F=v||c,z=w||u;else return;let q=!1;const E=C._enterCb=I=>{q||(q=!0,I?M(z,[C]):M(F,[C]),H.delayedLeave&&H.delayedLeave(),C._enterCb=void 0)};x?(x(C,E),x.length<=1&&E()):E()},leave(C,x){const F=String(e.key);if(C._enterCb&&C._enterCb(!0),n.isUnmounting)return x();M(h,[C]);let z=!1;const q=C._leaveCb=E=>{z||(z=!0,x(),E?M(p,[C]):M(_,[C]),C._leaveCb=void 0,A[F]===e&&delete A[F])};A[F]=e,d?(d(C,q),d.length<=1&&q()):q()},clone(C){return _r(C,t,n,o)}};return H}function er(e){if(Xn(e))return e=cn(e),e.children=null,e}function Ds(e){return Xn(e)?e.children?e.children[0]:void 0:e}function yr(e,t){e.shapeFlag&6&&e.component?yr(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ol(e,t=!1){let n=[],o=0;for(let r=0;r<e.length;r++){const s=e[r];s.type===Re?(s.patchFlag&128&&o++,n=n.concat(Ol(s.children,t))):(t||s.type!==qe)&&n.push(s)}if(o>1)for(let r=0;r<n.length;r++)n[r].patchFlag=-2;return n}function Ae(e){return ee(e)?{setup:e,name:e.name}:e}const bo=e=>!!e.type.__asyncLoader;function ue(e){ee(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:s,suspensible:i=!0,onError:l}=e;let a=null,c,u=0;const h=()=>(u++,a=null,d()),d=()=>{let _;return a||(_=a=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),l)return new Promise((y,m)=>{l(p,()=>y(h()),()=>m(p),u+1)});throw p}).then(p=>_!==a&&a?a:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),c=p,p)))};return Ae({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const _=xe;if(c)return()=>tr(c,_);const p=w=>{a=null,Qn(w,_,13,!o)};if(i&&_.suspense||fn)return d().then(w=>()=>tr(w,_)).catch(w=>(p(w),()=>o?ye(o,{error:w}):null));const y=Te(!1),m=Te(),v=Te(!!r);return r&&setTimeout(()=>{v.value=!1},r),s!=null&&setTimeout(()=>{if(!y.value&&!m.value){const w=new Error(`Async component timed out after ${s}ms.`);p(w),m.value=w}},s),d().then(()=>{y.value=!0,_.parent&&Xn(_.parent.vnode)&&Xr(_.parent.update)}).catch(w=>{p(w),m.value=w}),()=>{if(y.value&&c)return tr(c,_);if(m.value&&o)return ye(o,{error:m.value});if(n&&!v.value)return ye(n)}}})}function tr(e,{vnode:{ref:t,props:n,children:o}}){const r=ye(e,n,o);return r.ref=t,r}const Xn=e=>e.type.__isKeepAlive;function hu(e,t){Rl(e,"a",t)}function mu(e,t){Rl(e,"da",t)}function Rl(e,t,n=xe){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Bo(t,o,n),n){let r=n.parent;for(;r&&r.parent;)Xn(r.parent.vnode)&&gu(o,t,n,r),r=r.parent}}function gu(e,t,n,o){const r=Bo(t,e,o,!0);ts(()=>{zr(o[t],r)},n)}function Bo(e,t,n=xe,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;_n(),un(n);const l=Ue(t,n,e,i);return jt(),yn(),l});return o?r.unshift(s):r.push(s),s}}const ut=e=>(t,n=xe)=>(!fn||e==="sp")&&Bo(e,t,n),vu=ut("bm"),ft=ut("m"),_u=ut("bu"),yu=ut("u"),es=ut("bum"),ts=ut("um"),wu=ut("sp"),bu=ut("rtg"),Eu=ut("rtc");function xu(e,t=xe){Bo("ec",e,t)}let wr=!0;function Pu(e){const t=Il(e),n=e.proxy,o=e.ctx;wr=!1,t.beforeCreate&&Hs(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:i,watch:l,provide:a,inject:c,created:u,beforeMount:h,mounted:d,beforeUpdate:_,updated:p,activated:y,deactivated:m,beforeDestroy:v,beforeUnmount:w,destroyed:P,unmounted:A,render:M,renderTracked:H,renderTriggered:C,errorCaptured:x,serverPrefetch:F,expose:z,inheritAttrs:q,components:E,directives:I,filters:W}=t;if(c&&Tu(c,o,null,e.appContext.config.unwrapInjectedRef),i)for(const Z in i){const oe=i[Z];ee(oe)&&(o[Z]=oe.bind(n))}if(r){const Z=r.call(n,n);be(Z)&&(e.data=wn(Z))}if(wr=!0,s)for(const Z in s){const oe=s[Z],Ee=ee(oe)?oe.bind(n,n):ee(oe.get)?oe.get.bind(n,n):Ye,$e=!ee(oe)&&ee(oe.set)?oe.set.bind(n):Ye,Ne=we({get:Ee,set:$e});Object.defineProperty(o,Z,{enumerable:!0,configurable:!0,get:()=>Ne.value,set:Fe=>Ne.value=Fe})}if(l)for(const Z in l)Ll(l[Z],o,n,Z);if(a){const Z=ee(a)?a.call(n):a;Reflect.ownKeys(Z).forEach(oe=>{Bt(oe,Z[oe])})}u&&Hs(u,e,"c");function B(Z,oe){Q(oe)?oe.forEach(Ee=>Z(Ee.bind(n))):oe&&Z(oe.bind(n))}if(B(vu,h),B(ft,d),B(_u,_),B(yu,p),B(hu,y),B(mu,m),B(xu,x),B(Eu,H),B(bu,C),B(es,w),B(ts,A),B(wu,F),Q(z))if(z.length){const Z=e.exposed||(e.exposed={});z.forEach(oe=>{Object.defineProperty(Z,oe,{get:()=>n[oe],set:Ee=>n[oe]=Ee})})}else e.exposed||(e.exposed={});M&&e.render===Ye&&(e.render=M),q!=null&&(e.inheritAttrs=q),E&&(e.components=E),I&&(e.directives=I)}function Tu(e,t,n=Ye,o=!1){Q(e)&&(e=br(e));for(const r in e){const s=e[r];let i;be(s)?"default"in s?i=Ce(s.from||r,s.default,!0):i=Ce(s.from||r):i=Ce(s),Pe(i)&&o?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[r]=i}}function Hs(e,t,n){Ue(Q(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ll(e,t,n,o){const r=o.includes(".")?Al(n,o):()=>n[o];if(he(e)){const s=t[e];ee(s)&&it(r,s)}else if(ee(e))it(r,e.bind(n));else if(be(e))if(Q(e))e.forEach(s=>Ll(s,t,n,o));else{const s=ee(e.handler)?e.handler.bind(n):t[e.handler];ee(s)&&it(r,s,e)}}function Il(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,l=s.get(t);let a;return l?a=l:!r.length&&!n&&!o?a=t:(a={},r.length&&r.forEach(c=>Eo(a,c,i,!0)),Eo(a,t,i)),s.set(t,a),a}function Eo(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&Eo(e,s,n,!0),r&&r.forEach(i=>Eo(e,i,n,!0));for(const i in t)if(!(o&&i==="expose")){const l=Cu[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Cu={data:zs,props:Lt,emits:Lt,methods:Lt,computed:Lt,beforeCreate:Oe,created:Oe,beforeMount:Oe,mounted:Oe,beforeUpdate:Oe,updated:Oe,beforeDestroy:Oe,beforeUnmount:Oe,destroyed:Oe,unmounted:Oe,activated:Oe,deactivated:Oe,errorCaptured:Oe,serverPrefetch:Oe,components:Lt,directives:Lt,watch:Su,provide:zs,inject:Au};function zs(e,t){return t?e?function(){return Se(ee(e)?e.call(this,this):e,ee(t)?t.call(this,this):t)}:t:e}function Au(e,t){return Lt(br(e),br(t))}function br(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Oe(e,t){return e?[...new Set([].concat(e,t))]:t}function Lt(e,t){return e?Se(Se(Object.create(null),e),t):t}function Su(e,t){if(!e)return t;if(!t)return e;const n=Se(Object.create(null),e);for(const o in t)n[o]=Oe(e[o],t[o]);return n}function $u(e,t,n,o=!1){const r={},s={};go(s,Vo,1),e.propsDefaults=Object.create(null),kl(e,t,r,s);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=o?r:Uc(r):e.type.props?e.props=r:e.props=s,e.attrs=s}function Ou(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,l=ie(r),[a]=e.propsOptions;let c=!1;if((o||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let h=0;h<u.length;h++){let d=u[h];const _=t[d];if(a)if(se(s,d))_!==s[d]&&(s[d]=_,c=!0);else{const p=nt(d);r[p]=Er(a,l,p,_,e,!1)}else _!==s[d]&&(s[d]=_,c=!0)}}}else{kl(e,t,r,s)&&(c=!0);let u;for(const h in l)(!t||!se(t,h)&&((u=Wt(h))===h||!se(t,u)))&&(a?n&&(n[h]!==void 0||n[u]!==void 0)&&(r[h]=Er(a,l,h,void 0,e,!0)):delete r[h]);if(s!==l)for(const h in s)(!t||!se(t,h)&&!0)&&(delete s[h],c=!0)}c&&lt(e,"set","$attrs")}function kl(e,t,n,o){const[r,s]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(Ln(a))continue;const c=t[a];let u;r&&se(r,u=nt(a))?!s||!s.includes(u)?n[u]=c:(l||(l={}))[u]=c:Zr(e.emitsOptions,a)||(!(a in o)||c!==o[a])&&(o[a]=c,i=!0)}if(s){const a=ie(n),c=l||pe;for(let u=0;u<s.length;u++){const h=s[u];n[h]=Er(r,a,h,c[h],e,!se(c,h))}}return i}function Er(e,t,n,o,r,s){const i=e[n];if(i!=null){const l=se(i,"default");if(l&&o===void 0){const a=i.default;if(i.type!==Function&&ee(a)){const{propsDefaults:c}=r;n in c?o=c[n]:(un(r),o=c[n]=a.call(null,t),jt())}else o=a}i[0]&&(s&&!l?o=!1:i[1]&&(o===""||o===Wt(n))&&(o=!0))}return o}function Nl(e,t,n=!1){const o=t.propsCache,r=o.get(e);if(r)return r;const s=e.props,i={},l=[];let a=!1;if(!ee(e)){const u=h=>{a=!0;const[d,_]=Nl(h,t,!0);Se(i,d),_&&l.push(..._)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!a)return o.set(e,en),en;if(Q(s))for(let u=0;u<s.length;u++){const h=nt(s[u]);Fs(h)&&(i[h]=pe)}else if(s)for(const u in s){const h=nt(u);if(Fs(h)){const d=s[u],_=i[h]=Q(d)||ee(d)?{type:d}:d;if(_){const p=js(Boolean,_.type),y=js(String,_.type);_[0]=p>-1,_[1]=y<0||p<y,(p>-1||se(_,"default"))&&l.push(h)}}}const c=[i,l];return o.set(e,c),c}function Fs(e){return e[0]!=="$"}function Bs(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Vs(e,t){return Bs(e)===Bs(t)}function js(e,t){return Q(t)?t.findIndex(n=>Vs(n,e)):ee(t)&&Vs(t,e)?0:-1}const Ml=e=>e[0]==="_"||e==="$stable",ns=e=>Q(e)?e.map(Ge):[Ge(e)],Ru=(e,t,n)=>{const o=sn((...r)=>ns(t(...r)),n);return o._c=!1,o},Dl=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Ml(r))continue;const s=e[r];if(ee(s))t[r]=Ru(r,s,o);else if(s!=null){const i=ns(s);t[r]=()=>i}}},Hl=(e,t)=>{const n=ns(t);e.slots.default=()=>n},Lu=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ie(t),go(t,"_",n)):Dl(t,e.slots={})}else e.slots={},t&&Hl(e,t);go(e.slots,Vo,1)},Iu=(e,t,n)=>{const{vnode:o,slots:r}=e;let s=!0,i=pe;if(o.shapeFlag&32){const l=t._;l?n&&l===1?s=!1:(Se(r,t),!n&&l===1&&delete r._):(s=!t.$stable,Dl(t,r)),i=t}else t&&(Hl(e,t),i={default:1});if(s)for(const l in r)!Ml(l)&&!(l in i)&&delete r[l]};function Qm(e,t){const n=He;if(n===null)return e;const o=n.proxy,r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[i,l,a,c=pe]=t[s];ee(i)&&(i={mounted:i,updated:i}),i.deep&&Ht(l),r.push({dir:i,instance:o,value:l,oldValue:void 0,arg:a,modifiers:c})}return e}function Xe(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 a=l.dir[o];a&&(_n(),Ue(a,n,8,[e.el,l,e,t]),yn())}}function zl(){return{app:null,config:{isNativeTag:ac,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 ku=0;function Nu(e,t){return function(o,r=null){r!=null&&!be(r)&&(r=null);const s=zl(),i=new Set;let l=!1;const a=s.app={_uid:ku++,_component:o,_props:r,_container:null,_context:s,_instance:null,version:nf,get config(){return s.config},set config(c){},use(c,...u){return i.has(c)||(c&&ee(c.install)?(i.add(c),c.install(a,...u)):ee(c)&&(i.add(c),c(a,...u))),a},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),a},component(c,u){return u?(s.components[c]=u,a):s.components[c]},directive(c,u){return u?(s.directives[c]=u,a):s.directives[c]},mount(c,u,h){if(!l){const d=ye(o,r);return d.appContext=s,u&&t?t(d,c):e(d,c,h),l=!0,a._container=c,c.__vue_app__=a,is(d.component)||d.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(c,u){return s.provides[c]=u,a}};return a}}function xo(e,t,n,o,r=!1){if(Q(e)){e.forEach((d,_)=>xo(d,t&&(Q(t)?t[_]:t),n,o,r));return}if(bo(o)&&!r)return;const s=o.shapeFlag&4?is(o.component)||o.component.proxy:o.el,i=r?null:s,{i:l,r:a}=e,c=t&&t.r,u=l.refs===pe?l.refs={}:l.refs,h=l.setupState;if(c!=null&&c!==a&&(he(c)?(u[c]=null,se(h,c)&&(h[c]=null)):Pe(c)&&(c.value=null)),ee(a))Tt(a,l,12,[i,u]);else{const d=he(a),_=Pe(a);if(d||_){const p=()=>{if(e.f){const y=d?u[a]:a.value;r?Q(y)&&zr(y,s):Q(y)?y.includes(s)||y.push(s):d?u[a]=[s]:(a.value=[s],e.k&&(u[e.k]=a.value))}else d?(u[a]=i,se(h,a)&&(h[a]=i)):Pe(a)&&(a.value=i,e.k&&(u[e.k]=i))};i?(p.id=-1,ke(p,n)):p()}}}let ht=!1;const ao=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",nr=e=>e.nodeType===8;function Mu(e){const{mt:t,p:n,o:{patchProp:o,nextSibling:r,parentNode:s,remove:i,insert:l,createComment:a}}=e,c=(m,v)=>{if(!v.hasChildNodes()){n(null,m,v),yo();return}ht=!1,u(v.firstChild,m,null,null,null),yo(),ht&&console.error("Hydration completed but contains mismatches.")},u=(m,v,w,P,A,M=!1)=>{const H=nr(m)&&m.data==="[",C=()=>p(m,v,w,P,A,H),{type:x,ref:F,shapeFlag:z}=v,q=m.nodeType;v.el=m;let E=null;switch(x){case Wn:q!==3?E=C():(m.data!==v.children&&(ht=!0,m.data=v.children),E=r(m));break;case qe:q!==8||H?E=C():E=r(m);break;case Nn:if(q!==1)E=C();else{E=m;const I=!v.children.length;for(let W=0;W<v.staticCount;W++)I&&(v.children+=E.outerHTML),W===v.staticCount-1&&(v.anchor=E),E=r(E);return E}break;case Re:H?E=_(m,v,w,P,A,M):E=C();break;default:if(z&1)q!==1||v.type.toLowerCase()!==m.tagName.toLowerCase()?E=C():E=h(m,v,w,P,A,M);else if(z&6){v.slotScopeIds=A;const I=s(m);if(t(v,I,null,w,P,ao(I),M),E=H?y(m):r(m),bo(v)){let W;H?(W=ye(Re),W.anchor=E?E.previousSibling:I.lastChild):W=m.nodeType===3?os(""):ye("div"),W.el=m,v.component.subTree=W}}else z&64?q!==8?E=C():E=v.type.hydrate(m,v,w,P,A,M,e,d):z&128&&(E=v.type.hydrate(m,v,w,P,ao(s(m)),A,M,e,u))}return F!=null&&xo(F,null,P,v),E},h=(m,v,w,P,A,M)=>{M=M||!!v.dynamicChildren;const{type:H,props:C,patchFlag:x,shapeFlag:F,dirs:z}=v,q=H==="input"&&z||H==="option";if(q||x!==-1){if(z&&Xe(v,null,w,"created"),C)if(q||!M||x&48)for(const I in C)(q&&I.endsWith("value")||Yn(I)&&!Ln(I))&&o(m,I,null,C[I],!1,void 0,w);else C.onClick&&o(m,"onClick",null,C.onClick,!1,void 0,w);let E;if((E=C&&C.onVnodeBeforeMount)&&Ve(E,w,v),z&&Xe(v,null,w,"beforeMount"),((E=C&&C.onVnodeMounted)||z)&&Tl(()=>{E&&Ve(E,w,v),z&&Xe(v,null,w,"mounted")},P),F&16&&!(C&&(C.innerHTML||C.textContent))){let I=d(m.firstChild,v,m,w,P,A,M);for(;I;){ht=!0;const W=I;I=I.nextSibling,i(W)}}else F&8&&m.textContent!==v.children&&(ht=!0,m.textContent=v.children)}return m.nextSibling},d=(m,v,w,P,A,M,H)=>{H=H||!!v.dynamicChildren;const C=v.children,x=C.length;for(let F=0;F<x;F++){const z=H?C[F]:C[F]=Ge(C[F]);if(m)m=u(m,z,P,A,M,H);else{if(z.type===Wn&&!z.children)continue;ht=!0,n(null,z,w,null,P,A,ao(w),M)}}return m},_=(m,v,w,P,A,M)=>{const{slotScopeIds:H}=v;H&&(A=A?A.concat(H):H);const C=s(m),x=d(r(m),v,C,w,P,A,M);return x&&nr(x)&&x.data==="]"?r(v.anchor=x):(ht=!0,l(v.anchor=a("]"),C,x),x)},p=(m,v,w,P,A,M)=>{if(ht=!0,v.el=null,M){const x=y(m);for(;;){const F=r(m);if(F&&F!==x)i(F);else break}}const H=r(m),C=s(m);return i(m),n(null,v,C,H,w,P,ao(C),A),H},y=m=>{let v=0;for(;m;)if(m=r(m),m&&nr(m)&&(m.data==="["&&v++,m.data==="]")){if(v===0)return r(m);v--}return m};return[c,u]}const ke=Tl;function Du(e){return Fl(e)}function Hu(e){return Fl(e,Mu)}function Fl(e,t){const n=hc();n.__VUE__=!0;const{insert:o,remove:r,patchProp:s,createElement:i,createText:l,createComment:a,setText:c,setElementText:u,parentNode:h,nextSibling:d,setScopeId:_=Ye,cloneNode:p,insertStaticContent:y}=e,m=(f,g,b,$=null,S=null,R=null,D=!1,L=null,N=!!g.dynamicChildren)=>{if(f===g)return;f&&!Mt(f,g)&&($=j(f),Le(f,S,R,!0),f=null),g.patchFlag===-2&&(N=!1,g.dynamicChildren=null);const{type:O,ref:K,shapeFlag:U}=g;switch(O){case Wn:v(f,g,b,$);break;case qe:w(f,g,b,$);break;case Nn:f==null&&P(g,b,$,D);break;case Re:I(f,g,b,$,S,R,D,L,N);break;default:U&1?H(f,g,b,$,S,R,D,L,N):U&6?W(f,g,b,$,S,R,D,L,N):(U&64||U&128)&&O.process(f,g,b,$,S,R,D,L,N,ce)}K!=null&&S&&xo(K,f&&f.ref,R,g||f,!g)},v=(f,g,b,$)=>{if(f==null)o(g.el=l(g.children),b,$);else{const S=g.el=f.el;g.children!==f.children&&c(S,g.children)}},w=(f,g,b,$)=>{f==null?o(g.el=a(g.children||""),b,$):g.el=f.el},P=(f,g,b,$)=>{[f.el,f.anchor]=y(f.children,g,b,$,f.el,f.anchor)},A=({el:f,anchor:g},b,$)=>{let S;for(;f&&f!==g;)S=d(f),o(f,b,$),f=S;o(g,b,$)},M=({el:f,anchor:g})=>{let b;for(;f&&f!==g;)b=d(f),r(f),f=b;r(g)},H=(f,g,b,$,S,R,D,L,N)=>{D=D||g.type==="svg",f==null?C(g,b,$,S,R,D,L,N):z(f,g,S,R,D,L,N)},C=(f,g,b,$,S,R,D,L)=>{let N,O;const{type:K,props:U,shapeFlag:G,transition:X,patchFlag:re,dirs:ge}=f;if(f.el&&p!==void 0&&re===-1)N=f.el=p(f.el);else{if(N=f.el=i(f.type,R,U&&U.is,U),G&8?u(N,f.children):G&16&&F(f.children,N,null,$,S,R&&K!=="foreignObject",D,L),ge&&Xe(f,null,$,"created"),U){for(const me in U)me!=="value"&&!Ln(me)&&s(N,me,null,U[me],R,f.children,$,S,k);"value"in U&&s(N,"value",null,U.value),(O=U.onVnodeBeforeMount)&&Ve(O,$,f)}x(N,f,f.scopeId,D,$)}ge&&Xe(f,null,$,"beforeMount");const fe=(!S||S&&!S.pendingBranch)&&X&&!X.persisted;fe&&X.beforeEnter(N),o(N,g,b),((O=U&&U.onVnodeMounted)||fe||ge)&&ke(()=>{O&&Ve(O,$,f),fe&&X.enter(N),ge&&Xe(f,null,$,"mounted")},S)},x=(f,g,b,$,S)=>{if(b&&_(f,b),$)for(let R=0;R<$.length;R++)_(f,$[R]);if(S){let R=S.subTree;if(g===R){const D=S.vnode;x(f,D,D.scopeId,D.slotScopeIds,S.parent)}}},F=(f,g,b,$,S,R,D,L,N=0)=>{for(let O=N;O<f.length;O++){const K=f[O]=L?yt(f[O]):Ge(f[O]);m(null,K,g,b,$,S,R,D,L)}},z=(f,g,b,$,S,R,D)=>{const L=g.el=f.el;let{patchFlag:N,dynamicChildren:O,dirs:K}=g;N|=f.patchFlag&16;const U=f.props||pe,G=g.props||pe;let X;b&&Ot(b,!1),(X=G.onVnodeBeforeUpdate)&&Ve(X,b,g,f),K&&Xe(g,f,b,"beforeUpdate"),b&&Ot(b,!0);const re=S&&g.type!=="foreignObject";if(O?q(f.dynamicChildren,O,L,b,$,re,R):D||Ee(f,g,L,null,b,$,re,R,!1),N>0){if(N&16)E(L,g,U,G,b,$,S);else if(N&2&&U.class!==G.class&&s(L,"class",null,G.class,S),N&4&&s(L,"style",U.style,G.style,S),N&8){const ge=g.dynamicProps;for(let fe=0;fe<ge.length;fe++){const me=ge[fe],Ke=U[me],qt=G[me];(qt!==Ke||me==="value")&&s(L,me,Ke,qt,S,f.children,b,$,k)}}N&1&&f.children!==g.children&&u(L,g.children)}else!D&&O==null&&E(L,g,U,G,b,$,S);((X=G.onVnodeUpdated)||K)&&ke(()=>{X&&Ve(X,b,g,f),K&&Xe(g,f,b,"updated")},$)},q=(f,g,b,$,S,R,D)=>{for(let L=0;L<g.length;L++){const N=f[L],O=g[L],K=N.el&&(N.type===Re||!Mt(N,O)||N.shapeFlag&70)?h(N.el):b;m(N,O,K,null,$,S,R,D,!0)}},E=(f,g,b,$,S,R,D)=>{if(b!==$){for(const L in $){if(Ln(L))continue;const N=$[L],O=b[L];N!==O&&L!=="value"&&s(f,L,O,N,D,g.children,S,R,k)}if(b!==pe)for(const L in b)!Ln(L)&&!(L in $)&&s(f,L,b[L],null,D,g.children,S,R,k);"value"in $&&s(f,"value",b.value,$.value)}},I=(f,g,b,$,S,R,D,L,N)=>{const O=g.el=f?f.el:l(""),K=g.anchor=f?f.anchor:l("");let{patchFlag:U,dynamicChildren:G,slotScopeIds:X}=g;X&&(L=L?L.concat(X):X),f==null?(o(O,b,$),o(K,b,$),F(g.children,b,K,S,R,D,L,N)):U>0&&U&64&&G&&f.dynamicChildren?(q(f.dynamicChildren,G,b,S,R,D,L),(g.key!=null||S&&g===S.subTree)&&Bl(f,g,!0)):Ee(f,g,b,K,S,R,D,L,N)},W=(f,g,b,$,S,R,D,L,N)=>{g.slotScopeIds=L,f==null?g.shapeFlag&512?S.ctx.activate(g,b,$,D,N):te(g,b,$,S,R,D,N):B(f,g,N)},te=(f,g,b,$,S,R,D)=>{const L=f.component=Yu(f,$,S);if(Xn(f)&&(L.ctx.renderer=ce),Qu(L),L.asyncDep){if(S&&S.registerDep(L,Z),!f.el){const N=L.subTree=ye(qe);w(null,N,g,b)}return}Z(L,f,g,b,S,R,D)},B=(f,g,b)=>{const $=g.component=f.component;if(au(f,g,b))if($.asyncDep&&!$.asyncResolved){oe($,g,b);return}else $.next=g,Zc($.update),$.update();else g.component=f.component,g.el=f.el,$.vnode=g},Z=(f,g,b,$,S,R,D)=>{const L=()=>{if(f.isMounted){let{next:K,bu:U,u:G,parent:X,vnode:re}=f,ge=K,fe;Ot(f,!1),K?(K.el=re.el,oe(f,K,D)):K=re,U&&uo(U),(fe=K.props&&K.props.onVnodeBeforeUpdate)&&Ve(fe,X,K,re),Ot(f,!0);const me=Zo(f),Ke=f.subTree;f.subTree=me,m(Ke,me,h(Ke.el),j(Ke),f,S,R),K.el=me.el,ge===null&&cu(f,me.el),G&&ke(G,S),(fe=K.props&&K.props.onVnodeUpdated)&&ke(()=>Ve(fe,X,K,re),S)}else{let K;const{el:U,props:G}=g,{bm:X,m:re,parent:ge}=f,fe=bo(g);if(Ot(f,!1),X&&uo(X),!fe&&(K=G&&G.onVnodeBeforeMount)&&Ve(K,ge,g),Ot(f,!0),U&&J){const me=()=>{f.subTree=Zo(f),J(U,f.subTree,f,S,null)};fe?g.type.__asyncLoader().then(()=>!f.isUnmounted&&me()):me()}else{const me=f.subTree=Zo(f);m(null,me,b,$,f,S,R),g.el=me.el}if(re&&ke(re,S),!fe&&(K=G&&G.onVnodeMounted)){const me=g;ke(()=>Ve(K,ge,me),S)}g.shapeFlag&256&&f.a&&ke(f.a,S),f.isMounted=!0,g=b=$=null}},N=f.effect=new jr(L,()=>Xr(f.update),f.scope),O=f.update=N.run.bind(N);O.id=f.uid,Ot(f,!0),O()},oe=(f,g,b)=>{g.component=f;const $=f.vnode.props;f.vnode=g,f.next=null,Ou(f,g.props,$,b),Iu(f,g.children,b),_n(),Jr(void 0,f.update),yn()},Ee=(f,g,b,$,S,R,D,L,N=!1)=>{const O=f&&f.children,K=f?f.shapeFlag:0,U=g.children,{patchFlag:G,shapeFlag:X}=g;if(G>0){if(G&128){Ne(O,U,b,$,S,R,D,L,N);return}else if(G&256){$e(O,U,b,$,S,R,D,L,N);return}}X&8?(K&16&&k(O,S,R),U!==O&&u(b,U)):K&16?X&16?Ne(O,U,b,$,S,R,D,L,N):k(O,S,R,!0):(K&8&&u(b,""),X&16&&F(U,b,$,S,R,D,L,N))},$e=(f,g,b,$,S,R,D,L,N)=>{f=f||en,g=g||en;const O=f.length,K=g.length,U=Math.min(O,K);let G;for(G=0;G<U;G++){const X=g[G]=N?yt(g[G]):Ge(g[G]);m(f[G],X,b,null,S,R,D,L,N)}O>K?k(f,S,R,!0,!1,U):F(g,b,$,S,R,D,L,N,U)},Ne=(f,g,b,$,S,R,D,L,N)=>{let O=0;const K=g.length;let U=f.length-1,G=K-1;for(;O<=U&&O<=G;){const X=f[O],re=g[O]=N?yt(g[O]):Ge(g[O]);if(Mt(X,re))m(X,re,b,null,S,R,D,L,N);else break;O++}for(;O<=U&&O<=G;){const X=f[U],re=g[G]=N?yt(g[G]):Ge(g[G]);if(Mt(X,re))m(X,re,b,null,S,R,D,L,N);else break;U--,G--}if(O>U){if(O<=G){const X=G+1,re=X<K?g[X].el:$;for(;O<=G;)m(null,g[O]=N?yt(g[O]):Ge(g[O]),b,re,S,R,D,L,N),O++}}else if(O>G)for(;O<=U;)Le(f[O],S,R,!0),O++;else{const X=O,re=O,ge=new Map;for(O=re;O<=G;O++){const Me=g[O]=N?yt(g[O]):Ge(g[O]);Me.key!=null&&ge.set(Me.key,O)}let fe,me=0;const Ke=G-re+1;let qt=!1,bs=0;const Pn=new Array(Ke);for(O=0;O<Ke;O++)Pn[O]=0;for(O=X;O<=U;O++){const Me=f[O];if(me>=Ke){Le(Me,S,R,!0);continue}let Qe;if(Me.key!=null)Qe=ge.get(Me.key);else for(fe=re;fe<=G;fe++)if(Pn[fe-re]===0&&Mt(Me,g[fe])){Qe=fe;break}Qe===void 0?Le(Me,S,R,!0):(Pn[Qe-re]=O+1,Qe>=bs?bs=Qe:qt=!0,m(Me,g[Qe],b,null,S,R,D,L,N),me++)}const Es=qt?zu(Pn):en;for(fe=Es.length-1,O=Ke-1;O>=0;O--){const Me=re+O,Qe=g[Me],xs=Me+1<K?g[Me+1].el:$;Pn[O]===0?m(null,Qe,b,xs,S,R,D,L,N):qt&&(fe<0||O!==Es[fe]?Fe(Qe,b,xs,2):fe--)}}},Fe=(f,g,b,$,S=null)=>{const{el:R,type:D,transition:L,children:N,shapeFlag:O}=f;if(O&6){Fe(f.component.subTree,g,b,$);return}if(O&128){f.suspense.move(g,b,$);return}if(O&64){D.move(f,g,b,ce);return}if(D===Re){o(R,g,b);for(let U=0;U<N.length;U++)Fe(N[U],g,b,$);o(f.anchor,g,b);return}if(D===Nn){A(f,g,b);return}if($!==2&&O&1&&L)if($===0)L.beforeEnter(R),o(R,g,b),ke(()=>L.enter(R),S);else{const{leave:U,delayLeave:G,afterLeave:X}=L,re=()=>o(R,g,b),ge=()=>{U(R,()=>{re(),X&&X()})};G?G(R,re,ge):ge()}else o(R,g,b)},Le=(f,g,b,$=!1,S=!1)=>{const{type:R,props:D,ref:L,children:N,dynamicChildren:O,shapeFlag:K,patchFlag:U,dirs:G}=f;if(L!=null&&xo(L,null,b,f,!0),K&256){g.ctx.deactivate(f);return}const X=K&1&&G,re=!bo(f);let ge;if(re&&(ge=D&&D.onVnodeBeforeUnmount)&&Ve(ge,g,f),K&6)V(f.component,b,$);else{if(K&128){f.suspense.unmount(b,$);return}X&&Xe(f,null,g,"beforeUnmount"),K&64?f.type.remove(f,g,b,S,ce,$):O&&(R!==Re||U>0&&U&64)?k(O,g,b,!1,!0):(R===Re&&U&384||!S&&K&16)&&k(N,g,b),$&&xn(f)}(re&&(ge=D&&D.onVnodeUnmounted)||X)&&ke(()=>{ge&&Ve(ge,g,f),X&&Xe(f,null,g,"unmounted")},b)},xn=f=>{const{type:g,el:b,anchor:$,transition:S}=f;if(g===Re){T(b,$);return}if(g===Nn){M(f);return}const R=()=>{r(b),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(f.shapeFlag&1&&S&&!S.persisted){const{leave:D,delayLeave:L}=S,N=()=>D(b,R);L?L(f.el,R,N):N()}else R()},T=(f,g)=>{let b;for(;f!==g;)b=d(f),r(f),f=b;r(g)},V=(f,g,b)=>{const{bum:$,scope:S,update:R,subTree:D,um:L}=f;$&&uo($),S.stop(),R&&(R.active=!1,Le(D,f,g,b)),L&&ke(L,g),ke(()=>{f.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},k=(f,g,b,$=!1,S=!1,R=0)=>{for(let D=R;D<f.length;D++)Le(f[D],g,b,$,S)},j=f=>f.shapeFlag&6?j(f.component.subTree):f.shapeFlag&128?f.suspense.next():d(f.anchor||f.el),ae=(f,g,b)=>{f==null?g._vnode&&Le(g._vnode,null,null,!0):m(g._vnode||null,f,g,null,null,null,b),yo(),g._vnode=f},ce={p:m,um:Le,m:Fe,r:xn,mt:te,mc:F,pc:Ee,pbc:q,n:j,o:e};let ne,J;return t&&([ne,J]=t(ce)),{render:ae,hydrate:ne,createApp:Nu(ae,ne)}}function Ot({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Bl(e,t,n=!1){const o=e.children,r=t.children;if(Q(o)&&Q(r))for(let s=0;s<o.length;s++){const i=o[s];let l=r[s];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[s]=yt(r[s]),l.el=i.el),n||Bl(i,l))}}function zu(e){const t=e.slice(),n=[0];let o,r,s,i,l;const a=e.length;for(o=0;o<a;o++){const c=e[o];if(c!==0){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)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}const Fu=e=>e.__isTeleport,Vl="components",Bu="directives";function ln(e,t){return jl(Vl,e,!0,t)||e}const Vu=Symbol();function Xm(e){return jl(Bu,e)}function jl(e,t,n=!0,o=!1){const r=He||xe;if(r){const s=r.type;if(e===Vl){const l=ef(s);if(l&&(l===t||l===nt(t)||l===Do(nt(t))))return s}const i=Us(r[e]||s[e],t)||Us(r.appContext[e],t);return!i&&o?s:i}}function Us(e,t){return e&&(e[t]||e[nt(t)]||e[Do(nt(t))])}const Re=Symbol(void 0),Wn=Symbol(void 0),qe=Symbol(void 0),Nn=Symbol(void 0),Mn=[];let Vt=null;function We(e=!1){Mn.push(Vt=e?null:[])}function ju(){Mn.pop(),Vt=Mn[Mn.length-1]||null}let Po=1;function Ws(e){Po+=e}function Ul(e){return e.dynamicChildren=Po>0?Vt||en:null,ju(),Po>0&&Vt&&Vt.push(e),e}function an(e,t,n,o,r,s){return Ul(Je(e,t,n,o,r,s,!0))}function bn(e,t,n,o,r){return Ul(ye(e,t,n,o,r,!0))}function To(e){return e?e.__v_isVNode===!0:!1}function Mt(e,t){return e.type===t.type&&e.key===t.key}const Vo="__vInternal",Wl=({key:e})=>e!=null?e:null,fo=({ref:e,ref_key:t,ref_for:n})=>e!=null?he(e)||Pe(e)||ee(e)?{i:He,r:e,k:t,f:!!n}:e:null;function Je(e,t=null,n=null,o=0,r=null,s=e===Re?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wl(t),ref:t&&fo(t),scopeId:Fo,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};return l?(rs(a,n),s&128&&e.normalize(a)):n&&(a.shapeFlag|=he(n)?8:16),Po>0&&!i&&Vt&&(a.patchFlag>0||s&6)&&a.patchFlag!==32&&Vt.push(a),a}const ye=Uu;function Uu(e,t=null,n=null,o=0,r=null,s=!1){if((!e||e===Vu)&&(e=qe),To(e)){const l=cn(e,t,!0);return n&&rs(l,n),l}if(tf(e)&&(e=e.__vccOpts),t){t=Wu(t);let{class:l,style:a}=t;l&&!he(l)&&(t.class=At(l)),be(a)&&(pl(a)&&!Q(a)&&(a=Se({},a)),t.style=xt(a))}const i=he(e)?1:uu(e)?128:Fu(e)?64:be(e)?4:ee(e)?2:0;return Je(e,t,n,o,r,i,s,!0)}function Wu(e){return e?pl(e)||Vo in e?Se({},e):e:null}function cn(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,l=t?ss(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Wl(l),ref:t&&t.ref?n&&r?Q(r)?r.concat(fo(t)):[r,fo(t)]:fo(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!==Re?s===-1?16:s|16: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&&cn(e.ssContent),ssFallback:e.ssFallback&&cn(e.ssFallback),el:e.el,anchor:e.anchor}}function os(e=" ",t=0){return ye(Wn,null,e,t)}function Jm(e,t){const n=ye(Nn,null,e);return n.staticCount=t,n}function qs(e="",t=!1){return t?(We(),bn(qe,null,e)):ye(qe,null,e)}function Ge(e){return e==null||typeof e=="boolean"?ye(qe):Q(e)?ye(Re,null,e.slice()):typeof e=="object"?yt(e):ye(Wn,null,String(e))}function yt(e){return e.el===null||e.memo?e:cn(e)}function rs(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(Q(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),rs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Vo in t)?t._ctx=He:r===3&&He&&(He.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ee(t)?(t={default:t,_ctx:He},n=32):(t=String(t),o&64?(n=16,t=[os(t)]):n=8);e.children=t,e.shapeFlag|=n}function ss(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const r in o)if(r==="class")t.class!==o.class&&(t.class=At([t.class,o.class]));else if(r==="style")t.style=xt([t.style,o.style]);else if(Yn(r)){const s=t[r],i=o[r];i&&s!==i&&!(Q(s)&&s.includes(i))&&(t[r]=s?[].concat(s,i):i)}else r!==""&&(t[r]=o[r])}return t}function Ve(e,t,n,o=null){Ue(e,t,7,[n,o])}function Zm(e,t,n,o){let r;const s=n&&n[o];if(Q(e)||he(e)){r=new Array(e.length);for(let i=0,l=e.length;i<l;i++)r[i]=t(e[i],i,void 0,s&&s[i])}else if(typeof e=="number"){r=new Array(e);for(let i=0;i<e;i++)r[i]=t(i+1,i,void 0,s&&s[i])}else if(be(e))if(e[Symbol.iterator])r=Array.from(e,(i,l)=>t(i,l,void 0,s&&s[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,a=i.length;l<a;l++){const c=i[l];r[l]=t(e[c],c,l,s&&s[l])}}else r=[];return n&&(n[o]=r),r}function qn(e,t,n={},o,r){if(He.isCE)return ye("slot",t==="default"?null:{name:t},o&&o());let s=e[t];s&&s._c&&(s._d=!1),We();const i=s&&ql(s(n)),l=bn(Re,{key:n.key||`_${t}`},i||(o?o():[]),i&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function ql(e){return e.some(t=>To(t)?!(t.type===qe||t.type===Re&&!ql(t.children)):!0)?e:null}const xr=e=>e?Gl(e)?is(e)||e.proxy:xr(e.parent):null,Co=Se(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=>xr(e.parent),$root:e=>xr(e.root),$emit:e=>e.emit,$options:e=>Il(e),$forceUpdate:e=>()=>Xr(e.update),$nextTick:e=>zo.bind(e.proxy),$watch:e=>fu.bind(e)}),qu={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const _=i[t];if(_!==void 0)switch(_){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(o!==pe&&se(o,t))return i[t]=1,o[t];if(r!==pe&&se(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&se(c,t))return i[t]=3,s[t];if(n!==pe&&se(n,t))return i[t]=4,n[t];wr&&(i[t]=0)}}const u=Co[t];let h,d;if(u)return t==="$attrs"&&ze(e,"get",t),u(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==pe&&se(n,t))return i[t]=4,n[t];if(d=a.config.globalProperties,se(d,t))return d[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return r!==pe&&se(r,t)?(r[t]=n,!0):o!==pe&&se(o,t)?(o[t]=n,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let l;return!!n[i]||e!==pe&&se(e,i)||t!==pe&&se(t,i)||(l=s[0])&&se(l,i)||se(o,i)||se(Co,i)||se(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?this.set(e,t,n.get(),null):n.value!=null&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Ku=zl();let Gu=0;function Yu(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||Ku,s={uid:Gu++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new mc(!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:Nl(o,r),emitsOptions:Pl(o,r),emit:null,emitted:null,propsDefaults:pe,inheritAttrs:o.inheritAttrs,ctx:pe,data:pe,props:pe,attrs:pe,slots:pe,refs:pe,setupState:pe,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};return s.ctx={_:s},s.root=t?t.root:s,s.emit=nu.bind(null,s),e.ce&&e.ce(s),s}let xe=null;const Kl=()=>xe||He,un=e=>{xe=e,e.scope.on()},jt=()=>{xe&&xe.scope.off(),xe=null};function Gl(e){return e.vnode.shapeFlag&4}let fn=!1;function Qu(e,t=!1){fn=t;const{props:n,children:o}=e.vnode,r=Gl(e);$u(e,n,r,t),Lu(e,o);const s=r?Xu(e,t):void 0;return fn=!1,s}function Xu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=hl(new Proxy(e.ctx,qu));const{setup:o}=n;if(o){const r=e.setupContext=o.length>1?Zu(e):null;un(e),_n();const s=Tt(o,e,0,[e.props,r]);if(yn(),jt(),Zi(s)){if(s.then(jt,jt),t)return s.then(i=>{Ks(e,i,t)}).catch(i=>{Qn(i,e,0)});e.asyncDep=s}else Ks(e,s,t)}else Yl(e,t)}function Ks(e,t,n){ee(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:be(t)&&(e.setupState=yl(t)),Yl(e,n)}let Gs;function Yl(e,t,n){const o=e.type;if(!e.render){if(!t&&Gs&&!o.render){const r=o.template;if(r){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:a}=o,c=Se(Se({isCustomElement:s,delimiters:l},i),a);o.render=Gs(r,c)}}e.render=o.render||Ye}un(e),_n(),Pu(e),yn(),jt()}function Ju(e){return new Proxy(e.attrs,{get(t,n){return ze(e,"get","$attrs"),t[n]}})}function Zu(e){const t=o=>{e.exposed=o||{}};let n;return{get attrs(){return n||(n=Ju(e))},slots:e.slots,emit:e.emit,expose:t}}function is(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(yl(hl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Co)return Co[n](e)}}))}function ef(e){return ee(e)&&e.displayName||e.name}function tf(e){return ee(e)&&"__vccOpts"in e}const we=(e,t)=>Qc(e,t,fn);function _e(e,t,n){const o=arguments.length;return o===2?be(t)&&!Q(t)?To(t)?ye(e,null,[t]):ye(e,t):ye(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&To(n)&&(n=[n]),ye(e,t,n))}const nf="3.2.31",of="http://www.w3.org/2000/svg",Dt=typeof document!="undefined"?document:null,Ys=Dt&&Dt.createElement("template"),rf={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?Dt.createElementNS(of,e):Dt.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>Dt.createTextNode(e),createComment:e=>Dt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Dt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),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{Ys.innerHTML=o?`<svg>${e}</svg>`:e;const l=Ys.content;if(o){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function sf(e,t,n){const o=e._vtc;o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function lf(e,t,n){const o=e.style,r=he(n);if(n&&!r){for(const s in n)Pr(o,s,n[s]);if(t&&!he(t))for(const s in t)n[s]==null&&Pr(o,s,"")}else{const s=o.display;r?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=s)}}const Qs=/\s*!important$/;function Pr(e,t,n){if(Q(n))n.forEach(o=>Pr(e,t,o));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=af(e,t);Qs.test(n)?e.setProperty(Wt(o),n.replace(Qs,""),"important"):e[o]=n}}const Xs=["Webkit","Moz","ms"],or={};function af(e,t){const n=or[t];if(n)return n;let o=nt(t);if(o!=="filter"&&o in e)return or[t]=o;o=Do(o);for(let r=0;r<Xs.length;r++){const s=Xs[r]+o;if(s in e)return or[t]=s}return t}const Js="http://www.w3.org/1999/xlink";function cf(e,t,n,o,r){if(o&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Js,t.slice(6,t.length)):e.setAttributeNS(Js,t,n);else{const s=oc(t);n==null||s&&!Yi(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function uf(e,t,n,o,r,s,i){if(t==="innerHTML"||t==="textContent"){o&&i(o,r,s),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const l=n==null?"":n;(e.value!==l||e.tagName==="OPTION")&&(e.value=l),n==null&&e.removeAttribute(t);return}if(n===""||n==null){const l=typeof e[t];if(l==="boolean"){e[t]=Yi(n);return}else if(n==null&&l==="string"){e[t]="",e.removeAttribute(t);return}else if(l==="number"){try{e[t]=0}catch{}e.removeAttribute(t);return}}try{e[t]=n}catch{}}let Ao=Date.now,Ql=!1;if(typeof window!="undefined"){Ao()>document.createEvent("Event").timeStamp&&(Ao=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Ql=!!(e&&Number(e[1])<=53)}let Tr=0;const ff=Promise.resolve(),df=()=>{Tr=0},pf=()=>Tr||(ff.then(df),Tr=Ao());function bt(e,t,n,o){e.addEventListener(t,n,o)}function hf(e,t,n,o){e.removeEventListener(t,n,o)}function mf(e,t,n,o,r=null){const s=e._vei||(e._vei={}),i=s[t];if(o&&i)i.value=o;else{const[l,a]=gf(t);if(o){const c=s[t]=vf(o,r);bt(e,l,c,a)}else i&&(hf(e,l,i,a),s[t]=void 0)}}const Zs=/(?:Once|Passive|Capture)$/;function gf(e){let t;if(Zs.test(e)){t={};let n;for(;n=e.match(Zs);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[Wt(e.slice(2)),t]}function vf(e,t){const n=o=>{const r=o.timeStamp||Ao();(Ql||r>=n.attached-1)&&Ue(_f(o,n.value),t,5,[o])};return n.value=e,n.attached=pf(),n}function _f(e,t){if(Q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const ei=/^on[a-z]/,yf=(e,t,n,o,r=!1,s,i,l,a)=>{t==="class"?sf(e,o,r):t==="style"?lf(e,n,o):Yn(t)?Hr(t)||mf(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):wf(e,t,o,r))?uf(e,t,o,s,i,l,a):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),cf(e,t,o,r))};function wf(e,t,n,o){return o?!!(t==="innerHTML"||t==="textContent"||t in e&&ei.test(t)&&ee(n)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ei.test(t)&&he(n)?!1:t in e}const mt="transition",Cn="animation",ls=(e,{slots:t})=>_e(Sl,bf(e),t);ls.displayName="Transition";const Xl={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};ls.props=Se({},Sl.props,Xl);const Rt=(e,t=[])=>{Q(e)?e.forEach(n=>n(...t)):e&&e(...t)},ti=e=>e?Q(e)?e.some(t=>t.length>1):e.length>1:!1;function bf(e){const t={};for(const E in e)E in Xl||(t[E]=e[E]);if(e.css===!1)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:a=s,appearActiveClass:c=i,appearToClass:u=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:_=`${n}-leave-to`}=e,p=Ef(r),y=p&&p[0],m=p&&p[1],{onBeforeEnter:v,onEnter:w,onEnterCancelled:P,onLeave:A,onLeaveCancelled:M,onBeforeAppear:H=v,onAppear:C=w,onAppearCancelled:x=P}=t,F=(E,I,W)=>{Kt(E,I?u:l),Kt(E,I?c:i),W&&W()},z=(E,I)=>{Kt(E,_),Kt(E,d),I&&I()},q=E=>(I,W)=>{const te=E?C:w,B=()=>F(I,E,W);Rt(te,[I,B]),ni(()=>{Kt(I,E?a:s),gt(I,E?u:l),ti(te)||oi(I,o,y,B)})};return Se(t,{onBeforeEnter(E){Rt(v,[E]),gt(E,s),gt(E,i)},onBeforeAppear(E){Rt(H,[E]),gt(E,a),gt(E,c)},onEnter:q(!1),onAppear:q(!0),onLeave(E,I){const W=()=>z(E,I);gt(E,h),Tf(),gt(E,d),ni(()=>{Kt(E,h),gt(E,_),ti(A)||oi(E,o,m,W)}),Rt(A,[E,W])},onEnterCancelled(E){F(E,!1),Rt(P,[E])},onAppearCancelled(E){F(E,!0),Rt(x,[E])},onLeaveCancelled(E){z(E),Rt(M,[E])}})}function Ef(e){if(e==null)return null;if(be(e))return[rr(e.enter),rr(e.leave)];{const t=rr(e);return[t,t]}}function rr(e){return vo(e)}function gt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Kt(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function ni(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let xf=0;function oi(e,t,n,o){const r=e._endId=++xf,s=()=>{r===e._endId&&o()};if(n)return setTimeout(s,n);const{type:i,timeout:l,propCount:a}=Pf(e,t);if(!i)return o();const c=i+"end";let u=0;const h=()=>{e.removeEventListener(c,d),s()},d=_=>{_.target===e&&++u>=a&&h()};setTimeout(()=>{u<a&&h()},l+1),e.addEventListener(c,d)}function Pf(e,t){const n=window.getComputedStyle(e),o=p=>(n[p]||"").split(", "),r=o(mt+"Delay"),s=o(mt+"Duration"),i=ri(r,s),l=o(Cn+"Delay"),a=o(Cn+"Duration"),c=ri(l,a);let u=null,h=0,d=0;t===mt?i>0&&(u=mt,h=i,d=s.length):t===Cn?c>0&&(u=Cn,h=c,d=a.length):(h=Math.max(i,c),u=h>0?i>c?mt:Cn:null,d=u?u===mt?s.length:a.length:0);const _=u===mt&&/\b(transform|all)(,|$)/.test(n[mt+"Property"]);return{type:u,timeout:h,propCount:d,hasTransform:_}}function ri(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>si(n)+si(e[o])))}function si(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Tf(){return document.body.offsetHeight}const dn=e=>{const t=e.props["onUpdate:modelValue"];return Q(t)?n=>uo(t,n):t};function Cf(e){e.target.composing=!0}function ii(e){const t=e.target;t.composing&&(t.composing=!1,Af(t,"input"))}function Af(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}const eg={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=dn(r);const s=o||r.props&&r.props.type==="number";bt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n?l=l.trim():s&&(l=vo(l)),e._assign(l)}),n&&bt(e,"change",()=>{e.value=e.value.trim()}),t||(bt(e,"compositionstart",Cf),bt(e,"compositionend",ii),bt(e,"change",ii))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},s){if(e._assign=dn(s),e.composing||document.activeElement===e&&(n||o&&e.value.trim()===t||(r||e.type==="number")&&vo(e.value)===t))return;const i=t==null?"":t;e.value!==i&&(e.value=i)}},tg={deep:!0,created(e,t,n){e._assign=dn(n),bt(e,"change",()=>{const o=e._modelValue,r=Jl(e),s=e.checked,i=e._assign;if(Q(o)){const l=Qi(o,r),a=l!==-1;if(s&&!a)i(o.concat(r));else if(!s&&a){const c=[...o];c.splice(l,1),i(c)}}else if(ko(o)){const l=new Set(o);s?l.add(r):l.delete(r),i(l)}else i(Zl(e,s))})},mounted:li,beforeUpdate(e,t,n){e._assign=dn(n),li(e,t,n)}};function li(e,{value:t,oldValue:n},o){e._modelValue=t,Q(t)?e.checked=Qi(t,o.props.value)>-1:ko(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=rn(t,Zl(e,!0)))}const ng={created(e,{value:t},n){e.checked=rn(t,n.props.value),e._assign=dn(n),bt(e,"change",()=>{e._assign(Jl(e))})},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=dn(o),t!==n&&(e.checked=rn(t,o.props.value))}};function Jl(e){return"_value"in e?e._value:e.value}function Zl(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Sf={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},$f=(e,t)=>n=>{if(!("key"in n))return;const o=Wt(n.key);if(t.some(r=>r===o||Sf[r]===o))return e(n)},og={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):An(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),An(e,!0),o.enter(e)):o.leave(e,()=>{An(e,!1)}):An(e,t))},beforeUnmount(e,{value:t}){An(e,t)}};function An(e,t){e.style.display=t?e._vod:"none"}const ea=Se({patchProp:yf},rf);let Dn,ai=!1;function Of(){return Dn||(Dn=Du(ea))}function Rf(){return Dn=ai?Dn:Hu(ea),ai=!0,Dn}const Lf=(...e)=>{const t=Of().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=ta(o);if(!r)return;const s=t._component;!ee(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t},If=(...e)=>{const t=Rf().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=ta(o);if(r)return n(r,!0,r instanceof SVGElement)},t};function ta(e){return he(e)?document.querySelector(e):e}/*!
2
+ * vue-router v4.0.13
3
+ * (c) 2022 Eduardo San Martin Morote
4
+ * @license MIT
5
+ */const na=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",En=e=>na?Symbol(e):"_vr_"+e,kf=En("rvlm"),ci=En("rvd"),jo=En("r"),as=En("rl"),Cr=En("rvl"),Zt=typeof window!="undefined";function Nf(e){return e.__esModule||na&&e[Symbol.toStringTag]==="Module"}const de=Object.assign;function sr(e,t){const n={};for(const o in t){const r=t[o];n[o]=Array.isArray(r)?r.map(e):e(r)}return n}const Hn=()=>{},Mf=/\/$/,Df=e=>e.replace(Mf,"");function ir(e,t,n="/"){let o,r={},s="",i="";const l=t.indexOf("?"),a=t.indexOf("#",l>-1?l:0);return l>-1&&(o=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),r=e(s)),a>-1&&(o=o||t.slice(0,a),i=t.slice(a,t.length)),o=Bf(o!=null?o:t,n),{fullPath:o+(s&&"?")+s+i,path:o,query:r,hash:i}}function Hf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ui(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function zf(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&pn(t.matched[o],n.matched[r])&&oa(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function pn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function oa(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ff(e[n],t[n]))return!1;return!0}function Ff(e,t){return Array.isArray(e)?fi(e,t):Array.isArray(t)?fi(t,e):e===t}function fi(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function Bf(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/");let r=n.length-1,s,i;for(s=0;s<o.length;s++)if(i=o[s],!(r===1||i==="."))if(i==="..")r--;else break;return n.slice(0,r).join("/")+"/"+o.slice(s-(s===o.length?1:0)).join("/")}var Kn;(function(e){e.pop="pop",e.push="push"})(Kn||(Kn={}));var zn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(zn||(zn={}));function Vf(e){if(!e)if(Zt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Df(e)}const jf=/^[^#]+#/;function Uf(e,t){return e.replace(jf,"#")+t}function Wf(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const Uo=()=>({left:window.pageXOffset,top:window.pageYOffset});function qf(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Wf(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function di(e,t){return(history.state?history.state.position-t:-1)+e}const Ar=new Map;function Kf(e,t){Ar.set(e,t)}function Gf(e){const t=Ar.get(e);return Ar.delete(e),t}let Yf=()=>location.protocol+"//"+location.host;function ra(e,t){const{pathname:n,search:o,hash:r}=t,s=e.indexOf("#");if(s>-1){let l=r.includes(e.slice(s))?e.slice(s).length:1,a=r.slice(l);return a[0]!=="/"&&(a="/"+a),ui(a,"")}return ui(n,e)+o+r}function Qf(e,t,n,o){let r=[],s=[],i=null;const l=({state:d})=>{const _=ra(e,location),p=n.value,y=t.value;let m=0;if(d){if(n.value=_,t.value=d,i&&i===p){i=null;return}m=y?d.position-y.position:0}else o(_);r.forEach(v=>{v(n.value,p,{delta:m,type:Kn.pop,direction:m?m>0?zn.forward:zn.back:zn.unknown})})};function a(){i=n.value}function c(d){r.push(d);const _=()=>{const p=r.indexOf(d);p>-1&&r.splice(p,1)};return s.push(_),_}function u(){const{history:d}=window;!d.state||d.replaceState(de({},d.state,{scroll:Uo()}),"")}function h(){for(const d of s)d();s=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u),{pauseListeners:a,listen:c,destroy:h}}function pi(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Uo():null}}function Xf(e){const{history:t,location:n}=window,o={value:ra(e,n)},r={value:t.state};r.value||s(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(a,c,u){const h=e.indexOf("#"),d=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+a:Yf()+e+a;try{t[u?"replaceState":"pushState"](c,"",d),r.value=c}catch(_){console.error(_),n[u?"replace":"assign"](d)}}function i(a,c){const u=de({},t.state,pi(r.value.back,a,r.value.forward,!0),c,{position:r.value.position});s(a,u,!0),o.value=a}function l(a,c){const u=de({},r.value,t.state,{forward:a,scroll:Uo()});s(u.current,u,!0);const h=de({},pi(o.value,a,null),{position:u.position+1},c);s(a,h,!1),o.value=a}return{location:o,state:r,push:l,replace:i}}function Jf(e){e=Vf(e);const t=Xf(e),n=Qf(e,t.state,t.location,t.replace);function o(s,i=!0){i||n.pauseListeners(),history.go(s)}const r=de({location:"",base:e,go:o,createHref:Uf.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Zf(e){return typeof e=="string"||e&&typeof e=="object"}function sa(e){return typeof e=="string"||typeof e=="symbol"}const ot={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ia=En("nf");var hi;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(hi||(hi={}));function hn(e,t){return de(new Error,{type:e,[ia]:!0},t)}function vt(e,t){return e instanceof Error&&ia in e&&(t==null||!!(e.type&t))}const mi="[^/]+?",ed={sensitive:!1,strict:!1,start:!0,end:!0},td=/[.+*?^${}()[\]/\\]/g;function nd(e,t){const n=de({},ed,t),o=[];let r=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let h=0;h<c.length;h++){const d=c[h];let _=40+(n.sensitive?.25:0);if(d.type===0)h||(r+="/"),r+=d.value.replace(td,"\\$&"),_+=40;else if(d.type===1){const{value:p,repeatable:y,optional:m,regexp:v}=d;s.push({name:p,repeatable:y,optional:m});const w=v||mi;if(w!==mi){_+=10;try{new RegExp(`(${w})`)}catch(A){throw new Error(`Invalid custom RegExp for param "${p}" (${w}): `+A.message)}}let P=y?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;h||(P=m&&c.length<2?`(?:/${P})`:"/"+P),m&&(P+="?"),r+=P,_+=20,m&&(_+=-8),y&&(_+=-20),w===".*"&&(_+=-50)}u.push(_)}o.push(u)}if(n.strict&&n.end){const c=o.length-1;o[c][o[c].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function l(c){const u=c.match(i),h={};if(!u)return null;for(let d=1;d<u.length;d++){const _=u[d]||"",p=s[d-1];h[p.name]=_&&p.repeatable?_.split("/"):_}return h}function a(c){let u="",h=!1;for(const d of e){(!h||!u.endsWith("/"))&&(u+="/"),h=!1;for(const _ of d)if(_.type===0)u+=_.value;else if(_.type===1){const{value:p,repeatable:y,optional:m}=_,v=p in c?c[p]:"";if(Array.isArray(v)&&!y)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const w=Array.isArray(v)?v.join("/"):v;if(!w)if(m)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):h=!0);else throw new Error(`Missing required param "${p}"`);u+=w}}return u}return{re:i,score:o,keys:s,parse:l,stringify:a}}function od(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function rd(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const s=od(o[n],r[n]);if(s)return s;n++}return r.length-o.length}const sd={type:0,value:""},id=/[a-zA-Z0-9_]/;function ld(e){if(!e)return[[]];if(e==="/")return[[sd]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(_){throw new Error(`ERR (${n})/"${c}": ${_}`)}let n=0,o=n;const r=[];let s;function i(){s&&r.push(s),s=[]}let l=0,a,c="",u="";function h(){!c||(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==2){o=n,n=4;continue}switch(n){case 0:a==="/"?(c&&h(),i()):a===":"?(h(),n=1):d();break;case 4:d(),n=o;break;case 1:a==="("?n=2:id.test(a)?d():(h(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case 2:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:h(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),h(),i(),r}function ad(e,t,n){const o=nd(ld(e.path),n),r=de(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function cd(e,t){const n=[],o=new Map;t=vi({strict:!1,end:!0,sensitive:!1},t);function r(u){return o.get(u)}function s(u,h,d){const _=!d,p=fd(u);p.aliasOf=d&&d.record;const y=vi(t,u),m=[p];if("alias"in u){const P=typeof u.alias=="string"?[u.alias]:u.alias;for(const A of P)m.push(de({},p,{components:d?d.record.components:p.components,path:A,aliasOf:d?d.record:p}))}let v,w;for(const P of m){const{path:A}=P;if(h&&A[0]!=="/"){const M=h.record.path,H=M[M.length-1]==="/"?"":"/";P.path=h.record.path+(A&&H+A)}if(v=ad(P,h,y),d?d.alias.push(v):(w=w||v,w!==v&&w.alias.push(v),_&&u.name&&!gi(v)&&i(u.name)),"children"in p){const M=p.children;for(let H=0;H<M.length;H++)s(M[H],v,d&&d.children[H])}d=d||v,a(v)}return w?()=>{i(w)}:Hn}function i(u){if(sa(u)){const h=o.get(u);h&&(o.delete(u),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(u);h>-1&&(n.splice(h,1),u.record.name&&o.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return n}function a(u){let h=0;for(;h<n.length&&rd(u,n[h])>=0&&(u.record.path!==n[h].record.path||!la(u,n[h]));)h++;n.splice(h,0,u),u.record.name&&!gi(u)&&o.set(u.record.name,u)}function c(u,h){let d,_={},p,y;if("name"in u&&u.name){if(d=o.get(u.name),!d)throw hn(1,{location:u});y=d.record.name,_=de(ud(h.params,d.keys.filter(w=>!w.optional).map(w=>w.name)),u.params),p=d.stringify(_)}else if("path"in u)p=u.path,d=n.find(w=>w.re.test(p)),d&&(_=d.parse(p),y=d.record.name);else{if(d=h.name?o.get(h.name):n.find(w=>w.re.test(h.path)),!d)throw hn(1,{location:u,currentLocation:h});y=d.record.name,_=de({},h.params,u.params),p=d.stringify(_)}const m=[];let v=d;for(;v;)m.unshift(v.record),v=v.parent;return{name:y,path:p,params:_,matched:m,meta:pd(m)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:i,getRoutes:l,getRecordMatcher:r}}function ud(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function fd(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:dd(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function dd(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="boolean"?n:n[o];return t}function gi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function pd(e){return e.reduce((t,n)=>de(t,n.meta),{})}function vi(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function la(e,t){return t.children.some(n=>n===e||la(e,n))}const aa=/#/g,hd=/&/g,md=/\//g,gd=/=/g,vd=/\?/g,ca=/\+/g,_d=/%5B/g,yd=/%5D/g,ua=/%5E/g,wd=/%60/g,fa=/%7B/g,bd=/%7C/g,da=/%7D/g,Ed=/%20/g;function cs(e){return encodeURI(""+e).replace(bd,"|").replace(_d,"[").replace(yd,"]")}function xd(e){return cs(e).replace(fa,"{").replace(da,"}").replace(ua,"^")}function Sr(e){return cs(e).replace(ca,"%2B").replace(Ed,"+").replace(aa,"%23").replace(hd,"%26").replace(wd,"`").replace(fa,"{").replace(da,"}").replace(ua,"^")}function Pd(e){return Sr(e).replace(gd,"%3D")}function Td(e){return cs(e).replace(aa,"%23").replace(vd,"%3F")}function Cd(e){return e==null?"":Td(e).replace(md,"%2F")}function So(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Ad(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<o.length;++r){const s=o[r].replace(ca," "),i=s.indexOf("="),l=So(i<0?s:s.slice(0,i)),a=i<0?null:So(s.slice(i+1));if(l in t){let c=t[l];Array.isArray(c)||(c=t[l]=[c]),c.push(a)}else t[l]=a}return t}function _i(e){let t="";for(let n in e){const o=e[n];if(n=Pd(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(Array.isArray(o)?o.map(s=>s&&Sr(s)):[o&&Sr(o)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Sd(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Array.isArray(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}function Sn(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function wt(e,t,n,o,r){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((i,l)=>{const a=h=>{h===!1?l(hn(4,{from:n,to:t})):h instanceof Error?l(h):Zf(h)?l(hn(2,{from:t,to:h})):(s&&o.enterCallbacks[r]===s&&typeof h=="function"&&s.push(h),i())},c=e.call(o&&o.instances[r],t,n,a);let u=Promise.resolve(c);e.length<3&&(u=u.then(a)),u.catch(h=>l(h))})}function lr(e,t,n,o){const r=[];for(const s of e)for(const i in s.components){let l=s.components[i];if(!(t!=="beforeRouteEnter"&&!s.instances[i]))if($d(l)){const c=(l.__vccOpts||l)[t];c&&r.push(wt(c,n,o,s,i))}else{let a=l();r.push(()=>a.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${s.path}"`));const u=Nf(c)?c.default:c;s.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&wt(d,n,o,s,i)()}))}}return r}function $d(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function yi(e){const t=Ce(jo),n=Ce(as),o=we(()=>t.resolve(Ft(e.to))),r=we(()=>{const{matched:a}=o.value,{length:c}=a,u=a[c-1],h=n.matched;if(!u||!h.length)return-1;const d=h.findIndex(pn.bind(null,u));if(d>-1)return d;const _=wi(a[c-2]);return c>1&&wi(u)===_&&h[h.length-1].path!==_?h.findIndex(pn.bind(null,a[c-2])):d}),s=we(()=>r.value>-1&&Id(n.params,o.value.params)),i=we(()=>r.value>-1&&r.value===n.matched.length-1&&oa(n.params,o.value.params));function l(a={}){return Ld(a)?t[Ft(e.replace)?"replace":"push"](Ft(e.to)).catch(Hn):Promise.resolve()}return{route:o,href:we(()=>o.value.href),isActive:s,isExactActive:i,navigate:l}}const Od=Ae({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:yi,setup(e,{slots:t}){const n=wn(yi(e)),{options:o}=Ce(jo),r=we(()=>({[bi(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[bi(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:_e("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},s)}}}),Rd=Od;function Ld(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Id(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!Array.isArray(r)||r.length!==o.length||o.some((s,i)=>s!==r[i]))return!1}return!0}function wi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const bi=(e,t,n)=>e!=null?e:t!=null?t:n,kd=Ae({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:t,slots:n}){const o=Ce(Cr),r=we(()=>e.route||o.value),s=Ce(ci,0),i=we(()=>r.value.matched[s]);Bt(ci,s+1),Bt(kf,i),Bt(Cr,r);const l=Te();return it(()=>[l.value,i.value,e.name],([a,c,u],[h,d,_])=>{c&&(c.instances[u]=a,d&&d!==c&&a&&a===h&&(c.leaveGuards.size||(c.leaveGuards=d.leaveGuards),c.updateGuards.size||(c.updateGuards=d.updateGuards))),a&&c&&(!d||!pn(c,d)||!h)&&(c.enterCallbacks[u]||[]).forEach(p=>p(a))},{flush:"post"}),()=>{const a=r.value,c=i.value,u=c&&c.components[e.name],h=e.name;if(!u)return Ei(n.default,{Component:u,route:a});const d=c.props[e.name],_=d?d===!0?a.params:typeof d=="function"?d(a):d:null,y=_e(u,de({},_,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(c.instances[h]=null)},ref:l}));return Ei(n.default,{Component:y,route:a})||y}}});function Ei(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const pa=kd;function Nd(e){const t=cd(e.routes,e),n=e.parseQuery||Ad,o=e.stringifyQuery||_i,r=e.history,s=Sn(),i=Sn(),l=Sn(),a=vl(ot);let c=ot;Zt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=sr.bind(null,T=>""+T),h=sr.bind(null,Cd),d=sr.bind(null,So);function _(T,V){let k,j;return sa(T)?(k=t.getRecordMatcher(T),j=V):j=T,t.addRoute(j,k)}function p(T){const V=t.getRecordMatcher(T);V&&t.removeRoute(V)}function y(){return t.getRoutes().map(T=>T.record)}function m(T){return!!t.getRecordMatcher(T)}function v(T,V){if(V=de({},V||a.value),typeof T=="string"){const J=ir(n,T,V.path),f=t.resolve({path:J.path},V),g=r.createHref(J.fullPath);return de(J,f,{params:d(f.params),hash:So(J.hash),redirectedFrom:void 0,href:g})}let k;if("path"in T)k=de({},T,{path:ir(n,T.path,V.path).path});else{const J=de({},T.params);for(const f in J)J[f]==null&&delete J[f];k=de({},T,{params:h(T.params)}),V.params=h(V.params)}const j=t.resolve(k,V),ae=T.hash||"";j.params=u(d(j.params));const ce=Hf(o,de({},T,{hash:xd(ae),path:j.path})),ne=r.createHref(ce);return de({fullPath:ce,hash:ae,query:o===_i?Sd(T.query):T.query||{}},j,{redirectedFrom:void 0,href:ne})}function w(T){return typeof T=="string"?ir(n,T,a.value.path):de({},T)}function P(T,V){if(c!==T)return hn(8,{from:V,to:T})}function A(T){return C(T)}function M(T){return A(de(w(T),{replace:!0}))}function H(T){const V=T.matched[T.matched.length-1];if(V&&V.redirect){const{redirect:k}=V;let j=typeof k=="function"?k(T):k;return typeof j=="string"&&(j=j.includes("?")||j.includes("#")?j=w(j):{path:j},j.params={}),de({query:T.query,hash:T.hash,params:T.params},j)}}function C(T,V){const k=c=v(T),j=a.value,ae=T.state,ce=T.force,ne=T.replace===!0,J=H(k);if(J)return C(de(w(J),{state:ae,force:ce,replace:ne}),V||k);const f=k;f.redirectedFrom=V;let g;return!ce&&zf(o,j,k)&&(g=hn(16,{to:f,from:j}),$e(j,j,!0,!1)),(g?Promise.resolve(g):F(f,j)).catch(b=>vt(b)?vt(b,2)?b:Ee(b):Z(b,f,j)).then(b=>{if(b){if(vt(b,2))return C(de(w(b.to),{state:ae,force:ce,replace:ne}),V||f)}else b=q(f,j,!0,ne,ae);return z(f,j,b),b})}function x(T,V){const k=P(T,V);return k?Promise.reject(k):Promise.resolve()}function F(T,V){let k;const[j,ae,ce]=Md(T,V);k=lr(j.reverse(),"beforeRouteLeave",T,V);for(const J of j)J.leaveGuards.forEach(f=>{k.push(wt(f,T,V))});const ne=x.bind(null,T,V);return k.push(ne),Gt(k).then(()=>{k=[];for(const J of s.list())k.push(wt(J,T,V));return k.push(ne),Gt(k)}).then(()=>{k=lr(ae,"beforeRouteUpdate",T,V);for(const J of ae)J.updateGuards.forEach(f=>{k.push(wt(f,T,V))});return k.push(ne),Gt(k)}).then(()=>{k=[];for(const J of T.matched)if(J.beforeEnter&&!V.matched.includes(J))if(Array.isArray(J.beforeEnter))for(const f of J.beforeEnter)k.push(wt(f,T,V));else k.push(wt(J.beforeEnter,T,V));return k.push(ne),Gt(k)}).then(()=>(T.matched.forEach(J=>J.enterCallbacks={}),k=lr(ce,"beforeRouteEnter",T,V),k.push(ne),Gt(k))).then(()=>{k=[];for(const J of i.list())k.push(wt(J,T,V));return k.push(ne),Gt(k)}).catch(J=>vt(J,8)?J:Promise.reject(J))}function z(T,V,k){for(const j of l.list())j(T,V,k)}function q(T,V,k,j,ae){const ce=P(T,V);if(ce)return ce;const ne=V===ot,J=Zt?history.state:{};k&&(j||ne?r.replace(T.fullPath,de({scroll:ne&&J&&J.scroll},ae)):r.push(T.fullPath,ae)),a.value=T,$e(T,V,k,ne),Ee()}let E;function I(){E=r.listen((T,V,k)=>{const j=v(T),ae=H(j);if(ae){C(de(ae,{replace:!0}),j).catch(Hn);return}c=j;const ce=a.value;Zt&&Kf(di(ce.fullPath,k.delta),Uo()),F(j,ce).catch(ne=>vt(ne,12)?ne:vt(ne,2)?(C(ne.to,j).then(J=>{vt(J,20)&&!k.delta&&k.type===Kn.pop&&r.go(-1,!1)}).catch(Hn),Promise.reject()):(k.delta&&r.go(-k.delta,!1),Z(ne,j,ce))).then(ne=>{ne=ne||q(j,ce,!1),ne&&(k.delta?r.go(-k.delta,!1):k.type===Kn.pop&&vt(ne,20)&&r.go(-1,!1)),z(j,ce,ne)}).catch(Hn)})}let W=Sn(),te=Sn(),B;function Z(T,V,k){Ee(T);const j=te.list();return j.length?j.forEach(ae=>ae(T,V,k)):console.error(T),Promise.reject(T)}function oe(){return B&&a.value!==ot?Promise.resolve():new Promise((T,V)=>{W.add([T,V])})}function Ee(T){return B||(B=!T,I(),W.list().forEach(([V,k])=>T?k(T):V()),W.reset()),T}function $e(T,V,k,j){const{scrollBehavior:ae}=e;if(!Zt||!ae)return Promise.resolve();const ce=!k&&Gf(di(T.fullPath,0))||(j||!k)&&history.state&&history.state.scroll||null;return zo().then(()=>ae(T,V,ce)).then(ne=>ne&&qf(ne)).catch(ne=>Z(ne,T,V))}const Ne=T=>r.go(T);let Fe;const Le=new Set;return{currentRoute:a,addRoute:_,removeRoute:p,hasRoute:m,getRoutes:y,resolve:v,options:e,push:A,replace:M,go:Ne,back:()=>Ne(-1),forward:()=>Ne(1),beforeEach:s.add,beforeResolve:i.add,afterEach:l.add,onError:te.add,isReady:oe,install(T){const V=this;T.component("RouterLink",Rd),T.component("RouterView",pa),T.config.globalProperties.$router=V,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>Ft(a)}),Zt&&!Fe&&a.value===ot&&(Fe=!0,A(r.location).catch(ae=>{}));const k={};for(const ae in ot)k[ae]=we(()=>a.value[ae]);T.provide(jo,V),T.provide(as,wn(k)),T.provide(Cr,a);const j=T.unmount;Le.add(T),T.unmount=function(){Le.delete(T),Le.size<1&&(c=ot,E&&E(),a.value=ot,Fe=!1,B=!1),j()}}}}function Gt(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function Md(e,t){const n=[],o=[],r=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const l=t.matched[i];l&&(e.matched.find(c=>pn(c,l))?o.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(c=>pn(c,a))||r.push(a))}return[n,o,r]}function us(){return Ce(jo)}function fs(){return Ce(as)}const Dd=Ae({setup(e,t){const n=Te(!1);return ft(()=>{n.value=!0}),()=>{var o,r;return n.value?(r=(o=t.slots).default)===null||r===void 0?void 0:r.call(o):null}}}),Hd="modulepreload",xi={},zd="/",Y=function(t,n){return!n||n.length===0?t():Promise.all(n.map(o=>{if(o=`${zd}${o}`,o in xi)return;xi[o]=!0;const r=o.endsWith(".css"),s=r?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${o}"]${s}`))return;const i=document.createElement("link");if(i.rel=r?"stylesheet":Hd,r||(i.as="script",i.crossOrigin=""),i.href=o,document.head.appendChild(i),r)return new Promise((l,a)=>{i.addEventListener("load",l),i.addEventListener("error",()=>a(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t())},ha={"v-8daa1a0e":ue(()=>Y(()=>import("./index.html.21bfa52e.js"),["assets/index.html.21bfa52e.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-510ed0d4":ue(()=>Y(()=>import("./index.html.485a4abc.js"),["assets/index.html.485a4abc.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-7c87f26e":ue(()=>Y(()=>import("./index.html.4c0ec52b.js"),["assets/index.html.4c0ec52b.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-0aca7ba6":ue(()=>Y(()=>import("./index.html.c4e8bf36.js"),["assets/index.html.c4e8bf36.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-84304104":ue(()=>Y(()=>import("./example-cascade-temperature-control.html.3632cc6c.js"),["assets/example-cascade-temperature-control.html.3632cc6c.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-1b3a0ab8":ue(()=>Y(()=>import("./example-heat-capacitor.html.b87ab267.js"),["assets/example-heat-capacitor.html.b87ab267.js","assets/node-ps-strategy-heat-capacitor-simple-flow-example.099aa155.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-0607240a":ue(()=>Y(()=>import("./example-next-schedule-entity.html.dd06a4d6.js"),["assets/example-next-schedule-entity.html.dd06a4d6.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-61f728ca":ue(()=>Y(()=>import("./example-nordpool-current-state.html.8eca9b26.js"),["assets/example-nordpool-current-state.html.8eca9b26.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-30acb564":ue(()=>Y(()=>import("./example-nordpool-events-state.html.05c3331c.js"),["assets/example-nordpool-events-state.html.05c3331c.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-5db8da3a":ue(()=>Y(()=>import("./example-tibber-mqtt.html.ce7f09e2.js"),["assets/example-tibber-mqtt.html.ce7f09e2.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-7446a652":ue(()=>Y(()=>import("./index.html.c98d742c.js"),["assets/index.html.c98d742c.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-29504124":ue(()=>Y(()=>import("./best-save-viewer.html.bb64949a.js"),["assets/best-save-viewer.html.bb64949a.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-fffb8e28":ue(()=>Y(()=>import("./index.html.350682d1.js"),["assets/index.html.350682d1.js","assets/migrate-best-save.dcc20d06.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-e8c55052":ue(()=>Y(()=>import("./index.html.88f59477.js"),["assets/index.html.88f59477.js","assets/node-power-saver.3a115c24.js","assets/node-ps-strategy-best-save.516d9e66.js","assets/node-ps-strategy-lowest-price.83209fac.js","assets/node-ps-strategy-heat-capacitor.e7736c9e.js","assets/node-ps-receive-price.dbc5e137.js","assets/node-ps-general-add-tariff.17755af1.js","assets/node-ps-elvia-add-tariff.57baddc7.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-b4a42144":ue(()=>Y(()=>import("./old-power-saver-doc.html.f428e475.js"),["assets/old-power-saver-doc.html.f428e475.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-1ad821fa":ue(()=>Y(()=>import("./power-saver.html.4baca6ba.js"),["assets/power-saver.html.4baca6ba.js","assets/node-power-saver.3a115c24.js","assets/migrate-best-save.dcc20d06.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-08683c60":ue(()=>Y(()=>import("./ps-elvia-add-tariff.html.05d3ab1b.js"),["assets/ps-elvia-add-tariff.html.05d3ab1b.js","assets/node-ps-elvia-add-tariff.57baddc7.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-1e2b191e":ue(()=>Y(()=>import("./ps-general-add-tariff.html.3056f433.js"),["assets/ps-general-add-tariff.html.3056f433.js","assets/node-ps-general-add-tariff.17755af1.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-677dfaed":ue(()=>Y(()=>import("./ps-receive-price.html.0d762910.js"),["assets/ps-receive-price.html.0d762910.js","assets/node-ps-receive-price.dbc5e137.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-0b5e3c8c":ue(()=>Y(()=>import("./ps-strategy-best-save.html.9b0747bf.js"),["assets/ps-strategy-best-save.html.9b0747bf.js","assets/node-ps-strategy-best-save.516d9e66.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-4c28314d":ue(()=>Y(()=>import("./ps-strategy-heat-capacitor.html.53b3383d.js"),["assets/ps-strategy-heat-capacitor.html.53b3383d.js","assets/node-ps-strategy-heat-capacitor.e7736c9e.js","assets/node-ps-strategy-heat-capacitor-simple-flow-example.099aa155.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-4637f9e4":ue(()=>Y(()=>import("./ps-strategy-lowest-price.html.1e419f56.js"),["assets/ps-strategy-lowest-price.html.1e419f56.js","assets/node-ps-strategy-lowest-price.83209fac.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-5954bcb2":ue(()=>Y(()=>import("./strategy-input.html.6d452f16.js"),["assets/strategy-input.html.6d452f16.js","assets/plugin-vue_export-helper.21dcd24c.js"])),"v-3706649a":ue(()=>Y(()=>import("./404.html.bee13de6.js"),["assets/404.html.bee13de6.js","assets/plugin-vue_export-helper.21dcd24c.js"]))},Fd={"v-8daa1a0e":()=>Y(()=>import("./index.html.54f6072c.js"),[]).then(({data:e})=>e),"v-510ed0d4":()=>Y(()=>import("./index.html.7857db23.js"),[]).then(({data:e})=>e),"v-7c87f26e":()=>Y(()=>import("./index.html.3bbc4fe4.js"),[]).then(({data:e})=>e),"v-0aca7ba6":()=>Y(()=>import("./index.html.797b027e.js"),[]).then(({data:e})=>e),"v-84304104":()=>Y(()=>import("./example-cascade-temperature-control.html.5a363ecf.js"),[]).then(({data:e})=>e),"v-1b3a0ab8":()=>Y(()=>import("./example-heat-capacitor.html.89cdea26.js"),[]).then(({data:e})=>e),"v-0607240a":()=>Y(()=>import("./example-next-schedule-entity.html.fc8e9124.js"),[]).then(({data:e})=>e),"v-61f728ca":()=>Y(()=>import("./example-nordpool-current-state.html.278abccb.js"),[]).then(({data:e})=>e),"v-30acb564":()=>Y(()=>import("./example-nordpool-events-state.html.47dbda83.js"),[]).then(({data:e})=>e),"v-5db8da3a":()=>Y(()=>import("./example-tibber-mqtt.html.bed6459b.js"),[]).then(({data:e})=>e),"v-7446a652":()=>Y(()=>import("./index.html.49024575.js"),[]).then(({data:e})=>e),"v-29504124":()=>Y(()=>import("./best-save-viewer.html.e897b3ac.js"),[]).then(({data:e})=>e),"v-fffb8e28":()=>Y(()=>import("./index.html.75c4e015.js"),[]).then(({data:e})=>e),"v-e8c55052":()=>Y(()=>import("./index.html.edb1389f.js"),[]).then(({data:e})=>e),"v-b4a42144":()=>Y(()=>import("./old-power-saver-doc.html.c7324541.js"),[]).then(({data:e})=>e),"v-1ad821fa":()=>Y(()=>import("./power-saver.html.875a1f0e.js"),[]).then(({data:e})=>e),"v-08683c60":()=>Y(()=>import("./ps-elvia-add-tariff.html.dce36de0.js"),[]).then(({data:e})=>e),"v-1e2b191e":()=>Y(()=>import("./ps-general-add-tariff.html.3cce3e4d.js"),[]).then(({data:e})=>e),"v-677dfaed":()=>Y(()=>import("./ps-receive-price.html.53dde398.js"),[]).then(({data:e})=>e),"v-0b5e3c8c":()=>Y(()=>import("./ps-strategy-best-save.html.503ecfbe.js"),[]).then(({data:e})=>e),"v-4c28314d":()=>Y(()=>import("./ps-strategy-heat-capacitor.html.b7849bf7.js"),[]).then(({data:e})=>e),"v-4637f9e4":()=>Y(()=>import("./ps-strategy-lowest-price.html.f006d811.js"),[]).then(({data:e})=>e),"v-5954bcb2":()=>Y(()=>import("./strategy-input.html.8a16d321.js"),[]).then(({data:e})=>e),"v-3706649a":()=>Y(()=>import("./404.html.f166316b.js"),[]).then(({data:e})=>e)},ma=Te(Fd),ga=Kr({key:"",path:"",title:"",lang:"",frontmatter:{},excerpt:"",headers:[]}),st=Te(ga),Jn=()=>st;ws.webpackHot&&(__VUE_HMR_RUNTIME__.updatePageData=e=>{ma.value[e.key]=()=>Promise.resolve(e),e.key===st.value.key&&(st.value=e)});const va=Symbol(""),Bd=()=>{const e=Ce(va);if(!e)throw new Error("usePageFrontmatter() is called without provider.");return e},_a=Symbol(""),Vd=()=>{const e=Ce(_a);if(!e)throw new Error("usePageHead() is called without provider.");return e},jd=Symbol(""),ya=Symbol(""),Ud=()=>{const e=Ce(ya);if(!e)throw new Error("usePageLang() is called without provider.");return e},ds=Symbol(""),Wd=()=>{const e=Ce(ds);if(!e)throw new Error("useRouteLocale() is called without provider.");return e},qd={base:"/",lang:"en-US",title:"Power Saver",description:"A Node-RED note to save money on hourly changing power prices",head:[["link",{rel:"shortcut icon",type:"image/x-icon",href:"euro.png"}]],locales:{}},Et=Te(qd),Kd=()=>Et;ws.webpackHot&&(__VUE_HMR_RUNTIME__.updateSiteData=e=>{Et.value=e});const wa=Symbol(""),rg=()=>{const e=Ce(wa);if(!e)throw new Error("useSiteLocaleData() is called without provider.");return e},Gd=Symbol(""),ps=e=>{let t;e.pageKey?t=e.pageKey:t=Jn().value.key;const n=ha[t];return n?_e(n):_e("div","404 Not Found")};ps.displayName="Content";ps.props={pageKey:{type:String,required:!1}};const Yd={"404":ue(()=>Y(()=>import("./404.32f46df8.js"),[])),Layout:ue(()=>Y(()=>import("./Layout.1b8eeaf1.js"),["assets/Layout.1b8eeaf1.js","assets/plugin-vue_export-helper.21dcd24c.js"]))},Qd=([e,t,n])=>e==="meta"&&t.name?`${e}.${t.name}`:["title","base"].includes(e)?e:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,t,n]),Xd=e=>{const t=new Set,n=[];return e.forEach(o=>{const r=Qd(o);t.has(r)||(t.add(r),n.push(o))}),n},Jd=e=>/^(https?:)?\/\//.test(e),sg=e=>/^mailto:/.test(e),ig=e=>/^tel:/.test(e),ba=e=>Object.prototype.toString.call(e)==="[object Object]",Zd=e=>e.replace(/\/$/,""),ep=e=>e.replace(/^\//,""),Ea=(e,t)=>{const n=Object.keys(e).sort((o,r)=>{const s=r.split("/").length-o.split("/").length;return s!==0?s:r.length-o.length});for(const o of n)if(t.startsWith(o))return o;return"/"},Pi=Ae({name:"Vuepress",setup(){const e=Jn(),t=we(()=>{let n;if(e.value.path){const o=e.value.frontmatter.layout;he(o)?n=o:n="Layout"}else n="404";return Yd[n]||ln(n,!1)});return()=>_e(t.value)}}),Wo=e=>e,hs=e=>e,tp=e=>Jd(e)?e:`${Kd().value.base}${ep(e)}`,It=wn({resolvePageData:async e=>{const t=ma.value[e],n=await(t==null?void 0:t());return n!=null?n:ga},resolvePageFrontmatter:e=>e.frontmatter,resolvePageHead:(e,t,n)=>{const o=he(t.description)?t.description:n.description,r=[...Q(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:o}]];return Xd(r)},resolvePageHeadTitle:(e,t)=>`${e.title?`${e.title} | `:""}${t.title}`,resolvePageLang:e=>e.lang||"en",resolveRouteLocale:(e,t)=>Ea(e,t),resolveSiteLocaleData:(e,t)=>ve(ve({},e),e.locales[t])});const np=_e("svg",{class:"external-link-icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},[_e("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),_e("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})]),op=Ae({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=Wd(),n=we(()=>{var o;return(o=e.locales[t.value])!==null&&o!==void 0?o:{openInNewWindow:"open in new window"}});return()=>_e("span",[np,_e("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}}),rp={"/":{openInNewWindow:"open in new window"}};var sp=Wo(({app:e})=>{e.component("ExternalLinkIcon",_e(op,{locales:rp}))});/*! medium-zoom 1.0.6 | MIT License | https://github.com/francoischalifour/medium-zoom */var kt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},co=function(t){return t.tagName==="IMG"},ip=function(t){return NodeList.prototype.isPrototypeOf(t)},po=function(t){return t&&t.nodeType===1},Ti=function(t){var n=t.currentSrc||t.src;return n.substr(-4).toLowerCase()===".svg"},Ci=function(t){try{return Array.isArray(t)?t.filter(co):ip(t)?[].slice.call(t).filter(co):po(t)?[t].filter(co):typeof t=="string"?[].slice.call(document.querySelectorAll(t)).filter(co):[]}catch{throw new TypeError(`The provided selector is invalid.
6
+ Expects a CSS selector, a Node element, a NodeList or an array.
7
+ See: https://github.com/francoischalifour/medium-zoom`)}},lp=function(t){var n=document.createElement("div");return n.classList.add("medium-zoom-overlay"),n.style.background=t,n},ap=function(t){var n=t.getBoundingClientRect(),o=n.top,r=n.left,s=n.width,i=n.height,l=t.cloneNode(),a=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,c=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return l.removeAttribute("id"),l.style.position="absolute",l.style.top=o+a+"px",l.style.left=r+c+"px",l.style.width=s+"px",l.style.height=i+"px",l.style.transform="",l},Yt=function(t,n){var o=kt({bubbles:!1,cancelable:!1,detail:void 0},n);if(typeof window.CustomEvent=="function")return new CustomEvent(t,o);var r=document.createEvent("CustomEvent");return r.initCustomEvent(t,o.bubbles,o.cancelable,o.detail),r},cp=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=window.Promise||function(E){function I(){}E(I,I)},r=function(E){var I=E.target;if(I===F){p();return}P.indexOf(I)!==-1&&y({target:I})},s=function(){if(!(M||!x.original)){var E=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(H-E)>C.scrollOffset&&setTimeout(p,150)}},i=function(E){var I=E.key||E.keyCode;(I==="Escape"||I==="Esc"||I===27)&&p()},l=function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},I=E;if(E.background&&(F.style.background=E.background),E.container&&E.container instanceof Object&&(I.container=kt({},C.container,E.container)),E.template){var W=po(E.template)?E.template:document.querySelector(E.template);I.template=W}return C=kt({},C,I),P.forEach(function(te){te.dispatchEvent(Yt("medium-zoom:update",{detail:{zoom:z}}))}),z},a=function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e(kt({},C,E))},c=function(){for(var E=arguments.length,I=Array(E),W=0;W<E;W++)I[W]=arguments[W];var te=I.reduce(function(B,Z){return[].concat(B,Ci(Z))},[]);return te.filter(function(B){return P.indexOf(B)===-1}).forEach(function(B){P.push(B),B.classList.add("medium-zoom-image")}),A.forEach(function(B){var Z=B.type,oe=B.listener,Ee=B.options;te.forEach(function($e){$e.addEventListener(Z,oe,Ee)})}),z},u=function(){for(var E=arguments.length,I=Array(E),W=0;W<E;W++)I[W]=arguments[W];x.zoomed&&p();var te=I.length>0?I.reduce(function(B,Z){return[].concat(B,Ci(Z))},[]):P;return te.forEach(function(B){B.classList.remove("medium-zoom-image"),B.dispatchEvent(Yt("medium-zoom:detach",{detail:{zoom:z}}))}),P=P.filter(function(B){return te.indexOf(B)===-1}),z},h=function(E,I){var W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return P.forEach(function(te){te.addEventListener("medium-zoom:"+E,I,W)}),A.push({type:"medium-zoom:"+E,listener:I,options:W}),z},d=function(E,I){var W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return P.forEach(function(te){te.removeEventListener("medium-zoom:"+E,I,W)}),A=A.filter(function(te){return!(te.type==="medium-zoom:"+E&&te.listener.toString()===I.toString())}),z},_=function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},I=E.target,W=function(){var B={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},Z=void 0,oe=void 0;if(C.container)if(C.container instanceof Object)B=kt({},B,C.container),Z=B.width-B.left-B.right-C.margin*2,oe=B.height-B.top-B.bottom-C.margin*2;else{var Ee=po(C.container)?C.container:document.querySelector(C.container),$e=Ee.getBoundingClientRect(),Ne=$e.width,Fe=$e.height,Le=$e.left,xn=$e.top;B=kt({},B,{width:Ne,height:Fe,left:Le,top:xn})}Z=Z||B.width-C.margin*2,oe=oe||B.height-C.margin*2;var T=x.zoomedHd||x.original,V=Ti(T)?Z:T.naturalWidth||Z,k=Ti(T)?oe:T.naturalHeight||oe,j=T.getBoundingClientRect(),ae=j.top,ce=j.left,ne=j.width,J=j.height,f=Math.min(V,Z)/ne,g=Math.min(k,oe)/J,b=Math.min(f,g),$=(-ce+(Z-ne)/2+C.margin+B.left)/b,S=(-ae+(oe-J)/2+C.margin+B.top)/b,R="scale("+b+") translate3d("+$+"px, "+S+"px, 0)";x.zoomed.style.transform=R,x.zoomedHd&&(x.zoomedHd.style.transform=R)};return new o(function(te){if(I&&P.indexOf(I)===-1){te(z);return}var B=function Ne(){M=!1,x.zoomed.removeEventListener("transitionend",Ne),x.original.dispatchEvent(Yt("medium-zoom:opened",{detail:{zoom:z}})),te(z)};if(x.zoomed){te(z);return}if(I)x.original=I;else if(P.length>0){var Z=P;x.original=Z[0]}else{te(z);return}if(x.original.dispatchEvent(Yt("medium-zoom:open",{detail:{zoom:z}})),H=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,M=!0,x.zoomed=ap(x.original),document.body.appendChild(F),C.template){var oe=po(C.template)?C.template:document.querySelector(C.template);x.template=document.createElement("div"),x.template.appendChild(oe.content.cloneNode(!0)),document.body.appendChild(x.template)}if(document.body.appendChild(x.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),x.original.classList.add("medium-zoom-image--hidden"),x.zoomed.classList.add("medium-zoom-image--opened"),x.zoomed.addEventListener("click",p),x.zoomed.addEventListener("transitionend",B),x.original.getAttribute("data-zoom-src")){x.zoomedHd=x.zoomed.cloneNode(),x.zoomedHd.removeAttribute("srcset"),x.zoomedHd.removeAttribute("sizes"),x.zoomedHd.src=x.zoomed.getAttribute("data-zoom-src"),x.zoomedHd.onerror=function(){clearInterval(Ee),console.warn("Unable to reach the zoom image target "+x.zoomedHd.src),x.zoomedHd=null,W()};var Ee=setInterval(function(){x.zoomedHd.complete&&(clearInterval(Ee),x.zoomedHd.classList.add("medium-zoom-image--opened"),x.zoomedHd.addEventListener("click",p),document.body.appendChild(x.zoomedHd),W())},10)}else if(x.original.hasAttribute("srcset")){x.zoomedHd=x.zoomed.cloneNode(),x.zoomedHd.removeAttribute("sizes"),x.zoomedHd.removeAttribute("loading");var $e=x.zoomedHd.addEventListener("load",function(){x.zoomedHd.removeEventListener("load",$e),x.zoomedHd.classList.add("medium-zoom-image--opened"),x.zoomedHd.addEventListener("click",p),document.body.appendChild(x.zoomedHd),W()})}else W()})},p=function(){return new o(function(E){if(M||!x.original){E(z);return}var I=function W(){x.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(x.zoomed),x.zoomedHd&&document.body.removeChild(x.zoomedHd),document.body.removeChild(F),x.zoomed.classList.remove("medium-zoom-image--opened"),x.template&&document.body.removeChild(x.template),M=!1,x.zoomed.removeEventListener("transitionend",W),x.original.dispatchEvent(Yt("medium-zoom:closed",{detail:{zoom:z}})),x.original=null,x.zoomed=null,x.zoomedHd=null,x.template=null,E(z)};M=!0,document.body.classList.remove("medium-zoom--opened"),x.zoomed.style.transform="",x.zoomedHd&&(x.zoomedHd.style.transform=""),x.template&&(x.template.style.transition="opacity 150ms",x.template.style.opacity=0),x.original.dispatchEvent(Yt("medium-zoom:close",{detail:{zoom:z}})),x.zoomed.addEventListener("transitionend",I)})},y=function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},I=E.target;return x.original?p():_({target:I})},m=function(){return C},v=function(){return P},w=function(){return x.original},P=[],A=[],M=!1,H=0,C=n,x={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(t)==="[object Object]"?C=t:(t||typeof t=="string")&&c(t),C=kt({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},C);var F=lp(C.background);document.addEventListener("click",r),document.addEventListener("keyup",i),document.addEventListener("scroll",s),window.addEventListener("resize",p);var z={open:_,close:p,toggle:y,update:l,clone:a,attach:c,detach:u,on:h,off:d,getOptions:m,getImages:v,getZoomedImage:w};return z};function up(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(!e||typeof document=="undefined")){var o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",n==="top"&&o.firstChild?o.insertBefore(r,o.firstChild):o.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}var fp=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";up(fp);var dp=cp;const pp=Symbol("mediumZoom");const hp=".theme-default-content > img, .theme-default-content :not(a) > img",mp={},gp=300;var vp=Wo(({app:e,router:t})=>{const n=dp(mp);n.refresh=(o=hp)=>{n.detach(),n.attach(o)},e.provide(pp,n),t.afterEach(()=>{setTimeout(()=>n.refresh(),gp)})});const _p={contributors:!1,logo:"/Ukraine-heart-shape-flag.png",navbar:[{text:"Guide",link:"/guide/"},{text:"Nodes",link:"/nodes/"},{text:"Examples",link:"/examples/"},{text:"FAQ",link:"/faq/"},{text:"Contribute",link:"/contribute/"},{text:"Changes",link:"/changelog/"},{text:"GitHub",link:"https://github.com/ottopaulsen/node-red-contrib-power-saver"}],sidebar:{"/guide/":[{text:"Guide",children:["/guide/README.md"]}],"/nodes/":[{text:"Nodes",children:[{text:"Power Saver",link:"/nodes/power-saver.md"},{text:"Strategy nodes",children:["/nodes/ps-strategy-best-save.md","/nodes/ps-strategy-lowest-price.md",{text:"ps-strategy-heat-capacitor",link:"/nodes/ps-strategy-heat-capacitor.md"}]},{text:"Utility nodes",children:["/nodes/ps-receive-price.md"]},{text:"Grid tariff nodes",children:["/nodes/ps-general-add-tariff.md","/nodes/ps-elvia-add-tariff.md"]}]},{text:"Data format",children:["/nodes/strategy-input.md"]}],"/examples/":[{text:"Examples",children:["/examples/example-nordpool-current-state.md","/examples/example-nordpool-events-state.md","/examples/example-tibber-mqtt.md","/examples/example-heat-capacitor.md","/examples/example-cascade-temperature-control.md"]}],"/faq/":[{text:"FAQ",children:["/faq/README.md"]}],"/contribute/":[{text:"Contribute",children:["/contribute/README.md"]}],"/changelog/":[{text:"Changelog",children:["/changelog/README.md"]}]},locales:{"/":{selectLanguageName:"English"}},darkMode:!0,repo:null,selectLanguageText:"Languages",selectLanguageAriaLabel:"Select language",sidebarDepth:2,editLink:!0,editLinkText:"Edit this page",lastUpdated:!0,lastUpdatedText:"Last Updated",contributorsText:"Contributors",notFound:["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],backToHome:"Take me home",openInNewWindow:"open in new window",toggleDarkMode:"toggle dark mode",toggleSidebar:"toggle sidebar"},xa=Te(_p),yp=()=>xa;ws.webpackHot&&(__VUE_HMR_RUNTIME__.updateThemeData=e=>{xa.value=e});const Pa=Symbol(""),wp=()=>{const e=Ce(Pa);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},bp=(e,t)=>{var n;return ve(ve({},e),(n=e.locales)===null||n===void 0?void 0:n[t])};var Ep=Wo(({app:e})=>{const t=yp(),n=e._context.provides[ds],o=we(()=>bp(t.value,n.value));e.provide(Pa,o),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return o.value}}})});const xp=Ae({props:{type:{type:String,required:!1,default:"tip"},text:{type:String,required:!1,default:""},vertical:{type:String,required:!1,default:void 0}},setup(e){return(t,n)=>(We(),an("span",{class:At(["badge",e.type]),style:xt({verticalAlign:e.vertical})},[qn(t.$slots,"default",{},()=>[os(Xi(e.text),1)])],6))}});var Pp=Ae({name:"CodeGroup",setup(e,{slots:t}){const n=Te(-1),o=Te([]),r=(l=n.value)=>{l<o.value.length-1?n.value=l+1:n.value=0,o.value[n.value].focus()},s=(l=n.value)=>{l>0?n.value=l-1:n.value=o.value.length-1,o.value[n.value].focus()},i=(l,a)=>{l.key===" "||l.key==="Enter"?(l.preventDefault(),n.value=a):l.key==="ArrowRight"?(l.preventDefault(),r(a)):l.key==="ArrowLeft"&&(l.preventDefault(),s(a))};return()=>{var l;const a=(((l=t.default)===null||l===void 0?void 0:l.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return a.length===0?null:(n.value<0||n.value>a.length-1?(n.value=a.findIndex(c=>c.props.active===""||c.props.active===!0),n.value===-1&&(n.value=0)):a.forEach((c,u)=>{c.props.active=u===n.value}),_e("div",{class:"code-group"},[_e("div",{class:"code-group__nav"},_e("ul",{class:"code-group__ul"},a.map((c,u)=>{const h=u===n.value;return _e("li",{class:"code-group__li"},_e("button",{ref:d=>{d&&(o.value[u]=d)},class:{"code-group__nav-tab":!0,"code-group__nav-tab-active":h},ariaPressed:h,ariaExpanded:h,onClick:()=>n.value=u,onKeydown:d=>i(d,u)},c.props.title))}))),a]))}}});const Tp=["aria-selected"],Cp=Ae({name:"CodeGroupItem"}),Ap=Ae(Ie(ve({},Cp),{props:{title:{type:String,required:!0},active:{type:Boolean,required:!1,default:!1}},setup(e){return(t,n)=>(We(),an("div",{class:At(["code-group-item",{"code-group-item__active":e.active}]),"aria-selected":e.active},[qn(t.$slots,"default")],10,Tp))}}));function Ta(e){return vc()?(_c(e),!0):!1}const Zn=typeof window!="undefined",Sp=e=>typeof e=="string",ar=()=>{};function $p(e,t){function n(...o){e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})}return n}const Op=e=>e();var Ai=Object.getOwnPropertySymbols,Rp=Object.prototype.hasOwnProperty,Lp=Object.prototype.propertyIsEnumerable,Ip=(e,t)=>{var n={};for(var o in e)Rp.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&Ai)for(var o of Ai(e))t.indexOf(o)<0&&Lp.call(e,o)&&(n[o]=e[o]);return n};function kp(e,t,n={}){const o=n,{eventFilter:r=Op}=o,s=Ip(o,["eventFilter"]);return it(e,$p(r,t),s)}function Np(e,t=!0){Kl()?ft(e):t?e():zo(e)}const $o=Zn?window:void 0;Zn&&window.document;Zn&&window.navigator;Zn&&window.location;function Mp(...e){let t,n,o,r;if(Sp(e[0])?([n,o,r]=e,t=$o):[t,n,o,r]=e,!t)return ar;let s=ar;const i=it(()=>Ft(t),a=>{s(),a&&(a.addEventListener(n,o,r),s=()=>{a.removeEventListener(n,o,r),s=ar})},{immediate:!0,flush:"post"}),l=()=>{i(),s()};return Ta(l),l}function Dp(e,t={}){const{window:n=$o}=t;let o;const r=Te(!1),s=()=>{!n||(o||(o=n.matchMedia(e)),r.value=o.matches)};return Np(()=>{s(),o&&("addEventListener"in o?o.addEventListener("change",s):o.addListener(s),Ta(()=>{"removeEventListener"in s?o.removeEventListener("change",s):o.removeListener(s)}))}),r}const $r=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Or="__vueuse_ssr_handlers__";$r[Or]=$r[Or]||{};const Hp=$r[Or];function zp(e,t){return Hp[e]||t}function Fp(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"||Array.isArray(e)?"object":Number.isNaN(e)?"any":"number"}const Bp={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))}};function Vp(e,t,n,o={}){var r;const{flush:s="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:a=!0,shallow:c,window:u=$o,eventFilter:h,onError:d=w=>{console.error(w)}}=o,_=Ft(t),p=Fp(_),y=(c?vl:Te)(t),m=(r=o.serializer)!=null?r:Bp[p];if(!n)try{n=zp("getDefaultStorage",()=>{var w;return(w=$o)==null?void 0:w.localStorage})()}catch(w){d(w)}function v(w){if(!(!n||w&&w.key!==e))try{const P=w?w.newValue:n.getItem(e);P==null?(y.value=_,a&&_!==null&&n.setItem(e,m.write(_))):typeof P!="string"?y.value=P:y.value=m.read(P)}catch(P){d(P)}}return v(),u&&l&&Mp(u,"storage",w=>setTimeout(()=>v(w),0)),n&&kp(y,()=>{try{y.value==null?n.removeItem(e):n.setItem(e,m.write(y.value))}catch(w){d(w)}},{flush:s,deep:i,eventFilter:h}),y}function jp(e){return Dp("(prefers-color-scheme: dark)",e)}var Si,$i;Zn&&(window==null?void 0:window.navigator)&&((Si=window==null?void 0:window.navigator)==null?void 0:Si.platform)&&/iP(ad|hone|od)/.test(($i=window==null?void 0:window.navigator)==null?void 0:$i.platform);var Up=Object.defineProperty,Oi=Object.getOwnPropertySymbols,Wp=Object.prototype.hasOwnProperty,qp=Object.prototype.propertyIsEnumerable,Ri=(e,t,n)=>t in e?Up(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Kp=(e,t)=>{for(var n in t||(t={}))Wp.call(t,n)&&Ri(e,n,t[n]);if(Oi)for(var n of Oi(t))qp.call(t,n)&&Ri(e,n,t[n]);return e};const Gp={top:0,left:0,bottom:0,right:0,height:0,width:0};Kp({text:""},Gp);const Ca=Symbol(""),lg=()=>{const e=Ce(Ca);if(!e)throw new Error("useDarkMode() is called without provider.");return e},Yp=()=>{const e=Oa(),t=jp(),n=Vp("vuepress-color-scheme","auto"),o=we({get(){return e.value.darkMode?n.value==="auto"?t.value:n.value==="dark":!1},set(r){r===t.value?n.value="auto":n.value=r?"dark":"light"}});Bt(Ca,o),Qp(o)},Qp=e=>{const t=(n=e.value)=>{const o=window==null?void 0:window.document.querySelector("html");o==null||o.classList.toggle("dark",n)};ft(()=>{it(e,t,{immediate:!0})}),ts(()=>t())},Aa=(...e)=>{const n=us().resolve(...e),o=n.matched[n.matched.length-1];if(!(o!=null&&o.redirect))return n;const{redirect:r}=o,s=ee(r)?r(n):r,i=he(s)?{path:s}:s;return Aa(ve({hash:n.hash,query:n.query,params:n.params},i))},Xp=e=>{const t=Aa(e);return{text:t.meta.title||e,link:t.name==="404"?e:t.fullPath}};let cr=null,$n=null;const Jp={wait:()=>cr,pending:()=>{cr=new Promise(e=>$n=e)},resolve:()=>{$n==null||$n(),cr=null,$n=null}},Zp=()=>Jp,Sa=Symbol("sidebarItems"),ag=()=>{const e=Ce(Sa);if(!e)throw new Error("useSidebarItems() is called without provider.");return e},eh=()=>{const e=Oa(),t=Bd(),n=we(()=>th(t.value,e.value));Bt(Sa,n)},th=(e,t)=>{var n,o,r,s;const i=(o=(n=e.sidebar)!==null&&n!==void 0?n:t.sidebar)!==null&&o!==void 0?o:"auto",l=(s=(r=e.sidebarDepth)!==null&&r!==void 0?r:t.sidebarDepth)!==null&&s!==void 0?s:2;return e.home||i===!1?[]:i==="auto"?oh(l):Q(i)?$a(i,l):ba(i)?rh(i,l):[]},nh=(e,t)=>({text:e.title,link:`#${e.slug}`,children:ms(e.children,t)}),ms=(e,t)=>t>0?e.map(n=>nh(n,t-1)):[],oh=e=>{const t=Jn();return[{text:t.value.title,children:ms(t.value.headers,e)}]},$a=(e,t)=>{const n=fs(),o=Jn(),r=s=>{var i;let l;if(he(s)?l=Xp(s):l=s,l.children)return Ie(ve({},l),{children:l.children.map(a=>r(a))});if(l.link===n.path){const a=((i=o.value.headers[0])===null||i===void 0?void 0:i.level)===1?o.value.headers[0].children:o.value.headers;return Ie(ve({},l),{children:ms(a,t)})}return l};return e.map(s=>r(s))},rh=(e,t)=>{var n;const o=fs(),r=Ea(e,o.path),s=(n=e[r])!==null&&n!==void 0?n:[];return $a(s,t)},Oa=()=>wp();var sh=Wo(({app:e,router:t})=>{e.component("Badge",xp),e.component("CodeGroup",Pp),e.component("CodeGroupItem",Ap),e.component("NavbarSearch",()=>{const o=e.component("Docsearch")||e.component("SearchBox");return o?_e(o):null});const n=t.options.scrollBehavior;t.options.scrollBehavior=async(...o)=>(await Zp().wait(),n(...o))}),ih=({app:e})=>{e.component("BestSaveVerificator",ue(()=>Y(()=>import("./BestSaveVerificator.574001b7.js"),["assets/BestSaveVerificator.574001b7.js","assets/plugin-vue_export-helper.21dcd24c.js"]))),e.component("DonateButtons",ue(()=>Y(()=>import("./DonateButtons.ab660315.js"),["assets/DonateButtons.ab660315.js","assets/plugin-vue_export-helper.21dcd24c.js"])))};function dt(e){return e.split("-")[0]}function on(e){return e.split("-")[1]}function eo(e){return["top","bottom"].includes(dt(e))?"x":"y"}function gs(e){return e==="y"?"height":"width"}function Li(e){let{reference:t,floating:n,placement:o}=e;const r=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2;let i;switch(dt(o)){case"top":i={x:r,y:t.y-n.height};break;case"bottom":i={x:r,y:t.y+t.height};break;case"right":i={x:t.x+t.width,y:s};break;case"left":i={x:t.x-n.width,y:s};break;default:i={x:t.x,y:t.y}}const l=eo(o),a=gs(l);switch(on(o)){case"start":i[l]=i[l]-(t[a]/2-n[a]/2);break;case"end":i[l]=i[l]+(t[a]/2-n[a]/2);break}return i}const lh=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:s=[],platform:i}=n;let l=await i.getElementRects({reference:e,floating:t,strategy:r}),{x:a,y:c}=Li(Ie(ve({},l),{placement:o})),u=o,h={};for(let d=0;d<s.length;d++){const{name:_,fn:p}=s[d],{x:y,y:m,data:v,reset:w}=await p({x:a,y:c,initialPlacement:o,placement:u,strategy:r,middlewareData:h,rects:l,platform:i,elements:{reference:e,floating:t}});if(a=y!=null?y:a,c=m!=null?m:c,h=Ie(ve({},h),{[_]:v!=null?v:{}}),w){typeof w=="object"&&(w.placement&&(u=w.placement),w.rects&&(l=w.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:r}):w.rects),{x:a,y:c}=Li(Ie(ve({},l),{placement:u}))),d=-1;continue}}return{x:a,y:c,placement:u,strategy:r,middlewareData:h}};function ah(e){return ve({top:0,right:0,bottom:0,left:0},e)}function Ra(e){return typeof e!="number"?ah(e):{top:e,right:e,bottom:e,left:e}}function Rr(e){return Ie(ve({},e),{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}async function qo(e,t){t===void 0&&(t={});const{x:n,y:o,platform:r,rects:s,elements:i,strategy:l}=e,{boundary:a="clippingParents",rootBoundary:c="viewport",elementContext:u="floating",altBoundary:h=!1,padding:d=0}=t,_=Ra(d),y=i[h?u==="floating"?"reference":"floating":u],m=await r.getClippingClientRect({element:await r.isElement(y)?y:y.contextElement||await r.getDocumentElement({element:i.floating}),boundary:a,rootBoundary:c}),v=Rr(await r.convertOffsetParentRelativeRectToViewportRelativeRect({rect:u==="floating"?Ie(ve({},s.floating),{x:n,y:o}):s.reference,offsetParent:await r.getOffsetParent({element:i.floating}),strategy:l}));return{top:m.top-v.top+_.top,bottom:v.bottom-m.bottom+_.bottom,left:m.left-v.left+_.left,right:v.right-m.right+_.right}}const ch=Math.min,Nt=Math.max;function Lr(e,t,n){return Nt(e,ch(t,n))}const uh=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:o=0}=e!=null?e:{},{x:r,y:s,placement:i,rects:l,platform:a}=t;if(n==null)return{};const c=Ra(o),u={x:r,y:s},h=dt(i),d=eo(h),_=gs(d),p=await a.getDimensions({element:n}),y=d==="y"?"top":"left",m=d==="y"?"bottom":"right",v=l.reference[_]+l.reference[d]-u[d]-l.floating[_],w=u[d]-l.reference[d],P=await a.getOffsetParent({element:n}),A=P?d==="y"?P.clientHeight||0:P.clientWidth||0:0,M=v/2-w/2,H=c[y],C=A-p[_]-c[m],x=A/2-p[_]/2+M,F=Lr(H,x,C);return{data:{[d]:F,centerOffset:x-F}}}}),fh={left:"right",right:"left",bottom:"top",top:"bottom"};function Oo(e){return e.replace(/left|right|bottom|top/g,t=>fh[t])}function La(e,t){const n=on(e)==="start",o=eo(e),r=gs(o);let s=o==="x"?n?"right":"left":n?"bottom":"top";return t.reference[r]>t.floating[r]&&(s=Oo(s)),{main:s,cross:Oo(s)}}const dh={start:"end",end:"start"};function Ir(e){return e.replace(/start|end/g,t=>dh[t])}const ph=["top","right","bottom","left"],hh=ph.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);function mh(e,t,n){return(e?[...n.filter(r=>on(r)===e),...n.filter(r=>on(r)!==e)]:n.filter(r=>dt(r)===r)).filter(r=>e?on(r)===e||(t?Ir(r)!==r:!1):!0)}const gh=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,r,s,i,l;const{x:a,y:c,rects:u,middlewareData:h,placement:d}=t,E=e,{alignment:_=null,allowedPlacements:p=hh,autoAlignment:y=!0}=E,m=Tn(E,["alignment","allowedPlacements","autoAlignment"]);if((n=h.autoPlacement)!=null&&n.skip)return{};const v=mh(_,y,p),w=await qo(t,m),P=(o=(r=h.autoPlacement)==null?void 0:r.index)!=null?o:0,A=v[P],{main:M,cross:H}=La(A,u);if(d!==A)return{x:a,y:c,reset:{placement:v[0]}};const C=[w[dt(A)],w[M],w[H]],x=[...(s=(i=h.autoPlacement)==null?void 0:i.overflows)!=null?s:[],{placement:A,overflows:C}],F=v[P+1];if(F)return{data:{index:P+1,overflows:x},reset:{placement:F}};const z=x.slice().sort((I,W)=>I.overflows[0]-W.overflows[0]),q=(l=z.find(I=>{let{overflows:W}=I;return W.every(te=>te<=0)}))==null?void 0:l.placement;return{data:{skip:!0},reset:{placement:q!=null?q:z[0].placement}}}}};function vh(e){const t=Oo(e);return[Ir(e),t,Ir(t)]}const _h=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:s,rects:i,initialPlacement:l}=t;if((n=s.flip)!=null&&n.skip)return{};const x=e,{mainAxis:a=!0,crossAxis:c=!0,fallbackPlacements:u,fallbackStrategy:h="bestFit",flipAlignment:d=!0}=x,_=Tn(x,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"]),p=dt(r),m=u||(p===l||!d?[Oo(l)]:vh(l)),v=[l,...m],w=await qo(t,_),P=[];let A=((o=s.flip)==null?void 0:o.overflows)||[];if(a&&P.push(w[p]),c){const{main:F,cross:z}=La(r,i);P.push(w[F],w[z])}if(A=[...A,{placement:r,overflows:P}],!P.every(F=>F<=0)){var M,H;const F=((M=(H=s.flip)==null?void 0:H.index)!=null?M:0)+1,z=v[F];if(z)return{data:{index:F,overflows:A},reset:{placement:z}};let q="bottom";switch(h){case"bestFit":{var C;const E=(C=A.slice().sort((I,W)=>I.overflows.filter(te=>te>0).reduce((te,B)=>te+B,0)-W.overflows.filter(te=>te>0).reduce((te,B)=>te+B,0))[0])==null?void 0:C.placement;E&&(q=E);break}case"initialPlacement":q=l;break}return{data:{skip:!0},reset:{placement:q}}}return{}}}};function yh(e){let{placement:t,rects:n,value:o}=e;const r=dt(t),s=["left","top"].includes(r)?-1:1,i=typeof o=="function"?o(Ie(ve({},n),{placement:t})):o,{mainAxis:l,crossAxis:a}=typeof i=="number"?{mainAxis:i,crossAxis:0}:ve({mainAxis:0,crossAxis:0},i);return eo(r)==="x"?{x:a,y:l*s}:{x:l*s,y:a}}const wh=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(t){const{x:n,y:o,placement:r,rects:s}=t,i=yh({placement:r,rects:s,value:e});return{x:n+i.x,y:o+i.y,data:i}}}};function bh(e){return e==="x"?"y":"x"}const Eh=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,m=e,{mainAxis:s=!0,crossAxis:i=!1,limiter:l={fn:v=>{let{x:w,y:P}=v;return{x:w,y:P}}}}=m,a=Tn(m,["mainAxis","crossAxis","limiter"]),c={x:n,y:o},u=await qo(t,a),h=eo(dt(r)),d=bh(h);let _=c[h],p=c[d];if(s){const v=h==="y"?"top":"left",w=h==="y"?"bottom":"right",P=_+u[v],A=_-u[w];_=Lr(P,_,A)}if(i){const v=d==="y"?"top":"left",w=d==="y"?"bottom":"right",P=p+u[v],A=p-u[w];p=Lr(P,p,A)}const y=l.fn(Ie(ve({},t),{[h]:_,[d]:p}));return Ie(ve({},y),{data:{x:y.x-n,y:y.y-o}})}}},xh=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n;const{placement:o,rects:r,middlewareData:s}=t,w=e,{apply:i}=w,l=Tn(w,["apply"]);if((n=s.size)!=null&&n.skip)return{};const a=await qo(t,l),c=dt(o),u=on(o)==="end";let h,d;c==="top"||c==="bottom"?(h=c,d=u?"left":"right"):(d=c,h=u?"top":"bottom");const _=Nt(a.left,0),p=Nt(a.right,0),y=Nt(a.top,0),m=Nt(a.bottom,0),v={height:r.floating.height-(["left","right"].includes(o)?2*(y!==0||m!==0?y+m:Nt(a.top,a.bottom)):a[h]),width:r.floating.width-(["top","bottom"].includes(o)?2*(_!==0||p!==0?_+p:Nt(a.left,a.right)):a[d])};return i==null||i(ve(ve({},v),r)),{data:{skip:!0},reset:{rects:!0}}}}};function vs(e){return(e==null?void 0:e.toString())==="[object Window]"}function St(e){if(e==null)return window;if(!vs(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ko(e){return St(e).getComputedStyle(e)}function at(e){return vs(e)?"":e?(e.nodeName||"").toLowerCase():""}function ct(e){return e instanceof St(e).HTMLElement}function Ro(e){return e instanceof St(e).Element}function Ph(e){return e instanceof St(e).Node}function Ia(e){const t=St(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Go(e){const{overflow:t,overflowX:n,overflowY:o}=Ko(e);return/auto|scroll|overlay|hidden/.test(t+o+n)}function Th(e){return["table","td","th"].includes(at(e))}function ka(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=Ko(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&(n.filter?n.filter!=="none":!1)}const Ii=Math.min,Fn=Math.max,Lo=Math.round;function mn(e,t){t===void 0&&(t=!1);const n=e.getBoundingClientRect();let o=1,r=1;return t&&ct(e)&&(o=e.offsetWidth>0&&Lo(n.width)/e.offsetWidth||1,r=e.offsetHeight>0&&Lo(n.height)/e.offsetHeight||1),{width:n.width/o,height:n.height/r,top:n.top/r,right:n.right/o,bottom:n.bottom/r,left:n.left/o,x:n.left/o,y:n.top/r}}function $t(e){return((Ph(e)?e.ownerDocument:e.document)||window.document).documentElement}function Yo(e){return vs(e)?{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}:{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Na(e){return mn($t(e)).left+Yo(e).scrollLeft}function Ch(e){const t=mn(e);return Lo(t.width)!==e.offsetWidth||Lo(t.height)!==e.offsetHeight}function Ah(e,t,n){const o=ct(t),r=$t(t),s=mn(e,o&&Ch(t));let i={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&n!=="fixed")if((at(t)!=="body"||Go(r))&&(i=Yo(t)),ct(t)){const a=mn(t,!0);l.x=a.x+t.clientLeft,l.y=a.y+t.clientTop}else r&&(l.x=Na(r));return{x:s.left+i.scrollLeft-l.x,y:s.top+i.scrollTop-l.y,width:s.width,height:s.height}}function Qo(e){return at(e)==="html"?e:e.assignedSlot||e.parentNode||(Ia(e)?e.host:null)||$t(e)}function ki(e){return!ct(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function Sh(e){let t=Qo(e);for(;ct(t)&&!["html","body"].includes(at(t));){if(ka(t))return t;t=t.parentNode}return null}function kr(e){const t=St(e);let n=ki(e);for(;n&&Th(n)&&getComputedStyle(n).position==="static";)n=ki(n);return n&&(at(n)==="html"||at(n)==="body"&&getComputedStyle(n).position==="static"&&!ka(n))?t:n||Sh(e)||t}function Ni(e){return{width:e.offsetWidth,height:e.offsetHeight}}function $h(e){let{rect:t,offsetParent:n,strategy:o}=e;const r=ct(n),s=$t(n);if(n===s)return t;let i={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if((r||!r&&o!=="fixed")&&((at(n)!=="body"||Go(s))&&(i=Yo(n)),ct(n))){const a=mn(n,!0);l.x=a.x+n.clientLeft,l.y=a.y+n.clientTop}return Ie(ve({},t),{x:t.x-i.scrollLeft+l.x,y:t.y-i.scrollTop+l.y})}function Oh(e){const t=St(e),n=$t(e),o=t.visualViewport;let r=n.clientWidth,s=n.clientHeight,i=0,l=0;return o&&(r=o.width,s=o.height,Math.abs(t.innerWidth/o.scale-o.width)<.01&&(i=o.offsetLeft,l=o.offsetTop)),{width:r,height:s,x:i,y:l}}function Rh(e){var t;const n=$t(e),o=Yo(e),r=(t=e.ownerDocument)==null?void 0:t.body,s=Fn(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=Fn(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let l=-o.scrollLeft+Na(e);const a=-o.scrollTop;return Ko(r||n).direction==="rtl"&&(l+=Fn(n.clientWidth,r?r.clientWidth:0)-s),{width:s,height:i,x:l,y:a}}function Ma(e){return["html","body","#document"].includes(at(e))?e.ownerDocument.body:ct(e)&&Go(e)?e:Ma(Qo(e))}function Io(e,t){var n;t===void 0&&(t=[]);const o=Ma(e),r=o===((n=e.ownerDocument)==null?void 0:n.body),s=St(o),i=r?[s].concat(s.visualViewport||[],Go(o)?o:[]):o,l=t.concat(i);return r?l:l.concat(Io(Qo(i)))}function Lh(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Ia(n)){let o=t;do{if(o&&e===o)return!0;o=o.parentNode||o.host}while(o)}return!1}function Ih(e){const t=mn(e),n=t.top+e.clientTop,o=t.left+e.clientLeft;return{top:n,left:o,x:o,y:n,right:o+e.clientWidth,bottom:n+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function Mi(e,t){return t==="viewport"?Rr(Oh(e)):Ro(t)?Ih(t):Rr(Rh($t(e)))}function kh(e){const t=Io(Qo(e)),o=["absolute","fixed"].includes(Ko(e).position)&&ct(e)?kr(e):e;return Ro(o)?t.filter(r=>Ro(r)&&Lh(r,o)&&at(r)!=="body"):[]}function Nh(e){let{element:t,boundary:n,rootBoundary:o}=e;const s=[...n==="clippingParents"?kh(t):[].concat(n),o],i=s[0],l=s.reduce((a,c)=>{const u=Mi(t,c);return a.top=Fn(u.top,a.top),a.right=Ii(u.right,a.right),a.bottom=Ii(u.bottom,a.bottom),a.left=Fn(u.left,a.left),a},Mi(t,i));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}const Mh={getElementRects:e=>{let{reference:t,floating:n,strategy:o}=e;return{reference:Ah(t,kr(n),o),floating:Ie(ve({},Ni(n)),{x:0,y:0})}},convertOffsetParentRelativeRectToViewportRelativeRect:e=>$h(e),getOffsetParent:e=>{let{element:t}=e;return kr(t)},isElement:e=>Ro(e),getDocumentElement:e=>{let{element:t}=e;return $t(t)},getClippingClientRect:e=>Nh(e),getDimensions:e=>{let{element:t}=e;return Ni(t)},getClientRects:e=>{let{element:t}=e;return t.getClientRects()}},Dh=(e,t,n)=>lh(e,t,ve({platform:Mh},n));var Hh=Object.defineProperty,zh=Object.defineProperties,Fh=Object.getOwnPropertyDescriptors,Di=Object.getOwnPropertySymbols,Bh=Object.prototype.hasOwnProperty,Vh=Object.prototype.propertyIsEnumerable,Hi=(e,t,n)=>t in e?Hh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ze=(e,t)=>{for(var n in t||(t={}))Bh.call(t,n)&&Hi(e,n,t[n]);if(Di)for(var n of Di(t))Vh.call(t,n)&&Hi(e,n,t[n]);return e},to=(e,t)=>zh(e,Fh(t));function Da(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Da(e[n],t[n]):e[n]=t[n])}const Ut={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function gn(e,t){let n=Ut.themes[e]||{},o;do o=n[t],typeof o=="undefined"?n.$extend?n=Ut.themes[n.$extend]||{}:(n=null,o=Ut[t]):n=null;while(n);return o}function jh(e){const t=[e];let n=Ut.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Ut.themes[n.$extend]||{}):n=null;while(n);return t.map(o=>`v-popper--theme-${o}`)}let vn=!1;if(typeof window!="undefined"){vn=!1;try{const e=Object.defineProperty({},"passive",{get(){vn=!0}});window.addEventListener("test",null,e)}catch{}}let Ha=!1;typeof window!="undefined"&&typeof navigator!="undefined"&&(Ha=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const za=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),zi={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},Fi={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function Uh(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function ur(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const tt=[];let Qt=null,Nr=function(){};typeof window!="undefined"&&(Nr=window.Element);function le(e){return function(t){return gn(t.theme,e)}}var Fa=()=>Ae({name:"VPopper",props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,required:!0},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:le("disabled")},positioningDisabled:{type:Boolean,default:le("positioningDisabled")},placement:{type:String,default:le("placement"),validator:e=>za.includes(e)},delay:{type:[String,Number,Object],default:le("delay")},distance:{type:[Number,String],default:le("distance")},skidding:{type:[Number,String],default:le("skidding")},triggers:{type:Array,default:le("triggers")},showTriggers:{type:[Array,Function],default:le("showTriggers")},hideTriggers:{type:[Array,Function],default:le("hideTriggers")},popperTriggers:{type:Array,default:le("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:le("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:le("popperHideTriggers")},container:{type:[String,Object,Nr,Boolean],default:le("container")},boundary:{type:[String,Nr],default:le("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:le("strategy")},autoHide:{type:Boolean,default:le("autoHide")},handleResize:{type:Boolean,default:le("handleResize")},instantMove:{type:Boolean,default:le("instantMove")},eagerMount:{type:Boolean,default:le("eagerMount")},popperClass:{type:[String,Array,Object],default:le("popperClass")},computeTransformOrigin:{type:Boolean,default:le("computeTransformOrigin")},autoMinSize:{type:Boolean,default:le("autoMinSize")},autoMaxSize:{type:Boolean,default:le("autoMaxSize")},preventOverflow:{type:Boolean,default:le("preventOverflow")},overflowPadding:{type:[Number,String],default:le("overflowPadding")},arrowPadding:{type:[Number,String],default:le("arrowPadding")},arrowOverflow:{type:Boolean,default:le("arrowOverflow")},flip:{type:Boolean,default:le("flip")},shift:{type:Boolean,default:le("shift")},shiftCrossAxis:{type:Boolean,default:le("shiftCrossAxis")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null}}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:to(Ze({},this.classes),{popperClass:this.popperClass}),result:this.positioningDisabled?null:this.result}}},watch:Ze(Ze({shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())}},["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{})),["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})),created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){(n||!this.disabled)&&(this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0)},hide({event:e=null,skipDelay:t=!1}={}){this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)},init(){!this.$_isDisposed||(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=this.referenceNode(),this.$_targetNodes=this.targetNodes().filter(e=>e.nodeType===e.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){var e;if(this.$_isDisposed||this.positioningDisabled)return;const t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(wh({mainAxis:this.distance,crossAxis:this.skidding}));const n=this.placement.startsWith("auto");n?t.middleware.push(gh({alignment:(e=this.placement.split("-")[1])!=null?e:""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(Eh({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!n&&this.flip&&t.middleware.push(_h({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(uh({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:s,middlewareData:i})=>{let l;const{centerOffset:a}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?l=Math.abs(a)>s.reference.width/2:l=Math.abs(a)>s.reference.height/2,{data:{overflow:l}}}}),this.autoMinSize&&t.middleware.push({name:"autoMinSize",fn:({rects:r,placement:s,middlewareData:i})=>{var l;if((l=i.autoMinSize)!=null&&l.skip)return{};let a,c;return s.startsWith("top")||s.startsWith("bottom")?a=r.reference.width:c=r.reference.height,this.$_innerNode.style.minWidth=a!=null?`${a}px`:null,this.$_innerNode.style.minHeight=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}}),this.autoMaxSize&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(xh({boundary:this.boundary,padding:this.overflowPadding,apply:({width:r,height:s})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=s!=null?`${s}px`:null}})));const o=await Dh(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:o.x,y:o.y,placement:o.placement,strategy:o.strategy,arrow:Ze(Ze({},o.middlewareData.arrow),o.middlewareData.arrowOverflow)})},$_scheduleShow(e=null,t=!1){if(this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Qt&&this.instantMove&&Qt.instantMove){Qt.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,t=!1){this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Qt=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await ur(),await this.$_computePosition(),await this.$_applyShowEffect())},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),o=n.parentNode.getBoundingClientRect(),r=t.x+t.width/2-(o.left+n.offsetLeft),s=t.y+t.height/2-(o.top+n.offsetTop);this.result.transformOrigin=`${r}px ${s}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<tt.length;n++)t=tt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}tt.push(this),this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await ur(),this.classes.showFrom=!1,this.classes.showTo=!0},async $_applyHide(e=!1){if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Uh(tt,this),Qt===this&&(Qt=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=gn(this.theme,"disposeTimeout");t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await ur(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=(r,s,i)=>{this.$_events.push({targetNodes:r,eventType:s,handler:i}),r.forEach(l=>l.addEventListener(s,i,vn?{passive:!0}:void 0))},t=(r,s,i,l,a)=>{let c=i;l!=null&&(c=typeof l=="function"?l(c):l),c.forEach(u=>{const h=s[u];h&&e(r,h,a)})},n=r=>{this.isShown&&!this.$_hideInProgress||(r.usedByTooltip=!0,!this.$_preventShow&&this.show({event:r}))};t(this.$_targetNodes,zi,this.triggers,this.showTriggers,n),t([this.$_popperNode],zi,this.popperTriggers,this.popperShowTriggers,n);const o=r=>{r.usedByTooltip||this.hide({event:r})};t(this.$_targetNodes,Fi,this.triggers,this.hideTriggers,o),t([this.$_popperNode],Fi,this.popperTriggers,this.popperHideTriggers,o),this.positioningDisabled||e([...Io(this.$_referenceNode),...Io(this.$_popperNode)],"scroll",()=>{this.$_computePosition()})},$_removeEventListeners(){this.$_events.forEach(({targetNodes:e,eventType:t,handler:n})=>{e.forEach(o=>o.removeEventListener(t,n))}),this.$_events=[]},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const o=n.getAttribute(e);o&&(n.removeAttribute(e),n.setAttribute(t,o))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const o=e[n];o==null?t.removeAttribute(n):t.setAttribute(n,o)}}},render(){return this.$slots.default(this.slotData)}});typeof document!="undefined"&&typeof window!="undefined"&&(Ha?(document.addEventListener("touchstart",Bi,vn?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",qh,vn?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Bi,!0),window.addEventListener("click",Wh,!0)),window.addEventListener("resize",Kh));function Bi(e){for(let t=0;t<tt.length;t++){const n=tt[t],o=n.popperNode();n.$_mouseDownContains=o.contains(e.target)}}function Wh(e){Ba(e)}function qh(e){Ba(e,!0)}function Ba(e,t=!1){for(let n=0;n<tt.length;n++){const o=tt[n],r=o.popperNode(),s=o.$_mouseDownContains||r.contains(e.target);requestAnimationFrame(()=>{(e.closeAllPopover||e.closePopover&&s||o.autoHide&&!s)&&o.$_handleGlobalClose(e,t)})}}function Kh(e){for(let t=0;t<tt.length;t++)tt[t].$_computePosition(e)}function Gh(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var o=e.indexOf("rv:");return parseInt(e.substring(o+3,e.indexOf(".",o)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let ho;function Mr(){Mr.init||(Mr.init=!0,ho=Gh()!==-1)}var Xo={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Mr(),zo(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",ho&&this.$el.appendChild(e),e.data="about:blank",ho||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!ho&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Yh=su("data-v-b329ee4c");ou("data-v-b329ee4c");const Qh={class:"resize-observer",tabindex:"-1"};ru();const Xh=Yh((e,t,n,o,r,s)=>(We(),bn("div",Qh)));Xo.render=Xh;Xo.__scopeId="data-v-b329ee4c";Xo.__file="src/components/ResizeObserver.vue";var Va={computed:{themeClass(){return jh(this.theme)}}},_s=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};const Jh=Ae({name:"VPopperContent",components:{ResizeObserver:Xo},mixins:[Va],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),Zh=["id","aria-hidden","tabindex","data-popper-placement"],em={ref:"inner",class:"v-popper__inner"},tm=Je("div",{class:"v-popper__arrow-outer"},null,-1),nm=Je("div",{class:"v-popper__arrow-inner"},null,-1),om=[tm,nm];function rm(e,t,n,o,r,s){const i=ln("ResizeObserver");return We(),an("div",{id:e.popperId,ref:"popover",class:At(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:xt(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=$f(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[Je("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),Je("div",{class:"v-popper__wrapper",style:xt(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[Je("div",em,[e.mounted?(We(),an(Re,{key:0},[Je("div",null,[qn(e.$slots,"default")]),e.handleResize?(We(),bn(i,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):qs("",!0)],64)):qs("",!0)],512),Je("div",{ref:"arrow",class:"v-popper__arrow-container",style:xt(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},om,4)],4)],46,Zh)}var ja=_s(Jh,[["render",rm]]),Ua={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};const sm=Ae({name:"VPopperWrapper",components:{Popper:Fa(),PopperContent:ja},mixins:[Ua,Va],inheritAttrs:!1,props:{theme:{type:String,default:null}},computed:{finalTheme(){var e;return(e=this.theme)!=null?e:this.$options.vPopperTheme},popperAttrs(){const e=Ze({},this.$attrs);return delete e.class,delete e.style,e}},methods:{getTargetNodes(){return Array.from(this.$refs.reference.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function im(e,t,n,o,r,s){const i=ln("PopperContent"),l=ln("Popper");return We(),bn(l,ss({ref:"popper"},e.popperAttrs,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"reference-node":()=>e.$refs.reference,"popper-node":()=>e.$refs.popperContent.$el}),{default:sn(({popperId:a,isShown:c,shouldMountContent:u,skipTransition:h,autoHide:d,show:_,hide:p,handleResize:y,onResize:m,classes:v,result:w})=>[Je("div",{ref:"reference",class:At(["v-popper",[e.$attrs.class,e.themeClass,{"v-popper--shown":c}]]),style:xt(e.$attrs.style)},[qn(e.$slots,"default",{shown:c,show:_,hide:p}),ye(i,{ref:"popperContent","popper-id":a,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":h,"auto-hide":d,"handle-resize":y,classes:v,result:w,onHide:p,onResize:m},{default:sn(()=>[qn(e.$slots,"popper",{shown:c,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])],6)]),_:3},16,["theme","target-nodes","reference-node","popper-node"])}var ys=_s(sm,[["render",im]]);const Vi=Ae(to(Ze({},ys),{name:"VDropdown",vPopperTheme:"dropdown"})),ji=Ae(to(Ze({},ys),{name:"VMenu",vPopperTheme:"menu"})),Ui=Ae(to(Ze({},ys),{name:"VTooltip",vPopperTheme:"tooltip"})),lm=Ae({name:"VTooltipDirective",components:{Popper:Fa(),PopperContent:ja},mixins:[Ua],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>gn(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>gn(e.theme,"loadingContent")}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(o=>this.onResult(t,o)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),am=["innerHTML"],cm=["textContent"];function um(e,t,n,o,r,s){const i=ln("PopperContent"),l=ln("Popper");return We(),bn(l,ss({ref:"popper"},e.$attrs,{theme:e.theme,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:sn(({popperId:a,isShown:c,shouldMountContent:u,skipTransition:h,autoHide:d,hide:_,handleResize:p,onResize:y,classes:m,result:v})=>[ye(i,{ref:"popperContent",class:At({"v-popper--tooltip-loading":e.loading}),"popper-id":a,theme:e.theme,shown:c,mounted:u,"skip-transition":h,"auto-hide":d,"handle-resize":p,classes:m,result:v,onHide:_,onResize:y},{default:sn(()=>[e.html?(We(),an("div",{key:0,innerHTML:e.finalContent},null,8,am)):(We(),an("div",{key:1,textContent:Xi(e.finalContent)},null,8,cm))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","popper-node","onApplyShow","onApplyHide"])}var fm=_s(lm,[["render",um]]);const Wa="v-popper--has-tooltip";function dm(e,t){let n=e.placement;if(!n&&t)for(const o of za)t[o]&&(n=o);return n||(n=gn(e.theme||"tooltip","placement")),n}function qa(e,t,n){let o;const r=typeof t;return r==="string"?o={content:t}:t&&r==="object"?o=t:o={content:!1},o.placement=dm(o,n),o.targetNodes=()=>[e],o.referenceNode=()=>e,o}let fr,Gn,pm=0;function hm(){if(fr)return;Gn=Te([]),fr=Lf({name:"VTooltipDirectiveApp",setup(){return{directives:Gn}},render(){return this.directives.map(t=>_e(fm,to(Ze({},t.options),{shown:t.shown.value||t.options.shown,key:t.id})))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),fr.mount(e)}function mm(e,t,n){hm();const o=Te(qa(e,t,n)),r=Te(!1),s={id:pm++,options:o,shown:r};return Gn.value.push(s),e.classList&&e.classList.add(Wa),e.$_popper={options:o,item:s,show(){r.value=!0},hide(){r.value=!1}}}function Ka(e){if(e.$_popper){const t=Gn.value.indexOf(e.$_popper.item);t!==-1&&Gn.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Wa)}function Wi(e,{value:t,oldValue:n,modifiers:o}){const r=qa(e,t,o);if(!r.content||gn(r.theme||"tooltip","disabled"))Ka(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=r):s=mm(e,t,o),typeof t.shown!="undefined"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}var gm={beforeMount:Wi,updated:Wi,beforeUnmount(e){Ka(e)}};function qi(e){e.addEventListener("click",Ga),e.addEventListener("touchstart",Ya,vn?{passive:!0}:!1)}function Ki(e){e.removeEventListener("click",Ga),e.removeEventListener("touchstart",Ya),e.removeEventListener("touchend",Qa),e.removeEventListener("touchcancel",Xa)}function Ga(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Ya(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",Qa),t.addEventListener("touchcancel",Xa)}}function Qa(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],o=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-o.screenY)<20&&Math.abs(n.screenX-o.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Xa(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}var vm={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t=="undefined"||t)&&qi(e)},updated(e,{value:t,oldValue:n,modifiers:o}){e.$_closePopoverModifiers=o,t!==n&&(typeof t=="undefined"||t?qi(e):Ki(e))},beforeUnmount(e){Ki(e)}};function _m(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Da(Ut,t),e.directive("tooltip",gm),e.directive("close-popper",vm),e.component("v-tooltip",Ui),e.component("VTooltip",Ui),e.component("v-dropdown",Vi),e.component("VDropdown",Vi),e.component("v-menu",ji),e.component("VMenu",ji))}const ym={version:"2.0.0-beta.6",install:_m,options:Ut};var wm=({app:e,router:t,siteData:n})=>{e.use(ym)};const bm=[sp,vp,Ep,sh,ih,wm];function Ja(e,t,n){var o,r,s;t===void 0&&(t=50),n===void 0&&(n={});var i=(o=n.isImmediate)!=null&&o,l=(r=n.callback)!=null&&r,a=n.maxWait,c=Date.now(),u=[];function h(){if(a!==void 0){var _=Date.now()-c;if(_+t>=a)return a-_}return t}var d=function(){var _=[].slice.call(arguments),p=this;return new Promise(function(y,m){var v=i&&s===void 0;if(s!==void 0&&clearTimeout(s),s=setTimeout(function(){if(s=void 0,c=Date.now(),!i){var P=e.apply(p,_);l&&l(P),u.forEach(function(A){return(0,A.resolve)(P)}),u=[]}},h()),v){var w=e.apply(p,_);return l&&l(w),y(w)}u.push({resolve:y,reject:m})})};return d.cancel=function(_){s!==void 0&&clearTimeout(s),u.forEach(function(p){return(0,p.reject)(_)}),u=[]},d}const Gi=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,Em=()=>window.scrollTo({top:0,behavior:"smooth"});const xm=Ae({name:"BackToTop",setup(){const e=Te(0),t=we(()=>e.value>300),n=Ja(()=>{e.value=Gi()},100);ft(()=>{e.value=Gi(),window.addEventListener("scroll",()=>n())});const o=_e("div",{class:"back-to-top",onClick:Em});return()=>_e(ls,{name:"back-to-top"},()=>t.value?o:null)}}),Pm=[xm],Tm=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:o=5})=>{const r=us(),s=Jn(),l=Ja(()=>{var a,c,u,h;const d=Array.from(document.querySelectorAll(e)),p=Array.from(document.querySelectorAll(t)).filter(P=>d.some(A=>A.hash===P.hash)),y=Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop),m=window.innerHeight+y,v=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),w=Math.abs(v-m)<o;for(let P=0;P<p.length;P++){const A=p[P],M=p[P+1],H=P===0&&y===0,C=y>=((c=(a=A.parentElement)===null||a===void 0?void 0:a.offsetTop)!==null&&c!==void 0?c:0)-o,x=!M||y<((h=(u=M.parentElement)===null||u===void 0?void 0:u.offsetTop)!==null&&h!==void 0?h:0)-o;if(!(H||C&&x))continue;const z=decodeURIComponent(r.currentRoute.value.hash),q=decodeURIComponent(A.hash);if(z===q)return;if(w){for(let E=P+1;E<p.length;E++)if(z===decodeURIComponent(p[E].hash))return}Cm(r,{hash:q,force:!0});return}},n);ft(()=>{l(),window.addEventListener("scroll",l)}),es(()=>{window.removeEventListener("scroll",l)}),it(()=>s.value.path,l)},Cm=async(e,...t)=>{const{scrollBehavior:n}=e.options;e.options.scrollBehavior=void 0,await e.replace(...t).finally(()=>e.options.scrollBehavior=n)},Am="a.sidebar-item",Sm=".header-anchor",$m=300,Om=5;var Rm=hs(()=>{Tm({headerLinkSelector:Am,headerAnchorSelector:Sm,delay:$m,offset:Om})}),Lm=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},mo={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
8
+ * @license MIT */(function(e,t){(function(n,o){e.exports=o()})(Lm,function(){var n={};n.version="0.2.0";var o=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};n.configure=function(p){var y,m;for(y in p)m=p[y],m!==void 0&&p.hasOwnProperty(y)&&(o[y]=m);return this},n.status=null,n.set=function(p){var y=n.isStarted();p=r(p,o.minimum,1),n.status=p===1?null:p;var m=n.render(!y),v=m.querySelector(o.barSelector),w=o.speed,P=o.easing;return m.offsetWidth,l(function(A){o.positionUsing===""&&(o.positionUsing=n.getPositioningCSS()),a(v,i(p,w,P)),p===1?(a(m,{transition:"none",opacity:1}),m.offsetWidth,setTimeout(function(){a(m,{transition:"all "+w+"ms linear",opacity:0}),setTimeout(function(){n.remove(),A()},w)},w)):setTimeout(A,w)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var p=function(){setTimeout(function(){!n.status||(n.trickle(),p())},o.trickleSpeed)};return o.trickle&&p(),this},n.done=function(p){return!p&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(p){var y=n.status;return y?(typeof p!="number"&&(p=(1-y)*r(Math.random()*y,.1,.95)),y=r(y+p,0,.994),n.set(y)):n.start()},n.trickle=function(){return n.inc(Math.random()*o.trickleRate)},function(){var p=0,y=0;n.promise=function(m){return!m||m.state()==="resolved"?this:(y===0&&n.start(),p++,y++,m.always(function(){y--,y===0?(p=0,n.done()):n.set((p-y)/p)}),this)}}(),n.render=function(p){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var y=document.createElement("div");y.id="nprogress",y.innerHTML=o.template;var m=y.querySelector(o.barSelector),v=p?"-100":s(n.status||0),w=document.querySelector(o.parent),P;return a(m,{transition:"all 0 linear",transform:"translate3d("+v+"%,0,0)"}),o.showSpinner||(P=y.querySelector(o.spinnerSelector),P&&_(P)),w!=document.body&&u(w,"nprogress-custom-parent"),w.appendChild(y),y},n.remove=function(){h(document.documentElement,"nprogress-busy"),h(document.querySelector(o.parent),"nprogress-custom-parent");var p=document.getElementById("nprogress");p&&_(p)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var p=document.body.style,y="WebkitTransform"in p?"Webkit":"MozTransform"in p?"Moz":"msTransform"in p?"ms":"OTransform"in p?"O":"";return y+"Perspective"in p?"translate3d":y+"Transform"in p?"translate":"margin"};function r(p,y,m){return p<y?y:p>m?m:p}function s(p){return(-1+p)*100}function i(p,y,m){var v;return o.positionUsing==="translate3d"?v={transform:"translate3d("+s(p)+"%,0,0)"}:o.positionUsing==="translate"?v={transform:"translate("+s(p)+"%,0)"}:v={"margin-left":s(p)+"%"},v.transition="all "+y+"ms "+m,v}var l=function(){var p=[];function y(){var m=p.shift();m&&m(y)}return function(m){p.push(m),p.length==1&&y()}}(),a=function(){var p=["Webkit","O","Moz","ms"],y={};function m(A){return A.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(M,H){return H.toUpperCase()})}function v(A){var M=document.body.style;if(A in M)return A;for(var H=p.length,C=A.charAt(0).toUpperCase()+A.slice(1),x;H--;)if(x=p[H]+C,x in M)return x;return A}function w(A){return A=m(A),y[A]||(y[A]=v(A))}function P(A,M,H){M=w(M),A.style[M]=H}return function(A,M){var H=arguments,C,x;if(H.length==2)for(C in M)x=M[C],x!==void 0&&M.hasOwnProperty(C)&&P(A,C,x);else P(A,H[1],H[2])}}();function c(p,y){var m=typeof p=="string"?p:d(p);return m.indexOf(" "+y+" ")>=0}function u(p,y){var m=d(p),v=m+y;c(m,y)||(p.className=v.substring(1))}function h(p,y){var m=d(p),v;!c(p,y)||(v=m.replace(" "+y+" "," "),p.className=v.substring(1,v.length-1))}function d(p){return(" "+(p.className||"")+" ").replace(/\s+/gi," ")}function _(p){p&&p.parentNode&&p.parentNode.removeChild(p)}return n})})(mo);const Im=()=>{ft(()=>{const e=us(),t=new Set;t.add(e.currentRoute.value.path),mo.exports.configure({showSpinner:!1}),e.beforeEach(n=>{t.has(n.path)||mo.exports.start()}),e.afterEach(n=>{t.add(n.path),mo.exports.done()})})};var km=hs(()=>{Im()}),Nm=hs(()=>{Yp(),eh()});const Mm=[Rm,km,Nm],Dm=[["v-8daa1a0e","/",{title:""},["/index.html","/README.md"]],["v-510ed0d4","/changelog/",{title:"Change Log"},["/changelog/index.html","/changelog/README.md"]],["v-7c87f26e","/contribute/",{title:"Contribute"},["/contribute/index.html","/contribute/README.md"]],["v-0aca7ba6","/examples/",{title:"Examples"},["/examples/index.html","/examples/README.md"]],["v-84304104","/examples/example-cascade-temperature-control.html",{title:"Cascade temperature control"},["/examples/example-cascade-temperature-control","/examples/example-cascade-temperature-control.md"]],["v-1b3a0ab8","/examples/example-heat-capacitor.html",{title:"Simple heat capacitor strategy flow"},["/examples/example-heat-capacitor","/examples/example-heat-capacitor.md"]],["v-0607240a","/examples/example-next-schedule-entity.html",{title:"Output schedule to a sensor entity"},["/examples/example-next-schedule-entity","/examples/example-next-schedule-entity.md"]],["v-61f728ca","/examples/example-nordpool-current-state.html",{title:"Nord Pool and current state node"},["/examples/example-nordpool-current-state","/examples/example-nordpool-current-state.md"]],["v-30acb564","/examples/example-nordpool-events-state.html",{title:"Nord Pool and events: state node"},["/examples/example-nordpool-events-state","/examples/example-nordpool-events-state.md"]],["v-5db8da3a","/examples/example-tibber-mqtt.html",{title:"Tibber, a switch and MQTT"},["/examples/example-tibber-mqtt","/examples/example-tibber-mqtt.md"]],["v-7446a652","/faq/",{title:"FAQ"},["/faq/index.html","/faq/README.md"]],["v-29504124","/faq/best-save-viewer.html",{title:"Best Save Viewer"},["/faq/best-save-viewer","/faq/best-save-viewer.md"]],["v-fffb8e28","/guide/",{title:"Guide"},["/guide/index.html","/guide/README.md"]],["v-e8c55052","/nodes/",{title:"Nodes"},["/nodes/index.html","/nodes/README.md"]],["v-b4a42144","/nodes/old-power-saver-doc.html",{title:"node-red-contrib-power-saver v2 (deprecated)"},["/nodes/old-power-saver-doc","/nodes/old-power-saver-doc.md"]],["v-1ad821fa","/nodes/power-saver.html",{title:"power-saver"},["/nodes/power-saver","/nodes/power-saver.md"]],["v-08683c60","/nodes/ps-elvia-add-tariff.html",{title:"ps-elvia-add-tariff"},["/nodes/ps-elvia-add-tariff","/nodes/ps-elvia-add-tariff.md"]],["v-1e2b191e","/nodes/ps-general-add-tariff.html",{title:"ps-general-add-tariff"},["/nodes/ps-general-add-tariff","/nodes/ps-general-add-tariff.md"]],["v-677dfaed","/nodes/ps-receive-price.html",{title:"ps-receive-price"},["/nodes/ps-receive-price","/nodes/ps-receive-price.md"]],["v-0b5e3c8c","/nodes/ps-strategy-best-save.html",{title:"ps-strategy-best-save"},["/nodes/ps-strategy-best-save","/nodes/ps-strategy-best-save.md"]],["v-4c28314d","/nodes/ps-strategy-heat-capacitor.html",{title:"ps-strategy-heat-capacitor Experimental"},["/nodes/ps-strategy-heat-capacitor","/nodes/ps-strategy-heat-capacitor.md"]],["v-4637f9e4","/nodes/ps-strategy-lowest-price.html",{title:"ps-strategy-lowest-price"},["/nodes/ps-strategy-lowest-price","/nodes/ps-strategy-lowest-price.md"]],["v-5954bcb2","/nodes/strategy-input.html",{title:"Strategy input format"},["/nodes/strategy-input","/nodes/strategy-input.md"]],["v-3706649a","/404.html",{title:""},["/404"]]],Hm=Dm.reduce((e,[t,n,o,r])=>(e.push({name:t,path:n,component:Pi,meta:o},...r.map(s=>({path:s,redirect:n}))),e),[{name:"404",path:"/:catchAll(.*)",component:Pi}]),zm=Jf,Fm=()=>{const e=Nd({history:zm(Zd(Et.value.base)),routes:Hm,scrollBehavior:(t,n,o)=>o||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{var o;(t.path!==n.path||n===ot)&&([st.value]=await Promise.all([It.resolvePageData(t.name),(o=ha[t.name])===null||o===void 0?void 0:o.__asyncLoader()]))}),e},Bm=e=>{e.component("ClientOnly",Dd),e.component("Content",ps)},Vm=(e,t)=>{const n=we(()=>It.resolveRouteLocale(Et.value.locales,t.currentRoute.value.path)),o=we(()=>It.resolveSiteLocaleData(Et.value,n.value)),r=we(()=>It.resolvePageFrontmatter(st.value)),s=we(()=>It.resolvePageHeadTitle(st.value,o.value)),i=we(()=>It.resolvePageHead(s.value,r.value,o.value)),l=we(()=>It.resolvePageLang(st.value));return e.provide(ds,n),e.provide(wa,o),e.provide(va,r),e.provide(jd,s),e.provide(_a,i),e.provide(ya,l),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>r.value},$head:{get:()=>i.value},$headTitle:{get:()=>s.value},$lang:{get:()=>l.value},$page:{get:()=>st.value},$routeLocale:{get:()=>n.value},$site:{get:()=>Et.value},$siteLocale:{get:()=>o.value},$withBase:{get:()=>tp}}),{pageData:st,pageFrontmatter:r,pageHead:i,pageHeadTitle:s,pageLang:l,routeLocale:n,siteData:Et,siteLocaleData:o}},jm=()=>{const e=fs(),t=Vd(),n=Ud(),o=Te([]),r=()=>{t.value.forEach(i=>{const l=Um(i);l&&o.value.push(l)})},s=()=>{document.documentElement.lang=n.value,o.value.forEach(i=>{i.parentNode===document.head&&document.head.removeChild(i)}),o.value.splice(0,o.value.length),t.value.forEach(i=>{const l=Wm(i);l!==null&&(document.head.appendChild(l),o.value.push(l))})};Bt(Gd,s),ft(()=>{r(),s(),it(()=>e.path,()=>s())})},Um=([e,t,n=""])=>{const o=Object.entries(t).map(([l,a])=>he(a)?`[${l}="${a}"]`:a===!0?`[${l}]`:"").join(""),r=`head > ${e}${o}`;return Array.from(document.querySelectorAll(r)).find(l=>l.innerText===n)||null},Wm=([e,t,n])=>{if(!he(e))return null;const o=document.createElement(e);return ba(t)&&Object.entries(t).forEach(([r,s])=>{he(s)?o.setAttribute(r,s):s===!0&&o.setAttribute(r,"")}),he(n)&&o.appendChild(document.createTextNode(n)),o},qm=If,Km=async()=>{const e=qm({name:"VuepressApp",setup(){jm();for(const n of Mm)n();return()=>[_e(pa),...Pm.map(n=>_e(n))]}}),t=Fm();Bm(e),Vm(e,t);for(const n of bm)await n({app:e,router:t,siteData:Et});return e.use(t),{app:e,router:t}};Km().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{Jn as $,Oa as A,Bd as B,Q as C,fs as D,Ym as E,Re as F,bn as G,ss as H,qn as I,Jd as J,sg as K,ig as L,Kd as M,rg as N,lg as O,_e as P,tp as Q,Dd as R,og as S,ls as T,ep as U,Zd as V,us as W,he as X,Xp as Y,ft as Z,xt as _,wn as a,ag as a0,ba as a1,$f as a2,ts as a3,Zp as a4,Xm as b,we as c,Km as createVueApp,an as d,Qm as e,Je as f,Zm as g,tg as h,ng as i,qs as j,ru as k,os as l,ln as m,At as n,We as o,ou as p,ye as q,Te as r,sn as s,Xi as t,Ft as u,eg as v,it as w,Jm as x,Ae as y,Wd as z};
@@ -0,0 +1 @@
1
+ import{m as e,o as s,d as n,q as a,F as h,x as t}from"./app.b3d8926b.js";import{_ as i}from"./plugin-vue_export-helper.21dcd24c.js";var d="/assets/copy-payload-best-save.8b51cdf4.png";const c={},u=t('<h1 id="best-save-viewer" tabindex="-1"><a class="header-anchor" href="#best-save-viewer" aria-hidden="true">#</a> Best Save Viewer</h1><h2 id="tool" tabindex="-1"><a class="header-anchor" href="#tool" aria-hidden="true">#</a> Tool</h2><p>Below is a tool you can use to look at how the Best Save node is working. In order to use it, you must copy the payload from output 3 on the node:</p><p><img src="'+d+'" alt="Copy payload"></p><p>Then paste it here and see the result below:</p>',5),l=t('<h2 id="explanation" tabindex="-1"><a class="header-anchor" href="#explanation" aria-hidden="true">#</a> Explanation</h2><h3 id="config" tabindex="-1"><a class="header-anchor" href="#config" aria-hidden="true">#</a> Config</h3><p>This is the configuration you have used.</p><h3 id="meta-data" tabindex="-1"><a class="header-anchor" href="#meta-data" aria-hidden="true">#</a> Meta data</h3><p>Other information about the calculation etc.</p><h3 id="days" tabindex="-1"><a class="header-anchor" href="#days" aria-hidden="true">#</a> Days</h3><p>Here you can see some summary and average for each date in the data set. Hover over the column title for explanation.</p><h3 id="hours" tabindex="-1"><a class="header-anchor" href="#hours" aria-hidden="true">#</a> Hours</h3><p>Here is your dta represented per hour, as well as potential savings calculated by the tool. Negative numbers are hidden, but you can select to show them.</p><h4 id="input-data" tabindex="-1"><a class="header-anchor" href="#input-data" aria-hidden="true">#</a> Input data</h4><p>This is the data per hour that you used as input.</p><h4 id="saving-if-turned-off-x-hours" tabindex="-1"><a class="header-anchor" href="#saving-if-turned-off-x-hours" aria-hidden="true">#</a> Saving if turned off x hours</h4><p>There are the same number of columns as you have configured as <code>Max in sequence</code>. The cells show how much you will save per hWh by turning that hour off for <code>x</code> hours, starting at that hour. It is the difference between the price at that hour and the price x hours later. Click on a cell to see the cells used in the calculation.</p><h4 id="saving-for-sequence-of-x-hours" tabindex="-1"><a class="header-anchor" href="#saving-for-sequence-of-x-hours" aria-hidden="true">#</a> Saving for sequence of x hours</h4><p>These cells show how much you can save per kWh in average per hour by turning off a sequence of x hours starting at that hour. Click on a cell to see the cells used in the calculation.</p><p>Above the table you can select to see the average per hour or the su for all saved hours.</p><p>If the average per hour is less than what you have configured as <code>Minimum saving</code>, the number is red, and that sequence will not be used.</p><p>If the number is black, it could be used, but only if all other criteria are satisfied, and only if it saves more than any other combination.</p><h2 id="something-seems-wrong" tabindex="-1"><a class="header-anchor" href="#something-seems-wrong" aria-hidden="true">#</a> Something seems wrong</h2><p>The tool is not using the same code as the node, so in case there is a bg in the node (or in the tool) the numbers may not match.</p><hr>',21);function p(f,m){const o=e("BestSaveVerificator"),r=e("DonateButtons");return s(),n(h,null,[u,a(o),l,a(r)],64)}var g=i(c,[["render",p]]);export{g as default};
@@ -0,0 +1 @@
1
+ const e={key:"v-29504124",path:"/faq/best-save-viewer.html",title:"Best Save Viewer",lang:"en-US",frontmatter:{sidebar:"auto"},excerpt:"",headers:[{level:2,title:"Tool",slug:"tool",children:[]},{level:2,title:"Explanation",slug:"explanation",children:[{level:3,title:"Config",slug:"config",children:[]},{level:3,title:"Meta data",slug:"meta-data",children:[]},{level:3,title:"Days",slug:"days",children:[]},{level:3,title:"Hours",slug:"hours",children:[]}]},{level:2,title:"Something seems wrong",slug:"something-seems-wrong",children:[]}],git:{updatedTime:1646564042e3},filePathRelative:"faq/best-save-viewer.md"};export{e as data};