if (self.CavalryLogger) { CavalryLogger.start_js(["smMCF"]); }

__d("IntlVariations",[],(function a(b,c,d,e,f,g){f.exports={BITMASK_NUMBER:805306368,NUMBER_ZERO:1073741824,NUMBER_ONE:268435456,NUMBER_TWO:536870912,NUMBER_FEW:1342177280,NUMBER_MANY:805306368,NUMBER_OTHER:1610612736,BITMASK_GENDER:50331648,GENDER_MALE:16777216,GENDER_FEMALE:33554432,GENDER_UNKNOWN:50331648};}),null);
__d("PixelRatioConst",[],(function a(b,c,d,e,f,g){f.exports={cookieName:"dpr"};}),null);
__d('EventEmitterWithValidation',['BaseEventEmitter'],(function a(b,c,d,e,f,g){'use strict';var h,i;h=babelHelpers.inherits(j,c('BaseEventEmitter'));i=h&&h.prototype;function j(m){i.constructor.call(this);this.$EventEmitterWithValidation1=Object.keys(m);}j.prototype.emit=function(m){k(m,this.$EventEmitterWithValidation1);return i.emit.apply(this,arguments);};function k(m,n){if(n.indexOf(m)===-1)throw new TypeError(l(m,n));}function l(m,n){var o='Unknown event type "'+m+'". ';o+='Known event types: '+n.join(', ')+'.';return o;}f.exports=j;}),null);
__d('mixInEventEmitter',['invariant','EventEmitterWithHolding','EventEmitterWithValidation','EventHolder'],(function a(b,c,d,e,f,g,h){'use strict';function i(k,l){l||h(0);var m=k.prototype||k;!m.__eventEmitter||h(0);var n=k.constructor;if(n)n===Object||n===Function||h(0);m.__types=babelHelpers['extends']({},m.__types,l);Object.assign(m,j);}var j={emit:function k(l,m,n,o,p,q,r){return this.__getEventEmitter().emit(l,m,n,o,p,q,r);},emitAndHold:function k(l,m,n,o,p,q,r){return this.__getEventEmitter().emitAndHold(l,m,n,o,p,q,r);},addListener:function k(l,m,n){return this.__getEventEmitter().addListener(l,m,n);},once:function k(l,m,n){return this.__getEventEmitter().once(l,m,n);},addRetroactiveListener:function k(l,m,n){return this.__getEventEmitter().addRetroactiveListener(l,m,n);},addListenerMap:function k(l,m){return this.__getEventEmitter().addListenerMap(l,m);},addRetroactiveListenerMap:function k(l,m){return this.__getEventEmitter().addListenerMap(l,m);},listeners:function k(l){return this.__getEventEmitter().listeners(l);},removeAllListeners:function k(){this.__getEventEmitter().removeAllListeners();},removeCurrentListener:function k(){this.__getEventEmitter().removeCurrentListener();},releaseHeldEventType:function k(l){this.__getEventEmitter().releaseHeldEventType(l);},__getEventEmitter:function k(){if(!this.__eventEmitter){var l=new (c('EventEmitterWithValidation'))(this.__types),m=new (c('EventHolder'))();this.__eventEmitter=new (c('EventEmitterWithHolding'))(l,m);}return this.__eventEmitter;}};f.exports=i;}),null);
__d("pageID",[],(function a(b,c,d,e,f,g){f.exports=Math.floor(2147483648*Math.random()).toString(36);}),null);
__d('NavigationMetricsCore',['mixInEventEmitter','pageID'],(function a(b,c,d,e,f,g){var h={NAVIGATION_DONE:'NAVIGATION_DONE',EVENT_OCCURRED:'EVENT_OCCURRED'},i={tti:'tti',e2e:'e2e',all_pagelets_loaded:'all_pagelets_loaded',all_pagelets_displayed:'all_pagelets_displayed'},j=0,k={},l=void 0;m.lastServerLID=function(){'use strict';return l;};function m(){'use strict';this.eventTimings={tti:null,e2e:null,all_pagelets_loaded:null,all_pagelets_displayed:null};this.lid=c('pageID')+':'+j++;this.extras={};}m.prototype.getLID=function(){'use strict';return this.lid;};m.prototype.setRequestStart=function(o){'use strict';this.start=o;return this;};m.prototype.setTTI=function(o){'use strict';this.eventTimings.tti=o;this.$NavigationEntryImpl1(i.tti,o);return this;};m.prototype.setE2E=function(o){'use strict';this.eventTimings.e2e=o;this.$NavigationEntryImpl1(i.e2e,o);return this;};m.prototype.setExtra=function(o,p){'use strict';this.extras[o]=p;return this;};m.prototype.setDisplayDone=function(o){'use strict';this.eventTimings.all_pagelets_displayed=o;this.setExtra('all_pagelets_displayed',o);this.$NavigationEntryImpl1(i.all_pagelets_displayed,o);return this;};m.prototype.setAllPageletsLoaded=function(o){'use strict';this.eventTimings.all_pagelets_loaded=o;this.setExtra('all_pagelets_loaded',o);this.$NavigationEntryImpl1(i.all_pagelets_loaded,o);return this;};m.prototype.setServerLID=function(o){'use strict';this.serverLID=o;return this;};m.prototype.$NavigationEntryImpl1=function(event,o){'use strict';var p={};if(k!=null&&this.serverLID!=null&&k[this.serverLID]!=null)p=k[this.serverLID];var q=babelHelpers['extends']({},p,{event:event,timestamp:o});n.emitAndHold(h.EVENT_OCCURRED,this.serverLID,q);return this;};m.prototype.doneNavigation=function(){'use strict';var o=babelHelpers['extends']({start:this.start,extras:this.extras},this.eventTimings);if(this.serverLID&&k[this.serverLID]){var p=this.serverLID;Object.assign(o,k[p]);delete k[p];}n.emitAndHold(h.NAVIGATION_DONE,this.lid,o);};var n={Events:h,postPagelet:function o(p,q){},postScheduler:function o(){},siteInit:function o(p){p(m);},setPage:function o(p){if(!p.serverLID)return;k[p.serverLID]={page:p.page,pageType:p.page_type,pageURI:p.page_uri,serverLID:p.serverLID};l=p.serverLID;},getFullPageLoadLid:function o(){throw new Error('getFullPageLoadLid is not implemented on this site');}};c('mixInEventEmitter')(n,h);f.exports=n;}),null);
__d('NavigationMetrics',['Arbiter','BigPipe','NavigationMetricsCore','PageEvents','performance'],(function a(b,c,d,e,f,g){var h='0';c('NavigationMetricsCore').getFullPageLoadLid=function(){return h;};c('NavigationMetricsCore').siteInit(function(i){var j=new i(),k=true;c('Arbiter').subscribe(c('BigPipe').Events.init,function(l,m){var n=k?j:new i();if(k)h=m.lid;k=false;n.setServerLID(m.lid);var o=m.arbiter;o.subscribe(c('BigPipe').Events.tti,function(p,q){var r=q.ts;n.setTTI(r);});o.subscribe(c('PageEvents').AJAXPIPE_SEND,function(p,q){var r=q.ts;n.setRequestStart(r);});o.subscribe(c('PageEvents').AJAXPIPE_ONLOAD,function(p,q){var r=q.ts;n.setE2E(r).doneNavigation();});o.subscribe(c('BigPipe').Events.displayed,function(p,q){var r=q.ts;n.setDisplayDone(r);});o.subscribe(c('BigPipe').Events.loaded,function(p,q){var r=q.ts;n.setAllPageletsLoaded(r);});});c('Arbiter').subscribe(c('PageEvents').BIGPIPE_ONLOAD,function(l,m){var n=m.ts;k=false;j.setRequestStart(c('performance').timing&&c('performance').timing.navigationStart).setE2E(n).doneNavigation();});});f.exports=c('NavigationMetricsCore');}),null);
__d("camelize",[],(function a(b,c,d,e,f,g){var h=/-(.)/g;function i(j){return j.replace(h,function(k,l){return l.toUpperCase();});}f.exports=i;}),null);
__d('getOpacityStyleName',[],(function a(b,c,d,e,f,g){var h=false,i=null;function j(){if(!h){if('opacity' in document.body.style){i='opacity';}else{var k=document.createElement('div');k.style.filter='alpha(opacity=100)';if(k.style.filter)i='filter';k=null;}h=true;}return i;}f.exports=j;}),null);
__d('hyphenate',[],(function a(b,c,d,e,f,g){var h=/([A-Z])/g;function i(j){return j.replace(h,'-$1').toLowerCase();}f.exports=i;}),null);
__d('getStyleProperty',['camelize','hyphenate'],(function a(b,c,d,e,f,g){function h(j){return j==null?j:String(j);}function i(j,k){var l=void 0;if(window.getComputedStyle){l=window.getComputedStyle(j,null);if(l)return h(l.getPropertyValue(c('hyphenate')(k)));}if(document.defaultView&&document.defaultView.getComputedStyle){l=document.defaultView.getComputedStyle(j,null);if(l)return h(l.getPropertyValue(c('hyphenate')(k)));if(k==='display')return 'none';}if(j.currentStyle){if(k==='float')return h(j.currentStyle.cssFloat||j.currentStyle.styleFloat);return h(j.currentStyle[c('camelize')(k)]);}return h(j.style&&j.style[c('camelize')(k)]);}f.exports=i;}),null);
__d('StyleCore',['invariant','camelize','containsNode','ex','getOpacityStyleName','getStyleProperty','hyphenate'],(function a(b,c,d,e,f,g,h){function i(p,q){var r=o.get(p,q);return r==='auto'||r==='scroll';}var j=new RegExp('\\s*'+'([^\\s:]+)'+'\\s*:\\s*'+'([^;(\'"]*(?:(?:\\([^)]*\\)|"[^"]*"|\'[^\']*\')[^;(?:\'"]*)*)'+'(?:;|$)','g');function k(p){var q={};p.replace(j,function(r,s,t){q[s]=t;});return q;}function l(p){var q='';for(var r in p)if(p[r])q+=r+':'+p[r]+';';return q;}function m(p){return p!==''?'alpha(opacity='+p*100+')':'';}function n(p,q,r){switch(c('hyphenate')(q)){case 'font-weight':case 'line-height':case 'opacity':case 'z-index':case 'animation-iteration-count':case '-webkit-animation-iteration-count':break;case 'width':case 'height':var s=parseInt(r,10)<0;!s||h(0);default:isNaN(r)||!r||r==='0'||h(0);break;}}var o={set:function p(q,r,s){n('Style.set',r,s);var t=q.style;switch(r){case 'opacity':if(c('getOpacityStyleName')()==='filter'){t.filter=m(s);}else t.opacity=s;break;case 'float':t.cssFloat=t.styleFloat=s||'';break;default:try{t[c('camelize')(r)]=s;}catch(u){throw new Error(c('ex')('Style.set: "%s" argument is invalid: %s',r,s));}}},apply:function p(q,r){var s=void 0;for(s in r)n('Style.apply',s,r[s]);if('opacity' in r&&c('getOpacityStyleName')()==='filter'){r.filter=m(r.opacity);delete r.opacity;}var t=k(q.style.cssText);for(s in r){var u=r[s];delete r[s];var v=c('hyphenate')(s);for(var w in t)if(w===v||w.indexOf(v+'-')===0)delete t[w];r[v]=u;}Object.assign(t,r);q.style.cssText=l(t);},get:c('getStyleProperty'),getFloat:function p(q,r){return parseFloat(o.get(q,r),10);},getOpacity:function p(q){if(c('getOpacityStyleName')()==='filter'){var r=o.get(q,'filter');if(r){var s=/(\d+(?:\.\d+)?)/.exec(r);if(s)return parseFloat(s.pop())/100;}}return o.getFloat(q,'opacity')||1;},isFixed:function p(q){while(c('containsNode')(document.body,q)){if(o.get(q,'position')==='fixed')return true;q=q.parentNode;}return false;},getScrollParent:function p(q){if(!q)return null;while(q&&q!==document.body){if(i(q,'overflow')||i(q,'overflowY')||i(q,'overflowX'))return q;q=q.parentNode;}return window;}};f.exports=o;}),null);
__d('Style',['StyleCore','$'],(function a(b,c,d,e,f,g){var h=babelHelpers['extends']({},c('StyleCore'),{get:function i(j,k){typeof j==='string';return c('StyleCore').get(c('$')(j),k);},getFloat:function i(j,k){typeof j==='string';return c('StyleCore').getFloat(c('$')(j),k);}});f.exports=h;}),null);
__d("FBJSON",[],(function a(b,c,d,e,f,g){f.exports={parse:JSON.parse,stringify:JSON.stringify};}),null);
__d('BGSyncConst',[],(function a(b,c,d,e,f,g){f.exports={msgTag:{requestID:'request-bg-sync-id',requestUpload:'request-bg-sync-upload',removeRequest:'remove-cached-request',queueRequest:'queue-request'},reqTag:{banzai:'banzai'}};}),null);
__d('CurrentUser',['Cookie','CurrentUserInitialData'],(function a(b,c,d,e,f,g){var h={getID:function i(){return c('CurrentUserInitialData').USER_ID;},getAccountID:function i(){return c('CurrentUserInitialData').ACCOUNT_ID;},isLoggedIn:function i(){return c('CurrentUserInitialData').USER_ID&&c('CurrentUserInitialData').USER_ID!=='0';},isLoggedInNow:function i(){if(!h.isLoggedIn())return false;if(c('CurrentUserInitialData').IS_INTERN_SITE)return true;if(c('CurrentUserInitialData').IS_WORK_USER)return true;if(c('CurrentUserInitialData').ORIGINAL_USER_ID)return c('CurrentUserInitialData').ORIGINAL_USER_ID===c('Cookie').get('c_user');return c('CurrentUserInitialData').USER_ID===c('Cookie').get('c_user');},isEmployee:function i(){return !!c('CurrentUserInitialData').IS_EMPLOYEE;},hasWorkUser:function i(){return !!c('CurrentUserInitialData').HAS_WORK_USER;},isWorkUser:function i(){return !!c('CurrentUserInitialData').IS_WORK_USER;},isGray:function i(){return !!c('CurrentUserInitialData').IS_GRAY;},isUnderage:function i(){return !!c('CurrentUserInitialData').IS_UNDERAGE;}};f.exports=h;}),null);
__d('Miny',[],(function a(b,c,d,e,f,g){var h='Miny1',i='wxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_'.split(''),j={encode:function k(l){if(/^$|[~\\]|__proto__/.test(l))return l;var m=l.match(/\w+|\W+/g),n,o=Object.create(null);for(n=0;n<m.length;n++)o[m[n]]=(o[m[n]]||0)+1;var p=Object.keys(o);p.sort(function(s,t){return o[t]-o[s];});for(n=0;n<p.length;n++){var q=(n-n%32)/32;o[p[n]]=q?q.toString(32)+i[n%32]:i[n%32];}var r='';for(n=0;n<m.length;n++)r+=o[m[n]];p.unshift(h,p.length);p.push(r);return p.join('~');}};f.exports=j;}),null);
__d('QueryString',[],(function a(b,c,d,e,f,g){function h(l){var m=[];Object.keys(l).sort().forEach(function(n){var o=l[n];if(typeof o==='undefined')return;if(o===null){m.push(n);return;}m.push(encodeURIComponent(n)+'='+encodeURIComponent(o));});return m.join('&');}function i(l,m){var n={};if(l==='')return n;var o=l.split('&');for(var p=0;p<o.length;p++){var q=o[p].split('=',2),r=decodeURIComponent(q[0]);if(m&&n.hasOwnProperty(r))throw new URIError('Duplicate key: '+r);n[r]=q.length===2?decodeURIComponent(q[1]):null;}return n;}function j(l,m){return l+(l.indexOf('?')!==-1?'&':'?')+(typeof m==='string'?m:k.encode(m));}var k={encode:h,decode:i,appendToUrl:j};f.exports=k;}),null);
__d("ClientServiceWorkerMessage",[],(function a(b,c,d,e,f,g){function h(i,j,k){"use strict";this.$ClientServiceWorkerMessage1=i;this.$ClientServiceWorkerMessage2=j;this.$ClientServiceWorkerMessage3=k;}h.prototype.sendViaController=function(){"use strict";if(!navigator.serviceWorker||!navigator.serviceWorker.controller)return;var i=new self.MessageChannel();if(this.$ClientServiceWorkerMessage3)i.port1.onmessage=this.$ClientServiceWorkerMessage3;navigator.serviceWorker.controller.postMessage({command:this.$ClientServiceWorkerMessage1,data:this.$ClientServiceWorkerMessage2},[i.port2]);};f.exports=h;}),null);
__d('cx',[],(function a(b,c,d,e,f,g){function h(i){throw new Error('cx: Unexpected class transformation.');}f.exports=h;}),null);
__d('FbtResult',['cx','ErrorUtils'],(function a(b,c,d,e,f,g,h){var i=typeof Symbol==='function'&&Symbol['for']&&Symbol['for']('react.element')||60103,j=false;function k(o,p,q,r){var s="_4qba";if(r)if(p==='TRANSLATION'){s="_4qbb";}else if(p==='APPROVE'){s="_4qbc";}else if(p==='REPORT')s="_4qbd";return {$$typeof:i,type:'em',key:undefined,ref:undefined,props:{className:s,'data-intl-hash':r,'data-intl-translation':q,'data-intl-trid':'',children:o},_owner:null};}var l=function o(p){return k(p.content,p.inlineMode,p.translation,p.hash);};function m(o){}function n(o,p,q,r){'use strict';this.$FbtResult1=o;this.$FbtResult2=null;this.$$typeof=i;this.type=l;this.props={content:this.$FbtResult1,inlineMode:p,translation:q,hash:r};this.key=undefined;this.ref=undefined;}n.prototype.flattenToArray=function(){'use strict';return n.flattenToArray(this.$FbtResult1);};n.prototype.getContents=function(){'use strict';return this.$FbtResult1;};n.prototype.toString=function(){'use strict';if(this.$FbtResult2!==null)return this.$FbtResult2;var o='',p=this.flattenToArray();for(var q=0;q<p.length;++q){var r=p[q];if(typeof r==='string'||r instanceof n){o+=r;}else{var s=new Error('Converting to a string will drop content data');c('ErrorUtils').reportError(s,true);}}if(!Object.isFrozen(this))this.$FbtResult2=o;return o;};n.prototype.toJSON=function(){'use strict';return this.toString();};n.flattenToArray=function(o){'use strict';var p=[];for(var q=0;q<o.length;++q){var r=o[q];if(Array.isArray(r)){p.push.apply(p,n.flattenToArray(r));}else if(r instanceof n){p.push.apply(p,r.flattenToArray());}else p.push(r);}return p;};['replace','split','toLowerCase','toUpperCase','indexOf','charAt','charCodeAt','substr','substring','trim','lastIndexOf','search','match','slice','codePointAt','endsWith','includes','localeCompare','normalize','repeat','startsWith','toLocaleLowerCase','toLocaleUpperCase','trimLeft','trimRight','link','anchor','fontcolor','fontsize','big','blink','bold','fixed','italics','small','strike','sub','sup','contains'].forEach(function(o){n.prototype[o]=function(){'use strict';m(o);return this.toString()[o].apply(this,arguments);};}.bind(this));f.exports=n;}),null);
__d("isScalar",[],(function a(b,c,d,e,f,g){function h(i){return /string|number|boolean/.test(typeof i);}f.exports=h;}),null);
__d('DOM',['$','DOMQuery','ErrorUtils','Event','FbtResult','HTML','UserAgent_DEPRECATED','createArrayFromMixed','isNode','isScalar','isTextNode'],(function a(b,c,d,e,f,g){var h={create:function k(l,m,n){var o=document.createElement(l);if(m)h.setAttributes(o,m);if(n!=null)h.setContent(o,n);return o;},setAttributes:function k(l,m){if(m.type)l.type=m.type;for(var n in m){var o=m[n],p=/^on/i.test(n);if(n=='type'){continue;}else if(n=='style'){if(typeof o=='string'){l.style.cssText=o;}else Object.assign(l.style,o);}else if(p){c('Event').listen(l,n.substr(2),o);}else if(n in l){l[n]=o;}else if(l.setAttribute)l.setAttribute(n,o);}},prependContent:function k(l,m){if(!l)throw new Error('DOM.prependContent: reference element is not a node');return j(m,l,function(n){l.firstChild?l.insertBefore(n,l.firstChild):l.appendChild(n);});},insertAfter:function k(l,m){if(!l||!l.parentNode)throw new Error('DOM.insertAfter: reference element does not '+'have a parent.');var n=l.parentNode;return j(m,n,function(o){l.nextSibling?n.insertBefore(o,l.nextSibling):n.appendChild(o);});},insertBefore:function k(l,m){if(!l||!l.parentNode)throw new Error('DOM.insertBefore: reference element does not have a parent.');var n=l.parentNode;return j(m,n,function(o){n.insertBefore(o,l);});},setContent:function k(l,m){if(!l)throw new Error('DOM.setContent: reference element is not a node.');while(l.firstChild)i(l.firstChild);return h.appendContent(l,m);},appendContent:function k(l,m){if(!l)throw new Error('DOM.appendContent: reference element is not a node.');return j(m,l,function(n){l.appendChild(n);});},replace:function k(l,m){if(!l||!l.parentNode)throw new Error('DOM.replace: reference element does not '+'have a parent.');var n=l.parentNode;return j(m,n,function(o){n.replaceChild(o,l);});},remove:function k(l){i(c('$')(l));},empty:function k(l){l=c('$')(l);while(l.firstChild)i(l.firstChild);}};Object.assign(h,c('DOMQuery'));function i(k){if(k.parentNode)k.parentNode.removeChild(k);}function j(k,l,m){k=c('HTML').replaceJSONWrapper(k);if(k instanceof c('HTML')&&l.firstChild===null&&-1===k.toString().indexOf('<scr'+'ipt')){var n=c('UserAgent_DEPRECATED').ie();if(!n||n>7&&!c('DOMQuery').isNodeOfType(l,['table','tbody','thead','tfoot','tr','select','fieldset'])){var o=n?'<em style="display:none;">&nbsp;</em>':'';l.innerHTML=o+k;n&&l.removeChild(l.firstChild);return Array.from(l.childNodes);}}else if(c('isTextNode')(l)){l.data=k;return [k];}var p=document.createDocumentFragment(),q,r=[],s=[];k=c('createArrayFromMixed')(k);if(k.length===1&&k[0] instanceof c('FbtResult'))k=k[0].getContents();for(var t=0;t<k.length;t++){q=c('HTML').replaceJSONWrapper(k[t]);if(q instanceof c('HTML')){s.push(q.getAction());var u=q.getNodes();for(var v=0;v<u.length;v++){r.push(u[v]);p.appendChild(u[v]);}}else if(c('isScalar')(q)||q instanceof c('FbtResult')){var w=document.createTextNode(q);r.push(w);p.appendChild(w);}else if(c('isNode')(q)){r.push(q);p.appendChild(q);}}m(p);s.forEach(function(x){x();});return r;}f.exports=h;}),null);
__d('SharedClientServiceWorkerBackgroundSync',['BGSyncConst','ClientServiceWorkerMessage','DOM','memoize','ServiceWorkerBackgroundSyncGK'],(function a(b,c,d,e,f,g){var h=c('memoize')(function(){var l=new Uint32Array(1);return self.crypto.getRandomValues(l)[0].toString().substring(2,16);});function i(event,l,m){var n=h(),o=event.data&&event.data.data?event.data.data:{},p=l.toString();if(n&&o.param){if(p.indexOf('?')>-1){p+='&';}else p+='?';p=''+p+o.param+'&client_id='+n;}if(m)m(p,o);}function j(l,m,n,o){new (c('ClientServiceWorkerMessage'))('bgSync',{clientID:h(),data:n,msgTag:l,reqTag:m},o).sendViaController();}var k={getBackgroundSyncUri:function l(m,n,o,p){if(k.isBackgroundSyncAvailable()){j(c('BGSyncConst').msgTag.requestID,n,o,function(event){return i(event,m,p);});}else if(p)p(m,o);},isBackgroundSyncAvailable:function l(){return (self&&'serviceWorker' in self.navigator&&'SyncManager' in self&&!!self.navigator.serviceWorker.controller&&c('ServiceWorkerBackgroundSyncGK').background_sync_sw);},makeFileList:function l(m){var n={},o=c('DOM').scry(m,'input'),p=0;for(var q=o,r=Array.isArray(q),s=0,q=r?q:q[typeof Symbol==='function'?Symbol.iterator:'@@iterator']();;){var t;if(r){if(s>=q.length)break;t=q[s++];}else{s=q.next();if(s.done)break;t=s.value;}var u=t,v=u.files;if(v)for(var w=v,x=Array.isArray(w),y=0,w=x?w:w[typeof Symbol==='function'?Symbol.iterator:'@@iterator']();;){var z;if(x){if(y>=w.length)break;z=w[y++];}else{y=w.next();if(y.done)break;z=y.value;}var aa=z;n[p++]=aa;}}return n;},makeFormData:function l(m){var n=c('DOM').convertFormToDictionary(m),o=k.makeFileList(m),p=new FormData();Object.values(o).forEach(function(r){p.append('filelist[]',r);});for(var q in n)p.append(q,n[q]);return p;},postFailureHandler:function l(m,n){j(c('BGSyncConst').msgTag.requestUpload,n,null,null);},postSuccessHandler:function l(m,n,o){j(c('BGSyncConst').msgTag.removeRequest,n,{bgSyncID:o},null);},queueRequest:function l(m,n){if(k.isBackgroundSyncAvailable())j(c('BGSyncConst').msgTag.queueRequest,n,m,null);}};f.exports=k;}),null);
__d('flattenPHPQueryData',['invariant'],(function a(b,c,d,e,f,g,h){function i(k){return j(k);}function j(k,l,m){l=l||'';m=m||{};if(k===null||k===undefined){m[l]=undefined;}else if(typeof k=='object'){typeof k.appendChild!=='function'||h(0);for(var n in k){if(n==='$$typeof')continue;if(k.hasOwnProperty(n)&&k[n]!==undefined)j(k[n],l?l+'['+n+']':n,m);}}else m[l]=k;return m;}f.exports=i;}),null);
__d('PHPQuerySerializer',['invariant','flattenPHPQueryData'],(function a(b,c,d,e,f,g,h){function i(p){var q=[],r=c('flattenPHPQueryData')(p);for(var s in r)if(r.hasOwnProperty(s)){var t=j(s);if(r[s]===undefined){q.push(t);}else q.push(t+'='+j(r[s]));}return q.join('&');}function j(p){return encodeURIComponent(p).replace(/%5D/g,']').replace(/%5B/g,'[');}var k=/^([-_\w]+)((?:\[[-_\w]*\])+)=?(.*)/;function l(p){if(p==='hasOwnProperty'||p==='__proto__')return '\ud83d\udf56';return p;}function m(p){if(!p)return {};var q={};p=p.replace(/%5B/ig,'[').replace(/%5D/ig,']');p=p.split('&');var r=Object.prototype.hasOwnProperty;for(var s=0,t=p.length;s<t;s++){var u=p[s].match(k);if(!u){var v=p[s].split('=');q[n(v[0])]=v[1]===undefined?null:n(v[1]);}else{var w=u[2].split(/\]\[|\[|\]/).slice(0,-1),x=u[1],y=n(u[3]||'');w[0]=x;var z=q;for(var aa=0;aa<w.length-1;aa++){var ba=l(w[aa]);if(ba){if(!r.call(z,ba)){var ca=w[aa+1]&&!w[aa+1].match(/^\d{1,3}$/)?{}:[];z[ba]=ca;if(z[ba]!==ca)return q;}z=z[ba];}else{if(w[aa+1]&&!w[aa+1].match(/^\d{1,3}$/)){z.push({});}else z.push([]);z=z[z.length-1];}}if(z instanceof Array&&w[w.length-1]===''){z.push(y);}else z[l(w[w.length-1])]=y;}}return q;}function n(p){try{return decodeURIComponent(p.replace(/\+/g,' '));}catch(q){return p;}}var o={serialize:i,encodeComponent:j,deserialize:m,decodeComponent:n};f.exports=o;}),null);
__d('URIRFC3986',[],(function a(b,c,d,e,f,g){var h=new RegExp('^'+'([^:/?#]+:)?'+'(//'+'([^\\\\/?#@]*@)?'+'('+'\\[[A-Fa-f0-9:.]+\\]|'+'[^\\/?#:]*'+')'+'(:[0-9]*)?'+')?'+'([^?#]*)'+'(\\?[^#]*)?'+'(#.*)?'),i={parse:function j(k){if(k.trim()==='')return null;var l=k.match(h);if(l==null)return null;var m={};m.uri=l[0]?l[0]:null;m.scheme=l[1]?l[1].substr(0,l[1].length-1):null;m.authority=l[2]?l[2].substr(2):null;m.userinfo=l[3]?l[3].substr(0,l[3].length-1):null;m.host=l[2]?l[4]:null;m.port=l[5]?l[5].substr(1)?parseInt(l[5].substr(1),10):null:null;m.path=l[6]?l[6]:null;m.query=l[7]?l[7].substr(1):null;m.fragment=l[8]?l[8].substr(1):null;m.isGenericURI=m.authority===null&&!!m.scheme;return m;}};f.exports=i;}),null);
__d('setHostSubdomain',[],(function a(b,c,d,e,f,g){function h(i,j){var k=i.split('.');if(k.length<3){k.unshift(j);}else k[0]=j;return k.join('.');}f.exports=h;}),null);
__d('URIBase',['invariant','URIRFC3986','URISchemes','ex','setHostSubdomain'],(function a(b,c,d,e,f,g,h){var i=new RegExp('[\\x00-\\x2c\\x2f\\x3b-\\x40\\x5c\\x5e\\x60\\x7b-\\x7f'+'\\uFDD0-\\uFDEF\\uFFF0-\\uFFFF'+'\\u2047\\u2048\\uFE56\\uFE5F\\uFF03\\uFF0F\\uFF1F]'),j=new RegExp('^(?:[^/]*:|'+'[\\x00-\\x1f]*/[\\x00-\\x1f]*/)');function k(n,o,p,q){if(!o)return true;if(o instanceof m){n.setProtocol(o.getProtocol());n.setDomain(o.getDomain());n.setPort(o.getPort());n.setPath(o.getPath());n.setQueryData(q.deserialize(q.serialize(o.getQueryData())));n.setFragment(o.getFragment());n.setIsGeneric(o.getIsGeneric());n.setForceFragmentSeparator(o.getForceFragmentSeparator());return true;}o=o.toString().trim();var r=c('URIRFC3986').parse(o)||{fragment:null,scheme:null};if(!p&&!c('URISchemes').isAllowed(r.scheme))return false;n.setProtocol(r.scheme||'');if(!p&&i.test(r.host||''))return false;n.setDomain(r.host||'');n.setPort(r.port||'');n.setPath(r.path||'');if(p){n.setQueryData(q.deserialize(r.query||'')||{});}else try{n.setQueryData(q.deserialize(r.query||'')||{});}catch(s){return false;}n.setFragment(r.fragment||'');if(r.fragment==='')n.setForceFragmentSeparator(true);n.setIsGeneric(r.isGenericURI||false);if(r.userinfo!==null)if(p){throw new Error(c('ex')('URI.parse: invalid URI (userinfo is not allowed in a URI): %s',n.toString()));}else return false;if(!n.getDomain()&&n.getPath().indexOf('\\')!==-1)if(p){throw new Error(c('ex')('URI.parse: invalid URI (no domain but multiple back-slashes): %s',n.toString()));}else return false;if(!n.getProtocol()&&j.test(o))if(p){throw new Error(c('ex')('URI.parse: invalid URI (unsafe protocol-relative URLs): %s',n.toString()));}else return false;if(n.getDomain()&&n.getPath()&&!n.getPath().startsWith('/'))if(p){throw new Error(c('ex')('URI.parse: invalid URI (domain and path where path lacks leading slash): %s',n.toString()));}else return false;return true;}var l=[];m.isValidURI=function(n,o){'use strict';return k(new m(null,o),n,false,o);};function m(n,o){'use strict';o||h(0);this.$URIBase9=o;this.$URIBase7='';this.$URIBase1='';this.$URIBase6='';this.$URIBase5='';this.$URIBase3='';this.$URIBase4=false;this.$URIBase8={};this.$URIBase2=false;k(this,n,true,o);}m.prototype.setProtocol=function(n){'use strict';c('URISchemes').isAllowed(n)||h(0);this.$URIBase7=n;return this;};m.prototype.getProtocol=function(){'use strict';return (this.$URIBase7||'').toLowerCase();};m.prototype.setSecure=function(n){'use strict';return this.setProtocol(n?'https':'http');};m.prototype.isSecure=function(){'use strict';return this.getProtocol()==='https';};m.prototype.setDomain=function(n){'use strict';if(i.test(n))throw new Error(c('ex')('URI.setDomain: unsafe domain specified: %s for url %s',n,this.toString()));this.$URIBase1=n;return this;};m.prototype.getDomain=function(){'use strict';return this.$URIBase1;};m.prototype.setPort=function(n){'use strict';this.$URIBase6=n;return this;};m.prototype.getPort=function(){'use strict';return this.$URIBase6;};m.prototype.setPath=function(n){'use strict';this.$URIBase5=n;return this;};m.prototype.getPath=function(){'use strict';return this.$URIBase5;};m.prototype.addQueryData=function(n,o){'use strict';if(Object.prototype.toString.call(n)==='[object Object]'){Object.assign(this.$URIBase8,n);}else this.$URIBase8[n]=o;return this;};m.prototype.setQueryData=function(n){'use strict';this.$URIBase8=n;return this;};m.prototype.getQueryData=function(){'use strict';return this.$URIBase8;};m.prototype.removeQueryData=function(n){'use strict';if(!Array.isArray(n))n=[n];for(var o=0,p=n.length;o<p;++o)delete this.$URIBase8[n[o]];return this;};m.prototype.setFragment=function(n){'use strict';this.$URIBase3=n;this.setForceFragmentSeparator(false);return this;};m.prototype.getFragment=function(){'use strict';return this.$URIBase3;};m.prototype.setForceFragmentSeparator=function(n){'use strict';this.$URIBase2=n;return this;};m.prototype.getForceFragmentSeparator=function(){'use strict';return this.$URIBase2;};m.prototype.setIsGeneric=function(n){'use strict';this.$URIBase4=n;return this;};m.prototype.getIsGeneric=function(){'use strict';return this.$URIBase4;};m.prototype.isEmpty=function(){'use strict';return !(this.getPath()||this.getProtocol()||this.getDomain()||this.getPort()||Object.keys(this.getQueryData()).length>0||this.getFragment());};m.prototype.toString=function(){'use strict';var n=this;for(var o=0;o<l.length;o++)n=l[o](n);return n.$URIBase10();};m.prototype.$URIBase10=function(){'use strict';var n='',o=this.getProtocol();if(o)n+=o+':'+(this.getIsGeneric()?'':'//');var p=this.getDomain();if(p)n+=p;var q=this.getPort();if(q)n+=':'+q;var r=this.getPath();if(r){n+=r;}else if(n)n+='/';var s=this.$URIBase9.serialize(this.getQueryData());if(s)n+='?'+s;var t=this.getFragment();if(t){n+='#'+t;}else if(this.getForceFragmentSeparator())n+='#';return n;};m.registerFilter=function(n){'use strict';l.push(n);};m.prototype.getOrigin=function(){'use strict';var n=this.getPort();return this.getProtocol()+'://'+this.getDomain()+(n?':'+n:'');};m.prototype.getQualifiedURIBase=function(){'use strict';return new m(this,this.$URIBase9).qualify();};m.prototype.qualify=function(){'use strict';if(!this.getDomain()){var n=new m(window.location.href,this.$URIBase9);this.setProtocol(n.getProtocol()).setDomain(n.getDomain()).setPort(n.getPort());}return this;};m.prototype.setSubdomain=function(n){'use strict';var o=this.qualify().getDomain();return this.setDomain(c('setHostSubdomain')(o,n));};m.prototype.getSubdomain=function(){'use strict';if(!this.getDomain())return '';var n=this.getDomain().split('.');if(n.length<=2){return '';}else return n[0];};f.exports=m;}),null);
__d("areSameOrigin",[],(function a(b,c,d,e,f,g){function h(i,j){if(i.isEmpty()||j.isEmpty())return false;if(i.getProtocol()&&i.getProtocol()!=j.getProtocol())return false;if(i.getDomain()&&i.getDomain()!=j.getDomain())return false;if(i.getPort()&&i.getPort()!=j.getPort())return false;return true;}f.exports=h;}),null);
__d('isFacebookURI',[],(function a(b,c,d,e,f,g){var h=null,i=['http','https'];function j(k){if(!h)h=new RegExp('(^|\\.)facebook\\.com$','i');if(k.isEmpty()&&k.toString()!=='#')return false;if(!k.getDomain()&&!k.getProtocol())return true;return i.indexOf(k.getProtocol())!==-1&&h.test(k.getDomain());}j.setRegex=function(k){h=k;};f.exports=j;}),null);
__d('isMessengerDotComURI',[],(function a(b,c,d,e,f,g){var h=new RegExp('(^|\\.)messenger\\.com$','i'),i=['https'];function j(k){if(k.isEmpty()&&k.toString()!=='#')return false;if(!k.getDomain()&&!k.getProtocol())return false;return (i.indexOf(k.getProtocol())!==-1&&h.test(k.getDomain()));}f.exports=j;}),null);
__d("unqualifyURI",[],(function a(b,c,d,e,f,g){function h(i){i.setProtocol(null).setDomain(null).setPort(null);}f.exports=h;}),null);
__d('URI',['CdnAkamaiDomainsConfig','PHPQuerySerializer','URIBase','areSameOrigin','goURI','ifRequired','isFacebookURI','isMessengerDotComURI','memoize','unqualifyURI'],(function a(b,c,d,e,f,g){var h,i,j,k=this,l=c('memoize')(function(){return new n(window.location.href);});function m(){return c('ifRequired')('PageTransitions',function(o){if(o.isInitialized())return o;});}h=babelHelpers.inherits(n,c('URIBase'));i=h&&h.prototype;function n(o){'use strict';i.constructor.call(this,o||'',c('PHPQuerySerializer'));}n.prototype.setPath=function(o){'use strict';this.path=o;return i.setPath.call(this,o);};n.prototype.getPath=function(){'use strict';var o=i.getPath.call(this);if(o)return o.replace(/^\/+/,'/');return o;};n.prototype.setProtocol=function(o){'use strict';this.protocol=o;return i.setProtocol.call(this,o);};n.prototype.setDomain=function(o){'use strict';this.domain=o;return i.setDomain.call(this,o);};n.prototype.setPort=function(o){'use strict';this.port=o;return i.setPort.call(this,o);};n.prototype.setFragment=function(o){'use strict';this.fragment=o;return i.setFragment.call(this,o);};n.prototype.valueOf=function(){'use strict';return this.toString();};n.prototype.isFacebookURI=function(){'use strict';return c('isFacebookURI')(this);};n.prototype.isLinkshimURI=function(){'use strict';if((this.getPath()==='/l.php'||this.getPath().indexOf('/si/ajax/l/')===0||this.getPath().indexOf('/l/')===0||this.getPath().indexOf('l/')===0)&&(c('isFacebookURI')(this)||c('isMessengerDotComURI')(this)))return true;return false;};n.prototype.isCdnURI=function(){'use strict';if(this.getProtocol()!=='http'&&this.getProtocol()!=='https')return false;var o=this.getPort();if(!!o&&o!==80&&o!==443)return false;if(this.isSubdomainOfDomain('fbcdn.net'))return true;return c('CdnAkamaiDomainsConfig')[this.getDomain()]!=undefined;};n.prototype.isSubdomainOfDomain=function(o){'use strict';var p=this.getDomain();if(o===''||p==='')return false;if(p.endsWith(o)){var q=p.length,r=o.length,s=q-r-1;if(q===r||p[s]==='.')return n.isValidURI(o);}return false;};n.prototype.getRegisteredDomain=function(){'use strict';if(!this.getDomain())return '';if(!c('isFacebookURI')(this))return null;var o=this.getDomain().split('.'),p=o.indexOf('facebook');return o.slice(p).join('.');};n.prototype.getUnqualifiedURI=function(){'use strict';var o=new n(this);c('unqualifyURI')(o);return o;};n.prototype.getQualifiedURI=function(){'use strict';return new n(this).qualify();};n.prototype.isSameOrigin=function(o){'use strict';var p=o;if(!p){p=l();}else if(!(p instanceof n))p=new n(p.toString());return c('areSameOrigin')(this,p);};n.prototype.go=function(o){'use strict';c('goURI')(this,o);};n.isValidURI=function(o){'use strict';return c('URIBase').isValidURI(o,c('PHPQuerySerializer'));};n.getRequestURI=function(o,p){'use strict';o=o===undefined||o;if(o){var q=m();if(q)return q.getCurrentURI(!!p).getQualifiedURI();}return new n(window.location.href);};n.getMostRecentURI=function(){'use strict';var o=m();if(o)return o.getMostRecentURI().getQualifiedURI();return new n(window.location.href);};n.getNextURI=function(){'use strict';var o=m();if(o)return o.getNextURI().getQualifiedURI();return new n(window.location.href);};n.encodeComponent=function(o){'use strict';return encodeURIComponent(o).replace(/%5D/g,']').replace(/%5B/g,'[');};n.decodeComponent=function(o){'use strict';return decodeURIComponent(o.replace(/\+/g,' '));};Object.assign(n,{expression:/(((\w+):\/\/)([^\/:]*)(:(\d+))?)?([^#?]*)(\?([^#]*))?(#(.*))?/,arrayQueryExpression:/^(\w+)((?:\[\w*\])+)=?(.*)/});f.exports=n;}),null);
__d('getCrossOriginTransport',['invariant','ex'],(function a(b,c,d,e,f,g,h){function i(){try{var k=new XMLHttpRequest();if(!('withCredentials' in k)&&typeof XDomainRequest!=='undefined')k=new XDomainRequest();return k;}catch(j){throw new Error(c('ex')('getCrossOriginTransport: %s',j.message));}}i.withCredentials=function(){var j=i();'withCredentials' in j||h(0);var k=j.open;j.open=function(){k.apply(this,arguments);this.withCredentials=true;};return j;};f.exports=i;}),null);
__d('ZeroRewrites',['getSameOriginTransport','getCrossOriginTransport','isFacebookURI','URI','ZeroRewriteRules'],(function a(b,c,d,e,f,g){var h={rewriteURI:function i(j){if(!c('isFacebookURI')(j)||h._isWhitelisted(j))return j;var k=h._getRewrittenSubdomain(j);if(k!==null&&k!==undefined)j=j.setSubdomain(k);return j;},getTransportBuilderForURI:function i(j){return h._isRewritten(j)?c('getCrossOriginTransport').withCredentials:c('getSameOriginTransport');},isRewriteSafe:function i(j){if(Object.keys(c('ZeroRewriteRules').rewrite_rules).length===0||!c('isFacebookURI')(j))return false;var k=h._getCurrentURI().getDomain(),l=new (c('URI'))(j).qualify().getDomain();return k===l||h._isRewritten(j);},_isWhitelisted:function i(j){var k=j.getPath();if(!k.endsWith('/'))k+='/';return c('ZeroRewriteRules').whitelist&&c('ZeroRewriteRules').whitelist[k]==1;},_getRewrittenSubdomain:function i(j){var k=new (c('URI'))(j).qualify().getSubdomain();return c('ZeroRewriteRules').rewrite_rules[k];},_isRewritten:function i(j){j=new (c('URI'))(j).qualify();if(Object.keys(c('ZeroRewriteRules').rewrite_rules).length===0||!c('isFacebookURI')(j)||h._isWhitelisted(j))return false;var k=j.getSubdomain(),l=h._getCurrentURI(),m=h._getRewrittenSubdomain(l);return j.getDomain()!==l.getDomain()&&k===m;},_getCurrentURI:function i(){return new (c('URI'))('/').qualify();}};f.exports=h;}),null);
__d('getAsyncHeaders',['isFacebookURI','ZeroCategoryHeader'],(function a(b,c,d,e,f,g){function h(i){var j={};if(c('isFacebookURI')(i)&&c('ZeroCategoryHeader').value)j[c('ZeroCategoryHeader').header]=c('ZeroCategoryHeader').value;return j;}f.exports=h;}),null);
__d('ServiceWorkerBackgroundSyncRequest',['getAsyncHeaders','SharedClientServiceWorkerBackgroundSync','URI','ZeroRewrites'],(function a(b,c,d,e,f,g){function h(i,j){'use strict';this.setMethod('POST');this.setPostData(null);this.setTag(i);this.setBgSyncID('default');if(j!==undefined)this.setURI(j);}h.prototype.queueRequest=function(){'use strict';if(this.$ServiceWorkerBackgroundSyncRequest4===undefined)return;c('SharedClientServiceWorkerBackgroundSync').getBackgroundSyncUri(this.getURI(),this.$ServiceWorkerBackgroundSyncRequest2,null,function(i,j){return this.$ServiceWorkerBackgroundSyncRequest8(i,j);}.bind(this));};h.prototype.send=function(){'use strict';if(this.$ServiceWorkerBackgroundSyncRequest4===undefined)return;c('SharedClientServiceWorkerBackgroundSync').getBackgroundSyncUri(this.getURI(),this.$ServiceWorkerBackgroundSyncRequest2,null,function(i,j){return this.$ServiceWorkerBackgroundSyncRequest9(i,j);}.bind(this));};h.prototype.setBgSyncID=function(i){'use strict';this.$ServiceWorkerBackgroundSyncRequest1=i;return this;};h.prototype.getBgSyncID=function(){'use strict';return this.$ServiceWorkerBackgroundSyncRequest1;};h.prototype.setMethod=function(i){'use strict';this.$ServiceWorkerBackgroundSyncRequest3=i;return this;};h.prototype.setPostData=function(i){'use strict';this.$ServiceWorkerBackgroundSyncRequest5=i;return this;};h.prototype.setTag=function(i){'use strict';this.$ServiceWorkerBackgroundSyncRequest2=i;return this;};h.prototype.getTag=function(){'use strict';return this.$ServiceWorkerBackgroundSyncRequest2;};h.prototype.setURI=function(i){'use strict';this.$ServiceWorkerBackgroundSyncRequest4=c('ZeroRewrites').rewriteURI(new (c('URI'))(i));return this;};h.prototype.getURI=function(){'use strict';return this.$ServiceWorkerBackgroundSyncRequest4.getQualifiedURI().toString();};h.prototype.setErrorHandler=function(i){'use strict';this.$ServiceWorkerBackgroundSyncRequest6=i;return this;};h.prototype.setSuccessHandler=function(i){'use strict';this.$ServiceWorkerBackgroundSyncRequest7=i;return this;};h.prototype.$ServiceWorkerBackgroundSyncRequest8=function(i,j){'use strict';this.setBgSyncID(j.bgSyncID);var k=new Blob([this.$ServiceWorkerBackgroundSyncRequest5],{type:'application/x-www-form-urlencoded'}),l={request:{body:k,credentials:'include',headers:c('getAsyncHeaders')(new (c('URI'))(i)),method:this.$ServiceWorkerBackgroundSyncRequest3,referrer:self.location.href,registeredTime:Date.now(),tryCount:1,url:i},bgSyncID:this.getBgSyncID()};c('SharedClientServiceWorkerBackgroundSync').queueRequest(l,this.$ServiceWorkerBackgroundSyncRequest2);};h.prototype.$ServiceWorkerBackgroundSyncRequest9=function(i,j){'use strict';if(c('SharedClientServiceWorkerBackgroundSync').isBackgroundSyncAvailable())this.setBgSyncID(j.bgSyncID);var k=c('ZeroRewrites').getTransportBuilderForURI(this.$ServiceWorkerBackgroundSyncRequest4)();k.open(this.$ServiceWorkerBackgroundSyncRequest3,this.$ServiceWorkerBackgroundSyncRequest4.toString(),true);k.onreadystatechange=function(){if(k.readyState>=4){var l=void 0;try{l=k.status;}catch(m){l=0;}if(l===200){this.$ServiceWorkerBackgroundSyncRequest10(k.responseText);}else this.$ServiceWorkerBackgroundSyncRequest11(k.statusText);}}.bind(this);k.send(this.$ServiceWorkerBackgroundSyncRequest5);};h.prototype.$ServiceWorkerBackgroundSyncRequest11=function(i){'use strict';if(this.$ServiceWorkerBackgroundSyncRequest6)this.$ServiceWorkerBackgroundSyncRequest6(i);if(c('SharedClientServiceWorkerBackgroundSync').isBackgroundSyncAvailable())c('SharedClientServiceWorkerBackgroundSync').postFailureHandler(i,this.$ServiceWorkerBackgroundSyncRequest2);};h.prototype.$ServiceWorkerBackgroundSyncRequest10=function(i){'use strict';if(this.$ServiceWorkerBackgroundSyncRequest7)this.$ServiceWorkerBackgroundSyncRequest7(i);if(c('SharedClientServiceWorkerBackgroundSync').isBackgroundSyncAvailable())c('SharedClientServiceWorkerBackgroundSync').postSuccessHandler(i,this.$ServiceWorkerBackgroundSyncRequest2,this.$ServiceWorkerBackgroundSyncRequest1);};f.exports=h;}),null);
__d('BanzaiAdapter',['Arbiter','CurrentUser','Miny','QueryString','Run','SiteData','UserAgent','URI','ZeroRewrites','BGSyncConst','ServiceWorkerBackgroundSyncRequest','SharedClientServiceWorkerBackgroundSync','getAsyncParams','setTimeoutAcrossTransitions','BanzaiConfig'],(function a(b,c,d,e,f,g){var h=[],i=new (c('Arbiter'))(),j='/ajax/bz',k='POST',l={},m=l.adapter={config:c('BanzaiConfig'),endpoint:j,getUserID:function n(){return c('CurrentUser').getID();},inform:function n(o){i.inform(o);},subscribe:function n(o,p){return i.subscribe(o,p);},cleanup:function n(){var o=h;h=[];o.forEach(function(p){if(p.readyState<4)p.abort();});},readyToSend:function n(){return c('UserAgent').isBrowser('IE <= 8')||navigator.onLine;},send:function n(o,p,q,r){if(c('SharedClientServiceWorkerBackgroundSync').isBackgroundSyncAvailable()){var s=new (c('ServiceWorkerBackgroundSyncRequest'))(c('BGSyncConst').reqTag.banzai);s.setURI(new (c('URI'))(j));s.setMethod(k);s.setSuccessHandler(function(){if(p)p();if(!r)m.inform(l.OK);});s.setErrorHandler(function(v){if(q)q(v.status);if(!r)m.inform(l.ERROR);});s.setPostData(m.prepForTransit(o));s.send();return;}var t=c('ZeroRewrites').rewriteURI(new (c('URI'))(j)),u=c('ZeroRewrites').getTransportBuilderForURI(t)();u.open(k,t.toString(),true);u.setRequestHeader('Content-Type','application/x-www-form-urlencoded');u.onreadystatechange=function(){if(u.readyState>=4){var v;try{v=u.status;}catch(w){v=0;}if(v==200){if(p)p();if(!r)m.inform(l.OK);}else{if(q)q(v);if(!r)m.inform(l.ERROR);}}};h.push(u);u.send(m.prepForTransit(o));},addRequestAuthData:function n(o){return o;},prepForTransit:function n(o){var p=c('getAsyncParams')(k);p.q=JSON.stringify(o);p.ts=Date.now();p.ph=c('SiteData').push_phase;if(l.FBTRACE)p.fbtrace=l.FBTRACE;if(l.isEnabled('miny_compression')){var q=Date.now(),r=c('Miny').encode(p.q);if(r.length<p.q.length){p.q=r;p.miny_encode_ms=Date.now()-q;}}return c('QueryString').encode(p);},setHooks:function n(){},setUnloadHook:function n(){c('Run').onAfterUnload(l._unload);},onUnload:function n(o){c('Run').onAfterUnload(o);},isOkToSendViaBeacon:function n(){return true;},queueRequest:function n(o){var p=new (c('ServiceWorkerBackgroundSyncRequest'))(c('BGSyncConst').reqTag.banzai,new (c('URI'))(j).getQualifiedURI());p.setMethod(k);p.setPostData(m.prepForTransit(o));p.queueRequest();}};f.exports=l;}),null);
__d('ArbiterMixin',['Arbiter','guid'],(function a(b,c,d,e,f,g){var h="arbiter$"+c('guid')(),i=Object.prototype.hasOwnProperty,j={_getArbiterInstance:function k(){return i.call(this,h)?this[h]:this[h]=new (c('Arbiter'))();},inform:function k(l,m,n){return this._getArbiterInstance().inform(l,m,n);},subscribe:function k(l,m,n){return this._getArbiterInstance().subscribe(l,m,n);},subscribeOnce:function k(l,m,n){return this._getArbiterInstance().subscribeOnce(l,m,n);},unsubscribe:function k(l){this._getArbiterInstance().unsubscribe(l);},unsubscribeCurrentSubscription:function k(){this._getArbiterInstance().unsubscribeCurrentSubscription();},releaseCurrentPersistentEvent:function k(){this._getArbiterInstance().releaseCurrentPersistentEvent();},registerCallback:function k(l,m){return this._getArbiterInstance().registerCallback(l,m);},query:function k(l){return this._getArbiterInstance().query(l);}};f.exports=j;}),null);
__d('errorCode',[],(function a(b,c,d,e,f,g){'use strict';function h(i){throw new Error('errorCode'+'("'+i+'"): This should not happen. Oh noes!');}f.exports=h;}),null);
__d('AsyncResponse',['errorCode','invariant','AsyncFeature','Bootloader','DTSG','SiteData'],(function a(b,c,d,e,f,g,h,i){function j(l){}function k(l,m){'use strict';Object.assign(this,{__sf:'',error:0,errorSummary:null,errorDescription:null,onload:null,replay:false,payload:m||null,request:l||null,silentError:false,transientError:false,blockedAction:false,is_last:true});return this;}k.prototype.getRequest=function(){'use strict';return this.request;};k.prototype.getPayload=function(){'use strict';return this.payload;};k.prototype.getError=function(){'use strict';return this.error;};k.prototype.getErrorSummary=function(){'use strict';return this.errorSummary;};k.prototype.setErrorSummary=function(l){'use strict';l=l===undefined?null:l;this.errorSummary=l;return this;};k.prototype.getErrorDescription=function(){'use strict';return this.errorDescription;};k.prototype.getErrorIsWarning=function(){'use strict';return !!this.errorIsWarning;};k.prototype.isTransient=function(){'use strict';return !!this.transientError;};k.prototype.isBlockedAction=function(){'use strict';return !!this.blockedAction;};k.prototype.logError=function(l,m){'use strict';var n=b.ErrorSignal;if(n){var o={err_code:this.error,vip:c('SiteData').vip||'-'};if(m){o.duration=m.duration;o.xfb_ip=m.xfb_ip;}var p=this.request.getURI();o.path=p||'-';o.aid=this.request.userActionID;if(p&&p.indexOf('scribe_endpoint.php')!=-1)l='async_error_double';n.sendErrorSignal(l,JSON.stringify(o));}};k.prototype.logErrorByGroup=function(l,m){'use strict';if(Math.floor(Math.random()*m)===0)if(this.error==1357010||this.error<15000){this.logError('async_error_oops_'+l);}else this.logError('async_error_logic_'+l);};k.prototype.SERVER_HAS_FEATURE=function(l){'use strict';i(0);};k.prototype.__serverHasFeatureImpl=function(l){'use strict';if(typeof this.__sf!=='string'||this.__sf===''){j('AsyncResponse does not contain a `__sf` (server features) property!');return true;}return c('AsyncFeature').__getBitMapFromString(this.__sf).contains(l);};k.defaultErrorHandler=function(l){'use strict';try{if(!l.silentError){k.verboseErrorHandler(l);}else l.logErrorByGroup('silent',10);}catch(m){alert(l);}};k.verboseErrorHandler=function(l){'use strict';c('Bootloader').loadModules(["ExceptionDialog"],function(m){return m.showAsyncError(l);},'AsyncResponse');};k.renewDTSG=function(l){'use strict';c('DTSG').setToken(l);};f.exports=k;}),null);
__d('HTTPErrors',['emptyFunction'],(function a(b,c,d,e,f,g){var h={get:c('emptyFunction'),getAll:c('emptyFunction')};f.exports=h;}),null);
__d('mixin',[],(function a(b,c,d,e,f,g){function h(i,j,k,l,m,n,o,p,q,r,s){var t=function y(){},u=[i,j,k,l,m,n,o,p,q,r],v=0,w=void 0;while(u[v]){w=u[v];for(var x in w)if(w.hasOwnProperty(x))t.prototype[x]=w[x];v+=1;}return t;}f.exports=h;}),null);
__d('JSONPTransport',['ArbiterMixin','DOM','HTML','TimeSlice','URI','mixin'],(function a(b,c,d,e,f,g){var h,i,j={},k=2,l='jsonp',m='iframe';function n(p){delete j[p];}h=babelHelpers.inherits(o,c('mixin')(c('ArbiterMixin')));i=h&&h.prototype;function o(p,q){'use strict';i.constructor.call(this);this._type=p;this._uri=q;this._hasResponse=false;j[this.getID()]=this;}o.prototype.getID=function(){'use strict';return this._id||(this._id=k++);};o.prototype.hasFinished=function(){'use strict';return !(this.getID() in j);};o.prototype.getRequestURI=function(){'use strict';return new (c('URI'))(this._uri).addQueryData({__a:1,__adt:this.getID(),__req:'jsonp_'+this.getID()});};o.prototype.getTransportFrame=function(){'use strict';if(this._iframe)return this._iframe;var p='transport_frame_'+this.getID(),q=c('HTML')('<iframe class="hidden_elem" name="'+p+'" src="javascript:void(0)" />');return this._iframe=c('DOM').appendContent(document.body,q)[0];};o.prototype.send=function(){'use strict';if(this._type===l){setTimeout(function(){c('DOM').appendContent(document.body,c('DOM').create('script',{src:this.getRequestURI().toString(),type:'text/javascript'}));}.bind(this),0);}else{this.getTransportFrame().onload=this._checkForErrors.bind(this);this.getTransportFrame().src=this.getRequestURI().toString();}};o.prototype.handleResponse=function(p){'use strict';this.inform('response',p);if(this.hasFinished())setTimeout(this._cleanup.bind(this),0);};o.prototype.abort=function(){'use strict';if(this._aborted)return;this._aborted=true;this._cleanup();n(this.getID());this.inform('abort');};o.prototype._checkForErrors=function(){'use strict';if(!this._hasResponse)this.abort();};o.prototype._cleanup=function(){'use strict';if(this._iframe){c('DOM').remove(this._iframe);this._iframe=null;}};o.respond=function(p,q,r){'use strict';var s=j[p];if(s){s._hasResponse=true;if(!r)n(p);if(s._type==m)if(typeof q==='string'){q=JSON.parse(q);}else q=JSON.parse(JSON.stringify(q));s.handleResponse(q);}else{var t=b.ErrorSignal;if(t&&!r)t.logJSError('ajax',{error:'UnexpectedJsonResponse',extra:{id:p,uri:q.payload&&q.payload.uri||''}});}};o.respond=c('TimeSlice').guard(o.respond,'JSONPTransport.respond',{root:true});f.exports=o;}),null);
/**
 * Copyright (c) 2012 Barnesandnoble.com, llc, Donavon West, and Domenic
 * Denicola
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject to
 * the following conditions:
 *
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 *
 * @preserve-header
 * @providesModule ImmediateImplementation
 */__d("ImmediateImplementation",[],(function a(b,c,d,e,f,g){(function(h,i){"use strict";var j=1,k={},l={},m=l,n=false,o=h.document,p=void 0;function q(y){var z=y[0];y=Array.prototype.slice.call(y,1);k[j]=function(){z.apply(i,y);};m=m.next={handle:j++};return m.handle;}function r(){var y=void 0,z=void 0;while(!n&&(y=l.next)){l=y;if(z=k[y.handle]){n=true;try{z();n=false;}finally{s(y.handle);if(n){n=false;if(l.next)p(r);}}}}}function s(y){delete k[y];}function t(){var y;if(h.postMessage&&!h.importScripts){var y=function(){var z=true,aa=function ba(){z=false;if(h.removeEventListener){h.removeEventListener("message",ba,false);}else h.detachEvent("onmessage",ba);};if(h.addEventListener){h.addEventListener("message",aa,false);}else if(h.attachEvent){h.attachEvent("onmessage",aa);}else return {v:false};h.postMessage("","*");return {v:z};}();if(typeof y==="object")return y.v;}}function u(){var y="setImmediate$"+Math.random()+"$",z=function aa(event){if(event.source===h&&typeof event.data==="string"&&event.data.indexOf(y)===0)r();};if(h.addEventListener){h.addEventListener("message",z,false);}else h.attachEvent("onmessage",z);p=function aa(){var ba=q(arguments);h.postMessage(y+ba,"*");return ba;};}function v(){var y=new MessageChannel();y.port1.onmessage=r;p=function z(){var aa=q(arguments);y.port2.postMessage(aa);return aa;};}function w(){var y=o.documentElement;p=function z(){var aa=q(arguments),ba=o.createElement("script");ba.onreadystatechange=function(){ba.onreadystatechange=null;y.removeChild(ba);ba=null;r();};y.appendChild(ba);return aa;};}function x(){p=function y(){setTimeout(r,0);return q(arguments);};}if(t()){u();}else if(h.MessageChannel){v();}else if(o&&o.createElement&&"onreadystatechange" in o.createElement("script")){w();}else x();g.setImmediate=p;g.clearImmediate=s;})(Function("return this")());}),null);
__d('setImmediatePolyfill',['invariant','ImmediateImplementation'],(function a(b,c,d,e,f,g,h){var i=b.setImmediate;if(!i){var j=c('ImmediateImplementation');i=j.setImmediate;}function k(){for(var l=arguments.length,m=Array(l),n=0;n<l;n++)m[n]=arguments[n];typeof m[0]==='function'||h(0);return i.apply(null,m);}f.exports=k;}),null);
__d('setImmediateAcrossTransitions',['TimeSlice','setImmediatePolyfill'],(function a(b,c,d,e,f,g){f.exports=function(){for(var h=arguments.length,i=Array(h),j=0;j<h;j++)i[j]=arguments[j];i[0]=c('TimeSlice').guard(i[0],'setImmediate',{isContinuation:true});return c('setImmediatePolyfill').apply(b,i);};}),null);
__d('setImmediate',['TimerStorage','setImmediateAcrossTransitions'],(function a(b,c,d,e,f,g){f.exports=function(){for(var h=arguments.length,i=Array(h),j=0;j<h;j++)i[j]=arguments[j];var k,l=i[0];i[0]=function(){c('TimerStorage').unset(c('TimerStorage').IMMEDIATE,k);Function.prototype.apply.call(l,this,arguments);};k=c('setImmediateAcrossTransitions').apply(b,i);c('TimerStorage').set(c('TimerStorage').IMMEDIATE,k);return k;}.bind(this);}),null);
__d('Promise',['invariant','setImmediate','setTimeoutAcrossTransitions'],(function a(b,c,d,e,f,g,h){'use strict';function i(){}var j=null,k={};function l(da){try{return da.then;}catch(ea){j=ea;return k;}}function m(da,ea){try{return da(ea);}catch(fa){j=fa;return k;}}function n(da,ea,fa){try{da(ea,fa);}catch(ga){j=ga;return k;}}function o(da){if(typeof this!=='object')throw new TypeError('Promises must be constructed via new');if(typeof da!=='function')throw new TypeError('not a function');this._state=0;this._value=null;this._deferreds=[];if(da===i)return;v(da,this);}o._noop=i;o.prototype.then=function(da,ea){if(this.constructor!==o)return p(this,da,ea);var fa=new o(i);q(this,new u(da,ea,fa));return fa;};function p(da,ea,fa){return new da.constructor(function(ga,ha){var ia=new o(i);ia.then(ga,ha);q(da,new u(ea,fa,ia));});}function q(da,ea){while(da._state===3)da=da._value;if(da._state===0){da._deferreds.push(ea);return;}c('setImmediate')(function fa(){var ga=da._state===1?ea.onFulfilled:ea.onRejected;if(ga===null){if(da._state===1){r(ea.promise,da._value);}else s(ea.promise,da._value);return;}var ha=m(ga,da._value);if(ha===k){s(ea.promise,j);}else r(ea.promise,ha);});}function r(da,ea){if(ea===da)return s(da,new TypeError('A promise cannot be resolved with itself.'));if(ea&&(typeof ea==='object'||typeof ea==='function')){var fa=l(ea);if(fa===k)return s(da,j);if(fa===da.then&&ea instanceof o){da._state=3;da._value=ea;t(da);return;}else if(typeof fa==='function'){v(fa.bind(ea),da);return;}}da._state=1;da._value=ea;t(da);}function s(da,ea){da._state=2;da._value=ea;t(da);}function t(da){for(var ea=0;ea<da._deferreds.length;ea++)q(da,da._deferreds[ea]);da._deferreds=null;}function u(da,ea,fa){this.onFulfilled=typeof da==='function'?da:null;this.onRejected=typeof ea==='function'?ea:null;this.promise=fa;}function v(da,ea){var fa=false,ga=n(da,function(ha){if(fa)return;fa=true;r(ea,ha);},function(ha){if(fa)return;fa=true;s(ea,ha);});if(!fa&&ga===k){fa=true;s(ea,j);}}o.prototype.done=function(da,ea){var fa=arguments.length?this.then.apply(this,arguments):this;fa.then(null,function(ga){c('setTimeoutAcrossTransitions')(function(){throw ga;},0);});};var w=ca(true),x=ca(false),y=ca(null),z=ca(undefined),aa=ca(0),ba=ca('');function ca(da){var ea=new o(o._noop);ea._state=1;ea._value=da;return ea;}o.resolve=function(da){if(da instanceof o)return da;if(da===null)return y;if(da===undefined)return z;if(da===true)return w;if(da===false)return x;if(da===0)return aa;if(da==='')return ba;if(typeof da==='object'||typeof da==='function')try{var fa=da.then;if(typeof fa==='function')return new o(fa.bind(da));}catch(ea){return new o(function(ga,ha){ha(ea);});}return ca(da);};o.all=function(da){if(!Array.isArray(da))da=[new o(function(){throw new TypeError('Promise.all must be passed an iterable.');})];var ea=Array.prototype.slice.call(da);return new o(function(fa,ga){if(ea.length===0)return fa([]);var ha=ea.length;function ia(ka,la){if(la&&(typeof la==='object'||typeof la==='function'))if(la instanceof o&&la.then===o.prototype.then){while(la._state===3)la=la._value;if(la._state===1)return ia(ka,la._value);if(la._state===2)ga(la._value);la.then(function(oa){ia(ka,oa);},ga);return;}else{var ma=la.then;if(typeof ma==='function'){var na=new o(ma.bind(la));na.then(function(oa){ia(ka,oa);},ga);return;}}ea[ka]=la;if(--ha===0)fa(ea);}for(var ja=0;ja<ea.length;ja++)ia(ja,ea[ja]);});};o.reject=function(da){return new o(function(ea,fa){fa(da);});};o.race=function(da){return new o(function(ea,fa){da.forEach(function(ga){o.resolve(ga).then(ea,fa);});});};o.prototype['catch']=function(da){return this.then(null,da);};f.exports=o;}),null);
__d('SessionName',['SessionNameConfig','isInIframe'],(function a(b,c,d,e,f,g){var h='_e_',i;function j(){i=(window.name||'').toString();if(i.length==7&&i.substr(0,3)==h){i=i.substr(3);}else{i=c('SessionNameConfig').seed||'';if(!c('isInIframe')())window.name=h+i;}}f.exports={TOKEN:h,getName:function k(){if(i===undefined)j();return i;}};}),null);
__d('WebPixelRatio',['Cookie','DOMEventListener','PixelRatioConst','Run'],(function a(b,c,d,e,f,g){var h=c('PixelRatioConst').cookieName,i,j=false;function k(){return window.devicePixelRatio||1;}function l(){c('Cookie').set(h,k());}function m(){c('Cookie').clear(h);}function n(){var p=k();if(p!==i){l();}else m();}var o={startDetecting:function p(q){i=q||1;m();if(j)return;j=true;if('onpagehide' in window){c('DOMEventListener').add(window,'pagehide',n);}else c('Run').onBeforeUnload(n,false);},getOriginalValue:function p(){return i||k();}};f.exports=o;}),null);
__d('bind',[],(function a(b,c,d,e,f,g){function h(i,j){var k=Array.prototype.slice.call(arguments,2);if(typeof j!='string')return Function.prototype.bind.apply(j,[i].concat(k));function l(){var m=k.concat(Array.prototype.slice.call(arguments));if(i[j])return i[j].apply(i,m);}l.toString=function(){return 'bound lazily: '+i[j];};return l;}f.exports=h;}),null);
__d("executeAfter",[],(function a(b,c,d,e,f,g){function h(i,j,k){return function l(){i.apply(k||this,arguments);j.apply(k||this,arguments);};}f.exports=h;}),null);
__d('BanzaiServiceWorker',['BanzaiAdapter','BGSyncConst','setTimeoutAcrossTransitions','SharedClientServiceWorkerBackgroundSync','ServiceWorkerBackgroundSyncBanzaiGK'],(function a(b,c,d,e,f,g){var h=c('BanzaiAdapter').adapter,i=60000,j=void 0,k=void 0;function l(o){var p=Date.now()+o;if(!k||p<k){k=p;clearTimeout(j);j=c('setTimeoutAcrossTransitions')(n.sync,o);}}function m(o){h.queueRequest(o);}var n={flush:function o(){clearTimeout(j);j=0;n.sync();},isEnabled:function o(){return (c('SharedClientServiceWorkerBackgroundSync').isBackgroundSyncAvailable()&&c('ServiceWorkerBackgroundSyncBanzaiGK').sw_background_sync_banzai);},send:function o(p,q,r,s){if(q){h.send(p);if(!s)return;}m(p);l(r);},sync:function o(){k=null;l(i);c('SharedClientServiceWorkerBackgroundSync').postFailureHandler(null,c('BGSyncConst').reqTag.banzai);}};f.exports=n;}),null);
__d('Visibility',['TimeSlice','mixInEventEmitter'],(function a(b,c,d,e,f,g){var h=void 0,i=void 0;if(document.hidden!==undefined){h='hidden';i='visibilitychange';}else if(document.mozHidden!==undefined){h='mozHidden';i='mozvisibilitychange';}else if(document.msHidden!==undefined){h='msHidden';i='msvisibilitychange';}else if(document.webkitHidden!==undefined){h='webkitHidden';i='webkitvisibilitychange';}function j(){return h?document[h]:false;}function k(){return document.addEventListener&&i!==undefined;}var l={HIDDEN:'hidden',VISIBLE:'visible',isHidden:j,isSupported:k};c('mixInEventEmitter')(l,{visible:true,hidden:true});if(k())document.addEventListener(i,c('TimeSlice').guard(function m(){l.emit(j()?l.HIDDEN:l.VISIBLE);},'visibility change'));f.exports=l;}),null);
__d('WebStorageMutex',['WebStorage','setTimeoutAcrossTransitions','pageID'],(function a(b,c,d,e,f,g){var h=null,i=false,j=c('pageID');function k(){if(!i){i=true;h=c('WebStorage').getLocalStorage();}return h;}function l(m){'use strict';this.name=m;}l.testSetPageID=function(m){'use strict';j=m;};l.prototype.$WebStorageMutex1=function(){'use strict';if(!k())return j;var m=k().getItem('mutex_'+this.name);m=m?m.split(':'):null;return m&&m[1]>=Date.now()?m[0]:null;};l.prototype.$WebStorageMutex2=function(m){'use strict';if(!k())return;var n=Date.now()+(m||10000);c('WebStorage').setItemGuarded(k(),'mutex_'+this.name,j+':'+n);};l.prototype.hasLock=function(){'use strict';return this.$WebStorageMutex1()==j;};l.prototype.lock=function(m,n,o){'use strict';if(this.$WebStorageMutex3)clearTimeout(this.$WebStorageMutex3);if(j==(this.$WebStorageMutex1()||j))this.$WebStorageMutex2(o);this.$WebStorageMutex3=c('setTimeoutAcrossTransitions')(function(){this.$WebStorageMutex3=null;var p=this.hasLock()?m:n;if(p)p(this);}.bind(this),0);};l.prototype.unlock=function(){'use strict';if(this.$WebStorageMutex3)clearTimeout(this.$WebStorageMutex3);if(k()&&this.hasLock())k().removeItem('mutex_'+this.name);};f.exports=l;}),null);
__d('Banzai',['BanzaiAdapter','BanzaiServiceWorker','CurrentUser','ErrorUtils','ExecutionEnvironment','FBJSON','NavigationMetrics','Visibility','WebStorage','emptyFunction','isInIframe','lowerFacebookDomain','pageID','setTimeoutAcrossTransitions','WebStorageMutex'],(function a(b,c,d,e,f,g){var h=c('BanzaiAdapter').adapter,i=c('isInIframe')(),j='bz:',k='ods:banzai',l='send_via_beacon_failure',m=0,n=1,o=2,p,q,r=[],s=null,t=[];function u(ia){return ia[2]>=Date.now()-(h.config.EXPIRY||c('BanzaiAdapter').EXPIRY);}function v(ia,ja){ia.__meta.status=m;ia[3]=(ia[3]||0)+1;if(!ia.__meta.retry&&ja>=400&&ja<600)r.push(ia);}function w(ia,ja,ka,la){var ma=[ia,ja,ka,0];ma.__meta={retry:la===true,pageID:c('pageID'),userID:c('CurrentUser').getID(),status:m};return ma;}function x(){var ia=[];t.forEach(function(na){var oa=na.cb();oa.forEach(function(pa){var qa=na.route;if(qa){var ra=w(qa,pa,Date.now());ra.__meta.onSuccess=na.onSuccess;ra.__meta.onFailure=na.onFailure;ia.push(ra);}});});t=[];var ja=[],ka=[];ca(ja,ka,true,ia);if(ja.length>0){ja[0].send_method='beacon';var la=new Blob([h.addRequestAuthData(h.prepForTransit(ja))],{type:'application/x-www-form-urlencoded'}),ma=navigator.sendBeacon(c('BanzaiAdapter').adapter.endpoint,la);if(ma){ka.forEach(function(na){return ia.__meta&&na.__meta.onSuccess&&na.__meta.onSuccess();});}else ka.forEach(function(na){return ia.__meta&&na.__meta.onFailure&&na.__meta.onFailure();});}}function y(ia){var ja=Date.now()+ia;if(!q||ja<q){q=ja;clearTimeout(p);p=c('setTimeoutAcrossTransitions')(z,ia);return true;}return false;}function z(){aa(null,null);}function aa(ia,ja){q=null;y(c('BanzaiAdapter').BASIC.delay);if(!h.readyToSend()){if(ja)ja();return;}h.inform(c('BanzaiAdapter').SEND);var ka=[],la=[];r=ca(ka,la,true,r);if(ka.length<=0){h.inform(c('BanzaiAdapter').OK);if(ia)ia();return;}ka[0].trigger=s;s=null;ka[0].send_method='ajax';h.send(ka,function(){la.forEach(function(ma){ma.__meta.status=o;});if(ia)ia();},function(ma){la.forEach(function(na){v(na,ma);});if(ja)ja();});}function ba(){if(!(navigator&&navigator.sendBeacon&&h.isOkToSendViaBeacon()))return;var ia=[],ja=[];r=ca(ia,ja,false,r);if(ia.length<=0)return;ia[0].send_method='beacon';var ka=new Blob([h.addRequestAuthData(h.prepForTransit(ia))],{type:'application/x-www-form-urlencoded'}),la=navigator.sendBeacon(c('BanzaiAdapter').adapter.endpoint,ka);if(!la){var ma;ja.forEach(function(na){r.push(na);});r.push(w(k,(ma={},ma[l]=[1],ma),Date.now()));}}function ca(ia,ja,ka,la){var ma={};return la.filter(function(na){var oa=na.__meta;if(oa.status>=o||!u(na))return false;if(oa.status>=n)return true;var pa=oa.pageID+oa.userID,qa=ma[pa];if(!qa){qa={user:oa.userID,page_id:oa.pageID,posts:[]};ma[pa]=qa;ia.push(qa);}oa.status=n;qa.posts.push(na);ja.push(na);return ka&&oa.retry;});}var da,ea,fa=false;function ga(){if(!fa){fa=true;ea=c('WebStorage').getLocalStorage();}return ea;}function ha(){if(!da)if(!i){da={store:function ia(){var ja=ga();if(!ja||r.length<=0)return;var ka=r.map(function(la){return [la[0],la[1],la[2],la[3]||0,la.__meta];});r=[];ja.setItem(j+c('pageID')+'.'+Date.now(),c('FBJSON').stringify(ka));},restore:function ia(){var ja=ga();if(!ja)return;var ka=c('WebStorageMutex');new ka('banzai').lock(function(la){var ma=[];for(var na=0;na<ja.length;na++){var oa=ja.key(na);if(oa.indexOf(j)===0&&oa.indexOf('bz:__')!==0)ma.push(oa);}ma.forEach(function(pa){var qa=ja.getItem(pa);ja.removeItem(pa);if(!qa)return;var ra=c('FBJSON').parse(qa,f.id);ra.forEach(function(sa){if(!sa)return;var ta=sa.__meta=sa.pop(),ua=u(sa);if(!ua)return;var va=c('CurrentUser').getID();if(ta.userID===va||va==='0'){ta.status=m;r.push(sa);}});});la.unlock();});}};}else da={store:c('emptyFunction'),restore:c('emptyFunction')};}c('BanzaiAdapter').SEND='Banzai:SEND';c('BanzaiAdapter').OK='Banzai:OK';c('BanzaiAdapter').ERROR='Banzai:ERROR';c('BanzaiAdapter').SHUTDOWN='Banzai:SHUTDOWN';c('BanzaiAdapter').VITAL_WAIT=1000;c('BanzaiAdapter').BASIC_WAIT=60000;c('BanzaiAdapter').EXPIRY=30*60000;c('BanzaiAdapter').VITAL={delay:h.config.MIN_WAIT||c('BanzaiAdapter').VITAL_WAIT};c('BanzaiAdapter').BASIC={delay:h.config.MAX_WAIT||c('BanzaiAdapter').BASIC_WAIT};c('BanzaiAdapter').FBTRACE=h.config.fbtrace;c('BanzaiAdapter').isEnabled=function(ia){return h.config.gks&&h.config.gks[ia];};c('BanzaiAdapter').post=function(ia,ja,ka){if(!ia)c('ErrorUtils').reportError(new Error('Banzai.post called without specifying a route'));ka=ka||{};var la=ka.retry;if(h.config.disabled)return;if(!c('ExecutionEnvironment').canUseDOM)return;var ma=h.config.blacklist;if(ma)if(ma.indexOf)if(typeof ma.indexOf=='function')if(ma.indexOf(ia)!=-1)return;if(i&&c('lowerFacebookDomain').isValidDocumentDomain()){var na=void 0;try{na=b.top.require('Banzai');}catch(oa){na=null;}if(na){na.post.apply(na,arguments);return;}}var pa=w(ia,ja,Date.now(),la),qa=ka.delay;if(qa==null)qa=c('BanzaiAdapter').BASIC_WAIT;if(c('BanzaiServiceWorker').isEnabled()){var ra=[{user:c('CurrentUser').getID(),page_id:c('pageID'),posts:[pa],trigger:ia}];c('BanzaiServiceWorker').send(ra,ka.signal,qa,la);return;}if(ka.signal){pa.__meta.status=n;var sa=[{user:c('CurrentUser').getID(),page_id:c('pageID'),posts:[pa],trigger:ia}];h.send(sa,function(){pa.__meta.status=o;},function(ta){v(pa,ta);},true);if(!la)return;}r.push(pa);if(y(qa)||!s)s=ia;};c('BanzaiAdapter').registerToSendWithBeacon=function(ia,ja,ka,la){if(!(navigator&&navigator.sendBeacon&&h.isOkToSendViaBeacon()))return false;if(!ia){c('ErrorUtils').reportError(new Error('Banzai.registerToSendWithBeacon called without specifying a route'));return false;}t.push({cb:ja,route:ia,onSuccess:ka,onFailure:la});return true;};c('BanzaiAdapter').flush=function(ia,ja){clearTimeout(p);p=0;aa(ia,ja);};c('BanzaiAdapter').subscribe=h.subscribe;c('BanzaiAdapter').canUseNavigatorBeacon=function(){return navigator&&navigator.sendBeacon&&h.isOkToSendViaBeacon();};c('BanzaiAdapter')._schedule=y;c('BanzaiAdapter')._store=function(ia){ha();c('ErrorUtils').applyWithGuard(da.store,da);};c('BanzaiAdapter')._restore=function(ia){ha();c('ErrorUtils').applyWithGuard(da.restore,da);y(h.config.RESTORE_WAIT||c('BanzaiAdapter').VITAL_WAIT);};c('BanzaiAdapter')._unload=function(){if(c('BanzaiServiceWorker').isEnabled())c('BanzaiServiceWorker').sync();if(navigator&&navigator.sendBeacon&&h.isOkToSendViaBeacon())x();h.cleanup();h.inform(c('BanzaiAdapter').SHUTDOWN);if(c('BanzaiAdapter').isEnabled('beacon_hailmary')&&r.length>0)ba();if(r.length>0){ha();c('ErrorUtils').applyWithGuard(da.store,da);}};c('BanzaiAdapter')._testState=function(){return {postBuffer:r,triggerRoute:s};};(c('BanzaiAdapter')._initialize=function(){if(c('ExecutionEnvironment').canUseDOM){if(c('BanzaiAdapter').isEnabled('beacon_hailmary')&&c('Visibility').isSupported()){c('Visibility').addListener(c('Visibility').HIDDEN,function(){if(r.length>0)ba();if(r.length>0){ha();c('ErrorUtils').applyWithGuard(da.store,da);}});}else h.setHooks();h.setUnloadHook();c('NavigationMetrics').addListener(c('NavigationMetrics').Events.NAVIGATION_DONE,function(ia,ja){if(ja.pageType!=='normal')return;c('BanzaiAdapter')._restore();c('NavigationMetrics').removeCurrentListener();});}})();f.exports=c('BanzaiAdapter');}),null);
__d('FbtNumberType',['IntlVariations'],(function a(b,c,d,e,f,g){var h={getNumberVariationType:function i(j){if(j===1){return c('IntlVariations').NUMBER_ONE;}else return c('IntlVariations').NUMBER_OTHER;}};f.exports=h;}),null);
__d('Intl',['IntlPhonologicalRules','memoize'],(function a(b,c,d,e,f,g){var h='[.!?'+'\u3002'+'\uFF01'+'\uFF1F'+'\u0964'+'\u2026'+'\u0EAF'+'\u1801'+'\u0E2F'+'\uFF0E'+']',i=new RegExp(h+'[)"\''+'\u00BB'+'\u0F3B'+'\u0F3D'+'\u2019'+'\u201D'+'\u203A'+'\u3009'+'\u300B'+'\u300D'+'\u300F'+'\u3011'+'\u3015'+'\u3017'+'\u3019'+'\u301B'+'\u301E'+'\u301F'+'\uFD3F'+'\uFF07'+'\uFF09'+'\uFF3D'+'\\s'+']*$'),j=c('memoize')(function(){var m=[];for(var n in c('IntlPhonologicalRules').patterns){var o=c('IntlPhonologicalRules').patterns[n];for(var p in c('IntlPhonologicalRules').meta){var q=new RegExp(p.slice(1,-1),'g'),r=c('IntlPhonologicalRules').meta[p];n=n.replace(q,r);o=o.replace(q,r);}if(o==='javascript')o=function s(t){return t.slice(1).toLowerCase();};m.push([new RegExp(n.slice(1,-1),'g'),o]);}return m;});function k(m){var n=j();for(var o=0;o<n.length;o++){var p=n[o],q=p[0],r=p[1];m=m.replace(q,r);}return m.replace(/\x01/g,'');}function l(m){if(typeof m!=='string')return false;return i.test(m);}f.exports={PUNCT_CHAR_CLASS:h,endsInPunct:l,applyPhonologicalRules:k};}),null);
__d('substituteTokens',['invariant','Intl'],(function a(b,c,d,e,f,g,h){var i=new RegExp('\\{([^}]+)\\}('+c('Intl').PUNCT_CHAR_CLASS+'*)','g');function j(l){return l;}function k(l,m){var n=m;if(!n)return l;typeof n==='object'||h(0);var o=[],p=[],q=l.replace(i,function(t,u,v){var w=n[u];if(w&&typeof w==='object'){o.push(w);p.push(u);return '\x17'+v;}else if(w===null)return '';return w+(c('Intl').endsInPunct(w)?'':v);}).split('\x17').map(c('Intl').applyPhonologicalRules);if(q.length===1)return q[0];var r=[q[0]];for(var s=0;s<o.length;s++)r.push(j(o[s]),q[s+1]);return r;}f.exports=k;}),null);
__d('fbt',['invariant','Banzai','FbtNumberType','FbtResult','FbtResultGK','IntlVariations','IntlViewerContext','substituteTokens','FbtLogger','FbtQTOverrides'],(function a(b,c,d,e,f,g,h){var i=c('FbtLogger').logger,j=c('FbtQTOverrides').overrides,k={INDEX:0,SUBSTITUTION:1},l={NUMBER:0,GENDER:1},m=function o(){};m._=function(o,p){var q={},r=o;if(o.__vcg){p=p||[];p.unshift([[c('IntlViewerContext').GENDER,'*'],null]);}if(p!==undefined){r=this._accessTable(o,q,p,0);r!==null||h(0);}var s=r,t=null;typeof r==='string'||Array.isArray(r)||h(0);if(Array.isArray(r)){s=r[0];t=r[1];var u='1_'+t;s=j[u]||s;if(j[u])m.logQTImpression(t);m.logImpression(t);}var v=c('substituteTokens')(s,q);return n(v,s,t);};m._accessTable=function(o,p,q,r){if(r>=q.length){return o;}else if(o==null)return null;var s=null,t=q[r],u=t[k.INDEX];if(Array.isArray(u)){for(var v=0;v<u.length;++v){var w=o[u[v]];s=this._accessTable(w,p,q,r+1);if(s!=null)break;}}else{o=u!==null?o[u]:o;s=this._accessTable(o,p,q,r+1);}if(s!=null)Object.assign(p,t[k.SUBSTITUTION]);return s;};m['enum']=function(o,p){return [o,null];};m.param=function(o,p,q){var r=null;if(q)if(q[0]===l.NUMBER){var s=q.length>1?q[1]:p;typeof s==='number'||h(0);r=[c('FbtNumberType').getNumberVariationType(s),'*'];}else if(q[0]===l.GENDER){q.length>1&&q[1]&c('IntlVariations').BITMASK_GENDER||h(0);r=[q[1],'*'];}else h(0);var t={};t[o]=p;return [r,t];};m.plural=function(o,p,q){var r=[c('FbtNumberType').getNumberVariationType(o),'*'],s={};if(p)s[p]=q||o+'';return [r,s];};m.name=function(o,p,q){q&c('IntlVariations').BITMASK_GENDER||h(0);var r=[q,'*'],s={};s[o]=p;return [r,s];};m.logImpression=function(o){if(i)i.logImpression(o);return o;};m.logQTImpression=function(o){c('Banzai').post('intl_qt_event',{hash:o});return o;};function n(o,p,q){if(!c('FbtResultGK').shouldReturnFbtResult&&c('FbtResultGK').inlineMode!=='REPORT')return o;return new (c('FbtResult'))(typeof o==='string'?[o]:o,c('FbtResultGK').inlineMode,p,q);}f.exports=m;}),null);
__d('AsyncRequest',['errorCode','invariant','ix','fbt','Promise','Arbiter','TimeSliceInteraction','ArtilleryJSPointTypes','AsyncFeature','AsyncFeatureLogging','AsyncRequestConfig','AsyncResponse','Bootloader','CSS','DTSG','Env','ErrorUtils','Event','HTTPErrors','JSCC','Parent','WebPixelRatio','PixelRatioConst','PHPQuerySerializer','ProfilingCounters','Run','ServerJS','SessionName','TimeSlice','URI','UserAgent_DEPRECATED','ZeroRewrites','isFacebookURI','isMessengerDotComURI','bind','emptyFunction','evalGlobal','executeAfter','ge','getAsyncHeaders','getAsyncParams','goURI','isEmpty','setTimeout','setTimeoutAcrossTransitions'],(function a(global,require,requireDynamic,requireLazy,module,exports,errorCode,invariant,ix,fbt){var EVENTS={SR_PAYLOAD:'asyncRequest/srPayload'};function hasUnloaded(){try{return !window.domready;}catch(ignore){return true;}}function supportsUploadProgress(transport){return 'upload' in transport&&'onprogress' in transport.upload;}function supportsCrossOrigin(transport){return 'withCredentials' in transport;}function isNetworkError(transport){return transport.status in {0:1,12029:1,12030:1,12031:1,12152:1};}function validateResponseHandler(handler){var valid=!handler||typeof handler==='function';return valid;}var last_id=2,id_threshold=last_id;require('Arbiter').subscribe('page_transition',function(_,message){id_threshold=message.id;});function AsyncRequest(uri){'use strict';this._dispatchErrorResponse=function(asyncResponse,errorHandler){var error=asyncResponse.getError();this.clearStatusIndicator();var log_data=this._sendTimeStamp&&{duration:Date.now()-this._sendTimeStamp,xfb_ip:this._xFbServer||'-'};asyncResponse.logError('async_error',log_data);if(!this._isRelevant()||error===1010){this.abort();return;}if(error==1357008||error==1357007||error==1357041||error==1442002||error==1357001){var is_confirmation=error==1357008||error==1357007;require('AsyncFeature').__invokeWithServerBitMap(asyncResponse.__sf,function(){return this.interceptHandler(asyncResponse);}.bind(this));if(error==1357041){this._solveQuicksandChallenge(asyncResponse);}else if(error==1357007){this._displayServerDialog(asyncResponse,is_confirmation,true);}else this._displayServerDialog(asyncResponse,is_confirmation);}else if(this._invokeInitialHandler(asyncResponse)!==false){clearTimeout(this.timer);try{require('AsyncFeature').__invokeWithServerBitMap(asyncResponse.__sf,function(){return errorHandler(asyncResponse);});}catch(e){this._applyFinallyHandler(asyncResponse);throw e;}this._applyFinallyHandler(asyncResponse);}}.bind(this);this._onStateChange=function(){try{AsyncRequest._inflightCount--;AsyncRequest._inflightPurge();try{if(typeof this.transport.getResponseHeader!=='undefined'&&this.transport.getResponseHeader('X-FB-Debug'))this._xFbServer=this.transport.getResponseHeader('X-FB-Debug');}catch(ignore){}if(this.transport.status>=200&&this.transport.status<300){AsyncRequest.lastSuccessTime=Date.now();this._handleXHRResponse(this.transport);}else if(require('UserAgent_DEPRECATED').webkit()&&typeof this.transport.status=='undefined'){this._invokeErrorHandler(1002);}else if(require('AsyncRequestConfig').retryOnNetworkError&&isNetworkError(this.transport)&&this.remainingRetries>0&&!this._requestTimeout){this.remainingRetries--;delete this.transport;this.send(true);return;}else this._invokeErrorHandler();if(this.getOption('asynchronous_DEPRECATED')!==false)delete this.transport;}catch(exception){if(hasUnloaded())return;delete this.transport;if(this.remainingRetries>0){this.remainingRetries--;this.send(true);}else{!this.getOption('suppressErrorAlerts');var ErrorSignal=global.ErrorSignal;ErrorSignal&&ErrorSignal.sendErrorSignal('async_xport_resp',[1007,this._xFbServer||'-',this.getURI(),exception.message].join(':'));this._invokeErrorHandler(1007);}}}.bind(this);Object.assign(this,{transport:null,method:'POST',uri:'',timeout:null,timer:null,initialHandler:require('emptyFunction'),handler:null,uploadProgressHandler:null,errorHandler:null,transportErrorHandler:null,timeoutHandler:null,interceptHandler:require('emptyFunction'),finallyHandler:require('emptyFunction'),abortHandler:require('emptyFunction'),serverDialogCancelHandler:null,relativeTo:null,statusElement:null,statusClass:'',data:{},headers:{},file:null,context:{},readOnly:false,writeRequiredParams:[],remainingRetries:0,userActionID:'-',logErrorsEnabled:require('AsyncRequestConfig').logAsyncRequest,shouldTraceWithArtillery:true});this.option={asynchronous_DEPRECATED:true,suppressErrorHandlerWarning:false,suppressEvaluation:false,suppressErrorAlerts:false,retries:0,jsonp:false,bundle:false,useIframeTransport:false,handleErrorAfterUnload:false};this.errorHandler=require('AsyncResponse').defaultErrorHandler;this.transportErrorHandler=require('bind')(this,'errorHandler');if(uri!==undefined)this.setURI(uri);this.setAllowCrossPageTransition(require('AsyncRequestConfig').asyncRequestsSurviveTransitionsDefault||false);}AsyncRequest.prototype._invokeInitialHandler=function(asyncResponse){'use strict';return require('AsyncFeature').__invokeWithServerBitMap(asyncResponse.__sf,function(){return this.initialHandler(asyncResponse);}.bind(this));};AsyncRequest.prototype._dispatchResponse=function(asyncResponse){'use strict';this.clearStatusIndicator();if(!this._isRelevant()){this._invokeErrorHandler(1010);return;}if(this._invokeInitialHandler(asyncResponse)===false)return;clearTimeout(this.timer);if(asyncResponse.jscc_map){var jscc_map=(eval)(asyncResponse.jscc_map);require('JSCC').init(jscc_map);}var suppress_js,handler=this.getHandler();if(handler)try{suppress_js=this._shouldSuppressJS(require('AsyncFeature').__invokeWithServerBitMap(asyncResponse.__sf,function(){return handler(asyncResponse);}));}catch(e){asyncResponse.is_last&&this._applyFinallyHandler(asyncResponse);throw e;}if(!suppress_js)this._handleJSResponse(asyncResponse);asyncResponse.is_last&&this._applyFinallyHandler(asyncResponse);};AsyncRequest.prototype._shouldSuppressJS=function(handler_return_value){'use strict';return handler_return_value===AsyncRequest.suppressOnloadToken;};AsyncRequest.prototype._handleJSResponse=function(asyncResponse){'use strict';var relativeTo=this.getRelativeTo(),domOps=asyncResponse.domops,dtsgToken=asyncResponse.dtsgToken,jsMods=asyncResponse.jsmods,serverJS=new (require('ServerJS'))();serverJS.setRelativeTo(relativeTo);serverJS.setServerFeatures(asyncResponse.__sf);var requires;if(jsMods&&jsMods.require){requires=jsMods.require;delete jsMods.require;}if(jsMods)serverJS.handle(jsMods);if(dtsgToken)require('DTSG').setToken(dtsgToken);var finishHandleResp=function(AsyncDOM){if(domOps&&AsyncDOM)AsyncDOM.invoke(domOps,relativeTo);if(requires)serverJS.handle({require:requires});this._handleJSRegisters(asyncResponse,'onload');if(this.lid)require('Arbiter').inform('tti_ajax',{s:this.lid,d:[this._sendTimeStamp||0,this._sendTimeStamp&&this._responseTime?this._responseTime-this._sendTimeStamp:0]},require('Arbiter').BEHAVIOR_EVENT);this._handleJSRegisters(asyncResponse,'onafterload');serverJS.cleanup();}.bind(this);if(domOps){require('Bootloader').loadModules(["AsyncDOM"],finishHandleResp,'AsyncRequest');}else finishHandleResp(null);};AsyncRequest.prototype._handleJSRegisters=function(asyncResponse,phase){'use strict';var registers=asyncResponse[phase];if(registers)for(var ii=0;ii<registers.length;ii++)require('ErrorUtils').applyWithGuard(new Function(registers[ii]),this);};AsyncRequest.prototype.invokeResponseHandler=function(interpreted){'use strict';if(typeof interpreted.redirect!=='undefined'){require('setTimeout')(function(){this.setURI(interpreted.redirect).send();}.bind(this),0);return;}if(!this.handler&&!this.errorHandler&&!this.transportErrorHandler)return;var response=interpreted.asyncResponse;if(typeof response!=='undefined'){if(this._timesliceInteraction!=null)this._timesliceInteraction.receiveAsyncResponse(response).inform('async_response_received',{type:require('ArtilleryJSPointTypes').ASYNC_RESPONSE_RECEIVED});if(!this._isRelevant()){this._invokeErrorHandler(1010);return;}if(response.inlinejs)require('evalGlobal')(response.inlinejs);if(response.lid){this._responseTime=Date.now();if(global.CavalryLogger)this.cavalry=global.CavalryLogger.getInstance(response.lid);this.lid=response.lid;}var resourceCounts=[0,0,0];if(response.resource_map)resourceCounts=require('Bootloader').setResourceMap(response.resource_map);if(response.bootloadable)require('Bootloader').enableBootload(response.bootloadable);ix.add(response.ixData);var dispatch,arbiter_event;if(response.getError()&&!response.getErrorIsWarning()){var handler=function(){var _getErrorHandler;for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return require('AsyncFeature').__invokeWithServerBitMap(response.__sf,(_getErrorHandler=this.getErrorHandler()).bind.apply(_getErrorHandler,[this].concat(args)));}.bind(this);dispatch=require('ErrorUtils').guard(this._dispatchErrorResponse,'AsyncRequest#_dispatchErrorResponse for '+this.getURI());dispatch=dispatch.bind(this,response,handler);this._logError(response);arbiter_event='error';}else{dispatch=require('ErrorUtils').guard(this._dispatchResponse.bind(this),'AsyncRequest#_dispatchResponse for '+this.getURI());dispatch=dispatch.bind(this,response);arbiter_event='response';}dispatch=require('executeAfter')(dispatch,function(){require('Arbiter').inform('AsyncRequest/'+arbiter_event,{request:this,response:response});}.bind(this));var replace=false;if(this.preBootloadHandler)replace=this.preBootloadHandler(response);response.css=response.css||[];response.js=response.js||[];require('Bootloader').loadResources(response.css.concat(response.js),function(){require('setTimeout')(dispatch,0);},replace,this.getURI());var fields={uri:this.uri,components:Object.keys(response.bootloadable||{}),resourceCounts:resourceCounts};require('Arbiter').inform(EVENTS.SR_PAYLOAD,fields,require('Arbiter').BEHAVIOR_PERSISTENT);}else if(typeof interpreted.transportError!=='undefined'){if(this._xFbServer){this._invokeErrorHandler(1008);}else this._invokeErrorHandler(1012);}else this._invokeErrorHandler(1007);};AsyncRequest.prototype._logError=function(response){'use strict';if(this.logErrorsEnabled&&!this.getOption('suppressErrorAlerts')){var message=void 0;try{message=JSON.stringify(response);}catch(e){try{message=JSON.stringify({error:response.error,errorSummary:response.errorSummary,errorDescription:response.errorDescription});}catch(ee){message='Too many circular references in the error message.';}}require('ErrorUtils').reportError(new Error(message),true);}};AsyncRequest.prototype._invokeErrorHandler=function(explicitError){'use strict';var error;if(this.responseText===''){error=1002;}else if(this._requestAborted){error=1011;}else{try{error=explicitError||this.transport.status||1004;}catch(e2){error=1005;}if(false===navigator.onLine)error=1006;}var desc,summary,silent=true;if(error===1006){summary=fbt._("No Network Connection");desc=fbt._("Your browser appears to be offline. Please check your internet connection and try again.");}else if(error>=300&&error<=399){summary=fbt._("Redirection");desc=fbt._("Your access to Facebook was redirected or blocked by a third party at this time, please contact your ISP or reload.");var location=this.transport.getResponseHeader("Location");if(location)require('goURI')(location,true);silent=true;}else{summary=fbt._("Oops");desc=fbt._("Something went wrong. We're working on getting this fixed as soon as we can. You may be able to try again.");}var async_response=new (require('AsyncResponse'))(this,this.transport);Object.assign(async_response,{error:error,errorSummary:summary,errorDescription:desc,silentError:silent});require('AsyncFeatureLogging').maybeLogAsyncResponse('_invokeErrorHandler',this,async_response);if(this._timesliceInteraction!=null)this._timesliceInteraction.inform('async_transport_error_received').addStringAnnotation('error_code',error.toString());this._logError(async_response);require('setTimeout')(function(){require('Arbiter').inform('AsyncRequest/error',{request:this,response:async_response});}.bind(this),0);if(hasUnloaded()&&!this.getOption('handleErrorAfterUnload'))return;if(!this.transportErrorHandler)return;var error_handler=this.getTransportErrorHandler().bind(this);!this.getOption('suppressErrorAlerts');require('ErrorUtils').applyWithGuard(this._dispatchErrorResponse,this,[async_response,error_handler]);};AsyncRequest.prototype._solveQuicksandChallenge=function(async_response){'use strict';var payload=async_response.getPayload();require('Bootloader').loadModules(["QuickSandSolver"],function(QuickSandSolver){QuickSandSolver.solveAndSendRequestBack(this,payload);}.bind(this),'AsyncRequest');};AsyncRequest.prototype._displayServerDialog=function(async_response,is_confirmation){var allow_get=arguments.length<=2||arguments[2]===undefined?false:arguments[2];'use strict';var payload=async_response.getPayload();if(payload.__dialog!==undefined){this._displayServerLegacyDialog(async_response,is_confirmation);return;}var json=payload.__dialogx;new (require('ServerJS'))().handle(json);require('Bootloader').loadModules(["ConfirmationDialog"],function(ConfirmationDialog){ConfirmationDialog.setupConfirmation(async_response,this,allow_get);}.bind(this),'AsyncRequest');};AsyncRequest.prototype._displayServerLegacyDialog=function(async_response,is_confirmation){'use strict';var model=async_response.getPayload().__dialog;require('Bootloader').loadModules(["Dialog"],function(Dialog){var dialog=new Dialog(model);if(is_confirmation)dialog.setHandler(this._displayConfirmationHandler.bind(this,dialog));dialog.setCancelHandler(function(){var handler=this.getServerDialogCancelHandler();try{handler&&handler(async_response);}catch(e){throw e;}finally{this._applyFinallyHandler(async_response);}}.bind(this)).setCausalElement(this.relativeTo).show();}.bind(this),'AsyncRequest');};AsyncRequest.prototype._displayConfirmationHandler=function(dialog){'use strict';this.data.confirmed=1;Object.assign(this.data,dialog.getFormData());this.send();};AsyncRequest.prototype.setJSONPTransport=function(transport){'use strict';transport.subscribe('response',this._handleJSONPResponse.bind(this));transport.subscribe('abort',this._handleJSONPAbort.bind(this));this.transport=transport;};AsyncRequest.prototype._handleJSONPResponse=function(_,data){'use strict';this.is_first=this.is_first===undefined;var interpreted=this._interpretResponse(data);interpreted.asyncResponse.is_first=this.is_first;interpreted.asyncResponse.is_last=this.transport.hasFinished();this.invokeResponseHandler(interpreted);if(this.transport.hasFinished())delete this.transport;};AsyncRequest.prototype._handleJSONPAbort=function(){'use strict';this._invokeErrorHandler();delete this.transport;};AsyncRequest.prototype._handleXHRResponse=function(transport){'use strict';var interpreted;if(this.getOption('suppressEvaluation')){interpreted={asyncResponse:new (require('AsyncResponse'))(this,transport)};require('AsyncFeatureLogging').maybeLogAsyncResponse('_handleXHRResponse:suppressEvaluation',this,interpreted.asyncResponse);}else{var text=transport.responseText,error=null;try{var safe_text=this._unshieldResponseText(text);try{var response=eval('('+safe_text+')');interpreted=this._interpretResponse(response);}catch(exception){error='excep';interpreted={transportError:'eval() failed on async to '+this.getURI()};}}catch(exception){error='empty';interpreted={transportError:exception.message};}if(error){var ErrorSignal=global.ErrorSignal;ErrorSignal&&ErrorSignal.sendErrorSignal('async_xport_resp',[(this._xFbServer?'1008_':'1012_')+error,this._xFbServer||'-',this.getURI(),text.length,text.substr(0,1600)].join(':'));}}this.invokeResponseHandler(interpreted);};AsyncRequest.prototype._unshieldResponseText=function(text){'use strict';var shield="for (;;);",shieldlen=shield.length;if(text.length<=shieldlen)throw new Error('Response too short on async to '+this.getURI());var offset=0;while(text.charAt(offset)==" "||text.charAt(offset)=="\n")offset++;offset&&text.substring(offset,offset+shieldlen)==shield;return text.substring(offset+shieldlen);};AsyncRequest.prototype._interpretResponse=function(response){'use strict';if(response.redirect)return {redirect:response.redirect};var r=new (require('AsyncResponse'))(this);if(response.__ar!=1){r.payload=response;}else Object.assign(r,response);require('AsyncFeatureLogging').maybeLogAsyncResponse('_interpretResponse',this,response);return {asyncResponse:r};};AsyncRequest.prototype._isMultiplexable=function(){'use strict';if(this.getOption('jsonp')||this.getOption('useIframeTransport'))return false;if(!require('isFacebookURI')(this.uri))return false;if(!this.getOption('asynchronous_DEPRECATED'))return false;return true;};AsyncRequest.prototype._applyFinallyHandler=function(response){'use strict';require('AsyncFeature').__invokeWithServerBitMap(response.__sf,function(){if(this._timesliceInteraction){this._timesliceInteraction.invokeWithProfiling('finally_handler',function(){return this.finallyHandler(response);}.bind(this));this._timesliceInteraction.finishAsyncRequest();}else this.finallyHandler(response);}.bind(this));};AsyncRequest.prototype.handleResponse=function(response){'use strict';var interpreted=this._interpretResponse(response);this.invokeResponseHandler(interpreted);};AsyncRequest.prototype.setMethod=function(m){'use strict';this.method=m.toString().toUpperCase();return this;};AsyncRequest.prototype.getMethod=function(){'use strict';return this.method;};AsyncRequest.prototype.setData=function(obj){'use strict';this.data=obj;return this;};AsyncRequest.prototype.setRequestHeader=function(name,value){'use strict';this.headers[name]=value;return this;};AsyncRequest.prototype.setRawData=function(raw_data){'use strict';this.rawData=raw_data;return this;};AsyncRequest.prototype.getData=function(){'use strict';return this.data;};AsyncRequest.prototype.setContextData=function(key,value,enabled){'use strict';enabled=enabled===undefined?true:enabled;if(enabled)this.context['_log_'+key]=value;return this;};AsyncRequest.prototype._setUserActionID=function(){'use strict';this.userActionID=(require('SessionName').getName()||'-')+'/-';};AsyncRequest.prototype.setURI=function(uri){'use strict';var uri_obj=new (require('URI'))(uri);if(this.getOption('useIframeTransport')&&!require('isFacebookURI')(uri_obj))return this;if(!this._allowCrossOrigin&&!this.getOption('jsonp')&&!this.getOption('useIframeTransport')&&!uri_obj.isSameOrigin())return this;this._setUserActionID();if(!uri||uri_obj.isEmpty()){var ErrorSignal=global.ErrorSignal;if(ErrorSignal){var data={err_code:1013,vip:'-',duration:0,xfb_ip:'-',path:window.location.href,aid:this.userActionID};ErrorSignal.sendErrorSignal('async_error',JSON.stringify(data));ErrorSignal.sendErrorSignal('async_xport_stack',[1013,window.location.href,null,require('ErrorUtils').normalizeError(new Error()).stack].join(':'));}return this;}this.uri=require('ZeroRewrites').rewriteURI(uri_obj);return this;};AsyncRequest.prototype.getURI=function(){'use strict';return this.uri.toString();};AsyncRequest.prototype.setInitialHandler=function(fn){'use strict';this.initialHandler=fn;return this;};AsyncRequest.prototype.setHandler=function(fn){'use strict';if(validateResponseHandler(fn))this.handler=fn;return this;};AsyncRequest.prototype.getHandler=function(){'use strict';var func=this.handler||require('emptyFunction');if(this._timesliceInteraction)return function(response){return this._timesliceInteraction.invokeWithProfiling('handler',function(){return func(response);});}.bind(this);return func;};AsyncRequest.prototype.setUploadProgressHandler=function(fn){'use strict';if(validateResponseHandler(fn))this.uploadProgressHandler=fn;return this;};AsyncRequest.prototype.setErrorHandler=function(fn){'use strict';if(validateResponseHandler(fn))this.errorHandler=fn;return this;};AsyncRequest.prototype.setTransportErrorHandler=function(fn){'use strict';this.transportErrorHandler=fn;return this;};AsyncRequest.prototype.getErrorHandler=function(){'use strict';var func=this.errorHandler;if(this._timesliceInteraction)return function(response){return this._timesliceInteraction.invokeWithProfiling('error_handler',function(){return func(response);});}.bind(this);return func;};AsyncRequest.prototype.getTransportErrorHandler=function(){'use strict';var func=this.transportErrorHandler;if(this._timesliceInteraction)return function(response){return this._timesliceInteraction.invokeWithProfiling('transport_error_handler',function(){return func(response);});}.bind(this);return func;};AsyncRequest.prototype.setTimeoutHandler=function(timeout,fn){'use strict';if(validateResponseHandler(fn)){this.timeout=timeout;this.timeoutHandler=fn;}return this;};AsyncRequest.prototype.resetTimeout=function(timeout){'use strict';if(!(this.timeoutHandler===null))if(timeout===null){this.timeout=null;clearTimeout(this.timer);this.timer=null;}else{var clear_on_quickling_event=!this._allowCrossPageTransition;this.timeout=timeout;clearTimeout(this.timer);if(clear_on_quickling_event){this.timer=require('setTimeout')(this._handleTimeout.bind(this),this.timeout);}else this.timer=require('setTimeoutAcrossTransitions')(this._handleTimeout.bind(this),this.timeout);}return this;};AsyncRequest.prototype._handleTimeout=function(){'use strict';this._requestTimeout=true;this.abandon();if(this._timesliceInteraction){this._timesliceInteraction.invokeWithProfiling('timeout_handler',function(){return this.timeoutHandler(this);}.bind(this));}else this.timeoutHandler(this);this._logError({timeout:this});};AsyncRequest.prototype.disableArtilleryTracing=function(){'use strict';this.shouldTraceWithArtillery=false;this._timesliceInteraction=null;return this;};AsyncRequest.prototype.setNewSerial=function(){'use strict';this.id=++last_id;return this;};AsyncRequest.prototype.setInterceptHandler=function(fn){'use strict';this.interceptHandler=fn;return this;};AsyncRequest.prototype.setFinallyHandler=function(fn){'use strict';this.finallyHandler=fn;return this;};AsyncRequest.prototype.setAbortHandler=function(fn){'use strict';this.abortHandler=fn;return this;};AsyncRequest.prototype.getServerDialogCancelHandler=function(){'use strict';return this.serverDialogCancelHandler;};AsyncRequest.prototype.setServerDialogCancelHandler=function(fn){'use strict';this.serverDialogCancelHandler=fn;return this;};AsyncRequest.prototype.setPreBootloadHandler=function(fn){'use strict';this.preBootloadHandler=fn;return this;};AsyncRequest.prototype.setReadOnly=function(readOnly){'use strict';if(!(typeof readOnly!='boolean'))this.readOnly=readOnly;return this;};AsyncRequest.prototype.getReadOnly=function(){'use strict';return this.readOnly;};AsyncRequest.prototype.setRelativeTo=function(element){'use strict';this.relativeTo=element;return this;};AsyncRequest.prototype.getRelativeTo=function(){'use strict';return this.relativeTo;};AsyncRequest.prototype.setStatusClass=function(c){'use strict';this.statusClass=c;return this;};AsyncRequest.prototype.setStatusElement=function(element){'use strict';this.statusElement=element;return this;};AsyncRequest.prototype.getStatusElement=function(){'use strict';return require('ge')(this.statusElement);};AsyncRequest.prototype._isRelevant=function(){'use strict';if(this._allowCrossPageTransition)return true;if(!this.id)return true;return this.id>id_threshold;};AsyncRequest.prototype.clearStatusIndicator=function(){'use strict';var statusElem=this.getStatusElement();if(statusElem){require('CSS').removeClass(statusElem,'async_saving');require('CSS').removeClass(statusElem,this.statusClass);}};AsyncRequest.prototype.addStatusIndicator=function(){'use strict';var statusElem=this.getStatusElement();if(statusElem){require('CSS').addClass(statusElem,'async_saving');require('CSS').addClass(statusElem,this.statusClass);}};AsyncRequest.prototype.specifiesWriteRequiredParams=function(){'use strict';return this.writeRequiredParams.every(function(param){this.data[param]=this.data[param]||require('Env')[param]||(require('ge')(param)||{}).value;if(this.data[param]!==undefined)return true;return false;},this);};AsyncRequest.prototype.setOption=function(opt,v){'use strict';if(typeof this.option[opt]!='undefined')this.option[opt]=v;return this;};AsyncRequest.prototype.getOption=function(opt){'use strict';typeof this.option[opt]=='undefined';return this.option[opt];};AsyncRequest.prototype.abort=function(){'use strict';if(this.transport){var old_handler=this.getTransportErrorHandler();this.setOption('suppressErrorAlerts',true);this.setTransportErrorHandler(require('emptyFunction'));this._requestAborted=true;this.transport.abort();this.setTransportErrorHandler(old_handler);}this.abortHandler();AsyncMultiplex.unschedule(this);};AsyncRequest.prototype.abandon=function(){'use strict';clearTimeout(this.timer);this.setOption('suppressErrorAlerts',true).setHandler(require('emptyFunction')).setErrorHandler(require('emptyFunction')).setTransportErrorHandler(require('emptyFunction'));if(this.transport){this._requestAborted=true;this.transport.abort();}this.abortHandler();AsyncMultiplex.unschedule(this);};AsyncRequest.prototype.setNectarData=function(nctrParams){'use strict';if(nctrParams){if(this.data.nctr===undefined)this.data.nctr={};Object.assign(this.data.nctr,nctrParams);}return this;};AsyncRequest.prototype.setNectarModuleDataSafe=function(elem){'use strict';if(this.setNectarModuleData)this.setNectarModuleData(elem);return this;};AsyncRequest.prototype.setAllowCrossPageTransition=function(allow){'use strict';this._allowCrossPageTransition=!!allow;if(this.timer)this.resetTimeout(this.timeout);return this;};AsyncRequest.prototype.setAllowIrrelevantRequests=function(allowIrrelevantRequests){'use strict';this._allowIrrelevantRequests=allowIrrelevantRequests;return this;};AsyncRequest.prototype.setAllowCrossOrigin=function(allow){'use strict';this._allowCrossOrigin=allow;return this;};AsyncRequest.prototype.setAllowCredentials=function(allow){'use strict';this._allowCredentials=allow;return this;};AsyncRequest.prototype.setIsBackgroundRequest=function(isBackgroundRequest){'use strict';this._isBackgroundRequest=isBackgroundRequest;return this;};AsyncRequest.prototype.setTimeSliceInteraction=function(interaction){'use strict';if(this.shouldTraceWithArtillery)this._timesliceInteraction=interaction;return this;};AsyncRequest.prototype.send=function(isRetry){var _uri$addQueryData;'use strict';isRetry=isRetry||false;if(!this.uri)return false;!this.errorHandler&&!this.getOption('suppressErrorHandlerWarning');if(this.getOption('jsonp')&&this.method!='GET')this.setMethod('GET');if(this.getOption('useIframeTransport')&&this.method!='GET')this.setMethod('GET');this.timeoutHandler!==null&&(this.getOption('jsonp')||this.getOption('useIframeTransport'));if(!this.getReadOnly()){this.specifiesWriteRequiredParams();if(this.method!='POST')return false;}Object.assign(this.data,require('getAsyncParams')(this.method));if(this.shouldTraceWithArtillery){if(this._timesliceInteraction==null){this._timesliceInteraction=require('TimeSliceInteraction').create('async_request');this._timesliceInteraction.setIsDefaultAsyncInteraction();}this._timesliceInteraction.trace().addStringAnnotation('uri',this.getURI());this._timesliceInteraction.inform('async_request_sent',{type:require('ArtilleryJSPointTypes').ASYNC_REQUEST_SENT});}if(!require('isEmpty')(this.context)){Object.assign(this.data,this.context);this.data.ajax_log=1;}if(require('Env').force_param)Object.assign(this.data,require('Env').force_param);this._setUserActionID();if(this.getOption('bundle')&&this._isMultiplexable()){AsyncMultiplex.schedule(this);return true;}this.setNewSerial();if(!this.getOption('asynchronous_DEPRECATED'))this.uri.addQueryData({__s:1});this.uri.addQueryData((_uri$addQueryData={},_uri$addQueryData[require('PixelRatioConst').cookieName]=require('WebPixelRatio').getOriginalValue(),_uri$addQueryData));require('Arbiter').inform('AsyncRequest/send',{request:this});var uri_str,query;if(this.method=='GET'||this.rawData){uri_str=this.uri.addQueryData(this.data).toString();query=this.rawData||'';}else{if(this._allowCrossOrigin)this.uri.addQueryData({__a:1});uri_str=this.uri.toString();query=require('PHPQuerySerializer').serialize(this.data);}if(this.transport)return false;if(this.getOption('jsonp')||this.getOption('useIframeTransport')){requireLazy(['JSONPTransport'],function(JSONPTransport){var transport=new JSONPTransport(this.getOption('jsonp')?'jsonp':'iframe',this.uri);this.setJSONPTransport(transport);transport.send();}.bind(this));return true;}var transport=require('ZeroRewrites').getTransportBuilderForURI(this.uri)();if(!transport)return false;var guardedOnReadyStateChange=require('TimeSlice').guard(this._onStateChange,'XHR.onreadystatechange',{isContinuation:true});transport.onreadystatechange=function(){if(this.transport.readyState===4)guardedOnReadyStateChange();}.bind(this);if(this.uploadProgressHandler&&supportsUploadProgress(transport))transport.upload.onprogress=this.uploadProgressHandler.bind(this);if(!isRetry)this.remainingRetries=this.getOption('retries');if(global.ErrorSignal)this._sendTimeStamp=this._sendTimeStamp||Date.now();this.transport=transport;try{this.transport.open(this.method,uri_str,this.getOption('asynchronous_DEPRECATED'));}catch(exception){return false;}if(!this.uri.isSameOrigin()&&!this.getOption('jsonp')&&!this.getOption('useIframeTransport')){if(!supportsCrossOrigin(this.transport))return false;if((require('isFacebookURI')(this.uri)||require('isMessengerDotComURI')(this.uri))&&this._allowCredentials!==false)this.transport.withCredentials=true;}if(this.method=='POST'&&!this.rawData)this.transport.setRequestHeader('Content-Type','application/x-www-form-urlencoded');if(this._isBackgroundRequest)this.transport.setRequestHeader('X_FB_BACKGROUND_STATE','1');var asyncHeaders=require('getAsyncHeaders')(this.uri);Object.keys(asyncHeaders).forEach(function(name){this.transport.setRequestHeader(name,asyncHeaders[name]);}.bind(this));require('Arbiter').inform('AsyncRequest/will_send',{request:this});for(var headerName in this.headers)if(this.headers.hasOwnProperty(headerName))this.transport.setRequestHeader(headerName,this.headers[headerName]);this.addStatusIndicator();this.transport.send(query);if(this.timeout!==null)this.resetTimeout(this.timeout);AsyncRequest._inflightCount++;AsyncRequest._inflightAdd(this);require('ProfilingCounters').incrementCounter('ASYNC_REQUEST_COUNT',1);return true;};AsyncRequest._inflightAdd=function(ar){'use strict';this._inflight.push(ar);};AsyncRequest._inflightPurge=function(){'use strict';AsyncRequest._inflight=AsyncRequest._inflight.filter(function(ar){return ar.transport&&ar.transport.readyState<4;});};AsyncRequest.prototype.exec=function(isRetry){'use strict';if(this.getHandler()!==require('emptyFunction')||this.getErrorHandler()!==require('AsyncResponse').defaultErrorHandler)throw new Error('exec is an async function and does not allow previously set handlers');return new (require('Promise'))(function(resolve,reject){this.setHandler(resolve).setErrorHandler(reject).send(isRetry);}.bind(this));};AsyncRequest.bootstrap=function(href,elem,is_post){'use strict';var method='GET',readonly=true,data={};if(is_post||elem&&elem.rel=='async-post'){method='POST';readonly=false;if(href){href=new (require('URI'))(href);data=href.getQueryData();href.setQueryData({});}}var status_elem=require('Parent').byClass(elem,'stat_elem')||elem;if(status_elem&&require('CSS').hasClass(status_elem,'async_saving'))return false;var async=new AsyncRequest(href).setReadOnly(readonly).setMethod(method).setData(data).setNectarModuleDataSafe(elem).setRelativeTo(elem);if(elem){async.setHandler(function(response){require('Event').fire(elem,'success',{response:response});});async.setErrorHandler(function(response){if(require('Event').fire(elem,'error',{response:response})!==false)require('AsyncResponse').defaultErrorHandler(response);});}if(status_elem){async.setStatusElement(status_elem);var status_class=status_elem.getAttribute('data-status-class');status_class&&async.setStatusClass(status_class);}async.send();return false;};AsyncRequest.post=function(href,data){'use strict';new AsyncRequest(href).setReadOnly(false).setMethod('POST').setData(data).send();return false;};AsyncRequest.getLastID=function(){'use strict';return last_id;};AsyncRequest.getInflightCount=function(){'use strict';return this._inflightCount;};AsyncRequest._inflightEnable=function(){'use strict';if(require('UserAgent_DEPRECATED').ie())require('Run').onUnload(function(){AsyncRequest._inflight.forEach(function(ar){if(ar.transport&&ar.transport.readyState<4){ar.transport.abort();delete ar.transport;}});});};Object.assign(AsyncRequest,{suppressOnloadToken:{},_inflight:[],_inflightCount:0,_inflightAdd:require('emptyFunction'),_inflightPurge:require('emptyFunction')});var _asyncMultiplex,_pendingAsyncMultiplexes=[];function AsyncMultiplex(){'use strict';this._requests=[];}AsyncMultiplex.prototype.add=function(request){'use strict';this._requests.push(request);};AsyncMultiplex.prototype.remove=function(request){'use strict';var requests=this._requests,requestsSent=this._requestsSent;for(var ii=0,jj=requests.length;ii<jj;ii++)if(requests[ii]===request)if(requestsSent){requests[ii]=null;}else requests.splice(ii,1);};AsyncMultiplex.prototype.send=function(){'use strict';!this._requestsSent||invariant(0);this._requestsSent=true;this._wrapperRequest=null;var requests=this._requests;if(!requests.length)return;var request;if(requests.length===1){request=requests[0];}else{var data=requests.map(function(request){return [request.uri.getPath(),require('PHPQuerySerializer').serialize(request.data)];});request=this._wrapperRequest=new AsyncRequest('/ajax/proxy.php').setAllowCrossPageTransition(true).setData({data:data}).setHandler(this._handler.bind(this)).setTransportErrorHandler(this._transportErrorHandler.bind(this));}request.setOption('bundle',false).send();};AsyncMultiplex.prototype._handler=function(response){'use strict';var responses=response.getPayload().responses;if(responses.length!==this._requests.length)return;for(var ii=0;ii<this._requests.length;ii++){var request=this._requests[ii];if(request===null)continue;var request_path=request.uri.getPath();if(this._wrapperRequest)request.id=this._wrapperRequest.id;if(responses[ii][0]!==request_path){request.invokeResponseHandler({transportError:'Wrong response order in bundled request to '+request_path});continue;}request.handleResponse(responses[ii][1]);}_pendingAsyncMultiplexes.splice(_pendingAsyncMultiplexes.indexOf(this,1));};AsyncMultiplex.prototype._transportErrorHandler=function(response){'use strict';var interpreted={transportError:response.errorDescription},paths=this._requests.map(function(request){if(this._wrapperRequest)request.id=this._wrapperRequest.id;request.invokeResponseHandler(interpreted);return request.uri.getPath();},this);};AsyncMultiplex.schedule=function(request){'use strict';if(!_asyncMultiplex){_asyncMultiplex=new AsyncMultiplex();_pendingAsyncMultiplexes.push(_asyncMultiplex);require('setTimeout')(function(){_asyncMultiplex.send();_asyncMultiplex=null;},0);}_asyncMultiplex.add(request);return _asyncMultiplex;};AsyncMultiplex.unschedule=function(request){'use strict';_pendingAsyncMultiplexes.forEach(function(asyncMultiplex){asyncMultiplex.remove(request);});};AsyncRequest.EVENTS=EVENTS;global.AsyncRequest=AsyncRequest;module.exports=AsyncRequest;}),null);
__d('NonBlockingIFrame',['Promise','DOM','TimeSlice'],(function a(b,c,d,e,f,g){var h={},i,j;function k(){var n=arguments.length<=0||arguments[0]===undefined?h:arguments[0],o=arguments.length<=1||arguments[1]===undefined?document.body:arguments[1],p,q={className:'nonBlockingIframe',width:0,height:0,frameborder:0,scrolling:'no','aria-hidden':'true'};if(n!==h)q.src=n;p=c('DOM').create('iframe',q);p.style.left='-1000px';p.style.position='absolute';c('DOM').appendContent(o,p);if(n===h){p.contentDocument.open();p.contentDocument.close();}return p;}function l(){return new (c('Promise'))(function(n){if(!i)i=k();if(i.contentDocument.readyState==='complete'){n(i);}else{if(!j)j=new (c('Promise'))(function(o){i.contentWindow.onload=c('TimeSlice').guard(function(){o(i);},'NonBlockingIFrame window.onload');});n(j);}});}var m={loadImage:function n(o){return l().then(function(p){return new (c('Promise'))(function(q,r){var s=p.contentWindow.Image,t=new s();t.onload=c('TimeSlice').guard(function(){q(t);},'NonBlockingIFrame image.onload');t.onerror=c('TimeSlice').guard(function(){r(t);},'NonBlockingIFrame image.onerror');t.onabort=c('TimeSlice').guard(function(){r(t);},'NonBlockingIFrame image.onabort');t.src=o;});});},loadIFrame:function n(){var o=arguments.length<=0||arguments[0]===undefined?h:arguments[0];return l().then(function(p){var q=p.contentDocument.body;return k(o,q);});}};f.exports=m;}),null);
__d('isAdsExcelAddinURI',[],(function a(b,c,d,e,f,g){var h=new RegExp('(^|\\.)fbaddins\\.com$','i'),i=['https'];function j(k){if(k.isEmpty()&&k.toString()!=='#')return false;if(!k.getDomain()&&!k.getProtocol())return false;return (i.indexOf(k.getProtocol())!==-1&&h.test(k.getDomain()));}f.exports=j;}),null);
__d('isValidURI',[],(function a(b,c,d,e,f,g){var h=new RegExp('((^|\\.)atlassolutions\\.com$)|'+'((^|\\.)instagram\\.com$)|'+'((^|\\.)wit\\.ai$)|'+'((^|\\.)accountkit\\.com$)','i'),i=['https'];function j(k){if(k.isEmpty()&&k.toString()!=='#')return false;if(!k.getDomain()&&!k.getProtocol())return false;return (i.includes(k.getProtocol())&&h.test(k.getDomain()));}f.exports=j;}),null);
__d('AsyncSignal',['Promise','ErrorUtils','NonBlockingIFrame','Run','QueryString','TrackingConfig','URI','WebSpeedExperiments','ZeroRewrites','isValidURI','isAdsExcelAddinURI','isFacebookURI','isMessengerDotComURI','getAsyncParams','memoize'],(function a(b,c,d,e,f,g){var h;function i(j,k){this.data=k||{};this.uri=j.toString();if(c('TrackingConfig').domain&&this.uri.charAt(0)=='/')this.uri=c('TrackingConfig').domain+this.uri;}i.prototype.setHandler=function(j){this.handler=j;return this;};i.prototype.setTimeout=function(j){this.timeout=j;return this;};i.prototype.send=function(){var j=this.handler,k=this.data;k.asyncSignal=(Math.random()*10000|0)+1;var l=c('ZeroRewrites').rewriteURI(new (c('URI'))(this.uri)),m=c('isFacebookURI')(l)||c('isMessengerDotComURI')(l)||c('isAdsExcelAddinURI')(l)||c('isValidURI')(l);if(m){Object.assign(k,c('getAsyncParams')('POST'));}else throw new Error("'"+this.uri+"' "+"is an external URL, you should not send async signals to offsite links.");var n=c('QueryString').appendToUrl(this.uri,k),o;if(c('WebSpeedExperiments').non_blocking_logger){o=c('NonBlockingIFrame').loadImage(n);}else{if(!h)h=new (c('Promise'))(function(r){c('Run').onAfterLoad(r);});o=h.then(function(){return new (c('Promise'))(function(r,s){var t=new Image();t.onload=r;t.onerror=t.onabort=s;t.src=n;});});}if(j){var p=false,q=c('memoize')(function(){c('ErrorUtils').applyWithGuard(j,null,[p]);});o.then(function(){p=true;q();},q).done();if(this.timeout)setTimeout(q,this.timeout);}return this;};f.exports=i;}),null);
__d('BootloadedReact',['Bootloader'],(function a(b,c,d,e,f,g){var h=typeof Symbol==='function'&&Symbol['for']&&Symbol['for']('react.element')||60103,i=function k(l){c('Bootloader').loadModules(["ReactDOM"],l,'BootloadedReact');},j={isValidElement:function k(l){return !!(typeof l==='object'&&l!==null&&l.$$typeof===h);},render:function k(l,m,n){i(function(o){var p=o.render(l,m);n&&n(p);});},unmountComponentAtNode:function k(l,m){i(function(n){n.unmountComponentAtNode(l);m&&m();});}};f.exports=j;}),null);
__d('getOrCreateDOMID',['uniqueID'],(function a(b,c,d,e,f,g){function h(i){if(!i.id)i.id=c('uniqueID')();return i.id;}f.exports=h;}),null);
__d('ContextualThing',['CSS','containsNode','ge','getOrCreateDOMID'],(function a(b,c,d,e,f,g){var h={register:function i(j,k){j.setAttribute('data-ownerid',c('getOrCreateDOMID')(k));},containsIncludingLayers:function i(j,k){var l=k;while(l){if(c('containsNode')(j,l))return true;l=h.getContext(l);}return false;},getContext:function i(j){var k=j,l=void 0;while(k){if(k.getAttribute&&(l=k.getAttribute('data-ownerid')))return c('ge')(l);k=k.parentNode;}return null;},parentByClass:function i(j,k){var l=j,m=void 0;while(l&&!c('CSS').hasClass(l,k))if(l.getAttribute&&(m=l.getAttribute('data-ownerid'))){l=c('ge')(m);}else l=l.parentNode;return l;}};f.exports=h;}),null);
__d('DOMControl',['DataStore','$'],(function a(b,c,d,e,f,g){function h(i){'use strict';this.root=c('$')(i);this.updating=false;c('DataStore').set(i,'DOMControl',this);}h.prototype.getRoot=function(){'use strict';return this.root;};h.prototype.beginUpdate=function(){'use strict';if(this.updating)return false;this.updating=true;return true;};h.prototype.endUpdate=function(){'use strict';this.updating=false;};h.prototype.update=function(i){'use strict';if(!this.beginUpdate())return this;this.onupdate(i);this.endUpdate();};h.prototype.onupdate=function(i){'use strict';};h.getInstance=function(i){'use strict';return c('DataStore').get(i,'DOMControl');};f.exports=h;}),null);
__d('DOMDimensions',['Style','getDocumentScrollElement'],(function a(b,c,d,e,f,g){var h={getElementDimensions:function i(j){return {width:j.offsetWidth||0,height:j.offsetHeight||0};},getDocumentDimensions:function i(j){var k=c('getDocumentScrollElement')(j),l=k.scrollWidth||0,m=k.scrollHeight||0;return {width:l,height:m};},measureElementBox:function i(j,k,l,m,n){var o;switch(k){case 'left':case 'right':case 'top':case 'bottom':o=[k];break;case 'width':o=['left','right'];break;case 'height':o=['top','bottom'];break;default:throw Error('Invalid plane: '+k);}var p=function q(r,s){var t=0;for(var u=0;u<o.length;u++)t+=parseInt(c('Style').get(j,r+'-'+o[u]+s),10)||0;return t;};return (l?p('padding',''):0)+(m?p('border','-width'):0)+(n?p('margin',''):0);}};f.exports=h;}),null);
__d('KeyStatus',['Event','ExecutionEnvironment'],(function a(b,c,d,e,f,g){var h=null,i=null;function j(){if(!i)i=c('Event').listen(window,'blur',function(){h=null;k();});}function k(){if(i){i.remove();i=null;}}function l(event){h=c('Event').getKeyCode(event);j();}function m(){h=null;k();}if(c('ExecutionEnvironment').canUseDOM){var n=document.documentElement;if(n.addEventListener){n.addEventListener('keydown',l,true);n.addEventListener('keyup',m,true);}else if(n.attachEvent){var o=n.attachEvent;o('onkeydown',l);o('onkeyup',m);}}var p={isKeyDown:function q(){return !!h;},getKeyDownCode:function q(){return h;}};f.exports=p;}),null);
__d('getElementText',['isElementNode','isTextNode'],(function a(b,c,d,e,f,g){var h=null;function i(j){if(c('isTextNode')(j)){return j.data;}else if(c('isElementNode')(j)){if(h===null){var k=document.createElement('div');h=k.textContent!=null?'textContent':'innerText';}return j[h];}else return '';}f.exports=i;}),null);
__d('TooltipData',['DataStore','DOM','URI','getElementText','ifRequired','isTextNode'],(function a(b,c,d,e,f,g){function h(m){var n=m.getAttribute('data-tooltip-delay'),o=n?parseInt(n,10)||1000:0;return babelHelpers['extends']({content:m.getAttribute('data-tooltip-content'),delay:o,position:m.getAttribute('data-tooltip-position')||'above',alignH:m.getAttribute('data-tooltip-alignh')||'left',suppress:false,overflowDisplay:m.getAttribute('data-tooltip-display')==='overflow',persistOnClick:m.getAttribute('data-pitloot-persistonclick'),textDirection:m.getAttribute('data-tooltip-text-direction')},c('DataStore').get(m,'tooltip'));}function i(m,n){var o=h(m);c('DataStore').set(m,'tooltip',{content:n.content||o.content,position:n.position||o.position,alignH:n.alignH||o.alignH,suppress:n.suppress!==undefined?n.suppress:o.suppress,overflowDisplay:n.overflowDisplay||o.overflowDisplay,persistOnClick:n.persistOnClick||o.persistOnClick});}function j(m,n){i(m,n);m.setAttribute('data-hover','tooltip');}function k(m,n){}var l={remove:function m(n){c('DataStore').remove(n,'tooltip');n.removeAttribute('data-hover');n.removeAttribute('data-tooltip-position');n.removeAttribute('data-tooltip-alignh');c('ifRequired')('Tooltip',function(o){o.isActive(n)&&o.hide();});},set:function m(n,o,p,q){k(n,o);if(o instanceof c('URI')){n.setAttribute('data-tooltip-uri',o);c('ifRequired')('Tooltip',function(s){s.isActive(n)&&s.fetchIfNecessary(n);});}else{var r=l._store({context:n,content:o,position:p,alignH:q});if(typeof r.content!=='string'){n.setAttribute('data-tooltip-content',c('getElementText')(r.content));}else n.setAttribute('data-tooltip-content',r.content);c('ifRequired')('Tooltip',function(s){s.isActive(n)&&s.show(n);});}},_store:function m(n){var o=n.context,p=n.content,q=n.position,r=n.alignH;k(o,p);if(c('isTextNode')(p))p=c('getElementText')(p);var s=false;if(typeof p!=='string'){p=c('DOM').create('div',{},p);}else s=p==='';var t={alignH:r,content:p,position:q,suppress:s};j(o,t);return t;},propsFor:function m(n,o){if(!n)return {};var p={'data-tooltip-content':n,'data-hover':'tooltip'};if(o)p['data-tooltip-position']=o;return p;},enableDisplayOnOverflow:function m(n){n.removeAttribute('data-tooltip-display');j(n,{overflowDisplay:true});},enablePersistOnClick:function m(n){n.removeAttribute('data-pitloot-persistOnClick');j(n,{persistOnClick:true});},suppress:function m(n,o){i(n,{suppress:o});},_get:h};f.exports=l;}),null);
__d('Focus',['cx','CSS','Event','KeyStatus','Run','TooltipData','ge','getOrCreateDOMID','ifRequired'],(function a(b,c,d,e,f,g,h){var i=c('KeyStatus').isKeyDown,j={},k=void 0,l={set:function r(s){var t=arguments.length<=1||arguments[1]===undefined?false:arguments[1];if(s){var u=c('ifRequired')('VirtualCursorStatus',function(v){return v.isVirtualCursorTriggered();},function(){return false;});if(t||i()||u){m(s);}else l.setWithoutOutline(s);}},setWithoutOutline:function r(s){if(s){c('CSS').addClass(s,"_5f0v");var t=c('Event').listen(s,'blur',function(){c('CSS').removeClass(s,"_5f0v");t.remove();});c('TooltipData').suppress(s,true);m(s);c('TooltipData').suppress(s,false);}},relocate:function r(s,t){function u(v){c('CSS').conditionClass(t,"_3oxt",v);c('CSS').conditionClass(t,"_16jm",v);}c('CSS').addClass(s,"_5f0v");return l.listen(s,u);},listen:function r(s,t){o();var u=c('getOrCreateDOMID')(s);j[u]=t;return n(u);}};function m(r){try{r.tabIndex=r.tabIndex;r.focus();}catch(s){}}function n(r){c('Run').onLeave(function(){!c('ge')(r)&&q(r);});return {remove:function s(){return q(r);}};}function o(){if(k)return;c('Event').listen(document.documentElement,'focusout',p);c('Event').listen(document.documentElement,'focusin',p);k=true;}function p(event){var r=event.getTarget();if(typeof j[r.id]==='function'){var s=event.type==='focusin'||event.type==='focus';j[r.id](s);}}function q(r){if(j[r])delete j[r];}f.exports=l;}),null);
__d('Input',['CSS','DOMQuery','DOMControl'],(function a(b,c,d,e,f,g){var h={isWhiteSpaceOnly:function i(j){return !/\S/.test(j||'');},isEmpty:function i(j){return h.isWhiteSpaceOnly(j.value);},getValue:function i(j){return h.isEmpty(j)?'':j.value;},getValueRaw:function i(j){return j.value;},setValue:function i(j,k){j.value=k||'';var l=c('DOMControl').getInstance(j);l&&l.resetHeight&&l.resetHeight();},setPlaceholder:function i(j,k){j.setAttribute('aria-label',k);j.setAttribute('placeholder',k);},reset:function i(j){j.value='';j.style.height='';},setSubmitOnEnter:function i(j,k){c('CSS').conditionClass(j,'enter_submit',k);},getSubmitOnEnter:function i(j){return c('CSS').hasClass(j,'enter_submit');},setMaxLength:function i(j,k){if(k>0){j.setAttribute('maxlength',k);}else j.removeAttribute('maxlength');}};f.exports=h;}),null);
__d('Random',['ServerNonce','Alea'],(function a(b,c,d,e,f,g){'use strict';var h=4294967296,i=c('ServerNonce').ServerNonce,j=c('Alea')(i),k={random:function l(){if(typeof window!=='undefined'&&typeof Uint32Array!=='undefined'){var m=new Uint32Array(1);if(window.crypto&&window.crypto.getRandomValues){return window.crypto.getRandomValues(m)[0]/h;}else if(window.msCrypto&&window.msCrypto.getRandomValues)return window.msCrypto.getRandomValues(m)[0]/h;}return j();},uint32:function l(){return Math.floor(this.random()*h);}};f.exports=k;}),null);
__d('getElementRect',['containsNode'],(function a(b,c,d,e,f,g){function h(i){var j=i.ownerDocument.documentElement;if(!('getBoundingClientRect' in i)||!c('containsNode')(j,i))return {left:0,right:0,top:0,bottom:0};var k=i.getBoundingClientRect();return {left:Math.round(k.left)-j.clientLeft,right:Math.round(k.right)-j.clientLeft,top:Math.round(k.top)-j.clientTop,bottom:Math.round(k.bottom)-j.clientTop};}f.exports=h;}),null);
__d('getElementPosition',['getElementRect'],(function a(b,c,d,e,f,g){function h(i){var j=c('getElementRect')(i);return {x:j.left,y:j.top,width:j.right-j.left,height:j.bottom-j.top};}f.exports=h;}),null);
__d('Form',['DataStore','DOM','DOMQuery','DTSG','Input','LSD','Random','PHPQuerySerializer','URI','getElementPosition','isFacebookURI','isNode'],(function a(b,c,d,e,f,g){var h='FileList' in window,i='FormData' in window;function j(l){var m={};c('PHPQuerySerializer').serialize(l).split('&').forEach(function(n){if(n){var o=/^([^=]*)(?:=(.*))?$/.exec(n),p=c('URI').decodeComponent(o[1]),q=o[2]!==undefined,r=q?c('URI').decodeComponent(o[2]):null;m[p]=r;}});return m;}var k={getInputs:function l(){var m=arguments.length<=0||arguments[0]===undefined?document:arguments[0];return [].concat(c('DOMQuery').scry(m,'input'),c('DOMQuery').scry(m,'select'),c('DOMQuery').scry(m,'textarea'),c('DOMQuery').scry(m,'button'));},getInputsByName:function l(m){var n={};k.getInputs(m).forEach(function(o){var p=n[o.name];n[o.name]=typeof p==='undefined'?o:[o].concat(p);});return n;},getSelectValue:function l(m){return m.options[m.selectedIndex].value;},setSelectValue:function l(m,n){for(var o=0;o<m.options.length;++o)if(m.options[o].value==n){m.selectedIndex=o;break;}},getRadioValue:function l(m){for(var n=0;n<m.length;n++)if(m[n].checked)return m[n].value;return null;},getElements:function l(m){return m.tagName=='FORM'&&m.elements!=m?Array.from(m.elements):k.getInputs(m);},getAttribute:function l(m,n){return (m.getAttributeNode(n)||{}).value||null;},setDisabled:function l(m,n){k.getElements(m).forEach(function(o){if(o.disabled!==undefined){var p=c('DataStore').get(o,'origDisabledState');if(n){if(p===undefined)c('DataStore').set(o,'origDisabledState',o.disabled);o.disabled=n;}else if(p===false)o.disabled=false;}});},forEachValue:function l(m,n,o){k.getElements(m).forEach(function(p){if(!p.name||p.disabled)return;if(p.type==='submit')return;if(p.type==='reset'||p.type==='button'||p.type==='image')return;if((p.type==='radio'||p.type==='checkbox')&&!p.checked)return;if(p.nodeName==='SELECT'){for(var q=0,r=p.options.length;q<r;q++){var s=p.options[q];if(s.selected)o('select',p.name,s.value);}return;}if(p.type==='file'){if(h){var t=p.files;for(var u=0;u<t.length;u++)o('file',p.name,t.item(u));}return;}o(p.type,p.name,c('Input').getValue(p));});if(n&&n.name&&n.type==='submit'&&c('DOMQuery').contains(m,n)&&c('DOMQuery').isNodeOfType(n,['input','button']))o('submit',n.name,n.value);},createFormData:function l(m,n){if(!i)return null;var o=new FormData();if(m)if(c('isNode')(m)){k.forEachValue(m,n,function(r,s,t){o.append(s,t);});}else{var p=j(m);for(var q in p)if(p[q]==null){o.append(q,'');}else o.append(q,p[q]);}return o;},serialize:function l(m,n){var o={};k.forEachValue(m,n,function(p,q,r){if(p==='file')return;k._serializeHelper(o,q,r);});return k._serializeFix(o);},_serializeHelper:function l(m,n,o){var p=Object.prototype.hasOwnProperty,q=/([^\]]+)\[([^\]]*)\](.*)/.exec(n);if(q){if(!m[q[1]]||!p.call(m,q[1])){var r;m[q[1]]=r={};if(m[q[1]]!==r)return;}var s=0;if(q[2]===''){while(m[q[1]][s]!==undefined)s++;}else s=q[2];if(q[3]===''){m[q[1]][s]=o;}else k._serializeHelper(m[q[1]],s.concat(q[3]),o);}else m[n]=o;},_serializeFix:function l(m){for(var n in m)if(m[n] instanceof Object)m[n]=k._serializeFix(m[n]);var o=Object.keys(m);if(o.length===0||o.some(isNaN))return m;o.sort(function(r,s){return r-s;});var p=0,q=o.every(function(r){return +r===p++;});if(q)return o.map(function(r){return m[r];});return m;},post:function l(m,n,o){var p=arguments.length<=3||arguments[3]===undefined?true:arguments[3],q=new (c('URI'))(m),r=document.createElement('form');r.action=q.toString();r.method='POST';r.style.display='none';var s=!c('isFacebookURI')(q);if(o){if(s){r.rel='noopener';if(o==='_blank'){o=btoa(c('Random').uint32());var t=window.open('about:blank',o);if(!(t===undefined))t.opener=null;}}r.target=o;}if(p)if(!s&&q.getSubdomain()!=='apps'){n.fb_dtsg=c('DTSG').getToken();if(c('LSD').token)n.lsd=c('LSD').token;}k.createHiddenInputs(n,r);c('DOMQuery').getRootElement().appendChild(r);r.submit();return false;},createHiddenInputs:function l(m,n,o){var p=arguments.length<=3||arguments[3]===undefined?false:arguments[3];o=o||{};var q=j(m);for(var r in q){if(q[r]===null)continue;if(o[r]&&p){o[r].value=q[r];}else{var s=c('DOM').create('input',{type:'hidden',name:r,value:q[r]});o[r]=s;n.appendChild(s);}}return o;},getFirstElement:function l(m){var n=arguments.length<=1||arguments[1]===undefined?['input[type="text"]','textarea','input[type="password"]','input[type="button"]','input[type="submit"]']:arguments[1],o=[];for(var p=0;p<n.length;p++){o=c('DOMQuery').scry(m,n[p]);for(var q=0;q<o.length;q++){var r=o[q];try{var t=c('getElementPosition')(r);if(t.y>0&&t.x>0)return r;}catch(s){}}}return null;},focusFirst:function l(m){var n=k.getFirstElement(m);if(n){n.focus();return true;}return false;}};f.exports=k;}),null);
__d('KeyEventController',['DOMQuery','Event','Run','emptyFunction','getElementText','isEmpty'],(function a(b,c,d,e,f,g){var h=null,i=['input','select','textarea','object','embed'],j={button:1,checkbox:1,radio:1,submit:1,file:1},k={BACKSPACE:[8],TAB:[9],RETURN:[13],ESCAPE:[27],LEFT:[37,63234],UP:[38,63232],RIGHT:[39,63235],DOWN:[40,63233],DELETE:[46],COMMA:[188],PERIOD:[190],SLASH:[191],'`':[192],'[':[219],']':[221],PAGE_UP:[33],PAGE_DOWN:[34],END:[35],HOME:[36],SPACE:[32],KP_DOT:[46,110]},l={8:1,9:1,13:1,27:1,32:1,37:1,63234:1,38:1,63232:1,39:1,63235:1,40:1,63233:1,46:1};function m(){'use strict';this.handlers={};document.onkeyup=this.onkeyevent.bind(this,'onkeyup');document.onkeydown=this.onkeyevent.bind(this,'onkeydown');document.onkeypress=this.onkeyevent.bind(this,'onkeypress');}m.prototype.mapKey=function(n){'use strict';if(n>=0&&n<=9){if(typeof n!='number')n=n.charCodeAt(0)-48;return [48+n,96+n];}var o=k[n.toUpperCase()];if(o)return o;return [n.toUpperCase().charCodeAt(0)];};m.prototype.onkeyevent=function(n,o){'use strict';o=c('Event').$E(o);var p=this.handlers[o.keyCode]||this.handlers[o.which],q,r,s;if(p)for(var t=0;t<p.length;t++){q=p[t].callback;r=p[t].filter;try{if(!r||r(o,n)){s=q(o,n);if(s===false)return c('Event').kill(o);}}catch(u){}}return true;};m.prototype.resetHandlers=function(){'use strict';for(var n in this.handlers)if(this.handlers.hasOwnProperty(n)){var o=this.handlers[n].filter(function(p){return p.preserve();});if(o.length){this.handlers[n]=o;}else delete this.handlers[n];}};m.getInstance=function(){'use strict';return h||(h=new m());};m.defaultFilter=function(event,n){'use strict';event=c('Event').$E(event);return m.filterEventTypes(event,n)&&m.filterEventTargets(event,n)&&m.filterEventModifiers(event,n);};m.filterEventTypes=function(event,n){'use strict';if(n==='onkeydown')return true;return false;};m.filterEventTargets=function(event,n){'use strict';var o=event.getTarget(),p=o.contentEditable==='true'||o.contentEditable==='plaintext-only';return (!(p||c('DOMQuery').isNodeOfType(o,i))||o.type in j||event.keyCode in l&&(c('DOMQuery').isNodeOfType(o,['input','textarea'])&&o.value.length===0||p&&c('getElementText')(o).length===0));};m.filterEventModifiers=function(event,n){'use strict';if(event.ctrlKey||event.altKey||event.metaKey||event.repeat)return false;return true;};m.registerKey=function(n,o){var p=arguments.length<=2||arguments[2]===undefined?m.defaultFilter:arguments[2],q=arguments.length<=3||arguments[3]===undefined?false:arguments[3],r=arguments.length<=4||arguments[4]===undefined?c('emptyFunction').thatReturnsFalse:arguments[4];'use strict';var s=m.getInstance(),t=s.mapKey(n);if(c('isEmpty')(s.handlers))c('Run').onLeave(s.resetHandlers.bind(s));var u={};for(var v=0;v<t.length;v++){n=t[v];if(!s.handlers[n]||q)s.handlers[n]=[];var w={callback:o,filter:p,preserve:r};u[n]=w;s.handlers[n].push(w);}return {remove:function x(){for(var y in u){if(s.handlers[y]&&s.handlers[y].length){var z=s.handlers[y].indexOf(u[y]);z>=0&&s.handlers[y].splice(z,1);}delete u[y];}}};};f.exports=m;}),null);
__d("debounceCore",[],(function a(b,c,d,e,f,g){function h(i,j,k,l,m){l=l||setTimeout;m=m||clearTimeout;var n=void 0;function o(){for(var p=arguments.length,q=Array(p),r=0;r<p;r++)q[r]=arguments[r];o.reset();var s=function t(){i.apply(k,q);};s.__SMmeta=i.__SMmeta;n=l(s,j);}o.reset=function(){m(n);};return o;}f.exports=h;}),null);
__d('debounce',['debounceCore','setTimeout'],(function a(b,c,d,e,f,g){function h(i,j,k,l){if(j==null)j=100;var m=function n(o,p,q){return c('setTimeout')(o,p,q,!l);};return c('debounceCore')(i,j,k,m);}f.exports=h;}),null);
__d('EventListener',['Event','TimeSlice','emptyFunction','setImmediateAcrossTransitions'],(function a(b,c,d,e,f,g){var h={listen:c('Event').listen,capture:function i(j,k,l){l=c('TimeSlice').guard(l,'EventListener capture '+k);if(j.addEventListener){j.addEventListener(k,l,true);return {remove:function m(){j.removeEventListener(k,l,true);}};}else return {remove:c('emptyFunction')};},registerDefault:function i(j,k){var l=void 0,m=c('Event').listen(document.documentElement,j,n,c('Event').Priority._BUBBLE);function n(){o();l=c('Event').listen(document,j,k);c('setImmediateAcrossTransitions')(o);}function o(){l&&l.remove();l=null;}return {remove:function p(){o();m&&m.remove();m=null;}};}};f.exports=h;}),null);
__d('QueryHistory',[],(function a(b,c,d,e,f,g){var h={},i={set:function j(k,l){h[this._key(k)]=l;},get:function j(k){return h[this._key(k)];},_key:function j(k){return 'uri-'+k.getQualifiedURI().toString();}};f.exports=i;}),null);
__d('SimpleSearchNavigation',['Arbiter','DOMQuery','Input','QueryHistory','URI'],(function a(b,c,d,e,f,g){var h=null,i=null,j={registerInput:function k(l,m){i=c('DOMQuery').scry(l,'input')[0];if(h)this._updateTitle(h,m);c('Arbiter').subscribe('page_transition',function(n,o){this._updateTitle(c('QueryHistory').get(o.uri));}.bind(this));},_updateTitle:function k(l,m){if(i){c('Input').setValue(i,l||'');i.setAttribute('singlestate',l&&m);i.blur();}},setPageTitle:function k(l,m){c('QueryHistory').set(c('URI').getNextURI(),l);if(i){this._updateTitle(l,m);}else h=l;var n={};c('Arbiter').inform('search/updateNullState',n,c('Arbiter').BEHAVIOR_STATE);},setPageQuery:function k(l){c('Arbiter').inform('search/updateNullState',l,c('Arbiter').BEHAVIOR_STATE);}};f.exports=j;}),null);
__d('csx',[],(function a(b,c,d,e,f,g){function h(i){throw new Error('csx: Unexpected class selector transformation.');}f.exports=h;}),null);
__d('Button',['csx','cx','CSS','DataStore','DOM','Event','Parent','emptyFunction','isNode'],(function a(b,c,d,e,f,g,h,i){var j='uiButtonDisabled',k='uiButtonDepressed',l="_42fr",m="_42fs",n='button:blocker',o='href',p='ajaxify';function q(w,x){var y=c('DataStore').get(w,n);if(x){if(y){y.remove();c('DataStore').remove(w,n);}}else if(!y)c('DataStore').set(w,n,c('Event').listen(w,'click',c('emptyFunction').thatReturnsFalse,c('Event').Priority.URGENT));}function r(w){var x=c('Parent').byClass(w,'uiButton')||c('Parent').bySelector(w,"._42ft");if(!x)throw new Error('invalid use case');return x;}function s(w){return c('DOM').isNodeOfType(w,'a');}function t(w){return c('DOM').isNodeOfType(w,'button');}function u(w){return c('CSS').matchesSelector(w,"._42ft");}var v={getInputElement:function w(x){x=r(x);if(s(x))throw new Error('invalid use case');return t(x)?x:c('DOM').find(x,'input');},isEnabled:function w(x){return !(c('CSS').hasClass(r(x),j)||c('CSS').hasClass(r(x),l));},setEnabled:function w(x,y){x=r(x);var z=u(x)?l:j;c('CSS').conditionClass(x,z,!y);if(s(x)){var aa=x.getAttribute('href'),ba=x.getAttribute('ajaxify'),ca=c('DataStore').get(x,o,'#'),da=c('DataStore').get(x,p);if(y){if(!aa)x.setAttribute('href',ca);if(!ba&&da)x.setAttribute('ajaxify',da);x.removeAttribute('tabIndex');}else{if(aa&&aa!==ca)c('DataStore').set(x,o,aa);if(ba&&ba!==da)c('DataStore').set(x,p,ba);x.removeAttribute('href');x.removeAttribute('ajaxify');x.setAttribute('tabIndex','-1');}q(x,y);}else{var ea=v.getInputElement(x);ea.disabled=!y;q(ea,y);}},setDepressed:function w(x,y){x=r(x);var z=u(x)?m:k;c('CSS').conditionClass(x,z,y);},isDepressed:function w(x){x=r(x);var y=u(x)?m:k;return c('CSS').hasClass(x,y);},setLabel:function w(x,y){x=r(x);if(u(x)){var z=[];if(y)z.push(y);var aa=c('DOM').scry(x,'.img')[0];if(aa)if(x.firstChild==aa){z.unshift(aa);}else z.push(aa);c('DOM').setContent(x,z);}else if(s(x)){var ba=c('DOM').find(x,'span.uiButtonText');c('DOM').setContent(ba,y);}else v.getInputElement(x).value=y;var ca=u(x)?"_42fv":'uiButtonNoText';c('CSS').conditionClass(x,ca,!y);},getIcon:function w(x){x=r(x);return c('DOM').scry(x,'.img')[0];},setIcon:function w(x,y){if(y&&!c('isNode')(y))return;var z=v.getIcon(x);if(!y){z&&c('DOM').remove(z);return;}c('CSS').addClass(y,'customimg');if(z!=y)if(z){c('DOM').replace(z,y);}else c('DOM').prependContent(r(x),y);}};f.exports=v;}),null);
__d('BehaviorsMixin',[],(function a(b,c,d,e,f,g){function h(l){'use strict';this.$InstalledBehavior1=l;this.$InstalledBehavior2=false;}h.prototype.enable=function(){'use strict';if(!this.$InstalledBehavior2){this.$InstalledBehavior2=true;this.$InstalledBehavior1.enable();}};h.prototype.disable=function(){'use strict';if(this.$InstalledBehavior2){this.$InstalledBehavior2=false;this.$InstalledBehavior1.disable();}};var i=1;function j(l){if(!l.__BEHAVIOR_ID)l.__BEHAVIOR_ID=i++;return l.__BEHAVIOR_ID;}var k={enableBehavior:function l(m){if(!this._behaviors)this._behaviors={};var n=j(m);if(!this._behaviors[n])this._behaviors[n]=new h(new m(this));this._behaviors[n].enable();return this;},disableBehavior:function l(m){if(this._behaviors){var n=j(m);if(this._behaviors[n])this._behaviors[n].disable();}return this;},enableBehaviors:function l(m){m.forEach(this.enableBehavior,this);return this;},destroyBehaviors:function l(){if(this._behaviors){for(var m in this._behaviors)this._behaviors[m].disable();this._behaviors={};}},hasBehavior:function l(m){return this._behaviors&&j(m) in this._behaviors;}};f.exports=k;}),null);
__d("areJSONRepresentationsEqual",[],(function a(b,c,d,e,f,g){function h(i,j){return JSON.stringify(i)==JSON.stringify(j);}f.exports=h;}),null);
__d('UIForm',['ArbiterMixin','BehaviorsMixin','DOM','Event','Form','Run','areJSONRepresentationsEqual','mixin'],(function a(b,c,d,e,f,g){var h,i;h=babelHelpers.inherits(j,c('mixin')(c('ArbiterMixin'),c('BehaviorsMixin')));i=h&&h.prototype;function j(k,l,m,n,o){'use strict';i.constructor.call(this);this._root=k;this.controller=k;this._message=l;if(n){this._confirm_dialog=n;n.subscribe('confirm',this._handleDialogConfirm.bind(this));c('DOM').prependContent(this._root,c('DOM').create('input',{type:'hidden',name:'confirmed',value:'true'}));}c('Run').onAfterLoad(function(){this._originalState=c('Form').serialize(this._root);}.bind(this));this._forceDirty=m;this._confirmed=false;this._submitted=false;c('Event').listen(this._root,'submit',this._handleSubmit.bind(this));if(o&&o.length)this.enableBehaviors(o);var p=true;c('Run').onBeforeUnload(this.checkUnsaved.bind(this),p);}j.prototype.getRoot=function(){'use strict';return this._root;};j.prototype._handleSubmit=function(){'use strict';if(this._confirm_dialog&&!this._confirmed){this._confirm_dialog.show();return false;}if(this.inform('submit')===false)return false;this._submitted=true;return true;};j.prototype._handleDialogConfirm=function(){'use strict';this._confirmed=true;this._confirm_dialog.hide();if(this._root.getAttribute('ajaxify')){c('Event').fire(this._root,'submit');}else if(this._handleSubmit())this._root.submit();};j.prototype.reset=function(){'use strict';this.inform('reset');this._submitted=false;this._confirmed=false;};j.prototype.isDirty=function(){'use strict';if(this._submitted||!c('DOM').contains(document.body,this._root))return false;if(this._forceDirty)return true;if(!this._originalState)return false;var k=c('Form').serialize(this._root);return !c('areJSONRepresentationsEqual')(k,this._originalState);};j.prototype.checkUnsaved=function(){'use strict';if(this.isDirty())return this._message;return null;};f.exports=b.UIForm||j;}),null);
__d('Layer',['KeyStatus','ArbiterMixin','BehaviorsMixin','BootloadedReact','ContextualThing','CSS','DataStore','DOM','Event','HTML','KeyEventController','Parent','Style','ge','isNode','mixin','removeFromArray','setImmediate'],(function a(b,c,d,e,f,g){var h,i;c('KeyStatus');var j=[];h=babelHelpers.inherits(k,c('mixin')(c('ArbiterMixin'),c('BehaviorsMixin')));i=h&&h.prototype;function k(n,o){'use strict';i.constructor.call(this);this._config=n||{};if(o){this._configure(this._config,o);var p=this._config.addedBehaviors||[];this.enableBehaviors(this._getDefaultBehaviors().concat(p));}}k.prototype.init=function(n){'use strict';this._configure(this._config,n);var o=this._config.addedBehaviors||[];this.enableBehaviors(this._getDefaultBehaviors().concat(o));this._initialized=true;return this;};k.prototype._configure=function(n,o){'use strict';if(o){var p=c('isNode')(o),q=typeof o==='string'||c('HTML').isHTML(o);this.containsReactComponent=c('BootloadedReact').isValidElement(o);if(q){o=c('HTML')(o).getRootNode();}else if(this.containsReactComponent){var r=document.createElement('div');c('BootloadedReact').render(o,r,function(){this.inform('reactshow');}.bind(this));o=this._reactContainer=r;}}this._root=this._buildWrapper(n,o);if(n.attributes)c('DOM').setAttributes(this._root,n.attributes);if(n.classNames)n.classNames.forEach(c('CSS').addClass.bind(null,this._root));c('CSS').addClass(this._root,'uiLayer');if(n.causalElement)this._causalElement=c('ge')(n.causalElement);if(n.permanent)this._permanent=n.permanent;c('DataStore').set(this._root,'layer',this);};k.prototype._getDefaultBehaviors=function(){'use strict';return [];};k.prototype.getCausalElement=function(){'use strict';return this._causalElement;};k.prototype.setCausalElement=function(n){'use strict';this._causalElement=n;return this;};k.prototype.getInsertParent=function(){'use strict';return this._insertParent||document.body;};k.prototype.getRoot=function(){'use strict';return this._root;};k.prototype.getContentRoot=function(){'use strict';return this._root;};k.prototype._buildWrapper=function(n,o){'use strict';return o;};k.prototype.setInsertParent=function(n){'use strict';if(n){if(this._shown&&n!==this.getInsertParent()){c('DOM').appendContent(n,this.getRoot());this.updatePosition();}this._insertParent=n;}return this;};k.prototype.showAfterDelay=function(n){'use strict';setTimeout(this.show.bind(this),n);};k.prototype.show=function(){'use strict';if(this._shown)return this;var n=this.getRoot();this.inform('beforeshow');c('Style').set(n,'visibility','hidden');c('Style').set(n,'overflow','hidden');c('CSS').show(n);c('DOM').appendContent(this.getInsertParent(),n);if(this.updatePosition()!==false){this._shown=true;this.inform('show');k.inform('show',this);if(!this._permanent)setTimeout(function(){if(this._shown)j.push(this);}.bind(this),0);}else c('CSS').hide(n);c('Style').set(n,'visibility','');c('Style').set(n,'overflow','');this.inform('aftershow');return this;};k.prototype.hide=function(){'use strict';if(this._hiding||!this._shown||this.inform('beforehide')===false)return this;this._hiding=true;if(this.inform('starthide')!==false)this.finishHide();return this;};k.prototype.conditionShow=function(n){'use strict';return n?this.show():this.hide();};k.prototype.finishHide=function(){'use strict';if(this._shown){if(!this._permanent)c('removeFromArray')(j,this);this._hiding=false;this._shown=false;c('CSS').hide(this.getRoot());this.inform('hide');k.inform('hide',this);}};k.prototype.isShown=function(){'use strict';return this._shown;};k.prototype.updatePosition=function(){'use strict';return true;};k.prototype.destroy=function(){'use strict';if(this.containsReactComponent)c('BootloadedReact').unmountComponentAtNode(this._reactContainer);this.finishHide();var n=this.getRoot();c('DOM').remove(n);this.destroyBehaviors();this.inform('destroy');k.inform('destroy',this);c('DataStore').remove(n,'layer');this._root=this._causalElement=null;};k.init=function(n,o){'use strict';n.init(o);};k.initAndShow=function(n,o){'use strict';n.init(o).show();};k.show=function(n){'use strict';n.show();};k.showAfterDelay=function(n,o){'use strict';n.showAfterDelay(o);};k.getTopmostLayer=function(){'use strict';return j[j.length-1];};Object.assign(k,c('ArbiterMixin'));Object.assign(k.prototype,{_initialized:false,_root:null,_shown:false,_hiding:false,_causalElement:null,_reactContainer:null});c('Event').listen(document.documentElement,'keydown',function(event){if(c('KeyEventController').filterEventTargets(event,'keydown'))for(var n=j.length-1;n>=0;n--)if(j[n].inform('key',event)===false)return false;},c('Event').Priority.URGENT);var l;c('Event').listen(document.documentElement,'mousedown',function(event){l=event.getTarget();});var m;c('Event').listen(document.documentElement,'mouseup',function(event){m=event.getTarget();c('setImmediate')(function(){l=null;m=null;});});c('Event').listen(document.documentElement,'click',function(event){var n=l,o=m;l=null;m=null;var p=j.length;if(!p)return;var q=event.getTarget();if(q!==o||q!==n)return;if(!c('DOM').contains(document.documentElement,q))return;if(!q.offsetWidth)return;if(c('Parent').byClass(q,'generic_dialog'))return;while(p--){var r=j[p],s=r.getContentRoot();if(c('ContextualThing').containsIncludingLayers(s,q))return;if(r.inform('blur',{target:q})===false||r.isShown())return;}});f.exports=k;}),null);
__d('BanzaiLogger',['Banzai'],(function a(b,c,d,e,f,g){var h='logger';function i(k){return {log:function l(m,n){c('Banzai').post(j._getRoute(m),n,k);},registerToSendWithBeacon:function l(m,n,o,p){c('Banzai').registerToSendWithBeacon(j._getRoute(m),n,o,p);},_getRoute:function l(m){return h+':'+m;}};}var j=i();j.create=i;f.exports=j;}),null);
__d('BanzaiODS',['invariant','Banzai'],(function a(b,c,d,e,f,g,h){function i(){var k={},l={};function m(n,o,p,q){if(p===undefined)p=1;if(q===undefined)q=1;if(n in l)if(l[n]<=0){return;}else p/=l[n];var r=k[n]||(k[n]={}),s=r[o]||(r[o]=[0]);p=Number(p);q=Number(q);if(!isFinite(p)||!isFinite(q))return;s[0]+=p;if(arguments.length>=4){if(!s[1])s[1]=0;s[1]+=q;}}return {setEntitySample:function n(o,p){l[o]=Math.random()<p?p:0;},bumpEntityKey:function n(o,p,q){m(o,p,q);},bumpFraction:function n(o,p,q,r){m(o,p,q,r);},flush:function n(o){for(var p in k)c('Banzai').post('ods:'+p,k[p],o);k={};}};}var j=i();j.create=i;c('Banzai').subscribe(c('Banzai').SEND,j.flush.bind(j,null));f.exports=j;}),null);
__d("BanzaiScuba",["Banzai"],(function a(b,c,d,e,f,g){var h="scuba_sample";function i(l,m,n){this.fields={};this.post=function(o){if(!l)return;var p=babelHelpers["extends"]({},this.fields);p._ds=l;if(m)p._lid=m;p._options=n;c("Banzai").post(h,p,o);this.post=function(){};this.posted=true;};this.lid=m;return this;}function j(l,m,n){if(!this.fields[l])this.fields[l]={};this.fields[l][m]=n;return this;}function k(l){return function(m,n){if(this.posted)return this;return j.call(this,l,m,n);};}Object.assign(i.prototype,{post:function l(){},addNormal:k('normal'),addInteger:k('int'),addDenorm:k('denorm'),addTagset:k('tags'),addNormVector:k('normvector')});f.exports=i;}),null);
__d('GeneratedLoggerUtils',['invariant','Banzai'],(function a(b,c,d,e,f,g,h){'use strict';var i=c('Banzai').post;if(window.location.search.indexOf('showlog')>-1)i=function k(l,m,n){c('Banzai').post(l,m,n);};var j={log:i,serializeVector:function k(l){if(!l)return l;if(Array.isArray(l))return l;if(l.toArray){var m=l;return m.toArray();}if(typeof l==='object'&&l[typeof Symbol==='function'?Symbol.iterator:'@@iterator'])return Array.from(l);h(0);},serializeMap:function k(l){if(!l)return l;if(l.toJS){var m=l;return m.toJS();}if(typeof l==='object'&&l[typeof Symbol==='function'?Symbol.iterator:'@@iterator']){var n=l,o={};for(var p=n,q=Array.isArray(p),r=0,p=q?p:p[typeof Symbol==='function'?Symbol.iterator:'@@iterator']();;){var s;if(q){if(r>=p.length)break;s=p[r++];}else{r=p.next();if(r.done)break;s=r.value;}var t=s;o[t[0]]=t[1];}return o;}if(Object.prototype.toString.call(l)==='[object Object]')return l;h(0);},checkExtraDataFieldNames:function k(l,m){Object.keys(l).forEach(function(n){!m.hasOwnProperty(n)||h(0);});},warnForInvalidFieldNames:function k(l,m,n,o){},throwIfNull:function k(l,m){l||h(0);return l;}};f.exports=j;}),null);
__d("classWithMixins",[],(function a(b,c,d,e,f,g){function h(i,j){var k=function l(){i.apply(this,arguments);};k.prototype=Object.assign(Object.create(i.prototype),j.prototype);return k;}f.exports=h;}),null);
__d('getOffsetParent',['Style'],(function a(b,c,d,e,f,g){function h(i){var j=i.parentNode;if(!j||j===document.documentElement)return document.documentElement;if(c('Style').get(j,'position')!=='static')return j;return j===document.body?document.documentElement:h(j);}f.exports=h;}),null);
__d('getUnboundedScrollPosition',['Scroll'],(function a(b,c,d,e,f,g){'use strict';function h(i){if(i===window)return {x:window.pageXOffset||c('Scroll').getLeft(document.documentElement),y:window.pageYOffset||c('Scroll').getTop(document.documentElement)};return {x:c('Scroll').getLeft(i),y:c('Scroll').getTop(i)};}f.exports=h;}),null);
__d("getViewportDimensions",[],(function a(b,c,d,e,f,g){function h(){var k=void 0;if(document.documentElement)k=document.documentElement.clientWidth;if(!k&&document.body)k=document.body.clientWidth;return k||0;}function i(){var k=void 0;if(document.documentElement)k=document.documentElement.clientHeight;if(!k&&document.body)k=document.body.clientHeight;return k||0;}function j(){return {width:window.innerWidth||h(),height:window.innerHeight||i()};}j.withoutScrollbars=function(){return {width:h(),height:i()};};f.exports=j;}),null);
__d('escapeRegex',[],(function a(b,c,d,e,f,g){function h(i){return i.replace(/([.?*+\^$\[\]\\(){}|\-])/g,'\\$1');}f.exports=h;}),null);
__d('joinClasses',[],(function a(b,c,d,e,f,g){'use strict';function h(i){var j=i||'',k=arguments.length;if(k>1)for(var l=1;l<k;l++){var m=arguments[l];if(m)j=(j?j+' ':'')+m;}return j;}f.exports=h;}),null);
__d('forEachObject',[],(function a(b,c,d,e,f,g){'use strict';var h=Object.prototype.hasOwnProperty;function i(j,k,l){for(var m in j)if(h.call(j,m))k.call(l,j[m],m,j);}f.exports=i;}),null);
__d('Locale',['SiteData','ExecutionEnvironment'],(function a(b,c,d,e,f,g){function h(){if(!c('ExecutionEnvironment').canUseDOM){return false;}else return c('SiteData').is_rtl;}f.exports={isRTL:h};}),null);
__d('JSResourceReference',['Promise','Bootloader'],(function a(b,c,d,e,f,g){function h(i){'use strict';this.$JSResourceReference1=i;}h.prototype.getModuleId=function(){'use strict';return this.$JSResourceReference1;};h.prototype.load=function(){'use strict';return new (c('Promise'))(function(i){c('Bootloader').loadModules.call(c('Bootloader'),[this.$JSResourceReference1],i,this.$JSResourceReference2||'JSResource: unknown caller');}.bind(this));};h.prototype.equals=function(i){'use strict';return this===i||this.$JSResourceReference1==i.$JSResourceReference1;};h.prototype.__setRef=function(i){'use strict';this.$JSResourceReference2=i;return this;};h.loadAll=function(i,j){'use strict';var k={},l=false;for(var m=i,n=Array.isArray(m),o=0,m=n?m:m[typeof Symbol==='function'?Symbol.iterator:'@@iterator']();;){var p;if(n){if(o>=m.length)break;p=m[o++];}else{o=m.next();if(o.done)break;p=o.value;}var q=p,r=q.$JSResourceReference2;if(r){l=true;k[r]=true;}}c('Bootloader').loadModules.call(c('Bootloader'),i.map(function(s){return s.getModuleId();}),j,l?Object.keys(k).join(':'):'JSResource: unknown caller');};f.exports=h;}),null);
__d('Log',['sprintf'],(function a(b,c,d,e,f,g){var h={DEBUG:3,INFO:2,WARNING:1,ERROR:0};function i(k,l){var m=Array.prototype.slice.call(arguments,2),n=c('sprintf').apply(null,m),o=window.console;if(o&&j.level>=l)o[k in o?k:'log'](n);}var j={level:-1,Level:h,debug:i.bind(null,'debug',h.DEBUG),info:i.bind(null,'info',h.INFO),warn:i.bind(null,'warn',h.WARNING),error:i.bind(null,'error',h.ERROR)};f.exports=j;}),null);
__d('DataAttributeUtils',['DataStore','Parent'],(function a(b,c,d,e,f,g){var h=[],i={LEGACY_CLICK_TRACKING_ATTRIBUTE:'data-ft',CLICK_TRACKING_DATASTORE_KEY:'data-ft',ENABLE_STORE_CLICK_TRACKING:'data-fte',IMPRESSION_TRACKING_CONFIG_ATTRIBUTE:'data-xt-vimp',IMPRESSION_TRACKING_CONFIG_DATASTORE_KEY:'data-xt-vimp',REMOVE_LEGACY_TRACKING:'data-ftr',getDataAttribute:function l(m,n){if(j[n])return j[n](m);return m.getAttribute(n);},setDataAttribute:function l(m,n,o){if(k[n])return k[n](m,o);return m.setAttribute(n,o);},getDataFt:function l(m){if(m.getAttribute(i.ENABLE_STORE_CLICK_TRACKING)){var n=c('DataStore').get(m,i.CLICK_TRACKING_DATASTORE_KEY);if(!n)n=i.moveClickTrackingToDataStore(m,m.getAttribute(i.REMOVE_LEGACY_TRACKING));return n;}return m.getAttribute(i.LEGACY_CLICK_TRACKING_ATTRIBUTE);},setDataFt:function l(m,n){if(m.getAttribute(i.ENABLE_STORE_CLICK_TRACKING)){c('DataStore').set(m,i.CLICK_TRACKING_DATASTORE_KEY,n);return;}m.setAttribute(i.LEGACY_CLICK_TRACKING_ATTRIBUTE,n);},moveXTVimp:function l(m){i.moveAttributeToDataStore(m,i.IMPRESSION_TRACKING_CONFIG_ATTRIBUTE,i.IMPRESSION_TRACKING_CONFIG_DATASTORE_KEY);h.push(m.id);},getXTrackableElements:function l(){var m=h.map(function(p){return document.getElementById(p);}).filter(function(p){return !!p;}),n=document.querySelectorAll('[data-xt-vimp]');for(var o=0;o<n.length;o++)m.push(n[o]);return m;},getDataAttributeGeneric:function l(m,n,o){var p=c('DataStore').get(m,o);return p!==undefined?p:m.getAttribute(n);},moveAttributeToDataStore:function l(m,n,o){var p=m.getAttribute(n);if(p){c('DataStore').set(m,o,p);m.removeAttribute(n);}},moveClickTrackingToDataStore:function l(m,n){var o=m.getAttribute(i.LEGACY_CLICK_TRACKING_ATTRIBUTE);if(o){c('DataStore').set(m,i.CLICK_TRACKING_DATASTORE_KEY,o);if(n)m.removeAttribute(i.LEGACY_CLICK_TRACKING_ATTRIBUTE);}return o;},getClickTrackingParent:function l(m){var n=c('Parent').byAttribute(m,i.LEGACY_CLICK_TRACKING_ATTRIBUTE)||c('Parent').byAttribute(m,i.ENABLE_STORE_CLICK_TRACKING);return n;},getClickTrackingElements:function l(m){return m.querySelectorAll('['+i.LEGACY_CLICK_TRACKING_ATTRIBUTE+'], '+'['+i.ENABLE_STORE_CLICK_TRACKING+']');},getParentByAttributeOrDataStoreKey:function l(m,n,o){while(m&&(!m.getAttribute||!m.getAttribute(n))&&c('DataStore').get(m,o)===undefined)m=m.parentNode;return m;}},j={'data-ft':i.getDataFt,'data-xt-vimp':function l(m){return i.getDataAttributeGeneric(m,'data-xt-vimp','data-xt-vimp');},'data-ad':function l(m){return i.getDataAttributeGeneric(m,'data-ad','data-ad');},'data-xt':function l(m){return i.getDataAttributeGeneric(m,'data-xt','data-xt');}},k={'data-ft':i.setDataFt,'data-xt':function l(m,n){c('DataStore').set(m,'data-xt',n);}};f.exports=i;}),null);
__d('getContextualParent',['ge'],(function a(b,c,d,e,f,g){function h(i,j){var k,l=false;do{if(i.getAttribute&&(k=i.getAttribute('data-ownerid'))){i=c('ge')(k);l=true;}else i=i.parentNode;}while(j&&i&&!l);return i;}f.exports=h;}),null);