var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; return __assign.apply(this, arguments);};var InvestingChannel=__assign(function(e){var t={};function r(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(i,n,function(t){return e[t]}.bind(null,n));return i},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=5)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdBlockerStatus=t.APIStatus=t.ErrorType=t.USPStatus=t.PlacementConfig=t.TemplateConfig=t.RefreshType=t.DeviceType=t.DFPPlacementParams=t.DFPTemplateParams=t.TagType=t.ReferrerType=t.PlacementType=t.PlacementState=t.PageType=t.LoadType=t.InsertionType=t.FrequencyType=t.FrequencyCapUnit=t.DocumentType=t.CallbackType=t.Constant=t.Utility=void 0;var i=r(7);t.Utility=i.default;var n=r(9);t.Constant=n.default;var o=r(10);t.CallbackType=o.default;var a=r(11);t.DocumentType=a.default;var s=r(12);t.FrequencyCapUnit=s.default;var u=r(13);t.FrequencyType=u.default;var c=r(14);t.InsertionType=c.default;var l=r(15);t.LoadType=l.default;var d=r(16);t.PageType=d.default;var p=r(17);t.PlacementState=p.default;var f=r(18);t.PlacementType=f.default;var m=r(19);t.ReferrerType=m.default;var g=r(20);t.TagType=g.default;var h=r(21);t.DFPTemplateParams=h.default;var y=r(22);t.DFPPlacementParams=y.default;var b=r(23);t.DeviceType=b.default;var v=r(24);t.RefreshType=v.default;var S=r(25);t.TemplateConfig=S.default;var T=r(26);t.PlacementConfig=T.default;var A=r(2);t.USPStatus=A.default;var E=r(27);t.ErrorType=E.default;var I=r(28);t.APIStatus=I.default;var P=r(29);t.AdBlockerStatus=P.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Site=t.Template=t.Placement=t.Targeting=t.Tag=t.NativeLayout=t.Selector=t.Frequency=t.CustomVariable=t.Callback=void 0;var i=r(6);t.Callback=i.default;var n=r(30);t.CustomVariable=n.default;var o=r(31);t.Frequency=o.default;var a=r(32);t.Selector=a.default;var s=r(33);t.Tag=s.default;var u=r(34);t.Targeting=u.default;var c=r(3);t.Placement=c.default;var l=r(42);t.Template=l.default;var d=r(43);t.Site=d.default;var p=r(44);t.NativeLayout=p.default},function(e,t,r){"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),t.USPStatus=void 0,function(e){e.APPLICABLE="APPLICABLE",e.NOT_APPLICABLE="NOT_APPLICABLE",e.INPROGRESS="INPROGRESS"}(i=t.USPStatus||(t.USPStatus={})),t.default=i},function(e,t,r){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,r=1,i=arguments.length;r=1||"fluid"==i||"oop"==i))return!1}return!0},e.prototype.createDAT=function(e){var t=e.getTargetName(),r=e.getSiteDFPKeyName()+"/"+t;this.mSelector.getIdentifier();for(var i=[],n=function(e){if(e.indexOf("x")>=1){var t=e.split("x");if(t.length>2)return"continue";var r=!1;if(t.forEach(function(e){Number(e)||(r=!0)}),r)return"continue";i.push(t.map(function(e){return parseInt(e,10)}))}else"fluid"==e&&i.push(e)},o=0,a=e.getAdSize().replace(/\s/g,"").toLowerCase().split(",");o-1)switch(a.replace("%%SYSTEM:","").replace("%%","")){case"TARGET":e=e.replace(a,t.getTargetName());break;case"TARGET_KVAL":e=e.replace(a,t.getTargetKval());break;case"PAGE_ID":e=e.replace(a,""+this.mTemplate.getPageId());break;case"VIEW_COUNT":e=this.mTemplate.getUSPStatus()==u.USPStatus.NOT_APPLICABLE?e.replace(a,i.getFromCookie(u.Constant.VIEWCOUNTER_COOKIE_NAME_PREFIX+i.getTopWindowDomain())):e.replace(a,"-1");break;case"REFERRER_TYPE":e=e.replace(a,this.mTemplate.getReferrerType());break;case"PAGE_TYPE":e=e.replace(a,this.mTemplate.getPageType());break;case"DOCUMENT_TYPE":e=e.replace(a,this.mTemplate.getDocumentType());break;case"EXELATE_ID":e=e.replace(a,this.mTemplate.getExelateId());break;case"PAGE_URL":e=e.replace(a,u.Utility.window.top.location.href);break;case"AUTO_KVAL":e=e.replace(a,JSON.stringify(this.mTemplate.getAutoKval()));break;case"PIXEL_SEGMENT":e=e.replace(a,JSON.stringify(this.mTemplate.getPixelSegment()));break;case"USER_ID":e=e.replace(a,this.mTemplate.getUserId());break;case"DNT":e=e.replace(a,String(!(this.mTemplate.getUSPStatus()==u.USPStatus.NOT_APPLICABLE)))}else if(a.indexOf("CUSTOM")>-1){var s=a.replace("%%CUSTOM:","").replace("%%",""),c="";n[s]&&void 0!=n[s].getValue()?c=n[s].getValue():u.Utility.ICJQuery(document).trigger("IC_JSErrorEvent",["Placement with id "+this.mId+": Either the custom variable with the name "+s+" does not exist or can't find the value of variable in a given source."]),e=e.replace(a,c)}}return e},e.prototype.getTagToDrop=function(){Math.floor(Math.random()*this.mTagsTotalWeight);for(var e=0;e.ic_1x1_css_class{width: 1px;height: 1px;}")),t="3",e="
"):(t="4",e="
")}catch(e){u.Utility.getInstance().ic_ga_event("placement.prepareCustomDiv",u.Utility.getInstance().prepareGALabel(c.Template.getAPIKey(),this.mTemplate.getPageId(),t+") "+e.message+" PlacementId: "+this.mId))}return e},e.prototype.dropCustomDiv=function(e){var t="0";try{var r=this.mTemplate.getElementForThePlacement(this.mRandomNumber),i=void 0;if(t="1",!r)return;switch(i=u.Utility.ICJQuery(r),t="2",this.mSelector.getInsertionType()){case u.InsertionType.AFTER:i.after(e);break;case u.InsertionType.BEFORE:i.before(e);break;case u.InsertionType.FIRST_CHILD:i.prepend(e);break;case u.InsertionType.LAST_CHILD:i.append(e);break;case u.InsertionType.REPEAT:i.prepend(e)}}catch(e){u.Utility.getInstance().ic_ga_event("placement.dropCustomDiv",u.Utility.getInstance().prepareGALabel(c.Template.getAPIKey(),this.mTemplate.getPageId(),t+") "+e.message+" $# "+this.mId+" $# "+this.mSelector.getInsertionType()))}},e.prototype.setTargetToDFPParams=function(e){if(this.mType!=u.PlacementType.PIXEL&&(e.getType()==u.TagType.DISPLAY||e.getType()==u.TagType.NATIVE)){this.mDFPParams.setTarget(e.getTargetName());var t=[];if(null==e.getTargetKval()){var r=this.mTemplate.getTargetData(e.getTargetName());null!=r&&(t=r.kval)}else t=e.getTargetKval();if("kval"in this.mPublisherKval){var i=this.mPublisherKval.kval;Array.isArray(i)||(i=[i]),t=t.concat(i)}if("kval"in this.mTemplate.getPublisherKval()){i=this.mTemplate.getPublisherKval().kval;Array.isArray(i)||(i=[i]),t=t.concat(i)}t=u.Utility.getInstance().removeDuplicateFromArray(t),this.mDFPParams.setTargetKval(t)}},e.prototype.setAdRefreshParameters=function(){void 0==this.mDFPParams.getAdRefreshCount()||isNaN(this.mDFPParams.getAdRefreshCount())?this.mDFPParams.setAdRefreshCount(0):this.mDFPParams.setAdRefreshCount(this.mDFPParams.getAdRefreshCount()+1),this.mDFPParams.setAdRefreshType(this.mDATRefreshType)},e.prototype.updateAdPositionParametersToDFPParams=function(e){if(this.mType!=u.PlacementType.PIXEL&&(e.getType()==u.TagType.DISPLAY||e.getType()==u.TagType.NATIVE)){var t=this.prepareAdPositionsParams();null!=t.browserSize&&this.mTemplate.getDocumentType()==u.DocumentType.PAGE&&this.mDFPParams.setBrowserSize(t.browserSize),null!=t.absolutePosition&&this.mDFPParams.setAbsolutePosition(t.absolutePosition),null!=t.relativePosition&&this.mDFPParams.setRelativePosition(t.relativePosition)}},e.prototype.updateViewabilityAttributesToDFPParams=function(e){if(this.mType!=u.PlacementType.PIXEL&&(e.getType()==u.TagType.DISPLAY||e.getType()==u.TagType.NATIVE))if(this.mTemplate.getDocumentType()==u.DocumentType.FRIENDLYFRAME&&parent==top||this.mTemplate.getDocumentType()==u.DocumentType.PAGE){var t=this.calculateViewabilityAttributes();this.mDFPParams.setFoldPosition(""+t.foldPosition),this.mDFPParams.setVisiblePercentage(""+t.visiblePercentage)}else this.mDFPParams.setFoldPosition("-1"),this.mDFPParams.setVisiblePercentage("-1")},e.prototype.updateAdxParametersToDFPParams=function(){var e="e"+Math.floor(10*Math.random());this.mDFPParams.setAdxRandomNumber(e),this.mDFPParams.setAdxHour((new Date).getUTCHours().toString())},e.prototype.updateAdomikParametersToDFPParams=function(e){if(this.mType!=u.PlacementType.PIXEL&&(e.getType()==u.TagType.DISPLAY||e.getType()==u.TagType.NATIVE)&&this.mTemplate.isAdomikEnable()){this.mDFPParams.setAdomikRandomNumber(u.Utility.getInstance().adomikRandomAdGroup()),this.mDFPParams.setAdomikHour((new Date).getUTCHours().toString());var t=Math.random(),r=t<.1?t<.09?"e"+Math.floor(200*t):"b":"o";this.mDFPParams.setAdxRandomNumber(r),this.mDFPParams.setAdxHour((new Date).getUTCHours().toString())}},e.prototype.getLogParams=function(e,t){var r=e.getId(),n=this.mId;"ADVANCE"==this.mPublisherType&&(r=null,n=null);var o={publisherType:this.mPublisherType,pageId:""+this.mTemplate.getPageId(),rnd:""+this.mRandomNumber,apiKey:c.Template.getAPIKey(),placementId:""+n,placementType:this.mType,tagId:""+r,tagType:e.getType(),logType:t,documentType:this.mTemplate.getDocumentType(),device:this.mTemplate.getDeviceType(),sitename:"",adsize:"",dfpKval:encodeURIComponent("bs:"+u.Utility.getInstance().getBrowserSize()),atStatus:this.mTemplate.getAutoTargetStatus(),version:u.Constant.VERSION,uspstring:this.mTemplate.getUSPString(),refererUrl:encodeURIComponent(this.mTemplate.getReferer()),pageUrl:encodeURIComponent(this.mTemplate.getUrl()),renderType:""};if(this.mType==u.PlacementType.HTML&&(o.renderType=this.mSelector.getInsertionType(),e.getType()==u.TagType.DISPLAY||e.getType()==u.TagType.NATIVE)){this.updateViewabilityAttributesToDFPParams(e),this.updateAdPositionParametersToDFPParams(e),o.sitename=e.getSiteDFPKeyName()+"/"+e.getTargetName(),o.adsize=e.getAdSize();var a={},s=this.getTickerValues(e),l=this.mTemplate.getParametersForDFP();a=s.length>0?i(i(i(i(i(i({},this.mPublisherKval),this.mDFPParams),this.mDFPDMPParams),this.mDFPSSPParams),l),{t:s}):i(i(i(i(i({},this.mPublisherKval),this.mDFPParams),this.mDFPDMPParams),this.mDFPSSPParams),l);var d="";for(var p in a)"tl"!=p&&"rnd"!=p&&"pageId"!=p&&"dt"!=p&&"d"!=p&&"referer"!=p&&(d+=p+":"+a[p]+";");o.dfpKval=d.length>0?encodeURIComponent(d.replace(/;\s*$/,"")):d}return o},e.prototype.sspCallback=function(e){if(e&&e.markit)for(var t in e.markit)this.mDFPSSPParams[t]=""+e.markit[t]},e.prototype.prepareUAT5Key=function(){"uat5"in this.mPublisherKval||(this.mPublisherKval.uat5=["true"]);var e=u.Constant.ENVIRONMENT;"prod"!=e&&-1==this.mPublisherKval.uat5.indexOf(e)&&this.mPublisherKval.uat5.push(e),-1==this.mPublisherKval.uat5.indexOf("srt_v2")&&-1==this.mPublisherKval.uat5.indexOf("srt_v1")&&(this.mIsSortableV2Enable?this.mPublisherKval.uat5.push("srt_v2"):this.mTemplate.isSortableV2Enable()&&this.mPublisherKval.uat5.push("srt_v1"))},e.prototype.prepareDFPParams=function(e){var t=this;if(this.mDFPSSPParams={},this.prepareUAT5Key(),"ADVANCE"!=this.mPublisherType&&this.mDFPParams.setTagId(e.getId()),!e.isOOPUnit()){if(this.updateViewabilityAttributesToDFPParams(e),this.updateAdPositionParametersToDFPParams(e),null!=l.SSP.getInstance()){var r=void 0;if(r=this.mIsSortableV2Enable?l.SSP.getInstance().getBids(this.mICDivId,this.sspCallback.bind(this)):l.SSP.getInstance().getBids(this.mICDivId)){if(r.a9)for(var i in r.a9)this.mDFPSSPParams[i]=""+r.a9[i];if(r.prebid){String.prototype.endsWith||(String.prototype.endsWith=function(e,t){return(void 0===t||t>this.length)&&(t=this.length),this.substring(t-e.length,t)===e});var n=-2,o="",a="",c="",d="",p=this.mTemplate.getSSPPrebidIgnoreList();for(var i in r.prebid){var f=r.prebid[i];if(this.mTemplate.isDebugModeEnabled()&&u.Utility.getInstance().debugConsoleMessage("Inside PrepareDFPParam SSP KEY "+i+" - ",[f]),p.indexOf(i)>=0)for(var m in f)this.mDFPSSPParams[m]=""+f[m];else for(var m in f)if(!m.endsWith("_id")&&!m.endsWith("_d")&&n=-1&&(this.mDFPSSPParams["pb_"+c]=""+n,n>0&&(this.mDFPSSPParams.pb_v=o,a&&(this.mDFPSSPParams["pb_"+c+"_id"]=a),d&&(this.mDFPSSPParams["pb_"+c+"_d"]=d)))}if(r.markit)for(var i in r.markit)this.mDFPSSPParams[i]=""+r.markit[i]}}if(this.mTemplate.isPredictiveEnabled()){var h=this.mTemplate.getPredictiveValue(this,this.mDATRefreshType,this.getSSPAdSizes());if(h)for(var i in h)if(h[i]&&h.hasOwnProperty(i)){var y="ml_"+s[i],b=10*Math.round(h[i]/10);this.mDFPSSPParams[y]=""+b}}}try{this.mTemplate.isKruxScriptDropped()&&u.Utility.window.Krux&&(u.Utility.window.Krux.user||u.Utility.window.ic_krux_getuserid(),this.mDFPDMPParams.kuid=u.Utility.window.Krux.user,!u.Utility.window.Krux.user&&this.mIsSortableV2Enable&&(this.mKruxTimeoutInstance=setTimeout(function(){return t.getKruxData()},this.mTemplate.getKruxTimeout())))}catch(e){}},e.prototype.getKruxData=function(){var e=this;u.Utility.window.ic_krux_getuserid(),u.Utility.window.Krux.user?(this.mDFPDMPParams.kuid=u.Utility.window.Krux.user,clearInterval(this.mKruxTimeoutInstance)):this.mKruxTimeoutInstance=setTimeout(function(){return e.getKruxData()},this.mTemplate.getKruxTimeout())},e.prototype.validateSSP=function(e,t){var r=this;if(this.mTemplate.getUSPStatus()==u.USPStatus.NOT_APPLICABLE){var i=(new Date).valueOf()-this.mTemplate.getLastDFPCallTime();if(i0){var a=this.mTemplate.getPredictiveValue(this,this.mDATRefreshType,o);n=this.mTemplate.isSspHVPlacement(a)}}l.SSP.getInstance().refreshBids(this.mICDivId,this.mDATRefreshType,n),this.mSSPFetchBidsStartTime=(new Date).getTime()}var s=t?+this.mTemplate.getSSPConfig().totalDelayRefresh:+this.mTemplate.getSSPConfig().totalDelay;this.waitForSSP(e,s,t,!0)}}else t?this.refreshDisplayTag(e):this.renderDisplayTag(e)},e.prototype.waitForSSP=function(e,t,r,i){var n=this,o=t-((new Date).getTime()-this.mSSPFetchBidsStartTime);if((!l.SSP.getInstance()||"RECEIVED"!=l.SSP.getInstance().getStatus(this.mICDivId)&&"NOT_APPLICABLE"!=l.SSP.getInstance().getStatus(this.mICDivId))&&o>0){var a=+this.mTemplate.getSSPConfig().delayStep;a=i?Math.round(o/2.5):a>o?o:a,this.mWaitForSSPTimeout=setTimeout(function(){n.waitForSSP(e,t,r,!1)},a)}else clearInterval(this.mWaitForSSPTimeout),this.mSSPFetchBidsStartTime=0,r?this.refreshDisplayTag(e):this.renderDisplayTag(e)},e.prototype.getTickerValues=function(e){var t=[];try{"t"in this.mPublisherKval&&(t=t.concat(this.mPublisherKval.t.join().toUpperCase().split(","))),"t"in this.mDFPSSPParams&&(t=t.concat(this.mDFPSSPParams.t.toUpperCase().split(",")));var r=this.mTemplate.getParametersForDFP();"t"in r&&(t=t.concat(r.t.toUpperCase().split(",")))}catch(e){}return t=u.Utility.getInstance().removeDuplicateFromArray(t)},e.prototype.renderDisplayTag=function(e){var t=this;if(this.mDATRefreshType=u.RefreshType.ONLOAD,e.getTargetName().indexOf(".bottom")>0&&!this.mTemplate.eligibleForBottomZoning(this)){if(e.disableBottomZoning(),e.getDAT()){var r=e.getDAT(),n=r.getTargeting();r.destroy(),r=this.createDAT(e),e.setDAT(r),e.getSizeMapping()&&e.getDAT().defineSizeMapping(e.getSizeMapping()),r.setTargeting(n)}this.mDFPParams.setTarget(e.getTargetName())}e.getDAT()||(e.setDAT(this.createDAT(e)),e.getSizeMapping()&&e.getDAT().defineSizeMapping(e.getSizeMapping())),this.prepareDFPParams(e);var o=e.getDAT(),a=this.getTickerValues(e),s=this.mTemplate.getParametersForDFP(),c=i(i({},this.mTemplate.getPublisherKval()),this.mPublisherKval),d={};if(d=a.length>0?i(i(i(i(i(i({},c),this.mDFPParams),this.mDFPDMPParams),this.mDFPSSPParams),s),{t:a}):i(i(i(i(i({},c),this.mDFPParams),this.mDFPDMPParams),this.mDFPSSPParams),s),o.setTargeting(d),this.mTemplate.getDocumentType()==u.DocumentType.IFRAME){o.setTargetingByKey("rft",[""])}try{this.mTemplate.isDebugModeEnabled()&&u.Utility.getInstance().debugConsoleMessage("Calling DFP for "+e.getAdSize()+" with the parameters ",[d])}catch(e){}if(this.mIsSortableV2Enable){var p=l.SortableV2.getInstance(),f=l.DATManager.getInstance();p&&f&&(p.display(o),p.refresh([o],!0))}else this.mTemplate.isSingleRequestEnabled()?this.mLoadType==u.LoadType.ON_VIEW?this.mTemplate.readyToRender(this.mICDivId,this.mLoadType,e):this.mTemplate.readyToRender(this.mICDivId,this.mLoadType):o.render();e.isOOPUnit()||(this.mTargetRuleTimeoutInstance=setTimeout(function(){return t.executeTargetRules(e)},this.mTemplate.getTargetRulesTimeout()))},e.prototype.refreshDisplayTag=function(e){this.prepareDFPParams(e);var t=e.getDAT();t.clearTargeting();var r=this.getTickerValues(e),o=this.mTemplate.getParametersForDFP(),a=i(i({},this.mTemplate.getPublisherKval()),this.mPublisherKval),s={};s=r.length>0?i(i(i(i(i(i({},a),this.mDFPParams),this.mDFPDMPParams),this.mDFPSSPParams),o),{t:r}):i(i(i(i(i({},a),this.mDFPParams),this.mDFPDMPParams),this.mDFPSSPParams),o),t.setTargeting(s);try{this.mTemplate.isDebugModeEnabled()&&u.Utility.getInstance().debugConsoleMessage("Refreshing the tag "+e.getAdSize(),[s])}catch(e){}if(this.mIsSortableV2Enable){var c=l.SortableV2.getInstance();c&&c.refresh([t],!1)}else this.mTemplate.isSingleRequestEnabled()?this.mTemplate.readyToRefresh(this.mICDivId):(this.mTemplate.setLastDFPCallTime((new Date).valueOf()),t.refresh());this.mDATAdRefreshTimerStartTime=0,this.mDATAdRefreshTimerStopTime=0,this.mDATNotInViewTime=0,this.mDATInViewTime=0,this.mDATSlotRendered=!1,this.mDATAdRefreshState=n.STOP,this.mIsDATAdIndirectAdvertiser=!1,this.mDATAdRefreshTimerInstance},e.prototype.dropTag=function(e,t){t&&u.Utility.ICJQuery(document).trigger("Callback_Preload_"+this.mRandomNumber);var r=this.replaceMacros(e.getScript(),e);if(this.mType==u.PlacementType.PIXEL)u.Utility.ICJQuery("head").prepend(r),u.Utility.getInstance().pushToReportLog(this.getLogParams(e,a.SERVED));else{if(void 0==this.mSelector)return;switch(e.getType()){case u.TagType.CUSTOM:u.Utility.ICJQuery("#"+this.mICDivId).append(r),u.Utility.getInstance().pushToReportLog(this.getLogParams(e,a.SERVED));break;case u.TagType.DISPLAY:case u.TagType.NATIVE:t?this.mIsSortableV2Enable?this.renderDisplayTag(e):this.validateSSP(e,!1):this.mIsSortableV2Enable?this.refreshDisplayTag(e):this.validateSSP(e,!0);break;case u.TagType.VIDEO:}}t&&(u.Utility.ICJQuery(document).trigger("Callback_Postload_"+this.mRandomNumber),u.Utility.ICJQuery(document).trigger("Callback_OnViewport_"+this.mRandomNumber,[this.mICDivId])),this.mState=u.PlacementState.LOADED},e.prototype.saveToStorage=function(e,t){var r=u.Utility.getInstance();r.isLocalStorageSupported()?r.saveToLocalStorage(e,t):r.saveToCookie(e,t)},e.prototype.getFromStorage=function(e){var t=u.Utility.getInstance();return t.isLocalStorageSupported()?t.getFromLocalStorage(e):t.getFromCookie(e)},e.prototype.deleteFromStorage=function(e){var t=u.Utility.getInstance();t.isLocalStorageSupported()?t.deleteFromLocalStorage(e):t.deleteFromCookie(e)},e.prototype.displayTag=function(e){var t=this;if(this.mState=u.PlacementState.INITIALIZED,this.mLastRenderedTagType=this.mTagToRender.getType(),this.mType==u.PlacementType.HTML){if(e&&!u.Utility.ICJQuery("#"+this.mICDivId).length){var r=this.prepareCustomDiv();this.dropCustomDiv(r)}this.mTagToRender.getType()!=u.TagType.DISPLAY&&this.mTagToRender.getType()!=u.TagType.NATIVE||!this.mTemplate.isSingleRequestEnabled()||e||this.mIsSortableV2Enable||this.mTemplate.addTagToRefreshArray(this.mICDivId,this.mTagToRender)}switch(this.setTargetToDFPParams(this.mTagToRender),this.updateAdxParametersToDFPParams(),this.updateAdomikParametersToDFPParams(this.mTagToRender),this.setAdRefreshParameters(),e&&u.Utility.getInstance().pushToReportLog(this.getLogParams(this.mTagToRender,a.PROBABLE)),this.mLoadType){case u.LoadType.ON_LOAD:"complete"==document.readyState?this.dropTag(this.mTagToRender,e):u.Utility.ICJQuery(window).on("load",function(){t.dropTag(t.mTagToRender,e)});break;case u.LoadType.ON_VIEW:var i=u.Utility.getInstance(),n=this.mTemplate.getOnViewBufferPercentage();i.isInViewport("#"+this.mICDivId,0)?this.dropTag(this.mTagToRender,e):u.Utility.ICJQuery(document).on("scroll."+this.mRandomNumber,function(r){i.isInViewport("#"+t.mICDivId,n)&&(u.Utility.ICJQuery(document).off("scroll."+t.mRandomNumber),t.dropTag(t.mTagToRender,e))});break;case u.LoadType.ON_REALTIME:case u.LoadType.CUSTOM:this.dropTag(this.mTagToRender,e)}},e.prototype.getAbsolutePosition=function(e){var t=0,r=0;if(this.mTemplate.getDocumentType()==u.DocumentType.FRIENDLYFRAME){var i=u.Utility.window.frameElement.getBoundingClientRect();null==i||void 0==i||0==i.top&&0==i.left&&0==i.right&&0==i.bottom||(void 0!==u.Utility.window.top.pageXOffset?(t=Math.round(i.left+u.Utility.window.top.pageXOffset),r=Math.round(i.top+u.Utility.window.top.pageYOffset)):(t=Math.round(i.left+u.Utility.window.top.document.documentElement.scrollLeft),r=Math.round(i.top+u.Utility.window.top.document.documentElement.scrollTop)))}var n=e.getBoundingClientRect();return null==n||void 0==n||0==n.top&&0==n.left&&0==n.right&&0==n.bottom?null:void 0!==pageXOffset?(t+=Math.round(n.left+pageXOffset))+"x"+(r+=Math.round(n.top+pageYOffset)):(t+=Math.round(n.left+document.documentElement.scrollLeft))+"x"+(r+=Math.round(n.top+document.documentElement.scrollTop))},e.prototype.getRelativePosition=function(e){var t=0,r=0;if(this.mTemplate.getDocumentType()==u.DocumentType.FRIENDLYFRAME){var i=u.Utility.window.frameElement.getBoundingClientRect();null==i||void 0==i||0==i.top&&0==i.left&&0==i.right&&0==i.bottom||(t=Math.round(i.left),r=Math.round(i.top))}var n=e.getBoundingClientRect();return null==n||void 0==n||0==n.top&&0==n.left&&0==n.right&&0==n.bottom?null:(t+=Math.round(n.left))+"x"+(r+=Math.round(n.top))},e.prototype.prepareAdPositionsParams=function(){var e=null,t=null,r=null;if(this.mTemplate.getDocumentType()==u.DocumentType.FRIENDLYFRAME&&parent==top||this.mTemplate.getDocumentType()==u.DocumentType.PAGE){e=u.Utility.getInstance().getBrowserSize();var i=document.getElementById(this.mICDivId),n=this.getAbsolutePosition(i),o=this.getRelativePosition(i);n&&(t=n),o&&(r=o)}return{browserSize:e,absolutePosition:t,relativePosition:r}},e.prototype.getVisibleAreaPercentage=function(e,t,r){t=0==t?1:t,r=0==r?1:r;try{if(!u.Utility.ICJQuery(e).is(":visible"))return-2}catch(e){}var i=e.getBoundingClientRect(),n=u.Utility.getInstance().clientWindowHeight(),o=u.Utility.getInstance().clientWindowWidth(),a=i.top,s=i.left,c=0,l=0;if(this.mTemplate.getDocumentType()==u.DocumentType.FRIENDLYFRAME){var d=u.Utility.window.frameElement.getBoundingClientRect(),p=u.Utility.window.top.innerHeight,f=u.Utility.window.top.innerWidth;if(d.top>p||d.left>f||d.bottom<0||d.right<0||d.top+i.top>p||d.left+i.left>f||i.bottom<0||i.right<0)return 0;d.top<0&&(a+=d.top),d.left<0&&(s+=d.left),pn?n:h,y=y>o?o:y;var b=m<0?0:m,v=g<0?0:g;return((b=b>n?n:b)-h)*((v=v>o?o:v)-y)/(Number(r)*Number(t))*100},e.prototype.calculateViewabilityAttributes=function(){var e="300x250",t=this.getNonNullPrimaryAdSize(),r=document.getElementById(this.mICDivId);t.indexOf("x")>=0&&!isNaN(+t.split("x")[0])&&!isNaN(+t.split("x")[1])&&(e=t);var i=e.split("x")[0],n=e.split("x")[1];r.setAttribute("style","display: block; min-width: "+i+"px; min-height: "+n+"px;");var o=this.getVisibleAreaPercentage(r,+i,+n);o>=0&&(o=10*Math.ceil(o/10)),r.setAttribute("style","");var a=0;return o<=-1?a=o:o>=u.Constant.FOLDPOSITION_TOLERANCE&&(a=1),{foldPosition:a,visiblePercentage:o}},e.prototype.setWaitingForTarget=function(e){this.mWaitingForTarget=e},e.prototype.getWaitingForTarget=function(){return this.mWaitingForTarget},e.prototype.setWaitingForNativeLayout=function(e){this.mWaitingForNativeLayout=e},e.prototype.getWaitingForNativeLayout=function(){return this.mWaitingForNativeLayout},e.prototype.initialiseObject=function(e){var t="0";try{this.mICDivId="investingchannel_div_"+this.mRandomNumber,t="1",this.mStorageKey="IC_Placement_"+this.mId,t="2",this.mState=u.PlacementState.UNKNOWN,t="3",this.mDFPParams=new u.DFPPlacementParams,t="4",this.mDFPParams.setRandomNumber(this.mRandomNumber),t="5",this.mDFPParams.setTile(e),t="6",this.mDFPParams.setPosition(this.mTemplate.calculatePosition(this.getNonNullPrimaryAdSize(),this.mRandomNumber)),t="7";for(var r=0;r1&&(i.getType()==u.TagType.DISPLAY||i.getType()==u.TagType.NATIVE)&&i.enableBottomZoning(),t="9."+r,t="11."+r,i.getPublisherKVal()){var n=i.getPublisherKVal().split("&");t="12."+r;for(var o=0;o0?this.mDATAdRefreshTimerStartTime-this.mDATAdRefreshTimerStopTime:0;this.mDATNotInViewTime+=t;var r=this.mTemplate.getAutoRefreshConfig().RefreshTime,i=this.mTemplate.getAutoRefreshConfig().OutOfViewTime;this.mIsDATAdIndirectAdvertiser&&(r=this.mTemplate.getAutoRefreshConfig().RefreshTimeIndirect,i=this.mTemplate.getAutoRefreshConfig().OutOfViewTimeIndirect),t>i?(this.mDATRefreshType=u.RefreshType.ACTIVEWINDOW,this.displayTag(!1)):this.mDATAdRefreshTimerInstance=setTimeout(function(){e.mDATRefreshType=u.RefreshType.TIME,e.displayTag(!1)},r-this.mDATInViewTime),this.mDATAdRefreshState=n.START}},e.prototype.stopRefreshTimer=function(){this.mDATAdRefreshState==n.START&&(this.mDATAdRefreshTimerStopTime=(new Date).valueOf(),this.mDATInViewTime=this.mDATInViewTime+(this.mDATAdRefreshTimerStopTime-this.mDATAdRefreshTimerStartTime),clearInterval(this.mDATAdRefreshTimerInstance),this.mDATAdRefreshState=n.STOP)},e.prototype.evaluateAdRefresh=function(e){if(this.mIsAutoRefreshEnabled&&2==this.mDATRenderedAdSize.length){var t=this.mDATRenderedAdSize[0]+"x"+this.mDATRenderedAdSize[1];if(!(this.mDFPParams.getAdRefreshCount()>=this.mTemplate.getAutoRefreshConfig().MaxRefreshCount||0!=this.mTemplate.getAutoRefreshConfig().EnabledAdSizes.length&&-1===this.mTemplate.getAutoRefreshConfig().EnabledAdSizes.indexOf(t))){var r=this.mTemplate.getAutoRefreshConfig().ViewabilityThresholdPercentage;if(this.mIsDATAdIndirectAdvertiser&&(r=this.mTemplate.getAutoRefreshConfig().ViewabilityThresholdPercentageIndirect),"300x1050"==t){if(!this.mIsDATAdIndirectAdvertiser)return void(this.mIsAutoRefreshEnabled=!1);r*=.6}e>=r?this.startRefreshTimer():this.stopRefreshTimer()}}},e.prototype.windowEventHandler=function(e){if(this.mIsAutoRefreshEnabled){var t=document.getElementById(this.mICDivId);if(t)if(e==o.BLUR)this.mTemplate.getDocumentType()!=u.DocumentType.PAGE?this.mActiveBrowserWindow=document.hasFocus()||parent.document.hasFocus():this.mActiveBrowserWindow=!1,this.mDATSlotRendered&&!this.mActiveBrowserWindow&&this.evaluateAdRefresh(0);else if(e==o.FOCUS&&(this.mActiveBrowserWindow=!0),this.mDATSlotRendered&&this.mActiveBrowserWindow){var r=this.getVisibleAreaPercentage(t,this.mDATRenderedAdSize[0],this.mDATRenderedAdSize[1]);this.evaluateAdRefresh(r)}}},e.prototype.registerWindowEvent=function(){var e=this;this.mTemplate.getDocumentType()!=u.DocumentType.IFRAME&&this.mTemplate.getAutoRefreshConfig().IsEnabled&&(this.mScrollEvent=function(){e.windowEventHandler(o.SCROLL)},this.mResizeEvent=function(){e.windowEventHandler(o.RESIZE)},this.mFocusEvent=function(){e.windowEventHandler(o.FOCUS)},this.mBlurEvent=function(){e.windowEventHandler(o.BLUR)},u.Utility.window.attachEvent?(u.Utility.window.attachEvent("onscroll",this.mScrollEvent,!0),u.Utility.window.attachEvent("onresize",this.mResizeEvent,!1),u.Utility.window.attachEvent("onfocus",this.mFocusEvent,!1),u.Utility.window.attachEvent("onblur",this.mBlurEvent,!1),this.mTemplate.getDocumentType()!=u.DocumentType.PAGE&&(u.Utility.window.top.attachEvent("onscroll",this.mScrollEvent,!0),u.Utility.window.top.attachEvent("onresize",this.mResizeEvent,!1),u.Utility.window.top.attachEvent("onfocus",this.mFocusEvent,!1),u.Utility.window.top.attachEvent("onblur",this.mBlurEvent,!1))):(u.Utility.window.addEventListener("scroll",this.mScrollEvent,!0),u.Utility.window.addEventListener("resize",this.mResizeEvent,!1),u.Utility.window.addEventListener("focus",this.mFocusEvent,!1),u.Utility.window.addEventListener("blur",this.mBlurEvent,!1),this.mTemplate.getDocumentType()!=u.DocumentType.PAGE&&(u.Utility.window.top.addEventListener("scroll",this.mScrollEvent,!0),u.Utility.window.top.addEventListener("resize",this.mResizeEvent,!1),u.Utility.window.top.addEventListener("focus",this.mFocusEvent,!1),u.Utility.window.top.addEventListener("blur",this.mBlurEvent,!1))))},e.prototype.unregisterWindowEvent=function(){this.mTemplate.getDocumentType()!=u.DocumentType.IFRAME&&this.mTemplate.getAutoRefreshConfig().IsEnabled&&(u.Utility.window.detachEvent?(u.Utility.window.detachEvent("onscroll",this.mScrollEvent,!0),u.Utility.window.detachEvent("onresize",this.mResizeEvent,!1),u.Utility.window.detachEvent("onfocus",this.mFocusEvent,!1),u.Utility.window.detachEvent("onblur",this.mBlurEvent,!1),this.mTemplate.getDocumentType()!=u.DocumentType.PAGE&&(u.Utility.window.top.detachEvent("onscroll",this.mScrollEvent,!0),u.Utility.window.top.detachEvent("onresize",this.mResizeEvent,!1),u.Utility.window.top.detachEvent("onfocus",this.mFocusEvent,!1),u.Utility.window.top.detachEvent("onblur",this.mBlurEvent,!1))):(u.Utility.window.removeEventListener("scroll",this.mScrollEvent,!0),u.Utility.window.removeEventListener("resize",this.mResizeEvent,!1),u.Utility.window.removeEventListener("focus",this.mFocusEvent,!1),u.Utility.window.removeEventListener("blur",this.mBlurEvent,!1),this.mTemplate.getDocumentType()!=u.DocumentType.PAGE&&(u.Utility.window.top.removeEventListener("scroll",this.mScrollEvent,!0),u.Utility.window.top.removeEventListener("resize",this.mResizeEvent,!1),u.Utility.window.top.removeEventListener("focus",this.mFocusEvent,!1),u.Utility.window.top.removeEventListener("blur",this.mBlurEvent,!1))))},e.prototype.executeTargetRules=function(e){if(clearInterval(this.mTargetRuleTimeoutInstance),e.isForcedTargetEnabled()||null==this.mTemplate.getGlobalTarget())if(null!=e.getTargetRule())this.mTemplate.executeTargetRules(e.getTargetName(),e.getTargetRule());else{var t=this.mTemplate.getTargetData(e.getTargetName());null!=t&&this.mTemplate.executeTargetRules(e.getTargetName(),t.rules)}else this.mTemplate.dropGlobalTargetRules()},e.prototype.renderNativeLayout=function(e){for(var t=null,r=null,i=null,n=0,o=this.mTags;n=1&&(m[0].style.position="absolute")}else this.mTemplate.pushPlacementErrorLog(this.mId,this.mType,this.mRandomNumber,this.getPublisherType(),u.ErrorType.NATIVE_LAYOUT_NOT_FOUND,u.ErrorType.NATIVE_LAYOUT_NOT_FOUND.toString()+"("+i.getId()+")")}}},e.prototype.replaceTemplate=function(e,t){this.mTemplate.isDebugModeEnabled()&&u.Utility.getInstance().debugConsoleMessage("replateTemplate - advert ojbect - ",t);var r=this.mTemplate.getSponsorPagePath();for(var i in 0!=t.canvasPageAdId&&null!=r&&void 0!=r&&(r.toString().startsWith("http")||r.toString().startsWith("//")?t.url=r+"?ic_adid="+t.canvasPageAdId:t.url=window.location.protocol+"//"+window.location.hostname+"/"+r+"?ic_adid="+t.canvasPageAdId),"SCR"!=t.type&&(t.url=t.clickTrackingUrl+t.url),t)if(t.hasOwnProperty(i)){var n=t[i];if(n==t.thumbnail){var o=/pref-\s*(.*?)\s*-ratio/g.exec(e);o&&(n=this.getThumb(n,o[1]))}e=e.replace(new RegExp("{{"+i+"}}","g"),n)}return e},e.prototype.getThumb=function(e,t){var r=t.split("-"),i=[];for(var n in r)for(var o in e)o==r[n]&&""!=e[o]&&i.push(e[o]);if(i[0])var a=i[0];return a},e.prototype.eventDATSlotRenderEnded=function(e){this.mDATSlotRendered=!e.isEmpty,this.mDATRenderedAdSize=e.size,this.mTemplate.isDebugModeEnabled()&&u.Utility.getInstance().debugConsoleMessage("Inside SlotRender Ended event ",[e]),this.mDATSlotRendered&&this.renderNativeLayout(e),this.mTemplate.getDocumentType()!=u.DocumentType.IFRAME&&this.mTemplate.getAutoRefreshConfig().IsEnabled?(this.mIsDATAdIndirectAdvertiser=this.mTemplate.getAutoRefreshConfig().AdvertisersIndirect.indexOf(e.advertiserId)>=0,this.mTemplate.getAutoRefreshConfig().DisabledCampaigns.indexOf(e.campaignId)>=0&&(this.mIsAutoRefreshEnabled=!1)):this.mIsAutoRefreshEnabled=!1;try{var t={size:e.size,advertiserId:e.advertiserId,campaignId:e.campaignId,companyIds:e.companyIds,creativeId:e.creativeId,creativeTemplateId:e.creativeTemplateId,isBackfill:e.isBackfill,isEmpty:e.isEmpty,labelIds:e.labelIds,lineItemId:e.lineItemId};if(u.Utility.ICJQuery(document).trigger("Callback_Rendered_"+this.mRandomNumber,[t]),this.mRenderedEventListeners.length>0)for(var r=0;r1)){var i=r.querySelectorAll("iframe[id^=google_ads_iframe_]");if(!i||i.length<1)return;var n=i[0];if(n){var o=this.getVisibleAreaPercentage(n,this.mDATRenderedAdSize[0],this.mDATRenderedAdSize[1]);this.evaluateAdRefresh(Math.round(o))}}},e.prototype.eventDATSlotVisibilityChanged=function(e){this.mDATSlotRendered&&this.mActiveBrowserWindow&&this.evaluateAdRefresh(e.inViewPercentage)},e.prototype.eventDATSlotRequested=function(e,t){u.Utility.getInstance().pushToReportLog(this.getLogParams(e,a.SERVED)),this.mKruxTimeoutInstance&&clearInterval(this.mKruxTimeoutInstance)},e.prototype.getId=function(){return this.mId},e.prototype.getState=function(){return this.mState},e.prototype.getSelector=function(){return this.mSelector},e.prototype.isParent=function(){return this.mIsParent},e.prototype.makeChild=function(){this.mIsParent=!1},e.prototype.getPriority=function(){return this.mPriority},e.prototype.getLoadType=function(){return this.mLoadType},e.prototype.getDivId=function(){return this.mICDivId},e.prototype.getPublisherType=function(){return this.mPublisherType},e.prototype.getTagToRender=function(){return this.mTagToRender},e.prototype.isEligibleForRendering=function(e){if(this.mState!=u.PlacementState.UNKNOWN&&this.mState!=u.PlacementState.SELECTOR_NOT_LOADED&&this.mState!=u.PlacementState.SELECTOR_LOADED)return!1;if(e&&this.mLoadType==u.LoadType.CUSTOM)return!1;if(void 0!=this.mTargeting&&!this.mTargeting.isIsPlacementEligibleForRendering())return!1;if(this.mFrequency){var t=this.getFromStorage(this.mStorageKey);if(t){t=JSON.parse(t);var r=new Date(t.dateTime);switch(this.mFrequency.getUnit()){case u.FrequencyCapUnit.MILLISECONDS:r.setMilliseconds(r.getMilliseconds()+this.mFrequency.getDuration());break;case u.FrequencyCapUnit.SECONDS:r.setSeconds(r.getSeconds()+this.mFrequency.getDuration());break;case u.FrequencyCapUnit.MINUTES:r.setMinutes(r.getMinutes()+this.mFrequency.getDuration());break;case u.FrequencyCapUnit.HOURS:r.setHours(r.getHours()+this.mFrequency.getDuration());break;case u.FrequencyCapUnit.DAYS:r.setDate(r.getDate()+this.mFrequency.getDuration());break;case u.FrequencyCapUnit.WEEKS:r.setDate(r.getDate()+7*this.mFrequency.getDuration());break;case u.FrequencyCapUnit.MONTHS:r.setMonth(r.getMonth()+this.mFrequency.getDuration());break;case u.FrequencyCapUnit.YEARS:r.setFullYear(r.getFullYear()+this.mFrequency.getDuration())}if(r>new Date){if(Number(t.count)>=this.mFrequency.getCap())return this.mState=u.PlacementState.CAPPING_EXPIRED,!1}else this.deleteFromStorage(this.mStorageKey)}}if(this.mType!=u.PlacementType.HTML)return!0;if("ADVANCE"==this.mPublisherType&&"COMPLETED"!=this.mTemplate.getTargetStatus(this.mTagToRender.getTargetName())&&!this.mTemplate.getGlobalTarget())return console.log("**** Not eligible because of Target"),!1;if((this.mTagToRender.getType()==u.TagType.DISPLAY||this.mTagToRender.getType()==u.TagType.NATIVE)&&""==this.mTagToRender.getAdSize())return this.mState=u.PlacementState.TAG_NOT_AVAILABLE,!1;if(!this.mIsParent)return!0;var i=u.Utility.getInstance();if(void 0!=this.mSelector&&i.isSelectorLoaded(this.mSelector.getIdentifier(),this.mTemplate.getPageId(),this.mId,this.mRandomNumber)){if(this.mState=u.PlacementState.SELECTOR_LOADED,!u.Utility.ICJQuery("#"+this.mICDivId).length){var n=this.prepareCustomDiv();this.dropCustomDiv(n)}return!0}return this.mState=u.PlacementState.SELECTOR_NOT_LOADED,this.mLoadType==u.LoadType.CUSTOM&&this.mTemplate.pushPlacementErrorLog(this.mId,this.mType,this.mRandomNumber,this.getPublisherType(),u.ErrorType.SELECTOR_NOT_FOUND),!1},e.prototype.isEligibleForRefreshing=function(){return(this.mState==u.PlacementState.LOADED||this.mState==u.PlacementState.VIEWED)&&this.mType==u.PlacementType.HTML},e.prototype.render=function(){var e=l.DATManager.getInstance();if(null==e||!e.initialLoadDisabled()||this.mTagToRender.getType()!=u.TagType.DISPLAY&&this.mTagToRender.getType()!=u.TagType.NATIVE||(this.mTagToRender.setDAT(this.createDAT(this.mTagToRender)),this.mTagToRender.getSizeMapping()&&this.mTagToRender.getDAT().defineSizeMapping(this.mTagToRender.getSizeMapping())),this.mLoadType==u.LoadType.CUSTOM&&this.mTemplate.addTagToRenderArray(this.mICDivId,this.mTagToRender,this.mLoadType),this.mSSPFetchBidsStartTime=this.mTemplate.getSSPFetchBidsStartTime(),this.mFrequency){var t=this.getFromStorage(this.mStorageKey),r={};if(t){t=JSON.parse(decodeURIComponent(t));var i=new Date(t.dateTime),n=Number(t.count);++n,r.count=n,r.dateTime=i}else r.count=1,r.dateTime=new Date;this.saveToStorage(this.mStorageKey,JSON.stringify(r))}this.displayTag(!0)},e.prototype.getLastRenderedTagType=function(){return this.mLastRenderedTagType},e.prototype.refresh=function(){this.mDATRefreshType=u.RefreshType.MANUAL,this.displayTag(!1)},e.prototype.clear=function(){u.Utility.ICJQuery("#"+this.mICDivId).length&&u.Utility.ICJQuery("#"+this.mICDivId).remove()},e.prototype.destroy=function(){for(var e=0,t=this.mTags;e=0||(e=e.concat(r.split(",")))}return e},e.prototype.getPosition=function(){return this.mDFPParams?this.mDFPParams.getPosition():null},e.prototype.getTile=function(){return this.mDFPParams?this.mDFPParams.getTile():null},e.prototype.getType=function(){return this.mType},e.prototype.getRandomNumber=function(){return this.mRandomNumber},e.prototype.getRawData=function(){return this.mCorePlacement},e.prototype.isSortableV2Enable=function(){return this.mIsSortableV2Enable},e}();t.default=d,function(e){e.STOP="STOPPED",e.START="STARTED"}(n||(n={})),function(e){e.SCROLL="SCROLL",e.RESIZE="RESIZE",e.FOCUS="FOCUS",e.BLUR="BLUR"}(o||(o={})),function(e){e.SERVED="S",e.VIEWED="V",e.PROBABLE="P"}(a||(a={})),function(e){e["160x600"]="16",e["250x250"]="22",e["320x50"]="35",e["300x250"]="32",e["300x600"]="36",e["300x1050"]="31",e["468x60"]="46",e["728x90"]="79",e["970x90"]="99",e["970x250"]="92",e["320x100"]="30"}(s||(s={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GdprCmp=t.SortableV2=t.DATManager=t.DMP=t.SSP=t.DAT=void 0;var i=r(35);t.DAT=i.default;var n=r(36);t.SSP=n.default;var o=r(38);t.DMP=o.default;var a=r(39);t.DATManager=a.default;var s=r(40);t.SortableV2=s.default;var u=r(41);t.GdprCmp=u.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UAT=t.gaElems=t.gaNewElem=void 0;var i=r(1),n=r(0);function o(e,t,r){r?(ga("create",r,"auto","UAT5JS"),ga("UAT5JS.send",{hitType:"event",eventCategory:"UAT 5 v1.9",eventAction:e,eventLabel:t})):(ga("create","UA-136075674-1","auto","UAT5UATJS"),ga("UAT5UATJS.send",{hitType:"event",eventCategory:"UAT 5 v1.9",eventAction:e,eventLabel:t}))}function a(){return!!document.querySelector("[alt='ZeroHedge']")}t.gaNewElem={},t.gaElems={},function(){var e=new Date;!function(t,r,i,n,o,a,s){t.GoogleAnalyticsObject=o,t.ga=t.ga||function(){(t.ga.q=t.ga.q||[]).push(arguments)},t.ga.l=1*e,a=r.createElement(i),s=r.getElementsByTagName(i)[0],a.async=1,a.src="//www.google-analytics.com/analytics.js",s.parentNode.insertBefore(a,s)}(window,document,"script",0,"ga",t.gaNewElem,t.gaElems)}();var s,u,c,l=[];function d(e,t){try{var r=[];if(r.push("%c IC UAT ","border-radius:4px;background:#8bc43f;color:#fff;font-weight: bold;"),r.push(e),t)for(var i=0;i0)for(var s=0;s0)for(var a=0;a0)for(var u=0;u0&&this.mTemplate.renderAdvancePlacements(t)}catch(e){s=this.mTemplate?this.mTemplate.getPageId():"null";i.Template.pushAPILog(n.ErrorType.PAGE_RENDERTAG_FAILED,"("+e.message+")",s)}else i.Template.pushAPILog(n.ErrorType.PAGE_OBJECT_NOT_FOUND,"(page.renderTags())")},e.prototype.refreshTags=function(e){if(p&&d("Invoked global refresh tags command"),this.mTemplate)try{if(e&&Array.isArray(e))for(var t=0;t0?this.mPlacements[0].getRandomNumber():null},e.prototype.render=function(){try{try{if(p)for(var e=0;e0&&this.mTemplate&&this.mTemplate.renderAdvancePlacements(this.mPlacements)}catch(a){for(e=0;e0)for(;InvestingChannelQueue.length>0;){var e=c.Page.getAPIStatus();if("NOT_READY"==e||"READY"==e)InvestingChannelQueue.shift()();else if("INPROGRESS"==e){c.Page.apiReady(m);break}}!function(e,t){e.push=function(r){Array.prototype.push.call(e,r),t(e)}}(InvestingChannelQueue,function(e){m()})}var g=document.currentScript||function(){for(var e=document.getElementsByTagName("script"),t=null,r=0;r-1&&-1!==i.indexOf(".js",i.length-".js".length))return e[r]}catch(e){o("uat.js","Error while parcing the script src on "+(a()?"ZeroHedge":"Other"))}return null}();null!=g?g.addEventListener("load",function(){p&&d("Script loaded."),m()}):(console.warn("IC: Not able to add load event...."),o("uat.js","Not able to add load event "+(a()?"ZeroHedge":"Other")))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(0),n=function(){function e(e,t){this.mCallbackid=e.callbackid,this.mScript=e.script,this.mType=e.type,this.registerEvent(t)}return e.prototype.registerEvent=function(e){var t=this;switch(this.mType){case i.CallbackType.PRELOAD:i.Utility.ICJQuery(document).on("Callback_Preload_"+e,function(){return t.loadScript()});break;case i.CallbackType.POSTLOAD:i.Utility.ICJQuery(document).on("Callback_Postload_"+e,function(){return t.loadScript()});break;case i.CallbackType.ON_VIEWPORT:i.Utility.ICJQuery(document).on("Callback_OnViewport_"+e,function(r,n){var o=i.Utility.getInstance();o.isInViewport("#"+n,null)?t.loadScript():i.Utility.ICJQuery(document).on("resize scroll."+e,function(){o.isInViewport("#"+n,null)&&(i.Utility.ICJQuery(document).off("resize scroll."+e),t.loadScript())})});break;case i.CallbackType.ON_DOMLOAD:"complete"===document.readyState?this.loadScript():window.onload=function(){t.loadScript()};break;case i.CallbackType.ON_DOMREADY:i.Utility.ICJQuery(document).ready(function(){return t.loadScript()});break;case i.CallbackType.ON_DOMUNLOAD:i.Utility.ICJQuery(window).on("unload",function(){return t.loadScript()});break;case i.CallbackType.ON_BLANK:i.Utility.ICJQuery(document).on("Callback_Blank_"+e,function(){return t.loadScript()});break;case i.CallbackType.ON_RENDERED:i.Utility.ICJQuery(document).on("Callback_Rendered_"+e,function(e,r){t.mScript="(function(adData){"+t.mScript+"}("+JSON.stringify(r)+"))",t.loadScript()})}},e.prototype.loadScript=function(){i.Utility.getInstance().executeJS(this.mScript)},e.prototype.getType=function(){return this.mType},e.prototype.getScript=function(){return this.mScript},e}();t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gaElems=t.gaNewElem=void 0;var i=r(8),n=r(0),o=r(2);t.gaNewElem={},t.gaElems={};var a=function(){function e(){var e=this;this.mErrors=[],this.mReports=[],this.mAPIs=[],this.mPageLog=null,this.mTriggerPageLog=!1,this.mIsGdprApplicable=!1,this.mUSPStatus=o.USPStatus.NOT_APPLICABLE,n.Utility.ICJQuery(window).on("unload",function(){e.destroy()}),setInterval(function(){e.postLogsToServer()},1e3)}return e.getInstance=function(){return this.mUtil||(this.mUtil=new e),this.mUtil},e.prototype.setGDPRStatus=function(e){this.mIsGdprApplicable=e},e.prototype.setUSPStatus=function(e){this.mUSPStatus=e},e.prototype.executeJS=function(t){e.ICJQuery.globalEval(t)},e.prototype.isSelectorLoaded=function(t,r,i,n){return!!e.ICJQuery("#investingchannel_div_"+n).length||this.getEmptyElementsForSelector(t,r,i).length>0},e.prototype.getEmptyElementsForSelector=function(e,t,r){var i="0";try{var o=[],a=document.querySelectorAll(e);i="1";for(var s=0;s-1){if(u[l].getAttribute("ic_pageId")!=t){c=!0;break}if(u[l].getAttribute("ic_placementid")==""+r){c=!0;break}}c||(i="2."+s,o.push(a[s]))}return o}catch(e){n.Utility.getInstance().ic_ga_event("Utility.getEmptyElementsForSelector",this.prepareGALabel("",t,i+") "+e.message+" $# "+r))}},e.prototype.executeOnLoad=function(e){try{var t=document.readyState;if("interactive"==t||"complete"==t)return void this.executeJS(e);window.addEventListener("DOMContentLoaded",this.executeJS(e),!1)}catch(t){this.executeJS(e)}},e.prototype.clientWindowHeight=function(){var e=0;return"number"==typeof window.innerHeight?e=window.innerHeight:document.documentElement&&document.documentElement.clientHeight?e=document.documentElement.clientHeight:document.body&&document.body.clientHeight&&(e=document.body.clientHeight),e},e.prototype.clientWindowWidth=function(){var e=0;return"number"==typeof window.innerWidth?e=window.innerWidth:document.documentElement&&document.documentElement.clientWidth?e=document.documentElement.clientWidth:document.body&&document.body.clientWidth&&(e=document.body.clientWidth),e},e.prototype.getBrowserSize=function(){return this.clientWindowWidth()+"x"+this.clientWindowHeight()},e.prototype.convertAdSize=function(e){var t="";if(e.constructor!==Array&&("fluid"==e.toString()||"oop"==e.toString()))return e.toString();if(2==e.length&&"number"==typeof e[0]&&"number"==typeof e[1])return e.join("x");for(var r=0;r0&&(u+=a*(r/100),c+=s*(r/100),l-=a*(r/100),d-=s*(r/100)),u>=0&&c>=0&&l<=a&&d<=s},e.prototype.isCookieEnabled=function(){try{document.cookie="ic_cookietest=1";var e=-1!=document.cookie.indexOf("ic_cookietest=");return document.cookie="ic_cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT",e}catch(e){}return!1},e.prototype.getFromLocalStorage=function(e){try{if("undefined"!=typeof Storage)return localStorage.getItem(e)}catch(e){}return null},e.prototype.getFromSessionStorage=function(e){try{if("undefined"!=typeof Storage)return sessionStorage.getItem(e)}catch(e){}return null},e.prototype.getFromCookie=function(e){try{if(navigator.cookieEnabled){var t=("; "+document.cookie).split("; "+e+"=");if(2==t.length)return t.pop().split(";").shift()}}catch(e){}return""},e.prototype.isCookieExists=function(e){if(navigator.cookieEnabled)try{if(2==("; "+document.cookie).split("; "+e+"=").length)return!0}catch(e){}return!1},e.prototype.deleteFromLocalStorage=function(e){try{"undefined"!=typeof Storage&&localStorage.removeItem(e)}catch(e){}},e.prototype.deleteFromSessionStorage=function(e){try{"undefined"!=typeof Storage&&sessionStorage.removeItem(e)}catch(e){}},e.prototype.deleteFromCookie=function(e){try{navigator.cookieEnabled&&(document.cookie=e+"=;expires=Fri, 02-Jan-1970 00:00:00 GMT;path=/")}catch(e){}},e.prototype.saveToLocalStorage=function(e,t){try{"undefined"!=typeof Storage&&localStorage.setItem(e,t)}catch(e){}},e.prototype.saveToSessionStorage=function(e,t){try{"undefined"!=typeof Storage&&sessionStorage.setItem(e,t)}catch(e){}},e.prototype.saveToCookie=function(e,t,r){if(navigator.cookieEnabled)try{document.cookie=void 0==r?e+"="+t+";path=/":e+"="+t+"; max-age="+r+";path=/"}catch(e){}},e.prototype.getFromQueryString=function(e,t){var r=window.location.href;e=e.replace(/[\[\]]/g,"\\$&");var i=new RegExp("[?&]"+e+"(=([^&]*)|&|$)").exec(r);return i?i[2]?decodeURIComponent(i[2].replace(/\+/g," ")):"":null},e.prototype.getUspString=function(e,t){if("function"==typeof window.__uspapi&&window.__uspapi("getUSPData",1,function(e,t){return t?"uspString"in e?e.uspString:void 0:null}),t&&this.isLocalStorageSupported()){var r=this.getFromLocalStorage(e);if(r)return r}return this.getFromCookie(e)},e.prototype.pushToErrorLog=function(e){this.mErrors.push(e)},e.prototype.pushToReportLog=function(e){this.mReports.push(e)},e.prototype.pushToAPILog=function(e){this.mAPIs.push(e)},e.prototype.preparePageLog=function(e){this.mPageLog=e},e.prototype.triggerPageLog=function(){this.mTriggerPageLog=!0},e.prototype.isLocalStorageSupported=function(){try{if("undefined"==typeof Storage)return!1}catch(e){return!1}return!0},e.prototype.adomikRandomAdGroup=function(){var e=Math.random();switch(!1){case!(e<.09):return"ad_ex"+Math.floor(100*e);case!(e<.1):return"ad_bc";default:return"ad_opt"}},e.prototype.removeDuplicateFromArray=function(e){if(!e)return e;for(var t=[],r=[],i=0;i=0||(t.push(e[i].toLowerCase()),r.push(e[i]));return r},e.prototype.getTopWindowDomain=function(){try{return n.Utility.window.top.location.hostname}catch(e){}try{return document.referrer.match(/:\/\/(.[^/]+)/)[1]}catch(e){}return""},e.prototype.prepareGALabel=function(e,t,r){return(e||"")+" $# "+(t||"")+" $# "+r},e.prototype.initializeGA=function(){var e=new Date;!function(t,r,i,n,o,a,s){t.GoogleAnalyticsObject=o,t.ga=t.ga||function(){(t.ga.q=t.ga.q||[]).push(arguments)},t.ga.l=1*e,a=r.createElement(i),s=r.getElementsByTagName(i)[0],a.async=1,a.src="//www.google-analytics.com/analytics.js",s.parentNode.insertBefore(a,s)}(window,document,"script",0,"ga",t.gaNewElem,t.gaElems)},e.prototype.ic_ga_event=function(e,t,r){r?(ga("create",r,"auto","UAT5Data"),ga("UAT5Data.send",{hitType:"event",eventCategory:"UAT 5 v1.9",eventAction:e,eventLabel:t})):(ga("create","UA-44058249-9","auto","UAT5"),ga("UAT5.send",{hitType:"event",eventCategory:"UAT 5 v1.9",eventAction:e,eventLabel:t}))},e.prototype.postLogsToServer=function(){if(this.mReports.length>0){var t=this.mReports;this.mReports=[],e.ICJQuery.post({url:n.Constant.UAT_LOG_REPORT_URL+"?gdprapplicable="+this.mIsGdprApplicable+"&uspstatus="+this.mUSPStatus,async:!0,data:JSON.stringify(t),contentType:"application/json; charset=UTF-8",xhrFields:{withCredentials:!0}})}if(this.mErrors.length>0){var r=this.mErrors;this.mErrors=[],e.ICJQuery.post({url:n.Constant.UAT_LOG_ERROR_URL+"?gdprapplicable="+this.mIsGdprApplicable+"&uspstatus="+this.mUSPStatus,async:!0,data:JSON.stringify(r),contentType:"application/json; charset=UTF-8",xhrFields:{withCredentials:!0}})}if(this.mAPIs.length>0){var i=this.mAPIs;this.mAPIs=[],e.ICJQuery.post({url:n.Constant.UAT_LOG_API_URL+"?gdprapplicable="+this.mIsGdprApplicable+"&uspstatus="+this.mUSPStatus,async:!0,data:JSON.stringify(i),contentType:"application/json; charset=UTF-8",xhrFields:{withCredentials:!0}})}if(null!=this.mPageLog&&this.mTriggerPageLog){var o=this.mPageLog;this.mPageLog=null,this.mTriggerPageLog=!1,e.ICJQuery.post({url:n.Constant.UAT_LOG_PAGE_URL+"?gdprapplicable="+this.mIsGdprApplicable+"&uspstatus="+this.mUSPStatus,async:!0,data:JSON.stringify(o),contentType:"application/json; charset=UTF-8",xhrFields:{withCredentials:!0}})}},e.prototype.pushAPILog=function(t,r,i,n,o,a){var s=n.toString();s+=o;var u=e.window.location.href,c=this.updateUrlIfTranslator(t,u);c&&(u=c),a||(a="null"),this.mAPIs.push({apiKey:r,placementId:"null",placementType:"null",publisherType:"ADVANCE",pageId:a,rnd:"null",documentType:t,errorCode:e.getInstance().getErrorTypeKeyFromValue(n),errorDetail:s,kval:encodeURIComponent("bs:"+this.getBrowserSize()),refererUrl:encodeURIComponent(i),pageUrl:encodeURIComponent(u)})},e.prototype.getErrorTypeKeyFromValue=function(e){switch(e){case n.ErrorType.ADSIZE_INVALID:return"ADSIZE_INVALID";case n.ErrorType.CUSTOM_TARGETING_FAILED:return"CUSTOM_TARGETING_FAILED";case n.ErrorType.DEVICE_TARGETING_FAILED:return"DEVICE_TARGETING_FAILED";case n.ErrorType.GDPR_TARGETING_FAILED:return"GDPR_TARGETING_FAILED";case n.ErrorType.GEO_TARGETING_FAILED:return"GEO_TARGETING_FAILED";case n.ErrorType.SELECTOR_INVALID:return"SELECTOR_INVALID";case n.ErrorType.SELECTOR_NOT_FOUND:return"SELECTOR_NOT_FOUND";case n.ErrorType.TAG_NOT_CONFIGURED:return"TAG_NOT_CONFIGURED";case n.ErrorType.TARGET_INVALID:return"TARGET_INVALID";case n.ErrorType.ADSIZEMAPPING_INVALID:return"ADSIZEMAPPING_INVALID";case n.ErrorType.ADSIZEMAPPING_TARGETING_FAILED:return"ADSIZEMAPPING_TARGETING_FAILED";case n.ErrorType.NO_ADS:return"NO_ADS";case n.ErrorType.UNKNOW_ERROR:return"UNKNOW_ERROR";case n.ErrorType.PAGE_OBJECT_NOT_FOUND:return"PAGE_OBJECT_NOT_FOUND";case n.ErrorType.PAGE_DESTROY_TEMPLATE_NOT_FOUND:return"PAGE_DESTROY_TEMPLATE_NOT_FOUND";case n.ErrorType.PAGE_DESTROY_FAILED:return"PAGE_DESTROY_FAILED";case n.ErrorType.PAGE_REFRESHTAG_TAG_NOT_FOUND:return"PAGE_REFRESHTAG_TAG_NOT_FOUND";case n.ErrorType.PAGE_REFRESHTAG_FAILED:return"PAGE_REFRESHTAG_FAILED";case n.ErrorType.ADD_SIZEMAPPING_FAILED:return"ADD_SIZEMAPPING_FAILED";case n.ErrorType.BUILD_SIZEMAPPING_FAILED:return"BUILD_SIZEMAPPING_FAILED";case n.ErrorType.PAGE_DEFINETAG_SITE_MISMATCH:return"PAGE_DEFINETAG_SITE_MISMATCH";case n.ErrorType.PAGE_DEFINETAG_TARGET_NOT_FOUND:return"PAGE_DEFINETAG_TARGET_NOT_FOUND";case n.ErrorType.PAGE_DEFINETAG_INVALID_SIZE:return"PAGE_DEFINETAG_INVALID_SIZE";case n.ErrorType.PAGE_DEFINETAG_FAILED:return"PAGE_DEFINETAG_FAILED";case n.ErrorType.PAGE_DEFINETAG_INVALID_DIVID:return"PAGE_DEFINETAG_INVALID_DIVID";case n.ErrorType.PAGE_DEFINEOOPTAG_SITE_MISMATCH:return"PAGE_DEFINEOOPTAG_SITE_MISMATCH";case n.ErrorType.PAGE_DEFINEOOPTAG_TARGET_NOT_FOUND:return"PAGE_DEFINEOOPTAG_TARGET_NOT_FOUND";case n.ErrorType.PAGE_DEFINEOOPTAG_FAILED:return"PAGE_DEFINEOOPTAG_FAILED";case n.ErrorType.PAGE_DEFINEOOPTAG_INVALID_DIVID:return"PAGE_DEFINEOOPTAG_INVALID_DIVID";case n.ErrorType.PAGE_GETPUBTAG_TAG_NOT_FOUND:return"PAGE_GETPUBTAG_TAG_NOT_FOUND";case n.ErrorType.PAGE_GETPUBTAG_FAILED:return"PAGE_GETPUBTAG_FAILED";case n.ErrorType.PAGE_SETKVAL_FAILED:return"PAGE_SETKVAL_FAILED";case n.ErrorType.PAGE_CLEARKVAL_FAILED:return"PAGE_CLEARKVAL_FAILED";case n.ErrorType.PAGE_RENDERTAG_TAG_NOT_FOUND:return"PAGE_RENDERTAG_TAG_NOT_FOUND";case n.ErrorType.PAGE_RENDERTAG_FAILED:return"PAGE_RENDERTAG_FAILED";case n.ErrorType.TAG_DEFINESIZEMAPPING_FAILED:return"TAG_DEFINESIZEMAPPING_FAILED";case n.ErrorType.TAG_SETKVAL_FAILED:return"TAG_SETKVAL_FAILED";case n.ErrorType.TAG_CLEARKVAL_FAILED:return"TAG_CLEARKVAL_FAILED";case n.ErrorType.TAG_RENDER_FAILED:return"TAG_RENDER_FAILED";case n.ErrorType.TAG_REFRESH_FAILED:return"TAG_REFRESH_FAILED";case n.ErrorType.TAG_CLEAR_FAILED:return"TAG_CLEAR_FAILED";case n.ErrorType.TAG_DESTROY_FAILED:return"TAG_DESTROY_FAILED";case n.ErrorType.TAG_ADDEVENTLISTNER_FAILED:return"TAG_ADDEVENTLISTNER_FAILED";case n.ErrorType.NATIVE_LAYOUT_NOT_FOUND:return"NATIVE_LAYOUT_NOT_FOUND";case n.ErrorType.PAGE_DEFINENATIVETAG_SITE_MISMATCH:return"PAGE_DEFINENATIVETAG_SITE_MISMATCH";case n.ErrorType.PAGE_DEFINENATIVETAG_TARGET_NOT_FOUND:return"PAGE_DEFINENATIVETAG_TARGET_NOT_FOUND";case n.ErrorType.PAGE_DEFINENATIVETAG_FAILED:return"PAGE_DEFINENATIVETAG_FAILED";case n.ErrorType.PAGE_DEFINENATIVETAG_INVALID_DIVID:return"PAGE_DEFINENATIVETAG_INVALID_DIVID";case n.ErrorType.PAGE_DEFINENATIVETAG_LAYOUT_NOT_FOUND:return"PAGE_DEFINENATIVETAG_LAYOUT_NOT_FOUND";default:return"UNKNOWN"}},e.prototype.updateUrlIfTranslator=function(e,t){if(e==n.DocumentType.IFRAME){var r=n.Utility.ICJQuery("").prop("href",t).prop("hostname");if("translate.google.com"==r.toLowerCase()||"translate.googleusercontent.com"==r.toLowerCase()){var i=this.getQueryStringParam("u",t);if(i&&i.length>0)return i[1]}return null}},e.prototype.debugConsoleMessage=function(e,t){try{var r=[];if(r.push("%c IC UAT ","border-radius:4px;background:#8bc43f;color:#fff;font-weight: bold;"),r.push(e),t)for(var i=0;i0&&t-1 in e)}E.fn=E.prototype={jquery:"3.5.1",constructor:E,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=E.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return E.each(this,e)},map:function(e){return this.pushStack(E.map(this,function(t,r){return e.call(t,r,t)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(E.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(E.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,r=+e+(e<0?t:0);return this.pushStack(r>=0&&r+~]|"+F+")"+F+"*"),W=new RegExp(F+"|>"),K=new RegExp(z),H=new RegExp("^"+j+"$"),Y={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},J=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,$=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+F+"?|\\\\([^\\r\\n\\f])","g"),re=function(e,t){var r="0x"+e.slice(1)-65536;return t||(r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320))},ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){p()},ae=Se(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{N.apply(x=U.call(T.childNodes),T.childNodes),x[T.childNodes.length].nodeType}catch(e){N={apply:x.length?function(e,t){w.apply(e,U.call(t))}:function(e,t){for(var r=e.length,i=0;e[r++]=t[i++];);e.length=r-1}}}function se(e,t,i,n){var o,s,c,l,d,m,y,b=t&&t.ownerDocument,T=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==T&&9!==T&&11!==T)return i;if(!n&&(p(t),t=t||f,g)){if(11!==T&&(d=Z.exec(e)))if(o=d[1]){if(9===T){if(!(c=t.getElementById(o)))return i;if(c.id===o)return i.push(c),i}else if(b&&(c=b.getElementById(o))&&v(t,c)&&c.id===o)return i.push(c),i}else{if(d[2])return N.apply(i,t.getElementsByTagName(e)),i;if((o=d[3])&&r.getElementsByClassName&&t.getElementsByClassName)return N.apply(i,t.getElementsByClassName(o)),i}if(r.qsa&&!C[e+" "]&&(!h||!h.test(e))&&(1!==T||"object"!==t.nodeName.toLowerCase())){if(y=e,b=t,1===T&&(W.test(e)||q.test(e))){for((b=ee.test(e)&&ye(t.parentNode)||t)===t&&r.scope||((l=t.getAttribute("id"))?l=l.replace(ie,ne):t.setAttribute("id",l=S)),s=(m=a(e)).length;s--;)m[s]=(l?"#"+l:":scope")+" "+ve(m[s]);y=m.join(",")}try{return N.apply(i,b.querySelectorAll(y)),i}catch(t){C(e,!0)}finally{l===S&&t.removeAttribute("id")}}}return u(e.replace(G,"$1"),t,i,n)}function ue(){var e=[];return function t(r,n){return e.push(r+" ")>i.cacheLength&&delete t[e.shift()],t[r+" "]=n}}function ce(e){return e[S]=!0,e}function le(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var r=e.split("|"),n=r.length;n--;)i.attrHandle[r[n]]=t}function pe(e,t){var r=t&&e,i=r&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(r)for(;r=r.nextSibling;)if(r===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function me(e){return function(t){var r=t.nodeName.toLowerCase();return("input"===r||"button"===r)&&t.type===e}}function ge(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return ce(function(t){return t=+t,ce(function(r,i){for(var n,o=e([],r.length,t),a=o.length;a--;)r[n=o[a]]&&(r[n]=!(i[n]=r[n]))})})}function ye(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in r=se.support={},o=se.isXML=function(e){var t=e.namespaceURI,r=(e.ownerDocument||e).documentElement;return!J.test(t||r&&r.nodeName||"HTML")},p=se.setDocument=function(e){var t,n,a=e?e.ownerDocument||e:T;return a!=f&&9===a.nodeType&&a.documentElement?(m=(f=a).documentElement,g=!o(f),T!=f&&(n=f.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),r.scope=le(function(e){return m.appendChild(e).appendChild(f.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),r.attributes=le(function(e){return e.className="i",!e.getAttribute("className")}),r.getElementsByTagName=le(function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length}),r.getElementsByClassName=X.test(f.getElementsByClassName),r.getById=le(function(e){return m.appendChild(e).id=S,!f.getElementsByName||!f.getElementsByName(S).length}),r.getById?(i.filter.ID=function(e){var t=e.replace(te,re);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var r=t.getElementById(e);return r?[r]:[]}}):(i.filter.ID=function(e){var t=e.replace(te,re);return function(e){var r=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return r&&r.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var r,i,n,o=t.getElementById(e);if(o){if((r=o.getAttributeNode("id"))&&r.value===e)return[o];for(n=t.getElementsByName(e),i=0;o=n[i++];)if((r=o.getAttributeNode("id"))&&r.value===e)return[o]}return[]}}),i.find.TAG=r.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):r.qsa?t.querySelectorAll(e):void 0}:function(e,t){var r,i=[],n=0,o=t.getElementsByTagName(e);if("*"===e){for(;r=o[n++];)1===r.nodeType&&i.push(r);return i}return o},i.find.CLASS=r.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},y=[],h=[],(r.qsa=X.test(f.querySelectorAll))&&(le(function(e){var t;m.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&h.push("[*^$]="+F+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||h.push("\\["+F+"*(?:value|"+L+")"),e.querySelectorAll("[id~="+S+"-]").length||h.push("~="),(t=f.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||h.push("\\["+F+"*name"+F+"*="+F+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||h.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||h.push(".#.+[+~]"),e.querySelectorAll("\\\f"),h.push("[\\r\\n\\f]")}),le(function(e){e.innerHTML="";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&h.push("name"+F+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&h.push(":enabled",":disabled"),m.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),h.push(",.*:")})),(r.matchesSelector=X.test(b=m.matches||m.webkitMatchesSelector||m.mozMatchesSelector||m.oMatchesSelector||m.msMatchesSelector))&&le(function(e){r.disconnectedMatch=b.call(e,"*"),b.call(e,"[s!='']:x"),y.push("!=",z)}),h=h.length&&new RegExp(h.join("|")),y=y.length&&new RegExp(y.join("|")),t=X.test(m.compareDocumentPosition),v=t||X.test(m.contains)?function(e,t){var r=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(r.contains?r.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return d=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!r.sortDetached&&t.compareDocumentPosition(e)===i?e==f||e.ownerDocument==T&&v(T,e)?-1:t==f||t.ownerDocument==T&&v(T,t)?1:l?k(l,e)-k(l,t):0:4&i?-1:1)}:function(e,t){if(e===t)return d=!0,0;var r,i=0,n=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!n||!o)return e==f?-1:t==f?1:n?-1:o?1:l?k(l,e)-k(l,t):0;if(n===o)return pe(e,t);for(r=e;r=r.parentNode;)a.unshift(r);for(r=t;r=r.parentNode;)s.unshift(r);for(;a[i]===s[i];)i++;return i?pe(a[i],s[i]):a[i]==T?-1:s[i]==T?1:0},f):f},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(p(e),r.matchesSelector&&g&&!C[t+" "]&&(!y||!y.test(t))&&(!h||!h.test(t)))try{var i=b.call(e,t);if(i||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){C(t,!0)}return se(t,f,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=f&&p(e),v(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=f&&p(e);var n=i.attrHandle[t.toLowerCase()],o=n&&O.call(i.attrHandle,t.toLowerCase())?n(e,t,!g):void 0;return void 0!==o?o:r.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},se.escape=function(e){return(e+"").replace(ie,ne)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,i=[],n=0,o=0;if(d=!r.detectDuplicates,l=!r.sortStable&&e.slice(0),e.sort(D),d){for(;t=e[o++];)t===e[o]&&(n=i.push(o));for(;n--;)e.splice(i[n],1)}return l=null,e},n=se.getText=function(e){var t,r="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)r+=n(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i++];)r+=n(t);return r},(i=se.selectors={cacheLength:50,createPseudo:ce,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,re),e[3]=(e[3]||e[4]||e[5]||"").replace(te,re),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,r=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":r&&K.test(r)&&(t=a(r,!0))&&(t=r.indexOf(")",r.length-t)-r.length)&&(e[0]=e[0].slice(0,t),e[2]=r.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,re).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=I[e+" "];return t||(t=new RegExp("(^|"+F+")"+e+"("+F+"|$)"))&&I(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,r){return function(i){var n=se.attr(i,e);return null==n?"!="===t:!t||(n+="","="===t?n===r:"!="===t?n!==r:"^="===t?r&&0===n.indexOf(r):"*="===t?r&&n.indexOf(r)>-1:"$="===t?r&&n.slice(-r.length)===r:"~="===t?(" "+n.replace(B," ")+" ").indexOf(r)>-1:"|="===t&&(n===r||n.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,r,i,n){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===n?function(e){return!!e.parentNode}:function(t,r,u){var c,l,d,p,f,m,g=o!==a?"nextSibling":"previousSibling",h=t.parentNode,y=s&&t.nodeName.toLowerCase(),b=!u&&!s,v=!1;if(h){if(o){for(;g;){for(p=t;p=p[g];)if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;m=g="only"===e&&!m&&"nextSibling"}return!0}if(m=[a?h.firstChild:h.lastChild],a&&b){for(v=(f=(c=(l=(d=(p=h)[S]||(p[S]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===A&&c[1])&&c[2],p=f&&h.childNodes[f];p=++f&&p&&p[g]||(v=f=0)||m.pop();)if(1===p.nodeType&&++v&&p===t){l[e]=[A,f,v];break}}else if(b&&(v=f=(c=(l=(d=(p=t)[S]||(p[S]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===A&&c[1]),!1===v)for(;(p=++f&&p&&p[g]||(v=f=0)||m.pop())&&((s?p.nodeName.toLowerCase()!==y:1!==p.nodeType)||!++v||(b&&((l=(d=p[S]||(p[S]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]=[A,v]),p!==t)););return(v-=n)===i||v%i==0&&v/i>=0}}},PSEUDO:function(e,t){var r,n=i.pseudos[e]||i.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return n[S]?n(t):n.length>1?(r=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ce(function(e,r){for(var i,o=n(e,t),a=o.length;a--;)e[i=k(e,o[a])]=!(r[i]=o[a])}):function(e){return n(e,0,r)}):n}},pseudos:{not:ce(function(e){var t=[],r=[],i=s(e.replace(G,"$1"));return i[S]?ce(function(e,t,r,n){for(var o,a=i(e,null,n,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,n,o){return t[0]=e,i(t,null,o,r),t[0]=null,!r.pop()}}),has:ce(function(e){return function(t){return se(e,t).length>0}}),contains:ce(function(e){return e=e.replace(te,re),function(t){return(t.textContent||n(t)).indexOf(e)>-1}}),lang:ce(function(e){return H.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,re).toLowerCase(),function(t){var r;do{if(r=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(r=r.toLowerCase())===e||0===r.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var r=e.location&&e.location.hash;return r&&r.slice(1)===t.id},root:function(e){return e===m},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return $.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,r){return[r<0?r+t:r]}),even:he(function(e,t){for(var r=0;rt?t:r;--i>=0;)e.push(i);return e}),gt:he(function(e,t,r){for(var i=r<0?r+t:r;++i1?function(t,r,i){for(var n=e.length;n--;)if(!e[n](t,r,i))return!1;return!0}:e[0]}function Ae(e,t,r,i,n){for(var o,a=[],s=0,u=e.length,c=null!=t;s-1&&(o[c]=!(a[c]=d))}}else y=Ae(y===a?y.splice(m,y.length):y),n?n(null,a,y,u):N.apply(a,y)})}function Ie(e){for(var t,r,n,o=e.length,a=i.relative[e[0].type],s=a||i.relative[" "],u=a?1:0,l=Se(function(e){return e===t},s,!0),d=Se(function(e){return k(t,e)>-1},s,!0),p=[function(e,r,i){var n=!a&&(i||r!==c)||((t=r).nodeType?l(e,r,i):d(e,r,i));return t=null,n}];u1&&Te(p),u>1&&ve(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(G,"$1"),r,u0,n=e.length>0,o=function(o,a,s,u,l){var d,m,h,y=0,b="0",v=o&&[],S=[],T=c,E=o||n&&i.find.TAG("*",l),I=A+=null==T?1:Math.random()||.1,P=E.length;for(l&&(c=a==f||a||l);b!==P&&null!=(d=E[b]);b++){if(n&&d){for(m=0,a||d.ownerDocument==f||(p(d),s=!g);h=e[m++];)if(h(d,a||f,s)){u.push(d);break}l&&(A=I)}r&&((d=!h&&d)&&y--,o&&v.push(d))}if(y+=b,r&&b!==y){for(m=0;h=t[m++];)h(v,S,a,s);if(o){if(y>0)for(;b--;)v[b]||S[b]||(S[b]=R.call(u));S=Ae(S)}N.apply(u,S),l&&!o&&S.length>0&&y+t.length>1&&se.uniqueSort(u)}return l&&(A=I,c=T),v};return r?ce(o):o}(o,n))).selector=e}return s},u=se.select=function(e,t,r,n){var o,u,c,l,d,p="function"==typeof e&&e,f=!n&&a(e=p.selector||e);if(r=r||[],1===f.length){if((u=f[0]=f[0].slice(0)).length>2&&"ID"===(c=u[0]).type&&9===t.nodeType&&g&&i.relative[u[1].type]){if(!(t=(i.find.ID(c.matches[0].replace(te,re),t)||[])[0]))return r;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(o=Y.needsContext.test(e)?0:u.length;o--&&(c=u[o],!i.relative[l=c.type]);)if((d=i.find[l])&&(n=d(c.matches[0].replace(te,re),ee.test(u[0].type)&&ye(t.parentNode)||t))){if(u.splice(o,1),!(e=n.length&&ve(u)))return N.apply(r,n),r;break}}return(p||s(e,f))(n,t,!g,r,!t||ee.test(e)&&ye(t.parentNode)||t),r},r.sortStable=S.split("").sort(D).join("")===S,r.detectDuplicates=!!d,p(),r.sortDetached=le(function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))}),le(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,r){if(!r)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),r.attributes&&le(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,r){if(!r&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),le(function(e){return null==e.getAttribute("disabled")})||de(L,function(e,t,r){var i;if(!r)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),se}(r);E.find=P,E.expr=P.selectors,E.expr[":"]=E.expr.pseudos,E.uniqueSort=E.unique=P.uniqueSort,E.text=P.getText,E.isXMLDoc=P.isXML,E.contains=P.contains,E.escapeSelector=P.escape;var _=function(e,t,r){for(var i=[],n=void 0!==r;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(n&&E(e).is(r))break;i.push(e)}return i},C=function(e,t){for(var r=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&r.push(e);return r},D=E.expr.match.needsContext;function O(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var x=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function R(e,t,r){return y(t)?E.grep(e,function(e,i){return!!t.call(e,i,e)!==r}):t.nodeType?E.grep(e,function(e){return e===t!==r}):"string"!=typeof t?E.grep(e,function(e){return l.call(t,e)>-1!==r}):E.filter(t,e,r)}E.filter=function(e,t,r){var i=t[0];return r&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?E.find.matchesSelector(i,e)?[i]:[]:E.find.matches(e,E.grep(t,function(e){return 1===e.nodeType}))},E.fn.extend({find:function(e){var t,r,i=this.length,n=this;if("string"!=typeof e)return this.pushStack(E(e).filter(function(){for(t=0;t1?E.uniqueSort(r):r},filter:function(e){return this.pushStack(R(this,e||[],!1))},not:function(e){return this.pushStack(R(this,e||[],!0))},is:function(e){return!!R(this,"string"==typeof e&&D.test(e)?E(e):e||[],!1).length}});var w,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(E.fn.init=function(e,t,r){var i,n;if(!e)return this;if(r=r||w,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:N.exec(e))||!i[1]&&t)return!t||t.jquery?(t||r).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof E?t[0]:t,E.merge(this,E.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:v,!0)),x.test(i[1])&&E.isPlainObject(t))for(i in t)y(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(n=v.getElementById(i[2]))&&(this[0]=n,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==r.ready?r.ready(e):e(E):E.makeArray(e,this)}).prototype=E.fn,w=E(v);var U=/^(?:parents|prev(?:Until|All))/,k={children:!0,contents:!0,next:!0,prev:!0};function L(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}E.fn.extend({has:function(e){var t=E(e,this),r=t.length;return this.filter(function(){for(var e=0;e-1:1===r.nodeType&&E.find.matchesSelector(r,e))){o.push(r);break}return this.pushStack(o.length>1?E.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?l.call(E(e),this[0]):l.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),E.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return _(e,"parentNode")},parentsUntil:function(e,t,r){return _(e,"parentNode",r)},next:function(e){return L(e,"nextSibling")},prev:function(e){return L(e,"previousSibling")},nextAll:function(e){return _(e,"nextSibling")},prevAll:function(e){return _(e,"previousSibling")},nextUntil:function(e,t,r){return _(e,"nextSibling",r)},prevUntil:function(e,t,r){return _(e,"previousSibling",r)},siblings:function(e){return C((e.parentNode||{}).firstChild,e)},children:function(e){return C(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(O(e,"template")&&(e=e.content||e),E.merge([],e.childNodes))}},function(e,t){E.fn[e]=function(r,i){var n=E.map(this,t,r);return"Until"!==e.slice(-5)&&(i=r),i&&"string"==typeof i&&(n=E.filter(i,n)),this.length>1&&(k[e]||E.uniqueSort(n),U.test(e)&&n.reverse()),this.pushStack(n)}});var F=/[^\x20\t\r\n\f]+/g;function j(e){return e}function M(e){throw e}function z(e,t,r,i){var n;try{e&&y(n=e.promise)?n.call(e).done(t).fail(r):e&&y(n=e.then)?n.call(e,t,r):t.apply(void 0,[e].slice(i))}catch(e){r.apply(void 0,[e])}}E.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return E.each(e.match(F)||[],function(e,r){t[r]=!0}),t}(e):E.extend({},e);var t,r,i,n,o=[],a=[],s=-1,u=function(){for(n=n||e.once,i=t=!0;a.length;s=-1)for(r=a.shift();++s-1;)o.splice(r,1),r<=s&&s--}),this},has:function(e){return e?E.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return n=a=[],o=r="",this},disabled:function(){return!o},lock:function(){return n=a=[],r||t||(o=r=""),this},locked:function(){return!!n},fireWith:function(e,r){return n||(r=[e,(r=r||[]).slice?r.slice():r],a.push(r),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},E.extend({Deferred:function(e){var t=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],i="pending",n={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return n.then(null,e)},pipe:function(){var e=arguments;return E.Deferred(function(r){E.each(t,function(t,i){var n=y(e[i[4]])&&e[i[4]];o[i[1]](function(){var e=n&&n.apply(this,arguments);e&&y(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[i[0]+"With"](this,n?[e]:arguments)})}),e=null}).promise()},then:function(e,i,n){var o=0;function a(e,t,i,n){return function(){var s=this,u=arguments,c=function(){var r,c;if(!(e=o&&(i!==M&&(s=void 0,u=[r]),t.rejectWith(s,u))}};e?l():(E.Deferred.getStackHook&&(l.stackTrace=E.Deferred.getStackHook()),r.setTimeout(l))}}return E.Deferred(function(r){t[0][3].add(a(0,r,y(n)?n:j,r.notifyWith)),t[1][3].add(a(0,r,y(e)?e:j)),t[2][3].add(a(0,r,y(i)?i:M))}).promise()},promise:function(e){return null!=e?E.extend(e,n):n}},o={};return E.each(t,function(e,r){var a=r[2],s=r[5];n[r[1]]=a.add,s&&a.add(function(){i=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=a.fireWith}),n.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,r=t,i=Array(r),n=s.call(arguments),o=E.Deferred(),a=function(e){return function(r){i[e]=this,n[e]=arguments.length>1?s.call(arguments):r,--t||o.resolveWith(i,n)}};if(t<=1&&(z(e,o.done(a(r)).resolve,o.reject,!t),"pending"===o.state()||y(n[r]&&n[r].then)))return o.then();for(;r--;)z(n[r],a(r),o.reject);return o.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&B.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},E.readyException=function(e){r.setTimeout(function(){throw e})};var G=E.Deferred();function V(){v.removeEventListener("DOMContentLoaded",V),r.removeEventListener("load",V),E.ready()}E.fn.ready=function(e){return G.then(e).catch(function(e){E.readyException(e)}),this},E.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--E.readyWait:E.isReady)||(E.isReady=!0,!0!==e&&--E.readyWait>0||G.resolveWith(v,[E]))}}),E.ready.then=G.then,"complete"===v.readyState||"loading"!==v.readyState&&!v.documentElement.doScroll?r.setTimeout(E.ready):(v.addEventListener("DOMContentLoaded",V),r.addEventListener("load",V));var q=function(e,t,r,i,n,o,a){var s=0,u=e.length,c=null==r;if("object"===A(r))for(s in n=!0,r)q(e,t,s,r[s],!0,o,a);else if(void 0!==i&&(n=!0,y(i)||(a=!0),c&&(a?(t.call(e,i),t=null):(c=t,t=function(e,t,r){return c.call(E(e),r)})),t))for(;s1,null,!0)},removeData:function(e){return this.each(function(){X.remove(this,e)})}}),E.extend({queue:function(e,t,r){var i;if(e)return t=(t||"fx")+"queue",i=$.get(e,t),r&&(!i||Array.isArray(r)?i=$.access(e,t,E.makeArray(r)):i.push(r)),i||[]},dequeue:function(e,t){t=t||"fx";var r=E.queue(e,t),i=r.length,n=r.shift(),o=E._queueHooks(e,t);"inprogress"===n&&(n=r.shift(),i--),n&&("fx"===t&&r.unshift("inprogress"),delete o.stop,n.call(e,function(){E.dequeue(e,t)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var r=t+"queueHooks";return $.get(e,r)||$.access(e,r,{empty:E.Callbacks("once memory").add(function(){$.remove(e,[t+"queue",r])})})}}),E.fn.extend({queue:function(e,t){var r=2;return"string"!=typeof e&&(t=e,e="fx",r--),arguments.length\x20\t\r\n\f]*)/i,ge=/^$|^module$|\/(?:java|ecma)script/i;!function(){var e=v.createDocumentFragment().appendChild(v.createElement("div")),t=v.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",h.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,e.innerHTML="",h.option=!!e.lastChild}();var he={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ye(e,t){var r;return r=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&O(e,t)?E.merge([e],r):r}function be(e,t){for(var r=0,i=e.length;r",""]);var ve=/<|&#?\w+;/;function Se(e,t,r,i,n){for(var o,a,s,u,c,l,d=t.createDocumentFragment(),p=[],f=0,m=e.length;f-1)n&&n.push(o);else if(c=ae(o),a=ye(d.appendChild(o),"script"),c&&be(a),r)for(l=0;o=a[l++];)ge.test(o.type||"")&&r.push(o);return d}var Te=/^key/,Ae=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function Ie(){return!0}function Pe(){return!1}function _e(e,t){return e===function(){try{return v.activeElement}catch(e){}}()==("focus"===t)}function Ce(e,t,r,i,n,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof r&&(i=i||r,r=void 0),t)Ce(e,s,r,i,t[s],o);return e}if(null==i&&null==n?(n=r,i=r=void 0):null==n&&("string"==typeof r?(n=i,i=void 0):(n=i,i=r,r=void 0)),!1===n)n=Pe;else if(!n)return e;return 1===o&&(a=n,(n=function(e){return E().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=E.guid++)),e.each(function(){E.event.add(this,t,n,i,r)})}function De(e,t,r){r?($.set(e,t,!1),E.event.add(e,t,{namespace:!1,handler:function(e){var i,n,o=$.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(E.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=s.call(arguments),$.set(this,t,o),i=r(this,t),this[t](),o!==(n=$.get(this,t))||i?$.set(this,t,!1):n={},o!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else o.length&&($.set(this,t,{value:E.event.trigger(E.extend(o[0],E.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===$.get(e,t)&&E.event.add(e,t,Ie)}E.event={global:{},add:function(e,t,r,i,n){var o,a,s,u,c,l,d,p,f,m,g,h=$.get(e);if(J(e))for(r.handler&&(r=(o=r).handler,n=o.selector),n&&E.find.matchesSelector(oe,n),r.guid||(r.guid=E.guid++),(u=h.events)||(u=h.events=Object.create(null)),(a=h.handle)||(a=h.handle=function(t){return void 0!==E&&E.event.triggered!==t.type?E.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(F)||[""]).length;c--;)f=g=(s=Ee.exec(t[c])||[])[1],m=(s[2]||"").split(".").sort(),f&&(d=E.event.special[f]||{},f=(n?d.delegateType:d.bindType)||f,d=E.event.special[f]||{},l=E.extend({type:f,origType:g,data:i,handler:r,guid:r.guid,selector:n,needsContext:n&&E.expr.match.needsContext.test(n),namespace:m.join(".")},o),(p=u[f])||((p=u[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,m,a)||e.addEventListener&&e.addEventListener(f,a)),d.add&&(d.add.call(e,l),l.handler.guid||(l.handler.guid=r.guid)),n?p.splice(p.delegateCount++,0,l):p.push(l),E.event.global[f]=!0)},remove:function(e,t,r,i,n){var o,a,s,u,c,l,d,p,f,m,g,h=$.hasData(e)&&$.get(e);if(h&&(u=h.events)){for(c=(t=(t||"").match(F)||[""]).length;c--;)if(f=g=(s=Ee.exec(t[c])||[])[1],m=(s[2]||"").split(".").sort(),f){for(d=E.event.special[f]||{},p=u[f=(i?d.delegateType:d.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)l=p[o],!n&&g!==l.origType||r&&r.guid!==l.guid||s&&!s.test(l.namespace)||i&&i!==l.selector&&("**"!==i||!l.selector)||(p.splice(o,1),l.selector&&p.delegateCount--,d.remove&&d.remove.call(e,l));a&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,m,h.handle)||E.removeEvent(e,f,h.handle),delete u[f])}else for(f in u)E.event.remove(e,f+t[c],r,i,!0);E.isEmptyObject(u)&&$.remove(e,"handle events")}},dispatch:function(e){var t,r,i,n,o,a,s=new Array(arguments.length),u=E.event.fix(e),c=($.get(this,"events")||Object.create(null))[u.type]||[],l=E.event.special[u.type]||{};for(s[0]=u,t=1;t=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],a={},r=0;r-1:E.find(n,this,null,[c]).length),a[n]&&o.push(i);o.length&&s.push({elem:c,handlers:o})}return c=this,u\s*$/g;function we(e,t){return O(e,"table")&&O(11!==t.nodeType?t:t.firstChild,"tr")&&E(e).children("tbody")[0]||e}function Ne(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ue(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function ke(e,t){var r,i,n,o,a,s;if(1===t.nodeType){if($.hasData(e)&&(s=$.get(e).events))for(n in $.remove(t,"handle events"),s)for(r=0,i=s[n].length;r1&&"string"==typeof m&&!h.checkClone&&xe.test(m))return e.each(function(n){var o=e.eq(n);g&&(t[0]=m.call(this,n,o.html())),Fe(o,t,r,i)});if(p&&(o=(n=Se(t,e[0].ownerDocument,!1,e,i)).firstChild,1===n.childNodes.length&&(n=o),o||i)){for(s=(a=E.map(ye(n,"script"),Ne)).length;d0&&be(a,!u&&ye(e,"script")),s},cleanData:function(e){for(var t,r,i,n=E.event.special,o=0;void 0!==(r=e[o]);o++)if(J(r)){if(t=r[$.expando]){if(t.events)for(i in t.events)n[i]?E.event.remove(r,i):E.removeEvent(r,i,t.handle);r[$.expando]=void 0}r[X.expando]&&(r[X.expando]=void 0)}}}),E.fn.extend({detach:function(e){return je(this,e,!0)},remove:function(e){return je(this,e)},text:function(e){return q(this,function(e){return void 0===e?E.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Fe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||we(this,e).appendChild(e)})},prepend:function(){return Fe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=we(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Fe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Fe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(E.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return E.clone(this,e,t)})},html:function(e){return q(this,function(e){var t=this[0]||{},r=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!he[(me.exec(e)||["",""])[1].toLowerCase()]){e=E.htmlPrefilter(e);try{for(;r3,oe.removeChild(e)),s}}))}();var We=["Webkit","Moz","ms"],Ke=v.createElement("div").style,He={};function Ye(e){var t=E.cssProps[e]||He[e];return t||(e in Ke?e:He[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),r=We.length;r--;)if((e=We[r]+t)in Ke)return e}(e)||e)}var Je=/^(none|table(?!-c[ea]).+)/,Qe=/^--/,$e={position:"absolute",visibility:"hidden",display:"block"},Xe={letterSpacing:"0",fontWeight:"400"};function Ze(e,t,r){var i=ie.exec(t);return i?Math.max(0,i[2]-(r||0))+(i[3]||"px"):t}function et(e,t,r,i,n,o){var a="width"===t?1:0,s=0,u=0;if(r===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===r&&(u+=E.css(e,r+ne[a],!0,n)),i?("content"===r&&(u-=E.css(e,"padding"+ne[a],!0,n)),"margin"!==r&&(u-=E.css(e,"border"+ne[a]+"Width",!0,n))):(u+=E.css(e,"padding"+ne[a],!0,n),"padding"!==r?u+=E.css(e,"border"+ne[a]+"Width",!0,n):s+=E.css(e,"border"+ne[a]+"Width",!0,n));return!i&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function tt(e,t,r){var i=ze(e),n=(!h.boxSizingReliable()||r)&&"border-box"===E.css(e,"boxSizing",!1,i),o=n,a=Ve(e,t,i),s="offset"+t[0].toUpperCase()+t.slice(1);if(Me.test(a)){if(!r)return a;a="auto"}return(!h.boxSizingReliable()&&n||!h.reliableTrDimensions()&&O(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===E.css(e,"display",!1,i))&&e.getClientRects().length&&(n="border-box"===E.css(e,"boxSizing",!1,i),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+et(e,t,r||(n?"border":"content"),o,i,a)+"px"}function rt(e,t,r,i,n){return new rt.prototype.init(e,t,r,i,n)}E.extend({cssHooks:{opacity:{get:function(e,t){if(t){var r=Ve(e,"opacity");return""===r?"1":r}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var n,o,a,s=Y(t),u=Qe.test(t),c=e.style;if(u||(t=Ye(s)),a=E.cssHooks[t]||E.cssHooks[s],void 0===r)return a&&"get"in a&&void 0!==(n=a.get(e,!1,i))?n:c[t];"string"===(o=typeof r)&&(n=ie.exec(r))&&n[1]&&(r=ce(e,t,n),o="number"),null!=r&&r==r&&("number"!==o||u||(r+=n&&n[3]||(E.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==r||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(r=a.set(e,r,i))||(u?c.setProperty(t,r):c[t]=r))}},css:function(e,t,r,i){var n,o,a,s=Y(t);return Qe.test(t)||(t=Ye(s)),(a=E.cssHooks[t]||E.cssHooks[s])&&"get"in a&&(n=a.get(e,!0,r)),void 0===n&&(n=Ve(e,t,i)),"normal"===n&&t in Xe&&(n=Xe[t]),""===r||r?(o=parseFloat(n),!0===r||isFinite(o)?o||0:n):n}}),E.each(["height","width"],function(e,t){E.cssHooks[t]={get:function(e,r,i){if(r)return!Je.test(E.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,t,i):Be(e,$e,function(){return tt(e,t,i)})},set:function(e,r,i){var n,o=ze(e),a=!h.scrollboxSize()&&"absolute"===o.position,s=(a||i)&&"border-box"===E.css(e,"boxSizing",!1,o),u=i?et(e,t,i,s,o):0;return s&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-et(e,t,"border",!1,o)-.5)),u&&(n=ie.exec(r))&&"px"!==(n[3]||"px")&&(e.style[t]=r,r=E.css(e,t)),Ze(0,r,u)}}}),E.cssHooks.marginLeft=qe(h.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ve(e,"marginLeft"))||e.getBoundingClientRect().left-Be(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),E.each({margin:"",padding:"",border:"Width"},function(e,t){E.cssHooks[e+t]={expand:function(r){for(var i=0,n={},o="string"==typeof r?r.split(" "):[r];i<4;i++)n[e+ne[i]+t]=o[i]||o[i-2]||o[0];return n}},"margin"!==e&&(E.cssHooks[e+t].set=Ze)}),E.fn.extend({css:function(e,t){return q(this,function(e,t,r){var i,n,o={},a=0;if(Array.isArray(t)){for(i=ze(e),n=t.length;a1)}}),E.Tween=rt,rt.prototype={constructor:rt,init:function(e,t,r,i,n,o){this.elem=e,this.prop=r,this.easing=n||E.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(E.cssNumber[r]?"":"px")},cur:function(){var e=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,r=rt.propHooks[this.prop];return this.options.duration?this.pos=t=E.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):rt.propHooks._default.set(this),this}},rt.prototype.init.prototype=rt.prototype,rt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=E.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){E.fx.step[e.prop]?E.fx.step[e.prop](e):1!==e.elem.nodeType||!E.cssHooks[e.prop]&&null==e.elem.style[Ye(e.prop)]?e.elem[e.prop]=e.now:E.style(e.elem,e.prop,e.now+e.unit)}}},rt.propHooks.scrollTop=rt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},E.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},E.fx=rt.prototype.init,E.fx.step={};var it,nt,ot=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function st(){nt&&(!1===v.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(st):r.setTimeout(st,E.fx.interval),E.fx.tick())}function ut(){return r.setTimeout(function(){it=void 0}),it=Date.now()}function ct(e,t){var r,i=0,n={height:e};for(t=t?1:0;i<4;i+=2-t)n["margin"+(r=ne[i])]=n["padding"+r]=e;return t&&(n.opacity=n.width=e),n}function lt(e,t,r){for(var i,n=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),o=0,a=n.length;o1)},removeAttr:function(e){return this.each(function(){E.removeAttr(this,e)})}}),E.extend({attr:function(e,t,r){var i,n,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?E.prop(e,t,r):(1===o&&E.isXMLDoc(e)||(n=E.attrHooks[t.toLowerCase()]||(E.expr.match.bool.test(t)?pt:void 0)),void 0!==r?null===r?void E.removeAttr(e,t):n&&"set"in n&&void 0!==(i=n.set(e,r,t))?i:(e.setAttribute(t,r+""),r):n&&"get"in n&&null!==(i=n.get(e,t))?i:null==(i=E.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&O(e,"input")){var r=e.value;return e.setAttribute("type",t),r&&(e.value=r),t}}}},removeAttr:function(e,t){var r,i=0,n=t&&t.match(F);if(n&&1===e.nodeType)for(;r=n[i++];)e.removeAttribute(r)}}),pt={set:function(e,t,r){return!1===t?E.removeAttr(e,r):e.setAttribute(r,r),r}},E.each(E.expr.match.bool.source.match(/\w+/g),function(e,t){var r=ft[t]||E.find.attr;ft[t]=function(e,t,i){var n,o,a=t.toLowerCase();return i||(o=ft[a],ft[a]=n,n=null!=r(e,t,i)?a:null,ft[a]=o),n}});var mt=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function ht(e){return(e.match(F)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(F)||[]}E.fn.extend({prop:function(e,t){return q(this,E.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[E.propFix[e]||e]})}}),E.extend({prop:function(e,t,r){var i,n,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&E.isXMLDoc(e)||(t=E.propFix[t]||t,n=E.propHooks[t]),void 0!==r?n&&"set"in n&&void 0!==(i=n.set(e,r,t))?i:e[t]=r:n&&"get"in n&&null!==(i=n.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=E.find.attr(e,"tabindex");return t?parseInt(t,10):mt.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),h.optSelected||(E.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){E.propFix[this.toLowerCase()]=this}),E.fn.extend({addClass:function(e){var t,r,i,n,o,a,s,u=0;if(y(e))return this.each(function(t){E(this).addClass(e.call(this,t,yt(this)))});if((t=bt(e)).length)for(;r=this[u++];)if(n=yt(r),i=1===r.nodeType&&" "+ht(n)+" "){for(a=0;o=t[a++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");n!==(s=ht(i))&&r.setAttribute("class",s)}return this},removeClass:function(e){var t,r,i,n,o,a,s,u=0;if(y(e))return this.each(function(t){E(this).removeClass(e.call(this,t,yt(this)))});if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;r=this[u++];)if(n=yt(r),i=1===r.nodeType&&" "+ht(n)+" "){for(a=0;o=t[a++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");n!==(s=ht(i))&&r.setAttribute("class",s)}return this},toggleClass:function(e,t){var r=typeof e,i="string"===r||Array.isArray(e);return"boolean"==typeof t&&i?t?this.addClass(e):this.removeClass(e):y(e)?this.each(function(r){E(this).toggleClass(e.call(this,r,yt(this),t),t)}):this.each(function(){var t,n,o,a;if(i)for(n=0,o=E(this),a=bt(e);t=a[n++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==r||((t=yt(this))&&$.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":$.get(this,"__className__")||""))})},hasClass:function(e){var t,r,i=0;for(t=" "+e+" ";r=this[i++];)if(1===r.nodeType&&(" "+ht(yt(r))+" ").indexOf(t)>-1)return!0;return!1}});var vt=/\r/g;E.fn.extend({val:function(e){var t,r,i,n=this[0];return arguments.length?(i=y(e),this.each(function(r){var n;1===this.nodeType&&(null==(n=i?e.call(this,r,E(this).val()):e)?n="":"number"==typeof n?n+="":Array.isArray(n)&&(n=E.map(n,function(e){return null==e?"":e+""})),(t=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,n,"value")||(this.value=n))})):n?(t=E.valHooks[n.type]||E.valHooks[n.nodeName.toLowerCase()])&&"get"in t&&void 0!==(r=t.get(n,"value"))?r:"string"==typeof(r=n.value)?r.replace(vt,""):null==r?"":r:void 0}}),E.extend({valHooks:{option:{get:function(e){var t=E.find.attr(e,"value");return null!=t?t:ht(E.text(e))}},select:{get:function(e){var t,r,i,n=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:n.length;for(i=o<0?u:a?o:0;i-1)&&(r=!0);return r||(e.selectedIndex=-1),o}}}}),E.each(["radio","checkbox"],function(){E.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=E.inArray(E(e).val(),t)>-1}},h.checkOn||(E.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),h.focusin="onfocusin"in r;var St=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};E.extend(E.event,{trigger:function(e,t,i,n){var o,a,s,u,c,l,d,p,m=[i||v],g=f.call(e,"type")?e.type:e,h=f.call(e,"namespace")?e.namespace.split("."):[];if(a=p=s=i=i||v,3!==i.nodeType&&8!==i.nodeType&&!St.test(g+E.event.triggered)&&(g.indexOf(".")>-1&&(g=(h=g.split(".")).shift(),h.sort()),c=g.indexOf(":")<0&&"on"+g,(e=e[E.expando]?e:new E.Event(g,"object"==typeof e&&e)).isTrigger=n?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:E.makeArray(t,[e]),d=E.event.special[g]||{},n||!d.trigger||!1!==d.trigger.apply(i,t))){if(!n&&!d.noBubble&&!b(i)){for(u=d.delegateType||g,St.test(u+g)||(a=a.parentNode);a;a=a.parentNode)m.push(a),s=a;s===(i.ownerDocument||v)&&m.push(s.defaultView||s.parentWindow||r)}for(o=0;(a=m[o++])&&!e.isPropagationStopped();)p=a,e.type=o>1?u:d.bindType||g,(l=($.get(a,"events")||Object.create(null))[e.type]&&$.get(a,"handle"))&&l.apply(a,t),(l=c&&a[c])&&l.apply&&J(a)&&(e.result=l.apply(a,t),!1===e.result&&e.preventDefault());return e.type=g,n||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(m.pop(),t)||!J(i)||c&&y(i[g])&&!b(i)&&((s=i[c])&&(i[c]=null),E.event.triggered=g,e.isPropagationStopped()&&p.addEventListener(g,Tt),i[g](),e.isPropagationStopped()&&p.removeEventListener(g,Tt),E.event.triggered=void 0,s&&(i[c]=s)),e.result}},simulate:function(e,t,r){var i=E.extend(new E.Event,r,{type:e,isSimulated:!0});E.event.trigger(i,null,t)}}),E.fn.extend({trigger:function(e,t){return this.each(function(){E.event.trigger(e,t,this)})},triggerHandler:function(e,t){var r=this[0];if(r)return E.event.trigger(e,t,r,!0)}}),h.focusin||E.each({focus:"focusin",blur:"focusout"},function(e,t){var r=function(e){E.event.simulate(t,e.target,E.event.fix(e))};E.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,n=$.access(i,t);n||i.addEventListener(e,r,!0),$.access(i,t,(n||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,n=$.access(i,t)-1;n?$.access(i,t,n):(i.removeEventListener(e,r,!0),$.remove(i,t))}}});var At=r.location,Et={guid:Date.now()},It=/\?/;E.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||E.error("Invalid XML: "+e),t};var Pt=/\[\]$/,_t=/\r?\n/g,Ct=/^(?:submit|button|image|reset|file)$/i,Dt=/^(?:input|select|textarea|keygen)/i;function Ot(e,t,r,i){var n;if(Array.isArray(t))E.each(t,function(t,n){r||Pt.test(e)?i(e,n):Ot(e+"["+("object"==typeof n&&null!=n?t:"")+"]",n,r,i)});else if(r||"object"!==A(t))i(e,t);else for(n in t)Ot(e+"["+n+"]",t[n],r,i)}E.param=function(e,t){var r,i=[],n=function(e,t){var r=y(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==r?"":r)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!E.isPlainObject(e))E.each(e,function(){n(this.name,this.value)});else for(r in e)Ot(r,e[r],t,n);return i.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=E.prop(this,"elements");return e?E.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!E(this).is(":disabled")&&Dt.test(this.nodeName)&&!Ct.test(e)&&(this.checked||!fe.test(e))}).map(function(e,t){var r=E(this).val();return null==r?null:Array.isArray(r)?E.map(r,function(e){return{name:t.name,value:e.replace(_t,"\r\n")}}):{name:t.name,value:r.replace(_t,"\r\n")}}).get()}});var xt=/%20/g,Rt=/#.*$/,wt=/([?&])_=[^&]*/,Nt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ut=/^(?:GET|HEAD)$/,kt=/^\/\//,Lt={},Ft={},jt="*/".concat("*"),Mt=v.createElement("a");function zt(e){return function(t,r){"string"!=typeof t&&(r=t,t="*");var i,n=0,o=t.toLowerCase().match(F)||[];if(y(r))for(;i=o[n++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(r)):(e[i]=e[i]||[]).push(r)}}function Bt(e,t,r,i){var n={},o=e===Ft;function a(s){var u;return n[s]=!0,E.each(e[s]||[],function(e,s){var c=s(t,r,i);return"string"!=typeof c||o||n[c]?o?!(u=c):void 0:(t.dataTypes.unshift(c),a(c),!1)}),u}return a(t.dataTypes[0])||!n["*"]&&a("*")}function Gt(e,t){var r,i,n=E.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((n[r]?e:i||(i={}))[r]=t[r]);return i&&E.extend(!0,e,i),e}Mt.href=At.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":jt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,E.ajaxSettings),t):Gt(E.ajaxSettings,e)},ajaxPrefilter:zt(Lt),ajaxTransport:zt(Ft),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var i,n,o,a,s,u,c,l,d,p,f=E.ajaxSetup({},t),m=f.context||f,g=f.context&&(m.nodeType||m.jquery)?E(m):E.event,h=E.Deferred(),y=E.Callbacks("once memory"),b=f.statusCode||{},S={},T={},A="canceled",I={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Nt.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(e,t){return null==c&&(e=T[e.toLowerCase()]=T[e.toLowerCase()]||e,S[e]=t),this},overrideMimeType:function(e){return null==c&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)I.always(e[I.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||A;return i&&i.abort(t),P(0,t),this}};if(h.promise(I),f.url=((e||f.url||At.href)+"").replace(kt,At.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(F)||[""],null==f.crossDomain){u=v.createElement("a");try{u.href=f.url,u.href=u.href,f.crossDomain=Mt.protocol+"//"+Mt.host!=u.protocol+"//"+u.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=E.param(f.data,f.traditional)),Bt(Lt,f,t,I),c)return I;for(d in(l=E.event&&f.global)&&0==E.active++&&E.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Ut.test(f.type),n=f.url.replace(Rt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(xt,"+")):(p=f.url.slice(n.length),f.data&&(f.processData||"string"==typeof f.data)&&(n+=(It.test(n)?"&":"?")+f.data,delete f.data),!1===f.cache&&(n=n.replace(wt,"$1"),p=(It.test(n)?"&":"?")+"_="+Et.guid+++p),f.url=n+p),f.ifModified&&(E.lastModified[n]&&I.setRequestHeader("If-Modified-Since",E.lastModified[n]),E.etag[n]&&I.setRequestHeader("If-None-Match",E.etag[n])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&I.setRequestHeader("Content-Type",f.contentType),I.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+jt+"; q=0.01":""):f.accepts["*"]),f.headers)I.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(m,I,f)||c))return I.abort();if(A="abort",y.add(f.complete),I.done(f.success),I.fail(f.error),i=Bt(Ft,f,t,I)){if(I.readyState=1,l&&g.trigger("ajaxSend",[I,f]),c)return I;f.async&&f.timeout>0&&(s=r.setTimeout(function(){I.abort("timeout")},f.timeout));try{c=!1,i.send(S,P)}catch(e){if(c)throw e;P(-1,e)}}else P(-1,"No Transport");function P(e,t,a,u){var d,p,v,S,T,A=t;c||(c=!0,s&&r.clearTimeout(s),i=void 0,o=u||"",I.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(S=function(e,t,r){for(var i,n,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(n in s)if(s[n]&&s[n].test(i)){u.unshift(n);break}if(u[0]in r)o=u[0];else{for(n in r){if(!u[0]||e.converters[n+" "+u[0]]){o=n;break}a||(a=n)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),r[o]}(f,I,a)),!d&&E.inArray("script",f.dataTypes)>-1&&(f.converters["text script"]=function(){}),S=function(e,t,r,i){var n,o,a,s,u,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=l.shift();o;)if(e.responseFields[o]&&(r[e.responseFields[o]]=t),!u&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=c[u+" "+o]||c["* "+o]))for(n in c)if((s=n.split(" "))[1]===o&&(a=c[u+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[n]:!0!==c[n]&&(o=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(f,S,I,d),d?(f.ifModified&&((T=I.getResponseHeader("Last-Modified"))&&(E.lastModified[n]=T),(T=I.getResponseHeader("etag"))&&(E.etag[n]=T)),204===e||"HEAD"===f.type?A="nocontent":304===e?A="notmodified":(A=S.state,p=S.data,d=!(v=S.error))):(v=A,!e&&A||(A="error",e<0&&(e=0))),I.status=e,I.statusText=(t||A)+"",d?h.resolveWith(m,[p,A,I]):h.rejectWith(m,[I,A,v]),I.statusCode(b),b=void 0,l&&g.trigger(d?"ajaxSuccess":"ajaxError",[I,f,d?p:v]),y.fireWith(m,[I,A]),l&&(g.trigger("ajaxComplete",[I,f]),--E.active||E.event.trigger("ajaxStop")))}return I},getJSON:function(e,t,r){return E.get(e,t,r,"json")},getScript:function(e,t){return E.get(e,void 0,t,"script")}}),E.each(["get","post"],function(e,t){E[t]=function(e,r,i,n){return y(r)&&(n=n||i,i=r,r=void 0),E.ajax(E.extend({url:e,type:t,dataType:n,data:r,success:i},E.isPlainObject(e)&&e))}}),E.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),E._evalUrl=function(e,t,r){return E.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){E.globalEval(e,t,r)}})},E.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=E(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return y(e)?this.each(function(t){E(this).wrapInner(e.call(this,t))}):this.each(function(){var t=E(this),r=t.contents();r.length?r.wrapAll(e):t.append(e)})},wrap:function(e){var t=y(e);return this.each(function(r){E(this).wrapAll(t?e.call(this,r):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){E(this).replaceWith(this.childNodes)}),this}}),E.expr.pseudos.hidden=function(e){return!E.expr.pseudos.visible(e)},E.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},E.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Vt={0:200,1223:204},qt=E.ajaxSettings.xhr();h.cors=!!qt&&"withCredentials"in qt,h.ajax=qt=!!qt,E.ajaxTransport(function(e){var t,i;if(h.cors||qt&&!e.crossDomain)return{send:function(n,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),n)s.setRequestHeader(a,n[a]);t=function(e){return function(){t&&(t=i=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Vt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),i=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout(function(){t&&i()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),E.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),E.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return E.globalEval(e),e}}}),E.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),E.ajaxTransport("script",function(e){var t,r;if(e.crossDomain||e.scriptAttrs)return{send:function(i,n){t=E("