/*! For license information please see 149.92be0e5e20dfedf860f4.js.LICENSE.txt */
"use strict";(self.webpackChunkportallayout=self.webpackChunkportallayout||[]).push([[149],{1149:(t,e,n)=>{n.r(e),n.d(e,{bind:()=>c,create:()=>p,stopAll:()=>h});var a=function(){return a=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},a.apply(this,arguments)},i={lines:12,length:7,width:5,radius:10,scale:1,corners:1,color:"#000",fadeColor:"transparent",animation:"spinner-line-fade-default",rotate:0,direction:1,speed:1,zIndex:2e9,className:"spinner",top:"50%",left:"50%",shadow:"0 0 1px transparent",position:"absolute"},r=function(){function t(t){void 0===t&&(t={}),this.opts=a(a({},i),t)}return t.prototype.spin=function(t){return this.stop(),this.el=document.createElement("div"),this.el.className=this.opts.className,this.el.setAttribute("role","progressbar"),o(this.el,{position:this.opts.position,width:0,zIndex:this.opts.zIndex,left:this.opts.left,top:this.opts.top,transform:"scale("+this.opts.scale+")"}),t&&t.insertBefore(this.el,t.firstChild||null),function(t,e){var n=Math.round(e.corners*e.width*500)/1e3+"px",a="none";!0===e.shadow?a="0 2px 4px #000":"string"==typeof e.shadow&&(a=e.shadow);for(var i=function(t){for(var e=/^\s*([a-zA-Z]+\s+)?(-?\d+(\.\d+)?)([a-zA-Z]*)\s+(-?\d+(\.\d+)?)([a-zA-Z]*)(.*)$/,n=[],a=0,i=t.split(",");a<i.length;a++){var r=i[a].match(e);if(null!==r){var o=+r[2],s=+r[5],d=r[4],l=r[7];0!==o||d||(d=l),0!==s||l||(l=d),d===l&&n.push({prefix:r[1]||"",x:o,y:s,xUnits:d,yUnits:l,end:r[8]})}}return n}(a),r=0;r<e.lines;r++){var l=~~(360/e.lines*r+e.rotate),u=o(document.createElement("div"),{position:"absolute",top:-e.width/2+"px",width:e.length+e.width+"px",height:e.width+"px",background:s(e.fadeColor,r),borderRadius:n,transformOrigin:"left",transform:"rotate("+l+"deg) translateX("+e.radius+"px)"}),p=r*e.direction/e.lines/e.speed;p-=1/e.speed;var c=o(document.createElement("div"),{width:"100%",height:"100%",background:s(e.color,r),borderRadius:n,boxShadow:d(i,l),animation:1/e.speed+"s linear "+p+"s infinite "+e.animation});u.appendChild(c),t.appendChild(u)}}(this.el,this.opts),this},t.prototype.stop=function(){return this.el&&("undefined"!=typeof requestAnimationFrame?cancelAnimationFrame(this.animateId):clearTimeout(this.animateId),this.el.parentNode&&this.el.parentNode.removeChild(this.el),this.el=void 0),this},t}();function o(t,e){for(var n in e)t.style[n]=e[n];return t}function s(t,e){return"string"==typeof t?t:t[e%t.length]}function d(t,e){for(var n=[],a=0,i=t;a<i.length;a++){var r=i[a],o=l(r.x,r.y,e);n.push(r.prefix+o[0]+r.xUnits+" "+o[1]+r.yUnits+r.end)}return n.join(", ")}function l(t,e,n){var a=n*Math.PI/180,i=Math.sin(a),r=Math.cos(a);return[Math.round(1e3*(t*r+e*i))/1e3,Math.round(1e3*(-t*i+e*r))/1e3]}var u=[];function p(t){if(void 0!==t){if(t.classList.contains("ladda-button")||t.classList.add("ladda-button"),t.hasAttribute("data-style")||t.setAttribute("data-style","expand-right"),!t.querySelector(".ladda-label")){var e=document.createElement("span");e.className="ladda-label",n=t,a=e,(i=document.createRange()).selectNodeContents(n),i.surroundContents(a),n.appendChild(a)}var n,a,i,o,s,d=t.querySelector(".ladda-spinner");d||((d=document.createElement("span")).className="ladda-spinner"),t.appendChild(d);var l={start:function(){return s||(s=function(t){var e,n,a=t.offsetHeight;0===a&&(a=parseFloat(window.getComputedStyle(t).height));a>32&&(a*=.8);t.hasAttribute("data-spinner-size")&&(a=parseInt(t.getAttribute("data-spinner-size"),10));t.hasAttribute("data-spinner-color")&&(e=t.getAttribute("data-spinner-color"));t.hasAttribute("data-spinner-lines")&&(n=parseInt(t.getAttribute("data-spinner-lines"),10));var i=.2*a;return new r({color:e||"#fff",lines:n||12,radius:i,length:.6*i,width:i<7?2:3,animation:"ladda-spinner-line-fade",zIndex:"auto",top:"auto",left:"auto",className:""})}(t)),t.disabled=!0,t.setAttribute("data-loading",""),clearTimeout(o),s.spin(d),this.setProgress(0),this},startAfter:function(t){return clearTimeout(o),o=setTimeout((function(){l.start()}),t),this},stop:function(){return l.isLoading()&&(t.disabled=!1,t.removeAttribute("data-loading")),clearTimeout(o),s&&(o=setTimeout((function(){s.stop()}),1e3)),this},toggle:function(){return this.isLoading()?this.stop():this.start()},setProgress:function(e){e=Math.max(Math.min(e,1),0);var n=t.querySelector(".ladda-progress");0===e&&n&&n.parentNode?n.parentNode.removeChild(n):(n||((n=document.createElement("div")).className="ladda-progress",t.appendChild(n)),n.style.width=(e||0)*t.offsetWidth+"px")},isLoading:function(){return t.hasAttribute("data-loading")},remove:function(){clearTimeout(o),t.disabled=!1,t.removeAttribute("data-loading"),s&&(s.stop(),s=null),u.splice(u.indexOf(l),1)}};return u.push(l),l}console.warn("Ladda button target must be defined.")}function c(t,e){var n;if("string"==typeof t)n=document.querySelectorAll(t);else{if("object"!=typeof t)throw new Error("target must be string or object");n=[t]}e=e||{};for(var a=0;a<n.length;a++)f(n[a],e)}function h(){for(var t=0,e=u.length;t<e;t++)u[t].stop()}function f(t,e){if("function"==typeof t.addEventListener){var n=p(t),a=-1;t.addEventListener("click",(function(){var i=!0,r=function(t,e){for(;t.parentNode&&t.tagName!==e;)t=t.parentNode;return e===t.tagName?t:void 0}(t,"FORM");void 0===r||r.hasAttribute("novalidate")||"function"==typeof r.checkValidity&&(i=r.checkValidity()),i&&(n.startAfter(1),"number"==typeof e.timeout&&(clearTimeout(a),a=setTimeout(n.stop,e.timeout)),"function"==typeof e.callback&&e.callback.apply(null,[n]))}),!1)}}}}]);