@divkitframework/divkit 33.2.0 → 33.3.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 v33.
|
|
2
|
+
DivKit v33.3.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var Iy=Object.defineProperty;var Dy=(Di,ti,yi)=>ti in Di?Iy(Di,ti,{enumerable:!0,configurable:!0,writable:!0,value:yi}):Di[ti]=yi;var Cr=(Di,ti,yi)=>Dy(Di,typeof ti!="symbol"?ti+"":ti,yi);function Di(e){return BigInt(e)}const ti=Di("9223372036854775807"),yi=Di("-9223372036854775808");function cn(e){const r=Di(e);if(r>ti||r<yi)throw new Error("Integer overflow.");return r}const Zi=cn(0);function la(e){let r=e;return r<0&&(r=-r),r}function aa(e){let r=0;return e>0?r=1:e<0&&(r=-1),cn(r)}function Kd(e,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:e,consequent:r[3],alternate:r[7]}:e}function Xd(e,r){return r&&r[3]?{type:"TryExpression",test:e,alternate:r[3]}:e}function Yo(e,r){return r.length?r.reduce((t,n)=>({type:"BinaryExpression",operator:n[1],left:t,right:n[3]}),e):e}function ua(e,r){return r.length?r.reduce((t,n)=>({type:"LogicalExpression",operator:n[1],left:t,right:n[3]}),e):e}function Zd(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 Qd(e){return e==="true"||e==="false"?{type:"BooleanLiteral",value:e==="true"}:{type:"Variable",id:{type:"Identifier",name:e}}}function ca(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 xd(e){try{return cn(e)}catch{throw new Error(`Value ${e} can't be converted to Integer type.`)}}function fa(e){if(e==="'"||e==="\\")return e;throw new Error("Incorrect string escape")}function $d(e,r){function t(){this.constructor=e}t.prototype=r.prototype,e.prototype=new t}function fo(e,r,t,n){var i=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(i,fo.prototype),i.expected=r,i.found=t,i.location=n,i.name="SyntaxError",i}$d(fo,Error);function xs(e,r,t){return t=t||" ",e.length>r?e:(r-=e.length,t+=t.repeat(r),e+t.slice(0,r))}fo.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=xs("",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 v33.
|
|
2
|
+
DivKit v33.3.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var Oy=Object.defineProperty;var Ly=(M,ui,Xn)=>ui in M?Oy(M,ui,{enumerable:!0,configurable:!0,writable:!0,value:Xn}):M[ui]=Xn;var mr=(M,ui,Xn)=>Ly(M,typeof ui!="symbol"?ui+"":ui,Xn);function M(){}const ui=e=>e;function Xn(e,r){for(const t in r)e[t]=r[t];return e}function ga(e){return e()}function pa(){return Object.create(null)}function ln(e){e.forEach(ga)}function qr(e){return typeof e=="function"}function th(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let Zo;function yi(e,r){return e===r?!0:(Zo||(Zo=document.createElement("a")),Zo.href=r,e===Zo.href)}function Ur(e,r){return e!=e?r==r:e!==r}function rh(e){return Object.keys(e).length===0}function U(e,...r){if(e==null){for(const n of r)n(void 0);return M}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function il(e){let r;return U(e,t=>r=t)(),r}function En(e,r,t){e.$$.on_destroy.push(U(r,t))}function Qo(e,r,t,n){if(e){const i=ma(e,r,t,n);return e[0](i)}}function ma(e,r,t,n){return e[1]&&n?Xn(t.ctx.slice(),e[1](n(r))):t.ctx}function xo(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 $o(e,r,t,n,i,o){if(i){const s=ma(r,t,n,o);e.p(s,i)}}function es(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 ol(e,r,t){return e.set(t),r}function ts(e){return e&&qr(e.destroy)?e.destroy:M}function ba(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const ya=typeof window<"u";let sl=ya?()=>window.performance.now():()=>Date.now(),ll=ya?e=>requestAnimationFrame(e):M;const po=new Set;function va(e){po.forEach(r=>{r.c(e)||(po.delete(r),r.f())}),po.size!==0&&ll(va)}function al(e){let r;return po.size===0&&ll(va),{promise:new Promise(t=>{po.add(r={c:e,f:t})}),abort(){po.delete(r)}}}const Ci=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let rs=!1;function nh(){rs=!0}function ih(){rs=!1}function oh(e,r,t,n){for(;e<r;){const i=e+(r-e>>1);t(i)<=n?e=i+1:r=i}return e}function sh(e){if(e.hydrate_init)return;e.hydrate_init=!0;let r=e.childNodes;if(e.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 t=new Int32Array(r.length+1),n=new Int32Array(r.length);t[0]=-1;let i=0;for(let l=0;l<r.length;l++){const u=r[l].claim_order,c=(i>0&&r[t[i]].claim_order<=u?i+1:oh(1,i,d=>r[t[d]].claim_order,u))-1;n[l]=t[c]+1;const f=c+1;t[f]=l,i=Math.max(f,i)}const o=[],s=[];let a=r.length-1;for(let l=t[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;e.insertBefore(s[l],c)}}function lh(e,r){e.appendChild(r)}function wa(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function ah(e){const r=Me("style");return r.textContent="/* empty */",uh(wa(e),r),r.sheet}function uh(e,r){return lh(e.head||e,r),r.sheet}function Lt(e,r){if(rs){for(sh(e),(e.actual_end_child===void 0||e.actual_end_child!==null&&e.actual_end_child.parentNode!==e)&&(e.actual_end_child=e.firstChild);e.actual_end_child!==null&&e.actual_end_child.claim_order===void 0;)e.actual_end_child=e.actual_end_child.nextSibling;r!==e.actual_end_child?(r.claim_order!==void 0||r.parentNode!==e)&&e.insertBefore(r,e.actual_end_child):e.actual_end_child=r.nextSibling}else(r.parentNode!==e||r.nextSibling!==null)&&e.appendChild(r)}function ch(e,r,t){e.insertBefore(r,t||null)}function $(e,r,t){rs&&!t?Lt(e,r):(r.parentNode!==e||r.nextSibling!=t)&&e.insertBefore(r,t||null)}function A(e){e.parentNode&&e.parentNode.removeChild(e)}function Vn(e,r){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(r)}function Me(e){return document.createElement(e)}function An(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function oi(e){return document.createTextNode(e)}function jr(){return oi(" ")}function tt(){return oi("")}function Oe(e,r,t,n){return e.addEventListener(r,t,n),()=>e.removeEventListener(r,t,n)}function y(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}const fh=["width","height"];function vi(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&&fh.indexOf(n)===-1?e[n]=r[n]:y(e,n,r[n])}function dh(e,r){Object.keys(r).forEach(t=>{hh(e,t,r[t])})}function hh(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:y(e,r,t)}function ka(e){return/-/.test(e)?dh:vi}function Se(e){return Array.from(e.childNodes)}function Ea(e){e.claim_info===void 0&&(e.claim_info={last_index:0,total_claimed:0})}function Aa(e,r,t,n,i=!1){Ea(e);const o=(()=>{for(let s=e.claim_info.last_index;s<e.length;s++){const a=e[s];if(r(a)){const l=t(a);return l===void 0?e.splice(s,1):e[s]=l,i||(e.claim_info.last_index=s),a}}for(let s=e.claim_info.last_index-1;s>=0;s--){const a=e[s];if(r(a)){const l=t(a);return l===void 0?e.splice(s,1):e[s]=l,i?l===void 0&&e.claim_info.last_index--:e.claim_info.last_index=s,a}}return n()})();return o.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1,o}function Ca(e,r,t,n){return Aa(e,i=>i.nodeName===r,i=>{const o=[];for(let s=0;s<i.attributes.length;s++){const a=i.attributes[s];t[a.name]||o.push(a.name)}o.forEach(s=>i.removeAttribute(s))},()=>n(r))}function Le(e,r,t){return Ca(e,r,t,Me)}function Tn(e,r,t){return Ca(e,r,t,An)}function wi(e,r){return Aa(e,t=>t.nodeType===3,t=>{const n=""+r;if(t.data.startsWith(n)){if(t.data.length!==n.length)return t.splitText(n.length)}else t.data=n},()=>oi(r),!0)}function Sr(e){return wi(e," ")}function ja(e,r,t){for(let n=t;n<e.length;n+=1){const i=e[n];if(i.nodeType===8&&i.textContent.trim()===r)return n}return-1}function ul(e,r){const t=ja(e,"HTML_TAG_START",0),n=ja(e,"HTML_TAG_END",t+1);if(t===-1||n===-1)return new mo(r);Ea(e);const i=e.splice(t,n-t+1);A(i[0]),A(i[i.length-1]);const o=i.slice(1,i.length-1);if(o.length===0)return new mo(r);for(const s of o)s.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1;return new mo(r,o)}function Ni(e,r){r=""+r,e.data!==r&&(e.data=r)}function Sa(e,r){e.value=r==null?"":r}function J(e,r,t,n){t==null?e.style.removeProperty(r):e.style.setProperty(r,t,"")}function Va(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 _h(e){const r=e.querySelector(":checked");return r&&r.__value}function Ia(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}class gh{constructor(r=!1){mr(this,"is_svg",!1);mr(this,"e");mr(this,"n");mr(this,"t");mr(this,"a");this.is_svg=r,this.e=this.n=null}c(r){this.h(r)}m(r,t,n=null){this.e||(this.is_svg?this.e=An(t.nodeName):this.e=Me(t.nodeType===11?"TEMPLATE":t.nodeName),this.t=t.tagName!=="TEMPLATE"?t:t.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 t=0;t<this.n.length;t+=1)ch(this.t,this.n[t],r)}p(r){this.d(),this.h(r),this.i(this.a)}d(){this.n.forEach(A)}}class mo extends gh{constructor(t=!1,n){super(t);mr(this,"l");this.e=this.n=null,this.l=n}c(t){this.l?this.n=this.l:super.c(t)}i(t){for(let n=0;n<this.n.length;n+=1)$(this.t,this.n[n],t)}}function Da(e,r){return new e(r)}const ns=new Map;let is=0;function ph(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function mh(e,r){const t={stylesheet:ah(r),rules:{}};return ns.set(e,t),t}function os(e,r,t,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 v33.
|
|
2
|
+
DivKit v33.3.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/(function(){"use strict";var by=Object.defineProperty;var yy=(T,ni,Gn)=>ni in T?by(T,ni,{enumerable:!0,configurable:!0,writable:!0,value:Gn}):T[ni]=Gn;var Er=(T,ni,Gn)=>yy(T,typeof ni!="symbol"?ni+"":ni,Gn);function T(){}const ni=e=>e;function Gn(e,r){for(const t in r)e[t]=r[t];return e}function sa(e){return e()}function la(){return Object.create(null)}function rn(e){e.forEach(sa)}function Wr(e){return typeof e=="function"}function Wd(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let Uo;function hi(e,r){return e===r?!0:(Uo||(Uo=document.createElement("a")),Uo.href=r,e===Uo.href)}function Rr(e,r){return e!=e?r==r:e!==r}function Ud(e){return Object.keys(e).length===0}function B(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 Zs(e){let r;return B(e,t=>r=t)(),r}function yn(e,r,t){e.$$.on_destroy.push(B(r,t))}function Go(e,r,t,n){if(e){const i=aa(e,r,t,n);return e[0](i)}}function aa(e,r,t,n){return e[1]&&n?Gn(t.ctx.slice(),e[1](n(r))):t.ctx}function Yo(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 qo(e,r,t,n,i,o){if(i){const s=aa(r,t,n,o);e.p(s,i)}}function Ko(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 Qs(e,r,t){return e.set(t),r}function Jo(e){return e&&Wr(e.destroy)?e.destroy:T}function ua(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const ca=typeof window<"u";let xs=ca?()=>window.performance.now():()=>Date.now(),$s=ca?e=>requestAnimationFrame(e):T;const uo=new Set;function fa(e){uo.forEach(r=>{r.c(e)||(uo.delete(r),r.f())}),uo.size!==0&&$s(fa)}function el(e){let r;return uo.size===0&&$s(fa),{promise:new Promise(t=>{uo.add(r={c:e,f:t})}),abort(){uo.delete(r)}}}const yi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Nt(e,r){e.appendChild(r)}function da(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function Gd(e){const r=Pe("style");return r.textContent="/* empty */",Yd(da(e),r),r.sheet}function Yd(e,r){return Nt(e.head||e,r),r.sheet}function $(e,r,t){e.insertBefore(r,t||null)}function x(e){e.parentNode&&e.parentNode.removeChild(e)}function En(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 jn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ii(e){return document.createTextNode(e)}function kr(){return ii(" ")}function yr(){return ii("")}function Ne(e,r,t,n){return e.addEventListener(r,t,n),()=>e.removeEventListener(r,t,n)}function y(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}const qd=["width","height"];function gi(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&&qd.indexOf(n)===-1?e[n]=r[n]:y(e,n,r[n])}function Kd(e,r){Object.keys(r).forEach(t=>{Jd(e,t,r[t])})}function Jd(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:y(e,r,t)}function _a(e){return/-/.test(e)?Kd:gi}function Xd(e){return Array.from(e.childNodes)}function Ii(e,r){r=""+r,e.data!==r&&(e.data=r)}function ha(e,r){e.value=r==null?"":r}function q(e,r,t,n){t==null?e.style.removeProperty(r):e.style.setProperty(r,t,"")}function ga(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 Zd(e){const r=e.querySelector(":checked");return r&&r.__value}function pa(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function ma(e,r){return new e(r)}const Xo=new Map;let Zo=0;function Qd(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function xd(e,r){const t={stylesheet:Gd(r),rules:{}};return Xo.set(e,t),t}function Qo(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 Xd=Object.defineProperty;var Zd=(e,r,t)=>r in e?Xd(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var Cr=(e,r,t)=>Zd(e,typeof r!="symbol"?r+"":r,t);/*!
|
|
2
|
-
DivKit v33.
|
|
2
|
+
DivKit v33.3.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function Ll(e){return BigInt(e)}const Ro=Ll("9223372036854775807"),Lo=Ll("-9223372036854775808");function fn(e){const r=Ll(e);if(r>Ro||r<Lo)throw new Error("Integer overflow.");return r}const $i=fn(0);function Rf(e){let r=e;return r<0&&(r=-r),r}function Lf(e){let r=0;return e>0?r=1:e<0&&(r=-1),fn(r)}function Qd(e,r){return r&&r[3]&&r[7]?{type:"ConditionalExpression",test:e,consequent:r[3],alternate:r[7]}:e}function xd(e,r){return r&&r[3]?{type:"TryExpression",test:e,alternate:r[3]}:e}function Yo(e,r){return r.length?r.reduce((t,n)=>({type:"BinaryExpression",operator:n[1],left:t,right:n[3]}),e):e}function da(e,r){return r.length?r.reduce((t,n)=>({type:"LogicalExpression",operator:n[1],left:t,right:n[3]}),e):e}function $d(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 eh(e){return e==="true"||e==="false"?{type:"BooleanLiteral",value:e==="true"}:{type:"Variable",id:{type:"Identifier",name:e}}}function ha(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 th(e){try{return fn(e)}catch{throw new Error(`Value ${e} can't be converted to Integer type.`)}}function _a(e){if(e==="'"||e==="\\")return e;throw new Error("Incorrect string escape")}function rh(e,r){function t(){this.constructor=e}t.prototype=r.prototype,e.prototype=new t}function bo(e,r,t,n){var i=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(i,bo.prototype),i.expected=r,i.found=t,i.location=n,i.name="SyntaxError",i}rh(bo,Error);function xs(e,r,t){return t=t||" ",e.length>r?e:(r-=e.length,t+=t.repeat(r),e+t.slice(0,r))}bo.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=xs("",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 th=Object.defineProperty;var rh=(e,r,t)=>r in e?th(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var mr=(e,r,t)=>rh(e,typeof r!="symbol"?r+"":r,t);/*!
|
|
2
|
-
DivKit v33.
|
|
2
|
+
DivKit v33.3.0
|
|
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 Ws=e=>e;function Ti(e,r){for(const t in r)e[t]=r[t];return e}function Uf(e){return e()}function va(){return Object.create(null)}function ln(e){e.forEach(Uf)}function Zr(e){return typeof e=="function"}function nh(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let xo;function vi(e,r){return e===r?!0:(xo||(xo=document.createElement("a")),xo.href=r,e===xo.href)}function Yr(e,r){return e!=e?r==r:e!==r}function ih(e){return Object.keys(e).length===0}function q(e,...r){if(e==null){for(const n of r)n(void 0);return P}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function bl(e){let r;return q(e,t=>r=t)(),r}function jn(e,r,t){e.$$.on_destroy.push(q(r,t))}function Us(e,r,t,n){if(e){const i=Gf(e,r,t,n);return e[0](i)}}function Gf(e,r,t,n){return e[1]&&n?Ti(t.ctx.slice(),e[1](n(r))):t.ctx}function Gs(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 Ys(e,r,t,n,i,o){if(i){const s=Gf(r,t,n,o);e.p(s,i)}}function qs(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 il(e,r,t){return e.set(t),r}function Ks(e){return e&&Zr(e.destroy)?e.destroy:P}function wa(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const Yf=typeof window<"u";let Yl=Yf?()=>window.performance.now():()=>Date.now(),ql=Yf?e=>requestAnimationFrame(e):P;const wo=new Set;function qf(e){wo.forEach(r=>{r.c(e)||(wo.delete(r),r.f())}),wo.size!==0&&ql(qf)}function Kl(e){let r;return wo.size===0&&ql(qf),{promise:new Promise(t=>{wo.add(r={c:e,f:t})}),abort(){wo.delete(r)}}}const Fi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;let Js=!1;function oh(){Js=!0}function sh(){Js=!1}function lh(e,r,t,n){for(;e<r;){const i=e+(r-e>>1);t(i)<=n?e=i+1:r=i}return e}function ah(e){if(e.hydrate_init)return;e.hydrate_init=!0;let r=e.childNodes;if(e.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 t=new Int32Array(r.length+1),n=new Int32Array(r.length);t[0]=-1;let i=0;for(let l=0;l<r.length;l++){const u=r[l].claim_order,c=(i>0&&r[t[i]].claim_order<=u?i+1:lh(1,i,d=>r[t[d]].claim_order,u))-1;n[l]=t[c]+1;const f=c+1;t[f]=l,i=Math.max(f,i)}const o=[],s=[];let a=r.length-1;for(let l=t[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;e.insertBefore(s[l],c)}}function uh(e,r){e.appendChild(r)}function Kf(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function ch(e){const r=Ne("style");return r.textContent="/* empty */",fh(Kf(e),r),r.sheet}function fh(e,r){return uh(e.head||e,r),r.sheet}function Rt(e,r){if(Js){for(ah(e),(e.actual_end_child===void 0||e.actual_end_child!==null&&e.actual_end_child.parentNode!==e)&&(e.actual_end_child=e.firstChild);e.actual_end_child!==null&&e.actual_end_child.claim_order===void 0;)e.actual_end_child=e.actual_end_child.nextSibling;r!==e.actual_end_child?(r.claim_order!==void 0||r.parentNode!==e)&&e.insertBefore(r,e.actual_end_child):e.actual_end_child=r.nextSibling}else(r.parentNode!==e||r.nextSibling!==null)&&e.appendChild(r)}function dh(e,r,t){e.insertBefore(r,t||null)}function $(e,r,t){Js&&!t?Rt(e,r):(r.parentNode!==e||r.nextSibling!=t)&&e.insertBefore(r,t||null)}function A(e){e.parentNode&&e.parentNode.removeChild(e)}function In(e,r){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(r)}function Ne(e){return document.createElement(e)}function Cn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function si(e){return document.createTextNode(e)}function jr(){return si(" ")}function tt(){return si("")}function Le(e,r,t,n){return e.addEventListener(r,t,n),()=>e.removeEventListener(r,t,n)}function y(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}const hh=["width","height"];function wi(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&&hh.indexOf(n)===-1?e[n]=r[n]:y(e,n,r[n])}function _h(e,r){Object.keys(r).forEach(t=>{gh(e,t,r[t])})}function gh(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:y(e,r,t)}function ka(e){return/-/.test(e)?_h:wi}function Se(e){return Array.from(e.childNodes)}function Jf(e){e.claim_info===void 0&&(e.claim_info={last_index:0,total_claimed:0})}function Xf(e,r,t,n,i=!1){Jf(e);const o=(()=>{for(let s=e.claim_info.last_index;s<e.length;s++){const a=e[s];if(r(a)){const l=t(a);return l===void 0?e.splice(s,1):e[s]=l,i||(e.claim_info.last_index=s),a}}for(let s=e.claim_info.last_index-1;s>=0;s--){const a=e[s];if(r(a)){const l=t(a);return l===void 0?e.splice(s,1):e[s]=l,i?l===void 0&&e.claim_info.last_index--:e.claim_info.last_index=s,a}}return n()})();return o.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1,o}function Zf(e,r,t,n){return Xf(e,i=>i.nodeName===r,i=>{const o=[];for(let s=0;s<i.attributes.length;s++){const a=i.attributes[s];t[a.name]||o.push(a.name)}o.forEach(s=>i.removeAttribute(s))},()=>n(r))}function Re(e,r,t){return Zf(e,r,t,Ne)}function Fn(e,r,t){return Zf(e,r,t,Cn)}function ki(e,r){return Xf(e,t=>t.nodeType===3,t=>{const n=""+r;if(t.data.startsWith(n)){if(t.data.length!==n.length)return t.splitText(n.length)}else t.data=n},()=>si(r),!0)}function Sr(e){return ki(e," ")}function Ea(e,r,t){for(let n=t;n<e.length;n+=1){const i=e[n];if(i.nodeType===8&&i.textContent.trim()===r)return n}return-1}function Jl(e,r){const t=Ea(e,"HTML_TAG_START",0),n=Ea(e,"HTML_TAG_END",t+1);if(t===-1||n===-1)return new ko(r);Jf(e);const i=e.splice(t,n-t+1);A(i[0]),A(i[i.length-1]);const o=i.slice(1,i.length-1);if(o.length===0)return new ko(r);for(const s of o)s.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1;return new ko(r,o)}function Li(e,r){r=""+r,e.data!==r&&(e.data=r)}function Aa(e,r){e.value=r==null?"":r}function J(e,r,t,n){t==null?e.style.removeProperty(r):e.style.setProperty(r,t,"")}function Ca(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 ph(e){const r=e.querySelector(":checked");return r&&r.__value}function Qf(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}class mh{constructor(r=!1){mr(this,"is_svg",!1);mr(this,"e");mr(this,"n");mr(this,"t");mr(this,"a");this.is_svg=r,this.e=this.n=null}c(r){this.h(r)}m(r,t,n=null){this.e||(this.is_svg?this.e=Cn(t.nodeName):this.e=Ne(t.nodeType===11?"TEMPLATE":t.nodeName),this.t=t.tagName!=="TEMPLATE"?t:t.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 t=0;t<this.n.length;t+=1)dh(this.t,this.n[t],r)}p(r){this.d(),this.h(r),this.i(this.a)}d(){this.n.forEach(A)}}class ko extends mh{constructor(t=!1,n){super(t);mr(this,"l");this.e=this.n=null,this.l=n}c(t){this.l?this.n=this.l:super.c(t)}i(t){for(let n=0;n<this.n.length;n+=1)$(this.t,this.n[n],t)}}function ja(e,r){return new e(r)}const Vs=new Map;let Is=0;function bh(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function yh(e,r){const t={stylesheet:ch(r),rules:{}};return Vs.set(e,t),t}function Ds(e,r,t,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 Wd=Object.defineProperty;var Ud=(e,r,t)=>r in e?Wd(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var kr=(e,r,t)=>Ud(e,typeof r!="symbol"?r+"":r,t);/*!
|
|
2
|
-
DivKit v33.
|
|
2
|
+
DivKit v33.3.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function M(){}const Ns=e=>e;function Ci(e,r){for(const t in r)e[t]=r[t];return e}function Mf(e){return e()}function fa(){return Object.create(null)}function rn(e){e.forEach(Mf)}function qr(e){return typeof e=="function"}function Gd(e,r){return e!=e?r==r:e!==r||e&&typeof e=="object"||typeof e=="function"}let Yo;function gi(e,r){return e===r?!0:(Yo||(Yo=document.createElement("a")),Yo.href=r,e===Yo.href)}function Hr(e,r){return e!=e?r==r:e!==r}function Yd(e){return Object.keys(e).length===0}function H(e,...r){if(e==null){for(const n of r)n(void 0);return M}const t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function cl(e){let r;return H(e,t=>r=t)(),r}function vn(e,r,t){e.$$.on_destroy.push(H(r,t))}function zs(e,r,t,n){if(e){const i=Pf(e,r,t,n);return e[0](i)}}function Pf(e,r,t,n){return e[1]&&n?Ci(t.ctx.slice(),e[1](n(r))):t.ctx}function Os(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 Ls(e,r,t,n,i,o){if(i){const s=Pf(r,t,n,o);e.p(s,i)}}function Rs(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 Zs(e,r,t){return e.set(t),r}function Bs(e){return e&&qr(e.destroy)?e.destroy:M}function da(e){const r=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[e,"px"]}const Nf=typeof window<"u";let Ol=Nf?()=>window.performance.now():()=>Date.now(),Ll=Nf?e=>requestAnimationFrame(e):M;const go=new Set;function zf(e){go.forEach(r=>{r.c(e)||(go.delete(r),r.f())}),go.size!==0&&Ll(zf)}function Rl(e){let r;return go.size===0&&Ll(zf),{promise:new Promise(t=>{go.add(r={c:e,f:t})}),abort(){go.delete(r)}}}const ji=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function zt(e,r){e.appendChild(r)}function Of(e){if(!e)return document;const r=e.getRootNode?e.getRootNode():e.ownerDocument;return r&&r.host?r:e.ownerDocument}function qd(e){const r=Pe("style");return r.textContent="/* empty */",Kd(Of(e),r),r.sheet}function Kd(e,r){return zt(e.head||e,r),r.sheet}function $(e,r,t){e.insertBefore(r,t||null)}function x(e){e.parentNode&&e.parentNode.removeChild(e)}function An(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 Sn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function fi(e){return document.createTextNode(e)}function Er(){return fi(" ")}function vr(){return fi("")}function ze(e,r,t,n){return e.addEventListener(r,t,n),()=>e.removeEventListener(r,t,n)}function y(e,r,t){t==null?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}const Jd=["width","height"];function pi(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&&Jd.indexOf(n)===-1?e[n]=r[n]:y(e,n,r[n])}function Xd(e,r){Object.keys(r).forEach(t=>{Zd(e,t,r[t])})}function Zd(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:y(e,r,t)}function ha(e){return/-/.test(e)?Xd:pi}function Qd(e){return Array.from(e.childNodes)}function Fi(e,r){r=""+r,e.data!==r&&(e.data=r)}function _a(e,r){e.value=r==null?"":r}function q(e,r,t,n){t==null?e.style.removeProperty(r):e.style.setProperty(r,t,"")}function ga(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 xd(e){const r=e.querySelector(":checked");return r&&r.__value}function Lf(e,r,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:r,bubbles:t,cancelable:n})}function pa(e,r){return new e(r)}const vs=new Map;let ks=0;function $d(e){let r=5381,t=e.length;for(;t--;)r=(r<<5)-r^e.charCodeAt(t);return r>>>0}function eh(e,r){const t={stylesheet:qd(r),rules:{}};return vs.set(e,t),t}function Es(e,r,t,n,i,o,s,a=0){const l=16.666/n;let u=`{
|
|
@@ -2,7 +2,7 @@ var Kd = Object.defineProperty;
|
|
|
2
2
|
var Xd = (e, r, t) => r in e ? Kd(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var Cr = (e, r, t) => Xd(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v33.
|
|
5
|
+
DivKit v33.3.0
|
|
6
6
|
https://github.com/divkit/divkit
|
|
7
7
|
@licence Apache-2.0
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@ var th = Object.defineProperty;
|
|
|
2
2
|
var rh = (e, r, t) => r in e ? th(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var mr = (e, r, t) => rh(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v33.
|
|
5
|
+
DivKit v33.3.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 Wd = Object.defineProperty;
|
|
|
2
2
|
var Ud = (e, r, t) => r in e ? Wd(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var kr = (e, r, t) => Ud(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v33.
|
|
5
|
+
DivKit v33.3.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 Ql = Object.defineProperty;
|
|
|
2
2
|
var ec = (r, t, e) => t in r ? Ql(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
|
|
3
3
|
var Fr = (r, t, e) => ec(r, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
/*!
|
|
5
|
-
DivKit v33.
|
|
5
|
+
DivKit v33.3.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 Ql=Object.defineProperty;var ec=(r,t,e)=>t in r?Ql(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var Fr=(r,t,e)=>ec(r,typeof t!="symbol"?t+"":t,e);/*!
|
|
2
|
-
DivKit v33.
|
|
2
|
+
DivKit v33.3.0
|
|
3
3
|
https://github.com/divkit/divkit
|
|
4
4
|
@licence Apache-2.0
|
|
5
5
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function E(){}const tc=r=>r;function rc(r){return r()}function ic(){return Object.create(null)}function us(r){r.forEach(rc)}function nc(r){return typeof r=="function"}function oc(r,t){return r!=r?t==t:r!==t||r&&typeof r=="object"||typeof r=="function"}function $(r,...t){if(r==null){for(const i of t)i(void 0);return E}const e=r.subscribe(...t);return e.unsubscribe?()=>e.unsubscribe():e}function Wo(r){let t;return $(r,e=>t=e)(),t}function sc(r,t,{bubbles:e=!1,cancelable:i=!1}={}){return new CustomEvent(r,{detail:t,bubbles:e,cancelable:i})}let In;function Fn(r){In=r}function jo(){if(!In)throw new Error("Function called outside component initialization");return In}function Xr(r){jo().$$.on_destroy.push(r)}function ac(){const r=jo();return(t,e,{cancelable:i=!1}={})=>{const n=r.$$.callbacks[t];if(n){const o=sc(t,e,{cancelable:i});return n.slice().forEach(l=>{l.call(r,o)}),!o.defaultPrevented}return!0}}function zi(r,t){return jo().$$.context.set(r,t),t}function xr(r){return jo().$$.context.get(r)}const An=[],Rs=[];let Kn=[];const Ls=[],al=Promise.resolve();let Uo=!1;function lc(){Uo||(Uo=!0,al.then(uc))}function Fi(){return lc(),al}function cc(r){Kn.push(r)}const So=new Set;let sn=0;function uc(){if(sn!==0)return;const r=In;do{try{for(;sn<An.length;){const t=An[sn];sn++,Fn(t),dc(t.$$)}}catch(t){throw An.length=0,sn=0,t}for(Fn(null),An.length=0,sn=0;Rs.length;)Rs.pop()();for(let t=0;t<Kn.length;t+=1){const e=Kn[t];So.has(e)||(So.add(e),e())}Kn.length=0}while(An.length);for(;Ls.length;)Ls.pop()();Uo=!1,So.clear(),Fn(r)}function dc(r){if(r.fragment!==null){r.update(),us(r.before_update);const t=r.dirty;r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(cc)}}function fc(r){return(r==null?void 0:r.length)!==void 0?r:Array.from(r)}const gc=["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"],hc=new Set([...gc]),vc=/[&"<]/g,pc=/[&<]/g;function ct(r,t=!1){const e=String(r),i=t?vc:pc;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 mc=/^(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/;function Hs(r){return mc.test(r)||r.toLowerCase()==="!doctype"}const _c=/[\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 hn(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=Go(o):e.style=Go(bc(e.style,o)))}let i="";return Object.keys(e).forEach(n=>{if(_c.test(n))return;const o=e[n];o===!0?i+=" "+n:hc.has(n.toLowerCase())?o&&(i+=" "+n):o!=null&&(i+=` ${n}="${o}"`)}),i}function bc(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 Yr(r){return typeof r=="string"||r&&typeof r=="object"?ct(r,!0):r}function vn(r){const t={};for(const e in r)t[e]=Yr(r[e]);return t}function Rr(r,t){r=fc(r);let e="";for(let i=0;i<r.length;i+=1)e+=t(r[i],i);return e}const yc={$$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 Fo;function Dr(r){function t(e,i,n,o,l){const c=In,f={on_destroy:Fo,context:new Map(l||(c?c.$$.context:[])),on_mount:[],before_update:[],after_update:[],callbacks:ic()};Fn({$$:f});const d=r(e,i,n,o);return Fn(c),d}return{render:(e={},{$$slots:i={},context:n=new Map}={})=>{Fo=[];const o={title:"",head:"",css:new Set},l=t(o,e,{},i,n);return us(Fo),{html:l,css:{code:Array.from(o.css).map(c=>c.code).join(`
|