diff --git a/GroupDocs.Viewer.UI.sln b/GroupDocs.Viewer.UI.sln index 3496325..2b4ca3c 100644 --- a/GroupDocs.Viewer.UI.sln +++ b/GroupDocs.Viewer.UI.sln @@ -58,6 +58,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{ EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GroupDocs.Viewer.UI.Sample.CrossPlatform", "samples\GroupDocs.Viewer.UI.Sample.CrossPlatform\GroupDocs.Viewer.UI.Sample.CrossPlatform.csproj", "{A13FA861-68E3-4478-9698-1061C62C0CE6}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GroupDocs.Viewer.UI.Sample.ViewAsPng", "samples\GroupDocs.Viewer.UI.Sample.ViewAsPng\GroupDocs.Viewer.UI.Sample.ViewAsPng.csproj", "{47CB008B-A0D8-46AD-A643-0D9651199CBD}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -272,6 +274,18 @@ Global {A13FA861-68E3-4478-9698-1061C62C0CE6}.Release|x64.Build.0 = Release|Any CPU {A13FA861-68E3-4478-9698-1061C62C0CE6}.Release|x86.ActiveCfg = Release|Any CPU {A13FA861-68E3-4478-9698-1061C62C0CE6}.Release|x86.Build.0 = Release|Any CPU + {47CB008B-A0D8-46AD-A643-0D9651199CBD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {47CB008B-A0D8-46AD-A643-0D9651199CBD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {47CB008B-A0D8-46AD-A643-0D9651199CBD}.Debug|x64.ActiveCfg = Debug|Any CPU + {47CB008B-A0D8-46AD-A643-0D9651199CBD}.Debug|x64.Build.0 = Debug|Any CPU + {47CB008B-A0D8-46AD-A643-0D9651199CBD}.Debug|x86.ActiveCfg = Debug|Any CPU + {47CB008B-A0D8-46AD-A643-0D9651199CBD}.Debug|x86.Build.0 = Debug|Any CPU + {47CB008B-A0D8-46AD-A643-0D9651199CBD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {47CB008B-A0D8-46AD-A643-0D9651199CBD}.Release|Any CPU.Build.0 = Release|Any CPU + {47CB008B-A0D8-46AD-A643-0D9651199CBD}.Release|x64.ActiveCfg = Release|Any CPU + {47CB008B-A0D8-46AD-A643-0D9651199CBD}.Release|x64.Build.0 = Release|Any CPU + {47CB008B-A0D8-46AD-A643-0D9651199CBD}.Release|x86.ActiveCfg = Release|Any CPU + {47CB008B-A0D8-46AD-A643-0D9651199CBD}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -296,6 +310,7 @@ Global {CD2CFFFF-EC3B-4709-BCFD-FAE4B05D3769} = {F01C54A8-0505-4D3F-B12C-FEB3F827509E} {09F5C6E7-90C5-4C0F-A7CC-45BBD70B1A2F} = {90B29C0F-7451-444C-B814-1B75EE88E1CB} {A13FA861-68E3-4478-9698-1061C62C0CE6} = {98234968-D728-4D2D-B985-88A63DF6541A} + {47CB008B-A0D8-46AD-A643-0D9651199CBD} = {98234968-D728-4D2D-B985-88A63DF6541A} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {D7F2C427-C9AB-4B55-B1F9-C41195D7CD6C} diff --git a/build/dependencies.props b/build/dependencies.props index a92d6fb..671a2fb 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -35,7 +35,7 @@ - 6.0.19 + 6.0.20 6.0.9 6.0.3 6.0.3 diff --git a/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/Dockerfile b/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/Dockerfile new file mode 100644 index 0000000..04c0213 --- /dev/null +++ b/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/Dockerfile @@ -0,0 +1,40 @@ +#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. + +FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base +WORKDIR /app +EXPOSE 80 +EXPOSE 443 + +RUN sed -i'.bak' 's/$/ contrib/' /etc/apt/sources.list +RUN apt update && apt install -y \ + libgdiplus \ + libc6-dev \ + libx11-dev \ + fontconfig \ + ttf-mscorefonts-installer + +RUN fc-cache -f -v + +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +ARG BUILD_CONFIGURATION=Release +WORKDIR /src +COPY ["samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/GroupDocs.Viewer.UI.Sample.ViewAsPng.csproj", "samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/"] +COPY ["src/GroupDocs.Viewer.UI/GroupDocs.Viewer.UI.csproj", "src/GroupDocs.Viewer.UI/"] +COPY ["src/GroupDocs.Viewer.UI.Api/GroupDocs.Viewer.UI.Api.csproj", "src/GroupDocs.Viewer.UI.Api/"] +COPY ["src/GroupDocs.Viewer.UI.Core/GroupDocs.Viewer.UI.Core.csproj", "src/GroupDocs.Viewer.UI.Core/"] +COPY ["src/GroupDocs.Viewer.UI.Api.Local.Cache/GroupDocs.Viewer.UI.Api.Local.Cache.csproj", "src/GroupDocs.Viewer.UI.Api.Local.Cache/"] +COPY ["src/GroupDocs.Viewer.UI.Api.Local.Storage/GroupDocs.Viewer.UI.Api.Local.Storage.csproj", "src/GroupDocs.Viewer.UI.Api.Local.Storage/"] +COPY ["src/GroupDocs.Viewer.UI.SelfHost.Api/GroupDocs.Viewer.UI.SelfHost.Api.csproj", "src/GroupDocs.Viewer.UI.SelfHost.Api/"] +RUN dotnet restore "./samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/GroupDocs.Viewer.UI.Sample.ViewAsPng.csproj" +COPY . . +WORKDIR "/src/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng" +RUN dotnet build "./GroupDocs.Viewer.UI.Sample.ViewAsPng.csproj" -c $BUILD_CONFIGURATION -o /app/build + +FROM build AS publish +ARG BUILD_CONFIGURATION=Release +RUN dotnet publish "./GroupDocs.Viewer.UI.Sample.ViewAsPng.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false + +FROM base AS final +WORKDIR /app +COPY --from=publish /app/publish . +ENTRYPOINT ["dotnet", "GroupDocs.Viewer.UI.Sample.ViewAsPng.dll"] \ No newline at end of file diff --git a/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/Files/password.pdf b/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/Files/password.pdf new file mode 100644 index 0000000..ea7e428 Binary files /dev/null and b/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/Files/password.pdf differ diff --git a/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/Files/sample.docx b/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/Files/sample.docx new file mode 100644 index 0000000..4f0190b Binary files /dev/null and b/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/Files/sample.docx differ diff --git a/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/Files/sample.pdf b/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/Files/sample.pdf new file mode 100644 index 0000000..b290105 Binary files /dev/null and b/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/Files/sample.pdf differ diff --git a/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/Files/sample.pptx b/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/Files/sample.pptx new file mode 100644 index 0000000..6a3fc4f Binary files /dev/null and b/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/Files/sample.pptx differ diff --git a/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/Files/sample.xlsx b/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/Files/sample.xlsx new file mode 100644 index 0000000..21db220 Binary files /dev/null and b/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/Files/sample.xlsx differ diff --git a/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/GroupDocs.Viewer.UI.Sample.ViewAsPng.csproj b/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/GroupDocs.Viewer.UI.Sample.ViewAsPng.csproj new file mode 100644 index 0000000..174aa68 --- /dev/null +++ b/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/GroupDocs.Viewer.UI.Sample.ViewAsPng.csproj @@ -0,0 +1,63 @@ + + + + $(NetVersion) + enable + enable + ec7dd886-bc88-4c83-9991-a0d035628f15 + Linux + ..\.. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + + + + + + \ No newline at end of file diff --git a/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/Program.cs b/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/Program.cs new file mode 100644 index 0000000..ca2c6e9 --- /dev/null +++ b/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/Program.cs @@ -0,0 +1,49 @@ +using GroupDocs.Viewer.UI.Core; + +var builder = WebApplication.CreateBuilder(args); + +ViewerType png = ViewerType.Png; + +builder.Services + .AddGroupDocsViewerUI(config => + { + //Preload first three pages + config.SetPreloadPageCount(3); + config.SetViewerType(png); + }); + +builder.Services + .AddControllers() + .AddGroupDocsViewerSelfHostApi(config => + { + config.SetViewerType(png); + + //Trial limitations https://docs.groupdocs.com/viewer/net/evaluation-limitations-and-licensing-of-groupdocs-viewer/ + //Temporary license can be requested at https://purchase.groupdocs.com/temporary-license + //config.SetLicensePath("c:\\licenses\\GroupDocs.Viewer.lic"); // or set environment variable 'GROUPDOCS_LIC_PATH' + }) + .AddLocalStorage("./Files") + .AddLocalCache("./Cache"); + +var app = builder.Build(); + +app + .UseRouting() + .UseEndpoints(endpoints => + { + endpoints.MapGet("/", async context => + { + await context.Response.WriteAsync("Viewer UI can be accessed at '/viewer' endpoint."); + }); + endpoints.MapGroupDocsViewerUI(options => + { + options.UIPath = "/viewer"; + options.APIEndpoint = "/viewer-api"; + }); + endpoints.MapGroupDocsViewerApi(options => + { + options.ApiPath = "/viewer-api"; + }); + }); + +app.Run(); \ No newline at end of file diff --git a/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/appsettings.json b/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/appsettings.json new file mode 100644 index 0000000..10f68b8 --- /dev/null +++ b/samples/GroupDocs.Viewer.UI.Sample.ViewAsPng/appsettings.json @@ -0,0 +1,9 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*" +} diff --git a/src/GroupDocs.Viewer.UI/assets/main.js b/src/GroupDocs.Viewer.UI/assets/main.js index 0727792..600722f 100644 --- a/src/GroupDocs.Viewer.UI/assets/main.js +++ b/src/GroupDocs.Viewer.UI/assets/main.js @@ -1377,7 +1377,7 @@ var cq={faAd:{prefix:"fas",iconName:"ad",icon:[512,512,[],"f641","M157.52 272h36 /*! * Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) - */function n6(e){return!!e&&(e instanceof ge||j1(e.lift)&&j1(e.subscribe))}const{isArray:tG}=Array,{getPrototypeOf:nG,prototype:iG,keys:rG}=Object;function cG(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function sG(...e){const n=function j6(e){return j1(a4(e))?e.pop():void 0}(e),{args:t,keys:i}=function oG(e){if(1===e.length){const n=e[0];if(tG(n))return{args:n,keys:null};if(function aG(e){return e&&"object"==typeof e&&nG(e)===iG}(n)){const t=rG(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e),r=new ge(o=>{const{length:a}=t;if(!a)return void o.complete();const s=new Array(a);let l=a,u=a;for(let m=0;m{_||(_=!0,u--),s[m]=y},()=>l--,void 0,()=>{(!l||!_)&&(u||o.next(i?cG(i,s):s),o.complete())}))}});return n?r.pipe(Xu(n)):r}function sh(e){return new ge(n=>{be(e()).subscribe(n)})}class lG extends ce{constructor(n=1/0,t=1/0,i=Cc){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){const{isStopped:t,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:a}=this;t||(i.push(n),!r&&i.push(o.now()+a)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let a=0;anew lG(i,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function fh(e,n){return He((t,i)=>{let r=null,o=0,a=!1;const s=()=>a&&!r&&i.complete();t.subscribe(je(i,l=>{null==r||r.unsubscribe();let u=0;const m=o++;be(e(l,m)).subscribe(r=je(i,_=>i.next(n?n(l,_,m,u++):_),()=>{r=null,s()}))},()=>{a=!0,s()}))})}class G3{}let uh=(()=>{class e extends G3{getTranslation(t){return M4({})}}return e.\u0275fac=function(){let n;return function(i){return(n||(n=t3(e)))(i||e)}}(),e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})();class Kc{}let dh=(()=>{class e{handle(t){return t.key}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})();function mi(e,n){if(e===n)return!0;if(null===e||null===n)return!1;if(e!=e&&n!=n)return!0;let r,o,a,t=typeof e;if(t==typeof n&&"object"==t){if(!Array.isArray(e)){if(Array.isArray(n))return!1;for(o in a=Object.create(null),e){if(!mi(e[o],n[o]))return!1;a[o]=!0}for(o in n)if(!(o in a)&&void 0!==n[o])return!1;return!0}if(!Array.isArray(n))return!1;if((r=e.length)==n.length){for(o=0;o{Yc(n[i])?i in e?t[i]=hh(e[i],n[i]):Object.assign(t,{[i]:n[i]}):Object.assign(t,{[i]:n[i]})}),t}class ro{}let ph=(()=>{class e extends ro{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(t,i){let r;return r="string"==typeof t?this.interpolateString(t,i):"function"==typeof t?this.interpolateFunction(t,i):t,r}getValue(t,i){let r="string"==typeof i?i.split("."):[i];i="";do{i+=r.shift(),!Dt(t)||!Dt(t[i])||"object"!=typeof t[i]&&r.length?r.length?i+=".":t=void 0:(t=t[i],i="")}while(r.length);return t}interpolateFunction(t,i){return t(i)}interpolateString(t,i){return i?t.replace(this.templateMatcher,(r,o)=>{let a=this.getValue(i,o);return Dt(a)?a:r}):t}}return e.\u0275fac=function(){let n;return function(i){return(n||(n=t3(e)))(i||e)}}(),e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})();class oo{}let mh=(()=>{class e extends oo{compile(t,i){return t}compileTranslations(t,i){return t}}return e.\u0275fac=function(){let n;return function(i){return(n||(n=t3(e)))(i||e)}}(),e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})();class gh{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new _1,this.onLangChange=new _1,this.onDefaultLangChange=new _1}}const Xc=new q1("USE_STORE"),Qc=new q1("USE_DEFAULT_LANG"),Jc=new q1("DEFAULT_LANGUAGE"),es=new q1("USE_EXTEND");let K3=(()=>{class e{constructor(t,i,r,o,a,s=!0,l=!1,u=!1,m){this.store=t,this.currentLoader=i,this.compiler=r,this.parser=o,this.missingTranslationHandler=a,this.useDefaultLang=s,this.isolate=l,this.extend=u,this.pending=!1,this._onTranslationChange=new _1,this._onLangChange=new _1,this._onDefaultLangChange=new _1,this._langs=[],this._translations={},this._translationRequests={},m&&this.setDefaultLang(m)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(t){this.isolate?this._currentLang=t:this.store.currentLang=t}get langs(){return this.isolate?this._langs:this.store.langs}set langs(t){this.isolate?this._langs=t:this.store.langs=t}get translations(){return this.isolate?this._translations:this.store.translations}set translations(t){this.isolate?this._translations=t:this.store.translations=t}setDefaultLang(t){if(t===this.defaultLang)return;let i=this.retrieveTranslations(t);void 0!==i?(null==this.defaultLang&&(this.defaultLang=t),i.pipe(U3(1)).subscribe(r=>{this.changeDefaultLang(t)})):this.changeDefaultLang(t)}getDefaultLang(){return this.defaultLang}use(t){if(t===this.currentLang)return M4(this.translations[t]);let i=this.retrieveTranslations(t);return void 0!==i?(this.currentLang||(this.currentLang=t),i.pipe(U3(1)).subscribe(r=>{this.changeLang(t)}),i):(this.changeLang(t),M4(this.translations[t]))}retrieveTranslations(t){let i;return(void 0===this.translations[t]||this.extend)&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),i=this._translationRequests[t]),i}getTranslation(t){this.pending=!0;const i=this.currentLoader.getTranslation(t).pipe(lh(1),U3(1));return this.loadingTranslations=i.pipe(_e(r=>this.compiler.compileTranslations(r,t)),lh(1),U3(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[t]=this.extend&&this.translations[t]?Object.assign(Object.assign({},r),this.translations[t]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(t,i,r=!1){i=this.compiler.compileTranslations(i,t),this.translations[t]=(r||this.extend)&&this.translations[t]?hh(this.translations[t],i):i,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}getLangs(){return this.langs}addLangs(t){t.forEach(i=>{-1===this.langs.indexOf(i)&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(t,i,r){let o;if(i instanceof Array){let a={},s=!1;for(let l of i)a[l]=this.getParsedResult(t,l,r),n6(a[l])&&(s=!0);return s?sG(i.map(u=>n6(a[u])?a[u]:M4(a[u]))).pipe(_e(u=>{let m={};return u.forEach((_,y)=>{m[i[y]]=_}),m})):a}if(t&&(o=this.parser.interpolate(this.parser.getValue(t,i),r)),void 0===o&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],i),r)),void 0===o){let a={key:i,translateService:this};void 0!==r&&(a.interpolateParams=r),o=this.missingTranslationHandler.handle(a)}return void 0!==o?o:i}get(t,i){if(!Dt(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Bu(r=>n6(r=this.getParsedResult(r,t,i))?r:M4(r)));{let r=this.getParsedResult(this.translations[this.currentLang],t,i);return n6(r)?r:M4(r)}}getStreamOnTranslationChange(t,i){if(!Dt(t)||!t.length)throw new Error('Parameter "key" required');return ai(sh(()=>this.get(t,i)),this.onTranslationChange.pipe(fh(r=>{const o=this.getParsedResult(r.translations,t,i);return"function"==typeof o.subscribe?o:M4(o)})))}stream(t,i){if(!Dt(t)||!t.length)throw new Error('Parameter "key" required');return ai(sh(()=>this.get(t,i)),this.onLangChange.pipe(fh(r=>{const o=this.getParsedResult(r.translations,t,i);return n6(o)?o:M4(o)})))}instant(t,i){if(!Dt(t)||!t.length)throw new Error('Parameter "key" required');let r=this.getParsedResult(this.translations[this.currentLang],t,i);if(n6(r)){if(t instanceof Array){let o={};return t.forEach((a,s)=>{o[t[s]]=t[s]}),o}return t}return r}set(t,i,r=this.currentLang){this.translations[r][t]=this.compiler.compile(i,r),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeLang(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),null==this.defaultLang&&this.changeDefaultLang(t)}changeDefaultLang(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}reloadLang(t){return this.resetLang(t),this.getTranslation(t)}resetLang(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==t?(-1!==t.indexOf("-")&&(t=t.split("-")[0]),-1!==t.indexOf("_")&&(t=t.split("_")[0]),t):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,t}}return e.\u0275fac=function(t){return new(t||e)(l1(gh),l1(G3),l1(oo),l1(ro),l1(Kc),l1(Qc),l1(Xc),l1(es),l1(Jc))},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),Zn=(()=>{class e{constructor(t,i){this.translate=t,this._ref=i,this.value=""}updateValue(t,i,r){let o=a=>{this.value=void 0!==a?a:t,this.lastKey=t,this._ref.markForCheck()};if(r){let a=this.translate.getParsedResult(r,t,i);n6(a.subscribe)?a.subscribe(o):o(a)}this.translate.get(t,i).subscribe(o)}transform(t,...i){if(!t||!t.length)return t;if(mi(t,this.lastKey)&&mi(i,this.lastParams))return this.value;let r;if(Dt(i[0])&&i.length)if("string"==typeof i[0]&&i[0].length){let o=i[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{r=JSON.parse(o)}catch(a){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else"object"==typeof i[0]&&!Array.isArray(i[0])&&(r=i[0]);return this.lastKey=t,this.lastParams=i,this.updateValue(t,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(t,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,r,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,r))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return e.\u0275fac=function(t){return new(t||e)(F(K3,16),F(Y0,16))},e.\u0275pipe=M1({name:"translate",type:e,pure:!1}),e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),ts=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[t.loader||{provide:G3,useClass:uh},t.compiler||{provide:oo,useClass:mh},t.parser||{provide:ro,useClass:ph},t.missingTranslationHandler||{provide:Kc,useClass:dh},gh,{provide:Xc,useValue:t.isolate},{provide:Qc,useValue:t.useDefaultLang},{provide:es,useValue:t.extend},{provide:Jc,useValue:t.defaultLanguage},K3]}}static forChild(t={}){return{ngModule:e,providers:[t.loader||{provide:G3,useClass:uh},t.compiler||{provide:oo,useClass:mh},t.parser||{provide:ro,useClass:ph},t.missingTranslationHandler||{provide:Kc,useClass:dh},{provide:Xc,useValue:t.isolate},{provide:Qc,useValue:t.useDefaultLang},{provide:es,useValue:t.extend},{provide:Jc,useValue:t.defaultLanguage},K3]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=O2({}),e})();const Y2=["*"],i6=function(e){return["fas",e]},pG=function(e,n){return[e,n]};function mG(e,n){if(1&e&&b1(0,"fa-icon",4),2&e){const t=S();w("icon",O3(2,pG,t.iconRegular?"far":"fas",t.icon))("size",t.iconSize)}}function gG(e,n){if(1&e&&b1(0,"gd-tooltip",5),2&e){const t=S();w("text",t.tooltip)("show",t.showToolTip)("position",t.elementPosition)}}function vG(e,n){if(1&e){const t=r1();H(0,"div",2),Z("click",function(r){return q(t),$(S().onClose(r))}),k()}}function _G(e,n){if(1&e){const t=r1();H(0,"div",3)(1,"div",4)(2,"div",5)(3,"div",6),Z("click",function(){return q(t),$(S().cancelClose())}),H(4,"span"),D1(5,"\xd7"),k()(),H(6,"h4",7),D1(7),k()(),H(8,"div",8),l2(9),k(),b1(10,"div",9),k()()}if(2&e){const t=S();L(7),Pe(t.title)}}const ns=function(){return["fas","cloud-download-alt"]};function CG(e,n){if(1&e){const t=r1();H(0,"div",15),Z("opening",function(r){return q(t),$(S().showUploadFile=r)}),H(1,"div",16),b1(2,"fa-icon",17),H(3,"span",18),D1(4),f1(5,"translate"),k()()()}2&e&&(L(2),w("icon",P2(4,ns)),L(2),Pe(u1(5,2,"Drop file here to upload")))}function bG(e,n){if(1&e){const t=r1();H(0,"gd-drop-down-item",26),Z("selected",function(){const o=q(t).$implicit;return $(S(2).selectUpload(o.name))}),b1(1,"fa-icon",11),H(2,"div",18),D1(3),f1(4,"translate"),k()()}if(2&e){const t=n.$implicit;L(1),w("icon",t2(4,i6,t.icon)),L(2),Pe(u1(4,2,t.name))}}const yG=function(){return["fas","check"]};function MG(e,n){if(1&e){const t=r1();H(0,"div",27)(1,"div",28)(2,"input",29,30),Z("keyup.enter",function(){q(t);const r=E3(3);return $(S(2).uploadUrl(r.value))}),k(),H(4,"div",31),Z("click",function(){q(t);const r=E3(3);return $(S(2).uploadUrl(r.value))}),b1(5,"fa-icon",11),k()()()}2&e&&(L(5),w("icon",P2(1,yG)))}function wG(e,n){if(1&e){const t=r1();H(0,"div",19)(1,"input",20),Z("change",function(r){return q(t),$(S().handleFileInput(r.target.files))}),k(),H(2,"div",21)(3,"div",22)(4,"gd-drop-down")(5,"gd-drop-down-toggle")(6,"gd-button",23),D1(7),f1(8,"translate"),k()(),H(9,"gd-drop-down-items"),U(10,bG,5,6,"gd-drop-down-item",24),k()()(),U(11,MG,6,2,"div",25),k()()}if(2&e){const t=S();L(6),w("icon","upload")("intent","brand")("iconOnly",!1),L(1),g2(" ",u1(8,6,"Upload file")," "),L(3),w("ngForOf",t.uploads),L(1),w("ngIf",t.showUploadUrl)}}function xG(e,n){if(1&e){const t=r1();H(0,"div",32),Z("click",function(){const o=q(t).$implicit;return $(S().choose(o))}),H(1,"div",33),b1(2,"fa-icon",11),H(3,"div",34)(4,"div",35),D1(5),k(),H(6,"div",36),D1(7),k()()(),H(8,"div",37),D1(9),f1(10,"translate"),k()()}if(2&e){const t=n.$implicit,i=S();L(2),rt("ng-fa-icon fa-"+i.getFormatIcon(t)),w("icon",t2(9,i6,i.getFormatIcon(t))),L(3),Pe(null==t?null:t.name),L(2),Pe(i.getFormatName(t)),L(2),V0(" ",i.getSizeValue(null==t?null:t.size)," ",u1(10,7,i.getSizeUnits(null==t?null:t.size))," ")}}const is=function(){return["fas","circle-notch"]};function zG(e,n){1&e&&(H(0,"div",38),b1(1,"fa-icon",39),D1(2),f1(3,"translate"),k()),2&e&&(L(1),w("icon",P2(5,is))("spin",!0),L(1),g2(" \xa0",u1(3,3,"Loading... Please wait.")," "))}const DG=function(e){return{"upload-url":e}},SG=function(){return["fas","level-up-alt"]};function PG(e,n){1&e&&(H(0,"div",4),D1(1),f1(2,"translate"),k()),2&e&&(L(1),Pe(u1(2,1,"Please wait...")))}function TG(e,n){if(1&e&&b1(0,"gd-page",7),2&e){const t=S().$implicit,i=S();w("number",t.number)("data",t.data)("isHtml",i.mode)("angle",t.angle)("width",t.width)("height",t.height)("editable",t.editable)}}function LG(e,n){if(1&e&&(H(0,"div",5),U(1,TG,1,7,"gd-page",6),k()),2&e){const t=n.$implicit,i=S();it("height",i.getDimensionWithUnit(t.height,t.number))("width",i.getDimensionWithUnit(t.width,t.number)),w("ngClass",i.ifExcel()?"page excel":i.ifPresentation()&&i.showActiveSlide?i.isVisible(t.number)?"page presentation active":"page presentation":"page")("angle",t.angle)("isHtmlMode",i.mode)("width",t.width)("height",t.height),L(1),w("ngIf",!i.showActiveSlide||i.isVisible(t.number))}}function EG(e,n){if(1&e&&(b1(0,"div",4),f1(1,"safeHtml")),2&e){const t=S();w("innerHTML",u1(1,3,t.data),h4)("contentEditable",!!t.editable)("text",t.data)}}function HG(e,n){if(1&e&&(b1(0,"img",5),f1(1,"safeResourceHtml")),2&e){const t=S();it("width",t.width,"px")("height",t.height,"px"),I0("src",u1(1,5,t.imgData),z0)}}function AG(e,n){1&e&&(H(0,"div",6),b1(1,"fa-icon",7),D1(2),f1(3,"translate"),k()),2&e&&(L(1),w("icon",P2(5,is))("spin",!0),L(1),g2(" \xa0",u1(3,3,"Loading... Please wait.")," "))}function IG(e,n){if(1&e&&(H(0,"div",5),D1(1),f1(2,"translate"),k()),2&e){const t=S();w("dis",t.disabled),L(1),g2(" ",u1(2,2,null==t.showSelected?null:t.showSelected.name)," ")}}function kG(e,n){if(1&e&&b1(0,"fa-icon",6),2&e){const t=S();w("icon",t2(1,i6,t.icon))}}function VG(e,n){if(1&e){const t=r1();H(0,"div",11),Z("click",function(r){q(t);const o=S().$implicit;return $(S(2).select(r,o))})("touchstart",function(r){q(t);const o=S().$implicit;return $(S(2).select(r,o))}),D1(1),f1(2,"translate"),k()}if(2&e){const t=S().$implicit;L(1),Pe(u1(2,1,t.name))}}function OG(e,n){1&e&&b1(0,"div",12)}function FG(e,n){if(1&e&&(H(0,"div"),U(1,VG,3,3,"div",9),U(2,OG,1,0,"div",10),k()),2&e){const t=n.$implicit;L(1),w("ngIf",!t.separator),L(1),w("ngIf",t.separator)}}function RG(e,n){if(1&e&&(H(0,"div",7),U(1,FG,3,2,"div",8),k()),2&e){const t=S();L(1),w("ngForOf",t.options)}}function BG(e,n){if(1&e&&(H(0,"div",5),b1(1,"fa-icon",6),H(2,"span",7),D1(3),k()()),2&e){const t=S();L(1),w("icon",P2(2,ns)),L(2),Pe(t.text)}}const jG=function(){return["fas","exclamation-triangle"]},UG=function(e){return{error:e}},WG=["text"];function YG(e,n){1&e&&(H(0,"div",1)(1,"div",2),b1(2,"fa-icon",3),D1(3),f1(4,"translate"),k()()),2&e&&(L(2),w("icon",P2(5,is))("spin",!0),L(1),g2(" \xa0",u1(4,3,"Loading... Please wait.")," "))}const rs=".drop-down{position:relative}.show .drop-down-items{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:absolute;z-index:1000;min-width:100%;max-height:300px;padding:0;background-color:#fff;box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box;overflow-y:auto;overflow-x:hidden}.show .drop-down-items .drop-down-item,.show .drop-down-items gd-drop-down-item{color:#959da5;display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-box-pack:justify;justify-content:space-between;cursor:pointer;font-size:10px;line-height:28px;min-height:28px;width:100%}.show .drop-down-items .drop-down-item fa-icon svg,.show .drop-down-items gd-drop-down-item fa-icon svg{margin:0 10px;color:#959da5}.show .drop-down-items .drop-down-item .text,.show .drop-down-items gd-drop-down-item .text{width:100%;margin-right:10px}.show .drop-down-items .drop-down-item:hover,.show .drop-down-items gd-drop-down-item:hover{background-color:#25c2d4}.show .drop-down-items .drop-down-item:hover *,.show .drop-down-items gd-drop-down-item:hover *{color:#fff}.drop-down-items{display:none}",os=function(e){return{transform:e}};function hK(e,n){if(1&e&&(b1(0,"div",6),f1(1,"safeHtml")),2&e){const t=S().$implicit,i=S();it("height",i.getDimensionWithUnit(t.height))("width",i.getDimensionWithUnit(t.width)),w("ngStyle",t2(8,os,"translateX(-50%) translateY(-50%) scale("+i.getScale(t.width,t.height)+")"))("innerHTML",u1(1,6,t.data),h4)}}function pK(e,n){if(1&e&&(H(0,"div",7),b1(1,"img",8),f1(2,"safeResourceHtml"),k()),2&e){const t=S().$implicit,i=S();it("height",i.getDimensionWithUnit(t.height))("width",i.getDimensionWithUnit(t.width)),w("ngStyle",t2(8,os,"translateX(-50%) translateY(-50%) scale("+i.getScale(t.width,t.height)+")")),L(1),I0("src",u1(2,6,i.imgData(t.data)),z0)}}function mK(e,n){if(1&e&&(b1(0,"div",6),f1(1,"safeHtml")),2&e){const t=S().$implicit,i=S();it("height",i.getDimensionWithUnit(800))("width",i.getDimensionWithUnit(800)),w("ngStyle",t2(8,os,"translateX(-50%) translateY(-50%) scale("+i.getScale(800,800)+")"))("innerHTML",u1(1,6,i.emptyThumbData(t.number)),h4)}}function gK(e,n){if(1&e){const t=r1();H(0,"div",3),Z("click",function(){const o=q(t).$implicit;return $(S().openPage(o.number))}),U(1,hK,2,10,"div",4),U(2,pK,3,10,"div",5),U(3,mK,2,10,"div",4),k()}if(2&e){const t=n.$implicit,i=S();Un("id","gd-thumbnails-page-",t.number,""),w("withMargin",!1)("angle",t.angle)("isHtmlMode",i.mode)("width",t.width)("height",t.height),L(1),w("ngIf",t.data&&i.isHtmlMode),L(1),w("ngIf",t.data&&!i.isHtmlMode),L(1),w("ngIf",!t.data)}}let _h=(()=>{class e{constructor(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=I({type:e,selectors:[["gd-top-toolbar"]],ngContentSelectors:Y2,decls:3,vars:0,consts:[[1,"top-toolbar"],["id","tools",1,"tools"]],template:function(t,i){1&t&&(s2(),H(0,"div",0)(1,"div",1),l2(2),k()())},styles:[".top-toolbar[_ngcontent-%COMP%]{width:100%;height:60px;z-index:999;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.tools[_ngcontent-%COMP%]{width:100%;height:100%;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}@media (max-width:1037px){.top-toolbar[_ngcontent-%COMP%]{height:60px}.tools[_ngcontent-%COMP%]{height:100%;overflow-x:auto;overflow-scrolling:touch;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-transition:.3s ease-in-out;transition:.3s ease-in-out;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.tools[_ngcontent-%COMP%]::-webkit-scrollbar{width:0;height:0;background-color:#3e4e5a}}"]}),e})(),St=(()=>{class e{constructor(){this.resizeSubject=new ce,this.width=window.innerWidth,this.height=window.innerHeight,this._resize$=ri(window,"resize").pipe(Ju(200),ed(),function Fx(...e){const n=N2(e);return He((t,i)=>{(n?ai(e,t,n):ai(e,t)).subscribe(i)})}({target:{innerWidth:window.innerWidth,innerHeight:window.innerHeight}}),function Rx(e,n,t){const i=j1(e)||n||t?{next:e,error:n,complete:t}:e;return i?He((r,o)=>{var a;null===(a=i.subscribe)||void 0===a||a.call(i);let s=!0;r.subscribe(je(o,l=>{var u;null===(u=i.next)||void 0===u||u.call(i,l),o.next(l)},()=>{var l;s=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var u;s=!1,null===(u=i.error)||void 0===u||u.call(i,l),o.error(l)},()=>{var l,u;s&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(u=i.finalize)||void 0===u||u.call(i)}))}):re}(t=>{this.resizeSubject.next(t.target),this.width=t.target.innerWidth,this.height=t.target.innerHeight})),this._resize$.subscribe()}get onResize(){return this.resizeSubject.asObservable()}isMobile(){return this.width<=425}isTablet(){return this.width<=1024}isDesktop(){return!this.isMobile()&&!this.isTablet()}getWidth(){return this.width}getHeight(){return this.height}isEdge(){return window.navigator.userAgent.toLowerCase().indexOf("edge")>-1}isFirefox(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),E4=(()=>{class e{constructor(t){this.iconOnly=!0,this.intent="default",this.disabled=!1,this.toggle=!1,this.iconRegular=!1,this.elementPosition=0,this.showToolTip=!1,this.isDesktop=t.isDesktop(),t.onResize.subscribe(i=>{this.isDesktop=t.isDesktop()})}iconButtonClass(){return this.iconOnly?"icon-button":""}onHovering(){this.isDesktop&&!this.disabled&&(this.className+=" active")}onUnhovering(){this.isDesktop&&!this.disabled&&(this.className=this.cleanAll(this.className," active"))}cleanAll(t,i){for(;t&&-1!==t.indexOf(i);)t=t.replace(i,"");return t}}return e.\u0275fac=function(t){return new(t||e)(F(St))},e.\u0275cmp=I({type:e,selectors:[["gd-button"]],inputs:{iconOnly:"iconOnly",intent:"intent",disabled:"disabled",toggle:"toggle",iconRegular:"iconRegular",elementPosition:"elementPosition",className:"className",icon:"icon",iconClass:"iconClass",tooltip:"tooltip",iconSize:"iconSize"},ngContentSelectors:Y2,decls:5,vars:8,consts:[["gdTooltip","","gdDisabledCursor","",3,"ngClass","dis","showToolTip","mouseenter","mouseleave"],[3,"icon","size",4,"ngIf"],["class","button-tooltip",3,"text","show","position",4,"ngIf"],[1,"text"],[3,"icon","size"],[1,"button-tooltip",3,"text","show","position"]],template:function(t,i){1&t&&(s2(),H(0,"div",0),Z("showToolTip",function(o){return i.showToolTip=o})("mouseenter",function(){return i.onHovering()})("mouseleave",function(){return i.onUnhovering()}),U(1,mG,1,5,"fa-icon",1),U(2,gG,1,3,"gd-tooltip",2),H(3,"div",3),l2(4),k()()),2&t&&(function o9(e,n,t,i,r){mn(yt,qn,x3(J(),e,n,t,i,r),!0)}("button ",i.intent," ",i.iconButtonClass(),""),w("ngClass",i.toggle?i.className+" gd-edit active":i.className)("dis",i.disabled),L(1),w("ngIf",i.icon),L(1),w("ngIf",i.tooltip))},dependencies:function(){return[at,Ne,K2,Ch,Ph,kh]},styles:[".icon-button[_ngcontent-%COMP%]{padding:0!important;margin:0 7px}.button[_ngcontent-%COMP%]{padding:0 10px;font-size:14px;color:#959da5;cursor:pointer;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;align-items:center;align-content:center;-webkit-box-pack:center;justify-content:center;min-width:37px;height:37px;text-align:center;position:relative;white-space:nowrap}.button.inactive[_ngcontent-%COMP%]{cursor:not-allowed;opacity:.4}.button.active[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{color:#ccd0d4}.button.primary[_ngcontent-%COMP%]{background-color:#3e4e5a;color:#fff}.button.primary.active[_ngcontent-%COMP%]{color:#fff;background-color:#688296}.button.brand[_ngcontent-%COMP%]{background-color:#25c2d4;color:#fff}.button.brand.active[_ngcontent-%COMP%]{color:#fff;background-color:#688296}.button[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{font-size:13px;padding-left:10px}.button[_ngcontent-%COMP%] .button-tooltip[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}@media (max-width:1037px){.button[_ngcontent-%COMP%]{font-size:22px}.arrow-button[_ngcontent-%COMP%]{margin:5px}}"]}),e})(),as=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=I({type:e,selectors:[["gd-logo"]],inputs:{logo:"logo",icon:"icon"},decls:3,vars:6,consts:[["id","gd-header-logo",1,"logo"],[1,"text",3,"innerHTML"],[3,"icon"]],template:function(t,i){1&t&&(H(0,"div",0),b1(1,"span",1)(2,"fa-icon",2),k()),2&t&&(L(1),w("innerHTML",i.logo,h4),L(1),rt("ng-fa-icon icon"),w("icon",t2(4,i6,i.icon)))},dependencies:[K2],styles:[".logo[_ngcontent-%COMP%]{background-color:#25c2d4;height:60px;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}.text[_ngcontent-%COMP%]{color:#fff;font-size:15px;text-transform:uppercase;margin:0 14px}.icon[_ngcontent-%COMP%]{display:none;font-size:32px;color:rgba(255,255,255,.5);margin:14px}@media (max-width:1037px){.logo[_ngcontent-%COMP%]{width:60px;height:60px}.logo[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{display:none}.logo[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{display:block}}"]}),e})(),Ch=(()=>{class e{constructor(){this.position=0,this.visibility="hidden"}getClass(){return 0===this.position?"tooltip":"tooltip "+(this.position>0?"last-element":"first-element")}set show(t){this.visibility=t?"shown":"hidden"}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=I({type:e,selectors:[["gd-tooltip"]],inputs:{position:"position",show:"show",text:"text"},decls:1,vars:4,consts:[[3,"ngClass","innerHTML"]],template:function(t,i){1&t&&b1(0,"span",0),2&t&&(rt(i.getClass()),w("ngClass",i.visibility)("innerHTML",i.text,h4))},dependencies:[at],styles:['.tooltip[_ngcontent-%COMP%]{position:absolute;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background-color:#000;color:#fff;text-align:center;border-radius:0;padding:5px;z-index:1;font-size:10px;height:11px;line-height:11px;-ms-grid-row-align:center;align-self:center;margin:8px!important}.first-element[_ngcontent-%COMP%]{margin-left:10px!important}.last-element[_ngcontent-%COMP%]{margin-left:-10px!important}.tooltip.hidden[_ngcontent-%COMP%]{visibility:hidden}.tooltip.shown[_ngcontent-%COMP%]{visibility:visible}.shown[_ngcontent-%COMP%]:after{content:" ";position:absolute;bottom:100%;left:50%;margin-left:-5px;border:5px solid transparent;border-bottom-color:#000}']}),e})();class e1{}e1.\u0275fac=function(n){return new(n||e1)},e1.\u0275prov=n1({token:e1,factory:e1.\u0275fac}),e1.VIEWER_APP="/viewer",e1.SIGNATURE_APP="/signature",e1.ANNOTATION_APP="/annotation",e1.SEARCH_APP="/search",e1.EDITOR_APP="/editor",e1.COMPARISON_APP="/comparison",e1.CONVERSION_APP="/conversion",e1.METADATA_APP="/metadata",e1.PARSER_APP="/parser",e1.DEFAULT_API_ENDPOINT=window.location.protocol+"//"+window.location.host+window.location.pathname,e1.LOAD_FILE_TREE="/loadFileTree",e1.LOAD_CONFIG="/loadConfig",e1.LOAD_DOCUMENT_DESCRIPTION="/loadDocumentDescription",e1.LOAD_DOCUMENT_PAGE="/loadDocumentPage",e1.LOAD_DOCUMENT_PROPERTIES="/loadProperties",e1.LOAD_DOCUMENT_PROPERTIES_NAMES="/loadPropertiesNames",e1.SAVE_PROPERTY="/saveProperty",e1.REMOVE_PROPERTY="/removeProperty",e1.ROTATE_DOCUMENT_PAGE="/rotateDocumentPages",e1.UPLOAD_DOCUMENTS="/uploadDocument",e1.DOWNLOAD_DOCUMENTS="/downloadDocument",e1.DOWNLOAD_ANNOTATED="/downloadAnnotated",e1.LOAD_PRINT="/loadPrint",e1.LOAD_PRINT_PDF="/printPdf",e1.LOAD_THUMBNAILS="/loadThumbnails",e1.LOAD_FORMATS="/loadFormats",e1.SAVE_FILE="/saveFile",e1.CREATE_FILE="/createFile",e1.COMPARE_FILES="/compare",e1.CONVERT_FILE="/convert",e1.DELETE_SIGNATURE_FILE="/deleteSignatureFile",e1.REMOVE_FROM_INDEX="/removeFromIndex",e1.GET_FILE_STATUS="/getFileStatus",e1.SAVE_OPTICAL_CODE="/saveOpticalCode",e1.SAVE_TEXT="/saveText",e1.SAVE_IMAGE="/saveImage",e1.SAVE_STAMP="/saveStamp",e1.SIGN="/sign",e1.DOWNLOAD_SIGNED="/downloadSigned",e1.LOAD_SIGNATURE_IMAGE="/loadSignatureImage",e1.ANNOTATE="/annotate",e1.SEARCH="/search",e1.PARSE="/parse",e1.ADD_FILES_TO_INDEX="/addFilesToIndex",e1.CLEAN_METADATA="/clean",e1.EXPORT_METADATA="/export",e1.httpOptionsJson={headers:new bn({"Content-Type":"application/json"})},e1.httpOptionsJsonResponseTypeBlob={headers:new bn({"Content-Type":"application/json"}),responseType:"blob"};let H4=(()=>{class e{constructor(){this.apiEndpoint=e1.DEFAULT_API_ENDPOINT}set apiEndpoint(t){this._apiEndpoint=t&&t.trim().endsWith("/")?t.substring(0,t.length-1):t}getConfigEndpoint(t){return(this.apiEndpoint.endsWith(t)?this.apiEndpoint:this.apiEndpoint+t)+e1.LOAD_CONFIG}getViewerApiEndpoint(){return this._apiEndpoint.endsWith(e1.VIEWER_APP)?this._apiEndpoint:this._apiEndpoint+e1.VIEWER_APP}getEditorApiEndpoint(){return this._apiEndpoint.trim().endsWith(e1.EDITOR_APP)?this._apiEndpoint:this._apiEndpoint+e1.EDITOR_APP}getComparisonApiEndpoint(){return this._apiEndpoint.trim().endsWith(e1.COMPARISON_APP)?this._apiEndpoint:this._apiEndpoint+e1.COMPARISON_APP}getConversionApiEndpoint(){return this._apiEndpoint.trim().endsWith(e1.CONVERSION_APP)?this._apiEndpoint:this._apiEndpoint+e1.CONVERSION_APP}getMetadataApiEndpoint(){return this._apiEndpoint.trim().endsWith(e1.METADATA_APP)?this._apiEndpoint:this._apiEndpoint+e1.METADATA_APP}get apiEndpoint(){return this._apiEndpoint}getSignatureApiEndpoint(){return this._apiEndpoint.endsWith(e1.SIGNATURE_APP)?this._apiEndpoint:this._apiEndpoint+e1.SIGNATURE_APP}getAnnotationApiEndpoint(){return this._apiEndpoint.endsWith(e1.ANNOTATION_APP)?this._apiEndpoint:this._apiEndpoint+e1.ANNOTATION_APP}getSearchApiEndpoint(){return this._apiEndpoint.endsWith(e1.SEARCH_APP)?this._apiEndpoint:this._apiEndpoint+e1.SEARCH_APP}getParserApiEndpoint(){return this._apiEndpoint.endsWith(e1.PARSER_APP)?this._apiEndpoint:this._apiEndpoint+e1.PARSER_APP}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),gi=(()=>{class e{}return e.PasswordRequired="gd-password-required",e.ErrorMessage="gd-error-message",e.BrowseFiles="gd-browse-files",e.CreateDocument="gd-create-document",e.OperationSuccess="gd-success-modal",e.DrawHandSignature="gd-draw-hand-signature",e.DrawStampSignature="gd-draw-stamp-signature",e.InformationMessage="gd-information-message",e})(),E6=(()=>{class e{constructor(){this.modals=[]}add(t){this.modals.push(t)}remove(t){this.modals=this.modals.filter(i=>i.id!==t)}open(t){const i=this.modals.filter(r=>r.id===t)[0];i&&i.open()}close(t){const i=this.modals.filter(r=>r.id===t)[0];i&&i.close()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),ao=(()=>{class e{constructor(t,i){this.modalService=t,this.visible=new _1,this.cancel=new _1,this.visibility=!1,this.element=i.nativeElement}ngOnInit(){this.id?(document.body.appendChild(this.element),this.modalService.add(this)):console.error("modal must have an id")}ngOnDestroy(){this.modalService.remove(this.id),this.element.remove()}open(){this.visibility=!0,this.visible.emit(!0)}close(){event.preventDefault(),event.stopPropagation(),this.visibility=!1,this.visible.emit(!1)}onClose(t){t.stopPropagation(),t&&t.target&&"modalDialog"===t.target.id&&this.close()}cancelClose(){this.cancel.emit(!1),this.close()}}return e.\u0275fac=function(t){return new(t||e)(F(E6),F(Re))},e.\u0275cmp=I({type:e,selectors:[["gd-modal"]],inputs:{id:"id",title:"title"},outputs:{visible:"visible",cancel:"cancel"},ngContentSelectors:Y2,decls:2,vars:2,consts:[["class","gd-modal fade","id","modalDialog",3,"click",4,"ngIf"],["class","gd-modal-dialog",4,"ngIf"],["id","modalDialog",1,"gd-modal","fade",3,"click"],[1,"gd-modal-dialog"],["id","gd-modal-content",1,"gd-modal-content"],[1,"gd-modal-header"],[1,"gd-modal-close",3,"click"],[1,"gd-modal-title"],[1,"gd-modal-body"],[1,"gd-modal-footer"]],template:function(t,i){1&t&&(s2(),U(0,vG,1,0,"div",0),U(1,_G,11,1,"div",1)),2&t&&(w("ngIf",i.visibility),L(1),w("ngIf",i.visibility))},dependencies:[Ne],styles:["@import url(https://fonts.googleapis.com/css?family=Montserrat&display=swap);[_nghost-%COMP%] *[_ngcontent-%COMP%]{font-family:'Open Sans',Arial,Helvetica,sans-serif}.gd-modal[_ngcontent-%COMP%]{overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0;background-color:rgba(0,0,0,.5)}.gd-modal-dialog[_ngcontent-%COMP%]{box-shadow:#0005 0 0 10px;position:fixed;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);max-height:95%;overflow:scroll;z-index:1051}.gd-modal-dialog[_ngcontent-%COMP%] .button{-webkit-box-orient:unset!important;-webkit-box-direction:unset!important;flex-direction:unset!important}.gd-modal-content[_ngcontent-%COMP%]{background-color:#fff;height:100%;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.gd-modal-header[_ngcontent-%COMP%]{height:60px;padding:0 12px 0 24px;background-color:#3e4e5a}.gd-modal-close[_ngcontent-%COMP%]{position:absolute;right:12px;top:12px;cursor:pointer;color:#fff;width:37px;height:37px;text-align:center}.gd-modal-close[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:900;height:19px;width:10px;line-height:36px}.gd-modal-title[_ngcontent-%COMP%]{font-size:16px;font-weight:400;padding-top:17px;padding-bottom:22px;margin:0;color:#fff}.gd-modal-body[_ngcontent-%COMP%]{background-color:#fff;overflow:hidden;overflow-y:auto;height:calc(100% - 75px)}.gd-modal-footer[_ngcontent-%COMP%]{height:auto}.gd-modal-footer[_ngcontent-%COMP%] > .btn[_ngcontent-%COMP%]{float:right;margin:20px 15px;padding:10px 20px;cursor:pointer;font-size:12px}@media (max-width:1037px){.gd-modal-dialog[_ngcontent-%COMP%]{width:100%;height:100%}.gd-modal-body[_ngcontent-%COMP%]{height:100%}}"]}),e})(),bh=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),Y3=(()=>{class e{}return e.BadRequest=400,e.Unauthorized=401,e.Forbidden=403,e.NotFound=404,e.TimeOut=408,e.Conflict=409,e.InternalServerError=500,e})(),cs=(()=>{class e{static getMousePosition(t){const i={x:0,y:0},r=window.event,o=t||r;if(o.pageX||r.pageX||r.screenX||o.touches&&o.touches[0]&&o.touches[0].pageX){const s=void 0!==o.pageY&&0!==o.pageY?o.pageY:r.pageY,l=void 0!==r.screenX&&0!==r.screenY,u=void 0!==r.screenY&&0!==r.screenY;i.x=(void 0!==o.pageX&&0!==o.pageX?o.pageX:r.pageX)||(l?r.screenX:o.touches[0].pageX),i.y=s||(u?r.screenY:o.touches[0].pageY)}else o.clientX&&(i.x=o.clientX+document.body.scrollLeft,i.y=o.clientY+document.body.scrollTop);return i}static toRgb(t){const i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);if(i){const r=parseInt(i[1],16),o=parseInt(i[2],16),a=parseInt(i[3],16);return i?"rgb("+r+","+o+","+a+")":""}return t}static toHex(t){if(t.match(/[0-9A-F]{6}|[0-9A-F]{3}$/i))return"#"===t.charAt(0)?t:"#"+t;if(!t.match(/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/))return"";{const i=[parseInt(RegExp.$1,10),parseInt(RegExp.$2,10),parseInt(RegExp.$3,10)],r=function(o){if(o.length<2)for(let a=0,s=2-o.length;a{class e{static find(t,i){if(t&&!i){const r=t.split("."),o=r.pop().toLowerCase();return void 0===e.map[o]?r.length>0?e.map.unknown:e.map.folder:e.map[o]}return e.map.folder}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e.map={folder:{format:"",icon:"folder"},pdf:{format:"Portable Document Format",icon:"file-pdf",unit:"pt"},doc:{format:"Microsoft Word",icon:"file-word",unit:"pt"},docx:{format:"Microsoft Word",icon:"file-word",unit:"pt"},docm:{format:"Microsoft Word",icon:"file-word",unit:"pt"},dot:{format:"Microsoft Word",icon:"file-word",unit:"pt"},dotx:{format:"Microsoft Word",icon:"file-word",unit:"pt"},dotm:{format:"Microsoft Word",icon:"file-word",unit:"pt"},xls:{format:"Microsoft Excel",icon:"file-excel",unit:"px"},xlsx:{format:"Microsoft Excel",icon:"file-excel",unit:"px"},xlsm:{format:"Microsoft Excel",icon:"file-excel",unit:"px"},xlsb:{format:"Microsoft Excel",icon:"file-excel",unit:"px"},xls2003:{format:"Microsoft Excel",icon:"file-excel",unit:"px"},xltx:{format:"Microsoft Excel",icon:"file-excel",unit:"px"},xltm:{format:"Microsoft Excel",icon:"file-excel",unit:"px"},ppt:{format:"Microsoft PowerPoint",icon:"file-powerpoint",unit:"pt"},pptx:{format:"Microsoft PowerPoint",icon:"file-powerpoint",unit:"pt"},pps:{format:"Microsoft PowerPoint",icon:"file-powerpoint",unit:"pt"},ppsx:{format:"Microsoft PowerPoint",icon:"file-powerpoint",unit:"pt"},vsd:{format:"Microsoft Visio",icon:"file-code",unit:"px"},vdx:{format:"Microsoft Visio",icon:"file-code",unit:"px"},vss:{format:"Microsoft Visio",icon:"file-code",unit:"px"},vsx:{format:"Microsoft Visio",icon:"file-code",unit:"px"},vst:{format:"Microsoft Visio",icon:"file-code",unit:"px"},vtx:{format:"Microsoft Visio",icon:"file-code",unit:"px"},vsdx:{format:"Microsoft Visio",icon:"file-code",unit:"px"},vdw:{format:"Microsoft Visio",icon:"file-code",unit:"px"},vstx:{format:"Microsoft Visio",icon:"file-code",unit:"px"},vssx:{format:"Microsoft Visio",icon:"file-code",unit:"px"},mpp:{format:"Microsoft Project",icon:"file-alt",unit:"pt"},mpt:{format:"Microsoft Project",icon:"file-alt",unit:"pt"},msg:{format:"Microsoft Outlook",icon:"file-alt",unit:"pt"},eml:{format:"Microsoft Outlook",icon:"file-alt",unit:"pt"},emlx:{format:"Microsoft Outlook",icon:"file-alt",unit:"pt"},one:{format:"Microsoft OneNote",icon:"file-word",unit:"pt"},odt:{format:"Open Document Text",icon:"file-word",unit:"pt"},ott:{format:"Open Document Text Template",icon:"file-word",unit:"pt"},ods:{format:"Open Document Spreadsheet",icon:"file-excel",unit:"px"},odp:{format:"Open Document Presentation",icon:"file-powerpoint",unit:"pt"},otp:{format:"Open Document Presentation",icon:"file-powerpoint",unit:"pt"},ots:{format:"Open Document Presentation",icon:"file-powerpoint",unit:"pt"},potx:{format:"Open Document Presentation",icon:"file-powerpoint",unit:"pt"},potm:{format:"Open Document Presentation",icon:"file-powerpoint",unit:"pt"},pptm:{format:"Open Document Presentation",icon:"file-powerpoint",unit:"pt"},ppsm:{format:"Open Document Presentation",icon:"file-powerpoint",unit:"pt"},rtf:{format:"Rich Text Format",icon:"file-alt",unit:"pt"},txt:{format:"Plain Text File",icon:"file-alt",unit:"pt"},csv:{format:"Comma-Separated Values",icon:"file-excel",unit:"px"},html:{format:"HyperText Markup Language",icon:"file-word",unit:"pt"},mht:{format:"HyperText Markup Language",icon:"file-word",unit:"pt"},mhtml:{format:"HyperText Markup Language",icon:"file-word",unit:"pt"},xml:{format:"Extensible Markup Language",icon:"file-word",unit:"pt"},xps:{format:"XML Paper Specification",icon:"file-word",unit:"pt"},dxf:{format:"AutoCAD Drawing File Format",icon:"file-image",unit:"px"},dwg:{format:"AutoCAD Drawing File Format",icon:"file-image",unit:"px"},bmp:{format:"Bitmap Picture",icon:"file-image",unit:"px"},gif:{format:"Graphics Interchange Format",icon:"file-image",unit:"px"},jpg:{format:"Joint Photographic Experts Group",icon:"file-image",unit:"px"},jpe:{format:"Joint Photographic Experts Group",icon:"file-image",unit:"px"},jpeg:{format:"Joint Photographic Experts Group",icon:"file-image",unit:"px"},jfif:{format:"Joint Photographic Experts Group",icon:"file-image",unit:"px"},png:{format:"Portable Network Graphics",icon:"file-image",unit:"px"},tiff:{format:"Tagged Image File Format",icon:"file-image",unit:"px"},tif:{format:"Tagged Image File Format",icon:"file-image",unit:"px"},psd:{format:"Tagged Image File Format",icon:"file-image",unit:"px"},svg:{format:"Tagged Image File Format",icon:"file-image",unit:"px"},jp2:{format:"Tagged Image File Format",icon:"file-image",unit:"px"},epub:{format:"Electronic Publication",icon:"file-pdf",unit:"pt"},ico:{format:"Windows Icon",icon:"file-image",unit:"px"},webp:{format:"Compressed Image",icon:"file-image",unit:"px"},mobi:{format:"Mobipocket eBook",icon:"file-pdf",unit:"pt"},tex:{format:"LaTeX Source Document",icon:"file-pdf",unit:"pt"},djvu:{format:"Multi-Layer Raster Image",icon:"file-alt",unit:"pt"},unknown:{format:"This format is not supported",icon:"file"}},e})(),CK=(()=>{class e{constructor(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),X3=(()=>{class e{constructor(){this._uploadsChange=new ge(t=>this._observer=t)}get uploadsChange(){return this._uploadsChange}changeFilesList(t){this._observer.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})();const bK=P4,MK=[{name:"Disc",icon:"hdd"},{name:"URL",icon:"link"}];let Mh=(()=>{class e{constructor(t){this._uploadService=t,this.uploads=MK,this.selectedFileGuid=new _1,this.selectedDirectory=new _1,this.urlForUpload=new _1,this.closing=new _1,this.showUploadUrl=!1,this.showUploadFile=!1}ngOnInit(){}getSize(t){return this.getSizeValue(t)+" "+this.getSizeUnits(t)}getSizeValue(t){const i=t/1024/1024;if(i>1)return Math.round(100*i)/100;{const r=t/1024;if(r>1)return Math.round(100*r)/100}return t}getSizeUnits(t){return t/1024/1024>1?"MB":t/1024>1?"KB":"Bytes"}getFormatName(t){return Pt.find(t.name,t.directory).format}getFormatIcon(t){return Pt.find(t.name,t.directory).icon}choose(t){this.selectedFile=t,t.directory||t.isDirectory?this.selectedDirectory.emit(t.name):this.selectedFileGuid.emit(t.guid)}goUp(){if(this.selectedFile){let t=this.selectedFile.guid;t=t.length>0&&-1===t.indexOf("/")?"":t.replace(/\/[^\/]+\/?$/,"");const i=new bh;i.name=t,i.guid=t,i.directory=!0,i.isDirectory=!0,this.selectedFile=i,this.selectedDirectory.emit(t)}}selectUpload(t){"URL"===t?this.showUploadUrl=!0:(this.showUploadUrl=!1,bK("#gd-upload-input").trigger("click"))}refresh(t){t?(this.files=null,this.selectedDirectory.emit(""),this.showUploadUrl=!1,this.selectedFile=null):this.closing.emit(!0)}showSpinner(){return!this.files}uploadUrl(t){t&&(this.urlForUpload.emit(t),this.cleanUpload())}handleFileInput(t){this._uploadService.changeFilesList(t)}cleanUpload(){this.showUploadFile=!1,this.showUploadUrl=!1}}return e.\u0275fac=function(t){return new(t||e)(F(X3))},e.\u0275cmp=I({type:e,selectors:[["gd-browse-files-modal"]],inputs:{files:"files",uploadConfig:"uploadConfig"},outputs:{selectedFileGuid:"selectedFileGuid",selectedDirectory:"selectedDirectory",urlForUpload:"urlForUpload",closing:"closing"},decls:21,vars:18,consts:[["id","gd-browse-files",3,"title","visible"],["class","gd-dnd-wrap","gdDnd","",3,"opening",4,"ngIf"],["class","upload-panel",4,"ngIf"],[1,"list-files-header",3,"ngClass"],[1,"header-name"],[1,"header-size"],["id","gd-browse-section",3,"dragover"],["id","gd-modal-filebrowser",1,"gd-modal-table"],[1,"list-files-body"],[1,"go-up",3,"click"],[1,"go-up-icon"],[3,"icon"],[1,"go-up-dots"],["class","list-files-lines",3,"click",4,"ngFor","ngForOf"],["id","gd-modal-spinner","class","gd-modal-spinner",4,"ngIf"],["gdDnd","",1,"gd-dnd-wrap",3,"opening"],[1,"dnd-wrapper"],["aria-hidden","true",1,"icon",3,"icon"],[1,"text"],[1,"upload-panel"],["id","gd-upload-input","type","file","multiple","",2,"display","none",3,"change"],[1,"context"],[1,"context-actions"],[3,"icon","intent","iconOnly"],[3,"selected",4,"ngFor","ngForOf"],["class","context-panel",4,"ngIf"],[3,"selected"],[1,"context-panel"],[1,"upload-url"],["placeholder","https://",1,"url-input",3,"keyup.enter"],["url",""],[1,"url-check",3,"click"],[1,"list-files-lines",3,"click"],[1,"file-description"],[1,"file-name-format"],[1,"file-name"],[1,"file-format"],[1,"file-size"],["id","gd-modal-spinner",1,"gd-modal-spinner"],[3,"icon","spin"]],template:function(t,i){1&t&&(H(0,"gd-modal",0),Z("visible",function(o){return i.refresh(o)}),f1(1,"translate"),U(2,CG,6,5,"div",1),U(3,wG,12,8,"div",2),H(4,"div",3)(5,"div",4),D1(6),f1(7,"translate"),k(),H(8,"div",5),D1(9),f1(10,"translate"),k()(),H(11,"section",6),Z("dragover",function(){return i.showUploadFile=!0}),H(12,"div",7)(13,"div",8)(14,"div",9),Z("click",function(){return i.goUp()}),H(15,"div",10),b1(16,"fa-icon",11),k(),H(17,"div",12),D1(18,".."),k()(),U(19,xG,11,11,"div",13),k()(),U(20,zG,4,6,"div",14),k()()),2&t&&(Y1("title",u1(1,9,"Open document")),L(2),w("ngIf",i.showUploadFile),L(1),w("ngIf",i.uploadConfig),L(1),w("ngClass",t2(15,DG,i.showUploadUrl)),L(2),Pe(u1(7,11,"FILE")),L(3),Pe(u1(10,13,"SIZE")),L(7),w("icon",P2(17,SG)),L(3),w("ngForOf",i.files),L(1),w("ngIf",i.showSpinner()))},dependencies:function(){return[at,Q4,Ne,K2,E4,ao,ls,po,HK,EK,LK,Zn]},styles:[".gd-modal-table[_ngcontent-%COMP%]{width:100%;text-align:left}#gd-browse-section[_ngcontent-%COMP%]{width:1036px;height:561px;overflow-y:auto}.list-files-header[_ngcontent-%COMP%]{height:60px;color:#6e6e6e;font-size:13px;font-weight:700;background-color:#f4f4f4;margin-top:24px}.list-files-header.upload-url[_ngcontent-%COMP%]{margin-top:20px}.header-name[_ngcontent-%COMP%]{padding-left:24px;width:90%;line-height:60px}.header-size[_ngcontent-%COMP%]{padding-right:27px;line-height:60px}.file-size[_ngcontent-%COMP%], .header-size[_ngcontent-%COMP%]{width:10%;color:#777;text-align:right}.file-description[_ngcontent-%COMP%]{display:-webkit-box;display:flex;width:90%;padding:18px 0 18px 24px;font-size:14px;-webkit-box-flex:1;flex:1;cursor:pointer;overflow:hidden}.file-size[_ngcontent-%COMP%]{font-size:12px;padding:0 27px 0 0;width:10%;line-height:79px}.list-files-header[_ngcontent-%COMP%], .list-files-lines[_ngcontent-%COMP%]{display:-webkit-box;display:flex;width:100%;-webkit-box-pack:justify;justify-content:space-between}.gd-modal-spinner[_ngcontent-%COMP%]{background-color:#fff;width:100%;height:20px;text-align:center;font-size:16px}.gd-cancel-button[_ngcontent-%COMP%]{padding:7px;background:0 0;width:28px;overflow:hidden}.gd-cancel-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:21px}.gd-file-name[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;width:100%;text-overflow:ellipsis}.go-up[_ngcontent-%COMP%]{display:-webkit-box;display:flex;font-size:26px;cursor:pointer;color:#4b566c;height:79px}.go-up-dots[_ngcontent-%COMP%]{margin-left:20px;margin-top:22px;font-size:16px}.go-up-icon[_ngcontent-%COMP%]{display:block;padding:18px 0 18px 24px}.upload-panel[_ngcontent-%COMP%]{display:-webkit-box;display:flex;position:relative;width:100%}.upload-panel[_ngcontent-%COMP%] .context[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;width:100%;margin-left:24px;margin-top:24px;margin-right:24px}.upload-panel[_ngcontent-%COMP%] .context[_ngcontent-%COMP%] .context-actions[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;width:100%}.upload-panel[_ngcontent-%COMP%] .context[_ngcontent-%COMP%] .context-actions[_ngcontent-%COMP%] [_ngcontent-%COMP%]:last-child{margin-right:0}.upload-panel[_ngcontent-%COMP%] .context[_ngcontent-%COMP%] .context-actions[_ngcontent-%COMP%] .button{height:37px;padding:0 10px;-webkit-box-pack:center;justify-content:center}.upload-panel[_ngcontent-%COMP%] .context[_ngcontent-%COMP%] .context-actions[_ngcontent-%COMP%] .button .text{font-size:10px}.upload-panel[_ngcontent-%COMP%] .context[_ngcontent-%COMP%] .context-panel[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;width:100%;margin-top:20px}.upload-panel[_ngcontent-%COMP%] .context[_ngcontent-%COMP%] .context-panel[_ngcontent-%COMP%] .upload-url[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;width:100%}.upload-panel[_ngcontent-%COMP%] .context[_ngcontent-%COMP%] .context-panel[_ngcontent-%COMP%] .upload-url[_ngcontent-%COMP%] .url-input[_ngcontent-%COMP%]{width:100%;height:27px;border:1px solid #25c2d4;font-size:14px;padding-left:6px}.upload-panel[_ngcontent-%COMP%] .context[_ngcontent-%COMP%] .context-panel[_ngcontent-%COMP%] .upload-url[_ngcontent-%COMP%] .url-check[_ngcontent-%COMP%]{width:31px;height:31px;color:#fff;font-size:15px;background-color:#25c2d4}.upload-panel[_ngcontent-%COMP%] .context[_ngcontent-%COMP%] .context-panel[_ngcontent-%COMP%] .upload-url[_ngcontent-%COMP%] .url-check[_ngcontent-%COMP%] .ng-fa-icon[_ngcontent-%COMP%]{display:block;padding:8px}.upload-panel[_ngcontent-%COMP%] gd-drop-down[_ngcontent-%COMP%]{margin-right:10px}.file-description[_ngcontent-%COMP%] .ng-fa-icon.fa-file-pdf[_ngcontent-%COMP%]{color:#e04e4e}.file-description[_ngcontent-%COMP%] .ng-fa-icon.fa-file-word[_ngcontent-%COMP%]{color:#539cf0}.file-description[_ngcontent-%COMP%] .ng-fa-icon.fa-file-powerpoint[_ngcontent-%COMP%]{color:#e29e1e}.file-description[_ngcontent-%COMP%] .ng-fa-icon.fa-file-excel[_ngcontent-%COMP%]{color:#7cbc46}.file-description[_ngcontent-%COMP%] .ng-fa-icon.fa-file-image[_ngcontent-%COMP%]{color:#c375ed}.file-description[_ngcontent-%COMP%] .ng-fa-icon.fa-file[_ngcontent-%COMP%], .file-description[_ngcontent-%COMP%] .ng-fa-icon.fa-file-alt[_ngcontent-%COMP%], .file-description[_ngcontent-%COMP%] .ng-fa-icon.fa-file-text[_ngcontent-%COMP%] .fa-folder[_ngcontent-%COMP%]{color:#4b566c}.file-description[_ngcontent-%COMP%] .ng-fa-icon[_ngcontent-%COMP%]{font-size:32px}.file-name[_ngcontent-%COMP%]{font-size:16px;color:#6e6e6e;overflow:hidden;text-overflow:ellipsis}.file-name-format[_ngcontent-%COMP%]{padding-left:11px;overflow:hidden}.file-format[_ngcontent-%COMP%]{font-size:10px;padding-top:3px;color:#acacac}.go-up[_ngcontent-%COMP%], .list-files-lines[_ngcontent-%COMP%]{border-bottom:1px solid #e7e7e7}.list-files-lines[_ngcontent-%COMP%]:hover{background-color:#e5e5e5}.gd-dnd-wrap[_ngcontent-%COMP%]{background-color:#fff;cursor:default;position:absolute;width:100%;height:calc(100% - 60px);background:rgba(255,255,255,.7);z-index:1;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center}.dnd-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;top:259px;position:absolute}.dnd-wrapper[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#6e6e6e;font-size:14px}.dnd-wrapper[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{display:-webkit-box;display:flex;width:113px;height:90px;font-size:90px;color:#3e4e5a;margin-bottom:30px}@media (max-width:1037px){.file-size[_ngcontent-%COMP%], .header-size[_ngcontent-%COMP%]{width:18%}.gd-dnd-wrap[_ngcontent-%COMP%]{width:95%}#gd-browse-section[_ngcontent-%COMP%]{width:100%;height:calc(100% - 146px)}}"]}),e})(),ct=(()=>{class e{constructor(){this._observer=new ce,this._zoomChange=this._observer.asObservable()}get zoom(){return this._zoom}get zoomChange(){return this._zoomChange}changeZoom(t){this._zoom=t,this._observer.next(t)}createZoomOption(t,i,r=!1){return{value:t,name:i,separator:r}}zoomOptions(t,i){return[this.createZoomOption(25,"25%"),this.createZoomOption(50,"50%"),this.createZoomOption(100,"100%"),this.createZoomOption(150,"150%"),this.createZoomOption(200,"200%"),this.createZoomOption(300,"300%"),this.createZoomOption(0,"",!0),this.createZoomOption(t,"Fit Width"),this.createZoomOption(i,"Fit Height")]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),H6=(()=>{class e{constructor(){this._checkPreload=new ge(t=>this._observer=t)}get checkPreload(){return this._checkPreload}changeLastPageInView(t){this._observer&&this._observer.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})();class v2{constructor(n){this._pagePreloadService=n,this._currentPage=0,this._countPages=0,this._observer=new ce,this._navigate=this._observer}get navigate(){return this._navigate}get countPages(){return this._countPages}set countPages(n){this._countPages=n}get currentPage(){return this._currentPage}set currentPage(n){this._currentPage=n}nextPage(){this._currentPage1&&(this._currentPage--,this.navigateTo(this._currentPage))}toLastPage(){this._currentPage=this._countPages,this.navigateTo(this._currentPage)}toFirstPage(){this._currentPage=1,this.navigateTo(this._currentPage)}navigateTo(n){this.currentPage=n,this._pagePreloadService.changeLastPageInView(n),this._observer.next(n)}}v2.\u0275fac=function(n){return new(n||v2)(l1(H6))},v2.\u0275prov=n1({token:v2,factory:v2.\u0275fac,providedIn:"root"}),v2.ngInjectableDef=n1({factory:function(){return new v2(l1(H6))},token:v2,providedIn:"root"});let ss=(()=>{class e{constructor(t,i,r,o){this._elementRef=t,this._zoomService=i,this._windowService=r,this._navigateService=o,this.wait=!1,this.docWidth=null,this.docHeight=null,this.viewportWidth=null,this.viewportHeight=null,this.scale=null,this.lastScale=null,this.container=null,this.doc=null,this.x=0,this.lastX=0,this.y=0,this.lastY=0,this.pinchCenter=null,this.pinchCenterOffset=null,this.curWidth=0,this.curHeight=0,i.zoomChange.subscribe(a=>{this.zoom=a}),this.isDesktop=r.isDesktop(),this._navigateService.navigate.subscribe(a=>{this.selectedPage=a})}ngOnInit(){this.ifPresentation()&&(this.selectedPage=this._navigateService.currentPage)}ngOnChanges(){}ngAfterViewInit(){this.doc=this._elementRef.nativeElement.children.item(0).children.item(0),this.container=this._elementRef.nativeElement,this.docWidth=this.doc.clientWidth,this.docHeight=this.doc.clientHeight,this.viewportWidth=this.doc.offsetWidth,this.scale=this.viewportWidth/this.docWidth*this._zoomService.zoom/100,this.lastScale=this.scale,this.viewportHeight=this.container.offsetHeight,this.curWidth=this.docWidth*this.scale,this.curHeight=this.docHeight*this.scale,new ch(this.container)}ifExcel(){return"Microsoft Excel"===Pt.find(this.file.guid,!1).format}ifPresentation(){return"Microsoft PowerPoint"===Pt.find(this.file.guid,!1).format}getDimensionWithUnit(t,i){return this.ifPresentation()&&this.showActiveSlide&&!this.isVisible(i)?0:t+(this.mode?Pt.find(this.file.guid,!1).unit:"px")}ifEdge(){return navigator.userAgent.toLowerCase().indexOf("edge")>-1}ngAfterViewChecked(){}isVisible(t){return!this.ifPresentation()||t===this.selectedPage}}return e.\u0275fac=function(t){return new(t||e)(F(Re),F(ct),F(St),F(v2))},e.\u0275cmp=I({type:e,selectors:[["gd-document"]],inputs:{selectedPage:"selectedPage",mode:"mode",preloadPageCount:"preloadPageCount",file:"file",showActiveSlide:"showActiveSlide"},features:[c2],ngContentSelectors:Y2,decls:5,vars:5,consts:[["class","wait",4,"ngIf"],["id","document",1,"document"],["gdZoom","","gdSearchable","",3,"ngClass","zoomActive","file"],["gdRotation","",3,"ngClass","height","width","angle","isHtmlMode",4,"ngFor","ngForOf"],[1,"wait"],["gdRotation","",3,"ngClass","angle","isHtmlMode","width","height"],["gdPageMarker","",3,"number","data","isHtml","angle","width","height","editable",4,"ngIf"],["gdPageMarker","",3,"number","data","isHtml","angle","width","height","editable"]],template:function(t,i){1&t&&(s2(),U(0,PG,3,3,"div",0),H(1,"div",1)(2,"div",2),U(3,LG,2,10,"div",3),k(),l2(4),k()),2&t&&(w("ngIf",i.wait),L(2),w("ngClass",i.isDesktop?"panzoom":"panzoom mobile")("zoomActive",!0)("file",i.file),L(1),w("ngForOf",null==i.file?null:i.file.pages))},dependencies:function(){return[at,Q4,Ne,wh,Sh,fo,hs,IK,Zn]},styles:["[_nghost-%COMP%]{-webkit-box-flex:1;flex:1;-webkit-transition:.4s;transition:.4s;background-color:#e7e7e7;height:100%;overflow:scroll;touch-action:auto!important}[_nghost-%COMP%] .document[_ngcontent-%COMP%]{-webkit-user-select:text!important;-moz-user-select:text!important;-ms-user-select:text!important;user-select:text!important;touch-action:auto!important}.page[_ngcontent-%COMP%]{display:inline-block;background-color:#fff;margin:20px;box-shadow:0 3px 6px rgba(0,0,0,.16);-webkit-transition:.3s;transition:.3s}.page.excel[_ngcontent-%COMP%]{overflow:auto}.page.presentation[_ngcontent-%COMP%]{margin:0;-webkit-transition:unset;transition:unset}.page.presentation.active[_ngcontent-%COMP%]{margin:20px}.wait[_ngcontent-%COMP%]{position:absolute;top:55px;left:Calc(30%)}.panzoom[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;flex-wrap:wrap;-webkit-box-pack:center;justify-content:center;align-content:flex-start}@media (max-width:1037px){.page[_ngcontent-%COMP%]{min-width:unset!important;min-height:unset!important;margin:5px 0}}"]}),e})(),wh=(()=>{class e{constructor(){}ngOnInit(){/(MSIE|Trident\/|Edge\/)/i.test(navigator.userAgent)&&0===this.number&&(this.editable=!1)}ngOnChanges(t){this.isHtml?this.data=this.data?this.data.replace(/>\s+<").replace(/\uFEFF/g,""):null:this.data&&(this.imgData=this.data.startsWith("data:image")?this.data:"data:image/png;base64,"+this.data)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=I({type:e,selectors:[["gd-page"]],inputs:{editable:"editable",data:"data",angle:"angle",width:"width",height:"height",number:"number",isHtml:"isHtml"},features:[c2],decls:4,vars:5,consts:[["gdHostDynamic","",3,"id","ident"],["class","gd-wrapper","gdEditor","",3,"innerHTML","contentEditable","text",4,"ngIf"],["class","gd-page-image","alt","",3,"width","height",4,"ngIf"],["class","gd-page-spinner",4,"ngIf"],["gdEditor","",1,"gd-wrapper",3,"innerHTML","contentEditable","text"],["alt","",1,"gd-page-image"],[1,"gd-page-spinner"],[3,"icon","spin"]],template:function(t,i){1&t&&(H(0,"div",0),U(1,EG,2,5,"div",1),U(2,HG,2,7,"img",2),U(3,AG,4,6,"div",3),k()),2&t&&(Un("id","page-",i.number,""),w("ident",i.number),L(1),w("ngIf",i.data&&i.isHtml),L(1),w("ngIf",i.data&&!i.isHtml),L(1),w("ngIf",!i.data))},dependencies:function(){return[Ne,K2,SK,AK,Zn,co,so]},styles:[".gd-page-spinner[_ngcontent-%COMP%]{margin-top:150px;text-align:center}.gd-wrapper[_ngcontent-%COMP%]{width:inherit;height:inherit}.gd-wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:100%} .gd-highlight{background-color:#ff0} .gd-highlight-select{background-color:#ff9b00}"]}),e})(),co=(()=>{class e{constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustHtml(t)}}return e.\u0275fac=function(t){return new(t||e)(F(B3,16))},e.\u0275pipe=M1({name:"safeHtml",type:e,pure:!0}),e})(),so=(()=>{class e{constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustResourceUrl(t)}}return e.\u0275fac=function(t){return new(t||e)(F(B3,16))},e.\u0275pipe=M1({name:"safeResourceHtml",type:e,pure:!0}),e})(),wK=(()=>{class e{constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustStyle(t)}}return e.\u0275fac=function(t){return new(t||e)(F(B3,16))},e.\u0275pipe=M1({name:"safeStyle",type:e,pure:!0}),e})(),xK=(()=>{class e{transform(t,i){if(!i)return t;const r=new RegExp(i,"gi");return t.replace(r,"$&")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=M1({name:"highlight",type:e,pure:!0}),e})(),ls=(()=>{class e{constructor(t){this._uploadFilesService=t,this.closing=new _1,this.opening=new _1,this.dropped=new _1,this.active=!1,this.dragCounter=0}onDragEnter(t){t.preventDefault(),t.stopPropagation(),this.dragCounter++,this.active=!0,this.opening.emit(!0)}onDragOver(t){return t.preventDefault(),t.stopPropagation(),!1}onDragLeave(t){t.preventDefault(),t.stopPropagation(),this.dragCounter--,0===this.dragCounter&&(this.active=!1,this.closeArea())}onDrop(t){t.preventDefault(),t.stopPropagation();const i=t.dataTransfer.files;i.length>0&&(this.active=!1,this.dropped.emit(!0),this._uploadFilesService.changeFilesList(i),this.closeArea())}onClick(t){this.closeArea()}closeArea(){this.closing.emit(!0),this.opening.emit(!1)}}return e.\u0275fac=function(t){return new(t||e)(F(X3))},e.\u0275dir=G1({type:e,selectors:[["","gdDnd",""]],hostVars:2,hostBindings:function(t,i){1&t&&Z("dragenter",function(o){return i.onDragEnter(o)})("dragover",function(o){return i.onDragOver(o)})("dragleave",function(o){return i.onDragLeave(o)})("drop",function(o){return i.onDrop(o)})("click",function(o){return i.onClick(o)}),2&t&&A3("active",i.active)},outputs:{closing:"closing",opening:"opening",dropped:"dropped"}}),e})();const lo=P4;class wn{constructor(){}isBelowCenterOfTheScreen(n,t){const i=n.getBoundingClientRect(),r=t?t.getBoundingClientRect():{top:0},o=t?t.offsetHeight-parseFloat(window.getComputedStyle(t).paddingTop||"0"):Math.max(document.documentElement.clientHeight,window.innerHeight),a=i.top-r.top,l=o/2,u=i.height/2,m=i.bottom-r.top+40>=l&&a-l<=0,_=i.height-Math.abs(a)>=u;return m||_}checkInViewport(n,t=100,i=0,r=.5){if(!n)return!1;const o=r,s=lo(window),l_top=s.scrollTop(),l_left=s.scrollLeft()+i,l_right=s.scrollLeft()+s.width()-10,l_bottom=s.scrollTop()+s.height();isNaN(t)&&(t=100);const u=t/100,m=lo(n).outerHeight()*u,_=lo(n).outerWidth()*u;if(!_||!m)return!1;const y=lo(n).offset(),z=y.left*u+_,A=y.top*u+m;if(l_rightz||l_bottomA)return!1;const W_top=parseFloat(Math.min(1,(A-l_top)/m).toFixed(2)),W_bottom=parseFloat(Math.min(1,(l_bottom-y.top*u)/m).toFixed(2));return parseFloat(Math.min(1,(z-l_left)/_).toFixed(2))*parseFloat(Math.min(1,(l_right-y.left*u)/_).toFixed(2))>=o&&W_top*W_bottom>=.5}}wn.\u0275fac=function(n){return new(n||wn)},wn.\u0275prov=n1({token:wn,factory:wn.\u0275fac,providedIn:"root"}),wn.ngInjectableDef=n1({factory:function(){return new wn},token:wn,providedIn:"root"});const xh=P4;let zh=(()=>{class e{constructor(t,i,r,o,a,s){this._elementRef=t,this._navigateService=i,this._pagePreloadService=r,this._zoomService=o,this._windowService=a,this._viewportService=s,this.zoom=100,this.loadedPagesSet=new Set,this.zoom=o.zoom?o.zoom:this.zoom,o.zoomChange.subscribe(l=>{this.zoom=l||this.zoom,this.refresh()})}ngAfterViewInit(){this.zoom=this._zoomService.zoom?this._zoomService.zoom:this.zoom,this._navigateService.navigate.subscribe(t=>{this.currentPage=t,this.scrollToPage(t)}),this.refresh()}scrolling(){this.refresh()}resizing(){this.refresh()}scrollToPage(t){const i=this._elementRef.nativeElement,r=this.getPage(t),o=t>0?this.getPage(t-1):null,a=o&&xh(o).offset().top===xh(r).offset().top;if(this._viewportService.checkInViewport(r,this.zoom)&&a)return;const s=this.calculateOffset(t);i&&i.scroll({left:0,top:s})}getChildren(){const t=this._elementRef?this._elementRef.nativeElement:null;if(t)return t.children.item(0).children.item(0).children}getPage(t){const i=this._elementRef?this._elementRef.nativeElement:null;if(i)return i.children.item(0).children.item(0).children.item(t-1)}calculateOffset(t){const i=this._windowService.isFirefox()?1:this.countPagesOnWidth(),r=this._windowService.isDesktop()?40:10;let o=0;for(let a=1;a0?l*this.getZoom()+r:0}return o}countPagesOnWidth(){const t=this.getPage(1);if(t){const r=Math.floor((this.getWidth()-150)/(t.getBoundingClientRect().width*this.getZoom()));if(0!==r)return r}return 1}refresh(){let t,i=!1;const r=this.getPage(this.currentPage),o=this.currentPage&&r?r.getBoundingClientRect():null;for(t=1;t{class e{constructor(){this.mouseWheelUp=new _1,this.mouseWheelDown=new _1}onMouseWheelChrome(t){this.mouseWheelFunc(t)}onMouseWheelFirefox(t){this.mouseWheelFunc(t)}onMouseWheelIE(t){this.mouseWheelFunc(t)}mouseWheelFunc(t){t=window.event;const i=Math.max(-1,Math.min(1,t.wheelDelta||-t.detail));i>0?this.mouseWheelUp.emit(t):i<0&&this.mouseWheelDown.emit(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=G1({type:e,selectors:[["","gdMouseWheel",""]],hostBindings:function(t,i){1&t&&Z("mousewheel",function(o){return i.onMouseWheelChrome(o)})("DOMMouseScroll",function(o){return i.onMouseWheelFirefox(o)})("onmousewheel",function(o){return i.onMouseWheelIE(o)})},outputs:{mouseWheelUp:"mouseWheelUp",mouseWheelDown:"mouseWheelDown"}}),e})(),Sh=(()=>{class e{constructor(t,i,r){this._zoomService=t,this._windowService=i,this.zoomActive=!0,this.el=r}ngOnDestroy(){}ngOnChanges(){this.setStyles(this._zoomService.zoom),this.resizePages(this._zoomService.zoom)}ngOnInit(){!this.zoomActive||(this.setStyles(this._zoomService.zoom),this._zoomService.zoomChange.subscribe(t=>{this.setStyles(t),this.resizePages(t)}))}setStyles(t){if(!this.zoomActive)return;const i=100===t?1:t/100;this.zoomInt=this._windowService.isEdge()?i:null,this._windowService.isEdge()?(this.transform="",this.transformOrigin=""):(this.transform="scale("+i+")",this.transformOrigin="top left");let r=0;this.file.pages.forEach(o=>{o.width>r&&(r=o.width)}),this.minWidth=r+Pt.find(this.file.guid,!1).unit}getScrollWidth(t){return t.offsetWidth-t.clientWidth}getScrollHeight(t){return t.offsetHeight-t.clientHeight}resizePages(t){const i=100===t?1:t/100,r=this.el.nativeElement.parentElement.offsetWidth,o=this.el.nativeElement.parentElement.offsetHeight,a=this.getScrollWidth(this.el.nativeElement.parentElement),s=this.getScrollHeight(this.el.nativeElement.parentElement);this.width=r/i-a/i+"px",this.height=o/i-s/i+"px"}ngAfterViewInit(){this.setStyles(this._zoomService.zoom)}}return e.\u0275fac=function(t){return new(t||e)(F(ct),F(St),F(Re))},e.\u0275dir=G1({type:e,selectors:[["","gdZoom",""]],hostVars:12,hostBindings:function(t,i){2&t&&it("zoom",i.zoomInt)("transform",i.transform)("transform-origin",i.transformOrigin)("min-width",i.minWidth)("width",i.width)("height",i.height)},inputs:{zoomActive:"zoomActive",file:"file"},features:[c2]}),e})();class xn{constructor(){this._observer=new ce,this._onClose=this._observer.asObservable()}get onClose(){return this._onClose}close(n){this._observer.next(n)}}xn.\u0275fac=function(n){return new(n||xn)},xn.\u0275prov=n1({token:xn,factory:xn.\u0275fac,providedIn:"root"}),xn.ngInjectableDef=n1({factory:function(){return new xn},token:xn,providedIn:"root"});let fs=(()=>{class e{constructor(t){this._onCloseService=t,this.disabled=!1,this.selected=new _1,this.opened=new _1,this.isOpen=!1,t.onClose.subscribe(()=>{this.close()})}open(){this.disabled||(this.isOpen=!0)}close(){this.isOpen=!1}onClickOutside(t){this.close()}toggle(t){t.preventDefault(),t.stopPropagation(),this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.opened.emit(!0))}select(t,i){t.preventDefault(),t.stopPropagation(),this.selected.emit(i),this.close()}}return e.\u0275fac=function(t){return new(t||e)(F(xn))},e.\u0275cmp=I({type:e,selectors:[["gd-select"]],inputs:{disabled:"disabled",isOpen:"isOpen",options:"options",showSelected:"showSelected",icon:"icon"},outputs:{selected:"selected",opened:"opened"},decls:5,vars:5,consts:[[1,"select",3,"attachOutsideOnClick","click","touchstart","clickOutside"],["class","selected-value","gdDisabledCursor","",3,"dis",4,"ngIf"],[3,"icon",4,"ngIf"],["gdDisabledCursor","",1,"nav-caret",3,"dis"],["class","dropdown-menu",4,"ngIf"],["gdDisabledCursor","",1,"selected-value",3,"dis"],[3,"icon"],[1,"dropdown-menu"],[4,"ngFor","ngForOf"],["class","option",3,"click","touchstart",4,"ngIf"],["role","separator","class","dropdown-menu-separator",4,"ngIf"],[1,"option",3,"click","touchstart"],["role","separator",1,"dropdown-menu-separator"]],template:function(t,i){1&t&&(H(0,"div",0),Z("click",function(o){return i.toggle(o)})("touchstart",function(o){return i.toggle(o)})("clickOutside",function(o){return i.onClickOutside(o)}),U(1,IG,3,4,"div",1),U(2,kG,1,3,"fa-icon",2),b1(3,"span",3),U(4,RG,2,1,"div",4),k()),2&t&&(w("attachOutsideOnClick",!0),L(1),w("ngIf",!i.icon),L(1),w("ngIf",i.icon),L(1),w("dis",i.disabled),L(1),w("ngIf",i.isOpen))},dependencies:function(){return[Q4,Ne,K2,Gc,Ph,Zn]},styles:[".select[_ngcontent-%COMP%]{min-width:50px;display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;color:#959da5}.selected-value[_ngcontent-%COMP%]{font-size:14px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:clip;max-width:70px}.selected-value.inactive[_ngcontent-%COMP%]{cursor:not-allowed;color:#ccc}.nav-caret[_ngcontent-%COMP%]{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-right:4px solid transparent;border-left:4px solid transparent;cursor:pointer}.nav-caret.inactive[_ngcontent-%COMP%]{cursor:not-allowed;color:#ccc}.dropdown-menu[_ngcontent-%COMP%]{position:absolute;top:49px;z-index:1000;float:left;min-width:96px;list-style:none;font-size:13px;text-align:left;background-color:#fff;box-shadow:0 3px 6px rgba(0,0,0,.3);background-clip:padding-box}.dropdown-menu[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]{display:block;padding:7px 0 7px 7px;clear:both;font-weight:400;line-height:1.42857143;white-space:nowrap;cursor:pointer;font-size:10px}.dropdown-menu[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]:hover{background-color:#25c2d4;color:#fff!important}.dropdown-menu-separator[_ngcontent-%COMP%]{height:1px;overflow:hidden;background-color:#f4f4f4;padding:0!important}"]}),e})(),Ph=(()=>{class e{constructor(){}updateCursor(){this.cursor=!!this.dis}ngOnInit(){this.updateCursor()}ngOnChanges(t){this.updateCursor()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=G1({type:e,selectors:[["","gdDisabledCursor",""]],hostVars:2,hostBindings:function(t,i){2&t&&A3("inactive",i.cursor)},inputs:{dis:"dis"},features:[c2]}),e})(),fo=(()=>{class e{constructor(){this.withMargin=!0}updateCursor(){"string"==typeof this.angle&&(this.angle=parseInt(this.angle,10)),this.angle?(this.animation="none",this.transition="none",this.transform="rotate("+this.angle+"deg)"):0===this.angle&&this.animation&&(this.animation=null,this.transition=null,this.transform=null),this.withMargin&&(this.margin=90===this.angle||270===this.angle||-90===this.angle||-270===this.angle?this.isHtmlMode?this.isLandscape()?"164px 254px":"-111px 254px":this.isLandscape()?"129px 100px -79px":"-72px 100px -79px":-180===this.angle||180===this.angle?"280px":null)}isLandscape(){return this.width>this.height}ngOnInit(){this.updateCursor()}ngOnChanges(t){this.updateCursor()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=G1({type:e,selectors:[["","gdRotation",""]],hostVars:8,hostBindings:function(t,i){2&t&&it("animation",i.animation)("transition-property",i.transition)("transform",i.transform)("margin",i.margin)},inputs:{withMargin:"withMargin",angle:"angle",isHtmlMode:"isHtmlMode",width:"width",height:"height"},features:[c2]}),e})(),Th=(()=>{class e{constructor(){this.fileDropped=new _1,this.showUploadFile=!1}ngOnInit(){}dropped(t){t&&(this.fileDropped.emit(t),this.showUploadFile=!1)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=I({type:e,selectors:[["gd-init-state"]],inputs:{icon:"icon",text:"text"},outputs:{fileDropped:"fileDropped"},ngContentSelectors:Y2,decls:6,vars:4,consts:[["gdDnd","",1,"wrapper","gd-drag-n-drop-wrap",3,"dropped","opening"],[1,"init-state-wrapper"],[1,"icon",3,"icon"],[1,"start"],["class","init-state-dnd-wrapper",4,"ngIf"],[1,"init-state-dnd-wrapper"],["aria-hidden","true",1,"icon",3,"icon"],[1,"text"]],template:function(t,i){1&t&&(s2(),H(0,"div",0),Z("dropped",function(o){return i.dropped(o)})("opening",function(o){return i.showUploadFile=o}),H(1,"div",1),b1(2,"fa-icon",2),H(3,"span",3),l2(4),k()(),U(5,BG,4,3,"div",4),k()),2&t&&(L(2),w("icon",t2(2,i6,i.icon)),L(3),w("ngIf",i.showUploadFile))},dependencies:[Ne,K2,ls],styles:[".wrapper[_ngcontent-%COMP%]{color:#959da5;background-color:#e7e7e7;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;width:100%;height:100%}.icon[_ngcontent-%COMP%]{font-size:65px;margin-bottom:43px;display:-webkit-box;display:flex;color:#959da5}.start[_ngcontent-%COMP%]{font-size:15px;text-align:center;color:#959da5}.gd-drag-n-drop-wrap.active[_ngcontent-%COMP%]{background-color:#fff;position:fixed;top:0;background:rgba(255,255,255,.8)}.gd-drag-n-drop-wrap.active[_ngcontent-%COMP%] .init-state-wrapper[_ngcontent-%COMP%]{position:absolute;opacity:.2;top:unset}.gd-drag-n-drop-wrap.active[_ngcontent-%COMP%] .init-state-dnd-wrapper[_ngcontent-%COMP%]{top:0;z-index:999}.gd-drag-n-drop-wrap.active[_ngcontent-%COMP%] .init-state-dnd-wrapper[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:113px;height:90px;font-size:90px;color:#3e4e5a;margin-bottom:30px}.gd-drag-n-drop-wrap.active[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#6e6e6e;font-size:14px}.init-state-dnd-wrapper[_ngcontent-%COMP%], .init-state-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;width:250px;height:250px;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}.init-state-wrapper[_ngcontent-%COMP%]{top:-60px;position:relative}"]}),e})(),uo=(()=>{class e{constructor(){this._render=new ge(t=>this._observer=t),this._renderBlob=new ge(t=>this._observerBlob=t)}get renderPrint(){return this._render}changePages(t){this._observer.next(t)}get renderPrintBlob(){return this._renderBlob}changeBlob(t){this._observerBlob.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),Lh=(()=>{class e{constructor(t){this._renderService=t,t.renderPrint.subscribe(i=>{this.renderPrint(i)}),t.renderPrintBlob.subscribe(i=>{this.renderPrintBlob(i)})}renderPrint(t){let i="";for(const r of t){const o=r.data.startsWith("data:image")?r.data:"data:image/png;base64,"+r.data;i+='
'}this.openWindow(i,t[0].width,t[0].height)}openWindow(t,i,r){let s="";if(i>595&&r>842){const m=Math.round(r/842)/100;s=".gd-page img { width: 100%; margin: 0; padding: 0;}",navigator.userAgent.toLowerCase().indexOf("firefox")>-1&&(s=".gd-page img { transform: scale("+m+");}")}let l="";const u=window.open("","PrintWindow","width=750,height=650,top=50,left=50,toolbars=yes,scrollbars=yes,status=yes,resizable=yes");u.focus(),u.document.writeln(l),u.document.writeln(t),u.document.close(),setTimeout(()=>{u.focus(),u.print(),u.close()},100)}renderPrintBlob(t){const i="print-window",r=window.URL.createObjectURL(t);let o=document.getElementById(i);o&&o.remove(),o=document.createElement("iframe"),o.setAttribute("style","visibility: hidden; height: 0; width: 0; position: absolute; border: 0"),o.setAttribute("id",i),o.setAttribute("src",r),document.getElementsByTagName("body")[0].appendChild(o);const a=document.getElementById(i);setTimeout(()=>this.doPrint(a),1e3)}doPrint(t){try{t.focus(),t.contentWindow.document.execCommand("print",!1)}catch(i){t.contentWindow.print()}finally{t.style.visibility="hidden",t.style.left="-1px"}}}return e.\u0275fac=function(t){return new(t||e)(F(uo))},e.\u0275dir=G1({type:e,selectors:[["","gdRenderPrint",""]],inputs:{htmlMode:"htmlMode"}}),e})(),Q3=(()=>{class e{constructor(){this._observer=new _c("Server is not available"),this._messageChange=this._observer.asObservable(),this._observerHttpEvent=new _c(null),this._httpEventChange=this._observerHttpEvent.asObservable()}get messageChange(){return this._messageChange}get httpEventChange(){return this._httpEventChange}changeMessage(t){this._observer.next(t)}changeHttpEvent(t){this._observerHttpEvent.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),Eh=(()=>{class e{constructor(t){t.messageChange.subscribe(i=>this.message=i)}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(F(Q3))},e.\u0275cmp=I({type:e,selectors:[["gd-error-modal"]],decls:11,vars:11,consts:[["id","gd-error-message",3,"title"],["id","gd-error-section"],[3,"icon"],[1,"gd-modal-error"],[1,"gd-modal-error-title"],[1,"gd-modal-error-message"]],template:function(t,i){1&t&&(H(0,"gd-modal",0),f1(1,"translate"),H(2,"section",1),b1(3,"fa-icon",2),H(4,"div",3)(5,"div",4),D1(6),f1(7,"translate"),k(),H(8,"div",5),D1(9),f1(10,"translate"),k()()()()),2&t&&(Y1("title",u1(1,4,"Error")),L(3),w("icon",P2(10,jG)),L(3),Pe(u1(7,6,"Something went wrong")),L(3),Pe(u1(10,8,i.message?i.message:"Server is not available")))},dependencies:[K2,ao,Zn],styles:[".gd-modal-error[_ngcontent-%COMP%]{display:-webkit-inline-box;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-flex:1;flex:1}.gd-modal-error[_ngcontent-%COMP%] .gd-modal-error-message[_ngcontent-%COMP%]{font-size:12px;margin:0 24px 24px 0;word-break:break-word}.gd-modal-error[_ngcontent-%COMP%] .gd-modal-error-title[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:14px 0 10px}#gd-error-section[_ngcontent-%COMP%]{max-width:468px;max-height:204px;display:-webkit-box;display:flex}#gd-error-section[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;color:#e04e4e;font-size:40px;margin:13px 23px 90px;text-align:center;max-width:46px}"]}),e})(),ho=(()=>{class e{constructor(){this._observer=new ce,this._passChange=this._observer.asObservable()}get passChange(){return this._passChange}setPassword(t){this._observer.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})();const us=P4;let Hh=(()=>{class e{constructor(t,i){this._passwordService=i,this.cancelEvent=new _1,t.messageChange.subscribe(r=>this.message=r)}ngOnInit(){}setPassword(t){this._passwordService.setPassword(t)}onCloseOpen(t){t?setTimeout(()=>{const i=us("#password");i&&i.focus()},100):us("#password").val("")}cancel(t){us("#password").val(""),this.cancelEvent.emit(!0)}}return e.\u0275fac=function(t){return new(t||e)(F(Q3),F(ho))},e.\u0275cmp=I({type:e,selectors:[["gd-password-required"]],outputs:{cancelEvent:"cancelEvent"},decls:15,vars:18,consts:[["id","gd-password-required",3,"title","cancel","visible"],["id","gd-password-section"],[1,"gd-password-wrap"],["for","password"],["type","password","id","password",1,"form-control",3,"ngClass","keyup.enter"],["pass",""],[1,"gd-password-error"],[3,"icon","intent","iconOnly","click"]],template:function(t,i){if(1&t){const r=r1();H(0,"gd-modal",0),Z("cancel",function(a){return i.cancel(a)})("visible",function(a){return i.onCloseOpen(a)}),f1(1,"translate"),H(2,"section",1)(3,"div",2)(4,"label",3),D1(5),f1(6,"translate"),k(),H(7,"input",4,5),Z("keyup.enter",function(){q(r);const a=E3(8);return $(i.setPassword(a.value))}),k(),H(9,"span",6),D1(10),f1(11,"translate"),k(),H(12,"gd-button",7),Z("click",function(){q(r);const a=E3(8);return $(i.setPassword(a.value))}),D1(13),f1(14,"translate"),k()()()()}2&t&&(Y1("title",u1(1,8,"Password protected document")),L(5),Pe(u1(6,10,"Password")),L(2),w("ngClass",t2(16,UG,i.message)),L(3),Pe(u1(11,12,i.message)),L(2),w("icon","key")("intent","brand")("iconOnly",!1),L(1),g2(" ",u1(14,14,"Open")," "))},dependencies:[at,E4,ao,Zn],styles:["#gd-password-section[_ngcontent-%COMP%]{width:375px;height:164px}.gd-password-wrap[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;margin:24px}.gd-password-wrap[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:14px;color:#acacac;padding-bottom:12px}.gd-password-wrap[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{height:30px;border:1px solid #25c2d4}.gd-password-wrap[_ngcontent-%COMP%] input.error[_ngcontent-%COMP%]{border-color:#e04e4e}.gd-password-wrap[_ngcontent-%COMP%] gd-button[_ngcontent-%COMP%]{align-self:flex-end}.gd-password-wrap[_ngcontent-%COMP%] .button{height:37px;padding:0 10px;-webkit-box-pack:center;justify-content:center}.gd-password-wrap[_ngcontent-%COMP%] .button .text{font-size:10px!important}.gd-password-error[_ngcontent-%COMP%]{color:#e04e4e;padding:10px 0 12px;height:12px;line-height:12px;font-size:12px}@media (max-width:1037px){#gd-password-section[_ngcontent-%COMP%]{min-width:375px}}"]}),e})();class Tt{constructor(n,t){this._modalService=n,this._messageService=t}intercept(n,t){const i="background: maroon; color: white";return t.handle(n).pipe(_e(r=>r),td(r=>{if(r instanceof hc)switch(r.status){case Y3.BadRequest:console.error("%c Bad Request 400",i);break;case Y3.Unauthorized:console.error("%c Unauthorized 401",i);break;case Y3.NotFound:console.error("%c Not Found 404",i);break;case Y3.TimeOut:console.error("%c TimeOut 408",i);break;case Y3.InternalServerError:console.error("%c big bad 500",i),this._messageService.changeMessage(r.error.message),this._messageService.changeHttpEvent(r),this._modalService.open(Tt.ErrorMessageWindowName);break;case Y3.Forbidden:console.error("%c Forbidden 403",i),this._messageService.changeMessage(r.error.message),this._modalService.open(gi.PasswordRequired)}return function Hx(e,n){const t=j1(e)?e:()=>e,i=r=>r.error(t());return new ge(n?r=>n.schedule(i,0,r):i)}(r)}))}}Tt.\u0275fac=function(n){return new(n||Tt)(l1(E6),l1(Q3))},Tt.\u0275prov=n1({token:Tt,factory:Tt.\u0275fac,providedIn:"root"}),Tt.ErrorMessageWindowName=gi.ErrorMessage,Tt.ngInjectableDef=n1({factory:function(){return new Tt(l1(E6),l1(Q3))},token:Tt,providedIn:"root"});let ds=(()=>{class e{constructor(){this._observer=new ce,this._textChange=this._observer.asObservable(),this._observerCurrent=new ce,this._currentChange=this._observerCurrent.asObservable(),this._observerTotal=new ce,this._totalChange=this._observerTotal.asObservable()}get textChange(){return this._textChange}setText(t){this._observer.next(t)}get currentChange(){return this._currentChange}get totalChange(){return this._totalChange}setCurrent(t){this._observerCurrent.next(t)}setTotal(t){this._observerTotal.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),Ah=(()=>{class e{constructor(t){this._searchService=t,this.hidePanel=new _1(!1),this.current=0,this.total=0,t.totalChange.subscribe(i=>{this.total=i,this.current=0!==i?1:0,this._searchService.setCurrent(this.current)})}ngOnInit(){}setText(t){setTimeout(()=>{this._searchService.setText(t)},0),this.textElement.nativeElement.value!==t&&(this.textElement.nativeElement.value=t)}hide(){this.setText(""),this.hidePanel.emit(!0)}prev(){this.current>1&&(this.current--,this._searchService.setCurrent(this.current))}next(){this.current{class e{constructor(t,i,r){this._elementRef=t,this._searchService=i,this._zoomService=r,this.current=0,this.total=0,this.zoom=100,this._searchingObserver=new ce,this._searching=this._searchingObserver.asObservable(),this._searchingFlag=!1,i.currentChange.subscribe(o=>{this.current=o,0!==this.current&&this.moveToCurrent()}),i.textChange.pipe(Ju(500)).pipe(ed()).subscribe(o=>{this.text=o,this._searchingFlag||(this._searchingFlag=!0,this.setSearching(this._searchingFlag))}),this.zoom=r.zoom?r.zoom:this.zoom,r.zoomChange.subscribe(o=>{this.zoom=o||this.zoom}),this.searching.subscribe(o=>{this._searchingFlag=o,o?this.highlightSearch():this.text!==this.prevText&&(this._searchingFlag=!0,this.highlightSearch())})}get searching(){return this._searching}setSearching(t){this._searchingObserver.next(t)}highlightSearch(){this._searchingFlag=!0;const t=this._elementRef?this._elementRef.nativeElement:null;setTimeout(()=>{if(this.prevText=this.text,t&&(this.prevText?(this.cleanHighlight(t),this.highlightEl(t)):this.cleanHighlight(t)),this.prevText){const i=t.querySelectorAll("mark").length;this.total=i}else this.total=0;this._searchService.setTotal(this.total),this.setSearching(!1)},0)}moveToCurrent(){if(0===this.current)return;this.getZoom();const i=this._elementRef?this._elementRef.nativeElement:null;if(i){i.querySelectorAll(".gd-highlight-select").forEach(function(o){vi(o).removeClass("gd-highlight-select")});const r=i.querySelectorAll("mark")[this.current-1];if(vi(r).addClass("gd-highlight-select"),r){const o={left:0,top:vi(r).offset().top+i.parentElement.parentElement.scrollTop-150};i.parentElement.parentElement.scroll(o)}}}highlightEl(t){const i=vi(t).find("*").contents().filter(function(){const s=this.parentElement.nodeName.toLowerCase(),l=!this.classList||!this.classList.contains("gd-highlight");return 3===this.nodeType&&0!==this.textContent.trim().length&&"style"!==s&&"title"!==s&&"body"!==s&&"script"!==s&&l}),r=this.text,o=new RegExp(r,"gi"),a=new RegExp(`(${r})`,"gi");i.each(function(){const s=vi(this),l=s.text();if(l&&o.test(l)){const u=[...l.matchAll(a)].map(y=>y[0]).map(y=>`${y}`),_=l.split(o).map(y=>y.replace(//g,">")).map((y,z)=>y.concat(u[z]?u[z]:"")).join("");s.replaceWith(_)}}),t.normalize()}cleanHighlight(t){t.querySelectorAll("mark").forEach(r=>{r.replaceWith(r.innerText)}),t.normalize()}getZoom(){return this.zoom/100}}return e.\u0275fac=function(t){return new(t||e)(F(Re),F(ds),F(ct))},e.\u0275dir=G1({type:e,selectors:[["","gdSearchable",""]]}),e})(),ps=(()=>{class e{constructor(){this._observer=new ce,this._activeTabChange=this._observer.asObservable()}get activeTabChange(){return this._activeTabChange}changeActiveTab(t){this._observer.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),_i=(()=>{class e{constructor(){this._observerBold=new ce,this._formatBoldChange=this._observerBold.asObservable(),this._observerUnderline=new ce,this._formatUnderlineChange=this._observerUnderline.asObservable(),this._observerUndo=new ce,this._undo=this._observerUndo.asObservable(),this._observerRedo=new ce,this._redo=this._observerRedo.asObservable(),this._observerItalic=new ce,this._formatItalicChange=this._observerItalic.asObservable(),this._observerColor=new ce,this._formatColorChange=this._observerColor.asObservable(),this._observerBgColor=new ce,this._formatBgColorChange=this._observerBgColor.asObservable(),this._observerFontSize=new ce,this._formatFontSizeChange=this._observerFontSize.asObservable(),this._observerFont=new ce,this._formatFontChange=this._observerFont.asObservable(),this._observerStrikeout=new ce,this._formatStrikeoutChange=this._observerStrikeout.asObservable(),this._observerAlign=new ce,this._formatAlignChange=this._observerAlign.asObservable(),this._observerList=new ce,this._formatListChange=this._observerList.asObservable()}get formatBoldChange(){return this._formatBoldChange}get formatUnderlineChange(){return this._formatUnderlineChange}get formatColorChange(){return this._formatColorChange}get formatBgColorChange(){return this._formatBgColorChange}get formatFontSizeChange(){return this._formatFontSizeChange}get formatFontChange(){return this._formatFontChange}get undo(){return this._undo}get redo(){return this._redo}get formatItalicChange(){return this._formatItalicChange}get formatStrikeoutChange(){return this._formatStrikeoutChange}get formatAlignChange(){return this._formatAlignChange}get formatListChange(){return this._formatListChange}static createFontSizeOption(t){return{value:t,name:t+"px",separator:!1}}static getFontSizeOptions(){return[e.createFontSizeOption(8),e.createFontSizeOption(10),e.createFontSizeOption(12),e.createFontSizeOption(14),e.createFontSizeOption(16),e.createFontSizeOption(18),e.createFontSizeOption(20),e.createFontSizeOption(22),e.createFontSizeOption(24)]}static createFontOption(t){return{value:t,name:t,separator:!1}}static getFontOptions(){const i=[];return["Arial","Calibri","Century Gothic","Comic Sans","Consolas","Courier","Dejavu Sans","Dejavu Serif","Georgia","Gill Sans","Helvetica","Impact","Lucida Sans","Myriad Pro","Open Sans","Palatino","Tahoma","Times New Roman","Trebuchet"].forEach(r=>{i.push(this.createFontOption(r))}),i}changeFormatFontSize(t){this._observerFontSize.next(t)}changeFormatBold(t){this._observerBold.next(t)}changeFormatUnderline(t){this._observerUnderline.next(t)}Undo(){this._observerUndo.next()}Redo(){this._observerRedo.next()}changeFormatItalic(t){this._observerItalic.next(t)}changeFormatColor(t){this._observerColor.next(t)}changeFormatBgColor(t){this._observerBgColor.next(t)}changeFormatFont(t){this._observerFont.next(t)}changeFormatStrikeout(t){this._observerStrikeout.next(t)}changeFormatAlign(t){this._observerAlign.next(t)}changeFormatList(t){this._observerList.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})();class Gn extends _i{constructor(){super()}}Gn.\u0275fac=function(n){return new(n||Gn)},Gn.\u0275prov=n1({token:Gn,factory:Gn.\u0275fac,providedIn:"root"}),Gn.ngInjectableDef=n1({factory:function(){return new Gn},token:Gn,providedIn:"root"});class Kn{constructor(){this.isIE=!!/(MSIE|Trident\/|Edge\/)/i.test(navigator.userAgent)}restoreSelection(){(this.selection&&!this.selection.collapsed||this.isIE)&&this.putSelection(this.selection)}captureSelection(){const n=window.getSelection();n.rangeCount>0&&(this.selection=n.getRangeAt(0))}putSelection(n){const t=window.getSelection();t.removeAllRanges(),t.addRange(n.cloneRange())}refreshSelection(){this.captureSelection(),this.restoreSelection()}}Kn.\u0275fac=function(n){return new(n||Kn)},Kn.\u0275prov=n1({token:Kn,factory:Kn.\u0275fac,providedIn:"root"}),Kn.ngInjectableDef=n1({factory:function(){return new Kn},token:Kn,providedIn:"root"});class A4{constructor(){this._observer=new ce,this._htmlContent=this._observer.asObservable()}get observer(){return this._observer}get htmlContent(){return this._htmlContent}}A4.\u0275fac=function(n){return new(n||A4)},A4.\u0275prov=n1({token:A4,factory:A4.\u0275fac,providedIn:"root"}),A4.ngInjectableDef=n1({factory:function(){return new A4},token:A4,providedIn:"root"});let SK=(()=>{class e{constructor(t,i){this._selectionService=t,this._htmlService=i,this.isIE=!!/(MSIE|Trident\/|Edge\/)/i.test(navigator.userAgent)}onInput(t){if(this.text=t.target,this.isIE&&this.text.innerHTML){const i=this.text.innerHTML.toString();this._htmlService.observer.next(i)}}onMouseleave(t){this._selectionService.captureSelection(),this.isIE&&this._htmlService.observer.next(t.target.innerHTML.toString())}onBlur(t){if(t.preventDefault(),this._selectionService.restoreSelection(),this.text.innerHTML){const i=this.text.innerHTML.toString();this._htmlService.observer.next(i)}else this._htmlService.observer.next(t.target.innerHTML.toString())}}return e.\u0275fac=function(t){return new(t||e)(F(Kn),F(A4))},e.\u0275dir=G1({type:e,selectors:[["","gdEditor",""]],hostBindings:function(t,i){1&t&&Z("keyup",function(o){return i.onInput(o)})("mouseleave",function(o){return i.onMouseleave(o)})("blur",function(o){return i.onBlur(o)})},inputs:{text:"text"}}),e})(),r6=(()=>{class e{constructor(){this.onLoadingChanged=new _1,this.stopList=[],this.requests=[],this.stopList.push(e1.SAVE_TEXT),this.stopList.push(e1.SAVE_OPTICAL_CODE),this.stopList.push(e1.LOAD_DOCUMENT_PAGE),this.stopList.push(e1.LOAD_THUMBNAILS),this.stopList.push(e1.GET_FILE_STATUS),this.stopList.push(e1.LOAD_PRINT)}onRequestStart(t){this.stopList.find(r=>t.url.includes(r))||(this.requests.push(t),this.notify())}onRequestFinish(t){const i=this.requests.indexOf(t);-1!==i&&this.requests.splice(i,1),this.notify()}addStopUrl(t){this.stopList.push(t)}notify(){this.onLoadingChanged.emit(0!==this.requests.length)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),Ih=(()=>{class e{constructor(t){this._loadingMaskService=t,this.loadingMask=!1}ngOnInit(){}ngAfterViewInit(){this._loadingMaskService.onLoadingChanged.subscribe(t=>this.loadingMask=t)}}return e.\u0275fac=function(t){return new(t||e)(F(r6))},e.\u0275cmp=I({type:e,selectors:[["gd-loading-mask"]],inputs:{loadingMask:"loadingMask"},decls:1,vars:1,consts:[["class","loading-wrapper",4,"ngIf"],[1,"loading-wrapper"],[1,"loading-message"],[3,"icon","spin"]],template:function(t,i){1&t&&U(0,YG,5,6,"div",0),2&t&&w("ngIf",i.loadingMask)},dependencies:[Ne,K2,Zn],styles:[".loading-wrapper[_ngcontent-%COMP%]{background:rgba(0,0,0,.5);width:100%;height:100%;font-size:14px;color:#fff;position:fixed;top:0;left:0;z-index:99999}.loading-message[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}"]}),e})();class Yn{constructor(n){this._loadingMaskService=n}intercept(n,t){return this._loadingMaskService.onRequestStart(n),t.handle(n).pipe(function Bx(e){return He((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}(()=>this._loadingMaskService.onRequestFinish(n)))}}Yn.\u0275fac=function(n){return new(n||Yn)(l1(r6))},Yn.\u0275prov=n1({token:Yn,factory:Yn.\u0275fac,providedIn:"root"}),Yn.ngInjectableDef=n1({factory:function(){return new Yn(l1(r6))},token:Yn,providedIn:"root"});const PK={center:{right:"auto"},left:{right:"100%"},right:{right:"-100%"}},TK={center:{top:"0px"},top:{top:"-100%",right:"100%"},bottom:{top:"autos"}};let LK=(()=>{class e{constructor(t){this.dropdown=t,this.click=i=>this.dropdown.toggle(i)}}return e.\u0275fac=function(t){return new(t||e)(F(ye(()=>po)))},e.\u0275cmp=I({type:e,selectors:[["gd-drop-down-toggle"]],hostBindings:function(t,i){1&t&&Z("click",function(o){return i.click(o)})},ngContentSelectors:Y2,decls:1,vars:0,template:function(t,i){1&t&&(s2(),l2(0))},styles:[rs],encapsulation:2}),e})(),EK=(()=>{class e{constructor(t){this.dropdown=t}get horizontalAlign(){return PK[this.dropdown.getPlacement().h].right}get verticalAlign(){return TK[this.dropdown.getPlacement().v].top}get isOpen(){return this.dropdown.open}onClickOutside(t){this.dropdown.close()}}return e.\u0275fac=function(t){return new(t||e)(F(ye(()=>po)))},e.\u0275cmp=I({type:e,selectors:[["gd-drop-down-items"]],ngContentSelectors:Y2,decls:2,vars:5,consts:[[1,"drop-down-items",3,"clickOutsideEnabled","clickOutside"]],template:function(t,i){1&t&&(s2(),H(0,"div",0),Z("clickOutside",function(o){return i.onClickOutside(o)}),l2(1),k()),2&t&&(it("right",i.horizontalAlign)("top",i.verticalAlign),w("clickOutsideEnabled",i.isOpen))},dependencies:[Gc],styles:[rs],encapsulation:2}),e})(),HK=(()=>{class e{constructor(t){this.dropdown=t,this.class="drop-down-item",this.selected=new _1,this.click=()=>this.selectEntry()}selectEntry(){this.selected.next(),this.dropdown.close()}}return e.\u0275fac=function(t){return new(t||e)(F(ye(()=>po)))},e.\u0275cmp=I({type:e,selectors:[["gd-drop-down-item"]],hostVars:2,hostBindings:function(t,i){1&t&&Z("click",function(){return i.click()}),2&t&&rt(i.class)},outputs:{selected:"selected"},ngContentSelectors:Y2,decls:2,vars:0,consts:[[1,"drop-down-item"]],template:function(t,i){1&t&&(s2(),H(0,"div",0),l2(1),k())},styles:[".drop-down[_ngcontent-%COMP%]{position:relative}.show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:absolute;z-index:1000;min-width:100%;max-height:300px;padding:0;background-color:#fff;box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box;overflow-y:auto;overflow-x:hidden}.show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%] .drop-down-item[_ngcontent-%COMP%], .show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%] gd-drop-down-item[_ngcontent-%COMP%]{color:#959da5;display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-box-pack:justify;justify-content:space-between;cursor:pointer;font-size:10px;line-height:28px;min-height:28px;width:100%}.show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%] .drop-down-item[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%], .show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%] gd-drop-down-item[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin:0 10px;color:#959da5}.show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%] .drop-down-item[_ngcontent-%COMP%] .text[_ngcontent-%COMP%], .show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%] gd-drop-down-item[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{width:100%;margin-right:10px}.show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%] .drop-down-item[_ngcontent-%COMP%]:hover, .show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%] gd-drop-down-item[_ngcontent-%COMP%]:hover{background-color:#25c2d4}.show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%] .drop-down-item[_ngcontent-%COMP%]:hover *[_ngcontent-%COMP%], .show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%] gd-drop-down-item[_ngcontent-%COMP%]:hover *[_ngcontent-%COMP%]{color:#fff}.drop-down-items[_ngcontent-%COMP%]{display:none}"]}),e})(),po=(()=>{class e{constructor(){this.placement={h:"center",v:"bottom"},this.open=!1,this.class="drop-down"}close(){this.open=!1}toggle(t){t.stopPropagation(),this.open=!this.open,document.body.click()}getPlacement(){return this.placement}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=I({type:e,selectors:[["gd-drop-down"]],hostVars:4,hostBindings:function(t,i){2&t&&(rt(i.class),A3("show",i.open))},inputs:{placement:"placement",open:"open"},ngContentSelectors:Y2,decls:2,vars:0,consts:[[1,"drop-down"]],template:function(t,i){1&t&&(s2(),H(0,"div",0),l2(1),k())},styles:[rs],encapsulation:2}),e})(),kh=(()=>{class e{constructor(){this.showToolTip=new _1}onHovering(){this.showToolTip.emit(!0)}onUnhovering(){this.showToolTip.emit(!1)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=G1({type:e,selectors:[["","gdTooltip",""]],hostBindings:function(t,i){1&t&&Z("mouseenter",function(){return i.onHovering()})("mouseleave",function(){return i.onUnhovering()})},outputs:{showToolTip:"showToolTip"}}),e})();class N4{constructor(n,t){this._factoryResolver=n,this._appRef=t}addDynamicComponent(n,t){const i=this._factoryResolver.resolveComponentFactory(t),r=n.createComponent(i);return r.onDestroy(()=>{this._appRef.detachView(r.hostView)}),r}}N4.\u0275fac=function(n){return new(n||N4)(l1(d3),l1(K0))},N4.\u0275prov=n1({token:N4,factory:N4.\u0275fac,providedIn:"root"}),N4.ngInjectableDef=n1({factory:function(){return new N4(l1(d3),l1(K0))},token:N4,providedIn:"root"});let Vh=(()=>{class e{constructor(){this.hosts=[]}add(t){this.hosts=this.hosts.filter(function(i){return i.ident!==t.ident}),this.hosts.push(t)}remove(t){this.hosts=this.hosts.filter(function(i){return i.ident!==t.ident})}find(t){return this.hosts.find(function(i){return i.ident===t})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),AK=(()=>{class e{constructor(t,i){this.viewContainerRef=t,this._hostingService=i}ngAfterViewInit(){this._hostingService.add(this)}ngOnDestroy(){this._hostingService.remove(this),this.viewContainerRef.clear()}}return e.\u0275fac=function(t){return new(t||e)(F(gn),F(Vh))},e.\u0275dir=G1({type:e,selectors:[["","gdHostDynamic",""]],inputs:{ident:"ident"}}),e})(),Fh=(()=>{class e extends ps{constructor(){super()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),IK=(()=>{class e{constructor(t,i,r){this._zoomService=t,this._windowService=i,this.naming={sectionSelector:"section.section",markerSelector:"span.page8marker",headerSelector:"header.header",contentSelector:"article.content",footerSelector:"footer.footer"},this.config={attributes:!0,attributeOldValue:!0,childList:!0,subtree:!0,characterData:!0,characterDataOldValue:!0,attributeFilter:["style","class"]},this.el=r}ngAfterViewInit(){const t=document.querySelectorAll(this.naming.sectionSelector);for(let i=0;i{l.remove()}),this.processSection(a),i.takeRecords()}}processSection(t){const i=this.processHeader(t),r=this.processFooter(t),a=getComputedStyle(t,null).getPropertyValue("min-height"),l=parseFloat(a)-i-r,u=this.processContent(t);let m=l;for(;m").forEach(y=>{t.appendChild(y)}),m+=l}processHeader(t){return t.querySelector(this.naming.headerSelector).getBoundingClientRect().height}processContent(t){const i=t.querySelector(this.naming.contentSelector),r=i.getBoundingClientRect().height,o=getComputedStyle(i,null),a=o.getPropertyValue("padding-bottom"),s=o.getPropertyValue("padding-top");return r-parseFloat(a)-parseFloat(s)}processFooter(t){return t.querySelector(this.naming.footerSelector).getBoundingClientRect().height}htmlToElements(t){const i=document.createElement("template");return i.innerHTML=t,i.content.childNodes}}return e.\u0275fac=function(t){return new(t||e)(F(ct),F(St),F(Re))},e.\u0275dir=G1({type:e,selectors:[["","gdPageMarker",""]]}),e})(),Bh=(()=>{class e{constructor(t,i){this._navigateService=t,this._zoomService=i,this.selectedPage=new _1}ngOnInit(){}ngOnChanges(){this.pages&&this.pages.forEach(t=>{t.data&&(t.data=t.data.replace(/>\s+<").replace(/\uFEFF/g,""))})}ngAfterViewInit(){this._zoomService.changeZoom(this._zoomService.zoom)}ngOnDestroy(){setTimeout(()=>{this._zoomService.changeZoom(this._zoomService.zoom)},100)}imgData(t){return t?t.startsWith("data:image")?t:"data:image/png;base64,"+t:null}getScale(t,i){return Math.min(190/t,190/i)}openPage(t){this.selectedPage.emit(t),this._navigateService.navigateTo(t)}getDimensionWithUnit(t){return t+Pt.find(this.guid,!1).unit}emptyThumbData(t){return`
${t}
`}}return e.\u0275fac=function(t){return new(t||e)(F(v2),F(ct))},e.\u0275cmp=I({type:e,selectors:[["gd-thumbnails"]],inputs:{pages:"pages",guid:"guid",mode:"mode",isHtmlMode:"isHtmlMode"},outputs:{selectedPage:"selectedPage"},features:[c2],decls:3,vars:1,consts:[[1,"gd-thumbnails"],[1,"gd-thumbnails-panzoom"],["class","gd-page","gdRotation","",3,"id","withMargin","angle","isHtmlMode","width","height","click",4,"ngFor","ngForOf"],["gdRotation","",1,"gd-page",3,"id","withMargin","angle","isHtmlMode","width","height","click"],["class","gd-wrapper",3,"height","width","ngStyle","innerHTML",4,"ngIf"],["class","gd-wrapper",3,"height","width","ngStyle",4,"ngIf"],[1,"gd-wrapper",3,"ngStyle","innerHTML"],[1,"gd-wrapper",3,"ngStyle"],["alt","",1,"gd-page-image",2,"width","inherit !important"]],template:function(t,i){1&t&&(H(0,"div",0)(1,"div",1),U(2,gK,4,9,"div",2),k()()),2&t&&(L(2),w("ngForOf",i.pages))},dependencies:[Q4,Ne,J8,fo,co,so],styles:["[_nghost-%COMP%]{-webkit-box-flex:0;flex:0 0 300px;background:#f5f5f5;color:#fff;overflow-y:auto;display:block;-webkit-transition:margin-left .2s;transition:margin-left .2s;height:100%}.gd-page[_ngcontent-%COMP%]{width:272px;height:272px;-webkit-transition:.3s;transition:.3s;background-color:#e7e7e7;cursor:pointer;margin:14px 14px 0}.gd-page[_ngcontent-%COMP%]:hover{background-color:silver}.gd-wrapper[_ngcontent-%COMP%]{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);left:50%;top:50%;position:relative;background-color:#fff;box-shadow:0 4px 12px -4px rgba(0,0,0,.38);pointer-events:none}.gd-wrapper[_ngcontent-%COMP%] img{width:inherit}.gd-thumbnails[_ngcontent-%COMP%]::-webkit-scrollbar{width:0;background-color:#f5f5f5}.gd-thumbnails-panzoom[_ngcontent-%COMP%] > .gd-thumbnails-landscape[_ngcontent-%COMP%]{margin:-134px 0 -1px 12px}.gd-thumbnails[_ngcontent-%COMP%] .gd-page-image[_ngcontent-%COMP%]{height:inherit}.gd-thumbnails-landscape-image[_ngcontent-%COMP%]{margin:-90px 0 -23px!important}.gd-thumbnails-landscape-image-rotated[_ngcontent-%COMP%]{margin:126px 0 -3px -104px!important}"]}),e})(),jh=(()=>{class e{constructor(t,i,r,o,a,s){this._elementRef=t,this._navigateService=i,this._pagePreloadService=r,this._zoomService=o,this._windowService=a,this._viewportService=s,this.loadedPagesSet=new Set}ngAfterViewInit(){this.refresh(),ri(window,"resize").pipe(rd(100,void 0,{trailing:!0})).subscribe(()=>this.refresh()),ri(this._elementRef.nativeElement,"scroll").pipe(rd(100,void 0,{trailing:!0})).subscribe(()=>this.refresh()),this._zoomService.zoomChange.pipe(function $x(e,n=$r){const t=id(e,n);return od(()=>t)}(300)).subscribe(()=>this.refresh()),this._navigateService.navigate.subscribe(t=>{this.currentPage=t,this.scrollToPage(t)})}scrollToPage(t){const i=this._elementRef.nativeElement,r=this.getChildren();if(this._viewportService.isBelowCenterOfTheScreen(r.item(t-1),this._elementRef.nativeElement))return;const a=this.calculateOffset(t);i&&i.scroll({left:0,top:a})}getChildren(){const t=this._elementRef?this._elementRef.nativeElement:null;if(t)return t.children.item(0).children.item(0).children}calculateOffset(t){const i=this.getChildren();if(i.length)return i.item(t-1).getBoundingClientRect().y+this._elementRef.nativeElement.scrollTop-70}refresh(){const t=this.getChildren();let i=0,r=0;for(;r=this._elementRef.nativeElement.scrollHeight){for(i=t.length,r=i;r>0&&!this.loadedPagesSet.has(r);)this._pagePreloadService.changeLastPageInView(r),this.loadedPagesSet.add(r),r--;break}const o=this._viewportService.isBelowCenterOfTheScreen(t.item(r),this._elementRef.nativeElement);if(o?i=r+1:i&&(r=t.length),r++,this.loadedPagesSet.has(r)||(this._pagePreloadService.changeLastPageInView(r),this.loadedPagesSet.add(r)),o)break}(this.isPresentation&&0===this._navigateService.currentPage||!this.isPresentation)&&(this._navigateService.currentPage=i)}ngOnChanges(t){this.refresh()}}return e.\u0275fac=function(t){return new(t||e)(F(Re),F(v2),F(H6),F(ct),F(St),F(wn))},e.\u0275dir=G1({type:e,selectors:[["","gdScrollableEdited",""]],inputs:{isPresentation:"isPresentation"},features:[c2]}),e})();const kK=[H4,e1,E6,CK,bh,Pt,cs,co,so,wK,xK,X3,uo,v2,H6,ct,Q3,ho,Tt,ds,St,wn,_i,Gn,xn,Yn,r6,ps,N4,Vh,Fh];let Uh=(()=>{class e{constructor(){qc.add(cq,QZ)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=O2({providers:kK,imports:[nc,Zc,eG,ts]}),e})();const VK={"Open document":"\u0627\u0641\u062a\u062d \u0627\u0644\u0645\u0633\u062a\u0646\u062f","Upload file":"\u0631\u0641\u0639 \u0645\u0644\u0641","Drop file here to upload":"\u0642\u0645 \u0628\u0625\u0633\u0642\u0627\u0637 \u0627\u0644\u0645\u0644\u0641 \u0647\u0646\u0627 \u0644\u0644\u062a\u062d\u0645\u064a\u0644",Disc:"\u0642\u0631\u0635",URL:"URL",FILE:"\u0645\u0644\u0641",SIZE:"\u0628\u062d\u062c\u0645",MB:"\u0645\u064a\u063a\u0627 \u0628\u0627\u064a\u062a",KB:"\u0643\u064a\u0644\u0648 \u0628\u0627\u064a\u062a",Bytes:"\u0628\u0627\u064a\u062a","Loading... Please wait.":"\u062c\u0627\u0631\u064a \u0627\u0644\u062a\u062d\u0645\u064a\u0644 \u0627\u0646\u062a\u0638\u0631 \u0645\u0646 \u0641\u0636\u0644\u0643.","Fit Width":"\u0627\u0644\u0639\u0631\u0636 \u0627\u0644\u0645\u0646\u0627\u0633\u0628","Fit Height":"\u0627\u0631\u062a\u0641\u0627\u0639 \u0645\u0644\u0627\u0626\u0645","Password protected document":"\u0648\u062b\u064a\u0642\u0629 \u0645\u062d\u0645\u064a\u0629 \u0628\u0643\u0644\u0645\u0629 \u0645\u0631\u0648\u0631",Password:"\u0643\u0644\u0645\u0647 \u0627\u0644\u0633\u0631",Open:"\u0627\u0641\u062a\u062d","Password Required":"\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0645\u0637\u0644\u0648\u0628\u0629","Incorrect password":"\u0643\u0644\u0645\u0629 \u0633\u0631 \u062e\u0627\u0637\u0626\u0629",Error:"\u062e\u0637\u0623","Something went wrong":"\u0647\u0646\u0627\u0643 \u062e\u0637\u0623 \u0645\u0627","Server is not available":"\u0627\u0644\u062e\u0627\u062f\u0645 \u063a\u064a\u0631 \u0645\u062a\u0627\u062d",of:"\u0645\u0646","Please wait...":"\u0627\u0631\u062c\u0648\u0643 \u0627\u0646\u062a\u0638\u0631..."},OK={"Open document":"Obre el document","Upload file":"Penja el document","Drop file here to upload":"Deixa anar el fitxer aqu\xed per penjar-lo",Disc:"Disc",URL:"URL",FILE:"DOSSIER",SIZE:"TALLA",MB:"MB",KB:"KB",Bytes:"Bytes","Loading... Please wait.":"Carregant, esperi, si us plau.","Fit Width":"Amplada d\u2019ajust","Fit Height":"Ajust de l'al\xe7ada","Password protected document":"Document protegit amb contrasenya",Password:"Contrasenya",Open:"Obert","Password Required":"Es requereix una contrasenya","Incorrect password":"contrasenya incorrecta",Error:"Error","Something went wrong":"Alguna cosa ha anat malament","Server is not available":"El servidor no est\xe0 disponible",of:"de","Please wait...":"Si us plau, espereu ..."},FK={"Open document":"Otev\u0159\xedt dokument","Upload file":"Nahr\xe1t soubor","Drop file here to upload":"P\u0159et\xe1hn\u011bte soubor sem a nahrajte jej",Disc:"Disk",URL:"URL",FILE:"SOUBOR",SIZE:"VELIKOST",MB:"MB",KB:"KB",Bytes:"Bajty","Loading... Please wait.":"Na\u010d\xedt\xe1n\xed pros\xedm \u010dekejte.","Fit Width":"P\u0159izp\u016fsobit \u0161\xed\u0159ce","Fit Height":"P\u0159izp\u016fsobit v\xfd\u0161ce","Password protected document":"Dokument chr\xe1n\u011bn\xfd heslem",Password:"Heslo",Open:"Otev\u0159eno","Password Required":"Vy\u017eadov\xe1no heslo","Incorrect password":"Nespr\xe1vn\xe9 heslo",Error:"Chyba","Something went wrong":"N\u011bco se pokazilo","Server is not available":"Server nen\xed k dispozici",of:"z","Please wait...":"Pros\xedm, \u010dekejte..."},RK={"Open document":"\xc5bn dokument","Upload file":"Upload fil","Drop file here to upload":"Drop filen her for at uploade",Disc:"Disk",URL:"URL",FILE:"FIL",SIZE:"ST\xd8RRELSE",MB:"MB",KB:"KB",Bytes:"Bytes","Loading... Please wait.":"Indl\xe6ser vent venligst.","Fit Width":"Tilpas bredde","Fit Height":"Tilpas h\xf8jde","Password protected document":"Adgangskodebeskyttet dokument",Password:"Adgangskode",Open:"\xc5ben","Password Required":"Adgangskode p\xe5kr\xe6vet","Incorrect password":"forkert kodeord",Error:"Fejl","Something went wrong":"Noget gik galt","Server is not available":"Serveren er ikke tilg\xe6ngelig",of:"af","Please wait...":"Vent venligst..."},BK={"Open document":"Dokument \xf6ffnen","Upload file":"Datei hochladen","Drop file here to upload":"Datei zum Hochladen hier ablegen",Disc:"Rabatt",URL:"URL",FILE:"DATEI",SIZE:"GR\xd6SSE",MB:"MB",KB:"KB",Bytes:"Bytes","Loading... Please wait.":"Laden, bitte warten.","Fit Width":"Breite anpassen","Fit Height":"Passende H\xf6he","Password protected document":"Passwortgesch\xfctztes Dokument",Password:"Passwort",Open:"Offen","Password Required":"Passwort erforderlich","Incorrect password":"Falsches Passwort",Error:"Fehler","Something went wrong":"Etwas ist schief gelaufen","Server is not available":"Server nicht verf\xfcgbar",of:"von","Please wait...":"Warten Sie mal..."},jK={"Open document":"\u0386\u03bd\u03bf\u03b9\u03b3\u03bc\u03b1 \u03b5\u03b3\u03b3\u03c1\u03ac\u03c6\u03bf\u03c5","Upload file":"\u0391\u03bd\u03ad\u03b2\u03b1\u03c3\u03bc\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5","Drop file here to upload":"\u0391\u03c6\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf \u03b5\u03b4\u03ce \u03b3\u03b9\u03b1 \u03bc\u03b5\u03c4\u03b1\u03c6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b7",Disc:"\u0394\u03af\u03c3\u03ba\u03bf\u03c2",URL:"URL",FILE:"\u0391\u03a1\u03a7\u0395\u0399\u039f",SIZE:"\u039c\u0395\u0393\u0395\u0398\u039f\u03a3",MB:"MB",KB:"KB",Bytes:"Bytes","Loading... Please wait.":"\u03a6\u03bf\u03c1\u03c4\u03ce\u03bd\u03b5\u03b9 \u03c0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03c0\u03b5\u03c1\u03b9\u03bc\u03ad\u03bd\u03b5\u03c4\u03b5.","Fit Width":"Fit Width","Fit Height":"Fit Height","Password protected document":"\u0388\u03b3\u03b3\u03c1\u03b1\u03c6\u03bf \u03c0\u03c1\u03bf\u03c3\u03c4\u03b1\u03c4\u03b5\u03c5\u03bc\u03ad\u03bd\u03bf \u03bc\u03b5 \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2",Password:"\u039a\u03c9\u03b4\u03b9\u03ba\u03cc\u03c2 \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2",Open:"\u0391\u03bd\u03bf\u03b9\u03be\u03b5","Password Required":"\u0391\u03c0\u03b1\u03b9\u03c4\u03b5\u03af\u03c4\u03b1\u03b9 \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc\u03c2 \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2","Incorrect password":"\u039b\u03ac\u03b8\u03bf\u03c2 \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc\u03c2",Error:"\u039b\u03ac\u03b8\u03bf\u03c2","Something went wrong":"\u039a\u03ac\u03c4\u03b9 \u03c0\u03ae\u03b3\u03b5 \u03c3\u03c4\u03c1\u03b1\u03b2\u03ac","Server is not available":"\u039f \u03b4\u03b9\u03b1\u03ba\u03bf\u03bc\u03b9\u03c3\u03c4\u03ae\u03c2 \u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03b4\u03b9\u03b1\u03b8\u03ad\u03c3\u03b9\u03bc\u03bf\u03c2",of:"\u03c4\u03bf\u03c5","Please wait...":"\u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03c0\u03b5\u03c1\u03b9\u03bc\u03ad\u03bd\u03b5\u03c4\u03b5..."},UK={"Open document":"Open document","Upload file":"Upload file","Drop file here to upload":"Drop file here to upload",Disc:"Disc",URL:"URL",FILE:"FILE",SIZE:"SIZE",MB:"MB",KB:"KB",Bytes:"Bytes","Loading... Please wait.":"Loading... Please wait.","Fit Width":"Fit Width","Fit Height":"Fit Height","Password protected document":"Password protected document",Password:"Password",Open:"Open","Password Required":"Password Required","Incorrect password":"Incorrect password",Error:"Error","Something went wrong":"Something went wrong","Server is not available":"Server is not available",of:"of","Please wait...":"Please wait..."},WK={"Open document":"Abrir documento","Upload file":"Subir archivo","Drop file here to upload":"Suelta el archivo aqu\xed para subirlo",Disc:"Desct",URL:"URL",FILE:"EXPEDIENTE",SIZE:"TALLA",MB:"MEGABYTE",KB:"KB",Bytes:"Bytes","Loading... Please wait.":"Cargando por favor espere.","Fit Width":"Ajuste ancho","Fit Height":"Altura de ajuste","Password protected document":"Documento protegido con contrase\xf1a",Password:"Contrase\xf1a",Open:"Abierto","Password Required":"Se requiere contrase\xf1a","Incorrect password":"Contrase\xf1a incorrecta",Error:"Error","Something went wrong":"Algo sali\xf3 mal","Server is not available":"El servidor no esta disponible",of:"de","Please wait...":"Espere por favor..."},qK={"Open document":"Buksan ang dokumento","Upload file":"Mag-upload ng file","Drop file here to upload":"I-drop ang file dito upang mai-upload",Disc:"Disc",URL:"URL",FILE:"FILE",SIZE:"SIZE",MB:"MB",KB:"KB",Bytes:"Mga byte","Loading... Please wait.":"Naglo-load ... Mangyaring maghintay.","Fit Width":"Pagkasyahin ang Lapad","Fit Height":"Pagkasyahin sa Taas","Password protected document":"Dokumentong protektado ng password",Password:"Password",Open:"Buksan","Password Required":"Kailangan ng password","Incorrect password":"Maling password",Error:"Error","Something went wrong":"May nangyaring mali","Server is not available":"Hindi magagamit ang server",of:"ng","Please wait...":"Mangyaring maghintay ..."},$K={"Open document":"Ouvrir le document","Upload file":"T\xe9l\xe9verser un fichier","Drop file here to upload":"D\xe9posez le fichier ici pour le t\xe9l\xe9charger",Disc:"Disque",URL:"URL",FILE:"D\xc9POSER",SIZE:"TAILLE",MB:"Mo",KB:"Ko",Bytes:"Octets","Loading... Please wait.":"Chargement, veuillez patienter.","Fit Width":"Ajuster la largeur","Fit Height":"Hauteur d'ajustement","Password protected document":"Document prot\xe9g\xe9 par mot de passe",Password:"Mot de passe",Open:"Ouvert","Password Required":"Mot de passe requis","Incorrect password":"Mot de passe incorrect",Error:"Erreur","Something went wrong":"Quelque chose s'est mal pass\xe9","Server is not available":"Le serveur n'est pas disponible",of:"de","Please wait...":"S'il vous pla\xeet, attendez..."},ZK={"Open document":"\u05de\u05e1\u05de\u05da \u05e4\u05ea\u05d5\u05d7","Upload file":"\u05d4\u05e2\u05dc\u05d4 \u05e7\u05d5\u05d1\u05e5","Drop file here to upload":"\u05d6\u05e8\u05d5\u05e7 \u05d0\u05ea \u05d4\u05e7\u05d5\u05d1\u05e5 \u05db\u05d0\u05df \u05dc\u05d4\u05e2\u05dc\u05d0\u05d4",Disc:"\u05d3\u05d9\u05e1\u05e7",URL:"\u05db\u05ea\u05d5\u05d1\u05ea URL",FILE:"\u05e7\u05d5\u05b9\u05d1\u05b6\u05e5",SIZE:"\u05d2\u05d5\u05d3\u05dc",MB:"MB",KB:"KB",Bytes:"\u05d1\u05ea\u05d9\u05dd","Loading... Please wait.":"\u05d8\u05d5\u05e2\u05df \u05d0\u05e0\u05d0 \u05d4\u05de\u05ea\u05df.","Fit Width":"\u05e8\u05d5\u05d7\u05d1 \u05d4\u05ea\u05d0\u05de\u05d4","Fit Height":"\u05d4\u05ea\u05d0\u05de\u05ea \u05d2\u05d5\u05d1\u05d4","Password protected document":"\u05de\u05e1\u05de\u05da \u05d4\u05de\u05d5\u05d2\u05df \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea \u05e1\u05d9\u05e1\u05de\u05d4",Password:"\u05e1\u05d9\u05e1\u05de\u05d4",Open:"\u05dc\u05b4\u05e4\u05b0\u05ea\u05d5\u05b9\u05d7\u05b7","Password Required":"\u05e0\u05d3\u05e8\u05e9\u05ea \u05e1\u05d9\u05e1\u05de\u05d4","Incorrect password":"\u05e1\u05d9\u05e1\u05de\u05d0 \u05dc\u05d0 \u05e0\u05db\u05d5\u05e0\u05d4",Error:"\u05e9\u05c1\u05b0\u05d2\u05b4\u05d9\u05d0\u05b8\u05d4","Something went wrong":"\u05de\u05e9\u05d4\u05d5 \u05d4\u05e9\u05ea\u05d1\u05e9","Server is not available":"\u05d4\u05e9\u05e8\u05ea \u05d0\u05d9\u05e0\u05d5 \u05d6\u05de\u05d9\u05df",of:"\u05e9\u05c1\u05b6\u05dc","Please wait...":"\u05d4\u05de\u05ea\u05df \u05d1\u05d1\u05e7\u05e9\u05d4..."},GK={"Open document":"\u0926\u0938\u094d\u0924\u093e\u0935\u0947\u091c\u093c \u0916\u094b\u0932\u0947\u0902","Upload file":"\u092b\u093c\u093e\u0907\u0932 \u0905\u092a\u0932\u094b\u0921 \u0915\u0930\u0947\u0902","Drop file here to upload":"\u0905\u092a\u0932\u094b\u0921 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u092b\u093c\u093e\u0907\u0932 \u092f\u0939\u093e\u0901 \u091b\u094b\u0921\u093c\u0947\u0902",Disc:"\u0921\u093f\u0938\u094d\u0915",URL:"\u092f\u0942\u0906\u0930\u090f\u0932",FILE:"\u092b\u093c\u093e\u0907\u0932",SIZE:"\u0906\u0915\u093e\u0930",MB:"\u090f\u092e\u092c\u0940",KB:"\u0915\u0947\u092c\u0940",Bytes:"\u092c\u093e\u0907\u091f\u094d\u0938","Loading... Please wait.":"\u0932\u094b\u0921 \u0939\u094b \u0930\u0939\u093e \u0939\u0948 \u0915\u0943\u092a\u092f\u093e \u092a\u094d\u0930\u0924\u0940\u0915\u094d\u0937\u093e \u0915\u0930\u0947\u0902\u0964","Fit Width":"\u091a\u094c\u0921\u093c\u093e\u0908 \u092a\u0930 \u092b\u093c\u093f\u091f","Fit Height":"\u0920\u0940\u0915 \u090a\u0902\u091a\u093e\u0908","Password protected document":"\u092a\u093e\u0938\u0935\u0930\u094d\u0921 \u0938\u0947 \u0938\u0941\u0930\u0915\u094d\u0937\u093f\u0924 \u0926\u0938\u094d\u0924\u093e\u0935\u0947\u091c\u093c",Password:"\u092a\u093e\u0938\u0935\u0930\u094d\u0921",Open:"\u0916\u094b\u0932\u0928\u093e","Password Required":"\u092a\u093e\u0938\u0935\u0930\u094d\u0921 \u0906\u0935\u0936\u094d\u092f\u0915","Incorrect password":"\u0917\u0932\u0924 \u092a\u093e\u0938\u0935\u0930\u094d\u0921",Error:"\u0924\u094d\u0930\u0941\u091f\u093f","Something went wrong":"\u0915\u0941\u091b \u0917\u0932\u0924 \u0939\u094b \u0917\u092f\u093e","Server is not available":"\u0938\u0930\u094d\u0935\u0930 \u0909\u092a\u0932\u092c\u094d\u0927 \u0928\u0939\u0940\u0902 \u0939\u0948",of:"\u0915\u093e","Please wait...":"\u0915\u0943\u092a\u092f\u093e \u092a\u094d\u0930\u0924\u0940\u0915\u094d\u0937\u093e \u0915\u0930\u0947\u0902..."},KK={"Open document":"Buka dokumen","Upload file":"Unggah data","Drop file here to upload":"Jatuhkan file di sini untuk mengunggah",Disc:"Cakram",URL:"URL",FILE:"MENGAJUKAN",SIZE:"UKURAN",MB:"MB",KB:"KB",Bytes:"Byte","Loading... Please wait.":"Sedang memuat... Harap tunggu.","Fit Width":"Cocok Lebar","Fit Height":"Cocok Tinggi","Password protected document":"Dokumen yang dilindungi kata sandi",Password:"Kata sandi",Open:"Membuka","Password Required":"Diperlukan Kata Sandi","Incorrect password":"kata kunci Salah",Error:"Kesalahan","Something went wrong":"Ada yang salah","Server is not available":"Server tidak tersedia",of:"dari","Please wait...":"Mohon tunggu..."},YK={"Open document":"Apri documento","Upload file":"Caricare un file","Drop file here to upload":"Trascina qui il file da caricare",Disc:"Disco",URL:"URL",FILE:"FILE",SIZE:"DIMENSIONE",MB:"MB",KB:"KB",Bytes:"Byte","Loading... Please wait.":"Attendere il caricamento prego.","Fit Width":"Larghezza adatta","Fit Height":"Altezza giusta","Password protected document":"Documento protetto da password",Password:"Parola d'ordine",Open:"Aprire","Password Required":"Password richiesta","Incorrect password":"password errata",Error:"Errore","Something went wrong":"Qualcosa \xe8 andato storto","Server is not available":"Il server non \xe8 disponibile",of:"di","Please wait...":"Attendere prego..."},XK={"Open document":"\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u958b\u304f","Upload file":"\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b","Drop file here to upload":"\u3053\u3053\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30c9\u30ed\u30c3\u30d7\u3057\u3066\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059",Disc:"\u30c7\u30a3\u30b9\u30af",URL:"URL",FILE:"\u30d5\u30a1\u30a4\u30eb",SIZE:"\u30b5\u30a4\u30ba",MB:"MB",KB:"KB",Bytes:"\u30d0\u30a4\u30c8","Loading... Please wait.":"\u8aad\u307f\u8fbc\u307f\u4e2d\u3002\u3002\u3002\u5f85\u3063\u3066\u4e0b\u3055\u3044\u3002","Fit Width":"\u30d5\u30a3\u30c3\u30c8\u5e45","Fit Height":"\u30d5\u30a3\u30c3\u30c8\u306e\u9ad8\u3055","Password protected document":"\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u4fdd\u8b77\u3055\u308c\u305f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8",Password:"\u30d1\u30b9\u30ef\u30fc\u30c9",Open:"\u958b\u3051\u308b","Password Required":"\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u5fc5\u8981","Incorrect password":"\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093",Error:"\u30a8\u30e9\u30fc","Something went wrong":"\u4f55\u304b\u304c\u3046\u307e\u304f\u3044\u304b\u306a\u304b\u3063\u305f","Server is not available":"\u30b5\u30fc\u30d0\u30fc\u306f\u5229\u7528\u3067\u304d\u307e\u305b\u3093",of:"\u306e","Please wait...":"\u304a\u5f85\u3061\u304f\u3060\u3055\u3044..."},QK={"Open document":"\u049a\u04b1\u0436\u0430\u0442\u0442\u044b \u0430\u0448\u0443","Upload file":"\u0424\u0430\u0439\u043b\u0434\u044b \u0436\u04af\u043a\u0442\u0435\u0443","Drop file here to upload":"\u0424\u0430\u0439\u043b\u0434\u044b \u0436\u04af\u043a\u0442\u0435\u0443 \u04af\u0448\u0456\u043d \u043e\u0441\u044b \u0436\u0435\u0440\u0433\u0435 \u049b\u043e\u0439\u044b\u04a3\u044b\u0437",Disc:"\u0414\u0438\u0441\u043a",URL:"URL",FILE:"\u0424\u0410\u0419\u041b",SIZE:"SIZE",MB:"\u041c\u0411",KB:"\u041a\u0411",Bytes:"\u0411\u0430\u0439\u0442","Loading... Please wait.":"\u0416\u04af\u043a\u0442\u0435\u043b\u0443\u0434\u0435 ... \u041a\u04af\u0442\u0435 \u0442\u04b1\u0440\u044b\u04a3\u044b\u0437.","Fit Width":"\u0415\u043d\u0456 \u0441\u04d9\u0439\u043a\u0435\u0441","Fit Height":"\u0421\u04d9\u0439\u043a\u0435\u0441 \u0431\u0438\u0456\u043a\u0442\u0456\u043a","Password protected document":"\u049a\u04b1\u043f\u0438\u044f \u0441\u04e9\u0437\u0431\u0435\u043d \u049b\u043e\u0440\u0493\u0430\u043b\u0493\u0430\u043d \u049b\u04b1\u0436\u0430\u0442",Password:"\u049a\u04b1\u043f\u0438\u044f \u0441\u04e9\u0437",Open:"\u0410\u0448\u044b\u049b","Password Required":"\u049a\u04b1\u043f\u0438\u044f \u0441\u04e9\u0437 \u049b\u0430\u0436\u0435\u0442","Incorrect password":"\u049a\u0430\u0442\u0435 \u049b\u04b1\u043f\u0438\u044f\u0441\u04e9\u0437",Error:"\u049a\u0430\u0442\u0435","Something went wrong":"\u0411\u0456\u0440\u0434\u0435\u04a3\u0435 \u0434\u04b1\u0440\u044b\u0441 \u0431\u043e\u043b\u043c\u0430\u0434\u044b","Server is not available":"\u0421\u0435\u0440\u0432\u0435\u0440 \u049b\u043e\u043b \u0436\u0435\u0442\u0456\u043c\u0434\u0456 \u0435\u043c\u0435\u0441",of:"\u043d\u044b\u04a3","Please wait...":"\u04e8\u0442\u0456\u043d\u0435\u043c\u0456\u043d \u043a\u04af\u0442\u0435 \u0442\u04b1\u0440\u044b\u04a3\u044b\u0437..."},JK={"Open document":"\ubb38\uc11c \uc5f4\uae30","Upload file":"\ud30c\uc77c \uc5c5\ub85c\ub4dc","Drop file here to upload":"\uc5c5\ub85c\ub4dc\ud558\ub824\uba74 \uc5ec\uae30\uc5d0 \ud30c\uc77c\uc744 \ub4dc\ub86d\ud558\uc138\uc694.",Disc:"\ub514\uc2a4\ud06c",URL:"URL",FILE:"\ud30c\uc77c",SIZE:"\ud06c\uae30",MB:"\uba54\uac00\ubc14\uc774\ud2b8",KB:"KB",Bytes:"\ubc14\uc774\ud2b8","Loading... Please wait.":"\ub85c\ub529 \uc911 \uae30\ub2e4\ub824\uc8fc\uc138\uc694.","Fit Width":"\ub108\ube44 \ub9de\ucd94\uae30","Fit Height":"\ub9de\ub294 \ub192\uc774","Password protected document":"\uc554\ud638\ub85c \ubcf4\ud638\ub41c \ubb38\uc11c",Password:"\ube44\ubc00\ubc88\ud638",Open:"\uc5f4\ub824\uc788\ub294","Password Required":"\ube44\ubc00\ubc88\ud638\uac00 \ud544\uc694\ud569\ub2c8\ub2e4","Incorrect password":"\uc798\ubabb\ub41c \ube44\ubc00\ubc88\ud638",Error:"\uc624\ub958","Something went wrong":"\ubb38\uc81c\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4.","Server is not available":"\uc11c\ubc84\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4",of:"NS","Please wait...":"\uae30\ub2e4\ub9ac\uc138\uc694..."},eY={"Open document":"Buka dokumen","Upload file":"Muat naik fail","Drop file here to upload":"Jatuhkan fail di sini untuk dimuat naik",Disc:"Cakera",URL:"URL",FILE:"FILE",SIZE:"SAIZ",MB:"MB",KB:"KB",Bytes:"Bait","Loading... Please wait.":"Muat turun sila tunggu.","Fit Width":"Lebar Fit","Fit Height":"Tinggi Ketepatan","Password protected document":"Dokumen dilindungi kata laluan",Password:"Kata Laluan",Open:"Buka","Password Required":"Kata laluan diperlukan","Incorrect password":"kata laluan salah",Error:"Ralat","Something went wrong":"Ada yang tidak kena","Server is not available":"Pelayan tidak tersedia",of:"daripada","Please wait...":"Sila tunggu..."},tY={"Open document":"Document openen","Upload file":"Upload bestand","Drop file here to upload":"Zet het bestand hier neer om te uploaden",Disc:"Schijf",URL:"URL",FILE:"HET DOSSIER",SIZE:"MAAT",MB:"MB",KB:"KB",Bytes:"Bytes","Loading... Please wait.":"Laden even geduld aub.","Fit Width":"Fit Breedte","Fit Height":"Past de hoogte","Password protected document":"Met wachtwoord beveiligd document",Password:"Wachtwoord",Open:"Open","Password Required":"Wachtwoord benodigd","Incorrect password":"Incorrect wachtwoord",Error:"Fout","Something went wrong":"Er is iets fout gegaan","Server is not available":"Server is niet beschikbaar",of:"van","Please wait...":"Even geduld aub..."},nY={"Open document":"Otw\xf3rz dokument","Upload file":"Przesy\u0142anie pliku","Drop file here to upload":"Upu\u015b\u0107 plik tutaj, aby go przes\u0142a\u0107",Disc:"Dysk",URL:"URL",FILE:"PLIK",SIZE:"ROZMIAR",MB:"MB",KB:"KB",Bytes:"Bajty","Loading... Please wait.":"\u0141adowanie prosz\u0119 czeka\u0107.","Fit Width":"Dopasuj szeroko\u015b\u0107","Fit Height":"Dopasuj wysoko\u015b\u0107","Password protected document":"Dokument chroniony has\u0142em",Password:"Has\u0142o",Open:"otwarty","Password Required":"Wymagane has\u0142o","Incorrect password":"niepoprawne has\u0142o",Error:"B\u0142\u0105d","Something went wrong":"Co\u015b posz\u0142o nie tak","Server is not available":"Serwer jest niedost\u0119pny",of:"z","Please wait...":"Prosz\u0119 czeka\u0107..."},iY={"Open document":"Abrir documento","Upload file":"Subir arquivo","Drop file here to upload":"Solte o arquivo aqui para fazer o upload",Disc:"Disco",URL:"URL",FILE:"ARQUIVO",SIZE:"TAMANHO",MB:"MB",KB:"KB",Bytes:"Bytes","Loading... Please wait.":"Carregando, por favor espere.","Fit Width":"Largura de ajuste","Fit Height":"Altura de ajuste","Password protected document":"Documento protegido por senha",Password:"Senha",Open:"Abrir","Password Required":"Senha requerida","Incorrect password":"Senha incorreta",Error:"Erro","Something went wrong":"Algo deu errado","Server is not available":"Servidor n\xe3o dispon\xedvel",of:"do","Please wait...":"Por favor, espere..."},rY={"Open document":"Deschide\u021bi documentul","Upload file":"Incarca fisier","Drop file here to upload":"Plasa\u021bi fi\u0219ierul aici pentru \xeenc\u0103rcare",Disc:"Disc",URL:"URL",FILE:"FI\u015eIER",SIZE:"M\u0102RIMEA",MB:"MB",KB:"KB",Bytes:"Octet","Loading... Please wait.":"\xcenc\u0103rcare va rugam asteptati.","Fit Width":"L\u0103\u021bime potrivit\u0103","Fit Height":"\xcen\u0103l\u021bime potrivit\u0103","Password protected document":"Document protejat prin parol\u0103",Password:"Parola",Open:"Deschis","Password Required":"Parol\u0103 obligatorie","Incorrect password":"Parola incorecta",Error:"Eroare","Something went wrong":"Ceva n-a mers bine","Server is not available":"Serverul nu este disponibil",of:"de","Please wait...":"Va rugam asteptati..."},oY={"Open document":"\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442","Upload file":"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b","Drop file here to upload":"\u041f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0444\u0430\u0439\u043b \u0441\u044e\u0434\u0430, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c",Disc:"\u0414\u0438\u0441\u043a",URL:"URL",FILE:"\u0424\u0410\u0419\u041b",SIZE:"\u0420\u0410\u0417\u041c\u0415\u0420",MB:"\u041c\u0411",KB:"\u041a\u0411",Bytes:"\u0411\u0430\u0439\u0442\u043e\u0432","Loading... Please wait.":"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u043f\u043e\u0434\u043e\u0436\u0434\u0438\u0442\u0435.","Fit Width":"\u041f\u043e \u0448\u0438\u0440\u0438\u043d\u0435","Fit Height":"\u041f\u043e \u0432\u044b\u0441\u043e\u0442\u0435","Password protected document":"\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442, \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u043d\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u0435\u043c",Password:"\u041f\u0430\u0440\u043e\u043b\u044c",Open:"\u041e\u0442\u043a\u0440\u044b\u0442\u044b\u043c","Password Required":"\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u0430\u0440\u043e\u043b\u044c","Incorrect password":"\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c",Error:"\u041e\u0448\u0438\u0431\u043a\u0430","Something went wrong":"\u0427\u0442\u043e-\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a","Server is not available":"\u0421\u0435\u0440\u0432\u0435\u0440 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d",of:"\u0438\u0437","Please wait...":"\u041f\u043e\u0434\u043e\u0436\u0434\u0438\u0442\u0435 \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430..."},aY={"Open document":"\xd6ppna dokument","Upload file":"Ladda upp fil","Drop file here to upload":"Sl\xe4pp filen h\xe4r f\xf6r att ladda upp",Disc:"Skiva",URL:"URL",FILE:"FIL",SIZE:"STORLEK",MB:"MB",KB:"KB",Bytes:"Bytes","Loading... Please wait.":"Laddar ... V\xe4nta.","Fit Width":"Passformsbredd","Fit Height":"Passformsh\xf6jd","Password protected document":"L\xf6senordsskyddat dokument",Password:"L\xf6senord",Open:"\xd6ppen","Password Required":"L\xf6senord kr\xe4vs","Incorrect password":"fel l\xf6senord",Error:"Fel","Something went wrong":"N\xe5got gick fel","Server is not available":"Servern \xe4r inte tillg\xe4nglig",of:"av","Please wait...":"V\xe4nta..."},cY={"Open document":"\u0e40\u0e1b\u0e34\u0e14\u0e40\u0e2d\u0e01\u0e2a\u0e32\u0e23","Upload file":"\u0e2d\u0e31\u0e1e\u0e42\u0e2b\u0e25\u0e14\u0e44\u0e1f\u0e25\u0e4c","Drop file here to upload":"\u0e27\u0e32\u0e07\u0e44\u0e1f\u0e25\u0e4c\u0e17\u0e35\u0e48\u0e19\u0e35\u0e48\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2d\u0e31\u0e1e\u0e42\u0e2b\u0e25\u0e14",Disc:"\u0e14\u0e34\u0e2a\u0e01\u0e4c",URL:"URL",FILE:"\u0e44\u0e1f\u0e25\u0e4c",SIZE:"\u0e02\u0e19\u0e32\u0e14",MB:"MB",KB:"KB",Bytes:"\u0e44\u0e1a\u0e15\u0e4c","Loading... Please wait.":"\u0e01\u0e33\u0e25\u0e31\u0e07\u0e42\u0e2b\u0e25\u0e14... \u0e01\u0e23\u0e38\u0e13\u0e32\u0e23\u0e2d\u0e2a\u0e31\u0e01\u0e04\u0e23\u0e39\u0e48","Fit Width":"\u0e1e\u0e2d\u0e14\u0e35\u0e04\u0e27\u0e32\u0e21\u0e01\u0e27\u0e49\u0e32\u0e07","Fit Height":"\u0e1e\u0e2d\u0e14\u0e35\u0e01\u0e31\u0e1a\u0e04\u0e27\u0e32\u0e21\u0e2a\u0e39\u0e07","Password protected document":"\u0e40\u0e2d\u0e01\u0e2a\u0e32\u0e23\u0e1b\u0e49\u0e2d\u0e07\u0e01\u0e31\u0e19\u0e14\u0e49\u0e27\u0e22\u0e23\u0e2b\u0e31\u0e2a\u0e1c\u0e48\u0e32\u0e19",Password:"\u0e23\u0e2b\u0e31\u0e2a\u0e1c\u0e48\u0e32\u0e19",Open:"\u0e40\u0e1b\u0e34\u0e14","Password Required":"\u0e15\u0e49\u0e2d\u0e07\u0e43\u0e0a\u0e49\u0e23\u0e2b\u0e31\u0e2a\u0e1c\u0e48\u0e32\u0e19","Incorrect password":"\u0e23\u0e2b\u0e31\u0e2a\u0e1c\u0e48\u0e32\u0e19\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14",Error:"\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14","Something went wrong":"\u0e2d\u0e30\u0e44\u0e23\u0e1a\u0e32\u0e07\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e1c\u0e34\u0e14\u0e1b\u0e01\u0e15\u0e34","Server is not available":"\u0e40\u0e0b\u0e34\u0e23\u0e4c\u0e1f\u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e44\u0e21\u0e48\u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19",of:"\u0e02\u0e2d\u0e07","Please wait...":"\u0e42\u0e1b\u0e23\u0e14\u0e23\u0e2d..."},sY={"Open document":"Belgeyi a\xe7","Upload file":"Dosya y\xfckleme","Drop file here to upload":"Y\xfcklemek i\xe7in dosyay\u0131 buraya b\u0131rak\u0131n",Disc:"Disk",URL:"URL",FILE:"DOSYA",SIZE:"BOY",MB:"MB",KB:"KB",Bytes:"bayt","Loading... Please wait.":"Y\xfckleniyor l\xfctfen bekleyin.","Fit Width":"S\u0131\u011fd\u0131r Geni\u015fli\u011fi","Fit Height":"Uygun Y\xfckseklik","Password protected document":"Parola korumal\u0131 belge",Password:"Parola",Open:"A\xe7\u0131k","Password Required":"\u015eifre gerekli","Incorrect password":"yanl\u0131\u015f parola",Error:"Hata","Something went wrong":"Bir \u015feyler yanl\u0131\u015f gitti","Server is not available":"Sunucu kullan\u0131lam\u0131yor",of:"ile ilgili","Please wait...":"L\xfctfen bekle..."},lY={"Open document":"\u0412\u0456\u0434\u043a\u0440\u0438\u0442\u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442","Upload file":"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0444\u0430\u0439\u043b","Drop file here to upload":"\u041f\u0435\u0440\u0435\u0442\u044f\u0433\u043d\u0456\u0442\u044c \u0444\u0430\u0439\u043b \u0443 \u0446\u044e \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0434\u043b\u044f \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f",Disc:"\u041f\u0440\u0438\u0441\u0442\u0440\u0456\u0439",URL:"\u041f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f",FILE:"\u0424\u0430\u0439\u043b",SIZE:"\u0420\u043e\u0437\u043c\u0456\u0440",MB:"\u041c\u0411",KB:"\u041a\u0411",Bytes:"\u0411\u0430\u0439\u0442","Loading... Please wait.":"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f... \u0417\u0430\u0447\u0435\u043a\u0430\u0439\u0442\u0435, \u0431\u0443\u0434\u044c \u043b\u0430\u0441\u043a\u0430.","Fit Width":"\u041f\u043e \u0448\u0438\u0440\u0438\u043d\u0456","Fit Height":"\u041f\u043e \u0432\u0438\u0441\u043e\u0442\u0456","Password protected document":"\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0437\u0430\u0445\u0438\u0449\u0435\u043d\u043e \u043f\u0430\u0440\u043e\u043b\u0435\u043c",Password:"\u041f\u0430\u0440\u043e\u043b\u044c",Open:"\u0412\u0456\u0434\u043a\u0440\u0438\u0442\u0438","Password Required":"\u041d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u043e \u0432\u0432\u0435\u0441\u0442\u0438 \u043f\u0430\u0440\u043e\u043b\u044c","Incorrect password":"\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0438\u0439 \u043f\u0430\u0440\u043e\u043b\u044c",Error:"\u041f\u043e\u043c\u0438\u043b\u043a\u0430","Something went wrong":"\u0429\u043e\u0441\u044c \u043f\u0456\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a","Server is not available":"\u0421\u0435\u0440\u0432\u0435\u0440 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0438\u0439",of:"\u0437","Please wait...":"\u0417\u0430\u0447\u0435\u043a\u0430\u0439\u0442\u0435, \u0431\u0443\u0434\u044c \u043b\u0430\u0441\u043a\u0430..."},fY={"Open document":"M\u1edf t\xe0i li\u1ec7u","Upload file":"C\u1eadp nh\u1eadt d\u1eed li\u1ec7u","Drop file here to upload":"Th\u1ea3 t\u1ec7p v\xe0o \u0111\xe2y \u0111\u1ec3 t\u1ea3i l\xean",Disc:"\u0110\u0129a",URL:"URL",FILE:"T\u1eacP TIN",SIZE:"K\xcdCH TH\u01af\u1edaC",MB:"MB",KB:"KB",Bytes:"Byte","Loading... Please wait.":"T\u1ea3i vui l\xf2ng \u0111\u1ee3i.","Fit Width":"V\u1eeba chi\u1ec1u r\u1ed9ng","Fit Height":"Chi\u1ec1u cao ph\xf9 h\u1ee3p","Password protected document":"T\xe0i li\u1ec7u \u0111\u01b0\u1ee3c b\u1ea3o v\u1ec7 b\u1eb1ng m\u1eadt kh\u1ea9u",Password:"M\u1eadt kh\u1ea9u",Open:"M\u1edf ra","Password Required":"M\xe2\u0323t kh\xe2\u0309u \u0111\u01b0\u01a1\u0323c y\xeau c\xe2u","Incorrect password":"m\u1eadt kh\u1ea9u kh\xf4ng \u0111\xfang",Error:"L\u1ed7i","Something went wrong":"\u0110\xe3 x\u1ea3y ra s\u1ef1 c\u1ed1","Server is not available":"M\xe1y ch\u1ee7 kh\xf4ng c\xf3 s\u1eb5n",of:"c\u1ee7a","Please wait...":"Vui l\xf2ng ch\u1edd..."},uY={"Open document":"\u6253\u5f00\u6587\u6863","Upload file":"\u4e0a\u4f20\u6587\u4ef6","Drop file here to upload":"\u5c06\u6587\u4ef6\u62d6\u653e\u5230\u6b64\u5904\u4ee5\u4e0a\u4f20",Disc:"\u5149\u76d8",URL:"\u7f51\u5740",FILE:"\u6587\u4ef6",SIZE:"\u5c3a\u5bf8",MB:"MB",KB:"\u77e5\u8bc6\u5e93",Bytes:"\u5b57\u8282","Loading... Please wait.":"\u52a0\u8f7d\u8bf7\u7a0d\u5019\u3002","Fit Width":"\u9002\u5408\u5bbd\u5ea6","Fit Height":"\u9002\u5408\u9ad8\u5ea6","Password protected document":"\u53d7\u5bc6\u7801\u4fdd\u62a4\u7684\u6587\u4ef6",Password:"\u5bc6\u7801",Open:"\u6253\u5f00","Password Required":"\u9700\u8981\u5bc6\u7801","Incorrect password":"\u5bc6\u7801\u9519\u8bef",Error:"\u9519\u8bef","Something went wrong":"\u51fa\u4e86\u4e9b\u95ee\u9898","Server is not available":"\u670d\u52a1\u5668\u4e0d\u53ef\u7528",of:"\u7684","Please wait...":"\u8bf7\u7a0d\u7b49..."},dY={"Open document":"\u6253\u958b\u6587\u6a94","Upload file":"\u4e0a\u50b3\u6587\u4ef6","Drop file here to upload":"\u5c07\u6587\u4ef6\u62d6\u653e\u5230\u6b64\u8655\u4ee5\u4e0a\u50b3",Disc:"\u5149\u76e4",URL:"\u7db2\u5740",FILE:"\u6587\u4ef6",SIZE:"\u5c3a\u5bf8",MB:"MB",KB:"\u77e5\u8b58\u5eab",Bytes:"\u5b57\u7bc0","Loading... Please wait.":"\u52a0\u8f09\u8acb\u7a0d\u5019\u3002","Fit Width":"\u9069\u5408\u5bec\u5ea6","Fit Height":"\u9069\u5408\u9ad8\u5ea6","Password protected document":"\u53d7\u5bc6\u78bc\u4fdd\u8b77\u7684\u6587\u4ef6",Password:"\u5bc6\u78bc",Open:"\u6253\u958b","Password Required":"\u9700\u8981\u5bc6\u78bc","Incorrect password":"\u5bc6\u78bc\u932f\u8aa4",Error:"\u932f\u8aa4","Something went wrong":"\u51fa\u4e86\u4e9b\u554f\u984c","Server is not available":"\u670d\u52d9\u5668\u4e0d\u53ef\u7528",of:"\u7684","Please wait...":"\u8acb\u7a0d\u7b49..."},pY=["search"];function mY(e,n){1&e&&b1(0,"gd-logo",9),2&e&&w("logo","viewer")}function gY(e,n){if(1&e){const t=r1();H(0,"gd-button",22),Z("click",function(){q(t);const r=S(3);return $(r.openModal(r.browseFilesModal))}),f1(1,"translate"),k()}2&e&&(Y1("title",u1(1,2,"Browse files")),w("icon","folder-open"))}const vY=function(e,n){return{name:e,value:n}};function _Y(e,n){if(1&e){const t=r1();H(0,"gd-select",23),Z("selected",function(r){return q(t),$(S(3).selectZoom(r))}),k()}if(2&e){const t=S(3);w("disabled",t.formatDisabled)("options",t.options)("showSelected",O3(3,vY,t.zoom+"%",t.zoom))}}function CY(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).zoomIn())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Zoom In")),w("disabled",t.formatDisabled)("icon","search-plus")}}function bY(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).zoomOut())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Zoom Out")),w("disabled",t.formatDisabled)("icon","search-minus")}}function yY(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).toFirstPage())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"First Page")),w("disabled",t.formatDisabled)("icon","angle-double-left")}}function MY(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).prevPage())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Previous Page")),w("disabled",t.formatDisabled)("icon","angle-left")}}const Wh=function(e){return{active:e}};function wY(e,n){if(1&e&&(H(0,"div",25),D1(1),k()),2&e){const t=S(3);w("ngClass",t2(3,Wh,!t.formatDisabled)),L(1),V0("",t.currentPage,"/",t.countPages,"")}}function xY(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).nextPage())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Next Page")),w("disabled",t.formatDisabled)("icon","angle-right")}}function zY(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).toLastPage())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Last Page")),w("disabled",t.formatDisabled)("icon","angle-double-right")}}function DY(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).rotate(-90))}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Rotate CCW")),w("disabled",t.formatDisabled)("icon","undo")}}function SY(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).rotate(90))}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Rotate CW")),w("disabled",t.formatDisabled)("icon","redo")}}function PY(e,n){if(1&e){const t=r1();H(0,"gd-button",26),Z("click",function(){return q(t),$(S(3).downloadFile())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Download")),w("disabled",t.formatDisabled)("icon","download")}}function TY(e,n){if(1&e){const t=r1();H(0,"gd-button",26),Z("click",function(){return q(t),$(S(3).printFile())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Print")),w("disabled",t.formatDisabled)("icon","print")}}function LY(e,n){if(1&e){const t=r1();H(0,"gd-button",26),Z("click",function(){return q(t),$(S(3).openSearch())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Search")),w("disabled",t.formatDisabled)("icon","search")}}function EY(e,n){if(1&e){const t=r1();H(0,"div",27)(1,"gd-select",28),Z("selected",function(r){return q(t),$(S(3).selectLanguage(r))}),k()()}if(2&e){const t=S(3);L(1),w("disabled",!1)("options",t.supportedLanguages)("showSelected",t.selectedLanguage)}}function HY(e,n){if(1&e){const t=r1();H(0,"gd-button",29),Z("click",function(){return q(t),$(S(3).openThumbnails())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Thumbnails")),w("disabled",t.formatDisabled)("icon","th-large")}}function AY(e,n){if(1&e){const t=r1();H(0,"gd-button",30),Z("click",function(){return q(t),$(S(3).startPresentation())}),f1(1,"translate"),D1(2),f1(3,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,4,"Run presentation")),w("disabled",t.formatDisabled)("icon","play"),L(2),Pe(u1(3,6,"Present"))}}function NY(e,n){if(1&e){const t=r1();H(0,"gd-top-toolbar",10),U(1,gY,2,4,"gd-button",11),U(2,_Y,1,6,"gd-select",12),U(3,CY,2,5,"gd-button",13),U(4,bY,2,5,"gd-button",13),U(5,yY,2,5,"gd-button",13),U(6,MY,2,5,"gd-button",13),U(7,wY,2,5,"div",14),U(8,xY,2,5,"gd-button",13),U(9,zY,2,5,"gd-button",13),U(10,DY,2,5,"gd-button",13),U(11,SY,2,5,"gd-button",13),U(12,PY,2,5,"gd-button",15),U(13,TY,2,5,"gd-button",15),U(14,LY,2,5,"gd-button",15),H(15,"gd-search",16,17),Z("hidePanel",function(){return q(t),$(S(2).openSearch(!1))}),k(),H(17,"div",18),U(18,EY,2,3,"div",19),U(19,HY,2,5,"gd-button",20),U(20,AY,4,8,"gd-button",21),k()()}if(2&e){const t=S(2);L(1),w("ngIf",t.browseConfig),L(1),w("ngIf",t.zoomConfig),L(1),w("ngIf",t.zoomConfig),L(1),w("ngIf",t.zoomConfig),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf","file-excel"!==t.formatIcon),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.rotateConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.rotateConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.downloadConfig),L(1),w("ngIf",t.printConfig),L(1),w("ngIf",t.searchConfig&&!t.ifPresentation()),L(1),w("hidden",!t.showSearch),L(3),w("ngIf",t.showLanguageMenu),L(1),w("ngIf",t.thumbnailsConfig&&t.isDesktop&&"file-excel"!==t.formatIcon&&(!t.ifPresentation()||t.ifPresentation()&&t.runPresentation)),L(1),w("ngIf",t.ifPresentation()&&!t.runPresentation)}}function IY(e,n){if(1&e&&(H(0,"div",6),U(1,mY,1,1,"gd-logo",7),U(2,NY,21,18,"gd-top-toolbar",8),k()),2&e){const t=S();L(1),w("ngIf",t.showToolBar),L(1),w("ngIf",t.showToolBar)}}function kY(e,n){if(1&e){const t=r1();H(0,"gd-select",36),Z("selected",function(r){return q(t),$(S(2).toggleTimer(r))}),k()}if(2&e){const t=S(2);w("disabled",t.formatDisabled)("options",t.timerOptions)("icon","clock")}}function VY(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(2).pausePresenting())}),f1(1,"translate"),k()}if(2&e){const t=S(2);Y1("title",u1(1,3,"Pause presenting")),w("disabled",t.formatDisabled)("icon","pause")}}function OY(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(2).resumePresenting())}),f1(1,"translate"),k()}if(2&e){const t=S(2);Y1("title",u1(1,3,"Resume presenting")),w("disabled",t.formatDisabled)("icon","step-forward")}}function FY(e,n){if(1&e){const t=r1();H(0,"div",6)(1,"gd-top-toolbar",10)(2,"div",31),D1(3,"Viewer"),k(),H(4,"div",32),D1(5),k(),H(6,"div",33),U(7,kY,1,3,"gd-select",34),U(8,VY,2,5,"gd-button",13),U(9,OY,2,5,"gd-button",13),H(10,"gd-button",35),Z("click",function(){return q(t),$(S().closeFullScreen(!0))}),f1(11,"translate"),D1(12),f1(13,"translate"),k()()()()}if(2&e){const t=S();L(5),Pe(t.getFileName()),L(2),w("ngIf",t.zoomConfig),L(1),w("ngIf",t.presentationRunning()),L(1),w("ngIf",t.presentationPaused()),L(1),Y1("title",u1(11,8,"Stop presenting")),w("disabled",t.formatDisabled)("icon","stop"),L(2),g2("",u1(13,10,"Stop")," ")}}function RY(e,n){if(1&e){const t=r1();H(0,"gd-thumbnails",45),Z("selectedPage",function(r){return q(t),$(S(2).selectCurrentPage(r))}),k()}if(2&e){const t=S(2);w("pages",0==(null==t.viewerConfig?null:t.viewerConfig.preloadPageCount)?t.file.pages:t.file.thumbnails)("isHtmlMode",t.htmlModeConfig)("guid",t.file.guid)("mode",t.htmlModeConfig)}}function BY(e,n){if(1&e){const t=r1();H(0,"gd-thumbnails",46),Z("selectedPage",function(r){return q(t),$(S(2).selectCurrentPage(r))}),k()}if(2&e){const t=S(2);w("pages",0==(null==t.viewerConfig?null:t.viewerConfig.preloadPageCount)?t.file.pages:t.file.thumbnails)("isHtmlMode",t.htmlModeConfig)("guid",t.file.guid)("mode",t.htmlModeConfig)("isPresentation",t.ifPresentation())}}function jY(e,n){if(1&e){const t=r1();H(0,"gd-document",47),Z("mouseWheelUp",function(){return q(t),$(S(2).onMouseWheelUp())})("mouseWheelDown",function(){return q(t),$(S(2).onMouseWheelDown())}),k()}if(2&e){const t=S(2);w("file",t.file)("mode",t.htmlModeConfig)("showActiveSlide",!0)("preloadPageCount",null==t.viewerConfig?null:t.viewerConfig.preloadPageCount)("selectedPage",t.selectedPageNumber)("htmlMode",t.htmlModeConfig)}}function UY(e,n){if(1&e&&b1(0,"gd-excel-document",48),2&e){const t=S(2);w("file",t.file)("mode",t.htmlModeConfig)("preloadPageCount",null==t.viewerConfig?null:t.viewerConfig.preloadPageCount)("htmlMode",t.htmlModeConfig)}}function WY(e,n){if(1&e){const t=r1();H(0,"gd-run-presentation",49),Z("selectedPage",function(r){return q(t),$(S(2).selectCurrentPage(r))}),k()}if(2&e){const t=S(2);w("file",t.file)("currentPage",t.currentPage)("mode",t.htmlModeConfig)("preloadPageCount",0)}}const qh=function(){return["fas","circle-notch"]};function qY(e,n){if(1&e&&(H(0,"div",53),b1(1,"fa-icon",54),H(2,"span",55),D1(3),k()()),2&e){const t=S(3);L(1),w("icon",P2(4,qh))("spin",!0),L(1),w("ngClass",t.secondsLeft>=10?"seconds-remaining two-digits":"seconds-remaining"),L(1),Pe(t.secondsLeft)}}function $Y(e,n){if(1&e){const t=r1();H(0,"gd-button",56),Z("click",function(){return q(t),$(S(3).prevPage())}),k()}2&e&&w("disabled",S(3).formatDisabled)("icon","angle-left")}function ZY(e,n){if(1&e){const t=r1();H(0,"gd-button",56),Z("click",function(){return q(t),$(S(3).nextPage())}),k()}2&e&&w("disabled",S(3).formatDisabled)("icon","angle-right")}function GY(e,n){if(1&e&&(H(0,"div",50),U(1,qY,4,5,"div",51),U(2,$Y,1,2,"gd-button",52),U(3,ZY,1,2,"gd-button",52),k()),2&e){const t=S(2);L(1),w("ngIf",t.showCountDown()),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon)}}function KY(e,n){if(1&e&&(H(0,"div",37,38),U(2,RY,1,4,"gd-thumbnails",39),U(3,BY,1,5,"gd-thumbnails",40),U(4,jY,1,6,"gd-document",41),U(5,UY,1,4,"gd-excel-document",42),U(6,WY,1,4,"gd-run-presentation",43),U(7,GY,4,3,"div",44),k()),2&e){const t=S();L(2),w("ngIf",t.showThumbnails&&!t.ifPresentation()&&t.isDesktop),L(1),w("ngIf",t.showThumbnails&&t.ifPresentation()&&!t.runPresentation&&t.isDesktop),L(1),w("ngIf",t.file&&t.ifExcel()&&!t.htmlModeConfig||t.ifPresentation()&&t.isDesktop&&!t.runPresentation||!t.ifExcel()&&!t.ifPresentation()),L(1),w("ngIf",t.file&&t.ifExcel()&&t.htmlModeConfig),L(1),w("ngIf",t.file&&t.ifPresentation()&&t.runPresentation||t.file&&t.ifPresentation()&&!t.isDesktop),L(1),w("ngIf",t.runPresentation)}}const YY=function(){return["fas","folder-open"]};function XY(e,n){if(1&e){const t=r1();H(0,"gd-init-state",57),Z("fileDropped",function(r){return q(t),$(S().fileDropped(r))}),D1(1),f1(2,"translate"),b1(3,"fa-icon",58),D1(4),f1(5,"translate"),b1(6,"br"),D1(7),f1(8,"translate"),k()}2&e&&(w("icon","eye")("text","Drop file here to upload"),L(1),g2(" ",u1(2,6,"Click")," "),L(2),w("icon",P2(12,YY)),L(1),g2(" ",u1(5,8,"to open file"),""),L(3),g2(" ",u1(8,10,"Or drop file here")," "))}function QY(e,n){if(1&e&&(b1(0,"div",4),f1(1,"safeHtml")),2&e){const t=S();w("innerHTML",u1(1,2,t.data),h4)("contentEditable",!!t.editable)}}function JY(e,n){if(1&e&&(b1(0,"img",5),f1(1,"safeResourceHtml")),2&e){const t=S();it("width",t.width,"px")("height",t.height,"px"),I0("src",u1(1,5,t.imgData),z0)}}function eX(e,n){1&e&&(H(0,"div",6),b1(1,"fa-icon",7),D1(2," \xa0Loading... Please wait. "),k()),2&e&&(L(1),w("icon",P2(2,qh))("spin",!0))}function tX(e,n){1&e&&(H(0,"div",7),D1(1,"Please wait..."),k())}function nX(e,n){if(1&e&&b1(0,"gd-excel-page",10),2&e){const t=S().$implicit,i=S();w("number",t.number)("data",t.data)("isHtml",i.mode)("angle",t.angle)("width",t.width)("height",t.height)("editable",t.editable)}}function iX(e,n){if(1&e&&(H(0,"div",8),U(1,nX,1,7,"gd-excel-page",9),k()),2&e){const t=n.$implicit,i=S();w("ngClass",i.file.showGridLines?"page-grid-lines":"page")("angle",t.angle)("isHtmlMode",i.mode),L(1),w("ngIf",i.currentPageNo==t.number)}}function rX(e,n){if(1&e){const t=r1();H(0,"div")(1,"gd-button",11),Z("click",function(){const o=q(t).$implicit;return $(S().selectSheet(o.number))}),D1(2),k()()}if(2&e){const t=n.$implicit,i=S();L(1),w("icon","eye")("ngClass",t2(3,Wh,i.currentPageNo==t.number)),L(1),Pe(t.sheetName)}}function oX(e,n){1&e&&(H(0,"div",4),D1(1,"Please wait..."),k())}function aX(e,n){if(1&e&&(H(0,"div",5),b1(1,"gd-page",6),k()),2&e){const t=n.$implicit,i=S();it("height",i.getDimensionWithUnit(t.height,t.number))("width",i.getDimensionWithUnit(t.width,t.number)),w("ngClass",i.isVertical(t)?"page presentation vertical":"page presentation")("angle",t.angle)("isHtmlMode",i.mode)("width",t.width)("height",t.height),L(1),w("number",t.number)("data",t.data)("isHtml",i.mode)("angle",t.angle)("width",t.width)("height",t.height)("editable",t.editable)}}const cX=["*"];class zn{constructor(n,t){this._http=n,this._config=t}loadFiles(n){return this._http.post(this._config.getViewerApiEndpoint()+e1.LOAD_FILE_TREE,{path:n},e1.httpOptionsJson)}loadFile(n){return this._http.post(this._config.getViewerApiEndpoint()+e1.LOAD_DOCUMENT_DESCRIPTION,n,e1.httpOptionsJson)}upload(n,t,i){const r=new FormData;return r.append("file",n),r.append("rewrite",String(i)),t&&r.append("url",t),this._http.post(this._config.getViewerApiEndpoint()+e1.UPLOAD_DOCUMENTS,r)}loadPage(n,t){return this._http.post(this._config.getViewerApiEndpoint()+e1.LOAD_DOCUMENT_PAGE,{guid:n.guid,fileType:n.fileType,password:n.password,page:t},e1.httpOptionsJson)}rotate(n,t,i){return this._http.post(this._config.getViewerApiEndpoint()+e1.ROTATE_DOCUMENT_PAGE,{guid:n.guid,fileType:n.fileType,password:n.password,pages:[i],angle:t},e1.httpOptionsJson)}getDownloadUrl(n){return this._config.getViewerApiEndpoint()+e1.DOWNLOAD_DOCUMENTS+"/?path="+n.guid}loadPrint(n){return this._http.post(this._config.getViewerApiEndpoint()+e1.LOAD_PRINT,{guid:n.guid,fileType:n.fileType,password:n.password},e1.httpOptionsJson)}loadPrintPdf(n){return this._http.post(this._config.getViewerApiEndpoint()+e1.LOAD_PRINT_PDF,{guid:n.guid,fileType:n.fileType,password:n.password},e1.httpOptionsJsonResponseTypeBlob)}loadThumbnails(n){return this._http.post(this._config.getViewerApiEndpoint()+e1.LOAD_THUMBNAILS,{guid:n.guid,fileType:n.fileType,password:n.password},e1.httpOptionsJson)}}zn.\u0275fac=function(n){return new(n||zn)(l1(j3),l1(H4))},zn.\u0275prov=n1({token:zn,factory:zn.\u0275fac,providedIn:"root"}),zn.ngInjectableDef=n1({factory:function(){return new zn(l1(j3),l1(H4))},token:zn,providedIn:"root"});class sX{}class Yt{constructor(n,t){this._http=n,this._config=t,this._viewerConfig=new _c(new sX),this._updatedConfig=this._viewerConfig.asObservable()}get updatedConfig(){return this._updatedConfig}load(){return new Promise((n,t)=>{const i=this._config.getConfigEndpoint(e1.VIEWER_APP);this._http.get(i,e1.httpOptionsJson).toPromise().then(r=>{this._viewerConfig.next(r),n()}).catch(r=>{t(`Could not load viewer config: ${JSON.stringify(r)}`)})})}}Yt.\u0275fac=function(n){return new(n||Yt)(l1(j3),l1(H4))},Yt.\u0275prov=n1({token:Yt,factory:Yt.\u0275fac,providedIn:"root"}),Yt.ngInjectableDef=n1({factory:function(){return new Yt(l1(j3),l1(H4))},token:Yt,providedIn:"root"});class pe{constructor(n,t,i){this.code=n,this.alternateCode=t,this.name=i}is(n){const t=n.toUpperCase();return this.code.toUpperCase()===t||this.alternateCode.toUpperCase()===t}}class Ie{}Ie.thumbnailsWidth=300,Ie.scrollWidth=17,Ie.topbarWidth=60,Ie.documentMargin=20,Ie.defaultShowLanguageMenu=!0,Ie.defaultShowToolBar=!0,Ie.defaultLanguage=new pe("en","en-us","English"),Ie.defaultSupportedLanguages=[new pe("ar","ar","\u0627\u0644\u0639\u0631\u0628\u064a\u0629"),new pe("ca","ca-es","Catal\xe0"),new pe("cs","cs-cz","\u010ce\u0161tina"),new pe("da","da-dk","Dansk"),new pe("de","de-de","Deutsch"),new pe("el","el-gr","\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac"),new pe("en","en-us","English"),new pe("es","es-es","Espa\xf1ol"),new pe("fil","fil-ph","Filipino"),new pe("fr","fr-fr","Fran\xe7ais"),new pe("he","he-il","\u05e2\u05d1\u05e8\u05d9\u05ea"),new pe("hi","hi-in","\u0939\u093f\u0928\u094d\u0926\u0940"),new pe("id","id-id","Indonesia"),new pe("it","it-it","Italiano"),new pe("ja","ja-jp","\u65e5\u672c\u8a9e"),new pe("kk","kk-kz","\u049a\u0430\u0437\u0430\u049b \u0422\u0456\u043b\u0456"),new pe("ko","ko-kr","\ud55c\uad6d\uc5b4"),new pe("ms","ms-my","Melayu"),new pe("nl","nl-nl","Nederlands"),new pe("pl","pl-pl","Polski"),new pe("pt","pt-pt","Portugu\xeas"),new pe("ro","ro-ro","Rom\xe2n\u0103"),new pe("ru","ru-ru","\u0420\u0443\u0441\u0441\u043a\u0438\u0439"),new pe("sv","sv-se","Svenska"),new pe("vi","vi-vn","Ti\u1ebfng Vi\u1ec7t"),new pe("th","th-th","\u0e44\u0e17\u0e22"),new pe("tr","tr-tr","T\xfcrk\xe7e"),new pe("uk","uk-ua","\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430"),new pe("zh-hans","zh","\u4e2d\u6587(\u7b80\u4f53)"),new pe("zh-hant","zh-hant","\u4e2d\u6587(\u7e41\u9ad4)")];class lX{constructor(n,t){this.remaining=0,this.state=0,this.callback=n,this.interval=t,this.startTime=(new Date).getTime();const i=this;this.timerId=setInterval(()=>{this.callback(),i.startTime=(new Date).getTime()},this.interval),this.state=1}pause(){1===this.state&&(this.remaining=this.interval-((new Date).getTime()-this.startTime),clearInterval(this.timerId),this.state=2)}resume(){2===this.state&&(this.state=3,setTimeout(()=>this.timeoutCallback(),this.remaining))}stop(){this.state=0,clearInterval(this.timerId)}timeoutCallback(){3===this.state&&(this.callback(),this.startTime=(new Date).getTime(),this.timerId=setInterval(this.callback,this.interval),this.state=1)}}let fX=(()=>{class e{constructor(t,i,r,o,a,s,l,u,m,_,y,z,A){this._viewerService=t,this._modalService=i,this._navigateService=a,this._renderPrintService=u,this._windowService=_,this._loadingMaskService=y,this.cdr=z,this.translate=A,this.title="viewer",this.files=[],this.countPages=0,this.formatDisabled=!0,this.showThumbnails=!1,this.browseFilesModal=gi.BrowseFiles,this.showSearch=!1,this.pagesToPreload=[],this._zoom=100,this.fileWasDropped=!1,this._searchTermFromGetQuery=!1,this.docElmWithBrowsersFullScreenFunctions=document.documentElement,this.docWithBrowsersExitFunctions=document,this.zoomService=s,this.startScrollTime=Date.now(),this.endScrollTime=Date.now(),r.updatedConfig.subscribe(R=>{this.viewerConfig=R}),o.uploadsChange.subscribe(R=>{if(R){let W;for(W=0;W{this.fileWasDropped?this.selectFile(X.guid,"","",""):this.selectDir("")})}}),l.checkPreload.subscribe(R=>{if(this.file&&0!==this.viewerConfig.preloadPageCount)for(let W=R;W0&&W<=this.file.pages.length&&!this.file.pages[W-1].data&&this.preloadPages(W,W)}),m.passChange.subscribe(R=>{this.selectFile(this.credentials.guid,R,gi.PasswordRequired,this.credentials.fileType)}),this.isDesktop=_.isDesktop(),_.onResize.subscribe(()=>{this.isDesktop=_.isDesktop(),this.runPresentation||this.refreshZoom()})}set content(t){t&&(this._searchElement=t)}fullScreen(){document.fullscreenElement||this.closeFullScreen()}ngOnInit(){if(""!==this.viewerConfig.defaultDocument&&null!==this.viewerConfig.defaultDocument)return this.isLoading=!0,this.selectFile(this.viewerConfig.defaultDocument,"","",""),void this.selectCurrentOrFirstPage();const t=this.defaultLanguageConfig,i=this.supportedLanguagesConfig.map(o=>({name:o.name,value:o.code,separator:!1}));this.supportedLanguages=i,this.selectedLanguage=i.find(o=>o.value===t.code),this.translate.use(t.code);const r=window.location.search;if(r){const o=new URLSearchParams(r);if(this.fileParam=o.get("file"),this.fileTypeParam=o.get("fileType"),this.fileParam){const a=o.get("search");return a&&null!==a&&""!==a&&(this._searchTermForBackgroundService=a,this._searchTermFromGetQuery=!0),this.isLoading=!0,this.selectFile(this.fileParam,"","",this.fileTypeParam),void this.selectCurrentOrFirstPage()}this.urlParam=o.get("url"),this.urlParam&&(this.isLoading=!0,this.upload(this.urlParam),this.selectCurrentOrFirstPage())}}ngAfterViewInit(){this._loadingMaskService.onLoadingChanged.subscribe(t=>this.isLoading=t),this.refreshZoom()}get rewriteConfig(){return!this.viewerConfig||this.viewerConfig.rewrite}get zoomConfig(){return!this.viewerConfig||this.viewerConfig.zoom}get pageSelectorConfig(){return!this.viewerConfig||this.viewerConfig.pageSelector}get searchConfig(){return!this.viewerConfig||this.viewerConfig.search}get thumbnailsConfig(){return!this.viewerConfig||this.viewerConfig.thumbnails}get rotateConfig(){return!this.viewerConfig||this.viewerConfig.rotate}get downloadConfig(){return!this.viewerConfig||this.viewerConfig.download}get uploadConfig(){return!this.viewerConfig||this.viewerConfig.upload}get printConfig(){return!this.viewerConfig||this.viewerConfig.print}get browseConfig(){return!this.viewerConfig||this.viewerConfig.browse}get htmlModeConfig(){return!this.viewerConfig||this.viewerConfig.htmlMode}get saveRotateStateConfig(){return!this.viewerConfig||this.viewerConfig.saveRotateState}get enableRightClickConfig(){return!this.viewerConfig||this.viewerConfig.enableRightClick}get currentPage(){return this._navigateService.currentPage}get showLanguageMenu(){return void 0!==this.viewerConfig&&void 0!==this.viewerConfig.showLanguageMenu?this.viewerConfig.showLanguageMenu:Ie.defaultShowLanguageMenu}get showToolBar(){return void 0!==this.viewerConfig&&void 0!==this.viewerConfig.showToolBar?this.viewerConfig.showToolBar:Ie.defaultShowToolBar}get supportedLanguagesConfig(){if(this.viewerConfig&&this.viewerConfig.supportedLanguages){const t=this.viewerConfig.supportedLanguages;return Ie.defaultSupportedLanguages.filter(i=>-1!==t.indexOf(i.code)||-1!==t.indexOf(i.alternateCode))}return Ie.defaultSupportedLanguages}get defaultLanguageConfig(){if(this.viewerConfig&&this.viewerConfig.defaultLanguage)return this.supportedLanguagesConfig.find(r=>r.is(this.viewerConfig.defaultLanguage));const t=window.location.pathname;if(t){const r=t.split("/");for(const o of r){if(""===o)continue;const a=this.supportedLanguagesConfig.filter(s=>s.is(o)).shift();if(a)return a}}const i=window.location.search;if(i){const o=new URLSearchParams(i).get("lang");if(o)return this.supportedLanguagesConfig.find(a=>a.is(o))}return Ie.defaultLanguage}ifPresentation(){return!!this.file&&"Microsoft PowerPoint"===Pt.find(this.file.guid,!1).format}ifExcel(){return!!this.file&&"Microsoft Excel"===Pt.find(this.file.guid,!1).format}ifImage(){return!!this.file&&"file-image"===this.formatIcon}getFileName(){return this.file.guid.replace(/^.*[\\\/]/,"")}openModal(t){this._modalService.open(t)}closeModal(t){this._modalService.close(t)}selectDir(t){this._viewerService.loadFiles(t).subscribe(i=>this.files=i||[])}selectCurrentOrFirstPage(){this.selectedPageNumber=0!==this._navigateService.currentPage?this._navigateService.currentPage:1}getPreloadPageCount(){return this.ifPresentation()&&0!==this.viewerConfig.preloadPageCount&&this.viewerConfig.preloadPageCount<3?3:this.viewerConfig.preloadPageCount}selectFile(t,i,r,o){this.credentials={guid:t,fileType:o,password:i},this.file=null,this._viewerService.loadFile(this.credentials).subscribe(a=>{if(this.file=a,this.formatDisabled=!this.file,this.pagesToPreload=[],a){this.credentials.fileType=a.fileType,this.formatIcon=this.file?Pt.find(this.file.guid,!1).icon:null,a.pages&&a.pages[0]&&(this._pageHeight=a.pages[0].height,this._pageWidth=a.pages[0].width,this.options=this.zoomOptions(),this.timerOptions=this.getTimerOptions(),this.refreshZoom()),this.file.thumbnails=a.pages.slice();const s=this.getPreloadPageCount(),l=a.pages?a.pages.length:0;this.preloadPages(1,0===s||s>l?l:s),this.selectedPageNumber=1,this._navigateService.countPages=l,this._navigateService.currentPage=this.selectedPageNumber,this.countPages=l,this.showThumbnails=this.ifPresentation(),this.runPresentation=!1,this._searchTermFromGetQuery||(this._searchTermForBackgroundService=a.searchTerm)}this._searchTermForBackgroundService&&null!==this._searchTermForBackgroundService&&""!==this._searchTermForBackgroundService&&this._searchElement&&this._searchElement.setText(this._searchTermForBackgroundService),this.cdr.detectChanges()}),r&&this._modalService.close(r),this.clearData()}preloadPages(t,i){for(let r=t;r<=i;r++){if(-1!==this.pagesToPreload.indexOf(r))continue;const o=this.file.pages.find(a=>a.number===r);o&&o.data||(this.pagesToPreload.push(r),this._viewerService.loadPage(this.credentials,r).subscribe(a=>{a.data&&(a.data=a.data.replace(/>\s+<").replace(/\uFEFF/g,"")),this.file.pages[r-1].data=a.data,this.file.thumbnails&&(this.file.thumbnails[r-1].data=a.data)}))}}upload(t){this._viewerService.upload(null,t,this.rewriteConfig).subscribe(i=>{""!==this.fileParam?(this.selectFile(i.guid,"","",""),this.fileParam="",this.fileTypeParam=""):this.selectDir("")})}nextPage(){this.formatDisabled||(this.intervalTimer&&this._navigateService.currentPage+1>this.countPages&&(this.intervalTimer.stop(),this.intervalTime=0),this._navigateService.nextPage())}prevPage(){this.formatDisabled||this._navigateService.prevPage()}toLastPage(){this.formatDisabled||this._navigateService.toLastPage()}toFirstPage(){this.formatDisabled||this._navigateService.toFirstPage()}zoomIn(){this.formatDisabled||this._zoom<490&&(this.zoom=this._zoom+10)}zoomOut(){this.formatDisabled||this._zoom>30&&(this.zoom=this._zoom-10)}fileDropped(t){this.fileWasDropped=t}ptToPx(t){return 96*t/72}getFitToWidth(){const t=this.formatIcon&&(this.ifExcel()||this.ifImage())?this._pageWidth:this.ptToPx(this._pageWidth),i=this.formatIcon&&(this.ifExcel()||this.ifImage())?this._pageHeight:this.ptToPx(this._pageHeight),r=t||window.innerWidth,o=this.isDesktop&&this.ifPresentation()&&!this.runPresentation;return this.runPresentation?Math.round(100*window.innerWidth/r):i>t&&Math.round(r/window.innerWidth)<2?200-Math.round(100*r/(o?window.innerWidth-Ie.thumbnailsWidth-Ie.scrollWidth:window.innerWidth)):this.isDesktop?Math.round((o?window.innerWidth-Ie.thumbnailsWidth-Ie.scrollWidth:window.innerHeight)/r*100):Math.round(100*window.innerWidth/r)}getFitToHeight(){const t=this.formatIcon&&(this.ifExcel()||this.ifImage())?this._pageWidth:this.ptToPx(this._pageWidth),i=this.formatIcon&&(this.ifExcel()||this.ifImage())?this._pageHeight:this.ptToPx(this._pageHeight),r=i>t?window.innerHeight-100:window.innerHeight+100,o=i||r;return this.ifPresentation()||this.ifImage()?this.ifPresentation()?Math.floor(100*(window.innerHeight-Ie.topbarWidth)/(this.runPresentation?o:o+2*Ie.documentMargin+Ie.scrollWidth)):this.ifImage()?Math.floor(100*(window.innerHeight-Ie.topbarWidth)/(o+2*Ie.documentMargin+Ie.scrollWidth)):void 0:i>t?Math.round(100*r/o):Math.round(100*o/r)}zoomOptions(){const t=this.getFitToWidth(),i=this.getFitToHeight();return this.zoomService.zoomOptions(t,i)}getTimerOptions(){return[{value:0,name:"None",separator:!1},{value:5,name:"5 sec",separator:!1},{value:10,name:"10 sec",separator:!1},{value:15,name:"15 sec",separator:!1},{value:30,name:"30 sec",separator:!1}]}set zoom(t){this._zoom=t,this.zoomService.changeZoom(this._zoom)}get zoom(){return this._zoom}selectZoom(t){this.zoom=t.value}rotate(t){if(this.formatDisabled)return;const i=this._navigateService.currentPage,r=this.file.pages[i-1];this.saveRotateStateConfig&&this.file&&this._viewerService.rotate(this.credentials,t,i).subscribe(o=>{const a=o.data.replace(/>\s+<").replace(/\uFEFF/g,"");if(o.data=a,this.file.pages[i-1]=o,this.file&&this.file.pages&&r){const s=r.angle+t;this.changeAngle(r,s>360?90:s<-360?-90:s)}})}changeAngle(t,i){t.angle=i}downloadFile(){this.formatDisabled||window.location.assign(this._viewerService.getDownloadUrl(this.credentials))}printFile(){this.formatDisabled||this._viewerService.loadPrintPdf(this.credentials).subscribe(t=>{this._renderPrintService.changeBlob(t)})}openThumbnails(){if(!this.formatDisabled){if(this.showThumbnails)return void(this.showThumbnails=!1);this.runPresentation=!1,this.showThumbnails=!0}}clearData(){if(this.file&&this.file.pages)for(const t of this.file.pages)t.data=null}onRightClick(){return this.enableRightClickConfig}openSearch(t=!0){this.formatDisabled||(this.showSearch=t?!this.showSearch:t)}refreshZoom(){this.file&&(this.formatIcon=Pt.find(this.file.guid,!1).icon,this.zoom=!this._windowService.isDesktop()||this.ifImage()||this.ifPresentation()?this.ifImage()?this.getFitToHeight():this.getFitToWidth():100)}selectCurrentPage(t){this.selectedPageNumber=t,this._navigateService.currentPage=t,this.runPresentation&&this.intervalTime>0&&3!==this.intervalTimer.state&&(this.resetInterval(),this.slideInRange()&&this.startCountDown(this.intervalTime,!0))}onMouseWheelUp(){this.startScrollTime=Date.now(),this.ifPresentation()&&1!==this.selectedPageNumber&&this.startScrollTime-this.endScrollTime>300&&this.vertScrollEnded(!0)&&(this.selectedPageNumber=this.selectedPageNumber-1,this.endScrollTime=Date.now())}onMouseWheelDown(){this.startScrollTime=Date.now(),this.ifPresentation()&&this.selectedPageNumber!==this.file.pages.length&&this.startScrollTime-this.endScrollTime>300&&this.vertScrollEnded(!1)&&(this.startScrollTime=Date.now(),this.file.pages[this.selectedPageNumber]&&!this.file.pages[this.selectedPageNumber].data?(this.preloadPages(this.selectedPageNumber,this.selectedPageNumber+1),this.selectedPageNumber=this.selectedPageNumber+1):this.selectedPageNumber=this.selectedPageNumber+1,this.endScrollTime=Date.now())}vertScrollEnded(t){const i=document.getElementsByClassName("gd-document")[0];return t?0===i.scrollTop:i.offsetHeight+i.scrollTop>=i.scrollHeight}toggleTimer(t){this.intervalTime=t.value,0!==this.intervalTime?(this.intervalTimer&&1===this.intervalTimer.state&&this.intervalTimer.stop(),this.startCountDown(this.intervalTime),this.startInterval(this.intervalTime)):this.intervalTimer.stop()}showCountDown(){return this.intervalTime>0&&this.slideInRange()}startCountDown(t,i=!1){if(clearInterval(this.countDownInterval),t>0){this.secondsLeft=t,t--;const r=setInterval(()=>{this.secondsLeft=t,0==--t&&clearInterval(r)},1e3);this.countDownInterval=r}}startInterval(t){this.intervalTimer=new lX(()=>{this.slideInRange()?(this.nextPage(),this.slideInRange()&&this.startCountDown(t)):this.intervalTimer.stop()},1e3*t)}slideInRange(){return this._navigateService.currentPage+1<=this.countPages}resetInterval(){this.intervalTimer.stop(),this.startInterval(this.intervalTime)}pausePresenting(){this.intervalTimer.pause(),this.startCountDown(0,!0)}resumePresenting(){this.intervalTimer.resume();const t=Math.round(this.intervalTimer.remaining/1e3);this.startCountDown(t)}presentationRunning(){return this.intervalTimer&&1===this.intervalTimer.state&&this.slideInRange()}presentationPaused(){return this.intervalTimer&&2===this.intervalTimer.state&&this.slideInRange()}startPresentation(){this.showThumbnails=!1,this.openFullScreen(),this.runPresentation=!this.runPresentation;const t=setInterval(()=>{screen.height===window.innerHeight&&screen.width===window.innerWidth&&(this.zoomService.changeZoom(window.innerWidth/window.innerHeight<1.7&&this._pageWidth/this._pageHeight>1.7?this.getFitToWidth():this.getFitToHeight()),clearInterval(t))},50)}openFullScreen(){const t=document.documentElement;t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.msRequestFullscreen&&t.msRequestFullscreen(),this.isFullScreen=!0}closeFullScreen(t=!1){if(t){const i=document;i.exitFullscreen?i.exitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.msExitFullscreen&&i.msExitFullscreen()}this.intervalTimer&&this.intervalTimer.stop(),this.isFullScreen=!1,this.runPresentation=!1,this.showThumbnails=!0,this.intervalTime=0,this.startCountDown(0),this.refreshZoom()}selectLanguage(t){this.selectedLanguage=t,this.translate.use(t.value)}}return e.\u0275fac=function(t){return new(t||e)(F(zn),F(E6),F(Yt),F(X3),F(v2),F(ct),F(H6),F(uo),F(ho),F(St),F(r6),F(Y0),F(K3))},e.\u0275cmp=I({type:e,selectors:[["gd-viewer"]],viewQuery:function(t,i){if(1&t&&_r(pY,5),2&t){let r;vr(r=Cr())&&(i.content=r.first)}},hostBindings:function(t,i){1&t&&Z("fullscreenchange",function(){return i.fullScreen()},0,n7)},decls:9,vars:7,consts:[[3,"loadingMask"],[1,"wrapper",3,"contextmenu"],["class","top-panel",4,"ngIf"],["class","doc-panel",4,"ngIf"],[3,"icon","text","fileDropped",4,"ngIf"],[3,"files","uploadConfig","urlForUpload","selectedDirectory","selectedFileGuid"],[1,"top-panel"],["icon","eye",3,"logo",4,"ngIf"],["class","toolbar-panel",4,"ngIf"],["icon","eye",3,"logo"],[1,"toolbar-panel"],[3,"icon","title","click",4,"ngIf"],["class","mobile-hide select-left noselect",3,"disabled","options","showSelected","selected",4,"ngIf"],["class","mobile-hide",3,"disabled","icon","title","click",4,"ngIf"],["class","current-page-number noselect",3,"ngClass",4,"ngIf"],[3,"disabled","icon","title","click",4,"ngIf"],[3,"hidden","hidePanel"],["search",""],[1,"toolbar-panel-right"],["class","language-menu mobile-hide",4,"ngIf"],["class","thumbnails-button btn-right",3,"disabled","icon","title","click",4,"ngIf"],["class","thumbnails-button mobile-hide btn-right smp-start-stop",3,"disabled","icon","title","click",4,"ngIf"],[3,"icon","title","click"],[1,"mobile-hide","select-left","noselect",3,"disabled","options","showSelected","selected"],[1,"mobile-hide",3,"disabled","icon","title","click"],[1,"current-page-number","noselect",3,"ngClass"],[3,"disabled","icon","title","click"],[1,"language-menu","mobile-hide"],[1,"select-language-menu","noselect",3,"disabled","options","showSelected","selected"],[1,"thumbnails-button","btn-right",3,"disabled","icon","title","click"],[1,"thumbnails-button","mobile-hide","btn-right","smp-start-stop",3,"disabled","icon","title","click"],[1,"slides-title"],[1,"slides-filename"],[1,"slides-buttons"],["class","mobile-hide select-right",3,"disabled","options","icon","selected",4,"ngIf"],[1,"mobile-hide","btn-right","smp-start-stop",3,"disabled","icon","title","click"],[1,"mobile-hide","select-right",3,"disabled","options","icon","selected"],[1,"doc-panel"],["docPanel",""],[3,"pages","isHtmlMode","guid","mode","selectedPage",4,"ngIf"],["gdScrollable","",3,"pages","isHtmlMode","guid","mode","isPresentation","selectedPage",4,"ngIf"],["class","gd-document","gdScrollableEdited","","gdRenderPrint","","gdMouseWheel","",3,"file","mode","showActiveSlide","preloadPageCount","selectedPage","htmlMode","mouseWheelUp","mouseWheelDown",4,"ngIf"],["class","gd-document","gdScrollable","","gdRenderPrint","",3,"file","mode","preloadPageCount","htmlMode",4,"ngIf"],["class","gd-document",3,"file","currentPage","mode","preloadPageCount","selectedPage",4,"ngIf"],["class","slides-nav",4,"ngIf"],[3,"pages","isHtmlMode","guid","mode","selectedPage"],["gdScrollable","",3,"pages","isHtmlMode","guid","mode","isPresentation","selectedPage"],["gdScrollableEdited","","gdRenderPrint","","gdMouseWheel","",1,"gd-document",3,"file","mode","showActiveSlide","preloadPageCount","selectedPage","htmlMode","mouseWheelUp","mouseWheelDown"],["gdScrollable","","gdRenderPrint","",1,"gd-document",3,"file","mode","preloadPageCount","htmlMode"],[1,"gd-document",3,"file","currentPage","mode","preloadPageCount","selectedPage"],[1,"slides-nav"],["class","timer",4,"ngIf"],["class","mobile-hide",3,"disabled","icon","click",4,"ngIf"],[1,"timer"],[3,"icon","spin"],[3,"ngClass"],[1,"mobile-hide",3,"disabled","icon","click"],[3,"icon","text","fileDropped"],[3,"icon"]],template:function(t,i){1&t&&(b1(0,"gd-loading-mask",0),H(1,"div",1),Z("contextmenu",function(){return i.onRightClick()}),U(2,IY,3,2,"div",2),U(3,FY,14,12,"div",2),U(4,KY,8,6,"div",3),U(5,XY,9,13,"gd-init-state",4),H(6,"gd-browse-files-modal",5),Z("urlForUpload",function(o){return i.upload(o)})("selectedDirectory",function(o){return i.selectDir(o)})("selectedFileGuid",function(o){return i.selectFile(o,null,i.browseFilesModal,null)}),k(),b1(7,"gd-error-modal")(8,"gd-password-required"),k()),2&t&&(w("loadingMask",i.isLoading),L(2),w("ngIf",!i.runPresentation),L(1),w("ngIf",i.runPresentation),L(1),w("ngIf",i.file),L(1),w("ngIf",!i.file),L(1),w("files",i.files)("uploadConfig",i.uploadConfig))},dependencies:function(){return[at,Ne,_h,E4,as,Mh,ss,zh,jh,Dh,fs,Th,Lh,Eh,Hh,Ah,Ih,Bh,K2,Gh,Zh,Zn]},styles:["@import url(https://fonts.googleapis.com/css?family=Open+Sans&display=swap);[_nghost-%COMP%] *[_ngcontent-%COMP%]{font-family:'Open Sans',Arial,Helvetica,sans-serif}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.current-page-number[_ngcontent-%COMP%]{margin-left:7px;font-size:14px;color:#959da5;width:37px;height:37px;line-height:37px;text-align:center}.current-page-number.active[_ngcontent-%COMP%]{color:#fff}.wrapper[_ngcontent-%COMP%]{-webkit-box-align:stretch;align-items:stretch;height:100%;width:100%;position:fixed;top:0;bottom:0;left:0;right:0}.doc-panel[_ngcontent-%COMP%]{display:-webkit-box;display:flex;height:calc(100vh - 60px);-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}.top-panel[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;width:100%}.toolbar-panel[_ngcontent-%COMP%]{background-color:#3e4e5a;width:100%}.toolbar-panel-right[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;place-content:flex-end}.btn-right[_ngcontent-%COMP%]{margin-right:7px}.smp-start-stop[_ngcontent-%COMP%] .button{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;border:1px solid;border-radius:5px;padding:0 10px!important}.language-menu[_ngcontent-%COMP%]{margin-right:15px}.select-language-menu[_ngcontent-%COMP%] .select{width:100%}.select-language-menu[_ngcontent-%COMP%] .select .dropdown-menu{overflow-y:scroll;max-height:90%}.select-language-menu[_ngcontent-%COMP%] .selected-value{max-width:100%}.thumbnails-button[_ngcontent-%COMP%] .button{margin-left:0!important} .tools .button, .tools .nav-caret, .tools .selected-value{color:#fff!important} .tools .button.inactive, .tools .nav-caret.inactive, .tools .selected-value.inactive{color:#959da5!important} .tools .button{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-flow:column} .tools .select-left .select{position:relative} .tools .select-left .dropdown-menu{top:40px;left:0} .tools .select-right .select{position:relative} .tools .select-right .dropdown-menu{top:40px;right:0} .tools .dropdown-menu .option{color:#6e6e6e!important} .tools .dropdown-menu .option:hover{background-color:#4b566c!important} .tools .icon-button{margin:0 0 0 15px!important} .tools .select{width:37px;height:37px;margin-left:7px;line-height:37px;text-align:center} .tools .slides-title{color:#fff;padding-left:12px;font-size:18px} .tools .slides-filename{-webkit-box-flex:1;flex-grow:1;text-align:center;color:#fff;text-overflow:ellipsis;white-space:nowrap;padding-left:20px;overflow:hidden} .tools .slides-buttons{display:-webkit-box;display:flex} .tools .slides-buttons .select{color:#fff;cursor:pointer} .tools .gd-nav-search-container .icon-button{margin:0 0 0 7px!important}.slides-nav[_ngcontent-%COMP%]{position:absolute;right:30px;bottom:30px;display:-webkit-box;display:flex}.slides-nav[_ngcontent-%COMP%] .button{font-size:37px;background-color:#edf0f2;border-radius:3px}.slides-nav[_ngcontent-%COMP%] .timer{font-size:42px;line-height:6px;color:#959da5;position:relative}.slides-nav[_ngcontent-%COMP%] .timer .seconds-remaining{position:absolute;margin-left:5px;font-size:16px;top:18px;left:12px}.slides-nav[_ngcontent-%COMP%] .timer .seconds-remaining.two-digits{left:6px!important} .page.presentation .gd-wrapper{pointer-events:none}@media (max-width:1037px){.current-page-number[_ngcontent-%COMP%], .mobile-hide[_ngcontent-%COMP%]{display:none} .tools gd-button:nth-child(1)>.icon-button{margin:0 0 0 10px!important} .tools .icon-button{height:60px;width:60px} .tools .gd-nav-search-btn .icon-button{height:37px;width:37px} .tools .gd-nav-search-btn .button{font-size:14px} .tools .gd-nav-search-container{top:59px!important}}"]}),e})();class I4{constructor(){}getUpdatedPage(n){const t=(new DOMParser).parseFromString(n,"text/html"),i=t.querySelector("table");let r=0;t.querySelectorAll("table > tbody > tr:first-child td").forEach(l=>{r+=l.attributes.colspan?parseInt(l.attributes.colspan.value,10):1});const a=this.createHeader(r,i);return t.querySelector("table").replaceWith(a),(new XMLSerializer).serializeToString(t).replace(/a0:/g,"").replace(/:a0/g,"")}createHeader(n,t){const i=document.createElement("thead");i.append(document.createElement("tr"));for(let s=0;s{const l=document.createElement("div");if(0!==a){const u=document.createElement("td");u.className="excel",u.append(l),l.innerText=a.toString(),s.prepend(u)}else{const u=document.createElement("th");u.append(l),s.prepend(u)}a++}),t}colName(n){const t="a".charCodeAt(0),r="z".charCodeAt(0)-t+1;let o="";for(;n>=0;)o=String.fromCharCode(n%r+t)+o,n=Math.floor(n/r)-1;return o}}I4.\u0275fac=function(n){return new(n||I4)},I4.\u0275prov=n1({token:I4,factory:I4.\u0275fac,providedIn:"root"}),I4.ngInjectableDef=n1({factory:function(){return new I4},token:I4,providedIn:"root"});let $h=(()=>{class e{constructor(t){this._excelPageService=t}ngOnInit(){/(MSIE|Trident\/|Edge\/)/i.test(navigator.userAgent)&&0===this.number&&(this.editable=!1)}ngOnChanges(t){this.isHtml?this.data=this.data?this.data.replace(/>\s+<").replace(/\uFEFF/g,""):null:this.data&&(this.imgData=this.data.startsWith("data:image")?this.data:"data:image/png;base64,"+this.data)}}return e.\u0275fac=function(t){return new(t||e)(F(I4))},e.\u0275cmp=I({type:e,selectors:[["gd-excel-page"]],inputs:{editable:"editable",data:"data",angle:"angle",width:"width",height:"height",number:"number",isHtml:"isHtml"},features:[c2],decls:4,vars:4,consts:[[3,"id"],["class","gd-wrapper",3,"innerHTML","contentEditable",4,"ngIf"],["class","gd-page-image","alt","",3,"width","height",4,"ngIf"],["class","gd-page-spinner",4,"ngIf"],[1,"gd-wrapper",3,"innerHTML","contentEditable"],["alt","",1,"gd-page-image"],[1,"gd-page-spinner"],[3,"icon","spin"]],template:function(t,i){1&t&&(H(0,"div",0),U(1,QY,2,4,"div",1),U(2,JY,2,7,"img",2),U(3,eX,3,3,"div",3),k()),2&t&&(Un("id","page-",i.number,""),L(1),w("ngIf",i.data&&i.isHtml),L(1),w("ngIf",i.data&&!i.isHtml),L(1),w("ngIf",!i.data))},dependencies:[Ne,K2,so,co],styles:[".gd-page-spinner[_ngcontent-%COMP%]{margin-top:150px;text-align:center}.gd-wrapper[_ngcontent-%COMP%]{width:inherit;height:inherit}.gd-wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:100%} .gd-highlight{background-color:#ff0} .gd-highlight-select{background-color:#ff9b00} .page-grid-lines td{border:1px solid #e7e7e7!important} tr td.excel:first-child{color:#959da5;background-color:#f4f4f4;font-weight:unset;width:1%;text-align:center} tr td.excel:first-child div{width:80px} tr th.excel:first-child{background-color:#f4f4f4;width:1%} tr th.excel:first-child div{width:80px}.gd-page-image[_ngcontent-%COMP%]{height:100%!important;width:100%!important}"]}),e})(),Zh=(()=>{class e extends ss{constructor(t,i,r,o,a){super(t,i,r,o),this.renderer=a,this.panzoom=null,this.navigateService=o}ngOnInit(){this.currentPageNo=1}ngAfterViewInit(){this.navigateService.navigate.subscribe(i=>{i&&this.selectSheet(i)});const t=this.getScrollBarWidth();this.renderer.setStyle(this._elementRef.nativeElement.querySelector(".sheets"),"right",this.getScrollBarWidth()+"px"),this.renderer.setStyle(this._elementRef.nativeElement.querySelector(".sheets"),"bottom",this.getScrollBarWidth()+"px"),0===t&&this.renderer.setStyle(this._elementRef.nativeElement.querySelector(".sheets"),"padding-right","17px")}getScrollBarWidth(){const t=document.querySelector(".gd-document");return t.offsetWidth-t.clientWidth}selectSheet(t){this.currentPageNo=t}}return e.\u0275fac=function(t){return new(t||e)(F(Re),F(ct),F(St),F(v2),F(p3))},e.\u0275cmp=I({type:e,selectors:[["gd-excel-document"]],viewQuery:function(t,i){if(1&t&&_r($h,5),2&t){let r;vr(r=Cr())&&(i.pages=r)}},features:[y3],decls:7,vars:4,consts:[["class","wait",4,"ngIf"],["id","document",1,"document",2,"height","100%"],["gdSearchable","",3,"ngClass"],["gdRotation","",3,"ngClass","angle","isHtmlMode",4,"ngFor","ngForOf"],[1,"sheets"],[1,"sheets-wrapper"],[4,"ngFor","ngForOf"],[1,"wait"],["gdRotation","",3,"ngClass","angle","isHtmlMode"],[3,"number","data","isHtml","angle","width","height","editable",4,"ngIf"],[3,"number","data","isHtml","angle","width","height","editable"],[3,"icon","ngClass","click"]],template:function(t,i){1&t&&(U(0,tX,2,0,"div",0),H(1,"div",1)(2,"div",2),U(3,iX,2,4,"div",3),k()(),H(4,"div",4)(5,"div",5),U(6,rX,3,5,"div",6),k()()),2&t&&(w("ngIf",i.wait),L(2),w("ngClass",i.isDesktop?"panzoom auto-height":"panzoom mobile"),L(1),w("ngForOf",null==i.file?null:i.file.pages),L(3),w("ngForOf",null==i.file?null:i.file.pages))},dependencies:[at,Q4,Ne,E4,fo,hs,$h],styles:["[_nghost-%COMP%]{overflow:auto;width:100%;background-color:#e7e7e7}.document[_ngcontent-%COMP%]{width:100%;-webkit-transition:.4s;transition:.4s;padding:0;margin:0;position:relative}.sheets[_ngcontent-%COMP%]{background-color:#fff;display:-webkit-box;display:flex;border-top:1px solid #e7e7e7;position:fixed;width:100%}.sheets[_ngcontent-%COMP%] gd-button.active .text{background-color:#272727;border-radius:10px;color:#eee}.sheets[_ngcontent-%COMP%] gd-button .text{padding:1px 12px;color:#000}.sheets[_ngcontent-%COMP%] gd-button fa-icon{display:none}.sheets-wrapper[_ngcontent-%COMP%]{margin-left:29px;display:-webkit-box;display:flex}.page[_ngcontent-%COMP%]{position:relative;display:inline-block;background-color:#fff;-webkit-transition:.3s;transition:.3s}.wait[_ngcontent-%COMP%]{position:absolute;top:55px;left:Calc(30%)}.panzoom.auto-height[_ngcontent-%COMP%]{-webkit-transform:none;transform:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:50% 50% 0;transform-origin:50% 50% 0;display:-webkit-box;display:flex;flex-wrap:wrap;height:auto!important}.gd-zoomed[_ngcontent-%COMP%]{margin:10px 98px}.highlights[_ngcontent-%COMP%]{position:absolute;top:0;left:0;bottom:0;right:0}.page-grid-lines[_ngcontent-%COMP%]{background-color:#fff}@media (max-width:1037px){.page[_ngcontent-%COMP%]{min-width:unset!important;min-height:unset!important;margin:5px 0}}"]}),e})();const uX=P4;let Gh=(()=>{class e{constructor(t,i,r,o){this._elementRef=t,this._zoomService=i,this._windowService=r,this._navigateService=o,this.selectedPage=new _1,this.wait=!1,this.container=null,this.doc=null,i.zoomChange.subscribe(a=>{this.zoom=a,100!==a&&1!==this.currentPage&&this.scrollTo(this.currentPage,!0,!1)}),this.isDesktop=r.isDesktop(),this._navigateService.navigate.subscribe(a=>{this.scrollTo(a,a>this.lastCurrentPage),this.lastCurrentPage=a})}ngOnInit(){this.lastCurrentPage=this._navigateService.currentPage}ngOnChanges(){}ngAfterViewInit(){this.doc=this._elementRef.nativeElement.children.item(0).children.item(0),this.container=this._elementRef.nativeElement,new ch(this.container)}ngAfterViewChecked(){const i=this._elementRef.nativeElement.querySelectorAll(".gd-wrapper").item(0);i&&uX(i).trigger("focus")}scrollTo(t,i,r=!0){const o=this._elementRef.nativeElement.offsetWidth*(t-1);this.doScrolling(o,i?o-this._elementRef.nativeElement.offsetWidth:o+this._elementRef.nativeElement.offsetWidth,500,new ce,this._elementRef,r),this.selectedPage.emit(t)}doScrolling(t,i,r,o,a,s=!0){const l=t-i;let u;s?window.requestAnimationFrame(function m(_){u=u||_;const y=_-u,z=Math.min(y/r,1);a.nativeElement.scrollTo({left:i+l*z}),yt.width}onPanLeft(t){t.isFinal&&this._navigateService.nextPage()}onPanRight(t){t.isFinal&&this._navigateService.prevPage()}}return e.\u0275fac=function(t){return new(t||e)(F(Re),F(ct),F(St),F(v2))},e.\u0275cmp=I({type:e,selectors:[["gd-run-presentation"]],inputs:{mode:"mode",preloadPageCount:"preloadPageCount",file:"file",currentPage:"currentPage"},outputs:{selectedPage:"selectedPage"},features:[c2],ngContentSelectors:cX,decls:5,vars:5,consts:[["class","wait",4,"ngIf"],["id","document",1,"document",3,"panleft","panright"],["gdZoom","","gdSearchable","",3,"ngClass","zoomActive","file"],["gdRotation","",3,"ngClass","height","width","angle","isHtmlMode",4,"ngFor","ngForOf"],[1,"wait"],["gdRotation","",3,"ngClass","angle","isHtmlMode","width","height"],[3,"number","data","isHtml","angle","width","height","editable"]],template:function(t,i){1&t&&(s2(),U(0,oX,2,0,"div",0),H(1,"div",1),Z("panleft",function(o){return i.onPanLeft(o)})("panright",function(o){return i.onPanRight(o)}),H(2,"div",2),U(3,aX,2,16,"div",3),k(),l2(4),k()),2&t&&(w("ngIf",i.wait),L(2),w("ngClass",i.isDesktop?"panzoom":"panzoom mobile")("zoomActive",!0)("file",i.file),L(1),w("ngForOf",null==i.file?null:i.file.pages))},dependencies:[at,Q4,Ne,wh,fo,hs,Sh],styles:['[_nghost-%COMP%]{-webkit-box-flex:1;flex:1;-webkit-transition:.4s;transition:.4s;background-color:#e7e7e7;height:100%;overflow-y:hidden;touch-action:auto!important;overflow-x:hidden}[_nghost-%COMP%] .document[_ngcontent-%COMP%]{-webkit-user-select:text!important;-moz-user-select:text!important;-ms-user-select:text!important;user-select:text!important;touch-action:auto!important}.page[_ngcontent-%COMP%]{display:inline-block;margin:20px;-webkit-transition:.3s;transition:.3s}.page[_ngcontent-%COMP%] gd-page{box-shadow:0 3px 6px rgba(0,0,0,.16);background-color:#fff}.page.presentation[_ngcontent-%COMP%]{-webkit-transition:unset;transition:unset;margin:0;width:100%!important;display:-webkit-box!important;display:flex!important;-webkit-box-pack:center!important;justify-content:center!important}.page.presentation.vertical[_ngcontent-%COMP%]{margin:0;width:100%!important;display:-webkit-box!important;display:flex!important;-webkit-box-pack:center!important;justify-content:center!important}.page.presentation.vertical[_ngcontent-%COMP%] [class*="-rotate"]{position:unset!important;margin-right:-240px}.page.presentation.vertical[_ngcontent-%COMP%] gd-page{height:960pt;width:540pt}.wait[_ngcontent-%COMP%]{position:absolute;top:55px;left:Calc(30%)}.panzoom[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;flex-wrap:wrap;align-content:flex-start}@media (max-width:1037px){[_nghost-%COMP%]{overflow-y:unset}.page[_ngcontent-%COMP%]{min-width:unset!important;min-height:unset!important;margin:5px 0}.page[_ngcontent-%COMP%] .gd-wrapper{pointer-events:none}}']}),e})();const dX={Click:"\u0627\u0646\u0642\u0631","to open file":"\u0644\u0641\u062a\u062d \u0627\u0644\u0645\u0644\u0641","Or drop file here":"\u0623\u0648 \u0642\u0645 \u0628\u0625\u0633\u0642\u0627\u0637 \u0627\u0644\u0645\u0644\u0641 \u0647\u0646\u0627","Browse files":"\u062a\u0635\u0641\u062d \u0645\u0644\u0641\u0627\u062a","Zoom In":"\u062a\u0643\u0628\u064a\u0631","Zoom Out":"\u062a\u0635\u063a\u064a\u0631","First Page":"\u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u0623\u0648\u0644\u0649","Previous Page":"\u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629","Next Page":"\u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u062a\u0627\u0644\u064a\u0629","Last Page":"\u0622\u062e\u0631 \u0635\u0641\u062d\u0629","Rotate CCW":"\u062a\u062f\u0648\u064a\u0631 CCW","Rotate CW":"\u062a\u062f\u0648\u064a\u0631 CW",Download:"\u062a\u062d\u0645\u064a\u0644",Print:"\u0645\u0637\u0628\u0639\u0629",Search:"\u0628\u062d\u062b","Run presentation":"\u062a\u0634\u063a\u064a\u0644 \u0627\u0644\u0639\u0631\u0636 \u0627\u0644\u062a\u0642\u062f\u064a\u0645\u064a",Present:"\u0627\u0644\u062d\u0627\u0644\u064a",Stop:"\u0642\u0641","Stop presenting":"\u062a\u0648\u0642\u0641 \u0639\u0646 \u0627\u0644\u062a\u0642\u062f\u064a\u0645","Resume presenting":"\u0627\u0633\u062a\u0626\u0646\u0627\u0641 \u0627\u0644\u062a\u0642\u062f\u064a\u0645","Pause presenting":"\u062a\u0648\u0642\u0641 \u0645\u0624\u0642\u062a\u064b\u0627 \u0639\u0646 \u0627\u0644\u062a\u0642\u062f\u064a\u0645",None:"\u0644\u0627 \u0623\u062d\u062f","5 sec":"5 \u062b\u0648\u0627\u0646\u0649","10 sec":"10 \u062b\u0648\u0627\u0646\u0649","15 sec":"15 \u062b\u0627\u0646\u064a\u0629","30 sec":"30 \u062b\u0627\u0646\u064a\u0629",Thumbnails:"\u0627\u0644\u0645\u0635\u063a\u0631\u0627\u062a"},hX={Click:"Feu clic a","to open file":"per obrir el fitxer","Or drop file here":"O deixeu anar el fitxer aqu\xed","Browse files":"Cercar fitxers","Zoom In":"Apropar","Zoom Out":"Disminuir el zoom","First Page":"Primera p\xe0gina","Previous Page":"P\xe0gina anterior","Next Page":"P\xe0gina seg\xfcent","Last Page":"Darrera p\xe0gina","Rotate CCW":"Gira CCW","Rotate CW":"Gira CW",Download:"descarregar",Print:"Imprimir",Search:"Cerca","Run presentation":"Executa la presentaci\xf3",Present:"Present",Stop:"Atura","Stop presenting":"Deixa de presentar-te","Resume presenting":"Repr\xe8n la presentaci\xf3","Pause presenting":"Posa en pausa la presentaci\xf3",None:"Cap","5 sec":"5 seg","10 sec":"10 seg","15 sec":"15 seg","30 sec":"30 seg",Thumbnails:"Miniatures"},pX={Click:"Klikn\u011bte","to open file":"k otev\u0159en\xed souboru","Or drop file here":"Nebo sem p\u0159et\xe1hn\u011bte soubor","Browse files":"Proch\xe1zet soubory","Zoom In":"P\u0159ibl\xed\u017eit","Zoom Out":"Odd\xe1lit","First Page":"Prvn\xed strana","Previous Page":"P\u0159edchoz\xed str\xe1nka","Next Page":"Dal\u0161\xed strana","Last Page":"Posledn\xed strana","Rotate CCW":"Oto\u010dit CCW","Rotate CW":"Oto\u010dit CW",Download:"Sta\u017een\xed",Print:"Tisk",Search:"Vyhled\xe1v\xe1n\xed","Run presentation":"Spustit prezentaci",Present:"Sou\u010dasnost, d\xe1rek",Stop:"Stop","Stop presenting":"P\u0159esta\u0148te prezentovat","Resume presenting":"Obnovte prezentaci","Pause presenting":"Pozastavit prezentaci",None:"\u017d\xe1dn\xfd","5 sec":"5 s","10 sec":"10 s","15 sec":"15 s","30 sec":"30 s",Thumbnails:"Miniatury"},mX={Click:"Klik p\xe5","to open file":"for at \xe5bne filen","Or drop file here":"Eller slip filen her","Browse files":"Gennemse filer","Zoom In":"Zoom ind","Zoom Out":"Zoome ud","First Page":"F\xf8rste side","Previous Page":"Forrige side","Next Page":"N\xe6ste side","Last Page":"Sidste side","Rotate CCW":"Drej CCW","Rotate CW":"Drej CW",Download:"Hent",Print:"Print",Search:"S\xf8g","Run presentation":"K\xf8r pr\xe6sentation",Present:"Til stede",Stop:"Hold op","Stop presenting":"Stop med at pr\xe6sentere","Resume presenting":"Genoptag pr\xe6sentationen","Pause presenting":"Hold pause med pr\xe6sentationen",None:"Ingen","5 sec":"5 sek","10 sec":"10 sek","15 sec":"15 sek","30 sec":"30 sek",Thumbnails:"Miniaturebilleder"},gX={Click:"Klicken","to open file":"Datei \xf6ffnen","Or drop file here":"Oder Datei hier ablegen","Browse files":"Dateien durchsuchen","Zoom In":"Hineinzoomen","Zoom Out":"Rauszoomen","First Page":"Erste Seite","Previous Page":"Vorherige Seite","Next Page":"N\xe4chste Seite","Last Page":"Letzte Seite","Rotate CCW":"Gegen den Uhrzeigersinn drehen","Rotate CW":"Im Uhrzeigersinn drehen",Download:"Herunterladen",Print:"Drucken",Search:"Suche","Run presentation":"Pr\xe4sentation ausf\xfchren",Present:"Gegenw\xe4rtig",Stop:"Halt","Stop presenting":"H\xf6r auf zu pr\xe4sentieren","Resume presenting":"Pr\xe4sentation fortsetzen","Pause presenting":"Pr\xe4sentation unterbrechen",None:"Keiner","5 sec":"5 Sek.","10 sec":"10 Sek.","15 sec":"15 Sek.","30 sec":"30 Sekunden",Thumbnails:"Miniaturansichten"},vX={Click:"\u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba","to open file":"\u03b3\u03b9\u03b1 \u03ac\u03bd\u03bf\u03b9\u03b3\u03bc\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5","Or drop file here":"Or \u03c1\u03af\u03be\u03c4\u03b5 \u03c4\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf \u03b5\u03b4\u03ce","Browse files":"\u0395\u039e\u0395\u03a1\u0395\u03a5\u039d\u0397\u03a3\u0397 \u0391\u03a1\u03a7\u0395\u0399\u03a9\u039d","Zoom In":"\u039c\u03b5\u03b3\u03ad\u03b8\u03c5\u03bd\u03c3\u03b7","Zoom Out":"\u03a3\u03bc\u03af\u03ba\u03c1\u03c5\u03bd\u03c3\u03b7","First Page":"\u03a0\u03c1\u03ce\u03c4\u03b7 \u03c3\u03b5\u03bb\u03af\u03b4\u03b1","Previous Page":"\u03a0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7 \u03c3\u03b5\u03bb\u03af\u03b4\u03b1","Next Page":"\u0395\u03c0\u03cc\u03bc\u03b5\u03bd\u03b7 \u03c3\u03b5\u03bb\u03af\u03b4\u03b1","Last Page":"\u03a4\u03b5\u03bb\u03b5\u03c5\u03c4\u03b1\u03af\u03b1 \u03c3\u03b5\u03bb\u03af\u03b4\u03b1","Rotate CCW":"\u03a0\u03b5\u03c1\u03b9\u03c3\u03c4\u03c1\u03bf\u03c6\u03ae CCW","Rotate CW":"\u03a0\u03b5\u03c1\u03b9\u03c3\u03c4\u03c1\u03bf\u03c6\u03ae CW",Download:"\u039a\u03b1\u03c4\u03b5\u03b2\u03ac\u03c3\u03c4\u03b5",Print:"\u03a4\u03c5\u03c0\u03ce\u03bd\u03c9",Search:"\u0391\u03bd\u03b1\u03b6\u03ae\u03c4\u03b7\u03c3\u03b7","Run presentation":"\u0395\u03ba\u03c4\u03ad\u03bb\u03b5\u03c3\u03b7 \u03c0\u03b1\u03c1\u03bf\u03c5\u03c3\u03af\u03b1\u03c3\u03b7\u03c2",Present:"\u03a0\u03b1\u03c1\u03cc\u03bd",Stop:"\u039d\u03b1 \u03c3\u03c4\u03b1\u03bc\u03b1\u03c4\u03ae\u03c3\u03b5\u03b9","Stop presenting":"\u03a3\u03c4\u03b1\u03bc\u03b1\u03c4\u03ae\u03c3\u03c4\u03b5 \u03bd\u03b1 \u03c0\u03b1\u03c1\u03bf\u03c5\u03c3\u03b9\u03ac\u03b6\u03b5\u03c4\u03b5","Resume presenting":"\u03a3\u03c5\u03bd\u03ad\u03c7\u03b9\u03c3\u03b7 \u03c0\u03b1\u03c1\u03bf\u03c5\u03c3\u03af\u03b1\u03c3\u03b7\u03c2","Pause presenting":"\u03a0\u03b1\u03cd\u03c3\u03b7 \u03c0\u03b1\u03c1\u03bf\u03c5\u03c3\u03af\u03b1\u03c3\u03b7\u03c2",None:"\u039a\u03b1\u03bd\u03ad\u03bd\u03b1\u03c2","5 sec":"5 \u03b4\u03b5\u03c5\u03c4","10 sec":"10 \u03b4\u03b5\u03c5\u03c4","15 sec":"15 \u03b4\u03b5\u03c5\u03c4","30 sec":"30 \u03b4\u03b5\u03c5\u03c4",Thumbnails:"\u039c\u03b9\u03ba\u03c1\u03bf\u03b3\u03c1\u03b1\u03c6\u03af\u03b5\u03c2"},_X={Click:"Click","to open file":"to open file","Or drop file here":"Or drop file here","Browse files":"Browse files","Zoom In":"Zoom In","Zoom Out":"Zoom Out","First Page":"First Page","Previous Page":"Previous Page","Next Page":"Next Page","Last Page":"Last Page","Rotate CCW":"Rotate CCW","Rotate CW":"Rotate CW",Download:"Download",Print:"Print",Search:"Search","Run presentation":"Run presentation",Present:"Present",Stop:"Stop","Stop presenting":"Stop presenting","Resume presenting":"Resume presenting","Pause presenting":"Pause presenting",None:"None","5 sec":"5 sec","10 sec":"10 sec","15 sec":"15 sec","30 sec":"30 sec",Thumbnails:"Thumbnails"},CX={Click:"Hacer clic","to open file":"abrir archivo","Or drop file here":"O suelte el archivo aqu\xed","Browse files":"B\xfasqueda de archivos","Zoom In":"Acercarse","Zoom Out":"Disminuir el zoom","First Page":"Primera p\xe1gina","Previous Page":"Pagina anterior","Next Page":"Siguiente p\xe1gina","Last Page":"\xdaltima p\xe1gina","Rotate CCW":"Girar CCW","Rotate CW":"Girar CW",Download:"Descargar",Print:"Impresi\xf3n",Search:"Buscar","Run presentation":"Ejecutar presentaci\xf3n",Present:"Regalo",Stop:"Parada","Stop presenting":"Deja de presentar","Resume presenting":"Reanudar la presentaci\xf3n","Pause presenting":"Pausar presentaci\xf3n",None:"Ninguno","5 sec":"5 segundos","10 sec":"10 segundos","15 sec":"15 segundos","30 sec":"30 segundos",Thumbnails:"Miniaturas"},bX={Click:"Mag-click","to open file":"upang buksan ang file","Or drop file here":"O ihulog ang file dito","Browse files":"Mag-browse ng Mga file","Zoom In":"Palakihin","Zoom Out":"Mag-zoom Out","First Page":"Unang pahina","Previous Page":"Nakaraang pahina","Next Page":"Susunod na pahina","Last Page":"Huling pahina","Rotate CCW":"Paikutin ang CCW","Rotate CW":"Paikutin ang CW",Download:"Mag-download",Print:"I-print",Search:"Maghanap","Run presentation":"Patakbuhin ang pagtatanghal",Present:"Kasalukuyan",Stop:"Tigilan mo na","Stop presenting":"Huwag nang iharap","Resume presenting":"Ipagpatuloy ang pagtatanghal","Pause presenting":"I-pause ang pagtatanghal",None:"Wala","5 sec":"5 sec","10 sec":"10 sec","15 sec":"15 sec","30 sec":"30 sec",Thumbnails:"Mga Thumbnail"},yX={Click:"Cliquez sur","to open file":"ouvrir le fichier","Or drop file here":"Ou d\xe9posez le fichier ici","Browse files":"Parcourir les fichiers","Zoom In":"Agrandir","Zoom Out":"D\xe9zoomer","First Page":"Premi\xe8re page","Previous Page":"Page pr\xe9c\xe9dente","Next Page":"Page suivante","Last Page":"Derni\xe8re page","Rotate CCW":"Rotation dans le sens antihoraire","Rotate CW":"Rotation CW",Download:"T\xe9l\xe9charger",Print:"Imprimer",Search:"Chercher","Run presentation":"Ex\xe9cuter la pr\xe9sentation",Present:"Pr\xe9sent",Stop:"Arr\xeater","Stop presenting":"Arr\xeater de pr\xe9senter","Resume presenting":"Reprendre la pr\xe9sentation","Pause presenting":"Suspendre la pr\xe9sentation",None:"Rien","5 sec":"5 secondes","10 sec":"10 secondes","15 sec":"15 secondes","30 sec":"30 secondes",Thumbnails:"Vignettes"},MX={Click:"\u05e0\u05b0\u05e7\u05b4\u05d9\u05e9\u05c1\u05b8\u05d4","to open file":"\u05dc\u05e4\u05ea\u05d9\u05d7\u05ea \u05d4\u05e7\u05d5\u05d1\u05e5","Or drop file here":"\u05d0\u05d5 \u05e9\u05d7\u05e8\u05e8 \u05e7\u05d5\u05d1\u05e5 \u05db\u05d0\u05df","Browse files":"\u05e2\u05d9\u05d5\u05df \u05d1\u05e7\u05d1\u05e6\u05d9\u05dd","Zoom In":"\u05dc\u05b0\u05d4\u05b4\u05ea\u05b0\u05de\u05b7\u05e7\u05b5\u05d3","Zoom Out":"\u05dc\u05d4\u05e7\u05d8\u05d9\u05df \u05d0\u05ea \u05d4\u05ea\u05e6\u05d5\u05d2\u05d4","First Page":"\u05e2\u05de\u05d5\u05d3 \u05e8\u05d0\u05e9\u05d5\u05df","Previous Page":"\u05e2\u05de\u05d5\u05d3 \u05e7\u05d5\u05d3\u05dd","Next Page":"\u05e2\u05de\u05d5\u05d3 \u05d4\u05d1\u05d0","Last Page":"\u05e2\u05de\u05d5\u05d3 \u05d0\u05d7\u05e8\u05d5\u05df","Rotate CCW":"\u05e1\u05d5\u05d1\u05d1 CCW","Rotate CW":"\u05e1\u05d5\u05d1\u05d1 \u05d0\u05ea CW",Download:"\u05d4\u05d5\u05e8\u05d3",Print:"\u05d4\u05d3\u05e4\u05e1",Search:"\u05dc\u05d7\u05e4\u05e9","Run presentation":"\u05d4\u05e4\u05e2\u05dc \u05de\u05e6\u05d2\u05ea",Present:"\u05de\u05ea\u05e0\u05d4",Stop:"\u05ea\u05e4\u05e1\u05d9\u05e7","Stop presenting":"\u05ea\u05e4\u05e1\u05d9\u05e7 \u05dc\u05d4\u05e6\u05d9\u05d2","Resume presenting":"\u05d4\u05de\u05e9\u05da \u05dc\u05d4\u05e6\u05d9\u05d2","Pause presenting":"\u05d4\u05e9\u05d4\u05d4 \u05d0\u05ea \u05d4\u05d4\u05e6\u05d2\u05d4",None:"\u05d0\u05e3 \u05d0\u05d7\u05d3","5 sec":"5 \u05e9\u05e0\u05d9\u05d5\u05ea","10 sec":"10 \u05e9\u05e0\u05d9\u05d5\u05ea","15 sec":"15 \u05e9\u05e0\u05d9\u05d5\u05ea","30 sec":"30 \u05e9\u05e0\u05d9\u05d5\u05ea",Thumbnails:"\u05ea\u05de\u05d5\u05e0\u05d5\u05ea \u05de\u05de\u05d5\u05d6\u05e2\u05e8\u05d5\u05ea"},wX={Click:"\u0915\u094d\u0932\u093f\u0915","to open file":"\u092b\u093c\u093e\u0907\u0932 \u0916\u094b\u0932\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f","Or drop file here":"\u092f\u093e \u092b\u093c\u093e\u0907\u0932 \u092f\u0939\u093e\u0901 \u091b\u094b\u0921\u093c\u0947\u0902","Browse files":"\u092b\u093e\u0907\u0932\u094b\u0902 \u092e\u0947\u0902 \u0916\u094b\u091c\u0947\u0902","Zoom In":"\u091c\u093c\u0942\u092e \u0907\u0928","Zoom Out":"\u091c\u093c\u0942\u092e \u0906\u0909\u091f","First Page":"\u092a\u0939\u0932\u093e \u092a\u0928\u094d\u0928\u093e","Previous Page":"\u092a\u093f\u091b\u0932\u093e \u092a\u0943\u0937\u094d\u0920","Next Page":"\u0905\u0917\u0932\u093e \u092a\u0943\u0937\u094d\u0920","Last Page":"\u0905\u0902\u0924\u093f\u092e \u092a\u0943\u0937\u094d\u0920","Rotate CCW":"\u0938\u0940\u0938\u0940\u0921\u092c\u094d\u0932\u094d\u092f\u0942 \u0918\u0941\u092e\u093e\u090f\u0901","Rotate CW":"\u0938\u0940\u0921\u092c\u094d\u0932\u094d\u092f\u0942 \u0918\u0941\u092e\u093e\u090f\u0901",Download:"\u0921\u093e\u0909\u0928\u0932\u094b\u0921",Print:"\u091b\u093e\u092a",Search:"\u0916\u094b\u091c","Run presentation":"\u092a\u094d\u0930\u0938\u094d\u0924\u0941\u0924\u093f \u091a\u0932\u093e\u090f\u0902",Present:"\u0935\u0930\u094d\u0924\u092e\u093e\u0928",Stop:"\u0935\u093f\u0930\u093e\u092e","Stop presenting":"\u092a\u094d\u0930\u0938\u094d\u0924\u0941\u0924 \u0915\u0930\u0928\u093e \u092c\u0902\u0926 \u0915\u0930\u0947\u0902","Resume presenting":"\u092a\u094d\u0930\u0938\u094d\u0924\u0941\u0924 \u0915\u0930\u0928\u093e \u092b\u093f\u0930 \u0938\u0947 \u0936\u0941\u0930\u0942 \u0915\u0930\u0947\u0902","Pause presenting":"\u092a\u094d\u0930\u0938\u094d\u0924\u0941\u0924 \u0915\u0930\u0928\u093e \u0930\u094b\u0915\u0947\u0902",None:"\u0915\u094b\u0908 \u0928\u0939\u0940\u0902","5 sec":"5 \u0938\u0947\u0915\u0902\u0921","10 sec":"10 \u0938\u0947\u0915\u0902\u0921","15 sec":"\u0967\u096b \u0938\u0947\u0915\u0902\u0921","30 sec":"\u0969\u0966 \u0938\u0947\u0915\u0902\u0921",Thumbnails:"\u0925\u0902\u092c\u0928\u0947\u0932"},xX={Click:"Klik","to open file":"untuk membuka file","Or drop file here":"Atau letakkan file di sini","Browse files":"Mencari berkas","Zoom In":"Perbesar","Zoom Out":"Perkecil","First Page":"Halaman pertama","Previous Page":"Halaman sebelumnya","Next Page":"Halaman selanjutnya","Last Page":"Halaman terakhir","Rotate CCW":"Putar CCW","Rotate CW":"Putar CW",Download:"Unduh",Print:"Mencetak",Search:"Mencari","Run presentation":"Jalankan presentasi",Present:"Hadiah",Stop:"Berhenti","Stop presenting":"Berhenti menyajikan","Resume presenting":"Lanjutkan presentasi","Pause presenting":"Jeda presentasi",None:"Tidak ada","5 sec":"5 detik","10 sec":"10 detik","15 sec":"15 detik","30 sec":"30 detik",Thumbnails:"Gambar kecil"},zX={Click:"Clic","to open file":"per aprire il file","Or drop file here":"Oppure trascina il file qui","Browse files":"Sfoglia i file","Zoom In":"Ingrandire","Zoom Out":"Rimpicciolisci","First Page":"Prima pagina","Previous Page":"Pagina precedente","Next Page":"Pagina successiva","Last Page":"Ultima pagina","Rotate CCW":"Ruota in senso antiorario","Rotate CW":"Ruota in senso orario",Download:"Scarica",Print:"Stampa",Search:"Ricerca","Run presentation":"Esegui presentazione",Present:"Regalo",Stop:"Fermare","Stop presenting":"Smettila di presentare","Resume presenting":"Riprendi a presentare","Pause presenting":"Metti in pausa la presentazione",None:"Nessuno","5 sec":"5 secondi","10 sec":"10 secondi","15 sec":"15 secondi","30 sec":"30 secondi",Thumbnails:"Miniature"},DX={Click:"\u30af\u30ea\u30c3\u30af","to open file":"\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f","Or drop file here":"\u307e\u305f\u306f\u3001\u3053\u3053\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30c9\u30ed\u30c3\u30d7\u3057\u307e\u3059","Browse files":"\u30d6\u30e9\u30a6\u30ba\u30d5\u30a1\u30a4\u30eb","Zoom In":"\u30ba\u30fc\u30e0\u30a4\u30f3","Zoom Out":"\u30ba\u30fc\u30e0\u30a2\u30a6\u30c8\u3059\u308b","First Page":"\u5148\u982d\u30da\u30fc\u30b8","Previous Page":"\u524d\u306e\u30da\u30fc\u30b8","Next Page":"\u6b21\u306e\u30da\u30fc\u30b8","Last Page":"\u6700\u5f8c\u306e\u30da\u30fc\u30b8","Rotate CCW":"CCW\u3092\u56de\u8ee2\u3055\u305b\u308b","Rotate CW":"CW\u3092\u56de\u8ee2\u3055\u305b\u308b",Download:"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9",Print:"\u5370\u5237",Search:"\u691c\u7d22","Run presentation":"\u30d7\u30ec\u30bc\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b",Present:"\u73fe\u5728",Stop:"\u3084\u3081\u308b","Stop presenting":"\u63d0\u793a\u3092\u505c\u6b62\u3057\u307e\u3059","Resume presenting":"\u767a\u8868\u3092\u518d\u958b\u3059\u308b","Pause presenting":"\u63d0\u793a\u3092\u4e00\u6642\u505c\u6b62",None:"\u306a\u3057","5 sec":"5\u79d2","10 sec":"10\u79d2","15 sec":"15\u79d2","30 sec":"30\u79d2",Thumbnails:"\u30b5\u30e0\u30cd\u30a4\u30eb"},SX={Click:"\u0428\u0435\u0440\u0442\u0456\u04a3\u0456\u0437","to open file":"\u0444\u0430\u0439\u043b\u0434\u044b \u0430\u0448\u0443 \u04af\u0448\u0456\u043d","Or drop file here":"\u041d\u0435\u043c\u0435\u0441\u0435 \u0444\u0430\u0439\u043b\u0434\u044b \u043e\u0441\u044b\u043d\u0434\u0430 \u0442\u0430\u0441\u0442\u0430\u04a3\u044b\u0437","Browse files":"\u0424\u0430\u0439\u043b\u0434\u0430\u0440\u0434\u044b \u0448\u043e\u043b\u0443","Zoom In":"\u04ae\u043b\u043a\u0435\u0439\u0442\u0443","Zoom Out":"\u041a\u0456\u0448\u0456\u0440\u0435\u0439\u0442\u0443","First Page":"\u0411\u0456\u0440\u0456\u043d\u0448\u0456 \u0431\u0435\u0442","Previous Page":"\u0410\u043b\u0434\u044b\u04a3\u0493\u044b \u0431\u0435\u0442","Next Page":"\u041a\u0435\u043b\u0435\u0441\u0456 \u0431\u0435\u0442","Last Page":"\u0421\u043e\u04a3\u0493\u044b \u0431\u0435\u0442","Rotate CCW":"CCW \u0430\u0439\u043d\u0430\u043b\u0434\u044b\u0440\u0443","Rotate CW":"CW \u0430\u0439\u043d\u0430\u043b\u0434\u044b\u0440\u0443",Download:"\u0416\u04af\u043a\u0442\u0435\u0443",Print:"\u0411\u0430\u0441\u044b\u043f \u0448\u044b\u0493\u0430\u0440\u0443",Search:"\u0406\u0437\u0434\u0435\u0443","Run presentation":"\u041f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u044f\u043d\u044b \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u044b\u04a3\u044b\u0437",Present:"\u04b0\u0441\u044b\u043d\u0443",Stop:"\u0422\u043e\u049b\u0442\u0430","Stop presenting":"\u041a\u04e9\u0440\u0441\u0435\u0442\u0443\u0434\u0456 \u0442\u043e\u049b\u0442\u0430\u0442\u044b\u04a3\u044b\u0437","Resume presenting":"\u04b0\u0441\u044b\u043d\u0443\u0434\u044b \u0436\u0430\u043b\u0493\u0430\u0441\u0442\u044b\u0440\u0443","Pause presenting":"\u04b0\u0441\u044b\u043d\u0443\u0434\u044b \u043a\u0456\u0434\u0456\u0440\u0442\u0443",None:"\u0415\u0448\u049b\u0430\u0439\u0441\u044b\u0441\u044b","5 sec":"5 \u0441\u0435\u043a","10 sec":"10 \u0441\u0435\u043a","15 sec":"15 \u0441\u0435\u043a","30 sec":"30 \u0441\u0435\u043a",Thumbnails:"\u041d\u043e\u0431\u0430\u0439\u043b\u0430\u0440"},PX={Click:"\ub538\uae4d \ud558\ub294 \uc18c\ub9ac","to open file":"\ud30c\uc77c\uc744 \uc5f4\ub2e4","Or drop file here":"\ub610\ub294 \uc5ec\uae30\uc5d0 \ud30c\uc77c\uc744 \ub4dc\ub86d","Browse files":"\ud30c\uc77c \ucc3e\uc544\ubcf4\uae30","Zoom In":"\ud655\ub300","Zoom Out":"\ucd95\uc18c","First Page":"\uccab \ud398\uc774\uc9c0","Previous Page":"\uc774\uc804 \ud398\uc774\uc9c0","Next Page":"\ub2e4\uc74c \ud398\uc774\uc9c0","Last Page":"\ub9c8\uc9c0\ub9c9 \ud398\uc774\uc9c0","Rotate CCW":"\uc2dc\uacc4 \ubc18\ub300 \ubc29\ud5a5\uc73c\ub85c \ud68c\uc804","Rotate CW":"\uc2dc\uacc4 \ubc29\ud5a5\uc73c\ub85c \ud68c\uc804",Download:"\ub2e4\uc6b4\ub85c\ub4dc",Print:"\uc778\uc1c4",Search:"\ucc3e\ub2e4","Run presentation":"\ud504\ub808\uc820\ud14c\uc774\uc158 \uc2e4\ud589",Present:"\ud604\uc7ac\uc758",Stop:"\uc911\uc9c0","Stop presenting":"\ubc1c\ud45c \uc911\uc9c0","Resume presenting":"\ud504\ub808\uc820\ud14c\uc774\uc158 \uc7ac\uac1c","Pause presenting":"\ubc1c\ud45c \uc77c\uc2dc\uc911\uc9c0",None:"\uc5c6\uc74c","5 sec":"5\ucd08","10 sec":"10\ucd08","15 sec":"15\ucd08","30 sec":"30\ucd08",Thumbnails:"\uc378\ub124\uc77c"},TX={Click:"Klik","to open file":"untuk membuka fail","Or drop file here":"Atau jatuhkan fail di sini","Browse files":"Semak imbas fail","Zoom In":"Mengezum masuk","Zoom Out":"Zum keluar","First Page":"Muka surat pertama","Previous Page":"Halaman sebelumnya","Next Page":"Muka surat seterusnya","Last Page":"Muka surat terakhir","Rotate CCW":"Putar CCW","Rotate CW":"Putar CW",Download:"Muat turun",Print:"Cetak",Search:"Cari","Run presentation":"Jalankan persembahan",Present:"Hadir",Stop:"Berhenti","Stop presenting":"Berhenti membentangkan","Resume presenting":"Sambung semula pembentangan","Pause presenting":"Jeda pembentangan",None:"Tiada","5 sec":"5 saat","10 sec":"10 saat","15 sec":"15 saat","30 sec":"30 saat",Thumbnails:"Gambar kecil"},LX={Click:"Klik","to open file":"bestand openen","Or drop file here":"Of zet het bestand hier neer","Browse files":"Bestanden doorbladeren","Zoom In":"In zoomen","Zoom Out":"Uitzoomen","First Page":"Eerste pagina","Previous Page":"Vorige pagina","Next Page":"Volgende bladzijde","Last Page":"Laatste pagina","Rotate CCW":"Linksom draaien","Rotate CW":"Draai CW",Download:"Downloaden",Print:"Afdrukken",Search:"Zoeken","Run presentation":"Presentatie uitvoeren",Present:"Cadeau",Stop:"Stop","Stop presenting":"Stop met presenteren","Resume presenting":"Presentatie hervatten","Pause presenting":"Presentatie pauzeren",None:"Geen","5 sec":"5 seconden","10 sec":"10 seconden","15 sec":"15 seconden","30 sec":"30 seconden",Thumbnails:"Miniaturen"},EX={Click:"Kliknij","to open file":"otworzy\u0107 plik","Or drop file here":"Lub upu\u015b\u0107 plik tutaj","Browse files":"Przegl\u0105daj pliki","Zoom In":"Zbli\u017cenie","Zoom Out":"Pomniejsz","First Page":"Pierwsza strona","Previous Page":"Poprzednia strona","Next Page":"Nast\u0119pna strona","Last Page":"Ostatnia strona","Rotate CCW":"Obr\xf3\u0107 w lewo","Rotate CW":"Obr\xf3\u0107 w prawo",Download:"Pobiera\u0107",Print:"Wydrukowa\u0107",Search:"Szukaj","Run presentation":"Uruchom prezentacj\u0119",Present:"Obecny",Stop:"Zatrzyma\u0107","Stop presenting":"Zatrzymaj prezentacj\u0119","Resume presenting":"Wzn\xf3w prezentacj\u0119","Pause presenting":"Wstrzymaj prezentacj\u0119",None:"Nic","5 sec":"5 sekund","10 sec":"10 sekund","15 sec":"15 sekund","30 sec":"30 sekund",Thumbnails:"Miniatury"},HX={Click:"Clique","to open file":"para abrir arquivo","Or drop file here":"Ou solte o arquivo aqui","Browse files":"Navegar nos arquivos","Zoom In":"Mais Zoom","Zoom Out":"Reduzir o zoom","First Page":"Primeira p\xe1gina","Previous Page":"P\xe1gina anterior","Next Page":"Pr\xf3xima p\xe1gina","Last Page":"\xdaltima p\xe1gina","Rotate CCW":"Girar no sentido anti-hor\xe1rio","Rotate CW":"Girar no sentido hor\xe1rio",Download:"Download",Print:"Imprimir",Search:"Procurar","Run presentation":"Executar apresenta\xe7\xe3o",Present:"Presente",Stop:"Pare","Stop presenting":"Pare de apresentar","Resume presenting":"Retomar apresenta\xe7\xe3o","Pause presenting":"Pausar apresenta\xe7\xe3o",None:"Nenhum","5 sec":"5 s","10 sec":"10 s","15 sec":"15 s","30 sec":"30 s",Thumbnails:"Miniaturas"},AX={Click:"Clic","to open file":"pentru a deschide fi\u0219ierul","Or drop file here":"Sau arunca\u021bi fi\u0219ierul aici","Browse files":"Cauta fisiere","Zoom In":"Mareste","Zoom Out":"A micsora","First Page":"Prima pagina","Previous Page":"Pagina precedent\u0103","Next Page":"Pagina urm\u0103toare","Last Page":"Ultima pagina","Rotate CCW":"Roti\u021bi CCW","Rotate CW":"Roti\u021bi CW",Download:"Descarca",Print:"Imprimare",Search:"C\u0103utare","Run presentation":"Rula\u021bi prezentarea",Present:"Prezent",Stop:"Stop","Stop presenting":"Nu mai prezenta","Resume presenting":"Relua\u021bi prezentarea","Pause presenting":"Pauz\u0103 prezentare",None:"Nici unul","5 sec":"5 sec","10 sec":"10 sec","15 sec":"15 sec","30 sec":"30 sec",Thumbnails:"Miniaturi"},NX={Click:"\u041d\u0430\u0436\u043c\u0438\u0442\u0435","to open file":"\u0447\u0442\u043e\u0431\u044b \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0444\u0430\u0439\u043b","Or drop file here":"\u0418\u043b\u0438 \u043f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0444\u0430\u0439\u043b \u0441\u044e\u0434\u0430","Browse files":"\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0444\u0430\u0439\u043b\u043e\u0432","Zoom In":"\u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c","Zoom Out":"\u0423\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c","First Page":"\u041f\u0435\u0440\u0432\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","Previous Page":"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","Next Page":"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430","Last Page":"\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","Rotate CCW":"\u041f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043f\u0440\u043e\u0442\u0438\u0432 \u0447\u0430\u0441\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u0435\u043b\u043a\u0438","Rotate CW":"\u041f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043f\u043e \u0447\u0430\u0441\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u0435\u043b\u043a\u0435",Download:"\u0421\u043a\u0430\u0447\u0430\u0442\u044c",Print:"\u0420\u0430\u0441\u043f\u0435\u0447\u0430\u0442\u0430\u0442\u044c",Search:"\u041f\u043e\u0438\u0441\u043a","Run presentation":"\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u044e",Present:"\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u044e",Stop:"\u0421\u0442\u043e\u043f","Stop presenting":"\u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u044e","Resume presenting":"\u0412\u043e\u0437\u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u044e","Pause presenting":"\u041f\u0440\u0438\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u044e",None:"-","5 sec":"5 \u0441\u0435\u043a.","10 sec":"10 \u0441\u0435\u043a.","15 sec":"15 \u0441\u0435\u043a.","30 sec":"30 \u0441\u0435\u043a.",Thumbnails:"\u041c\u0438\u043d\u0438\u0430\u0442\u044e\u0440\u044b"},IX={Click:"Klick","to open file":"f\xf6r att \xf6ppna filen","Or drop file here":"Eller sl\xe4pp filen h\xe4r","Browse files":"Bl\xe4ddra bland filer","Zoom In":"Zooma in","Zoom Out":"Zooma ut","First Page":"F\xf6rsta sidan","Previous Page":"F\xf6reg\xe5ende sida","Next Page":"N\xe4sta sida","Last Page":"Sista sidan","Rotate CCW":"Vrid CCW","Rotate CW":"Rotera CW",Download:"Ladda ner",Print:"Skriva ut",Search:"S\xf6k","Run presentation":"K\xf6r presentationen",Present:"N\xe4rvarande",Stop:"Sluta","Stop presenting":"Sluta presentera","Resume presenting":"\xc5teruppta presentationen","Pause presenting":"Pausa presentationen",None:"Ingen","5 sec":"5 sek","10 sec":"10 sek","15 sec":"15 sek","30 sec":"30 sek",Thumbnails:"Miniatyrer"},kX={Click:"\u0e04\u0e25\u0e34\u0e01","to open file":"\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e1b\u0e34\u0e14\u0e44\u0e1f\u0e25\u0e4c","Or drop file here":"\u0e2b\u0e23\u0e37\u0e2d\u0e27\u0e32\u0e07\u0e44\u0e1f\u0e25\u0e4c\u0e17\u0e35\u0e48\u0e19\u0e35\u0e48","Browse files":"\u0e40\u0e23\u0e35\u0e22\u0e01\u0e14\u0e39\u0e44\u0e1f\u0e25\u0e4c","Zoom In":"\u0e02\u0e22\u0e32\u0e22\u0e40\u0e02\u0e49\u0e32","Zoom Out":"\u0e0b\u0e39\u0e21\u0e2d\u0e2d\u0e01","First Page":"\u0e2b\u0e19\u0e49\u0e32\u0e41\u0e23\u0e01","Previous Page":"\u0e2b\u0e19\u0e49\u0e32\u0e01\u0e48\u0e2d\u0e19","Next Page":"\u0e2b\u0e19\u0e49\u0e32\u0e15\u0e48\u0e2d\u0e44\u0e1b","Last Page":"\u0e2b\u0e19\u0e49\u0e32\u0e2a\u0e38\u0e14\u0e17\u0e49\u0e32\u0e22","Rotate CCW":"\u0e2b\u0e21\u0e38\u0e19\u0e17\u0e27\u0e19\u0e40\u0e02\u0e47\u0e21\u0e19\u0e32\u0e2c\u0e34\u0e01\u0e32","Rotate CW":"\u0e2b\u0e21\u0e38\u0e19 CW",Download:"\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14",Print:"\u0e1e\u0e34\u0e21\u0e1e\u0e4c",Search:"\u0e04\u0e49\u0e19\u0e2b\u0e32","Run presentation":"\u0e40\u0e23\u0e35\u0e22\u0e01\u0e43\u0e0a\u0e49\u0e01\u0e32\u0e23\u0e19\u0e33\u0e40\u0e2a\u0e19\u0e2d",Present:"\u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19",Stop:"\u0e2b\u0e22\u0e38\u0e14","Stop presenting":"\u0e2b\u0e22\u0e38\u0e14\u0e19\u0e33\u0e40\u0e2a\u0e19\u0e2d","Resume presenting":"\u0e19\u0e33\u0e40\u0e2a\u0e19\u0e2d\u0e15\u0e48\u0e2d","Pause presenting":"\u0e2b\u0e22\u0e38\u0e14\u0e01\u0e32\u0e23\u0e19\u0e33\u0e40\u0e2a\u0e19\u0e2d\u0e0a\u0e31\u0e48\u0e27\u0e04\u0e23\u0e32\u0e27",None:"\u0e44\u0e21\u0e48\u0e21\u0e35","5 sec":"5 \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35","10 sec":"10 \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35","15 sec":"15 \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35","30 sec":"30 \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",Thumbnails:"\u0e23\u0e39\u0e1b\u0e02\u0e19\u0e32\u0e14\u0e22\u0e48\u0e2d"},VX={Click:"T\u0131klamak","to open file":"dosyay\u0131 a\xe7mak i\xe7in","Or drop file here":"Veya dosyay\u0131 buraya b\u0131rak\u0131n","Browse files":"Dosyalara g\xf6z at\u0131n","Zoom In":"Yak\u0131nla\u015ft\u0131r","Zoom Out":"Uzakla\u015ft\u0131rmak","First Page":"\u0130lk sayfa","Previous Page":"\xd6nceki sayfa","Next Page":"Sonraki Sayfa","Last Page":"Son Sayfa","Rotate CCW":"CCW'yi d\xf6nd\xfcr","Rotate CW":"CW'yi d\xf6nd\xfcr",Download:"\u0130ndirmek",Print:"Yazd\u0131r",Search:"Arama","Run presentation":"Sunuyu \xe7al\u0131\u015ft\u0131r",Present:"Sunmak",Stop:"Durmak","Stop presenting":"Sunmay\u0131 durdur","Resume presenting":"Sunuma devam et","Pause presenting":"Sunumu duraklat",None:"Hi\xe7biri","5 sec":"5 saniye","10 sec":"10 saniye","15 sec":"15 saniye","30 sec":"30 saniye",Thumbnails:"k\xfc\xe7\xfck resimler"},OX={Click:"\u041a\u043b\u0456\u043a\u043d\u0456\u0442\u044c","to open file":"\u0449\u043e\u0431 \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438 \u0444\u0430\u0439\u043b","Or drop file here":"\u0410\u0431\u043e \u043f\u0435\u0440\u0435\u0442\u044f\u0433\u043d\u0456\u0442\u044c \u0444\u0430\u0439\u043b \u0443 \u0446\u044e \u043e\u0431\u043b\u0430\u0441\u0442\u044c","Browse files":"\u041f\u0435\u0440\u0435\u0433\u043b\u044f\u043d\u0443\u0442\u0438 \u0444\u0430\u0439\u043b\u0438","Zoom In":"\u0417\u0431\u0456\u043b\u044c\u0448\u0438\u0442\u0438","Zoom Out":"\u0417\u043c\u0435\u043d\u0448\u0438\u0442\u0438","First Page":"\u041f\u0435\u0440\u0448\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430","Previous Page":"\u041f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u044f \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430","Next Page":"\u041d\u0430\u0441\u0442\u0443\u043f\u043d\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430","Last Page":"\u041e\u0441\u0442\u0430\u043d\u043d\u044f \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430","Rotate CCW":"\u041f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u0438 \u043f\u0440\u043e\u0442\u0438 \u0433\u043e\u0434\u0438\u043d\u043d\u0438\u043a\u043e\u0432\u043e\u0457 \u0441\u0442\u0440\u0456\u043b\u043a\u0438","Rotate CW":"\u041f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u0438 \u0437\u0430 \u0433\u043e\u0434\u0438\u043d\u043d\u0438\u043a\u043e\u0432\u043e\u044e \u0441\u0442\u0440\u0456\u043b\u043a\u043e\u044e",Download:"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438",Print:"\u0414\u0440\u0443\u043a",Search:"\u041f\u043e\u0448\u0443\u043a","Run presentation":"\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0438 \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0456\u044e",Present:"\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0438 \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0456\u044e",Stop:"\u0417\u0443\u043f\u0438\u043d\u0438\u0442\u0438","Stop presenting":"\u0417\u0443\u043f\u0438\u043d\u0438\u0442\u0438 \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0456\u044e","Resume presenting":"\u041f\u0440\u043e\u0434\u043e\u0432\u0436\u0438\u0442\u0438 \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0456\u044e","Pause presenting":"\u041f\u0440\u0438\u0437\u0443\u043f\u0438\u043d\u0438\u0442\u0438 \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0456\u044e",None:"-","5 sec":"5 \u0441\u0435\u043a\u0443\u043d\u0434","10 sec":"10 \u0441\u0435\u043a\u0443\u043d\u0434","15 sec":"15 \u0441\u0435\u043a\u0443\u043d\u0434","30 sec":"30 \u0441\u0435\u043a\u0443\u043d\u0434",Thumbnails:"\u0415\u0441\u043a\u0456\u0437\u0438"},FX={Click:"Nh\u1ea5p chu\u1ed9t","to open file":"\u0111\u1ec3 m\u1edf t\u1ec7p","Or drop file here":"Ho\u1eb7c th\u1ea3 t\u1ec7p v\xe0o \u0111\xe2y","Browse files":"Duy\u1ec7t qua c\xe1c t\u1ec7p","Zoom In":"Ph\xf3ng to","Zoom Out":"Thu nh\u1ecf","First Page":"Trang \u0111\u1ea7u ti\xean","Previous Page":"Trang tr\u01b0\u1edbc","Next Page":"Trang ti\u1ebfp theo","Last Page":"Trang cu\u1ed1i","Rotate CCW":"Xoay CCW","Rotate CW":"Xoay CW",Download:"T\u1ea3i xu\u1ed1ng",Print:"In",Search:"T\xecm ki\u1ebfm","Run presentation":"Ch\u1ea1y b\u1ea3n tr\xecnh b\xe0y",Present:"M\xf3n qu\xe0",Stop:"Ng\u1eebng l\u1ea1i","Stop presenting":"D\u1eebng tr\xecnh b\xe0y","Resume presenting":"Ti\u1ebfp t\u1ee5c tr\xecnh b\xe0y","Pause presenting":"T\u1ea1m d\u1eebng tr\xecnh b\xe0y",None:"Kh\xf4ng c\xf3","5 sec":"5 gi\xe2y","10 sec":"10 gi\xe2y","15 sec":"15 gi\xe2y","30 sec":"30 gi\xe2y",Thumbnails:"H\xecnh thu nh\u1ecf"},RX={Click:"\u70b9\u51fb","to open file":"\u6253\u5f00\u6587\u4ef6","Or drop file here":"\u6216\u5c06\u6587\u4ef6\u62d6\u653e\u5230\u6b64\u5904","Browse files":"\u6d4f\u89c8\u6587\u4ef6","Zoom In":"\u653e\u5927","Zoom Out":"\u7f29\u5c0f","First Page":"\u7b2c\u4e00\u9875","Previous Page":"\u4e0a\u4e00\u9875","Next Page":"\u4e0b\u4e00\u9875","Last Page":"\u6700\u540e\u4e00\u9875","Rotate CCW":"\u9006\u65f6\u9488\u65cb\u8f6c","Rotate CW":"\u987a\u65f6\u9488\u65cb\u8f6c",Download:"\u4e0b\u8f7d",Print:"\u6253\u5370",Search:"\u641c\u7d22","Run presentation":"\u8fd0\u884c\u6f14\u793a",Present:"\u5c55\u793a",Stop:"\u505c\u6b62","Stop presenting":"\u505c\u6b62\u5c55\u793a","Resume presenting":"\u7b80\u5386\u5c55\u793a","Pause presenting":"\u6682\u505c\u6f14\u793a",None:"\u6ca1\u6709\u4efb\u4f55","5 sec":"5 \u79d2","10 sec":"10 \u79d2","15 sec":"15 \u79d2","30 sec":"30 \u79d2",Thumbnails:"\u7f29\u7565\u56fe"},BX={Click:"\u9ede\u64ca","to open file":"\u6253\u958b\u6587\u4ef6","Or drop file here":"\u6216\u5c07\u6587\u4ef6\u62d6\u653e\u5230\u6b64\u8655","Browse files":"\u700f\u89bd\u6587\u4ef6","Zoom In":"\u653e\u5927","Zoom Out":"\u7e2e\u5c0f","First Page":"\u7b2c\u4e00\u9801","Previous Page":"\u4e0a\u4e00\u9801","Next Page":"\u4e0b\u4e00\u9801","Last Page":"\u6700\u5f8c\u4e00\u9801","Rotate CCW":"\u9006\u6642\u91dd\u65cb\u8f49","Rotate CW":"\u9806\u6642\u91dd\u65cb\u8f49",Download:"\u4e0b\u8f09",Print:"\u6253\u5370",Search:"\u641c\u7d22","Run presentation":"\u904b\u884c\u6f14\u793a",Present:"\u5c55\u793a",Stop:"\u505c\u6b62","Stop presenting":"\u505c\u6b62\u5c55\u793a","Resume presenting":"\u7c21\u6b77\u5c55\u793a","Pause presenting":"\u66ab\u505c\u6f14\u793a",None:"\u6c92\u6709\u4efb\u4f55","5 sec":"5 \u79d2","10 sec":"10 \u79d2","15 sec":"15 \u79d2","30 sec":"30 \u79d2",Thumbnails:"\u7e2e\u7565\u5716"};class Kh extends class hY{constructor(n={}){this.translations={ar:VK,ca:OK,cs:FK,da:RK,de:BK,el:jK,en:UK,es:WK,fil:qK,fr:$K,he:ZK,hi:GK,id:KK,it:YK,ja:XK,kk:QK,ko:JK,ms:eY,nl:tY,pl:nY,pt:iY,ro:rY,ru:oY,sv:aY,th:cY,tr:sY,uk:lY,vi:fY,"zh-hans":uY,"zh-hant":dY};for(const t in n)this.translations[t]&&(this.translations[t]=Object.assign({},this.translations[t],n[t]))}getTranslation(n){const t=this.translations[n]?this.translations[n]:this.translations[this.defaultLanguage];return new ge(i=>{i.next(t)})}}{constructor(n={}){super({ar:Object.assign({},dX,n.ar),ca:Object.assign({},hX,n.ca),cs:Object.assign({},pX,n.cs),da:Object.assign({},mX,n.da),de:Object.assign({},gX,n.de),el:Object.assign({},vX,n.el),en:Object.assign({},_X,n.en),es:Object.assign({},CX,n.es),fil:Object.assign({},bX,n.fil),fr:Object.assign({},yX,n.fr),he:Object.assign({},MX,n.he),hi:Object.assign({},wX,n.hi),id:Object.assign({},xX,n.id),it:Object.assign({},zX,n.it),ja:Object.assign({},DX,n.ja),kk:Object.assign({},SX,n.kk),ko:Object.assign({},PX,n.ko),ms:Object.assign({},TX,n.ms),nl:Object.assign({},LX,n.nl),pl:Object.assign({},EX,n.pl),pt:Object.assign({},HX,n.pt),ro:Object.assign({},AX,n.ro),ru:Object.assign({},NX,n.ru),sv:Object.assign({},IX,n.sv),th:Object.assign({},kX,n.th),tr:Object.assign({},VX,n.tr),uk:Object.assign({},OX,n.uk),vi:Object.assign({},FX,n.vi),"zh-hans":Object.assign({},RX,n["zh-hans"]),"zh-hant":Object.assign({},BX,n["zh-hant"])})}}function jX(e){return()=>e.load()}function UX(e){return new Yn(e)}function WX(){return new Kh}let qX=(()=>{class e{static forRoot(t){return e1.DEFAULT_API_ENDPOINT=t,{ngModule:e}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=O2({providers:[zn,H4,Yt,{provide:Wr,useClass:Tt,multi:!0},{provide:T8,useFactory:jX,deps:[Yt],multi:!0},r6,{provide:Wr,useFactory:UX,multi:!0,deps:[r6]}],imports:[Vu,Uh,wx,Zc,ts.forRoot({loader:{provide:G3,useFactory:WX}}),Uh]}),e})();function $X(e,n){1&e&&b1(0,"gd-logo",9),2&e&&w("logo","viewer")}function ZX(e,n){if(1&e){const t=r1();H(0,"gd-button",22),Z("click",function(){q(t);const r=S(3);return $(r.openModal(r.browseFilesModal))}),f1(1,"translate"),k()}2&e&&(Y1("title",u1(1,2,"Browse files")),w("icon","folder-open"))}const GX=function(e,n){return{name:e,value:n,separator:!1}};function KX(e,n){if(1&e){const t=r1();H(0,"gd-select",23),Z("selected",function(r){return q(t),$(S(3).selectZoom(r))}),k()}if(2&e){const t=S(3);w("disabled",t.formatDisabled)("options",t.options)("showSelected",O3(3,GX,t.zoom+"%",t.zoom))}}function YX(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).zoomIn())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Zoom In")),w("disabled",t.formatDisabled)("icon","search-plus")}}function XX(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).zoomOut())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Zoom Out")),w("disabled",t.formatDisabled)("icon","search-minus")}}function QX(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).toFirstPage())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"First Page")),w("disabled",t.formatDisabled)("icon","angle-double-left")}}function JX(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).prevPage())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Previous Page")),w("disabled",t.formatDisabled)("icon","angle-left")}}const eQ=function(e){return{active:e}};function tQ(e,n){if(1&e&&(H(0,"div",25),D1(1),k()),2&e){const t=S(3);w("ngClass",t2(3,eQ,!t.formatDisabled)),L(1),V0("",t.currentPage,"/",t.countPages,"")}}function nQ(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).nextPage())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Next Page")),w("disabled",t.formatDisabled)("icon","angle-right")}}function iQ(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).toLastPage())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Last Page")),w("disabled",t.formatDisabled)("icon","angle-double-right")}}function rQ(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).rotate(-90))}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Rotate CCW")),w("disabled",t.formatDisabled)("icon","undo")}}function oQ(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).rotate(90))}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Rotate CW")),w("disabled",t.formatDisabled)("icon","redo")}}function aQ(e,n){if(1&e){const t=r1();H(0,"gd-button",26),Z("click",function(){return q(t),$(S(3).downloadFile())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Download")),w("disabled",t.formatDisabled)("icon","download")}}function cQ(e,n){if(1&e){const t=r1();H(0,"gd-button",26),Z("click",function(){return q(t),$(S(3).printFile())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Print")),w("disabled",t.formatDisabled)("icon","print")}}function sQ(e,n){if(1&e){const t=r1();H(0,"gd-button",26),Z("click",function(){return q(t),$(S(3).openSearch())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Search")),w("disabled",t.formatDisabled)("icon","search")}}function lQ(e,n){if(1&e){const t=r1();H(0,"div",27)(1,"gd-select",28),Z("selected",function(r){return q(t),$(S(3).selectLanguage(r))}),k()()}if(2&e){const t=S(3);L(1),w("disabled",!1)("options",t.supportedLanguages)("showSelected",t.selectedLanguage)}}function fQ(e,n){if(1&e){const t=r1();H(0,"gd-button",29),Z("click",function(){return q(t),$(S(3).openThumbnails())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Thumbnails")),w("disabled",t.formatDisabled)("icon","th-large")}}function uQ(e,n){if(1&e){const t=r1();H(0,"gd-button",30),Z("click",function(){return q(t),$(S(3).startPresentation())}),f1(1,"translate"),D1(2),f1(3,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,4,"Run presentation")),w("disabled",t.formatDisabled)("icon","play"),L(2),Pe(u1(3,6,"Present"))}}function dQ(e,n){if(1&e){const t=r1();H(0,"gd-top-toolbar",10),U(1,ZX,2,4,"gd-button",11),U(2,KX,1,6,"gd-select",12),U(3,YX,2,5,"gd-button",13),U(4,XX,2,5,"gd-button",13),U(5,QX,2,5,"gd-button",13),U(6,JX,2,5,"gd-button",13),U(7,tQ,2,5,"div",14),U(8,nQ,2,5,"gd-button",13),U(9,iQ,2,5,"gd-button",13),U(10,rQ,2,5,"gd-button",13),U(11,oQ,2,5,"gd-button",13),U(12,aQ,2,5,"gd-button",15),U(13,cQ,2,5,"gd-button",15),U(14,sQ,2,5,"gd-button",15),H(15,"gd-search",16,17),Z("hidePanel",function(){return q(t),$(S(2).openSearch(!1))}),k(),H(17,"div",18),U(18,lQ,2,3,"div",19),U(19,fQ,2,5,"gd-button",20),U(20,uQ,4,8,"gd-button",21),k()()}if(2&e){const t=S(2);L(1),w("ngIf",t.browseConfig),L(1),w("ngIf",t.zoomConfig),L(1),w("ngIf",t.zoomConfig),L(1),w("ngIf",t.zoomConfig),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf","file-excel"!==t.formatIcon),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.rotateConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.rotateConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.downloadConfig),L(1),w("ngIf",t.printConfig),L(1),w("ngIf",t.searchConfig&&!t.ifPresentation()),L(1),w("hidden",!t.showSearch),L(3),w("ngIf",t.showLanguageMenu),L(1),w("ngIf",t.thumbnailsConfig&&t.isDesktop&&"file-excel"!==t.formatIcon&&(!t.ifPresentation()||t.ifPresentation()&&t.runPresentation)),L(1),w("ngIf",t.ifPresentation()&&!t.runPresentation)}}function hQ(e,n){if(1&e&&(H(0,"div",6),U(1,$X,1,1,"gd-logo",7),U(2,dQ,21,18,"gd-top-toolbar",8),k()),2&e){const t=S();L(1),w("ngIf",t.showToolBar),L(1),w("ngIf",t.showToolBar)}}function pQ(e,n){if(1&e){const t=r1();H(0,"gd-select",36),Z("selected",function(r){return q(t),$(S(2).toggleTimer(r))}),k()}if(2&e){const t=S(2);w("disabled",t.formatDisabled)("options",t.timerOptions)("icon","clock")}}function mQ(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(2).pausePresenting())}),f1(1,"translate"),k()}if(2&e){const t=S(2);Y1("title",u1(1,3,"Pause presenting")),w("disabled",t.formatDisabled)("icon","pause")}}function gQ(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(2).resumePresenting())}),f1(1,"translate"),k()}if(2&e){const t=S(2);Y1("title",u1(1,3,"Resume presenting")),w("disabled",t.formatDisabled)("icon","step-forward")}}function vQ(e,n){if(1&e){const t=r1();H(0,"div",6)(1,"gd-top-toolbar",10)(2,"div",31),D1(3,"Viewer"),k(),H(4,"div",32),D1(5),k(),H(6,"div",33),U(7,pQ,1,3,"gd-select",34),U(8,mQ,2,5,"gd-button",13),U(9,gQ,2,5,"gd-button",13),H(10,"gd-button",35),Z("click",function(){return q(t),$(S().closeFullScreen(!0))}),f1(11,"translate"),D1(12),f1(13,"translate"),k()()()()}if(2&e){const t=S();L(5),Pe(t.getFileName()),L(2),w("ngIf",t.zoomConfig),L(1),w("ngIf",t.presentationRunning()),L(1),w("ngIf",t.presentationPaused()),L(1),Y1("title",u1(11,8,"Stop presenting")),w("disabled",t.formatDisabled)("icon","stop"),L(2),g2("",u1(13,10,"Stop")," ")}}function _Q(e,n){if(1&e){const t=r1();H(0,"gd-thumbnails",45),Z("selectedPage",function(r){return q(t),$(S(2).selectCurrentPage(r))}),k()}if(2&e){const t=S(2);w("pages",0==t.viewerConfig.preloadPageCount?t.file.pages:t.file.thumbnails)("isHtmlMode",t.htmlModeConfig)("guid",t.file.guid)("mode",t.htmlModeConfig)}}function CQ(e,n){if(1&e){const t=r1();H(0,"gd-thumbnails",46),Z("selectedPage",function(r){return q(t),$(S(2).selectCurrentPage(r))}),k()}if(2&e){const t=S(2);w("pages",0==t.viewerConfig.preloadPageCount?t.file.pages:t.file.thumbnails)("isHtmlMode",t.htmlModeConfig)("guid",t.file.guid)("mode",t.htmlModeConfig)("isPresentation",t.ifPresentation())}}function bQ(e,n){if(1&e){const t=r1();H(0,"gd-document",47),Z("mouseWheelUp",function(){return q(t),$(S(2).onMouseWheelUp())})("mouseWheelDown",function(){return q(t),$(S(2).onMouseWheelDown())}),k()}if(2&e){const t=S(2);w("file",t.file)("mode",t.htmlModeConfig)("showActiveSlide",!0)("preloadPageCount",t.viewerConfig.preloadPageCount||0)("selectedPage",t.selectedPageNumber)("htmlMode",t.htmlModeConfig)}}function yQ(e,n){if(1&e&&b1(0,"gd-excel-document",48),2&e){const t=S(2);w("file",t.file)("mode",t.htmlModeConfig)("preloadPageCount",t.viewerConfig.preloadPageCount||0)("htmlMode",t.htmlModeConfig)}}function MQ(e,n){if(1&e){const t=r1();H(0,"gd-run-presentation",49),Z("selectedPage",function(r){return q(t),$(S(2).selectCurrentPage(r))}),k()}if(2&e){const t=S(2);w("file",t.file)("currentPage",t.currentPage)("mode",t.htmlModeConfig)("preloadPageCount",0)}}const wQ=function(){return["fas","circle-notch"]};function xQ(e,n){if(1&e&&(H(0,"div",53),b1(1,"fa-icon",54),H(2,"span",55),D1(3),k()()),2&e){const t=S(3);L(1),w("icon",P2(4,wQ))("spin",!0),L(1),w("ngClass",t.secondsLeft>=10?"seconds-remaining two-digits":"seconds-remaining"),L(1),Pe(t.secondsLeft)}}function zQ(e,n){if(1&e){const t=r1();H(0,"gd-button",56),Z("click",function(){return q(t),$(S(3).prevPage())}),k()}2&e&&w("disabled",S(3).formatDisabled)("icon","angle-left")}function DQ(e,n){if(1&e){const t=r1();H(0,"gd-button",56),Z("click",function(){return q(t),$(S(3).nextPage())}),k()}2&e&&w("disabled",S(3).formatDisabled)("icon","angle-right")}function SQ(e,n){if(1&e&&(H(0,"div",50),U(1,xQ,4,5,"div",51),U(2,zQ,1,2,"gd-button",52),U(3,DQ,1,2,"gd-button",52),k()),2&e){const t=S(2);L(1),w("ngIf",t.showCountDown()),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon)}}function PQ(e,n){if(1&e&&(H(0,"div",37,38),U(2,_Q,1,4,"gd-thumbnails",39),U(3,CQ,1,5,"gd-thumbnails",40),U(4,bQ,1,6,"gd-document",41),U(5,yQ,1,4,"gd-excel-document",42),U(6,MQ,1,4,"gd-run-presentation",43),U(7,SQ,4,3,"div",44),k()),2&e){const t=S();L(2),w("ngIf",t.showThumbnails&&!t.ifPresentation()&&t.isDesktop),L(1),w("ngIf",t.showThumbnails&&t.ifPresentation()&&!t.runPresentation&&t.isDesktop),L(1),w("ngIf",t.file&&t.ifExcel()&&!t.htmlModeConfig||t.ifPresentation()&&t.isDesktop&&!t.runPresentation||!t.ifExcel()&&!t.ifPresentation()),L(1),w("ngIf",t.file&&t.ifExcel()&&t.htmlModeConfig),L(1),w("ngIf",t.file&&t.ifPresentation()&&t.runPresentation||t.file&&t.ifPresentation()&&!t.isDesktop),L(1),w("ngIf",t.runPresentation)}}const TQ=function(){return["fas","folder-open"]};function LQ(e,n){if(1&e){const t=r1();H(0,"gd-init-state",57),Z("fileDropped",function(r){return q(t),$(S().fileDropped(r))}),D1(1),f1(2,"translate"),b1(3,"fa-icon",58),D1(4),f1(5,"translate"),b1(6,"br"),D1(7),f1(8,"translate"),k()}2&e&&(w("icon","eye")("text","Drop file here to upload"),L(1),g2(" ",u1(2,6,"Click")," "),L(2),w("icon",P2(12,TQ)),L(1),g2(" ",u1(5,8,"to open file"),""),L(3),g2(" ",u1(8,10,"Or drop file here")," "))}let EQ=(()=>{class e extends fX{constructor(t,i,r,o,a,s,l,u,m,_,y,z,A,R,W){super(t,i,r,o,a,s,l,u,m,_,y,R,W),this.configService=A,this.viewerService=t,this.pagesLoading=[],this.http=z}preloadPages(t,i){const r=[],o=1===t,a=this.viewerConfig.preloadPageCount,s=this.file.pages.length;this.selectedPageNumber=1,o&&(this.pagesLoading=[]);for(let l=t;l<=i;l++){const u=this.file.pages.find(m=>m.number===l);u&&u.data||-1===this.pagesLoading.indexOf(l)&&(this.pagesLoading.push(l),r.push(l))}if(r.length>0){const l=r[r.length-1];if(!o&&r.length{u.forEach(m=>{const _=m.number-1,y=this.file.pages[_];y&&(y.data=m.data,this.file.thumbnails[_]&&(this.file.thumbnails[_].data=m.data,this.file.thumbnails[_].width=y.width,this.file.thumbnails[_].height=y.height))})})}}loadPages(t,i){return this.http.post(this.configService.getViewerApiEndpoint()+e1.LOAD_DOCUMENT_PAGE+"s",{guid:t.guid,fileType:t.fileType,password:t.password,pages:i},e1.httpOptionsJson)}}return e.\u0275fac=function(t){return new(t||e)(F(zn),F(E6),F(Yt),F(X3),F(v2),F(ct),F(H6),F(uo),F(ho),F(St),F(r6),F(j3),F(H4),F(Y0),F(K3))},e.\u0275cmp=I({type:e,selectors:[["app-root"]],features:[y3],decls:9,vars:7,consts:[[3,"loadingMask"],[1,"wrapper",3,"contextmenu"],["class","top-panel",4,"ngIf"],["class","doc-panel",4,"ngIf"],[3,"icon","text","fileDropped",4,"ngIf"],[3,"files","uploadConfig","urlForUpload","selectedDirectory","selectedFileGuid"],[1,"top-panel"],["icon","eye",3,"logo",4,"ngIf"],["class","toolbar-panel",4,"ngIf"],["icon","eye",3,"logo"],[1,"toolbar-panel"],[3,"icon","title","click",4,"ngIf"],["class","mobile-hide select-left noselect",3,"disabled","options","showSelected","selected",4,"ngIf"],["class","mobile-hide",3,"disabled","icon","title","click",4,"ngIf"],["class","current-page-number noselect",3,"ngClass",4,"ngIf"],[3,"disabled","icon","title","click",4,"ngIf"],[3,"hidden","hidePanel"],["search",""],[1,"toolbar-panel-right"],["class","language-menu mobile-hide",4,"ngIf"],["class","thumbnails-button btn-right",3,"disabled","icon","title","click",4,"ngIf"],["class","thumbnails-button mobile-hide btn-right smp-start-stop",3,"disabled","icon","title","click",4,"ngIf"],[3,"icon","title","click"],[1,"mobile-hide","select-left","noselect",3,"disabled","options","showSelected","selected"],[1,"mobile-hide",3,"disabled","icon","title","click"],[1,"current-page-number","noselect",3,"ngClass"],[3,"disabled","icon","title","click"],[1,"language-menu","mobile-hide"],[1,"select-language-menu","noselect",3,"disabled","options","showSelected","selected"],[1,"thumbnails-button","btn-right",3,"disabled","icon","title","click"],[1,"thumbnails-button","mobile-hide","btn-right","smp-start-stop",3,"disabled","icon","title","click"],[1,"slides-title"],[1,"slides-filename"],[1,"slides-buttons"],["class","mobile-hide select-right",3,"disabled","options","icon","selected",4,"ngIf"],[1,"mobile-hide","btn-right","smp-start-stop",3,"disabled","icon","title","click"],[1,"mobile-hide","select-right",3,"disabled","options","icon","selected"],[1,"doc-panel"],["docPanel",""],[3,"pages","isHtmlMode","guid","mode","selectedPage",4,"ngIf"],["gdScrollable","",3,"pages","isHtmlMode","guid","mode","isPresentation","selectedPage",4,"ngIf"],["class","gd-document","gdScrollableEdited","","gdRenderPrint","","gdMouseWheel","",3,"file","mode","showActiveSlide","preloadPageCount","selectedPage","htmlMode","mouseWheelUp","mouseWheelDown",4,"ngIf"],["class","gd-document","gdScrollable","","gdRenderPrint","",3,"file","mode","preloadPageCount","htmlMode",4,"ngIf"],["class","gd-document",3,"file","currentPage","mode","preloadPageCount","selectedPage",4,"ngIf"],["class","slides-nav",4,"ngIf"],[3,"pages","isHtmlMode","guid","mode","selectedPage"],["gdScrollable","",3,"pages","isHtmlMode","guid","mode","isPresentation","selectedPage"],["gdScrollableEdited","","gdRenderPrint","","gdMouseWheel","",1,"gd-document",3,"file","mode","showActiveSlide","preloadPageCount","selectedPage","htmlMode","mouseWheelUp","mouseWheelDown"],["gdScrollable","","gdRenderPrint","",1,"gd-document",3,"file","mode","preloadPageCount","htmlMode"],[1,"gd-document",3,"file","currentPage","mode","preloadPageCount","selectedPage"],[1,"slides-nav"],["class","timer",4,"ngIf"],["class","mobile-hide",3,"disabled","icon","click",4,"ngIf"],[1,"timer"],[3,"icon","spin"],[3,"ngClass"],[1,"mobile-hide",3,"disabled","icon","click"],[3,"icon","text","fileDropped"],[3,"icon"]],template:function(t,i){1&t&&(b1(0,"gd-loading-mask",0),H(1,"div",1),Z("contextmenu",function(){return i.onRightClick()}),U(2,hQ,3,2,"div",2),U(3,vQ,14,12,"div",2),U(4,PQ,8,6,"div",3),U(5,LQ,9,13,"gd-init-state",4),H(6,"gd-browse-files-modal",5),Z("urlForUpload",function(o){return i.upload(o)})("selectedDirectory",function(o){return i.selectDir(o)})("selectedFileGuid",function(o){return i.selectFile(o,"",i.browseFilesModal,"")}),k(),b1(7,"gd-error-modal")(8,"gd-password-required"),k()),2&t&&(w("loadingMask",i.isLoading),L(2),w("ngIf",!i.runPresentation),L(1),w("ngIf",i.runPresentation),L(1),w("ngIf",i.file),L(1),w("ngIf",!i.file),L(1),w("files",i.files)("uploadConfig",i.uploadConfig))},dependencies:[at,Ne,Gh,Zh,_h,E4,as,Mh,ss,zh,jh,Dh,fs,Th,Lh,Eh,Hh,Ah,Ih,Bh,K2,Zn],styles:['@import"https://fonts.googleapis.com/css?family=Open+Sans&display=swap";[_nghost-%COMP%] *[_ngcontent-%COMP%]{font-family:Open Sans,Arial,Helvetica,sans-serif}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.current-page-number[_ngcontent-%COMP%]{margin-left:7px;font-size:14px;color:#959da5;width:37px;height:37px;line-height:37px;text-align:center}.current-page-number.active[_ngcontent-%COMP%]{color:#fff}.wrapper[_ngcontent-%COMP%]{align-items:stretch;height:100%;width:100%;position:fixed;top:0;bottom:0;left:0;right:0}.doc-panel[_ngcontent-%COMP%]{display:flex;height:calc(100vh - 60px);flex-direction:row}.top-panel[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%}.toolbar-panel[_ngcontent-%COMP%]{background-color:#3e4e5a;width:100%}.toolbar-panel-right[_ngcontent-%COMP%]{display:flex;flex:1;place-content:flex-end}.btn-right[_ngcontent-%COMP%]{margin-right:7px}.smp-start-stop[_ngcontent-%COMP%] .button{flex-direction:row;border:1px solid;border-radius:5px;padding:0 10px!important}.language-menu[_ngcontent-%COMP%]{margin-right:15px}.select-language-menu[_ngcontent-%COMP%] .select{width:100%}.select-language-menu[_ngcontent-%COMP%] .select .dropdown-menu{overflow-y:scroll;max-height:90%}.select-language-menu[_ngcontent-%COMP%] .selected-value{max-width:100%}.thumbnails-button[_ngcontent-%COMP%] .button{margin-left:0!important} .tools .button, .tools .selected-value, .tools .nav-caret{color:#fff!important} .tools .button.inactive, .tools .selected-value.inactive, .tools .nav-caret.inactive{color:#959da5!important} .tools .button{flex-flow:column} .tools .select-left .select{position:relative} .tools .select-left .dropdown-menu{top:40px;left:0px} .tools .select-right .select{position:relative} .tools .select-right .dropdown-menu{top:40px;right:0px} .tools .dropdown-menu .option{color:#6e6e6e!important} .tools .dropdown-menu .option:hover{background-color:#4b566c!important} .tools .icon-button{margin:0 0 0 15px!important} .tools .select{width:37px;height:37px;margin-left:7px;line-height:37px;text-align:center} .tools .slides-title{color:#fff;padding-left:12px;font-size:18px} .tools .slides-filename{flex-grow:1;text-align:center;color:#fff;text-overflow:ellipsis;white-space:nowrap;padding-left:20px;overflow:hidden} .tools .slides-buttons{display:flex} .tools .slides-buttons .select{color:#fff;cursor:pointer} .tools .gd-nav-search-container .icon-button{margin:0 0 0 7px!important}.slides-nav[_ngcontent-%COMP%]{position:absolute;right:30px;bottom:30px;display:flex}.slides-nav[_ngcontent-%COMP%] .button{font-size:37px;background-color:#edf0f2;border-radius:3px}.slides-nav[_ngcontent-%COMP%] .timer{font-size:42px;line-height:6px;color:#959da5;position:relative}.slides-nav[_ngcontent-%COMP%] .timer .seconds-remaining{position:absolute;margin-left:5px;font-size:16px;top:18px;left:12px}.slides-nav[_ngcontent-%COMP%] .timer .seconds-remaining.two-digits{left:6px!important} .page.presentation .gd-wrapper{pointer-events:none}@media (max-width: 1037px){.mobile-hide[_ngcontent-%COMP%], .current-page-number[_ngcontent-%COMP%]{display:none} .tools gd-button:nth-child(1)>.icon-button{margin:0 0 0 10px!important} .tools .icon-button{height:60px;width:60px} .tools .gd-nav-search-btn .icon-button{height:37px;width:37px} .tools .gd-nav-search-btn .button{font-size:14px} .tools .gd-nav-search-container{top:59px!important}}']}),e})();function HQ(){let e=new H4;return e.apiEndpoint=window.apiEndpoint,e.getViewerApiEndpoint=()=>window.apiEndpoint,e.getConfigEndpoint=()=>window.uiSettingsPath,e}let AQ=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ve({type:e,bootstrap:[EQ]}),e.\u0275inj=O2({providers:[{provide:uM,useValue:"/"},{provide:H4,useFactory:HQ},{provide:"WINDOW",useValue:window}],imports:[Vu.withServerTransition({appId:"ng-cli-universal"}),qX,Zc,ts.forRoot({loader:{provide:G3,useClass:Kh}})]}),e})();(function Uy(){$f=!1} + */function n6(e){return!!e&&(e instanceof ge||j1(e.lift)&&j1(e.subscribe))}const{isArray:tG}=Array,{getPrototypeOf:nG,prototype:iG,keys:rG}=Object;function cG(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function sG(...e){const n=function j6(e){return j1(a4(e))?e.pop():void 0}(e),{args:t,keys:i}=function oG(e){if(1===e.length){const n=e[0];if(tG(n))return{args:n,keys:null};if(function aG(e){return e&&"object"==typeof e&&nG(e)===iG}(n)){const t=rG(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e),r=new ge(o=>{const{length:a}=t;if(!a)return void o.complete();const s=new Array(a);let l=a,u=a;for(let m=0;m{_||(_=!0,u--),s[m]=y},()=>l--,void 0,()=>{(!l||!_)&&(u||o.next(i?cG(i,s):s),o.complete())}))}});return n?r.pipe(Xu(n)):r}function sh(e){return new ge(n=>{be(e()).subscribe(n)})}class lG extends ce{constructor(n=1/0,t=1/0,i=Cc){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){const{isStopped:t,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:a}=this;t||(i.push(n),!r&&i.push(o.now()+a)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let a=0;anew lG(i,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function fh(e,n){return He((t,i)=>{let r=null,o=0,a=!1;const s=()=>a&&!r&&i.complete();t.subscribe(je(i,l=>{null==r||r.unsubscribe();let u=0;const m=o++;be(e(l,m)).subscribe(r=je(i,_=>i.next(n?n(l,_,m,u++):_),()=>{r=null,s()}))},()=>{a=!0,s()}))})}class G3{}let uh=(()=>{class e extends G3{getTranslation(t){return M4({})}}return e.\u0275fac=function(){let n;return function(i){return(n||(n=t3(e)))(i||e)}}(),e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})();class Kc{}let dh=(()=>{class e{handle(t){return t.key}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})();function mi(e,n){if(e===n)return!0;if(null===e||null===n)return!1;if(e!=e&&n!=n)return!0;let r,o,a,t=typeof e;if(t==typeof n&&"object"==t){if(!Array.isArray(e)){if(Array.isArray(n))return!1;for(o in a=Object.create(null),e){if(!mi(e[o],n[o]))return!1;a[o]=!0}for(o in n)if(!(o in a)&&void 0!==n[o])return!1;return!0}if(!Array.isArray(n))return!1;if((r=e.length)==n.length){for(o=0;o{Yc(n[i])?i in e?t[i]=hh(e[i],n[i]):Object.assign(t,{[i]:n[i]}):Object.assign(t,{[i]:n[i]})}),t}class ro{}let ph=(()=>{class e extends ro{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(t,i){let r;return r="string"==typeof t?this.interpolateString(t,i):"function"==typeof t?this.interpolateFunction(t,i):t,r}getValue(t,i){let r="string"==typeof i?i.split("."):[i];i="";do{i+=r.shift(),!Dt(t)||!Dt(t[i])||"object"!=typeof t[i]&&r.length?r.length?i+=".":t=void 0:(t=t[i],i="")}while(r.length);return t}interpolateFunction(t,i){return t(i)}interpolateString(t,i){return i?t.replace(this.templateMatcher,(r,o)=>{let a=this.getValue(i,o);return Dt(a)?a:r}):t}}return e.\u0275fac=function(){let n;return function(i){return(n||(n=t3(e)))(i||e)}}(),e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})();class oo{}let mh=(()=>{class e extends oo{compile(t,i){return t}compileTranslations(t,i){return t}}return e.\u0275fac=function(){let n;return function(i){return(n||(n=t3(e)))(i||e)}}(),e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})();class gh{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new _1,this.onLangChange=new _1,this.onDefaultLangChange=new _1}}const Xc=new q1("USE_STORE"),Qc=new q1("USE_DEFAULT_LANG"),Jc=new q1("DEFAULT_LANGUAGE"),es=new q1("USE_EXTEND");let K3=(()=>{class e{constructor(t,i,r,o,a,s=!0,l=!1,u=!1,m){this.store=t,this.currentLoader=i,this.compiler=r,this.parser=o,this.missingTranslationHandler=a,this.useDefaultLang=s,this.isolate=l,this.extend=u,this.pending=!1,this._onTranslationChange=new _1,this._onLangChange=new _1,this._onDefaultLangChange=new _1,this._langs=[],this._translations={},this._translationRequests={},m&&this.setDefaultLang(m)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(t){this.isolate?this._currentLang=t:this.store.currentLang=t}get langs(){return this.isolate?this._langs:this.store.langs}set langs(t){this.isolate?this._langs=t:this.store.langs=t}get translations(){return this.isolate?this._translations:this.store.translations}set translations(t){this.isolate?this._translations=t:this.store.translations=t}setDefaultLang(t){if(t===this.defaultLang)return;let i=this.retrieveTranslations(t);void 0!==i?(null==this.defaultLang&&(this.defaultLang=t),i.pipe(U3(1)).subscribe(r=>{this.changeDefaultLang(t)})):this.changeDefaultLang(t)}getDefaultLang(){return this.defaultLang}use(t){if(t===this.currentLang)return M4(this.translations[t]);let i=this.retrieveTranslations(t);return void 0!==i?(this.currentLang||(this.currentLang=t),i.pipe(U3(1)).subscribe(r=>{this.changeLang(t)}),i):(this.changeLang(t),M4(this.translations[t]))}retrieveTranslations(t){let i;return(void 0===this.translations[t]||this.extend)&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),i=this._translationRequests[t]),i}getTranslation(t){this.pending=!0;const i=this.currentLoader.getTranslation(t).pipe(lh(1),U3(1));return this.loadingTranslations=i.pipe(_e(r=>this.compiler.compileTranslations(r,t)),lh(1),U3(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[t]=this.extend&&this.translations[t]?Object.assign(Object.assign({},r),this.translations[t]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(t,i,r=!1){i=this.compiler.compileTranslations(i,t),this.translations[t]=(r||this.extend)&&this.translations[t]?hh(this.translations[t],i):i,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}getLangs(){return this.langs}addLangs(t){t.forEach(i=>{-1===this.langs.indexOf(i)&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(t,i,r){let o;if(i instanceof Array){let a={},s=!1;for(let l of i)a[l]=this.getParsedResult(t,l,r),n6(a[l])&&(s=!0);return s?sG(i.map(u=>n6(a[u])?a[u]:M4(a[u]))).pipe(_e(u=>{let m={};return u.forEach((_,y)=>{m[i[y]]=_}),m})):a}if(t&&(o=this.parser.interpolate(this.parser.getValue(t,i),r)),void 0===o&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],i),r)),void 0===o){let a={key:i,translateService:this};void 0!==r&&(a.interpolateParams=r),o=this.missingTranslationHandler.handle(a)}return void 0!==o?o:i}get(t,i){if(!Dt(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Bu(r=>n6(r=this.getParsedResult(r,t,i))?r:M4(r)));{let r=this.getParsedResult(this.translations[this.currentLang],t,i);return n6(r)?r:M4(r)}}getStreamOnTranslationChange(t,i){if(!Dt(t)||!t.length)throw new Error('Parameter "key" required');return ai(sh(()=>this.get(t,i)),this.onTranslationChange.pipe(fh(r=>{const o=this.getParsedResult(r.translations,t,i);return"function"==typeof o.subscribe?o:M4(o)})))}stream(t,i){if(!Dt(t)||!t.length)throw new Error('Parameter "key" required');return ai(sh(()=>this.get(t,i)),this.onLangChange.pipe(fh(r=>{const o=this.getParsedResult(r.translations,t,i);return n6(o)?o:M4(o)})))}instant(t,i){if(!Dt(t)||!t.length)throw new Error('Parameter "key" required');let r=this.getParsedResult(this.translations[this.currentLang],t,i);if(n6(r)){if(t instanceof Array){let o={};return t.forEach((a,s)=>{o[t[s]]=t[s]}),o}return t}return r}set(t,i,r=this.currentLang){this.translations[r][t]=this.compiler.compile(i,r),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeLang(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),null==this.defaultLang&&this.changeDefaultLang(t)}changeDefaultLang(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}reloadLang(t){return this.resetLang(t),this.getTranslation(t)}resetLang(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==t?(-1!==t.indexOf("-")&&(t=t.split("-")[0]),-1!==t.indexOf("_")&&(t=t.split("_")[0]),t):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,t}}return e.\u0275fac=function(t){return new(t||e)(l1(gh),l1(G3),l1(oo),l1(ro),l1(Kc),l1(Qc),l1(Xc),l1(es),l1(Jc))},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),Zn=(()=>{class e{constructor(t,i){this.translate=t,this._ref=i,this.value=""}updateValue(t,i,r){let o=a=>{this.value=void 0!==a?a:t,this.lastKey=t,this._ref.markForCheck()};if(r){let a=this.translate.getParsedResult(r,t,i);n6(a.subscribe)?a.subscribe(o):o(a)}this.translate.get(t,i).subscribe(o)}transform(t,...i){if(!t||!t.length)return t;if(mi(t,this.lastKey)&&mi(i,this.lastParams))return this.value;let r;if(Dt(i[0])&&i.length)if("string"==typeof i[0]&&i[0].length){let o=i[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{r=JSON.parse(o)}catch(a){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else"object"==typeof i[0]&&!Array.isArray(i[0])&&(r=i[0]);return this.lastKey=t,this.lastParams=i,this.updateValue(t,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(t,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,r,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,r))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return e.\u0275fac=function(t){return new(t||e)(F(K3,16),F(Y0,16))},e.\u0275pipe=M1({name:"translate",type:e,pure:!1}),e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),ts=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[t.loader||{provide:G3,useClass:uh},t.compiler||{provide:oo,useClass:mh},t.parser||{provide:ro,useClass:ph},t.missingTranslationHandler||{provide:Kc,useClass:dh},gh,{provide:Xc,useValue:t.isolate},{provide:Qc,useValue:t.useDefaultLang},{provide:es,useValue:t.extend},{provide:Jc,useValue:t.defaultLanguage},K3]}}static forChild(t={}){return{ngModule:e,providers:[t.loader||{provide:G3,useClass:uh},t.compiler||{provide:oo,useClass:mh},t.parser||{provide:ro,useClass:ph},t.missingTranslationHandler||{provide:Kc,useClass:dh},{provide:Xc,useValue:t.isolate},{provide:Qc,useValue:t.useDefaultLang},{provide:es,useValue:t.extend},{provide:Jc,useValue:t.defaultLanguage},K3]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=O2({}),e})();const Y2=["*"],i6=function(e){return["fas",e]},pG=function(e,n){return[e,n]};function mG(e,n){if(1&e&&b1(0,"fa-icon",4),2&e){const t=S();w("icon",O3(2,pG,t.iconRegular?"far":"fas",t.icon))("size",t.iconSize)}}function gG(e,n){if(1&e&&b1(0,"gd-tooltip",5),2&e){const t=S();w("text",t.tooltip)("show",t.showToolTip)("position",t.elementPosition)}}function vG(e,n){if(1&e){const t=r1();H(0,"div",2),Z("click",function(r){return q(t),$(S().onClose(r))}),k()}}function _G(e,n){if(1&e){const t=r1();H(0,"div",3)(1,"div",4)(2,"div",5)(3,"div",6),Z("click",function(){return q(t),$(S().cancelClose())}),H(4,"span"),D1(5,"\xd7"),k()(),H(6,"h4",7),D1(7),k()(),H(8,"div",8),l2(9),k(),b1(10,"div",9),k()()}if(2&e){const t=S();L(7),Pe(t.title)}}const ns=function(){return["fas","cloud-download-alt"]};function CG(e,n){if(1&e){const t=r1();H(0,"div",15),Z("opening",function(r){return q(t),$(S().showUploadFile=r)}),H(1,"div",16),b1(2,"fa-icon",17),H(3,"span",18),D1(4),f1(5,"translate"),k()()()}2&e&&(L(2),w("icon",P2(4,ns)),L(2),Pe(u1(5,2,"Drop file here to upload")))}function bG(e,n){if(1&e){const t=r1();H(0,"gd-drop-down-item",26),Z("selected",function(){const o=q(t).$implicit;return $(S(2).selectUpload(o.name))}),b1(1,"fa-icon",11),H(2,"div",18),D1(3),f1(4,"translate"),k()()}if(2&e){const t=n.$implicit;L(1),w("icon",t2(4,i6,t.icon)),L(2),Pe(u1(4,2,t.name))}}const yG=function(){return["fas","check"]};function MG(e,n){if(1&e){const t=r1();H(0,"div",27)(1,"div",28)(2,"input",29,30),Z("keyup.enter",function(){q(t);const r=E3(3);return $(S(2).uploadUrl(r.value))}),k(),H(4,"div",31),Z("click",function(){q(t);const r=E3(3);return $(S(2).uploadUrl(r.value))}),b1(5,"fa-icon",11),k()()()}2&e&&(L(5),w("icon",P2(1,yG)))}function wG(e,n){if(1&e){const t=r1();H(0,"div",19)(1,"input",20),Z("change",function(r){return q(t),$(S().handleFileInput(r.target.files))}),k(),H(2,"div",21)(3,"div",22)(4,"gd-drop-down")(5,"gd-drop-down-toggle")(6,"gd-button",23),D1(7),f1(8,"translate"),k()(),H(9,"gd-drop-down-items"),U(10,bG,5,6,"gd-drop-down-item",24),k()()(),U(11,MG,6,2,"div",25),k()()}if(2&e){const t=S();L(6),w("icon","upload")("intent","brand")("iconOnly",!1),L(1),g2(" ",u1(8,6,"Upload file")," "),L(3),w("ngForOf",t.uploads),L(1),w("ngIf",t.showUploadUrl)}}function xG(e,n){if(1&e){const t=r1();H(0,"div",32),Z("click",function(){const o=q(t).$implicit;return $(S().choose(o))}),H(1,"div",33),b1(2,"fa-icon",11),H(3,"div",34)(4,"div",35),D1(5),k(),H(6,"div",36),D1(7),k()()(),H(8,"div",37),D1(9),f1(10,"translate"),k()()}if(2&e){const t=n.$implicit,i=S();L(2),rt("ng-fa-icon fa-"+i.getFormatIcon(t)),w("icon",t2(9,i6,i.getFormatIcon(t))),L(3),Pe(null==t?null:t.name),L(2),Pe(i.getFormatName(t)),L(2),V0(" ",i.getSizeValue(null==t?null:t.size)," ",u1(10,7,i.getSizeUnits(null==t?null:t.size))," ")}}const is=function(){return["fas","circle-notch"]};function zG(e,n){1&e&&(H(0,"div",38),b1(1,"fa-icon",39),D1(2),f1(3,"translate"),k()),2&e&&(L(1),w("icon",P2(5,is))("spin",!0),L(1),g2(" \xa0",u1(3,3,"Loading... Please wait.")," "))}const DG=function(e){return{"upload-url":e}},SG=function(){return["fas","level-up-alt"]};function PG(e,n){1&e&&(H(0,"div",4),D1(1),f1(2,"translate"),k()),2&e&&(L(1),Pe(u1(2,1,"Please wait...")))}function TG(e,n){if(1&e&&b1(0,"gd-page",7),2&e){const t=S().$implicit,i=S();w("number",t.number)("data",t.data)("isHtml",i.mode)("angle",t.angle)("width",t.width)("height",t.height)("editable",t.editable)}}function LG(e,n){if(1&e&&(H(0,"div",5),U(1,TG,1,7,"gd-page",6),k()),2&e){const t=n.$implicit,i=S();it("height",i.getDimensionWithUnit(t.height,t.number))("width",i.getDimensionWithUnit(t.width,t.number)),w("ngClass",i.ifExcel()?"page excel":i.ifPresentation()&&i.showActiveSlide?i.isVisible(t.number)?"page presentation active":"page presentation":"page")("angle",t.angle)("isHtmlMode",i.mode)("width",t.width)("height",t.height),L(1),w("ngIf",!i.showActiveSlide||i.isVisible(t.number))}}function EG(e,n){if(1&e&&(b1(0,"div",4),f1(1,"safeHtml")),2&e){const t=S();w("innerHTML",u1(1,3,t.data),h4)("contentEditable",!!t.editable)("text",t.data)}}function HG(e,n){if(1&e&&(b1(0,"img",5),f1(1,"safeResourceHtml")),2&e){const t=S();it("width",t.width,"px")("height",t.height,"px"),I0("src",u1(1,5,t.imgData),z0)}}function AG(e,n){1&e&&(H(0,"div",6),b1(1,"fa-icon",7),D1(2),f1(3,"translate"),k()),2&e&&(L(1),w("icon",P2(5,is))("spin",!0),L(1),g2(" \xa0",u1(3,3,"Loading... Please wait.")," "))}function IG(e,n){if(1&e&&(H(0,"div",5),D1(1),f1(2,"translate"),k()),2&e){const t=S();w("dis",t.disabled),L(1),g2(" ",u1(2,2,null==t.showSelected?null:t.showSelected.name)," ")}}function kG(e,n){if(1&e&&b1(0,"fa-icon",6),2&e){const t=S();w("icon",t2(1,i6,t.icon))}}function VG(e,n){if(1&e){const t=r1();H(0,"div",11),Z("click",function(r){q(t);const o=S().$implicit;return $(S(2).select(r,o))})("touchstart",function(r){q(t);const o=S().$implicit;return $(S(2).select(r,o))}),D1(1),f1(2,"translate"),k()}if(2&e){const t=S().$implicit;L(1),Pe(u1(2,1,t.name))}}function OG(e,n){1&e&&b1(0,"div",12)}function FG(e,n){if(1&e&&(H(0,"div"),U(1,VG,3,3,"div",9),U(2,OG,1,0,"div",10),k()),2&e){const t=n.$implicit;L(1),w("ngIf",!t.separator),L(1),w("ngIf",t.separator)}}function RG(e,n){if(1&e&&(H(0,"div",7),U(1,FG,3,2,"div",8),k()),2&e){const t=S();L(1),w("ngForOf",t.options)}}function BG(e,n){if(1&e&&(H(0,"div",5),b1(1,"fa-icon",6),H(2,"span",7),D1(3),k()()),2&e){const t=S();L(1),w("icon",P2(2,ns)),L(2),Pe(t.text)}}const jG=function(){return["fas","exclamation-triangle"]},UG=function(e){return{error:e}},WG=["text"];function YG(e,n){1&e&&(H(0,"div",1)(1,"div",2),b1(2,"fa-icon",3),D1(3),f1(4,"translate"),k()()),2&e&&(L(2),w("icon",P2(5,is))("spin",!0),L(1),g2(" \xa0",u1(4,3,"Loading... Please wait.")," "))}const rs=".drop-down{position:relative}.show .drop-down-items{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:absolute;z-index:1000;min-width:100%;max-height:300px;padding:0;background-color:#fff;box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box;overflow-y:auto;overflow-x:hidden}.show .drop-down-items .drop-down-item,.show .drop-down-items gd-drop-down-item{color:#959da5;display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-box-pack:justify;justify-content:space-between;cursor:pointer;font-size:10px;line-height:28px;min-height:28px;width:100%}.show .drop-down-items .drop-down-item fa-icon svg,.show .drop-down-items gd-drop-down-item fa-icon svg{margin:0 10px;color:#959da5}.show .drop-down-items .drop-down-item .text,.show .drop-down-items gd-drop-down-item .text{width:100%;margin-right:10px}.show .drop-down-items .drop-down-item:hover,.show .drop-down-items gd-drop-down-item:hover{background-color:#25c2d4}.show .drop-down-items .drop-down-item:hover *,.show .drop-down-items gd-drop-down-item:hover *{color:#fff}.drop-down-items{display:none}",os=function(e){return{transform:e}};function hK(e,n){if(1&e&&(b1(0,"div",6),f1(1,"safeHtml")),2&e){const t=S().$implicit,i=S();it("height",i.getDimensionWithUnit(t.height))("width",i.getDimensionWithUnit(t.width)),w("ngStyle",t2(8,os,"translateX(-50%) translateY(-50%) scale("+i.getScale(t.width,t.height)+")"))("innerHTML",u1(1,6,t.data),h4)}}function pK(e,n){if(1&e&&(H(0,"div",7),b1(1,"img",8),f1(2,"safeResourceHtml"),k()),2&e){const t=S().$implicit,i=S();it("height",i.getDimensionWithUnit(t.height))("width",i.getDimensionWithUnit(t.width)),w("ngStyle",t2(8,os,"translateX(-50%) translateY(-50%) scale("+i.getScale(t.width,t.height)+")")),L(1),I0("src",u1(2,6,i.imgData(t.data)),z0)}}function mK(e,n){if(1&e&&(b1(0,"div",6),f1(1,"safeHtml")),2&e){const t=S().$implicit,i=S();it("height",i.getDimensionWithUnit(800))("width",i.getDimensionWithUnit(800)),w("ngStyle",t2(8,os,"translateX(-50%) translateY(-50%) scale("+i.getScale(800,800)+")"))("innerHTML",u1(1,6,i.emptyThumbData(t.number)),h4)}}function gK(e,n){if(1&e){const t=r1();H(0,"div",3),Z("click",function(){const o=q(t).$implicit;return $(S().openPage(o.number))}),U(1,hK,2,10,"div",4),U(2,pK,3,10,"div",5),U(3,mK,2,10,"div",4),k()}if(2&e){const t=n.$implicit,i=S();Un("id","gd-thumbnails-page-",t.number,""),w("withMargin",!1)("angle",t.angle)("isHtmlMode",i.mode)("width",t.width)("height",t.height),L(1),w("ngIf",t.data&&i.isHtmlMode),L(1),w("ngIf",t.data&&!i.isHtmlMode),L(1),w("ngIf",!t.data)}}let _h=(()=>{class e{constructor(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=I({type:e,selectors:[["gd-top-toolbar"]],ngContentSelectors:Y2,decls:3,vars:0,consts:[[1,"top-toolbar"],["id","tools",1,"tools"]],template:function(t,i){1&t&&(s2(),H(0,"div",0)(1,"div",1),l2(2),k()())},styles:[".top-toolbar[_ngcontent-%COMP%]{width:100%;height:60px;z-index:999;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.tools[_ngcontent-%COMP%]{width:100%;height:100%;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}@media (max-width:1037px){.top-toolbar[_ngcontent-%COMP%]{height:60px}.tools[_ngcontent-%COMP%]{height:100%;overflow-x:auto;overflow-scrolling:touch;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-transition:.3s ease-in-out;transition:.3s ease-in-out;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.tools[_ngcontent-%COMP%]::-webkit-scrollbar{width:0;height:0;background-color:#3e4e5a}}"]}),e})(),St=(()=>{class e{constructor(){this.resizeSubject=new ce,this.width=window.innerWidth,this.height=window.innerHeight,this._resize$=ri(window,"resize").pipe(Ju(200),ed(),function Fx(...e){const n=N2(e);return He((t,i)=>{(n?ai(e,t,n):ai(e,t)).subscribe(i)})}({target:{innerWidth:window.innerWidth,innerHeight:window.innerHeight}}),function Rx(e,n,t){const i=j1(e)||n||t?{next:e,error:n,complete:t}:e;return i?He((r,o)=>{var a;null===(a=i.subscribe)||void 0===a||a.call(i);let s=!0;r.subscribe(je(o,l=>{var u;null===(u=i.next)||void 0===u||u.call(i,l),o.next(l)},()=>{var l;s=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var u;s=!1,null===(u=i.error)||void 0===u||u.call(i,l),o.error(l)},()=>{var l,u;s&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(u=i.finalize)||void 0===u||u.call(i)}))}):re}(t=>{this.resizeSubject.next(t.target),this.width=t.target.innerWidth,this.height=t.target.innerHeight})),this._resize$.subscribe()}get onResize(){return this.resizeSubject.asObservable()}isMobile(){return this.width<=425}isTablet(){return this.width<=1024}isDesktop(){return!this.isMobile()&&!this.isTablet()}getWidth(){return this.width}getHeight(){return this.height}isEdge(){return window.navigator.userAgent.toLowerCase().indexOf("edge")>-1}isFirefox(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),E4=(()=>{class e{constructor(t){this.iconOnly=!0,this.intent="default",this.disabled=!1,this.toggle=!1,this.iconRegular=!1,this.elementPosition=0,this.showToolTip=!1,this.isDesktop=t.isDesktop(),t.onResize.subscribe(i=>{this.isDesktop=t.isDesktop()})}iconButtonClass(){return this.iconOnly?"icon-button":""}onHovering(){this.isDesktop&&!this.disabled&&(this.className+=" active")}onUnhovering(){this.isDesktop&&!this.disabled&&(this.className=this.cleanAll(this.className," active"))}cleanAll(t,i){for(;t&&-1!==t.indexOf(i);)t=t.replace(i,"");return t}}return e.\u0275fac=function(t){return new(t||e)(F(St))},e.\u0275cmp=I({type:e,selectors:[["gd-button"]],inputs:{iconOnly:"iconOnly",intent:"intent",disabled:"disabled",toggle:"toggle",iconRegular:"iconRegular",elementPosition:"elementPosition",className:"className",icon:"icon",iconClass:"iconClass",tooltip:"tooltip",iconSize:"iconSize"},ngContentSelectors:Y2,decls:5,vars:8,consts:[["gdTooltip","","gdDisabledCursor","",3,"ngClass","dis","showToolTip","mouseenter","mouseleave"],[3,"icon","size",4,"ngIf"],["class","button-tooltip",3,"text","show","position",4,"ngIf"],[1,"text"],[3,"icon","size"],[1,"button-tooltip",3,"text","show","position"]],template:function(t,i){1&t&&(s2(),H(0,"div",0),Z("showToolTip",function(o){return i.showToolTip=o})("mouseenter",function(){return i.onHovering()})("mouseleave",function(){return i.onUnhovering()}),U(1,mG,1,5,"fa-icon",1),U(2,gG,1,3,"gd-tooltip",2),H(3,"div",3),l2(4),k()()),2&t&&(function o9(e,n,t,i,r){mn(yt,qn,x3(J(),e,n,t,i,r),!0)}("button ",i.intent," ",i.iconButtonClass(),""),w("ngClass",i.toggle?i.className+" gd-edit active":i.className)("dis",i.disabled),L(1),w("ngIf",i.icon),L(1),w("ngIf",i.tooltip))},dependencies:function(){return[at,Ne,K2,Ch,Ph,kh]},styles:[".icon-button[_ngcontent-%COMP%]{padding:0!important;margin:0 7px}.button[_ngcontent-%COMP%]{padding:0 10px;font-size:14px;color:#959da5;cursor:pointer;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;align-items:center;align-content:center;-webkit-box-pack:center;justify-content:center;min-width:37px;height:37px;text-align:center;position:relative;white-space:nowrap}.button.inactive[_ngcontent-%COMP%]{cursor:not-allowed;opacity:.4}.button.active[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{color:#ccd0d4}.button.primary[_ngcontent-%COMP%]{background-color:#3e4e5a;color:#fff}.button.primary.active[_ngcontent-%COMP%]{color:#fff;background-color:#688296}.button.brand[_ngcontent-%COMP%]{background-color:#25c2d4;color:#fff}.button.brand.active[_ngcontent-%COMP%]{color:#fff;background-color:#688296}.button[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{font-size:13px;padding-left:10px}.button[_ngcontent-%COMP%] .button-tooltip[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}@media (max-width:1037px){.button[_ngcontent-%COMP%]{font-size:22px}.arrow-button[_ngcontent-%COMP%]{margin:5px}}"]}),e})(),as=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=I({type:e,selectors:[["gd-logo"]],inputs:{logo:"logo",icon:"icon"},decls:3,vars:6,consts:[["id","gd-header-logo",1,"logo"],[1,"text",3,"innerHTML"],[3,"icon"]],template:function(t,i){1&t&&(H(0,"div",0),b1(1,"span",1)(2,"fa-icon",2),k()),2&t&&(L(1),w("innerHTML",i.logo,h4),L(1),rt("ng-fa-icon icon"),w("icon",t2(4,i6,i.icon)))},dependencies:[K2],styles:[".logo[_ngcontent-%COMP%]{background-color:#25c2d4;height:60px;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}.text[_ngcontent-%COMP%]{color:#fff;font-size:15px;text-transform:uppercase;margin:0 14px}.icon[_ngcontent-%COMP%]{display:none;font-size:32px;color:rgba(255,255,255,.5);margin:14px}@media (max-width:1037px){.logo[_ngcontent-%COMP%]{width:60px;height:60px}.logo[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{display:none}.logo[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{display:block}}"]}),e})(),Ch=(()=>{class e{constructor(){this.position=0,this.visibility="hidden"}getClass(){return 0===this.position?"tooltip":"tooltip "+(this.position>0?"last-element":"first-element")}set show(t){this.visibility=t?"shown":"hidden"}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=I({type:e,selectors:[["gd-tooltip"]],inputs:{position:"position",show:"show",text:"text"},decls:1,vars:4,consts:[[3,"ngClass","innerHTML"]],template:function(t,i){1&t&&b1(0,"span",0),2&t&&(rt(i.getClass()),w("ngClass",i.visibility)("innerHTML",i.text,h4))},dependencies:[at],styles:['.tooltip[_ngcontent-%COMP%]{position:absolute;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background-color:#000;color:#fff;text-align:center;border-radius:0;padding:5px;z-index:1;font-size:10px;height:11px;line-height:11px;-ms-grid-row-align:center;align-self:center;margin:8px!important}.first-element[_ngcontent-%COMP%]{margin-left:10px!important}.last-element[_ngcontent-%COMP%]{margin-left:-10px!important}.tooltip.hidden[_ngcontent-%COMP%]{visibility:hidden}.tooltip.shown[_ngcontent-%COMP%]{visibility:visible}.shown[_ngcontent-%COMP%]:after{content:" ";position:absolute;bottom:100%;left:50%;margin-left:-5px;border:5px solid transparent;border-bottom-color:#000}']}),e})();class e1{}e1.\u0275fac=function(n){return new(n||e1)},e1.\u0275prov=n1({token:e1,factory:e1.\u0275fac}),e1.VIEWER_APP="/viewer",e1.SIGNATURE_APP="/signature",e1.ANNOTATION_APP="/annotation",e1.SEARCH_APP="/search",e1.EDITOR_APP="/editor",e1.COMPARISON_APP="/comparison",e1.CONVERSION_APP="/conversion",e1.METADATA_APP="/metadata",e1.PARSER_APP="/parser",e1.DEFAULT_API_ENDPOINT=window.location.protocol+"//"+window.location.host+window.location.pathname,e1.LOAD_FILE_TREE="/loadFileTree",e1.LOAD_CONFIG="/loadConfig",e1.LOAD_DOCUMENT_DESCRIPTION="/loadDocumentDescription",e1.LOAD_DOCUMENT_PAGE="/loadDocumentPage",e1.LOAD_DOCUMENT_PROPERTIES="/loadProperties",e1.LOAD_DOCUMENT_PROPERTIES_NAMES="/loadPropertiesNames",e1.SAVE_PROPERTY="/saveProperty",e1.REMOVE_PROPERTY="/removeProperty",e1.ROTATE_DOCUMENT_PAGE="/rotateDocumentPages",e1.UPLOAD_DOCUMENTS="/uploadDocument",e1.DOWNLOAD_DOCUMENTS="/downloadDocument",e1.DOWNLOAD_ANNOTATED="/downloadAnnotated",e1.LOAD_PRINT="/loadPrint",e1.LOAD_PRINT_PDF="/printPdf",e1.LOAD_THUMBNAILS="/loadThumbnails",e1.LOAD_FORMATS="/loadFormats",e1.SAVE_FILE="/saveFile",e1.CREATE_FILE="/createFile",e1.COMPARE_FILES="/compare",e1.CONVERT_FILE="/convert",e1.DELETE_SIGNATURE_FILE="/deleteSignatureFile",e1.REMOVE_FROM_INDEX="/removeFromIndex",e1.GET_FILE_STATUS="/getFileStatus",e1.SAVE_OPTICAL_CODE="/saveOpticalCode",e1.SAVE_TEXT="/saveText",e1.SAVE_IMAGE="/saveImage",e1.SAVE_STAMP="/saveStamp",e1.SIGN="/sign",e1.DOWNLOAD_SIGNED="/downloadSigned",e1.LOAD_SIGNATURE_IMAGE="/loadSignatureImage",e1.ANNOTATE="/annotate",e1.SEARCH="/search",e1.PARSE="/parse",e1.ADD_FILES_TO_INDEX="/addFilesToIndex",e1.CLEAN_METADATA="/clean",e1.EXPORT_METADATA="/export",e1.httpOptionsJson={headers:new bn({"Content-Type":"application/json"})},e1.httpOptionsJsonResponseTypeBlob={headers:new bn({"Content-Type":"application/json"}),responseType:"blob"};let H4=(()=>{class e{constructor(){this.apiEndpoint=e1.DEFAULT_API_ENDPOINT}set apiEndpoint(t){this._apiEndpoint=t&&t.trim().endsWith("/")?t.substring(0,t.length-1):t}getConfigEndpoint(t){return(this.apiEndpoint.endsWith(t)?this.apiEndpoint:this.apiEndpoint+t)+e1.LOAD_CONFIG}getViewerApiEndpoint(){return this._apiEndpoint.endsWith(e1.VIEWER_APP)?this._apiEndpoint:this._apiEndpoint+e1.VIEWER_APP}getEditorApiEndpoint(){return this._apiEndpoint.trim().endsWith(e1.EDITOR_APP)?this._apiEndpoint:this._apiEndpoint+e1.EDITOR_APP}getComparisonApiEndpoint(){return this._apiEndpoint.trim().endsWith(e1.COMPARISON_APP)?this._apiEndpoint:this._apiEndpoint+e1.COMPARISON_APP}getConversionApiEndpoint(){return this._apiEndpoint.trim().endsWith(e1.CONVERSION_APP)?this._apiEndpoint:this._apiEndpoint+e1.CONVERSION_APP}getMetadataApiEndpoint(){return this._apiEndpoint.trim().endsWith(e1.METADATA_APP)?this._apiEndpoint:this._apiEndpoint+e1.METADATA_APP}get apiEndpoint(){return this._apiEndpoint}getSignatureApiEndpoint(){return this._apiEndpoint.endsWith(e1.SIGNATURE_APP)?this._apiEndpoint:this._apiEndpoint+e1.SIGNATURE_APP}getAnnotationApiEndpoint(){return this._apiEndpoint.endsWith(e1.ANNOTATION_APP)?this._apiEndpoint:this._apiEndpoint+e1.ANNOTATION_APP}getSearchApiEndpoint(){return this._apiEndpoint.endsWith(e1.SEARCH_APP)?this._apiEndpoint:this._apiEndpoint+e1.SEARCH_APP}getParserApiEndpoint(){return this._apiEndpoint.endsWith(e1.PARSER_APP)?this._apiEndpoint:this._apiEndpoint+e1.PARSER_APP}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),gi=(()=>{class e{}return e.PasswordRequired="gd-password-required",e.ErrorMessage="gd-error-message",e.BrowseFiles="gd-browse-files",e.CreateDocument="gd-create-document",e.OperationSuccess="gd-success-modal",e.DrawHandSignature="gd-draw-hand-signature",e.DrawStampSignature="gd-draw-stamp-signature",e.InformationMessage="gd-information-message",e})(),E6=(()=>{class e{constructor(){this.modals=[]}add(t){this.modals.push(t)}remove(t){this.modals=this.modals.filter(i=>i.id!==t)}open(t){const i=this.modals.filter(r=>r.id===t)[0];i&&i.open()}close(t){const i=this.modals.filter(r=>r.id===t)[0];i&&i.close()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),ao=(()=>{class e{constructor(t,i){this.modalService=t,this.visible=new _1,this.cancel=new _1,this.visibility=!1,this.element=i.nativeElement}ngOnInit(){this.id?(document.body.appendChild(this.element),this.modalService.add(this)):console.error("modal must have an id")}ngOnDestroy(){this.modalService.remove(this.id),this.element.remove()}open(){this.visibility=!0,this.visible.emit(!0)}close(){event.preventDefault(),event.stopPropagation(),this.visibility=!1,this.visible.emit(!1)}onClose(t){t.stopPropagation(),t&&t.target&&"modalDialog"===t.target.id&&this.close()}cancelClose(){this.cancel.emit(!1),this.close()}}return e.\u0275fac=function(t){return new(t||e)(F(E6),F(Re))},e.\u0275cmp=I({type:e,selectors:[["gd-modal"]],inputs:{id:"id",title:"title"},outputs:{visible:"visible",cancel:"cancel"},ngContentSelectors:Y2,decls:2,vars:2,consts:[["class","gd-modal fade","id","modalDialog",3,"click",4,"ngIf"],["class","gd-modal-dialog",4,"ngIf"],["id","modalDialog",1,"gd-modal","fade",3,"click"],[1,"gd-modal-dialog"],["id","gd-modal-content",1,"gd-modal-content"],[1,"gd-modal-header"],[1,"gd-modal-close",3,"click"],[1,"gd-modal-title"],[1,"gd-modal-body"],[1,"gd-modal-footer"]],template:function(t,i){1&t&&(s2(),U(0,vG,1,0,"div",0),U(1,_G,11,1,"div",1)),2&t&&(w("ngIf",i.visibility),L(1),w("ngIf",i.visibility))},dependencies:[Ne],styles:["@import url(https://fonts.googleapis.com/css?family=Montserrat&display=swap);[_nghost-%COMP%] *[_ngcontent-%COMP%]{font-family:'Open Sans',Arial,Helvetica,sans-serif}.gd-modal[_ngcontent-%COMP%]{overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0;background-color:rgba(0,0,0,.5)}.gd-modal-dialog[_ngcontent-%COMP%]{box-shadow:#0005 0 0 10px;position:fixed;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);max-height:95%;overflow:scroll;z-index:1051}.gd-modal-dialog[_ngcontent-%COMP%] .button{-webkit-box-orient:unset!important;-webkit-box-direction:unset!important;flex-direction:unset!important}.gd-modal-content[_ngcontent-%COMP%]{background-color:#fff;height:100%;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.gd-modal-header[_ngcontent-%COMP%]{height:60px;padding:0 12px 0 24px;background-color:#3e4e5a}.gd-modal-close[_ngcontent-%COMP%]{position:absolute;right:12px;top:12px;cursor:pointer;color:#fff;width:37px;height:37px;text-align:center}.gd-modal-close[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:900;height:19px;width:10px;line-height:36px}.gd-modal-title[_ngcontent-%COMP%]{font-size:16px;font-weight:400;padding-top:17px;padding-bottom:22px;margin:0;color:#fff}.gd-modal-body[_ngcontent-%COMP%]{background-color:#fff;overflow:hidden;overflow-y:auto;height:calc(100% - 75px)}.gd-modal-footer[_ngcontent-%COMP%]{height:auto}.gd-modal-footer[_ngcontent-%COMP%] > .btn[_ngcontent-%COMP%]{float:right;margin:20px 15px;padding:10px 20px;cursor:pointer;font-size:12px}@media (max-width:1037px){.gd-modal-dialog[_ngcontent-%COMP%]{width:100%;height:100%}.gd-modal-body[_ngcontent-%COMP%]{height:100%}}"]}),e})(),bh=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),Y3=(()=>{class e{}return e.BadRequest=400,e.Unauthorized=401,e.Forbidden=403,e.NotFound=404,e.TimeOut=408,e.Conflict=409,e.InternalServerError=500,e})(),cs=(()=>{class e{static getMousePosition(t){const i={x:0,y:0},r=window.event,o=t||r;if(o.pageX||r.pageX||r.screenX||o.touches&&o.touches[0]&&o.touches[0].pageX){const s=void 0!==o.pageY&&0!==o.pageY?o.pageY:r.pageY,l=void 0!==r.screenX&&0!==r.screenY,u=void 0!==r.screenY&&0!==r.screenY;i.x=(void 0!==o.pageX&&0!==o.pageX?o.pageX:r.pageX)||(l?r.screenX:o.touches[0].pageX),i.y=s||(u?r.screenY:o.touches[0].pageY)}else o.clientX&&(i.x=o.clientX+document.body.scrollLeft,i.y=o.clientY+document.body.scrollTop);return i}static toRgb(t){const i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);if(i){const r=parseInt(i[1],16),o=parseInt(i[2],16),a=parseInt(i[3],16);return i?"rgb("+r+","+o+","+a+")":""}return t}static toHex(t){if(t.match(/[0-9A-F]{6}|[0-9A-F]{3}$/i))return"#"===t.charAt(0)?t:"#"+t;if(!t.match(/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/))return"";{const i=[parseInt(RegExp.$1,10),parseInt(RegExp.$2,10),parseInt(RegExp.$3,10)],r=function(o){if(o.length<2)for(let a=0,s=2-o.length;a{class e{static find(t,i){if(t&&!i){const r=t.split("."),o=r.pop().toLowerCase();return void 0===e.map[o]?r.length>0?e.map.unknown:e.map.folder:e.map[o]}return e.map.folder}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e.map={folder:{format:"",icon:"folder"},pdf:{format:"Portable Document Format",icon:"file-pdf",unit:"pt"},doc:{format:"Microsoft Word",icon:"file-word",unit:"pt"},docx:{format:"Microsoft Word",icon:"file-word",unit:"pt"},docm:{format:"Microsoft Word",icon:"file-word",unit:"pt"},dot:{format:"Microsoft Word",icon:"file-word",unit:"pt"},dotx:{format:"Microsoft Word",icon:"file-word",unit:"pt"},dotm:{format:"Microsoft Word",icon:"file-word",unit:"pt"},xls:{format:"Microsoft Excel",icon:"file-excel",unit:"px"},xlsx:{format:"Microsoft Excel",icon:"file-excel",unit:"px"},xlsm:{format:"Microsoft Excel",icon:"file-excel",unit:"px"},xlsb:{format:"Microsoft Excel",icon:"file-excel",unit:"px"},xls2003:{format:"Microsoft Excel",icon:"file-excel",unit:"px"},xltx:{format:"Microsoft Excel",icon:"file-excel",unit:"px"},xltm:{format:"Microsoft Excel",icon:"file-excel",unit:"px"},ppt:{format:"Microsoft PowerPoint",icon:"file-powerpoint",unit:"pt"},pptx:{format:"Microsoft PowerPoint",icon:"file-powerpoint",unit:"pt"},pps:{format:"Microsoft PowerPoint",icon:"file-powerpoint",unit:"pt"},ppsx:{format:"Microsoft PowerPoint",icon:"file-powerpoint",unit:"pt"},vsd:{format:"Microsoft Visio",icon:"file-code",unit:"px"},vdx:{format:"Microsoft Visio",icon:"file-code",unit:"px"},vss:{format:"Microsoft Visio",icon:"file-code",unit:"px"},vsx:{format:"Microsoft Visio",icon:"file-code",unit:"px"},vst:{format:"Microsoft Visio",icon:"file-code",unit:"px"},vtx:{format:"Microsoft Visio",icon:"file-code",unit:"px"},vsdx:{format:"Microsoft Visio",icon:"file-code",unit:"px"},vdw:{format:"Microsoft Visio",icon:"file-code",unit:"px"},vstx:{format:"Microsoft Visio",icon:"file-code",unit:"px"},vssx:{format:"Microsoft Visio",icon:"file-code",unit:"px"},mpp:{format:"Microsoft Project",icon:"file-alt",unit:"pt"},mpt:{format:"Microsoft Project",icon:"file-alt",unit:"pt"},msg:{format:"Microsoft Outlook",icon:"file-alt",unit:"pt"},eml:{format:"Microsoft Outlook",icon:"file-alt",unit:"pt"},emlx:{format:"Microsoft Outlook",icon:"file-alt",unit:"pt"},one:{format:"Microsoft OneNote",icon:"file-word",unit:"pt"},odt:{format:"Open Document Text",icon:"file-word",unit:"pt"},ott:{format:"Open Document Text Template",icon:"file-word",unit:"pt"},ods:{format:"Open Document Spreadsheet",icon:"file-excel",unit:"px"},odp:{format:"Open Document Presentation",icon:"file-powerpoint",unit:"pt"},otp:{format:"Open Document Presentation",icon:"file-powerpoint",unit:"pt"},ots:{format:"Open Document Presentation",icon:"file-powerpoint",unit:"pt"},potx:{format:"Open Document Presentation",icon:"file-powerpoint",unit:"pt"},potm:{format:"Open Document Presentation",icon:"file-powerpoint",unit:"pt"},pptm:{format:"Open Document Presentation",icon:"file-powerpoint",unit:"pt"},ppsm:{format:"Open Document Presentation",icon:"file-powerpoint",unit:"pt"},rtf:{format:"Rich Text Format",icon:"file-alt",unit:"pt"},txt:{format:"Plain Text File",icon:"file-alt",unit:"pt"},csv:{format:"Comma-Separated Values",icon:"file-excel",unit:"px"},html:{format:"HyperText Markup Language",icon:"file-word",unit:"pt"},mht:{format:"HyperText Markup Language",icon:"file-word",unit:"pt"},mhtml:{format:"HyperText Markup Language",icon:"file-word",unit:"pt"},xml:{format:"Extensible Markup Language",icon:"file-word",unit:"pt"},xps:{format:"XML Paper Specification",icon:"file-word",unit:"pt"},dxf:{format:"AutoCAD Drawing File Format",icon:"file-image",unit:"px"},dwg:{format:"AutoCAD Drawing File Format",icon:"file-image",unit:"px"},bmp:{format:"Bitmap Picture",icon:"file-image",unit:"px"},gif:{format:"Graphics Interchange Format",icon:"file-image",unit:"px"},jpg:{format:"Joint Photographic Experts Group",icon:"file-image",unit:"px"},jpe:{format:"Joint Photographic Experts Group",icon:"file-image",unit:"px"},jpeg:{format:"Joint Photographic Experts Group",icon:"file-image",unit:"px"},jfif:{format:"Joint Photographic Experts Group",icon:"file-image",unit:"px"},png:{format:"Portable Network Graphics",icon:"file-image",unit:"px"},tiff:{format:"Tagged Image File Format",icon:"file-image",unit:"px"},tif:{format:"Tagged Image File Format",icon:"file-image",unit:"px"},psd:{format:"Tagged Image File Format",icon:"file-image",unit:"px"},svg:{format:"Tagged Image File Format",icon:"file-image",unit:"px"},jp2:{format:"Tagged Image File Format",icon:"file-image",unit:"px"},epub:{format:"Electronic Publication",icon:"file-pdf",unit:"pt"},ico:{format:"Windows Icon",icon:"file-image",unit:"px"},webp:{format:"Compressed Image",icon:"file-image",unit:"px"},mobi:{format:"Mobipocket eBook",icon:"file-pdf",unit:"pt"},tex:{format:"LaTeX Source Document",icon:"file-pdf",unit:"pt"},djvu:{format:"Multi-Layer Raster Image",icon:"file-alt",unit:"pt"},unknown:{format:"This format is not supported",icon:"file"}},e})(),CK=(()=>{class e{constructor(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),X3=(()=>{class e{constructor(){this._uploadsChange=new ge(t=>this._observer=t)}get uploadsChange(){return this._uploadsChange}changeFilesList(t){this._observer.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})();const bK=P4,MK=[{name:"Disc",icon:"hdd"},{name:"URL",icon:"link"}];let Mh=(()=>{class e{constructor(t){this._uploadService=t,this.uploads=MK,this.selectedFileGuid=new _1,this.selectedDirectory=new _1,this.urlForUpload=new _1,this.closing=new _1,this.showUploadUrl=!1,this.showUploadFile=!1}ngOnInit(){}getSize(t){return this.getSizeValue(t)+" "+this.getSizeUnits(t)}getSizeValue(t){const i=t/1024/1024;if(i>1)return Math.round(100*i)/100;{const r=t/1024;if(r>1)return Math.round(100*r)/100}return t}getSizeUnits(t){return t/1024/1024>1?"MB":t/1024>1?"KB":"Bytes"}getFormatName(t){return Pt.find(t.name,t.directory).format}getFormatIcon(t){return Pt.find(t.name,t.directory).icon}choose(t){this.selectedFile=t,t.directory||t.isDirectory?this.selectedDirectory.emit(t.name):this.selectedFileGuid.emit(t.guid)}goUp(){if(this.selectedFile){let t=this.selectedFile.guid;t=t.length>0&&-1===t.indexOf("/")?"":t.replace(/\/[^\/]+\/?$/,"");const i=new bh;i.name=t,i.guid=t,i.directory=!0,i.isDirectory=!0,this.selectedFile=i,this.selectedDirectory.emit(t)}}selectUpload(t){"URL"===t?this.showUploadUrl=!0:(this.showUploadUrl=!1,bK("#gd-upload-input").trigger("click"))}refresh(t){t?(this.files=null,this.selectedDirectory.emit(""),this.showUploadUrl=!1,this.selectedFile=null):this.closing.emit(!0)}showSpinner(){return!this.files}uploadUrl(t){t&&(this.urlForUpload.emit(t),this.cleanUpload())}handleFileInput(t){this._uploadService.changeFilesList(t)}cleanUpload(){this.showUploadFile=!1,this.showUploadUrl=!1}}return e.\u0275fac=function(t){return new(t||e)(F(X3))},e.\u0275cmp=I({type:e,selectors:[["gd-browse-files-modal"]],inputs:{files:"files",uploadConfig:"uploadConfig"},outputs:{selectedFileGuid:"selectedFileGuid",selectedDirectory:"selectedDirectory",urlForUpload:"urlForUpload",closing:"closing"},decls:21,vars:18,consts:[["id","gd-browse-files",3,"title","visible"],["class","gd-dnd-wrap","gdDnd","",3,"opening",4,"ngIf"],["class","upload-panel",4,"ngIf"],[1,"list-files-header",3,"ngClass"],[1,"header-name"],[1,"header-size"],["id","gd-browse-section",3,"dragover"],["id","gd-modal-filebrowser",1,"gd-modal-table"],[1,"list-files-body"],[1,"go-up",3,"click"],[1,"go-up-icon"],[3,"icon"],[1,"go-up-dots"],["class","list-files-lines",3,"click",4,"ngFor","ngForOf"],["id","gd-modal-spinner","class","gd-modal-spinner",4,"ngIf"],["gdDnd","",1,"gd-dnd-wrap",3,"opening"],[1,"dnd-wrapper"],["aria-hidden","true",1,"icon",3,"icon"],[1,"text"],[1,"upload-panel"],["id","gd-upload-input","type","file","multiple","",2,"display","none",3,"change"],[1,"context"],[1,"context-actions"],[3,"icon","intent","iconOnly"],[3,"selected",4,"ngFor","ngForOf"],["class","context-panel",4,"ngIf"],[3,"selected"],[1,"context-panel"],[1,"upload-url"],["placeholder","https://",1,"url-input",3,"keyup.enter"],["url",""],[1,"url-check",3,"click"],[1,"list-files-lines",3,"click"],[1,"file-description"],[1,"file-name-format"],[1,"file-name"],[1,"file-format"],[1,"file-size"],["id","gd-modal-spinner",1,"gd-modal-spinner"],[3,"icon","spin"]],template:function(t,i){1&t&&(H(0,"gd-modal",0),Z("visible",function(o){return i.refresh(o)}),f1(1,"translate"),U(2,CG,6,5,"div",1),U(3,wG,12,8,"div",2),H(4,"div",3)(5,"div",4),D1(6),f1(7,"translate"),k(),H(8,"div",5),D1(9),f1(10,"translate"),k()(),H(11,"section",6),Z("dragover",function(){return i.showUploadFile=!0}),H(12,"div",7)(13,"div",8)(14,"div",9),Z("click",function(){return i.goUp()}),H(15,"div",10),b1(16,"fa-icon",11),k(),H(17,"div",12),D1(18,".."),k()(),U(19,xG,11,11,"div",13),k()(),U(20,zG,4,6,"div",14),k()()),2&t&&(Y1("title",u1(1,9,"Open document")),L(2),w("ngIf",i.showUploadFile),L(1),w("ngIf",i.uploadConfig),L(1),w("ngClass",t2(15,DG,i.showUploadUrl)),L(2),Pe(u1(7,11,"FILE")),L(3),Pe(u1(10,13,"SIZE")),L(7),w("icon",P2(17,SG)),L(3),w("ngForOf",i.files),L(1),w("ngIf",i.showSpinner()))},dependencies:function(){return[at,Q4,Ne,K2,E4,ao,ls,po,HK,EK,LK,Zn]},styles:[".gd-modal-table[_ngcontent-%COMP%]{width:100%;text-align:left}#gd-browse-section[_ngcontent-%COMP%]{width:1036px;height:561px;overflow-y:auto}.list-files-header[_ngcontent-%COMP%]{height:60px;color:#6e6e6e;font-size:13px;font-weight:700;background-color:#f4f4f4;margin-top:24px}.list-files-header.upload-url[_ngcontent-%COMP%]{margin-top:20px}.header-name[_ngcontent-%COMP%]{padding-left:24px;width:90%;line-height:60px}.header-size[_ngcontent-%COMP%]{padding-right:27px;line-height:60px}.file-size[_ngcontent-%COMP%], .header-size[_ngcontent-%COMP%]{width:10%;color:#777;text-align:right}.file-description[_ngcontent-%COMP%]{display:-webkit-box;display:flex;width:90%;padding:18px 0 18px 24px;font-size:14px;-webkit-box-flex:1;flex:1;cursor:pointer;overflow:hidden}.file-size[_ngcontent-%COMP%]{font-size:12px;padding:0 27px 0 0;width:10%;line-height:79px}.list-files-header[_ngcontent-%COMP%], .list-files-lines[_ngcontent-%COMP%]{display:-webkit-box;display:flex;width:100%;-webkit-box-pack:justify;justify-content:space-between}.gd-modal-spinner[_ngcontent-%COMP%]{background-color:#fff;width:100%;height:20px;text-align:center;font-size:16px}.gd-cancel-button[_ngcontent-%COMP%]{padding:7px;background:0 0;width:28px;overflow:hidden}.gd-cancel-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:21px}.gd-file-name[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;width:100%;text-overflow:ellipsis}.go-up[_ngcontent-%COMP%]{display:-webkit-box;display:flex;font-size:26px;cursor:pointer;color:#4b566c;height:79px}.go-up-dots[_ngcontent-%COMP%]{margin-left:20px;margin-top:22px;font-size:16px}.go-up-icon[_ngcontent-%COMP%]{display:block;padding:18px 0 18px 24px}.upload-panel[_ngcontent-%COMP%]{display:-webkit-box;display:flex;position:relative;width:100%}.upload-panel[_ngcontent-%COMP%] .context[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;width:100%;margin-left:24px;margin-top:24px;margin-right:24px}.upload-panel[_ngcontent-%COMP%] .context[_ngcontent-%COMP%] .context-actions[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;width:100%}.upload-panel[_ngcontent-%COMP%] .context[_ngcontent-%COMP%] .context-actions[_ngcontent-%COMP%] [_ngcontent-%COMP%]:last-child{margin-right:0}.upload-panel[_ngcontent-%COMP%] .context[_ngcontent-%COMP%] .context-actions[_ngcontent-%COMP%] .button{height:37px;padding:0 10px;-webkit-box-pack:center;justify-content:center}.upload-panel[_ngcontent-%COMP%] .context[_ngcontent-%COMP%] .context-actions[_ngcontent-%COMP%] .button .text{font-size:10px}.upload-panel[_ngcontent-%COMP%] .context[_ngcontent-%COMP%] .context-panel[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;width:100%;margin-top:20px}.upload-panel[_ngcontent-%COMP%] .context[_ngcontent-%COMP%] .context-panel[_ngcontent-%COMP%] .upload-url[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;width:100%}.upload-panel[_ngcontent-%COMP%] .context[_ngcontent-%COMP%] .context-panel[_ngcontent-%COMP%] .upload-url[_ngcontent-%COMP%] .url-input[_ngcontent-%COMP%]{width:100%;height:27px;border:1px solid #25c2d4;font-size:14px;padding-left:6px}.upload-panel[_ngcontent-%COMP%] .context[_ngcontent-%COMP%] .context-panel[_ngcontent-%COMP%] .upload-url[_ngcontent-%COMP%] .url-check[_ngcontent-%COMP%]{width:31px;height:31px;color:#fff;font-size:15px;background-color:#25c2d4}.upload-panel[_ngcontent-%COMP%] .context[_ngcontent-%COMP%] .context-panel[_ngcontent-%COMP%] .upload-url[_ngcontent-%COMP%] .url-check[_ngcontent-%COMP%] .ng-fa-icon[_ngcontent-%COMP%]{display:block;padding:8px}.upload-panel[_ngcontent-%COMP%] gd-drop-down[_ngcontent-%COMP%]{margin-right:10px}.file-description[_ngcontent-%COMP%] .ng-fa-icon.fa-file-pdf[_ngcontent-%COMP%]{color:#e04e4e}.file-description[_ngcontent-%COMP%] .ng-fa-icon.fa-file-word[_ngcontent-%COMP%]{color:#539cf0}.file-description[_ngcontent-%COMP%] .ng-fa-icon.fa-file-powerpoint[_ngcontent-%COMP%]{color:#e29e1e}.file-description[_ngcontent-%COMP%] .ng-fa-icon.fa-file-excel[_ngcontent-%COMP%]{color:#7cbc46}.file-description[_ngcontent-%COMP%] .ng-fa-icon.fa-file-image[_ngcontent-%COMP%]{color:#c375ed}.file-description[_ngcontent-%COMP%] .ng-fa-icon.fa-file[_ngcontent-%COMP%], .file-description[_ngcontent-%COMP%] .ng-fa-icon.fa-file-alt[_ngcontent-%COMP%], .file-description[_ngcontent-%COMP%] .ng-fa-icon.fa-file-text[_ngcontent-%COMP%] .fa-folder[_ngcontent-%COMP%]{color:#4b566c}.file-description[_ngcontent-%COMP%] .ng-fa-icon[_ngcontent-%COMP%]{font-size:32px}.file-name[_ngcontent-%COMP%]{font-size:16px;color:#6e6e6e;overflow:hidden;text-overflow:ellipsis}.file-name-format[_ngcontent-%COMP%]{padding-left:11px;overflow:hidden}.file-format[_ngcontent-%COMP%]{font-size:10px;padding-top:3px;color:#acacac}.go-up[_ngcontent-%COMP%], .list-files-lines[_ngcontent-%COMP%]{border-bottom:1px solid #e7e7e7}.list-files-lines[_ngcontent-%COMP%]:hover{background-color:#e5e5e5}.gd-dnd-wrap[_ngcontent-%COMP%]{background-color:#fff;cursor:default;position:absolute;width:100%;height:calc(100% - 60px);background:rgba(255,255,255,.7);z-index:1;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center}.dnd-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;top:259px;position:absolute}.dnd-wrapper[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#6e6e6e;font-size:14px}.dnd-wrapper[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{display:-webkit-box;display:flex;width:113px;height:90px;font-size:90px;color:#3e4e5a;margin-bottom:30px}@media (max-width:1037px){.file-size[_ngcontent-%COMP%], .header-size[_ngcontent-%COMP%]{width:18%}.gd-dnd-wrap[_ngcontent-%COMP%]{width:95%}#gd-browse-section[_ngcontent-%COMP%]{width:100%;height:calc(100% - 146px)}}"]}),e})(),ct=(()=>{class e{constructor(){this._observer=new ce,this._zoomChange=this._observer.asObservable()}get zoom(){return this._zoom}get zoomChange(){return this._zoomChange}changeZoom(t){this._zoom=t,this._observer.next(t)}createZoomOption(t,i,r=!1){return{value:t,name:i,separator:r}}zoomOptions(t,i){return[this.createZoomOption(25,"25%"),this.createZoomOption(50,"50%"),this.createZoomOption(100,"100%"),this.createZoomOption(150,"150%"),this.createZoomOption(200,"200%"),this.createZoomOption(300,"300%"),this.createZoomOption(0,"",!0),this.createZoomOption(t,"Fit Width"),this.createZoomOption(i,"Fit Height")]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),H6=(()=>{class e{constructor(){this._checkPreload=new ge(t=>this._observer=t)}get checkPreload(){return this._checkPreload}changeLastPageInView(t){this._observer&&this._observer.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})();class v2{constructor(n){this._pagePreloadService=n,this._currentPage=0,this._countPages=0,this._observer=new ce,this._navigate=this._observer}get navigate(){return this._navigate}get countPages(){return this._countPages}set countPages(n){this._countPages=n}get currentPage(){return this._currentPage}set currentPage(n){this._currentPage=n}nextPage(){this._currentPage1&&(this._currentPage--,this.navigateTo(this._currentPage))}toLastPage(){this._currentPage=this._countPages,this.navigateTo(this._currentPage)}toFirstPage(){this._currentPage=1,this.navigateTo(this._currentPage)}navigateTo(n){this.currentPage=n,this._pagePreloadService.changeLastPageInView(n),this._observer.next(n)}}v2.\u0275fac=function(n){return new(n||v2)(l1(H6))},v2.\u0275prov=n1({token:v2,factory:v2.\u0275fac,providedIn:"root"}),v2.ngInjectableDef=n1({factory:function(){return new v2(l1(H6))},token:v2,providedIn:"root"});let ss=(()=>{class e{constructor(t,i,r,o){this._elementRef=t,this._zoomService=i,this._windowService=r,this._navigateService=o,this.wait=!1,this.docWidth=null,this.docHeight=null,this.viewportWidth=null,this.viewportHeight=null,this.scale=null,this.lastScale=null,this.container=null,this.doc=null,this.x=0,this.lastX=0,this.y=0,this.lastY=0,this.pinchCenter=null,this.pinchCenterOffset=null,this.curWidth=0,this.curHeight=0,i.zoomChange.subscribe(a=>{this.zoom=a}),this.isDesktop=r.isDesktop(),this._navigateService.navigate.subscribe(a=>{this.selectedPage=a})}ngOnInit(){this.ifPresentation()&&(this.selectedPage=this._navigateService.currentPage)}ngOnChanges(){}ngAfterViewInit(){this.doc=this._elementRef.nativeElement.children.item(0).children.item(0),this.container=this._elementRef.nativeElement,this.docWidth=this.doc.clientWidth,this.docHeight=this.doc.clientHeight,this.viewportWidth=this.doc.offsetWidth,this.scale=this.viewportWidth/this.docWidth*this._zoomService.zoom/100,this.lastScale=this.scale,this.viewportHeight=this.container.offsetHeight,this.curWidth=this.docWidth*this.scale,this.curHeight=this.docHeight*this.scale,new ch(this.container)}ifExcel(){return"Microsoft Excel"===Pt.find(this.file.guid,!1).format}ifPresentation(){return"Microsoft PowerPoint"===Pt.find(this.file.guid,!1).format}getDimensionWithUnit(t,i){return this.ifPresentation()&&this.showActiveSlide&&!this.isVisible(i)?0:t+(this.mode?Pt.find(this.file.guid,!1).unit:"px")}ifEdge(){return navigator.userAgent.toLowerCase().indexOf("edge")>-1}ngAfterViewChecked(){}isVisible(t){return!this.ifPresentation()||t===this.selectedPage}}return e.\u0275fac=function(t){return new(t||e)(F(Re),F(ct),F(St),F(v2))},e.\u0275cmp=I({type:e,selectors:[["gd-document"]],inputs:{selectedPage:"selectedPage",mode:"mode",preloadPageCount:"preloadPageCount",file:"file",showActiveSlide:"showActiveSlide"},features:[c2],ngContentSelectors:Y2,decls:5,vars:5,consts:[["class","wait",4,"ngIf"],["id","document",1,"document"],["gdZoom","","gdSearchable","",3,"ngClass","zoomActive","file"],["gdRotation","",3,"ngClass","height","width","angle","isHtmlMode",4,"ngFor","ngForOf"],[1,"wait"],["gdRotation","",3,"ngClass","angle","isHtmlMode","width","height"],["gdPageMarker","",3,"number","data","isHtml","angle","width","height","editable",4,"ngIf"],["gdPageMarker","",3,"number","data","isHtml","angle","width","height","editable"]],template:function(t,i){1&t&&(s2(),U(0,PG,3,3,"div",0),H(1,"div",1)(2,"div",2),U(3,LG,2,10,"div",3),k(),l2(4),k()),2&t&&(w("ngIf",i.wait),L(2),w("ngClass",i.isDesktop?"panzoom":"panzoom mobile")("zoomActive",!0)("file",i.file),L(1),w("ngForOf",null==i.file?null:i.file.pages))},dependencies:function(){return[at,Q4,Ne,wh,Sh,fo,hs,IK,Zn]},styles:["[_nghost-%COMP%]{-webkit-box-flex:1;flex:1;-webkit-transition:.4s;transition:.4s;background-color:#e7e7e7;height:100%;overflow:scroll;touch-action:auto!important}[_nghost-%COMP%] .document[_ngcontent-%COMP%]{-webkit-user-select:text!important;-moz-user-select:text!important;-ms-user-select:text!important;user-select:text!important;touch-action:auto!important}.page[_ngcontent-%COMP%]{display:inline-block;background-color:#fff;margin:20px;box-shadow:0 3px 6px rgba(0,0,0,.16);-webkit-transition:.3s;transition:.3s}.page.excel[_ngcontent-%COMP%]{overflow:auto}.page.presentation[_ngcontent-%COMP%]{margin:0;-webkit-transition:unset;transition:unset}.page.presentation.active[_ngcontent-%COMP%]{margin:20px}.wait[_ngcontent-%COMP%]{position:absolute;top:55px;left:Calc(30%)}.panzoom[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;flex-wrap:wrap;-webkit-box-pack:center;justify-content:center;align-content:flex-start}@media (max-width:1037px){.page[_ngcontent-%COMP%]{min-width:unset!important;min-height:unset!important;margin:5px 0}}"]}),e})(),wh=(()=>{class e{constructor(){}ngOnInit(){/(MSIE|Trident\/|Edge\/)/i.test(navigator.userAgent)&&0===this.number&&(this.editable=!1)}ngOnChanges(t){this.isHtml?this.data=this.data?this.data.replace(/>\s+<").replace(/\uFEFF/g,""):null:this.data&&(this.imgData=this.data.startsWith("data:image")?this.data:"data:image/png;base64,"+this.data)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=I({type:e,selectors:[["gd-page"]],inputs:{editable:"editable",data:"data",angle:"angle",width:"width",height:"height",number:"number",isHtml:"isHtml"},features:[c2],decls:4,vars:5,consts:[["gdHostDynamic","",3,"id","ident"],["class","gd-wrapper","gdEditor","",3,"innerHTML","contentEditable","text",4,"ngIf"],["class","gd-page-image","alt","",3,"width","height",4,"ngIf"],["class","gd-page-spinner",4,"ngIf"],["gdEditor","",1,"gd-wrapper",3,"innerHTML","contentEditable","text"],["alt","",1,"gd-page-image"],[1,"gd-page-spinner"],[3,"icon","spin"]],template:function(t,i){1&t&&(H(0,"div",0),U(1,EG,2,5,"div",1),U(2,HG,2,7,"img",2),U(3,AG,4,6,"div",3),k()),2&t&&(Un("id","page-",i.number,""),w("ident",i.number),L(1),w("ngIf",i.data&&i.isHtml),L(1),w("ngIf",i.data&&!i.isHtml),L(1),w("ngIf",!i.data))},dependencies:function(){return[Ne,K2,SK,AK,Zn,co,so]},styles:[".gd-page-spinner[_ngcontent-%COMP%]{margin-top:150px;text-align:center}.gd-wrapper[_ngcontent-%COMP%]{width:inherit;height:inherit}.gd-wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:100%} .gd-highlight{background-color:#ff0} .gd-highlight-select{background-color:#ff9b00}"]}),e})(),co=(()=>{class e{constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustHtml(t)}}return e.\u0275fac=function(t){return new(t||e)(F(B3,16))},e.\u0275pipe=M1({name:"safeHtml",type:e,pure:!0}),e})(),so=(()=>{class e{constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustResourceUrl(t)}}return e.\u0275fac=function(t){return new(t||e)(F(B3,16))},e.\u0275pipe=M1({name:"safeResourceHtml",type:e,pure:!0}),e})(),wK=(()=>{class e{constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustStyle(t)}}return e.\u0275fac=function(t){return new(t||e)(F(B3,16))},e.\u0275pipe=M1({name:"safeStyle",type:e,pure:!0}),e})(),xK=(()=>{class e{transform(t,i){if(!i)return t;const r=new RegExp(i,"gi");return t.replace(r,"$&")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=M1({name:"highlight",type:e,pure:!0}),e})(),ls=(()=>{class e{constructor(t){this._uploadFilesService=t,this.closing=new _1,this.opening=new _1,this.dropped=new _1,this.active=!1,this.dragCounter=0}onDragEnter(t){t.preventDefault(),t.stopPropagation(),this.dragCounter++,this.active=!0,this.opening.emit(!0)}onDragOver(t){return t.preventDefault(),t.stopPropagation(),!1}onDragLeave(t){t.preventDefault(),t.stopPropagation(),this.dragCounter--,0===this.dragCounter&&(this.active=!1,this.closeArea())}onDrop(t){t.preventDefault(),t.stopPropagation();const i=t.dataTransfer.files;i.length>0&&(this.active=!1,this.dropped.emit(!0),this._uploadFilesService.changeFilesList(i),this.closeArea())}onClick(t){this.closeArea()}closeArea(){this.closing.emit(!0),this.opening.emit(!1)}}return e.\u0275fac=function(t){return new(t||e)(F(X3))},e.\u0275dir=G1({type:e,selectors:[["","gdDnd",""]],hostVars:2,hostBindings:function(t,i){1&t&&Z("dragenter",function(o){return i.onDragEnter(o)})("dragover",function(o){return i.onDragOver(o)})("dragleave",function(o){return i.onDragLeave(o)})("drop",function(o){return i.onDrop(o)})("click",function(o){return i.onClick(o)}),2&t&&A3("active",i.active)},outputs:{closing:"closing",opening:"opening",dropped:"dropped"}}),e})();const lo=P4;class wn{constructor(){}isBelowCenterOfTheScreen(n,t){const i=n.getBoundingClientRect(),r=t?t.getBoundingClientRect():{top:0},o=t?t.offsetHeight-parseFloat(window.getComputedStyle(t).paddingTop||"0"):Math.max(document.documentElement.clientHeight,window.innerHeight),a=i.top-r.top,l=o/2,u=i.height/2,m=i.bottom-r.top+40>=l&&a-l<=0,_=i.height-Math.abs(a)>=u;return m||_}checkInViewport(n,t=100,i=0,r=.5){if(!n)return!1;const o=r,s=lo(window),l_top=s.scrollTop(),l_left=s.scrollLeft()+i,l_right=s.scrollLeft()+s.width()-10,l_bottom=s.scrollTop()+s.height();isNaN(t)&&(t=100);const u=t/100,m=lo(n).outerHeight()*u,_=lo(n).outerWidth()*u;if(!_||!m)return!1;const y=lo(n).offset(),z=y.left*u+_,A=y.top*u+m;if(l_rightz||l_bottomA)return!1;const W_top=parseFloat(Math.min(1,(A-l_top)/m).toFixed(2)),W_bottom=parseFloat(Math.min(1,(l_bottom-y.top*u)/m).toFixed(2));return parseFloat(Math.min(1,(z-l_left)/_).toFixed(2))*parseFloat(Math.min(1,(l_right-y.left*u)/_).toFixed(2))>=o&&W_top*W_bottom>=.5}}wn.\u0275fac=function(n){return new(n||wn)},wn.\u0275prov=n1({token:wn,factory:wn.\u0275fac,providedIn:"root"}),wn.ngInjectableDef=n1({factory:function(){return new wn},token:wn,providedIn:"root"});const xh=P4;let zh=(()=>{class e{constructor(t,i,r,o,a,s){this._elementRef=t,this._navigateService=i,this._pagePreloadService=r,this._zoomService=o,this._windowService=a,this._viewportService=s,this.zoom=100,this.loadedPagesSet=new Set,this.zoom=o.zoom?o.zoom:this.zoom,o.zoomChange.subscribe(l=>{this.zoom=l||this.zoom,this.refresh()})}ngAfterViewInit(){this.zoom=this._zoomService.zoom?this._zoomService.zoom:this.zoom,this._navigateService.navigate.subscribe(t=>{this.currentPage=t,this.scrollToPage(t)}),this.refresh()}scrolling(){this.refresh()}resizing(){this.refresh()}scrollToPage(t){const i=this._elementRef.nativeElement,r=this.getPage(t),o=t>0?this.getPage(t-1):null,a=o&&xh(o).offset().top===xh(r).offset().top;if(this._viewportService.checkInViewport(r,this.zoom)&&a)return;const s=this.calculateOffset(t);i&&i.scroll({left:0,top:s})}getChildren(){const t=this._elementRef?this._elementRef.nativeElement:null;if(t)return t.children.item(0).children.item(0).children}getPage(t){const i=this._elementRef?this._elementRef.nativeElement:null;if(i)return i.children.item(0).children.item(0).children.item(t-1)}calculateOffset(t){const i=this._windowService.isFirefox()?1:this.countPagesOnWidth(),r=this._windowService.isDesktop()?40:10;let o=0;for(let a=1;a0?l*this.getZoom()+r:0}return o}countPagesOnWidth(){const t=this.getPage(1);if(t){const r=Math.floor((this.getWidth()-150)/(t.getBoundingClientRect().width*this.getZoom()));if(0!==r)return r}return 1}refresh(){let t,i=!1;const r=this.getPage(this.currentPage),o=this.currentPage&&r?r.getBoundingClientRect():null;for(t=1;t{class e{constructor(){this.mouseWheelUp=new _1,this.mouseWheelDown=new _1}onMouseWheelChrome(t){this.mouseWheelFunc(t)}onMouseWheelFirefox(t){this.mouseWheelFunc(t)}onMouseWheelIE(t){this.mouseWheelFunc(t)}mouseWheelFunc(t){t=window.event;const i=Math.max(-1,Math.min(1,t.wheelDelta||-t.detail));i>0?this.mouseWheelUp.emit(t):i<0&&this.mouseWheelDown.emit(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=G1({type:e,selectors:[["","gdMouseWheel",""]],hostBindings:function(t,i){1&t&&Z("mousewheel",function(o){return i.onMouseWheelChrome(o)})("DOMMouseScroll",function(o){return i.onMouseWheelFirefox(o)})("onmousewheel",function(o){return i.onMouseWheelIE(o)})},outputs:{mouseWheelUp:"mouseWheelUp",mouseWheelDown:"mouseWheelDown"}}),e})(),Sh=(()=>{class e{constructor(t,i,r){this._zoomService=t,this._windowService=i,this.zoomActive=!0,this.el=r}ngOnDestroy(){}ngOnChanges(){this.setStyles(this._zoomService.zoom),this.resizePages(this._zoomService.zoom)}ngOnInit(){!this.zoomActive||(this.setStyles(this._zoomService.zoom),this._zoomService.zoomChange.subscribe(t=>{this.setStyles(t),this.resizePages(t)}))}setStyles(t){if(!this.zoomActive)return;const i=100===t?1:t/100;this.zoomInt=this._windowService.isEdge()?i:null,this._windowService.isEdge()?(this.transform="",this.transformOrigin=""):(this.transform="scale("+i+")",this.transformOrigin="top left");let r=0;this.file.pages.forEach(o=>{o.width>r&&(r=o.width)}),this.minWidth=r+Pt.find(this.file.guid,!1).unit}getScrollWidth(t){return t.offsetWidth-t.clientWidth}getScrollHeight(t){return t.offsetHeight-t.clientHeight}resizePages(t){const i=100===t?1:t/100,r=this.el.nativeElement.parentElement.offsetWidth,o=this.el.nativeElement.parentElement.offsetHeight,a=this.getScrollWidth(this.el.nativeElement.parentElement),s=this.getScrollHeight(this.el.nativeElement.parentElement);this.width=r/i-a/i+"px",this.height=o/i-s/i+"px"}ngAfterViewInit(){this.setStyles(this._zoomService.zoom)}}return e.\u0275fac=function(t){return new(t||e)(F(ct),F(St),F(Re))},e.\u0275dir=G1({type:e,selectors:[["","gdZoom",""]],hostVars:12,hostBindings:function(t,i){2&t&&it("zoom",i.zoomInt)("transform",i.transform)("transform-origin",i.transformOrigin)("min-width",i.minWidth)("width",i.width)("height",i.height)},inputs:{zoomActive:"zoomActive",file:"file"},features:[c2]}),e})();class xn{constructor(){this._observer=new ce,this._onClose=this._observer.asObservable()}get onClose(){return this._onClose}close(n){this._observer.next(n)}}xn.\u0275fac=function(n){return new(n||xn)},xn.\u0275prov=n1({token:xn,factory:xn.\u0275fac,providedIn:"root"}),xn.ngInjectableDef=n1({factory:function(){return new xn},token:xn,providedIn:"root"});let fs=(()=>{class e{constructor(t){this._onCloseService=t,this.disabled=!1,this.selected=new _1,this.opened=new _1,this.isOpen=!1,t.onClose.subscribe(()=>{this.close()})}open(){this.disabled||(this.isOpen=!0)}close(){this.isOpen=!1}onClickOutside(t){this.close()}toggle(t){t.preventDefault(),t.stopPropagation(),this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.opened.emit(!0))}select(t,i){t.preventDefault(),t.stopPropagation(),this.selected.emit(i),this.close()}}return e.\u0275fac=function(t){return new(t||e)(F(xn))},e.\u0275cmp=I({type:e,selectors:[["gd-select"]],inputs:{disabled:"disabled",isOpen:"isOpen",options:"options",showSelected:"showSelected",icon:"icon"},outputs:{selected:"selected",opened:"opened"},decls:5,vars:5,consts:[[1,"select",3,"attachOutsideOnClick","click","touchstart","clickOutside"],["class","selected-value","gdDisabledCursor","",3,"dis",4,"ngIf"],[3,"icon",4,"ngIf"],["gdDisabledCursor","",1,"nav-caret",3,"dis"],["class","dropdown-menu",4,"ngIf"],["gdDisabledCursor","",1,"selected-value",3,"dis"],[3,"icon"],[1,"dropdown-menu"],[4,"ngFor","ngForOf"],["class","option",3,"click","touchstart",4,"ngIf"],["role","separator","class","dropdown-menu-separator",4,"ngIf"],[1,"option",3,"click","touchstart"],["role","separator",1,"dropdown-menu-separator"]],template:function(t,i){1&t&&(H(0,"div",0),Z("click",function(o){return i.toggle(o)})("touchstart",function(o){return i.toggle(o)})("clickOutside",function(o){return i.onClickOutside(o)}),U(1,IG,3,4,"div",1),U(2,kG,1,3,"fa-icon",2),b1(3,"span",3),U(4,RG,2,1,"div",4),k()),2&t&&(w("attachOutsideOnClick",!0),L(1),w("ngIf",!i.icon),L(1),w("ngIf",i.icon),L(1),w("dis",i.disabled),L(1),w("ngIf",i.isOpen))},dependencies:function(){return[Q4,Ne,K2,Gc,Ph,Zn]},styles:[".select[_ngcontent-%COMP%]{min-width:50px;display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;color:#959da5}.selected-value[_ngcontent-%COMP%]{font-size:14px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:clip;max-width:70px}.selected-value.inactive[_ngcontent-%COMP%]{cursor:not-allowed;color:#ccc}.nav-caret[_ngcontent-%COMP%]{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-right:4px solid transparent;border-left:4px solid transparent;cursor:pointer}.nav-caret.inactive[_ngcontent-%COMP%]{cursor:not-allowed;color:#ccc}.dropdown-menu[_ngcontent-%COMP%]{position:absolute;top:49px;z-index:1000;float:left;min-width:96px;list-style:none;font-size:13px;text-align:left;background-color:#fff;box-shadow:0 3px 6px rgba(0,0,0,.3);background-clip:padding-box}.dropdown-menu[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]{display:block;padding:7px 0 7px 7px;clear:both;font-weight:400;line-height:1.42857143;white-space:nowrap;cursor:pointer;font-size:10px}.dropdown-menu[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]:hover{background-color:#25c2d4;color:#fff!important}.dropdown-menu-separator[_ngcontent-%COMP%]{height:1px;overflow:hidden;background-color:#f4f4f4;padding:0!important}"]}),e})(),Ph=(()=>{class e{constructor(){}updateCursor(){this.cursor=!!this.dis}ngOnInit(){this.updateCursor()}ngOnChanges(t){this.updateCursor()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=G1({type:e,selectors:[["","gdDisabledCursor",""]],hostVars:2,hostBindings:function(t,i){2&t&&A3("inactive",i.cursor)},inputs:{dis:"dis"},features:[c2]}),e})(),fo=(()=>{class e{constructor(){this.withMargin=!0}updateCursor(){"string"==typeof this.angle&&(this.angle=parseInt(this.angle,10)),this.angle?(this.animation="none",this.transition="none",this.transform="rotate("+this.angle+"deg)"):0===this.angle&&this.animation&&(this.animation=null,this.transition=null,this.transform=null),this.withMargin&&(this.margin=90===this.angle||270===this.angle||-90===this.angle||-270===this.angle?this.isHtmlMode?this.isLandscape()?"164px 254px":"-111px 254px":this.isLandscape()?"129px 100px -79px":"-72px 100px -79px":-180===this.angle||180===this.angle?"280px":null)}isLandscape(){return this.width>this.height}ngOnInit(){this.updateCursor()}ngOnChanges(t){this.updateCursor()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=G1({type:e,selectors:[["","gdRotation",""]],hostVars:8,hostBindings:function(t,i){2&t&&it("animation",i.animation)("transition-property",i.transition)("transform",i.transform)("margin",i.margin)},inputs:{withMargin:"withMargin",angle:"angle",isHtmlMode:"isHtmlMode",width:"width",height:"height"},features:[c2]}),e})(),Th=(()=>{class e{constructor(){this.fileDropped=new _1,this.showUploadFile=!1}ngOnInit(){}dropped(t){t&&(this.fileDropped.emit(t),this.showUploadFile=!1)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=I({type:e,selectors:[["gd-init-state"]],inputs:{icon:"icon",text:"text"},outputs:{fileDropped:"fileDropped"},ngContentSelectors:Y2,decls:6,vars:4,consts:[["gdDnd","",1,"wrapper","gd-drag-n-drop-wrap",3,"dropped","opening"],[1,"init-state-wrapper"],[1,"icon",3,"icon"],[1,"start"],["class","init-state-dnd-wrapper",4,"ngIf"],[1,"init-state-dnd-wrapper"],["aria-hidden","true",1,"icon",3,"icon"],[1,"text"]],template:function(t,i){1&t&&(s2(),H(0,"div",0),Z("dropped",function(o){return i.dropped(o)})("opening",function(o){return i.showUploadFile=o}),H(1,"div",1),b1(2,"fa-icon",2),H(3,"span",3),l2(4),k()(),U(5,BG,4,3,"div",4),k()),2&t&&(L(2),w("icon",t2(2,i6,i.icon)),L(3),w("ngIf",i.showUploadFile))},dependencies:[Ne,K2,ls],styles:[".wrapper[_ngcontent-%COMP%]{color:#959da5;background-color:#e7e7e7;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;width:100%;height:100%}.icon[_ngcontent-%COMP%]{font-size:65px;margin-bottom:43px;display:-webkit-box;display:flex;color:#959da5}.start[_ngcontent-%COMP%]{font-size:15px;text-align:center;color:#959da5}.gd-drag-n-drop-wrap.active[_ngcontent-%COMP%]{background-color:#fff;position:fixed;top:0;background:rgba(255,255,255,.8)}.gd-drag-n-drop-wrap.active[_ngcontent-%COMP%] .init-state-wrapper[_ngcontent-%COMP%]{position:absolute;opacity:.2;top:unset}.gd-drag-n-drop-wrap.active[_ngcontent-%COMP%] .init-state-dnd-wrapper[_ngcontent-%COMP%]{top:0;z-index:999}.gd-drag-n-drop-wrap.active[_ngcontent-%COMP%] .init-state-dnd-wrapper[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:113px;height:90px;font-size:90px;color:#3e4e5a;margin-bottom:30px}.gd-drag-n-drop-wrap.active[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:#6e6e6e;font-size:14px}.init-state-dnd-wrapper[_ngcontent-%COMP%], .init-state-wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;width:250px;height:250px;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}.init-state-wrapper[_ngcontent-%COMP%]{top:-60px;position:relative}"]}),e})(),uo=(()=>{class e{constructor(){this._render=new ge(t=>this._observer=t),this._renderBlob=new ge(t=>this._observerBlob=t)}get renderPrint(){return this._render}changePages(t){this._observer.next(t)}get renderPrintBlob(){return this._renderBlob}changeBlob(t){this._observerBlob.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),Lh=(()=>{class e{constructor(t){this._renderService=t,t.renderPrint.subscribe(i=>{this.renderPrint(i)}),t.renderPrintBlob.subscribe(i=>{this.renderPrintBlob(i)})}renderPrint(t){let i="";for(const r of t){const o=r.data.startsWith("data:image")?r.data:"data:image/png;base64,"+r.data;i+='
'}this.openWindow(i,t[0].width,t[0].height)}openWindow(t,i,r){let s="";if(i>595&&r>842){const m=Math.round(r/842)/100;s=".gd-page img { width: 100%; margin: 0; padding: 0;}",navigator.userAgent.toLowerCase().indexOf("firefox")>-1&&(s=".gd-page img { transform: scale("+m+");}")}let l="";const u=window.open("","PrintWindow","width=750,height=650,top=50,left=50,toolbars=yes,scrollbars=yes,status=yes,resizable=yes");u.focus(),u.document.writeln(l),u.document.writeln(t),u.document.close(),setTimeout(()=>{u.focus(),u.print(),u.close()},100)}renderPrintBlob(t){const i="print-window",r=window.URL.createObjectURL(t);let o=document.getElementById(i);o&&o.remove(),o=document.createElement("iframe"),o.setAttribute("style","visibility: hidden; height: 0; width: 0; position: absolute; border: 0"),o.setAttribute("id",i),o.setAttribute("src",r),document.getElementsByTagName("body")[0].appendChild(o);const a=document.getElementById(i);setTimeout(()=>this.doPrint(a),1e3)}doPrint(t){try{t.focus(),t.contentWindow.document.execCommand("print",!1)}catch(i){t.contentWindow.print()}finally{t.style.visibility="hidden",t.style.left="-1px"}}}return e.\u0275fac=function(t){return new(t||e)(F(uo))},e.\u0275dir=G1({type:e,selectors:[["","gdRenderPrint",""]],inputs:{htmlMode:"htmlMode"}}),e})(),Q3=(()=>{class e{constructor(){this._observer=new _c("Server is not available"),this._messageChange=this._observer.asObservable(),this._observerHttpEvent=new _c(null),this._httpEventChange=this._observerHttpEvent.asObservable()}get messageChange(){return this._messageChange}get httpEventChange(){return this._httpEventChange}changeMessage(t){this._observer.next(t)}changeHttpEvent(t){this._observerHttpEvent.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),Eh=(()=>{class e{constructor(t){t.messageChange.subscribe(i=>this.message=i)}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(F(Q3))},e.\u0275cmp=I({type:e,selectors:[["gd-error-modal"]],decls:11,vars:11,consts:[["id","gd-error-message",3,"title"],["id","gd-error-section"],[3,"icon"],[1,"gd-modal-error"],[1,"gd-modal-error-title"],[1,"gd-modal-error-message"]],template:function(t,i){1&t&&(H(0,"gd-modal",0),f1(1,"translate"),H(2,"section",1),b1(3,"fa-icon",2),H(4,"div",3)(5,"div",4),D1(6),f1(7,"translate"),k(),H(8,"div",5),D1(9),f1(10,"translate"),k()()()()),2&t&&(Y1("title",u1(1,4,"Error")),L(3),w("icon",P2(10,jG)),L(3),Pe(u1(7,6,"Something went wrong")),L(3),Pe(u1(10,8,i.message?i.message:"Server is not available")))},dependencies:[K2,ao,Zn],styles:[".gd-modal-error[_ngcontent-%COMP%]{display:-webkit-inline-box;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-flex:1;flex:1}.gd-modal-error[_ngcontent-%COMP%] .gd-modal-error-message[_ngcontent-%COMP%]{font-size:12px;margin:0 24px 24px 0;word-break:break-word}.gd-modal-error[_ngcontent-%COMP%] .gd-modal-error-title[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:14px 0 10px}#gd-error-section[_ngcontent-%COMP%]{max-width:468px;max-height:204px;display:-webkit-box;display:flex}#gd-error-section[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;color:#e04e4e;font-size:40px;margin:13px 23px 90px;text-align:center;max-width:46px}"]}),e})(),ho=(()=>{class e{constructor(){this._observer=new ce,this._passChange=this._observer.asObservable()}get passChange(){return this._passChange}setPassword(t){this._observer.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})();const us=P4;let Hh=(()=>{class e{constructor(t,i){this._passwordService=i,this.cancelEvent=new _1,t.messageChange.subscribe(r=>this.message=r)}ngOnInit(){}setPassword(t){this._passwordService.setPassword(t)}onCloseOpen(t){t?setTimeout(()=>{const i=us("#password");i&&i.focus()},100):us("#password").val("")}cancel(t){us("#password").val(""),this.cancelEvent.emit(!0)}}return e.\u0275fac=function(t){return new(t||e)(F(Q3),F(ho))},e.\u0275cmp=I({type:e,selectors:[["gd-password-required"]],outputs:{cancelEvent:"cancelEvent"},decls:15,vars:18,consts:[["id","gd-password-required",3,"title","cancel","visible"],["id","gd-password-section"],[1,"gd-password-wrap"],["for","password"],["type","password","id","password",1,"form-control",3,"ngClass","keyup.enter"],["pass",""],[1,"gd-password-error"],[3,"icon","intent","iconOnly","click"]],template:function(t,i){if(1&t){const r=r1();H(0,"gd-modal",0),Z("cancel",function(a){return i.cancel(a)})("visible",function(a){return i.onCloseOpen(a)}),f1(1,"translate"),H(2,"section",1)(3,"div",2)(4,"label",3),D1(5),f1(6,"translate"),k(),H(7,"input",4,5),Z("keyup.enter",function(){q(r);const a=E3(8);return $(i.setPassword(a.value))}),k(),H(9,"span",6),D1(10),f1(11,"translate"),k(),H(12,"gd-button",7),Z("click",function(){q(r);const a=E3(8);return $(i.setPassword(a.value))}),D1(13),f1(14,"translate"),k()()()()}2&t&&(Y1("title",u1(1,8,"Password protected document")),L(5),Pe(u1(6,10,"Password")),L(2),w("ngClass",t2(16,UG,i.message)),L(3),Pe(u1(11,12,i.message)),L(2),w("icon","key")("intent","brand")("iconOnly",!1),L(1),g2(" ",u1(14,14,"Open")," "))},dependencies:[at,E4,ao,Zn],styles:["#gd-password-section[_ngcontent-%COMP%]{width:375px;height:164px}.gd-password-wrap[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;margin:24px}.gd-password-wrap[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:14px;color:#acacac;padding-bottom:12px}.gd-password-wrap[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{height:30px;border:1px solid #25c2d4}.gd-password-wrap[_ngcontent-%COMP%] input.error[_ngcontent-%COMP%]{border-color:#e04e4e}.gd-password-wrap[_ngcontent-%COMP%] gd-button[_ngcontent-%COMP%]{align-self:flex-end}.gd-password-wrap[_ngcontent-%COMP%] .button{height:37px;padding:0 10px;-webkit-box-pack:center;justify-content:center}.gd-password-wrap[_ngcontent-%COMP%] .button .text{font-size:10px!important}.gd-password-error[_ngcontent-%COMP%]{color:#e04e4e;padding:10px 0 12px;height:12px;line-height:12px;font-size:12px}@media (max-width:1037px){#gd-password-section[_ngcontent-%COMP%]{min-width:375px}}"]}),e})();class Tt{constructor(n,t){this._modalService=n,this._messageService=t}intercept(n,t){const i="background: maroon; color: white";return t.handle(n).pipe(_e(r=>r),td(r=>{if(r instanceof hc)switch(r.status){case Y3.BadRequest:console.error("%c Bad Request 400",i);break;case Y3.Unauthorized:console.error("%c Unauthorized 401",i);break;case Y3.NotFound:console.error("%c Not Found 404",i);break;case Y3.TimeOut:console.error("%c TimeOut 408",i);break;case Y3.InternalServerError:console.error("%c big bad 500",i),this._messageService.changeMessage(r.error.message),this._messageService.changeHttpEvent(r),this._modalService.open(Tt.ErrorMessageWindowName);break;case Y3.Forbidden:console.error("%c Forbidden 403",i),this._messageService.changeMessage(r.error.message),this._modalService.open(gi.PasswordRequired)}return function Hx(e,n){const t=j1(e)?e:()=>e,i=r=>r.error(t());return new ge(n?r=>n.schedule(i,0,r):i)}(r)}))}}Tt.\u0275fac=function(n){return new(n||Tt)(l1(E6),l1(Q3))},Tt.\u0275prov=n1({token:Tt,factory:Tt.\u0275fac,providedIn:"root"}),Tt.ErrorMessageWindowName=gi.ErrorMessage,Tt.ngInjectableDef=n1({factory:function(){return new Tt(l1(E6),l1(Q3))},token:Tt,providedIn:"root"});let ds=(()=>{class e{constructor(){this._observer=new ce,this._textChange=this._observer.asObservable(),this._observerCurrent=new ce,this._currentChange=this._observerCurrent.asObservable(),this._observerTotal=new ce,this._totalChange=this._observerTotal.asObservable()}get textChange(){return this._textChange}setText(t){this._observer.next(t)}get currentChange(){return this._currentChange}get totalChange(){return this._totalChange}setCurrent(t){this._observerCurrent.next(t)}setTotal(t){this._observerTotal.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),Ah=(()=>{class e{constructor(t){this._searchService=t,this.hidePanel=new _1(!1),this.current=0,this.total=0,t.totalChange.subscribe(i=>{this.total=i,this.current=0!==i?1:0,this._searchService.setCurrent(this.current)})}ngOnInit(){}setText(t){setTimeout(()=>{this._searchService.setText(t)},0),this.textElement.nativeElement.value!==t&&(this.textElement.nativeElement.value=t)}hide(){this.setText(""),this.hidePanel.emit(!0)}prev(){this.current>1&&(this.current--,this._searchService.setCurrent(this.current))}next(){this.current{class e{constructor(t,i,r){this._elementRef=t,this._searchService=i,this._zoomService=r,this.current=0,this.total=0,this.zoom=100,this._searchingObserver=new ce,this._searching=this._searchingObserver.asObservable(),this._searchingFlag=!1,i.currentChange.subscribe(o=>{this.current=o,0!==this.current&&this.moveToCurrent()}),i.textChange.pipe(Ju(500)).pipe(ed()).subscribe(o=>{this.text=o,this._searchingFlag||(this._searchingFlag=!0,this.setSearching(this._searchingFlag))}),this.zoom=r.zoom?r.zoom:this.zoom,r.zoomChange.subscribe(o=>{this.zoom=o||this.zoom}),this.searching.subscribe(o=>{this._searchingFlag=o,o?this.highlightSearch():this.text!==this.prevText&&(this._searchingFlag=!0,this.highlightSearch())})}get searching(){return this._searching}setSearching(t){this._searchingObserver.next(t)}highlightSearch(){this._searchingFlag=!0;const t=this._elementRef?this._elementRef.nativeElement:null;setTimeout(()=>{if(this.prevText=this.text,t&&(this.prevText?(this.cleanHighlight(t),this.highlightEl(t)):this.cleanHighlight(t)),this.prevText){const i=t.querySelectorAll("mark").length;this.total=i}else this.total=0;this._searchService.setTotal(this.total),this.setSearching(!1)},0)}moveToCurrent(){if(0===this.current)return;this.getZoom();const i=this._elementRef?this._elementRef.nativeElement:null;if(i){i.querySelectorAll(".gd-highlight-select").forEach(function(o){vi(o).removeClass("gd-highlight-select")});const r=i.querySelectorAll("mark")[this.current-1];if(vi(r).addClass("gd-highlight-select"),r){const o={left:0,top:vi(r).offset().top+i.parentElement.parentElement.scrollTop-150};i.parentElement.parentElement.scroll(o)}}}highlightEl(t){const i=vi(t).find("*").contents().filter(function(){const s=this.parentElement.nodeName.toLowerCase(),l=!this.classList||!this.classList.contains("gd-highlight");return 3===this.nodeType&&0!==this.textContent.trim().length&&"style"!==s&&"title"!==s&&"body"!==s&&"script"!==s&&l}),r=this.text,o=new RegExp(r,"gi"),a=new RegExp(`(${r})`,"gi");i.each(function(){const s=vi(this),l=s.text();if(l&&o.test(l)){const u=[...l.matchAll(a)].map(y=>y[0]).map(y=>`${y}`),_=l.split(o).map(y=>y.replace(//g,">")).map((y,z)=>y.concat(u[z]?u[z]:"")).join("");s.replaceWith(_)}}),t.normalize()}cleanHighlight(t){t.querySelectorAll("mark").forEach(r=>{r.replaceWith(r.innerText)}),t.normalize()}getZoom(){return this.zoom/100}}return e.\u0275fac=function(t){return new(t||e)(F(Re),F(ds),F(ct))},e.\u0275dir=G1({type:e,selectors:[["","gdSearchable",""]]}),e})(),ps=(()=>{class e{constructor(){this._observer=new ce,this._activeTabChange=this._observer.asObservable()}get activeTabChange(){return this._activeTabChange}changeActiveTab(t){this._observer.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),_i=(()=>{class e{constructor(){this._observerBold=new ce,this._formatBoldChange=this._observerBold.asObservable(),this._observerUnderline=new ce,this._formatUnderlineChange=this._observerUnderline.asObservable(),this._observerUndo=new ce,this._undo=this._observerUndo.asObservable(),this._observerRedo=new ce,this._redo=this._observerRedo.asObservable(),this._observerItalic=new ce,this._formatItalicChange=this._observerItalic.asObservable(),this._observerColor=new ce,this._formatColorChange=this._observerColor.asObservable(),this._observerBgColor=new ce,this._formatBgColorChange=this._observerBgColor.asObservable(),this._observerFontSize=new ce,this._formatFontSizeChange=this._observerFontSize.asObservable(),this._observerFont=new ce,this._formatFontChange=this._observerFont.asObservable(),this._observerStrikeout=new ce,this._formatStrikeoutChange=this._observerStrikeout.asObservable(),this._observerAlign=new ce,this._formatAlignChange=this._observerAlign.asObservable(),this._observerList=new ce,this._formatListChange=this._observerList.asObservable()}get formatBoldChange(){return this._formatBoldChange}get formatUnderlineChange(){return this._formatUnderlineChange}get formatColorChange(){return this._formatColorChange}get formatBgColorChange(){return this._formatBgColorChange}get formatFontSizeChange(){return this._formatFontSizeChange}get formatFontChange(){return this._formatFontChange}get undo(){return this._undo}get redo(){return this._redo}get formatItalicChange(){return this._formatItalicChange}get formatStrikeoutChange(){return this._formatStrikeoutChange}get formatAlignChange(){return this._formatAlignChange}get formatListChange(){return this._formatListChange}static createFontSizeOption(t){return{value:t,name:t+"px",separator:!1}}static getFontSizeOptions(){return[e.createFontSizeOption(8),e.createFontSizeOption(10),e.createFontSizeOption(12),e.createFontSizeOption(14),e.createFontSizeOption(16),e.createFontSizeOption(18),e.createFontSizeOption(20),e.createFontSizeOption(22),e.createFontSizeOption(24)]}static createFontOption(t){return{value:t,name:t,separator:!1}}static getFontOptions(){const i=[];return["Arial","Calibri","Century Gothic","Comic Sans","Consolas","Courier","Dejavu Sans","Dejavu Serif","Georgia","Gill Sans","Helvetica","Impact","Lucida Sans","Myriad Pro","Open Sans","Palatino","Tahoma","Times New Roman","Trebuchet"].forEach(r=>{i.push(this.createFontOption(r))}),i}changeFormatFontSize(t){this._observerFontSize.next(t)}changeFormatBold(t){this._observerBold.next(t)}changeFormatUnderline(t){this._observerUnderline.next(t)}Undo(){this._observerUndo.next()}Redo(){this._observerRedo.next()}changeFormatItalic(t){this._observerItalic.next(t)}changeFormatColor(t){this._observerColor.next(t)}changeFormatBgColor(t){this._observerBgColor.next(t)}changeFormatFont(t){this._observerFont.next(t)}changeFormatStrikeout(t){this._observerStrikeout.next(t)}changeFormatAlign(t){this._observerAlign.next(t)}changeFormatList(t){this._observerList.next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})();class Gn extends _i{constructor(){super()}}Gn.\u0275fac=function(n){return new(n||Gn)},Gn.\u0275prov=n1({token:Gn,factory:Gn.\u0275fac,providedIn:"root"}),Gn.ngInjectableDef=n1({factory:function(){return new Gn},token:Gn,providedIn:"root"});class Kn{constructor(){this.isIE=!!/(MSIE|Trident\/|Edge\/)/i.test(navigator.userAgent)}restoreSelection(){(this.selection&&!this.selection.collapsed||this.isIE)&&this.putSelection(this.selection)}captureSelection(){const n=window.getSelection();n.rangeCount>0&&(this.selection=n.getRangeAt(0))}putSelection(n){const t=window.getSelection();t.removeAllRanges(),t.addRange(n.cloneRange())}refreshSelection(){this.captureSelection(),this.restoreSelection()}}Kn.\u0275fac=function(n){return new(n||Kn)},Kn.\u0275prov=n1({token:Kn,factory:Kn.\u0275fac,providedIn:"root"}),Kn.ngInjectableDef=n1({factory:function(){return new Kn},token:Kn,providedIn:"root"});class A4{constructor(){this._observer=new ce,this._htmlContent=this._observer.asObservable()}get observer(){return this._observer}get htmlContent(){return this._htmlContent}}A4.\u0275fac=function(n){return new(n||A4)},A4.\u0275prov=n1({token:A4,factory:A4.\u0275fac,providedIn:"root"}),A4.ngInjectableDef=n1({factory:function(){return new A4},token:A4,providedIn:"root"});let SK=(()=>{class e{constructor(t,i){this._selectionService=t,this._htmlService=i,this.isIE=!!/(MSIE|Trident\/|Edge\/)/i.test(navigator.userAgent)}onInput(t){if(this.text=t.target,this.isIE&&this.text.innerHTML){const i=this.text.innerHTML.toString();this._htmlService.observer.next(i)}}onMouseleave(t){this._selectionService.captureSelection(),this.isIE&&this._htmlService.observer.next(t.target.innerHTML.toString())}onBlur(t){if(t.preventDefault(),this._selectionService.restoreSelection(),this.text.innerHTML){const i=this.text.innerHTML.toString();this._htmlService.observer.next(i)}else this._htmlService.observer.next(t.target.innerHTML.toString())}}return e.\u0275fac=function(t){return new(t||e)(F(Kn),F(A4))},e.\u0275dir=G1({type:e,selectors:[["","gdEditor",""]],hostBindings:function(t,i){1&t&&Z("keyup",function(o){return i.onInput(o)})("mouseleave",function(o){return i.onMouseleave(o)})("blur",function(o){return i.onBlur(o)})},inputs:{text:"text"}}),e})(),r6=(()=>{class e{constructor(){this.onLoadingChanged=new _1,this.stopList=[],this.requests=[],this.stopList.push(e1.SAVE_TEXT),this.stopList.push(e1.SAVE_OPTICAL_CODE),this.stopList.push(e1.LOAD_DOCUMENT_PAGE),this.stopList.push(e1.LOAD_THUMBNAILS),this.stopList.push(e1.GET_FILE_STATUS),this.stopList.push(e1.LOAD_PRINT)}onRequestStart(t){this.stopList.find(r=>t.url.includes(r))||(this.requests.push(t),this.notify())}onRequestFinish(t){const i=this.requests.indexOf(t);-1!==i&&this.requests.splice(i,1),this.notify()}addStopUrl(t){this.stopList.push(t)}notify(){this.onLoadingChanged.emit(0!==this.requests.length)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),Ih=(()=>{class e{constructor(t){this._loadingMaskService=t,this.loadingMask=!1}ngOnInit(){}ngAfterViewInit(){this._loadingMaskService.onLoadingChanged.subscribe(t=>this.loadingMask=t)}}return e.\u0275fac=function(t){return new(t||e)(F(r6))},e.\u0275cmp=I({type:e,selectors:[["gd-loading-mask"]],inputs:{loadingMask:"loadingMask"},decls:1,vars:1,consts:[["class","loading-wrapper",4,"ngIf"],[1,"loading-wrapper"],[1,"loading-message"],[3,"icon","spin"]],template:function(t,i){1&t&&U(0,YG,5,6,"div",0),2&t&&w("ngIf",i.loadingMask)},dependencies:[Ne,K2,Zn],styles:[".loading-wrapper[_ngcontent-%COMP%]{background:rgba(0,0,0,.5);width:100%;height:100%;font-size:14px;color:#fff;position:fixed;top:0;left:0;z-index:99999}.loading-message[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}"]}),e})();class Yn{constructor(n){this._loadingMaskService=n}intercept(n,t){return this._loadingMaskService.onRequestStart(n),t.handle(n).pipe(function Bx(e){return He((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}(()=>this._loadingMaskService.onRequestFinish(n)))}}Yn.\u0275fac=function(n){return new(n||Yn)(l1(r6))},Yn.\u0275prov=n1({token:Yn,factory:Yn.\u0275fac,providedIn:"root"}),Yn.ngInjectableDef=n1({factory:function(){return new Yn(l1(r6))},token:Yn,providedIn:"root"});const PK={center:{right:"auto"},left:{right:"100%"},right:{right:"-100%"}},TK={center:{top:"0px"},top:{top:"-100%",right:"100%"},bottom:{top:"autos"}};let LK=(()=>{class e{constructor(t){this.dropdown=t,this.click=i=>this.dropdown.toggle(i)}}return e.\u0275fac=function(t){return new(t||e)(F(ye(()=>po)))},e.\u0275cmp=I({type:e,selectors:[["gd-drop-down-toggle"]],hostBindings:function(t,i){1&t&&Z("click",function(o){return i.click(o)})},ngContentSelectors:Y2,decls:1,vars:0,template:function(t,i){1&t&&(s2(),l2(0))},styles:[rs],encapsulation:2}),e})(),EK=(()=>{class e{constructor(t){this.dropdown=t}get horizontalAlign(){return PK[this.dropdown.getPlacement().h].right}get verticalAlign(){return TK[this.dropdown.getPlacement().v].top}get isOpen(){return this.dropdown.open}onClickOutside(t){this.dropdown.close()}}return e.\u0275fac=function(t){return new(t||e)(F(ye(()=>po)))},e.\u0275cmp=I({type:e,selectors:[["gd-drop-down-items"]],ngContentSelectors:Y2,decls:2,vars:5,consts:[[1,"drop-down-items",3,"clickOutsideEnabled","clickOutside"]],template:function(t,i){1&t&&(s2(),H(0,"div",0),Z("clickOutside",function(o){return i.onClickOutside(o)}),l2(1),k()),2&t&&(it("right",i.horizontalAlign)("top",i.verticalAlign),w("clickOutsideEnabled",i.isOpen))},dependencies:[Gc],styles:[rs],encapsulation:2}),e})(),HK=(()=>{class e{constructor(t){this.dropdown=t,this.class="drop-down-item",this.selected=new _1,this.click=()=>this.selectEntry()}selectEntry(){this.selected.next(),this.dropdown.close()}}return e.\u0275fac=function(t){return new(t||e)(F(ye(()=>po)))},e.\u0275cmp=I({type:e,selectors:[["gd-drop-down-item"]],hostVars:2,hostBindings:function(t,i){1&t&&Z("click",function(){return i.click()}),2&t&&rt(i.class)},outputs:{selected:"selected"},ngContentSelectors:Y2,decls:2,vars:0,consts:[[1,"drop-down-item"]],template:function(t,i){1&t&&(s2(),H(0,"div",0),l2(1),k())},styles:[".drop-down[_ngcontent-%COMP%]{position:relative}.show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:absolute;z-index:1000;min-width:100%;max-height:300px;padding:0;background-color:#fff;box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box;overflow-y:auto;overflow-x:hidden}.show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%] .drop-down-item[_ngcontent-%COMP%], .show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%] gd-drop-down-item[_ngcontent-%COMP%]{color:#959da5;display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-box-pack:justify;justify-content:space-between;cursor:pointer;font-size:10px;line-height:28px;min-height:28px;width:100%}.show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%] .drop-down-item[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%], .show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%] gd-drop-down-item[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin:0 10px;color:#959da5}.show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%] .drop-down-item[_ngcontent-%COMP%] .text[_ngcontent-%COMP%], .show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%] gd-drop-down-item[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{width:100%;margin-right:10px}.show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%] .drop-down-item[_ngcontent-%COMP%]:hover, .show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%] gd-drop-down-item[_ngcontent-%COMP%]:hover{background-color:#25c2d4}.show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%] .drop-down-item[_ngcontent-%COMP%]:hover *[_ngcontent-%COMP%], .show[_ngcontent-%COMP%] .drop-down-items[_ngcontent-%COMP%] gd-drop-down-item[_ngcontent-%COMP%]:hover *[_ngcontent-%COMP%]{color:#fff}.drop-down-items[_ngcontent-%COMP%]{display:none}"]}),e})(),po=(()=>{class e{constructor(){this.placement={h:"center",v:"bottom"},this.open=!1,this.class="drop-down"}close(){this.open=!1}toggle(t){t.stopPropagation(),this.open=!this.open,document.body.click()}getPlacement(){return this.placement}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=I({type:e,selectors:[["gd-drop-down"]],hostVars:4,hostBindings:function(t,i){2&t&&(rt(i.class),A3("show",i.open))},inputs:{placement:"placement",open:"open"},ngContentSelectors:Y2,decls:2,vars:0,consts:[[1,"drop-down"]],template:function(t,i){1&t&&(s2(),H(0,"div",0),l2(1),k())},styles:[rs],encapsulation:2}),e})(),kh=(()=>{class e{constructor(){this.showToolTip=new _1}onHovering(){this.showToolTip.emit(!0)}onUnhovering(){this.showToolTip.emit(!1)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=G1({type:e,selectors:[["","gdTooltip",""]],hostBindings:function(t,i){1&t&&Z("mouseenter",function(){return i.onHovering()})("mouseleave",function(){return i.onUnhovering()})},outputs:{showToolTip:"showToolTip"}}),e})();class N4{constructor(n,t){this._factoryResolver=n,this._appRef=t}addDynamicComponent(n,t){const i=this._factoryResolver.resolveComponentFactory(t),r=n.createComponent(i);return r.onDestroy(()=>{this._appRef.detachView(r.hostView)}),r}}N4.\u0275fac=function(n){return new(n||N4)(l1(d3),l1(K0))},N4.\u0275prov=n1({token:N4,factory:N4.\u0275fac,providedIn:"root"}),N4.ngInjectableDef=n1({factory:function(){return new N4(l1(d3),l1(K0))},token:N4,providedIn:"root"});let Vh=(()=>{class e{constructor(){this.hosts=[]}add(t){this.hosts=this.hosts.filter(function(i){return i.ident!==t.ident}),this.hosts.push(t)}remove(t){this.hosts=this.hosts.filter(function(i){return i.ident!==t.ident})}find(t){return this.hosts.find(function(i){return i.ident===t})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),AK=(()=>{class e{constructor(t,i){this.viewContainerRef=t,this._hostingService=i}ngAfterViewInit(){this._hostingService.add(this)}ngOnDestroy(){this._hostingService.remove(this),this.viewContainerRef.clear()}}return e.\u0275fac=function(t){return new(t||e)(F(gn),F(Vh))},e.\u0275dir=G1({type:e,selectors:[["","gdHostDynamic",""]],inputs:{ident:"ident"}}),e})(),Fh=(()=>{class e extends ps{constructor(){super()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n1({token:e,factory:e.\u0275fac}),e})(),IK=(()=>{class e{constructor(t,i,r){this._zoomService=t,this._windowService=i,this.naming={sectionSelector:"section.section",markerSelector:"span.page8marker",headerSelector:"header.header",contentSelector:"article.content",footerSelector:"footer.footer"},this.config={attributes:!0,attributeOldValue:!0,childList:!0,subtree:!0,characterData:!0,characterDataOldValue:!0,attributeFilter:["style","class"]},this.el=r}ngAfterViewInit(){const t=document.querySelectorAll(this.naming.sectionSelector);for(let i=0;i{l.remove()}),this.processSection(a),i.takeRecords()}}processSection(t){const i=this.processHeader(t),r=this.processFooter(t),a=getComputedStyle(t,null).getPropertyValue("min-height"),l=parseFloat(a)-i-r,u=this.processContent(t);let m=l;for(;m").forEach(y=>{t.appendChild(y)}),m+=l}processHeader(t){return t.querySelector(this.naming.headerSelector).getBoundingClientRect().height}processContent(t){const i=t.querySelector(this.naming.contentSelector),r=i.getBoundingClientRect().height,o=getComputedStyle(i,null),a=o.getPropertyValue("padding-bottom"),s=o.getPropertyValue("padding-top");return r-parseFloat(a)-parseFloat(s)}processFooter(t){return t.querySelector(this.naming.footerSelector).getBoundingClientRect().height}htmlToElements(t){const i=document.createElement("template");return i.innerHTML=t,i.content.childNodes}}return e.\u0275fac=function(t){return new(t||e)(F(ct),F(St),F(Re))},e.\u0275dir=G1({type:e,selectors:[["","gdPageMarker",""]]}),e})(),Bh=(()=>{class e{constructor(t,i){this._navigateService=t,this._zoomService=i,this.selectedPage=new _1}ngOnInit(){}ngOnChanges(){this.pages&&this.pages.forEach(t=>{t.data&&(t.data=t.data.replace(/>\s+<").replace(/\uFEFF/g,""))})}ngAfterViewInit(){this._zoomService.changeZoom(this._zoomService.zoom)}ngOnDestroy(){setTimeout(()=>{this._zoomService.changeZoom(this._zoomService.zoom)},100)}imgData(t){return t?t.startsWith("data:image")?t:"data:image/png;base64,"+t:null}getScale(t,i){return Math.min(190/t,190/i)}openPage(t){this.selectedPage.emit(t),this._navigateService.navigateTo(t)}getDimensionWithUnit(t){return t+Pt.find(this.guid,!1).unit}emptyThumbData(t){return`
${t}
`}}return e.\u0275fac=function(t){return new(t||e)(F(v2),F(ct))},e.\u0275cmp=I({type:e,selectors:[["gd-thumbnails"]],inputs:{pages:"pages",guid:"guid",mode:"mode",isHtmlMode:"isHtmlMode"},outputs:{selectedPage:"selectedPage"},features:[c2],decls:3,vars:1,consts:[[1,"gd-thumbnails"],[1,"gd-thumbnails-panzoom"],["class","gd-page","gdRotation","",3,"id","withMargin","angle","isHtmlMode","width","height","click",4,"ngFor","ngForOf"],["gdRotation","",1,"gd-page",3,"id","withMargin","angle","isHtmlMode","width","height","click"],["class","gd-wrapper",3,"height","width","ngStyle","innerHTML",4,"ngIf"],["class","gd-wrapper",3,"height","width","ngStyle",4,"ngIf"],[1,"gd-wrapper",3,"ngStyle","innerHTML"],[1,"gd-wrapper",3,"ngStyle"],["alt","",1,"gd-page-image",2,"width","inherit !important"]],template:function(t,i){1&t&&(H(0,"div",0)(1,"div",1),U(2,gK,4,9,"div",2),k()()),2&t&&(L(2),w("ngForOf",i.pages))},dependencies:[Q4,Ne,J8,fo,co,so],styles:["[_nghost-%COMP%]{-webkit-box-flex:0;flex:0 0 300px;background:#f5f5f5;color:#fff;overflow-y:auto;display:block;-webkit-transition:margin-left .2s;transition:margin-left .2s;height:100%}.gd-page[_ngcontent-%COMP%]{width:272px;height:272px;-webkit-transition:.3s;transition:.3s;background-color:#e7e7e7;cursor:pointer;margin:14px 14px 0}.gd-page[_ngcontent-%COMP%]:hover{background-color:silver}.gd-wrapper[_ngcontent-%COMP%]{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);left:50%;top:50%;position:relative;background-color:#fff;box-shadow:0 4px 12px -4px rgba(0,0,0,.38);pointer-events:none}.gd-wrapper[_ngcontent-%COMP%] img{width:inherit}.gd-thumbnails[_ngcontent-%COMP%]::-webkit-scrollbar{width:0;background-color:#f5f5f5}.gd-thumbnails-panzoom[_ngcontent-%COMP%] > .gd-thumbnails-landscape[_ngcontent-%COMP%]{margin:-134px 0 -1px 12px}.gd-thumbnails[_ngcontent-%COMP%] .gd-page-image[_ngcontent-%COMP%]{height:inherit}.gd-thumbnails-landscape-image[_ngcontent-%COMP%]{margin:-90px 0 -23px!important}.gd-thumbnails-landscape-image-rotated[_ngcontent-%COMP%]{margin:126px 0 -3px -104px!important}"]}),e})(),jh=(()=>{class e{constructor(t,i,r,o,a,s){this._elementRef=t,this._navigateService=i,this._pagePreloadService=r,this._zoomService=o,this._windowService=a,this._viewportService=s,this.loadedPagesSet=new Set}ngAfterViewInit(){this.refresh(),ri(window,"resize").pipe(rd(100,void 0,{trailing:!0})).subscribe(()=>this.refresh()),ri(this._elementRef.nativeElement,"scroll").pipe(rd(100,void 0,{trailing:!0})).subscribe(()=>this.refresh()),this._zoomService.zoomChange.pipe(function $x(e,n=$r){const t=id(e,n);return od(()=>t)}(300)).subscribe(()=>this.refresh()),this._navigateService.navigate.subscribe(t=>{this.currentPage=t,this.scrollToPage(t)})}scrollToPage(t){const i=this._elementRef.nativeElement,r=this.getChildren();if(this._viewportService.isBelowCenterOfTheScreen(r.item(t-1),this._elementRef.nativeElement))return;const a=this.calculateOffset(t);i&&i.scroll({left:0,top:a})}getChildren(){const t=this._elementRef?this._elementRef.nativeElement:null;if(t)return t.children.item(0).children.item(0).children}calculateOffset(t){const i=this.getChildren();if(i.length)return i.item(t-1).getBoundingClientRect().y+this._elementRef.nativeElement.scrollTop-70}refresh(){const t=this.getChildren();let i=0,r=0;for(;r=this._elementRef.nativeElement.scrollHeight){for(i=t.length,r=i;r>0&&!this.loadedPagesSet.has(r);)this._pagePreloadService.changeLastPageInView(r),this.loadedPagesSet.add(r),r--;break}const o=this._viewportService.isBelowCenterOfTheScreen(t.item(r),this._elementRef.nativeElement);if(o?i=r+1:i&&(r=t.length),r++,this.loadedPagesSet.has(r)||(this._pagePreloadService.changeLastPageInView(r),this.loadedPagesSet.add(r)),o)break}(this.isPresentation&&0===this._navigateService.currentPage||!this.isPresentation)&&(this._navigateService.currentPage=i)}ngOnChanges(t){this.refresh()}}return e.\u0275fac=function(t){return new(t||e)(F(Re),F(v2),F(H6),F(ct),F(St),F(wn))},e.\u0275dir=G1({type:e,selectors:[["","gdScrollableEdited",""]],inputs:{isPresentation:"isPresentation"},features:[c2]}),e})();const kK=[H4,e1,E6,CK,bh,Pt,cs,co,so,wK,xK,X3,uo,v2,H6,ct,Q3,ho,Tt,ds,St,wn,_i,Gn,xn,Yn,r6,ps,N4,Vh,Fh];let Uh=(()=>{class e{constructor(){qc.add(cq,QZ)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=O2({providers:kK,imports:[nc,Zc,eG,ts]}),e})();const VK={"Open document":"\u0627\u0641\u062a\u062d \u0627\u0644\u0645\u0633\u062a\u0646\u062f","Upload file":"\u0631\u0641\u0639 \u0645\u0644\u0641","Drop file here to upload":"\u0642\u0645 \u0628\u0625\u0633\u0642\u0627\u0637 \u0627\u0644\u0645\u0644\u0641 \u0647\u0646\u0627 \u0644\u0644\u062a\u062d\u0645\u064a\u0644",Disc:"\u0642\u0631\u0635",URL:"URL",FILE:"\u0645\u0644\u0641",SIZE:"\u0628\u062d\u062c\u0645",MB:"\u0645\u064a\u063a\u0627 \u0628\u0627\u064a\u062a",KB:"\u0643\u064a\u0644\u0648 \u0628\u0627\u064a\u062a",Bytes:"\u0628\u0627\u064a\u062a","Loading... Please wait.":"\u062c\u0627\u0631\u064a \u0627\u0644\u062a\u062d\u0645\u064a\u0644 \u0627\u0646\u062a\u0638\u0631 \u0645\u0646 \u0641\u0636\u0644\u0643.","Fit Width":"\u0627\u0644\u0639\u0631\u0636 \u0627\u0644\u0645\u0646\u0627\u0633\u0628","Fit Height":"\u0627\u0631\u062a\u0641\u0627\u0639 \u0645\u0644\u0627\u0626\u0645","Password protected document":"\u0648\u062b\u064a\u0642\u0629 \u0645\u062d\u0645\u064a\u0629 \u0628\u0643\u0644\u0645\u0629 \u0645\u0631\u0648\u0631",Password:"\u0643\u0644\u0645\u0647 \u0627\u0644\u0633\u0631",Open:"\u0627\u0641\u062a\u062d","Password Required":"\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0645\u0637\u0644\u0648\u0628\u0629","Incorrect password":"\u0643\u0644\u0645\u0629 \u0633\u0631 \u062e\u0627\u0637\u0626\u0629",Error:"\u062e\u0637\u0623","Something went wrong":"\u0647\u0646\u0627\u0643 \u062e\u0637\u0623 \u0645\u0627","Server is not available":"\u0627\u0644\u062e\u0627\u062f\u0645 \u063a\u064a\u0631 \u0645\u062a\u0627\u062d",of:"\u0645\u0646","Please wait...":"\u0627\u0631\u062c\u0648\u0643 \u0627\u0646\u062a\u0638\u0631..."},OK={"Open document":"Obre el document","Upload file":"Penja el document","Drop file here to upload":"Deixa anar el fitxer aqu\xed per penjar-lo",Disc:"Disc",URL:"URL",FILE:"DOSSIER",SIZE:"TALLA",MB:"MB",KB:"KB",Bytes:"Bytes","Loading... Please wait.":"Carregant, esperi, si us plau.","Fit Width":"Amplada d\u2019ajust","Fit Height":"Ajust de l'al\xe7ada","Password protected document":"Document protegit amb contrasenya",Password:"Contrasenya",Open:"Obert","Password Required":"Es requereix una contrasenya","Incorrect password":"contrasenya incorrecta",Error:"Error","Something went wrong":"Alguna cosa ha anat malament","Server is not available":"El servidor no est\xe0 disponible",of:"de","Please wait...":"Si us plau, espereu ..."},FK={"Open document":"Otev\u0159\xedt dokument","Upload file":"Nahr\xe1t soubor","Drop file here to upload":"P\u0159et\xe1hn\u011bte soubor sem a nahrajte jej",Disc:"Disk",URL:"URL",FILE:"SOUBOR",SIZE:"VELIKOST",MB:"MB",KB:"KB",Bytes:"Bajty","Loading... Please wait.":"Na\u010d\xedt\xe1n\xed pros\xedm \u010dekejte.","Fit Width":"P\u0159izp\u016fsobit \u0161\xed\u0159ce","Fit Height":"P\u0159izp\u016fsobit v\xfd\u0161ce","Password protected document":"Dokument chr\xe1n\u011bn\xfd heslem",Password:"Heslo",Open:"Otev\u0159eno","Password Required":"Vy\u017eadov\xe1no heslo","Incorrect password":"Nespr\xe1vn\xe9 heslo",Error:"Chyba","Something went wrong":"N\u011bco se pokazilo","Server is not available":"Server nen\xed k dispozici",of:"z","Please wait...":"Pros\xedm, \u010dekejte..."},RK={"Open document":"\xc5bn dokument","Upload file":"Upload fil","Drop file here to upload":"Drop filen her for at uploade",Disc:"Disk",URL:"URL",FILE:"FIL",SIZE:"ST\xd8RRELSE",MB:"MB",KB:"KB",Bytes:"Bytes","Loading... Please wait.":"Indl\xe6ser vent venligst.","Fit Width":"Tilpas bredde","Fit Height":"Tilpas h\xf8jde","Password protected document":"Adgangskodebeskyttet dokument",Password:"Adgangskode",Open:"\xc5ben","Password Required":"Adgangskode p\xe5kr\xe6vet","Incorrect password":"forkert kodeord",Error:"Fejl","Something went wrong":"Noget gik galt","Server is not available":"Serveren er ikke tilg\xe6ngelig",of:"af","Please wait...":"Vent venligst..."},BK={"Open document":"Dokument \xf6ffnen","Upload file":"Datei hochladen","Drop file here to upload":"Datei zum Hochladen hier ablegen",Disc:"Rabatt",URL:"URL",FILE:"DATEI",SIZE:"GR\xd6SSE",MB:"MB",KB:"KB",Bytes:"Bytes","Loading... Please wait.":"Laden, bitte warten.","Fit Width":"Breite anpassen","Fit Height":"Passende H\xf6he","Password protected document":"Passwortgesch\xfctztes Dokument",Password:"Passwort",Open:"Offen","Password Required":"Passwort erforderlich","Incorrect password":"Falsches Passwort",Error:"Fehler","Something went wrong":"Etwas ist schief gelaufen","Server is not available":"Server nicht verf\xfcgbar",of:"von","Please wait...":"Warten Sie mal..."},jK={"Open document":"\u0386\u03bd\u03bf\u03b9\u03b3\u03bc\u03b1 \u03b5\u03b3\u03b3\u03c1\u03ac\u03c6\u03bf\u03c5","Upload file":"\u0391\u03bd\u03ad\u03b2\u03b1\u03c3\u03bc\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5","Drop file here to upload":"\u0391\u03c6\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf \u03b5\u03b4\u03ce \u03b3\u03b9\u03b1 \u03bc\u03b5\u03c4\u03b1\u03c6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b7",Disc:"\u0394\u03af\u03c3\u03ba\u03bf\u03c2",URL:"URL",FILE:"\u0391\u03a1\u03a7\u0395\u0399\u039f",SIZE:"\u039c\u0395\u0393\u0395\u0398\u039f\u03a3",MB:"MB",KB:"KB",Bytes:"Bytes","Loading... Please wait.":"\u03a6\u03bf\u03c1\u03c4\u03ce\u03bd\u03b5\u03b9 \u03c0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03c0\u03b5\u03c1\u03b9\u03bc\u03ad\u03bd\u03b5\u03c4\u03b5.","Fit Width":"Fit Width","Fit Height":"Fit Height","Password protected document":"\u0388\u03b3\u03b3\u03c1\u03b1\u03c6\u03bf \u03c0\u03c1\u03bf\u03c3\u03c4\u03b1\u03c4\u03b5\u03c5\u03bc\u03ad\u03bd\u03bf \u03bc\u03b5 \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2",Password:"\u039a\u03c9\u03b4\u03b9\u03ba\u03cc\u03c2 \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2",Open:"\u0391\u03bd\u03bf\u03b9\u03be\u03b5","Password Required":"\u0391\u03c0\u03b1\u03b9\u03c4\u03b5\u03af\u03c4\u03b1\u03b9 \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc\u03c2 \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2","Incorrect password":"\u039b\u03ac\u03b8\u03bf\u03c2 \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc\u03c2",Error:"\u039b\u03ac\u03b8\u03bf\u03c2","Something went wrong":"\u039a\u03ac\u03c4\u03b9 \u03c0\u03ae\u03b3\u03b5 \u03c3\u03c4\u03c1\u03b1\u03b2\u03ac","Server is not available":"\u039f \u03b4\u03b9\u03b1\u03ba\u03bf\u03bc\u03b9\u03c3\u03c4\u03ae\u03c2 \u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03b4\u03b9\u03b1\u03b8\u03ad\u03c3\u03b9\u03bc\u03bf\u03c2",of:"\u03c4\u03bf\u03c5","Please wait...":"\u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03c0\u03b5\u03c1\u03b9\u03bc\u03ad\u03bd\u03b5\u03c4\u03b5..."},UK={"Open document":"Open document","Upload file":"Upload file","Drop file here to upload":"Drop file here to upload",Disc:"Disc",URL:"URL",FILE:"FILE",SIZE:"SIZE",MB:"MB",KB:"KB",Bytes:"Bytes","Loading... Please wait.":"Loading... Please wait.","Fit Width":"Fit Width","Fit Height":"Fit Height","Password protected document":"Password protected document",Password:"Password",Open:"Open","Password Required":"Password Required","Incorrect password":"Incorrect password",Error:"Error","Something went wrong":"Something went wrong","Server is not available":"Server is not available",of:"of","Please wait...":"Please wait..."},WK={"Open document":"Abrir documento","Upload file":"Subir archivo","Drop file here to upload":"Suelta el archivo aqu\xed para subirlo",Disc:"Desct",URL:"URL",FILE:"EXPEDIENTE",SIZE:"TALLA",MB:"MEGABYTE",KB:"KB",Bytes:"Bytes","Loading... Please wait.":"Cargando por favor espere.","Fit Width":"Ajuste ancho","Fit Height":"Altura de ajuste","Password protected document":"Documento protegido con contrase\xf1a",Password:"Contrase\xf1a",Open:"Abierto","Password Required":"Se requiere contrase\xf1a","Incorrect password":"Contrase\xf1a incorrecta",Error:"Error","Something went wrong":"Algo sali\xf3 mal","Server is not available":"El servidor no esta disponible",of:"de","Please wait...":"Espere por favor..."},qK={"Open document":"Buksan ang dokumento","Upload file":"Mag-upload ng file","Drop file here to upload":"I-drop ang file dito upang mai-upload",Disc:"Disc",URL:"URL",FILE:"FILE",SIZE:"SIZE",MB:"MB",KB:"KB",Bytes:"Mga byte","Loading... Please wait.":"Naglo-load ... Mangyaring maghintay.","Fit Width":"Pagkasyahin ang Lapad","Fit Height":"Pagkasyahin sa Taas","Password protected document":"Dokumentong protektado ng password",Password:"Password",Open:"Buksan","Password Required":"Kailangan ng password","Incorrect password":"Maling password",Error:"Error","Something went wrong":"May nangyaring mali","Server is not available":"Hindi magagamit ang server",of:"ng","Please wait...":"Mangyaring maghintay ..."},$K={"Open document":"Ouvrir le document","Upload file":"T\xe9l\xe9verser un fichier","Drop file here to upload":"D\xe9posez le fichier ici pour le t\xe9l\xe9charger",Disc:"Disque",URL:"URL",FILE:"D\xc9POSER",SIZE:"TAILLE",MB:"Mo",KB:"Ko",Bytes:"Octets","Loading... Please wait.":"Chargement, veuillez patienter.","Fit Width":"Ajuster la largeur","Fit Height":"Hauteur d'ajustement","Password protected document":"Document prot\xe9g\xe9 par mot de passe",Password:"Mot de passe",Open:"Ouvert","Password Required":"Mot de passe requis","Incorrect password":"Mot de passe incorrect",Error:"Erreur","Something went wrong":"Quelque chose s'est mal pass\xe9","Server is not available":"Le serveur n'est pas disponible",of:"de","Please wait...":"S'il vous pla\xeet, attendez..."},ZK={"Open document":"\u05de\u05e1\u05de\u05da \u05e4\u05ea\u05d5\u05d7","Upload file":"\u05d4\u05e2\u05dc\u05d4 \u05e7\u05d5\u05d1\u05e5","Drop file here to upload":"\u05d6\u05e8\u05d5\u05e7 \u05d0\u05ea \u05d4\u05e7\u05d5\u05d1\u05e5 \u05db\u05d0\u05df \u05dc\u05d4\u05e2\u05dc\u05d0\u05d4",Disc:"\u05d3\u05d9\u05e1\u05e7",URL:"\u05db\u05ea\u05d5\u05d1\u05ea URL",FILE:"\u05e7\u05d5\u05b9\u05d1\u05b6\u05e5",SIZE:"\u05d2\u05d5\u05d3\u05dc",MB:"MB",KB:"KB",Bytes:"\u05d1\u05ea\u05d9\u05dd","Loading... Please wait.":"\u05d8\u05d5\u05e2\u05df \u05d0\u05e0\u05d0 \u05d4\u05de\u05ea\u05df.","Fit Width":"\u05e8\u05d5\u05d7\u05d1 \u05d4\u05ea\u05d0\u05de\u05d4","Fit Height":"\u05d4\u05ea\u05d0\u05de\u05ea \u05d2\u05d5\u05d1\u05d4","Password protected document":"\u05de\u05e1\u05de\u05da \u05d4\u05de\u05d5\u05d2\u05df \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea \u05e1\u05d9\u05e1\u05de\u05d4",Password:"\u05e1\u05d9\u05e1\u05de\u05d4",Open:"\u05dc\u05b4\u05e4\u05b0\u05ea\u05d5\u05b9\u05d7\u05b7","Password Required":"\u05e0\u05d3\u05e8\u05e9\u05ea \u05e1\u05d9\u05e1\u05de\u05d4","Incorrect password":"\u05e1\u05d9\u05e1\u05de\u05d0 \u05dc\u05d0 \u05e0\u05db\u05d5\u05e0\u05d4",Error:"\u05e9\u05c1\u05b0\u05d2\u05b4\u05d9\u05d0\u05b8\u05d4","Something went wrong":"\u05de\u05e9\u05d4\u05d5 \u05d4\u05e9\u05ea\u05d1\u05e9","Server is not available":"\u05d4\u05e9\u05e8\u05ea \u05d0\u05d9\u05e0\u05d5 \u05d6\u05de\u05d9\u05df",of:"\u05e9\u05c1\u05b6\u05dc","Please wait...":"\u05d4\u05de\u05ea\u05df \u05d1\u05d1\u05e7\u05e9\u05d4..."},GK={"Open document":"\u0926\u0938\u094d\u0924\u093e\u0935\u0947\u091c\u093c \u0916\u094b\u0932\u0947\u0902","Upload file":"\u092b\u093c\u093e\u0907\u0932 \u0905\u092a\u0932\u094b\u0921 \u0915\u0930\u0947\u0902","Drop file here to upload":"\u0905\u092a\u0932\u094b\u0921 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u092b\u093c\u093e\u0907\u0932 \u092f\u0939\u093e\u0901 \u091b\u094b\u0921\u093c\u0947\u0902",Disc:"\u0921\u093f\u0938\u094d\u0915",URL:"\u092f\u0942\u0906\u0930\u090f\u0932",FILE:"\u092b\u093c\u093e\u0907\u0932",SIZE:"\u0906\u0915\u093e\u0930",MB:"\u090f\u092e\u092c\u0940",KB:"\u0915\u0947\u092c\u0940",Bytes:"\u092c\u093e\u0907\u091f\u094d\u0938","Loading... Please wait.":"\u0932\u094b\u0921 \u0939\u094b \u0930\u0939\u093e \u0939\u0948 \u0915\u0943\u092a\u092f\u093e \u092a\u094d\u0930\u0924\u0940\u0915\u094d\u0937\u093e \u0915\u0930\u0947\u0902\u0964","Fit Width":"\u091a\u094c\u0921\u093c\u093e\u0908 \u092a\u0930 \u092b\u093c\u093f\u091f","Fit Height":"\u0920\u0940\u0915 \u090a\u0902\u091a\u093e\u0908","Password protected document":"\u092a\u093e\u0938\u0935\u0930\u094d\u0921 \u0938\u0947 \u0938\u0941\u0930\u0915\u094d\u0937\u093f\u0924 \u0926\u0938\u094d\u0924\u093e\u0935\u0947\u091c\u093c",Password:"\u092a\u093e\u0938\u0935\u0930\u094d\u0921",Open:"\u0916\u094b\u0932\u0928\u093e","Password Required":"\u092a\u093e\u0938\u0935\u0930\u094d\u0921 \u0906\u0935\u0936\u094d\u092f\u0915","Incorrect password":"\u0917\u0932\u0924 \u092a\u093e\u0938\u0935\u0930\u094d\u0921",Error:"\u0924\u094d\u0930\u0941\u091f\u093f","Something went wrong":"\u0915\u0941\u091b \u0917\u0932\u0924 \u0939\u094b \u0917\u092f\u093e","Server is not available":"\u0938\u0930\u094d\u0935\u0930 \u0909\u092a\u0932\u092c\u094d\u0927 \u0928\u0939\u0940\u0902 \u0939\u0948",of:"\u0915\u093e","Please wait...":"\u0915\u0943\u092a\u092f\u093e \u092a\u094d\u0930\u0924\u0940\u0915\u094d\u0937\u093e \u0915\u0930\u0947\u0902..."},KK={"Open document":"Buka dokumen","Upload file":"Unggah data","Drop file here to upload":"Jatuhkan file di sini untuk mengunggah",Disc:"Cakram",URL:"URL",FILE:"MENGAJUKAN",SIZE:"UKURAN",MB:"MB",KB:"KB",Bytes:"Byte","Loading... Please wait.":"Sedang memuat... Harap tunggu.","Fit Width":"Cocok Lebar","Fit Height":"Cocok Tinggi","Password protected document":"Dokumen yang dilindungi kata sandi",Password:"Kata sandi",Open:"Membuka","Password Required":"Diperlukan Kata Sandi","Incorrect password":"kata kunci Salah",Error:"Kesalahan","Something went wrong":"Ada yang salah","Server is not available":"Server tidak tersedia",of:"dari","Please wait...":"Mohon tunggu..."},YK={"Open document":"Apri documento","Upload file":"Caricare un file","Drop file here to upload":"Trascina qui il file da caricare",Disc:"Disco",URL:"URL",FILE:"FILE",SIZE:"DIMENSIONE",MB:"MB",KB:"KB",Bytes:"Byte","Loading... Please wait.":"Attendere il caricamento prego.","Fit Width":"Larghezza adatta","Fit Height":"Altezza giusta","Password protected document":"Documento protetto da password",Password:"Parola d'ordine",Open:"Aprire","Password Required":"Password richiesta","Incorrect password":"password errata",Error:"Errore","Something went wrong":"Qualcosa \xe8 andato storto","Server is not available":"Il server non \xe8 disponibile",of:"di","Please wait...":"Attendere prego..."},XK={"Open document":"\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u958b\u304f","Upload file":"\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b","Drop file here to upload":"\u3053\u3053\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30c9\u30ed\u30c3\u30d7\u3057\u3066\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059",Disc:"\u30c7\u30a3\u30b9\u30af",URL:"URL",FILE:"\u30d5\u30a1\u30a4\u30eb",SIZE:"\u30b5\u30a4\u30ba",MB:"MB",KB:"KB",Bytes:"\u30d0\u30a4\u30c8","Loading... Please wait.":"\u8aad\u307f\u8fbc\u307f\u4e2d\u3002\u3002\u3002\u5f85\u3063\u3066\u4e0b\u3055\u3044\u3002","Fit Width":"\u30d5\u30a3\u30c3\u30c8\u5e45","Fit Height":"\u30d5\u30a3\u30c3\u30c8\u306e\u9ad8\u3055","Password protected document":"\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u4fdd\u8b77\u3055\u308c\u305f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8",Password:"\u30d1\u30b9\u30ef\u30fc\u30c9",Open:"\u958b\u3051\u308b","Password Required":"\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u5fc5\u8981","Incorrect password":"\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093",Error:"\u30a8\u30e9\u30fc","Something went wrong":"\u4f55\u304b\u304c\u3046\u307e\u304f\u3044\u304b\u306a\u304b\u3063\u305f","Server is not available":"\u30b5\u30fc\u30d0\u30fc\u306f\u5229\u7528\u3067\u304d\u307e\u305b\u3093",of:"\u306e","Please wait...":"\u304a\u5f85\u3061\u304f\u3060\u3055\u3044..."},QK={"Open document":"\u049a\u04b1\u0436\u0430\u0442\u0442\u044b \u0430\u0448\u0443","Upload file":"\u0424\u0430\u0439\u043b\u0434\u044b \u0436\u04af\u043a\u0442\u0435\u0443","Drop file here to upload":"\u0424\u0430\u0439\u043b\u0434\u044b \u0436\u04af\u043a\u0442\u0435\u0443 \u04af\u0448\u0456\u043d \u043e\u0441\u044b \u0436\u0435\u0440\u0433\u0435 \u049b\u043e\u0439\u044b\u04a3\u044b\u0437",Disc:"\u0414\u0438\u0441\u043a",URL:"URL",FILE:"\u0424\u0410\u0419\u041b",SIZE:"SIZE",MB:"\u041c\u0411",KB:"\u041a\u0411",Bytes:"\u0411\u0430\u0439\u0442","Loading... Please wait.":"\u0416\u04af\u043a\u0442\u0435\u043b\u0443\u0434\u0435 ... \u041a\u04af\u0442\u0435 \u0442\u04b1\u0440\u044b\u04a3\u044b\u0437.","Fit Width":"\u0415\u043d\u0456 \u0441\u04d9\u0439\u043a\u0435\u0441","Fit Height":"\u0421\u04d9\u0439\u043a\u0435\u0441 \u0431\u0438\u0456\u043a\u0442\u0456\u043a","Password protected document":"\u049a\u04b1\u043f\u0438\u044f \u0441\u04e9\u0437\u0431\u0435\u043d \u049b\u043e\u0440\u0493\u0430\u043b\u0493\u0430\u043d \u049b\u04b1\u0436\u0430\u0442",Password:"\u049a\u04b1\u043f\u0438\u044f \u0441\u04e9\u0437",Open:"\u0410\u0448\u044b\u049b","Password Required":"\u049a\u04b1\u043f\u0438\u044f \u0441\u04e9\u0437 \u049b\u0430\u0436\u0435\u0442","Incorrect password":"\u049a\u0430\u0442\u0435 \u049b\u04b1\u043f\u0438\u044f\u0441\u04e9\u0437",Error:"\u049a\u0430\u0442\u0435","Something went wrong":"\u0411\u0456\u0440\u0434\u0435\u04a3\u0435 \u0434\u04b1\u0440\u044b\u0441 \u0431\u043e\u043b\u043c\u0430\u0434\u044b","Server is not available":"\u0421\u0435\u0440\u0432\u0435\u0440 \u049b\u043e\u043b \u0436\u0435\u0442\u0456\u043c\u0434\u0456 \u0435\u043c\u0435\u0441",of:"\u043d\u044b\u04a3","Please wait...":"\u04e8\u0442\u0456\u043d\u0435\u043c\u0456\u043d \u043a\u04af\u0442\u0435 \u0442\u04b1\u0440\u044b\u04a3\u044b\u0437..."},JK={"Open document":"\ubb38\uc11c \uc5f4\uae30","Upload file":"\ud30c\uc77c \uc5c5\ub85c\ub4dc","Drop file here to upload":"\uc5c5\ub85c\ub4dc\ud558\ub824\uba74 \uc5ec\uae30\uc5d0 \ud30c\uc77c\uc744 \ub4dc\ub86d\ud558\uc138\uc694.",Disc:"\ub514\uc2a4\ud06c",URL:"URL",FILE:"\ud30c\uc77c",SIZE:"\ud06c\uae30",MB:"\uba54\uac00\ubc14\uc774\ud2b8",KB:"KB",Bytes:"\ubc14\uc774\ud2b8","Loading... Please wait.":"\ub85c\ub529 \uc911 \uae30\ub2e4\ub824\uc8fc\uc138\uc694.","Fit Width":"\ub108\ube44 \ub9de\ucd94\uae30","Fit Height":"\ub9de\ub294 \ub192\uc774","Password protected document":"\uc554\ud638\ub85c \ubcf4\ud638\ub41c \ubb38\uc11c",Password:"\ube44\ubc00\ubc88\ud638",Open:"\uc5f4\ub824\uc788\ub294","Password Required":"\ube44\ubc00\ubc88\ud638\uac00 \ud544\uc694\ud569\ub2c8\ub2e4","Incorrect password":"\uc798\ubabb\ub41c \ube44\ubc00\ubc88\ud638",Error:"\uc624\ub958","Something went wrong":"\ubb38\uc81c\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4.","Server is not available":"\uc11c\ubc84\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4",of:"NS","Please wait...":"\uae30\ub2e4\ub9ac\uc138\uc694..."},eY={"Open document":"Buka dokumen","Upload file":"Muat naik fail","Drop file here to upload":"Jatuhkan fail di sini untuk dimuat naik",Disc:"Cakera",URL:"URL",FILE:"FILE",SIZE:"SAIZ",MB:"MB",KB:"KB",Bytes:"Bait","Loading... Please wait.":"Muat turun sila tunggu.","Fit Width":"Lebar Fit","Fit Height":"Tinggi Ketepatan","Password protected document":"Dokumen dilindungi kata laluan",Password:"Kata Laluan",Open:"Buka","Password Required":"Kata laluan diperlukan","Incorrect password":"kata laluan salah",Error:"Ralat","Something went wrong":"Ada yang tidak kena","Server is not available":"Pelayan tidak tersedia",of:"daripada","Please wait...":"Sila tunggu..."},tY={"Open document":"Document openen","Upload file":"Upload bestand","Drop file here to upload":"Zet het bestand hier neer om te uploaden",Disc:"Schijf",URL:"URL",FILE:"HET DOSSIER",SIZE:"MAAT",MB:"MB",KB:"KB",Bytes:"Bytes","Loading... Please wait.":"Laden even geduld aub.","Fit Width":"Fit Breedte","Fit Height":"Past de hoogte","Password protected document":"Met wachtwoord beveiligd document",Password:"Wachtwoord",Open:"Open","Password Required":"Wachtwoord benodigd","Incorrect password":"Incorrect wachtwoord",Error:"Fout","Something went wrong":"Er is iets fout gegaan","Server is not available":"Server is niet beschikbaar",of:"van","Please wait...":"Even geduld aub..."},nY={"Open document":"Otw\xf3rz dokument","Upload file":"Przesy\u0142anie pliku","Drop file here to upload":"Upu\u015b\u0107 plik tutaj, aby go przes\u0142a\u0107",Disc:"Dysk",URL:"URL",FILE:"PLIK",SIZE:"ROZMIAR",MB:"MB",KB:"KB",Bytes:"Bajty","Loading... Please wait.":"\u0141adowanie prosz\u0119 czeka\u0107.","Fit Width":"Dopasuj szeroko\u015b\u0107","Fit Height":"Dopasuj wysoko\u015b\u0107","Password protected document":"Dokument chroniony has\u0142em",Password:"Has\u0142o",Open:"otwarty","Password Required":"Wymagane has\u0142o","Incorrect password":"niepoprawne has\u0142o",Error:"B\u0142\u0105d","Something went wrong":"Co\u015b posz\u0142o nie tak","Server is not available":"Serwer jest niedost\u0119pny",of:"z","Please wait...":"Prosz\u0119 czeka\u0107..."},iY={"Open document":"Abrir documento","Upload file":"Subir arquivo","Drop file here to upload":"Solte o arquivo aqui para fazer o upload",Disc:"Disco",URL:"URL",FILE:"ARQUIVO",SIZE:"TAMANHO",MB:"MB",KB:"KB",Bytes:"Bytes","Loading... Please wait.":"Carregando, por favor espere.","Fit Width":"Largura de ajuste","Fit Height":"Altura de ajuste","Password protected document":"Documento protegido por senha",Password:"Senha",Open:"Abrir","Password Required":"Senha requerida","Incorrect password":"Senha incorreta",Error:"Erro","Something went wrong":"Algo deu errado","Server is not available":"Servidor n\xe3o dispon\xedvel",of:"do","Please wait...":"Por favor, espere..."},rY={"Open document":"Deschide\u021bi documentul","Upload file":"Incarca fisier","Drop file here to upload":"Plasa\u021bi fi\u0219ierul aici pentru \xeenc\u0103rcare",Disc:"Disc",URL:"URL",FILE:"FI\u015eIER",SIZE:"M\u0102RIMEA",MB:"MB",KB:"KB",Bytes:"Octet","Loading... Please wait.":"\xcenc\u0103rcare va rugam asteptati.","Fit Width":"L\u0103\u021bime potrivit\u0103","Fit Height":"\xcen\u0103l\u021bime potrivit\u0103","Password protected document":"Document protejat prin parol\u0103",Password:"Parola",Open:"Deschis","Password Required":"Parol\u0103 obligatorie","Incorrect password":"Parola incorecta",Error:"Eroare","Something went wrong":"Ceva n-a mers bine","Server is not available":"Serverul nu este disponibil",of:"de","Please wait...":"Va rugam asteptati..."},oY={"Open document":"\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442","Upload file":"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b","Drop file here to upload":"\u041f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0444\u0430\u0439\u043b \u0441\u044e\u0434\u0430, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c",Disc:"\u0414\u0438\u0441\u043a",URL:"URL",FILE:"\u0424\u0410\u0419\u041b",SIZE:"\u0420\u0410\u0417\u041c\u0415\u0420",MB:"\u041c\u0411",KB:"\u041a\u0411",Bytes:"\u0411\u0430\u0439\u0442\u043e\u0432","Loading... Please wait.":"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u043f\u043e\u0434\u043e\u0436\u0434\u0438\u0442\u0435.","Fit Width":"\u041f\u043e \u0448\u0438\u0440\u0438\u043d\u0435","Fit Height":"\u041f\u043e \u0432\u044b\u0441\u043e\u0442\u0435","Password protected document":"\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442, \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u043d\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u0435\u043c",Password:"\u041f\u0430\u0440\u043e\u043b\u044c",Open:"\u041e\u0442\u043a\u0440\u044b\u0442\u044b\u043c","Password Required":"\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u0430\u0440\u043e\u043b\u044c","Incorrect password":"\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c",Error:"\u041e\u0448\u0438\u0431\u043a\u0430","Something went wrong":"\u0427\u0442\u043e-\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a","Server is not available":"\u0421\u0435\u0440\u0432\u0435\u0440 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d",of:"\u0438\u0437","Please wait...":"\u041f\u043e\u0434\u043e\u0436\u0434\u0438\u0442\u0435 \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430..."},aY={"Open document":"\xd6ppna dokument","Upload file":"Ladda upp fil","Drop file here to upload":"Sl\xe4pp filen h\xe4r f\xf6r att ladda upp",Disc:"Skiva",URL:"URL",FILE:"FIL",SIZE:"STORLEK",MB:"MB",KB:"KB",Bytes:"Bytes","Loading... Please wait.":"Laddar ... V\xe4nta.","Fit Width":"Passformsbredd","Fit Height":"Passformsh\xf6jd","Password protected document":"L\xf6senordsskyddat dokument",Password:"L\xf6senord",Open:"\xd6ppen","Password Required":"L\xf6senord kr\xe4vs","Incorrect password":"fel l\xf6senord",Error:"Fel","Something went wrong":"N\xe5got gick fel","Server is not available":"Servern \xe4r inte tillg\xe4nglig",of:"av","Please wait...":"V\xe4nta..."},cY={"Open document":"\u0e40\u0e1b\u0e34\u0e14\u0e40\u0e2d\u0e01\u0e2a\u0e32\u0e23","Upload file":"\u0e2d\u0e31\u0e1e\u0e42\u0e2b\u0e25\u0e14\u0e44\u0e1f\u0e25\u0e4c","Drop file here to upload":"\u0e27\u0e32\u0e07\u0e44\u0e1f\u0e25\u0e4c\u0e17\u0e35\u0e48\u0e19\u0e35\u0e48\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2d\u0e31\u0e1e\u0e42\u0e2b\u0e25\u0e14",Disc:"\u0e14\u0e34\u0e2a\u0e01\u0e4c",URL:"URL",FILE:"\u0e44\u0e1f\u0e25\u0e4c",SIZE:"\u0e02\u0e19\u0e32\u0e14",MB:"MB",KB:"KB",Bytes:"\u0e44\u0e1a\u0e15\u0e4c","Loading... Please wait.":"\u0e01\u0e33\u0e25\u0e31\u0e07\u0e42\u0e2b\u0e25\u0e14... \u0e01\u0e23\u0e38\u0e13\u0e32\u0e23\u0e2d\u0e2a\u0e31\u0e01\u0e04\u0e23\u0e39\u0e48","Fit Width":"\u0e1e\u0e2d\u0e14\u0e35\u0e04\u0e27\u0e32\u0e21\u0e01\u0e27\u0e49\u0e32\u0e07","Fit Height":"\u0e1e\u0e2d\u0e14\u0e35\u0e01\u0e31\u0e1a\u0e04\u0e27\u0e32\u0e21\u0e2a\u0e39\u0e07","Password protected document":"\u0e40\u0e2d\u0e01\u0e2a\u0e32\u0e23\u0e1b\u0e49\u0e2d\u0e07\u0e01\u0e31\u0e19\u0e14\u0e49\u0e27\u0e22\u0e23\u0e2b\u0e31\u0e2a\u0e1c\u0e48\u0e32\u0e19",Password:"\u0e23\u0e2b\u0e31\u0e2a\u0e1c\u0e48\u0e32\u0e19",Open:"\u0e40\u0e1b\u0e34\u0e14","Password Required":"\u0e15\u0e49\u0e2d\u0e07\u0e43\u0e0a\u0e49\u0e23\u0e2b\u0e31\u0e2a\u0e1c\u0e48\u0e32\u0e19","Incorrect password":"\u0e23\u0e2b\u0e31\u0e2a\u0e1c\u0e48\u0e32\u0e19\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14",Error:"\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14","Something went wrong":"\u0e2d\u0e30\u0e44\u0e23\u0e1a\u0e32\u0e07\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e1c\u0e34\u0e14\u0e1b\u0e01\u0e15\u0e34","Server is not available":"\u0e40\u0e0b\u0e34\u0e23\u0e4c\u0e1f\u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e44\u0e21\u0e48\u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19",of:"\u0e02\u0e2d\u0e07","Please wait...":"\u0e42\u0e1b\u0e23\u0e14\u0e23\u0e2d..."},sY={"Open document":"Belgeyi a\xe7","Upload file":"Dosya y\xfckleme","Drop file here to upload":"Y\xfcklemek i\xe7in dosyay\u0131 buraya b\u0131rak\u0131n",Disc:"Disk",URL:"URL",FILE:"DOSYA",SIZE:"BOY",MB:"MB",KB:"KB",Bytes:"bayt","Loading... Please wait.":"Y\xfckleniyor l\xfctfen bekleyin.","Fit Width":"S\u0131\u011fd\u0131r Geni\u015fli\u011fi","Fit Height":"Uygun Y\xfckseklik","Password protected document":"Parola korumal\u0131 belge",Password:"Parola",Open:"A\xe7\u0131k","Password Required":"\u015eifre gerekli","Incorrect password":"yanl\u0131\u015f parola",Error:"Hata","Something went wrong":"Bir \u015feyler yanl\u0131\u015f gitti","Server is not available":"Sunucu kullan\u0131lam\u0131yor",of:"ile ilgili","Please wait...":"L\xfctfen bekle..."},lY={"Open document":"\u0412\u0456\u0434\u043a\u0440\u0438\u0442\u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442","Upload file":"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0444\u0430\u0439\u043b","Drop file here to upload":"\u041f\u0435\u0440\u0435\u0442\u044f\u0433\u043d\u0456\u0442\u044c \u0444\u0430\u0439\u043b \u0443 \u0446\u044e \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0434\u043b\u044f \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f",Disc:"\u041f\u0440\u0438\u0441\u0442\u0440\u0456\u0439",URL:"\u041f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f",FILE:"\u0424\u0430\u0439\u043b",SIZE:"\u0420\u043e\u0437\u043c\u0456\u0440",MB:"\u041c\u0411",KB:"\u041a\u0411",Bytes:"\u0411\u0430\u0439\u0442","Loading... Please wait.":"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f... \u0417\u0430\u0447\u0435\u043a\u0430\u0439\u0442\u0435, \u0431\u0443\u0434\u044c \u043b\u0430\u0441\u043a\u0430.","Fit Width":"\u041f\u043e \u0448\u0438\u0440\u0438\u043d\u0456","Fit Height":"\u041f\u043e \u0432\u0438\u0441\u043e\u0442\u0456","Password protected document":"\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0437\u0430\u0445\u0438\u0449\u0435\u043d\u043e \u043f\u0430\u0440\u043e\u043b\u0435\u043c",Password:"\u041f\u0430\u0440\u043e\u043b\u044c",Open:"\u0412\u0456\u0434\u043a\u0440\u0438\u0442\u0438","Password Required":"\u041d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u043e \u0432\u0432\u0435\u0441\u0442\u0438 \u043f\u0430\u0440\u043e\u043b\u044c","Incorrect password":"\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0438\u0439 \u043f\u0430\u0440\u043e\u043b\u044c",Error:"\u041f\u043e\u043c\u0438\u043b\u043a\u0430","Something went wrong":"\u0429\u043e\u0441\u044c \u043f\u0456\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a","Server is not available":"\u0421\u0435\u0440\u0432\u0435\u0440 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0438\u0439",of:"\u0437","Please wait...":"\u0417\u0430\u0447\u0435\u043a\u0430\u0439\u0442\u0435, \u0431\u0443\u0434\u044c \u043b\u0430\u0441\u043a\u0430..."},fY={"Open document":"M\u1edf t\xe0i li\u1ec7u","Upload file":"C\u1eadp nh\u1eadt d\u1eed li\u1ec7u","Drop file here to upload":"Th\u1ea3 t\u1ec7p v\xe0o \u0111\xe2y \u0111\u1ec3 t\u1ea3i l\xean",Disc:"\u0110\u0129a",URL:"URL",FILE:"T\u1eacP TIN",SIZE:"K\xcdCH TH\u01af\u1edaC",MB:"MB",KB:"KB",Bytes:"Byte","Loading... Please wait.":"T\u1ea3i vui l\xf2ng \u0111\u1ee3i.","Fit Width":"V\u1eeba chi\u1ec1u r\u1ed9ng","Fit Height":"Chi\u1ec1u cao ph\xf9 h\u1ee3p","Password protected document":"T\xe0i li\u1ec7u \u0111\u01b0\u1ee3c b\u1ea3o v\u1ec7 b\u1eb1ng m\u1eadt kh\u1ea9u",Password:"M\u1eadt kh\u1ea9u",Open:"M\u1edf ra","Password Required":"M\xe2\u0323t kh\xe2\u0309u \u0111\u01b0\u01a1\u0323c y\xeau c\xe2u","Incorrect password":"m\u1eadt kh\u1ea9u kh\xf4ng \u0111\xfang",Error:"L\u1ed7i","Something went wrong":"\u0110\xe3 x\u1ea3y ra s\u1ef1 c\u1ed1","Server is not available":"M\xe1y ch\u1ee7 kh\xf4ng c\xf3 s\u1eb5n",of:"c\u1ee7a","Please wait...":"Vui l\xf2ng ch\u1edd..."},uY={"Open document":"\u6253\u5f00\u6587\u6863","Upload file":"\u4e0a\u4f20\u6587\u4ef6","Drop file here to upload":"\u5c06\u6587\u4ef6\u62d6\u653e\u5230\u6b64\u5904\u4ee5\u4e0a\u4f20",Disc:"\u5149\u76d8",URL:"\u7f51\u5740",FILE:"\u6587\u4ef6",SIZE:"\u5c3a\u5bf8",MB:"MB",KB:"\u77e5\u8bc6\u5e93",Bytes:"\u5b57\u8282","Loading... Please wait.":"\u52a0\u8f7d\u8bf7\u7a0d\u5019\u3002","Fit Width":"\u9002\u5408\u5bbd\u5ea6","Fit Height":"\u9002\u5408\u9ad8\u5ea6","Password protected document":"\u53d7\u5bc6\u7801\u4fdd\u62a4\u7684\u6587\u4ef6",Password:"\u5bc6\u7801",Open:"\u6253\u5f00","Password Required":"\u9700\u8981\u5bc6\u7801","Incorrect password":"\u5bc6\u7801\u9519\u8bef",Error:"\u9519\u8bef","Something went wrong":"\u51fa\u4e86\u4e9b\u95ee\u9898","Server is not available":"\u670d\u52a1\u5668\u4e0d\u53ef\u7528",of:"\u7684","Please wait...":"\u8bf7\u7a0d\u7b49..."},dY={"Open document":"\u6253\u958b\u6587\u6a94","Upload file":"\u4e0a\u50b3\u6587\u4ef6","Drop file here to upload":"\u5c07\u6587\u4ef6\u62d6\u653e\u5230\u6b64\u8655\u4ee5\u4e0a\u50b3",Disc:"\u5149\u76e4",URL:"\u7db2\u5740",FILE:"\u6587\u4ef6",SIZE:"\u5c3a\u5bf8",MB:"MB",KB:"\u77e5\u8b58\u5eab",Bytes:"\u5b57\u7bc0","Loading... Please wait.":"\u52a0\u8f09\u8acb\u7a0d\u5019\u3002","Fit Width":"\u9069\u5408\u5bec\u5ea6","Fit Height":"\u9069\u5408\u9ad8\u5ea6","Password protected document":"\u53d7\u5bc6\u78bc\u4fdd\u8b77\u7684\u6587\u4ef6",Password:"\u5bc6\u78bc",Open:"\u6253\u958b","Password Required":"\u9700\u8981\u5bc6\u78bc","Incorrect password":"\u5bc6\u78bc\u932f\u8aa4",Error:"\u932f\u8aa4","Something went wrong":"\u51fa\u4e86\u4e9b\u554f\u984c","Server is not available":"\u670d\u52d9\u5668\u4e0d\u53ef\u7528",of:"\u7684","Please wait...":"\u8acb\u7a0d\u7b49..."},pY=["search"];function mY(e,n){1&e&&b1(0,"gd-logo",9),2&e&&w("logo","viewer")}function gY(e,n){if(1&e){const t=r1();H(0,"gd-button",22),Z("click",function(){q(t);const r=S(3);return $(r.openModal(r.browseFilesModal))}),f1(1,"translate"),k()}2&e&&(Y1("title",u1(1,2,"Browse files")),w("icon","folder-open"))}const vY=function(e,n){return{name:e,value:n}};function _Y(e,n){if(1&e){const t=r1();H(0,"gd-select",23),Z("selected",function(r){return q(t),$(S(3).selectZoom(r))}),k()}if(2&e){const t=S(3);w("disabled",t.formatDisabled)("options",t.options)("showSelected",O3(3,vY,t.zoom+"%",t.zoom))}}function CY(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).zoomIn())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Zoom In")),w("disabled",t.formatDisabled)("icon","search-plus")}}function bY(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).zoomOut())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Zoom Out")),w("disabled",t.formatDisabled)("icon","search-minus")}}function yY(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).toFirstPage())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"First Page")),w("disabled",t.formatDisabled)("icon","angle-double-left")}}function MY(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).prevPage())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Previous Page")),w("disabled",t.formatDisabled)("icon","angle-left")}}const Wh=function(e){return{active:e}};function wY(e,n){if(1&e&&(H(0,"div",25),D1(1),k()),2&e){const t=S(3);w("ngClass",t2(3,Wh,!t.formatDisabled)),L(1),V0("",t.currentPage,"/",t.countPages,"")}}function xY(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).nextPage())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Next Page")),w("disabled",t.formatDisabled)("icon","angle-right")}}function zY(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).toLastPage())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Last Page")),w("disabled",t.formatDisabled)("icon","angle-double-right")}}function DY(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).rotate(-90))}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Rotate CCW")),w("disabled",t.formatDisabled)("icon","undo")}}function SY(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).rotate(90))}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Rotate CW")),w("disabled",t.formatDisabled)("icon","redo")}}function PY(e,n){if(1&e){const t=r1();H(0,"gd-button",26),Z("click",function(){return q(t),$(S(3).downloadFile())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Download")),w("disabled",t.formatDisabled)("icon","download")}}function TY(e,n){if(1&e){const t=r1();H(0,"gd-button",26),Z("click",function(){return q(t),$(S(3).printFile())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Print")),w("disabled",t.formatDisabled)("icon","print")}}function LY(e,n){if(1&e){const t=r1();H(0,"gd-button",26),Z("click",function(){return q(t),$(S(3).openSearch())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Search")),w("disabled",t.formatDisabled)("icon","search")}}function EY(e,n){if(1&e){const t=r1();H(0,"div",27)(1,"gd-select",28),Z("selected",function(r){return q(t),$(S(3).selectLanguage(r))}),k()()}if(2&e){const t=S(3);L(1),w("disabled",!1)("options",t.supportedLanguages)("showSelected",t.selectedLanguage)}}function HY(e,n){if(1&e){const t=r1();H(0,"gd-button",29),Z("click",function(){return q(t),$(S(3).openThumbnails())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Thumbnails")),w("disabled",t.formatDisabled)("icon","th-large")}}function AY(e,n){if(1&e){const t=r1();H(0,"gd-button",30),Z("click",function(){return q(t),$(S(3).startPresentation())}),f1(1,"translate"),D1(2),f1(3,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,4,"Run presentation")),w("disabled",t.formatDisabled)("icon","play"),L(2),Pe(u1(3,6,"Present"))}}function NY(e,n){if(1&e){const t=r1();H(0,"gd-top-toolbar",10),U(1,gY,2,4,"gd-button",11),U(2,_Y,1,6,"gd-select",12),U(3,CY,2,5,"gd-button",13),U(4,bY,2,5,"gd-button",13),U(5,yY,2,5,"gd-button",13),U(6,MY,2,5,"gd-button",13),U(7,wY,2,5,"div",14),U(8,xY,2,5,"gd-button",13),U(9,zY,2,5,"gd-button",13),U(10,DY,2,5,"gd-button",13),U(11,SY,2,5,"gd-button",13),U(12,PY,2,5,"gd-button",15),U(13,TY,2,5,"gd-button",15),U(14,LY,2,5,"gd-button",15),H(15,"gd-search",16,17),Z("hidePanel",function(){return q(t),$(S(2).openSearch(!1))}),k(),H(17,"div",18),U(18,EY,2,3,"div",19),U(19,HY,2,5,"gd-button",20),U(20,AY,4,8,"gd-button",21),k()()}if(2&e){const t=S(2);L(1),w("ngIf",t.browseConfig),L(1),w("ngIf",t.zoomConfig),L(1),w("ngIf",t.zoomConfig),L(1),w("ngIf",t.zoomConfig),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf","file-excel"!==t.formatIcon),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.rotateConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.rotateConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.downloadConfig),L(1),w("ngIf",t.printConfig),L(1),w("ngIf",t.searchConfig&&!t.ifPresentation()),L(1),w("hidden",!t.showSearch),L(3),w("ngIf",t.showLanguageMenu),L(1),w("ngIf",t.thumbnailsConfig&&t.isDesktop&&"file-excel"!==t.formatIcon&&(!t.ifPresentation()||t.ifPresentation()&&t.runPresentation)),L(1),w("ngIf",t.ifPresentation()&&!t.runPresentation)}}function IY(e,n){if(1&e&&(H(0,"div",6),U(1,mY,1,1,"gd-logo",7),U(2,NY,21,18,"gd-top-toolbar",8),k()),2&e){const t=S();L(1),w("ngIf",t.showToolBar),L(1),w("ngIf",t.showToolBar)}}function kY(e,n){if(1&e){const t=r1();H(0,"gd-select",36),Z("selected",function(r){return q(t),$(S(2).toggleTimer(r))}),k()}if(2&e){const t=S(2);w("disabled",t.formatDisabled)("options",t.timerOptions)("icon","clock")}}function VY(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(2).pausePresenting())}),f1(1,"translate"),k()}if(2&e){const t=S(2);Y1("title",u1(1,3,"Pause presenting")),w("disabled",t.formatDisabled)("icon","pause")}}function OY(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(2).resumePresenting())}),f1(1,"translate"),k()}if(2&e){const t=S(2);Y1("title",u1(1,3,"Resume presenting")),w("disabled",t.formatDisabled)("icon","step-forward")}}function FY(e,n){if(1&e){const t=r1();H(0,"div",6)(1,"gd-top-toolbar",10)(2,"div",31),D1(3,"Viewer"),k(),H(4,"div",32),D1(5),k(),H(6,"div",33),U(7,kY,1,3,"gd-select",34),U(8,VY,2,5,"gd-button",13),U(9,OY,2,5,"gd-button",13),H(10,"gd-button",35),Z("click",function(){return q(t),$(S().closeFullScreen(!0))}),f1(11,"translate"),D1(12),f1(13,"translate"),k()()()()}if(2&e){const t=S();L(5),Pe(t.getFileName()),L(2),w("ngIf",t.zoomConfig),L(1),w("ngIf",t.presentationRunning()),L(1),w("ngIf",t.presentationPaused()),L(1),Y1("title",u1(11,8,"Stop presenting")),w("disabled",t.formatDisabled)("icon","stop"),L(2),g2("",u1(13,10,"Stop")," ")}}function RY(e,n){if(1&e){const t=r1();H(0,"gd-thumbnails",45),Z("selectedPage",function(r){return q(t),$(S(2).selectCurrentPage(r))}),k()}if(2&e){const t=S(2);w("pages",0==(null==t.viewerConfig?null:t.viewerConfig.preloadPageCount)?t.file.pages:t.file.thumbnails)("isHtmlMode",t.htmlModeConfig)("guid",t.file.guid)("mode",t.htmlModeConfig)}}function BY(e,n){if(1&e){const t=r1();H(0,"gd-thumbnails",46),Z("selectedPage",function(r){return q(t),$(S(2).selectCurrentPage(r))}),k()}if(2&e){const t=S(2);w("pages",0==(null==t.viewerConfig?null:t.viewerConfig.preloadPageCount)?t.file.pages:t.file.thumbnails)("isHtmlMode",t.htmlModeConfig)("guid",t.file.guid)("mode",t.htmlModeConfig)("isPresentation",t.ifPresentation())}}function jY(e,n){if(1&e){const t=r1();H(0,"gd-document",47),Z("mouseWheelUp",function(){return q(t),$(S(2).onMouseWheelUp())})("mouseWheelDown",function(){return q(t),$(S(2).onMouseWheelDown())}),k()}if(2&e){const t=S(2);w("file",t.file)("mode",t.htmlModeConfig)("showActiveSlide",!0)("preloadPageCount",null==t.viewerConfig?null:t.viewerConfig.preloadPageCount)("selectedPage",t.selectedPageNumber)("htmlMode",t.htmlModeConfig)}}function UY(e,n){if(1&e&&b1(0,"gd-excel-document",48),2&e){const t=S(2);w("file",t.file)("mode",t.htmlModeConfig)("preloadPageCount",null==t.viewerConfig?null:t.viewerConfig.preloadPageCount)("htmlMode",t.htmlModeConfig)}}function WY(e,n){if(1&e){const t=r1();H(0,"gd-run-presentation",49),Z("selectedPage",function(r){return q(t),$(S(2).selectCurrentPage(r))}),k()}if(2&e){const t=S(2);w("file",t.file)("currentPage",t.currentPage)("mode",t.htmlModeConfig)("preloadPageCount",0)}}const qh=function(){return["fas","circle-notch"]};function qY(e,n){if(1&e&&(H(0,"div",53),b1(1,"fa-icon",54),H(2,"span",55),D1(3),k()()),2&e){const t=S(3);L(1),w("icon",P2(4,qh))("spin",!0),L(1),w("ngClass",t.secondsLeft>=10?"seconds-remaining two-digits":"seconds-remaining"),L(1),Pe(t.secondsLeft)}}function $Y(e,n){if(1&e){const t=r1();H(0,"gd-button",56),Z("click",function(){return q(t),$(S(3).prevPage())}),k()}2&e&&w("disabled",S(3).formatDisabled)("icon","angle-left")}function ZY(e,n){if(1&e){const t=r1();H(0,"gd-button",56),Z("click",function(){return q(t),$(S(3).nextPage())}),k()}2&e&&w("disabled",S(3).formatDisabled)("icon","angle-right")}function GY(e,n){if(1&e&&(H(0,"div",50),U(1,qY,4,5,"div",51),U(2,$Y,1,2,"gd-button",52),U(3,ZY,1,2,"gd-button",52),k()),2&e){const t=S(2);L(1),w("ngIf",t.showCountDown()),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon)}}function KY(e,n){if(1&e&&(H(0,"div",37,38),U(2,RY,1,4,"gd-thumbnails",39),U(3,BY,1,5,"gd-thumbnails",40),U(4,jY,1,6,"gd-document",41),U(5,UY,1,4,"gd-excel-document",42),U(6,WY,1,4,"gd-run-presentation",43),U(7,GY,4,3,"div",44),k()),2&e){const t=S();L(2),w("ngIf",t.showThumbnails&&!t.ifPresentation()&&t.isDesktop),L(1),w("ngIf",t.showThumbnails&&t.ifPresentation()&&!t.runPresentation&&t.isDesktop),L(1),w("ngIf",t.file&&t.ifExcel()&&!t.htmlModeConfig||t.ifPresentation()&&t.isDesktop&&!t.runPresentation||!t.ifExcel()&&!t.ifPresentation()),L(1),w("ngIf",t.file&&t.ifExcel()&&t.htmlModeConfig),L(1),w("ngIf",t.file&&t.ifPresentation()&&t.runPresentation||t.file&&t.ifPresentation()&&!t.isDesktop),L(1),w("ngIf",t.runPresentation)}}const YY=function(){return["fas","folder-open"]};function XY(e,n){if(1&e){const t=r1();H(0,"gd-init-state",57),Z("fileDropped",function(r){return q(t),$(S().fileDropped(r))}),D1(1),f1(2,"translate"),b1(3,"fa-icon",58),D1(4),f1(5,"translate"),b1(6,"br"),D1(7),f1(8,"translate"),k()}2&e&&(w("icon","eye")("text","Drop file here to upload"),L(1),g2(" ",u1(2,6,"Click")," "),L(2),w("icon",P2(12,YY)),L(1),g2(" ",u1(5,8,"to open file"),""),L(3),g2(" ",u1(8,10,"Or drop file here")," "))}function QY(e,n){if(1&e&&(b1(0,"div",4),f1(1,"safeHtml")),2&e){const t=S();w("innerHTML",u1(1,2,t.data),h4)("contentEditable",!!t.editable)}}function JY(e,n){if(1&e&&(b1(0,"img",5),f1(1,"safeResourceHtml")),2&e){const t=S();it("width",t.width,"px")("height",t.height,"px"),I0("src",u1(1,5,t.imgData),z0)}}function eX(e,n){1&e&&(H(0,"div",6),b1(1,"fa-icon",7),D1(2," \xa0Loading... Please wait. "),k()),2&e&&(L(1),w("icon",P2(2,qh))("spin",!0))}function tX(e,n){1&e&&(H(0,"div",7),D1(1,"Please wait..."),k())}function nX(e,n){if(1&e&&b1(0,"gd-excel-page",10),2&e){const t=S().$implicit,i=S();w("number",t.number)("data",t.data)("isHtml",i.mode)("angle",t.angle)("width",t.width)("height",t.height)("editable",t.editable)}}function iX(e,n){if(1&e&&(H(0,"div",8),U(1,nX,1,7,"gd-excel-page",9),k()),2&e){const t=n.$implicit,i=S();w("ngClass",i.file.showGridLines?"page-grid-lines":"page")("angle",t.angle)("isHtmlMode",i.mode),L(1),w("ngIf",i.currentPageNo==t.number)}}function rX(e,n){if(1&e){const t=r1();H(0,"div")(1,"gd-button",11),Z("click",function(){const o=q(t).$implicit;return $(S().selectSheet(o.number))}),D1(2),k()()}if(2&e){const t=n.$implicit,i=S();L(1),w("icon","eye")("ngClass",t2(3,Wh,i.currentPageNo==t.number)),L(1),Pe(t.sheetName)}}function oX(e,n){1&e&&(H(0,"div",4),D1(1,"Please wait..."),k())}function aX(e,n){if(1&e&&(H(0,"div",5),b1(1,"gd-page",6),k()),2&e){const t=n.$implicit,i=S();it("height",i.getDimensionWithUnit(t.height,t.number))("width",i.getDimensionWithUnit(t.width,t.number)),w("ngClass",i.isVertical(t)?"page presentation vertical":"page presentation")("angle",t.angle)("isHtmlMode",i.mode)("width",t.width)("height",t.height),L(1),w("number",t.number)("data",t.data)("isHtml",i.mode)("angle",t.angle)("width",t.width)("height",t.height)("editable",t.editable)}}const cX=["*"];class zn{constructor(n,t){this._http=n,this._config=t}loadFiles(n){return this._http.post(this._config.getViewerApiEndpoint()+e1.LOAD_FILE_TREE,{path:n},e1.httpOptionsJson)}loadFile(n){return this._http.post(this._config.getViewerApiEndpoint()+e1.LOAD_DOCUMENT_DESCRIPTION,n,e1.httpOptionsJson)}upload(n,t,i){const r=new FormData;return r.append("file",n),r.append("rewrite",String(i)),t&&r.append("url",t),this._http.post(this._config.getViewerApiEndpoint()+e1.UPLOAD_DOCUMENTS,r)}loadPage(n,t){return this._http.post(this._config.getViewerApiEndpoint()+e1.LOAD_DOCUMENT_PAGE,{guid:n.guid,fileType:n.fileType,password:n.password,page:t},e1.httpOptionsJson)}rotate(n,t,i){return this._http.post(this._config.getViewerApiEndpoint()+e1.ROTATE_DOCUMENT_PAGE,{guid:n.guid,fileType:n.fileType,password:n.password,pages:[i],angle:t},e1.httpOptionsJson)}getDownloadUrl(n){return this._config.getViewerApiEndpoint()+e1.DOWNLOAD_DOCUMENTS+"/?path="+n.guid}loadPrint(n){return this._http.post(this._config.getViewerApiEndpoint()+e1.LOAD_PRINT,{guid:n.guid,fileType:n.fileType,password:n.password},e1.httpOptionsJson)}loadPrintPdf(n){return this._http.post(this._config.getViewerApiEndpoint()+e1.LOAD_PRINT_PDF,{guid:n.guid,fileType:n.fileType,password:n.password},e1.httpOptionsJsonResponseTypeBlob)}loadThumbnails(n){return this._http.post(this._config.getViewerApiEndpoint()+e1.LOAD_THUMBNAILS,{guid:n.guid,fileType:n.fileType,password:n.password},e1.httpOptionsJson)}}zn.\u0275fac=function(n){return new(n||zn)(l1(j3),l1(H4))},zn.\u0275prov=n1({token:zn,factory:zn.\u0275fac,providedIn:"root"}),zn.ngInjectableDef=n1({factory:function(){return new zn(l1(j3),l1(H4))},token:zn,providedIn:"root"});class sX{}class Yt{constructor(n,t){this._http=n,this._config=t,this._viewerConfig=new _c(new sX),this._updatedConfig=this._viewerConfig.asObservable()}get updatedConfig(){return this._updatedConfig}load(){return new Promise((n,t)=>{const i=this._config.getConfigEndpoint(e1.VIEWER_APP);this._http.get(i,e1.httpOptionsJson).toPromise().then(r=>{this._viewerConfig.next(r),n()}).catch(r=>{t(`Could not load viewer config: ${JSON.stringify(r)}`)})})}}Yt.\u0275fac=function(n){return new(n||Yt)(l1(j3),l1(H4))},Yt.\u0275prov=n1({token:Yt,factory:Yt.\u0275fac,providedIn:"root"}),Yt.ngInjectableDef=n1({factory:function(){return new Yt(l1(j3),l1(H4))},token:Yt,providedIn:"root"});class pe{constructor(n,t,i){this.code=n,this.alternateCode=t,this.name=i}is(n){const t=n.toUpperCase();return this.code.toUpperCase()===t||this.alternateCode.toUpperCase()===t}}class Ie{}Ie.thumbnailsWidth=300,Ie.scrollWidth=17,Ie.topbarWidth=60,Ie.documentMargin=20,Ie.defaultShowLanguageMenu=!0,Ie.defaultShowToolBar=!0,Ie.defaultLanguage=new pe("en","en-us","English"),Ie.defaultSupportedLanguages=[new pe("ar","ar","\u0627\u0644\u0639\u0631\u0628\u064a\u0629"),new pe("ca","ca-es","Catal\xe0"),new pe("cs","cs-cz","\u010ce\u0161tina"),new pe("da","da-dk","Dansk"),new pe("de","de-de","Deutsch"),new pe("el","el-gr","\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac"),new pe("en","en-us","English"),new pe("es","es-es","Espa\xf1ol"),new pe("fil","fil-ph","Filipino"),new pe("fr","fr-fr","Fran\xe7ais"),new pe("he","he-il","\u05e2\u05d1\u05e8\u05d9\u05ea"),new pe("hi","hi-in","\u0939\u093f\u0928\u094d\u0926\u0940"),new pe("id","id-id","Indonesia"),new pe("it","it-it","Italiano"),new pe("ja","ja-jp","\u65e5\u672c\u8a9e"),new pe("kk","kk-kz","\u049a\u0430\u0437\u0430\u049b \u0422\u0456\u043b\u0456"),new pe("ko","ko-kr","\ud55c\uad6d\uc5b4"),new pe("ms","ms-my","Melayu"),new pe("nl","nl-nl","Nederlands"),new pe("pl","pl-pl","Polski"),new pe("pt","pt-pt","Portugu\xeas"),new pe("ro","ro-ro","Rom\xe2n\u0103"),new pe("ru","ru-ru","\u0420\u0443\u0441\u0441\u043a\u0438\u0439"),new pe("sv","sv-se","Svenska"),new pe("vi","vi-vn","Ti\u1ebfng Vi\u1ec7t"),new pe("th","th-th","\u0e44\u0e17\u0e22"),new pe("tr","tr-tr","T\xfcrk\xe7e"),new pe("uk","uk-ua","\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430"),new pe("zh-hans","zh","\u4e2d\u6587(\u7b80\u4f53)"),new pe("zh-hant","zh-hant","\u4e2d\u6587(\u7e41\u9ad4)")];class lX{constructor(n,t){this.remaining=0,this.state=0,this.callback=n,this.interval=t,this.startTime=(new Date).getTime();const i=this;this.timerId=setInterval(()=>{this.callback(),i.startTime=(new Date).getTime()},this.interval),this.state=1}pause(){1===this.state&&(this.remaining=this.interval-((new Date).getTime()-this.startTime),clearInterval(this.timerId),this.state=2)}resume(){2===this.state&&(this.state=3,setTimeout(()=>this.timeoutCallback(),this.remaining))}stop(){this.state=0,clearInterval(this.timerId)}timeoutCallback(){3===this.state&&(this.callback(),this.startTime=(new Date).getTime(),this.timerId=setInterval(this.callback,this.interval),this.state=1)}}let fX=(()=>{class e{constructor(t,i,r,o,a,s,l,u,m,_,y,z,A){this._viewerService=t,this._modalService=i,this._navigateService=a,this._renderPrintService=u,this._windowService=_,this._loadingMaskService=y,this.cdr=z,this.translate=A,this.title="viewer",this.files=[],this.countPages=0,this.formatDisabled=!0,this.showThumbnails=!1,this.browseFilesModal=gi.BrowseFiles,this.showSearch=!1,this.pagesToPreload=[],this._zoom=100,this.fileWasDropped=!1,this._searchTermFromGetQuery=!1,this.docElmWithBrowsersFullScreenFunctions=document.documentElement,this.docWithBrowsersExitFunctions=document,this.zoomService=s,this.startScrollTime=Date.now(),this.endScrollTime=Date.now(),r.updatedConfig.subscribe(R=>{this.viewerConfig=R}),o.uploadsChange.subscribe(R=>{if(R){let W;for(W=0;W{this.fileWasDropped?this.selectFile(X.guid,"","",""):this.selectDir("")})}}),l.checkPreload.subscribe(R=>{if(this.file&&0!==this.viewerConfig.preloadPageCount)for(let W=R;W0&&W<=this.file.pages.length&&!this.file.pages[W-1].data&&this.preloadPages(W,W)}),m.passChange.subscribe(R=>{this.selectFile(this.credentials.guid,R,gi.PasswordRequired,this.credentials.fileType)}),this.isDesktop=_.isDesktop(),_.onResize.subscribe(()=>{this.isDesktop=_.isDesktop(),this.runPresentation||this.refreshZoom()})}set content(t){t&&(this._searchElement=t)}fullScreen(){document.fullscreenElement||this.closeFullScreen()}ngOnInit(){if(""!==this.viewerConfig.defaultDocument&&null!==this.viewerConfig.defaultDocument)return this.isLoading=!0,this.selectFile(this.viewerConfig.defaultDocument,"","",""),void this.selectCurrentOrFirstPage();const t=this.defaultLanguageConfig,i=this.supportedLanguagesConfig.map(o=>({name:o.name,value:o.code,separator:!1}));this.supportedLanguages=i,this.selectedLanguage=i.find(o=>o.value===t.code),this.translate.use(t.code);const r=window.location.search;if(r){const o=new URLSearchParams(r);if(this.fileParam=o.get("file"),this.fileTypeParam=o.get("fileType"),this.fileParam){const a=o.get("search");return a&&null!==a&&""!==a&&(this._searchTermForBackgroundService=a,this._searchTermFromGetQuery=!0),this.isLoading=!0,this.selectFile(this.fileParam,"","",this.fileTypeParam),void this.selectCurrentOrFirstPage()}this.urlParam=o.get("url"),this.urlParam&&(this.isLoading=!0,this.upload(this.urlParam),this.selectCurrentOrFirstPage())}}ngAfterViewInit(){this._loadingMaskService.onLoadingChanged.subscribe(t=>this.isLoading=t),this.refreshZoom()}get rewriteConfig(){return!this.viewerConfig||this.viewerConfig.rewrite}get zoomConfig(){return!this.viewerConfig||this.viewerConfig.zoom}get pageSelectorConfig(){return!this.viewerConfig||this.viewerConfig.pageSelector}get searchConfig(){return!this.viewerConfig||this.viewerConfig.search}get thumbnailsConfig(){return!this.viewerConfig||this.viewerConfig.thumbnails}get rotateConfig(){return!this.viewerConfig||this.viewerConfig.rotate}get downloadConfig(){return!this.viewerConfig||this.viewerConfig.download}get uploadConfig(){return!this.viewerConfig||this.viewerConfig.upload}get printConfig(){return!this.viewerConfig||this.viewerConfig.print}get browseConfig(){return!this.viewerConfig||this.viewerConfig.browse}get htmlModeConfig(){return!this.viewerConfig||this.viewerConfig.htmlMode}get saveRotateStateConfig(){return!this.viewerConfig||this.viewerConfig.saveRotateState}get enableRightClickConfig(){return!this.viewerConfig||this.viewerConfig.enableRightClick}get currentPage(){return this._navigateService.currentPage}get showLanguageMenu(){return void 0!==this.viewerConfig&&void 0!==this.viewerConfig.showLanguageMenu?this.viewerConfig.showLanguageMenu:Ie.defaultShowLanguageMenu}get showToolBar(){return void 0!==this.viewerConfig&&void 0!==this.viewerConfig.showToolBar?this.viewerConfig.showToolBar:Ie.defaultShowToolBar}get supportedLanguagesConfig(){if(this.viewerConfig&&this.viewerConfig.supportedLanguages){const t=this.viewerConfig.supportedLanguages;return Ie.defaultSupportedLanguages.filter(i=>-1!==t.indexOf(i.code)||-1!==t.indexOf(i.alternateCode))}return Ie.defaultSupportedLanguages}get defaultLanguageConfig(){if(this.viewerConfig&&this.viewerConfig.defaultLanguage)return this.supportedLanguagesConfig.find(r=>r.is(this.viewerConfig.defaultLanguage));const t=window.location.pathname;if(t){const r=t.split("/");for(const o of r){if(""===o)continue;const a=this.supportedLanguagesConfig.filter(s=>s.is(o)).shift();if(a)return a}}const i=window.location.search;if(i){const o=new URLSearchParams(i).get("lang");if(o)return this.supportedLanguagesConfig.find(a=>a.is(o))}return Ie.defaultLanguage}ifPresentation(){return!!this.file&&"Microsoft PowerPoint"===Pt.find(this.file.guid,!1).format}ifExcel(){return!!this.file&&"Microsoft Excel"===Pt.find(this.file.guid,!1).format}ifImage(){return!!this.file&&"file-image"===this.formatIcon}getFileName(){return this.file.guid.replace(/^.*[\\\/]/,"")}openModal(t){this._modalService.open(t)}closeModal(t){this._modalService.close(t)}selectDir(t){this._viewerService.loadFiles(t).subscribe(i=>this.files=i||[])}selectCurrentOrFirstPage(){this.selectedPageNumber=0!==this._navigateService.currentPage?this._navigateService.currentPage:1}getPreloadPageCount(){return this.ifPresentation()&&0!==this.viewerConfig.preloadPageCount&&this.viewerConfig.preloadPageCount<3?3:this.viewerConfig.preloadPageCount}selectFile(t,i,r,o){this.credentials={guid:t,fileType:o,password:i},this.file=null,this._viewerService.loadFile(this.credentials).subscribe(a=>{if(this.file=a,this.formatDisabled=!this.file,this.pagesToPreload=[],a){this.credentials.fileType=a.fileType,this.formatIcon=this.file?Pt.find(this.file.guid,!1).icon:null,a.pages&&a.pages[0]&&(this._pageHeight=a.pages[0].height,this._pageWidth=a.pages[0].width,this.options=this.zoomOptions(),this.timerOptions=this.getTimerOptions(),this.refreshZoom()),this.file.thumbnails=a.pages.slice();const s=this.getPreloadPageCount(),l=a.pages?a.pages.length:0;this.preloadPages(1,0===s||s>l?l:s),this.selectedPageNumber=1,this._navigateService.countPages=l,this._navigateService.currentPage=this.selectedPageNumber,this.countPages=l,this.showThumbnails=this.ifPresentation(),this.runPresentation=!1,this._searchTermFromGetQuery||(this._searchTermForBackgroundService=a.searchTerm)}this._searchTermForBackgroundService&&null!==this._searchTermForBackgroundService&&""!==this._searchTermForBackgroundService&&this._searchElement&&this._searchElement.setText(this._searchTermForBackgroundService),this.cdr.detectChanges()}),r&&this._modalService.close(r),this.clearData()}preloadPages(t,i){for(let r=t;r<=i;r++){if(-1!==this.pagesToPreload.indexOf(r))continue;const o=this.file.pages.find(a=>a.number===r);o&&o.data||(this.pagesToPreload.push(r),this._viewerService.loadPage(this.credentials,r).subscribe(a=>{a.data&&(a.data=a.data.replace(/>\s+<").replace(/\uFEFF/g,"")),this.file.pages[r-1].data=a.data,this.file.thumbnails&&(this.file.thumbnails[r-1].data=a.data)}))}}upload(t){this._viewerService.upload(null,t,this.rewriteConfig).subscribe(i=>{""!==this.fileParam?(this.selectFile(i.guid,"","",""),this.fileParam="",this.fileTypeParam=""):this.selectDir("")})}nextPage(){this.formatDisabled||(this.intervalTimer&&this._navigateService.currentPage+1>this.countPages&&(this.intervalTimer.stop(),this.intervalTime=0),this._navigateService.nextPage())}prevPage(){this.formatDisabled||this._navigateService.prevPage()}toLastPage(){this.formatDisabled||this._navigateService.toLastPage()}toFirstPage(){this.formatDisabled||this._navigateService.toFirstPage()}zoomIn(){this.formatDisabled||this._zoom<490&&(this.zoom=this._zoom+10)}zoomOut(){this.formatDisabled||this._zoom>30&&(this.zoom=this._zoom-10)}fileDropped(t){this.fileWasDropped=t}ptToPx(t){return 96*t/72}getFitToWidth(){const t=this.formatIcon&&(this.ifExcel()||this.ifImage())?this._pageWidth:this.ptToPx(this._pageWidth),i=this.formatIcon&&(this.ifExcel()||this.ifImage())?this._pageHeight:this.ptToPx(this._pageHeight),r=t||window.innerWidth,o=this.isDesktop&&this.ifPresentation()&&!this.runPresentation;return this.runPresentation?Math.round(100*window.innerWidth/r):i>t&&Math.round(r/window.innerWidth)<2?200-Math.round(100*r/(o?window.innerWidth-Ie.thumbnailsWidth-Ie.scrollWidth:window.innerWidth)):this.isDesktop?Math.round((o?window.innerWidth-Ie.thumbnailsWidth-Ie.scrollWidth:window.innerHeight)/r*100):Math.round(100*window.innerWidth/r)}getFitToHeight(){const t=this.formatIcon&&(this.ifExcel()||this.ifImage())?this._pageWidth:this.ptToPx(this._pageWidth),i=this.formatIcon&&(this.ifExcel()||this.ifImage())?this._pageHeight:this.ptToPx(this._pageHeight),r=i>t?window.innerHeight-100:window.innerHeight+100,o=i||r;return this.ifPresentation()||this.ifImage()?this.ifPresentation()?Math.floor(100*(window.innerHeight-Ie.topbarWidth)/(this.runPresentation?o:o+2*Ie.documentMargin+Ie.scrollWidth)):this.ifImage()?Math.floor(100*(window.innerHeight-Ie.topbarWidth)/(o+2*Ie.documentMargin+Ie.scrollWidth)):void 0:i>t?Math.round(100*r/o):Math.round(100*o/r)}zoomOptions(){const t=this.getFitToWidth(),i=this.getFitToHeight();return this.zoomService.zoomOptions(t,i)}getTimerOptions(){return[{value:0,name:"None",separator:!1},{value:5,name:"5 sec",separator:!1},{value:10,name:"10 sec",separator:!1},{value:15,name:"15 sec",separator:!1},{value:30,name:"30 sec",separator:!1}]}set zoom(t){this._zoom=t,this.zoomService.changeZoom(this._zoom)}get zoom(){return this._zoom}selectZoom(t){this.zoom=t.value}rotate(t){if(this.formatDisabled)return;const i=this._navigateService.currentPage,r=this.file.pages[i-1];this.saveRotateStateConfig&&this.file&&this._viewerService.rotate(this.credentials,t,i).subscribe(o=>{const a=o.data.replace(/>\s+<").replace(/\uFEFF/g,"");if(o.data=a,this.file.pages[i-1]=o,this.file&&this.file.pages&&r){const s=r.angle+t;this.changeAngle(r,s>360?90:s<-360?-90:s)}})}changeAngle(t,i){t.angle=i}downloadFile(){this.formatDisabled||window.location.assign(this._viewerService.getDownloadUrl(this.credentials))}printFile(){this.formatDisabled||this._viewerService.loadPrintPdf(this.credentials).subscribe(t=>{this._renderPrintService.changeBlob(t)})}openThumbnails(){if(!this.formatDisabled){if(this.showThumbnails)return void(this.showThumbnails=!1);this.runPresentation=!1,this.showThumbnails=!0}}clearData(){if(this.file&&this.file.pages)for(const t of this.file.pages)t.data=null}onRightClick(){return this.enableRightClickConfig}openSearch(t=!0){this.formatDisabled||(this.showSearch=t?!this.showSearch:t)}refreshZoom(){this.file&&(this.formatIcon=Pt.find(this.file.guid,!1).icon,this.zoom=!this._windowService.isDesktop()||this.ifImage()||this.ifPresentation()?this.ifImage()?this.getFitToHeight():this.getFitToWidth():100)}selectCurrentPage(t){this.selectedPageNumber=t,this._navigateService.currentPage=t,this.runPresentation&&this.intervalTime>0&&3!==this.intervalTimer.state&&(this.resetInterval(),this.slideInRange()&&this.startCountDown(this.intervalTime,!0))}onMouseWheelUp(){this.startScrollTime=Date.now(),this.ifPresentation()&&1!==this.selectedPageNumber&&this.startScrollTime-this.endScrollTime>300&&this.vertScrollEnded(!0)&&(this.selectedPageNumber=this.selectedPageNumber-1,this.endScrollTime=Date.now())}onMouseWheelDown(){this.startScrollTime=Date.now(),this.ifPresentation()&&this.selectedPageNumber!==this.file.pages.length&&this.startScrollTime-this.endScrollTime>300&&this.vertScrollEnded(!1)&&(this.startScrollTime=Date.now(),this.file.pages[this.selectedPageNumber]&&!this.file.pages[this.selectedPageNumber].data?(this.preloadPages(this.selectedPageNumber,this.selectedPageNumber+1),this.selectedPageNumber=this.selectedPageNumber+1):this.selectedPageNumber=this.selectedPageNumber+1,this.endScrollTime=Date.now())}vertScrollEnded(t){const i=document.getElementsByClassName("gd-document")[0];return t?0===i.scrollTop:i.offsetHeight+i.scrollTop>=i.scrollHeight}toggleTimer(t){this.intervalTime=t.value,0!==this.intervalTime?(this.intervalTimer&&1===this.intervalTimer.state&&this.intervalTimer.stop(),this.startCountDown(this.intervalTime),this.startInterval(this.intervalTime)):this.intervalTimer.stop()}showCountDown(){return this.intervalTime>0&&this.slideInRange()}startCountDown(t,i=!1){if(clearInterval(this.countDownInterval),t>0){this.secondsLeft=t,t--;const r=setInterval(()=>{this.secondsLeft=t,0==--t&&clearInterval(r)},1e3);this.countDownInterval=r}}startInterval(t){this.intervalTimer=new lX(()=>{this.slideInRange()?(this.nextPage(),this.slideInRange()&&this.startCountDown(t)):this.intervalTimer.stop()},1e3*t)}slideInRange(){return this._navigateService.currentPage+1<=this.countPages}resetInterval(){this.intervalTimer.stop(),this.startInterval(this.intervalTime)}pausePresenting(){this.intervalTimer.pause(),this.startCountDown(0,!0)}resumePresenting(){this.intervalTimer.resume();const t=Math.round(this.intervalTimer.remaining/1e3);this.startCountDown(t)}presentationRunning(){return this.intervalTimer&&1===this.intervalTimer.state&&this.slideInRange()}presentationPaused(){return this.intervalTimer&&2===this.intervalTimer.state&&this.slideInRange()}startPresentation(){this.showThumbnails=!1,this.openFullScreen(),this.runPresentation=!this.runPresentation;const t=setInterval(()=>{screen.height===window.innerHeight&&screen.width===window.innerWidth&&(this.zoomService.changeZoom(window.innerWidth/window.innerHeight<1.7&&this._pageWidth/this._pageHeight>1.7?this.getFitToWidth():this.getFitToHeight()),clearInterval(t))},50)}openFullScreen(){const t=document.documentElement;t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.msRequestFullscreen&&t.msRequestFullscreen(),this.isFullScreen=!0}closeFullScreen(t=!1){if(t){const i=document;i.exitFullscreen?i.exitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.msExitFullscreen&&i.msExitFullscreen()}this.intervalTimer&&this.intervalTimer.stop(),this.isFullScreen=!1,this.runPresentation=!1,this.showThumbnails=!0,this.intervalTime=0,this.startCountDown(0),this.refreshZoom()}selectLanguage(t){this.selectedLanguage=t,this.translate.use(t.value)}}return e.\u0275fac=function(t){return new(t||e)(F(zn),F(E6),F(Yt),F(X3),F(v2),F(ct),F(H6),F(uo),F(ho),F(St),F(r6),F(Y0),F(K3))},e.\u0275cmp=I({type:e,selectors:[["gd-viewer"]],viewQuery:function(t,i){if(1&t&&_r(pY,5),2&t){let r;vr(r=Cr())&&(i.content=r.first)}},hostBindings:function(t,i){1&t&&Z("fullscreenchange",function(){return i.fullScreen()},0,n7)},decls:9,vars:7,consts:[[3,"loadingMask"],[1,"wrapper",3,"contextmenu"],["class","top-panel",4,"ngIf"],["class","doc-panel",4,"ngIf"],[3,"icon","text","fileDropped",4,"ngIf"],[3,"files","uploadConfig","urlForUpload","selectedDirectory","selectedFileGuid"],[1,"top-panel"],["icon","eye",3,"logo",4,"ngIf"],["class","toolbar-panel",4,"ngIf"],["icon","eye",3,"logo"],[1,"toolbar-panel"],[3,"icon","title","click",4,"ngIf"],["class","mobile-hide select-left noselect",3,"disabled","options","showSelected","selected",4,"ngIf"],["class","mobile-hide",3,"disabled","icon","title","click",4,"ngIf"],["class","current-page-number noselect",3,"ngClass",4,"ngIf"],[3,"disabled","icon","title","click",4,"ngIf"],[3,"hidden","hidePanel"],["search",""],[1,"toolbar-panel-right"],["class","language-menu mobile-hide",4,"ngIf"],["class","thumbnails-button btn-right",3,"disabled","icon","title","click",4,"ngIf"],["class","thumbnails-button mobile-hide btn-right smp-start-stop",3,"disabled","icon","title","click",4,"ngIf"],[3,"icon","title","click"],[1,"mobile-hide","select-left","noselect",3,"disabled","options","showSelected","selected"],[1,"mobile-hide",3,"disabled","icon","title","click"],[1,"current-page-number","noselect",3,"ngClass"],[3,"disabled","icon","title","click"],[1,"language-menu","mobile-hide"],[1,"select-language-menu","noselect",3,"disabled","options","showSelected","selected"],[1,"thumbnails-button","btn-right",3,"disabled","icon","title","click"],[1,"thumbnails-button","mobile-hide","btn-right","smp-start-stop",3,"disabled","icon","title","click"],[1,"slides-title"],[1,"slides-filename"],[1,"slides-buttons"],["class","mobile-hide select-right",3,"disabled","options","icon","selected",4,"ngIf"],[1,"mobile-hide","btn-right","smp-start-stop",3,"disabled","icon","title","click"],[1,"mobile-hide","select-right",3,"disabled","options","icon","selected"],[1,"doc-panel"],["docPanel",""],[3,"pages","isHtmlMode","guid","mode","selectedPage",4,"ngIf"],["gdScrollable","",3,"pages","isHtmlMode","guid","mode","isPresentation","selectedPage",4,"ngIf"],["class","gd-document","gdScrollableEdited","","gdRenderPrint","","gdMouseWheel","",3,"file","mode","showActiveSlide","preloadPageCount","selectedPage","htmlMode","mouseWheelUp","mouseWheelDown",4,"ngIf"],["class","gd-document","gdScrollable","","gdRenderPrint","",3,"file","mode","preloadPageCount","htmlMode",4,"ngIf"],["class","gd-document",3,"file","currentPage","mode","preloadPageCount","selectedPage",4,"ngIf"],["class","slides-nav",4,"ngIf"],[3,"pages","isHtmlMode","guid","mode","selectedPage"],["gdScrollable","",3,"pages","isHtmlMode","guid","mode","isPresentation","selectedPage"],["gdScrollableEdited","","gdRenderPrint","","gdMouseWheel","",1,"gd-document",3,"file","mode","showActiveSlide","preloadPageCount","selectedPage","htmlMode","mouseWheelUp","mouseWheelDown"],["gdScrollable","","gdRenderPrint","",1,"gd-document",3,"file","mode","preloadPageCount","htmlMode"],[1,"gd-document",3,"file","currentPage","mode","preloadPageCount","selectedPage"],[1,"slides-nav"],["class","timer",4,"ngIf"],["class","mobile-hide",3,"disabled","icon","click",4,"ngIf"],[1,"timer"],[3,"icon","spin"],[3,"ngClass"],[1,"mobile-hide",3,"disabled","icon","click"],[3,"icon","text","fileDropped"],[3,"icon"]],template:function(t,i){1&t&&(b1(0,"gd-loading-mask",0),H(1,"div",1),Z("contextmenu",function(){return i.onRightClick()}),U(2,IY,3,2,"div",2),U(3,FY,14,12,"div",2),U(4,KY,8,6,"div",3),U(5,XY,9,13,"gd-init-state",4),H(6,"gd-browse-files-modal",5),Z("urlForUpload",function(o){return i.upload(o)})("selectedDirectory",function(o){return i.selectDir(o)})("selectedFileGuid",function(o){return i.selectFile(o,null,i.browseFilesModal,null)}),k(),b1(7,"gd-error-modal")(8,"gd-password-required"),k()),2&t&&(w("loadingMask",i.isLoading),L(2),w("ngIf",!i.runPresentation),L(1),w("ngIf",i.runPresentation),L(1),w("ngIf",i.file),L(1),w("ngIf",!i.file),L(1),w("files",i.files)("uploadConfig",i.uploadConfig))},dependencies:function(){return[at,Ne,_h,E4,as,Mh,ss,zh,jh,Dh,fs,Th,Lh,Eh,Hh,Ah,Ih,Bh,K2,Gh,Zh,Zn]},styles:["@import url(https://fonts.googleapis.com/css?family=Open+Sans&display=swap);[_nghost-%COMP%] *[_ngcontent-%COMP%]{font-family:'Open Sans',Arial,Helvetica,sans-serif}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.current-page-number[_ngcontent-%COMP%]{margin-left:7px;font-size:14px;color:#959da5;width:37px;height:37px;line-height:37px;text-align:center}.current-page-number.active[_ngcontent-%COMP%]{color:#fff}.wrapper[_ngcontent-%COMP%]{-webkit-box-align:stretch;align-items:stretch;height:100%;width:100%;position:fixed;top:0;bottom:0;left:0;right:0}.doc-panel[_ngcontent-%COMP%]{display:-webkit-box;display:flex;height:calc(100vh - 60px);-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}.top-panel[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;width:100%}.toolbar-panel[_ngcontent-%COMP%]{background-color:#3e4e5a;width:100%}.toolbar-panel-right[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;place-content:flex-end}.btn-right[_ngcontent-%COMP%]{margin-right:7px}.smp-start-stop[_ngcontent-%COMP%] .button{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;border:1px solid;border-radius:5px;padding:0 10px!important}.language-menu[_ngcontent-%COMP%]{margin-right:15px}.select-language-menu[_ngcontent-%COMP%] .select{width:100%}.select-language-menu[_ngcontent-%COMP%] .select .dropdown-menu{overflow-y:scroll;max-height:90%}.select-language-menu[_ngcontent-%COMP%] .selected-value{max-width:100%}.thumbnails-button[_ngcontent-%COMP%] .button{margin-left:0!important} .tools .button, .tools .nav-caret, .tools .selected-value{color:#fff!important} .tools .button.inactive, .tools .nav-caret.inactive, .tools .selected-value.inactive{color:#959da5!important} .tools .button{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-flow:column} .tools .select-left .select{position:relative} .tools .select-left .dropdown-menu{top:40px;left:0} .tools .select-right .select{position:relative} .tools .select-right .dropdown-menu{top:40px;right:0} .tools .dropdown-menu .option{color:#6e6e6e!important} .tools .dropdown-menu .option:hover{background-color:#4b566c!important} .tools .icon-button{margin:0 0 0 15px!important} .tools .select{width:37px;height:37px;margin-left:7px;line-height:37px;text-align:center} .tools .slides-title{color:#fff;padding-left:12px;font-size:18px} .tools .slides-filename{-webkit-box-flex:1;flex-grow:1;text-align:center;color:#fff;text-overflow:ellipsis;white-space:nowrap;padding-left:20px;overflow:hidden} .tools .slides-buttons{display:-webkit-box;display:flex} .tools .slides-buttons .select{color:#fff;cursor:pointer} .tools .gd-nav-search-container .icon-button{margin:0 0 0 7px!important}.slides-nav[_ngcontent-%COMP%]{position:absolute;right:30px;bottom:30px;display:-webkit-box;display:flex}.slides-nav[_ngcontent-%COMP%] .button{font-size:37px;background-color:#edf0f2;border-radius:3px}.slides-nav[_ngcontent-%COMP%] .timer{font-size:42px;line-height:6px;color:#959da5;position:relative}.slides-nav[_ngcontent-%COMP%] .timer .seconds-remaining{position:absolute;margin-left:5px;font-size:16px;top:18px;left:12px}.slides-nav[_ngcontent-%COMP%] .timer .seconds-remaining.two-digits{left:6px!important} .page.presentation .gd-wrapper{pointer-events:none}@media (max-width:1037px){.current-page-number[_ngcontent-%COMP%], .mobile-hide[_ngcontent-%COMP%]{display:none} .tools gd-button:nth-child(1)>.icon-button{margin:0 0 0 10px!important} .tools .icon-button{height:60px;width:60px} .tools .gd-nav-search-btn .icon-button{height:37px;width:37px} .tools .gd-nav-search-btn .button{font-size:14px} .tools .gd-nav-search-container{top:59px!important}}"]}),e})();class I4{constructor(){}getUpdatedPage(n){const t=(new DOMParser).parseFromString(n,"text/html"),i=t.querySelector("table");let r=0;t.querySelectorAll("table > tbody > tr:first-child td").forEach(l=>{r+=l.attributes.colspan?parseInt(l.attributes.colspan.value,10):1});const a=this.createHeader(r,i);return t.querySelector("table").replaceWith(a),(new XMLSerializer).serializeToString(t).replace(/a0:/g,"").replace(/:a0/g,"")}createHeader(n,t){const i=document.createElement("thead");i.append(document.createElement("tr"));for(let s=0;s{const l=document.createElement("div");if(0!==a){const u=document.createElement("td");u.className="excel",u.append(l),l.innerText=a.toString(),s.prepend(u)}else{const u=document.createElement("th");u.append(l),s.prepend(u)}a++}),t}colName(n){const t="a".charCodeAt(0),r="z".charCodeAt(0)-t+1;let o="";for(;n>=0;)o=String.fromCharCode(n%r+t)+o,n=Math.floor(n/r)-1;return o}}I4.\u0275fac=function(n){return new(n||I4)},I4.\u0275prov=n1({token:I4,factory:I4.\u0275fac,providedIn:"root"}),I4.ngInjectableDef=n1({factory:function(){return new I4},token:I4,providedIn:"root"});let $h=(()=>{class e{constructor(t){this._excelPageService=t}ngOnInit(){/(MSIE|Trident\/|Edge\/)/i.test(navigator.userAgent)&&0===this.number&&(this.editable=!1)}ngOnChanges(t){this.isHtml?this.data=this.data?this.data.replace(/>\s+<").replace(/\uFEFF/g,""):null:this.data&&(this.imgData=this.data.startsWith("data:image")?this.data:"data:image/png;base64,"+this.data)}}return e.\u0275fac=function(t){return new(t||e)(F(I4))},e.\u0275cmp=I({type:e,selectors:[["gd-excel-page"]],inputs:{editable:"editable",data:"data",angle:"angle",width:"width",height:"height",number:"number",isHtml:"isHtml"},features:[c2],decls:4,vars:4,consts:[[3,"id"],["class","gd-wrapper",3,"innerHTML","contentEditable",4,"ngIf"],["class","gd-page-image","alt","",3,"width","height",4,"ngIf"],["class","gd-page-spinner",4,"ngIf"],[1,"gd-wrapper",3,"innerHTML","contentEditable"],["alt","",1,"gd-page-image"],[1,"gd-page-spinner"],[3,"icon","spin"]],template:function(t,i){1&t&&(H(0,"div",0),U(1,QY,2,4,"div",1),U(2,JY,2,7,"img",2),U(3,eX,3,3,"div",3),k()),2&t&&(Un("id","page-",i.number,""),L(1),w("ngIf",i.data&&i.isHtml),L(1),w("ngIf",i.data&&!i.isHtml),L(1),w("ngIf",!i.data))},dependencies:[Ne,K2,so,co],styles:[".gd-page-spinner[_ngcontent-%COMP%]{margin-top:150px;text-align:center}.gd-wrapper[_ngcontent-%COMP%]{width:inherit;height:inherit}.gd-wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:100%} .gd-highlight{background-color:#ff0} .gd-highlight-select{background-color:#ff9b00} .page-grid-lines td{border:1px solid #e7e7e7!important} tr td.excel:first-child{color:#959da5;background-color:#f4f4f4;font-weight:unset;width:1%;text-align:center} tr td.excel:first-child div{width:80px} tr th.excel:first-child{background-color:#f4f4f4;width:1%} tr th.excel:first-child div{width:80px}.gd-page-image[_ngcontent-%COMP%]{height:100%!important;width:100%!important}"]}),e})(),Zh=(()=>{class e extends ss{constructor(t,i,r,o,a){super(t,i,r,o),this.renderer=a,this.panzoom=null,this.navigateService=o}ngOnInit(){this.currentPageNo=1}ngAfterViewInit(){this.navigateService.navigate.subscribe(i=>{i&&this.selectSheet(i)});const t=this.getScrollBarWidth();this.renderer.setStyle(this._elementRef.nativeElement.querySelector(".sheets"),"right",this.getScrollBarWidth()+"px"),this.renderer.setStyle(this._elementRef.nativeElement.querySelector(".sheets"),"bottom",this.getScrollBarWidth()+"px"),0===t&&this.renderer.setStyle(this._elementRef.nativeElement.querySelector(".sheets"),"padding-right","17px")}getScrollBarWidth(){const t=document.querySelector(".gd-document");return t.offsetWidth-t.clientWidth}selectSheet(t){this.currentPageNo=t}}return e.\u0275fac=function(t){return new(t||e)(F(Re),F(ct),F(St),F(v2),F(p3))},e.\u0275cmp=I({type:e,selectors:[["gd-excel-document"]],viewQuery:function(t,i){if(1&t&&_r($h,5),2&t){let r;vr(r=Cr())&&(i.pages=r)}},features:[y3],decls:7,vars:4,consts:[["class","wait",4,"ngIf"],["id","document",1,"document",2,"height","100%"],["gdSearchable","",3,"ngClass"],["gdRotation","",3,"ngClass","angle","isHtmlMode",4,"ngFor","ngForOf"],[1,"sheets"],[1,"sheets-wrapper"],[4,"ngFor","ngForOf"],[1,"wait"],["gdRotation","",3,"ngClass","angle","isHtmlMode"],[3,"number","data","isHtml","angle","width","height","editable",4,"ngIf"],[3,"number","data","isHtml","angle","width","height","editable"],[3,"icon","ngClass","click"]],template:function(t,i){1&t&&(U(0,tX,2,0,"div",0),H(1,"div",1)(2,"div",2),U(3,iX,2,4,"div",3),k()(),H(4,"div",4)(5,"div",5),U(6,rX,3,5,"div",6),k()()),2&t&&(w("ngIf",i.wait),L(2),w("ngClass",i.isDesktop?"panzoom auto-height":"panzoom mobile"),L(1),w("ngForOf",null==i.file?null:i.file.pages),L(3),w("ngForOf",null==i.file?null:i.file.pages))},dependencies:[at,Q4,Ne,E4,fo,hs,$h],styles:["[_nghost-%COMP%]{overflow:auto;width:100%;background-color:#e7e7e7}.document[_ngcontent-%COMP%]{width:100%;-webkit-transition:.4s;transition:.4s;padding:0;margin:0;position:relative}.sheets[_ngcontent-%COMP%]{background-color:#fff;display:-webkit-box;display:flex;border-top:1px solid #e7e7e7;position:fixed;width:100%}.sheets[_ngcontent-%COMP%] gd-button.active .text{background-color:#272727;border-radius:10px;color:#eee}.sheets[_ngcontent-%COMP%] gd-button .text{padding:1px 12px;color:#000}.sheets[_ngcontent-%COMP%] gd-button fa-icon{display:none}.sheets-wrapper[_ngcontent-%COMP%]{margin-left:29px;display:-webkit-box;display:flex}.page[_ngcontent-%COMP%]{position:relative;display:inline-block;background-color:#fff;-webkit-transition:.3s;transition:.3s}.wait[_ngcontent-%COMP%]{position:absolute;top:55px;left:Calc(30%)}.panzoom.auto-height[_ngcontent-%COMP%]{-webkit-transform:none;transform:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:50% 50% 0;transform-origin:50% 50% 0;display:-webkit-box;display:flex;flex-wrap:wrap;height:auto!important}.gd-zoomed[_ngcontent-%COMP%]{margin:10px 98px}.highlights[_ngcontent-%COMP%]{position:absolute;top:0;left:0;bottom:0;right:0}.page-grid-lines[_ngcontent-%COMP%]{background-color:#fff}@media (max-width:1037px){.page[_ngcontent-%COMP%]{min-width:unset!important;min-height:unset!important;margin:5px 0}}"]}),e})();const uX=P4;let Gh=(()=>{class e{constructor(t,i,r,o){this._elementRef=t,this._zoomService=i,this._windowService=r,this._navigateService=o,this.selectedPage=new _1,this.wait=!1,this.container=null,this.doc=null,i.zoomChange.subscribe(a=>{this.zoom=a,100!==a&&1!==this.currentPage&&this.scrollTo(this.currentPage,!0,!1)}),this.isDesktop=r.isDesktop(),this._navigateService.navigate.subscribe(a=>{this.scrollTo(a,a>this.lastCurrentPage),this.lastCurrentPage=a})}ngOnInit(){this.lastCurrentPage=this._navigateService.currentPage}ngOnChanges(){}ngAfterViewInit(){this.doc=this._elementRef.nativeElement.children.item(0).children.item(0),this.container=this._elementRef.nativeElement,new ch(this.container)}ngAfterViewChecked(){const i=this._elementRef.nativeElement.querySelectorAll(".gd-wrapper").item(0);i&&uX(i).trigger("focus")}scrollTo(t,i,r=!0){const o=this._elementRef.nativeElement.offsetWidth*(t-1);this.doScrolling(o,i?o-this._elementRef.nativeElement.offsetWidth:o+this._elementRef.nativeElement.offsetWidth,500,new ce,this._elementRef,r),this.selectedPage.emit(t)}doScrolling(t,i,r,o,a,s=!0){const l=t-i;let u;s?window.requestAnimationFrame(function m(_){u=u||_;const y=_-u,z=Math.min(y/r,1);a.nativeElement.scrollTo({left:i+l*z}),yt.width}onPanLeft(t){t.isFinal&&this._navigateService.nextPage()}onPanRight(t){t.isFinal&&this._navigateService.prevPage()}}return e.\u0275fac=function(t){return new(t||e)(F(Re),F(ct),F(St),F(v2))},e.\u0275cmp=I({type:e,selectors:[["gd-run-presentation"]],inputs:{mode:"mode",preloadPageCount:"preloadPageCount",file:"file",currentPage:"currentPage"},outputs:{selectedPage:"selectedPage"},features:[c2],ngContentSelectors:cX,decls:5,vars:5,consts:[["class","wait",4,"ngIf"],["id","document",1,"document",3,"panleft","panright"],["gdZoom","","gdSearchable","",3,"ngClass","zoomActive","file"],["gdRotation","",3,"ngClass","height","width","angle","isHtmlMode",4,"ngFor","ngForOf"],[1,"wait"],["gdRotation","",3,"ngClass","angle","isHtmlMode","width","height"],[3,"number","data","isHtml","angle","width","height","editable"]],template:function(t,i){1&t&&(s2(),U(0,oX,2,0,"div",0),H(1,"div",1),Z("panleft",function(o){return i.onPanLeft(o)})("panright",function(o){return i.onPanRight(o)}),H(2,"div",2),U(3,aX,2,16,"div",3),k(),l2(4),k()),2&t&&(w("ngIf",i.wait),L(2),w("ngClass",i.isDesktop?"panzoom":"panzoom mobile")("zoomActive",!0)("file",i.file),L(1),w("ngForOf",null==i.file?null:i.file.pages))},dependencies:[at,Q4,Ne,wh,fo,hs,Sh],styles:['[_nghost-%COMP%]{-webkit-box-flex:1;flex:1;-webkit-transition:.4s;transition:.4s;background-color:#e7e7e7;height:100%;overflow-y:hidden;touch-action:auto!important;overflow-x:hidden}[_nghost-%COMP%] .document[_ngcontent-%COMP%]{-webkit-user-select:text!important;-moz-user-select:text!important;-ms-user-select:text!important;user-select:text!important;touch-action:auto!important}.page[_ngcontent-%COMP%]{display:inline-block;margin:20px;-webkit-transition:.3s;transition:.3s}.page[_ngcontent-%COMP%] gd-page{box-shadow:0 3px 6px rgba(0,0,0,.16);background-color:#fff}.page.presentation[_ngcontent-%COMP%]{-webkit-transition:unset;transition:unset;margin:0;width:100%!important;display:-webkit-box!important;display:flex!important;-webkit-box-pack:center!important;justify-content:center!important}.page.presentation.vertical[_ngcontent-%COMP%]{margin:0;width:100%!important;display:-webkit-box!important;display:flex!important;-webkit-box-pack:center!important;justify-content:center!important}.page.presentation.vertical[_ngcontent-%COMP%] [class*="-rotate"]{position:unset!important;margin-right:-240px}.page.presentation.vertical[_ngcontent-%COMP%] gd-page{height:960pt;width:540pt}.wait[_ngcontent-%COMP%]{position:absolute;top:55px;left:Calc(30%)}.panzoom[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;flex-wrap:wrap;align-content:flex-start}@media (max-width:1037px){[_nghost-%COMP%]{overflow-y:unset}.page[_ngcontent-%COMP%]{min-width:unset!important;min-height:unset!important;margin:5px 0}.page[_ngcontent-%COMP%] .gd-wrapper{pointer-events:none}}']}),e})();const dX={Click:"\u0627\u0646\u0642\u0631","to open file":"\u0644\u0641\u062a\u062d \u0627\u0644\u0645\u0644\u0641","Or drop file here":"\u0623\u0648 \u0642\u0645 \u0628\u0625\u0633\u0642\u0627\u0637 \u0627\u0644\u0645\u0644\u0641 \u0647\u0646\u0627","Browse files":"\u062a\u0635\u0641\u062d \u0645\u0644\u0641\u0627\u062a","Zoom In":"\u062a\u0643\u0628\u064a\u0631","Zoom Out":"\u062a\u0635\u063a\u064a\u0631","First Page":"\u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u0623\u0648\u0644\u0649","Previous Page":"\u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629","Next Page":"\u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u062a\u0627\u0644\u064a\u0629","Last Page":"\u0622\u062e\u0631 \u0635\u0641\u062d\u0629","Rotate CCW":"\u062a\u062f\u0648\u064a\u0631 CCW","Rotate CW":"\u062a\u062f\u0648\u064a\u0631 CW",Download:"\u062a\u062d\u0645\u064a\u0644",Print:"\u0645\u0637\u0628\u0639\u0629",Search:"\u0628\u062d\u062b","Run presentation":"\u062a\u0634\u063a\u064a\u0644 \u0627\u0644\u0639\u0631\u0636 \u0627\u0644\u062a\u0642\u062f\u064a\u0645\u064a",Present:"\u0627\u0644\u062d\u0627\u0644\u064a",Stop:"\u0642\u0641","Stop presenting":"\u062a\u0648\u0642\u0641 \u0639\u0646 \u0627\u0644\u062a\u0642\u062f\u064a\u0645","Resume presenting":"\u0627\u0633\u062a\u0626\u0646\u0627\u0641 \u0627\u0644\u062a\u0642\u062f\u064a\u0645","Pause presenting":"\u062a\u0648\u0642\u0641 \u0645\u0624\u0642\u062a\u064b\u0627 \u0639\u0646 \u0627\u0644\u062a\u0642\u062f\u064a\u0645",None:"\u0644\u0627 \u0623\u062d\u062f","5 sec":"5 \u062b\u0648\u0627\u0646\u0649","10 sec":"10 \u062b\u0648\u0627\u0646\u0649","15 sec":"15 \u062b\u0627\u0646\u064a\u0629","30 sec":"30 \u062b\u0627\u0646\u064a\u0629",Thumbnails:"\u0627\u0644\u0645\u0635\u063a\u0631\u0627\u062a"},hX={Click:"Feu clic a","to open file":"per obrir el fitxer","Or drop file here":"O deixeu anar el fitxer aqu\xed","Browse files":"Cercar fitxers","Zoom In":"Apropar","Zoom Out":"Disminuir el zoom","First Page":"Primera p\xe0gina","Previous Page":"P\xe0gina anterior","Next Page":"P\xe0gina seg\xfcent","Last Page":"Darrera p\xe0gina","Rotate CCW":"Gira CCW","Rotate CW":"Gira CW",Download:"descarregar",Print:"Imprimir",Search:"Cerca","Run presentation":"Executa la presentaci\xf3",Present:"Present",Stop:"Atura","Stop presenting":"Deixa de presentar-te","Resume presenting":"Repr\xe8n la presentaci\xf3","Pause presenting":"Posa en pausa la presentaci\xf3",None:"Cap","5 sec":"5 seg","10 sec":"10 seg","15 sec":"15 seg","30 sec":"30 seg",Thumbnails:"Miniatures"},pX={Click:"Klikn\u011bte","to open file":"k otev\u0159en\xed souboru","Or drop file here":"Nebo sem p\u0159et\xe1hn\u011bte soubor","Browse files":"Proch\xe1zet soubory","Zoom In":"P\u0159ibl\xed\u017eit","Zoom Out":"Odd\xe1lit","First Page":"Prvn\xed strana","Previous Page":"P\u0159edchoz\xed str\xe1nka","Next Page":"Dal\u0161\xed strana","Last Page":"Posledn\xed strana","Rotate CCW":"Oto\u010dit CCW","Rotate CW":"Oto\u010dit CW",Download:"Sta\u017een\xed",Print:"Tisk",Search:"Vyhled\xe1v\xe1n\xed","Run presentation":"Spustit prezentaci",Present:"Sou\u010dasnost, d\xe1rek",Stop:"Stop","Stop presenting":"P\u0159esta\u0148te prezentovat","Resume presenting":"Obnovte prezentaci","Pause presenting":"Pozastavit prezentaci",None:"\u017d\xe1dn\xfd","5 sec":"5 s","10 sec":"10 s","15 sec":"15 s","30 sec":"30 s",Thumbnails:"Miniatury"},mX={Click:"Klik p\xe5","to open file":"for at \xe5bne filen","Or drop file here":"Eller slip filen her","Browse files":"Gennemse filer","Zoom In":"Zoom ind","Zoom Out":"Zoome ud","First Page":"F\xf8rste side","Previous Page":"Forrige side","Next Page":"N\xe6ste side","Last Page":"Sidste side","Rotate CCW":"Drej CCW","Rotate CW":"Drej CW",Download:"Hent",Print:"Print",Search:"S\xf8g","Run presentation":"K\xf8r pr\xe6sentation",Present:"Til stede",Stop:"Hold op","Stop presenting":"Stop med at pr\xe6sentere","Resume presenting":"Genoptag pr\xe6sentationen","Pause presenting":"Hold pause med pr\xe6sentationen",None:"Ingen","5 sec":"5 sek","10 sec":"10 sek","15 sec":"15 sek","30 sec":"30 sek",Thumbnails:"Miniaturebilleder"},gX={Click:"Klicken","to open file":"Datei \xf6ffnen","Or drop file here":"Oder Datei hier ablegen","Browse files":"Dateien durchsuchen","Zoom In":"Hineinzoomen","Zoom Out":"Rauszoomen","First Page":"Erste Seite","Previous Page":"Vorherige Seite","Next Page":"N\xe4chste Seite","Last Page":"Letzte Seite","Rotate CCW":"Gegen den Uhrzeigersinn drehen","Rotate CW":"Im Uhrzeigersinn drehen",Download:"Herunterladen",Print:"Drucken",Search:"Suche","Run presentation":"Pr\xe4sentation ausf\xfchren",Present:"Gegenw\xe4rtig",Stop:"Halt","Stop presenting":"H\xf6r auf zu pr\xe4sentieren","Resume presenting":"Pr\xe4sentation fortsetzen","Pause presenting":"Pr\xe4sentation unterbrechen",None:"Keiner","5 sec":"5 Sek.","10 sec":"10 Sek.","15 sec":"15 Sek.","30 sec":"30 Sekunden",Thumbnails:"Miniaturansichten"},vX={Click:"\u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba","to open file":"\u03b3\u03b9\u03b1 \u03ac\u03bd\u03bf\u03b9\u03b3\u03bc\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5","Or drop file here":"Or \u03c1\u03af\u03be\u03c4\u03b5 \u03c4\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03bf \u03b5\u03b4\u03ce","Browse files":"\u0395\u039e\u0395\u03a1\u0395\u03a5\u039d\u0397\u03a3\u0397 \u0391\u03a1\u03a7\u0395\u0399\u03a9\u039d","Zoom In":"\u039c\u03b5\u03b3\u03ad\u03b8\u03c5\u03bd\u03c3\u03b7","Zoom Out":"\u03a3\u03bc\u03af\u03ba\u03c1\u03c5\u03bd\u03c3\u03b7","First Page":"\u03a0\u03c1\u03ce\u03c4\u03b7 \u03c3\u03b5\u03bb\u03af\u03b4\u03b1","Previous Page":"\u03a0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7 \u03c3\u03b5\u03bb\u03af\u03b4\u03b1","Next Page":"\u0395\u03c0\u03cc\u03bc\u03b5\u03bd\u03b7 \u03c3\u03b5\u03bb\u03af\u03b4\u03b1","Last Page":"\u03a4\u03b5\u03bb\u03b5\u03c5\u03c4\u03b1\u03af\u03b1 \u03c3\u03b5\u03bb\u03af\u03b4\u03b1","Rotate CCW":"\u03a0\u03b5\u03c1\u03b9\u03c3\u03c4\u03c1\u03bf\u03c6\u03ae CCW","Rotate CW":"\u03a0\u03b5\u03c1\u03b9\u03c3\u03c4\u03c1\u03bf\u03c6\u03ae CW",Download:"\u039a\u03b1\u03c4\u03b5\u03b2\u03ac\u03c3\u03c4\u03b5",Print:"\u03a4\u03c5\u03c0\u03ce\u03bd\u03c9",Search:"\u0391\u03bd\u03b1\u03b6\u03ae\u03c4\u03b7\u03c3\u03b7","Run presentation":"\u0395\u03ba\u03c4\u03ad\u03bb\u03b5\u03c3\u03b7 \u03c0\u03b1\u03c1\u03bf\u03c5\u03c3\u03af\u03b1\u03c3\u03b7\u03c2",Present:"\u03a0\u03b1\u03c1\u03cc\u03bd",Stop:"\u039d\u03b1 \u03c3\u03c4\u03b1\u03bc\u03b1\u03c4\u03ae\u03c3\u03b5\u03b9","Stop presenting":"\u03a3\u03c4\u03b1\u03bc\u03b1\u03c4\u03ae\u03c3\u03c4\u03b5 \u03bd\u03b1 \u03c0\u03b1\u03c1\u03bf\u03c5\u03c3\u03b9\u03ac\u03b6\u03b5\u03c4\u03b5","Resume presenting":"\u03a3\u03c5\u03bd\u03ad\u03c7\u03b9\u03c3\u03b7 \u03c0\u03b1\u03c1\u03bf\u03c5\u03c3\u03af\u03b1\u03c3\u03b7\u03c2","Pause presenting":"\u03a0\u03b1\u03cd\u03c3\u03b7 \u03c0\u03b1\u03c1\u03bf\u03c5\u03c3\u03af\u03b1\u03c3\u03b7\u03c2",None:"\u039a\u03b1\u03bd\u03ad\u03bd\u03b1\u03c2","5 sec":"5 \u03b4\u03b5\u03c5\u03c4","10 sec":"10 \u03b4\u03b5\u03c5\u03c4","15 sec":"15 \u03b4\u03b5\u03c5\u03c4","30 sec":"30 \u03b4\u03b5\u03c5\u03c4",Thumbnails:"\u039c\u03b9\u03ba\u03c1\u03bf\u03b3\u03c1\u03b1\u03c6\u03af\u03b5\u03c2"},_X={Click:"Click","to open file":"to open file","Or drop file here":"Or drop file here","Browse files":"Browse files","Zoom In":"Zoom In","Zoom Out":"Zoom Out","First Page":"First Page","Previous Page":"Previous Page","Next Page":"Next Page","Last Page":"Last Page","Rotate CCW":"Rotate CCW","Rotate CW":"Rotate CW",Download:"Download",Print:"Print",Search:"Search","Run presentation":"Run presentation",Present:"Present",Stop:"Stop","Stop presenting":"Stop presenting","Resume presenting":"Resume presenting","Pause presenting":"Pause presenting",None:"None","5 sec":"5 sec","10 sec":"10 sec","15 sec":"15 sec","30 sec":"30 sec",Thumbnails:"Thumbnails"},CX={Click:"Hacer clic","to open file":"abrir archivo","Or drop file here":"O suelte el archivo aqu\xed","Browse files":"B\xfasqueda de archivos","Zoom In":"Acercarse","Zoom Out":"Disminuir el zoom","First Page":"Primera p\xe1gina","Previous Page":"Pagina anterior","Next Page":"Siguiente p\xe1gina","Last Page":"\xdaltima p\xe1gina","Rotate CCW":"Girar CCW","Rotate CW":"Girar CW",Download:"Descargar",Print:"Impresi\xf3n",Search:"Buscar","Run presentation":"Ejecutar presentaci\xf3n",Present:"Regalo",Stop:"Parada","Stop presenting":"Deja de presentar","Resume presenting":"Reanudar la presentaci\xf3n","Pause presenting":"Pausar presentaci\xf3n",None:"Ninguno","5 sec":"5 segundos","10 sec":"10 segundos","15 sec":"15 segundos","30 sec":"30 segundos",Thumbnails:"Miniaturas"},bX={Click:"Mag-click","to open file":"upang buksan ang file","Or drop file here":"O ihulog ang file dito","Browse files":"Mag-browse ng Mga file","Zoom In":"Palakihin","Zoom Out":"Mag-zoom Out","First Page":"Unang pahina","Previous Page":"Nakaraang pahina","Next Page":"Susunod na pahina","Last Page":"Huling pahina","Rotate CCW":"Paikutin ang CCW","Rotate CW":"Paikutin ang CW",Download:"Mag-download",Print:"I-print",Search:"Maghanap","Run presentation":"Patakbuhin ang pagtatanghal",Present:"Kasalukuyan",Stop:"Tigilan mo na","Stop presenting":"Huwag nang iharap","Resume presenting":"Ipagpatuloy ang pagtatanghal","Pause presenting":"I-pause ang pagtatanghal",None:"Wala","5 sec":"5 sec","10 sec":"10 sec","15 sec":"15 sec","30 sec":"30 sec",Thumbnails:"Mga Thumbnail"},yX={Click:"Cliquez sur","to open file":"ouvrir le fichier","Or drop file here":"Ou d\xe9posez le fichier ici","Browse files":"Parcourir les fichiers","Zoom In":"Agrandir","Zoom Out":"D\xe9zoomer","First Page":"Premi\xe8re page","Previous Page":"Page pr\xe9c\xe9dente","Next Page":"Page suivante","Last Page":"Derni\xe8re page","Rotate CCW":"Rotation dans le sens antihoraire","Rotate CW":"Rotation CW",Download:"T\xe9l\xe9charger",Print:"Imprimer",Search:"Chercher","Run presentation":"Ex\xe9cuter la pr\xe9sentation",Present:"Pr\xe9sent",Stop:"Arr\xeater","Stop presenting":"Arr\xeater de pr\xe9senter","Resume presenting":"Reprendre la pr\xe9sentation","Pause presenting":"Suspendre la pr\xe9sentation",None:"Rien","5 sec":"5 secondes","10 sec":"10 secondes","15 sec":"15 secondes","30 sec":"30 secondes",Thumbnails:"Vignettes"},MX={Click:"\u05e0\u05b0\u05e7\u05b4\u05d9\u05e9\u05c1\u05b8\u05d4","to open file":"\u05dc\u05e4\u05ea\u05d9\u05d7\u05ea \u05d4\u05e7\u05d5\u05d1\u05e5","Or drop file here":"\u05d0\u05d5 \u05e9\u05d7\u05e8\u05e8 \u05e7\u05d5\u05d1\u05e5 \u05db\u05d0\u05df","Browse files":"\u05e2\u05d9\u05d5\u05df \u05d1\u05e7\u05d1\u05e6\u05d9\u05dd","Zoom In":"\u05dc\u05b0\u05d4\u05b4\u05ea\u05b0\u05de\u05b7\u05e7\u05b5\u05d3","Zoom Out":"\u05dc\u05d4\u05e7\u05d8\u05d9\u05df \u05d0\u05ea \u05d4\u05ea\u05e6\u05d5\u05d2\u05d4","First Page":"\u05e2\u05de\u05d5\u05d3 \u05e8\u05d0\u05e9\u05d5\u05df","Previous Page":"\u05e2\u05de\u05d5\u05d3 \u05e7\u05d5\u05d3\u05dd","Next Page":"\u05e2\u05de\u05d5\u05d3 \u05d4\u05d1\u05d0","Last Page":"\u05e2\u05de\u05d5\u05d3 \u05d0\u05d7\u05e8\u05d5\u05df","Rotate CCW":"\u05e1\u05d5\u05d1\u05d1 CCW","Rotate CW":"\u05e1\u05d5\u05d1\u05d1 \u05d0\u05ea CW",Download:"\u05d4\u05d5\u05e8\u05d3",Print:"\u05d4\u05d3\u05e4\u05e1",Search:"\u05dc\u05d7\u05e4\u05e9","Run presentation":"\u05d4\u05e4\u05e2\u05dc \u05de\u05e6\u05d2\u05ea",Present:"\u05de\u05ea\u05e0\u05d4",Stop:"\u05ea\u05e4\u05e1\u05d9\u05e7","Stop presenting":"\u05ea\u05e4\u05e1\u05d9\u05e7 \u05dc\u05d4\u05e6\u05d9\u05d2","Resume presenting":"\u05d4\u05de\u05e9\u05da \u05dc\u05d4\u05e6\u05d9\u05d2","Pause presenting":"\u05d4\u05e9\u05d4\u05d4 \u05d0\u05ea \u05d4\u05d4\u05e6\u05d2\u05d4",None:"\u05d0\u05e3 \u05d0\u05d7\u05d3","5 sec":"5 \u05e9\u05e0\u05d9\u05d5\u05ea","10 sec":"10 \u05e9\u05e0\u05d9\u05d5\u05ea","15 sec":"15 \u05e9\u05e0\u05d9\u05d5\u05ea","30 sec":"30 \u05e9\u05e0\u05d9\u05d5\u05ea",Thumbnails:"\u05ea\u05de\u05d5\u05e0\u05d5\u05ea \u05de\u05de\u05d5\u05d6\u05e2\u05e8\u05d5\u05ea"},wX={Click:"\u0915\u094d\u0932\u093f\u0915","to open file":"\u092b\u093c\u093e\u0907\u0932 \u0916\u094b\u0932\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f","Or drop file here":"\u092f\u093e \u092b\u093c\u093e\u0907\u0932 \u092f\u0939\u093e\u0901 \u091b\u094b\u0921\u093c\u0947\u0902","Browse files":"\u092b\u093e\u0907\u0932\u094b\u0902 \u092e\u0947\u0902 \u0916\u094b\u091c\u0947\u0902","Zoom In":"\u091c\u093c\u0942\u092e \u0907\u0928","Zoom Out":"\u091c\u093c\u0942\u092e \u0906\u0909\u091f","First Page":"\u092a\u0939\u0932\u093e \u092a\u0928\u094d\u0928\u093e","Previous Page":"\u092a\u093f\u091b\u0932\u093e \u092a\u0943\u0937\u094d\u0920","Next Page":"\u0905\u0917\u0932\u093e \u092a\u0943\u0937\u094d\u0920","Last Page":"\u0905\u0902\u0924\u093f\u092e \u092a\u0943\u0937\u094d\u0920","Rotate CCW":"\u0938\u0940\u0938\u0940\u0921\u092c\u094d\u0932\u094d\u092f\u0942 \u0918\u0941\u092e\u093e\u090f\u0901","Rotate CW":"\u0938\u0940\u0921\u092c\u094d\u0932\u094d\u092f\u0942 \u0918\u0941\u092e\u093e\u090f\u0901",Download:"\u0921\u093e\u0909\u0928\u0932\u094b\u0921",Print:"\u091b\u093e\u092a",Search:"\u0916\u094b\u091c","Run presentation":"\u092a\u094d\u0930\u0938\u094d\u0924\u0941\u0924\u093f \u091a\u0932\u093e\u090f\u0902",Present:"\u0935\u0930\u094d\u0924\u092e\u093e\u0928",Stop:"\u0935\u093f\u0930\u093e\u092e","Stop presenting":"\u092a\u094d\u0930\u0938\u094d\u0924\u0941\u0924 \u0915\u0930\u0928\u093e \u092c\u0902\u0926 \u0915\u0930\u0947\u0902","Resume presenting":"\u092a\u094d\u0930\u0938\u094d\u0924\u0941\u0924 \u0915\u0930\u0928\u093e \u092b\u093f\u0930 \u0938\u0947 \u0936\u0941\u0930\u0942 \u0915\u0930\u0947\u0902","Pause presenting":"\u092a\u094d\u0930\u0938\u094d\u0924\u0941\u0924 \u0915\u0930\u0928\u093e \u0930\u094b\u0915\u0947\u0902",None:"\u0915\u094b\u0908 \u0928\u0939\u0940\u0902","5 sec":"5 \u0938\u0947\u0915\u0902\u0921","10 sec":"10 \u0938\u0947\u0915\u0902\u0921","15 sec":"\u0967\u096b \u0938\u0947\u0915\u0902\u0921","30 sec":"\u0969\u0966 \u0938\u0947\u0915\u0902\u0921",Thumbnails:"\u0925\u0902\u092c\u0928\u0947\u0932"},xX={Click:"Klik","to open file":"untuk membuka file","Or drop file here":"Atau letakkan file di sini","Browse files":"Mencari berkas","Zoom In":"Perbesar","Zoom Out":"Perkecil","First Page":"Halaman pertama","Previous Page":"Halaman sebelumnya","Next Page":"Halaman selanjutnya","Last Page":"Halaman terakhir","Rotate CCW":"Putar CCW","Rotate CW":"Putar CW",Download:"Unduh",Print:"Mencetak",Search:"Mencari","Run presentation":"Jalankan presentasi",Present:"Hadiah",Stop:"Berhenti","Stop presenting":"Berhenti menyajikan","Resume presenting":"Lanjutkan presentasi","Pause presenting":"Jeda presentasi",None:"Tidak ada","5 sec":"5 detik","10 sec":"10 detik","15 sec":"15 detik","30 sec":"30 detik",Thumbnails:"Gambar kecil"},zX={Click:"Clic","to open file":"per aprire il file","Or drop file here":"Oppure trascina il file qui","Browse files":"Sfoglia i file","Zoom In":"Ingrandire","Zoom Out":"Rimpicciolisci","First Page":"Prima pagina","Previous Page":"Pagina precedente","Next Page":"Pagina successiva","Last Page":"Ultima pagina","Rotate CCW":"Ruota in senso antiorario","Rotate CW":"Ruota in senso orario",Download:"Scarica",Print:"Stampa",Search:"Ricerca","Run presentation":"Esegui presentazione",Present:"Regalo",Stop:"Fermare","Stop presenting":"Smettila di presentare","Resume presenting":"Riprendi a presentare","Pause presenting":"Metti in pausa la presentazione",None:"Nessuno","5 sec":"5 secondi","10 sec":"10 secondi","15 sec":"15 secondi","30 sec":"30 secondi",Thumbnails:"Miniature"},DX={Click:"\u30af\u30ea\u30c3\u30af","to open file":"\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f","Or drop file here":"\u307e\u305f\u306f\u3001\u3053\u3053\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30c9\u30ed\u30c3\u30d7\u3057\u307e\u3059","Browse files":"\u30d6\u30e9\u30a6\u30ba\u30d5\u30a1\u30a4\u30eb","Zoom In":"\u30ba\u30fc\u30e0\u30a4\u30f3","Zoom Out":"\u30ba\u30fc\u30e0\u30a2\u30a6\u30c8\u3059\u308b","First Page":"\u5148\u982d\u30da\u30fc\u30b8","Previous Page":"\u524d\u306e\u30da\u30fc\u30b8","Next Page":"\u6b21\u306e\u30da\u30fc\u30b8","Last Page":"\u6700\u5f8c\u306e\u30da\u30fc\u30b8","Rotate CCW":"CCW\u3092\u56de\u8ee2\u3055\u305b\u308b","Rotate CW":"CW\u3092\u56de\u8ee2\u3055\u305b\u308b",Download:"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9",Print:"\u5370\u5237",Search:"\u691c\u7d22","Run presentation":"\u30d7\u30ec\u30bc\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b",Present:"\u73fe\u5728",Stop:"\u3084\u3081\u308b","Stop presenting":"\u63d0\u793a\u3092\u505c\u6b62\u3057\u307e\u3059","Resume presenting":"\u767a\u8868\u3092\u518d\u958b\u3059\u308b","Pause presenting":"\u63d0\u793a\u3092\u4e00\u6642\u505c\u6b62",None:"\u306a\u3057","5 sec":"5\u79d2","10 sec":"10\u79d2","15 sec":"15\u79d2","30 sec":"30\u79d2",Thumbnails:"\u30b5\u30e0\u30cd\u30a4\u30eb"},SX={Click:"\u0428\u0435\u0440\u0442\u0456\u04a3\u0456\u0437","to open file":"\u0444\u0430\u0439\u043b\u0434\u044b \u0430\u0448\u0443 \u04af\u0448\u0456\u043d","Or drop file here":"\u041d\u0435\u043c\u0435\u0441\u0435 \u0444\u0430\u0439\u043b\u0434\u044b \u043e\u0441\u044b\u043d\u0434\u0430 \u0442\u0430\u0441\u0442\u0430\u04a3\u044b\u0437","Browse files":"\u0424\u0430\u0439\u043b\u0434\u0430\u0440\u0434\u044b \u0448\u043e\u043b\u0443","Zoom In":"\u04ae\u043b\u043a\u0435\u0439\u0442\u0443","Zoom Out":"\u041a\u0456\u0448\u0456\u0440\u0435\u0439\u0442\u0443","First Page":"\u0411\u0456\u0440\u0456\u043d\u0448\u0456 \u0431\u0435\u0442","Previous Page":"\u0410\u043b\u0434\u044b\u04a3\u0493\u044b \u0431\u0435\u0442","Next Page":"\u041a\u0435\u043b\u0435\u0441\u0456 \u0431\u0435\u0442","Last Page":"\u0421\u043e\u04a3\u0493\u044b \u0431\u0435\u0442","Rotate CCW":"CCW \u0430\u0439\u043d\u0430\u043b\u0434\u044b\u0440\u0443","Rotate CW":"CW \u0430\u0439\u043d\u0430\u043b\u0434\u044b\u0440\u0443",Download:"\u0416\u04af\u043a\u0442\u0435\u0443",Print:"\u0411\u0430\u0441\u044b\u043f \u0448\u044b\u0493\u0430\u0440\u0443",Search:"\u0406\u0437\u0434\u0435\u0443","Run presentation":"\u041f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u044f\u043d\u044b \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u044b\u04a3\u044b\u0437",Present:"\u04b0\u0441\u044b\u043d\u0443",Stop:"\u0422\u043e\u049b\u0442\u0430","Stop presenting":"\u041a\u04e9\u0440\u0441\u0435\u0442\u0443\u0434\u0456 \u0442\u043e\u049b\u0442\u0430\u0442\u044b\u04a3\u044b\u0437","Resume presenting":"\u04b0\u0441\u044b\u043d\u0443\u0434\u044b \u0436\u0430\u043b\u0493\u0430\u0441\u0442\u044b\u0440\u0443","Pause presenting":"\u04b0\u0441\u044b\u043d\u0443\u0434\u044b \u043a\u0456\u0434\u0456\u0440\u0442\u0443",None:"\u0415\u0448\u049b\u0430\u0439\u0441\u044b\u0441\u044b","5 sec":"5 \u0441\u0435\u043a","10 sec":"10 \u0441\u0435\u043a","15 sec":"15 \u0441\u0435\u043a","30 sec":"30 \u0441\u0435\u043a",Thumbnails:"\u041d\u043e\u0431\u0430\u0439\u043b\u0430\u0440"},PX={Click:"\ub538\uae4d \ud558\ub294 \uc18c\ub9ac","to open file":"\ud30c\uc77c\uc744 \uc5f4\ub2e4","Or drop file here":"\ub610\ub294 \uc5ec\uae30\uc5d0 \ud30c\uc77c\uc744 \ub4dc\ub86d","Browse files":"\ud30c\uc77c \ucc3e\uc544\ubcf4\uae30","Zoom In":"\ud655\ub300","Zoom Out":"\ucd95\uc18c","First Page":"\uccab \ud398\uc774\uc9c0","Previous Page":"\uc774\uc804 \ud398\uc774\uc9c0","Next Page":"\ub2e4\uc74c \ud398\uc774\uc9c0","Last Page":"\ub9c8\uc9c0\ub9c9 \ud398\uc774\uc9c0","Rotate CCW":"\uc2dc\uacc4 \ubc18\ub300 \ubc29\ud5a5\uc73c\ub85c \ud68c\uc804","Rotate CW":"\uc2dc\uacc4 \ubc29\ud5a5\uc73c\ub85c \ud68c\uc804",Download:"\ub2e4\uc6b4\ub85c\ub4dc",Print:"\uc778\uc1c4",Search:"\ucc3e\ub2e4","Run presentation":"\ud504\ub808\uc820\ud14c\uc774\uc158 \uc2e4\ud589",Present:"\ud604\uc7ac\uc758",Stop:"\uc911\uc9c0","Stop presenting":"\ubc1c\ud45c \uc911\uc9c0","Resume presenting":"\ud504\ub808\uc820\ud14c\uc774\uc158 \uc7ac\uac1c","Pause presenting":"\ubc1c\ud45c \uc77c\uc2dc\uc911\uc9c0",None:"\uc5c6\uc74c","5 sec":"5\ucd08","10 sec":"10\ucd08","15 sec":"15\ucd08","30 sec":"30\ucd08",Thumbnails:"\uc378\ub124\uc77c"},TX={Click:"Klik","to open file":"untuk membuka fail","Or drop file here":"Atau jatuhkan fail di sini","Browse files":"Semak imbas fail","Zoom In":"Mengezum masuk","Zoom Out":"Zum keluar","First Page":"Muka surat pertama","Previous Page":"Halaman sebelumnya","Next Page":"Muka surat seterusnya","Last Page":"Muka surat terakhir","Rotate CCW":"Putar CCW","Rotate CW":"Putar CW",Download:"Muat turun",Print:"Cetak",Search:"Cari","Run presentation":"Jalankan persembahan",Present:"Hadir",Stop:"Berhenti","Stop presenting":"Berhenti membentangkan","Resume presenting":"Sambung semula pembentangan","Pause presenting":"Jeda pembentangan",None:"Tiada","5 sec":"5 saat","10 sec":"10 saat","15 sec":"15 saat","30 sec":"30 saat",Thumbnails:"Gambar kecil"},LX={Click:"Klik","to open file":"bestand openen","Or drop file here":"Of zet het bestand hier neer","Browse files":"Bestanden doorbladeren","Zoom In":"In zoomen","Zoom Out":"Uitzoomen","First Page":"Eerste pagina","Previous Page":"Vorige pagina","Next Page":"Volgende bladzijde","Last Page":"Laatste pagina","Rotate CCW":"Linksom draaien","Rotate CW":"Draai CW",Download:"Downloaden",Print:"Afdrukken",Search:"Zoeken","Run presentation":"Presentatie uitvoeren",Present:"Cadeau",Stop:"Stop","Stop presenting":"Stop met presenteren","Resume presenting":"Presentatie hervatten","Pause presenting":"Presentatie pauzeren",None:"Geen","5 sec":"5 seconden","10 sec":"10 seconden","15 sec":"15 seconden","30 sec":"30 seconden",Thumbnails:"Miniaturen"},EX={Click:"Kliknij","to open file":"otworzy\u0107 plik","Or drop file here":"Lub upu\u015b\u0107 plik tutaj","Browse files":"Przegl\u0105daj pliki","Zoom In":"Zbli\u017cenie","Zoom Out":"Pomniejsz","First Page":"Pierwsza strona","Previous Page":"Poprzednia strona","Next Page":"Nast\u0119pna strona","Last Page":"Ostatnia strona","Rotate CCW":"Obr\xf3\u0107 w lewo","Rotate CW":"Obr\xf3\u0107 w prawo",Download:"Pobiera\u0107",Print:"Wydrukowa\u0107",Search:"Szukaj","Run presentation":"Uruchom prezentacj\u0119",Present:"Obecny",Stop:"Zatrzyma\u0107","Stop presenting":"Zatrzymaj prezentacj\u0119","Resume presenting":"Wzn\xf3w prezentacj\u0119","Pause presenting":"Wstrzymaj prezentacj\u0119",None:"Nic","5 sec":"5 sekund","10 sec":"10 sekund","15 sec":"15 sekund","30 sec":"30 sekund",Thumbnails:"Miniatury"},HX={Click:"Clique","to open file":"para abrir arquivo","Or drop file here":"Ou solte o arquivo aqui","Browse files":"Navegar nos arquivos","Zoom In":"Mais Zoom","Zoom Out":"Reduzir o zoom","First Page":"Primeira p\xe1gina","Previous Page":"P\xe1gina anterior","Next Page":"Pr\xf3xima p\xe1gina","Last Page":"\xdaltima p\xe1gina","Rotate CCW":"Girar no sentido anti-hor\xe1rio","Rotate CW":"Girar no sentido hor\xe1rio",Download:"Download",Print:"Imprimir",Search:"Procurar","Run presentation":"Executar apresenta\xe7\xe3o",Present:"Presente",Stop:"Pare","Stop presenting":"Pare de apresentar","Resume presenting":"Retomar apresenta\xe7\xe3o","Pause presenting":"Pausar apresenta\xe7\xe3o",None:"Nenhum","5 sec":"5 s","10 sec":"10 s","15 sec":"15 s","30 sec":"30 s",Thumbnails:"Miniaturas"},AX={Click:"Clic","to open file":"pentru a deschide fi\u0219ierul","Or drop file here":"Sau arunca\u021bi fi\u0219ierul aici","Browse files":"Cauta fisiere","Zoom In":"Mareste","Zoom Out":"A micsora","First Page":"Prima pagina","Previous Page":"Pagina precedent\u0103","Next Page":"Pagina urm\u0103toare","Last Page":"Ultima pagina","Rotate CCW":"Roti\u021bi CCW","Rotate CW":"Roti\u021bi CW",Download:"Descarca",Print:"Imprimare",Search:"C\u0103utare","Run presentation":"Rula\u021bi prezentarea",Present:"Prezent",Stop:"Stop","Stop presenting":"Nu mai prezenta","Resume presenting":"Relua\u021bi prezentarea","Pause presenting":"Pauz\u0103 prezentare",None:"Nici unul","5 sec":"5 sec","10 sec":"10 sec","15 sec":"15 sec","30 sec":"30 sec",Thumbnails:"Miniaturi"},NX={Click:"\u041d\u0430\u0436\u043c\u0438\u0442\u0435","to open file":"\u0447\u0442\u043e\u0431\u044b \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0444\u0430\u0439\u043b","Or drop file here":"\u0418\u043b\u0438 \u043f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0444\u0430\u0439\u043b \u0441\u044e\u0434\u0430","Browse files":"\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0444\u0430\u0439\u043b\u043e\u0432","Zoom In":"\u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c","Zoom Out":"\u0423\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c","First Page":"\u041f\u0435\u0440\u0432\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","Previous Page":"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","Next Page":"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430","Last Page":"\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","Rotate CCW":"\u041f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043f\u0440\u043e\u0442\u0438\u0432 \u0447\u0430\u0441\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u0435\u043b\u043a\u0438","Rotate CW":"\u041f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043f\u043e \u0447\u0430\u0441\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u0435\u043b\u043a\u0435",Download:"\u0421\u043a\u0430\u0447\u0430\u0442\u044c",Print:"\u0420\u0430\u0441\u043f\u0435\u0447\u0430\u0442\u0430\u0442\u044c",Search:"\u041f\u043e\u0438\u0441\u043a","Run presentation":"\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u044e",Present:"\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u044e",Stop:"\u0421\u0442\u043e\u043f","Stop presenting":"\u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u044e","Resume presenting":"\u0412\u043e\u0437\u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u044e","Pause presenting":"\u041f\u0440\u0438\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u044e",None:"-","5 sec":"5 \u0441\u0435\u043a.","10 sec":"10 \u0441\u0435\u043a.","15 sec":"15 \u0441\u0435\u043a.","30 sec":"30 \u0441\u0435\u043a.",Thumbnails:"\u041c\u0438\u043d\u0438\u0430\u0442\u044e\u0440\u044b"},IX={Click:"Klick","to open file":"f\xf6r att \xf6ppna filen","Or drop file here":"Eller sl\xe4pp filen h\xe4r","Browse files":"Bl\xe4ddra bland filer","Zoom In":"Zooma in","Zoom Out":"Zooma ut","First Page":"F\xf6rsta sidan","Previous Page":"F\xf6reg\xe5ende sida","Next Page":"N\xe4sta sida","Last Page":"Sista sidan","Rotate CCW":"Vrid CCW","Rotate CW":"Rotera CW",Download:"Ladda ner",Print:"Skriva ut",Search:"S\xf6k","Run presentation":"K\xf6r presentationen",Present:"N\xe4rvarande",Stop:"Sluta","Stop presenting":"Sluta presentera","Resume presenting":"\xc5teruppta presentationen","Pause presenting":"Pausa presentationen",None:"Ingen","5 sec":"5 sek","10 sec":"10 sek","15 sec":"15 sek","30 sec":"30 sek",Thumbnails:"Miniatyrer"},kX={Click:"\u0e04\u0e25\u0e34\u0e01","to open file":"\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e1b\u0e34\u0e14\u0e44\u0e1f\u0e25\u0e4c","Or drop file here":"\u0e2b\u0e23\u0e37\u0e2d\u0e27\u0e32\u0e07\u0e44\u0e1f\u0e25\u0e4c\u0e17\u0e35\u0e48\u0e19\u0e35\u0e48","Browse files":"\u0e40\u0e23\u0e35\u0e22\u0e01\u0e14\u0e39\u0e44\u0e1f\u0e25\u0e4c","Zoom In":"\u0e02\u0e22\u0e32\u0e22\u0e40\u0e02\u0e49\u0e32","Zoom Out":"\u0e0b\u0e39\u0e21\u0e2d\u0e2d\u0e01","First Page":"\u0e2b\u0e19\u0e49\u0e32\u0e41\u0e23\u0e01","Previous Page":"\u0e2b\u0e19\u0e49\u0e32\u0e01\u0e48\u0e2d\u0e19","Next Page":"\u0e2b\u0e19\u0e49\u0e32\u0e15\u0e48\u0e2d\u0e44\u0e1b","Last Page":"\u0e2b\u0e19\u0e49\u0e32\u0e2a\u0e38\u0e14\u0e17\u0e49\u0e32\u0e22","Rotate CCW":"\u0e2b\u0e21\u0e38\u0e19\u0e17\u0e27\u0e19\u0e40\u0e02\u0e47\u0e21\u0e19\u0e32\u0e2c\u0e34\u0e01\u0e32","Rotate CW":"\u0e2b\u0e21\u0e38\u0e19 CW",Download:"\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14",Print:"\u0e1e\u0e34\u0e21\u0e1e\u0e4c",Search:"\u0e04\u0e49\u0e19\u0e2b\u0e32","Run presentation":"\u0e40\u0e23\u0e35\u0e22\u0e01\u0e43\u0e0a\u0e49\u0e01\u0e32\u0e23\u0e19\u0e33\u0e40\u0e2a\u0e19\u0e2d",Present:"\u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19",Stop:"\u0e2b\u0e22\u0e38\u0e14","Stop presenting":"\u0e2b\u0e22\u0e38\u0e14\u0e19\u0e33\u0e40\u0e2a\u0e19\u0e2d","Resume presenting":"\u0e19\u0e33\u0e40\u0e2a\u0e19\u0e2d\u0e15\u0e48\u0e2d","Pause presenting":"\u0e2b\u0e22\u0e38\u0e14\u0e01\u0e32\u0e23\u0e19\u0e33\u0e40\u0e2a\u0e19\u0e2d\u0e0a\u0e31\u0e48\u0e27\u0e04\u0e23\u0e32\u0e27",None:"\u0e44\u0e21\u0e48\u0e21\u0e35","5 sec":"5 \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35","10 sec":"10 \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35","15 sec":"15 \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35","30 sec":"30 \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",Thumbnails:"\u0e23\u0e39\u0e1b\u0e02\u0e19\u0e32\u0e14\u0e22\u0e48\u0e2d"},VX={Click:"T\u0131klamak","to open file":"dosyay\u0131 a\xe7mak i\xe7in","Or drop file here":"Veya dosyay\u0131 buraya b\u0131rak\u0131n","Browse files":"Dosyalara g\xf6z at\u0131n","Zoom In":"Yak\u0131nla\u015ft\u0131r","Zoom Out":"Uzakla\u015ft\u0131rmak","First Page":"\u0130lk sayfa","Previous Page":"\xd6nceki sayfa","Next Page":"Sonraki Sayfa","Last Page":"Son Sayfa","Rotate CCW":"CCW'yi d\xf6nd\xfcr","Rotate CW":"CW'yi d\xf6nd\xfcr",Download:"\u0130ndirmek",Print:"Yazd\u0131r",Search:"Arama","Run presentation":"Sunuyu \xe7al\u0131\u015ft\u0131r",Present:"Sunmak",Stop:"Durmak","Stop presenting":"Sunmay\u0131 durdur","Resume presenting":"Sunuma devam et","Pause presenting":"Sunumu duraklat",None:"Hi\xe7biri","5 sec":"5 saniye","10 sec":"10 saniye","15 sec":"15 saniye","30 sec":"30 saniye",Thumbnails:"k\xfc\xe7\xfck resimler"},OX={Click:"\u041a\u043b\u0456\u043a\u043d\u0456\u0442\u044c","to open file":"\u0449\u043e\u0431 \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438 \u0444\u0430\u0439\u043b","Or drop file here":"\u0410\u0431\u043e \u043f\u0435\u0440\u0435\u0442\u044f\u0433\u043d\u0456\u0442\u044c \u0444\u0430\u0439\u043b \u0443 \u0446\u044e \u043e\u0431\u043b\u0430\u0441\u0442\u044c","Browse files":"\u041f\u0435\u0440\u0435\u0433\u043b\u044f\u043d\u0443\u0442\u0438 \u0444\u0430\u0439\u043b\u0438","Zoom In":"\u0417\u0431\u0456\u043b\u044c\u0448\u0438\u0442\u0438","Zoom Out":"\u0417\u043c\u0435\u043d\u0448\u0438\u0442\u0438","First Page":"\u041f\u0435\u0440\u0448\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430","Previous Page":"\u041f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u044f \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430","Next Page":"\u041d\u0430\u0441\u0442\u0443\u043f\u043d\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430","Last Page":"\u041e\u0441\u0442\u0430\u043d\u043d\u044f \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430","Rotate CCW":"\u041f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u0438 \u043f\u0440\u043e\u0442\u0438 \u0433\u043e\u0434\u0438\u043d\u043d\u0438\u043a\u043e\u0432\u043e\u0457 \u0441\u0442\u0440\u0456\u043b\u043a\u0438","Rotate CW":"\u041f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u0438 \u0437\u0430 \u0433\u043e\u0434\u0438\u043d\u043d\u0438\u043a\u043e\u0432\u043e\u044e \u0441\u0442\u0440\u0456\u043b\u043a\u043e\u044e",Download:"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438",Print:"\u0414\u0440\u0443\u043a",Search:"\u041f\u043e\u0448\u0443\u043a","Run presentation":"\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0438 \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0456\u044e",Present:"\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0438 \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0456\u044e",Stop:"\u0417\u0443\u043f\u0438\u043d\u0438\u0442\u0438","Stop presenting":"\u0417\u0443\u043f\u0438\u043d\u0438\u0442\u0438 \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0456\u044e","Resume presenting":"\u041f\u0440\u043e\u0434\u043e\u0432\u0436\u0438\u0442\u0438 \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0456\u044e","Pause presenting":"\u041f\u0440\u0438\u0437\u0443\u043f\u0438\u043d\u0438\u0442\u0438 \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0456\u044e",None:"-","5 sec":"5 \u0441\u0435\u043a\u0443\u043d\u0434","10 sec":"10 \u0441\u0435\u043a\u0443\u043d\u0434","15 sec":"15 \u0441\u0435\u043a\u0443\u043d\u0434","30 sec":"30 \u0441\u0435\u043a\u0443\u043d\u0434",Thumbnails:"\u0415\u0441\u043a\u0456\u0437\u0438"},FX={Click:"Nh\u1ea5p chu\u1ed9t","to open file":"\u0111\u1ec3 m\u1edf t\u1ec7p","Or drop file here":"Ho\u1eb7c th\u1ea3 t\u1ec7p v\xe0o \u0111\xe2y","Browse files":"Duy\u1ec7t qua c\xe1c t\u1ec7p","Zoom In":"Ph\xf3ng to","Zoom Out":"Thu nh\u1ecf","First Page":"Trang \u0111\u1ea7u ti\xean","Previous Page":"Trang tr\u01b0\u1edbc","Next Page":"Trang ti\u1ebfp theo","Last Page":"Trang cu\u1ed1i","Rotate CCW":"Xoay CCW","Rotate CW":"Xoay CW",Download:"T\u1ea3i xu\u1ed1ng",Print:"In",Search:"T\xecm ki\u1ebfm","Run presentation":"Ch\u1ea1y b\u1ea3n tr\xecnh b\xe0y",Present:"M\xf3n qu\xe0",Stop:"Ng\u1eebng l\u1ea1i","Stop presenting":"D\u1eebng tr\xecnh b\xe0y","Resume presenting":"Ti\u1ebfp t\u1ee5c tr\xecnh b\xe0y","Pause presenting":"T\u1ea1m d\u1eebng tr\xecnh b\xe0y",None:"Kh\xf4ng c\xf3","5 sec":"5 gi\xe2y","10 sec":"10 gi\xe2y","15 sec":"15 gi\xe2y","30 sec":"30 gi\xe2y",Thumbnails:"H\xecnh thu nh\u1ecf"},RX={Click:"\u70b9\u51fb","to open file":"\u6253\u5f00\u6587\u4ef6","Or drop file here":"\u6216\u5c06\u6587\u4ef6\u62d6\u653e\u5230\u6b64\u5904","Browse files":"\u6d4f\u89c8\u6587\u4ef6","Zoom In":"\u653e\u5927","Zoom Out":"\u7f29\u5c0f","First Page":"\u7b2c\u4e00\u9875","Previous Page":"\u4e0a\u4e00\u9875","Next Page":"\u4e0b\u4e00\u9875","Last Page":"\u6700\u540e\u4e00\u9875","Rotate CCW":"\u9006\u65f6\u9488\u65cb\u8f6c","Rotate CW":"\u987a\u65f6\u9488\u65cb\u8f6c",Download:"\u4e0b\u8f7d",Print:"\u6253\u5370",Search:"\u641c\u7d22","Run presentation":"\u8fd0\u884c\u6f14\u793a",Present:"\u5c55\u793a",Stop:"\u505c\u6b62","Stop presenting":"\u505c\u6b62\u5c55\u793a","Resume presenting":"\u7b80\u5386\u5c55\u793a","Pause presenting":"\u6682\u505c\u6f14\u793a",None:"\u6ca1\u6709\u4efb\u4f55","5 sec":"5 \u79d2","10 sec":"10 \u79d2","15 sec":"15 \u79d2","30 sec":"30 \u79d2",Thumbnails:"\u7f29\u7565\u56fe"},BX={Click:"\u9ede\u64ca","to open file":"\u6253\u958b\u6587\u4ef6","Or drop file here":"\u6216\u5c07\u6587\u4ef6\u62d6\u653e\u5230\u6b64\u8655","Browse files":"\u700f\u89bd\u6587\u4ef6","Zoom In":"\u653e\u5927","Zoom Out":"\u7e2e\u5c0f","First Page":"\u7b2c\u4e00\u9801","Previous Page":"\u4e0a\u4e00\u9801","Next Page":"\u4e0b\u4e00\u9801","Last Page":"\u6700\u5f8c\u4e00\u9801","Rotate CCW":"\u9006\u6642\u91dd\u65cb\u8f49","Rotate CW":"\u9806\u6642\u91dd\u65cb\u8f49",Download:"\u4e0b\u8f09",Print:"\u6253\u5370",Search:"\u641c\u7d22","Run presentation":"\u904b\u884c\u6f14\u793a",Present:"\u5c55\u793a",Stop:"\u505c\u6b62","Stop presenting":"\u505c\u6b62\u5c55\u793a","Resume presenting":"\u7c21\u6b77\u5c55\u793a","Pause presenting":"\u66ab\u505c\u6f14\u793a",None:"\u6c92\u6709\u4efb\u4f55","5 sec":"5 \u79d2","10 sec":"10 \u79d2","15 sec":"15 \u79d2","30 sec":"30 \u79d2",Thumbnails:"\u7e2e\u7565\u5716"};class Kh extends class hY{constructor(n={}){this.translations={ar:VK,ca:OK,cs:FK,da:RK,de:BK,el:jK,en:UK,es:WK,fil:qK,fr:$K,he:ZK,hi:GK,id:KK,it:YK,ja:XK,kk:QK,ko:JK,ms:eY,nl:tY,pl:nY,pt:iY,ro:rY,ru:oY,sv:aY,th:cY,tr:sY,uk:lY,vi:fY,"zh-hans":uY,"zh-hant":dY};for(const t in n)this.translations[t]&&(this.translations[t]=Object.assign({},this.translations[t],n[t]))}getTranslation(n){const t=this.translations[n]?this.translations[n]:this.translations[this.defaultLanguage];return new ge(i=>{i.next(t)})}}{constructor(n={}){super({ar:Object.assign({},dX,n.ar),ca:Object.assign({},hX,n.ca),cs:Object.assign({},pX,n.cs),da:Object.assign({},mX,n.da),de:Object.assign({},gX,n.de),el:Object.assign({},vX,n.el),en:Object.assign({},_X,n.en),es:Object.assign({},CX,n.es),fil:Object.assign({},bX,n.fil),fr:Object.assign({},yX,n.fr),he:Object.assign({},MX,n.he),hi:Object.assign({},wX,n.hi),id:Object.assign({},xX,n.id),it:Object.assign({},zX,n.it),ja:Object.assign({},DX,n.ja),kk:Object.assign({},SX,n.kk),ko:Object.assign({},PX,n.ko),ms:Object.assign({},TX,n.ms),nl:Object.assign({},LX,n.nl),pl:Object.assign({},EX,n.pl),pt:Object.assign({},HX,n.pt),ro:Object.assign({},AX,n.ro),ru:Object.assign({},NX,n.ru),sv:Object.assign({},IX,n.sv),th:Object.assign({},kX,n.th),tr:Object.assign({},VX,n.tr),uk:Object.assign({},OX,n.uk),vi:Object.assign({},FX,n.vi),"zh-hans":Object.assign({},RX,n["zh-hans"]),"zh-hant":Object.assign({},BX,n["zh-hant"])})}}function jX(e){return()=>e.load()}function UX(e){return new Yn(e)}function WX(){return new Kh}let qX=(()=>{class e{static forRoot(t){return e1.DEFAULT_API_ENDPOINT=t,{ngModule:e}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=O2({providers:[zn,H4,Yt,{provide:Wr,useClass:Tt,multi:!0},{provide:T8,useFactory:jX,deps:[Yt],multi:!0},r6,{provide:Wr,useFactory:UX,multi:!0,deps:[r6]}],imports:[Vu,Uh,wx,Zc,ts.forRoot({loader:{provide:G3,useFactory:WX}}),Uh]}),e})();function $X(e,n){1&e&&b1(0,"gd-logo",9),2&e&&w("logo","viewer")}function ZX(e,n){if(1&e){const t=r1();H(0,"gd-button",22),Z("click",function(){q(t);const r=S(3);return $(r.openModal(r.browseFilesModal))}),f1(1,"translate"),k()}2&e&&(Y1("title",u1(1,2,"Browse files")),w("icon","folder-open"))}const GX=function(e,n){return{name:e,value:n,separator:!1}};function KX(e,n){if(1&e){const t=r1();H(0,"gd-select",23),Z("selected",function(r){return q(t),$(S(3).selectZoom(r))}),k()}if(2&e){const t=S(3);w("disabled",t.formatDisabled)("options",t.options)("showSelected",O3(3,GX,t.zoom+"%",t.zoom))}}function YX(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).zoomIn())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Zoom In")),w("disabled",t.formatDisabled)("icon","search-plus")}}function XX(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).zoomOut())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Zoom Out")),w("disabled",t.formatDisabled)("icon","search-minus")}}function QX(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).toFirstPage())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"First Page")),w("disabled",t.formatDisabled)("icon","angle-double-left")}}function JX(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).prevPage())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Previous Page")),w("disabled",t.formatDisabled)("icon","angle-left")}}const eQ=function(e){return{active:e}};function tQ(e,n){if(1&e&&(H(0,"div",25),D1(1),k()),2&e){const t=S(3);w("ngClass",t2(3,eQ,!t.formatDisabled)),L(1),V0("",t.currentPage,"/",t.countPages,"")}}function nQ(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).nextPage())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Next Page")),w("disabled",t.formatDisabled)("icon","angle-right")}}function iQ(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).toLastPage())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Last Page")),w("disabled",t.formatDisabled)("icon","angle-double-right")}}function rQ(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).rotate(-90))}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Rotate CCW")),w("disabled",t.formatDisabled)("icon","undo")}}function oQ(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(3).rotate(90))}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Rotate CW")),w("disabled",t.formatDisabled)("icon","redo")}}function aQ(e,n){if(1&e){const t=r1();H(0,"gd-button",26),Z("click",function(){return q(t),$(S(3).downloadFile())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Download")),w("disabled",t.formatDisabled)("icon","download")}}function cQ(e,n){if(1&e){const t=r1();H(0,"gd-button",26),Z("click",function(){return q(t),$(S(3).printFile())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Print")),w("disabled",t.formatDisabled)("icon","print")}}function sQ(e,n){if(1&e){const t=r1();H(0,"gd-button",26),Z("click",function(){return q(t),$(S(3).openSearch())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Search")),w("disabled",t.formatDisabled)("icon","search")}}function lQ(e,n){if(1&e){const t=r1();H(0,"div",27)(1,"gd-select",28),Z("selected",function(r){return q(t),$(S(3).selectLanguage(r))}),k()()}if(2&e){const t=S(3);L(1),w("disabled",!1)("options",t.supportedLanguages)("showSelected",t.selectedLanguage)}}function fQ(e,n){if(1&e){const t=r1();H(0,"gd-button",29),Z("click",function(){return q(t),$(S(3).openThumbnails())}),f1(1,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,3,"Thumbnails")),w("disabled",t.formatDisabled)("icon","th-large")}}function uQ(e,n){if(1&e){const t=r1();H(0,"gd-button",30),Z("click",function(){return q(t),$(S(3).startPresentation())}),f1(1,"translate"),D1(2),f1(3,"translate"),k()}if(2&e){const t=S(3);Y1("title",u1(1,4,"Run presentation")),w("disabled",t.formatDisabled)("icon","play"),L(2),Pe(u1(3,6,"Present"))}}function dQ(e,n){if(1&e){const t=r1();H(0,"gd-top-toolbar",10),U(1,ZX,2,4,"gd-button",11),U(2,KX,1,6,"gd-select",12),U(3,YX,2,5,"gd-button",13),U(4,XX,2,5,"gd-button",13),U(5,QX,2,5,"gd-button",13),U(6,JX,2,5,"gd-button",13),U(7,tQ,2,5,"div",14),U(8,nQ,2,5,"gd-button",13),U(9,iQ,2,5,"gd-button",13),U(10,rQ,2,5,"gd-button",13),U(11,oQ,2,5,"gd-button",13),U(12,aQ,2,5,"gd-button",15),U(13,cQ,2,5,"gd-button",15),U(14,sQ,2,5,"gd-button",15),H(15,"gd-search",16,17),Z("hidePanel",function(){return q(t),$(S(2).openSearch(!1))}),k(),H(17,"div",18),U(18,lQ,2,3,"div",19),U(19,fQ,2,5,"gd-button",20),U(20,uQ,4,8,"gd-button",21),k()()}if(2&e){const t=S(2);L(1),w("ngIf",t.browseConfig),L(1),w("ngIf",t.zoomConfig),L(1),w("ngIf",t.zoomConfig),L(1),w("ngIf",t.zoomConfig),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf","file-excel"!==t.formatIcon),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.rotateConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.rotateConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.downloadConfig),L(1),w("ngIf",t.printConfig),L(1),w("ngIf",t.searchConfig&&!t.ifPresentation()),L(1),w("hidden",!t.showSearch),L(3),w("ngIf",t.showLanguageMenu),L(1),w("ngIf",t.thumbnailsConfig&&t.isDesktop&&"file-excel"!==t.formatIcon&&(!t.ifPresentation()||t.ifPresentation()&&t.runPresentation)),L(1),w("ngIf",t.ifPresentation()&&!t.runPresentation)}}function hQ(e,n){if(1&e&&(H(0,"div",6),U(1,$X,1,1,"gd-logo",7),U(2,dQ,21,18,"gd-top-toolbar",8),k()),2&e){const t=S();L(1),w("ngIf",t.showToolBar),L(1),w("ngIf",t.showToolBar)}}function pQ(e,n){if(1&e){const t=r1();H(0,"gd-select",36),Z("selected",function(r){return q(t),$(S(2).toggleTimer(r))}),k()}if(2&e){const t=S(2);w("disabled",t.formatDisabled)("options",t.timerOptions)("icon","clock")}}function mQ(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(2).pausePresenting())}),f1(1,"translate"),k()}if(2&e){const t=S(2);Y1("title",u1(1,3,"Pause presenting")),w("disabled",t.formatDisabled)("icon","pause")}}function gQ(e,n){if(1&e){const t=r1();H(0,"gd-button",24),Z("click",function(){return q(t),$(S(2).resumePresenting())}),f1(1,"translate"),k()}if(2&e){const t=S(2);Y1("title",u1(1,3,"Resume presenting")),w("disabled",t.formatDisabled)("icon","step-forward")}}function vQ(e,n){if(1&e){const t=r1();H(0,"div",6)(1,"gd-top-toolbar",10)(2,"div",31),D1(3,"Viewer"),k(),H(4,"div",32),D1(5),k(),H(6,"div",33),U(7,pQ,1,3,"gd-select",34),U(8,mQ,2,5,"gd-button",13),U(9,gQ,2,5,"gd-button",13),H(10,"gd-button",35),Z("click",function(){return q(t),$(S().closeFullScreen(!0))}),f1(11,"translate"),D1(12),f1(13,"translate"),k()()()()}if(2&e){const t=S();L(5),Pe(t.getFileName()),L(2),w("ngIf",t.zoomConfig),L(1),w("ngIf",t.presentationRunning()),L(1),w("ngIf",t.presentationPaused()),L(1),Y1("title",u1(11,8,"Stop presenting")),w("disabled",t.formatDisabled)("icon","stop"),L(2),g2("",u1(13,10,"Stop")," ")}}function _Q(e,n){if(1&e){const t=r1();H(0,"gd-thumbnails",45),Z("selectedPage",function(r){return q(t),$(S(2).selectCurrentPage(r))}),k()}if(2&e){const t=S(2);w("pages",0==t.viewerConfig.preloadPageCount?t.file.pages:t.file.thumbnails)("isHtmlMode",t.htmlModeConfig)("guid",t.file.guid)("mode",t.htmlModeConfig)}}function CQ(e,n){if(1&e){const t=r1();H(0,"gd-thumbnails",46),Z("selectedPage",function(r){return q(t),$(S(2).selectCurrentPage(r))}),k()}if(2&e){const t=S(2);w("pages",0==t.viewerConfig.preloadPageCount?t.file.pages:t.file.thumbnails)("isHtmlMode",t.htmlModeConfig)("guid",t.file.guid)("mode",t.htmlModeConfig)("isPresentation",t.ifPresentation())}}function bQ(e,n){if(1&e){const t=r1();H(0,"gd-document",47),Z("mouseWheelUp",function(){return q(t),$(S(2).onMouseWheelUp())})("mouseWheelDown",function(){return q(t),$(S(2).onMouseWheelDown())}),k()}if(2&e){const t=S(2);w("file",t.file)("mode",t.htmlModeConfig)("showActiveSlide",!0)("preloadPageCount",t.viewerConfig.preloadPageCount||0)("selectedPage",t.selectedPageNumber)("htmlMode",t.htmlModeConfig)}}function yQ(e,n){if(1&e&&b1(0,"gd-excel-document",48),2&e){const t=S(2);w("file",t.file)("mode",t.htmlModeConfig)("preloadPageCount",t.viewerConfig.preloadPageCount||0)("htmlMode",t.htmlModeConfig)}}function MQ(e,n){if(1&e){const t=r1();H(0,"gd-run-presentation",49),Z("selectedPage",function(r){return q(t),$(S(2).selectCurrentPage(r))}),k()}if(2&e){const t=S(2);w("file",t.file)("currentPage",t.currentPage)("mode",t.htmlModeConfig)("preloadPageCount",0)}}const wQ=function(){return["fas","circle-notch"]};function xQ(e,n){if(1&e&&(H(0,"div",53),b1(1,"fa-icon",54),H(2,"span",55),D1(3),k()()),2&e){const t=S(3);L(1),w("icon",P2(4,wQ))("spin",!0),L(1),w("ngClass",t.secondsLeft>=10?"seconds-remaining two-digits":"seconds-remaining"),L(1),Pe(t.secondsLeft)}}function zQ(e,n){if(1&e){const t=r1();H(0,"gd-button",56),Z("click",function(){return q(t),$(S(3).prevPage())}),k()}2&e&&w("disabled",S(3).formatDisabled)("icon","angle-left")}function DQ(e,n){if(1&e){const t=r1();H(0,"gd-button",56),Z("click",function(){return q(t),$(S(3).nextPage())}),k()}2&e&&w("disabled",S(3).formatDisabled)("icon","angle-right")}function SQ(e,n){if(1&e&&(H(0,"div",50),U(1,xQ,4,5,"div",51),U(2,zQ,1,2,"gd-button",52),U(3,DQ,1,2,"gd-button",52),k()),2&e){const t=S(2);L(1),w("ngIf",t.showCountDown()),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon),L(1),w("ngIf",t.pageSelectorConfig&&"file-excel"!==t.formatIcon)}}function PQ(e,n){if(1&e&&(H(0,"div",37,38),U(2,_Q,1,4,"gd-thumbnails",39),U(3,CQ,1,5,"gd-thumbnails",40),U(4,bQ,1,6,"gd-document",41),U(5,yQ,1,4,"gd-excel-document",42),U(6,MQ,1,4,"gd-run-presentation",43),U(7,SQ,4,3,"div",44),k()),2&e){const t=S();L(2),w("ngIf",t.showThumbnails&&!t.ifPresentation()&&t.isDesktop),L(1),w("ngIf",t.showThumbnails&&t.ifPresentation()&&!t.runPresentation&&t.isDesktop),L(1),w("ngIf",t.file&&t.ifExcel()&&!t.htmlModeConfig||t.ifPresentation()&&t.isDesktop&&!t.runPresentation||!t.ifExcel()&&!t.ifPresentation()),L(1),w("ngIf",t.file&&t.ifExcel()&&t.htmlModeConfig),L(1),w("ngIf",t.file&&t.ifPresentation()&&t.runPresentation||t.file&&t.ifPresentation()&&!t.isDesktop),L(1),w("ngIf",t.runPresentation)}}const TQ=function(){return["fas","folder-open"]};function LQ(e,n){if(1&e){const t=r1();H(0,"gd-init-state",57),Z("fileDropped",function(r){return q(t),$(S().fileDropped(r))}),D1(1),f1(2,"translate"),b1(3,"fa-icon",58),D1(4),f1(5,"translate"),b1(6,"br"),D1(7),f1(8,"translate"),k()}2&e&&(w("icon","eye")("text","Drop file here to upload"),L(1),g2(" ",u1(2,6,"Click")," "),L(2),w("icon",P2(12,TQ)),L(1),g2(" ",u1(5,8,"to open file"),""),L(3),g2(" ",u1(8,10,"Or drop file here")," "))}let EQ=(()=>{class e extends fX{constructor(t,i,r,o,a,s,l,u,m,_,y,z,A,R,W){super(t,i,r,o,a,s,l,u,m,_,y,R,W),this.configService=A,this.viewerService=t,this.pagesLoading=[],this.http=z}preloadPages(t,i){const r=[],o=1===t,a=this.viewerConfig.preloadPageCount,s=this.file.pages.length;this.selectedPageNumber=1,o&&(this.pagesLoading=[]);for(let l=t;l<=i;l++){const u=this.file.pages.find(m=>m.number===l);u&&u.data||-1===this.pagesLoading.indexOf(l)&&(this.pagesLoading.push(l),r.push(l))}if(r.length>0){const l=r[r.length-1];if(!o&&r.length{this.setPagesData(u)})}}loadAllPages(t){let i=this.file.pages.find(s=>void 0===s.data);if(!i)return void t();let o=this.file.pages.length;const a=[];for(let s=i.number;s<=o;s++){const l=this.file.pages.find(u=>u.number===s);l&&l.data||-1===this.pagesLoading.indexOf(s)&&(this.pagesLoading.push(s),a.push(s))}a.length>0&&this.loadPages(this.credentials,a).subscribe(s=>{this.setPagesData(s),t()})}setPagesData(t){t.forEach(i=>{const r=i.number-1,o=this.file.pages[r];o&&(o.data=i.data,this.file.thumbnails[r]&&(this.file.thumbnails[r].data=i.data,this.file.thumbnails[r].width=o.width,this.file.thumbnails[r].height=o.height))})}loadPages(t,i){return this.http.post(this.configService.getViewerApiEndpoint()+e1.LOAD_DOCUMENT_PAGE+"s",{guid:t.guid,fileType:t.fileType,password:t.password,pages:i},e1.httpOptionsJson)}printFile(){this.formatDisabled||(this.viewerConfig.htmlMode?super.printFile():this.printPages())}printPages(){this.loadAllPages(()=>{this.printInFrame(this.file.pages)})}printInFrame(t){const i="print-window";let r=document.getElementById(i);r&&r.remove(),r=document.createElement("iframe"),r.setAttribute("style","visibility: hidden; height: 0; width: 0; position: absolute; border: 0"),r.setAttribute("id",i);let o="";for(let l=0;l`}r.setAttribute("srcdoc",`\n \n \n Print window\n \n \n \n ${o}\n \n \n `),document.getElementsByTagName("body")[0].appendChild(r);const s=document.getElementById(i);setTimeout(()=>this.printFrame(s),1e3)}printFrame(t){try{t.focus(),t.contentWindow.document.execCommand("print",!1)}catch(i){t.contentWindow.print()}finally{t.style.visibility="hidden",t.style.left="-1px"}}}return e.\u0275fac=function(t){return new(t||e)(F(zn),F(E6),F(Yt),F(X3),F(v2),F(ct),F(H6),F(uo),F(ho),F(St),F(r6),F(j3),F(H4),F(Y0),F(K3))},e.\u0275cmp=I({type:e,selectors:[["app-root"]],features:[y3],decls:9,vars:7,consts:[[3,"loadingMask"],[1,"wrapper",3,"contextmenu"],["class","top-panel",4,"ngIf"],["class","doc-panel",4,"ngIf"],[3,"icon","text","fileDropped",4,"ngIf"],[3,"files","uploadConfig","urlForUpload","selectedDirectory","selectedFileGuid"],[1,"top-panel"],["icon","eye",3,"logo",4,"ngIf"],["class","toolbar-panel",4,"ngIf"],["icon","eye",3,"logo"],[1,"toolbar-panel"],[3,"icon","title","click",4,"ngIf"],["class","mobile-hide select-left noselect",3,"disabled","options","showSelected","selected",4,"ngIf"],["class","mobile-hide",3,"disabled","icon","title","click",4,"ngIf"],["class","current-page-number noselect",3,"ngClass",4,"ngIf"],[3,"disabled","icon","title","click",4,"ngIf"],[3,"hidden","hidePanel"],["search",""],[1,"toolbar-panel-right"],["class","language-menu mobile-hide",4,"ngIf"],["class","thumbnails-button btn-right",3,"disabled","icon","title","click",4,"ngIf"],["class","thumbnails-button mobile-hide btn-right smp-start-stop",3,"disabled","icon","title","click",4,"ngIf"],[3,"icon","title","click"],[1,"mobile-hide","select-left","noselect",3,"disabled","options","showSelected","selected"],[1,"mobile-hide",3,"disabled","icon","title","click"],[1,"current-page-number","noselect",3,"ngClass"],[3,"disabled","icon","title","click"],[1,"language-menu","mobile-hide"],[1,"select-language-menu","noselect",3,"disabled","options","showSelected","selected"],[1,"thumbnails-button","btn-right",3,"disabled","icon","title","click"],[1,"thumbnails-button","mobile-hide","btn-right","smp-start-stop",3,"disabled","icon","title","click"],[1,"slides-title"],[1,"slides-filename"],[1,"slides-buttons"],["class","mobile-hide select-right",3,"disabled","options","icon","selected",4,"ngIf"],[1,"mobile-hide","btn-right","smp-start-stop",3,"disabled","icon","title","click"],[1,"mobile-hide","select-right",3,"disabled","options","icon","selected"],[1,"doc-panel"],["docPanel",""],[3,"pages","isHtmlMode","guid","mode","selectedPage",4,"ngIf"],["gdScrollable","",3,"pages","isHtmlMode","guid","mode","isPresentation","selectedPage",4,"ngIf"],["class","gd-document","gdScrollableEdited","","gdRenderPrint","","gdMouseWheel","",3,"file","mode","showActiveSlide","preloadPageCount","selectedPage","htmlMode","mouseWheelUp","mouseWheelDown",4,"ngIf"],["class","gd-document","gdScrollable","","gdRenderPrint","",3,"file","mode","preloadPageCount","htmlMode",4,"ngIf"],["class","gd-document",3,"file","currentPage","mode","preloadPageCount","selectedPage",4,"ngIf"],["class","slides-nav",4,"ngIf"],[3,"pages","isHtmlMode","guid","mode","selectedPage"],["gdScrollable","",3,"pages","isHtmlMode","guid","mode","isPresentation","selectedPage"],["gdScrollableEdited","","gdRenderPrint","","gdMouseWheel","",1,"gd-document",3,"file","mode","showActiveSlide","preloadPageCount","selectedPage","htmlMode","mouseWheelUp","mouseWheelDown"],["gdScrollable","","gdRenderPrint","",1,"gd-document",3,"file","mode","preloadPageCount","htmlMode"],[1,"gd-document",3,"file","currentPage","mode","preloadPageCount","selectedPage"],[1,"slides-nav"],["class","timer",4,"ngIf"],["class","mobile-hide",3,"disabled","icon","click",4,"ngIf"],[1,"timer"],[3,"icon","spin"],[3,"ngClass"],[1,"mobile-hide",3,"disabled","icon","click"],[3,"icon","text","fileDropped"],[3,"icon"]],template:function(t,i){1&t&&(b1(0,"gd-loading-mask",0),H(1,"div",1),Z("contextmenu",function(){return i.onRightClick()}),U(2,hQ,3,2,"div",2),U(3,vQ,14,12,"div",2),U(4,PQ,8,6,"div",3),U(5,LQ,9,13,"gd-init-state",4),H(6,"gd-browse-files-modal",5),Z("urlForUpload",function(o){return i.upload(o)})("selectedDirectory",function(o){return i.selectDir(o)})("selectedFileGuid",function(o){return i.selectFile(o,"",i.browseFilesModal,"")}),k(),b1(7,"gd-error-modal")(8,"gd-password-required"),k()),2&t&&(w("loadingMask",i.isLoading),L(2),w("ngIf",!i.runPresentation),L(1),w("ngIf",i.runPresentation),L(1),w("ngIf",i.file),L(1),w("ngIf",!i.file),L(1),w("files",i.files)("uploadConfig",i.uploadConfig))},dependencies:[at,Ne,Gh,Zh,_h,E4,as,Mh,ss,zh,jh,Dh,fs,Th,Lh,Eh,Hh,Ah,Ih,Bh,K2,Zn],styles:['@import"https://fonts.googleapis.com/css?family=Open+Sans&display=swap";[_nghost-%COMP%] *[_ngcontent-%COMP%]{font-family:Open Sans,Arial,Helvetica,sans-serif}.noselect[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.current-page-number[_ngcontent-%COMP%]{margin-left:7px;font-size:14px;color:#959da5;width:37px;height:37px;line-height:37px;text-align:center}.current-page-number.active[_ngcontent-%COMP%]{color:#fff}.wrapper[_ngcontent-%COMP%]{align-items:stretch;height:100%;width:100%;position:fixed;top:0;bottom:0;left:0;right:0}.doc-panel[_ngcontent-%COMP%]{display:flex;height:calc(100vh - 60px);flex-direction:row}.top-panel[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%}.toolbar-panel[_ngcontent-%COMP%]{background-color:#3e4e5a;width:100%}.toolbar-panel-right[_ngcontent-%COMP%]{display:flex;flex:1;place-content:flex-end}.btn-right[_ngcontent-%COMP%]{margin-right:7px}.smp-start-stop[_ngcontent-%COMP%] .button{flex-direction:row;border:1px solid;border-radius:5px;padding:0 10px!important}.language-menu[_ngcontent-%COMP%]{margin-right:15px}.select-language-menu[_ngcontent-%COMP%] .select{width:100%}.select-language-menu[_ngcontent-%COMP%] .select .dropdown-menu{overflow-y:scroll;max-height:90%}.select-language-menu[_ngcontent-%COMP%] .selected-value{max-width:100%}.thumbnails-button[_ngcontent-%COMP%] .button{margin-left:0!important} .tools .button, .tools .selected-value, .tools .nav-caret{color:#fff!important} .tools .button.inactive, .tools .selected-value.inactive, .tools .nav-caret.inactive{color:#959da5!important} .tools .button{flex-flow:column} .tools .select-left .select{position:relative} .tools .select-left .dropdown-menu{top:40px;left:0px} .tools .select-right .select{position:relative} .tools .select-right .dropdown-menu{top:40px;right:0px} .tools .dropdown-menu .option{color:#6e6e6e!important} .tools .dropdown-menu .option:hover{background-color:#4b566c!important} .tools .icon-button{margin:0 0 0 15px!important} .tools .select{width:37px;height:37px;margin-left:7px;line-height:37px;text-align:center} .tools .slides-title{color:#fff;padding-left:12px;font-size:18px} .tools .slides-filename{flex-grow:1;text-align:center;color:#fff;text-overflow:ellipsis;white-space:nowrap;padding-left:20px;overflow:hidden} .tools .slides-buttons{display:flex} .tools .slides-buttons .select{color:#fff;cursor:pointer} .tools .gd-nav-search-container .icon-button{margin:0 0 0 7px!important}.slides-nav[_ngcontent-%COMP%]{position:absolute;right:30px;bottom:30px;display:flex}.slides-nav[_ngcontent-%COMP%] .button{font-size:37px;background-color:#edf0f2;border-radius:3px}.slides-nav[_ngcontent-%COMP%] .timer{font-size:42px;line-height:6px;color:#959da5;position:relative}.slides-nav[_ngcontent-%COMP%] .timer .seconds-remaining{position:absolute;margin-left:5px;font-size:16px;top:18px;left:12px}.slides-nav[_ngcontent-%COMP%] .timer .seconds-remaining.two-digits{left:6px!important} .page.presentation .gd-wrapper{pointer-events:none}@media (max-width: 1037px){.mobile-hide[_ngcontent-%COMP%], .current-page-number[_ngcontent-%COMP%]{display:none} .tools gd-button:nth-child(1)>.icon-button{margin:0 0 0 10px!important} .tools .icon-button{height:60px;width:60px} .tools .gd-nav-search-btn .icon-button{height:37px;width:37px} .tools .gd-nav-search-btn .button{font-size:14px} .tools .gd-nav-search-container{top:59px!important}}']}),e})();function HQ(){let e=new H4;return e.apiEndpoint=window.apiEndpoint,e.getViewerApiEndpoint=()=>window.apiEndpoint,e.getConfigEndpoint=()=>window.uiSettingsPath,e}let AQ=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=ve({type:e,bootstrap:[EQ]}),e.\u0275inj=O2({providers:[{provide:uM,useValue:"/"},{provide:H4,useFactory:HQ},{provide:"WINDOW",useValue:window}],imports:[Vu.withServerTransition({appId:"ng-cli-universal"}),qX,Zc,ts.forRoot({loader:{provide:G3,useClass:Kh}})]}),e})();(function Uy(){$f=!1} /** * @license * Copyright Google LLC All Rights Reserved. diff --git a/src/GroupDocs.Viewer.UI/client/README.md b/src/GroupDocs.Viewer.UI/client/README.md index daf9ae2..a06a926 100644 --- a/src/GroupDocs.Viewer.UI/client/README.md +++ b/src/GroupDocs.Viewer.UI/client/README.md @@ -1,19 +1,25 @@ -# GroupdocsViewerUI +# Angular UI for GorupDocs.Viewer.UI -This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.2.3. +Building this app requires legacy tools that can be installed with `nvm`. -## Development server +### Prepare -Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. +```bash +nvm install 14.15 +nvm use 14.15.5 +npm install -g @angular/cli@14.2.13 +npm install +``` -## Code scaffolding +### Start dev server -Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`. +```bash +ng serve +``` -## Build +### Build release packages -Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build. +```bash +npm run build +``` -## Further help - -To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page. diff --git a/src/GroupDocs.Viewer.UI/client/src/app/app.component.ts b/src/GroupDocs.Viewer.UI/client/src/app/app.component.ts index 54b9dee..f72639a 100644 --- a/src/GroupDocs.Viewer.UI/client/src/app/app.component.ts +++ b/src/GroupDocs.Viewer.UI/client/src/app/app.component.ts @@ -6,6 +6,8 @@ import { Api, ConfigService, ModalService, UploadFilesService, NavigateService, import { TranslateService } from '@ngx-translate/core'; +type IFrame = HTMLElement & { contentWindow: Window } + @Component({ selector: 'app-root', templateUrl: './app.component.html', @@ -60,17 +62,17 @@ export class AppComponent extends ViewerAppComponent { const minPagesToLoad = this.viewerConfig.preloadPageCount; const countPages = this.file.pages.length; this.selectedPageNumber = 1; - + if (isInitialLoad) { this.pagesLoading = []; } - + for (let i = start; i <= end; i++) { const page = this.file.pages.find(p => p.number === i); - if(page && page.data) { + if (page && page.data) { continue; } - + if (this.pagesLoading.indexOf(i) === -1) { this.pagesLoading.push(i); pagesToLoad.push(i); @@ -93,24 +95,62 @@ export class AppComponent extends ViewerAppComponent { this.loadPages(this.credentials, pagesToLoad).subscribe(( (pages: any) => { - pages.forEach((page: PageModel) => { - const pageIndex = page.number - 1; - const currPage = this.file.pages[pageIndex]; - - if (currPage) { - currPage.data = page.data; - if (this.file.thumbnails[pageIndex]) { - this.file.thumbnails[pageIndex].data = page.data; - this.file.thumbnails[pageIndex].width = currPage.width; - this.file.thumbnails[pageIndex].height = currPage.height; - } - } - }); + this.setPagesData(pages); + } + )); + } + } + + loadAllPages(onAllPagesLoaded: Function) { + let firstNotLoadedPage = this.file.pages.find(p => p.data === undefined); + if(!firstNotLoadedPage) { + onAllPagesLoaded(); + return; + } + + let start = firstNotLoadedPage.number + let end = this.file.pages.length; + + const pagesToLoad = []; + + for (let i = start; i <= end; i++) { + const page = this.file.pages.find(p => p.number === i); + if (page && page.data) { + continue; + } + + if (this.pagesLoading.indexOf(i) === -1) { + this.pagesLoading.push(i); + pagesToLoad.push(i); + } + } + + if (pagesToLoad.length > 0) { + this.loadPages(this.credentials, pagesToLoad).subscribe(( + (pages: any) => { + this.setPagesData(pages); + onAllPagesLoaded(); } )); } } + setPagesData(pages: any) { + pages.forEach((page: PageModel) => { + const pageIndex = page.number - 1; + const currPage = this.file.pages[pageIndex]; + + if (currPage) { + currPage.data = page.data; + if (this.file.thumbnails[pageIndex]) { + this.file.thumbnails[pageIndex].data = page.data; + this.file.thumbnails[pageIndex].width = currPage.width; + this.file.thumbnails[pageIndex].height = currPage.height; + } + } + }); + } + loadPages(credentials: TypedFileCredentials, pages: number[]) { return this.http.post(this.configService.getViewerApiEndpoint() + Api.LOAD_DOCUMENT_PAGE + "s", { 'guid': credentials.guid, @@ -119,4 +159,84 @@ export class AppComponent extends ViewerAppComponent { 'pages': pages }, Api.httpOptionsJson); } + + printFile() { + if (this.formatDisabled) + return; + + if(this.viewerConfig.htmlMode) { + super.printFile(); + } else { + this.printPages(); + } + } + + private printPages() { + this.loadAllPages(() => { + this.printInFrame(this.file.pages); + }); + } + + private printInFrame(pages: PageModel[]) { + const iframeId = 'print-window'; + + // Remove previous iframe if exists + let iframe = document.getElementById(iframeId) + if (iframe) { + iframe.remove() + } + + // Create new iframe + iframe = document.createElement('iframe') + iframe.setAttribute('style', 'visibility: hidden; height: 0; width: 0; position: absolute; border: 0'); + iframe.setAttribute('id', iframeId) + + let images = ""; + for (let index = 0; index < pages.length; index++) { + const page = pages[index]; + images += `Page ${page.number}`; + } + + let srcdoc = ` + + + Print window + + + + ${images} + + + `; + + iframe.setAttribute('srcdoc', srcdoc); + + // Append to the document + document.getElementsByTagName('body')[0].appendChild(iframe); + + // Wait and print + const iframeElement = document.getElementById(iframeId) as IFrame; + setTimeout(() => this.printFrame(iframeElement), 1000); + } + + printFrame(iframe: IFrame) { + try { + iframe.focus() + iframe.contentWindow.document.execCommand('print', false) + } catch (e) { + iframe.contentWindow.print() + } finally { + // Hide iframe + iframe.style.visibility = 'hidden' + iframe.style.left = '-1px' + } + } }