PageSourceSearch

https://www.azathabar.com/Scripts/responsive/modules/commons.js?&av=0.0.0.0&cb=393

js azathabar.com collected 2026-09-24 18:24:22 UTC 18,100 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_RFE_module_=self.webpackChunk_RFE_module_||[]).push([[17],{3(e,t,n){n.r(t),n.d(t,{FireAnalyticsTagEventOnDownload:()=>f,FireAnalyticsTagEventOnSearch:()=>h,FireAnalyticsTagEventOnSearchResultItemClick:()=>p,FireAnalyticsTagEventQuiz:()=>m,FireTealiumEvent:()=>u,FireTealiumEventOnDownload:()=>v,default:()=>g,getAnalyticsPageData:()=>r,getGoogleTagManagerEventData:()=>a,getTealiumEventData:()=>s,trackAnalyticsEvent:()=>c,trackAnalyticsView:()=>d});var i=function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=function(){var e=function(e){try{var t=!!(e&&e.location&&e.location.search)&&e.location.search;return"string"==typeof t&&"true"===new URLSearchParams(t).get("analyticsDebug")}catch(e){return!1}};if(e(window))return!0;try{if(window.parent&&window.parent!==window&&e(window.parent))return!0}catch(e){}return!1}();function r(){return window.analyticsData?window.analyticsData:window.utag_data?window.utag_data:{}}function a(e){var t=i({},e);return delete t.audio_event,delete t.video_event,t}function s(e){var t=i({},e);return delete t.media_action,delete t.base_media_type,delete t.media_is_live,void 0!==t.media_length&&("audio"===t.media_type?(t.audio_length=t.media_length,delete t.media_length):"video"===t.media_type&&(t.video_length=t.media_length,delete t.media_length)),void 0!==t.media_position&&("audio"===t.media_type?(t.audio_position=t.media_position,delete t.media_position):"video"===t.media_type&&(t.video_position=t.media_position,delete t.media_position)),t}function l(e){if(o&&console.log("---- \n trackAnalyticsAction",e),e.event&&""!==e.event.trim()||!e.on_page_event||(e.event=e.on_page_event),e.event&&""!==e.event.trim()){var t=window.dataLayer||[],n=a(e);o&&console.log("sending dataLayer.push()",n),t.push(n);var i=window.utag;if(i){var r=s(e);e.page_name?(o&&console.log("sending uTag.view()",r),i.view(r)):(o&&console.log("sending uTag.link()",r),i.link(r))}}else console.error("trackAnalyticsAction: invalid event attribute.",{data:e})}function c(e){l(e)}function d(e){e.page_name&&""!==e.page_name.trim()?l(e):console.error("trackAnalyticsView: invalid page_name attribute.",{eventData:e})}function u(e){c(e)}function h(e,t){var n={event:e,on_page_event:e,search_kw:t};if("search_refine"===e){var i=t.split("|");n={event:e,on_page_event:"search_refine",refine_content:i[2],refine_type:i[1],search_kw:i[0]}}else"search_suggested"===e&&(n={event:e,on_page_event:"search",search_kw:t,suggested_search:"true"});c(n)}function p(e,t){c({event:"search_click",on_page_event:"search_click",search_item:e,search_result_rank:t})}function f(e,t,n,i,o,r,a,s,l){var d=e.href;c({byline:r,content_id:n,download_location:window.location.href,filename:d,media_filetype:d.substring(d.lastIndexOf(".")+1).replace(/\?.*$/,""),media_length:o,media_name:i,media_type:t,event:"download_start",on_page_event:"download_start",pub_day:l,pub_month:s,pub_year:a})}function v(e,t,n,i,o,r,a,s,l){f(e,t,n,i,o,r,a,s,l)}function m(e,t){c({event:e,on_page_event:e,surveyName:t})}const g={getAnalyticsPageData:r,trackAnalyticsEvent:c,trackAnalyticsView:d,FireAnalyticsTagEventOnDownload:f,FireAnalyticsTagEventOnSearch:h,FireAnalyticsTagEventOnSearchResultItemClick:p,FireAnalyticsTagEventQuiz:m,FireTealiumEvent:u,FireTealiumEventOnDownload:v}},4(e,t,n){n.r(t),n.d(t,{sendClarityEvent:()=>i});var i=function(e){window.clarity&&window.clarity("event",e)}},11(e,t,n){n.r(t),n.d(t,{default:()=>o,imenh:()=>i});var i=function(){function e(){var e=this;this.breakpoints=window.imgEnhancerBreakpoints,this.screenDensity=window.imageDensity,this.multiplied=!1,this.processEnhanceableElements=function(t,n,i){void 0===i&&(i=!0);for(var o=e.getEnhanceableElements(t),r=0;r<o.length;r++){var a=o[r];e.processEnhancement(a,n,i)}},this.processEnhancement=function(t,n,i){var o,r,a;void 0===i&&(i=!0);var s="src",l=t.getAttribute(s),c=t.getAttribute("data-"+s),d="VIDEO"===t.nodeName;if(d&&(s="poster"),l||(l=c),null===(o=t.parentElement)||void 0===o?void 0:o.classList.contains("c-mmp__poster--video"))if(null==l?void 0:l.includes("_tv"))l=l.replace("_b1","").replace("_r1","_r0");else{var u=null===(a=null===(r=$dom.ancestor(t,".c-mmp").querySelector("video"))||void 0===r?void 0:r.getAttribute("data-aspect-ratio"))||void 0===a?void 0:a.split("/");t.classList.contains("c-mmp__poster-image-v")&&u&&(l=(l=l.replace(/_r\d/i,"")).includes("_h")?l.replace(/_w\d*/i,"_w"+u[0]):l.replace(/_w\d*/i,"_w"+u[0]+"_h"+u[1])),t.classList.contains("c-mmp__poster-image-h")&&u&&("xs"!==RFE.getResponsiveState()&&!$dom.ancestor(t,".c-mmp--embed-vertical")||l.includes("_h")||(t.classList.remove("enhanced"),l=(l=l.replace(/_r\d/i,"")).replace(/_w\d*/i,"_w"+u[0]+"_h"+u[1])),("xs"!==RFE.getResponsiveState()||$dom.ancestor(t,".c-mmp--embed-vertical"))&&(l=(l=l.replace(/_r\d/i,"")).replace(/_h\d*/i,"").replace(/_w\d*/i,l.match(/_w\d*/i)+"_r1"),t.classList.remove("enhanced")))}var h=e.getRightImageURL(l,t,n,i);return"string"==typeof h&&(!function(e){setTimeout(function(){$dom.ancestor(e,".img-wrap--infographics")?$dom.addClass(e,"enhanced--infographic"):$dom.addClass(e,"enhanced")},10)}(t),d?t.setAttribute("poster",h):t.src=h),t.src},this.getRightImageURL=function(t,n,i,o){var r,a,s;void 0===o&&(o=!0);var l=/_w([0-9]{2,5})/g.exec(t);if(l&&l[1]){if($dom.hasClass(n,"live-tracker-image"))return!1;void 0===o&&(o=!0);var c=parseInt(l[1]),d=n.offsetWidth,u=$dom.ancestor(n);u.className.indexOf("thumb")>-1&&(d=Math.max(u.offsetWidth,d));var h=$dom.ancestor(u);if(h&&h.className.indexOf("c-lightbox__img")>-1&&(d=Math.max(h.offsetWidth,d)),!d)return!1;if($dom.hasClass(document.body,"pg-photoblog")&&"object"==typeof n&&0===d)return!1;var p=2*d,f=-1,v=-1,m=0,g=/\..{1,5}$/g.exec(t);if(e.screenDensity&&(window.devicePixelRatio?window.devicePixelRatio>1&&(m=Math.ceil(window.devicePixelRatio),d=Math.floor(d*window.devicePixelRatio),e.multipyBreakPoints(window.devicePixelRatio)):(m=Math.ceil(e.screenDensity),d*=e.screenDensity,e.multipyBreakPoints(e.screenDensity)),m&&g&&g[0])){var w=t.match(/_d\d/g)||[];t=w.length?t.replace(/_d\d/g,"_d"+m):t.replace(g[0],"_d"+m+g[0])}for(var y=e.breakpoints.length-1;-1===f&&y>-1;y--){var _=e.breakpoints[y];_<=d&&(f=-1!==v&&d>1.1*_||0===d?v:_),v=_}h&&h.className.indexOf("img-wrap--infographics")>-1&&(f=p);
1var b=l.index+2,E=e.canBeLoaded(c,d,f,t,n,i);if(f>-1&&E){t=t.replace("_q10","");var C=null===(s=null===(a=null===(r=$dom.ancestor(n,".c-mmp"))||void 0===r?void 0:r.querySelector("video"))||void 0===a?void 0:a.getAttribute("data-aspect-ratio"))||void 0===s?void 0:s.split("/");if(t.includes("_h")&&2===(null==C?void 0:C.length)){var x=t.substring(0,b)+f.toString()+(o?"":"_n")+t.substring(b+c.toString().length),R=f*(C[1]/C[0]);return x.replace(/_h\d*/i,"_h"+Math.ceil(R))}return t.substring(0,b)+f.toString()+(o?"":"_n")+t.substring(b+c.toString().length)}return null}return!1},this.multipyBreakPoints=function(t){if(!e.multiplied){for(var n=[],i=0;i<e.breakpoints.length;i++){var o=Math.floor(e.breakpoints[i]*t);n.push(o)}e.breakpoints=n,e.multiplied=!0}},this.viewportChangeEvent=function(){e.processEnhanceableElements(document.body,!0,!0)},this.firstInitEvent=function(){e.processEnhanceableElements(document.body,!0,!0)},this.getEnhanceableElements=function(t){for(var n=t.querySelectorAll("img, video[poster]"),i=[],o=0;o<n.length;o++){var r=n[o];r&&("IMG"===r.nodeName&&(r.getBoundingClientRect().height&&r.setAttribute("height",r.getBoundingClientRect().height.toFixed()),r.getBoundingClientRect().width&&r.setAttribute("width",r.getBoundingClientRect().width.toFixed())),$dom.hasClass(r,"dont-enhance")||(e.isWithinViewport(r)||window.isForPdf||RFE.isMobile.Opera())&&i.push(r))}return i},this.isWithinViewport=function(e){var t=e.getBoundingClientRect();return t.top<(window.innerHeight||document.body.clientHeight)&&t.left<(window.innerWidth||document.body.clientWidth)},this.canBeLoaded=function(e,t,n,i,o,r){return i!==o.src||(i.indexOf("_q10")>-1||e!==n&&((!r||!$dom.hasClass(o,"enhanced"))&&!(e/n>=.9&&o.src)))}}return e.prototype.initGlobal=function(){return this.enhancerInitTimeout=setTimeout(this.firstInitEvent,0),window.isForPdf||(window.addEventListener("scrollStartRfe",this.viewportChangeEvent),window.addEventListener("scrollEndRfe",this.viewportChangeEvent),window.addEventListener("resize",this.viewportChangeEvent),window.addEventListener("showOverlayRfe",this.viewportChangeEvent),window.addEventListener("playerRendered",this.viewportChangeEvent)),!0},e.prototype.deinitGlobal=function(){clearTimeout(this.enhancerInitTimeout),window.isForPdf||(window.removeEventListener("scrollStartRfe",this.viewportChangeEvent),window.removeEventListener("scrollEndRfe",this.viewportChangeEvent),window.removeEventListener("resize",this.viewportChangeEvent),window.removeEventListener("showOverlayRfe",this.viewportChangeEvent),window.removeEventListener("playerRendered",this.viewportChangeEvent))},e}();const o=new i},1(e,t,n){n.r(t),n.d(t,{RFEGlobalModule:()=>l,RFEModule:()=>r,RFEModuleUi:()=>a,RFEModuleUiInstance:()=>s});var i,o=(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=function(){function e(){}return e.isRFEModule=!0,e}(),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.instances=[],t}return o(t,e),t.prototype.init=function(e){for(var t=this.getUiElements(e),n=0;n<t.length;n++){var i=t[n];if(i instanceof HTMLElement&&!this.findInstanceByElement(i)){var o=this.createUiInstance(i);o.init()&&this.instances.push(o)}}},t.prototype.deinit=function(e){for(var t=this.instances.length-1;t>=0;t--){var n=this.instances[t];(n.el===e||RFE.isChildOf(n.el,e))&&(n.deinit(),delete this.instances[t],this.instances.splice(t,1))}},t.prototype.findInstancesByContext=function(e){return this.instances.filter(function(t){return RFE.isChildOf(t.el,e)})},t.prototype.findInstanceByElement=function(e){return this.instances.find(function(t){return t.el===e})},t}(r),s=function(e,t){this.module=e,this.el=t},l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.initialized=!1,t}return o(t,e),t.prototype.init=function(e){this.initialized||(this.initialized=this.initGlobal()),this.initialized&&this.initContext(e)},t.prototype.deinit=function(e){this.initialized&&(this.deinitContext(e),e===window.defaultLoaderContext&&(this.deinitGlobal(),this.initialized=!1))},t.prototype.initContext=function(e){},t.prototype.deinitContext=function(e){},t}(r)},30(e,t,n){function i(e,t,n){void 0===n&&(n={});var i=n.preferred,o=void 0===i?"down":i,r=n.gap,a=void 0===r?6:r,s=n.topMargin,l=void 0===s?10:s,c=n.bottomMargin,d=void 0===c?10:c,u=n.sideMargin,h=void 0===u?10:u,p=n.maxWidth,f=void 0===p?640:p,v=n.fitToContent,m=void 0!==v&&v,g=n.scrollContainer,w=null!=g?g:t,y=document.documentElement.clientWidth,_=document.documentElement.clientHeight,b=e.getBoundingClientRect();t.style.margin="0",t.style.right="unset",t.style.bottom="unset",w.style.maxHeight="",w.style.overflowY="";var E=Math.max(0,y-2*h);if(m)t.style.width="auto",t.style.maxWidth=Math.min(f,E)+"px";else{var C=b.left+b.width/2,x=C-h,R=y-C-h,k=Math.max(0,Math.min(f,2*Math.min(x,R)));t.style.width=k+"px"}var A,O=_-b.bottom-d,M=b.top-l,T=t.getBoundingClientRect();A="up"===o?!(T.height<=M||M>=O):T.height<=O||O>=M;
1var F=Math.max(0,A?O:M);w.style.maxHeight=F+"px",w.style.overflowY="auto",T=t.getBoundingClientRect();var L=A?b.bottom+a:b.top-a-T.height,P=_-d-T.height;L=Math.max(l,Math.min(P,L));var S=b.left+(b.width-T.width)/2,B=y-h-T.width;S=Math.max(h,Math.min(B,S));var D=t.offsetParent,I=D?D.getBoundingClientRect():{top:0,left:0};t.style.top=L-I.top+"px",t.style.left=S-I.left+"px"}n.r(t),n.d(t,{positionPopover:()=>i})},16(e,t,n){n.r(t),n.d(t,{escapeHTML:()=>d,sanitizeClassName:()=>c,sanitizeUrl:()=>l,setSanitizedHTML:()=>s});var i=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],a=0,s=r.length;a<s;a++,o++)i[o]=r[a];return i},o=["iframe","object","embed","base","svg","math"],r=["href","src","action","formaction","xlink:href"],a=/^(?:https?|mailto|tel|#):|^[^:]*$/i;function s(e,t,n){var s,l=null!==(s=null==n?void 0:n.keepScripts)&&void 0!==s&&s,c=(new DOMParser).parseFromString(t,"text/html");for(!function(e,t){for(var n=0,s=t?o:i(o,["script"]);n<s.length;n++)for(var l=s[n],c=e.querySelectorAll(l),d=0;d<c.length;d++)c[d].remove();var u=e.querySelectorAll("*");for(d=0;d<u.length;d++){for(var h=u[d],p=h.attributes,f=p.length-1;f>=0;f--)p[f].name.toLowerCase().startsWith("on")&&h.removeAttribute(p[f].name);for(var v=0,m=r;v<m.length;v++){var g=m[v],w=h.getAttribute(g);w&&!a.test(w.trim())&&h.removeAttribute(g)}}}(c.body,l);e.firstChild;)e.removeChild(e.firstChild);for(;c.body.firstChild;)e.appendChild(document.adoptNode(c.body.firstChild))}function l(e){return e&&a.test(e.trim())?e:""}function c(e){return e?e.replace(/[^a-zA-Z0-9\s_-]/g,""):""}function d(e){if(!e)return"";var t=document.createElement("div");return t.textContent=e,t.innerHTML}},33(e,t,n){n.r(t),n.d(t,{default:()=>c});var i,o=n(1),r=(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(e,t,n,i){return new(n||(n=Promise))(function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},s=function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}},l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.navigatorClipboard=navigator.clipboard,t.copyToClipboard=function(e,n){return void 0===n&&(n=null),a(t,void 0,void 0,function(){var t;return s(this,function(i){switch(i.label){case 0:return e?(e.focus(),e.setSelectionRange(0,e.value.length),t=!1,!document.queryCommandEnabled("copy")||this.navigatorClipboard?[3,1]:(t=this.copyNoApi(t),this.showMessage(t,n),[3,4])):[2,!1];case 1:return this.navigatorClipboard?[4,this.copyWithApi(e)]:[3,3];case 2:return t=i.sent(),[3,4];case 3:console.error("Can not copy to clipboard"),i.label=4;case 4:return[2,Promise.resolve(t)]}})})},t.copyNoApi=function(e){return document.execCommand("copy")},t.copyWithApi=function(e){return a(t,void 0,void 0,function(){return s(this,function(t){switch(t.label){case 0:return[4,this.navigatorClipboard.writeText(e.value).then(function(){return!0},function(){return console.error("Unable to write to clipboard."),!1})];case 1:return[2,t.sent()]}})})},t.showMessage=function(e,t){e&&t&&(t.style.display="block")},t}return r(t,e),t.prototype.initGlobal=function(){return!0},t.prototype.deinitGlobal=function(){},t.prototype.initContext=function(e){},t.prototype.deinitContext=function(e){},t}(o.RFEGlobalModule);const c=l},53(e,t,n){n.r(t),n.d(t,{default:()=>s});
1var i,o=n(1),r=(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getUiElements=function(e){for(var t=e.querySelectorAll("a[href^='#']"),n=[],i=0;i<t.length;i++){var o=t[i],r=o.getAttribute("href");o.getAttribute("data-disable-smooth-scroll")||!r||r.length<2||0!==r.indexOf("#")||n.push(o)}return n},t.prototype.createUiInstance=function(e){return new l(this,e)},t}(o.RFEModuleUi);const s=a;var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.steps=50,t.topOffset=150,t.duration=500,t.scrollToElement=function(e){e&&t.animate(window.pageYOffset,RFE.getOffsetFromBody(e).y-t.topOffset,t.steps)},t.animate=function(e,n,i){var o=(n-e)/i,r=0,a=function(){var n=e+r*o;document.documentElement.scrollTop=n,document.body.scrollTop=n,++r<=i&&(t.iterationTimeout=setTimeout(a,t.duration/i))};a()},t.anchorLinkClick=function(){var e=t.el;if(e){var n=e.getAttribute("href").substr(1),i=document.getElementById(n);if(!i)for(var o=document.getElementsByTagName("a"),r=0;r<o.length;r++){var a=o[r];a.name===n&&(i=a)}return i&&t.scrollToElement(i),!1}},t}return r(t,e),t.prototype.init=function(){return this.el.addEventListener("click",this.anchorLinkClick,!1),!0},t.prototype.deinit=function(){this.el.removeEventListener("click",this.anchorLinkClick,!1),clearTimeout(this.iterationTimeout)},t}(o.RFEModuleUiInstance)}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.