XylotrechusZ
XylotrechusZ Shell
: /home/matican/vahabathari.com/wp-content/plugins/revslider-polyfold-addon/public/js/ [ drwxr-xr-x ]
/**
* @preserve
* @author ThemePunch <info@themepunch.com>
* @link http://www.themepunch.com/
* @copyright 2018 ThemePunch
* @version 6.7.0
*/
!function(){"use strict";if(window.SR7??={},window._tpt??={},SR7.A??={},SR7.F??={},SR7.D??={},void 0!==SR7.A.polyfold)return;let t={pI:t=>parseInt(t),pID:t=>parseInt(t)/100,pF:t=>parseFloat(t),s:t=>String(t),b:t=>"on"===t||!0===t||1===t||"off"!==t&&!1!==t&&0!==t&&t,k:t=>t};SR7.A.polyfold={style:".rs-addon-polyfold {position: absolute;left: 0;width: 100%;height: auto;z-index: 1099;pointer-events: none;}.rs-addon-polyfold div {position: absolute;border-style: solid;box-sizing: content-box}.rs-addon-poly-nav-level {z-index: 999}.rs-addon-poly-static-level {z-index: 99}.rs-addon-polyfold:not(.rs-addon-poly-center) div:first-child {left: 0}.rs-addon-polyfold:not(.rs-addon-poly-center) div:last-child {right: 0}.rs-addon-poly-center div:first-child {right: 50%}.rs-addon-poly-center div:last-child {left: 50%}.rs-addon-polyfold:not(.rs-addon-poly-top), .rs-addon-polyfold:not(.rs-addon-poly-top) div {bottom: 0}.rs-addon-poly-top {top: 0}.rs-addon-poly-top div {top: 0}",getLayerBasics:(t={},e)=>({u:"compare"==e?void 0:t.u??t.enable??!1}),getModuleBasics:(e={},o)=>{let s="migrate"==o,i="normalize"==o,l={u:"compare"==o?void 0:e.u??e.enable??!0};for(let o of["top","bottom"])l[o[0]]={u:e[o[0]]?.u??e[o]?.enabled??!1,pos:o,a:e[o[0]]?.a??e[o]?.animated??!1,c:e[o[0]]?.c??(s?_tpt.gradient.convert(e[o]?.color??"#ffffff",!0):"#ffffff"),e:e[o[0]]?.e??e[o]?.ease??"ease-in-out",h:t[i?"pI":"k"](e[o[0]]?.h??e[o]?.height??100),mobile:e[o[0]]?.mobile??e[o]?.hideOnMobile??!1,i:e[o[0]]?.i??e[o]?.inverted??!1,left:t[i?"pI":"k"](e[o[0]]?.left??e[o]?.leftWidth??50),right:t[i?"pI":"k"](e[o[0]]?.right??e[o]?.rightWidth??50),neg:e[o[0]]?.neg??e[o]?.negative??!1,place:t[i?"pI":"k"](e[o[0]]?.placement??e[o]?.placement??1),point:e[o[0]]?.point??e[o]?.point??"sides",range:e[o[0]]?.range??e[o]?.range??"slider",resp:e[o[0]]?.responsive??e[o]?.responsive??!0,sc:e[o[0]]?.scroll??e[o]?.scroll??!0,t:e[o[0]]?.time??e[o]?.time??.3},i&&(l[o[0]].right*=.01,l[o[0]].left*=.01);return l},getLayerWraps:(t,e)=>{const o=SR7.M[t];if(""+(o.settings?.addOns?.polyfold?.u??!1)!="false"&&void 0!==e.addOns.polyfold&&"slidebg"!=e.subtype)return{wrap:{use:!0,class:"sr-wb-wrap"},innerWrap:{use:!0,class:"sr-wb-inner"}}},init:t=>{void 0===SR7.A.polyfoldcss&&(_tpt.injectCssJs(SR7.A.polyfold.style,void 0,void 0,"polyfold_global_styles"),SR7.A.polyfoldcss=!0);let e=SR7.M[t];SR7.M[t].c.moduleListeners??={},SR7.M[t].c.moduleListeners.polyfold??={},_tpt.scrollObserver.observe(SR7.M[t].c.module),SR7.F.module.listeners.init(t),_tpt.scrollObserver.observe(SR7.M[t].c.module),SR7.F.module.listeners.init(t),SR7.A.polyfold.listeners.init(t),e.addOns??={},e.addOns.polyfold??={},e.addOns.polyfold.settings=SR7.A.polyfold.getModuleBasics(e.settings.addOns.polyfold,"normalize");for(let s of["top","bottom"])e.addOns.polyfold.settings?.[s[0]]?.u&&(e.addOns.polyfold[s]=new o(t,e.addOns.polyfold.settings[s[0]]))},listeners:{init:t=>{let e=SR7.A.polyfold;e.listenersAdded?.[t]||(SR7.M[t].c.moduleListeners.polyfold.scroll??=SR7.F.module.listeners.reg(t,"scroll",(function(t){SR7.A.polyfold.scrolled(t)})),e.listenersAdded??={},e.listenersAdded[t]=!0)}},scrolled:t=>{for(let e of["top","bottom"])SR7.M[t].addOns.polyfold[e]&&SR7.M[t].addOns.polyfold[e].draw()}};let e={base:"rs-addon-polyfold",top:"rs-addon-poly-top",bottom:"rs-addon-poly-bottom",center:"rs-addon-poly-center",navLevel:"rs-addon-poly-nav-level",staticLevel:"rs-addon-poly-static-level"};function o(t,e){SR7.M[t];return this.id=t,this.settings=e,this.calc=!1,this.init(),this}o.prototype={init:function(){let t=SR7.M[this.id],o=this.settings,s=document.createElement("div"),i=document.createDocumentFragment();this.left=document.createElement("div"),this.right=document.createElement("div");let l=e[o.pos],d=e.base+" "+e[o.pos]+(o.place>1?" "+(2==o.place?e.navLevel:e.staticLevel):"");o.a&&_tpt.injectCssJs("#"+t.c.module.id+"_wrapper ."+l+" div {transition: border-width "+o.t+"s "+o.e+";}",void 0,void 0,this.id+"_"+o.pos+"_polyfold_styles"),"center"===o.point&&(d+=" "+e.center),i.appendChild(this.left),i.appendChild(this.right),s.className=d,s.appendChild(i),this.colors(),this.draw(),this.draw(),this.draw(),t.c.content.appendChild(s)},colors:function(){let t,e,o=this.settings,s=o.c.string;o.neg?(t="top"==o.pos?"transparent "+s+" transparent transparent":"transparent transparent "+s+" transparent",e=("top"==o.pos?s+" ":"")+"transparent transparent transparent "+("top"!==o.pos?s:"")):(t=("top"==o.pos?s+" ":"")+"transparent transparent transparent "+("top"!==o.pos?s:""),e="top"==o.pos?"transparent "+s+" transparent transparent":"transparent transparent "+s+" transparent"),this.left.style.borderColor=t,this.right.style.borderColor=e},draw:function(){let t,e,o,s=SR7.M[this.id],i=this.settings;if(this.drawHeight=this.range?s.dims.module.h:_tpt.winH,this.polyHeight=Math.min(this.responsive?Math.round(i.height*(s.dims.module.w/s.dims.CFC.w)):i.h,s.dims.module.h),i.sc){if(!(s.dims.moduleRect.top+window.pageYOffset<_tpt.winH+window.pageYOffset&&s.dims.moduleRect.bottom>0))return 1;{let e=this.left.getBoundingClientRect().top;if("top"!==i.pos)t=!1!==this.calc?i.i?s.dims.moduleRect.bottom:s.dims.moduleRect.bottom-this.calc:e,this.calc=i.i?this.polyHeight-this.polyHeight*((this.drawHeight-t)/this.drawHeight):this.polyHeight*((this.drawHeight-t)/this.drawHeight);else{var l=this.range?_tpt.winH-s.dims.module.h:0;t=!1!==this.calc?i.i?s.dims.moduleRect.top:parseInt(s.dims.moduleRect.top)+parseInt(this.calc):e,this.calc=i.i?this.polyHeight-this.polyHeight*((t-l)/this.drawHeight):this.polyHeight*((t-l)/this.drawHeight)}this.calc=Math.floor(Math.min(Math.max(this.calc,0),this.polyHeight))}}else this.calc=this.polyHeight;if(i.neg?"top"!==i.pos?(e="0 0 "+this.calc+"px "+Math.round(s.dims.module.w*i.left)+"px",o=this.calc+"px 0 0 "+Math.round(s.dims.module.w*i.right)+"px"):(e="0 "+Math.round(s.dims.module.w*i.left)+"px "+this.calc+"px 0",o=this.calc+"px "+Math.round(s.dims.module.w*i.right)+"px 0 0"):"top"!==i.pos?(e=this.calc+"px 0 0 "+Math.round(s.dims.module.w*i.left)+"px",o="0 0 "+this.calc+"px "+Math.round(s.dims.module.w*i.right)+"px"):(e=this.calc+"px "+Math.round(s.dims.module.w*i.left)+"px 0 0",o="0 "+Math.round(s.dims.module.w*i.right)+"px "+this.calc+"px 0"),this.left.style.borderWidth=e,this.right.style.borderWidth=o,i.sc)return t}},_tpt.R??={},_tpt.R.polyfold=_tpt.extend?_tpt.extend(_tpt.R.polyfold,{status:2,version:"1.0"}):{status:2,version:"1.0"},window.dispatchEvent(new CustomEvent("SR7TypeWriterReady"))}();