1"use strict";(self.webpackChunkpixfort_core=self.webpackChunkpixfort_core||[]).push([[8096],{4085(t,e,i){i.r(e),i.d(e,{CONNECT_EVENT:()=>F,Digit:()=>L,UPDATE_EVENT:()=>B,canAnimate:()=>S,continuous:()=>n,default:()=>I,define:()=>r,formatToData:()=>o,prefersReducedMotion:()=>d,renderInnerHTML:()=>D});const s=new WeakMap,n={onUpdate(t,e,i){if(s.set(i,void 0),!i.computedTrend)return;const n=e.integer.concat(e.fraction).filter(t=>"integer"===t.type||"fraction"===t.type),a=t.integer.concat(t.fraction).filter(t=>"integer"===t.type||"fraction"===t.type),r=n.find(t=>!a.find(e=>e.pos===t.pos&&e.value===t.value)),o=a.find(t=>!n.find(e=>t.pos===e.pos&&t.value===e.value));s.set(i,((t,e)=>null==t?e:null==e?t:Math.max(t,e))(null==r?void 0:r.pos,null==o?void 0:o.pos))},getDelta(t,e,i){const n=t-e,a=s.get(i.flow);if(!n&&null!=a&&a>=i.pos)return i.length*i.flow.computedTrend}},a=(t,e,i)=>{const s=document.createElement(t),[n,a]=Array.isArray(e)?[void 0,e]:[e,i];return n&&Object.assign(s,n),null==a||a.forEach(t=>s.appendChild(t)),s},r=(t,e)=>{!customElements.get(t)&&customElements.define(t,e)};function o(t,e,i,s){const n=e.formatToParts(t);i&&n.unshift({type:"prefix",value:i}),s&&n.push({type:"suffix",value:s});const a=[],r=[],o=[],l=[],h={},c=t=>`${t}:${h[t]=(h[t]??-1)+1}`;let p="",d=!1,u=!1;for(const t of n){p+=t.value;const e="minusSign"===t.type||"plusSign"===t.type?"sign":t.type;"integer"===e?(d=!0,r.push(...t.value.split("").map(t=>({type:e,value:parseInt(t)})))):"group"===e?r.push({type:e,value:t.value}):"decimal"===e?(u=!0,o.push({type:e,value:t.value,key:c(e)})):"fraction"===e?o.push(...t.value.split("").map(t=>({type:e,value:parseInt(t),key:c(e),pos:-1-h[e]}))):(d||u?l:a).push({type:e,value:t.value,key:c(e)})}const m=[];for(let t=r.length-1;t>=0;t--){const e=r[t];m.unshift("integer"===e.type?{...e,key:c(e.type),pos:h[e.type]}:{...e,key:c(e.type)})}return{pre:a,integer:m,fraction:o,post:l,valueAsString:p,value:"string"==typeof t?parseFloat(t):t}}const l=String.raw,h=String.raw,c=(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch{return!1}return!0})(),p=typeof CSS<"u"&&CSS.supports&&CSS.supports("line-height","mod(1,1)"),d=typeof matchMedia<"u"?matchMedia("(prefers-reduced-motion: reduce)"):null,u="--_number-flow-d-opacity",m="--_number-flow-d-width",f="--_number-flow-dx",g="--_number-flow-d",v=(()=>{try{return CSS.registerProperty({name:u,syntax:"<number>",inherits:!1,initialValue:"0"}),CSS.registerProperty({name:f,syntax:"<length>",inherits:!0,initialValue:"0px"}),CSS.registerProperty({name:m,syntax:"<number>",inherits:!1,initialValue:"0"}),CSS.registerProperty({name:g,syntax:"<number>",inherits:!0,initialValue:"0"}),!0}catch{return!1}})(),y="var(--number-flow-char-height, 1em)",_="round(nearest, calc(var(--number-flow-mask-height, 0.25em) / 2), 1px)",w=`calc(${_} * 2)`,b="var(--number-flow-mask-width, 0.5em)",$=`calc(${b} / var(--scale-x))`,x="#000 0, transparent 71%",C=h`:host{display:inline-block;direction:ltr;white-space:nowrap;isolation:isolate;line-height:${y} !important}.number,.number__inner{display:inline-block;transform-origin:left top}:host([data-will-change]) :is(.number,.number__inner,.section,.digit,.digit__num,.symbol){will-change:transform}.number{--scale-x:calc(1 + var(${m}) / var(--width));transform:translateX(var(${f})) scaleX(var(--scale-x));margin:0 calc(-1 * ${b});position:relative;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 ${$},#000 calc(100% - ${$}),transparent ),linear-gradient(to bottom,transparent 0,#000 ${w},#000 calc(100% - ${w}),transparent 100% ),radial-gradient(at bottom right,${x}),radial-gradient(at bottom left,${x}),radial-gradient(at top left,${x}),radial-gradient(at top right,${x});-webkit-mask-size:100% calc(100% - ${w} * 2),calc(100% - ${$} * 2) 100%,${$} ${w},${$} ${w},${$} ${w},${$} ${w};-webkit-mask-position:center,center,top left,top right,bottom right,bottom left;-webkit-mask-repeat:no-repeat}.number__inner{padding:${_} ${b};transform:scaleX(calc(1 / var(--scale-x))) translateX(calc(-1 * var(${f})))}:host > :not(.number){z-index:5}.section,.symbol{display:inline-block;position:relative;isolation:isolate}.section::after{content:'\200b';display:inline-block}.section--justify-left{transform-origin:center left}.section--justify-right{transform-origin:center right}.section > [inert],.symbol > [inert]{margin:0 !important;position:absolute !important;z-index:-1}.digit{display:inline-block;position:relative;--c:var(--current) + var(${g})}.digit__num,.number .section::after{padding:${_} 0}.digit__num{display:inline-block;--offset-raw:mod(var(--length) + var(--n) - mod(var(--c),var(--length)),var(--length));--offset:calc( var(--offset-raw) - var(--length) * round(down,var(--offset-raw) / (var(--length) / 2),1) );--y:clamp(-100%,var(--offset) * 100%,100%);transform:translateY(var(--y))}.digit__num[inert]{position:absolute;top:0;left:50%;transform:translateX(-50%) translateY(var(--y))}.digit:not(.is-spinning) .digit__num[inert]{display:none}.symbol__value{display:inline-block;mix-blend-mode:plus-lighter;white-space:pre}.section--justify-left .symbol > [inert]{left:0}.section--justify-right .symbol > [inert]{right:0}.animate-presence{opacity:calc(1 + var(${u}))}`,E=HTMLElement,k=h`:host{display:inline-block;direction:ltr;white-space:nowrap;line-height:${y} !important}span{display:inline-block}:host([data-will-change]) span{will-change:transform}.number,.digit{padding:${_} 0}.symbol{white-space:pre}`,A=(t,e)=>`<span part="${e}">${t.reduce((t,e)=>t+(t=>`<span class="${"integer"===t.type||"fraction"===t.type?"digit":"symbol"}" part="${"integer"===t.type||"fraction"===t.type?`digit ${t.type}-digit`:`symbol ${t.type}`}">${t.value}</span>`)(e),"")}</span>`,S=p&&c&&v;class U extends E{constructor(){super(),this.created=!1,this.batched=!1;const{animated:t,...e}=this.constructor.defaultProps;this._animated=this.computedAnimated=t,Object.assign(this,e)}get animated(){return this._animated}set animated(t){var e;this.animated!==t&&(this._animated=t,null==(e=this.shadowRoot)||e.getAnimations().forEach(t=>t.finish()))}set data(t){var e;if(null==t)return;const{pre:i,integer:s,fraction:n,post:a,value:r}=t;if(this.created){const l=this._data;this._data=t,this.computedTrend="function"==typeof this.trend?this.trend(l.value,r):this.trend,this.computedAnimated=S&&this._animated&&(!this.respectMotionPreference||!(null!=d&&d.matches))&&((o=this).offsetWidth>0&&o.offsetHeight>
10),null==(e=this.plugins)||e.forEach(e=>{var i;return null==(i=e.onUpdate)?void 0:i.call(e,t,l,this)}),this.batched||this.willUpdate(),this._pre.update(i),this._num.update({integer:s,fraction:n}),this._post.update(a),this.batched||this.didUpdate()}else{this._data=t,this.attachShadow({mode:"open"});try{this._internals??(this._internals=this.attachInternals()),this._internals.role="img"}catch{}const e=document.createElement("style");e.textContent=C,this.shadowRoot.appendChild(e),this._pre=new P(this,i,{justify:"right",part:"left"}),this.shadowRoot.appendChild(this._pre.el),this._num=new j(this,s,n),this.shadowRoot.appendChild(this._num.el),this._post=new P(this,a,{justify:"left",part:"right"}),this.shadowRoot.appendChild(this._post.el),this.created=!0}var o;try{this._internals.ariaLabel=t.valueAsString}catch{}}willUpdate(){this._pre.willUpdate(),this._num.willUpdate(),this._post.willUpdate()}didUpdate(){if(!this.computedAnimated)return;this._abortAnimationsFinish?this._abortAnimationsFinish.abort():this.dispatchEvent(new Event("animationsstart")),this._pre.didUpdate(),this._num.didUpdate(),this._post.didUpdate();const t=new AbortController;Promise.all(this.shadowRoot.getAnimations().map(t=>t.finished)).then(()=>{t.signal.aborted||(this.dispatchEvent(new Event("animationsfinish")),this._abortAnimationsFinish=void 0)}),this._abortAnimationsFinish=t}}U.defaultProps={transformTiming:{duration:900,easing:"linear(0,.005,.019,.039,.066,.096,.129,.165,.202,.24,.278,.316,.354,.39,.426,.461,.494,.526,.557,.586,.614,.64,.665,.689,.711,.731,.751,.769,.786,.802,.817,.831,.844,.856,.867,.877,.887,.896,.904,.912,.919,.925,.931,.937,.942,.947,.951,.955,.959,.962,.965,.968,.971,.973,.976,.978,.98,.981,.983,.984,.986,.987,.988,.989,.99,.991,.992,.992,.993,.994,.994,.995,.995,.996,.996,.9963,.9967,.9969,.9972,.9975,.9977,.9979,.9981,.9982,.9984,.9985,.9987,.9988,.9989,1)"},spinTiming:void 0,opacityTiming:{duration:450,easing:"ease-out"},animated:!0,trend:(t,e)=>Math.sign(e-t),respectMotionPreference:!0,plugins:void 0,digits:void 0};class j{constructor(t,e,i,{className:s,...n}={}){this.flow=t,this._integer=new T(t,e,{justify:"right",part:"integer"}),this._fraction=new T(t,i,{justify:"left",part:"fraction"}),this._inner=a("span",{className:"number__inner"},[this._integer.el,this._fraction.el]),this.el=a("span",{...n,part:"number",className:`number ${s??""}`},[this._inner])}willUpdate(){this._prevWidth=this.el.offsetWidth,this._prevLeft=this.el.getBoundingClientRect().left,this._integer.willUpdate(),this._fraction.willUpdate()}update({integer:t,fraction:e}){this._integer.update(t),this._fraction.update(e)}didUpdate(){const t=this.el.getBoundingClientRect();this._integer.didUpdate(),this._fraction.didUpdate();const e=this._prevLeft-t.left,i=this.el.offsetWidth,s=this._prevWidth-i;this.el.style.setProperty("--width",String(i)),this.el.animate({[f]:[`${e}px`,"0px"],[m]:[s,0]},{...this.flow.transformTiming,composite:"accumulate"})}}class R{constructor(t,e,{justify:i,className:s,...n},r){this.flow=t,this.children=new Map,this.onCharRemove=t=>()=>{this.children.delete(t)},this.justify=i;const o=e.map(t=>this.addChar(t).el);this.el=a("span",{...n,className:`section section--justify-${i} ${s??""}`},r?r(o):o)}addChar(t,{startDigitsAtZero:e=!1,...i}={}){const s="integer"===t.type||"fraction"===t.type?new L(this,t.type,e?0:t.value,t.pos,{...i,onRemove:this.onCharRemove(t.key)}):new V(this,t.type,t.value,{...i,onRemove:this.onCharRemove(t.key)});return this.children.set(t.key,s),s}unpop(t){t.el.removeAttribute("inert"),t.el.style.top="",t.el.style[this.justify]=""}pop(t){t.forEach(t=>{t.el.style.top=`${t.el.offsetTop}px`,t.el.style[this.justify]=`${((t,e)=>{var i;return"left"===e?t.offsetLeft:((null==(i=t.offsetParent instanceof HTMLElement?t.offsetParent:null)?void 0:i.offsetWidth)??0)-t.offsetWidth-t.offsetLeft})(t.el,this.justify)}px`}),t.forEach(t=>{t.el.setAttribute("inert",""),t.present=!1})}addNewAndUpdateExisting(t){const e=new Map,i=new Map,s="left"===this.justify,n=s?"prepend":"append";if(function(t,e,{reverse:i=!1}={}){const s=t.length;for(let n=i?s-1:0;i?n>=0:n<s;i?n--:n++)e(t[n],n)}(t,t=>{let s;this.children.has(t.key)?(s=this.children.get(t.key),i.set(t,s),this.unpop(s),s.present=!0):(s=this.addChar(t,{startDigitsAtZero:!0,animateIn:!0}),e.set(t,s)),this.el[n](s.el)},{reverse:s}),this.flow.computedAnimated){const t=this.el.getBoundingClientRect();
1e.forEach(e=>{e.willUpdate(t)})}e.forEach((t,e)=>{t.update(e.value)}),i.forEach((t,e)=>{t.update(e.value)})}willUpdate(){const t=this.el.getBoundingClientRect();this._prevOffset=t[this.justify],this.children.forEach(e=>e.willUpdate(t))}didUpdate(){const t=this.el.getBoundingClientRect();this.children.forEach(e=>e.didUpdate(t));const e=t[this.justify],i=this._prevOffset-e;i&&this.children.size&&this.el.animate({transform:[`translateX(${i}px)`,"none"]},{...this.flow.transformTiming,composite:"accumulate"})}}class T extends R{update(t){const e=new Map;this.children.forEach((i,s)=>{t.find(t=>t.key===s)||e.set(s,i),this.unpop(i)}),this.addNewAndUpdateExisting(t),e.forEach(t=>{t instanceof L&&t.update(0)}),this.pop(e)}}class P extends R{update(t){const e=new Map;this.children.forEach((i,s)=>{t.find(t=>t.key===s)||e.set(s,i)}),this.pop(e),this.addNewAndUpdateExisting(t)}}class N{constructor(t,e,{onRemove:i,animateIn:s=!1}={}){this.flow=t,this.el=e,this._present=!0,this._remove=()=>{var t;this.el.remove(),null==(t=this._onRemove)||t.call(this)},this.el.classList.add("animate-presence"),this.flow.computedAnimated&&s&&this.el.animate({[u]:[-.9999,0]},{...this.flow.opacityTiming,composite:"accumulate"}),this._onRemove=i}get present(){return this._present}set present(t){if(this._present!==t){if(this._present=t,t?this.el.removeAttribute("inert"):this.el.setAttribute("inert",""),!this.flow.computedAnimated)return void(t||this._remove());this.el.style.setProperty("--_number-flow-d-opacity",t?"0":"-.999"),this.el.animate({[u]:t?[-.9999,0]:[.999,0]},{...this.flow.opacityTiming,composite:"accumulate"}),t?this.flow.removeEventListener("animationsfinish",this._remove):this.flow.addEventListener("animationsfinish",this._remove,{once:!0})}}}class M extends N{constructor(t,e,i,s){super(t.flow,i,s),this.section=t,this.value=e,this.el=i}}class L extends M{constructor(t,e,i,s,n){var r,o;const l=((null==(o=null==(r=t.flow.digits)?void 0:r[s])?void 0:o.max)??9)+1,h=Array.from({length:l}).map((t,e)=>{const s=a("span",{className:"digit__num"},[document.createTextNode(String(e))]);return e!==i&&s.setAttribute("inert",""),s.style.setProperty("--n",String(e)),s}),c=a("span",{part:`digit ${e}-digit`,className:"digit"},h);c.style.setProperty("--current",String(i)),c.style.setProperty("--length",String(l)),super(t,i,c,n),this.pos=s,this._onAnimationsFinish=()=>{this.el.classList.remove("is-spinning")},this._numbers=h,this.length=l}willUpdate(t){const e=this.el.getBoundingClientRect();this._prevValue=this.value;const i=e[this.section.justify]-t[this.section.justify],s=e.width/2;this._prevCenter="left"===this.section.justify?i+s:i-s}update(t){this.el.style.setProperty("--current",String(t)),this._numbers.forEach((e,i)=>i===t?e.removeAttribute("inert"):e.setAttribute("inert","")),this.value=t}didUpdate(t){const e=this.el.getBoundingClientRect(),i=e[this.section.justify]-t[this.section.justify],s=e.width/2,n="left"===this.section.justify?i+s:i-s,a=this._prevCenter-n;a&&this.el.animate({transform:[`translateX(${a}px)`,"none"]},{...this.flow.transformTiming,composite:"accumulate"});const r=this.getDelta();r&&(this.el.classList.add("is-spinning"),this.el.animate({[g]:[-r,0]},{...this.flow.spinTiming??this.flow.transformTiming,composite:"accumulate"}),this.flow.addEventListener("animationsfinish",this._onAnimationsFinish,{once:!0}))}getDelta(){var t;if(this.flow.plugins)for(const e of this.flow.plugins){const i=null==(t=e.getDelta)?void 0:t.call(e,this.value,this._prevValue,this);if(null!=i)return i}const e=this.value-this._prevValue,i=this.flow.computedTrend||Math.sign(e);return i<0&&this.value>this._prevValue?this.value-this.length-this._prevValue:i>0&&this.value<this._prevValue?this.length-this._prevValue+this.value:e}}class V extends M{constructor(t,e,i,s){const n=a("span",{className:"symbol__value",textContent:i});super(t,i,a("span",{part:`symbol ${e}`,className:"symbol"},[n]),s),this.type=e,this._children=new Map,this._onChildRemove=t=>()=>{this._children.delete(t)},this._children.set(i,new N(this.flow,n,{onRemove:this._onChildRemove(i)}))}willUpdate(t){if("decimal"===this.type)return;const e=this.el.getBoundingClientRect();this._prevOffset=e[this.section.justify]-t[this.section.justify]}update(t){if(this.value!==t){const e=this._children.get(this.value);e&&(e.present=!1);const i=this._children.get(t);if(i)i.present=!0;else{const e=a("span",{className:"symbol__value",textContent:t});this.el.appendChild(e),this._children.set(t,new N(this.flow,e,{animateIn:!0,onRemove:this._onChildRemove(t)}))}}this.value=t}didUpdate(t){if("decimal"===this.type)return;const e=this.el.getBoundingClientRect()[this.section.justify]-t[this.section.justify],i=this._prevOffset-e;i&&this.el.animate({transform:[`translateX(${i}px)`,"none"]},{...this.flow.transformTiming,composite:"accumulate"})}}const F="number-flow-connect",B="number-flow-update",D=(t,{locales:e,format:i,numberPrefix:s,numberSuffix:n}={})=>(t=>l`<template shadowroot="open" shadowrootmode="open" 2 ><style> 3 ${k}</style 4 ><span role="img" aria-label="${t.valueAsString}" 5 >${A(t.pre,"left")}
5<span part="number" class="number" 6 >${A(t.integer,"integer")}${A(t.fraction,"fraction")}</span 7 >${A(t.post,"right")}</span 8 ></template 9 ><span 10 style="font-kerning: none; display: inline-block; line-height: ${y} !important; padding: ${w} 0;" 11 >${t.valueAsString}</span 12 >`)(o(t,new Intl.NumberFormat(e,i),s,n));class I extends U{constructor(){super(...arguments),this.connected=!1}connectedCallback(){this.connected=!0,this.dispatchEvent(new Event(F,{bubbles:!0}))}disconnectedCallback(){this.connected=!1}get value(){return this._value}update(t){(!this._formatter||this._prevFormat!==this.format||this._prevLocales!==this.locales)&&(this._formatter=new Intl.NumberFormat(this.locales,this.format),this._prevFormat=this.format,this._prevLocales=this.locales),null!=t&&(this._value=t),this.dispatchEvent(new Event(B,{bubbles:!0})),this.data=o(this._value,this._formatter,this.numberPrefix,this.numberSuffix)}}r("number-flow",I)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.