!function(a,b){"use strict";"undefined"!=typeof exports?a(global,exports):a(b,b)}(function(a,b){"use strict";function c(b){var c=b.adapter,d=a.document.head;if(a.FbRouter=c,b.userAgentInfo.os.ios&&void 0!==window.devicePixelRatio&&1===window.devicePixelRatio){for(var e=document.getElementsByTagName("meta"),f=0;f<e.length;f++)"viewport"==e[f].name&&document.head.removeChild(e[f]);var g="initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui",h=document.createElement("meta");h.name="viewport",h.content=g,document.getElementsByTagName("head")[0].appendChild(h),h=null,e=null,g=null}void 0===a.PUBL&&(a.PUBL=!1),void 0===a.DEBUG_MODE&&(a.DEBUG_MODE=!1),void 0!==a.initAnalytics&&a.initAnalytics("Mobile");var i=document.createElement("link");i.type="text/css",i.rel="stylesheet",i.href=c.translatePath("static/mobile/styles/production.css"),d.appendChild(i);var j=new XMLHttpRequest;j.onload=function(b){a.publicationData=JSON.parse(b.target.responseText),void 0===a.publicationStyle&&(a.publicationStyle={}),void 0===a.publicationData.locales&&(a.publicationData.locales=["en","ar","de","es","fi","fr","he","it","ja","ko","nl","no","pl","pt","ru","sv","tr","zh"]),null==a.publicationStyle.title&&(a.publicationStyle.title=""),null!=a.publicationStyle.buttons&&(null!=a.publicationStyle.buttons.share&&(a.publicationData.visibility.share=a.publicationStyle.buttons.share),null!=a.publicationStyle.buttons.download&&(a.publicationData.visibility.downloads=a.publicationStyle.buttons.download)),null!=a.publicationStyle.rtl&&(a.publicationData.rtlMode=a.publicationStyle.rtl),a.publicationData.name=a.publicationStyle.title,a.publicationData.page.defaults.thFormat=void 0===a.publicationData.page.defaults.thFormat?"jpg":a.publicationData.page.defaults.thFormat;var e=document.createElement("script");e.type="text/javascript",e.charset="utf-8",e.async=!1,e.src=c.translatePath("static/mobile/javascript/production.js"),d.appendChild(e)},j.onerror=function(){},j.open("GET",c.translatePath("assets/mobile/properties.js")),j.send(),"function"==typeof b.onInit&&b.onInit(),a.rendererReady=function(a){"function"==typeof b.onPublicationLoad&&b.onPublicationLoad(a)}}b.FBPublicationVersion=c},this);