PageSourceSearch

https://www.witte-spezialitaeten.de/theme/a31402f128dc80be11cab8bb…n.acris.separate-street-cs.plugin.de566c.js

js witte-spezialitaeten.de collected 2026-10-09 23:41:48 UTC 10,070 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[33312],{406:t=>{var e=function(t){var e;return!!t&&"object"==typeof t&&"[object RegExp]"!==(e=Object.prototype.toString.call(t))&&"[object Date]"!==e&&t.$$typeof!==r},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function s(t,e){return!1!==e.clone&&e.isMergeableObject(t)?a(Array.isArray(t)?[]:{},t,e):t}function i(t,e,r){return t.concat(e).map(function(t){return s(t,r)})}function n(t){return Object.keys(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[])}function o(t,e){try{return e in t}catch(t){return!1}}function a(t,r,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||e,l.cloneUnlessOtherwiseSpecified=s;var u,c,h=Array.isArray(r);return h!==Array.isArray(t)?s(r,l):h?l.arrayMerge(t,r,l):(c={},(u=l).isMergeableObject(t)&&n(t).forEach(function(e){c[e]=s(t[e],u)}),n(r).forEach(function(e){(!o(t,e)||Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))&&(o(t,e)&&u.isMergeableObject(r[e])?c[e]=(function(t,e){if(!e.customMerge)return a;var r=e.customMerge(t);return"function"==typeof r?r:a})(e,u)(t[e],r[e],u):c[e]=s(r[e],u))}),c)}a.all=function(t,e){if(!Array.isArray(t))throw Error("first argument should be an array");return t.reduce(function(t,r){return a(t,r,e)},{})},t.exports=a},312:(t,e,r)=>{r.r(e),r.d(e,{default:()=>i});var s=r(568);class i extends s.Z{init(){let t=JSON.parse(this.el.getAttribute("data-tonur-acris-separate-street-options"));if(this.$el=this.el,this.AddressPackstationNumberSelector=t.selectors.AddressPackstationNumber,this.packstationType=t.selectors.packstationType,this.$form=this.$el.closest("form"),this.id=this.$form.getAttribute("data-tonur-packstation-form-id"),void 0===this.id)return;let e=this.el.querySelectorAll("div[data-acris-separate-street] input"),r=e[0],s=e[1],i=r.getAttribute("id");i.includes("billingAddress")||i.includes("AddressHouseNumber")||(this.$addressTypeSelection=this.$el.querySelector(this.options.selectors.addressType),this.$houseNumber=null!=s?s:this.$form.querySelector(this.options.selectors.houseNumberLogin),this.$streetAddress=null!=r?r:this.$form.querySelector(this.options.selectors.streetAddressLogin),this.$houseNumberPlaceholderStarttext=this.$houseNumber.placeholder,this.$streetPlaceholderStarttext=this.$streetAddress.placeholder,this.$streetLabel=this.$form.querySelector('label[for="'.concat(this.$streetAddress.id,'"]')),this.$houseNumberLabel=this.$form.querySelector('label[for="'.concat(this.$houseNumber.id,'"]')),this.$streetLabelStartText=this.$streetLabel.textContent,this.$houseNumberLabelStartText=this.$houseNumberLabel.textContent,this._registerEvents(),this.triggerUpdatePackstationView())}_registerEvents(){window.PluginManager.getPluginInstances("TonurPackstationForm").forEach(t=>{t.$emitter.subscribe("TonurPackstationForm/updateView",this._updateView.bind(this))})}_updateView(t){if(this.id!==t.detail.id)return;let e=this.$form.querySelector(this.AddressPackstationNumberSelector),r=this.$form.querySelector(this.packstationType),s=t.detail.isPackstationOrPostOffice,i=this.$form.querySelector('label[for="'.concat(r.id,'"]')),n=this.$form.querySelector('label[for="'.concat(e.id,'"]'));s?(this.$houseNumber.value=e.value,this.$streetAddress.value=t.detail.streetValue,this.$houseNumberLabel.textContent=n.textContent,this.$streetLabel.textContent=i.textContent,this.$houseNumber.placeholder=e.placeholder,this.$streetAddress.placeholder=i.textContent,r.parentNode.style.display="none",e.parentNode.style.display="none",this.$houseNumber.parentNode.style.display="block",this.$streetAddress.parentNode.style.display="block",this._enableManualEditOfPackstationNumber(this.$houseNumber,e)):(this.$houseNumberLabel.textContent=this.$houseNumberLabelStartText,this.$streetLabel.textContent=this.$streetLabelStartText,this.$houseNumber.placeholder=this.$houseNumberPlaceholderStarttext,this.$streetAddress.placeholder=this.$streetPlaceholderStarttext)}_enableManualEditOfPackstationNumber(t,e){t.addEventListener("change",function(){e.value=t.value})}triggerUpdatePackstationView(){let t=this;window.PluginManager.getPluginInstances("TonurPackstationForm").forEach(e
1=>{e.id===t.id&&e._handleRelevantDataChanged(!1)})}}i.options={selectors:{houseNumberLogin:"#addressAddressHouseNumber",streetAddressLogin:"#addressAddressStreet"}}},49:(t,e,r)=>{r.d(e,{Z:()=>i});var s=r(140);class i{static isNode(t){return"object"==typeof t&&null!==t&&(t===document||t===window||t instanceof Node)}static hasAttribute(t,e){if(!i.isNode(t))throw Error("The element must be a valid HTML Node!");return"function"==typeof t.hasAttribute&&t.hasAttribute(e)}static getAttribute(t,e){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(r&&!1===i.hasAttribute(t,e))throw Error('The required property "'.concat(e,'" does not exist!'));if("function"!=typeof t.getAttribute){if(r)throw Error("This node doesn't support the getAttribute function!");return}return t.getAttribute(e)}static getDataAttribute(t,e){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n=e.replace(/^data(|-)/,""),o=s.Z.toLowerCamelCase(n,"-");if(!i.isNode(t)){if(r)throw Error("The passed node is not a valid HTML Node!");return}if(void 0===t.dataset){if(r)throw Error("This node doesn't support the dataset attribute!");return}let a=t.dataset[o];if(void 0===a){if(r)throw Error('The required data attribute "'.concat(e,'" does not exist on ').concat(t,"!"));return a}return s.Z.parsePrimitive(a)}static querySelector(t,e){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(r&&!i.isNode(t))throw Error("The parent node is not a valid HTML Node!");let s=t.querySelector(e)||!1;if(r&&!1===s)throw Error('The required element "'.concat(e,'" does not exist in parent node!'));return s}static querySelectorAll(t,e){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(r&&!i.isNode(t))throw Error("The parent node is not a valid HTML Node!");let s=t.querySelectorAll(e);if(0===s.length&&(s=!1),r&&!1===s)throw Error('At least one item of "'.concat(e,'" must exist in parent node!'));return s}static getFocusableElements(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return t.querySelectorAll('\n            input:not([tabindex^="-"]):not([disabled]):not([type="hidden"]),\n            select:not([tabindex^="-"]):not([disabled]),\n            textarea:not([tabindex^="-"]):not([disabled]),\n            button:not([tabindex^="-"]):not([disabled]),\n            a[href]:not([tabindex^="-"]):not([disabled]),\n            [tabindex]:not([tabindex^="-"]):not([disabled])\n        ')}static getFirstFocusableElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return this.getFocusableElements(t)[0]}static getLastFocusableElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=this.getFocusableElements(t);return e[e.length-1]}}},830:(t,e,r)=>{r.d(e,{Z:()=>s});class s{publish(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=new CustomEvent(t,{detail:e,cancelable:r});return this.el.dispatchEvent(s),s}subscribe(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=this,i=t.split("."),n=r.scope?e.bind(r.scope):e;if(r.once&&!0===r.once){let e=n;n=function(r){s.unsubscribe(t),e(r)}}return this.el.addEventListener(i[0],n),this.listeners.push({splitEventName:i,opts:r,cb:n}),!0}unsubscribe(t){let e=t.split(".");return this.listeners=this.listeners.reduce((t,r)=>([...r.splitEventName].sort().toString()===e.sort().toString()?this.el.removeEventListener(r.splitEventName[0],r.cb):t.push(r),t),[]),!0}reset(){return this.listeners.forEach(t=>{this.el.removeEventListener(t.splitEventName[0],t.cb)}),this.listeners=[],!0}get el(){return this._el}set el(t){this._el=t}get listeners(){return this._listeners}set listeners(t){this._listeners=t}constructor(t=document){this._el=t,t.$emitter=this,this._listeners=[]}}},140:(t,e,r)=>{r.d(e,{Z:()=>s});class s{static ucFirst(t){return t.charAt(0).toUpperCase()+t.slice(1)}static lcFirst(t){return t.charAt(0).toLowerCase()+t.slice(1)}static toDashCase(t){return t.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase()}static toLowerCamelCase(t,e){let r=s.toUpperCamelCase(t,e);return s.lcFirst(r)}static toUpperCamelCase(t,e){return e?t.split(e).map(t=>s.ucFirst(t.toLowerCase())).join(""):s.ucFirst(t.toLowerCase())}static parsePrimitive(t){try{return/^\d+(.|,)\d+$/.test(t)&&(t=t.replace(",",".")),JSON.parse(t)}catch(e){return t.toString()}}}},568:(t,e,r)=>{r.d(e,{Z:()=>l});var s=r(406),i=r.n(s),n=r(49),o=r(140),a=r(830);class l{init(){throw Error('The "init" method for the plugin "'.concat(this._pluginName,'" is not defined.'))}update(){}
1_init(){this._initialized||(this.init(),this._initialized=!0)}_update(){this._initialized&&this.update()}_mergeOptions(t){let e=o.Z.toDashCase(this._pluginName),r=n.Z.getDataAttribute(this.el,"data-".concat(e,"-config"),!1),s=n.Z.getAttribute(this.el,"data-".concat(e,"-options"),!1),a=[this.constructor.options,this.options,t];r&&a.push(window.PluginConfigManager.get(this._pluginName,r));try{s&&a.push(JSON.parse(s))}catch(t){throw console.error(this.el),Error('The data attribute "data-'.concat(e,'-options" could not be parsed to json: ').concat(t.message))}return i().all(a.filter(t=>t instanceof Object&&!(t instanceof Array)).map(t=>t||{}))}_registerInstance(){window.PluginManager.getPluginInstancesFromElement(this.el).set(this._pluginName,this),window.PluginManager.getPlugin(this._pluginName,!1).get("instances").push(this)}_getPluginName(t){return t||(t=this.constructor.name),t}constructor(t,e={},r=!1){if(!n.Z.isNode(t))throw Error("There is no valid element given.");this.el=t,this.$emitter=new a.Z(this.el),this._pluginName=this._getPluginName(r),this.options=this._mergeOptions(e),this._initialized=!1,this._registerInstance(),this._init()}}}}]);

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.