whale-cmp 0.12.1 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=[{title:"Overview",description:"The Terms of Use ('Terms') set out the terms we would like to provide you, or the legal entity represented by you, ('you' or 'your') with access to our Services ('Services'mean our productions, application, software, information offering services, Internet services, websites and other related services provided by us). When you use our Services, we and our partner may use cookies and similar technologies to learn how you use our Services and to improve your experience. Please read these terms carefully, pressing the 'Accept' button shall mean that you accept these Terms and that you agree all cookies. If you press 'Don't Accept', you will not be able to use our Services."},{title:"Changes to This Terms",description:"We may amend this Terms at any time in our discretion. And We may, at our discretion, change, update or upgrade features or the software. If such changes have an impact on this Terms, the amended Terms shall be effective immediately upon posting of the amended Terms via the application. If you continue to use our Services after receiving the updated Terms, that means you accept and agree to the amended Terms. If you do not agree to the amended Terms, we may not be able to provide updates, upgrades or enhancements, and you may not be able to continue using some smart features."},{title:"Permitted Use and Restrictions",description:"1.The Application is for personal, non-commercial use only. It is for use only in those countries where Content Partner authorised us to distribute. If you are using our services outside these countries, the rights granted under this Terms do not apply. Some of the Content Partner use technologies to verify your geographic location, and you may not be able to use this Application to access any Content outside these countries or locations.\n <br/><br/>\n 2.You may not use our services if: (a) you are not of legal age to form the binding Terms of Use with us, or (b) you are a person who is barred or otherwise legally prohibited from accessing Content under the laws of the country in which you reside. Notwithstanding the foregoing, you must be at least 16 years of age or the minimum age allowable under the laws of your jurisdiction ('Minimum Age') to assume the responsibilities under this Terms. If you are under the Minimum Age, you may use our services only with one of your parents or legal guardian’s consent. If you use our services, we will assume that you are of the Minimum Age or older or, if you are under the Minimum Age, that your parent or legal guardian has consented to your use of our services.\n <br/><br/>\n 3.If you are a parent or guardian permitting a person under the legal age of majority ('Minor') to use our services, you agree to: (i) supervise the Minor’s use of our services; (ii) assume all risks associated with the Minor’s use of our services, including the receipt and transmission of information and materials via Application and the transactions made for Digital Goods and Third Party services; (iii) assume any liability resulting from the Minor’s use of our services; and (iv) be bound by this Agreement for the Minor’s access and use of our services.\n <br/><br/>\n 4.You agree not to exploit the Application or Content in any unauthorized way, including but not limited to, by trespassing, burdening network or server capacity or using application or Content other than for authorized purposes. Copyright and other intellectual property laws protect application and Content, and you agree to abide by and maintain all notices, license information, and restrictions contained therein. Unless expressly permitted herein or otherwise permitted in a separate agreement with us, you may not modify, publish, put on network, rent, lease, loan, transmit, sell, participate in the transfer or sale of, reproduce, create derivative works based on, redistribute, perform, display, or in any way exploit the Application or Content in whole or in part. You may not decompile, reverse engineer, disassemble, change, replace or attempt to root any software or security components of your Smart Device, Application or Content unless specifically permitted by applicable mandatory law. Use of the Application or Content to violate, tamper with, or circumvent the security of any computer network, software, passwords, encryption codes, technological protection measures, or to otherwise engage in any kind of illegal activity, or to enable others to do so, is expressly prohibited.\n <br/><br/>\n 5.All copyrights, trademarks and other rights, title and interest in and on Application (excluding the services, Content and brand features of the Content Partners) are and shall remain the property owned by us. Except as expressly provided under this TOU, you shall not acquire any intellectual property or other proprietary rights in or to the Television, the Software or the Content, including any rights in patents, inventions, improvements, designs, trademarks, database rights or copyrights, nor shall you acquire any rights in any confidential information or trade-secrets. You may not remove, obscure, alter or conceal any trademark, logo, copyright or other proprietary notice in or on any Application, Software or Content. Copying or redistribution of any Content delivered via the Television is strictly prohibited and we may prevent or restrict you from copying or re-distributing any elements of the Software or Content by using digital rights management or other technologies.\n <br/><br/>\n 6.The Application is proprietary to us and may be used only with the Device. Subject to this Terms, you have a non-exclusive, non-transferable license to run the Software and any updated versions provided to you by us, only in and as incorporated in the Device. This is a license and not a sale.\n <br/><br/>\n 7.The Agreement is effective for the duration of your access to and use the Application. Your right to use the Application will immediately terminate upon your breach of this Agreement, or your continued access and use is harmful to the interests of any third party or is in violation of any applicable law. If you do not agree to the content of this Agreement, you may terminate it at any time by stopping your access to and use of Application."},{title:"Cookies & Targeting",description:"Cookies are small text files that the services often store on devices of visitors. We may drop cookies on End-Users in connection with Application. Cookies are used to recognize End-Users, enhance End-Users’ experience, personalize End-Users’ experience, deliver and tailor marketing and advertising ('End-User Targeting'), and generally improve the services provided.\n <br/><br/>\n End-User Targeting information provided by us can be passed in the ad calls to the specified Ad Partner. The frequently used personal data for End-User Targeting will include but not be limited to IP, user-agent, bundleID, contextual metadata, break duration, Ad ID*, device resolution, device dimension, etc.. You can find the passed information list at http://partner.zeasn.com/partnerportal/WhaleAdsMacros/index.jhtml\n <br/><br/>\n How Ad Partner use cookies and how they collect and use personal data is governed by their own privacy and/or cookie policy and we have no influence on this. You can find Ad Partner list at https://www.zeasn.com/about?id=29."},{title:"*Ad ID ",description:"1. Ad ID stands for Identifier For Advertising. It is an Advertising Identifier introduced by us specifically for advertising purposes on Smart TVs. Ad ID is available once you accepted the Terms of Use to use our service.\n <br/><br/>\n 2. Only consumers can reset Ad ID. Smart TV consumers have the option to reset the advertising identifier on their Smart TVs in four ways as follows: a) Clear Internet cache;b) Reset Ad ID; c)Cancellation of acceptance of TOU; d)Factory reset of the Smart TV.\n <br/><br/>\n Note: Advertisers can’t reset Ad ID for a smart TV.\n <br/><br/>\n 3. Ad ID offers the key Privacy Safeguard as follows: a) Ad ID supports Limit Ad Tracking; b) It can be reset by the consumer anytime by resetting the Ad ID, or by performing a factory reset of the Smart TV, both options available within the TV's menu; c) Ad ID is for advertising purposes only, with no connection to any PII (Personally Identifiable Information) or DUID (Device Unique Identifier).\n <br/><br/>\n 4. Ad ID was introduced on our platform to -\n <br/><br/>\n a) Comply with the latest IAB guidelines* around increasing privacy for Smart TV consumers.\n <br/><br/>\n https://iabtechlab.com/standards/guidelines-identifier-advertising-over-the-top-platforms/\n <br/><br/>\n https://iabtechlab.com/wp-content/uploads/2018/12/OTT-IFA-guidelines.final_Dec2018.pdf\n <br/><br/>\n b) Simplify TV identifiers on Smart TVs.\n <br/><br/>\n c) Provide Smart TV consumers with an option to opt out personalized ads and tracking. Consumers who opt out will still see ads, but they will not be personalized.\n <br/><br/>\n d) Address publisher’s growing needs for advertising within the Smart TV ecosystem.\n <br/><br/>\n 5. Limit Ad Tracking (also known as LAT) is a feature which allows consumers to opt-out of personalization or IBA (Interest Based Advertisements). When this setting is enabled, the consumer will no longer receive targeted advertisements."},{title:"Privacy and Information",description:"We are committed to protecting user privacy and providing a safe and secure environment for our users. Our privacy policy explains our policies regarding the collection, use, transmission and disclosure of information provided by or collected from you, the devices linked to it, and/or our websites. We are not responsible for the actions of third-parties to collect, use, transmit and disclose your information or data.\n <br/><br/>\n Your personal information is owned by you. You can ask us to provide details about what we’ve collected, and you can ask us to delete it or correct any inaccuracies. If you have any queries or complaints, please contact us at:privacy@zeasn.com."},{title:"Disclaimer Regarding Content",description:"We, at our sole discretion, may, but are not obligated to, pre-screen, review, flag, filter, modify, refuse, suspend, or remove any Third Party Content that are provided to you as part of or via the Services, without giving prior notice to you.\n <br/><br/>\n To the maximum extent permitted by law, our Services are provided 'as it is', with all faults and without warranty of any kind. Unless specifically designated otherwise by us, we are not responsible for any Application Services and Content, or your use thereof, nor for any comment or content you post on a Website or for the consequences thereof.\n <br/><br/>\n We are not responsible for any content you may access as part of or via your use of the Services (including audio and sound files, data files, images, graphics, animation, music, photographs, software, videos and written text) that were created by or are owned by a third party ('Third Party Content'), including advertisements, messages, or other sponsored content. Services and Content are not controlled, reviewed or programmed by us. You understand that by using the Services, you may be exposed to Content that might be offensive, harmful, inaccurate or otherwise inappropriate. We disclaim all liability for any Content. Any responsibility or liability for any Third Party Content shall remain solely with the creator, owner, or licensee of such Third Party Content and not with us whatsoever."},{title:"No Warranty",description:"We provide our services using a commercially reasonable level of skill and care and we hope that you will enjoy using them. But there are certain things that we don’t promise about Application.\n <br/><br/>\n We do not guarantee, represent, or warrant that the Application we provided will be: (i) uninterrupted, secure, virus-free or error-free, or (ii) free from attack or security intrusion. In no event shall we, our directors, officers or employees be liable to you for personal injury or property damage, or any special, incidental, exemplary, punitive, direct, indirect or consequential damages of any kind arising out of your use of the service or account.\n <br/><br/>\n We, and our affiliates, subsidiaries, officers, directors, employees, agents, partners, and licensees do not warrant or promise that the software or Internet services provided by us, including but not limited to, the portal, websites or content, or any other Internet services information or materials that you receive actively or passively, or are provided access to via the portal will be accurate, reliable, timely, secure, error-free or uninterrupted, or that any defects will be corrected. We cannot ensure that any app, service, content (including files, information or other data) you access or download from or via the portal will be free of viruses, contamination or destructive features. We explicitly disclaim all warranties, express or implied, including any warranties of accuracy, non-infringement, merchantability and fitness for a particular purpose."},{title:"Limitation on Liability",description:"We disclaim any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your access or use of Application, including but not limited to, services or Content. You assume total responsibility and all risks for your access or use thereof, including, but not limited to, any information obtained thereon. Your sole remedy against us for any damage, costs or dissatisfaction caused by the access or use of the Application, is to stop use of the Appliacion.\n <br/><br/>\n Some jurisdictions do not allow exclusions of certain warranties or limitations of liability for certain types of damages, so some of the above limitations in this section may not apply to you. Nothing in this Terms of Use shall affect any non-waivable statutory rights that apply to you, and you may also have other rights that vary from jurisdiction to jurisdiction. To the extent permitted by law, we exclude all warranties."},{title:"Compensation",description:"You agree to indemnify, defend and hold us harmless against all claims, demands, causes of action, losses, expenses, damages and costs, including any reasonable attorneys’ fees, resulting or arising from or relating to your access or use of our services."},{title:"Limitation on Access",description:"We reserve the right (but will not have any obligation) to refuse access to the Content on Application. We also reserve the right to access, read, preserve, and disclose any information as we reasonably believe is necessary to (i) comply with any applicable law, regulation, legal process or governmental request, (ii) enforce the Terms, including investigation of potential violations hereof, (iii) detect, prevent, or otherwise address fraud, security or technical issues, (iv) respond to user support requests, or (v) protect the rights, property or safety of us, our users and of the public. We may, in our sole discretion, add or remove access to any of the APPs at any time. Furthermore, we reserve the right, at any time in our sole discretion, to limit the availability and accessibility of the Application to any person, geographic area, or jurisdiction we so desire. The Application is subject to the export control laws of, among others, the Netherlands."},{title:"Payment Services",description:"Our Content Partner may offer you paid content. If you wish to purchase paid content from a Content Partner, you will need to enter into a separate agreement with such Content Partner. We are neither part of that agreement, nor do we carry any liability for such an agreement. You shall be responsible for all charges incurred through your payment account as well as for paying any applicable taxes."},{title:"Software Updates",description:"We reserve the right to automatically update the Application, including bug fixes and updates, changes in the user interface or how you access the Content, and other changes that may add, alter or remove functionalities and features. You acknowledge that these updates may happen automatically in the background at any time (and that they cannot be disabled by you). You understand that these updates are necessary to maintain compatibility with other updates to our products or services and may be required for security reasons. By using our services, you hereby agree to receive such updates."},{title:"General Legal Terms",description:"1.This Agreement (including any additional terms that you may have otherwise agreed to) constitutes the entire legal agreement between you and us and will govern your use of our software and Internet services. The English language version of this Agreement will control and translations, if any, are non-binding and for reference only.\n <br/><br/>\n 2.You agree that if we do not exercise or enforce any legal right or remedy which is set out in this Terms, or which we have the benefit of under any applicable law, such will not be construed as a waiver of our rights or remedies, and that such rights or remedies remain available to us.\n <br/><br/>\n 3.If any court of law having the jurisdiction to decide on this matter rules that any provision of this Agreement is invalid, then that provision will be removed from this Agreement without affecting the rest of this Agreement. The remaining provisions of this Agreement will continue to be valid and enforceable.\n <br/><br/>\n 4.The Application may be subject to the United States and other jurisdictions export laws and regulations. You agree to comply with all domestic and international export laws and regulations that apply to your distribution or use of products. These laws include restrictions on destinations, users, and end use.\n <br/><br/>\n 5.All claims arising out of or relating to this Agreement or Your relationship with us under this Agreement will be governed by the laws of the Netherlands, without regard to its conflict of laws provisions. All disputes arising from or in connection with this contract shall be exclusively settled by the courts of Amsterdam, the Netherlands.\n <br/><br/>\n 6.You may not transfer or assign this Terms or any of your rights or obligations arising hereunder. Any transfer in violation of this Terms shall be void.\n <br/><br/>\n 7.We will not be liable or responsible for any failure to perform, or delay in performance of, any of any obligations under this Terms that is caused by acts or events beyond our reasonable control.\n <br/><br/>\n 8.This Terms and our Privacy Policy are the entire agreement between you and us regarding your use of our services.\n <br/><br/>\n 9.You agree that regardless of any statute or law to the contrary, any claim of cause of action arising from or relating to the use of Application, or this Agreement must be filed within 13 (thirteen) calendar months after such claim or cause of action arose, or will be considered as having been expired. The 'No Warranty' and 'Limitation of Liability' provisions of this Agreement are for the benefit of us as defined therein, and each of these individuals or entities shall have the right to assert and enforce these provisions directly against you on its own behalf."},{title:"Contact Us",description:"If you have any questions, please contact us through the e-mail: privacy@zeasn.com"}];function t(e,t){document.getElementById(e)&&(document.getElementById(e).style.visibility=t)}function n(e){(e=e||{}).type=(e.type||"GET").toUpperCase(),e.dataType=e.dataType||"json";var t,n=e.data||"";(t=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP")).onreadystatechange=function(){if(4==t.readyState){var n=t.status;n>=200&&n<300?e.success&&e.success(t.responseText,t.responseXML):e.fail&&e.fail(n)}},"GET"==e.type?(t.open("GET",e.url+n,!0),t.send(null)):"POST"==e.type?(t.open("POST",e.url,!0),t.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),t.send(n)):"PUT"==e.type&&(t.open("PUT",e.url,!0),t.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),t.send(n))}function i(){var e=s("WhaleADID");return null!=e&&""!=e&&null!=e&&e&&e.match(/-/g)&&4==e.match(/-/g).length?r("WhaleADID",e,new Date((new Date).getTime()+31536e6)):r("WhaleADID",e=o(),new Date((new Date).getTime()+31536e6)),e}function o(){function e(e){var t=(Math.random().toString(16)+"000000000").substr(2,8);return e?"-"+t.substr(0,4)+"-"+t.substr(4,4):t}return e()+e(!0)+e(!0)+e()}function s(e){var t,n=new RegExp("(^| )"+e+"=([^;]*)(;|$)");return(t=(document.cookie||window.localStorage&&window.localStorage.cookie||"").match(n))?unescape(t[2]):""}function r(e,t,n,i,o,s){var r=e+"="+escape(t)+(n?";expires="+n.toGMTString():"");document.cookie=r}var a=function(){function n(e){this.callback=e,this.id="ad-tou"}return n.prototype.open=function(){if(document.getElementById(this.id))document.getElementById(this.id).style.visibility="visible";else{var e=document.createElement("div");e.setAttribute("id",this.id),e.setAttribute("tabindex","-1"),e.style.zIndex="1000",e.style.margin="auto",e.style.right="0px",e.style.bottom="0px",e.innerHTML='\n <div id="ad-tou-title">TERMS OF USE</div>\n <div id="ad-tou-hint">This App Uses Cookies and similiar technologies to improve performance and interest-based\n advertising. To find out more, please read the Terms of Use.</div>\n <div id="ad-tou-content">\n <div id="ad-tou-list">\n <div id="ad-tou-list-content">\n '.concat(this.terms(),'\n </div>\n <div id="ad-list-scroll">\n <div id="ad-list-bar"></div>\n </div>\n </div>\n <div id="ad-tou-btn" tabindex="-1">OK</div>\n </div>\n '),document.body.appendChild(e)}this.focusDefault()},n.prototype.left=function(){this.focusDefault()},n.prototype.right=function(){document.getElementById("ad-tou-btn").focus()},n.prototype.up=function(){this.scrollUp();var t=this.getIndex(),n=document.querySelector('#ad-tou-list-content .list-item[data-i="'.concat(t-1,'"]'));n&&n.focus();var i=t/e.length*100,o=document.getElementById("ad-list-bar");o&&(o.style.top=i+"%")},n.prototype.down=function(){this.scrollDown();var t=this.getIndex(),n=document.querySelector('#ad-tou-list-content .list-item[data-i="'.concat(t+1,'"]'));n&&n.focus();var i=t/e.length*100,o=document.getElementById("ad-list-bar");o&&(o.style.top=i+"%")},n.prototype.enter=function(){"ad-tou-btn"===document.activeElement.id&&this.close();var t=this.getIndex();if(t>-1){var n=document.activeElement.querySelector(".item-text");n.setAttribute("show","false"===n.getAttribute("show")?"true":"false"),t>=e.length-1&&n.scrollIntoView()}},n.prototype.scrollDown=function(){var t=this.getIndex();t>2&&t<e.length-1&&(document.getElementById("ad-tou-list-content").style.top="".concat(-1.2*(t-2),"rem"))},n.prototype.scrollUp=function(){var t=this.getIndex();t>1&&t<e.length-2&&(document.getElementById("ad-tou-list-content").style.top="".concat(-1.2*(t-2),"rem"))},n.prototype.close=function(){t(this.id,"hidden"),this.callback()},n.prototype.getIndex=function(){var e=-1;return null!=document.activeElement.getAttribute("data-i")&&(e=Number(document.activeElement.getAttribute("data-i"))),e},n.prototype.focusDefault=function(){document.querySelector("#ad-tou-list-content .list-item")&&document.querySelector("#ad-tou-list-content .list-item").focus()},n.prototype.terms=function(){for(var t="",n=0;n<e.length;n++)t+='<div class="list-item" tabindex="-1" data-i="'.concat(n,'">\n <div class="item-btn">\n <div class="btn-name">').concat(e[n].title,'</div>\n <div class="btn-icon"></div>\n </div>\n <div class="item-text" show="false">').concat(e[n].description,"</div>\n </div>");return t},n}(),d=function(){function e(e){this.callback=e,this.focusEl=null,this.id="cmp-reset-confirm"}return e.prototype.open=function(){if(document.getElementById(this.id))document.getElementById(this.id).style.visibility="visible";else{var e=document.createElement("div");e.setAttribute("id",this.id),e.setAttribute("tabindex","-1"),e.style.zIndex="1000",e.style.margin="auto",e.style.right="0px",e.style.bottom="0px",e.innerHTML='\n <div id="cmp-reset-content">\n <div class="confirm-title zeasn-cmp-reset-tip">Are you sure to reset your advertising ID?</div>\n <div class="confirm-buttons">\n <div tabindex="-1" id="reset-no" class="zeasn-cmp-no">No</div>\n <div tabindex="-1" id="reset-yes" class="zeasn-cmp-yes">Yes</div>\n </div>\n </div> \n ',document.body.appendChild(e)}this.focusDefault()},e.prototype.left=function(){this.focusEl.previousElementSibling&&(this.focusEl.previousElementSibling.focus(),this.focusEl=document.activeElement)},e.prototype.right=function(){this.focusEl.nextElementSibling&&(this.focusEl.nextElementSibling.focus(),this.focusEl=document.activeElement)},e.prototype.enter=function(){"reset-no"===this.focusEl.id?this.close():"reset-yes"===this.focusEl.id&&this.reset()},e.prototype.reset=function(){r("WhaleADID",""),this.close()},e.prototype.close=function(){t(this.id,"hidden"),this.callback()},e.prototype.focusDefault=function(){document.getElementById("reset-yes")&&(document.getElementById("reset-yes").focus(),this.focusEl=document.activeElement)},e}(),c=function(){function e(e){this.callback=e,this.id="options-set-success",this.show=!1}return e.prototype.open=function(){if(document.getElementById(this.id))document.getElementById(this.id).style.visibility="visible";else{var e=document.createElement("div");e.setAttribute("id",this.id),e.setAttribute("tabindex","-1"),e.style.zIndex="1000",e.style.margin="auto",e.style.left="0px",e.style.right="0px",e.style.bottom="0px",e.innerHTML='\n <div class="'.concat(this.id,'-title zeasn-cmp-set-successfully">Ad options set successfully !</div>\n <div class="').concat(this.id,'-button zeasn-cmp-ok">OK</div>\n '),document.body.appendChild(e)}this.show=!0},e.prototype.enter=function(){this.close()},e.prototype.close=function(){t(this.id,"hidden"),this.show=!1,this.callback()},e}(),l=function(){function e(e){this.callback=e,this.focusEl=null,this.id="ad-CMP",this.addQrScript(),this.qrCount=180,this.show=!1,this.refresh=!1,this.codeStatusTimer=null}return e.prototype.open=function(){if(document.getElementById(this.id))document.getElementById(this.id).style.visibility="visible";else{var e=document.createElement("div");e.setAttribute("id",this.id),e.setAttribute("tabindex","-1"),e.style.zIndex="1000",e.innerHTML='\n <div id="cmp-title">\n <div id="left-title">Manage personalized ads</div>\n <div id="right-title">Press【BACK】to Exit</div>\n </div>\n <div id="cmp-qr-content">\n <div id="cmp-qr-left">\n <div class="qr-title">Go to your website</div>\n <div class="qr-step">\n <div class="step-num">1</div>\n <div class="step-content">\n <div class="step-title">Type this web address:</div>\n <div id="cmp-phone-domain" class="step-text"></div>\n </div>\n </div>\n <div class="qr-step">\n <div class="step-num">2</div>\n <div class="step-content">\n <div class="step-title">If prompted, enter the code:</div>\n <div id="cmp-code" class="step-text step-yard"></div>\n <div id="timer-count" class="step-time"></div>\n </div>\n </div>\n </div>\n <div id="cmp-qr-line"></div>\n <div id="cmp-qr-right">\n <div class="qr-title">Scan QR code</div>\n <div class="qr-text">Scan the QR code below with your phone camera or a QR reader app</div>\n <div class="qr-code">\n <div id="qr-container"></div>\n <div id="qrcode-cover"></div>\n </div>\n </div>\n <div id="cmp-hint">\n <div> If you have previously submitted a consent choice, scanning this code will by default erase the most recent record. This implies that you are actively withdrawing all consents, and we will seek your consent again to ensure your informed choices and the transparency of data processing. </div><div > Do not close this interface before the consent management is completed, otherwise the QR code and authorization code will become invalid. </div>\n </div>\n <div id="refresh-btn">Refresh</div>\n ',document.body.appendChild(e)}this.show=!0,this.getCode()},e.prototype.getCode=function(){var e,i=this;t("refresh-btn","hidden"),this.qrCount=180,n({url:"https://tou.zeasn.tv/tou/cmp/qrcode/generate?consumerId=".concat((e=s("WhaleCmpId"),r("WhaleADID",null==e||""==e||null==e?e=(new Date).getTime().toString():e,new Date((new Date).getTime()+31536e6)),e)),success:function(e){var t=JSON.parse(e).data;i.getQRcode(t.cmpPhoneUrl),document.getElementById("cmp-phone-domain").innerText=t.cmpPhoneDomain,document.getElementById("cmp-code").innerText=t.cmpCode?t.cmpCode.replace(/(\w{3})(\w{3})(\w{3})/g,"$1-$2-$3"):"",document.getElementById("timer-count").innerText=i.getTimer(),i.setTimer(),clearTimeout(i.codeStatusTimer),i.show&&i.checkCodeStatus(t.cmpCode)}})},e.prototype.getTimer=function(){return"".concat(Math.floor(this.qrCount/60),":").concat(this.qrCount%60>9?this.qrCount%60:"0"+this.qrCount%60)},e.prototype.setTimer=function(){var e=this;this.timer=setTimeout(function(){e.qrCount--,document.getElementById("timer-count").innerText=e.getTimer(),e.qrCount>0?e.setTimer():e.expireAction()},1e3)},e.prototype.addQrScript=function(){var e=document.createElement("script");e.src="https://adsdk.zeasn.tv/webstatic/homepage_web/ad/cmp/qr.js",document.getElementsByTagName("head")[0].appendChild(e)},e.prototype.getQRcode=function(e){if(window.QRCode){var n=document.getElementById("qr-container");n&&(n.innerHTML="");var i=200;if(n){var o=n.getBoundingClientRect();i=Math.max(100,Math.min(300,Math.floor(Math.min(o.width,o.height))))}new window.QRCode("qr-container",{text:e,width:i,height:i,colorDark:"#000000",colorLight:"#ffffff",correctLevel:1}),t("qrcode-cover","hidden")}},e.prototype.checkCodeStatus=function(e){var t=this;n({url:"https://tou.zeasn.tv/tou/cmp/qrcode/status?code=".concat(e),success:function(n){var i=JSON.parse(n).data;switch("verified"!=i&&"expired"!=i&&t.checkCodeTimer(e),i){case"waiting":case"scanned":case"finish":break;case"verified":t.openSuccessDialog();break;case"expired":t.expireAction()}}})},e.prototype.checkCodeTimer=function(e){var t=this;this.codeStatusTimer=setTimeout(function(){t.checkCodeStatus(e)},3e3)},e.prototype.expireAction=function(){this.refresh=!0,t("refresh-btn","visible"),t("cmp-timer","hidden"),t("qrcode-cover","visible")},e.prototype.enter=function(){this.successUI&&this.successUI.show&&this.successUI.enter(),this.refresh&&(this.refresh=!1,this.getCode())},e.prototype.openSuccessDialog=function(){var e=this;this.successUI=new c(function(){e.close()}),this.successUI.open()},e.prototype.close=function(){t(this.id,"hidden"),t("refresh-btn","hidden"),t("qrcode-cover","hidden"),this.show=!1,clearTimeout(this.codeStatusTimer),clearTimeout(this.timer),this.callback()},e}();!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}('#vod-ad-setting {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 9999;\n width: 100vw;\n height: 56.25vw;\n background: rgba(0, 0, 0, 0.7);\n display: flex;\n justify-content: center;\n align-items: center; }\n #vod-ad-setting #ad-setting-list {\n margin: 17.188vw 0 0 25vw;\n width: 50vw; }\n #vod-ad-setting #ad-setting-list > div {\n position: relative;\n width: 100%;\n height: 6.25vw;\n margin: 0 0 1.563vw 0;\n padding: 0 0 0 3.646vw;\n border-radius: 3.125vw;\n color: #fff;\n background: rgba(255, 255, 255, 0.2); }\n #vod-ad-setting #ad-setting-list > div:focus {\n background: #4993ff;\n outline: none; }\n #vod-ad-setting #ad-setting-list > div .ad-list-title {\n width: 34.375vw;\n height: 3.125vw;\n font-size: 1.667vw;\n font-weight: 500;\n line-height: 3.125vw;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap; }\n #vod-ad-setting #ad-setting-list > div .ad-list-h3 {\n width: 42.708vw;\n height: 2.083vw;\n font-size: 1.458vw;\n font-weight: 100;\n line-height: 2.083vw;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap; }\n #vod-ad-setting #ad-setting-list > div .ad-list-manage {\n position: absolute;\n top: 0;\n right: 6.458vw;\n height: 6.25vw;\n line-height: 6.25vw;\n font-size: 1.667vw; }\n #vod-ad-setting #ad-setting-list > div .ad-arrows {\n position: absolute;\n right: 2.604vw;\n top: 1.719vw;\n width: 2.813vw;\n height: 2.813vw;\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAAAXNSR0IArs4c6QAABJ1JREFUeF7tnTusT0sUxr8PyS1o6K7uaqlphIQTESQiHuV1KKg8zm1UHudoVPdBofNqEVeCCgnRUNPS0dFcxU3IsidWoTh775M5/2PWmlnTnGJnZtb+fnvNf858s2cTUVwpQFfRRrAIYM4eggAWwJwp4CzcyLAA5kwBZ+FGhgUwZwo4CzcyLIA5U8BZuJFhAcyZAs7CjQwLYM4UcBZuZFgAc6aAs3AjwwKYMwWchRsZFsCcKeAs3MiwALZ0CojIMQA7ARwi+WXperLbspsME5EzAC6plLcATJMUu9IuTWQugIlIApWA/ViukDy5NLLYbdU0MBFZBuAqgDQUzlcukjxnV97JR2Yd2C8AHgHYNnDrf5D8a/LS2GzRNLAkmYisAvCkA7exR8L0O3aU5A2bEk82KvPAFNqaLsueA1jfc/tfARwkeW+y8thrzQUwhbYWwAsAv/XI+D+APSQf25N5chG5AabQ1im0X3sk+AxgO8mXk5PIVkuugCm0DQCeAUjD5HzlE4AtJF/bknoy0bgDptA2AUhDX5qQzFc+dNc3k3w7GZnstOISmELbDuAhgDT1n6+8U2jv7ci9+EjcAlNo+7qZ420Ay3ukeKPD48fFS2WjBdfAFNphANeB3pcTX+lE5D8bki8uCvfAFNopAH8PSPEUwC6SaervulQBTKGd7/5eGKBxH8AB77ZMNcAU2j8Ahlbw3dsytQFL95PWFH8fyLTLJNMQ6rJUBUyzLM0Y7wLYO0BkrjM/0xDqrlQHTKEtxJaZITk0UTEJs0pgCq1KW6ZaYAqtOlumamAKbSG2zG6SySQ1X6oHptDGbJm0CjLlwZZpAphCG7Nl0nrjVuu2TDPAFJp7W6YpYArNtS3THDCF5taWaRKYQpsGcM2bLdMsMIXmzpZpGphCS5bM0LpismX2k0x7H4uX5oEpNDe2TAD7vh38MoATA+ljxkdrHlj3hswcgLMDsGJILP5DoAGIyAyAPwfiMbcXpNkME5GY1lvJnLE4RCT+cR4Tycp1EZkC8MDrjuGmhkQRSYu/yfda2fMAmd+T3wwwEUn2SnopcHUPrLBXDA2DYWBagTEWh4jEFoExkaxc71YwYhOOFRhjcSzw9IEjJG+OtWXpepWTDhFZyEbS0yTToq+rUh0wEVkB4M7IVu0LJGddkdJgqwImIvEyhKenUETc+Fq5ulaTYV12pSFu6KCwf/WFPhPOcdPAROQ0gKEDwszZJM0C82qTNAnMs03SHDARcb2DtylgapPE0UW51H9mPbVJhg4Hc2GT5GrmalovItXYJNUDq80mqRpYjTZJtcBqtUmqBFazTVIrsLEPDcySHDoQLFcXs/VczBJ7PuXh+syo3CfCBbB0c/GxnO+I3QBTaMcB7NDPUbm2SarPsNwbrK2eqwyrTfyc+wlgOaoVrBPACoqf03UAy1GtYJ0AVlD8nK4DWI5qBesEsILi53QdwHJUK1gngBUUP6frAJajWsE6Aayg+DldB7Ac1QrWCWAFxc/pOoDlqFawTgArKH5O1wEsR7WCdQJYQfFzug5gOaoVrBPACoqf03UAy1GtYJ0AVlD8nK6/AfuHcnxcrE7uAAAAAElFTkSuQmCC);\n background-size: 100% 100%;\n background-repeat: no-repeat; }\n #vod-ad-setting #ad-setting-list > div .ad-list-reset {\n position: absolute;\n top: 1.146vw;\n right: 1.563vw;\n width: 11.458vw;\n height: 3.75vw;\n text-align: center;\n line-height: 3.75vw;\n font-size: 1.667vw;\n border-radius: 2.083vw;\n border: 0.208vw solid #fff; }\n #vod-ad-setting #ad-setting-list #ad-setting-tou .ad-list-title {\n width: 41.667vw;\n padding: 1.563vw 0 0 0;\n height: 5vw; }\n #vod-ad-setting #ad-setting-list #ad-setting .ad-list-title {\n width: 26.042vw;\n padding: 0.417vw 0 0 0; }\n #vod-ad-setting #ad-setting-list #row-advertising-id .ad-list-title {\n padding: 0.417vw 0 0 0; }\n #vod-ad-setting #ad-setting-list #row-advertising-id .ad-list-h3 {\n width: 33.854vw; }\n\n#cmp-reset-confirm {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 103;\n display: flex;\n width: 100vw;\n height: 56.25vw;\n color: #fff;\n align-items: center;\n justify-content: center;\n background: rgba(0, 0, 0, 0.6); }\n #cmp-reset-confirm #cmp-reset-content {\n width: 46.875vw;\n padding: 2.604vw;\n background: rgba(0, 0, 31, 0.98); }\n #cmp-reset-confirm #cmp-reset-content .confirm-title {\n width: 100%;\n margin: 1.563vw 0;\n font-size: 2.083vw;\n text-align: center; }\n #cmp-reset-confirm #cmp-reset-content .confirm-buttons {\n padding: 2.083vw 0 0 0;\n font-size: 0;\n text-align: center; }\n #cmp-reset-confirm #cmp-reset-content .confirm-buttons > div {\n display: inline-block;\n width: 14.792vw;\n height: 3.75vw;\n line-height: 3.75vw;\n font-size: 1.563vw;\n margin: 0 2.083vw;\n background: rgba(255, 255, 255, 0.2);\n outline: none; }\n #cmp-reset-confirm #cmp-reset-content .confirm-buttons > div:focus {\n background: #4993ff; }\n\n#ad-CMP {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 102;\n width: 100vw;\n height: 56.25vw;\n background: #434343;\n color: #fff; }\n #ad-CMP #cmp-title {\n position: relative;\n width: 87.5vw;\n height: 4.167vw;\n margin: 4.167vw 0 0 6.25vw;\n font-size: 3.125vw;\n line-height: 4.167vw; }\n #ad-CMP #cmp-title #right-title {\n position: absolute;\n top: 0;\n right: 0;\n font-size: 1.458vw; }\n #ad-CMP #cmp-qr-content {\n width: 87.5vw;\n height: 25.521vw;\n margin: 4.167vw 0 0 6.25vw;\n font-size: 0; }\n #ad-CMP #cmp-qr-content > div {\n display: inline-block;\n vertical-align: top; }\n #ad-CMP #cmp-qr-content > div .qr-title {\n height: 4.167vw;\n line-height: 4.167vw;\n font-size: 2.083vw; }\n #ad-CMP #cmp-qr-content #cmp-qr-left {\n width: 41.146vw;\n height: 25.521vw;\n margin: 0 1.042vw 0 0; }\n #ad-CMP #cmp-qr-content #cmp-qr-left .qr-step {\n margin: 3.646vw 0 0 0;\n padding: 0 0 1.042vw 0; }\n #ad-CMP #cmp-qr-content #cmp-qr-left .qr-step > div {\n display: inline-block;\n vertical-align: top; }\n #ad-CMP #cmp-qr-content #cmp-qr-left .qr-step .step-num {\n width: 4.063vw;\n height: 4.063vw;\n margin: 0.573vw 0 0 0;\n border-radius: 50%;\n background: #ffd712;\n text-align: center;\n font-size: 2.083vw;\n line-height: 4.063vw;\n color: #434343; }\n #ad-CMP #cmp-qr-content #cmp-qr-left .qr-step .step-content {\n width: 34.375vw;\n margin: 0 0 0 2.604vw; }\n #ad-CMP #cmp-qr-content #cmp-qr-left .qr-step .step-content .step-title {\n height: 2.604vw;\n line-height: 2.5vw;\n font-size: 1.667vw;\n font-weight: 400;\n color: #a9a9a9; }\n #ad-CMP #cmp-qr-content #cmp-qr-left .qr-step .step-content .step-text {\n height: 2.604vw;\n line-height: 2.5vw;\n font-size: 1.667vw;\n font-weight: 500; }\n #ad-CMP #cmp-qr-content #cmp-qr-left .qr-step .step-content .step-yard {\n display: inline-block;\n vertical-align: top; }\n #ad-CMP #cmp-qr-content #cmp-qr-left .qr-step .step-content .step-time {\n display: inline-block;\n vertical-align: top;\n height: 2.604vw;\n padding: 0 0 0 2.083vw;\n margin: 0 0 0 1.563vw;\n line-height: 2.604vw;\n font-size: 1.667vw;\n color: #a9a9a9;\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAB+lJREFUaEPdW2msXlUVXUswEUUtoKlRcGIoIhhEZLBI0VRoI03RCFQghCIIEdoSmWmVDqKmtUxtAEuBNhgckAAOqAwBfYKiiUAQSkELKgJNUAZBEIflWe25z/Od3vdN997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l+JyW6AuxJJJl+aGZ6GrL5J2/xq1zhD+HbJk6ikwLd/C7p/eFvJdwNnFzyvs/sTJJp7WrEabsGHEF7G3k7lXGYTc/3ub6IpPPrShLPqcni5pgcMQKL1yz5Gb0kID0BjqDdljGJMyWOpOD+AeD7IRc1b+r2XsBH4qjDQy/sIUmSUbZ4Jrc65dsQI3crPQMuJg4JthnrF2Z3df5db3cTTEw/eCRywLwTfL25+L9VbPOY/r9LWKgPZG2fMhxm25sxa8A9S9+Ao7WtsCl/xzbw1yw5GC+S6+XzSHor9yWVACfWdk57SuRVp8zWvpTKBq0BYPLaapKmZlSSWgAnwN2Uc03bJSPTj/slndnp/dh/X0EyT/dGD+BUk0iW8XXyYQDvjYyad0amn3lhvt5MfrPV7HhsSf853p0+9+1Y7VUQ/xd1Auao8epsOgAAAABJRU5ErkJggg==);\n background-repeat: no-repeat;\n background-size: 1.563vw 1.563vw;\n background-position: 0; }\n #ad-CMP #cmp-qr-content #cmp-qr-line {\n width: 0.052vw;\n height: 23.438vw;\n background: #a9a9a9;\n margin: 2.083vw 0 0 0; }\n #ad-CMP #cmp-qr-content #cmp-qr-right {\n width: 37.969vw;\n height: 25.521vw;\n margin: 0 0 0 7.24vw; }\n #ad-CMP #cmp-qr-content #cmp-qr-right .qr-text {\n margin: 3.125vw 0 0 0;\n font-size: 1.667vw;\n line-height: 2.344vw;\n color: #a9a9a9; }\n #ad-CMP #cmp-qr-content #cmp-qr-right .qr-code {\n position: relative;\n width: 10.417vw;\n height: 10.417vw;\n margin: 1.563vw 0 0 0;\n background: #fff; }\n #ad-CMP #cmp-qr-content #cmp-qr-right .qr-code img {\n width: 100%;\n height: 100%; }\n #ad-CMP #qrcode-cover {\n position: absolute;\n left: 0;\n top: 0;\n z-index: 2;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.6); }\n #ad-CMP #cmp-hint {\n display: block;\n width: 72.917vw;\n margin: 0 7.292vw;\n font-size: 1.25vw;\n line-height: 1.875vw;\n color: #a9a9a9; }\n #ad-CMP #cmp-hint > div {\n position: relative; }\n #ad-CMP #refresh-btn {\n width: 14.792vw;\n height: 4.167vw;\n margin: 0 0 0 34.375vw;\n background: #fff;\n color: #000;\n border-radius: 0.938vw;\n font-size: 1.667vw;\n line-height: 4.167vw;\n text-align: center; }\n #ad-CMP #ad-box {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 103;\n display: flex;\n width: 100vw;\n height: 56.25vw;\n color: #fff;\n align-items: center;\n justify-content: center;\n background: rgba(0, 0, 0, 0.6); }\n #ad-CMP #ad-box #cmp-reset-content {\n width: 36.458vw;\n padding: 3.646vw 2.604vw;\n background: #4c4c53; }\n #ad-CMP #ad-box #cmp-reset-content .confirm-title {\n width: 100%;\n margin: 1.563vw 0;\n font-size: 2.083vw;\n text-align: center; }\n #ad-CMP #ad-box #cmp-reset-content .confirm-buttons {\n padding: 2.083vw 0 0 0;\n font-size: 0;\n text-align: center; }\n #ad-CMP #ad-box #cmp-reset-content .confirm-buttons > div {\n display: inline-block;\n width: 14.792vw;\n height: 3.75vw;\n line-height: 3.75vw;\n font-size: 1.563vw;\n margin: 0 2.083vw;\n background: #fff;\n color: #000;\n border-radius: 0.938vw; }\n\n#ad-tou {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 2;\n width: 100vw;\n height: 56.25vw;\n background: #111115;\n color: #fff; }\n #ad-tou #ad-tou-title {\n width: 86.458vw;\n height: 4.688vw;\n margin: 6.25vw 0 0 6.771vw;\n line-height: 4.688vw;\n text-align: center;\n font-size: 3.125vw; }\n #ad-tou #ad-tou-hint {\n width: 86.458vw;\n margin: 2.083vw 0 0 6.771vw;\n text-align: center;\n font-size: 1.667vw;\n line-height: 3.125vw; }\n #ad-tou #ad-tou-content {\n width: 86.458vw;\n height: 23.438vw;\n margin: 3.646vw 0 0 6.771vw; }\n #ad-tou #ad-tou-content #ad-tou-list {\n position: relative;\n display: inline-block;\n vertical-align: top;\n width: 62.5vw;\n height: 23.438vw;\n overflow: hidden; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content {\n width: 58.021vw;\n height: auto;\n position: absolute; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content .list-item {\n width: 58.021vw;\n margin: 0 0 1.563vw 0;\n outline: none; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content .list-item .item-btn {\n width: 58.021vw;\n height: 4.688vw;\n background: rgba(255, 255, 255, 0.18);\n border-radius: 2.344vw; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content .list-item .item-btn > div {\n display: inline-block;\n vertical-align: top; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content .list-item .item-btn:focus {\n background: #4993ff;\n outline: none; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content .list-item .item-btn .btn-name {\n width: 47.917vw;\n height: 4.688vw;\n margin: 0 0 0 3.646vw;\n line-height: 4.688vw;\n font-size: 1.667vw; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content .list-item .item-btn .btn-icon {\n width: 2.813vw;\n height: 2.813vw;\n margin: 0.938vw 0 0 1.042vw;\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAAAXNSR0IArs4c6QAABQBJREFUeF7tmj+wHlMYxp/Xn1HQREfH6KSmJ8zQ+NOgwWCkIqGRBkk00pBElQwGDWmEhhmT6KWmM3R0SUNh/Hl9b+bcmZ1vvu985+5+7+4+9z6nuXPv3T3nOc9vn7N73l2DGpUDRqVWYiFgZBeBgAkYmQNkcpUwASNzgEyuEiZgZA6QyVXCBIzMATK5SpiAkTlAJlcJEzAyB8jkKmECRuYAmVwlTMDIHCCTq4QJGJkDZHKVMAEjc4BMrhImYGQOkMlVwgSMzAEyuUqYgJE5QCZXCRMwMgfI5CphAkbmAJlcJUzAyBwgk6uECRiZA2RylTABI3OATO4oCXP3GwDcbGZ/kfnTJNfdbwHwt5n913TCgIPGAnYOwD0AHjOzP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KkvP/sa3/e8PQOsJG250j/LintfWHHengJWoO18SBO/jvYBzxAIuzl3zwEr0K7Pa+xP5HZjfN9j9ySwvmYwnCdgDJQ6GgVMwMgcIJOrhAkYmQNkcpUwASNzgEyuEiZgZA6QyVXCBIzMATK5SpiAkTlAJlcJEzAyB8jkKmECRuYAmVwlTMDIHCCTq4QJGJkDZHKVMAEjc4BMrhImYGQOkMlVwgSMzAEyuUqYgJE5QCZXCRMwMgfI5CphZMD+B/GCZXys1V3UAAAAAElFTkSuQmCC);\n background-size: 100% 100%;\n background-repeat: no-repeat; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content .list-item .item-btn .btn-icon.btn-icon-open {\n transform: rotate(180deg); }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content .list-item .item-text {\n width: 54.896vw;\n height: auto;\n padding: 1.563vw 1.563vw 0 1.563vw;\n font-size: 1.667vw;\n line-height: 2.188vw;\n display: none; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content .list-item .item-text[show="true"] {\n display: block; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content .list-item:focus .item-btn {\n background: #4993ff; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-list-scroll {\n position: fixed;\n right: 33vw;\n width: 0.313vw;\n height: 23.438vw;\n background: rgba(255, 255, 255, 0.3);\n border-radius: 0.313vw; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-list-scroll > div {\n position: absolute;\n left: 0;\n top: 0;\n width: 0.313vw;\n height: 2.604vw;\n background: #fff;\n border-radius: 0.313vw; }\n #ad-tou #ad-tou-content #ad-tou-btn {\n display: inline-block;\n vertical-align: top;\n width: 18.229vw;\n height: 3.75vw;\n margin: 9.844vw 0 0 3.646vw;\n border: 0.156vw solid #fff;\n font-size: 1.667vw;\n line-height: 3.75vw;\n text-align: center;\n border-radius: 1.979vw;\n outline: none; }\n #ad-tou #ad-tou-content #ad-tou-btn:focus {\n background: #4993ff; }\n\n#qr-container {\n display: inline-block;\n width: 100%;\n height: 100%; }\n #qr-container img {\n width: 100%;\n height: 100%; }\n\n#options-set-success {\n position: fixed;\n top: 0;\n margin: 19.271vw 29.167vw;\n width: 41.667vw;\n height: 17.708vw;\n background: #4C4C53; }\n #options-set-success .options-set-success-title {\n height: 3.125vw;\n font-size: 1.875vw;\n font-weight: 500;\n color: #fff;\n line-height: 1.875vw;\n padding: 5vw;\n text-align: center; }\n #options-set-success .options-set-success-button {\n width: 17.708vw;\n height: 4.167vw;\n background: #fff;\n border-radius: 0.938vw;\n margin: 0 11.979vw;\n font-size: 1.667vw;\n font-weight: 500;\n color: #131313;\n line-height: 4.167vw;\n text-align: center; }\n');var u=function(){function e(e){var t=this;this.ele=e,this.mainId="vod-ad-setting",this.focus="main",this.advertisingId="cmp-whaleadid",this.visible=!1,this.agreementUI=new l(function(){t.show(),document.getElementById("ad-setting").focus(),t.focusEl=document.getElementById("ad-setting")})}return e.prototype.init=function(){var e=document.createElement("div");e.setAttribute("id",this.mainId),e.setAttribute("tabindex","-1"),e.innerHTML='\n <div id="ad-setting-list">\n <div id="ad-setting-tou" tabindex="-1">\n <div class="ad-list-title">Terms of Use</div>\n <div class="ad-arrows"></div>\n </div>\n <div id="ad-setting" tabindex="-1">\n <div class="ad-list-title">AD Settings</div>\n <div class="ad-list-h3">Give / Withdraw consent to personalization</div>\n <div class="ad-list-manage">Manage Options</div>\n <div class="ad-arrows"></div>\n </div>\n <div id="row-advertising-id" tabindex="-1">\n <div class="ad-list-title">Advertising ID:</div>\n <div class="ad-list-h3" id="cmp-whaleadid">'.concat(i(),'</div>\n <div class="ad-list-reset">Reset</div>\n </div>\n </div>\n '),this.cmpManageId=e,document.body.appendChild(e)},e.prototype.addCssFile=function(e){var t=document.createElement("link");t.setAttribute("rel","stylesheet"),"file:"==location.protocol&&(e="https:"+e),t.setAttribute("href",e),document.body.appendChild(t)},e.prototype.open=function(e){document.getElementById(this.mainId)||this.init(),this.callback=e||function(){},document.getElementById(this.mainId).style.display="block",document.getElementById("ad-setting-tou").focus(),this.focusEl=document.activeElement,this.show()},e.prototype.show=function(){this.focus="main",t(this.mainId,"visible"),this.visible=!0},e.prototype.close=function(){document.getElementById(this.mainId).style.display="none",this.visible=!1,this.callback()},e.prototype.enter=function(){this.confirmUI&&"reset"===this.focus?this.confirmUI.enter():this.touUI&&"tou"===this.focus?this.touUI.enter():this.agreementUI&&this.agreementUI.show&&"agreement"===this.focus?this.agreementUI.enter():("ad-setting-tou"===this.focusEl.id&&this.touDialog(),"ad-setting"===this.focusEl.id&&this.agreementDialog(),"row-advertising-id"===this.focusEl.id&&this.confirmDialog())},e.prototype.onKeydown=function(e){switch(e.keyCode){case 8:case 461:this.back();break;case 13:this.enter();break;case 37:this.left();break;case 38:this.up();break;case 39:this.right();break;case 40:this.down()}},e.prototype.up=function(){"main"===this.focus&&this.focusEl.previousElementSibling&&(this.focusEl.previousElementSibling.focus(),this.focusEl=document.activeElement),"tou"===this.focus&&this.touUI&&this.touUI.up()},e.prototype.down=function(){"main"===this.focus&&this.focusEl.nextElementSibling&&(this.focusEl.nextElementSibling.focus(),this.focusEl=document.activeElement),"tou"===this.focus&&this.touUI&&this.touUI.down()},e.prototype.left=function(){switch(this.focus){case"reset":this.confirmUI&&this.confirmUI.left();break;case"tou":this.touUI&&this.touUI.left()}},e.prototype.right=function(){switch(this.focus){case"reset":this.confirmUI&&this.confirmUI.right();break;case"tou":this.touUI&&this.touUI.right()}},e.prototype.back=function(){"main"===this.focus?this.close():"reset"===this.focus&&this.confirmUI?this.confirmUI.close():"agreement"===this.focus&&this.agreementUI?this.agreementUI.close():"tou"===this.focus&&this.touUI&&this.touUI.close()},e.prototype.touDialog=function(){var e=this;t(this.mainId,"hidden"),this.focus="tou",this.touUI||(this.touUI=new a(function(){e.show(),document.getElementById(e.advertisingId)&&(document.getElementById(e.advertisingId).innerText=i()),document.getElementById("ad-setting-tou").focus(),e.focusEl=document.activeElement})),this.touUI.open()},e.prototype.confirmDialog=function(){var e=this;t(this.mainId,"hidden"),this.focus="reset",this.confirmUI||(this.confirmUI=new d(function(){var t;e.show(),document.getElementById(e.advertisingId)&&(document.getElementById(e.advertisingId).innerText=(r("WhaleADID",t=o(),new Date((new Date).getTime()+31536e6)),t)),document.getElementById("row-advertising-id").focus(),e.focusEl=document.activeElement})),this.confirmUI.open()},e.prototype.agreementDialog=function(){var e=this;t(this.mainId,"hidden"),this.focus="agreement",this.agreementUI||(this.agreementUI=new l(function(){e.show(),document.getElementById("ad-setting").focus(),e.focusEl=document.activeElement})),this.agreementUI.open()},e}();export{u as WhaleCMP};
|
|
1
|
+
const e=[{title:"Overview",description:"The Terms of Use ('Terms') set out the terms we would like to provide you, or the legal entity represented by you, ('you' or 'your') with access to our Services ('Services'mean our productions, application, software, information offering services, Internet services, websites and other related services provided by us). When you use our Services, we and our partner may use cookies and similar technologies to learn how you use our Services and to improve your experience. Please read these terms carefully, pressing the 'Accept' button shall mean that you accept these Terms and that you agree all cookies. If you press 'Don't Accept', you will not be able to use our Services."},{title:"Changes to This Terms",description:"We may amend this Terms at any time in our discretion. And We may, at our discretion, change, update or upgrade features or the software. If such changes have an impact on this Terms, the amended Terms shall be effective immediately upon posting of the amended Terms via the application. If you continue to use our Services after receiving the updated Terms, that means you accept and agree to the amended Terms. If you do not agree to the amended Terms, we may not be able to provide updates, upgrades or enhancements, and you may not be able to continue using some smart features."},{title:"Permitted Use and Restrictions",description:"1.The Application is for personal, non-commercial use only. It is for use only in those countries where Content Partner authorised us to distribute. If you are using our services outside these countries, the rights granted under this Terms do not apply. Some of the Content Partner use technologies to verify your geographic location, and you may not be able to use this Application to access any Content outside these countries or locations.\n <br/><br/>\n 2.You may not use our services if: (a) you are not of legal age to form the binding Terms of Use with us, or (b) you are a person who is barred or otherwise legally prohibited from accessing Content under the laws of the country in which you reside. Notwithstanding the foregoing, you must be at least 16 years of age or the minimum age allowable under the laws of your jurisdiction ('Minimum Age') to assume the responsibilities under this Terms. If you are under the Minimum Age, you may use our services only with one of your parents or legal guardian’s consent. If you use our services, we will assume that you are of the Minimum Age or older or, if you are under the Minimum Age, that your parent or legal guardian has consented to your use of our services.\n <br/><br/>\n 3.If you are a parent or guardian permitting a person under the legal age of majority ('Minor') to use our services, you agree to: (i) supervise the Minor’s use of our services; (ii) assume all risks associated with the Minor’s use of our services, including the receipt and transmission of information and materials via Application and the transactions made for Digital Goods and Third Party services; (iii) assume any liability resulting from the Minor’s use of our services; and (iv) be bound by this Agreement for the Minor’s access and use of our services.\n <br/><br/>\n 4.You agree not to exploit the Application or Content in any unauthorized way, including but not limited to, by trespassing, burdening network or server capacity or using application or Content other than for authorized purposes. Copyright and other intellectual property laws protect application and Content, and you agree to abide by and maintain all notices, license information, and restrictions contained therein. Unless expressly permitted herein or otherwise permitted in a separate agreement with us, you may not modify, publish, put on network, rent, lease, loan, transmit, sell, participate in the transfer or sale of, reproduce, create derivative works based on, redistribute, perform, display, or in any way exploit the Application or Content in whole or in part. You may not decompile, reverse engineer, disassemble, change, replace or attempt to root any software or security components of your Smart Device, Application or Content unless specifically permitted by applicable mandatory law. Use of the Application or Content to violate, tamper with, or circumvent the security of any computer network, software, passwords, encryption codes, technological protection measures, or to otherwise engage in any kind of illegal activity, or to enable others to do so, is expressly prohibited.\n <br/><br/>\n 5.All copyrights, trademarks and other rights, title and interest in and on Application (excluding the services, Content and brand features of the Content Partners) are and shall remain the property owned by us. Except as expressly provided under this TOU, you shall not acquire any intellectual property or other proprietary rights in or to the Television, the Software or the Content, including any rights in patents, inventions, improvements, designs, trademarks, database rights or copyrights, nor shall you acquire any rights in any confidential information or trade-secrets. You may not remove, obscure, alter or conceal any trademark, logo, copyright or other proprietary notice in or on any Application, Software or Content. Copying or redistribution of any Content delivered via the Television is strictly prohibited and we may prevent or restrict you from copying or re-distributing any elements of the Software or Content by using digital rights management or other technologies.\n <br/><br/>\n 6.The Application is proprietary to us and may be used only with the Device. Subject to this Terms, you have a non-exclusive, non-transferable license to run the Software and any updated versions provided to you by us, only in and as incorporated in the Device. This is a license and not a sale.\n <br/><br/>\n 7.The Agreement is effective for the duration of your access to and use the Application. Your right to use the Application will immediately terminate upon your breach of this Agreement, or your continued access and use is harmful to the interests of any third party or is in violation of any applicable law. If you do not agree to the content of this Agreement, you may terminate it at any time by stopping your access to and use of Application."},{title:"Cookies & Targeting",description:"Cookies are small text files that the services often store on devices of visitors. We may drop cookies on End-Users in connection with Application. Cookies are used to recognize End-Users, enhance End-Users’ experience, personalize End-Users’ experience, deliver and tailor marketing and advertising ('End-User Targeting'), and generally improve the services provided.\n <br/><br/>\n End-User Targeting information provided by us can be passed in the ad calls to the specified Ad Partner. The frequently used personal data for End-User Targeting will include but not be limited to IP, user-agent, bundleID, contextual metadata, break duration, Ad ID*, device resolution, device dimension, etc.. You can find the passed information list at http://partner.zeasn.com/partnerportal/WhaleAdsMacros/index.jhtml\n <br/><br/>\n How Ad Partner use cookies and how they collect and use personal data is governed by their own privacy and/or cookie policy and we have no influence on this. You can find Ad Partner list at https://www.zeasn.com/about?id=29."},{title:"*Ad ID ",description:"1. Ad ID stands for Identifier For Advertising. It is an Advertising Identifier introduced by us specifically for advertising purposes on Smart TVs. Ad ID is available once you accepted the Terms of Use to use our service.\n <br/><br/>\n 2. Only consumers can reset Ad ID. Smart TV consumers have the option to reset the advertising identifier on their Smart TVs in four ways as follows: a) Clear Internet cache;b) Reset Ad ID; c)Cancellation of acceptance of TOU; d)Factory reset of the Smart TV.\n <br/><br/>\n Note: Advertisers can’t reset Ad ID for a smart TV.\n <br/><br/>\n 3. Ad ID offers the key Privacy Safeguard as follows: a) Ad ID supports Limit Ad Tracking; b) It can be reset by the consumer anytime by resetting the Ad ID, or by performing a factory reset of the Smart TV, both options available within the TV's menu; c) Ad ID is for advertising purposes only, with no connection to any PII (Personally Identifiable Information) or DUID (Device Unique Identifier).\n <br/><br/>\n 4. Ad ID was introduced on our platform to -\n <br/><br/>\n a) Comply with the latest IAB guidelines* around increasing privacy for Smart TV consumers.\n <br/><br/>\n https://iabtechlab.com/standards/guidelines-identifier-advertising-over-the-top-platforms/\n <br/><br/>\n https://iabtechlab.com/wp-content/uploads/2018/12/OTT-IFA-guidelines.final_Dec2018.pdf\n <br/><br/>\n b) Simplify TV identifiers on Smart TVs.\n <br/><br/>\n c) Provide Smart TV consumers with an option to opt out personalized ads and tracking. Consumers who opt out will still see ads, but they will not be personalized.\n <br/><br/>\n d) Address publisher’s growing needs for advertising within the Smart TV ecosystem.\n <br/><br/>\n 5. Limit Ad Tracking (also known as LAT) is a feature which allows consumers to opt-out of personalization or IBA (Interest Based Advertisements). When this setting is enabled, the consumer will no longer receive targeted advertisements."},{title:"Privacy and Information",description:"We are committed to protecting user privacy and providing a safe and secure environment for our users. Our privacy policy explains our policies regarding the collection, use, transmission and disclosure of information provided by or collected from you, the devices linked to it, and/or our websites. We are not responsible for the actions of third-parties to collect, use, transmit and disclose your information or data.\n <br/><br/>\n Your personal information is owned by you. You can ask us to provide details about what we’ve collected, and you can ask us to delete it or correct any inaccuracies. If you have any queries or complaints, please contact us at:privacy@zeasn.com."},{title:"Disclaimer Regarding Content",description:"We, at our sole discretion, may, but are not obligated to, pre-screen, review, flag, filter, modify, refuse, suspend, or remove any Third Party Content that are provided to you as part of or via the Services, without giving prior notice to you.\n <br/><br/>\n To the maximum extent permitted by law, our Services are provided 'as it is', with all faults and without warranty of any kind. Unless specifically designated otherwise by us, we are not responsible for any Application Services and Content, or your use thereof, nor for any comment or content you post on a Website or for the consequences thereof.\n <br/><br/>\n We are not responsible for any content you may access as part of or via your use of the Services (including audio and sound files, data files, images, graphics, animation, music, photographs, software, videos and written text) that were created by or are owned by a third party ('Third Party Content'), including advertisements, messages, or other sponsored content. Services and Content are not controlled, reviewed or programmed by us. You understand that by using the Services, you may be exposed to Content that might be offensive, harmful, inaccurate or otherwise inappropriate. We disclaim all liability for any Content. Any responsibility or liability for any Third Party Content shall remain solely with the creator, owner, or licensee of such Third Party Content and not with us whatsoever."},{title:"No Warranty",description:"We provide our services using a commercially reasonable level of skill and care and we hope that you will enjoy using them. But there are certain things that we don’t promise about Application.\n <br/><br/>\n We do not guarantee, represent, or warrant that the Application we provided will be: (i) uninterrupted, secure, virus-free or error-free, or (ii) free from attack or security intrusion. In no event shall we, our directors, officers or employees be liable to you for personal injury or property damage, or any special, incidental, exemplary, punitive, direct, indirect or consequential damages of any kind arising out of your use of the service or account.\n <br/><br/>\n We, and our affiliates, subsidiaries, officers, directors, employees, agents, partners, and licensees do not warrant or promise that the software or Internet services provided by us, including but not limited to, the portal, websites or content, or any other Internet services information or materials that you receive actively or passively, or are provided access to via the portal will be accurate, reliable, timely, secure, error-free or uninterrupted, or that any defects will be corrected. We cannot ensure that any app, service, content (including files, information or other data) you access or download from or via the portal will be free of viruses, contamination or destructive features. We explicitly disclaim all warranties, express or implied, including any warranties of accuracy, non-infringement, merchantability and fitness for a particular purpose."},{title:"Limitation on Liability",description:"We disclaim any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your access or use of Application, including but not limited to, services or Content. You assume total responsibility and all risks for your access or use thereof, including, but not limited to, any information obtained thereon. Your sole remedy against us for any damage, costs or dissatisfaction caused by the access or use of the Application, is to stop use of the Appliacion.\n <br/><br/>\n Some jurisdictions do not allow exclusions of certain warranties or limitations of liability for certain types of damages, so some of the above limitations in this section may not apply to you. Nothing in this Terms of Use shall affect any non-waivable statutory rights that apply to you, and you may also have other rights that vary from jurisdiction to jurisdiction. To the extent permitted by law, we exclude all warranties."},{title:"Compensation",description:"You agree to indemnify, defend and hold us harmless against all claims, demands, causes of action, losses, expenses, damages and costs, including any reasonable attorneys’ fees, resulting or arising from or relating to your access or use of our services."},{title:"Limitation on Access",description:"We reserve the right (but will not have any obligation) to refuse access to the Content on Application. We also reserve the right to access, read, preserve, and disclose any information as we reasonably believe is necessary to (i) comply with any applicable law, regulation, legal process or governmental request, (ii) enforce the Terms, including investigation of potential violations hereof, (iii) detect, prevent, or otherwise address fraud, security or technical issues, (iv) respond to user support requests, or (v) protect the rights, property or safety of us, our users and of the public. We may, in our sole discretion, add or remove access to any of the APPs at any time. Furthermore, we reserve the right, at any time in our sole discretion, to limit the availability and accessibility of the Application to any person, geographic area, or jurisdiction we so desire. The Application is subject to the export control laws of, among others, the Netherlands."},{title:"Payment Services",description:"Our Content Partner may offer you paid content. If you wish to purchase paid content from a Content Partner, you will need to enter into a separate agreement with such Content Partner. We are neither part of that agreement, nor do we carry any liability for such an agreement. You shall be responsible for all charges incurred through your payment account as well as for paying any applicable taxes."},{title:"Software Updates",description:"We reserve the right to automatically update the Application, including bug fixes and updates, changes in the user interface or how you access the Content, and other changes that may add, alter or remove functionalities and features. You acknowledge that these updates may happen automatically in the background at any time (and that they cannot be disabled by you). You understand that these updates are necessary to maintain compatibility with other updates to our products or services and may be required for security reasons. By using our services, you hereby agree to receive such updates."},{title:"General Legal Terms",description:"1.This Agreement (including any additional terms that you may have otherwise agreed to) constitutes the entire legal agreement between you and us and will govern your use of our software and Internet services. The English language version of this Agreement will control and translations, if any, are non-binding and for reference only.\n <br/><br/>\n 2.You agree that if we do not exercise or enforce any legal right or remedy which is set out in this Terms, or which we have the benefit of under any applicable law, such will not be construed as a waiver of our rights or remedies, and that such rights or remedies remain available to us.\n <br/><br/>\n 3.If any court of law having the jurisdiction to decide on this matter rules that any provision of this Agreement is invalid, then that provision will be removed from this Agreement without affecting the rest of this Agreement. The remaining provisions of this Agreement will continue to be valid and enforceable.\n <br/><br/>\n 4.The Application may be subject to the United States and other jurisdictions export laws and regulations. You agree to comply with all domestic and international export laws and regulations that apply to your distribution or use of products. These laws include restrictions on destinations, users, and end use.\n <br/><br/>\n 5.All claims arising out of or relating to this Agreement or Your relationship with us under this Agreement will be governed by the laws of the Netherlands, without regard to its conflict of laws provisions. All disputes arising from or in connection with this contract shall be exclusively settled by the courts of Amsterdam, the Netherlands.\n <br/><br/>\n 6.You may not transfer or assign this Terms or any of your rights or obligations arising hereunder. Any transfer in violation of this Terms shall be void.\n <br/><br/>\n 7.We will not be liable or responsible for any failure to perform, or delay in performance of, any of any obligations under this Terms that is caused by acts or events beyond our reasonable control.\n <br/><br/>\n 8.This Terms and our Privacy Policy are the entire agreement between you and us regarding your use of our services.\n <br/><br/>\n 9.You agree that regardless of any statute or law to the contrary, any claim of cause of action arising from or relating to the use of Application, or this Agreement must be filed within 13 (thirteen) calendar months after such claim or cause of action arose, or will be considered as having been expired. The 'No Warranty' and 'Limitation of Liability' provisions of this Agreement are for the benefit of us as defined therein, and each of these individuals or entities shall have the right to assert and enforce these provisions directly against you on its own behalf."},{title:"Contact Us",description:"If you have any questions, please contact us through the e-mail: privacy@zeasn.com"}];function t(e,t){document.getElementById(e)&&(document.getElementById(e).style.visibility=t)}function n(e){(e=e||{}).type=(e.type||"GET").toUpperCase(),e.dataType=e.dataType||"json";var t,n=e.data||"";(t=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP")).onreadystatechange=function(){if(4==t.readyState){var n=t.status;n>=200&&n<300?e.success&&e.success(t.responseText,t.responseXML):e.fail&&e.fail(n)}},"GET"==e.type?(t.open("GET",e.url+n,!0),t.send(null)):"POST"==e.type?(t.open("POST",e.url,!0),t.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),t.send(n)):"PUT"==e.type&&(t.open("PUT",e.url,!0),t.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),t.send(n))}function i(){var e=s("WhaleADID");return null!=e&&""!=e&&null!=e&&e&&e.match(/-/g)&&4==e.match(/-/g).length?r("WhaleADID",e,new Date((new Date).getTime()+31536e6)):r("WhaleADID",e=o(),new Date((new Date).getTime()+31536e6)),e}function o(){function e(e){var t=(Math.random().toString(16)+"000000000").substr(2,8);return e?"-"+t.substr(0,4)+"-"+t.substr(4,4):t}return e()+e(!0)+e(!0)+e()}function s(e){var t,n=new RegExp("(^| )"+e+"=([^;]*)(;|$)");return(t=(document.cookie||window.localStorage&&window.localStorage.cookie||"").match(n))?unescape(t[2]):""}function r(e,t,n,i,o,s){var r=e+"="+escape(t)+(n?";expires="+n.toGMTString():"");document.cookie=r}var a=function(){function n(e){this.callback=e,this.id="ad-tou"}return n.prototype.open=function(){if(document.getElementById(this.id))document.getElementById(this.id).style.visibility="visible";else{var e=document.createElement("div");e.setAttribute("id",this.id),e.setAttribute("tabindex","-1"),e.style.zIndex="1000",e.style.margin="auto",e.style.right="0px",e.style.bottom="0px",e.innerHTML='\n <div id="ad-tou-title">TERMS OF USE</div>\n <div id="ad-tou-hint">This App Uses Cookies and similiar technologies to improve performance and interest-based\n advertising. To find out more, please read the Terms of Use.</div>\n <div id="ad-tou-content">\n <div id="ad-tou-list">\n <div id="ad-tou-list-content">\n '.concat(this.terms(),'\n </div>\n <div id="ad-list-scroll">\n <div id="ad-list-bar"></div>\n </div>\n </div>\n <div id="ad-tou-btn" tabindex="-1">OK</div>\n </div>\n '),document.body.appendChild(e)}this.focusDefault()},n.prototype.left=function(){this.focusDefault()},n.prototype.right=function(){document.getElementById("ad-tou-btn").focus()},n.prototype.up=function(){this.scrollUp();var t=this.getIndex(),n=document.querySelector('#ad-tou-list-content .list-item[data-i="'.concat(t-1,'"]'));n&&n.focus();var i=t/e.length*100,o=document.getElementById("ad-list-bar");o&&(o.style.top=i+"%")},n.prototype.down=function(){this.scrollDown();var t=this.getIndex(),n=document.querySelector('#ad-tou-list-content .list-item[data-i="'.concat(t+1,'"]'));n&&n.focus();var i=t/e.length*100,o=document.getElementById("ad-list-bar");o&&(o.style.top=i+"%")},n.prototype.enter=function(){"ad-tou-btn"===document.activeElement.id&&this.close();var t=this.getIndex();if(t>-1){var n=document.activeElement.querySelector(".item-text");n.setAttribute("show","false"===n.getAttribute("show")?"true":"false"),t>=e.length-1&&n.scrollIntoView()}},n.prototype.scrollDown=function(){var t=this.getIndex();t>2&&t<e.length-1&&(document.getElementById("ad-tou-list-content").style.top="".concat(-1.2*(t-2),"rem"))},n.prototype.scrollUp=function(){var t=this.getIndex();t>1&&t<e.length-2&&(document.getElementById("ad-tou-list-content").style.top="".concat(-1.2*(t-2),"rem"))},n.prototype.close=function(){t(this.id,"hidden"),this.callback()},n.prototype.getIndex=function(){var e=-1;return null!=document.activeElement.getAttribute("data-i")&&(e=Number(document.activeElement.getAttribute("data-i"))),e},n.prototype.focusDefault=function(){document.querySelector("#ad-tou-list-content .list-item")&&document.querySelector("#ad-tou-list-content .list-item").focus()},n.prototype.terms=function(){for(var t="",n=0;n<e.length;n++)t+='<div class="list-item" tabindex="-1" data-i="'.concat(n,'">\n <div class="item-btn">\n <div class="btn-name">').concat(e[n].title,'</div>\n <div class="btn-icon"></div>\n </div>\n <div class="item-text" show="false">').concat(e[n].description,"</div>\n </div>");return t},n}(),d=function(){function e(e){this.callback=e,this.focusEl=null,this.id="cmp-reset-confirm"}return e.prototype.open=function(){if(document.getElementById(this.id))document.getElementById(this.id).style.visibility="visible";else{var e=document.createElement("div");e.setAttribute("id",this.id),e.setAttribute("tabindex","-1"),e.style.zIndex="1000",e.style.margin="auto",e.style.right="0px",e.style.bottom="0px",e.innerHTML='\n <div id="cmp-reset-content">\n <div class="confirm-title zeasn-cmp-reset-tip">Are you sure to reset your advertising ID?</div>\n <div class="confirm-buttons">\n <div tabindex="-1" id="reset-no" class="zeasn-cmp-no">No</div>\n <div tabindex="-1" id="reset-yes" class="zeasn-cmp-yes">Yes</div>\n </div>\n </div> \n ',document.body.appendChild(e)}this.focusDefault()},e.prototype.left=function(){this.focusEl.previousElementSibling&&(this.focusEl.previousElementSibling.focus(),this.focusEl=document.activeElement)},e.prototype.right=function(){this.focusEl.nextElementSibling&&(this.focusEl.nextElementSibling.focus(),this.focusEl=document.activeElement)},e.prototype.enter=function(){"reset-no"===this.focusEl.id?this.close():"reset-yes"===this.focusEl.id&&this.reset()},e.prototype.reset=function(){r("WhaleADID",""),this.close()},e.prototype.close=function(){t(this.id,"hidden"),this.callback()},e.prototype.focusDefault=function(){document.getElementById("reset-yes")&&(document.getElementById("reset-yes").focus(),this.focusEl=document.activeElement)},e}(),c=function(){function e(e){this.callback=e,this.id="options-set-success",this.show=!1}return e.prototype.open=function(){if(document.getElementById(this.id))document.getElementById(this.id).style.visibility="visible";else{var e=document.createElement("div");e.setAttribute("id",this.id),e.setAttribute("tabindex","-1"),e.style.zIndex="1000",e.style.margin="auto",e.style.left="0px",e.style.right="0px",e.style.bottom="0px",e.innerHTML='\n <div class="'.concat(this.id,'-title zeasn-cmp-set-successfully">Ad options set successfully !</div>\n <div class="').concat(this.id,'-button zeasn-cmp-ok">OK</div>\n '),document.body.appendChild(e)}this.show=!0},e.prototype.enter=function(){this.close()},e.prototype.close=function(){t(this.id,"hidden"),this.show=!1,this.callback()},e}(),l=function(){function e(e){this.callback=e,this.focusEl=null,this.id="ad-CMP",this.addQrScript(),this.qrCount=180,this.show=!1,this.refresh=!1,this.codeStatusTimer=null}return e.prototype.open=function(){if(document.getElementById(this.id))document.getElementById(this.id).style.visibility="visible";else{var e=document.createElement("div");e.setAttribute("id",this.id),e.setAttribute("tabindex","-1"),e.style.zIndex="1000",e.innerHTML='\n <div id="cmp-title">\n <div id="left-title">Manage personalized ads</div>\n <div id="right-title">Press【BACK】to Exit</div>\n </div>\n <div id="cmp-qr-content">\n <div id="cmp-qr-left">\n <div class="qr-title">Go to your website</div>\n <div class="qr-step">\n <div class="step-num">1</div>\n <div class="step-content">\n <div class="step-title">Type this web address:</div>\n <div id="cmp-phone-domain" class="step-text"></div>\n </div>\n </div>\n <div class="qr-step">\n <div class="step-num">2</div>\n <div class="step-content">\n <div class="step-title">If prompted, enter the code:</div>\n <div id="cmp-code" class="step-text step-yard"></div>\n <div id="timer-count" class="step-time"></div>\n </div>\n </div>\n </div>\n <div id="cmp-qr-line"></div>\n <div id="cmp-qr-right">\n <div class="qr-title">Scan QR code</div>\n <div class="qr-text">Scan the QR code below with your phone camera or a QR reader app</div>\n <div class="qr-code">\n <div id="qr-container"></div>\n <div id="qrcode-cover"></div>\n </div>\n </div>\n <div id="cmp-hint">\n <div> If you have previously submitted a consent choice, scanning this code will by default erase the most recent record. This implies that you are actively withdrawing all consents, and we will seek your consent again to ensure your informed choices and the transparency of data processing. </div><div > Do not close this interface before the consent management is completed, otherwise the QR code and authorization code will become invalid. </div>\n </div>\n <div id="refresh-btn">Refresh</div>\n ',document.body.appendChild(e)}this.show=!0,this.getCode()},e.prototype.getCode=function(){var e,i=this;t("refresh-btn","hidden"),this.qrCount=180,n({url:"https://tou.zeasn.tv/tou/cmp/qrcode/generate?consumerId=".concat((e=s("WhaleCmpId"),r("WhaleADID",null==e||""==e||null==e?e=(new Date).getTime().toString():e,new Date((new Date).getTime()+31536e6)),e)),success:function(e){var t=JSON.parse(e).data;i.getQRcode(t.cmpPhoneUrl),document.getElementById("cmp-phone-domain").innerText=t.cmpPhoneDomain,document.getElementById("cmp-code").innerText=t.cmpCode?t.cmpCode.replace(/(\w{3})(\w{3})(\w{3})/g,"$1-$2-$3"):"",document.getElementById("timer-count").innerText=i.getTimer(),i.setTimer(),clearTimeout(i.codeStatusTimer),i.show&&i.checkCodeStatus(t.cmpCode)}})},e.prototype.getTimer=function(){return"".concat(Math.floor(this.qrCount/60),":").concat(this.qrCount%60>9?this.qrCount%60:"0"+this.qrCount%60)},e.prototype.setTimer=function(){var e=this;this.timer=setTimeout(function(){e.qrCount--,document.getElementById("timer-count").innerText=e.getTimer(),e.qrCount>0?e.setTimer():e.expireAction()},1e3)},e.prototype.addQrScript=function(){var e=document.createElement("script");e.src="https://adsdk.zeasn.tv/webstatic/homepage_web/ad/cmp/qr.js",document.getElementsByTagName("head")[0].appendChild(e)},e.prototype.getQRcode=function(e){if(window.QRCode){var n=document.getElementById("qr-container");n&&(n.innerHTML="");var i=200;if(n){var o=n.getBoundingClientRect();i=Math.max(100,Math.min(300,Math.floor(Math.min(o.width,o.height))))}new window.QRCode("qr-container",{text:e,width:i,height:i,colorDark:"#000000",colorLight:"#ffffff",correctLevel:1}),t("qrcode-cover","hidden")}},e.prototype.checkCodeStatus=function(e){var t=this;n({url:"https://tou.zeasn.tv/tou/cmp/qrcode/status?code=".concat(e),success:function(n){var i=JSON.parse(n).data;switch("verified"!=i&&"expired"!=i&&t.checkCodeTimer(e),i){case"waiting":case"scanned":case"finish":break;case"verified":t.openSuccessDialog();break;case"expired":t.expireAction()}}})},e.prototype.checkCodeTimer=function(e){var t=this;this.codeStatusTimer=setTimeout(function(){t.checkCodeStatus(e)},3e3)},e.prototype.expireAction=function(){this.refresh=!0,t("refresh-btn","visible"),t("cmp-timer","hidden"),t("qrcode-cover","visible")},e.prototype.enter=function(){this.successUI&&this.successUI.show&&this.successUI.enter(),this.refresh&&(this.refresh=!1,this.getCode())},e.prototype.openSuccessDialog=function(){var e=this;this.successUI=new c(function(){e.close()}),this.successUI.open()},e.prototype.close=function(){t(this.id,"hidden"),t("refresh-btn","hidden"),t("qrcode-cover","hidden"),this.show=!1,clearTimeout(this.codeStatusTimer),clearTimeout(this.timer),this.callback()},e}();!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}('#vod-ad-setting {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 9999;\n width: 100vw;\n height: 56.25vw;\n background: rgba(0, 0, 0, 0.7);\n display: flex;\n justify-content: center;\n align-items: center; }\n #vod-ad-setting #ad-setting-list {\n margin: 17.188vw 0 0 25vw;\n width: 50vw; }\n #vod-ad-setting #ad-setting-list > div {\n position: relative;\n width: 100%;\n height: 6.25vw;\n margin: 0 0 1.563vw 0;\n padding: 0 0 0 3.646vw;\n border-radius: 3.125vw;\n color: #fff;\n background: rgba(255, 255, 255, 0.2); }\n #vod-ad-setting #ad-setting-list > div:focus {\n background: #4993ff;\n outline: none; }\n #vod-ad-setting #ad-setting-list > div .ad-list-title {\n width: 34.375vw;\n height: 3.125vw;\n font-size: 1.667vw;\n font-weight: 500;\n line-height: 3.125vw;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap; }\n #vod-ad-setting #ad-setting-list > div .ad-list-h3 {\n width: 42.708vw;\n height: 2.083vw;\n font-size: 1.458vw;\n font-weight: 100;\n line-height: 2.083vw;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap; }\n #vod-ad-setting #ad-setting-list > div .ad-list-manage {\n position: absolute;\n top: 0;\n right: 6.458vw;\n height: 6.25vw;\n line-height: 6.25vw;\n font-size: 1.667vw; }\n #vod-ad-setting #ad-setting-list > div .ad-arrows {\n position: absolute;\n right: 2.604vw;\n top: 1.719vw;\n width: 2.813vw;\n height: 2.813vw;\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAAAXNSR0IArs4c6QAABJ1JREFUeF7tnTusT0sUxr8PyS1o6K7uaqlphIQTESQiHuV1KKg8zm1UHudoVPdBofNqEVeCCgnRUNPS0dFcxU3IsidWoTh775M5/2PWmlnTnGJnZtb+fnvNf858s2cTUVwpQFfRRrAIYM4eggAWwJwp4CzcyLAA5kwBZ+FGhgUwZwo4CzcyLIA5U8BZuJFhAcyZAs7CjQwLYM4UcBZuZFgAc6aAs3AjwwKYMwWchRsZFsCcKeAs3MiwALZ0CojIMQA7ARwi+WXperLbspsME5EzAC6plLcATJMUu9IuTWQugIlIApWA/ViukDy5NLLYbdU0MBFZBuAqgDQUzlcukjxnV97JR2Yd2C8AHgHYNnDrf5D8a/LS2GzRNLAkmYisAvCkA7exR8L0O3aU5A2bEk82KvPAFNqaLsueA1jfc/tfARwkeW+y8thrzQUwhbYWwAsAv/XI+D+APSQf25N5chG5AabQ1im0X3sk+AxgO8mXk5PIVkuugCm0DQCeAUjD5HzlE4AtJF/bknoy0bgDptA2AUhDX5qQzFc+dNc3k3w7GZnstOISmELbDuAhgDT1n6+8U2jv7ci9+EjcAlNo+7qZ420Ay3ukeKPD48fFS2WjBdfAFNphANeB3pcTX+lE5D8bki8uCvfAFNopAH8PSPEUwC6SaervulQBTKGd7/5eGKBxH8AB77ZMNcAU2j8Ahlbw3dsytQFL95PWFH8fyLTLJNMQ6rJUBUyzLM0Y7wLYO0BkrjM/0xDqrlQHTKEtxJaZITk0UTEJs0pgCq1KW6ZaYAqtOlumamAKbSG2zG6SySQ1X6oHptDGbJm0CjLlwZZpAphCG7Nl0nrjVuu2TDPAFJp7W6YpYArNtS3THDCF5taWaRKYQpsGcM2bLdMsMIXmzpZpGphCS5bM0LpismX2k0x7H4uX5oEpNDe2TAD7vh38MoATA+ljxkdrHlj3hswcgLMDsGJILP5DoAGIyAyAPwfiMbcXpNkME5GY1lvJnLE4RCT+cR4Tycp1EZkC8MDrjuGmhkQRSYu/yfda2fMAmd+T3wwwEUn2SnopcHUPrLBXDA2DYWBagTEWh4jEFoExkaxc71YwYhOOFRhjcSzw9IEjJG+OtWXpepWTDhFZyEbS0yTToq+rUh0wEVkB4M7IVu0LJGddkdJgqwImIvEyhKenUETc+Fq5ulaTYV12pSFu6KCwf/WFPhPOcdPAROQ0gKEDwszZJM0C82qTNAnMs03SHDARcb2DtylgapPE0UW51H9mPbVJhg4Hc2GT5GrmalovItXYJNUDq80mqRpYjTZJtcBqtUmqBFazTVIrsLEPDcySHDoQLFcXs/VczBJ7PuXh+syo3CfCBbB0c/GxnO+I3QBTaMcB7NDPUbm2SarPsNwbrK2eqwyrTfyc+wlgOaoVrBPACoqf03UAy1GtYJ0AVlD8nK4DWI5qBesEsILi53QdwHJUK1gngBUUP6frAJajWsE6Aayg+DldB7Ac1QrWCWAFxc/pOoDlqFawTgArKH5O1wEsR7WCdQJYQfFzug5gOaoVrBPACoqf03UAy1GtYJ0AVlD8nK6/AfuHcnxcrE7uAAAAAElFTkSuQmCC);\n background-size: 100% 100%;\n background-repeat: no-repeat; }\n #vod-ad-setting #ad-setting-list > div .ad-list-reset {\n position: absolute;\n top: 1.146vw;\n right: 1.563vw;\n width: 11.458vw;\n height: 3.75vw;\n text-align: center;\n line-height: 3.75vw;\n font-size: 1.667vw;\n border-radius: 2.083vw;\n border: 0.208vw solid #fff; }\n #vod-ad-setting #ad-setting-list #ad-setting-tou .ad-list-title {\n width: 41.667vw;\n padding: 1.563vw 0 0 0;\n height: 5vw; }\n #vod-ad-setting #ad-setting-list #ad-setting .ad-list-title {\n width: 26.042vw;\n padding: 0.417vw 0 0 0; }\n #vod-ad-setting #ad-setting-list #row-advertising-id .ad-list-title {\n padding: 0.417vw 0 0 0; }\n #vod-ad-setting #ad-setting-list #row-advertising-id .ad-list-h3 {\n width: 33.854vw; }\n\n#cmp-reset-confirm {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 103;\n display: flex;\n width: 100vw;\n height: 56.25vw;\n color: #fff;\n align-items: center;\n justify-content: center;\n background: rgba(0, 0, 0, 0.6); }\n #cmp-reset-confirm #cmp-reset-content {\n width: 46.875vw;\n padding: 2.604vw;\n background: rgba(0, 0, 31, 0.98); }\n #cmp-reset-confirm #cmp-reset-content .confirm-title {\n width: 100%;\n margin: 1.563vw 0;\n font-size: 2.083vw;\n text-align: center; }\n #cmp-reset-confirm #cmp-reset-content .confirm-buttons {\n padding: 2.083vw 0 0 0;\n font-size: 0;\n text-align: center; }\n #cmp-reset-confirm #cmp-reset-content .confirm-buttons > div {\n display: inline-block;\n width: 14.792vw;\n height: 3.75vw;\n line-height: 3.75vw;\n font-size: 1.563vw;\n margin: 0 2.083vw;\n background: rgba(255, 255, 255, 0.2);\n outline: none; }\n #cmp-reset-confirm #cmp-reset-content .confirm-buttons > div:focus {\n background: #4993ff; }\n\n#ad-CMP {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 102;\n width: 100vw;\n height: 56.25vw;\n background: #434343;\n color: #fff; }\n #ad-CMP #cmp-title {\n position: relative;\n width: 87.5vw;\n height: 4.167vw;\n margin: 4.167vw 0 0 6.25vw;\n font-size: 3.125vw;\n line-height: 4.167vw; }\n #ad-CMP #cmp-title #right-title {\n position: absolute;\n top: 0;\n right: 0;\n font-size: 1.458vw; }\n #ad-CMP #cmp-qr-content {\n width: 87.5vw;\n height: 25.521vw;\n margin: 4.167vw 0 0 6.25vw;\n font-size: 0; }\n #ad-CMP #cmp-qr-content > div {\n display: inline-block;\n vertical-align: top; }\n #ad-CMP #cmp-qr-content > div .qr-title {\n height: 4.167vw;\n line-height: 4.167vw;\n font-size: 2.083vw; }\n #ad-CMP #cmp-qr-content #cmp-qr-left {\n width: 41.146vw;\n height: 25.521vw;\n margin: 0 1.042vw 0 0; }\n #ad-CMP #cmp-qr-content #cmp-qr-left .qr-step {\n margin: 3.646vw 0 0 0;\n padding: 0 0 1.042vw 0; }\n #ad-CMP #cmp-qr-content #cmp-qr-left .qr-step > div {\n display: inline-block;\n vertical-align: top; }\n #ad-CMP #cmp-qr-content #cmp-qr-left .qr-step .step-num {\n width: 4.063vw;\n height: 4.063vw;\n margin: 0.573vw 0 0 0;\n border-radius: 50%;\n background: #ffd712;\n text-align: center;\n font-size: 2.083vw;\n line-height: 4.063vw;\n color: #434343; }\n #ad-CMP #cmp-qr-content #cmp-qr-left .qr-step .step-content {\n width: 34.375vw;\n margin: 0 0 0 2.604vw; }\n #ad-CMP #cmp-qr-content #cmp-qr-left .qr-step .step-content .step-title {\n height: 2.604vw;\n line-height: 2.5vw;\n font-size: 1.667vw;\n font-weight: 400;\n color: #a9a9a9; }\n #ad-CMP #cmp-qr-content #cmp-qr-left .qr-step .step-content .step-text {\n height: 2.604vw;\n line-height: 2.5vw;\n font-size: 1.667vw;\n font-weight: 500; }\n #ad-CMP #cmp-qr-content #cmp-qr-left .qr-step .step-content .step-yard {\n display: inline-block;\n vertical-align: top; }\n #ad-CMP #cmp-qr-content #cmp-qr-left .qr-step .step-content .step-time {\n display: inline-block;\n vertical-align: top;\n height: 2.604vw;\n padding: 0 0 0 2.083vw;\n margin: 0 0 0 1.563vw;\n line-height: 2.604vw;\n font-size: 1.667vw;\n color: #a9a9a9;\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSU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pii7Qjtdg735K597+bGtxkka+XlZTkntiqrERli7ou99OyuTrRlsrOs1kyZt2lxfte9Kz8bjyzPptp876Y9/R2unUC7N8vCOzXMhKYC/gmd7aQRiqj6TCBJDfTXXr9RMmrHYsXXTWjJZ0TOI7nlXzA1RKDdmTTuEg6KBrAsXIqvj1OI3l+JyW6AuxJJJl+aGZ6GrL5J2/xq1zhD+HbJk6ikwLd/C7p/eFvJdwNnFzyvs/sTJJp7WrEabsGHEF7G3k7lXGYTc/3ub6IpPPrShLPqcni5pgcMQKL1yz5Gb0kID0BjqDdljGJMyWOpOD+AeD7IRc1b+r2XsBH4qjDQy/sIUmSUbZ4Jrc65dsQI3crPQMuJg4JthnrF2Z3df5db3cTTEw/eCRywLwTfL25+L9VbPOY/r9LWKgPZG2fMhxm25sxa8A9S9+Ao7WtsCl/xzbw1yw5GC+S6+XzSHor9yWVACfWdk57SuRVp8zWvpTKBq0BYPLaapKmZlSSWgAnwN2Uc03bJSPTj/slndnp/dh/X0EyT/dGD+BUk0iW8XXyYQDvjYyad0amn3lhvt5MfrPV7HhsSf853p0+9+1Y7VUQ/xd1Auao8epsOgAAAABJRU5ErkJggg==);\n background-repeat: no-repeat;\n background-size: 1.563vw 1.563vw;\n background-position: 0; }\n #ad-CMP #cmp-qr-content #cmp-qr-line {\n width: 0.052vw;\n height: 23.438vw;\n background: #a9a9a9;\n margin: 2.083vw 0 0 0; }\n #ad-CMP #cmp-qr-content #cmp-qr-right {\n width: 37.969vw;\n height: 25.521vw;\n margin: 0 0 0 7.24vw; }\n #ad-CMP #cmp-qr-content #cmp-qr-right .qr-text {\n margin: 3.125vw 0 0 0;\n font-size: 1.667vw;\n line-height: 2.344vw;\n color: #a9a9a9; }\n #ad-CMP #cmp-qr-content #cmp-qr-right .qr-code {\n position: relative;\n width: 10.417vw;\n height: 10.417vw;\n margin: 1.563vw 0 0 0;\n background: #fff; }\n #ad-CMP #cmp-qr-content #cmp-qr-right .qr-code img {\n width: 100%;\n height: 100%; }\n #ad-CMP #qrcode-cover {\n position: absolute;\n left: 0;\n top: 0;\n z-index: 2;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.6); }\n #ad-CMP #cmp-hint {\n display: block;\n width: 72.917vw;\n margin: 0 7.292vw;\n font-size: 1.25vw;\n line-height: 1.875vw;\n color: #a9a9a9; }\n #ad-CMP #cmp-hint > div {\n position: relative; }\n #ad-CMP #refresh-btn {\n width: 14.792vw;\n height: 4.167vw;\n margin: 0 0 0 34.375vw;\n background: #fff;\n color: #000;\n border-radius: 0.938vw;\n font-size: 1.667vw;\n line-height: 4.167vw;\n text-align: center; }\n #ad-CMP #ad-box {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 103;\n display: flex;\n width: 100vw;\n height: 56.25vw;\n color: #fff;\n align-items: center;\n justify-content: center;\n background: rgba(0, 0, 0, 0.6); }\n #ad-CMP #ad-box #cmp-reset-content {\n width: 36.458vw;\n padding: 3.646vw 2.604vw;\n background: #4c4c53; }\n #ad-CMP #ad-box #cmp-reset-content .confirm-title {\n width: 100%;\n margin: 1.563vw 0;\n font-size: 2.083vw;\n text-align: center; }\n #ad-CMP #ad-box #cmp-reset-content .confirm-buttons {\n padding: 2.083vw 0 0 0;\n font-size: 0;\n text-align: center; }\n #ad-CMP #ad-box #cmp-reset-content .confirm-buttons > div {\n display: inline-block;\n width: 14.792vw;\n height: 3.75vw;\n line-height: 3.75vw;\n font-size: 1.563vw;\n margin: 0 2.083vw;\n background: #fff;\n color: #000;\n border-radius: 0.938vw; }\n\n#ad-tou {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 2;\n width: 100vw;\n height: 56.25vw;\n background: #111115;\n color: #fff; }\n #ad-tou #ad-tou-title {\n width: 86.458vw;\n height: 4.688vw;\n margin: 6.25vw 0 0 6.771vw;\n line-height: 4.688vw;\n text-align: center;\n font-size: 3.125vw; }\n #ad-tou #ad-tou-hint {\n width: 86.458vw;\n margin: 2.083vw 0 0 6.771vw;\n text-align: center;\n font-size: 1.667vw;\n line-height: 3.125vw; }\n #ad-tou #ad-tou-content {\n width: 86.458vw;\n height: 23.438vw;\n margin: 3.646vw 0 0 6.771vw; }\n #ad-tou #ad-tou-content #ad-tou-list {\n position: relative;\n display: inline-block;\n vertical-align: top;\n width: 62.5vw;\n height: 23.438vw;\n overflow: hidden; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content {\n width: 58.021vw;\n height: auto;\n position: absolute; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content .list-item {\n width: 58.021vw;\n margin: 0 0 1.563vw 0;\n outline: none; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content .list-item .item-btn {\n width: 58.021vw;\n height: 4.688vw;\n background: rgba(255, 255, 255, 0.18);\n border-radius: 2.344vw; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content .list-item .item-btn > div {\n display: inline-block;\n vertical-align: top; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content .list-item .item-btn:focus {\n background: #4993ff;\n outline: none; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content .list-item .item-btn .btn-name {\n width: 47.917vw;\n height: 4.688vw;\n margin: 0 0 0 3.646vw;\n line-height: 4.688vw;\n font-size: 1.667vw; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content .list-item .item-btn .btn-icon {\n width: 2.813vw;\n height: 2.813vw;\n margin: 0.938vw 0 0 1.042vw;\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAAAXNSR0IArs4c6QAABQBJREFUeF7tmj+wHlMYxp/Xn1HQREfH6KSmJ8zQ+NOgwWCkIqGRBkk00pBElQwGDWmEhhmT6KWmM3R0SUNh/Hl9b+bcmZ1vvu985+5+7+4+9z6nuXPv3T3nOc9vn7N73l2DGpUDRqVWYiFgZBeBgAkYmQNkcpUwASNzgEyuEiZgZA6QyVXCBIzMATK5SpiAkTlAJlcJEzAyB8jk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9XwAr0Foq/SfM7HqV3d3jZ22Ja1pOhxi87XNpEta5p0WlP95M117Vx4NDtFrFneLThGXgdMBKclo+hqld3FQf/1A81m9aSho3v6u6mbzivmlutf9TJqyzPLZU+rvzn0XFfd8CK8tjS6U/Dp1NxX1fAyvQNlX6U17NDDG+77nUS2J30pWXkKkvP/sa3/e8PQOsJG250j/LintfWHHengJWoO18SBO/jvYBzxAIuzl3zwEr0K7Pa+xP5HZjfN9j9ySwvmYwnCdgDJQ6GgVMwMgcIJOrhAkYmQNkcpUwASNzgEyuEiZgZA6QyVXCBIzMATK5SpiAkTlAJlcJEzAyB8jkKmECRuYAmVwlTMDIHCCTq4QJGJkDZHKVMAEjc4BMrhImYGQOkMlVwgSMzAEyuUqYgJE5QCZXCRMwMgfI5CphZMD+B/GCZXys1V3UAAAAAElFTkSuQmCC);\n background-size: 100% 100%;\n background-repeat: no-repeat; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content .list-item .item-btn .btn-icon.btn-icon-open {\n transform: rotate(180deg); }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content .list-item .item-text {\n width: 54.896vw;\n height: auto;\n padding: 1.563vw 1.563vw 0 1.563vw;\n font-size: 1.667vw;\n line-height: 2.188vw;\n display: none; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content .list-item .item-text[show="true"] {\n display: block; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-tou-list-content .list-item:focus .item-btn {\n background: #4993ff; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-list-scroll {\n position: fixed;\n right: 33vw;\n width: 0.313vw;\n height: 23.438vw;\n background: rgba(255, 255, 255, 0.3);\n border-radius: 0.313vw; }\n #ad-tou #ad-tou-content #ad-tou-list #ad-list-scroll > div {\n position: absolute;\n left: 0;\n top: 0;\n width: 0.313vw;\n height: 2.604vw;\n background: #fff;\n border-radius: 0.313vw; }\n #ad-tou #ad-tou-content #ad-tou-btn {\n display: inline-block;\n vertical-align: top;\n width: 18.229vw;\n height: 3.75vw;\n margin: 9.844vw 0 0 3.646vw;\n border: 0.156vw solid #fff;\n font-size: 1.667vw;\n line-height: 3.75vw;\n text-align: center;\n border-radius: 1.979vw;\n outline: none; }\n #ad-tou #ad-tou-content #ad-tou-btn:focus {\n background: #4993ff; }\n\n#qr-container {\n display: inline-block;\n width: 100%;\n height: 100%; }\n #qr-container img {\n width: 100%;\n height: 100%; }\n\n#options-set-success {\n position: fixed;\n top: 0;\n margin: 19.271vw 29.167vw;\n width: 41.667vw;\n height: 17.708vw;\n background: #4C4C53; }\n #options-set-success .options-set-success-title {\n height: 3.125vw;\n font-size: 1.875vw;\n font-weight: 500;\n color: #fff;\n line-height: 1.875vw;\n padding: 5vw;\n text-align: center; }\n #options-set-success .options-set-success-button {\n width: 17.708vw;\n height: 4.167vw;\n background: #fff;\n border-radius: 0.938vw;\n margin: 0 11.979vw;\n font-size: 1.667vw;\n font-weight: 500;\n color: #131313;\n line-height: 4.167vw;\n text-align: center; }\n');var u=function(){function e(e){var t=this;this.ele=e,this.mainId="vod-ad-setting",this.focus="main",this.advertisingId="cmp-whaleadid",this.visible=!1,this.agreementUI=new l(function(){t.show(),document.getElementById("ad-setting").focus(),t.focusEl=document.getElementById("ad-setting")})}return e.prototype.init=function(){var e=document.createElement("div");e.setAttribute("id",this.mainId),e.setAttribute("tabindex","-1"),e.innerHTML='\n <div id="ad-setting-list">\n <div id="ad-setting-tou" tabindex="-1">\n <div class="ad-list-title">Terms of Use</div>\n <div class="ad-arrows"></div>\n </div>\n <div id="ad-setting" tabindex="-1">\n <div class="ad-list-title">AD Settings</div>\n <div class="ad-list-h3">Give / Withdraw consent to personalization</div>\n <div class="ad-list-manage">Manage Options</div>\n <div class="ad-arrows"></div>\n </div>\n <div id="row-advertising-id" tabindex="-1">\n <div class="ad-list-title">Advertising ID:</div>\n <div class="ad-list-h3" id="cmp-whaleadid">'.concat(i(),'</div>\n <div class="ad-list-reset">Reset</div>\n </div>\n </div>\n '),this.cmpManageId=e,document.body.appendChild(e)},e.prototype.addCssFile=function(e){var t=document.createElement("link");t.setAttribute("rel","stylesheet"),"file:"==location.protocol&&(e="https:"+e),t.setAttribute("href",e),document.body.appendChild(t)},e.prototype.open=function(e){document.getElementById(this.mainId)||this.init(),this.callback=e||function(){},document.getElementById(this.mainId).style.display="block",document.getElementById("ad-setting-tou").focus(),this.focusEl=document.activeElement,this.show()},e.prototype.show=function(){this.focus="main",t(this.mainId,"visible"),this.visible=!0},e.prototype.close=function(){"reset"===this.focus&&this.confirmUI?this.confirmUI.close():"agreement"===this.focus&&this.agreementUI?this.agreementUI.close():"tou"===this.focus&&this.touUI&&this.touUI.close(),document.getElementById(this.mainId).style.display="none",this.visible=!1,this.focus="main",this.callback()},e.prototype.enter=function(){this.confirmUI&&"reset"===this.focus?this.confirmUI.enter():this.touUI&&"tou"===this.focus?this.touUI.enter():this.agreementUI&&this.agreementUI.show&&"agreement"===this.focus?this.agreementUI.enter():("ad-setting-tou"===this.focusEl.id&&this.touDialog(),"ad-setting"===this.focusEl.id&&this.agreementDialog(),"row-advertising-id"===this.focusEl.id&&this.confirmDialog())},e.prototype.onKeydown=function(e){switch(e.keyCode){case 8:case 461:this.back();break;case 13:this.enter();break;case 37:this.left();break;case 38:this.up();break;case 39:this.right();break;case 40:this.down()}},e.prototype.up=function(){"main"===this.focus&&this.focusEl.previousElementSibling&&(this.focusEl.previousElementSibling.focus(),this.focusEl=document.activeElement),"tou"===this.focus&&this.touUI&&this.touUI.up()},e.prototype.down=function(){"main"===this.focus&&this.focusEl.nextElementSibling&&(this.focusEl.nextElementSibling.focus(),this.focusEl=document.activeElement),"tou"===this.focus&&this.touUI&&this.touUI.down()},e.prototype.left=function(){switch(this.focus){case"reset":this.confirmUI&&this.confirmUI.left();break;case"tou":this.touUI&&this.touUI.left()}},e.prototype.right=function(){switch(this.focus){case"reset":this.confirmUI&&this.confirmUI.right();break;case"tou":this.touUI&&this.touUI.right()}},e.prototype.back=function(){"main"===this.focus?this.close():"reset"===this.focus&&this.confirmUI?this.confirmUI.close():"agreement"===this.focus&&this.agreementUI?this.agreementUI.close():"tou"===this.focus&&this.touUI&&this.touUI.close()},e.prototype.touDialog=function(){var e=this;t(this.mainId,"hidden"),this.focus="tou",this.touUI||(this.touUI=new a(function(){e.show(),document.getElementById(e.advertisingId)&&(document.getElementById(e.advertisingId).innerText=i()),document.getElementById("ad-setting-tou").focus(),e.focusEl=document.activeElement})),this.touUI.open()},e.prototype.confirmDialog=function(){var e=this;t(this.mainId,"hidden"),this.focus="reset",this.confirmUI||(this.confirmUI=new d(function(){var t;e.show(),document.getElementById(e.advertisingId)&&(document.getElementById(e.advertisingId).innerText=(r("WhaleADID",t=o(),new Date((new Date).getTime()+31536e6)),t)),document.getElementById("row-advertising-id").focus(),e.focusEl=document.activeElement})),this.confirmUI.open()},e.prototype.agreementDialog=function(){var e=this;t(this.mainId,"hidden"),this.focus="agreement",this.agreementUI||(this.agreementUI=new l(function(){e.show(),document.getElementById("ad-setting").focus(),e.focusEl=document.activeElement})),this.agreementUI.open()},e}();export{u as WhaleCMP};
|