@divkitframework/divkit 32.7.0 → 32.7.1
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.
- package/dist/browser/client-devtool.js +1 -1
- package/dist/browser/client-hydratable.js +1 -1
- package/dist/browser/client.js +1 -1
- package/dist/client-devtool.js +1 -1
- package/dist/client-hydratable.js +1 -1
- package/dist/client.js +1 -1
- package/dist/esm/client-devtool.mjs +1 -1
- package/dist/esm/client-hydratable.mjs +1 -1
- package/dist/esm/client.mjs +1 -1
- package/dist/esm/server.mjs +1 -1
- package/dist/server.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
DivKit v32.7.
|
|
2
|
+
DivKit v32.7.1
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var Hb=Object.defineProperty;var Wb=(wi,Hn,ni)=>Hn in wi?Hb(wi,Hn,{enumerable:!0,configurable:!0,writable:!0,value:ni}):wi[Hn]=ni;var br=(wi,Hn,ni)=>Wb(wi,typeof Hn!="symbol"?Hn+"":Hn,ni);function wi(e){return BigInt(e)}const Hn=wi("9223372036854775807"),ni=wi("-9223372036854775808");function fn(e){const r=wi(e);if(r>Hn||r<ni)throw new Error("Integer overflow.");return r}const Ri=fn(0);function Wl(e){let r=e;return r<0&&(r=-r),r}function Ul(e){let r=0;return e>0?r=1:e<0&&(r=-1),fn(r)}function ld(e,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:e,consequent:r[3],alternate:r[7]}:e}function ad(e,r){return r&&r[3]?{type:"TryExpression",test:e,alternate:r[3]}:e}function To(e,r){return r.length?r.reduce((t,n)=>({type:"BinaryExpression",operator:n[1],left:t,right:n[3]}),e):e}function Yl(e,r){return r.length?r.reduce((t,n)=>({type:"LogicalExpression",operator:n[1],left:t,right:n[3]}),e):e}function cd(e,r){return r.length?r.reduce((t,n)=>{if(!n[5])throw new Error("Method expected after .");return{type:"MethodExpression",object:t,method:n[3],arguments:n[5][2]}},e):e}function ud(e){return e==="true"||e==="false"?{type:"BooleanLiteral",value:e==="true"}:{type:"Variable",id:{type:"Identifier",name:e}}}function Gl(e){if(e.every(t=>typeof t=="string"))return{type:"StringLiteral",value:e.join("")};let r=e.reduce((t,n)=>(typeof n=="string"&&typeof t[t.length-1]=="string"?t[t.length-1]+=n:t.push(n),t),[]).reduce((t,n)=>(typeof n=="string"?t.quasis.push({type:"StringLiteral",value:n}):(t.quasis.length===t.expressions.length&&t.quasis.push({type:"StringLiteral",value:""}),t.expressions.push(n)),t),{type:"TemplateLiteral",quasis:[],expressions:[]});return r.quasis.length===r.expressions.length&&r.quasis.push({type:"StringLiteral",value:""}),r}function fd(e){try{return fn(e)}catch{throw new Error(`Value ${e} can't be converted to Integer type.`)}}function ql(e){if(e==="'"||e==="\\")return e;throw new Error("Incorrect string escape")}function dd(e,r){function t(){this.constructor=e}t.prototype=r.prototype,e.prototype=new t}function eo(e,r,t,n){var i=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(i,eo.prototype),i.expected=r,i.found=t,i.location=n,i.name="SyntaxError",i}dd(eo,Error);function Ls(e,r,t){return t=t||" ",e.length>r?e:(r-=e.length,t+=t.repeat(r),e+t.slice(0,r))}eo.prototype.format=function(e){var r="Error: "+this.message;if(this.location){var t=null,n;for(n=0;n<e.length;n++)if(e[n].source===this.location.source){t=e[n].text.split(/\r\n|\n|\r/g);break}var i=this.location.start,o=this.location.source&&typeof this.location.source.offset=="function"?this.location.source.offset(i):i,s=this.location.source+":"+o.line+":"+o.column;if(t){var a=this.location.end,l=Ls("",o.line.toString().length," "),c=t[i.line-1],u=i.line===a.line?a.column:c.length+1,d=u-i.column||1;r+=`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
DivKit v32.7.
|
|
2
|
+
DivKit v32.7.1
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var $b=Object.defineProperty;var ey=(M,xn,$n)=>xn in M?$b(M,xn,{enumerable:!0,configurable:!0,writable:!0,value:$n}):M[xn]=$n;var cr=(M,xn,$n)=>ey(M,typeof xn!="symbol"?xn+"":xn,$n);function M(){}const xn=t=>t;function $n(t,r){for(const e in r)t[e]=r[e];return t}function Xl(t){return t()}function Zl(){return Object.create(null)}function Kr(t){t.forEach(Xl)}function Pr(t){return typeof t=="function"}function md(t,r){return t!=t?r==r:t!==r||t&&typeof t=="object"||typeof t=="function"}let zo;function Gn(t,r){return t===r?!0:(zo||(zo=document.createElement("a")),zo.href=r,t===zo.href)}function Dr(t,r){return t!=t?r==r:t!==r}function bd(t){return Object.keys(t).length===0}function U(t,...r){if(t==null){for(const n of r)n(void 0);return M}const e=t.subscribe(...r);return e.unsubscribe?()=>e.unsubscribe():e}function yd(t){let r;return U(t,e=>r=e)(),r}function pn(t,r,e){t.$$.on_destroy.push(U(r,e))}function Oo(t,r,e,n){if(t){const i=Ql(t,r,e,n);return t[0](i)}}function Ql(t,r,e,n){return t[1]&&n?$n(e.ctx.slice(),t[1](n(r))):e.ctx}function Lo(t,r,e,n){if(t[2]&&n){const i=t[2](n(e));if(r.dirty===void 0)return i;if(typeof i=="object"){const o=[],s=Math.max(r.dirty.length,i.length);for(let a=0;a<s;a+=1)o[a]=r.dirty[a]|i[a];return o}return r.dirty|i}return r.dirty}function Ro(t,r,e,n,i,o){if(i){const s=Ql(r,e,n,o);t.p(s,i)}}function Bo(t){if(t.ctx.length>32){const r=[],e=t.ctx.length/32;for(let n=0;n<e;n++)r[n]=-1;return r}return-1}function Ws(t,r,e){return t.set(e),r}function Ho(t){return t&&Pr(t.destroy)?t.destroy:M}function xl(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}const $l=typeof window<"u";let Us=$l?()=>window.performance.now():()=>Date.now(),Gs=$l?t=>requestAnimationFrame(t):M;const no=new Set;function ea(t){no.forEach(r=>{r.c(t)||(no.delete(r),r.f())}),no.size!==0&&Gs(ea)}function Ys(t){let r;return no.size===0&&Gs(ea),{promise:new Promise(e=>{no.add(r={c:t,f:e})}),abort(){no.delete(r)}}}const di=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let Wo=!1;function vd(){Wo=!0}function wd(){Wo=!1}function kd(t,r,e,n){for(;t<r;){const i=t+(r-t>>1);e(i)<=n?t=i+1:r=i}return t}function Ed(t){if(t.hydrate_init)return;t.hydrate_init=!0;let r=t.childNodes;if(t.nodeName==="HEAD"){const l=[];for(let c=0;c<r.length;c++){const u=r[c];u.claim_order!==void 0&&l.push(u)}r=l}const e=new Int32Array(r.length+1),n=new Int32Array(r.length);e[0]=-1;let i=0;for(let l=0;l<r.length;l++){const c=r[l].claim_order,u=(i>0&&r[e[i]].claim_order<=c?i+1:kd(1,i,h=>r[e[h]].claim_order,c))-1;n[l]=e[u]+1;const f=u+1;e[f]=l,i=Math.max(f,i)}const o=[],s=[];let a=r.length-1;for(let l=e[i]+1;l!=0;l=n[l-1]){for(o.push(r[l-1]);a>=l;a--)s.push(r[a]);a--}for(;a>=0;a--)s.push(r[a]);o.reverse(),s.sort((l,c)=>l.claim_order-c.claim_order);for(let l=0,c=0;l<s.length;l++){for(;c<o.length&&s[l].claim_order>=o[c].claim_order;)c++;const u=c<o.length?o[c]:null;t.insertBefore(s[l],u)}}function Ad(t,r){t.appendChild(r)}function ta(t){if(!t)return document;const r=t.getRootNode?t.getRootNode():t.ownerDocument;return r&&r.host?r:t.ownerDocument}function Cd(t){const r=ze("style");return r.textContent="/* empty */",jd(ta(t),r),r.sheet}function jd(t,r){return Ad(t.head||t,r),r.sheet}function Ft(t,r){if(Wo){for(Ed(t),(t.actual_end_child===void 0||t.actual_end_child!==null&&t.actual_end_child.parentNode!==t)&&(t.actual_end_child=t.firstChild);t.actual_end_child!==null&&t.actual_end_child.claim_order===void 0;)t.actual_end_child=t.actual_end_child.nextSibling;r!==t.actual_end_child?(r.claim_order!==void 0||r.parentNode!==t)&&t.insertBefore(r,t.actual_end_child):t.actual_end_child=r.nextSibling}else(r.parentNode!==t||r.nextSibling!==null)&&t.appendChild(r)}function Sd(t,r,e){t.insertBefore(r,e||null)}function ee(t,r,e){Wo&&!e?Ft(t,r):(r.parentNode!==t||r.nextSibling!=e)&&t.insertBefore(r,e||null)}function w(t){t.parentNode&&t.parentNode.removeChild(t)}function mn(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function ze(t){return document.createElement(t)}function fn(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Yn(t){return document.createTextNode(t)}function wr(){return Yn(" ")}function qe(){return Yn("")}function He(t,r,e,n){return t.addEventListener(r,e,n),()=>t.removeEventListener(r,e,n)}function b(t,r,e){e==null?t.removeAttribute(r):t.getAttribute(r)!==e&&t.setAttribute(r,e)}const Vd=["width","height"];function ii(t,r){const e=Object.getOwnPropertyDescriptors(t.__proto__);for(const n in r)r[n]==null?t.removeAttribute(n):n==="style"?t.style.cssText=r[n]:n==="__value"?t.value=t[n]=r[n]:e[n]&&e[n].set&&Vd.indexOf(n)===-1?t[n]=r[n]:b(t,n,r[n])}function Id(t,r){Object.keys(r).forEach(e=>{Dd(t,e,r[e])})}function Dd(t,r,e){const n=r.toLowerCase();n in t?t[n]=typeof t[n]=="boolean"&&e===""?!0:e:r in t?t[r]=typeof t[r]=="boolean"&&e===""?!0:e:b(t,r,e)}function ra(t){return/-/.test(t)?Id:ii}function Ee(t){return Array.from(t.childNodes)}function na(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function ia(t,r,e,n,i=!1){na(t);const o=(()=>{for(let s=t.claim_info.last_index;s<t.length;s++){const a=t[s];if(r(a)){const l=e(a);return l===void 0?t.splice(s,1):t[s]=l,i||(t.claim_info.last_index=s),a}}for(let s=t.claim_info.last_index-1;s>=0;s--){const a=t[s];if(r(a)){const l=e(a);return l===void 0?t.splice(s,1):t[s]=l,i?l===void 0&&t.claim_info.last_index--:t.claim_info.last_index=s,a}}return n()})();return o.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,o}function oa(t,r,e,n){return ia(t,i=>i.nodeName===r,i=>{const o=[];for(let s=0;s<i.attributes.length;s++){const a=i.attributes[s];e[a.name]||o.push(a.name)}o.forEach(s=>i.removeAttribute(s))},()=>n(r))}function Re(t,r,e){return oa(t,r,e,ze)}function wn(t,r,e){return oa(t,r,e,fn)}function oi(t,r){return ia(t,e=>e.nodeType===3,e=>{const n=""+r;if(e.data.startsWith(n)){if(e.data.length!==n.length)return e.splitText(n.length)}else e.data=n},()=>Yn(r),!0)}function kr(t){return oi(t," ")}function sa(t,r,e){for(let n=e;n<t.length;n+=1){const i=t[n];if(i.nodeType===8&&i.textContent.trim()===r)return n}return-1}function qs(t,r){const e=sa(t,"HTML_TAG_START",0),n=sa(t,"HTML_TAG_END",e+1);if(e===-1||n===-1)return new io(r);na(t);const i=t.splice(e,n-e+1);w(i[0]),w(i[i.length-1]);const o=i.slice(1,i.length-1);if(o.length===0)return new io(r);for(const s of o)s.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1;return new io(r,o)}function Ci(t,r){r=""+r,t.data!==r&&(t.data=r)}function la(t,r){t.value=r==null?"":r}function G(t,r,e,n){e==null?t.style.removeProperty(r):t.style.setProperty(r,e,"")}function aa(t,r,e){for(let n=0;n<t.options.length;n+=1){const i=t.options[n];if(i.__value===r){i.selected=!0;return}}(!e||r!==void 0)&&(t.selectedIndex=-1)}function Td(t){const r=t.querySelector(":checked");return r&&r.__value}function ca(t,r,{bubbles:e=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:r,bubbles:e,cancelable:n})}class Md{constructor(r=!1){cr(this,"is_svg",!1);cr(this,"e");cr(this,"n");cr(this,"t");cr(this,"a");this.is_svg=r,this.e=this.n=null}c(r){this.h(r)}m(r,e,n=null){this.e||(this.is_svg?this.e=fn(e.nodeName):this.e=ze(e.nodeType===11?"TEMPLATE":e.nodeName),this.t=e.tagName!=="TEMPLATE"?e:e.content,this.c(r)),this.i(n)}h(r){this.e.innerHTML=r,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(r){for(let e=0;e<this.n.length;e+=1)Sd(this.t,this.n[e],r)}p(r){this.d(),this.h(r),this.i(this.a)}d(){this.n.forEach(w)}}class io extends Md{constructor(e=!1,n){super(e);cr(this,"l");this.e=this.n=null,this.l=n}c(e){this.l?this.n=this.l:super.c(e)}i(e){for(let n=0;n<this.n.length;n+=1)ee(this.t,this.n[n],e)}}function ua(t,r){return new t(r)}const Uo=new Map;let Go=0;function Fd(t){let r=5381,e=t.length;for(;e--;)r=(r<<5)-r^t.charCodeAt(e);return r>>>0}function Pd(t,r){const e={stylesheet:Cd(r),rules:{}};return Uo.set(t,e),e}function Yo(t,r,e,n,i,o,s,a=0){const l=16.666/n;let c=`{
|
package/dist/browser/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
DivKit v32.7.
|
|
2
|
+
DivKit v32.7.1
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var Pb=Object.defineProperty;var Nb=(I,qn,Jn)=>qn in I?Pb(I,qn,{enumerable:!0,configurable:!0,writable:!0,value:Jn}):I[qn]=Jn;var hr=(I,qn,Jn)=>Nb(I,typeof qn!="symbol"?qn+"":qn,Jn);function I(){}const qn=e=>e;function Jn(e,r){for(const t in r)e[t]=r[t];return e}function Bl(e){return e()}function Hl(){return Object.create(null)}function Yr(e){e.forEach(Bl)}function Dr(e){return typeof e=="function"}function id(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let Io;function Rn(e,r){return e===r?!0:(Io||(Io=document.createElement("a")),Io.href=r,e===Io.href)}function jr(e,r){return e!=e?r==r:e!==r}function od(e){return Object.keys(e).length===0}function W(e,...r){if(e==null){for(const n of r)n(void 0);return I}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function sd(e){let r;return W(e,t=>r=t)(),r}function fn(e,r,t){e.$$.on_destroy.push(W(r,t))}function Do(e,r,t,n){if(e){const i=Wl(e,r,t,n);return e[0](i)}}function Wl(e,r,t,n){return e[1]&&n?Jn(t.ctx.slice(),e[1](n(r))):t.ctx}function To(e,r,t,n){if(e[2]&&n){const i=e[2](n(t));if(r.dirty===void 0)return i;if(typeof i=="object"){const o=[],s=Math.max(r.dirty.length,i.length);for(let a=0;a<s;a+=1)o[a]=r.dirty[a]|i[a];return o}return r.dirty|i}return r.dirty}function Fo(e,r,t,n,i,o){if(i){const s=Wl(r,t,n,o);e.p(s,i)}}function Mo(e){if(e.ctx.length>32){const r=[],t=e.ctx.length/32;for(let n=0;n<t;n++)r[n]=-1;return r}return-1}function Ps(e,r,t){return e.set(t),r}function Po(e){return e&&Dr(e.destroy)?e.destroy:I}function Ul(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const Yl=typeof window<"u";let Ns=Yl?()=>window.performance.now():()=>Date.now(),zs=Yl?e=>requestAnimationFrame(e):I;const Qi=new Set;function Gl(e){Qi.forEach(r=>{r.c(e)||(Qi.delete(r),r.f())}),Qi.size!==0&&zs(Gl)}function Os(e){let r;return Qi.size===0&&zs(Gl),{promise:new Promise(t=>{Qi.add(r={c:e,f:t})}),abort(){Qi.delete(r)}}}const si=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Dt(e,r){e.appendChild(r)}function ql(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function ld(e){const r=Oe("style");return r.textContent="/* empty */",ad(ql(e),r),r.sheet}function ad(e,r){return Dt(e.head||e,r),r.sheet}function x(e,r,t){e.insertBefore(r,t||null)}function Q(e){e.parentNode&&e.parentNode.removeChild(e)}function dn(e,r){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(r)}function Oe(e){return document.createElement(e)}function pn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Kn(e){return document.createTextNode(e)}function br(){return Kn(" ")}function Zt(){return Kn("")}function Re(e,r,t,n){return e.addEventListener(r,t,n),()=>e.removeEventListener(r,t,n)}function b(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}const cd=["width","height"];function $n(e,r){const t=Object.getOwnPropertyDescriptors(e.__proto__);for(const n in r)r[n]==null?e.removeAttribute(n):n==="style"?e.style.cssText=r[n]:n==="__value"?e.value=e[n]=r[n]:t[n]&&t[n].set&&cd.indexOf(n)===-1?e[n]=r[n]:b(e,n,r[n])}function ud(e,r){Object.keys(r).forEach(t=>{fd(e,t,r[t])})}function fd(e,r,t){const n=r.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&t===""?!0:t:r in e?e[r]=typeof e[r]=="boolean"&&t===""?!0:t:b(e,r,t)}function Jl(e){return/-/.test(e)?ud:$n}function dd(e){return Array.from(e.childNodes)}function yi(e,r){r=""+r,e.data!==r&&(e.data=r)}function Kl(e,r){e.value=r==null?"":r}function U(e,r,t,n){t==null?e.style.removeProperty(r):e.style.setProperty(r,t,"")}function Xl(e,r,t){for(let n=0;n<e.options.length;n+=1){const i=e.options[n];if(i.__value===r){i.selected=!0;return}}(!t||r!==void 0)&&(e.selectedIndex=-1)}function _d(e){const r=e.querySelector(":checked");return r&&r.__value}function Zl(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function Ql(e,r){return new e(r)}const No=new Map;let zo=0;function hd(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function gd(e,r){const t={stylesheet:ld(r),rules:{}};return No.set(e,t),t}function Oo(e,r,t,n,i,o,s,a=0){const l=16.666/n;let c=`{
|
package/dist/client-devtool.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";var ld=Object.defineProperty;var ad=(e,r,t)=>r in e?ld(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var br=(e,r,t)=>ad(e,typeof r!="symbol"?r+"":r,t);/*!
|
|
2
|
-
DivKit v32.7.
|
|
2
|
+
DivKit v32.7.1
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function yl(e){return BigInt(e)}const Eo=yl("9223372036854775807"),Ao=yl("-9223372036854775808");function _n(e){const r=yl(e);if(r>Eo||r<Ao)throw new Error("Integer overflow.");return r}const Ui=_n(0);function xc(e){let r=e;return r<0&&(r=-r),r}function $c(e){let r=0;return e>0?r=1:e<0&&(r=-1),_n(r)}function ud(e,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:e,consequent:r[3],alternate:r[7]}:e}function cd(e,r){return r&&r[3]?{type:"TryExpression",test:e,alternate:r[3]}:e}function Do(e,r){return r.length?r.reduce((t,n)=>({type:"BinaryExpression",operator:n[1],left:t,right:n[3]}),e):e}function Ul(e,r){return r.length?r.reduce((t,n)=>({type:"LogicalExpression",operator:n[1],left:t,right:n[3]}),e):e}function fd(e,r){return r.length?r.reduce((t,n)=>{if(!n[5])throw new Error("Method expected after .");return{type:"MethodExpression",object:t,method:n[3],arguments:n[5][2]}},e):e}function dd(e){return e==="true"||e==="false"?{type:"BooleanLiteral",value:e==="true"}:{type:"Variable",id:{type:"Identifier",name:e}}}function Gl(e){if(e.every(t=>typeof t=="string"))return{type:"StringLiteral",value:e.join("")};let r=e.reduce((t,n)=>(typeof n=="string"&&typeof t[t.length-1]=="string"?t[t.length-1]+=n:t.push(n),t),[]).reduce((t,n)=>(typeof n=="string"?t.quasis.push({type:"StringLiteral",value:n}):(t.quasis.length===t.expressions.length&&t.quasis.push({type:"StringLiteral",value:""}),t.expressions.push(n)),t),{type:"TemplateLiteral",quasis:[],expressions:[]});return r.quasis.length===r.expressions.length&&r.quasis.push({type:"StringLiteral",value:""}),r}function _d(e){try{return _n(e)}catch{throw new Error(`Value ${e} can't be converted to Integer type.`)}}function Yl(e){if(e==="'"||e==="\\")return e;throw new Error("Incorrect string escape")}function hd(e,r){function t(){this.constructor=e}t.prototype=r.prototype,e.prototype=new t}function so(e,r,t,n){var i=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(i,so.prototype),i.expected=r,i.found=t,i.location=n,i.name="SyntaxError",i}hd(so,Error);function Ls(e,r,t){return t=t||" ",e.length>r?e:(r-=e.length,t+=t.repeat(r),e+t.slice(0,r))}so.prototype.format=function(e){var r="Error: "+this.message;if(this.location){var t=null,n;for(n=0;n<e.length;n++)if(e[n].source===this.location.source){t=e[n].text.split(/\r\n|\n|\r/g);break}var i=this.location.start,o=this.location.source&&typeof this.location.source.offset=="function"?this.location.source.offset(i):i,s=this.location.source+":"+o.line+":"+o.column;if(t){var a=this.location.end,l=Ls("",o.line.toString().length," "),u=t[i.line-1],c=i.line===a.line?a.column:u.length+1,d=c-i.column||1;r+=`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";var md=Object.defineProperty;var bd=(t,r,e)=>r in t?md(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e;var sr=(t,r,e)=>bd(t,typeof r!="symbol"?r+"":r,e);/*!
|
|
2
|
-
DivKit v32.7.
|
|
2
|
+
DivKit v32.7.1
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function P(){}const Cs=t=>t;function xi(t,r){for(const e in r)t[e]=r[e];return t}function lf(t){return t()}function Zl(){return Object.create(null)}function Xr(t){t.forEach(lf)}function zr(t){return typeof t=="function"}function yd(t,r){return t!=t?r==r:t!==r||t&&typeof t=="object"||typeof t=="function"}let No;function Zn(t,r){return t===r?!0:(No||(No=document.createElement("a")),No.href=r,t===No.href)}function Fr(t,r){return t!=t?r==r:t!==r}function vd(t){return Object.keys(t).length===0}function U(t,...r){if(t==null){for(const n of r)n(void 0);return P}const e=t.subscribe(...r);return e.unsubscribe?()=>e.unsubscribe():e}function wd(t){let r;return U(t,e=>r=e)(),r}function yn(t,r,e){t.$$.on_destroy.push(U(r,e))}function js(t,r,e,n){if(t){const i=af(t,r,e,n);return t[0](i)}}function af(t,r,e,n){return t[1]&&n?xi(e.ctx.slice(),t[1](n(r))):e.ctx}function Ss(t,r,e,n){if(t[2]&&n){const i=t[2](n(e));if(r.dirty===void 0)return i;if(typeof i=="object"){const o=[],s=Math.max(r.dirty.length,i.length);for(let a=0;a<s;a+=1)o[a]=r.dirty[a]|i[a];return o}return r.dirty|i}return r.dirty}function Vs(t,r,e,n,i,o){if(i){const s=af(r,e,n,o);t.p(s,i)}}function Is(t){if(t.ctx.length>32){const r=[],e=t.ctx.length/32;for(let n=0;n<e;n++)r[n]=-1;return r}return-1}function Us(t,r,e){return t.set(e),r}function Ds(t){return t&&zr(t.destroy)?t.destroy:P}function Ql(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}const cf=typeof window<"u";let Al=cf?()=>window.performance.now():()=>Date.now(),Cl=cf?t=>requestAnimationFrame(t):P;const ao=new Set;function uf(t){ao.forEach(r=>{r.c(t)||(ao.delete(r),r.f())}),ao.size!==0&&Cl(uf)}function jl(t){let r;return ao.size===0&&Cl(uf),{promise:new Promise(e=>{ao.add(r={c:t,f:e})}),abort(){ao.delete(r)}}}const wi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let Ts=!1;function kd(){Ts=!0}function Ed(){Ts=!1}function Ad(t,r,e,n){for(;t<r;){const i=t+(r-t>>1);e(i)<=n?t=i+1:r=i}return t}function Cd(t){if(t.hydrate_init)return;t.hydrate_init=!0;let r=t.childNodes;if(t.nodeName==="HEAD"){const l=[];for(let c=0;c<r.length;c++){const u=r[c];u.claim_order!==void 0&&l.push(u)}r=l}const e=new Int32Array(r.length+1),n=new Int32Array(r.length);e[0]=-1;let i=0;for(let l=0;l<r.length;l++){const c=r[l].claim_order,u=(i>0&&r[e[i]].claim_order<=c?i+1:Ad(1,i,h=>r[e[h]].claim_order,c))-1;n[l]=e[u]+1;const f=u+1;e[f]=l,i=Math.max(f,i)}const o=[],s=[];let a=r.length-1;for(let l=e[i]+1;l!=0;l=n[l-1]){for(o.push(r[l-1]);a>=l;a--)s.push(r[a]);a--}for(;a>=0;a--)s.push(r[a]);o.reverse(),s.sort((l,c)=>l.claim_order-c.claim_order);for(let l=0,c=0;l<s.length;l++){for(;c<o.length&&s[l].claim_order>=o[c].claim_order;)c++;const u=c<o.length?o[c]:null;t.insertBefore(s[l],u)}}function jd(t,r){t.appendChild(r)}function ff(t){if(!t)return document;const r=t.getRootNode?t.getRootNode():t.ownerDocument;return r&&r.host?r:t.ownerDocument}function Sd(t){const r=ze("style");return r.textContent="/* empty */",Vd(ff(t),r),r.sheet}function Vd(t,r){return jd(t.head||t,r),r.sheet}function Ft(t,r){if(Ts){for(Cd(t),(t.actual_end_child===void 0||t.actual_end_child!==null&&t.actual_end_child.parentNode!==t)&&(t.actual_end_child=t.firstChild);t.actual_end_child!==null&&t.actual_end_child.claim_order===void 0;)t.actual_end_child=t.actual_end_child.nextSibling;r!==t.actual_end_child?(r.claim_order!==void 0||r.parentNode!==t)&&t.insertBefore(r,t.actual_end_child):t.actual_end_child=r.nextSibling}else(r.parentNode!==t||r.nextSibling!==null)&&t.appendChild(r)}function Id(t,r,e){t.insertBefore(r,e||null)}function ee(t,r,e){Ts&&!e?Ft(t,r):(r.parentNode!==t||r.nextSibling!=e)&&t.insertBefore(r,e||null)}function w(t){t.parentNode&&t.parentNode.removeChild(t)}function bn(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function ze(t){return document.createElement(t)}function _n(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Qn(t){return document.createTextNode(t)}function Ar(){return Qn(" ")}function qe(){return Qn("")}function Ue(t,r,e,n){return t.addEventListener(r,e,n),()=>t.removeEventListener(r,e,n)}function b(t,r,e){e==null?t.removeAttribute(r):t.getAttribute(r)!==e&&t.setAttribute(r,e)}const Dd=["width","height"];function si(t,r){const e=Object.getOwnPropertyDescriptors(t.__proto__);for(const n in r)r[n]==null?t.removeAttribute(n):n==="style"?t.style.cssText=r[n]:n==="__value"?t.value=t[n]=r[n]:e[n]&&e[n].set&&Dd.indexOf(n)===-1?t[n]=r[n]:b(t,n,r[n])}function Td(t,r){Object.keys(r).forEach(e=>{Md(t,e,r[e])})}function Md(t,r,e){const n=r.toLowerCase();n in t?t[n]=typeof t[n]=="boolean"&&e===""?!0:e:r in t?t[r]=typeof t[r]=="boolean"&&e===""?!0:e:b(t,r,e)}function xl(t){return/-/.test(t)?Td:si}function Ee(t){return Array.from(t.childNodes)}function df(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function hf(t,r,e,n,i=!1){df(t);const o=(()=>{for(let s=t.claim_info.last_index;s<t.length;s++){const a=t[s];if(r(a)){const l=e(a);return l===void 0?t.splice(s,1):t[s]=l,i||(t.claim_info.last_index=s),a}}for(let s=t.claim_info.last_index-1;s>=0;s--){const a=t[s];if(r(a)){const l=e(a);return l===void 0?t.splice(s,1):t[s]=l,i?l===void 0&&t.claim_info.last_index--:t.claim_info.last_index=s,a}}return n()})();return o.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,o}function _f(t,r,e,n){return hf(t,i=>i.nodeName===r,i=>{const o=[];for(let s=0;s<i.attributes.length;s++){const a=i.attributes[s];e[a.name]||o.push(a.name)}o.forEach(s=>i.removeAttribute(s))},()=>n(r))}function Be(t,r,e){return _f(t,r,e,ze)}function En(t,r,e){return _f(t,r,e,_n)}function ai(t,r){return hf(t,e=>e.nodeType===3,e=>{const n=""+r;if(e.data.startsWith(n)){if(e.data.length!==n.length)return e.splitText(n.length)}else e.data=n},()=>Qn(r),!0)}function Cr(t){return ai(t," ")}function $l(t,r,e){for(let n=e;n<t.length;n+=1){const i=t[n];if(i.nodeType===8&&i.textContent.trim()===r)return n}return-1}function Sl(t,r){const e=$l(t,"HTML_TAG_START",0),n=$l(t,"HTML_TAG_END",e+1);if(e===-1||n===-1)return new co(r);df(t);const i=t.splice(e,n-e+1);w(i[0]),w(i[i.length-1]);const o=i.slice(1,i.length-1);if(o.length===0)return new co(r);for(const s of o)s.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1;return new co(r,o)}function Ti(t,r){r=""+r,t.data!==r&&(t.data=r)}function ea(t,r){t.value=r==null?"":r}function Y(t,r,e,n){e==null?t.style.removeProperty(r):t.style.setProperty(r,e,"")}function ta(t,r,e){for(let n=0;n<t.options.length;n+=1){const i=t.options[n];if(i.__value===r){i.selected=!0;return}}(!e||r!==void 0)&&(t.selectedIndex=-1)}function Fd(t){const r=t.querySelector(":checked");return r&&r.__value}function gf(t,r,{bubbles:e=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:r,bubbles:e,cancelable:n})}class Pd{constructor(r=!1){sr(this,"is_svg",!1);sr(this,"e");sr(this,"n");sr(this,"t");sr(this,"a");this.is_svg=r,this.e=this.n=null}c(r){this.h(r)}m(r,e,n=null){this.e||(this.is_svg?this.e=_n(e.nodeName):this.e=ze(e.nodeType===11?"TEMPLATE":e.nodeName),this.t=e.tagName!=="TEMPLATE"?e:e.content,this.c(r)),this.i(n)}h(r){this.e.innerHTML=r,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(r){for(let e=0;e<this.n.length;e+=1)Id(this.t,this.n[e],r)}p(r){this.d(),this.h(r),this.i(this.a)}d(){this.n.forEach(w)}}class co extends Pd{constructor(e=!1,n){super(e);sr(this,"l");this.e=this.n=null,this.l=n}c(e){this.l?this.n=this.l:super.c(e)}i(e){for(let n=0;n<this.n.length;n+=1)ee(this.t,this.n[n],e)}}function ra(t,r){return new t(r)}const ds=new Map;let hs=0;function Nd(t){let r=5381,e=t.length;for(;e--;)r=(r<<5)-r^t.charCodeAt(e);return r>>>0}function zd(t,r){const e={stylesheet:Sd(r),rules:{}};return ds.set(t,e),e}function _s(t,r,e,n,i,o,s,a=0){const l=16.666/n;let c=`{
|
package/dist/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";var id=Object.defineProperty;var od=(e,r,t)=>r in e?id(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var hr=(e,r,t)=>od(e,typeof r!="symbol"?r+"":r,t);/*!
|
|
2
|
-
DivKit v32.7.
|
|
2
|
+
DivKit v32.7.1
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function T(){}const bs=e=>e;function qi(e,r){for(const t in r)e[t]=r[t];return e}function Zu(e){return e()}function Hl(){return Object.create(null)}function Yr(e){e.forEach(Zu)}function Fr(e){return typeof e=="function"}function sd(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let Vo;function Yn(e,r){return e===r?!0:(Vo||(Vo=document.createElement("a")),Vo.href=r,e===Vo.href)}function Ir(e,r){return e!=e?r==r:e!==r}function ld(e){return Object.keys(e).length===0}function W(e,...r){if(e==null){for(const n of r)n(void 0);return T}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function ad(e){let r;return W(e,t=>r=t)(),r}function hn(e,r,t){e.$$.on_destroy.push(W(r,t))}function ys(e,r,t,n){if(e){const i=Qu(e,r,t,n);return e[0](i)}}function Qu(e,r,t,n){return e[1]&&n?qi(t.ctx.slice(),e[1](n(r))):t.ctx}function ws(e,r,t,n){if(e[2]&&n){const i=e[2](n(t));if(r.dirty===void 0)return i;if(typeof i=="object"){const o=[],s=Math.max(r.dirty.length,i.length);for(let a=0;a<s;a+=1)o[a]=r.dirty[a]|i[a];return o}return r.dirty|i}return r.dirty}function vs(e,r,t,n,i,o){if(i){const s=Qu(r,t,n,o);e.p(s,i)}}function ks(e){if(e.ctx.length>32){const r=[],t=e.ctx.length/32;for(let n=0;n<t;n++)r[n]=-1;return r}return-1}function Ns(e,r,t){return e.set(t),r}function Es(e){return e&&Fr(e.destroy)?e.destroy:T}function Wl(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const xu=typeof window<"u";let pl=xu?()=>window.performance.now():()=>Date.now(),ml=xu?e=>requestAnimationFrame(e):T;const ro=new Set;function $u(e){ro.forEach(r=>{r.c(e)||(ro.delete(r),r.f())}),ro.size!==0&&ml($u)}function bl(e){let r;return ro.size===0&&ml($u),{promise:new Promise(t=>{ro.add(r={c:e,f:t})}),abort(){ro.delete(r)}}}const gi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Dt(e,r){e.appendChild(r)}function ef(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function cd(e){const r=Oe("style");return r.textContent="/* empty */",ud(ef(e),r),r.sheet}function ud(e,r){return Dt(e.head||e,r),r.sheet}function x(e,r,t){e.insertBefore(r,t||null)}function Q(e){e.parentNode&&e.parentNode.removeChild(e)}function _n(e,r){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(r)}function Oe(e){return document.createElement(e)}function bn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Xn(e){return document.createTextNode(e)}function vr(){return Xn(" ")}function er(){return Xn("")}function He(e,r,t,n){return e.addEventListener(r,t,n),()=>e.removeEventListener(r,t,n)}function b(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}const fd=["width","height"];function ti(e,r){const t=Object.getOwnPropertyDescriptors(e.__proto__);for(const n in r)r[n]==null?e.removeAttribute(n):n==="style"?e.style.cssText=r[n]:n==="__value"?e.value=e[n]=r[n]:t[n]&&t[n].set&&fd.indexOf(n)===-1?e[n]=r[n]:b(e,n,r[n])}function dd(e,r){Object.keys(r).forEach(t=>{_d(e,t,r[t])})}function _d(e,r,t){const n=r.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&t===""?!0:t:r in e?e[r]=typeof e[r]=="boolean"&&t===""?!0:t:b(e,r,t)}function Ul(e){return/-/.test(e)?dd:ti}function hd(e){return Array.from(e.childNodes)}function Ci(e,r){r=""+r,e.data!==r&&(e.data=r)}function Gl(e,r){e.value=r==null?"":r}function U(e,r,t,n){t==null?e.style.removeProperty(r):e.style.setProperty(r,t,"")}function Yl(e,r,t){for(let n=0;n<e.options.length;n+=1){const i=e.options[n];if(i.__value===r){i.selected=!0;return}}(!t||r!==void 0)&&(e.selectedIndex=-1)}function gd(e){const r=e.querySelector(":checked");return r&&r.__value}function tf(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function ql(e,r){return new e(r)}const os=new Map;let ss=0;function pd(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function md(e,r){const t={stylesheet:cd(r),rules:{}};return os.set(e,t),t}function ls(e,r,t,n,i,o,s,a=0){const l=16.666/n;let c=`{
|
|
@@ -2,7 +2,7 @@ var sd = Object.defineProperty;
|
|
|
2
2
|
var ld = (e, r, t) => r in e ? sd(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var br = (e, r, t) => ld(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.7.
|
|
5
|
+
DivKit v32.7.1
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ var md = Object.defineProperty;
|
|
|
2
2
|
var bd = (t, r, e) => r in t ? md(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
|
|
3
3
|
var sr = (t, r, e) => bd(t, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.7.
|
|
5
|
+
DivKit v32.7.1
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
package/dist/esm/client.mjs
CHANGED
|
@@ -2,7 +2,7 @@ var id = Object.defineProperty;
|
|
|
2
2
|
var od = (e, r, t) => r in e ? id(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var hr = (e, r, t) => od(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.7.
|
|
5
|
+
DivKit v32.7.1
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
package/dist/esm/server.mjs
CHANGED
|
@@ -2,7 +2,7 @@ var pl = Object.defineProperty;
|
|
|
2
2
|
var _l = (r, t, e) => t in r ? pl(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
|
|
3
3
|
var Er = (r, t, e) => _l(r, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.7.
|
|
5
|
+
DivKit v32.7.1
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
package/dist/server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";var pl=Object.defineProperty;var _l=(r,t,e)=>t in r?pl(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var Er=(r,t,e)=>_l(r,typeof t!="symbol"?t+"":t,e);/*!
|
|
2
|
-
DivKit v32.7.
|
|
2
|
+
DivKit v32.7.1
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function j(){}const ml=r=>r;function bl(r){return r()}function yl(){return Object.create(null)}function rs(r){r.forEach(bl)}function wl(r){return typeof r=="function"}function $l(r,t){return r!=r?t==t:r!==t||r&&typeof r=="object"||typeof r=="function"}function b(r,...t){if(r==null){for(const i of t)i(void 0);return j}const e=r.subscribe(...t);return e.unsubscribe?()=>e.unsubscribe():e}function jl(r){let t;return b(r,e=>t=e)(),t}function Al(r,t,{bubbles:e=!1,cancelable:i=!1}={}){return new CustomEvent(r,{detail:t,bubbles:e,cancelable:i})}let xn;function kn(r){xn=r}function _o(){if(!xn)throw new Error("Function called outside component initialization");return xn}function Ur(r){_o().$$.on_destroy.push(r)}function kl(){const r=_o();return(t,e,{cancelable:i=!1}={})=>{const n=r.$$.callbacks[t];if(n){const o=Al(t,e,{cancelable:i});return n.slice().forEach(l=>{l.call(r,o)}),!o.defaultPrevented}return!0}}function Wi(r,t){return _o().$$.context.set(r,t),t}function pr(r){return _o().$$.context.get(r)}const bn=[],ks=[];let Gn=[];const xs=[],Va=Promise.resolve();let Oo=!1;function xl(){Oo||(Oo=!0,Va.then(Cl))}function Ai(){return xl(),Va}function El(r){Gn.push(r)}const ko=new Set;let Zi=0;function Cl(){if(Zi!==0)return;const r=xn;do{try{for(;Zi<bn.length;){const t=bn[Zi];Zi++,kn(t),Sl(t.$$)}}catch(t){throw bn.length=0,Zi=0,t}for(kn(null),bn.length=0,Zi=0;ks.length;)ks.pop()();for(let t=0;t<Gn.length;t+=1){const e=Gn[t];ko.has(e)||(ko.add(e),e())}Gn.length=0}while(bn.length);for(;xs.length;)xs.pop()();Oo=!1,ko.clear(),kn(r)}function Sl(r){if(r.fragment!==null){r.update(),rs(r.before_update);const t=r.dirty;r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(El)}}function Fl(r){return(r==null?void 0:r.length)!==void 0?r:Array.from(r)}const Vl=["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"],Il=new Set([...Vl]),Dl=/[&"<]/g,Tl=/[&<]/g;function ot(r,t=!1){const e=String(r),i=t?Dl:Tl;i.lastIndex=0;let n="",o=0;for(;i.test(e);){const l=i.lastIndex-1,c=e[l];n+=e.substring(o,l)+(c==="&"?"&":c==='"'?""":"<"),o=l+1}return n+e.substring(o)}const Ml=/^(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/;function Es(r){return Ml.test(r)||r.toLowerCase()==="!doctype"}const Pl=/[\s'">/=\u{FDD0}-\u{FDEF}\u{FFFE}\u{FFFF}\u{1FFFE}\u{1FFFF}\u{2FFFE}\u{2FFFF}\u{3FFFE}\u{3FFFF}\u{4FFFE}\u{4FFFF}\u{5FFFE}\u{5FFFF}\u{6FFFE}\u{6FFFF}\u{7FFFE}\u{7FFFF}\u{8FFFE}\u{8FFFF}\u{9FFFE}\u{9FFFF}\u{AFFFE}\u{AFFFF}\u{BFFFE}\u{BFFFF}\u{CFFFE}\u{CFFFF}\u{DFFFE}\u{DFFFF}\u{EFFFE}\u{EFFFF}\u{FFFFE}\u{FFFFF}\u{10FFFE}\u{10FFFF}]/u;function an(r,t){const e=Object.assign({},...r);if(t){const n=t.classes,o=t.styles;n&&(e.class==null?e.class=n:e.class+=" "+n),o&&(e.style==null?e.style=zo(o):e.style=zo(Ol(e.style,o)))}let i="";return Object.keys(e).forEach(n=>{if(Pl.test(n))return;const o=e[n];o===!0?i+=" "+n:Il.has(n.toLowerCase())?o&&(i+=" "+n):o!=null&&(i+=` ${n}="${o}"`)}),i}function Ol(r,t){const e={};for(const i of r.split(";")){const n=i.indexOf(":"),o=i.slice(0,n).trim(),l=i.slice(n+1).trim();o&&(e[o]=l)}for(const i in t){const n=t[i];n?e[i]=n:delete e[i]}return e}function Lr(r){return typeof r=="string"||r&&typeof r=="object"?ot(r,!0):r}function ln(r){const t={};for(const e in r)t[e]=Lr(r[e]);return t}function Ir(r,t){r=Fl(r);let e="";for(let i=0;i<r.length;i+=1)e+=t(r[i],i);return e}const zl={$$render:()=>""};function Jt(r,t){if(!r||!r.$$render)throw t==="svelte:component"&&(t+=" this={...}"),new Error(`<${t}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules. Otherwise you may need to fix a <${t}>.`);return r}let xo;function yr(r){function t(e,i,n,o,l){const c=xn,f={on_destroy:xo,context:new Map(l||(c?c.$$.context:[])),on_mount:[],before_update:[],after_update:[],callbacks:yl()};kn({$$:f});const d=r(e,i,n,o);return kn(c),d}return{render:(e={},{$$slots:i={},context:n=new Map}={})=>{xo=[];const o={title:"",head:"",css:new Set},l=t(o,e,{},i,n);return rs(xo),{html:l,css:{code:Array.from(o.css).map(c=>c.code).join(`
|