PageSourceSearch

https://www.erf.de/js/release/1.2.112/build/lazy-vue22.js

js erf.de collected 2026-10-01 11:34:18 UTC 8,660 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkerf_v2016=self.webpackChunkerf_v2016||[]).push([[9240,3560],{57556:function(e,t,n){function a(e){var t=e.dataset.positionMode||"first",n=(e.dataset.levels||"h2,h3").split(",").map((function(e){return e.trim().toLowerCase()})),a=e.dataset.insertPosition||"before",r=parseInt(e.dataset.headingIndex,10)||0,l=e.closest(".online-article__content")||e.closest("article");if(l){var o=["p"].concat(n).join(", "),u=[].slice.call(l.querySelectorAll(o)).filter((function(t){return!e.contains(t)})),i=u.filter((function(e){return n.includes(e.tagName.toLowerCase())&&!e.closest("header")&&""!==e.textContent.trim()}));if(i.length){var c="midpoint"===t?function(e,t){var n=e.filter((function(e){return"P"===e.tagName}));if(!n.length)return null;var a=n.reduce((function(e,t){return e+t.textContent.length}),0),r=[],l=0;e.forEach((function(e){t.includes(e)?r.push({el:e,before:l}):l+=e.textContent.length}));var o=r.find((function(e){return e.before>=a/2}));return o?o.el:null}(u,i):i[r]||i[i.length-1];c&&("after"!==a?c.before(e):c.insertAdjacentElement("afterend",e))}}}n.r(t),n.d(t,{default:function(){return a}}),n(38077),n(60228),n(47522),n(76801),n(43843),n(25728),n(50886),n(28436),n(6203),n(34338),n(89730)},83744:function(e,t){t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[e,a]of t)n[e]=a;return n}},21737:function(e,t,n){n.r(t),n.d(t,{default:function(){return S}}),n(79288),n(34338),n(76801),n(43843),n(62506),n(60228),n(47522),n(59749),n(86544),n(84254),n(752),n(21694),n(76265),n(77049),n(89730),n(12826),n(34284),n(64043);var a=n(66252),r=n(3577),l=n(2262),o=n(49963);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var i={class:"row"},c={class:"col-12"},s={class:"col-12 mt-1 px-0 rounded",style:{"overflow-x":"scroll",margin:"0 .125rem","max-width":"calc(100% - .25rem)"}}
1,d={class:"position-absolute d-flex flex-wrap w-100",style:{top:"0"}},f=["id"],v={class:"position-absolute d-flex flex-wrap w-100",style:{top:"0"}},p=["id","tabindex","aria-label","onClick","onKeyup","onKeydown"],m={class:"col-12 col-md-6 mt-1"},b={class:"rounded bg-white w-100 d-flex mr-1"},h={class:"py-2 px-3 flex-grow-1"},y=["max","disabled"],g={class:"bgbrandcolor rounded-right py-2 px-3 text-right",style:{"min-width":"120px","font-variant":"tabular-nums"}},w={class:"col-12 col-md-6 mt-1"},x=["href"],_={__name:"FrMgStand",props:{progress:{type:Number,default:0},project:{type:Number,default:4300},goal:{type:Number,default:6e3},rows:{type:Number,default:20},cols:{type:Number,default:30}},setup:function(e){var t=(0,a.Fl)((function(){return"/online-spenden/26?reset=1&projekt=".concat(S.value,"&restrict=1&betrag-individuell=").concat(K.value)})),n=e,_=(0,l.BK)(n),S=_.project,k=_.progress,j=_.goal,U=_.rows,C=_.cols,D=(0,a.Fl)((function(){return N.value*I.value*k.value/100})),F=(0,l.iH)(null),A=(0,a.Fl)((function(){return parseInt(F.value)||0})),K=(0,a.Fl)((function(){return A.value*N.value})),I=(0,a.Fl)((function(){return U.value*C.value})),N=(0,a.Fl)((function(){return j.value/I.value})),L=(0,a.Fl)((function(){return I.value*N.value-D.value})),M=(0,a.Fl)((function(){return L.value<=0})),q=(0,l.iH)(!1),E=(0,a.Fl)((function(){return I.value*k.value/100})),H=(0,a.Fl)((function(){return k.value+K.value/j.value*100})),z=(0,l.iH)([]),B=(0,a.Fl)((function(){return"Danke für ".concat(D.value," €!")}));(0,a.YP)(z,(function(){F.value=z.value.length}),{deep:!0});var O=function(e){var t=document.querySelector("#mg-stand-".concat(e));if(z.value.includes(e)){var n=z.value.indexOf(e);n>-1&&z.value.splice(n,1),t&&t.classList.add("mix-blend-mode-saturation")}else t&&t.classList.remove("mix-blend-mode-saturation"),z.value.push(e)},P=function(e){if(!(E.value>=e)){var t=document.querySelector("#select-stand-".concat(e));t&&t.focus()}};return(0,a.bv)((function(){setTimeout((function(){!function(){for(var e=3e3/E.value,t=function(t){setTimeout((function(){var e=document.querySelector("#mg-stand-".concat(t));e&&e.classList.remove("mix-blend-mode-saturation")}),t*e)},n=0;n<=E.value;n++)t(n)}(),q.value=!0}),1e3)})),function(e,n){return(0,a.wg)(),(0,a.iD)("div",i,[(0,a._)("div",c,[(0,a._)("div",{class:"position-relative w-100 bg-white rounded py-3",style:(0,r.j5)("--danke-text: '".concat(B.value,"'"))},[(0,a._)("div",{style:(0,r.j5)("transition: opacity 0ms ease-in-out 3.1s;opacity: ".concat(q.value?1:0))},[(0,a._)("div",{class:"rounded position-absolute h-100",style:(0,r.j5)("transition: width 300ms ease-in-out;background: var(--white); top: 0;left: 0;width: ".concat(H.value,"%;"))},null,4)],4),(0,a._)("div",{class:(0,r.C_)(["slider-label rounded position-absolute h-100 bgbrandcolor",{"slider-label--in":(0,l.SU)(k)>30,"slider-label--out":(0,l.SU)(k)>0&&(0,l.SU)(k)<=30}]),style:(0,r.j5)("top: 0;left: 0;width: ".concat(q.value?(0,l.SU)(k):0,"%;transition: width 3s ease-in-out;opacity: ").concat(q.value?1:0))},null,6)],4)]),(0,a._)("div",s,[(0,a._)("div",{class:"position-relative",style:(0,r.j5)("padding-bottom: max(calc(".concat((0,l.SU)(U)," / ").concat((0,l.SU)(C)," * 100%), calc(").concat((0,l.SU)(U)," / ").concat((0,l.SU)(C)," * 600px)); min-width: 600px;"))},[n[2]||(n[2]=(0,a._)("img",{class:"position-absolute object-fit-cover h-100 rounded w-100",src:"/download/spenden/mg_stand.jpg"},null,-1)),(0,a._)("div",d,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(I.value,(function(e){return(0,a.wg)(),(0,a.iD)("div",{class:"mix-blend-mode-saturation",id:"mg-stand-".concat(e),style:(0,r.j5)("width: calc(100% / ".concat((0,l.SU)(C),"); aspect-ratio: 1 / 1;")),key:e},null,12,f)})),128))]),(0,a._)("div",v,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(I.value,(function(e){return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["border-mg",{selectable:E.value>=e?0:-1,selected:z.value.includes(e)}]),id:"select-stand-".concat(e),style:(0,r.j5)("width: calc(100% / ".concat((0,l.SU)(C),"); aspect-ratio: 1 / 1;")),key:"select-".concat(e),tabindex:E.value<e?0:-1,"aria-label":z.value.includes(e)?"Kachel abwählen":"Kachel auswählen",onClick:function(){return O(e)},onKeyup:[(0,o.D2)((function(){return O(e)}),["enter"]),(0,o.D2)((function(){return O(e)}),["space"])],onKeydown:[(0,o.D2)((0,o.iM)((function(){return P(e-(0,l.SU)(C))}),["prevent"]),["up"]),(0,o.D2)((0,o.iM)((function(){return P(--e)}),["prevent"]),["left"]),(0,o.D2)((0,o.iM)((function(){return P(++e)}),["prevent"]),["right"]),(0,o.D2)((0,o.iM)((function(){return P(e+(0,l.SU)(C))}),["prevent"]),["down"])]},null,46,p)})),128))])],4)]),(0,a._)("div",m,[(0,a._)("div",b,[n[3]||(n[3]=(0,a._)("label",{class:"d-none d-sm-block text-white mb-0 rounded-left py-2 pl-3 text-right",style:{"font-size":"1.125rem"},for:"blocks"},"Blöcke: ",-1)),(0,a._)("div",h,[(0,a.wy)((0,a._)("input",{"onUpdate:modelValue":n[0]||(n[0]=function(e){return F.value=e}),id:"blocks",name:"blocks","aria-label":"Anzahl Blocks",onChange:n[1]||(n[1]=function(){return function(){z.value.forEach((function(e){var t=document.querySelector("#mg-stand-".concat(e));t&&t.classList.add("mix-blend-mode-saturation")})),z.value=[];for(var e=1;e<=F.value;e++){var t=document.querySelector("#mg-stand-".concat(E.value+e));t&&t.classList.remove("mix-blend-mode-saturation"),z.value.push(E.value+e)}}()}),class:"bg-transparent border-0 form-control",max:L.value,type:"number",placeholder:"Wie viele Blöcke?",disabled:M.value},null,40,y),[[o.nr,F.value]])]),(0,a._)("div",g,(0,r.zw)(new Intl.NumberFormat("de-DE",{style:"currency",currency:"EUR"}).format(K.value)),1)])]),(0,a._)("div",w,[(0,a._)("a",{href:t.value,class:(0,r.C_)(["btn h-100 btn-danger w-100",{disabled:M.value}])},(_=n[4]||(n[4]=[(0,a.Uk)("Spende jetzt für den Stand",-1),(0,a._)("i",{class:"ci ci-chevron-right position-absolute",style:{right:"1rem",top:"5px"},"aria-hidden":"true"},null,-1)]),function(e){if(Array.isArray(e))return u(e)}(_)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(_)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(_)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),10,x)])]);var _}}},S=(0,n(83744).Z)(_,[["__scopeId","data-v-22d54bdb"]])},50886:function(e,t,n){var a=n(79989),r=n(2960).map;a({target:"Array",proto:!0,forced:!n(29042)("map")},{map:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})}}]);

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.