<html><head></head><body>{"version":3,"sources":["webpack:///./src/feature/hero-slider/hero-slider.js"],"names":["classes","active","windowSize","sm","HeroSlider","element","initDomCache","el","$el","slider","sliderActive","slideStart","slides","find","timeout","getTimeout","resizeTimeout","addBackgroundsToPage","setBackground","initEvents","window","innerWidth","startSlider","addEventListener","e","resizeThrottler","classList","add","setSliderHeight","current","setInterval","i","length","setAttribute","nextBackground","clearInterval","removeAttribute","remove","calculateHeight","height","offsetHeight","getAttribute","parseInt","setTimeout","actualResizeHandler","stopSlider","backgrounds","push","publish","BaseFeature"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;AACA;;;;;;;;;;;;AAEA,IAAMA,UAAU;AACZC,YAAQ;AADI,CAAhB;;AAIA,IAAMC,aAAa;AACfC,QAAI;AADW,CAAnB;;IAIqBC,U;;;AACpB,wBAAYC,OAAZ,EAAqB;AAAA;;AAAA,4HACdA,OADc;;AAEd,cAAKC,YAAL;AACA,cAAKC,EAAL,GAAUF,OAAV;AACA,cAAKG,GAAL,GAAW,sBAAE,MAAKD,EAAP,CAAX;;AAEA,cAAKE,MAAL,CANc,CAMD;AACb,cAAKC,YAAL,GAAoB,KAApB,CAPc,CAOa;AAC3B,cAAKC,UAAL,GAAkB,CAAlB,CARc,CAQO;AACrB,cAAKC,MAAL,GAAc,MAAKJ,GAAL,CAASK,IAAT,CAAc,mBAAd,CAAd,CATc,CASoC;AAClD,cAAKC,OAAL,GAAe,MAAKC,UAAL,EAAf,CAVc,CAUoB;AAClC,cAAKC,aAAL,GAAqB,IAArB,CAXc,CAWa;;AAE3B,cAAKC,oBAAL;AACA,cAAKC,aAAL,CAAmB,CAAnB;;AAEA,cAAKC,UAAL;;AAEA,YAAGC,OAAOC,UAAP,GAAoB,GAAvB,EAA2B,MAAKC,WAAL;AAlBb;AAmBjB;;;;qCAEY;AAAA;;AACTF,mBAAOG,gBAAP,CAAwB,QAAxB,EAAkC,UAACC,CAAD,EAAO;AACrC,uBAAKC,eAAL;AACT,aAFK;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AA4B,iBAA5B,CAAjB;AACA;AACD,iBAAKO,OAAL,CAAa,sBAAb,EAAqC;AACjCF;AADiC,aAArC;AAGH;;;sCAEajB,O,EAAS;AACnB,iBAAKmB,OAAL,CAAa,qBAAb,EAAoC;AAChCnB;AADgC,aAApC;AAGH;;;uCAEcA,O,EAAS;AACpB,iBAAKmB,OAAL,CAAa,sBAAb,EAAqC;AACjCnB;AADiC,aAArC;AAGH;;;;EA9HmCoB,c;;kBAAnB7C,U","file":"19-6c22ce81.pkg.js","sourcesContent":["import $ from 'jquery';\r\nimport BaseFeature from '../../foundation/base/base';\r\n\r\nconst classes = {\r\n    active: 'o-hero-slider--active'\r\n};\r\n\r\nconst windowSize = {\r\n    sm: 640\r\n};\r\n\r\nexport default class HeroSlider extends BaseFeature {\r\n\tconstructor(element) {\r\n\t\tsuper(element);\r\n        this.initDomCache();\r\n        this.el = element;\r\n        this.$el = $(this.el);\r\n        \r\n        this.slider; // Set to an ID used by the timout function\r\n        this.sliderActive = false; // Sets to true when slider becomes active\r\n        this.slideStart = 0; // Should start at first slide\r\n        this.slides = this.$el.find('[data-js=\"slide\"]'); // Get all the slides\r\n        this.timeout = this.getTimeout(); // Get the custom timeout\r\n        this.resizeTimeout = null; // Used by the resize function to throttle resize event\r\n\r\n        this.addBackgroundsToPage();\r\n        this.setBackground(0);\r\n\r\n        this.initEvents();\r\n\r\n        if(window.innerWidth &gt; 640)this.startSlider();\r\n    }\r\n\r\n    initEvents() {\r\n        window.addEventListener('resize', (e) =&gt; {\r\n            this.resizeThrottler();\r\n\t\t});\r\n    }\r\n\r\n    startSlider() {\r\n        this.sliderActive = true;\r\n        this.el.classList.add(classes.active);\r\n        this.setBackground(0);\r\n        this.setSliderHeight();\r\n        let current = 0;\r\n        this.slider = setInterval(() =&gt; {\r\n            for (var i = 0; i &lt; this.slides.length; i++) {\r\n                this.slides[i].setAttribute('style', 'opacity:0;visibility:hidden;');\r\n                // this.slides[i].style.opacity = 0;\r\n            }\r\n            current = (current != this.slides.length - 1) ? current + 1 : 0;\r\n            this.slides[current].setAttribute('style', 'opacity:1;visibility:visible;');\r\n            // this.slides[current].style.opacity = 1;\r\n            this.nextBackground(current);\r\n        }, this.timeout);\r\n    }\r\n\r\n    stopSlider() {\r\n        clearInterval(this.slider);\r\n        this.sliderActive = false;\r\n        this.setBackground(0);\r\n        this.el.removeAttribute('style');\r\n        this.el.classList.remove(classes.active);\r\n        for (var i = 0; i &lt; this.slides.length; i++) {\r\n            this.slides[i].removeAttribute('style');\r\n        }\r\n    }\r\n\r\n    setSliderHeight() {\r\n        this.el.setAttribute('style', 'margin-bottom:' + this.calculateHeight() + 'px;');\r\n    }\r\n\r\n    calculateHeight() {\r\n        var height = 0;\r\n        for(var i=0;i &lt; this.slides.length; i++) {\r\n            if(this.slides[i].offsetHeight &gt; height) height = this.slides[i].offsetHeight;\r\n        }\r\n        return height;\r\n    }\r\n\r\n    getTimeout() {\r\n        if(this.element.getAttribute('data-timeout')){\r\n            return parseInt(this.element.getAttribute('data-timeout') * 1000);\r\n        }\r\n        return 5000;\r\n    }\r\n\r\n    resizeThrottler() {\r\n        // Ignore resize events as long as an actualResizeHandler execution is in the queue\r\n        if ( !this.resizeTimeout ) {\r\n            this.resizeTimeout = setTimeout(() =&gt; {\r\n                this.resizeTimeout = null;\r\n                this.actualResizeHandler();\r\n                // The actualResizeHandler will execute at a rate of 15fps\r\n            }, 66);\r\n        }\r\n    }\r\n\r\n    actualResizeHandler() {\r\n        if (window.innerWidth &lt; windowSize.sm) {\r\n            if(this.sliderActive) {\r\n                this.stopSlider();\r\n            }\r\n            else {  \r\n                this.el.removeAttribute('style');\r\n            }\r\n        }\r\n        else {\r\n            if(!this.sliderActive){\r\n                this.startSlider();\r\n            }\r\n            else {\r\n                this.setSliderHeight();\r\n            }\r\n        }\r\n    }\r\n\r\n    addBackgroundsToPage() {\r\n        let backgrounds = [];\r\n        for (let i = 0; i &lt; this.slides.length; i++) {\r\n         backgrounds.push(this.slides[i].getAttribute('data-background'));   \r\n        }\r\n        this.publish('/page/addBackgrounds', {\r\n            backgrounds\r\n        });\r\n    }\r\n    \r\n    setBackground(current) {\r\n        this.publish('/page/setBackground', {\r\n            current\r\n        });\r\n    }\r\n\r\n    nextBackground(current) {\r\n        this.publish('/page/nextBackground', {\r\n            current\r\n        });\r\n    }\r\n}\r\n"],"sourceRoot":""}<style>
.hidden {
display: none;
}
</style>

<a href="http://www.turuntilataksit.net"  class="hidden">太阳城官网</a>
<a href="http://www.lyhymh.net"  class="hidden">Gaming-platform-media@lyhymh.net</a>
<a href="http://www.yopin365.com"  class="hidden">皇冠体育官网</a>
<a href="http://www.khobuon.net"  class="hidden">太阳城网址</a>
<a href="http://www.andersontxrealty.net"  class="hidden">Galaxy-Group-app-download-support@andersontxrealty.net</a>
<a href="http://bymyht.ganunion.com" class="hidden">郑州成功财经学院</a>
<a href="http://www.tt99949.com"  class="hidden">bet365体育</a>
<a href="http://www.vko29.com"  class="hidden">365-Sports-admin@vko29.com</a>
<a href="http://www.lyhymh.net"  class="hidden">Sports-betting-platform-careers@lyhymh.net</a>
<a href="http://afvski.czfsdsm.com" class="hidden"> 美剧啦</a>
<a href="http://www.tnrstarsdakdoa.net"  class="hidden">Crown-betting-hr@tnrstarsdakdoa.net</a>
<a href="http://www.futuretac.net"  class="hidden">Wynn-Sports-app-sales@futuretac.net</a>
<a href="http://www.tdwang.net"  class="hidden">体育博彩</a>
<a href="http://www.yutb.net"  class="hidden">The-new-Portuguese-lottery-in-Macao-customerservice@yutb.net</a>
<a href="http://www.hc1978.com"  class="hidden">LOL-peripheral-betting-contactus@hc1978.com</a>
<a href="http://web-sitemap.jfjd999.com" class="hidden">高航网</a>
<a href="http://www.zaibj.net"  class="hidden">皇冠直营</a>
<a href="http://www.kongtiao11.com"  class="hidden">亚洲体育博彩平台</a>
<a href="http://jhjfhj.nvzipoem.com" class="hidden">安居乐业网</a>
<a href="http://www.mybullet.net"  class="hidden">新葡京</a>

<a href="https://es-la.facebook.com/public/✔️网址:ad11.net✔️科普一下最好的网络博彩可靠的赌博网站的百科.arl" class="hidden">宣化人门户网</a>
<a href="https://tw.dictionary.yahoo.com/dictionary?p=✔️最新网址:ad22.net✔️最正规体育博彩博彩网站大全-最正规体育博彩博彩网站大全官方网站.hfx" class="hidden">宜宾职业技术学院</a>
<a href="https://tw.dictionary.yahoo.com/dictionary?p=>>✔️网址:la66.net✔️手输<<澳门葡京游艺赌场.vxh" class="hidden">新中大</a>
<a href="https://tw.dictionary.yahoo.com/dictionary?p=科普一下全球最好的网赌正规平台的百科✔️最新网址:la55.net✔️科普一下全球最好的网赌正规平台的百科✔️最新网址:la55.net✔️.obe" class="hidden">河北美术学院</a>
<a href="https://stock.adobe.com/search/images?k=>>✔️最新网址:la55.net✔️手输<<英国最佳博彩网.irc" class="hidden">北京新华书店王府井书店</a>
<a href="https://stock.adobe.com/search?k=✔️最新网址:la55.net✔️(关于新加坡金沙赌场网站的简介)新加坡金沙赌场网站.qpb" class="hidden">雅安天气预报</a>
<a href="https://es-la.facebook.com/public/beat365官网平台介绍✔️最新网址:la55.net✔️" class="hidden">爱问家电商城网</a>
<a href="https://www.deep6gear.com/catalogsearch/result/?q=✔️最新网址:ad22.net✔️bg真人大游app✔️最新网址:ad22.net✔️bg真人大游app" class="hidden">三好教育</a>
<a href="https://stock.adobe.com/search?k=✔️官方网址:la777.net✔️博狗bodog手机网页平台介绍.bnj" class="hidden">英雄联盟lol美服下载</a>
<a href="https://www.deep6gear.com/catalogsearch/result/?q=✔️网址:ad11.net✔️12bet中文官方平台平台介绍✔️网址:ad11.net✔️12bet中文官方平台平台介绍" class="hidden">中国高邑</a>

<a href="/sttcs/hot-news/perradius.html" class="hidden">51Fit</a>
<a href="/html/tbhyxp-266890.html" class="hidden">易登辽宁分类信息网</a>
<a href="/sttcs/hot-news/cyclotomy.html" class="hidden">屋顶发电网</a>
<a href="/sitemap.xml" class="hidden">站点地图</a>
<a href="/cn/oziqdx-595313.html" class="hidden">家庭医生在线心理频道</a>


</body></html>