@idmui/spot 0.7.8 → 0.7.9

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.
@@ -13873,7 +13873,7 @@ function(t) {
13873
13873
  */
13874
13874
  function(t) {
13875
13875
  function A() {
13876
- return (he.canvg ? Promise.resolve(he.canvg) : import("./index.es-6740c0a0.js")).catch(function(e) {
13876
+ return (he.canvg ? Promise.resolve(he.canvg) : import("./index.es-724eeb37.js")).catch(function(e) {
13877
13877
  return Promise.reject(new Error("Could not load canvg: " + e));
13878
13878
  }).then(function(e) {
13879
13879
  return e.default ? e.default : e;
@@ -19984,7 +19984,7 @@ function _C(t, A, e, r, n, i) {
19984
19984
  H("div", null, "UTC " + OA(n.positionOffset), 1)
19985
19985
  ]),
19986
19986
  H("div", sC, [
19987
- A[3] || (A[3] = H("label", { class: "label" }, "ForecastModel:", -1)),
19987
+ A[3] || (A[3] = H("label", { class: "label" }, "Forecast Model:", -1)),
19988
19988
  H("div", null, [
19989
19989
  H("span", aC, OA(n.forecastModel), 1)
19990
19990
  ])
@@ -19993,7 +19993,7 @@ function _C(t, A, e, r, n, i) {
19993
19993
  ]),
19994
19994
  H("div", oC, [
19995
19995
  (c = n.position) != null && c.name && !((u = n.loading) != null && u.meteogramEchart) ? (FA(), EA("div", lC, A[4] || (A[4] = [
19996
- bd('<div class="title flex-start" data-v-4031340c><div style="margin-right:20px;" data-v-4031340c>Meteogram</div></div><div id="weather-icons" data-v-4031340c></div><div id="weather-condition" data-v-4031340c></div><div id="wave-swell" data-v-4031340c></div>', 4)
19996
+ bd('<div class="title flex-start" data-v-c1649896><div style="margin-right:20px;" data-v-c1649896>Meteogram</div></div><div id="weather-icons" data-v-c1649896></div><div id="weather-condition" data-v-c1649896></div><div id="wave-swell" data-v-c1649896></div>', 4)
19997
19997
  ]))) : (d = n.loading) != null && d.meteogramEchart ? (FA(), EA("div", cC, A[5] || (A[5] = [
19998
19998
  H("img", {
19999
19999
  style: { height: "200px" },
@@ -20216,7 +20216,7 @@ function _C(t, A, e, r, n, i) {
20216
20216
  ])
20217
20217
  ]);
20218
20218
  }
20219
- const jC = /* @__PURE__ */ nh(Wv, [["render", _C], ["__scopeId", "data-v-4031340c"]]), ZC = {
20219
+ const jC = /* @__PURE__ */ nh(Wv, [["render", _C], ["__scopeId", "data-v-c1649896"]]), ZC = {
20220
20220
  install(t) {
20221
20221
  t.component("SpotReport", jC);
20222
20222
  }
@@ -1,4 +1,4 @@
1
- import { _ as za } from "./index-5842242e.js";
1
+ import { _ as za } from "./index-15c3bfbf.js";
2
2
  import "moment";
3
3
  import "moment-timezone";
4
4
  import "@element-plus/icons-vue";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as s, b as g, a as h, S as l } from "./index-5842242e.js";
1
+ import { c as s, b as g, a as h, S as l } from "./index-15c3bfbf.js";
2
2
  import "moment";
3
3
  import "moment-timezone";
4
4
  import "@element-plus/icons-vue";
@@ -409,7 +409,7 @@ end`};A.events.push(["putFont",function(i){(function(a){var s=a.font,o=a.out,c=a
409
409
  <g transform="rotate(${t}, 512, 512)">
410
410
  <path d="M512 0l409.6 1024-409.6-191.16032L102.4 1024z" p-id="12384" fill="#333"></path>
411
411
  </g>
412
- </svg>`;return btoa(unescape(encodeURIComponent(A)))},async convertSvgUrlToBase64(t){try{const e=await(await fetch(t)).text();return`data:image/svg+xml;base64,${btoa(unescape(encodeURIComponent(e)))}`}catch(A){return console.warn("SVG conversion error:",A),t}}}},y3={class:"spot-report"},C3={class:"content-box",id:"pdfContent"},b3={class:"header-info-box border"},E3={class:"flex-between row"},Q3={class:"flex-between",style:{width:"48%"}},x3={class:"flex-between",style:{width:"48%"}},I3={style:{"margin-left":"5px"}},F3={class:"flex-between row"},U3={class:"flex-between",style:{width:"48%"}},D3={class:"flex-between",style:{width:"48%"}},L3={style:{"margin-left":"5px"}},N3={class:"meteogram-echart-section"},S3={key:0,class:"card"},H3={key:1,class:"card flex-center"},T3={key:2,class:"card flex-center"},M3={class:"hourly-table-section"},O3={key:0,class:"card"},P3={class:"conditions-table"},k3={rowspan:"1",colspan:"1",class:"border"},R3={rowspan:"1",colspan:"1",class:"border"},_3={rowspan:"1",colspan:"1",class:"border"},K3={rowspan:"1",colspan:"1",class:"border"},G3={rowspan:"1",colspan:"1",class:"border",style:{"font-size":"11px","text-align":"right","padding-right":"3px"}},j3=["src"],V3={key:1},z3={rowspan:"1",colspan:"1",class:"border"},Y3={rowspan:"1",colspan:"1",class:"border"},X3={rowspan:"1",colspan:"1",class:"border"},q3={rowspan:"1",colspan:"1",class:"border",style:{"font-size":"11px","text-align":"right","padding-right":"3px"}},W3=["src"],J3={key:1},Z3={rowspan:"1",colspan:"1",class:"border"},$3={rowspan:"1",colspan:"1",class:"border"},AU={rowspan:"1",colspan:"1",class:"border",style:{"font-size":"11px","text-align":"right","padding-right":"3px"}},eU=["src"],tU={key:1},rU={rowspan:"1",colspan:"1",class:"border"},nU={rowspan:"1",colspan:"1",class:"border"},iU={rowspan:"1",colspan:"1",class:"border",style:{"font-size":"11px","text-align":"right","padding-right":"3px"}},aU=["src"],sU={key:1},oU={rowspan:"1",colspan:"1",class:"border"},lU={rowspan:"1",colspan:"1",class:"border"},cU={rowspan:"1",colspan:"1",class:"border"},hU={key:1,class:"card card-loading flex-center"},uU={key:2,class:"card flex-center"};function fU(t,A,e,r,n,i){var a,s,o,c,h,d,p,f;return g.openBlock(),g.createElementBlock("div",y3,[g.createElementVNode("div",C3,[g.createElementVNode("div",b3,[g.createElementVNode("div",E3,[g.createElementVNode("div",Q3,[A[0]||(A[0]=g.createElementVNode("label",{class:"label"},"Position:",-1)),g.createElementVNode("div",null,g.toDisplayString((a=n.position)!=null&&a.portId?(s=n.position)==null?void 0:s.name:i.computeLat(n.position.lat))+", "+g.toDisplayString(i.computeLng(n.position.lng)),1)]),g.createElementVNode("div",x3,[A[1]||(A[1]=g.createElementVNode("label",{class:"label"},"Issued:",-1)),g.createElementVNode("div",null,[g.createElementVNode("span",I3,g.toDisplayString(n.issuedDate),1)])])]),g.createElementVNode("div",F3,[g.createElementVNode("div",U3,[A[2]||(A[2]=g.createElementVNode("label",{class:"label"},"Timezone:",-1)),g.createElementVNode("div",null,"UTC "+g.toDisplayString(n.positionOffset),1)]),g.createElementVNode("div",D3,[A[3]||(A[3]=g.createElementVNode("label",{class:"label"},"ForecastModel:",-1)),g.createElementVNode("div",null,[g.createElementVNode("span",L3,g.toDisplayString(n.forecastModel),1)])])])]),g.createElementVNode("div",N3,[(o=n.position)!=null&&o.name&&!((c=n.loading)!=null&&c.meteogramEchart)?(g.openBlock(),g.createElementBlock("div",S3,A[4]||(A[4]=[g.createStaticVNode('<div class="title flex-start" data-v-4031340c><div style="margin-right:20px;" data-v-4031340c>Meteogram</div></div><div id="weather-icons" data-v-4031340c></div><div id="weather-condition" data-v-4031340c></div><div id="wave-swell" data-v-4031340c></div>',4)]))):(h=n.loading)!=null&&h.meteogramEchart?(g.openBlock(),g.createElementBlock("div",H3,A[5]||(A[5]=[g.createElementVNode("img",{style:{height:"200px"},src:Ew},null,-1)]))):(g.openBlock(),g.createElementBlock("div",T3,"No Data"))]),g.createElementVNode("div",M3,[(d=n.position)!=null&&d.name&&!((p=n.loading)!=null&&p.hourlyTable)?(g.openBlock(),g.createElementBlock("div",O3,[A[8]||(A[8]=g.createElementVNode("div",{class:"date"},"Hourly Forecast",-1)),g.createElementVNode("table",P3,[A[6]||(A[6]=g.createElementVNode("tr",{class:"day tr-title"},[g.createElementVNode("th",{rowspan:"2",colspan:"1",class:"border",style:{width:"70px"}},"DateTime"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Temp"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Precip.3h"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Visibility"),g.createElementVNode("th",{rowspan:"1",colspan:"4",class:"border"},"Wind"),g.createElementVNode("th",{rowspan:"1",colspan:"3",class:"border"},"Wind wave"),g.createElementVNode("th",{rowspan:"1",colspan:"3",class:"border"},"Sig.wave"),g.createElementVNode("th",{rowspan:"1",colspan:"2",class:"border"},"Current"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Sea Level"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Sea Surface")],-1)),A[7]||(A[7]=g.createElementVNode("tr",{class:"hour tr-title"},[g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"°C"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border",style:{width:"60px"}},"Acc (mm)"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Dist (nm)"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Dir"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Spd(kts)"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"BF"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Gusts(kts)"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Dir"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Hgt(m)"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Prd(s)"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Dir"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Hgt(m)"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Prd(s)"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Dir"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Spd(kts)"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Hgt(m)"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Temp(°C)")],-1)),(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(n.hourlyTableData,m=>(g.openBlock(),g.createElementBlock("tr",{key:Math.random()+m.localDate,class:"text border-bottom"},[g.createElementVNode("td",k3,[g.createElementVNode("div",null,g.toDisplayString(m.localDate),1)]),g.createElementVNode("td",R3,[g.createElementVNode("div",null,g.toDisplayString(m.temp),1)]),g.createElementVNode("td",_3,g.toDisplayString(m.precipSum),1),g.createElementVNode("td",K3,g.toDisplayString(m.visibility),1),g.createElementVNode("td",G3,[g.createTextVNode(g.toDisplayString(m.windDir)+" ",1),!isNaN(m.windBearing)&&m.windDir?(g.openBlock(),g.createElementBlock("img",{key:0,class:"iconfont icon",src:`data:image/svg+xml;base64,${i.getRotatedArrowBase64(m.windBearing)}`,style:{width:"11px",height:"11px",display:"inline-block"}},null,8,j3)):(g.openBlock(),g.createElementBlock("span",V3,"-"))]),g.createElementVNode("td",z3,g.toDisplayString(m.windSpeed),1),g.createElementVNode("td",Y3,g.toDisplayString(m.windBF),1),g.createElementVNode("td",X3,g.toDisplayString(m.windGusts),1),g.createElementVNode("td",q3,[g.createTextVNode(g.toDisplayString(m.windWaveDir)+" ",1),!isNaN(m.windWaveBearing)&&m.windWaveDir?(g.openBlock(),g.createElementBlock("img",{key:0,class:"iconfont icon",src:`data:image/svg+xml;base64,${i.getRotatedArrow2Base64(m.windWaveBearing)}`,style:{width:"11px",height:"11px",display:"inline-block"}},null,8,W3)):(g.openBlock(),g.createElementBlock("span",J3,"-"))]),g.createElementVNode("td",Z3,g.toDisplayString(m.windWaveHeight),1),g.createElementVNode("td",$3,g.toDisplayString(m.windWavePeriod),1),g.createElementVNode("td",AU,[g.createTextVNode(g.toDisplayString(m.sigWaveDir)+" ",1),!isNaN(m.sigWaveBearing)&&m.sigWaveDir?(g.openBlock(),g.createElementBlock("img",{key:0,class:"iconfont icon",src:`data:image/svg+xml;base64,${i.getRotatedArrow2Base64(m.sigWaveBearing)}`,style:{width:"11px",height:"11px",display:"inline-block"}},null,8,eU)):(g.openBlock(),g.createElementBlock("span",tU,"-"))]),g.createElementVNode("td",rU,g.toDisplayString(m.sigWaveHeight),1),g.createElementVNode("td",nU,g.toDisplayString(m.sigWavePeriod),1),g.createElementVNode("td",iU,[g.createTextVNode(g.toDisplayString(m.currentDir)+" ",1),!isNaN(m.currentBearing)&&m.currentDir?(g.openBlock(),g.createElementBlock("img",{key:0,class:"iconfont icon",src:`data:image/svg+xml;base64,${i.getRotatedArrow2Base64(m.currentBearing)}`,style:{width:"11px",height:"11px",display:"inline-block"}},null,8,aU)):(g.openBlock(),g.createElementBlock("span",sU,"-"))]),g.createElementVNode("td",oU,g.toDisplayString(m.currentSpd),1),g.createElementVNode("td",lU,g.toDisplayString(m.seaLevel),1),g.createElementVNode("td",cU,g.toDisplayString(m.seaSurfaceTemp),1)]))),128))])])):(f=n.loading)!=null&&f.hourlyTable?(g.openBlock(),g.createElementBlock("div",hU,A[9]||(A[9]=[g.createElementVNode("img",{style:{height:"200px"},src:Ew},null,-1)]))):(g.openBlock(),g.createElementBlock("div",uU,"No Data"))])])])}const Qw=Jh(v3,[["render",fU],["__scopeId","data-v-4031340c"]]),gU={install(t){t.component("SpotReport",Qw)}};/*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */const{entries:xw,setPrototypeOf:Iw,isFrozen:dU,getPrototypeOf:pU,getOwnPropertyDescriptor:wU}=Object;let{freeze:cr,seal:Kr,create:Fw}=Object,{apply:mf,construct:vf}=typeof Reflect<"u"&&Reflect;cr||(cr=function(A){return A}),Kr||(Kr=function(A){return A}),mf||(mf=function(A,e,r){return A.apply(e,r)}),vf||(vf=function(A,e){return new A(...e)});const cc=ur(Array.prototype.forEach),BU=ur(Array.prototype.lastIndexOf),Uw=ur(Array.prototype.pop),Ws=ur(Array.prototype.push),mU=ur(Array.prototype.splice),hc=ur(String.prototype.toLowerCase),yf=ur(String.prototype.toString),Dw=ur(String.prototype.match),Js=ur(String.prototype.replace),vU=ur(String.prototype.indexOf),yU=ur(String.prototype.trim),an=ur(Object.prototype.hasOwnProperty),hr=ur(RegExp.prototype.test),Zs=CU(TypeError);function ur(t){return function(A){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return mf(t,A,r)}}function CU(t){return function(){for(var A=arguments.length,e=new Array(A),r=0;r<A;r++)e[r]=arguments[r];return vf(t,e)}}function Ie(t,A){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:hc;Iw&&Iw(t,null);let r=A.length;for(;r--;){let n=A[r];if(typeof n=="string"){const i=e(n);i!==n&&(dU(A)||(A[r]=i),n=i)}t[n]=!0}return t}function bU(t){for(let A=0;A<t.length;A++)an(t,A)||(t[A]=null);return t}function ji(t){const A=Fw(null);for(const[e,r]of xw(t))an(t,e)&&(Array.isArray(r)?A[e]=bU(r):r&&typeof r=="object"&&r.constructor===Object?A[e]=ji(r):A[e]=r);return A}function $s(t,A){for(;t!==null;){const r=wU(t,A);if(r){if(r.get)return ur(r.get);if(typeof r.value=="function")return ur(r.value)}t=pU(t)}function e(){return null}return e}const Lw=cr(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Cf=cr(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),bf=cr(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),EU=cr(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ef=cr(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),QU=cr(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Nw=cr(["#text"]),Sw=cr(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Qf=cr(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Hw=cr(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),uc=cr(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),xU=Kr(/\{\{[\w\W]*|[\w\W]*\}\}/gm),IU=Kr(/<%[\w\W]*|[\w\W]*%>/gm),FU=Kr(/\$\{[\w\W]*/gm),UU=Kr(/^data-[\-\w.\u00B7-\uFFFF]+$/),DU=Kr(/^aria-[\-\w]+$/),Tw=Kr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),LU=Kr(/^(?:\w+script|data):/i),NU=Kr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Mw=Kr(/^html$/i),SU=Kr(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ow=Object.freeze({__proto__:null,ARIA_ATTR:DU,ATTR_WHITESPACE:NU,CUSTOM_ELEMENT:SU,DATA_ATTR:UU,DOCTYPE_NAME:Mw,ERB_EXPR:IU,IS_ALLOWED_URI:Tw,IS_SCRIPT_OR_DATA:LU,MUSTACHE_EXPR:xU,TMPLIT_EXPR:FU});const Ao={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},HU=function(){return typeof window>"u"?null:window},TU=function(A,e){if(typeof A!="object"||typeof A.createPolicy!="function")return null;let r=null;const n="data-tt-policy-suffix";e&&e.hasAttribute(n)&&(r=e.getAttribute(n));const i="dompurify"+(r?"#"+r:"");try{return A.createPolicy(i,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},Pw=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function kw(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:HU();const A=ie=>kw(ie);if(A.version="3.2.4",A.removed=[],!t||!t.document||t.document.nodeType!==Ao.document||!t.Element)return A.isSupported=!1,A;let{document:e}=t;const r=e,n=r.currentScript,{DocumentFragment:i,HTMLTemplateElement:a,Node:s,Element:o,NodeFilter:c,NamedNodeMap:h=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:d,DOMParser:p,trustedTypes:f}=t,m=o.prototype,v=$s(m,"cloneNode"),b=$s(m,"remove"),C=$s(m,"nextSibling"),E=$s(m,"childNodes"),N=$s(m,"parentNode");if(typeof a=="function"){const ie=e.createElement("template");ie.content&&ie.content.ownerDocument&&(e=ie.content.ownerDocument)}let k,z="";const{implementation:X,createNodeIterator:K,createDocumentFragment:P,getElementsByTagName:q}=e,{importNode:iA}=r;let U=Pw();A.isSupported=typeof xw=="function"&&typeof N=="function"&&X&&X.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Q,ERB_EXPR:_,TMPLIT_EXPR:R,DATA_ATTR:rA,ARIA_ATTR:eA,IS_SCRIPT_OR_DATA:J,ATTR_WHITESPACE:$,CUSTOM_ELEMENT:AA}=Ow;let{IS_ALLOWED_URI:nA}=Ow,gA=null;const x=Ie({},[...Lw,...Cf,...bf,...Ef,...Nw]);let T=null;const M=Ie({},[...Sw,...Qf,...Hw,...uc]);let S=Object.seal(Fw(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Z=null,tA=null,lA=!0,hA=!0,j=!1,bA=!0,LA=!1,NA=!0,kA=!1,BA=!1,V=!1,VA=!1,OA=!1,wA=!1,SA=!0,CA=!1;const DA="user-content-";let jA=!0,QA=!1,zA={},XA=null;const Y=Ie({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let IA=null;const yA=Ie({},["audio","video","img","source","image","track"]);let KA=null;const FA=Ie({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),uA="http://www.w3.org/1998/Math/MathML",EA="http://www.w3.org/2000/svg",JA="http://www.w3.org/1999/xhtml";let ne=JA,ue=!1,xe=null;const fe=Ie({},[uA,EA,JA],yf);let _e=Ie({},["mi","mo","mn","ms","mtext"]),ve=Ie({},["annotation-xml"]);const Ke=Ie({},["title","style","font","a","script"]);let Ee=null;const Ue=["application/xhtml+xml","text/html"],le="text/html";let ce=null,xt=null;const et=e.createElement("form"),St=function(cA){return cA instanceof RegExp||cA instanceof Function},It=function(){let cA=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(xt&&xt===cA)){if((!cA||typeof cA!="object")&&(cA={}),cA=ji(cA),Ee=Ue.indexOf(cA.PARSER_MEDIA_TYPE)===-1?le:cA.PARSER_MEDIA_TYPE,ce=Ee==="application/xhtml+xml"?yf:hc,gA=an(cA,"ALLOWED_TAGS")?Ie({},cA.ALLOWED_TAGS,ce):x,T=an(cA,"ALLOWED_ATTR")?Ie({},cA.ALLOWED_ATTR,ce):M,xe=an(cA,"ALLOWED_NAMESPACES")?Ie({},cA.ALLOWED_NAMESPACES,yf):fe,KA=an(cA,"ADD_URI_SAFE_ATTR")?Ie(ji(FA),cA.ADD_URI_SAFE_ATTR,ce):FA,IA=an(cA,"ADD_DATA_URI_TAGS")?Ie(ji(yA),cA.ADD_DATA_URI_TAGS,ce):yA,XA=an(cA,"FORBID_CONTENTS")?Ie({},cA.FORBID_CONTENTS,ce):Y,Z=an(cA,"FORBID_TAGS")?Ie({},cA.FORBID_TAGS,ce):{},tA=an(cA,"FORBID_ATTR")?Ie({},cA.FORBID_ATTR,ce):{},zA=an(cA,"USE_PROFILES")?cA.USE_PROFILES:!1,lA=cA.ALLOW_ARIA_ATTR!==!1,hA=cA.ALLOW_DATA_ATTR!==!1,j=cA.ALLOW_UNKNOWN_PROTOCOLS||!1,bA=cA.ALLOW_SELF_CLOSE_IN_ATTR!==!1,LA=cA.SAFE_FOR_TEMPLATES||!1,NA=cA.SAFE_FOR_XML!==!1,kA=cA.WHOLE_DOCUMENT||!1,VA=cA.RETURN_DOM||!1,OA=cA.RETURN_DOM_FRAGMENT||!1,wA=cA.RETURN_TRUSTED_TYPE||!1,V=cA.FORCE_BODY||!1,SA=cA.SANITIZE_DOM!==!1,CA=cA.SANITIZE_NAMED_PROPS||!1,jA=cA.KEEP_CONTENT!==!1,QA=cA.IN_PLACE||!1,nA=cA.ALLOWED_URI_REGEXP||Tw,ne=cA.NAMESPACE||JA,_e=cA.MATHML_TEXT_INTEGRATION_POINTS||_e,ve=cA.HTML_INTEGRATION_POINTS||ve,S=cA.CUSTOM_ELEMENT_HANDLING||{},cA.CUSTOM_ELEMENT_HANDLING&&St(cA.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(S.tagNameCheck=cA.CUSTOM_ELEMENT_HANDLING.tagNameCheck),cA.CUSTOM_ELEMENT_HANDLING&&St(cA.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(S.attributeNameCheck=cA.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),cA.CUSTOM_ELEMENT_HANDLING&&typeof cA.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(S.allowCustomizedBuiltInElements=cA.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),LA&&(hA=!1),OA&&(VA=!0),zA&&(gA=Ie({},Nw),T=[],zA.html===!0&&(Ie(gA,Lw),Ie(T,Sw)),zA.svg===!0&&(Ie(gA,Cf),Ie(T,Qf),Ie(T,uc)),zA.svgFilters===!0&&(Ie(gA,bf),Ie(T,Qf),Ie(T,uc)),zA.mathMl===!0&&(Ie(gA,Ef),Ie(T,Hw),Ie(T,uc))),cA.ADD_TAGS&&(gA===x&&(gA=ji(gA)),Ie(gA,cA.ADD_TAGS,ce)),cA.ADD_ATTR&&(T===M&&(T=ji(T)),Ie(T,cA.ADD_ATTR,ce)),cA.ADD_URI_SAFE_ATTR&&Ie(KA,cA.ADD_URI_SAFE_ATTR,ce),cA.FORBID_CONTENTS&&(XA===Y&&(XA=ji(XA)),Ie(XA,cA.FORBID_CONTENTS,ce)),jA&&(gA["#text"]=!0),kA&&Ie(gA,["html","head","body"]),gA.table&&(Ie(gA,["tbody"]),delete Z.tbody),cA.TRUSTED_TYPES_POLICY){if(typeof cA.TRUSTED_TYPES_POLICY.createHTML!="function")throw Zs('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof cA.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Zs('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');k=cA.TRUSTED_TYPES_POLICY,z=k.createHTML("")}else k===void 0&&(k=TU(f,n)),k!==null&&typeof z=="string"&&(z=k.createHTML(""));cr&&cr(cA),xt=cA}},ae=Ie({},[...Cf,...bf,...EU]),Ft=Ie({},[...Ef,...QU]),kt=function(cA){let GA=N(cA);(!GA||!GA.tagName)&&(GA={namespaceURI:ne,tagName:"template"});const ee=hc(cA.tagName),Te=hc(GA.tagName);return xe[cA.namespaceURI]?cA.namespaceURI===EA?GA.namespaceURI===JA?ee==="svg":GA.namespaceURI===uA?ee==="svg"&&(Te==="annotation-xml"||_e[Te]):!!ae[ee]:cA.namespaceURI===uA?GA.namespaceURI===JA?ee==="math":GA.namespaceURI===EA?ee==="math"&&ve[Te]:!!Ft[ee]:cA.namespaceURI===JA?GA.namespaceURI===EA&&!ve[Te]||GA.namespaceURI===uA&&!_e[Te]?!1:!Ft[ee]&&(Ke[ee]||!ae[ee]):!!(Ee==="application/xhtml+xml"&&xe[cA.namespaceURI]):!1},He=function(cA){Ws(A.removed,{element:cA});try{N(cA).removeChild(cA)}catch{b(cA)}},ke=function(cA,GA){try{Ws(A.removed,{attribute:GA.getAttributeNode(cA),from:GA})}catch{Ws(A.removed,{attribute:null,from:GA})}if(GA.removeAttribute(cA),cA==="is")if(VA||OA)try{He(GA)}catch{}else try{GA.setAttribute(cA,"")}catch{}},Ge=function(cA){let GA=null,ee=null;if(V)cA="<remove></remove>"+cA;else{const mt=Dw(cA,/^[\r\n\t ]+/);ee=mt&&mt[0]}Ee==="application/xhtml+xml"&&ne===JA&&(cA='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+cA+"</body></html>");const Te=k?k.createHTML(cA):cA;if(ne===JA)try{GA=new p().parseFromString(Te,Ee)}catch{}if(!GA||!GA.documentElement){GA=X.createDocument(ne,"template",null);try{GA.documentElement.innerHTML=ue?z:Te}catch{}}const Bt=GA.body||GA.documentElement;return cA&&ee&&Bt.insertBefore(e.createTextNode(ee),Bt.childNodes[0]||null),ne===JA?q.call(GA,kA?"html":"body")[0]:kA?GA.documentElement:Bt},st=function(cA){return K.call(cA.ownerDocument||cA,cA,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},ar=function(cA){return cA instanceof d&&(typeof cA.nodeName!="string"||typeof cA.textContent!="string"||typeof cA.removeChild!="function"||!(cA.attributes instanceof h)||typeof cA.removeAttribute!="function"||typeof cA.setAttribute!="function"||typeof cA.namespaceURI!="string"||typeof cA.insertBefore!="function"||typeof cA.hasChildNodes!="function")},Rt=function(cA){return typeof s=="function"&&cA instanceof s};function se(ie,cA,GA){cc(ie,ee=>{ee.call(A,cA,GA,xt)})}const Cr=function(cA){let GA=null;if(se(U.beforeSanitizeElements,cA,null),ar(cA))return He(cA),!0;const ee=ce(cA.nodeName);if(se(U.uponSanitizeElement,cA,{tagName:ee,allowedTags:gA}),cA.hasChildNodes()&&!Rt(cA.firstElementChild)&&hr(/<[/\w]/g,cA.innerHTML)&&hr(/<[/\w]/g,cA.textContent)||cA.nodeType===Ao.progressingInstruction||NA&&cA.nodeType===Ao.comment&&hr(/<[/\w]/g,cA.data))return He(cA),!0;if(!gA[ee]||Z[ee]){if(!Z[ee]&&Sr(ee)&&(S.tagNameCheck instanceof RegExp&&hr(S.tagNameCheck,ee)||S.tagNameCheck instanceof Function&&S.tagNameCheck(ee)))return!1;if(jA&&!XA[ee]){const Te=N(cA)||cA.parentNode,Bt=E(cA)||cA.childNodes;if(Bt&&Te){const mt=Bt.length;for(let _t=mt-1;_t>=0;--_t){const Xt=v(Bt[_t],!0);Xt.__removalCount=(cA.__removalCount||0)+1,Te.insertBefore(Xt,C(cA))}}}return He(cA),!0}return cA instanceof o&&!kt(cA)||(ee==="noscript"||ee==="noembed"||ee==="noframes")&&hr(/<\/no(script|embed|frames)/i,cA.innerHTML)?(He(cA),!0):(LA&&cA.nodeType===Ao.text&&(GA=cA.textContent,cc([Q,_,R],Te=>{GA=Js(GA,Te," ")}),cA.textContent!==GA&&(Ws(A.removed,{element:cA.cloneNode()}),cA.textContent=GA)),se(U.afterSanitizeElements,cA,null),!1)},br=function(cA,GA,ee){if(SA&&(GA==="id"||GA==="name")&&(ee in e||ee in et))return!1;if(!(hA&&!tA[GA]&&hr(rA,GA))){if(!(lA&&hr(eA,GA))){if(!T[GA]||tA[GA]){if(!(Sr(cA)&&(S.tagNameCheck instanceof RegExp&&hr(S.tagNameCheck,cA)||S.tagNameCheck instanceof Function&&S.tagNameCheck(cA))&&(S.attributeNameCheck instanceof RegExp&&hr(S.attributeNameCheck,GA)||S.attributeNameCheck instanceof Function&&S.attributeNameCheck(GA))||GA==="is"&&S.allowCustomizedBuiltInElements&&(S.tagNameCheck instanceof RegExp&&hr(S.tagNameCheck,ee)||S.tagNameCheck instanceof Function&&S.tagNameCheck(ee))))return!1}else if(!KA[GA]){if(!hr(nA,Js(ee,$,""))){if(!((GA==="src"||GA==="xlink:href"||GA==="href")&&cA!=="script"&&vU(ee,"data:")===0&&IA[cA])){if(!(j&&!hr(J,Js(ee,$,"")))){if(ee)return!1}}}}}}return!0},Sr=function(cA){return cA!=="annotation-xml"&&Dw(cA,AA)},dr=function(cA){se(U.beforeSanitizeAttributes,cA,null);const{attributes:GA}=cA;if(!GA||ar(cA))return;const ee={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:T,forceKeepAttr:void 0};let Te=GA.length;for(;Te--;){const Bt=GA[Te],{name:mt,namespaceURI:_t,value:Xt}=Bt,Fn=ce(mt);let Ht=mt==="value"?Xt:yU(Xt);if(ee.attrName=Fn,ee.attrValue=Ht,ee.keepAttr=!0,ee.forceKeepAttr=void 0,se(U.uponSanitizeAttribute,cA,ee),Ht=ee.attrValue,CA&&(Fn==="id"||Fn==="name")&&(ke(mt,cA),Ht=DA+Ht),NA&&hr(/((--!?|])>)|<\/(style|title)/i,Ht)){ke(mt,cA);continue}if(ee.forceKeepAttr||(ke(mt,cA),!ee.keepAttr))continue;if(!bA&&hr(/\/>/i,Ht)){ke(mt,cA);continue}LA&&cc([Q,_,R],es=>{Ht=Js(Ht,es," ")});const mi=ce(cA.nodeName);if(br(mi,Fn,Ht)){if(k&&typeof f=="object"&&typeof f.getAttributeType=="function"&&!_t)switch(f.getAttributeType(mi,Fn)){case"TrustedHTML":{Ht=k.createHTML(Ht);break}case"TrustedScriptURL":{Ht=k.createScriptURL(Ht);break}}try{_t?cA.setAttributeNS(_t,mt,Ht):cA.setAttribute(mt,Ht),ar(cA)?He(cA):Uw(A.removed)}catch{}}}se(U.afterSanitizeAttributes,cA,null)},jr=function ie(cA){let GA=null;const ee=st(cA);for(se(U.beforeSanitizeShadowDOM,cA,null);GA=ee.nextNode();)se(U.uponSanitizeShadowNode,GA,null),Cr(GA),dr(GA),GA.content instanceof i&&ie(GA.content);se(U.afterSanitizeShadowDOM,cA,null)};return A.sanitize=function(ie){let cA=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},GA=null,ee=null,Te=null,Bt=null;if(ue=!ie,ue&&(ie="<!-->"),typeof ie!="string"&&!Rt(ie))if(typeof ie.toString=="function"){if(ie=ie.toString(),typeof ie!="string")throw Zs("dirty is not a string, aborting")}else throw Zs("toString is not a function");if(!A.isSupported)return ie;if(BA||It(cA),A.removed=[],typeof ie=="string"&&(QA=!1),QA){if(ie.nodeName){const Xt=ce(ie.nodeName);if(!gA[Xt]||Z[Xt])throw Zs("root node is forbidden and cannot be sanitized in-place")}}else if(ie instanceof s)GA=Ge("<!---->"),ee=GA.ownerDocument.importNode(ie,!0),ee.nodeType===Ao.element&&ee.nodeName==="BODY"||ee.nodeName==="HTML"?GA=ee:GA.appendChild(ee);else{if(!VA&&!LA&&!kA&&ie.indexOf("<")===-1)return k&&wA?k.createHTML(ie):ie;if(GA=Ge(ie),!GA)return VA?null:wA?z:""}GA&&V&&He(GA.firstChild);const mt=st(QA?ie:GA);for(;Te=mt.nextNode();)Cr(Te),dr(Te),Te.content instanceof i&&jr(Te.content);if(QA)return ie;if(VA){if(OA)for(Bt=P.call(GA.ownerDocument);GA.firstChild;)Bt.appendChild(GA.firstChild);else Bt=GA;return(T.shadowroot||T.shadowrootmode)&&(Bt=iA.call(r,Bt,!0)),Bt}let _t=kA?GA.outerHTML:GA.innerHTML;return kA&&gA["!doctype"]&&GA.ownerDocument&&GA.ownerDocument.doctype&&GA.ownerDocument.doctype.name&&hr(Mw,GA.ownerDocument.doctype.name)&&(_t="<!DOCTYPE "+GA.ownerDocument.doctype.name+`>
412
+ </svg>`;return btoa(unescape(encodeURIComponent(A)))},async convertSvgUrlToBase64(t){try{const e=await(await fetch(t)).text();return`data:image/svg+xml;base64,${btoa(unescape(encodeURIComponent(e)))}`}catch(A){return console.warn("SVG conversion error:",A),t}}}},y3={class:"spot-report"},C3={class:"content-box",id:"pdfContent"},b3={class:"header-info-box border"},E3={class:"flex-between row"},Q3={class:"flex-between",style:{width:"48%"}},x3={class:"flex-between",style:{width:"48%"}},I3={style:{"margin-left":"5px"}},F3={class:"flex-between row"},U3={class:"flex-between",style:{width:"48%"}},D3={class:"flex-between",style:{width:"48%"}},L3={style:{"margin-left":"5px"}},N3={class:"meteogram-echart-section"},S3={key:0,class:"card"},H3={key:1,class:"card flex-center"},T3={key:2,class:"card flex-center"},M3={class:"hourly-table-section"},O3={key:0,class:"card"},P3={class:"conditions-table"},k3={rowspan:"1",colspan:"1",class:"border"},R3={rowspan:"1",colspan:"1",class:"border"},_3={rowspan:"1",colspan:"1",class:"border"},K3={rowspan:"1",colspan:"1",class:"border"},G3={rowspan:"1",colspan:"1",class:"border",style:{"font-size":"11px","text-align":"right","padding-right":"3px"}},j3=["src"],V3={key:1},z3={rowspan:"1",colspan:"1",class:"border"},Y3={rowspan:"1",colspan:"1",class:"border"},X3={rowspan:"1",colspan:"1",class:"border"},q3={rowspan:"1",colspan:"1",class:"border",style:{"font-size":"11px","text-align":"right","padding-right":"3px"}},W3=["src"],J3={key:1},Z3={rowspan:"1",colspan:"1",class:"border"},$3={rowspan:"1",colspan:"1",class:"border"},AU={rowspan:"1",colspan:"1",class:"border",style:{"font-size":"11px","text-align":"right","padding-right":"3px"}},eU=["src"],tU={key:1},rU={rowspan:"1",colspan:"1",class:"border"},nU={rowspan:"1",colspan:"1",class:"border"},iU={rowspan:"1",colspan:"1",class:"border",style:{"font-size":"11px","text-align":"right","padding-right":"3px"}},aU=["src"],sU={key:1},oU={rowspan:"1",colspan:"1",class:"border"},lU={rowspan:"1",colspan:"1",class:"border"},cU={rowspan:"1",colspan:"1",class:"border"},hU={key:1,class:"card card-loading flex-center"},uU={key:2,class:"card flex-center"};function fU(t,A,e,r,n,i){var a,s,o,c,h,d,p,f;return g.openBlock(),g.createElementBlock("div",y3,[g.createElementVNode("div",C3,[g.createElementVNode("div",b3,[g.createElementVNode("div",E3,[g.createElementVNode("div",Q3,[A[0]||(A[0]=g.createElementVNode("label",{class:"label"},"Position:",-1)),g.createElementVNode("div",null,g.toDisplayString((a=n.position)!=null&&a.portId?(s=n.position)==null?void 0:s.name:i.computeLat(n.position.lat))+", "+g.toDisplayString(i.computeLng(n.position.lng)),1)]),g.createElementVNode("div",x3,[A[1]||(A[1]=g.createElementVNode("label",{class:"label"},"Issued:",-1)),g.createElementVNode("div",null,[g.createElementVNode("span",I3,g.toDisplayString(n.issuedDate),1)])])]),g.createElementVNode("div",F3,[g.createElementVNode("div",U3,[A[2]||(A[2]=g.createElementVNode("label",{class:"label"},"Timezone:",-1)),g.createElementVNode("div",null,"UTC "+g.toDisplayString(n.positionOffset),1)]),g.createElementVNode("div",D3,[A[3]||(A[3]=g.createElementVNode("label",{class:"label"},"Forecast Model:",-1)),g.createElementVNode("div",null,[g.createElementVNode("span",L3,g.toDisplayString(n.forecastModel),1)])])])]),g.createElementVNode("div",N3,[(o=n.position)!=null&&o.name&&!((c=n.loading)!=null&&c.meteogramEchart)?(g.openBlock(),g.createElementBlock("div",S3,A[4]||(A[4]=[g.createStaticVNode('<div class="title flex-start" data-v-c1649896><div style="margin-right:20px;" data-v-c1649896>Meteogram</div></div><div id="weather-icons" data-v-c1649896></div><div id="weather-condition" data-v-c1649896></div><div id="wave-swell" data-v-c1649896></div>',4)]))):(h=n.loading)!=null&&h.meteogramEchart?(g.openBlock(),g.createElementBlock("div",H3,A[5]||(A[5]=[g.createElementVNode("img",{style:{height:"200px"},src:Ew},null,-1)]))):(g.openBlock(),g.createElementBlock("div",T3,"No Data"))]),g.createElementVNode("div",M3,[(d=n.position)!=null&&d.name&&!((p=n.loading)!=null&&p.hourlyTable)?(g.openBlock(),g.createElementBlock("div",O3,[A[8]||(A[8]=g.createElementVNode("div",{class:"date"},"Hourly Forecast",-1)),g.createElementVNode("table",P3,[A[6]||(A[6]=g.createElementVNode("tr",{class:"day tr-title"},[g.createElementVNode("th",{rowspan:"2",colspan:"1",class:"border",style:{width:"70px"}},"DateTime"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Temp"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Precip.3h"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Visibility"),g.createElementVNode("th",{rowspan:"1",colspan:"4",class:"border"},"Wind"),g.createElementVNode("th",{rowspan:"1",colspan:"3",class:"border"},"Wind wave"),g.createElementVNode("th",{rowspan:"1",colspan:"3",class:"border"},"Sig.wave"),g.createElementVNode("th",{rowspan:"1",colspan:"2",class:"border"},"Current"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Sea Level"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Sea Surface")],-1)),A[7]||(A[7]=g.createElementVNode("tr",{class:"hour tr-title"},[g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"°C"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border",style:{width:"60px"}},"Acc (mm)"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Dist (nm)"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Dir"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Spd(kts)"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"BF"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Gusts(kts)"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Dir"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Hgt(m)"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Prd(s)"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Dir"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Hgt(m)"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Prd(s)"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Dir"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Spd(kts)"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Hgt(m)"),g.createElementVNode("th",{rowspan:"1",colspan:"1",class:"border"},"Temp(°C)")],-1)),(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(n.hourlyTableData,m=>(g.openBlock(),g.createElementBlock("tr",{key:Math.random()+m.localDate,class:"text border-bottom"},[g.createElementVNode("td",k3,[g.createElementVNode("div",null,g.toDisplayString(m.localDate),1)]),g.createElementVNode("td",R3,[g.createElementVNode("div",null,g.toDisplayString(m.temp),1)]),g.createElementVNode("td",_3,g.toDisplayString(m.precipSum),1),g.createElementVNode("td",K3,g.toDisplayString(m.visibility),1),g.createElementVNode("td",G3,[g.createTextVNode(g.toDisplayString(m.windDir)+" ",1),!isNaN(m.windBearing)&&m.windDir?(g.openBlock(),g.createElementBlock("img",{key:0,class:"iconfont icon",src:`data:image/svg+xml;base64,${i.getRotatedArrowBase64(m.windBearing)}`,style:{width:"11px",height:"11px",display:"inline-block"}},null,8,j3)):(g.openBlock(),g.createElementBlock("span",V3,"-"))]),g.createElementVNode("td",z3,g.toDisplayString(m.windSpeed),1),g.createElementVNode("td",Y3,g.toDisplayString(m.windBF),1),g.createElementVNode("td",X3,g.toDisplayString(m.windGusts),1),g.createElementVNode("td",q3,[g.createTextVNode(g.toDisplayString(m.windWaveDir)+" ",1),!isNaN(m.windWaveBearing)&&m.windWaveDir?(g.openBlock(),g.createElementBlock("img",{key:0,class:"iconfont icon",src:`data:image/svg+xml;base64,${i.getRotatedArrow2Base64(m.windWaveBearing)}`,style:{width:"11px",height:"11px",display:"inline-block"}},null,8,W3)):(g.openBlock(),g.createElementBlock("span",J3,"-"))]),g.createElementVNode("td",Z3,g.toDisplayString(m.windWaveHeight),1),g.createElementVNode("td",$3,g.toDisplayString(m.windWavePeriod),1),g.createElementVNode("td",AU,[g.createTextVNode(g.toDisplayString(m.sigWaveDir)+" ",1),!isNaN(m.sigWaveBearing)&&m.sigWaveDir?(g.openBlock(),g.createElementBlock("img",{key:0,class:"iconfont icon",src:`data:image/svg+xml;base64,${i.getRotatedArrow2Base64(m.sigWaveBearing)}`,style:{width:"11px",height:"11px",display:"inline-block"}},null,8,eU)):(g.openBlock(),g.createElementBlock("span",tU,"-"))]),g.createElementVNode("td",rU,g.toDisplayString(m.sigWaveHeight),1),g.createElementVNode("td",nU,g.toDisplayString(m.sigWavePeriod),1),g.createElementVNode("td",iU,[g.createTextVNode(g.toDisplayString(m.currentDir)+" ",1),!isNaN(m.currentBearing)&&m.currentDir?(g.openBlock(),g.createElementBlock("img",{key:0,class:"iconfont icon",src:`data:image/svg+xml;base64,${i.getRotatedArrow2Base64(m.currentBearing)}`,style:{width:"11px",height:"11px",display:"inline-block"}},null,8,aU)):(g.openBlock(),g.createElementBlock("span",sU,"-"))]),g.createElementVNode("td",oU,g.toDisplayString(m.currentSpd),1),g.createElementVNode("td",lU,g.toDisplayString(m.seaLevel),1),g.createElementVNode("td",cU,g.toDisplayString(m.seaSurfaceTemp),1)]))),128))])])):(f=n.loading)!=null&&f.hourlyTable?(g.openBlock(),g.createElementBlock("div",hU,A[9]||(A[9]=[g.createElementVNode("img",{style:{height:"200px"},src:Ew},null,-1)]))):(g.openBlock(),g.createElementBlock("div",uU,"No Data"))])])])}const Qw=Jh(v3,[["render",fU],["__scopeId","data-v-c1649896"]]),gU={install(t){t.component("SpotReport",Qw)}};/*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */const{entries:xw,setPrototypeOf:Iw,isFrozen:dU,getPrototypeOf:pU,getOwnPropertyDescriptor:wU}=Object;let{freeze:cr,seal:Kr,create:Fw}=Object,{apply:mf,construct:vf}=typeof Reflect<"u"&&Reflect;cr||(cr=function(A){return A}),Kr||(Kr=function(A){return A}),mf||(mf=function(A,e,r){return A.apply(e,r)}),vf||(vf=function(A,e){return new A(...e)});const cc=ur(Array.prototype.forEach),BU=ur(Array.prototype.lastIndexOf),Uw=ur(Array.prototype.pop),Ws=ur(Array.prototype.push),mU=ur(Array.prototype.splice),hc=ur(String.prototype.toLowerCase),yf=ur(String.prototype.toString),Dw=ur(String.prototype.match),Js=ur(String.prototype.replace),vU=ur(String.prototype.indexOf),yU=ur(String.prototype.trim),an=ur(Object.prototype.hasOwnProperty),hr=ur(RegExp.prototype.test),Zs=CU(TypeError);function ur(t){return function(A){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return mf(t,A,r)}}function CU(t){return function(){for(var A=arguments.length,e=new Array(A),r=0;r<A;r++)e[r]=arguments[r];return vf(t,e)}}function Ie(t,A){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:hc;Iw&&Iw(t,null);let r=A.length;for(;r--;){let n=A[r];if(typeof n=="string"){const i=e(n);i!==n&&(dU(A)||(A[r]=i),n=i)}t[n]=!0}return t}function bU(t){for(let A=0;A<t.length;A++)an(t,A)||(t[A]=null);return t}function ji(t){const A=Fw(null);for(const[e,r]of xw(t))an(t,e)&&(Array.isArray(r)?A[e]=bU(r):r&&typeof r=="object"&&r.constructor===Object?A[e]=ji(r):A[e]=r);return A}function $s(t,A){for(;t!==null;){const r=wU(t,A);if(r){if(r.get)return ur(r.get);if(typeof r.value=="function")return ur(r.value)}t=pU(t)}function e(){return null}return e}const Lw=cr(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Cf=cr(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),bf=cr(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),EU=cr(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ef=cr(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),QU=cr(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Nw=cr(["#text"]),Sw=cr(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Qf=cr(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Hw=cr(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),uc=cr(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),xU=Kr(/\{\{[\w\W]*|[\w\W]*\}\}/gm),IU=Kr(/<%[\w\W]*|[\w\W]*%>/gm),FU=Kr(/\$\{[\w\W]*/gm),UU=Kr(/^data-[\-\w.\u00B7-\uFFFF]+$/),DU=Kr(/^aria-[\-\w]+$/),Tw=Kr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),LU=Kr(/^(?:\w+script|data):/i),NU=Kr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Mw=Kr(/^html$/i),SU=Kr(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ow=Object.freeze({__proto__:null,ARIA_ATTR:DU,ATTR_WHITESPACE:NU,CUSTOM_ELEMENT:SU,DATA_ATTR:UU,DOCTYPE_NAME:Mw,ERB_EXPR:IU,IS_ALLOWED_URI:Tw,IS_SCRIPT_OR_DATA:LU,MUSTACHE_EXPR:xU,TMPLIT_EXPR:FU});const Ao={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},HU=function(){return typeof window>"u"?null:window},TU=function(A,e){if(typeof A!="object"||typeof A.createPolicy!="function")return null;let r=null;const n="data-tt-policy-suffix";e&&e.hasAttribute(n)&&(r=e.getAttribute(n));const i="dompurify"+(r?"#"+r:"");try{return A.createPolicy(i,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},Pw=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function kw(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:HU();const A=ie=>kw(ie);if(A.version="3.2.4",A.removed=[],!t||!t.document||t.document.nodeType!==Ao.document||!t.Element)return A.isSupported=!1,A;let{document:e}=t;const r=e,n=r.currentScript,{DocumentFragment:i,HTMLTemplateElement:a,Node:s,Element:o,NodeFilter:c,NamedNodeMap:h=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:d,DOMParser:p,trustedTypes:f}=t,m=o.prototype,v=$s(m,"cloneNode"),b=$s(m,"remove"),C=$s(m,"nextSibling"),E=$s(m,"childNodes"),N=$s(m,"parentNode");if(typeof a=="function"){const ie=e.createElement("template");ie.content&&ie.content.ownerDocument&&(e=ie.content.ownerDocument)}let k,z="";const{implementation:X,createNodeIterator:K,createDocumentFragment:P,getElementsByTagName:q}=e,{importNode:iA}=r;let U=Pw();A.isSupported=typeof xw=="function"&&typeof N=="function"&&X&&X.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Q,ERB_EXPR:_,TMPLIT_EXPR:R,DATA_ATTR:rA,ARIA_ATTR:eA,IS_SCRIPT_OR_DATA:J,ATTR_WHITESPACE:$,CUSTOM_ELEMENT:AA}=Ow;let{IS_ALLOWED_URI:nA}=Ow,gA=null;const x=Ie({},[...Lw,...Cf,...bf,...Ef,...Nw]);let T=null;const M=Ie({},[...Sw,...Qf,...Hw,...uc]);let S=Object.seal(Fw(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Z=null,tA=null,lA=!0,hA=!0,j=!1,bA=!0,LA=!1,NA=!0,kA=!1,BA=!1,V=!1,VA=!1,OA=!1,wA=!1,SA=!0,CA=!1;const DA="user-content-";let jA=!0,QA=!1,zA={},XA=null;const Y=Ie({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let IA=null;const yA=Ie({},["audio","video","img","source","image","track"]);let KA=null;const FA=Ie({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),uA="http://www.w3.org/1998/Math/MathML",EA="http://www.w3.org/2000/svg",JA="http://www.w3.org/1999/xhtml";let ne=JA,ue=!1,xe=null;const fe=Ie({},[uA,EA,JA],yf);let _e=Ie({},["mi","mo","mn","ms","mtext"]),ve=Ie({},["annotation-xml"]);const Ke=Ie({},["title","style","font","a","script"]);let Ee=null;const Ue=["application/xhtml+xml","text/html"],le="text/html";let ce=null,xt=null;const et=e.createElement("form"),St=function(cA){return cA instanceof RegExp||cA instanceof Function},It=function(){let cA=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(xt&&xt===cA)){if((!cA||typeof cA!="object")&&(cA={}),cA=ji(cA),Ee=Ue.indexOf(cA.PARSER_MEDIA_TYPE)===-1?le:cA.PARSER_MEDIA_TYPE,ce=Ee==="application/xhtml+xml"?yf:hc,gA=an(cA,"ALLOWED_TAGS")?Ie({},cA.ALLOWED_TAGS,ce):x,T=an(cA,"ALLOWED_ATTR")?Ie({},cA.ALLOWED_ATTR,ce):M,xe=an(cA,"ALLOWED_NAMESPACES")?Ie({},cA.ALLOWED_NAMESPACES,yf):fe,KA=an(cA,"ADD_URI_SAFE_ATTR")?Ie(ji(FA),cA.ADD_URI_SAFE_ATTR,ce):FA,IA=an(cA,"ADD_DATA_URI_TAGS")?Ie(ji(yA),cA.ADD_DATA_URI_TAGS,ce):yA,XA=an(cA,"FORBID_CONTENTS")?Ie({},cA.FORBID_CONTENTS,ce):Y,Z=an(cA,"FORBID_TAGS")?Ie({},cA.FORBID_TAGS,ce):{},tA=an(cA,"FORBID_ATTR")?Ie({},cA.FORBID_ATTR,ce):{},zA=an(cA,"USE_PROFILES")?cA.USE_PROFILES:!1,lA=cA.ALLOW_ARIA_ATTR!==!1,hA=cA.ALLOW_DATA_ATTR!==!1,j=cA.ALLOW_UNKNOWN_PROTOCOLS||!1,bA=cA.ALLOW_SELF_CLOSE_IN_ATTR!==!1,LA=cA.SAFE_FOR_TEMPLATES||!1,NA=cA.SAFE_FOR_XML!==!1,kA=cA.WHOLE_DOCUMENT||!1,VA=cA.RETURN_DOM||!1,OA=cA.RETURN_DOM_FRAGMENT||!1,wA=cA.RETURN_TRUSTED_TYPE||!1,V=cA.FORCE_BODY||!1,SA=cA.SANITIZE_DOM!==!1,CA=cA.SANITIZE_NAMED_PROPS||!1,jA=cA.KEEP_CONTENT!==!1,QA=cA.IN_PLACE||!1,nA=cA.ALLOWED_URI_REGEXP||Tw,ne=cA.NAMESPACE||JA,_e=cA.MATHML_TEXT_INTEGRATION_POINTS||_e,ve=cA.HTML_INTEGRATION_POINTS||ve,S=cA.CUSTOM_ELEMENT_HANDLING||{},cA.CUSTOM_ELEMENT_HANDLING&&St(cA.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(S.tagNameCheck=cA.CUSTOM_ELEMENT_HANDLING.tagNameCheck),cA.CUSTOM_ELEMENT_HANDLING&&St(cA.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(S.attributeNameCheck=cA.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),cA.CUSTOM_ELEMENT_HANDLING&&typeof cA.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(S.allowCustomizedBuiltInElements=cA.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),LA&&(hA=!1),OA&&(VA=!0),zA&&(gA=Ie({},Nw),T=[],zA.html===!0&&(Ie(gA,Lw),Ie(T,Sw)),zA.svg===!0&&(Ie(gA,Cf),Ie(T,Qf),Ie(T,uc)),zA.svgFilters===!0&&(Ie(gA,bf),Ie(T,Qf),Ie(T,uc)),zA.mathMl===!0&&(Ie(gA,Ef),Ie(T,Hw),Ie(T,uc))),cA.ADD_TAGS&&(gA===x&&(gA=ji(gA)),Ie(gA,cA.ADD_TAGS,ce)),cA.ADD_ATTR&&(T===M&&(T=ji(T)),Ie(T,cA.ADD_ATTR,ce)),cA.ADD_URI_SAFE_ATTR&&Ie(KA,cA.ADD_URI_SAFE_ATTR,ce),cA.FORBID_CONTENTS&&(XA===Y&&(XA=ji(XA)),Ie(XA,cA.FORBID_CONTENTS,ce)),jA&&(gA["#text"]=!0),kA&&Ie(gA,["html","head","body"]),gA.table&&(Ie(gA,["tbody"]),delete Z.tbody),cA.TRUSTED_TYPES_POLICY){if(typeof cA.TRUSTED_TYPES_POLICY.createHTML!="function")throw Zs('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof cA.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Zs('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');k=cA.TRUSTED_TYPES_POLICY,z=k.createHTML("")}else k===void 0&&(k=TU(f,n)),k!==null&&typeof z=="string"&&(z=k.createHTML(""));cr&&cr(cA),xt=cA}},ae=Ie({},[...Cf,...bf,...EU]),Ft=Ie({},[...Ef,...QU]),kt=function(cA){let GA=N(cA);(!GA||!GA.tagName)&&(GA={namespaceURI:ne,tagName:"template"});const ee=hc(cA.tagName),Te=hc(GA.tagName);return xe[cA.namespaceURI]?cA.namespaceURI===EA?GA.namespaceURI===JA?ee==="svg":GA.namespaceURI===uA?ee==="svg"&&(Te==="annotation-xml"||_e[Te]):!!ae[ee]:cA.namespaceURI===uA?GA.namespaceURI===JA?ee==="math":GA.namespaceURI===EA?ee==="math"&&ve[Te]:!!Ft[ee]:cA.namespaceURI===JA?GA.namespaceURI===EA&&!ve[Te]||GA.namespaceURI===uA&&!_e[Te]?!1:!Ft[ee]&&(Ke[ee]||!ae[ee]):!!(Ee==="application/xhtml+xml"&&xe[cA.namespaceURI]):!1},He=function(cA){Ws(A.removed,{element:cA});try{N(cA).removeChild(cA)}catch{b(cA)}},ke=function(cA,GA){try{Ws(A.removed,{attribute:GA.getAttributeNode(cA),from:GA})}catch{Ws(A.removed,{attribute:null,from:GA})}if(GA.removeAttribute(cA),cA==="is")if(VA||OA)try{He(GA)}catch{}else try{GA.setAttribute(cA,"")}catch{}},Ge=function(cA){let GA=null,ee=null;if(V)cA="<remove></remove>"+cA;else{const mt=Dw(cA,/^[\r\n\t ]+/);ee=mt&&mt[0]}Ee==="application/xhtml+xml"&&ne===JA&&(cA='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+cA+"</body></html>");const Te=k?k.createHTML(cA):cA;if(ne===JA)try{GA=new p().parseFromString(Te,Ee)}catch{}if(!GA||!GA.documentElement){GA=X.createDocument(ne,"template",null);try{GA.documentElement.innerHTML=ue?z:Te}catch{}}const Bt=GA.body||GA.documentElement;return cA&&ee&&Bt.insertBefore(e.createTextNode(ee),Bt.childNodes[0]||null),ne===JA?q.call(GA,kA?"html":"body")[0]:kA?GA.documentElement:Bt},st=function(cA){return K.call(cA.ownerDocument||cA,cA,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},ar=function(cA){return cA instanceof d&&(typeof cA.nodeName!="string"||typeof cA.textContent!="string"||typeof cA.removeChild!="function"||!(cA.attributes instanceof h)||typeof cA.removeAttribute!="function"||typeof cA.setAttribute!="function"||typeof cA.namespaceURI!="string"||typeof cA.insertBefore!="function"||typeof cA.hasChildNodes!="function")},Rt=function(cA){return typeof s=="function"&&cA instanceof s};function se(ie,cA,GA){cc(ie,ee=>{ee.call(A,cA,GA,xt)})}const Cr=function(cA){let GA=null;if(se(U.beforeSanitizeElements,cA,null),ar(cA))return He(cA),!0;const ee=ce(cA.nodeName);if(se(U.uponSanitizeElement,cA,{tagName:ee,allowedTags:gA}),cA.hasChildNodes()&&!Rt(cA.firstElementChild)&&hr(/<[/\w]/g,cA.innerHTML)&&hr(/<[/\w]/g,cA.textContent)||cA.nodeType===Ao.progressingInstruction||NA&&cA.nodeType===Ao.comment&&hr(/<[/\w]/g,cA.data))return He(cA),!0;if(!gA[ee]||Z[ee]){if(!Z[ee]&&Sr(ee)&&(S.tagNameCheck instanceof RegExp&&hr(S.tagNameCheck,ee)||S.tagNameCheck instanceof Function&&S.tagNameCheck(ee)))return!1;if(jA&&!XA[ee]){const Te=N(cA)||cA.parentNode,Bt=E(cA)||cA.childNodes;if(Bt&&Te){const mt=Bt.length;for(let _t=mt-1;_t>=0;--_t){const Xt=v(Bt[_t],!0);Xt.__removalCount=(cA.__removalCount||0)+1,Te.insertBefore(Xt,C(cA))}}}return He(cA),!0}return cA instanceof o&&!kt(cA)||(ee==="noscript"||ee==="noembed"||ee==="noframes")&&hr(/<\/no(script|embed|frames)/i,cA.innerHTML)?(He(cA),!0):(LA&&cA.nodeType===Ao.text&&(GA=cA.textContent,cc([Q,_,R],Te=>{GA=Js(GA,Te," ")}),cA.textContent!==GA&&(Ws(A.removed,{element:cA.cloneNode()}),cA.textContent=GA)),se(U.afterSanitizeElements,cA,null),!1)},br=function(cA,GA,ee){if(SA&&(GA==="id"||GA==="name")&&(ee in e||ee in et))return!1;if(!(hA&&!tA[GA]&&hr(rA,GA))){if(!(lA&&hr(eA,GA))){if(!T[GA]||tA[GA]){if(!(Sr(cA)&&(S.tagNameCheck instanceof RegExp&&hr(S.tagNameCheck,cA)||S.tagNameCheck instanceof Function&&S.tagNameCheck(cA))&&(S.attributeNameCheck instanceof RegExp&&hr(S.attributeNameCheck,GA)||S.attributeNameCheck instanceof Function&&S.attributeNameCheck(GA))||GA==="is"&&S.allowCustomizedBuiltInElements&&(S.tagNameCheck instanceof RegExp&&hr(S.tagNameCheck,ee)||S.tagNameCheck instanceof Function&&S.tagNameCheck(ee))))return!1}else if(!KA[GA]){if(!hr(nA,Js(ee,$,""))){if(!((GA==="src"||GA==="xlink:href"||GA==="href")&&cA!=="script"&&vU(ee,"data:")===0&&IA[cA])){if(!(j&&!hr(J,Js(ee,$,"")))){if(ee)return!1}}}}}}return!0},Sr=function(cA){return cA!=="annotation-xml"&&Dw(cA,AA)},dr=function(cA){se(U.beforeSanitizeAttributes,cA,null);const{attributes:GA}=cA;if(!GA||ar(cA))return;const ee={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:T,forceKeepAttr:void 0};let Te=GA.length;for(;Te--;){const Bt=GA[Te],{name:mt,namespaceURI:_t,value:Xt}=Bt,Fn=ce(mt);let Ht=mt==="value"?Xt:yU(Xt);if(ee.attrName=Fn,ee.attrValue=Ht,ee.keepAttr=!0,ee.forceKeepAttr=void 0,se(U.uponSanitizeAttribute,cA,ee),Ht=ee.attrValue,CA&&(Fn==="id"||Fn==="name")&&(ke(mt,cA),Ht=DA+Ht),NA&&hr(/((--!?|])>)|<\/(style|title)/i,Ht)){ke(mt,cA);continue}if(ee.forceKeepAttr||(ke(mt,cA),!ee.keepAttr))continue;if(!bA&&hr(/\/>/i,Ht)){ke(mt,cA);continue}LA&&cc([Q,_,R],es=>{Ht=Js(Ht,es," ")});const mi=ce(cA.nodeName);if(br(mi,Fn,Ht)){if(k&&typeof f=="object"&&typeof f.getAttributeType=="function"&&!_t)switch(f.getAttributeType(mi,Fn)){case"TrustedHTML":{Ht=k.createHTML(Ht);break}case"TrustedScriptURL":{Ht=k.createScriptURL(Ht);break}}try{_t?cA.setAttributeNS(_t,mt,Ht):cA.setAttribute(mt,Ht),ar(cA)?He(cA):Uw(A.removed)}catch{}}}se(U.afterSanitizeAttributes,cA,null)},jr=function ie(cA){let GA=null;const ee=st(cA);for(se(U.beforeSanitizeShadowDOM,cA,null);GA=ee.nextNode();)se(U.uponSanitizeShadowNode,GA,null),Cr(GA),dr(GA),GA.content instanceof i&&ie(GA.content);se(U.afterSanitizeShadowDOM,cA,null)};return A.sanitize=function(ie){let cA=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},GA=null,ee=null,Te=null,Bt=null;if(ue=!ie,ue&&(ie="<!-->"),typeof ie!="string"&&!Rt(ie))if(typeof ie.toString=="function"){if(ie=ie.toString(),typeof ie!="string")throw Zs("dirty is not a string, aborting")}else throw Zs("toString is not a function");if(!A.isSupported)return ie;if(BA||It(cA),A.removed=[],typeof ie=="string"&&(QA=!1),QA){if(ie.nodeName){const Xt=ce(ie.nodeName);if(!gA[Xt]||Z[Xt])throw Zs("root node is forbidden and cannot be sanitized in-place")}}else if(ie instanceof s)GA=Ge("<!---->"),ee=GA.ownerDocument.importNode(ie,!0),ee.nodeType===Ao.element&&ee.nodeName==="BODY"||ee.nodeName==="HTML"?GA=ee:GA.appendChild(ee);else{if(!VA&&!LA&&!kA&&ie.indexOf("<")===-1)return k&&wA?k.createHTML(ie):ie;if(GA=Ge(ie),!GA)return VA?null:wA?z:""}GA&&V&&He(GA.firstChild);const mt=st(QA?ie:GA);for(;Te=mt.nextNode();)Cr(Te),dr(Te),Te.content instanceof i&&jr(Te.content);if(QA)return ie;if(VA){if(OA)for(Bt=P.call(GA.ownerDocument);GA.firstChild;)Bt.appendChild(GA.firstChild);else Bt=GA;return(T.shadowroot||T.shadowrootmode)&&(Bt=iA.call(r,Bt,!0)),Bt}let _t=kA?GA.outerHTML:GA.innerHTML;return kA&&gA["!doctype"]&&GA.ownerDocument&&GA.ownerDocument.doctype&&GA.ownerDocument.doctype.name&&hr(Mw,GA.ownerDocument.doctype.name)&&(_t="<!DOCTYPE "+GA.ownerDocument.doctype.name+`>
413
413
  `+_t),LA&&cc([Q,_,R],Xt=>{_t=Js(_t,Xt," ")}),k&&wA?k.createHTML(_t):_t},A.setConfig=function(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};It(ie),BA=!0},A.clearConfig=function(){xt=null,BA=!1},A.isValidAttribute=function(ie,cA,GA){xt||It({});const ee=ce(ie),Te=ce(cA);return br(ee,Te,GA)},A.addHook=function(ie,cA){typeof cA=="function"&&Ws(U[ie],cA)},A.removeHook=function(ie,cA){if(cA!==void 0){const GA=BU(U[ie],cA);return GA===-1?void 0:mU(U[ie],GA,1)[0]}return Uw(U[ie])},A.removeHooks=function(ie){U[ie]=[]},A.removeAllHooks=function(){U=Pw()},A}var MU=kw();const OU=Object.freeze(Object.defineProperty({__proto__:null,default:MU},Symbol.toStringTag,{value:"Module"}));var Oa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Rw(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var eo=function(t){return t&&t.Math===Math&&t},it=eo(typeof globalThis=="object"&&globalThis)||eo(typeof window=="object"&&window)||eo(typeof self=="object"&&self)||eo(typeof Oa=="object"&&Oa)||eo(typeof Oa=="object"&&Oa)||function(){return this}()||Function("return this")(),to={},dt=function(t){try{return!!t()}catch{return!0}},PU=dt,sn=!PU(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),kU=dt,fc=!kU(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),RU=fc,gc=Function.prototype.call,Yt=RU?gc.bind(gc):function(){return gc.apply(gc,arguments)},_w={},Kw={}.propertyIsEnumerable,Gw=Object.getOwnPropertyDescriptor,_U=Gw&&!Kw.call({1:2},1);_w.f=_U?function(A){var e=Gw(this,A);return!!e&&e.enumerable}:Kw;var xf=function(t,A){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:A}},jw=fc,Vw=Function.prototype,If=Vw.call,KU=jw&&Vw.bind.bind(If,If),pt=jw?KU:function(t){return function(){return If.apply(t,arguments)}},zw=pt,GU=zw({}.toString),jU=zw("".slice),Vi=function(t){return jU(GU(t),8,-1)},VU=pt,zU=dt,YU=Vi,Ff=Object,XU=VU("".split),Yw=zU(function(){return!Ff("z").propertyIsEnumerable(0)})?function(t){return YU(t)==="String"?XU(t,""):Ff(t)}:Ff,zi=function(t){return t==null},qU=zi,WU=TypeError,on=function(t){if(qU(t))throw new WU("Can't call method on "+t);return t},JU=Yw,ZU=on,ro=function(t){return JU(ZU(t))},Uf=typeof document=="object"&&document.all,wt=typeof Uf>"u"&&Uf!==void 0?function(t){return typeof t=="function"||t===Uf}:function(t){return typeof t=="function"},$U=wt,ln=function(t){return typeof t=="object"?t!==null:$U(t)},Df=it,AD=wt,eD=function(t){return AD(t)?t:void 0},Yi=function(t,A){return arguments.length<2?eD(Df[t]):Df[t]&&Df[t][A]},tD=pt,dc=tD({}.isPrototypeOf),rD=it,Xw=rD.navigator,qw=Xw&&Xw.userAgent,no=qw?String(qw):"",Ww=it,Lf=no,Jw=Ww.process,Zw=Ww.Deno,$w=Jw&&Jw.versions||Zw&&Zw.version,AB=$w&&$w.v8,cn,pc;AB&&(cn=AB.split("."),pc=cn[0]>0&&cn[0]<4?1:+(cn[0]+cn[1])),!pc&&Lf&&(cn=Lf.match(/Edge\/(\d+)/),(!cn||cn[1]>=74)&&(cn=Lf.match(/Chrome\/(\d+)/),cn&&(pc=+cn[1])));var Nf=pc,eB=Nf,nD=dt,iD=it,aD=iD.String,tB=!!Object.getOwnPropertySymbols&&!nD(function(){var t=Symbol("symbol detection");return!aD(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&eB&&eB<41}),sD=tB,rB=sD&&!Symbol.sham&&typeof Symbol.iterator=="symbol",oD=Yi,lD=wt,cD=dc,hD=rB,uD=Object,nB=hD?function(t){return typeof t=="symbol"}:function(t){var A=oD("Symbol");return lD(A)&&cD(A.prototype,uD(t))},fD=String,wc=function(t){try{return fD(t)}catch{return"Object"}},gD=wt,dD=wc,pD=TypeError,Pn=function(t){if(gD(t))return t;throw new pD(dD(t)+" is not a function")},wD=Pn,BD=zi,Pa=function(t,A){var e=t[A];return BD(e)?void 0:wD(e)},Sf=Yt,Hf=wt,Tf=ln,mD=TypeError,vD=function(t,A){var e,r;if(A==="string"&&Hf(e=t.toString)&&!Tf(r=Sf(e,t))||Hf(e=t.valueOf)&&!Tf(r=Sf(e,t))||A!=="string"&&Hf(e=t.toString)&&!Tf(r=Sf(e,t)))return r;throw new mD("Can't convert object to primitive value")},iB={exports:{}},aB=it,yD=Object.defineProperty,Mf=function(t,A){try{yD(aB,t,{value:A,configurable:!0,writable:!0})}catch{aB[t]=A}return A},CD=it,bD=Mf,sB="__core-js_shared__",oB=iB.exports=CD[sB]||bD(sB,{});(oB.versions||(oB.versions=[])).push({version:"3.41.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Of=iB.exports,lB=Of,Pf=function(t,A){return lB[t]||(lB[t]=A||{})},ED=on,QD=Object,Bc=function(t){return QD(ED(t))},xD=pt,ID=Bc,FD=xD({}.hasOwnProperty),hn=Object.hasOwn||function(A,e){return FD(ID(A),e)},UD=pt,DD=0,LD=Math.random(),ND=UD(1 .toString),cB=function(t){return"Symbol("+(t===void 0?"":t)+")_"+ND(++DD+LD,36)},SD=it,HD=Pf,hB=hn,TD=cB,MD=tB,OD=rB,ka=SD.Symbol,kf=HD("wks"),PD=OD?ka.for||ka:ka&&ka.withoutSetter||TD,Pt=function(t){return hB(kf,t)||(kf[t]=MD&&hB(ka,t)?ka[t]:PD("Symbol."+t)),kf[t]},kD=Yt,uB=ln,fB=nB,RD=Pa,_D=vD,KD=Pt,GD=TypeError,jD=KD("toPrimitive"),VD=function(t,A){if(!uB(t)||fB(t))return t;var e=RD(t,jD),r;if(e){if(A===void 0&&(A="default"),r=kD(e,t,A),!uB(r)||fB(r))return r;throw new GD("Can't convert object to primitive value")}return A===void 0&&(A="number"),_D(t,A)},zD=VD,YD=nB,gB=function(t){var A=zD(t,"string");return YD(A)?A:A+""},XD=it,dB=ln,Rf=XD.document,qD=dB(Rf)&&dB(Rf.createElement),mc=function(t){return qD?Rf.createElement(t):{}},WD=sn,JD=dt,ZD=mc,pB=!WD&&!JD(function(){return Object.defineProperty(ZD("div"),"a",{get:function(){return 7}}).a!==7}),$D=sn,AL=Yt,eL=_w,tL=xf,rL=ro,nL=gB,iL=hn,aL=pB,wB=Object.getOwnPropertyDescriptor;to.f=$D?wB:function(A,e){if(A=rL(A),e=nL(e),aL)try{return wB(A,e)}catch{}if(iL(A,e))return tL(!AL(eL.f,A,e),A[e])};var kn={},sL=sn,oL=dt,BB=sL&&oL(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),lL=ln,cL=String,hL=TypeError,fr=function(t){if(lL(t))return t;throw new hL(cL(t)+" is not an object")},uL=sn,fL=pB,gL=BB,vc=fr,mB=gB,dL=TypeError,_f=Object.defineProperty,pL=Object.getOwnPropertyDescriptor,Kf="enumerable",Gf="configurable",jf="writable";kn.f=uL?gL?function(A,e,r){if(vc(A),e=mB(e),vc(r),typeof A=="function"&&e==="prototype"&&"value"in r&&jf in r&&!r[jf]){var n=pL(A,e);n&&n[jf]&&(A[e]=r.value,r={configurable:Gf in r?r[Gf]:n[Gf],enumerable:Kf in r?r[Kf]:n[Kf],writable:!1})}return _f(A,e,r)}:_f:function(A,e,r){if(vc(A),e=mB(e),vc(r),fL)try{return _f(A,e,r)}catch{}if("get"in r||"set"in r)throw new dL("Accessors not supported");return"value"in r&&(A[e]=r.value),A};var wL=sn,BL=kn,mL=xf,io=wL?function(t,A,e){return BL.f(t,A,mL(1,e))}:function(t,A,e){return t[A]=e,t},vB={exports:{}},Vf=sn,vL=hn,yB=Function.prototype,yL=Vf&&Object.getOwnPropertyDescriptor,zf=vL(yB,"name"),CL=zf&&(function(){}).name==="something",bL=zf&&(!Vf||Vf&&yL(yB,"name").configurable),yc={EXISTS:zf,PROPER:CL,CONFIGURABLE:bL},EL=pt,QL=wt,Yf=Of,xL=EL(Function.toString);QL(Yf.inspectSource)||(Yf.inspectSource=function(t){return xL(t)});var Xf=Yf.inspectSource,IL=it,FL=wt,CB=IL.WeakMap,UL=FL(CB)&&/native code/.test(String(CB)),DL=Pf,LL=cB,bB=DL("keys"),qf=function(t){return bB[t]||(bB[t]=LL(t))},Wf={},NL=UL,EB=it,SL=ln,HL=io,Jf=hn,Zf=Of,TL=qf,ML=Wf,QB="Object already initialized",$f=EB.TypeError,OL=EB.WeakMap,Cc,ao,bc,PL=function(t){return bc(t)?ao(t):Cc(t,{})},kL=function(t){return function(A){var e;if(!SL(A)||(e=ao(A)).type!==t)throw new $f("Incompatible receiver, "+t+" required");return e}};if(NL||Zf.state){var xn=Zf.state||(Zf.state=new OL);xn.get=xn.get,xn.has=xn.has,xn.set=xn.set,Cc=function(t,A){if(xn.has(t))throw new $f(QB);return A.facade=t,xn.set(t,A),A},ao=function(t){return xn.get(t)||{}},bc=function(t){return xn.has(t)}}else{var Ra=TL("state");ML[Ra]=!0,Cc=function(t,A){if(Jf(t,Ra))throw new $f(QB);return A.facade=t,HL(t,Ra,A),A},ao=function(t){return Jf(t,Ra)?t[Ra]:{}},bc=function(t){return Jf(t,Ra)}}var Ec={set:Cc,get:ao,has:bc,enforce:PL,getterFor:kL},Ag=pt,RL=dt,_L=wt,Qc=hn,eg=sn,KL=yc.CONFIGURABLE,GL=Xf,xB=Ec,jL=xB.enforce,VL=xB.get,IB=String,xc=Object.defineProperty,zL=Ag("".slice),YL=Ag("".replace),XL=Ag([].join),qL=eg&&!RL(function(){return xc(function(){},"length",{value:8}).length!==8}),WL=String(String).split("String"),JL=vB.exports=function(t,A,e){zL(IB(A),0,7)==="Symbol("&&(A="["+YL(IB(A),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(A="get "+A),e&&e.setter&&(A="set "+A),(!Qc(t,"name")||KL&&t.name!==A)&&(eg?xc(t,"name",{value:A,configurable:!0}):t.name=A),qL&&e&&Qc(e,"arity")&&t.length!==e.arity&&xc(t,"length",{value:e.arity});try{e&&Qc(e,"constructor")&&e.constructor?eg&&xc(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch{}var r=jL(t);return Qc(r,"source")||(r.source=XL(WL,typeof A=="string"?A:"")),t};Function.prototype.toString=JL(function(){return _L(this)&&VL(this).source||GL(this)},"toString");var FB=vB.exports,ZL=wt,$L=kn,AN=FB,eN=Mf,Xi=function(t,A,e,r){r||(r={});var n=r.enumerable,i=r.name!==void 0?r.name:A;if(ZL(e)&&AN(e,i,r),r.global)n?t[A]=e:eN(A,e);else{try{r.unsafe?t[A]&&(n=!0):delete t[A]}catch{}n?t[A]=e:$L.f(t,A,{value:e,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},UB={},tN=Math.ceil,rN=Math.floor,nN=Math.trunc||function(A){var e=+A;return(e>0?rN:tN)(e)},iN=nN,Ic=function(t){var A=+t;return A!==A||A===0?0:iN(A)},aN=Ic,sN=Math.max,oN=Math.min,lN=function(t,A){var e=aN(t);return e<0?sN(e+A,0):oN(e,A)},cN=Ic,hN=Math.min,_a=function(t){var A=cN(t);return A>0?hN(A,9007199254740991):0},uN=_a,tg=function(t){return uN(t.length)},fN=ro,gN=lN,dN=tg,DB=function(t){return function(A,e,r){var n=fN(A),i=dN(n);if(i===0)return!t&&-1;var a=gN(r,i),s;if(t&&e!==e){for(;i>a;)if(s=n[a++],s!==s)return!0}else for(;i>a;a++)if((t||a in n)&&n[a]===e)return t||a||0;return!t&&-1}},LB={includes:DB(!0),indexOf:DB(!1)},pN=pt,rg=hn,wN=ro,BN=LB.indexOf,mN=Wf,NB=pN([].push),SB=function(t,A){var e=wN(t),r=0,n=[],i;for(i in e)!rg(mN,i)&&rg(e,i)&&NB(n,i);for(;A.length>r;)rg(e,i=A[r++])&&(~BN(n,i)||NB(n,i));return n},ng=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],vN=SB,yN=ng,CN=yN.concat("length","prototype");UB.f=Object.getOwnPropertyNames||function(A){return vN(A,CN)};var HB={};HB.f=Object.getOwnPropertySymbols;var bN=Yi,EN=pt,QN=UB,xN=HB,IN=fr,FN=EN([].concat),UN=bN("Reflect","ownKeys")||function(A){var e=QN.f(IN(A)),r=xN.f;return r?FN(e,r(A)):e},TB=hn,DN=UN,LN=to,NN=kn,SN=function(t,A,e){for(var r=DN(A),n=NN.f,i=LN.f,a=0;a<r.length;a++){var s=r[a];!TB(t,s)&&!(e&&TB(e,s))&&n(t,s,i(A,s))}},HN=dt,TN=wt,MN=/#|\.prototype\./,so=function(t,A){var e=PN[ON(t)];return e===RN?!0:e===kN?!1:TN(A)?HN(A):!!A},ON=so.normalize=function(t){return String(t).replace(MN,".").toLowerCase()},PN=so.data={},kN=so.NATIVE="N",RN=so.POLYFILL="P",MB=so,Fc=it,_N=to.f,KN=io,GN=Xi,jN=Mf,VN=SN,zN=MB,gr=function(t,A){var e=t.target,r=t.global,n=t.stat,i,a,s,o,c,h;if(r?a=Fc:n?a=Fc[e]||jN(e,{}):a=Fc[e]&&Fc[e].prototype,a)for(s in A){if(c=A[s],t.dontCallGetSet?(h=_N(a,s),o=h&&h.value):o=a[s],i=zN(r?s:e+(n?".":"#")+s,t.forced),!i&&o!==void 0){if(typeof c==typeof o)continue;VN(c,o)}(t.sham||o&&o.sham)&&KN(c,"sham",!0),GN(a,s,c,t)}},oo=it,YN=no,XN=Vi,Uc=function(t){return YN.slice(0,t.length)===t},OB=function(){return Uc("Bun/")?"BUN":Uc("Cloudflare-Workers")?"CLOUDFLARE":Uc("Deno/")?"DENO":Uc("Node.js/")?"NODE":oo.Bun&&typeof Bun.version=="string"?"BUN":oo.Deno&&typeof Deno.version=="object"?"DENO":XN(oo.process)==="process"?"NODE":oo.window&&oo.document?"BROWSER":"REST"}(),qN=OB,Dc=qN==="NODE",WN=pt,JN=Pn,ZN=function(t,A,e){try{return WN(JN(Object.getOwnPropertyDescriptor(t,A)[e]))}catch{}},$N=ln,A8=function(t){return $N(t)||t===null},e8=A8,t8=String,r8=TypeError,n8=function(t){if(e8(t))return t;throw new r8("Can't set "+t8(t)+" as a prototype")},i8=ZN,a8=ln,s8=on,o8=n8,PB=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,A={},e;try{e=i8(Object.prototype,"__proto__","set"),e(A,[]),t=A instanceof Array}catch{}return function(n,i){return s8(n),o8(i),a8(n)&&(t?e(n,i):n.__proto__=i),n}}():void 0),l8=kn.f,c8=hn,h8=Pt,kB=h8("toStringTag"),Lc=function(t,A,e){t&&!e&&(t=t.prototype),t&&!c8(t,kB)&&l8(t,kB,{configurable:!0,value:A})},RB=FB,u8=kn,f8=function(t,A,e){return e.get&&RB(e.get,A,{getter:!0}),e.set&&RB(e.set,A,{setter:!0}),u8.f(t,A,e)},g8=Yi,d8=f8,p8=Pt,w8=sn,_B=p8("species"),B8=function(t){var A=g8(t);w8&&A&&!A[_B]&&d8(A,_B,{configurable:!0,get:function(){return this}})},m8=dc,v8=TypeError,y8=function(t,A){if(m8(A,t))return t;throw new v8("Incorrect invocation")},C8=Pt,b8=C8("toStringTag"),KB={};KB[b8]="z";var E8=String(KB)==="[object z]",Q8=E8,x8=wt,Nc=Vi,I8=Pt,F8=I8("toStringTag"),U8=Object,D8=Nc(function(){return arguments}())==="Arguments",L8=function(t,A){try{return t[A]}catch{}},ig=Q8?Nc:function(t){var A,e,r;return t===void 0?"Undefined":t===null?"Null":typeof(e=L8(A=U8(t),F8))=="string"?e:D8?Nc(A):(r=Nc(A))==="Object"&&x8(A.callee)?"Arguments":r},N8=pt,S8=dt,GB=wt,H8=ig,T8=Yi,M8=Xf,jB=function(){},VB=T8("Reflect","construct"),ag=/^\s*(?:class|function)\b/,O8=N8(ag.exec),P8=!ag.test(jB),lo=function(A){if(!GB(A))return!1;try{return VB(jB,[],A),!0}catch{return!1}},zB=function(A){if(!GB(A))return!1;switch(H8(A)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return P8||!!O8(ag,M8(A))}catch{return!0}};zB.sham=!0;var k8=!VB||S8(function(){var t;return lo(lo.call)||!lo(Object)||!lo(function(){t=!0})||t})?zB:lo,R8=k8,_8=wc,K8=TypeError,G8=function(t){if(R8(t))return t;throw new K8(_8(t)+" is not a constructor")},YB=fr,j8=G8,V8=zi,z8=Pt,Y8=z8("species"),XB=function(t,A){var e=YB(t).constructor,r;return e===void 0||V8(r=YB(e)[Y8])?A:j8(r)},X8=fc,qB=Function.prototype,WB=qB.apply,JB=qB.call,ZB=typeof Reflect=="object"&&Reflect.apply||(X8?JB.bind(WB):function(){return JB.apply(WB,arguments)}),q8=Vi,W8=pt,Sc=function(t){if(q8(t)==="Function")return W8(t)},$B=Sc,J8=Pn,Z8=fc,$8=$B($B.bind),sg=function(t,A){return J8(t),A===void 0?t:Z8?$8(t,A):function(){return t.apply(A,arguments)}},AS=Yi,Am=AS("document","documentElement"),eS=pt,tS=eS([].slice),rS=TypeError,nS=function(t,A){if(t<A)throw new rS("Not enough arguments");return t},iS=no,em=/(?:ipad|iphone|ipod).*applewebkit/i.test(iS),Nr=it,aS=ZB,sS=sg,tm=wt,oS=hn,rm=dt,nm=Am,lS=tS,im=mc,cS=nS,hS=em,uS=Dc,og=Nr.setImmediate,lg=Nr.clearImmediate,fS=Nr.process,cg=Nr.Dispatch,gS=Nr.Function,am=Nr.MessageChannel,dS=Nr.String,hg=0,co={},sm="onreadystatechange",ho,qi,ug,fg;rm(function(){ho=Nr.location});var gg=function(t){if(oS(co,t)){var A=co[t];delete co[t],A()}},dg=function(t){return function(){gg(t)}},om=function(t){gg(t.data)},lm=function(t){Nr.postMessage(dS(t),ho.protocol+"//"+ho.host)};(!og||!lg)&&(og=function(A){cS(arguments.length,1);var e=tm(A)?A:gS(A),r=lS(arguments,1);return co[++hg]=function(){aS(e,void 0,r)},qi(hg),hg},lg=function(A){delete co[A]},uS?qi=function(t){fS.nextTick(dg(t))}:cg&&cg.now?qi=function(t){cg.now(dg(t))}:am&&!hS?(ug=new am,fg=ug.port2,ug.port1.onmessage=om,qi=sS(fg.postMessage,fg)):Nr.addEventListener&&tm(Nr.postMessage)&&!Nr.importScripts&&ho&&ho.protocol!=="file:"&&!rm(lm)?(qi=lm,Nr.addEventListener("message",om,!1)):sm in im("script")?qi=function(t){nm.appendChild(im("script"))[sm]=function(){nm.removeChild(this),gg(t)}}:qi=function(t){setTimeout(dg(t),0)});var cm={set:og,clear:lg},hm=it,pS=sn,wS=Object.getOwnPropertyDescriptor,BS=function(t){if(!pS)return hm[t];var A=wS(hm,t);return A&&A.value},um=function(){this.head=null,this.tail=null};um.prototype={add:function(t){var A={item:t,next:null},e=this.tail;e?e.next=A:this.head=A,this.tail=A},get:function(){var t=this.head;if(t){var A=this.head=t.next;return A===null&&(this.tail=null),t.item}}};var fm=um,mS=no,vS=/ipad|iphone|ipod/i.test(mS)&&typeof Pebble<"u",yS=no,CS=/web0s(?!.*chrome)/i.test(yS),Ka=it,bS=BS,gm=sg,pg=cm.set,ES=fm,QS=em,xS=vS,IS=CS,wg=Dc,dm=Ka.MutationObserver||Ka.WebKitMutationObserver,pm=Ka.document,wm=Ka.process,Hc=Ka.Promise,Bg=bS("queueMicrotask"),Ga,mg,vg,Tc,Bm;if(!Bg){var Mc=new ES,Oc=function(){var t,A;for(wg&&(t=wm.domain)&&t.exit();A=Mc.get();)try{A()}catch(e){throw Mc.head&&Ga(),e}t&&t.enter()};!QS&&!wg&&!IS&&dm&&pm?(mg=!0,vg=pm.createTextNode(""),new dm(Oc).observe(vg,{characterData:!0}),Ga=function(){vg.data=mg=!mg}):!xS&&Hc&&Hc.resolve?(Tc=Hc.resolve(void 0),Tc.constructor=Hc,Bm=gm(Tc.then,Tc),Ga=function(){Bm(Oc)}):wg?Ga=function(){wm.nextTick(Oc)}:(pg=gm(pg,Ka),Ga=function(){pg(Oc)}),Bg=function(t){Mc.head||Ga(),Mc.add(t)}}var FS=Bg,US=function(t,A){try{arguments.length===1?console.error(t):console.error(t,A)}catch{}},yg=function(t){try{return{error:!1,value:t()}}catch(A){return{error:!0,value:A}}},DS=it,Pc=DS.Promise,LS=it,uo=Pc,NS=wt,SS=MB,HS=Xf,TS=Pt,mm=OB,Cg=Nf;uo&&uo.prototype;var MS=TS("species"),bg=!1,vm=NS(LS.PromiseRejectionEvent),OS=SS("Promise",function(){var t=HS(uo),A=t!==String(uo);if(!A&&Cg===66)return!0;if(!Cg||Cg<51||!/native code/.test(t)){var e=new uo(function(i){i(1)}),r=function(i){i(function(){},function(){})},n=e.constructor={};if(n[MS]=r,bg=e.then(function(){})instanceof r,!bg)return!0}return!A&&(mm==="BROWSER"||mm==="DENO")&&!vm}),fo={CONSTRUCTOR:OS,REJECTION_EVENT:vm,SUBCLASSING:bg},ja={},ym=Pn,PS=TypeError,kS=function(t){var A,e;this.promise=new t(function(r,n){if(A!==void 0||e!==void 0)throw new PS("Bad Promise constructor");A=r,e=n}),this.resolve=ym(A),this.reject=ym(e)};ja.f=function(t){return new kS(t)};var RS=gr,kc=Dc,di=it,Va=Yt,Cm=Xi,bm=PB,_S=Lc,KS=B8,GS=Pn,Rc=wt,jS=ln,VS=y8,zS=XB,Em=cm.set,Eg=FS,YS=US,XS=yg,qS=fm,Qm=Ec,_c=Pc,Qg=fo,xm=ja,Kc="Promise",Im=Qg.CONSTRUCTOR,WS=Qg.REJECTION_EVENT,JS=Qg.SUBCLASSING,xg=Qm.getterFor(Kc),ZS=Qm.set,za=_c&&_c.prototype,Wi=_c,Gc=za,Fm=di.TypeError,Ig=di.document,Fg=di.process,Ug=xm.f,$S=Ug,A6=!!(Ig&&Ig.createEvent&&di.dispatchEvent),Um="unhandledrejection",e6="rejectionhandled",Dm=0,Lm=1,t6=2,Dg=1,Nm=2,jc,Sm,r6,Hm,Tm=function(t){var A;return jS(t)&&Rc(A=t.then)?A:!1},Mm=function(t,A){var e=A.value,r=A.state===Lm,n=r?t.ok:t.fail,i=t.resolve,a=t.reject,s=t.domain,o,c,h;try{n?(r||(A.rejection===Nm&&i6(A),A.rejection=Dg),n===!0?o=e:(s&&s.enter(),o=n(e),s&&(s.exit(),h=!0)),o===t.promise?a(new Fm("Promise-chain cycle")):(c=Tm(o))?Va(c,o,i,a):i(o)):a(e)}catch(d){s&&!h&&s.exit(),a(d)}},Om=function(t,A){t.notified||(t.notified=!0,Eg(function(){for(var e=t.reactions,r;r=e.get();)Mm(r,t);t.notified=!1,A&&!t.rejection&&n6(t)}))},Pm=function(t,A,e){var r,n;A6?(r=Ig.createEvent("Event"),r.promise=A,r.reason=e,r.initEvent(t,!1,!0),di.dispatchEvent(r)):r={promise:A,reason:e},!WS&&(n=di["on"+t])?n(r):t===Um&&YS("Unhandled promise rejection",e)},n6=function(t){Va(Em,di,function(){var A=t.facade,e=t.value,r=km(t),n;if(r&&(n=XS(function(){kc?Fg.emit("unhandledRejection",e,A):Pm(Um,A,e)}),t.rejection=kc||km(t)?Nm:Dg,n.error))throw n.value})},km=function(t){return t.rejection!==Dg&&!t.parent},i6=function(t){Va(Em,di,function(){var A=t.facade;kc?Fg.emit("rejectionHandled",A):Pm(e6,A,t.value)})},Ya=function(t,A,e){return function(r){t(A,r,e)}},Xa=function(t,A,e){t.done||(t.done=!0,e&&(t=e),t.value=A,t.state=t6,Om(t,!0))},Lg=function(t,A,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===A)throw new Fm("Promise can't be resolved itself");var r=Tm(A);r?Eg(function(){var n={done:!1};try{Va(r,A,Ya(Lg,n,t),Ya(Xa,n,t))}catch(i){Xa(n,i,t)}}):(t.value=A,t.state=Lm,Om(t,!1))}catch(n){Xa({done:!1},n,t)}}};if(Im&&(Wi=function(A){VS(this,Gc),GS(A),Va(jc,this);var e=xg(this);try{A(Ya(Lg,e),Ya(Xa,e))}catch(r){Xa(e,r)}},Gc=Wi.prototype,jc=function(A){ZS(this,{type:Kc,done:!1,notified:!1,parent:!1,reactions:new qS,rejection:!1,state:Dm,value:null})},jc.prototype=Cm(Gc,"then",function(A,e){var r=xg(this),n=Ug(zS(this,Wi));return r.parent=!0,n.ok=Rc(A)?A:!0,n.fail=Rc(e)&&e,n.domain=kc?Fg.domain:void 0,r.state===Dm?r.reactions.add(n):Eg(function(){Mm(n,r)}),n.promise}),Sm=function(){var t=new jc,A=xg(t);this.promise=t,this.resolve=Ya(Lg,A),this.reject=Ya(Xa,A)},xm.f=Ug=function(t){return t===Wi||t===r6?new Sm(t):$S(t)},Rc(_c)&&za!==Object.prototype)){Hm=za.then,JS||Cm(za,"then",function(A,e){var r=this;return new Wi(function(n,i){Va(Hm,r,n,i)}).then(A,e)},{unsafe:!0});try{delete za.constructor}catch{}bm&&bm(za,Gc)}RS({global:!0,constructor:!0,wrap:!0,forced:Im},{Promise:Wi}),_S(Wi,Kc,!1),KS(Kc);var go={},a6=Pt,s6=go,o6=a6("iterator"),l6=Array.prototype,c6=function(t){return t!==void 0&&(s6.Array===t||l6[o6]===t)},h6=ig,Rm=Pa,u6=zi,f6=go,g6=Pt,d6=g6("iterator"),_m=function(t){if(!u6(t))return Rm(t,d6)||Rm(t,"@@iterator")||f6[h6(t)]},p6=Yt,w6=Pn,B6=fr,m6=wc,v6=_m,y6=TypeError,C6=function(t,A){var e=arguments.length<2?v6(t):A;if(w6(e))return B6(p6(e,t));throw new y6(m6(t)+" is not iterable")},b6=Yt,Km=fr,E6=Pa,Q6=function(t,A,e){var r,n;Km(t);try{if(r=E6(t,"return"),!r){if(A==="throw")throw e;return e}r=b6(r,t)}catch(i){n=!0,r=i}if(A==="throw")throw e;if(n)throw r;return Km(r),e},x6=sg,I6=Yt,F6=fr,U6=wc,D6=c6,L6=tg,Gm=dc,N6=C6,S6=_m,jm=Q6,H6=TypeError,Vc=function(t,A){this.stopped=t,this.result=A},Vm=Vc.prototype,zm=function(t,A,e){var r=e&&e.that,n=!!(e&&e.AS_ENTRIES),i=!!(e&&e.IS_RECORD),a=!!(e&&e.IS_ITERATOR),s=!!(e&&e.INTERRUPTED),o=x6(A,r),c,h,d,p,f,m,v,b=function(E){return c&&jm(c,"normal",E),new Vc(!0,E)},C=function(E){return n?(F6(E),s?o(E[0],E[1],b):o(E[0],E[1])):s?o(E,b):o(E)};if(i)c=t.iterator;else if(a)c=t;else{if(h=S6(t),!h)throw new H6(U6(t)+" is not iterable");if(D6(h)){for(d=0,p=L6(t);p>d;d++)if(f=C(t[d]),f&&Gm(Vm,f))return f;return new Vc(!1)}c=N6(t,h)}for(m=i?t.next:c.next;!(v=I6(m,c)).done;){try{f=C(v.value)}catch(E){jm(c,"throw",E)}if(typeof f=="object"&&f&&Gm(Vm,f))return f}return new Vc(!1)},T6=Pt,Ym=T6("iterator"),Xm=!1;try{var M6=0,qm={next:function(){return{done:!!M6++}},return:function(){Xm=!0}};qm[Ym]=function(){return this},Array.from(qm,function(){throw 2})}catch{}var O6=function(t,A){try{if(!A&&!Xm)return!1}catch{return!1}var e=!1;try{var r={};r[Ym]=function(){return{next:function(){return{done:e=!0}}}},t(r)}catch{}return e},P6=Pc,k6=O6,R6=fo.CONSTRUCTOR,Wm=R6||!k6(function(t){P6.all(t).then(void 0,function(){})}),_6=gr,K6=Yt,G6=Pn,j6=ja,V6=yg,z6=zm,Y6=Wm;_6({target:"Promise",stat:!0,forced:Y6},{all:function(A){var e=this,r=j6.f(e),n=r.resolve,i=r.reject,a=V6(function(){var s=G6(e.resolve),o=[],c=0,h=1;z6(A,function(d){var p=c++,f=!1;h++,K6(s,e,d).then(function(m){f||(f=!0,o[p]=m,--h||n(o))},i)}),--h||n(o)});return a.error&&i(a.value),r.promise}});var X6=gr,q6=fo.CONSTRUCTOR,Ng=Pc,W6=Yi,J6=wt,Z6=Xi,Jm=Ng&&Ng.prototype;if(X6({target:"Promise",proto:!0,forced:q6,real:!0},{catch:function(t){return this.then(void 0,t)}}),J6(Ng)){var Zm=W6("Promise").prototype.catch;Jm.catch!==Zm&&Z6(Jm,"catch",Zm,{unsafe:!0})}var $6=gr,AH=Yt,eH=Pn,tH=ja,rH=yg,nH=zm,iH=Wm;$6({target:"Promise",stat:!0,forced:iH},{race:function(A){var e=this,r=tH.f(e),n=r.reject,i=rH(function(){var a=eH(e.resolve);nH(A,function(s){AH(a,e,s).then(r.resolve,n)})});return i.error&&n(i.value),r.promise}});var aH=gr,sH=ja,oH=fo.CONSTRUCTOR;aH({target:"Promise",stat:!0,forced:oH},{reject:function(A){var e=sH.f(this),r=e.reject;return r(A),e.promise}});var lH=fr,cH=ln,hH=ja,uH=function(t,A){if(lH(t),cH(A)&&A.constructor===t)return A;var e=hH.f(t),r=e.resolve;return r(A),e.promise},fH=gr,gH=Yi,dH=fo.CONSTRUCTOR,pH=uH;gH("Promise"),fH({target:"Promise",stat:!0,forced:dH},{resolve:function(A){return pH(this,A)}});function $m(t,A,e,r,n,i,a){try{var s=t[i](a),o=s.value}catch(c){return void e(c)}s.done?A(o):Promise.resolve(o).then(r,n)}function Rn(t){return function(){var A=this,e=arguments;return new Promise(function(r,n){var i=t.apply(A,e);function a(o){$m(i,r,n,a,s,"next",o)}function s(o){$m(i,r,n,a,s,"throw",o)}a(void 0)})}}var wH=ig,BH=String,In=function(t){if(wH(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return BH(t)},mH=fr,A2=function(){var t=mH(this),A="";return t.hasIndices&&(A+="d"),t.global&&(A+="g"),t.ignoreCase&&(A+="i"),t.multiline&&(A+="m"),t.dotAll&&(A+="s"),t.unicode&&(A+="u"),t.unicodeSets&&(A+="v"),t.sticky&&(A+="y"),A},Sg=dt,vH=it,Hg=vH.RegExp,Tg=Sg(function(){var t=Hg("a","y");return t.lastIndex=2,t.exec("abcd")!==null}),yH=Tg||Sg(function(){return!Hg("a","y").sticky}),CH=Tg||Sg(function(){var t=Hg("^r","gy");return t.lastIndex=2,t.exec("str")!==null}),e2={BROKEN_CARET:CH,MISSED_STICKY:yH,UNSUPPORTED_Y:Tg},t2={},bH=SB,EH=ng,QH=Object.keys||function(A){return bH(A,EH)},xH=sn,IH=BB,FH=kn,UH=fr,DH=ro,LH=QH;t2.f=xH&&!IH?Object.defineProperties:function(A,e){UH(A);for(var r=DH(e),n=LH(e),i=n.length,a=0,s;i>a;)FH.f(A,s=n[a++],r[s]);return A};var NH=fr,SH=t2,r2=ng,HH=Wf,TH=Am,MH=mc,OH=qf,n2=">",i2="<",Mg="prototype",Og="script",a2=OH("IE_PROTO"),Pg=function(){},s2=function(t){return i2+Og+n2+t+i2+"/"+Og+n2},o2=function(t){t.write(s2("")),t.close();var A=t.parentWindow.Object;return t=null,A},PH=function(){var t=MH("iframe"),A="java"+Og+":",e;return t.style.display="none",TH.appendChild(t),t.src=String(A),e=t.contentWindow.document,e.open(),e.write(s2("document.F=Object")),e.close(),e.F},zc,Yc=function(){try{zc=new ActiveXObject("htmlfile")}catch{}Yc=typeof document<"u"?document.domain&&zc?o2(zc):PH():o2(zc);for(var t=r2.length;t--;)delete Yc[Mg][r2[t]];return Yc()};HH[a2]=!0;var kg=Object.create||function(A,e){var r;return A!==null?(Pg[Mg]=NH(A),r=new Pg,Pg[Mg]=null,r[a2]=A):r=Yc(),e===void 0?r:SH.f(r,e)},kH=dt,RH=it,_H=RH.RegExp,KH=kH(function(){var t=_H(".","s");return!(t.dotAll&&t.test(`
414
414
  `)&&t.flags==="s")}),GH=dt,jH=it,VH=jH.RegExp,zH=GH(function(){var t=VH("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),qa=Yt,Xc=pt,YH=In,XH=A2,qH=e2,WH=Pf,JH=kg,ZH=Ec.get,$H=KH,AT=zH,eT=WH("native-string-replace",String.prototype.replace),qc=RegExp.prototype.exec,Rg=qc,tT=Xc("".charAt),rT=Xc("".indexOf),nT=Xc("".replace),_g=Xc("".slice),Kg=function(){var t=/a/,A=/b*/g;return qa(qc,t,"a"),qa(qc,A,"a"),t.lastIndex!==0||A.lastIndex!==0}(),l2=qH.BROKEN_CARET,Gg=/()??/.exec("")[1]!==void 0,iT=Kg||Gg||l2||$H||AT;iT&&(Rg=function(A){var e=this,r=ZH(e),n=YH(A),i=r.raw,a,s,o,c,h,d,p;if(i)return i.lastIndex=e.lastIndex,a=qa(Rg,i,n),e.lastIndex=i.lastIndex,a;var f=r.groups,m=l2&&e.sticky,v=qa(XH,e),b=e.source,C=0,E=n;if(m&&(v=nT(v,"y",""),rT(v,"g")===-1&&(v+="g"),E=_g(n,e.lastIndex),e.lastIndex>0&&(!e.multiline||e.multiline&&tT(n,e.lastIndex-1)!==`
415
415
  `)&&(b="(?: "+b+")",E=" "+E,C++),s=new RegExp("^(?:"+b+")",v)),Gg&&(s=new RegExp("^"+b+"$(?!\\s)",v)),Kg&&(o=e.lastIndex),c=qa(qc,m?s:e,E),m?c?(c.input=_g(c.input,C),c[0]=_g(c[0],C),c.index=e.lastIndex,e.lastIndex+=c[0].length):e.lastIndex=0:Kg&&c&&(e.lastIndex=e.global?c.index+c[0].length:o),Gg&&c&&c.length>1&&qa(eT,c[0],s,function(){for(h=1;h<arguments.length-2;h++)arguments[h]===void 0&&(c[h]=void 0)}),c&&f)for(c.groups=d=JH(null),h=0;h<f.length;h++)p=f[h],d[p[0]]=c[p[1]];return c});var jg=Rg,aT=gr,c2=jg;aT({target:"RegExp",proto:!0,forced:/./.exec!==c2},{exec:c2});var h2=Yt,u2=Xi,sT=jg,f2=dt,g2=Pt,oT=io,lT=g2("species"),Vg=RegExp.prototype,zg=function(t,A,e,r){var n=g2(t),i=!f2(function(){var c={};return c[n]=function(){return 7},""[t](c)!==7}),a=i&&!f2(function(){var c=!1,h=/a/;return t==="split"&&(h={},h.constructor={},h.constructor[lT]=function(){return h},h.flags="",h[n]=/./[n]),h.exec=function(){return c=!0,null},h[n](""),!c});if(!i||!a||e){var s=/./[n],o=A(n,""[t],function(c,h,d,p,f){var m=h.exec;return m===sT||m===Vg.exec?i&&!f?{done:!0,value:h2(s,h,d,p)}:{done:!0,value:h2(c,d,h,p)}:{done:!1}});u2(String.prototype,t,o[0]),u2(Vg,n,o[1])}r&&oT(Vg[n],"sham",!0)},Yg=pt,cT=Ic,hT=In,uT=on,fT=Yg("".charAt),d2=Yg("".charCodeAt),gT=Yg("".slice),p2=function(t){return function(A,e){var r=hT(uT(A)),n=cT(e),i=r.length,a,s;return n<0||n>=i?t?"":void 0:(a=d2(r,n),a<55296||a>56319||n+1===i||(s=d2(r,n+1))<56320||s>57343?t?fT(r,n):a:t?gT(r,n,n+2):(a-55296<<10)+(s-56320)+65536)}},dT={codeAt:p2(!1),charAt:p2(!0)},pT=dT.charAt,Xg=function(t,A,e){return A+(e?pT(t,A).length:1)},w2=Yt,wT=fr,BT=wt,mT=Vi,vT=jg,yT=TypeError,qg=function(t,A){var e=t.exec;if(BT(e)){var r=w2(e,t,A);return r!==null&&wT(r),r}if(mT(t)==="RegExp")return w2(vT,t,A);throw new yT("RegExp#exec called on incompatible receiver")},CT=Yt,bT=zg,ET=fr,QT=zi,xT=_a,Wg=In,IT=on,FT=Pa,UT=Xg,B2=qg;bT("match",function(t,A,e){return[function(n){var i=IT(this),a=QT(n)?void 0:FT(n,t);return a?CT(a,n,i):new RegExp(n)[t](Wg(i))},function(r){var n=ET(this),i=Wg(r),a=e(A,n,i);if(a.done)return a.value;if(!n.global)return B2(n,i);var s=n.unicode;n.lastIndex=0;for(var o=[],c=0,h;(h=B2(n,i))!==null;){var d=Wg(h[0]);o[c]=d,d===""&&(n.lastIndex=UT(i,xT(n.lastIndex),s)),c++}return c===0?null:o}]});var Jg=pt,DT=Bc,LT=Math.floor,Zg=Jg("".charAt),NT=Jg("".replace),$g=Jg("".slice),ST=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,HT=/\$([$&'`]|\d{1,2})/g,TT=function(t,A,e,r,n,i){var a=e+t.length,s=r.length,o=HT;return n!==void 0&&(n=DT(n),o=ST),NT(i,o,function(c,h){var d;switch(Zg(h,0)){case"$":return"$";case"&":return t;case"`":return $g(A,0,e);case"'":return $g(A,a);case"<":d=n[$g(h,1,-1)];break;default:var p=+h;if(p===0)return c;if(p>s){var f=LT(p/10);return f===0?c:f<=s?r[f-1]===void 0?Zg(h,1):r[f-1]+Zg(h,1):c}d=r[p-1]}return d===void 0?"":d})},MT=ZB,m2=Yt,Wc=pt,OT=zg,PT=dt,kT=fr,RT=wt,_T=zi,KT=Ic,GT=_a,Wa=In,jT=on,VT=Xg,zT=Pa,YT=TT,XT=qg,qT=Pt,Ad=qT("replace"),WT=Math.max,JT=Math.min,ZT=Wc([].concat),ed=Wc([].push),v2=Wc("".indexOf),y2=Wc("".slice),$T=function(t){return t===void 0?t:String(t)},AM=function(){return"a".replace(/./,"$0")==="$0"}(),C2=function(){return/./[Ad]?/./[Ad]("a","$0")==="":!1}(),eM=!PT(function(){var t=/./;return t.exec=function(){var A=[];return A.groups={a:"7"},A},"".replace(t,"$<a>")!=="7"});OT("replace",function(t,A,e){var r=C2?"$":"$0";return[function(i,a){var s=jT(this),o=_T(i)?void 0:zT(i,Ad);return o?m2(o,i,s,a):m2(A,Wa(s),i,a)},function(n,i){var a=kT(this),s=Wa(n);if(typeof i=="string"&&v2(i,r)===-1&&v2(i,"$<")===-1){var o=e(A,a,s,i);if(o.done)return o.value}var c=RT(i);c||(i=Wa(i));var h=a.global,d;h&&(d=a.unicode,a.lastIndex=0);for(var p=[],f;f=XT(a,s),!(f===null||(ed(p,f),!h));){var m=Wa(f[0]);m===""&&(a.lastIndex=VT(s,GT(a.lastIndex),d))}for(var v="",b=0,C=0;C<p.length;C++){f=p[C];for(var E=Wa(f[0]),N=WT(JT(KT(f.index),s.length),0),k=[],z,X=1;X<f.length;X++)ed(k,$T(f[X]));var K=f.groups;if(c){var P=ZT([E],k,N,s);K!==void 0&&ed(P,K),z=Wa(MT(i,void 0,P))}else z=YT(E,s,N,k,K,i);N>=b&&(v+=y2(s,b,N)+z,b=N+E.length)}return v+y2(s,b)}]},!eM||!AM||C2);var tM=ln,rM=Vi,nM=Pt,iM=nM("match"),aM=function(t){var A;return tM(t)&&((A=t[iM])!==void 0?!!A:rM(t)==="RegExp")},sM=aM,oM=TypeError,td=function(t){if(sM(t))throw new oM("The method doesn't accept regular expressions");return t},lM=Pt,cM=lM("match"),rd=function(t){var A=/./;try{"/./"[t](A)}catch{try{return A[cM]=!1,"/./"[t](A)}catch{}}return!1},hM=gr,uM=Sc,fM=to.f,gM=_a,b2=In,dM=td,pM=on,wM=rd,BM=uM("".slice),mM=Math.min,E2=wM("startsWith"),vM=!E2&&!!function(){var t=fM(String.prototype,"startsWith");return t&&!t.writable}();hM({target:"String",proto:!0,forced:!vM&&!E2},{startsWith:function(A){var e=b2(pM(this));dM(A);var r=gM(mM(arguments.length>1?arguments[1]:void 0,e.length)),n=b2(A);return BM(e,r,r+n.length)===n}});var yM=Pt,CM=kg,bM=kn.f,nd=yM("unscopables"),id=Array.prototype;id[nd]===void 0&&bM(id,nd,{configurable:!0,value:CM(null)});var EM=function(t){id[nd][t]=!0},QM=dt,xM=!QM(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),IM=hn,FM=wt,UM=Bc,DM=qf,LM=xM,Q2=DM("IE_PROTO"),ad=Object,NM=ad.prototype,x2=LM?ad.getPrototypeOf:function(t){var A=UM(t);if(IM(A,Q2))return A[Q2];var e=A.constructor;return FM(e)&&A instanceof e?e.prototype:A instanceof ad?NM:null},SM=dt,HM=wt,TM=ln,I2=x2,MM=Xi,OM=Pt,sd=OM("iterator"),F2=!1,Ji,od,ld;[].keys&&(ld=[].keys(),"next"in ld?(od=I2(I2(ld)),od!==Object.prototype&&(Ji=od)):F2=!0);var PM=!TM(Ji)||SM(function(){var t={};return Ji[sd].call(t)!==t});PM&&(Ji={}),HM(Ji[sd])||MM(Ji,sd,function(){return this});var U2={IteratorPrototype:Ji,BUGGY_SAFARI_ITERATORS:F2},kM=U2.IteratorPrototype,RM=kg,_M=xf,KM=Lc,GM=go,jM=function(){return this},VM=function(t,A,e,r){var n=A+" Iterator";return t.prototype=RM(kM,{next:_M(+!r,e)}),KM(t,n,!1),GM[n]=jM,t},zM=gr,YM=Yt,D2=yc,XM=wt,qM=VM,L2=x2,N2=PB,WM=Lc,JM=io,cd=Xi,ZM=Pt,$M=go,S2=U2,AO=D2.PROPER,eO=D2.CONFIGURABLE,H2=S2.IteratorPrototype,Jc=S2.BUGGY_SAFARI_ITERATORS,po=ZM("iterator"),T2="keys",wo="values",M2="entries",tO=function(){return this},rO=function(t,A,e,r,n,i,a){qM(e,A,r);var s=function(C){if(C===n&&p)return p;if(!Jc&&C&&C in h)return h[C];switch(C){case T2:return function(){return new e(this,C)};case wo:return function(){return new e(this,C)};case M2:return function(){return new e(this,C)}}return function(){return new e(this)}},o=A+" Iterator",c=!1,h=t.prototype,d=h[po]||h["@@iterator"]||n&&h[n],p=!Jc&&d||s(n),f=A==="Array"&&h.entries||d,m,v,b;if(f&&(m=L2(f.call(new t)),m!==Object.prototype&&m.next&&(L2(m)!==H2&&(N2?N2(m,H2):XM(m[po])||cd(m,po,tO)),WM(m,o,!0))),AO&&n===wo&&d&&d.name!==wo&&(eO?JM(h,"name",wo):(c=!0,p=function(){return YM(d,this)})),n)if(v={values:s(wo),keys:i?p:s(T2),entries:s(M2)},a)for(b in v)(Jc||c||!(b in h))&&cd(h,b,v[b]);else zM({target:A,proto:!0,forced:Jc||c},v);return h[po]!==p&&cd(h,po,p,{name:n}),$M[A]=p,v},nO=function(t,A){return{value:t,done:A}},iO=ro,hd=EM,O2=go,P2=Ec,aO=kn.f,sO=rO,Zc=nO,oO=sn,k2="Array Iterator",lO=P2.set,cO=P2.getterFor(k2),hO=sO(Array,"Array",function(t,A){lO(this,{type:k2,target:iO(t),index:0,kind:A})},function(){var t=cO(this),A=t.target,e=t.index++;if(!A||e>=A.length)return t.target=null,Zc(void 0,!0);switch(t.kind){case"keys":return Zc(e,!1);case"values":return Zc(A[e],!1)}return Zc([e,A[e]],!1)},"values"),R2=O2.Arguments=O2.Array;if(hd("keys"),hd("values"),hd("entries"),oO&&R2.name!=="values")try{aO(R2,"name",{value:"values"})}catch{}var uO={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},fO=mc,ud=fO("span").classList,_2=ud&&ud.constructor&&ud.constructor.prototype,gO=_2===Object.prototype?void 0:_2,K2=it,G2=uO,dO=gO,Bo=hO,j2=io,pO=Lc,wO=Pt,fd=wO("iterator"),gd=Bo.values,V2=function(t,A){if(t){if(t[fd]!==gd)try{j2(t,fd,gd)}catch{t[fd]=gd}if(pO(t,A,!0),G2[A]){for(var e in Bo)if(t[e]!==Bo[e])try{j2(t,e,Bo[e])}catch{t[e]=Bo[e]}}}};for(var dd in G2)V2(K2[dd]&&K2[dd].prototype,dd);V2(dO,"DOMTokenList");function BO(t,A){if(Se(t)!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var r=e.call(t,A||"default");if(Se(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(A==="string"?String:Number)(t)}function mO(t){var A=BO(t,"string");return Se(A)=="symbol"?A:A+""}function pd(t,A,e){return(A=mO(A))in t?Object.defineProperty(t,A,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[A]=e,t}var vO=Pn,yO=Bc,CO=Yw,bO=tg,z2=TypeError,Y2="Reduce of empty array with no initial value",X2=function(t){return function(A,e,r,n){var i=yO(A),a=CO(i),s=bO(i);if(vO(e),s===0&&r<2)throw new z2(Y2);var o=t?s-1:0,c=t?-1:1;if(r<2)for(;;){if(o in a){n=a[o],o+=c;break}if(o+=c,t?o<0:s<=o)throw new z2(Y2)}for(;t?o>=0:s>o;o+=c)o in a&&(n=e(n,a[o],o,i));return n}},EO={left:X2(!1),right:X2(!0)},QO=dt,q2=function(t,A){var e=[][t];return!!e&&QO(function(){e.call(null,A||function(){return 1},1)})},xO=gr,IO=EO.left,FO=q2,W2=Nf,UO=Dc,DO=!UO&&W2>79&&W2<83,LO=DO||!FO("reduce");xO({target:"Array",proto:!0,forced:LO},{reduce:function(A){var e=arguments.length;return IO(this,A,e,e>1?arguments[1]:void 0)}});var NO=gr,SO=Sc,HO=to.f,TO=_a,J2=In,MO=td,OO=on,PO=rd,kO=SO("".slice),RO=Math.min,Z2=PO("endsWith"),_O=!Z2&&!!function(){var t=HO(String.prototype,"endsWith");return t&&!t.writable}();NO({target:"String",proto:!0,forced:!_O&&!Z2},{endsWith:function(A){var e=J2(OO(this));MO(A);var r=arguments.length>1?arguments[1]:void 0,n=e.length,i=r===void 0?n:RO(TO(r),n),a=J2(A);return kO(e,i-a.length,i)===a}});var wd=Yt,$2=pt,KO=zg,GO=fr,jO=zi,VO=on,zO=XB,YO=Xg,XO=_a,Av=In,qO=Pa,ev=qg,WO=e2,JO=dt,Ja=WO.UNSUPPORTED_Y,ZO=4294967295,$O=Math.min,Bd=$2([].push),md=$2("".slice),AP=!JO(function(){var t=/(?:)/,A=t.exec;t.exec=function(){return A.apply(this,arguments)};var e="ab".split(t);return e.length!==2||e[0]!=="a"||e[1]!=="b"}),tv="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;KO("split",function(t,A,e){var r="0".split(void 0,0).length?function(n,i){return n===void 0&&i===0?[]:wd(A,this,n,i)}:A;return[function(i,a){var s=VO(this),o=jO(i)?void 0:qO(i,t);return o?wd(o,i,s,a):wd(r,Av(s),i,a)},function(n,i){var a=GO(this),s=Av(n);if(!tv){var o=e(r,a,s,i,r!==A);if(o.done)return o.value}var c=zO(a,RegExp),h=a.unicode,d=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Ja?"g":"y"),p=new c(Ja?"^(?:"+a.source+")":a,d),f=i===void 0?ZO:i>>>0;if(f===0)return[];if(s.length===0)return ev(p,s)===null?[s]:[];for(var m=0,v=0,b=[];v<s.length;){p.lastIndex=Ja?0:v;var C=ev(p,Ja?md(s,v):s),E;if(C===null||(E=$O(XO(p.lastIndex+(Ja?v:0)),s.length))===m)v=YO(s,v,h);else{if(Bd(b,md(s,m,v)),b.length===f)return b;for(var N=1;N<=C.length-1;N++)if(Bd(b,C[N]),b.length===f)return b;v=m=E}}return Bd(b,md(s,m)),b}]},tv||!AP,Ja);var $c={exports:{}},mo={exports:{}};(function(){var t,A,e,r,n,i;typeof performance<"u"&&performance!==null&&performance.now?mo.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(mo.exports=function(){return(t()-n)/1e6},A=process.hrtime,t=function(){var a;return a=A(),a[0]*1e9+a[1]},r=t(),i=process.uptime()*1e9,n=r-i):Date.now?(mo.exports=function(){return Date.now()-e},e=Date.now()):(mo.exports=function(){return new Date().getTime()-e},e=new Date().getTime())}).call(Oa);for(var eP=mo.exports,tP=eP,_n=typeof window>"u"?Oa:window,Ah=["moz","webkit"],Za="AnimationFrame",$a=_n["request"+Za],vo=_n["cancel"+Za]||_n["cancelRequest"+Za],yo=0;!$a&&yo<Ah.length;yo++)$a=_n[Ah[yo]+"Request"+Za],vo=_n[Ah[yo]+"Cancel"+Za]||_n[Ah[yo]+"CancelRequest"+Za];if(!$a||!vo){var vd=0,rv=0,Zi=[],rP=1e3/60;$a=function(t){if(Zi.length===0){var A=tP(),e=Math.max(0,rP-(A-vd));vd=e+A,setTimeout(function(){var r=Zi.slice(0);Zi.length=0;for(var n=0;n<r.length;n++)if(!r[n].cancelled)try{r[n].callback(vd)}catch(i){setTimeout(function(){throw i},0)}},Math.round(e))}return Zi.push({handle:++rv,callback:t,cancelled:!1}),rv},vo=function(t){for(var A=0;A<Zi.length;A++)Zi[A].handle===t&&(Zi[A].cancelled=!0)}}$c.exports=function(t){return $a.call(_n,t)},$c.exports.cancel=function(){vo.apply(_n,arguments)},$c.exports.polyfill=function(t){t||(t=_n),t.requestAnimationFrame=$a,t.cancelAnimationFrame=vo};var nP=$c.exports;const yd=Rw(nP);var nv=`