@tilde-nlp/ngx-translate 9.0.16 → 9.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tilde-nlp/ngx-translate",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.18",
|
|
4
4
|
"description": "Tilde Translate box - solution for machine translating text and documents. Built with angular, but also exposed as web component.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Machine translation",
|
|
@@ -207,4 +207,4 @@ For more information see: https://www.keycloak.org/securing-apps/javascript-adap
|
|
|
207
207
|
`,BJ=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
208
208
|
<path d="M18 15.0001V18.0001H6V15.0001H4V18.0001C4 19.1001 4.9 20.0001 6 20.0001H18C19.1 20.0001 20 19.1001 20 18.0001V15.0001H18ZM7 9.00012L8.41 10.4101L11 7.83012V16.0001H13V7.83012L15.59 10.4101L17 9.00012L12 4.00012L7 9.00012Z" fill="#474D53"/>
|
|
209
209
|
</svg>
|
|
210
|
-
`;var j2=(()=>{let t=class t{get defaultQueryString(){return`lang=${this.defaultQueryParams.lang}`}constructor(i){this.translate=i,this.defaultQueryParams={lang:""},this.queryString=new vn(this.defaultQueryString),this.defaultQueryParams.lang=this.translate.currentLang,this.translate.onLangChange.subscribe(r=>{this.defaultQueryParams.lang=r.lang,this.queryString.next(this.defaultQueryString)})}query(){return this.queryString.asObservable()}};t.\u0275fac=function(r){return new(r||t)(G(qt))},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function zJ(n,t){if(n&1){let e=he();E(0,"tld-translate-switcher",9),Y("onDomainChange",function(r){$(e);let o=I();return Q(o.systemChange(r))})("onActionClick",function(){$(e);let r=I();return Q(r.translateButtonClick())})("onLanguageSwap",function(){$(e);let r=I();return Q(r.swapLanguages())})("onSourceLanguageChange",function(r){$(e);let o=I();return Q(o.sourceLanguageChange(r))})("onTargetLanguageChange",function(r){$(e);let o=I();return Q(o.targetLanguageChange(r))}),C()}if(n&2){let e=I();b("disabled",e.actionButtonDisabled)("isCollectionsActivated",e.isCollectionsActivated)("settings",e.switcherOptions)("maxDisplayedLanguages",e.maxDisplayedLanguages)("showDomainsWithLanguageName",e.showDomainsWithLanguageName)("buttonDisabled",e.actionButtonDisabled)("hideLangMenuLabels",e.hideLangMenuLabels)("loader",e.actionButtonLoader)("showTranslateButton",e.showTranslateButton)}}function VJ(n,t){if(n&1&&ie(0,"tld-translation-system-picker",10),n&2){let e=I();b("isCollectionsActivated",e.isCollectionsActivated)}}function HJ(n,t){if(n&1){let e=he();E(0,"lib-tld-notification-message",13),Y("closeClicked",function(){let r=$(e).index,o=I(2);return Q(o.removeMessage(r))}),C()}if(n&2){let e=t.$implicit;b("inline",!0)("message",e)}}function GJ(n,t){if(n&1&&(E(0,"div",11),F(1,HJ,1,2,"lib-tld-notification-message",12),C()),n&2){let e=I();_(),b("ngForOf",e.messages)}}function WJ(n,t){n&1&&ie(0,"tld-translation-system-picker-dropdown",14),n&2&&b("ngClass.xs","mobile")}var B2=(()=>{let t=class t{get actionButtonLoader(){return this.translateTextService.isTranslating}get showDomainsWithLanguageName(){return this.configService.coreConfig.showDomainsWithLanguageName}get maxDisplayedLanguages(){return this.configService.coreConfig.maxDisplayedLanguages}get actionButtonDisabled(){return this.translateFileService.disableTranslateButton||this.audioService.isRecording||this.voiceProcessingService.isProcessing||this.translateTextService.isDictating}get showTranslateButton(){return this.configService.textConfig.showTranslateButton&&!this.translateFileService.multipleFileUploadActive}get isMultipleFilesActive(){return this.tldTranslateBody?.multipleFilesUploaded}get hideLangMenuLabels(){return this.configService?.coreConfig.hideLangMenuLabels}get isCollectionsActivated(){return this.configService?.termConfig?.isCollectionsActivated}get sourceLanguage(){return this.activeSystemObj?.sourceLang.lang}get targetLanguage(){return this.activeSystemObj?.targetLang.lang}get systemPickerDropdownVisible(){return this.systemPickerService.openedMenu!==Vi.NONE}get languageMenuVersion(){return this.configService.coreConfig?.languageMenuVersion}constructor(i,r,o,s,a,l,d,f,g,S,x,w,U){this.translate=i,this.translateFileService=r,this.translateTextService=o,this.configService=s,this.alerts=a,this.translateButtonService=l,this.tldSystem=d,this.audioService=f,this.voiceProcessingService=g,this.wtwQueryService=S,this.systemPickerService=x,this.terminologyService=w,this.iconService=U,this.onError=new ue,this.onSystemChange=new ue,this.messages=[],this.noSystemsError={body:"TLD_TRANSLATE.ERROR_NO_SYSTEMS_LOADED",type:Tr.ERROR,hideClose:!0},this.languageMenuV1=Uu.V1,this.languageMenuV2=Uu.V2,this.destroy$=new J}changeAuth(i){this.configService.coreConfig.isAuth=i.isAuth,this.configService.termConfig.canCreateCollection=i.canCreateTermCollection,this.translateFileService.clear(),this.initializeWidget()}initializeWidget(){this.tldSystem.init(this.tldSystem.getLastUsedSystem())}ngOnInit(){if(this.iconService.registerIcons(QS),this.removeMessagesOnClear(),this.tldSystem.getLoadedSystems().pipe(We(this.destroy$)).subscribe(r=>{r.length||this.messages.push(this.noSystemsError)}),this.configService.coreConfig.debug)for(let r in Qr)this.translate.setTranslation(r,Qr[r],!0);this.initializeWidget(),this.tldSystem.getActiveData().pipe(lo(),We(this.destroy$)).subscribe(r=>{this.activeSystemObj=r,r&&(this.onSystemChange.emit(r),this.switcherOptions={domains:r.domains,source:{code:r.sourceLang.lang,systemId:r.systemId},sourceLanguageList:r.sourceLangList,systemId:r.systemId,swapActive:r.swapLangActive,target:{code:r.targetLang.lang,systemId:r.systemId},targetLanguageList:r.targetLangList,vendors:r.vendors,languageId:r.languageId})}),this.translateTextService.sourceChange.pipe(We(this.destroy$)).subscribe(r=>{r.swapSystems&&this.swapLanguages()}),this.translateButtonService.getActionClick().pipe(We(this.destroy$)).subscribe(()=>{this.translateButtonClick()}),this.wtwQueryService.query().pipe(We(this.destroy$)).subscribe(r=>{this.messages.forEach(o=>{o.localizationParams.queryString=r})}),this.alerts.getMessages().pipe(We(this.destroy$)).subscribe(r=>{if(r.localizationParams.queryString=this.wtwQueryService.defaultQueryString,r?.delete){this.removeExistingMessage(r);return}r.type===Tr.ERROR&&this.onError.emit(r.error),this.addMessage(r)});let i="APP_NAME";this.translate.stream([i]).pipe(We(this.destroy$)).subscribe(r=>{this.configService.coreConfig.appName=r[i]}),this.terminologyService.getRetranslateSignal().pipe(We(this.destroy$)).subscribe(()=>{this.translateFileService.fileNames.length||this.translateButtonClick()})}removeMessage(i){this.messages.splice(i,1)}swapLanguages(){this.tldSystem.swapSystemLanguages()}sourceLanguageChange(i){this.tldSystem.changeLanguage(i,this.switcherOptions.target.code)}systemChange(i){this.tldSystem.changeSystem(i)}targetLanguageChange(i){this.tldSystem.changeLanguage(this.switcherOptions.source.code,i)}translateButtonClick(){this.translateFileService.translationFiles?.length>0?this.translateFileService.translateButtonClick(this.activeSystemObj):this.translateTextService.onTranslateButtonClick()}removeMessagesOnClear(){this.translateFileService.onClear().pipe(We(this.destroy$)).subscribe(()=>{this.messages=[]}),this.translateTextService.onClear().pipe(We(this.destroy$)).subscribe(()=>{this.messages=[]})}ngOnDestroy(){this.destroy$.next(null),this.destroy$.complete()}removeExistingMessage(i){delete i.delete;let r=JSON.stringify(i),o=this.messages.find(a=>JSON.stringify(a)===r),s=this.messages.indexOf(o);s<0||this.removeMessage(s)}addMessage(i){let r=JSON.stringify(i.localizationParams);this.messages.find(s=>s.title===i.title&&s.type===i.type&&i.body===s.body&&JSON.stringify(s.localizationParams)===r)||this.messages.push(i)}};t.\u0275fac=function(r){return new(r||t)(P(qt),P(pr),P(Es),P(it),P(Di),P(kc),P(Vt),P(Sm),P(Im),P(j2),P(Ts),P(Sr),P(bm))},t.\u0275cmp=ne({type:t,selectors:[["tld-translate"]],viewQuery:function(r,o){if(r&1&&Fe(eA,5),r&2){let s;we(s=De())&&(o.tldTranslateBody=s.first)}},outputs:{onError:"onError",onSystemChange:"onSystemChange"},standalone:!1,decls:9,vars:10,consts:[["fxLayout","column",1,"h-100","tld-translate",3,"ngClass.lt-md","ngClass.lt-sm"],["fxLayout","column","fxFlex","",1,"tld-translate-wrapper","tld-default-border"],[1,"tld-translate-switcher-wrapper","tld-default-border-bottom"],[3,"disabled","isCollectionsActivated","settings","maxDisplayedLanguages","showDomainsWithLanguageName","buttonDisabled","hideLangMenuLabels","loader","showTranslateButton","onDomainChange","onActionClick","onLanguageSwap","onSourceLanguageChange","onTargetLanguageChange",4,"ngIf"],[3,"isCollectionsActivated",4,"ngIf"],["class","message-wrapper",4,"ngIf"],["fxFlex","",2,"position","relative"],["fxFlex","","fxLayoutAlign","column"],[3,"ngClass.xs",4,"ngIf"],[3,"onDomainChange","onActionClick","onLanguageSwap","onSourceLanguageChange","onTargetLanguageChange","disabled","isCollectionsActivated","settings","maxDisplayedLanguages","showDomainsWithLanguageName","buttonDisabled","hideLangMenuLabels","loader","showTranslateButton"],[3,"isCollectionsActivated"],[1,"message-wrapper"],[3,"inline","message","closeClicked",4,"ngFor","ngForOf"],[3,"closeClicked","inline","message"],[3,"ngClass.xs"]],template:function(r,o){r&1&&(E(0,"div",0)(1,"div",1)(2,"div",2),F(3,zJ,1,9,"tld-translate-switcher",3)(4,VJ,1,1,"tld-translation-system-picker",4),C(),F(5,GJ,2,1,"div",5),E(6,"div",6),ie(7,"tld-translate-body",7),F(8,WJ,1,1,"tld-translation-system-picker-dropdown",8),C()()()),r&2&&(Se("tld-translate-multiple-files-active",o.isMultipleFilesActive),b("ngClass.lt-md","tld-translate-tablet tld-default-border-bottom")("ngClass.lt-sm","tld-translate-mobile tld-default-border-bottom"),_(3),b("ngIf",o.switcherOptions&&o.languageMenuVersion===o.languageMenuV1),_(),b("ngIf",o.languageMenuVersion===o.languageMenuV2),_(),b("ngIf",o.messages.length),_(2),Te("source-language",o.sourceLanguage)("target-language",o.targetLanguage),_(),b("ngIf",o.systemPickerDropdownVisible))},dependencies:[hn,$e,YS,O2,F2,ZN,It,nn,In,Xt,eA],styles:[".tld-translate-wrapper[_ngcontent-%COMP%]{overflow:hidden;background:#fff;box-shadow:0 3.2px 7.2px #00000021}.tld-translate-switcher-wrapper[_ngcontent-%COMP%]{padding:.5em .2em}.h-100[_ngcontent-%COMP%]{height:100%}tld-translation-system-picker-dropdown[_ngcontent-%COMP%]{z-index:2}tld-translation-system-picker-dropdown[_ngcontent-%COMP%]:not(.mobile){position:absolute;width:100%;height:100%}tld-translation-system-picker-dropdown.mobile[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100vw;height:100vh}.tld-translate-tablet[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%], .tld-translate-mobile[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%]{padding:0}.message-wrapper[_ngcontent-%COMP%]{padding:16px 16px 0}lib-tld-notification-message[_ngcontent-%COMP%]:not(:first-child){margin-top:4px}[_nghost-%COMP%] .notification-message{margin-bottom:0!important}"],data:{animation:[pp("openCloseAnimation",[jd(":enter",[Ar({height:0}),Fd(500)]),jd(":leave",Fd(500,Ar({height:0})))])]}});let n=t;return n})();var U2=(()=>{let t=class t{static forRoot(i){let r=[{provide:SS,useFactory:vF,deps:[it]}];return i&&r.push({provide:Ey,useValue:i}),{ngModule:t,providers:r}}};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=pe({type:t}),t.\u0275inj=fe({providers:[qt],imports:[Rt,xn,qr,X_,ma,T2,jF,$S,$N,Mo,$n]});let n=t;return n})();var z2={name:"@tilde-nlp/ngx-translate",version:"9.0.16",description:"Tilde Translate box - solution for machine translating text and documents. Built with angular, but also exposed as web component.",keywords:["Machine translation","translate","Tilde"],peerDependencies:{"@angular/common":"^20.0.0","@angular/core":"^20.0.0","@angular/material":"^20.0.0","@ngbracket/ngx-layout":"^20.0.0","@ngx-translate/core":"^17.0.0","file-saver":"^2.0.5","@tilde-nlp/ngx-common":"8.x"},dependencies:{tslib:"^2.0.0"},directories:{"web-component":"./../tld-translate-web-component/library"},license:"Apache-2.0"};function YJ(n,t){n&1&&ie(0,"tld-translate")}var{version:ZJ}=z2,tA=(()=>{let t=class t{constructor(i,r,o){this.translate=i,this.configService=r,this.terminologyConfigService=o,this.isAuth=!0,this.appId="TildeMT|TranslateBox",this.isCollectionsActivated=!1,this.hideGlossaryMenuWithoutCollections=!0,this.defaultUiLanguage="en",this.defaultExtensionCount=9,this.langAttributeKey="lang"}ngOnInit(){this.config={text:{allowWebsiteTranslation:this.ensureTypeBool(this.allowWebsiteTranslation)??!1,maxCharLength:this.maxCharLength,showAvailableExtensions:this.ensureTypeBool(this.showExtensions)??!1,showExtensionsUnauthOnly:this.ensureTypeBool(this.showExtensionsUnauthOnly),visibleExtensionCount:this.ensureTypeIsPositiveNumber(this.visibleExtensionCount)??this.defaultExtensionCount,showExtensionPopup:!0,isAutoLanguageDetectionEnabled:this.ensureTypeBool(this.isAutoLanguageDetectionEnabled),useDictionary:this.ensureTypeBool(this.isDictionaryEnabled),dictionaryUrls:JSON.parse(this.dictionaryUrls??null)},core:{appId:`${this.appId}|${ZJ}`,xApiKey:this.xApiKey,isAuth:this.ensureTypeBool(this.isAuth),showVendors:this.ensureTypeBool(this.showVendors),registerLink:this.registerLink,isWebComponent:!0,showDomains:this.ensureTypeBool(this.showDomains),maxDisplayedLanguages:this.maxDisplayedLanguages??1,contactSupport:this.ensureTypeBool(this.contactSupport),subscriptionSupport:this.ensureTypeBool(this.subscriptionSupport)??!1,languageMenuVersion:this.ensureTypeIsPositiveNumber(this.languageMenuVersion),apiBaseUrl:this.apiBaseUrl,defaultSourceLanguage:this.srcLanguage,defaultTargetLanguage:this.trgLanguage,defaultDomain:this.domain,supportEmail:this.supportEmail},llm:{isEnabled:this.ensureTypeBool(this.isLlmEnabled)??!1,apiUrl:this.llmServiceUrl},file:{allowedFileTypes:this.isAuth?this.allowedFileTypesAuthUser:this.allowedFileTypes,extendedFileTypes:this.allowedFileTypesAuthUser,ocrPageLimit:this.ensureTypeIsPositiveNumber(this.ocrPageLimit),showTranslationLimits:!this.ensureTypeBool(this.isAuth)},term:{isCollectionsActivated:this.ensureTypeBool(this.isCollectionsActivated),terminologyPortalUrl:this.terminologyPortalUrl},quota:{apiUrl:this.quotaServiceUrl}},this.configService.initConfigs(this.config),this.terminologyConfigService.initConfigs({xApiKey:this.configService.coreConfig.xApiKey,appId:this.configService.coreConfig.appId,hideGlossaryMenuWithoutCollections:this.ensureTypeBool(this.hideGlossaryMenuWithoutCollections),showGlossaryMenuAdvertisement:!0,signInUrl:this.signInLink,startTrialUrl:this.registerLink,engineTermUrl:this.engineTermUrl,systemListUrl:this.systemListUrl,terminologyPortalUrl:this.terminologyPortalUrl}),this.addPlausible(),this.setTranslations(this.defaultUiLanguage),this.translate.setDefaultLang(this.defaultUiLanguage),this.changeLanguage(this.uiLanguage??this.defaultUiLanguage),this.watchHtmlLangAttributeChanges(),this.isConfigLoaded=!0}changeLanguage(i){this.setTranslations(i),this.translate.use(i)}setTranslations(i){Qr[i]&&this.translate.setTranslation(i,Qr[i],!0)}ensureTypeBool(i){return i===!0||i==="true"?!0:i===!1||i==="false"?!1:null}ensureTypeIsPositiveNumber(i){let r=parseInt(i);return r>=0?r:null}watchHtmlLangAttributeChanges(){let i=this.getHtmlLangAttribute();!this.uiLanguage&&i!==this.defaultUiLanguage&&this.changeLanguage(i);let r=l=>{for(let d of l)if(d.type==="attributes"&&d.attributeName===this.langAttributeKey){let f=this.getHtmlLangAttribute();this.changeLanguage(f)}},o=new MutationObserver(r),s=document.querySelector("html"),a={attributes:!0,attributeFilter:[this.langAttributeKey]};o.observe(s,a)}getHtmlLangAttribute(){return document.querySelector("html").getAttribute(this.langAttributeKey).split("-")[0]}addPlausible(){this.plausibleDomain?.length&&ys.addPlausible(this.plausibleDomain)}};t.\u0275fac=function(r){return new(r||t)(P(qt),P(it),P(Ro))},t.\u0275cmp=ne({type:t,selectors:[["tld-translate-web"]],inputs:{allowedFileTypes:"allowedFileTypes",allowedFileTypesAuthUser:"allowedFileTypesAuthUser",ocrPageLimit:"ocrPageLimit",isAuth:"isAuth",maxCharLength:"maxCharLength",showVendors:"showVendors",allowWebsiteTranslation:"allowWebsiteTranslation",showExtensions:"showExtensions",showExtensionsUnauthOnly:"showExtensionsUnauthOnly",registerLink:"registerLink",signInLink:"signInLink",appId:"appId",showDomains:"showDomains",maxDisplayedLanguages:"maxDisplayedLanguages",xApiKey:"xApiKey",isCollectionsActivated:"isCollectionsActivated",terminologyPromotion:"terminologyPromotion",contactSupport:"contactSupport",subscriptionSupport:"subscriptionSupport",visibleExtensionCount:"visibleExtensionCount",languageMenuVersion:"languageMenuVersion",isAutoLanguageDetectionEnabled:"isAutoLanguageDetectionEnabled",hideGlossaryMenuWithoutCollections:"hideGlossaryMenuWithoutCollections",isLlmEnabled:"isLlmEnabled",apiBaseUrl:"apiBaseUrl",engineTermUrl:"engineTermUrl",systemListUrl:"systemListUrl",terminologyPortalUrl:"terminologyPortalUrl",llmServiceUrl:"llmServiceUrl",quotaServiceUrl:"quotaServiceUrl",plausibleDomain:"plausibleDomain",isDictionaryEnabled:"isDictionaryEnabled",dictionaryUrls:"dictionaryUrls",uiLanguage:"uiLanguage",defaultUiLanguage:"defaultUiLanguage",srcLanguage:"srcLanguage",trgLanguage:"trgLanguage",domain:"domain",supportEmail:"supportEmail"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"]],template:function(r,o){r&1&&F(0,YJ,1,0,"tld-translate",0),r&2&&b("ngIf",o.isConfigLoaded)},dependencies:[$e,B2],styles:['@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialicons/v144/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format("woff2")}.material-icons[_ngcontent-%COMP%]{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased}@font-face{font-family:Material Icons Outlined;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialiconsoutlined/v110/gok-H7zzDkdnRel8-DQ6KAXJ69wP1tGnf4ZGhUce.woff2) format("woff2")}.material-icons-outlined[_ngcontent-%COMP%]{font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}[_ngcontent-%COMP%]:root{--default-border-radius: 4px;--default-border-width: 2px}.mat-loading[_ngcontent-%COMP%] .mdc-button__label[_ngcontent-%COMP%]{visibility:hidden}.mat-loading[_ngcontent-%COMP%] .mat-mdc-progress-spinner[_ngcontent-%COMP%]{position:absolute;top:calc(50% - 10px);left:calc(50% - 10px)}[mat-menu-item].align-v-middle[_ngcontent-%COMP%] *[_ngcontent-%COMP%], button.align-v-middle[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{vertical-align:middle}.link-button[_ngcontent-%COMP%]:visited, .link-button[_ngcontent-%COMP%]:hover, .link-button[_ngcontent-%COMP%]:active, .link-button[_ngcontent-%COMP%]:link{text-decoration:none}mat-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{vertical-align:initial}.mat-mdc-icon-button[_ngcontent-%COMP%]:not([disabled]){color:var(--base-30)!important}.success-icon[_ngcontent-%COMP%]{color:var(--success-dark)}.error-icon[_ngcontent-%COMP%]{color:var(--error-dark)}.icon-center-vertically[_ngcontent-%COMP%]{vertical-align:middle}.mat-mdc-dialog-container[_ngcontent-%COMP%]{min-width:22rem;width:40rem!important}.mat-mdc-dialog-container[_ngcontent-%COMP%] h1[mat-dialog-title].mat-mdc-dialog-title[_ngcontent-%COMP%], .mat-mdc-dialog-container[_ngcontent-%COMP%] [mat-dialog-title].mat-dialog-title[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:1.5rem!important;font-weight:500!important;margin-bottom:0!important}mat-dialog-actions[_ngcontent-%COMP%]{display:flex;gap:8px;margin-right:1em!important;margin-bottom:.75em!important}.mdc-dialog__title[_ngcontent-%COMP%]{max-width:fit-content}.responsive-dialog[_ngcontent-%COMP%] .mat-mdc-dialog-container[_ngcontent-%COMP%]{width:100%!important;min-width:0!important}.mat-mdc-dialog-content[_ngcontent-%COMP%]{color:inherit!important}.close[_ngcontent-%COMP%]{position:absolute!important;top:1rem!important;right:1rem!important;z-index:1!important}.mat-mdc-dialog-surface[_ngcontent-%COMP%]{border-radius:12px!important}@media (max-width: 959px){.cdk-overlay-pane[_ngcontent-%COMP%]{max-width:100%!important}.close[_ngcontent-%COMP%]{top:.25rem!important;right:.25rem!important}}strapi-html[_ngcontent-%COMP%] .text-tiny[_ngcontent-%COMP%]{font-size:.7rem}strapi-html[_ngcontent-%COMP%] .text-small[_ngcontent-%COMP%]{font-size:.85rem}strapi-html[_ngcontent-%COMP%] .text-big[_ngcontent-%COMP%]{font-size:1.4rem}strapi-html[_ngcontent-%COMP%] .text-huge[_ngcontent-%COMP%]{font-size:1.8rem}.semi-bold[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] a[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] a[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .text-s-semi-bold[_ngcontent-%COMP%], .text-m-semi-bold[_ngcontent-%COMP%], .text-l-semi-bold[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .text-xl-semi-bold[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .text-2-xl[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .text-3-xl[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .text-4-xl[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-weight:600}@media (min-width: 600px){.text-4-xl[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2.75rem;line-height:3.375rem}}@media (min-width: 0) and (max-width: 599.9px){.text-4-xl[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2rem;line-height:2.625rem}}.text-3-xl[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:2rem;line-height:2.625rem}.text-2-xl[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:1.5rem;line-height:2.125rem}.text-xl[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%], .text-xl-semi-bold[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:1.25rem;line-height:2rem}.text-l[_ngcontent-%COMP%], .text-l-semi-bold[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:1rem;line-height:1.625rem}.text-m[_ngcontent-%COMP%], .text-m-semi-bold[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.4375rem}.text-s[_ngcontent-%COMP%], .text-s-semi-bold[_ngcontent-%COMP%]{font-size:.75rem;line-height:1.25rem}.tld-container[_ngcontent-%COMP%]{max-width:87rem;margin-left:auto;margin-right:auto;padding:0 2rem;width:100%}@media (min-width: 0) and (max-width: 599.9px){.tld-container[_ngcontent-%COMP%]{padding:0 1rem}}strapi-feature-list[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%]{color:var(--base-30)}strapi-feature-list[_ngcontent-%COMP%] a[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] a[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--primary-accent)!important}strapi-feature-list[_ngcontent-%COMP%] a.mdc-button--raised[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] a.mdc-button--raised[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] a.mdc-button--raised[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] a.mdc-button--raised[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] a.mdc-button--raised[_ngcontent-%COMP%]{text-decoration:none;color:var(--base-100)!important;background-color:var(--primary-accent)!important}strapi-feature-list[_ngcontent-%COMP%] a.mdc-button--outlined[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] a.mdc-button--outlined[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] a.mdc-button--outlined[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] a.mdc-button--outlined[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] a.mdc-button--outlined[_ngcontent-%COMP%]{background-color:transparent!important}strapi-feature-list[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{color:var(--base-10)}strapi-html[_ngcontent-%COMP%]{margin-top:4rem}.strapi-feature-list[_ngcontent-%COMP%] .strapi-feature-list-title[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .strapi-feature-list[_ngcontent-%COMP%] .strapi-feature-list-title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .strapi-feature-list[_ngcontent-%COMP%] .strapi-feature-list-title[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .strapi-feature-list[_ngcontent-%COMP%] .strapi-feature-list-title[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .strapi-feature-list[_ngcontent-%COMP%] .strapi-feature-list-title[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .strapi-feature-list[_ngcontent-%COMP%] .strapi-feature-list-title[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{margin-bottom:4rem}[_nghost-%COMP%] .mdc-notched-outline__notch:has(.mdc-floating-label){border-right:none!important;border-left:none!important}[_nghost-%COMP%] .mat-mdc-icon-button, [_nghost-%COMP%] .mat-mdc-icon-button .mat-mdc-button-touch-target{height:40px!important;width:40px!important}[_nghost-%COMP%] .mat-mdc-icon-button mat-icon, [_nghost-%COMP%] .mat-mdc-icon-button .material-icons, [_nghost-%COMP%] .mat-mdc-icon-button .material-icons-outlined{position:absolute!important;top:8px!important;left:8px!important}[_nghost-%COMP%] .tld-custom-select .mat-mdc-select-value{max-width:100px!important;width:100%!important;overflow:hidden;text-overflow:ellipsis;color:var(--accent);margin-right:.5rem!important}[_nghost-%COMP%] .tld-custom-select .mat-mdc-select-arrow{color:var(--accent)!important}[_nghost-%COMP%] h1[mat-dialog-title]{margin-top:12px}']});let n=t;return n})();var V2=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=ne({type:t,selectors:[["app-root"]],standalone:!1,decls:1,vars:0,consts:[["clientId","clientId","app-id","TildeMT|Web"]],template:function(r,o){r&1&&ie(0,"tld-translate-web",0)},dependencies:[tA],encapsulation:2});let n=t;return n})();var H2=()=>({provide:yS,useFactory:n=>({sharedConfiguration:{xAppId:n.coreConfig?.appId},llmService:{url:n?.llmConfig?.apiUrl},quotaService:{url:n?.quotaConfig?.apiUrl},speechApi:{url:""}}),deps:[it]});var XJ=IA(W2());window.$=window.jQuery=XJ;var K2=(n,t)=>{let e=A(it);if(e.coreConfig.xApiKey){let i=n.clone({setHeaders:{"X-Api-Key":`${e.coreConfig.xApiKey}`}});return t(i)}return t(n)};var q2=(()=>{let t=class t{constructor(i){let r=tL(tA,{injector:i});customElements.define("tilde-translate-box",r)}ngDoBootstrap(i){document.querySelector("app-root")&&i.bootstrap(V2)}};t.\u0275fac=function(r){return new(r||t)(G(ze))},t.\u0275mod=pe({type:t}),t.\u0275inj=fe({providers:[up(wC([K2])),H2()],imports:[eO,ap,U2.forRoot(),xn.forRoot({missingTranslationHandler:{provide:oc,useClass:dy}}),qr,gs]});let n=t;return n})();var Y2={production:!0};Y2.production&&void 0;TC().bootstrapModule(q2).catch(n=>console.error(n));
|
|
210
|
+
`;var j2=(()=>{let t=class t{get defaultQueryString(){return`lang=${this.defaultQueryParams.lang}`}constructor(i){this.translate=i,this.defaultQueryParams={lang:""},this.queryString=new vn(this.defaultQueryString),this.defaultQueryParams.lang=this.translate.currentLang,this.translate.onLangChange.subscribe(r=>{this.defaultQueryParams.lang=r.lang,this.queryString.next(this.defaultQueryString)})}query(){return this.queryString.asObservable()}};t.\u0275fac=function(r){return new(r||t)(G(qt))},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function zJ(n,t){if(n&1){let e=he();E(0,"tld-translate-switcher",9),Y("onDomainChange",function(r){$(e);let o=I();return Q(o.systemChange(r))})("onActionClick",function(){$(e);let r=I();return Q(r.translateButtonClick())})("onLanguageSwap",function(){$(e);let r=I();return Q(r.swapLanguages())})("onSourceLanguageChange",function(r){$(e);let o=I();return Q(o.sourceLanguageChange(r))})("onTargetLanguageChange",function(r){$(e);let o=I();return Q(o.targetLanguageChange(r))}),C()}if(n&2){let e=I();b("disabled",e.actionButtonDisabled)("isCollectionsActivated",e.isCollectionsActivated)("settings",e.switcherOptions)("maxDisplayedLanguages",e.maxDisplayedLanguages)("showDomainsWithLanguageName",e.showDomainsWithLanguageName)("buttonDisabled",e.actionButtonDisabled)("hideLangMenuLabels",e.hideLangMenuLabels)("loader",e.actionButtonLoader)("showTranslateButton",e.showTranslateButton)}}function VJ(n,t){if(n&1&&ie(0,"tld-translation-system-picker",10),n&2){let e=I();b("isCollectionsActivated",e.isCollectionsActivated)}}function HJ(n,t){if(n&1){let e=he();E(0,"lib-tld-notification-message",13),Y("closeClicked",function(){let r=$(e).index,o=I(2);return Q(o.removeMessage(r))}),C()}if(n&2){let e=t.$implicit;b("inline",!0)("message",e)}}function GJ(n,t){if(n&1&&(E(0,"div",11),F(1,HJ,1,2,"lib-tld-notification-message",12),C()),n&2){let e=I();_(),b("ngForOf",e.messages)}}function WJ(n,t){n&1&&ie(0,"tld-translation-system-picker-dropdown",14),n&2&&b("ngClass.xs","mobile")}var B2=(()=>{let t=class t{get actionButtonLoader(){return this.translateTextService.isTranslating}get showDomainsWithLanguageName(){return this.configService.coreConfig.showDomainsWithLanguageName}get maxDisplayedLanguages(){return this.configService.coreConfig.maxDisplayedLanguages}get actionButtonDisabled(){return this.translateFileService.disableTranslateButton||this.audioService.isRecording||this.voiceProcessingService.isProcessing||this.translateTextService.isDictating}get showTranslateButton(){return this.configService.textConfig.showTranslateButton&&!this.translateFileService.multipleFileUploadActive}get isMultipleFilesActive(){return this.tldTranslateBody?.multipleFilesUploaded}get hideLangMenuLabels(){return this.configService?.coreConfig.hideLangMenuLabels}get isCollectionsActivated(){return this.configService?.termConfig?.isCollectionsActivated}get sourceLanguage(){return this.activeSystemObj?.sourceLang.lang}get targetLanguage(){return this.activeSystemObj?.targetLang.lang}get systemPickerDropdownVisible(){return this.systemPickerService.openedMenu!==Vi.NONE}get languageMenuVersion(){return this.configService.coreConfig?.languageMenuVersion}constructor(i,r,o,s,a,l,d,f,g,S,x,w,U){this.translate=i,this.translateFileService=r,this.translateTextService=o,this.configService=s,this.alerts=a,this.translateButtonService=l,this.tldSystem=d,this.audioService=f,this.voiceProcessingService=g,this.wtwQueryService=S,this.systemPickerService=x,this.terminologyService=w,this.iconService=U,this.onError=new ue,this.onSystemChange=new ue,this.messages=[],this.noSystemsError={body:"TLD_TRANSLATE.ERROR_NO_SYSTEMS_LOADED",type:Tr.ERROR,hideClose:!0},this.languageMenuV1=Uu.V1,this.languageMenuV2=Uu.V2,this.destroy$=new J}changeAuth(i){this.configService.coreConfig.isAuth=i.isAuth,this.configService.termConfig.canCreateCollection=i.canCreateTermCollection,this.translateFileService.clear(),this.initializeWidget()}initializeWidget(){this.tldSystem.init(this.tldSystem.getLastUsedSystem())}ngOnInit(){if(this.iconService.registerIcons(QS),this.removeMessagesOnClear(),this.tldSystem.getLoadedSystems().pipe(We(this.destroy$)).subscribe(r=>{r.length||this.messages.push(this.noSystemsError)}),this.configService.coreConfig.debug)for(let r in Qr)this.translate.setTranslation(r,Qr[r],!0);this.initializeWidget(),this.tldSystem.getActiveData().pipe(lo(),We(this.destroy$)).subscribe(r=>{this.activeSystemObj=r,r&&(this.onSystemChange.emit(r),this.switcherOptions={domains:r.domains,source:{code:r.sourceLang.lang,systemId:r.systemId},sourceLanguageList:r.sourceLangList,systemId:r.systemId,swapActive:r.swapLangActive,target:{code:r.targetLang.lang,systemId:r.systemId},targetLanguageList:r.targetLangList,vendors:r.vendors,languageId:r.languageId})}),this.translateTextService.sourceChange.pipe(We(this.destroy$)).subscribe(r=>{r.swapSystems&&this.swapLanguages()}),this.translateButtonService.getActionClick().pipe(We(this.destroy$)).subscribe(()=>{this.translateButtonClick()}),this.wtwQueryService.query().pipe(We(this.destroy$)).subscribe(r=>{this.messages.forEach(o=>{o.localizationParams.queryString=r})}),this.alerts.getMessages().pipe(We(this.destroy$)).subscribe(r=>{if(r.localizationParams.queryString=this.wtwQueryService.defaultQueryString,r?.delete){this.removeExistingMessage(r);return}r.type===Tr.ERROR&&this.onError.emit(r.error),this.addMessage(r)});let i="APP_NAME";this.translate.stream([i]).pipe(We(this.destroy$)).subscribe(r=>{this.configService.coreConfig.appName=r[i]}),this.terminologyService.getRetranslateSignal().pipe(We(this.destroy$)).subscribe(()=>{this.translateFileService.fileNames.length||this.translateButtonClick()})}removeMessage(i){this.messages.splice(i,1)}swapLanguages(){this.tldSystem.swapSystemLanguages()}sourceLanguageChange(i){this.tldSystem.changeLanguage(i,this.switcherOptions.target.code)}systemChange(i){this.tldSystem.changeSystem(i)}targetLanguageChange(i){this.tldSystem.changeLanguage(this.switcherOptions.source.code,i)}translateButtonClick(){this.translateFileService.translationFiles?.length>0?this.translateFileService.translateButtonClick(this.activeSystemObj):this.translateTextService.onTranslateButtonClick()}removeMessagesOnClear(){this.translateFileService.onClear().pipe(We(this.destroy$)).subscribe(()=>{this.messages=[]}),this.translateTextService.onClear().pipe(We(this.destroy$)).subscribe(()=>{this.messages=[]})}ngOnDestroy(){this.destroy$.next(null),this.destroy$.complete()}removeExistingMessage(i){delete i.delete;let r=JSON.stringify(i),o=this.messages.find(a=>JSON.stringify(a)===r),s=this.messages.indexOf(o);s<0||this.removeMessage(s)}addMessage(i){let r=JSON.stringify(i.localizationParams);this.messages.find(s=>s.title===i.title&&s.type===i.type&&i.body===s.body&&JSON.stringify(s.localizationParams)===r)||this.messages.push(i)}};t.\u0275fac=function(r){return new(r||t)(P(qt),P(pr),P(Es),P(it),P(Di),P(kc),P(Vt),P(Sm),P(Im),P(j2),P(Ts),P(Sr),P(bm))},t.\u0275cmp=ne({type:t,selectors:[["tld-translate"]],viewQuery:function(r,o){if(r&1&&Fe(eA,5),r&2){let s;we(s=De())&&(o.tldTranslateBody=s.first)}},outputs:{onError:"onError",onSystemChange:"onSystemChange"},standalone:!1,decls:9,vars:10,consts:[["fxLayout","column",1,"h-100","tld-translate",3,"ngClass.lt-md","ngClass.lt-sm"],["fxLayout","column","fxFlex","",1,"tld-translate-wrapper","tld-default-border"],[1,"tld-translate-switcher-wrapper","tld-default-border-bottom"],[3,"disabled","isCollectionsActivated","settings","maxDisplayedLanguages","showDomainsWithLanguageName","buttonDisabled","hideLangMenuLabels","loader","showTranslateButton","onDomainChange","onActionClick","onLanguageSwap","onSourceLanguageChange","onTargetLanguageChange",4,"ngIf"],[3,"isCollectionsActivated",4,"ngIf"],["class","message-wrapper",4,"ngIf"],["fxFlex","",2,"position","relative"],["fxFlex","","fxLayoutAlign","column"],[3,"ngClass.xs",4,"ngIf"],[3,"onDomainChange","onActionClick","onLanguageSwap","onSourceLanguageChange","onTargetLanguageChange","disabled","isCollectionsActivated","settings","maxDisplayedLanguages","showDomainsWithLanguageName","buttonDisabled","hideLangMenuLabels","loader","showTranslateButton"],[3,"isCollectionsActivated"],[1,"message-wrapper"],[3,"inline","message","closeClicked",4,"ngFor","ngForOf"],[3,"closeClicked","inline","message"],[3,"ngClass.xs"]],template:function(r,o){r&1&&(E(0,"div",0)(1,"div",1)(2,"div",2),F(3,zJ,1,9,"tld-translate-switcher",3)(4,VJ,1,1,"tld-translation-system-picker",4),C(),F(5,GJ,2,1,"div",5),E(6,"div",6),ie(7,"tld-translate-body",7),F(8,WJ,1,1,"tld-translation-system-picker-dropdown",8),C()()()),r&2&&(Se("tld-translate-multiple-files-active",o.isMultipleFilesActive),b("ngClass.lt-md","tld-translate-tablet tld-default-border-bottom")("ngClass.lt-sm","tld-translate-mobile tld-default-border-bottom"),_(3),b("ngIf",o.switcherOptions&&o.languageMenuVersion===o.languageMenuV1),_(),b("ngIf",o.languageMenuVersion===o.languageMenuV2),_(),b("ngIf",o.messages.length),_(2),Te("source-language",o.sourceLanguage)("target-language",o.targetLanguage),_(),b("ngIf",o.systemPickerDropdownVisible))},dependencies:[hn,$e,YS,O2,F2,ZN,It,nn,In,Xt,eA],styles:[".tld-translate-wrapper[_ngcontent-%COMP%]{overflow:hidden;background:#fff;box-shadow:0 3.2px 7.2px #00000021}.tld-translate-switcher-wrapper[_ngcontent-%COMP%]{padding:.5em .2em}.h-100[_ngcontent-%COMP%]{height:100%}tld-translation-system-picker-dropdown[_ngcontent-%COMP%]{z-index:2}tld-translation-system-picker-dropdown[_ngcontent-%COMP%]:not(.mobile){position:absolute;width:100%;height:100%}tld-translation-system-picker-dropdown.mobile[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100vw;height:100vh}.tld-translate-tablet[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%], .tld-translate-mobile[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%]{padding:0}.message-wrapper[_ngcontent-%COMP%]{padding:16px 16px 0}lib-tld-notification-message[_ngcontent-%COMP%]:not(:first-child){margin-top:4px}[_nghost-%COMP%] .notification-message{margin-bottom:0!important}"],data:{animation:[pp("openCloseAnimation",[jd(":enter",[Ar({height:0}),Fd(500)]),jd(":leave",Fd(500,Ar({height:0})))])]}});let n=t;return n})();var U2=(()=>{let t=class t{static forRoot(i){let r=[{provide:SS,useFactory:vF,deps:[it]}];return i&&r.push({provide:Ey,useValue:i}),{ngModule:t,providers:r}}};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=pe({type:t}),t.\u0275inj=fe({providers:[qt],imports:[Rt,xn,qr,X_,ma,T2,jF,$S,$N,Mo,$n]});let n=t;return n})();var z2={name:"@tilde-nlp/ngx-translate",version:"9.0.18",description:"Tilde Translate box - solution for machine translating text and documents. Built with angular, but also exposed as web component.",keywords:["Machine translation","translate","Tilde"],peerDependencies:{"@angular/common":"^20.0.0","@angular/core":"^20.0.0","@angular/material":"^20.0.0","@ngbracket/ngx-layout":"^20.0.0","@ngx-translate/core":"^17.0.0","file-saver":"^2.0.5","@tilde-nlp/ngx-common":"8.x"},dependencies:{tslib:"^2.0.0"},directories:{"web-component":"./../tld-translate-web-component/library"},license:"Apache-2.0"};function YJ(n,t){n&1&&ie(0,"tld-translate")}var{version:ZJ}=z2,tA=(()=>{let t=class t{constructor(i,r,o){this.translate=i,this.configService=r,this.terminologyConfigService=o,this.isAuth=!0,this.appId="TildeMT|TranslateBox",this.isCollectionsActivated=!1,this.hideGlossaryMenuWithoutCollections=!0,this.defaultUiLanguage="en",this.defaultExtensionCount=9,this.langAttributeKey="lang"}ngOnInit(){this.config={text:{allowWebsiteTranslation:this.ensureTypeBool(this.allowWebsiteTranslation)??!1,maxCharLength:this.maxCharLength,showAvailableExtensions:this.ensureTypeBool(this.showExtensions)??!1,showExtensionsUnauthOnly:this.ensureTypeBool(this.showExtensionsUnauthOnly),visibleExtensionCount:this.ensureTypeIsPositiveNumber(this.visibleExtensionCount)??this.defaultExtensionCount,showExtensionPopup:!0,isAutoLanguageDetectionEnabled:this.ensureTypeBool(this.isAutoLanguageDetectionEnabled),useDictionary:this.ensureTypeBool(this.isDictionaryEnabled),dictionaryUrls:JSON.parse(this.dictionaryUrls??null)},core:{appId:`${this.appId}|${ZJ}`,xApiKey:this.xApiKey,isAuth:this.ensureTypeBool(this.isAuth),showVendors:this.ensureTypeBool(this.showVendors),registerLink:this.registerLink,isWebComponent:!0,showDomains:this.ensureTypeBool(this.showDomains),maxDisplayedLanguages:this.maxDisplayedLanguages??1,contactSupport:this.ensureTypeBool(this.contactSupport),subscriptionSupport:this.ensureTypeBool(this.subscriptionSupport)??!1,languageMenuVersion:this.ensureTypeIsPositiveNumber(this.languageMenuVersion),apiBaseUrl:this.apiBaseUrl,defaultSourceLanguage:this.srcLanguage,defaultTargetLanguage:this.trgLanguage,defaultDomain:this.domain,supportEmail:this.supportEmail},llm:{isEnabled:this.ensureTypeBool(this.isLlmEnabled)??!1,apiUrl:this.llmServiceUrl},file:{allowedFileTypes:this.ensureTypeBool(this.isAuth)?this.parseStringToArray(this.allowedFileTypesAuthUser):this.parseStringToArray(this.allowedFileTypes),ocrPageLimit:this.ensureTypeIsPositiveNumber(this.ocrPageLimit),showTranslationLimits:!this.ensureTypeBool(this.isAuth),maxSize:this.ensureTypeIsPositiveNumber(this.maxFileSize)},term:{isCollectionsActivated:this.ensureTypeBool(this.isCollectionsActivated),terminologyPortalUrl:this.terminologyPortalUrl},quota:{apiUrl:this.quotaServiceUrl}},this.configService.initConfigs(this.config),this.terminologyConfigService.initConfigs({xApiKey:this.configService.coreConfig.xApiKey,appId:this.configService.coreConfig.appId,hideGlossaryMenuWithoutCollections:this.ensureTypeBool(this.hideGlossaryMenuWithoutCollections),showGlossaryMenuAdvertisement:!0,signInUrl:this.signInLink,startTrialUrl:this.registerLink,engineTermUrl:this.engineTermUrl,systemListUrl:this.systemListUrl,terminologyPortalUrl:this.terminologyPortalUrl}),this.addPlausible(),this.setTranslations(this.defaultUiLanguage),this.translate.setDefaultLang(this.defaultUiLanguage),this.changeLanguage(this.uiLanguage??this.defaultUiLanguage),this.watchHtmlLangAttributeChanges(),this.isConfigLoaded=!0}changeLanguage(i){this.setTranslations(i),this.translate.use(i)}parseStringToArray(i){return typeof i=="string"?JSON.parse(i):i}setTranslations(i){Qr[i]&&this.translate.setTranslation(i,Qr[i],!0)}ensureTypeBool(i){return i===!0||i==="true"?!0:i===!1||i==="false"?!1:null}ensureTypeIsPositiveNumber(i){let r=parseInt(i);return r>=0?r:null}watchHtmlLangAttributeChanges(){let i=this.getHtmlLangAttribute();!this.uiLanguage&&i!==this.defaultUiLanguage&&this.changeLanguage(i);let r=l=>{for(let d of l)if(d.type==="attributes"&&d.attributeName===this.langAttributeKey){let f=this.getHtmlLangAttribute();this.changeLanguage(f)}},o=new MutationObserver(r),s=document.querySelector("html"),a={attributes:!0,attributeFilter:[this.langAttributeKey]};o.observe(s,a)}getHtmlLangAttribute(){return document.querySelector("html").getAttribute(this.langAttributeKey).split("-")[0]}addPlausible(){this.plausibleDomain?.length&&ys.addPlausible(this.plausibleDomain)}};t.\u0275fac=function(r){return new(r||t)(P(qt),P(it),P(Ro))},t.\u0275cmp=ne({type:t,selectors:[["tld-translate-web"]],inputs:{allowedFileTypes:"allowedFileTypes",allowedFileTypesAuthUser:"allowedFileTypesAuthUser",ocrPageLimit:"ocrPageLimit",isAuth:"isAuth",maxCharLength:"maxCharLength",showVendors:"showVendors",allowWebsiteTranslation:"allowWebsiteTranslation",showExtensions:"showExtensions",showExtensionsUnauthOnly:"showExtensionsUnauthOnly",registerLink:"registerLink",signInLink:"signInLink",appId:"appId",showDomains:"showDomains",maxDisplayedLanguages:"maxDisplayedLanguages",xApiKey:"xApiKey",isCollectionsActivated:"isCollectionsActivated",terminologyPromotion:"terminologyPromotion",contactSupport:"contactSupport",subscriptionSupport:"subscriptionSupport",visibleExtensionCount:"visibleExtensionCount",languageMenuVersion:"languageMenuVersion",isAutoLanguageDetectionEnabled:"isAutoLanguageDetectionEnabled",hideGlossaryMenuWithoutCollections:"hideGlossaryMenuWithoutCollections",isLlmEnabled:"isLlmEnabled",apiBaseUrl:"apiBaseUrl",engineTermUrl:"engineTermUrl",systemListUrl:"systemListUrl",terminologyPortalUrl:"terminologyPortalUrl",llmServiceUrl:"llmServiceUrl",quotaServiceUrl:"quotaServiceUrl",plausibleDomain:"plausibleDomain",isDictionaryEnabled:"isDictionaryEnabled",dictionaryUrls:"dictionaryUrls",uiLanguage:"uiLanguage",defaultUiLanguage:"defaultUiLanguage",srcLanguage:"srcLanguage",trgLanguage:"trgLanguage",domain:"domain",supportEmail:"supportEmail",maxFileSize:"maxFileSize"},standalone:!1,decls:1,vars:1,consts:[[4,"ngIf"]],template:function(r,o){r&1&&F(0,YJ,1,0,"tld-translate",0),r&2&&b("ngIf",o.isConfigLoaded)},dependencies:[$e,B2],styles:['@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialicons/v144/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format("woff2")}.material-icons[_ngcontent-%COMP%]{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased}@font-face{font-family:Material Icons Outlined;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialiconsoutlined/v110/gok-H7zzDkdnRel8-DQ6KAXJ69wP1tGnf4ZGhUce.woff2) format("woff2")}.material-icons-outlined[_ngcontent-%COMP%]{font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}[_ngcontent-%COMP%]:root{--default-border-radius: 4px;--default-border-width: 2px}.mat-loading[_ngcontent-%COMP%] .mdc-button__label[_ngcontent-%COMP%]{visibility:hidden}.mat-loading[_ngcontent-%COMP%] .mat-mdc-progress-spinner[_ngcontent-%COMP%]{position:absolute;top:calc(50% - 10px);left:calc(50% - 10px)}[mat-menu-item].align-v-middle[_ngcontent-%COMP%] *[_ngcontent-%COMP%], button.align-v-middle[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{vertical-align:middle}.link-button[_ngcontent-%COMP%]:visited, .link-button[_ngcontent-%COMP%]:hover, .link-button[_ngcontent-%COMP%]:active, .link-button[_ngcontent-%COMP%]:link{text-decoration:none}mat-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{vertical-align:initial}.mat-mdc-icon-button[_ngcontent-%COMP%]:not([disabled]){color:var(--base-30)!important}.success-icon[_ngcontent-%COMP%]{color:var(--success-dark)}.error-icon[_ngcontent-%COMP%]{color:var(--error-dark)}.icon-center-vertically[_ngcontent-%COMP%]{vertical-align:middle}.mat-mdc-dialog-container[_ngcontent-%COMP%]{min-width:22rem;width:40rem!important}.mat-mdc-dialog-container[_ngcontent-%COMP%] h1[mat-dialog-title].mat-mdc-dialog-title[_ngcontent-%COMP%], .mat-mdc-dialog-container[_ngcontent-%COMP%] [mat-dialog-title].mat-dialog-title[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:1.5rem!important;font-weight:500!important;margin-bottom:0!important}mat-dialog-actions[_ngcontent-%COMP%]{display:flex;gap:8px;margin-right:1em!important;margin-bottom:.75em!important}.mdc-dialog__title[_ngcontent-%COMP%]{max-width:fit-content}.responsive-dialog[_ngcontent-%COMP%] .mat-mdc-dialog-container[_ngcontent-%COMP%]{width:100%!important;min-width:0!important}.mat-mdc-dialog-content[_ngcontent-%COMP%]{color:inherit!important}.close[_ngcontent-%COMP%]{position:absolute!important;top:1rem!important;right:1rem!important;z-index:1!important}.mat-mdc-dialog-surface[_ngcontent-%COMP%]{border-radius:12px!important}@media (max-width: 959px){.cdk-overlay-pane[_ngcontent-%COMP%]{max-width:100%!important}.close[_ngcontent-%COMP%]{top:.25rem!important;right:.25rem!important}}strapi-html[_ngcontent-%COMP%] .text-tiny[_ngcontent-%COMP%]{font-size:.7rem}strapi-html[_ngcontent-%COMP%] .text-small[_ngcontent-%COMP%]{font-size:.85rem}strapi-html[_ngcontent-%COMP%] .text-big[_ngcontent-%COMP%]{font-size:1.4rem}strapi-html[_ngcontent-%COMP%] .text-huge[_ngcontent-%COMP%]{font-size:1.8rem}.semi-bold[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] a[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] a[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .text-s-semi-bold[_ngcontent-%COMP%], .text-m-semi-bold[_ngcontent-%COMP%], .text-l-semi-bold[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .text-xl-semi-bold[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .text-2-xl[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .text-3-xl[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .text-4-xl[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-weight:600}@media (min-width: 600px){.text-4-xl[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2.75rem;line-height:3.375rem}}@media (min-width: 0) and (max-width: 599.9px){.text-4-xl[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2rem;line-height:2.625rem}}.text-3-xl[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:2rem;line-height:2.625rem}.text-2-xl[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:1.5rem;line-height:2.125rem}.text-xl[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%], .text-xl-semi-bold[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:1.25rem;line-height:2rem}.text-l[_ngcontent-%COMP%], .text-l-semi-bold[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:1rem;line-height:1.625rem}.text-m[_ngcontent-%COMP%], .text-m-semi-bold[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.4375rem}.text-s[_ngcontent-%COMP%], .text-s-semi-bold[_ngcontent-%COMP%]{font-size:.75rem;line-height:1.25rem}.tld-container[_ngcontent-%COMP%]{max-width:87rem;margin-left:auto;margin-right:auto;padding:0 2rem;width:100%}@media (min-width: 0) and (max-width: 599.9px){.tld-container[_ngcontent-%COMP%]{padding:0 1rem}}strapi-feature-list[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%]{color:var(--base-30)}strapi-feature-list[_ngcontent-%COMP%] a[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] a[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--primary-accent)!important}strapi-feature-list[_ngcontent-%COMP%] a.mdc-button--raised[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] a.mdc-button--raised[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] a.mdc-button--raised[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] a.mdc-button--raised[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] a.mdc-button--raised[_ngcontent-%COMP%]{text-decoration:none;color:var(--base-100)!important;background-color:var(--primary-accent)!important}strapi-feature-list[_ngcontent-%COMP%] a.mdc-button--outlined[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] a.mdc-button--outlined[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] a.mdc-button--outlined[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] a.mdc-button--outlined[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] a.mdc-button--outlined[_ngcontent-%COMP%]{background-color:transparent!important}strapi-feature-list[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], strapi-feature-list[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], strapi-html[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], dynamic-zone[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .universal-page[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .universal-page-block[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{color:var(--base-10)}strapi-html[_ngcontent-%COMP%]{margin-top:4rem}.strapi-feature-list[_ngcontent-%COMP%] .strapi-feature-list-title[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .strapi-feature-list[_ngcontent-%COMP%] .strapi-feature-list-title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .strapi-feature-list[_ngcontent-%COMP%] .strapi-feature-list-title[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .strapi-feature-list[_ngcontent-%COMP%] .strapi-feature-list-title[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .strapi-feature-list[_ngcontent-%COMP%] .strapi-feature-list-title[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .strapi-feature-list[_ngcontent-%COMP%] .strapi-feature-list-title[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{margin-bottom:4rem}[_nghost-%COMP%] .mdc-notched-outline__notch:has(.mdc-floating-label){border-right:none!important;border-left:none!important}[_nghost-%COMP%] .mat-mdc-icon-button, [_nghost-%COMP%] .mat-mdc-icon-button .mat-mdc-button-touch-target{height:40px!important;width:40px!important}[_nghost-%COMP%] .mat-mdc-icon-button mat-icon, [_nghost-%COMP%] .mat-mdc-icon-button .material-icons, [_nghost-%COMP%] .mat-mdc-icon-button .material-icons-outlined{position:absolute!important;top:8px!important;left:8px!important}[_nghost-%COMP%] .tld-custom-select .mat-mdc-select-value{max-width:100px!important;width:100%!important;overflow:hidden;text-overflow:ellipsis;color:var(--accent);margin-right:.5rem!important}[_nghost-%COMP%] .tld-custom-select .mat-mdc-select-arrow{color:var(--accent)!important}[_nghost-%COMP%] h1[mat-dialog-title]{margin-top:12px}']});let n=t;return n})();var V2=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=ne({type:t,selectors:[["app-root"]],standalone:!1,decls:1,vars:0,consts:[["clientId","clientId","app-id","TildeMT|Web"]],template:function(r,o){r&1&&ie(0,"tld-translate-web",0)},dependencies:[tA],encapsulation:2});let n=t;return n})();var H2=()=>({provide:yS,useFactory:n=>({sharedConfiguration:{xAppId:n.coreConfig?.appId},llmService:{url:n?.llmConfig?.apiUrl},quotaService:{url:n?.quotaConfig?.apiUrl},speechApi:{url:""}}),deps:[it]});var XJ=IA(W2());window.$=window.jQuery=XJ;var K2=(n,t)=>{let e=A(it);if(e.coreConfig.xApiKey){let i=n.clone({setHeaders:{"X-Api-Key":`${e.coreConfig.xApiKey}`}});return t(i)}return t(n)};var q2=(()=>{let t=class t{constructor(i){let r=tL(tA,{injector:i});customElements.define("tilde-translate-box",r)}ngDoBootstrap(i){document.querySelector("app-root")&&i.bootstrap(V2)}};t.\u0275fac=function(r){return new(r||t)(G(ze))},t.\u0275mod=pe({type:t}),t.\u0275inj=fe({providers:[up(wC([K2])),H2()],imports:[eO,ap,U2.forRoot(),xn.forRoot({missingTranslationHandler:{provide:oc,useClass:dy}}),qr,gs]});let n=t;return n})();var Y2={production:!0};Y2.production&&void 0;TC().bootstrapModule(q2).catch(n=>console.error(n));
|