Mini Kabibi Habibi

Current Path : C:/Program Files/Adobe/Adobe Creative Cloud/Components/OneUp/resources/bundle/
Upload File :
Current File : C:/Program Files/Adobe/Adobe Creative Cloud/Components/OneUp/resources/bundle/dc-view-sdk.js

window.adobe_dc_sdk=window.adobe_dc_sdk||{},window.adobe_dc_sdk["dc-view-sdk"]=function(e){var t={};function __webpack_require__(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,__webpack_require__),i.l=!0,i.exports}return __webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,n){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(__webpack_require__.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)__webpack_require__.d(n,i,function(t){return e[t]}.bind(null,i));return n},__webpack_require__.n=function(e){var t=e&&e.__esModule?function getDefault(){return e.default}:function getModuleExports(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s="OdjL")}({"+4eC":function(e,t,n){"use strict";var i=n("q1tI");e.exports=i.createElement("svg",{viewBox:"0 0 48 48"},i.createElement("path",{d:"M47 22H11.029L26.121 6.908a1 1 0 0 0 0-1.414L24.707 4.08a1 1 0 0 0-1.414 0L4.08 23.293a1 1 0 0 0 0 1.414L23.293 43.92a1 1 0 0 0 1.414 0l1.414-1.414a1 1 0 0 0 0-1.414L11.029 26H47a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1z"}))},"+94T":function(e){e.exports=JSON.parse('{"ADOBE_ACROBAT":"Adobe Acrobat","POWERED_BY":"Powered by<br>{brandingTitle}","HELP_LABEL":"Obter ajuda","GOTO_FULLSCREEN_LABEL":"Modo Tela cheia","EXIT_FULLSCREEN_LABEL":"Sair da Tela cheia","LEGAL_NOTICES":"Avisos legais","RETURN":"Retornar","button.save":"Salvar","file.metadata.readonly":"Somente leitura","file.metadata.protected":"Protegido","file.progress.status.failed":"Falha","file.progress.status.saved":"Salvo","file.progress.status.saving":"Salvando...","file.progress.status.edited":"Editado","file.progress.status.unsaved":"Não foi salvo...","dialog.new.file.title":"Nova versão disponível","dialog.new.file.confirmLabel":"Obter versão mais recente","dialog.new.file.content":"O arquivo que você está visualizando não é o mais recente, e foi modificado por outro usuário, {name} ({mail}).","dialog.new.file.self.content":"O arquivo que você está visualizando não é o mais recente e foi modificado por você.","dialog.conflict.file.title":"Conflito de salvamento","dialog.conflict.file.confirmLabel":"Descartar minhas alterações","dialog.conflict.file.cancelLabel":"Salvar uma cópia","dialog.conflict.file.content":"Suas alterações estão em conflito com as alterações feitas ao mesmo tempo por outro usuário, {name} ({mail}).","dialog.conflict.file.self.content":"Suas alterações estão em conflito com outras alterações feitas ao mesmo tempo por você.","dialog.unsaved.title":"Você possui alterações não salvas","dialog.unsaved.message":"Para salvar todas as edições no arquivo original, clique em Salvar.","dialog.unsaved.confirmLabel":"Salvar","dialog.unsaved.cancelLabel":"Cancelar","file.readonly.tooltip":"O proprietário deste documento não forneceu acesso para você fazer alterações.","FILE_LOADING":"Abrindo documento","RELOAD_APP":"Recarregar","FILE_PREVIEW_ERROR_TITLE":"Erro de visualização de arquivo","FILE_PREVIEW_ERROR_MSG":"Visualização de arquivo indisponível, recarregue para tentar novamente.","error.default":"Ocorreu um problema ao processar sua solicitação.","error.contact.support":" Se o erro persistir, <a href={supportUrl} target=\\"_blank\\"> entre em contato com o suporte técnico </a> e faça referência à sessão <span>{jobId}</span>.","ok":"OK","close":"Fechar","download":"Baixar","error":"Erro","viewMode.single":"Página simples","viewMode.continuous":"Contínuo","toast.conflict.content":"Uma nova versão do documento com suas alterações foi salva na sua conta <a href={url} target=\\"_blank\\">{integrationName}</a>.","toast.success.content":"Um novo documento com suas alterações foi salvo na sua conta <a href={url} target=\\"_blank\\">{integrationName}</a>.","edit.header.title":"Editar texto e imagens","portfolio.pdf.message":"Este arquivo não pode ser visualizado porque é um PDF de portfólio.","tools.inactive.label":"Essa ferramenta estará disponível em breve"}')},"+G8b":function(e){e.exports=JSON.parse('{"ADOBE_ACROBAT":"Adobe Acrobat","POWERED_BY":"Powered by<br>{brandingTitle}","HELP_LABEL":"Získat nápovědu","GOTO_FULLSCREEN_LABEL":"Režim na celou obrazovku","EXIT_FULLSCREEN_LABEL":"Ukončit režim celé obrazovky","LEGAL_NOTICES":"Právní upozornění","RETURN":"Vrátit","button.save":"Uložit","file.metadata.readonly":"Pouze ke čtení","file.metadata.protected":"Chráněný","file.progress.status.failed":"Selhalo","file.progress.status.saved":"Uloženo","file.progress.status.saving":"Probíhá ukládání...","file.progress.status.edited":"Upraveno","file.progress.status.unsaved":"Neuloženo...","dialog.new.file.title":"Je k dispozici nová verze","dialog.new.file.confirmLabel":"Získat aktuální verzi","dialog.new.file.content":"Soubor, který prohlížíte, není nejnovější a je upraven jiným uživatelem, {name} ({mail}).","dialog.new.file.self.content":"Soubor, který prohlížíte, není nejnovější a je upraven vámi.","dialog.conflict.file.title":"Uložit konflikt","dialog.conflict.file.confirmLabel":"Zahodit změny","dialog.conflict.file.cancelLabel":"Uložit kopii","dialog.conflict.file.content":"Změny jsou v konfliktu se změnami, které souběžně provedl jiný uživatel, {name} ({mail}).","dialog.conflict.file.self.content":"Změny jsou v konfliktu se změnami, které jste provedli souběžně.","dialog.unsaved.title":"Máte neuložené změny","dialog.unsaved.message":"Chcete-li uložit všechny úpravy do původního souboru, klikněte na Uložit.","dialog.unsaved.confirmLabel":"Uložit","dialog.unsaved.cancelLabel":"Zrušit","file.readonly.tooltip":"Vlastník tohoto dokumentu vám neposkytl přístup k provádění změn.","FILE_LOADING":"Otevírání dokumentu","RELOAD_APP":"Načíst znovu","FILE_PREVIEW_ERROR_TITLE":"Chyba náhledu souboru","FILE_PREVIEW_ERROR_MSG":"Náhled souboru není k dispozici, načtěte jej znovu a zkuste to znovu.","error.default":"Při zpracování vašeho požadavku došlo k problému.","error.contact.support":" Pokud se budete i nadále setkávat s touto chybou, zvažte <a href={supportUrl} target=\\"_blank\\">kontaktování podpory</a> a odkázání na relaci <span>{jobId}</span>.","ok":"OK","close":"Zavřít","download":"Stáhnout","error":"Chyba","viewMode.single":"Jedna stránka","viewMode.continuous":"Souvisle","toast.conflict.content":"Nová verze dokumentu se změnami je uložena ve vašem účtu <a href={url} target=\\"_blank\\">{integrationName}</a>.","toast.success.content":"Nový dokument se změnami je uložen ve vašem účtu <a href={url} target=\\"_blank\\">{integrationName}</a>.","edit.header.title":"Upravit text a obrázky","portfolio.pdf.message":"Nelze zobrazit náhled souboru, protože jde o portfolio PDF.","tools.inactive.label":"Tento nástroj bude brzy k dispozici"}')},"+lnk":function(e,t,n){e.exports=n("hrl5")("o4sN")},"/9Fw":function(e,t,n){e.exports=n("1Xvy")("J2Bx")},"/S+G":function(e){e.exports=JSON.parse('{"Breadcrumbs":"Навігаційна стежка"}')},"/eRL":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o=_interopRequireDefault(n("zmrQ")),r=_interopRequireDefault(n("q1tI"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=function WrappedIcon(e){return r.default.createElement(o.default,i({},e,{icon:{18:n("Zv48"),24:n("VM37")}}))};a.displayName="Help",t.default=a},"/iLU":function(e,t,n){var i=n("LboF"),o=n("QDXX");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},"/kCl":function(e,t,n){var i=n("LboF"),o=n("kRmR");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},"/p8F":function(e){e.exports=JSON.parse('{"ADOBE_ACROBAT":"Adobe Acrobat","POWERED_BY":"Powered by<br>{brandingTitle}","HELP_LABEL":"Få hjelp","GOTO_FULLSCREEN_LABEL":"Fullskjermmodus","EXIT_FULLSCREEN_LABEL":"Avslutt fullskjerm","LEGAL_NOTICES":"Juridiske merknader","RETURN":"Gå tilbake","button.save":"Lagre","file.metadata.readonly":"Skrivebeskyttet","file.metadata.protected":"Beskyttet","file.progress.status.failed":"Mislykket","file.progress.status.saved":"Lagret","file.progress.status.saving":"Lagrer...","file.progress.status.edited":"Redigert","file.progress.status.unsaved":"Ikke lagret ...","dialog.new.file.title":"Ny versjon tilgjengelig","dialog.new.file.confirmLabel":"Hent nyeste versjon","dialog.new.file.content":"Filen du viser, er ikke den nyeste, og den er endret av en annen bruker, {name} ({mail}).","dialog.new.file.self.content":"Filen du viser, er ikke den nyeste, og den er endret av deg.","dialog.conflict.file.title":"Lagre konflikt","dialog.conflict.file.confirmLabel":"Forkast endringene","dialog.conflict.file.cancelLabel":"Lagre en kopi","dialog.conflict.file.content":"Endringene dine er i konflikt med dem som ble gjort samtidig av en annen bruker, {name} ({mail}).","dialog.conflict.file.self.content":"Endringene dine er i konflikt med dem som ble gjort samtidig av deg.","dialog.unsaved.title":"Du har endringer som ikke er lagret.","dialog.unsaved.message":"Klikk på Lagre for å lagre alle endringer i den opprinnelige filen.","dialog.unsaved.confirmLabel":"Lagre","dialog.unsaved.cancelLabel":"Avbryt","file.readonly.tooltip":"Eieren av dette dokumentet har ikke gitt deg tilgang til å gjøre endringer.","FILE_LOADING":"Åpner dokument","RELOAD_APP":"Last inn på nytt","FILE_PREVIEW_ERROR_TITLE":"Filforhåndsvisningsfeil","FILE_PREVIEW_ERROR_MSG":"Filforhåndsvisning er ikke tilgjengelig. Last inn på nytt for å prøve igjen.","error.default":"Det er problem med behandling av forespørselen din.","error.contact.support":" Hvis denne feilen vedvarer, bør du vurdere å <a href={supportUrl} target=\\"_blank\\"> kontakte kundestøtte </a> og referere til økt <span>{jobId}</span>.","ok":"OK","close":"Lukk","download":"Last ned","error":"Feil","viewMode.single":"Enkeltside","viewMode.continuous":"Kontinuerlig","toast.conflict.content":"En ny versjon av dokumentet med endringene dine er lagret til <a href={url} target=\\"_blank\\">{integrationName}</a>-kontoen.","toast.success.content":"Et nytt dokument med endringene dine er lagret til <a href={url} target=\\"_blank\\">{integrationName}</a>-kontoen.","edit.header.title":"Rediger tekst og bilder","portfolio.pdf.message":"Denne filen kan ikke forhåndsvises fordi den er portefølje-PDF.","tools.inactive.label":"Dette verktøyet blir snart tilgjengelig"}')},"0//s":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},"00an":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(0,i.default)(e,t)};var i=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n("hkha"))},"0NxL":function(e,t,n){var i=n("LboF"),o=n("kBqU");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},"0hsb":function(e,t,n){e.exports=n("hrl5")("yXTc")},1035:function(e,t,n){e.exports=n("hrl5")("ODs0")},"14U+":function(e,t,n){e.exports=n("hrl5")("QB8y")},"162E":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=_interopRequireDefault(n("zmrQ")),o=_interopRequireDefault(n("q1tI"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var r=function WrappedIcon(e){return o.default.createElement(i.default,e,o.default.createElement("svg",{className:"spectrum-UIIcon-ChevronRightSmall"},o.default.createElement("path",{d:"M5.5 4a.749.749 0 0 0-.22-.531C4.7 2.863 3.242 1.5 2.041.23A.75.75 0 1 0 .98 1.291L3.689 4 .98 6.709A.75.75 0 1 0 2.041 7.77L5.28 4.531A.749.749 0 0 0 5.5 4z",className:"spectrum-UIIcon--medium"}),o.default.createElement("path",{d:"M7 5a.749.749 0 0 0-.22-.531L2.541.23A.75.75 0 1 0 1.48 1.291L5.189 5 1.48 8.709A.75.75 0 1 0 2.541 9.77L6.78 5.531A.749.749 0 0 0 7 5z",className:"spectrum-UIIcon--large"})))};r.displayName="ChevronRightSmall",t.default=r},"17x9":function(e,t,n){e.exports=n("hrl5")("KSGD")},"1XT4":function(e){e.exports=JSON.parse('{"Breadcrumbs":"Sökvägar"}')},"1Xvy":function(e,t){e.exports=window.adobe_dc_sdk["dc-extras"]},"1ot/":function(e,t,n){e.exports=n("1Xvy")("MG6g")},"22ZZ":function(e,t,n){e.exports=n("hrl5")("zr8v")},"2TKg":function(e){e.exports=JSON.parse('{"Breadcrumbs":"導覽列"}')},"2bPg":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},"2vnA":function(e,t,n){e.exports=n("org7")("y986")},"338m":function(e,t,n){"use strict";var i=n("q1tI");e.exports=i.createElement("svg",{viewBox:"0 0 36 36"},i.createElement("path",{d:"M24.514 2a.5.5 0 0 0-.353.854l3.181 3.174-6.988 6.988a.5.5 0 0 0 0 .707l1.923 1.923a.5.5 0 0 0 .707 0l6.991-6.991 3.172 3.166a.5.5 0 0 0 .853-.354V2zM11.486 34a.5.5 0 0 0 .353-.854l-3.181-3.174 6.988-6.988a.5.5 0 0 0 0-.707l-1.923-1.923a.5.5 0 0 0-.707 0l-6.991 6.99-3.171-3.165a.5.5 0 0 0-.854.354V34z"}))},"3BAL":function(e,t,n){e.exports=n("hrl5")("daoM")},"42jw":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},4588:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}},"4moz":function(e){e.exports=JSON.parse('{"Breadcrumbs":"Breadcrumb"}')},"4odN":function(e){e.exports=JSON.parse('{"ADOBE_ACROBAT":"Adobe Acrobat","POWERED_BY":"Powered by<br>{brandingTitle}","HELP_LABEL":"Obtenir de l\'aide","GOTO_FULLSCREEN_LABEL":"Mode plein écran","EXIT_FULLSCREEN_LABEL":"Quitter le mode plein écran","LEGAL_NOTICES":"Informations juridiques","RETURN":"Retour","button.save":"Enregistrer","file.metadata.readonly":"Lecture seule","file.metadata.protected":"Protégé","file.progress.status.failed":"Échec","file.progress.status.saved":"Enregistré","file.progress.status.saving":"Enregistrement...","file.progress.status.edited":"Modifié","file.progress.status.unsaved":"Non sauvegardé...","dialog.new.file.title":"Nouvelle version disponible","dialog.new.file.confirmLabel":"Obtenir la dernière version","dialog.new.file.content":"Le fichier que vous consultez n\'est pas le plus récent et a été modifié par un autre utilisateur : {name} ({mail}).","dialog.new.file.self.content":"Le fichier que vous consultez n\'est pas le plus récent et a été modifié par vous-même.","dialog.conflict.file.title":"Enregistrer le conflit","dialog.conflict.file.confirmLabel":"Abandonner mes modifications","dialog.conflict.file.cancelLabel":"Enregistrer une copie","dialog.conflict.file.content":"Vos modifications entrent en conflit avec celles qu\'un autre utilisateur, {name} ({mail}), est en train d\'effectuer.","dialog.conflict.file.self.content":"Vos modifications entrent en conflit avec celles que vous avez effectuées simultanément.","dialog.unsaved.title":"Vous avez des modifications non enregistrées.","dialog.unsaved.message":"Pour enregistrer toutes les modifications dans le fichier d\'origine, cliquez sur Enregistrer.","dialog.unsaved.confirmLabel":"Enregistrer","dialog.unsaved.cancelLabel":"Annuler","file.readonly.tooltip":"Le propriétaire de ce document ne vous a pas autorisé à le modifier.","FILE_LOADING":"Ouverture du document","RELOAD_APP":"Recharger","FILE_PREVIEW_ERROR_TITLE":"Erreur d\'aperçu du fichier","FILE_PREVIEW_ERROR_MSG":"Aperçu du fichier non disponible, veuillez le recharger et réessayer.","error.default":"Un problème est survenu lors du traitement de votre demande.","error.contact.support":" Si vous rencontrez toujours cette erreur, <a href={supportUrl} target=\\"_blank\\"> contactez l\'assistance </a> et référencez la session <span>{jobId}</span>.","ok":"OK","close":"Fermer","download":"Télécharger","error":"Erreur","viewMode.single":"Une seule page","viewMode.continuous":"Continu","toast.conflict.content":"Une nouvelle version du document contenant vos modifications est enregistrée sous votre compte <a href={url} target=\\"_blank\\">{integrationName}</a>.","toast.success.content":"Un nouveau document contenant vos modifications est enregistré sous votre compte <a href={url} target=\\"_blank\\">{integrationName}</a>.","edit.header.title":"Modifier le texte et les images","portfolio.pdf.message":"Impossible de prévisualiser ce fichier, car il s’agit d’un PDF portfolio.","tools.inactive.label":"Cet outil sera bientôt disponible"}')},"5imG":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o=_interopRequireDefault(n("zmrQ")),r=_interopRequireDefault(n("q1tI"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=function WrappedIcon(e){return r.default.createElement(o.default,i({},e,{icon:{18:n("fOci"),24:n("+4eC")}}))};a.displayName="BackAndroid",t.default=a},"5lmq":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _arrayWithoutHoles(e){if(Array.isArray(e))return(0,i.default)(e)};var i=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n("4588"))},"5mfL":function(e,t,n){"use strict";var i=n("q1tI");e.exports=i.createElement("svg",{viewBox:"0 0 36 36"},i.createElement("path",{d:"M6.513 20a.5.5 0 0 0-.353.854l3.182 3.175-6.988 6.987a.5.5 0 0 0 0 .707l1.923 1.923a.5.5 0 0 0 .707 0l6.991-6.991 3.172 3.166a.5.5 0 0 0 .853-.354V20zm22.974-4a.5.5 0 0 0 .353-.854l-3.182-3.175 6.988-6.988a.5.5 0 0 0 0-.707l-1.922-1.922a.5.5 0 0 0-.707 0l-6.992 6.99-3.171-3.165a.5.5 0 0 0-.854.354V16z"}))},"6lI2":function(e,t,n){(t=n("JPst")(!1)).push([e.i,"/*************************************************************************\n* ADOBE CONFIDENTIAL\n* ___________________\n*\n*  Copyright 2020 Adobe\n*  All Rights Reserved.\n*\n* NOTICE:  All information contained herein is, and remains\n* the property of Adobe and its suppliers, if any. The intellectual\n* and technical concepts contained herein are proprietary to Adobe\n* and its suppliers and are protected by all applicable intellectual\n* property laws, including trade secret and copyright laws.\n* Dissemination of this information or reproduction of this material\n* is strictly forbidden unless prior written permission is obtained\n* from Adobe.\n**************************************************************************/\n\n.sdk-FullScreenIcon-fullScreenActionTopBar {\n    border-left: 1px solid #d6d6d6;\n    margin: 0 4px 0 -5px;\n    padding-left: 5px;\n}\n\n.sdk-FullScreenIcon-fullScreenActionHUD {\n    margin: 0;\n}\n\n.sdk-FullScreenIcon-fullScreenActionHUD button svg path {\n    fill: #fff;\n}\n",""]),e.exports=t},"6ynM":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o=_interopRequireDefault(n("zmrQ")),r=_interopRequireDefault(n("q1tI"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=function WrappedIcon(e){return r.default.createElement(o.default,i({},e,{icon:{18:n("uXqa"),24:n("m841")}}))};a.displayName="AdobeLogo",t.default=a},"7G4m":function(e,t,n){e.exports=n("jGWr")},"7W2i":function(e,t,n){e.exports=n("hrl5")("j/rp")},"87yn":function(e,t,n){var i=n("LboF"),o=n("ja9V");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},"8OmK":function(e,t,n){var i=n("LboF"),o=n("Jt7u");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},"8uYz":function(e,t,n){e.exports=n("hrl5")("Vwee")},"9JFU":function(e,t,n){"use strict";var i=n("q1tI");e.exports=i.createElement("svg",{viewBox:"0 0 48 48"},i.createElement("path",{d:"M31.352 4a.667.667 0 0 0-.471 1.139l4.242 4.233-9.323 9.316a.667.667 0 0 0 0 .943l2.568 2.569a.667.667 0 0 0 .943 0l9.322-9.321 4.229 4.221A.667.667 0 0 0 44 16.623V4zM16.648 44a.667.667 0 0 0 .471-1.139l-4.242-4.233 9.323-9.316a.667.667 0 0 0 0-.943L19.632 25.8a.667.667 0 0 0-.943 0l-9.322 9.326L5.138 30.9A.667.667 0 0 0 4 31.377V44z"}))},"9PP+":function(e){e.exports=JSON.parse('{"Breadcrumbs":"Navigasjonsstier"}')},"9b8k":function(e){e.exports=JSON.parse('{"ADOBE_ACROBAT":"Adobe Acrobat","POWERED_BY":"Powered by<br>{brandingTitle}","HELP_LABEL":"Get Help","GOTO_FULLSCREEN_LABEL":"Fullscreen Mode","EXIT_FULLSCREEN_LABEL":"Exit Fullscreen","LEGAL_NOTICES":"Legal Notices","RETURN":"Return","button.save":"Save","file.metadata.readonly":"Read Only","file.metadata.protected":"Protected","file.progress.status.failed":"Failed","file.progress.status.saved":"Saved","file.progress.status.saving":"Saving...","file.progress.status.edited":"Edited","file.progress.status.unsaved":"Unsaved...","dialog.new.file.title":"New Version Available","dialog.new.file.confirmLabel":"Get Latest Version","dialog.new.file.content":"The file you are viewing is not latest and is modified by another user, {name} ({mail}).","dialog.new.file.self.content":"The file you are viewing is not latest and is modified by you.","dialog.conflict.file.title":"Save Conflict","dialog.conflict.file.confirmLabel":"Discard my changes","dialog.conflict.file.cancelLabel":"Save a copy","dialog.conflict.file.content":"Your changes conflict with those made concurrently by another user, {name} ({mail}).","dialog.conflict.file.self.content":"Your changes conflict with those made concurrently by you.","dialog.unsaved.title":"You have unsaved changes","dialog.unsaved.message":"To save all edits into the original file, click Save.","dialog.unsaved.confirmLabel":"Save","dialog.unsaved.cancelLabel":"Cancel","file.readonly.tooltip":"The owner of this document has not provided you with access to make changes.","FILE_LOADING":"Opening Document","RELOAD_APP":"Reload","FILE_PREVIEW_ERROR_TITLE":"File preview error","FILE_PREVIEW_ERROR_MSG":"File preview not available, please reload to try again.","error.default":"There\'s some problem while processing your request.","error.contact.support":" If you continue to encounter this error, please consider <a href={supportUrl} target=\\"_blank\\"> contacting support </a> and referencing session <span>{jobId}</span>.","ok":"OK","close":"Close","download":"Download","error":"Error","viewMode.single":"Single page","viewMode.continuous":"Continuous","toast.conflict.content":"A new version of the document with your changes is saved in your <a href={url} target=\\"_blank\\">{integrationName}</a> account.","toast.success.content":"A new document with your changes is saved in your <a href={url} target=\\"_blank\\">{integrationName}</a> account.","edit.header.title":"Edit text & images","portfolio.pdf.message":"This file can\'t be previewed because it\'s portfolio PDF.","tools.inactive.label":"This tool will be available shortly"}')},"A/Ql":function(e){e.exports=JSON.parse('{"ADOBE_ACROBAT":"Adobe Acrobat","POWERED_BY":"Powered by<br>{brandingTitle}","HELP_LABEL":"Get Help","GOTO_FULLSCREEN_LABEL":"Fullscreen Mode","EXIT_FULLSCREEN_LABEL":"Exit Fullscreen","LEGAL_NOTICES":"Legal Notices","RETURN":"Return","button.save":"Save","file.metadata.readonly":"Read Only","file.metadata.protected":"Protected","file.progress.status.failed":"Failed","file.progress.status.saved":"Saved","file.progress.status.saving":"Saving...","file.progress.status.edited":"Edited","file.progress.status.unsaved":"Unsaved...","dialog.new.file.title":"New Version Available","dialog.new.file.confirmLabel":"Get Latest Version","dialog.new.file.content":"The file you are viewing is not latest and is modified by another user, {name} ({mail}).","dialog.new.file.self.content":"The file you are viewing is not latest and is modified by you.","dialog.conflict.file.title":"Save Conflict","dialog.conflict.file.confirmLabel":"Discard my changes","dialog.conflict.file.cancelLabel":"Save a copy","dialog.conflict.file.content":"Your changes conflict with those made concurrently by another user, {name} ({mail}).","dialog.conflict.file.self.content":"Your changes conflict with those made concurrently by you.","dialog.unsaved.title":"You have unsaved changes","dialog.unsaved.message":"To save all edits into the original file, click Save.","dialog.unsaved.confirmLabel":"Save","dialog.unsaved.cancelLabel":"Cancel","file.readonly.tooltip":"The owner of this document has not provided you access to make changes.","FILE_LOADING":"Opening Document","RELOAD_APP":"Reload","FILE_PREVIEW_ERROR_TITLE":"File preview error","FILE_PREVIEW_ERROR_MSG":"File preview not available, please reload to try again.","error.default":"There\'s some problem while processing your request.","error.contact.support":" If you continue to encounter this error, please consider <a href={supportUrl} target=\\"_blank\\"> contacting support </a> and referencing session <span>{jobId}</span>.","ok":"OK","close":"Close","download":"Download","error":"Error","viewMode.single":"Single page","viewMode.continuous":"Continuous","toast.conflict.content":"A new version of the document with your changes is saved in your <a href={url} target=\\"_blank\\">{integrationName}</a> account.","toast.success.content":"A new document with your changes is saved in your <a href={url} target=\\"_blank\\">{integrationName}</a> account.","edit.header.title":"Edit text & images","portfolio.pdf.message":"This file can\'t be previewed because it\'s portfolio PDF.","tools.inactive.label":"This tool will be available shortly"}')},A8ul:function(e,t,n){var i=n("LboF"),o=n("A9qx");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},A9qx:function(e,t,n){(t=n("JPst")(!1)).push([e.i,"/*************************************************************************\n* ADOBE CONFIDENTIAL\n* ___________________\n*\n*  Copyright 2019 Adobe\n*  All Rights Reserved.\n*\n* NOTICE:  All information contained herein is, and remains\n* the property of Adobe and its suppliers, if any. The intellectual\n* and technical concepts contained herein are proprietary to Adobe\n* and its suppliers and are protected by all applicable intellectual\n* property laws, including trade secret and copyright laws.\n* Dissemination of this information or reproduction of this material\n* is strictly forbidden unless prior written permission is obtained\n* from Adobe.\n**************************************************************************/\n:root {\n    --header-height: 47px;\n}\n\n.sdk-HeaderView-headerForSizedContainer {\n    opacity: 0;\n    position: absolute !important;\n    transition: opacity 1.5s ease;\n}\n\n.sdk-HeaderView-headerForSizedContainerWithSearch {\n    opacity: 1;\n    position: absolute !important;\n}\n\n.sdk-HeaderView-header {\n    align-items: center;\n    background-color: #f5f5f5;\n    border-bottom: solid 1px rgba(0, 0, 0, 0.08);\n    box-sizing: border-box;\n    display: flex;\n    height: var(--header-height);\n    max-height: var(--header-height);\n    outline: 0;\n    padding: 0 0 0 12px;\n    position: relative;\n    width: 100%;\n    z-index: 1001;\n}\n\n.sdk-HeaderView-dummyDiv {\n    display: inline-flex;\n    flex-direction: row;\n    margin: 0 auto;\n}\n\n.sdk-HeaderView-branding {\n    align-items: center;\n    display: flex;\n    flex: 0 0 auto;\n    height: 100%;\n    overflow: hidden;\n}\n\n.sdk-HeaderView-centreInfo {\n    align-items: center;\n    display: flex;\n    flex: 1 1 auto;\n    height: 100%;\n    position: absolute;\n    text-align: center;\n    width: 100%;\n}\n\n.sdk-HeaderView-leftFileinfoWithBranding {\n    justify-content: left;\n    margin-left: 60px;\n    text-align: left !important;\n}\n\n.sdk-HeaderView-leftFileinfoWithBrandingAndLeftButton {\n    justify-content: left;\n    margin-left: 110px;\n    text-align: left !important;\n}\n\n.sdk-HeaderView-leftFileinfoWithoutBranding {\n    justify-content: left;\n    margin-left: 0;\n    text-align: left !important;\n}\n\n.sdk-HeaderView-sideMenuButton {\n    margin: 0 8px 0 0;\n}\n\n.sdk-HeaderView-actionButton .spectrum-Icon {\n    height: 14px;\n    margin-left: 5px;\n    width: 14px;\n}\n\nbutton {\n    padding: 0 5px;\n}\n\n.sdk-HeaderView-navSection {\n    align-items: center;\n    display: grid;\n}\n\n.sdk-HeaderView-toolsSection {\n    align-items: center;\n    display: grid;\n    margin-right: 12px;\n}\n\n@media (max-width: 550px) {\n    .sdk-HeaderView-branding {\n        flex: 1 1 auto;\n        min-width: 0;\n    }\n\n    .sdk-HeaderView-actionButton {\n        display: none !important;\n    }\n}\n\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n    .sdk-HeaderView-centreInfo {\n        position: relative !important;\n    }\n}\n\n@media (max-width: 400px) {\n    .sdk-HeaderView-leftFileinfoWithBranding {\n        margin-left: 12px !important;\n    }\n\n    .sdk-HeaderView-leftFileinfoWithBrandingAndLeftButton {\n        margin-left: 62px !important;\n    }\n}\n\n@media (min-width: 400px) and (max-width: 550px) {\n    .sdk-HeaderView-leftFileinfoWithBranding {\n        margin-left: 12px !important;\n    }\n\n    .sdk-HeaderView-leftFileinfoWithBrandingAndLeftButton {\n        margin-left: 62px !important;\n    }\n}\n\n@media (min-width: 550px) and (max-width: 768px) {\n    .sdk-HeaderView-leftFileinfoWithBranding {\n        margin-left: 12px !important;\n    }\n\n    .sdk-HeaderView-leftFileinfoWithBrandingAndLeftButton {\n        margin-left: 62px !important;\n    }\n}\n\n@media (min-width: 768px) and (max-width: 1023px) {\n    .sdk-HeaderView-leftFileinfoWithBranding {\n        margin-left: 12px !important;\n    }\n\n    .sdk-HeaderView-leftFileinfoWithBrandingAndLeftButton {\n        margin-left: 62px !important;\n    }\n}\n\n@media (min-width: 1023px) and (max-width: 1280px) {\n    .sdk-HeaderView-leftFileinfoWithBranding {\n        margin-left: 12px !important;\n    }\n\n    .sdk-HeaderView-leftFileinfoWithBrandingAndLeftButton {\n        margin-left: 62px !important;\n    }\n}\n",""]),e.exports=t},ACDX:function(e,t,n){var i=n("LboF"),o=n("gtFa");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},AJYP:function(e,t,n){e.exports=n("hrl5")("DaKT")},BRlI:function(e,t,n){"use strict";function _defineProperties(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _createClass(e,t,n){t&&_defineProperties(e.prototype,t);n&&_defineProperties(e,n);return e}},C70D:function(e,t,n){"use strict";function _typeof(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=_typeof=function _typeof(e){return typeof e}:e.exports=_typeof=function _typeof(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(t)}e.exports=_typeof},CO39:function(e,t,n){"use strict";function _typeof(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.default=_typeof=function _typeof(e){return typeof e}:t.default=_typeof=function _typeof(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=_typeof},CW1o:function(e,t,n){var i=n("LboF"),o=n("plOE");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},CrYA:function(e,t,n){e.exports=n("hrl5")("uGy5")},D3Lu:function(e,t,n){e.exports=n("hrl5")("ltMx")},D4W9:function(e){e.exports=JSON.parse('{"Breadcrumbs":"パンくずリスト"}')},DjBF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _slicedToArray(e,t){return(0,i.default)(e)||(0,o.default)(e,t)||(0,r.default)(e,t)||(0,a.default)()};var i=_interopRequireDefault(n("dOFO")),o=_interopRequireDefault(n("p7J/")),r=_interopRequireDefault(n("U2vP")),a=_interopRequireDefault(n("42jw"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},E4Qo:function(e){e.exports=JSON.parse('{"ADOBE_ACROBAT":"Adobe Acrobat","POWERED_BY":"Powered by<br>{brandingTitle}","HELP_LABEL":"Obtener ayuda","GOTO_FULLSCREEN_LABEL":"Modo de pantalla completa","EXIT_FULLSCREEN_LABEL":"Salir de la pantalla completa","LEGAL_NOTICES":"Avisos legales","RETURN":"Retorno","button.save":"Guardar","file.metadata.readonly":"Solo lectura","file.metadata.protected":"Protegido","file.progress.status.failed":"Error","file.progress.status.saved":"Guardado","file.progress.status.saving":"Guardando...","file.progress.status.edited":"Modificado","file.progress.status.unsaved":"No se ha guardado…","dialog.new.file.title":"Nueva versión disponible","dialog.new.file.confirmLabel":"Obtener la última versión","dialog.new.file.content":"El archivo que está viendo no es el último y ha sido modificado por otro usuario, {name} ({mail}).","dialog.new.file.self.content":"El archivo que está viendo no es la última versión y está modificado por usted.","dialog.conflict.file.title":"Guardar conflicto","dialog.conflict.file.confirmLabel":"Descartar mis cambios","dialog.conflict.file.cancelLabel":"Guardar una copia","dialog.conflict.file.content":"Hay cambios suyos en conflicto con los que ha realizado otro usuario, {name} ({mail}).","dialog.conflict.file.self.content":"Hay cambios en conflicto con los cambios que acaba de realizar.","dialog.unsaved.title":"Tiene cambios no guardados","dialog.unsaved.message":"Para guardar todos los cambios en el archivo original, haga clic en Guardar.","dialog.unsaved.confirmLabel":"Guardar","dialog.unsaved.cancelLabel":"Cancelar","file.readonly.tooltip":"El propietario de este documento no le ha dado acceso para realizar cambios.","FILE_LOADING":"Abriendo el documento","RELOAD_APP":"Volver a cargar","FILE_PREVIEW_ERROR_TITLE":"Error en la vista previa del archivo","FILE_PREVIEW_ERROR_MSG":"La vista previa del archivo no está disponible. Vuelva a cargar para intentarlo de nuevo.","error.default":"Se produjo un error al procesar su solicitud.","error.contact.support":" Si sigue apareciendo este error, <a href={supportUrl} target=\\"_blank\\"> póngase en contacto con el equipo de asistencia </a> y haga referencia a la sesión <span>{jobId}</span>.","ok":"Aceptar","close":"Cerrar","download":"Descargar","error":"Error","viewMode.single":"Una sola página","viewMode.continuous":"Continua","toast.conflict.content":"Una nueva versión del documento con los cambios se ha guardado en la cuenta <a href={url} target=\\"_blank\\">{integrationName}</a>.","toast.success.content":"Un nuevo documento con sus cambios se ha guardado en la cuenta <a href={url} target=\\"_blank\\">{integrationName}</a>.","edit.header.title":"Editar texto e imágenes","portfolio.pdf.message":"Este archivo no puede ser previsualizado porque es un portafolio PDF.","tools.inactive.label":"Esta herramienta estará disponible próximamente"}')},EA3l:function(e){e.exports=JSON.parse('{"ADOBE_ACROBAT":"Adobe Acrobat","POWERED_BY":"Powered by<br>{brandingTitle}","HELP_LABEL":"도움말 보기","GOTO_FULLSCREEN_LABEL":"전체 화면 모드","EXIT_FULLSCREEN_LABEL":"전체 화면 종료","LEGAL_NOTICES":"법적 고지 사항","RETURN":"돌아가기","button.save":"저장","file.metadata.readonly":"읽기 전용","file.metadata.protected":"보호됨","file.progress.status.failed":"실패","file.progress.status.saved":"저장됨","file.progress.status.saving":"저장 중...","file.progress.status.edited":"편집됨","file.progress.status.unsaved":"저장되지 않음...","dialog.new.file.title":"새 버전 사용 가능","dialog.new.file.confirmLabel":"최신 버전 받기","dialog.new.file.content":"보고 있는 파일은 최신 버전이 아니며 다른 사용자인 {name}({mail})님이 수정했습니다.","dialog.new.file.self.content":"보고 있는 파일은 최신 버전이 아니며 귀하가 수정했습니다.","dialog.conflict.file.title":"충돌 저장","dialog.conflict.file.confirmLabel":"변경 사항 취소","dialog.conflict.file.cancelLabel":"사본 저장","dialog.conflict.file.content":"변경 사항이 다른 사용자인 {name}({mail})님이 동시에 만든 항목과 충돌합니다.","dialog.conflict.file.self.content":"변경 사항이 동시에 만든 항목과 충돌합니다.","dialog.unsaved.title":"저장되지 않은 변경 사항이 있음","dialog.unsaved.message":"모든 편집 사항을 원본 파일에 저장하려면 [저장]을 클릭합니다.","dialog.unsaved.confirmLabel":"저장","dialog.unsaved.cancelLabel":"취소","file.readonly.tooltip":"이 문서의 소유자가 변경할 수 있는 액세스 권한을 제공하지 않았습니다.","FILE_LOADING":"문서 여는 중","RELOAD_APP":"다시 불러오기","FILE_PREVIEW_ERROR_TITLE":"파일 미리 보기 오류","FILE_PREVIEW_ERROR_MSG":"파일을 미리 볼 수 없습니다. 다시 로드하여 다시 시도하십시오.","error.default":"요청을 처리하는 동안 일부 문제가 발생했습니다.","error.contact.support":" 계속 이 오류가 발생하는 경우 <a href={supportUrl} target=\\"_blank\\">문의 지원</a> 및 참조 세션 <span>{jobId}</span>을(를) 확인하시기 바랍니다.","ok":"확인","close":"닫기","download":"다운로드","error":"오류","viewMode.single":"단일 페이지","viewMode.continuous":"연속","toast.conflict.content":"변경 사항이 있는 문서의 새 버전은 <a href={url} target=\\"_blank\\">{integrationName}</a> 계정에 저장됩니다.","toast.success.content":"변경 사항이 있는 새 문서는 <a href={url} target=\\"_blank\\">{integrationName}</a> 계정에 저장됩니다.","edit.header.title":"텍스트 및 이미지 편집","portfolio.pdf.message":"포트폴리오 PDF이므로 이 파일을 미리 볼 수 없습니다.","tools.inactive.label":"이 도구는 곧 제공됩니다."}')},EZwi:function(e,t,n){(t=n("JPst")(!1)).push([e.i,".spectrum--light .spectrum-IllustratedMessage-illustration {\n  color: rgb(179, 179, 179);\n  fill: currentColor;\n  stroke: currentColor;\n}\n",""]),e.exports=t},F03f:function(e,t,n){e.exports=n("hrl5")("dYTe")},FDjN:function(e){e.exports=JSON.parse('{"Breadcrumbs":"Навигация"}')},FVuL:function(e){e.exports=JSON.parse('{"ADOBE_ACROBAT":"Adobe Acrobat","POWERED_BY":"Powered by<br>{brandingTitle}","HELP_LABEL":"Hilfe erhalten","GOTO_FULLSCREEN_LABEL":"Vollbildmodus","EXIT_FULLSCREEN_LABEL":"Vollbildmodus beenden","LEGAL_NOTICES":"Rechtliche Hinweise","RETURN":"Return-Taste","button.save":"Speichern","file.metadata.readonly":"Schreibgeschützt","file.metadata.protected":"Geschützt","file.progress.status.failed":"Fehlgeschlagen","file.progress.status.saved":"Gespeichert","file.progress.status.saving":"Wird gespeichert...","file.progress.status.edited":"Bearbeitet","file.progress.status.unsaved":"Nicht Gespeichert...","dialog.new.file.title":"Neue Version verfügbar","dialog.new.file.confirmLabel":"Neueste Version abrufen","dialog.new.file.content":"Die angezeigte Datei ist nicht auf dem neuesten Stand und wurde von einem anderen Benutzer geändert: {name} ({mail}).","dialog.new.file.self.content":"Die angezeigte Datei ist nicht auf dem neuesten Stand und wurde von Ihnen geändert.","dialog.conflict.file.title":"Konflikt speichern","dialog.conflict.file.confirmLabel":"Änderungen verwerfen","dialog.conflict.file.cancelLabel":"Kopie speichern","dialog.conflict.file.content":"Ihre Änderungen verursachen einen Konflikt mit den gleichzeitig vorgenommenen Änderungen eines anderen Benutzers: {name} ({mail}).","dialog.conflict.file.self.content":"Ihre Änderungen verursachen einen Konflikt mit gleichzeitig von Ihnen vorgenommenen Änderungen.","dialog.unsaved.title":"Es liegen nicht gespeicherte Änderungen vor","dialog.unsaved.message":"Wenn Sie alle Bearbeitungen unter der Originaldatei speichern möchten, klicken Sie auf „Speichern“.","dialog.unsaved.confirmLabel":"Speichern","dialog.unsaved.cancelLabel":"Abbrechen","file.readonly.tooltip":"Der Inhaber dieses Dokuments hat Ihnen keinen Zugriff gewährt, um Änderungen vorzunehmen.","FILE_LOADING":"Öffnen des Dokuments","RELOAD_APP":"Neu laden","FILE_PREVIEW_ERROR_TITLE":"Fehler bei Dateivorschau","FILE_PREVIEW_ERROR_MSG":"Dateivorschau nicht verfügbar. Laden Sie die Datei erneut und wiederholen Sie den Vorgang.","error.default":"Beim Verarbeiten Ihrer Anfrage ist ein Problem aufgetreten.","error.contact.support":" Wenn dieser Fehler weiterhin auftritt, sollten Sie den <a href={supportUrl} target=\\"_blank\\"> Support kontaktieren </a> und sich auf Sitzung <span>{jobId}</span> beziehen.","ok":"OK","close":"Schließen","download":"Herunterladen","error":"Fehler","viewMode.single":"Einzelne Seite","viewMode.continuous":"Fortlaufend","toast.conflict.content":"Eine neue Version des Dokuments mit Ihren Änderungen wurde in Ihrem Konto <a href={url} target=\\"_blank\\">{integrationName}</a>","toast.success.content":"Ein neues Dokument mit Ihren Änderungen wurde in Ihrem Konto <a href={url} target=\\"_blank\\">{integrationName}</a> gespeichert.","edit.header.title":"Text und Bilder bearbeiten","portfolio.pdf.message":"Diese Datei kann nicht in der Vorschau angezeigt werden, da es sich um eine Portfolio-PDF-Datei handelt.","tools.inactive.label":"Dieses Tool wird in Kürze verfügbar sein"}')},Fagm:function(e){e.exports=JSON.parse('{"ADOBE_ACROBAT":"Adobe Acrobat","POWERED_BY":"Powered by<br>{brandingTitle}","HELP_LABEL":"Yardım Alın","GOTO_FULLSCREEN_LABEL":"Tam Ekran Modu","EXIT_FULLSCREEN_LABEL":"Tam Ekrandan Çık","LEGAL_NOTICES":"Yasal Uyarılar","RETURN":"Geri Dön","button.save":"Kaydet","file.metadata.readonly":"Salt Okunur","file.metadata.protected":"Korumalı","file.progress.status.failed":"Başarısız","file.progress.status.saved":"Kaydedildi","file.progress.status.saving":"Kaydediliyor...","file.progress.status.edited":"Düzenlendi","file.progress.status.unsaved":"Kaydedilmedi...","dialog.new.file.title":"Yeni Versiyon Mevcut","dialog.new.file.confirmLabel":"En Güncel Versiyonu Al","dialog.new.file.content":"Görüntülediğiniz dosya en güncel dosya değil ve üzerinde başka bir kullanıcı [{name} ({mail})] tarafından değişiklik yapılmış.","dialog.new.file.self.content":"Görüntülediğiniz dosya en güncel dosya değil ve üzerinde sizin tarafından değişiklik yapılmış.","dialog.conflict.file.title":"Kaydetme Çakışması","dialog.conflict.file.confirmLabel":"Değişikliklerimi iptal et","dialog.conflict.file.cancelLabel":"Kopya kaydet","dialog.conflict.file.content":"Değişiklikleriniz, başka bir kullanıcı [{name} ({mail}] tarafından aynı anda uygulanan değişikliklerle çakışıyor.","dialog.conflict.file.self.content":"Değişiklikleriniz, aynı anda yaptığınız diğer değişikliklerle çakışıyor.","dialog.unsaved.title":"Kaydedilmemiş değişiklikleriniz var","dialog.unsaved.message":"Tüm düzenlemeleri orijinal dosyaya kaydetmek için Kaydet\'i tıklatın.","dialog.unsaved.confirmLabel":"Kaydet","dialog.unsaved.cancelLabel":"İptal","file.readonly.tooltip":"Bu belgenin sahibi, değişiklik yapmanız için size erişim sağlamadı.","FILE_LOADING":"Belge Açılıyor","RELOAD_APP":"Yeniden Yükle","FILE_PREVIEW_ERROR_TITLE":"Dosya önizleme hatası","FILE_PREVIEW_ERROR_MSG":"Dosya önizlemesi mevcut değil; tekrar denemek için lütfen yeniden yükleyin.","error.default":"İsteğiniz işlenirken bir sorun oluştu.","error.contact.support":" Bu hatayla karşılaşmaya devam ederseniz lütfen <a href={supportUrl} target=\\"_blank\\"> destek ekibi ile iletişime geçerek </a> oturumuyla ilgili bilgileri sağlayın <span>{jobId}</span>.","ok":"Tamam","close":"Kapat","download":"İndir","error":"Hata","viewMode.single":"Tek sayfa","viewMode.continuous":"Sürekli","toast.conflict.content":"Yaptığınız değişikliklerle birlikte belgenin yeni bir versiyonu <a href={url} target=\\"_blank\\">{integrationName}</a> hesabınıza kaydedildi.","toast.success.content":"Değişikliklerinizi içeren yeni bir belge <a href={url} target=\\"_blank\\">{integrationName}</a> hesabınıza kaydedildi.","edit.header.title":"Metin ve görüntü düzenleme","portfolio.pdf.message":"Bu dosya bir portföy PDF\'si olduğundan önizlenemez.","tools.inactive.label":"Bu araç kısa bir süre sonra kullanılabilir olacak"}')},FjRX:function(e){e.exports=JSON.parse('{"Breadcrumbs":"Chemin de navigation"}')},Fvzm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}},GCiA:function(e,t,n){var i=n("LboF"),o=n("y0Py");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},I3vQ:function(e,t,n){var i={"./cs-CZ.json":"+G8b","./da-DK.json":"NlHF","./de-DE.json":"FVuL","./en-GB.json":"9b8k","./en-US.json":"A/Ql","./es-ES.json":"E4Qo","./fi-FI.json":"hxpe","./fr-FR.json":"4odN","./it-IT.json":"JzFs","./ja-JP.json":"N6oZ","./ko-KR.json":"EA3l","./nb-NO.json":"/p8F","./nl-NL.json":"xW0c","./pl-PL.json":"lWhz","./pt-BR.json":"+94T","./ru-RU.json":"wywo","./sv-SE.json":"tBPe","./tr-TR.json":"Fagm","./zh-CN.json":"jnV5","./zh-TW.json":"qxyQ","./zz-ZZ.json":"b4r4"};function webpackContext(e){var t=webpackContextResolve(e);return n(t)}function webpackContextResolve(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}webpackContext.keys=function webpackContextKeys(){return Object.keys(i)},webpackContext.resolve=webpackContextResolve,e.exports=webpackContext,webpackContext.id="I3vQ"},IxNm:function(e,t,n){e.exports=n("1Xvy")("LCvK")},JPst:function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function toString(){return this.map((function(t){var n=function cssWithMappingToString(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var o=function toComment(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}(i),r=i.sources.map((function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")}));return[n].concat(r).concat([o]).join("\n")}return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,i){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(i)for(var r=0;r<this.length;r++){var a=this[r][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);i&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},JRPe:function(e,t,n){e.exports=n("hrl5")("Pq8k")},JcDv:function(e,t,n){(t=n("JPst")(!1)).push([e.i,"/*************************************************************************\n* ADOBE CONFIDENTIAL\n* ___________________\n*\n*  Copyright 2019 Adobe\n*  All Rights Reserved.\n*\n* NOTICE:  All information contained herein is, and remains\n* the property of Adobe and its suppliers, if any. The intellectual\n* and technical concepts contained herein are proprietary to Adobe\n* and its suppliers and are protected by all applicable intellectual\n* property laws, including trade secret and copyright laws.\n* Dissemination of this information or reproduction of this material\n* is strictly forbidden unless prior written permission is obtained\n* from Adobe.\n**************************************************************************/\n\n.sdk-LightBoxExitPDFViewerButton-lightBoxExitPDFViewerButtonTopBarRight {\n    border-left: 1px solid #d6d6d6;\n    margin: 0 4px 0 -5px;\n    padding-left: 5px;\n}\n\n.sdk-LightBoxExitPDFViewerButton-lightBoxExitPDFViewerButtonTopBarLeft {\n    border-right: 1px solid #d6d6d6;\n    margin: 0 9px 0 -8px;\n    padding: 0 9px 0 4px;\n}\n\n.sdk-LightBoxExitPDFViewerButton-lightBoxExitPDFViewerButtonTopBarLeft .spectrum-Tool .spectrum-Icon {\n    color: #2c2c2c;\n}\n\n.sdk-LightBoxExitPDFViewerButton-lightBoxExitPDFViewerButtonTopBarRight .spectrum-Tool .spectrum-Icon {\n    color: #2c2c2c;\n}\n",""]),e.exports=t},Jt7u:function(e,t,n){(t=n("JPst")(!1)).push([e.i,"/*************************************************************************\n* ADOBE CONFIDENTIAL\n* ___________________\n*\n*  Copyright 2021 Adobe\n*  All Rights Reserved.\n*\n* NOTICE:  All information contained herein is, and remains\n* the property of Adobe and its suppliers, if any. The intellectual\n* and technical concepts contained herein are proprietary to Adobe\n* and its suppliers and are protected by all applicable intellectual\n* property laws, including trade secret and copyright laws.\n* Dissemination of this information or reproduction of this material\n* is strictly forbidden unless prior written permission is obtained\n* from Adobe.\n**************************************************************************/\n\n.sdk-HidingBranding-branding {\n    background-color: white;\n    border-radius: 6px;\n    bottom: 20px;\n    display: none;\n    position: fixed;\n    right: 20px;\n    transition: 0.8s;\n    z-index: 999999;\n}\n\n.sdk-HidingBranding-label {\n    color: #4b4b4b !important;\n    font-size: 12px !important;\n    font-weight: normal;\n    margin: 7px 7px 7px 1px;\n}\n",""]),e.exports=t},JzFs:function(e){e.exports=JSON.parse('{"ADOBE_ACROBAT":"Adobe Acrobat","POWERED_BY":"Powered by<br>{brandingTitle}","HELP_LABEL":"Aiuto","GOTO_FULLSCREEN_LABEL":"Modalità a schermo intero","EXIT_FULLSCREEN_LABEL":"Esci da schermo intero","LEGAL_NOTICES":"Note legali","RETURN":"Ritorno a capo","button.save":"Salva","file.metadata.readonly":"Sola lettura","file.metadata.protected":"Protetto","file.progress.status.failed":"Non riuscito","file.progress.status.saved":"Salvato","file.progress.status.saving":"Salvataggio in corso...","file.progress.status.edited":"Modificato","file.progress.status.unsaved":"Non salvato...","dialog.new.file.title":"Nuova versione disponibile","dialog.new.file.confirmLabel":"Ottieni l’ultima versione","dialog.new.file.content":"Non stai visualizzando l’ultima versione del file, che è stato modificato da un altro utente, {name} ({mail}).","dialog.new.file.self.content":"Non stai visualizzando l’ultima versione del file, che hai modificato tu stesso.","dialog.conflict.file.title":"Conflitto nel salvataggio","dialog.conflict.file.confirmLabel":"Elimina le mie modifiche","dialog.conflict.file.cancelLabel":"Salva una copia","dialog.conflict.file.content":"Le tue modifiche sono in conflitto con quelle apportate allo stesso tempo da un altro utente, {name} ({mail}).","dialog.conflict.file.self.content":"Le tue modifiche sono in conflitto con quelle che hai apportato tu stesso allo stesso tempo.","dialog.unsaved.title":"Sono presenti modifiche non salvate","dialog.unsaved.message":"Per salvare tutte le modifiche nel file originale, fai clic su Salva.","dialog.unsaved.confirmLabel":"Salva","dialog.unsaved.cancelLabel":"Annulla","file.readonly.tooltip":"Il proprietario di questo documento non ti ha fornito le autorizzazioni di accesso necessarie per apportare modifiche.","FILE_LOADING":"Apertura documento","RELOAD_APP":"Ricarica","FILE_PREVIEW_ERROR_TITLE":"Errore di anteprima file","FILE_PREVIEW_ERROR_MSG":"L’anteprima del file non è disponibile. Carica di nuovo e riprova.","error.default":"Si è verificato un problema nell’elaborare la richiesta.","error.contact.support":" Se continui a riscontrare questo errore, prova a <a href={supportUrl} target=\\"_blank\\"> contattare il supporto </a> e fornisci il riferimento sessione <span>{jobId}</span>.","ok":"OK","close":"Chiudi","download":"Scarica","error":"Errore","viewMode.single":"Pagina singola","viewMode.continuous":"Continuo","toast.conflict.content":"Una nuova versione del documento con le tue modifiche è stata salvata nel tuo account <a href={url} target=\\"_blank\\">{integrationName}</a>.","toast.success.content":"Un nuovo documento con le tue modifiche è stato salvato nel tuo account <a href={url} target=\\"_blank\\">{integrationName}</a>.","edit.header.title":"Modificate testo e immagini","portfolio.pdf.message":"Impossibile visualizzare l’anteprima di questo file perché è un portfolio PDF.","tools.inactive.label":"Questo strumento sarà disponibile a breve"}')},KAgo:function(e,t,n){e.exports=n("hrl5")("vPOC")},Kb7U:function(e){e.exports=JSON.parse('{"Breadcrumbs":"导航栏"}')},KgWc:function(e,t,n){(t=n("JPst")(!1)).push([e.i,".spectrum--light .spectrum-Breadcrumbs-item {\n  color: rgb(110, 110, 110);\n}\n.spectrum--light .spectrum-Breadcrumbs-item.is-dragged .spectrum-Breadcrumbs-itemLink {\n      color: rgb(44, 44, 44);\n      background-color: rgba(20,115,230,0.1);\n    }\n.spectrum--light .spectrum-Breadcrumbs-item.is-dragged .spectrum-Breadcrumbs-itemLink:before {\n        border-color: rgb(20, 115, 230);\n      }\n.spectrum--light .spectrum-Breadcrumbs-item .spectrum-Breadcrumbs-itemSeparator {\n    color: rgb(179, 179, 179);\n  }\n.spectrum--light .spectrum-Breadcrumbs-item .spectrum-Breadcrumbs-itemLink {\n    color: inherit;\n  }\n.spectrum--light .spectrum-Breadcrumbs-item .spectrum-Breadcrumbs-itemLink:hover {\n      color: rgb(44, 44, 44);\n    }\n.spectrum--light .spectrum-Breadcrumbs-item .spectrum-Breadcrumbs-itemLink.focus-ring {\n      color: rgb(44, 44, 44);\n    }\n.spectrum--light .spectrum-Breadcrumbs-item .spectrum-Breadcrumbs-itemLink.focus-ring:before {\n        border-color: rgb(38, 128, 235);\n      }\n.spectrum--light .spectrum-Breadcrumbs-item .spectrum-Breadcrumbs-itemLink:active {\n      color: rgb(44, 44, 44);\n      border-bottom: 0;\n    }\n.spectrum--light .spectrum-Breadcrumbs-item.is-selected,\n.spectrum--light .spectrum-Breadcrumbs-item:last-of-type {\n    color: rgb(44, 44, 44);\n  }\n.spectrum--light .spectrum-Breadcrumbs-item.is-selected ~ .spectrum-Breadcrumb:last-of-type {\n        color: rgb(110, 110, 110);\n      }\n.spectrum--light .spectrum-Breadcrumbs-item.is-selected .spectrum-Breadcrumbs-itemLink.focus-ring {\n        color: rgb(44, 44, 44);\n        border-bottom: 0;\n      }\n",""]),e.exports=t},Ktao:function(e,t,n){e.exports=n("hrl5")("jJow")},Kzo0:function(e){e.exports=JSON.parse('{"Breadcrumbs":"Breadcrumbs"}')},LMsI:function(e,t,n){var i=n("LboF"),o=n("rsHn");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},LQz3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _initializerDefineProperty(e,t,n,i){if(!n)return;Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(i):void 0})}},LboF:function(e,t,n){"use strict";var i=function isOldIE(){var e;return function memorize(){return void 0===e&&(e=Boolean(window&&document&&document.all&&!window.atob)),e}}(),o=function getTarget(){var e={};return function memorize(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),r=[];function getIndexByIdentifier(e){for(var t=-1,n=0;n<r.length;n++)if(r[n].identifier===e){t=n;break}return t}function modulesToDom(e,t){for(var n={},i=[],o=0;o<e.length;o++){var a=e[o],s=t.base?a[0]+t.base:a[0],l=n[s]||0,c="".concat(s," ").concat(l);n[s]=l+1;var u=getIndexByIdentifier(c),d={css:a[1],media:a[2],sourceMap:a[3]};-1!==u?(r[u].references++,r[u].updater(d)):r.push({identifier:c,updater:addStyle(d,t),references:1}),i.push(c)}return i}function insertStyleElement(e){var t=document.createElement("style"),i=e.attributes||{};if(void 0===i.nonce){var r=n.nc;r&&(i.nonce=r)}if(Object.keys(i).forEach((function(e){t.setAttribute(e,i[e])})),"function"==typeof e.insert)e.insert(t);else{var a=o(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var a=function replaceText(){var e=[];return function replace(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function applyToSingletonTag(e,t,n,i){var o=n?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(e.styleSheet)e.styleSheet.cssText=a(t,o);else{var r=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(r,s[t]):e.appendChild(r)}}function applyToTag(e,t,n){var i=n.css,o=n.media,r=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}var s=null,l=0;function addStyle(e,t){var n,i,o;if(t.singleton){var r=l++;n=s||(s=insertStyleElement(t)),i=applyToSingletonTag.bind(null,n,r,!1),o=applyToSingletonTag.bind(null,n,r,!0)}else n=insertStyleElement(t),i=applyToTag.bind(null,n,t),o=function remove(){!function removeStyleElement(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return i(e),function updateStyle(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var n=modulesToDom(e=e||[],t);return function update(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var i=0;i<n.length;i++){var o=getIndexByIdentifier(n[i]);r[o].references--}for(var a=modulesToDom(e,t),s=0;s<n.length;s++){var l=getIndexByIdentifier(n[s]);0===r[l].references&&(r[l].updater(),r.splice(l,1))}n=a}}}},LjnU:function(e,t,n){e.exports=n("hrl5")("BbZh")},MdAA:function(e){e.exports=JSON.parse('{"Breadcrumbs":"Brødkrummer"}')},N6oZ:function(e){e.exports=JSON.parse('{"ADOBE_ACROBAT":"Adobe Acrobat","POWERED_BY":"Powered by<br>{brandingTitle}","HELP_LABEL":"ヘルプ","GOTO_FULLSCREEN_LABEL":"フルスクリーンモード","EXIT_FULLSCREEN_LABEL":"フルスクリーンを終了","LEGAL_NOTICES":"法律上の注意","RETURN":"戻る","button.save":"保存","file.metadata.readonly":"読み取り専用","file.metadata.protected":"保護","file.progress.status.failed":"失敗しました","file.progress.status.saved":"保存済み","file.progress.status.saving":"保存中...","file.progress.status.edited":"編集済み","file.progress.status.unsaved":"未保存...","dialog.new.file.title":"新しいバージョンがあります","dialog.new.file.confirmLabel":"最新バージョンを入手する","dialog.new.file.content":"表示中のファイルは最新ではありません。別のユーザー({name}、{mail})によって変更されています。","dialog.new.file.self.content":"表示中のファイルは最新ではありません。変更が加えられています。","dialog.conflict.file.title":"競合を保存する","dialog.conflict.file.confirmLabel":"変更を破棄する","dialog.conflict.file.cancelLabel":"コピーを保存","dialog.conflict.file.content":"変更が、別のユーザー({name}、{mail})が同時に加えた変更と競合しています。","dialog.conflict.file.self.content":"変更が、同時に自分で加えた別の変更と競合しています。","dialog.unsaved.title":"変更は保存されませんでした","dialog.unsaved.message":"すべての編集を元のファイルに保存するには、「保存」をクリックします。","dialog.unsaved.confirmLabel":"保存","dialog.unsaved.cancelLabel":"キャンセル","file.readonly.tooltip":"この文書の所有者から、変更を加える権限が付与されていません。","FILE_LOADING":"文書を開いています","RELOAD_APP":"再読み込み","FILE_PREVIEW_ERROR_TITLE":"ファイルのプレビューエラー","FILE_PREVIEW_ERROR_MSG":"ファイルのプレビューは使用できません。もう一度ロードを実行してください。","error.default":"リクエストの処理中にエラーが発生しました。","error.contact.support":" このエラーが引き続き発生する場合は、<a href={supportUrl} target=\\"_blank\\"> サポートに問い合わせて</a>、セッション <span>{jobId}</span> を参照することを検討してください。","ok":"OK","close":"閉じる","download":"ダウンロード","error":"エラー","viewMode.single":"単一ページ","viewMode.continuous":"連続ページ","toast.conflict.content":"変更を加えられた新しいバージョンのドキュメントが、<a href={url} target=\\"_blank\\">{integrationName}</a> アカウントに保存されました。","toast.success.content":"変更を加えられた新しいドキュメントが、<a href={url} target=\\"_blank\\">{integrationName}</a> アカウントに保存されました。","edit.header.title":"テキストと画像を編集","portfolio.pdf.message":"このファイルはポートフォリオ PDF なので、プレビューすることができません。","tools.inactive.label":"このツールはまもなく利用可能になります"}')},NlHF:function(e){e.exports=JSON.parse('{"ADOBE_ACROBAT":"Adobe Acrobat","POWERED_BY":"Powered by<br>{brandingTitle}","HELP_LABEL":"Få hjælp","GOTO_FULLSCREEN_LABEL":"Fuldskærmstilstand","EXIT_FULLSCREEN_LABEL":"Afslut fuldskærm","LEGAL_NOTICES":"Juridiske meddelelser","RETURN":"Gå tilbage","button.save":"Gem","file.metadata.readonly":"Skrivebeskyttet","file.metadata.protected":"Beskyttet","file.progress.status.failed":"Mislykket","file.progress.status.saved":"Gemt","file.progress.status.saving":"Gemmer ...","file.progress.status.edited":"Redigeret","file.progress.status.unsaved":"Ikke gemt...","dialog.new.file.title":"Ny version tilgængelig","dialog.new.file.confirmLabel":"Hent seneste version","dialog.new.file.content":"Den viste fil er ikke den seneste og redigeres af en anden bruger, {name} ({mail}).","dialog.new.file.self.content":"Den viste fil er ikke den seneste og redigeres af dig.","dialog.conflict.file.title":"Gem-konflikt","dialog.conflict.file.confirmLabel":"Annuller mine ændringer","dialog.conflict.file.cancelLabel":"Gem en kopi","dialog.conflict.file.content":"Dine ændringer er i konflikt med dem, der samtidig foretages af en anden bruger, {name} ({mail}).","dialog.conflict.file.self.content":"Dine ændringer er i konflikt med dem, der samtidig foretages af dig.","dialog.unsaved.title":"Du har ikke-gemte ændringer","dialog.unsaved.message":"For at gemme alle ændringer til den originale fil skal du klikke på Gem.","dialog.unsaved.confirmLabel":"Gem","dialog.unsaved.cancelLabel":"Annuller","file.readonly.tooltip":"Ejeren af dette dokument har ikke givet dig adgang til at foretage ændringer.","FILE_LOADING":"Åbner dokument","RELOAD_APP":"Genindlæs","FILE_PREVIEW_ERROR_TITLE":"Fejl ved filvisning","FILE_PREVIEW_ERROR_MSG":"Filvisning ikke tilgængelig. Genindlæs for at prøve igen.","error.default":"Der opstod problem ved behandling af din anmodning.","error.contact.support":" Hvis du fortsætter med at få denne fejl, skal du overveje at <a href={supportUrl} target=\\"_blank\\"> kontakte support</a> og oplyse session <span>{jobId}</span>.","ok":"OK","close":"Luk","download":"Download","error":"Fejl","viewMode.single":"Enkelt side","viewMode.continuous":"Fortløbende","toast.conflict.content":"En ny version af dokumentet med dine ændringer er gemt på din <a href={url} target=\\"_blank\\">{integrationName}</a>-konto.","toast.success.content":"Et nyt dokument med dine ændringer er gemt på din <a href={url} target=\\"_blank\\">{integrationName}</a>-konto.","edit.header.title":"Rediger tekst og billeder","portfolio.pdf.message":"Denne fil kan ikke vises, da det er en portefølje-PDF.","tools.inactive.label":"Dette værktøj vil snart være tilgængeligt"}')},Nsbk:function(e,t,n){e.exports=n("hrl5")("tNLN")},OdjL:function(e,t,n){"use strict";n.r(t);var i=n("2bPg"),o=n.n(i),r=n("BRlI"),a=n.n(r),s=n("00an"),l=n.n(s),c=n("tLe6"),u=n.n(c),d=(n("eQQN"),n("2vnA")),f=n("prSB"),p=n.n(f),g={SAVE_API:"SAVE_API",STATUS_API:"STATUS_API",EVENT_LISTENER:"EVENT_LISTENER",SET_USER_SETTING_API:"SET_USER_SETTING_API",GET_USER_SETTING_API:"GET_USER_SETTING_API",GET_USER_PROFILE_API:"GET_USER_PROFILE_API",OPEN_LEGAL_DIALOG_API:"OPEN_LEGAL_DIALOG_API",GET_RENDITION_API:"GET_RENDITION_API"},m=function logToConsole(){for(var e,t="[".concat((new Date).getTime(),"]"),n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];i.unshift(t),(e=console).log.apply(e,i)},h=[".ViewSDK_hideOverflow {\n        overflow: hidden;\n    }",".ViewSDK_parentRelativeWidth {\n        width: 100%;\n    }",".ViewSDK_viewportRelativeWidth {\n        width: 100vw;\n    }",".ViewSDK_parentRelativeHeight {\n        height: 100%;\n    }",".ViewSDK_viewportRelativeHeight {\n        height: 100vh;\n    }",".ViewSDK_fullScreenPDFViewer {\n        width:100vw !important; height:100vh !important;\n        max-width:100vw !important; max-height:100vh !important;\n        position:fixed; top:0; left:0; z-index:99999;\n        margin: 0 !important; padding: 0 !important;\n        border: none !important;\n    }",":root { --ViewSDK-mobile-viewport-height:1vh; }",".ViewSDK_fullScreenPDFViewerMobile {\n        width:100vw !important; height:calc(100 * var(--ViewSDK-mobile-viewport-height)) !important;\n        max-width:100vw !important; max-height:calc(100 * var(--ViewSDK-mobile-viewport-height)) !important;\n        position:fixed; top:0; left:0; z-index:99999;\n        margin: 0 !important; padding: 0 !important;\n        border: none !important;\n    }"],v=function addStyleClass(e,t){e.classList.add(t)},_=function removeStyleClass(e,t){e.classList.remove(t)},E=function getWindowStartTime(){return window.performance&&window.performance.timing&&window.performance.timing.navigationStart?Math.floor(window.performance.timing.navigationStart):(new Date).getTime()},b={FULL_WINDOW:"FULL_WINDOW",SIZED_CONTAINER:"SIZED_CONTAINER",IN_LINE:"IN_LINE",LIGHT_BOX:"LIGHT_BOX"},S="RETURN",A="CLOSE",y={FIT_WIDTH:"FIT_WIDTH",FIT_PAGE:"FIT_PAGE",CONTINUOUS:"CONTINUOUS",SINGLE_PAGE:"PAGE_BY_PAGE"},I={FIT_WIDTH:"FIT_WIDTH",FIT_PAGE:"FIT_PAGE",CONTINUOUS:"CONTINUOUS",SINGLE_PAGE:"SINGLE_PAGE"};!function createStyles(){var e,t=window.document;h.forEach((function(n){(e=t.createElement("style")).type="text/css",e.innerHTML=n,t.getElementsByTagName("head")[0].appendChild(e)}))}();var w=E(),P=function(){function ViewSDKInterfaceApp(e,t){o()(this,ViewSDKInterfaceApp),this._serviceFactory=t,this._appInitializeReceivedOn=(new Date).getTime(),this._initConfig(e),this._logExternal("Initializing Adobe DC View SDK."),this._initServices()}return a()(ViewSDKInterfaceApp,[{key:"previewFile",value:function previewFile(e,t){this._logExternal("Starting process to preview file.",e.metaData,t),this._serviceFactory.getService("ValidationService").validateFileInfo(e);var n=t.embedMode?t.embedMode.toUpperCase():b.FULL_WINDOW,i=p()(p()({},t),{},{embedMode:n});this._serviceFactory.getService("ValidationService").validatePreviewConfig(i),this._serviceFactory.getService("ValidationService").validateFileInfoForPreviewConfig(e,i);var o={actionReceivedOn:(new Date).getTime(),hostAppStartTime:w,appStartTime:this._appInitializeReceivedOn,appInitializeReceivedOn:this._appInitializeReceivedOn},r=window.document.getElementById(this._config.divId);if(r.internallyCreated&&i.embedMode!==b.LIGHT_BOX)throw r.parentNode.removeChild(r),new Error("DivId ".concat(this._config.divId," is not present in HTML document."));return this._serviceFactory.getService("EmbedModeService").previewFile(this._config,e,i,o)}},{key:"registerCallback",value:function registerCallback(e,t,n){this._logExternal("Registering Callback for type : ".concat(e)),this._serviceFactory.getService("ValidationService").validateCallback(e,t,n),e===g.EVENT_LISTENER?this._serviceFactory.getService("EventHandlerService").setEventListener(t,n):this._serviceFactory.getService("CallbackService").registerCallback(e,t,n)}},{key:"fileProgressLoadingData",value:function fileProgressLoadingData(e,t){this._serviceFactory.getService("AppStore").setFileLoadingProgress(e,t)}},{key:"_initServices",value:function _initServices(){this._serviceFactory.getService("LoggingService").initialize(this._config.logToConsole),this._serviceFactory.getService("FullScreenManager").initialize(this._config,this._serviceFactory),this._config.locale=this._serviceFactory.getService("LocaleService").getLocale()}},{key:"_logExternal",value:function _logExternal(){this._config.logToConsole&&m.apply(void 0,arguments)}},{key:"_initConfig",value:function _initConfig(e){this._serviceFactory.getService("ValidationService").validateConfig(e),this._config=this._getFinalConfig(e),this._createInternalDivIfNotPresent()}},{key:"_createInternalDivIfNotPresent",value:function _createInternalDivIfNotPresent(){var e=window.document.getElementById(this._config.divId);e||((e=window.document.createElement("div")).id=this._config.divId,e.internallyCreated=!0,window.document.body.appendChild(e))}},{key:"_getFinalConfig",value:function _getFinalConfig(e){var t=p()(p()({},{divId:"adobe-dc-view",logToConsole:!1,downloadWithCredentials:!1}),e);return t.serverEnv="prod",t.viewSDKAppVersion="",t}}]),ViewSDKInterfaceApp}(),T=n("upjz"),N=n.n(T),O=function(){function ServiceRegistry(){o()(this,ServiceRegistry),this._registry=new Map}return a()(ServiceRegistry,[{key:"getServices",value:function getServices(){return this._registry}},{key:"register",value:function register(e,t){if(!e)throw new RangeError("service can't be undefined");this._registry.set(e,t)}},{key:"getService",value:function getService(e){return this._registry.get(e)}},{key:"initServices",value:function initServices(e){if(!(e instanceof Map))throw new RangeError("serviceMap is not Map");this._registry=new Map([].concat(N()(this._registry),N()(e)))}},{key:"clear",value:function clear(){this._registry=new Map}}]),ServiceRegistry}(),C=new O,L={API_RESPONSE:{SUCCESS:"SUCCESS",FAIL:"FAIL",INVALID_ANNOTATION_ID:"INVALID_ANNOTATION_ID",INVALID_ANNOTATION:"INVALID_ANNOTATION",INVALID_PAGE_RANGE:"INVALID_PAGE_RANGE",INVALID_CONFIG:"INVALID_CONFIG",INVALID_ANNOTATION_MODE:"INVALID_ANNOTATION_MODE",INVALID_OPTIONS:"INVALID_OPTIONS",INVALID_INPUT:"INVALID_INPUT",IGNORE_FAIL:"IGNORE_FAIL",FILE_MODIFIED:"FILE_MODIFIED",PREVIEW_RENDERING_FAILED:"PREVIEW_RENDERING_FAILED",USER_CANCELLED:"USER_CANCELLED",INVALID_THUMBNAIL_FORMAT:"INVALID_THUMBNAIL_FORMAT",INVALID_ZOOM_LEVEL:"INVALID_ZOOM_LEVEL"}},k={PREVIEW_REF_READY:"PREVIEW_REF_READY",RELOAD_APP:"RELOAD_APP",FILE_NAME_TOAST_VISIBILITY:"FILE_NAME_TOAST_VISIBILITY",DOCUMENT_VIEW_UPDATE:"DOCUMENT_VIEW_UPDATE",FILE_PREVIEW_READY:"FILE_PREVIEW_READY",FILE_PREVIEW_FAILED:"FILE_PREVIEW_FAILED",APP_PERF_DATA:"APP_PERF_DATA",FILE_LOADING_PROGRESS:"FILE_LOADING_PROGRESS",FILE_FIRST_PAGE_LOADING_DONE:"FILE_FIRST_PAGE_LOADING_DONE",ACTION_CONFIG_UPDATE:"ACTION_CONFIG_UPDATE"},D={ANNOTATION_ADDED:"ANNOTATION_ADDED",ANNOTATION_UPDATED:"ANNOTATION_UPDATED",ANNOTATION_DELETED:"ANNOTATION_DELETED",ANNOTATION_SELECTED:"ANNOTATION_SELECTED",ANNOTATION_UNSELECTED:"ANNOTATION_UNSELECTED",ANNOTATION_MODE_STARTED:"ANNOTATION_MODE_STARTED",ANNOTATION_MODE_ENDED:"ANNOTATION_MODE_ENDED",ANNOTATION_CLICKED:"ANNOTATION_CLICKED",ANNOTATION_MOUSE_OVER:"ANNOTATION_MOUSE_OVER",ANNOTATION_MOUSE_OUT:"ANNOTATION_MOUSE_OUT",ANNOTATION_COUNT:"ANNOTATION_COUNT"},F={HIGHLIGHT:"highlight",STRIKEOUT:"strikeout",UNDERLINE:"underline",SHAPE:"shape",NOTE:"note",FREETEXT:"freetext"},R={DOCUMENT_OPEN:"DOCUMENT_OPEN",PAGE_VIEW:"PAGE_VIEW",DOCUMENT_DOWNLOAD:"DOCUMENT_DOWNLOAD",DOCUMENT_PRINT:"DOCUMENT_PRINT",TEXT_SEARCH:"TEXT_SEARCH",BOOKMARK_ITEM_CLICK:"BOOKMARK_ITEM_CLICK",HYPERLINK_OPEN:"HYPERLINK_OPEN",TEXT_COPY:"TEXT_COPY",ZOOM_LEVEL:"ZOOM_LEVEL"},M={PREVIEW_KEY_DOWN:"PREVIEW_KEY_DOWN",PREVIEW_PAGE_VIEW_SCROLLED:"PREVIEW_PAGE_VIEW_SCROLLED",PREVIEW_DOCUMENT_CLICK:"PREVIEW_DOCUMENT_CLICK",PREVIEW_PAGE_CLICK:"PREVIEW_PAGE_CLICK",PREVIEW_PAGE_DOUBLE_CLICK:"PREVIEW_PAGE_DOUBLE_CLICK",PREVIEW_PAGE_MOUSE_ENTER:"PREVIEW_PAGE_MOUSE_ENTER",PREVIEW_PAGE_MOUSE_LEAVE:"PREVIEW_PAGE_MOUSE_LEAVE",CURRENT_ACTIVE_PAGE:"CURRENT_ACTIVE_PAGE",PREVIEW_SELECTION_END:"PREVIEW_SELECTION_END",VIEW_MODE_CHANGE:"VIEW_MODE_CHANGE",PREVIEW_ZOOM:"PREVIEW_ZOOM",PAGES_IN_VIEW_CHANGE:"PAGES_IN_VIEW_CHANGE",UNSUPPORTED_FEATURE_FOUND:"UNSUPPORTED_FEATURE_FOUND",PREVIEW_ERROR_EVENTS:"PREVIEW_ERROR_EVENTS",EDIT_PRE_PROCESSING_INITIATED:"EDIT_PRE_PROCESSING_INITIATED"},x={PAGE_OVERLAY_ATTACHED:"PAGE_OVERLAY_ATTACHED",PAGE_OVERLAY_REMOVED:"PAGE_OVERLAY_REMOVED"},B={VIEWER_UNMOUNT:"VIEWER_UNMOUNT",PDF_VIEWER_OPEN:"PDF_VIEWER_OPEN",PDF_VIEWER_CLOSE:"PDF_VIEWER_CLOSE",APP_RENDERING_START:"APP_RENDERING_START",APP_RENDERING_DONE:"APP_RENDERING_DONE",APP_RENDERING_FAILED:"APP_RENDERING_FAILED",ACTION_ICONS:"ACTION_ICONS",SEARCH_UI_TOGGLE:"SEARCH_UI_TOGGLE",FILE_STATUS:"FILE_STATUS",FULL_SCREEN_TOGGLE:"FULL_SCREEN_TOGGLE",FILE_DOWNLOAD_FAILED:"FILE_DOWNLOAD_FAILED",PDF_VIEWER_READY:"PDF_VIEWER_READY"},V={ADD_ANNOTATIONS:"ADD_ANNOTATIONS",ADD_ANNOTATIONS_IN_PDF:"ADD_ANNOTATIONS_IN_PDF",REMOVE_ANNOTATIONS_FROM_PDF:"REMOVE_ANNOTATIONS_FROM_PDF",GET_ANNOTATIONS:"GET_ANNOTATIONS",DELETE_ANNOTATIONS:"DELETE_ANNOTATIONS",UPDATE_ANNOTATION:"UPDATE_ANNOTATION",SELECT_ANNOTATION:"SELECT_ANNOTATION",UNSELECT_ANNOTATION:"UNSELECT_ANNOTATION",ANNOTATION_EVENT_LISTENER:"ANNOTATION_EVENT_LISTENER",SET_CONFIG:"SET_CONFIG",COMMIT_UNSAVED_CHANGES:"COMMIT_UNSAVED_CHANGES",START_ANNOTATION_MODE:"START_ANNOTATION_MODE",END_ANNOTATION_MODE:"END_ANNOTATION_MODE",GET_PDF_BUFFER:"GET_PDF_BUFFER"},U={CLOSE_PDF_VIEWER:"CLOSE_PDF_VIEWER",ENTER_FULL_SCREEN:"ENTER_FULL_SCREEN",EXIT_FULL_SCREEN:"EXIT_FULL_SCREEN",SET_HEIGHT_IN_VIEW:"SET_HEIGHT_IN_VIEW",TOGGLE_COMMENTING:"TOGGLE_COMMENTING"},z={GET_XMP_METADATA:"GET_XMP_METADATA",GET_PDF_METADATA:"GET_PDF_METADATA",SET_CURSOR:"SET_CURSOR",RESET_CURSOR:"RESET_CURSOR",GET_CURRENT_PAGE:"GET_CURRENT_PAGE",GET_PAGE_ZOOM_LEVEL:"GET_PAGE_ZOOM_LEVEL",GOTO_LOCATION:"GOTO_LOCATION",CLEAR_PAGE_SELECTION:"CLEAR_PAGE_SELECTION",GET_SELECTED_CONTENT:"GET_SELECTED_CONTENT",SHOW_HUD:"SHOW_HUD",HIDE_HUD:"HIDE_HUD",DOWNLOAD_VISIBILITY:"DOWNLOAD_VISIBILITY",TOGGLE_TEXT_SELECTION:"TOGGLE_TEXT_SELECTION",PRINT_VISIBILITY:"PRINT_VISIBILITY",FULL_SCREEN_VISIBILITY:"FULL_SCREEN_VISIBILITY",PAGE_NAVIGATION_CONTROL_VISIBILITY:"PAGE_NAVIGATION_CONTROL_VISIBILITY",DOCK_SWITCH_VISIBILITY:"DOCK_SWITCH_VISIBILITY",ZOOM_CONTROL_VISIBILITY:"ZOOM_CONTROL_VISIBILITY",FIT_PAGE_VISIBILITY:"FIT_PAGE_VISIBILITY",FIT_WIDTH_VISIBILITY:"FIT_WIDTH_VISIBILITY",HUD_VISIBILITY:"HUD_VISIBILITY",LEFT_PANE_VISIBILITY:"LEFT_PANE_VISIBILITY",DOCKED_HUD:"DOCKED_HUD",SET_VIEW_MODE:"SET_VIEW_MODE",SCRUBBER_VISIBILITY:"SCRUBBER_VISIBILITY",FILE_NAME_TOAST_VISIBILITY:"FILE_NAME_TOAST_VISIBILITY",SAVE_PDF:"SAVE_PDF",DOWNLOAD_PDF:"DOWNLOAD_PDF",CLEAR_FILE_DIRTY_STATUS:"CLEAR_FILE_DIRTY_STATUS",GET_PDF_PERMISSIONS:"GET_PDF_PERMISSIONS",IS_EDITING_ALLOWED:"IS_EDITING_ALLOWED",SET_FILE_NAME:"SET_FILE_NAME",GET_SEARCH_UI:"GET_SEARCH_UI",SET_LEGAL_DIALOG_OPEN:"SET_LEGAL_DIALOG_OPEN",ZOOM_IN:"ZOOM_IN",ZOOM_OUT:"ZOOM_OUT",SET_ZOOM_LEVEL:"SET_ZOOM_LEVEL",GET_ZOOM_LIMIT:"GET_ZOOM_LIMIT",START_SEARCH:"START_SEARCH",GET_THUMBNAIL:"GET_THUMBNAIL",GET_ALL_BOOKMARK:"GET_ALL_BOOKMARK",OPEN_BOOKMARK:"OPEN_BOOKMARK",GET_ATTACHMENTS:"GET_ATTACHMENTS",GET_ATTACHMENT_BUFFER:"GET_ATTACHMENT_BUFFER",GET_COMMAND_MANAGER:"GET_COMMAND_MANAGER",REGISTER_BEFORE_RHP_OPEN_CALLBACK:"REGISTER_BEFORE_RHP_OPEN_CALLBACK",REGISTER_BEFORE_QUICK_TOOL_ACTIVATED_CALLBACK:"REGISTER_BEFORE_QUICK_TOOL_ACTIVATED_CALLBACK",RESET_QUICK_TOOL:"RESET_QUICK_TOOL",GET_ACTIVE_QUICK_TOOL:"GET_ACTIVE_QUICK_TOOL",SHOW_QUICK_TOOL:"SHOW_QUICK_TOOL",OPEN_RHP_PANEL:"OPEN_RHP_PANEL",CLOSE_RHP_PANEL:"CLOSE_RHP_PANEL",GET_RHP_CONFIG:"GET_RHP_CONFIG",UPDATE_PREVIEW_APP_CONFIG:"UPDATE_PREVIEW_APP_CONFIG",FORCE_SHOW_COMMENTING_TOOLS:"FORCE_SHOW_COMMENTING_TOOLS"},H=function(){function AdobeDCView(e){o()(this,AdobeDCView),this._serviceFactory=new O,this._initServiceFactory(e)}return a()(AdobeDCView,[{key:"_initServiceFactory",value:function _initServiceFactory(e){}},{key:"previewFile",value:function previewFile(e,t){return this._serviceFactory.getService("ViewSDKInterfaceApp").previewFile(e,t||{})}},{key:"fileLoadingProgress",value:function fileLoadingProgress(e,t){this._serviceFactory.getService("ViewSDKInterfaceApp").fileProgressLoadingData(e,t)}},{key:"registerCallback",value:function registerCallback(e,t,n){this._serviceFactory.getService("ViewSDKInterfaceApp").registerCallback(e,t,n||{})}}],[{key:"Enum",get:function get(){return{CallbackType:g,ApiResponseCode:L.API_RESPONSE,Events:B,PDFAnalyticsEvents:R,AnnotationEvents:D,AnnotationTypes:F,FilePreviewEvents:M,OverlayEvents:x,ViewMode:I,EmbedMode:b,AnnotationAPICommands:V,AppAPICommands:U,PreviewAPICommands:z}}}]),AdobeDCView}(),j=n("CO39"),G=n.n(j),W={TOPBAR_ELLIPSES:"TOPBAR_ELLIPSES"},q={REPORT_ABUSE:"REPORT_ABUSE"},K=function(){function ValidationService(){o()(this,ValidationService),this._configKeysAndValidators={preset:this._validatePreset,embedMode:this._validatePreset,showAnnotationTools:this._validateBooleanValue,enableAnnotationAPIs:this._validateBooleanValue,includePDFAnnotations:this._validateBooleanValue,showLeftHandPanel:this._validateBooleanValue,showPageControls:this._validateBooleanValue,dockPageControls:this._validateBooleanValue,showDownloadPDF:this._validateBooleanValue,showPrintPDF:this._validateBooleanValue,showFitPageButton:this._validateBooleanValue,annotationUIConfig:this._validateAnnotationUIConfig,showFitWidthButton:this._validateBooleanValue,showZoomControl:this._validateBooleanValue,showRotateViewControl:this._validateBooleanValue,showPageNavigationControl:this._validateBooleanValue,enableFormFilling:this._validateBooleanValue,defaultViewMode:this._validateStringValue,supportUrl:this._validateStringValue,integrationName:this._validateStringValue,backgroundColor:this._validateStringValue,enableLinearization:this._validateBooleanValue,enableEdit:this._validateBooleanValue,usePartialEdit:this._validateBooleanValue,useIframelessPrint:this._validateBooleanValue}}return a()(ValidationService,[{key:"_validateStringValue",value:function _validateStringValue(e,t){var n;return"string"!=typeof t&&(n=new Error("Only String input is supported for config ".concat(e))),n}},{key:"_validateBooleanValue",value:function _validateBooleanValue(e,t){var n;return"boolean"!=typeof t&&(n=new Error("Only Boolean input is supported for config ".concat(e))),n}},{key:"_validatePreset",value:function _validatePreset(e,t){var n;if(t)switch(t){case b.FULL_WINDOW:case b.SIZED_CONTAINER:case b.IN_LINE:case b.LIGHT_BOX:case"INTEGRATION":break;default:n=new Error('Please pass valid embed mode. Currently, only "FULL_WINDOW", "SIZED_CONTAINER",\n                "IN_LINE" and "LIGHT_BOX" embed modes are supported')}return n}},{key:"_validateAnnotationUIConfig",value:function _validateAnnotationUIConfig(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(n).filter((function(e){return"boolean"!=typeof n[e]})).length>0&&(t=new Error("Only Boolean input is supported for config ".concat(e))),t}},{key:"validateConfig",value:function validateConfig(e){if(!e)throw new Error("Invalid config is provided.");if(!e.clientId)throw new Error("Invalid client id is provided.");if("divId"in e&&!e.divId)throw new Error("Invalid div id is provided.")}},{key:"validatePreviewConfig",value:function validatePreviewConfig(e){var t,n=this;e&&Object.keys(e).forEach((function(i){if(n._configKeysAndValidators[i]&&(t=n._configKeysAndValidators[i](i,e[i])))throw t}))}},{key:"validateFileInfoForPreviewConfig",value:function validateFileInfoForPreviewConfig(e,t){if(t.enableAnnotationAPIs&&e.metaData&&!e.metaData.id)throw new Error("File id is missing in file information metaData.");t.enableLinearization&&this.validateContentLinearizationInfo(e)}},{key:"validateFileInfo",value:function validateFileInfo(e){var t=this;e.content&&this._validateFileInfoContent(e.content),e.rendition&&Object.keys(e.rendition).forEach((function(n){t._validateFileInfoContent(e.rendition[n])}))}},{key:"validateNonPDFMimeType",value:function validateNonPDFMimeType(e){if(!e||"application/pdf"===e.toLowerCase())throw new Error("Only non PDF mime type is supported")}},{key:"validateCallback",value:function validateCallback(e,t,n){if("function"!=typeof t)throw new Error("Callback should be of Function type");var i=Object.keys(n);switch(e){case g.SAVE_API:i.forEach((function(e){if(-1!==["incremental","showError","showSaveButton","showEditStatusInfo"].indexOf(e)&&"boolean"!=typeof n[e])throw new Error("".concat(e," value should be of boolean type"));if(-1!==["autoSaveFrequency"].indexOf(e)&&"number"!=typeof n[e])throw new Error("".concat(e," value should be of number type"))}));break;case g.STATUS_API:i.forEach((function(e){if(-1!==["filePollFrequency","autoSaveFrequency"].indexOf(e)&&"number"!=typeof n[e])throw new Error("".concat(e," value should be of number type"));if(-1!==["enableFocusPolling"].indexOf(e)&&"boolean"!=typeof n[e])throw new Error("".concat(e," value should be of boolean type"))}));break;case g.EVENT_LISTENER:case g.SET_USER_SETTING_API:case g.GET_USER_SETTING_API:case g.GET_USER_PROFILE_API:case g.OPEN_LEGAL_DIALOG_API:case g.GET_RENDITION_API:break;default:this._validateOtherCallbacks(e)}}},{key:"_validateOtherCallbacks",value:function _validateOtherCallbacks(e){switch(e){case g.OPEN_LEGAL_DIALOG_API:case g.GET_RENDITION_API:break;default:throw new Error("Callback type ".concat(e," not supported"))}}},{key:"_validateFileInfoContent",value:function _validateFileInfoContent(e){if(!e.promise&&!e.location)throw new Error("Invalid content information is provided.");if(e.location&&!e.location.url)throw new Error("Invalid content information is provided.")}},{key:"validateUIActionConfig",value:function validateUIActionConfig(e){if(!e)return!1;if(e.length<=0)return!1;var t=!1,n=!1,i=!1,o=!1;return e.forEach((function(e){t="object"===G()(e),n=Object.keys(W).map((function(e){return W[e]})).some((function(t){return t===e.position})),i=Object.keys(q).map((function(e){return q[e]})).some((function(t){return t===e.iconType})),o="function"==typeof e.onClick})),t&&n&&i&&o}},{key:"validateContentLinearizationInfo",value:function validateContentLinearizationInfo(e){var t=e.content,n=t.linearizationInfo;if(!t.location&&!n)throw new Error("Invalid content linearization information is provided.");if(n&&(!n.getInfo||"function"!=typeof n.getInfo||!n.getInitialBuffer||"function"!=typeof n.getInitialBuffer||!n.getFileBufferRanges||"function"!=typeof n.getFileBufferRanges))throw new Error("Invalid content linearization information is provided.")}}]),ValidationService}(),Y=function(){function CallbackService(){o()(this,CallbackService)}return a()(CallbackService,[{key:"initialize",value:function initialize(){this._callbackMap=[],this._callbackOptionsMap=[]}},{key:"registerCallback",value:function registerCallback(e,t,n){this._callbackMap[e]=t,this._callbackOptionsMap[e]=n}},{key:"hasCallback",value:function hasCallback(e){return void 0!==this._callbackMap[e]}},{key:"getCallback",value:function getCallback(e){return this._callbackMap[e]}},{key:"getCallbackOptions",value:function getCallbackOptions(e){return this._callbackOptionsMap[e]}}]),CallbackService}(),J=function(){function EventHandlerService(){o()(this,EventHandlerService),this._eventListenOn=[],this._enablePDFAnalytics=!1,this._enableFilePreviewEvents=!1,this._enablePageOverlayEvents=!0,this._enableInternalEvents=!1,this._eventListenerMap={}}return a()(EventHandlerService,[{key:"initialize",value:function initialize(){this._registerDefaultEvents()}},{key:"registerEventListener",value:function registerEventListener(e,t){var n=this,i=function registerListener(e,t){n._eventListenerMap[e]||(n._eventListenerMap[e]=[]),n._eventListenerMap[e].push(t)};Array.isArray(e)?e.forEach((function(e){return i(e,t)})):i(e,t)}},{key:"setEventListener",value:function setEventListener(e,t){this._eventListener=e,t&&t.listenOn&&t.listenOn.length>0&&(this._eventListenOn=t.listenOn),t&&t.enablePDFAnalytics&&(this._enablePDFAnalytics=!0),t&&t.enableInternalEvents&&(this._enableInternalEvents=!0),t&&t.enableFilePreviewEvents&&(this._enableFilePreviewEvents=!0),t&&t.enableAnnotationEvents&&(this._enableAnnotationEvents=!0),t&&"boolean"==typeof t.enablePageOverlayEvents&&(this._enablePageOverlayEvents=t.enablePageOverlayEvents)}},{key:"_internalEventListner",value:function _internalEventListner(e){this._eventListenerMap[e.type]&&this._eventListenerMap[e.type].length>0&&this._eventListenerMap[e.type].forEach((function(t){return t({type:e.type,data:e.data})}))}},{key:"_exposeEvent",value:function _exposeEvent(e){if("function"==typeof this._eventListener){var t=e.type,n=!0;if(k[t]?n=this._enableInternalEvents:M[t]?n=this._enableFilePreviewEvents:x[t]?n=this._enablePageOverlayEvents:R[t]?n=this._enablePDFAnalytics:D[t]&&(n=this._enableAnnotationEvents),n&&(0===this._eventListenOn.length||-1!==this._eventListenOn.indexOf(t))){var i={type:t,data:e.data};this._eventListener(i)}}}},{key:"_registerDefaultEvents",value:function _registerDefaultEvents(){this.registerEventListener(k.RELOAD_APP,this._reloadListener.bind(this))}},{key:"_shouldTakeActionOnInternalEvents",value:function _shouldTakeActionOnInternalEvents(){return C.getService("AppStore").getConfig().takeActionOnInternalEvents}},{key:"_reloadListener",value:function _reloadListener(){this._shouldTakeActionOnInternalEvents()&&window.location.reload()}},{key:"handleEvent",value:function handleEvent(e){this._internalEventListner(e),this._exposeEvent(e)}}]),EventHandlerService}(),Z=n("JRPe"),X=n("1035"),Q=n.n(X),$=n("cmGi"),ee=n.n($),te=n("AJYP"),ne=n.n(te),ie=n("PTt1"),oe=n.n(ie),re=n("TrdP"),ae=n.n(re),se=n("LjnU"),le=n.n(se),ce=n("Z6Ro"),ue=n.n(ce),de=n("jtQn"),fe=n.n(de),pe=n("vSOm"),ge=n.n(pe),me=n("KAgo"),he=n.n(me),ve=n("laoy"),_e=n.n(ve),Ee=n("22ZZ"),be=n.n(Ee),Se=n("Tk0z"),Ae=n.n(Se),ye=n("Ktao"),Ie=n.n(ye),we=n("CrYA"),Pe=n.n(we),Te=n("3BAL"),Ne=n.n(Te),Oe=n("F03f"),Ce=n.n(Oe),Le=n("dVHv"),ke=n.n(Le),De=[{locale:"zz-ZZ",fields:oe.a[0].fields,pluralRuleFunction:oe.a[0].pluralRuleFunction}];Object(Z.addLocaleData)([].concat(N()(Q.a),N()(ee.a),N()(ne.a),N()(oe.a),N()(ae.a),N()(le.a),N()(ue.a),N()(fe.a),N()(ge.a),N()(he.a),N()(_e.a),N()(be.a),N()(Ae.a),N()(Ie.a),N()(Pe.a),N()(Ne.a),N()(Ce.a),N()(ke.a),De));var Fe={},Re=window.adobe_dc_sdk&&window.adobe_dc_sdk.cache?Object.keys(window.adobe_dc_sdk.cache.supportedLocales):["en-US"];Re.forEach((function(e){return Fe[e]=n("I3vQ")("./".concat(e,".json"))}));var Me=function(){function LocaleService(){o()(this,LocaleService),this.loadMergedTranslations=this.loadMergedTranslations.bind(this),this.loadedLocaleData=Fe}return a()(LocaleService,[{key:"initialize",value:function initialize(e){this._locale=function getFinalLocale(e){if(!e||e.indexOf("-")<0)return"en-US";var t=e.split("-"),n="".concat(t[0].toLowerCase(),"-").concat(t[1].toUpperCase());return Re.indexOf(n)<0?"en-US":n}(e)}},{key:"getLocale",value:function getLocale(){return this._locale}},{key:"_loadTranslationsWrapper",value:function _loadTranslationsWrapper(e){return Promise.resolve(p()(p()({},this.loadedLocaleData["en-US"]),this.loadedLocaleData[e]))}},{key:"loadMergedTranslations",value:function loadMergedTranslations(e){var t=this;return new Promise((function(n,i){var o=C.getService("AppStore");t._loadTranslationsWrapper(e).then((function(e){var t=p()(p()({},o.configStore.getConfig().localizationStrings),o.configStore.getActionConfig("preview").localizationStrings);n(p()(p()({},e),t))})).catch((function(e){return i(e)}))}))}}],[{key:"getAllAllowedLocales",value:function getAllAllowedLocales(){return Re}}]),LocaleService}(),xe=n("LQz3"),Be=n.n(xe),Ve=n("Rk5m"),Ue=n.n(Ve),ze=(n("byzO"),n("xk4V")),He=n.n(ze),je={SUBCATEGORY_USE:"Use",SUBCATEGORY_TYPE_CLICK:"Click",SELECTION_NAME:"files",CONTEXT:"Integration",FILE_PROGRESS_STATUS:{SAVED:"file.progress.status.saved",FAILED:"file.progress.status.failed",SAVING:"file.progress.status.saving",EDITED:"file.progress.status.edited"},FILE_PROGRESS_STATUS_REV:{"file.progress.status.saved":"SAVED","file.progress.status.failed":"FAILED","file.progress.status.saving":"SAVING","file.progress.status.edited":"EDITED"},SAVE_COMMENT_TYPE:{MANUAL:"manual",AUTO_SAVE_UNSAVED:"autoSaveUnsaved",AUTO_SAVE_FOCUS:"autoSaveFocus",AUTO_SAVE_FREQUENCY:"autoSaveFrequency",AUTO_SAVE_CONFLICT_COPY:"autoSaveConflictCopy",AUTO_SAVE_KEYDOWN:"autoSaveKeyDown",AUTO_SAVE_ON_EDIT:"autoSaveOnEdit"},STATE:{INITIAL:0,IMPORTED:1,CONVERTED:2},SHOW_TOAST:{CONFLICT:"conflict",SAVED:"saved",ERROR:"error"},TOAST_TYPE:{SUCCESS:"success",ERROR:"error",WARN:"warning",INFO:"info"}};var Ge,We,qe,Ke,Ye,Je,Ze,Xe,Qe,$e,et,tt,nt,it,ot,rt,at,st,lt,ct,ut,dt,ft,pt,gt=function isMobileBrowser(){var e=(new UAParser).getDevice().type;return!!e&&null!==e.match(/(phone|mobile)/i)},mt=function getBrowserOSDeviceInfo(){var e=new UAParser,t="-",n="-",i="-",o="-",r="-",a="-",s=e.getBrowser();s&&s.name&&(t=s.name,n=s.version,i=s.major);var l=e.getOS();l&&l.name&&(o=l.name,r=l.version);var c=e.getDevice();return c&&c.type&&(a=c.type),{browser:t,browserVersion:n,browserMajor:i,os:o,osVersion:r,deviceType:a}},ht=function rejectAPIPromise(e){[B.APP_RENDERING_FAILED,k.FILE_PREVIEW_FAILED].forEach((function(t){C.getService("EventHandlerService").handleEvent({type:t,data:{code:e}})}))},vt=function fixedToDigits(e,t){return Number(Number(e).toFixed(t))},_t=function isNonEmptyArray(e){return Array.isArray(e)&&e.length>0},Et=function isInt(e){return Number.isInteger(e)},bt=function isPositiveFloat(e){return function isFloat(e){return Number(e)===e}(e)&&e>0},St=function isNonEmptyString(e){return"string"==typeof e&&e.length>0},At=function deepCopyObject(e){var t=p()({},e);return Object.keys(e).forEach((function(n){(function isNonNullOrUndefined(e){return null!=e})(e[n])&&"object"===G()(e[n])&&!e[n].length&&(t[n]=p()(p()({},t[n]),deepCopyObject(e[n])))})),t},yt=function getDOMElement(){return window.document.getElementById("dc-view-sdk-bundle")},It=function isValidMobileViewMode(e){return!![I.SINGLE_PAGE,I.CONTINUOUS].find((function(t){return t===e}))},wt=a()((function Deferred(){var e=this;o()(this,Deferred),this.promise=new Promise((function(t,n){Object.defineProperties(e,{resolve:{value:t},reject:{value:n}})}))})),Pt={fileName:"",mimeType:"application/pdf",fileSize:"",thumbnailLink:"",parent:{folderName:"",folderisIntegrationPresetLink:""},modified:"",hasReadOnlyAccess:!1},Tt=(Ge=function(){function AppStore(){o()(this,AppStore),Be()(this,"appError",We,this),Be()(this,"previewError",qe,this),Be()(this,"fileInfoList",Ke,this),Be()(this,"dropinName",Ye,this),Be()(this,"previewRef",Je,this),Be()(this,"editAllowed",Ze,this),Be()(this,"isDirty",Xe,this),Be()(this,"fileStatus",Qe,this),Be()(this,"appRenderingBlocked",$e,this),Be()(this,"fileLoaded",et,this),Be()(this,"showLoader",tt,this),Be()(this,"progressText",nt,this),Be()(this,"sideMenuOpen",it,this),Be()(this,"fileLoadingProgress",ot,this),Be()(this,"searchOpen",rt,this),Be()(this,"textSelectionEnabled",at,this),Be()(this,"previewMetadata",st,this),Be()(this,"toastInfo",lt,this),Be()(this,"inFullScreen",ct,this),Be()(this,"userInfo",ut,this),Be()(this,"currentViewMode",dt,this),Be()(this,"isHidingBranding",ft,this),Be()(this,"isToolsInactive",pt,this),this.pdfMetadata={},this.isAppReady=!1,this.isRenditionOnly=!1,this.intl=void 0,this.heightInView=void 0,this.windowScrollListener=void 0,this.fullScreenIdInHUD=void 0,this.isOnDevice=!1,this.isIOS=!1,this.showViewMode=!1,this.documentViewUpdate={},this.preventDirtyPDF=!1,this.appClosed=!1,this.legalDialogOpen=!1,this.linearizationWaitPromise=new wt,this._sendEvent=function(e,t){C.getService("EventsService").sendEvent(e,t)},this.configStore=C.getService("ConfigStore"),this.uiActionConfigStore=C.getService("UIActionConfigStore")}return a()(AppStore,[{key:"initialize",value:function initialize(e){this.setAppClosed(!1),this.setConfig(e.config),this.setHeightInView(e.heightInView),this.setDropinName(e.action),this.configStore.setActionConfig("preview",e.actionConfig),this.initializeFileInfoList(e.fileInfoList),this.setPreviewMetadata(this.fileInfoList[0]),this.isRenditionOnly=!this.fileInfoList[0].content,this.isOnDevice=function isDeviceBrowser(){var e=(new UAParser).getDevice().type;return!!e&&null!==e.match(/(phone|mobile|tablet)/i)}(),this.isIOS=function isIOS(){return"ios"===(new UAParser).getOS().name.toLowerCase()}(),this.isIOS&&(this.configStore.setShowDownload(!1),this.configStore.setShowPrint(!1)),function isAndroid(){return"android"===(new UAParser).getOS().name.toLowerCase()}()&&this.configStore.setShowPrint(!1),this.initForPreset(),this.setUIActionConfig();var t=this.isIntegration||this.isFWPreset;this.showViewMode=t&&(gt()||this.configStore.getActionConfig("preview").showViewMode),this.showViewMode&&(this.currentViewMode=this.getActionConfig("preview").defaultViewMode||I.CONTINUOUS),this.isHidingBranding=this.showBrandingInHUD&&this.isFWPreset&&(!this.configStore.getActionConfig("preview").showPageControls||gt()),this.initForLinearization()}},{key:"rejectPromise",value:function rejectPromise(e){ht(e)}},{key:"initForLinearization",value:function initForLinearization(){var e=this;this.configStore.getActionConfig("preview").enableLinearization?C.getService("EventsService").registerEventListener(B.PDF_VIEWER_READY,(function(){C.getService("PerformanceService").setCompleteFileLoadedOn(),e.linearizationWaitPromise.resolve()})):this.linearizationWaitPromise.resolve()}},{key:"initForPreset",value:function initForPreset(){var e=this;if(this.isLBPreset?C.getService("EmbedModeService").LBOpenPDFViewer(this.isIOS):this.isFWPreset&&C.getService("EmbedModeService").FWOpenPDFViewer(),this.configStore.getActionConfig("preview").enableSearchAPIs){document.addEventListener("keydown",(function blockSearch(t){((t.metaKey||t.ctrlKey)&&70===t.keyCode||114===t.keyCode)&&(e.inFullScreen||t.stopImmediatePropagation())}))}C.getService("EmbedModeService").pdfViewerOpen()}},{key:"setAppClosed",value:function setAppClosed(e){this.appClosed=e,e&&(this.setFileStatus(void 0),this.setIsDirty(!1))}},{key:"setPDFMetadata",value:function setPDFMetadata(e){this.pdfMetadata=e}},{key:"setConfig",value:function setConfig(e){this.configStore.init(e),this.setShowLoader(this.getConfig().showFileLoadingProgress)}},{key:"setUserInfo",value:function setUserInfo(e){this.userInfo=e}},{key:"setCurrentViewMode",value:function setCurrentViewMode(e){this.currentViewMode=e}},{key:"setUIActionConfig",value:function setUIActionConfig(){this.uiActionConfigStore.init(this.configStore.getActionConfig("preview").uiActionConfig)}},{key:"getActionConfig",value:function getActionConfig(e){return this.configStore.getActionConfig(e)}},{key:"getUserInfo",value:function getUserInfo(){return this.userInfo}},{key:"getFileInfoList",value:function getFileInfoList(){return this.fileInfoList}},{key:"setWindowScrollListener",value:function setWindowScrollListener(e){this.windowScrollListener=e}},{key:"setHeightInView",value:function setHeightInView(e){if(this.heightInView=e,this.windowScrollListener){var t=e.viewStartH,n={viewTop:t,viewHeight:e.viewEndH-t,windowHeight:e.winHeight};this.windowScrollListener({data:n})}}},{key:"toggleLoaderWithText",value:function toggleLoaderWithText(e,t){this.setPlainProgressText(t),this.setShowLoader(e)}},{key:"setInFullScreen",value:function setInFullScreen(e){this.inFullScreen!==e&&(this.inFullScreen=e,C.getService("FullScreenManager").setFullScreen(e))}},{key:"setToastInfo",value:function setToastInfo(e){this.toastInfo=e}},{key:"setSearchOpen",value:function setSearchOpen(e){this.searchOpen=e,this._sendEvent(B.SEARCH_UI_TOGGLE,{shown:this.searchOpen})}},{key:"setTextSelectionEnabled",value:function setTextSelectionEnabled(e){this.textSelectionEnabled=e}},{key:"setSideMenuOpen",value:function setSideMenuOpen(e){this.sideMenuOpen=e}},{key:"setAppRenderingBlocked",value:function setAppRenderingBlocked(e){this.rejectPromise(L.API_RESPONSE.PREVIEW_RENDERING_FAILED),this.appRenderingBlocked=e,this.getConfig().showSimpleLoader||(this.setShowLoader(!1),C.getService("DialogApi").showBlockingDialogWithReload("FILE_PREVIEW_ERROR_TITLE","FILE_PREVIEW_ERROR_MSG"))}},{key:"setAppError",value:function setAppError(e){this.configStore.getSaveCallbackConfig().showError&&(this.appError=e)}},{key:"setPreviewError",value:function setPreviewError(e){this.configStore.getConfig().showPreviewErrors&&(this.previewError=e,this.setShowLoader(!1),this._fileRendertimeoutRef&&clearTimeout(this._fileRendertimeoutRef))}},{key:"initializeFileInfoList",value:function initializeFileInfoList(e){var t=this,n=[];e.forEach((function(e,i){var o=p()(p()({},Pt),e.metaData),r={content:e.content};r.metaData=o,r.metaData.fileName=r.metaData.fileName||r.metaData.name,e.metaData&&e.metaData.type&&!e.metaData.mimeType&&(r.metaData.mimeType=e.metaData.type),r.id=o.id?o.id:"".concat(i,":").concat(He()()),o.hasReadOnlyAccess&&t.setEditAllowed(!1),e.rendition&&(r.rendition=e.rendition),r.currentState=je.STATE.INITIAL,n.push(r)})),this.fileInfoList=n}},{key:"setFileInfoList",value:function setFileInfoList(e){this.fileInfoList=e}},{key:"setFileMetadata",value:function setFileMetadata(e,t){this.fileInfoList=this.fileInfoList.map((function(n){if(n.id===e){var i=p()(p()({},Pt),t);return p()(p()({},n),{},{metaData:i})}return n}))}},{key:"setPreviewMetadata",value:function setPreviewMetadata(e){this.setFileLoaded(!1),this.previewMetadata=e?{mimeType:e.metaData.mimeType,fileName:e.metaData.fileName,id:e.id,hasReadOnlyAccess:e.metaData.hasReadOnlyAccess||!1}:null}},{key:"setFileName",value:function setFileName(e){this.previewMetadata.fileName=e,this.fileInfoList.length>this.previewMetadata.id&&(this.fileInfoList[this.previewMetadata.id].metaData.fileName=e)}},{key:"setAppReady",value:function setAppReady(e){e&&!this.isAppReady&&(this.isAppReady=!0,this._sendEvent(B.APP_RENDERING_DONE))}},{key:"getFileInfoById",value:function getFileInfoById(e){var t=null;return this.fileInfoList.forEach((function(n){n.id===e&&(t=n)})),t}},{key:"setDropinName",value:function setDropinName(e){this.dropinName=e,this.isInPreview||this.setToastInfo(null)}},{key:"hideFileNameToast",get:function get(){return gt()&&(this.isSizedPreset||this.isLBPreset)}},{key:"hideScrubberInLB",get:function get(){return gt()&&this.isLBPreset}},{key:"isInPreview",get:function get(){return this.dropinName&&0===this.dropinName.toLowerCase().indexOf("preview")}},{key:"isInLinePreset",get:function get(){return this.isInPreview&&this.configStore.getActionConfig("preview").embedMode===b.IN_LINE}},{key:"isFWPreset",get:function get(){return this.isInPreview&&this.configStore.getActionConfig("preview").embedMode===b.FULL_WINDOW}},{key:"isSizedPreset",get:function get(){return this.isInPreview&&this.configStore.getActionConfig("preview").embedMode===b.SIZED_CONTAINER}},{key:"isLBPreset",get:function get(){return this.isInPreview&&this.configStore.getActionConfig("preview").embedMode===b.LIGHT_BOX}},{key:"isIntegration",get:function get(){return this.isInPreview&&"INTEGRATION"===this.configStore.getActionConfig("preview").embedMode}},{key:"isEditAllowed",get:function get(){return this.editAllowed&&!this.isRenditionOnly&&!this.hasReadOnlyFile}},{key:"hasReadOnlyFile",get:function get(){return this.fileInfoList.filter((function(e){return e.metaData.hasReadOnlyAccess})).length>0}},{key:"isOnlyNonPDF",get:function get(){return 1===this.fileInfoList.length&&"application/pdf"!==this.fileInfoList[0].metaData.mimeType}},{key:"showToast",get:function get(){return this.toastInfo&&this.toastInfo.type&&(this.toastInfo.type===je.SHOW_TOAST.ERROR||this.toastInfo.data)}},{key:"showBrandingInHUD",get:function get(){return this.configStore.getConfig().showBranding&&(this.isSizedPreset||this.isInLinePreset||this.isFWPreset)}},{key:"showBrandingInHeader",get:function get(){return this.configStore.getConfig().showBranding&&!this.showBrandingInHUD}},{key:"setIsHidingBranding",value:function setIsHidingBranding(e){this.showBrandingInHUD&&(this.isHidingBranding=e)}},{key:"setPreviewRef",value:function setPreviewRef(e){this.previewRef=e}},{key:"setIsDirty",value:function setIsDirty(e){this.isDirty=e,this.configStore.getConfig().showTopBar||(this.isDirty&&this.fileStatus!==je.FILE_PROGRESS_STATUS.SAVING?this.setFileStatus(je.FILE_PROGRESS_STATUS.EDITED):this.fileStatus===je.FILE_PROGRESS_STATUS.EDITED&&this.setFileStatus(void 0))}},{key:"setFileStatus",value:function setFileStatus(e){this.isDirty&&e===je.FILE_PROGRESS_STATUS.SAVED?this.fileStatus=je.FILE_PROGRESS_STATUS.EDITED:this.fileStatus=e,this.configStore.getConfig().showTopBar||this._sendEvent(B.FILE_STATUS,{status:je.FILE_PROGRESS_STATUS_REV[this.fileStatus]})}},{key:"setIsToolsInactive",value:function setIsToolsInactive(e){this.isToolsInactive=e}},{key:"sendActionConfigUpdate",value:function sendActionConfigUpdate(){this.previewRef&&this._sendEvent(k.ACTION_CONFIG_UPDATE,{editAllowed:this.isEditAllowed,showDownload:this.configStore.showDownload,showFullScreen:this.configStore.showFullScreen,showPrint:this.configStore.showPrint,showCommentingToolbar:this.configStore.showCommentingToolbar})}},{key:"setEditAllowed",value:function setEditAllowed(e){this.editAllowed=e,this.sendActionConfigUpdate()}},{key:"setShowLoader",value:function setShowLoader(e){this.showLoader=e}},{key:"setPlainProgressText",value:function setPlainProgressText(e){this.progressText=e}},{key:"setFileLoadingProgress",value:function setFileLoadingProgress(e,t){if(t){var n=0;e&&(n=parseInt(e,10)),this.fileLoadingProgress=Math.ceil(n/t*100),this._sendEvent(k.FILE_LOADING_PROGRESS,{bytesLoaded:e,totalBytes:t})}this.showFileLoadingProgress()}},{key:"showFileLoadingProgress",value:function showFileLoadingProgress(){var e=this;if(this.isInPreview&&!this.configStore.isThumbnailView){if(this.intl){var t="".concat(this.intl.formatMessage({id:"FILE_LOADING"}));t=this.configStore.isLinearizationInitiallyEnabled?t:"".concat(t," ").concat(this.fileLoadingProgress,"%"),this.setPlainProgressText(t)}this.fileLoadingProgress>99&&!this._fileRendertimeoutRef&&!this.getConfig().showSimpleLoader&&(C.getService("PerformanceService").setFileDownloadCompletedOn(),this._fileRendertimeoutRef=setTimeout((function(){e.fileLoaded||e.appClosed||e.appRenderingBlocked||(C.getService("LoggingService").error("AppStore","Error in preview, file rendering timeout"),e.setAppRenderingBlocked(!0))}),6e4))}}},{key:"setFileLoaded",value:function setFileLoaded(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.fileLoaded=e,e&&(this.setShowLoader(!1),this.setPlainProgressText(""),this._fileRendertimeoutRef&&clearTimeout(this._fileRendertimeoutRef)),this._sendEvent(k.FILE_FIRST_PAGE_LOADING_DONE,{pageLoaded:e,dialogOpen:t})}},{key:"isHidingHeader",get:function get(){return this.configStore.getConfig().showTopBar&&(this.isInLinePreset||this.isSizedPreset||this.isLBPreset)}},{key:"shouldAdjustSearchUIBelowTopBar",get:function get(){var e=this.configStore.getActionConfig("preview");return!(!e.showAnnotationTools||gt()||!this.editAllowed||!this.configStore.getConfig().showTopBar)&&e.adjustSearchUIBelowTopBar}},{key:"shouldHideAnnotationTools",get:function get(){return gt()||!this.isEditAllowed||!this.configStore.showCommentingToolbar||!this.getActionConfig("preview").showAnnotationTools}},{key:"setIntl",value:function setIntl(e){this.intl=e,this.showFileLoadingProgress()}},{key:"getConfig",value:function getConfig(){return this.configStore.getConfig()}},{key:"getConfigStore",value:function getConfigStore(){return this.configStore}},{key:"getUIActionConfig",value:function getUIActionConfig(){return this.uiActionConfigStore}},{key:"getAnnotationFlag",value:function getAnnotationFlag(){var e=this.getActionConfig("preview");if(e.selectivelyRenderAnnotsFlag)return e.selectivelyRenderAnnotsFlag;if(e.showAnnotationTools){var t=C.getService("CommentsApi");return e.enableFormFilling&&t.isFreetextEnabled()?"4293899514":!e.enableFormFilling&&t.isFreetextEnabled()?"4294948090":e.enableFormFilling&&!t.isFreetextEnabled()?"4294948094":"4293899518"}}},{key:"getLinearizationWaitPromise",value:function getLinearizationWaitPromise(){return this.linearizationWaitPromise.promise}}]),AppStore}(),We=Ue()(Ge.prototype,"appError",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),qe=Ue()(Ge.prototype,"previewError",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ke=Ue()(Ge.prototype,"fileInfoList",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ye=Ue()(Ge.prototype,"dropinName",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Je=Ue()(Ge.prototype,"previewRef",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ze=Ue()(Ge.prototype,"editAllowed",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return!0}}),Xe=Ue()(Ge.prototype,"isDirty",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return!1}}),Qe=Ue()(Ge.prototype,"fileStatus",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$e=Ue()(Ge.prototype,"appRenderingBlocked",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return!1}}),et=Ue()(Ge.prototype,"fileLoaded",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return!1}}),tt=Ue()(Ge.prototype,"showLoader",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return!0}}),nt=Ue()(Ge.prototype,"progressText",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return""}}),it=Ue()(Ge.prototype,"sideMenuOpen",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return!1}}),ot=Ue()(Ge.prototype,"fileLoadingProgress",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return 0}}),rt=Ue()(Ge.prototype,"searchOpen",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return!1}}),at=Ue()(Ge.prototype,"textSelectionEnabled",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return!0}}),st=Ue()(Ge.prototype,"previewMetadata",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),lt=Ue()(Ge.prototype,"toastInfo",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return null}}),ct=Ue()(Ge.prototype,"inFullScreen",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return!1}}),ut=Ue()(Ge.prototype,"userInfo",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return{}}}),dt=Ue()(Ge.prototype,"currentViewMode",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ft=Ue()(Ge.prototype,"isHidingBranding",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),pt=Ue()(Ge.prototype,"isToolsInactive",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return!1}}),Ue()(Ge.prototype,"setUserInfo",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setUserInfo"),Ge.prototype),Ue()(Ge.prototype,"setCurrentViewMode",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setCurrentViewMode"),Ge.prototype),Ue()(Ge.prototype,"setInFullScreen",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setInFullScreen"),Ge.prototype),Ue()(Ge.prototype,"setToastInfo",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setToastInfo"),Ge.prototype),Ue()(Ge.prototype,"setSearchOpen",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setSearchOpen"),Ge.prototype),Ue()(Ge.prototype,"setTextSelectionEnabled",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setTextSelectionEnabled"),Ge.prototype),Ue()(Ge.prototype,"setSideMenuOpen",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setSideMenuOpen"),Ge.prototype),Ue()(Ge.prototype,"setAppRenderingBlocked",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setAppRenderingBlocked"),Ge.prototype),Ue()(Ge.prototype,"setAppError",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setAppError"),Ge.prototype),Ue()(Ge.prototype,"setPreviewError",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setPreviewError"),Ge.prototype),Ue()(Ge.prototype,"initializeFileInfoList",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"initializeFileInfoList"),Ge.prototype),Ue()(Ge.prototype,"setFileInfoList",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setFileInfoList"),Ge.prototype),Ue()(Ge.prototype,"setFileMetadata",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setFileMetadata"),Ge.prototype),Ue()(Ge.prototype,"setPreviewMetadata",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setPreviewMetadata"),Ge.prototype),Ue()(Ge.prototype,"setFileName",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setFileName"),Ge.prototype),Ue()(Ge.prototype,"setDropinName",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setDropinName"),Ge.prototype),Ue()(Ge.prototype,"hideFileNameToast",[d.computed],Object.getOwnPropertyDescriptor(Ge.prototype,"hideFileNameToast"),Ge.prototype),Ue()(Ge.prototype,"hideScrubberInLB",[d.computed],Object.getOwnPropertyDescriptor(Ge.prototype,"hideScrubberInLB"),Ge.prototype),Ue()(Ge.prototype,"isInPreview",[d.computed],Object.getOwnPropertyDescriptor(Ge.prototype,"isInPreview"),Ge.prototype),Ue()(Ge.prototype,"isInLinePreset",[d.computed],Object.getOwnPropertyDescriptor(Ge.prototype,"isInLinePreset"),Ge.prototype),Ue()(Ge.prototype,"isFWPreset",[d.computed],Object.getOwnPropertyDescriptor(Ge.prototype,"isFWPreset"),Ge.prototype),Ue()(Ge.prototype,"isSizedPreset",[d.computed],Object.getOwnPropertyDescriptor(Ge.prototype,"isSizedPreset"),Ge.prototype),Ue()(Ge.prototype,"isLBPreset",[d.computed],Object.getOwnPropertyDescriptor(Ge.prototype,"isLBPreset"),Ge.prototype),Ue()(Ge.prototype,"isIntegration",[d.computed],Object.getOwnPropertyDescriptor(Ge.prototype,"isIntegration"),Ge.prototype),Ue()(Ge.prototype,"isEditAllowed",[d.computed],Object.getOwnPropertyDescriptor(Ge.prototype,"isEditAllowed"),Ge.prototype),Ue()(Ge.prototype,"hasReadOnlyFile",[d.computed],Object.getOwnPropertyDescriptor(Ge.prototype,"hasReadOnlyFile"),Ge.prototype),Ue()(Ge.prototype,"isOnlyNonPDF",[d.computed],Object.getOwnPropertyDescriptor(Ge.prototype,"isOnlyNonPDF"),Ge.prototype),Ue()(Ge.prototype,"showToast",[d.computed],Object.getOwnPropertyDescriptor(Ge.prototype,"showToast"),Ge.prototype),Ue()(Ge.prototype,"showBrandingInHUD",[d.computed],Object.getOwnPropertyDescriptor(Ge.prototype,"showBrandingInHUD"),Ge.prototype),Ue()(Ge.prototype,"showBrandingInHeader",[d.computed],Object.getOwnPropertyDescriptor(Ge.prototype,"showBrandingInHeader"),Ge.prototype),Ue()(Ge.prototype,"setIsHidingBranding",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setIsHidingBranding"),Ge.prototype),Ue()(Ge.prototype,"setPreviewRef",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setPreviewRef"),Ge.prototype),Ue()(Ge.prototype,"setIsDirty",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setIsDirty"),Ge.prototype),Ue()(Ge.prototype,"setFileStatus",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setFileStatus"),Ge.prototype),Ue()(Ge.prototype,"setIsToolsInactive",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setIsToolsInactive"),Ge.prototype),Ue()(Ge.prototype,"setEditAllowed",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setEditAllowed"),Ge.prototype),Ue()(Ge.prototype,"setShowLoader",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setShowLoader"),Ge.prototype),Ue()(Ge.prototype,"setPlainProgressText",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setPlainProgressText"),Ge.prototype),Ue()(Ge.prototype,"setFileLoadingProgress",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setFileLoadingProgress"),Ge.prototype),Ue()(Ge.prototype,"setFileLoaded",[d.action],Object.getOwnPropertyDescriptor(Ge.prototype,"setFileLoaded"),Ge.prototype),Ue()(Ge.prototype,"isHidingHeader",[d.computed],Object.getOwnPropertyDescriptor(Ge.prototype,"isHidingHeader"),Ge.prototype),Ue()(Ge.prototype,"shouldAdjustSearchUIBelowTopBar",[d.computed],Object.getOwnPropertyDescriptor(Ge.prototype,"shouldAdjustSearchUIBelowTopBar"),Ge.prototype),Ue()(Ge.prototype,"shouldHideAnnotationTools",[d.computed],Object.getOwnPropertyDescriptor(Ge.prototype,"shouldHideAnnotationTools"),Ge.prototype),Ge),Nt=n("+lnk"),Ot="APP_PERF_DATA",Ct="SAVE_COMMENT",Lt="SAVE_COMMENT_CONFLICT",kt="SAVE_COMMENT_ERROR",Dt="SAVE_API",Ft=function(){function LoggingService(){o()(this,LoggingService),this._loggers={}}return a()(LoggingService,[{key:"initialize",value:function initialize(e){this._logToConsole=e}},{key:"logExternal",value:function logExternal(){this._logToConsole&&m.apply(void 0,arguments)}},{key:"getLogger",value:function getLogger(e){return this._loggers[e]||(this._loggers[e]=Nt.logging.getLogger(e)),this._loggers[e]}},{key:"getLogObject",value:function getLogObject(e){return{level:e}}},{key:"emit",value:function emit(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=this.getLogger(e);if(o){var r=Object.assign(i,this.getLogObject(t));o.emit(n,r)}else this.logExternal(n,i)}},{key:"info",value:function info(e){for(var t=this.getLogger(e),n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];t?t.info.apply(t,i):this.logExternal.apply(this,["[INFO]"].concat(i))}},{key:"debug",value:function debug(e){for(var t=this.getLogger(e),n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];t?t.debug.apply(t,i):this.logExternal.apply(this,["[DEBUG]"].concat(i))}},{key:"warn",value:function warn(e){for(var t=this.getLogger(e),n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];t?t.warn.apply(t,i):this.logExternal.apply(this,["[WARNING]"].concat(i))}},{key:"error",value:function error(e){for(var t=this.getLogger(e),n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];t?t.error.apply(t,i):this.logExternal.apply(this,["[ERROR]"].concat(i))}}]),LoggingService}(),Rt=n("DjBF"),Mt=n.n(Rt),xt={workflows:{filePreview:["preview","show","show"],brandArea:["BrandArea","Use","Clicked"],helpIcon:["Help","Use","Clicked"],legalNotices:["Legal Notices","Use","Clicked"],sideMenuCallToAction:["SideMenuCallToAction","Use","Clicked"],hudBrandArea:["HUDBrandArea","Use","Clicked"],floatingBrandArea:["FloatingBrandArea","Use","Clicked"]},customs:{clickCtxt:"adb.event.context.dcweb.clickcontext"}},Bt=function(){function AnalyticsProviderService(){o()(this,AnalyticsProviderService)}return a()(AnalyticsProviderService,[{key:"CUSTOM_EVENTS",get:function get(){return xt}},{key:"logEvent",value:function logEvent(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.eventSender||(this.eventSender=Nt.analytics.getEventSender("dc-view-sdk")),this.eventSender({event:e,custom:t})}},{key:"sendEvent",value:function sendEvent(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=this.CUSTOM_EVENTS.workflows[e]||[],r=Mt()(o,4),a=r[0],s=r[1],l=r[2],c=r[3];if(a){var u={workflow:a,subcategory:s,type:l,subtype:c};t&&(u.value=t);var d={};Object.keys(i).filter((function(e){return n.CUSTOM_EVENTS.customs[e]})).forEach((function(e){var t=n.CUSTOM_EVENTS.customs[e];d[t]=i[e]})),this.logEvent(u,d)}else C.getService("LoggingService").info("AnalyticsProviderService","No custom event found ".concat(e))}}]),AnalyticsProviderService}(),Vt=function downloadFile(){return new Promise((function(e,t){C.getService("AppStore").previewRef.getApis("INTEGRATION_CONNECTOR",["document","documentActions"]).then((function(t){t.document.getUpdatedPDFBuffer(),t.documentActions.downloadDocument(),C.getService("AppStore").setFileStatus(null),e()})).catch((function(e){C.getService("LoggingService").error("downloadFile","The downloadFile action throw an error",e),t(e)}))}))},Ut=function updateFile(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:je.SAVE_COMMENT_TYPE.MANUAL;return new Promise((function(n,i){var o=C.getService("AppStore"),r=o.fileInfoList[0].metaData,a=C.getService("PollingService");a.stopPolling(),o.previewRef.getApis("INTEGRATION_CONNECTOR",["document"]).then((function(s){return s.document.getUpdatedPDFBuffer(o.configStore.getSaveCallbackConfig().incremental).then((function(s){var l=(new Date).getTime(),c=s.length,u=!!e.updated,d=function saveCommentStatusLogging(e){var n=(new Date).getTime();C.getService("LoggingService").emit("saveHandler","info",e,{saveAs:u,saveType:t,size:c,st:l,et:n});var i={workflow:"pdf",subcategory:"annotation",type:u?"conflict":"save",subtype:t},o={"adb.event.context.pdfviewer.file_size":c/1024,"adb.event.context.pdfviewer.saveTime":(n-l)/1e3};C.getService("AnalyticsProviderService").logEvent(i,o)},f=C.getService("CallbackService").getCallback(g.SAVE_API),m={};u&&(m.saveAs=!0),f(At(r),s,m).then((function(e){if(e.code===L.API_RESPONSE.SUCCESS){if(d(Ct),u){var t=function getParent(){return e.data&&e.data.metaData&&e.data.metaData.parent||{}}();o.setToastInfo({type:je.SHOW_TOAST.CONFLICT,data:t})}(o.isDirty||o.configStore.getPollingConfig().keepPolling)&&a.startPolling(),n(e.data.metaData)}if(e.code===L.API_RESPONSE.FILE_MODIFIED){o.setShowLoader(!1),d(Lt);C.getService("AnalyticsProviderService").logEvent({workflow:"preview",subcategory:"updated save",type:"CONFLICT"},{}),C.getService("DialogApi").showConflictDialog(p()(p()({},e.data.modifiedBy),{},{onCancel:function onCancel(){o.setFileStatus(void 0),o.setIsDirty(!0),Ht({updated:!0},je.SAVE_COMMENT_TYPE.AUTO_SAVE_CONFLICT_COPY).catch((function(e){return i(e)}))}}))}})).catch((function(e){C.getService("LoggingService").emit("saveHandler","INFO","Save comment failed ".concat(JSON.stringify(e)),{}),d(kt),i(e)}))}))}))}))},zt=function logInfo(e){var t=e&&e.message?e.message:"";C.getService("LoggingService").info("saveFile",Dt,t)},Ht=function saveFile(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:je.SAVE_COMMENT_TYPE.MANUAL;return new Promise((function(n,i){var o=C.getService("AppStore"),r=!o.shouldHideAnnotationTools,a=o.configStore.isThumbnailView;(o.isInPreview&&!a&&r?function(){return C.getService("CommentsApi").commitUnsavedChanges()}:function(){return Promise.resolve()})().finally((function(){o.isDirty?function saveMethod(e,t){return new Promise((function(n,i){var o=C.getService("AppStore");if(o.fileStatus===je.FILE_PROGRESS_STATUS.SAVING)i();else{o.setFileStatus(je.FILE_PROGRESS_STATUS.SAVING),o.setIsDirty(!1);var r=function success(e){var t=o.fileInfoList[0].id;o.setFileStatus(je.FILE_PROGRESS_STATUS.SAVED),o.fileInfoList[0].asset&&(o.setUseAcrobatJs(!1),o.removeAsset(t)),e?(o.setFileMetadata(t,e),n(e)):n()},a=function fail(e){zt(e),o.setFileStatus(je.FILE_PROGRESS_STATUS.FAILED),o.setIsDirty(!0),o.setAppError(e),i(e)};C.getService("CallbackService").hasCallback(g.SAVE_API)?Ut(e,t).then((function(e){return r(e)})).catch((function(e){return a(e)})):Vt().then((function(){return r()})).catch((function(e){return a(e)}))}}))}(e,t).then((function(e){n(e)})).catch((function(e){i(e)})):n()}))}))},jt=function(){function PollingService(){o()(this,PollingService),this.firstTimePoll=!0,this.pollingInProgress=!1,this.filePollCounter=0}return a()(PollingService,[{key:"initialize",value:function initialize(){var e=this,t=C.getService("AppStore");C.getService("EventsService").registerEventListener(k.PREVIEW_REF_READY,(function(){var n=t.getActionConfig("preview");(n.showAnnotationTools||n.enableFormFilling)&&(t.configStore.getPollingConfig().keepPolling&&C.getService("EventsService").registerEventListener(B.APP_RENDERING_DONE,(function(){e.startPolling()})),t.previewRef.getApis("INTEGRATION_CONNECTOR",["document"]).then((function(n){return n.document.subscribeToPDFEditOperations((function(){return n.document.isDirty().then((function(n){t.isInPreview&&!t.preventDirtyPDF&&(e.firstTimePoll&&(e.pollFile(),e.firstTimePoll=!1),e.pollingAction(n),t.setIsDirty(n))}))}))})).catch((function(e){C.getService("LoggingService").error("PollingService","Error in calling preview dirty apis: ".concat(JSON.stringify(e)))})))})),C.getService("CommentsApi").isSharedCommentingMode()&&C.getService("CommentsApi").registerCommentsEventListener((function(n){-1!==[D.ANNOTATION_ADDED,D.ANNOTATION_DELETED,D.ANNOTATION_UPDATED].indexOf(n)&&t.isInPreview&&!t.isDownloadPrintInProgress&&(e.firstTimePoll&&(e.pollFile(),e.firstTimePoll=!1),e.pollingAction(!0),t.setIsDirty(!0))}))}},{key:"_resetPoller",value:function _resetPoller(){this.filePollCounter=0,this.pollCounter=0}},{key:"pollingAction",value:function pollingAction(e){e?this.startPolling():this.stopPolling()}},{key:"startPolling",value:function startPolling(){var e=this,t=C.getService("AppStore");document.addEventListener("keydown",this.handleKeyDown.bind(this));var n=t.configStore.getPollingConfig();this._resetPoller(),this.poller||(this.poller=setInterval((function(){e.pollCounter+=1,e.filePollCounter+=1,e.filePollCounter===n.filePollFrequency&&n.filePollFrequency>0&&e.pollFile(),e.pollCounter===n.autoSaveFrequency&&n.autoSaveFrequency>0&&Ht({},je.SAVE_COMMENT_TYPE.AUTO_SAVE_FREQUENCY).catch((function(){})),!document.hasFocus()&&n.enableFocusPolling&&Ht({},je.SAVE_COMMENT_TYPE.AUTO_SAVE_FOCUS).catch((function(){}))}),1e3))}},{key:"stopPolling",value:function stopPolling(){clearInterval(this.poller),this.poller=void 0,this._resetPoller()}},{key:"handleKeyDown",value:function handleKeyDown(e){var t=C.getService("AppStore"),n=String.fromCharCode(e.which).toLowerCase();(e.metaKey||e.ctrlKey)&&"s"===n&&(e.preventDefault(),t.isInPreview&&Ht({},je.SAVE_COMMENT_TYPE.AUTO_SAVE_KEYDOWN).catch((function(){}))),this._resetPoller()}},{key:"pollFile",value:function pollFile(){var e=this,t=C.getService("AppStore"),n=C.getService("CallbackService");if(t.fileStatus!==je.FILE_PROGRESS_STATUS.SAVING&&!this.pollingInProgress&&n.hasCallback(g.STATUS_API)){this.pollingInProgress=!0;var i=this.firstTimePoll;n.getCallback(g.STATUS_API)(At(t.fileInfoList[0].metaData)).then((function(n){if(e.pollingInProgress=!1,n.code===L.API_RESPONSE.FILE_MODIFIED){var o={workflow:"preview",subcategory:"updated check",type:i?"GET LATEST FILE":"CONFLICT"};C.getService("AnalyticsProviderService").logEvent(o,{}),e.stopPolling();var r=t.isIntegration&&(null==n?void 0:n.showNewFileDialog);i||r?C.getService("DialogApi").showNewFileDialog(p()({},n.data.modifiedBy)):C.getService("DialogApi").showConflictDialog(p()(p()({},n.data.modifiedBy),{},{onCancel:function onCancel(){Ht(n,je.SAVE_COMMENT_TYPE.AUTO_SAVE_CONFLICT_COPY).catch((function(){}))}}))}else e.filePollCounter=0})).catch((function errorHandler(t){e.pollingInProgress=!1}))}}}]),PollingService}(),Gt=b.FULL_WINDOW,Wt={showTopBar:!1,showBrandingTitle:!0,showLegalNotice:!1,leftAlignFileName:!1,showFileLoadingProgress:!0,showSimpleLoader:!1,showUploadFileLoader:!1,fullScreenLoader:!1,supportUrl:"",integrationName:"",localizationStrings:{},externalJSComponentURL:"",takeActionOnInternalEvents:!0,workOnInLineIndependently:!0,supportDarkMode:!1,fileDownloadAbortable:!1},qt={preview:{embedMode:Gt,assetType:"/external",showAnnotationTools:!0,enableAnnotationAPIs:!1,enableSearchAPIs:!1,includePDFAnnotations:!1,showLeftHandPanel:!0,showPageControls:!0,showDownloadPDF:!0,showPrintPDF:!0,showFitPageButton:!0,showFitWidthButton:!0,showRotateViewControl:!1,showZoomControl:!0,showPageNavigationControl:!0,defaultViewMode:"",enableFormFilling:!0,docViewBgColor:"#CACACA",showFullScreenInHUD:!1,localizationStrings:{},annotationUIConfig:{},shouldRenderCommentsDropin:!1,shouldRenderSignAuthoringDropin:!1,shouldRenderVisualizerDropin:!1,disableContextMenuAutoTrigger:!1,selectivelyRenderAnnotsFlag:void 0,shouldDisableDownloadInContextMenu:!1,adjustSearchUI:!0,adjustSearchUIBelowTopBar:!0,alternateAssetUri:"",dcapiRenditionSize:800,dcapiRenditionFormat:"png",uiActionConfig:[],fixedWidthLeftMargin:void 0,fixedWidthRightMargin:void 0,hudBottomMargin:void 0,showViewMode:!1,showFileNameToast:void 0,showScrubber:void 0,disableUnsupportedFeatureAlert:!1,shouldUseModernViewer:!1,enableEraserAnnotationTool:!1,enableFreeTextAnnotationTool:!0,enableLinearization:!1,linearizationConfig:{makeMultipartRangeCalls:!1,initiateEarlyFileDownload:!0},enableEdit:!1,usePartialEdit:!1,saveBeforeUnload:!1,useIframelessPrint:!1,editDeepLink:!1}},Kt={autoSaveFrequency:30,filePollFrequency:10,enableFocusPolling:!0,keepPolling:!1},Yt={autoSaveFrequency:0,filePollFrequency:0,enableFocusPolling:!1,keepPolling:!1},Jt={incremental:!1,autoSaveFrequency:0,enableFocusPolling:!1,showSaveButton:!0,showError:!0,showEditStatusInfo:!0},Zt={incremental:!1,autoSaveFrequency:0,enableFocusPolling:!1,showSaveButton:!0,showError:!0,showEditStatusInfo:!0},Xt={INTEGRATION:{config:{backgroundColor:"#eaeaea",showBranding:!0,showPreviewErrors:!1},actionConfig:{showFullScreen:!1}},FULL_WINDOW:{config:{backgroundColor:"#eaeaea",showBranding:!1},actionConfig:{showFullScreen:!1,dockPageControls:!0}},LIGHT_BOX:{config:{backgroundColor:"rgba(0, 0, 0, 0.6)",showBranding:!0},actionConfig:{exitPDFViewerType:A,showFullScreen:!1,dockPageControls:!1}},SIZED_CONTAINER:{config:{backgroundColor:"#eaeaea",showBranding:!0},actionConfig:{showFullScreen:!0,dockPageControls:!0}},IN_LINE:{config:{backgroundColor:"#fff",showBranding:!0},actionConfig:{showFullScreen:!1}}},Qt={INTEGRATION:{config:{showTopBar:!0,leftAlignFileName:!1,backgroundColor:"#eaeaea",externalJSComponentURL:""},actionConfig:{exitPDFViewerType:"",enableBookmarkAPIs:!0,enableAttachmentAPIs:!0,showFullScreen:!1,dockPageControls:!1,showDownloadPDFInPageControl:!1,showFullScreenInHUD:!1,enableLinearization:!1}},FULL_WINDOW:{config:{leftAlignFileName:!0,showBrandingTitle:!1,supportUrl:"",integrationName:"",localizationStrings:{}},actionConfig:{exitPDFViewerType:"",showDownloadPDFInPageControl:!1,enableBookmarkAPIs:!0,enableAttachmentAPIs:!0,showFullScreenInHUD:!1,localizationStrings:{},useIframelessPrint:!1}},LIGHT_BOX:{config:{leftAlignFileName:!0,showBrandingTitle:!1,supportUrl:"",integrationName:"",localizationStrings:{}},actionConfig:{showAnnotationTools:!1,enableAnnotationAPIs:!1,enableBookmarkAPIs:!1,enableAttachmentAPIs:!1,includePDFAnnotations:!1,enableFormFilling:!1,showLeftHandPanel:!1,showDownloadPDFInPageControl:!1,showFullScreenInHUD:!1,showFullScreen:!1,localizationStrings:{},adjustSearchUI:!1,shouldUseModernViewer:!1,enableLinearization:!1,enableEdit:!1,useIframelessPrint:!1}},SIZED_CONTAINER:{config:{leftAlignFileName:!0,showBrandingTitle:!1,supportUrl:"",integrationName:"",localizationStrings:{},externalJSComponentURL:""},actionConfig:{exitPDFViewerType:"",showAnnotationTools:!1,enableAnnotationAPIs:!1,enableBookmarkAPIs:!1,enableAttachmentAPIs:!1,includePDFAnnotations:!1,enableFormFilling:!1,showLeftHandPanel:!1,showPageControls:!0,showFitPageButton:!1,showFitWidthButton:!1,showRotateViewControl:!1,showZoomControl:!1,defaultViewMode:"SINGLE_PAGE",showFullScreenInHUD:!0,showDownloadPDFInPageControl:!1,showPageNavigationControl:!0,localizationStrings:{},adjustSearchUI:!1,shouldUseModernViewer:!1,enableLinearization:!1,enableEdit:!1,useIframelessPrint:!1}},IN_LINE:{config:{leftAlignFileName:!0,showTopBar:!1,showBrandingTitle:!1,supportUrl:"",integrationName:"",localizationStrings:{},externalJSComponentURL:""},actionConfig:{exitPDFViewerType:"",showAnnotationTools:!1,enableAnnotationAPIs:!1,enableBookmarkAPIs:!1,enableAttachmentAPIs:!1,includePDFAnnotations:!1,enableFormFilling:!1,showLeftHandPanel:!1,showPageControls:!0,dockPageControls:!1,showFitPageButton:!1,showFitWidthButton:!1,defaultViewMode:"IN_PLACE",showFullScreen:!1,showFullScreenInHUD:!1,showRotateViewControl:!1,showZoomControl:!1,showDownloadPDFInPageControl:!0,showPageNavigationControl:!0,localizationStrings:{},adjustSearchUI:!1,shouldUseModernViewer:!1,enableLinearization:!1,enableEdit:!1,useIframelessPrint:!1}}},$t=["stickyNote","highlight","freehandTool","freetext","eraserTool"],en=[].concat($t,["undo","redo"]),tn=["undo","redo","freetext","stickyNote","highlight","freehandTool","eraserTool","documentSearch","documentPrint"],nn=function(){function EventsService(){o()(this,EventsService),this._handleEvent=this._handleEvent.bind(this),this._previewRef=void 0,this._eventListenerMap={},this._pageInViewSent=0,this._currentZoom=0}return a()(EventsService,[{key:"registerEventListener",value:function registerEventListener(e,t){this._eventListenerMap[e]||(this._eventListenerMap[e]=[]),this._eventListenerMap[e].push(t)}},{key:"_getTopbarActionEventType",value:function _getTopbarActionEventType(){return B.ACTION_ICONS}},{key:"initialize",value:function initialize(e){var t=this;if(!this._previewRef){this._previewRef=e;var n=function listenEvent(e,n,i){e.on(n,t._handleEvent(i))},i=function eventListener(e,i){return n(t._previewRef.events,e,i)};this._previewRef.getApis("INT_EVENTS",["documentEvents"]).then((function(e){var t=function oldListener(t,i){return n(e.documentEvents,t,i)};t("pagesViewScrolled",M.PREVIEW_PAGE_VIEW_SCROLLED),t("zoom",M.PREVIEW_ZOOM),t("selectionend",M.PREVIEW_SELECTION_END),t("keydown",M.PREVIEW_KEY_DOWN),t("documentclick",M.PREVIEW_DOCUMENT_CLICK),t("pageclick",M.PREVIEW_PAGE_CLICK),t("pagedblclick",M.PREVIEW_PAGE_DOUBLE_CLICK)})),i("pagemouseenter",M.PREVIEW_PAGE_MOUSE_ENTER),i("pagemouseleave",M.PREVIEW_PAGE_MOUSE_LEAVE),i("currentpagechange",M.CURRENT_ACTIVE_PAGE),i("pagesinviewchange",M.PAGES_IN_VIEW_CHANGE),i("unsupportedfeaturefound",M.UNSUPPORTED_FEATURE_FOUND),i("errorOccurred",M.PREVIEW_ERROR_EVENTS),i("editPreprocessingInitiated",M.EDIT_PRE_PROCESSING_INITIATED),i("documentviewupdate",k.DOCUMENT_VIEW_UPDATE),i("customizetopbar",this._getTopbarActionEventType()),i("completePDFBufferAvailable",B.PDF_VIEWER_READY),i("documentopen",R.DOCUMENT_OPEN),i("documentdownload",R.DOCUMENT_DOWNLOAD),i("documentprint",R.DOCUMENT_PRINT),i("textsearch",R.TEXT_SEARCH),i("bookmarkitemclick",R.BOOKMARK_ITEM_CLICK),i("hyperlinkopen",R.HYPERLINK_OPEN),i("textcopy",R.TEXT_COPY)}}},{key:"_handlePageViewEvent",value:function _handlePageViewEvent(e){if(e.startPage&&e.endPage)for(var t=e.startPage.pageNumber,n=e.endPage.pageNumber,i=t;i<=n;)this._pageInViewSent!==i&&(this.sendEvent(R.PAGE_VIEW,{pageNumber:i}),this._pageInViewSent=i),i+=1}},{key:"_handlePDFAnalyticsSpecialCases",value:function _handlePDFAnalyticsSpecialCases(e,t){e===M.PAGES_IN_VIEW_CHANGE?this._handlePageViewEvent(t):e===M.PREVIEW_ZOOM&&this._currentZoom!==t&&(this._currentZoom=t,this.sendEvent(R.ZOOM_LEVEL,{zoomLevel:t}))}},{key:"_handleEvent",value:function _handleEvent(e){var t=this;return function(n){e===k.DOCUMENT_VIEW_UPDATE&&(C.getService("AppStore").documentViewUpdate=n),t._handlePDFAnalyticsSpecialCases(e,n),t.sendEvent(e,t._filterData(e,n))}}},{key:"_filterData",value:function _filterData(e,t){if(e===M.PREVIEW_PAGE_CLICK||e===M.PREVIEW_PAGE_DOUBLE_CLICK)return p()({pageNumber:t.params.pageIndex+1},t.params);if(e===M.PREVIEW_DOCUMENT_CLICK)return{pageX:t.pageX,pageY:t.pageY,screenX:t.screenX,screenY:t.screenY,clientX:t.clientX,clientY:t.clientY};if(e===M.PREVIEW_KEY_DOWN)return{altKey:t.altKey,code:t.code,composed:t.composed,ctrlKey:t.ctrlKey,key:t.key,keyCode:t.keyCode,location:t.location,metaKey:t.metaKey,shiftKey:t.shiftKey,type:t.type};if(e===M.PREVIEW_PAGE_VIEW_SCROLLED)return t&&t.target?{clientHeight:t.target.clientHeight,clientWidth:t.target.clientWidth,scrollHeight:t.target.scrollHeight,scrollLeft:t.target.scrollLeft,scrollTop:t.target.scrollTop,scrollWidth:t.target.scrollWidth}:{};if(e===M.PREVIEW_PAGE_MOUSE_ENTER||e===M.PREVIEW_PAGE_MOUSE_LEAVE)return t&&t.params?{pageNumber:t.params.pageIndex+1}:{};if(e===M.PREVIEW_SELECTION_END){for(var n=t.startPage+1,i=t.endPage+1,o={startPageNumber:n,endPageNumber:i,newSelection:t.newSelection,selections:{}},r=n;r<=i;r+=1)o.selections["page".concat(r)]=t["page".concat(r-1)];return p()(p()({},t),o)}if(e===B.ACTION_ICONS){var a=C.getService("AppStore"),s={topbarConfig:t.topbarConfig||[],layoutConfig:t.layoutConfig||{}};if(a.getActionConfig("preview").showAnnotationTools&&a.isEditAllowed){var l=C.getService("CommentsApi").getTopBarTools();a.textSelectionEnabled||(l=l.filter((function(e){return-1===[F.HIGHLIGHT,F.STRIKEOUT,F.UNDERLINE].indexOf(e.id)})));var c=C.getService("CommentsApi").getCustomTopBarTools();s.topbarConfig=l.concat(s.topbarConfig),s.layoutConfig=p()(p()({},s.layoutConfig),{},{customTopBarTools:c}),s.toolbar=C.getService("CommentsApi").getToolbar()}else s.topbarConfig=s.topbarConfig.filter((function(e){return-1===en.indexOf(e.id)}));return p()(p()({},t),s)}return t}},{key:"_stopCoreEvents",value:function _stopCoreEvents(){return!1}},{key:"sendEvent",value:function sendEvent(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=C.getService("AppStore");if(!(this._sendCondition()||n.appRenderingBlocked&&(M[e]||B[e]||R[e])||(this._eventListenerMap[e]&&this._eventListenerMap[e].length>0&&this._eventListenerMap[e].forEach((function(e){return e(t)})),this._stopCoreEvents(e)))){var i=t;R[e]&&(i=p()(p()({},t),{},{fileName:n.fileInfoList[0].metaData.fileName}));var o={type:e,data:i};this._sendHelper(o)}}},{key:"_sendCondition",value:function _sendCondition(){return C.getService("AppStore").appClosed}},{key:"_sendHelper",value:function _sendHelper(e){C.getService("EventHandlerService").handleEvent(e)}}]),EventsService}(),rn=n("q1tI"),an=n.n(rn),sn=n("i8i4"),ln=n.n(sn),cn=n("17x9"),un=n.n(cn),dn="/build/src/preview/react-component/preview/presentation/PageOverlay.js",fn=function(e){l()(PageOverlay,e);var t=u()(PageOverlay);function PageOverlay(){var e;o()(this,PageOverlay);for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return(e=t.call.apply(t,[this].concat(i))).pageData={},e}return a()(PageOverlay,[{key:"componentDidMount",value:function componentDidMount(){C.getService("EventsService").sendEvent(x.PAGE_OVERLAY_ATTACHED,{pageData:this.pageData})}},{key:"componentWillUnmount",value:function componentWillUnmount(){C.getService("EventsService").sendEvent(x.PAGE_OVERLAY_REMOVED,{pageData:this.pageData})}},{key:"render",value:function render(){var e=C.getService("ExternalComponentService").getPageOverlay();this.pageData=function transformPageData(e){return{pageNumber:e.pageIndex+1,originalHeight:e.origHeight,originalWidth:e.origWidth,rotation:e.rotation,currentHeight:e.curHeight,currentWidth:e.curWidth,currentZoom:vt(e.curZoom,3)}}(this.props.page);var t={position:"absolute",width:"".concat(this.pageData.currentWidth,"px"),height:"".concat(this.pageData.currentHeight,"px")};return e?an.a.createElement("div",{style:t,dangerouslySetInnerHTML:{__html:e({pageData:this.pageData})},__self:this,__source:{fileName:dn,lineNumber:68,columnNumber:17}}):an.a.createElement(an.a.Fragment,{__self:this,__source:{fileName:dn,lineNumber:74,columnNumber:16}})}}]),PageOverlay}(an.a.PureComponent);fn.propTypes={page:un.a.objectOf(un.a.any).isRequired};var pn,gn=function(){function ExternalComponentService(){o()(this,ExternalComponentService),this._externalComponents=[]}return a()(ExternalComponentService,[{key:"getPageOverlay",value:function getPageOverlay(){return this._pageOverlay}},{key:"setRegisterPageOverlay",value:function setRegisterPageOverlay(e){var t=this;window.adobe_dc_sdk=window.adobe_dc_sdk||{},window.adobe_dc_sdk.view_sdk=window.adobe_dc_sdk.view_sdk||{},window.adobe_dc_sdk.view_sdk.registerPageOverlay=function(n){t._externalComponents=t._externalComponents.filter((function(e){return"page_overlay"!==e.id})),t._externalComponents.push({id:"page_overlay",load:n}),e()}}},{key:"initialize",value:function initialize(){var e=this;this._loggingService=C.getService("LoggingService"),this.loadExternalJS().catch((function(){})),C.getService("EventsService").registerEventListener(B.APP_RENDERING_DONE,(function(){C.getService("AppStore").previewRef.getApis("INTEGRATION_CONNECTOR",["registerPageOverlay"]).then((function(t){e.loadPageOverlay().then((function(){return t.registerPageOverlay(fn)})).catch((function(){}))})).catch((function(t){return e._loggingService.error("ExternalComponentService","Error in calling overlay apis ",t)}))}))}},{key:"loadExternalJS",value:function loadExternalJS(){var e=this;return this._loadScript||(this._loadScript=new Promise((function(t,n){e.setRegisterPageOverlay(t);var i=C.getService("AppStore").getConfig().externalJSComponentURL;Nt.domUtil.loadScript(i).catch((function(){e._loggingService.logExternal("Error in loading ExternalJSComponent Url"),n()}))}))),this._loadScript}},{key:"loadPageOverlay",value:function loadPageOverlay(){var e=this;return this._loadPageOverlay||(this._loadPageOverlay=new Promise((function(t,n){e.loadExternalJS().then((function(){if(e._externalComponents.length>0){var i=e._externalComponents.find((function(e){return"page_overlay"===e.id}));i?i.load().then((function(n){e._pageOverlay=n,t()})):(e._loggingService.logExternal("Error PageOverlay not registered"),n("Error PageOverlay not registered"))}else e._loggingService.logExternal("Error PageOverlay not registered"),n("Error PageOverlay not registered")})).catch((function(){return n("Error in loading ExternalJSComponent Url")}))}))),this._loadPageOverlay}}]),ExternalComponentService}(),mn=n("0hsb"),hn=n.n(mn),vn=n("okNM"),_n=new(function(){function ComponentRegistry(){o()(this,ComponentRegistry),this._registry=new Map}return a()(ComponentRegistry,[{key:"register",value:function register(e,t){this._registry.set(e,t)}},{key:"getComponent",value:function getComponent(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this._registry.get(e);return an.a.createElement(n,Object.assign({},t,{__self:this,__source:{fileName:"/build/src/util/ComponentRegistry.js",lineNumber:53,columnNumber:16}}))}}]),ComponentRegistry}()),En="/build/src/preview/react-component/AdobeDCViewApp.js",bn="light",Sn="dark",An=Object(vn.observer)(pn=function(e){l()(AdobeDCViewApp,e);var t=u()(AdobeDCViewApp);function AdobeDCViewApp(e){var n;o()(this,AdobeDCViewApp),(n=t.call(this,e)).state={theme:bn};var i=C.getService("AppStore");return n.supportDarkMode=i.getConfig().supportDarkMode,n.userLocale=i.configStore.getConfig().locale,n.app=n.getLocalizedApp(n.userLocale),n.supportDarkMode&&(n.prefersDarkMediQuery=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)")),n}return a()(AdobeDCViewApp,[{key:"componentDidMount",value:function componentDidMount(){var e=this;this.supportDarkMode&&(this.setSpectrumTheme(),this.prefersDarkMediQuery.addEventListener?this.prefersDarkMediQuery.addEventListener("change",(function(){return e.setSpectrumTheme()})):this.prefersDarkMediQuery.addListener&&this.prefersDarkMediQuery.addListener((function(){return e.setSpectrumTheme()})))}},{key:"getLocalizedApp",value:function getLocalizedApp(e){var t=this,n=function LocalizableApp(e){return an.a.createElement(Z.IntlProvider,{locale:e.locale,messages:e.messages,__self:t,__source:{fileName:En,lineNumber:63,columnNumber:13}},_n.getComponent("AppContainer",e))};return n.propTypes={locale:un.a.objectOf(un.a.string).isRequired,messages:un.a.objectOf(un.a.string).isRequired},Nt.locale2.withTranslations(n,C.getService("LocaleService").loadMergedTranslations,{locale:e})}},{key:"shouldBlockRender",value:function shouldBlockRender(){var e=C.getService("AppStore");return e.appRenderingBlocked&&!e.getConfig().showSimpleLoader}},{key:"log",value:function log(){Nt.logging.getLogger("App").error("File preview blocked as preview failed to load")}},{key:"getProps",value:function getProps(){return{}}},{key:"getDOMId",value:function getDOMId(){return"dc-view-sdk-bundle"}},{key:"setSpectrumTheme",value:function setSpectrumTheme(){var e=this.prefersDarkMediQuery.matches?Sn:bn;this.setState({theme:e}),document.documentElement.style.setProperty("color-scheme",e)}},{key:"componentWillUnmount",value:function componentWillUnmount(){var e=this;C.getService("EventsService").sendEvent(B.VIEWER_UNMOUNT),C.getService("AppStore").getConfig().fileDownloadAbortable&&C.getService("FileApi").abortFileDownload(),this.supportDarkMode&&(this.prefersDarkMediQuery.removeEventListener?this.prefersDarkMediQuery.removeEventListener("change",(function(){return e.setSpectrumTheme()})):this.prefersDarkMediQuery.removeListener&&this.prefersDarkMediQuery.removeListener((function(){return e.setSpectrumTheme()})))}},{key:"render",value:function render(){var e=C.getService("AppStore"),t={height:"100%"},n=this.getProps();if(this.shouldBlockRender())return this.log(),an.a.createElement(hn.a,Object.assign({locale:this.userLocale,style:t},n,{theme:this.state.theme,__self:this,__source:{fileName:En,lineNumber:126,columnNumber:17}}),an.a.createElement(an.a.Fragment,{__self:this,__source:{fileName:En,lineNumber:127,columnNumber:21}}));e.isLBPreset&&(t.backgroundColor="transparent");var i=this.app;return an.a.createElement(hn.a,Object.assign({theme:this.state.theme,id:this.getDOMId(),locale:this.userLocale,style:t},n,{__self:this,__source:{fileName:En,lineNumber:136,columnNumber:13}}),an.a.createElement(i,Object.assign({},this.props,{__self:this,__source:{fileName:En,lineNumber:143,columnNumber:17}})))}}]),AdobeDCViewApp}(rn.PureComponent))||pn,yn=a()((function EmbedModeService(e){var t=this;o()(this,EmbedModeService),this.initialize=function(){t._serviceFactory.getService("EventsService").registerEventListener(k.PREVIEW_REF_READY,(function(){t._handleInLineLegalDialog()}))},this.previewFile=function(e,n,i,o){var r=window.document.getElementById(e.divId);i.embedMode===b.FULL_WINDOW&&(r.clientHeight||function addHeightToElement(e){var t=e.parentNode?e.parentNode.nodeName.toLowerCase():"";v(e,"body"===t?"ViewSDK_viewportRelativeHeight":"ViewSDK_parentRelativeHeight")}(r),r.clientWidth||function addWidthToElement(e){var t=e.parentNode?e.parentNode.nodeName.toLowerCase():"";v(e,"body"===t?"ViewSDK_viewportRelativeWidth":"ViewSDK_parentRelativeWidth")}(r)),t._serviceFactory.getService("UIActionHandlerService").initialize(i.uiActionConfig);var a=t._serviceFactory.getService("UIActionHandlerService").getProcessedUIActionConfig(),s=t._serviceFactory.getService("AppStore");return s.initialize({config:e,heightInView:t._getHeightInView(r),action:"preview",actionConfig:p()(p()({},i),{},{uiActionConfig:a}),fileInfoList:[n]}),t._serviceFactory.getService("IntegrationProvider").setAppStore(s),t._serviceFactory.getService("PerformanceService").initialize("preview",o),s.getConfig().externalJSComponentURL&&t._registerExternalJSServices(),t._previewPromise=new Promise((function(e,n){var o=t._serviceFactory.getService("EventHandlerService");o.registerEventListener(k.FILE_PREVIEW_READY,(function previewReady(){e(t._serviceFactory.getService("AdobeViewer").getExposedAPIs({previewConfig:i}))})),o.registerEventListener(k.FILE_PREVIEW_FAILED,n)})),t._handleEmbedModeSpecific(r),t._serviceFactory.getService("CommentsApi").resetApis(),ln.a.render(an.a.createElement(An,{store:s,__self:t,__source:{fileName:"/build/src/service/EmbedModeService.js",lineNumber:86,columnNumber:25}}),r),t._previewPromise},this.unMountApp=function(){t._serviceFactory.getService("CommentsApi").resetApis();var e=t._serviceFactory.getService("AppStore").getConfig().divId,n=window.document.getElementById(e);ln.a.unmountComponentAtNode(n)},this._registerExternalJSServices=function(){t._serviceFactory.register("ExternalComponentService",new gn),t._serviceFactory.getService("ExternalComponentService").initialize(),C.initServices(t._serviceFactory.getServices())},this._handleInLineLegalDialog=function(){var e=t._serviceFactory.getService("AppStore"),n=t._serviceFactory.getService("CallbackService");if(e.isInLinePreset&&n.hasCallback(g.OPEN_LEGAL_DIALOG_API)){t.ldAdded=!1;var i=function showLegalDialog(){n.getCallback(g.OPEN_LEGAL_DIALOG_API)()};e.previewRef.getPublicApis().then((function(n){if(!t.ldAdded){t.ldAdded=!0;var o={title:e.intl.formatMessage({id:"LEGAL_NOTICES"}),clickHandler:i};n.hud.addUIControl(o)}}))}},this.FWOpenPDFViewer=function(){t._serviceFactory.getService("EventsService").registerEventListener(B.VIEWER_UNMOUNT,t.FWExitPDFViewer)},this.FWExitPDFViewer=function(){t._pdfViewerClose()},this.LBOpenPDFViewer=function(){t._serviceFactory.getService("EventsService").registerEventListener(M.PREVIEW_DOCUMENT_CLICK,t.LBExitPDFViewer),document.addEventListener("keydown",t._handleLBPDFViewerEscape),t._serviceFactory.getService("FullScreenManager").switchToFullWindow=!0,t._serviceFactory.getService("FullScreenManager").setFullScreen(!0),function blockOverflow(e){v(e,"ViewSDK_hideOverflow")}(window.document.body)},this.LBExitPDFViewer=function(){var e=t._serviceFactory.getService("AppStore").getConfig().divId;document.removeEventListener("keydown",t._handleLBPDFViewerEscape),t._serviceFactory.getService("FullScreenManager").setFullScreen(!1),t.unMountApp();var n=window.document.getElementById(e);n.internallyCreated?n.parentNode.removeChild(n):(!function cleanUpElement(e){_(e,"ViewSDK_hideOverflow"),_(e,"ViewSDK_parentRelativeWidth"),_(e,"ViewSDK_viewportRelativeWidth"),_(e,"ViewSDK_parentRelativeHeight"),_(e,"ViewSDK_viewportRelativeHeight"),_(e,"ViewSDK_fullScreenPDFViewer"),_(e,"ViewSDK_fullScreenPDFViewerMobile")}(n),n.innerHTML=""),function allowOverflow(e){_(e,"ViewSDK_hideOverflow")}(window.document.body),t._pdfViewerClose()},this.pdfViewerOpen=function(){t._serviceFactory.getService("EventsService").sendEvent(B.PDF_VIEWER_OPEN)},this._pdfViewerClose=function(){t._serviceFactory.getService("EventsService").sendEvent(B.PDF_VIEWER_CLOSE),t._serviceFactory.getService("AppStore").setAppClosed(!0)},this._handleLBPDFViewerEscape=function(e){if("Escape"===e.key||"Esc"===e.key){var n=t._serviceFactory.getService("AppStore");n.searchOpen||n.legalDialogOpen||t.LBExitPDFViewer()}},this._handleEmbedModeSpecific=function(e){var n=t._serviceFactory.getService("AppStore");if(n.getConfig().workOnInLineIndependently&&n.isInLinePreset){var i=function sendHeightMessage(){var n=t._getHeightInView(e);t._serviceFactory.getService("AppStore").setHeightInView(n)};t._previewPromise.then((function(){i(),t._addInLineListeners(i)})),t._updateViewHeight({scrollHeight:600}),t._serviceFactory.getService("EventHandlerService").registerEventListener(k.DOCUMENT_VIEW_UPDATE,(function(e){t._updateViewHeight(e.data),t._firstDVUEvent=!1}))}},this._updateViewHeight=function(e){var n=window.document,i=t._serviceFactory.getService("AppStore").getConfig().divId,o=n.getElementById(i);if(void 0!==e.scrollHeight){var r=e.scrollHeight+20;r!==t._currentDivHeight&&(o.style.height="".concat(r,"px"),t._currentDivHeight=r)}if(void 0!==e.y&&!t._firstDVUEvent){var a=o.getBoundingClientRect().top+window.pageYOffset,s=Math.floor(e.y+a);window.scrollTo(0,s)}},this._addInLineListeners=function(e){window.addEventListener("scroll",e),window.addEventListener("touchend",e),window.addEventListener("resize",e),window.addEventListener("orientationchange",e)},this._getHeightInView=function(e){var t=e.getBoundingClientRect(),n=t.top,i=t.bottom,o=t.height,r=window.innerHeight,a=0,s=0,l=0;return n>r-0?a=1:i<0?(a=1,s=o,l=o):n<0?(l=(s=0-n)+r-0-0)>o&&(l=o):(s=0,l=r-n-0),{viewStartH:s,viewEndH:l,outOfView:a,winHeight:r-0-0,winWidth:window.innerWidth}},this._serviceFactory=e,this._firstDVUEvent=!0})),In=n("TSYQ"),wn=n.n(In),Pn=n("IxNm"),Tn=n.n(Pn),Nn=n("myq0"),On=n.n(Nn),Cn=n("zqFP"),Ln=n.n(Cn),kn=n("D3Lu"),Dn=n.n(kn),Fn=function withWindowDimensions(e){var t;return(t=function(t){l()(WindowDimensions,t);var n=u()(WindowDimensions);function WindowDimensions(){var e;o()(this,WindowDimensions);for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];return(e=n.call.apply(n,[this].concat(i))).state={width:window.innerWidth,height:window.innerHeight},e.updateDimensionsWithThrottle=function(){e.resizeThrottle||(e.resizeThrottle=setTimeout((function(){e.resizeThrottle=null}),1e3/15),e.updateWindowDimensions())},e}return a()(WindowDimensions,[{key:"componentDidMount",value:function componentDidMount(){window.addEventListener("resize",this.updateDimensionsWithThrottle)}},{key:"componentWillUnmount",value:function componentWillUnmount(){window.removeEventListener("resize",this.updateDimensionsWithThrottle)}},{key:"updateWindowDimensions",value:function updateWindowDimensions(){this.setState({width:window.innerWidth,height:window.innerHeight})}},{key:"render",value:function render(){return an.a.createElement(e,Object.assign({windowDimensions:this.state},this.props,{__self:this,__source:{fileName:"/build/src/util/withWindowDimensions.js",lineNumber:92,columnNumber:16}}))}}]),WindowDimensions}(rn.Component)).WrappedComponent=e,t},Rn=un.a.shape({id:un.a.string.isRequired,action:un.a.func.isRequired,showOnlyInTopBar:un.a.bool,alwaysShow:un.a.bool}),Mn=un.a.shape({id:un.a.string.isRequired,label:un.a.string.isRequired,type:un.a.oneOf(["title","button"]).isRequired,Icon:un.a.objectOf(un.a.object),onClick:un.a.func,selected:un.a.bool,disabled:un.a.bool,alwaysShow:un.a.bool,displayWithLabel:un.a.bool,title:un.a.string,variant:un.a.string}),xn=n("UlCN"),Bn=n.n(xn),Vn=n("xFbk"),Un=n.n(Vn),zn="/build/src/preview/react-component/icons/top-bar-action/TopBarAction.js",Hn=function TopBarAction(e){var t=e.action,n=e.windowDimensions,i=e.inActiveLabel,o=t.displayWithLabel,r=t.label,a=t.selected,s=t.isSelected,l=t.disabled,c=t.onClick,u=t.id,d=t.Icon,f=t.variant,p=t.toolTipPlacement,g={quiet:!o,label:n&&n.width>=768&&o?r:null,"background-color":"#f5f5f5 !important"},m=r,h="hover",v=1e3,_=l;"object"===G()(r)&&(m=r.id||u),i&&(m=i,h="click",v=0,_=!1);var E=function onClickHandler(){try{!function sendOnClickAnalytics(){var e;void 0!==s&&(e=s?"Disabled":"Enabled"),i&&(e="Inactive");var t={workflow:u,subcategory:je.SUBCATEGORY_USE,type:je.SUBCATEGORY_TYPE_CLICK,subtype:e};C.getService("AnalyticsProviderService").logEvent(t)}(),i||c()}catch(e){C.getService("LoggingService").error("TopBarAction","The ".concat(u," action in the navigation bar threw an error"),e)}},b=p||"bottom",S={},A={};return"click"===h?S.onClick=function(){return E()}:A.onClick=function(){return E()},an.a.createElement(Un.a,Object.assign({delayShow:v,trigger:h,placement:b},S,{__self:void 0,__source:{fileName:zn,lineNumber:114,columnNumber:9}}),an.a.createElement(Dn.a,Object.assign({id:u},g,{variant:f||"tool",selected:a,icon:d,disabled:_},A,{__self:void 0,__source:{fileName:zn,lineNumber:120,columnNumber:13}})),an.a.createElement(Bn.a,{__self:void 0,__source:{fileName:zn,lineNumber:129,columnNumber:13}},m))};Hn.propTypes={action:Mn.isRequired,windowDimensions:un.a.objectOf(un.a.any).isRequired,inActiveLabel:un.a.string},Hn.defaultProps={inActiveLabel:""};var jn=Fn(Hn),Gn=(n("ayz5"),"/build/src/preview/react-component/icons/full-screen/FullScreenIcon.js"),Wn=function FullScreenIcon(e){var t=e.fromTopBar,n=C.getService("AppStore"),i=n.getActionConfig("preview").showFullScreenInHUD;if(!n.configStore.showFullScreen||i&&t&&!n.inFullScreen||n.inFullScreen&&!t)return an.a.createElement(an.a.Fragment,null);var o="sdk-FullScreenIcon-fullScreenActionTopBar",r={id:"gotoFullScreen",labelId:"GOTO_FULLSCREEN_LABEL",onClick:function onClick(){C.getService("AppStore").setInFullScreen(!0)},Icon:an.a.createElement(On.a,{__self:void 0,__source:{fileName:Gn,lineNumber:41,columnNumber:16}})},a={id:"exitFullScreen",labelId:"EXIT_FULLSCREEN_LABEL",onClick:function onClick(){C.getService("AppStore").setInFullScreen(!1)},Icon:i&&t?an.a.createElement(Tn.a,{size:"L",__self:void 0,__source:{fileName:Gn,lineNumber:48,columnNumber:52}}):an.a.createElement(Ln.a,{__self:void 0,__source:{fileName:Gn,lineNumber:48,columnNumber:73}})},s=function getAction(){var e=C.getService("AppStore").inFullScreen?a:r;return e.label=C.getService("AppStore").intl.formatMessage({id:e.labelId}),e}();n.getActionConfig("preview").showFullScreenInHUD&&!t&&(s.toolTipPlacement="top",s.variant="tool",o="sdk-FullScreenIcon-fullScreenActionHUD");var l=wn()([o,{"sdk-FullScreenIcon-alwaysShow":!0}]);return an.a.createElement("div",{key:s.id,className:l,__self:void 0,__source:{fileName:Gn,lineNumber:70,columnNumber:9}},an.a.createElement(jn,{action:s,__self:void 0,__source:{fileName:Gn,lineNumber:71,columnNumber:13}}))};Wn.defaultProps={fromTopBar:!1},Wn.propTypes={fromTopBar:un.a.bool};var qn=Wn,Kn=function(){function FullScreenManager(){o()(this,FullScreenManager),this._handleFullScreenEscape=this._handleFullScreenEscape.bind(this),this._handleFullWindowEscape=this._handleFullWindowEscape.bind(this)}return a()(FullScreenManager,[{key:"initialize",value:function initialize(e,t){var n=this;this._divId=e.fullScreenDivId||e.divId,this.fullScreenIdInHUD=void 0,this._serviceFactory=t,this._serviceFactory.getService("EventsService").registerEventListener(B.APP_RENDERING_DONE,(function(){return n.updateFSIconInHud()}))}},{key:"setSwitchToFullWindow",value:function setSwitchToFullWindow(){this.switchToFullWindow=!this._isFullScreenAvailable()}},{key:"updateFSIconInHud",value:function updateFSIconInHud(){var e=this,t=this._serviceFactory.getService("AppStore");this.setSwitchToFullWindow(),t.previewRef&&t.getActionConfig("preview").showFullScreenInHUD&&t.previewRef.getPublicApis().then((function(n){void 0!==e.fullScreenIdInHUD&&(n.hud.removeUIControl(e.fullScreenIdInHUD),e.fullScreenIdInHUD=void 0),t.configStore.showFullScreen&&!t.inFullScreen&&(e.fullScreenIdInHUD=n.hud.addUIControl(qn,"RIGHT"))}))}},{key:"setFullScreen",value:function setFullScreen(e){e?this.switchToFullWindow?this._moveToFullWindow():this._moveToFullScreen():this.switchToFullWindow?this._exitFromFullWindow():this._exitFromFullScreen(),this._exposeFSEvent(e)}},{key:"_exposeFSEvent",value:function _exposeFSEvent(e){var t={inFullScreen:e,inWindowMode:this.switchToFullWindow};this._serviceFactory.getService("EventsService").sendEvent(B.FULL_SCREEN_TOGGLE,t)}},{key:"_moveToFullWindow",value:function _moveToFullWindow(){document.addEventListener("keydown",this._handleFullWindowEscape);var e=this._serviceFactory.getService("AppStore");!function addFullScreenToElement(e,t){v(e,t?"ViewSDK_fullScreenPDFViewerMobile":"ViewSDK_fullScreenPDFViewer")}(document.getElementById(this._divId),e.isIOS),e.isIOS&&(this.iosHeightInterval=setInterval((function(){document.documentElement.style.setProperty("--ViewSDK-mobile-viewport-height","".concat(.01*window.innerHeight,"px"))}),50))}},{key:"_moveToFullScreen",value:function _moveToFullScreen(){var e=document.getElementById(this._divId);e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen(),document.addEventListener("fullscreenchange",this._handleFullScreenEscape),document.addEventListener("mozfullscreenchange",this._handleFullScreenEscape),document.addEventListener("MSFullscreenChange",this._handleFullScreenEscape),document.addEventListener("webkitfullscreenchange",this._handleFullScreenEscape)}},{key:"_exitFromFullWindow",value:function _exitFromFullWindow(){document.removeEventListener("keydown",this._handleFullWindowEscape);var e=this._serviceFactory.getService("AppStore");!function removeFullScreenFromElement(e,t){_(e,t?"ViewSDK_fullScreenPDFViewerMobile":"ViewSDK_fullScreenPDFViewer")}(document.getElementById(this._divId),e.isIOS),e.isIOS&&this.iosHeightInterval&&clearInterval(this.iosHeightInterval)}},{key:"_inFullScreen",get:function get(){return document.fullscreenElement||document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement}},{key:"_exitFromFullScreen",value:function _exitFromFullScreen(){this._inFullScreen&&(document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()),document.removeEventListener("fullscreenchange",this._handleFullScreenEscape),document.removeEventListener("mozfullscreenchange",this._handleFullScreenEscape),document.removeEventListener("MSFullscreenChange",this._handleFullScreenEscape),document.removeEventListener("webkitfullscreenchange",this._handleFullScreenEscape)}},{key:"_isFullScreenAvailable",value:function _isFullScreenAvailable(){var e=document.getElementById(this._divId);return e&&(e.requestFullscreen||e.mozRequestFullScreen||e.webkitRequestFullscreen||e.msRequestFullscreen)}},{key:"_handleFullScreenEscape",value:function _handleFullScreenEscape(){this._serviceFactory.getService("AppStore").inFullScreen&&(this._inFullScreen||this._serviceFactory.getService("AppStore").setInFullScreen(!1))}},{key:"_handleFullWindowEscape",value:function _handleFullWindowEscape(e){this._serviceFactory.getService("AppStore").inFullScreen&&("Escape"!==e.key&&"Esc"!==e.key||this._serviceFactory.getService("AppStore").setInFullScreen(!1))}}]),FullScreenManager}(),Yn=n("g4DW"),Jn=n.n(Yn),Zn=function commandError(e,t){return{code:e,message:t}},Xn=n("jQsN"),Qn=n.n(Xn),$n=n("butC"),ei=n.n($n),ti=function _formatSearchData(e){return{currentResult:{pageNumber:e.currResult?e.currResult.pageNum:void 0,index:e.currResult?e.currResult.index:void 0},totalResults:e.totalResults,status:e.status}},ni=a()((function SearchModel(e){var t=this;o()(this,SearchModel),this.getExposedAPIs=function(){return{onResultsUpdate:t.onResultsUpdate,next:t.next,previous:t.previous,clear:t.clear}},this.onResultsUpdate=function(){var e=ei()(Qn.a.mark((function _callee(e){return Qn.a.wrap((function _callee$(n){for(;;)switch(n.prev=n.next){case 0:if(!t.searchObject){n.next=2;break}return n.abrupt("return",t.searchObject.onResultsUpdate((function(t){e(ti(t))})));case 2:return n.abrupt("return",!1);case 3:case"end":return n.stop()}}),_callee)})));return function(t){return e.apply(this,arguments)}}(),this.next=ei()(Qn.a.mark((function _callee2(){return Qn.a.wrap((function _callee2$(e){for(;;)switch(e.prev=e.next){case 0:if(!t.searchObject){e.next=2;break}return e.abrupt("return",t.searchObject.next());case 2:return e.abrupt("return",!1);case 3:case"end":return e.stop()}}),_callee2)}))),this.previous=ei()(Qn.a.mark((function _callee3(){return Qn.a.wrap((function _callee3$(e){for(;;)switch(e.prev=e.next){case 0:if(!t.searchObject){e.next=2;break}return e.abrupt("return",t.searchObject.previous());case 2:return e.abrupt("return",!1);case 3:case"end":return e.stop()}}),_callee3)}))),this.clear=ei()(Qn.a.mark((function _callee4(){var e;return Qn.a.wrap((function _callee4$(n){for(;;)switch(n.prev=n.next){case 0:if(!t.searchObject){n.next=4;break}return e=t.searchObject.clear(),t.searchObject=void 0,n.abrupt("return",e);case 4:return n.abrupt("return",!1);case 5:case"end":return n.stop()}}),_callee4)}))),this.searchObject=e})),ii={THUMBNAIL_ZOOM_LEVEL:.2,THUMBNAIL_FORMATS:["png"]},oi=function(){function PreviewCommands(){var e,t=this;o()(this,PreviewCommands),this._getBookmarks=function(){return new Promise((function(e,n){C.getService("AppStore").getActionConfig("preview").enableBookmarkAPIs?t._publicAPIs.document.getBookmarks().then((function(t){e(Object(d.toJS)(t))})).catch((function(){n("There's some problem while processing your request.")})):n("Bookmark apis is disabled")}))},this._openBookmark=function(e){if(C.getService("AppStore").getActionConfig("preview").enableBookmarkAPIs){var n=t._publicAPIs.document.executeBookmark(e)||{};return Promise.resolve(!!n.success)}return Promise.reject("Bookmark apis is disabled")},this._getAttachments=function(){return new Promise((function(e,n){C.getService("AppStore").getActionConfig("preview").enableAttachmentAPIs?t._publicAPIs.document.getAttachments().then((function(t){var n=t.map((function(e){return{name:e.name,description:e.description,mimeType:e.mimeType,created:e.creationDate,modified:e.modifiedDate}}));e(Object(d.toJS)(n))})).catch((function(){n("There's some problem while processing your request.")})):n("Attachment apis is disabled")}))},this._getAttachmentBuffer=function(e){return new Promise((function(n,i){C.getService("AppStore").getActionConfig("preview").enableAttachmentAPIs?t._publicAPIs.document.getAttachmentBuffer(e).then((function(e){n(Object(d.toJS)(e))})).catch((function(){i("There's some problem while processing your request.")})):i("Attachment apis is disabled")}))},this._apiCommands=(e={},Jn()(e,z.DOWNLOAD_VISIBILITY,{validator:this._validateBooleanData.bind(this),action:this._toggleDownload.bind(this)}),Jn()(e,z.FULL_SCREEN_VISIBILITY,{validator:this._validateBooleanData.bind(this),action:this._toggleFullScreen.bind(this)}),Jn()(e,z.PRINT_VISIBILITY,{validator:this._validateBooleanData.bind(this),action:this._togglePrint.bind(this)}),Jn()(e,z.PAGE_NAVIGATION_CONTROL_VISIBILITY,{validator:this._validateBooleanData.bind(this),action:this._togglePageNavControl.bind(this)}),Jn()(e,z.DOCK_SWITCH_VISIBILITY,{validator:this._validateBooleanData.bind(this),action:this._toggleDockSwitch.bind(this)}),Jn()(e,z.ZOOM_CONTROL_VISIBILITY,{validator:this._validateBooleanData.bind(this),action:this._toggleZoomControl.bind(this)}),Jn()(e,z.FIT_PAGE_VISIBILITY,{validator:this._validateBooleanData.bind(this),action:this._toggleFitPage.bind(this)}),Jn()(e,z.FIT_WIDTH_VISIBILITY,{validator:this._validateBooleanData.bind(this),action:this._toggleFitWidth.bind(this)}),Jn()(e,z.SCRUBBER_VISIBILITY,{validator:this._validateBooleanData.bind(this),action:this._toggleScrubber.bind(this)}),Jn()(e,z.FILE_NAME_TOAST_VISIBILITY,{validator:this._validateBooleanData.bind(this),action:this._toggleFileNameToast.bind(this)}),Jn()(e,z.SET_VIEW_MODE,{validator:this._validateStringData.bind(this),action:this._setViewMode.bind(this)}),Jn()(e,z.HUD_VISIBILITY,{validator:this._validateBooleanData.bind(this),action:this._toggleHUD.bind(this)}),Jn()(e,z.LEFT_PANE_VISIBILITY,{validator:this._validateBooleanData.bind(this),action:this._toggleLHP.bind(this)}),Jn()(e,z.SET_LEGAL_DIALOG_OPEN,{validator:this._validateBooleanData.bind(this),action:this._setLegalDialogOpen.bind(this)}),Jn()(e,z.TOGGLE_TEXT_SELECTION,{validator:this._validateBooleanData.bind(this),action:this._toggleTextSelection.bind(this)}),Jn()(e,z.DOCKED_HUD,{validator:this._validateBooleanData.bind(this),action:this._dockHUD.bind(this)}),Jn()(e,z.GET_PAGE_ZOOM_LEVEL,{validator:this._validatePositiveNumberData.bind(this),action:this._getPageZoom.bind(this)}),Jn()(e,z.CLEAR_PAGE_SELECTION,{validator:this._validatePositiveNumberData.bind(this),action:this._clearPageSelection.bind(this)}),Jn()(e,z.SET_CURSOR,{validator:this._validateStringData.bind(this),action:this._setCursor.bind(this)}),Jn()(e,z.GOTO_LOCATION,{validator:this._validateGoToData.bind(this),action:this._gotoLocation.bind(this)}),Jn()(e,z.GET_XMP_METADATA,{validator:this._validateXMPData.bind(this),action:this._getXMPMetadata.bind(this)}),Jn()(e,z.SET_ZOOM_LEVEL,{validator:this._validatePositiveFloatData.bind(this),action:this._setZoomLevel.bind(this)}),Jn()(e,z.START_SEARCH,{validator:this._validateSearchData.bind(this),action:this._searchQuery.bind(this)}),Jn()(e,z.GET_THUMBNAIL,{validator:this._validateThumbnailsData.bind(this),action:this._getThumbnails.bind(this)}),Jn()(e,z.OPEN_BOOKMARK,{validator:this._validateStringData.bind(this),action:this._openBookmark.bind(this)}),Jn()(e,z.GET_ATTACHMENT_BUFFER,{validator:this._validateStringData.bind(this),action:this._getAttachmentBuffer.bind(this)}),Jn()(e,z.REGISTER_BEFORE_RHP_OPEN_CALLBACK,{validator:this._validateHookData.bind(this),action:this._registerBeforeRHPOpenCallback.bind(this)}),Jn()(e,z.REGISTER_BEFORE_QUICK_TOOL_ACTIVATED_CALLBACK,{validator:this._validateHookData.bind(this),action:this._registerBeforeQuickToolActivatedCallback.bind(this)}),Jn()(e,z.RESET_QUICK_TOOL,{action:this._resetQuickTool.bind(this)}),Jn()(e,z.GET_ACTIVE_QUICK_TOOL,{action:this._getActiveQuickTool.bind(this)}),Jn()(e,z.SHOW_QUICK_TOOL,{validator:this._validateBooleanData.bind(this),action:this._showQuickTool.bind(this)}),Jn()(e,z.OPEN_RHP_PANEL,{action:this._openRHPPanel.bind(this)}),Jn()(e,z.CLOSE_RHP_PANEL,{action:this._closeRHPPanel.bind(this)}),Jn()(e,z.GET_RHP_CONFIG,{action:this._getRHPConfig.bind(this)}),Jn()(e,z.UPDATE_PREVIEW_APP_CONFIG,{validator:this._validateStringData.bind(this),action:this._updatePreviewAppConfig.bind(this)}),Jn()(e,z.IS_EDITING_ALLOWED,{action:this._isEditingAllowed.bind(this)}),Jn()(e,z.SET_FILE_NAME,{action:this._setFileName.bind(this)}),Jn()(e,z.GET_ALL_BOOKMARK,{action:this._getBookmarks.bind(this)}),Jn()(e,z.GET_ATTACHMENTS,{action:this._getAttachments.bind(this)}),Jn()(e,z.ZOOM_IN,{action:this._zoomIn.bind(this)}),Jn()(e,z.ZOOM_OUT,{action:this._zoomOut.bind(this)}),Jn()(e,z.GET_ZOOM_LIMIT,{action:this._getZoomLimit.bind(this)}),Jn()(e,z.RESET_CURSOR,{action:this._resetCursor.bind(this)}),Jn()(e,z.GET_CURRENT_PAGE,{action:this._getCurrentPage.bind(this)}),Jn()(e,z.SHOW_HUD,{action:this._showHUD.bind(this)}),Jn()(e,z.HIDE_HUD,{action:this._hideHUD.bind(this)}),Jn()(e,z.SAVE_PDF,{action:this._savePDF.bind(this)}),Jn()(e,z.DOWNLOAD_PDF,{action:this._downloadPDF.bind(this)}),Jn()(e,z.CLEAR_FILE_DIRTY_STATUS,{action:this._clearFileDirtyState.bind(this)}),Jn()(e,z.GET_PDF_PERMISSIONS,{action:this._getPDFPermissions.bind(this)}),Jn()(e,z.GET_PDF_METADATA,{action:this._getPDFMetadata.bind(this)}),Jn()(e,z.GET_SEARCH_UI,{action:this._getSearchUI.bind(this)}),Jn()(e,z.GET_SELECTED_CONTENT,{action:this._getSelectedContent.bind(this)}),Jn()(e,z.GET_COMMAND_MANAGER,{action:this._getCommandManager.bind(this)}),Jn()(e,z.FORCE_SHOW_COMMENTING_TOOLS,{validator:this._validateBooleanData.bind(this),action:this._forceShowCommentingTools.bind(this)}),e)}return a()(PreviewCommands,[{key:"_getPreviewAPIs",value:function _getPreviewAPIs(){var e=this;if(this._oldAPIs&&this._publicAPIs)return Promise.resolve(!0);return Promise.all([C.getService("AppStore").previewRef.getApis("INT_COMMANDS",["modifyCursor","documentActions","documentState","reusableComponents","commandManager"]),C.getService("AppStore").previewRef.getPublicApis()]).then((function(t){return e._oldAPIs=t[0],e._publicAPIs=t[1],!0}))}},{key:"executeCommand",value:function executeCommand(e){var t=this,n=this._validatePreviewCommand(e);return n?Promise.reject(n):new Promise((function(n,i){C.getService("AppStore").getLinearizationWaitPromise().then((function(){t._getPreviewAPIs().then((function(){return t._apiCommands[e.command].action.call(t,e.commandData,e.options)})).then(n).catch((function(e){return i(Zn(L.API_RESPONSE.FAIL,e))}))}))}))}},{key:"_validateStringData",value:function _validateStringData(e){var t;return"string"!=typeof e.commandData&&(t=Zn(L.API_RESPONSE.INVALID_INPUT,"Only String input is supported for command")),t}},{key:"_validateSearchData",value:function _validateSearchData(e){var t,n=e.commandData;if(n){var i=n.searchText;"string"==typeof i&&""!==i||(t=Zn(L.API_RESPONSE.INVALID_INPUT,"Only String input is supported for Search Command"))}return t}},{key:"_validateBooleanData",value:function _validateBooleanData(e){var t;return"boolean"!=typeof e.commandData&&(t=Zn(L.API_RESPONSE.INVALID_INPUT,"Only Boolean input is supported for command")),t}},{key:"_validateGoToData",value:function _validateGoToData(e){var t,n=e.commandData;return(!n||"pageIndex"in n&&!Et(n.pageIndex)||"pageNumber"in n&&(!Et(n.pageNumber)||n.pageNumber<1)||!Et(n.left)||!Et(n.top))&&(t=Zn(L.API_RESPONSE.INVALID_INPUT,"Only valid pageNumber, left and top is supported for command")),t}},{key:"_validateThumbnailsData",value:function _validateThumbnailsData(e){var t,n=e.commandData,i=e.options.preCalculatedData,o=n.options||{},r=i.zoomData;return n&&n.pageNumbers&&_t(n.pageNumbers)&&!_t(n.pageNumbers.filter((function filterFunc(e){return e<1||e>i.totalPageCount})))?"zoomLevel"in o&&(!bt(o.zoomLevel)||o.zoomLevel<r.minZoom||o.zoomLevel>r.maxZoom)?t=Zn(L.API_RESPONSE.INVALID_ZOOM_LEVEL,"The requested zoom level is not valid."):"format"in o&&-1===ii.THUMBNAIL_FORMATS.indexOf(o.format)&&(t=Zn(L.API_RESPONSE.INVALID_THUMBNAIL_FORMAT,"The requested format is not valid.")):t=Zn(L.API_RESPONSE.INVALID_PAGE_RANGE,"The requested page range is not valid."),t}},{key:"_validatePositiveNumberData",value:function _validatePositiveNumberData(e){var t,n=e.commandData;return Et(n)&&n>0||(t=Zn(L.API_RESPONSE.INVALID_INPUT,"Only positive number is supported for command")),t}},{key:"_validatePositiveFloatData",value:function _validatePositiveFloatData(e){var t,n=e.commandData;return bt(n)||(t=Zn(L.API_RESPONSE.INVALID_INPUT,"Only positive number is supported for command")),t}},{key:"_validatePreviewCommand",value:function _validatePreviewCommand(e){if(this._apiCommands[e.command].validator)return this._apiCommands[e.command].validator(e)}},{key:"_validateXMPData",value:function _validateXMPData(e){var t,n=e.commandData;if(n){var i=n.fields,o=n.rawStream;void 0!==i&&("object"===G()(i)&&void 0!==i.length||(t=Zn(L.API_RESPONSE.INVALID_INPUT,"Only array input is supported for fields in command")),t||i.forEach((function(e){"string"!=typeof e&&(t=Zn(L.API_RESPONSE.INVALID_INPUT,"Only string input is supported for fields value in command"))}))),t||void 0===o||"boolean"==typeof o||(t=Zn(L.API_RESPONSE.INVALID_INPUT,"Only Boolean input is supported for rawStream in command"))}return t}},{key:"_validateFunctionType",value:function _validateFunctionType(e){var t;return"function"!=typeof e.commandData&&(t=Zn(L.API_RESPONSE.INVALID_INPUT,"Only function is supported for command")),t}},{key:"_validateHookData",value:function _validateHookData(e){var t,n=e.commandData,i=n.callbackFn,o=n.opts;return"function"!=typeof i&&(t=Zn(L.API_RESPONSE.INVALID_INPUT,"Only function is supported in callback for command")),o&&"object"!==G()(o)&&(t=Zn(L.API_RESPONSE.INVALID_INPUT,"Only object is supported in options for command")),t}},{key:"_shouldShowUndockedHUD",value:function _shouldShowUndockedHUD(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=C.getService("AppStore").getActionConfig("preview");t.dockPageControls&&!e||this._publicAPIs.hud.show(!0)}},{key:"_customiseUIControl",value:function _customiseUIControl(e,t){return this._publicAPIs.app.customizeUIControl(e,{visible:t}),this._shouldShowUndockedHUD(),Promise.resolve(!0)}},{key:"_toggleFitWidth",value:function _toggleFitWidth(e){return this._customiseUIControl("FIT_WIDTH",e)}},{key:"_toggleFitPage",value:function _toggleFitPage(e){return this._customiseUIControl("FIT_PAGE",e)}},{key:"_togglePageNavControl",value:function _togglePageNavControl(e){return this._customiseUIControl("PAGE_NAVIGATION_CONTROL",e)}},{key:"_toggleZoomControl",value:function _toggleZoomControl(e){return this._customiseUIControl("ZOOM_CONTROL",e)}},{key:"_forceShowCommentingTools",value:function _forceShowCommentingTools(e){return this._customiseUIControl("FORCE_SHOW_COMMENTING_TOOLS",e)}},{key:"_toggleDockSwitch",value:function _toggleDockSwitch(e){return this._customiseUIControl("DOCK_SWITCH",e)}},{key:"_toggleDownload",value:function _toggleDownload(e){return C.getService("AppStore").configStore.setShowDownload(e),C.getService("AppStore").isInLinePreset?this._customiseUIControl("DOWNLOAD",e):Promise.resolve(!0)}},{key:"_toggleFullScreen",value:function _toggleFullScreen(e){return C.getService("AppStore").configStore.setShowFullScreen(e),C.getService("FullScreenManager").updateFSIconInHud(),this._shouldShowUndockedHUD(!0),Promise.resolve(!0)}},{key:"_togglePrint",value:function _togglePrint(e){return C.getService("AppStore").configStore.setShowPrint(e),C.getService("AppStore").isInLinePreset?this._customiseUIControl("PRINT",e):Promise.resolve(!0)}},{key:"_toggleHUD",value:function _toggleHUD(e){return C.getService("AppStore").setIsHidingBranding(!e),this._publicAPIs.hud.show(e),Promise.resolve(!0)}},{key:"_toggleLHP",value:function _toggleLHP(e){return this._publicAPIs.lhp.show(e),Promise.resolve(!0)}},{key:"_setLegalDialogOpen",value:function _setLegalDialogOpen(e){return C.getService("AppStore").legalDialogOpen=e,Promise.resolve(!0)}},{key:"_dockHUD",value:function _dockHUD(e){return this._publicAPIs.hud.fadeIn(0),this._publicAPIs.hud.dock(e),Promise.resolve(!0)}},{key:"_setViewMode",value:function _setViewMode(e){var t=e,n=C.getService("AppStore");return It(t)&&!n.showViewMode&&(t=""),n.setCurrentViewMode(t),this._publicAPIs.document.setViewMode(y[t]||t),Promise.resolve(!0)}},{key:"_toggleScrubber",value:function _toggleScrubber(e){return this._customiseUIControl("SCRUBBER",e)}},{key:"_toggleFileNameToast",value:function _toggleFileNameToast(e){var t=this._customiseUIControl("FILE_NAME_TOAST",e);return C.getService("EventsService").sendEvent(k.FILE_NAME_TOAST_VISIBILITY,e),t}},{key:"_showHUD",value:function _showHUD(){return this._publicAPIs.hud.show(!0),Promise.resolve(!0)}},{key:"_hideHUD",value:function _hideHUD(){return this._publicAPIs.hud.show(!1),Promise.resolve(!0)}},{key:"_setCursor",value:function _setCursor(e){return this._oldAPIs.modifyCursor.setCursor(e),Promise.resolve(!0)}},{key:"_resetCursor",value:function _resetCursor(){return this._oldAPIs.modifyCursor.resetCursor(),Promise.resolve(!0)}},{key:"_getCurrentPage",value:function _getCurrentPage(){return this._publicAPIs.document.getCurrentPageNumber()}},{key:"_getPageZoom",value:function _getPageZoom(e){return this._publicAPIs.document.getCurrentZoomLevel(e).then((function(e){return vt(e/100,3)}))}},{key:"_setZoomLevel",value:function _setZoomLevel(e){var t=this._publicAPIs.document.zoomTo(100*e);return t<0?Promise.reject("Zoom In/Out is disabled"):Promise.resolve(vt(t/100,3))}},{key:"_zoomIn",value:function _zoomIn(){var e=vt(this._publicAPIs.document.zoomIn()/100,3);return e<0?Promise.reject("Zoom In/Out is disabled"):Promise.resolve(e)}},{key:"_zoomOut",value:function _zoomOut(){var e=vt(this._publicAPIs.document.zoomOut()/100,3);return e<0?Promise.reject("Zoom In/Out is disabled"):Promise.resolve(e)}},{key:"_getZoomLimit",value:function _getZoomLimit(){var e=this;return new Promise((function(t,n){e._publicAPIs.document.getZoomLimits().then((function(e){t({minZoom:vt(e.minZoom/100,3),maxZoom:vt(e.maxZoom/100,3)})})).catch((function(){n("Zoom In/Out is disabled")}))}))}},{key:"_searchQuery",value:function _searchQuery(e){var t=this,n=e.searchText;return new Promise((function(e,i){C.getService("AppStore").getActionConfig("preview").enableSearchAPIs?t._publicAPIs.document.search(n).then((function(t){return e(new ni(t).getExposedAPIs())})).catch((function(e){return i(e)})):i("Search APIs not enabled.")}))}},{key:"_getThumbnails",value:function _getThumbnails(e,t){var n=t.preCalculatedData.zoomData.minZoom;return new Promise((function(t,i){var o=function rejectPromise(e){C.getService("LoggingService").info("PreviewCommands","_getThumbnails","Getting error from Rendition API",JSON.stringify(e)),i("There's some problem while processing your request.")};Nt.providers.rendition({}).then((function(i){var r=C.getService("AppStore"),a=i.getMetadata(r.previewMetadata.id,{useAJS:!0,useDCAPI:!1}),s=e.options.zoomLevel||ii.THUMBNAIL_ZOOM_LEVEL;s=s>n?s:n;var l={};a.ajs.then((function(){Promise.all(e.pageNumbers.map((function(e){var t=i.getRendition(r.previewMetadata.id,{pageNum:e,zoomLevel:s,useAJS:!0,useDCAPI:!1});return t.dcapi.catch((function(){})),t.ajs.then((function(t){var n=new Uint8Array(t.params.pageImgBuffer),i=new Blob([n],{type:t.params.mimeType});Object.assign(l,Jn()({},e,URL.createObjectURL(i)))}))}))).then((function(){t(l)})).catch(o)})).catch(o),a.dcapi.catch((function(){}))})).catch(o)}))}},{key:"_gotoLocation",value:function _gotoLocation(e){var t;return t="pageIndex"in e?e.pageIndex+1:e.pageNumber,this._publicAPIs.document.goto(t,e.left,e.top),Promise.resolve(!0)}},{key:"_clearPageSelection",value:function _clearPageSelection(e){var t=e-1;return this._oldAPIs.documentActions.clearPageSelection(t,t),Promise.resolve(!0)}},{key:"_getPDFPermissions",value:function _getPDFPermissions(){return this._oldAPIs.documentState.getDocumentSecurityInformation()}},{key:"_getPDFMetadata",value:function _getPDFMetadata(){var e=C.getService("AppStore").pdfMetadata;return"pdfTitle"in e?Promise.resolve(e):Promise.reject("Unable to fetch metadata")}},{key:"_getSelectedContent",value:function _getSelectedContent(){var e=this;return new Promise((function(t,n){e._publicAPIs.document.getSelectedContent().then(t).catch((function(){return n("Selected content is not available")}))}))}},{key:"_getXMPMetadata",value:function _getXMPMetadata(e){var t=this;return new Promise((function(n,i){Nt.providers.rendition({}).then((function(o){var r=C.getService("AppStore").previewMetadata.id,a=o.performCommand(r,{assetMimeType:"application/pdf",assetType:"",commandName:"getDocumentXMPMetadata",enableExternal:"",useAJS:!0,useDCAPI:!1});a.dcapi.catch((function(){})),a.ajs.then((function(i){var o=e.fields,r=e.rawStream,a=i.data.streamData,s={};r&&(s.xmpStream=a);var l=o&&o.length>0?o:["dc:title","dc:format","xmpMM:DocumentID"];s.xmpMetadata=t._parseXMP(a,l),n(s)})).catch((function(t){C.getService("LoggingService").error("PreviewCommands","_getXMPMetadata",JSON.stringify(e),JSON.stringify(t)),i("Unable to fetch XMP metadata")}))}))}))}},{key:"_parseXMP",value:function _parseXMP(e,t){var n={};if(t.forEach((function(e){n[e]=""})),e){var i=(new DOMParser).parseFromString(e,"text/xml");t.forEach((function(e){var t=i.getElementsByTagName(e),o="";t&&t[0]&&t[0].textContent&&(o=t[0].textContent.trim()),n[e]=o}))}return n}},{key:"_toggleTextSelection",value:function _toggleTextSelection(e){return C.getService("AppStore").setTextSelectionEnabled(e),this._publicAPIs.app.enableFeature("TEXT_SELECTION",e)}},{key:"_savePDF",value:function _savePDF(){return Ht().then((function(){return Promise.resolve(!0)})).catch((function(){return Promise.resolve(!1)}))}},{key:"_downloadPDF",value:function _downloadPDF(){return Vt().then((function(){return Promise.resolve(!0)})).catch((function(){return Promise.resolve(!1)}))}},{key:"_clearFileDirtyState",value:function _clearFileDirtyState(){return C.getService("AppStore").setFileStatus(void 0),C.getService("AppStore").setIsDirty(!1),Promise.resolve(!0)}},{key:"_getSearchUI",value:function _getSearchUI(){return this._oldAPIs.reusableComponents.getSearchUI()}},{key:"_getCommandManager",value:function _getCommandManager(){var e=this._oldAPIs.commandManager;return e?Promise.resolve(e):Promise.reject("Command Manager not found.")}},{key:"_registerBeforeRHPOpenCallback",value:function _registerBeforeRHPOpenCallback(e){var t=e.callbackFn,n=e.opts;return this._publicAPIs.rhp.beforeOpenPanel(t,n),Promise.resolve(!0)}},{key:"_registerBeforeQuickToolActivatedCallback",value:function _registerBeforeQuickToolActivatedCallback(e){var t=e.callbackFn,n=e.opts;return this._publicAPIs.quickTools.beforeToolActivated(t,n),Promise.resolve(!0)}},{key:"_resetQuickTool",value:function _resetQuickTool(){return this._publicAPIs.quickTools.reset(),Promise.resolve(!0)}},{key:"_getActiveQuickTool",value:function _getActiveQuickTool(){return this._publicAPIs.quickTools.getActiveTool()}},{key:"_showQuickTool",value:function _showQuickTool(e){return this._publicAPIs.quickTools.show(e),Promise.resolve(!0)}},{key:"_openRHPPanel",value:function _openRHPPanel(e){var t=this;return new Promise((function(n,i){t._publicAPIs.rhp.openPanel(e).then((function(){return n(!0)})).catch((function(){return i("Unable to Open RHP panel")}))}))}},{key:"_closeRHPPanel",value:function _closeRHPPanel(){var e=this;return new Promise((function(t,n){e._publicAPIs.rhp.closePanel().then((function(){return t(!0)})).catch((function(){return n("Unable to close RHP panel")}))}))}},{key:"_isEditingAllowed",value:function _isEditingAllowed(){var e=this;return new Promise((function(t,n){e._publicAPIs.document.isEditingAllowed().then((function(e){return t(e)})).catch((function(e){return n(e)}))}))}},{key:"_setFileName",value:function _setFileName(e){C.getService("AppStore").setFileName(e),this._publicAPIs.document.setFileName(e)}},{key:"_getRHPConfig",value:function _getRHPConfig(){var e=this;return new Promise((function(t,n){e._publicAPIs.rhp.getConfig().then((function(e){return t(e)})).catch((function(){return n("Unable to get RHP config")}))}))}},{key:"_updatePreviewAppConfig",value:function _updatePreviewAppConfig(e){return this._publicAPIs.app.updateAppConfig(e),Promise.resolve(!0)}}],[{key:"getClassName",value:function getClassName(){return"PreviewCommands"}}]),PreviewCommands}(),ri=function(){function AppCommands(){var e;o()(this,AppCommands),this._apiCommands=(e={},Jn()(e,U.CLOSE_PDF_VIEWER,{action:this._closePDFViewer.bind(this)}),Jn()(e,U.ENTER_FULL_SCREEN,{action:this._enterFullScreen.bind(this)}),Jn()(e,U.EXIT_FULL_SCREEN,{action:this._exitFullScreen.bind(this)}),Jn()(e,U.SET_HEIGHT_IN_VIEW,{validator:this._heightInViewDataValidator.bind(this),action:this._setHeightInView.bind(this)}),Jn()(e,U.TOGGLE_COMMENTING,{action:this._toggleCommenting.bind(this)}),e)}return a()(AppCommands,[{key:"executeCommand",value:function executeCommand(e){var t=this._validateCommand(e);return t?Promise.reject(t):this._apiCommands[e.command].action.call(this,e.commandData)}},{key:"_validateCommand",value:function _validateCommand(e){if(this._apiCommands[e.command].validator)return this._apiCommands[e.command].validator(e)}},{key:"_heightInViewDataValidator",value:function _heightInViewDataValidator(e){var t,n=e.command,i=e.commandData;return i&&i.winHeight||(t=Zn(L.API_RESPONSE.INVALID_INPUT,"Invalid data provided for command ".concat(n))),t}},{key:"_setHeightInView",value:function _setHeightInView(e){var t=C.getService("AppStore");return t.isInLinePreset?(t.setHeightInView(e),Promise.resolve(!0)):Promise.resolve(!1)}},{key:"_enterFullScreen",value:function _enterFullScreen(){return C.getService("AppStore").setInFullScreen(!0),Promise.resolve(!0)}},{key:"_exitFullScreen",value:function _exitFullScreen(){return C.getService("AppStore").setInFullScreen(!1),Promise.resolve(!0)}},{key:"_closePDFViewer",value:function _closePDFViewer(){return C.getService("AppStore").isLBPreset?(C.getService("EmbedModeService").LBExitPDFViewer(),Promise.resolve(!0)):(C.getService("EmbedModeService").unMountApp(),Promise.resolve(!0))}},{key:"_toggleCommenting",value:function _toggleCommenting(e){return C.getService("CommentsApi").toggleCommenting(e)}}],[{key:"getClassName",value:function getClassName(){return"AppCommands"}}]),AppCommands}(),ai=["@context","id","type","motivation","bodyValue","target","creator","created","modified"],si=function createAnnotationObject(e){var t=At(e);t["@context"]=["https://www.w3.org/ns/anno.jsonld","https://comments.acrobat.com/ns/anno.jsonld"],"commenting"===t.motivation&&(t.target.source=C.getService("AppStore").fileInfoList[0].metaData.id),t.created="".concat(new Date(Date.parse(t.created)).toISOString().split(".")[0],"Z"),t.modified="".concat(new Date(Date.parse(t.modified)).toISOString().split(".")[0],"Z");var n=JSON.parse(JSON.stringify(t,ai));return n.target=t.target,n.creator=t.creator,"commenting"===n.motivation&&"freetext"===n.target.selector.subtype&&(n.stylesheet=t.stylesheet),n},li=function modifyFilter(e){var t=At(e);if(e.pageRange){var n=e.pageRange,i=n.startPage,o=n.endPage;t.pageRange={startPage:i-1,endPage:o-1}}return t},ci=function isValidSelector(e,t){var n=function isPointInside(e,t,n){var i=Mt()(e,4),o=i[0],r=i[1],a=i[2],s=i[3];return t>=Math.min(o,a)-50&&t<=Math.max(o,a)+50&&n>=Math.min(r,s)-50&&n<=Math.max(r,s)+50},i=function isPointsInside(e,t){for(var i=!0,o=0;o<t.length;o+=2)if(!n(e,t[o],t[o+1])){i=!1;break}return i},o=t.target.selector,r=o.boundingBox,a=o.quadPoints,s=o.inkList,l={pageBoundaries:e,annotSelector:t.target.selector},c=i(e,r);if(c)if(s){for(var u=0;u<s.length;u+=1)if(!(c=i(r,s[u]))){C.getService("LoggingService").info("CommentsUtils","Annotation inkList out of page boundary",JSON.stringify(l));break}}else a&&((c=i(r,a))||C.getService("LoggingService").info("CommentsUtils","Annotation quadPoints out of page boundary",JSON.stringify(l)));else C.getService("LoggingService").info("CommentsUtils","Annotation boundingBox out of page boundary",JSON.stringify(l));return c},ui=function normalizeShapeAnnotation(e){var t=e,n=function normalizeAnnotationstrokeWidth(e){var t=Number(e);return t>12&&(t=12),t<1&&(t=1),t}(t.target.selector.strokeWidth);return t.target.selector.strokeWidth=n,t},di=function RGBToHex(e){var t=e,n=t.indexOf(",")>-1?",":" ",i=(+(t=t.substr(4).split(")")[0].split(n))[0]).toString(16),o=(+t[1]).toString(16),r=(+t[2]).toString(16);return 1===i.length&&(i="0".concat(i)),1===o.length&&(o="0".concat(o)),1===r.length&&(r="0".concat(r)),"#".concat(i).concat(o).concat(r)},fi=function getRulesForCssText(e){var t=document.implementation.createHTMLDocument(""),n=document.createElement("style");return n.textContent=e,t.body.appendChild(n),n.sheet.cssRules},pi=function normalizeFreeTextAnnotation(e){var t=e;if(e.stylesheet){var n=e.stylesheet.value,i=fi(n),o=function normalizeAnnotationFontSize(e){var t=Number(e);return t>24&&(t=24),t<6&&(t=6),t}((i[0].style.fontSize||"12px").match(/(\d*\.?\d*)(.*)/)[1]),r=i[0].style.fontFamily||"Helvetica",a=di(i[0].style.color);t.target.selector.style={fontSize:o,fontName:r,color:a},delete t.stylesheet}return t},gi=function transformAnnotation(e){var t=e;if("freetext"===t.target.selector.subtype){var n=e.target.selector.style,i="".concat(n.fontSize,"px ").concat(n.fontName);t.target.selector.styleClass=e.target.selector.styleClass||"body-value-css";var o=t.target.selector.styleClass,r={type:"CssStylesheet",value:"".concat(o," { font: ").concat(i,"; color: ").concat(n.color,";}")};delete t.target.selector.style,t.stylesheet=r}return t},mi=[],hi={annotation:["@context","type","id","motivation","bodyValue","target","creator","created","modified"],creator:["type","name"],target:[],selector:["type","node","subtype","boundingBox"],node:["index"],stylesheet:["type","value"]},vi={selector:["strokeColor","appearance","opacity"],creator:["id"]},_i={};function _validateType(e,t,n){var i;"array"===n?i=Array.isArray(t):i=G()(t)===n;if(!i){var o={message:"".concat(e," should be ").concat(n)};return mi.push(o),!1}return!0}function _validateMinLength(e,t,n){var i;t.length<n&&(Array.isArray(t)?i={message:"".concat(e," should NOT have fewer than ").concat(n," items")}:"string"==typeof t&&(i={message:"".concat(e," should NOT be shorter than ").concat(n," characters")}),mi.push(i))}function _validateMaxLength(e,t,n){var i;t.length&&t.length>n&&(Array.isArray(t)?i={message:"".concat(e," should NOT have more than ").concat(n," items")}:"string"==typeof t&&(i={message:"".concat(e," should NOT be longer than ").concat(n," characters")}),mi.push(i))}function _validateEnum(e,t,n){if(n&&!n.includes(t)){var i={message:"".concat(e," should be equal to one of these values: ").concat(n.join(", "))};return mi.push(i),!1}return!0}function _validatePattern(e,t,n){if(!t.match(n)){var i={message:"".concat(e,' should match pattern "').concat(n,'"')};mi.push(i)}}function _validateMinValue(e,t,n,i){if(t<n){var o={message:"".concat(e," should be >= ").concat(n)};mi.push(o)}if(i&&t===n){var r={message:"".concat(e," should be > ").concat(n)};mi.push(r)}}function _validateDateTime(e,t){if("string"==typeof t&&t.match("\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d:[0-5]\\d(.\\d?\\d?\\d?)?((\\+[01]\\d:[0-5]\\d)|Z)")){var n=t.substr(0,10).split("-"),i=n[0],o=n[1],r=n[2];r=r/10*10,o=o/10*10;var a=[31,28,31,30,31,30,31,31,30,31,30,31];if((i%4||!(i%100))&&i%400||(a[1]=29),!(!/\D/.test(String(r))&&r>0&&r<=a[o-1])){var s={message:"".concat(e," should be a valid date.")};mi.push(s)}}else{var l={message:"".concat(e," should be xsd:dateTime with the UTC timezone expressed as “Z”")};mi.push(l)}}function _validatePropertyContext(e){var t=_validateType("context",e,"array");if(t){_validateMinLength("context",e,2),_validateMaxLength("context",e,2),function _validateUniqueItems(e,t){if(t.length&&t.length!==new Set(t).size){var n={message:"".concat(e," should NOT have duplicate items")};mi.push(n)}}("context",e);var n=["https://www.w3.org/ns/anno.jsonld","https://comments.acrobat.com/ns/anno.jsonld"];e.forEach((function(e){(t=_validateType("contextItem",e,"string"))&&_validateEnum("contextItem",e,n)}))}}function _validateStylesheetValue(e){_validateType("stylesheetValue",e,"string");var t=fi(e);if(!t||!t[0]){mi.push({message:"Invalid stylesheet value. "})}var n=t[0].style.fontSize,i=t[0].style.fontFamily,o=di(t[0].style.color);!function _validatePropertyFontSize(e){if(_validateType("fontSize",e,"string")&&"px"!==e.match(/(\d*\.?\d*)(.*)/)[2]){mi.push({message:"Invalid fontSize value in stylesheet. "})}}(n),function _validatePropertyFontName(e){e&&_validateType("fontName",e,"string")}(i),function _validatePropertyFontColor(e){if(_validateType("color",e,"string")){_validatePattern("color",e,"^#(?:[0-9a-fA-F]{3}){1,2}$")}}(o)}function _validatePropertyOpacity(e){_validateType("opacity",e,"number")&&(_validateMinValue("opacity",e,0),function _validateMaxValue(e,t,n){if(t>n){var i={message:"".concat(e," should be <= ").concat(n)};mi.push(i)}}("opacity",e,1))}function _validatePropertyQuadPoints(e){_validateType("quadPoints",e,"array")&&(_validateMinLength("quadPoints",e,8),function _validateLengthMultipleOfN(e,t,n){if(t.length&&t.length%n!=0){var i={message:"".concat(e," should only have elements in multiples of ").concat(n)};mi.push(i)}}("quadPoints",e,8),e.forEach((function(e){_validateType("quadPointsItem",e,"number")})))}function _validateProperty(e,t,n,i){switch(t){case"@context":_validatePropertyContext(n);break;case"type":!function _validatePropertyType(e,t){if(_validateType("".concat(e," type"),t,"string")){var n;switch(e){case"annotation":n="^Annotation$";break;case"creator":n="^Person$";break;case"selector":n="^AdobeAnnoSelector$";break;case"stylesheet":n="^CssStylesheet$"}_validatePattern("".concat(e," type"),t,n)}}(e,n);break;case"id":!function _validatePropertyId(e){_validateType("id",e,"string"),_validateMinLength("id",e,1)}(n);break;case"motivation":!function _validatePropertyMotivation(e){_validateEnum("motivation",e,["replying","commenting"]),"replying"===e?_i.target=["source"]:"commenting"===e&&(_i.target=["source","selector"])}(n);break;case"bodyValue":!function _validatePropertyBodyValue(e,t){_validateType("bodyValue",e,"string"),"commenting"===t.motivation&&t.target&&t.target.selector&&"freetext"===t.target.selector.subtype&&_validateMinLength("bodyValue",e,1)}(n,i);break;case"target":!function _validatePropertyTarget(e,t){_validateObject("target",e,t)}(n,i);break;case"creator":!function _validatePropertyCreator(e,t){_validateObject("creator",e,t)}(n,i);break;case"created":!function _validatePropertyCreated(e){_validateDateTime("created",e)}(n);break;case"modified":!function _validatePropertyModified(e){_validateDateTime("modified",e)}(n);break;case"name":!function _validatePropertyName(e){_validateType("name",e,"string"),_validateMinLength("name",e,1)}(n);break;case"source":!function _validatePropertySource(e){_validateType("source",e,"string"),_validateMinLength("source",e,1)}(n);break;case"selector":!function _validatePropertySelector(e,t){_validateObject("selector",e,t)}(n,i);break;case"node":!function _validatePropertyNode(e,t){_validateObject("node",e,t)}(n,i);break;case"subtype":!function _validatePropertySubType(e){if(_validateEnum("subtype",e,["note","strikeout","highlight","underline","shape","freetext"]))switch(vi.selector=["strokeColor","appearance","opacity"],e){case"note":break;case"freetext":vi.annotation=["stylesheet"],vi.selector=["styleClass"];break;case"shape":_i.selector=["inkList"],vi.selector=["strokeColor","strokeWidth","opacity"];break;default:_i.selector=["quadPoints"]}}(n);break;case"boundingBox":!function _validatePropertyBoundingBox(e){_validateType("boundingBox",e,"array")&&(_validateMinLength("boundingBox",e,4),_validateMaxLength("boundingBox",e,4),e.forEach((function(e){_validateType("boundingBoxItem",e,"number")})))}(n);break;case"index":!function _validatePropertyIndex(e){_validateType("index",e,"number"),_validateMinValue("index",e,0)}(n);break;case"strokeColor":!function _validatePropertyStrokeColor(e){if(_validateType("strokeColor",e,"string")){_validatePattern("strokeColor",e,"^#(?:[0-9a-fA-F]{3}){1,2}$")}}(n);break;case"strokeWidth":!function _validatePropertyStrokeWidth(e){_validateType("strokeWidth",e,"number"),_validateMinValue("strokeWidth",e,0,!0)}(n);break;case"opacity":_validatePropertyOpacity(n);break;case"inkList":!function _validatePropertyInkList(e){var t=_validateType("inkList",e,"array");t&&(_validateMinLength("inkList",e,1),e.forEach((function(e){(t=_validateType("inkListItem",e,"array"))&&(_validateMinLength("inkListItem",e,1),e.forEach((function(e){_validateType("inkListArrayItem",e,"number")})))})))}(n);break;case"quadPoints":_validatePropertyQuadPoints(n);break;case"styleClass":!function _validateStyleClass(e,t){if(_validateType("styleClass",e,"string"),t.target.selector.styleClass&&t.stylesheet&&fi(t.stylesheet.value)[0].selectorText.toLowerCase()!==t.target.selector.styleClass.toLowerCase()){var n={message:"Invalid styleClass for given annotation ".concat(t.id)};mi.push(n)}}(n,i);break;case"stylesheet":!function _validateStylesheet(e,t){_validateObject("stylesheet",e,t)}(n);break;case"value":_validateStylesheetValue(n)}}function _validateObjectForKeyList(e,t,n,i,o){n&&n.forEach((function(n){if(Object.prototype.hasOwnProperty.call(t,n))_validateProperty(e,n,t[n],o);else if(i){var r={message:"".concat(e," should have required property '").concat(n,"'")};mi.push(r)}}))}function _validateObject(e,t,n){t&&"object"===G()(t)&&(_validateObjectForKeyList(e,t,hi[e],!0,n),_validateObjectForKeyList(e,t,_i[e],!0,n),_validateObjectForKeyList(e,t,vi[e],!1,n),function _removeUnnecessaryKeys(e,t){var n;if(hi[e]&&(n=hi[e]),_i[e]&&(n=n?n.concat(_i[e]):_i[e]),vi[e]&&(n=n?n.concat(vi[e]):vi[e]),Object.keys(t)&&n){var i=Object.keys(t).filter((function(e){return!n.includes(e)}));i&&i.forEach((function(e){delete t[e]}))}}(e,t))}function annotationValidator(e){return mi.length=0,_i={},e.creator&&"id"in e.creator&&"string"==typeof e.creator.id&&e.creator.id.length<1&&delete e.creator.id,_validateObject("annotation",e,e),0===mi.length}var Ei,bi=function isValidAnnotations(e){var t=C.getService("AppStore"),n=e.map((function(t,n){return annotationValidator(t)?{isValid:!0}:{isValid:!1,error:"".concat(e.length>1?"Annotation at index ".concat(n," :"):"").concat(mi.map((function(e){return e.message})).join(" "))}})),i=n.filter((function(e){return!0!==e.isValid}));if(i.length>0)return{isValid:!1,errors:i.map((function(e){return e.error}))};var o=[];return(i=(n=e.map((function(e){if("commenting"===e.motivation){var n="";return t.pdfMetadata&&e.target.selector.node.index>t.pdfMetadata.numPages-1&&(n+="Annotation id ".concat(e.id," is not having valid index. ")),t.fileInfoList[0].metaData.id!==e.target.source&&(n+="Annotation ".concat(e.id," is not having valid source. ")),-1!==o.indexOf(e.id)&&(n+="Annotation id ".concat(e.id," is duplicate")),o.push(e.id),n?{isValid:!1,error:n}:{isValid:!0}}return{isValid:!0}}))).filter((function(e){return!0!==e.isValid}))).length>0?{isValid:!1,errors:i.map((function(e){return e.error}))}:{isValid:!0,annotations:e}},Si=function filterAnnotation(e){return annotationValidator(e)?e:[]},Ai=function(){function AnnotationCommands(){var e;o()(this,AnnotationCommands),this._startAnnotationMode=function(e){var t=e;if(t.options)if("freetext"===t.mode&&t.options.fontSize){var n=t.options.fontSize.match(/(\d*\.?\d*)(.*)/),i=Number(n[1]);i>24&&(i=24),i<6&&(i=6),t.options.fontSize=i}else if("shape"===t.mode&&void 0!==t.options.strokeWidth){var o=t.options.strokeWidth;o>12&&(o=12),o<1&&(o=1),t.options.strokeWidth=o}return C.getService("CommentsApi").startAnnotationMode(t.mode,t.options)},this._apiCommands=(e={},Jn()(e,V.ADD_ANNOTATIONS,{validator:this._validateAnnotations.bind(this),action:this._importAnnotations.bind(this)}),Jn()(e,V.GET_ANNOTATIONS,{validator:this._validateFilter.bind(this),action:this._getAnnotations.bind(this)}),Jn()(e,V.DELETE_ANNOTATIONS,{validator:this._validateFilter.bind(this),action:this._deleteAnnotations.bind(this)}),Jn()(e,V.UPDATE_ANNOTATION,{validator:this._validateUpdate.bind(this),action:this._updateAnnotation.bind(this)}),Jn()(e,V.SELECT_ANNOTATION,{validator:this._isValidAnnotationId.bind(this),action:this._selectAnnotation.bind(this)}),Jn()(e,V.UNSELECT_ANNOTATION,{action:this._unselectAnnotation.bind(this)}),Jn()(e,V.COMMIT_UNSAVED_CHANGES,{action:this._commitUnsavedChanges.bind(this)}),Jn()(e,V.ANNOTATION_EVENT_LISTENER,{action:this._registerCommentsEventListener.bind(this)}),Jn()(e,V.SET_CONFIG,{validator:this._validateConfig.bind(this),action:this._setConfig.bind(this)}),Jn()(e,V.START_ANNOTATION_MODE,{validator:this._validateAnnotationMode.bind(this),action:this._startAnnotationMode.bind(this)}),Jn()(e,V.END_ANNOTATION_MODE,{action:this._endAnnotationMode.bind(this)}),Jn()(e,V.ADD_ANNOTATIONS_IN_PDF,{validator:this._validateAnnotationsInPDF.bind(this),action:this._addAnnotationsInPDF.bind(this)}),Jn()(e,V.REMOVE_ANNOTATIONS_FROM_PDF,{action:this._removeAnnotationsFromPDF.bind(this)}),Jn()(e,V.GET_PDF_BUFFER,{validator:this._validateOptions.bind(this),action:this._getPDFBuffer.bind(this)}),e)}return a()(AnnotationCommands,[{key:"_isViewSDKBundle",value:function _isViewSDKBundle(){return null!==yt()}},{key:"_setDownloadPrintInProgress",value:function _setDownloadPrintInProgress(e){C.getService("CommentsApi").isSharedCommentingMode()&&(C.getService("AppStore").isDownloadPrintInProgress=e)}},{key:"executeCommand",value:function executeCommand(e){var t=this,n=C.getService("AppStore"),i=n.getActionConfig("preview");if(this._isViewSDKBundle()?i.enableAnnotationAPIs&&!n.isEditAllowed:!i.enableAnnotationAPIs||!n.isEditAllowed)return Promise.reject(Zn(L.API_RESPONSE.FAIL,"APIs not allowed on this PDF."));var o=this._validateCommand(e);return o?Promise.reject(o):new Promise((function(i,o){n.getLinearizationWaitPromise().then((function(){t._setDownloadPrintInProgress(!0),t._apiCommands[e.command].action.call(t,e.commandData).then((function(e){t._setDownloadPrintInProgress(!1),i(e)})).catch((function(e){t._setDownloadPrintInProgress(!1),o(Zn(L.API_RESPONSE.FAIL,e.message))}))}))}))}},{key:"_validateCommand",value:function _validateCommand(e){if(this._apiCommands[e.command].validator)return this._apiCommands[e.command].validator(e.commandData)}},{key:"_isValidAnnotationIds",value:function _isValidAnnotationIds(e){return _t(e)?e.filter((function(e){return!St(e)})).length>0?Zn(L.API_RESPONSE.INVALID_ANNOTATION_ID,"Invalid value of annotationIds in filters"):void 0:Zn(L.API_RESPONSE.INVALID_ANNOTATION_ID,"Invalid value of annotationIds in filters: should be a non empty array of annotation ids")}},{key:"_isValidAnnotationId",value:function _isValidAnnotationId(e){if(!St(e))return Zn(L.API_RESPONSE.INVALID_ANNOTATION_ID,"Invalid value of annotationId")}},{key:"_validateAnnotations",value:function _validateAnnotations(e){var t=e.annotations,n=e.options;if(_t(t)){var i=bi(t);return i.isValid?"silent"in n?"boolean"==typeof n.silent?void 0:Zn(L.API_RESPONSE.INVALID_OPTIONS,"Invalid value of silent in options"):void 0:Zn(L.API_RESPONSE.INVALID_ANNOTATION,"Invalid value of Annotations ".concat(JSON.stringify(i.errors)))}return Zn(L.API_RESPONSE.INVALID_ANNOTATION,"Invalid value of Annotations: should be a non empty array")}},{key:"_validateAnnotationsInPDF",value:function _validateAnnotationsInPDF(e){if(_t(e)){var t=bi(e);return t.isValid?void 0:Zn(L.API_RESPONSE.INVALID_ANNOTATION,"Invalid value of Annotations ".concat(JSON.stringify(t.errors)))}return Zn(L.API_RESPONSE.INVALID_ANNOTATION,"Invalid value of Annotations: should be a non empty array")}},{key:"_validateFilter",value:function _validateFilter(e){if(e.annotationIds)return this._isValidAnnotationIds(e.annotationIds);if(e.pageRange){var t=e.pageRange,n=t.startPage,i=t.endPage;return n&&i&&n>0&&i>0&&i>=n?void 0:Zn(L.API_RESPONSE.INVALID_PAGE_RANGE,"Invalid value of pageRange in filters")}return"arrangeByPageIndex"in e&&"boolean"!=typeof e.arrangeByPageIndex?Zn(L.API_RESPONSE.INVALID_PAGE_RANGE,"Invalid value of arrangeByPageIndex in filters, only boolean allowed"):void 0}},{key:"_validateUpdate",value:function _validateUpdate(e){if(function isNonEmptyObject(e){return"object"===G()(e)&&Object.keys(e).length>0}(e)){var t=bi([e]);return t.isValid?void 0:Zn(L.API_RESPONSE.INVALID_ANNOTATION,"Invalid annotation data ".concat(t.errors[0]))}return Zn(L.API_RESPONSE.INVALID_ANNOTATION,"Invalid Annotation Data")}},{key:"_validateConfig",value:function _validateConfig(e){var t=Object.keys(e),n=["downloadWithAnnotations","printWithAnnotations","showCommentsPanel","showToolsOnTextSelection","showToolbar"];if(t.length<1||t.every((function(e){return-1===n.indexOf(e)}))||t.every((function(t){return"boolean"!=typeof e[t]})))return Zn(L.API_RESPONSE.INVALID_CONFIG,"Invalid Config")}},{key:"_validateOptions",value:function _validateOptions(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("mergeAnnotations"in e&&"boolean"!=typeof e.mergeAnnotations)return Zn(L.API_RESPONSE.INVALID_INPUT,"Invalid value of mergeAnnotations, only boolean allowed")}},{key:"_validateAnnotationMode",value:function _validateAnnotationMode(e){if(-1===function getValidAnnotationTypes(){var e=C.getService("AppStore").getActionConfig("preview").enableEraserAnnotationTool,t=C.getService("AppStore").getActionConfig("preview").enableFreeTextAnnotationTool;return["highlight","strikeout","underline","note","shape"].concat(N()(t?["freetext"]:[]),N()(e?["eraser"]:[]))}().indexOf(e.mode))return Zn(L.API_RESPONSE.INVALID_ANNOTATION_MODE,"Invalid Annotation Mode ".concat(e.mode));var t=Object.keys(e.options),n=["defaultColor","cursor","fontSize","strokeWidth"];return t.length>0&&t.every((function(e){return-1===n.indexOf(e)}))?Zn(L.API_RESPONSE.INVALID_OPTIONS,"Invalid Options"):e.options.defaultColor&&!function isValidRGBColor(e){return/^#[0-9A-F]{6}$/i.test(e)}(e.options.defaultColor)?Zn(L.API_RESPONSE.INVALID_OPTIONS,"Invalid defaultColor option value"):e.options.fontSize&&!function isValidFontSize(e){return"string"==typeof e&&"px"===e.match(/(\d*\.?\d*)(.*)/)[2]}(e.options.fontSize)?Zn(L.API_RESPONSE.INVALID_OPTIONS,"Invalid fontSize value, must be numeric and px as unit."):e.options.strokeWidth&&!function isValidStrokeWidth(e){return"number"==typeof e}(e.options.strokeWidth)?Zn(L.API_RESPONSE.INVALID_OPTIONS,"Invalid strokeWidth option value"):void 0}},{key:"_importAnnotations",value:function _importAnnotations(e){var t=e.annotations,n=e.options;return C.getService("CommentsApi").addAnnotations(t,n)}},{key:"_addAnnotationsInPDF",value:function _addAnnotationsInPDF(e){return C.getService("CommentsApi").addAnnotationsInPDF(e)}},{key:"_deleteAnnotations",value:function _deleteAnnotations(e){return C.getService("CommentsApi").deleteAnnotations(e)}},{key:"_removeAnnotationsFromPDF",value:function _removeAnnotationsFromPDF(){return C.getService("CommentsApi").removeAnnotationsFromPDF().then((function(e){var t=bi(e.annotations),n=t.isValid?t.annotations:[];return p()(p()({},e),{},{annotations:n})}))}},{key:"_getPDFBuffer",value:function _getPDFBuffer(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.mergeAnnotations||(e.mergeAnnotations=!1),C.getService("CommentsApi").getPDFBuffer(e)}},{key:"_getAnnotations",value:function _getAnnotations(e){return C.getService("CommentsApi").getAnnotations(e).then((function(t){var n=bi(t);if(n.isValid&&e.arrangeByPageIndex){var i=[],o=C.getService("AppStore");o.pdfMetadata&&o.pdfMetadata.numPages&&N()(Array(o.pdfMetadata.numPages).keys()).forEach((function(e){i[e]=[]}));var r={};return n.annotations.forEach((function(e){"commenting"===e.motivation&&(r[e.id]=e.target.selector.node.index)})),n.annotations.forEach((function(e){var t=r[e.id];t||0===t||(t=r[e.target.source]),r[e.id]=t,i[t].push(e)})),i}return n.isValid?n.annotations:[]}))}},{key:"_updateAnnotation",value:function _updateAnnotation(e){return C.getService("CommentsApi").updateAnnotation(Si(e))}},{key:"_selectAnnotation",value:function _selectAnnotation(e){return C.getService("CommentsApi").selectAnnotation(e)}},{key:"_unselectAnnotation",value:function _unselectAnnotation(){return C.getService("CommentsApi").unselectAnnotation()}},{key:"_commitUnsavedChanges",value:function _commitUnsavedChanges(){return C.getService("CommentsApi").commitUnsavedChanges()}},{key:"_setConfig",value:function _setConfig(e){return C.getService("CommentsApi").setConfig(e)}},{key:"_registerCommentsEventListener",value:function _registerCommentsEventListener(){return C.getService("CommentsApi").registerCommentsEventListener((function(e,t){var n=t;t.motivation&&(n=Si(si(gi(t)))),C.getService("EventsService").sendEvent(e,n)}))}},{key:"_endAnnotationMode",value:function _endAnnotationMode(){return C.getService("CommentsApi").endAnnotationMode()}}],[{key:"getClassName",value:function getClassName(){return"AnnotationCommands"}}]),AnnotationCommands}(),yi=function logEvent(e,t,n,i){if(e instanceof Ai&&i.getService("AnalyticsProviderService").logEvent({workflow:"PersonalCommentingAPI",subcategory:t.command,type:n.type}),"failed"===n.type){var o=function getErrorLog(e){return e.stack||e.message||JSON.stringify(e)}(n.error);i.getService("LoggingService").error(e.constructor.getClassName(),t.command,o)}},Ii=function(){function CommandReceiverService(){o()(this,CommandReceiverService),this._commands={},this._getCommands=p()(p()(p()({},this._getCommandsFor(z,oi)),this._getCommandsFor(V,Ai)),this._getCommandsFor(U,ri))}return a()(CommandReceiverService,[{key:"_getCommandsFor",value:function _getCommandsFor(e,t){var n=this;return Object.keys(e).reduce((function(e,i){return p()(p()({},e),{},Jn()({},i,(function(){var e=t.getClassName();return n._commands[e]||(n._commands[e]=new t),Promise.resolve(n._commands[e])})))}),{})}},{key:"executeCommand",value:function executeCommand(e){var t=this;return new Promise((function(n,i){t._getCommands[e.command]?t._getCommands[e.command]().then((function(t){yi(t,e,{type:"invoked"},C),t.executeCommand(e).then((function(i){yi(t,e,{type:"succeeded"},C),n(i)})).catch((function(n){yi(t,e,{type:"failed",error:n},C),i(n)}))})):i("Command not supported.")}))}}]),CommandReceiverService}(),wi=function(){function PerformanceService(){o()(this,PerformanceService),this._appStartTime=(new Date).getTime(),this._isEventEmitted=!1,this._fileSize=-1,this._appReadyToRender=-1,this._actionReceivedOn=-1,this._appInitializeReceivedOn=-1,this._fileDownloadCompletedOn=-1,this._errorDuringLinearizationFlow=!1,this._rangesResolveTimes=[]}return a()(PerformanceService,[{key:"initialize",value:function initialize(e,t){this._actionReceivedOn=t.actionReceivedOn,this._hostAppStartTime=t.hostAppStartTime,this._appStartTime=t.appStartTime,this._appInitializeReceivedOn=t.appInitializeReceivedOn,"preview"!==e&&(this._isEventEmitted=!0),this._appStore=C.getService("AppStore")}},{key:"setPreviewDropinReadyToRender",value:function setPreviewDropinReadyToRender(){this._previewDropinReadyToRender=(new Date).getTime();var e=Math.ceil(this._previewDropinReadyToRender-this._appStartTime);C.getService("LoggingService").logExternal("File preview ready to render.",e)}},{key:"setAppReadyToRender",value:function setAppReadyToRender(){this._appReadyToRender=(new Date).getTime()}},{key:"setFileDownloadCompletedOn",value:function setFileDownloadCompletedOn(){this._fileDownloadCompletedOn=(new Date).getTime()}},{key:"setCompleteFileLoadedOn",value:function setCompleteFileLoadedOn(){if(this._completeFileLoadedOn=(new Date).getTime(),this._logCompleteFileLoaded(),this._previewLoaded&&!this._isEventEmitted){this._isEventEmitted=!0;var e=p()(p()({},mt()),this.getPerformanceEventLog());this.emitPerformanceObject(Ot,e)}}},{key:"setErrorDuringLinearizationFlow",value:function setErrorDuringLinearizationFlow(){this._errorDuringLinearizationFlow=!0}},{key:"setLinearizationInfoProvided",value:function setLinearizationInfoProvided(e){this._linearizationInfoProvided=e}},{key:"setInitialBufferResolveTime",value:function setInitialBufferResolveTime(e){this._initialBufferResolveTime=e}},{key:"setGetInfoResolveTime",value:function setGetInfoResolveTime(e){this._getInfoResolveTime=e}},{key:"setRangesResolveTime",value:function setRangesResolveTime(e){this._rangesResolveTimes.push(e)}},{key:"setPreviewDialogOpened",value:function setPreviewDialogOpened(){this._isEventEmitted=!0}},{key:"_shouldSetPreviewLoadedCondition",value:function _shouldSetPreviewLoadedCondition(){return this._appStore.appRenderingBlocked}},{key:"setPreviewLoaded",value:function setPreviewLoaded(){if(this._shouldSetPreviewLoadedCondition())this._isEventEmitted=!0;else{var e=this._appStore.configStore.getActionConfig("preview");if(!this._isEventEmitted&&(this._previewLoaded=(new Date).getTime(),this._logPreviewLoaded(),!e.enableLinearization||this._completeFileLoadedOn)){this._isEventEmitted=!0;var t=p()(p()({},mt()),this.getPerformanceEventLog());this.emitPerformanceObject(Ot,t)}}}},{key:"setFileSize",value:function setFileSize(e){this._fileSize=e}},{key:"_logPreviewLoaded",value:function _logPreviewLoaded(){var e=Math.ceil(this._previewLoaded-this._appStartTime);C.getService("LoggingService").logExternal("File preview loaded.",e)}},{key:"_logCompleteFileLoaded",value:function _logCompleteFileLoaded(){var e=Math.ceil(this._completeFileLoadedOn-this._appStartTime);C.getService("LoggingService").logExternal("PDF viewer ready.",e)}},{key:"emitPerformanceObject",value:function emitPerformanceObject(e,t){C.getService("LoggingService").logExternal(e,t),C.getService("EventsService").sendEvent(k.APP_PERF_DATA,t)}},{key:"getPerformanceEventLog",value:function getPerformanceEventLog(){return{hostAppStartTime:this._hostAppStartTime,appInitializeReceivedOn:this._appInitializeReceivedOn,appStartTime:this._appStartTime,appReadyToRender:this._appReadyToRender,previewDropinReadyToRender:this._previewDropinReadyToRender,fileDownloadCompletedOn:this._fileDownloadCompletedOn,previewRequestReceived:this._actionReceivedOn,previewLoaded:this._previewLoaded,fileSize:this._fileSize,preset:this._appStore.configStore.getActionConfig("preview").embedMode,isOnDevice:this._appStore.isOnDevice,integrationName:this._appStore.configStore.getIntegrationName(),isLinearizationEnabled:this._appStore.configStore.getActionConfig("preview").enableLinearization,linearizationInfo:this._appStore.configStore.getActionConfig("preview").enableLinearization?{completeFileLoadedOn:this._completeFileLoadedOn,errorDuringLinearizationFlow:this._errorDuringLinearizationFlow,fileDownloadTimeBreakup:{initialBufferResolveTime:this._initialBufferResolveTime,getInfoResolveTime:this._getInfoResolveTime,rangesResolveTime:this._rangesResolveTimes},makeMultipartRangeCalls:!!this._appStore.configStore.getActionConfig("preview").linearizationConfig.makeMultipartRangeCalls,initiateEarlyFileDownload:!!this._appStore.configStore.getActionConfig("preview").linearizationConfig.initiateEarlyFileDownload,linearizationInfoProvided:this._linearizationInfoProvided}:{}}}}]),PerformanceService}(),Pi=function(){function IntegrationProvider(){o()(this,IntegrationProvider),this._init(),this.initAPIs()}return a()(IntegrationProvider,[{key:"initAPIs",value:function initAPIs(){this.apis={},this.apis.user=C.getService("UserApi"),this.apis.file=C.getService("FileApi"),this.apis.comments=C.getService("CommentsApi").getExposedAPIs()}},{key:"_init",value:function _init(){var e=this;this.readyPromise=new Promise((function(t,n){e.readyResolve=t,e.readyReject=n}))}},{key:"setAppStore",value:function setAppStore(e){this.appStore=e,this.apis.file.initialize(),this.apis.user.initialize(),this.readyResolve(this)}},{key:"ready",value:function ready(){return this.readyPromise}},{key:"addProgressListener",value:function addProgressListener(e){this.apis.file.addProgressListener(e)}},{key:"progressReceived",value:function progressReceived(e,t){return this.apis.file.progressReceived(e,t)}},{key:"getRenditionByFileId",value:function getRenditionByFileId(e,t){return this.apis.file.getRenditionByFileId(e,t)}},{key:"getFileContents",value:function getFileContents(e){return this.apis.file.getFileContents(e)}},{key:"getSelectedFilesListFromFileIds",value:function getSelectedFilesListFromFileIds(e){return this.apis.file.getSelectedFilesListFromFileIds(e)}},{key:"fetchPDFBufferRanges",value:function fetchPDFBufferRanges(e,t){return this.apis.file.fetchPDFBufferRanges(e,t)}},{key:"fetchInitialBuffer",value:function fetchInitialBuffer(e){return this.apis.file.fetchInitialBuffer(e)}},{key:"fetchPDFSize",value:function fetchPDFSize(e){return this.apis.file.fetchPDFSize(e)}},{key:"getUserProfile",value:function getUserProfile(){return this.apis.user.getUserProfile()}},{key:"getUserSettings",value:function getUserSettings(){return this.apis.user.getUserSettings()}},{key:"setUserSettings",value:function setUserSettings(e){return this.apis.user.setUserSettings(e)}}]),IntegrationProvider}(),Ti=function(){function UIHandler(){o()(this,UIHandler)}return a()(UIHandler,[{key:"initialiseHeaderRef",value:function initialiseHeaderRef(e){this._headerRef=e}},{key:"getHeight",value:function getHeight(){return yt().clientHeight}},{key:"getWidth",value:function getWidth(){return yt().clientWidth}},{key:"inHoverRangeOfHeaderAndHUD",value:function inHoverRangeOfHeaderAndHUD(e){var t=C.getService("AppStore");return t.isSizedPreset&&t.inFullScreen?e<.2*window.innerHeight||e>.8*window.innerHeight:t.inFullScreen||t.isLBPreset?e<.2*window.innerHeight:e<this.getHeight()}},{key:"showHeaderAndHUD",value:function showHeaderAndHUD(e){var t=this;this._headerRef&&this._headerRef.style&&C.getService("HUDService").showHUD().then((function(){t._headerRef.style.opacity=.8,t.fadeHeaderAndHUD(e)}))}},{key:"fadeHeaderAndHUD",value:function fadeHeaderAndHUD(e){var t=this,n=C.getService("AppStore");this._fadeTimeout&&clearInterval(this._fadeTimeout),this._fadeTimeout=setInterval((function(){var i=t.getHeight();e<48||e<i&&e>i-48||n.searchOpen||n.sideMenuOpen||!t._headerRef||!t._headerRef.style||C.getService("HUDService").fadeHUD().then((function(){t._headerRef.style.opacity=0,clearInterval(t._fadeTimeout)}))}),3e3)}},{key:"initialiseBrandingLabelRef",value:function initialiseBrandingLabelRef(e){this._brandingLabelRef=e}},{key:"inHoverRangeOfBrandingLabel",value:function inHoverRangeOfBrandingLabel(e,t){return e>.8*window.innerHeight&&t>.8*window.innerWidth}},{key:"showBrandingLabel",value:function showBrandingLabel(e,t){this._brandingLabelRef&&this._brandingLabelRef.style&&(this._brandingLabelRef.style.opacity=.8,this._brandingLabelRef.style.display="flex",this.fadeBrandingLabel(e,t))}},{key:"fadeBrandingLabel",value:function fadeBrandingLabel(e,t){var n=this;this._brandingFadeTimeout&&clearInterval(this._brandingFadeTimeout),this._brandingFadeTimeout=setInterval((function(){var i=n.getHeight(),o=n.getWidth();!(e<i&&e>i-80&&t<o&&t>o-200)&&n._brandingLabelRef&&n._brandingLabelRef.style&&(n._brandingLabelRef.style.opacity=0,clearInterval(n._brandingFadeTimeout))}),5e3)}}]),UIHandler}(),Ni=function(){function HUDService(){o()(this,HUDService)}return a()(HUDService,[{key:"showHUD",value:function showHUD(){var e=C.getService("AppStore");return new Promise((function(t){e.isSizedPreset?e.previewRef.getPublicApis().then((function(e){e.hud.fadeIn(1500),t()})):t()}))}},{key:"fadeHUD",value:function fadeHUD(){var e=C.getService("AppStore");return new Promise((function(t){e.isSizedPreset?e.previewRef.getPublicApis().then((function(e){e.hud.fadeOut(1500),t()})):t()}))}}]),HUDService}(),Oi=function(){function UIActionHandlerService(){o()(this,UIActionHandlerService),this._uiActionConfig=[]}return a()(UIActionHandlerService,[{key:"initialize",value:function initialize(e){var t=this;C.getService("ValidationService").validateUIActionConfig(e)&&e.forEach((function(e){t._uiActionConfig.push(e)}))}},{key:"getProcessedUIActionConfig",value:function getProcessedUIActionConfig(){return this._uiActionConfig}}]),UIActionHandlerService}(),Ci=function(){function CommandManager(e){o()(this,CommandManager),this._serviceFactory=e}return a()(CommandManager,[{key:"executeCommand",value:function executeCommand(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return U[e]||z[e]?this._serviceFactory.getService("CommandReceiverService").executeCommand({command:e,commandData:t,options:n}):Promise.reject({message:"Command ".concat(e," not supported.")})}},{key:"getPDFMetadata",value:function getPDFMetadata(){return this.executeCommand(z.GET_PDF_METADATA)}},{key:"setCursor",value:function setCursor(e){return this.executeCommand(z.SET_CURSOR,e)}},{key:"resetCursor",value:function resetCursor(){return this.executeCommand(z.RESET_CURSOR)}},{key:"getCurrentPage",value:function getCurrentPage(){return this.executeCommand(z.GET_CURRENT_PAGE)}},{key:"getPageZoom",value:function getPageZoom(e){return this.executeCommand(z.GET_PAGE_ZOOM_LEVEL,e)}},{key:"gotoLocation",value:function gotoLocation(e,t,n){return this.executeCommand(z.GOTO_LOCATION,{pageNumber:e,left:t||0,top:n||0})}},{key:"clearPageSelection",value:function clearPageSelection(e){return this.executeCommand(z.CLEAR_PAGE_SELECTION,e)}},{key:"enableTextSelection",value:function enableTextSelection(e){return this.executeCommand(z.TOGGLE_TEXT_SELECTION,e)}},{key:"getXMPMetadata",value:function getXMPMetadata(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.executeCommand(z.GET_XMP_METADATA,{fields:e,rawStream:t})}},{key:"getSelectedContent",value:function getSelectedContent(){return this.executeCommand(z.GET_SELECTED_CONTENT)}},{key:"search",value:function search(e){return this.executeCommand(z.START_SEARCH,{searchText:e})}},{key:"getBookmarkAPIs",value:function getBookmarkAPIs(){var e=this;return{getBookmarks:function getBookmarks(){return e.executeCommand(z.GET_ALL_BOOKMARK)},openBookmark:function openBookmark(t){return e.executeCommand(z.OPEN_BOOKMARK,t)}}}},{key:"getAttachmentAPIs",value:function getAttachmentAPIs(){var e=this;return{getAttachments:function getAttachments(){return e.executeCommand(z.GET_ATTACHMENTS)},getAttachmentBuffer:function getAttachmentBuffer(t){return e.executeCommand(z.GET_ATTACHMENT_BUFFER,t)}}}},{key:"getZoomAPIs",value:function getZoomAPIs(){var e=this;return{setZoomLevel:function setZoomLevel(t){return e.executeCommand(z.SET_ZOOM_LEVEL,t)},zoomIn:function zoomIn(){return e.executeCommand(z.ZOOM_IN)},zoomOut:function zoomOut(){return e.executeCommand(z.ZOOM_OUT)},getZoomLimits:function getZoomLimits(){return e.executeCommand(z.GET_ZOOM_LIMIT)}}}},{key:"getSearchUI",value:function getSearchUI(){return this.executeCommand(z.GET_SEARCH_UI)}},{key:"closeViewer",value:function closeViewer(){return this.executeCommand(U.CLOSE_PDF_VIEWER)}},{key:"getThumbnail",value:function getThumbnail(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Promise.all([this.getZoomAPIs().getZoomLimits(),this.getPDFMetadata()]).then((function(i){var o=Mt()(i,2),r=o[0],a=o[1].numPages;return t.executeCommand(z.GET_THUMBNAIL,{pageNumbers:e,options:n},{preCalculatedData:{zoomData:r,totalPageCount:a}})}))}},{key:"savePDF",value:function savePDF(){return this.executeCommand(z.SAVE_PDF)}},{key:"downloadPDF",value:function downloadPDF(){return this.executeCommand(z.DOWNLOAD_PDF)}},{key:"getCommandManager",value:function getCommandManager(){return this.executeCommand(z.GET_COMMAND_MANAGER)}},{key:"registerBeforeRHPOpenCallback",value:function registerBeforeRHPOpenCallback(e,t){return this.executeCommand(z.REGISTER_BEFORE_RHP_OPEN_CALLBACK,{callbackFn:e,opts:t})}},{key:"registerBeforeQuickToolActivatedCallback",value:function registerBeforeQuickToolActivatedCallback(e,t){return this.executeCommand(z.REGISTER_BEFORE_QUICK_TOOL_ACTIVATED_CALLBACK,{callbackFn:e,opts:t})}},{key:"resetQuickTool",value:function resetQuickTool(){return this.executeCommand(z.RESET_QUICK_TOOL)}},{key:"getActiveQuickTool",value:function getActiveQuickTool(){return this.executeCommand(z.GET_ACTIVE_QUICK_TOOL)}},{key:"showQuickTool",value:function showQuickTool(e){return this.executeCommand(z.SHOW_QUICK_TOOL,e)}},{key:"forceShowCommentingTools",value:function forceShowCommentingTools(e){return this.executeCommand(z.FORCE_SHOW_COMMENTING_TOOLS,e)}},{key:"isEditingAllowed",value:function isEditingAllowed(){return this.executeCommand(z.IS_EDITING_ALLOWED)}},{key:"setFileName",value:function setFileName(e){this.executeCommand(z.SET_FILE_NAME,e)}},{key:"openRHPPanel",value:function openRHPPanel(e){return this.executeCommand(z.OPEN_RHP_PANEL,e)}},{key:"closeRHPPanel",value:function closeRHPPanel(){return this.executeCommand(z.CLOSE_RHP_PANEL)}},{key:"getRHPConfig",value:function getRHPConfig(){return this.executeCommand(z.GET_RHP_CONFIG)}},{key:"updatePreviewAppConfig",value:function updatePreviewAppConfig(e){return this.executeCommand(z.UPDATE_PREVIEW_APP_CONFIG,e)}},{key:"getExposedAPIs",value:function getExposedAPIs(e){var t=this;return{getXMPMetadata:this.getXMPMetadata.bind(this),getSelectedContent:this.getSelectedContent.bind(this),getPDFMetadata:this.getPDFMetadata.bind(this),setCursor:this.setCursor.bind(this),resetCursor:this.resetCursor.bind(this),getCurrentPage:this.getCurrentPage.bind(this),getPageZoom:this.getPageZoom.bind(this),gotoLocation:this.gotoLocation.bind(this),clearPageSelection:this.clearPageSelection.bind(this),enableTextSelection:this.enableTextSelection.bind(this),getSearchUI:this.getSearchUI.bind(this),closeViewer:this.closeViewer.bind(this),getZoomAPIs:this.getZoomAPIs.bind(this),getBookmarkAPIs:this.getBookmarkAPIs.bind(this),getAttachmentAPIs:this.getAttachmentAPIs.bind(this),search:function search(n){return e.previewConfig.enableSearchAPIs?t.search(n):Promise.reject("Search APIs not enabled.")},getThumbnail:this.getThumbnail.bind(this),savePDF:this.savePDF.bind(this),downloadPDF:this.downloadPDF.bind(this),getCommandManager:this.getCommandManager.bind(this),registerBeforeRHPOpenCallback:this.registerBeforeRHPOpenCallback.bind(this),registerBeforeQuickToolActivatedCallback:this.registerBeforeQuickToolActivatedCallback.bind(this),resetQuickTool:this.resetQuickTool.bind(this),getActiveQuickTool:this.getActiveQuickTool.bind(this),showQuickTool:this.showQuickTool.bind(this),isEditingAllowed:this.isEditingAllowed.bind(this),setFileName:this.setFileName.bind(this),openRHPPanel:this.openRHPPanel.bind(this),closeRHPPanel:this.closeRHPPanel.bind(this),getRHPConfig:this.getRHPConfig.bind(this),updatePreviewAppConfig:this.updatePreviewAppConfig.bind(this),forceShowCommentingTools:this.forceShowCommentingTools.bind(this)}}}]),CommandManager}(),Li=function(){function AnnotationManager(e){o()(this,AnnotationManager),this.waitForCommandCompletion=[],this._serviceFactory=e}return a()(AnnotationManager,[{key:"initEventListener",value:function initEventListener(e){this.hasLimitedAccess=e,this.initializeEventListener=e?Promise.resolve():this.sendCommand(V.ANNOTATION_EVENT_LISTENER).catch((function(){}))}},{key:"executeCommand",value:function executeCommand(e,t){return new Promise((function(n,i){e().then((function(e){t.resolve(),n(e)})).catch((function(e){t.resolve(),i(e)}))}))}},{key:"executeCommandAfterWait",value:function executeCommandAfterWait(e){var t=this,n=N()(this.waitForCommandCompletion),i=new wt;return this.waitForCommandCompletion.push(i.promise),Promise.all(n).then((function(){return t.executeCommand(e,i)}))}},{key:"getExposedAPIs",value:function getExposedAPIs(){var e={setConfig:this.setConfig.bind(this),startAnnotationMode:this.startAnnotationMode.bind(this),endAnnotationMode:this.endAnnotationMode.bind(this),commitUnsavedChanges:this.commitUnsavedChanges.bind(this),getPDFBuffer:this.getPDFBuffer.bind(this)};return this.hasLimitedAccess?e:p()({addAnnotations:this.addAnnotations.bind(this),updateAnnotation:this.updateAnnotation.bind(this),getAnnotations:this.getAnnotations.bind(this),deleteAnnotations:this.deleteAnnotations.bind(this),selectAnnotation:this.selectAnnotation.bind(this),unselectAnnotation:this.unselectAnnotation.bind(this),registerEventListener:this.registerEventListener.bind(this),addAnnotationsInPDF:this.addAnnotationsInPDF.bind(this),removeAnnotationsFromPDF:this.removeAnnotationsFromPDF.bind(this)},e)}},{key:"sendCommand",value:function sendCommand(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this._serviceFactory.getService("CommandReceiverService").executeCommand({command:e,commandData:t})}},{key:"addAnnotations",value:function addAnnotations(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.executeCommandAfterWait((function(){return t.sendCommand(V.ADD_ANNOTATIONS,{annotations:e,options:n})}))}},{key:"updateAnnotation",value:function updateAnnotation(e){var t=this;return this.executeCommandAfterWait((function(){return t.sendCommand(V.UPDATE_ANNOTATION,e)}))}},{key:"getAnnotations",value:function getAnnotations(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.executeCommandAfterWait((function(){return e.sendCommand(V.GET_ANNOTATIONS,t)}))}},{key:"deleteAnnotations",value:function deleteAnnotations(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.executeCommandAfterWait((function(){return e.sendCommand(V.DELETE_ANNOTATIONS,t)}))}},{key:"selectAnnotation",value:function selectAnnotation(e){var t=this;return this.executeCommandAfterWait((function(){return t.sendCommand(V.SELECT_ANNOTATION,e)}))}},{key:"unselectAnnotation",value:function unselectAnnotation(){var e=this;return this.executeCommandAfterWait((function(){return e.sendCommand(V.UNSELECT_ANNOTATION)}))}},{key:"registerEventListener",value:function registerEventListener(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=n&&Array.isArray(n.listenOn)&&n.listenOn.length>0?n.listenOn:Object.keys(D),this._serviceFactory.getService("EventHandlerService").registerEventListener(t,e)}},{key:"setConfig",value:function setConfig(e){var t=this;return this.executeCommandAfterWait((function(){return t.sendCommand(V.SET_CONFIG,e)}))}},{key:"commitUnsavedChanges",value:function commitUnsavedChanges(){var e=this;return this.executeCommandAfterWait((function(){return e.sendCommand(V.COMMIT_UNSAVED_CHANGES)}))}},{key:"startAnnotationMode",value:function startAnnotationMode(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.executeCommandAfterWait((function(){return t.sendCommand(V.START_ANNOTATION_MODE,{mode:e,options:n})}))}},{key:"endAnnotationMode",value:function endAnnotationMode(){var e=this;return this.executeCommandAfterWait((function(){return e.sendCommand(V.END_ANNOTATION_MODE)}))}},{key:"addAnnotationsInPDF",value:function addAnnotationsInPDF(e){var t=this;return this.executeCommandAfterWait((function(){return t.sendCommand(V.ADD_ANNOTATIONS_IN_PDF,e)}))}},{key:"removeAnnotationsFromPDF",value:function removeAnnotationsFromPDF(){var e=this;return this.executeCommandAfterWait((function(){return e.sendCommand(V.REMOVE_ANNOTATIONS_FROM_PDF)}))}},{key:"getPDFBuffer",value:function getPDFBuffer(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.executeCommandAfterWait((function(){return e.sendCommand(V.GET_PDF_BUFFER,t)}))}}]),AnnotationManager}(),ki=function(){function AdobeViewer(e){o()(this,AdobeViewer),this._serviceFactory=e}return a()(AdobeViewer,[{key:"getAnnotationManager",value:function getAnnotationManager(e){var t=this;return this._annotationManager||(this._annotationManager=this._serviceFactory.getService("AnnotationManager"),this._annotationManager.initEventListener(e)),this._annotationManager.initializeEventListener.then((function(){return Promise.resolve(t._annotationManager.getExposedAPIs())}))}},{key:"getAPIs",value:function getAPIs(){return this._commandManager||(this._commandManager=this._serviceFactory.getService("CommandManager")),Promise.resolve(this._commandManager.getExposedAPIs(this.options))}},{key:"executeCommand",value:function executeCommand(e,t){return this._commandManager||(this._commandManager=this._serviceFactory.getService("CommandManager")),this._commandManager.executeCommand(e,t)}},{key:"getExposedAPIs",value:function getExposedAPIs(e){var t=this;this.options=e;var n={executeCommand:this.executeCommand.bind(this),getAPIs:this.getAPIs.bind(this)},i=e.previewConfig.enableAnnotationAPIs&&!1!==e.previewConfig.showAnnotationTools;return n.getAnnotationManager=function(){return t.getAnnotationManager(!i)},n}}]),AdobeViewer}(),Di={name:"Guest",firstName:"",lastName:"",email:"",isAdmin:!1,showUpsell:!1,isDefaultApp:!1,enableDefaultAppReminder:!1},Fi=function logInfo(e,t,n){n.getService("LoggingService").info("UserApi",t,e)},Ri=function maskUserInfo(e,t){var n=p()(p()({},Di),e);return n.userLocale=t.getService("AppStore").configStore.getConfig().locale||"en-US",!1===t.getService("AppStore").configStore.getConfig().noRestriction&&n.pictureURL&&delete n.pictureURL,n},Mi=function(){function UserApi(){var e=this;o()(this,UserApi),this.setUserSettings=function(t){return new Promise((function(n,i){var o=C.getService("CallbackService");o.hasCallback(g.SET_USER_SETTING_API)&&o.hasCallback(g.GET_USER_SETTING_API)?o.getCallback(g.SET_USER_SETTING_API)(t).then((function(e){e.code===L.API_RESPONSE.SUCCESS?n():(Fi(e,"Invalid setUserSettings response.",C),i())})).catch((function(e){Fi(e,"Promise rejected for setUserSettings.",C),i()})):(e.settingStorage=t,n())}))},this.settingStorage={}}return a()(UserApi,[{key:"initialize",value:function initialize(){return this.getUserProfile()}},{key:"getUserProfile",value:function getUserProfile(){return new Promise((function(e,t){var n=C.getService("CallbackService"),i=C.getService("AppStore"),o=i.getUserInfo();if(o&&Object.keys(o).length>0)e(o);else if(n.hasCallback(g.GET_USER_PROFILE_API)){n.getCallback(g.GET_USER_PROFILE_API)().then((function(n){if(n.code===L.API_RESPONSE.SUCCESS){o=n.data.userProfile,i.setUserInfo(Ri(o,C));var r=C.getService("AnalyticsProviderService");o.isAdmin&&r.logEvent({workflow:"UserProfile",subcategory:"Properties",type:"isAdmin"}),o.showUpsell&&r.logEvent({workflow:"UserProfile",subcategory:"Properties",type:"showUpsell"}),o.isDefaultApp&&r.logEvent({workflow:"UserProfile",subcategory:"Properties",type:"isDefaultApp"}),e(i.getUserInfo())}else Fi(n,"Invalid getUserInfo response.",C),t()})).catch((function(e){Fi(e,"Promise rejected for getUserInfo.",C),t()}))}else e(Ri({},C))}))}},{key:"getUserSettings",value:function getUserSettings(){var e=this;return new Promise((function(t,n){var i=C.getService("CallbackService");i.hasCallback(g.GET_USER_SETTING_API)?i.getCallback(g.GET_USER_SETTING_API)().then((function(e){e.code===L.API_RESPONSE.SUCCESS?t(e.data.setting):(Fi(e,"Invalid getUserSettings response",C),n())})).catch((function(e){Fi(e,"Promise rejected for getUserSettings.",C),n()})):t(e.settingStorage)}))}}]),UserApi}(),xi={};function makeXhrCall(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new XMLHttpRequest;if(n.open(t.method,e.url),e.accessToken){var i=e.accessToken;n.setRequestHeader(i.key,i.value)}return e.headers&&e.headers.length>0&&e.headers.forEach((function(e){return n.setRequestHeader(e.key,e.value)})),t&&(t.downloadWithCredentials&&(n.withCredentials=!0),t.responseType&&(n.responseType=t.responseType),"function"==typeof t.progressCB&&(n.addEventListener("progress",(function(e){e.lengthComputable?t.progressCB(e.loaded,e.total):e.loaded&&t.progressCB(e.loaded,t.totalSize)})),n.addEventListener("loadstart",(function(e){e.lengthComputable&&t.progressCB(e.loaded,e.total)})))),n.onload=function(){return t.onload(n)},n.onerror=t.onerror,n.ontimeout=t.ontimeout,n.send(),n}function makePartialContentXhrCall(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=p()({},e);return i.headers=e.headers?N()(e.headers):[],i.headers.push({key:"Range",value:"bytes=".concat(t)}),makeXhrCall(i,n)}function parseMultipartBody(e,t){return e.split("--".concat(t)).reduce((function(e,t){if(t&&"--"!==t){var n=t.trim().split(/\r\n\r\n/g),i=Mt()(n,2)[1];i&&e.push(function _textToArrayBuffer(e){for(var t=e.length,n=new Uint8Array(t),i=0;i<t;i+=1)n[i]=e.charCodeAt(i);return n.buffer}(i))}return e}),[])}function getUrlContent(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new Promise((function(i,o){var r=p()(p()({},n),{},{method:"GET",responseType:"arraybuffer",progressCB:t,onload:function onload(e){if(e.status>=200&&e.status<400)i({buffer:e.response,mimeType:e.getResponseHeader("content-type")});else{var t={status:e.status,statusText:e.statusText};o({message:"Failed to download file contents, with error: ".concat(JSON.stringify(t))})}},onerror:function onerror(){o({message:"Failed to download file contents"})},ontimeout:function ontimeout(){o({message:"Failed to download file contents due to timeout"})}});Ei=makeXhrCall(e,r)}))}function getFileBufferRange(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new Promise((function(i,o){var r=p()(p()({},n),{},{method:"GET",responseType:"arraybuffer",onload:function onload(e){if("".concat(t.start,"-").concat(t.end)in xi&&delete xi["".concat(t.start,"-").concat(t.end)],4===e.readyState&&206===e.status)i(e.response);else{var n={status:e.status,statusText:e.statusText};o({message:"Failed to get file buffer range with error: ".concat(JSON.stringify(n))})}},onerror:function onerror(){o({message:"Failed to get file buffer range"})},ontimeout:function ontimeout(){o({message:"Failed to get file buffer range due to timeout"})}}),a=makePartialContentXhrCall(e,"".concat(t.start,"-").concat(t.end),r);n.abortable&&(xi["".concat(t.start,"-").concat(t.end)]=a)}))}function getFileBufferRanges(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new Promise((function(i,o){if(1!==t.length&&n.makeMultipartRangeCalls){var r=p()(p()({},n),{},{method:"GET",onload:function onload(e){if(4===e.readyState&&206===e.status){var t=e.getResponseHeader("Content-Type").match(/boundary=(.+)$/i)?e.getResponseHeader("Content-Type").match(/boundary=(.+)$/i)[1]:void 0;if(t){var n=parseMultipartBody(e.responseText,t);i({bufferList:n})}else o({message:"Failed to get file buffer ranges"})}else{var r={status:e.status,statusText:e.statusText};o({message:"Failed to get file buffer range with error: ".concat(JSON.stringify(r))})}},onerror:function onerror(){o({message:"Failed to get file buffer range"})},ontimeout:function ontimeout(){o({message:"Failed to get file buffer range due to timeout"})}});makePartialContentXhrCall(e,"".concat(t.map((function(e){return"".concat(e.start,"-").concat(e.end)})).join(",")),r)}else{var a=[];t.forEach((function(t){a.push(getFileBufferRange(e,t,n))})),Promise.all(a).then((function(e){return i({bufferList:e})})).catch((function(e){return o(e)}))}}))}var Bi,Vi,Ui,zi,Hi,ji,Gi,Wi,qi,Ki,Yi,Ji,Zi,Xi,Qi,$i,eo,to,no,io,oo,ro,ao,so=function(){function FileApi(){o()(this,FileApi),this._progressListeners=[],this._className="FileApi",this._downloadTimes={},this._linearizationTimeInfo={},this._rangeBuffers={},this._rangePromises=[],this.progressReceived=this.progressReceived.bind(this)}return a()(FileApi,[{key:"initialize",value:function initialize(){var e=this;if(this._appStore=C.getService("AppStore"),this._appStore.isInPreview){var t=this._appStore.fileInfoList[0];"application/pdf"===t.metaData.mimeType.toLowerCase()&&(this._appStore.getActionConfig("preview").enableLinearization?this.initForLinearization(t):this.getFileContents(t.id).catch((function(){}))),this.getPagesRenditionByFileId(t.id)}this.addProgressListener((function(t,n){e._appStore.setFileLoadingProgress(t,n)}))}},{key:"initForLinearization",value:function initForLinearization(e){var t=this;this._linearizationInfoProvided=!!e.content.linearizationInfo,this.fetchPDFSize(e.id).catch((function(){}));var n=function initGetFileContents(){t.getFileContents(e.id).then((function(){t._rangePromises.forEach((function(e){e.reject()})),t._rangePromises=[],function abortRangeCalls(){Object.values(xi).forEach((function(e){e.abort()}))}()})).catch((function(){}))};this._appStore.getActionConfig("preview").linearizationConfig.initiateEarlyFileDownload?(this.fetchInitialBuffer(e.id).catch((function(){})),n()):this.fetchInitialBuffer(e.id).finally((function(){n()})),this.addProgressListener((function(e,n){t._remainingBytes=n-e})),C.getService("PerformanceService").setLinearizationInfoProvided(this._linearizationInfoProvided)}},{key:"addProgressListener",value:function addProgressListener(e){this._progressListeners.push(e)}},{key:"progressReceived",value:function progressReceived(e,t){this._progressListeners.forEach((function(n){return n(e,t)}))}},{key:"getPagesRenditionByFileId",value:function getPagesRenditionByFileId(e){var t=this,n=this._appStore.getFileInfoById(e);n&&n.rendition&&Object.keys(n.rendition).forEach((function(n){t.getRenditionByFileId(e,{pageNum:n}).catch((function(){}))}))}},{key:"getRenditionByFileId",value:function getRenditionByFileId(e,t){var n=this,i=this._appStore.getFileInfoById(e),o=C.getService("CallbackService");if(i&&i.rendition){var r=i.rendition[t.pageNum>0?t.pageNum:1];if(r)return r.promise||(r.promise=getUrlContent(r.location).then((function(e){return{pageImgBuffer:e.buffer,mimeType:e.mimeType,pageNum:t.pageNum}}))),r.promise}else if(o.hasCallback(g.GET_RENDITION_API)){var a=function logHelper(e,t){C.getService("LoggingService").info(n._className,e,JSON.stringify(t))};return new Promise((function(e,n){o.getCallback(g.GET_RENDITION_API)(t).then((function(t){t&&t.code===L.API_RESPONSE.SUCCESS?e(t.data):(a("Invalid GET_RENDITION_API response",t),n("Rendition not available"))})).catch((function(e){a("Promise rejected for GET_RENDITION_API",e),n(e)}))}))}return Promise.reject("Rendition not available")}},{key:"hasRenditions",value:function hasRenditions(){var e=this._appStore.getFileInfoList();return!!(e&&e.length&&e[0].rendition)||C.getService("CallbackService").hasCallback(g.GET_RENDITION_API)}},{key:"getFileContents",value:function getFileContents(e){var t=this,n=this._appStore.getFileInfoById(e);if(n&&n.content&&n.metaData){if(n.filePromise)return n.filePromise;var i=n.content,o=C.getService("LoggingService");return this._downloadTimes.pdfDownloadStartTime=performance.now(),i.promise||(o.debug(this._className,"Getting file from location"),o.logExternal("Getting file from location."),i.promise=getUrlContent(i.location,this.progressReceived).then((function(e){return e.buffer}))),n.filePromise=i.promise.then((function(e){var n=C.getService("PerformanceService");return e.byteLength&&(n.setFileSize(e.byteLength),t.progressReceived(e.byteLength,e.byteLength)),t._downloadTimes.pdfDownloadEndTime=performance.now(),e})).catch((function(e){o.error(t._className,"File download failed: ",JSON.stringify(e)),setTimeout((function(){t._appStore.setAppRenderingBlocked(!0)}),1e3)})),n.filePromise}return Promise.reject("No file to download")}},{key:"getSelectedFilesListFromFileIds",value:function getSelectedFilesListFromFileIds(e){var t=this,n=[];return e.forEach((function(e){var i,o=t._appStore.getFileInfoById(e);o&&(i=p()(p()({},o.metaData),{},{id:e,downloadUrl:e,type:o.metaData.mimeType,name:o.metaData.fileName})),n.push(i)})),Promise.resolve(n)}},{key:"fetchPDFBufferRanges",value:function fetchPDFBufferRanges(e,t){var n=this,i="".concat(t.map((function(e){return"".concat(e.start,"-").concat(e.end)})).join(","));if(this._logLinearizationInfo("fetchPDFBufferRanges called: ".concat(i)),1===t.length&&0===t[0].start){if(void 0===t[0].end||t[0].end===this._linearizedFileSize)return this.getFileContents(e).then((function(e){return[e]})).catch((function(e){return e}));if(1024===t[0].end)return this.fetchInitialBuffer(e)}var o=0;if(t.forEach((function(e){o+=e.end-e.start+1})),void 0!==this._remainingBytes&&this._remainingBytes<o){var r="Requested range bytes > remaining bytes left for complete PDF download";return this._logLinearizationInfo(r),Promise.reject({message:r})}var a=this._appStore.getFileInfoById(e);if(a&&a.content){var s=a.content;s.linearizationInfo=s.linearizationInfo||{};var l=s.linearizationInfo,c=C.getService("PerformanceService");this._linearizationTimeInfo.bufferRangesTimes=this._linearizationTimeInfo.bufferRangesTimes||{},this._linearizationTimeInfo.bufferRangesTimes[i]={startTime:(new Date).getTime()},l.getFileBufferRanges||(l.getFileBufferRanges=this._getGetFileBufferRanges(s,t));var u=new wt;return this._rangePromises.push(u),l.getFileBufferRanges(this._preProcessRanges(t)).then((function(e){if(function isValidGetBufferRangesResult(e,t){return!(!t.bufferList||t.bufferList.length!==e.length)}(t,e)){n._linearizationTimeInfo.bufferRangesTimes[i].endTime=(new Date).getTime(),c.setRangesResolveTime({ranges:i,time:n._linearizationTimeInfo.bufferRangesTimes[i].endTime-n._linearizationTimeInfo.bufferRangesTimes[i].startTime});var o=n._getResultRangeBuffers(t,e.bufferList);n._logLinearizationInfo("Fetch buffer ranges resolved: ".concat(i)),n._cacheResolvedBuffers(t,o),u.resolve(o)}else n._logLinearizationError("Invalid buffer ranges received"),u.reject()})).catch((function(e){n._logLinearizationError("Fetch buffer ranges rejected: ",JSON.stringify(e)),u.reject(e)})),u.promise}return Promise.reject("No file to fetch buffer range")}},{key:"_getGetFileBufferRanges",value:function _getGetFileBufferRanges(e){var t=C.getService("LoggingService");this._logLinearizationInfo("Getting file buffer ranges from location"),t.logExternal("Getting file buffer ranges from location.");var n={abortable:!0,makeMultipartRangeCalls:this._appStore.getActionConfig("preview").linearizationConfig.makeMultipartRangeCalls};return function(t){return getFileBufferRanges(e.location,t,n)}}},{key:"_preProcessRanges",value:function _preProcessRanges(e){var t=this,n=[];return e.forEach((function(e){t._rangeBuffers["".concat(e.start,"-").concat(e.end)]||n.push(e)})),n}},{key:"_getResultRangeBuffers",value:function _getResultRangeBuffers(e,t){var n=this,i=[];return e.forEach((function(e,o){n._rangeBuffers["".concat(e.start,"-").concat(e.end)]?i.push(n._rangeBuffers["".concat(e.start,"-").concat(e.end)]):i.push(t[o])})),i}},{key:"_cacheResolvedBuffers",value:function _cacheResolvedBuffers(e,t){var n=this;e.forEach((function(e,i){n._rangeBuffers["".concat(e.start,"-").concat(e.end)]=t[i]}))}},{key:"fetchPDFSize",value:function fetchPDFSize(e){var t=this;this._logLinearizationInfo("fetchPDFSize called");var n=this._appStore.getFileInfoById(e);if(n&&n.content){var i=n.content;if(i.fileSizePromise)return i.fileSizePromise;i.linearizationInfo=i.linearizationInfo||{};var o=i.linearizationInfo,r=C.getService("LoggingService"),a=C.getService("PerformanceService");return this._linearizationTimeInfo.getInfoStartTime=(new Date).getTime(),i.infoPromise||(o.getInfo||(this._logLinearizationInfo("Getting file size from location"),r.logExternal("Getting file size from location."),o.getInfo=function(){return function getInfo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(n,i){var o=p()(p()({},t),{},{method:"HEAD",onload:function onload(e){if(e.status>=200&&e.status<300||304===e.status)try{var t=Number(e.getResponseHeader("Content-length"));t?n({fileSize:t}):i({message:"Invalid content-length"})}catch(e){i({message:"Error getting content-length"})}else{var o={status:e.status,statusText:e.statusText};i({message:"Failed to get file size, with error: ".concat(JSON.stringify(o))})}},onerror:function onerror(){i({message:"Failed to get file size"})},ontimeout:function ontimeout(){i({message:"Failed to get file size due to timeout"})}});makeXhrCall(e,o)}))}(i.location)}),i.infoPromise=o.getInfo()),i.fileSizePromise=new Promise((function(e,n){i.infoPromise.then((function(i){!function isValidGetInfoResult(e){return"number"==typeof e.fileSize&&e.fileSize>0}(i)?(t._logLinearizationError("Invalid file info received"),n()):(t._linearizationTimeInfo.getInfoEndTime=(new Date).getTime(),a.setGetInfoResolveTime(t._linearizationTimeInfo.getInfoEndTime-t._linearizationTimeInfo.getInfoStartTime),t._logLinearizationInfo("Fetch file size resolved: ",{result:i}),t._linearizedFileSize=i.fileSize,e(i.fileSize))})).catch((function(e){t._logLinearizationError("Fetch file size rejected: ",JSON.stringify(e)),n(e)}))})),i.fileSizePromise}return Promise.reject("No file to fetch size")}},{key:"fetchInitialBuffer",value:function fetchInitialBuffer(e){var t=this;this._logLinearizationInfo("fetchInitialBuffer called");var n=this._appStore.getFileInfoById(e);if(n&&n.content){var i=n.content;if(i.initialBufferRangePromise)return i.initialBufferRangePromise;this._linearizationInfoProvided||(i.linearizationInfo={});var o=i.linearizationInfo,r=C.getService("LoggingService"),a=C.getService("PerformanceService");return this._linearizationTimeInfo.getInitialBufferStartTime=(new Date).getTime(),i.initialBufferPromise||(o.getInitialBuffer||(this._logLinearizationInfo("Getting initial buffer from location"),r.logExternal("Getting initial buffer from location."),o.getInitialBuffer=function(){return getFileBufferRanges(i.location,[{start:0,end:1024}]).then((function(e){return{buffer:e.bufferList[0]}}))}),i.initialBufferPromise=o.getInitialBuffer()),i.initialBufferRangePromise=new Promise((function(e,n){i.initialBufferPromise.then((function(i){!function isValidGetInitialBufferResult(e){return!(!e.buffer||1025!==e.buffer.byteLength)}(i)?(t._logLinearizationError("Invalid initial buffer received"),n()):(t._linearizationTimeInfo.getInitialBufferEndTime=(new Date).getTime(),a.setInitialBufferResolveTime(t._linearizationTimeInfo.getInitialBufferEndTime-t._linearizationTimeInfo.getInitialBufferStartTime),t._logLinearizationInfo("Fetch initial buffer resolved"),e([i.buffer]))})).catch((function(e){t._logLinearizationError("Fetch initial buffer rejected: ",JSON.stringify(e)),n(e)}))})),i.initialBufferRangePromise}return Promise.reject("No file to fetch initial buffer")}},{key:"getDownloadTimes",value:function getDownloadTimes(){return this._downloadTimes}},{key:"_logLinearizationInfo",value:function _logLinearizationInfo(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=C.getService("LoggingService"),o=p()(p()({},t),{},{makeMultipartRangeCalls:!!this._appStore.getActionConfig("preview").linearizationConfig.makeMultipartRangeCalls,initiateEarlyFileDownload:!!this._appStore.getActionConfig("preview").linearizationConfig.initiateEarlyFileDownload,linearizationInfoProvided:this._linearizationInfoProvided});n?i.error(this._className,e,o):i.info(this._className,e,o)}},{key:"_logLinearizationError",value:function _logLinearizationError(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=C.getService("PerformanceService");n.setErrorDuringLinearizationFlow(),this._logLinearizationInfo(e,t,!0)}},{key:"abortFileDownload",value:function abortFileDownload(){C.getService("LoggingService").info(this._className,"Aborting the file download call"),function abortFileDownloadCall(){Ei&&Ei.abort()}()}}]),FileApi}(),lo=function(){function CommentsApi(){o()(this,CommentsApi),this.initApis()}var e,t;return a()(CommentsApi,[{key:"initApis",value:function initApis(){var e=this;this._commentsApis={},this._commentApiPromise=new Promise((function(t){e._commentApiResolve=t}))}},{key:"resetApis",value:function resetApis(){this.initApis()}},{key:"getExposedAPIs",value:function getExposedAPIs(){return{areAnnotationAPIsEnabled:function areAnnotationAPIsEnabled(){return C.getService("AppStore").getActionConfig("preview").enableAnnotationAPIs},includePDFAnnotations:function includePDFAnnotations(){return!C.getService("AppStore").getActionConfig("preview").enableAnnotationAPIs||C.getService("AppStore").getActionConfig("preview").includePDFAnnotations},registerCommentsApis:this.registerCommentsApis.bind(this),isFreetextEnabled:this.isFreetextEnabled.bind(this),isEraserToolEnabled:this.isEraserToolEnabled.bind(this),registerTools:this.registerTools.bind(this),isSharedCommentingMode:function isSharedCommentingMode(){return C.getService("AppStore").isIntegration&&C.getService("AppStore").getActionConfig("preview").enableAnnotationAPIs},isReadOnlyMode:function isReadOnlyMode(){return!C.getService("AppStore").isEditAllowed},setPreventDirtyPDF:this.setPreventDirtyPDF.bind(this)}}},{key:"isSharedCommentingMode",value:function isSharedCommentingMode(){var e=C.getService("AppStore");return e.isIntegration&&e.getActionConfig("preview").enableAnnotationAPIs}},{key:"registerTools",value:function registerTools(e){this.tools=e}},{key:"getTopBarTools",value:function getTopBarTools(){return this.tools?this.tools.getTopBarTools():[]}},{key:"getCustomTopBarTools",value:function getCustomTopBarTools(){return this.tools&&this.tools.getCustomTopBarTools?this.tools.getCustomTopBarTools():[]}},{key:"getToolbar",value:function getToolbar(){return this.tools?this.tools.getToolbar():an.a.createElement(an.a.Fragment,{__self:this,__source:{fileName:"/build/src/api/CommentsApi.js",lineNumber:116,columnNumber:68}})}},{key:"isFreetextEnabled",value:function isFreetextEnabled(){return C.getService("AppStore").getActionConfig("preview").enableFreeTextAnnotationTool}},{key:"isEraserToolEnabled",value:function isEraserToolEnabled(){return C.getService("AppStore").getActionConfig("preview").enableEraserAnnotationTool}},{key:"setPreventDirtyPDF",value:function setPreventDirtyPDF(e){C.getService("AppStore").preventDirtyPDF=e}},{key:"registerCommentsApis",value:function registerCommentsApis(e){var t=this;this._commentsApis=e;var n=C.getService("AppStore").getActionConfig("preview");if(n.enableAnnotationAPIs){if(n.enableLinearization){var i={enableCommentsPanel:!1};this.toggleCommenting(!1,i),C.getService("AppStore").getLinearizationWaitPromise().then((function(){t.toggleCommenting(!0,i)}))}this.setConfig(n.annotationUIConfig)}else n.annotationUIConfig&&"showCommentsPanel"in n.annotationUIConfig&&this._commentsApis.setConfig({showCommentsPanel:n.annotationUIConfig.showCommentsPanel}),this._commentsApis.registerEventListener((function(e,t){var n=t;t.motivation&&(n=function getAnnotationType(e){return e.target.selector.subtype}(t)),C.getService("EventsService").sendEvent(e,n)}));this.registerCallbackForDownloadPrint(),this._commentApiResolve()}},{key:"registerCommentsEventListener",value:function registerCommentsEventListener(e){var t=this;return this._commentApiPromise.then((function(){return t._commentsApis.registerEventListener(e)}))}},{key:"toggleCommenting",value:function toggleCommenting(e,t){var n=this;return this._commentApiPromise.then((function(){return n._commentsApis.toggleCommenting(e,t)}))}},{key:"addAnnotations",value:(t=ei()(Qn.a.mark((function _callee(e){var t,n,i,o,r,a,s,l,c,u,d,f=arguments;return Qn.a.wrap((function _callee$(p){for(;;)switch(p.prev=p.next){case 0:return t=f.length>1&&void 0!==f[1]?f[1]:{},p.next=3,this.getAnnotations({});case 3:if(n=p.sent,i=n.map((function(e){return e.id})),!((o=e.filter((function(e){return-1!==i.indexOf(e.id)}))).length>0)){p.next=8;break}return p.abrupt("return",Promise.reject(new Error("Annotation already there for given id ".concat(o.map((function(e){return e.id})).join(", ")))));case 8:if(!((r=C.getService("AppStore")).pdfMetadata&&r.pdfMetadata.numPages&&e.filter((function(e){return"commenting"===e.motivation})).length>0)){p.next=16;break}return p.next=12,r.previewRef.getPublicApis().then((function(e){return Promise.all(N()(Array(r.pdfMetadata.numPages).keys()).map((function(t){return e.document.getPageAttributes(t+1).then((function(e){return e.boxes.CropBox}))})))}));case 12:if(a=p.sent,!((o=e.filter((function(e){return"replying"!==e.motivation&&!ci(a[e.target.selector.node.index],e)}))).length>0)){p.next=16;break}return p.abrupt("return",Promise.reject(new Error("Annotation selector is not valid for given ".concat(o.map((function(e){return e.id})).join(", ")))));case 16:s="silent"in t?!t.silent:!(e.length>1),l={shouldTakeFocus:s},c=[],u=0;case 20:if(!(u<e.length)){p.next=40;break}if("replying"!==(d=si(e[u])).motivation){p.next=30;break}return p.t0=c,p.next=26,this._commentsApis.addReply(d,l);case 26:p.t1=p.sent,p.t0.push.call(p.t0,p.t1),p.next=37;break;case 30:return"freetext"===d.target.selector.subtype&&(d=pi(d)),"shape"===d.target.selector.subtype&&(d=ui(d)),p.t2=c,p.next=35,this._commentsApis.addComment(d,l);case 35:p.t3=p.sent,p.t2.push.call(p.t2,p.t3);case 37:u+=1,p.next=20;break;case 40:return p.abrupt("return",Promise.all(c).then((function(){return Promise.resolve()})));case 41:case"end":return p.stop()}}),_callee,this)}))),function addAnnotations(e){return t.apply(this,arguments)})},{key:"getAnnotations",value:function getAnnotations(e){var t=this;return this._commentApiPromise.then((function(){return t._commentsApis.getComments(li(e))})).then((function(e){return e.map((function(e){return si(gi(e))}))}))}},{key:"deleteAnnotations",value:function deleteAnnotations(e){var t=this;return this._commentApiPromise.then((function(){return t._commentsApis.deleteComments(li(e))}))}},{key:"updateAnnotation",value:(e=ei()(Qn.a.mark((function _callee2(e){var t,n,i,o=this;return Qn.a.wrap((function _callee2$(r){for(;;)switch(r.prev=r.next){case 0:if(t=e,n=C.getService("AppStore"),"commenting"!==t.motivation){r.next=12;break}if(!n.pdfMetadata||!n.pdfMetadata.numPages){r.next=10;break}return r.next=6,n.previewRef.getPublicApis().then((function(e){return Promise.all(N()(Array(n.pdfMetadata.numPages).keys()).map((function(t){return e.document.getPageAttributes(t+1).then((function(e){return e.boxes.CropBox}))})))}));case 6:if(i=r.sent,ci(i[t.target.selector.node.index],t)){r.next=10;break}return r.abrupt("return",Promise.reject(new Error("Annotation selector is not valid for given ".concat(t.id))));case 10:"freetext"===t.target.selector.subtype&&(t=pi(t)),"shape"===t.target.selector.subtype&&(t=ui(t));case 12:return r.abrupt("return",this._commentApiPromise.then((function(){return o._commentsApis.updateComment(t)})));case 13:case"end":return r.stop()}}),_callee2,this)}))),function updateAnnotation(t){return e.apply(this,arguments)})},{key:"selectAnnotation",value:function selectAnnotation(e){var t=this;return this._commentApiPromise.then((function(){return t._commentsApis.selectComment(e)}))}},{key:"unselectAnnotation",value:function unselectAnnotation(){var e=this;return this._commentApiPromise.then((function(){return e._commentsApis.unselectComment()}))}},{key:"commitUnsavedChanges",value:function commitUnsavedChanges(){var e=this;return this._commentApiPromise.then((function(){return"function"==typeof e._commentsApis.commitUnsavedChanges?e._commentsApis.commitUnsavedChanges():new Promise((function(e){return setTimeout(e,200)}))}))}},{key:"startAnnotationMode",value:function startAnnotationMode(e,t){var n=this;return this._commentApiPromise.then((function(){n._commentsApis.startAnnotationMode(e,t),t.cursor&&C.getService("AppStore").previewRef.getApis("INT_COMMANDS",["modifyCursor"]).then((function(e){return e.modifyCursor.setCursor(t.cursor)}))}))}},{key:"endAnnotationMode",value:function endAnnotationMode(){var e=this;return this._commentApiPromise.then((function(){e._commentsApis.endAnnotationMode(),C.getService("AppStore").previewRef.getApis("INT_COMMANDS",["modifyCursor"]).then((function(e){return e.modifyCursor.resetCursor()}))}))}},{key:"setConfig",value:function setConfig(e){var t=this;return this._commentApiPromise.then((function(){t._commentsApis.setConfig(e),"showToolbar"in e&&C.getService("AppStore").configStore.setShowCommentingToolbar(e.showToolbar),"downloadWithAnnotations"in e&&(t.downloadWithAnnotations=e.downloadWithAnnotations),"printWithAnnotations"in e&&(t.printWithAnnotations=e.printWithAnnotations)}))}},{key:"toggleCommentsPanel",value:function toggleCommentsPanel(e){var t=this;return this._commentApiPromise.then((function(){t._commentsApis.stores.commentsDropinStore.setShouldShowCommentsPanel(e)}))}},{key:"registerCallbackForDownloadPrint",value:function registerCallbackForDownloadPrint(){var e=this,t=C.getService("AppStore");t.getActionConfig("preview").enableAnnotationAPIs&&!t.getActionConfig("preview").includePDFAnnotations&&["Download","Print"].forEach((function(n){t.previewRef.getPublicApis().then((function(i){i.app["before".concat(n)]((function(){return t.preventDirtyPDF=!0,e._commentsApis.beforePrintDownload(e["".concat(n.toLowerCase(),"WithAnnotations")])})),i.app["after".concat(n)]((function(){e._commentsApis.afterPrintDownload(e["".concat(n.toLowerCase(),"WithAnnotations")]).then((function(){t.preventDirtyPDF=!1}))}))}))}))}},{key:"addAnnotationsInPDF",value:function addAnnotationsInPDF(e){return C.getService("AppStore").getActionConfig("preview").includePDFAnnotations?this.addAnnotations(e).then((function(){return C.getService("AppStore").previewRef.getApis("INTEGRATION_CONNECTOR",["document"])})).then((function(e){return e.document.getUpdatedPDFBuffer(!1)})):Promise.reject(new Error("includePDFAnnotations should be set to true"))}},{key:"removeAnnotationsFromPDF",value:function removeAnnotationsFromPDF(){var e,t=this;return C.getService("AppStore").getActionConfig("preview").includePDFAnnotations?this.getAnnotations({}).then((function(n){return e=n,n.length>0?t.deleteAnnotations({}):Promise.resolve()})).then((function(){return C.getService("AppStore").previewRef.getApis("INTEGRATION_CONNECTOR",["document"])})).then((function(e){return e.document.getUpdatedPDFBuffer(!1)})).then((function(t){return{pdfBuffer:t,annotations:e}})):Promise.reject(new Error("includePDFAnnotations should be set to true"))}},{key:"getPDFBuffer",value:function getPDFBuffer(e){var t=this,n=C.getService("AppStore");return e.mergeAnnotations?this.getAnnotations({}).then((function(e){e.forEach((function(e){"freetext"===e.target.selector.subtype&&(e=pi(e))}));var t=e.filter((function(e){return"commenting"===e.motivation})),n=e.filter((function(e){return"replying"===e.motivation}));return t.map((function(e){return p()(p()({},e),{},{replies:n.filter((function(t){return e.id===t.target.source}))})}))})).then((function(e){return n.preventDirtyPDF=!0,t._commentsApis.addAnnotationsInPDF(e).then((function(){return n.previewRef.getApis("INTEGRATION_CONNECTOR",["document"]).then((function(e){return e.document.getUpdatedPDFBuffer(!1)})).then((function(i){return t._commentsApis.removeAnnotationsFromPDF(e).then((function(){n.preventDirtyPDF=!1})),i}))}))})):n.previewRef.getApis("INTEGRATION_CONNECTOR",["document"]).then((function(e){return e.document.getUpdatedPDFBuffer(!1)}))}}]),CommentsApi}(),co=n("/9Fw"),uo=n.n(co),fo=(n("mYoS"),n("gxke").default),po=function(){function DialogApi(){o()(this,DialogApi),this.init()}return a()(DialogApi,[{key:"init",value:function init(){this.currDialogKey=null}},{key:"reset",value:function reset(){this.hide(),this.init()}},{key:"handleKeyDown",value:function handleKeyDown(e){"Escape"!==e.key&&"Esc"!==e.key||e.stopImmediatePropagation()}},{key:"show",value:function show(e){this.currDialogKey||(document.addEventListener("keydown",this.handleKeyDown),this.currDialogKey=uo.a.show(an.a.createElement(fo,Object.assign({className:wn()(["sdk-Dialog-dialog",C.getService("AppStore").isInLinePreset?"sdk-Dialog-dialogTop":""]),onKeyDown:this.handleKeyDown},e,{__self:this,__source:{fileName:"/build/src/preview/react-component/dialogs/index.js",lineNumber:51,columnNumber:54}}),e.message)))}},{key:"showBlockingDialog",value:function showBlockingDialog(e,t,n,i){var o=this,r={title:this._getFormattedMessage(e),message:this._getFormattedMessage(t)};n&&"function"==typeof n.onConfirm&&(r.onConfirm=function(e){o.hide(),n.onConfirm(e)},r.confirmLabel=n.confirmLabel),i&&"function"==typeof i.onCancel&&(r.onCancel=function(e){o.hide(),i.onCancel(e)},r.cancelLabel=i.cancelLabel),this.show(r)}},{key:"showBlockingDialogWithReload",value:function showBlockingDialogWithReload(e,t){var n={onConfirm:function onConfirm(){return C.getService("EventsService").sendEvent(k.RELOAD_APP)},confirmLabel:this._getFormattedMessage("RELOAD_APP")};this.showBlockingDialog(e,t,n)}},{key:"showConflictDialog",value:function showConflictDialog(e){var t,n=this;this._isSameEmail(e.mail).then((function(i){t=i?n._getFormattedMessage("dialog.conflict.file.self.content"):n._getFormattedMessage("dialog.conflict.file.content",{name:e.name,mail:e.mail});var o={title:n._getFormattedMessage("dialog.conflict.file.title"),onConfirm:n._reloadPage,confirmLabel:n._getFormattedMessage("dialog.conflict.file.confirmLabel"),onCancel:function onCancel(){e.onCancel(),n.hide(e)},cancelLabel:n._getFormattedMessage("dialog.conflict.file.cancelLabel"),message:t};n.show(o)}))}},{key:"showNewFileDialog",value:function showNewFileDialog(e){var t,n=this;this._isSameEmail(e.mail).then((function(i){t=i?n._getFormattedMessage("dialog.new.file.self.content"):n._getFormattedMessage("dialog.new.file.content",{name:e.name,mail:e.mail});var o={title:n._getFormattedMessage("dialog.new.file.title"),onConfirm:n._reloadPage,confirmLabel:n._getFormattedMessage("dialog.new.file.confirmLabel"),message:t};n.show(o)}))}},{key:"showUnsavedFileDialog",value:function showUnsavedFileDialog(e,t){this.showBlockingDialog("dialog.unsaved.title","dialog.unsaved.message",{confirmLabel:this._getFormattedMessage("dialog.unsaved.confirmLabel"),onConfirm:e},{cancelLabel:this._getFormattedMessage("dialog.unsaved.cancelLabel"),onCancel:t})}},{key:"hide",value:function hide(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};document.removeEventListener("keydown",this.handleKeyDown),e.onClose&&e.onClose(),this.currDialogKey&&(uo.a.hide(this.currDialogKey),this.currDialogKey=null)}},{key:"_isSameEmail",value:function _isSameEmail(e){return new Promise((function(t){C.getService("IntegrationProvider").getUserProfile().then((function(n){var i=n?n.email:"";t(e&&i&&e===i)})).catch((function(){t(!1)}))}))}},{key:"_getFormattedMessage",value:function _getFormattedMessage(e,t){return C.getService("AppStore").intl.formatMessage({id:e},t)}},{key:"_reloadPage",value:function _reloadPage(){C.getService("AppStore").setFileStatus(void 0),C.getService("AppStore").setIsDirty(!1),C.getService("EventsService").sendEvent(k.RELOAD_APP)}}]),DialogApi}(),go=function blockPrintEvent(e){((e.metaKey||e.ctrlKey)&&80===e.keyCode||112===e.keyCode)&&e.stopImmediatePropagation()},mo=["https:","http:"],ho=(Bi=function(){function ConfigStore(){o()(this,ConfigStore),Be()(this,"showDownload",Vi,this),Be()(this,"showFullScreen",Ui,this),Be()(this,"showPrint",zi,this),Be()(this,"exitPDFViewerType",Hi,this),Be()(this,"showCommentingToolbar",ji,this),this._config=this.initialConfig,this._actionConfig={}}return a()(ConfigStore,[{key:"initialConfig",get:function get(){return Wt}},{key:"presetInitialConfig",get:function get(){return Xt}},{key:"presetForceConfig",get:function get(){return Qt}},{key:"init",value:function init(e){this._config=p()(p()({},this.initialConfig),e),this._config.externalJSComponentURL&&(function isValidUrl(e){if(!e)return!1;try{var t=new URL(e).protocol;return-1!==mo.indexOf(t)}catch(e){return!1}}(this._config.externalJSComponentURL)||(this._config.externalJSComponentURL="")),this._actionConfig={},this._config.leftAlignFileName&&(this._config.showBrandingTitle=!1)}},{key:"setActionConfig",value:function setActionConfig(e,t){var n=this._generateFinalConfigObjects(e,t);this._actionConfig[e]=n.finalActionConfig,this._config=n.config,this.setShowDownload(this._actionConfig[e].showDownloadPDF),this.setShowPrint(this._actionConfig[e].showPrintPDF),this.setShowFullScreen(this._actionConfig[e].showFullScreen),this.setExitPDFViewerType(this._actionConfig[e].exitPDFViewerType),this.setShowCommentingToolbar(this._actionConfig[e].annotationUIConfig.showToolbar||!0)}},{key:"_getConfigWithRestriction",value:function _getConfigWithRestriction(e,t){return p()(p()({},qt[e]),t)}},{key:"_generateFinalConfigObjects",value:function _generateFinalConfigObjects(e,t){var n=this._getConfigWithRestriction(e,t),i=p()({},this._config);if(-1===e.toLowerCase().indexOf("preview"))return{config:i,finalActionConfig:n};var o=this.presetInitialConfig[n.embedMode];o||(n.embedMode=Gt,o=this.presetInitialConfig[n.embedMode]),n=p()(p()({},o.actionConfig),n),i=p()(p()({},o.config),i),n.embedMode===b.FULL_WINDOW&&n.defaultViewMode&&!I[n.defaultViewMode]&&(n.defaultViewMode="");var r=this.presetForceConfig[n.embedMode];return n=p()(p()({},n),r.actionConfig),i=p()(p()({},i),r.config),n.embedMode!==b.IN_LINE||n.showDownloadPDF||(n.showDownloadPDFInPageControl=!1),n.showPageControls||(n.dockPageControls=!0),n.adjustSearchUIBelowTopBar&&(n.adjustSearchUI=!0),n.enableLinearization&&!function isSharedArrayBufferSupported(){var e,t=!1;try{t=!!window.SharedArrayBuffer,e="isSharedArrayBufferSupported: ".concat(t)}catch(t){e="Error while checking isSharedArrayBufferSupported"}return C.getService("LoggingService").info("AppUtil",e),t}()&&(n.enableLinearization=!1,this._linearizationForceDisabled=!0,C.getService("LoggingService").info("ConfigStore","Linearization force disabled.")),{config:i,finalActionConfig:n}}},{key:"isLinearizationInitiallyEnabled",get:function get(){return this.getActionConfig("preview").enableLinearization||this._linearizationForceDisabled}},{key:"getActionConfig",value:function getActionConfig(e){return this._actionConfig[e]||{}}},{key:"getConfig",value:function getConfig(){return this._config}},{key:"getPollingConfig",value:function getPollingConfig(){var e=C.getService("CallbackService").getCallbackOptions(g.SAVE_API)||{};return p()(p()(p()({},this.getStatusCallbackConfig()),"autoSaveFrequency"in e?{autoSaveFrequency:e.autoSaveFrequency}:{}),"enableFocusPolling"in e?{enableFocusPolling:e.enableFocusPolling}:{})}},{key:"getStatusCallbackConfig",value:function getStatusCallbackConfig(){var e=C.getService("CallbackService").getCallbackOptions(g.STATUS_API);return p()(p()({},Kt),e||Yt)}},{key:"getSaveCallbackConfig",value:function getSaveCallbackConfig(){var e=C.getService("CallbackService").getCallbackOptions(g.SAVE_API);return p()(p()(p()({},Jt),e||Zt),{},{incremental:!1})}},{key:"getIntegrationName",value:function getIntegrationName(){return this._config.integrationName}},{key:"hasAdobeMenuActions",value:function hasAdobeMenuActions(){var e=this._config,t=e.showLegalNotice,n=e.helpUrl;return t||n}},{key:"_sendActionConfigUpdate",value:function _sendActionConfigUpdate(){C.getService("AppStore").sendActionConfigUpdate()}},{key:"setShowDownload",value:function setShowDownload(e){this.showDownload=e,this._sendActionConfigUpdate()}},{key:"setShowFullScreen",value:function setShowFullScreen(e){this.showFullScreen=e,this._sendActionConfigUpdate()}},{key:"setExitPDFViewerType",value:function setExitPDFViewerType(e){this.exitPDFViewerType=e}},{key:"setShowPrint",value:function setShowPrint(e){this.showPrint=e,e?this.printBlocked&&(!function unblockPrint(){document.removeEventListener("keydown",go)}(),this.printBlocked=!1):(!function blockPrint(){document.addEventListener("keydown",go)}(),this.printBlocked=!0),this._sendActionConfigUpdate()}},{key:"setShowCommentingToolbar",value:function setShowCommentingToolbar(e){this.showCommentingToolbar=e,this._sendActionConfigUpdate()}}]),ConfigStore}(),Vi=Ue()(Bi.prototype,"showDownload",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return!0}}),Ui=Ue()(Bi.prototype,"showFullScreen",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return!0}}),zi=Ue()(Bi.prototype,"showPrint",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return!0}}),Hi=Ue()(Bi.prototype,"exitPDFViewerType",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return A}}),ji=Ue()(Bi.prototype,"showCommentingToolbar",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return!0}}),Ue()(Bi.prototype,"setShowDownload",[d.action],Object.getOwnPropertyDescriptor(Bi.prototype,"setShowDownload"),Bi.prototype),Ue()(Bi.prototype,"setShowFullScreen",[d.action],Object.getOwnPropertyDescriptor(Bi.prototype,"setShowFullScreen"),Bi.prototype),Ue()(Bi.prototype,"setExitPDFViewerType",[d.action],Object.getOwnPropertyDescriptor(Bi.prototype,"setExitPDFViewerType"),Bi.prototype),Ue()(Bi.prototype,"setShowPrint",[d.action],Object.getOwnPropertyDescriptor(Bi.prototype,"setShowPrint"),Bi.prototype),Ue()(Bi.prototype,"setShowCommentingToolbar",[d.action],Object.getOwnPropertyDescriptor(Bi.prototype,"setShowCommentingToolbar"),Bi.prototype),Bi),vo=n("zvE0"),_o=n.n(vo),Eo=n("U4PE"),bo=n.n(Eo),So=function(){function UIActionConfigStore(){var e=this;o()(this,UIActionConfigStore),this.uiActionsConfigMap=new Map,this.init=function(t){t.forEach((function(t){t.position===W.TOPBAR_ELLIPSES&&e.updateUIActionConfig(W.TOPBAR_ELLIPSES,t)}))},this.supportedIcons=Jn()({},q.REPORT_ABUSE,an.a.createElement(_o.a,{__self:this,__source:{fileName:"/build/src/store/UIActionConfigStore.js",lineNumber:49,columnNumber:45}},an.a.createElement(bo.a,{__self:this,__source:{fileName:"/build/src/store/UIActionConfigStore.js",lineNumber:49,columnNumber:51}})))}return a()(UIActionConfigStore,[{key:"updateUIActionConfig",value:function updateUIActionConfig(e,t){var n=this.uiActionsConfigMap.get(e)||[];n.push(t),this.uiActionsConfigMap.set(e,n)}},{key:"getUIActionConfig",value:function getUIActionConfig(e){return this.uiActionsConfigMap.get(e)||[]}},{key:"getUIActionIcon",value:function getUIActionIcon(e){return this.supportedIcons[e]}}]),UIActionConfigStore}(),Ao=n("p/6q"),yo=n.n(Ao),Io=(n("ACDX"),"/build/src/preview/react-component/progress/presentation/ProgressView.js"),wo=Object(vn.observer)(((Wi=function(e){l()(ProgressView,e);var t=u()(ProgressView);function ProgressView(){return o()(this,ProgressView),t.apply(this,arguments)}return a()(ProgressView,[{key:"render",value:function render(){var e=this.props.progressText,t="sdk-ProgressView-progress";C.getService("AppStore").getConfig().fullScreenLoader&&(t="sdk-ProgressView-progressFixed");var n=C.getService("AppStore").getConfig().showUploadFileLoader;return C.getService("AppStore").getConfig().showSimpleLoader?e="":t=n?wn()([t,"sdk-UploadProgressView-progressBG"]):wn()([t,"sdk-ProgressView-progressBG"]),an.a.createElement("div",{className:t,__self:this,__source:{fileName:Io,lineNumber:53,columnNumber:13}},C.getService("AppStore").isInLinePreset?an.a.createElement(rn.Fragment,{__self:this,__source:{fileName:Io,lineNumber:57,columnNumber:29}},an.a.createElement(yo.a,{className:"sdk-ProgressView-progressWaitInLine",size:"L",__self:this,__source:{fileName:Io,lineNumber:58,columnNumber:33}}),an.a.createElement("div",{className:wn()(["sdk-ProgressView-progressTextInLine",n?"sdk-ProgressText-dark":"sdk-ProgressText-light"]),__self:this,__source:{fileName:Io,lineNumber:59,columnNumber:33}},this.props.progressText)):an.a.createElement(rn.Fragment,{__self:this,__source:{fileName:Io,lineNumber:70,columnNumber:29}},an.a.createElement(yo.a,{centered:!0,size:"L",__self:this,__source:{fileName:Io,lineNumber:71,columnNumber:33}}),an.a.createElement("div",{className:wn()(["sdk-ProgressView-progressText",n?"sdk-ProgressText-dark":"sdk-ProgressText-light"]),__self:this,__source:{fileName:Io,lineNumber:72,columnNumber:33}},e)))}}]),ProgressView}(an.a.Component)).propTypes={progressText:un.a.string.isRequired},Gi=Wi))||Gi,Po=Object(vn.observer)(((Ki=function(e){l()(ProgressContainer,e);var t=u()(ProgressContainer);function ProgressContainer(){return o()(this,ProgressContainer),t.apply(this,arguments)}return a()(ProgressContainer,[{key:"render",value:function render(){return an.a.createElement(wo,Object.assign({},this.props,{__self:this,__source:{fileName:"/build/src/preview/react-component/progress/container/ProgressContainer.js",lineNumber:35,columnNumber:13}}))}}]),ProgressContainer}(an.a.Component)).propTypes={progressText:un.a.string},Ki.defaultProps={progressText:""},qi=Ki))||qi,To=(n("SBBi"),"/build/src/preview/react-component/error/presentation/ErrorModalDialog.js"),No=n("gxke").default,Oo=Object(vn.observer)(((Ji=function(e){l()(ErrorModalDialog,e);var t=u()(ErrorModalDialog);function ErrorModalDialog(){return o()(this,ErrorModalDialog),t.apply(this,arguments)}return a()(ErrorModalDialog,[{key:"render",value:function render(){var e=this,t=C.getService("AppStore");return an.a.createElement("div",{className:"sdk-ErrorModalDialog-errorDialog",__self:this,__source:{fileName:To,lineNumber:49,columnNumber:13}},an.a.createElement(No,{className:"sdk-ErrorModalDialog-errorMsg",variant:"error",title:this.props.title||this.props.intl.formatMessage({id:"error"}),confirmLabel:this.props.intl.formatMessage({id:this.props.confirmLabel||"ok"}),onConfirm:function onConfirm(){return e.props.onConfirm()},__self:this,__source:{fileName:To,lineNumber:50,columnNumber:17}},this.props.message,t.configStore.getConfig().supportUrl&&an.a.createElement(Z.FormattedHTMLMessage,{id:"error.contact.support",values:{jobId:t.configStore.getConfig().sessionId,supportUrl:t.configStore.getConfig().supportUrl},__self:this,__source:{fileName:To,lineNumber:61,columnNumber:29}})))}}]),ErrorModalDialog}(an.a.Component)).propTypes={message:un.a.string,title:un.a.string,confirmLabel:un.a.string,onConfirm:un.a.func.isRequired,intl:un.a.objectOf(un.a.any).isRequired},Ji.defaultProps={message:"",title:"",confirmLabel:"ok"},Yi=Ji))||Yi,Co=Object(vn.observer)(((Xi=function(e){l()(ErrorContainer,e);var t=u()(ErrorContainer);function ErrorContainer(){return o()(this,ErrorContainer),t.apply(this,arguments)}return a()(ErrorContainer,[{key:"clearError",value:function clearError(){C.getService("AppStore").setAppError(null)}},{key:"render",value:function render(){var e=this,t=C.getService("AppStore").appError,n=function getErrorMessage(e,t){return e.message?e.message:t.getService("AppStore").intl.formatMessage({id:"error.default"})}(t,C),i=t.confirmLabel;return an.a.createElement(Oo,Object.assign({message:n,confirmLabel:i,onConfirm:function onConfirm(){t.onConfirm?t.onConfirm():e.clearError()}},this.props,{__self:this,__source:{fileName:"/build/src/preview/react-component/error/container/ErrorContainer.js",lineNumber:44,columnNumber:13}}))}}]),ErrorContainer}(an.a.Component)).propTypes={intl:un.a.objectOf(un.a.any).isRequired},Zi=Xi))||Zi,Lo=n("xB9Z"),ko=(n("LMsI"),"/build/src/preview/react-component/toast/presentation/ToastView.js"),Do=Object(vn.observer)((($i=function(e){l()(ToastView,e);var t=u()(ToastView);function ToastView(){return o()(this,ToastView),t.apply(this,arguments)}return a()(ToastView,[{key:"render",value:function render(){return an.a.createElement(Lo.Toast,{variant:this.props.variant,onClose:this.props.onClose,closable:!0,className:"sdk-Toast-toast",__self:this,__source:{fileName:ko,lineNumber:39,columnNumber:13}},an.a.createElement(Z.FormattedHTMLMessage,{id:this.props.message.id,values:this.props.message.values,__self:this,__source:{fileName:ko,lineNumber:45,columnNumber:17}}))}}]),ToastView}(an.a.Component)).propTypes={message:un.a.objectOf(un.a.any).isRequired,variant:un.a.string.isRequired,onClose:un.a.func.isRequired},Qi=$i))||Qi,Fo=Object(vn.observer)(eo=function(e){l()(ToastContainer,e);var t=u()(ToastContainer);function ToastContainer(){var e;o()(this,ToastContainer);for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return(e=t.call.apply(t,[this].concat(i))).getConfig=function(){e.hideToast(C.getService("AppStore").toastInfo);var t=C.getService("AppStore").configStore.getIntegrationName()?C.getService("AppStore").intl.formatMessage({id:C.getService("AppStore").configStore.getIntegrationName()}):"",n=C.getService("AppStore").toastInfo;if(n&&n.type===je.SHOW_TOAST.ERROR){var i="toast.error.content";return n&&n.messageId&&(i=n.messageId),{message:{id:i},variant:je.TOAST_TYPE.ERROR,onClose:e.closeToast}}return n&&n.type===je.SHOW_TOAST.CONFLICT?{message:{id:"toast.conflict.content",values:{url:n.data.folderLink,integrationName:t}},variant:je.TOAST_TYPE.SUCCESS,onClose:e.closeToast}:n&&n.type===je.SHOW_TOAST.SAVED?{message:{id:e.getSuccessContentId(n.dropinName),values:{url:n.data.folderLink,folderLocation:n.data.folderLocation,integrationName:t}},variant:je.TOAST_TYPE.SUCCESS,onClose:e.closeToast}:{}},e.getSuccessContentId=function(e){var t="toast.success.content";if(e)switch(e){case"organizepdf":case"createpdf":case"exportpdf":case"protectpdf":case"compresspdf":case"combinepdf":t="toast.success.content.".concat(e)}return t},e.closeToast=function(){return C.getService("AppStore").setToastInfo(null)},e.hideToast=function(t){setTimeout((function(){t&&C.getService("AppStore").toastInfo&&t.type===C.getService("AppStore").toastInfo.type&&e.closeToast()}),2e4)},e}return a()(ToastContainer,[{key:"render",value:function render(){var e=this.getConfig();return an.a.createElement(an.a.Fragment,{__self:this,__source:{fileName:"/build/src/preview/react-component/toast/container/ToastContainer.js",lineNumber:114,columnNumber:13}},0!==Object.keys(e).length&&an.a.createElement(Do,Object.assign({},e,{__self:this,__source:{fileName:"/build/src/preview/react-component/toast/container/ToastContainer.js",lineNumber:118,columnNumber:25}})))}}]),ToastContainer}(an.a.Component))||eo,Ro="/build/src/preview/react-component/main-app/container/AppContainer.js",Mo=function consumeEvent(e){e.stopPropagation(),e.preventDefault()},xo=Object(vn.observer)(((no=function(e){l()(AppContainer,e);var t=u()(AppContainer);function AppContainer(e,n){var i;return o()(this,AppContainer),(i=t.call(this,e,n))._appStore=C.getService("AppStore"),i._appStore.setIntl(n.intl),i}return a()(AppContainer,[{key:"componentDidMount",value:function componentDidMount(){C.getService("EventsService").sendEvent(B.APP_RENDERING_START),window.addEventListener("dragover",Mo,!1),window.addEventListener("drop",Mo,!1)}},{key:"getProps",value:function getProps(){return this.props}},{key:"render",value:function render(){return this._oneTimeMessage||(C.getService("LoggingService").logExternal("App attached to DOM."),this._oneTimeMessage=!0),an.a.createElement(an.a.Fragment,{__self:this,__source:{fileName:Ro,lineNumber:62,columnNumber:13}},this._appStore.showLoader&&!this._appStore.getConfig().showSimpleLoader&&an.a.createElement(Po,{progressText:this._appStore.progressText,__self:this,__source:{fileName:Ro,lineNumber:66,columnNumber:25}}),this._appStore.showToast&&an.a.createElement(Fo,{__self:this,__source:{fileName:Ro,lineNumber:73,columnNumber:24}}),this._appStore.appError&&an.a.createElement(Co,Object.assign({intl:this.context.intl},this.props,{__self:this,__source:{fileName:Ro,lineNumber:78,columnNumber:25}})),this._appStore.isHidingBranding&&_n.getComponent("HidingBrandingContainer"),_n.getComponent("App",this.getProps()))}}]),AppContainer}(an.a.Component)).contextTypes={intl:Z.intlShape.isRequired},to=no))||to,Bo=n("tquP"),Vo=n.n(Bo),Uo="/build/src/preview/react-component/header/container/HeaderContainer.js",zo=6,Ho=6,jo=3,Go=800,Wo=750,qo=Object(vn.observer)((oo=function(e){l()(HeaderContainer,e);var t=u()(HeaderContainer);function HeaderContainer(){var e;return o()(this,HeaderContainer),e=t.call(this),Be()(e,"numOfTopBarAction",ro,Vo()(e)),e.config={},Be()(e,"navConfig",ao,Vo()(e)),e._loggingService=C.getService("LoggingService"),e._uiHandler=C.getService("UIHandler"),e._appStore=C.getService("AppStore"),e._headerRef=an.a.createRef(),e._handleMouseOut=e._handleMouseOut.bind(Vo()(e)),e._handleMouseMoveOver=e._handleMouseMoveOver.bind(Vo()(e)),e._getNumOfTopBarAction=e._getNumOfTopBarAction.bind(Vo()(e)),e._touchStart=e._touchStart.bind(Vo()(e)),e._touchMove=e._touchMove.bind(Vo()(e)),e._touchEnd=e._touchEnd.bind(Vo()(e)),e._tapOnDevice=e._tapOnDevice.bind(Vo()(e)),e._getNumOfTopBarAction(),e}return a()(HeaderContainer,[{key:"getEventForAction",value:function getEventForAction(){return B.ACTION_ICONS}},{key:"getDOMElementForEvent",value:function getDOMElementForEvent(){return yt()}},{key:"componentDidMount",value:function componentDidMount(){var e=this;C.getService("EventsService").registerEventListener(this.getEventForAction(),(function(t){var n=function sortTopbarActionsList(e,t){return e&&e.length>0?e.filter((function(e){return-1!==t.indexOf(e.id)})).sort((function(e,n){return t.indexOf(e.id)-t.indexOf(n.id)})):e}(t.topbarConfig,tn);e.setNavConfig({topBarActions:n,sideMenuActions:t.sideMenuConfig})})),window.addEventListener("resize",this._getNumOfTopBarAction),this._appStore.isHidingHeader&&(this.getDOMElementForEvent().addEventListener("mousemove",this._handleMouseMoveOver),this.getDOMElementForEvent().addEventListener("mouseout",this._handleMouseOut),this._appStore.isOnDevice&&(this.getDOMElementForEvent().addEventListener("touchstart",this._touchStart),this.getDOMElementForEvent().addEventListener("touchmove",this._touchMove),this.getDOMElementForEvent().addEventListener("touchend",this._touchEnd)))}},{key:"componentWillUnmount",value:function componentWillUnmount(){window.removeEventListener("resize",this._getNumOfTopBarAction),this._appStore.isHidingHeader&&(this.getDOMElementForEvent().removeEventListener("mousemove",this._handleMouseMoveOver),this.getDOMElementForEvent().removeEventListener("mouseout",this._handleMouseOut),this._appStore.isOnDevice&&(this.getDOMElementForEvent().removeEventListener("touchstart",this._touchStart),this.getDOMElementForEvent().removeEventListener("touchmove",this._touchMove),this.getDOMElementForEvent().removeEventListener("touchend",this._touchEnd)))}},{key:"setNavConfig",value:function setNavConfig(e){this.navConfig=e}},{key:"setNumOfTopBarAction",value:function setNumOfTopBarAction(e){var t=e;if(t>3){var n=C.getService("CommentsApi");n.isFreetextEnabled()&&(t+=1),n.isEraserToolEnabled()&&(t+=1)}this.numOfTopBarAction=t}},{key:"_getNumOfTopBarAction",value:function _getNumOfTopBarAction(){window.innerWidth>=Go?this.setNumOfTopBarAction(zo):window.innerWidth>=Wo?this.setNumOfTopBarAction(Ho):this.setNumOfTopBarAction(jo)}},{key:"_touchStart",value:function _touchStart(){this._noTouchMovement=!0}},{key:"_touchMove",value:function _touchMove(){this._noTouchMovement=!1}},{key:"_touchEnd",value:function _touchEnd(){this._noTouchMovement&&this._tapOnDevice()}},{key:"_tapOnDevice",value:function _tapOnDevice(){this._uiHandler.showHeaderAndHUD(yt().clientHeight)}},{key:"_handleMouseOut",value:function _handleMouseOut(){this._headerRef&&this._headerRef.style&&this._uiHandler.fadeHeaderAndHUD(yt().clientHeight)}},{key:"_handleMouseMoveOver",value:function _handleMouseMoveOver(e){if(e&&!this._appStore.searchOpen){var t=yt().getBoundingClientRect(),n=e.clientY-t.top;this._uiHandler.inHoverRangeOfHeaderAndHUD(n)&&this._uiHandler.showHeaderAndHUD(n)}}},{key:"shouldHideAnnotationTools",value:function shouldHideAnnotationTools(){return gt()||!this._appStore.isEditAllowed||!this._appStore.configStore.showCommentingToolbar||!this._appStore.getActionConfig("preview").showAnnotationTools}},{key:"getProps",value:function getProps(){return{}}},{key:"_adjustSearchUI",value:function _adjustSearchUI(){}},{key:"render",value:function render(){var e=this;this._appStore.isHidingHeader&&(this._appStore.searchOpen?this._headerRef&&this._headerRef.style&&(this._headerRef.style.opacity=.8):this._uiHandler.showHeaderAndHUD(100)),this._appStore.searchOpen&&this._adjustSearchUI(this._setToTop),Object.assign(this.config,this.navConfig);var t=this.config,n=function mergeActions(e,t,n){var i=!!(e&&e.length>0&&e[0].label),o=!!(t&&t.length>0&&t[0].label);if(i&&o){var r=[].concat(N()(e),N()(t));if(e.length>n)return{topBarActions:r.slice(0,n),sideMenuActions:r.slice(n)}}return{topBarActions:e,sideMenuActions:t}}(t.topBarActions,t.sideMenuActions,this.numOfTopBarAction),i=[];n.topBarActions&&(i=N()(n.topBarActions));var o,r=[];if(n.sideMenuActions&&(r=N()(n.sideMenuActions)),i.forEach((function(e){"documentSearch"===e.id&&(o=e)})),o||r.forEach((function(e){"documentSearch"===e.id&&(o=e)})),!this._appStore.getConfig().showTopBar)return an.a.createElement("div",{style:{display:"none"},__self:this,__source:{fileName:Uo,lineNumber:283,columnNumber:17}},o&&an.a.createElement(jn,{action:o,__self:this,__source:{fileName:Uo,lineNumber:285,columnNumber:41}}));if(o&&(this.searchAction=o),this.searchAction&&this._appStore.searchOpen&&this._appStore.adjustSearchUI)(i=i.filter((function(e){return"documentSearch"!==e.id}))).push(p()(p()({},this.searchAction),{},{onClick:function onClick(){}})),setTimeout((function(){var e=document.getElementById("documentSearch");e&&e.childNodes&&e.childNodes.length>0&&e.childNodes[0].childNodes&&e.childNodes[0].childNodes.length>0&&(e.childNodes[0].childNodes[0].style.fill="#1473e6")}),10);else if(this.searchAction){i.find((function(e){return"documentSearch"===e.id}))||r.find((function(e){return"documentSearch"===e.id}))||i.push(this.searchAction)}var a=i.filter((function(e){return"documentPrint"===e.id}));if(a&&1===a.length&&(i=i.filter((function(e){return"documentPrint"!==e.id})),r.push(a[0])),this._appStore.configStore.showDownload||r&&(r=r.filter((function(e){return"documentDownload"!==e.id}))),this._appStore.configStore.showPrint||r&&(r=r.filter((function(e){return"documentPrint"!==e.id}))),r&&r.length>1){var s=r.filter((function(e){return"documentPrint"===e.id}));s&&1===s.length&&(r=r.filter((function(e){return"documentPrint"!==e.id}))).push(s[0])}r&&1===r.length&&!this._appStore.configStore.hasAdobeMenuActions()&&(i=[].concat(N()(i),N()(r)),r=[]);this.shouldHideAnnotationTools()&&(i&&(i=i.filter((function(e){return-1===en.indexOf(e.id)}))),r&&(r=r.filter((function(e){return-1===en.indexOf(e.id)})))),this._appStore.getActionConfig("preview").enableSearchAPIs&&(i&&(i=i.filter((function(e){return"documentSearch"!==e.id}))),r&&(r=r.filter((function(e){return"documentSearch"!==e.id}))));var l=this._appStore.isIntegration&&this._appStore.isToolsInactive;return an.a.createElement(an.a.Fragment,{__self:this,__source:{fileName:Uo,lineNumber:375,columnNumber:13}},_n.getComponent("HeaderView",p()({topBarActions:i||[],sideMenuActions:r||[],inFullScreen:this._appStore.inFullScreen,showFullScreen:this._appStore.configStore.showFullScreen,exitPDFViewerType:this._appStore.configStore.exitPDFViewerType,setRef:function setRef(t){e._headerRef=t,e._uiHandler.initialiseHeaderRef(t)},viewMode:this._appStore.currentViewMode,searchOpen:this._appStore.searchOpen,previewRef:this._appStore.previewRef,fileStatus:this._appStore.fileStatus,makeToolsInactive:l},this.getProps())))}}]),HeaderContainer}(rn.Component),Ue()(oo.prototype,"setNavConfig",[d.action],Object.getOwnPropertyDescriptor(oo.prototype,"setNavConfig"),oo.prototype),Ue()(oo.prototype,"setNumOfTopBarAction",[d.action],Object.getOwnPropertyDescriptor(oo.prototype,"setNumOfTopBarAction"),oo.prototype),ro=Ue()(oo.prototype,"numOfTopBarAction",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return zo}}),ao=Ue()(oo.prototype,"navConfig",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return{}}}),io=oo))||io;function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var Ko={preventDefaultTouchmoveEvent:!1,delta:10,rotationAngle:0,trackMouse:!1,trackTouch:!0},Yo={xy:[0,0],swiping:!1,eventData:void 0,start:void 0};function rotateXYByAngle(e,t){if(0===t)return e;var n=Math.PI/180*t;return[e[0]*Math.cos(n)+e[1]*Math.sin(n),e[1]*Math.cos(n)-e[0]*Math.sin(n)]}function getHandlers(e,t){var n=function onStart(t){t.touches&&t.touches.length>1||e((function(e,n){n.trackMouse&&(document.addEventListener("mousemove",i),document.addEventListener("mouseup",a));var o=t.touches?t.touches[0]:t,r=rotateXYByAngle([o.clientX,o.clientY],n.rotationAngle);return _extends({},e,Yo,{eventData:{initial:[].concat(r),first:!0},xy:r,start:t.timeStamp||0})}))},i=function onMove(t){e((function(e,n){if(!e.xy[0]||!e.xy[1]||t.touches&&t.touches.length>1)return e;var i=t.touches?t.touches[0]:t,o=rotateXYByAngle([i.clientX,i.clientY],n.rotationAngle),r=o[0],a=o[1],s=e.xy[0]-r,l=e.xy[1]-a,c=Math.abs(s),u=Math.abs(l),d=(t.timeStamp||0)-e.start,f=Math.sqrt(c*c+u*u)/(d||1);if(c<n.delta&&u<n.delta&&!e.swiping)return e;var p=function getDirection(e,t,n,i){return e>t?n>0?"Left":"Right":i>0?"Up":"Down"}(c,u,s,l),g=_extends({},e.eventData,{event:t,absX:c,absY:u,deltaX:s,deltaY:l,velocity:f,dir:p});n.onSwiping&&n.onSwiping(g);var m=!1;return(n.onSwiping||n.onSwiped||n["onSwiped"+p])&&(m=!0),m&&n.preventDefaultTouchmoveEvent&&n.trackTouch&&t.cancelable&&t.preventDefault(),_extends({},e,{eventData:_extends({},g,{first:!1}),swiping:!0})}))},o=function onEnd(t){e((function(e,n){var i;return e.swiping&&(i=_extends({},e.eventData,{event:t}),n.onSwiped&&n.onSwiped(i),n["onSwiped"+i.dir]&&n["onSwiped"+i.dir](i)),_extends({},e,Yo,{eventData:i})}))},r=function cleanUpMouse(){document.removeEventListener("mousemove",i),document.removeEventListener("mouseup",a)},a=function onUp(e){r(),o(e)},s=function attachTouch(e){if(e&&e.addEventListener){var t=[["touchstart",n],["touchmove",i],["touchend",o]];return t.forEach((function(t){var n=t[0],i=t[1];return e.addEventListener(n,i)})),function(){return t.forEach((function(t){var n=t[0],i=t[1];return e.removeEventListener(n,i)}))}}},l={ref:function onRef(t){null!==t&&e((function(e,n){if(e.el===t)return e;var i={};return e.el&&e.el!==t&&e.cleanUpTouch&&(e.cleanUpTouch(),i.cleanUpTouch=null),n.trackTouch&&t&&(i.cleanUpTouch=s(t)),_extends({},e,{el:t},i)}))}};return t.trackMouse&&(l.onMouseDown=n),[l,s]}function updateTransientState(e,t,n){var i={};return!t.trackTouch&&e.cleanUpTouch?(e.cleanUpTouch(),i.cleanUpTouch=null):t.trackTouch&&!e.cleanUpTouch&&e.el&&(i.cleanUpTouch=n(e.el)),_extends({},e,i)}var Jo=function(e){function Swipeable(t){var n;return(n=e.call(this,t)||this)._set=function(e){n.transientState=e(n.transientState,n.props)},n.transientState=_extends({},Yo,{type:"class"}),n}return function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(Swipeable,e),Swipeable.prototype.render=function render(){var e=this.props,t=e.className,n=e.style,i=e.nodeName,o=void 0===i?"div":i,r=e.innerRef,a=e.children,s=e.trackMouse,l=getHandlers(this._set,{trackMouse:s}),c=l[0],u=l[1];this.transientState=updateTransientState(this.transientState,this.props,u);var d=r?function(e){return r(e),c.ref(e)}:c.ref;return an.a.createElement(o,_extends({},c,{className:t,style:n,ref:d}),a)},Swipeable}(an.a.PureComponent);Jo.propTypes={onSwiped:un.a.func,onSwiping:un.a.func,onSwipedUp:un.a.func,onSwipedRight:un.a.func,onSwipedDown:un.a.func,onSwipedLeft:un.a.func,delta:un.a.number,preventDefaultTouchmoveEvent:un.a.bool,nodeName:un.a.string,trackMouse:un.a.bool,trackTouch:un.a.bool,innerRef:un.a.func,rotationAngle:un.a.number},Jo.defaultProps=Ko;var Zo,Xo,Qo,$o,er,tr,nr,ir=n("7G4m"),or=n.n(ir),rr=(n("PapD"),"/build/src/preview/react-component/error/presentation/PreviewError.js"),ar=Object(vn.observer)(((Xo=function(e){l()(PreviewError,e);var t=u()(PreviewError);function PreviewError(){return o()(this,PreviewError),t.apply(this,arguments)}return a()(PreviewError,[{key:"render",value:function render(){return an.a.createElement("div",{className:"errorContainer",__self:this,__source:{fileName:rr,lineNumber:33,columnNumber:13}},an.a.createElement(or.a,{heading:an.a.createElement("div",{className:"errorMessage",__self:this,__source:{fileName:rr,lineNumber:36,columnNumber:25}},this.props.errorMessage),illustration:_n.getComponent("PreviewErrorIcon"),__self:this,__source:{fileName:rr,lineNumber:34,columnNumber:17}}))}}]),PreviewError}(an.a.Component)).propTypes={errorMessage:un.a.string.isRequired},Zo=Xo))||Zo,sr=(n("nQDN"),"/build/src/preview/react-component/preview/container/PreviewContainer.js"),lr=Object(vn.observer)(($o=function(e){l()(PreviewContainer,e);var t=u()(PreviewContainer);function PreviewContainer(e){var n;return o()(this,PreviewContainer),n=t.call(this,e),Be()(n,"previewDropin",er,Vo()(n)),n._loggingService=C.getService("LoggingService"),n._loggingService.logExternal("File preview attached."),Nt.providers.discovery().then((function(e){e.loadDropinClass("preview").then((function(e){C.getService("PerformanceService").setPreviewDropinReadyToRender(),n.setPreviewDropin(e)})).catch((function(e){n._loggingService.error("PreviewContainer","Error in loading preview dropin",e)}))})),n}return a()(PreviewContainer,[{key:"setPreviewDropin",value:function setPreviewDropin(e){this.previewDropin=e}},{key:"getComponent",value:function getComponent(){var e=C.getService("AppStore"),t=!e.getConfig().showSimpleLoader&&!C.getService("AppStore").fileLoaded;return e.previewError?an.a.createElement(ar,{errorMessage:e.previewError,__self:this,__source:{fileName:sr,lineNumber:64,columnNumber:17}}):an.a.createElement(Jo,{className:wn()(["sdk-Preview-preview","sdk-Preview-previewTop",t&&"sdk-Preview-hide"]),onSwiped:function onSwiped(e){C.getService("AppStore").inFullScreen&&"Down"===e.dir&&C.getService("AppStore").setInFullScreen(!1)},__self:this,__source:{fileName:sr,lineNumber:69,columnNumber:13}},_n.getComponent("Preview",p()({previewDropin:this.previewDropin},this.props)))}},{key:"render",value:function render(){return this.previewDropin?an.a.createElement("div",{className:"sdk-Preview-main",__self:this,__source:{fileName:sr,lineNumber:95,columnNumber:17}},an.a.createElement("div",{className:"sdk-Preview-middle",__self:this,__source:{fileName:sr,lineNumber:96,columnNumber:21}},this.getComponent())):an.a.createElement(an.a.Fragment,{__self:this,__source:{fileName:sr,lineNumber:102,columnNumber:16}})}}]),PreviewContainer}(an.a.Component),Ue()($o.prototype,"setPreviewDropin",[d.action],Object.getOwnPropertyDescriptor($o.prototype,"setPreviewDropin"),$o.prototype),er=Ue()($o.prototype,"previewDropin",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Qo=$o))||Qo,cr=(n("sPms"),"/build/src/preview/react-component/main-app/presentation/MainApp.js"),ur=function App(e){return an.a.createElement("div",{className:"sdk-MainApp-app",__self:void 0,__source:{fileName:cr,lineNumber:24,columnNumber:5}},an.a.createElement(qo,Object.assign({},e,{__self:void 0,__source:{fileName:cr,lineNumber:25,columnNumber:9}})),an.a.createElement(lr,Object.assign({},e,{__self:void 0,__source:{fileName:cr,lineNumber:26,columnNumber:9}})))},dr={FILE_PREVIEW:"filePreview",BRAND_AREA:"brandArea",SIDE_MENU_CALL_TO_ACTION:"sideMenuCallToAction",HELP_ICON:"helpIcon",LEGAL_NOTICES:"legalNotices",HUD_BRAND_AREA:"hudBrandArea",FLOATING_BRAND_AREA:"floatingBrandArea"},fr=n("aIcp"),pr=n.n(fr),gr=n("q3GW"),mr=n.n(gr),hr=(n("xww1"),"/build/src/preview/react-component/header/presentation/branding/Branding.js"),vr=function Branding(){return an.a.createElement("div",{onClick:function onClick(){C.getService("AnalyticsProviderService").sendEvent(function getOnClickAnalyticsEvent(){var e=dr.BRAND_AREA,t=C.getService("AppStore");return t.showBrandingInHUD&&(e=t.isHidingBranding?dr.FLOATING_BRAND_AREA:dr.HUD_BRAND_AREA),e}()),window.open(function getBrandingUrl(){return C.getService("AppStore").configStore.getConfig().brandingUrl||"https://documentcloud.adobe.com/link/home"}(),"_blank")},className:wn()(["sdk-Branding-branding",C.getService("AppStore").showBrandingInHUD?"sdk-Branding-hudBranding":""]),role:"presentation",__self:void 0,__source:{fileName:hr,lineNumber:51,columnNumber:5}},function getLogo(){return an.a.createElement(_o.a,{__self:void 0,__source:{fileName:hr,lineNumber:31,columnNumber:5}},an.a.createElement(pr.a,{__self:void 0,__source:{fileName:hr,lineNumber:32,columnNumber:9}}))}(),C.getService("AppStore").configStore.getConfig().showBrandingTitle&&an.a.createElement(mr.a,{size:2,className:"sdk-Branding-header","aria-hidden":!0,__self:void 0,__source:{fileName:hr,lineNumber:68,columnNumber:17}},an.a.createElement(Z.FormattedMessage,{id:"ADOBE_ACROBAT",__self:void 0,__source:{fileName:hr,lineNumber:69,columnNumber:21}})),!C.getService("AppStore").showBrandingInHUD&&C.getService("AppStore").configStore.getConfig().leftAlignFileName&&an.a.createElement(mr.a,{size:2,className:"sdk-Branding-headerBorder","aria-hidden":!0,__self:void 0,__source:{fileName:hr,lineNumber:76,columnNumber:16}}))},_r="/build/src/preview/react-component/preview/presentation/Preview.js",Er=Object(vn.observer)(((nr=function(e){l()(Preview,e);var t=u()(Preview);function Preview(e){var n;return o()(this,Preview),(n=t.call(this,e))._className="Preview",n._loggingService=C.getService("LoggingService"),n.setPreviewRef=n.setPreviewRef.bind(Vo()(n)),n.isHUDBrandingSet=!1,n}return a()(Preview,[{key:"rejectPromise",value:function rejectPromise(e){return ht(e)}},{key:"setPreviewRef",value:function setPreviewRef(e){var t=this;if(e){var n=C.getService("AppStore");this.dialogOpened=!1,n.setPreviewRef(e),setTimeout((function(){C.getService("EventsService").sendEvent(k.PREVIEW_REF_READY)}),20);var i=n.getActionConfig("preview");e.getPublicApis().then((function(e){e.document.getMetadata().then((function(e){var t=n.previewMetadata.fileName||"",i=Object.assign(e,{pdfTitle:e.pdfTitle||t.replace(".pdf","")});n.setPDFMetadata(i)})).catch((function(e){t._loggingService.error(t._className,"Error in fetching PDF Metadata",JSON.stringify(e))})),n.isInLinePreset&&(e.app.customizeUIControl("DOWNLOAD",{visible:i.showDownloadPDF}),e.app.customizeUIControl("PRINT",{visible:i.showPrintPDF})),n.isSizedPreset&&e.hud.dock(i.dockPageControls),n.hideScrubberInLB&&e.app.customizeUIControl("SCRUBBER",{visible:!1}),n.showBrandingInHUD&&!t.isHUDBrandingSet&&(e.hud.addUIControl(vr,"LEFT"),t.isHUDBrandingSet=!0)})),e.getApis("INTEGRATION_CONNECTOR",["hud"]).then((function(e){e.hud.setFitPageModeVisibility(i.showFitPageButton),e.hud.setFitWidthModeVisibility(i.showFitWidthButton)})).catch((function(e){return t._loggingService.error(t._className,"Error in calling hud apis ",e)})),e.getApis("INTEGRATION_CONNECTOR",["documentState","documentEvents"]).then((function(e){e.documentState.initialPageLoaded().then((function(){t.postFileLoaded(e)})).catch((function(e){t._loggingService.error(t._className,"Error in initial page load ",JSON.stringify(e)),t.rejectPromise(L.API_RESPONSE.PREVIEW_RENDERING_FAILED),n.setEditAllowed(!1),n.setFileLoaded(!0)})),e.documentEvents.on("findUIStatus",(function(e){n.setSearchOpen(e),e&&t.correctSearchUI()})),e.documentState.dialogOpened().then((function(){n.setFileLoaded(!0,!0),t.dialogOpened=!0,t.applyViewMode(),C.getService("PerformanceService").setPreviewDialogOpened(),t._loggingService.info(t._className,"File preview dialog shown.")})),e.documentState.firstPageLoaded().then((function(){t.postFileLoaded(e)})).catch((function(e){t.rejectPromise(L.API_RESPONSE.PREVIEW_RENDERING_FAILED),t._loggingService.error(t._className,"Error in first page load ",JSON.stringify(e)),n.setEditAllowed(!1),n.setFileLoaded(!0)}))})),i.saveBeforeUnload&&(i.showAnnotationTools||i.enableFormFilling)&&window.addEventListener("beforeunload",(function(e){if(n.isDirty||n.fileStatus===je.FILE_PROGRESS_STATUS.SAVING){return(e||window.event).returnValue="To save all edits into the originalfile, click Save.","To save all edits into the originalfile, click Save."}})),C.getService("EventsService").initialize(e)}}},{key:"correctSearchUI",value:function correctSearchUI(){var e=C.getService("AppStore"),t=e.getActionConfig("preview");this._searchInterval||!e.shouldAdjustSearchUIBelowTopBar&&!t.adjustSearchUI||(this._searchInterval=setInterval((function(){if(e.searchOpen&&document.querySelector(".SearchInputUI__SearchInputUITopBar___13Dx6")){var n=document.querySelector(".SearchInputUI__SearchInputUITopBar___13Dx6"),i=e.getConfig().divId,o=document.getElementById(i),r=o.getBoundingClientRect(),a=Math.floor(r.top),s=Math.floor(r.right-o.clientWidth);e.shouldAdjustSearchUIBelowTopBar?n.style.width&&"100%"===n.style.width?(n.style.top="".concat(a+47,"px"),n.style.right="".concat(s,"px")):(n.style.top="".concat(a+42,"px"),e.isIntegration?n.style.right="".concat(s+130,"px"):n.style.right="".concat(s+50,"px")):t.adjustSearchUI&&(n.style.top="".concat(a,"px"),n.style.right="".concat(s,"px"),n.style.maxWidth="".concat(o.clientWidth,"px"))}}),10))}},{key:"getDefaultViewMode",value:function getDefaultViewMode(){var e=C.getService("AppStore"),t=e.getActionConfig("preview").defaultViewMode;return(e.isLBPreset||e.isIntegration||e.isFWPreset)&&It(t)&&!e.showViewMode?"":t}},{key:"applyViewMode",value:function applyViewMode(){var e=C.getService("AppStore"),t=e.getActionConfig("preview").defaultViewMode;(t===I.FIT_PAGE||t===I.FIT_WIDTH||e.showViewMode&&(t===I.SINGLE_PAGE||t===I.CONTINUOUS))&&e.previewRef.getPublicApis().then((function(e){return e.document.setViewMode(y[t]||t)}))}},{key:"postFileLoaded",value:function postFileLoaded(e){var t=this,n=C.getService("AppStore"),i=n.getActionConfig("preview");if(this.previewMetadata.hasReadOnlyAccess||e.documentState.getDocumentSecurityInformation().then((function(e){n.setEditAllowed(function calculateIsEditAllowed(e,t,n){if(e.documentSecurity&&"None"!==e.documentSecurity)return!1;if(e.documentRestrictions){var i=e.documentRestrictions;return!(!i.modifyingContentAllowed||!i.signingAllowed)&&(t?!!i.commentingAllowed:!!n&&!!i.formFillingAllowed)}return!0}(e,i.showAnnotationTools,i.enableFormFilling)),function calculateIsPrintAllowed(e){return(!e.documentSecurity||"None"===e.documentSecurity)&&(!e.documentRestrictions||!!e.documentRestrictions.printingAllowed)}(e)||n.configStore.setShowPrint(!1)})),!n.fileLoaded||this.dialogOpened){this.applyViewMode();var o=function applyBGColor(){var e=document.querySelector(".DocumentView__DocumentView___1NM7b");e&&e.style&&(e.style.backgroundColor=n.getConfig().backgroundColor)};o();var r=0;this.bgInterval=setInterval((function(){r<200?(o(),r+=1):t.bgInterval&&clearInterval(t.bgInterval)}),10),C.getService("AnalyticsProviderService").sendEvent(dr.FILE_PREVIEW,null),C.getService("PerformanceService").setPreviewLoaded(),C.getService("EventsService").sendEvent(k.FILE_PREVIEW_READY),n.setFileLoaded(!0),n.setAppReady(!0),this.dialogOpened=!1}}},{key:"getProps",value:function getProps(e){return{disableContextMenuAutoTrigger:e.disableContextMenuAutoTrigger,shouldDisableDownloadInContextMenu:e.shouldDisableDownloadInContextMenu,shouldCustomizeGlobalNavBar:!1,alternateAssetUri:e.alternateAssetUri,isViewerDropinContext:!1,fixedWidthLeftMargin:e.fixedWidthLeftMargin,fixedWidthRightMargin:e.fixedWidthRightMargin,hudBottomMargin:e.hudBottomMargin,enableLowResolutionRendition:!C.getService("FileApi").hasRenditions(),shouldUseModernViewer:e.shouldUseModernViewer,editDeepLink:e.editDeepLink}}},{key:"getDCAPIConfig",value:function getDCAPIConfig(e){return{dcapiRenditionSize:e.dcapiRenditionSize,dcapiRenditionFormat:e.dcapiRenditionFormat}}},{key:"render",value:function render(){var e,t=this,n=C.getService("AppStore");n.isInLinePreset&&(e={on:function on(e,t){return n.setWindowScrollListener(t)},unregister:function unregister(){return n.setWindowScrollListener(void 0)}});var i=n.getActionConfig("preview");if(this.previewMetadata=n.previewMetadata,!this.previewMetadata)return an.a.createElement(an.a.Fragment,{__self:this,__source:{fileName:_r,lineNumber:301,columnNumber:20}});var o={ROTATE_VIEW_CONTROL:{visible:i.showRotateViewControl},ZOOM_CONTROL:{visible:i.showZoomControl},PAGE_NAVIGATION_CONTROL:{visible:i.showPageNavigationControl},UNSUPPORTED_FEATURE_ALERT:{visible:!i.disableUnsupportedFeatureAlert}};"boolean"==typeof i.showFileNameToast?o.FILE_NAME_TOAST={visible:i.showFileNameToast}:n.hideFileNameToast&&(o.FILE_NAME_TOAST={visible:!1}),"boolean"==typeof i.showScrubber&&(o.SCRUBBER={visible:i.showScrubber}),!0===i.forceShowCommentingTools&&(o.FORCE_SHOW_COMMENTING_TOOLS={visible:i.forceShowCommentingTools});var r=this.getDefaultViewMode(),a=this.props.previewDropin;return an.a.createElement(a,{previewRef:function previewRef(e){return t.setPreviewRef(e)},config:p()({showLHP:i.showLeftHandPanel,showHUD:i.showPageControls,shouldDockHUD:i.dockPageControls,shouldLoadContextBoardDropin:!1,shouldRenderCommentsDropin:i.shouldRenderCommentsDropin,shouldRenderSignAuthoringDropin:i.shouldRenderSignAuthoringDropin,shouldRenderVisualizerDropin:i.shouldRenderVisualizerDropin,assetUri:this.previewMetadata.id,shouldShowDownloadButtonInHud:i.showDownloadPDFInPageControl,filetype:this.previewMetadata.mimeType,path:"/external",docTitle:this.previewMetadata.fileName,shouldRenderPersonalCommentsDropin:i.showAnnotationTools,shouldRenderAcroForm:i.enableFormFilling&&n.isEditAllowed,selectivelyRenderAnnotsFlag:n.getAnnotationFlag(),context:"integration",docViewBgColor:n.getConfig().backgroundColor,enableLinearization:i.enableLinearization},this.getProps(i)),appConfig:{useIframelessPrint:i.useIframelessPrint,usePartialEdit:i.usePartialEdit},documentOpenState:{viewMode:r},UIControlsConfig:o,featureConfig:{DOWNLOAD:i.showDownloadPDF,EDIT:i.enableEdit},scrollEventObj:e,dcApiConfig:this.getDCAPIConfig(i),__self:this,__source:{fileName:_r,lineNumber:337,columnNumber:13}})}}]),Preview}(an.a.Component)).propTypes={previewDropin:un.a.objectOf(un.a.any).isRequired},tr=nr))||tr,br=n("/eRL"),Sr=n.n(br),Ar=n("6ynM"),yr=n.n(Ar),Ir="/build/src/preview/react-component/header/presentation/side-menu/AdobeMenuActions.js",wr=function AdobeMenuActions(e){var t=C.getService("AppStore").configStore.getConfig(),n=t.helpUrl,i=t.showLegalNotice,o=C.getService("CallbackService"),r=C.getService("AnalyticsProviderService"),a=C.getService("AppStore").getUIActionConfig(),s=a.getUIActionConfig(W.TOPBAR_ELLIPSES);return an.a.createElement(an.a.Fragment,null,n&&an.a.createElement(Dn.a,{className:"sdk-SideMenu-sideMenuActionItem",label:e.intl.formatMessage({id:"HELP_LABEL"}),quiet:!0,variant:"action",icon:an.a.createElement(Sr.a,{__self:void 0,__source:{fileName:Ir,lineNumber:48,columnNumber:32}}),onClick:function onClick(){r.sendEvent(dr.HELP_ICON),window.open(n,"_blank")},__self:void 0,__source:{fileName:Ir,lineNumber:43,columnNumber:21}}),o.hasCallback(g.OPEN_LEGAL_DIALOG_API)&&i&&an.a.createElement(Dn.a,{className:"sdk-SideMenu-sideMenuActionItem",label:e.intl.formatMessage({id:"LEGAL_NOTICES"}),quiet:!0,variant:"action",onClick:function onClick(){r.sendEvent(dr.LEGAL_NOTICES),o.getCallback(g.OPEN_LEGAL_DIALOG_API)()},icon:an.a.createElement(yr.a,{__self:void 0,__source:{fileName:Ir,lineNumber:68,columnNumber:32}}),modaltrigger:!0,__self:void 0,__source:{fileName:Ir,lineNumber:59,columnNumber:21}}),s.map((function(e){return an.a.createElement(Dn.a,{className:"sdk-SideMenu-sideMenuActionItem",label:e.label,quiet:!0,variant:"action",onClick:e.onClick,icon:a.getUIActionIcon(e.iconType),__self:void 0,__source:{fileName:Ir,lineNumber:75,columnNumber:21}})})))};wr.propTypes={intl:Z.intlShape.isRequired},wr.defaultProps={};var Pr=Object(Z.injectIntl)(wr),Tr=(n("87yn"),function SeparatorView(){return an.a.createElement("div",{className:"sdk-SeparatorView-separator",__self:void 0,__source:{fileName:"/build/src/preview/react-component/header/presentation/separator/SeparatorView.js",lineNumber:21,columnNumber:29}})}),Nr=(n("CW1o"),"/build/src/preview/react-component/header/presentation/custom-actions/CustomActions.js");function insertTopBarSeparators(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return e&&e.length>t&&e.splice(t,0,an.a.createElement(Tr,{__self:this,__source:{fileName:Nr,lineNumber:33,columnNumber:50}})),e}var Or=function(e){l()(CustomActions,e);var t=u()(CustomActions);function CustomActions(){var e;o()(this,CustomActions);for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return(e=t.call.apply(t,[this].concat(i))).state={actionsState:{}},e.renderPureReactActions=function(){var t=e.props.actions,n=e.state.actionsState;return t.map((function(t){var i=t.id,o=t.action,r=t.showOnlyInTopBar,a=t.alwaysShow,s=(n[i]||{}).isVisible,l=wn()(["sdk-CustomActions-actionItem",{"sdk-CustomActions-alwaysShow":r||a},{"sdk-CustomActions-actionItemHidden":!1===s}]);return an.a.createElement("div",{key:i,className:l,__self:Vo()(e),__source:{fileName:Nr,lineNumber:78,columnNumber:17}},an.a.createElement(o,{action:{hide:e.modifyActionsState.bind(Vo()(e),i,"isVisible",!1),show:e.modifyActionsState.bind(Vo()(e),i,"isVisible",!0)},__self:Vo()(e),__source:{fileName:Nr,lineNumber:79,columnNumber:21}}))}))},e.renderOurActions=function(){var t=C.getService("AppStore"),n=e.props,i=n.actions,o=n.makeToolsInactive;return insertTopBarSeparators(i.map((function(n){var i=n.id,r=n.alwaysShow,a="",s="";o&&$t.includes(i)&&(a=t.intl.formatMessage({id:"tools.inactive.label"}),s="sdk-CustomActions-actionItem-inactive");var l=wn()(["sdk-CustomActions-actionItem",{"sdk-CustomActions-alwaysShow":r},s]);return an.a.createElement("div",{key:i,className:l,__self:Vo()(e),__source:{fileName:Nr,lineNumber:114,columnNumber:17}},an.a.createElement(jn,{action:n,inActiveLabel:a,__self:Vo()(e),__source:{fileName:Nr,lineNumber:115,columnNumber:21}}))})))},e}return a()(CustomActions,[{key:"modifyActionsState",value:function modifyActionsState(e,t,n){var i=this.state.actionsState,o=Jn()({},t,n);this.setState({actionsState:p()(p()({},i),{},Jn()({},e,o))})}},{key:"render",value:function render(){var e=this.props.actions,t=null;return t=e&&e.length>0&&e[0].label?this.renderOurActions():this.renderPureReactActions(),an.a.createElement("div",{className:"sdk-CustomActions-actions",__self:this,__source:{fileName:Nr,lineNumber:136,columnNumber:13}},t)}}]),CustomActions}(rn.Component);Or.propTypes={actions:un.a.arrayOf(un.a.oneOfType([Mn,Rn])).isRequired,makeToolsInactive:un.a.bool},Or.defaultProps={makeToolsInactive:!1};var Cr=Or,Lr=n("1ot/"),kr=n.n(Lr),Dr=n("yVg7"),Fr=n.n(Dr),Rr=(n("0NxL"),"/build/src/preview/react-component/header/presentation/side-menu/SideMenu.js"),Mr=function(e){l()(SideMenu,e);var t=u()(SideMenu);function SideMenu(){return o()(this,SideMenu),t.apply(this,arguments)}return a()(SideMenu,[{key:"renderPureReactActions",value:function renderPureReactActions(){var e=this;return this.props.actions.map((function(t){var n=t.id,i=t.action;return!t.showOnlyInTopBar&&an.a.createElement("div",{key:n,className:"sdk-SideMenu-sideMenuActionItem",role:"button",tabIndex:-1,__self:e,__source:{fileName:Rr,lineNumber:50,columnNumber:17}},an.a.createElement(i,{__self:e,__source:{fileName:Rr,lineNumber:56,columnNumber:21}}))}))}},{key:"renderOurActions",value:function renderOurActions(){var e=this;return this.props.actions.map((function(t){return"title"===t.type?an.a.createElement(Br,{key:t.id,action:t,__self:e,__source:{fileName:Rr,lineNumber:66,columnNumber:24}}):an.a.createElement(xr,{key:t.id,action:t,__self:e,__source:{fileName:Rr,lineNumber:68,columnNumber:20}})}))}},{key:"renderCustomActions",value:function renderCustomActions(){return this.props.actions[0].label?this.renderOurActions():this.renderPureReactActions()}},{key:"render",value:function render(){var e=this.props.actions;return an.a.createElement("div",{__self:this,__source:{fileName:Rr,lineNumber:84,columnNumber:13}},e&&e.length>0&&an.a.createElement("div",{__self:this,__source:{fileName:Rr,lineNumber:88,columnNumber:25}},this.renderCustomActions(),C.getService("AppStore").configStore.hasAdobeMenuActions()&&an.a.createElement("hr",{className:"sdk-SideMenu-menuDivider",__self:this,__source:{fileName:Rr,lineNumber:94,columnNumber:32}})),_n.getComponent("AdobeMenuActions",this.props))}}]),SideMenu}(rn.Component);Mr.propTypes={actions:un.a.arrayOf(un.a.oneOfType([Rn,Mn]))},Mr.defaultProps={actions:[]};var xr=function SideMenuAction(e){var t=e.action;return an.a.createElement(Dn.a,{className:"sdk-SideMenu-sideMenuActionItem",quiet:!0,variant:"action",onClick:function onClick(){try{var e={workflow:"SideMenuAction",subcategory:je.SUBCATEGORY_USE,type:je.SUBCATEGORY_TYPE_CLICK,subtype:t.id};C.getService("AnalyticsProviderService").logEvent(e),t.onClick()}catch(e){C.getService("LoggingService").error("SideMenuAction","The ".concat(t.label," action in the side bar threw an error"),e)}},selected:t.selected,label:t.label,icon:t.Icon,__self:void 0,__source:{fileName:Rr,lineNumber:106,columnNumber:5}})};xr.propTypes={action:Mn.isRequired};var Br=function SideMenuTitle(e){var t=e.action.label;return an.a.createElement(mr.a,{size:5,__self:void 0,__source:{fileName:Rr,lineNumber:138,columnNumber:57}},t)};Br.propTypes={action:Mn.isRequired};var Vr=Object(Z.injectIntl)(Mr),Ur=(n("UFTZ"),"/build/src/preview/react-component/header/presentation/call-to-action/SideMenuCallToAction.js"),zr=function SideMenuCallToAction(e){var t,n=e.sideMenuActions,i=C.getService("AppStore");return n.length>0||i.configStore.hasAdobeMenuActions()?an.a.createElement(Un.a,{trigger:"click",placement:"bottom right",ref:function ref(e){t=e},onShow:function onShow(){i.setSideMenuOpen(!0),C.getService("AnalyticsProviderService").sendEvent(dr.SIDE_MENU_CALL_TO_ACTION)},onClick:function onClick(){t.hide()},onHide:function onHide(){i.setSideMenuOpen(!1)},__self:void 0,__source:{fileName:Ur,lineNumber:43,columnNumber:9}},an.a.createElement(Dn.a,{className:"sdk-CallToAction-sideMenuButton",quiet:!0,variant:"action",icon:an.a.createElement(Fr.a,{__self:void 0,__source:{fileName:Ur,lineNumber:71,columnNumber:24}}),"aria-haspopup":"true",__self:void 0,__source:{fileName:Ur,lineNumber:67,columnNumber:13}}),an.a.createElement(kr.a,{variant:"default",className:wn()(["sdk-CallToAction-popover","sdk-CallToAction-sideMenuPopOver"]),__self:void 0,__source:{fileName:Ur,lineNumber:74,columnNumber:13}},an.a.createElement(Vr,{actions:n,__self:void 0,__source:{fileName:Ur,lineNumber:78,columnNumber:17}}))):an.a.createElement(an.a.Fragment,null)};zr.propTypes={sideMenuActions:un.a.arrayOf(un.a.oneOfType([Mn,Rn])).isRequired};var Hr,jr,Gr,Wr=zr,qr=Object(vn.observer)((jr=function(e){l()(HeaderFileInfoContainer,e);var t=u()(HeaderFileInfoContainer);function HeaderFileInfoContainer(e){var n;return o()(this,HeaderFileInfoContainer),n=t.call(this,e),Be()(n,"showFileName",Gr,Vo()(n)),n._loggingService=C.getService("LoggingService"),n}return a()(HeaderFileInfoContainer,[{key:"componentDidMount",value:function componentDidMount(){var e=this;C.getService("EventsService").registerEventListener(k.FILE_NAME_TOAST_VISIBILITY,(function(t){return e.setShowFileName(!t)}))}},{key:"setShowFileName",value:function setShowFileName(e){this.showFileName=!gt()&&e}},{key:"render",value:function render(){var e,t,n=C.getService("AppStore");if("combinepdf"===n.dropinName||"signintegration"===n.dropinName||"managesignintegration"===n.dropinName||n.hideHeaderFileInfo)return an.a.createElement(an.a.Fragment,{__self:this,__source:{fileName:"/build/src/preview/react-component/header-file-info/container/HeaderFileInfoContainer.js",lineNumber:60,columnNumber:20}});var i=!1,o=!1;if(this.fileMetadata=n.fileInfoList&&n.fileInfoList.length>0?n.fileInfoList[0].metaData:void 0,!this.fileMetadata)return null;var r=n.getActionConfig("preview");if(!n.configStore.isThumbnailView){t=n.fileStatus;var a=n.isDirty,s=t===je.FILE_PROGRESS_STATUS.SAVING;i=a&&!s,o=n.isInPreview&&n.isEditAllowed&&(r.showAnnotationTools||r.enableFormFilling),(t===je.FILE_PROGRESS_STATUS.SAVED||n.showLoader)&&(t=void 0),i&&o&&(t=je.FILE_PROGRESS_STATUS.EDITED)}return(r.showFileStatusInfo||r.showAnnotationTools||r.enableFormFilling)&&(n.hasReadOnlyFile?e="file.metadata.readonly":!1===n.editAllowed&&(e="file.metadata.protected")),!1===n.configStore.getSaveCallbackConfig().showSaveButton&&(o=!1,!1===n.configStore.getSaveCallbackConfig().showEditStatusInfo&&(t=void 0)),n.showViewMode&&(t=void 0),an.a.createElement(an.a.Fragment,{__self:this,__source:{fileName:"/build/src/preview/react-component/header-file-info/container/HeaderFileInfoContainer.js",lineNumber:114,columnNumber:13}},_n.getComponent("HeaderFileInfoView",{showFileName:!r.showFileNameToast&&(this.showFileName||n.hideFileNameToast),fileStatus:t,showSaveButton:o,disableSaveButton:!i,onSaveClick:function onSaveClick(){return Ht().catch((function(){}))},fileMetadata:this.fileMetadata,status:e}))}}]),HeaderFileInfoContainer}(rn.Component),Gr=Ue()(jr.prototype,"showFileName",[d.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function initializer(){return!gt()}}),Ue()(jr.prototype,"setShowFileName",[d.action],Object.getOwnPropertyDescriptor(jr.prototype,"setShowFileName"),jr.prototype),Hr=jr))||Hr,Kr=Object(Z.injectIntl)(qr),Yr=n("5imG"),Jr=n.n(Yr),Zr=(n("jq7l"),"/build/src/preview/react-component/header/presentation/light-box-exit-pdf-viewer-button/LightBoxExitPDFViewerButton.js"),Xr={id:"lightBoxCloseView",onClick:function onClick(){C.getService("EmbedModeService").LBExitPDFViewer()}},Qr=function LightBoxExitPDFViewerButton(){var e=C.getService("AppStore");return e.configStore.exitPDFViewerType===A?(Xr.label=e.intl.formatMessage({id:"close"}),Xr.Icon=an.a.createElement(Tn.a,{size:"L",__self:void 0,__source:{fileName:Zr,lineNumber:36,columnNumber:37}}),an.a.createElement("div",{className:"sdk-LightBoxExitPDFViewerButton-lightBoxExitPDFViewerButtonTopBarRight",__self:void 0,__source:{fileName:Zr,lineNumber:38,columnNumber:13}},an.a.createElement(jn,{action:Xr,__self:void 0,__source:{fileName:Zr,lineNumber:39,columnNumber:17}}))):e.configStore.exitPDFViewerType===S?(Xr.label=e.intl.formatMessage({id:"RETURN"}),Xr.Icon=an.a.createElement(Jr.a,{size:"L",__self:void 0,__source:{fileName:Zr,lineNumber:45,columnNumber:37}}),an.a.createElement("div",{className:"sdk-LightBoxExitPDFViewerButton-lightBoxExitPDFViewerButtonTopBarLeft",__self:void 0,__source:{fileName:Zr,lineNumber:47,columnNumber:13}},an.a.createElement(jn,{action:Xr,__self:void 0,__source:{fileName:Zr,lineNumber:48,columnNumber:17}}))):an.a.createElement(an.a.Fragment,null)},$r=n("cDWY"),ea=n.n($r),ta=n("X977"),na=(n("A8ul"),"/build/src/preview/react-component/header/presentation/HeaderView.js"),ia=function(e){l()(HeaderView,e);var t=u()(HeaderView);function HeaderView(){return o()(this,HeaderView),t.apply(this,arguments)}return a()(HeaderView,[{key:"getEditView",value:function getEditView(){return an.a.createElement(an.a.Fragment,{__self:this,__source:{fileName:na,lineNumber:43,columnNumber:16}})}},{key:"_handleFullScreen",value:function _handleFullScreen(){}},{key:"render",value:function render(){var e=this,t=this.props,n=t.topBarActions,i=t.sideMenuActions,o=t.previewRef,r=t.viewMode,a=t.makeToolsInactive,s=C.getService("AppStore"),l=this.getEditView();this._handleFullScreen();var c=function SideMenu(t){return an.a.createElement("div",{role:"presentation",className:wn()(["sdk-HeaderView-navSection","sdk-HeaderView-sideMenuButton"]),__self:e,__source:{fileName:na,lineNumber:63,columnNumber:13}},an.a.createElement(Wr,{sideMenuActions:t.sideMenuActions,__self:e,__source:{fileName:na,lineNumber:67,columnNumber:17}}))},u=function ActionsView(){return an.a.createElement(an.a.Fragment,{__self:e,__source:{fileName:na,lineNumber:74,columnNumber:13}},s.showViewMode&&an.a.createElement(ea.a,{icon:_n.getComponent(r===I.SINGLE_PAGE?"SinglePageIcon":"ContinuousIcon"),alignRight:!0,onSelect:function onSelect(e){r!==e&&(o.getPublicApis().then((function(t){t.document.setViewMode(y[e]||e),C.getService("EventsService").sendEvent(M.VIEW_MODE_CHANGE,e)})),s.setCurrentViewMode(e))},__self:e,__source:{fileName:na,lineNumber:77,columnNumber:25}},an.a.createElement(ta.MenuItem,{selected:r===I.SINGLE_PAGE,icon:_n.getComponent("SinglePageIcon"),value:I.SINGLE_PAGE,__self:e,__source:{fileName:na,lineNumber:98,columnNumber:29}},s.intl.formatMessage({id:"viewMode.single"})),an.a.createElement(ta.MenuItem,{selected:r===I.CONTINUOUS,icon:_n.getComponent("ContinuousIcon"),value:I.CONTINUOUS,__self:e,__source:{fileName:na,lineNumber:105,columnNumber:29}},s.intl.formatMessage({id:"viewMode.continuous"}))),n&&n.length>0&&an.a.createElement(Cr,{className:"sdk-HeaderView-navSection",actions:n,makeToolsInactive:a,__self:e,__source:{fileName:na,lineNumber:118,columnNumber:25}}),an.a.createElement(c,{sideMenuActions:i,__self:e,__source:{fileName:na,lineNumber:125,columnNumber:17}}),l,s.configStore.showFullScreen&&an.a.createElement(qn,{fromTopBar:!0,__self:e,__source:{fileName:na,lineNumber:129,columnNumber:24}}),s.configStore.exitPDFViewerType===A&&an.a.createElement(Qr,{__self:e,__source:{fileName:na,lineNumber:134,columnNumber:24}}))},d="";s.configStore.getConfig().leftAlignFileName&&(d=s.showBrandingInHeader?s.configStore.exitPDFViewerType===S?"sdk-HeaderView-leftFileinfoWithBrandingAndLeftButton":"sdk-HeaderView-leftFileinfoWithBranding":"sdk-HeaderView-leftFileinfoWithoutBranding");var f=["sdk-HeaderView-header"];return s.isHidingHeader&&(s.searchOpen?f.push("sdk-HeaderView-headerForSizedContainerWithSearch"):f.push("sdk-HeaderView-headerForSizedContainer")),an.a.createElement("div",{className:wn()(f),ref:function ref(t){return e.props.setRef(t)},__self:this,__source:{fileName:na,lineNumber:162,columnNumber:13}},s.configStore.exitPDFViewerType===S&&an.a.createElement(Qr,{__self:this,__source:{fileName:na,lineNumber:168,columnNumber:24}}),s.showBrandingInHeader&&an.a.createElement("div",{className:wn()(["sdk-HeaderView-navSection","sdk-HeaderView-branding"]),role:"presentation",__self:this,__source:{fileName:na,lineNumber:173,columnNumber:25}},an.a.createElement(vr,{__self:this,__source:{fileName:na,lineNumber:178,columnNumber:29}})),an.a.createElement("div",{className:wn()(["sdk-HeaderView-navSection","sdk-HeaderView-dummyDiv"]),role:"presentation",__self:this,__source:{fileName:na,lineNumber:182,columnNumber:17}}),an.a.createElement("div",{className:wn()(["sdk-HeaderView-navSection","sdk-HeaderView-centreInfo",d]),role:"presentation",__self:this,__source:{fileName:na,lineNumber:186,columnNumber:17}},an.a.createElement(Kr,Object.assign({},this.props,{__self:this,__source:{fileName:na,lineNumber:191,columnNumber:21}}))),s.isInPreview&&an.a.createElement(u,{__self:this,__source:{fileName:na,lineNumber:194,columnNumber:45}}),!s.isInPreview&&an.a.createElement(c,{sideMenuActions:[],__self:this,__source:{fileName:na,lineNumber:197,columnNumber:46}}))}}]),HeaderView}(an.a.Component);ia.propTypes={topBarActions:un.a.arrayOf(un.a.oneOfType([Mn,Rn])),sideMenuActions:un.a.arrayOf(un.a.oneOfType([Mn,Rn])),inFullScreen:un.a.bool.isRequired,previewRef:un.a.objectOf(un.a.any),setRef:un.a.func.isRequired,viewMode:un.a.string,makeToolsInactive:un.a.bool},ia.defaultProps={topBarActions:[],sideMenuActions:[],previewRef:null,viewMode:null,makeToolsInactive:!1};var oa=n("dCdM"),ra=n.n(oa),aa={"application/pdf":"PDF"},sa=function getDisplayFileNameAndExtension(e){var t=e.fileName?e.fileName:"",n="PDF";if(e.mimeType&&aa[e.mimeType.toLowerCase()]&&(n=aa[e.mimeType.toLowerCase()]),t){var i=t.lastIndexOf(".");-1!==i&&(n=t.substring(i+1,t.length).toUpperCase(),t=t.substring(0,i))}return{displayFileName:t,extension:n}},la=(n("/iLU"),"/build/src/preview/react-component/header-file-info/presentation/HeaderFileInfoView.js"),ca=function(e){l()(HeaderFileInfoView,e);var t=u()(HeaderFileInfoView);function HeaderFileInfoView(){return o()(this,HeaderFileInfoView),t.apply(this,arguments)}return a()(HeaderFileInfoView,[{key:"getBreadCrumb",value:function getBreadCrumb(){return[]}},{key:"render",value:function render(){var e=C.getService("AppStore"),t=this.props,n=t.fileMetadata,i=t.fileStatus,o=t.showSaveButton,r=t.disableSaveButton,a=t.onSaveClick,s=t.status,l=t.showFileName,c=this.getBreadCrumb(),u={};l&&(e.configStore.isThumbnailView&&e.fileInfoList.length>1?u.displayFileName=an.a.createElement(Z.FormattedMessage,{id:"multiple.files.header",__self:this,__source:{fileName:la,lineNumber:51,columnNumber:51}}):u=sa(n),c.push({label:an.a.createElement("span",{className:wn()(["sdk-HeaderFileInfoView-fileBreadCrumb","sdk-HeaderFileInfoView-fileBreadCrumbNormal",{"sdk-HeaderFileInfoView-fileBreadCrumbINT":e.isIntegration}]),__self:this,__source:{fileName:la,lineNumber:58,columnNumber:21}},u.displayFileName,"PDF"!==u.extension&&an.a.createElement("span",{className:"sdk-HeaderFileInfoView-details","aria-hidden":!0,__self:this,__source:{fileName:la,lineNumber:70,columnNumber:33}},u.extension))}));var d="sdk-HeaderFileInfoView-header";e.showBrandingInHeader||(d="sdk-HeaderFileInfoView-headerNoBranding");var f="";!s&&e.configStore.getConfig().leftAlignFileName||(f="sdk-HeaderFileInfoView-statusBlockBorder");var p=r&&!e.getActionConfig("preview").showDisabledSaveButton;return an.a.createElement("div",{className:d,"aria-hidden":!0,__self:this,__source:{fileName:la,lineNumber:92,columnNumber:13}},an.a.createElement("span",{className:e.isIntegration&&e.showBrandingInHeader&&"sdk-HeaderFileInfoView-seperatorLine",__self:this,__source:{fileName:la,lineNumber:93,columnNumber:17}}),l&&u.displayFileName&&an.a.createElement("span",{className:"sdk-HeaderFileInfoView-breadcrumbs",__self:this,__source:{fileName:la,lineNumber:99,columnNumber:25}},an.a.createElement(ra.a,{items:c,__self:this,__source:{fileName:la,lineNumber:100,columnNumber:29}})),i&&an.a.createElement("span",{className:"sdk-HeaderFileInfoView-fileStatus","aria-hidden":!0,__self:this,__source:{fileName:la,lineNumber:109,columnNumber:25}},an.a.createElement("span",{__self:this,__source:{fileName:la,lineNumber:110,columnNumber:29}},"—"),an.a.createElement(Z.FormattedMessage,{id:i,__self:this,__source:{fileName:la,lineNumber:111,columnNumber:29}})),(o||s)&&an.a.createElement("span",{className:wn()(["sdk-HeaderFileInfoView-statusBlock",f,p&&!s?"sdk-HeaderFileInfoView-displayNone":""]),__self:this,__source:{fileName:la,lineNumber:118,columnNumber:25}},o&&an.a.createElement(Dn.a,{variant:"primary",onClick:a,className:wn()(["sdk-HeaderFileInfoView-save",p?"sdk-HeaderFileInfoView-displayNone":""]),disabled:r,__self:this,__source:{fileName:la,lineNumber:128,columnNumber:33}},an.a.createElement(Z.FormattedMessage,{id:"button.save",__self:this,__source:{fileName:la,lineNumber:138,columnNumber:37}})),s&&an.a.createElement("span",{className:"sdk-HeaderFileInfoView-readOnly",__self:this,__source:{fileName:la,lineNumber:145,columnNumber:37}},"file.metadata.readonly"===s&&an.a.createElement(Un.a,{delayShow:"1000",trigger:"hover",placement:"right",__self:this,__source:{fileName:la,lineNumber:149,columnNumber:41}},an.a.createElement(Dn.a,{quiet:!0,className:"sdk-HeaderFileInfoView-readOnlyTooltip",__self:this,__source:{fileName:la,lineNumber:150,columnNumber:45}},an.a.createElement(Z.FormattedMessage,{id:s,__self:this,__source:{fileName:la,lineNumber:151,columnNumber:49}})),an.a.createElement(Bn.a,{__self:this,__source:{fileName:la,lineNumber:153,columnNumber:45}},an.a.createElement(Z.FormattedMessage,{id:"file.readonly.tooltip",__self:this,__source:{fileName:la,lineNumber:154,columnNumber:49}}))),"file.metadata.readonly"!==s&&an.a.createElement(Z.FormattedMessage,{id:s,__self:this,__source:{fileName:la,lineNumber:161,columnNumber:48}}))))}}]),HeaderFileInfoView}(an.a.PureComponent);ca.propTypes={fileStatus:un.a.string,fileMetadata:un.a.objectOf(un.a.any).isRequired,status:un.a.string.isRequired,showSaveButton:un.a.bool,disableSaveButton:un.a.bool,onSaveClick:un.a.func,showFileName:un.a.bool},ca.defaultProps={showFileName:!0,fileStatus:null,disableSaveButton:null,showSaveButton:null,onSaveClick:null};var ua=Object(Z.injectIntl)(ca),da=n("Z3hh"),fa=n.n(da),pa=function ContinuousIcon(){return an.a.createElement(_o.a,{__self:void 0,__source:{fileName:"/build/src/icons/ContinuousIcon.js",lineNumber:23,columnNumber:5}},an.a.createElement(fa.a,{__self:void 0,__source:{fileName:"/build/src/icons/ContinuousIcon.js",lineNumber:24,columnNumber:9}}))},ga=n("byBi"),ma=n.n(ga),ha=function SinglePageIcon(){return an.a.createElement(_o.a,{__self:void 0,__source:{fileName:"/build/src/icons/SinglePageIcon.js",lineNumber:23,columnNumber:5}},an.a.createElement(ma.a,{__self:void 0,__source:{fileName:"/build/src/icons/SinglePageIcon.js",lineNumber:24,columnNumber:9}}))},va=(n("8OmK"),"/build/src/preview/react-component/hiding-branding/presentation/HidingBrandingView.js"),_a=function(e){l()(HidingBrandingView,e);var t=u()(HidingBrandingView);function HidingBrandingView(){return o()(this,HidingBrandingView),t.apply(this,arguments)}return a()(HidingBrandingView,[{key:"render",value:function render(){var e=this;return an.a.createElement("div",{className:"sdk-HidingBranding-branding",ref:function ref(t){return e.props.setRef(t)},__self:this,__source:{fileName:va,lineNumber:38,columnNumber:13}},an.a.createElement(vr,{__self:this,__source:{fileName:va,lineNumber:42,columnNumber:17}}),an.a.createElement(mr.a,{size:2,className:"sdk-HidingBranding-label","aria-hidden":!0,__self:this,__source:{fileName:va,lineNumber:43,columnNumber:17}},an.a.createElement(Z.FormattedHTMLMessage,{id:"POWERED_BY",values:{brandingTitle:C.getService("AppStore").intl.formatMessage({id:"ADOBE_ACROBAT"})},__self:this,__source:{fileName:va,lineNumber:44,columnNumber:21}})))}}]),HidingBrandingView}(an.a.Component);_a.propTypes={setRef:un.a.func.isRequired};var Ea,ba=Object(vn.observer)(Ea=function(e){l()(HidingBrandingContainer,e);var t=u()(HidingBrandingContainer);function HidingBrandingContainer(){var e;return o()(this,HidingBrandingContainer),(e=t.call(this))._uiHandler=C.getService("UIHandler"),e._appStore=C.getService("AppStore"),e._brandingLabelRef=an.a.createRef(),e._handleMouseOut=e._handleMouseOut.bind(Vo()(e)),e._handleMouseMoveOver=e._handleMouseMoveOver.bind(Vo()(e)),e._touchStart=e._touchStart.bind(Vo()(e)),e._touchMove=e._touchMove.bind(Vo()(e)),e._touchEnd=e._touchEnd.bind(Vo()(e)),e._tapOnDevice=e._tapOnDevice.bind(Vo()(e)),e}return a()(HidingBrandingContainer,[{key:"getDOMElementForEvent",value:function getDOMElementForEvent(){return yt()}},{key:"componentDidMount",value:function componentDidMount(){this.getDOMElementForEvent().addEventListener("mousemove",this._handleMouseMoveOver),this.getDOMElementForEvent().addEventListener("mouseout",this._handleMouseOut),this._appStore.isOnDevice&&(this.getDOMElementForEvent().addEventListener("touchstart",this._touchStart),this.getDOMElementForEvent().addEventListener("touchmove",this._touchMove),this.getDOMElementForEvent().addEventListener("touchend",this._touchEnd))}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.getDOMElementForEvent().removeEventListener("mousemove",this._handleMouseMoveOver),this.getDOMElementForEvent().removeEventListener("mouseout",this._handleMouseOut),this._appStore.isOnDevice&&(this.getDOMElementForEvent().removeEventListener("touchstart",this._touchStart),this.getDOMElementForEvent().removeEventListener("touchmove",this._touchMove),this.getDOMElementForEvent().removeEventListener("touchend",this._touchEnd))}},{key:"_touchStart",value:function _touchStart(){this._noTouchMovement=!0}},{key:"_touchMove",value:function _touchMove(){this._noTouchMovement=!1}},{key:"_touchEnd",value:function _touchEnd(){this._noTouchMovement&&this._tapOnDevice()}},{key:"_tapOnDevice",value:function _tapOnDevice(){this._uiHandler.showBrandingLabel(yt().clientHeight,yt().clientWidth)}},{key:"_handleMouseOut",value:function _handleMouseOut(){this._brandingLabelRef&&this._brandingLabelRef.style&&this._uiHandler.fadeBrandingLabel(yt().clientHeight,yt().clientWidth)}},{key:"_handleMouseMoveOver",value:function _handleMouseMoveOver(e){if(e){var t=yt().getBoundingClientRect(),n=e.clientY-t.top,i=e.clientX-t.left;this._uiHandler.inHoverRangeOfBrandingLabel(n,i)&&this._uiHandler.showBrandingLabel(n,i)}}},{key:"getProps",value:function getProps(){return{}}},{key:"render",value:function render(){var e=this;if(this._appStore.fileLoaded){return an.a.createElement(_a,Object.assign({setRef:function setRef(t){e._brandingLabelRef=t,e._uiHandler.initialiseBrandingLabelRef(t),e._uiHandler.showBrandingLabel(100,100)}},this.getProps(),{__self:this,__source:{fileName:"/build/src/preview/react-component/hiding-branding/container/HidingBrandingContainer.js",lineNumber:117,columnNumber:17}}))}return an.a.createElement(an.a.Fragment,{__self:this,__source:{fileName:"/build/src/preview/react-component/hiding-branding/container/HidingBrandingContainer.js",lineNumber:123,columnNumber:16}})}}]),HidingBrandingContainer}(rn.Component))||Ea,Sa=n("vctT"),Aa=n.n(Sa),ya=function PreviewErrorIcon(){return an.a.createElement(_o.a,{__self:void 0,__source:{fileName:"/build/src/icons/PreviewErrorIcon.js",lineNumber:23,columnNumber:5}},an.a.createElement(Aa.a,{__self:void 0,__source:{fileName:"/build/src/icons/PreviewErrorIcon.js",lineNumber:24,columnNumber:9}}))};Object(d.useStrict)(!0);var Ia,wa=function(e){l()(AdobeDCView,e);var t=u()(AdobeDCView);function AdobeDCView(){return o()(this,AdobeDCView),t.apply(this,arguments)}return a()(AdobeDCView,[{key:"_initServiceFactory",value:function _initServiceFactory(e){var t=C.getService("IntegrationProvider");C.clear(),this._serviceFactory.register("ConfigStore",new ho),this._serviceFactory.register("UIActionConfigStore",new So),this._serviceFactory.register("UserApi",new Mi),this._serviceFactory.register("FileApi",new so),this._serviceFactory.register("CommentsApi",new lo),this._serviceFactory.register("DialogApi",new po),this._serviceFactory.register("CallbackService",new Y),this._serviceFactory.register("ValidationService",new K),this._serviceFactory.register("EventHandlerService",new J),this._serviceFactory.register("LocaleService",new Me),this._serviceFactory.register("LoggingService",new Ft),this._serviceFactory.register("EventsService",new nn),this._serviceFactory.register("PollingService",new jt),this._serviceFactory.register("CommandReceiverService",new Ii),this._serviceFactory.register("FullScreenManager",new Kn),this._serviceFactory.register("PerformanceService",new wi),this._serviceFactory.register("AnalyticsProviderService",new Bt),this._serviceFactory.register("EmbedModeService",new yn(this._serviceFactory)),this._serviceFactory.register("UIHandler",new Ti),this._serviceFactory.register("HUDService",new Ni),this._serviceFactory.register("UIActionHandlerService",new Oi),this._serviceFactory.register("AdobeViewer",new ki(this._serviceFactory)),this._serviceFactory.register("AnnotationManager",new Li(this._serviceFactory)),this._serviceFactory.register("CommandManager",new Ci(this._serviceFactory)),this._serviceFactory.register("ViewSDKInterfaceApp",new P(e,this._serviceFactory)),C.initServices(this._serviceFactory.getServices()),t?(t.initAPIs(),this._serviceFactory.register("IntegrationProvider",t)):(this._serviceFactory.register("IntegrationProvider",new Pi),Object(Nt.addProvider)("integrationProvider",this._serviceFactory.getService("IntegrationProvider"))),this._serviceFactory.register("AppStore",new Tt),C.initServices(this._serviceFactory.getServices()),this._serviceFactory.getService("LocaleService").initialize(Nt.locale2.getLocale()),this._serviceFactory.getService("EventHandlerService").initialize(),this._serviceFactory.getService("CallbackService").initialize(),this._serviceFactory.getService("EmbedModeService").initialize(),this._serviceFactory.getService("PollingService").initialize(),function _registerComponents(){_n.register("AppContainer",xo),_n.register("App",ur),_n.register("Preview",Er),_n.register("HeaderView",ia),_n.register("AdobeMenuActions",Pr),_n.register("HeaderFileInfoView",ua),_n.register("ContinuousIcon",pa),_n.register("SinglePageIcon",ha),_n.register("HidingBrandingContainer",ba),_n.register("PreviewErrorIcon",ya)}()}}]),AdobeDCView}(H);!function initPreview(){var e=window.adobe_dc_sdk,t=!0;"boolean"==typeof e.launchOptions.useAJS&&(t=e.launchOptions.useAJS);var n={enableExternal:!0,useReview:!1,useAJS:t,useDCAPI:!1,useAJSFullBuild:!1,useAJSRichBuild:!0,enableFTPDF:!1,fetchWithCredentials:!1,enableAJSLogging:!1,autoStart:!1};e.appLauncher.corePromise.then((function(t){e.launchOptions.inSDKBundle&&t.providers.rendition(null,n).then((function(t){t.getAJSWorker=function getAJSWorker(t){return function(){var n=t.replace("rendition.js","AJS/"),i=n+"acrobatProxy.js";if(!e.launchOptions.handleCORSForAJSWorker)return new window.Worker(i);var o="var Module = {};";o+="Module.ajsRootUrl = '".concat(n,"';"),o+="Module.locateFile = function(resourcePath) { return Module.ajsRootUrl + resourcePath; };",o+="importScripts(Module.ajsRootUrl + '".concat("acrobatProxy.js","');");var r=new Blob([o],{type:"application/javascript"}),a=URL.createObjectURL(r);return new window.Worker(a)}}(t.getOwnScriptSrc()),t.init()})),t.providers.discovery().then((function(e){e.loadDropinClass("preview")}))}))}(),window.adobe_dc_sdk.launchOptions.inSDKBundle?(window.AdobeDC=window.AdobeDC||{},window.AdobeDC.View=wa):window.adobe_dc_sdk.View=wa,(Ia=document.createEvent("Event")).initEvent("adobe_dc_view_sdk.ready",!0,!0),document.dispatchEvent(Ia)},PK3Q:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _possibleConstructorReturn(e,t){if(t&&("object"===(0,i.default)(t)||"function"==typeof t))return t;return(0,o.default)(e)};var i=_interopRequireDefault(n("CO39")),o=_interopRequireDefault(n("tquP"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},PTt1:function(e,t,n){e.exports=n("hrl5")("TCl6")},PapD:function(e,t,n){var i=n("LboF"),o=n("jNRk");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},Q5Ww:function(e,t,n){"use strict";function _getPrototypeOf(e){return t.default=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(e){return e.__proto__||Object.getPrototypeOf(e)},_getPrototypeOf(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=_getPrototypeOf},QDXX:function(e,t,n){(t=n("JPst")(!1)).push([e.i,"/*************************************************************************\n* ADOBE CONFIDENTIAL\n* ___________________\n*\n*  Copyright 2019 Adobe\n*  All Rights Reserved.\n*\n* NOTICE:  All information contained herein is, and remains\n* the property of Adobe and its suppliers, if any. The intellectual\n* and technical concepts contained herein are proprietary to Adobe\n* and its suppliers and are protected by all applicable intellectual\n* property laws, including trade secret and copyright laws.\n* Dissemination of this information or reproduction of this material\n* is strictly forbidden unless prior written permission is obtained\n* from Adobe.\n**************************************************************************/\n.sdk-HeaderFileInfoView-header {\n    display: inline-flex;\n    flex-direction: row;\n    margin: 0 auto;\n}\n\n.sdk-HeaderFileInfoView-headerNoBranding {\n    display: inline-flex;\n    flex-direction: row;\n    margin: 0 auto;\n}\n\n.sdk-HeaderFileInfoView-displayNone {\n    display: none !important;\n}\n\n.sdk-HeaderFileInfoView-readOnly {\n    margin-top: -2px;\n}\n\n.sdk-HeaderFileInfoView-fileStatus {\n    margin: 5px 0 0 0 !important;\n}\n\n.sdk-HeaderFileInfoView-fileStatus span {\n    margin-right: 10px;\n}\n\n.sdk-HeaderFileInfoView-header > span:nth-child(2) {\n    margin-left: -12px;\n}\n\n.sdk-HeaderFileInfoView-save {\n    margin-top: -7px;\n}\n\n.sdk-HeaderFileInfoView-breadcrumbs .focus-ring {\n    text-decoration: underline;\n}\n\n.sdk-HeaderFileInfoView-fileBreadCrumbWhite {\n    /* color: #fff !important; */\n    color: #4b4b4b !important;\n}\n\n.sdk-HeaderFileInfoView-fileBreadCrumbNormal {\n    color: #4b4b4b !important;\n}\n\n.sdk-HeaderFileInfoView-fileBreadCrumb {\n    display: block;\n    font-size: 14px;\n    font-weight: normal !important;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    white-space: nowrap;\n}\n\n.sdk-HeaderFileInfoView-linkBreadCrumb {\n    color: #4b4b4b !important;\n    font-size: 14px;\n    font-weight: normal !important;\n}\n\n.sdk-HeaderFileInfoView-homeLink {\n    color: #fff !important;\n}\n\n.sdk-HeaderFileInfoView-saveToast {\n    margin-left: 20px;\n    padding-top: 5px;\n    position: fixed;\n    top: 50px;\n}\n\n.sdk-HeaderFileInfoView-saveToast .spectrum-UIIcon-CrossMedium {\n    margin: 4px;\n}\n\n.sdk-HeaderFileInfoView-saveToast > .spectrum-Icon {\n    display: none;\n}\n\n.sdk-HeaderFileInfoView-saveToast > .spectrum-Toast-buttons {\n    border: none;\n}\n\n.sdk-HeaderFileInfoView-saveToast .spectrum-Toast-content {\n    font-size: 13px;\n    padding-right: 0;\n    width: 190px;\n    word-wrap: break-word;\n}\n\n.sdk-HeaderFileInfoView-statusBlock {\n    display: flex;\n    flex-direction: row;\n    height: 18px;\n    margin-left: 0;\n    margin-top: 8px;\n    min-width: 60px;\n}\n\n.sdk-HeaderFileInfoView-statusBlockBorder {\n    border-left: 1px solid #d6d6d6;\n    padding-left: 10px;\n}\n\n.sdk-HeaderFileInfoView-details {\n    color: #707070;\n    font-size: 11px;\n    letter-spacing: 0.666px;\n    margin-left: 10px;\n    padding-top: 3px;\n    text-transform: uppercase;\n}\n\n.sdk-HeaderFileInfoView-seperatorLine {\n    display: none;\n}\n\n.sdk-HeaderFileInfoView-readOnlyTooltip {\n    background: none;\n    border: none;\n    font-weight: inherit;\n    margin-top: -6px;\n    padding: 0;\n}\n\n.sdk-HeaderFileInfoView-readOnlyTooltip:hover {\n    background: none !important;\n}\n\n.spectrum-Breadcrumbs-itemLink:last-child {\n    display: inline-flex;\n    text-decoration: none !important;\n}\n\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n    .sdk-HeaderFileInfoView-saveToast {\n        margin-left: -35px !important;\n    }\n}\n\n@media (max-width: 400px) {\n    .sdk-HeaderFileInfoView-fileBreadCrumb {\n        max-width: 70px;\n    }\n\n    .sdk-HeaderFileInfoView-fileBreadCrumbINT {\n        max-width: 70px;\n    }\n\n    .sdk-HeaderFileInfoView-fileStatus {\n        display: none;\n    }\n\n    .sdk-HeaderFileInfoView-statusBlockBorder {\n        border: none !important;\n        padding-left: 0 !important;\n    }\n\n    .spectrum-Breadcrumbs-item:nth-last-child(2) {\n        display: none;\n    }\n\n    .sdk-HeaderFileInfoView-header {\n        margin: 0 0 0 42px !important;\n        text-align: left !important;\n    }\n\n    .sdk-HeaderFileInfoView-header > span:nth-child(2) {\n        margin-left: -5px;\n    }\n\n    .sdk-HeaderFileInfoView-headerNoBranding {\n        margin: 0 !important;\n        text-align: left !important;\n    }\n}\n\n@media (min-width: 400px) and (max-width: 550px) {\n    .sdk-HeaderFileInfoView-fileBreadCrumb {\n        max-width: 80px;\n    }\n\n    .sdk-HeaderFileInfoView-fileBreadCrumbINT {\n        max-width: 80px;\n    }\n\n    .sdk-HeaderFileInfoView-fileStatus {\n        display: none;\n    }\n\n    .sdk-HeaderFileInfoView-statusBlockBorder {\n        border: none !important;\n        padding-left: 0 !important;\n    }\n\n    .spectrum-Breadcrumbs-item:nth-last-child(2) {\n        display: none;\n    }\n\n    .sdk-HeaderFileInfoView-header {\n        margin: 0 0 0 42px !important;\n        text-align: left !important;\n    }\n\n    .sdk-HeaderFileInfoView-header > span:nth-child(2) {\n        margin-left: -5px;\n    }\n\n    .sdk-HeaderFileInfoView-headerNoBranding {\n        margin: 0 !important;\n        text-align: left !important;\n    }\n}\n\n@media (min-width: 550px) and (max-width: 768px) {\n    .sdk-HeaderFileInfoView-fileBreadCrumb {\n        max-width: 120px;\n    }\n\n    .sdk-HeaderFileInfoView-fileBreadCrumbINT {\n        max-width: 80px;\n    }\n\n    .spectrum-Breadcrumbs-item:nth-last-child(2) {\n        display: none;\n    }\n\n    .sdk-HeaderFileInfoView-header {\n        margin: 0 0 0 48px !important;\n        text-align: left !important;\n    }\n\n    .sdk-HeaderFileInfoView-headerNoBranding {\n        margin: 0 !important;\n        text-align: left !important;\n    }\n\n    .sdk-HeaderFileInfoView-seperatorLine {\n        border-left: 1px solid #d6d6d6;\n        display: block;\n        margin: 4px 24px 4px -12px;\n    }\n}\n\n@media (min-width: 768px) and (max-width: 1023px) {\n    .sdk-HeaderFileInfoView-fileBreadCrumb {\n        max-width: 190px;\n    }\n\n    .sdk-HeaderFileInfoView-fileBreadCrumbINT {\n        max-width: 80px;\n    }\n\n    .spectrum-Breadcrumbs-item:nth-last-child(2) {\n        display: none;\n    }\n\n    .sdk-HeaderFileInfoView-header {\n        margin: 0 0 0 48px !important;\n        text-align: left !important;\n    }\n\n    .sdk-HeaderFileInfoView-headerNoBranding {\n        margin: 0 !important;\n        text-align: left !important;\n    }\n\n    .sdk-HeaderFileInfoView-seperatorLine {\n        border-left: 1px solid #d6d6d6;\n        display: block;\n        margin: 4px 24px 4px -12px;\n    }\n}\n\n@media (min-width: 1023px) and (max-width: 1280px) {\n    .sdk-HeaderFileInfoView-fileBreadCrumb {\n        max-width: 190px;\n    }\n\n    .sdk-HeaderFileInfoView-fileBreadCrumbINT {\n        max-width: 190px;\n    }\n\n    .spectrum-Breadcrumbs-item:nth-last-child(2) {\n        display: none;\n    }\n\n    .sdk-HeaderFileInfoView-header {\n        margin: 0 0 0 48px !important;\n        text-align: left !important;\n    }\n\n    .sdk-HeaderFileInfoView-headerNoBranding {\n        margin: 0 !important;\n        text-align: left !important;\n    }\n\n    .sdk-HeaderFileInfoView-seperatorLine {\n        border-left: 1px solid #d6d6d6;\n        display: block;\n        margin: 4px 24px 4px -12px;\n    }\n}\n\n@media (min-width: 1280px) and (max-width: 1366px) {\n    .sdk-HeaderFileInfoView-fileBreadCrumb {\n        max-width: 300px;\n    }\n\n    .sdk-HeaderFileInfoView-fileBreadCrumbINT {\n        max-width: 130px;\n    }\n}\n\n@media (min-width: 1366px) {\n    .sdk-HeaderFileInfoView-fileBreadCrumb {\n        max-width: 300px;\n    }\n\n    .sdk-HeaderFileInfoView-fileBreadCrumbINT {\n        max-width: 216px;\n    }\n}\n",""]),e.exports=t},QILm:function(e,t,n){e.exports=n("hrl5")("t9TF")},Rk5m:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _applyDecoratedDescriptor(e,t,n,i,o){var r={};Object.keys(i).forEach((function(e){r[e]=i[e]})),r.enumerable=!!r.enumerable,r.configurable=!!r.configurable,("value"in r||r.initializer)&&(r.writable=!0);r=n.slice().reverse().reduce((function(n,i){return i(e,t,n)||n}),r),o&&void 0!==r.initializer&&(r.value=r.initializer?r.initializer.call(o):void 0,r.initializer=void 0);void 0===r.initializer&&(Object.defineProperty(e,t,r),r=null);return r}},S0n0:function(e,t,n){(t=n("JPst")(!1)).push([e.i,"/*************************************************************************\n * ADOBE CONFIDENTIAL\n * ___________________\n *\n *  Copyright 2019 Adobe\n *  All Rights Reserved.\n *\n * NOTICE:  All information contained herein is, and remains\n * the property of Adobe and its suppliers, if any. The intellectual\n * and technical concepts contained herein are proprietary to Adobe\n * and its suppliers and are protected by all applicable intellectual\n * property laws, including trade secret and copyright laws.\n * Dissemination of this information or reproduction of this material\n * is strictly forbidden unless prior written permission is obtained\n * from Adobe.\n **************************************************************************/\n\n.sdk-CallToAction-popover {\n    border-color: #cacaca !important;\n    box-shadow: none;\n    min-width: 180px !important;\n    padding: 0 !important;\n}\n\n.sdk-CallToAction-sideMenuPopOver {\n    margin-top: 3px !important;\n    min-width: 180px;\n}\n\n.sdk-CallToAction-toolsPopover {\n    left: auto !important;\n    margin-top: -3px !important;\n    min-width: 260px !important;\n    right: 12px !important;\n}\n\n.sdk-CallToAction-toolsPopover .spectrum-Popover-tip {\n    display: none;\n}\n\n.sdk-CallToAction-sideMenuButton {\n    background-color: #f5f5f5 !important;\n    border: none !important;\n}\n",""]),e.exports=t},SBBi:function(e,t,n){var i=n("LboF"),o=n("jQfw");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},SE2g:function(e){e.exports=JSON.parse('{"Breadcrumbs":"탐색 표시"}')},"TB/w":function(e){e.exports=JSON.parse('{"Breadcrumbs":"Brotkrumen"}')},TSYQ:function(e,t,n){e.exports=n("hrl5")("HW6M")},Tk0z:function(e,t,n){e.exports=n("hrl5")("Nqtf")},TqRt:function(e,t,n){e.exports=n("hrl5")("R6lU")},TrdP:function(e,t,n){e.exports=n("hrl5")("oCUd")},U2vP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _unsupportedIterableToArray(e,t){if(!e)return;if("string"==typeof e)return(0,i.default)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,i.default)(e,t)};var i=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n("4588"))},U4PE:function(e,t,n){var i=n("q1tI");function SReportAbuse18(e){return i.createElement("svg",e,i.createElement("g",{fill:"#707070"},[i.createElement("path",{d:"M13.235 3.154a.547.547 0 01-.652-.542V1.8a.543.543 0 00-.407-.53A9.748 9.748 0 009.875 1 9.577 9.577 0 005 2.324v7.583a9.55 9.55 0 014.88-1.324.547.547 0 01.536.55V11a.5.5 0 00.7.454c1.947-.933 3.15-1.185 5.258-.717a.5.5 0 00.626-.481V3.7a.5.5 0 00-.375-.49c-.763-.188-.547-.283-1.333-.283a9.5 9.5 0 00-2.057.227z",key:0}),i.createElement("rect",{width:"2",height:"16",x:"2",y:"1",rx:".25",key:1})]))}SReportAbuse18.defaultProps={width:"18",height:"18"},e.exports=SReportAbuse18,SReportAbuse18.default=SReportAbuse18},UFTZ:function(e,t,n){var i=n("LboF"),o=n("S0n0");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},UlCN:function(e,t,n){e.exports=n("1Xvy")("+AWV")},V2q9:function(e){e.exports=JSON.parse('{"Breadcrumbs":"Morzsák"}')},VM37:function(e,t,n){"use strict";var i=n("q1tI");e.exports=i.createElement("svg",{viewBox:"0 0 48 48"},i.createElement("path",{d:"M24 4.1A19.9 19.9 0 1 0 43.9 24 19.9 19.9 0 0 0 24 4.1zm-.062 33.887a2.844 2.844 0 1 1 0-5.688 2.718 2.718 0 0 1 2.862 2.824 2.665 2.665 0 0 1-2.863 2.864zm1.514-11.457a4.3 4.3 0 0 0 .736 2.168.212.212 0 0 1-.2.327h-3.6a.53.53 0 0 1-.491-.2 4.412 4.412 0 0 1-1.064-2.783c0-3.274 5.36-5.278 5.36-8.552 0-1.6-1.309-2.987-3.8-2.987a11.816 11.816 0 0 0-4.951 1.023c-.164.082-.286 0-.286-.164v-3.235c0-.164 0-.327.163-.41a13.989 13.989 0 0 1 6.1-1.269c4.787 0 7.856 2.742 7.856 6.67-.013 4.501-5.823 7.082-5.823 9.412z"}))},"W+lP":function(e){e.exports=JSON.parse('{"Breadcrumbs":"İçerik haritaları"}')},W8MJ:function(e,t,n){e.exports=n("hrl5")("C9uT")},X977:function(e,t,n){e.exports=n("1Xvy")("eIzE")},YVT2:function(e,t,n){(t=n("JPst")(!1)).push([e.i,'/*************************************************************************\n* ADOBE CONFIDENTIAL\n* ___________________\n*\n* Copyright 2020 Adobe\n* All Rights Reserved.\n*\n* NOTICE: All information contained herein is, and remains\n* the property of Adobe and its suppliers, if any. The intellectual\n* and technical concepts contained herein are proprietary to Adobe\n* and its suppliers and are protected by all applicable intellectual\n* property laws, including trade secret and copyright laws.\n* Dissemination of this information or reproduction of this material\n* is strictly forbidden unless prior written permission is obtained\n* from Adobe.\n**************************************************************************/\n\n/* To remove search extra margin */\n.SearchUI__SearchUI___27zk2 {\n    margin: 0 !important;\n}\n\n.sdk-MainApp-app {\n    display: flex;\n    flex-direction: column;\n    font-family: "adobe-clean", sans-serif;\n    height: 100%;\n    width: 100%;\n}\n',""]),e.exports=t},YuTi:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function get(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function get(){return e.i}}),e.webpackPolyfill=1),e}},Z3hh:function(e,t,n){var i=n("q1tI");function SContinuouspages22(e){return i.createElement("svg",e,[i.createElement("defs",{key:0},[i.createElement("clipPath",{id:"clip-S_ContinuousPages_22",key:0},i.createElement("path",{d:"M1115 10974h22v22h-22z"})),i.createElement("style",{key:1},".cls-2{fill:#707070}")]),i.createElement("g",{id:"S_ContinuousPages_22",clipPath:"url(#clip-S_ContinuousPages_22)",key:1},i.createElement("g",{id:"Group_347","data-name":"Group 347",transform:"translate(1111 9681.994)"},i.createElement("g",{id:"Group_12","data-name":"Group 12",transform:"translate(8 1293)"},[i.createElement("path",{id:"Path_35","data-name":"Path 35",className:"cls-2",d:"M16 1313.5v-5.5H8.5a.5.5 0 00-.5.5v10.5a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-5h-5.5a.5.5 0 01-.5-.5z",transform:"translate(-8 -1300.5)",key:0}),i.createElement("path",{id:"Path_36","data-name":"Path 36",className:"cls-2",d:"M8 1293v5.5a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-5.5z",transform:"translate(-8 -1293)",key:1}),i.createElement("path",{id:"Path_37","data-name":"Path 37",className:"cls-2",d:"M27 1308h.043a.5.5 0 01.354.146l3.957 3.957a.5.5 0 01.146.354v.043H27z",transform:"translate(-17.5 -1300.5)",key:2})])))])}SContinuouspages22.defaultProps={viewBox:"1115 10974 22 22"},e.exports=SContinuouspages22,SContinuouspages22.default=SContinuouspages22},Z6Ro:function(e,t,n){e.exports=n("hrl5")("xWUK")},ZKuE:function(e){e.exports=JSON.parse('{"Breadcrumbs":"Struktura nawigacyjna"}')},Zv48:function(e,t,n){"use strict";var i=n("q1tI");e.exports=i.createElement("svg",{viewBox:"0 0 36 36"},i.createElement("path",{d:"M18 2a16 16 0 1 0 16 16A16 16 0 0 0 18 2zm.047 26.876a2.69 2.69 0 1 1 0-5.375 2.62 2.62 0 0 1 2.8 2.67 2.581 2.581 0 0 1-2.8 2.705zm3.566-12.818l-.2.21c-.789.829-1.684 1.768-1.684 2.351a2.772 2.772 0 0 0 .358 1.348l.146.278-.113.429a.617.617 0 0 1-.567.377h-2.682a.868.868 0 0 1-.65-.235 4.113 4.113 0 0 1-.845-2.524c0-1.678.934-2.714 2.225-4.15.2-.219.391-.42.575-.61.629-.65 1.014-1.07 1.014-1.515 0-.307 0-1.244-1.786-1.244a5.916 5.916 0 0 0-3.159.919.6.6 0 0 1-.653-.02l-.236-.169-.056-.443v-2.9a.879.879 0 0 1 .394-.82 8.271 8.271 0 0 1 4.3-1.1c3.291 0 5.5 2.118 5.5 5.272a6.134 6.134 0 0 1-1.881 4.546z"}))},a1gu:function(e,t,n){e.exports=n("hrl5")("T/v0")},aIcp:function(e,t,n){var i=n("q1tI");function AcrobatReaderAppicon24(e){return i.createElement("svg",e,[i.createElement("path",{fill:"#b30b00",d:"M4.25.3h15.5A4.246 4.246 0 0124 4.55v14.9a4.246 4.246 0 01-4.25 4.25H4.25A4.246 4.246 0 010 19.45V4.55A4.246 4.246 0 014.25.3z",key:0}),i.createElement("g",{"data-name":"Outlined Mnemonics Logos",key:1},i.createElement("path",{"data-name":"256",fill:"#fff",d:"M19.3 13.85a1.79 1.79 0 00-.44-.335 2.838 2.838 0 00-.6-.241 4.798 4.798 0 00-.757-.145 7.943 7.943 0 00-.913-.049q-.274.004-.549.017-.275.013-.55.037-.274.023-.548.057-.273.034-.543.079-.173-.169-.339-.345-.166-.176-.325-.36-.158-.184-.308-.375t-.288-.39q-.109-.146-.212-.296t-.202-.304q-.098-.154-.192-.311-.094-.158-.184-.319.176-.551.308-1.048.131-.497.218-.94.087-.442.13-.83a6.53 6.53 0 00.044-.722 3.675 3.675 0 00-.086-.806 2.424 2.424 0 00-.279-.719 1.493 1.493 0 00-.504-.517 1.45 1.45 0 00-.761-.198 1.197 1.197 0 00-.305.047 1.22 1.22 0 00-.705.543 2.178 2.178 0 00-.25.822 4.699 4.699 0 00.006 1.088 7.855 7.855 0 00.257 1.268 10.261 10.261 0 00.497 1.362 41.397 41.397 0 01-.98 2.59q-.124.292-.253.583-.13.29-.267.577t-.282.57q-.144.282-.298.56c-.307.122-.701.29-1.123.492a12.994 12.994 0 00-1.29.703 6.086 6.086 0 00-1.105.86 1.967 1.967 0 00-.572.965 1.086 1.086 0 00-.02.292 1.104 1.104 0 00.057.283 1.14 1.14 0 00.129.26 1.178 1.178 0 00.194.225 1.455 1.455 0 00.233.17 1.493 1.493 0 00.26.121 1.55 1.55 0 00.278.07 1.608 1.608 0 00.289.019 2.267 2.267 0 001.17-.37 5.403 5.403 0 001.121-.954 11.56 11.56 0 001.026-1.304c.321-.468.618-.955.883-1.422q.225-.075.452-.148.226-.072.454-.142.228-.07.457-.135.228-.065.457-.125.251-.068.497-.128.245-.06.485-.113.24-.054.475-.1.234-.048.463-.089a7.874 7.874 0 001.203.873 6.27 6.27 0 001.083.506 5.254 5.254 0 00.913.234A4.376 4.376 0 0018 15.9a2.594 2.594 0 00.651-.075 1.51 1.51 0 00.449-.191 1.128 1.128 0 00.284-.261 1.113 1.113 0 00.156-.283 1.225 1.225 0 00.068-.323 1.256 1.256 0 00-.123-.639 1.238 1.238 0 00-.185-.278zm-1.09.76a.515.515 0 01-.086.197.585.585 0 01-.163.152.795.795 0 01-.228.097 1.125 1.125 0 01-.283.034 1.85 1.85 0 01-.174-.009 1.15 1.15 0 01-.166-.031 4.956 4.956 0 01-.557-.17 5.265 5.265 0 01-.548-.238 5.887 5.887 0 01-.54-.31q-.269-.172-.535-.382.199-.03.4-.052t.403-.038q.202-.015.406-.022t.411-.008q.135-.004.27 0 .135.003.27.014.135.01.27.027.135.016.27.039a1.066 1.066 0 01.234.064.676.676 0 01.206.128.472.472 0 01.13.207.615.615 0 01.01.301zm-7.16-8.85a.447.447 0 01.063-.09.418.418 0 01.082-.069.386.386 0 01.097-.045.37.37 0 01.108-.016.358.358 0 01.232.078.494.494 0 01.14.2 1.114 1.114 0 01.07.27 2.14 2.14 0 01.018.292 4.753 4.753 0 01-.033.523c-.022.194-.055.408-.097.636s-.095.47-.157.724-.133.517-.213.787a8.575 8.575 0 01-.347-1.174 5.964 5.964 0 01-.13-.955 3.505 3.505 0 01.03-.713 1.382 1.382 0 01.137-.448zm.91 8.03l-.247.068-.248.068-.247.07-.248.074.131-.268q.064-.133.124-.264.06-.132.116-.261t.109-.257l.135-.336.132-.333.13-.33q.063-.166.123-.331l.105.163.106.16.108.16.111.157q.109.15.22.296.11.146.225.289.114.142.233.281.118.139.242.274a1.285 1.285 0 00-.15.029 27.246 27.246 0 00-.808.189c-.148.036-.29.072-.402.102zm-3.51 2c-.252.405-.504.772-.748 1.096a8.71 8.71 0 01-.703.831 3.63 3.63 0 01-.623.528.99.99 0 01-.506.185.43.43 0 01-.069-.006.441.441 0 01-.068-.016.4.4 0 01-.065-.029.334.334 0 01-.058-.039.384.384 0 01-.07-.076.37.37 0 01-.068-.19.38.38 0 01.008-.104 1.117 1.117 0 01.274-.478 3.847 3.847 0 01.615-.545 8.744 8.744 0 01.912-.577c.35-.195.742-.39 1.169-.58z"}))])}AcrobatReaderAppicon24.defaultProps={"data-name":"Layer 1",viewBox:"0 0 24 24"},e.exports=AcrobatReaderAppicon24,AcrobatReaderAppicon24.default=AcrobatReaderAppicon24},ayz5:function(e,t,n){var i=n("LboF"),o=n("6lI2");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},b4r4:function(e){e.exports=JSON.parse('{"GOTO_FULLSCREEN_LABEL":"Fullscreen Mode","EXIT_FULLSCREEN_LABEL":"Exit Fullscreen","dialog.new.file.title":"New Version Available","dialog.new.file.confirmLabel":"Get Latest Version","dialog.new.file.content":"The file you are viewing is not latest and is modified by another user, {name} ({mail}).","dialog.new.file.self.content":"The file you are viewing is not latest and is modified by you.","dialog.conflict.file.title":"Save Conflict","dialog.conflict.file.confirmLabel":"Discard my changes","dialog.conflict.file.cancelLabel":"Save a copy","dialog.conflict.file.content":"Your changes conflict with those made concurrently by another user, {name} ({mail}).","dialog.conflict.file.self.content":"Your changes conflict with those made concurrently by you.","dialog.unsaved.title":"You have unsaved changes","dialog.unsaved.message":"To save all edits into the original file, click Save.","dialog.unsaved.confirmLabel":"Save","dialog.unsaved.cancelLabel":"Cancel","FILE_LOADING":"Opening Document","RELOAD_APP":"Reload","FILE_PREVIEW_ERROR_TITLE":"File preview error","FILE_PREVIEW_ERROR_MSG":"File preview not available, please reload to try again.","error.default":"There\'s some problem while processing your request.","error.contact.support":" If you continue to encounter this error, please consider <a href={supportUrl} target=\\"_blank\\"> contacting support </a> and referencing session <span>{jobId}</span>.","ok":"OK","close":"Close","download":"Download","error":"Error","loading":"Loading Document","saving":"Saving","toast.conflict.content":"A new version of the document with your changes is saved in your <a href={url} target=\\"_blank\\">{integrationName}</a> account.","toast.success.content":"A new document with your changes is saved in your <a href={url} target=\\"_blank\\">{integrationName}</a> account."}')},butC:function(e,t,n){"use strict";function asyncGeneratorStep(e,t,n,i,o,r,a){try{var s=e[r](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(i,o)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var r=e.apply(t,n);function _next(e){asyncGeneratorStep(r,i,o,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(r,i,o,_next,_throw,"throw",e)}_next(void 0)}))}}},byBi:function(e,t,n){var i=n("q1tI");function SDocument22(e){return i.createElement("svg",e,i.createElement("g",{fill:"#707070"},[i.createElement("path",{d:"M11 8.5V3H4.5a.472.472 0 00-.5.5v15a.472.472 0 00.5.5h12a.472.472 0 00.5-.5V9h-5.5a.472.472 0 01-.5-.5z",key:0}),i.createElement("path",{d:"M12.5 3c.2 0 .315 0 .4.1l4 4c.1.1.1.2.1.4h-4.5V3z",key:1})]))}SDocument22.defaultProps={width:"22",height:"22"},e.exports=SDocument22,SDocument22.default=SDocument22},byzO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _initializerWarningHelper(e,t){throw new Error("Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform.")}},cDWY:function(e,t,n){e.exports=n("1Xvy")("uOIj")},cmGi:function(e,t,n){e.exports=n("hrl5")("VDeJ")},dCdM:function(e,t,n){e.exports=n("x+eE")},dOFO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _arrayWithHoles(e){if(Array.isArray(e))return e}},dVHv:function(e,t,n){e.exports=n("hrl5")("BDH0")},dZMC:function(e){e.exports=JSON.parse('{"Breadcrumbs":"Caminho detalhado"}')},eQQN:function(e,t){Object.assign||(Object.assign=function(e,t){if(null==e)throw new TypeError("Cannot assign to undefined or null.");var n,i,o,r=Object,a=r(e),s=Object.prototype.hasOwnProperty;for(n=1;n<arguments.length;n++)if(null!=(i=arguments[n]))for(o in i)s.call(i,o)&&(a[o]=i[o]);return a}),Object.entries||(Object.entries=function(e){for(var t=Object.keys(e),n=t.length,i=new Array(n);n--;)i[n]=[t[n],e[t[n]]];return i}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function value(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),i=n.length>>>0;if(0===i)return!1;for(var o=0|t,r=Math.max(o>=0?o:i-Math.abs(o),0);r<i;){if(n[r]===e)return!0;r++}return!1}})},fOci:function(e,t,n){"use strict";var i=n("q1tI");e.exports=i.createElement("svg",{viewBox:"0 0 36 36"},i.createElement("path",{d:"M35.5 16.08h-28l9.94-9.94a.967.967 0 0 0 0-1.4l-.7-.72a1.027 1.027 0 0 0-1.42 0L2.48 16.88a1.027 1.027 0 0 0 0 1.42l12.78 13.68a1.027 1.027 0 0 0 1.42 0l.7-.7a1.027 1.027 0 0 0 0-1.42L7.52 19H35.5a.5.5 0 0 0 .5-.5v-1.92a.5.5 0 0 0-.5-.5z"}))},g4DW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _defineProperty(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}},gtFa:function(e,t,n){(t=n("JPst")(!1)).push([e.i,"/*************************************************************************\n* ADOBE CONFIDENTIAL\n* ___________________\n*\n*  Copyright 2020 Adobe\n*  All Rights Reserved.\n*\n* NOTICE:  All information contained herein is, and remains\n* the property of Adobe and its suppliers, if any. The intellectual\n* and technical concepts contained herein are proprietary to Adobe\n* and its suppliers and are protected by all applicable intellectual\n* property laws, including trade secret and copyright laws.\n* Dissemination of this information or reproduction of this material\n* is strictly forbidden unless prior written permission is obtained\n* from Adobe.\n**************************************************************************/\n\n.sdk-ProgressView-progressBG {\n    background-color: rgba(0, 0, 0, 0.3);\n}\n\n.sdk-UploadProgressView-progressBG {\n    background-color: #f5f5f5;\n}\n\n.sdk-ProgressView-progressFixed {\n    background-color: rgba(0, 0, 0, 0.3);\n    color: #4b4b4b;\n    height: 100vh;\n    left: 0;\n    position: fixed;\n    top: 0;\n    width: 100vw;\n    z-index: 999999;\n}\n\n.sdk-ProgressView-progress {\n    color: #4b4b4b;\n    height: 100%;\n    position: absolute;\n    width: 100%;\n    z-index: 999999;\n}\n\n.sdk-ProgressView-progressText {\n    color: white;\n    font-size: 16px;\n    left: 50%;\n    margin-top: 55px;\n    position: absolute;\n    top: 50%;\n    transform: translate(-50%, -50%);\n}\n\n.sdk-ProgressView-progressTextInLine {\n    color: white;\n    font-size: 16px;\n    left: 50%;\n    margin-top: 55px;\n    position: absolute;\n    top: 150px;\n    transform: translate(-50%, -50%);\n}\n\n.sdk-ProgressText-light {\n    color: white;\n}\n\n.sdk-ProgressText-dark {\n    color: #505050;\n}\n\n.sdk-ProgressView-progressWaitInLine {\n    color: white;\n    font-size: 16px;\n    left: 50%;\n    margin-top: 55px;\n    position: absolute;\n    top: 100px;\n    transform: translate(-50%, -50%);\n}\n",""]),e.exports=t},gxke:function(e,t,n){e.exports=n("1Xvy")("6JQk")},hkha:function(e,t,n){"use strict";function _setPrototypeOf(e,n){return t.default=_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){return e.__proto__=t,e},_setPrototypeOf(e,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=_setPrototypeOf},hrl5:function(e,t){e.exports=window.adobe_dc_sdk["dc-core"]},hxpe:function(e){e.exports=JSON.parse('{"ADOBE_ACROBAT":"Adobe Acrobat","POWERED_BY":"Powered by<br>{brandingTitle}","HELP_LABEL":"Pyydä apua","GOTO_FULLSCREEN_LABEL":"Koko näytön tila","EXIT_FULLSCREEN_LABEL":"Poistu koko näytön tilasta","LEGAL_NOTICES":"Lakisääteiset ilmoitukset","RETURN":"Palauta","button.save":"Tallenna","file.metadata.readonly":"Vain luku","file.metadata.protected":"Suojattu","file.progress.status.failed":"Epäonnistui","file.progress.status.saved":"Tallennettu","file.progress.status.saving":"Tallennetaan...","file.progress.status.edited":"Muokattu","file.progress.status.unsaved":"Tallentamatta...","dialog.new.file.title":"Uusi versio saatavana","dialog.new.file.confirmLabel":"Hanki uusin versio","dialog.new.file.content":"Tarkastelemasi ja toisen käyttäjän, {name} ({mail}), muokkaama tiedosto ei ole uusin versio.","dialog.new.file.self.content":"Tarkastelemasi ja muokkaamasi tiedosto ei ole uusin versio.","dialog.conflict.file.title":"Tallennusristiriita","dialog.conflict.file.confirmLabel":"Hylkää muutokset","dialog.conflict.file.cancelLabel":"Tallenna kopio","dialog.conflict.file.content":"Muutokset ovat ristiriidassa toisen käyttäjän, {name} ({mail}), samanaikaisesti tekemien muutosten kanssa.","dialog.conflict.file.self.content":"Muutokset ovat ristiriidassa tällä hetkellä tekemiesi muutosten kanssa.","dialog.unsaved.title":"Joitakin muutoksia ei ole tallennettu.","dialog.unsaved.message":"Tallenna kaikki muutokset alkuperäiseen tiedostoon napsauttamalla Tallenna.","dialog.unsaved.confirmLabel":"Tallenna","dialog.unsaved.cancelLabel":"Peruuta","file.readonly.tooltip":"Tämän dokumentin omistaja ei ole myöntänyt sinulle oikeuksia muutosten tekemiseen.","FILE_LOADING":"Avataan dokumenttia","RELOAD_APP":"Lataa uudelleen","FILE_PREVIEW_ERROR_TITLE":"Tiedoston esikatseluvirhe","FILE_PREVIEW_ERROR_MSG":"Tiedostojen esikatselu ei ole käytettävissä. Lataa ja yritä uudelleen.","error.default":"Pyyntöä käsiteltäessä ilmeni ongelma.","error.contact.support":" Jos kohtaat tämän virheen uudelleen, sinun kannattaa <a href={supportUrl} target=\\"_blank\\"> ottaa yhteyttä tukeen </a> ja ilmoittaa istuntonumero <span>{jobId}</span>.","ok":"OK","close":"Sulje","download":"Lataa","error":"Virhe","viewMode.single":"Yksi sivu","viewMode.continuous":"Jatkuva","toast.conflict.content":"Dokumentin muutokset sisältävä uusi versio tallennetaan <a href={url} target=\\"_blank\\">{integrationName}</a>-tilillesi.","toast.success.content":"Muutokset sisältävä uusi dokumentti tallennetaan <a href={url} target=\\"_blank\\">{integrationName}</a>-tilillesi.","edit.header.title":"Muokkaa tekstiä ja kuvia","portfolio.pdf.message":"Tätä tiedostoa ei voi esikatsella, sillä se on PDF-portfoliotiedosto.","tools.inactive.label":"Tämä työkalu on käytettävissä pian."}')},i8i4:function(e,t,n){e.exports=n("hrl5")("O27J")},jGWr:function(e,t,n){"use strict";var i=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("pVnL")),r=i(n("QILm")),a=i(n("lwsE")),s=i(n("W8MJ")),l=i(n("a1gu")),c=i(n("Nsbk")),u=i(n("7W2i")),d=i(n("lSNA")),f=i(n("TSYQ")),p=i(n("u20u")),g=i(n("q3GW")),m=i(n("17x9")),h=i(n("q1tI"));n("kLkQ"),n("kquR");var v=function(e){function IllustratedMessage(){return(0,a.default)(this,IllustratedMessage),(0,l.default)(this,(0,c.default)(IllustratedMessage).apply(this,arguments))}return(0,u.default)(IllustratedMessage,e),(0,s.default)(IllustratedMessage,[{key:"isIllustrationDecorative",value:function isIllustrationDecorative(){var e=this.props,t=e.illustration,n=e.heading,i=e.description;if(t){var o=t.props,r=o["aria-label"],a=o["aria-labelledby"],s=o["aria-hidden"];if(null!=s)return s;if(r||a)return!1}return!(!n&&!i)}},{key:"render",value:function render(){var e=this.props,t=e.illustration,n=void 0===t?null:t,i=e.className,a=e.heading,s=e.description,l=e.ariaLevel,c=(0,r.default)(e,["illustration","className","heading","description","ariaLevel"]);return!n||n.props.className&&n.props.className.includes("spectrum-IllustratedMessage-illustration")||(n=h.default.cloneElement(n,{className:(0,f.default)(n.props.className,"spectrum-IllustratedMessage-illustration"),"aria-hidden":this.isIllustrationDecorative()||null})),h.default.createElement("div",(0,o.default)({},(0,p.default)(c),{className:(0,f.default)("spectrum-IllustratedMessage",i)}),n,a&&h.default.createElement(g.default,{variant:"pageTitle",className:"spectrum-IllustratedMessage-heading","aria-level":l},a),s&&h.default.createElement("p",{className:"spectrum-Body--secondary spectrum-IllustratedMessage-description"},s))}}]),IllustratedMessage}(h.default.Component);t.default=v,(0,d.default)(v,"propTypes",{heading:m.default.string,description:m.default.oneOfType([m.default.string,m.default.element]),illustration:m.default.element,ariaLevel:m.default.number}),(0,d.default)(v,"defaultProps",{heading:null,description:null})},jNRk:function(e,t,n){(t=n("JPst")(!1)).push([e.i,".errorContainer {\n    align-items: center;\n    background-color: rgb(245, 245, 245);\n    display: flex;\n    height: calc(99.5% - var(--header-height));\n    justify-content: center;\n}\n\n.errorMessage {\n    color: #2c2c2c !important;\n    font-size: 27px;\n    font-weight: 700;\n}\n",""]),e.exports=t},jQfw:function(e,t,n){(t=n("JPst")(!1)).push([e.i,"/*************************************************************************\n* ADOBE CONFIDENTIAL\n* ___________________\n*\n*  Copyright 2020 Adobe\n*  All Rights Reserved.\n*\n* NOTICE:  All information contained herein is, and remains\n* the property of Adobe and its suppliers, if any. The intellectual\n* and technical concepts contained herein are proprietary to Adobe\n* and its suppliers and are protected by all applicable intellectual\n* property laws, including trade secret and copyright laws.\n* Dissemination of this information or reproduction of this material\n* is strictly forbidden unless prior written permission is obtained\n* from Adobe.\n**************************************************************************/\n\n.sdk-ErrorModalDialog-errorDialog {\n    background-color: rgba(0, 0, 0, 0.3);\n    bottom: 0;\n    color: #4b4b4b;\n    height: 100%;\n    left: 0;\n    position: fixed;\n    right: 0;\n    top: 0;\n    width: 100%;\n    z-index: 999999;\n}\n\n.sdk-ErrorModalDialog-errorMsg {\n    max-width: 450px;\n    padding: 20px;\n}\n",""]),e.exports=t},jQsN:function(e,t,n){"use strict";e.exports=n("nXbr")},ja9V:function(e,t,n){(t=n("JPst")(!1)).push([e.i,"/*************************************************************************\n* ADOBE CONFIDENTIAL\n* ___________________\n*\n* Copyright 2020 Adobe\n* All Rights Reserved.\n*\n* NOTICE: All information contained herein is, and remains\n* the property of Adobe and its suppliers, if any. The intellectual\n* and technical concepts contained herein are proprietary to Adobe\n* and its suppliers and are protected by all applicable intellectual\n* property laws, including trade secret and copyright laws.\n* Dissemination of this information or reproduction of this material\n* is strictly forbidden unless prior written permission is obtained\n* from Adobe.\n**************************************************************************/\n\n.sdk-SeparatorView-separator {\n    border-left: 1px solid #d6d6d6;\n    height: 18px;\n    margin-top: 5px;\n    opacity: 1;\n}\n",""]),e.exports=t},jnV5:function(e){e.exports=JSON.parse('{"ADOBE_ACROBAT":"Adobe Acrobat","POWERED_BY":"Powered by<br>{brandingTitle}","HELP_LABEL":"获取帮助","GOTO_FULLSCREEN_LABEL":"全屏模式","EXIT_FULLSCREEN_LABEL":"退出全屏","LEGAL_NOTICES":"法律声明","RETURN":"返回","button.save":"保存","file.metadata.readonly":"只读","file.metadata.protected":"受保护","file.progress.status.failed":"失败","file.progress.status.saved":"已保存","file.progress.status.saving":"正在保存...","file.progress.status.edited":"已编辑","file.progress.status.unsaved":"未保存...","dialog.new.file.title":"新版本可用","dialog.new.file.confirmLabel":"获取最新版本","dialog.new.file.content":"您正在查看的文件不是最新文件,并且已被另一用户({name},{mail})修改。","dialog.new.file.self.content":"您正在查看的文件不是最新文件,并且已被您修改。","dialog.conflict.file.title":"保存冲突","dialog.conflict.file.confirmLabel":"放弃更改","dialog.conflict.file.cancelLabel":"保存副本","dialog.conflict.file.content":"您所做的更改与另一用户({name},{mail})同时进行的其他更改冲突。","dialog.conflict.file.self.content":"您所做的更改与您同时进行的其他更改冲突。","dialog.unsaved.title":"您有尚未保存的更改","dialog.unsaved.message":"要将所有编辑保存到原始文件,请单击“保存”。","dialog.unsaved.confirmLabel":"保存","dialog.unsaved.cancelLabel":"取消","file.readonly.tooltip":"本文档的所有者未向您提供进行更改的权限。","FILE_LOADING":"正在打开文档","RELOAD_APP":"重新加载","FILE_PREVIEW_ERROR_TITLE":"文件预览错误","FILE_PREVIEW_ERROR_MSG":"文件预览不可用,请重新加载,然后重试。","error.default":"处理您的请求时出现问题。","error.contact.support":"如果您持续遇到此错误,请考虑<a href={supportUrl} target=\\"_blank\\">联系支持部门</a>并提供会话 <span>{jobId}</span>。","ok":"确定","close":"关闭","download":"下载","error":"错误","viewMode.single":"单页","viewMode.continuous":"连续","toast.conflict.content":"包含您所做更改的文档的新版本保存在您的<a href={url} target=\\"_blank\\">{integrationName}</a>帐户中。","toast.success.content":"包含您所做更改的新文档保存在您的<a href={url} target=\\"_blank\\">{integrationName}</a>帐户中。","edit.header.title":"编辑文本和图像","portfolio.pdf.message":"由于其产品组合 PDF,此文件无法预览。","tools.inactive.label":"此工具即将可用"}')},jq7l:function(e,t,n){var i=n("LboF"),o=n("JcDv");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},jtQn:function(e,t,n){e.exports=n("hrl5")("Ah8R")},kBqU:function(e,t,n){(t=n("JPst")(!1)).push([e.i,"/*************************************************************************\n * ADOBE CONFIDENTIAL\n * ___________________\n *\n *  Copyright 2019 Adobe\n *  All Rights Reserved.\n *\n * NOTICE:  All information contained herein is, and remains\n * the property of Adobe and its suppliers, if any. The intellectual\n * and technical concepts contained herein are proprietary to Adobe\n * and its suppliers and are protected by all applicable intellectual\n * property laws, including trade secret and copyright laws.\n * Dissemination of this information or reproduction of this material\n * is strictly forbidden unless prior written permission is obtained\n * from Adobe.\n **************************************************************************/\n\n:root {\n    --btn-hover-color: #f4f4f4;\n}\n\nbutton > span {\n    display: inline-block !important;\n}\n\n.sdk-SideMenu-sideMenuActionItem {\n    display: flex;\n    font-size: 14px;\n    height: 40px;\n    margin: 0 !important;\n    outline: none !important;\n    padding-left: 16px;\n    text-align: left;\n    width: 100%;\n}\n\n.sdk-SideMenu-sideMenuActionItem:hover {\n    background-color: var(--btn-hover-color) !important;\n}\n\n.sdk-SideMenu-menuDivider {\n    background-color: #cacaca;\n    border: none;\n    height: 1px;\n    margin: 0 15px !important;\n}\n\n.sdk-SideMenu-emailDisplay {\n    color: #707070;\n    cursor: pointer;\n    font-size: 12px;\n    line-height: 12px;\n    padding: 0 12px 12px 42px;\n}\n\n.sdk-SideMenu-emailDisplayToolTip {\n    text-align: center;\n}\n\n.sdk-SideMenu-emailDisplayToolTip .spectrum-Tooltip-label {\n    max-width: 170px !important;\n}\n\n.sdk-SideMenu-sideMenuActionItem .spectrum-ActionButton-label {\n    color: #6e6e6e;\n    padding-left: 10px !important;\n    text-align: left !important;\n}\n\n.sdk-SideMenu-sideMenuActionItem .spectrum-Icon {\n    color: #6e6e6e !important;\n}\n\n/* Forcing fill as we don't have dark theme yet */\n.sdk-SideMenu-sideMenuActionItem svg g {\n    fill: #6a6a6a !important;\n}\n",""]),e.exports=t},kLkQ:function(e,t,n){var i=n("LboF"),o=n("w8Wo");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},kRmR:function(e,t,n){(t=n("JPst")(!1)).push([e.i,"/*************************************************************************\n* ADOBE CONFIDENTIAL\n* ___________________\n*\n* Copyright 2019 Adobe\n* All Rights Reserved.\n*\n* NOTICE: All information contained herein is, and remains\n* the property of Adobe and its suppliers, if any. The intellectual\n* and technical concepts contained herein are proprietary to Adobe\n* and its suppliers and are protected by all applicable intellectual\n* property laws, including trade secret and copyright laws.\n* Dissemination of this information or reproduction of this material\n* is strictly forbidden unless prior written permission is obtained\n* from Adobe.\n**************************************************************************/\n\n.react-spectrum-Breadcrumbs-icon {\n  cursor: default;\n  vertical-align: sub;\n}",""]),e.exports=t},kquR:function(e,t,n){var i=n("LboF"),o=n("EZwi");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},lSNA:function(e,t,n){e.exports=n("hrl5")("fKPv")},lWhz:function(e){e.exports=JSON.parse('{"ADOBE_ACROBAT":"Adobe Acrobat","POWERED_BY":"Powered by<br>{brandingTitle}","HELP_LABEL":"Uzyskaj pomoc","GOTO_FULLSCREEN_LABEL":"Tryb pełnoekranowy","EXIT_FULLSCREEN_LABEL":"Wyjdź z trybu pełnoekranowego","LEGAL_NOTICES":"Informacje prawne","RETURN":"Powrót","button.save":"Zapisz","file.metadata.readonly":"Tylko do odczytu","file.metadata.protected":"Chroniony","file.progress.status.failed":"Niepowodzenie","file.progress.status.saved":"Zapisane","file.progress.status.saving":"Zapisywanie...","file.progress.status.edited":"Edytowane","file.progress.status.unsaved":"Nie zapisano...","dialog.new.file.title":"Dostępna jest nowa wersja","dialog.new.file.confirmLabel":"Pobierz najnowszą wersję","dialog.new.file.content":"Przeglądana wersja pliku nie jest tą najnowszą. Plik został zmodyfikowany przez innego użytkownika, {name} ({mail}).","dialog.new.file.self.content":"Przeglądana wersja pliku nie jest tą najnowszą. Plik został zmodyfikowany przez Ciebie.","dialog.conflict.file.title":"Konflikt zapisu","dialog.conflict.file.confirmLabel":"Odrzuć wprowadzone zmiany","dialog.conflict.file.cancelLabel":"Zapisz kopię","dialog.conflict.file.content":"Wprowadzone zmiany są sprzeczne ze zmianami dokonanymi jednocześnie przez innego użytkownika, {name} ({mail}).","dialog.conflict.file.self.content":"Wprowadzone zmiany są sprzeczne ze zmianami dokonanymi jednocześnie przez Ciebie.","dialog.unsaved.title":"Masz niezapisane zmiany","dialog.unsaved.message":"Aby zapisać wszystkie zmiany w oryginalnym pliku, kliknij Zapisz.","dialog.unsaved.confirmLabel":"Zapisz","dialog.unsaved.cancelLabel":"Anuluj","file.readonly.tooltip":"Właściciel tego dokumentu nie udzielił Ci dostępu do wprowadzania zmian.","FILE_LOADING":"Otwieranie dokumentu","RELOAD_APP":"Wczytaj ponownie","FILE_PREVIEW_ERROR_TITLE":"Błąd podglądu pliku","FILE_PREVIEW_ERROR_MSG":"Podgląd pliku jest niedostępny. Załaduj plik jeszcze raz, aby spróbować ponownie.","error.default":"Podczas przetwarzania żądania wystąpił problem.","error.contact.support":" Jeśli ten błąd będzie się powtarzał, <a href={supportUrl} target=\\"_blank\\"> skontaktuj się z działem wsparcia technicznego</a> i przedstaw odniesienie sesji <span>{jobId}</span>.","ok":"OK","close":"Zamknij","download":"Pobierz","error":"Błąd","viewMode.single":"Pojedyncza strona","viewMode.continuous":"Ciągłe","toast.conflict.content":"Nowa wersja dokumentu ze zmianami zostanie zapisana na Twoim koncie <a href={url} target=\\"_blank\\">{integrationName}</a>.","toast.success.content":"Nowy dokument ze zmianami zostanie zapisany na Twoim koncie <a href={url} target=\\"_blank\\">{integrationName}</a>.","edit.header.title":"Edytuj tekst i obrazy","portfolio.pdf.message":"Nie można wyświetlić podglądu tego pliku, ponieważ jest to portfolio PDF.","tools.inactive.label":"To narzędzie będzie dostępne wkrótce"}')},laoy:function(e,t,n){e.exports=n("hrl5")("lM+A")},lwsE:function(e,t,n){e.exports=n("hrl5")("Z60a")},m841:function(e,t,n){"use strict";var i=n("q1tI");e.exports=i.createElement("svg",{viewBox:"0 0 48 48"},i.createElement("path",{d:"M29.219 6H44v36L29.219 6zM18.798 6H4v36L18.798 6zm5.207 13.265l9.422 22.733h-6.173l-2.823-7.24h-6.896l6.47-15.493z"}))},mYoS:function(e,t,n){var i=n("LboF"),o=n("zJGm");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},myq0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o=_interopRequireDefault(n("zmrQ")),r=_interopRequireDefault(n("q1tI"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=function WrappedIcon(e){return r.default.createElement(o.default,i({},e,{icon:{18:n("338m"),24:n("9JFU")}}))};a.displayName="Maximize",t.default=a},nQDN:function(e,t,n){var i=n("LboF"),o=n("waKp");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},nXbr:function(e,t,n){(function(e){var t=n("C70D"),i=function(e){"use strict";var n=Object.prototype,i=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function define(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{define({},"")}catch(e){define=function define(e,t,n){return e[t]=n}}function wrap(e,t,n,i){var o=t&&t.prototype instanceof Generator?t:Generator,r=Object.create(o.prototype),a=new Context(i||[]);return r._invoke=function makeInvokeMethod(e,t,n){var i="suspendedStart";return function invoke(o,r){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===o)throw r;return doneResult()}for(n.method=o,n.arg=r;;){var a=n.delegate;if(a){var s=maybeInvokeDelegate(a,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var c=tryCatch(e,t,n);if("normal"===c.type){if(i=n.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i="completed",n.method="throw",n.arg=c.arg)}}}(e,n,a),r}function tryCatch(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=wrap;var l={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var c={};define(c,r,(function(){return this}));var u=Object.getPrototypeOf,d=u&&u(u(values([])));d&&d!==n&&i.call(d,r)&&(c=d);var f=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function defineIteratorMethods(e){["next","throw","return"].forEach((function(t){define(e,t,(function(e){return this._invoke(t,e)}))}))}function AsyncIterator(e,n){var o;this._invoke=function enqueue(r,a){function callInvokeWithMethodAndArg(){return new n((function(o,s){!function invoke(o,r,a,s){var l=tryCatch(e[o],e,r);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"===t(u)&&i.call(u,"__await")?n.resolve(u.__await).then((function(e){invoke("next",e,a,s)}),(function(e){invoke("throw",e,a,s)})):n.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return invoke("throw",e,a,s)}))}s(l.arg)}(r,a,o,s)}))}return o=o?o.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}}function maybeInvokeDelegate(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,maybeInvokeDelegate(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var i=tryCatch(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,l;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function pushTryEntry(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function resetTryEntry(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function Context(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e){var t=e[r];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function next(){for(;++n<e.length;)if(i.call(e,n))return next.value=e[n],next.done=!1,next;return next.value=void 0,next.done=!0,next};return o.next=o}}return{next:doneResult}}function doneResult(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=GeneratorFunctionPrototype,define(f,"constructor",GeneratorFunctionPrototype),define(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===GeneratorFunction||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,define(e,s,"GeneratorFunction")),e.prototype=Object.create(f),e},e.awrap=function(e){return{__await:e}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,a,(function(){return this})),e.AsyncIterator=AsyncIterator,e.async=function(t,n,i,o,r){void 0===r&&(r=Promise);var a=new AsyncIterator(wrap(t,n,i,o),r);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},defineIteratorMethods(f),define(f,s,"Generator"),define(f,r,(function(){return this})),define(f,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function next(){for(;t.length;){var n=t.pop();if(n in e)return next.value=n,next.done=!1,next}return next.done=!0,next}},e.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(resetTryEntry),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function stop(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function dispatchException(e){if(this.done)throw e;var t=this;function handle(n,i){return r.type="throw",r.arg=e,t.next=n,i&&(t.method="next",t.arg=void 0),!!i}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],r=o.completion;if("root"===o.tryLoc)return handle("end");if(o.tryLoc<=this.prev){var a=i.call(o,"catchLoc"),s=i.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return handle(o.catchLoc,!0);if(this.prev<o.finallyLoc)return handle(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return handle(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return handle(o.finallyLoc)}}}},abrupt:function abrupt(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var r=o;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var a=r?r.completion:{};return a.type=e,a.arg=t,r?(this.method="next",this.next=r.finallyLoc,l):this.complete(a)},complete:function complete(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function finish(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),resetTryEntry(n),l}},catch:function _catch(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var o=i.arg;resetTryEntry(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(e,t,n){return this.delegate={iterator:values(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}("object"===t(e)?e.exports:{});try{regeneratorRuntime=i}catch(e){"object"===("undefined"==typeof globalThis?"undefined":t(globalThis))?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}}).call(this,n("YuTi")(e))},nZ6K:function(e){e.exports=JSON.parse('{"Breadcrumbs":"Migas de pan"}')},o6Rl:function(e){e.exports=JSON.parse('{"Breadcrumbs":"Navigointilinkit"}')},okNM:function(e,t,n){e.exports=n("org7")("Mn8c")},org7:function(e,t){e.exports=window.adobe_dc_sdk["dc-mobx"]},"p/6q":function(e,t,n){e.exports=n("1Xvy")("YCwl")},"p7J/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _iterableToArrayLimit(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}},pVnL:function(e,t,n){e.exports=n("hrl5")("lt8z")},plOE:function(e,t,n){(t=n("JPst")(!1)).push([e.i,"/*************************************************************************\n* ADOBE CONFIDENTIAL\n* ___________________\n*\n*  Copyright 2019 Adobe\n*  All Rights Reserved.\n*\n* NOTICE:  All information contained herein is, and remains\n* the property of Adobe and its suppliers, if any. The intellectual\n* and technical concepts contained herein are proprietary to Adobe\n* and its suppliers and are protected by all applicable intellectual\n* property laws, including trade secret and copyright laws.\n* Dissemination of this information or reproduction of this material\n* is strictly forbidden unless prior written permission is obtained\n* from Adobe.\n**************************************************************************/\n\n.sdk-CustomActions-actions {\n    display: flex;\n    flex: 0 0 auto;\n    flex-direction: row;\n    overflow: hidden;\n}\n\n.sdk-CustomActions-actionItem {\n    margin: 0 4px;\n}\n\n/* Forcing fill as we don't have dark theme yet */\n.sdk-CustomActions-actionItem svg g {\n    fill: #6a6a6a !important;\n}\n\n.sdk-CustomActions-actionItemWhite {\n    margin: 0 4px;\n}\n\n/*\n.actionItemWhite button svg path {\n    fill: #fff;\n}\n*/\n\n.sdk-CustomActions-actionItemHidden {\n    display: none;\n}\n\n/* overriding tools disabled class fill (from comments dropin) to make them look enabled */\n.sdk-CustomActions-actionItem-inactive svg path {\n    fill: #707070 !important;\n}\n",""]),e.exports=t},prSB:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e};var i=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n("g4DW"));function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}},q1tI:function(e,t,n){e.exports=n("hrl5")("GiK3")},q3GW:function(e,t,n){e.exports=n("hrl5")("phNh")},qTF4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _iterableToArray(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},qxyQ:function(e){e.exports=JSON.parse('{"ADOBE_ACROBAT":"Adobe Acrobat","POWERED_BY":"Powered by<br>{brandingTitle}","HELP_LABEL":"取得協助","GOTO_FULLSCREEN_LABEL":"全螢幕模式","EXIT_FULLSCREEN_LABEL":"退出全螢幕","LEGAL_NOTICES":"法律注意事項","RETURN":"返回","button.save":"儲存","file.metadata.readonly":"唯讀","file.metadata.protected":"受保護","file.progress.status.failed":"失敗","file.progress.status.saved":"已儲存","file.progress.status.saving":"正在儲存...","file.progress.status.edited":"已編輯","file.progress.status.unsaved":"未儲存…","dialog.new.file.title":"有新版本發佈","dialog.new.file.confirmLabel":"取得最新版本","dialog.new.file.content":"您所檢視的檔案並非最新版本,且已經過另一名使用者 {name} ({mail}) 修改。","dialog.new.file.self.content":"您所檢視的檔案並非最新版本,且已經過您修改。","dialog.conflict.file.title":"儲存衝突內容","dialog.conflict.file.confirmLabel":"放棄變更項目","dialog.conflict.file.cancelLabel":"儲存副本","dialog.conflict.file.content":"您所做的變更與另一名使用者 {name} ({mail}) 同時變更的內容發生衝突。","dialog.conflict.file.self.content":"您所做的變更與您同時變更的其他內容發生衝突。","dialog.unsaved.title":"您有未儲存的變更項目","dialog.unsaved.message":"若要將所有編輯內容儲存到原始檔案,請按一下「儲存」。","dialog.unsaved.confirmLabel":"儲存","dialog.unsaved.cancelLabel":"取消","file.readonly.tooltip":"此文件的擁有者並未授予您變更權限。","FILE_LOADING":"開啟文件","RELOAD_APP":"重新載入","FILE_PREVIEW_ERROR_TITLE":"檔案預覽錯誤","FILE_PREVIEW_ERROR_MSG":"無法預覽檔案,請重新載入並再試一次。","error.default":"處理您的要求時發生問題。","error.contact.support":" 如果持續發生這項錯誤,請考慮<a href={supportUrl} target=\\"_blank\\">聯絡支援人員</a>並標明工作階段 <span>{jobId}</span>。","ok":"確定","close":"關閉","download":"下載","error":"錯誤","viewMode.single":"單頁","viewMode.continuous":"連續","toast.conflict.content":"包含您所做變更的新版本文件會儲存於您的 <a href={url} target=\\"_blank\\">{integrationName}</a> 帳戶。","toast.success.content":"包含您所做變更的新文件會儲存於您的 <a href={url} target=\\"_blank\\">{integrationName}</a> 帳戶。","edit.header.title":"編輯文字與影像","portfolio.pdf.message":"此檔案無法預覽,因為其為專案組合 PDF。","tools.inactive.label":"此工具即將可供使用"}')},rsHn:function(e,t,n){(t=n("JPst")(!1)).push([e.i,"/*************************************************************************\n* ADOBE CONFIDENTIAL\n* ___________________\n*\n*  Copyright 2020 Adobe\n*  All Rights Reserved.\n*\n* NOTICE:  All information contained herein is, and remains\n* the property of Adobe and its suppliers, if any. The intellectual\n* and technical concepts contained herein are proprietary to Adobe\n* and its suppliers and are protected by all applicable intellectual\n* property laws, including trade secret and copyright laws.\n* Dissemination of this information or reproduction of this material\n* is strictly forbidden unless prior written permission is obtained\n* from Adobe.\n**************************************************************************/\n\n.sdk-Toast-toast {\n    bottom: 15px;\n    font-size: 12px;\n    max-width: 330px;\n    position: fixed;\n    right: 15px;\n    z-index: 999999;\n}\n\n.sdk-Toast-toast .spectrum-Toast-content {\n    padding: 5px 0;\n}\n\n.sdk-Toast-toast .spectrum-Toast-content a {\n    color: white !important;\n}\n\n.sdk-Toast-toast .spectrum-Toast-buttons {\n    border: none;\n    padding: 0;\n}\n",""]),e.exports=t},sPms:function(e,t,n){var i=n("LboF"),o=n("YVT2");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},"shI/":function(e,t,n){(t=n("JPst")(!1)).push([e.i,"/*************************************************************************\n* ADOBE CONFIDENTIAL\n* ___________________\n*\n*  Copyright 2019 Adobe\n*  All Rights Reserved.\n*\n* NOTICE:  All information contained herein is, and remains\n* the property of Adobe and its suppliers, if any. The intellectual\n* and technical concepts contained herein are proprietary to Adobe\n* and its suppliers and are protected by all applicable intellectual\n* property laws, including trade secret and copyright laws.\n* Dissemination of this information or reproduction of this material\n* is strictly forbidden unless prior written permission is obtained\n* from Adobe.\n**************************************************************************/\n.sdk-Branding-branding {\n    align-items: center;\n    cursor: pointer;\n    display: flex;\n    z-index: 2;\n}\n\n.sdk-Branding-branding .spectrum-Icon {\n    color: #2c2c2c;\n    height: 32px;\n}\n\n.sdk-Branding-hudBranding .spectrum-Icon {\n    padding: 0 7px;\n}\n\n.sdk-Branding-header {\n    color: #4b4b4b !important;\n    font-size: 15px !important;\n    font-weight: normal;\n    margin-left: 10px;\n}\n\n.sdk-Branding-headerBorder {\n    border-left: 1px solid #d6d6d6;\n    height: 22px;\n    margin-left: 12px;\n}\n\n@media (max-width: 550px) {\n    .sdk-Branding-header {\n        display: none;\n    }\n}\n\n@media (min-width: 550px) and (max-width: 768px) {\n    .sdk-Branding-header {\n        display: none;\n    }\n}\n\n@media (min-width: 768px) and (max-width: 1023px) {\n    .sdk-Branding-header {\n        display: none;\n    }\n}\n\n@media (min-width: 1023px) and (max-width: 1280px) {\n    .sdk-Branding-header {\n        display: none;\n    }\n}\n",""]),e.exports=t},tBPe:function(e){e.exports=JSON.parse('{"ADOBE_ACROBAT":"Adobe Acrobat","POWERED_BY":"Powered by<br>{brandingTitle}","HELP_LABEL":"Få hjälp","GOTO_FULLSCREEN_LABEL":"Helskärmsläge","EXIT_FULLSCREEN_LABEL":"Avsluta helskärmsläge","LEGAL_NOTICES":"Upphovsrätt","RETURN":"Enter","button.save":"Spara","file.metadata.readonly":"Skrivskydd","file.metadata.protected":"Skyddad","file.progress.status.failed":"Misslyckades","file.progress.status.saved":"Sparad","file.progress.status.saving":"Sparar...","file.progress.status.edited":"Redigerad","file.progress.status.unsaved":"Osparat ...","dialog.new.file.title":"Ny version tillgänglig","dialog.new.file.confirmLabel":"Hämta senaste version","dialog.new.file.content":"Filen du visar är inte den senaste versionen och den ändras av en annan användare, {name} ({mail}).","dialog.new.file.self.content":"Filen du visar är inte den senaste versionen och den ändras av dig.","dialog.conflict.file.title":"Lagringskonflikt","dialog.conflict.file.confirmLabel":"Ignorera ändringar","dialog.conflict.file.cancelLabel":"Spara en kopia","dialog.conflict.file.content":"Dina ändringar strider mot de som gjorts samtidigt av en annan användare, {name} ({mail}).","dialog.conflict.file.self.content":"Dina ändringar strider mot andra som du har gjort.","dialog.unsaved.title":"Du har ändringar som inte sparats","dialog.unsaved.message":"Klicka på Spara när du vill spara alla ändringar i originalfilen.","dialog.unsaved.confirmLabel":"Spara","dialog.unsaved.cancelLabel":"Avbryt","file.readonly.tooltip":"Ägaren av dokumentet har inte gett dig behörighet att göra ändringar.","FILE_LOADING":"Öppnar dokument","RELOAD_APP":"Läs in igen","FILE_PREVIEW_ERROR_TITLE":"Fel när fil förhandsgranskades","FILE_PREVIEW_ERROR_MSG":"Förhandsgranskning är inte tillgängligt. Uppdatera och försök igen.","error.default":"Ett problem uppstod när din begäran bearbetades.","error.contact.support":" Om du fortsätter att stöta på det här felet kan du <a href={supportUrl} target=\\"_blank\\">kontakta supporten</a> och hänvisa till sessionen <span>{jobId}</span>.","ok":"OK","close":"Stäng","download":"Hämta","error":"Fel","viewMode.single":"En sida","viewMode.continuous":"Löpande","toast.conflict.content":"En ny version av dokumentet med dina ändringar sparas på ditt <a href={url} target=\\"_blank\\">{integrationName}</a>-konto.","toast.success.content":"Ett nytt dokument med dina ändringar sparas på ditt <a href={url} target=\\"_blank\\">{integrationName}</a>-konto.","edit.header.title":"Redigera text och bilder","portfolio.pdf.message":"Den här filen kan inte förhandsgranskas eftersom det är en portfolio-PDF.","tools.inactive.label":"Det här verktyget är snart tillgängligt"}')},tLe6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _createSuper(e){return function(){var t,n=(0,i.default)(e);if((0,o.default)()){var a=(0,i.default)(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return(0,r.default)(this,t)}};var i=_interopRequireDefault(n("Q5Ww")),o=_interopRequireDefault(n("Fvzm")),r=_interopRequireDefault(n("PK3Q"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},tquP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},u20u:function(e,t,n){e.exports=n("hrl5")("rXNg")},u2Q8:function(e){e.exports=JSON.parse('{"Breadcrumbs":"Breadcrumbs"}')},uXqa:function(e,t,n){"use strict";var i=n("q1tI");e.exports=i.createElement("svg",{viewBox:"0 0 36 36"},i.createElement("path",{d:"M22.175 4H34v28L22.175 4zm-8.336 0H2v28L13.839 4zm4.165 10.317l7.538 17.682h-4.939l-2.258-5.632h-5.517l5.176-12.05z"}))},upjz:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _toConsumableArray(e){return(0,i.default)(e)||(0,o.default)(e)||(0,r.default)(e)||(0,a.default)()};var i=_interopRequireDefault(n("5lmq")),o=_interopRequireDefault(n("qTF4")),r=_interopRequireDefault(n("U2vP")),a=_interopRequireDefault(n("0//s"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},vF6U:function(e,t,n){"use strict";var i=n("q1tI");e.exports=i.createElement("svg",{viewBox:"0 0 48 48"},i.createElement("path",{d:"M9.352 26a.667.667 0 0 0-.471 1.139l4.242 4.233L3.8 40.688a.667.667 0 0 0 0 .943L6.368 44.2a.667.667 0 0 0 .943 0l9.322-9.321 4.229 4.221A.667.667 0 0 0 22 38.623V26zm29.296-6a.667.667 0 0 0 .471-1.139l-4.242-4.233L44.2 5.312a.667.667 0 0 0 0-.943L41.632 1.8a.667.667 0 0 0-.943 0l-9.322 9.321L27.138 6.9A.667.667 0 0 0 26 7.377V20z"}))},vSOm:function(e,t,n){e.exports=n("hrl5")("g7Yk")},vctT:function(e,t,n){var i=n("q1tI");function PreviewError(e){return i.createElement("svg",e,[i.createElement("defs",{key:0},i.createElement("style",null,".cls-1{fill:#b2b2b2}")),i.createElement("path",{className:"cls-1",d:"M63.5 127.074a2.992 2.992 0 002.122-.879l8.829-8.829a1.5 1.5 0 00-2.121-2.121L65 122.572V85.5a1.5 1.5 0 00-3 0v37.075l-7.327-7.327a1.5 1.5 0 00-2.122 2.121l8.826 8.826a2.992 2.992 0 002.122.879z",key:1}),i.createElement("path",{className:"cls-1",d:"M58.559 3H52.8a1.457 1.457 0 000 2.914h5.758a1.457 1.457 0 000-2.914zM46.881 3h-5.737a1.457 1.457 0 000 2.914h5.737a1.457 1.457 0 100-2.914zM35.225 3h-5.468a1.457 1.457 0 000 2.914h5.468a1.457 1.457 0 100-2.914zM25.207 5.239a1.459 1.459 0 00-1.224.66 4.736 4.736 0 00-.895 2.635l-.034 3.023a1.458 1.458 0 002.915 0V9.049a2.889 2.889 0 01.46-1.565A1.458 1.458 0 0026 5.472a1.435 1.435 0 00-.793-.233zm-.7 11.689a1.456 1.456 0 00-1.458 1.457v5.829a1.458 1.458 0 002.915 0v-5.829a1.459 1.459 0 00-1.452-1.457zm0 11.657a1.456 1.456 0 00-1.458 1.457v5.829a1.458 1.458 0 002.915 0v-5.829a1.459 1.459 0 00-1.452-1.457zm0 11.658a1.456 1.456 0 00-1.453 1.457v4.828a1.458 1.458 0 002.915 0V41.7a1.458 1.458 0 00-1.457-1.457zm0 10.657a1.456 1.456 0 00-1.458 1.457v4.828a1.458 1.458 0 102.915 0v-4.828a1.458 1.458 0 00-1.452-1.457zm0 10.657a1.456 1.456 0 00-1.458 1.457v5.828a1.458 1.458 0 102.915 0v-5.828a1.458 1.458 0 00-1.452-1.457zm0 11.657a1.456 1.456 0 00-1.458 1.457V80.5a1.458 1.458 0 002.915 0v-5.829a1.459 1.459 0 00-1.452-1.457zm0 11.657a1.456 1.456 0 00-1.458 1.457v4.829a1.458 1.458 0 002.915 0v-4.829a1.459 1.459 0 00-1.452-1.457zm0 10.657a1.456 1.456 0 00-1.458 1.457 4.531 4.531 0 00.052 1.072 7.245 7.245 0 001.606 3.57 2.367 2.367 0 001.564.726 1.46 1.46 0 00.877-2.627 2.89 2.89 0 01-1.184-2.334v-.407a1.459 1.459 0 00-1.452-1.457zm11.444 4.542h-4.824a1.457 1.457 0 000 2.914h4.829a1.457 1.457 0 000-2.914zm11.657 0h-5.824a1.457 1.457 0 000 2.914h5.829a1.457 1.457 0 000-2.914zm9.657 0h-3.824a1.457 1.457 0 000 2.914h3.829a1.457 1.457 0 000-2.914zm15.678 0H70.1a1.457 1.457 0 100 2.914h2.849a1.457 1.457 0 000-2.914zm11.657 0h-5.824a1.457 1.457 0 000 2.914h5.829a1.457 1.457 0 000-2.914zm10.657 0h-4.823a1.457 1.457 0 100 2.914h4.828a1.457 1.457 0 000-2.914zm8.184-4.585a1.46 1.46 0 00-1.423 1.156 2.948 2.948 0 01-1.833 2.12 1.459 1.459 0 00.518 2.823 1.477 1.477 0 00.512-.094 5.857 5.857 0 002.033-1.3l.028-.028.026-.025.054-.058.022-.026a5.834 5.834 0 001.492-2.806 1.46 1.46 0 00-1.122-1.724 1.411 1.411 0 00-.302-.038zm.1-10.341a1.456 1.456 0 00-1.457 1.457v4.829a1.457 1.457 0 102.914 0V86.6a1.459 1.459 0 00-1.455-1.456zm0-11.657a1.456 1.456 0 00-1.457 1.457v5.829a1.457 1.457 0 002.914 0v-5.829a1.459 1.459 0 00-1.455-1.457zm0-11.657a1.456 1.456 0 00-1.457 1.457v5.829a1.457 1.457 0 102.914 0v-5.829a1.459 1.459 0 00-1.455-1.457zm0-10.657a1.456 1.456 0 00-1.457 1.457v4.829a1.457 1.457 0 102.914 0V52.63a1.459 1.459 0 00-1.455-1.457zm0-10.657a1.455 1.455 0 00-1.457 1.457V46.8a1.457 1.457 0 102.914 0v-4.827a1.458 1.458 0 00-1.455-1.457zm-2.224-13.283a1.46 1.46 0 00-1.007 2.513l1.774 1.766v3.632a1.457 1.457 0 102.914 0v-3.681s-1.273-2.958-2.674-3.824a1.982 1.982 0 00-1.005-.406zM64.478 3a1.457 1.457 0 100 2.914h6.058a1.432 1.432 0 001.439-1.438 1.457 1.457 0 00-1.449-1.466zm28.251 15.635a1.458 1.458 0 000 2.061l4.122 4.121a1.457 1.457 0 002.061-2.06l-4.122-4.122a1.459 1.459 0 00-2.061 0zm-8.242-8.243a1.456 1.456 0 000 2.061l4.121 4.122a1.457 1.457 0 002.061-2.061l-4.122-4.122a1.458 1.458 0 00-2.06 0zm-9.137-6.4a1.46 1.46 0 001.065 2.489L78.5 6.47l1.861 1.862a1.457 1.457 0 102.061-2.061 16.113 16.113 0 00-2.039-2.224 5.518 5.518 0 00-4.037-.486 1.986 1.986 0 00-.996.426zM44.613 75.07h-4.829a1.457 1.457 0 000 2.914h4.829a1.457 1.457 0 000-2.914zm10.657 0h-4.829a1.457 1.457 0 000 2.914h4.829a1.457 1.457 0 000-2.914zm10.678 0H61.1a1.457 1.457 0 100 2.914h4.849a1.457 1.457 0 000-2.914zm10.657 0h-4.829a1.457 1.457 0 000 2.914h4.829a1.457 1.457 0 000-2.914zm10.657 0h-4.828a1.457 1.457 0 100 2.914h4.828a1.457 1.457 0 000-2.914zm-42.649 12h-4.829a1.457 1.457 0 000 2.914h4.829a1.457 1.457 0 000-2.914zm10.657 0h-4.829a1.457 1.457 0 000 2.914h4.829a1.457 1.457 0 000-2.914zm21.335 0h-4.829a1.457 1.457 0 000 2.914h4.829a1.457 1.457 0 000-2.914zm10.657 0h-4.828a1.457 1.457 0 100 2.914h4.828a1.457 1.457 0 000-2.914z",key:2})])}PreviewError.defaultProps={style:{height:"128px",width:"128px"},height:"128",id:"S_Illu_404_Inaccessible_128",width:"128",className:"spectrum-IllustratedMessage-illustration","aria-hidden":"true"},e.exports=PreviewError,PreviewError.default=PreviewError},w8Wo:function(e,t,n){(t=n("JPst")(!1)).push([e.i,".spectrum-IllustratedMessage {\n  height: 100%;\n\n  display: -ms-flexbox;\n\n  display: flex;\n  -ms-flex-direction: column;\n      flex-direction: column;\n  -ms-flex-align: center;\n      align-items: center;\n  -ms-flex-pack: center;\n      justify-content: center;\n\n  text-align: center;\n}\n.spectrum-IllustratedMessage-illustration {\n  margin-bottom: 24px;\n}\n.spectrum-IllustratedMessage-heading {\n  max-width: 500px;\n  margin: 0;\n}\n.spectrum-IllustratedMessage-description {\n  max-width: 500px;\n  margin: 4px 0 0 0;\n\n  font-style: italic;\n}\n.spectrum-IllustratedMessage--cta .spectrum-IllustratedMessage-description {\n    font-style: normal;\n  }\n",""]),e.exports=t},wIDc:function(e){e.exports=JSON.parse('{"Breadcrumbs":"Popis cesty"}')},waKp:function(e,t,n){(t=n("JPst")(!1)).push([e.i,"/*************************************************************************\n* ADOBE CONFIDENTIAL\n* ___________________\n*\n* Copyright 2020 Adobe\n* All Rights Reserved.\n*\n* NOTICE: All information contained herein is, and remains\n* the property of Adobe and its suppliers, if any. The intellectual\n* and technical concepts contained herein are proprietary to Adobe\n* and its suppliers and are protected by all applicable intellectual\n* property laws, including trade secret and copyright laws.\n* Dissemination of this information or reproduction of this material\n* is strictly forbidden unless prior written permission is obtained\n* from Adobe.\n**************************************************************************/\n\n.sdk-Preview-main {\n    display: flex;\n    flex-direction: row;\n    height: 100%;\n    overflow: hidden;\n    width: 100%;\n}\n\n.sdk-Preview-middle {\n    height: 100%;\n    overflow-x: auto;\n    width: 100%;\n}\n\n.sdk-Preview-preview {\n    border: 0;\n    height: 100%;\n    width: 100%;\n}\n\n.sdk-Preview-previewTop {\n    left: 0;\n    top: 0;\n}\n\n.sdk-Preview-hide {\n    visibility: hidden;\n}\n",""]),e.exports=t},wywo:function(e){e.exports=JSON.parse('{"ADOBE_ACROBAT":"Adobe Acrobat","POWERED_BY":"Powered by<br>{brandingTitle}","HELP_LABEL":"Помощь","GOTO_FULLSCREEN_LABEL":"Во весь экран","EXIT_FULLSCREEN_LABEL":"Отменить во весь экран","LEGAL_NOTICES":"Правовые уведомления","RETURN":"Назад","button.save":"Сохранить","file.metadata.readonly":"Только для чтения","file.metadata.protected":"Защищено","file.progress.status.failed":"Сбой","file.progress.status.saved":"Сохранено","file.progress.status.saving":"Сохранение...","file.progress.status.edited":"Изменено","file.progress.status.unsaved":"Не сохранено...","dialog.new.file.title":"Доступна новая версия","dialog.new.file.confirmLabel":"Последняя версия","dialog.new.file.content":"Файл, который вы просматриваете, не является последней версией. В него вносит изменения пользователь {name} ({mail}).","dialog.new.file.self.content":"Файл, который вы просматриваете, не является последней версией. Вы вносите в него изменения.","dialog.conflict.file.title":"Конфликт при сохранении","dialog.conflict.file.confirmLabel":"Отменить изменения","dialog.conflict.file.cancelLabel":"Сохранить копию","dialog.conflict.file.content":"Ваши изменения конфликтуют с другими изменениями, которые одновременно с вами внес пользователь {name} ({mail}).","dialog.conflict.file.self.content":"Ваши изменения конфликтуют с другими изменениями, которые вы внесли одновременно.","dialog.unsaved.title":"Имеются несохраненные изменения","dialog.unsaved.message":"Чтобы сохранить все изменения в исходный файл, нажмите \\"Сохранить\\".","dialog.unsaved.confirmLabel":"Сохранить","dialog.unsaved.cancelLabel":"Отмена","file.readonly.tooltip":"Владелец документа не предоставил вам разрешение на внесение изменений.","FILE_LOADING":"Открытие документа","RELOAD_APP":"Перезагрузить","FILE_PREVIEW_ERROR_TITLE":"Ошибка предпросмотра файла","FILE_PREVIEW_ERROR_MSG":"Предварительный просмотр файла недоступен. Перезагрузите, чтобы повторить попытку.","error.default":"При обработке запроса возникла проблема.","error.contact.support":" Если эта ошибка произойдет снова, обратитесь в <a href={supportUrl} target=\\"_blank\\"> службу поддержки </a> и сообщите ее сотрудникам идентификатор сеанса <span>{jobId}</span>.","ok":"ОК","close":"Закрыть","download":"Загрузить","error":"Ошибка","viewMode.single":"Одна страница","viewMode.continuous":"Непрерывно","toast.conflict.content":"Новая версия документа с вашими изменениями сохранена в вашу учетную запись <a href={url} target=\\"_blank\\">{integrationName}</a>.","toast.success.content":"Новый документ с вашими изменениями сохранен в вашу учетную запись <a href={url} target=\\"_blank\\">{integrationName}</a>.","edit.header.title":"Редактировать текст и изображения","portfolio.pdf.message":"Невозможно выполнить предварительный просмотр файла, т. к. это портфолио PDF.","tools.inactive.label":"Данный инструмент скоро станет доступен"}')},"x+eE":function(e,t,n){"use strict";var i=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("lwsE")),r=i(n("W8MJ")),a=i(n("a1gu")),s=i(n("Nsbk")),l=i(n("7W2i")),c=i(n("lSNA")),u=i(n("TqRt")),d=i(n("162E")),f=i(n("TSYQ")),p=n("8uYz"),g=n("14U+"),m=n("zEa3"),h=i(n("17x9")),v=i(n("q1tI"));function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}n("/kCl");var _={"cs-CZ":(0,u.default)(n("wIDc")).default,"da-DK":(0,u.default)(n("MdAA")).default,"de-DE":(0,u.default)(n("TB/w")).default,"en-US":(0,u.default)(n("u2Q8")).default,"es-ES":(0,u.default)(n("nZ6K")).default,"fi-FI":(0,u.default)(n("o6Rl")).default,"fr-FR":(0,u.default)(n("FjRX")).default,"hu-HU":(0,u.default)(n("V2q9")).default,"it-IT":(0,u.default)(n("4moz")).default,"ja-JP":(0,u.default)(n("D4W9")).default,"ko-KR":(0,u.default)(n("SE2g")).default,"nb-NO":(0,u.default)(n("9PP+")).default,"nl-NL":(0,u.default)(n("Kzo0")).default,"pl-PL":(0,u.default)(n("ZKuE")).default,"pt-BR":(0,u.default)(n("dZMC")).default,"ru-RU":(0,u.default)(n("FDjN")).default,"sv-SE":(0,u.default)(n("1XT4")).default,"tr-TR":(0,u.default)(n("W+lP")).default,"uk-UA":(0,u.default)(n("/S+G")).default,"zh-CN":(0,u.default)(n("Kb7U")).default,"zh-TW":(0,u.default)(n("2TKg")).default};n("GCiA"),n("xlx5");var E=(0,m.messageFormatter)(_),b=function(e){function Breadcrumbs(){return(0,o.default)(this,Breadcrumbs),(0,a.default)(this,(0,s.default)(Breadcrumbs).apply(this,arguments))}return(0,l.default)(Breadcrumbs,e),(0,r.default)(Breadcrumbs,[{key:"handleFocus",value:function handleFocus(e){e.target.classList.add(g.FOCUS_RING_CLASSNAME)}},{key:"handleBlur",value:function handleBlur(e){e.target.classList.remove(g.FOCUS_RING_CLASSNAME)}},{key:"renderLink",value:function renderLink(e,t){var n=this.props,i=n.items,renderLink=n.renderLink,o=!!e.href,r=this.isCurrent(t),a=i.length>1,s={className:"spectrum-Breadcrumbs-itemLink",role:o?null:"link",href:r?null:e.href,target:!r&&o?"_self":null,onClick:a&&!r?this.props.onBreadcrumbClick.bind(null,e,i.length-t-1):void 0,onFocus:a&&!r?this.handleFocus.bind(this):null,onBlur:a&&!r?this.handleBlur.bind(this):null,"aria-current":r?"page":null,tabIndex:o||r?null:0};if(renderLink)return renderLink(function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach((function(t){(0,c.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},s,{label:e.label}));var l=o?"a":"div";return v.default.createElement(l,s,e.label)}},{key:"isCurrent",value:function isCurrent(e){return e===this.props.items.length-1}},{key:"render",value:function render(){var e=this,t=this.props,n=t.items,i=t.icon,o=t.className,r=t.variant,a=t.ariaLevel,s=t.id,l=t["aria-label"],c=void 0===l?E("Breadcrumbs"):l,u=t["aria-labelledby"],g=r===Breadcrumbs.variant.TITLE;return v.default.createElement("nav",{id:s,"aria-label":c,"aria-labelledby":u},(0,p.cloneIcon)(i,{size:"S",className:"react-spectrum-Breadcrumbs-icon"}),v.default.createElement("ul",{className:(0,f.default)("spectrum-Breadcrumbs",{"spectrum-Breadcrumbs--title":g},o)},n.map((function(t,n){return v.default.createElement("li",{key:"spectrum-Breadcrumb-".concat(n),className:"spectrum-Breadcrumbs-item"},e.isCurrent(n)&&g?v.default.createElement("h1",{className:"spectrum-Heading--pageTitle","aria-level":a},e.renderLink(t,n)):e.renderLink(t,n),!e.isCurrent(n)&&v.default.createElement(d.default,{size:null,className:"spectrum-Breadcrumbs-itemSeparator"}))}))))}}]),Breadcrumbs}(v.default.Component);t.default=b,(0,c.default)(b,"variant",{NONE:"none",TITLE:"title"}),(0,c.default)(b,"propTypes",{items:h.default.arrayOf(h.default.oneOfType([h.default.shape({href:h.default.string,label:h.default.string.isRequired}),h.default.shape({label:h.default.string.isRequired})])),icon:h.default.node,variant:h.default.oneOf([b.variant.NONE,b.variant.TITLE]),ariaLevel:h.default.number,onBreadcrumbClick:h.default.func,renderLink:h.default.func}),(0,c.default)(b,"defaultProps",{items:[],icon:null,variant:b.variant.NONE,ariaLevel:null,onBreadcrumbClick:function onBreadcrumbClick(){}})},xB9Z:function(e,t,n){e.exports=n("1Xvy")("CIcl")},xFbk:function(e,t,n){e.exports=n("1Xvy")("ighH")},xW0c:function(e){e.exports=JSON.parse('{"ADOBE_ACROBAT":"Adobe Acrobat","POWERED_BY":"Powered by<br>{brandingTitle}","HELP_LABEL":"Help","GOTO_FULLSCREEN_LABEL":"Modus Volledig scherm","EXIT_FULLSCREEN_LABEL":"Volledig scherm afsluiten","LEGAL_NOTICES":"Juridische info","RETURN":"Terug","button.save":"Opslaan","file.metadata.readonly":"Alleen-lezen","file.metadata.protected":"Beveiligd","file.progress.status.failed":"Mislukt","file.progress.status.saved":"Opgeslagen","file.progress.status.saving":"Opslaan...","file.progress.status.edited":"Bewerkt","file.progress.status.unsaved":"Niet opgeslagen...","dialog.new.file.title":"Nieuwe versie beschikbaar","dialog.new.file.confirmLabel":"Laatste versie ophalen","dialog.new.file.content":"Het bestand dat u bekijkt is niet de laatste versie en wordt gewijzigd door een andere gebruiker: {name} ({mail}).","dialog.new.file.self.content":"Het bestand dat u bekijkt is niet de laatste versie en wordt door u gewijzigd.","dialog.conflict.file.title":"Conflict opslaan","dialog.conflict.file.confirmLabel":"Mijn wijzigingen verwijderen","dialog.conflict.file.cancelLabel":"Een kopie opslaan","dialog.conflict.file.content":"Uw wijzigingen zijn in conflict met de wijzigingen die momenteel door een andere gebruiker worden gemaakt: {name} ({mail}).","dialog.conflict.file.self.content":"Uw wijzigingen zijn in conflict met de wijzigingen die momenteel door u worden gemaakt.","dialog.unsaved.title":"U hebt niet-opgeslagen wijzigingen","dialog.unsaved.message":"Klik op Opslaan om alle bewerkingen in het oorspronkelijke bestand op te slaan.","dialog.unsaved.confirmLabel":"Opslaan","dialog.unsaved.cancelLabel":"Annuleren","file.readonly.tooltip":"De eigenaar van dit document heeft u niet gemachtigd om het document te wijzigen.","FILE_LOADING":"Document wordt geopend","RELOAD_APP":"Opnieuw laden","FILE_PREVIEW_ERROR_TITLE":"Fout bij voorvertoning bestand","FILE_PREVIEW_ERROR_MSG":"Voorvertoning van bestand niet beschikbaar. Laad het bestand nogmaals en probeer het opnieuw.","error.default":"Er is een probleem met het verwerken van uw verzoek.","error.contact.support":" Als deze fout aanhoudt, kunt u het beste <a href={supportUrl} target=\\"_blank\\"> contact opnemen met de klantenondersteuning </a> en verwijzen naar sessie <span>{jobId}</span>.","ok":"OK","close":"Sluiten","download":"Downloaden","error":"Fout","viewMode.single":"Eén pagina","viewMode.continuous":"Doorlopend","toast.conflict.content":"Een nieuwe versie van het document wordt met uw wijzigingen opgeslagen in uw <a href={url} target=\\"_blank\\">{integrationName}</a>-account.","toast.success.content":"Een nieuwe versie van het document wordt met uw wijzigingen opgeslagen in uw <a href={url} target=\\"_blank\\">{integrationName}</a>-account.","edit.header.title":"Tekst en afbeeldingen bewerken","portfolio.pdf.message":"Kan dit bestand niet voorvertonen, omdat het een portfolio-PDF is.","tools.inactive.label":"Dit gereedschap is binnenkort beschikbaar"}')},xk4V:function(e,t,n){e.exports=n("hrl5")("DtRx")},xlx5:function(e,t,n){var i=n("LboF"),o=n("KgWc");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},xww1:function(e,t,n){var i=n("LboF"),o=n("shI/");"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var r={insert:"head",singleton:!1};i(o,r);e.exports=o.locals||{}},y0Py:function(e,t,n){(t=n("JPst")(!1)).push([e.i,".spectrum-Breadcrumbs {\n  display: -ms-inline-flexbox;\n  display: inline-flex;\n  -ms-flex-pack: start;\n      justify-content: start;\n  list-style-type: none;\n  -ms-flex-wrap: wrap;\n      flex-wrap: wrap;\n\n  margin: 0;\n  padding: 0;\n}\n.spectrum-Breadcrumbs-itemSeparator {\n  position: relative;\n  top: 1px;\n\n  width: 6px;\n  height: 8px;\n\n  transform: scale(1);\n\n  opacity: 1;\n}\n.spectrum-Breadcrumbs-item {\n  display: -ms-inline-flexbox;\n  display: inline-flex;\n  -ms-flex-align: center;\n      align-items: center;\n  -ms-flex-pack: start;\n      justify-content: start;\n\n  box-sizing: border-box;\n  height: 32px;\n\n  position: relative;\n\n  font-size: 16px;\n  font-weight: 400;\n  line-height: 1.5;\n}\n.spectrum-Breadcrumbs-item:last-of-type {\n    font-weight: 700;\n  }\n.spectrum-Breadcrumbs-item:last-of-type .spectrum-Breadcrumbs-itemSeparator {\n      display: none;\n    }\n.spectrum-Breadcrumbs-item > .spectrum-ActionButton {\n    margin-right: 1px;\n  }\n.spectrum-Breadcrumbs-itemLink {\n  cursor: default;\n  position: relative;\n\n  display: -ms-inline-flexbox;\n\n  display: inline-flex;\n  -ms-flex-align: center;\n      align-items: center;\n  -ms-flex-pack: start;\n      justify-content: start;\n\n  padding: 0 8px;\n  height: 32px;\n\n  margin-right: 1px;\n\n  border-radius: 4px;\n\n  outline: none;\n\n  text-decoration: none;\n}\n.spectrum-Breadcrumbs-itemLink:hover,\n  .spectrum-Breadcrumbs-itemLink.focus-ring {\n    text-decoration: underline;\n  }\n.spectrum-Breadcrumbs-itemLink[href],\n  .spectrum-Breadcrumbs-itemLink[tabindex=\"0\"] {\n    cursor: pointer;\n  }\n.spectrum-Breadcrumbs-item.is-dragged .spectrum-Breadcrumbs-itemLink:before,\n.spectrum-Breadcrumbs-itemLink.focus-ring:before {\n  position: absolute;\n  top: 0;\n  left: 0;\n\n  box-sizing: border-box;\n  display: block;\n  width: 100%;\n  height: 100%;\n\n  border-width: 2px;\n  border-style: solid;\n  border-radius: 4px;\n\n  content: '';\n  pointer-events: none;\n}\n.spectrum-Breadcrumbs--compact .spectrum-Breadcrumbs-item {\n    font-size: 14px;\n  }\n.spectrum-Breadcrumbs--multiline .spectrum-Breadcrumbs-item {\n    font-size: 12px;\n    font-weight: 400;\n    line-height: 1.5;\n\n  }\n.spectrum-Breadcrumbs--multiline .spectrum-Breadcrumbs-item:last-of-type {\n      height: auto;\n\n      width: 100%;\n\n      margin-top: 0px;\n\n      font-size: 18px;\n      font-weight: 700;\n      line-height: 1.3;\n    }\n.spectrum-Breadcrumbs--multiline .spectrum-Breadcrumbs-item:last-of-type .spectrum-Breadcrumbs-itemLink {\n        height: auto;\n\n        text-decoration: none;\n      }\n.spectrum-Breadcrumbs--title .spectrum-Breadcrumbs-item:last-of-type {\n    width: 100%;\n\n    margin: 0.3em 0;\n\n    font-size: 28px;\n    font-weight: 300;\n    line-height: 32px;\n  }\n.spectrum-Breadcrumbs--title .spectrum-Breadcrumbs-item .spectrum-Heading--pageTitle {\n    margin: 0;\n\n    font-size: inherit;\n    font-weight: inherit;\n  }\n",""]),e.exports=t},yVg7:function(e,t,n){e.exports=n("1Xvy")("Nq2K")},zEa3:function(e,t,n){e.exports=n("hrl5")("oiKA")},zJGm:function(e,t,n){(t=n("JPst")(!1)).push([e.i,"/*************************************************************************\n* ADOBE CONFIDENTIAL\n* ___________________\n*\n* Copyright 2020 Adobe\n* All Rights Reserved.\n*\n* NOTICE: All information contained herein is, and remains\n* the property of Adobe and its suppliers, if any. The intellectual\n* and technical concepts contained herein are proprietary to Adobe\n* and its suppliers and are protected by all applicable intellectual\n* property laws, including trade secret and copyright laws.\n* Dissemination of this information or reproduction of this material\n* is strictly forbidden unless prior written permission is obtained\n* from Adobe.\n**************************************************************************/\n\n.sdk-Dialog-dialogTop {\n    top: 340px !important;\n}\n\n.sdk-Dialog-dialog {\n    max-width: 500px !important;\n    min-width: 400px !important;\n    padding: 20px !important;\n}\n\n.sdk-Dialog-dialog .spectrum-Dialog-header::after {\n    display: none;\n}\n\n.sdk-Dialog-dialog .spectrum-Button-label {\n    font-weight: 400;\n}\n",""]),e.exports=t},zmrQ:function(e,t,n){e.exports=n("hrl5")("cCRh")},zqFP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o=_interopRequireDefault(n("zmrQ")),r=_interopRequireDefault(n("q1tI"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=function WrappedIcon(e){return r.default.createElement(o.default,i({},e,{icon:{18:n("5mfL"),24:n("vF6U")}}))};a.displayName="Minimize",t.default=a},zvE0:function(e,t,n){e.exports=n("zmrQ")}});