PageSourceSearch

https://www.kautionskasse.de/_nuxt/CalculatorBlock-LueV6mNT.js

js kautionskasse.de collected 2026-10-06 11:19:52 UTC 3,951 bytes, 1 lines download raw bytes

1var w=Object.defineProperty;var v=Object.getOwnPropertySymbols;var y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var p=(n,t,e)=>t in n?w(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e,C=(n,t)=>{for(var e in t||(t={}))y.call(t,e)&&p(n,e,t[e]);if(v)for(var e of v(t))x.call(t,e)&&p(n,e,t[e]);return n};var f=(n,t,e)=>new Promise((l,o)=>{var s=r=>{try{a(e.next(r))}catch(i){o(i)}},u=r=>{try{a(e.throw(r))}catch(i){o(i)}},a=r=>r.done?l(r.value):Promise.resolve(r.value).then(s,u);a((e=e.apply(n,t)).next())});import{u as S,k as F}from"./base-components-Bh4UEd0g.js";import{a2 as A,a3 as k}from"./client-Blf3UqZI.js";import{a as B,c as g,A as D,C as m,y as L,m as P}from"./vuetify-D4lzeyVK.js";import O from"./AppCalculator-CGBCvNuU.js";const T={name:"CalculatorBlock",components:{AppCalculator:O},props:{config:{type:Object,required:!0},calculatorConfig:{type:Object,default:()=>({classes:{}})},content:{type:String,default:""},layoutConfig:{type:Object,default:()=>({})},showDivider:{type:Boolean,default:!1}},setup(n){var i,d;const{$vuetify:t}=S(),e=B(!0),l={cols:1,class:"hidden-sm-and-down text-center"},o=g(()=>n.config.showAsConfigSwitcher?n.config.calculatorContent&&e.value===!0?n.config.calculatorContent:n.config.calculatorContent2:n.config.calculatorContent),s=g(()=>{var c;return o.value&&o.value.button&&o.value.button.uri?(c=o.value.button)==null?void 0:c.uri.replace("internal:/","/"):""}),u=n.config.showAsConfigSwitcher?{first:((i=n.config.calculatorContent)==null?void 0:i.calculatorSlugLabel)||"",second:((d=n.config.calculatorContent2)==null?void 0:d.calculatorSlugLabel)||""}:null,a=g(()=>{var _,h;const c=!!n.config.reverseOrder,b={"ml-0":t.breakpoint.mdAndUp&&!c,"mr-0":t.breakpoint.mdAndUp&&c};return{classes:C(C({},b),((_=n.calculatorConfig)==null?void 0:_.classes)||{}),titleTag:(h=n.calculatorConfig)==null?void 0:h.titleTag}}),r=g(()=>{const c=!!(n.content&&n.content.length>0);return!n.config.nestHeadlines&&c});return{resolvedCalculatorConfig:a,currentContent:o,currentButtonLink:s,configLabels:u,isFirst:e,showContent:r,dividerColProps:l}},fetch(){return f(this,null,function*(){var o,s;const n=A(),t=k(),e=u=>f(null,null,function*(){yield Promise.all(u.map(a=>f(null,null,function*(){yield Promise.all([n.getFormDefinition(a),t.resolveFormRcodesConfig(a)])})))}),l=Array.from(new Set([((o=this.config.calculatorContent)==null?void 0:o.calculatorFormSlug)||"",((s=this.config.calculatorContent2)==null?void 0:s.calculatorFormSlug)||""].filter(Boolean)));l.length>0&&(yield e(l))})},methods:{switchFormSlug(){this.isFirst=!this.isFirst}}};var j=function(){var t=this,e=t._self._c;return e(D,{class:t.layoutConfig.rowClasses},[e(m,t._b({class:t.layoutConfig.colClasses,style:{color:t.config.dividerColor}},"v-col",t.layoutConfig.colProps,!1),[t.currentContent?e("app-calculator",{class:t.resolvedCalculatorConfig.classes,attrs:{"is-first":t.isFirst,"is-button-visible":!!t.currentButtonLink,to:t.currentButtonLink,"show-as-config-switcher":t.config.showAsConfigSwitcher,title:t.currentContent.title,"title-tag":t.resolvedCalculatorConfig.titleTag,"subtitle-template-text":t.currentContent.highlightedText,"deposit-text":t.currentContent.question,"annual-fee-text":t.currentContent.annualDepositText,"button-text":t.currentContent.button&&t.currentContent.button.title,"bottom-text":t.currentContent.footer,"max-deposit-error-message":t.currentContent.maxDepositErrorMessage,"config-labels":t.configLabels,form:t.currentContent.calculatorFormSlug},on:{"change-config":t.switchFormSlug}}):t._e()],1),t.showContent?e(m,t._b({},"v-col",t.layoutConfig.textColProps,!1),[e("app-text-content",{attrs:{content:t.content}})],1):t._e(),t.showDivider?e(m,t._b({},"v-col",t.dividerColProps,!1),[e(L,{staticClass:"mt-2",attrs:{height:"calc(100% - 16px)"}},[e(P,{attrs:{vertical:"","aria-hidden":"true"}})],1)],1):t._e()],1)},R=[],q=F(T,j,R,!1,null,null);const I=q.exports;export{I as default};

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.