티스토리 수익 글 보기
!function(){var e={2765:function(e){var n;self,n=function(){return function(){var e={954:function(e){var n,t={},o=”mozConsentStatus”,i=”mozConsentClose”,r=”verifyOptions(): success.”;t.setConsentCookie=function(e){try{var t=new Date;t.setDate(t.getDate()+n.cookieExpiryDays);var o=t.toUTCString();return n.helper.setItem(n.cookieID,JSON.stringify(e),o,”/”,n.cookieDomain,!1,”lax”),!0}catch(i){return!1}},t.getConsentCookie=function(){try{return n.helper.hasItem(n.cookieID)&&JSON.parse(n.helper.getItem(n.cookieID))}catch(e){return!1}},t.getHostName=function(e){var n=”string”==typeof e?e:window.location.hostname,t=null;return-1!==n.indexOf(“.allizom.org”)&&(t=”.allizom.org”),-1!==n.indexOf(“.mozilla.org”)&&(t=”.mozilla.org”),t},t.dispatchEvent=function(e,n){if(“function”==typeof window.CustomEvent)window.dispatchEvent(new CustomEvent(e,{detail:n}));else if(“function”==typeof document.createEvent){var t=document.createEvent(“CustomEvent”);t.initCustomEvent(e,!1,!1,n),window.dispatchEvent(t)}else if(“function”==typeof document.createEventObject){var o=document.createEventObject();o.type=e,o.bubbles=!1,o.cancelable=!1,o.detail=n,window.fireEvent(“on”+o.type,o)}},t.onAcceptClick=function(){var e={analytics:!0,preference:!0};t.setConsentCookie(e),t.dispatchEvent(o,e),t.dispatchEvent(i,{})},t.onRejectClick=function(){var e={analytics:!1,preference:!1};t.setConsentCookie(e),t.dispatchEvent(o,e),t.dispatchEvent(i,{})},t.verifyOptions=function(e){return”number”!=typeof e.cookieExpiryDays?”verifyOptions(): options.cookieExpiryDays not set.”:e.helper&&”function”==typeof e.helper.setItem?”boolean”!=typeof e.optOut?”verifyOptions(): options.optOut not set.”:e.helper.enabled()?r:”verifyOptions(): cookies are disabled.”:”verifyOptions(): options.helper not set.”},t.init=function(e){var i={cookieDomain:null,cookieExpiryDays:182,cookieID:”moz-consent-pref”,optOut:!1,eventName:o,helper:null};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&(i[c]=e[c]);(n=i).cookieDomain||(n.cookieDomain=t.getHostName());var a=t.verifyOptions(n);if(a!==r)return window.console&&window.console.error&&console.error(a),!1;var s=t.getConsentCookie();return s?t.dispatchEvent(o,s):(t.dispatchEvent(“mozConsentOpen”,{}),n.optOut&&t.dispatchEvent(o,{preference:!0,analytics:!0})),!0},e.exports=t}},n={},t=function o(t){var i=n[t];if(i!==undefined)return i.exports;var r=n[t]={exports:{}};return e[t](r,r.exports,o),r.exports}(954);return t}()},e.exports=n()}},n={};function t(o){var i=n[o];if(i!==undefined)return i.exports;var r=n[o]={exports:{}};return e[o](r,r.exports,t),r.exports}t.n=function(e){var n=e&&e.__esModule?function(){return e[“default”]}:function(){return e};return t.d(n,{a:n}),n},t.d=function(e,n){for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},function(){“use strict”;var e=t(2765),n=t.n(e),o=[“/firefox/built-for-you/”,”/firefox/challenge-the-default/”,”/firefox/landing/education/”,”/firefox/landing/gaming/”,”/firefox/landing/tech/”,”/newsletter/firefox/”,”/products/vpn/*”];var i=”moz-consent-pref”;function r(){return window.Mozilla.Cookies.enabled()&&window.Mozilla.Cookies.hasItem(i)}function c(e){var n=e;n=n.replace(/^(\/\w{2}-\w{2}\/|\/\w{2,3}\/)/,”/”);for(var t=0;t600?s.style.paddingBottom=a.offsetHeight+”px”:s.style.paddingBottom=”0px”)}var d,u,p,f=(d=l,u=200,function(){var e=arguments,n=this;clearTimeout(p),p=setTimeout((function(){d.apply(n,e)}),u)});function E(e){e.persisted&&r()&&window.location.reload()}function m(){document.getElementById(“moz-consent-banner-button-accept”).addEventListener(“click”,n().onAcceptClick,!1),document.getElementById(“moz-consent-banner-button-reject”).addEventListener(“click”,n().onRejectClick,!1),window.addEventListener(“pageshow”,E,!1),document.getElementById(“moz-consent-banner”).classList.add(“is-visible”),setTimeout(l,0),window.addEventListener(“resize”,f,!1)}function v(){document.getElementById(“moz-consent-banner-button-accept”).removeEventListener(“click”,n().onAcceptClick,!1),document.getElementById(“moz-consent-banner-button-reject”).removeEventListener(“click”,n().onRejectClick,!1),window.removeEventListener(“pageshow”,E,!1),document.getElementById(“moz-consent-banner”).classList.remove(“is-visible”),document.body.style.paddingBottom=”0″,window.removeEventListener(“resize”,f,!1)}function w(e){n().dispatchEvent(“mozConsentStatus”,e)}!function(){var e,t,o,a=(e={hasConsentCookie:r(),gpcEnabled:”function”==typeof window.Mozilla.gpcEnabled&&window.Mozilla.gpcEnabled(),dntEnabled:”function”==typeof window.Mozilla.dntEnabled&&window.Mozilla.dntEnabled(),consentRequired:(o=document.getElementsByTagName(“html”)[0].getAttribute(“data-needs-consent”),!!o&&”true”===o.toLowerCase()),isURLExceptionAllowed:(t=window.location.search,”string”==typeof t&&t.indexOf(“mozcb=y”)>-1),isURLPermitted:c(window.location.pathname)}).gpcEnabled?”STATE_GPC_ENABLED”:e.dntEnabled?”STATE_DNT_ENABLED”:e.consentRequired?e.isURLPermitted||e.isURLExceptionAllowed?e.hasConsentCookie?”STATE_HAS_CONSENT_COOKIE”:”STATE_SHOW_COOKIE_BANNER”:”STATE_BANNER_NOT_PERMITTED”:e.hasConsentCookie?”STATE_HAS_CONSENT_COOKIE”:”STATE_COOKIES_PERMITTED”;switch(a){case”STATE_GPC_ENABLED”:case”STATE_DNT_ENABLED”:default:break;case”STATE_HAS_CONSENT_COOKIE”:var s=function(){try{return JSON.parse(window.Mozilla.Cookies.getItem(i))}catch(e){return!1}}();s&&w(s);break;case”STATE_SHOW_COOKIE_BANNER”:window.addEventListener(“mozConsentOpen”,m,!1),window.addEventListener(“mozConsentClose”,v,!1),n().init({helper:window.Mozilla.Cookies});break;case”STATE_COOKIES_PERMITTED”:w({analytics:!0,preference:!0})}”undefined”!=typeof window.Mozilla&&(window.Mozilla.getConsentStateMsg=function(){return a})}()}()}();