/*************************************************************************
 *
 * ADOBE CONFIDENTIAL
 * ___________________
 *
 *  Copyright 2012 Adobe Systems Incorporated
 *  All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Adobe Systems Incorporated and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Adobe Systems Incorporated and its
 * suppliers and may be covered by U.S. and Foreign Patents,
 * patents in process, and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe Systems Incorporated.
 **************************************************************************/

/*************************************************************************
* ADOBE CONFIDENTIAL
* ___________________
*
*  Copyright 2014 Adobe Systems Incorporated
*  All Rights Reserved.
*
* NOTICE:  All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any.  The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by all applicable intellectual property
* laws, including trade secret and copyright laws.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
**************************************************************************/

/*************************************************************************
 *
 * ADOBE CONFIDENTIAL
 * ___________________
 *
 *  Copyright 2013 Adobe Systems Incorporated
 *  All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Adobe Systems Incorporated and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Adobe Systems Incorporated and its
 * suppliers and may be covered by U.S. and Foreign Patents,
 * patents in process, and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe Systems Incorporated.
 **************************************************************************/

/*************************************************************************
* ADOBE CONFIDENTIAL
* ___________________
*
*  Copyright 2013 Adobe Systems Incorporated
*  All Rights Reserved.
*
* NOTICE:  All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any.  The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by all applicable intellectual property
* laws, including trade secret and copyright laws.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
**************************************************************************/

/*************************************************************************
 *
 * ADOBE CONFIDENTIAL
 * ___________________
 *
 *  Copyright 2014 Adobe Systems Incorporated
 *  All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Adobe Systems Incorporated and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Adobe Systems Incorporated and its
 * suppliers and may be covered by U.S. and Foreign Patents,
 * patents in process, and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe Systems Incorporated.
 **************************************************************************/

/*************************************************************************
* ADOBE CONFIDENTIAL
* ___________________
*
*  Copyright 2013 Adobe Systems Incorporated
*  All Rights Reserved.
*
* NOTICE:  All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any.  The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by all applicable intellectual property laws,
* including trade secret and or copyright laws.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
**************************************************************************/

// /*************************************************************************
// *
// * ADOBE CONFIDENTIAL
// * ___________________
// *
// *  Copyright 2012 Adobe Systems Incorporated
// *  All Rights Reserved.
// *
// * NOTICE:  All information contained herein is, and remains
// * the property of Adobe Systems Incorporated and its suppliers,
// * if any.  The intellectual and technical concepts contained
// * herein are proprietary to Adobe Systems Incorporated and its
// * suppliers and may be covered by U.S. and Foreign Patents,
// * patents in process, and are protected by trade secret or copyright law.
// * Dissemination of this information or reproduction of this material
// * is strictly forbidden unless prior written permission is obtained
// * from Adobe Systems Incorporated.
// **************************************************************************/

// /*************************************************************************
// *
// * ADOBE CONFIDENTIAL
// * ___________________
// *
// *  Copyright 2013 Adobe Systems Incorporated
// *  All Rights Reserved.
// *
// * NOTICE:  All information contained herein is, and remains
// * the property of Adobe Systems Incorporated and its suppliers,
// * if any.  The intellectual and technical concepts contained
// * herein are proprietary to Adobe Systems Incorporated and its
// * suppliers and may be covered by U.S. and Foreign Patents,
// * patents in process, and are protected by trade secret or copyright law.
// * Dissemination of this information or reproduction of this material
// * is strictly forbidden unless prior written permission is obtained
// * from Adobe Systems Incorporated.
// **************************************************************************/

// /*************************************************************************
// *
// * ADOBE CONFIDENTIAL
// * ___________________
// *
// *  Copyright 2014 Adobe Systems Incorporated
// *  All Rights Reserved.
// *
// * NOTICE:  All information contained herein is, and remains
// * the property of Adobe Systems Incorporated and its suppliers,
// * if any.  The intellectual and technical concepts contained
// * herein are proprietary to Adobe Systems Incorporated and its
// * suppliers and may be covered by U.S. and Foreign Patents,
// * patents in process, and are protected by trade secret or copyright law.
// * Dissemination of this information or reproduction of this material
// * is strictly forbidden unless prior written permission is obtained
// * from Adobe Systems Incorporated.
// **************************************************************************/

/*************************************************************************
* ADOBE CONFIDENTIAL
* ___________________
*
*  Copyright 2014 Adobe Systems Incorporated
*  All Rights Reserved.
*
* NOTICE:  All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any.  The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by all applicable intellectual property laws,
* including trade secret and or copyright laws.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
**************************************************************************/

/*************************************************************************
 *
 * ADOBE CONFIDENTIAL
 * ___________________
 *
 *  Copyright 2012 Adobe Systems Incorporated
 *  All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Adobe Systems Incorporated and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Adobe Systems Incorporated and its
 * suppliers and may be covered by U.S. and Foreign Patents,
 * patents in process, and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe Systems Incorporated.
*************************************************************************/

/*************************************************************************
 *
 * ADOBE CONFIDENTIAL
 * ___________________
 *
 *  Copyright 2015 Adobe Systems Incorporated
 *  All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Adobe Systems Incorporated and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Adobe Systems Incorporated and its
 * suppliers and may be covered by U.S. and Foreign Patents,
 * patents in process, and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe Systems Incorporated.
 **************************************************************************/

define("aictools/aic",["aicx/ac-aicx"],function(e){return window.AiC=_.extend(window.AiC||{},{getBaseUrl:function(){return e.getBaseAicUrl()+"createpdf/"},getBaseUriApi:function(){return this.getBaseUrl()+"api/"},appEvents:_.extend({},Backbone.Events),init:function(e){return this.initializedPromise||(this.initializedPromise=$.Deferred()),this.appApi||!e?this.initializedPromise.promise():(this.appApi=e,AiC.appApi.done(_.bind(function(){try{var e=AiC.appApi.routerApi,t=_.map(e.getQueryParams(),function(e,t){return t+":"+e+";"}).join("");1===e.getPathname().indexOf("my_plan")&&LOG("requestType=deeplink	requestPath="+e.getPathname().substr(1)+"	requestParams="+t+"	requestHash="+AiC.appApi.routerApi.getHash().substr(1)+"	requestHost="+location.host,LOG.INFO,{logConsole:!1,logServer:!0})}catch(i){}this.initializedPromise.resolve()},this)),this.initializedPromise.promise())}}),window.AiC}),define("aictools/util/util",{_offline_display_location:19,_offline_display_context:155,getCookie:function(e){var t,i,o=e+"=",a=document.cookie.split(";");for(t=0;t<a.length;t+=1){for(i=a[t];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(o))return i.substring(o.length,i.length)}return null},setCookie:function(e,t,i,o,a){var r,s,n,l,c="";i&&(r=new Date,r.setTime(r.getTime()+24*i*60*60*1e3),c="; expires="+r.toGMTString()),s="; path=/",o&&(s="; path="+o),n="",a&&(n="; domain="+a),l=e+"="+t+c+s+n,document.cookie=l},isChrome:function(){return navigator.userAgent.indexOf(" Chrome/")>=0},isIE:function(){return navigator.userAgent.indexOf("MSIE")>=0},isIE9orBelow:function(){if(/MSIE (\d+\.\d+);/.test(navigator.userAgent)){var e=+RegExp.$1;if(10>e)return!0}return!1},isIE11:function(){return/Trident\/(\S|\s)*rv\:11/.test(navigator.userAgent)?!0:!1},isFirefox:function(){return navigator.userAgent.indexOf("Firefox")>=0},toISOString:function(e){return this.isIE9orBelow()?e.toJSON():e.toISOString()},getAiCServerString:function(){return AiC.appApi.pluginsApi.getBaseUrl("convertpdf")},prependAiCServerString:function(e){return this.getAiCServerString()+e},basename:function(e){var t=e.replace(/\\/g,"/").replace(/.*\//,"");return t},changeExtension:function(e,t){var i=this.getFilenameExtension(e,!0);return e=e.slice(0,-i.length)||e,e+("."===e.slice(-1)?t:"."+t)},isWindows:function(){return navigator.userAgent.indexOf("Windows")>=0},isMac:function(){return navigator.userAgent.indexOf("Macintosh")>=0},isMacIntel:function(){return"MacIntel"===navigator.platform},getMacintoshSystemInfo:function(){var e,t,i;return this.isMac()&&(t=/OS X (\d+)[_.](\d+)[_.]?(\d*)/,i=navigator.userAgent.match(t),i&&(e={systemVersionNumber:parseInt(i[1],10),majorSystemNumber:parseInt(i[2],10),minorSystemNumber:parseInt(i[3],10)})),e},getWindowsSystemInfo:function(){var e,t,i;return this.isWindows()&&(t=/.+Windows NT (\d+).(\d+)/,i=navigator.userAgent.match(t),i&&(e={majorSystemNumber:parseInt(i[1],10),minorSystemNumber:parseInt(i[2],10)})),e},maximumConversionFileSize:function(){return 104857600},isIpad:function(){return navigator.userAgent.indexOf("iPad")>=0},isIphone:function(){return navigator.userAgent.indexOf("iPhone")>=0},isAndroid:function(){return navigator.userAgent.indexOf("Android")>=0},isTouchDevice:function(){return this.isIpad()||this.isIphone()||this.isAndroid()},featureEnabled:function(e){var t,i,o=AiC.SERVER_PARAMS&&AiC.SERVER_PARAMS.features;if(!o)return!1;if(void 0===o[e])throw t="Unrecognized feature string!: "+e,i=window.console,i&&i.log&&i.log(t),t;return"useCookie"===o[e]?"True"===this.getCookie(e):"true"===o[e].toString().toLowerCase()},selectFilesOptions:function(e,t,i,o,a,r){return{plugin:{filter:{minSize:e,maxSize:t,extensions:i,mimeTypes:o,queryLabel:a,rejectedFilesCallback:r}}}},isDevTestEnvironment:function(){var e,t=[/local-test/,/\.dev\./,/\.test\./],i=window.location.hostname;for(e=0;e<t.length;e+=1)if(i.match(t[e]))return!0;return!1},allowDropHandler:function(e){"drop"===e.type?e.preventDefault():"dragover"===e.type?(e.originalEvent.dataTransfer.dropEffect="copy",e.preventDefault()):"dragenter"===e.type&&e.preventDefault()},disallowDropHandler:function(e){"dragover"===e.type?(this.isIE9orBelow()||(e.originalEvent.dataTransfer.dropEffect="none"),e.preventDefault()):"drop"===e.type&&e.preventDefault()},registerDnD:function(e,t){t?e.bind("drop dragover dragenter",this.allowDropHandler):e.bind("drop dragover dragenter",_.bindex(this.disallowDropHandler,this))},unRegisterDnD:function(e){e.unbind("drop dragover dragenter")},getURLParameter:function(e){if(e){var t="[\\?&]"+e+"=([^&#]*)",i=new RegExp(t),o=i.exec(window.location.search);return o?o[1]:null}return null},getFilenameExtension:function(e,t){var i=e.toString(),o="",a=i.lastIndexOf("."),r=-1,s=t?"":".";return a>=0&&a<i.length-1&&(a+=1,r=i.indexOf(" ",a),o=r>=0?s+i.substr(a,r):s+i.substr(a)),o.toLowerCase()},getFileIconClassFromExtension:function(e){var t="file-icon-generic",i=this.getFilenameExtension(e,!0);switch(i){case"doc":case"docx":case"rtf":t="file-icon-richtext";break;case"pdf":t="file-icon-pdf";break;case"txt":t="file-icon-text";break;case"ps":t="file-icon-postscript";break;case"xls":case"xlsx":t="file-icon-spreadsheet";break;case"ai":t="file-icon-illustrator";break;case"indd":t="file-icon-indesign";break;case"ppt":case"pptx":t="file-icon-presentation";break;case"bmp":case"tif":case"tiff":case"jpg":case"jpeg":case"png":case"gif":t="file-icon-img";break;case"form":t="file-icon-form"}return t},jil_api_sync:function(e,t,i){return i=this.jil_api_addOptions(i,e),Backbone.sync(e,t,i)},jil_api_addOptions:function(e,t){e=e||{},"read"===t&&(e.timeout=3e4,this.isDevTestEnvironment()&&(e.timeout=6e4)),e.headers=e.headers||{};var i,o={Accept:"application/vnd.adobe.dex+json;version=1",Authorization:"Bearer "+AiC.appApi.sessionApi.getPrimaryToken(),"x-request-id":this.uuid()};"read"!==t&&(o["Content-Type"]="application/vnd.adobe.dex+json;version=1;charset=utf-8");for(i in o)o.hasOwnProperty(i)&&!e.headers[i]&&(e.headers[i]=o[i]);return e},currency:{formatPrice:function(e,t,i,o,a){var r,s,n,l,c,d,p,u="",_=null,g=0;return o=o||!1,e&&(t||o&&0===t)&&(r=e.match(/\'(\S|\s)+\'/),s=e.search(/\'(\S|\s)+\'/),0===s&&(p=r[0].replace(/#'/,"").replace(/\'/g,""),p=p.replace("&#x20B9;","Rs."),u=a?u+a:u+p),g=t>999?parseInt(t/1e3,10):0,g>0&&(u+=g),g>0&&(n=e.match(/#(\.|,|\s)#/),n.length>0&&(n=n[0].replace(/#/g,""),u+=n)),c="",_=parseInt(t-1e3*g,10),i&&(l=e.match(/0(\.|,)0/),l.length>0&&(l=l[0].replace(/0/g,"")),d=Math.round((100*(t-Math.floor(t))).toFixed(2)),d>99&&(_+=1,d=0)),c=t>999?this.pad(parseInt(_,10).toString(10),3):t>99?this.pad(parseInt(_,10).toString(10),2):parseInt(_,10).toString(10),u+=c,i&&(u+=l,u+=this.pad(parseInt(d,10).toString(10),2)),s>0&&(u=a?u+a:u+r[0].replace(/\'/g,""))),u},breakDownPrice:function(e,t){var i,o,a,r,s=_.find(_.values(this.currencySymbols),function(t){return e.indexOf(t)>-1}),n=!0,l=e;return(t||s)&&(t&&(l=e.replace(t,"")),s&&(l=e.replace(s,"")),n=0===e.indexOf(t)||0===e.indexOf(s)),i=l,o=l.match(/(\.|,)\d\d$/),o&&(r=o[0],a=o[0].replace(/(\.|,)/,""),i=l.replace(o[0],"")),{symbol:t||s,isSymbolPrefix:n,priceWithoutSymbol:l,priceWithoutSymbolAndCents:i,cents:a||"",centsWithSeparator:r||""}},pad:function(e,t){return e.length<t?this.pad("0"+e,t):e},currencySymbols:{us:"US$",us2:"US $",gb:"&pound;",de:"&euro;",jp:"&yen;",jp2:"&#20870;",dk:"DDK",se:"SEK",no:"NOK"},getDisplayShortCurrencySymbol:function(e){var t=e;switch(e){case"&pound;":t="£";break;case"&euro;":t="€";break;case"&yen;":t="¥";break;case"US $":t="$"}return t}},addressFormat:{US:{street:"{0} {1} {2} {3}",citystatecountry:"{0}, {1} {2}, {3}"},EMEA:{street:"{0} {1} {2} {3}",postcodecitycountry:"{0}, {1}, {2}"},JP:{street:"{0} {1} {2} {3}",citystatecountry:"{0} {1} {2} {3}"},getFormattedAddress:function(e,t){var i,o;switch(e){case"DE":case"FR":case"ES":case"GB":case"IT":case"NO":case"FI":case"NL":case"SE":case"DK":case"PT":i=$.trim(this.formatString(this.EMEA.street,[t.street1,t.street2,t.street3,t.street4])),o=this.formatString(this.EMEA.postcodecitycountry,[t.postalCode,t.city,t.country.iso3166Name||t.country.iso_3166_name]);break;case"JP":i=$.trim(this.formatString(this.JP.street,[t.postalCode,t.StateProvince?t.StateProvince.name:t.stateProvince.name,t.city,""])),o=$.trim(this.formatString(this.JP.citystatecountry,[t.street4,t.street3,t.street2,t.street1]));break;default:i=$.trim(this.formatString(this.US.street,[t.street1,t.street2,t.street3,t.street4])),o=this.formatString(this.US.citystatecountry,[t.city,t.StateProvince?t.StateProvince.code:t.stateProvince.code,t.postalCode,t.country.iso3166Name||t.country.iso_3166_name])}return{streetAddr:i,citystatecountry:o}},formatString:function(e,t){return e&&$.isArray(t)?($.each(t,function(i){var o="{"+i+"}";e=e.replace(o,t[i])}),e):null}},LOG:function(e){var t=window.console;t&&t.log&&this.featureEnabled("Console_logging")&&t.log(e)},hasJapaneseCharacter:function(e){var t=!1;return"string"==typeof e&&(t=!!e.match(/[\u4E00-\u9FAF|\u3040-\u3096|\u30A1-\u30FA|\uFF66-\uFF9D|\u31F0-\u31FF]/)),t},uuid:function(){return"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx".replace(/x/g,function(){return"0123456789abcdef"[Math.floor(16*Math.random())]})},showFrameworkSpinner:function(e){AiC.appApi&&AiC.appApi.displayApi&&(AiC.appApi.displayApi.showModal(e),AiC.appApi.displayApi.showSpinner(e))},navigate:function(e,t){e!==window.location.pathname.substring(1)&&(t.trigger?_.defer(AiC.appApi.routerApi.navigate,e,t):AiC.appApi.routerApi.navigate(e,t))},back:function(){window.history.back()},EMEANonEnglishLang:["de-de","fr-fr","es-es","it-it","nb-no","nl-nl","sv-se","fi-fi","da-dk","pt-br"],isEMEANonEnglishLang:function(e){return _.contains(this.EMEANonEnglishLang,e?e.toLowerCase():"")}}),define("aictools/analytics/aplus",["aictools/analytics/analytics"],function(){var e={InstallLang:{kind:"value",values:["en_US","da_DK","de_DE","es_ES","fr_FR","it_IT","ja_JP","nl_NL","nb_NO","pt_BR","fi_FI","sv_SE","zh_CN","zh_TW","ko_KR","cs_CZ","pl_PL","tr_TR","ru_RU","hu_HU"]}},t=[{pageName:"Tools:APro:SubscribeNow:Shown",selector:"#acrobat-plugin .aic_sign_up_one_button_free"},{pageName:"Tools:APro:UpgradeIPM:Shown",selector:"#acrobat-plugin .aic_sign_up_one_button_paid"},{pageName:"Tools:APro:UpgradeIPM:Upgrade:Clicked",selector:"#acrobat-plugin .aic_sign_up_one_button_paid"},{pageName:"Tools:APro:SubscribeNow:Subscribe:Clicked",selector:"#acrobat-plugin .aic_sign_up_one_button_free"},{pageName:"Tools:APro:UpgradeIPM:SysReqs:Clicked",selector:"#acrobat-plugin .aic_system_requirements_division"},{pageName:"Tools:APro:BeforeAProDnldIPM:Shown",selector:"#eames_first_time_view"},{pageName:"Tools:APro:BeforeAProDnldIPM:Dnld:Clicked",selector:"#eames_first_time_view .aic-acrobat-download-button"},{pageName:"Tools:APro:BeforeAProDnldIPM:InstallLanguage:<InstallLang>",selector:"#eames_first_time_view .aic-acrobat-download-install-language-text",variables:{InstallLang:e.InstallLang},values:e.InstallLang},{pageName:"Tools:APro:BeforeAProDnldIPM:GetItNow:Clicked",selector:"#eames_first_time_view .aic-acrobat-go-mobile-link"},{pageName:"Tools:APro:BeforeAProDnldIPM:GetHelp:Clicked",selector:"#eames_first_time_view .aic-acrobat-get-help-link"},{pageName:"Tools:APro:BeforeAProDnldIPM:Video1:Clicked",selector:"#eames_first_time_view .aic-acrobat-tip-section-graphic.aic-acrobat-tip-one"},{pageName:"Tools:APro:BeforeAProDnldIPM:Video2:Clicked",selector:"#eames_first_time_view .aic-acrobat-tip-section-graphic.aic-acrobat-tip-two"},{pageName:"Tools:APro:BeforeAProDnldIPM:Video3:Clicked",selector:"#eames_first_time_view .aic-acrobat-tip-section-graphic.aic-acrobat-tip-three"},{pageName:"Tools:APro:BeforeAProDnldIPM:Video:Cancel",selector:".aic-first-time-use .aic-video-cancel"},{pageName:"Tools:APro:AfterAProDnldIPM:Video1:Clicked",selector:".aic-acrobat-professional.aic-returning-use .aic-acrobat-tip-section-graphic.aic-acrobat-tip-one"},{pageName:"Tools:APro:AfterAProDnldIPM:Video2:Clicked",selector:".aic-acrobat-professional.aic-returning-use .aic-acrobat-tip-section-graphic.aic-acrobat-tip-two"},{pageName:"Tools:APro:AfterAProDnldIPM:Video3:Clicked",selector:".aic-acrobat-professional.aic-returning-use .aic-acrobat-tip-section-graphic.aic-acrobat-tip-three"},{pageName:"Tools:APro:AfterAProDnldIPM:Video:Cancel",selector:".aic-acrobat-professional.aic-returning-use .aic-video-cancel"},{pageName:"Tools:APro:AfterAProDnldIPM:Shown",selector:"#eames_returning_use_view"},{pageName:"Tools:APro:AfterAProDnldIPM:Dnld:Clicked",selector:"#eames_returning_use_view .eames_download_acrobat_link"},{pageName:"Tools:APro:AfterAProDnldIPM:InstallLanguage:<InstallLang>",selector:"#eames_returning_use_view .aic-acrobat-download-install-language-text",variables:{InstallLang:e.InstallLang},values:e.InstallLang},{pageName:"Tools:APro:AfterAProDnldIPM:GetHelp:Clicked",selector:"#eames_returning_use_view .aic-acrobat-get-help-link"},{pageName:"Tools:APro:AfterAProDnldIPM:GetMobile:Clicked",selector:"#eames_returning_use_view .aic-acrobat-go-mobile-link"},{pageName:"Tools:AStd:BeforeAStrdDnldIPM:Shown",selector:".aic-acrobat-standard.aic-first-time"},{pageName:"Tools:AStd:BeforeAStrdDnldIPM:Dnld:Clicked",selector:".aic-acrobat-standard.aic-first-time .aic-acrobat-download-button"},{pageName:"Tools:AStd:BeforeAStrdDnldIPM:InstallLanguage:<InstallLang>",selector:".aic-acrobat-standard.aic-first-time .aic-acrobat-download-button",variables:{InstallLang:e.InstallLang},values:e.InstallLang},{pageName:"Tools:AStd:BeforeAStrdDnldIPM:GetHelp:Clicked",selector:".aic-acrobat-standard.aic-first-time .aic-acrobat-get-help-link"},{pageName:"Tools:AStd:BeforeAStrdDnldIPM:RdrMobile:Clicked",selector:".aic-acrobat-standard.aic-first-time .aic-acrobat-go-mobile-link"},{pageName:"Tools:AStd:BeforeAStdDnldIPM:Link1:Clicked",selector:".aic-acrobat-standard.aic-first-time .aic-acrobat-tip-download-link.aic-acrobat-tip-one"},{pageName:"Tools:AStd:BeforeAStdDnldIPM:Link2:Clicked",selector:".aic-acrobat-standard.aic-first-time .aic-acrobat-tip-download-link.aic-acrobat-tip-two"},{pageName:"Tools:AStd:BeforeAStdDnldIPM:Link3:Clicked",selector:".aic-acrobat-standard.aic-first-time .aic-acrobat-tip-download-link.aic-acrobat-tip-three"},{pageName:"Tools:AStd:BeforeAStdDnldIPM:Image1:Clicked",selector:".aic-acrobat-standard.aic-first-time .aic-acrobat-tip-section-graphic.aic-acrobat-tip-one"},{pageName:"Tools:AStd:BeforeAStdDnldIPM:Image2:Clicked",selector:".aic-acrobat-standard.aic-first-time .aic-acrobat-tip-section-graphic.aic-acrobat-tip-two"},{pageName:"Tools:AStd:BeforeAStdDnldIPM:Image3:Clicked",selector:".aic-acrobat-standard.aic-first-time .aic-acrobat-tip-section-graphic.aic-acrobat-tip-three"},{pageName:"Tools:AStd:AfterAStdDnldIPM:Shown",selector:".aic-acrobat-standard.aic-returning-use"},{pageName:"Tools:AStd:AfterAStdDnldIPM:Dnld:Clicked",selector:".aic-acrobat-standard.aic-returning-use .aic-acrobat-download-button"},{pageName:"Tools:AStd:AfterAStdDnldIPM:UpgradeToAPro:Clicked",selector:".aic-acrobat-standard.aic-returning-use .aic-acrobat-upgrade-now-link"},{pageName:"Tools:AStd:AfterAStdDnldIPM:InstallLanguage:<InstallLang>",selector:".aic-acrobat-standard.aic-returning-use .aic-acrobat-download-button",variables:{InstallLang:e.InstallLang},values:e.InstallLang},{pageName:"Tools:AStd:AfterAStdDnldIPM:GetHelp:Clicked",selector:".aic-acrobat-standard.aic-returning-use .aic-acrobat-get-help-link"},{pageName:"Tools:AStd:AfterAStdDnldIPM:RdrMobile:Clicked",selector:".aic-acrobat-standard.aic-returning-use .aic-acrobat-go-mobile-link"},{pageName:"Tools:AStd:AfterAStdDnldIPM:Link1:Clicked",selector:".aic-acrobat-standard.aic-returning-use .aic-acrobat-tip-download-link.aic-acrobat-tip-one"},{pageName:"Tools:AStd:AfterAStdDnldIPM:Link2:Clicked",selector:".aic-acrobat-standard.aic-returning-use .aic-acrobat-tip-download-link.aic-acrobat-tip-two"},{pageName:"Tools:AStd:AfterAStdDnldIPM:Link3:Clicked",selector:".aic-acrobat-standard.aic-returning-use .aic-acrobat-tip-download-link.aic-acrobat-tip-three"},{pageName:"Tools:AStd:AfterAStdDnldIPM:Image1:Clicked",selector:".aic-acrobat-standard.aic-returning-use .aic-acrobat-tip-section-graphic.aic-acrobat-tip-one"},{pageName:"Tools:AStd:AfterAStdDnldIPM:Image2:Clicked",selector:".aic-acrobat-standard.aic-returning-use .aic-acrobat-tip-section-graphic.aic-acrobat-tip-two"},{pageName:"Tools:AStd:AfterAStdDnldIPM:Image3:Clicked",selector:".aic-acrobat-standard.aic-returning-use .aic-acrobat-tip-section-graphic.aic-acrobat-tip-three"}];return{variables:e,pages:t}}),define("aictools/analytics/combine",["aictools/analytics/analytics"],function(){var e={NumPages:{kind:"value",values:["1to30","31to60","61to90","91to120","121+"]},RangesModified:{kind:"value",values:["0","1","2to5","6to10","11to12"]},ErrorCode:{kind:"value",values:["ConvFailed","CorrptDoc","DnDFldr","Empty","EncryptOrForm","Other","FileConversionOther","SharedCloudOther","PwdEncrypt","StrgLimExcd","TooLarge","UnsupType","VirusDet","ThumbnailFailed","UserCancelled","InvalidRange","UnknownType","Timeout"]},RangesSelected:{kind:"value",values:["2to5","6to10","11to12"]},CountValue0:{kind:"value",values:["0","1","2to5","6to10","11orMore"]},CountValue2:{kind:"value",values:["2to5","6to10","11orMore"]},CountValue1:{kind:"value",values:["1","2to5","6to10","11orMore"]},Stage:{kind:"value",values:["1-Waiting","2-Uploading","3-Uploaded","4-Converting","5-Converted","6-GeneratingThumbnails","7-ThumbnailReady","Upload_Error","Convert_Failed","Upload_Cancelled","Thumbnail_Failed"]}},t=[{pageName:"Tools:Combine:UpgradeIPM:Shown",selector:"#combinepdf-plugin .aic-upsell-analytics"},{pageName:"Tools:Combine:UpgradeIPM:Upgrade:Clicked",selector:"#combinepdf-plugin .aic-upsell-analytics"},{pageName:"Tools:Combine:SubscribeIPM:Subscribe:Clicked",selector:"#combinepdf-plugin .aic-subscribe-analytics"},{pageName:"Tools:Combine:SelectFiles:Shown",selector:".aic-combinepdf-select"},{pageName:"Tools:Combine:SubscribeIPM:Shown",selector:"#combinepdf-plugin .aic-subscribe-analytics"},{pageName:"Tools:Combine:RecentlyCombinedFiles:NonZero:Shown",selector:".aic-combinepdf .aic-recent-headers"},{pageName:"Tools:Combine:RecentlyCombinedFiles:Zero:Shown",selector:".aic-combinepdf .aic-no-recent"},{pageName:"Tools:Combine:RecentlyCombinedFiles:Thumbnail:Clicked",selector:".aic-combinepdf .aic-preview-image-container, aic-combinepdf .aic-preview-name"},{pageName:"Tools:Combine:RecentlyCombinedFiles:Download:Clicked",selector:".aic-combinepdf .aic-preview-download"},{pageName:"Tools:Combine:RecentlyCombinedFiles:Send:Clicked",selector:".aic-combinepdf .aic-send-link"},{pageName:"Tools:Combine:SelectFiles:Clicked",selector:".aic-combinepdf-select"},{pageName:"Tools:Combine:ViewAllCombinedFiles:Clicked",selector:".aic-combinepdf .aic-view-files-btn"},{pageName:"Tools:Combine:DragFiles:<CountValue1>",selector:".aic-combinepdf",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:Combine:ChooseFilesDlg:Cancel",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Continue",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:InitialView:MyCmptr",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:MyCmptr:Clicked",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:MyCmptr:ChooseFiles:Clicked",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:MyCmptr:DragFiles:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:Combine:ChooseFilesDlg:MyCmptr:File:Deleted",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:AcomFiles:Shown",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Acom:Clicked",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Acom:FileName:Checked",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Acom:FileName:Unchecked",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Acom:SearchBar:FilterIcon:Clicked",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Acom:SearchBar:SortIcon:Clicked",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Acom:SearchBar:SearchTextEntered",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Acom:InitialView:NumFilesShown:<CountValue0>",selector:"",variables:{CountValue0:e.CountValue0},values:e.CountValue0},{pageName:"Tools:Combine:ChooseFilesDlg:Recent:Shown",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Recent:Clicked",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Recent:FileName:Checked",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Recent:FileName:Unchecked",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Recent:SearchBar:FilterIcon:Clicked",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Recent:SearchBar:SortIcon:Clicked",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Recent:SearchBar:SearchTextEntered",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Recent:InitialView:NumFilesShown:0",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Recent:InitialView:NumFilesShown:1",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Recent:InitialView:NumFilesShown:2to5",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Recent:InitialView:NumFilesShown:6to10",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Recent:InitialView:NumFilesShown:11orMore",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Sent:Shown",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Sent:Clicked",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Sent:FileName:Checked",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Sent:FileName:Unchecked",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Sent:SearchBar:FilterIcon:Clicked",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Sent:SearchBar:SortIcon:Clicked",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Sent:SearchBar:SearchTextEntered",selector:""},{pageName:"Tools:Combine:ChooseFilesDlg:Sent:InitialView:NumFilesShown:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:Combine:ChooseFilesDlg:MyCmptrOnly:Success:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:Combine:ChooseFilesDlg:AcomOnly:Success:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:Combine:ChooseFilesDlg:AcomANDMyCmptr:Success:<CountValue2>",selector:"",variables:{CountValue2:e.CountValue2},values:e.CountValue2},{pageName:"Tools:Combine:Conversion:1-Uploading:Op",selector:"##aic-combine-upload_start"},{pageName:"Tools:Combine:Conversion:2-UploadingComplete:Op",selector:"##aic-combine-upload_complete"},{pageName:"Tools:Combine:Conversion:UploadError:Op",selector:"##aic-combine-upload_error"},{pageName:"Tools:Combine:Conversion:3-Converting:Op",selector:"##aic-combine-converting"},{pageName:"Tools:Combine:Conversion:4-Complete:Op",selector:"##aic-combine-complete"},{pageName:"Tools:Combine:Conversion:UploadCancelled:Op",selector:"##aic-combine-upload_cancelled"},{pageName:"Tools:Combine:Conversion:5-ThumbnailComplete:Op",selector:"##aic-combine-thumbnail_complete"},{pageName:"Tools:Combine:Conversion:MaxQueueReached:Op",selector:"##aic-combine-max_queue"},{pageName:"Tools:Combine:Conversion:Error:<ErrorCode>:Op",selector:"##aic-Combine-error",variables:{ErrorCode:e.ErrorCode},values:e.ErrorCode},{pageName:"Tools:Combine:ProgressBar:1-Uploading:Shown",selector:".aic-combine-status .aic-1-Uploading"},{pageName:"Tools:Combine:ProgressBar:2-Upload_Complete:Shown",selector:".aic-combine-status .aic-2-Upload_Complete"},{pageName:"Tools:Combine:ProgressBar:Upload_Cancelled:Shown",selector:".aic-combine-status .aic-Upload_Cancelled"},{pageName:"Tools:Combine:ProgressBar:Upload_Error:Shown",selector:".aic-combine-status .aic-Upload_Error"},{pageName:"Tools:Combine:ProgressBar:3-Converting:Shown",selector:".aic-combine-status .aic-3-Converting"},{pageName:"Tools:Combine:ProgressBar:Convert_Failed:Shown",selector:".aic-combine-status .aic-Convert_Failed"},{pageName:"Tools:Combine:ProgressBar:4-Complete:Shown",selector:".aic-combine-status .aic-4-Complete"},{pageName:"Tools:Combine:ProgressBar:MaxQueueReached:Waiting:Shown",selector:".aic-combine-status .aic-Waiting"},{pageName:"Tools:Combine:ProgressBar:Pending:Shown",selector:".aic-combine-status .aic-Pending"},{pageName:"Tools:Combine:ProgressBar:5-Download:SingleButton:Clicked",selector:".aic-combine-status .aic-status-download-one"},{pageName:"Tools:Combine:ProgressBar:5-Download:AllButton:Clicked",selector:".aic-combine-status .aic-status-download-all"},{pageName:"Tools:Combine:ProgressBar:5-Download:FileNameLink:Clicked",selector:".aic-combine-status .aic-status-download-link"},{pageName:"Tools:Combine:ProgressBar:6-Combine:Cancel:Clicked",selector:".aic-combine-status.aic-status-error"},{pageName:"Tools:Combine:ProgressBar:Error:HoverOver:Shown",selector:".aic-combine-status.aic-status-error"},{pageName:"Tools:Combine:ProgressBar:7-Thumbnail_Complete:Shown",selector:".aic-combine-status .aic-7-Thumbnail_Complete"},{pageName:"Tools:Combine:ErrorDlg:Shown",selector:".aic-error-dialog.aic-Combine-error"},{pageName:"Tools:Combine:Thumbnail:RemoveFile:Clicked",selector:".aic-combine-canvas .aic-page-range-container .aic-combine-delete"},{pageName:"Tools:Combine:Thumbnail:Expand:Clicked",selector:".aic-combine-canvas .aic-combine-expand"},{pageName:"Tools:Combine:Thumbnail:ExpandedFile:RemoveFirstPage:Clicked",selector:".aic-combine-canvas .aic-page-container .aic-combine-delete-left"},{pageName:"Tools:Combine:Thumbnail:ExpandedFile:RemovePage:Clicked",selector:".aic-combine-canvas .aic-page-container .aic-combine-delete"},{pageName:"Tools:Combine:Thumbnail:ExpandedFile:CollapseFile:Clicked",selector:".aic-combine-canvas .aic-combine-contract"},{pageName:"Tools:Combine:Thumbnail:AddFiles:Clicked",selector:".aic-add-files-to-editor"},{pageName:"Tools:Combine:Thumbnail:<Stage>:Shown",selector:"##aic-combine-stage",variables:{Stage:e.Stage},values:e.Stage},{pageName:"Tools:Combine:Thumbnail:ExpandError:Shown",selector:"##aic-expand-error"},{pageName:"Tools:Combine:Thumbnail:Warning:TooManyPages:Shown",selector:".aic-combine-canvas .aic-pages-cannot-expand"},{pageName:"Tools:Combine:Thumbnail:FileMoved",selector:"##aic-fileMoved"},{pageName:"Tools:Combine:Thumbnail:PageRange:Moved",selector:"##aic-pageRangeMoved"},{pageName:"Tools:Combine:Thumbnail:SinglePage:Moved",selector:"##aic-pageMoved"},{pageName:"Tools:Combine:Thumbnail:NumRangesSelected:<RangesSelected>",selector:"##aic-rangesSelected",variables:{RangesSelected:e.RangesSelected},values:e.RangesSelected},{pageName:"Tools:Combine:Thumbnail:NumRangesModified:<RangesModified>",selector:"##aic-rangesModified",variables:{RangesModified:e.RangesModified},values:e.RangesModified},{pageName:"Tools:Combine:Thumbnail:Cancel",selector:".aic-combine-menu .aic-page-editor-cancel"},{pageName:"Tools:Combine:Thumbnail:Success",selector:".aic-combine-menu .aic-page-editor-commit"},{pageName:"Tools:Combine:Thumbnail:Alert:MayCombineUpTo12Files:Shown",selector:".aic-combine-canvas .aic-too-many-files"},{pageName:"Tools:Combine:Thumbnail:Alert:RequireMoreThan1File:Shown",selector:".aic-too-few-files"},{pageName:"Tools:Combine:Thumbnail:Alert:DeleteFailedFiles:Shown",selector:".aic-has-failed-files"},{pageName:"Tools:Combine:Thumbnail:PageRangeSize:<NumPages>",selector:"##aic-numPages",variables:{NumPages:e.NumPages},values:e.NumPages}];return{variables:e,pages:t}}),define("aictools/analytics/createpdf",["aictools/analytics/analytics"],function(){var e={FSSError:{kind:"data",values:["ServerError","TimeOut","PermSet"]},ErrorCode:{kind:"value",values:["TooLarge","Empty","VirusDet","Timeout","CorrptDoc","PwdEncrypt","StrgLimExcd","TryWinPrint","Other","FileConversionOther","SharedCloudOther","UnsupType","AlreadyType"]},Tab:{kind:"data",values:["CPDFTab","CombineTab"]},CountValue2:{kind:"value",values:["2to5","6to10","11orMore"]},CountValue1:{kind:"value",values:["1","2to5","6to10","11orMore"]},CountValue0:{kind:"value",values:["0","1","2to5","6to10","11orMore"]}},t=[{pageName:"Tools:CreatePDF:UpgradeIPM:Shown",selector:"#convertpdf-plugin .aic-upsell-analytics"},{pageName:"Tools:CreatePDF:UpgradeIPM:Upgrade:Clicked",selector:"#convertpdf-plugin .aic-upsell-analytics"},{pageName:"Tools:CreatePDF:SubscribeIPM:Subscribe:Clicked",selector:"#convertpdf-plugin .aic-subscribe-analytics"},{pageName:"Tools:CreatePDF:SelectFiles:Shown",selector:".aic-convertpdf-select"},{pageName:"Tools:CreatePDF:SubscribeIPM:Shown",selector:"#convertpdf-plugin .aic-subscribe-analytics"},{pageName:"Tools:CreatePDF:RecentlyCreatedFiles:NonZero:Shown",selector:".aic-convertpdf .aic-recent-headers"},{pageName:"Tools:CreatePDF:RecentlyCreatedFiles:Zero:Shown",selector:".aic-convertpdf .aic-no-recent"},{pageName:"Tools:CreatePDF:RecentlyCreatedFiles:Thumbnail:Clicked",selector:".aic-convertpdf .aic-preview-image-container, .aic-convertpdf .aic-preview-name"},{pageName:"Tools:CreatePDF:RecentlyCreatedFiles:Download:Clicked",selector:".aic-convertpdf .aic-preview-download"},{pageName:"Tools:CreatePDF:RecentlyCreatedFiles:Send:Clicked",selector:".aic-convertpdf .aic-send-link"},{pageName:"Tools:CreatePDF:SelectFiles:Clicked",selector:".aic-convertpdf-select"},{pageName:"Tools:CreatePDF:ViewAllCreatedPDFFiles:Clicked",selector:".aic-convertpdf .aic-view-files-btn"},{pageName:"Tools:CreatePDF:DragFiles:<CountValue1>",selector:".aic-convertpdf",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Cancel",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Continue",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:InitialView:MyCmptr",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:MyCmptr:Clicked",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:MyCmptr:ChooseFilesButton:Clicked",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:MyCmptr:DragFiles:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:CreatePDF:ChooseFilesDlg:MyCmptr:File:Deleted",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:AcomFiles:Shown",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Acom:Clicked",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Acom:FileName:Checked",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Acom:FileName:Uncheck",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Acom:SearchBar:FilterIcon:Clicked",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Acom:SearchBar:SortIcon:Clicked",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Acom:SearchBar:SearchTextEntered",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Acom:InitialView:NumFilesShown:<CountValue0>",selector:"",variables:{CountValue0:e.CountValue0},values:e.CountValue0},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Recent:Shown",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Recent:Clicked",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Recent:FileName:Checked",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Recent:FileName:Unchecked",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Recent:SearchBar:FilterIcon:Clicked",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Recent:SearchBar:SortIcon:Clicked",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Recent:SearchBar:SearchTextEntered",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Recent:InitialView:NumFilesShown:<CountValue0>",selector:"",variables:{CountValue0:e.CountValue0},values:e.CountValue0},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Sent:Shown",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Sent:Clicked",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Sent:FileName:Checked",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Sent:FileName:Unchecked",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Sent:SearchBar:FilterIcon:Clicked",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Sent:SearchBar:SortIcon:Clicked",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Sent:SearchBar:SearchTextEntered",selector:""},{pageName:"Tools:CreatePDF:ChooseFilesDlg:Sent:InitialView:NumFilesShown:<CountValue0>",selector:"",variables:{CountValue0:e.CountValue0},values:e.CountValue0},{pageName:"Tools:CreatePDF:ChooseFilesDlg:MyCmptrOnly:Success:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:CreatePDF:ChooseFilesDlg:AcomOnly:Success:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:CreatePDF:ChooseFilesDlg:AcomANDMyCmptr:Success:<CountValue2>",selector:"",variables:{CountValue2:e.CountValue2},values:e.CountValue2},{pageName:"Tools:CreatePDF:OptionDlg:Shown",selector:".aic-convert-pdf-dialog"},{pageName:"Tools:CreatePDF:OptionDlg:AddFilestoConvert:Clicked",selector:".aic-convert-add-files"},{pageName:"Tools:CreatePDF:OptionDlg:RemoveFileFromCreate:Clicked",selector:".aic-convert-pdf-dialog .aic-file-remove"},{pageName:"Tools:CreatePDF:OptionDlg:Success",selector:"#convert_pdf_convert"},{pageName:"Tools:CreatePDF:OptionDlg:Cancel",selector:"#convert_pdf_cancel"},{pageName:"Tools:CreatePDF:Conversion:1-Uploading:Op",selector:"##aic-create-upload_start"},{pageName:"Tools:CreatePDF:Conversion:2-UploadingComplete:Op",selector:"##aic-create-upload_complete"},{pageName:"Tools:CreatePDF:Conversion:UploadError:Op",selector:"##aic-create-upload_error"},{pageName:"Tools:CreatePDF:Conversion:3-Converting:Op",selector:"##aic-create-converting"},{pageName:"Tools:CreatePDF:Conversion:4-Complete:Op",selector:"##aic-create-complete"},{pageName:"Tools:CreatePDF:Conversion:UploadCancelled:Op",selector:"##aic-create-upload_cancelled"},{pageName:"Tools:CreatePDF:Conversion:MaxQueueReached:Op",selector:"##aic-create-max_queue"},{pageName:"Tools:CreatePDF:Conversion:Error:<ErrorCode>:Op",selector:"##aic-CreatePDF-error",variables:{ErrorCode:e.ErrorCode},values:e.ErrorCode},{pageName:"Tools:CreatePDF:ProgressBar:1-Uploading:Shown",selector:".aic-createpdf-status .aic-1-Uploading"},{pageName:"Tools:CreatePDF:ProgressBar:2-Upload_Complete:Shown",selector:".aic-createpdf-status .aic-2-Upload_Complete"},{pageName:"Tools:CreatePDF:ProgressBar:Upload_Cancelled:Shown",selector:".aic-createpdf-status .aic-2-Upload_Cancelled"},{pageName:"Tools:CreatePDF:ProgressBar:Upload_Error:Shown",selector:".aic-createpdf-status .aic-Upload_Error"},{pageName:"Tools:CreatePDF:ProgressBar:3-Converting:Shown",selector:".aic-createpdf-status .aic-3-Converting"},{pageName:"Tools:CreatePDF:ProgressBar:Convert_Failed:Shown",selector:".aic-createpdf-status .aic-Convert_Failed"},{pageName:"Tools:CreatePDF:ProgressBar:4-Complete:Shown",selector:".aic-createpdf-status .aic-4-Complete"},{pageName:"Tools:CreatePDF:ProgressBar:MaxQueueReached:Waiting:Shown",selector:".aic-createpdf-status .aic-Waiting"},{pageName:"Tools:CreatePDF:ProgressBar:5-Download:SingleButton:Clicked",selector:".aic-createpdf-status .aic-status-download-one"},{pageName:"Tools:CreatePDF:ProgressBar:5-Download:AllButton:Clicked",selector:".aic-createpdf-status .aic-status-download-all"},{pageName:"Tools:CreatePDF:ProgressBar:5-Download:FileNameLink:Clicked",selector:".aic-createpdf-status .aic-status-download-link"},{pageName:"Tools:CreatePDF:ProgressBar:Error:HoverOver:Shown",selector:".aic-status-error.aic-createpdf-status"},{pageName:"Tools:CreatePDF:ErrorDlg:Shown",selector:".aic-error-dialog.aic-CreatePDF-error"},{pageName:"Tools:CreatePDF:UpgradeDlg:Shown",selector:""},{pageName:"Tools:CreatePDF:UpgradeDlg:EditPaymentInfo:Clicked",selector:""},{pageName:"Tools:CreatePDF:UpgradeDlg:TOU:Checked",selector:""},{pageName:"Tools:CreatePDF:UpgradeDlg:Processing:Started",selector:""},{pageName:"Tools:CreatePDF:UpgradeDlg:Upgrade:Success",selector:""},{pageName:"Tools:CreatePDF:UpgradeDlg:EditPaymentInfo:Error:Shown",selector:""},{pageName:"Tools:CreatePDF:UpgradeDlg:Cancel",selector:""},{pageName:"Tools:CreatePDF:Upgrade:ErrorDlg:Shown",selector:""},{pageName:"Tools:CreatePDF:Upgrade:ErrorDlg:GoToAdobe:Clicked",selector:""},{pageName:"Tools:CreatePDF:Upgrade:ErrorDlg:GoToSupport:Clicked",selector:""},{pageName:"Tools:CreatePDF:Upgrade:ErrorDlg:GoToEditBilling:Clicked",selector:""},{pageName:"Tools:CreatePDF:Upgrade:ErrorDlg:Refresh:Clicked",selector:""},{pageName:"Tools:CreatePDF:Upgrade:ErrorDlg:Cancel",selector:""},{pageName:"Tools:CreatePDF:UpgradeDlg:Error:TOU:Unchecked:Shown",selector:""},{pageName:"Tools:CreatePDF:UpgradeDlg:Error:IncorrectPwd:Shown",selector:""},{pageName:"Tools:CreatePDF:UpgradeConfirmDlg:Shown",selector:""},{pageName:"Tools:CreatePDF:UpgradeConfirmDlg:GetStartedWithCreatePDF:Clicked",selector:""},{pageName:"Tools:FSS:Form:Output:SaveToPDF:1-Started:<Tab>",selector:"##fss-savetopdf-started",variables:{Tab:e.Tab},prop49:"Tools:FSS:Form:Output:SaveToPDF:1-Started:<Tab>"},{pageName:"Tools:FSS:Form:Output:SaveToPDF:2-Completed:<Tab>",selector:"##fss-savetopdf-completed",variables:{Tab:e.Tab},prop48:"Tools:FSS:Form:Output:Completed",prop49:"Tools:FSS:Form:Output:SaveToPDF:2-Completed:<Tab>"},{pageName:"Tools:FSS:Form:Output:SaveToPDF:Error:<FSSError>:<Tab>",selector:"##fss-savetopdf-error",variables:{FSSError:e.FSSError,Tab:e.Tab},prop48:"Tools:FSS:Form:Output:SaveToPDF:Error",prop49:"Tools:FSS:Form:Output:SaveToPDF:Error:<FSSError>:<Tab>"},{pageName:"Tools:CreatePDF:RHP:Enabled",selector:"##aic-convertpdf-rhp-enabled"},{pageName:"Tools:CreatePDF:RHP:Clicked",selector:".aic-convertpdf-rhp"}];
return{variables:e,pages:t}}),define("aictools/analytics/createpdf_rhp",[],function(){var e={Connector:{kind:"value",values:["DOCCLD","CCLOUD","ONEDRV"]},FSSError:{kind:"data",values:["ServerError","TimeOut","PermSet"]},ErrorCode:{kind:"value",values:["TooLarge","Empty","VirusDet","Timeout","CorrptDoc","PwdEncrypt","StrgLimExcd","TryWinPrint","Other","FileConversionOther","SharedCloudOther","UnsupType","AlreadyType"]},Tab:{kind:"data",values:["CPDFTab","CombineTab"]},CountValue2:{kind:"value",values:["2to5","6to10","11orMore"]},CountValue1:{kind:"value",values:["1","2to5","6to10","11orMore"]},CountValue0:{kind:"value",values:["0","1","2to5","6to10","11orMore"]}},t=[{pageName:"Tools:CreateRHP:ViewAllCreatedPDFFiles:Clicked",selector:".aic-convertpdf .aic-view-files-btn"},{pageName:"Tools:CreateRHP:OptionDlg:Shown",selector:".aic-convert-pdf-dialog"},{pageName:"Tools:CreateRHP:OptionDlg:AddFilestoConvert:Clicked",selector:".aic-convert-add-files"},{pageName:"Tools:CreateRHP:OptionDlg:RemoveFileFromCreate:Clicked",selector:".aic-convert-pdf-dialog .aic-file-remove"},{pageName:"Tools:CreateRHP:OptionDlg:Success",selector:"#convert_pdf_convert"},{pageName:"Tools:CreateRHP:Conversion:1-Uploading:Op",selector:"##aic-create-upload_start"},{pageName:"Tools:CreateRHP:Conversion:2-UploadingComplete:Op",selector:"##aic-create-upload_complete"},{pageName:"Tools:CreateRHP:Conversion:3-Converting:Op",selector:"##aic-create-converting"},{pageName:"Tools:CreateRHP:Conversion:4-Complete:Op",selector:"##aic-create-complete"},{pageName:"Tools:CreateRHP:Conversion:Error:<ErrorCode>:Op",selector:"##aic-createpdf-error",variables:{ErrorCode:e.ErrorCode},values:e.ErrorCode},{pageName:"Tools:CreateRHP:ProgressBar:1-Uploading:Shown",selector:".aic-createpdf-status .aic-1-Uploading"},{pageName:"Tools:CreateRHP:ProgressBar:2-Upload_Complete:Shown",selector:".aic-createpdf-status .aic-2-Upload_Complete"},{pageName:"Tools:CreateRHP:ProgressBar:Upload_Cancelled:Clicked",selector:".aic-createpdf-status .aic-2-Upload_Cancelled"},{pageName:"Tools:CreateRHP:ProgressBar:3-Converting:Shown",selector:".aic-createpdf-status .aic-3-Converting"},{pageName:"Tools:CreateRHP:ProgressBar:Convert_Failed:Shown",selector:".aic-createpdf-status .aic-Convert_Failed"},{pageName:"Tools:CreateRHP:ProgressBar:4-Complete:Shown",selector:".aic-createpdf-status .aic-4-Complete"},{pageName:"Tools:CreateRHP:ProgressBar:5-Download:AllButton:Clicked",selector:".aic-createpdf-status .aic-status-download-all"},{pageName:"Tools:CreateRHP:ProgressBar:Error:HoverOver:Shown",selector:".aic-status-error.aic-createpdf-status"},{pageName:"Tools:CreateRHP:ErrorDlg:Shown",selector:".aic-error-dialog.aic-CreatePDF-error"},{pageName:"Tools:CreateRHP:SelectFiles:Closed",selector:""},{pageName:"Tools:CreateRHP:OptionDlg:UpsellStarted",selector:""},{pageName:"Tools:CreateRHP:ProgressBar:5-Download:SaveAs:Clicked",selector:""},{pageName:"Tools:CreateRHP:ChooseFilesDlg:MyCmptr:RecentFolder:Selected",selector:""},{pageName:"Tools:CreateRHP:ChooseFilesDlg:MyCmptr:Browse:Clicked",selector:""},{pageName:"Tools:CreateRHP:ChooseFilesDlg:InitialView:MyCmptr",selector:""},{pageName:"Tools:CreateRHP:ChooseFilesDlg:MyCmptr:Clicked",selector:""},{pageName:"Tools:CreateRHP:ChooseFilesDlg:MyCmptr:ChooseFiles:Clicked",selector:""},{pageName:"Tools:CreateRHP:ChooseFilesDlg:<Connector>:Shown",selector:"",variables:{Connector:e.Connector},values:e.Connector},{pageName:"Tools:CreateRHP:ChooseFilesDlg:<Connector>:Clicked",selector:"",variables:{Connector:e.Connector},values:e.Connector},{pageName:"Tools:CreateRHP:ChooseFilesDlg:<Connector>:FileName:Checked",selector:"",variables:{Connector:e.Connector},values:e.Connector},{pageName:"Tools:CreateRHP:ChooseFilesDlg:<Connector>:FileName:Uncheck",selector:"",variables:{Connector:e.Connector},values:e.Connector},{pageName:"Tools:CreateRHP:ChooseFilesDlg:<Connector>:FilterIcon:Clicked",selector:"",variables:{Connector:e.Connector},values:e.Connector},{pageName:"Tools:CreateRHP:ChooseFilesDlg:<Connector>:SortIcon:Clicked",selector:"",variables:{Connector:e.Connector},values:e.Connector},{pageName:"Tools:CreateRHP:ChooseFilesDlg:<Connector>:SearchTextEntered",selector:"",variables:{Connector:e.Connector},values:e.Connector},{pageName:"Tools:CreateRHP:ChooseFilesDlg:<Connector>:InitialView:NumFilesShown:<CountValue0>",selector:"",variables:{Connector:e.Connector,CountValue0:e.CountValue0},values:e.CountValue0},{pageName:"Tools:CreateRHP:ChooseFilesDlg:MyCmptrOnly:Success:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:CreateRHP:ChooseFilesDlg:AcomOnly:Success:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:CreateRHP:Conversion:Error:<ErrorCode>:Op",selector:"##aic-CreatePDF-error",variables:{ErrorCode:e.ErrorCode},values:e.ErrorCode}];return{variables:e,pages:t}}),define("aictools/analytics/exportpdf",["aictools/analytics/analytics"],function(){var e={DocFormat:{kind:"value",values:["docx","xlsx","pptx","doc","rtf","image"]},ErrorCode:{kind:"value",values:["CorrptDoc","Empty","IsPortf","PwdEncrypt","StrgLimExcd","Timeout","TooLarge","UnsupType","VirusDet","Other","FileConversionOther","SharedCloudOther","PlcyProt","ConvFailed"]},ImageFormat:{kind:"value",values:["jpeg","png","tiff"]},OcrLang:{kind:"value",values:["en-us","en-gb","de-de","es-es","fr-fr","it-it","ja-jp"]},Quality:{kind:"value",values:["low","low-med","med","med-high","high"]},CountValue2:{kind:"value",values:["2to5","6to10","11orMore"]},CountValue1:{kind:"value",values:["1","2to5","6to10","11orMore"]},CountValue0:{kind:"value",values:["0","1","2to5","6to10","11orMore"]}},t=[{pageName:"Tools:ExportPDF:SelectFiles:Shown",selector:".aic-export-file-select"},{pageName:"Tools:ExportPDF:SubscribeIPM:Shown",selector:"#exportpdf-plugin .aic-subscribe-analytics"},{pageName:"Tools:ExportPDF:UpgradeIPM:Shown",selector:"#exportpdf-plugin .aic-upsell-analytics"},{pageName:"Tools:ExportPDF:UpgradeIPM:Upgrade:Clicked",selector:"#exportpdf-plugin .aic-upsell-analytics"},{pageName:"Tools:ExportPDF:SubscribeIPM:Subscribe:Clicked",selector:"#exportpdf-plugin .aic-subscribe-analytics"},{pageName:"Tools:ExportPDF:RecentlyExportedFiles:NonZero:Shown",selector:".aic-exportpdf .aic-recent-headers"},{pageName:"Tools:ExportPDF:RecentlyExportedFiles:Zero:Shown",selector:".aic-exportpdf .aic-no-recent"},{pageName:"Tools:ExportPDF:RecentlyExportedFiles:Thumbnail:Clicked",selector:".aic-exportpdf .aic-preview-image-container, .aic-exportpdf .aic-preview-name"},{pageName:"Tools:ExportPDF:RecentlyExportedFiles:Download:Clicked",selector:".aic-exportpdf .aic-preview-download"},{pageName:"Tools:ExportPDF:RecentlyExportedFiles:Send:Clicked",selector:".aic-exportpdf .aic-send-link"},{pageName:"Tools:ExportPDF:SelectFiles:Clicked",selector:"#export_tool .aic-export-file-select"},{pageName:"Tools:ExportPDF:ViewAllExportedFiles:Clicked",selector:".aic-exportpdf .aic-view-files-btn"},{pageName:"Tools:ExportPDF:DragFiles:<CountValue1>",selector:".aic-exportpdf",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Cancel",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Continue",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:InitialView:MyCmptr",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:MyCmptr:Clicked",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:MyCmptr:ChooseFiles:Clicked",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:MyCmptr:DragFiles:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:ExportPDF:ChooseFilesDlg:MyCmptr:File:Deleted",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:AcomFiles:Shown",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Acom:Clicked",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Acom:FileName:Checked",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Acom:FileName:Uncheck",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Acom:SearchBar:FilterIcon:Clicked",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Acom:SearchBar:SortIcon:Clicked",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Acom:SearchBar:SearchTextEntered",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Acom:InitialView:NumFilesShown:<CountValue0>",selector:"",variables:{CountValue0:e.CountValue0},values:e.CountValue0},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Recent:Shown",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Recent:Clicked",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Recent:FileName:Checked",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Recent:FileName:Unchecked",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Recent:SearchBar:FilterIcon:Clicked",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Recent:SearchBar:SortIcon:Clicked",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Recent:SearchBar:SearchTextEntered",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Recent:InitialView:NumFilesShown:<CountValue0>",selector:"",variables:{CountValue0:e.CountValue0},values:e.CountValue0},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Sent:Shown",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Sent:Clicked",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Sent:FileName:Checked",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Sent:FileName:Unchecked",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Sent:SearchBar:FilterIcon:Clicked",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Sent:SearchBar:SortIcon:Clicked",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Sent:SearchBar:SearchTextEntered",selector:""},{pageName:"Tools:ExportPDF:ChooseFilesDlg:Sent:InitialView:NumFilesShown:<CountValue0>",selector:"",variables:{CountValue0:e.CountValue0},values:e.CountValue0},{pageName:"Tools:ExportPDF:ChooseFilesDlg:MyCmptrOnly:Success:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:ExportPDF:ChooseFilesDlg:AcomOnly:Success:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:ExportPDF:ChooseFilesDlg:AcomANDMyCmptr:Success:<CountValue2>",selector:"",variables:{CountValue2:e.CountValue2},values:e.CountValue2},{pageName:"Tools:ExportPDF:OptionDlg:Shown",selector:".aic-export-pdf-dialog"},{pageName:"Tools:ExportPDF:OptionDlg:AddFilestoExport:Clicked",selector:".aic-export-add-files"},{pageName:"Tools:ExportPDF:OptionDlg:RemoveFileFromExport:Clicked",selector:".aic-export-pdf-dialog .aic-file-remove"},{pageName:"Tools:ExportPDF:OptionDlg:ExportFormat:<DocFormat>",selector:"#outputFormat",variables:{DocFormat:e.DocFormat},values:e.DocFormat},{pageName:"Tools:ExportPDF:OptionDlg:ExportImageQuality:<Quality>",selector:".aic-fake-slider",variables:{Quality:e.Quality},values:e.Quality},{pageName:"Tools:ExportPDF:OptionDlg:ExportImageFormat:<ImageFormat>",selector:"#imageFormat",variables:{ImageFormat:e.ImageFormat},values:e.ImageFormat},{pageName:"Tools:ExportPDF:OptionDlg:OCR:<OcrLang>",selector:"#ocrLang",variables:{OcrLang:e.OcrLang},values:e.OcrLang},{pageName:"Tools:ExportPDF:OptionDlg:Cancel",selector:"#export_pdf_cancel"},{pageName:"Tools:ExportPDF:OptionDlg:Success",selector:"#export_pdf_convert"},{pageName:"Tools:ExportPDF:Conversion:1-Uploading:Op",selector:"##aic-export-upload_start"},{pageName:"Tools:ExportPDF:Conversion:2-UploadComplete:Op",selector:"##aic-export-upload_complete"},{pageName:"Tools:ExportPDF:Conversion:UploadError:Op",selector:"##aic-export-upload_error"},{pageName:"Tools:ExportPDF:Conversion:3-Converting:Op",selector:"##aic-export-converting"},{pageName:"Tools:ExportPDF:Conversion:4-Complete:Op",selector:"##aic-export-complete"},{pageName:"Tools:ExportPDF:Conversion:UploadCancelled:Op",selector:"##aic-export-upload_cancelled"},{pageName:"Tools:ExportPDF:Conversion:MaxQueueReached:Op",selector:"##aic-export-max_queue"},{pageName:"Tools:ExportPDF:Conversion:Error:<ErrorCode>:Op",selector:"##aic-ExportPDF-error",variables:{ErrorCode:e.ErrorCode},values:e.ErrorCode},{pageName:"Tools:ExportPDF:ProgressBar:1-Uploading:Shown",selector:".aic-exportpdf-status .aic-1-Uploading"},{pageName:"Tools:ExportPDF:ProgressBar:2-Upload_Complete:Shown",selector:".aic-exportpdf-status .aic-2-Upload_Complete"},{pageName:"Tools:ExportPDF:ProgressBar:Upload_Cancelled:Shown",selector:".aic-exportpdf-status .aic-Upload_Cancelled"},{pageName:"Tools:ExportPDF:ProgressBar:Upload_Error:Shown",selector:".aic-exportpdf-status .aic-Upload_Error"},{pageName:"Tools:ExportPDF:ProgressBar:3-Converting:Shown",selector:".aic-exportpdf-status .aic-3-Converting"},{pageName:"Tools:ExportPDF:ProgressBar:Convert_Failed:Shown",selector:".aic-exportpdf-status .aic-Convert_Failed"},{pageName:"Tools:ExportPDF:ProgressBar:4-Complete:Shown",selector:".aic-exportpdf-status .aic-4-Complete"},{pageName:"Tools:ExportPDF:ProgressBar:MaxQueueReached:Waiting:Shown",selector:".aic-exportpdf-status .aic-Waiting"},{pageName:"Tools:ExportPDF:ProgressBar:5-Download:SingleButton:Clicked",selector:".aic-exportpdf-status .aic-status-download-one"},{pageName:"Tools:ExportPDF:ProgressBar:5-Download:AllButton:Clicked",selector:".aic-exportpdf-status .aic-status-download-all"},{pageName:"Tools:ExportPDF:ProgressBar:5-Download:FileNameLink:Clicked",selector:".aic-exportpdf-status .aic-status-download-link"},{pageName:"Tools:ExportPDF:ProgressBar:Error:HoverOver:Shown",selector:".aic-exportpdf-status.aic-status-error"},{pageName:"Tools:ExportPDF:ErrorDlg:Shown",selector:".aic-error-dialog.aic-ExportPDF-error"},{pageName:"Tools:ExportPDF:RHP:Enabled",selector:"##aic-exportpdf-rhp-enabled"},{pageName:"Tools:ExportPDF:RHP:Clicked",selector:".aic-exportpdf-rhp"}];return{variables:e,pages:t}}),define("aictools/analytics/exportpdf_rhp",[],function(){var e={Connector:{kind:"value",values:["DOCCLD","CCLOUD","ONEDRV"]},DocFormat:{kind:"value",values:["docx","xlsx","pptx","doc","rtf","image"]},ErrorCode:{kind:"value",values:["CorrptDoc","Empty","IsPortf","PwdEncrypt","StrgLimExcd","Timeout","TooLarge","UnsupType","VirusDet","Other","FileConversionOther","SharedCloudOther","PlcyProt","ConvFailed"]},ImageFormat:{kind:"value",values:["jpeg","png","tiff"]},OcrLang:{kind:"value",values:["en-us","en-gb","de-de","es-es","fr-fr","it-it","ja-jp"]},Quality:{kind:"value",values:["low","low-med","med","med-high","high"]},CountValue2:{kind:"value",values:["2to5","6to10","11orMore"]},CountValue1:{kind:"value",values:["1","2to5","6to10","11orMore"]},CountValue0:{kind:"value",values:["0","1","2to5","6to10","11orMore"]}},t=[{pageName:"Tools:ExportRHP:SelectFiles:Shown",selector:".aic-export-file-select"},{pageName:"Tools:ExportRHP:SelectFiles:Clicked",selector:"#export_tool .aic-export-file-select"},{pageName:"Tools:ExportRHP:ViewAllExportedFiles:Clicked",selector:".aic-exportpdf .aic-view-files-btn"},{pageName:"Tools:ExportRHP:ChooseFilesDlg:Cancel",selector:""},{pageName:"Tools:ExportRHP:ChooseFilesDlg:Continue",selector:""},{pageName:"Tools:ExportRHP:ChooseFilesDlg:InitialView:MyCmptr",selector:""},{pageName:"Tools:ExportRHP:ChooseFilesDlg:MyCmptr:Clicked",selector:""},{pageName:"Tools:ExportRHP:ChooseFilesDlg:MyCmptr:ChooseFiles:Clicked",selector:""},{pageName:"Tools:ExportRHP:ChooseFilesDlg:MyCmptr:RecentFolder:Selected",selector:""},{pageName:"Tools:ExportRHP:ChooseFilesDlg:MyCmptr:Browse:Clicked",selector:""},{pageName:"Tools:ExportRHP:ChooseFilesDlg:OSOpenDlg:File:Selected",selector:""},{pageName:"Tools:ExportRHP:ChooseFilesDlg:<Connector>:Shown",selector:"",variables:{Connector:e.Connector},values:e.Connector},{pageName:"Tools:ExportRHP:ChooseFilesDlg:<Connector>:Clicked",selector:"",variables:{Connector:e.Connector},values:e.Connector},{pageName:"Tools:ExportRHP:ChooseFilesDlg:<Connector>:FileName:Checked",selector:"",variables:{Connector:e.Connector},values:e.Connector},{pageName:"Tools:ExportRHP:ChooseFilesDlg:<Connector>:FileName:Uncheck",selector:"",variables:{Connector:e.Connector},values:e.Connector},{pageName:"Tools:ExportRHP:ChooseFilesDlg:<Connector>:FilterIcon:Clicked",selector:"",variables:{Connector:e.Connector},values:e.Connector},{pageName:"Tools:ExportRHP:ChooseFilesDlg:<Connector>:SortIcon:Clicked",selector:"",variables:{Connector:e.Connector},values:e.Connector},{pageName:"Tools:ExportRHP:ChooseFilesDlg:<Connector>:SearchTextEntered",selector:"",variables:{Connector:e.Connector},values:e.Connector},{pageName:"Tools:ExportRHP:ChooseFilesDlg:<Connector>:InitialView:NumFilesShown:<CountValue0>",selector:"",variables:{Connector:e.Connector,CountValue0:e.CountValue0},values:e.CountValue0},{pageName:"Tools:ExportRHP:ChooseFilesDlg:MyCmptrOnly:Success:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:ExportRHP:ChooseFilesDlg:AcomOnly:Success:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:ExportRHP:OptionDlg:Shown",selector:".aic-export-pdf-dialog"},{pageName:"Tools:ExportRHP:OptionDlg:AddFilestoExport:Clicked",selector:".aic-export-add-files"},{pageName:"Tools:ExportRHP:OptionDlg:RemoveFileFromExport:Clicked",selector:".aic-export-pdf-dialog .aic-file-remove"},{pageName:"Tools:ExportRHP:OptionDlg:ExportFormat:<DocFormat>",selector:"#outputFormat",variables:{DocFormat:e.DocFormat},values:e.DocFormat},{pageName:"Tools:ExportRHP:OptionDlg:ExportImageQuality:<Quality>",selector:"#outputImageQuality",variables:{Quality:e.Quality},values:e.Quality},{pageName:"Tools:ExportRHP:OptionDlg:ExportImageFormat:<ImageFormat>",selector:"#aic-image-format",variables:{ImageFormat:e.ImageFormat},values:e.ImageFormat},{pageName:"Tools:ExportRHP:OptionDlg:OCR:<OcrLang>",selector:"#ocrLang",variables:{OcrLang:e.OcrLang},values:e.OcrLang},{pageName:"Tools:ExportRHP:OptionDlg:Success",selector:"#export_pdf_convert"},{pageName:"Tools:ExportRHP:Conversion:1-Uploading:Op",selector:"##aic-export-upload_start"},{pageName:"Tools:ExportRHP:Conversion:2-UploadComplete:Op",selector:"##aic-export-upload_complete"},{pageName:"Tools:ExportRHP:Conversion:UploadError:Op",selector:"##aic-export-upload_error"},{pageName:"Tools:ExportRHP:Conversion:3-Converting:Op",selector:"##aic-export-converting"},{pageName:"Tools:ExportRHP:Conversion:4-Complete:Op",selector:"##aic-export-complete"},{pageName:"Tools:ExportRHP:Conversion:UploadCancelled:Op",selector:"##aic-export-upload_cancelled"},{pageName:"Tools:ExportRHP:Conversion:Error:<ErrorCode>:Op",selector:"##aic-ExportPDF-error",variables:{ErrorCode:e.ErrorCode},values:e.ErrorCode},{pageName:"Tools:ExportRHP:ProgressBar:1-Uploading:Shown",selector:".aic-exportpdf-status .aic-1-Uploading"},{pageName:"Tools:ExportRHP:ProgressBar:2-Upload_Complete:Shown",selector:".aic-exportpdf-status .aic-2-Upload_Complete"},{pageName:"Tools:ExportRHP:ProgressBar:Upload_Cancelled:Shown",selector:".aic-exportpdf-status .aic-Upload_Cancelled"},{pageName:"Tools:ExportRHP:ProgressBar:Upload_Error:Shown",selector:".aic-exportpdf-status .aic-Upload_Error"},{pageName:"Tools:ExportRHP:ProgressBar:3-Converting:Shown",selector:".aic-exportpdf-status .aic-3-Converting"},{pageName:"Tools:ExportRHP:ProgressBar:Convert_Failed:Shown",selector:".aic-exportpdf-status .aic-Convert_Failed"},{pageName:"Tools:ExportRHP:ProgressBar:4-Complete:Shown",selector:".aic-exportpdf-status .aic-4-Complete"},{pageName:"Tools:ExportRHP:ProgressBar:MaxQueueReached:Waiting:Shown",selector:".aic-exportpdf-status .aic-Waiting"},{pageName:"Tools:ExportRHP:ProgressBar:5-Download:SingleButton:Clicked",selector:".aic-exportpdf-status .aic-status-download-one"},{pageName:"Tools:ExportRHP:ProgressBar:5-Download:AllButton:Clicked",selector:".aic-exportpdf-status .aic-status-download-all"},{pageName:"Tools:ExportRHP:ProgressBar:5-Download:FileNameLink:Clicked",selector:".aic-exportpdf-status .aic-status-download-link"},{pageName:"Tools:ExportRHP:ProgressBar:Error:HoverOver:Shown",selector:".aic-exportpdf-status.aic-status-error"},{pageName:"Tools:ExportRHP:ProgressBar:5-Download:SaveAs:Clicked",selector:""},{pageName:"Tools:ExportRHP:ErrorDlg:Shown",selector:".aic-error-dialog.aic-ExportPDF-error"},{pageName:"Tools:ExportRHP:SelectFiles:Closed",selector:""},{pageName:"Tools:ExportRHP:OptionDlg:UpsellStarted",selector:""}];return{variables:e,pages:t}}),define("aictools/analytics/myinfo",["aictools/analytics/analytics"],function(){var e={Lang:{kind:"value",values:["en-us","en-gb","de-de","es-es","fr-fr","it-it","ja-jp","da-dk","fi-fi","nb-no","nl-nl","pt-br","sv-se"]}},t=[{pageName:"TopHeader:UserAcctMenu:MyInfoDlg:Shown",selector:".aic-my-information"},{pageName:"TopHeader:UserAcctMenu:MyInfoDlg:Cancel",selector:""},{pageName:"TopHeader:UserAcctMenu:MyInfoDlg:AdobeID:Clicked",selector:"#aic-change-adobe-id"},{pageName:"TopHeader:UserAcctMenu:MyInfoDlg:Pwd:Change:Clicked",selector:"#aic-change-password"},{pageName:"TopHeader:UserAcctMenu:MyInfoDlg:Language:Change:<Lang>",selector:"#aic-language",variables:{Lang:e.Lang},values:e.Lang},{pageName:"TopHeader:UserAcctMenu:MyInfoDlg:EmailUpdates:Checked",selector:"#aic-send-email"},{pageName:"TopHeader:UserAcctMenu:MyInfoDlg:EmailUpdates:UnChecked",selector:"#aic-send-email"},{pageName:"TopHeader:UserAcctMenu:MyInfoDlg:FirstName:Change",selector:"#aic-first-name"},{pageName:"TopHeader:UserAcctMenu:MyInfoDlg:LastName:Change",selector:"#aic-last-name"},{pageName:"TopHeader:UserAcctMenu:MyInfoDlg:Success",selector:"#aic-my-information-close"},{pageName:"TopHeader:UserAcctMenu:MyInfoDlg:Cancel",selector:"#aic-my-information-close"},{pageName:"TopHeader:UserAcctMenu:MyInfoDlg:PrivacyPolicy:Clicked",selector:".aic-privacy-policy"}];return{variables:e,pages:t}}),define("aictools/analytics/myplan",["aictools/analytics/analytics"],function(){var e={source:{kind:"data",values:["Tools:APro","Tools:CreatePDF","Tools:Combine","User:MyPlan","Tools:CreateForm","Tools:ExportPDF","Tools:Organize"]},reason:{kind:"value",values:["PURCHASED_WRONG_PRODUCT","NO_LONGER_NEEDED_SERVICE","TOO_COMPLICATED","PERFORMED_POORLY","DOES_NOT_HAVE_NEEDED_FEATURES","TOO_EXPENSIVE","WILL_USE_COMPETING_SOLUTION","WILL_USE_ANOTHER_ADOBE_PRODUCT","OTHER"]},BusinessSource:{kind:"value",values:["Dell","AcPr","CCM","Tril","None","TEAM"]},Term:{kind:"value",values:["Monthly","AnnualBilledMonthly","AnnualBilledAnnually","None"]},Plan:{kind:"data",values:["APRO--PlusAbM","PDFP--BasicAn","EPDF--BasicAn","FORM--PlusAn"]}},t=[{pageName:"<source>:SubscribeNow:SUSISignInDlg:Shown",selector:"##aic-purchase-susi-shown",variables:{source:e.source}},{pageName:"<source>:SubscribeNow:SUSISignInDlg:Cancel",selector:"##aic-purchase-susi-cancel",variables:{source:e.source}},{pageName:"<source>:SubscribeNow:SUSISignInDlg:Success",selector:"##aic-purchase-susi-success",variables:{source:e.source}},{pageName:"BusinessSource:<BusinessSource>",selector:"##aic-business-source",variables:{BusinessSource:e.BusinessSource},values:e.BusinessSource},{pageName:"BillingTerm:<Term>",selector:"##aic-subscription-term",variables:{Term:e.Term},values:e.Term},{pageName:"User:MyPlan:Home:Shown",selector:"#aic-subscription-details"},{pageName:"User:MyPlan:Home:Success",selector:".aic_subscription_back_btn"},{pageName:"User:MyPlan:Home:Upgrade:SUSISignInDlg:Shown",selector:"##aic-myplan-upg-susi-shown"},{pageName:"User:MyPlan:Home:Upgrade:SUSISignInDlg:Cancel",selector:"##aic-myplan-upg-susi-cancel"},{pageName:"User:MyPlan:Home:Upgrade:SUSISignInDlg:Success",selector:"##aic-myplan-upg-susi-success"},{pageName:"User:MyPlan:Home:Upgrade:Clicked",selector:"#offer-upgrade-button"},{pageName:"User:MyPlan:Home:AutoRenewal:SUSISignInDlg:Shown",selector:"##aic-myplan-autorenewal-susi-shown"},{pageName:"User:MyPlan:Home:AutoRenewal:SUSISignInDlg:Cancel",selector:"##aic-myplan-autorenewal-susi-cancel"},{pageName:"User:MyPlan:Home:AutoRenewal:SUSISignInDlg:Success",selector:"##aic-myplan-autorenewal-susi-success"},{pageName:"User:MyPlan:Home:AutoRenewal:TurnOFF:Clicked",selector:".aic-cancel-subscription"},{pageName:"User:MyPlan:Home:AutoRenewal:TurnON:Clicked",selector:".aic-renew-subscription"},{pageName:"User:MyPlan:Home:EditPaymentInfo:Clicked",selector:".aic_payment_info_content .aic_edit_billing_button"},{pageName:"User:MyPlan:PwdDlg:Shown",selector:".aic-myplan-password"},{pageName:"User:MyPlan:PwdDlg:Continue:Clicked",selector:".aic-myplan-password #aic-sign-in"},{pageName:"User:MyPlan:PwdDlg:Cancel",selector:".aic-myplan-password #aic-cancel-sign-in"},{pageName:"User:MyPlan:PwdDlg:Success",selector:"##aic-myplan-password-success"},{pageName:"User:MyPlan:PwdDlg:Error:IncorrectPwd:Shown",selector:".aic-myplan-password .aic_password_wrong_msg"},{pageName:"User:MyPlan:EditPaymentInfo:SUSISignInDlg:Shown",selector:"##aic-myplan-editbilling-susi-shown"},{pageName:"User:MyPlan:EditPaymentInfo:SUSISignInDlg:Cancel",selector:"##aic-myplan-editbilling-susi-cancel"},{pageName:"User:MyPlan:EditPaymentInfo:SUSISignInDlg:Success",selector:"##aic-myplan-editbilling-susi-success"},{pageName:"User:MyPlan:EditPaymentInfoDlg:Shown",selector:".aic-edit-billing-frame-holder"},{pageName:"User:MyPlan:EditPaymentInfoDlg:Cancel",selector:".aic-edit-billing-frame-holder"},{pageName:"User:MyPlan:EditPaymentInfoDlg:Success",selector:"##payment-info-success"},{pageName:"User:MyPlan:EditPaymentInfoDlg:CannotEditError:Shown",selector:".aic_dialog_in_app_edit_billing .aic-edit-billing-loading-fail"},{pageName:"<source>:Upgrade:SUSISignInDlg:Shown",selector:"##aic-upgrade-susi-shown",variables:{source:e.source}},{pageName:"<source>:Upgrade:SUSISignInDlg:Cancel",selector:"##aic-upgrade-susi-cancel",variables:{source:e.source}},{pageName:"<source>:Upgrade:SUSISignInDlg:Success",selector:"##aic-upgrade-susi-success",variables:{source:e.source}},{pageName:"<source>:UpgradeDlg:Shown",selector:".aic-upgrade",variables:{source:e.source}},{pageName:"<source>:UpgradeDlg:EditPaymentInfo:Clicked",selector:".aic-upgrade .aic_edit_billing_button",variables:{source:e.source}},{pageName:"<source>:UpgradeDlg:TOU:Checked",selector:".aic-upgrade #term-checkbox",variables:{source:e.source}},{pageName:"<source>:UpgradeDlg:Processing:Started",selector:"##subscription-upgrade-started",variables:{source:e.source}},{pageName:"<source>:UpgradeDlg:Upgrade:Success",selector:".aic-upgrade #subscription-upgrade",variables:{source:e.source}},{pageName:"<source>:UpgradeDlg:EditPaymentInfo:Error:Shown",selector:"",variables:{source:e.source}},{pageName:"<source>:UpgradeDlg:Cancel",selector:".aic-upgrade #subscription-upgradenot",variables:{source:e.source}},{pageName:"<source>:Upgrade:ErrorDlg:Shown",selector:".aic-tool-upgrade-error",variables:{source:e.source}},{pageName:"<source>:Upgrade:ErrorDlg:GoToAdobe:Clicked",selector:".aic-upgrade-err-goto-adobe",variables:{source:e.source}},{pageName:"<source>:Upgrade:ErrorDlg:GoToSupport:Clicked",selector:".aic-upgrade-err-cust-support",variables:{source:e.source}},{pageName:"<source>:Upgrade:ErrorDlg:GoToEditBilling:Clicked",selector:".aic-upgrade-err-edit-billing",variables:{source:e.source}},{pageName:"<source>:Upgrade:ErrorDlg:Refresh:Clicked",selector:".aic-upgrade-err-refresh",variables:{source:e.source}},{pageName:"<source>:Upgrade:ErrorDlg:Cancel",selector:".aic-upgrade-err-cancel",variables:{source:e.source}},{pageName:"<source>:Upgrade:ProcessingOrder:Shown",selector:".aic-upgrade-processing-order-spinner",variables:{source:e.source}},{pageName:"<source>:UpgradeDlg:Error:TOU:Unchecked:Shown",selector:".aic-upgrade .aic_term_warning_msg",variables:{source:e.source}},{pageName:"<source>:UpgradeDlg:Error:IncorrectPwd:Shown",selector:".aic-upgrade .aic_password_wrong_msg",variables:{source:e.source}},{pageName:"<source>:UpgradeConfirmDlg:Shown",selector:".aic-upgrade-confirm",variables:{source:e.source}},{pageName:"<source>:UpgradeConfirmDlg:GetStarted:Clicked",selector:".aic-upgrade-get-started",variables:{source:e.source}},{pageName:"Upgrade:Error:OTHER_ERR:Op",selector:"##aic-upgrade-err-OTHER"},{pageName:"Upgrade:Error:BILLING_MISSING_ERR:Op",selector:"##aic-upgrade-err-BILLING_MISSING"},{pageName:"Upgrade:Error:ECC_ORDER_NUMBER_ERR:Op",selector:"##aic-upgrade-err-ECC_ORDER_NUMBER"},{pageName:"Upgrade:Error:SUB_NOT_ACTIVE_ERR:Op",selector:"##aic-upgrade-err-SUB_NOT_ACTIVE"},{pageName:"Upgrade:Error:BILLING_EXPIRED_ERR:Op",selector:"##aic-upgrade-err-BILLING_EXPIRED"},{pageName:"Upgrade:Error:CARD_EXPIRED_ERR:Op",selector:"##aic-upgrade-err-CARD_EXPIRED"},{pageName:"Upgrade:Error:CARD_REJECT_ERR:Op",selector:"##aic-upgrade-err-CARD_REJECT"},{pageName:"Upgrade:Error:INVALID_VAT_ERR:Op",selector:"##aic-upgrade-err-INVALID_VAT"},{pageName:"Upgrade:Error:INVALID_ADDRESS_ERR:Op",selector:"##aic-upgrade-err-INVALID_ADDRESS"},{pageName:"Upgrade:Error:UPGRADE_NOT_NEEDED_ERR:Op",selector:"##aic-upgrade-err-UPGRADE_NOT_NEEDED"},{pageName:"Upgrade:Error:DUPLICATE_ERR:Op",selector:"##aic-upgrade-err-DUPLICATE"},{pageName:"User:MyPlan:UpgradeDlg:Error:TOU:Unchecked:Shown",selector:".aic-myplan-upgrade .aic_term_warning_msg"},{pageName:"User:MyPlan:UpgradeDlg:Error:IncorrectPwd:Shown",selector:".aic-myplan-upgrade .aic_password_wrong_msg"},{pageName:"User:MyPlan:InlinePwdDlg:Shown",selector:".aic-inline-password"},{pageName:"User:MyPlan:InlinePwdDlg:Continue:Clicked",selector:".aic-inline-password #aic-sign-in"},{pageName:"User:MyPlan:InlinePwdDlg:Cancel",selector:".aic-inline-password #aic-cancel-sign-in"},{pageName:"User:MyPlan:InlinePwdDlg:Success",selector:".aic-inline-password #aic-sign-in"},{pageName:"User:MyPlan:InlinePwdDlg:Error:IncorrectPwd:Shown",selector:".aic-inline-password .aic_password_wrong_msg"},{pageName:"User:MyPlan:InlineEditPaymentInfoDlg:Shown",selector:".aic-edit-billing-frame-holder-upgrade"},{pageName:"User:MyPlan:InlineEditPaymentInfoDlg:Cancel",selector:".aic-edit-billing-frame-holder-upgrade"},{pageName:"User:MyPlan:InlineEditPaymentInfoDlg:Success",selector:"##inline-payment-info-success"},{pageName:"User:MyPlan:InlinePaymentInfoDlg:CannotEditError:Shown",selector:"#edit-billing-load-passwd .aic-edit-billing-loading-fail"},{pageName:"User:MyPlan:TurnOff:Survey:Shown",selector:".aic-cancel-subscription-dialog"},{pageName:"User:MyPlan:TurnOff:Survey:<reason>",selector:"input:radio[name=aic-cancel-reason]",variables:{reason:e.reason},values:e.reason},{pageName:"User:MyPlan:TurnOff:Survey:Success",selector:"#cancel_subscription_button"},{pageName:"User:MyPlan:TurnOff:Survey:Cancel",selector:"#do_not_cancel_subscription_button"},{pageName:"User:MyPlan:TurnOff:Success:Shown",selector:".aic-cancel-subscription-succeeded"},{pageName:"User:MyPlan:TurnOff:Survey:Error:IncorrectPwd:Shown",selector:".aic-cancel-subscription-dialog .aic_password_wrong_msg"},{pageName:"User:MyPlan:TurnOff:Survey:Error:NoSelection:Shown",selector:".aic-cancel-subscription-dialog .missing-cancellation-reason"},{pageName:"User:MyPlan:TurnOn:PwdDlg:Shown",selector:".aic-turn-on-password"},{pageName:"User:MyPlan:TurnOn:PwdDlg:AutoRenewOn:Clicked",selector:".aic-turn-on-password #aic-sign-in"},{pageName:"User:MyPlan:TurnOn:PwdDlg:Cancel",selector:".aic-turn-on-password #aic-cancel-sign-in"},{pageName:"User:MyPlan:TurnOn:Error:IncorrectPwd:Shown",selector:".aic-turn-on-password .aic_password_wrong_msg"},{pageName:"User:MyPlan:TurnOn:Success:Shown",selector:".aic-turn-on-success"},{pageName:"User:MyPlan:ErrDlg:Cancel",selector:".aic-no-plan-cancel"},{pageName:"User:MyPlan:ErrDlg:ContactCustSup:Success",selector:".aic-contact-customer-support"},{pageName:"User:MyPlan:ErrDlg:NoInfo:Shown",selector:".aic-unable-to-show-plan"},{pageName:"Tools:Upgrade:From:EPDF-BasAn:To:PDFP-BasAn:Success",selector:"##EPDF-BasAn:To:PDFP-BasAn"},{pageName:"Tools:Upgrade:From:EPDF-BasAn:To:APRO-PlsAbM:Success",selector:"##EPDF-BasAn:To:APRO-PlsAbM"},{pageName:"Tools:Upgrade:From:SPDF-BaAn:To:PDFP-BasAn:Success",selector:"##SPDF-BaAn:To:PDFP-BasAn"},{pageName:"Tools:Upgrade:From:SPDF-BaAn:To:APRO-PlsAbM:Success",selector:"##SPDF-BaAn:To:APRO-PlsAbM"},{pageName:"Tools:Upgrade:From:PDFP-BasMo:To:APRO-PlsAbM:Success",selector:"##PDFP-BasMo:To:APRO-PlsAbM"},{pageName:"Tools:Upgrade:From:PDFP-BasAn:To:APRO-PlsAbM:Success",selector:"##PDFP-BasAn:To:APRO-PlsAbM"},{pageName:"Tools:Upgrade:From:ASTD-PlsAbM:To:APRO-PlsAbM:Success",selector:"##ASTD-PlsAbM:To:APRO-PlsAbM"},{pageName:"Tools:Upgrade:From:ASTD-PlsMo:To:APRO-PlsAbM:Success",selector:"##ASTD-PlsMo:To:APRO-PlsAbM"},{pageName:"Tools:Upgrade:From:APRO-PlsMo:To:APRO-PlsAbM:Success",selector:"##APRO-PlsMo:To:APRO-PlsAbM"},{pageName:"Tools:Upgrade:From:Send-BasAn:To:APRO-PlsAbM:Success",selector:"##Send-BascAn:To:APRO-PlsAbM"},{pageName:"Tools:Upgrade:From:Send-BasAn:To:PDFP-BasMo:Success",selector:"##Send-BascAn:To:PDFP-BasMo"},{pageName:"Tools:Upgrade:From:Send-BasAn:To:PDFP-BasAn:Success",selector:"##Send-BascAn:To:PDFP-BasAn"},{pageName:"CreditCard:ExpiringDlg:Shown",selector:".aic-cc-expiring"},{pageName:"CreditCard:ExpiringDlg:Update:Clicked",selector:".aic-cc-expiring .aic-update-cc"},{pageName:"CreditCard:ExpiringDlg:RemindLater:Clicked",selector:".aic-cc-expiring .aic-cancel-update-cc"},{pageName:"CreditCard:ExpiredPreGracePrdDlg:Shown",selector:".aic-cc-expired-pre-grace"},{pageName:"CreditCard:ExpiredPreGracePrdDlg:Update:Clicked",selector:".aic-cc-expired-pre-grace  .aic-update-cc"},{pageName:"CreditCard:ExpiredPreGracePrdDlg:RemindLater:Clicked",selector:".aic-cc-expired-pre-grace .aic-cancel-update-cc"},{pageName:"CreditCard:ExpiredInGracePrdDlg:Shown",selector:".aic-cc-expired-in-grace"},{pageName:"CreditCard:ExpiredInGracePrdDlg:Update:Clicked",selector:".aic-cc-expired-in-grace  .aic-update-cc"},{pageName:"CreditCard:ExpiredInGracePrdDlg:RemindLater:Clicked",selector:".aic-cc-expired-in-grace .aic-cancel-update-cc"},{pageName:"CreditCard:ExpiredPostGracePrdDlg:Shown",selector:".aic-cc-expired-post-grace"},{pageName:"CreditCard:ExpiredPostGracePrdDlg:ok:Clicked",selector:".aic-cc-expired-post-grace  .aic-update-cc"},{pageName:"AnywareCart:Shown:<Plan>:AiCWebApp",selector:"##aic-anyware-shown",variables:{Plan:e.Plan}},{pageName:"AnywareCart:Validated:<Plan>:AiCWebApp",selector:"##aic-anyware-order-validated",variables:{Plan:e.Plan}},{pageName:"AnywareCart:Complete:<Plan>:AiCWebApp",selector:"##aic-anyware-order-completed",variables:{Plan:e.Plan}},{pageName:"AnywareCart:ErrorDlg:Shown:<Plan>:AiCWebApp",selector:"##aic-anyware-err-dlg-shown",variables:{Plan:e.Plan}},{pageName:"AnywareCart:ErrorDlg:FraudCheckFailed:Shown:<Plan>:AiCWebApp",selector:"##aic-anyware-fraudcheck",variables:{Plan:e.Plan}},{pageName:"AnywareCart:ErrorDlg:CCExpired:Shown:<Plan>:AiCWebApp",selector:"##aic-anyware-cc-expired",variables:{Plan:e.Plan}},{pageName:"AnywareCart:ErrorDlg:InvalidBillingAddress:Shown:<Plan>:AiCWebApp",selector:"##aic-anyware-invalid-billingAddr",variables:{Plan:e.Plan}},{pageName:"AnywareCart:ErrorDlg:InvalidCCAddress:Shown:<Plan>:AiCWebApp",selector:"##aic-anyware-invalid-ccAddr",variables:{Plan:e.Plan}},{pageName:"AnywareCart:ErrorDlg:InvalidData:Shown:<Plan>:AiCWebApp",selector:"##aic-anyware-invalid-data",variables:{Plan:e.Plan}},{pageName:"AnywareCart:ErrorDlg:RequestFailed:Shown:<Plan>:AiCWebApp",selector:"##aic-anyware-request-failed",variables:{Plan:e.Plan}}];
return{variables:e,pages:t}}),define("aictools/analytics/sharing",["aictools/analytics/analytics"],function(){var e={CountValue2:{kind:"value",values:["2to5","6to10","11orMore"]},CountValue1:{kind:"value",values:["1","2to5","6to10","11orMore"]},CountValue0:{kind:"value",values:["0","1","2to5","6to10","11orMore"]}},t=[{pageName:"FileList:SentFiles:Clicked",selector:""},{pageName:"FileList:SentFiles:Action:Unshare",selector:""},{pageName:"FileList:SentFiles:Action:Forward",selector:""},{pageName:"FileList:SentFiles:Action:Download",selector:""},{pageName:"FileList:SentFiles:Action:Trash",selector:""},{pageName:"FileList:SentFiles:Action:SelectAll",selector:""},{pageName:"Preview:Shared:Multi:Shown",selector:""},{pageName:"Preview:Shared:Multi:NotifyWhenViewed:Checked",selector:""},{pageName:"Preview:Shared:Multi:NotifyWhenViewed:Unchecked",selector:""},{pageName:"Preview:Shared:Multi:ViewFullActivity",selector:""},{pageName:"Preview:Shared:Multi:PreviewFile:SendFileAgain",selector:""},{pageName:"Preview:Shared:Multi:Unshare",selector:""},{pageName:"Preview:Shared:Multi:PublicLink",selector:""},{pageName:"Preview:Shared:Multi:Forward",selector:""},{pageName:"Preview:Shared:Multi:File:NextPg",selector:""},{pageName:"Preview:Shared:Multi:File:PrevPg",selector:""},{pageName:"Preview:Shared:Multi:UnshareDlg:Shown",selector:""},{pageName:"Preview:Shared:Multi:UnshareDlg:Unshare:Clicked",selector:""},{pageName:"Preview:Shared:Multi:UnshareDlg:Unshare:Cancel",selector:""},{pageName:"Preview:Shared:Multi:FullActivity:Shown",selector:""},{pageName:"Preview:Shared:Multi:FullActivity:Close",selector:""},{pageName:"Preview:Shared:Multi:FullActivity:Filter:All",selector:""},{pageName:"Preview:Shared:Multi:FullActivity:Filter:Recipient",selector:""},{pageName:"Preview:Shared:Multi:FullActivity:Filter:Activity",selector:""},{pageName:"Preview:Shared:Multi:FullActivity:Filter:Item",selector:""},{pageName:"Preview:Shared:Multi:FullActivity:Sort:ViewedBy",selector:""},{pageName:"Preview:Shared:Multi:FullActivity:Sort:DateViewed",selector:""},{pageName:"Preview:Shared:Multi:FullActivity:Close",selector:""},{pageName:"Preview:Shared:Multi:FullActivity:Sort:File",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:ShareFileButton",selector:""},{pageName:"RecView:Multi:Shown",selector:""},{pageName:"RecView:Multi:SaveToAcrobat",selector:""},{pageName:"RecView:Multi:File:NextPg",selector:""},{pageName:"RecView:Multi:File:PrevPg",selector:""},{pageName:"RecView:Preview:BottomNavBar:FitPgFull",selector:""},{pageName:"RecView:Preview:BottomNavBar:FitPgWidth",selector:""},{pageName:"RecView:Preview:BottomNavBar:FullScreen",selector:""},{pageName:"RecView:Preview:BottomNavBar:HideRHP",selector:""},{pageName:"RecView:Preview:BottomNavBar:NextPg",selector:""},{pageName:"RecView:Preview:BottomNavBar:PrevPg",selector:""},{pageName:"RecView:Preview:BottomNavBar:Scroll",selector:""},{pageName:"RecView:Preview:BottomNavBar:Close",selector:""},{pageName:"RecView:Multi:Preview:Shown",selector:""},{pageName:"RecView:Multi:Preview:ReportAbuse",selector:""},{pageName:"RecView:Multi:Preview:Download",selector:""},{pageName:"RecView:Multi:downloadOne",selector:""},{pageName:"RecView:Multi:downloadAll",selector:""},{pageName:"RecView:Multi:Preview:BackButton",selector:""},{pageName:"RecView:Multi:Preview:Reply",selector:""},{pageName:"RecView:Single:Shown",selector:""},{pageName:"RecView:Single:ReportAbuse",selector:""},{pageName:"RecView:Single:Download",selector:""},{pageName:"RecView:Single:Reply",selector:""},{pageName:"Preview:Toolbar:Share:Clicked",selector:""},{pageName:"Tools:Share:Clicked",selector:""},{pageName:"Tools:Share:Shown",selector:""},{pageName:"Tools:Share:Shown:Duration:<DurationValue>",selector:""},{pageName:"Tools:Share:ts-direct-to-workflow-view:<cohort-name>",selector:""},{pageName:"Tools:Share:welcome:Shown",selector:""},{pageName:"Tools:Share:workflow:Shown",selector:""},{pageName:"Tools:Share:success:Shown",selector:""},{pageName:"Tools:Share:welcome:Shown:Duration:<DurationValue>",selector:""},{pageName:"Tools:Share:workflow:Shown:Duration:<DurationValue>",selector:""},{pageName:"Tools:Share:success:Shown:Duration:<DurationValue>",selector:""},{pageName:"Tools:Share:welcome:BrowserClosed:Duration:<DurationValue>",selector:""},{pageName:"Tools:Share:workflow:BrowserClosed:Duration:<DurationValue>",selector:""},{pageName:"Tools:Share:success:BrowserClosed:Duration:<DurationValue>",selector:""},{pageName:"Tools:Share:SelectFiles:Clicked",selector:""},{pageName:"Tools:Share:ViewAllSharedFiles:Clicked",selector:""},{pageName:"Tools:Share:AddFilesToShare",selector:""},{pageName:"Tools:Share:ShareWith:Public",selector:""},{pageName:"Tools:Share:ShareWith:Personal",selector:""},{pageName:"Tools:Share:ShareWith:Personal:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:Share:Subject:Entered",selector:""},{pageName:"Tools:Share:Message:Entered",selector:""},{pageName:"Tools:Share:Subject:Default",selector:""},{pageName:"Tools:Share:Message:Default",selector:""},{pageName:"Tools:Share:IncludeMessageText:Unchecked",selector:""},{pageName:"Tools:Share:IncludeMessageText:Checked",selector:""},{pageName:"Tools:Share:IncludeReplyTo:Unchecked",selector:""},{pageName:"Tools:Share:IncludeReplyTo:Checked",selector:""},{pageName:"Tools:Share:AttemptedToShareForm",selector:""},{pageName:"Tools:Share:ShareButton",selector:""},{pageName:"Tools:Share:Cancel",selector:""},{pageName:"Tools:Share:FilesSharedDlog:Personal:ts-success-dlg-1:<cohort-name>",selector:""},{pageName:"Tools:Share:FilesSharedDlog:Public:ts-success-dlg-1:<cohort-name>",selector:""},{pageName:"Tools:Share:FilesSharedDlg:PersonalANDPublic:ts-success-dlg-1:<cohort-name>",selector:""},{pageName:"Tools:Share:FilesSharedDlog:Personal:ts-public-url-copy:<cohort-name>",selector:""},{pageName:"Tools:Share:FilesSharedDlog:Public:ts-public-url-copy:<cohort-name>",selector:""},{pageName:"Tools:Share:FilesSharedDlg:PersonalANDPublic::ts-public-url-copy:<cohort-name>",selector:""},{pageName:"Tools:Share:FilesSharedDlg:Personal:Shown",selector:""},{pageName:"Tools:Share:FilesSharedDlg:Personal:Close",selector:""},{pageName:"Tools:Share:FilesSharedDlg:Public:Shown",selector:""},{pageName:"Tools:Share:FilesSharedDlg:Public:EmailLink",selector:""},{pageName:"Tools:Share:FilesSharedDlg:Public:UrlHighlight",selector:""},{pageName:"Tools:Share:FilesSharedDlg:Public:Close",selector:""},{pageName:"Tools:Share:FilesSharedDlg:PersonalANDPublic:Shown",selector:""},{pageName:"Tools:Share:FilesSharedDlg:PersonalANDPublic:EmailLink",selector:""},{pageName:"Tools:Share:FilesSharedDlg:PersonalANDPublic:UrlHighlight",selector:""},{pageName:"Tools:Share:FilesSharedDlg:Public:UrlKeyCopy",selector:""},{pageName:"Tools:Share:FilesSharedDlg:PersonalANDPublic:UrlKeyCopy",selector:""},{pageName:"Tools:Share:FilesSharedDlg:Personal:Duration:<DurationValue>",selector:""},{pageName:"Tools:Share:FilesSharedDlg:Public:Duration:<DurationValue>",selector:""},{pageName:"Tools:Share:FilesSharedDlg:PersonalANDPublic:Duration:<DurationValue>",selector:""},{pageName:"Tools:Share:FilesSharedDlg:Personal:WarnB4Close",selector:""},{pageName:"Tools:Share:FilesSharedDlg:Public:WarnB4Close",selector:""},{pageName:"Tools:Share:FilesSharedDlg:PersonalANDPublic:WarnB4Close",selector:""},{pageName:"Tools:Share:FilesSharedDlg:PersonalANDPublic:Close",selector:""},{pageName:"Tools:Share:ChooseFilesDlg:MyCmptr:Shown",selector:""},{pageName:"Tools:Share:ChooseFilesDlg:MyCmptr:ChooseFiles:Clicked",selector:""},{pageName:"Tools:Share:ChooseFilesDlg:MyCmptr:DragFiles:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:Share:ChooseFilesDlg:MyCmptr:AddSelected:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:Share:ChooseFilesDlg:MyCmptr:Cancel",selector:""},{pageName:"Tools:Share:ChooseFilesDlg:AcomFiles:Shown",selector:""},{pageName:"Tools:Share:ChooseFilesDlg:AcomFiles:ChooseFiles:Clicked",selector:""},{pageName:"Tools:Share:ChooseFilesDlg:AcomFiles:AddSelected:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:Share:ChooseFilesDlg:AcomFiles:Cancel",selector:""},{pageName:"Tools:Share:Branding:ColorMenuButton",selector:"",prop49:"Clicked on the color menu button in the customize branding dialog"},{pageName:"Tools:Share:Branding:LogoButton",selector:"",prop49:"Clicked to change logo in customize branding dialog"},{pageName:"Tools:Share:Branding:ClickBrandingInReader",selector:"",prop49:"Clicked to edit their branding settings while in the In Reader Browser"},{pageName:"Tools:Share:Branding:ClickBranding",selector:""},{pageName:"Tools:Share:Branding:LogoCancel",selector:""},{pageName:"Tools:Share:Branding:LogoSave",selector:""},{pageName:"Tools:Share:Branding:TurnOffBranding",selector:""},{pageName:"Tools:Share:Branding:TurnOnBranding",selector:""},{pageName:"Tools:Share:Branding:ColorWell",selector:""},{pageName:"Tools:Share:Branding:ColorInput",selector:""},{pageName:"RecView:ReportAbuse:Dialog:ReportAbuse:Success",selector:""},{pageName:"RecView:ReportAbuse:Dialog:ReportAbuse:Cancel",selector:""},{pageName:"Tools:Share:ShareWith:Personal:IPM:Shown",selector:""},{pageName:"Tools:Share:ShareWith:Personal:IPM:<cohort-name>",selector:""},{pageName:"Tools:Share:ShareWith:Personal:IPM:Later:Clicked",selector:""},{pageName:"Tools:Share:ShareWith:Personal:IPM:Upgrade:Clicked",selector:""},{pageName:"Tools:Share:ShareWith:Personal:IPM:Close",selector:""},{pageName:"Tools:Share:FilesSharedDlg:Disallowed:Warning:Shown",selector:""},{pageName:"Preview:FileInfo:Clicked",selector:""},{pageName:"Preview:ShareIcon:Clicked",selector:""},{pageName:"Tools:Share:ChooseFilesDlg:Cancel",selector:""},{pageName:"Tools:Share:ChooseFilesDlg:Acom:Clicked",selector:""},{pageName:"Tools:Share:ChooseFilesDlg:Continue",selector:""},{pageName:"Tools:Share:ChooseFilesDlg:AcomOnly:Success:1",selector:""},{pageName:"Tools:Share:ChooseFilesDlg:MyCmptr:Clicked",selector:""},{pageName:"Tools:Share:ChooseFilesDlg:Cancel",selector:""},{pageName:"Tools:Share:ChooseFilesDlg:AcomOnly:Success:2",selector:""},{pageName:"Tools:Share:ChooseFilesDlg:AcomOnly:Success:3",selector:""},{pageName:"FileList:Shared:Clicked",selector:""},{pageName:"FileList:ShareFileDlg:Shown",selector:""},{pageName:"FileList:ShareFileDlg:MakePrivate",selector:""},{pageName:"FileList:ShareFileDlg:MakePublic",selector:""},{pageName:"FileList:ShareFileDlg:EmailLink:Clicked",selector:""},{pageName:"FileList:ShareFileDlg:EmailLinkButton:Clicked",selector:""},{pageName:"FileList:ShareFileDlg:Cancel",selector:""},{pageName:"FileList:ActionBar:ShareFileDlg:Shown",selector:""},{pageName:"FileList:ActionBar:ShareFileDlg:MakePrivate",selector:""},{pageName:"FileList:ActionBar:ShareFileDlg:MakePublic",selector:""},{pageName:"FileList:ActionBar:ShareFileDlg:EmailLink:Clicked",selector:""},{pageName:"FileList:ActionBar:ShareFileDlg:EmailLinkButton:Clicked",selector:""},{pageName:"FileList:ActionBar:ShareFileDlg:Cancel",selector:""},{pageName:"Preview:Toolbar:GearMenu:ShareFileDlg:Shown",selector:""},{pageName:"Preview:Toolbar:GearMenu:ShareFileDlg:MakePrivate",selector:""},{pageName:"Preview:Toolbar:GearMenu:ShareFileDlg:MakePublic",selector:""},{pageName:"sent",selector:""},{pageName:"Preview:Toolbar:GearMenu:ShareFileDlg:EmailLinkButton:Clicked",selector:""},{pageName:"Preview:Toolbar:GearMenu:ShareFileDlg:Cancel",selector:""},{pageName:"FileList:DupFileNameDlg:DeleteUploaded:Success",selector:""}];return{variables:e,pages:t}}),define("aictools/analytics/comments",["aictools/analytics/analytics"],function(){var e={},t=[{pageName:"Preview:Shared:Multi:Preview:Cmnt:On",selector:""},{pageName:"Preview:Shared:Multi:Preview:Cmnt:Off",selector:""},{pageName:"Preview:Shared:Multi:Preview:CommentPane:Show",selector:""},{pageName:"Preview:Shared:Multi:Preview:Cmnt:Tool:Nt:Clicked",selector:""},{pageName:"Preview:Shared:Multi:Preview:Cmnt:Tool:Hl:Clicked",selector:""},{pageName:"Preview:Shared:Multi:Preview:Cmnt:Tool:St:Clicked",selector:""},{pageName:"Preview:Shared:Multi:Preview:Cmnt:Tool:Dw:Clicked",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:Nt:Edit",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:Nt:Delete",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:Nt:Reply",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:Nt:ChangeClr:<color>",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:Hl:Edit",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:Hl:Delete",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:Hl:Reply",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:Hl:ChangeClr:<color>",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:St:Edit",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:St:Delete",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:St:Reply",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:St:ChangeClr:<color>",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:Dw:Edit",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:Dw:Delete",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:Dw:Reply",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:Dw:ChangeClr:<color>",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:Nt:Create:<color>",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:Nt:Edit",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:Nt:Delete",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:Nt:Reply",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:Nt:Open",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:Nt:Move",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:Nt:ChangeClr:<color>",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:Hl:Create:<color>",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:Hl:Edit",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:Hl:Delete",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:Hl:Reply",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:Hl:Open",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:Hl:ChangeClr:<color>",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:St:Create:<color>",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:St:Edit",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:St:Delete",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:St:Reply",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:St:Open",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:St:ChangeClr:<color>",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:Dw:Create:<color>",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:Dw:Edit",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:Dw:Delete",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:Dw:Reply",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:Dw:Open",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:Dw:Move",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:Dw:ChangeClr:<color>",selector:""},{pageName:"Preview:Shared:Multi:Preview:Doc:Cmnt:Dw:Resize",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:Srch:Menu:Show",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:Srch:Start",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:Srch:Clear",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:Fltr:AllCmnts",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:Fltr:MyCmnts",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:Sort:Date",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:Sort:Page",selector:""},{pageName:"Preview:Shared:Multi:Preview:RHP:Cmnt:Sort:Person",selector:""},{pageName:"Preview:Shared:Single:Preview:Cmnt:On",selector:""},{pageName:"Preview:Shared:Single:Preview:Cmnt:Off",selector:""},{pageName:"Preview:Shared:Single:Preview:CommentPane:Show",selector:""},{pageName:"Preview:Shared:Single:Preview:Cmnt:Tool:Nt:Clicked",selector:""},{pageName:"Preview:Shared:Single:Preview:Cmnt:Tool:Hl:Clicked",selector:""},{pageName:"Preview:Shared:Single:Preview:Cmnt:Tool:St:Clicked",selector:""},{pageName:"Preview:Shared:Single:Preview:Cmnt:Tool:Dw:Clicked",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:Nt:Edit",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:Nt:Delete",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:Nt:Reply",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:Nt:ChangeClr:<color>",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:Hl:Edit",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:Hl:Delete",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:Hl:Reply",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:Hl:ChangeClr:<color>",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:St:Edit",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:St:Delete",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:St:Reply",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:St:ChangeClr:<color>",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:Dw:Edit",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:Dw:Delete",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:Dw:Reply",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:Dw:ChangeClr:<color>",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:Nt:Create:<color>",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:Nt:Edit",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:Nt:Delete",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:Nt:Reply",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:Nt:Open",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:Nt:Move",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:Nt:ChangeClr:<color>",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:Hl:Create:<color>",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:Hl:Edit",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:Hl:Delete",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:Hl:Reply",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:Hl:Open",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:Hl:ChangeClr:<color>",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:St:Create:<color>",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:St:Edit",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:St:Delete",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:St:Reply",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:St:Open",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:St:ChangeClr:<color>",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:Dw:Create:<color>",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:Dw:Edit",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:Dw:Delete",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:Dw:Reply",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:Dw:Open",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:Dw:Move",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:Dw:ChangeClr:<color>",selector:""},{pageName:"Preview:Shared:Single:Preview:Doc:Cmnt:Dw:Resize",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:Srch:Menu:Show",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:Srch:Start",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:Srch:Clear",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:Fltr:AllCmnts",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:Fltr:MyCmnts",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:Sort:Date",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:Sort:Page",selector:""},{pageName:"Preview:Shared:Single:Preview:RHP:Cmnt:Sort:Person",selector:""},{pageName:"Preview:Private:Single:Cmnt:On",selector:""},{pageName:"Preview:Private:Single:Cmnt:Off",selector:""},{pageName:"Preview:Private:Single:Cmnt:Tool:Nt:Clicked",selector:""},{pageName:"Preview:Private:Single:Cmnt:Tool:Hl:Clicked",selector:""},{pageName:"Preview:Private:Single:Cmnt:Tool:St:Clicked",selector:""},{pageName:"Preview:Private:Single:Cmnt:Tool:Dw:Clicked",selector:""},{pageName:"Preview:Private:Single::RHP:Cmnt:Nt:Edit",selector:""},{pageName:"Preview:Private:Single:RHP:Cmnt:Nt:Delete",selector:""},{pageName:"Preview:Private:Single::RHP:Cmnt:Nt:Reply",selector:""},{pageName:"Preview:Private:Single:RHP:Cmnt:Nt:ChangeClr:<color>",selector:""},{pageName:"Preview:Private:Single:RHP:Cmnt:Hl:Edit",selector:""},{pageName:"Preview:Private:Single:RHP:Cmnt:Hl:Delete",selector:""},{pageName:"Preview:Private:Single:RHP:Cmnt:Hl:Reply",selector:""},{pageName:"Preview:Private:Single:RHP:Cmnt:Hl:ChangeClr:<color>",selector:""},{pageName:"Preview:Private:Single:RHP:Cmnt:St:Edit",selector:""},{pageName:"Preview:Private:Single::RHP:Cmnt:St:Delete",selector:""},{pageName:"Preview:Private:Single:RHP:Cmnt:St:Reply",selector:""},{pageName:"Preview:Private:Single:RHP:Cmnt:St:ChangeClr:<color>",selector:""},{pageName:"Preview:Private:Single:RHP:Cmnt:Dw:Edit",selector:""},{pageName:"Preview:Private:Single:RHP:Cmnt:Dw:Delete",selector:""},{pageName:"Preview:Private:Single:RHP:Cmnt:Dw:Reply",selector:""},{pageName:"Preview:Private:Single:RHP:Cmnt:Dw:ChangeClr:<color>",selector:""},{pageName:"Preview:Private:Single:Doc:Cmnt:Nt:Create:<color>",selector:""},{pageName:"Preview:Private:Single:Doc:Cmnt:Nt:Edit",selector:""},{pageName:"Preview:Private:Single:Doc:Cmnt:Nt:Delete",selector:""},{pageName:"Preview:Private:Single:Doc:Cmnt:Nt:Reply",selector:""},{pageName:"Preview:Private:Single:Doc:Cmnt:Nt:Open",selector:""},{pageName:"Preview:Private:Single:Doc:Cmnt:Nt:Move",selector:""},{pageName:"Preview:Private:Single:Doc:Cmnt:Nt:ChangeClr:<color>",selector:""},{pageName:"Preview:Private:Single::Doc:Cmnt:Hl:Create:<color>",selector:""},{pageName:"Preview:Private:Single:Doc:Cmnt:Hl:Edit",selector:""},{pageName:"Preview:Private:Single:Doc:Cmnt:Hl:Delete",selector:""},{pageName:"Preview:Private:Single:Doc:Cmnt:Hl:Reply",selector:""},{pageName:"Preview:Private:Single:Doc:Cmnt:Hl:Open",selector:""},{pageName:"Preview:Private:Single:Doc:Cmnt:Hl:ChangeClr:<color>",selector:""},{pageName:"Preview:Private:Single:Doc:Cmnt:St:Create:<color>",selector:""},{pageName:"Preview:Private:Single:Doc:Cmnt:St:Edit",selector:""},{pageName:"Preview:Private:Single:Doc:Cmnt:St:Delete",selector:""},{pageName:"Preview:Private:Single:Doc:Cmnt:St:Reply",selector:""},{pageName:"Preview:Private:Single::Doc:Cmnt:St:Open",selector:""},{pageName:"Preview:Private:Single:Doc:Cmnt:St:ChangeClr:<color>",selector:""},{pageName:"Preview:Private:Single:Doc:Cmnt:Dw:Create:<color>",selector:""},{pageName:"Preview:Private:Single::Doc:Cmnt:Dw:Edit",selector:""},{pageName:"Preview:Private:Single:Doc:Cmnt:Dw:Delete",selector:""},{pageName:"Preview:Private:Single::Doc:Cmnt:Dw:Reply",selector:""},{pageName:"Preview:Private:Single::Doc:Cmnt:Dw:Open",selector:""},{pageName:"Preview:Private:Single:Doc:Cmnt:Dw:Move",selector:""},{pageName:"Preview:Private:Single::Doc:Cmnt:Dw:ChangeClr:<color>",selector:""},{pageName:"Preview:Private:Single:Doc:Cmnt:Dw:Resize",selector:""},{pageName:"Preview:Private:Single:RHP:Cmnt:Srch:Menu:Show",selector:""},{pageName:"Preview:Private:Single:RHP:Cmnt:Srch:Start",selector:""},{pageName:"Preview:Private:Single:RHP:Cmnt:Srch:Clear",selector:""},{pageName:"Preview:Private:Single:RHP:Cmnt:Fltr:AllCmnts",selector:""},{pageName:"Preview:Private:Single:RHP:Cmnt:Fltr:MyCmnts",selector:""},{pageName:"Preview:Private:Single:RHP:Cmnt:Sort:Date",selector:""},{pageName:"Preview:Private:Single:RHP:Cmnt:Sort:Page",selector:""},{pageName:"Preview:Private:Single:RHP:Cmnt:Sort:Person",selector:""},{pageName:"RecView:Multi:Preview:Cmnt:On",selector:""},{pageName:"RecView:Multi:Preview:Cmnt:Off",selector:""},{pageName:"RecView:Multi:Preview:CommentPane:Show",selector:""},{pageName:"RecView:Multi:Preview:Cmnt:Tool:Nt:Clicked",selector:""},{pageName:"RecView:Multi:Preview:Cmnt:Tool:Hl:Clicked",selector:""},{pageName:"RecView:Multi:Preview:Cmnt:Tool:St:Clicked",selector:""},{pageName:"RecView:Multi:Preview:Cmnt:Tool:Dw:Clicked",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:Nt:Edit",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:Nt:Delete",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:Nt:Reply",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:Nt:ChangeClr:<color>",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:Hl:Edit",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:Hl:Delete",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:Hl:Reply",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:Hl:ChangeClr:<color>",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:St:Edit",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:St:Delete",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:St:Reply",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:St:ChangeClr:<color>",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:Dw:Edit",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:Dw:Delete",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:Dw:Reply",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:Dw:ChangeClr:<color>",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:Nt:Create:<color>",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:Nt:Edit",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:Nt:Delete",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:Nt:Reply",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:Nt:Open",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:Nt:Move",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:Nt:ChangeClr:<color>",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:Hl:Create:<color>",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:Hl:Edit",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:Hl:Delete",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:Hl:Reply",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:Hl:Open",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:Hl:ChangeClr:<color>",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:St:Create:<color>",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:St:Edit",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:St:Delete",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:St:Reply",selector:""},{pageName:"RecView:Multi:Preview::Doc:Cmnt:St:Open",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:St:ChangeClr:<color>",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:Dw:Create:<color>",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:Dw:Edit",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:Dw:Delete",selector:""},{pageName:"RecView:Multi:Preview::Doc:Cmnt:Dw:Reply",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:Dw:Open",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:Dw:Move",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:Dw:ChangeClr:<color>",selector:""},{pageName:"RecView:Multi:Preview:Doc:Cmnt:Dw:Resize",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:Srch:Menu:Show",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:Srch:Start",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:Srch:Clear",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:Fltr:AllCmnts",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:Fltr:MyCmnts",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:Sort:Date",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:Sort:Page",selector:""},{pageName:"RecView:Multi:Preview:RHP:Cmnt:Sort:Person",selector:""},{pageName:"RecView:Single:Cmnt:On",selector:""},{pageName:"RecView:Single:Cmnt:Off",selector:""},{pageName:"RecView:Single:CommentPane:Show",selector:""},{pageName:"RecView:Single:Cmnt:Tool:Nt:Clicked",selector:""},{pageName:"RecView:Single:Cmnt:Tool:Hl:Clicked",selector:""},{pageName:"RecView:Single:Cmnt:Tool:St:Clicked",selector:""},{pageName:"RecView:Single:Cmnt:Tool:Dw:Clicked",selector:""},{pageName:"RecView:Single:RHP:Cmnt:Nt:Edit",selector:""},{pageName:"RecView:Single:RHP:Cmnt:Nt:Delete",selector:""},{pageName:"RecView:Single:RHP:Cmnt:Nt:Reply",selector:""},{pageName:"RecView:Single:RHP:Cmnt:Nt:ChangeClr:<color>",selector:""},{pageName:"RecView:Single:RHP:Cmnt:Hl:Edit",selector:""},{pageName:"RecView:Single:RHP:Cmnt:Hl:Delete",selector:""},{pageName:"RecView:Single:RHP:Cmnt:Hl:Reply",selector:""},{pageName:"RecView:Single:RHP:Cmnt:Hl:ChangeClr:<color>",selector:""},{pageName:"RecView:Single:RHP:Cmnt:St:Edit",selector:""},{pageName:"RecView:Single:RHP:Cmnt:St:Delete",selector:""},{pageName:"RecView:Single:RHP:Cmnt:St:Reply",selector:""},{pageName:"RecView:Single:RHP:Cmnt:St:ChangeClr:<color>",selector:""},{pageName:"RecView:Single:RHP:Cmnt:Dw:Edit",selector:""},{pageName:"RecView:Single:RHP:Cmnt:Dw:Delete",selector:""},{pageName:"RecView:Single:RHP:Cmnt:Dw:Reply",selector:""},{pageName:"RecView:Single:RHP:Cmnt:Dw:ChangeClr:<color>",selector:""},{pageName:"RecView:Single:Doc:Cmnt:Nt:Create:<color>",selector:""},{pageName:"RecView:Single:Doc:Cmnt:Nt:Edit",selector:""},{pageName:"RecView:Single:Doc:Cmnt:Nt:Delete",selector:""},{pageName:"RecView:Single:Doc:Cmnt:Nt:Reply",selector:""},{pageName:"RecView:Single:Doc:Cmnt:Nt:Open",selector:""},{pageName:"RecView:Single:Doc:Cmnt:Nt:Move",selector:""},{pageName:"RecView:Single:Doc:Cmnt:Nt:ChangeClr:<color>",selector:""},{pageName:"RecView:Single:Doc:Cmnt:Hl:Create:<color>",selector:""},{pageName:"RecView:Single:Doc:Cmnt:Hl:Edit",selector:""},{pageName:"RecView:Single:Doc:Cmnt:Hl:Delete",selector:""},{pageName:"RecView:Single:Doc:Cmnt:Hl:Reply",selector:""},{pageName:"RecView:Single:Doc:Cmnt:Hl:Open",selector:""},{pageName:"RecView:Single:Doc:Cmnt:Hl:ChangeClr:<color>",selector:""},{pageName:"RecView:Single:Doc:Cmnt:St:Create:<color>",selector:""},{pageName:"RecView:Single:Doc:Cmnt:St:Edit",selector:""},{pageName:"RecView:Single:Doc:Cmnt:St:Delete",selector:""},{pageName:"RecView:Single:Doc:Cmnt:St:Reply",selector:""},{pageName:"RecView:Single:Doc:Cmnt:St:Open",selector:""},{pageName:"RecView:Single:Doc:Cmnt:St:ChangeClr:<color>",selector:""},{pageName:"RecView:Single:Doc:Cmnt:Dw:Create:<color>",selector:""},{pageName:"RecView:Single:Doc:Cmnt:Dw:Edit",selector:""},{pageName:"RecView:Single:Doc:Cmnt:Dw:Delete",selector:""},{pageName:"RecView:Single:Doc:Cmnt:Dw:Reply",selector:""},{pageName:"RecView:Single:Doc:Cmnt:Dw:Open",selector:""},{pageName:"RecView:Single:Doc:Cmnt:Dw:Move",selector:""},{pageName:"RecView:Single:Doc:Cmnt:Dw:ChangeClr:<color>",selector:""},{pageName:"RecView:Single:Doc:Cmnt:Dw:Resize",selector:""},{pageName:"RecView:Single:RHP:Cmnt:Srch:Menu:Show",selector:""},{pageName:"RecView:Single:RHP:Cmnt:Srch:Start",selector:""},{pageName:"RecView:Single:RHP:Cmnt:Srch:Clear",selector:""},{pageName:"RecView:Single:RHP:Cmnt:Fltr:AllCmnts",selector:""},{pageName:"RecView:Single:RHP:Cmnt:Fltr:MyCmnts",selector:""},{pageName:"RecView:Single:RHP:Cmnt:Sort:Date",selector:""},{pageName:"RecView:Single:RHP:Cmnt:Sort:Page",selector:""},{pageName:"RecView:Single:RHP:Cmnt:Sort:Person",selector:""}];return{variables:e,pages:t}}),define("aictools/analytics/organize",["aictools/analytics/analytics"],function(){var e={NumPages:{kind:"value",values:["1to30","31to60","61to90","91to120","121+"]},Cohort:{kind:"value",values:["thumbnails","legacy","NotTested"]},RangesModified:{kind:"value",values:["0","1","2to5","6to10","11to12"]},ErrorCode:{kind:"value",values:["ConvFailed","CorrptDoc","DnDFldr","Empty","EncryptOrForm","Other","FileConversionOther","SharedCloudOther","PwdEncrypt","StrgLimExcd","TooLarge","UnsupType","VirusDet","ThumbnailFailed","UserCancelled","InvalidRange","UnknownType","TooManyPages"]},RangesSelected:{kind:"value",values:["1","2to5","6to10","11to12"]},CountValue0:{kind:"value",values:["0","1","2to5","6to10","11orMore"]},CountValue2:{kind:"value",values:["2to5","6to10","11orMore"]},CountValue1:{kind:"value",values:["1","2to5","6to10","11orMore"]},Stage:{kind:"value",values:["1-Waiting","2-Uploading","3-Uploaded","4-Converting","5-Converted","6-GeneratingThumbnails","7-ThumbnailReady","Upload_Error","Convert_Failed","Upload_Cancelled"]}},t=[{pageName:"Tools:Organize:UpgradeIPM:Shown",selector:"#organizepages-plugin .aic-upsell-analytics"},{pageName:"Tools:Organize:UpgradeIPM:Upgrade:Clicked",selector:"#organizepages-plugin .aic-upsell-analytics"},{pageName:"Tools:Organize:SubscribeIPM:Subscribe:Clicked",selector:"#organizepages-plugin .aic-subscribe-analytics"},{pageName:"Tools:Organize:SelectFiles:Shown",selector:".aic-organize-select"},{pageName:"Tools:Organize:SubscribeIPM:Shown",selector:"#organizepages-plugin .aic-subscribe-analytics"},{pageName:"Tools:Organize:SelectFiles:Clicked",selector:".aic-organize-select"},{pageName:"Tools:Organize:DragFiles:<CountValue1>",selector:".aic-organize",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:Organize:ChooseFilesDlg:Cancel",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Continue",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:InitialView:MyCmptr",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:MyCmptr:Clicked",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:MyCmptr:ChooseFilesButton:Clicked",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:MyCmptr:DragFiles:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:Organize:ChooseFilesDlg:MyCmptr:File:Deleted",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:AcomFiles:Shown",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Acom:Clicked",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Acom:FileName:Checked",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Acom:FileName:Unchecked",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Acom:SearchBar:FilterIcon:Clicked",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Acom:SearchBar:SortIcon:Clicked",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Acom:SearchBar:SearchTextEntered",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Acom:InitialView:NumFilesShown:<CountValue0>",selector:"",variables:{CountValue0:e.CountValue0},values:e.CountValue0},{pageName:"Tools:Organize:ChooseFilesDlg:Recent:Shown",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Recent:Clicked",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Recent:FileName:Checked",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Recent:FileName:Unchecked",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Recent:SearchBar:FilterIcon:Clicked",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Recent:SearchBar:SortIcon:Clicked",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Recent:SearchBar:SearchTextEntered",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Recent:InitialView:NumFilesShown:0",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Recent:InitialView:NumFilesShown:1",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Recent:InitialView:NumFilesShown:2to5",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Recent:InitialView:NumFilesShown:6to10",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Recent:InitialView:NumFilesShown:11orMore",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Sent:Shown",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Sent:Clicked",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Sent:FileName:Checked",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Sent:FileName:Unchecked",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Sent:SearchBar:FilterIcon:Clicked",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Sent:SearchBar:SortIcon:Clicked",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Sent:SearchBar:SearchTextEntered",selector:""},{pageName:"Tools:Organize:ChooseFilesDlg:Sent:InitialView:NumFilesShown:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:Organize:ChooseFilesDlg:MyCmptrOnly:Success:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:Organize:ChooseFilesDlg:AcomOnly:Success:<CountValue1>",selector:"",variables:{CountValue1:e.CountValue1},values:e.CountValue1},{pageName:"Tools:Organize:ChooseFilesDlg:AcomANDMyCmptr:Success:<CountValue2>",selector:"",variables:{CountValue2:e.CountValue2},values:e.CountValue2},{pageName:"Tools:Organize:OptionDlg:AddFilestoOrganize:Clicked",selector:".aic-organize-add-files"},{pageName:"Tools:Organize:OptionDlg:RemoveFileFromOrganize:Clicked",selector:".aic_organize_pdf_operation .aic_file_view_delete_icon"},{pageName:"Tools:Organize:OptionDlg:Shown",selector:".aic_organize_pdf_operation"},{pageName:"Tools:Organize:OptionDlg:Cancel",selector:"#organize-cancel"},{pageName:"Tools:Organize:OptionDlg:Success",selector:"#organize-action"},{pageName:"Tools:Organize:OptionDlg:Reorder:Clicked",selector:"##aic-organize-reorder"},{pageName:"Tools:Organize:OptionDlg:Error:Only1File:Shown",selector:".aic-organize-instructions"},{pageName:"Tools:Organize:OptionDlg:Error:NoFileName:Shown",selector:"##aic-no-organize-filename"},{pageName:"Tools:Organize:OptionDlg:Error:FileLimitExceeded:Shown",selector:".aic-organize-file-count-limit"},{pageName:"Tools:Organize:Conversion:1-Uploading:Op",selector:"##aic-organize-upload_start"},{pageName:"Tools:Organize:Conversion:2-UploadingComplete:Op",selector:"##aic-organize-upload_complete"},{pageName:"Tools:Organize:Conversion:UploadError:Op",selector:"##aic-organize-upload_error"},{pageName:"Tools:Organize:Conversion:3-Converting:Op",selector:"##aic-organize-converting"},{pageName:"Tools:Organize:Conversion:4-Complete:Op",selector:"##aic-organize-complete"},{pageName:"Tools:Organize:Conversion:UploadCancelled:Op",selector:"##aic-organize-upload_cancelled"},{pageName:"Tools:Organize:Conversion:5-ThumbnailComplete:Op",selector:"##aic-organize-thumbnail_complete"},{pageName:"Tools:Organize:Conversion:MaxQueueReached:Op",selector:"##aic-organize-max_queue"},{pageName:"Tools:Organize:Conversion:Error:<ErrorCode>:Op",selector:"##aic-Organize-error",variables:{ErrorCode:e.ErrorCode},values:e.ErrorCode},{pageName:"Tools:Organize:ProgressBar:1-Uploading:Shown",selector:".aic-organize-status .aic-1-Uploading"},{pageName:"Tools:Organize:ProgressBar:2-Upload_Complete:Shown",selector:".aic-organize-status .aic-2-Upload_Complete"},{pageName:"Tools:Organize:ProgressBar:Upload_Cancelled:Shown",selector:".aic-organize-status .aic-Upload_Cancelled"},{pageName:"Tools:Organize:ProgressBar:Upload_Error:Shown",selector:".aic-organize-status .aic-Upload_Error"},{pageName:"Tools:Organize:ProgressBar:3-Converting:Shown",selector:".aic-organize-status .aic-3-Converting"},{pageName:"Tools:Organize:ProgressBar:Convert_Failed:Shown",selector:".aic-organize-status .aic-Convert_Failed"},{pageName:"Tools:Organize:ProgressBar:4-Complete:Shown",selector:".aic-organize-status .aic-4-Complete"},{pageName:"Tools:Organize:ProgressBar:MaxQueueReached:Waiting:Shown",selector:".aic-organize-status .aic-Waiting"},{pageName:"Tools:Organize:ProgressBar:5-Download:SingleButton:Clicked",selector:".aic-organize-status .aic-status-download-one"},{pageName:"Tools:Organize:ProgressBar:5-Download:AllButton:Clicked",selector:".aic-organize-status .aic-status-download-all"},{pageName:"Tools:Organize:ProgressBar:5-Download:FileNameLink:Clicked",selector:".aic-organize-status .aic-status-download-link"},{pageName:"Tools:Organize:ProgressBar:6-Organize:Cancel:Clicked",selector:".aic-organize-status.aic-status-error"},{pageName:"Tools:Organize:ProgressBar:Error:HoverOver:Shown",selector:".aic-organize-status.aic-status-error"},{pageName:"Tools:Organize:ProgressBar:7-Thumbnail_Complete:Shown",selector:".aic-organize-status .aic-7-Thumbnail_Complete"},{pageName:"Tools:Organize:ErrorDlg:Shown",selector:".aic-error-dialog.aic-Organize-error"},{pageName:"Tools:Organize:RemoveFile:Clicked",selector:".aic-organize-canvas .aic-page-range-container .aic-combine-delete"},{pageName:"Tools:Organize:ExpandedFile:RemovePage:Clicked",selector:".aic-organize-canvas .aic-page-container .aic-combine-delete"},{pageName:"Tools:Organize:<Stage>:Shown",selector:"##aic-organize-stage",variables:{Stage:e.Stage},values:e.Stage},{pageName:"Tools:Organize:FileMoved",selector:"##aic-organize-file-moved"},{pageName:"Tools:Organize:PageRange:Moved",selector:"##aic-organize-page-range-moved"},{pageName:"Tools:Organize:SinglePage:Moved",selector:"##aic-organize-page-moved"},{pageName:"Tools:Organize:NumRangesSelected:<RangesSelected>",selector:"##aic-organize-ranges-selected",variables:{RangesSelected:e.RangesSelected},values:e.RangesSelected},{pageName:"Tools:Organize:NumRangesModified:<RangesModified>",selector:"##aic-organize-ranges-modified",variables:{RangesModified:e.RangesModified},values:e.RangesModified},{pageName:"Tools:Organize:Cancel",selector:".aic-organize-menu .aic-page-editor-cancel"},{pageName:"Tools:Organize:Success",selector:".aic-organize-menu .aic-page-editor-commit"},{pageName:"Tools:Organize:Alert:MayCombineUpTo12Files:Shown",selector:".aic-organize-too-many-files"},{pageName:"Tools:Organize:Alert:DeleteFailedFiles:Shown",selector:".aic-organize-has-failed-files"},{pageName:"Tools:Organize:PageRangeSize:<NumPages>",selector:"##aic-organize-num-pages",variables:{NumPages:e.NumPages},values:e.NumPages},{pageName:"Tools:Organize:AddFile:BeforeFirstPage:Clicked",selector:".aic-insert-before-first-page"},{pageName:"Tools:Organize:AddFile:BeforeSelection:Clicked",selector:".aic-insert-before-selection"},{pageName:"Tools:Organize:AddFile:AfterSelection:Clicked",selector:".aic-insert-after-selection"},{pageName:"Tools:Organize:AddFile:AfterLastPage:Clicked",selector:".aic-insert-after-last-page"},{pageName:"Tools:Organize:AddFile:BetweenPages:Clicked",selector:".aic-iinsert-file-left,.aic-insert-file-right"},{pageName:"Tools:Organize:RotateLeft:Clicked",selector:".aic-organize-rl"},{pageName:"Tools:Organize:RotateRight:Clicked",selector:".aic-organize-rr"},{pageName:"Tools:Organize:Menu:RotateLeft:Clicked",selector:".aic-organize-rotate-left"},{pageName:"Tools:Organize:Menu:RotateRight:Clicked",selector:".aic-organize-rotate-right"},{pageName:"Tools:Organize:Menu:Delete:Clicked",selector:".aic-organize-menu-delete"},{pageName:"Tools:Organize:SelectPages:Even:Clicked",selector:".aic-even-pages"},{pageName:"Tools:Organize:SelectPages:Odd:Clicked",selector:".aic-odd-pages"},{pageName:"Tools:Organize:SelectPages:Landscape:Clicked",selector:".aic-landscape-pages"},{pageName:"Tools:Organize:SelectPages:Portrait:Clicked",selector:".aic-portrait-pages"},{pageName:"Tools:Organize:SelectPages:All:Clicked",selector:".aic-all-pages"},{pageName:"Tools:Organize:SelectPages:UserEntry",selector:"##aic-pages-user-entry"},{pageName:"Tools:Organize:RHP:Enabled",selector:"##aic-organize-rhp-enabled"},{pageName:"Tools:Organize:RHP:Clicked",selector:".aic-organize-pages-rhp"}];
return{variables:e,pages:t}}),define("aictools/analytics/analytics",["aictools/aic","aictools/analytics/aplus","aictools/analytics/combine","aictools/analytics/createpdf","aictools/analytics/createpdf_rhp","aictools/analytics/exportpdf","aictools/analytics/exportpdf_rhp","aictools/analytics/myinfo","aictools/analytics/myplan","aictools/analytics/sharing","aictools/analytics/comments","aictools/analytics/organize"],function(e,t,i,o,a,r,s,n,l,c,d,p){var u,_={acrobat:t,combinepdf:i,convertpdf:o,convertpdf_rhp:a,exportpdf:r,exportpdf_rhp:s,my_info:n,my_plan:l,sharingPages:c,commentsPages:d,formscentral:null,organizepages:p,emit:function(e,t){u.logScSelectorEvent(e,t)},register:function(e){_[e]&&u.register(e,_[e])},init:function(e){u=e,this.DIALOG_COMMIT=u.DIALOG_COMMIT,this.DIALOG_CANCEL=u.DIALOG_CANCEL,this.RENDER=u.RENDER,this.CLICK=u.CLICK,this.COUNT_FILES=u.COUNT_FILES,this.CHANGE=u.CHANGE,this.ANALYTICS_SELECTOR=u.ANALYTICS_SELECTOR,this.ANALYTICS_CLASS=u.ANALYTICS_CLASS}};return _}),define("aictools/util/localize",["aictools/aic"],function(e){return e.Localize={htmlTrim:function(e){return e.replace(/<!--(.*?)-->\s*/,"")},htmlSanitize:function(e){function t(e){return _.isString(e)||_.isNumber(e)||_.isBoolean(e)||_.isDate(e)}var i={};if(t(e))i=this.htmlSanitizeString(e.toString());else{if(!_.isObject(e))throw"localize: invalid object: "+e.toString();_.each(e,_.bind(function(e,o){if(!t(e))throw"localize: Value for key: "+o+" is missing or invalid";i[o]=this.htmlSanitizeString(e.toString())},this))}return i},htmlSanitizeString:function(e){var t=e,i=t.indexOf("<%="),o=t.indexOf("%>");if(i>=0&&o>i)throw"Unprocessed template parameter: "+t;return t=_.escape(t)}},e.Localize}),define("aictools/views/view",["aictools/aic","aictools/util/util","aictools/analytics/analytics","aictools/util/localize","core/ac-core"],function(e,t,i,o,a){return e.View=a.View.extend({events:{keydown:"onKeyDown"},initialize:function(){a.View.prototype.initialize.call(this),this.addAppEventListeners()},registerEvents:function(){var e=null;this.events&&(_.isFunction(this.events)?e=_.clone(this.events()):_.isObject(this.events)&&(e=_.clone(this.events)),_.each(e,function(t,i){_.isString(t)&&(e[i]=_.bindex(this[t],this))},this),this.delegateEvents(e))},listenTo:function(e,t,i){Backbone.View.prototype.listenTo.call(this,e,t,_.bindex(i,this))},render:function(e){this.registerEvents(),e&&_.each(e,_.bindex(function(e,t){this._setScData(t,e)},this)),this.$el.hasClass(i.ANALYTICS_CLASS)&&this.$el.trigger(i.RENDER),this.$(i.ANALYTICS_SELECTOR).trigger(i.RENDER)},setHtml:function(e){return this.$el.html(this.template(o.htmlSanitize(e))),this.$el},hide:function(e){e?this.commit():this.cancel(),_.defer(_.bindex(this.remove,this))},hideElem:function(e){var t=_.isString(e)?this.$(e):e;t.addClass("hide")},unhideElem:function(e){var t=_.isString(e)?this.$(e):e;t.hasClass("hide")&&(t.removeClass("hide"),t.trigger(i.RENDER))},_setScData:function(e,t){this.$el.is(i.ANALYTICS_SELECTOR)&&this.$el.data(e,t),this.$(i.ANALYTICS_SELECTOR).data(e,t)},addAppEventListeners:function(){var e=this.options.appEvents,t=this.appEventsMap;e&&t&&_.each(t,_.bind(function(t,i){e.on(i,_.bindex(this[t],this))},this))},getCssNum:function(e,t){var i=parseInt(e.css(t),10);return $.isNumeric(i)?i:0},initTabLimits:function(){var e=this.$el.find("[tabindex]");this.$firstTabbable=e.first(),this.$lastTabbable=e.last()},onKeyDown:function(e){var t=e.which,i=$(e.target);if(27===t)this.onEscape?this.onEscape():this.cancelDialog?this.cancelDialog():this.hide&&this.hide(!1);else if(9===t){if(i=$(e.target),this.$firstTabbable||this.initTabLimits(),this.$firstTabbable.is(this.$lastTabbable))return this.$firstTabbable.focus(),!1;if(this.$firstTabbable.is(i)){if(e.shiftKey)return this.$lastTabbable.focus(),!1}else if(this.$lastTabbable.is(i)&&!e.shiftKey)return this.$firstTabbable.focus(),!1}},commit:function(){this.$el.is(i.ANALYTICS_SELECTOR)&&this.$el.trigger(i.DIALOG_COMMIT),this.$(i.ANALYTICS_SELECTOR).trigger(i.DIALOG_COMMIT)},cancel:function(){this.$el.is(i.ANALYTICS_SELECTOR)&&this.$el.trigger(i.DIALOG_CANCEL),this.$(i.ANALYTICS_SELECTOR).trigger(i.DIALOG_CANCEL)}}),e.View}),define("aictools/views/dialog-view",["aictools/aic","aictools/util/util","aictools/views/view","aictools/analytics/analytics"],function(e,t,i){var o=i.extend({initialize:function(e,t){i.prototype.initialize.call(this),e&&(this.className=e),this.template=_.template(t),this.$el.addClass("generic-dialog aic-generic-dialog"),this.$dialogContainer=$(".dialog-container.dialog-container-common"),this.resizeFunc=_.bindex(function(){this.onWindowResize()},this),$(window).resize(this.resizeFunc)},render:function(t){this.$dialogContainer.append(this.$el);e.appApi.displayApi.showModal(!0);this.$backgroundId=$("#modal-mask"),i.prototype.render.call(this,t)},initWrappers:function(){},showDialog:function(){o.registerDialog(this),this.$el.addClass(this.className),this.render(),this.$backgroundId.addClass("shown"),this.$backgroundId.after(this.$dialogContainer),this.$dialogContainer.css("display","block"),this.onShow(),this.options.allowDragAndDrop?t.registerDnD(this.$el,!0):t.registerDnD(this.$el,!1)},center:function(e){var t,i,o,a,r,s,n,l=this.$el;o=l.width()+this.getCssNum(l,"padding-left")+this.getCssNum(l,"padding-right"),a=l.height()+this.getCssNum(l,"padding-top")+this.getCssNum(l,"padding-bottom"),n=l.position(),l.css("left",n.left-o/2),l.css("top",n.top-a/2),e&&(t=e.offset(),i=l.offset(),s=t.left+(e.width()-o)/2,r=t.top+(e.height()-a)/2,l.css("left",n.left+s-i.left-o/2),r=n.top+r-i.top-a/2,0>r?l.css("top",40):l.css("top",n.top+r-i.top-a/2))},onShow:function(){},commitDialog:function(){this.hideDialog(!0)},cancelDialog:function(){this.hideDialog(!1)},hideDialog:function(i){o.unRegisterDialog(this),this.$el.children().length>0&&(i?this.commit():this.cancel(),t.unRegisterDnD(this.$el),this.draggableItem&&1===this.draggableItem.length&&(this.draggableItem.draggable("destroy"),delete this.draggableItem),this.undelegateEvents(),1===this.$dialogContainer.children().length&&(this.$dialogContainer.css("display","none"),this.$backgroundId.removeClass("shown")),e.appApi.displayApi.showModal(!1),_.defer(_.bindex(this.remove,this))),$(window).off("resize",this.resizeFunc)},onWindowResize:function(){this.center(this.$backgroundId)},enableDragging:function(e,t){var i=this.$el.find(t);i.length>0&&(this.draggableItem=e||this.$el,this.draggableItem.draggable({handle:t,containment:"window"}),i.addClass("dialog-handle"))}},{dialogs:[],registerDialog:function(e){o.dialogs.push({dialog:e,url:Backbone.history.fragment})},unRegisterDialog:function(e){o.dialogs=_.filter(o.dialogs,function(t){return t.dialog!==e})},cancelAll:function(e){var t=Backbone.history.fragment;_.each(o.dialogs.slice(),function(i){e?i.url!==t&&i.dialog.cancelDialog(!0):i.dialog.cancelDialog(!0)})}});return o}),define("aictools/ops/routing/set-backbone-routes-op",["aictools/aic","aictools/util/util"],function(e){return function(t){_.each(t.getRoutes(),function(i){var o=i.fn||_.bindex(function(){e.appApi.pluginsApi.selectPlugin(this.plugin_id)},{plugin_id:t.plugin.PLUGIN_ID}),a=i.name||t.plugin.PLUGIN_ID;e.appApi.routerApi.route(i.route,a,o)})}}),define("aictools/models/model",["aictools/aic","aictools/util/util","core/utils/http-util","xdr"],function(e,t,i){return e.Model=Backbone.Model.extend({initialize:function(){Backbone.Model.prototype.initialize.call(this)},getClientId:function(){return i.REQUEST_HEADER_CLIENT_ID},getAuthorization:function(){return"Bearer "+e.appApi.sessionApi.getPrimaryToken()},REQUEST_HEADERS_GET_DELETE:function(){var e={Accept:"application/vnd.adobe.dex+json;version=1","x-api-client-id":this.getClientId(),Authorization:this.getAuthorization(),"x-request-id":t.uuid()};return e},REQUEST_HEADERS_POST_PUT:function(){var e={Accept:"application/vnd.adobe.dex+json;version=1","Content-Type":"application/vnd.adobe.dex+json;version=1;charset=utf-8","x-api-client-id":this.getClientId(),Authorization:this.getAuthorization(),"x-request-id":t.uuid()};return e},onError:function(e,t){alert(t)},ajax:function(e,t,i,o){return o=$.extend(!0,{headers:o&&o.headers||{},type:t||"GET",data:i,contentType:"application/json",dataType:"json"},o),"GET"===o.type||"DELETE"===o.type?_.extend(o.headers,this.REQUEST_HEADERS_GET_DELETE()):("POST"===o.type||"PUT"===o.type)&&_.extend(o.headers,this.REQUEST_HEADERS_POST_PUT()),$.ajax(e,o)},sync:function(e,t,i){var o,a={update:"PUT",create:"POST","delete":"DELETE",read:"GET"};return i&&i.data||!t||"create"!==e&&"update"!==e||(o=JSON.stringify(t.toJSON())),this.ajax(this.url(),a[e],o,i)}},{api_client_id:i.REQUEST_HEADER_CLIENT_ID}),e.Model}),define("aictools/models/base-uri-model",["core/ac-core","aicx/ac-aicx","aictools/aic","aictools/models/model"],function(e,t,i,o){var a=o.extend({initialize:function(){o.prototype.initialize.call(this)},fetch:function(){var e=_.extend({},i.appApi.options),o=t.opFactory;return o.create("GettingBaseAicUrisOp",e).run()},get:function(e){return t.baseAicUrisModel.get(e)},url:function(){return t.baseAicUrisModel.url}});return new a}),define("aictools/util/strings",[],function(){return{scNames:{COMBINECONVERT:"CombineConvertPDF",COMBINECONVERT_RHP:"CombineConvertRHP",CREATE:"CreatePDF",CONVERT_RHP:"CreateRHP",EXPORT:"ExportPDF",EXPORT_RHP:"ExportRHP",COMBINE:"Combine",MYPLAN:"MyPlan",ORGANIZE:"Organize",ACROBAT:"APro",ORGANIZE_RHP:"OrganizeRHP"},pluginNames:{SEND:"send",CREATE:"convertpdf",CONVERT_RHP:"convert_rhp",EXPORT:"exportpdf",EXPORT_RHP:"export_rhp",COMBINECONVERT:"combineconvertpdf",COMBINECONVERT_RHP:"combineconvert_rhp",CONVERT:"convertpdfexp",COMBINE:"combinepdf",ORGANIZE_PAGES:"organizepages",ORGANIZE_RHP:"organize_rhp",ACROBAT:"acrobat"},toolNames:{ACROBAT:"eames",COMBINE:"combine",CREATE:"create",EXPORT:"export",COMBINECONVERT:"combineconvert",ORGANIZE:"organize"},ipmIds:{CREATE:"Acom_AIC_CreatePDF",EXPORT:"Acom_AIC_ExportPDF",COMBINE:"Acom_AIC_CombinePDF",AcrobatProFirstTimeTool:"ipm_eames_first_time_view",AcrobatProReturningUseTool:"ipm_eames_returning_use_view",AcrobatSignUpTool:"ipm_eames_epdf_sign_up_view",AcrobatStandardFirstTimeTool:"aic-ipm-acrobat-standard-first-time-view",AcrobatStandardReturningUseTool:"aic-ipm-acrobat-standard-returning-use-view"},subNames:{WORKSPACE:"Workspace",SPDF:"CreatePDF",CREATEPDF:"PDFPack",EXPORTPDF:"ExportPDF",BLUE_HERON:"Files",APLUS:"AcrobatPlus",ASTD:"AcrobatStd",SEND_NOW:"SendNow",FILL_AND_SIGN:"FillAndSign",FORMS:"FormsCentral",CONVERT_TO_PDF:"ConvertToPDF",CREATE_FROM_AX_TEMP:"CreateFromAXTemplate"},subLevels:{FREE:"Free",BASIC:"Basic",PLUS:"Plus",VIP:"VIP"},entitlements:{acrobat_pro:"acrobat_pro",exportpdf:"export_pdf_conversions",exportpdf2img:"export_pdf2img_conversions",exportpdf2ppt:"export_pdf2ppt_conversions",convertpdf:"create_pdf_conversions",combinepdf:"combine_pdf_conversions",send_individual:"can_send_to_individuals",send_av:"can_send_av"},subBillingTerms:{annualMonthly:"AnnualBilledMonthly",annual:"AnnualBilledAnnually",monthly:"Monthly"}}}),define("aictools/models/users-me-model",["aictools/aic","aictools/util/util","aictools/models/model","aictools/models/base-uri-model","aictools/util/strings"],function(e,t,i,o,a){var r=i.extend({initialize:function(){i.prototype.initialize.call(this)},idAttribute:"user_id",url:function(){return o.get("users")+"users/me/identity"},base_preferences_url:function(){return o.get("users")+"users/me/prefs/"},getPreferences:function(e){var t=this.base_preferences_url()+e;return this.ajax(t,"GET").then(_.bindex(function(t){return this.get("prefs")[e]=t,t},this))},setPreferences:function(e,i,o){o=o||{},i=i||{};var a,r=this.base_preferences_url()+e,s={global:!o.background,modal:!o.background,headers:{"x-user-action-id":t.uuid(),"x-user-action-name":"setPreference","x-user-engagement":o.background?"passive":"active"}},n=this.get("prefs")[e];return o.clobber?this.ajax(r,"PUT",JSON.stringify(i),s).then(_.bindex(function(){this.get("prefs")[e]=i},this)):(a=_.extend({},n,i),_.isEqual(n,a)?$.Deferred().resolve().promise():this.ajax(r,"PUT",JSON.stringify(a),s).then(_.bindex(function(){this.get("prefs")[e]=a},this)))},refresh:function(){var t={limits:{},subscriptions:[],prefs:{conversions:{}}},i=e.appApi.usersMeApi;_.extend(t,i.getUserIdentity()),_.extend(t.limits,i.getUserLimitsConversions()),_.extend(t.prefs.conversions,i.getUserPrefsConversions()),_.each(i.getUserSubscriptions().subscriptions,function(e){t.subscriptions.push(_.extend({},e))}),this.set(t)},refetch:function(){return e.appApi.usersMeApi.refreshUserInfo().done(_.bindex(this.refresh,this))},validate:function(e){return e.first_name&&this.validateName(e.first_name)?e.last_name&&this.validateName(e.last_name)?void 0:"last_name":"first_name"},validateName:function(e){return e.length>255?!1:-1===e.search(/\S/)?!1:!/[)<\\@;\/>("]/.test(e)},isFormsCentralUser:function(){return this.get("subscriptions")[0].subscription_name===a.subNames.FORMS&&this.get("subscriptions")[0].subscription_level!==a.subLevels.FREE},isExportUser:function(){return this.get("subscriptions")[0].subscription_name===a.subNames.EXPORTPDF},isSPDFUser:function(){return this.get("subscriptions")[0].subscription_name===a.subNames.SPDF},isCPDFUser:function(){return this.get("subscriptions")[0].subscription_name===a.subNames.CREATEPDF&&this.get("subscriptions")[0].subscription_level!==a.subLevels.FREE},canExport:function(){return e.appApi.sessionApi.isSignedIn()?0!==this.get("limits").export_pdf_conversions.remaining:!1},canCombine:function(){return 0!==this.get("limits").combine_pdf_documents.limit},canCreate:function(){return 0!==this.get("limits").create_pdf_conversions.remaining},isPdfUser:function(){return _.some(this.get("subscriptions"),function(e){return e.subscription_level!==a.subLevels.FREE&&-1!==_.indexOf([a.subNames.SPDF,a.subNames.EXPORTPDF,a.subNames.CREATEPDF,a.subNames.APLUS,a.subNames.ASTD],e.subscription_name)?!0:void 0})},isASubPlusUser:function(){return this.get("subscriptions")[0].subscription_name===a.subNames.APLUS},isASubStdUser:function(){return this.get("subscriptions")[0].subscription_name===a.subNames.ASTD},isAcrobatChannelUser:function(){return"TEAM_CHANNEL"===this.get("subscriptions")[0].biz_source&&(this.isASubPlusUser()||this.isASubStdUser())},isVIPUser:function(){return this.get("subscriptions")[0].subscription_level===a.subLevels.VIP},isFreeUser:function(){return this.get("subscriptions")[0].subscription_level===a.subLevels.FREE},isAdobeVIPUser:function(){return this.isVIPUser()&&-1!==this.get("sitecatalyst_plan_code").indexOf("-VIPA")},getServiceNameString:function(){return this.get("subscriptions")[0].subscription_name},getServiceLevelString:function(){return this.get("subscriptions")[0].subscription_level},getSubscriptionsNames:function(){return a.subNames},hasPaidSubscription:function(){var e=this.get("subscriptions")[0].subscription_level;return e!==a.subLevels.VIP&&e!==a.subLevels.FREE}});return e.usersMeModel=new r,e.usersMeModel}),define("aictools/models/sys-info-model",["aictools/aic","aictools/models/model"],function(e){return e.SysInfoModel=e.Model.extend({initialize:function(){e.Model.prototype.initialize.call(this)},url:function(){return e.getBaseUriApi()+"sys_info"}}),e.SysInfoModel}),define("aictools/ops/ipm/update-ipm-op",["aictools/aic","aictools/util/util","aictools/models/users-me-model"],function(e,t,i){return function(o){if("function"==typeof mboxDefine&&"function"==typeof mboxUpdate&&"object"==typeof mboxFactories){var a=e.appApi.routerApi.getQueryParams(),r=["language="+i.get("user_lang"),"subscriptionlevel="+i.getServiceLevelString(),"subscriptionName="+i.getServiceNameString(),"countryCode="+i.get("country_code"),"previousLoginDate="+t.getCookie("History_previousLoginDate")||"","upgradeFromSku="+t.getCookie("History_upgradeFromSku")||"","marketingContext="+t.getCookie("marketingContext")||"","bizSource="+i.get("subscriptions")[0].biz_source,"firstTimeUser="+i.get("first_time")||"true"];a.ipmtest&&r.push("ipmtest="+a.ipmtest),_.isArray(o.args)&&(r=o.override?o.args:_.union(r,o.args)),_.each(o.mboxIds,function(e){o.mboxGlobal||mboxDefine(e,e),mboxUpdate.apply(e,[e].concat(r))})}}}),define("aictools/models/cohorts",["aictools/aic","aictools/util/util","aictools/analytics/analytics"],function(){var e=Backbone.Model.extend({initialize:function(){Backbone.Model.prototype.initialize.call(this)}},{instance:void 0,getInstance:function(){return e.instance||(e.instance=new e),e.instance}});return e}),define("aictools/plugins/plugin-central",["aictools/aic","aictools/util/util","aictools/models/users-me-model","aictools/models/sys-info-model","aictools/models/base-uri-model","aictools/ops/ipm/update-ipm-op","aictools/analytics/analytics","aictools/util/strings","aictools/models/cohorts","core/utils/util"],function(e,t,i,o,a,r,s,n,l,c){var d=null,p=[],u=$.Deferred();return{plugins:{},resetPlugin:function(e){this.init().then(function(){e.reset&&e.reset()})},register:function(e){this.plugins[e.PLUGIN_ID]=e,this.resetPlugin(e)},getVersion:function(){return u.promise(p)},reset:function(){_.each(this.plugins,function(e){e.toolViewInstance&&e.toolViewInstance.clear&&e.toolViewInstance.clear(!0)&&e.toolViewInstance.render(),this.resetPlugin(e)},this)},init:function(){return d||(d=$.Deferred(),e.init().done(_.bindex(function(){e.appApi.errorApi.addUncaughtExceptionCallback(function(e){t.isDevTestEnvironment()&&alert("Unhandled error: "+e)}),s.init(e.appApi.siteCatalystApi),c.isCEF()?d.resolve():a.fetch().then(_.bindex(function(){i.refresh(),this.updateGlobalMboxes(),(new o).fetch().then(_.bindex(function(i){e.SERVER_PARAMS=i.server_params,p.push(e.SERVER_PARAMS.version.build_date),p.push(e.SERVER_PARAMS.version.build_number),u.resolve(),d.resolve(),l.getInstance(),e.appApi.pluginsApi.showPlugin(n.pluginNames.ORGANIZE_PAGES,t.featureEnabled("organize_pages"))},this),function(){t.isDevTestEnvironment()&&window.alert("FATAL: Failed to fetch system data"),d.reject()})},this),function(e){return e&&0===e.status?void d.reject():(t.isDevTestEnvironment()&&window.alert("get_base_uris for AiC failed. something is very broken."),void d.reject())})},this))),d.promise()},updateGlobalMboxes:function(){try{r({mboxIds:["Acom_Global_1","Acom_Global_2","Acom_Global_3"],mboxGlobal:!0})}catch(e){LOG(e.toString(),LOG.ERROR)}}}}),define("aictools/plugins/plugin-view",["aictools/aic","aictools/views/view","aictools/views/dialog-view","aictools/ops/routing/set-backbone-routes-op","aictools/plugins/plugin-central","aictools/util/util","aictools/analytics/analytics"],function(e,t,i,o,a,r,s){var n=t.extend({initialize:function(e){t.prototype.initialize.call(this,e)},initPlugin:function(){return o(this),$.Deferred().resolve().promise()},getRoutes:function(){return[]},render:function(){t.prototype.render.call(this)},getAppApiVersion:function(){return e.FRAMEWORK_VERSION},_currentPathThisPlugin:function(){var e=window.location.pathname.substring(1),t=!1;return _.each(this.getRoutes(),function(i){var o=i.route.split(":")[0];0===e.indexOf(o)&&(t=!0)}),t},selectPlugin:function(t){return t&&t.route_resolved||this._currentPathThisPlugin()||r.navigate(this.getRoutes()[0].route,{trigger:!1,replace:!1}),e.appApi.displayApi.showSpinner(!1),$.Deferred().resolve().promise()},deselectPlugin:function(){i.cancelAll(!1)},setAppApi:function(t){return e.init(t),a.init().then(_.bindex(function(){s.register(this.plugin.PLUGIN_ID)},this))},getPreferences:function(){return{}},setPreferences:function(){},getPluginVersionList:function(){return a.getVersion()},onKeyDown:function(){}});return n}),define("aictools/ops/files/upload-util",["aictools/aic","core/ac-core","aictools/util/util"],function(e,t,i){return function(o,a){function r(e,t){this.set(i.isIE9orBelow()?{progress:-1}:{progress:parseInt(e/t*100,10)})}var s=_.extend(e,{rnaFile:o.get("file")._proxy,uploadType:o.get("uploadType"),notificationObj:o.get("notification"),progressCB:_.bindex(r,o),ignoreContentType:!0,showBezel:!1}),n=t.opFactory.create("UploadingFileOp",s);return o.set({uploader:n}),o.ets.setParam("P_FILENAME",o.get("fileName"),!0),o.ets.setParam("P_FORMAT",i.getFilenameExtension(o.get("fileName"),!0),!0),o.ets.setParam("P_FILESIZE",o.get("fileSize"),!0),o.ets.startEvent("UPLOAD"),o.set({stage:a.UPLOAD_START}),o.get("uploader").run()}}),define("aictools/nls/ui-strings",{root:!0,"xx-xx":!0,"de-de":!0,"en-gb":!0,"es-es":!0,"fr-fr":!0,"it-it":!0,"ja-jp":!0,"da-dk":!0,"fi-fi":!0,"nb-no":!0,"nl-nl":!0,"pt-br":!0,"sv-se":!0,"bg-bg":!0}),define("aictools/nls/root/ui-strings",{CONVERT_TO_PDF:"Convert to PDF",CREATE_PDF:"Create PDF",EXPORT_PDF:"Export PDF",COMBINECONVERT_PDF:"Convert PDF",CREATE_A_PDF:"Create a PDF",CREATE_A_PDF_AV2:" ",CONVERT_TOOL_VIEW_TITLE:"Convert images and files to PDF",CONVERT_TOOL_VIEW_TITLE_AV2:"Create PDFs from images, Microsoft Office files, and more",CPDF_IPP_LINK2:"Download CreatePDF Desktop Tool",CPDF_SELECT_FILE:"Select Files to Convert to PDF",CPDF_SELECT_FILE_AV2:"Select Files",CREATEPDF_SELECT_FILES_FILTERING_TEXT:"File Type is not: Adobe PDF",EXPORT_STATUS_TITLE:"Exported Files",CONVERT_STATUS_TITLE:"Converted Files",CREATE_FROM_AX_TEMPLATE_TITLE:"Start from an Adobe Express template",CREATE_FROM_AX_TEMPLATE_DESC:"Create content from thousands of professionally designed templates for free.",CREATE_FROM_AX_TEMPLATE_FLYERS:"Flyers",CREATE_FROM_AX_TEMPLATE_LOGOS:"Logos",CREATE_FROM_AX_TEMPLATE_CALENDARS:"Calendars",CREATE_FROM_AX_TEMPLATE_INVOICES:"Invoices",GET_AX_BUTTON_TEXT:"All templates",AX_LOGO_TEXT:"Powered by Adobe Express",GET_AX_BUTTON_ARIA_LABEL:"Explore all templates online",CREATE_FROM_AX_TEMPLATE_ARIA_LABEL:"Explore <%= template_cat %> templates in Adobe Express online",CREATE_FROM_AX_TEMPLATE_FLYER_AL:"flyer",CREATE_FROM_AX_TEMPLATE_LOGO_AL:"logo",CREATE_FROM_AX_TEMPLATE_CALENDAR_AL:"calendar",CREATE_FROM_AX_TEMPLATE_INVOICE_AL:"invoice",EXPORT_FROM_PDF:"Export From PDF",EXPORT_TOOL_VIEW_TITLE:"Convert PDF files to Word, Excel and other formats",EXPORT_TOOL_VIEW_EXPERIMENT_TITLE:"Convert PDF files to Powerpoint or other formats",EXPORT_SELECT_FILE:"Select PDF Files to Export",EXPORTPDF_SELECT_FILES_FILTERING_TEXT:"File Type: PDF",EXPORT_TOOL_VIEW_EXPERIMENT_GOURL:"https://www.adobe.com/go/rdr_dynamictool_epdf",CONVERT_FROM_PDF:"Convert From PDF",CONVERT_SELECT_FILE:"Select PDF Files to Convert",OK:"OK",CANCEL:"Cancel",CLOSE:"Close",CONTINUE:"Continue",PROCEED:"Proceed",SUCCESS:"Success",BTN_COMBINE:"Combine",CPDF_ADD_FILES:"Add Files To Convert",BTN_EXPORT:"Export to PDF",BTN_DOWNLOAD:"Download",CONVERTING:"Converting  <%= filename %>...",NOT_ON_MAC:"Not Available on Mac",GENERIC_READER_ERR_TITLE_FAILED:'Unsupported file type: "<%= names %>"',GENERIC_READER_ERR_BODY_FAILED:"Select another file and try again",CPDF_ERR_TITLE_FAILED_TO_CONVERT:'"<%= name %>" failed to convert to PDF.',CPDF_ERR_TITLE_FAILED_TO_UPLOAD:'"<%= name %>" failed to be uploaded.',CPDF_ERR_TITLE_UPLOAD_TOO_LARGE:'"<%= name %>" exceeds the limit of 100 MB.',CPDF_ERR_TITLE_UPLOAD_IS_EMPTY:'"<%= name %>" is an empty file.',CPDF_ERR_TITLE_UNSUPPORTED_TYPE:'"<%= name %>" is in a format not supported for conversion to PDF.',CPDF_ERR_TITLE_UNKNOWN_TYPE:'The file type of "<%= name %>" is not known, and therefore cannot be converted to PDF.',CPDF_ERR_TITLE_UNSUPPORTED_TYPES:"Some of the files you have selected cannot be converted to PDF and have been excluded.",CPDF_ERR_TITLE_UNKNOWN_TYPES:'The file types of "<%= names %>" are not known, and therefore cannot be converted to PDF.',CPDF_ERR_TITLE_STORAGE_LIMIT_EXCEEDED:'"<%= name %>" failed to convert to PDF because storage limit was exceeded.',CPDF_ERR_BODY_UPLOAD_FAILED:"Something went wrong while uploading the file.",CPDF_ERR_BODY_UPLOAD_TOO_LARGE_IPP:"Select a smaller file or use the PDF printer for Windows to convert the file.",CPDF_ERR_BODY_UPLOAD_TOO_LARGE:"Select a smaller file.",CPDF_ERR_BODY_UPLOAD_IS_EMPTY:"Select a file larger than 0 bytes.",CPDF_ERR_BODY_VIRUS_DETECTED:"The file contains a virus.",CPDF_ERR_BODY_TIMEOUT:"The file is either too large or too complex to convert.",CPDF_ERR_BODY_DOCUMENT_CORRUPTED:"The file appears to be corrupted.",CPDF_ERR_BODY_SOURCE_IS_ENCRYPTED:"The document is password protected.",CPDF_ERR_BODY_STORAGE_LIMIT_EXCEEDED:"Please back up and delete some of your online files and try again.",CPDF_ERR_BODY_OTHER_ERRORS_WIN:"You can try the file again or use the PDF printer for Windows to convert the file.",CPDF_ERR_BODY_OTHER_ERRORS_OTHER:"There was an unexpected problem. Please try again later.",CPDF_ERR_BODY_UNSUPPORTED_EXT:"The file is in a format not supported for conversion to PDF.",CPDF_ERR_BODY_UNSUPPORTED_EXTS:"The files are in formats not supported for conversion to PDF.",CPDF_ERR_BODY_UNSUPPORTED_TYPE:"You can save the file to one of the supported formats or use the PDF printer for Windows to convert the file. For a list of supported file formats <a href='<%= linkRef %>' target='_blank'>click here</a>.",CPDF_ERR_BODY_UNSUPPORTED_TYPES:"For a list of supported file types, <a href='<%= linkRef %>' target='_blank'>click here</a>.",CPDF_ERR_BODY_UNKNOWN_TYPE:"The uploaded file is missing an extension. Please ensure that the uploaded file has the correct extension.",CPDF_ERR_BODY_UNKNOWN_TYPES:"The uploaded files are missing extensions. Please ensure that the uploaded files have the correct extension.",CPDF_ERR_BODY_ALREADYPDF_FILE:"The file selected is already in PDF format. Input file types to Create PDF cannot be PDF. For a list of supported file types, <a href='<%= linkRef %>' target='_blank'>click here</a>.",CPDF_ERR_BODY_ALREADYPDF_FILES:"The files selected are already in PDF format. Input file types to Create PDF cannot be PDF. For a list of supported file types, <a href='<%= linkRef %>' target='_blank'>click here</a>.",EPDF_DLG_RECOGNIZE_TEXT_IN:"Document Language (for Text Recognition)",EDPF_DLG_OCR_TOOLTIP:"Use Optical Character Recognition (OCR) to convert any scanned text to editable text. Click to learn more.",EPDF_EXPORT_FORMAT:"Convert To",EPDF_EXPORT_FORMAT_TIP:"All Files will be converted to the selected format.  To use different formats, export each file individually.",EPDF_ADD_FILES:"Add Files To Export",SELECTED_FILES:"Selected Files",EPDF_DLG_IMAGE_CHOICE:"Image (*.jpg, *.tiff, *.png)",EPDF_DLG_IMAGE_FORMAT:"Image Format",EPDF_DLG_IMAGE_QUALITY:"Image Quality",EPDF_DLG_IMAGE_TOOLTOP:"Each page will be converted to an image - all of which will be saved to a single .zip file for a single easy download.",EPDF_DLG_IMAGE_SMALLTIP:"Smaller File Size",EPDF_DLG_IMAGE_LARGETIP:"Larger File Size",EPDF_DLG_QUALITY_LOW:"Low",EPDF_DLG_QUALITY_MED:"Med",EPDF_DLG_QUALITY_MEDIUM:"Medium",EPDF_DLG_QUALITY_HIGH:"High",EPDF_DLG_QUALITY_MIN:"Min",EPDF_DLG_QUALITY_MAX:"Max",EPDF_FORMAT_MICROSOFT_EXCEL:"Microsoft Excel",EPDF_FORMAT_MICROSOFT_POWERPOINT:"Microsoft PowerPoint",EPDF_FORMAT_MICROSOFT_WORD:"Microsoft Word",EPDF_FORMAT_RICH_TEXT_FORMAT:"Rich Text Format",EPDF_BUTTON_TITLE_PDF:"Export from PDF",EPDF_BUTTON_TITLE_WORD:"Export to Word",EPDF_BUTTON_TITLE_EXCEL:"Export to Excel",EPDF_BUTTON_TITLE_POWERPOINT:"Export to PowerPoint",EPDF_BUTTON_TITLE_RTF:"Export to RTF",EPDF_BUTTON_TITLE_IMAGE:"Export to Image",EPDF_BUTTON_TITLE_JPG:"Export to JPEG",EPDF_BUTTON_TITLE_TIFF:"Export to TIFF",EPDF_BUTTON_TITLE_PNG:"Export to PNG",CCPDF_ADD_FILES:"Add Files To Convert",CCPDF_BUTTON_TITLE_PDF:"Convert from PDF",CCPDF_BUTTON_TITLE_WORD:"Convert to Word",CCPDF_BUTTON_TITLE_EXCEL:"Convert to Excel",CCPDF_BUTTON_TITLE_POWERPOINT:"Convert to PowerPoint",CCPDF_BUTTON_TITLE_RTF:"Convert to RTF",CCPDF_BUTTON_TITLE_IMAGE:"Convert to Image",CCPDF_BUTTON_TITLE_JPG:"Convert to JPEG",CCPDF_BUTTON_TITLE_TIFF:"Convert to TIFF",CCPDF_BUTTON_TITLE_PNG:"Convert to PNG",EPDF_ERR_TITLE_FAILED_TO_EXPORT:'"<%= name %>" failed to export to <%= format %>.',EPDF_ERR_TITLE_FAILED_TO_EXPORT_NO_FORMAT:'"<%= name %>" failed to export.',EPDF_ERR_TITLE_FAILED_TO_EXPORT_NO_FORMAT_N:'"<%= names %>" failed to export.',EPDF_ERR_TITLE_PDF_IS_PORTFOLIO:'"<%= name %>" is a PDF Portfolio and cannot be exported.',EPDF_ERR_TITLE_SOURCE_IS_ENCRYPTED:'"<%= name %>" is password protected and cannot be exported.',EPDF_ERR_TITLE_STORAGE_LIMIT_EXCEEDED:'"<%= name %>" failed to export to <%= format %> because storage limit was exceeded.',EPDF_ERR_BODY_UPLOAD_TOO_LARGE:"Select a smaller file for export.",EPDF_ERR_BODY_UNSUPPORTED_TYPE:"The file is not a PDF file.",EPDF_ERR_BODY_UNSUPPORTED_TYPE_N:"The files are not PDF files.",EPDF_ERR_BODY_TIMEOUT:"The file is either too large or too complex to export.",EPDF_ERR_BODY_DOCUMENT_CORRUPTED:"The file appears to be corrupted.",EPDF_ERR_BODY_CONVERSION_FAILED:"The file is either corrupt or protected and cannot be opened for export.",EPDF_ERR_BODY_SOURCE_IS_ENCRYPTED:"To export this document, remove the protection and try again.",EPDF_ERR_BODY_STORAGE_LIMIT_EXCEEDED:"Please back up and delete some of your online files and try again.",EPDF_ERR_BODY_PDF_IS_PORTFOLIO:"To convert an individual file from the portfolio, extract it and export that file.",EPDF_ERR_BODY_PDF_POLICY_PROTECTED:"The file's security settings do not allow export.",EPDF_ERR_BODY_PDF_NO_TABLES:"This PDF file does not contain recognizable data to be exported to Excel. If the PDF file is a scanned document, enabling text recognition (OCR) may help make data recognizable.",EPDF_ERR_XFA_PDF:"PDF files containing XFA forms cannot be saved to the specified format.",EPDF_ERR_BODY_OTHER_ERRORS:"There was an unexpected problem.",EPDF_ERR_CONVERSION_FAIL_PPTX:"*Conversion to PPTX is not supported in your current subscription plan. You can upgrade to get this",EPDF_ERR_CONVERSION_FAIL_IMAGE:"*Conversion to Image is not supported in your current subscription plan. You can upgrade to get this",UNKNOWN_ERROR_TITLE:"The file has not been processed.",UNKNOWN_ERROR_BODY:"An error has occurred which stopped the processing of the PDF.",BLANK_ERROR:"",ENTERPRISE_USERS_ACCESS_ERROR:"You do not have access to this service. Please contact your IT Administrator to gain access, or try to sign in with an Adobe ID.",ENCRYPTION_KEY_DISABLED_ERROR:"The encryption key has been revoked and this content is no longer available. Please contact your administrator to re-enable the encryption key and check back again.",CHANGE:"Change",RHP_CPDF_ADD_FILES:"Select File to Convert to PDF",RHP_SELECT_FILE:"Select File",RHP_BUTTON_CONVERT:"Convert",RHP_EPDF_DLG_RECOGNIZE_TEXT_IN:"Document Language:",RHP_EPDF_ADD_FILES:"Select PDF File",RHP_EPDF_EXPORT_FORMAT:"Convert to",RHP_EPDF_EXPORT_IMAGE_QUALITY:"Image Quality",READER_PDF_FILTER_DESC:"Adobe PDF files",READER_CPDF_FILTER_DESC:"All supported files",READER_CHOOSE_FILES:"Select Files",READER_CHOOSE_FILE:"Select File",READER_OPEN:"Continue",RHP_DOC_CLOUD:"Adobe's cloud storage",RHP_VIEW_CONVERTED_FILES:"View <%= name %> Files",RHP_EPDF_SERVICE_TITLE:"Adobe Export PDF",RHP_CPDF_SERVICE_TITLE:"Adobe PDF Pack",RHP_EPDF_EXPERIMENT_SERVICE_TITLE:"Adobe Convert PDF",RHP_EPDF_SERVICE_DESCRIPTION:"Convert PDF Files to Word or Excel Online",RHP_CPDF_SERVICE_DESCRIPTION:"Convert files to PDF and easily combine them with other file types with a paid subscription",RHP_EPDF_SERVICE_TOOLTIP:"Go to Adobe ExportPDF",RHP_EPDF_EXPERIMENT_SERVICE_TOOLTIP:"Go to Adobe Convert PDF",RHP_CPDF_SERVICE_TOOLTIP:"Go to Adobe PDF Pack",RHP_CPDF_SERVICE_DESCRIPTION_URL:"http://www.adobe.com/go/cpdfrhprdr5_12_0_0",RHP_EPDF_SERVICE_DESCRIPTION_URL:"http://www.adobe.com/go/epdfrhprdr7_12_0_0",RHP_EPDF_EXPERIMENT_SERVICE_DESCRIPTION_URL:"http://www.adobe.com/go/epdfrhprdricn_20_0",READER_EPDF_DOCX_SIGNUP_URL:"http://www.adobe.com/go/epdfrdr1_12_0_0",READER_EPDF_XLSX_SIGNUP_URL:"http://www.adobe.com/go/epdfrdr2_12_0_0",READER_EPDF_PPTX_SIGNUP_URL:"http://www.adobe.com/go/epdfrdr3_12_0_0",READER_EPDF_IMAGE_SIGNUP_URL:"http://www.adobe.com/go/epdfrdr_img_19_0_0",READER_EPDF_OTHER_SIGNUP_URL:"http://www.adobe.com/go/epdfrdr5_12_0_0",READER_EPDF_FILE_MENU_SIGNUP_URL:"http://www.adobe.com/go/epdffmrdr_19_0_0",READER_EPDF_FIRST_MILE_SIGNUP_URL:"http://www.adobe.com/go/epdf_hv_rdr_19_0_0",READER_EPDF_NEW_RCM_SIGNUP_URL:"https://www.adobe.com/go/epdfrcmrdr_21",READER_EPDF_TOPTOOLBAR_SIGNUP_URL:"https://www.adobe.com/go/epdf_tb_rdr_22",READER_CPDF_SIGNUP_URL:"http://www.adobe.com/go/cpdfrdr_12_0_0",READER_CPDF_FIRST_MILE_SIGNUP_URL:"http://www.adobe.com/go/cpdf_hv_rdr_19_0_0",READER_PPTX_EXPORT_UPSELL_URL:"http://www.adobe.com/go/epdfrdr2_PPTX_12_0_0",READER_PPTX_EXPORT_UPSELL_URL_RHP:"http://www.adobe.com/go/epdfrhprdr5_PPTX_12_0_0",READER_CCPDF_DOCX_SIGNUP_URL_RHP:"http://www.adobe.com/go/cnvrtpdfrhprdr1_12_0_0",READER_CCPDF_XLSX_SIGNUP_URL_RHP:"http://www.adobe.com/go/cnvrtpdfrhprdr2_12_0_0",READER_CCPDF_PPTX_SIGNUP_URL_RHP:"http://www.adobe.com/go/cnvrtpdfrhprdr3_12_0_0",READER_CCPDF_OTHER_SIGNUP_URL_RHP:"http://www.adobe.com/go/cnvrtpdfrhprdr5_12_0_0",READER_CCPDF_SIGNUP_URL_RHP:"http://www.adobe.com/go/cnvrtpdfrhprdr4_12_0_0",READER_PPTX_CONVERT_UPSELL_URL_RHP:"http://www.adobe.com/go/cnvrtpdfrhprdr5_PPTX_12_0_0",READER_CCPDF_DOCX_SIGNUP_URL:"http://www.adobe.com/go/cnvrtpdfrdr1_12_0_0",READER_CCPDF_XLSX_SIGNUP_URL:"http://www.adobe.com/go/cnvrtpdfrdr2_12_0_0",READER_CCPDF_PPTX_SIGNUP_URL:"http://www.adobe.com/go/cnvrtpdfrdr3_12_0_0",READER_CCPDF_IMAGE_SIGNUP_URL:"http://www.adobe.com/go/cnvrtpdfrdr_img_19_0_0",READER_CCPDF_OTHER_SIGNUP_URL:"http://www.adobe.com/go/cnvrtpdfrdr5_12_0_0",READER_CCPDF_FIRST_MILE_SIGNUP_URL_EXPORT:"http://www.adobe.com/go/cnvrtpdf_hv_rdr_19_0_0",READER_CCPDF_SIGNUP_URL:"http://www.adobe.com/go/cnvrtpdfrdr_12_0_0",READER_CCPDF_FIRST_MILE_SIGNUP_URL_CREATE:"http://www.adobe.com/go/cnvrtpdf2_hv_rdr_19_0_0",READER_PPTX_CONVERT_UPSELL_URL:"http://www.adobe.com/go/cnvrtpdfrdr2_PPTX_12_0_0",READER_RENAME_EPDF_OTHER_SIGNUP_URL:"http://www.adobe.com/go/cnvrtpdfrdr5_20_0_0",READER_RENAME_EPDF_DOCX_SIGNUP_URL:"http://www.adobe.com/go/cnvrtpdfrdr1_20_0_0",READER_RENAME_EPDF_XLSX_SIGNUP_URL:"http://www.adobe.com/go/cnvrtpdfrdr2_20_0_0",READER_RENAME_EPDF_PPTX_SIGNUP_URL:"http://www.adobe.com/go/cnvrtpdfrdr3_20_0_0",READER_RENAME_EPDF_IMAGE_SIGNUP_URL:"http://www.adobe.com/go/cnvrtpdfrdr_img_20_0_0",READER_RENAME_EPDF_FIRST_MILE_SIGNUP_URL:"http://www.adobe.com/go/cnvrtpdf_hv_rdr_20_0_0",READER_PPTX_RENAME_EPDF_UPSELL_URL:"http://www.adobe.com/go/cnvrtpdfrdr2_PPTX_20_0_0",READER_RENAME_EPDF_PPTX_SIGNUP_URL_RHP:"http://www.adobe.com/go/cnvrtpdfrhprdr3_20_0_0",READER_RENAME_EPDF_XLSX_SIGNUP_URL_RHP:"http://www.adobe.com/go/cnvrtpdfrhprdr2_20_0_0",READER_RENAME_EPDF_DOCX_SIGNUP_URL_RHP:"http://www.adobe.com/go/cnvrtpdfrhprdr1_20_0_0",READER_RENAME_EPDF_OTHER_SIGNUP_URL_RHP:"http://www.adobe.com/go/cnvrtpdfrhprdr5_20_0_0",READER_PPTX_RENAME_EPDF_UPSELL_URL_RHP:"http://www.adobe.com/go/cnvrtpdfrhprdr5_PPTX_20_0_0",GET_AX_GOURL:"https://www.adobe.com/go/ax_cta_rdr_22",CREATE_FROM_AX_TEMPLATE_FLYERS_URL:"https://www.adobe.com/go/ax_fly_rdr_22",CREATE_FROM_AX_TEMPLATE_LOGOS_URL:"https://www.adobe.com/go/ax_log_rdr_22",CREATE_FROM_AX_TEMPLATE_CALENDARS_URL:"https://www.adobe.com/go/ax_cal_rdr_22",CREATE_FROM_AX_TEMPLATE_INVOICES_URL:"https://www.adobe.com/go/ax_inv_rdr_22",COMBINE_INTO_PDF:"Combine into PDF",COMBINE_FILES_TITLE:"Merge images and files into a single PDF.",COMBINE_SELECT_FILE:"Select Files to Combine",COMBINE_STATUS_TITLE:"Combined Files",ORGANIZE_STATUS_TITLE:"Edited Files",DOWNLOAD_ALL:"Download All",COMBINE_SELECT_FILES_FILTERING_TEXT:"File Type: can be combined",ADD_FILES:"Add Files...",INSERT_FILE:"Insert File...",COMBINE_PDF:"Combine Files",EAMES:"Acrobat",APP_FC_FOR_EAMES:"Create a Form",ORGANIZE_PAGES:"Organize Pages",ORGANIZE_PDF_PAGES:"Organize Pages",ORGANIZE_FILES_TITLE:"Rotate, Delete & Insert Pages",ORGANIZE_SELECT_FILE:"Select File to Organize",ORGANIZE_SELECT_FILE_FILTERING_TEXT:"File Type: can organize pages",SELECT_PAGES:"Select Pages",EVEN_PAGES:"Even Pages",ODD_PAGES:"Odd Pages",LANDSCAPE_PAGES:"Landscape Pages",PORTRAIT_PAGES:"Portrait Pages",ALL_PAGES:"Select All",ROTATE_LEFT:"Rotate Left",ROTATE_RIGHT:"Rotate Right",SAVE:"Save",BEFORE_FIRST_PAGE:"Insert Before First Page",BEFORE_SELECTION:"Insert Before Selection",AFTER_SELECTION:"Insert After Selection",AFTER_LAST_PAGE:"Insert After Last Page",SAVE_AS_NEW_FILE:"(Save as new file)",SAVE_EXISTING:"(Save as existing file)",SAVE_AS:"Save As",SAVE_AS_OTHER:"Other",ORGANIZE_TOO_MANY_PAGES:"Too many pages",ORGANIZE_PAGE_LIMIT:"This file has too many pages (<%= n_pages %>) to be processed (maximum <%= max_pages %> pages). <%= use_acrobat %>",ORGANIZE_FILE_LIMIT:"You may insert a maximum of 11 files. <%= use_acrobat %>",ORG_WITH_ACROBAT_FOR_PAGE_LIMIT:"Use the desktop version of Acrobat to work with documents greater than <%= max_pages %> pages",ORG_WITH_ACROBAT_FOR_FILE_LIMIT:"Use the desktop version of Acrobat to insert more than 12 files",ORGANIZE_ERR_TITLE_TOO_MANY_FILES:"Too many files to organize",EAMES_ADOBE_ACROBAT_SUBSCRIPTION_PLUS:"Adobe Acrobat Pro",EAMES_ADOBE_ACROBAT_SUBSCRIPTION_STANDARD:"Adobe Acrobat Standard",EAMES_DO_MORE_WITH_YOUR_PDF_DOCUMENTS:"Do more with your PDF documents and forms.",EAMES_GET_ACROBAT_XI_PRO_SOFTWARE:"Get Acrobat XI Pro software, ExportPDF, PDF Pack, and FormsCentral – all in one monthly subscription.",EAMES_SUBSCRIPTION_LENGTH_ONE_TEXT:"Annual",EAMES_SUBSCRIPTION_RATE_PER_TIME_UNIT_ONE_TEXT:"/mo.",EAMES_SUBSCRIPTION_FOOTNOTE_ONE_MARKER:"",EAMES_SUBSCRIPTION_FOOTNOTE_ONE_TEXT:"Annual commitment required",EAMES_SIGN_UP_BUTTON_ONE_TEXT:"Upgrade Now",EAMES_SUBSCRIPTION_LENGTH_TWO_TEXT:"Monthly",EAMES_SUBSCRIPTION_RATE_PER_TIME_UNIT_TWO_TEXT:"/mo.",EAMES_SUBSCRIPTION_FOOTNOTE_TWO_MARKER:"",EAMES_SUBSCRIPTION_FOOTNOTE_TWO_TEXT:"",EAMES_SIGN_UP_BUTTON_TWO_TEXT:"Upgrade Now",EAMES_SIGN_UP_SYSTEM_REQUIREMENTS_TEXT:"System Requirements >",EAMES_HEADER_ROW_COL_TWO_TABLE_TEXT_CPDF:"Adobe PDF Pack",EAMES_HEADER_ROW_COL_TWO_TABLE_TEXT_EPDF:"Adobe ExportPDF",EAMES_HEADER_ROW_COL_TWO_TABLE_TEXT_SPDF:"Adobe CreatePDF",EAMES_HEADER_ROW_COL_TWO_TABLE_TEXT_FREE:"Acrobat.com Files",EAMES_HEADER_ROW_COL_TWO_TABLE_TEXT_FCENTTRAL:"FormsCentral",EAMES_HEADER_ROW_COL_THREE_TABLE_TEXT:"Adobe Acrobat Pro",EAMES_CONVERT_OFFICE_AND_IMAGE_FILES:"Convert Office and image files to PDF",EAMES_CHECK_MARK:"✓",EAMES_EXPORT_PDFS_TO_WORD:"Export PDFs to Word and Excel",EAMES_COMBINE_MULTIPLE_FILES:"Combine multiple files into a single PDF",EAMES_EDIT_TEXT_AND_IMAGES:"Edit text and images in PDF files",EAMES_ADD_COMMENTS_AND_MARK_UPS:"Add comments and mark-ups to PDF files",EAMES_CREATE_PDF_AND_WEB_FORMS:"Create PDF and web forms and see results in real-time",EAMES_SIGN_PDF_FILES_YOURSELF:"Sign PDF files yourself and send files for signature",EAMES_SOFTWARE_DOWNLOAD_AND_INSTALL:"Software download and install",EAMES_FILE_STORAGE:"File storage",EAMES_5_GB:"5 GB",EAMES_10_GB:"10 GB",EAMES_50_GB:"50 GB",EAMES_100_GB:"100 GB",EAMES_GET_STARTED_BY_DOWNLOADING:"Download your software to get started.",EAMES_SUBSCRIPTION_ENTITLEMENT:"You may install Acrobat Pro software on two computers. Download your software to install.",EAMES_SUBSCRIPTION_ENTITLEMENT_STANDARD:"You may install Acrobat Standard software on two computers. Download your software to install.",EAMES_DOWNLOAD_ACROBAT_PRO:"Download Now",EAMES_DOWNLOAD_BUTTON_TEXT:"Download Now",EAMES_GO_MOBILE:"Go mobile",EAMES_MOBILE_DOWNLOADS:"Mobile downloads",EAMES_READER_MOBILE_LINK_TEXT:"Adobe Reader >",EAMES_GET_READER_FOR_IOS:"Get the Adobe Reader mobile app to access the tools you need to work on the go.",EAMES_GET_IT_NOW:"Get it now >",EAMES_SUPPORT:"Support",EAMES_ACCESS_OUR_DISCUSSION_FORUM:"Access our discussion forum to get answers to your most frequently asked questions.",EAMES_CREATE_FORM_TITLE:"Create a Form",EAMES_CREATE_FORM_SUBTITLE:"Build a PDF or Web Form",EAMES_OPEN_FORMS_CENTRAL:"Open FormsCentral >",EAMES_GET_HELP:"Get help >",EAMES_FIRST_TIME_TIP_ONE_TITLE_TEXT:"Edit Text and Images",EAMES_FIRST_TIME_TIP_ONE_TITLE_TEXT_STANDARD:"Create PDF files",EAMES_FIRST_TIME_TIP_ONE_SUBTITLE_TEXT:"See how easy it is to edit PDF files. (1:06)",EAMES_FIRST_TIME_TIP_ONE_SUBTITLE_TEXT_STANDARD:"Find out how you can turn any document or image into a PDF.",EAMES_FIRST_TIME_TIP_ONE_SUBTITLE_LINK_TEXT:"PDF, 215KB",EAMES_FIRST_TIME_TIP_TWO_TITLE_TEXT:"Create PDF and web forms",EAMES_FIRST_TIME_TIP_TWO_TITLE_TEXT_STANDARD:"Convert PDFs to Office",EAMES_FIRST_TIME_TIP_TWO_SUBTITLE_TEXT:"Get started in minutes, view results in real time. (1:28)",EAMES_FIRST_TIME_TIP_TWO_SUBTITLE_TEXT_STANDARD:"Learn how to save PDFs as editable Word or Excel files.",EAMES_FIRST_TIME_TIP_TWO_SUBTITLE_LINK_TEXT:"PDF, 131KB",EAMES_FIRST_TIME_TIP_THREE_TITLE_TEXT:"Add security to PDFs",EAMES_FIRST_TIME_TIP_THREE_TITLE_TEXT_STANDARD:"Edit PDFs",EAMES_FIRST_TIME_TIP_THREE_SUBTITLE_TEXT:"Protect PDF files with passwords and permissions. (1:14)",EAMES_FIRST_TIME_TIP_THREE_SUBTITLE_TEXT_STANDARD:"See how easy it is to edit text and images right in your PDF.",EAMES_FIRST_TIME_TIP_THREE_SUBTITLE_LINK_TEXT:"PDF, 232KB",EAMES_RETURNING_USE_MARKETING_TITLE_TEXT:"Do even more with PDF",EAMES_RETURNING_USE_MARKETING_SUBTITLE_TEXT:"Get Acrobat Pro software, online services, and Adobe FormsCentral. All for one monthly fee.",EAMES_RETURNING_USE_UPGRADE_NOW_LINK_TEXT:"Upgrade now >",EAMES_RETURNING_USE_TIP_ONE_TITLE_TEXT:"Gather form responses",EAMES_RETURNING_USE_TIP_ONE_TITLE_TEXT_STANDARD:"Combine files",EAMES_RETURNING_USE_TIP_ONE_SUBTITLE_TEXT:"Easily collect and analyze data from PDF or web forms with FormsCentral. (1:15)",EAMES_RETURNING_USE_TIP_ONE_SUBTITLE_TEXT_STANDARD:"Learn how to merge documents, emails, spreadsheets, and more in a single PDF.",EAMES_RETURNING_USE_TIP_ONE_DOWNLOAD_LINK_TEXT:"PDF, 327KB",EAMES_RETURNING_USE_TIP_TWO_TITLE_TEXT:"Sign PDF files electronically",EAMES_RETURNING_USE_TIP_TWO_TITLE_TEXT_STANDARD:"Sign PDFs",EAMES_RETURNING_USE_TIP_TWO_SUBTITLE_TEXT:"Add your electronic signature in seconds using Adobe Echosign. (1:21)",EAMES_RETURNING_USE_TIP_TWO_SUBTITLE_TEXT_STANDARD:"See how easy it is to add your electronic signature to any PDF.",EAMES_RETURNING_USE_TIP_TWO_DOWNLOAD_LINK_TEXT:"PDF, 162KB",EAMES_RETURNING_USE_TIP_THREE_TITLE_TEXT:"Streamline document reviews",EAMES_RETURNING_USE_TIP_THREE_TITLE_TEXT_STANDARD:"Scan paper to PDF",EAMES_RETURNING_USE_TIP_THREE_SUBTITLE_TEXT:"Share documents for review and collect comments in a single place. (1:13)",EAMES_RETURNING_USE_TIP_THREE_SUBTITLE_TEXT_STANDARD:"Find out how you can turn scans into PDFs you can edit and search.",EAMES_RETURNING_USE_TIP_THREE_DOWNLOAD_LINK_TEXT:"PDF, 130KB",EAMES_ERR_TITLE_NOT_AN_EAMES_USER:"Unauthorized user.",EAMES_ERR_BODY_NOT_AN_EAMES_USER:"The current Adobe ID is not authorized to download Acrobat.",EAMES_ERR_TITLE_FAILED_SERVER_RESPONSE:"A internal server failure has occurred.",EAMES_ERR_BODY_FAILED_SERVER_RESPONSE:"Please try again at a later time.",EAMES_ERR_TITLE_UNSUPPORTED_LANGUAGE_OR_PLATFORM:"Unsupported language/platform.",EAMES_ERR_BODY_UNSUPPORTED_LANGUAGE_OR_PLATFORM_AND_LINK:"Adobe Acrobat is not currently available for your language or platform.  For a list of supported platforms and languages, <a href='<%= linkURL %>' target='_blank'>click here</a>.",EAMES_ADOBE_VIP_DOWNLOAD_TITLE:"Download Acrobat...",EAMES_ADOBE_VIP_DOWNLOAD_TEXT:"Adobe employees can currently download and install Acrobat using various methods. Click <a href='<%= linkURL %>' target='_blank'>here</a> to learn more.",EAMES_DOWNLOAD_LANGUAGE_TEXT:"Acrobat will install in <%= installLanguage %>",CHANGE_TEXT:"Change",NO_MAC_STANDARD_DLM:"The Acrobat Standard application is not currently available for the Mac. Please download it on a Windows computer.",EAMES_UPGRADE_PROCESS_TITLE:"Processing Order...",EAMES_UPGRADE_PROCESS_MESSAGE:"We are currently processing your order. This may take up to 1 minute. Please do not click the Back button or close the browser window during this time.",SUB_MANAGER_GREETING_TITLE:"Hello, <%= firstName %>! Your current plan is <%= subscriptionName %>.",SUB_MANAGER_ACCT_STATUS:"Account status:",SUB_MANAGER_ACCT_ACTIVE_STATE:"ACTIVE",SUB_MANAGER_ACCT_STOPPED_STATE:"EXPIRED",SUB_MANAGER_ACCT_PAY_FREQUENCY:"(plus applicable taxes) per month.",SUB_MANAGER_ACCT_PAY_FREQUENCYAYEAR:"(plus applicable taxes) per year",SUB_MANAGER_ACCT_NEXTPAYMENT:"Next payment of ",SUB_MANAGER_ACCT_NEXTPAYMENT2:" will be charged to your card on ",SUB_MANAGER_ACCT_STOPPED_MSG1_PRE:"Your subscription will expire on",SUB_MANAGER_ACCT_STOPPED_MSG1_MID:" <%= terminationDate %>",SUB_MANAGER_ACCT_STOPPED_MSG1_POST:".",SUB_MANAGER_ACCT_STOPPED_MSG2_PRE:"Turn ON Auto Renewal to have continued access to ",SUB_MANAGER_ACCT_STOPPED_MSG2_MID:"<%= productName %>",SUB_MANAGER_ACCT_STOPPED_MSG2_POST:".",SUB_MANAGER_MOBILE_SUB_IOS:" purchased through iTunes",SUB_MANAGER_MOBILE_SUB_PLAY:" purchased through Google Play",SUB_MANAGER_MOBILE_ACCT_IOS:"You will need to sign-in to your iTunes Store account on your computer or iOS device to modify or cancel your subscription.",SUB_MANAGER_MOBILE_ACCT_PLAY:"You will need to sign-in to your Google Play account on your computer or Android device to modify or cancel your subscription.",SUB_MANAGER_FREE_ACCT_GREETING:"Hello, <%= firstName %>! You currently have a free Acrobat.com account.",SUB_MANAGER_FREE_ONLINE_TITLE:"Online Services Subscriptions",SUB_MANAGER_FREE_DESKTOP_TITLE:"Desktop Software + Online Services Subscriptions",SUB_MANAGER_FREE_CURR_TITLE:"Acrobat.com FREE",SUB_MANAGER_FREE_CURR_DESC:"Store and share files",SUB_MANAGER_FREE_CURR_PRICE:"5 GB FREE Storage",SUB_MANAGER_FREE_EXPORT_TITLE:"Adobe ExportPDF",SUB_MANAGER_FREE_EXPORT_DESC:"Export PDFs to Word or Excel",SUB_MANAGER_FREE_SEND_TITLE:"Adobe Send",SUB_MANAGER_FREE_SEND_DESC:"Send and track large files",SUB_MANAGER_FREE_PACK_TITLE:"Adobe PDF Pack",SUB_MANAGER_FREE_PACK_DESC:"A collection of online tools to convert and export PDFs, send and track large files, and store files in the cloud.",SUB_MANAGER_FREE_ASTD_TITLE:"Adobe Acrobat Standard",SUB_MANAGER_FREE_ASTD_DESC:"Includes Acrobat XI Standard software (Windows Only) Adobe PDF Pack, mobile access, and cloud storage.",SUB_MANAGER_FREE_APRO_TITLE:"Adobe Acrobat Pro",SUB_MANAGER_FREE_APRO_DESC:"Includes Acrobat XI Pro software, Adobe PDF Pack, Adobe FormsCentral, mobile access and cloud storage.",SUB_MANAGER_FREE_PRICE_PER_MONTH:"<%= pricePerMonth %> / month",SUB_MANAGER_FREE_BILL_ANNUAL:"(billed annually at <%= pricePerYear %>/yr)",SUB_MANAGER_FREE_BILL_ANNUAL_PLACEHOLDER:"(billed annually)",SUB_MANAGER_FREE_BILL_MONTH:"(billed monthly)",SUB_MANAGER_FREE_BILL_ANNUAL_COMMITMENT:"(billed monthly with annual commitment)",SUB_MANAGER_FREE_CURR_PLAN:"(Your Current Plan)",SUB_MANAGER_VIP_ACCT_GREETING:"Hello, <%= firstName %>! You currently have a complimentary subscription to Adobe <%= subscriptionName %>.",SUB_MANAGER_VIP_SUB_APRO:"Acrobat Pro",SUB_MANAGER_VIP_SUB_ASTD:"Acrobat Standard",SUB_MANAGER_VIP_SUB_CPDF:"PDF Pack",SUB_MANAGER_VIP_SUB_SPDF:"Create PDF",SUB_MANAGER_VIP_SUB_EPDF:"Export PDF",SUB_MANAGER_VIP_SUB_DEFAULT:"Acrobat.com",SUB_MANAGER_VIP_ACCT_STATUS:'For any questions regarding your account please send an email to <a href="mailto:ACOM_VIP@adobe.com">ACOM_VIP@adobe.com</a>.',SUB_MANAGER_TEAM_TITLE:"Team:",SUB_MANAGER_TEAM_STATUS:"To change your membership, please contact your Team Administrator.",SUB_MANAGER_TEAM_STD_SUBSCRIPTION:"Adobe Acrobat Standard for Teams",SUB_MANAGER_TEAM_PRO_SUBSCRIPTION:"Adobe Acrobat Pro for Teams",SUB_MANAGER_RENEWAL_TITLE:"Renewal date:",SUB_MANAGER_RENEWAL_TERM:"Your contract will renew on ",SUB_MANAGER_RENEWAL_FUTURE:"(<%= numOfMonth %> months until renewal)",SUB_MANAGER_PAYMENTINFO:"Payment info:",SUB_MANAGER_PAYMENT_CARD:"Payment card:",SUB_MANAGER_PAYMENT_CARD_EXPIRE:"Expires on ",SUB_MANAGER_PAYMENT_CARD_EXPIRED:"Expired on ",SUB_MANAGER_BILLING_ADDR_TITLE:"Billing address:",SUB_MANAGER_BILLING_EDIT_PAYMENT:"Edit Payment Info",SUB_MANAGER_CC_EXPIRED:"Your credit card is expired. Please update it using Edit Payment Info button above.",SUB_MANAGER_BILLING_LOADING:"Loading payment info...",SUB_MANAGER_UPGRADE:"Upgrade",SUB_MANAGER_DONTUPGRADE:"Cancel",SUB_MANAGER_DOWNGRADE:"Downgrade",SUB_MANAGER_AUTORENEWAL:"Auto Renewal: ",SUB_MANAGER_AUTORENEWAL_ON:"ON",SUB_MANAGER_AUTORENEWAL_OFF:"OFF",SUB_MANAGER_CANCELPLAN:"Turn OFF",SUB_MANAGER_RESTARTPLAN:"Turn ON",SUB_MANAGER_BANNER_UPGRADE:"Upgrade Now",SUB_MANAGER_SUPPORT_MSG_FOR_CANCEL:"We are unable to complete your request. Please go to Adobe.com to turn off Auto Renewal.",SUB_MANAGER_SUPPORT_MSG_FOR_RESTART:"We are unable to complete your request. Please go to Adobe.com to turn on Auto Renewal.",SUB_MANAGER_SUPPORT_MSG_FOR_SUB:"We are unable to show your plan information. Please go to Adobe.com to view your plan information.",SUB_MANAGER_SUPPORT_MSG_FOR_SAP:"Adobe is currently processing your recent order. Please try your upgrade request again in a few hours or contact customer support.",SUB_MANAGER_SUPPORT_MSG:"To complete your upgrade, please contact customer support.",SUB_MANAGER_UPGRADE_MSG_FOR_INACTIVE:"To upgrade your plan, please go to my plan and turn on Auto Renewal.",SUB_MANAGER_CUS_SUPPORT_ACTION:"Contact Customer Support",SUB_MANAGER_SUPPORT_ACTION:"Go to Adobe.com",SUB_MANAGER_CC_EXP_MSG:"Your credit card has expired. Please update your credit card information.",SUB_MANAGER_CC_EXP_ACTION:"Update credit card",SUB_MANAGER_CC_EXP_MSG_NEW:"Your credit card has expired. Please click on Edit Billing to update your card details.",SUB_MANAGER_CC_REJECTED:"We’ve encountered an error with your credit card. Please click on Edit Billing to update your card details.",SUB_MANAGER_INVALID_VAT_ERR:"We’ve encountered an error with your credit card’s VAT. Please click on Edit Billing to update this information.",SUB_MANAGER_INVALID_ADDR_ERR:"We’ve encountered an error with your billing address. Please click on Edit Billing to update this information.",SUB_MANAGER_INVALID_BILLING_ACTION:"Edit Billing",SUB_MANAGER_UPGRADE_NOT_NEEDED:"Our records show that you are already subscribed. Please click ok to refresh your browser window and see the upgraded service.",SUB_MANAGER_EPDF_TO_CPDF_ANNUAL:"Need to convert files to PDF? Get Adobe PDF Pack!",SUB_MANAGER_SPDF_TO_CPDF_ANNUAL:"Need to export PDF files to Word? Get Adobe PDF Pack!",SUB_MANAGER_EPDF_TO_CPDF_ANNUAL_DETAILS:"Add the ability to convert images and documents to PDF and merge multiple files into a single PDF for only <%= ratePerMon %>/mo.*",SUB_MANAGER_SPDF_TO_CPDF_ANNUAL_DETAILS:"Add the ability to convert PDFs to Word or Excel and merge multiple files into a single PDF for only <%= ratePerMon %>/mo.*",SUB_MANAGER_EPDF_TO_CPDF_ANNUAL_FOOT:"*Billed annually at <%= ratePerYear %>/year",SUB_MANAGER_CPDF_TO_ASUB_MONTHLY:"Need to do more with your PDF files? Get Adobe Acrobat Pro!",SUB_MANAGER_CPDF_TO_ASUB_MONTHLY_DETAILS:"Add access to Acrobat XI Pro software to edit and secure PDF files, create PDF and web forms, and more. Only <%= ratePerMon %>/mo.*",SUB_MANAGER_CPDF_TO_ASUB_MONTHLY_FOOT:"*Annual commitment required.",SUB_MANAGER_ASUB_MONTHLY_TO_ANNUAL:"Get Adobe Acrobat Pro for less",SUB_MANAGER_ASUB_MONTHLY_TO_ANNUAL_DETAILS:"Lower your monthly payments by signing up for a year! Only <%= ratePerMon %>/mo with annual commitment.",SUB_MANAGER_PREVIEW_NEWPLAN_CHARGE:"Charge for new plan:",SUB_MANAGER_PREVIEW_SUBTOTAL:"Subtotal",SUB_MANAGER_PREVIEW_TAX:"Tax",SUB_MANAGER_PREVIEW_EACHMONTH:"per month",SUB_MANAGER_PREVIEW_EACHYEAR:"per year",SUB_MANAGER_PREVIEW_NEWPLAN_MESSAGE1:"Your current plan <%= currentSubscriptionName %> will be stopped,",SUB_MANAGER_PREVIEW_NEWPLAN_MESSAGE2:"and you will receive a separate credit of ",SUB_MANAGER_PREVIEW_TERMTITLE:"Terms and Conditions:",SUB_MANAGER_PREVIEW_PASSWDMSG:"For your security, please enter your account password",SUB_MANAGER_PREVIEW_WRONGPASSWORD:"Password is incorrect. Please try again.",SUB_MANAGER_PREVIEW_CHECKBOX_REMINDER:"To continue, you must check the box acknowledging you have read and agree to the Terms and Conditions.",FORGOT_PWD_TITLE:"Forgot Your Password?",SUB_MANAGER_UPGRADE_DONE:"<div class='site-catalyst aic-upgrade-confirm' data-source='<%= source %>'>Your plan has been upgraded.</div><br><div>An email confirmation has been sent to <%= userEmailAddr %>.</div>",SUB_MANAGER_UPGRADE_DONE_PART2:"An email confirmation has been sent to <%= userEmailAddr %>.",SUB_MANAGER_UPGRADE_DONE_ACTION:"Get Started with <%= toolName %>",SUB_MANAGER_CANCEL_CONFIRMED:"Auto Renewal has been turned off successfully.",SUB_MANAGER_RESTART_CONFIRMED:"Auto Renewal has been turned on successfully.",SUB_MANAGER_EDITBILLING_ERROR:"We're sorry, we have encountered an error processing this information. Please try using a different web browser.",SUB_MANAGER_CALL_SUPPORT_MSG_BILLING:"If the problem persists, please contact Customer Support.",ANYWARE_CART_ERROR:"Your purchase request failed.",ANYWARE_CART_ADOBE_STORE:"Please go to Adobe store to complete your purchase.",ANYWARE_CART_PURCHASE_SUCCESS:"Your order has been placed.",ANYWARE_CART_PURCHASE_OPEN:"Thank you very much for placing an order with Adobe!<br/><br/>We are currently experiencing issues with our order processing system. Your order will be reviewed and processed shortly. Within 24 hours you will receive an email with the status of your order.<br/><br/>Your credit card will not be charged until your order is processed!",ANYWARE_CART_CC_EXPIRED_ERROR:"Your order Failed. Credit card is expired.",ANYWARE_CART_CC_ADDRESS_ERROR:"Your order Failed. Credit Card address is invalid.",ANYWARE_CART_CC_BILLING_ADDRESS_ERROR:"Your order Failed. Billing address is invalid.",SUB_MANAGER_UNAVAILABLE_COUNTRY:"Unsupported Country",SUB_MANAGER_PURCHASE_UNAVAILABLE_COUNTRY_BODY:"Sorry, this Adobe product is currently not available for sale in your country.",SUB_MANAGER_UPGRADE_UNAVAILABLE_COUNTRY_BODY:"Sorry, this Adobe product is currently not available for upgrade in your country.",CANCELLATION_DIALOG_TITLE_NAME:"Turn OFF Auto Renewal",CANCELLATION_DIALOG_TITLE:"If you turn off Auto Renewal now, you will not have access to the <%= productName %> tools after <%= titleDate %>.",CANCELLATION_RADIO_BUTTON_SECTION_TITLE:"Please take a moment to tell us why you are turning off Auto Renewal.",CANCELLATION_WRONG_PRODUCT:"I accidentally purchased the wrong product.",CANCELLATION_NOT_NEEDED:"I no longer need this product.",CANCELLATION_TOO_COMPLICATED:"Product is too complicated.",CANCELLATION_PERFORMS_POORLY:"Product performs poorly.",CANCELLATION_MISSING_FUNCTIONALITY:"Product does not have the functionality that I need.",CANCELLATION_TOO_EXPENSIVE:"Product is too expensive.",CANCELLATION_OTHER_COMPANY_PRODUCT:"I prefer to use another company's product.",CANCELLATION_ADOBE_PRODUCT:"I prefer to use a different Adobe product.",CANCELLATION_OTHER:"Other.",SUB_AUTO_RENEWAL_ON:"Turn ON Auto Renewal",SUB_MANAGER_EXP_CC_AlERT:"Alert",SUB_MANAGER_EXP_CC_AlERT_MSG1:"Your credit card ending in <%= ccEndDigit %> will be expiring in <%= days %> days!",SUB_MANAGER_EXP_CC_AlERT_MSG2:"Click 'Update Card' to edit your billing information and ensure continued access to <%= productName %>.",SUB_MANAGER_EXP_CC_ACTION:"Update Card",SUB_MANAGER_EXP_CC_ACTION2:"Remind Me later",SUB_MANAGER_CC_EXP:"Credit Card Expired",SUB_MANAGER_CC_EXP_MSG1:"Your credit card ending in <%= ccEndDigit %> has expired!",SUB_MANAGER_CC_EXP_MSG2:"Your credit card has expired. Please update your card to ensure continued access to <%= productName %>.",SUB_MANAGER_CC_EXP_SUSP_MSG1:"<%= name %>, we tried charging <%= amountWithCurrenySymbol %> to your credit card on <%= fullDate %> but it appears that your credit card has expired.",SUB_MANAGER_CC_EXP_SUSP_MSG2_PRE:"As a courtesy, ",SUB_MANAGER_CC_EXP_SUSP_MSG2_MID:"you have until <%= fullDateAMonthLater %> to update your card ",SUB_MANAGER_CC_EXP_SUSP_MSG2_END:"to ensure continued access to <%= productName %>.",SUB_MANAGER_CC_EXP_SUSP30_MSG1:"<%= name %>, your credit card expired on <%= shortDate %> and you are now past the grace period of 30-days.",SUB_MANAGER_CC_EXP_SUSP30_MSG2_PRE:"Please contact Adobe",SUB_MANAGER_CC_EXP_SUSP30_MSG2_MID:" customer support ",SUB_MANAGER_CC_EXP_SUSP30_MSG2_END:"to reactivate your account.",SUB_MANAGER_ERROR_DLG_TITLE:"Unable to complete request",SUB_MANAGER_SUSI_EDITBILLING_MSG:"To continue editing your billing information, please click OK button",SUB_MANAGER_SUSI_PURCHASE_MSG:"To continue purchasing your product, <span class='aic-susi-continue'>click here.</span>",TEAM_INVITE_NOT_FOUND_TITLE:"Invitation Not Found",TEAM_INVITE_ALREADY_ACCEPTED_TITLE:"Invitation Already Accepted",TEAM_INVITE_EXPIRED_TITLE:"Invitation Expired",TEAM_INVITE_REVOKED_TITLE:"Invitation Revoked",TEAM_INVITE_UNKNOWN_TITLE:"Unknown Error",TEAM_INVITE_NOT_FOUND_DESCRIPTION:"The invitation you are trying to access is not available.",TEAM_INVITE_ALREADY_ACCEPTED_DESCRIPTION:"The invitation you are trying to access has already been accepted.  Please <a href='<%= acrobatDotComLink %>'>click here</a> to sign in.",TEAM_INVITE_EXPIRED_DESCRIPTION:"The invitation was not claimed in time and has expired.",TEAM_INVITE_REVOKED_DESCRIPTION:"The invitation has been revoked and cannot be claimed.",TEAM_INVITE_UNKNOWN_DESCRIPTION:"An error has occurred with the team invitation.",TEAM_INVITE_NOT_FOUND_DETAILS:"If you feel like you've reached this message in error, please talk with your team administrator and ask them to re-invite you.",TEAM_INVITE_ALREADY_ACCEPTED_DETAILS:"If you feel like you've reached this message in error, please talk with your team administrator and ask them to re-invite you.",TEAM_INVITE_EXPIRED_DETAILS:"Please talk with your team administrator and ask them to re-invite you.",TEAM_INVITE_REVOKED_DETAILS:"If you feel like you've reached this message in error, please contact your team administrator.",TEAM_INVITE_UNKNOWN_DETAILS:"Please talk with your team administrator.",INVITE_TITLE:"You are one step away!",INVITE_PRO_DESCRIPTION:"You are one step away from accessing Adobe Acrobat Pro.",INVITE_STANDARD_DESCRIPTION:"You are one step away from accessing Adobe Acrobat Standard.",ACTIVATE_SUBSCRIPTION:"Activate Subscription",SIGNED_IN:"Signed in as",ACCESS_TO_PRO:'Access to Acrobat Pro is activated by clicking on "Activate Subscription" above. Access includes Acrobat Pro Desktop, online services and online file storage.',ACCESS_TO_STANDARD:'Access to Acrobat Standard is activated by clicking on "Activate Subscription" above. Access includes Acrobat Standard Desktop, online services and online file storage.',INVITE_GET_STARTED:"Get Started",AFTER_INVITE_ACCEPT_PRO:"After you accept the invitation, you will be shown the Acrobat tab. Click on the Download Now button to download Acrobat Pro.",AFTER_INVITE_ACCEPT_STANDARD:"After you accept the invitation, you will be shown the Acrobat tab. Click on the Download Now button to download Acrobat Standard.",DATE_TODAY_HH_MM_AMPM:"Today <%= hour %>:<%= minute %> <%= amPm %>",DATE_YESTERDAY_HH_MM_AMPM:"Yesterday <%= hour %>:<%= minute %> <%= amPm %>",DATE_MONTH_DD_YYYY_HH_MM_AMPM:"<%= month %> <%= day %>, <%= year %> <%= hour %>:<%= minute %> <%= amPm %>",DATE_MONTH_DD_YYYY:"<%= month %> <%= day %>, <%= year %>",AM:"AM",PM:"PM",USER_ACCOUNT:"My Information ...",STATUS_DETAILS_COMBINING:"Combining",STATUS_DETAILS_UPLOAD_START:"Uploading...",STATUS_DETAILS_UPLOAD_CANCELLED:"Upload Cancelled",STATUS_DETAILS_UPLOAD_ERROR:"Upload Error",STATUS_DETAILS_CONVERTING:"Converting...",STATUS_DETAILS_OPERATION_FAILED:"Conversion Failure",STATUS_DETAILS_COMPLETE:"Ready",STATUS_DETAILS_WAITING:"Pending...",STATUS_COULD_NOT_COMBINE:"Could not Combine",STATUS_COULD_NOT_EXPORT:"Could not Export",STATUS_COULD_NOT_CONVERT:"Could not Convert",STATUS_COULD_NOT_ORGANIZE:"Could not Organize Pages",STATUS_DETAILS_THUMBNAILS:"Generating Thumbnails",STATUS_DETAILS_THUMBNAIL_FAILURE:"Thumbnail generation failed.",STATUS_DETAILS_THUMBNAIL_COMPLETE:"Thumbnail generation completed.",DELETE:"Delete",RECENT_EXPORT_FILES:"Exported Files",RECENT_CONVERT_FILES:"Converted Files",RECENT_COMBINE_FILES:"Combined Files",VIEW_ALL_FILES:"View All",NO_RECENT_EXPORT:"No files have been exported from PDF",NO_RECENT_CONVERT:"No files have been converted to PDF",NO_RECENT_COMBINE:"No files have been combined to PDF",FINISHED:"finished",WAITING:"waiting",IPP_TITLE:"Print to PDF Setup",IPP_DETAIL:"Print to PDF from within almost any application. Simply open a document, choose Print and select Adobe CreatePDF Desktop Printer. The PDF file will automatically be saved to your CreatePDF account.",IPP_PLATFORM:"Available for Windows XP, Vista and 7 only.",IPP_DOWNLOAD:"Download Installer",KB:"<%= num %> KB",MB:"<%= num %> MB",GB:"<%= num %> GB",DECIMAL_SEPARATOR:".",MY_SUBSCRIPTIONS:"My Subscriptions",MY_PLAN:"My Plan",MY_PLAN_UC:"My Plan...",MY_INFORMATION_TITLE:"My Information",INVALID_NAME:'Sorry! Your first and last names each must be from 1 to 255 characters long, and cannot contain any of these characters: )<\\@;/>("',FIRST_NAME:"First Name",LAST_NAME:"Last Name",ADOBE_ID:"Adobe ID",PASSWORD:"Password",LANGUAGE:"Language",OPT_IN:"Yes! I would like to receive email communications relating to Adobe, its products and services including product releases, product upgrades, seminars, events, surveys, training, and special offers, and Adobe and its agents may use data I have provided in accordance with the <a class='aic-privacy-policy site-catalyst' target='_blank' href='<%=aicHostURL%>/redir/privacy'><b>Adobe Online Privacy Policy</b></a>.",CPDF_ERR_BODY_UNSUPPORTED_TYPE_LINK_REF:"/redir/cpdf_cpdf_supported",GET_STARTED:"Subscribe Now",LEARN_MORE:"Learn more",EPDF_UPSELL_TITLE:"Adobe ExportPDF",EPDF_UPSELL_SUBTITLE:"Easily convert PDF files to Word or Excel.",EPDF_UPSELL_SUBTITLE1:"Subscribe and add the ability to export an unlimited number of PDF files via your browser or mobile device.",EPDF_UPSELL_TO_WORD_TITLE:"Convert PDF to Word",EPDF_UPSELL_TO_WORD_MSG:"Export your PDF files to editable DOC, DOCX, or RTF files.",EPDF_UPSELL_TO_EXCEL_TITLE:"Convert PDF to Excel",EPDF_UPSELL_TO_EXCEL_MSG:"Turn PDF files into editable XLSX files with table formatting preserved.",EPDF_UPSELL_TO_OCR_TITLE:"Edit scanned text",EPDF_UPSELL_TO_OCR_MSG:"With optical character recognition (OCR), even scanned text becomes editable.",CPDF_UPSELL_TITLE:"Adobe PDF Pack",CPDF_UPSELL_SUBTITLE:"Easily convert business documents or image files into PDF.",CPDF_UPSELL_SUBTITLE1:"Subscribe and add the ability to create an unlimited number of PDF files, combine multiple files into a single PDF, and export PDF files to Office formats.",CPDF_UPSELL_OFFICE_TO_PDF_TITLE:"Convert Office files to PDF",CPDF_UPSELL_OFFICE_TO_PDF_MSG:"Turn Microsoft Word, Excel, and PowerPoint files into PDF documents.",CPDF_UPSELL_IMG_TO_PDF_TITLE:"Convert image files to PDF",CPDF_UPSELL_IMG_TO_PDF_MSG:"Easily convert scanned documents or image formats to PDF, including JPEG, GIF, PNG, BMP, and TIF files.",CPDF_UPSELL_PRINT_TO_PDF_TITLE:"Print to PDF",CPDF_UPSELL_PRINT_TO_PDF_MSG:"Just click Print from virtually any Windows desktop application to create high-quality PDF files.",CMBPDF_UPSELL_TITLE:"Adobe PDF Pack",CMBPDF_UPSELL_SUBTITLE:"Merge multiple documents or images into PDF.",CMBPDF_UPSELL_MERGE_TITLE:"Merge files to PDF",CMBPDF_UPSELL_MERGE_MSG:"Quickly convert and combine a wide range of document and image formats into a single PDF file.",CMBPDF_UPSELL_REORDER_TITLE:"Easily reorder files",CMBPDF_UPSELL_REORDER_MSG:"Rearrange files to ensure your information is presented in the right order.",CMBPDF_UPSELL_SHARE_TITLE:"Preview and download",CMBPDF_UPSELL_SHARE_MSG:"Preview your combined file online, then download the PDF to your desktop.",CMBN_DLG_TITLE:"Combine Files",CMBN_DLG_COMBINED_PDF_FILENAME_HINT:"Enter combined PDF file name",CMBM_DLG_NOT_ENOUGH_FILES:"Not enough files",CMBN_DLG_COMBINED_PDF_FILES_WARNING:"Add more than 1 file to combine.",CMBN_DLG_CONVERSION_FAILURE:"Conversion failure",CMBN_MULTI_FILE_SEPARATOR:", ",CMBN_ERR_TITLE_FAILED_TO_COMBINE:"Your PDF conversion request failed.",CMBN_ERR_TITLE_UPLOAD_TOO_LARGE_1:'"<%= name %>" is too large for combining to a PDF.',CMBN_ERR_TITLE_UPLOAD_TOO_LARGE_N:'The files "<%= names %>" are too large for combining to a PDF.',CMBN_ERR_TITLE_UPLOAD_TOO_SMALL_1:'"<%= name %>" is too small for combining to a PDF.',CMBN_ERR_TITLE_UPLOAD_TOO_SMALL_N:'The files "<%= names %>" are too small for combining to a PDF.',CMBN_ERR_TITLE_UNSUPPORTED_TYPE_1:'"<%= name %>" is in a format not supported for combining to PDF.',CMBN_ERR_TITLE_UNSUPPORTED_TYPE_N:'The files "<%= names %>" are in a format not supported for combining to PDF.',CMBN_ERR_TITLE_SOURCE_IS_ENCRYPTED:'"<%= name %>" failed to convert to PDF.',CMBN_ERR_TITLE_STORAGE_LIMIT_EXCEEDED:"The files failed to combine because storage limit was exceeded.",CMBN_ERR_TITLE_TOO_MANY_FILES:"Too many files to combine",CMBN_ERR_TITLE_FILE_COUNT_LIMIT_EXCEEDED:"You may only combine 12 or fewer files. Please remove some files",CMBN_ERR_TITLE_DND_FOLDER_NOTSUPPORTED_1:"A folder cannot be dropped here.",CMBN_ERR_TITLE_DND_FOLDER_NOTSUPPORTED_N:'The folders "<%= names %>" cannot be dropped here.',CMBN_ERR_TITLE_INVALID_PAGE_RANGE:"Page Range Error",CMBN_ERR_BODY_UPLOAD_TOO_LARGE:"Please select files smaller than 100 MB.",CMBN_ERR_BODY_SOURCE_IS_ENCRYPTED:"The document is password protected.",CMBN_ERR_BODY_DOCUMENT_CORRUPTED:"One of the files is either corrupt or in invalid format and cannot be used to generate the combined PDF file.",CMBN_ERR_BODY_CONVERSION_FAILED:"One of the files is either corrupt or protected and cannot be used to generate the combined PDF file.",CMBN_ERR_BODY_STORAGE_LIMIT_EXCEEDED:"Please back up and delete some of your online files and try again.",CMBN_ERR_BODY_PDF_IS_ENCRYPTED_OR_FORM:"The file is either password protected, encrypted or is a PDF form that could not be combined to generate the PDF file.",CMBN_ERR_BODY_PDF_IS_CERTIFIED:"The file is a certified PDF and could not be combined to generate the PDF file.",CMBN_ERR_BODY_DND_FOLDER_NOTSUPPORTED:"Drag and Drop is not supported for folders",CMBN_ERR_CONVERSION_FAILURE:"You must delete the files that failed to convert before attempting to combine.",CMBN_TOO_MANY_PAGES:"Too many pages (<%= pageCount %>) to expand",CMBN_TOO_MANY_PAGES_2:"This document has too many pages (<%= pageCount %>) to expand page thumbnails. All pages will be combined.",CMBN_TOO_MANY_PAGES_TITLE:"Too Many Pages",CMBN_ERR_INVALID_PAGE_RANGE:"Invalid page range specified. This may be caused by invalid syntax or too many output pages.",CMBN_ERR_BODY_UNSUPPORTED_TYPE:"Please choose different files and try again. For a list of supported file formats <a href='<%= linkRef %>' target='_blank'>click here</a>.",CMBN_ERR_BODY_UNSUPPORTED_TYPE_LINK_REF:"/redir/cpdf_combine_supported",ORG_ERR_TITLE_FAILED_TO_ORGANIZE:"Your request to organize pages request failed",ORG_ERR_TITLE_UNSUPPORTED_TYPE_1:'"<%= name %>" is in a format not supported for organizing pages.',ORG_ERR_BODY_UNSUPPORTED_TYPE_LINK_REF:"/redir/cpdf_combine_supported",ORG_ERR_BODY_CONVERSION_FAILED:"One of the inserted files is either corrupt or protected and cannot be used for organizing pages.",ORG_ERR_TITLE_DND_FOLDER_NOTSUPPORTED_1:"A folder cannot be dropped here.",ORG_ERR_BODY_DOCUMENT_CORRUPTED:"The file appears to be corrupted.",ORG_ERR_TITLE_SOURCE_IS_ENCRYPTED:'"<%= name %>" is password protected and pages cannot be modified.',ORG_ERR_BODY_SOURCE_IS_ENCRYPTED:"The document is password protected.",ORG_ERR_TITLE_STORAGE_LIMIT_EXCEEDED:'"<%= name %>" cannot be modified because storage limit was exceeded.',ORG_ERR_BODY_STORAGE_LIMIT_EXCEEDED:"Please back up and delete some of your online files and try again.",ORG_ERR_BODY_TIMEOUT:"The file is either too large or too complex to modify pages.",ORG_ERR_BODY_UNSUPPORTED_TYPE:"Please choose different files and try again. For a list of supported file formats <a href='<%= linkRef %>' target='_blank'>click here</a>.",ORG_ERR_TITLE_UPLOAD_TOO_SMALL_1:'"<%= name %>" is too small to modify pages.',ORG_ERR_TITLE_UPLOAD_TOO_LARGE_1:'"<%= name %>" is too large to modify pages.',ORG_ERR_BODY_UPLOAD_TOO_LARGE:"Please select a smaller file.",DATE_JANUARY:"January",DATE_FEBRUARY:"February",DATE_MARCH:"March",DATE_APRIL:"April",DATE_MAY:"May",DATE_JUNE:"June",DATE_JULY:"July",DATE_AUGUST:"August",DATE_SEPTEMBER:"September",DATE_OCTOBER:"October",DATE_NOVEMBER:"November",DATE_DECEMBER:"December",SA_CONVERT_TO_PDF:"Create PDF",SA_CONVERT_TO_PDF_TOOLTIP:"Create PDF",SA_EXPORT_PDF:"Export PDF",SA_EXPORT_PDF_TOOLTIP:"Export PDF",GENERIC_ARIA_LABEL_STRING:"<%= prefix %>. <%= suffix %>",ECPDF_REMOVE:"Remove",TITLE_CREATE_RHP:"Other formats to PDF",CONTENT_CREATE_RHP:"Convert files to PDF and easily combine them with other file types",TITLE_EXPORT_RHP:"Adobe Convert PDF",CONTENT_EXPORT_RHP:"Convert PDF files to Word or Excel Online"}),define("aictools/util/truncate",["aictools/aic"],function(){var e,t,i,o={createDivCopy:function(o){var a,r;
return e===o?(a=t,r=i):(a=$(o),r=a.clone(!0),r.css({position:"absolute",left:-1e4,right:"auto",top:-1e4,bottom:"auto"}),e=o,t=a,i=r),r.html(a.html()),$("body").append(r),r},getTextSize:function(e){var t=this.createDivCopy(e),i=t.outerWidth(!1),o=t.outerHeight(!1);return t.remove(),{width:i,height:o}},truncateToFit:function(e,t,i){var o,a,r,s,n,l,c,d,p=$.trim(e.text().replace(/(\r\n|\n|\r)/gm,"")),u={text:p,truncatedText:p},g=t();if(0>=g)return u;for(o={truncateFromRight:!1,ellipsis:"...",maxIterations:10},i&&($.extend(o,i),o.ellipsis=_.escape(o.ellipsis)),a=p.length,r=a,s=a,n=2,d=0;(g>0||s>n)&&d<o.maxIterations;)s=Math.ceil(s/2),r=g>0?r-s:r+s,o.truncateFromRight?l=p.substring(0,r)+o.ellipsis:(c=Math.floor(r/2),l=p.substring(0,c)+o.ellipsis+p.substring(a-(r-c))),e.text(l),g=t(),d+=1;return e.attr("title",p),u.truncatedText=e.text(),u},truncateElementText:function(e,t){t||(t=e.width());var i=function(){return this.getTextSize(e).width-t};!isNaN(t)&&t>0&&this.truncateToFit(e,_.bind(i,this))},truncateInputPlaceholder:function(e){var t=e.css("text-indent"),i=t?parseInt(t,10):0,o=e.width()-2*i;!isNaN(o)&&o>0&&this.truncateAttribute(e,"placeholder",o)},truncateButtonLabel:function(e){var t=e.width();!isNaN(t)&&t>0&&this.truncateAttribute(e,"value",t)},truncateAttribute:function(e,t,i){var o=this.createDivCopy(e),a=function(){return this.getTextSize(o).width-i-1};o.text(e.attr(t)),this.truncateToFit(o,_.bind(a,this)),e.attr(t,o.text()),o.remove()},cheapTruncate:function(e,t){return e.length>t-5&&(t-=5,e=e.substr(0,t/2)+" ... "+e.substr(e.length-t/2)),e}};return o}),define("aictools/templates/job-error-template",[],function(){return"<div>  <div class='aic-error-dialog <%= errorClass %> site-catalyst aic-error-title'></div>  <div class='aic-error-body'></div></div>"}),define("aictools/ops/models/job-model-format-error",["aictools/util/localize"],function(e){return function(t,i,o){var a,r,s=e.htmlSanitize(_.extend({errorClass:t.get("errorClass"),linkRef:t.get("errorLinkRef")},o,t.get("errParams")));return a=$(_.template(i,s)),r=_.template(t.get("errorBody"),s),a.find(".aic-error-body").html(r),a.find(".aic-error-title").text(t.get("errorTitle")),a[0].outerHTML}}),define("aictools/views/job-model-failure",["aictools/aic","aictools/util/util","i18n!aictools/nls/ui-strings","aictools/util/truncate","aictools/templates/job-error-template","aictools/analytics/analytics","aictools/util/strings","aictools/ops/models/job-model-format-error","core/models/rna/rna-notification-model","core/utils/util"],function(e,t,i,o,a,r,s,n,l,c){var d=Backbone.Model.extend({initialize:function(o){this.analyticsParams=t.isWindows()?"TryWinPrint":"Other",this.analyticsToolString=null,this.bodyTag=null,this.displayConfigureIPPButton=t.isWindows(),this.emptyFiles=null,this.failWithDialog=!1,this.job=null,this.jobParameters=null,this.linkRef=null,this.multipleFiles=null,this.operationNumber=-1,this.titleTag=null,this.tooLargeFiles=null,this.view=null,o&&(o.failWithDialog&&(this.failWithDialog=o.failWithDialog),o.job&&(this.job=o.job),o.view&&(this.view=o.view),o.notification&&(this.notification=o.notification,this.NOTIFICATION_STATES=l.NOTIFICATION_STATES),o.showNativeDialog&&(this.showNativeDialog=o.showNativeDialog),this.jobParameters={dialogCloseText:i.CLOSE,format:this.job?this.job.get("format"):null,name:null,operation:this.job?this.job.get("operation"):null,severity:e.appApi.dialogApi.SEVERITY_ERROR,stage:e.JobModel.STAGES.OPERATION_FAILED},o.operationNumber?this.operationNumber=o.operationNumber:this.job&&(this.operationNumber={create:0,"export":1,combine:2,organize:4}[this.job.get("operation")]),o.analyticsToolString?this.analyticsToolString=o.analyticsToolString:-1!==this.operationNumber&&(this.analyticsToolString=0===this.operationNumber?s.scNames.CREATE:1===this.operationNumber?s.scNames.EXPORT:2===this.operationNumber?s.scNames.COMBINE:4===this.operationNumber?s.scNames.ORGANIZE:""),o.titleTag?this.titleTag=o.titleTag:-1!==this.operationNumber&&(this.titleTag=["CPDF_ERR_TITLE_FAILED_TO_CONVERT","EPDF_ERR_TITLE_FAILED_TO_EXPORT","CMBN_ERR_TITLE_FAILED_TO_COMBINE","CMBN_ERR_TITLE_FAILED_TO_COMBINE","ORG_ERR_TITLE_FAILED_TO_ORGANIZE"][this.operationNumber]),this.titleTag&&this.job&&("EPDF_ERR_TITLE_FAILED_TO_EXPORT"!==this.titleTag||this.job.get("format")||(this.titleTag="EPDF_ERR_TITLE_FAILED_TO_EXPORT_NO_FORMAT"))),this.bodyTag=[t.isWindows()?"CPDF_ERR_BODY_OTHER_ERRORS_WIN":"CPDF_ERR_BODY_OTHER_ERRORS_OTHER","EPDF_ERR_BODY_OTHER_ERRORS"][this.operationNumber]},processErrorCode:function(e,t){var i={AlreadyTargetType:this._alreadyTargetType,CloudError:this._cloudError,ConversionFailed:this._conversionFailed,DnDFolderNotSupported:this._dndFolderNotSupported,DocumentCorrupted:this._documentCorrupted,FileCountLimitExceeded:this._fileCountLimitExceeded,GeneralFormError:this._generalFormError,InvalidPageRange:this._invalidPageRange,PDFIsCertified:this._pdfIsCertified,PDFIsEncryptedOrForm:this._pdfIsEncryptedOrForm,PDFIsPortfolio:this._pdfIsPortfolio,PDFIsXFAForm:this._pdfIsXFAForm,PDFNoTables:this._pdfNoTables,PDFPolicyProtected:this._pdfPolicyProtected,QuotaExceeded:this._quotaExceeded,SourceIsEncrypted:this._sourceIsEncrypted,StorageLimitExceeded:this._storageLimitExceeded,TooManyPages:this._tooManyPages,ThumbnailFailure:this._thumbnailFailure,TimeOut:this._timeOut,Unknown:this._unknownError,UnknownFileType:this._unknownFileType,UnsupportedMimeType:this._unsupportedMimeType,UploadIsEmpty:this._uploadIsEmpty,UploadTooLarge:this._uploadTooLarge,UserCancelled:this._userCancelled,VirusDetected:this._virusDetected,UploadFailed:this._uploadFailed,GenericReaderError:this._genericReaderError};i[e]?i[e].call(this,t):this._unknownError(t),this.titleTag&&this.job&&("EPDF_ERR_TITLE_FAILED_TO_EXPORT"!==this.titleTag||this.job.get("format")||(this.titleTag="EPDF_ERR_TITLE_FAILED_TO_EXPORT_NO_FORMAT"))},emitJobInfo:function(){var t;if(this.multipleFiles&&(_.each(this.multipleFiles,function(e,t,i){i[t]=o.cheapTruncate(e,25/i.length)},this.multipleFiles),t=this.multipleFiles.join(i.CMBN_MULTI_FILE_SEPARATOR)),this.jobParameters.name||(this.jobParameters.name=o.cheapTruncate(this.job.get("fileName")||"",25)),!this.jobParameters.name){var s=this.job.get("errorFiles");s&&1===s.length?this.jobParameters.name=o.cheapTruncate(s[0]||"",25):s&&s.length>1&&(_.each(s,function(e,t,i){i[t]=o.cheapTruncate(e,100/i.length)},s),t=s.join(i.CMBN_MULTI_FILE_SEPARATOR))}if(!this.jobParameters.name&&this.multipleFiles&&1===this.multipleFiles.length&&(this.jobParameters.name=this.multipleFiles[0]),!this.jobParameters.name&&t&&(this.jobParameters.names=t),this.jobParameters.errorTitle=_.template(i[this.titleTag],this.jobParameters),this.jobParameters.errorBody=i[this.bodyTag],this.jobParameters.errorClass="aic-"+this.analyticsToolString+"-error",this.jobParameters.operationNumber=this.operationNumber,r.emit("##aic-"+this.analyticsToolString+"-error",{data:{ErrorCode:this.analyticsParams}}),this.job.set(this.jobParameters),this.notification&&this.NOTIFICATION_STATES){var l={errorTitle:this.job.get("errorTitle"),errorBody:this.job.get("errorBody")};this.notification.invoke("setProperty",{state:this.NOTIFICATION_STATES.FAILED,error:JSON.stringify(l)})}if(this.failWithDialog)if(this.view&&this.view.showError)e.appApi.networkConnectivityApi.isOnline()&&this.view.showError(this.job.get("errorTitle"),this.job.get("errorBody"));else{if(void 0===this.showNativeDialog||1!=this.showNativeDialog)return function(t){c.isCEF()&&t.set("errorLinkRef","");var o=e.appApi.dialogApi,r=n(t,a),s=i[["STATUS_COULD_NOT_CONVERT","STATUS_COULD_NOT_EXPORT","STATUS_COULD_NOT_COMBINE","STATUS_COULD_NOT_COMBINE","STATUS_COULD_NOT_ORGANIZE"][t.get("operationNumber")]];return e.appApi.networkConnectivityApi.isOnline()?o.displayHtmlAlert(t.get("severity"),s,r,t.get("dialogCloseText")):$.Deferred().resolve().promise()}(this.job);e.appApi.rnaApi.done(_.bind(function(e){e.rnaServicesAPI.showNativeAlertDialog(this.job.get("errorTitle"))},this))}},_alreadyTargetType:function(){this.analyticsParams="AlreadyType",this.job&&this.job.get("unsupportedFiles")&&(this.job.get("unsupportedFiles").length>1?(this.multipleFiles=this.job.get("unsupportedFiles"),this.operationNumber=2===this.operationNumber?3:this.operationNumber,this.jobParameters.severity=e.appApi.dialogApi.SEVERITY_WARNING,this.jobParameters.dialogCloseText=i.CONTINUE):this.jobParameters.name=o.cheapTruncate(this.job.get("unsupportedFiles")[0]||"",25)),this.titleTag=[this.multipleFiles?"CPDF_ERR_TITLE_UNSUPPORTED_TYPES":"CPDF_ERR_TITLE_UNSUPPORTED_TYPE",this.multipleFiles?"EPDF_ERR_TITLE_FAILED_TO_EXPORT_NO_FORMAT_N":"EPDF_ERR_TITLE_FAILED_TO_EXPORT_NO_FORMAT","CMBN_ERR_TITLE_UNSUPPORTED_TYPE_1","CMBN_ERR_TITLE_UNSUPPORTED_TYPE_N","ORG_ERR_TITLE_UNSUPPORTED_TYPE_1"][this.operationNumber],this.bodyTag=this.multipleFiles?"CPDF_ERR_BODY_ALREADYPDF_FILES":"CPDF_ERR_BODY_ALREADYPDF_FILE",this.linkRef=[i.CPDF_ERR_BODY_UNSUPPORTED_TYPE_LINK_REF,i.CPDF_ERR_BODY_UNSUPPORTED_TYPE_LINK_REF,i.CMBN_ERR_BODY_UNSUPPORTED_TYPE_LINK_REF,i.CMBN_ERR_BODY_UNSUPPORTED_TYPE_LINK_REF,i.ORG_ERR_BODY_UNSUPPORTED_TYPE_LINK_REF][this.operationNumber]},_cloudError:function(e){var t={Forbidden:_.bindex(this._virusDetected,this),QuotaExceeded:_.bindex(this._storageLimitExceeded,this),Unknown:_.bindex(this._unknownError,this)};t[e]?t[e]():t.Unknown(e)},_conversionFailed:function(){this.analyticsParams="ConvFailed",this.titleTag="EPDF_ERR_TITLE_FAILED_TO_EXPORT",this.bodyTag=["EPDF_ERR_BODY_CONVERSION_FAILED","EPDF_ERR_BODY_CONVERSION_FAILED","CMBN_ERR_BODY_CONVERSION_FAILED","CMBN_ERR_BODY_CONVERSION_FAILED","ORG_ERR_BODY_CONVERSION_FAILED"][this.operationNumber]},_invalidPageRange:function(){this.analyticsParams="InvalidRange",this.titleTag="CMBN_ERR_TITLE_INVALID_PAGE_RANGE",this.bodyTag="CMBN_ERR_INVALID_PAGE_RANGE"},_dndFolderNotSupported:function(){this.analyticsParams="DnDFldr",this.multipleFiles=this.job?this.job.get("folderNames"):null,this.bodyTag="CMBN_ERR_BODY_DND_FOLDER_NOTSUPPORTED",this.failWithDialog=!0,this.titleTag=[this.multipleFiles&&this.multipleFiles.length>1?"CMBN_ERR_TITLE_DND_FOLDER_NOTSUPPORTED_N":"CMBN_ERR_TITLE_DND_FOLDER_NOTSUPPORTED_1","CMBN_ERR_TITLE_DND_FOLDER_NOTSUPPORTED_1","CMBN_ERR_TITLE_DND_FOLDER_NOTSUPPORTED_1","CMBN_ERR_TITLE_DND_FOLDER_NOTSUPPORTED_N","ORG_ERR_TITLE_DND_FOLDER_NOTSUPPORTED_1"][this.operationNumber]},_documentCorrupted:function(){this.analyticsParams="CorrptDoc",this.bodyTag=["CPDF_ERR_BODY_DOCUMENT_CORRUPTED","EPDF_ERR_BODY_DOCUMENT_CORRUPTED","CMBN_ERR_BODY_DOCUMENT_CORRUPTED","CMBN_ERR_BODY_DOCUMENT_CORRUPTED","ORG_ERR_BODY_DOCUMENT_CORRUPTED"][this.operationNumber]},_fileCountLimitExceeded:function(){this.analyticsParams="FileCntLimExcd",this.titleTag="CMBN_ERR_TITLE_FILE_COUNT_LIMIT_EXCEEDED",this.bodyTag=null,this.failWithDialog=!0},_generalFormError:function(){this.analyticsParams="GeneralFormErr",this.titleTag="UNKNOWN_ERROR_TITLE",this.bodyTag="UNKNOWN_ERROR_BODY"},_pdfIsCertified:function(){this.analyticsParams="IsCertified",this.titleTag="CMBN_ERR_TITLE_FAILED_TO_COMBINE",this.bodyTag="CMBN_ERR_BODY_PDF_IS_CERTIFIED"},_pdfIsEncryptedOrForm:function(){this.analyticsParams="EncryptOrForm",this.titleTag="CMBN_ERR_TITLE_FAILED_TO_COMBINE",this.bodyTag="CMBN_ERR_BODY_PDF_IS_ENCRYPTED_OR_FORM"},_pdfIsPortfolio:function(){this.analyticsParams="IsPortf",this.titleTag="EPDF_ERR_TITLE_PDF_IS_PORTFOLIO",this.bodyTag="EPDF_ERR_BODY_PDF_IS_PORTFOLIO"},_pdfIsXFAForm:function(){this.analyticsParams="XFADoc",this.titleTag="EPDF_ERR_TITLE_FAILED_TO_EXPORT",this.bodyTag="EPDF_ERR_XFA_PDF"},_pdfNoTables:function(){this.analyticsParams="NoTbles",this.titleTag="EPDF_ERR_TITLE_FAILED_TO_EXPORT",this.bodyTag="EPDF_ERR_BODY_PDF_NO_TABLES"},_pdfPolicyProtected:function(){this.analyticsParams="PlcyProt",this.titleTag="EPDF_ERR_TITLE_FAILED_TO_EXPORT",this.bodyTag="EPDF_ERR_BODY_PDF_POLICY_PROTECTED"},_quotaExceeded:function(){this._storageLimitExceeded()},_sourceIsEncrypted:function(){this.analyticsParams="PwdEncrypt",this.titleTag=["CPDF_ERR_TITLE_FAILED_TO_CONVERT","EPDF_ERR_TITLE_SOURCE_IS_ENCRYPTED","CMBN_ERR_TITLE_SOURCE_IS_ENCRYPTED","CMBN_ERR_TITLE_SOURCE_IS_ENCRYPTED","ORG_ERR_TITLE_SOURCE_IS_ENCRYPTED"][this.operationNumber],this.bodyTag=["CPDF_ERR_BODY_SOURCE_IS_ENCRYPTED","EPDF_ERR_BODY_SOURCE_IS_ENCRYPTED","CMBN_ERR_BODY_SOURCE_IS_ENCRYPTED","CMBN_ERR_BODY_SOURCE_IS_ENCRYPTED","ORG_ERR_BODY_SOURCE_IS_ENCRYPTED"][this.operationNumber]},_storageLimitExceeded:function(){this.analyticsParams="StrgLimExcd",this.titleTag=["CPDF_ERR_TITLE_STORAGE_LIMIT_EXCEEDED","EPDF_ERR_TITLE_STORAGE_LIMIT_EXCEEDED","CMBN_ERR_TITLE_STORAGE_LIMIT_EXCEEDED","CMBN_ERR_TITLE_STORAGE_LIMIT_EXCEEDED","ORG_ERR_TITLE_STORAGE_LIMIT_EXCEEDED"][this.operationNumber],this.bodyTag=["CPDF_ERR_BODY_STORAGE_LIMIT_EXCEEDED","EPDF_ERR_BODY_STORAGE_LIMIT_EXCEEDED","CMBN_ERR_BODY_STORAGE_LIMIT_EXCEEDED","CMBN_ERR_BODY_STORAGE_LIMIT_EXCEEDED","ORG_ERR_BODY_STORAGE_LIMIT_EXCEEDED"][this.operationNumber]},_tooManyPages:function(){this.analyticsParams="TooManyPages",this.titleTag="ORGANIZE_TOO_MANY_PAGES",this.bodyTag="ORGANIZE_PAGE_LIMIT"},_timeOut:function(){this.analyticsParams="Timeout",this.bodyTag=["CPDF_ERR_BODY_TIMEOUT","EPDF_ERR_BODY_TIMEOUT","CPDF_ERR_BODY_TIMEOUT","CPDF_ERR_BODY_TIMEOUT","ORG_ERR_BODY_TIMEOUT"][this.operationNumber]},_unknownError:function(e){var i={"HTTP Error (extra data logged)":_.bindex(this._unknownHTTPError,this),"LC conversion failure code = ":_.bindex(this._unknownLCConversionError,this),"Unknown PDF error:file=":_.bindex(this._unknownFileError,this),ENTERPRISE_USERS_ACCESS_ERROR:_.bindex(this._enterpriseUserAccessError,this),ENCRYPTION_KEY_DISABLED_ERROR:_.bindex(this._encryptionKeyInvalidError,this)};i[e]?i[e]():e&&_.contains(_.keys(i),e.substr(0,23))?i[e.substr(0,23)]():(this.analyticsParams="Other",this.titleTag="UNKNOWN_ERROR_TITLE",this.bodyTag="UNKNOWN_ERROR_BODY",t.isDevTestEnvironment()&&alert("Processing unknown error: "+e))},_unknownCombiningError:function(){this.analyticsParams="PlcyProt",this.titleTag="UNKNOWN_ERROR_TITLE",this.bodyTag="CMBN_ERR_BODY_SOURCE_IS_ENCRYPTED"},_enterpriseUserAccessError:function(){this.analyticsParams="Type2/3UpsellBlocked",this.titleTag="ENTERPRISE_USERS_ACCESS_ERROR",this.bodyTag="BLANK_ERROR"},_encryptionKeyInvalidError:function(){this.analyticsParams="Type2/3UpsellBlocked",this.titleTag="ENCRYPTION_KEY_DISABLED_ERROR",this.bodyTag="BLANK_ERROR"},_unknownFileError:function(){this.analyticsParams="FileConversionOther",this.titleTag="UNKNOWN_ERROR_TITLE",this.bodyTag="UNKNOWN_ERROR_BODY"},_unknownHTTPError:function(){this.analyticsParams="SharedCloudOther",this.titleTag="UNKNOWN_ERROR_TITLE",this.bodyTag="UNKNOWN_ERROR_BODY"},_unknownLCConversionError:function(){this.analyticsParams="FileConversionOther",this.titleTag="UNKNOWN_ERROR_TITLE",this.bodyTag="UNKNOWN_ERROR_BODY"},_unsupportedMimeType:function(){this.analyticsParams="UnsupType",this.job&&this.job.get("unsupportedFiles")&&(this.job.get("unsupportedFiles").length>1?(this.multipleFiles=this.job.get("unsupportedFiles"),this.operationNumber=2===this.operationNumber?3:this.operationNumber,this.jobParameters.severity=e.appApi.dialogApi.SEVERITY_WARNING,this.jobParameters.dialogCloseText=i.CONTINUE):this.jobParameters.name=o.cheapTruncate(this.job.get("unsupportedFiles")[0]||"",25));var t,a,r;c.isCEF()?(t="CPDF_ERR_TITLE_FAILED_TO_CONVERT",a="CPDF_ERR_BODY_UNSUPPORTED_EXT",r="CPDF_ERR_BODY_UNSUPPORTED_EXTS"):(t="CPDF_ERR_TITLE_UNSUPPORTED_TYPE",a="CPDF_ERR_BODY_UNSUPPORTED_TYPE",r="CPDF_ERR_BODY_UNSUPPORTED_TYPES"),this.titleTag=[this.multipleFiles?"CPDF_ERR_TITLE_UNSUPPORTED_TYPES":t,this.multipleFiles?"EPDF_ERR_TITLE_FAILED_TO_EXPORT_NO_FORMAT_N":"EPDF_ERR_TITLE_FAILED_TO_EXPORT_NO_FORMAT","CMBN_ERR_TITLE_UNSUPPORTED_TYPE_1","CMBN_ERR_TITLE_UNSUPPORTED_TYPE_N","ORG_ERR_TITLE_UNSUPPORTED_TYPE_1"][this.operationNumber],this.bodyTag=[this.multipleFiles?r:a,this.multipleFiles?"EPDF_ERR_BODY_UNSUPPORTED_TYPE_N":"EPDF_ERR_BODY_UNSUPPORTED_TYPE","CMBN_ERR_BODY_UNSUPPORTED_TYPE","CMBN_ERR_BODY_UNSUPPORTED_TYPE","ORG_ERR_BODY_UNSUPPORTED_TYPE"][this.operationNumber],this.linkRef=[i.CPDF_ERR_BODY_UNSUPPORTED_TYPE_LINK_REF,i.CPDF_ERR_BODY_UNSUPPORTED_TYPE_LINK_REF,i.CMBN_ERR_BODY_UNSUPPORTED_TYPE_LINK_REF,i.CMBN_ERR_BODY_UNSUPPORTED_TYPE_LINK_REF,i.ORG_ERR_BODY_UNSUPPORTED_TYPE_LINK_REF][this.operationNumber]},_unknownFileType:function(){this.analyticsParams="UnknownType",this.job&&this.job.get("unknownFiles")&&(this.job.get("unknownFiles").length>1?(this.multipleFiles=this.job.get("unknownFiles"),this.jobParameters.severity=e.appApi.dialogApi.SEVERITY_WARNING,this.jobParameters.dialogCloseText=i.CONTINUE):this.jobParameters.name=o.cheapTruncate(this.job.get("unknownFiles")[0]||"",25)),this.titleTag=this.multipleFiles?"CPDF_ERR_TITLE_UNKNOWN_TYPES":"CPDF_ERR_TITLE_UNKNOWN_TYPE",this.bodyTag=this.multipleFiles?"CPDF_ERR_BODY_UNKNOWN_TYPES":"CPDF_ERR_BODY_UNKNOWN_TYPE"},_uploadIsEmpty:function(){this.analyticsParams="Empty",this.emptyFiles=this.job?this.job.get("emptyFiles"):null,this.emptyFiles&&(this.emptyFiles.length>1?(this.multipleFiles=this.emptyFiles,this.operationNumber=3):this.jobParameters.name=o.cheapTruncate(this.emptyFiles[0]||"",25)),this.titleTag=["CPDF_ERR_TITLE_UPLOAD_IS_EMPTY","CPDF_ERR_TITLE_UPLOAD_IS_EMPTY","CMBN_ERR_TITLE_UPLOAD_TOO_SMALL_1","CMBN_ERR_TITLE_UPLOAD_TOO_SMALL_N","ORG_ERR_TITLE_UPLOAD_TOO_SMALL_1"][this.operationNumber],this.bodyTag="CPDF_ERR_BODY_UPLOAD_IS_EMPTY",this.displayConfigureIPPButton=!1,this.failWithDialog=c.isCEF()?!1:!0},_uploadTooLarge:function(){this.analyticsParams="TooLarge",this.tooLargeFiles=this.job?this.job.get("tooLargeFiles"):null,this.tooLargeFiles&&(this.tooLargeFiles.length>1?(this.multipleFiles=this.tooLargeFiles,this.operationNumber=3):this.jobParameters.name=o.cheapTruncate(this.tooLargeFiles[0]||"",25)),this.titleTag=["CPDF_ERR_TITLE_UPLOAD_TOO_LARGE","CPDF_ERR_TITLE_UPLOAD_TOO_LARGE","CMBN_ERR_TITLE_UPLOAD_TOO_LARGE_1","CMBN_ERR_TITLE_UPLOAD_TOO_LARGE_N","ORG_ERR_TITLE_UPLOAD_TOO_LARGE_1"][this.operationNumber],this.bodyTag=["CPDF_ERR_BODY_UPLOAD_TOO_LARGE","EPDF_ERR_BODY_UPLOAD_TOO_LARGE","CMBN_ERR_BODY_UPLOAD_TOO_LARGE","CMBN_ERR_BODY_UPLOAD_TOO_LARGE","ORG_ERR_BODY_UPLOAD_TOO_LARGE"][this.operationNumber],this.failWithDialog=!0},_userCancelled:function(){this.analyticsParams="UserCancelled",this.titleTag="STATUS_DETAILS_UPLOAD_CANCELLED",this.bodyTag="STATUS_DETAILS_UPLOAD_CANCELLED",this.failWithDialog=!1},_virusDetected:function(){this.analyticsParams="VirusDet",this.bodyTag="CPDF_ERR_BODY_VIRUS_DETECTED",this.displayConfigureIPPButton=!1},_thumbnailFailure:function(){this.analyticsParams="ThumbnailFailed",this.bodyTag="STATUS_DETAILS_THUMBNAIL_FAILURE",this.displayConfigureIPPButton=!1},_uploadFailed:function(){this.analyticsParams="UploadFailed",this.titleTag="CPDF_ERR_TITLE_FAILED_TO_UPLOAD",this.bodyTag=["CPDF_ERR_BODY_UPLOAD_FAILED","CPDF_ERR_BODY_UPLOAD_FAILED","CPDF_ERR_BODY_UPLOAD_FAILED","CPDF_ERR_BODY_UPLOAD_FAILED","CPDF_ERR_BODY_UPLOAD_FAILED"][this.operationNumber]},_genericReaderError:function(){this.analyticsParams="GenericError",this.titleTag="GENERIC_READER_ERR_TITLE_FAILED",this.bodyTag="GENERIC_READER_ERR_BODY_FAILED"}});return function(e,t,i,o,a,r,s){var n=new d({job:e,failWithDialog:o,view:a,notification:r,showNativeDialog:s});return n.processErrorCode(t,i),n.emitJobInfo()}}),define("aictools/models/job-model",["aictools/aic","aictools/ops/files/upload-util","aictools/views/job-model-failure","aictools/models/model","aictools/analytics/analytics","core/models/rna/rna-notification-model"],function(e,t,i,o,a,r){var s={UPLOAD_START:"upload_start",UPLOAD_COMPLETE:"upload_complete",UPLOAD_CANCELLED:"upload_cancelled",UPLOAD_ERROR:"upload_error",PROCESSING_CHILD_JOBS:"processing_child_jobs",CONVERTING:"converting",OPERATION_FAILED:"failure",COMPLETE:"complete",WAITING:"waiting",GENERATING_THUMBNAILS:"generating_thumbnails",THUMBNAIL_FAILURE:"thumbnail_failure",THUMBNAIL_COMPLETE:"thumbnail_complete",MAX_QUEUE:"max_queue"},n={CREATE:"create",EXPORT:"export",COMBINE:"combine",ORGANIZE:"organize"},l={UPLOAD:"upload",CONVERT:"convert",CHILDJOBS:"childjobs",GENERATE_THUMBNAILS:"thumbnails",USER_COMPLETE:"waitforuser"},c=r.NOTIFICATION_STATES,d=r.NOTIFICATION_OPERATIONS;return e.JobModel=o.extend({initialize:function(){o.prototype.initialize.call(this),this.set({operation:e.currentTool.toolName(),baseNotificationData:e.currentTool.getBaseNotificationData(),runningInRHP:e.currentTool.isRunningInRHP()}),this.ets=this.get("ets"),this.get("actions")||this.set({actions:[l.UPLOAD,l.CONVERT]}),this.uploadPromise=null,this.convertPromise=null,this.conversionFunction=null,this.childjobs=[],this.promises=[],this.promise=$.Deferred(),this.thumbnailPromise=$.Deferred(),this.waitForUserPromise=$.Deferred(),this.queue=$.Deferred(),this.queue.progress(_.bindex(this._progress,this)),this.queue.then(_.bindex(this._start_job,this)),this.on("change:stage change:fileName",_.bindex(function(e){var t=e.get("stage");t===s.UPLOAD_CANCELLED&&e.get("uploader")&&(e.get("uploader").cancelUpload=!0),_.contains([s.UPLOAD_START,s.UPLOAD_COMPLETE,s.UPLOAD_CANCELLED,s.UPLOAD_ERROR,s.CONVERTING,s.COMPLETE,s.THUMBNAIL_COMPLETE,s.MAX_QUEUE],t)&&a.emit("##aic-"+e.get("operation")+"-"+t),e.showProgress(-1)},this)),this.get("stage")||this.set({stage:e.JobModel.STAGES.WAITING})},remove:function(){this.isComplete()||this.onCancel();var e=this.get("parentJob");this.collection&&(this.collection.remove(this),this.collection=null),$.each(this.childjobs,function(e,t){t.remove()}),e&&(e.childjobs=_.without(e.childjobs,this))},isValid:function(){return this.collection&&this.collection.contains(this)},getPromise:function(){return this.promise.promise()},showProgress:function(e){if(this.progress={},this.isValid()){var t=this.get("stage")===s.PROCESSING_CHILD_JOBS||this.get("stage")===s.UPLOAD_START&&!this.get("parentJob");this.progress={progress:e,stage:this.get("stage"),started:this.started(),busy:this.isBusy(),canCancel:t,canDownload:this.get("stage")===s.COMPLETE&&!this.get("parentJob"),outputFile:this.get("outputFile")||this.get("fileName")},this.promise.notify(this.progress)}},getProgress:function(){return this.progress||{}},started:function(){return"pending"!==this.queue.state()},isComplete:function(){return this.started()?"resolved"===this.promise.state()||"rejected"===this.promise.state():!1},isPending:function(){var e=[s.UPLOAD_START,s.UPLOAD_COMPLETE,s.WAITING,s.MAX_QUEUE];return-1!==_.indexOf(e,this.get("stage"))},isActive:function(e){var t=[s.UPLOAD_START,s.UPLOAD_COMPLETE,s.CONVERTING,s.PROCESSING_CHILD_JOBS,s.GENERATING_THUMBNAILS];return e&&(t.push(s.WAITING),t.push(s.MAX_QUEUE)),-1!==_.indexOf(t,this.get("stage"))},isBusy:function(){var e=[s.UPLOAD_START,s.CONVERTING,s.GENERATING_THUMBNAILS];return-1!==_.indexOf(e,this.get("stage"))},isFailed:function(){var e=[s.UPLOAD_CANCELLED,s.UPLOAD_ERROR,s.OPERATION_FAILED,s.THUMBNAIL_FAILURE];return-1!==_.indexOf(e,this.get("stage"))},fail:function(t,o,a,r,n,l){var c=i(this,t,o,a,r,n,l);return this.set({stage:s.OPERATION_FAILED}),n&&e.appApi.rnaApi.done(_.bindex(function(e){var t=this.get("operation");this.get("runningInRHP")&&(t+="_rhp"),e.rnaServicesAPI.removeActiveWorkflowNotificationId(t,n.get("notificationID"))},this)),c},onCancel:function(){var e=this.get("parentJob");this.collection&&(this.collection.remove(this),this.collection=null),this.ets.setParam("P_ERROR","UserCancelled"),this.childjobs.length?(this.ets.cancelEvent("MAKE"),$.each(this.childjobs,function(e,t){t.onCancel()})):this.get("stage")===s.UPLOAD_START?(this.ets.cancelEvent("UPLOAD"),this.get("uploader").cancelUpload=!0,this.set({stage:s.UPLOAD_CANCELLED})):this.fail("UserCancelled"),e&&(e.childjobs=_.without(e.childjobs,this)),this.convertPromise&&this.convertPromise.reject(),this.promise.reject()},_progress:function(e){e===s.MAX_QUEUE&&this.set("stage",s.MAX_QUEUE)},_start:function(){var e=this.get("actions");0===e.length&&this.set({stage:s.COMPLETE}),$.each(e,_.bind(function(e,t){t===l.CHILDJOBS&&this.promises.push(this._childJobs()),t===l.UPLOAD&&this.promises.push(this._upload()),t===l.CONVERT&&this.promises.push(this._convert()),t===l.USER_COMPLETE&&this.promises.push(this._userComplete()),t===l.GENERATE_THUMBNAILS&&this.promises.push(this._getThumbnails())},this)),$.when.apply($,this.promises).then(_.bindex(function(){this.promise.resolve(),$.each(this.childjobs,_.bind(function(e,t){this.collection.remove(t)},this)),this.childjobs=[]},this),_.bindex(function(e,t){$.each(this.childjobs,_.bind(function(e,t){t.isFailed()&&_.each(["names","errorClass","errorTitle","errorBody","errorLinkRef"],function(e){this.set(e,t.get(e))},this),this.collection&&this.collection.remove(t)},this)),this.childjobs=[],this.fail(e,t,!1,null,this.get("notification")),this.promise.reject()},this))},_start_job:function(){var t=["jpeg","png","tiff"];this.userData=this.get("baseNotificationData")||{},this.userData.fileName=this.get("fileName"),this.userData.fileExtn=this.get("format"),this.userData.selectedPluginIdForSaveAs="",this.userData.useCustomStorage=!1,"export"===this.attributes.operation&&void 0!==e.currentTool.options.workflowOptions&&"AV2ConvertSaveAs"===e.currentTool.options.workflowOptions.invocation&&(this.userData.selectedPluginIdForSaveAs=e.currentTool.selectedPluginIdForSaveAs,this.userData.useCustomStorage=e.currentTool.useCustomStorage),"export"===this.attributes.operation&&t.includes(this.get("format"))&&(this.userData.fileExtn="zip"),this.userData.canUploadBeCancelled=!0,e.appApi.rnaApi.done(_.bindex(function(e){e.notificationAPI.createNotification({state:c.NOT_STARTED,userData:JSON.stringify(this.userData),progress:0,description:this.get("operation")}).then(_.bindex(function(t){this.set({notification:t});var i=this.get("operation");this.get("runningInRHP")&&(i+="_rhp"),e.rnaServicesAPI.addActiveWorkflowNotificationId(i,t.get("notificationID"))},this)).always(_.bindex(function(){this._start()},this))},this))},_upload:function(){var i=this.get("notification");return this.uploadPromise=$.Deferred(),i.invoke("setProperty",{operationType:d.UPLOAD,state:c.IN_PROGRESS}),$.when.apply($,this.promises).then(_.bindex(function(){this.on("change:progress",function(e){i&&i.invoke&&i.invoke("setProperty",{progress:e.get("progress")})}),t(this,e.JobModel.STAGES).then(_.bindex(function(e,t,i){this.isFailed()?this.uploadPromise.reject():(this.set({convertPDFassetId:e.sc_id}),void 0===e.sc_id&&this.set({convertPDFassetId:e.uri}),this.ets.setParam("P_ASSET_ID",this.get("convertPDFassetId"),!0),this.ets.setParam("P_DOCUMENT_ID",this.get("convertPDFassetId"),!0),this.ets.successEvent("UPLOAD"),this.set({stage:s.UPLOAD_COMPLETE}),this.uploadPromise.resolve(e,t,i))},this),_.bindex(function(e,t){this.ets.setParam("P_ERROR",e),this.ets.errorEvent("UPLOAD"),this.uploadPromise.reject("UploadFailed",t)},this))},this)),this.uploadPromise},_convert:function(){var t=this.get("notification");return this.convertPromise?this.convertPromise:(this.convertPromise=$.Deferred(),$.when.apply($,this.promises).then(_.bindex(function(){this.set({stage:e.JobModel.STAGES.CONVERTING}),t.invoke("setProperty",{operationType:d.CONVERT,state:c.IN_PROGRESS}),this.get("conversionFunction")(this).then(_.bindex(function(i,o,a){var r=i.assets[0];this.set({stage:e.JobModel.STAGES.COMPLETE,outputID:r.asset.source,outputFile:r.name,outputSize:r.size,outputPages:r.pages}),this.userData.outputID=r.asset.source,t.invoke("setProperty",{operationType:"",userData:JSON.stringify(this.userData),state:c.COMPLETED}),e.appApi.rnaApi.done(_.bindex(function(e){var i=this.get("operation");this.get("runningInRHP")&&(i+="_rhp"),e.rnaServicesAPI.removeActiveWorkflowNotificationId(i,t.get("notificationID"))},this)),this.convertPromise.resolve(i,o,a)},this),_.bindex(function(e,t,i){var o,a,r;try{r=JSON.parse(e.responseText),o=r.error.code||i,a=r.error.message||""}catch(s){}this.convertPromise.reject(o,a)},this))},this)),this.convertPromise)},_childJobs:function(){return this.childJobsPromise=$.Deferred(),$.when.apply($,this.promises).then(_.bindex(function(){this.set({stage:s.PROCESSING_CHILD_JOBS}),this.collection.set(this.childjobs,{remove:!1}),this.childjobPromises=[],_.each(this.childjobs,_.bind(function(e){this.childjobPromises.push(e.getPromise())},this)),$.when.apply($,this.childjobPromises).then(_.bind(function(){this.childJobsPromise.resolve()},this),_.bind(function(){this.childJobsPromise.reject()},this))},this)),this.childJobsPromise},_userComplete:function(){this.promises.push(this.waitForUserPromise),this.waitForUserPromise.then(_.bindex(function(){_.each(this.childjobs,function(e){var t=e.get("actions");e.set("actions",_.without(t,l.GENERATE_THUMBNAILS)),_.each(e.thumbnailPromises,function(e){e.resolve()}),e.thumbnailPromise.resolve()})},this))},_getThumbnails:function(){return this.thumbnailPromises=[],$.when.apply($,this.promises).then(_.bindex(function(){"pending"===this.thumbnailPromise.state()&&this.get("triggerThumbnails")()},this)),this.thumbnailPromise},cancelThumbnails:function(){this.set("stage",e.JobModel.STAGES.COMPLETE),this.thumbnailPromise.resolve()},startThumbnails:function(t){var o;for(o=0;t>o;o+=1)this.thumbnailPromises.push($.Deferred());this.showProgress(0),$.when.apply($,this.thumbnailPromises).then(_.bindex(function(){this.set("stage",e.JobModel.STAGES.THUMBNAIL_COMPLETE),this.thumbnailPromise.resolve()},this),_.bindex(function(){i(this,"ThumbnailFailure"),this.set("stage",e.JobModel.STAGES.THUMBNAIL_FAILURE),this.thumbnailPromise.reject()},this)),this.set({stage:e.JobModel.STAGES.GENERATING_THUMBNAILS})},foundThumbnail:function(e){var t=0;this.thumbnailPromises[e].resolve(),_.each(this.thumbnailPromises,function(e){"resolved"===e.state()&&(t+=1)}),this.showProgress(100*t/this.thumbnailPromises.length)},thumbnailFailed:function(e){this.thumbnailPromises[e].reject()}},{STAGES:s,OPERATIONS:n,ACTIONS:l}),e.JobModel}),define("aictools/models/job-collection",["aictools/aic","aictools/util/util","aictools/plugins/plugin-central","aictools/models/job-model"],function(e,t,i,o){var a=Backbone.Collection.extend({model:o,initialize:function(){i.init().then(_.bindex(function(){var t=e.appApi.folderApi.getRootFolderId();e.appApi.notificationApi.addFolderNotificationCallback(t,_.bindex(this.assetChanged,this))},this))},assetChanged:function(e){_.each(e,function(e){"deleted"===e.operation&&_.find(this.models,function(t){return t.get("outputID")===e.object_id?(this.remove(t),!0):void 0},this)},this)},countPendingJobs:function(e){return _.reduce(this.models,function(t,i){return e?e===i.get("operation")&&i.isPending()?t+1:t:i.isPending()?t+1:t},0,this)},countActiveJobs:function(e){return _.reduce(this.models,function(t,i){var o=!i.isComplete();return(!e&&!i.started()||i.isFailed())&&(o=!1),o?t+1:t},0,this)},countFailures:function(e){return _.reduce(this.models,function(t,i){return e?e===i.get("operation")&&i.isFailed()?t+1:t:i.isFailed()?t+1:t},0,this)},countJobs:function(e){return e?_.reduce(this.models,function(t,i){return e===i.get("operation")?t+1:t},0,this):this.length},removeDoneJobs:function(){var e=_.filter(this.models,function(e){return e.isComplete()});_.each(e,_.bind(function(e){this.remove(e)},this)),_.defer(this.setBusy,this),this.trigger("remove-done-jobs")},maxNumOfExecutingJobs:4,processJobQueue:function(){var e=_.filter(this.models,function(e){return!e.started()});this.countActiveJobs(!1)<this.maxNumOfExecutingJobs&&e.length>0?(e[0].queue.resolve(),_.defer(_.bindex(this.processJobQueue,this))):_.each(e,function(e){e.queue.notify(o.STAGES.MAX_QUEUE)})},setBusy:function(t){var o=e.appApi.statusMenuApi,a=function(e){return e.childjobs.length&&"pending"===e.waitForUserPromise.state()?!0:!!e.get("parentJob")};_.each(i.plugins,function(e){var i=o.STATUS_IDLE;e.generateStatus&&(_.each(t.models,function(t){e.getTool().toolName()===t.get("operation")&&i!==o.STATUS_BUSY&&(a(t)||(i=t.isFailed()?o.STATUS_WARNING:t.isComplete()?o.STATUS_COMPLETE:o.STATUS_BUSY))
}),o.setStatus(e.getTool().pluginName(),i))})},jobRemoved:function(){this.setBusy(this)},jobChange:function(){_.defer(_.bindex(this.processJobQueue,this)),_.defer(this.setBusy,this)},newJob:function(){_.defer(_.bindex(this.processJobQueue,this))}},{instance:void 0,getInstance:function(){if(!a.instance){var e=new a;a.instance=e,e.on("change:stage",_.bindex(e.jobChange,e)),e.on("add",_.bindex(e.newJob,e)),e.on("remove",_.bindex(e.jobRemoved,e))}return a.instance}});return a}),define("aictools/models/subscriptions/product-offer-model",["aictools/aic","aictools/util/util","aictools/models/model"],function(e,t){var i=Backbone.Model.extend({idAttribute:"upgradeFromSku",initialize:function(e){this.sync=_.bind(t.jil_api_sync,t),this.options=e||{},this.set({upgradeToSku:this.options.upgradeToSku,upgradeFromSku:this.options.upgradeFromSku,countryCode:this.options.countryCode,locale:this.options.locale,marketSegment:this.options.marketSegment})},url:function(){var t=e.getBaseUriApi()+"proxy/jil/product-offer/v1/"+this.get("upgradeToSku")+"?countryCode="+this.get("countryCode");return this.get("upgradeFromSku")&&(t+="&productSku="+this.get("upgradeFromSku")),this.get("locale")&&(t+="&locale="+this.get("locale")),this.get("marketSegment")&&(t+="&marketSegment="+this.get("marketSegment")),t},fetch:function(){return this.options.headers=this.options.headers||{},this.options.headers["x-api-client-id"]=e.Model.api_client_id,this.options.modal=!1,this.options.global=!1,Backbone.Model.prototype.fetch.call(this,this.options)},parse:function(e){return e&&e.ProductOffer?e.ProductOffer:{}}});return i}),define("aictools/models/subscriptions/product-offer-collection",["aictools/aic","aictools/models/users-me-model","aictools/models/subscriptions/product-offer-model"],function(e,t,i){var o;return o=Backbone.Collection.extend({model:i,offersWithNoUpgradeFromSku:{},promises:{},getProductOffer:function(e){var t=null,o=null;return e&&e.upgradeToSku&&e.countryCode?(o=e.upgradeToSku,this.promises[o]||(t=new i(e),this.promises[o]=t.fetch().then(_.bind(function(){return this.add(t),t},this))),this.promises[o]):$.Deferred().reject({responseText:{error:"invalid_upgrade_data"}}).promise()},resetCollectionData:function(){this.promises={},this.reset()}},{instance:null,getInstance:function(){return o.instance||(o.instance=new o),o.instance},hasMultiplePaidSubscriptions:function(e){var t=0;return _.each(e,function(e){e.getProductName().search(/send|export|pdfpack|acrobat|fill/i)>=0&&(t+=1)}),t>1?!0:!1}})}),define("aictools/models/ui/subscriptions/tools-ipms-ui-model",["aictools/aic","aictools/models/subscriptions/product-offer-collection","aictools/models/users-me-model","aictools/util/util"],function(e,t,i,o){var a,r,s,n={exportpdf:"ToolUpsellExportPDFView",convertpdf:"ToolUpsellConvertPDFView",combinepdf:"ToolUpsellCombinePDFView",formscentral:"AcrobatSignUpTool",acrobat:"AcrobatSignUpTool"},l={},c={PDFPack:{acrobat:"AcrobatSignUpTool"},AcrobatPlus:{acrobat:"AcrobatProFirstTimeTool"},AcrobatStd:{acrobat:"AcrobatStandardFirstTimeTool"},FormsCentral:{US:{exportpdf:"AcrobatSignUpTool",convertpdf:"AcrobatSignUpTool",combinepdf:"AcrobatSignUpTool"},GB:{exportpdf:"AcrobatSignUpTool",convertpdf:"AcrobatSignUpTool",combinepdf:"AcrobatSignUpTool"},MX:{exportpdf:"AcrobatSignUpTool",convertpdf:"AcrobatSignUpTool",combinepdf:"AcrobatSignUpTool"},CA:{exportpdf:"AcrobatSignUpTool",convertpdf:"AcrobatSignUpTool",combinepdf:"AcrobatSignUpTool"}}},d={Files:{formscentral:"ToolUpsellFormsCentralView"},Workspace:{formscentral:"ToolUpsellFormsCentralView"},SendNow:{formscentral:"ToolUpsellFormsCentralView"},PDFPack:{formscentral:"ToolUpsellFormsCentralView",acrobat:"AcrobatSignUpTool"},FormsCentral:{formscentral:"ToolUpsellFormsCentralView"}},p={AcrobatPlus:{acrobat:"AcrobatProReturningUseTool"},AcrobatStd:{acrobat:"AcrobatStandardReturningUseTool"}},u=Backbone.Model.extend({sku:null,countryCode:null,initialize:function(e){e&&(this.sku=e.sku||0,this.countryCode=e.countryCode||"")},setSku:function(e){e&&"number"==typeof e&&(this.sku=e)},setCountryCode:function(e){this.countryCode=e},getIPMToolClassName:function(e,t){return this.countryCode=t||i.get("country_code"),a=n[e],l[this.countryCode]&&_.some(_.keys(l[this.countryCode]),function(t){return t===e?(a=l[this.countryCode][t],!0):void 0},this),r=i.get("subscriptions")[0].subscription_name,s=i.get("subscriptions")[0].subscription_level,i.isAdobeVIPUser()&&(r="AcrobatPlus"),"Free"!==s&&(c[r]&&c[r][e]?a=c[r][e]:c[r]&&c[r][this.countryCode]&&c[r][this.countryCode][e]&&(a=c[r][this.countryCode][e])),"Free"===s&&d[r]&&d[r][e]&&(a=d[r][e]),("AcrobatPlus"===r&&"true"===o.getCookie("aplus_install_downloaded_ACOM_CREATEPDF")||"AcrobatStd"===r&&"true"===o.getCookie("astd_install_downloaded_ACOM_CREATEPDF"))&&p[r]&&p[r][e]&&(a=p[r][e]),a}});return new u}),define("aictools/templates/in-app-anyware-cart-dialog-view-template",[],function(){return'<div class="aic-anyware-dialog-title"><div class="dialog-close-btn"/></div><div id="aic-anyware-frame-holder"></div><div id="aic-anyware-loading"><div class="aic-subscription-mini-spinner"/><div class="aic-anyware-susi-msg hide"><%= susiMsg %></div></div><div class="signin"></div><div class="aic-anyware-loading-fail hide"><div class="aic-anyware-errr"><%= anywareError %></div><div class="aic-anyware-support-msg"><%= supportMsg %></div><input class="control-button dialog-control-button float_right" id="aic-anyware-error-ok" tabindex="1" type="button" data-role="none" value="<%= ok %>"></div>'}),define("aictools/ops/subscription/get-splunk-common-string",["aictools/aic","aictools/models/users-me-model"],function(e,t){var i="	userGUID=<%= userguid %>	serviceCode=<%= svrCode %>	serviceLevel=<%= svrLevel %>	SKU=<%= sku %>	countryCode=<%= cCode %>	subscriptionGUID=<%= subGUID %>	clientType=<%= clientID %>	browser=<%= bro %>";return function(o){var a="",r=t.getServiceNameString(),s=t.getServiceLevelString(),n="",l="";return o.subModel&&(n=o.subModel.getSku(),l=o.subModel.id),a=_.template(i,{userguid:t.id,svrCode:r,svrLevel:s,sku:n,cCode:t.get("country_code"),subGUID:l,clientID:e.Model.api_client_id,bro:navigator.userAgent})}}),define("aictools/views/subscription-anyware-cart-view",["aictools/aic","i18n!aictools/nls/ui-strings","aictools/views/view","aictools/models/users-me-model","aictools/ops/subscription/get-splunk-common-string"],function(e,t,i,o,a){var r="eventClass=subscriptions	eventWorkflow=anywarecart	eventType=<%= evtType %>	sku=<%= sku %>	errorCode=<%= errCode%>",s=i.extend({initialize:function(){this.sku=this.options.sku,i.prototype.initialize.call(this),this.myLoader=null,this.loaded=!1,this.splunkCommonString=a({subModel:null})},render:function(){this.setElement(this.options.$el),this.loadAnyware(),i.prototype.render.call(this)},loadAnyware:function(){if(!this.loaded){var t={countryCode:o.get("country_code"),marketSegment:"COM",clientId:"acrobat-app",landscape:e.SERVER_PARAMS.IMS.landscape,tunnelPath:"/static/js/libs/adobe-anyware/rpc_relay.html",locale:o.get("user_lang").replace("-","_"),items:[{sku:this.sku,quantity:1}],autoRun:!1};this.$el.checkout_anyware_loader(t).bind("error",_.bindex(function(e,t){if(e&&(this.logEvent(e,t),e.stopImmediatePropagation()),t)switch(t.type){case"ORDER_AUTH_FAILED_CC_EXPIRED":this.trigger("anyware-cart-cc-expired",this);break;case"ORDER_AUTH_INVALID_BILLING_ADDRESS":this.trigger("anyware-cart-billing-address-invalid",this);break;case"ORDER_AUTH_INVALID_CC_ADDRESS":this.trigger("anyware-cart-cc-address-invalid",this);break;case"ORDER_AUTH_INVALID_DATA":this.trigger("anyware-cart-invalid-data",this);break;case"ORDER_AUTH_FAILED_FRAUDCHECK":this.trigger("anyware-cart-fraud-check");break;case"ORDER_AUTH_REQUEST_FAILED":this.trigger("anyware-cart-order-request-failed");break;case"PURCHASE_INELIGIBLE":break;default:this.trigger("anyware-cart-error",this)}},this)).bind("configError",_.bindex(function(e,t){this.logEvent(e,t),this.trigger("anyware-cart-error",this)},this)).bind("configLoaded",_.bindex(function(e,t){this.logEvent(e,t)},this)).bind("checkoutLoaded",_.bindex(function(e,i){this.logEvent(e,i),this.loaded=!0,this.myLoader.setItems(t.items),this.myLoader.beginCheckout(),this.trigger("anyware-cart-checkout-loaded",this)},this)).bind("checkoutUnloaded",_.bindex(function(e,t){this.logEvent(e,t),this.loaded=!1},this)).bind("invalidUserSession",_.bindex(function(e,t){this.logEvent(e,t),this.trigger("anyware-cart-invalid-session",this)},this)).bind("orderValidated",_.bindex(function(e,t){this.logEvent(e,t),this.trigger("anyware-cart-order-validated",this)},this)).bind("orderCompleted",_.bindex(function(e,t){this.logEvent(e,t),this.unloadAnyware(),this.trigger("anyware-cart-order-complete",t)},this)).bind("resize",_.bindex(function(e,t){this.logEvent(e,t),this.trigger("anyware-cart-app-resize",t)},this)),this.$el.controller(Adobe.CheckoutAnyware.Loader)&&(this.myLoader=this.$el.controller(Adobe.CheckoutAnyware.Loader))}},unloadAnyware:function(){this.loaded&&(this.myLoader||(this.myLoader=this.$el.controller(Adobe.CheckoutAnyware.Loader)),this.myLoader&&this.myLoader.unloadCheckoutApp())},reloadAnyware:function(){return this.loadAnyware(),this.myLoader||(this.myLoader=this.$el.controller(Adobe.CheckoutAnyware.Loader),this.myLoader)?void this.myLoader.loadCheckoutApp():void this.trigger("aic-anyware-error",this)},logEvent:function(e,t){_.delay(_.bindex(function(e){var t,i="",o="";switch(e[0].type){case"configLoaded":case"checkoutLoaded":case"checkoutUnloaded":case"orderValidated":case"orderCompleted":case"resize":o=_.template(r,{evtType:e[0].type,errCode:"",sku:this.sku});break;case"configError":case"error":case"invalidUserSession":t=e[0].type,e[1]&&e[1].type&&(t=e[1].type),o=_.template(r,{evtType:e[0].type,errCode:t,sku:this.sku})}i=o+this.splunkCommonString,LOG.info(i,{logServer:!0})},this),100,[e,t])}});return s}),define("aictools/templates/subscription-passwd-input",[],function(){return'<!-- Copyright 2013 Adobe Systems Incorporated. All Rights Reserved. --><div id="aic-password-signin"><div class="aic_edit-billing-frame-nub hide"></div><div class="password_input_msg"><%= passwordMsg %></div><input tabindex="1" class="signin_password" title="<%= passwordHint %>" type="password" name="passwd" max-length="128" required="" placeholder="<%= passwordHint %>" value=""><input id="forgot-password" type="button" class="aic_subscription_control-button hide" tabindex=1 data-role="none" value="<%= forgotPassword %>" title="<%= forgotPassword %>"><div class="aic_password_wrong_msg site-catalyst hide"><%= wrongPassword %></div><div id="password-actions"><input class="control-button dialog-control-button button-grey ui-theme theme-text aic-float-right site-catalyst" id="aic-cancel-sign-in" tabindex="1" type="button" data-role="none" value="<%= cancel%>"><input class="control-button dialog-control-button aic-float-right site-catalyst" id="aic-sign-in" tabindex="1" type="button" data-role="none" value="<%= continueWord %>"></div></div>'}),define("aictools/views/subscription-password-input-view",["aictools/aic","aictools/util/util","aictools/templates/subscription-passwd-input","i18n!aictools/nls/ui-strings","aictools/util/localize","aictools/views/view","aictools/models/users-me-model","aictools/analytics/analytics"],function(e,t,i,o,a,r,s,n){var l=r.extend({events:{"click #aic-sign-in":"onSignIn","click #aic-cancel-sign-in":"onCancelButton","keyup .signin_password":"onTypingPassword"},initialize:function(){r.prototype.initialize.call(this),this.template=_.template(i)},render:function(){this.$el.html(this.template(a.htmlSanitize({passwordMsg:o.SUB_MANAGER_PREVIEW_PASSWDMSG,forgotPassword:o.FORGOT_PWD_TITLE,wrongPassword:o.SUB_MANAGER_PREVIEW_WRONGPASSWORD,continueWord:this.options.actionWord||o.CONTINUE,cancel:o.CANCEL,passwordHint:o.PASSWORD}))),this.options.hideButtons&&this.$("#password-actions").addClass("hide"),this.options.$el&&this.options.$el.append(this.$el),r.prototype.render.call(this)},onTypingPassword:function(){this.hideElem(".aic_password_wrong_msg")},onCancelButton:function(){this.cancel(),this.remove(),this.trigger("sign-in-cancel",this)},onSignIn:function(){_.defer(function(){$("#aic-sign-in").attr("disabled","disabled")});var i,o,a={client_id:e.SERVER_PARAMS.IMS.client_id,response_type:"token",scope:"AdobeID,openid,skybox",locale:"en",username:s.get("email"),password:$(".signin_password").val(),remember_me:!1},r=e.SERVER_PARAMS.IMS.adobe_IDP_host_URL+"/ims/login/v1/token",l={url:r,dataType:"json",data:a,cache:!1,global:!1,success:_.bindex(function(t){if(t.error){if("invalid_credentials"===t.error)this.unhideElem(".aic_password_wrong_msg"),this.trigger("sign-in-invalid-credentials",this);else{if("ride_AdobeID_acct_pwdrf"===t.error)return void e.appApi.sessionApi.signOut();this.$(".signin").addClass("hide"),this.options.err&&this.options.err(),this.trigger("sign-in-error",this),e.appApi.sessionApi.signOut()}return void this.$("#aic-sign-in").removeAttr("disabled")}this.hideElem(".aic_password_wrong_msg"),this.options.success&&this.options.success(),n.emit("##aic-myplan-password-success"),this.trigger("sign-in-success",this)},this),error:_.bindex(function(t){var i=!1,o=JSON.parse(t.responseText);if("invalid_credentials"===o.error)i=!0;else if("ride_AdobeID_acct_pwdrf"===o.error)return void e.appApi.sessionApi.signOut();i?(this.unhideElem(".aic_password_wrong_msg"),this.trigger("sign-in-invalid-credentials",this)):(this.$(".signin").addClass("hide"),this.options.err&&this.options.err(),this.trigger("sign-in-error",this),e.appApi.sessionApi.signOut()),this.$("#aic-sign-in").removeAttr("disabled")},this),xhrFields:{withCredentials:!0}};$.support.cors&&!t.isIE()?l.type="POST":(l.dataType+="p",i=Math.floor(1e6*Math.random()).toString()+Math.floor(1e6*Math.random()).toString(),o="ims_"+i,window[o]=function(){},l.jsonpCallback=o),$.ajax(l)}});return l}),define("aictools/models/subscriptions/register-product-model",["aictools/aic","aictools/models/model"],function(e){var t=e.Model.extend({initialize:function(){e.Model.prototype.initialize.call(this)},url:function(){return e.getBaseUriApi()+"register_product/"},registerProduct:function(e,t){return this.ajax(this.url()+e+"/"+t,"PUT",null,{global:!1})}});return t}),define("aictools/models/subscriptions/subscription-upsell-model",["aictools/aic","aictools/util/strings","aictools/models/model"],function(e,t){var i=e.Model.extend({initialize:function(){e.Model.prototype.initialize.call(this),this.promise=null},url:function(){return e.getBaseUriApi()+"users/me/upsell"},fetch:function(e){return this.entitlement=e||"",this.ajax(this.url()+"?entitlement="+this.entitlement,"GET",null,{global:!1}).then(_.bindex(function(e){return e&&this.set(e),e},this),_.bindex(function(){LOG.info("upsellApiError="+this.entitlements,{logServer:!0})},this))},getUpsellInfo:function(){return null===this.promise&&(this.promise=this.fetch()),this.promise},resetUpsellInfo:function(){this.clear({silent:!0}),this.promise=null},getUpsellUnitsForEntitlement:function(e,t){var i=[],o=!!t,a=this.get("upsell");return a&&_.each(a,function(t){t.entitlement_name===e&&(o||0!==i.length?o&&i.push(t):i.push(t))}),i},getDefaultUpgradeUnitForMyplan:function(){var e=this.get("upsell"),t=null;return e.length>0&&(t=e[0]),t},isPDFPackSku:function(e){var i=this.getUpsellUnitFromSku(e);return i?i.subscription_name===t.subNames.CREATEPDF:!1},isExportPDFSku:function(e){var i=this.getUpsellUnitFromSku(e);return i?i.subscription_name===t.subNames.EXPORTPDF:!1},isAsubSku:function(e){var i=this.getUpsellUnitFromSku(e);return i?i.subscription_name===t.subNames.APLUS:!1},isAstdSku:function(e){var i=this.getUpsellUnitFromSku(e);return i?i.subscription_name===t.subNames.ASTD:!1},isSendSku:function(e){var i=this.getUpsellUnitFromSku(e);return i?i.subscription_name===t.subNames.SEND_NOW:!1},isFillAndSignSku:function(e){var i=this.getUpsellUnitFromSku(e);return i?i.subscription_name===t.subNames.FILL_AND_SIGN:!1},isStandaloneCPDFSku:function(e){var i=this.getUpsellUnitFromSku(e);return i?i.subscription_name===t.subNames.SPDF:!1},isFormscentralSku:function(e){var i=this.getUpsellUnitFromSku(e);return i?i.subscription_name===t.subNames.FORMS:!1},getUpsellUnitFromSku:function(e){var t=e.toString(),i=null;return _.some(this.get("upsell"),function(e){return e.sku===t?(i=e,!0):void 0}),i},getAnalyticPlanCodeForSku:function(e){var t=this.getUpsellUnitFromSku(e);return t?t.sitecatalyst_plan_code:""}},{instance:null,getInstance:function(){return i.instance||(i.instance=new i),i.instance}});return i}),define("aictools/ops/subscription/order-complete-op",["aictools/aic","aictools/util/util","i18n!aictools/nls/ui-strings","aictools/models/users-me-model","aictools/models/subscriptions/register-product-model","aictools/plugins/plugin-central","aictools/models/subscriptions/subscription-upsell-model"],function(e,t,i,o,a,r,s){return function(n){var l,c,d,p,u=new a,g=i.OK,m=n.sku,h=s.getInstance();return h.isPDFPackSku(m)?p="createpdf":h.isExportPDFSku(m)?p="exportpdf":h.isStandaloneCPDFSku(m)?p="standalonecpdf":h.isFillAndSignSku(m)?p="fillandsign":h.isAsubSku(m)?p="acrobatpro":h.isAstdSku(m)?p="acrobatstd":h.isSendSku(m)&&(p="sendnow"),h.resetUpsellInfo(),l=i.ANYWARE_CART_PURCHASE_SUCCESS+"<br><br>"+_.template(i.SUB_MANAGER_UPGRADE_DONE_PART2,{userEmailAddr:o.get("email")}),c=e.appApi.dialogApi.displayHtmlAlert(e.appApi.dialogApi.SEVERITY_INFORMATIONAL,i.SUCCESS,l,g),d=u.registerProduct(p,m),c.then(_.bindex(function(){var a="eventClass=subscriptions	eventWorkflow=anywarecart	eventType=<%= evtType %>	sku=<%= sku %>";t.showFrameworkSpinner(!0),d.then(_.bindex(function(){t.showFrameworkSpinner(!1),o.refetch().done(function(){r.reset()}),"OPEN"===n.orderStatus&&LOG.info(_.template(a,{evtType:"openToFulfilledInTempProvisionSpan",sku:this.options.sku}),{logServer:!0}),this.options.destination&&_.defer(t.navigate,this.options.destination,{trigger:!0})},{options:n}),_.bindex(function(){t.showFrameworkSpinner(!1),e.appApi.dialogApi.displayHtmlAlert(e.appApi.dialogApi.SEVERITY_ERROR,i.SUB_MANAGER_ERROR_DLG_TITLE,i.ANYWARE_CART_PURCHASE_OPEN,i.OK),LOG.info(_.template(a,{evtType:"OpenOrder",sku:this.options.sku}),{logServer:!0})},{options:n}))},{options:n}))}}),define("aictools/ops/subscription/subscription-failure",["aictools/aic","aictools/analytics/analytics","i18n!aictools/nls/ui-strings","aictools/util/util","aictools/util/strings"],function(e,t,i,o,a){return function(r,s,n){var l,c={anyware:"anyware-purchase-error"}[r]||"aic-tool-upgrade-error",d=r===a.scNames.MYPLAN?"User:"+r:"Tools:"+r,p=s||i.SUB_MANAGER_SUPPORT_MSG_FOR_SUB,u={goto_adobe:i.SUB_MANAGER_SUPPORT_ACTION,customer_support:i.SUB_MANAGER_CUS_SUPPORT_ACTION,edit_billing:i.SUB_MANAGER_INVALID_BILLING_ACTION,refresh:i.OK,goto_myplan:i.OK}[n],g="refresh"===n?null:i.CANCEL,m="anyware"===r?"anyware-purchase-err-cust-support":{goto_adobe:"aic-upgrade-err-goto-adobe",customer_support:"aic-upgrade-err-cust-support",edit_billing:"aic-upgrade-err-edit-billing",refresh:"aic-upgrade-err-refresh",goto_myplan:"aic-upgrade-err-goto-myplan"}[n],h="anyware"===r?"anyware-purchase-err-cancel":"aic-upgrade-err-cancel",E=$("<div></div>").addClass("site-catalyst "+c).text(p);return d&&E.attr("data-source",d),l=e.appApi.dialogApi.displayHtmlAlert(e.appApi.dialogApi.SEVERITY_ERROR,i.SUB_MANAGER_ERROR_DLG_TITLE,E[0].outerHTML,u,g,{okButtonClass:m+" "+t.ANALYTICS_CLASS,cancelButtonClass:h+" "+t.ANALYTICS_CLASS}).then(function(){switch(n){case"goto_adobe":window.open(o.prependAiCServerString("/redir/sp_manageaccount"));break;case"customer_support":window.open(o.prependAiCServerString("/redir/asub_upgrade_support"));break;case"edit_billing":_.delay(function(){o.navigate("edit_billing",{trigger:!0})},100);break;case"refresh":window.location.reload();break;case"goto_myplan":_.delay(function(){o.navigate("my_plan",{trigger:!0})},100)}}),d&&$(".alert-dialog-container .site-catalyst").data("source",d),l}}),define("aictools/ops/subscription/subscription-reauth-op",["aictools/aic","aictools/util/util","i18n!aictools/nls/ui-strings"],function(e,t){var i=function(){this.initialize||(this.initialize=function(){}),this.initialize.apply(this,arguments)};return i.extend=Backbone.View.extend,i=i.extend({initialize:function(){this.w=null,this.signinSucceedCallback=null,this.appOrigin=document.location.origin||document.location.protocol+"//"+document.location.host,this.clientId=this.getClientId(),this.signedIn=!1,this.checkPopup=null,this.inCloseSUSIWindow=!1},getIMSAuthorizeAPI:function(){return e.appApi.baseCloudUrisApi.getImsUri()+"/ims/authorize/v1"},getIMSValidateTokenAPI:function(){return e.SERVER_PARAMS.IMS.adobe_IDP_host_URL+"/ims/validate_token/v1"},getClientId:function(){return e.SERVER_PARAMS.IMS.susi_client_id},getLocale:function(){var t=e.appApi.localeApi.getLocale();return t&&(t=t.replace("-","_")),t},getRedirectURI:function(){return this.appOrigin+"/finish_forced_re_auth.html"},buildUrlForApiCall:function(e,t){return e+"?"+$.param(t)},setUpWindowListener:function(){window.addEventListener?window.addEventListener("message",this.signinSucceedCallback,!1):window.attachEvent&&window.attachEvent("onmessage",this.signinSucceedCallback)},detachWindowListener:function(){window.removeEventListener?window.removeEventListener("message",this.signinSucceedCallback):window.detachEvent&&window.detachEvent("onmessage",this.signinSucceedCallback)},postMsg:function(e){window.postMessage(e,this.appOrigin)},setUpProxyFunction:function(){window.postMessageProxyForReAuth||(window.postMessageProxyForReAuth=_.bindex(function(e){_.defer(_.bindex(this.postMsg,this),[e])},this))},checkPopupWindow:function(){this.checkPopup=setInterval(_.bindex(function(){this.w&&this.w.closed&&(this.signedIn||"function"!=typeof this.options.signinCancel||this.options.signinCancel(),clearInterval(this.checkPopup))},this),100)},closeSUSIWindow:function(){this.inCloseSUSIWindow||(this.inCloseSUSIWindow=!0,this.w&&!this.w.closed&&this.w.close(),this.w=null,this.cleanUp(),this.inCloseSUSIWindow=!1)},cleanUp:function(){clearInterval(this.checkPopup),this.detachWindowListener(),this.signedIn=!1},launchSUSIWindow:function(i){var o,a=this.getIMSAuthorizeAPI(),r=this.getLocale(),s=this.getRedirectURI(),n=this.clientId,l="AdobeID,openid",c="force",d=e.appApi.usersMeApi.getUserIdentity().email,p="subscription_re_auth_modal",u='{"ac":"cloud.acrobat.com:A-WEB:SubMgr"}',g=600,m=600,h=parseInt((screen.availLeft||0)+Math.max(0,screen.availWidth-m)/2,10),E=parseInt((screen.availTop||0)+Math.max(0,screen.availHeight-g)/2,10);return this.closeSUSIWindow(),this.setUpProxyFunction(),this.options=i,this.options&&(this.signinSucceedCallback=_.bindex(function(e){var i,o=e.data;e.origin===this.appOrigin&&(t.isIE()&&_.isArray(o)&&(o=o[0]),i=JSON.parse(o).sub_reauth_access_token,i&&(this.validateToken(i).always(_.bindex(function(e,t){"success"===t&&e.valid&&e.token.client_id===this.clientId&&(this.signedIn=!0,this.options&&this.options.signinSuccess&&this.options.signinSuccess())},this)),this.closeSUSIWindow()))},this)),this.setUpWindowListener(),o=this.buildUrlForApiCall(a,{response_type:"token",client_id:n,reauth:c,scope:l,puser:d,eu:!0,locale:r,redirect_uri:s,state:u}),this.w=window.open(o,p,"width="+m+",height="+g+",left="+h+",top="+E+",toolbar=no,menubar=no"),this.w&&(window.onunload=_.bindex(function(){this.closeSUSIWindow()},this),this.checkPopupWindow()),this.w},validateToken:function(e){var t={url:this.getIMSValidateTokenAPI(),dataType:"jsonp",cache:!1,global:!1,data:{client_id:this.clientId,type:"access_token",token:e}};return $.ajax(t)}},{instance:null,getInstance:function(){return i.instance||(i.instance=new i),i.instance}})}),define("aictools/ops/subscription/susi-splunk-log-op",[],function(){var e="eventClass=subscriptions	eventWorkflow=susiReauth	eventContext=<%= context %>	eventType=<%= evtType %>	success=<%= state %>";return function(t,i,o,a){var r=_.template(e,{evtType:o,state:a,context:i})+t;_.delay(function(e){LOG.info(e[0],{logServer:!0})},50,[r])}}),define("aictools/views/in-app-anyware-dialog-view",["aictools/aic","aictools/util/util","aictools/templates/in-app-anyware-cart-dialog-view-template","i18n!aictools/nls/ui-strings","aictools/util/localize","aictools/views/subscription-anyware-cart-view","aictools/views/dialog-view","aictools/views/subscription-password-input-view","aictools/ops/subscription/order-complete-op","aictools/models/ui/subscriptions/tools-ipms-ui-model","aictools/ops/subscription/subscription-failure","aictools/analytics/analytics","aictools/models/users-me-model","aictools/ops/subscription/subscription-reauth-op","aictools/ops/subscription/get-splunk-common-string","aictools/ops/subscription/susi-splunk-log-op","aictools/models/subscriptions/subscription-upsell-model","aictools/util/strings"],function(e,t,i,o,a,r,s,n,l,c,d,p,u,g,m,h,E){var T,P="AnywareCart:Complete:<Plan>:AiCWebApp";return T=s.extend({events:function(){return _.extend({},s.prototype.events,{"click .dialog-close-btn":"onCancelButton","click #aic-anyware-error-ok":"onPurchaseFromStore","click .aic-susi-continue":"_createAnywareViewAfterSUSISignIn"})},initialize:function(e){s.prototype.initialize.call(this,"aic_dialog_in_app_anyware_cart",i),this.options=e,this.sku=parseInt(this.options.sku,10),this.promoId=this.options.promoId,this.dObj=this.options.dObj,this.toolAnalyticaName=this.options.analyticName,this.anywareView=null,this.isFirefox=t.isFirefox(),this.isIE9OrBelow=t.isIE9orBelow(),this.planAnalyticName=this.getplanAnalyticName(),this.splunkCommonString=m({subModel:null}),this.bThroughDeepLink=-1!==window.location.pathname.indexOf("purchase")},getplanAnalyticName:function(){return E.getInstance().getAnalyticPlanCodeForSku(this.sku)},render:function(){var i=a.htmlSanitize({anywareError:o.ANYWARE_CART_ERROR,supportMsg:o.ANYWARE_CART_ADOBE_STORE,ok:o.OK});i.susiMsg=o.SUB_MANAGER_SUSI_PURCHASE_MSG,this.$el.html(this.template(i)),this.bThroughDeepLink&&t.navigate("purchase_only/"+this.sku.toString()+"/"+this.promoId,{trigger:!1}),this.manageHistory||(this.manageHistory=_.bindex(function(e){-1===e.indexOf("purchase")&&this.cancelDialog(!0)},this)),e.appApi.routerApi.addHistoryChangeCallback(this.manageHistory),s.prototype.render.call(this)},commitDialog:function(t){e.appApi.routerApi.removeHistoryChangeCallback(this.manageHistory),delete this.manageHistory,t||window.history.back(),s.prototype.commitDialog.call(this)},cancelDialog:function(i){e.appApi.routerApi.removeHistoryChangeCallback(this.manageHistory),delete this.manageHistory,i||(_.delay(function(e){document.location.href===e[0]&&window.history.back()},100,[document.location.href]),window.history.back()),t.featureEnabled("susi_for_release")&&g.getInstance().closeSUSIWindow(),s.prototype.cancelDialog.call(this)},onShow:function(){this.isFirefox||this.isIE9OrBelow?this.$("#aic-anyware-frame-holder").height(0):this.$("#aic-anyware-frame-holder").addClass("hide"),t.featureEnabled("susi_for_release")?this._createAnywareViewAfterSUSISignIn()||this.$(".aic-anyware-susi-msg").removeClass("hide"):this.createAnywareView(),this.center(this.$backgroundId)},_createAnywareViewAfterSUSISignIn:function(e){var t;return e&&this.$(".aic-anyware-susi-msg").addClass("hide"),t=g.getInstance().launchSUSIWindow({signinSuccess:_.bindex(function(){this.createAnywareView(),this.center(this.$backgroundId),p.emit("##aic-purchase-susi-success",{data:{source:"Tools:"+this.toolAnalyticaName}}),h(this.splunkCommonString,"purchase","signin","true")},this),signinCancel:_.bindex(function(){p.emit("##aic-purchase-susi-cancel",{data:{source:"Tools:"+this.toolAnalyticaName}}),this.onCancelButton(),h(this.splunkCommonString,"purchase","signinCancel","true")},this)}),t&&p.emit("##aic-purchase-susi-shown",{data:{source:"Tools:"+this.toolAnalyticaName}}),h(this.splunkCommonString,"purchase","shown",t?"true":"false"),t},createAnywareView:function(){this.anywareView||(this.anywareView=new r({sku:this.sku,$el:this.$("#aic-anyware-frame-holder")}),this.anywareView.on("anyware-cart-invalid-session",_.bindex(this.handleCartInvalidSession,this)),this.anywareView.on("anyware-cart-order-complete",_.bindex(this.onOrderComplete,this)),this.anywareView.on("anyware-cart-app-resize",_.bindex(this.onAnywareResize,this)),this.anywareView.on("anyware-cart-error",_.bindex(this.onAnywareGeneralError,this)),this.anywareView.on("anyware-cart-cc-expired",_.bindex(this.onAnywareCCExpired,this)),this.anywareView.on("anyware-cart-cc-address-invalid",_.bindex(this.onAnywareCCAddrError,this)),this.anywareView.on("anyware-cart-billing-address-invalid",_.bindex(this.onAnywareBillingAddrError,this)),this.anywareView.on("anyware-cart-checkout-loaded",_.bindex(this.onAnywareCartLoaded,this)),this.anywareView.on("anyware-cart-invalid-data",_.bindex(this.onAnywareCartInvalidData,this)),this.anywareView.on("anyware-cart-order-validated",_.bindex(this.onAnywareCartOrderValidated,this)),this.anywareView.on("anyware-cart-fraud-check",_.bindex(this.onAnywareCartFraudCheck,this)),this.anywareView.on("anyware-cart-order-request-failed",_.bindex(this.onAnywareCartOrderRequestfailed,this)),this.anywareView.render())},onCancelButton:function(){this.anywareView&&(this.anywareView.unloadAnyware(),this.anywareView.remove()),this.cancelDialog(!this.bThroughDeepLink)},onButtonKeyDown:function(e){var t,i,o=e.which;return 13!==o&&32!==o||(t=e.currentTarget,i=$.Event("click"),i.currentTarget=t,"aic-cancel-sign-in"!==t.id)?void 0:this.onCancelButton(i)},handleCartInvalidSession:function(){if(this.passwordInputView)this.onSignInError();else{var e={className:"aic-inline-password site-catalyst",$el:this.$(".signin")};this.passwordInputView=new n(e),this.passwordInputView.render(),this.$("#aic-anyware-loading").addClass("hide"),this.isFirefox||this.isIE9OrBelow||this.$("#aic-anyware-frame-holder").addClass("hide"),this.$(".aic-anyware-loading-fail").addClass("hide"),this.listenTo(this.passwordInputView,"sign-in-success",this.onSignInSuccess),this.listenTo(this.passwordInputView,"sign-in-error",this.onSignInError),this.listenTo(this.passwordInputView,"sign-in-cancel",this.onCancelButton),this.center(this.$backgroundId)}this.anywareView&&this.anywareView.unloadAnyware()},onAnywareCartOrderRequestfailed:function(){p.emit("##aic-anyware-request-failed",{data:{Plan:this.planAnalyticName}})},onAnywareCartFraudCheck:function(){p.emit("##aic-anyware-fraudcheck",{data:{Plan:this.planAnalyticName}})},onAnywareCartInvalidData:function(){p.emit("##aic-anyware-invalid-data",{data:{Plan:this.planAnalyticName}})},onAnywareCartOrderValidated:function(){p.emit("##aic-anyware-order-validated",{data:{Plan:this.planAnalyticName}})},onAnywareCartLoaded:function(){p.emit("##aic-anyware-shown",{data:{Plan:this.planAnalyticName}})},onAnywareResize:function(e){var t,i=(this.$el.height(),$(window).height());this.$("#aic-anyware-loading").addClass("hide"),t=this.$("#aic-anyware-frame-holder"),t.removeClass("hide"),this.$el.addClass("aic-anyware-resize"),e&&(i-60>e?(this.$el.css("height",e+40),this.$el.removeClass("scroll")):(this.$el.css("height",i-100),this.$el.addClass("scroll")),t.css("height",e)),this.center(this.$backgroundId)},onSignInError:function(){this.$("#aic-anyware-frame-holder").addClass("hide"),this.passwordInputView.remove(),delete this.passwordInputView,this.$("#aic-anyware-loading").addClass("hide"),this.$(".aic-anyware-loading-fail").removeClass("hide"),this.center(this.$backgroundId)},onSignInSuccess:function(){(this.isFirefox||this.isIE9OrBelow)&&this.$("#aic-anyware-frame-holder").removeClass("hide"),this.$("#aic-anyware-loading").removeClass("hide"),this.passwordInputView.remove(),delete this.passwordInputView,this.center(this.$backgroundId),this.anywareView.reloadAnyware()},onAnywareGeneralError:function(){p.emit("##aic-anyware-err-dlg-shown",{data:{Plan:this.planAnalyticName}}),this.$("#aic-anyware-frame-holder").addClass("hide"),this.$("#aic-anyware-loading").addClass("hide"),this.$(".aic-anyware-loading-fail").removeClass("hide"),this.$el.removeClass(".aic-anyware-resize").css("height","auto"),this.center(this.$backgroundId)
},onOrderComplete:function(e){var t="cloud.acrobat.com:A-WEB:ACOM-Free:"+P.replace("<Plan>",this.planAnalyticName);this.sendPurchaseEvent(e,t),("FULFILLED"===e.orderStatus||"OPEN"===e.orderStatus)&&_.defer(l,{sku:this.sku,orderStatus:e.orderStatus,destination:this.options.destination}),this.anywareView.unloadAnyware(),this.commitDialog(!this.bThroughDeepLink)},onPurchaseFromStore:function(){this.dObj.reject(),this.onCancelButton()},onAnywareCCExpired:function(){p.emit("##aic-anyware-cc-expired",{data:{Plan:this.planAnalyticName}}),_.defer(this.showErrorDlg,["anyware",o.ANYWARE_CART_CC_EXPIRED_ERROR,"customer_support"]),this.onCancelButton()},onAnywareCCAddrError:function(){p.emit("##aic-anyware-invalid-ccAddr",{data:{Plan:this.planAnalyticName}}),_.defer(this.showErrorDlg,["anyware",o.ANYWARE_CART_CC_ADDRESS_ERROR,"customer_support"]),this.onCancelButton()},onAnywareBillingAddrError:function(){p.emit("##aic-anyware-invalid-billingAddr",{data:{Plan:this.planAnalyticName}}),_.defer(this.showErrorDlg,["anyware",o.ANYWARE_CART_CC_BILLING_ADDRESS_ERROR,"customer_support"]),this.onCancelButton()},showErrorDlg:function(e){d.apply(null,e)},sendPurchaseEvent:function(t,i){var o=t.billingAddress,a=t.paymentInstrument,r=t.summary,s=";SKU;1;TOTALPRICE;;,;;;;,eVar8=PAYMENTMETHOD;",n=0,l={},c="",d="",_="",g="";o&&o.StateProvince&&(c=o.StateProvince.code,d=o.postalCode.toString()),a&&(_=a.type),r&&r.currency&&(g=r.currency.iso3code,n=r.summary_prices.total),s=s.replace("SKU",this.sku.toString()).replace("PAYMENTMETHOD",_).replace("TOTALPRICE",n.toString()),l.data={Plan:this.planAnalyticName},l.rawProperties={channel:"Cart",eVar20:this.promoId,state:c,zip:d,eVar8:_,currencyCode:g,products:s,eVar27:t.orderNumber,events:"purchase",purchaseID:t.orderNumber,prop4:e.appApi.localeApi.getLocaleByCountry(u.get("country_code")).replace("-","_")+":"+i},p.emit("##aic-anyware-order-completed",l)}})}),define("aictools/ops/subscription/anyware-purchase-op",["aictools/views/in-app-anyware-dialog-view"],function(e){return function(t){var i,o=$.Deferred();return t=t||{},t.dObj=o,i=new e(t),i.showDialog(),o.promise()}}),define("aictools/models/subscriptions/subscription-model",["aictools/aic","aictools/util/util","aictools/models/model"],function(e,t){var i=Backbone.Model.extend({idAttribute:"subscriptionGuid",upgradeToSku:0,incompleteSubData:!1,eligiblePlansSku:[],getSubscriptionName:function(){return this.get("sellableItem").name},getProductName:function(){var e=this.getSubscriptionName(),t=e.indexOf(",");return t>0?e.substring(0,t):e},getSubscriptionContractID:function(){return this.get("subscriptionContracts").subscriptionContract.contractGUID},getBillingInfo:function(){var e=this.get("subscriptionContracts").subscriptionContract.PrimaryAccount.billingInfo,t=this.get("subscriptionContracts").subscriptionContract.PrimaryAccount.billingInfos;return e||t},getBillingFrequency:function(){return this.getBillingInfo().frequency},getBillingAmount:function(){var e=this.getBillingInfo().billingSchedules.billingSchedule.amount;return e},getBillingCurrencyInfo:function(){return this.getBillingInfo().billingSchedules.billingSchedule.currency},getNextBillingDate:function(){return this.getBillingInfo().billingSchedules.billingSchedule.nextBillingDate},getBillingAmountInfo:function(){var e,i,o,a,r,s={numBeforeDelimiter:"",numAfterDelimiter:"",delimiter:"",currencySymbol:"",formatString:"",isSymbolPrefix:!0};return e=this.getBillingCurrencyInfo(),i=this.getCountryCode().toLowerCase(),e&&(s.delimiter=e.delimiter||s.delimiter,s.currencySymbol=e.symbol||s.currencySymbol),o="jp"!==i?!0:!1,a=t.currency.formatPrice(e.formatString,this.getBillingAmount(),o,!0,e.symbol),r=t.currency.breakDownPrice(a,s.currencySymbol),s.formatString=e.formatString,s.numBeforeDelimiter=r.priceWithoutSymbolAndCents,s.numAfterDelimiter=r.cents||"",s.isSymbolPrefix=r.isSymbolPrefix,s},getPaymentcardInfo:function(){var e,i,o,a={billingName:"",cardMaskedNumString:"",cardExpireDate:"",streetAddr:"",citystatecountry:"",isJP:!1};return e=this.get("subscriptionContracts").subscriptionContract.PrimaryAccount.ccInstrumentData,e&&(a.billingName=e.account_holder_name||e.accountHolderName,i=e.assignedAddress,"JP"===this.getCountryCode()&&(a.billingName=i.contact.lastName+i.contact.firstName,a.isJP=!0),o=t.addressFormat.getFormattedAddress(i.country.iso3166Alpha2Code||i.country.iso_3166_alpha2_code,i),a.streetAddr=o.streetAddr,a.citystatecountry=o.citystatecountry,a.cardMaskedNumString=e.paymentType+" ",a.cardMaskedNumString+=e.creditCardNumberMasked||e.bankAccountMasked,a.cardExpireDate=e.creditCardExpiryDateDisplay||e.credit_card_expiry_date_display),a},getCountryCode:function(){var e=this.get("subscriptionContracts").subscriptionContract.PrimaryAccount.ccInstrumentData.assignedAddress.country;return e.iso3166Alpha2Code||e.iso_3166_alpha2_code},getSku:function(){return this.get("sellableItem").sku||this.get("sellableItem").SKU},setUpgradeToSku:function(e){"number"==typeof e&&(this.upgradeToSku=e)},getEligiblePlansSku:function(){var e,t=this.get("planChangeEligibleSellableItems");return t?(e=this.get("planChangeEligibleSellableItems").sellableItem,e&&0===this.eligiblePlansSku.length&&$.each($.makeArray(e),_.bind(function(e,t){this.eligiblePlansSku.push(t.sku||t.SKU)},this))):this.incompleteSubData=!0,this.eligiblePlansSku},isEligiblePlan:function(e){return $.inArray(e,this.getEligiblePlansSku())>=0},getMarketSegement:function(){var e=this.get("sellableItem").regionalInfos.regionalInfo.regionId;return e.search(/edu|esw/i)>=0?"EDU":"COM"},isCancelable:function(){return this.get("subscriptionContracts").subscriptionContract.cancelInfo.isCancelable},isRestartable:function(){return"STOPPED"===this.get("status")&&this.get("isRestartable")},isActive:function(){return"ACTIVE"===this.get("status")},isStopped:function(){return"STOPPED"===this.get("status")},isSuspended:function(){return"SUSPENDED"===this.get("status")},isSuspended30:function(){return"SUSPENDED30"===this.get("status")},isAnnualPlan:function(){var e=this.get("subscriptionContracts").subscriptionContract.commitmentTerm;return e?e.search(/annual/i)>=0:!1},getCCExpDate:function(){var e=this.get("subscriptionContracts").subscriptionContract.PrimaryAccount.ccInstrumentData,t=null;return e&&e.creditCardExpireDate&&(t=e.creditCardExpireDate),t},isCCExpired:function(){var e,t=this.getCCExpDate();return t&&(t=t.replace(/\-/g,"/"),e=new Date(t),e<new Date)?!0:!1},getDaysForCCToExpire:function(){var e,t,i,o,a=this.getCCExpDate();return a?(a=a.replace(/\-/g,"/"),e=a.indexOf("T"),e>0&&(a=a.substr(0,e)),t=new Date(a),i=(t-new Date)/864e5,o=parseInt(i,10),0===o&&(o=i>0?1:-1),o):null},getDaysToNextBillingDate:function(){var e,t,i,o,a=this.getNextBillingDate();return a?(a=a.replace(/\-/g,"/"),e=a.indexOf("T"),e>0&&(a=a.substr(0,e)),t=new Date(a),i=(t-new Date)/864e5,o=parseInt(i,10),0===o&&(o=i>0?1:-1),o):null},getCCShortNumber:function(){var e=this.get("subscriptionContracts").subscriptionContract.PrimaryAccount.ccInstrumentData;return e?e.creditCardShortNumber:null},changeSubscription:function(i){var o=e.getBaseUriApi()+"proxy/jil/subscriptions/v1/"+this.id,a=(this.getCountryCode(),{Subscription:{sellableItem:{SKU:this.upgradeToSku}}});i=i||{},i.headers=i.headers||{},i.headers["x-api-client-id"]=e.Model.api_client_id,i.headers.upgrade_from_sku=this.getSku(),i.headers.upgrade_to_sku=this.upgradeToSku,i=t.jil_api_addOptions(i,"PUT"),this.doIt(o,a,i).done(_.bindex(function(e){this.collection.reset(e.Subscriptions.subscription),i.success&&i.success()},this)).fail(_.bindex(function(e){i.error&&i.error(e)},this))},cancelSubscription:function(i){var o=e.getBaseUriApi()+"proxy/jil/subscriptions/v1/"+this.id+"/subscription-contract-instances/"+this.getSubscriptionContractID()+"/cancel-info-with-no-fee",a={CancelInfo:{reasonCode:i.reasonCode,notes:i.notes}};return i=i||{},i.headers=i.headers||{},i.headers["x-api-client-id"]=e.Model.api_client_id,i.headers.product_sku=this.getSku(),i=t.jil_api_addOptions(i,"PUT"),this.doIt(o,a,i).done(_.bindex(function(){this.set({isRestartable:!0,status:"STOPPED"},{silent:!0}),this.get("subscriptionContracts").subscriptionContract.cancelInfo.isCancelable=!1,this.trigger("change",this)},this))},restartSubscription:function(i){var o=e.getBaseUriApi()+"proxy/jil/subscriptions/v1/"+this.id+"/subscription_status",a={Subscription:{status:"ACTIVE"}};return i.headers=i.headers||{},i.headers["x-api-client-id"]=e.Model.api_client_id,i.headers.product_sku=this.getSku(),i=t.jil_api_addOptions(i,"PUT"),this.doIt(o,a,i).done(_.bindex(function(){this.set({isRestartable:!1,status:"ACTIVE"},{silent:!0}),this.get("subscriptionContracts").subscriptionContract.cancelInfo.isCancelable=!0,this.trigger("change",this)},this))},doIt:function(e,t,i){return $.ajax({type:"PUT",dataType:"json",contentType:"application/json",url:e,headers:i.headers,data:JSON.stringify(t),timeout:i.timeout,global:!1,modal:!0})}});return i}),define("aictools/models/subscriptions/subscription-collection",["aictools/aic","aictools/util/util","aictools/models/subscriptions/subscription-model","aictools/models/subscriptions/product-offer-collection","aictools/models/users-me-model","aictools/util/strings","aictools/models/model"],function(e,t,i,o,a,r){var s=Backbone.Collection.extend({model:i,initialize:function(){this.sync=_.bind(t.jil_api_sync,t)},url:function(){return e.getBaseUriApi()+"proxy/jil/subscriptions/v1"},mainSubscription:null,fetchPromise:null,getMainSubscription:function(e){if(null===this.fetchPromise){var t={global:!0};"boolean"==typeof e&&(t={global:e}),this.fetchPromise=this.fetch(t).then(_.bindex(function(e){e.mockData&&this.reset([e.Subscriptions.subscription],{silent:!0});var t=this.findMainSubscription();if(t)return t},this))}return this.fetchPromise},getSubscriptions:function(){return this.getMainSubscription().then(_.bind(function(){return this.models},this))},fetch:function(t){return _.extend(t,{headers:{"x-api-client-id":e.Model.api_client_id}}),Backbone.Collection.prototype.fetch.call(this,t)},parse:function(e){return e.Subscriptions.subscription?_.filter($.makeArray(e.Subscriptions.subscription),function(e){return _.has(e,"sellableItem")&&_.has(e,"subscriptionContracts")?"ACTIVE"===e.status||"SUSPENDED"===e.status||"PROCESSING"===e.status||"STOPPED"===e.status:void 0}):[]},findMainSubscription:function(){var e=this.get(this._getMainSubscriptionGUID()),t=a.getServiceNameString();return!e&&this.models.length>0&&$.each(this.models,function(i,o){var a=o.getProductName();switch(t){case r.subNames.SEND_NOW:a&&a.search(/send/i)>=0&&(e=o);break;case r.subNames.CREATEPDF:a&&a.search(/pdfpack/i)>=0&&(e=o);break;case r.subNames.EXPORTPDF:a&&a.search(/export/i)>=0&&(e=o);break;case r.subNames.ASTD:case r.subNames.APLUS:a&&a.search(/acrobat/i)>=0&&(e=o);break;case r.subNames.FILL_AND_SIGN:a&&a.search(/fill/i)>=0&&(e=o)}}),e?e:void 0},_getMainSubscriptionGUID:function(){var t,i="";return"function"==typeof e.appApi.usersMeApi.getUserSubscriptions&&(t=e.appApi.usersMeApi.getUserSubscriptions(),t&&_.isArray(t.subscriptions)&&t.subscriptions.length>1&&(i=t.subscriptions[0].sub_ref)),i}});return e.subscriptionCollection=new s,e.subscriptionCollection}),define("aictools/views/tool-upsell-view",["aictools/aic","aictools/util/util","i18n!aictools/nls/ui-strings","aictools/models/users-me-model","aictools/models/ui/subscriptions/tools-ipms-ui-model","aictools/ops/ipm/update-ipm-op","aictools/ops/subscription/anyware-purchase-op","aictools/views/view","aictools/ops/subscription/get-splunk-common-string","aictools/models/subscriptions/subscription-upsell-model","aictools/models/subscriptions/subscription-collection"],function(e,t,i,o,a,r,s,n,l,c){var d=n.extend({events:{"click #tool_upsell>.aic-service-btn-wrapper":"onServiceBtnClicked","click #upsell_link1":"onupsellLinkClicked","click #upsell_link2":"onupsellLinkClicked","click #upsell_link3":"onupsellLinkClicked"},initialize:function(){n.prototype.initialize.call(this),this.upsellModel=c.getInstance()},render:function(e){return n.prototype.render.call(this,e),this.getIPMs(),$.Deferred().resolve().promise()},handleDrop:function(){},upgradeUnavailable:function(t){var o;e.appApi.dialogApi.displayTextAlert(e.appApi.dialogApi.SEVERITY_ERROR,i.SUB_MANAGER_UNAVAILABLE_COUNTRY,t?i.SUB_MANAGER_UPGRADE_UNAVAILABLE_COUNTRY_BODY:i.SUB_MANAGER_PURCHASE_UNAVAILABLE_COUNTRY_BODY,i.OK,null,{okButtonClass:"aic-product-upgrade-unavailable-country site-catalyst"}),o=l({subModel:e.subscriptionCollection.findMainSubscription()}),_.defer(LOG.info,o+"	eventClass=subscriptions	eventWorkflow="+(t?"upgradeNow":"subscribeNow")+"	eventType=unavailableCountry	eventContext="+this.pluginName(),{logServer:!0})},onServiceBtnClicked:function(){if(!o.hasPaidSubscription())return void this.goToPricePage();var a=e.subscriptionCollection.getMainSubscription();a.then(_.bindex(function(){var o,r=e.subscriptionCollection.findMainSubscription();r?this.upsellModel.getUpsellInfo().then(_.bindex(function(){var e=this.upsellModel.getUpsellUnitsForEntitlement(this.entitlementName());e.length>0?(r.setUpgradeToSku(parseInt(e[0].sku,10)),t.navigate(e[0].url,{trigger:!0})):_.bindex(this.upgradeUnavailable(!0),this)},this),_.bindex(this.goToSupport,this)):("resolved"===a.state()?_.delay(_.bindex(this.goToPricePage,this),0):e.appApi.dialogApi.displayTextAlert(e.appApi.dialogApi.SEVERITY_INFORMATIONAL,i.SUB_MANAGER_CUS_SUPPORT_ACTION,i.SUB_MANAGER_SUPPORT_MSG,i.OK,i.CANCEL).then(_.bindex(this.goToSupport,this)),o=l({subModel:r}),_.defer(LOG.info,[{logServer:!0},o+"	eventClass=subscriptions	eventWorkflow=getsubscriptions	eventType=invalidSKU"]))},this),function(){e.appApi.dialogApi.displayTextAlert(e.appApi.dialogApi.SEVERITY_INFORMATIONAL,i.SUB_MANAGER_CUS_SUPPORT_ACTION,i.SUB_MANAGER_SUPPORT_MSG,i.OK,i.CANCEL).then(_.bindex(this.goToSupport,this))})},goToSupport:function(){window.open(t.prependAiCServerString("/redir/asub_upgrade_support"))},goToPricePage:function(){this.upsellModel.getUpsellInfo().then(_.bindex(function(){var i,a,r=this.upsellModel.getUpsellUnitsForEntitlement(this.entitlementName()),n=o.get("country_code");r.length>0?(a=r[0].sku,i=$.param({locale:e.appApi.localeApi.getLocaleByCountry(n).replace("-","_"),sku:a,promoid:this.promoId}),t.featureEnabled("aic_anyware")?s({promoId:this.promoId,sku:parseInt(a,10),analyticName:this.analyticsName()}).fail(_.bindex(function(){window.open(t.prependAiCServerString("/redir/subscribe_now?"+this.params))},{params:i})):window.open(t.prependAiCServerString("/redir/subscribe_now?"+i))):_.bindex(this.upgradeUnavailable(),this)},this),_.bindex(this.goToSupport,this))},getIPMs:function(){var e=this.getMBoxId();$("#"+e).addClass("aic-default-ipm"),this.mboxQueried||(r({mboxIds:[e]}),this.mboxQueried=!0)}});return d}),define("aictools/models/bh-ticket-model",["aictools/aic","aictools/models/base-uri-model","aictools/models/model"],function(e,t,i){var o=e.Model.extend({initialize:function(){i.prototype.initialize.call(this)},url:function(){return t.get("api")+"session/bh_session"},getTickets:function(e){var t=JSON.stringify({primary:!0,install:!!e});return this.ajax(this.url(),"POST",t,{}).then(_.bindex(function(e){return this.set(e),e},this))}});return new o}),define("aictools/models/ui/acrobat-dlm-model",[],function(){var e={en_US:"English",da_DK:"Dansk",de_DE:"Deutsch",es_ES:"Español",fr_FR:"Français",it_IT:"Italiano",ja_JP:"日本語",nl_NL:"Nederlands",nb_NO:"Norsk",pt_BR:"Português",fi_FI:"Suomi",sv_SE:"Svenska",zh_CN:"简体中文",zh_TW:"繁體中文",ko_KR:"한국어",cs_CZ:"Čeština",pl_PL:"Polski",tr_TR:"Türkçe",ru_RU:"Русский",hu_HU:"Magyar"};return{getLocaleCodes:function(){return e},getLocaleString:function(t){return e[t]},sanitizeLocaleCode:function(t){return _.has(e,t)?t:"en_US"}}}),define("aictools/ops/files/download-no-ticket",["aictools/util/util"],function(e){return function(t){function i(e){var t=$("iframe#cpdf2download");t.length||(t=$("<iframe id='cpdf2download' style='display:none;visibility: hidden; height: 0px; width: 0px; border: 0px'/>").appendTo("body")),t.attr("src",e)}e.isTouchDevice()?window.open(t):i(t)}}),define("aictools/templates/video-dialog-view-template",[],function(){return'<div class="video-section"><iframe id="aic-video-iframe" src="" width="708" height="399"></iframe></div><div class="video-button-section"><input type="button" class="aic-video-cancel site-catalyst control-button dialog-control-button" tabindex="1" data-role="none" value="<%= close %>"></div>'}),define("aictools/views/video-dialog-view",["aictools/aic","aictools/views/dialog-view","aictools/templates/video-dialog-view-template","i18n!aictools/nls/ui-strings","aictools/util/localize","aictools/views/dialog-view"],function(e,t,i,o,a){var r=t.extend({events:{"click .control-button":"onCloseButton"},initialize:function(e){t.prototype.initialize.call(this,e.className,i),this.options=e},render:function(){this.$el.append(this.template(a.htmlSanitize({close:o.CLOSE}))),this.$("#aic-video-iframe").attr("src",this.options.videoURL),t.prototype.render.call(this)},onShow:function(){this.center(this.$backgroundId)},onCloseButton:function(){this.cancelDialog()},onButtonKeyDown:function(e){var t,i,o=e.which;(13===o||32===o)&&(t=$(e.currentTarget),i=$.Event("click"),i.currentTarget=e.currentTarget,t.is(".aic-video-cancel")&&this.onCloseButton(i))}});return r}),define("aictools/views/acrobat-base-view",["aictools/aic","aictools/util/util","i18n!aictools/nls/ui-strings","aictools/util/localize","aictools/models/bh-ticket-model","aictools/models/base-uri-model","aictools/models/ui/acrobat-dlm-model","aictools/ops/files/download-no-ticket","aictools/views/view","aictools/models/users-me-model","aictools/ops/ipm/update-ipm-op","aictools/analytics/analytics","aictools/views/video-dialog-view","aictools/util/strings"],function(e,t,i,o,a,r,s,n,l,c,d,p,u,g){var m=l.extend({appEventsMap:{},events:{"click .aic-acrobat-download-change-language-text":"onChangeDownloadLanguageClick","click .aic-acrobat-dlm-language-list-item":"onDLMListItemClick",click:"onClick"},initialize:function(){l.prototype.initialize.call(this),this.dlmDownloadLocale=t.getCookie("DLMDownloadLocale")||c.get("user_lang").replace(/\-/,"_"),this.dlmDownloadLocale=s.sanitizeLocaleCode(this.dlmDownloadLocale),this.platform=void 0},toolName:function(){return g.toolNames.ACROBAT},pluginName:function(){return g.pluginNames.ACROBAT},render:function(){return l.prototype.render.call(this),this._hide_formsLink(),$.Deferred().resolve().promise()},getIPM:function(e){$("#"+e).addClass("aic-default-ipm"),this.mboxQueried||(d({mboxIds:[e]}),this.mboxQueried=!0)},isAdobeVIPSpecialCase:function(){var o=!1;return c.isAdobeVIPUser()&&!c.isASubPlusUser()&&(e.appApi.dialogApi.displayHtmlAlert(e.appApi.dialogApi.SEVERITY_INFORMATIONAL,i.EAMES_ADOBE_VIP_DOWNLOAD_TITLE,_.template(i.EAMES_ADOBE_VIP_DOWNLOAD_TEXT,{linkURL:t.prependAiCServerString("/redir/asub_download_adobe_vip")}),i.CLOSE,""),o=!0),o},isSupportedMacintoshSystem:function(){var e,i=!1;return t.isMacIntel()&&!c.isASubStdUser()&&(e=t.getMacintoshSystemInfo(),e&&10<=e.systemVersionNumber&&(6===e.majorSystemNumber?e.minorSystemNumber?8<=e.minorSystemNumber&&(i=!0):i=!0:7===e.majorSystemNumber?e.minorSystemNumber?4<=e.minorSystemNumber&&(i=!0):i=!0:e.majorSystemNumber>=8&&(i=!0))),this.platform=i?"macintosh":void 0,i},isSupportedWindowsSystem:function(){var e,i=!1;return e=t.getWindowsSystemInfo(),e&&(5===e.majorSystemNumber?1<=e.minorSystemNumber&&(i=!0):6===e.majorSystemNumber?1<=e.minorSystemNumber&&(i=!0):e.majorSystemNumber>=7&&(i=!0)),this.platform=i?"windows":void 0,i},isValidSystem:function(){var o=!1;return this.isSupportedMacintoshSystem()||this.isSupportedWindowsSystem()?o=!0:t.isMacIntel()&&c.isASubStdUser()?e.appApi.dialogApi.displayTextAlert(e.appApi.dialogApi.SEVERITY_WARNING,i.NOT_ON_MAC,i.NO_MAC_STANDARD_DLM,i.OK,""):e.appApi.dialogApi.displayHtmlAlert(e.appApi.dialogApi.SEVERITY_ERROR,i.EAMES_ERR_TITLE_UNSUPPORTED_LANGUAGE_OR_PLATFORM,_.template(i.EAMES_ERR_BODY_UNSUPPORTED_LANGUAGE_OR_PLATFORM_AND_LINK,{linkURL:t.prependAiCServerString("/redir/eames_sys_reqs")}),i.OK,""),o},getTicketsSuccess:function(){var t,o,s=a.get("install_ticket");s?(t="?"+$.param({platform:this.platform,language:this.dlmDownloadLocale,ticket:s,version:"11.0"}),o=r.get("api")+"download_manager_download"+t,n(o),this.setDownloadCookie()):e.appApi.dialogApi.displayTextAlert(e.appApi.dialogApi.SEVERITY_ERROR,i.EAMES_ERR_TITLE_NOT_AN_EAMES_USER,i.EAMES_ERR_BODY_NOT_AN_EAMES_USER,i.OK,"")},getTicketsFailure:function(){e.appApi.dialogApi.displayTextAlert(e.appApi.dialogApi.SEVERITY_ERROR,i.EAMES_ERR_TITLE_FAILED_SERVER_RESPONSE,i.EAMES_ERR_BODY_FAILED_SERVER_RESPONSE,i.OK,"")},onDownloadButtonClick:function(e){this.isValidSystem()&&!this.isAdobeVIPSpecialCase()&&($(e.currentTarget).data("value",this.dlmDownloadLocale),$(e.currentTarget).trigger(p.DIALOG_COMMIT),a.getTickets(!0).then(_.bindex(this.getTicketsSuccess,this),_.bindex(this.getTicketsFailure,this)))},onChangeDownloadLanguageClick:function(){var e=this.$(".aic-acrobat-dlm-language-list");e.is(":empty")&&_.each(s.getLocaleCodes(),function(t,i){$('<li class="aic-acrobat-dlm-language-list-item"></li>').appendTo(e).text(t).data("value",i)}),this.$(".aic-acrobat-dlm-language-list-division").removeClass("hide")},onDLMListItemClick:function(e){var o=$(e.target).text(),a=$(e.target).data("value"),r=_.template(i.EAMES_DOWNLOAD_LANGUAGE_TEXT,{installLanguage:o});this.$(".aic-acrobat-download-install-language-text").text(r).data("value",a).trigger(p.DIALOG_COMMIT),this.dlmDownloadLocale=a,t.setCookie("DLMDownloadLocale",a,365)},onClick:function(e){$(e.target).is(".aic-acrobat-download-change-language-text")||this.$(".aic-acrobat-dlm-language-list-division").addClass("hide")},setDownloadCookie:function(){},_hide_formsLink:function(){c.isAcrobatChannelUser()&&this.$(".aic-acrobat-create-form").addClass("hide")},showSelectedVideo:function(e,t){this.videoDialog=new u({videoURL:e,className:t}),this.videoDialog.showDialog()},analyticsName:function(){return"APro"}});return m}),define("aictools/templates/acrobat-sign-up",[],function(){return'<div id="eames_epdf_sign_up_view"><div id="ipm_eames_epdf_sign_up_view"><!-- Primary Division --><div class="eames_information_division"><div class="aic-acrobat-information-section-top"><div class="aic-acrobat-information-title-text"><%= informationTitleText %></div><div class="eames_signup_information_subtitle_text"><%= informationSubtitleText %></div><div class="eames_information_paragraph_text"><%= informationParagraphText %></div></div><div class="sign_up_part"><div class="sign_up_group"><div class="sign_up_group_subscription_rate"><div class="sign_up_group_subscription_currency_symbol"><%= subscriptionCurrencySymbolOneText %></div><div class="sign_up_group_subscription_price_integer_part"><%= subscriptionPriceIntegerPartOneText %></div><div class="sign_up_group_subscription_price_fraction_part"><%= subscriptionPriceFractionPartOneText %></div><div class="sign_up_group_subscription_per_time_unit"><%= subscriptionRatePerTimeUnitOneText %></div></div><div class="sign_up_group_subscription_footnote_text"><%= subscriptionFootnoteOneText %></div><input type="button" class="site-catalyst aic_sign_up_one_button control-button eames-signup-btn" data-role="none" tabindex="1" title="<%= toolTipText %>" value="<%= signUpButtonOneText %>"></input></div></div></div><!-- Middle Division --><div class="eames_table_division"><table class="eames_subscription_information_table" summary="Subscription Information"><thead><tr class="eames_table_header_row"><th class="eames_col_one" scope="col"></th><th class="eames_col_two" scope="col"><%= headerRowColTwoTableText %></th><th class="eames_col_three" scope="col"><%= headerRowColThreeTableText %></th></tr></thead><tbody><tr class="eames_table_data_row eames_table_odd_row"><td class="eames_col_one"><%= rowOneColOneTableText %></td><td class="eames_col_two"><%= rowOneColTwoTableText %></td><td class="eames_col_three"><%= rowOneColThreeTableText %></td></tr><tr class="eames_table_data_row eames_table_even_row"><td class="eames_col_one"><%= rowTwoColOneTableText %></td><td class="eames_col_two"><%= rowTwoColTwoTableText %></td><td class="eames_col_three"><%= rowTwoColThreeTableText %></td></tr><tr class="eames_table_data_row eames_table_odd_row"><td class="eames_col_one"><%= rowThreeColOneTableText %></td><td class="eames_col_two"><%= rowThreeColTwoTableText %></td><td class="eames_col_three"><%= rowThreeColThreeTableText %></td></tr><tr class="eames_table_data_row eames_table_even_row"><td class="eames_col_one"><%= rowFourColOneTableText %></td><td class="eames_col_two"><%= rowFourColTwoTableText %></td><td class="eames_col_three"><%= rowFourColThreeTableText %></td></tr><tr class="eames_table_data_row eames_table_odd_row"><td class="eames_col_one"><%= rowFiveColOneTableText %></td><td class="eames_col_two"><%= rowFiveColTwoTableText %></td><td class="eames_col_three"><%= rowFiveColThreeTableText %></td></tr><tr class="eames_table_data_row eames_table_even_row"><td class="eames_col_one"><%= rowSixColOneTableText %></td><td class="eames_col_two"><%= rowSixColTwoTableText %></td><td class="eames_col_three"><%= rowSixColThreeTableText %></td></tr><tr class="eames_table_data_row eames_table_odd_row"><td class="eames_col_one"><%= rowSevenColOneTableText %></td><td class="eames_col_two"><%= rowSevenColTwoTableText %></td><td class="eames_col_three"><%= rowSevenColThreeTableText %></td></tr><tr class="eames_table_data_row eames_table_even_row"><td class="eames_col_one"><%= rowEightColOneTableText %></td><td class="eames_col_two"><%= rowEightColTwoTableText %></td><td class="eames_col_three"><%= rowEightColThreeTableText %></td></tr><tr class="eames_table_data_row eames_table_odd_row eames_table_last_row hide"><td class="eames_col_one"><%= rowNineColOneTableText %></td><td class="eames_col_two"><%= rowNineColTwoTableText %></td><td class="eames_col_three"><%= rowNineColThreeTableText %></td></tr></tbody></table><!-- Bottom Division (inserted here by viramesh)--><div class="site-catalyst aic_system_requirements_division" style="padding-left: 40px;"><a class="system_requirements_text" tabindex="1" href="<%= systemRequirementsURL %>" target="_blank"><%= systemRequirementsText %></a></div></div></div></div>'}),define("aictools/ops/ipm/ipm-view-factory",[],function(){var e=function(){};return e.extend=Backbone.View.extend,e=e.extend({viewClazz:{},registerView:function(e,t){e&&"function"==typeof t&&(this.viewClazz[e]=t)},createView:function(e,t){var i=this.viewClazz[e];return i?new i(t||{}):null}},{instance:null,getInstance:function(){return e.instance||(e.instance=new e),e.instance}})}),define("aictools/templates/subscription-upgrade-dialog-view",[],function(){return'<!-- Copyright 2013 Adobe Systems Incorporated. All Rights Reserved. --><div id="dim-dialog" class="dialog_dim"/><div id="aic-mbox-inappupgrade_conversion"/><div id="sub-changeplan-header"><div id="sub-plan-new"><div id="sub-plan-new-info"><div class="aic_product_img"/><div id="product-name-info"><div id="charge-for-new"><%= newPlanCharge %></div><div id="new-product-name"><%= productName %></div></div></div><div id="sub-plan-new-expense"><div id="subtotal-tax"><div id="subtotal"><span class="subtotal_amount"><span class="currency_symbol hide"><%= fullCurrencySymbol %></span><span class="subtotal_rate"><%= accountRateNoDecimalPart %></span><span class="rate_superscript"><%= accountRateDecimalPart %></span><span class="aic_currency_symbol_after hide"><%= currencySymbol %></span></span><span class="subtotal_name"><%= subtotal %></span></div><div id="tax"><span class="tax_amount"><span class="currency_symbol hide"><%= fullCurrencySymbol %></span><span class="tax_rate"><%= taxRateNoDecimalPart %></span><span class="rate_superscript"><%= taxRateDecimalPart %></span><span class="aic_currency_symbol_after hide"><%= currencySymbol %></span></span><span class="tax_name"><%= tax %></span></div><div id="total"><span class="currency_symbol hide"><%= fullCurrencySymbol %></span><span class="total_rate"><%= totalNoDecimalPart %></span><span class="rate_superscript"><%= totalDecimalPart %></span><span class="aic_currency_symbol_after hide"><%= currencySymbol %></span><span class="rate_superscript"><%= paymentFrequency %></span></div></div></div></div><div id="sub-plan-old"><div id="sub-plan-old-info"><div class="aic_product_img"/><div id="product-refund-info"><div id="product-cancel-msg"><%= cancelMsg %></div><div id="product-refund-msg"><%= refundMsg %><span class="refund_amount"><span class="currency_symbol hide"><%= fullCurrencySymbol %></span><span class="refund_rate"><%= refundRateNoDecimalPart %></span><span class="rate_superscript"><%= refundRateDecimalPart %></span><span class="aic_currency_symbol_after hide"><%= currencySymbol %></span></span></div></div></div></div></div><div id="payment-info-section"><div id="payment-info-upgrade"/><div id="edit-billing-load-passwd" class="upgrade_dialog_view_edit_bill hide"><div class="password_area_holder edit_billing hide"></div><div class="aic-edit-billing-loading-fail site-catalyst hide"><div class="aic_edit-billing-frame-nub"></div><div class="aic_edit_billing_errr"><%= editBillingError %></div><div class="aic_edit_billing_support_msg"><%= editBillingSupportMsg %></div><input class="control-button dialog-control-button float_right" id="edit-billing-error-ok" tabindex="1" type="button" data-role="none" value="<%= ok %>"></div></div></div><div id="term-of-use-section"><div id="term-of-use-title"><%= termOfUse %></div><div id="term-of-use-content"><div id="term-of-use-msg"></div><div id="term-of-use-agree"><input type="checkbox" id="term-checkbox" class="site-catalyst" name="agree" tabindex="1"><div class="term_agree_message"><%= termAgreeMsg %></div></div><div class="aic_term_warning_msg site-catalyst hide"><%= termWarningMsg %></div></div></div><div id="password-section"><div id="password-title"><%= passwordTitle %></div><div class="password_area_holder password_section"/></div><div class="aic_subscription_actions"><input id="subscription-upgradenot" type="button" class="control-button dialog-control-button button-grey ui-theme theme-text float_right site-catalyst" tabindex="1" data-role="none" value="<%= upgradenot %>" title="<%= upgradenot %>"><input id="subscription-upgrade" type="button" class="control-button dialog-control-button float_right site-catalyst" tabindex="1" data-role="none" value="<%= upgrade %>" title="<%= upgrade %>"></div>'}),define("aictools/templates/subscription-payment-info",[],function(){return'<!-- Copyright 2013 Adobe Systems Incorporated. All Rights Reserved. --><div id="payment-info-change-preview" class="hide">  <div id="payment-info-title"><%= paymentInfoTitle %></div>  <div id="payment-info-content">    <div id="payment-addr-card">      <div id="billing-info">        <div class="aic_billing_addr_title"><%= billingAdderTitle %></div>        <div class="customer_name"><%= customerName %></div>        <div class="street_addr"><%= streetAddr %></div>        <div class="city_state_country"><%= cityStateCountryAddr %></div>      </div>      <div id="payment-card-info">        <div class="aic_payment_card_title"><%= paymentCard %></div>        <div class="payment_card_masked_num"><%= paymentCardTypeAndNum %></div>        <div class="payment_card_expiredate"><%= paymentCardExpireDate %></div>      </div>    </div>    <div id="edit-billing-area">      <div class="aic_edit_billing_button site-catalyst" tabindex="1"><%= editBillingInfo %></div>    </div>  </div></div><div id="payment-info-sub" class="hide">  <div class="aic_payment_info_title"><%= paymentInfoTitle %></div>  <div class="aic_payment_info_content">    <div class="aic_payment_card_title"><%= paymentCard %></div>    <div class="payment_card_masked_num"><%= paymentCardTypeAndNum %></div>    <div class="payment_card_expiredate"><%= paymentCardExpireDate %></div>    <div class="aic_billing_addr_title"><%= billingAdderTitle %></div>    <div class="customer_name"><%= customerName %></div>    <div class="billing_addr"><%= billingAddr %></div>    <div class="aic_edit_billing_button site-catalyst"><%= editBillingInfo %></div>    <div class="aic_cc_expired hide"><%= ccExpired %></div>  </div></div>'
}),define("aictools/util/date-util",["aictools/aic","i18n!aictools/nls/ui-strings"],function(e,t){var i=[t.DATE_JANUARY,t.DATE_FEBRUARY,t.DATE_MARCH,t.DATE_APRIL,t.DATE_MAY,t.DATE_JUNE,t.DATE_JULY,t.DATE_AUGUST,t.DATE_SEPTEMBER,t.DATE_OCTOBER,t.DATE_NOVEMBER,t.DATE_DECEMBER];return e.DateUtil={formatDate:function(e,o,a){var r,s,n,l,c,d,p,u;return s=a?new Date(e):this.convertToLocalTime(this.parseUtcDate(e)),p=new Date,l=s.getHours(),this.useAmPm()?(12>l?d=t.AM:(l-=12,d=t.PM),0===l&&(l=12)):(l=this.pad(l,2),d=""),c=this.pad(s.getMinutes(),2),p=this.getBeginningOfDay(p),s>p&&!o?(r=_.template(t.DATE_TODAY_HH_MM_AMPM,{hour:l,minute:c,amPm:d}),$.trim(r)):(p=this.getNumDaysAgo(p,1),s>p&&!o?(r=_.template(t.DATE_YESTERDAY_HH_MM_AMPM,{hour:l,minute:c,amPm:d}),$.trim(r)):(n=i[s.getMonth()],"string"!=typeof n?e:(u=o||t.DATE_MONTH_DD_YYYY_HH_MM_AMPM,r=_.template(u,{month:n,day:s.getDate(),year:s.getFullYear(),hour:l,minute:c,amPm:d}),$.trim(r))))},parseUtcDate:function(e){return e=e.replace(/\-/g,"/").replace(/[T|Z]/g," "),new Date(e)},convertToLocalTime:function(e){return new Date(e.getTime()-6e4*e.getTimezoneOffset())},convertToUtcTime:function(e){return new Date(e.getTime()+6e4*e.getTimezoneOffset())},getBeginningOfDay:function(e){return e=new Date(e.getTime()),e.setHours(0,0,0,0),e},getEndOfDay:function(e){return e=new Date(e.getTime()),e.setHours(23,59,59,999),e},getNumDaysAgo:function(e,t){return e=new Date(e.getTime()-864e5*t),this.getBeginningOfDay(e)},getOneMonthAgo:function(e){return e=new Date(e.getTime()),e.setDate(e.getDate()-this.getNumDaysInMonth(e)),this.getBeginningOfDay(e)},getOneMonthLater:function(e){return e=new Date(e.getTime()),e.setDate(e.getDate()+this.getNumDaysInMonth(e)),this.getBeginningOfDay(e)},isLeapYear:function(e){return 1===new Date(e,1,29).getMonth()},getNumDaysInMonth:function(e){var t,i=e.getMonth();return t=1===i?this.isLeapYear(e.getYear())?29:28:3===i||5===i||8===i||10===i?30:31},useAmPm:function(){return t.AM.length>0&&t.PM.length>0},pad:function(e,t){for(var i=e.toString();i.length<t;)i="0"+i;return i},getNumOfMonthFromNowToFutureDate:function(e){var t=this.convertToLocalTime(this.parseUtcDate(e)),i=0,o=0,a=new Date;for(i=1;24>=i;i+=1)if(t=this.getOneMonthAgo(t),a>t){o=i-1;break}return o}},e.DateUtil}),define("aictools/templates/subscription-edit-billing",[],function(){return'<div class="aic-edit-billing-loading"><div class="aic-edit-billing-loading-msg"><%= loadMsg %></div><div class="aic-subscription-mini-spinner"></div></div><div class="aic_upgrade_dialog_view_edit_billing hide"><div class="aic_edit-billing-frame-nub"></div></div>'}),define("aictools/views/subscription-edit-billing-view",["aictools/aic","i18n!aictools/nls/ui-strings","aictools/views/view","aictools/models/users-me-model","aictools/templates/subscription-edit-billing","aictools/util/localize","aictools/ops/subscription/get-splunk-common-string","aictools/util/util"],function(e,t,i,o,a,r,s,n){var l="eventClass=subscriptions	eventWorkflow=editBilling	eventType=<%= evtType %>	errorCode=<%= errCode%>",c=i.extend({initialize:function(){this.model=this.options.model,i.prototype.initialize.call(this),this.myLoader=null,this.loaded=!1,this.template=_.template(a),this.splunkCommonString=s({subModel:this.model})},render:function(){this.$el.html(this.template(r.htmlSanitize({loadMsg:t.SUB_MANAGER_BILLING_LOADING}))),this.loadEditBilling(),i.prototype.render.call(this)},hide:function(){this.$el.addClass("hide aic-zero-height"),this.$(".aic-edit-billing-loading").addClass("hide")},unhide:function(){this.$el.removeClass("aic-zero-height"),this.unhideElem(this.$el),this.$(".aic-edit-billing-loading").addClass("hide")},loadEditBilling:function(){if(!this.loaded){var t=o.get("user_lang").replace("-","_")||"en_US",i={countryCode:this.model.getCountryCode(),marketSegment:this.model.getMarketSegement(),clientId:"acrobat",primaryId:this.model.id,contractId:this.model.getSubscriptionContractID(),landscape:e.SERVER_PARAMS.IMS.landscape,tunnelPath:"/static/js/libs/adobe-anyware/rpc_relay.html"};i.languageCode=t.split("_")[0],"nb_no"===t.toLowerCase()&&(i.languageCode="no"),this.$el.subscriptions_anyware_loader(i).bind("error",_.bindex(function(e,t){if(e&&(this.logEvent(e,t),e.stopImmediatePropagation()),n.featureEnabled("edit_billing_msg")){if(t)switch(t.type){case"CARD_REJECT":case"CARD_REVIEW":case"CARD_EXPIRED":case"INVALID_ADDRESS":case"ADDRESS_INVALID":case"INVALID_VAT":case"VAT_ID_INVALID":case"USER_AUTH_ERROR":case"ACCOUNT_EXCEPTION":case"SUBSCRIPTION_NOT_FOUND":case"VALIDATION_ERROR":case"INTERNAL_SERVER_ERROR":case"BILLING_VALIDATION_FAILURE":case"DATA_NOT_FOUND":case"BILLING_UPDATE_NOT_ALLOWED":case"SAP_ORDER_MISSING":this.trigger("edit-billing-customized-error",this);break;default:this.trigger("edit-billing-error",this),LOG.info("unknownEditbillingError="+t.type,{logServer:!0})}}else t&&"USER_AUTH_ERROR"!==t.type&&this.trigger("edit-billing-error",this)},this)).bind("configError ",_.bindex(function(e,t){this.logEvent(e,t)},this)).bind("configLoaded",_.bindex(function(e,t){this.logEvent(e,t)},this)).bind("applicationLoaded",_.bindex(function(e,t){this.logEvent(e,t),this.loaded=!0},this)).bind("applicationUnloaded",_.bindex(function(e,t){this.logEvent(e,t),this.loaded=!1,this.trigger("edit-billing-unloaded",this)},this)).bind("invalidUserSession",_.bindex(function(e,t){this.logEvent(e,t),this.trigger("edit-billing-invalid-session",this)},this)).bind("cancelEdit",_.bindex(function(e,t){this.logEvent(e,t),this.unloadEditBilling(),this.trigger("edit-billing-cancel-edit",this)},this)).bind("editComplete",_.bindex(function(e,t){this.logEvent(e,t),this.unloadEditBilling(),this.trigger("edit-billing-edit-complete",t)},this)).bind("appResize",_.bindex(function(e,t){this.logEvent(e,t),this.trigger("edit-billing-app-resize",t)},this)),this.$el.controller(Adobe.SubscriptionManager.Anyware.Loader)&&(this.myLoader=this.$el.controller(Adobe.SubscriptionManager.Anyware.Loader))}},reloadLoadEditBilling:function(){return this.loadEditBilling(),this.myLoader||(this.myLoader=this.$el.controller(Adobe.SubscriptionManager.Anyware.Loader),this.myLoader)?void this.myLoader.loadApplication():void this.trigger("edit-billing-error",this)},unloadEditBilling:function(){this.loaded&&(this.myLoader||(this.myLoader=this.$el.controller(Adobe.SubscriptionManager.Anyware.Loader)),this.myLoader&&this.myLoader.unloadApplication())},setHeight:function(e,t){this.$el.css("z-index",99),e>0&&this.unhide(),this.$el.height()<e?this.editBillingView.$el.animate({height:e+"px"},"fast",t):t&&t()},logEvent:function(e,t){_.delay(_.bindex(function(e){var t,i="",o="";switch(e[0].type){case"applicationLoaded":case"applicationUnloaded":case"configLoaded":case"editComplete":case"cancelEdit":case"appResize":o=_.template(l,{evtType:e[0].type,errCode:""});break;case"configError":case"error":case"invalidUserSession":t=e[0].type,e[1]&&e[1].type&&(t=e[1].type),o=_.template(l,{evtType:e[0].type,errCode:t})}i=o+this.splunkCommonString,LOG.info(i,{logServer:!0})},this),100,[e,t])}});return c}),define("aictools/models/ui/subscriptions/myplan-ui-model",["aictools/aic","aictools/models/subscriptions/product-offer-collection","aictools/models/users-me-model","aictools/util/util"],function(){var e=Backbone.Model.extend({sku:null,countryCode:null,initialize:function(e){e&&(this.sku=e.sku||0,this.countryCode=e.countryCode||"")},setSku:function(e){e&&"number"==typeof e&&(this.sku=e)},setCountryCode:function(e){this.countryCode=e},myPlanShown:function(){return!0},upgradeShown:function(){return!0}});return new e}),define("aictools/templates/spinner-message-dialog-view-template",[],function(){return'    <!-- Copyright 2014 Adobe Systems Incorporated. All Rights Reserved. -->   <div class="aic-spinner-message-text site-catalyst <%= scClass %>">       <p class="aic-message-title"><%= dialogTitle %></p>       <p><%= dialogMsg %></p>   </div>   <div class="spinner mini aic-spinner-message-spinner"></div>'}),define("aictools/views/spinner-message-dialog-view",["aictools/templates/spinner-message-dialog-view-template","aictools/views/dialog-view","aictools/analytics/analytics"],function(e,t){var i=t.extend({className:"aic-spinner-message-dialog",scData:{},content:{dialogMsg:"",dialogTitle:"",scClass:""},initialize:function(){t.prototype.initialize.call(this,void 0,e)},render:function(){this.$el.html(this.template(this.content)),_.isObject(this.scData)&&this.$("."+this.content.scClass).data(this.scData),AiC.appApi.displayApi.showModal(!0),t.prototype.render.call(this)},cancelDialog:function(){AiC.appApi.displayApi.showModal(!1),t.prototype.cancelDialog.call(this)},configure:function(e,t,i,o){this.content.dialogTitle=e||"",this.content.dialogMsg=t||"",this.content.scClass=i||"",this.scData=o||{}}},{instance:void 0,getInstance:function(){return this.instance||(this.instance=new i),this.instance},showMessage:function(e,t,i,o,a){var r=this.getInstance();e?(r.configure(i,t,o,a),r.showDialog()):this.getInstance().cancelDialog()}});return i}),define("aictools/models/subscriptions/change-plan-info-model",["aictools/aic","aictools/util/util","aictools/models/users-me-model","aictools/models/model"],function(e,t,i){var o,a={ECC_ORDER_NUMBER_ERR:"ECC_ORDER_VALIDATION_ERROR",AUTH_ERR:"USER_MISMATCH",SUB_NOT_ACTIVE_ERR:"SUBSCRIPTION_NOT_ACTIVE",BILLING_MISSING_ERR:"BILLING_NOT_FOUND",BILLING_EXPIRED_ERR:"BILLING_EXPIRED",INTERNAL_SERVER_ERR:"INTERNAL_SERVER_ERROR",CARD_EXPIRED_ERR:"CARD_EXPIRED",CARD_REJECT_ERR:"CARD_REJECT",INVALID_VAT_ERR:"INVALID_VAT",INVALID_ADDRESS_ERR:"INVALID_ADDRESS",UPGRADE_NOT_NEEDED_ERR:"UPGRADE_NOT_NEEDED"};return o=Backbone.Model.extend({initialize:function(e){this.sync=_.bindex(t.jil_api_sync,t),this.options=e||{},this.set({upgradeToSku:this.options.upgradeToSku,subscriptionGUID:this.options.subscriptionGUID,upgradeFromSku:this.options.upgradeFromSku})},url:function(){var t=e.getBaseUriApi()+"proxy/jil/subscriptions/v1/"+this.get("subscriptionGUID")+"/change-plan-info/"+this.get("upgradeToSku");return t},fetch:function(t){return _.extend(this.options,t),this.options.headers=this.options.headers||{},this.options.headers["x-api-client-id"]=e.Model.api_client_id,this.options.headers.upgrade_from_sku=this.get("upgradeFromSku"),this.options.headers.upgrade_to_sku=this.get("upgradeToSku"),Backbone.Model.prototype.fetch.call(this,this.options)},parse:function(e){return e&&e.ChangePlanInfo?e.ChangePlanInfo:{}},getNewPlanName:function(){return this.get("chargeForNewPlan").sellableItem.name},getNewPlanSku:function(){return this.get("chargeForNewPlan").sellableItem.SKU||this.get("chargeForNewPlan").sellableItem.sku},getNewPlanChargeTotal:function(){return this.get("chargeForNewPlan").charge.total},getCurrentPlanRefund:function(){return this.get("creditFromCurrentPlan").charge.total},getNewPlanChargeInfo:function(e){return this.parseChargeObject(e,this.get("chargeForNewPlan").charge)},getCurrentPlanRefundInfo:function(e){return this.parseChargeObject(e,this.get("creditFromCurrentPlan").charge)},parseChargeObject:function(e,o){var a,r,s,n,l,c,d={numBeforeDelimiter:"",numAfterDelimiter:"00",delimiter:"",numBeforeDelimiterForTax:"",numAfterDelimiterForTax:"00",numBeforeDelimiterForTotal:"",numAfterDelimiterForTotal:"00"},p=e.formatString,u=!0;return"jp"===i.get("country_code").toLowerCase()&&(u=!1),a=t.currency.formatPrice(p,o.subTotal,u,!0,e.currencySymbol),r=t.currency.formatPrice(p,o.tax,u,!0,e.currencySymbol),s=t.currency.formatPrice(p,o.total,u,!0,e.currencySymbol),n=t.currency.breakDownPrice(a,e.currencySymbol),l=t.currency.breakDownPrice(r,e.currencySymbol),c=t.currency.breakDownPrice(s,e.currencySymbol),d.numBeforeDelimiter=n.priceWithoutSymbolAndCents,d.numAfterDelimiter=n.cents,d.delimiter=e.delimiter,d.numBeforeDelimiterForTax=l.priceWithoutSymbolAndCents,d.numAfterDelimiterForTax=l.cents,d.numBeforeDelimiterForTotal=c.priceWithoutSymbolAndCents,d.numAfterDelimiterForTotal=c.cents,d},getTermsInfo:function(){var e={termMsg:"",termAgree:""},t=this.get("termsAndConditions"),i=t.indexOf("<dl");return i>0?(e.termMsg=t.substring(0,i),e.termAgree=$.trim($(t.substring(i)).find("dd").html())):e.termMsg=t,e}},{ERRORCODES:a})}),define("aictools/models/subscriptions/change-plan-info-collection",["aictools/aic","aictools/models/subscriptions/change-plan-info-model"],function(e,t){var i=Backbone.Collection.extend({model:t,promises:{},getChangePlanInfo:function(e){var i,o;return e&&e.upgradeToSku&&e.upgradeFromSku&&e.subscriptionGUID?(i=e.upgradeToSku.toString(),this.promises[i]&&"rejected"!==this.promises[i].state()||(o=new t(e),this.promises[i]=o.fetch().then(_.bind(function(){return this.add(o),o},this))),this.promises[i]):$.Deferred().reject({responseText:{error:"invalid_upgrade_data"}}).promise()},resetCollectionData:function(){this.promises={},this.reset()}},{instance:null,getInstance:function(){return i.instance||(i.instance=new i),i.instance}});return i}),define("aictools/views/subscription-upgrade-dialog-view",["aictools/aic","aictools/util/util","aictools/views/dialog-view","aictools/templates/subscription-upgrade-dialog-view","aictools/templates/subscription-payment-info","i18n!aictools/nls/ui-strings","aictools/util/localize","aictools/util/date-util","aictools/views/subscription-edit-billing-view","aictools/models/users-me-model","aictools/views/subscription-password-input-view","aictools/models/ui/subscriptions/myplan-ui-model","aictools/analytics/analytics","aictools/ops/subscription/subscription-failure","aictools/ops/subscription/subscription-reauth-op","aictools/models/subscriptions/product-offer-collection","aictools/plugins/plugin-central","aictools/views/spinner-message-dialog-view","aictools/util/strings","aictools/models/subscriptions/change-plan-info-model","aictools/models/subscriptions/change-plan-info-collection","aictools/ops/subscription/get-splunk-common-string","aictools/ops/subscription/susi-splunk-log-op","aictools/util/strings","aictools/models/subscriptions/subscription-upsell-model"],function(e,t,i,o,a,r,s,n,l,c,d,p,u,g,m,h,E,T,P,C,S,f,R,A,D){function N(e){var t,i={};try{t=JSON.parse(e.responseText),i=t.error||t.Error}catch(o){i={message:e.statusText,errorCode:""}}return i}var v=i.extend({events:{"click .aic_edit_billing_button":"onEditBillingClicked","click #edit-billing-error-ok":"hidePasswordArea","click #subscription-upgrade":"onUpgrade","click #subscription-upgradenot":"onNotUpgrade","click #term-checkbox":"onTermCheckBoxClicked",keydown:"onKeyDown"},initialize:function(){i.prototype.initialize.call(this,"aic_dialog_sub_upgrade",o),this.subModel=this.options.subscriptionModel,this.errCodes=C.ERRORCODES,this.subModel.on("change",this.renderPaymentInfo,this),this.template=_.template(o),this.upsellModel=D.getInstance();var e={subscriptionGUID:this.subModel.id,upgradeToSku:this.subModel.upgradeToSku,upgradeFromSku:this.subModel.getSku(),global:!1};this.splunkCommonString=f({subModel:this.subModel}),this.subModel&&this.subModel.isActive()?(t.showFrameworkSpinner(!0),S.getInstance().getChangePlanInfo(e).then(_.bindex(function(e){t.showFrameworkSpinner(!1),this.model=e,this.onChangePlanRetrieved()},this),_.bindex(function(e){t.showFrameworkSpinner(!1);var i=N(e);_.defer(_.bindex(this.onChangePlanError,this),i)},this))):this.onChangePlanError(this.errCodes.SUB_NOT_ACTIVE_ERR)},_analyticsData:function(){return this.options.tool===P.scNames.MYPLAN?{source:"User:"+P.scNames.MYPLAN}:{source:"Tools:"+this.options.tool}},commitDialog:function(t){e.appApi.routerApi.removeHistoryChangeCallback(this.manageHistory),delete this.manageHistory,t||window.history.back(),i.prototype.commitDialog.call(this)},cancelDialog:function(o){t.featureEnabled("susi_for_release")&&m.getInstance().closeSUSIWindow(),e.appApi.routerApi.removeHistoryChangeCallback(this.manageHistory),delete this.manageHistory,o||window.history.back(),i.prototype.cancelDialog.call(this)},render:function(){var o,a,n,l,d,p,g,m=this.subModel.getBillingAmountInfo(),h=m.currencySymbol,E=this.model.getNewPlanChargeInfo(m),T=this.model.getCurrentPlanRefundInfo(m),C=this.subModel.getBillingFrequency().search(/annual/i)>=0?r.SUB_MANAGER_PREVIEW_EACHYEAR:r.SUB_MANAGER_PREVIEW_EACHMONTH,S=c.getServiceNameString();this.upsellModel.isAsubSku(this.subModel.upgradeToSku)&&(C=r.SUB_MANAGER_PREVIEW_EACHMONTH),o=_.template(r.SUB_MANAGER_PREVIEW_NEWPLAN_MESSAGE1,{currentSubscriptionName:this.subModel.getSubscriptionName()}),a=this.model.getTermsInfo(),g={productName:this.model.getNewPlanName(),newPlanCharge:r.SUB_MANAGER_PREVIEW_NEWPLAN_CHARGE,subtotal:r.SUB_MANAGER_PREVIEW_SUBTOTAL,currencySymbol:h,accountRateNoDecimalPart:E.numBeforeDelimiter+E.delimiter,accountRateDecimalPart:E.numAfterDelimiter,tax:r.SUB_MANAGER_PREVIEW_TAX,taxRateNoDecimalPart:E.numBeforeDelimiterForTax+E.delimiter,taxRateDecimalPart:E.numAfterDelimiterForTax,fullCurrencySymbol:m.currencySymbol,totalNoDecimalPart:E.numBeforeDelimiterForTotal+E.delimiter,totalDecimalPart:E.numAfterDelimiterForTotal,paymentFrequency:C,oldProductName:this.subModel.getSubscriptionName(),cancelMsg:o,refundMsg:r.SUB_MANAGER_PREVIEW_NEWPLAN_MESSAGE2,refundRateNoDecimalPart:T.numBeforeDelimiterForTotal+T.delimiter,refundRateDecimalPart:T.numAfterDelimiterForTotal,editBillingError:r.SUB_MANAGER_EDITBILLING_ERROR,editBillingSupportMsg:r.SUB_MANAGER_CALL_SUPPORT_MSG_BILLING,ok:r.OK,termOfUse:r.SUB_MANAGER_PREVIEW_TERMTITLE,termAgreeMsg:a.termAgree,termWarningMsg:r.SUB_MANAGER_PREVIEW_CHECKBOX_REMINDER,passwordTitle:r.PASSWORD+":",upgrade:r.SUB_MANAGER_UPGRADE,upgradenot:r.SUB_MANAGER_DONTUPGRADE},this.$el.html(this.template(s.htmlSanitize(g))),m.isSymbolPrefix?this.$(".currency_symbol").removeClass("hide"):this.$(".aic_currency_symbol_after").removeClass("hide"),n=this.subModel.getSku(),l=this.subModel.upgradeToSku,d=this.$("#sub-plan-new-info > .aic_product_img"),p=this.$("#sub-plan-old-info > .aic_product_img"),S===A.subNames.EXPORTPDF?p.addClass("aic_subscription_product_icon_exportpdf"):S===A.subNames.SPDF||S===A.subNames.CREATEPDF?p.addClass("aic_subscription_product_icon_createpdf"):S===A.subNames.APLUS||S===A.subNames.ASTD?p.addClass("aic_subscription_product_icon_acrobatplus"):S===A.subNames.FORMS?p.addClass("aic_subscription_product_icon_formscentral"):S===A.subNames.SEND_NOW?p.addClass("aic_subscription_product_icon_send"):S===A.subNames.FILL_AND_SIGN&&p.addClass("aic_subscription_product_icon_formscentral"),this.upsellModel.isPDFPackSku(l)?d.addClass("aic_subscription_product_icon_createpdf"):this.upsellModel.isAsubSku(l)&&d.addClass("aic_subscription_product_icon_acrobatplus"),this.$("#term-of-use-msg").html(_.template(a.termMsg)),this.renderPaymentInfo(),t.featureEnabled("susi_for_release")&&(this.$("#password-section").addClass("hide"),this.$el.addClass("aic_susi")),this.passwordInputViewForUpgrade=this.renderPasswordInputView(this.$(".password_area_holder.password_section"),"",!0),this.listenTo(this.passwordInputViewForUpgrade,"sign-in-success",this.doUpgrade),this.listenTo(this.passwordInputViewForUpgrade,"sign-in-error",this.onSignInErrorForUpgrade),this.listenTo(this.passwordInputViewForUpgrade,"sign-in-invalid-credentials",this.onSignInErrorForUpgrade),this.options.tool===P.scNames.MYPLAN?t.navigate("upgrade_plan/"+l,{trigger:!1}):t.navigate("upgrade_plan_only/"+l,{trigger:!1}),this.$el.addClass("aic-upgrade"),this.$el.addClass(u.ANALYTICS_CLASS),this.manageHistory||(this.manageHistory=_.bindex(function(e){-1===e.indexOf("upgrade_plan")&&this.cancelDialog(!0)},this)),t.isEMEANonEnglishLang(c.get("user_lang"))&&(this.$("#term-of-use-agree").addClass("aic-term-emea"),this.$(".aic_dialog_sub_upgrade").addClass("aic-upgrade-emea")),this._adjustCSSForJPinIE11(),e.appApi.routerApi.addHistoryChangeCallback(this.manageHistory),i.prototype.render.call(this,this._analyticsData())},_adjustCSSForJPinIE11:function(){t.isIE11()&&/jp/i.test(c.get("country_code"))&&(this.$("#tax .tax_amount").addClass("aic-tax-amount-jp"),this.$("#tax").addClass("aic-upgrade-tax-jp"),this.$("#total").addClass("aic-upgrade-total-jp"))},renderPasswordInputView:function(e,t,i){var o={$el:e,className:t,hideButtons:i},a=new d(o);return e.removeClass("hide"),a.render(),a},renderPaymentInfo:function(){var e=this.subModel.getPaymentcardInfo();this.$("#payment-info-upgrade").html(_.template(a)(s.htmlSanitize({paymentInfoTitle:r.SUB_MANAGER_PAYMENTINFO,paymentCard:r.SUB_MANAGER_PAYMENT_CARD,paymentCardTypeAndNum:e.cardMaskedNumString,paymentCardExpireDate:r.SUB_MANAGER_PAYMENT_CARD_EXPIRE+e.cardExpireDate,billingAdderTitle:r.SUB_MANAGER_BILLING_ADDR_TITLE,customerName:e.billingName||" ",billingAddr:e.streetAddr+", "+e.citystatecountry,streetAddr:e.streetAddr,cityStateCountryAddr:e.citystatecountry,editBillingInfo:r.SUB_MANAGER_BILLING_EDIT_PAYMENT,ccExpired:r.SUB_MANAGER_CC_EXPIRED}))),this.$("#payment-info-change-preview").removeClass("hide")},onChangePlanError:function(e){var t,i="";switch(e.errorCode||e){case this.errCodes.ECC_ORDER_NUMBER_ERR:t="customer_support",i=r.SUB_MANAGER_SUPPORT_MSG_FOR_SAP,u.emit("##aic-upgrade-err-ECC_ORDER_NUMBER");break;case this.errCodes.SUB_NOT_ACTIVE_ERR:t="goto_myplan",i=r.SUB_MANAGER_UPGRADE_MSG_FOR_INACTIVE,u.emit("##aic-upgrade-err-SUB_NOT_ACTIVE");break;case this.errCodes.BILLING_MISSING_ERR:t="customer_support",i=r.SUB_MANAGER_SUPPORT_MSG,u.emit("##aic-upgrade-err-BILLING_MISSING");break;case this.errCodes.BILLING_EXPIRED_ERR:this.trigger("cc-expired",this),i=r.SUB_MANAGER_CC_EXP_MSG,u.emit("##aic-upgrade-err-BILLING_EXPIRED"),t="edit_billing";break;case this.errCodes.CARD_EXPIRED_ERR:i=r.SUB_MANAGER_CC_EXP_MSG_NEW,u.emit("##aic-upgrade-err-CARD_EXPIRED"),t="edit_billing";break;case this.errCodes.CARD_REJECT_ERR:i=r.SUB_MANAGER_CC_REJECTED,u.emit("##aic-upgrade-err-CARD_REJECT"),t="edit_billing";break;case this.errCodes.INVALID_VAT_ERR:i=r.SUB_MANAGER_INVALID_VAT_ERR,u.emit("##aic-upgrade-err-INVALID_VAT"),t="edit_billing";break;case this.errCodes.INVALID_ADDRESS_ERR:i=r.SUB_MANAGER_INVALID_ADDR_ERR,u.emit("##aic-upgrade-err-INVALID_ADDRESS"),t="edit_billing";break;case this.errCodes.UPGRADE_NOT_NEEDED_ERR:i=r.SUB_MANAGER_UPGRADE_NOT_NEEDED,u.emit("##aic-upgrade-err-UPGRADE_NOT_NEEDED"),t="refresh";break;default:t="customer_support",i=r.SUB_MANAGER_SUPPORT_MSG,u.emit("##aic-upgrade-err-OTHER")}i&&g(this.options.tool,i,t).always(function(){-1!==Backbone.history.fragment.indexOf("upgrade_plan")&&window.history.back()})},onChangePlanRetrieved:function(){try{this.showDialog()}catch(e){this.onChangePlanError({errorCode:"changeplaninfo_invalid_data"})}},onShow:function(){this.center(this.$backgroundId),this.$("#subscription-upgrade").focus()},onEditBillingClicked:function(){t.featureEnabled("susi_for_release")?this.showSUSIReauthWindow():this.onEditBilling()},onEditBilling:function(){if(!this.editBillingView&&!this.passwordInputViewForBilling){this.editBillingView=new l({model:this.subModel,className:"aic-edit-billing-frame-holder-upgrade site-catalyst"}),this.$("#payment-info-upgrade").after(this.editBillingView.$el),t.featureEnabled("susi_for_release")?this.listenTo(this.editBillingView,"edit-billing-invalid-session",this.showSUSIReauthWindow):this.listenTo(this.editBillingView,"edit-billing-invalid-session",this.showPasswordInputViewForBilling),this.listenTo(this.editBillingView,"edit-billing-cancel-edit",this.onCancelEdit),this.listenTo(this.editBillingView,"edit-billing-edit-complete",this.onPaymentInfoChanged),this.listenTo(this.editBillingView,"edit-billing-app-resize",this.onEditBillingResize),this.listenTo(this.editBillingView,"edit-billing-error",this.onEditBillingError),this.editBillingView.render(),this.maskTop("#payment-info-section")}},showSUSIReauthWindow:function(){var e;this.collapseAndHideEditBilling(),e=m.getInstance().launchSUSIWindow({signinSuccess:_.bindex(function(){R(this.splunkCommonString,"editBilling","signin","true"),this.onEditBilling()},this),signinCancel:_.bindex(function(){R(this.splunkCommonString,"editBilling","signinCancel","true")},this)}),R(this.splunkCommonString,"editBilling","shown",e?"true":"false")},showPasswordInputViewForBilling:function(){this.collapseAndHideEditBilling(),this.passwordInputViewForBilling?this.onSignInError():(this.passwordInputViewForBilling=this.renderPasswordInputView(this.$(".password_area_holder.edit_billing"),"aic-inline-password site-catalyst",!1),this.$("#edit-billing-load-passwd").removeClass("hide"),this.$(".password_area_holder.edit_billing .aic_edit-billing-frame-nub").removeClass("hide"),this.listenTo(this.passwordInputViewForBilling,"sign-in-success",this.onSignInSuccess),this.listenTo(this.passwordInputViewForBilling,"sign-in-error",this.onSignInError),this.listenTo(this.passwordInputViewForBilling,"sign-in-cancel",this.hidePasswordArea),this.maskTop("#payment-info-upgrade"),this.$("#edit-billing-load-passwd").css("z-index",99))},onSignInError:function(){this.maskTop(),this.hidePasswordArea()},onSignInSuccess:function(){this.maskTop(),this.hidePasswordArea(),this.onEditBilling()},maskTop:function(e){var t=e?this.$(e).position().top+this.$el.scrollTop():0;this.$("#dim-dialog").height(t),this.$el.scrollTop(t),this.center(this.$backgroundId)},hidePasswordArea:function(){this.hideElem("#edit-billing-load-passwd"),this.hideElem(".password_area_holder.edit_billing"),this.passwordInputViewForBilling&&(this.passwordInputViewForBilling.remove(),this.passwordInputViewForBilling=null),this.maskTop()},onEditBillingError:function(){this.collapseAndHideEditBilling(),this.unhideElem("#edit-billing-load-passwd"),this.unhideElem(".aic-edit-billing-loading-fail")},onCancelEdit:function(){this.collapseAndHideEditBilling()},onPaymentInfoChanged:function(e){u.emit("##inline-payment-info-success"),this.subModel&&e&&(this.subModel.get("subscriptionContracts").subscriptionContract.PrimaryAccount.ccInstrumentData=e,_.delay(_.bindex(function(){this.subModel.trigger("change",this.subModel)},this),100)),this.collapseAndHideEditBilling(!0)},onEditBillingResize:function(e){this.hideElem("#edit-billing-load-passwd"),this.editBillingView.setHeight(e,_.bindex(function(){this.maskTop("#payment-info-section")},this))},collapseAndHideEditBilling:function(e){this.editBillingView&&(e?this.editBillingView.commit():this.editBillingView.cancel(),this.editBillingView.remove(),this.editBillingView=null),this.maskTop()},onTermCheckBoxClicked:function(){this.$("#term-checkbox").attr("checked")&&this.hideElem(".aic_term_warning_msg")},onUpgrade:function(){return this.$("#term-checkbox").attr("checked")?(t.featureEnabled("susi_for_release")||_.defer(function(){$("#subscription-upgrade").attr("disabled","disabled")}),void(t.featureEnabled("susi_for_release")?m.getInstance().launchSUSIWindow({signinSuccess:_.bindex(function(){this.options.tool===P.scNames.MYPLAN?u.emit("##aic-myplan-upg-susi-success"):u.emit("##aic-upgrade-susi-success",{data:this._analyticsData()}),R(this.splunkCommonString,"changeplan","signin","true"),this.doUpgrade()},this),signinCancel:_.bindex(function(){this.options.tool===P.scNames.MYPLAN?u.emit("##aic-myplan-upg-susi-cancel"):u.emit("##aic-upgrade-susi-cancel",{data:this._analyticsData()}),R(this.splunkCommonString,"changeplan","signinCancel","true"),this.onSignInErrorForUpgrade()},this)})?(this.options.tool===P.scNames.MYPLAN?u.emit("##aic-myplan-upg-susi-shown"):u.emit("##aic-upgrade-susi-shown",{data:this._analyticsData()}),R(this.splunkCommonString,"changeplan","shown","true")):(this.onSignInErrorForUpgrade(),R(this.splunkCommonString,"changeplan","shown","false")):(this.hidePasswordArea(),this.passwordInputViewForUpgrade.onSignIn()))):void this.unhideElem(".aic_term_warning_msg")},onSignInErrorForUpgrade:function(){this.$("#subscription-upgrade").removeAttr("disabled")},doUpgrade:function(){this.subModel.off("change",this.renderPaymentInfo,this),this.reportConversion(),this.passwordInputViewForUpgrade&&(this.passwordInputViewForUpgrade.remove(),delete this.passwordInputViewForUpgrade),this.commitDialog(!0),_.delay(_.bindex(function(){T.showMessage(!0,r.EAMES_UPGRADE_PROCESS_MESSAGE,r.EAMES_UPGRADE_PROCESS_TITLE,"aic-upgrade-processing-order-spinner",this._analyticsData())},this),0),u.emit("##subscription-upgrade-started",{data:this._analyticsData()}),this.subModel.upgradeToSku!==this.model.getNewPlanSku()&&(this.subModel.upgradeToSku=this.model.getNewPlanSku()),this.subModel.changeSubscription({success:_.bindex(function(){this.onUpgradeSucceeded()},this),error:_.bindex(function(e){this.onUpgradeFailed(e)},this)})},onUpgradeSucceeded:function(){T.showMessage(!1);var i,o,a,s,n,l,d=this.subModel.upgradeToSku,p=this.upsellModel.getUpsellUnitFromSku(d).subscription_name,g="",m="",h="",C="EPDF-BasAn",f="EPDF-BasAn",R=this._analyticsData().source,D=c.getServiceNameString();n=this.subModel.isAnnualPlan()?"annual":"monthly",s="",s=s||(D===A.subNames.FILL_AND_SIGN?"FSS":""),s=s||(D===A.subNames.EXPORTPDF?"EPDF":""),s=s||(D===A.subNames.SPDF?"SPDF":""),s=s||(D===A.subNames.CREATEPDF?"PDFP":""),s=s||(D===A.subNames.APLUS?"APRO":""),s=s||(D===A.subNames.ASTD?"ASTD":""),s=s||(D===A.subNames.SEND_NOW?"Send":""),l={FSS:{annual:"BaAn",monthly:"BaAn"},SPDF:{annual:"BaAn",monthly:"BaAn"},PDFP:{annual:"BasAn",monthly:"BasMo"},APRO:{annual:"PlsAbM",monthly:"PlsMo"},ASTD:{annual:"PlsAbM",monthly:"PlsMo"},EPDF:{annual:"BasAn",monthly:"BasAn"},Send:{annual:"BasAn",monthly:"BasAn"}},C=s+"-"+l[s][n],f=this.upsellModel.getAnalyticPlanCodeForSku(d),u.emit("##"+C+":To:"+f),this.subModel=e.subscriptionCollection.findMainSubscription(),p===A.subNames.CREATEPDF?(m={CreatePDF:r.CONVERT_TO_PDF,ExportPDF:r.EXPORT_PDF,Combine:r.COMBINE_PDF}[this.options.tool]||r.CONVERT_TO_PDF,h="convertpdf"):p===A.subNames.EXPORTPDF?(m=r.EXPORT_PDF,h="exportpdf"):p===A.subNames.CREATEPDF?(m=r.CONVERT_TO_PDF,h="convertpdf"):p===A.subNames.APLUS?(m={APro:r.EAMES,CreateForm:r.APP_CREATE_FORM}[this.options.tool]||r.EAMES,h="acrobat"):g=r.OK,g=this.options.tool===P.scNames.MYPLAN?g||_.template(r.SUB_MANAGER_UPGRADE_DONE_ACTION,{toolName:m}):r.OK,i=_.template(r.SUB_MANAGER_UPGRADE_DONE,{userEmailAddr:c.get("email"),selector:"aic-upgrade-confirm",source:R}),o=e.appApi.dialogApi.displayHtmlAlert(e.appApi.dialogApi.SEVERITY_INFORMATIONAL,r.SUCCESS,i,g,null,{okButtonClass:"site-catalyst aic-upgrade-get-started"}),$(".alert-dialog-container .site-catalyst").data("source",R),a=c.refetch(),$.when.apply($,[o,a]).done(_.bindex(function(){E.reset(),this.trigger("dismiss-sub-manager"),this.options.tool===P.scNames.MYPLAN&&t.navigate(h,{trigger:!0})},this)),S.getInstance().resetCollectionData(),this.upsellModel.resetUpsellInfo()},onUpgradeFailed:function(e){T.showMessage(!1),this.onChangePlanError(N(e))},onNotUpgrade:function(){this.cancelDialog(!1)},reportConversion:function(){var e="country="+this.subModel.getCountryCode(),t=this.subModel.getBillingCurrencyInfo(),i="cc="+t.symbol,o="orderId="+this.subModel.id,a="orderTotal="+this.model.getNewPlanChargeTotal(),r="refundTotal="+this.model.getCurrentPlanRefund(),s="productPurchasedId="+this.model.get("upgradeToSku"),n="originalproduct="+this.subModel.getSku();mboxDefine("aic-mbox-inappupgrade_conversion","Acom_AIC_InAppUpgrade",e,i,o,a,r,s,n),mboxUpdate("Acom_AIC_InAppUpgrade",e,i,o,a,r,s,n)}}),b=function(e){return g(e,r.SUB_MANAGER_SUPPORT_MSG_FOR_SUB,"goto_adobe")},w=function(e){return g(e,r.SUB_MANAGER_SUPPORT_MSG,"customer_support")},I=function(i){p.setCountryCode(c.get("country_code")),p.myPlanShown()?e.subscriptionCollection.getMainSubscription().then(_.bindex(function(){e.subscriptionCollection.getSubscriptions().then(_.bindex(function(o){if(h.hasMultiplePaidSubscriptions(o))u.emit("##aic-upgrade-err-DUPLICATE"),w(i&&i.tool);else{var a=e.subscriptionCollection.findMainSubscription(),r=0,s={subscriptionModel:a};if(a){if(r=i&&i.sku?i.sku:a.upgradeToSku,a.setUpgradeToSku(parseInt(r,10)),a.upgradeToSku===a.getSku())return i&&i.tool===P.scNames.MYPLAN?t.navigate("upgrade_plan/"+r,{trigger:!1}):t.navigate("upgrade_plan_only/"+r,{trigger:!1}),void window.history.back();s.tool=i&&i.tool||P.scNames.MYPLAN,e.subscriptionUpgradeDialogView=new v(s)
}}},this))},this),_.bindex(function(){b(i.tool)},this)):window.open(t.prependAiCServerString("/redir/sp_manageaccount"))};return e.appEvents.on("show-upgrade-view",_.bindex(I,{})),v}),define("aictools/views/acrobat-sign-up",["aictools/aic","aictools/util/util","aictools/templates/acrobat-sign-up","i18n!aictools/nls/ui-strings","aictools/util/localize","aictools/analytics/analytics","aictools/ops/subscription/subscription-failure","aictools/ops/ipm/update-ipm-op","aictools/models/ui/subscriptions/tools-ipms-ui-model","aictools/ops/subscription/anyware-purchase-op","aictools/ops/ipm/ipm-view-factory","aictools/models/subscriptions/product-offer-collection","aictools/models/users-me-model","aictools/ops/subscription/get-splunk-common-string","aictools/util/strings","aictools/models/subscriptions/subscription-upsell-model","aictools/views/subscription-upgrade-dialog-view","aictools/views/view","aictools/models/subscriptions/subscription-collection"],function(e,t,i,o,a,r,s,n,l,c,d,p,u,g,m,h){var E=e.View.extend({appEventsMap:{},events:{"click .aic_sign_up_one_button":"onUpgrade"},mBoxId:void 0,initialize:function(t){this.plugin_id=m.pluginNames.ACROBAT,this.sc_name=m.scNames.ACROBAT,this.promoId="KKDBL",e.View.prototype.initialize.call(this),t=t||{},this.mBoxId=t.mBoxId||"",this.template=_.template(i),this.upsellModel=h.getInstance()},toolName:function(){return m.toolNames.ACROBAT},pluginName:function(){return this.plugin_id},analyticsName:function(){return this.sc_name},entitlementName:function(){return m.entitlements.acrobat_pro},setPluginContext:function(e,t){this.plugin_id=e,this.sc_name=t},upgradeUnavailable:function(t){var i;e.appApi.dialogApi.displayTextAlert(e.appApi.dialogApi.SEVERITY_ERROR,o.SUB_MANAGER_UNAVAILABLE_COUNTRY,t?o.SUB_MANAGER_UPGRADE_UNAVAILABLE_COUNTRY_BODY:o.SUB_MANAGER_PURCHASE_UNAVAILABLE_COUNTRY_BODY,o.OK,null,{okButtonClass:"aic-product-upgrade-unavailable-country site-catalyst"}),i=g({subModel:e.subscriptionCollection.findMainSubscription()}),_.defer(LOG.info,i+"	eventClass=subscriptions	eventWorkflow="+(t?"upgradeNow":"subscribeNow")+"	eventType=unavailableCountry	eventContext="+this.pluginName(),{logServer:!0})},_doPurchase:function(){this.upsellModel.getUpsellInfo().then(_.bindex(function(){var i,o,a=this.upsellModel.getUpsellUnitsForEntitlement(this.entitlementName()),r=u.get("country_code");a.length>0?(o=a[0].sku,i=$.param({locale:e.appApi.localeApi.getLocaleByCountry(r).replace("-","_"),sku:o,promoid:this.promoId}),t.featureEnabled("aic_anyware")?c({promoId:this.promoId,sku:parseInt(o,10),analyticName:this.analyticsName()}).fail(_.bindex(function(){window.open(t.prependAiCServerString("/redir/subscribe_now?"+this.params))},{params:i})):window.open(t.prependAiCServerString("/redir/subscribe_now?"+i))):_.bindex(this.upgradeUnavailable(),this)},this),_.bindex(this.gotoEamesSupport,this))},_doUpgrade:function(){e.subscriptionCollection.getMainSubscription().then(_.bindex(function(){var i,o=e.subscriptionCollection.findMainSubscription();this.upsellModel.getUpsellInfo().then(_.bindex(function(){var e=this.upsellModel.getUpsellUnitsForEntitlement(this.entitlementName());e.length>0?(o.setUpgradeToSku(parseInt(e[0].sku,10)),t.navigate(e[0].url,{trigger:!0})):_.bindex(this.upgradeUnavailable(!0),this)},this),_.bindex(function(){this.gotoEamesSupport(),i=g({subModel:o}),_.defer(LOG.info,i+"	eventClass=subscriptions	eventWorkflow=getsubscriptions	eventType=invalidSKU",{logServer:!0})},this))},this),this.gotoEamesSupport)},onUpgrade:function(){u.hasPaidSubscription()?this._doUpgrade():this._doPurchase()},gotoEamesSupport:function(){return s("Apro",o.SUB_MANAGER_SUPPORT_MSG_FOR_SUB,"customer_support")},render:function(){e.subscriptionCollection.getMainSubscription(!1);var i=u.isFormsCentralUser(),r=u.isExportUser(),s=u.isSPDFUser(),n=u.isCPDFUser(),l=!u.hasPaidSubscription(),c=(u.get("country_code").toLowerCase(),l?o.EAMES_HEADER_ROW_COL_TWO_TABLE_TEXT_FREE:r?o.EAMES_HEADER_ROW_COL_TWO_TABLE_TEXT_EPDF:s?o.EAMES_HEADER_ROW_COL_TWO_TABLE_TEXT_SPDF:i?o.EAMES_HEADER_ROW_COL_TWO_TABLE_TEXT_FCENTTRAL:o.EAMES_HEADER_ROW_COL_TWO_TABLE_TEXT_CPDF);return this.$el.html(this.template(a.htmlSanitize({informationTitleText:o.EAMES_ADOBE_ACROBAT_SUBSCRIPTION_PLUS,informationSubtitleText:o.EAMES_DO_MORE_WITH_YOUR_PDF_DOCUMENTS,informationParagraphText:o.EAMES_GET_ACROBAT_XI_PRO_SOFTWARE,subscriptionLengthOneText:o.EAMES_SUBSCRIPTION_LENGTH_ONE_TEXT,subscriptionCurrencySymbolOneText:"",subscriptionPriceIntegerPartOneText:"",subscriptionPriceFractionPartOneText:o.EAMES_SUBSCRIPTION_FOOTNOTE_ONE_MARKER,subscriptionRatePerTimeUnitOneText:"",subscriptionFootnoteOneText:"",toolTipText:l?o.GET_STARTED:o.EAMES_SIGN_UP_BUTTON_ONE_TEXT,signUpButtonOneText:l?o.GET_STARTED:o.EAMES_SIGN_UP_BUTTON_ONE_TEXT,subscriptionLengthTwoText:o.EAMES_SUBSCRIPTION_LENGTH_TWO_TEXT,subscriptionCurrencySymbolTwoText:"",subscriptionPriceIntegerPartTwoText:"",subscriptionPriceFractionPartTwoText:o.EAMES_SUBSCRIPTION_FOOTNOTE_TWO_MARKER,subscriptionRatePerTimeUnitTwoText:o.EAMES_SUBSCRIPTION_RATE_PER_TIME_UNIT_TWO_TEXT,subscriptionFootnoteTwoText:o.EAMES_SUBSCRIPTION_FOOTNOTE_TWO_TEXT,signUpButtonTwoText:o.EAMES_SIGN_UP_BUTTON_TWO_TEXT,headerRowColTwoTableText:c,headerRowColThreeTableText:o.EAMES_HEADER_ROW_COL_THREE_TABLE_TEXT,rowOneColOneTableText:o.EAMES_EXPORT_PDFS_TO_WORD,rowOneColTwoTableText:l||i||s?"":o.EAMES_CHECK_MARK,rowOneColThreeTableText:o.EAMES_CHECK_MARK,rowTwoColOneTableText:o.EAMES_CONVERT_OFFICE_AND_IMAGE_FILES,rowTwoColTwoTableText:s||n?o.EAMES_CHECK_MARK:"",rowTwoColThreeTableText:o.EAMES_CHECK_MARK,rowThreeColOneTableText:o.EAMES_COMBINE_MULTIPLE_FILES,rowThreeColTwoTableText:n?o.EAMES_CHECK_MARK:"",rowThreeColThreeTableText:o.EAMES_CHECK_MARK,rowFourColOneTableText:o.EAMES_EDIT_TEXT_AND_IMAGES,rowFourColTwoTableText:"",rowFourColThreeTableText:o.EAMES_CHECK_MARK,rowFiveColOneTableText:o.EAMES_ADD_COMMENTS_AND_MARK_UPS,rowFiveColTwoTableText:"",rowFiveColThreeTableText:o.EAMES_CHECK_MARK,rowSixColOneTableText:o.EAMES_CREATE_PDF_AND_WEB_FORMS,rowSixColTwoTableText:i?o.EAMES_CHECK_MARK:"",rowSixColThreeTableText:o.EAMES_CHECK_MARK,rowSevenColOneTableText:o.EAMES_SIGN_PDF_FILES_YOURSELF,rowSevenColTwoTableText:"",rowSevenColThreeTableText:o.EAMES_CHECK_MARK,rowEightColOneTableText:o.EAMES_SOFTWARE_DOWNLOAD_AND_INSTALL,rowEightColTwoTableText:"",rowEightColThreeTableText:o.EAMES_CHECK_MARK,rowNineColOneTableText:o.EAMES_FILE_STORAGE,rowNineColTwoTableText:l?o.EAMES_5_GB:n?o.EAMES_50_GB:o.EAMES_10_GB,rowNineColThreeTableText:o.EAMES_100_GB,systemRequirementsURL:t.prependAiCServerString(l?"/redir/eames_sys_reqs?trackingid=KISOP":"/redir/eames_sys_reqs"),systemRequirementsText:o.EAMES_SIGN_UP_SYSTEM_REQUIREMENTS_TEXT}))),$("#acrobat-plugin .aic_sign_up_one_button").addClass(u.hasPaidSubscription()?"aic_sign_up_one_button_paid":"aic_sign_up_one_button_free"),e.View.prototype.render.call(this),this.getIPM(this.mBoxId),$.Deferred().resolve().promise()},getIPM:function(e){$("#"+e).addClass("aic-default-ipm"),this.mboxQueried||(n({mboxIds:[e]}),this.mboxQueried=!0)}});return d.getInstance().registerView("AcrobatSignUpTool",E),E}),define("aictools/plugins/tool-view",["aictools/aic","aictools/util/util","aictools/plugins/plugin-view","aictools/models/job-collection","aictools/ops/routing/set-backbone-routes-op","aictools/analytics/analytics","aictools/views/tool-upsell-view","aictools/views/acrobat-base-view","aictools/views/acrobat-sign-up"],function(e,t,i,o,a,r,s,n,l){var c=i.extend({tool:null,initialize:function(e){i.prototype.initialize.call(this,e),this.plugin.toolViewInstance=this,this.plugin.$ipmEl=null},render:function(){i.prototype.render.call(this)},initPlugin:function(){return i.prototype.initPlugin.call(this)},handleDrop:function(t,i){t.stopPropagation(),t.preventDefault(),$(t.currentTarget).trigger(r.COUNT_FILES,i.files.length),e.currentTool.handleDrop(t,i)},setFileDropHandler:function(){if(!e.currentTool.fileuploader&&!t.isIE9orBelow()){var i=this.$el,o=[];e.currentTool.fileuploader=i.fileupload({add:function(){},replaceFileInput:!1,dropZone:i}),t.registerDnD(i,!0),t.registerDnD($(o.join(",")),!1),i.on("fileuploaddrop",_.bindex(this.handleDrop,this))}},removeStatusHistory:function(){o.getInstance().removeDoneJobs()},setAppApi:function(e){return i.prototype.setAppApi.call(this,e)},clear:function(e){var t;if(this.tool){if(t=!e&&this.isIPMToolView()&&0===$(".aic-default-ipm",this.tool.$el).length,!t)return this.tool.undelegateEvents(),this.tool.clear&&this.tool.clear(),this.tool=null,this.$el.empty(),this.plugin.$ipmEl&&(this.plugin.$ipmEl.remove(),this.plugin.$ipmEl=null),!0;this.plugin.$ipmEl=this.tool.$el.children().detach()}return!1},deselectPlugin:function(){this.clear()},isIPMToolView:function(){return this.tool instanceof s||this.tool instanceof l||this.tool instanceof n}});return c}),define("aictools/templates/upsell-tool-template",[],function(){return'<div id="aic-tool-upsell-ipm"><div id="<%= mboxID %>"><div class="aic-ipms-service-area"><div id="tool_upsell"><div class="aic-upsell-service-title"><%= title %></div><div class="aic-upsell-service-subtitle"><%= subtitle %></div><div class="control-button aic-service-btn-wrapper aic-upgrade-button site-catalyst <%= analytics %>"><div class="service_button_label"><%= getStarted %></div></div></div><div class="aic-upsell-messages"><div class="aic-upsell-service-subtitle1"><%= subtitle1 %></div><div class="aic-tool_upsell_message_title"><%= message1Title %></div><div class="aic-tool_upsell_message"><%= message1 %></div><div class="aic-tool_upsell_link"><a id="upsell_link1"><%= messageLink %></a></div><div class="aic-tool_upsell_message_title"><%= message2Title %></div><div class="aic-tool_upsell_message"><%= message2 %></div><div class="aic-tool_upsell_link"><a id="upsell_link2"><%= messageLink %></a></div><div class="aic-tool_upsell_message_title"><%= message3Title %></div><div class="aic-tool_upsell_message"><%= message3 %></div><div class="aic-tool_upsell_link"><a id="upsell_link3"><%= messageLink %></a></div></div></div></div></div>'}),define("aictools/views/tool-upsell-exportpdf-view",["aictools/aic","aictools/util/util","aictools/templates/upsell-tool-template","i18n!aictools/nls/ui-strings","aictools/views/tool-upsell-view","aictools/models/users-me-model","aictools/ops/ipm/ipm-view-factory","aictools/util/strings","aictools/models/subscriptions/subscription-collection"],function(e,t,i,o,a,r,s,n){var l=a.extend({initialize:function(e){e=e||{},this.mBoxId=e.mBoxId||"",this.promoId="KKDBK",a.prototype.initialize.call(this)},template:_.template(i),toolname:n.toolNames.EXPORT,mBoxId:void 0,render:function(){var t,i;return t=r.hasPaidSubscription()?{title:o.CPDF_UPSELL_TITLE,getStarted:o.EAMES_SIGN_UP_BUTTON_ONE_TEXT,analytics:"aic-upsell-analytics"}:{title:o.EPDF_UPSELL_TITLE,getStarted:o.GET_STARTED,analytics:"aic-subscribe-analytics"},e.subscriptionCollection.getMainSubscription(!1),this.setHtml(_.extend(t,{subtitle:o.EPDF_UPSELL_SUBTITLE,subtitle1:o.EPDF_UPSELL_SUBTITLE1,message1Title:o.EPDF_UPSELL_TO_WORD_TITLE,message1:o.EPDF_UPSELL_TO_WORD_MSG,messageLink:o.LEARN_MORE,message2Title:o.EPDF_UPSELL_TO_EXCEL_TITLE,message2:o.EPDF_UPSELL_TO_EXCEL_MSG,message3Title:o.EPDF_UPSELL_TO_OCR_TITLE,message3:o.EPDF_UPSELL_TO_OCR_MSG,mboxID:this.getMBoxId()})),i=$(".aic-exportpdf").find("#tool_upsell"),i.find(".aic-service-logo-export").size()||i.prepend('<div class="aic-service-logo-export"></div>'),a.prototype.render.call(this)},getMBoxId:function(){return this.mBoxId},onupsellLinkClicked:function(e){e.preventDefault(),e.stopPropagation(),"upsell_link1"===e.currentTarget.id?window.open(t.prependAiCServerString("/redir/epdf_convert_to_word?trackingid=KISOG")):"upsell_link2"===e.currentTarget.id?window.open(t.prependAiCServerString("/redir/epdf_convert_to_excel?trackingid=KISOH")):"upsell_link3"===e.currentTarget.id&&window.open(t.prependAiCServerString("/redir/epdf_home?trackingid=KISOI"))},pluginName:function(){return n.pluginNames.EXPORT},analyticsName:function(){return n.scNames.EXPORT},entitlementName:function(){return n.entitlements.exportpdf}});return s.getInstance().registerView("ToolUpsellExportPDFView",l),l}),define("aictools/templates/export-pdf-tool",[],function(){return'<div class="ui-theme theme-container" id="export_tool"><div class="aic-service-spacer"></div>    <div class="aic-service-title theme-text" ><%= title %></div>    <div class="aic-service-subtitle theme-text"><%= subtitle %></div>    <input type="button" id="export_entry_button" class="control-button aic-export-file-select site-catalyst theme-button theme-button-label" value="<%= selectFile %>"/>    <div><a  id="export_view_link" class="reader aic-export-view-converted-files theme-hyperlink" href="#" tabindex ="0" ><%= view_converted_files %></a></div></div>'}),define("aictools/templates/rhp/export-pdf-dialog-view-template",[],function(){return'<div class="rhp aic-export-pdf-dialog site-catalyst aic-tool-options-container ui-theme theme-container ">   <div class="rhp aic-tool-signup-ipm-view"></div>   <div class="rhp aic-tool-offline-ipm-view"></div>   <div class="rhp aic-tool-error-view"></div>   <div class="rhp aic-tool-overlay"></div>    <div>        <div class="rhp aic-tool-header-ipm-view"></div>        <div class="rhp aic-exportpdf-form">            <div class="rhp aic-tool-options-add-files">               <div id="export_link" tabindex="0"                    class="rhp aic-export-add-files site-catalyst theme-hyperlink"                    role="link"  ><%= add_files %>               </div>            </div>            <div class="rhp aic-export-file-list aic-tool-options-selected-files-list ui-theme theme-container" tabindex="-1"></div>            <div id="rhp aic-export-format-input">                <div id="export-format-label"                    class="rhp aic-tool-options-label theme-text">                    <%= export_format %>                </div>                <div class="rhp aic-relative-wrapper aic-overflow-visible">                    <div class="rhp dropdown-btn aic-export-select aic-select-format site-catalyst ui-theme theme-container"                             id="outputFormat">                         <div id="export-format-tag"                               class="rhp aic-export-selected-format theme-text" >                         </div>                         <div class="rhp aic-export-format-menu-container ui-theme theme-container" style ="overflow-y:scroll; height:150px"></div>                        <div id="export-triangle-button"                              class="core-down-triangle rhp aic-select-dropdown"                             role="button" aria-haspopup="true" tabindex="0"                             aria-labelledby="export-format-label export-format-tag"> </div>                    </div>                </div>            </div>            <div id="rhp-aic-export-language-input">                <div id="export-lang-options-label"                    class="rhp aic-tool-options-label aic-export-lang-title theme-text">                    <%= recognize_text_in %>                </div>                <div class="rhp aic-export-lang-container">                    <div class="rhp aic-export-selected-lang site-catalyst theme-text" id="ocrLang"></div>                    <a class="rhp aic-export-lang-change theme-hyperlink"                        aria-labelledby="export-lang-options-label ocrLang aic-export-lang-change"                       id="aic-export-lang-change" href="#"><%= change %></a>                </div>            </div>               <div id="rhp-aic-image-quality-input" class="hide">                <div id="export-image-quality-label"                    class="rhp aic-tool-options-label theme-text" style="margin-top: 23px">                    <%= export_image_format %>                </div>                <div class="rhp aic-relative-wrapper aic-overflow-visible">                    <div class="rhp dropdown-btn aic-export-select aic-select-image-quality ui-theme theme-container"                             id="outputImageQuality">                         <div id="export-image-quality-tag"                               class="rhp aic-image-quality-selected theme-text" >                         </div>                         <div class="rhp aic-export-image-quality-menu-container ui-theme theme-container" style ="overflow-y:scroll; height:90px"></div>                        <div id="imageQuality-triangle-button"                              class="core-down-triangle rhp aic-select-dropdown"                             role="button" aria-haspopup="true" tabindex="0"                             aria-labelledby="export-image-quality-label export-image-quality-tag"> </div>                    </div>                </div>            </div>        </div>    </div>    <div class="rhp aic-export-button-wrapper">        <input class="rhp control-button dialog-control-button aic-float-left site-catalyst                theme-button theme-button-label" id="export_pdf_convert" tabindex="0"                 type="button" data-role="none" value="<%= convert %>">    </div>    <a class="rhp aic-export-view-converted-files theme-hyperlink" id="view_converted_files_id" tabindex="0" href="#" ><%= view_converted_files %></a></div>'}),define("aictools/templates/rhp/workflow-error-view-template",[],function(){return'<div class="workflow-error-view ui-theme theme-container"><div class="error-image"></div><div class="error-title theme-text"></div><div class="error-message theme-text"></div><div class="error-close-button button-light-blue control-button theme-button theme-button-label"><%= close_button %></div></div>'}),define("aictools/views/rhp/workflow-error-view",["aictools/aic","aictools/views/view","aictools/templates/rhp/workflow-error-view-template"],function(e,t,i){var o=t.extend({template:_.template(i),events:function(){return _.extend({},t.prototype.events,{"click .error-close-button":"_onCloseButtonClick"})},initialize:function(){t.prototype.initialize.call(this),this.render()},render:function(){return 0==this.$el.children().length&&this.$el.html(this.template({close_button:"OK"})),this.$errorTitle=this.$(".error-title"),this.$errorMessage=this.$(".error-message"),this},showError:function(t,i){e.appApi.networkConnectivityApi.isOnline()&&(this.$errorTitle.text(t),this.$errorMessage.text(i),this.$el.show())},_onCloseButtonClick:function(){this.$el.hide()}});return o}),define("aictools/views/rhp/export-pdf-menu-view",["aictools/aic","core/utils/event-util","aictools/util/util","aictools/views/view","aictools/analytics/analytics"],function(e,t,i,o){var a=o.extend({initialize:function(e){o.prototype.initialize.call(this),this.menuItems=[],e&&e.menuItems&&(this.menuItems=e.menuItems),e&&e.selectedIndex&&(this.selectedIndex=e.selected),this.render()},events:{"click li":"_onMenuItemClick","keydown li":"_onMenuItemKeyDown"},render:function(){return this.$el.empty(),this.menuItems.map(_.bind(function(e){this.$el.append(_.template('<li class="theme-text theme-hoverable" tabindex="0" role="menuitem" data-code="<%= code %>"><%= name %></li>',e))},this)),this},_focusOnMenuItem:function(){var e=this.$el,t=e.children("li")[0];t.focus()},initWrappers:function(){},update:function(e){return this.menuItems=e,this.render()},show:function(){return this.$el.show(),this._addMenuEventListeners(),this._focusOnMenuItem(),this._settingEscEvent(!0),this.deferred=$.Deferred(),this.deferred.promise()},close:function(e,t){this.deferred&&this.deferred.resolve(e,t),this._removeMenuEventListeners(),this._settingEscEvent(!1),this.$el.hide(),this.$el.parent().find("#export-triangle-button").focus(),this.$el.parent().find("#imageQuality-triangle-button").focus()},_settingEscEvent:function(t){e.appApi.rnaApi.done(_.bind(function(e){e.rnaServicesAPI.setCanHandleCEFEvent(0,t)},this))},_onMenuItemClick:function(e){e.stopPropagation(),this.close($(e.currentTarget).data("code"),$(e.currentTarget).text())},_onMenuItemKeyDown:function(e){var t=e.keyCode,i=$(e.currentTarget);switch(t){case 38:var o=i.prev();if(o.length>0)i.prev().focus();else{var a=i.siblings(":last");a.focus()}this._consumeEvent(event);break;case 40:var r=i.next();if(r.length>0)i.next().focus();else{var s=i.siblings(":first");s.focus()}this._consumeEvent(event);break;case 27:case 27:return e.stopPropagation(),this.close(),!1;case 13:case 32:this._onMenuItemClick(e);break;case 9:this.close()}},_addMenuEventListeners:function(){t.addDomEventListener(document.body,"click",this._onBodyClick,!0)},_removeMenuEventListeners:function(){t.removeDomEventListener(document.body,"click",this._onBodyClick,!0)},_onKeyDown:function(e){return this.options.appApi.displayApi.isModal()||27!==e.which?void 0:(this.close(),!0)},_onBodyClick:function(e){0===t.getEventTarget(e).closest(this.$el).length&&(e.stopPropagation(),this.close())}});return a}),define("aictools/templates/rhp/signup-ipm-view-template",[],function(){return'<div class="signup-ipm-view"><div class="ipm-title"><%= ipm_title %></div><div class="ipm-content"><%= ipm_content %></div><div class="rhp core-remove-x ipm-close"></div><div class="signup-button control-button"><%= ipm_button %></div></div>'}),define("aictools/views/rhp/signup-ipm-view",["aictools/aic","aictools/views/view","aictools/templates/rhp/signup-ipm-view-template","i18n!aictools/nls/ui-strings"],function(e,t,i,o){var a=t.extend({template:_.template(i),events:function(){return _.extend({},t.prototype.events,{"click .signup-button":"onSignupButtonClick","click .ipm-close":"onCancelButtonClick"})},initialize:function(){t.prototype.initialize.call(this)},render:function(){return this.$el.html(this.template({ipm_title:this.ipmTitle,ipm_content:this.ipmContent,ipm_button:this.ipmAcceptString})),this},show:function(t,i){this.deferred=$.Deferred();var a=15,r=16,s=116,n=117,l=118;return e.appApi.rnaApi.done(_.bind(function(c){c.getIPMMessage([t,i]).done(_.bindex(function(c){if(this.ipmTitle=c.get("title"),this.ipmContent=c.get("content"),this.ipmAcceptString=c.get("acceptLabel"),this.ipmRejectString=c.get("rejectLabel"),this.ipmExternalLink=c.get("externalLink"),e.ConvertPDFExperiment&&(this.ipmExternalLink=o.READER_CCPDF_OTHER_SIGNUP_URL_RHP,t===r?this.ipmExternalLink=o.READER_CCPDF_SIGNUP_URL_RHP:t===a&&(i===s?this.ipmExternalLink=o.READER_CCPDF_DOCX_SIGNUP_URL_RHP:i===n?this.ipmExternalLink=o.READER_CCPDF_XLSX_SIGNUP_URL_RHP:i===l&&(this.ipmExternalLink=o.READER_CCPDF_PPTX_SIGNUP_URL_RHP))),e.ExportPDFRenameExperiment&&t===a&&(this.ipmExternalLink=o.READER_RENAME_EPDF_OTHER_SIGNUP_URL_RHP,i===s?this.ipmExternalLink=o.READER_RENAME_EPDF_DOCX_SIGNUP_URL_RHP:i===n?this.ipmExternalLink=o.READER_RENAME_EPDF_XLSX_SIGNUP_URL_RHP:i===l&&(this.ipmExternalLink=o.READER_RENAME_EPDF_PPTX_SIGNUP_URL_RHP)),this.render(),this.ipmAcceptString){this.defaultRHPHeight=$(".rhp-container-content").height(),this.$el.show();var d=this.$(".signup-ipm-view").offset().top+this.$(".signup-ipm-view").position().top+this.$(".signup-ipm-view").height()+40;d>this.defaultRHPHeight&&$(".rhp-container-content").height(d)}else this.onSignupButtonClick()},this))},this)),this.deferred.promise()},close:function(){this.$el.hide(),$(".rhp-container-content").css("height","auto")},onSignupButtonClick:function(){if(this.ipmExternalLink){var t=this.ipmExternalLink;e.appApi.rnaApi.done(_.bind(function(i){i.rnaServicesAPI.isDynamicExportExperimentEnabled()===!0&&(t=o.EXPORT_TOOL_VIEW_EXPERIMENT_GOURL),"true"===e.QueryParams.inAppUpsellEnabled?i.launchInAppPurchaseExp(t):i.openDecoratedUrl(t)},this))}"true"!==e.QueryParams.inAppUpsellEnabled&&e.appApi.sessionApi.ensureSignedIn().then(_.bind(function(){this.deferred.resolve()},this),_.bind(function(){this.deferred.reject()},this)),this.close()},onCancelButtonClick:function(){this.deferred.reject(),this.close()},_renderIconElement:function(){this.$iconElem.css("background-image","url("+this.ipmIcon+")")}});return a}),define("aictools/templates/rhp/offline-ipm-view-template",[],function(){return'<div class="offline-ipm-view ui-theme theme-container"><div class="offline-ipm-image"></div><div class="offline-ipm-title theme-text"><%= ipm_title %></div><div class="offline-ipm-content theme-text"><%= ipm_content %></div><div class="button-light-blue offline-okay-button control-button theme-button theme-button-label"><%= ipm_button %></div></div>'}),define("aictools/views/rhp/offline-ipm-view",["aictools/aic","aictools/views/view","aictools/templates/rhp/offline-ipm-view-template"],function(e,t,i){var o=t.extend({template:_.template(i),events:function(){return _.extend({},t.prototype.events,{"click .offline-okay-button":"onOkayButtonClick"})},initialize:function(){t.prototype.initialize.call(this);var i=this.options.displayLocation,o=this.options.displayContext;e.appApi.rnaApi.done(_.bind(function(e){e.getIPMMessage([i,o]).done(_.bindex(function(e){this.ipmTitle=e.get("title"),this.ipmContent=e.get("content"),this.ipmAcceptString=e.get("acceptLabel"),this.ipmRejectString=e.get("rejectLabel"),this.ipmExternalLink=e.get("externalLink"),this.render()},this))},this))},render:function(){return this.ipmTitle||this.ipmIcon?(0==this.$el.children().length&&this.$el.html(this.template({ipm_title:this.ipmTitle,ipm_content:this.ipmContent,ipm_button:this.ipmAcceptString})),this):this},show:function(){e.appApi.rnaApi.done(_.bindex(function(e){if(e.rnaServicesAPI.isSelectionExportExperimentEnabled()===!0&&this.options.appName&&"Export"===this.options.appName){var t={};return t.appName="EPDFApp",t.margin_bottom=1,t.margin_left=15,e.rnaServicesAPI.invokeMethod({methodName:"ExperimentDetails",methodArgs:t})}},this)),this.$el.show()},close:function(){e.appApi.rnaApi.done(_.bindex(function(e){if(e.rnaServicesAPI.isSelectionExportExperimentEnabled()===!0&&this.options.appName&&"Export"===this.options.appName){var t,i={};return t=e.isSignedInReader()?35:1,i.appName="EPDFApp",i.margin_bottom=t,i.margin_left=15,e.rnaServicesAPI.invokeMethod({methodName:"ExperimentDetails",methodArgs:i})}},this)),this.$el.hide()},onOkayButtonClick:function(){e.appApi.rnaApi.done(_.bindex(function(e){if(e.rnaServicesAPI.isSelectionExportExperimentEnabled()===!0){var t="customNotificationToQuitCoachmark";return e.rnaServicesAPI.invokeMethod({methodName:"broadcastCustomNotification",methodArgs:[t]})}},this)),this.close(),e.appApi.networkConnectivityApi.resetNetworkStatusToOnline()}});return o}),define("aictools/templates/ipm-header-view-template",[],function(){return'<div class="ipm-header-content"><div class="ipm-content-container"><div class="ipm-title theme-text"><%= ipm_title %></div><div class="ipm-content theme-text" ><%= ipm_content %></div></div><div class="ipm-icon" title= "<%= ipm_tooltip %>" role="link" tabindex = "0" ></div></div>'}),define("aictools/views/rhp/export-pdf-header-view",["aictools/aic","aictools/views/view","aictools/templates/ipm-header-view-template","i18n!aictools/nls/ui-strings"],function(e,t,i,o){var a=t.extend({template:_.template(i),events:function(){return _.extend({},t.prototype.events,{"click .ipm-icon":"_onIconClick","keydown .ipm-icon ":"_onIconKeydown"})},initialize:function(){t.prototype.initialize.call(this),this.render()},getIPMTitle:function(){return e.ExportPDFRenameExperiment?o.RHP_EPDF_EXPERIMENT_SERVICE_TITLE:o.RHP_EPDF_SERVICE_TITLE},getIPMTooltip:function(){return e.ExportPDFRenameExperiment?o.RHP_EPDF_EXPERIMENT_SERVICE_TOOLTIP:o.RHP_EPDF_SERVICE_TOOLTIP},render:function(){e.appApi.rnaApi.done(_.bindex(function(e){var t=o.RHP_EPDF_SERVICE_DESCRIPTION;e.rnaServicesAPI.isDynamicExportExperimentEnabled()===!0&&(t=o.EXPORT_TOOL_VIEW_EXPERIMENT_TITLE),0==this.$el.children().length&&this.setHtml({ipm_title:this.getIPMTitle(),ipm_content:t,ipm_tooltip:this.getIPMTooltip()})},this))},_onIconKeydown:function(){{var e=event.which;$(event.currentTarget),$.Event("click")}return(13===e||32===e)&&this._onIconClick(),event.shiftKey&&9===e?($(".ipm-icon").attr("tabindex","-1"),!0):9==e?($("#export_link").focus(),!1):void 0},getServiceDescriptionURL:function(){return e.ExportPDFRenameExperiment?o.RHP_EPDF_EXPERIMENT_SERVICE_DESCRIPTION_URL:o.RHP_EPDF_SERVICE_DESCRIPTION_URL},_onIconClick:function(){e.appApi.rnaApi.done(_.bind(function(e){e.openDecoratedUrl(this.getServiceDescriptionURL())},this))}});return a}),define("aictools/templates/export-pdf-format-template",[],function(){return'<!-- Copyright 2012 Adobe Systems Incorporated. All Rights Reserved. -->    <p>        <input type="radio" value="<%= format_code %>" id="option_<%= format_code %>" name="export_options" tabindex="1">        <label for="option_<%= format_code %>"><%= format %></label>    </p>'}),define("aictools/templates/rhp/export-filename-template",[],function(){return'<div class="rhp aic-export-file ui-theme theme-container">    <div class="rhp aic-export-file-name theme-text"><%= filename %></div>    <div class="rhp core-remove-x aic-file-remove site-catalyst" role="button"		aria-label="<%= ariaRemoveLabel %>" id="aic-file-remove" tabindex = "0">	</div></div>'}),define("aictools/util/num-util",["aictools/aic","i18n!aictools/nls/ui-strings"],function(e,t){var i=1024,o=i*i,a=i*o,r=0,s=i,n=999.5*i-1,l=1.05*o-1,c=9.95*o-1,d=999.5*o-1,p=1.05*a-1;return e.NumUtil={localizeDecimalPoint:function(e){return e.replace(/\./g,t.DECIMAL_SEPARATOR)},formatWithThousandsSeparator:function(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,t.THOUSANDS_SEPARATOR)},formatSize:function(e){var u;return u=e>p?_.template(t.GB,{num:(e/a).toFixed(2)}):e>d?_.template(t.GB,{num:1}):e>c?_.template(t.MB,{num:(e/o).toFixed(0)}):e>l?_.template(t.MB,{num:(e/o).toFixed(1)}):e>n?_.template(t.MB,{num:1}):e>s?_.template(t.KB,{num:Math.ceil(e/i).toFixed(0)}):_.template(t.KB,{num:e>r?1:0}),this.localizeDecimalPoint(u)},getCssNum:function(e){return e?parseInt(e,10):0},removeNonNumerics:function(e){var t,i,o="",a=e.length;for(t=0;a>t;t+=1)i=e.charCodeAt(t),i>=48&&57>=i&&(o+=String.fromCharCode(i));return o}},e.NumUtil}),define("aictools/views/rhp/export-pdf-dialog-view",["aictools/aic","core/ac-core","aictools/util/util","aictools/templates/rhp/export-pdf-dialog-view-template","aictools/views/rhp/workflow-error-view","aictools/views/rhp/export-pdf-menu-view","aictools/views/rhp/signup-ipm-view","aictools/views/rhp/offline-ipm-view","aictools/views/rhp/export-pdf-header-view","i18n!aictools/nls/ui-strings","aictools/templates/export-pdf-format-template","aictools/templates/rhp/export-filename-template","aictools/views/view","aictools/util/truncate","aictools/util/num-util","aictools/models/users-me-model","aictools/models/job-collection","core/utils/sc-analytics"],function(e,t,i,o,a,r,s,n,l,c,d,p,u,g,m,h,E,T){var P=u.extend({events:function(){return _.extend({},u.prototype.events,{"click #export_pdf_convert":"onConvertButtonClick","click .rhp.aic-export-lang-change":"onLangMenuClick","click .rhp.aic-select-format":"onFormatMenuClick","click .rhp.aic-select-image-quality":"onImageQualityMenuClick","keydown .rhp.aic-select-format":"onButtonKeyDown","keydown #export_link":"onButtonKeyDown","click #export_pdf_cancel":"onCancelButtonClick","change input[name=export_options]":"onOutputFormatChange","keydown #export_pdf_cancel":"onButtonKeyDown","keydown #export_pdf_convert":"onButtonKeyDown","keydown .aic-file-remove":"onButtonKeyDown","change #outputFormat":"onOutputFormatChange","click .dialog_help":"onDialogHelpClick","click .aic-export-add-files":"addFiles","click .aic-file-remove":"removeFile","change #aic-image-format":"onImageFormatChange","click .aic-export-file-list":"onFileSelectionBarClick","click .rhp.aic-export-view-converted-files":"onViewConvertedFilesClick","keydown .rhp.aic-export-view-converted-files":"onButtonKeyDown","keydown #export-triangle-button":"onButtonKeyDown","keydown #imageQuality-triangle-button":"onButtonKeyDown","keydown .rhp.aic-export-lang-change":"onButtonKeyDown"})},initialize:function(t){u.prototype.initialize.call(this),this.className="aic-export-pdf-dialog",this.template=_.template(o),this.options=t,this.formatSelector="input:radio[name=export_options]:checked",this.formatsHTML="",this.formatOptionsHTML="",this.localesHTML="",this.imageFormatsHTML="",this.imageFormatsArr=["jpeg","png","tiff"],this.imageQualityOps=[{code:"Min",name:c.EPDF_DLG_QUALITY_MIN},{code:"Low",name:c.EPDF_DLG_QUALITY_LOW},{code:"Medium",name:c.EPDF_DLG_QUALITY_MEDIUM},{code:"High",name:c.EPDF_DLG_QUALITY_HIGH},{code:"Max",name:c.EPDF_DLG_QUALITY_MAX}],this.model=this.options.exportPDFModel,this.bUseDropdownList=!1,e.appApi.sessionApi.addSignedInChangeCallback(this._onSignedInChange),e.appApi.networkConnectivityApi.addNetworkConnectivtyChangeCallback(this._onConnectionChanged)
},_onConnectionChanged:function(e,t){t?this.offlineIPMView.close():this._showOfflineIPM()},_onSignedInChange:function(t,i){var o=!1;i?e.appApi.rnaApi.done(_.bind(function(e){o=e.rnaServicesAPI.isEnterpriseUser()&&(!e.rnaServicesAPI.isPDFServicesEnabled()||!e.rnaServicesAPI.isEncryptionKeyValid()),o?(this.$viewConvertedFiles.hide(),this.$rhpButtonWrapper.removeClass("signed")):(this.$viewConvertedFiles.show(),this.$rhpButtonWrapper.addClass("signed"))},this)):(this.$viewConvertedFiles.hide(),this.$rhpButtonWrapper.removeClass("signed"))},onFileSelectionBarClick:function(t){if(0===this.options.allJobs.length&&!$(t.target).is(".aic-file-remove")){var i=[T.TOOLS,e.currentTool.getSiteCatalystName(),T.OPTION_DLG,T.ADD_FILES_TO_EXPORT,T.CLICKED];e.appApi.siteCatalystApi.logScEvent(i),this.addFiles()}},onViewConvertedFilesClick:function(i){this._consumeEvent(i);var o=[T.TOOLS,e.currentTool.getSiteCatalystName(),T.VIEW_ALL_EXPORTED_FILES,T.CLICKED];e.appApi.siteCatalystApi.logScEvent(o),E.getInstance().countActiveJobs(!0)>0||(e.appApi.displayApi.showSpinner(!0),$(".rhp.aic-tool-overlay").removeClass("hide"),e.appApi.rnaApi.done(_.bind(function(i){e.appApi.sessionApi.ensureSignedIn().then(_.bind(function(){var o=e.appApi.connectorsApi.getConnector("ccloud");if(o&&o.length>0)t.opFactory.create("GettingSsoUriOp",e.appApi.options).run("recent/created_by_client=exportpdf").done(function(t){e.appApi.displayApi.showSpinner(!1),$(".rhp.aic-tool-overlay").addClass("hide"),t&&window.open(t.uri)});else{var a=i.rnaServicesAPI.isDocumentCloudAvailable();!a||i.isRunningInBrowser()?t.opFactory.create("GettingSsoUriOp",e.appApi.options).run("files/created_by_client=exportpdf").done(function(t){e.appApi.displayApi.showSpinner(!1),$(".rhp.aic-tool-overlay").addClass("hide"),t&&window.open(t.uri)}):(e.appApi.displayApi.showSpinner(!1),$(".rhp.aic-tool-overlay").addClass("hide"),i.selectLeftRailItem("root",!1,{actionId:"navigateTo",params:{url:"files/"}}))}},this),_.bind(function(){e.appApi.displayApi.showSpinner(!1),$(".rhp.aic-tool-overlay").addClass("hide")},this))},this)))},addFiles:function(){e.currentTool.selectFiles()},removeFile:function(e){var t=$(e.currentTarget).parents(".aic-export-file"),i=t.data("job");this.options.allJobs=_.without(this.options.allJobs,i),_.defer(function(e){e.remove()},t),i.promise.reject(),0===this.options.allJobs.length&&$("#export_pdf_convert").prop("value",c.RHP_SELECT_FILE)},removeFiles:function(){this.$(".aic-export-file").remove()},populateFormats:function(){var t={docx:"Microsoft Word (*.docx)",doc:"Microsoft Word (*.doc)",pptx:"Microsoft PowerPoint (*.pptx)",xlsx:"Microsoft Excel (*.xlsx)",rtf:"Rich Text Format (*.rtf)",jpeg:"JPEG (*.jpg)",tiff:"TIFF (*.tiff)",png:"PNG (*.png)"},i=[],o=_.bind(function(e){var o={code:e,name:t[e]};i.push(o)},this);$.each(["docx","doc","rtf","xlsx","pptx","jpeg","tiff","png"],function(e,i){t[i]&&(o(i),delete t[i])}),this.formatsMenuView.update(i),this.ImageQualityMenuView.update(this.imageQualityOps),$("#outputImageQuality").data("value","Medium"),e.appApi.rnaApi.done(_.bindex(function(e){if(this.valOutputFormat)i.map(_.bind(function(e){e.code===this.valOutputFormat&&this.$selectedFormat.text(e.name)},this)),this.imageQualityOps.map(_.bind(function(e){e.code===this.imageQuality&&this.$selectedImageQuality.text(e.name)},this));else{var t=0;e.rnaServicesAPI.isDynamicExportExperimentEnabled()===!0&&(t=4),this.valOutputFormat=i[t].code,this.$selectedFormat.text(i[t].name),this.imageQuality="Medium",this.$selectedImageQuality.text(c.EPDF_DLG_QUALITY_MEDIUM)}$("#outputFormat").data("value",this.valOutputFormat)},this))},populateLocales:function(e){if(this.langsMenuView.update(e.locales?e.locales:e),!this.ocrLang){var i=t.Locale.getLocale();i?(i=i.toLowerCase().replace("_","-"),this.ocrLang=i):this.ocrLang=e.locales[0].code}this.ocrLang&&e.locales&&e.locales.forEach(_.bind(function(e,t){e.code===this.ocrLang&&(this.$selectedLang.text(e.name),this.selectedOCRLangIndex=t)},this)),this.ocrLangArray=e.locales,$("#ocrLang").data("value",this.ocrLang)},updates:function(){this.$(".aic-export-options").html(this.formatsHTML),this.$("#option_docx").attr("checked","checked"),this.$("#ocrLang").html(this.localesHTML),this.$("#outputFormat").html(this.formatOptionsHTML),this.valOutputFormat=this.bUseDropdownList?$("#outputFormat").val():this.$(this.formatSelector).val(),this.onOutputFormatChange();var e=t.Locale.getLocale();e&&(e=e.toLowerCase().replace("_","-"),$("#ocrLang").val(e))},_getRemoveAriaLabel:function(e){return _.template(c.GENERIC_ARIA_LABEL_STRING,{prefix:e,suffix:c.ECPDF_REMOVE})},renderFiles:function(e){_.each(e,function(e){var t,i,o,a=$(_.template(p,{filename:e.escape("fileName"),ariaRemoveLabel:c.ECPDF_REMOVE}));this.$(".aic-export-file-list").append(a),a.data("job",e),t=$(".aic-export-file-name",a);var r=Math.max(170,.8*$("body").width());$(".aic-export-file-name").css("max-width",r),i=$(".aic-file-remove",a),o=a.innerWidth()-m.getCssNum(t.css("text-indent"))-1,o-=i.outerWidth(),g.truncateElementText(t,o)},this)},render:function(){var t=!1;$("#export_tool").addClass("hide"),$(".aic-recent-file-preview").addClass("hide"),this.setHtml({export_format:c.RHP_EPDF_EXPORT_FORMAT,export_image_format:c.EPDF_DLG_IMAGE_QUALITY,recognize_text_in:c.RHP_EPDF_DLG_RECOGNIZE_TEXT_IN,convert:c.RHP_SELECT_FILE,add_files:c.RHP_EPDF_ADD_FILES,change:c.CHANGE,view_converted_files:_.template(c.RHP_VIEW_CONVERTED_FILES,{name:c.RHP_DOC_CLOUD})}),$(".aic-exportpdf").append(this.$el),0!=this.options.allJobs.length&&$("#export_pdf_convert").prop("value",c.RHP_BUTTON_CONVERT),u.prototype.render.call(this),this._initWrappers(),this.$signupIPMView.addClass("hide"),this.$offlineIPMView.addClass("hide"),this.$overlay.addClass("hide"),this.$errorView.addClass("hide"),this.$formatsContainer.addClass("hide"),this.$imageQualityContainer.addClass("hide"),this.$langsContainer.addClass("hide"),this.imageFormatsArr.includes(this.valOutputFormat)&&($("#rhp-aic-image-quality-input").removeClass("hide"),$("#rhp-aic-export-language-input").addClass("hide")),e.appApi.sessionApi.isSignedInReader()?e.appApi.rnaApi.done(_.bind(function(e){t=e.rnaServicesAPI.isEnterpriseUser()&&(!e.rnaServicesAPI.isPDFServicesEnabled()||!e.rnaServicesAPI.isEncryptionKeyValid()),t?(this.$viewConvertedFiles.hide(),this.$rhpButtonWrapper.removeClass("signed")):(this.$viewConvertedFiles.show(),this.$rhpButtonWrapper.addClass("signed"))},this)):(this.$viewConvertedFiles.hide(),this.$rhpButtonWrapper.removeClass("signed")),this._renderChildViews(),this.renderFiles(this.options.allJobs),this.model.exportPDFLocales().then(_.bindex(this.populateLocales,this)),this.populateFormats()},_initWrappers:function(){this.$signupIPMView=this.$(".aic-tool-signup-ipm-view"),this.$offlineIPMView=this.$(".aic-tool-offline-ipm-view"),this.$headerIPMView=this.$(".aic-tool-header-ipm-view"),this.$overlay=this.$(".aic-tool-overlay"),this.$errorView=this.$(".aic-tool-error-view"),this.$formatsContainer=this.$(".rhp.aic-export-format-menu-container"),this.$imageQualityContainer=this.$(".rhp.aic-export-image-quality-menu-container"),this.$langsContainer=this.$(".rhp.aic-export-lang-menu-container"),this.$selectedFormat=this.$(".rhp.aic-export-selected-format"),this.$selectedImageQuality=this.$(".rhp.aic-image-quality-selected"),this.$selectedLang=this.$(".rhp.aic-export-selected-lang"),this.$viewConvertedFiles=this.$(".rhp.aic-export-view-converted-files"),this.$rhpButtonWrapper=this.$(".rhp.aic-export-button-wrapper")},_renderChildViews:function(){this._renderHeaderIPMView(),this._renderSignUpIPMView(),this._renderOfflineIPMView(),this._renderErrorView(),this._renderFormatsMenuContainer(),this._renderImageQualityMenuContainer(),this._renderLangsMenuContainer()},_renderHeaderIPMView:function(){var e=_.extend({displayLocation:2,displayContext:29},this.options);this._renderChildView("_headerIpmView",l,this.$headerIPMView,e)},_renderSignUpIPMView:function(){this.signupIPMView=this._renderChildView("_signupIpmView",s,this.$signupIPMView)},_renderOfflineIPMView:function(){var e=_.extend({displayLocation:19,displayContext:155},this.options);this.offlineIPMView=this._renderChildView("_offlineIpmView",n,this.$offlineIPMView,e)},_renderErrorView:function(){this.errorView=this._renderChildView("_errorView",a,this.$errorView,this.options)},_renderFormatsMenuContainer:function(){this.formatsMenuView=this._renderChildView("_formatsView",r,this.$formatsContainer,this.options)},_renderImageQualityMenuContainer:function(){this.ImageQualityMenuView=this._renderChildView("_imageQualityView",r,this.$imageQualityContainer,this.options)},_renderLangsMenuContainer:function(){this.langsMenuView=this._renderChildView("_langsView",r,this.$langsContainer,this.options)},addJobs:function(e){this.options.allJobs=this.options.allJobs.concat(e)},commitDialog:function(){$("#export_tool").removeClass("hide"),$(".aic-recent-file-preview").removeClass("hide"),$("#aic-image-quality").slider().length&&$("#aic-image-quality").slider("destroy"),this.hide(!0)},cancelDialog:function(){$("#export_tool").removeClass("hide"),$(".aic-recent-file-preview").removeClass("hide"),this.options&&this.options.onCancel&&this.options.onCancel(),$("#aic-image-quality").slider().length&&$("#aic-image-quality").slider("destroy")},clearState:function(){this.options.allJobs=[],this.removeFiles(),$("#export_pdf_convert").prop("value",c.RHP_SELECT_FILE)},showError:function(t,i){var o=[T.TOOLS,e.currentTool.getSiteCatalystName(),T.ERROR_DLG,T.SHOWN];e.appApi.siteCatalystApi.logScEvent(o),this.errorView.showError(t,i)},onOutputFormatChange:function(){({rtf:c.EPDF_BUTTON_TITLE_RTF,pptx:c.EPDF_BUTTON_TITLE_POWERPOINT,docx:c.EPDF_BUTTON_TITLE_WORD,doc:c.EPDF_BUTTON_TITLE_WORD,xlsx:c.EPDF_BUTTON_TITLE_EXCEL,image:c.EPDF_BUTTON_TITLE_IMAGE})[this.valOutputFormat]||c.EPDF_BUTTON_TITLE_PDF;"jpeg"===this.valOutputFormat||"png"===this.valOutputFormat||"tiff"===this.valOutputFormat?($("#aic-export-language-input").addClass("hide"),$("#format_tip").addClass("hide"),$("#rhp-aic-image-quality-input").removeClass("hide"),$("#rhp-aic-export-language-input").addClass("hide"),$("#ocrLang").removeClass("site-catalyst"),$(".aic-fake-slider").addClass("site-catalyst"),$("#aic-image-format").addClass("site-catalyst"),$("#outputImageQuality").addClass("site-catalyst")):($("#rhp-aic-image-quality-input").addClass("hide"),$("#aic-export-language-input").removeClass("hide"),$("#format_tip").removeClass("hide"),$("#rhp-aic-export-language-input").removeClass("hide"),$("#ocrLang").addClass("site-catalyst"),$(".aic-fake-slider").removeClass("site-catalyst"),$("#aic-image-format").removeClass("site-catalyst"),$("#outputImageQuality").removeClass("site-catalyst"))},onLangMenuClick:function(t){this._consumeEvent(t);var i=this.ocrLangArray.map(function(e){return e.name}),o={methodName:"showOCRLangSelectDlg",methodArgs:{selectedIndex:this.selectedOCRLangIndex,ocrLangs:i}};e.appApi.rnaApi.done(_.bind(function(e){e.servicesApi(o).done(_.bind(function(e){e>=0&&(this.selectedOCRLangIndex=e,this.ocrLang=this.ocrLangArray[e].code,$("#ocrLang").data("value",this.ocrLang),this.$selectedLang.text(i[e]))},this))},this))},onImageQualityMenuClick:function(){this.ImageQualityMenuView.show().done(_.bind(function(e,t){e&&(this.imageQuality=e,$("#outputImageQuality").data("value",e),this.$selectedImageQuality.text(t))},this))},onFormatMenuClick:function(){this.formatsMenuView.show().done(_.bind(function(e,t){e&&(this.valOutputFormat=e,$("#outputFormat").data("value",e),this.onOutputFormatChange(),this.$selectedFormat.text(t))},this))},onImageFormatChange:function(){this.valOutputFormat=$("#aic-image-format").val();var e={jpeg:c.EPDF_BUTTON_TITLE_JPG,tiff:c.EPDF_BUTTON_TITLE_TIFF,png:c.EPDF_BUTTON_TITLE_PNG}[this.valOutputFormat]||c.EPDF_BUTTON_TITLE_PDF;$("#export_pdf_convert").val(e)},_showSignupIPM:function(){var e=15,t=119,i=this.valOutputFormat;return"doc"===i||"docx"===i||"rtf"===i?t=116:"xlsx"===i?t=117:"pptx"===i&&(t=118),this.signupIPMView.show(e,t)},_showOfflineIPM:function(){this.offlineIPMView.show()},onConvertButtonClick:function(){if(e.appApi.rnaApi.done(_.bindex(function(e){if(e.rnaServicesAPI.isSelectionExportExperimentEnabled()===!0){var t="customNotificationToQuitCoachmark";return e.rnaServicesAPI.invokeMethod({methodName:"broadcastCustomNotification",methodArgs:[t]})}},this)),0===this.options.allJobs.length){var t=[T.TOOLS,e.currentTool.getSiteCatalystName(),T.OPTION_DLG,T.ADD_FILES_TO_EXPORT,T.CLICKED];return e.appApi.siteCatalystApi.logScEvent(t),void this.addFiles()}if(!e.appApi.networkConnectivityApi.isOnline())return void this._showOfflineIPM();if(!e.appApi.sessionApi.isSignedInReader()){var t=[T.TOOLS,e.currentTool.getSiteCatalystName(),T.OPTION_DLG,T.UPSELL_STARTED];return e.appApi.siteCatalystApi.logScEvent(t),void this._showSignupIPM().done(_.bind(function(){this.startExportPDF()},this))}this.commit(),this.startExportPDF()},startExportPDF:function(){var e={};if(e.format=this.valOutputFormat,e.fileExtn=this.valOutputFormat,_.indexOf(this.imageFormatsArr,this.valOutputFormat)>-1)switch(this.imageQuality){case"Min":e.imageResolutionDPI=100,e.imageJpegQuality="min";break;case"Low":e.imageResolutionDPI=150,e.imageJpegQuality="low";break;case"Medium":e.imageResolutionDPI=300,e.imageJpegQuality="medium";break;case"High":e.imageResolutionDPI=450,e.imageJpegQuality="high";break;case"Max":e.imageResolutionDPI=600,e.imageJpegQuality="max"}else e.ocrLang=this.ocrLang;_.each(this.options.allJobs,function(t){t.set(e)},this),this.options.onExportPDF(this.options.allJobs)},onCancelButtonClick:function(){this.cancelDialog()},onButtonKeyDown:function(e){var t=e.which,i=e.currentTarget,o=$.Event("click");13===t||32===t?(i=e.currentTarget,o=$.Event("click"),o.currentTarget=i,"export_pdf_cancel"===i.id&&this.onCancelButtonClick(o),"export_pdf_convert"===i.id,"aic-file-remove"===i.id&&this.removeFile(o),"export-triangle-button"===i.id&&this.onFormatMenuClick(),"imageQuality-triangle-button"===i.id&&this.onImageQualityMenuClick(),"export_link"===i.id&&this.addFiles(),"view_converted_files_id"===i.id&&this.onViewConvertedFilesClick(o),"aic-export-lang-change"===i.id&&(this.onLangMenuClick(o),e.preventDefault(),e.stopPropagation())):9===t?("view_converted_files_id"===i.id&&(this.$viewConvertedFiles.attr("tabindex","-1"),$(".ipm-icon").attr("tabindex","-1")),"export-triangle-button"===i.id&&this.$viewConvertedFiles.attr("tabindex","0")):40===t&&("export-triangle-button"===i.id&&this.onFormatMenuClick(),"imageQuality-triangle-button"===i.id&&this.onImageQualityMenuClick())},useDropdownListForFileFormat:function(){this.bUseDropdownList||(this.bUseDropdownList=!0,$("#aic-exportpdf-form .aic-export-options").hide(),$("#aic-exportpdf-form .aic-select-format").show())}});return P}),define("aictools/models/ets-model",["aictools/aic","aictools/util/util","aictools/models/model","aictools/models/base-uri-model"],function(e,t,i,o){var a=i.extend({ACTION:{OPEN:"open",DOWNLOAD:"download",MAKE:"makefile",START:"start",UPLOAD:"upload"},P_FILENAME:"filename",P_ERROR:"errorCode",P_FILESIZE:"filesize",P_FORMAT:"fileextension/fileformat",P_ASSET_ID:"assetId",P_DOCUMENT_ID:"documentId",initialize:function(){i.prototype.initialize.call(this)},url:function(){return o.get("api")+"send_ets_event"},sendEvent:function(i,o,a){var r={eventSubCode:i,eventParams:o};t.featureEnabled("ets_testing")&&e.etsEvents.push(r),this.ajax(this.url(),"POST",JSON.stringify(r),{modal:!1,global:!1,headers:a}).fail(function(){})},sendStartEvent:function(e,t,i){this.sendProcessEvent("DEX_PROCESS_START",e,t,i)},sendErrorEvent:function(e,t,i){this.sendProcessEvent("DEX_PROCESS_ERROR",e,t,i)},sendCancelEvent:function(e,t,i){this.sendProcessEvent("DEX_PROCESS_CANCELED",e,t,i)},sendSuccessEvent:function(e,t,i){this.sendProcessEvent("DEX_PROCESS_SUCCESS",e,t,i)},sendProcessEvent:function(e,t,i,o){var a={action:t};_.extend(a,i||{}),this.sendEvent(e,a,o)}}),r=new a;return e.etsEvents=[],r}),define("aictools/models/ets-instance",["aictools/aic","aictools/util/util","aictools/models/ets-model"],function(e,t,i){var o=function(e,o){this.params={},this.x_user_action_id=o?o.x_user_action_id:t.uuid(),this.x_user_action_name=o?o.x_user_action_name:e,this.x_user_engagement="active",this.setParam=function(e,t){e=i[e],this.params[e]=t},this.startEvent=function(e){i.sendStartEvent(i.ACTION[e],this.params,this.headers())},this.cancelEvent=function(e){i.sendCancelEvent(i.ACTION[e],this.params,this.headers())},this.successEvent=function(e){i.sendSuccessEvent(i.ACTION[e],this.params,this.headers())},this.errorEvent=function(e){i.sendErrorEvent(i.ACTION[e],this.params,this.headers())},this.headers=function(){return{"x-user-action-id":this.x_user_action_id,"x-user-action-name":this.x_user_action_name,"x-user-engagement":this.x_user_engagement}}};return o}),define("aictools/views/pdf-tool-base-view",["aictools/aic","aictools/views/view","aictools/models/job-model","aictools/models/ets-instance","aictools/util/util","core/utils/util"],function(e,t,i,o,a,r){var s=104857600,n=0;r.isCEF()&&(n=-1);var l=t.extend({initialize:function(){t.prototype.initialize.call(this)},render:function(){return t.prototype.render.call(this),$.Deferred().resolve().promise()},getActiveFile:function(){var t=$.Deferred();return this.openedDocConsumedInWorkflow?t.resolve():e.appApi.rnaApi.done(_.bind(function(e){this.openedFile=e.getOpenedFile(),console.debug(this.openedFile),t.resolve(this.openedFile)},this)),t.promise()},clearOpenedFile:function(){delete this.openedFile,this.openedDocConsumedInWorkflow=!0},processRejectedFiles:function(e,t,i){var o=[],r=[],l=[],c=[],d=e;t&&(d=$.merge(e,t)),_.each(d,function(e){var t=e.get("name")||a.basename(e.val()),i=e.get("size");i===n?r.push(e):i>s?o.push(e):a.getFilenameExtension(t)?l.push(e):c.push(e)}),l.length?this.processFileErrors(l,"UnsupportedMimeType",i):o.length?this.processFileErrors(o,"UploadTooLarge",i):r.length?this.processFileErrors(r,"UploadIsEmpty",i):c.length&&this.processFileErrors(c,"UnknownFileType",i)},processFileErrors:function(e,t,o){var r=new i,s=[];_.each(e,function(e){s.push(e.get("name")||a.basename(e.val()))}),r.set({errorCode:t,operation:this.toolName(),emptyFiles:s,tooLargeFiles:s,unsupportedFiles:s,unknownFiles:s}),r.fail(t,null,!0,o)},onToolFailure:function(e,t,a,r,s){e||(e=new i({emptyFiles:[],tooLargeFiles:[],unsupportedFiles:[],unknownFiles:[],ets:new o(this.analyticsName())})),r&&e.set(r),e.fail(t,a,!0,s)},validateInputFiles:function(e,t,i,o,a){var r=[],l=[],c=[];return _.each(e,function(e){{var i=(e.get("name"),e.get("ext"));e.get("assetId")}""===i||_.contains(t,i.toLowerCase())?r.push(e):l.push(e)}),r.length&&(c=_.filter(r,function(e){var t=e.get("size");return t===n||t>s?(l.push(e),!1):!0}),c||(c=[])),l.length&&a!==!1&&this.processRejectedFiles(l,null,o),c}});return l}),define("aictools/models/exportpdf-model",["aictools/aic","aicx/ac-aicx","aictools/util/util","aictools/models/model","aictools/models/base-uri-model","core/utils/http-util","core/utils/util"],function(e,t,i,o,a,r,s){var n={pptx:{"da-dk":"Microsoft PowerPoint-dokument (*.pptx)","it-it":"Documento Microsoft PowerPoint (*.pptx)","en-us":"Microsoft PowerPoint Document (*.pptx)","fr-fr":"Document Microsoft PowerPoint (*.pptx)","sv-se":"Microsoft PowerPoint-dokument (*.pptx)","nb-no":"Microsoft PowerPoint-dokument (*.pptx)","fi-fi":"Microsoft PowerPoint -asiakirja (*.pptx)","ja-jp":"Microsoft PowerPoint ドキュメント (*.pptx)","es-es":"Documento de Microsoft PowerPoint (*.pptx)","en-gb":"Microsoft PowerPoint Document (*.pptx)","nl-nl":"Microsoft PowerPoint-document (*.pptx)","de-de":"Microsoft PowerPoint-Dokument (*.pptx)","pt-br":"Documento do Microsoft PowerPoint (*.pptx)"},xlsx:{"da-dk":"Microsoft Excel-dokument (*.xlsx)","it-it":"Documento Microsoft Excel (*.xlsx)","en-us":"Microsoft Excel Document (*.xlsx)","fr-fr":"Document Microsoft Excel (*.xlsx)","sv-se":"Microsoft Excel-dokument (*.xlsx)","nb-no":"Microsoft Excel-dokument (*.xlsx)","fi-fi":"Microsoft Excel -asiakirja (*.xlsx)","ja-jp":"Microsoft Excel 文書 (*.xlsx)","es-es":"Documento de Microsoft Excel (*.xlsx)","en-gb":"Microsoft Excel Document (*.xlsx)","nl-nl":"Microsoft Excel-document (*.xlsx)","de-de":"Microsoft Excel-Dokument (*.xlsx)","pt-br":"Documento do Microsoft Excel (*.xlsx)"},docx:{"da-dk":"Microsoft Word-dokument (*.docx)","it-it":"Documento Microsoft Word (*.docx)","en-us":"Microsoft Word Document (*.docx)","fr-fr":"Document Microsoft Word (*.docx)","sv-se":"Microsoft Word-dokument (*.docx)","nb-no":"Microsoft Word-dokument (*.docx)","fi-fi":"Microsoft Word -asiakirja (*.docx)","ja-jp":"Microsoft Word 文書 (*.docx)","es-es":"Documento de Microsoft Word (*.docx)","en-gb":"Microsoft Word Document (*.docx)","nl-nl":"Microsoft Word-document (*.docx)","de-de":"Microsoft Word-Dokument (*.docx)","pt-br":"Documento do Microsoft Word (*.docx)"},rtf:{"da-dk":"RTF-dokument (*.rtf)","it-it":"Documento RTF (*.rtf)","en-us":"Rich Text Format Document (*.rtf)","fr-fr":"Document RTF (*.rtf)","sv-se":"Rich Text Format-dokument (*.rtf)","nb-no":"Rikt tekstformat-dokument (*.rtf)","fi-fi":"Rich Text Format -asiakirja (*.rtf)","ja-jp":"リッチテキスト形式文書 (*.rtf)","es-es":"Documento de formato de texto enriquecido (*.rtf)","en-gb":"Rich Text Format Document (*.rtf)","nl-nl":"Rich Text Format-document (*.rtf)","de-de":"RTF-Dokument (*.rtf)","pt-br":"Documento Rich Text Format (*.rtf)"},doc:{"da-dk":"Microsoft Word 97-2003-dokument (*.doc)","it-it":"Documento Microsoft Word 97-2003 (*.doc)","en-us":"Microsoft Word 97-2003 Document (*.doc)","fr-fr":"Document Microsoft Word 97-2003 (*.doc)","sv-se":"Microsoft Word 97-2003-dokument (*.doc)","nb-no":"Microsoft Word 97-2003-dokument (*.doc)","fi-fi":"Microsoft Word 97–2003 -asiakirja (*.doc)","ja-jp":"Microsoft Word 97-2003 文書 (*.doc)","es-es":"Documento de Microsoft Word 97-2003 (*.doc)","en-gb":"Microsoft Word 97-2003 Document (*.doc)","nl-nl":"Microsoft Word 97-2003-document (*.doc)","de-de":"Microsoft Word 97-2003-Dokument (*.doc)","pt-br":"Documento do Microsoft Word 97-2003 (*.doc)"},jpeg:{"da-dk":"JPEG (*.jpg)","it-it":"JPEG (*.jpg)","en-us":"JPEG (*.jpg)","fr-fr":"JPEG (*.jpg)","sv-se":"JPEG (*.jpg)","nb-no":"JPEG (*.jpg)","fi-fi":"JPEG (*.jpg)","ja-jp":"JPEG (*.jpg)","es-es":"JPEG (*.jpg)","en-gb":"JPEG (*.jpg)","nl-nl":"JPEG (*.jpg)","de-de":"JPEG (*.jpg)","pt-br":"JPEG (*.jpg)"},tiff:{"da-dk":"TIFF (*.tiff)","it-it":"TIFF (*.tiff)","en-us":"TIFF (*.tiff)","fr-fr":"TIFF (*.tiff)","sv-se":"TIFF (*.tiff)","nb-no":"TIFF (*.tiff)","fi-fi":"TIFF (*.tiff)","ja-jp":"TIFF (*.tiff)","es-es":"TIFF (*.tiff)","en-gb":"TIFF (*.tiff)","nl-nl":"TIFF (*.tiff)","de-de":"TIFF (*.tiff)","pt-br":"TIFF (*.tiff)"},png:{"da-dk":"PNG (*.png)","it-it":"PNG (*.png)","en-us":"PNG (*.png)","fr-fr":"PNG (*.png)","sv-se":"PNG (*.png)","nb-no":"PNG (*.png)","fi-fi":"PNG (*.png)","ja-jp":"PNG (*.png)","es-es":"PNG (*.png)","en-gb":"PNG (*.png)","nl-nl":"PNG (*.png)","de-de":"PNG (*.png)","pt-br":"PNG (*.png)"}},l={locales:[{code:"en-us",name:"English (U.S.)"},{code:"en-gb",name:"English (U.K.)"},{code:"da-dk",name:"Dansk"},{code:"de-de",name:"Deutsch"},{code:"es-es",name:"Español"},{code:"fi-fi",name:"Suomi"},{code:"fr-fr",name:"Français"},{code:"it-it",name:"Italiano"},{code:"ja-jp",name:"日本語"},{code:"nb-no",name:"Norsk"},{code:"nl-nl",name:"Nederlands"},{code:"pt-br",name:"Português"},{code:"sv-se",name:"Svenska"},{code:"sr-sr",name:"Српски (Serbia)"},{code:"mk-mk",name:"Македонски (Macedonia)"},{code:"zh-cn",name:"中文 (Simplified)"},{code:"ko-kr",name:"한국어 (South Korea)"},{code:"sl-si",name:"Slovenščina"},{code:"lt-lt",name:"Lietuviškai (Lithuania)"},{code:"ru-ru",name:"русский (Russia)"},{code:"iw-il",name:"עִברִית (Israel)"},{code:"zh-hk",name:"中文 (Traditional)"},{code:"uk-ua",name:"Українська (Ukraine)"},{code:"pl-pl",name:"Polskie"},{code:"hu-hu",name:"Magyar (Hungary)"},{code:"bg-bg",name:"български (Bulgaria)"},{code:"hr-hr",name:"hrvatski (Croatia)"},{code:"ro-ro",name:"Română"},{code:"el-gr",name:"Ελληνικά (Greece)"},{code:"mt-mt",name:"Malti"},{code:"no-no",name:"norsk (Norway)"},{code:"de-ch",name:"Deutsche (Switzerland)"},{code:"cs-cz",name:"čeština (Czech Republic)"},{code:"tr-tr",name:"Türk"},{code:"ca-ca",name:"Català"},{code:"lv-lv",name:"Latviešu"},{code:"sk-sk",name:"slovenský"},{code:"et-ee",name:"Eesti keel"}]},c=null,d=null,p=!1,u=!1,g=o.extend({initialize:function(){o.prototype.initialize.call(this)},EPDFoptionsUrl:function(){var e=this.GetRespObj();return e?e.resources.discovery.exportpdf_options.uri:""},EPDFoptionsMethod:function(){var e=this.GetRespObj();return e?e.resources.discovery.exportpdf_options.http_method:"GET"},EPDFoptionsHeader:function(){var e=this.GetRespObj(),t={},i=this.EPDFoptionsMethod(),o=r.getRequestHeaders(i);return t.authorization=o.Authorization,t.Accept=void 0===e?"":e.resources.discovery.exportpdf_options.accept["exportpdf_options_v1.json"],t["x-api-app-info"]=o["x-api-client-id"],t},EPDFUrl:function(){var e=this.GetRespObj();return e?e.resources.assets.exportpdf.uri:""},EPDFMethod:function(){var e=this.GetRespObj();return e?e.resources.assets.exportpdf.http_method:""},EPDFHeader:function(){var e=this.GetRespObj(),t={},i=this.EPDFMethod(),o=r.getRequestHeaders(i);return t.authorization=o.Authorization,t.Accept=void 0===e?"":e.resources.assets.exportpdf.accept["new_asset_job_v1.json"],t["Content-Type"]=void 0===e?"":e.resources.assets.exportpdf.content_type["exportpdf_parameters_v1.json"],t["x-api-app-info"]=o["x-api-client-id"],t},EPDFRecurHeader:function(){var e=this.GetRespObj(),t={},i=this.EPDFRecurMethod(),o=r.getRequestHeaders(i);return t.authorization=o.Authorization,t.Accept=void 0===e?"":e.resources.jobs.status.accept["new_asset_job_v1.json"],t["x-api-app-info"]=o["x-api-client-id"],t},EPDFRecurMethod:function(){var e=this.GetRespObj();return e?e.resources.jobs.status.http_method:""},_getDCAPIResponse:function(){var t=new $.Deferred;return e.appApi.rnaApi.done(_.bind(function(e){e.invokeMethod({methodName:"obtainDCApiResponse",methodArgs:""}).done(_.bind(function(e){e.length?t.resolve(e):t.reject()},this))},this)),t.promise()},GetRespObj:function(){return void 0!==a.get("dcAPIresp")&&0!==a.get("dcAPIresp").length?JSON.parse(a.get("dcAPIresp")):void(void 0===a.get("dcAPIresp")&&this._getDCAPIResponse().then(_.bind(function(e){var i=t.baseAicUrisModel;return i&&!_.isEmpty(i.attributes)&&t.baseAicUrisModel.set("dcAPIresp",e),void 0!==a.get("dcAPIresp")&&0!==a.get("dcAPIresp").length?JSON.parse(a.get("dcAPIresp")):void 0},this)))},url:function(){return a.get("api")+"exportpdf"},locales_url:function(){return a.get("api")+"exportpdf/locales"},formats_url:function(){return a.get("api")+"exportpdf/target_formats?validated=1"},exportPDFRecur:function(){{var t=$.Deferred(),i=this.retry.uri+"/status",o={job_uri:this.retry.uri};this.waiting}return $.ajax({url:i,headers:this.EPDFRecurHeader(),data:o,type:this.EPDFRecurMethod(),global:!1,success:_.bind(function(i,a,r){if(e.appApi.rnaApi.done(function(e){e.logPerformance("ExportPDF","end")}),"in progress"===i.status||"queued"===i.status){var s=i.retry_interval,n={};n.req=JSON.stringify(o),n.waiting=s,n.uri=i.job_uri,n.promise=this.retry.promise,this.retry=n,setTimeout(_.bind(this.exportPDFRecur,this),s)}else if("done"===i.status){var l,n={},c=i.asset_result.uri.split("/");c.length&&(l=c[c.length-1],n.asset={source:l}),n.name=i.asset_result.name,i.assets=[],i.assets[0]=n,this.retry.promise.resolve(i,a,r)}else"failed"===i.status&&(this.retry.promise.reject(r,a,i),t.reject(r,a,i))},this),error:_.bind(function(i,o,a){e.appApi.rnaApi.done(function(e){e.logPerformance("ExportPDF","end")});var r,s,n,l=this.retry.job;if(this._isFormFile(l)){try{s=JSON.parse(i.responseText),n=s.error.code||a}catch(c){}switch(r="ServerError",n){case"TimeOut":r="TimeOut";break;case"PDFPolicyProtected":r="PermSet"}analytics.emit("##fss-savetopdf-error",{data:{Tab:tab,FSSError:r}})}this.retry.promise.reject(i,o,a),t.reject(i,o,a)},this)}),t.promise()},exportPDF:function(t){var o=["jpeg","png","tiff"],a=t.get("outputFilename")||i.changeExtension(t.get("fileName"),t.get("format")),r=t.get("format"),n=t.get("doOCR")===!1?!1:!0,l=t.get("ocrLang"),c=t.get("convertPDFassetId"),d=(t.get("output_mode")||"asset",t.get("conversionOrigin")),p={name:a,format:r,do_ocr:n,asset_uri:t.get("convertPDFassetId"),persistence:"permanent"},u={processData:!1,modal:!1,global:!1};o.includes(r)&&(p.format="image",delete p.do_ocr);var g=$.Deferred(),m=void 0!==l?l.split("-"):"";return 2===m.length&&n&&(p.ocr_lang=m[0]+"-"+m[1].toUpperCase()),u.headers=_.isUndefined(d)||_.isEmpty(d)?t.ets.headers():_.extend({},t.ets.headers(),{"x-document-origin":d}),_.indexOf(o,r)>-1&&(p.image_params={quality:t.get("imageJpegQuality"),image_format:r}),this.exportPDFname=a,this.exportPDFformat=r,this.exportPDFdoOCR=n,this.exportPDFocrLang=l,this.asset_id=c,p=JSON.stringify(p),s.isCEF()&&e.appApi.rnaApi.done(function(e){e.isFeatRunning()&&e.isASTestAllowInstantiation()&&e.invokeMethod({methodName:"logASTestReportAPI",methodArgs:["EPDFOcrLangReport","ocrLang",l]})}),0!==this.EPDFUrl().length?$.ajax({url:this.EPDFUrl(),headers:this.EPDFHeader(),data:p,type:this.EPDFMethod(),global:!1,success:_.bind(function(t,i,o){if(e.appApi.rnaApi.done(function(e){e.logPerformance("ExportPDF","end")}),"in progress"===t.status||"queued"===t.status){var a=t.retry_interval,r={};r.req=p,r.waiting=a,r.uri=t.job_uri,r.promise=g,this.retry=r,setTimeout(_.bind(this.exportPDFRecur,this),a)}else if("done"===t.status){var s,r={},n=t.asset_result.uri.split("/");n.length&&(s=n[n.length-1],r.asset={source:s}),r.name=t.asset_result.name,t.assets=[],t.assets[0]=r,g.resolve(t,i,o)}},this),error:_.bind(function(t,i,o){e.appApi.rnaApi.done(function(e){e.logPerformance("ExportPDF","end")}),g.reject(t,i,o)},this)}):g.reject("",400,""),g.promise()},_isFormFile:function(e){var t=e?e.get("fileName"):"";return t&&"form"===i.getFilenameExtension(t,!0)},exportPDFLocales:function(e,t){return _.isEmpty(d)&&(d=l),!t||!e&&p||(this._fetchEPDFLocalesFromServer(),p=!0),$.Deferred().resolve(d).promise()},exportPDFTargetFormats:function(e,t){var i=$.Deferred();return _.isEmpty(c)&&(c=n),!t||!e&&u?i.resolve(c).promise():this._fetchEPDFFormatsFromServer().then(function(){u=!0,i.resolve(c).promise()},function(){i.reject().promise()}),i},getPDFTargetFormats:function(){return c},_fetchEPDFLocalesFromServer:function(){0!==this.EPDFoptionsUrl().length&&(void 0!==this.localez?d=this.localez:$.ajax({url:this.EPDFoptionsUrl(),headers:this.EPDFoptionsHeader(),type:this.EPDFoptionsMethod(),success:_.bind(function(e){d=e.locales,this.formatz=e.formats},this),error:_.bind(function(e){e&&423==e.status&&options.appApi.rnaApi.done(_.bind(function(e){e.invokeMethod({methodName:"triggerMigrationInProgressError",methodArgs:{}})},this)),d=null,p=!1},this)}))},_HandpickNonProvisionedFormats:function(e){for(var t in e)e[t].provisioned===!1&&delete e[t]},_fetchEPDFFormatsFromServer:function(){var t=$.Deferred();return void 0!==this.formats?(c=this.formatz,t.resolve().promise()):0===this.EPDFoptionsUrl().length&&void 0===this.retried?(this.retried=!0,e.appApi.displayApi.showSpinner(!0),setTimeout(_.bind(function(){this.ajax({url:this.EPDFoptionsUrl(),headers:this.EPDFoptionsHeader(),type:this.EPDFoptionsMethod(),success:_.bind(function(i){this._HandpickNonProvisionedFormats(i.formats),c=i.formats,this.localez=i.locales,e.appApi.displayApi.showSpinner(!1),t.resolve().promise()},this),error:_.bind(function(){c=null,u=!1,e.appApi.displayApi.showSpinner(!1),t.reject().promise()},this)})},this),5e3)):this.ajax({url:this.EPDFoptionsUrl(),headers:this.EPDFoptionsHeader(),type:this.EPDFoptionsMethod(),success:_.bind(function(e){this._HandpickNonProvisionedFormats(e.formats),c=e.formats,this.localez=e.locales,t.resolve().promise()},this),error:_.bind(function(){c=null,u=!1,e.appApi.displayApi.showSpinner(!1),t.reject().promise()},this)}),t}});return g}),define("aictools/ops/models/job-model-report-errors",[],function(){return function(e){var t=[];
_.each(e,function(e){var i=$.Deferred();$.when.apply($,t.slice()).then(_.bindex(function(){this.fail(this.get("errorCode"),null,!0).then(function(){t.shift().resolve()})},e)),t.push(i)})}}),define("aictools/templates/recent-file-preview",[],function(){return['  <div class="aic-recent-files-subtitle"><%= recently %></div><div class="aic-recent-headers site-catalyst aic-view-files-btn hide"><%= all_files %></div><div class="aic-no-recent aic-service-subtitle site-catalyst hide"><%= no_recent %></div><div class="aic-recent-files collection-thumb-view">  <div class="aic-recent-thumbnails-row"></div>  <div class="aic-recent-filenames-row"></div></div>','<div class="aic-recent-file-container" data-asset-id="<%= asset_id %>">  <div class="aic-recent-file">    <div class="aic-preview-image-container site-catalyst">      <img class="aic-preview-image hide" src="<%= image_icon %>"></img>      <div class="collection-item-thumb <%= defaultIcon %> aic-placeholder-image"></div>    </div>    <div class="aic-preview-actions">      <input type="button" class="core-download-light-icon aic-preview-download site-catalyst"/>      <input type="button" class="core-send-light-icon aic-send-link site-catalyst"/>    </div>  </div></div>','<div class="aic-preview-name site-catalyst" data-asset-id="<%= asset_id %>"><%= file_name %></div>']}),define("aictools/models/blueheron",["aictools/aic","aictools/models/model"],function(e,t){var i=t.extend({initialize:function(){t.prototype.initialize.call(this)},REQUEST_HEADERS_GET_DELETE:function(){return{Accept:"application/vnd.adobe.skybox+json;version=1",Authorization:this.getAuthorization(),"x-api-client-id":this.getClientId()}},REQUEST_HEADERS_POST_PUT:function(){return{Accept:"application/vnd.adobe.skybox+json;version=1","Content-Type":"application/vnd.adobe.skybox+json;version=1;charset=utf-8",Authorization:this.getAuthorization(),"x-api-client-id":this.getClientId()}}},{getBlueHeronBaseUriApi:function(){return e.appApi.baseFilesUrisApi.getApiUri()},getBlueHeronBaseUriUpload:function(){return e.appApi.baseFilesUrisApi.getUploadUri()},getBlueHeronBaseUriDownload:function(){return e.appApi.baseFilesUrisApi.getDownloadUri()},getBlueHeronBaseUriRendition:function(){return e.appApi.baseFilesUrisApi.getRenditionUri()}});return i}),define("aictools/models/file-preview-model",["aictools/util/util","aictools/models/blueheron"],function(e,t){function i(e){return{create:"sc_worker_createpdf","export":"sc_worker_exportpdf",combine:"sc_worker_combinepdf"}[e]}var o=t.extend({initialize:function(){t.prototype.initialize.call(this)},searchUrl:function(){return t.getBlueHeronBaseUriApi()+"search"},previewUrl:function(e){return t.getBlueHeronBaseUriRendition()+"assets/"+encodeURIComponent(e)+"/thumbnail"},getRecentFiles:function(e,t,o){var a=i(e),r={q:{created_by_client:"api_cpdf"},sort:{created:0},metadata:["id","name","content_type","cpdf2-document-converter","document-converter"],filter:{$or:[{"document-converter":a},{"cpdf2-document-converter":a}]}};return o&&(r.pagekey=o),this.ajax(this.searchUrl(),"POST",JSON.stringify(r),{global:!1})}},{instance:null,getInstance:function(){return o.instance=o.instance||new o,o.instance}});return o}),define("aictools/util/file-types",["aictools/aic","aictools/util/util"],function(e,t){var i={FORM:"collection-thumb-view file-icon-form",GENERIC:"collection-thumb-view file-icon-generic",IMAGE:"collection-thumb-view file-icon-img",PDF:"collection-thumb-view file-icon-pdf",PRESENTATION:"collection-thumb-view file-icon-presentation",RICH_TEXT:"collection-thumb-view file-icon-richtext",SPREADSHEET:"collection-thumb-view file-icon-spreadsheet",TEXT:"collection-thumb-view file-icon-text",WORD:"collection-thumb-view file-icon-richtext",ZIP:"collection-thumb-view file-icon-zip"},o={getIconClass:function(e){var o=t.getFilenameExtension(e,!0);return{pdf:i.PDF,doc:i.WORD,docx:i.WORD,rtf:i.WORD,xls:i.SPREADSHEET,xlsx:i.SPREADSHEET,ppt:i.PRESENTATION,pptx:i.PRESENTATION,jpg:i.IMAGE,jpeg:i.IMAGE,form:i.FORM,zip:i.ZIP}[o]||i.GENERIC}};return o}),define("aictools/models/asset-model",["aictools/aic","aictools/models/blueheron"],function(e,t){var i=t.extend({initialize:function(){t.prototype.initialize.call(this)},metadataUrl:function(e){return t.getBlueHeronBaseUriApi()+"assets/"+e+"/metadata"},getMetadata:function(e){return this.ajax(this.metadataUrl(e),"GET")}},{instance:null,getInstance:function(){return i.instance=i.instance||new i,i.instance}});return i}),define("aictools/ops/files/download-util",["aictools/aic","aictools/util/util","aictools/models/blueheron"],function(e,t,i){return function(o){function a(e){var t=$("iframe#cpdf2download");t.length||(t=$("<iframe id='cpdf2download' style='display:none;visibility: hidden; height: 0px; width: 0px; border: 0px'/>"),$("body").append(t)),t.attr("src",e)}var r,s,n=[];1===o.length?(s=o[0].downloadId||o[0].escape("outputID"),r=i.getBlueHeronBaseUriDownload()+"assets/"+s+"?dlticket="):(_.each(o,function(e){n.push(e.downloadId||e.escape("outputID"))}),s=n.join(";"),r=i.getBlueHeronBaseUriDownload()+"archive/zip/"+s+"?dlticket="),e.appApi.downloadApi.getDownloadTicket(s).done(_.bindex(function(e){var i=r+e.download_ticket;t.isTouchDevice()?window.open(i):a(i)})),_.each(o,function(e){e.ets&&e.ets.startEvent("DOWNLOAD")})}}),define("aictools/views/recent-file-preview",["aictools/aic","aictools/views/view","aictools/util/util","i18n!aictools/nls/ui-strings","aictools/templates/recent-file-preview","aictools/models/file-preview-model","aictools/util/localize","aictools/models/job-collection","aictools/models/job-model","aictools/util/file-types","aictools/plugins/plugin-central","aictools/models/asset-model","aictools/ops/files/download-util"],function(e,t,i,o,a,r,s,n,l,c,d,p,u){var g=".aic-recent-file-container",m=t.extend({events:{"click .aic-view-files-btn":"showAllProcessedFiles","click .aic-preview-image-container":"gotoPreview","click .aic-preview-name":"gotoPreview","click .aic-preview-download":"download","click .aic-send-link":"gotoSend"},previewCount:4,previewBufferCount:100,initialize:function(){t.prototype.initialize.call(this),this.tool=e.currentTool.toolName(),this.model=r.getInstance(),this.jobs=n.getInstance(),this.newAssetHandler=_.bindex(this.newAsset,this),this.jobs.on("change:stage",this.newAssetHandler),d.init().then(_.bindex(function(){this.rootFolderId=e.appApi.folderApi.getRootFolderId(),this.assetListener=_.bindex(this.assetChanged,this),e.appApi.notificationApi.addFolderNotificationCallback(this.rootFolderId,this.assetListener)},this))},assetChanged:function(e){var t,i=!1;_.each(e,function(e){"deleted"===e.operation&&(this.$(g).each(function(t,o){var a=$(o);a.data("asset-id")===e.object_id&&(a.remove(),i=!0)}),this.$(".aic-preview-name").each(function(t,i){$(i).data("asset-id")===e.object_id&&$(i).remove()}),this.results=_.filter(this.results,function(t){return t.id!==e.object_id})),"renamed"===e.operation&&this.$(".aic-preview-name").each(function(t,i){var o=e.object_id;$(i).data("asset-id")===o&&p.getInstance().getMetadata(o).then(_.bindex(function(e){$(i).text(e.name)}))})},this),i&&this.results.length&&(t=this.results.shift(),this.renderPreview(t.id,t.name,!0))},clear:function(){this.query&&this.query.abort(),this.jobs.off("change:stage",this.newAssetHandler),e.appApi.notificationApi.removeFolderNotificationCallback(this.rootFolderId,this.assetListener),this.remove()},className:"aic-recent-file-preview",render:function(){var e={create:o.RECENT_CONVERT_FILES,"export":o.RECENT_EXPORT_FILES,combine:o.RECENT_COMBINE_FILES}[this.tool],i={create:o.NO_RECENT_CONVERT,"export":o.NO_RECENT_EXPORT,combine:o.NO_RECENT_COMBINE}[this.tool];this.$el.html(_.template(a[0],{all_files:o.VIEW_ALL_FILES,recently:e,no_recent:i})),t.prototype.render.call(this),this.results=[],this.query=this.model.getRecentFiles(this.tool,this.previewCount),this.query.then(_.bindex(this.populatePreviews,this))},newAsset:function(e){if(e.get("operation")===this.tool&&e.get("stage")===l.STAGES.COMPLETE&&e.get("outputID")&&e.get("outputFile")){if(e.get("operation")===l.OPERATIONS.COMBINE&&e.get("parentJob"))return;var t=this.$(g);t.length>=this.previewCount&&(t.last().remove(),this.$(".aic-preview-name").last().remove()),this.renderPreview(e.get("outputID"),e.get("outputFile"),!1),this.checkEmpty()}},renderPreview:function(e,t,i){if("rejected"!==this.query.state()){var o,r,n=s.htmlSanitize({image_icon:this.model.previewUrl(e),asset_id:e,defaultIcon:c.getIconClass(t)}),l=$(_.template(a[1],n)),d=s.htmlSanitize({file_name:t,asset_id:e}),p=$(_.template(a[2],d));i?(l.appendTo(this.$(".aic-recent-thumbnails-row")),p.appendTo(this.$(".aic-recent-filenames-row"))):(l.prependTo(this.$(".aic-recent-thumbnails-row")),p.prependTo(this.$(".aic-recent-filenames-row"))),o=$(".aic-preview-image",l),r=$(".aic-placeholder-image",l),o.load(_.bind(function(e,t){t.removeClass("hide"),e.addClass("hide")},{},r,o))}},populatePreviews:function(e){if(_.each(e.results,function(e){this.results.length<this.previewBufferCount&&this.results.push(e)},this),this.results.length<this.previewBufferCount&&e.next_pagekey)return void this.model.getRecentFiles(this.tool,this.previewCount,e.next_pagekey).then(_.bindex(this.populatePreviews,this));this.$(g).remove();var t=this.results.splice(0,4);_.each(t,function(e){this.renderPreview(e.id,e.name,!0)},this),this.checkEmpty()},checkEmpty:function(){0===this.$(g).length?(this.hideElem(".aic-recent-headers"),this.unhideElem(".aic-no-recent")):(this.unhideElem(".aic-recent-headers"),this.hideElem(".aic-no-recent"))},showAllProcessedFiles:function(){var e={create:"files/created_by_client=createpdf","export":"files/created_by_client=exportpdf",combine:"files/created_by_client=combinepdf"}[this.tool];i.navigate(e,{trigger:!0})},gotoPreview:function(e){var t=$(e.currentTarget),o=t.data("asset-id")||t.closest(g).data("asset-id");i.navigate("file/"+encodeURIComponent(o),{trigger:!0})},gotoSend:function(e){var t=$(e.currentTarget).closest(g).data("asset-id");i.navigate("send/file/"+encodeURIComponent(t),{trigger:!0})},download:function(e){var t=$(e.currentTarget).closest(g).data("asset-id");u([{downloadId:t}])}});return m}),define("aictools/ops/rna/reader-file-select-op",["aictools/aic","core/ac-core","aictools/util/util","i18n!aictools/nls/ui-strings"],function(e,t,i,o){return function(t){var i;i=_.isUndefined(t.isConvertLanding)?{windowTitle:t.allowMultiple?o.READER_CHOOSE_FILES:o.READER_CHOOSE_FILE,actionButton:o.READER_OPEN,filterDesc:t.filterDesc,allowMultiple:t.allowMultiple,chooseFolder:!1,allowNewFolder:!1,extnList:t.extnList,mimeTypes:t.mimeTypes,showCustomOpenDialog:!0}:{isConvertLanding:!0};var a=$.Deferred();return e.appApi.rnaApi.done(_.bindex(function(e){e.selectFiles(i).then(function(e){a.resolve(e)},function(){a.reject()})},this)),a.promise()}}),define("aictools/ops/rna/reader-can-export-files-op",["aictools/aic","core/ac-core","aictools/util/util"],function(e){var t=["","PDFIsPortfolio","SourceIsEncrypted","PDFPolicyProtected","PDFPolicyProtected","DocumentCorrupted"];return function(i){var o,a=_.map(i,function(e){return e._proxy}),r={methodName:"canExportPDF",methodArgs:a},s=[],n=[],l=$.Deferred();return e.appApi.rnaApi.done(_.bind(function(e){e.servicesApi(r).then(_.bindex(function(e){_.each(i,_.bindex(function(i,a){e[a].errorSet?(o=e[a].errorCode,n.push({file:i,errorCode:t[o]})):s.push(i)},this)),l.resolve(s,n)},this),function(){l.reject()})},this)),l.promise()}}),define("aictools/ops/rna/rna-conversion-output-mode-op",["aictools/aic"],function(e){var t={dropbox:"dropbox",onedrivebusiness:"ms-odb",onedrive:"ms-odc",desktop_sharepoint:"sharepoint",gdrive:"gdrive",box:"box"};return function(i){var o=$.Deferred(),a={outputMode:"asset",conversionOrigin:""};return _.isUndefined(i)?o.resolve(a).promise():(e.appApi.rnaApi.done(_.bind(function(){i.invoke("determineFileSource").then(_.bindex(function(e){"root"!==e&&"ccloud"!==e&&"native"!==e&&"native_v2"!==e&&"unsupported"!==e&&"local"!==e&&"desktop_sharepoint"!==e&&(a.outputMode="transient"),a.conversionOrigin=t[e],o.resolve(a)},this),function(){o.reject()})},this)),o.promise())}}),define("aictools/ops/rna/reader-export-pdf-workflow-op",["aictools/aic","core/ac-core","aictools/util/util","aictools/models/base-uri-model","aictools/models/users-me-model","aictools/models/job-collection","aictools/models/exportpdf-model","aictools/ops/rna/rna-conversion-output-mode-op"],function(e,t,i,o,a,r,s,n){var l=null,c={};return c.showPromptDep="kAutoShow",c.showPromptUns="kAutoShow",function(t,i){var d=$.Deferred(),p=!0,u=!0;return c.argSuccess=c.argFailure=t,e.appApi.sessionApi.isSignedInReader()||"true"!==e.QueryParams.inAppUpsellEnabled?(e.appApi.sessionApi.ensureSignedIn().then(_.bindex(function(){e.appApi.rnaApi.done(_.bindex(function(t){void 0!==i&&void 0!==i.workflowOptions&&1==i.workflowOptions.showImmediateProgressSpinner&&t.rnaServicesAPI.showServicesProgressWidget(!0,!1,"busy",!0),t.rnaServicesAPI.checkIfDCAPIUnSupported(function(){d.reject({errorCode:10})},function(t){null===l&&(l=o.fetch()),l.then(_.bindex(function(){a.refetch().then(_.bindex(function(){a.canExport()?($.each(t,_.bind(function(e,t){var i=new s;i.exportPDFTargetFormats(!1,!0).always(_.bind(function(e){if(i.exportPDFLocales(!1,!0),"pptx"===t.get("format")||"ppt"===t.get("format")){p=!1;var o=e;if(o)for(var a in o)("pptx"===a||"ppt"===a)&&(p=!0)}if("jpeg"===t.get("format")||"png"===t.get("format")||"tiff"===t.get("format")){u=!1;var o=e;if(o)for(var a in o)"image"===a&&(u=!0)}p||d.reject({errorCode:7}),u?(t.get("exportPDFModel")||t.set({exportPDFModel:i,conversionFunction:_.bindex(i.exportPDF,i)}),n(t.get("file")).then(_.bind(function(e){t.set({output_mode:e.outputMode,conversionOrigin:e.conversionOrigin});try{r.getInstance().add(t)}catch(i){}}),this),d.resolve()):d.reject({errorCode:9})},this))},this)),d.then(function(){p&&e.appApi.rnaApi.done(_.bindex(function(e){e.rnaServicesAPI.showServicesProgressWidget(!0,!0,"busy",!0)},this))})):d.reject("adobeid"===a.get("account_type")?{errorCode:0}:{errorCode:4})},this),_.bindex(function(){d.reject({errorCode:1})},this))},this),_.bindex(function(){d.reject({errorCode:3}),l=null},this))},c)},this))},this),_.bindex(function(e){d.reject(e&&"NoAccessToPdfServices"===e.errorString?"UserEncrypted"===e.errorCode?{errorCode:8}:{errorCode:6}:{errorCode:2})},this)),d.promise()):(d.reject(),d.promise())}}),define("aictools/views/rhp/export-pdf-tool",["aictools/aic","aictools/util/util","aictools/templates/export-pdf-tool","i18n!aictools/nls/ui-strings","aictools/views/rhp/export-pdf-dialog-view","aictools/views/pdf-tool-base-view","aictools/models/job-model","aictools/models/exportpdf-model","aictools/models/ets-instance","aictools/ops/models/job-model-report-errors","aictools/views/recent-file-preview","aictools/util/strings","aictools/ops/rna/reader-file-select-op","aictools/ops/rna/reader-can-export-files-op","aictools/ops/rna/reader-export-pdf-workflow-op","core/utils/sc-analytics"],function(e,t,i,o,a,r,s,n,l,c,d,p,u,g,m,h){var E=r.extend({events:{"click .aic-export-file-select":"selectFiles"},initialize:function(){r.prototype.initialize.call(this),this.exportPDFSelector=".aic-export-file-select"},template:_.template(i),selectFiles:function(){var t={filterDesc:o.READER_PDF_FILTER_DESC,allowMultiple:!1,extnList:["pdf"],mimeTypes:["application/pdf"]};u(t).done(_.bindex(function(t){var i=[h.TOOLS,this.getSiteCatalystName(),h.SELECT_FILES,h.CLOSED];e.appApi.siteCatalystApi.logScEvent(i),t&&!_.isEmpty(t)&&((t.localFiles&&t.localFiles.length||!$.isEmptyObject(t.uploadedFileAttrs))&&this.clearEPDFWorkflowState(),this.initExportUploadedFiles(t.uploadedFileAttrs),this.initExportLocalFiles(t.localFiles),this.clearOpenedFile(),delete this.activeFile)},this))},initExportUploadedFiles:function(e){_.isEmpty(e)||this.exportFromUploaded(e)},initExportLocalFiles:function(e){e=e||[],_.isEmpty(e)||this.startExportPDF(e)},checkPreselectedFiles:function(){var t=e.appApi.selectionApi.getSelectedItemModels(),i={};_.each(t,function(e,t){i[t]=_.extend({},e.attributes)},this),this.exportFromUploaded(i),e.appApi.selectionApi.setSelectedItemModels({})},handleDrop:function(e,t){this.startExportPDF(t.files)},toolName:function(){return p.toolNames.EXPORT},pluginName:function(){return p.pluginNames.EXPORT},getSiteCatalystName:function(){return p.scNames.EXPORT_RHP},getBaseNotificationData:function(){return{notificationHeading:o.EXPORT_STATUS_TITLE,siteCatalystName:this.getSiteCatalystName()}},isRunningInRHP:function(){return!0},render:function(){return $("#export_tool").length>0?this:(this.startExportPDFDialog([]),this.getActiveFile().done(_.bind(function(t){if(t){console.debug(t),this.activeFile=t;var i=this.validateInputFiles([this.activeFile],["pdf"],["application/pdf"],this.exportPDFDialog,!1);i.length&&(i[0].get("assetId")?e.appApi.rnaApi.done(_.bind(function(e){this._isDirty(i[0],e).then(_.bind(function(){this.exportFromUploaded(i)},this),_.bind(function(){this.initExportLocalFiles(i,!1)},this))},this)):this.initExportLocalFiles(i,!1))}},this)),this)},clear:function(){this.exportPDFDialog,this.preview&&(this.preview.clear(),delete this.preview)},startExportPDF:function(e){var i=[];0!==e.length&&(_.each(e,function(e){var o,a=null,r=null,n=null;r=decodeURIComponent(e.get("name")),a=e.get("size"),n=e.get("ext"),r&&(o=new s({ets:new l(this.analyticsName()),file:e,fileSize:a,fileName:t.basename(r),fileExtn:n,uploadType:"unmanaged",mimeType:"application/pdf"})),i.push(o)},this),i.length&&this.startExportPDFDialog(i))},exportFromUploaded:function(t){var i,o=[];t&&!_.isEmpty(t)&&(_.each(t,_.bind(function(t,a){i=new s(e.appApi.rnaApi?{ets:new l(this.analyticsName()),fileSize:t.get("size"),fileName:decodeURIComponent(t.get("name")),convertPDFassetId:t.get("assetId"),actions:[s.ACTIONS.CONVERT],fileObj:t}:{ets:new l(this.analyticsName()),fileSize:t.size,fileName:t.name,convertPDFassetId:a,actions:[s.ACTIONS.CONVERT]}),o.push(i)},this)),o.length&&this.startExportPDFDialog(o))},_isDirty:function(e,t){return t.rnaServicesAPI.isDirtyApi(e._proxy).then(_.bind(function(e){return e?$.Deferred().reject().promise():$.Deferred().resolve().promise()},this),_.bind(function(){return $.Deferred().reject().promise()},this))},startExportPDFDialog:function(e){if(this.exportPDFDialog)return this.exportPDFDialog.addJobs(e),void this.exportPDFDialog.render();var t=new n;this.exportPDFDialog=new a({allJobs:e,exportPDFModel:t,onExportPDF:_.bindex(this.onExportPDFConvert,this),appName:"Export"}),this.exportPDFDialog.render()},validateJob:function(e){var t=$.Deferred(),i=e.get("file");if(i){var o=this.validateInputFiles([i],["pdf"],["application/pdf"],this.exportPDFDialog);0===o.length&&t.reject(),g(o).then(_.bindex(function(i,o){if(0===o.length)t.resolve(e);else{var a=new s,r=[],n=o[0].errorCode;_.each(o,function(e){r.push(decodeURIComponent(e.file.get("name")))}),a.set({errorCode:n,operation:this.toolName(),emptyFiles:r,errorFiles:r,tooLargeFiles:r,unsupportedFiles:r,unknownFiles:r}),a.fail(n,null,!0,this.exportPDFDialog),t.reject()}},this),_.bindex(function(){t.resolve(e)},this))}else t.resolve(e);return t.promise()},_startEPDFWorkflow:function(t){e.appApi.rnaApi.done(function(e){e.logPerformance("ExportPDF","start")}),e.appApi.displayApi.showSpinner(!0),$(".rhp.aic-tool-overlay").removeClass("hide"),m(t).then(_.bindex(function(){e.appApi.displayApi.showSpinner(!1),$(".rhp.aic-tool-overlay").addClass("hide"),this.clearEPDFWorkflowState()},this),_.bindex(function(t){switch(e.appApi.displayApi.showSpinner(!1),$(".rhp.aic-tool-overlay").addClass("hide"),t.errorCode){case 0:var i=[h.TOOLS,this.getSiteCatalystName(),h.OPTION_DLG,h.UPSELL_STARTED];e.appApi.siteCatalystApi.logScEvent(i),e.appApi.rnaApi.done(_.bind(function(e){e.rnaServicesAPI.checkAndPromptSCATransitionInProgress().then(_.bind(function(){},this),_.bind(function(){this.exportPDFDialog._showSignupIPM()},this))},this));break;case 1:this.exportPDFDialog.showError(o.UNKNOWN_ERROR_TITLE,o.UNKNOWN_ERROR_BODY);break;case 2:break;case 3:this.exportPDFDialog.showError(o.UNKNOWN_ERROR_TITLE,o.UNKNOWN_ERROR_BODY);break;case 4:this.exportPDFDialog.showError(o.ENTERPRISE_USERS_ACCESS_ERROR,"");break;case 5:this.exportPDFDialog.showError(o.UNKNOWN_ERROR_TITLE,o.UNKNOWN_ERROR_BODY);break;case 6:this.exportPDFDialog.showError(o.ENTERPRISE_USERS_ACCESS_ERROR,"");break;case 7:this.exportPDFDialog.showError(o.EPDF_ERR_CONVERSION_FAIL_PPTX,"");var a=o.READER_PPTX_EXPORT_UPSELL_URL_RHP;e.ConvertPDFExperiment?a=o.READER_PPTX_CONVERT_UPSELL_URL_RHP:e.ExportPDFRenameExperiment&&(a=o.READER_PPTX_RENAME_EPDF_UPSELL_URL_RHP),e.appApi.rnaApi.done(_.bind(function(e){e.openDecoratedUrl(a)},this));break;case 8:this.exportPDFDialog.showError(o.ENCRYPTION_KEY_DISABLED_ERROR,"");break;case 9:this.exportPDFDialog.showError(o.EPDF_ERR_CONVERSION_FAIL_IMAGE,"");var a=o.READER_EPDF_IMAGE_SIGNUP_URL;e.ConvertPDFExperiment?a=o.READER_CCPDF_OTHER_SIGNUP_URL_RHP:e.ExportPDFRenameExperiment&&(a=o.READER_RENAME_EPDF_OTHER_SIGNUP_URL_RHP),e.appApi.rnaApi.done(_.bind(function(e){e.openDecoratedUrl(a)},this))}},this))},onExportPDFConvert:function(e){this.validateJob(e[0]).then(_.bindex(function(e){this._startEPDFWorkflow([e])},this),_.bindex(function(){this.clearEPDFWorkflowState()},this))},clearEPDFWorkflowState:function(){this.exportPDFDialog.clearState()},onButtonKeyDown:function(e){var t,i,o=e.which;(13===o||32===o)&&(t=e.currentTarget.parentNode,i=$.Event("click"),i.currentTarget=t,"convert_pdf"===t.id?this.cpdfInput.trigger(i):"combine_pdf"===t.id?this.onCombinePDFClick(i):"export_pdf"===t.id?this.$epdfInput.trigger(i):"print_pdf"===t.id&&this.onIPPSetupClick(e))},getUIStringsFormatNameTag:function(e){var t;switch(e){case"rtf":t="EPDF_FORMAT_RICH_TEXT_FORMAT";break;case"pptx":t="EPDF_FORMAT_MICROSOFT_POWERPOINT";break;case"xlsx":t="EPDF_FORMAT_MICROSOFT_EXCEL";break;default:t="EPDF_FORMAT_MICROSOFT_WORD"}return t},analyticsName:function(){return p.scNames.EXPORT}},{instance:void 0,getInstance:function(){return E.instance||(E.instance=new E),E.instance}});return E}),define("aictools/plugins/rhp/exportpdf-rna-tool-view",["aictools/aic","aictools/util/util","aictools/plugins/tool-view","aictools/views/tool-upsell-exportpdf-view","aictools/models/users-me-model","aictools/views/rhp/export-pdf-tool","aictools/models/exportpdf-model","aictools/plugins/plugin-central","aictools/analytics/analytics","aictools/models/ui/subscriptions/tools-ipms-ui-model","aictools/ops/ipm/ipm-view-factory","aictools/util/strings","aictools/views/acrobat-sign-up"],function(e,t,i,o,a,r,s,n,l,c,d,p){return e.ExportPDF=e.ExportPDF||{},e.ExportPDF.getTool=function(){return e.ExportPDF.generateStatus=!0,r.getInstance()},e.ExportPDF.ToolView=i.extend({initialize:function(){i.prototype.initialize.call(this)},plugin:e.ExportPDF,render:function(){return n.init().then(_.bindex(function(){this.$el.addClass("aic-exportpdf"),this.$el.addClass(l.ANALYTICS_CLASS),this.tool||(i.prototype.render.call(this),this.tool=e.ExportPDF.getTool()),e.currentTool=this.tool,this.$el.is(":empty")&&!this.plugin.$ipmEl?(this.tool.setElement(this.$el),this.tool.render(),this.isIPMToolView()||this.setFileDropHandler()):this.plugin.$ipmEl&&this.$el.append(this.plugin.$ipmEl),e.appApi.rnaApi.done(_.bindex(function(e){if(e.rnaServicesAPI.isSelectionExportExperimentEnabled()===!0){var t,i={};return t=e.isSignedInReader()?35:1,i.appName="EPDFApp",i.margin_bottom=t,i.margin_left=15,e.rnaServicesAPI.invokeMethod({methodName:"ExperimentDetails",methodArgs:i})}},this))},this))},getSiteCatalystName:function(){return p.scNames.EXPORT_RHP},selectPlugin:function(){return i.prototype.selectPlugin.call(this),this.render().then(_.bindex(function(){var t=e.ExportPDF.getTool();t.checkPreselectedFiles&&t.checkPreselectedFiles(),e.appApi.displayApi.applyUIThemeStyles(this.$el).then(_.bind(function(){this.render()},this))},this))},setAppApi:function(e){i.prototype.setAppApi.call(this,e).then(_.bindex(function(){},this))},getRoutes:function(){return[{route:"exportpdf"}]}},{reset:function(){new s}}),e.ExportPDF.ToolView});