PageSourceSearch

https://www.tet.lv/veikals/build/205.8f5c65a6.js

js tet.lv collected 2026-09-24 09:00:48 UTC 12,166 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[205],{20205:(t,e,o)=>{o.r(e),o.d(e,{tet_b2b_service_calculator:()=>n});var a=o(35057),r=o(31894);o(17845);const n=class{constructor(t){(0,a.r)(this,t),this.calculateServiceUnitTotalPrice=t=>{let e;return e=this.withItAdmin?37:this.withInPersonServiceSupport?21:11,t*e},this.handleWithItAdminValueChange=({detail:t})=>{t.checked&&(this.withInPersonServiceSupport=!0),this.withItAdmin=t.checked},this.handleInPersonServiceSupportValueChange=({detail:t})=>{t.checked||(this.withItAdmin=!1),this.withInPersonServiceSupport=t.checked},this.language="lv",this.totalPrice=0,this.withItAdmin=!1,this.withInPersonServiceSupport=!1,this.unitCountSelected=0}onLanguageChange(t){(0,r.p)("tet-components",t).then((()=>(0,a.f)(this)))}onSliderInput({detail:t}){this.unitCountSelected=t,this.totalPrice=this.calculateServiceUnitTotalPrice(t)}onControlChange(){this.totalPrice=this.calculateServiceUnitTotalPrice(this.unitCountSelected)}componentDidLoad(){(0,r.p)("tet-components",this.language).then((()=>(0,a.f)(this)))}render(){return(0,a.h)("section",{key:"19d69ee7e8b3716d956c0aaaa9d4bb73a5de1aa6",class:"container"},(0,a.h)("div",{key:"8593b107f6fd0acaf0e1990ec28b8c09ee9e4c0f",class:"title-block"},(0,r.t)("components-b2b-calculator-title")),(0,a.h)("div",{key:"eb612362043c57062045b72fb3b1dd294ba74af1",class:"calculator-block"},(0,a.h)("p",{key:"869874c51a0ba74da4c682d30d1e5b6609c6ca08",class:"slider-title"},(0,r.t)("components-b2b-calculator-computer-count")),(0,a.h)("tet-range-slider",{key:"18ccc895a891c9588f44f6863acd4cb9dcaa281c",class:"slider",size:"large",type:"primary",defaultValue:75,maxValue:100,withControls:!1,withInput:!1,dataPoints:[1,20,40,60,80,100],displayDataPoints:[1,20,40,60,80,100],lockToDataPoint:!1}),(0,a.h)("div",{key:"e15aaa6368a78233f7e71334ed8283a0de495f61",class:"control-container"},(0,a.h)("div",{key:"fcde28a136e694431a5587e9e4457870b62fba55",class:"control"},(0,a.h)("tet-checkbox",{key:"af1f87eb8e8e12521ffbaaf1c80b9aead1542210",class:"it-admin-checkbox",checked:this.withItAdmin,onCheck:this.handleWithItAdminValueChange},(0,r.t)("components-b2b-calculator-it-admin-checkbox-label"))),(0,a.h)("div",{key:"e5b39d654dc5a5af4ebd97dea1e607908de9275e",class:"control"},(0,a.h)("tet-switch",{key:"9213ac8f1e9fae51c14399d627a9434658479d1f",class:"in-person-support-switch",checked:this.withInPersonServiceSupport,onCheck:this.handleInPersonServiceSupportValueChange},(0,r.t)("components-b2b-calculator-in-person-support-switch-label")))),(0,a.h)("div",{key:"2b7d55c76af19863863bfb86bba86d02b11e09b3",class:"monthly-payment-block"},(0,a.h)("p",{key:"b71122463651db9c0eba62cfa93dfcf20026ccf3",class:"title"},(0,r.t)("components-b2b-calculator-potential-monthly-payment")),(0,a.h)("p",{key:"08527411c6b78f59c221b7c9a231f039ec2bbbf9"},(0,a.h)("span",{key:"0a27726f38de0c70585032df1161abde208af1dd",class:"price"},this.totalPrice),(0,a.h)("span",{key:"b74c5573de60068027d036e830b8463f1ec219e5",class:"currency"},(0,r.t)("components-euro-per-month"))))))}static get watchers(){return{language:["onLanguageChange"],withItAdmin:["onControlChange"],withInPersonServiceSupport:["onControlChange"]}}};n.style='@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{display:block;max-width:60.25rem;width:100%}@media only screen and (max-width: 56.25rem){:host{max-width:37.25rem}}.container{display:grid;grid-template-columns:1fr 1fr;border-radius:1.5rem;overflow:hidden}@media only screen and (max-width: 56.25rem){.container{grid-template-columns:1fr}}.title-block{padding:2.25rem;position:relative;background:#98bbfe;font:600 2.5rem/3rem "Gilroy", "Gilroy, Arial, sans-serif"}@media only screen and (max-width: 31.1875rem){.title-block{font:600 2rem/2.25rem "Gilroy", "Gilroy, Arial, sans-serif";padding:1.5rem}}.title-block:after{content:"";top:4rem;position:absolute;right:-1.125rem;width:2.375rem;height:2.375rem;transform:rotate(45deg);background:#98bbfe;border-top-right-radius:0.5rem}@media only screen and (max-width: 56.25rem){.title-block:after{content:none}}
1.calculator-block{padding:2rem 2rem 2rem 3rem;background:#ecf0fe}@media only screen and (max-width: 31.1875rem){.calculator-block{padding:1.5rem}}.calculator-block .slider-title{font:400 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";margin-bottom:0.5rem}.calculator-block .slider{--slider-height:5rem;--slider-thumb-color:#98bbfe;--slider-thumb-active-shadow:0 0 0 0.625rem rgba(152, 187, 254, 0.4);--slider-track-background-color:#fafbff;--slider-track-progress-color:#98bbfe}.calculator-block .it-admin-checkbox{width:100%;--checkbox-gap:1rem;--checkbox-flex-direction:row-reverse;--checkbox-justify-content:space-between;--checkbox-background-color:transparent;--checkbox-checked-background-color:#98bbfe}.calculator-block .it-admin-checkbox::part(checkbox-container){font:500 0.75rem/1rem "Inter", "Gilroy, Arial, sans-serif"}.calculator-block .in-person-support-switch{width:100%;--switch-gap:1rem;--switch-flex-direction:row-reverse;--switch-justify-content:space-between;--switch-checked-background-color:#98bbfe;--switch-hover-checked-background-color:#98bbfe}.calculator-block .in-person-support-switch::part(switch-container){font:500 0.75rem/1rem "Inter", "Gilroy, Arial, sans-serif"}.calculator-block .control-container{display:grid;grid-template-columns:1fr 1fr;gap:0.25rem}@media only screen and (max-width: 31.1875rem){.calculator-block .control-container{grid-template-columns:1fr}}.calculator-block .control{display:flex;align-items:center;padding:1rem;background:#fafbff}.calculator-block .control:first-of-type{border-top-left-radius:0.5rem;border-bottom-left-radius:0.5rem}.calculator-block .control:last-of-type{border-top-right-radius:0.5rem;border-bottom-right-radius:0.5rem}.calculator-block .control span{font-size:0.75rem !important;line-height:1rem !important}.calculator-block .monthly-payment-block{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:2rem}.calculator-block .monthly-payment-block .title{max-width:15rem}.calculator-block .monthly-payment-block .price{font:600 3rem/3.25rem "Gilroy", "Gilroy, Arial, sans-serif";margin-right:0.5rem}.calculator-block .monthly-payment-block .currency{font:600 1.25rem/1.5rem "Gilroy", "Gilroy, Arial, sans-serif"}@media only screen and (max-width: 31.1875rem){.calculator-block .monthly-payment-block{flex-direction:column}.calculator-block .monthly-payment-block .title{font:400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif"}.calculator-block .monthly-payment-block .price{font:600 2.5rem/3rem "Gilroy", "Gilroy, Arial, sans-serif"}}'},79375:(t,e,o)=>{o.d(e,{a:()=>s,b:()=>n,c:()=>a,i:()=>r});const a=t=>t instanceof Promise,r=t=>!!t&&"object"==typeof t,n=t=>"function"==typeof t,s=t=>null==t},31894:(t,e,o)=>{o.d(e,{p:()=>l,t:()=>c});var a=o(79375),r=o(17845);const n=(t,e=(()=>!0))=>Object.keys(t).reduce(((o,r)=>e({key:r,value:t[r]})?Object.assign(Object.assign({},o),(0,a.i)(t[r])?n(t[r],e):{[r]:t[r]}):o),{});class s{constructor(){this.storageKey="translations",this.supportedLanguages=["lv","ru","en"],this.translations={},this.mergedTranslations={},this.updateTranslations=async(t,e)=>{try{this.translations=await this.loadTranslations(t,e)}catch(t){}this.mergedTranslations=await this.mergeTranslations(e)},this.loadTranslations=async(t,e)=>{if(!t||!e)return Promise.reject(`Missing translation parameters - group (${t}), language (${e}).`);if(!this.supportedLanguages.includes(e))return Promise.reject(`Translations language "${e}" is not supported.`);if(this.translationsExist(t,e))return Promise.reject(`Translations for group (${t}) and language (${e}) already exist.`);const o=this.getCachedTranslations();return o[t]||(o[t]={}),o[t][e]=await((t,e)=>{let o;try{o=new URL(`${e}/${t}`,r.e.translations).href}catch(t){return console.error(t),Promise.reject("Translations endpoint URL generation failed.")}return(new r.A).setUrl(o).setOptions({method:"GET"}).setErrorFallbackValue({}).execute()})(t,e),this.cacheTranslations(o),Promise.resolve(o)},this.mergeTranslations=async t=>Promise.resolve(n(this.translations,(({key:e})=>!this.supportedLanguages.includes(e)||e===t))),this.translationsExist=(t,e)=>{var o,a;const r=null!==(a=null===(o=this.translations[t])||void 0===o?void 0:o[e])&&void 0!==a?a:{};return!(0===Object.keys(r).length)},this.getCachedTranslations=()=>{var t;return null!==(t=JSON.parse(sessionStorage.getItem(this.storageKey)))&&void 0!==t?t:{}},this.cacheTranslations=t=>{sessionStorage.setItem(this.storageKey,JSON.stringify(t))},this.translations=this.getCachedTranslations()}static getInstance(){return s.instance||(s.instance=new s),s.instance}getTranslations(){return this.mergedTranslations}}const i=s.getInstance(),l=async(t,e)=>{await i.updateTranslations(t,e)},c=(t,e)=>{var o,r;const n=i.getTranslations();let s=null!==(r=null!==(o=n[t.trim()])&&void 0!==o?o:n.lv)&&void 0!==r?r:t;return(0,a.i)(e)&&(s=f(s,e)),s},f=(t,e)=>{for(const[o,a]of Object.entries(e))t=t.replace(new RegExp(`{${o}}`,"g"),a);return t}}}]);

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.