@divkitframework/divkit 32.50.0 → 32.51.0
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.
|
|
2
|
+
DivKit v32.51.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var Ay=Object.defineProperty;var jy=(Si,xn,mi)=>xn in Si?Ay(Si,xn,{enumerable:!0,configurable:!0,writable:!0,value:mi}):Si[xn]=mi;var Ar=(Si,xn,mi)=>jy(Si,typeof xn!="symbol"?xn+"":xn,mi);function Si(e){return BigInt(e)}const xn=Si("9223372036854775807"),mi=Si("-9223372036854775808");function ln(e){const r=Si(e);if(r>xn||r<mi)throw new Error("Integer overflow.");return r}const Xi=ln(0);function ta(e){let r=e;return r<0&&(r=-r),r}function ra(e){let r=0;return e>0?r=1:e<0&&(r=-1),ln(r)}function Bd(e,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:e,consequent:r[3],alternate:r[7]}:e}function Hd(e,r){return r&&r[3]?{type:"TryExpression",test:e,alternate:r[3]}:e}function Ro(e,r){return r.length?r.reduce((t,n)=>({type:"BinaryExpression",operator:n[1],left:t,right:n[3]}),e):e}function na(e,r){return r.length?r.reduce((t,n)=>({type:"LogicalExpression",operator:n[1],left:t,right:n[3]}),e):e}function Wd(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 ia(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 Gd(e){try{return ln(e)}catch{throw new Error(`Value ${e} can't be converted to Integer type.`)}}function oa(e){if(e==="'"||e==="\\")return e;throw new Error("Incorrect string escape")}function Yd(e,r){function t(){this.constructor=e}t.prototype=r.prototype,e.prototype=new t}function lo(e,r,t,n){var i=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(i,lo.prototype),i.expected=r,i.found=t,i.location=n,i.name="SyntaxError",i}Yd(lo,Error);function Js(e,r,t){return t=t||" ",e.length>r?e:(r-=e.length,t+=t.repeat(r),e+t.slice(0,r))}lo.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=Js("",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
|
/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.51.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var Fy=Object.defineProperty;var My=(D,li,$n)=>li in D?Fy(D,li,{enumerable:!0,configurable:!0,writable:!0,value:$n}):D[li]=$n;var gr=(D,li,$n)=>My(D,typeof li!="symbol"?li+"":li,$n);function D(){}const li=t=>t;function $n(t,r){for(const e in r)t[e]=r[e];return t}function aa(t){return t()}function ua(){return Object.create(null)}function rn(t){t.forEach(aa)}function Yr(t){return typeof t=="function"}function qd(t,r){return t!=t?r==r:t!==r||t&&typeof t=="object"||typeof t=="function"}let Go;function gi(t,r){return t===r?!0:(Go||(Go=document.createElement("a")),Go.href=r,t===Go.href)}function Hr(t,r){return t!=t?r==r:t!==r}function Kd(t){return Object.keys(t).length===0}function H(t,...r){if(t==null){for(const n of r)n(void 0);return D}const e=t.subscribe(...r);return e.unsubscribe?()=>e.unsubscribe():e}function Qs(t){let r;return H(t,e=>r=e)(),r}function pn(t,r,e){t.$$.on_destroy.push(H(r,e))}function Yo(t,r,e,n){if(t){const i=ca(t,r,e,n);return t[0](i)}}function ca(t,r,e,n){return t[1]&&n?$n(e.ctx.slice(),t[1](n(r))):e.ctx}function qo(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 Ko(t,r,e,n,i,o){if(i){const s=ca(r,e,n,o);t.p(s,i)}}function Jo(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 xs(t,r,e){return t.set(e),r}function Xo(t){return t&&Yr(t.destroy)?t.destroy:D}function fa(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}const da=typeof window<"u";let $s=da?()=>window.performance.now():()=>Date.now(),el=da?t=>requestAnimationFrame(t):D;const co=new Set;function ha(t){co.forEach(r=>{r.c(t)||(co.delete(r),r.f())}),co.size!==0&&el(ha)}function tl(t){let r;return co.size===0&&el(ha),{promise:new Promise(e=>{co.add(r={c:t,f:e})}),abort(){co.delete(r)}}}const Ai=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let Zo=!1;function Jd(){Zo=!0}function Xd(){Zo=!1}function Zd(t,r,e,n){for(;t<r;){const i=t+(r-t>>1);e(i)<=n?t=i+1:r=i}return t}function Qd(t){if(t.hydrate_init)return;t.hydrate_init=!0;let r=t.childNodes;if(t.nodeName==="HEAD"){const l=[];for(let u=0;u<r.length;u++){const c=r[u];c.claim_order!==void 0&&l.push(c)}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 u=r[l].claim_order,c=(i>0&&r[e[i]].claim_order<=u?i+1:Zd(1,i,_=>r[e[_]].claim_order,u))-1;n[l]=e[c]+1;const f=c+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,u)=>l.claim_order-u.claim_order);for(let l=0,u=0;l<s.length;l++){for(;u<o.length&&s[l].claim_order>=o[u].claim_order;)u++;const c=u<o.length?o[u]:null;t.insertBefore(s[l],c)}}function xd(t,r){t.appendChild(r)}function _a(t){if(!t)return document;const r=t.getRootNode?t.getRootNode():t.ownerDocument;return r&&r.host?r:t.ownerDocument}function $d(t){const r=Pe("style");return r.textContent="/* empty */",eh(_a(t),r),r.sheet}function eh(t,r){return xd(t.head||t,r),r.sheet}function Bt(t,r){if(Zo){for(Qd(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 th(t,r,e){t.insertBefore(r,e||null)}function x(t,r,e){Zo&&!e?Bt(t,r):(r.parentNode!==t||r.nextSibling!=e)&&t.insertBefore(r,e||null)}function k(t){t.parentNode&&t.parentNode.removeChild(t)}function vn(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function Pe(t){return document.createElement(t)}function mn(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function ni(t){return document.createTextNode(t)}function jr(){return ni(" ")}function tt(){return ni("")}function Oe(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 rh=["width","height"];function pi(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&&rh.indexOf(n)===-1?t[n]=r[n]:b(t,n,r[n])}function nh(t,r){Object.keys(r).forEach(e=>{ih(t,e,r[e])})}function ih(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 ga(t){return/-/.test(t)?nh:pi}function Se(t){return Array.from(t.childNodes)}function pa(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function ma(t,r,e,n,i=!1){pa(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 ba(t,r,e,n){return ma(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 Le(t,r,e){return ba(t,r,e,Pe)}function jn(t,r,e){return ba(t,r,e,mn)}function mi(t,r){return ma(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},()=>ni(r),!0)}function Sr(t){return mi(t," ")}function ya(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 rl(t,r){const e=ya(t,"HTML_TAG_START",0),n=ya(t,"HTML_TAG_END",e+1);if(e===-1||n===-1)return new fo(r);pa(t);const i=t.splice(e,n-e+1);k(i[0]),k(i[i.length-1]);const o=i.slice(1,i.length-1);if(o.length===0)return new fo(r);for(const s of o)s.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1;return new fo(r,o)}function Mi(t,r){r=""+r,t.data!==r&&(t.data=r)}function va(t,r){t.value=r==null?"":r}function W(t,r,e,n){e==null?t.style.removeProperty(r):t.style.setProperty(r,e,"")}function wa(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 oh(t){const r=t.querySelector(":checked");return r&&r.__value}function ka(t,r,{bubbles:e=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:r,bubbles:e,cancelable:n})}class sh{constructor(r=!1){gr(this,"is_svg",!1);gr(this,"e");gr(this,"n");gr(this,"t");gr(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=mn(e.nodeName):this.e=Pe(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)th(this.t,this.n[e],r)}p(r){this.d(),this.h(r),this.i(this.a)}d(){this.n.forEach(k)}}class fo extends sh{constructor(e=!1,n){super(e);gr(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)x(this.t,this.n[n],e)}}function Ea(t,r){return new t(r)}const Qo=new Map;let xo=0;function lh(t){let r=5381,e=t.length;for(;e--;)r=(r<<5)-r^t.charCodeAt(e);return r>>>0}function ah(t,r){const e={stylesheet:$d(r),rules:{}};return Qo.set(t,e),e}function $o(t,r,e,n,i,o,s,a=0){const l=16.666/n;let u=`{
|
package/dist/browser/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.51.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var _y=Object.defineProperty;var hy=(V,ti,Jn)=>ti in V?_y(V,ti,{enumerable:!0,configurable:!0,writable:!0,value:Jn}):V[ti]=Jn;var kr=(V,ti,Jn)=>hy(V,typeof ti!="symbol"?ti+"":ti,Jn);function V(){}const ti=e=>e;function Jn(e,r){for(const t in r)e[t]=r[t];return e}function $l(e){return e()}function ea(){return Object.create(null)}function xr(e){e.forEach($l)}function Hr(e){return typeof e=="function"}function Md(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let Oo;function ci(e,r){return e===r?!0:(Oo||(Oo=document.createElement("a")),Oo.href=r,e===Oo.href)}function Or(e,r){return e!=e?r==r:e!==r}function Pd(e){return Object.keys(e).length===0}function B(e,...r){if(e==null){for(const n of r)n(void 0);return V}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function Us(e){let r;return B(e,t=>r=t)(),r}function dn(e,r,t){e.$$.on_destroy.push(B(r,t))}function Lo(e,r,t,n){if(e){const i=ta(e,r,t,n);return e[0](i)}}function ta(e,r,t,n){return e[1]&&n?Jn(t.ctx.slice(),e[1](n(r))):t.ctx}function Ro(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 Bo(e,r,t,n,i,o){if(i){const s=ta(r,t,n,o);e.p(s,i)}}function Ho(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 Gs(e,r,t){return e.set(t),r}function Wo(e){return e&&Hr(e.destroy)?e.destroy:V}function ra(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const na=typeof window<"u";let Ys=na?()=>window.performance.now():()=>Date.now(),qs=na?e=>requestAnimationFrame(e):V;const io=new Set;function ia(e){io.forEach(r=>{r.c(e)||(io.delete(r),r.f())}),io.size!==0&&qs(ia)}function Ks(e){let r;return io.size===0&&qs(ia),{promise:new Promise(t=>{io.add(r={c:e,f:t})}),abort(){io.delete(r)}}}const bi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Ot(e,r){e.appendChild(r)}function oa(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function Nd(e){const r=Te("style");return r.textContent="/* empty */",zd(oa(e),r),r.sheet}function zd(e,r){return Ot(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 gn(e,r){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(r)}function Te(e){return document.createElement(e)}function vn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ri(e){return document.createTextNode(e)}function Er(){return ri(" ")}function dr(){return ri("")}function Ne(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 Od=["width","height"];function fi(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&&Od.indexOf(n)===-1?e[n]=r[n]:b(e,n,r[n])}function Ld(e,r){Object.keys(r).forEach(t=>{Rd(e,t,r[t])})}function Rd(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 sa(e){return/-/.test(e)?Ld:fi}function Bd(e){return Array.from(e.childNodes)}function Si(e,r){r=""+r,e.data!==r&&(e.data=r)}function la(e,r){e.value=r==null?"":r}function H(e,r,t,n){t==null?e.style.removeProperty(r):e.style.setProperty(r,t,"")}function aa(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 Hd(e){const r=e.querySelector(":checked");return r&&r.__value}function ua(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function ca(e,r){return new e(r)}const Uo=new Map;let Go=0;function Wd(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function Ud(e,r){const t={stylesheet:Nd(r),rules:{}};return Uo.set(e,t),t}function Yo(e,r,t,n,i,o,s,a=0){const l=16.666/n;let u=`{
|
package/dist/client-devtool.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";var Bd=Object.defineProperty;var Hd=(e,r,t)=>r in e?Bd(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var Er=(e,r,t)=>Hd(e,typeof r!="symbol"?r+"":r,t);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.51.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function Pl(e){return BigInt(e)}const To=Pl("9223372036854775807"),Mo=Pl("-9223372036854775808");function ln(e){const r=Pl(e);if(r>To||r<Mo)throw new Error("Integer overflow.");return r}const Qi=ln(0);function If(e){let r=e;return r<0&&(r=-r),r}function Df(e){let r=0;return e>0?r=1:e<0&&(r=-1),ln(r)}function Wd(e,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:e,consequent:r[3],alternate:r[7]}:e}function Ud(e,r){return r&&r[3]?{type:"TryExpression",test:e,alternate:r[3]}:e}function Ro(e,r){return r.length?r.reduce((t,n)=>({type:"BinaryExpression",operator:n[1],left:t,right:n[3]}),e):e}function sa(e,r){return r.length?r.reduce((t,n)=>({type:"LogicalExpression",operator:n[1],left:t,right:n[3]}),e):e}function Gd(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 Yd(e){return e==="true"||e==="false"?{type:"BooleanLiteral",value:e==="true"}:{type:"Variable",id:{type:"Identifier",name:e}}}function la(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 qd(e){try{return ln(e)}catch{throw new Error(`Value ${e} can't be converted to Integer type.`)}}function aa(e){if(e==="'"||e==="\\")return e;throw new Error("Incorrect string escape")}function Jd(e,r){function t(){this.constructor=e}t.prototype=r.prototype,e.prototype=new t}function ho(e,r,t,n){var i=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(i,ho.prototype),i.expected=r,i.found=t,i.location=n,i.name="SyntaxError",i}Jd(ho,Error);function Ks(e,r,t){return t=t||" ",e.length>r?e:(r-=e.length,t+=t.repeat(r),e+t.slice(0,r))}ho.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=Ks("",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 qd=Object.defineProperty;var Kd=(t,r,e)=>r in t?qd(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e;var gr=(t,r,e)=>Kd(t,typeof r!="symbol"?r+"":r,e);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.51.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function F(){}const Ps=t=>t;function Li(t,r){for(const e in r)t[e]=r[e];return t}function Mf(t){return t()}function ha(){return Object.create(null)}function on(t){t.forEach(Mf)}function qr(t){return typeof t=="function"}function Jd(t,r){return t!=t?r==r:t!==r||t&&typeof t=="object"||typeof t=="function"}let Go;function bi(t,r){return t===r?!0:(Go||(Go=document.createElement("a")),Go.href=r,t===Go.href)}function Gr(t,r){return t!=t?r==r:t!==r}function Xd(t){return Object.keys(t).length===0}function H(t,...r){if(t==null){for(const n of r)n(void 0);return F}const e=t.subscribe(...r);return e.unsubscribe?()=>e.unsubscribe():e}function dl(t){let r;return H(t,e=>r=e)(),r}function bn(t,r,e){t.$$.on_destroy.push(H(r,e))}function Ns(t,r,e,n){if(t){const i=Pf(t,r,e,n);return t[0](i)}}function Pf(t,r,e,n){return t[1]&&n?Li(e.ctx.slice(),t[1](n(r))):e.ctx}function zs(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 Os(t,r,e,n,i,o){if(i){const s=Pf(r,e,n,o);t.p(s,i)}}function Ls(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 $s(t,r,e){return t.set(e),r}function Rs(t){return t&&qr(t.destroy)?t.destroy:F}function _a(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}const Nf=typeof window<"u";let Rl=Nf?()=>window.performance.now():()=>Date.now(),Bl=Nf?t=>requestAnimationFrame(t):F;const go=new Set;function zf(t){go.forEach(r=>{r.c(t)||(go.delete(r),r.f())}),go.size!==0&&Bl(zf)}function Hl(t){let r;return go.size===0&&Bl(zf),{promise:new Promise(e=>{go.add(r={c:t,f:e})}),abort(){go.delete(r)}}}const Vi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let Bs=!1;function Zd(){Bs=!0}function Qd(){Bs=!1}function xd(t,r,e,n){for(;t<r;){const i=t+(r-t>>1);e(i)<=n?t=i+1:r=i}return t}function $d(t){if(t.hydrate_init)return;t.hydrate_init=!0;let r=t.childNodes;if(t.nodeName==="HEAD"){const l=[];for(let u=0;u<r.length;u++){const c=r[u];c.claim_order!==void 0&&l.push(c)}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 u=r[l].claim_order,c=(i>0&&r[e[i]].claim_order<=u?i+1:xd(1,i,_=>r[e[_]].claim_order,u))-1;n[l]=e[c]+1;const f=c+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,u)=>l.claim_order-u.claim_order);for(let l=0,u=0;l<s.length;l++){for(;u<o.length&&s[l].claim_order>=o[u].claim_order;)u++;const c=u<o.length?o[u]:null;t.insertBefore(s[l],c)}}function eh(t,r){t.appendChild(r)}function Of(t){if(!t)return document;const r=t.getRootNode?t.getRootNode():t.ownerDocument;return r&&r.host?r:t.ownerDocument}function th(t){const r=Pe("style");return r.textContent="/* empty */",rh(Of(t),r),r.sheet}function rh(t,r){return eh(t.head||t,r),r.sheet}function Ht(t,r){if(Bs){for($d(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 nh(t,r,e){t.insertBefore(r,e||null)}function x(t,r,e){Bs&&!e?Ht(t,r):(r.parentNode!==t||r.nextSibling!=e)&&t.insertBefore(r,e||null)}function k(t){t.parentNode&&t.parentNode.removeChild(t)}function An(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function Pe(t){return document.createElement(t)}function mn(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function ii(t){return document.createTextNode(t)}function Sr(){return ii(" ")}function tt(){return ii("")}function Le(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 ih=["width","height"];function yi(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&&ih.indexOf(n)===-1?t[n]=r[n]:b(t,n,r[n])}function oh(t,r){Object.keys(r).forEach(e=>{sh(t,e,r[e])})}function sh(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 ga(t){return/-/.test(t)?oh:yi}function Ve(t){return Array.from(t.childNodes)}function Lf(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function Rf(t,r,e,n,i=!1){Lf(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 Bf(t,r,e,n){return Rf(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 Bf(t,r,e,Pe)}function Sn(t,r,e){return Bf(t,r,e,mn)}function wi(t,r){return Rf(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},()=>ii(r),!0)}function Vr(t){return wi(t," ")}function pa(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 Wl(t,r){const e=pa(t,"HTML_TAG_START",0),n=pa(t,"HTML_TAG_END",e+1);if(e===-1||n===-1)return new po(r);Lf(t);const i=t.splice(e,n-e+1);k(i[0]),k(i[i.length-1]);const o=i.slice(1,i.length-1);if(o.length===0)return new po(r);for(const s of o)s.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1;return new po(r,o)}function Ri(t,r){r=""+r,t.data!==r&&(t.data=r)}function ma(t,r){t.value=r==null?"":r}function W(t,r,e,n){e==null?t.style.removeProperty(r):t.style.setProperty(r,e,"")}function ba(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 lh(t){const r=t.querySelector(":checked");return r&&r.__value}function Hf(t,r,{bubbles:e=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:r,bubbles:e,cancelable:n})}class ah{constructor(r=!1){gr(this,"is_svg",!1);gr(this,"e");gr(this,"n");gr(this,"t");gr(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=mn(e.nodeName):this.e=Pe(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)nh(this.t,this.n[e],r)}p(r){this.d(),this.h(r),this.i(this.a)}d(){this.n.forEach(k)}}class po extends ah{constructor(e=!1,n){super(e);gr(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)x(this.t,this.n[n],e)}}function ya(t,r){return new t(r)}const vs=new Map;let ws=0;function uh(t){let r=5381,e=t.length;for(;e--;)r=(r<<5)-r^t.charCodeAt(e);return r>>>0}function ch(t,r){const e={stylesheet:th(r),rules:{}};return vs.set(t,e),e}function ks(t,r,e,n,i,o,s,a=0){const l=16.666/n;let u=`{
|
package/dist/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";var Md=Object.defineProperty;var Pd=(e,r,t)=>r in e?Md(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var kr=(e,r,t)=>Pd(e,typeof r!="symbol"?r+"":r,t);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.51.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function D(){}const Ss=e=>e;function Ti(e,r){for(const t in r)e[t]=r[t];return e}function Ef(e){return e()}function ia(){return Object.create(null)}function en(e){e.forEach(Ef)}function Wr(e){return typeof e=="function"}function Nd(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let Oo;function hi(e,r){return e===r?!0:(Oo||(Oo=document.createElement("a")),Oo.href=r,e===Oo.href)}function Br(e,r){return e!=e?r==r:e!==r}function zd(e){return Object.keys(e).length===0}function B(e,...r){if(e==null){for(const n of r)n(void 0);return D}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function il(e){let r;return B(e,t=>r=t)(),r}function hn(e,r,t){e.$$.on_destroy.push(B(r,t))}function Vs(e,r,t,n){if(e){const i=Af(e,r,t,n);return e[0](i)}}function Af(e,r,t,n){return e[1]&&n?Ti(t.ctx.slice(),e[1](n(r))):t.ctx}function Is(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 Ds(e,r,t,n,i,o){if(i){const s=Af(r,t,n,o);e.p(s,i)}}function Fs(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 Ys(e,r,t){return e.set(t),r}function Ts(e){return e&&Wr(e.destroy)?e.destroy:D}function oa(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const Cf=typeof window<"u";let Fl=Cf?()=>window.performance.now():()=>Date.now(),Tl=Cf?e=>requestAnimationFrame(e):D;const ao=new Set;function jf(e){ao.forEach(r=>{r.c(e)||(ao.delete(r),r.f())}),ao.size!==0&&Tl(jf)}function Ml(e){let r;return ao.size===0&&Tl(jf),{promise:new Promise(t=>{ao.add(r={c:e,f:t})}),abort(){ao.delete(r)}}}const ki=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Lt(e,r){e.appendChild(r)}function Sf(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function Od(e){const r=Pe("style");return r.textContent="/* empty */",Ld(Sf(e),r),r.sheet}function Ld(e,r){return Lt(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 yn(e,r){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(r)}function Pe(e){return document.createElement(e)}function kn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function li(e){return document.createTextNode(e)}function Ar(){return li(" ")}function hr(){return li("")}function ze(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 Rd=["width","height"];function _i(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&&Rd.indexOf(n)===-1?e[n]=r[n]:b(e,n,r[n])}function Bd(e,r){Object.keys(r).forEach(t=>{Hd(e,t,r[t])})}function Hd(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 sa(e){return/-/.test(e)?Bd:_i}function Wd(e){return Array.from(e.childNodes)}function Mi(e,r){r=""+r,e.data!==r&&(e.data=r)}function la(e,r){e.value=r==null?"":r}function H(e,r,t,n){t==null?e.style.removeProperty(r):e.style.setProperty(r,t,"")}function aa(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 Ud(e){const r=e.querySelector(":checked");return r&&r.__value}function Vf(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function ua(e,r){return new e(r)}const hs=new Map;let _s=0;function Gd(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function Yd(e,r){const t={stylesheet:Od(r),rules:{}};return hs.set(e,t),t}function gs(e,r,t,n,i,o,s,a=0){const l=16.666/n;let u=`{
|
|
@@ -2,7 +2,7 @@ var Rd = Object.defineProperty;
|
|
|
2
2
|
var Bd = (e, r, t) => r in e ? Rd(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var Er = (e, r, t) => Bd(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.51.0
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ var qd = Object.defineProperty;
|
|
|
2
2
|
var Kd = (t, r, e) => r in t ? qd(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
|
|
3
3
|
var gr = (t, r, e) => Kd(t, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.51.0
|
|
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 Md = Object.defineProperty;
|
|
|
2
2
|
var Pd = (e, r, t) => r in e ? Md(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var kr = (e, r, t) => Pd(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.51.0
|
|
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 Wl = Object.defineProperty;
|
|
|
2
2
|
var Gl = (r, t, e) => t in r ? Wl(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
|
|
3
3
|
var jr = (r, t, e) => Gl(r, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v32.
|
|
5
|
+
DivKit v32.51.0
|
|
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 Wl=Object.defineProperty;var Gl=(r,t,e)=>t in r?Wl(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var jr=(r,t,e)=>Gl(r,typeof t!="symbol"?t+"":t,e);/*!
|
|
2
|
-
DivKit v32.
|
|
2
|
+
DivKit v32.51.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function A(){}const ql=r=>r;function Jl(r){return r()}function Yl(){return Object.create(null)}function cs(r){r.forEach(Jl)}function Kl(r){return typeof r=="function"}function Xl(r,t){return r!=r?t==t:r!==t||r&&typeof r=="object"||typeof r=="function"}function y(r,...t){if(r==null){for(const i of t)i(void 0);return A}const e=r.subscribe(...t);return e.unsubscribe?()=>e.unsubscribe():e}function Lo(r){let t;return y(r,e=>t=e)(),t}function Zl(r,t,{bubbles:e=!1,cancelable:i=!1}={}){return new CustomEvent(r,{detail:t,bubbles:e,cancelable:i})}let Fn;function Vn(r){Fn=r}function wo(){if(!Fn)throw new Error("Function called outside component initialization");return Fn}function Jr(r){wo().$$.on_destroy.push(r)}function Ql(){const r=wo();return(t,e,{cancelable:i=!1}={})=>{const n=r.$$.callbacks[t];if(n){const o=Zl(t,e,{cancelable:i});return n.slice().forEach(l=>{l.call(r,o)}),!o.defaultPrevented}return!0}}function Mi(r,t){return wo().$$.context.set(r,t),t}function wr(r){return wo().$$.context.get(r)}const En=[],zs=[];let Yn=[];const Rs=[],il=Promise.resolve();let Ho=!1;function ec(){Ho||(Ho=!0,il.then(rc))}function ji(){return ec(),il}function tc(r){Yn.push(r)}const So=new Set;let rn=0;function rc(){if(rn!==0)return;const r=Fn;do{try{for(;rn<En.length;){const t=En[rn];rn++,Vn(t),ic(t.$$)}}catch(t){throw En.length=0,rn=0,t}for(Vn(null),En.length=0,rn=0;zs.length;)zs.pop()();for(let t=0;t<Yn.length;t+=1){const e=Yn[t];So.has(e)||(So.add(e),e())}Yn.length=0}while(En.length);for(;Rs.length;)Rs.pop()();Ho=!1,So.clear(),Vn(r)}function ic(r){if(r.fragment!==null){r.update(),cs(r.before_update);const t=r.dirty;r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(tc)}}function nc(r){return(r==null?void 0:r.length)!==void 0?r:Array.from(r)}const oc=["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"],sc=new Set([...oc]),ac=/[&"<]/g,lc=/[&<]/g;function dt(r,t=!1){const e=String(r),i=t?ac:lc;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 cc=/^(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/;function Bs(r){return cc.test(r)||r.toLowerCase()==="!doctype"}const uc=/[\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 fn(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=Uo(o):e.style=Uo(dc(e.style,o)))}let i="";return Object.keys(e).forEach(n=>{if(uc.test(n))return;const o=e[n];o===!0?i+=" "+n:sc.has(n.toLowerCase())?o&&(i+=" "+n):o!=null&&(i+=` ${n}="${o}"`)}),i}function dc(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 Gr(r){return typeof r=="string"||r&&typeof r=="object"?dt(r,!0):r}function gn(r){const t={};for(const e in r)t[e]=Gr(r[e]);return t}function Ir(r,t){r=nc(r);let e="";for(let i=0;i<r.length;i+=1)e+=t(r[i],i);return e}const fc={$$render:()=>""};function qt(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 Vo;function Er(r){function t(e,i,n,o,l){const c=Fn,f={on_destroy:Vo,context:new Map(l||(c?c.$$.context:[])),on_mount:[],before_update:[],after_update:[],callbacks:Yl()};Vn({$$:f});const d=r(e,i,n,o);return Vn(c),d}return{render:(e={},{$$slots:i={},context:n=new Map}={})=>{Vo=[];const o={title:"",head:"",css:new Set},l=t(o,e,{},i,n);return cs(Vo),{html:l,css:{code:Array.from(o.css).map(c=>c.code).join(`
|