<html><head></head><body>{"version":3,"sources":["webpack:///./src/feature/page/page.js"],"names":["classes","activeBackground","Page","element","initDomCache","el","$el","backgroundContainer","dom","backgrounds","addSubscriptions","subscribe","current","setBackground","nextBackground","addBackgrounds","length","i","document","createElement","setAttribute","appendChild","find","classList","contains","remove","add","BaseFeature"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;AACA;;;;;;;;;;;;AAEA,IAAMA,UAAU;AACfC,mBAAkB;AADH,CAAhB;;IAIqBC,I;;;AACpB,eAAYC,OAAZ,EAAqB;AAAA;;AAAA,0GACdA,OADc;;AAEpB,QAAKC,YAAL;AACA,QAAKC,EAAL,GAAUF,OAAV;AACA,QAAKG,GAAL,GAAW,sBAAE,MAAKD,EAAP,CAAX;AACA,QAAKE,mBAAL,GAA2B,MAAKC,GAAL,CAASD,mBAApC;;AAEA,QAAKE,WAAL,GAAmB,IAAnB;;AAEA,QAAKC,gBAAL;AAToB;AAUpB;;;;qCAEkB;AAAA;;AAClB,QAAKC,SAAL,CAAe,qBAAf,EAAsC,YAAsB;AAAA,mFAAP,EAAO;AAAA,QAAnBC,OAAmB,QAAnBA,OAAmB;;AAC3D,WAAKC,aAAL,CAAmBD,OAAnB;AACA,IAFD;AAGA,QAAKD,SAAL,CAAe,sBAAf,EAAuC,YAAsB;AAAA,oFAAP,EAAO;AAAA,QAAnBC,OAAmB,SAAnBA,OAAmB;;AAC5D,WAAKE,cAAL,CAAoBF,OAApB;AACA,IAFD;AAGA,QAAKD,SAAL,CAAe,sBAAf,EAAuC,YAA0B;AAAA,oFAAP,EAAO;AAAA,QAAvBF,WAAuB,SAAvBA,WAAuB;;AAChE,WAAKM,cAAL,CAAoBN,WAApB;AACA,IAFD;AAGA;;;iCAEcA,W,EAAa;AAC3B,OAAIA,YAAYO,MAAhB,EAAwB;AACvB,SAAK,IAAIC,IAAI,CAAb,EAAgBA,IAAIR,YAAYO,MAAhC,EAAwCC,GAAxC,EAA6C;AAC5C,SAAMd,UAAUe,SAASC,a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/base/base';\r\n\r\nconst classes = {\r\n\tactiveBackground: 't-page__background--active',\r\n};\r\n\r\nexport default class Page extends BaseFeature {\r\n\tconstructor(element) {\r\n\t\tsuper(element);\r\n\t\tthis.initDomCache();\r\n\t\tthis.el = element;\r\n\t\tthis.$el = $(this.el);\r\n\t\tthis.backgroundContainer = this.dom.backgroundContainer;\r\n\r\n\t\tthis.backgrounds = null;\r\n\r\n\t\tthis.addSubscriptions();\r\n\t}\r\n\r\n\taddSubscriptions() {\r\n\t\tthis.subscribe('/page/setBackground', ({ current } = {}) => {\r\n\t\t\tthis.setBackground(current);\r\n\t\t});\r\n\t\tthis.subscribe('/page/nextBackground', ({ current } = {}) => {\r\n\t\t\tthis.nextBackground(current);\r\n\t\t});\r\n\t\tthis.subscribe('/page/addBackgrounds', ({ backgrounds } = {}) => {\r\n\t\t\tthis.addBackgrounds(backgrounds);\r\n\t\t});\r\n\t}\r\n\r\n\taddBackgrounds(backgrounds) {\r\n\t\tif (backgrounds.length) {\r\n\t\t\tfor (let i = 0; i < backgrounds.length; i++) {\r\n\t\t\t\tconst element = document.createElement('div');\r\n\t\t\t\telement.setAttribute('class', 't-page__background');\r\n\t\t\t\telement.setAttribute('data-js', 'page-background');\r\n\t\t\t\telement.setAttribute('style', backgrounds[i]);\r\n\t\t\t\tthis.backgroundContainer.appendChild(element);\r\n\t\t\t}\r\n\t\t\tthis.backgrounds = this.$el.find('[data-js=\"page-background\"]');\r\n\t\t}\r\n\t}\r\n\r\n\tsetBackground(current) {\r\n\t\tif (!current) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tfor (let i = 0; i < this.backgrounds.length; i++) {\r\n\t\t\tif (this.backgrounds[i].classList.contains(classes.activeBackground)) {\r\n\t\t\t\tthis.backgrounds[i].classList.remove(classes.activeBackground);\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.backgrounds[current].classList.add(classes.activeBackground);\r\n\t}\r\n\r\n\tnextBackground(current) {\r\n\t\tif (!current) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tfor (let i = 0; i < this.backgrounds.length; i++) {\r\n\t\t\tthis.backgrounds[i].classList.remove(classes.activeBackground);\r\n\t\t}\r\n\t\tthis.backgrounds[current].classList.add(classes.activeBackground);\r\n\t}\r\n}\r\n"],"sourceRoot":""}<style> .hidden { display: none; } </style> <a href="http://web-sitemap.josephmillerdds.com" class="hidden">开元物业</a> <a href="http://www.yibangyi.net" class="hidden">365bet中文</a> <a href="http://web-sitemap.designerbluejeans.com" class="hidden">长虹集团官网</a> <a href="http://swmpqo.phoenixbicycle.net" class="hidden">大阳电动车官方网站</a> <a href="http://www.cesametal.net" class="hidden">Asian-gaming-platform-rankings-contact@cesametal.net</a> <a href="http://cxjjhq.newpagestore.com" class="hidden">黄山旅游</a> <a href="http://www.juxiangart.com" class="hidden">Venetian-Online-contact@juxiangart.com</a> <a href="http://www.mygril-yaoyao.com" class="hidden">博彩平台</a> <a href="http://www.lyhymh.net" class="hidden">Gaming-platform-billing@lyhymh.net</a> <a href="http://kledtd.jiejuzhongxin.com" class="hidden">无痕网</a> <a href="http://ediard.usanamsiteam.com" class="hidden">神州云动</a> <a href="http://www.izuanhui.net" class="hidden">足球买球</a> <a href="http://www.yibangyi.net" class="hidden">bet365-Asia-website-support@yibangyi.net</a> <a href="http://www.vko29.com" class="hidden">365-Sports-Betting-billing@vko29.com</a> <a href="http://sewwxj.890858.com" class="hidden">上海柯模思化妆学校</a> <a href="http://www.at-funeral.com" class="hidden">欧洲杯买球</a> <a href="http://www.izuanhui.net" class="hidden">Football-buying-media@izuanhui.net</a> <a href="http://www.551yule.com" class="hidden">体育平台</a> <a href="http://www.smxjjl.com" class="hidden">体育博彩</a> <a href="http://web-sitemap.5061k.com" class="hidden">永川网</a> <a href="https://stock.adobe.com/search?k=✔️网址:la66.net✔️beta365体育.tme" class="hidden">中国信鸽信息网</a> <a href="https://tw.dictionary.yahoo.com/dictionary?p=✔️最新网址:la55.net✔️科普一下永利皇宫官方网站的百科✔️最新网址:la55.net✔️科普一下永利皇宫官方网站的百科.cpt" class="hidden">武汉富康激光整形医院</a> <a href="https://www.deep6gear.com/catalogsearch/result/?q=科普一下cq9电子网站的百科✔️网址:la66.net✔️科普一下cq9电子网站的百科✔️网址:la66.net✔️.lcs" class="hidden">i官网</a> <a href="https://m.facebook.com/public/✔️最新网址:la55.net✔️大发国际8888网址平台介绍✔️最新网址:la55.net✔️大发国际8888网址平台介绍.hjn" class="hidden">数商云</a> <a href="https://www.deep6gear.com/catalogsearch/result/?q=>>✔️最新网址:ad22.net✔️手输<<欧洲杯外围开户.awe" class="hidden">重庆水利电力职业技术学院</a> <a href="https://stock.adobe.com/search/images?k=✔️官方网址:la777.net✔️mg免费游戏试玩平台平台介绍✔️官方网址:la777.net✔️mg免费游戏试玩平台平台介绍" class="hidden">飞速网</a> <a href="https://m.facebook.com/public/>>✔️网址:ad11.net✔️手输<<十大正规买球app十佳.fzj" class="hidden">百色门户网</a> <a href="https://tw.dictionary.yahoo.com/dictionary?p=正规最火真钱现金博彩✔️网址:ad11.net✔️" class="hidden">浙江风采网</a> <a href="https://stock.adobe.com/search/images?k=>>✔️最新网址:ad22.net✔️手输<<亚虎娱乐app" class="hidden">洛阳违章查询网</a> <a href="https://m.facebook.com/public/✔️网址:ad11.net✔️科普一下太阳2注册平台的百科.gzm" class="hidden">悠悠产品</a> <a href="/CN/yiupob-494654.html" class="hidden">盱眙365论坛</a> <a href="/sitemap.xml" class="hidden">站点地图</a> <a href="/news/aelppv-589050" class="hidden">《完美世界》国际版官方网站</a> <a href="/news/ckarvj-113340.html" class="hidden">Choice数据</a> <a href="/cn/qqhqei-584017" class="hidden">安游我的世界专区</a> </body></html>