PageSourceSearch

https://nautos.de/main-QOQCHJKE.js

js nautos.de collected 2026-10-04 09:50:02 UTC 855,816 bytes, 1 lines download raw bytes

1import{a as el,b as tl,c as nl}from"./chunk-XMWLBYDU.js";import{a as Bn,b as xn,c as ml,d as ul,e as _l,f as hl,g as fl,h as Ai,i as To}from"./chunk-YGHQWLVU.js";import{a as Xs}from"./chunk-2SABGQUG.js";import{a as ds,b as Zs,c as ba,d as Rn,e as al,f as xo,g as wo,h as sl,i as cl,j as dl}from"./chunk-XX4RHMWL.js";import{c as ll}from"./chunk-QZ5LQOFA.js";import{a as rl}from"./chunk-332V4C7F.js";import{a as Jt,c as ol}from"./chunk-UQH2J6IT.js";import"./chunk-SXJIWRDR.js";import{a as ke}from"./chunk-ZI2VRKGG.js";import{a as pl}from"./chunk-WDDXA3RL.js";import"./chunk-MBKXSFQM.js";import"./chunk-GKQVFEWC.js";import{a as Js}from"./chunk-VOYFIONI.js";import{a as Yr,b as Zr,c as il}from"./chunk-N4TPNNML.js";import{a as Sn}from"./chunk-3GUIT7CC.js";import{a as Ys}from"./chunk-4XT3BYBG.js";import{$ as bo,$a as bn,Ba as hn,Ca as va,Da as Bs,F as It,Fa as nt,G as Is,Ga as fn,H as mt,Ia as zs,Ja as Vs,K as Ms,Ka as gn,L as ks,La as Ca,M as Mt,Ma as qs,O as Mi,Oa as Us,Q as Fs,R as Ls,Ra as Lt,S as St,Sa as ii,T as fa,Ta as zt,U as Zt,Ua as vn,V as Co,Va as Ue,W as kt,Wa as pe,X as ki,Xa as mi,Y as Ps,Ya as Hs,Z as As,Za as gi,_a as vi,ab as $s,b as M,bb as Pt,ca as Fi,cb as js,d as uo,db as Gs,e as Qe,eb as So,f as Kt,fa as Ns,fb as Ks,g as _o,ga as Os,gb as Ws,h as ht,ha as oe,hb as Qs,i as cn,ib as Li,j as ls,ja as Ft,jb as ae,k as Ii,kb as yn,lb as Pi,m as cs,ma as _n,n as dn,o as dt,p as pt,q as ci,r as Et,s as ws,sa as ga,t as Ts,ta as yo,v as Es,w as Ds,y as Dt}from"./chunk-JQO2TWQ6.js";import{E as ps,G as ms,I as pn,J as He,L as Rs,M as Cn,a as ce,b as ti,c as Jr,d as ua,f as Xr,g as Gi,i as _a,j as Ki,k as co,l as On,m as Di}from"./chunk-FJGCPGIF.js";import{b as ln,f as fo,g as us,h as _s,i as yt}from"./chunk-4RNQWIV6.js";import{b as os,c as as,h as jt,k as rs,m as Gt,o as mo,p as Pe,q as ho}from"./chunk-CJHUNIC5.js";import{a as pi}from"./chunk-7ZMQM2WN.js";import"./chunk-UOFOCZLC.js";import{a as Wi,b as Ke}from"./chunk-7EJNEQFC.js";import{B as di,D as Qt,E as Je,F as Cs,G as bs,H as ys,I as Ss,J as xs,K as vo,M as Yt,N as ha,O as te,R as X,S as Xe,T as et,b as Ye,c as hs,d as mn,f as fe,g as Ie,h as xt,j as un,k as Me,m as Wt,n as Ze,o as go,p as fs,s as gs,u as $e,v as je,y as vs}from"./chunk-6BME2YS5.js";import{$a as vt,$b as we,Ab as ie,Ad as G,Ba as K,Bb as ne,Bc as ro,C as _i,Ca as on,Cb as Pr,D as mr,Dc as ze,E as ur,Ec as Rr,F as _r,Fa as Tr,Fb as I,Fc as Br,G as hr,Ga as Er,Gc as zr,Ha as Dr,Hb as y,Hc as Vr,I as xi,J as it,Jb as c,Kc as qr,La as pa,Lc as ct,Ma as wi,Mc as Ur,N as Le,Nb as le,Nc as an,Ob as Y,Oc as si,Pa as Xn,Pb as Z,Pc as Hr,Qa as Ir,Qb as V,Ra as r,Rc as Ee,Sb as W,Sc as so,T as ve,Tb as hi,Ub as p,Uc as $r,V as ei,Va as Mr,Vb as h,Vc as jr,Wb as D,Wc as lo,Xb as lt,Yb as oo,Yc as Gr,Z as _t,_ as fr,_a as A,_b as xe,a as se,aa as gr,ab as eo,ac as Te,b as Ae,ba as vr,bb as Ht,bd as li,ca as Pn,cb as to,cc as Nn,cd as Kr,d as sr,db as T,dd as Wr,ea as Cr,ed as Qr,fb as kr,fc as ao,ga as Ne,gb as Fr,gc as Ct,gd as es,h as lr,hb as ma,hc as Ce,hd as rn,i as cr,ia as Oe,ib as k,ic as Ti,id as ts,j as qi,ja as he,jc as Ei,jd as bt,ka as br,kd as is,l as Ui,la as An,lb as io,lc as d,ld as De,m as dr,ma as ee,mb as C,mc as u,md as sn,n as Ut,na as yr,nb as Lr,nc as J,nd as po,o as Yn,ob as b,oc as ji,od as fi,pa as ye,pc as Ar,pd as ns,qa as gt,qb as Se,qc as L,qd as $t,r as qe,ra as Jn,rb as ue,sa as $i,sb as _e,t as st,ta as g,tb as _,tc as Nr,ua as Sr,ub as l,uc as Or,ud as Q,vb as s,vc as Be,w as pr,wa as S,wb as w,wd as B,x as be,xa as x,xb as re,xd as $,y as Zn,ya as xr,yb as de,yd as ss,z as Hi,za as wr,zb as no}from"./chunk-BUIIXSYE.js";function yd(t){let o=t,e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return e===1&&i===0?1:5}var gl=["en-GB",[["a","p"],["am","pm"]],[["am","pm"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sept","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],void 0,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE, d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}
1, {0}",void 0,void 0,void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"GBP","\xA3","British Pound",{JPY:["JP\xA5","\xA5"],USD:["US$","$"]},"ltr",yd];function vl(t){return new ee(3e3,!1)}function Sd(){return new ee(3100,!1)}function xd(){return new ee(3101,!1)}function wd(t){return new ee(3001,!1)}function Td(t){return new ee(3003,!1)}function Ed(t){return new ee(3004,!1)}function bl(t,o){return new ee(3005,!1)}function yl(){return new ee(3006,!1)}function Sl(){return new ee(3007,!1)}function xl(t,o){return new ee(3008,!1)}function wl(t){return new ee(3002,!1)}function Tl(t,o,e,i,n){return new ee(3010,!1)}function El(){return new ee(3011,!1)}function Dl(){return new ee(3012,!1)}function Il(){return new ee(3200,!1)}function Ml(){return new ee(3202,!1)}function kl(){return new ee(3013,!1)}function Fl(t){return new ee(3014,!1)}function Ll(t){return new ee(3015,!1)}function Pl(t){return new ee(3016,!1)}function Al(t,o){return new ee(3404,!1)}function Dd(t){return new ee(3502,!1)}function Nl(t){return new ee(3503,!1)}function Ol(){return new ee(3300,!1)}function Rl(t){return new ee(3504,!1)}function Bl(t){return new ee(3301,!1)}function zl(t,o){return new ee(3302,!1)}function Vl(t){return new ee(3303,!1)}function ql(t,o){return new ee(3400,!1)}function Ul(t){return new ee(3401,!1)}function Hl(t){return new ee(3402,!1)}function $l(t,o){return new ee(3505,!1)}function Ci(t){switch(t.length){case 0:return new Ki;case 1:return t[0];default:return new co(t)}}function wa(t,o,e=new Map,i=new Map){let n=[],a=[],m=-1,f=null;if(o.forEach(v=>{let E=v.get("offset"),F=E==m,P=F&&f||new Map;v.forEach((z,q)=>{let N=q,U=z;if(q!=="offset")switch(N=t.normalizePropertyName(N,n),U){case On:U=e.get(q);break;case ti:U=i.get(q);break;default:U=t.normalizeStyleValue(q,N,U,n);break}P.set(N,U)}),F||a.push(P),f=P,m=E}),n.length)throw Dd(n);return a}function Eo(t,o,e,i){switch(o){case"start":t.onStart(()=>i(e&&ya(e,"start",t)));break;case"done":t.onDone(()=>i(e&&ya(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&ya(e,"destroy",t)));break}}function ya(t,o,e){let i=e.totalTime,n=!!e.disabled,a=Do(t.element,t.triggerName,t.fromState,t.toState,o||t.phaseName,i??t.totalTime,n),m=t._data;return m!=null&&(a._data=m),a}function Do(t,o,e,i,n="",a=0,m){return{element:t,triggerName:o,fromState:e,toState:i,phaseName:n,totalTime:a,disabled:!!m}}function At(t,o,e){let i=t.get(o);return i||t.set(o,i=e),i}function Ta(t){let o=t.indexOf(":"),e=t.substring(1,o),i=t.slice(o+1);return[e,i]}var Id=typeof document>"u"?null:document.documentElement;function Io(t){let o=t.parentNode||t.host||null;return o===Id?null:o}function Md(t){return t.substring(1,6)=="ebkit"}var Qi=null,Cl=!1;function jl(t){Qi||(Qi=kd()||{},Cl=Qi.style?"WebkitAppearance"in Qi.style:!1);let o=!0;return Qi.style&&!Md(t)&&(o=t in Qi.style,!o&&Cl&&(o="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Qi.style)),o}function kd(){return typeof document<"u"?document.body:null}function Ea(t,o){for(;o;){if(o===t)return!0;o=Io(o)}return!1}function Da(t,o,e){if(e)return Array.from(t.querySelectorAll(o));let i=t.querySelector(o);return i?[i]:[]}var Fd=1e3,Ia="{{",Ld="}}",Ma="ng-enter",Mo="ng-leave",zn="ng-trigger",Vn=".ng-trigger",ka="ng-animating",ko=".ng-animating";function ui(t){if(typeof t=="number")return t;let o=t.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:Sa(parseFloat(o[1]),o[2])}function Sa(t,o){return o==="s"?t*Fd:t}function qn(t,o,e){return t.hasOwnProperty("duration")?t:Ad(t,o,e)}var Pd=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Ad(t,o,e){let i,n=0,a="";if(typeof t=="string"){let m=t.match(Pd);if(m===null)return o.push(vl(t)),{duration:0,delay:0,easing:""};i=Sa(parseFloat(m[1]),m[2]);let f=m[3];f!=null&&(n=Sa(parseFloat(f),m[4]));let v=m[5];v&&(a=v)}else i=t;if(!e){let m=!1,f=o.length;i<0&&(o.push(Sd()),m=!0),n<0&&(o.push(xd()),m=!0),m&&o.splice(f,0,vl(t))}return{duration:i,delay:n,easing:a}}function Gl(t){return t.length?t[0]instanceof Map?t:t.map(o=>new Map(Object.entries(o))):[]}function ni(t,o,e){o.forEach((i,n)=>{let a=Fo(n);e&&!e.has(n)&&e.set(n,t.style[a]),t.style[a]=i})}function Ni(t,o){o.forEach((e,i)=>{let n=Fo(i);t.style[n]=""})}function wn(t){return Array.isArray(t)?t.length==1?t[0]:Xr(t):t}function Kl(t,o,e){let i=o.params||{},n=Fa(t);
vendor: 54,470 bytes, line 1
1n.length&&n.forEach(a=>{i.hasOwnProperty(a)||e.push(wd(a))})}var xa=new RegExp(`${Ia}\\s*(.+?)\\s*${Ld}`,"g");function Fa(t){let o=[];if(typeof t=="string"){let e;for(;e=xa.exec(t);)o.push(e[1]);xa.lastIndex=0}return o}function Tn(t,o,e){let i=`${t}`,n=i.replace(xa,(a,m)=>{let f=o[m];return f==null&&(e.push(Td(m)),f=""),f.toString()});return n==i?t:n}var Nd=/-+([a-z0-9])/g;function Fo(t){return t.replace(Nd,(...o)=>o[1].toUpperCase())}function Wl(t,o){return t===0||o===0}function Ql(t,o,e){if(e.size&&o.length){let i=o[0],n=[];if(e.forEach((a,m)=>{i.has(m)||n.push(m),i.set(m,a)}),n.length)for(let a=1;a<o.length;a++){let m=o[a];n.forEach(f=>m.set(f,Lo(t,f)))}}return o}function Nt(t,o,e){switch(o.type){case ce.Trigger:return t.visitTrigger(o,e);case ce.State:return t.visitState(o,e);case ce.Transition:return t.visitTransition(o,e);case ce.Sequence:return t.visitSequence(o,e);case ce.Group:return t.visitGroup(o,e);case ce.Animate:return t.visitAnimate(o,e);case ce.Keyframes:return t.visitKeyframes(o,e);case ce.Style:return t.visitStyle(o,e);case ce.Reference:return t.visitReference(o,e);case ce.AnimateChild:return t.visitAnimateChild(o,e);case ce.AnimateRef:return t.visitAnimateRef(o,e);case ce.Query:return t.visitQuery(o,e);case ce.Stagger:return t.visitStagger(o,e);default:throw Ed(o.type)}}function Lo(t,o){return window.getComputedStyle(t)[o]}var Wa=(()=>{class t{validateStyleProperty(e){return jl(e)}containsElement(e,i){return Ea(e,i)}getParentElement(e){return Io(e)}query(e,i,n){return Da(e,i,n)}computeStyle(e,i,n){return n||""}animate(e,i,n,a,m,f=[],v){return new Ki(n,a)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=ye({token:t,factory:t.\u0275fac})}return t})(),Zi=class{static NOOP=new Wa},Ji=class{};var Od=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Ro=class extends Ji{normalizePropertyName(o,e){return Fo(o)}normalizeStyleValue(o,e,i,n){let a="",m=i.toString().trim();if(Od.has(e)&&i!==0&&i!=="0")if(typeof i=="number")a="px";else{let f=i.match(/^[+-]?[\d\.]+([a-z]*)$/);f&&f[1].length==0&&n.push(bl(o,i))}return m+a}};var Bo="*";function Rd(t,o){let e=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(i=>Bd(i,e,o)):e.push(t),e}function Bd(t,o,e){if(t[0]==":"){let v=zd(t,e);if(typeof v=="function"){o.push(v);return}t=v}let i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(Ll(t)),o;let n=i[1],a=i[2],m=i[3];o.push(Yl(n,m));let f=n==Bo&&m==Bo;a[0]=="<"&&!f&&o.push(Yl(m,n))}function zd(t,o){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return o.push(Pl(t)),"* => *"}}var Po=new Set(["true","1"]),Ao=new Set(["false","0"]);function Yl(t,o){let e=Po.has(t)||Ao.has(t),i=Po.has(o)||Ao.has(o);return(n,a)=>{let m=t==Bo||t==n,f=o==Bo||o==a;return!m&&e&&typeof n=="boolean"&&(m=n?Po.has(t):Ao.has(t)),!f&&i&&typeof a=="boolean"&&(f=a?Po.has(o):Ao.has(o)),m&&f}}var rc=":self",Vd=new RegExp(`s*${rc}s*,?`,"g");function sc(t,o,e,i){return new Ra(t).build(o,e,i)}var Zl="",Ra=class{_driver;constructor(o){this._driver=o}build(o,e,i){let n=new Ba(e);return this._resetContextStyleTimingState(n),Nt(this,wn(o),n)}_resetContextStyleTimingState(o){o.currentQuerySelector=Zl,o.collectedStyles=new Map,o.collectedStyles.set(Zl,new Map),o.currentTime=0}visitTrigger(o,e){let i=e.queryCount=0,n=e.depCount=0,a=[],m=[];return o.name.charAt(0)=="@"&&e.errors.push(yl()),o.definitions.forEach(f=>{if(this._resetContextStyleTimingState(e),f.type==ce.State){let v=f,E=v.name;E.toString().split(/\s*,\s*/).forEach(F=>{v.name=F,a.push(this.visitState(v,e))}),v.name=E}else if(f.type==ce.Transition){let v=this.visitTransition(f,e);i+=v.queryCount,n+=v.depCount,m.push(v)}else e.errors.push(Sl())}),{type:ce.Trigger,name:o.name,states:a,transitions:m,queryCount:i,depCount:n,options:null}}visitState(o,e){let i=this.visitStyle(o.styles,e),n=o.options&&o.options.params||null;if(i.containsDynamicStyles){let a=new Set,m=n||{};i.styles.forEach(f=>{f instanceof Map&&f.forEach(v=>{Fa(v).forEach(E=>{m.hasOwnProperty(E)||a.add(E)})})}),a.size&&e.errors.push(xl(o.name,[...a.values()]))}return{type:ce.State,name:o.name,style:i,options:n?{params:n}:null}}visitTransition(o,e){e.queryCount=0,e.depCount=0;let i=Nt(this,wn(o.animation),e),n=Rd(o.expr,e.errors);return{type:ce.Transition,matchers:n,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Yi(o.options)}}visitSequence(o,e){return{type:ce.Sequence,steps:o.steps.map(i=>Nt(this,i,e)),options:Yi(o.options)}}visitGroup(o,e){let i=e.currentTime,n=0,a=o.steps.map(m=>{e.currentTime=i;let f=Nt(this,m,e);return n=Math.max(n,e.currentTime),f});return e.currentTime=n,{type:ce.Group,steps:a,options:Yi(o.options)}}visitAnimate(o,e){let i=$d(o.timings,e.errors);e.currentAnimateTimings=i;let n,a=o.styles?o.styles:Gi({});if(a.type==ce.Keyframes)n=this.visitKeyframes(a,e);else{let m=o.styles,f=!1;if(!m){f=!0;let E={};i.easing&&(E.easing=i.easing),m=Gi(E)}e.currentTime+=i.duration+i.delay;let v=this.visitStyle(m,e);v.isEmptyStep=f,n=v}return e.currentAnimateTimings=null,{type:ce.Animate,timings:i,style:n,options:null}}visitStyle(o,e){let i=this._makeStyleAst(o,e);return this._validateStyleAst(i,e),i}_makeStyleAst(o,e){let i=[],n=Array.isArray(o.styles)?o.styles:[o.styles];for(let f of n)typeof f=="string"?f===ti?i.push(f):e.errors.push(wl(f)):i.push(new Map(Object.entries(f)));let a=!1,m=null;return i.forEach(f=>{if(f instanceof Map&&(f.has("easing")&&(m=f.get("easing"),f.delete("easing")),!a)){for(let v of f.values())if(v.toString().indexOf(Ia)>=0){a=!0;break}}}),{type:ce.Style,styles:i,easing:m,offset:o.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(o,e){let i=e.currentAnimateTimings,n=e.currentTime,a=e.currentTime;i&&a>0&&(a-=i.duration+i.delay),o.styles.forEach(m=>{typeof m!="string"&&m.forEach((f,v)=>{let E=e.collectedStyles.get(e.currentQuerySelector),F=E.get(v),P=!0;F&&(a!=n&&a>=F.startTime&&n<=F.endTime&&(e.errors.push(Tl(v,F.startTime,F.endTime,a,n)),P=!1),a=F.startTime),P&&E.set(v,{startTime:a,endTime:n}),e.options&&Kl(f,e.options,e.errors)})})}visitKeyframes(o,e){let i={type:ce.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(El()),i;let n=1,a=0,m=[],f=!1,v=!1,E=0,F=o.steps.map(Ge=>{let We=this._makeStyleAst(Ge,e),ut=We.offset!=null?We.offset:Hd(We.styles),tt=0;return ut!=null&&(a++,tt=We.offset=ut),v=v||tt<0||tt>1,f=f||tt<E,E=tt,m.push(tt),We});v&&e.errors.push(Dl()),f&&e.errors.push(Il());let P=o.steps.length,z=0;a>0&&a<P?e.errors.push(Ml()):a==0&&(z=n/(P-1));let q=P-1,N=e.currentTime,U=e.currentAnimateTimings,Fe=U.duration;return F.forEach((Ge,We)=>{let ut=z>0?We==q?1:z*We:m[We],tt=ut*Fe;e.currentTime=N+U.delay+tt,U.duration=tt,this._validateStyleAst(Ge,e),Ge.offset=ut,i.styles.push(Ge)}),i}visitReference(o,e){return{type:ce.Reference,animation:Nt(this,wn(o.animation),e),options:Yi(o.options)}}visitAnimateChild(o,e){return e.depCount++,{type:ce.AnimateChild,options:Yi(o.options)}}visitAnimateRef(o,e){return{type:ce.AnimateRef,animation:this.visitReference(o.animation,e),options:Yi(o.options)}}visitQuery(o,e){let i=e.currentQuerySelector,n=o.options||{};e.queryCount++,e.currentQuery=o;let[a,m]=qd(o.selector);e.currentQuerySelector=i.length?i+" "+a:a,At(e.collectedStyles,e.currentQuerySelector,new Map);let f=Nt(this,wn(o.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:ce.Query,selector:a,limit:n.limit||0,optional:!!n.optional,includeSelf:m,animation:f,originalSelector:o.selector,options:Yi(o.options)}}visitStagger(o,e){e.currentQuery||e.errors.push(kl());let i=o.timings==="full"?{duration:0,delay:0,easing:"full"}:qn(o.timings,e.errors,!0);return{type:ce.Stagger,animation:Nt(this,wn(o.animation),e),timings:i,options:null}}};function qd(t){let o=!!t.split(/\s*,\s*/).find(e=>e==rc);return o&&(t=t.replace(Vd,"")),t=t.replace(/@\*/g,Vn).replace(/@\w+/g,e=>Vn+"-"+e.slice(1)).replace(/:animating/g,ko),[t,o]}function Ud(t){return t?se({},t):null}var Ba=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(o){this.errors=o}};function Hd(t){if(typeof t=="string")return null;let o=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;o=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let e=t;o=parseFloat(e.get("offset")),e.delete("offset")}return o}function $d(t,o){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let a=qn(t,o).duration;return La(a,0,"")}let e=t;if(e.split(/\s+/).some(a=>a.charAt(0)=="{"&&a.charAt(1)=="{")){let a=La(0,0,"");return a.dynamic=!0,a.strValue=e,a}let n=qn(e,o);return La(n.duration,n.delay,n.easing)}function Yi(t){return t?(t=se({},t),t.params&&(t.params=Ud(t.params))):t={},t}function La(t,o,e){return{duration:t,delay:o,easing:e}}function Qa(t,o,e,i,n,a,m=null,f=!1){return{type:1,element:t,keyframes:o,preStyleProps:e,postStyleProps:i,duration:n,delay:a,totalTime:n+a,easing:m,subTimeline:f}}var Hn=class{_map=new Map;get(o){return this._map.get(o)||[]}append(o,e){let i=this._map.get(o);i||this._map.set(o,i=[]),i.push(...e)}has(o){return this._map.has(o)}clear(){this._map.clear()}},jd=1,Gd=":enter",Kd=new RegExp(Gd,"g"),Wd=":leave",Qd=new RegExp(Wd,"g");function lc(t,o,e,i,n,a=new Map,m=new Map,f,v,E=[]){return new za().buildKeyframes(t,o,e,i,n,a,m,f,v,E)}var za=class{buildKeyframes(o,e,i,n,a,m,f,v,E,F=[]){E=E||new Hn;let P=new Va(o,e,E,n,a,F,[]);P.options=v;let z=v.delay?ui(v.delay):0;P.currentTimeline.delayNextStep(z),P.currentTimeline.setStyles([m],null,P.errors,v),Nt(this,i,P);let q=P.timelines.filter(N=>N.containsAnimation());if(q.length&&f.size){let N;for(let U=q.length-1;U>=0;U--){let Fe=q[U];if(Fe.element===e){N=Fe;break}}N&&!N.allowOnlyTimelineStyles()&&N.setStyles([f],null,P.errors,v)}return q.length?q.map(N=>N.buildKeyframes()):[Qa(e,[],[],[],0,z,"",!1)]}visitTrigger(o,e){}visitState(o,e){}visitTransition(o,e){}visitAnimateChild(o,e){let i=e.subInstructions.get(e.element);if(i){let n=e.createSubContext(o.options),a=e.currentTimeline.currentTime,m=this._visitSubInstructions(i,n,n.options);a!=m&&e.transformIntoNewTimeline(m)}e.previousNode=o}visitAnimateRef(o,e){let i=e.createSubContext(o.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([o.options,o.animation.options],e,i),this.visitReference(o.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=o}_applyAnimationRefDelays(o,e,i){for(let n of o){let a=n?.delay;if(a){let m=typeof a=="number"?a:ui(Tn(a,n?.params??{},e.errors));i.delayNextStep(m)}}}_visitSubInstructions(o,e,i){let a=e.currentTimeline.currentTime,m=i.duration!=null?ui(i.duration):null,f=i.delay!=null?ui(i.delay):null;return m!==0&&o.forEach(v=>{let E=e.appendInstructionToTimeline(v,m,f);a=Math.max(a,E.duration+E.delay)}),a}visitReference(o,e){e.updateOptions(o.options,!0),Nt(this,o.animation,e),e.previousNode=o}visitSequence(o,e){let i=e.subContextCount,n=e,a=o.options;if(a&&(a.params||a.delay)&&(n=e.createSubContext(a),n.transformIntoNewTimeline(),a.delay!=null)){n.previousNode.type==ce.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=zo);let m=ui(a.delay);n.delayNextStep(m)}o.steps.length&&(o.steps.forEach(m=>Nt(this,m,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>i&&n.transformIntoNewTimeline()),e.previousNode=o}visitGroup(o,e){let i=[],n=e.currentTimeline.currentTime,a=o.options&&o.options.delay?ui(o.options.delay):0;o.steps.forEach(m=>{let f=e.createSubContext(o.options);a&&f.delayNextStep(a),Nt(this,m,f),n=Math.max(n,f.currentTimeline.currentTime),i.push(f.currentTimeline)}),i.forEach(m=>e.currentTimeline.mergeTimelineCollectedStyles(m)),e.transformIntoNewTimeline(n),e.previousNode=o}_visitTiming(o,e){if(o.dynamic){let i=o.strValue,n=e.params?Tn(i,e.params,e.errors):i;return qn(n,e.errors)}else return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,e){let i=e.currentAnimateTimings=this._visitTiming(o.timings,e),n=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),n.snapshotCurrentStyles());let a=o.style;a.type==ce.Keyframes?this.visitKeyframes(a,e):(e.incrementTime(i.duration),this.visitStyle(a,e),n.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=o}visitStyle(o,e){let i=e.currentTimeline,n=e.currentAnimateTimings;!n&&i.hasCurrentStyleProperties()&&i.forwardFrame();let a=n&&n.easing||o.easing;o.isEmptyStep?i.applyEmptyStep(a):i.setStyles(o.styles,a,e.errors,e.options),e.previousNode=o}visitKeyframes(o,e){let i=e.currentAnimateTimings,n=e.currentTimeline.duration,a=i.duration,f=e.createSubContext().currentTimeline;f.easing=i.easing,o.styles.forEach(v=>{let E=v.offset||0;f.forwardTime(E*a),f.setStyles(v.styles,v.easing,e.errors,e.options),f.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(f),e.transformIntoNewTimeline(n+a),e.previousNode=o}visitQuery(o,e){let i=e.currentTimeline.currentTime,n=o.options||{},a=n.delay?ui(n.delay):0;a&&(e.previousNode.type===ce.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=zo);let m=i,f=e.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!n.optional,e.errors);e.currentQueryTotal=f.length;let v=null;f.forEach((E,F)=>{e.currentQueryIndex=F;let P=e.createSubContext(o.options,E);a&&P.delayNextStep(a),E===e.element&&(v=P.currentTimeline),Nt(this,o.animation,P),P.currentTimeline.applyStylesToKeyframe();let z=P.currentTimeline.currentTime;m=Math.max(m,z)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(m),v&&(e.currentTimeline.mergeTimelineCollectedStyles(v),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=o}visitStagger(o,e){let i=e.parentContext,n=e.currentTimeline,a=o.timings,m=Math.abs(a.duration),f=m*(e.currentQueryTotal-1),v=m*e.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":v=f-v;break;case"full":v=i.currentStaggerTime;break}let F=e.currentTimeline;v&&F.delayNextStep(v);let P=F.currentTime;Nt(this,o.animation,e),e.previousNode=o,i.currentStaggerTime=n.currentTime-P+(n.startTime-i.currentTimeline.startTime)}},zo={},Va=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=zo;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(o,e,i,n,a,m,f,v){this._driver=o,this.element=e,this.subInstructions=i,this._enterClassName=n,this._leaveClassName=a,this.errors=m,this.timelines=f,this.currentTimeline=v||new Vo(this._driver,e,0),f.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,e){if(!o)return;let i=o,n=this.options;i.duration!=null&&(n.duration=ui(i.duration)),i.delay!=null&&(n.delay=ui(i.delay));let a=i.params;if(a){let m=n.params;m||(m=this.options.params={}),Object.keys(a).forEach(f=>{(!e||!m.hasOwnProperty(f))&&(m[f]=Tn(a[f],m,this.errors))})}}_copyOptions(){let o={};if(this.options){let e=this.options.params;if(e){let i=o.params={};Object.keys(e).forEach(n=>{i[n]=e[n]})}}return o}createSubContext(o=null,e,i){let n=e||this.element,a=new t(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,i||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(o),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(o){return this.previousNode=zo,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,e,i){let n={duration:e??o.duration,delay:this.currentTimeline.currentTime+(i??0)+o.delay,easing:""},a=new qa(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,n,o.stretchStartingKeyframe);return this.timelines.push(a),n}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,e,i,n,a,m){let f=[];if(n&&f.push(this.element),o.length>0){o=o.replace(Kd,"."+this._enterClassName),o=o.replace(Qd,"."+this._leaveClassName);let v=i!=1,E=this._driver.query(this.element,o,v);i!==0&&(E=i<0?E.slice(E.length+i,E.length):E.slice(0,i)),f.push(...E)}return!a&&f.length==0&&m.push(Fl(e)),f}},Vo=class t{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(o,e,i,n){this._driver=o,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=n,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(o){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+o),e&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,e){return this.applyStylesToKeyframe(),new t(this._driver,o,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=jd,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,e){this._localTimelineStyles.set(o,e),this._globalTimelineStyles.set(o,e),this._styleSummary.set(o,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&this._previousKeyframe.set("easing",o);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||ti),this._currentKeyframe.set(e,ti);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,e,i,n){e&&this._previousKeyframe.set("easing",e);let a=n&&n.params||{},m=Yd(o,this._globalTimelineStyles);for(let[f,v]of m){let E=Tn(v,a,i);this._pendingStyles.set(f,E),this._localTimelineStyles.has(f)||this._backFill.set(f,this._globalTimelineStyles.get(f)??ti),this._updateStyle(f,E)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((o,e)=>{this._currentKeyframe.set(e,o)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((o,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,o)}))}snapshotCurrentStyles(){for(let[o,e]of this._localTimelineStyles)this._pendingStyles.set(o,e),this._updateStyle(o,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let o=[];for(let e in this._currentKeyframe)o.push(e);return o}mergeTimelineCollectedStyles(o){o._styleSummary.forEach((e,i)=>{let n=this._styleSummary.get(i);(!n||e.time>n.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let o=new Set,e=new Set,i=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((f,v)=>{let E=new Map([...this._backFill,...f]);E.forEach((F,P)=>{F===On?o.add(P):F===ti&&e.add(P)}),i||E.set("offset",v/this.duration),n.push(E)});let a=[...o.values()],m=[...e.values()];if(i){let f=n[0],v=new Map(f);f.set("offset",0),v.set("offset",1),n=[f,v]}return Qa(this.element,n,a,m,this.duration,this.startTime,this.easing,!1)}},qa=class extends Vo{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(o,e,i,n,a,m,f=!1){super(o,e,m.delay),this.keyframes=i,this.preStyleProps=n,this.postStyleProps=a,this._stretchStartingKeyframe=f,this.timings={duration:m.duration,delay:m.delay,easing:m.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:e,duration:i,easing:n}=this.timings;if(this._stretchStartingKeyframe&&e){let a=[],m=i+e,f=e/m,v=new Map(o[0]);v.set("offset",0),a.push(v);let E=new Map(o[0]);E.set("offset",Jl(f)),a.push(E);let F=o.length-1;for(let P=1;P<=F;P++){let z=new Map(o[P]),q=z.get("offset"),N=e+q*i;z.set("offset",Jl(N/m)),a.push(z)}i=m,e=0,n="",o=a}return Qa(this.element,o,this.preStyleProps,this.postStyleProps,i,e,n,!0)}};function Jl(t,o=3){let e=Math.pow(10,o-1);return Math.round(t*e)/e}function Yd(t,o){let e=new Map,i;return t.forEach(n=>{if(n==="*"){i??=o.keys();for(let a of i)e.set(a,ti)}else for(let[a,m]of n)e.set(a,m)}),e}function Xl(t,o,e,i,n,a,m,f,v,E,F,P,z){return{type:0,element:t,triggerName:o,isRemovalTransition:n,fromState:e,fromStyles:a,toState:i,toStyles:m,timelines:f,queriedElements:v,preStyleProps:E,postStyleProps:F,totalTime:P,errors:z}}var Pa={},qo=class{_triggerName;ast;_stateStyles;constructor(o,e,i){this._triggerName=o,this.ast=e,this._stateStyles=i}match(o,e,i,n){return Zd(this.ast.matchers,o,e,i,n)}buildStyles(o,e,i){let n=this._stateStyles.get("*");return o!==void 0&&(n=this._stateStyles.get(o?.toString())||n),n?n.buildStyles(e,i):new Map}build(o,e,i,n,a,m,f,v,E,F){let P=[],z=this.ast.options&&this.ast.options.params||Pa,q=f&&f.params||Pa,N=this.buildStyles(i,q,P),U=v&&v.params||Pa,Fe=this.buildStyles(n,U,P),Ge=new Set,We=new Map,ut=new Map,tt=n==="void",Tt={params:cc(U,z),delay:this.ast.options?.delay},Rt=F?[]:lc(o,e,this.ast.animation,a,m,N,Fe,Tt,E,P),ot=0;return Rt.forEach(at=>{ot=Math.max(at.duration+at.delay,ot)}),P.length?Xl(e,this._triggerName,i,n,tt,N,Fe,[],[],We,ut,ot,P):(Rt.forEach(at=>{let Bi=at.element,nn=At(We,Bi,new Set);at.preStyleProps.forEach(zi=>nn.add(zi));let nr=At(ut,Bi,new Set);at.postStyleProps.forEach(zi=>nr.add(zi)),Bi!==e&&Ge.add(Bi)}),Xl(e,this._triggerName,i,n,tt,N,Fe,Rt,[...Ge.values()],We,ut,ot))}};function Zd(t,o,e,i,n){return t.some(a=>a(o,e,i,n))}function cc(t,o){let e=se({},o);return Object.entries(t).forEach(([i,n])=>{n!=null&&(e[i]=n)}),e}var Ua=class{styles;defaultParams;normalizer;constructor(o,e,i){this.styles=o,this.defaultParams=e,this.normalizer=i}buildStyles(o,e){let i=new Map,n=cc(o,this.defaultParams);return this.styles.styles.forEach(a=>{typeof a!="string"&&a.forEach((m,f)=>{m&&(m=Tn(m,n,e));let v=this.normalizer.normalizePropertyName(f,e);m=this.normalizer.normalizeStyleValue(f,v,m,e),i.set(f,m)})}),i}};function Jd(t,o,e){return new Ha(t,o,e)}var Ha=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(o,e,i){this.name=o,this.ast=e,this._normalizer=i,e.states.forEach(n=>{let a=n.options&&n.options.params||{};this.states.set(n.name,new Ua(n.style,a,i))}),ec(this.states,"true","1"),ec(this.states,"false","0"),e.transitions.forEach(n=>{this.transitionFactories.push(new qo(o,n,this.states))}),this.fallbackTransition=Xd(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,e,i,n){return this.transitionFactories.find(m=>m.match(o,e,i,n))||null}matchStyles(o,e,i){return this.fallbackTransition.buildStyles(o,e,i)}};function Xd(t,o,e){let i=[(m,f)=>!0],n={type:ce.Sequence,steps:[],options:null},a={type:ce.Transition,animation:n,matchers:i,options:null,queryCount:0,depCount:0};return new qo(t,a,o)}function ec(t,o,e){t.has(o)?t.has(e)||t.set(e,t.get(o)):t.has(e)&&t.set(o,t.get(e))}var ep=new Hn,$a=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(o,e,i){this.bodyNode=o,this._driver=e,this._normalizer=i}register(o,e){let i=[],n=[],a=sc(this._driver,e,i,n);if(i.length)throw Nl(i);this._animations.set(o,a)}_buildPlayer(o,e,i){let n=o.element,a=wa(this._normalizer,o.keyframes,e,i);return this._driver.animate(n,a,o.duration,o.delay,o.easing,[],!0)}create(o,e,i={}){let n=[],a=this._animations.get(o),m,f=new Map;if(a?(m=lc(this._driver,e,a,Ma,Mo,new Map,new Map,i,ep,n),m.forEach(F=>{let P=At(f,F.element,new Map);F.postStyleProps.forEach(z=>P.set(z,null))})):(n.push(Ol()),m=[]),n.length)throw Rl(n);f.forEach((F,P)=>{F.forEach((z,q)=>{F.set(q,this._driver.computeStyle(P,q,ti))})});let v=m.map(F=>{let P=f.get(F.element);return this._buildPlayer(F,new Map,P)}),E=Ci(v);return this._playersById.set(o,E),E.onDestroy(()=>this.destroy(o)),this.players.push(E),E}destroy(o){let e=this._getPlayer(o);e.destroy(),this._playersById.delete(o);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(o){let e=this._playersById.get(o);if(!e)throw Bl(o);return e}listen(o,e,i,n){let a=Do(e,"","","");return Eo(this._getPlayer(o),i,a,n),()=>{}}command(o,e,i,n){if(i=="register"){this.register(o,n[0]);return}if(i=="create"){let m=n[0]||{};this.create(o,e,m);return}let a=this._getPlayer(o);switch(i){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(o);break}}},tc="ng-animate-queued",tp=".ng-animate-queued",Aa="ng-animate-disabled",ip=".ng-animate-disabled",np="ng-star-inserted",op=".ng-star-inserted",ap=[],dc={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},rp={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},oi="__ng_removed",$n=class{namespaceId;value;options;get params(){return this.options.params}constructor(o,e=""){this.namespaceId=e;let i=o&&o.hasOwnProperty("value"),n=i?o.value:o;if(this.value=lp(n),i){let a=o,{value:m}=a,f=sr(a,["value"]);this.options=f}else this.options={};this.options.params||(this.options.params={})}absorbOptions(o){let e=o.params;if(e){let i=this.options.params;Object.keys(e).forEach(n=>{i[n]==null&&(i[n]=e[n])})}}},Un="void",Na=new $n(Un),ja=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(o,e,i){this.id=o,this.hostElement=e,this._engine=i,this._hostClassName="ng-tns-"+o,Xt(e,this._hostClassName)}listen(o,e,i,n){if(!this._triggers.has(e))throw zl(i,e);if(i==null||i.length==0)throw Vl(e);if(!cp(i))throw ql(i,e);let a=At(this._elementListeners,o,[]),m={name:e,phase:i,callback:n};a.push(m);let f=At(this._engine.statesByElement,o,new Map);return f.has(e)||(Xt(o,zn),Xt(o,zn+"-"+e),f.set(e,Na)),()=>{this._engine.afterFlush(()=>{let v=a.indexOf(m);v>=0&&a.splice(v,1),this._triggers.has(e)||f.delete(e)})}}register(o,e){return this._triggers.has(o)?!1:(this._triggers.set(o,e),!0)}_getTrigger(o){let e=this._triggers.get(o);if(!e)throw Ul(o);return e}trigger(o,e,i,n=!0){let a=this._getTrigger(e),m=new jn(this.id,e,o),f=this._engine.statesByElement.get(o);f||(Xt(o,zn),Xt(o,zn+"-"+e),this._engine.statesByElement.set(o,f=new Map));let v=f.get(e),E=new $n(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&v&&E.absorbOptions(v.options),f.set(e,E),v||(v=Na),!(E.value===Un)&&v.value===E.value){if(!mp(v.params,E.params)){let U=[],Fe=a.matchStyles(v.value,v.params,U),Ge=a.matchStyles(E.value,E.params,U);U.length?this._engine.reportError(U):this._engine.afterFlush(()=>{Ni(o,Fe),ni(o,Ge)})}return}let z=At(this._engine.playersByElement,o,[]);z.forEach(U=>{U.namespaceId==this.id&&U.triggerName==e&&U.queued&&U.destroy()});let q=a.matchTransition(v.value,E.value,o,E.params),N=!1;if(!q){if(!n)return;q=a.fallbackTransition,N=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:e,transition:q,fromState:v,toState:E,player:m,isFallbackTransition:N}),N||(Xt(o,tc),m.onStart(()=>{En(o,tc)})),m.onDone(()=>{let U=this.players.indexOf(m);U>=0&&this.players.splice(U,1);let Fe=this._engine.playersByElement.get(o);if(Fe){let Ge=Fe.indexOf(m);Ge>=0&&Fe.splice(Ge,1)}}),this.players.push(m),z.push(m),m}deregister(o){this._triggers.delete(o),this._engine.statesByElement.forEach(e=>e.delete(o)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(n=>n.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);let e=this._engine.playersByElement.get(o);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,e){let i=this._engine.driver.query(o,Vn,!0);i.forEach(n=>{if(n[oi])return;let a=this._engine.fetchNamespacesByElement(n);a.size?a.forEach(m=>m.triggerLeaveAnimation(n,e,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(o,e,i,n){let a=this._engine.statesByElement.get(o),m=new Map;if(a){let f=[];if(a.forEach((v,E)=>{if(m.set(E,v.value),this._triggers.has(E)){let F=this.trigger(o,E,Un,n);F&&f.push(F)}}),f.length)return this._engine.markElementAsRemoved(this.id,o,!0,e,m),i&&Ci(f).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){let e=this._elementListeners.get(o),i=this._engine.statesByElement.get(o);if(e&&i){let n=new Set;e.forEach(a=>{let m=a.name;if(n.has(m))return;n.add(m);let v=this._triggers.get(m).fallbackTransition,E=i.get(m)||Na,F=new $n(Un),P=new jn(this.id,m,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:m,transition:v,fromState:E,toState:F,player:P,isFallbackTransition:!0})})}}removeNode(o,e){let i=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,e),this.triggerLeaveAnimation(o,e,!0))return;let n=!1;if(i.totalAnimations){let a=i.players.length?i.playersByQueriedElement.get(o):[];if(a&&a.length)n=!0;else{let m=o;for(;m=m.parentNode;)if(i.statesByElement.get(m)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(o),n)i.markElementAsRemoved(this.id,o,!1,e);else{let a=o[oi];(!a||a===dc)&&(i.afterFlush(()=>this.clearElementCache(o)),i.destroyInnerAnimations(o),i._onRemovalComplete(o,e))}}insertNode(o,e){Xt(o,this._hostClassName)}drainQueuedTransitions(o){let e=[];return this._queue.forEach(i=>{let n=i.player;if(n.destroyed)return;let a=i.element,m=this._elementListeners.get(a);m&&m.forEach(f=>{if(f.name==i.triggerName){let v=Do(a,i.triggerName,i.fromState.value,i.toState.value);v._data=o,Eo(i.player,f.phase,v,f.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):e.push(i)}),this._queue=[],e.sort((i,n)=>{let a=i.transition.ast.depCount,m=n.transition.ast.depCount;return a==0||m==0?a-m:this._engine.driver.containsElement(i.element,n.element)?1:-1})}destroy(o){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}},Ga=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(o,e)=>{};_onRemovalComplete(o,e){this.onRemovalComplete(o,e)}constructor(o,e,i){this.bodyNode=o,this.driver=e,this._normalizer=i}get queuedPlayers(){let o=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&o.push(i)})}),o}createNamespace(o,e){let i=new ja(o,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[o]=i}_balanceNamespaceList(o,e){let i=this._namespaceList,n=this.namespacesByHostElement;if(i.length-1>=0){let m=!1,f=this.driver.getParentElement(e);for(;f;){let v=n.get(f);if(v){let E=i.indexOf(v);i.splice(E+1,0,o),m=!0;break}f=this.driver.getParentElement(f)}m||i.unshift(o)}else i.push(o);return n.set(e,o),o}register(o,e){let i=this._namespaceLookup[o];return i||(i=this.createNamespace(o,e)),i}registerTrigger(o,e,i){let n=this._namespaceLookup[o];n&&n.register(e,i)&&this.totalAnimations++}destroy(o,e){o&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(o);this.namespacesByHostElement.delete(i.hostElement);let n=this._namespaceList.indexOf(i);n>=0&&this._namespaceList.splice(n,1),i.destroy(e),delete this._namespaceLookup[o]}))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){let e=new Set,i=this.statesByElement.get(o);if(i){for(let n of i.values())if(n.namespaceId){let a=this._fetchNamespace(n.namespaceId);a&&e.add(a)}}return e}trigger(o,e,i,n){if(No(e)){let a=this._fetchNamespace(o);if(a)return a.trigger(e,i,n),!0}return!1}insertNode(o,e,i,n){if(!No(e))return;let a=e[oi];if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;let m=this.collectedLeaveElements.indexOf(e);m>=0&&this.collectedLeaveElements.splice(m,1)}if(o){let m=this._fetchNamespace(o);m&&m.insertNode(e,i)}n&&this.collectEnterElement(e)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,e){e?this.disabledNodes.has(o)||(this.disabledNodes.add(o),Xt(o,Aa)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),En(o,Aa))}removeNode(o,e,i){if(No(e)){let n=o?this._fetchNamespace(o):null;n?n.removeNode(e,i):this.markElementAsRemoved(o,e,!1,i);let a=this.namespacesByHostElement.get(e);a&&a.id!==o&&a.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(o,e,i,n,a){this.collectedLeaveElements.push(e),e[oi]={namespaceId:o,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:a}}listen(o,e,i,n,a){return No(e)?this._fetchNamespace(o).listen(e,i,n,a):()=>{}}_buildInstruction(o,e,i,n,a){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,i,n,o.fromState.options,o.toState.options,e,a)}destroyInnerAnimations(o){let e=this.driver.query(o,Vn,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(o,ko,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(o){let e=this.playersByElement.get(o);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(o){let e=this.playersByQueriedElement.get(o);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return Ci(this.players).onDone(()=>o());o()})}processLeaveNode(o){let e=o[oi];if(e&&e.setForRemoval){if(o[oi]=dc,e.namespaceId){this.destroyInnerAnimations(o);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(o)}this._onRemovalComplete(o,e.setForRemoval)}o.classList?.contains(Aa)&&this.markElementAsDisabled(o,!1),this.driver.query(o,ip,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(o=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,n)=>this._balanceNamespaceList(i,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++){let n=this.collectedEnterElements[i];Xt(n,np)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{e=this._flushAnimations(i,o)}finally{for(let n=0;n<i.length;n++)i[n]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++){let n=this.collectedLeaveElements[i];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?Ci(e).onDone(()=>{i.forEach(n=>n())}):i.forEach(n=>n())}}reportError(o){throw Hl(o)}_flushAnimations(o,e){let i=new Hn,n=[],a=new Map,m=[],f=new Map,v=new Map,E=new Map,F=new Set;this.disabledNodes.forEach(R=>{F.add(R);let H=this.driver.query(R,tp,!0);for(let j=0;j<H.length;j++)F.add(H[j])});let P=this.bodyNode,z=Array.from(this.statesByElement.keys()),q=oc(z,this.collectedEnterElements),N=new Map,U=0;q.forEach((R,H)=>{let j=Ma+U++;N.set(H,j),R.forEach(me=>Xt(me,j))});let Fe=[],Ge=new Set,We=new Set;for(let R=0;R<this.collectedLeaveElements.length;R++){let H=this.collectedLeaveElements[R],j=H[oi];j&&j.setForRemoval&&(Fe.push(H),Ge.add(H),j.hasAnimation?this.driver.query(H,op,!0).forEach(me=>Ge.add(me)):We.add(H))}let ut=new Map,tt=oc(z,Array.from(Ge));tt.forEach((R,H)=>{let j=Mo+U++;ut.set(H,j),R.forEach(me=>Xt(me,j))}),o.push(()=>{q.forEach((R,H)=>{let j=N.get(H);R.forEach(me=>En(me,j))}),tt.forEach((R,H)=>{let j=ut.get(H);R.forEach(me=>En(me,j))}),Fe.forEach(R=>{this.processLeaveNode(R)})});let Tt=[],Rt=[];for(let R=this._namespaceList.length-1;R>=0;R--)this._namespaceList[R].drainQueuedTransitions(e).forEach(j=>{let me=j.player,rt=j.element;if(Tt.push(me),this.collectedEnterElements.length){let ft=rt[oi];if(ft&&ft.setForMove){if(ft.previousTriggersValues&&ft.previousTriggersValues.has(j.triggerName)){let Vi=ft.previousTriggersValues.get(j.triggerName),qt=this.statesByElement.get(j.element);if(qt&&qt.has(j.triggerName)){let Qn=qt.get(j.triggerName);Qn.value=Vi,qt.set(j.triggerName,Qn)}}me.destroy();return}}let ri=!P||!this.driver.containsElement(P,rt),Bt=ut.get(rt),Si=N.get(rt),Ve=this._buildInstruction(j,i,Si,Bt,ri);if(Ve.errors&&Ve.errors.length){Rt.push(Ve);return}if(ri){me.onStart(()=>Ni(rt,Ve.fromStyles)),me.onDestroy(()=>ni(rt,Ve.toStyles)),n.push(me);return}if(j.isFallbackTransition){me.onStart(()=>Ni(rt,Ve.fromStyles)),me.onDestroy(()=>ni(rt,Ve.toStyles)),n.push(me);return}let rr=[];Ve.timelines.forEach(ft=>{ft.stretchStartingKeyframe=!0,this.disabledNodes.has(ft.element)||rr.push(ft)}),Ve.timelines=rr,i.append(rt,Ve.timelines);let bd={instruction:Ve,player:me,element:rt};m.push(bd),Ve.queriedElements.forEach(ft=>At(f,ft,[]).push(me)),Ve.preStyleProps.forEach((ft,Vi)=>{if(ft.size){let qt=v.get(Vi);qt||v.set(Vi,qt=new Set),ft.forEach((Qn,da)=>qt.add(da))}}),Ve.postStyleProps.forEach((ft,Vi)=>{let qt=E.get(Vi);qt||E.set(Vi,qt=new Set),ft.forEach((Qn,da)=>qt.add(da))})});if(Rt.length){let R=[];Rt.forEach(H=>{R.push($l(H.triggerName,H.errors))}),Tt.forEach(H=>H.destroy()),this.reportError(R)}let ot=new Map,at=new Map;m.forEach(R=>{let H=R.element;i.has(H)&&(at.set(H,H),this._beforeAnimationBuild(R.player.namespaceId,R.instruction,ot))}),n.forEach(R=>{let H=R.element;this._getPreviousPlayers(H,!1,R.namespaceId,R.triggerName,null).forEach(me=>{At(ot,H,[]).push(me),me.destroy()})});let Bi=Fe.filter(R=>ac(R,v,E)),nn=new Map;nc(nn,this.driver,We,E,ti).forEach(R=>{ac(R,v,E)&&Bi.push(R)});let zi=new Map;q.forEach((R,H)=>{nc(zi,this.driver,new Set(R),v,On)}),Bi.forEach(R=>{let H=nn.get(R),j=zi.get(R);nn.set(R,new Map([...H?.entries()??[],...j?.entries()??[]]))});let ca=[],or=[],ar={};m.forEach(R=>{let{element:H,player:j,instruction:me}=R;if(i.has(H)){if(F.has(H)){j.onDestroy(()=>ni(H,me.toStyles)),j.disabled=!0,j.overrideTotalTime(me.totalTime),n.push(j);return}let rt=ar;if(at.size>1){let Bt=H,Si=[];for(;Bt=Bt.parentNode;){let Ve=at.get(Bt);if(Ve){rt=Ve;break}Si.push(Bt)}Si.forEach(Ve=>at.set(Ve,rt))}let ri=this._buildAnimation(j.namespaceId,me,ot,a,zi,nn);if(j.setRealPlayer(ri),rt===ar)ca.push(j);else{let Bt=this.playersByElement.get(rt);Bt&&Bt.length&&(j.parentPlayer=Ci(Bt)),n.push(j)}}else Ni(H,me.fromStyles),j.onDestroy(()=>ni(H,me.toStyles)),or.push(j),F.has(H)&&n.push(j)}),or.forEach(R=>{let H=a.get(R.element);if(H&&H.length){let j=Ci(H);R.setRealPlayer(j)}}),n.forEach(R=>{R.parentPlayer?R.syncPlayerEvents(R.parentPlayer):R.destroy()});for(let R=0;R<Fe.length;R++){let H=Fe[R],j=H[oi];if(En(H,Mo),j&&j.hasAnimation)continue;let me=[];if(f.size){let ri=f.get(H);ri&&ri.length&&me.push(...ri);let Bt=this.driver.query(H,ko,!0);for(let Si=0;Si<Bt.length;Si++){let Ve=f.get(Bt[Si]);Ve&&Ve.length&&me.push(...Ve)}}let rt=me.filter(ri=>!ri.destroyed);rt.length?dp(this,H,rt):this.processLeaveNode(H)}return Fe.length=0,ca.forEach(R=>{this.players.push(R),R.onDone(()=>{R.destroy();let H=this.players.indexOf(R);this.players.splice(H,1)}),R.play()}),ca}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,e,i,n,a){let m=[];if(e){let f=this.playersByQueriedElement.get(o);f&&(m=f)}else{let f=this.playersByElement.get(o);if(f){let v=!a||a==Un;f.forEach(E=>{E.queued||!v&&E.triggerName!=n||m.push(E)})}}return(i||n)&&(m=m.filter(f=>!(i&&i!=f.namespaceId||n&&n!=f.triggerName))),m}_beforeAnimationBuild(o,e,i){let n=e.triggerName,a=e.element,m=e.isRemovalTransition?void 0:o,f=e.isRemovalTransition?void 0:n;for(let v of e.timelines){let E=v.element,F=E!==a,P=At(i,E,[]);this._getPreviousPlayers(E,F,m,f,e.toState).forEach(q=>{let N=q.getRealPlayer();N.beforeDestroy&&N.beforeDestroy(),q.destroy(),P.push(q)})}Ni(a,e.fromStyles)}_buildAnimation(o,e,i,n,a,m){let f=e.triggerName,v=e.element,E=[],F=new Set,P=new Set,z=e.timelines.map(N=>{let U=N.element;F.add(U);let Fe=U[oi];if(Fe&&Fe.removedBeforeQueried)return new Ki(N.duration,N.delay);let Ge=U!==v,We=pp((i.get(U)||ap).map(ot=>ot.getRealPlayer())).filter(ot=>{let at=ot;return at.element?at.element===U:!1}),ut=a.get(U),tt=m.get(U),Tt=wa(this._normalizer,N.keyframes,ut,tt),Rt=this._buildPlayer(N,Tt,We);if(N.subTimeline&&n&&P.add(U),Ge){let ot=new jn(o,f,U);ot.setRealPlayer(Rt),E.push(ot)}return Rt});E.forEach(N=>{At(this.playersByQueriedElement,N.element,[]).push(N),N.onDone(()=>sp(this.playersByQueriedElement,N.element,N))}),F.forEach(N=>Xt(N,ka));let q=Ci(z);return q.onDestroy(()=>{F.forEach(N=>En(N,ka)),ni(v,e.toStyles)}),P.forEach(N=>{At(n,N,[]).push(q)}),q}_buildPlayer(o,e,i){return e.length>0?this.driver.animate(o.element,e,o.duration,o.delay,o.easing,i):new Ki(o.duration,o.delay)}},jn=class{namespaceId;triggerName;element;_player=new Ki;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(o,e,i){this.namespaceId=o,this.triggerName=e,this.element=i}setRealPlayer(o){this._containsRealPlayer||(this._player=o,this._queuedCallbacks.forEach((e,i)=>{e.forEach(n=>Eo(o,i,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){let e=this._player;e.triggerCallback&&o.onStart(()=>e.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,e){At(this._queuedCallbacks,o,[]).push(e)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){let e=this._player;e.triggerCallback&&e.triggerCallback(o)}};function sp(t,o,e){let i=t.get(o);if(i){if(i.length){let n=i.indexOf(e);i.splice(n,1)}i.length==0&&t.delete(o)}return i}function lp(t){return t??null}function No(t){return t&&t.nodeType===1}function cp(t){return t=="start"||t=="done"}function ic(t,o){let e=t.style.display;return t.style.display=o??"none",e}function nc(t,o,e,i,n){let a=[];e.forEach(v=>a.push(ic(v)));let m=[];i.forEach((v,E)=>{let F=new Map;v.forEach(P=>{let z=o.computeStyle(E,P,n);F.set(P,z),(!z||z.length==0)&&(E[oi]=rp,m.push(E))}),t.set(E,F)});let f=0;return e.forEach(v=>ic(v,a[f++])),m}function oc(t,o){let e=new Map;if(t.forEach(f=>e.set(f,[])),o.length==0)return e;let i=1,n=new Set(o),a=new Map;function m(f){if(!f)return i;let v=a.get(f);if(v)return v;let E=f.parentNode;return e.has(E)?v=E:n.has(E)?v=i:v=m(E),a.set(f,v),v}return o.forEach(f=>{let v=m(f);v!==i&&e.get(v).push(f)}),e}function Xt(t,o){t.classList?.add(o)}function En(t,o){t.classList?.remove(o)}function dp(t,o,e){Ci(e).onDone(()=>t.processLeaveNode(o))}function pp(t){let o=[];return pc(t,o),o}function pc(t,o){for(let e=0;e<t.length;e++){let i=t[e];i instanceof co?pc(i.players,o):o.push(i)}}function mp(t,o){let e=Object.keys(t),i=Object.keys(o);if(e.length!=i.length)return!1;for(let n=0;n<e.length;n++){let a=e[n];if(!o.hasOwnProperty(a)||t[a]!==o[a])return!1}return!0}function ac(t,o,e){let i=e.get(t);if(!i)return!1;let n=o.get(t);return n?i.forEach(a=>n.add(a)):o.set(t,i),e.delete(t),!0}var Dn=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(o,e)=>{};constructor(o,e,i){this._driver=e,this._normalizer=i,this._transitionEngine=new Ga(o.body,e,i),this._timelineEngine=new $a(o.body,e,i),this._transitionEngine.onRemovalComplete=(n,a)=>this.onRemovalComplete(n,a)}registerTrigger(o,e,i,n,a){let m=o+"-"+n,f=this._triggerCache[m];if(!f){let v=[],E=[],F=sc(this._driver,a,v,E);if(v.length)throw Al(n,v);f=Jd(n,F,this._normalizer),this._triggerCache[m]=f}this._transitionEngine.registerTrigger(e,n,f)}register(o,e){this._transitionEngine.register(o,e)}destroy(o,e){this._transitionEngine.destroy(o,e)}onInsert(o,e,i,n){this._transitionEngine.insertNode(o,e,i,n)}onRemove(o,e,i){this._transitionEngine.removeNode(o,e,i)}disableAnimations(o,e){this._transitionEngine.markElementAsDisabled(o,e)}process(o,e,i,n){if(i.charAt(0)=="@"){let[a,m]=Ta(i),f=n;this._timelineEngine.command(a,e,m,f)}else this._transitionEngine.trigger(o,e,i,n)}listen(o,e,i,n,a){if(i.charAt(0)=="@"){let[m,f]=Ta(i);return this._timelineEngine.listen(m,e,f,a)}return this._transitionEngine.listen(o,e,i,n,a)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(o){this._transitionEngine.afterFlushAnimationsDone(o)}};function up(t,o){let e=null,i=null;return Array.isArray(o)&&o.length?(e=Oa(o[0]),o.length>1&&(i=Oa(o[o.length-1]))):o instanceof Map&&(e=Oa(o)),e||i?new _p(t,e,i):null}var _p=(()=>{class t{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,i,n){this._element=e,this._startStyles=i,this._endStyles=n;let a=t.initialStylesByElement.get(e);a||t.initialStylesByElement.set(e,a=new Map),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&ni(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ni(this._element,this._initialStyles),this._endStyles&&(ni(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Ni(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ni(this._element,this._endStyles),this._endStyles=null),ni(this._element,this._initialStyles),this._state=3)}}return t})();function Oa(t){let o=null;return t.forEach((e,i)=>{hp(i)&&(o=o||new Map,o.set(i,e))}),o}function hp(t){return t==="display"||t==="position"}var Uo=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(o,e,i,n){this.element=o,this.keyframes=e,this.options=i,this._specialStyles=n,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let o=this.keyframes,e=this._triggerWebAnimation(this.element,o,this.options);if(!e)return this._onFinish(),null;this.domPlayer=e,this._finalKeyframe=o.length?o[o.length-1]:new Map;let i=()=>this._onFinish();return e.addEventListener("finish",i),this.onDestroy(()=>{e.removeEventListener("finish",i)}),e}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(o){let e=[];return o.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(o,e,i){let n=this._convertKeyframesToObject(e);try{return o.animate(n,i)}catch(a){return null}}onStart(o){this._originalOnStartFns.push(o),this._onStartFns.push(o)}onDone(o){this._originalOnDoneFns.push(o),this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){let o=this._buildPlayer();o&&(this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),o.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}setPosition(o){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=o*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){let o=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,n)=>{n!=="offset"&&o.set(n,this._finished?i:Lo(this.element,n))}),this.currentSnapshot=o}triggerCallback(o){let e=o==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Ho=class{validateStyleProperty(o){return!0}validateAnimatableStyleProperty(o){return!0}containsElement(o,e){return Ea(o,e)}getParentElement(o){return Io(o)}query(o,e,i){return Da(o,e,i)}computeStyle(o,e,i){return Lo(o,e)}animate(o,e,i,n,a,m=[]){let f=n==0?"both":"forwards",v={duration:i,delay:n,fill:f};a&&(v.easing=a);let E=new Map,F=m.filter(q=>q instanceof Uo);Wl(i,n)&&F.forEach(q=>{q.currentSnapshot.forEach((N,U)=>E.set(U,N))});let P=Gl(e).map(q=>new Map(q));P=Ql(o,P,E);let z=up(o,P);return new Uo(o,P,v,z)}};var Oo="@",mc="@.disabled",$o=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(o,e,i,n){this.namespaceId=o,this.delegate=e,this.engine=i,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(o){this.delegate.destroyNode?.(o)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(o,e){return this.delegate.createElement(o,e)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,e){this.delegate.appendChild(o,e),this.engine.onInsert(this.namespaceId,e,o,!1)}insertBefore(o,e,i,n=!0){this.delegate.insertBefore(o,e,i),this.engine.onInsert(this.namespaceId,e,o,n)}removeChild(o,e,i,n){if(n){this.delegate.removeChild(o,e,i,n);return}this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(o,e){return this.delegate.selectRootElement(o,e)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,e,i,n){this.delegate.setAttribute(o,e,i,n)}removeAttribute(o,e,i){this.delegate.removeAttribute(o,e,i)}addClass(o,e){this.delegate.addClass(o,e)}removeClass(o,e){this.delegate.removeClass(o,e)}setStyle(o,e,i,n){this.delegate.setStyle(o,e,i,n)}removeStyle(o,e,i){this.delegate.removeStyle(o,e,i)}setProperty(o,e,i){e.charAt(0)==Oo&&e==mc?this.disableAnimations(o,!!i):this.delegate.setProperty(o,e,i)}setValue(o,e){this.delegate.setValue(o,e)}listen(o,e,i,n){return this.delegate.listen(o,e,i,n)}disableAnimations(o,e){this.engine.disableAnimations(o,e)}},Ka=class extends $o{factory;constructor(o,e,i,n,a){super(e,i,n,a),this.factory=o,this.namespaceId=e}setProperty(o,e,i){e.charAt(0)==Oo?e.charAt(1)=="."&&e==mc?(i=i===void 0?!0:!!i,this.disableAnimations(o,i)):this.engine.process(this.namespaceId,o,e.slice(1),i):this.delegate.setProperty(o,e,i)}listen(o,e,i,n){if(e.charAt(0)==Oo){let a=fp(o),m=e.slice(1),f="";return m.charAt(0)!=Oo&&([m,f]=gp(m)),this.engine.listen(this.namespaceId,a,m,f,v=>{let E=v._data||-1;this.factory.scheduleListenerCallback(E,i,v)})}return this.delegate.listen(o,e,i,n)}};function fp(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function gp(t){let o=t.indexOf("."),e=t.substring(0,o),i=t.slice(o+1);return[e,i]}var jo=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(o,e,i){this.delegate=o,this.engine=e,this._zone=i,e.onRemovalComplete=(n,a)=>{a?.removeChild(null,n)}}createRenderer(o,e){let n=this.delegate.createRenderer(o,e);if(!o||!e?.data?.animation){let E=this._rendererCache,F=E.get(n);if(!F){let P=()=>E.delete(n);F=new $o("",n,this.engine,P),E.set(n,F)}return F}let a=e.id,m=e.id+"-"+this._currentId;this._currentId++,this.engine.register(m,o);let f=E=>
1{Array.isArray(E)?E.forEach(f):this.engine.registerTrigger(a,m,o,E.name,E)};return e.data.animation.forEach(f),new Ka(this,m,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(o,e,i){if(o>=0&&o<this._microtaskId){this._zone.run(()=>e(i));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(a=>{let[m,f]=a;m(f)}),this._animationCallbacksBuffer=[]})}),n.push([e,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(o){this.engine.flush(),this.delegate.componentReplaced?.(o)}};var Cp=(()=>{class t extends Dn{constructor(e,i,n){super(e,i,n)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||t)($i(wr),$i(Zi),$i(Ji))};static \u0275prov=ye({token:t,factory:t.\u0275fac})}return t})();function bp(){return new Ro}function yp(){return new jo(g($r),g(Dn),g(on))}var _c=[{provide:Ji,useFactory:bp},{provide:Dn,useClass:Cp},{provide:Mr,useFactory:yp}],Sp=[{provide:Zi,useClass:Wa},{provide:pa,useValue:"NoopAnimations"},..._c],uc=[{provide:Zi,useFactory:()=>new Ho},{provide:pa,useFactory:()=>"BrowserAnimations"},..._c],hc=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?Sp:uc}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=vt({type:t});static \u0275inj=gt({providers:uc,imports:[lo]})}return t})();var Ya="Service workers are disabled or not supported by this browser",In=class{serviceWorker;worker;registration;events;constructor(o,e){if(this.serviceWorker=o,!o)this.worker=this.events=this.registration=new qi(i=>i.error(new ee(5601,!1)));else{let i=null,n=new Ui;this.worker=new qi(E=>(i!==null&&E.next(i),n.subscribe(F=>E.next(F))));let a=()=>{let{controller:E}=o;E!==null&&(i=E,n.next(i))};o.addEventListener("controllerchange",a),a(),this.registration=this.worker.pipe(Ne(()=>o.getRegistration().then(E=>{if(!E)throw new ee(5601,!1);return E})));let m=new Ui;this.events=m.asObservable();let f=E=>{let{data:F}=E;F?.type&&m.next(F)};o.addEventListener("message",f),e?.get(ma,null,{optional:!0})?.onDestroy(()=>{o.removeEventListener("controllerchange",a),o.removeEventListener("message",f)})}}postMessage(o,e){return new Promise(i=>{this.worker.pipe(ve(1)).subscribe(n=>{n.postMessage(se({action:o},e)),i()})})}postMessageWithOperation(o,e,i){let n=this.waitForOperationCompleted(i),a=this.postMessage(o,e);return Promise.all([a,n]).then(([,m])=>m)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(o){let e;return typeof o=="string"?e=i=>i.type===o:e=i=>o.includes(i.type),this.events.pipe(it(e))}nextEventOfType(o){return this.eventsOfType(o).pipe(ve(1))}waitForOperationCompleted(o){return new Promise((e,i)=>{this.eventsOfType("OPERATION_COMPLETED").pipe(it(n=>n.nonce===o),ve(1),be(n=>{if(n.result!==void 0)return n.result;throw new Error(n.error)})).subscribe({next:e,error:i})})}get isEnabled(){return!!this.serviceWorker}},gc=(()=>{class t{sw;messages;notificationClicks;notificationCloses;pushSubscriptionChanges;subscription;get isEnabled(){return this.sw.isEnabled}pushManager=null;subscriptionChanges=new Ui;constructor(e){if(this.sw=e,!e.isEnabled){this.messages=xi,this.notificationClicks=xi,this.notificationCloses=xi,this.pushSubscriptionChanges=xi,this.subscription=xi;return}this.messages=this.sw.eventsOfType("PUSH").pipe(be(n=>n.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(be(n=>n.data)),this.notificationCloses=this.sw.eventsOfType("NOTIFICATION_CLOSE").pipe(be(n=>n.data)),this.pushSubscriptionChanges=this.sw.eventsOfType("PUSH_SUBSCRIPTION_CHANGE").pipe(be(n=>n.data)),this.pushManager=this.sw.registration.pipe(be(n=>n.pushManager));let i=this.pushManager.pipe(Ne(n=>n.getSubscription()));this.subscription=new qi(n=>{let a=i.subscribe(n),m=this.subscriptionChanges.subscribe(n);return()=>{a.unsubscribe(),m.unsubscribe()}})}requestSubscription(e){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(Ya));let i={userVisibleOnly:!0},n=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),a=new Uint8Array(new ArrayBuffer(n.length));for(let m=0;m<n.length;m++)a[m]=n.charCodeAt(m);return i.applicationServerKey=a,new Promise((m,f)=>{this.pushManager.pipe(Ne(v=>v.subscribe(i)),ve(1)).subscribe({next:v=>{this.subscriptionChanges.next(v),m(v)},error:f})})}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(Ya));let e=i=>{if(i===null)throw new ee(5602,!1);return i.unsubscribe().then(n=>{if(!n)throw new ee(5603,!1);this.subscriptionChanges.next(null)})};return new Promise((i,n)=>{this.subscription.pipe(ve(1),Ne(e)).subscribe({next:i,error:n})})}decodeBase64(e){return atob(e)}static \u0275fac=function(i){return new(i||t)($i(In))};static \u0275prov=ye({token:t,factory:t.\u0275fac})}return t})(),Go=(()=>{class t{sw;versionUpdates;unrecoverable;get isEnabled(){return this.sw.isEnabled}ongoingCheckForUpdate=null;constructor(e){if(this.sw=e,!e.isEnabled){this.versionUpdates=xi,this.unrecoverable=xi;return}this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Ya));if(this.ongoingCheckForUpdate)return this.ongoingCheckForUpdate;let e=this.sw.generateNonce();return this.ongoingCheckForUpdate=this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:e},e).finally(()=>{this.ongoingCheckForUpdate=null}),this.ongoingCheckForUpdate}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new ee(5601,!1));let e=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:e},e)}static \u0275fac=function(i){return new(i||t)($i(In))};static \u0275prov=ye({token:t,factory:t.\u0275fac})}return t})(),vc=new Jn("");function xp(){let t=g(Gn);
1if(!("serviceWorker"in navigator&&t.enabled!==!1))return;let o=g(vc),e=g(on),i=g(ma);e.runOutsideAngular(()=>{let n=navigator.serviceWorker,a=()=>n.controller?.postMessage({action:"INITIALIZE"});n.addEventListener("controllerchange",a),i.onDestroy(()=>{n.removeEventListener("controllerchange",a)})}),e.runOutsideAngular(()=>{let n,{registrationStrategy:a}=t;if(typeof a=="function")n=new Promise(m=>a().subscribe(()=>m()));else{let[m,...f]=(a||"registerWhenStable:30000").split(":");switch(m){case"registerImmediately":n=Promise.resolve();break;case"registerWithDelay":n=fc(+f[0]||0);break;case"registerWhenStable":n=Promise.race([i.whenStable(),fc(+f[0])]);break;default:throw new ee(5600,!1)}}n.then(()=>{i.destroyed||navigator.serviceWorker.register(o,{scope:t.scope,updateViaCache:t.updateViaCache,type:t.type}).catch(m=>console.error(yr(5604,!1)))})})}function fc(t){return new Promise(o=>setTimeout(o,t))}function wp(){let t=g(Gn),o=g(xr),e=!0;return new In(e&&t.enabled!==!1?navigator.serviceWorker:void 0,o)}var Gn=class{enabled;updateViaCache;type;scope;registrationStrategy};function Tp(t,o={}){return Sr([gc,Go,{provide:vc,useValue:t},{provide:Gn,useValue:o},{provide:In,useFactory:wp},Fr(xp)])}var Cc=(()=>{class t{static register(e,i={}){return{ngModule:t,providers:[Tp(e,i)]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=vt({type:t});static \u0275inj=gt({providers:[gc,Go]})}return t})();var bc=(()=>{class t{constructor(){this._httpClient=g(li),this._configService=g($t)}loadAnnouncementInfo(){let e=`${this._configService.baseConfig.baseUrl}${this._configService.baseConfig.extension}/startingpage/header`;return this._httpClient.get(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=ye({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var yc=(()=>{class t{constructor(){this._updates=g(Go),this._router=g(De),this._modalService=g(X),this._isUpdateModalShown=!1}initializeNavigationUpdateCheck(){this._router.events.pipe(it(e=>e instanceof rn)).subscribe(()=>{this.checkForUpdatesOnNavigation()})}checkForUpdatesOnNavigation(){let e=!!localStorage.getItem("authInfo");this._updates.isEnabled&&e&&this._updates.checkForUpdate().then(i=>{i&&this.promptUserForUpdate()}).catch(i=>{console.error("Error checking for updates:",i)})}promptUserForUpdate(){if(!this._isUpdateModalShown){let e=this._modalService.open(mt);e.componentInstance.title="common.cache_busting.modal_title",e.componentInstance.saveButtonClass="btn-primary",e.componentInstance.saveButtonText="common.ok",e.componentInstance.text="common.cache_busting.modal_text",this._isUpdateModalShown=!0,e.result.then(i=>{i.preset&&this.applyUpdate(),this._isUpdateModalShown=!1})}}applyUpdate(){this._updates.activateUpdate().then(()=>location.reload())}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=ye({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Sc=(()=>{class t{constructor(){this._httpClient=g(li),this._configService=g($t)}getMetadataVersion(){let e=`${this._configService.baseConfig.baseUrl}${this._configService.baseConfig.extension}/import/metadataversion`;return this._httpClient.get(e).pipe(be(i=>Ae(se({},i),{version:i.version?.endsWith("-M")||i.version?.endsWith("-W")?i.version.slice(0,-2):i.version})))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=ye({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ep={url:"",deserializer:t=>JSON.parse(t.data),serializer:t=>JSON.stringify(t)},Dp="WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }",Ko=class t extends dr{constructor(o,e){if(super(),this._socket=null,o instanceof qi)this.destination=e,this.source=o;else{let i=this._config=Object.assign({},Ep);if(this._output=new Ui,typeof o=="string")i.url=o;else for(let n in o)o.hasOwnProperty(n)&&(i[n]=o[n]);if(!i.WebSocketCtor&&WebSocket)i.WebSocketCtor=WebSocket;else if(!i.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new Yn}}lift(o){let e=new t(this._config,this.destination);return e.operator=o,e.source=this,e}_resetState(){this._socket=null,this.source||(this.destination=new Yn),this._output=new Ui}multiplex(o,e,i){let n=this;return new qi(a=>{try{n.next(o())}catch(f){a.error(f)}let m=n.subscribe({next:f=>{try{i(f)&&a.next(f)}catch(v){a.error(v)}},error:f=>a.error(f),complete:()=>a.complete()});return()=>{try{n.next(e())}catch(f){a.error(f)}m.unsubscribe()}})}_connectSocket(){let{WebSocketCtor:o,protocol:e,url:i,binaryType:n}=this._config,a=this._output,m=null;
1try{m=e?new o(i,e):new o(i),this._socket=m,n&&(this._socket.binaryType=n)}catch(v){a.error(v);return}let f=new lr(()=>{this._socket=null,m&&m.readyState===1&&m.close()});m.onopen=v=>{let{_socket:E}=this;if(!E){m.close(),this._resetState();return}let{openObserver:F}=this._config;F&&F.next(v);let P=this.destination;this.destination=cr.create(z=>{if(m.readyState===1)try{let{serializer:q}=this._config;m.send(q(z))}catch(q){this.destination.error(q)}},z=>{let{closingObserver:q}=this._config;q&&q.next(void 0),z&&z.code?m.close(z.code,z.reason):a.error(new TypeError(Dp)),this._resetState()},()=>{let{closingObserver:z}=this._config;z&&z.next(void 0),m.close(),this._resetState()}),P&&P instanceof Yn&&f.add(P.subscribe(this.destination))},m.onerror=v=>{this._resetState(),a.error(v)},m.onclose=v=>{m===this._socket&&this._resetState();let{closeObserver:E}=this._config;E&&E.next(v),v.wasClean?a.complete():a.error(v)},m.onmessage=v=>{try{let{deserializer:E}=this._config;a.next(E(v))}catch(E){a.error(E)}}}_subscribe(o){let{source:e}=this;return e?e.subscribe(o):(this._socket||this._connectSocket(),this._output.subscribe(o),o.add(()=>{let{_socket:i}=this;this._output.observers.length===0&&(i&&(i.readyState===1||i.readyState===0)&&i.close(),this._resetState())}),o)}unsubscribe(){let{_socket:o}=this;o&&(o.readyState===1||o.readyState===0)&&o.close(),this._resetState(),super.unsubscribe()}};function Za(t){return new Ko(t)}var Wo=(()=>{class t{constructor(){this._configService=g($t),this._websocketBaseUrl=`${this._configService.baseConfig.websocketUrl}/messages/inappnotifications/unread`}connect(e){let i=`${this._websocketBaseUrl}?userid=${e}`;this._websockets=Za({url:i,openObserver:{next:()=>{this._connected=!0}},closeObserver:{next:()=>{this._connected=!1}}}),this.websockets$=this._websockets.asObservable().pipe(vr(),gr({delay:1e4,count:10})),this.ping()}ping(){hr(3e4).pipe(Oe(()=>this._connected),he(()=>this._websockets.next("ping"))).subscribe()}closeConnection(){this._websockets&&(this._websockets.next(null),this._websockets.complete(),this._websockets=null)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=ye({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Mn=(()=>{class t{transform(e,i){return e>i?i+"+":String(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=Ht({name:"capCount",type:t,pure:!0})}}return t})();var Qo=(function(t){return t[t.LIVE=0]="LIVE",t[t.PILOT=1]="PILOT",t})(Qo||{});function Ip(t,o){if(t&1){let e=I();l(0,"button",7),y("click",function(){let n=S(e).$implicit,a=c(2);return x(a.onSelectLanguage(n.value))}),l(1,"span"),p(2),s()()}if(t&2){let e=o.$implicit,i=c();W("selected",i===e.value),k("data-cy",e.value),r(2),h(e.display)}}function Mp(t,o){if(t&1&&(l(0,"div",1)(1,"div",2,0)(3,"button",3),d(4,"transloco"),d(5,"transloco"),l(6,"span"),p(7),d(8,"uppercase"),s(),w(9,"app-icon",4),s(),l(10,"div",5),ue(11,Ip,3,4,"button",6,Se),s()()()),t&2){let e=V(2),i=c();r(3),_("ngbTooltip",u(4,4,"dashboard.language_tooltip")),k("aria-label",u(5,6,"dashboard.language_tooltip")),r(4),h(u(8,8,o)),r(2),_("direction",e.isOpen()?"up":"down"),r(2),_e(i.supportedLanguages)}}var xc=(()=>{class t{constructor(){this._languageStorageService=g(ho),this._translocoService=g(Q),this._authService=g(Pe),this.supportedLanguages=Zs}ngOnInit(){let e=this._translocoService.langChanges$,i=this._languageStorageService.currentLanguage$.pipe(be(n=>n?(this._translocoService.setActiveLang(n),n):"de"));this.currentLanguage$=this._authService.loggedIn$.pipe(Ne(n=>ur(()=>!n,e,i)))}onSelectLanguage(e){this._languageStorageService.setLanguage(e),this._translocoService.setActiveLang(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-language-select"]],decls:2,vars:3,consts:[["langDropdown","ngbDropdown"],["data-cy","languageSelect",1,"language-select-container"],["ngbDropdown",""],["type","button","id","langSelect","ngbDropdownToggle","","data-cy","selectedLanguage",1,"btn-icon-text",3,"ngbTooltip"],["name","chevron",3,"direction"],["ngbDropdownMenu","","aria-labelledby","langSelect"],["ngbDropdownItem","","type","button",3,"selected"],["ngbDropdownItem","","type","button",3,"click"]],template:function(i,n){if(i&1&&(C(0,Mp,13,10,"div",1),d(1,"async")),i&2){let a;b((a=u(1,1,n.currentLanguage$))?0:-1,a)}},dependencies:[Ee,G,xs,te,oe,Ss,ys,Cs,bs,$,ct,an,B],styles:[".language-select-container[_ngcontent-%COMP%]:not(:disabled,.disabled,.sidebar-item):focus{border-radius:var(--border-radius);box-shadow:0 0 0 .12rem var(--color-focus);outline:none;z-index:4}.language-select-container[_ngcontent-%COMP%]:not(:disabled,.disabled,.sidebar-item):focus:is([type=radio]){border:none;border-radius:50%}.language-select-container[_ngcontent-%COMP%]:not(:disabled,.disabled,.sidebar-item):focus:is(.btn-icon,.nautos-select){z-index:unset}.language-select-container[_ngcontent-%COMP%]{background-color:var(--color-gray-lighter);border:var(--border);border-radius:var(--border-radius);color:var(--color-text)}.btn-icon-text[_ngcontent-%COMP%]{color:var(--color-primary-dark);font-family:var(--font-family-regular);padding-inline:calc(var(--spacer) / 2) 0;-webkit-user-select:none;user-select:none}.dropdown-toggle[_ngcontent-%COMP%]:after{display:none}"]})}}return t})();var Oi=(function(t){return t[t.SEARCH=1]="SEARCH",t[t.FAVORITES=2]="FAVORITES",t[t.ORDERS=3]="ORDERS",t[t.LICENSES=4]="LICENSES",t[t.COMPANYDATA=5]="COMPANYDATA",t[t.SETTINGS=6]="SETTINGS",t})(Oi||{});function kp(t,o){if(t&1){let e=I();l(0,"div",9)(1,"button",10),y("click",function(){let n=S(e).$index,a=c(2);return x(a.toggleCollapsible(n))}),w(2,"app-icon",11),l(3,"span"),p(4),d(5,"async"),d(6,"languageFallback"),s()(),l(7,"app-collapsible",12)(8,"div",13),w(9,"app-video-player",14)(10,"div",15),d(11,"async"),d(12,"languageFallback"),d(13,"trustContent"),s()()()}if(t&2){let e=o.$implicit,i=o.$index,n=c(2);r(2),_("direction",i!==n.expandedItemIndex?"right":"down"),r(2),h(ji(6,7,e,"titleDe",u(5,5,n.currentLanguage$))),r(3),_("expanded",i===n.expandedItemIndex),r(2),_("item",e),r(),_("innerHTML",J(13,17,ji(12,13,e,"textDe",u(11,11,n.currentLanguage$)),"html"),wi)}}function Fp(t,o){t&1&&(l(0,"div",3),ue(1,kp,14,20,"div",9,Se),s()),t&2&&(r(),_e(o))}function Lp(t,o){if(t&1){let e=I();l(0,"button",16),y("click",function(){S(e);let n=c();return x(n.triggerEmail())}),l(1,"span",17),p(2),d(3,"transloco"),s()()}if(t&2){let e=c();r(2),h(u(3,1,e.supportButtonLabelKey))}}var Pp="",wc=(()=>{class t{constructor(){this.modalService=g(X),this._authService=g(Pe),this._feedbackService=g(Ke),this._helpService=g(Sn),this._tenantStateService=g(pt),this._translocoService=g(Q),this.expandedItemIndex=0,this.permissions=M,this.supportButtonLabelKey="dashboard.support.contact_admin",this._isAdmin=!1}ngOnInit(){this.currentLanguage$=this._translocoService.langChanges$.pipe(ei(),Pn()),this._subscription=this.currentLanguage$.subscribe({next:i=>{this._currentLanguage=i}}
1),this.loadHelpDependingOnRoute(this._helpService.activeRouteIndex-1,this._currentLanguage),this.helpItems$=this._helpService.helpItems$,this._userInfo=this._authService.userInfo;let e=this._userInfo.roles.split(",").map(i=>i.trim().toLowerCase());this._isAdmin=e.includes("admin"),this.supportButtonLabelKey=this._isAdmin?"dashboard.support.support_ticket":"dashboard.support.contact_admin",this._tenantStateService.getTenantData(this._userInfo.tenantId).pipe(ve(1),Pn()).subscribe(i=>{this._tenantInfo=i}),this._helpService.getReleaseNotes().pipe(ve(1)).subscribe(i=>{let n=ae.sortObjectsInArrayByDate(i,"date");this._appVersionNumber=n[0].sectionHeaderDe})}toggleCollapsible(e){this.expandedItemIndex===e||this.expandedItemIndex===-1||(this._helpService.resetVideoStatus(),this.expandedItemIndex!==e&&(this.expandedItemIndex=e))}triggerEmail(){let e=this._authService.userInfo;this._feedbackService.triggerEmail(e,this._tenantInfo,this._appVersionNumber??Pp)}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}loadHelpDependingOnRoute(e,i){let n;switch(e){case 2:n=Oi.FAVORITES;break;case 3:n=Oi.ORDERS;break;case 4:n=Oi.LICENSES;break;case 5:n=Oi.COMPANYDATA;break;case 6:n=Oi.SETTINGS;break;default:n=Oi.SEARCH;break}this._helpService.getHelp(n,i)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-help-modal"]],decls:15,vars:10,consts:[["modalBody",""],["modalTitle","dashboard.help"],[1,"modal-body"],[1,"accordion-container"],["buttonType","custom"],["onclick","window.open('https://din-akademie.de/login', '_blank', 'noopener noreferrer')","type","button","data-cy","linkAcademy",1,"btn-icon-text"],["sprite","icons-small","name","link-external"],["type","button","class","btn-primary-outline",3,"click",4,"permissions"],["type","button","data-cy","close",1,"btn-primary-outline",3,"click"],[1,"accordion-item","collapsible"],["type","button","data-cy","title",1,"btn-collapse-small",3,"click"],["name","chevron",3,"direction"],[3,"expanded"],[1,"accordion-item-body"],[3,"item"],["data-cy","text",1,"help-text",3,"innerHTML"],["type","button",1,"btn-primary-outline",3,"click"],["data-cy","sendSupportEmail"]],template:function(i,n){if(i&1&&(w(0,"app-modal-header",1),l(1,"div",2,0),C(3,Fp,3,0,"div",3),d(4,"async"),s(),l(5,"app-modal-footer",4)(6,"button",5),w(7,"app-icon",6),l(8,"span"),p(9),d(10,"transloco"),s()(),T(11,Lp,4,3,"button",7),l(12,"button",8),y("click",function(){return n.modalService.dismiss()}),p(13),d(14,"transloco"),s()()),i&2){let a;r(3),b((a=u(4,4,n.helpItems$))?3:-1,a),r(6),h(u(10,6,"dashboard.useful_links.academy_login")),r(2),_("permissions",n.permissions.VIEW_HELP_SUPPORT),r(2),D(" ",u(14,8,"common.close")," ")}},dependencies:[Cn,Ee,G,Xe,et,oe,Mt,$,Xs,ct,Ys,B,Js],styles:[".accordion-item[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:calc(var(--spacer) / 2)}.accordion-item[_ngcontent-%COMP%]   .accordion-item-body[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--spacer)}.accordion-item[_ngcontent-%COMP%]   .accordion-item-body[_ngcontent-%COMP%]   .help-text[_ngcontent-%COMP%]{margin-bottom:var(--spacer)}.btn-icon-text[_ngcontent-%COMP%]{color:var(--color-primary-dark);gap:calc(var(--spacer) / 4)}"],changeDetection:0})}}return t})();var Ap=["notificationPopover"],Np=(t,o)=>({"notification-list-item":!0,read:t,"error-notification":o}),Op=t=>({releaseLevel:t}),Rp=t=>({fileName:t}),Tc=(t,o,e)=>({documentNumber:t,dateOfIssue:o,language:e}),Bp=(t,o,e)=>({documentNumber:t,dateOfIssue:o,acCode:e}),zp=(t,o,e)=>({licenseName:t,documentCount:o,documentLimit:e});function Vp(t,o){if(t&1&&(l(0,"span",4),p(1),d(2,"capCount"),s()),t&2){let e=c(),i=c();r(),D(" ",J(2,1,e.unreadNotificationCount,i.maxNotifications)," ")}}function qp(t,o){if(t&1){let e=I();l(0,"button",6),y("click",function(){S(e);let n=c(),a=c();return x(a.markAllAsRead(n.notifications))}),w(1,"app-icon",7),l(2,"span"),p(3),d(4,"transloco"),s()()}if(t&2){let e=c();W("empty",e.unreadNotificationCount<1),r(3),h(u(4,3,"notifications.mark_all_as_read"))}}function Up(t,o){if(t&1){let e=I();l(0,"button",18),d(1,"transloco"),d(2,"transloco"),y("click",function(){S(e);let n=c().$implicit,a=c(4);return x(a.markAsRead(n.id))}),w(3,"app-icon",19),s()}t&2&&(_("ngbTooltip",u(1,2,"notifications.mark_as_read")),k("aria-label",u(2,4,"notifications.mark_as_read")))}function Hp(t,o){t&1&&w(0,"div",13)}function $p(t,o){t&1&&(l(0,"p"),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" ",u(2,1,"licenses.document_management.reqif.title")," "))}function jp(t,o){t&1&&(l(0,"p"),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" ",u(2,1,"licenses.document_management.title")," "))}function Gp(t,o){if(t&1&&(C(0,$p,3,3,"p"),C(1,jp,3,3,"p")),t&2){let e=c().$implicit,i=c(4);
1b(e.name===i.reqifNotificationName?0:-1),r(),b(e.name!==i.reqifNotificationName?1:-1)}}function Kp(t,o){t&1&&(l(0,"p"),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" ",u(2,1,"licenses.export.license_documents")," "))}function Wp(t,o){t&1&&(l(0,"p"),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" ",u(2,1,"licenses.export.license_documents")," "))}function Qp(t,o){t&1&&(l(0,"p"),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" ",u(2,1,"licenses.export.license_settings")," "))}function Yp(t,o){t&1&&(l(0,"p"),p(1),d(2,"transloco"),s()),t&2&&(r(),h(u(2,1,"dashboard.company_details.metadata")))}function Zp(t,o){t&1&&(l(0,"p"),p(1),d(2,"transloco"),s()),t&2&&(r(),h(u(2,1,"observation.title")))}function Jp(t,o){t&1&&(l(0,"p"),p(1),d(2,"transloco"),s()),t&2&&(r(),h(u(2,1,"orders.orders")))}function Xp(t,o){t&1&&(l(0,"p"),p(1),d(2,"transloco"),s()),t&2&&(r(),h(u(2,1,"search.title")))}function em(t,o){t&1&&(l(0,"p"),p(1),d(2,"transloco"),s()),t&2&&(r(),h(u(2,1,"user_management.statistics.title")))}function tm(t,o){t&1&&(l(0,"p"),p(1),d(2,"transloco"),s()),t&2&&(r(),h(u(2,1,"favorites.favorites_management")))}function im(t,o){t&1&&(l(0,"span"),p(1,"\xA0Uhr"),s())}function nm(t,o){if(t&1&&p(0),t&2){let e=c().$implicit;D(" ",e.title," ")}}function om(t,o){t&1&&(l(0,"div",20)(1,"span"),p(2),d(3,"transloco"),s()()),t&2&&(r(2),h(u(3,1,"notifications.export_link_download")))}function am(t,o){if(t&1&&(l(0,"span"),p(1),d(2,"mapNotifications"),d(3,"transloco"),s(),C(4,om,4,3,"div",20)),t&2){let e=c().$implicit;r(),h(u(3,6,ji(2,2,e.service.name,e.service.status,e.data))),r(3),b((e.service==null?null:e.service.status)==="csvexport"?4:-1)}}function rm(t,o){if(t&1&&(l(0,"span"),p(1),d(2,"transloco"),d(3,"transloco"),s()),t&2){let e=c(2).$implicit;r(),D("",(e.data==null||e.data.changes==null?null:e.data.changes.length)===1?u(2,1,"notifications.dataset_changed"):u(3,3,"notifications.datasets_changed")," ")}}function sm(t,o){t&1&&(l(0,"span"),p(1),d(2,"transloco"),s()),t&2&&(r(),D("",u(2,1,"notifications.observation_no_changes")," "))}function lm(t,o){if(t&1&&(l(0,"div",22)(1,"span",23),p(2),s(),l(3,"span",24),p(4),s(),l(5,"span",25),p(6),d(7,"changeFlagToTranslationKey"),d(8,"transloco"),s()()),t&2){let e=o.$implicit;r(2),D("",e.documentNumber," "),r(2),D("(",e.dateOfIssue,") "),r(2),h(u(8,5,u(7,3,e.changeFlag)))}}function cm(t,o){if(t&1&&(l(0,"div",20),p(1),l(2,"span"),p(3),d(4,"transloco"),s(),p(5," ... "),s()),t&2){let e=c(3).$implicit;r(),D(" ",e.data.moreItemsCount," "),r(2),h(u(4,2,"common.more_items"))}}function dm(t,o){if(t&1&&(l(0,"div",21),ue(1,lm,9,7,"div",22,Se),C(3,cm,6,4,"div",20),s()),t&2){let e=c(2).$implicit;r(),_e(e.data.changes),r(2),b(e.data!=null&&e.data.hasMoreItems?3:-1)}}
1function pm(t,o){if(t&1&&(C(0,rm,4,5,"span"),C(1,sm,3,3,"span"),C(2,dm,4,1,"div",21)),t&2){let e=c().$implicit;b(e.data!=null&&e.data.changes?0:-1),r(),b(e.data!=null&&e.data.observationNoChanges&&!(e.data!=null&&e.data.changes)?1:-1),r(),b(!(e.data!=null&&e.data.observationNoChanges)||e.data!=null&&e.data.changes?2:-1)}}function mm(t,o){t&1&&(l(0,"span"),p(1),d(2,"transloco"),s()),t&2&&(r(),h(u(2,1,"company_data.custom_fields_import")))}function um(t,o){t&1&&(l(0,"div"),p(1),d(2,"transloco"),s()),t&2&&(r(),h(u(2,1,"notifications.check_metadata")))}function _m(t,o){t&1&&(l(0,"div"),p(1),d(2,"transloco"),s()),t&2&&(r(),h(u(2,1,"notifications.license_threshold_title")))}function hm(t,o){if(t&1&&(l(0,"div",26),p(1),s()),t&2){let e=c(2).$implicit,i=c(4);r(),D(' "',i.getTitleByLanguage(e.metadataReleaseLevelData.titles),'" ')}}function fm(t,o){if(t&1&&(l(0,"div"),p(1),s(),C(2,hm,2,1,"div",26),l(3,"div",27),p(4),d(5,"transloco"),d(6,"transloco"),d(7,"transloco"),s()),t&2){let e=c().$implicit,i=c(4);r(),oo(" ",e.metadataReleaseLevelData.documentNumber," (",e.metadataReleaseLevelData.dateOfIssue,") - ",e.metadataReleaseLevelData.acCode," "),r(),b(i.getTitleByLanguage(e.metadataReleaseLevelData==null?null:e.metadataReleaseLevelData.titles)!==""?2:-1),r(2),D(" ",e.metadataReleaseLevelData.releaseLevel===null?u(5,5,"notifications.release_level_reset_default"):J(7,9,"notifications.release_level_changed",Ce(12,Op,u(6,7,i.releaseLevelToTranslationKey(e.metadataReleaseLevelData.releaseLevel))))," ")}}function gm(t,o){t&1&&(l(0,"span"),p(1),d(2,"transloco"),s()),t&2&&(r(),h(u(2,1,"company_data.record_successfully_created")))}function vm(t,o){t&1&&(l(0,"span"),p(1),d(2,"transloco"),s()),t&2&&(r(),h(u(2,1,"notifications.import_filelist_done")))}function Cm(t,o){t&1&&(l(0,"span"),p(1),d(2,"transloco"),s()),t&2&&(r(),h(u(2,1,"notifications.export_ready_for_download")))}function bm(t,o){t&1&&(l(0,"span"),p(1),d(2,"transloco"),s()),t&2&&(r(),h(u(2,1,"notifications.export_failed")))}function ym(t,o){t&1&&(l(0,"span"),p(1),d(2,"transloco"),s()),t&2&&(r(),D("",u(2,1,"notifications.export_statistics")," "))}function Sm(t,o){if(t&1&&(C(0,Cm,3,3,"span"),C(1,bm,3,3,"span"),C(2,ym,3,3,"span"),l(3,"div",20)(4,"span"),p(5),d(6,"transloco"),s()()),t&2){let e=c(2).$implicit;b((e.service==null?null:e.service.name)!=="Statistics"&&(e.service==null?null:e.service.originalStatus)!=="Failed"&&(e.service==null?null:e.service.originalStatus)!=="Canceled"?0:-1),r(),b((e.service==null?null:e.service.name)!=="Statistics"&&((e.service==null?null:e.service.originalStatus)==="Failed"||(e.service==null?null:e.service.originalStatus)==="Canceled")?1:-1),r(),b((e.service==null?null:e.service.name)==="Statistics"?2:-1),r(3),h(u(6,4,"notifications.export_link_download"))}}function xm(t,o){t&1&&(l(0,"span"),p(1),d(2,"transloco"),s()),t&2&&(r(),h(u(2,1,"notifications.export_ready_for_download")))}function wm(t,o){t&1&&(l(0,"span"),p(1),d(2,"transloco"),s()),t&2&&(r(),D("",u(2,1,"notifications.export_statistics_login")," "))}function Tm(t,o){if(t&1&&(C(0,xm,3,3,"span"),C(1,wm,3,3,"span"),l(2,"div",20)(3,"span"),p(4),d(5,"transloco"),s()()),t&2){let e=c(2).$implicit;b((e.service==null?null:e.service.name)!=="Statistics"?0:-1),r(),b((e.service==null?null:e.service.name)==="Statistics"?1:-1),r(3),h(u(5,3,"notifications.export_link_download"))}}function Em(t,o){t&1&&(l(0,"span"),p(1),d(2,"transloco"),s()),t&2&&(r(),D("",u(2,1,"notifications.export_statistics_order")," "))}function Dm(t,o){if(t&1&&(C(0,Em,3,3,"span"),l(1,"div",20)(2,"span"),p(3),d(4,"transloco"),s()()),t&2){let e=c(2).$implicit;b((e.service==null?null:e.service.name)==="Statistics"?0:-1),r(3),h(u(4,2,"notifications.export_link_download"))}}function Im(t,o){t&1&&(l(0,"span"),p(1),d(2,"transloco"),s()),t&2&&(r(),h(u(2,1,"notifications.delete_statistics")))}function Mm(t,o){if(t&1&&C(0,Im,3,3,"span"),t&2){let e=c(2).$implicit;b((e.service==null?null:e.service.name)==="Statistics"?0:-1)}}function km(t,o){if(t&1&&(l(0,"span"),p(1),d(2,"transloco"),s()),t&2){let e=c(2).$implicit;r(),h(J(2,1,"notifications.hosting_space_invalid",Ce(4,Rp,e.hostedFileData.fileName)))}}function Fm(t,o){t&1&&(l(0,"span"),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" ",u(2,1,"notifications.reqif.process_id_copied")," "))}function Lm(t,o){if(t&1&&(l(0,"span"),p(1),d(2,"transloco"),s()),t&2){let e=c(4).$implicit;r(),h(J(2,1,"notifications.reqif.conversion_failed",Ei(4,Tc,e.reqifData.documentNumber,e.reqifData.dateOfIssue,e.reqifData.language)))}}function Pm(t,o){if(t&1&&C(0,Fm,3,3,"span")(1,Lm,3,8,"span"),t&2){let e=c(3).$implicit,i=c(4);b(i.processIdCopied&&i.processIdCopied[0]===e.reqifData.jobId&&i.processIdCopied[1]?0:1)}}function Am(t,o){if(t&1&&(l(0,"span"),p(1),d(2,"transloco"),s(),l(3,"div",20)(4,"span"),p(5),d(6,"transloco"),s()()),t&2){let e=c(3).$implicit;r(),h(J(2,2,"notifications.reqif.conversion_succeeded",Ei(7,Tc,e.reqifData.documentNumber,e.reqifData.dateOfIssue,e.reqifData.language))),r(4),h(u(6,5,"notifications.export_link_download"))}}function Nm(t,o){if(t&1&&C(0,Pm,2,1)(1,Am,7,11),t&2){let e=c(2).$implicit,i=c(4);b(e.service.originalStatus===i.errorStatus?0:1)}}
1function Om(t,o){if(t&1&&(l(0,"span",26),p(1),d(2,"transloco"),s(),l(3,"div"),p(4),d(5,"transloco"),s()),t&2){let e=c(2).$implicit;r(),h(J(2,2,"notifications.document_ownership",Ei(7,Bp,e.metadata.documentNumber,e.metadata.dateOfIssue,e.metadata.acCode))),r(3),h(u(5,5,"notifications.document_owner_reminder"))}}function Rm(t,o){if(t&1&&(l(0,"span",26),p(1),d(2,"transloco"),s(),l(3,"div"),p(4),d(5,"transloco"),s()),t&2){let e=c(2).$implicit;r(),h(J(2,2,"notifications.license_threshold_reached",Ei(7,zp,e.licenseDocumentThresholdData.licenseName,e.licenseDocumentThresholdData.documentCount,e.licenseDocumentThresholdData.documentLimit))),r(3),h(u(5,5,"notifications.license_threshold_reminder"))}}function Bm(t,o){if(t&1&&(C(0,gm,3,3,"span"),d(1,"lowercase"),Lr(2,vm,3,3,"span")(3,Sm,7,6)(4,Tm,6,5)(5,Dm,5,4)(6,Mm,1,1)(7,km,3,6,"span")(8,Nm,2,1)(9,Om,6,11)(10,Rm,6,11)),t&2){let e,i=c().$implicit,n=c(4);b((e=u(1,1,i.service.status))==="create"?0:e==="import"?2:e==="export"?3:e==="login"?4:e==="order"?5:e==="delete"?6:e===n.hostedFileNotificationStatus?7:e===n.reqifConversionStatus?8:e==="reminder"?9:e==="documentthresholdwarning"?10:-1)}}function zm(t,o){if(t&1&&(l(0,"div")(1,"span"),p(2),s()(),l(3,"span"),p(4),s()),t&2){let e=c().$implicit;r(2),h(e.metadata.documentNumber),r(2),h(e.metadata.title)}}function Vm(t,o){t&1&&(l(0,"span",20)(1,"span"),p(2),d(3,"transloco"),s(),p(4," ... "),s()),t&2&&(r(2),h(u(3,1,"common.more_items")))}function qm(t,o){if(t&1&&(l(0,"div"),p(1),d(2,"limitText"),s(),C(3,Vm,5,3,"span",20)),t&2){let e=c().$implicit,i=c(4);r(),h(J(2,2,e.messageBody,i.maxChars)),r(2),b(e.messageBody.length>i.maxChars?3:-1)}}function Um(t,o){if(t&1){let e=I();l(0,"div",10),y("click",function(){let n=S(e).$implicit,a=c(4);return x(a.onNotificationClicked(n))})("keydown.enter",function(){let n=S(e).$implicit,a=c(4);return x(a.onNotificationClicked(n))}),l(1,"div",11),C(2,Up,4,6,"button",12),C(3,Hp,1,0,"div",13),l(4,"div",14)(5,"div"),C(6,Gp,2,2)(7,Kp,3,3,"p")(8,Wp,3,3,"p")(9,Qp,3,3,"p")(10,Yp,3,3,"p")(11,Zp,3,3,"p")(12,Jp,3,3,"p")(13,Xp,3,3,"p")(14,em,3,3,"p")(15,tm,3,3,"p"),s(),l(16,"div")(17,"div",15),p(18),d(19,"longDate"),s(),l(20,"div",16)(21,"span"),p(22),d(23,"date"),s(),C(24,im,2,0,"span"),s()()()(),l(25,"div",17)(26,"span"),C(27,nm,1,1),C(28,am,5,8),C(29,pm,3,3),C(30,mm,3,3,"span"),C(31,um,3,3,"div"),C(32,_m,3,3,"div"),C(33,fm,8,14),C(34,Bm,11,3),s(),ie(35),C(36,zm,5,2),ne(),C(37,qm,4,5),s()()}if(t&2){let e,i=o.$implicit,n=c(4);hi(Ti(30,Np,i.isRead,n.isErrorNotification(i))),r(2),b(i.isRead?-1:2),r(),b(i.isRead?3:-1),r(2),W("notification-list-item-heading",!i.isRead),r(),b((e=i.service==null?null:i.service.name)==="DocumentAccess"?6:e==="LicensedDocuments"?7:e==="License"?8:e==="LicenseSettings"?9:e==="Metadata"?10:e==="Observer"?11:e==="OrderManagement"?12:e==="Search"?13:e==="Statistics"?14:e==="Favorites"?15:-1),r(12),D(" ",J(19,22,i.creationDate,n.languageId)," "),r(4),h(Ar(23,25,i.creationDate,"shortTime","",n.languageId)),r(2),b(n.languageId==="de"?24:-1),r(2),W("notification-list-item-heading",!i.isRead),r(),b(i.service?-1:27),r(),b((i.service==null?null:i.service.name)==="OrderManagement"?28:-1),r(),b((i.service==null?null:i.service.name)==="Observer"?29:-1),r(),b(i.name==="customFields"?30:-1),r(),b((i.service==null?null:i.service.name)==="Metadata"&&i.name==="reminderDateReached"?31:-1),r(),b((i.service==null?null:i.service.name)==="LicensedDocuments"&&i.name==="DocumentThresholdWarning"?32:-1),r(),b((i.service==null?null:i.service.name)==="Metadata"&&i.name==="ReleaseLevelUpdate"?33:-1),r(),b(i.name!=="customFields"&&i.name!=="ReleaseLevelUpdate"&&((i.service==null?null:i.service.name)==="Search"||(i.service==null?null:i.service.name)==="LicensedDocuments"||(i.service==null?null:i.service.name)==="LicenseSettings"||(i.service==null?null:i.service.name)==="DocumentAccess"||(i.service==null?null:i.service.name)==="Statistics"||(i.service==null?null:i.service.name)==="Metadata"||(i.service==null?null:i.service.name)==="Favorites"||(i.service==null?null:i.service.name)==="FileContent")?34:-1),r(2),b(i.service.status==="create"?36:-1),r(),b(i.messageBody?37:-1)}}
1function Hm(t,o){if(t&1&&ue(0,Um,38,33,"div",9,Se),t&2){let e=c(2);_e(e.notifications)}}function $m(t,o){t&1&&(l(0,"div",8)(1,"span",28),p(2),d(3,"transloco"),s()()),t&2&&(r(2),h(u(3,1,"notifications.no_new_notifications")))}function jm(t,o){if(t&1&&C(0,Hm,2,0)(1,$m,4,3,"div",8),t&2){let e=c();b((e==null||e.notifications==null?null:e.notifications.length)>0?0:1)}}function Gm(t,o){if(t&1){let e=I();l(0,"button",3,0),d(2,"transloco"),y("click",function(){S(e);let n=c();return x(n.togglePopover())}),C(3,Vp,3,4,"span",4),w(4,"app-icon",5),d(5,"transloco"),s(),T(6,qp,5,5,"ng-template",null,1,L)(8,jm,2,1,"ng-template",null,2,L)}if(t&2){let e=V(7),i=V(9);_("ngbPopover",i)("popoverTitle",e),k("aria-label",u(2,5,"dashboard.notification_tooltip")),r(3),b(o.unreadNotificationCount>0?3:-1),r(),_("ngbTooltip",u(5,7,"dashboard.notification_tooltip"))}}var Ec=(()=>{class t{constructor(){this._changeDetectorRef=g(Be),this._notificationService=g(uo),this._translocoService=g(Q),this._websocketService=g(Wo),this.errorStatus="Error",this.maxChars=160,this.maxNotifications=99,this.hostedFileNotificationStatus="tenant space validation",this.reqifConversionStatus="reqif conversion",this.reqifNotificationName="ReqIF",this._subscriptions=[]}ngAfterViewInit(){this.notifications$=this._websocketService.websockets$.pipe(Ne(e=>e?this._notificationService.getUnreadNotificationsChronological():[])),this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._subscriptions.forEach(e=>e.unsubscribe())}togglePopover(){this.notificationPopover.isOpen()?this.closePopover():this.openPopover()}isErrorNotification(e){let i=(e.service?.status?.toLowerCase()===this.reqifConversionStatus||e.service?.status?.toLowerCase()===this.hostedFileNotificationStatus)&&e.service.originalStatus===this.errorStatus;return i||=e.service?.status?.toLowerCase()==="export"&&(e.service?.originalStatus?.toLowerCase()==="failed"||e.service?.originalStatus?.toLowerCase()==="canceled"),i}onNotificationClicked(e){this.markAsRead(e.id);let i=this._notificationService.followNotificationLink(e);i.handleProcessId&&(this.processIdCopied=i.processIdCopied,setTimeout(()=>this.processIdCopied=void 0,2500)),this.closePopover()}markAsRead(e){this._subscriptions.push(this._notificationService.markNotificationsAsRead([e]).pipe(Ne(()=>this.notificationPopover.hidden.pipe(ve(1),Ne(()=>this._notificationService.getUnreadNotificationsChronological())))).subscribe())}markAllAsRead(e){this._subscriptions.push(this._notificationService.markNotificationsAsRead(e.filter(i=>!i.isRead).map(i=>i.id)).pipe(Ne(()=>this.notificationPopover.hidden.pipe(ve(1),Ne(()=>this._notificationService.getUnreadNotificationsChronological())))).subscribe())}getTitleByLanguage(e){return js.resolveTitleByFallback(e,this.languageId)}releaseLevelToTranslationKey(e){return el[e?.toLowerCase()]}openPopover(){this.languageId=this._translocoService.getActiveLang(),this.notificationPopover.open()}closePopover(){this.notificationPopover.close()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-notification"]],viewQuery:function(i,n){if(i&1&&le(Ap,5,Yt),i&2){let a;Y(a=Z())&&(n.notificationPopover=a.first)}},decls:2,vars:3,consts:[["notificationPopover",""],["popoverHeader",""],["popover",""],["type","button","placement","bottom","triggers","manual","autoClose","outside","popoverClass","notification-list","data-cy","iconShowNotifications",1,"btn-icon",3,"click","ngbPopover","popoverTitle"],["data-cy","notificationCount",1,"notification-badge","bell"],["name","bell",3,"ngbTooltip"],["type","button","data-cy","iconMarkAllAsRead",1,"btn-icon-text",3,"click"],["name","eye"],[1,"notification-list-item","empty"],["data-cy","notification",3,"class"],["data-cy","notification",3,"click","keydown.enter"],[1,"notification-list-item-left"],["type","button",1,"btn-icon",3,"ngbTooltip"],[1,"spacer"],["data-cy","notificationArea"],["data-cy","notificationDate"],["data-cy","notificationTime"],["data-cy","notificationText",1,"notification-list-item-right"],["type","button",1,"btn-icon",3,"click","ngbTooltip"],["name","eye","data-cy","markAsRead"],[1,"link-text"],[1,"observer-notifications"],["data-cy","observationEntry",1,"notification-list-item-content"],["data-cy","documentNumber"],["data-cy","dateOfIssue"],["data-cy","observationChange"],[1,"ellipsicated"],[1,"n
1otification-list-item-content"],["data-cy","noNotifications"]],template:function(i,n){if(i&1&&(C(0,Gm,10,9),d(1,"async")),i&2){let a;b((a=u(1,1,n.notifications$))?0:-1,a)}},dependencies:[G,te,oe,Yt,$,Mn,As,tl,il,nl,ct,Ur,si,B],styles:['@charset "UTF-8";.btn-icon-text[_ngcontent-%COMP%]:not(:disabled):focus{border-radius:var(--border-radius);box-shadow:0 0 0 .12rem #fff;outline:none}.btn-icon-text[_ngcontent-%COMP%]{color:#fff;gap:calc(var(--spacer) / 4);justify-content:flex-start;margin-left:-.25rem;width:100%}.btn-icon-text.empty[_ngcontent-%COMP%]{opacity:.45;pointer-events:none;-webkit-user-select:none;user-select:none}.error-notification[_ngcontent-%COMP%]{background-color:light-dark(var(--color-alert-dark),var(--color-alert-light))}.notification-list-item[_ngcontent-%COMP%]{cursor:pointer;display:flex;gap:calc(var(--spacer) * 2);position:relative;width:100%;padding:calc(var(--spacer) / 2)}.notification-list-item[_ngcontent-%COMP%]:not(:last-child):after{border-bottom:1px solid light-dark(var(--color-gray-medium),var(--color-gray-dark));bottom:0;content:"";display:flex;padding:0 calc(var(--spacer) / 2);position:absolute;width:calc(100% - var(--spacer))}.notification-list-item.empty[_ngcontent-%COMP%]{font-family:var(--font-family-bold);height:4rem;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none}.notification-list-item-left[_ngcontent-%COMP%]{display:flex;flex:26%;gap:.2rem}.notification-list-item-left[_ngcontent-%COMP%]   .btn-icon[_ngcontent-%COMP%]:not(:disabled):focus{border-radius:var(--border-radius);box-shadow:0 0 0 .12rem #fff;outline:none}.notification-list-item-left[_ngcontent-%COMP%]   .btn-icon[_ngcontent-%COMP%]{color:#fff}.notification-list-item-left[_ngcontent-%COMP%]   .btn-icon[_ngcontent-%COMP%]:hover, .notification-list-item-left[_ngcontent-%COMP%]   .btn-icon[_ngcontent-%COMP%]:active{background-color:inherit;border:1px solid white}.notification-list-item-left[_ngcontent-%COMP%]   .spacer[_ngcontent-%COMP%]{cursor:default;width:2.5rem}.notification-list-item-right[_ngcontent-%COMP%]{flex:70%}.notification-list-item-heading[_ngcontent-%COMP%]{font-family:var(--font-family-bold)}.notification-list-item-content[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;max-width:30rem;text-overflow:ellipsis}.notification-list-item-content[_ngcontent-%COMP%]   .text-bold[_ngcontent-%COMP%]{color:#fff}.notification-list-item-content[_ngcontent-%COMP%]   .text-bold[_ngcontent-%COMP%]:first-child{margin-right:calc(var(--spacer) / 4)}.notification-list-item-content[_ngcontent-%COMP%]   .text-bold[_ngcontent-%COMP%]:nth-child(2):after{content:":\\a0"}@media(width<=62rem){.notification-list-item-content[_ngcontent-%COMP%]{max-width:22rem}}.notification-list-item[_ngcontent-%COMP%]   .link-text[_ngcontent-%COMP%]{color:#fff}.read[_ngcontent-%COMP%]{opacity:.75}']})}}return t})();var Km=t=>({number:t}),Wm=()=>["bottom-right"];function Qm(t,o){t&1&&w(0,"app-icon",1),t&2&&_("width",124)("height",37)}function Ym(t,o){t&1&&w(0,"app-icon",3),t&2&&_("width",189)("height",37)}function Zm(t,o){t&1&&w(0,"app-icon",4),t&2&&_("width",169)("height",37)}function Jm(t,o){t&1&&(l(0,"span",10),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" ",u(2,1,"common.tenant_type_pilot")," "))}function Xm(t,o){t&1&&w(0,"app-icon",13)}function eu(t,o){t&1&&(p(0),d(1,"transloco")),t&2&&D(" - ",u(1,1,"common.metadata_label.metadata_update_in_progress")," ")}function tu(t,o){if(t&1&&(p(0),d(1,"transloco")),t&2){let e=c(2);D(" - (",J(1,1,"common.weekly_update",Ce(4,Km,e.metadataVersion.weekOfMonth)),") ")}}function iu(t,o){if(t&1&&(l(0,"div",5)(1,"p"),C(2,Jm,3,3,"span",10),l(3,"span",11),p(4),d(5,"transloco"),s()(),l(6,"p",12),C(7,Xm,1,0,"app-icon",13),p(8),d(9,"transloco"),C(10,eu,2,3)(11,tu,2,6),s()()),t&2){let e=c();r(2),b(e.tenantType===e.tenantTypes.PILOT?2:-1),r(),W("text-alert",e.tenantType===e.tenantTypes.PILOT),r(),lt("",u(5,9,"common.version")," ",e.versionNumber),r(3),b(e.metadataVersion!=null&&e.metadataVersion.isRunning?7:-1),r(),lt(" ",u(9,11,"search.metadata_version")," ",e.metadataVersion==null?null:e.metadataVersion.version," "),r(2),b(e.metadataVersion!=null&&e.metadataVersion.isRunning?10:(e.metadataVersion==null?null:e.metadataVersion.weekOfMonth)>0?11:-1)}}function nu(t,o){t&1&&w(0,"app-icon",21)}function ou(t,o){t&1&&w(0,"app-icon",22)}
1function au(t,o){if(t&1){let e=I();l(0,"button",20),d(1,"transloco"),d(2,"transloco"),y("click",function(){S(e);let n=c(3);return x(n.navigateTo("hosting-explorer"))}),C(3,nu,1,0,"app-icon",21),C(4,ou,1,0,"app-icon",22),s()}if(t&2){let e=c(3);_("ngbTooltip",u(1,4,"dashboard.upload_symbol_tooltip")),k("aria-label",u(2,6,"dashboard.upload_symbol_tooltip")),r(3),b(e.isHostingModuleUploading?-1:3),r(),b(e.isHostingModuleUploading?4:-1)}}function ru(t,o){if(t&1&&T(0,au,5,8,"button",19),t&2){let e=c(2);_("permissions",e.licensePermissions)}}function su(t,o){if(t&1&&(l(0,"span",26),p(1),d(2,"async"),d(3,"capCount"),s()),t&2){let e=c(4);r(),h(J(3,3,u(2,1,e.orderCount$),e.maxNotificationCount))}}function lu(t,o){if(t&1){let e=I();l(0,"button",24),d(1,"transloco"),d(2,"transloco"),y("click",function(){S(e);let n=c(3);return x(n.navigateTo("orders"))}),w(3,"app-icon",25),C(4,su,4,6,"span",26),d(5,"async"),s()}if(t&2){let e=c(3);_("ngbTooltip",u(1,3,"dashboard.shopping_cart_tooltip")),k("aria-label",u(2,5,"dashboard.shopping_cart_tooltip")),r(4),b(u(5,7,e.orderCount$)>0?4:-1)}}function cu(t,o){if(t&1&&T(0,lu,6,9,"button",23),t&2){let e=c(2);_("permissions",e.shoppingCartPermissions)}}function du(t,o){if(t&1){let e=I();C(0,ru,1,1,"button",14),w(1,"app-notification"),C(2,cu,1,1,"button",15),l(3,"button",16),d(4,"transloco"),d(5,"transloco"),y("click",function(){S(e);let n=c();return x(n.openHelpModal())}),w(6,"app-icon",17),s(),l(7,"button",18),d(8,"transloco"),y("click",function(){S(e);let n=c();return x(n.navigateTo("faq"))}),p(9," FAQ "),s()}if(t&2){let e=c();b(e.hasHostingModule?0:-1),r(2),b(e.isOrderManagementEnabled?2:-1),r(),_("ngbTooltip",u(4,5,"dashboard.help_tooltip")),k("aria-label",u(5,7,"dashboard.help_tooltip")),r(4),_("ngbTooltip",u(8,9,"dashboard.faq_tooltip"))}}function pu(t,o){if(t&1&&(l(0,"span",30),p(1),s()),t&2){let e=o.$implicit;r(),h(e)}}function mu(t,o){if(t&1){let e=I();l(0,"button",32),d(1,"transloco"),d(2,"transloco"),y("click",function(){S(e);let n=c(2);return x(n.navigateTo("logout"))}),w(3,"app-icon",33),s()}t&2&&(_("ngbTooltip",u(1,3,"user_management.users.logout"))("placement",Ct(7,Wm)),k("aria-label",u(2,5,"user_management.users.logout")))}function uu(t,o){if(t&1&&(l(0,"div")(1,"p",27),p(2),s(),l(3,"p",28)(4,"span",29),p(5),s(),ue(6,pu,2,1,"span",30,Se),s()(),C(8,mu,4,8,"button",31)),t&2){let e=c();r(2),h(e.fullName),r(3),h(e.username),r(),_e(e.userRoles),r(2),b(e.isLogoutPossible?8:-1)}}function _u(t,o){t&1&&(l(0,"a",9),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" ",u(2,1,"dashboard.useful_links.imprint")," "))}var Yo=(()=>{class t{constructor(){this._modalService=g(X),this._orderManagementService=g(dn),this._router=g(De),this._tenantStateService=g(pt),this.maxNotificationCount=99,this.permissions=M,this.shoppingCartPermissions=[M.SHOPPING_CART_PANEL,M.REQUESTED_PANEL,M.ORDERED_PANEL,M.DELIVERED_PANEL,M.READ_ORDERS],this.licensePermissions=[M.VIEW_LICENSE_PANEL,M.EDIT_LICENSE_PANEL],this.tenantType=Qo.LIVE,this.hasHostingModule=!1,this.isHostingModuleUploading=!1,this.isOrderManagementEnabled=!0,this.tenantTypes=Qo}ngOnInit(){this.orderCount$=this._orderManagementService.orderCountSummary$.pipe(be(i=>i?.shoppingCartCount));let e=localStorage.getItem("theme");e==="dark"||e==="light"?this.isDarkMode=e==="dark":this.isDarkMode=window.matchMedia("(prefers-color-scheme: dark)").matches,document.documentElement.style.colorScheme=this.isDarkMode?"dark":"light"}toggleTheme(){this.isDarkMode=!this.isDarkMode;let e=this.isDarkMode?"dark":"light";document.documentElement.style.colorScheme=e,localStorage.setItem("theme",e)}navigateTo(e){this._router.navigate([`${this.tenantKey}/${e}`])}openHelpModal(){this._modalService.open(wc,{windowClass:"modal-extra-large"})}get isNautosProActive(){return this._tenantStateService.isNautosProActive()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-header"]],inputs:{versionNumber:"versionNumber",metadataVersion:"metadataVersion",tenantType:"tenantType",fullName:"fullName",username:"username",userRoles:"userRoles",tenantKey:"tenantKey",isLoggedIn:"isLoggedIn",hasHostingModule:"hasHostingModule",isHostingModuleUploading:"isHostingModuleUploading",isLogoutPossible:"isLogoutPossible",isOrderManagementEnabled:"isOrderManagementEnabled"},decls:17,vars:19,consts:[[1,"header"],["sprite","icons-sidebar","name","nautos","alt","N
1autos","data-cy","iconNautos",1,"nautos-logo",3,"width","height"],["type","button",3,"click"],["sprite","icons-sidebar","name","nautos-basic","data-cy","iconNautosBasic","alt","Nautos Basic",1,"nautos-logo",3,"width","height"],["sprite","icons-sidebar","name","nautos-pro","data-cy","iconNautosPro","alt","Nautos Pro",1,"nautos-logo",3,"width","height"],[1,"version-number"],[1,"header-actions"],["type","button","data-cy","iconToggleDarkMode",1,"btn-icon",3,"click","ngbTooltip"],[3,"name"],["data-cy","linkImprint","href","https://www.dinmedia.de/de/impressum","target","_blank","rel","noopener noreferrer",1,"link"],[1,"text-alert"],["data-cy","releaseVersion"],["data-cy","metadataVersion"],["sprite","icons-small","name","loading-spinner"],["type","button",1,"btn-icon",3,"ngbTooltip"],["type","button","data-cy","iconGoToCart",1,"btn-icon",3,"ngbTooltip"],["type","button",1,"btn-icon","help",3,"click","ngbTooltip"],["name","help","data-cy","iconShowHelp"],["type","button","data-cy","goToFaq",1,"btn-icon","faq",3,"click","ngbTooltip"],["type","button","class","btn-icon",3,"ngbTooltip","click",4,"permissions"],["type","button",1,"btn-icon",3,"click","ngbTooltip"],["name","cloud","data-cy","iconGoToHosting"],["name","loading-spinner","data-cy","hostingSpinner"],["type","button","class","btn-icon","data-cy","iconGoToCart",3,"ngbTooltip","click",4,"permissions"],["type","button","data-cy","iconGoToCart",1,"btn-icon",3,"click","ngbTooltip"],["name","order-cart"],["data-cy","orderCountSummary",1,"notification-badge","notification-count"],["data-cy","fullName"],[1,"user-info"],["data-cy","loggedInUsername",1,"username"],["data-cy","userRole",1,"comma-separated-list"],["type","button",1,"btn-icon",3,"ngbTooltip","placement"],["type","button",1,"btn-icon",3,"click","ngbTooltip","placement"],["name","leave","data-cy","logout"]],template:function(i,n){i&1&&(l(0,"nav",0),C(1,Qm,1,2,"app-icon",1),l(2,"button",2),d(3,"transloco"),y("click",function(){return n.navigateTo("dashboard")}),C(4,Ym,1,2,"app-icon",3),C(5,Zm,1,2,"app-icon",4),s(),C(6,iu,12,13,"div",5),l(7,"div",6),C(8,du,10,11),l(9,"button",7),d(10,"transloco"),d(11,"transloco"),d(12,"transloco"),y("click",function(){return n.toggleTheme()}),w(13,"app-icon",8),s(),w(14,"app-language-select"),C(15,uu,9,3),C(16,_u,3,3,"a",9),s()()),i&2&&(r(),b(n.isLoggedIn?-1:1),r(),k("aria-label",u(3,11,"dashboard.to_dashboard")),r(2),b(n.isLoggedIn&&!n.isNautosProActive?4:-1),r(),b(n.isLoggedIn&&n.isNautosProActive?5:-1),r(),b(n.isLoggedIn?6:-1),r(2),b(n.isLoggedIn?8:-1),r(),_("ngbTooltip",n.isDarkMode?u(10,13,"common.theme_light"):u(11,15,"common.theme_dark")),k("aria-label",u(12,17,"dashboard.help_tooltip")),r(4),_("name",n.isDarkMode?"theme-dark":"theme-light"),r(2),b(n.isLoggedIn?15:-1),r(),b(n.isLoggedIn?-1:16))},dependencies:[Ee,G,xc,te,Ec,oe,Mt,$,Mn,ct,B],styles:['@charset "UTF-8";.header[_ngcontent-%COMP%]{align-items:center;background-color:var(--color-background);border-bottom:var(--border);display:flex;flex-wrap:nowrap;height:4rem;position:relative}.header[_ngcontent-%COMP%]   .version-number[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:flex-start}.header[_ngcontent-%COMP%]   .version-number[_ngcontent-%COMP%]   .text-alert[_ngcontent-%COMP%]{position:unset;font-size:var(--font-size-default)}@media(width<=62rem){.header[_ngcontent-%COMP%]   .version-number[_ngcontent-%COMP%]{display:none}}.header[_ngcontent-%COMP%]   .header-actions[_ngcontent-%COMP%]{align-items:center;display:flex;flex:1;gap:var(--spacer);justify-content:flex-end;padding-inline:var(--spacer)}.header[_ngcontent-%COMP%]   .header-actions[_ngcontent-%COMP%]   .notification-count[_ngcontent-%COMP%]{font-family:var(--font-family-regular);margin-left:calc(var(--spacer) * 2);top:calc(var(--spacer) / 2)}@media(width<=36rem){.header[_ngcontent-%COMP%]   .header-actions[_ngcontent-%COMP%]{gap:0}}.header[_ngcontent-%COMP%]   .header-actions[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]{font-size:var(--font-size-small)}.header[_ngcontent-%COMP%]   .header-actions[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]:before{content:"("}.header[_ngcontent-%COMP%]   .header-actions[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]:after{content:")"}.header[_ngcontent-%COMP%]   .header-actions[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   .username[_ngcontent-%COMP%]:after{content:"\\a0/\\a0"}.header[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]{text-decoration:none}@media(width<=62rem){.header[_ngcontent-%COMP%]{padding-inline:var(--spacer)}}@media(width<=48rem){.header[_ngcontent-%COMP%]{padding-inline:0}}'],changeDetection:0})}}return t})();var fu=["announcementInfoRef"];function gu(t,o){if(t&1&&w(0,"p",5),t&2){let e=c();_("innerHtml",e.text,wi)}}var Zo=(()=>{class t{constructor(){this.content="",this.showAnnouncement=!1,this.toggleAnnouncement=new K}set currentLanguage(e){switch(this._currentLanguage=e,this._currentLanguage){case"en":this.title=this._announcementInfo.titleEn,this.text=this._announcementInfo.textEn;break;case"fr":this.title=this._announcementInfo.titleFr,this.text=this._announcementInfo.textFr;break;default:this.title=this._announcementInfo.titleDe,this.text=this._announcementInfo.textDe;break}}set announcementInfo(e){this._announcementInfo=e}get announcementInfo(){return this._announcementInfo}onToggleAnnouncement(){this.showAnnouncement=!this.showAnnouncement,this.toggleAnnouncement.emit(this.showAnnouncement)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-announcement"]],viewQuery:function(i,n){if(i&1&&le(fu,5),i&2){let a;Y(a=Z())&&(n.elementRef=a.first)}},inputs:{showAnnouncement:"showAnnouncement",currentLanguage:"currentLanguage",announcementInfo:"announcementInfo"},outputs:{toggleAnnouncement:"toggleAnnouncement"},decls:7,vars:3,consts:[["announcementInfoRef",""],["data-cy","infoPanel",1,"container-announcement"],["type","button",1,"btn-toggle-announcement",3,"click"],["name","chevron",3,"direction"],["data-cy","infoPanelTitle"],["data-cy","infoPanelText",1,"content",3,"innerHtml"]],template:function(i,n){i&1&&(l(0,"div",1,0)(2,"button",2),y("click",function(){return n.onToggleAnnouncement()}),w(3,"app-icon",3),l(4,"span",4),p(5),s()(),C(6,gu,1,1,"p",5),s()),i&2&&(r(3),_("direction",n.showAnnouncement?"down":"right"),r(2),h(n.title),r(),b(n.showAnnouncement?6:-1))},dependencies:[G],styles:[".container-announcement[_ngcontent-%COMP%]{color:#fff;background-color:var(--color-orange);overflow:hidden}.container-announcement[_ngcontent-%COMP%]   .btn-toggle-announcement[_ngcontent-%COMP%]:not(:disabled):focus{border:2px solid var(--color-focus);border-radius:0;outline:none}.container-announcement[_ngcontent-%COMP%]   .btn-toggle-announcement[_ngcontent-%COMP%]{margin-inline:auto;background-color:var(--color-orange);color:#fff;width:100%}.container-announcement[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{border-top:1px solid white;padding:var(--spacer) calc(var(--spacer) * 4)}@media(width<=36rem){.container-announcement[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{padding:var(--spacer)}}"]})}}return t})();
1var Cu=["itemRef"],bu=(t,o,e)=>({active:t,primary:o,gray:e}),yu=(t,o,e)=>({active:t,"primary child-active":o,gray:e}),Su=t=>({"child-active":t});function xu(t,o){if(t&1&&(l(0,"span",8),p(1),d(2,"capCount"),s()),t&2){let e=c(2).$implicit,i=c(2);r(),D(" ",J(2,1,e.notificationCount,i.maxNotificationCount)," ")}}function wu(t,o){if(t&1&&(ie(0),l(1,"button",6),d(2,"transloco"),w(3,"app-icon",7),C(4,xu,3,4,"span",8),s(),ne()),t&2){let e=c().$implicit,i=c(2);r(),_("routerLink",e.route)("ngClass",Ei(10,yu,i.sidebarItem.expanded,e.active,!e.active)),k("aria-label",u(2,8,e.textKey))("data-cy",e.icon+"ChildNavigation"),r(2),_("name",Nn(e.icon))("ngClass",Ce(14,Su,e.active)),r(),b(e.notificationCount?4:-1)}}function Tu(t,o){if(t&1&&T(0,wu,5,16,"ng-container",5),t&2){let e=o.$implicit;_("permissions",e.permissions)("permissionsRequiresHostingModule",e.requiresHostingModule)}}function Eu(t,o){if(t&1){let e=I();l(0,"app-collapsible",4),y("afterCollapsibleEvent",function(n){S(e);let a=c();return x(a.onAfterCollapsibleEvent(n,a.sidebarItem))}),ue(1,Tu,1,2,"ng-container",null,io().trackByFn,!0),s()}if(t&2){let e=c();_("expanded",e.sidebarItem.expanded),r(),_e(e.sidebarItem.children)}}var Ja=(()=>{class t{constructor(){this.maxNotificationCount=99,this._routeActive=!1,this.hover=new K(void 0),this.routeOrToggle=new K(void 0),this.updatePopoverPosition=new K(void 0)}set routeActive(e){this._routeActive=e}get routeActive(){return this._routeActive}onMouseEnter(){this.hover.emit(this.sidebarItem),this.itemRef.nativeElement.classList.contains("transition")||this.itemRef.nativeElement.classList.add("transition")}parentClick(e){this.routeOrToggle.emit(e),this.updatePopoverPosition.emit({event:{animationDuration:250,state:null},sidebarItem:e})}ngAfterViewInit(){this.itemRef?.nativeElement.classList.remove("no-transition")}onAfterCollapsibleEvent(e,i){e.state==="expanded"&&this.updatePopoverPosition.emit({event:e,sidebarItem:i})}trackByFn(e,i){return i.id}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-sidebar-item"]],viewQuery:function(i,n){if(i&1&&le(Cu,5),i&2){let a;Y(a=Z())&&(n.itemRef=a.first)}},hostBindings:function(i,n){i&1&&y("mouseenter",function(){return n.onMouseEnter()})},inputs:{sidebarItem:"sidebarItem",hasOrderNotifications:"hasOrderNotifications",routeActive:"routeActive"},outputs:{hover:"hover",routeOrToggle:"routeOrToggle",updatePopoverPosition:"updatePopoverPosition"},decls:5,vars:13,consts:[["itemRef",""],["type","button",1,"sidebar-item",3,"click","ngClass"],["sprite","icons-sidebar","data-cy","parentNavigationIcon",1,"sidebar-icon","parent-icon",3,"name","width"],[3,"expanded"],[3,"afterCollapsibleEvent","expanded"],[4,"permissions","permissionsRequiresHostingModule"],["routerLinkActive","child-active","type","button",1,"sidebar-item","child",3,"routerLink","ngClass"],["sprite","icons-sidebar","data-cy","childNavigationIcon",1,"sidebar-icon","child-icon",3,"name","ngClass"],[1,"notification-badge"]],template:function(i,n){i&1&&(l(0,"button",1,0),d(2,"transloco"),y("click",function(){return n.parentClick(n.sidebarItem)}),w(3,"app-icon",2),s(),C(4,Eu,3,1,"app-collapsible",3)),i&2&&(_("@sidebarItemEnterLeave",void 0)("ngClass",Ei(9,bu,n.routeActive,n.routeActive&&(!n.sidebarItem.expanded||!(n.sidebarItem.children!=null&&n.sidebarItem.children.length)),n.routeActive&&(n.sidebarItem.children==null?null:n.sidebarItem.children.length)&&n.sidebarItem.expanded)),k("aria-label",u(2,7,n.sidebarItem.textKey)),r(3),_("name",Nn(n.sidebarItem.icon))("width",42),r(),b(n.sidebarItem.children!=null&&n.sidebarItem.children.length?4:-1))},dependencies:[ze,G,Cn,sn,Mi,Mt,po,B,Mn],styles:['[_nghost-%COMP%]{display:block}div.child-icon[_ngcontent-%COMP%], div.child-icon.child-active[_ngcontent-%COMP%]{background-position:-3px center}.notification-badge[_ngcontent-%COMP%]{font-family:var(--font-family-regular);left:auto;right:5px;top:5px}.sidebar-icon[_ngcontent-%COMP%]{pointer-events:none}.sidebar-item[_ngcontent-%COMP%]:not(:disabled):focus{border:2px solid var(--color-focus);border-radius:0;outline:none}.sidebar-item[_ngcontent-%COMP%]{align-items:center;background-color:light-dark(var(--color-gray-medium),var(--color-input));border-radius:0;display:flex;height:4rem;justify-content:center;position:relative;width:4rem}.sidebar-item.child[_ngcontent-%COMP%]{color:light-dark(#66809a,var(--color-gray-dark));height:2.5rem;transition:none}.sidebar-item.transition[_ngcontent-%COMP%]{transition:var(--transition)}.sidebar-item.active[_ngcontent-%COMP%]{background-color:var(--color-gray-sidebar)}.sidebar-item.active.child-active[_ngcontent-%COMP%]{background-color:light-dark(var(--color-gray-dark),#252629);color:#fff}.sidebar-item.active.primary[_ngcontent-%COMP%]:not(:focus):before{content:"";display:block;position:absolute;height:100%;width:5px;background-color:var(--color-primary);left:0;top:0}.sidebar-item.active.gray[_ngcontent-%COMP%]:not(:focus):before{content:"";display:block;position:absolute;height:100%;width:5px;background-color:light-dark(var(--color-gray-dark),#252629);left:0;top:0}.sidebar-item[_ngcontent-%COMP%]:hover:not(.active){background-color:light-dark(--color-gray-sidebar,var(--color-background));transition:var(--transition)}'],data:{animation:[Jr("sidebarItemEnterLeave",[_a(":enter",[Gi({opacity:0}
1),ua("100ms",Gi({opacity:1}))]),_a(":leave",[ua("100ms",Gi({opacity:0}))])])]},changeDetection:0})}}return t})();var Jo=(()=>{class t{constructor(){this._authService=g(Pe),this._tenantStateService=g(pt),this._popoverState=new Ut(void 0),this.popoverState$=this._popoverState.asObservable(),this._arrowPosition=new Ut("top"),this.arrowPosition$=this._arrowPosition.asObservable(),this._sidebarItem=new Ut(void 0),this.sidebarItem$=this._sidebarItem.asObservable(),this._sidebarItems=new Ut([]),this.sidebarItems$=this._sidebarItems.asObservable(),this._unreadNotificationCount=null}updateSidebarItems(e){this._sidebarItem.next(e)}resetSidebarItems(){this._sidebarItem.next(void 0)}updatePopoverState(e){this._popoverState.next(e)}isOverflown(e){return e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth}setArrowPosition(e){this._arrowPosition.next(e)}expandItem(e){let i=this._sidebarItems.getValue();if(i.length>0){let n=e.split("_"),a=i.find(m=>m.id===n[0]);a.expanded=!0,this._sidebarItems.next(i)}}collapseAllItems(){let e=this._sidebarItems.getValue();if(e.length>0){let i=e.map(n=>Ae(se({},n),{expanded:!1}));this._sidebarItems.next(i)}}collapseItem(e){if(e){let i=this._sidebarItems.getValue();if(i.length>0){let n=e.split("_"),a=i.find(m=>m.id===n[0]);a.expanded=!1,this._sidebarItems.next(i)}}}updateNotificationCounts(e,i){let n=ae.clone(this._sidebarItems.getValue());if(n.length>0){let a=n.find(v=>v.id==="4");if(a.children.length===5){let[v,E,F,P,z]=a.children;v.notificationCount=e.shoppingCartCount,E.notificationCount=e.requestedCount,F.notificationCount=e.releasedCount,P.notificationCount=e.orderedCount,z.notificationCount=e.deliveredCount}else{let[v,E,F,P]=a.children;v.notificationCount=e.shoppingCartCount,E.notificationCount=e.requestedCount,F.notificationCount=e.orderedCount,P.notificationCount=e.deliveredCount}let f=n.find(v=>v.id==="1").children.find(v=>v.id==="1_5");this._unreadNotificationCount=i,f.notificationCount=i,this._sidebarItems.next(n)}}buildSidebarItems(e,i,n){let a=localStorage.getItem(Gt),m=[{id:"1",route:`${a}/dashboard`,icon:"sidebar-dashboard",textKey:"dashboard.title",active:!1,expanded:!1,visible:!0,permissions:[M.VIEW_DASHBOARD],hasChildren:!0,children:[{id:"1_2",route:`${a}/dashboard`,icon:"sidebar-dashboard-overview",textKey:"dashboard.title",active:!0,visible:!0,permissions:[M.VIEW_DASHBOARD]},{id:"1_3",route:`${a}/news`,icon:"sidebar-dashboard-news",textKey:"dashboard.customer_notification",active:!0,visible:!0,permissions:[M.VIEW_DASHBOARD]},{id:"1_4",route:`${a}/releases`,icon:"sidebar-dashboard-release-notes",textKey:"dashboard.release_notes",active:!0,visible:!0,permissions:[M.VIEW_DASHBOARD]},{id:"1_5",route:`${a}/notification-center`,icon:"sidebar-dashboard-notification-center",textKey:"dashboard.notification_center.title",active:!0,visible:!0,permissions:[M.VIEW_DASHBOARD],notificationCount:this._unreadNotificationCount}]},{id:"2",route:`${a}/search`,icon:"sidebar-search",textKey:"search.title",active:!1,expanded:!1,visible:!0,permissions:[M.EXTENDED_SEARCH],hasChildren:!0,children:[...n?[{id:"2_1",route:`${a}/search`,icon:"sidebar-search-overview",textKey:"search.title",active:!0,visible:!0,permissions:[M.EXTENDED_SEARCH]},{id:"2_2",route:`${a}/my-documents`,icon:"sidebar-document-ownership",textKey:"search.document_ownership.title",active:!0,visible:!0,permissions:[M.EXTENDED_SEARCH]}]:[]]},{id:"3",route:this.getMainRouteFavoriteManagement(a),icon:"sidebar-favorite-management",active:!1,textKey:"favorites.favorite.title",expanded:!1,visible:!0,hasChildren:!0,permissions:[M.FAVORITES_PANEL,M.LATEST_OBSERVATION_PANEL],children:[{id:"3_1",route:`${a}/favorites-management`,icon:"sidebar-folders",textKey:"favorites.favorites_management",active:!0,visible:!0,permissions:[M.FAVORITES_PANEL]},{id:"3_2",route:`${a}/observation/latest-observations`,icon:"sidebar-observation",active:!0,textKey:"observation.title",visible:!0,permissions:[M.LATEST_OBSERVATION_PANEL]}]},{id:"4",route:this.getMainRouteOrderManagement(a),icon:"sidebar-order-management",active:!1,textKey:"orders.title",expanded:!1,visible:e,hasChildren:!0,permissions:this.getShoppingcartPermissions(),children:[{id:"4_1",route:`${a}/orders/shopping-cart`,icon:"sidebar-order-cart",textKey:"orders.shopping_cart",active:!0,visible:!0,permissions:[M.SHOPPING_CART_PANEL,M.READ_ORDERS],notificationCount:null},{id:"4_2",route:`${a}/orders/requested`,icon:"sidebar-order-requested",textKey:"orders.requests",active:!0,visible:!0,permissions:[M.REQUESTED_PANEL,M.READ_ORDERS],notificationCount:null},...i?[{id:"4_3",route:`${a}/orders/released`,icon:"sidebar-order-released",textKey:"orders.releases",active:!0,visible:!0,permissions:[M.RELEASE_ORDER_MANAGER,M.READ_ORDERS],notificationCount:null}]:[],{id:"4_4",route:`${a}/orders/ordered`,icon:"sidebar-order-ordered",textKey:"orders.orders",active:!0,visible:!0,permissions:[M.ORDERED_PANEL,M.READ_ORDERS],notificationCount:null},{id:"4_5",route:`${a}/orders/delivered`,icon:"sidebar-order-delivered",textKey:"orders.deliveries",active:!0,visible:!0,permissions:[M.DELIVERED_PANEL,M.READ_ORDERS],notificationCount:null}]},{id:"5",route:this.getMainRouteLicenseManagement(a),icon:"sidebar-licenses",textKey:"licenses.licenses_and_documents",active:!1,expanded:!1,visible:!0,hasChildren:!0,permissions:[M.EDIT_LICENSE_PANEL,M.VIEW_LICENSE_PANEL,M.E
1DIT_DOCUMENT_MANAGEMENT,M.VIEW_DOCUMENT_MANAGEMENT],children:[{id:"5_1",route:`${a}/licenses`,icon:"sidebar-licenses-overview",textKey:"licenses.title",active:!0,visible:!0,permissions:[M.EDIT_LICENSE_PANEL,M.EDIT_DOCUMENT_MANAGEMENT],notificationCount:null},{id:"5_2",route:`${a}/document-management`,icon:"sidebar-document-management",textKey:"licenses.document_management.title",active:!0,visible:!0,permissions:[M.EDIT_LICENSE_PANEL,M.VIEW_LICENSE_PANEL,M.EDIT_DOCUMENT_MANAGEMENT,M.VIEW_DOCUMENT_MANAGEMENT],notificationCount:null},{id:"5_3",route:`${a}/hosting-explorer`,icon:"sidebar-hosting-explorer",textKey:"licenses.hosting_explorer.title",active:!1,visible:!0,notificationCount:null,permissions:[M.EDIT_LICENSE_PANEL,M.EDIT_DOCUMENT_MANAGEMENT],requiresHostingModule:!0},{id:"5_4",route:`${a}/stamp`,icon:"sidebar-document-stamp",textKey:"licenses.document_stamps.title."+(this._tenantStateService.isNautosProActive()?"pro":"basic"),active:!1,visible:!0,notificationCount:null,permissions:[M.STAMP_PANEL]}]},{id:"7",route:`${a}/exports`,icon:"sidebar-downloads",textKey:"user_management.downloads.title",active:!1,visible:!0,hasChildren:!1,children:[],permissions:[M.DOWNLOAD_PANEL]},{id:"8",route:this.getMainRouteUserManagement(a),icon:"sidebar-settings",textKey:"user_management.management",active:!1,visible:!0,permissions:[M.USER_PANEL,M.GROUP_PANEL,M.COMPANY_PANEL,M.STATISTICTS_PANEL,M.SETTINGS_ADMIN],requiresHostingModule:!1,hasChildren:!0,children:[{id:"8_1",route:`${a}/users`,icon:"sidebar-settings-users",textKey:"user_management.users.title",active:!1,visible:!0,permissions:[M.USER_PANEL]},{id:"8_2",route:`${a}/groups`,icon:"sidebar-settings-groups",textKey:"user_management.groups.title",active:!1,visible:!0,permissions:[M.GROUP_PANEL]},{id:"8_3",route:`${a}/locations`,icon:"sidebar-settings-locations",textKey:"user_management.locations.title",active:!1,visible:!0,permissions:[M.LOCATION_PANEL]},{id:"8_4",route:`${a}/companies`,icon:"sidebar-settings-companies",textKey:"user_management.company_management.title",active:!0,visible:!0,permissions:[M.COMPANY_PANEL]},{id:"8_5",route:`${a}/statistics`,icon:"sidebar-settings-statistics",textKey:"user_management.statistics.title",active:!0,visible:!0,permissions:[M.STATISTICTS_PANEL]},{id:"8_6",route:`${a}/settings`,icon:"sidebar-more-settings",textKey:"user_management.settings",active:!1,visible:!0,permissions:[M.SETTINGS_ADMIN]}]},{id:"9",route:`${a}/faq`,icon:null,active:!1,textKey:null,visible:!1,permissions:[]}];this._sidebarItems.next(m)}hasPermission(e){return this._authService.userHasPermission(e)}getMainRouteFavoriteManagement(e){return this.hasPermission(M.FAVORITES_PANEL)?`${e}/favorites-management`:this.hasPermission(M.LATEST_OBSERVATION_PANEL)?`${e}/observation/latest-observations`:`${e}/dashboard`}getMainRouteOrderManagement(e){return this.hasPermission(M.SHOPPING_CART_PANEL)||this.hasPermission(M.READ_ORDERS)?`${e}/orders/shopping-cart`:this.hasPermission(M.REQUESTED_PANEL)||this.hasPermission(M.READ_ORDERS)?`${e}/orders/requested`:this.hasPermission(M.RELEASE_ORDER_MANAGER)||this.hasPermission(M.READ_ORDERS)?`${e}/orders/released`:this.hasPermission(M.ORDERED_PANEL)||this.hasPermission(M.READ_ORDERS)?`${e}/orders/ordered`:this.hasPermission(M.DELIVERED_PANEL)||this.hasPermission(M.READ_ORDERS)?`${e}/orders/delivered`:`${e}/dashboard`}getMainRouteLicenseManagement(e){return this.hasPermission(M.VIEW_LICENSE_PANEL)&&this.hasPermission(M.VIEW_DOCUMENT_MANAGEMENT)&&!this.hasPermission(M.EDIT_LICENSE_PANEL)&&!this.hasPermission(M.EDIT_DOCUMENT_MANAGEMENT)?`${e}/document-management`:this.hasPermission(M.VIEW_LICENSE_PANEL)?`${e}/licenses`:this.hasPermission(M.STAMP_PANEL)?`${e}/stamp`:`${e}/dashboard`}getMainRouteUserManagement(e){return this.hasPermission(M.USER_PANEL)?`${e}/users`:this.hasPermission(M.GROUP_PANEL)?`${e}/groups`:this.hasPermission(M.LOCATION_PANEL)?`${e}/locations`:this.hasPermission(M.COMPANY_PANEL)?`${e}/companies`:this.hasPermission(M.STATISTICTS_PANEL)?`${e}/statistics`:this.hasPermission(M.SETTINGS_ADMIN)?`${e}/settings`:`${e}/dashboard`}getShoppingcartPermissions(){return[M.SHOPPING_CART_PANEL,M.REQUESTED_PANEL,M.RELEASE_ORDER_MANAGER,M.ORDERED_PANEL,M.DELIVERED_PANEL,M.READ_ORDERS]}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=ye({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Du=(t,o)=>({"arrow-top":t,"arrow-bottom":o}),Iu=()=>({exact:!0});
1function Mu(t,o){if(t&1&&(l(0,"div",2),p(1),d(2,"transloco"),s()),t&2){let e=c(3);_("routerLink",e.route)("routerLinkActiveOptions",Ct(5,Iu)),r(),D(" ",u(2,3,e.textKey)," ")}}function ku(t,o){if(t&1&&(l(0,"div",3),p(1),d(2,"transloco"),s()),t&2){let e=c(2).$implicit;_("routerLink",e.route),r(),D(" ",u(2,2,e.textKey)," ")}}function Fu(t,o){if(t&1&&(ie(0),C(1,ku,3,4,"div",3),ne()),t&2){let e=c().$implicit;r(),b(e.visible?1:-1)}}function Lu(t,o){if(t&1&&T(0,Fu,2,1,"ng-container",1),t&2){let e=o.$implicit;_("permissions",e.permissions)("permissionsOperator",e.operator||"OR")("permissionsRequiresHostingModule",e.requiresHostingModule)}}function Pu(t,o){if(t&1&&ue(0,Lu,1,3,"ng-container",null,Se),t&2){let e=c(3);_e(e.children)}}function Au(t,o){if(t&1&&(ie(0),C(1,Mu,3,6,"div",2),C(2,Pu,2,0),ne()),t&2){let e=c(2);r(),b(e.visible?1:-1),r(),b(e.hasChildren?2:-1)}}function Nu(t,o){if(t&1&&(l(0,"div",0),T(1,Au,3,2,"ng-container",1),s()),t&2){let e=o,i=c();_("ngClass",Ti(4,Du,e==="top",e==="bottom")),r(),_("permissions",i.permissions)("permissionsOperator",i.operator||"OR")("permissionsRequiresHostingModule",i.requiresHostingModule)}}function Ou(t,o){if(t&1&&(C(0,Nu,2,7,"div",0),d(1,"async")),t&2){let e,i=c(3);b((e=u(1,1,i.arrowPosition$))?0:-1,e)}}function Ru(t,o){if(t&1&&(C(0,Ou,2,3),d(1,"async")),t&2){let e,i=c(2);b((e=u(1,1,i.sidebarItem$))?0:-1,e)}}function Bu(t,o){if(t&1&&C(0,Ru,2,3),t&2){let e=o;b(e==="default"||e==="reset"?0:-1)}}var Dc=(()=>{class t{constructor(){this._sidebarService=g(Jo),this._oldX=0,this._oldY=0}onMouseLeave(){(this._direction==="right"||this._direction==="top"||this._direction==="bottom")&&this._sidebarService.updatePopoverState("closing")}onMouseMove(e){this.setMouseDirection(e)}ngOnInit(){this.popoverState$=this._sidebarService.popoverState$,this.sidebarItem$=this._sidebarService.sidebarItem$,this.arrowPosition$=this._sidebarService.arrowPosition$}setMouseDirection(e){e.pageX>this._oldX&&e.pageY===this._oldY?this._direction="right":e.pageX===this._oldX&&e.pageY>this._oldY?this._direction="bottom":e.pageX===this._oldX&&e.pageY<this._oldY?this._direction="top":e.pageX<this._oldX&&e.pageY===this._oldY&&(this._direction="left"),this._oldX=e.pageX,this._oldY=e.pageY}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["ng-component"]],hostBindings:function(i,n){i&1&&y("mouseleave",function(){return n.onMouseLeave()})("mousemove",function(m){return n.onMouseMove(m)})},decls:2,vars:3,consts:[[1,"popover-container",3,"ngClass"],[4,"permissions","permissionsOperator","permissionsRequiresHostingModule"],["routerLinkActive","active","data-cy","popoverNavigationTitle",1,"popover-item","parent",3,"routerLink","routerLinkActiveOptions"],["routerLinkActive","active","data-cy","popoverNavigationChild",1,"popover-item","child",3,"routerLink"]],template:function(i,n){if(i&1&&(C(0,Bu,1,1),d(1,"async")),i&2){let a;b((a=u(1,1,n.popoverState$))?0:-1,a)}},dependencies:[ze,sn,Mi,Mt,po,ct,B],styles:['[_nghost-%COMP%]{min-width:10rem;max-width:25rem;min-height:4rem}.popover-container[_ngcontent-%COMP%]{box-shadow:0 4px 10px #00000059;background-color:var(--color-background);border-radius:var(--border-radius);color:var(--color-primary-dark);cursor:pointer;height:100%;position:relative;width:100%}.popover-container.arrow-top[_ngcontent-%COMP%]:after{content:"";position:absolute;top:22.5px;left:-10px;border-style:solid;border-width:10px 10px 10px 0;border-color:transparent var(--color-background);display:block;width:0}.popover-container.arrow-bottom[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:22.5px;left:-10px;border-style:solid;border-width:10px 10px 10px 0;border-color:transparent var(--color-background);display:block;width:0}.popover-item[_ngcontent-%COMP%]{align-items:center;border:2px solid transparent;display:flex;margin:0;padding-inline:var(--spacer);position:relative}.popover-item.parent[_ngcontent-%COMP%]{font-family:var(--font-family-bold);height:4rem}.popover-item.parent[_ngcontent-%COMP%]:not(:disabled):focus{border:2px solid var(--color-focus);border-radius:0;outline:none}.popover-item.child[_ngcontent-%COMP%]{height:40px}.popover-item.child.active[_ngcontent-%COMP%]{color:var(--color-primary);font-family:var(--font-family-bold);background:var(--color-gray-lighter)}.popover-item.child[_ngcontent-%COMP%]:not(:disabled):focus{border:2px solid var(--color-focus);border-radius:0;outline:none}.popover-item[_ngcontent-%COMP%]:hover{color:var(--color-primary)}'],changeDetection:0})}}return t})();var zu=["sidebarItemContainerRef"];function Vu(t,o){if(t&1){let e=I();l(0,"app-sidebar-item",5,1),d(2,"async"),y("hover",function(n){S(e);let a=c(3);return x(a.onHover(n))})("routeOrToggle",function(n){S(e);let a=c(3);return x(a.onRouteOrToggle(n))})("updatePopoverPosition",function(n){S(e);let a=c(3);return x(a.updatePopoverPositionWhileOpening(n.event,n.sidebarItem))}),s()}if(t&2){let e=c().$implicit,i=c(2);_("sidebarItem",e)("routeActive",u(2,3,i.activeRouteIndex$)===e.id),k("data-cy",e.icon+"MainNavigation")}}function qu(t,o){if(t&1&&T(0,Vu,3,5,"app-sidebar-item",4),t&2){let e=o.$implicit;_("permissions",e.permissions)("permissionsOperator",e.operator||"OR")}}function Uu(t,o){t&1&&ue(0,qu,1,2,"app-sidebar-item",3,io().trackByFn,!0),t&2&&_e(o)}var Xo=(()=>{class t{constructor(){this._authService=g(Pe),this._changeDetectorRef=g(Be),this._helpService=g(Sn),this._notificationService=g(uo),this._orderManagementService=g(dn),this._overlay=g(ms),this._router=g(De),this._sidebarService=g(Jo),this._tenantStateService=g(pt),this._componentActive=!0,this._previouslyOpenedSidebarItem=void 0,this._popoverItemHeight=40,this.activeRouteIndex$=st(null)}onMouseLeave(e){let i=e.relatedTarget;i&&!i.classList.contains("popover-container")&&!i.classList.contains("popover-item")&&this.closePopover()}ngOnInit(){this.initPopover(),this.items$=this._sidebarService.sidebarItems$.pipe(be(e=>e.filter(i=>i.visible)),he(e=>{e&&(this.tenantKey=localStorage.getItem(Gt),this.homeLink=this.tenantKey?`${this.tenantKey}/dashboard`:"login")})),mr(document,"mousemove").pipe(br(200),be(e=>e.target),it(e=>!["sidebar","sidebar-item","popover-item"].some(a=>e.classList.contains(a))&&e.nodeName!=="app-sidebar"),An(this._sidebarService.popoverState$),he(([e,i])=>{i!=="closing"&&this.closePopover()}),Oe(()=>this._componentActive)).subscribe(),this._authService.loggedIn$.pipe(Ne(e=>e?this._tenantStateService.tenant$.pipe(Le(()=>(this._router.navigateByUrl(this.tenantKey?`${this.tenantKey}/login`:"login"),qe)),it(i=>!!i),he(i=>{this._sidebarService.buildSidebarItems(i.isOrderManagementEnabled,i.isOrderReleaseEnabled,this._tenantStateService.isNautosProActive())}),Ne(()=>this.items$.pipe(ve(1),he(i=>this.setupSidebar(i))))):(this._previouslyOpenedSidebarItem=void 0,qe)),Oe(()=>this._componentActive)).subscribe(),this._sidebarService.popoverState$.pipe(he(e=>{e&&(this._currentPopoverState=e,e==="closing"?(this.overlayRef.addPanelClass("no-pointer-ev"),this._sidebarService.resetSidebarItems()):this.overlayRef.removePanelClass("no-pointer-ev"))}),Oe(()=>this._componentActive)).subscribe(),this._router.events.pipe(it(e=>e instanceof rn),An(this.items$),it(([e,i])=>i.length>0),Oe(()=>this._componentActive)).subscribe(([e,i])=>{this.setupSidebar(i)}),this._authService.userInfo$.pipe(Le(()=>(this._router.navigateByUrl(this.tenantKey?`${this.tenantKey}/login`:"login"),qe)),it(e=>!!e),Hi(()=>Zn([this._orderManagementService.orderCountSummary$,this._notificationService.currentNotifications$]).pipe(he(([e,i])=>{e!=null&&i!=null&&this.checkUserLoginStatusAndGetItems(e,i.unreadNotificationCount)}))),Oe(()=>this._componentActive)).subscribe()}onHover(e){this._currentPopoverState===void 0&&this._sidebarService.updatePopoverState("default"),this._currentPopoverState==="closing"&&this._sidebarService.updatePopoverState("reset"),this._changeDetectorRef.detectChanges(),this.updatePopoverPosition(e.route)}updatePopoverPositionWhileOpening(e,i){setTimeout(()=>{i.hasChildren&&this.updatePopoverPosition(i.route)},e.animationDuration)}ngOnDestroy(){this._componentActive=!1}initPopover(){this.overlayRef=this._overlay.create({panelClass:"sidebar-popover",hasBackdrop:!1});let e=new ps(Dc);this.overlayRef.attach(e),this.overlayRef.outsidePointerEvents().pipe(he(i=>{let n=i.target;!n.classList.contains("sidebar-item")&&!n.classList.contains("sidebar-item-icon")&&this._currentPopoverState!==void 0&&this.closePopover()}),Oe(()=>this._componentActive)).subscribe()}updatePopoverPosition(e){let n=this.sidebarItemsRef.toArray().find(F=>F.sidebarItem.route===e),{itemRef:a,sidebarItem:m}=n||{},f=a.nativeElement.getBoundingClientRect(),E=m.children.filter(F=>F.visible).length*this._popoverItemHeight;if(f.bottom+E>(window.innerHeight||document.documentElement.clientHeight)){this._sidebarService.setArrowPosition("bottom");let F=f.top-E;this.overlayRef.overlayElement.style.top=`${F}px`}else this._sidebarService.setArrowPosition("top"),this.overlayRef.overlayElement.style.top=`${f.top}px`;this._sidebarService.updateSidebarItems(m)}onRouteOrToggle(e){if(!e.hasChildren&&e.id!==this._previouslyOpenedSidebarItem?.id){this._router.navigateByUrl(e.route),this._sidebarService.collapseItem(this._previouslyOpenedSidebarItem?.id),this._previouslyOpenedSidebarItem=e,setTimeout(()=>{this.updatePopoverPosition(e.route)},350);return}e.id===this._previouslyOpenedSidebarItem?.id?e.hasChildren?e.expanded?this._sidebarService.collapseItem(e.id):this._sidebarService.expandItem(e.id):this._router.navigateByUrl(e.route):(this._router.navigateByUrl(e.route),this._sidebarService.collapseItem(this._previouslyOpenedSidebarItem?.id),this._previouslyOpenedSidebarItem=e),setTimeout(()=>{this.updatePopoverPosition(e.route)},350)}trackByFn(e,i){return i.id}setActiveRoute(e){if(this._router.url!=="/"){let i=0;return e.forEach(n=>{let{hasChildren:a,children:m,route:f}=n;a?m.forEach(v=>{this._router.isActive(v.route,{paths:"subset",queryParams:"subset",fragment:"ignored",matrixParams:"ignored"})?(i=Number(n.id),v.active=!0):v.active=!1}):this._router.isActive(f,{paths:"subset",queryParams:"subset",fragment:"ignored",matrixParams:"ignored"})&&(i=Number(n.id))}),this._helpService.setActiveRouteId(i),i}return null}checkUserLoginStatusAndGetItems(e,i){!e||i==null||(this._sidebarService.updateNotificationCounts(e,i),this._changeDetectorRef.detectChanges())}
1closePopover(){this._sidebarService.updatePopoverState("closing")}setupSidebar(e){let i=this.setActiveRoute(e);if(i==null)return;this.activeRouteIndex$=st(i.toString());let n=e.find(a=>a.id===i.toString());n?.expanded&&(this._previouslyOpenedSidebarItem=n),this._previouslyOpenedSidebarItem?.expanded&&this._sidebarService.collapseItem(this._previouslyOpenedSidebarItem.id),!n?.expanded&&n?.hasChildren&&(this._sidebarService.expandItem(n.id),this._previouslyOpenedSidebarItem=n),this._changeDetectorRef.markForCheck()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-sidebar"]],viewQuery:function(i,n){if(i&1&&le(zu,5)(Ja,5),i&2){let a;Y(a=Z())&&(n.sidebarItemContainerRef=a.first),Y(a=Z())&&(n.sidebarItemsRef=a)}},hostBindings:function(i,n){i&1&&y("mouseleave",function(m){return n.onMouseLeave(m)})},decls:4,vars:3,consts:[["sidebarItemContainerRef",""],["sidebarItemsRef",""],[1,"sidebar-item-container"],[3,"sidebarItem","routeActive"],[3,"sidebarItem","routeActive","hover","routeOrToggle","updatePopoverPosition",4,"permissions","permissionsOperator"],[3,"hover","routeOrToggle","updatePopoverPosition","sidebarItem","routeActive"]],template:function(i,n){if(i&1&&(l(0,"div",2,0),C(2,Uu,2,0),d(3,"async"),s()),i&2){let a;r(2),b((a=u(3,1,n.items$))?2:-1,a)}},dependencies:[Mi,Mt,Ja,ct],styles:['.sidebar-item-container[_ngcontent-%COMP%]{max-height:100vh;overflow:hidden;position:sticky;top:0;transition:var(--transition);width:4rem}.popover-container[_ngcontent-%COMP%]{box-shadow:0 4px 10px #00000059;background:#fff;color:var(--color-gray-dark);cursor:pointer;height:100%;position:absolute;width:100%}.popover-container[_ngcontent-%COMP%]:before{content:"";position:absolute;top:22.5px;left:-10px;border-style:solid;border-width:10px 10px 10px 0;border-color:transparent white;display:block;width:0}'],changeDetection:0})}}return t})();var $u=["main"],ju=["announcementInfoRef"],Gu=t=>({hide:t}),Ku=t=>({backdrop:t});function Wu(t,o){if(t&1){let e=I();l(0,"app-announcement",7,1),y("toggleAnnouncement",function(n){S(e);let a=c();return x(a.toggleAnnouncement(n))}),s()}if(t&2){let e=c();_("showAnnouncement",e.showAnnouncement)("announcementInfo",e.announcementInfo)("currentLanguage",e.currentLanguage)}}var Ic=(()=>{class t{get isHostingModuleUploading(){return this._hostedFilePresignedUrlService.isCurrentlyUploading}constructor(){this._configService=g($t),this._httpClient=g(li),this._authService=g(Pe),this._orderManagementService=g(dn),this._websocketService=g(Wo),this._metadataFieldsService=g(ln),this._valueListService=g(Pi),this._tenantStateService=g(pt),this._tenantService=g(ds),this._uiService=g(He),this._router=g(De),this._changeDetectorRef=g(Be),this._dataHubService=g(Sc),this._helpService=g(Sn),this._languageStorageService=g(ho),this._announcementService=g(bc),this._hostedFileService=g(_o),this._hostedFilePresignedUrlService=g(Ii),this._localStorageHelperService=g(ls),this._titleService=g(Qr),this._appUpdateService=g(yc),this.isLoggedIn=!1,this.isLogoutPossible=!1,this.showAnnouncement=!1,this.currentLanguage="de",this.hasHostingModule=!1,this.isOrderManagementEnabled=!0,this._componentActive=!0,this._globalObserver=null,this._appUpdateService.initializeNavigationUpdateCheck()}unloadNotification(e){this.isHostingModuleUploading&&(e.preventDefault(),e.returnValue=!0)}ngOnInit(){this.backdropShown$=this._uiService.backdropShown$,this.initializeH1Observation(),this._announcementService.loadAnnouncementInfo().subscribe({next:a=>{a&&(this.announcementInfo=a)}}),this._languageStorageService.currentLanguage$.subscribe(a=>{this.currentLanguage=a}),this._router.events.pipe(Cr(1),it(a=>a instanceof es),Oe(()=>this._componentActive)).subscribe(()=>{this._uiService.hideSpinner(),this.showAnnouncement=!1,this.scrollToTop()});let e=this._authService.loggedIn$.pipe(ei()),i=this._authService.userInfo$.pipe(ei());Zn([e,i]).pipe(ei(),Hi(([a,m])=>{if(a){let{userAccountId:f,forename:v,surname:E,username:F,tenantId:P,logoutOption:z,external:q,layoutLanguage:N,usedLoginMethod:U}=m,Fe=[dt.ADMIN,dt.STANDARD],Ge=[dt.EDITOR,dt.ORDER_MANAGER,dt.READ_AND_REQUEST],{baseUrl:We,extension:ut}=this._configService.baseConfig,tt=`${We}${ut}/roles/current/name`;if(this._httpClient.get(tt).pipe(he(Tt=>{let Rt=Tt.filter(at=>Ge.toString().includes(at)),ot=Tt.filter(at=>Fe.toString().includes(at));ot.includes(dt.ADMIN)?this.userRoles=[dt.ADMIN]:ot.includes(dt.STANDARD)?Rt.length>0?this.userRoles=Rt:this.userRoles=[dt.STANDARD]:this.userRoles=Tt})).subscribe(),this.fullName=`${v} ${E}`,this.username=F,f)return this._languageStorageService.initializeLanguage(N),this._websocketService.connect(f),this._orderManagementService.refreshOrderCountSummary(),this._tenantStateService.getTenantData(P).pipe(Hi(Tt=>(Tt&&(this.tenantKey=Tt.tenantKey,localStorage.setItem(Gt,this.tenantKey),this.isLoggedIn=a,this.hasHostingModule=this._authService.currentTokenDecoded.hasHostingModule,this.tenantType$=this._tenantService.getTenantType(Tt.id),this.isLogoutPossible=q||z!==as.LOGOUT_DISABLED||U===os.PASSWORD_LOGIN),qe)),Pn())}else this.isLoggedIn=a,this.isLogoutPossible=!1,this._changeDetectorRef.detectChanges(),this._tenantStateService.clearTenantData(),this._orderManagementService.clearOrders(),this._metadataFieldsService.clearMetadataCache(),this._valueListService.clearValueListCache(),this._websocketService.closeConnection();return qe}),Le(()=>qe),Oe(()=>this._componentActive)).subscribe(),this._tenantStateService.tenant$.pipe(Oe(()=>this._componentActive)).subscribe(a=>{a&&(this.isOrderManagementEnabled=a.isOrderManagementEnabled)}),this.appVersionNumber$=e.pipe(Ne(a=>a?this._helpService.getReleaseNotes(!0).pipe(be(m=>m?.length?ae.sortObjectsInArrayByDate(m,"date")[0].sectionHeaderDe:"")):qe),Oe(()=>this._componentActive)),this.metadataVersion$=e.pipe(Ne(a=>a?this._dataHubService.getMetadataVersion():qe),Oe(()=>this._componentActive));let n=this._localStorageHelperService.getArray(cn.HOSTING_EXPLORER_CURRENTLY_UPLOADING);n.length>0&&this._hostedFileService.setMultipleStatus(n.map(a=>({hostedFileId:a,status:ht.UPLOAD_FAILED}))).subscribe(a=>{this._localStorageHelperService.removeStringsFromArray(cn.HOSTING_EXPLORER_CURRENTLY_UPLOADING,a.filter(m=>m.isSuccess).map(m=>m.hostedFileId))}),this.isLoggedIn&&this._authService.currentTokenDecoded?.hasHostingModule&&(this._hostedFileService.cancelAllNewUploadsForUser().subscribe({}),this._localStorageHelperService.getArray(cn.UNPROCESSED_FILE_NAMES).length>0&&this._hostedFileService.createAsCancelled(this._localStorageHelperService.getArray(cn.UNPROCESSED_FILE_NAMES)).subscribe(a=>{this._localStorageHelperService.removeStringsFromArray(cn.UNPROCESSED_FILE_NAMES,a)}))}ngAfterViewInit(){this._router.events.subscribe(()=>{setTimeout(()=>{let e=this.mainDiv.nativeElement.querySelector("h1");if(e){let i=e.textContent.trim();i.length>0?this._titleService.setTitle(`Nautos: ${i}`):this.checkForH1Element(10,500)}else this.checkForH1Element(10,500)},0)}),this.checkForH1Element(10,500),this._languageStorageService.currentLanguage$.subscribe(()=>{this.checkForH1Element(10,500)})}toggleAnnouncement(e){this.showAnnouncement=e,setTimeout(()=>{this.relocateIframe()},0)}ngOnDestroy(){this._componentActive=!1,this._globalObserver&&(this._globalObserver.disconnect(),this._globalObserver=null)}scrollToTop(){this.mainDiv?.nativeElement?.scrollTo(0,0)}relocateIframe(){let e=document.querySelector(".container-announcement"),i=0;e&&(i=e.clientHeight);let n=i+64,a=v=>{v&&(v.style.height=`calc(100% - ${n}px)`,v.style.top=`${n}px`)},m=document.querySelector(".context-wrapper");m instanceof HTMLElement&&a(m);let f=document.querySelector(".context-iframe");f instanceof HTMLElement&&a(f)}initializeH1Observation(){this._globalObserver=new MutationObserver(e=>{for(let i of e)i.type==="characterData"&&setTimeout(()=>{let n=this.mainDiv.nativeElement.querySelector("h1");if(n){let a=n.textContent.trim();this._titleService.setTitle(`Nautos: ${a}`)}},0)}),this._globalObserver.observe(document.body,{childList:!0,characterData:!0,subtree:!1}),setTimeout(()=>{this.mainDiv.nativeElement.querySelector("h1")||(this._globalObserver.disconnect(),this._titleService.setTitle(jt))},5e3)}checkForH1Element(e,i){setTimeout(()=>{let n=this.mainDiv.nativeElement.querySelector("h1");if(n){let a=n.textContent.trim();this._titleService.setTitle(`${jt}: ${a}`)}else e>0?(this._titleService.setTitle(jt),this.checkForH1Element(e-1,i)):this._titleService.setTitle(jt)},i)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-root"]],viewQuery:function(i,n){if(i&1&&le($u,5)(ju,5),i&2){let a;Y(a=Z())&&(n.mainDiv=a.first),Y(a=Z())&&(n.anncouncementInfo=a.first)}},hostBindings:function(i,n){i&1&&y("beforeunload",function(m){return n.unloadNotification(m)},Xn)},standalone:!1,decls:16,vars:28,consts:[["main",""],["announcementInfoRef",""],[1,"container-app"],[3,"showAnnouncement","announcementInfo","currentLanguage"],[3,"fullName","username","userRoles","tenantKey","isLoggedIn","hasHostingModule","isOrderManagementEnabled","isHostingModuleUploading","isLogoutPossible","ver
1sionNumber","metadataVersion","tenantType"],[3,"ngClass"],[1,"content",3,"ngClass"],[3,"toggleAnnouncement","showAnnouncement","announcementInfo","currentLanguage"]],template:function(i,n){i&1&&(l(0,"div",2)(1,"header"),C(2,Wu,2,3,"app-announcement",3),w(3,"app-header",4),d(4,"async"),d(5,"async"),d(6,"async"),s(),l(7,"main")(8,"aside",5),w(9,"app-sidebar"),s(),l(10,"article")(11,"div",6,0),w(13,"router-outlet"),s(),w(14,"div",5),d(15,"async"),s()()()),i&2&&(r(2),b(n.announcementInfo?2:-1),r(),_("fullName",n.fullName)("username",n.username)("userRoles",n.userRoles)("tenantKey",n.tenantKey)("isLoggedIn",n.isLoggedIn)("hasHostingModule",n.hasHostingModule)("isOrderManagementEnabled",n.isOrderManagementEnabled)("isHostingModuleUploading",n.isHostingModuleUploading)("isLogoutPossible",n.isLogoutPossible)("versionNumber",u(4,16,n.appVersionNumber$))("metadataVersion",u(5,18,n.metadataVersion$))("tenantType",u(6,20,n.tenantType$)),r(5),_("ngClass",Ce(24,Gu,!n.isLoggedIn)),r(3),_("ngClass",n.isLoggedIn?"logged-in":"logged-out"),r(3),_("ngClass",Ce(26,Ku,u(15,22,n.backdropShown$))))},dependencies:[ze,is,Yo,Zo,Xo,ct],styles:[".container-app[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.container-app[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]{z-index:1000}.container-app[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]{display:flex;overflow:hidden}.container-app[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]{background-color:light-dark(var(--color-gray-medium),var(--color-input));flex:0 0 4rem;height:100vh;z-index:999}.container-app[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column}.container-app[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{overflow:auto}.container-app[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]   .content.logged-in[_ngcontent-%COMP%]{max-width:calc(100vw - var(--spacer) * 4);min-height:32rem;padding:calc(var(--spacer) * 3)}@media(width<=62rem){.container-app[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]   .content.logged-in[_ngcontent-%COMP%]{padding:calc(var(--spacer) * 2)}}@media(width<=48rem){.container-app[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]   .content.logged-in[_ngcontent-%COMP%]{padding:var(--spacer)}}.container-app[_ngcontent-%COMP%]   main[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]   .content.logged-out[_ngcontent-%COMP%]{padding:calc(var(--spacer) * 3) var(--spacer)}"]})}}return t})();var Qu=(()=>{class t{constructor(){this._httpClient=g(li)}getTranslation(e){return this._httpClient.get(`/assets/translations/${e}.json`)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=ye({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Mc=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=vt({type:t})}static{this.\u0275inj=gt({providers:[ss({config:{availableLangs:["de","en","fr"],defaultLang:"de",fallbackLang:["en"],reRenderOnLangChange:!0,prodMode:ns.production,missingHandler:{logMissingKey:!1}},loader:Qu})],imports:[$]})}}return t})();var kc=[{path:"login",loadComponent:()=>import("./chunk-IUFDZK2G.js").then(t=>t.LoginComponent)},{path:":tenant/login",loadComponent:()=>import("./chunk-IUFDZK2G.js").then(t=>t.LoginComponent)},{path:":tenant/login/:loginMode",loadComponent:()=>import("./chunk-IUFDZK2G.js").then(t=>t.LoginComponent)},{path:":tenant/login/:loginMode/:samlTokenHash",loadComponent:()=>import("./chunk-IUFDZK2G.js").then(t=>t.LoginComponent)},{path:":tenant/login/error/:errorCode",loadComponent:()=>import("./chunk-IUFDZK2G.js").then(t=>t.LoginComponent)},{path:":tenant/logout",loadComponent:()=>import("./chunk-RJNYGXF5.js").then(t=>t.LogoutComponent)},{path:":tenant/sign-up/forgot-password",loadComponent:()=>import("./chunk-PNBRC7IR.js").then(t=>t.ForgotPasswordComponent)},{path:":tenant/sign-up/invitation/:invitationId",loadComponent:()=>import("./chunk-G3LWKNGG.js").then(t=>t.SetPasswordComponent)},{path:"supportlogin/:token",loadComponent:()=>import("./chunk-HDLGG276.js").then(t=>t.SupportLoginComponent)}];var Fc=[{path:":tenant/dashboard",canActivate:[ke],loadComponent:()=>import("./chunk-RUPZGC3Y.js").then(t=>t.DashboardComponent)},{path:":tenant/news",canActivate:[ke],loadComponent:()=>import("./chunk-J6YL6T56.js").then(t=>t.CustomerNotificationsComponent)},{path:":tenant/releases",canActivate:[ke],loadComponent:()=>import("./chunk-TLWDFRLY.js").then(t=>t.ReleaseNotesComponent)},{path:":tenant/notification-center",canActivate:[ke],loadComponent:()=>import("./chunk-KOQCRVJH.js").then(t=>t.NotificationCenterComponent)}];var Xa=(()=>{class t{constructor(){this._tenantStateService=g(pt)}canMatch(){return this._tenantStateService.tenant$.pipe(it(e=>e!=null),ve(1),be(e=>!!e?.isOrderReleaseEnabled),Le(()=>st(!1)))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=ye({token:t,factory:t.\u0275fac})}}return t})();var Lc=[{path:":tenant/orders",loadComponent:()=>import("./chunk-TNHS5E7X.js").then(t=>t.OrderManagementRoutingComponent),children:[{path:"",redirectTo:"shopping-cart",pathMatch:"full"},{path:"shopping-cart",canActivate:[ke],loadComponent:()=>import("./chunk-5JZPC27C.js").then(t=>t.OrderTableComponent),data:{permissions:[M.SHOPPING_CART_PANEL,M.READ_ORDERS]}},{path:"requested",canActivate:[ke],loadComponent:()=>import("./chunk-5JZPC27C.js").then(t=>t.OrderTableComponent),data:{permissions:[M.REQUESTED_PANEL,M.READ_ORDERS]}},{path:"released",canMatch:[Xa],providers:[Xa],canActivate:[ke],loadComponent:()=>import("./chunk-5JZPC27C.js").then(t=>t.OrderTableComponent),data:{permissions:[M.RELEASE_ORDER_MANAGER,M.READ_ORDERS]}},{path:"ordered",canActivate:[ke],loadComponent:()=>import("./chunk-5JZPC27C.js").then(t=>t.OrderTableComponent),data:{permissions:[M.ORDERED_PANEL,M.READ_ORDERS]}},{path:"delivered",canActivate:[ke],loadComponent:()=>import("./chunk-5JZPC27C.js").then(t=>t.OrderTableComponent),data:{permissions:[M.DELIVERED_PANEL,M.READ_ORDERS]}}]}];var Yu=[...kc,...Fc,...Lc,{path:"oauth2login",component:pl,pathMatch:"full"},{path:":tenant",children:[{path:"faq",loadComponent:()=>import("./chunk-OVSG4KPK.js").then(t=>t.FaqComponent),canActivate:[ke]},{path:"demo",loadChildren:()=>import("./chunk-ZUTJBIDY.js").then(t=>t.UiDemoModule)},{path:"favorites-management",loadChildren:()=>import("./chunk-YFMMHLMU.js").then(t=>t.FavoritesManagementModule)},{path:"favorites-management/:favoriteFolderId/:folderType",loadChildren:()=>import("./chunk-YFMMHLMU.js").then(t=>t.FavoritesManagementModule)},{path:"observation",loadChildren:()=>import("./chunk-ZNUPDYWY.js").then(t=>t.ObservationModule)},{path:"exports",canActivate:[ke],loadComponent:()=>import("./chunk-ZDRXD4WD.js").then(t=>t.ExportsComponent),data:{permissions:[M.DOWNLOAD_PANEL]}},{path:"my-documents",loadComponent:()=>import("./chunk-CNCTXNYT.js").then(t=>t.DocumentOwnershipComponent)},{path:"**",component:fa}]},{path:"**",component:fa}],Pc=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=vt({type:t})}static{this.\u0275inj=gt({imports:[fi.forRoot(Yu,{enableTracing:!1,paramsInheritanceStrategy:"always",anchorScrolling:"enabled",scrollOffset:[0,64],scrollPositionRestoration:"disabled"}),fi]})}}return t})();
1function Zu(t,o){if(t&1){let e=I();l(0,"button",12),y("click",function(){S(e);let n=c();return x(n.resetAllFilters())}),p(1),d(2,"transloco"),s()}t&2&&(r(),D(" ",u(2,1,"common.reset")," "))}var Ac=(()=>{class t{constructor(){this.documentFilter={},this.filterClose=new K,this.resetFilter=new K,this.filter=new K,this.isFiltered=!1}ngOnInit(){this.form=new xt({fileName:new Me(this.documentFilter?.fileName?this.documentFilter.fileName:"")}),this.isFiltered=this.checkFilterHasValue(this.documentFilter)}filterOnEnter(e){e.key==="Enter"&&this.onFilter()}onFilter(){let e={fileName:this.form.get("fileName").value};this.checkFilterHasValue(e)&&(this.isFiltered=!0),this.filter.emit(e),this.filterClose.emit()}onFilterClose(){this.filterClose.emit()}resetAllFilters(){this.form.reset(),this.resetFilter.emit()}checkFilterHasValue(e){return!!(e&&Object.values(e).join(""))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-hosting-explorer-filter"]],inputs:{documentFilter:"documentFilter"},outputs:{filterClose:"filterClose",resetFilter:"resetFilter",filter:"filter"},decls:20,vars:18,consts:[[1,"filter",3,"formGroup"],[1,"filter-header"],["data-cy","filterTitle",1,"title"],["type","button","data-cy","resetFilter",1,"btn-filter-reset"],["type","button",1,"btn-filter-close",3,"click","ngbTooltip"],["name","cross","data-cy","iconCloseFilter"],[1,"filter-body"],[1,"field"],["for","filter-file-name"],["id","filter-file-name","type","text","formControlName","fileName","data-cy","filterFileName",3,"keydown","appAutoFocus"],[1,"filter-footer"],["type","button","data-cy","applyFilter",1,"btn-primary-outline",3,"click"],["type","button","data-cy","resetFilter",1,"btn-filter-reset",3,"click"]],template:function(i,n){i&1&&(l(0,"form",0)(1,"div",1)(2,"span",2),p(3),d(4,"transloco"),s(),C(5,Zu,3,3,"button",3),l(6,"button",4),d(7,"transloco"),d(8,"transloco"),y("click",function(){return n.onFilterClose()}),w(9,"app-icon",5),s()(),l(10,"div",6)(11,"div",7)(12,"label",8),p(13),d(14,"transloco"),s(),l(15,"input",9),y("keydown",function(m){return n.filterOnEnter(m)}),s()()(),l(16,"div",10)(17,"button",11),y("click",function(){return n.onFilter()}),p(18),d(19,"transloco"),s()()()),i&2&&(_("formGroup",n.form),r(3),h(u(4,8,"common.table.filter")),r(2),b(n.isFiltered?5:-1),r(),_("ngbTooltip",u(7,10,"common.table.close_filter")),k("aria-label",u(8,12,"common.table.close_filter")),r(7),h(u(14,14,"common.file_name")),r(2),_("appAutoFocus",!0),r(3),D(" ",u(19,16,"common.apply")," "))},dependencies:[pi,G,te,Je,Ze,Ye,fe,Ie,je,$e,$,B],encapsulation:2})}}return t})();var Nc=(()=>{class t{constructor(){this.modalService=g(X),this._translocoService=g(Q),this._baseLanguages=vi,this._additionalLanguages=gi,this._selectableBaseLanguages=Object.keys(vi),this._selectableAdditionalLanguages=Object.keys(gi),this._fileTypeOptions=Object.keys(bn),this._allTypes=bn,this.documentMetadata={description:"",language:null,documentType:null}}ngOnInit(){let e=this._selectableBaseLanguages.map(n=>({text:this._translocoService.translate("common.languages."+this._baseLanguages[n]),value:n,disabled:!1})),i=this._selectableAdditionalLanguages.map(n=>({text:this._translocoService.translate("common.languages."+this._additionalLanguages[n]),value:n,disabled:!1})).sort((n,a)=>n.text.localeCompare(a.text));this.languageOptions=e.concat(i),this.documentTypeOptions=this._fileTypeOptions.map(n=>({text:this._allTypes[n],value:n,disabled:!1})),this.documentMetadata.description=this.getDocumentDescription(),this.documentMetadata.language=this.languageOptions[0].value,this.documentMetadata.documentType=this.documentTypeOptions[0].value}onLanguageSelected(e){this.documentMetadata.language=e}onDocumentTypeSelected(e){this.documentMetadata.documentType=e}onSave(){return this.modalService.close(this.documentMetadata)}getDocumentDescription(){return this.documentNumber!==""&&this.dateOfIssue!==""?`${this.documentNumber} (${this.dateOfIssue})`:""}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-document-properties-modal"]],inputs:{fileName:"fileName",documentNumber:"documentNumber",dateOfIssue:"dateOfIssue"},decls:29,vars:22,consts:[[3,"border","modalTitle"],[1,"modal-body"],[1,"content-row"],[1,"label"],["data-cy","fileName"],["for","description"],["id","description","data-cy","description",3,"ngModelChange","ngModel"],["for","language",1,"mandatory"],["id","language","data-cy","language",3,"itemSelected","items","itemsVisible"],["for","documentType",1,"mandatory"],["id","documentType","data-cy","documentType",3,"itemSelected","items","itemsVisible"],[3,"cancelButtonClick","saveButtonClick"]],template:function(i,n){i&1&&(w(0,"app-modal-header",0),l(1,"div",1)(2,"div",2)(3,"span",3),p(4),d(5,"transloco"),s(),l(6,"div")(7,"span",4),p(8),d(9,"transloco"),s()()(),l(10,"div",2)(11,"label",5),p(12),d(13,"transloco"),s(),l(14,"div")(15,"textarea",6),Te("ngModelChange",function(m){return we(n.documentMetadata.description,m)||(n.documentMetadata.description=m),m}),s()()(),l(16,"div",2)(17,"label",7),p(18),d(19,"transloco"),s(),l(20,"div")(21,"app-select",8),y("itemSelected",function(m){return n.onLanguageSelected(m)}),s()()(),l(22,"div",2)(23,"label",9),p(24),d(25,"transloco"),s(),l(26,"div")(27,"app-select",10),y("itemSelected",function(m){return n.onDocumentTypeSelected(m)}),s()()()(),l(28,"app-modal-footer",11),y("cancelButtonClick",function(){return n.modalService.dismiss()})("saveButtonClick",function(){return n.onSave()}),s()),i&2&&(_("border",!0)("modalTitle","licenses.hosting_explorer.edit_document_link"),r(4),h(u(5,12,"search.document_upload.link_hosted")),r(4),h(u(9,14,n.fileName)),r(4),h(u(13,16,"common.description")),r(3),xe("ngModel",n.documentMetadata.description),r(3),h(u(19,18,"common.language")),r(3),_("items",n.languageOptions)("itemsVisible",10),r(3),h(u(25,20,"common.document_type")),r(3),_("items",n.documentTypeOptions)("itemsVisible",10))},dependencies:[Qt,Ye,fe,Wt,Xe,et,oe,$,Ft,B],styles:[".content-row[_ngcontent-%COMP%]{display:flex}.content-row[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], .content-row[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{flex:1;display:inline}.content-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{flex:2}"]})}}return t})();var Ju=t=>({fileTypesList:t});function Xu(t,o){if(t&1&&(l(0,"span"),p(1),d(2,"transloco"),s()),t&2){let e=c();r(),D(" ",J(2,1,"search.document_upload.allowed_file_types",Ce(4,Ju,e.allowedFileExtensions.join(", ")))," ")}}var Oc=(()=>{class t{constructor(){this._activeModal=g(vo),this.modalService=g(X),this.fileSizeLimitMb=2048,this.save=new K,this.files=[],this._allFilesValid=!1,this.associatedFileTypeDto=Qe}ngOnInit(){this.allowedFileExtensions=rs}onChangeSelectedFile(e){e.length>0&&(this.errorMessage=""),this.files=e}onSave(){if(this.files.length<1){this.errorMessage="licenses.hosting_explorer.error_no_files_selected";return}if(!this._allFilesValid){this.errorMessage="licenses.hosting_explorer.error_remove_faulty_files";return}this.errorMessage="",this.save.emit(this.files),this._activeModal.close()}onErrorOccured(e){this._allFilesValid=!e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-hosted-file-upload-modal"]],outputs:{save:"save"},decls:22,vars:20,consts:[["infoTip",""],["modalTitle","licenses.hosting_explorer.upload_files",3,"border"],[1,"modal-body"],[1,"box-info"],[1,"box-title"],["data-cy","box-content"],[1,"upload-header"],["for","fileUpload",1,"label-bold"],["name","info","data-cy","allowedFileTypes",1,"icon-cl
1ickable",3,"ngbTooltip"],[3,"selectedFileChanged","errorOccurred","showFileSizes","fileSizeLimitInMB","canAddMultipleFiles","allowedFileExtensions"],["data-cy","errorMessage",1,"text-alert"],["saveButtonText","common.upload",3,"cancelButtonClick","saveButtonClick","border"]],template:function(i,n){if(i&1&&(w(0,"app-modal-header",1),l(1,"div",2)(2,"div",3)(3,"p",4),p(4),d(5,"transloco"),s(),l(6,"p",5),p(7),d(8,"transloco"),s()(),l(9,"div",6)(10,"p",7),p(11),d(12,"transloco"),s(),w(13,"app-icon",8),s(),l(14,"div")(15,"app-file-upload",9),y("selectedFileChanged",function(m){return n.onChangeSelectedFile(m)})("errorOccurred",function(m){return n.onErrorOccured(m)}),s(),l(16,"p",10),p(17),d(18,"transloco"),s()()(),l(19,"app-modal-footer",11),y("cancelButtonClick",function(){return n.modalService.dismiss()})("saveButtonClick",function(){return n.onSave()}),s(),T(20,Xu,3,6,"ng-template",null,0,L)),i&2){let a=V(21);_("border",!0),r(4),h(u(5,12,"common.hint")),r(3),h(u(8,14,"licenses.hosting_explorer.document_protected")),r(4),h(u(12,16,"licenses.hosting_explorer.file_upload")),r(2),_("ngbTooltip",a),k("aria-label",a),r(2),_("showFileSizes",!0)("fileSizeLimitInMB",n.fileSizeLimitMb)("canAddMultipleFiles",!0)("allowedFileExtensions",n.allowedFileExtensions),r(2),h(u(18,18,n.errorMessage)),r(2),_("border",!0)}},dependencies:[Ls,G,Xe,et,te,$,B],styles:[".modal-body[_ngcontent-%COMP%]{gap:0}.modal-body[_ngcontent-%COMP%]   .upload-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:calc(var(--spacer) / 2)}"]})}}return t})();var e_=["newFileNameInput"],t_=t=>({"validation-error":t});function i_(t,o){if(t&1&&(l(0,"p",10),p(1),d(2,"transloco"),s()),t&2){let e=c();r(),D(" ",u(2,1,e.errorMessageTranslationKey)," ")}}var Rc=(()=>{class t{constructor(){this.modalService=g(X),this._translocoService=g(Q),this.fileExtension="",this.errorMessageTranslationKey=null,this.decision=new K}set oldFileName(e){this._oldFileName=e,this.newFileName=e}get fileNameWithExtension(){return this._oldFileName+this.fileExtension}ngAfterViewInit(){this.input.nativeElement.focus(),setTimeout(()=>this.input.nativeElement.select(),100)}onFileNameChanged(){this.errorMessageTranslationKey=null}validateFileName(){if(this._oldFileName===this.newFileName.trim()){this.errorMessageTranslationKey="licenses.hosting_explorer.error_filenames_identical";return}if(this.newFileName.trim()===""){this.errorMessageTranslationKey="common.please_fill_this_field";return}if(this.newFileName.length>256){this.errorMessageTranslationKey="licenses.hosting_explorer.error_maximum_characters_error";return}let e=[];if(this.forbiddenCharacters.forEach(i=>{this.newFileName.includes(i)&&e.push(i)}),e.length>0){this.errorMessageTranslationKey=this._translocoService.translate("licenses.hosting_explorer.error_filename_forbidden_characters",{forbiddenCharacters:e.join(", ")});return}this.newFileName&&this.modalService.close(this.newFileName)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-rename-hosted-file-modal"]],viewQuery:function(i,n){if(i&1&&le(e_,5),i&2){let a;Y(a=Z())&&(n.input=a.first)}},inputs:{forbiddenCharacters:"forbiddenCharacters",oldFileName:"oldFileName",fileExtension:"fileExtension"},outputs:{decision:"decision"},decls:18,vars:16,consts:[["newFileNameInput",""],["modalTitle","licenses.hosting_explorer.rename_file"],[1,"modal-body"],[1,"rename-text"],["data-cy","confirmText"],["data-cy","fileName",1,"text-bold"],[1,"search-field"],["for","new-file-name",1,"mandatory"],["id","new-file-name","data-cy","newFileName","type","text",1,"file-name-input",3,"ngModelChange","input","appAutoFocus","ngModel"],["data-cy","fileType",1,"file-extension"],["data-cy","errorMessage",1,"text-alert"],[3,"cancelButtonClick","saveButtonClick","border"]],template:function(i,n){if(i&1){let a=I();w(0,"app-modal-header",1),l(1,"div",2)(2,"div",3)(3,"p",4),p(4),d(5,"transloco"),s(),l(6,"p",5),p(7),s()(),l(8,"div",6)(9,"label",7),p(10),d(11,"transloco"),s(),l(12,"input",8,0),Te("ngModelChange",function(f){return S(a),we(n.newFileName,f)||(n.newFileName=f),x(f)}),y("input",function(){return n.onFileNameChanged()}),s(),l(14,"span",9),p(15),s(),C(16,i_,3,3,"p",10),s()(),l(17,"app-modal-footer",11),y("cancelButtonClick",function(){return n.modalService.dismiss()})("saveButtonClick",function(){return n.validateFileName()}),s()}i&2&&(r(4),h(u(5,10,"licenses.hosting_explorer.rename_text")),r(3),h(n.fileNameWithExtension),r(3),h(u(11,12,"common.file_name")),r(2),hi(Ce(14,t_,n.errorMessageTranslationKey!==null)),_("appAutoFocus",!0),xe("ngModel",n.newFileName),r(3),h(n.fileExtension),r(),b(n.errorMessageTranslationKey!==null?16:-1),r(),_("border",!1))},dependencies:[pi,Qt,Ye,fe,Wt,Xe,et,$,B],styles:[".rename-text[_ngcontent-%COMP%]{margin-bottom:var(--spacer)}.search-field[_ngcontent-%COMP%]{position:relative}.search-field[_ngcontent-%COMP%]   .file-extension[_ngcontent-%COMP%]{position:absolute;right:var(--spacer);bottom:10px}.search-field[_ngcontent-%COMP%]   .file-name-input[_ngcontent-%COMP%]{padding-right:calc(var(--spacer) * 3)}"]})}}return t})();var n_=["hostedFilesTable"],o_=t=>({count:t});
1function a_(t,o){if(t&1){let e=I();l(0,"div",26)(1,"button",27),d(2,"transloco"),d(3,"transloco"),y("click",function(){S(e);let n=c(2);return x(n.onTableMenuAction(n.menuAction.LINK))}),w(4,"app-icon",28),s(),l(5,"button",29),d(6,"transloco"),y("click",function(){S(e);let n=c(2);return x(n.onTableMenuAction(n.menuAction.EDIT))}),w(7,"app-icon",30),s(),l(8,"button",31),d(9,"transloco"),d(10,"transloco"),y("click",function(){S(e);let n=c(2);return x(n.onTableMenuAction(n.menuAction.DELETE))}),w(11,"app-icon",32),s()()}if(t&2){let e=c(2);r(),_("disabled",e.isMultipleRowsSelected||!e.isSelectedItemDone)("ngbTooltip",u(2,8,"licenses.hosting_explorer.link_files")),k("aria-label",u(3,10,"licenses.hosting_explorer.link_files")),r(4),_("disabled",e.isMultipleRowsSelected||!e.isSelectedItemDone)("ngbTooltip",u(6,12,"licenses.hosting_explorer.rename_file")),r(3),_("disabled",e.isEverySelectedHostedFileNotFinished)("ngbTooltip",u(9,14,"licenses.hosting_explorer.delete_hosted_files")),k("aria-label",u(10,16,"licenses.hosting_explorer.delete_hosted_files"))}}function r_(t,o){if(t&1){let e=I();l(0,"button",37),d(1,"transloco"),d(2,"transloco"),y("click",function(){S(e);let n=c(3);return x(n.onCsvExport())}),w(3,"app-icon",38),s()}t&2&&(_("ngbTooltip",u(1,2,"common.export.title_text")),k("aria-label",u(2,4,"common.export.title_text")))}function s_(t,o){if(t&1){let e=I();l(0,"button",39),d(1,"transloco"),d(2,"transloco"),y("click",function(){S(e);let n=c(3);return x(n.onCsvImport())}),w(3,"app-icon",40),s()}t&2&&(_("ngbTooltip",u(1,2,"licenses.hosting_explorer.import_title")),k("aria-label",u(2,4,"licenses.hosting_explorer.import_title")))}function l_(t,o){if(t&1){let e=I();l(0,"div",26)(1,"button",33),d(2,"transloco"),d(3,"transloco"),y("click",function(){S(e);let n=c(2);return x(n.onTableMenuAction(n.menuAction.UPLOAD_HOSTED_FILES))}),w(4,"app-icon",34),s(),T(5,r_,4,6,"button",35)(6,s_,4,6,"button",36),s()}if(t&2){let e=c(2);r(),_("ngbTooltip",u(2,4,"licenses.hosting_explorer.upload_files")),k("aria-label",u(3,6,"licenses.hosting_explorer.upload_files")),r(4),_("permissions",e.permissions.EXPORT_CSV_ADMIN),r(),_("permissions",e.permissions.EXPORT_CSV_ADMIN)}}function c_(t,o){if(t&1){let e=I();l(0,"div",12)(1,"app-table-menu",23,3)(3,"div",24),T(4,a_,12,18,"ng-template",null,4,L)(6,l_,7,8,"ng-template",null,5,L),s()(),l(8,"app-pagination",25),y("pageChange",function(n){S(e);let a=c();return x(a.onPageChange(n))}),s()()}if(t&2){let e=V(2),i=c(),n=V(14);r(),_("appTable",n),r(7),_("collectionSize",i.totalCount)("page",i.pageNumber)("tableMenu",e)("pageSize",i.pageSize)}}function d_(t,o){if(t&1){let e=I();l(0,"app-hosting-explorer-filter",43),y("filterClose",function(){S(e),c();let n=V(1);return x(n.close())})("filter",function(n){S(e);let a=c(2);return x(a.onFilter(n))})("resetFilter",function(){S(e);let n=c(2);return x(n.onResetFilters())}),s()}if(t&2){let e=c(2);_("documentFilter",e.filter)}}function p_(t,o){if(t&1&&(l(0,"button",41,6),d(2,"transloco"),w(3,"app-icon",42),T(4,d_,1,1,"ng-template",null,7,L),s()),t&2){let e=V(5),i=c();
1_("ngbPopover",e),k("aria-label",u(2,3,"common.table.open_filter")),r(3),_("ngClass",i.isFiltered?"icon-filter-active":"icon-filter-inactive")}}function m_(t,o){if(t&1){let e=I();l(0,"div",44)(1,"button",45),d(2,"transloco"),d(3,"transloco"),y("click",function(){S(e);let n=c().item,a=c();return x(a.downloadHostedFile(n))}),w(4,"app-icon",46),s(),l(5,"button",47),d(6,"transloco"),d(7,"transloco"),y("click",function(){S(e);let n=c().item,a=c();return x(a.linkHostedFilesToMetadata(n))}),w(8,"app-icon",28),s()()}t&2&&(r(),_("ngbTooltip",u(2,4,"common.file_download")),k("aria-label",u(3,6,"common.file_download")),r(4),_("ngbTooltip",u(6,8,"licenses.hosting_explorer.link_file")),k("aria-label",u(7,10,"licenses.hosting_explorer.link_file")))}function u_(t,o){if(t&1&&C(0,m_,9,12,"div",44),t&2){let e=o.item,i=c();b(e.status===i.hostedFileStatus.DONE?0:-1)}}function __(t,o){if(t&1&&(l(0,"span",48),p(1),s()),t&2){let e=o.item;r(),h(e.fileName)}}function h_(t,o){if(t&1&&(l(0,"span",49),p(1),d(2,"uppercase"),s()),t&2){let e=o.item;r(),h(u(2,1,e.fileExtension))}}function f_(t,o){if(t&1&&(l(0,"span",50),p(1),s()),t&2){let e=o.item,i=c();r(),h(i.fileSizeUtils.formatFileSize(e.fileSize))}}function g_(t,o){if(t&1&&(l(0,"span",51),p(1),d(2,"date"),s()),t&2){let e=o.item;r(),h(J(2,1,e.uploaded,"dd.MM.yyy - HH:mm"))}}function v_(t,o){t&1&&w(0,"app-icon",52)}function C_(t,o){t&1&&w(0,"app-icon",53)}function b_(t,o){if(t&1&&(l(0,"span",44),C(1,v_,1,0,"app-icon",52)(2,C_,1,0,"app-icon",53),l(3,"span",54),p(4),d(5,"transloco"),s()()),t&2){let e=o.item,i=c();r(),b(i.getLinkedMetadataAmount(e)>0?1:2),r(3),h(u(5,2,i.getLinkedStatus(e)))}}function y_(t,o){t&1&&w(0,"app-icon",56)}function S_(t,o){t&1&&w(0,"app-icon",57)}function x_(t,o){t&1&&w(0,"app-icon",58)}function w_(t,o){if(t&1&&(l(0,"span",55),C(1,y_,1,0,"app-icon",56)(2,S_,1,0,"app-icon",57)(3,x_,1,0,"app-icon",58),l(4,"span",59),p(5),d(6,"transloco"),s()()),t&2){let e=o.item,i=c();r(),b(e.status===i.hostedFileStatus.DONE?1:e.status===i.hostedFileStatus.UPLOAD_FAILED||e.status===i.hostedFileStatus.VALIDATION_FAILED||e.status===i.hostedFileStatus.TIMEOUT_FAILED?2:e.status===i.hostedFileStatus.UPLOADING||e.status===i.hostedFileStatus.VALIDATING||e.status===i.hostedFileStatus.NONE||e.status===i.hostedFileStatus.NEW?3:-1),r(4),h(u(6,2,i.getStatusLanguageString(e.status)))}}function T_(t,o){if(t&1&&(l(0,"div",22),w(1,"app-icon",60),l(2,"p",61),p(3),d(4,"transloco"),d(5,"transloco"),s()()),t&2){let e=c();r(3),D(" ",e.isFiltered?u(4,1,"licenses.hosting_explorer.no_files_found"):u(5,3,"licenses.hosting_explorer.no_files_uploaded")," ")}}var Bc=(()=>{class t{constructor(){this._licenseManagementConfig=g(Jt),this._authService=g(Pe),this._feedbackService=g(Ke),this._hostedFilePresignedUrlService=g(Ii),this._hostedFileService=g(_o),this._modalService=g(X),this._translocoService=g(Q),this._uiService=g(He),this._documentAccessService=g(Et),this.filter={},this.hostedFileRows=[],this.isFiltered=!1,this.menuAction=vn,this.pageNumber=this._licenseManagementConfig.defaultPage,this.pageSize=this._licenseManagementConfig.defaultPerPage,this.permissions=M,this.totalCount=0,this._sortField="uploaded",this._sortDirection=Ue.DESC,this.hostedFileStatus=ht,this.fileSizeUtils=Fs,this._selectedRows=[],this._hostedDocumentSubscriptions=[],this.pageSet=new K}get isMultipleRowsSelected(){return!!this._selectedRows&&this._selectedRows.length>1}get isSelectedItemDone(){return this._selectedRows[0]?.item.status===ht.DONE}get isEverySelectedHostedFileNotFinished(){return this._selectedRows.every(e=>!this.isStatusFinished(e.item.status))}ngOnInit(){this.initHostedFileData(),this._hostedFileService.cancelAllNewUploadsForUser().subscribe({})}ngOnDestroy(){this._hostedDocumentSubscriptions.forEach(e=>e.unsubscribe())}onTableMenuAction(e){let i,a=this._selectedRows.map(m=>m.item).filter(m=>this.isStatusFinished(m.status));switch(e){case vn.DELETE:this.deleteHostedFile(a);break;case vn.EDIT:this.editHostedFileTitle(a[0]);break;case vn.LINK:this.linkHostedFilesToMetadata();break;case vn.UPLOAD_HOSTED_FILES:i=this._modalService.open(Oc),i.componentInstance.save.subscribe(m=>{this._hostedFilePresignedUrlService.bulkUploadFiles(m,this._authService.userInfo.tenantId).subscribe(f=>{if(f==null){this._feedbackService.showErrorModal();return}let v=this.hostedFileRows.find(E=>E.hostedFileId===f.file.hostedFileId);if(this.pageNumber===1&&!v){let E={hostedFileId:f.file.hostedFileId,userId:"",fileName:f.file.newFileName.includes(".")?f.file.newFileName.slice(0,f.file.newFileName.lastIndexOf(".")):f.file.newFileName,objectName:f.file.objectName,fileExtension:this.extractExtension(f.file.newFileName),language:"",fileSize:0,uploaded:new Date,status:ht.UPLOADING,linkedFileContentIds:null,hasCheckbox:!1};this.hostedFileRows=[E,...this.hostedFileRows],this.hostedFileRows.splice(this.pageSize+1),this.totalCount++}}),this._feedbackService.showInfoModal(m.length===1?"licenses.hosting_explorer.upload_single":"licenses.hosting_explorer.upload_multi","licenses.hosting_explorer.upload_text",Wi.UPLOAD)});return;default:return}}onRowsSelected(e){this._selectedRows=e}getStatusLanguageString(e){switch(e){case ht.NONE:case ht.NEW:case ht.UPLOADING:return"licenses.hosting_explorer.status_uploading";case ht.VALIDATING:return"licenses.hosting_explorer.status_verifying";case ht.DONE:return"common.ok";case ht.UPLOAD_FAILED:return"licenses.hosting_explorer.status_upload_failed";case ht.VALIDATION_FAILED:return"licenses.hosting_explorer.status_validation_failed";default:return"licenses.hosting_explorer.status_upload_failed"}}getLinkedMetadataAmount(e){return e.linkedFileContentIds?e.linkedFileContentIds.length:0}getLinkedStatus(e){return!e.linkedFileContentIds||e.linkedFileContentIds.length===0?"licenses.hosting_explorer.not_linked":"licenses.hosting_explorer.linked"}onPageChange(e,i=!0){this._uiService.showSpinner(),this.pageNumber=e,this.hostedFilesTable&&this.hostedFilesTable.onDeselectAll(),this._hostedDocumentSubscriptions.forEach(n=>n.unsubscribe()),this._hostedDocumentSubscriptions.push(_r(0,5e3).pipe(Ne(()=>this._hostedFileService.getHostedFilesPagedAndFiltered(this.pageNumber,this.pageSize,this._sortField,this._sortDirection,this.filter).pipe(Le(n=>(console.error("Error occurred: ",n),[])),_t(()=>
1this._uiService.hideSpinner())))).subscribe(n=>{n&&this.applyHostedFilePagedResponse(n,i)}))}linkHostedFilesToMetadata(e=null){let i;e?i=e:i=this._selectedRows.map(f=>f.item)[0],this._selectedHostedFile=i;let n=this._modalService.open(To,{windowClass:"modal-fullscreen",isCentered:!1});n.componentInstance.modalTitle="company_data.link_metadata",n.componentInstance.selectedDocuments.subscribe(a=>{this.onDocumentsSelected(a,i)})}onStateChange(e){e.changeType===ii.SORT&&(this._sortField=e.sortBy,this._sortDirection=e.sortAsc?Ue.ASC:Ue.DESC,this.onPageChange(1,!1))}downloadHostedFile(e){this._hostedFilePresignedUrlService.downloadFileByHostedFileId(e.hostedFileId,`${e.fileName}.${e.fileExtension}`),this._documentAccessService.trackDocumentAccessByHostedFileId(e.hostedFileId,e.fileName)}onCsvImport(){let e=this._modalService.open(gn);e.componentInstance.csvImportKey=fn.hostedFiles,e.componentInstance.completed.subscribe(i=>{if(i>0){let n={selectedCount:0,sortBy:"updated",sortAsc:!1,changeType:ii.SORT};this.onStateChange(n)}})}onFilter(e){this.filter=e,this.isFiltered=!!this.checkFilterHasValue(this.filter),this.onPageChange(1,!1)}onResetFilters(){this.filter={},this.isFiltered=!1,this.onPageChange(1,!1)}onCsvExport(){this._hostedFileService.requestDocumentCsvExport().subscribe({next:e=>{e.status===Di.ACCEPTED?this._feedbackService.showInfoModal("common.export.title_text","common.export.requested_deferred",Wi.DOWNLOAD):this._feedbackService.showErrorModal()},error:e=>{e.status===It.TOO_MANY_REQUESTS?this._feedbackService.showErrorModal("common.export.too_many_requests"):this._feedbackService.showErrorModal()}})}editHostedFileTitle(e){let i=this._modalService.open(Rc);i.componentInstance.fileExtension="."+e.fileExtension,i.componentInstance.oldFileName=e.fileName,this._hostedFileService.getForbiddenNameCharacters().subscribe(n=>{i.componentInstance.forbiddenCharacters=n}),i.result.then(n=>{n!=null&&(n!==this.hostedFileRows.find(a=>a.hostedFileId===e.hostedFileId).fileName?this._hostedFileService.renameHostedFile(e.hostedFileId,n).subscribe({next:()=>{this.hostedFileRows.find(a=>a.hostedFileId===e.hostedFileId).fileName=n,this._feedbackService.showSuccessModal("licenses.hosting_explorer.rename_success_message")},error:()=>{this._feedbackService.showErrorModal()}}):i.componentInstance.close())})}extractExtension(e){let i=e.toLowerCase();if(i.endsWith(".tar.gz"))return"tar.gz";if(i.endsWith(".tgz"))return"tgz";let n=i.lastIndexOf(".");return n>-1?i.substring(n+1):""}deleteHostedFile(e){let i=this._modalService.open(mt);i.componentInstance.isDeleteConfirmation=!0,this._translocoService.selectTranslate("licenses.hosting_explorer.delete_hosted_files",{count:e.length}).subscribe({next:n=>i.componentInstance.title=n}),i.componentInstance.text="licenses.hosting_explorer.delete_hosted_files_confirm_text",i.result.then(n=>{n?.preset&&(this.hostedFilesTable.onDeselectAll(),this._hostedFileService.deleteHostedFiles(e.map(a=>a.hostedFileId)).subscribe({next:a=>{if(!a)return;this.hostedFileRows=this.hostedFileRows.filter(v=>!a.body.find(E=>E.hostedFileId===v.hostedFileId&&E.isSuccess));let m=a.body.filter(v=>v.isSuccess).length,f=a.body.filter(v=>!v.isSuccess).length;this.totalCount-=m,this._feedbackService.showSuccessModal(this._translocoService.translate("licenses.hosting_explorer.delete_feedback",{countSuccess:m,countFail:f})),this.hostedFileRows=this.hostedFileRows.filter(v=>!e.map(E=>E.hostedFileId).includes(v.hostedFileId)),this.hostedFilesTable.onDeselectAll(),this._selectedRows=[],this.onPageChange(this.pageNumber,!1)}}))})}applyHostedFilePagedResponse(e,i=!0){if(this.totalCount=e.totalCount?e.totalCount:0,this.hostedFileRows.length>0&&this.hostedFileRows.every(a=>e.files.some(m=>m.hostedFileId===a.hostedFileId))&&i){this.hostedFileRows.forEach(m=>{let f=e.files.find(v=>v.hostedFileId===m.hostedFileId);f&&(m.status=f.status,m.linkedFileContentIds=f.linkedFileContentIds,m.objectName=f.objectName,m.fileSize=f.fileSize,m.fileName=f.fileName,m.hasCheckbox=this.isStatusFinished(f.status))});let a=e.files.filter(m=>!this.hostedFileRows.some(f=>m.hostedFileId===f.hostedFileId));if(a.length>0){let m=a.map(f=>Ae(se({},f),{hasCheckbox:this.isStatusFinished(f.status)}));this.hostedFileRows=[...m,...this.hostedFileRows],this.hostedFileRows.splice(this.pageSize)}}else this.hostedFileRows=e.files.map(a=>Ae(se({},a),{hasCheckbox:this.isStatusFinished(a.status)}));let n=Math.ceil(this.totalCount/this.pageSize);n>0&&this.pageNumber>n&&(this.pageNumber=n,this.pageSet.emit(this.pageNumber),this.onPageChange(this.pageNumber,!1))}initHostedFileData(){this.onPageChange(1)}onDocumentsSelected(e,i){this._hostedFileService.linkHostedFileToMetadata(this._selectedHostedFile,e).subscribe({next:n=>{this._selectedHostedFile.linkedFileContentIds=n.body.results.map(v=>v.fileContentId);let a=n.body.results.filter(v=>v.isSuccess).length,m=n.body.results.filter(v=>v.isSuccess).map(v=>v.fileContentId),f=n.body.results.filter(v=>!v.isSuccess).length;this._feedbackService.showSuccessModal(this._translocoService.translate("licenses.hosting_explorer.linked_feedback_modal_title",{countSuccess:a,countFail:f})).subscribe({next:()=>{let v=this._modalService.open(Nc);v.componentInstance.fileName=`${i.fileName}.${i.fileExtension}`,e.length===1?(v.componentInstance.documentNumber=e[0].documentNumber,v.componentInstance.dateOfIssue=e[0].dateOfIssue):(v.componentInstance.documentNumber="",v.componentInstance.dateOfIssue=""),v.result.then(E=>{let{description:F,language:P,documentType:z}=E;this._hostedFileService.updateDocumentLinksMetadata(m,i.hostedFileId,F,P,z).subscribe({next:q=>{q&&this._feedbackService.showSuccessModal(this._translocoService.translate("licenses.hosting_explorer.metadata_saved_success"))},error:()=>{this._feedbackService.showErrorModal()}}),this.hostedFilesTable.onDeselectAll()})}})}})}isStatusFinished(e){return[ht.DONE,ht.UPLOAD_FAILED,ht.VALIDATION_FAILED,ht.TIMEOUT_FAILED].includes(e)}checkFilterHasValue(e){return!!(e&&Object.values(e).join(""))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-hosting-explorer"]],viewQuery:function(i,n){if(i&1&&le(n_,5),i&2){let a;Y(a=Z())&&(n.hostedFilesTable=a.first)}},outputs:{pageSet:"pageSet"},decls:39,vars:23,consts:[["hostedFilesTable",""],["tableCheckboxColumnHeader",""],["tableCell",""],["tableMenu",""],["menuAnimatedButtons",""],["menuStaticButtons",""],["filterPopover","ngbPopover"],["filterPopoverContent",""],[1,"overview-container"],[1,"header"],[3,"count"],["data-cy","numberOfSelectedEntries"],[1,"container-menu-pagination"],[1,"container-table"],["sortBy","uploaded","data-cy","table",3,"rowsSelected","stateChange","items","resetSelectionAfterItemUpdate"],["tableColumn","","styleClasses","button-column","itemProperty","status",3,"sortable"],["tableColumn","","columnText","common.file_name","
1itemProperty","fileName","styleClasses","wide",3,"sortable"],["tableColumn","","columnText","licenses.hosting_explorer.file_type","itemProperty","fileExtension","styleClasses","narrow",3,"sortable"],["tableColumn","","columnText","licenses.hosting_explorer.file_size","itemProperty","fileSize","styleClasses","narrow",3,"sortable"],["tableColumn","","columnText","licenses.hosting_explorer.file_uploaded_date","itemProperty","uploaded","styleClasses","wide",3,"sortable"],["tableColumn","","columnText","licenses.hosting_explorer.document_link","itemProperty","isLinked","styleClasses","wide",3,"sortable"],["tableColumn","","columnText","licenses.hosting_explorer.sync_status","itemProperty","status","styleClasses","wide",3,"sortable"],[1,"no-content"],[3,"appTable"],["menu",""],["data-cy","pagination",3,"pageChange","collectionSize","page","tableMenu","pageSize"],[1,"btn-group"],["type","button","data-cy","iconLinkHostingFiles",1,"btn-menu-animated",3,"click","disabled","ngbTooltip"],["name","link"],["type","button","data-cy","iconRenameHostingFile",1,"btn-menu-animated",3,"click","disabled","ngbTooltip"],["name","order-change-metadata"],["type","button","data-cy","iconDeleteHostedFiles",1,"btn-menu-animated",3,"click","disabled","ngbTooltip"],["name","delete"],["type","button","data-cy","iconUploadHostingFile",1,"btn-menu-static",3,"click","ngbTooltip"],["name","cloud-upload"],["type","button","class","btn-menu-static","data-cy","iconCsvExport",3,"ngbTooltip","click",4,"permissions"],["type","button","class","btn-menu-static","data-cy","iconCsvImport",3,"ngbTooltip","click",4,"permissions"],["type","button","data-cy","iconCsvExport",1,"btn-menu-static",3,"click","ngbTooltip"],["name","csv-export"],["type","button","data-cy","iconCsvImport",1,"btn-menu-static",3,"click","ngbTooltip"],["name","csv-import"],["popoverClass","filter-container","placement","bottom-left","autoClose","outside","type","button",1,"btn-filter",3,"ngbPopover"],["name","filter","data-cy","iconFilter",3,"ngClass"],["data-cy","filter",3,"filterClose","filter","resetFilter","documentFilter"],[1,"table-icons"],["type","button","data-cy","iconDownload",1,"btn-icon",3,"click","ngbTooltip"],["name","cloud-download"],["type","button","data-cy","iconLinkHostingFile",1,"btn-icon",3,"click","ngbTooltip"],["data-cy","name",1,"file-name"],["data-cy","extension"],["data-cy","size"],["data-cy","uploaded"],["name","check-mark-filled","data-cy","iconLinked",1,"icon-success"],["name","cross-filled","data-cy","iconLinked",1,"icon-alert"],["data-cy","textLinked",1,"no-wrap"],["data-cy","status",1,"table-icons"],["name","check-mark-filled",1,"icon-success"],["name","cross-filled",1,"icon-alert"],["name","loading-spinner",1,"icon-clickable"],[1,"no-wrap"],["sprite","icons-large","name","hosting-empty-large","data-cy","iconNoFiles",1,"icon-inactive"],["data-cy","textNoFiles"]],template:function(i,n){if(i&1&&(l(0,"div",8)(1,"div",9)(2,"div")(3,"h1"),p(4),d(5,"transloco"),s(),w(6,"app-record-count",10),l(7,"p",11),p(8),d(9,"transloco"),d(10,"transloco"),s()()(),C(11,c_,9,5,"div",12),l(12,"div",13)(13,"app-table",14,0),y("rowsSelected",function(m){return n.onRowsSelected(m)})("stateChange",function(m){return n.onStateChange(m)}),T(15,p_,6,5,"ng-template",null,1,L),l(17,"div",15),T(18,u_,1,1,"ng-template",null,2,L),s(),l(20,"div",16),T(21,__,2,1,"ng-template",null,2,L),s(),l(23,"div",17),T(24,h_,3,3,"ng-template",null,2,L),s(),l(26,"div",18),T(27,f_,2,1,"ng-template",null,2,L),s(),l(29,"div",19),T(30,g_,3,4,"ng-template",null,2,L),s(),l(32,"div",20),T(33,b_,6,4,"ng-template",null,2,L),s(),l(35,"div",21),T(36,w_,7,4,"ng-template",null,2,L),s()(),C(38,T_,6,5,"div",22),s()()),i&2){let a=V(14);r(4),h(u(5,14,"licenses.hosting_explorer.title")),r(2),_("count",n.totalCount),r(2),D(" ",(a==null||a.selectedRows==null?null:a.selectedRows.length)===1?u(9,16,"search.hitlist.element_selected"):J(10,18,"search.hitlist.elements_selected",Ce(21,o_,(a==null||a.selectedRows==null?null:a.selectedRows.length)??0))," "),r(3),b(n.hostedFileRows?11:-1),r(2),_("items",n.hostedFileRows)("resetSelectionAfterItemUpdate",!1),r(4),_("sortable",!1),r(3),_("sortable",!0),r(3),_("sortable",!0),r(3),_("sortable",!0),r(3),_("sortable",!0),r(3),_("sortable",!0),r(3),_("sortable",!0),r(3),b(n.totalCount===0?38:-1)}},dependencies:[Ee,ze,Ac,G,kt,Yt,te,Pt,St,oe,Mt,Zt,Lt,$,zt,an,si,B],styles:[".file-name[_ng
1content-%COMP%]{overflow-wrap:break-word}.no-wrap[_ngcontent-%COMP%]{white-space:nowrap}"]})}}return t})();var Ri=(()=>{class t{constructor(){this._newLicense=new Ut(null),this._changedLicense=new Ut(null)}get newLicense(){return this._newLicense.asObservable()}get changedLicense(){return this._changedLicense.asObservable()}passNewLicense(e,i,n){e&&(e.users=i,e.groups=n,e.createdOn=new Date,this._newLicense.next(e))}passChangedLicense(e,i,n,a,m){if(e){let f={id:i,title:e.title,description:e.description,rights:e.rights,users:n,groups:a,createdOn:m,changedOn:new Date,licenseType:e.licenseType};this._changedLicense.next(f)}}clearState(){this._newLicense.next(null),this._changedLicense.next(null)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=ye({token:t,factory:t.\u0275fac})}}return t})();var ea=(()=>{class t{getLanguageTranslocoKey(e){let i=e.toUpperCase();if(i in vi)return"common.languages."+vi[i];let n=e.toUpperCase();return n in gi?"common.languages."+gi[n]:(console.error("Unmappable language key "+e),"common.languages.other")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=ye({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var E_=["tableMenu"],D_=t=>({count:t});function I_(t,o){if(t&1&&(l(0,"p",18),p(1),d(2,"transloco"),d(3,"transloco"),s()),t&2){c(2);let e=V(6);r(),D(" ",e.selectedRows.length===1?u(2,1,"search.hitlist.element_selected"):J(3,3,"search.hitlist.elements_selected",Ce(6,D_,e.selectedRows.length))," ")}}function M_(t,o){if(t&1){let e=I();l(0,"div",3)(1,"div"),w(2,"app-record-count",17),C(3,I_,4,8,"p",18),s(),l(4,"div",19)(5,"app-select",20),y("itemSelected",function(n){S(e);let a=c(2);return x(a.onChangePageSize(n))}),s()()()}if(t&2){c();let e=V(6),i=c();r(2),_("count",i.searchResultCount),r(),b(e!=null&&e.selectedRows?3:-1),r(),_("formGroup",i.pageSizeForm),r(),_("items",i.pageSizeSelectOptions)}}function k_(t,o){if(t&1&&(l(0,"app-table-menu",5,2),w(2,"div",21),s()),t&2){c();let e=V(6);_("appTable",e)}}function F_(t,o){if(t&1&&(l(0,"div",22),p(1),s()),t&2){let e=o.item;r(),h(e.url)}}function L_(t,o){if(t&1&&(l(0,"div",23),p(1),s()),t&2){let e=o.item;r(),h(e.description)}}function P_(t,o){if(t&1&&(l(0,"div",24),p(1),s()),t&2){let e=o.item;r(),h(e.documentLanguage)}}function A_(t,o){if(t&1&&(l(0,"div",25),p(1),d(2,"transloco"),s()),t&2){let e=c().item;r(),D(" ",u(2,1,"search.document_upload."+e.documentType)," ")}}function N_(t,o){if(t&1&&C(0,A_,3,3,"div",25),t&2){let e=o.item;b(e.documentType&&e.isUserfile?0:-1)}}function O_(t,o){if(t&1&&(l(0,"span",26),p(1),d(2,"fileType"),d(3,"transloco"),s()),t&2){let e=o.item;r(),h(u(3,3,u(2,1,e.type)))}}function R_(t,o){if(t&1&&(l(0,"div",27),p(1),s()),t&2){let e=o.item;r(),h(e.acCode)}}function B_(t,o){if(t&1&&(l(0,"div",28),p(1),s()),t&2){let e=o.item;r(),h(e.documentNumber)}}function z_(t,o){if(t&1&&(l(0,"div",29),p(1),s()),t&2){let e=o.item;r(),h(e.dateOfIssue)}}function V_(t,o){if(t&1){let e=I();C(0,M_,6,4,"div",3),l(1,"div",4),C(2,k_,3,1,"app-table-menu",5),l(3,"app-pagination",6),y("pageChange",function(n){S(e);let a=c();return x(a.onPageChange(n))}),s()(),l(4,"div",7)(5,"app-table",8,0),y("stateChange",function(n){S(e);let a=c();return x(a.onSortChange(n))})("rowsSelected",function(n){S(e);let a=c();return x(a.onRowsSelected(n))}),l(7,"div",9),T(8,F_,2,1,"ng-template",null,1,L),s(),l(10,"div",10),T(11,L_,2,1,"ng-template",null,1,L),s(),l(13,"div",11),T(14,P_,2,1,"ng-template",null,1,L),s(),l(16,"div",12),T(17,N_,1,1,"ng-template",null,1,L),s(),l(19,"div",13),T(20,O_,4,5,"ng-template",null,1,L),s(),l(22,"div",14),T(23,R_,2,1,"ng-template",null,1,L),s(),l(25,"div",15),T(26,B_,2,1,"ng-template",null,1,L),s(),l(28,"div",16),T(29,z_,2,1,"ng-template",null,1,L),s()()()}if(t&2){let e=c();b(e.showTableContent?0:-1),r(2),b(e.hideSelectionUI?-1:2),r(),_("collectionSize",e.searchResultCount)("page",e.pageNumber)("tableMenu",e.tableMenu)("pageSize",e.pageSize),r(2),_("items",e.tableContent)("hasCheckboxColumn",!e.hideSelectionUI),r(20),_("sortable",!0),r(3),_("sortable",!0)}}var zc=(()=>{class t{constructor(){this._licenseManagementConfig=g(Jt),this._changeDetectorRef=g(Be),this._documentAccessService=g(Et),this._documentLanguageService=g(ea),this._formBuilder=g(di),this._translocoService=g(Q),this.hideSelectionUI=!1,this.showWhenEmpty=!1,this.searchChanged=new K,this.pageNumber=this._licenseManagementConfig.defaultPage,this.pageSize=this._licenseManagementConfig.defaultPerPage,this.sortField="",this.sortOrder="",this.isPending=!1,this.pageSizeSelectOptions=[{text:"licenses.detail.pagination_small",value:25},{text:"licenses.detail.pagination_medium",value:100},{text:"licenses.detail.pagination_large",value:1e3}],this.rowsSelected=new K,this.hideSpinner=new K}set currentPaginationFromSearch(e){e&&(this.pageNumber=e)}ngOnInit(){this.pageSizeForm=this._formBuilder.group({pageSize:this._formBuilder.control(this.pageSize)})}ngOnChanges(e){if(e.searchResult){this.isPending=!0;let i=e.searchResult.currentValue;if(i){this.searchResultCount=i.count?i.count:0;let n=i.searchResult.map(a=>a.acCode);this._documentAccessService.getDocumentListForAcCodes(n).pipe(ve(1),he(a=>{a&&(this.tableContent=this.generateTableContent(i.searchResult,a))}),_t(()=>{this.hideSpinner.emit(),this.isPending=!1,this._changeDetectorRef.detectChanges()})).subscribe()}}}get showTableContent(){return(this.tableContent?.length??0)>0||this.showWhenEmpty}onPageChange(e){this.isPending=!0,this.pageNumber=e,this.searchDocuments()}onSortChange(e){e.changeType===ii.SORT&&(this.isPending=!0,this.sortField=e.sortBy,this.sortOrder=e.sortAsc?Ue.ASC:Ue.DESC,this.searchDocuments())}onRowsSelected(e){this.rowsSelected.emit(e)}onChangePageSize(e){this.pageSize=+e,this.pageSizeForm.setValue({pageSize:+e}),this.pageNumber=1,this.searchDocuments()}generateTableContent(e,i){let n=[];return e.forEach(a=>{let m=i.find(f=>f.acCode===a.acCode)?.fulltexts;m&&m.forEach(f=>{let v=this._translocoService.translate(this._documentLanguageService.getLanguageTranslocoKey(f.language));n.push({din21Id:f.din21Id,url:f.url,description:f.description,documentLanguage:v,documentType:f.documentType,format:f.format,acCode:
1a.acCode,documentNumber:a.documentNumber,dateOfIssue:a.dateOfIssue,isUserfile:f.isUploadedByUser,type:f.type})})}),n}searchDocuments(){let e={pageSize:this.selectedPageSize||this.pageSize,pageNumber:this.pageNumber,sortField:this.sortField,sortDir:this.sortOrder};this.searchChanged.emit(e),!this.hideSelectionUI&&this.tableMenu&&(this.tableMenu.selectAllCheckbox=Us.UNCHECKED)}get selectedPageSize(){return+this.pageSizeForm.get("pageSize").value}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-document-result"]],viewQuery:function(i,n){if(i&1&&le(E_,5),i&2){let a;Y(a=Z())&&(n.tableMenu=a.first)}},inputs:{hideSelectionUI:"hideSelectionUI",searchResult:"searchResult",showWhenEmpty:"showWhenEmpty",currentPaginationFromSearch:"currentPaginationFromSearch"},outputs:{searchChanged:"searchChanged",rowsSelected:"rowsSelected",hideSpinner:"hideSpinner"},features:[Tr],decls:1,vars:1,consts:[["documentListTable",""],["tableCell",""],["tableMnu",""],[1,"document-list"],[1,"container-menu-pagination"],[3,"appTable"],["data-cy","pagination",3,"pageChange","collectionSize","page","tableMenu","pageSize"],[1,"container-table"],["data-cy","table",3,"stateChange","rowsSelected","items","hasCheckboxColumn"],["tableColumn","","columnText","licenses.document_management.url","itemProperty","url","styleClasses","narrow"],["tableColumn","","columnText","common.description","itemProperty","description","styleClasses","wide"],["tableColumn","","columnText","common.language","itemProperty","documentLanguage","styleClasses","narrow"],["tableColumn","","columnText","common.document_type","itemProperty","docType"],["tableColumn","","columnText","search.document_upload.link_type","itemProperty","type","styleClasses","narrow"],["tableColumn","","columnText","common.metadata_label.acCode","itemProperty","acCode","styleClasses","border-left"],["tableColumn","","columnText","common.metadata_label.documentNumber","itemProperty","documentNumber",3,"sortable"],["tableColumn","","columnText","common.metadata_label.dateOfIssue","itemProperty","dateOfIssue",3,"sortable"],[3,"count"],["data-cy","numberOfSelectedEntries",1,"selected-entries"],[1,"pagination-size",3,"formGroup"],["label","licenses.detail.pagination_size","labelPosition","left","data-cy","paginationSize","formControlName","pageSize",3,"itemSelected","items"],["menu",""],["data-cy","url"],["data-cy","description"],["data-cy","documentLanguage"],["data-cy","documentType"],["data-cy","linkType"],["data-cy","acCode"],["data-cy","documentNumber"],["data-cy","dateOfIssue"]],template:function(i,n){i&1&&C(0,V_,31,10),i&2&&b(((n.tableContent==null?null:n.tableContent.length)??0)>0||n.showWhenEmpty?0:-1)},dependencies:[St,Je,fe,Ie,je,$e,Ft,Lt,Pt,zt,Zt,Ee,kt,B,bo],styles:[".document-list[_ngcontent-%COMP%]{display:flex;gap:var(--spacer);flex-wrap:wrap;justify-content:space-between;margin:var(--spacer) 2px 0}.document-list[_ngcontent-%COMP%]   .pagination-size[_ngcontent-%COMP%]{min-width:15rem}.document-list[_ngcontent-%COMP%]   .pagination-size[_ngcontent-%COMP%]   app-select[_ngcontent-%COMP%]{width:15rem}.document-list[_ngcontent-%COMP%]   .selected-entries[_ngcontent-%COMP%]{color:var(--color-text)}"]})}}return t})();function q_(t,o){if(t&1){let e=I();l(0,"app-document-result",7),y("rowsSelected",function(n){S(e);let a=c();return x(a.onRowsSelected(n))})("searchChanged",function(n){S(e);let a=c();return x(a.onSearchParamsChanged(n))}),s()}if(t&2){let e=c();_("searchResult",e.searchResult)("currentPaginationFromSearch",e.currentPaginationFromSearch)}}function U_(t,o){if(t&1){let e=I();l(0,"app-hitlist",8),y("searchChanged",function(n){S(e);let a=c();return x(a.onSearchParamsChanged(n))}),s()}if(t&2){let e=c();_("resultList",e.searchResult)("currentPaginationFromSearch",e.currentPaginationFromSearch)("disableSelection",!0)("showContextMenu",!1)}}var Vc=(()=>{class t{constructor(){this.modalService=g(X),this._searchService=g(yt),this._uiService=g(He),this._cdr=g(Be),this.isReadonlyLicense=!1,this.isApplySearchButtonDisable=!0,this._initialSearchRequest={},this.searchRequest={},this.searchRequestClone={},this.searchResult=null,this.currentPaginationFromSearch=1,this.selectedDin21Ids=[],this.licenseTypeEnum=pe,this._pageSizeForSearch=25}set licenseType(e){this._licenseType=e}get licenseType(){return this._licenseType}get isApplySearchDisabled(){return this.licenseType===this.licenseTypeEnum.DOCUMENT&&this.selectedDin21Ids.length===0||this.isApplySearchButtonDisable}set initialSearchRequest(e){this._initialSearchRequest=e||{},this.searchRequest=ae.cloneDeep(this._initialSearchRequest),(this.licenseType===pe.DOCUMENT||this.licenseType===pe.COLLECTION)&&(this.searchRequest=Ae(se({},this.searchRequest||{}),{withDocument:!0})),this.searchRequestClone=ae.cloneDeep(this.searchRequest),this.searchRequestClone.dynamicSearchFields=this.mapDynamicParameters(this.searchRequestClone.dynamicSearchFields),this.searchResult=null,this.currentPaginationFromSearch=1,this.selectedDin21Ids=[],this._cdr.detectChanges()}get initialSearchRequest(){return this._initialSearchRequest}get pageSizeForSearch(){return this._pageSizeForSearch}set pageSizeForSearch(e){this._pageSizeForSearch=e||25}onSearchWithParams(e){this.currentPaginationFromSearch=e.pageNumber;let i=e.searchRequest??this.searchRequest;this.searchRequest=ae.cloneDeep(i),(this.licenseType===pe.DOCUMENT||this.licenseType===pe.COLLECTION)&&(this.searchRequest=Ae(se({},this.searchRequest||{}),{withDocument:!0})),this.searchRequestClone=ae.cloneDeep(this.searchRequest),this.executeSearch(e)}onSearchParamsChanged(e){this.pageSizeForSearch=e.pageSize,this.onSearchWithParams(e)}onRowsSelected(e){this.selectedDin21Ids=[],e?.forEach(i=>
1{let n=i?.item?.din21Id;n&&this.selectedDin21Ids.push(n)})}onResetSearch(){this.searchResult=null,this.currentPaginationFromSearch=1}executeSearch(e){if(!e)return;this._uiService.showSpinner();let i=e.sortField,n=e.sortDir;this._searchService.search(this.searchRequest,this.pageSizeForSearch,e.pageNumber,i,n,!0).subscribe({next:a=>{this.searchResult=a,this._uiService.hideSpinner(),this._cdr.markForCheck?.()},error:()=>{this._uiService.hideSpinner(),this._cdr.markForCheck?.()}}),this.isApplySearchButtonDisable=!1}onApplyClicked(){this.licenseType===pe.DOCUMENT?this.modalService.close({selectedDin21Ids:this.selectedDin21Ids}):(this.licenseType===pe.COLLECTION&&(this.searchRequest=Ae(se({},this.searchRequest||{}),{withDocument:!0})),this.modalService.close({searchRequest:this.searchRequest,searchResult:this.searchResult}))}mapDynamicParameters(e){return e?.map(i=>Ae(se({},i),{fieldName:i.fieldName==="documentNr"?"documentNumber":i.fieldName}))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-license-search-modal"]],inputs:{isReadonlyLicense:"isReadonlyLicense",licenseType:"licenseType",initialSearchRequest:"initialSearchRequest"},decls:7,vars:10,consts:[[3,"border","modalTitle"],[1,"overlay-body"],[1,"container-table"],["data-cy","extendedSearchInModal",3,"searchWithParams","inline","searchRequest","isDocumentListMode","isCollectionLicense","isMetadataLicense","suppressUrlSync"],["data-cy","documentSearchResultInModal",3,"searchResult","currentPaginationFromSearch"],["data-cy","hitlistInModal",3,"resultList","currentPaginationFromSearch","disableSelection","showContextMenu"],["saveButtonText","common.adopt",3,"saveButtonClick","isSaveButtonDisabled"],["data-cy","documentSearchResultInModal",3,"rowsSelected","searchChanged","searchResult","currentPaginationFromSearch"],["data-cy","hitlistInModal",3,"searchChanged","resultList","currentPaginationFromSearch","disableSelection","showContextMenu"]],template:function(i,n){if(i&1&&(w(0,"app-modal-header",0),l(1,"div",1)(2,"div",2)(3,"app-extended-search",3),y("searchWithParams",function(m){return n.onSearchWithParams(m)}),s()(),C(4,q_,1,2,"app-document-result",4)(5,U_,1,4,"app-hitlist",5),s(),l(6,"app-modal-footer",6),y("saveButtonClick",function(){return n.onApplyClicked()}),s()),i&2){let a;_("border",!0)("modalTitle",n.licenseType===n.licenseTypeEnum.DOCUMENT?"licenses.detail.search_documents":"licenses.detail.edit_search"),r(3),_("inline",!0)("searchRequest",n.searchRequestClone)("isDocumentListMode",n.licenseType===n.licenseTypeEnum.DOCUMENT)("isCollectionLicense",n.licenseType===n.licenseTypeEnum.COLLECTION)("isMetadataLicense",n.licenseType===n.licenseTypeEnum.METADATA)("suppressUrlSync",!0),r(),b((a=n.licenseType)===n.licenseTypeEnum.DOCUMENT?4:5),r(2),_("isSaveButtonDisabled",n.isApplySearchDisabled)}},dependencies:[Xe,et,Ai,zc,Li],styles:[".overlay-body[_ngcontent-%COMP%]{padding:calc(var(--spacer) * 2);max-height:75vh;overflow:auto}"]})}}return t})();var er=(function(t){return t.DOCUMENT_OPEN="document_Open",t.DOCUMENT_SIMULTAN_SINGLE_DOCUMENTS="document_simultan_single_documents",t.DOCUMENT_SIMULTAN_COLLECTION="document_simultan_collection",t.DOCUMENT_SAVE="document_save",t.DOCUMENT_PRINT="document_print",t.METADATA_VIEW="metadata_view",t})(er||{});var ta=class{constructor(){this.title="",this.users=[],this.groups=[],this.documents=[],this.rights=[],this.searchForm={}}};var qc={common:{activated:"Aktiviert",add:"Hinzuf\xFCgen",adopt:"\xDCbernehmen",adopt_and_save:"\xDCbernehmen und Speichern",apply:"Anwenden",back:"Zur\xFCck",cache_busting:{modal_text:"Eine neue Version von Nautos ist verf\xFCgbar. M\xF6chten Sie die Anwendung neu laden?",modal_title:"Aktualisierung verf\xFCgbar"},cancel:"Abbrechen",change:"Wechseln",changed:"Ge\xE4ndert",clear_selection:"Auswahl aufheben",close:"Schlie\xDFen",collapse:"Zuklappen",company_name:"Firmenname",copied:"Kopiert",copy_of:"Kopie von ",copy_to_clipboard:"In die Zwischenablage kopieren",count_number:"Anzahl",create:"Erstellen",created:"Erstellt",created_changed:"Erstellt / Ge\xE4ndert",customer_news_item_marked_as_read:"Habe ich gelesen / nicht mehr anzeigen",customer_number:"Kundennummer",date:"Datum",date_format:"JJJJ-MM",date_format_error:"Bitte geben Sie das Datum im Format JJJJ-MM ein",date_format_with_day:"JJJJ-MM-TT",date_format_with_day_error:"Bitte g\xFCltiges Datum im Format JJJJ-MM-TT eingeben",date_format_with_optional_day:"JJJJ-MM oder JJJJ-MM-TT",date_format_with_optional_day_error:"Bitte im Format JJJJ-MM oder JJJJ-MM-TT eingeben",datepicker:{choose_date:"Datum ausw\xE4hlen",day:"Tag",from:"Von",month:"Monat",to:"Bis",year:"Jahr"},deactivated:"Deaktiviert",declined:"Abgewiesen",delete:"L\xF6schen",delete_document:"Dokument l\xF6schen",description:"Beschreibung",document:"Dokument",document_type:"Dokumenttyp",documents:"Dokumente",download:"Download",edit:"Bearbeiten",error:"Hoppla! Da ist etwas schiefgelaufen.",error_aggregate_locked:"Dieser Bereich ist aufgrund eines laufenden Backups aktuell gesperrt.",execute:"Ausf\xFChren",expand:"Aufklappen",export:{disabled_no_datasets:"Es liegen keine Datens\xE4tze zum Exportieren vor",disabled_too_many_entries:"Sie k\xF6nnen maximal 1000 Datens\xE4tze exportieren",export:"Exportieren",export_all_warning:"Es erfolgt ein vollst\xE4ndiger Export aller Dokumentverkn\xFCpfungen. Bei einer gro\xDFen Anzahl an Verkn\xFCpfungen kann dies zu Wartezeiten bei der Exporterstellung f\xFChren.",export_successful:"Der CSV-Export wurde abgeschlossen",requested_deferred:"Ihr Download wird vorbereitet. Sobald Ihr Export bereitsteht, erhalten Sie eine Benachrichtigung.",title_text:"Als CSV exportieren",too_many_requests:"Sie haben bereits einen Export angefordert. Solange k\xF6nnen Sie keinen weiteren Export anfordern."},fade_in:"Einblenden",fade_out:"Ausblenden",faq:"H\xE4ufig gestellte Fragen",file_delete:"Datei l\xF6schen",file_download:"Datei herunterladen",file_name:"Dateiname",file_upload:"Datei hochladen",file_upload_hint:"Datei hier ablegen oder ausw\xE4hlen (max. 50 MB)",file_upload_hint_changeable:"Datei hier ablegen oder ausw\xE4hlen (max. {{fileSizeLimit}})",file_upload_hint_small:"Datei hier ablegen oder ausw\xE4hlen (max. 1 MB)",hello:"Hallo",hint:"Hinweis",id:"ID",import:{download_license_documents_template:"Vorlage Dokumentlizenzen herunterladen",download_license_settings_template:"Vorlage Lizenzeinstellungen herunterladen",download_template:"Vorlage herunterladen",escape_char:"Escape-Zeichen",field_separator:"Texttrenner",file_could_not_be_parsed:"Die Datei konnte nicht gelesen werden",file_encoding:"Dateikodierung",file_properties:"Dateieigenschaften",file_too_big:"Die zu importierende Datei ist zu gro\xDF.",import_failed:"Import fehlgeschlagen",import_partially_successful:"Import teilweise erfolgreich",import_successful:"Import erfolgreich",info_text:"Ihre Importdaten werden verarbeitet. Dies kann einige Minuten dauern.",protocol:"Protokoll",record_could_not_be_processed:"1 Eintrag konnte nicht verarbeitet werden",record_successfully_added:"1 Datensatz wurde hinzugef\xFCgt",record_successfully_deleted:"1 Datensatz wurde gel\xF6scht",record_successfully_updated:"1 Datensatz wurde ver\xE4ndert",text_qualifier:"Texterkennungszeichen",title_text:"Dokumentverkn\xFCpfungen importieren",too_many_requests:"Ein Import wird bereits verarbeitet. Bitte versuchen Sie es sp\xE4ter erneut.",x_records_could_not_be_processed:"{{count}} Zeilen konnten nicht verarbeitet werden.",x_records_successfully_added:"{{count}} Datens\xE4tze wurden hinzugef\xFCgt.",x_records_successfully_deleted:"{{count}} Datens\xE4tze wurden gel\xF6scht.",x_records_successfully_updated:"{{count}} Datens\xE4tze wurden ver\xE4ndert."},language:"Sprache",languages:{albanian:"Albanisch",arabic:"Arabisch",bosnian:"Bosnisch",bulgarian:"Bulgarisch",croatian:"Kroatisch",czech:"Tschechisch",danish:"D\xE4nisch",dutch:"Niederl\xE4ndisch",english:"Englisch",estonian:"Estnisch",finnish:"Finnisch",french:"Franz\xF6sisch",german:"Deutsch",greek:"Griechisch",hungarian:"Ungarisch",italian:"Ital
1ienisch",japanese:"Japanisch",korean:"Koreanisch",latvian:"Lettisch",lithuanian:"Litauisch",mandarin:"Mandarin",multilingual:"Mehrsprachig",norwegian:"Norwegisch",other:"Andere",polish:"Polnisch",portughese:"Portugiesisch",romanian:"Rum\xE4nisch",russian:"Russisch",serbian:"Serbisch",slovak:"Slowakisch",slovenian:"Slowenisch",spanish:"Spanisch",swedish:"Schwedisch",turkish:"T\xFCrkisch"},link:"Verkn\xFCpfen",link_document:"Dokument verkn\xFCpfen",metadata_label:{abstractDe:"Kurzreferat (Deutsch)",abstractEn:"Kurzreferat (Englisch)",abstractFr:"Kurzreferat (Franz\xF6sisch)",abstractUnd:"Kurzreferat (andere Sprachen)",acCode:"AC-Code",admSortKey:"Sortierschl\xFCssel",amendedBy:"Ge\xE4ndert durch",amends:"Dokument \xE4ndert",appearance:"Erscheinungsdatum",appearanceFrom:"Erscheinungsdatum von",appearanceUntil:"Erscheinungsdatum bis",author:"Autor",ceInfo:"CE-Info",citation:"Zitat",classificationIcs:"ICS Klassifikation",classificationIcs_short:"ICS",classificationOther:"Klassifikation andere",confirmation:"Best\xE4tigungsdatum",countryCode:"L\xE4ndercode",custom_field:"Benutzerfeld",dateOfIssue:"Ausgabedatum",dateOfIssueFrom:"Ausgabedatum von",dateOfIssueUntil:"Ausgabedatum bis",descriptorDe:"Suchbegriffe (Deutsch)",descriptorEn:"Suchbegriffe (Englisch)",descriptorFr:"Suchbegriffe (Franz\xF6sisch)",descriptorUnd:"Suchbegriffe (andere Sprachen)",documentNumber:"Dokumentnummer",documentType:"Dokumentart",draftSuperseded:"Vorg\xE4ngerentwurf",edvNr:"Volltext-Online-ID",effective:"G\xFCltig ab",expiration:"Einspruchsfrist",favoritesFolders:"Suche in Favoritenordner",flagStatus:"Aktualisierung",flagStatus_short:"Akt.",fulltext:"Freitextsuche",fulltextAddress:"Volltext-Adresse",fulltextPages:"Seiten",info_text:"Kundenfelder werden nicht durch das Nautos-Metadatenupdate aktualisiert.",internationalRelationship:"Internationale \xDCbereinstimmung",issuing:"Herausgeber",linkCertification:"Zertifiziert",linkHandbook:"Auch abgedruckt in",linkLegislation:"Recht",linkPublished:"Prim\xE4rquelle",metadata_update_in_progress:"Metadaten werden aktualisiert",noteDe:"Bemerkungen (Deutsch)",noteEn:"Bemerkungen (Englisch)",noteFr:"Bemerkungen (Franz\xF6sisch)",noteUnd:"Bemerkungen (andere Sprachen)",notesFolders:"Suche in Notizordner",originalLanguage:"Originalsprache",overview:"Einf\xFChrungsbeitrag",priceUndetermNote:"Preis",pro_metadata:{certifiedBy:"Zertifiziert durch",certifiedDate:"Zertifizierungsdatum",changeDescription:"\xC4nderungsbeschreibung",classificationPro:"Klassifikation Pro",classification_pro:{add_classification:"Klassifikation hinzuf\xFCgen",add_entry:"Eintrag hinzuf\xFCgen",add_success:"Die Klassifikation wurde hinzugef\xFCgt.",as_subcategory_of:"Als Unterklassifikation von",delete_confirm_text:"M\xF6chten Sie die Klassifikation l\xF6schen? Der Eintrag wird von allen Datens\xE4tzen entfernt.",delete_confirm_title:"Klassifikation l\xF6schen",dot_error:"Die Klassifikation darf keine Punkte ('.') im Namen enthalten.",edit_classification:"Klassifikation bearbeiten",edit_list:"Liste bearbeiten",edit_success:"Die Klassifikation wurde bearbeitet.",no_classification:"Keine Eintr\xE4ge vorhanden.",space_error:"Die Klassifikation darf keine Leerzeichen im Namen enthalten.",title:"Klassifikation Pro",uniqueness_error:"Es d\xFCrfen keine doppelten Eintr\xE4ge pro Ebene existieren."},createdAt:"Erfasst am",createdBy:"Erfasst von",documentOwners:"Dokumenteigner",documentTypePro:"Dokumentart Pro",info:"Info",isCited:"Wird zitiert",lastReview:"Letzte Pr\xFCfung",modifiedAt:"Ge\xE4ndert am",modifiedBy:"Ge\xE4ndert von",monitoringStatus:"Metadaten-Update",monitoringStatus_options:{manual:"Manuell",no:"Nein",other:"Sonstiges",yes:"Ja - automatisch"},pricePro:"Preis Pro",publisherPro:"Herausgeber Pro",regionalValidity:"Regionale G\xFCltigkeit",releaseComment:"Freigabekommentar",releaseLevel:"Freigabeebene",releaseLevels:{approved_conditionally:"Genehmigt unter Vorbehalt",created:"Angelegt",not_released:"Nicht freigegeben",other:"Andere",released:"Freigegeben",under_review:"In Pr\xFCfung"},reminderDate:"Erinnerungsdatum",revisionVersion:"Revision (Versionen)",ruleSetPro:"Regelwerk Pro",sourcePro:"Bezugsquelle Pro",updateInterval:"Aktualisierungsintervall (in Monaten)",updatePro:"Aktualisierung Pro"},productId:"Artikel-ID",publishing:"Bezugsquelle",refDocNrSpecial:"Dokumentnummer Suchfragmente",replacedBy:"Nac
1hfolgedokument",replaces:"Vorg\xE4ngerdokument",reqIfConvertible:"ReqIF-Konvertierbarkeit",sectionalList:"Profilverzeichnis",titleDe:"Titel (Deutsch)",titleDynamic:"Titel",titleEn:"Titel (Englisch)",titleFr:"Titel (Franz\xF6sisch)",titleUnd:"Titel (andere Sprachen)",transitionPeriod:"\xDCbergangsfrist",translations:"\xDCbersetzungen",valid:"Aktuell",version:"Versionshistorie",withdrawalDate:"Zur\xFCckziehungsdatum"},months:{april:"April",august:"August",december:"Dezember",february:"Februar",january:"Januar",july:"Juli",june:"Juni",march:"M\xE4rz",may:"Mai",november:"November",october:"Oktober",september:"September"},more:"mehr",more_items:"weitere",name:"Name",next:"Weiter",no:"Nein",notification:"Benachrichtigung",ok:"OK",one_record:"1 Datensatz",other:"Andere",page_load:"Die Seite l\xE4dt gerade",password:"Passwort",please_choose:"Bitte w\xE4hlen",please_choose_a_file:"Bitte w\xE4hlen Sie eine Datei aus",please_fill_this_field:"Bitte f\xFCllen Sie dieses Feld aus",properties:"Eigenschaften",refresh:"Aktualisieren",remove:"Entfernen",request:"Anfordern",reset:"Zur\xFCcksetzen",rights:"Rechte",save:"Speichern",select_all:"Alle ausw\xE4hlen",show:"Anzeigen",show_document:"Dokument anzeigen",show_documents:"Dokumente anzeigen",status:"Status",table:{close_filter:"Filter schlie\xDFen",filter:"Filter",open_filter:"Filter \xF6ffnen",pagination:"Treffer pro Seite"},tenant_type_pilot:"Teststellung",theme_dark:"Dunklen Modus aktivieren",theme_light:"Hellen Modus aktivieren",type:"Typ",unsaved_changes:{submit_text:"Seite verlassen",text:"Sie haben ungespeicherte \xC4nderungen. M\xF6chten Sie die Seite verlassen und die \xC4nderungen verwerfen?",title:"Ungespeicherte \xC4nderungen"},updatedOn:"\xC4nderungsdatum",upload:"Hochladen",version:"Version",weekly_update:"Wochenupdate {{number}}",x_records:"{{count}} Datens\xE4tze",yes:"Ja"},company_data:{add_new_custom_field:"Benutzerdefiniertes Feld hinzuf\xFCgen",code_is_generated_with_the_record:"Der AC-Code wird beim Anlegen des Datensatzes automatisch erzeugt.",create_company_data:"Firmendatensatz anlegen",custom_field_delete:"Benutzerfeld l\xF6schen",custom_fields_import:"Der Import der Kundenfelder wurde verarbeitet",delete_company_data:"Firmendaten l\xF6schen",delete_description:"M\xF6chten Sie die Firmendaten wirklich l\xF6schen?",delete_single_company_data:"Firmendatensatz l\xF6schen",do_update_now:"Jetzt ausf\xFChren",document_upload:"Dokument hochladen",duplication:{as_successor:"Als Nachfolger kopieren",modal_title:"Datensatz duplizieren",note:"Durch Aktivierung der Checkboxen werden die Beziehungen am Vorg\xE4nger und aktuellem Datensatz automatisch erg\xE4nzt.",withdraw_original_record:"Original-Datensatz zur\xFCckziehen"},edit_company_data:"Firmendatensatz bearbeiten",info_text:"Das System legt automatisch einen Firmendatensatz an, um Ihre Anforderung zu erm\xF6glichen. Dies ist erforderlich, da die angeforderte Norm derzeit nicht im Datenbestand vorhanden ist. Der Datensatz wird in K\xFCrze angezeigt.",link_metadata:"Datens\xE4tze verkn\xFCpfen",metadata_upload:{errors:{ac_code_could_not_be_created:"AC-Code konnte nicht angelegt werden",ac_code_not_found:"AC-Code nicht gefunden",could_not_be_deleted:"Konnte nicht gel\xF6scht werden",could_not_be_renamed:"Konnte nicht umbenannt werden",could_not_delete_system_file:"Nautos Datei konnte nicht gel\xF6scht werden",empty:"Zeile leer",empty_with_fieldName:"Feld \u201E{{fieldName}}\u201C leer",field_value_invalid:"Feldwert in Feld \u201E{{fieldName}}\u201C ung\xFCltig",field_value_invalid_with_source:"\u201E{{source}}\u201C in Feld \u201E{{fieldName}}\u201C ung\xFCltig",hosted_file_not_found:"Gehostete Datei nicht gefunden",id_not_found:"Ung\xFCltige ID",invalid_ac_code:"Ung\xFCltiger AC-Code",invalid_role:"Ung\xFCltige Rolle",line_number_x:"Zeile {{number}}",not_found_with_source:"\u201E{{source}}\u201C in Feld \u201E{{fieldName}}\u201C wurde nicht gefunden",parse_error:"Falsches Format",search_results_exceeded_threshold:"Maximale Anzahl an Ergebnissen (250) f\xFCr diese Zeile \xFCberschritten",tenant_id_not_matching:"Feldwert in Feld \u201EID\u201C ung\xFCltig",unknown_error:"Unbekannter Fehler",unknown_error_with_source:"Unbekannter Fehler f\xFCr Eintrag \u201E{{source}}\u201C",unknown_group:"Unbekannte Gruppe",username_duplicate:"Benutzername bereits vergeben",username_invalid:"Erlaubt sind Buchstaben, Zahlen, sowie Sonderzeichen bei einer L\xE4nge von 3\u2013100 Zeichen.",wrong_headers:"Ung\xFCltige Header in der .csv-Datei"},title:"Metadaten hochladen"},please_fill_in_all_fields:"Bitte alle Pflichtfelder ausf\xFCllen",please_fix_all_errors:"Bitte alle Fehler beheben",record_successfully_created:"Der Firmendatensatz wurde angelegt",record_successfully_deleted:"Der Firmendatensatz wurde gel\xF6scht",record_successfully_requested:"Die fehlende Norm wurde angefordert",record_successfully_updated:"Der Firmendatensatz wurde aktualisiert",this_code_is_created_with_the_record:"Dieser Code wird mit dem Datensatz vergeben",title:"Firmendaten",title_single:"Firmendatensatz",update_field_relation_error:"Bitte entweder Aktualisierungsintervall und Letzte Pr\xFCfung ausf\xFCllen oder keines davon",update_interval_invalid:"Bitte einen Wert zwischen 1 und 24 als Aktualisierungsintervall eingeben"},dashboard:{backups:"Backups",company_details:{company_infos:"Kunden- und Aboinformationen",contact_person:"Ansprechpartner",contact_person_number:"Ansprechpartnernummer",data_fields_basic:"Datenfelder Basic",data_fields_premium:"Datenfelder Premium",employee_supplement_001:"bis 1000 MA",employee_supplement_002:"1000 - 10.000 MA",employee_supplement_003:"> 10.000 MA",end_date:"Ablaufdatum",license_information:"Lizenzinformationen",licenses:"Regelwerke",licenses_basic:"Regelwerke Basic",licenses_premium:"Regelwerke Premium",licenses_pro:"Regelwerke Pro",metadata:"Metadaten",module_delivery_portal:"Lieferantenportal",module_hosting:"Hosting",module_intranet:"Intranet",module_offline_client:"Offline-Client",module_release_workflow:"Freigabe-Workflow",module_rest_service:"REST-Service",module_single:"Single Sign-On",modules:"Module",nautos_basic:"Basic",nautos_premium:"Premium",nautos_pro:"Pro",not_licensed:"nicht lizenziert",software:"Software",sub_company_numbers:"Verkn\xFCpfte Kundennummer(n)",subscription_numbers_nautos:"Abonummer(n) Nautos",subscription_numbers_norm_ticker:"Abonummer(n) NormenTicker",supplement_001:"1 Standort",supplement_002:"2-4 Standorte",supplement_003:"5-8 Standorte",supplement_004:"9-12 Standorte",supplement_005:"13-16 Standorte",supplement_006:"17-20 Standorte",supplement_007:"21-30 Standorte",supplement_008:"31-40 Standorte",supplement_009:"41-50 Standorte",supplement_010:"51-60 Standorte",supplement_011:"61-70 Standorte",supplement_012:"71-80 Standorte",supplement_013:"81-90 Standorte",supplement_014:"91-100 Standorte",supplement_015:"individuell",title:"Firmenangaben"},customer_notification:"Kundenmitteilung",empty_tile:"Keine Inhalte vorhanden.",faq_tooltip:"FAQ anzeigen",help:"Hilfe",help_tooltip:"Hilfe anzeigen",language_tooltip:"Oberfl\xE4chensprache \xE4ndern",notification_center:{area:"Bereich",delete_multiple_notifications_header:"Benachrichtigungen l\xF6schen",delete_multiple_notifications_success:"Die Benachrichtigungen wurden gel\xF6scht",delete_multiple_notifications_text:"M\xF6chten Sie die Benachrichtigungen wirklich l\xF6schen?",delete_notification_header:"Benachrichtigung l\xF6schen",delete_notification_success:"Die Benachrichtigung wurde gel\xF6scht",delete_notification_text:"M\xF6chten Sie die Benachrichtigung wirklich l\xF6schen?",delete_notifications:"Benachrichtigung(en) l\xF6schen",mark_as_read:"Als gelesen markieren",mark_as_unread:"Als ungelesen markieren",message:"Benachrichtigung",no_notifications:"Es sind keine Benachrichtigungen vorhanden.",read:"gelesen",time:"Zeit",title:"Benachrichtigungen",unread:"ungelesen"},notification_tooltip:"Benachrichtigungen anzeigen",related_videos:"Zugeh\xF6rige Videos",release_notes:"Versionshinweise",released:"Ver\xF6ffentlicht am",shopping_cart_tooltip:"Warenkorb anzeigen",show_all_observations:"Alle \xDCberwachungen anzeigen",support:{allow_access:"Zugriff auf meinen Account f\xFCr Supportzwecke freigeben.",contact_admin:"Admin kontaktieren",support_mailto:{actual:"Beschreibung IST",closing:"Mit freundlichen Gr\xFC\xDFen",estimation_of_priority:"Einsch\xE4tzung der Priorit\xE4t: [niedrig | mittel | hoch]",introduction:"Hallo N
1autos-Supportteam,{{ linebreak }}{{ linebreak }}hiermit m\xF6chte ich Ihnen mein Feedback zu Nautos \xFCbermitteln.{{ linebreak }}{{ linebreak }}Mandantenk\xFCrzel: {{ tenantToken }}",keyword:"Stichwort",keyword_text:"Stichwort:{{ linebreak }}[Zu welchem Bereich gibt es Feedback? Gerne orientieren Sie sich an dem linken Navigationsbaum.]",nominal:"Beschreibung SOLL",please_fill_in:"Bitte ausf\xFCllen",subject_admin:"R\xFCckmeldung zu Nautos - {{ tenantToken }} - {{ companyName }} - Zeitpunkt der Erfassung: {{ dateTime }}",subject_user:"R\xFCckmeldung zu Nautos - {{ username }} - {{ tenantToken }} - ({{ dateTime }}) Nautos - {{ version }}",tenant_key:"Tenantk\xFCrzel",time_of_occurence:"Zeitpunkt des Auftretens",timestamp:"Zeitstempel",version_number:"Versionsstand"},support_ticket:"Support-Ticket",title:"Support"},tile_footer:"Mehr anzeigen",title:"Dashboard",to_dashboard:"Zum Dashboard",upload_symbol_tooltip:"Hosting Explorer anzeigen",useful_links:{academy_login:"Nautos Lernwelt Login",academy_registration:"Nautos Lernwelt Registrierung",agb_de:"Nautos AGB (DE)",agb_en:"Nautos AGB (EN)",imprint:"Impressum",nautos_editor:"Nautos Editor Login",tipps:"Tipps und Tricks",title:"N\xFCtzliche Links"}},exports:{document_exports_request_failed:"Dokument CSV-Exporte konnten nicht geladen werden.",document_license_exports_request_failed:"Dokumentlizenz CSV-Exporte konnten nicht geladen werden.",hosted_file_exports_request_failed:"Gehostete Dateien CSV-Exporte konnten nicht geladen werden.",metadata_exports_request_failed:"Metadaten CSV-Exporte konnten nicht geladen werden.",no_exports:"Keine Downloads vorhanden.",order_management_exports_request_failed:"Bestellung CSV-Exporte konnten nicht geladen werden.",reqif_downloads_request_failed:"ReqIF Downloads konnten nicht geladen werden.",statistics_exports_request_failed:"Statistik CSV-Exporte konnten nicht geladen werden.",title:"Export"},favorites:{activate_email:"E-Mail Benachrichtigungen an",active_email:"E-Mail Benachrichtigungen aktiv",active_observation:"Aktive \xDCberwachung",change_owner:"Eigent\xFCmer wechseln",change_owner_group_info:"Dieser Ordner wurde mit einer Gruppe geteilt. Der Eigent\xFCmerwechsel ist nicht m\xF6glich",change_owner_info:"ReadOnly Benutzer k\xF6nnen nicht als Eigent\xFCmer eines Ordners festgelegt werden.",deactivate_email:"E-Mail Benachrichtigungen aus",delete_folder_title:"Ordner l\xF6schen",delete_folders_title:"Ordner l\xF6schen",delete_multiple_shared_error:"Ein oder mehrere ausgew\xE4hlte Ordner sind geteilt. Bitte die Freigaben aufheben, um sie zu l\xF6schen.",delete_shared_error:"Dieser Ordner ist aktuell geteilt. Entfernen Sie die Freigabe, um ihn zu l\xF6schen.",description:{connected_documents:"Verkn\xFCpfte Dateien",file_must_not_exceed_50mb:"Datei darf nicht gr\xF6\xDFer als 50 MB sein",file_type_not_supported:"Dateityp wird nicht unterst\xFCtzt",folder_details:"Ordnerdetails",no_connected_documents:"Keine verkn\xFCpften Dateien zu diesem Ordner vorhanden",please_provide_folder_name:"Bitte einen Ordnernamen eintragen"},description_successfully_updated:"Die Beschreibung wurde ge\xE4ndert",email_activate:"E-Mail Benachrichtigungen wurden f\xFCr diesen Ordner aktiviert",email_deactivate:"E-Mail Benachrichtigungen wurden f\xFCr diesen Ordner deaktiviert",favorite:{add_to_folder:"Zu Favoritenordner hinzuf\xFCgen",copy_folder:"Favoritenordner kopieren",copy_folder_success:"Der Favoritenordner wurde kopiert",copy_folders_success:"Die Favoritenordner wurden kopiert",create_folder:"Favoritenordner anlegen",create_folder_success:"Der Favoritenordner wurde angelegt",delete_confirm_text_folder:"M\xF6chten Sie den Favoritenordner \u201E{{folderName}}\u201C wirklich l\xF6schen?",delete_confirm_text_folders:"M\xF6chten Sie die {{count}} Favoritenordner wirklich l\xF6schen?",delete_confirm_title_folder:"Favoritenordner l\xF6schen",delete_confirm_title_folders:"Favoritenordner l\xF6schen",delete_folder_success:"Der Favoritenordner wurde gel\xF6scht",delete_folders_success:"Die Favoritenordner wurden gel\xF6scht",include_subfolders:"Mit Unterordnern",leave_shared_folder:"Favoritenordner verlassen",leave_shared_folder_success:"Der Favoritenordner wurde verlassen",no_folder_shared_yet:"Keine Favoriten geteilt.",select_folder:"Favoritenordner w\xE4hlen",share_folder:"Favoritenordner teilen",share_folder_success:"Der Favoritenordner wurde geteilt",show_folders:"Favoritenordner anzeigen",title:"Favoriten"},favorites_and_notes:"Favoriten und Notizen",favorites_and_notes_successfully_updated:"Favoriten und Notizen wurden aktualisiert",favorites_folder_owner_successfully_edited:"Der Eigent\xFCmer wurde gewechselt",favorites_folder_share_successfully_edited:"Die Freigabe wurde bearbeitet",favorites_folder_share_successfully_removed:"Die Freigabe wurde entfernt",favorites_management:"Favoritenmanagement",folder_can_not_be_copied_into_own_structure:"Ordner kann nicht in seine eigene Struktur kopiert werden",folder_description:"Ordnerbeschreibung",folder_menu:{activate_observation:"\xDCberwachung aktivieren",configure_observation:"\xDCberwachung konfigurieren",deactivate_observation:"\xDCberwachung deaktivieren",preform_observation:"\xDCberwachung ausf\xFChren",share_multiple:"Freigaben hinzuf\xFCgen",share_single:"Freigaben konfigurieren"}
1,folder_name:"Ordnername",folder_select_at_least_one:"Bitte mindestens einen Ordner ausw\xE4hlen",inactive_email:"E-Mail Benachrichtigungen inaktiv",inactive_observation:"Inaktive \xDCberwachung",leave_folder_group_info:"Dieser Ordner kann nicht verlassen werden, da er \xFCber eine Gruppe geteilt wurde. Bitte entfernen Sie die Freigabe \xFCber die jeweilige Gruppe.",leave_folder_group_title:"Ordner verlassen",my_favorites:"Meine Favoriten",my_notes:"Meine Notizen",new_folder:"Neuer Ordner",new_notes_folder:"Neuer Notizordner",no_favorites_folders_found:"Keine passenden Favoriten gefunden.",no_folder_description:"Keine Ordnerbeschreibung vorhanden",no_items_in_folder:"In diesem Ordner befinden sich keine Datens\xE4tze.",no_notes_folders_found:"Keine passenden Notizen gefunden.",not_contained_in_any_folder:"Dieser Datensatz ist in keinem Ordner enthalten.",note:{add_to_folder:"Zu Notizordner hinzuf\xFCgen",copy_folder:"Notizordner kopieren",copy_folder_success:"Der Notizordner wurde kopiert",copy_folders_success:"Die Notizordner wurden kopiert",create_folder:"Notizordner anlegen",create_folder_success:"Der Notizordner wurde angelegt",delete_confirm_text_folder:"M\xF6chten Sie den Notizordner \u201E{{folderName}}\u201C wirklich l\xF6schen?",delete_confirm_text_folders:"M\xF6chten Sie die {{count}} Notizordner wirklich l\xF6schen?",delete_confirm_title_folder:"Notizordner l\xF6schen",delete_confirm_title_folders:"Notizordner l\xF6schen",delete_folder_success:"Der Notizordner wurde gel\xF6scht",delete_folders_success:"Die Notizordner wurden gel\xF6scht",leave_shared_folder:"Notizordner verlassen",leave_shared_folder_success:"Der Notizordner wurde verlassen",no_folder_shared_yet:"Keine Notizen geteilt.",select_folder:"Notizordner w\xE4hlen",share_folder:"Notizordner teilen",share_folder_success:"Der Notizordner wurde geteilt",show_folders:"Notizordner anzeigen"},notes:"Notizen",observation_info_activate:"Bitte beachten Sie, dass die \xDCberwachung f\xFCr alle gew\xE4hlten Elemente aktiviert wird.",observation_info_deactivate:"Bitte beachten Sie, dass die \xDCberwachung f\xFCr alle gew\xE4hlten Elemente deaktiviert wird.",observation_info_settings:"Bitte beachten Sie, dass alle Einstellungen f\xFCr die gew\xE4hlten Elemente \xFCbernommen werden. Bestehende Einstellungen werden \xFCberschrieben.",observation_info_start:"Bitte beachten Sie, dass alle selektierten \xDCberwachungen, die aktiv sind, direkt ausgef\xFChrt werden. Die Aktion kann eine l\xE4ngere Zeit in Anspruch nehmen.",observation_successfully_activated:"Die \xDCberwachung wurde aktiviert",observation_successfully_changed:"Die \xDCberwachung wurde konfiguriert",observation_successfully_created:"Die \xDCberwachung wurde angelegt",observation_successfully_deactivated:"Die \xDCberwachung wurde deaktiviert",please_choose_target_folder:"Bitte w\xE4hlen Sie einen Zielordner aus",save_description:"Beschreibung speichern",search_term:"Ordnersuche",select_folder:"Ordner w\xE4hlen",share:{assign_users_groups:"Benutzer / Gruppen zuordnen",full_access:"Vollzugriff",read:"Lesen",share_folder:"Ordner teilen",share_folder_with_name:"Ordner \u201E{{folderName}}\u201C teilen",share_multiple_info:"Es sind bereits Regeln zur Freigabe an mindestens einem gew\xE4hlten Ordner vorhanden. Diese bestehenden Einstellungen werden erg\xE4nzt.",share_success_multiple:"Freigaben f\xFCr {{count}} Ordner wurden hinzugef\xFCgt",write:"Schreiben"},share_folder_info:"Bitte beachten Sie, dass die gew\xE4hlten Ordner mit allen gew\xE4hlten Nutzern geteilt werden.",share_multiple_folder:"Mehrere Ordner freigeben",shared_folder_delete_info_text:"Sie haben diesen Ordner geteilt. M\xF6chten Sie einen neuen Besitzer w\xE4hlen, bevor Sie den Ordner l\xF6schen?",show_favorites:"\u201EFavoritenordner einsehen",show_notes:"Notizordner einsehen",start_observation_run:"Firmen-\xDCberwachung starten",start_observation_run_description:"M\xF6chten Sie den \xDCberwachungslauf f\xFCr alle Benutzer jetzt ausf\xFChren?",trigger_update_error_already_running:"Ein \xDCberwachungslauf wird bereits ausgef\xFChrt. Solange k\xF6nnen Sie keinen weiteren Lauf starten.",trigger_update_success:"Der \xDCberwachungslauf wurde gestartet"},licenses:{add_users_or_groups:"Benutzer / Gruppen hinzuf\xFCgen",assigned_licenses:"Zugeordnete Lizenzen",collection_license:"Regelwerklizenz",collection_license_tooltip:"Regelwerklizenzen erlauben das Freischalten von allen anh\xE4ngenden Dokumenten an Metadaten. Regelwerklizenzen unterscheiden nicht mehr anhand von einzelnen Dokumenten, sondern beziehen sich auf die Metadatens\xE4tze, die Dokumente anh\xE4ngend haben k\xF6nnen und schalten die
1se je Nutzer / Gruppe frei.",copy_license:"Lizenz kopieren",copy_license_success:"Die Lizenz wurde kopiert",create_document_license:{add_license:"Dokument zu bestehender Dokumentlizenz hinzuf\xFCgen",add_license_multiple:"Dokumente zu bestehender Dokumentlizenz hinzuf\xFCgen",description:"M\xF6chten Sie eine neue Dokumentlizenz f\xFCr das Dokument anlegen oder das Dokument zu einer bestehenden Lizenz hinzuf\xFCgen?",description_multiple:"M\xF6chten Sie eine neue Dokumentlizenz f\xFCr alle Dokumente am Datensatz anlegen oder die Dokumente zu einer bestehenden Lizenz hinzuf\xFCgen?",title:"Lizenz verkn\xFCpfen"},create_license:"Lizenz anlegen",create_license_search_query_error:"Suchanfrage erforderlich",create_license_success:"Die Lizenz wurde erstellt",create_license_title_error:"Der Lizenzname ist bereits vergeben",delete_license_header:"Lizenz l\xF6schen",delete_license_success:"Die Lizenz wurde gel\xF6scht",delete_license_text:"M\xF6chten Sie die Lizenz wirklich l\xF6schen?",delete_licenses:"Lizenz(en) l\xF6schen",delete_multiple_licenses_header:"Lizenzen l\xF6schen",delete_multiple_licenses_success:"Die Lizenzen wurden gel\xF6scht",delete_multiple_licenses_text:"M\xF6chten Sie die Lizenzen wirklich l\xF6schen?",detail:{accept_query_denied:"Die Suchanfrage enth\xE4lt \xFCber {{count}} Treffer. Bitte schr\xE4nken Sie die Suchparameter ein, um die Suchfrage zu speichern.",accept_query_denied_header:"Suchanfrage ergibt zu viele Treffer.",accesses:"Anzahl der Zugriffe",application_successful:"Benutzer / Gruppen wurden hinzugef\xFCgt",apply_search_query_for_license:"Suchfrage f\xFCr Lizenz \xFCbernehmen?",create_license_title_blacklisted:"Die W\xF6rter \u201EBest Collection\u201C und \u201ENautos Sammlung\u201C d\xFCrfen nicht im Lizenznamen enthalten sein",do_you_want_to_delete_this_license:"M\xF6chten Sie die Lizenz \u201E{{name}}\u201C wirklich l\xF6schen?",doc_limit:"Anzahl",doc_limit_info:"Lizenzlimit: Hier definieren Sie die maximale Anzahl an Dokumenten, die Ihre Lizenz umfasst. Wir informieren Sie, sobald die Anzahl der Dokumente gr\xF6\xDFer als der Schwellenwert ist.",doc_limit_license:"Maximale Anzahl der Dokumente",doc_threshold:"Schwellenwert",edit_license:"Lizenz bearbeiten",edit_search:"Suchfrage bearbeiten",existing_documents:"Enthaltene Dokumente",for_every_single_document:"F\xFCr jedes einzelne Dokument",for_the_body_of_rules:"F\xFCr das Regelwerk",name:"Lizenzname",no_search_added_yet:"Keine Suchfrage vorhanden.",pagination_large:"gro\xDF",pagination_medium:"mittel",pagination_size:"Ergebnismenge",pagination_small:"klein",please_put_integer:"Nur positive ganze Zahlen setzen",remove_documents:"Dokument(e) entfernen",remove_groups:"Gruppen entfernen",remove_users:"Benutzer entfernen",save_document:"Dokument herunterladen (nur bei Anzeige im Nautos-Viewer)",search_documents:"Dokumente suchen",search_query:"Suchfrage",select_document:"Dokument w\xE4hlen",simultan_license:"Simultanlizenz",successfully_removed_document_from_license:"Das Dokument wurde aus der Lizenz entfernt",successfully_removed_documents_from_license:"Die Dokumente wurden aus der Lizenz entfernt",type:"Lizenztyp"},document_license:"Dokumentlizenz",document_license_tooltip:"Dokumentlizenzen erlauben das Freischalten von einzelnen Dokumenten im Rahmen von Lizenzen. Auf diese Weise ist es m\xF6glich, sehr exakte Zuordnungen je Nutzer / Gruppe durchzuf\xFChren.",document_management:{delete_title:"Dokumentverkn\xFCpfung(en) l\xF6schen",filter_license_assignment_type:"Lizenzzuordnung",filter_with_many_licenses:"Mehrere Lizenzen vorhanden",filter_without_license:"Keine Lizenz vorhanden",import_title:"Dokumentverkn\xFCpfungen hochladen",mixed_documents_warning:"Automatisch von Nautos bereitgestellte Dokumente k\xF6nnen nicht gel\xF6scht werden",multiple_confirm:"Wollen Sie diese {{count}} Dokumentverkn\xFCpfungen wirklich l\xF6schen?",no_documents_assigned:"Dieser Lizenz sind noch keine Dokumente zugeordnet.",no_documents_created:"Keine Dokumente vorhanden.",no_documents_found:"Keine Dokumente gefunden.",records_successfully_deleted:"Dokumentenverkn\xFCpfung(en) wurden gel\xF6scht",remove_from_licenses_confirm:"Alle Dokumentlizenzen werden von den ausgew\xE4hlten Dokumentverkn\xFCpfungen entfernt. Wollen Sie fortfahren?",remove_from_licenses_succeed:"Die Verkn\xFCpfungen wurden von der Lizenz entfernt",remove_from_licenses_title:"Alle Lizenzen der Verkn\xFCpfungen entfernen",reqif:{title:"ReqIF"},single_confirm:"Wollen Sie diese Dokumentverkn\xFCpfung wirklich l\xF6schen?",subscription:{bestcollection:"Nautos Sammlung",bestcollection_license:"Nautos Sammlung Lizenz",individual:"Normenticker"},title:"Dokumentverwaltung",tooltip:"Zugeordnete Lizenzen pr\xFCfen",url:"URL / Pfad"},document_stamps:{activate_stamps:"Dokumentstempel aktivieren",add_field:"Feld hinzuf\xFCgen",all_pages:"alle Seiten",bottom:"unten",configuration:"Stempelkonfiguration",create_stamp:"Stempelkonfiguration anlegen",create_success:"Die Stempelkonfiguration wurde angelegt",current_valid_withdrawn:"Aktuell (G\xFCltigkeit / zur\xFCckgezogen)",default:"Standard-Stempelkonfiguration",delete:"Stempelkonfiguration l\xF6schen",delete_stamp_header:"Stempelkonfiguration l\xF6schen",delete_stamp_header_multiple:"Stempelkonfigurationen l\xF6schen",delete_stamp_text:"M\xF6chten Sie die Stempelkonfiguration wirklich l\xF6schen?",delete_stamp_text_multiple:"M\xF6chten Sie die Stempelkonfigurationen wirklich l\xF6schen?",deleted:"Die Stempelkonfiguration wurde gel\xF6scht",deleted_multiple:"Die Stempelkonfigurationen wurden gel\xF6scht",diagonal:"quer",edit_filter:"Suchfilter bearbeiten",edit_stamp:"Dokumentstempel bearbeiten",edit_success:"Die Stempelkonfiguration wurde bearbeitet",error_missing_selection:"Bitte w\xE4hlen Sie Feld und Position",field:"Feld",filter_info:"Mit aktivem Filter werden nur diejenigen Dokumente gestempelt, die den Filterkriterien entsprechen.",forbidden:"Die gew\xE4hlte Aktion ist nicht erlaubt",freetext_fields:"Freie Textfelder",info_text:"Die Stempelkonfiguration ist nur in Nautos Pro verf\xFCgbar. Bitte beachten Sie, dass nur Benutzerdaten und Metadaten mit vorhandenen Inhalten gestempelt werden.",left:"links",metadata_fields:"Metadatenfelder",name:"Stempel-Name",no_filter_info:"Ohne Filter werden alle Dokumente gestempelt.",only_on_first_page:"nur auf Seite 1",page_one:"Seite 1",position:"Position",preview:"Vorschau",printing_date:"Datum / Uhrzeit des Ausdrucks",remove_filter:"Suchfilter l\xF6schen",reset:"auf Standard zur\xFCcksetzen",right:"rechts",saving_request_success:"Der Dokumentstempel wurde gespeichert",search_filter:"Suchfilter",show_only_on_first_page:"Nur auf Seite 1 anzeigen",stamps:"Stempel",table:{changed:"Ge\xE4ndert am",created:"Erstellt am",element_selected:"1 Stempel ausgew\xE4hlt",elements_selected:"{{count}} Stempel ausgew\xE4hlt",isActive:"Aktiv"},title:{basic:"Dokumentstempel",pro:"Stempelkonfigurationen"},top:"oben",unselectable_readonly_stamp_note:"Der Standard-Stempel kann nicht ausgew\xE4hlt werden",userdata_fields:"Benutzerdatenfelder"},export:{license_documents:"Dokumentlizenzen",license_settings:"Lizenzeinstellungen"},export_licenses:"Lizenzen exportieren",export_licenses_choice_modal:"Bitte w\xE4hlen Sie, welchen Export Sie vornehmen m\xF6chten",export_type:{license:"Dokumentlizenzen exportieren",settings:"Lizenzeinstellungen exportieren"},export_type_choice_modal:"Bitte w\xE4hlen Sie, welchen Export Sie vornehmen m\xF6chten",hosting_explorer:{delete_feedback:"{{countSuccess}} Dateien wurden gel\xF6scht. {{countFail}} konnten nicht gel\xF6scht werden.",delete_hosted_files:"Gehostete Datei(en) l\xF6schen",delete_hosted_files_confirm_text:"M\xF6chten Sie die ausgew\xE4hlten gehosteten Dateien wirklich l\xF6schen?",document_link:"Dokumentverkn\xFCpfung",document_protected:"Gesch\xFCtzte Dokumente werden nicht im Nautos Viewer angezeigt.",edit_document_link:"Dokumentverkn\xFCpfung bearbeiten",error_filename_forbidden_characters:"Die folgenden Zeichen sind nicht erlaubt: {{forbiddenCharacters}}",error_filenames_identical:"Dateinamen d\xFCrfen nicht \xFCbereinstimmen",error_maximum_characters_error:"Die maximale Zeichenl\xE4nge wurde \xFCberschritten.",error_no_files_selected:"Bitte w\xE4hlen Sie mindestens eine Datei aus.",error_remove_faulty_files:"Bitte entfernen Sie alle fehlerhaften Dateien",file_size:"Gr\xF6\xDFe",file_type:"Dateiendung",file_upload:"Dateiupload",file_uploaded_date:"Upload-Datum",import_title:"Datei\xE4nderung mittels CSV-Import",link_file:"Datei verkn\xFCpfen",link_files:"Dateien verkn\xFCpfen",linked:"verkn\xFCpft",linked_feedback_modal_title:"{{countSuccess}} Dateien wurden verkn\xFCpft. {{countFail}} Dateien konnten nicht verkn\xFCpft werden.",metadata_saved_success:"Die Dokumentverkn\xFCpfung wurde gespeichert",no_files_found:"Keine Dateien gefunden.",no_files_uploaded:"Keine Dateien hochgeladen.",not_linked:"nicht verkn\xFCpft",rename_file:"Datei umbenennen",rename_success_message:"Datei wurde umbenannt",rename_text:"M\xF6chten Sie die folgende Datei umbenennen?",status_upload_failed:"Abgebrochen",status_uploading:"Upload l\xE4uft",status_validation_failed:"Validierung fehlgeschlagen",status_verifying:"Verifizierung l\xE4uft",sync_status:"Synchronisierung",title:"Hosting Explorer",upload_files:"Datei(en) hochladen",upload_multi:"Mehrere Dateien werden hochgeladen",upload_single:"Eine Datei wird hochgeladen",upload_text:"Lassen Sie das Browserfenster ge\xF6ffnet und laden Sie die Seite nicht neu, damit Ihre Uploads nicht unterbrochen werden. Sie k\xF6nnen Ihre Arbeit in Nautos wie gewohnt fortsetzen."}
1,import:{empty:"Leerer Eintrag",fields:{ac_code:"AC-Code",access_count:"Simultane Zugriffe",delete:"L\xF6schen",document_id:"Dokument ID",downloadable:"Herunterladen",groups:"Gruppen",license_id:"Lizenz ID",license_name:"Lizenzname",license_type:"Lizenzart",simultane_accesses:"Simultane Zugriffe",simultanelicense_active:"Simultanlizenz",simultanelicense_type:"Simultanlizenztyp",users:"Benutzernamen"},report:{error:{ac_code_not_found:"AC-Code \u201E{{fieldValue}}\u201C hat keine Dokumente",empty_field_value:"Ben\xF6tigtes Feld \u201E{{field}}\u201C ist leer",field_value_invalid:"{{field}} hat ung\xFCltigen Wert \u201E{{fieldValue}}\u201C",immutable:"Feld \u201E{{field}}\u201C darf nicht editiert werden",line_parse_error:"Feld \u201E{{field}}\u201C:\u201E{{fieldValue}}\u201C konnte wegen Format nicht eingelesen werden",not_allowed:"\u201E{{field}}\u201C hat unerlaubten Wert \u201E{{fieldValue}}\u201C",not_found_by_id:"\u201E{{field}}\u201C mit ID:\u201E{{fieldValue}}\u201C nicht gefunden",not_found_by_name:"\u201E{{field}}\u201C \u201E{{fieldValue}}\u201C wurde nicht gefunden.",parse_error:"Datei konnte nicht eingelesen werden",record_count_x:"{{count}} Eintr\xE4ge konnten nicht verarbeitet werden",tenant_id_not_match:"Feldwert in Feld \u201EID\u201C ung\xFCltig: \u201E{{fieldValue}}\u201C",undefined:"Unbekannter Fehler f\xFCr Eintrag \u201E{{field}}\u201C"}}},import_license_successfully_added:"1 Lizenz wurde hinzugef\xFCgt",import_license_successfully_updated:"1 Lizenz wurde ver\xE4ndert",import_licenses:"Lizenzimport",import_x_licenses_successfully_added:"{{count}} Lizenzen wurden hinzugef\xFCgt",import_x_licenses_successfully_updated:"{{count}} Lizenzen wurden ver\xE4ndert",license_type:"Lizenzart",license_type_description:"Bitte w\xE4hlen Sie den Lizenztyp f\xFCr die neue Lizenz.",license_type_title:"Lizenztyp w\xE4hlen",licenses_and_documents:"Lizenzen & Dokumente",metadata_license:"Metadatenlizenz",metadata_license_tooltip:"Metadatenlizenzen erlauben das Freischalten von recherchierbaren Metadatens\xE4tzen f\xFCr einzelne Nutzer / Gruppen. Auf diese Weise ist es m\xF6glich, den Suchumfang von Nautos einzuschr\xE4nken oder zu erweitern.",multi_license:"Mehrplatzlizenz",no_license_available:"Keine Lizenzen vorhanden.",no_licenses_assigned:"Keine Lizenzen zugeordnet.",no_licenses_found:"Keine Lizenzen gefunden.",search_licenses:"Lizenzen durchsuchen",single_license:"Einzelplatzlizenz",title:"Lizenzen",unselectable_readonly_license_note:"\u201ENautos Sammlung\u201C-Lizenzen k\xF6nnen nicht ausgew\xE4hlt werden",update_license_success:"Die Lizenz wurde ge\xE4ndert"},notifications:{a_document_was_changed:"Ein Datensatz einer Bestellung wurde ge\xE4ndert",a_document_was_changed_by:"Ein Datensatz einer Bestellung wurde ge\xE4ndert von {{forename}} {{surname}}",a_document_was_declined:"Ein Dokument wurde abgelehnt",a_document_was_declined_by:"Ein Dokument wurde abgelehnt von {{forename}} {{surname}}",a_document_was_delivered:"Ein Dokument wurde geliefert",a_document_was_delivered_by:"Ein Dokument wurde geliefert von {{forename}} {{surname}}",a_document_was_ordered:"Ein Dokument wurde bestellt",a_document_was_ordered_by:"Ein Dokument wurde bestellt von {{forename}} {{surname}}",a_document_was_ordered_directly:"Ein Dokument wurde direkt bestellt und geliefert",a_document_was_ordered_directly_by:"Ein Dokument wurde direkt bestellt und geliefert von {{forename}} {{surname}}",a_document_was_released:"Ein Dokument wurde freigegeben",a_document_was_released_by:"Ein Dokument wurde freigegeben von {{forename}} {{surname}}",a_document_was_requested:"Ein Dokument wurde angefordert",a_document_was_requested_by:"Ein Dokument wurde angefordert von {{forename}} {{surname}}",an_order_was_cancelled:"Eine Anforderung wurde zur\xFCckgezogen",an_order_was_cancelled_by:"Eine Anforderung wurde zur\xFCckgezogen von {{forename}} {{surname}}",an_order_was_edited:"Eine Bestellung wurde bearbeitet",an_order_was_edited_by:"Eine Bestellung wurde bearbeitet von {{forename}} {{surname}}",check_metadata:"Datensatz pr\xFCfen",dataset_changed:"Datensatz ge\xE4ndert bei der letzten Aktualisierung",datasets_changed:"Datens\xE4tze ge\xE4ndert bei der letzten Aktualisierung",delete_statistics:"Die Statistikdaten wurden gel\xF6scht",document_owner_reminder:"Bitte pr\xFCfen Sie die Daten und setzen Sie ein neues Erinnerungsdatum.",document_ownership:"Sie sind als Dokumenteigner f\xFCr den Datensatz {{documentNumber}} ({{dateOfIssue}}) [{{acCode}}] hinterlegt.",export_failed:"Ihr Export ist fehlgeschlagen.",export_link_download:"Zum Download-Bereich",export_ready_for_download:"Ihr Export steht zum Download bereit.",export_statistics:"Die Statistik der Dokumentzugriffe steht zum Download bereit.",export_statistics_login:"Die Statistik der Logins steht zum Download bereit.",export_statistics_order:"Die Statistik der Bestellungen steht zum Download bereit.",hosting_space_invalid:"\u201E{{fileName}}\u201C konnte nicht hochgeladen werden. Das Limit f\xFCr Hosting-Dateien wurde \xFCberschritten, bitte wenden Sie sich an den Nautos Support",import_filelist_done:"Ihr Dateilisten-Import ist abgeschlossen.",license_threshold_reached:"Das Lizenzlimit der Lizenz \u201E{{licenseName}}\u201C ist erreicht oder \xFCberschritten. Es sind {{documentCount}} von {{documentLimit}} Dokumenten gespeichert.",license_threshold_reminder:"Erweitern Sie die Lizenz oder reduzieren Sie die Dokumentanzahl.",license_threshold_title:"Lizenzschwelle erreicht",mark_all_as_read:"Alle als gelesen markieren",mark_as_read:"Als gelesen markieren",no_new_notifications:"Keine neuen Nachrichten",observation_no_changes:"Innerhalb Ihrer \xDCberwachung wurden keine \xC4nderungen festgestellt",release_level_changed:"wurde auf \u201E{{releaseLevel}}\u201C gesetzt.",release_level_reset_default:"wurde zur\xFCckgesetzt.",reqif:{conversion_failed:"Die Konvert
1ierung des Dokuments \u201E{{documentNumber}} ({{dateOfIssue}}) ({{language}})\u201C ist fehlgeschlagen. Bitte leiten Sie die Prozessdaten an den Service Desk weiter. Klicken Sie hier, um diese zu kopieren.",conversion_succeeded:"\u201E{{documentNumber}} ({{dateOfIssue}}) ({{language}})\u201C wurde konvertiert und steht zum Download bereit",process_id_copied:"Die ProzessId wurde in die Zwischenablage kopiert."}},observation:{ac_code_amended_by:"AC-Code 'Ge\xE4ndert durch'",ac_code_predecessor:"AC-Code Vorg\xE4nger",ac_code_successor:"AC-Code Nachfolger",action:"Aktion",add:"Erg\xE4nzen",add_another_field:"Weiteres Feld hinzuf\xFCgen",change:"\xC4nderung",change_field:"\xC4nderungen im Feld",change_metadata:"Datensatz\xE4nderungen",changes:"\xC4nderungen",choose_field_name:"Feldname w\xE4hlen",corrective_run_for_short:"zu \xDC.",corrective_run_info:"Korrekturlauf vom {{lastUpdateDate}} zum \xDCberwachungslauf vom {{observationRunDate}}",corrective_run_info_short:"Korr.",create:"\xDCberwachung anlegen",custom_settings:"Benutzerdefiniert",default_settings:"Standard",doc_nr_amended_by:"Dokumentnummer 'Ge\xE4ndert durch'",doc_nr_predecessor:"Dokumentnummer Vorg\xE4nger",doc_nr_successor:"Dokumentnummer Nachfolger",document_type_pr:"PR - Teilweise ersetzte Datens\xE4tze (bezieht sich auf Feld 'Dokumentart')",field_name:"Feldname",flag_a:"A - Ge\xE4ndert bei der letzten Aktualisierung (Eintrag im Feld 'Ge\xE4ndert durch')",flag_c:"C - \xC4nderungen im Feld bei der letzten Aktualisierung",flag_h:"H - Historische Datens\xE4tze (mehr als einen Monat zur\xFCckgezogen)",flag_i:"I - Beabsichtigte Zur\xFCckziehung gemeldet bei der letzten Aktualisierung",flag_m:"M - Ge\xE4nderte Datens\xE4tze (Eintrag im Feld 'Ge\xE4ndert durch')",flag_n:"N - Neu bei der letzten Aktualisierung",flag_p:"P - Teilweiser Ersatz gemeldet bei der letzten Aktualisierung",flag_r:"R - Wieder aufgenommen bei der letzten Aktualisierung",flag_w:"W - Zur\xFCckgezogen bei der letzten Aktualisierung",folder:"Ordner",intendedWithdrawals:"Beabsichtigte Zur\xFCckziehungen",metadata:{abstract_de:"Kurzreferat (Deutsch)",abstract_en:"Kurzreferat (Englisch)",abstract_fr:"Kurzreferat (Franz\xF6sisch)",abstract_other:"Kurzreferat (andere Sprachen)",amended_by:"Ge\xE4ndert durch",amends:"Dokument \xE4ndert",available_from:"Bezugsquelle",certification:"Zertifiziert",classification:"Klassifikation",committee_reference:"Autor",confirmation_date:"Best\xE4tigungsdatum",date_of_appearance:"Erscheinungsdatum",descriptors_de:"Suchbegriffe (Deutsch)",descriptors_en:"Suchbegriffe (Englisch)",descriptors_fr:"Suchbegriffe (Franz\xF6sisch)",descriptors_other:"Suchbegriffe (andere Sprachen)",document_identifier:"Dokumentnummer",draft_superseded:"Vorg\xE4ngerentwurf",effective_date:"G\xFCltig ab",expiry_date:"Einspruchsfrist",format_pages:"Seiten",full_text_address:"Volltext-Adresse",full_text_online_id:"Volltext-Online-ID",handbook:"Auch abgedruckt in",history_of_versions:"Versionshistorie",international_relationship:"Internationale \xDCbereinstimmung",issuing_body:"Herausgeber",legislation:"Recht",notes_de:"Bemerkungen (Deutsch)",notes_en:"Bemerkungen (Englisch)",notes_fr:"Bemerkungen (Franz\xF6sisch)",notes_other:"Bemerkungen (andere Sprachen)",origin_code:"L\xE4ndercode",original_language:"Originalsprache",overview:"Einf\xFChrungsbeitrag",price:"Preis",product_id:"Artikel-ID",publication_date:"Ausgabedatum",published_in:"Prim\xE4rquelle",replaced_by:"Nachfolgedokument",replaces:"Vorg\xE4ngerdokument",sectional_list:"Profilverzeichnis",sort_key:"Sortierschl\xFCssel",status:"Dokumentart",title_de:"Titel (Deutsch)",title_en:"Titel (Englisch)",title_fr:"Titel (Franz\xF6sisch)",title_other:"Titel (andere Sprachen)",transition_period:"\xDCbergangsfrist",translations:"\xDCbersetzungen",withdrawal_date:"Zur\xFCckziehungsdatum"},new_publications:"Neuerscheinungen",no_observations:"Keine \xDCberwachungen vorhanden.",notify:"Bericht",observation_history:"\xDCberwachungshistorie",other_changes:"Andere \xC4nderungen",partially_replaced:"Teilweise ersetzt",publication_date_change:"Ausgabedatum 'Ge\xE4ndert durch'",publication_date_predecessor:"Ausgabedatum Vorg\xE4nger",publication_date_successor:"Ausgabedatum Nac
1hfolger",replace:"Ersetzen",run_finished:"\xDCberwachungslauf beendet",run_finished_refresh_folder_info:"F\xFCr diesen Ordner liegen m\xF6glicherweise neue Inhalte vor.",run_finished_refresh_folder_question:"M\xF6chten Sie die Ansicht jetzt aktualisieren?",save_and_run_update:"Speichern und ausf\xFChren",settings:"\xDCberwachungseinstellungen",title:"\xDCberwachungen",title_change:"Titel 'Ge\xE4ndert durch'",title_predecessor:"Titel Vorg\xE4nger",title_successor:"Titel Nachfolger",withdrawals:"Zur\xFCckziehungen"},orders:{activate_orders_release_title:"Freigabestufe im Bestellwesen aktivieren",add_to_shopping_cart:"In den Warenkorb",applied_data_to_all_orders:"Eingaben f\xFCr alle Datens\xE4tze \xFCbernommen",apply_data_to_all_orders:"Eingaben f\xFCr alle Datens\xE4tze \xFCbernehmen",character_limit:"Maximal {{limit}} Zeichen erlaubt",deactivate:"Deaktivieren",deactivate_orders_release_text:"Wenn Sie die Freigabe deaktivieren, werden Anforderungen im Status \u201EFreigabe\u201C zur\xFCck auf Anforderungen gesetzt",deactivate_orders_release_title:"Freigabe im Bestellwesen deaktivieren",deactivate_orders_saved_successfully:"Die Bestellwesen-Einstellungen wurden gespeichert",deactivate_orders_text:"Sie deaktivieren die Bestellfunktion f\xFCr alle Anwender. Bitte pr\xFCfen Sie vor der Deaktivierung, ob offene Anforderungen vorliegen.",deactivate_orders_title:"Bestellwesen deaktivieren",deactivated_orders_info_text:"Die Bestellfunktion steht derzeit allen Anwendern nicht zur Verf\xFCgung.",deactivated_orders_info_title:"Bestellwesen deaktiviert",decentral:{add_entry:"Eintrag hinzuf\xFCgen",can_see:"Sieht Anforderungen von",create:"Bestellzuordnung anlegen",edit:"Bestellzuordnung bearbeiten",error_missing_order_manager:"Order-/Freigabe-Manager muss ausgew\xE4hlt sein",info:"Die Benutzer in der Tabelle k\xF6nnen ausschlie\xDFlich die Anforderungen der zugeordneten Benutzer und Gruppen sehen und bearbeiten.",manager:"Order-/Freigabe-Manager",save_success:"Die Bestellzuordnung wurde gespeichert",title:"Dezentrale Bestellansicht"},delivered:"Geliefert",delivered_by:"Geliefert von",delivered_by_email:"Geliefert von (E-Mail)",deliveries:"Lieferungen",delivery_date:"Geliefert am",details_on_invoice:"Angabe auf Rechnung",details_on_invoice_tooltip:"Der hier eingetragene Text wird auf der Rechnung angezeigt.",error_greater_than:"Der Wert muss gr\xF6\xDFer als {{minVal}} sein",error_numeric:"Der Wert muss eine Zahl sein",not_requested:"Nicht angefordert",order_data:"Bestelldaten",order_date:"Bestellt am",order_now:{buy_now:"Kostenpflichtig bestellen",by_instant_purchase:"per Sofortkauf bestellen",instant_purchase_success:"Das Dokument wurde gekauft",instant_purchase_unavailable:"Dokument im Sofortkauf nicht verf\xFCgbar",instant_purchases_success:"Die Dokumente wurden gekauft",language_version_unavailable:"Sprachfassung nicht verf\xFCgbar",redirect_to_webshop:"Weiterleitung zum Webshop",webshop:"Webshop",webshop_unavailable:"Artikel im Webshop nicht erh\xE4ltlich"},order_successfully_requested:"Das Dokument wurde angefordert",ordered:"Bestellt",ordered_by:"Bestellt von",ordered_by_email:"Bestellt von (E-Mail)",orders:"Bestellungen",orders_overview:{article_successfully_deleted:"Das Dokument wurde gel\xF6scht",article_successfully_ordered:"Das Dokument wurde bestellt",article_successfully_released:"Das Dokument wurde freigegeben",articles_successfully_deleted:"Die Dokumente wurden gel\xF6scht",articles_successfully_ordered:"Die Dokumente wurden bestellt",articles_successfully_released:"Die Dokumente wurden freigegeben",articles_successfully_requested:"Die Dokumente wurden angefordert",change_dataset:"Datensatz \xE4ndern",change_dataset_success:"Der Datensatz wurde ge\xE4ndert",delete_order:"Bestellung l\xF6schen",delete_orders:"Bestellungen l\xF6schen",deliver_order_success:"Die Bestellung wurde geliefert",deliver_orders_success:"Die Bestellungen wurden geliefert",do_you_want_to_delete_single_order:"M\xF6chten Sie die Bestellung wirklich l\xF6schen?",do_you_want_to_delete_x_orders:"M\xF6chten Sie die {{count}} Bestellungen wirklich l\xF6schen?",edit_order:"Bestelldaten \xE4ndern",edit_request:"Ausgew\xE4hlte Dokumente bearbeiten",mark_as_approved:"Als freigegeben markieren",mark_as_delivered:"Dokument(e) manuell auf geliefert setzen",mark_as_requested:"Als angefordert markieren",no_filtered_items_in_delivered:"Keine Datens\xE4tze in Lieferungen gefunden.",no_filtered_items_in_ordered:"Keine Datens\xE4tze in Bestellungen gefunden.",no_filtered_items_in_releases:"Keine Datens\xE4tze in Freigaben gefunden.",no_filtered_items_in_requests:"Keine Datens\xE4tze in Anforderungen gefunden.",no_filtered_items_in_shopping_cart:"Keine Datens\xE4tze im Warenkorb gefunden.",no_items_in_delivered:"Keine Datens\xE4tze in Lieferungen.",no_items_in_ordered:"Keine Datens\xE4tze in Bestellungen.",no_items_in_releases:"Keine Datens\xE4tze in Freigaben.",no_items_in_requests:"Keine Datens\xE4tze in Anforderungen.",no_items_in_shopping_cart:"Keine Datens\xE4tze im Warenkorb.",order_directly:"Direkt bestellen",order_selected:"Ausgew\xE4hlte Dokumente bestellen",order_selected_directly:"Dokument(e) direkt bestellen",order_successfully_deleted:"Die Anforderung wurde gel\xF6scht",order_successfully_rejected:"Die Anforderung wurde abgewiesen",order_successfully_updated:"Die Bestellung wurde aktualisiert",orders_successfully_deleted:"Die Anforderungen wurden gel\xF6scht",orders_successfully_rejected:"Die Anforderungen wurden abgewiesen",orders_successfully_updated:"Die Bestellungen wurden aktualisiert",reject_selected:"Dokument(e) abweisen",release_selected:"Dokument(e) freigeben",request_company_data:"Fehlende Norm anfordern",request_selected:"Dokument(e) anfordern",send_back_to_ordered:"Dokument(e) zur\xFCck zu Bestellt",send_back_to_released:"Dokument(e) zur\xFCck zu Freigaben",send_back_to_requested:"Dokument(e) zur\xFCck zu Anforderungen",send_back_to_shopping_cart:"Dokument(e) zur\xFCck zum Warenkorb",set_ordered:"Dokument(e) manuell auf bestellt setzen"},reject:{reject:"Abweisen",title:"Anforderung abweisen"},reject_date:"Abgelehnt am",reject_reason:"Ablehnungsgrund",rejected_by:"Abgelehnt von",rejected_by_email:"Abgelehnt von (E-Mail)",released:"Freigegeben",released_by:"Freigegeben von",released_by_email:"Freigegeben von (E-Mail)",released_date:"Freigegeben am",releases:"Freigaben",request:{buyer_reference:"K\xE4uferreferenz",format:"Format",order_directly:"Direkt anfordern",order_number:"Bestellnummer",paper:"Papier",single_purchase:"Einzelkauf",subscription:"Abonnement",title:"Anforderung",type_of_request:"Anforderungsart"},request_all:"Alle anfordern",request_date:"Angefordert am",request_selected:"Ausgew\xE4hlte Dokumente anfordern",request_warning:"Zu Ihrer Anforderung liegt bereits ein Dokument oder eine Bestellanforderung im Unternehmen vor.",requested:"Angefordert",requested_by:"Angefordert von",requested_by_email:"Angefordert von (E-Mail)",requests:"Anforderungen",shopping_cart:"Warenkorb",title:"Bestellwesen"},search:{all_records:"Alle Datens\xE4tze",ce_search:{datasets_all:"Alle Datens\xE4tze",datasets_harmonized:"Harmonisierte Datens\xE4tze",datasets_mandated:"Mandatierte Datens\xE4tze",directive:"Richtlinie",directives_all:"Alle Richtlinien",title:"CE-Suche",tooltip_harmonized_or_directive:"Dieser Datensatz steht im Zusammenhang mit einer CE-Richtlinie",tooltip_mandated:"Dieser Datensatz steht in Konkordanz mit einer europ\xE4ischen Norm",use_ce_search:"
1CE-Suche verwenden"},context:"Dokumentansicht",control_file:{base_path:"Basispfad",base_path_placeholder:"C:/Dokumente/",empty_base_path_error:"Bitte geben Sie einen Basispfad an",import_document:"Dokument-Import",link_error_line_no:"Zeile {{lineNo}}: ",link_error_type:{format:"Falsches Format",unknown:"Unbekannter Fehler"},link_successful_count_multiple:"{{count}} Datens\xE4tze wurden verkn\xFCpft",link_successful_count_single:"1 Datensatz wurde verkn\xFCpft",title:"Verkn\xFCpfen via Controldatei"},create_layout:"Layout erstellen",customer_fields:"Kundenfelder",document_list:{copy_link_to_clipboard_action:"in die Zwischenablage kopieren",copy_link_to_clipboard_description:"Der Link zu \u201E{{link}}\u201C kann direkt aus Nautos heraus nicht ausgef\xFChrt werden. Sie k\xF6nnen den Link aber in das URL Feld des Browser kopieren, um die Datei anzuzeigen.",document_is_locked:"Dokument ist gesperrt",document_protected:{prepare_for_download:"Das Dokument ist gesch\xFCtzt. Gesch\xFCtzte Dokumente werden nicht in Nautos angezeigt. Die Bereitstellung erfolgt ohne Dokumentstempel.",title:"Dokument herunterladen"},link_successfully_copied:"Link in Zwischenablage kopiert",tooltip_context:"Dokumente Online vorhanden",tooltip_mixed:"Inhalte zur Anzeige vorhanden",tooltip_userfiles:"Dokumentverkn\xFCpfungen vorhanden"},document_locked:{no_license_text:"Sie haben keine Berechtigung dieses Dokument zu \xF6ffnen.",no_license_title:"Lizenz nicht vorhanden",simultan_license_text:"Sie haben momentan keine Zugriffsrechte f\xFCr dieses Dokument. Bitte wenden Sie sich an Ihren Admin.",simultan_license_title:"Dokument gesperrt"},document_ownership:{info:"F\xFCr die folgenden Datens\xE4tze sind Sie als Dokumenteigner hinterlegt.",no_documents_owned:"Sie sind aktuell noch f\xFCr keine Datens\xE4tze als Dokumenteigner hinterlegt.",title:"Mir zugewiesene Datens\xE4tze"},document_upload:{add_additional_document:"Weiteres Dokument hinzuf\xFCgen",allowed_file_types:"Erlaubte Dateitypen: {{fileTypesList}}",building:"Geb\xE4ude",choose_hosted:"Gehostetes w\xE4hlen...",closet:"Schrank",connected_documents:"Verkn\xFCpfte Dokumente",deleting:"Wird gel\xF6scht",digital_document:"Online Dokument",file:"Datei",hosted_file:{file_too_big:"Max. Dateigr\xF6\xDFe von {{fileSizeLimit}} \xFCberschritten",warning:"Die Datei wird im Anschluss an das Speichern und die Lizenzwahl hochgeladen und steht erst dann zur Verf\xFCgung, wenn die Verifizierung der Datei beendet wurde. Der Status der Datei kann jederzeit im Hosting Explorer eingesehen werden. Bitte schlie\xDFen Sie in der Zeit nicht das Browserfenster und laden Sie nicht die Seite neu."},link_hosted:"Gehostete Datei",link_local:"Lokale Verkn\xFCpfung",link_paper:"Papierverkn\xFCpfung",link_type:"Verkn\xFCpfungsart",link_url:"URL Verkn\xFCpfung",misc:"Sonstige",other_language:"Andere Sprache",path:"Pfad",redline:"Redline",room:"Raum",save_success:"Die \xC4nderungen wurden \xFCbernommen",trule:"Technische Regel",upload_hosted:"Neues hochladen...",uploading:"Wird hochgeladen",url:"URL",wnorm:"Werknorm"},extended_search:{add_search_field:"Suchfeld hinzuf\xFCgen",change_search:"Suche anpassen",copied_template_successfully:"Die Suchvorlage wurde kopiert",created_dynamic_folder_successfully:"Die Suchvorlage wurde als Ordner erstellt",created_observed_template_successfully:"Die \xFCberwachte Suchvorlage wurde erstellt",created_template_successfully:"Die Suchvorlage wurde erstellt",default_layout:"Standardansicht",delete_layout:"Tabellenlayout l\xF6schen",delete_layout_request:"M\xF6chten Sie das Layout \u201E{{name}}\u201C wirklich l\xF6schen? Das Layout wird damit unwiederbringlich gel\xF6scht",delete_template:"Suchvorlage l\xF6schen",delete_template_request:"M\xF6chten Sie die Suchvorlage \u201E{{name}}\u201C wirklich l\xF6schen?",deleted_template_successfully:"Die Suchvorlage wurde gel\xF6scht",dynamic_folders:"Dynamische Ordner",dynamic_operator_field:"Feldverkn\xFCpfung",dynamic_search:"Dynamische Suche",dynamic_search_operator:"Hauptverkn\xFCpfung",field_value:"Feldwert",flag_status_modal_subfolder_headline:"Vorabinformationen",modified_template_successfully:"Die Suchvorlage wurde ge\xE4ndert",modify_template:"Suchvorlage bearbeiten",modify_template_info:"Organisieren Sie die erweiterte Suche nac
1h Ihren W\xFCnschen um.",my_presets:"Meine Suchvorlagen",no_dynamic_folders_available:"Keine dynamischen Ordner vorhanden",no_search_result:"Keine Eintr\xE4ge gefunden.",no_shared_folders:"Keine Ordner mit Ihnen geteilt.",no_templates_available:"Keine eigenen Suchvorlagen vorhanden",remove_search_field:"Suchfeld entfernen",reqIfConvertible:"Nur ReqIF konvertierbare Normen anzeigen",save_changes_to_template:"\xC4nderungen in Vorlage speichern",search_all_favorite_folders:"Alle Favoritenordner",search_all_folders:"Alle Ordner",search_all_note_folders:"Alle Notizordner",search_field:"Suchfeld",search_field_invalid:"Der eingegebene Wert ist ung\xFCltig",search_templates:"Suchvorlagen",title:"Erweiterte Suchfelder",to:"bis",update_search_template_success:"Die Suchvorlage wurde aktualisiert",use_dynamic_search:"Dynamische Suche verwenden",value_list_tooltip:"Wert ausw\xE4hlen"},extended_search_template_create:{insufficient_length:"Der Name muss mindestens {{minLength}} Zeichen lang sein.",search_template_already_exists:"Die Suchvorlage existiert bereits.",title:"Suchvorlage erstellen"},favorites_folder_select:{as_subfolder_of:"Als Unterordner von",copy_to_new_favorites_folder:"In neuen Favoritenordner kopieren",create_dynamic_folder:"Als Ordner anlegen"},filelist_import:{one_successful:"1 Datensatz wurde importiert",several_successful:"{{count}} Datens\xE4tze wurden importiert"},full_view_template:"alle Datenfelder",hitlist:{add_to_favorites:"Zu Favoriten hinzuf\xFCgen",edit_metadata:"Datensatz als Firmendatensatzvorlage nutzen",element_selected:"1 Datensatz ausgew\xE4hlt",elements_selected:"{{count}} Datens\xE4tze ausgew\xE4hlt",favorite_successfully_added:"Der Favorit wurde hinzugef\xFCgt",favorite_successfully_removed:"Der Favorit wurde entfernt",favorites_successfully_added:"Die Favoriten wurden hinzugef\xFCgt",favorites_successfully_removed:"Die Favoriten wurden entfernt",folder_actions:"Ordneraktionen",folder_actions_tooltip:"Ordneraktionen anzeigen",harmonized:"harmonisiert",layout_deleted:"Das Layout wurde gel\xF6scht",layout_saved:"Das Layout wurde gespeichert",link_documents_via_assignment_file:"Dokumente via Zuordnungsdatei verkn\xFCpfen",mandated:"mandatiert",no_items_found:"Ihre Suche ergab keine Treffer.",note_successfully_added:"Die Notiz wurde hinzugef\xFCgt",note_successfully_removed:"Die Notiz wurde entfernt",notes_successfully_added:"Die Notizen wurden hinzugef\xFCgt",notes_successfully_removed:"Die Notizen wurden entfernt",order_added_to_shopping_cart:"Das Dokument wurde zum Warenkorb hinzugef\xFCgt",orders_added_to_shopping_cart:"{{count}} Dokumente wurden zum Warenkorb hinzugef\xFCgt",orders_directly_requested:"{{count}} Dokumente wurden angefordert",record_found:"1 Datensatz gefunden",records_found:"{{count}} Datens\xE4tze gefunden",remove_from_favorites:"Als Favorit entfernen",remove_from_favorites_info:"M\xF6chten Sie wirklich alle Favoriten entfernen?",remove_from_favorites_title:"Alle Favoriten entfernen",remove_from_notes_info:"M\xF6chten Sie wirklich alle Notizen entfernen?",remove_from_notes_title:"Alle Notizen entfernen",remove_note:"Als Notiz entfernen",reset_search:"Suche zur\xFCcksetzen",save_search:"Suche speichern",search_result:"1 Suchergebnis",search_results:"{{count}} Suchergebnisse",validation_name_min_length:"Der Name muss mindestens 3 Zeichen lang sein."},import_file_list:"Dateiliste importieren",item_detail:{abstract:"Kurzreferat",classification:"Klassifikation",customer_fields_edit:"Kundenfelder bearbeiten",customer_fields_edit_success:"Die Kundenfelder wurden bearbeitet",descriptors:"Suchbegriffe",notes:"Bemerkungen",show_empty_fields:"Leere Felder anzeigen",title:"Vollanzeige"},main_data:"Hauptdaten",metadata_version:"Metadatenstand",mini_detail_layout:{create:"Detailanzeige Layout erstellen",delete:"Detailanzeige Layout l\xF6schen",delete_info:"Beim L\xF6schen wird das Format endg\xFCltig entfernt und kann nicht wiederhergestellt werden.",edit:"Detailanzeige Layout bearbeiten",title:"Detailanzeige Layout",validation_unique_name:"Bitte verwenden Sie einen anderen Namen als den Default-Namen."},no_admin_rights:"Keine Admin-Rechte vorhanden",no_information:"Keine Information",no_search_criteria_added:"Keine Filterkriterien hinzugef\xFCgt.",no_search_in_history:"Kein Suchverlauf vorhanden",notes_folder_select:{copy_to_new_favorites_folder:"In neuen Notizordner kopieren",note:"Notiz"},options:{company_datasets:"Firmendatens\xE4tze",with_document:"Mit Dokument"},procurement:"Beschaffung",remove_field:"Feld entfernen",reqif:{conversion:"In ReqIF konvert
1ieren",conversion_create_failed_no_document:"Bitte erwerben Sie mindestens die Sprachfassung DE vor der Konvertierung.",conversion_create_failed_no_license:"Lizenzierung vor der Konvertierung n\xF6tig.",conversion_create_failed_title:"Konvertierung nicht m\xF6glich",conversion_failed:"Bei der Konvertierung ist ein Fehler aufgetreten",conversion_limit_reached:"Maximal 25 Datens\xE4tze konvertierbar",conversion_message_multi:"{{count}} Dokumente werden in ReqIF konvertiert",conversion_message_single:"Ein Dokument wird in ReqIF konvertiert",language_error:"F\xFCr die Konvertierung steht nur die Originalsprache der Dokumente zur Verf\xFCgung.",multi:{conversion_button:"{{count}} Konvertieren",conversion_document_all_languages:"Alle Sprachfassungen",conversion_document_missing_count:"{{count}} Dokument(e) nicht gefunden",conversion_error_document_missing:"Dokument(e) nicht gefunden",conversion_error_language:"{{count}} Dokumente stehen aufgrund ihrer Sprache nicht zur Verf\xFCgung",conversion_error_unbought:"Dokument muss vor der Konvertierung erworben werden",conversion_error_unconvertible:"ReqIf-Konvertierung nicht verf\xFCgbar",conversion_error_unlicensed:"Dokument nicht lizensiert",conversion_unbought_count:"{{count}} Dokument(e) nicht erworben",conversion_unconvertible_count:"{{count}} Dokument(e) nicht konvertierbar",conversion_unlicensed_count:"{{count}} Dokument(e) nicht lizensiert",title:"Dokumente in ReqIF-Format konvertieren"},no_conversion:"ReqIF-Konvertierung nicht verf\xFCgbar"},search_criteria:"Suchkriterien",search_history:"Suchverlauf",show_all_metadata:"Alle Datenfelder anzeigen",start_search:"Suche ausf\xFChren",table_layout:{info_text:"\xC4ndern Sie das Tabellenlayout, indem Sie die Felder per Drag & Drop neu sortieren.",invalid_value:"Ung\xFCltiger Name",presets:"Standardlayout",title:"Tabellenlayout",title_create:"Tabellenlayout erstellen",title_edit:"Tabellenlayout bearbeiten"},tenant_wide_template:"Firmenweite Ansicht",title:"Suche"},sign_up:{activation_error:"Hoppla! Der von Ihnen genutzte Link funktioniert nicht mehr. Wenden Sie sich bitte an Ihre Ansprechperson.",activation_title:"Konto aktivieren",back_to_login:"Zum Login",forgot_password:{help_text:"Geben Sie hier den Benutzernamen ein, mit dem Sie sich bei Nautos einloggen.",subtitle:"Kein Problem!",success_text:"Wenn der Benutzername existiert, erhalten Sie in K\xFCrze eine E-Mail mit einem Link zum Zur\xFCcksetzen des Passworts.",title:"Passwort vergessen?",username_not_found:"Benutzername wurde nicht gefunden"},login:{ip_login_failed:"Anmeldung \xFCber IP-Adresse fehlgeschlagen. Bitte kontaktieren Sie Ihren Administrator.",login:"Anmelden",login_external:"Manuell anmelden?",login_failed:"Anmeldung fehlgeschlagen",login_title:"Anmeldung",saml_auth_failed:"Ung\xFCltiger Saml-Antwortstatus: Der antwortende Provider war nicht in der Lage, den Principal zu authentifizieren.",saml_config_not_found:"SAML-Konfiguration wurde nicht gefunden / wurde nicht geladen",saml_invalid_attr_name_or_value:"Ung\xFCltiger Saml-Antwortstatus: Unerwarteter oder ung\xFCltiger Inhalt wurde in einem Saml-Attribut oder Saml-Attributwert gefunden.",saml_no_auth_context:"Ung\xFCltiger Saml-Antwortstatus: Die angegebenen Anforderungen an den Authentifizierungskontext k\xF6nnen vom Antwortenden nicht erf\xFCllt werden.",saml_no_available_idp:"Ung\xFCltiger Saml-Antwortstatus: Keines der unterst\xFCtzten Identit\xE4tsprovider-Elemente kann aufgel\xF6st werden oder keiner der unterst\xFCtzten Identit\xE4tsprovider ist verf\xFCgbar.",saml_no_passive:"Ung\xFCltiger Saml-Antwortstatus: Der antwortende Provider kann den Principal nicht passiv authentifizieren, wie es angefordert wurde.",saml_no_supported_idp:"Ung\xFCltiger Saml-Antwortstatus: Keiner der Identit\xE4tsprovider wird vom Intermedi\xE4r unterst\xFCtzt.",saml_partial_logout:"Ung\xFCltiger Saml-Antwortstatus: Der Sitzungsteilnehmer war nicht in der Lage, die Abmeldung an alle anderen Sitzungsteilnehmer weiterzugeben.",saml_request_denied:"Ung\xFCltiger Saml-Antwortstatus: Der SAML-Responder oder die SAML-Autorit\xE4t ist in der Lage, die Anfrage zu bearbeiten, hat sich aber entschieden, nicht zu antworten. Dies KANN verwendet werden, wenn Bedenken \xFCber den Sicherheitskontext der Anforderungsnachricht oder der Sequenz von Anforderungsnachrichten, die von einem bestimmten Anforderer empfangen wurden, bestehen.",saml_requester:"Ung\xFCltiger Saml-Antwortstatus: Die Anfrage konnte aufgrund eines Fehlers auf Seiten des Anfragenden nicht ausgef\xFChrt werden.",saml_responder:"Ung\xFCltiger Saml-Antwortstatus: Die Anfrage konnte aufgrund eines Fehlers seitens des SAML-Responders oder der SAML-Autorit\xE4t nicht ausgef\xFChrt werden.",saml_version_mismatch:"Ung\xFCltiger Saml-Antwortstatus: Der SAML-Responder konnte die Anfrage nicht verarbeiten, weil die Version der Anfragemeldu
1ng falsch war.",support_token_title:"Token",tenant_name:"Firmenkennung",username_password_combination_does_not_exist:"Die Kombination aus Firmenkennung, Benutzername und Passwort existiert nicht"},logout_information:"Sie haben sich abgemeldet",password_change_title:"Passwort zur\xFCcksetzen",password_criteria:{digit_or_special:"Mindestens eine Ziffer oder ein Sonderzeichen",info_text:"Bitte w\xE4hlen Sie ein sicheres Passwort. Es muss folgende Kriterien erf\xFCllen:",lowercase:"Mindestens ein Kleinbuchstabe",min_length:"Mindestens 10 Zeichen",passwords_do_not_match:"Die Passw\xF6rter stimmen nicht \xFCberein",uppercase:"Mindestens ein Gro\xDFbuchstabe"},password_repeat:"Passwort wiederholen",password_set_success:"Das Passwort wurde gesetzt. Sie k\xF6nnen sich nun mit Ihren Anmeldedaten einloggen.",resend_invitation:{resend_invitation_success:"Das Passwort wurde f\xFCr {{successCount}} Benutzer erfolgreich / f\xFCr {{errorCount}} nicht erfolgreich zur\xFCckgesetzt",resend_invitation_success_only:"Das Passwort wurde f\xFCr {{successCount}} Benutzer zur\xFCckgesetzt"},welcome_to_nautos:"Willkommen bei Nautos"},user_management:{add_license:"Lizenz hinzuf\xFCgen",company_management:{added_users_successfully:"Benutzer wurden hinzugef\xFCgt",alternative_name:"Alternativname",companies_successfully_deleted:"Die Firmen wurden gel\xF6scht",company_alias_already_exists:"Die Firma kann nicht gespeichert werden, da es bereits eine Firma mit diesem Alternativnamen gibt.",company_conflict_default_company_name:"Der Name einer Standardfirma eines Mantanten kann nicht ge\xE4ndert werden.",company_conflict_default_company_user:"Benutzer aus der Standardfirma eines Mandanten k\xF6nnen nicht gel\xF6scht werden. Bitte wechseln Sie in die gew\xFCnschte Firma und f\xFCgen Sie den Benutzer dort hinzu.",company_customernumber_empty:"Es muss eine Kundennummer ausgew\xE4hlt werden.",company_failed_title:"Firma kann nicht gespeichert werden.",company_name_already_exists:"Firma kann nicht gespeichert werden, da es bereits eine Firma mit diesem Namen gibt.",company_name_empty:"Es muss ein Name angegeben werden.",company_successfully_created:"Die Firma wurde angelegt",company_successfully_deleted:"Die Firma wurde gel\xF6scht",company_successfully_edited:"Die Firma wurde bearbeitet",create_company:"Firma anlegen",delete_company:"Firma l\xF6schen",delete_companies:"Firmen l\xF6schen",delete_company_conflict_default_company:"Die Standardfirma eines Mandanten kann nicht gel\xF6scht werden.",delete_company_conflict_last_company:"Die letzte verbleibende Firma eines Mandanten kann nicht gel\xF6scht werden.",delete_company_conflict_users_assigned:"Firmen mit zugewiesenen Benutzern k\xF6nnen nicht gel\xF6scht werden. Entfernen Sie zun\xE4chst alle Benutzer, speichern Sie die \xC4nderungen und l\xF6schen Sie danach die Firma.",delete_company_not_possible_title:"Die Firma kann nicht gel\xF6scht werden.",delete_selected_companies:"Ausgew\xE4hlte Firmen l\xF6schen",do_you_want_to_delete_company_x:"M\xF6chten Sie die Firma \u201E{{ companyName }}\u201C wirklich l\xF6schen?",do_you_want_to_delete_the_companies:"M\xF6chten Sie die ausgew\xE4hlten Firmen wirklich l\xF6schen?",do_you_want_to_delete_the_company:"M\xF6chten Sie die ausgew\xE4hlte Firma wirklich l\xF6schen?",edit_company:"Firma bearbeiten",title:"Firmen"},cost_center:"Kostenstelle",do_you_want_to_remove_x_licenses:"M\xF6chten Sie {{count}} Lizenzen entfernen?",downloads:{date_of_creation:"Datum der Erstellung",date_of_deletion:"Datum des L\xF6schzeitpunkts",export_type:{document:"Dokumenten Export",document_access_statistics:"Statistiken Export",document_licenses:"Dokumentlizenzen Export",header:"Bereich",hosted_file:"Gehostete Dateien Export",license_settings:"Lizenzeinstellungen Export",login_statistics:"Statistiken Export",order_management:"Bestellwesen Export",order_statistics:"Statistiken Export",reqif_conversion:"ReqIF Konvertierung",search:"Metadaten Export"},title:"Downloads"},groups:{add_another_field:"Weiteres Kriterium hinzuf\xFCgen",add_user:"Benutzer hinzuf\xFCgen",create_group:"Gruppe anlegen",delete_group:"Gruppe l\xF6schen",delete_groups:"Gruppen l\xF6schen",do_you_want_to_delete_group_x:"M\xF6chten Sie die Gruppe \u201E{{groupName}}\u201C wirklich l\xF6schen?",do_you_want_to_delete_the_groups:"M\xF6chten Sie die Gruppen wirklich l\xF6schen?",edit_group:"Gruppe bearbeiten",group_creation_requested:"Die Gruppe wird erstellt. Aufgrund der Nutzeranzahl kann dies einige Zeit in Anspruch nehmen",group_edit_requested:"Die Gruppe wird bearbeitet. Aufgrund der Nutzeranzahl kann dies einige Zeit in Anspruch nehmen",group_is_locked:"Diese Gruppe ist gesperrt",group_name:"Gruppenname",group_name_already_in_use:"Gruppenname bereits vergeben",group_successfully_created:"Die Gruppe wurde erstellt",group_successfully_deleted:"Die Gruppe wurde gel\xF6scht",group_successfully_edited:"Die Gruppe wurde bearbeitet",group_successfully_locked:"Die Gruppe wurde gesperrt",group_successfully_unlocked:"Die Gruppe wurde entsperrt",group_types:{dynamic_group:"Dynamische Benutzerliste",static_group:"Statische Benutzerliste (Standard)"},group_was_locked_on_by:"Diese Gruppe wurde am {{date}} von \u201E{{user}}\u201C gesperrt.",groups_successfully_deleted:"Die Gruppen wurden gel\xF6scht",info_text:"Gruppen haben eine zugewiesene Rolle, welche die Berechtigungen der zugeordneten Benutzer erweitern kann. Hat ein Benutzer z.B. die Rolle \u201EReadOnly\u201C und die Gruppe \u201EStandard\u201C, erh\xE4lt er automatisch die Rechte der h\xF6heren Gruppenrolle \u201EStandard\u201C. Wenn die individuelle Rolle h\xF6her ist (z.B. \u201EAdmin\u201C), bleibt diese unver\xE4ndert bestehen.",info_title:"Rollenvergabe in Gruppen",information_box_system_group_content:"Diese Benutzergruppe wird automatisch angelegt, alle Benutzer werden dynamisch hinzugef\xFCgt. Die Gruppe dient zur globalen Zuordnung von Lizenzen.",information_box_system_group_title:"Systemgruppe",license_removal_hint:"Beim Entfernen werden die Lizenzen von der Gruppe entfernt. Die Lizenz ist weiterhin verf\xFCgbar und wird nicht gel\xF6scht.",licenses_successfully_added:"Die Lizenzen wurden hinzugef\xFCgt",lock_group:"Gruppe sperren",no_groups_assigned:"Keine Gruppen zugeordnet.",no_groups_foun
1d:"Keine Gruppen gefunden.",system_all_users:"Alle Benutzer",title:"Gruppen",unlink_user_title:"Benutzerzuordnung entfernen",unlock_group:"Gruppe entsperren",unselectable_system_groups_note:"Die Gruppe \u201EAlle Benutzer\u201C kann nicht ausgew\xE4hlt werden",user_removal_hint:"Der Benutzer geh\xF6rt dann nicht mehr dieser Gruppe an und verliert die damit verbunden Rechte.",users_removal_hint:"Die Benutzer geh\xF6ren dann nicht mehr dieser Gruppe an und verlieren die damit verbunden Rechte.",users_selected:"{{count}} Benutzer ausgew\xE4hlt"},information_box_content:"Bitte speichern Sie den neuen Nutzer zun\xE4chst, um Gruppen und Lizenzen hinzuf\xFCgen zu k\xF6nnen.",information_box_title:"Hinweis zur Gruppen- und Lizenzzuordnung",license_successfully_applied:"Die Lizenz wurde \xFCbernommen",lift_suspension:"Sperrung aufheben",locations:{add_alternative_name:"Alternativname hinzuf\xFCgen",add_locked_name:"Gesperrten Wert hinzuf\xFCgen",alternative_names:"Alternativnamen",alternative_names_tip:"Die Alternativnamen dienen dem Abgleich von ADFS und SAML Claims, falls Sie ein SSO Verfahren zum Login nutzen.",cannot_delete_location_with_users:"Sie k\xF6nnen einen Standort erst l\xF6schen, wenn kein Benutzer zugeordnet ist.",change_location:"Standort wechseln",change_location_note:"Bitte w\xE4hlen Sie einen neuen Standort f\xFCr den / die Benutzer, den Sie entfernen m\xF6chten.",create_location:"Standort anlegen",delete_location:"Standort l\xF6schen",do_you_want_to_delete_location:"M\xF6chten Sie den Standort wirklich l\xF6schen?",edit_location:"Standort bearbeiten",location_name_already_in_use:"Standortname bereits vergeben",location_successfully_created:"Der Standort wurde erstellt",location_successfully_deleted:"Der Standort wurde gel\xF6scht",location_successfully_edited:"Der Standort wurde bearbeitet",locked_values:"Gesperrte Werte",max_locations_info:"Die zul\xE4ssige Anzahl der Standorte ist erreicht. Bitte wenden Sie sich an den Support f\xFCr eine Anpassung.",no_users_in_other_locations:"Es sind keine Benutzer anderen Standorten zugeordnet.",search_locations:"Standorte durchsuchen",title:"Standorte",users_add_note:"Hinweis: Der aktuelle Standort wird beim Hinzuf\xFCgen des Nutzers \xFCberschrieben."},lock:"Sperren",locked:"Gesperrt",logging_settings_save_error:"Die Protokollierungs-Einstellungen konnten nicht gespeichert werden.",logging_settings_saved_successfully:"Die Protokollierungs-Einstellungen wurden gespeichert.",login_options:{headline:"Zugriffsmethode w\xE4hlen f\xFCr: ",iplogin:"IP-Login",ldap:"LDAP",password:"Benutzer & Passwort",saml:"SAML v1"},logout_options:{headline_url_parameter:"Anmeldeverhalten via URL-Parameter",logout_disabled:"Abmeldefunktion deaktiviert",logout_option:"Abmeldeverhalten",logout_page:"Abmeldeseite",logout_url_invalid:"Ung\xFCltige URL: Bitte geben Sie eine URL ein, die mit \u201Ehttp://\u201C oder \u201Ehttps://\u201C beginnt und der allgemeinen URL-Struktur entspricht.",navigate_to_custom_logout_page:"Weiterleitung zur benutzerdefinierten Abmeldeseite",navigate_to_logout_page:"Weiterleitung zur Standard Abmeldeseite"},management:"Verwaltung",options_settings_order_notification:"E-Mails f\xFCr Bestellungen empfangen",options_title:"Optionen",other:"Sonstiges",proxy_settings_saved_successfully:"Die Proxy-Einstellungen wurden gespeichert",reason:"Begr\xFCndung",role_management:{base_role:"Basisrolle",cannot_delete_custom_role_with_users_or_group:"Sie k\xF6nnen eine Rolle erst l\xF6schen, wenn keine Benutzer oder Gruppen zugeordnet sind.",create_role:"Rolle anlegen",custom_role:"Individuelle Rolle",custom_role_name_already_used:"Name ist bereits vergeben",custom_role_successfully_deleted:"Die benutzerdefinierte Rolle wurde gel\xF6scht",delete_custom_role:"Rolle l\xF6schen",do_you_want_to_delete_custom_role_x:"M\xF6chten Sie die benutzerdefinierte Rolle wirklich l\xF6schen?",edit_role_title:"Rolle bearbeiten",no_custom_rules_created:"Keine eigenen Rollen vorhanden.",read_only_role:"ReadOnly",rights:{admin_settings:"Einstellungen im Bereich Verwaltung anzeigen",company_data:"Firmendatens\xE4tze verwalten",manage_own_folders:"Eigene Favoriten und Notizen anlegen, bearbeiten, l\xF6schen",manage_user_group_location_company:"Zugriff auf Benutzer, Gruppen, Standorte, Firmen",order_documents_from_result_lists:"Dokumente aus Ergebnislisten anfordern (Warenkorb und Anforderung sehen)",read_orders:"Leserecht im Bestellwesen (mit Export)",release_orders:"Freigeben von Anforderungen",search_configuration:"Konfiguration (Ergebnisliste, Minidetailanzeige, Suchvorlagen)",share_folders:"Favoriten und Notizen mit anderen teilen",show_document_management:"Dokumentverwaltung anzeigen (mit Export, Filter und Detailansicht)",
1show_license_and_document_management:"Lizenzen, Dokumentverwaltung & Download verwalten",show_statistics_and_downloads:"Statistik anzeigen"},role_successfully_changed:"Die Rolle wurde bearbeitet",role_successfully_created:"Die Rolle wurde erstellt",title:"Rollenverwaltung"},roles:{admin:"Die Rolle berechtigt zur vollen Nutzung und Administration der Software.",custom_roles:"Die Rechte dieser Rolle wurden individuell in den Einstellungen konfiguriert",editor:"Die additive Rolle erweitert einen Standardnutzer um die M\xF6glichkeit, eigen Metadatens\xE4tze anzulegen und zu bearbeiten sowie um das Recht, Dokumentverkn\xFCpfungen vorzunehmen.",order_manager:"Die additive Rolle erweitert einen Standardnutzer um das Recht zum Bearbeiten und Bestellen von Anforderungen im Rahmen des Bestellprozesses.",read_and_request:"Mit der additiven Rolle Read and Request kann ein Nutzer mit Read Only Recht Datens\xE4tze zum Warenkorb hinzuf\xFCgen und anfordern.",read_only:"Die Rolle berechtigt zum reinen Lesen von Inhalten in Kombination mit eingeschr\xE4nkten Suchprozessen.",standard:"Die Rolle berechtigt zur vollen Nutzung der Software. Eigene Ansichten k\xF6nnen konfiguriert werden, zudem steht das Favoritenmanagement nebst \xDCberwachungsfunktionen und das Anforderungswesen zur Verf\xFCgung."},search_groups:"Gruppen durchsuchen",search_users:"Benutzer durchsuchen",settings:"Einstellungen",sso:{add_role:"Rolle hinzuf\xFCgen",add_user_attribute:"Benutzer-Attribut hinzuf\xFCgen",adfs:{automatic:"Automatisch",certificate_enddate:"Ablaufdatum Zertifikat",choose_only_one_file:"Bitte nicht mehr als eine Datei hinzuf\xFCgen",claim_assign:"Benutzer-Attribut-Zuordnung",claim_idp_name:"IDP-Attribut",claim_map_successfully_deleted:"Benutzer-Attribut-Zuordnung wurde gel\xF6scht",claim_not_found:"Die in der Claim - \u201E{{attribute}}\u201C - Zuordnung angegebene Uri \u201E{{uri}}\u201C stimmt mit keinem erhaltenem Claim \xFCberein.",claim_type_optional:"Wert ist optional",claim_types_offered:"Angebotene Anspr\xFCche aus Metadata-XML",company_claim_info:"Das Benutzer-Attribut Firma ist ein Pflichtattribut am Benutzeraccount. Wird kein Wert \xFCber die Zuordnungen \xFCbertragen, wird ein neuer Benutzer automatisch der Standard-Firma zugeordnet.",create_idp_connection:"IDP-Verbindung anlegen",create_shibboleth_connection:"Shibboleth-Verbindung anlegen",delete_claim_map_header:"Benutzer-Attribut-Zuordnung l\xF6schen",delete_idp_connection:"IDP-Verbindung l\xF6schen",delete_role_map_header:"Rollen-Zuordnung l\xF6schen",delete_shibboleth_connection:"Shibboleth-Verbindung l\xF6schen",do_you_want_to_delete_idp_connection_x:"M\xF6chten Sie die IDP-Verbindung \u201E{{name}}\u201C wirklich l\xF6schen?",do_you_want_to_delete_shibboleth_connection_x:"M\xF6chten Sie die Shibboleth-Verbindung \u201E{{name}}\u201C wirklich l\xF6schen?",edit_idp_connection:"IDP-Verbindung bearbeiten",edit_shibboleth_connection:"Shibboleth-Verbindung bearbeiten",entity_id:"Entity ID",entity_id_info:"Durch das Kennzeichnen als prim\xE4rer Bezeichner wird dieser Bezeichner f\xFCr von IDP initiierte SAML-Antworten gesendet.",identity_provider_claim_type_description:"Anspruchsbeschreibung",identity_provider_claim_type_display_name:"Anzeigename",identity_provider_claim_type_name:"Anspruchsname (mit Namensraum falls vorhanden)",idp_certificate_issuer:"Name der Zertifizierungsstelle",idp_certificate_subjectname:"Name des Zertifikatsubjekts",idp_certificate_thumbprint:"Fingerabdruck des Zertifikats",idp_connection_active:"Aktiv",idp_connection_successfully_activated:"Die IDP-Verbindung wurde aktiviert",idp_connection_successfully_created:"Die IDP-Verbindung wurde erstellt",idp_connection_successfully_deleted:"Die IDP-Verbindung wurde gel\xF6scht",idp_connection_successfully_edited:"Die IDP-Verbindung wurde bearbeitet",idp_url:"URL des IDP",idp_xml_file:"Upload der IDP-Metadaten-XML",idp_xml_url:"URL zur IDP-Metadaten.xml",info_text:"Die neue Verbindung muss erst gespeichert werden, um Benutzer-Attribut-Zuordnungen hinzuf\xFCgen zu k\xF6nnen.",info_title:"Hinweis zur Benutzer-Attribut-Zuordnung",invalid_location_value:"Standort \u201E{{location}}\u201C ist ung\xFCltig.",location_locked:"Standort \u201E{{location}}\u201C ist gesperrt.",no_connections:"Keine SAML-Verbindungen vorhanden.",no_ldap_connections:"Keine LDAP-Verbindungen vorhanden.",role_map:"Rolle zuordnen",role_map_ad_group:"Wertzuordnung aus Be
1nutzer-Attribut 'Rolle'",role_map_successfully_added:"Die Rollen-Zuordnungen wurden hinzugef\xFCgt",role_map_successfully_deleted:"Rollen-Zuordnung wurde gel\xF6scht",role_map_successfully_edited:"Die Rollen-Zuordnungen wurden bearbeitet",role_not_found:"Der Wert des Rollenanspruchs ist ung\xFCltig oder stimmt mit keiner Nautos - Rolle \xFCberein.",service_provider_metadata_url:"Nautos Metadata-Xml (Service-Provider)",sign_auth_request:"Signieren der SAML-Authentifizierungsanfrage",user_attributes_assign:"Benutzer-Attribut-Zuordnungen",view_file:"Datei ansehen"},connection_name:"Name der Verbindung",connection_name_already_in_use:"Es existiert bereits eine Verbindung mit diesem Namen",connection_name_limit_exceeded:"Der Name der Verbindung darf maximal 200 Zeichen lang sein",delete_claim_map:"M\xF6chten Sie diese Benutzer-Attribut-Zuordnung wirklich l\xF6schen?",delete_claims:"Benutzer-Attribut-Zuordnung(en) l\xF6schen",delete_role_maps:"Rollen-Zuordnung(en) l\xF6schen",fixed_value:"Fester Wert",general:{activated_unconfigured:"Aktiviert, nicht konfiguriert",login_option:"Zugriff",settings_saved_successfully:"Die Einstellungen wurden gespeichert"},idp_entity_id:"Entity ID des IDP",idp_type:"Verbindungstyp",index:"Index",index_duplicate:"Index bereits in Verwendung",index_error:"Index ung\xFCltig, bitte Index zwischen 0-99 eingeben",ip_ranges:{assign_user:"Benutzer zuordnen",create_ip_range:"IP-Adressbereich anlegen",delete_ip_range:"IP-Adressbereich l\xF6schen",delete_ip_ranges:"IP-Adressbereiche l\xF6schen",do_you_want_to_delete_ip_range_x:"M\xF6chten Sie den IP-Adressbereich \u201E{{iprangeDefinition}}\u201C wirklich l\xF6schen?",do_you_want_to_delete_the_ip_ranges:"M\xF6chten Sie die IP-Adressbereiche wirklich l\xF6schen?",edit_ip_range:"IP-Adressbereich bearbeiten",ip_address_invalid:"IP-Adresse \u201E{{address}}\u201C ist ung\xFCltig",ip_address_or_ip_range:"IP-Adresse oder IP-Adressbereich",ip_range:"IP-Adressbereich",ip_range_from:"IP-Adresse von",ip_range_information:"Einzelne IP-Adresse oder Adressbereich angeben (IPv4/IPv6). Unterst\xFCtzte Formate f\xFCr Angabe der Adressbereiche: 192.168.1.* oder 192.168.0.0/16 oder 192.168.1.10 - 192.168.1.20",ip_range_invalid:"IP-Bereich \u201E{{range}}\u201C ist ung\xFCltig",ip_range_not_found:"IP-Bereich nicht gefunden",ip_range_overlap:"IP-Bereich \u201E{{range}}\u201C \xFCberschneidet sich mit dem IP-Bereich \u201E{{range2}}\u201C",ip_range_successfully_created:"Der IP-Adressbereich wurde erstellt",ip_range_successfully_deleted:"Der IP-Adressbereich wurde gel\xF6scht",ip_range_successfully_edited:"Der IP-Adressbereich wurde bearbeitet",ip_range_to:"IP-Adresse bis",ip_ranges:"IP-Adressbereiche",ip_ranges_successfully_deleted:"Die IP-Adressbereiche wurden gel\xF6scht",no_ranges_created:"Keine IP-Adressbereiche vorhanden.",no_ranges_found:"Keine IP-Adressbereiche gefunden.",upload:{description:"IP-Adressbereiche via CSV-Datei anlegen",range_could_not_be_processed:"1 IP-Adressbereich konnte nicht verarbeitet werden",range_successfully_added:"1 IP-Adressbereich wurde hinzugef\xFCgt",title:"IP-Adressbereiche hochladen",x_ranges_could_not_be_processed:"{{count}} IP-Adressbereiche konnten nicht verarbeitet werden.",x_ranges_successfully_added:"{{count}} IP-Adressbereiche wurden hinzugef\xFCgt"},user_locked:"Benutzer ist deaktiviert/inaktiv gesetzt",user_not_found:"Benutzerkonto nicht gefunden",user_successfully_assigned:"Der Benutzer wurde zugeordnet"},ldap:{base_distinguished_name:"Base Distinguished Name",bind_password:"Bind-Passwort",bind_user:"Bind-Benutzer",claim_idp_name:"LDAP-Attribut",create_ldap_connection:"LDAP-Verbindung anlegen",ldap_connection_successfully_created:"Die LDAP-Verbindung wurde erstellt",nautos_metadata_xml:"Nautos Metadata-XML",port_number:"Portnummer",server:"LDAP-Server Dom\xE4nenname / IP Adresse",use_ssl:"SSL benutzen",use_windows_auth:"Windows Authentifizierung benutzen",user_attributes_assign:"Zuordnungen LDAP zu Nutzerattributen"},logging:{claims:"Claims",error:"Fehler(-code)",logout:"Ausgeloggt",message:"Meldung",success:"Session g\xFCltig"},metadata_url:"Metadata-URL",no_roles:"Keine Rollen-Zuordnungen vorhanden.",no_user_attributes:"Keine Benutzer-Attribut-Zuordnungen vorhanden.",optional:"Optional",priority:"Priorit\xE4t",regexp:"Regul\xE4rer Ausdruck",roles_map:"Rollen-Zuordnungen",settings:{automatically_create_location_if_not_exists_via_saml2:"Unbekannte Standorte automatisch anlegen",delete_log:"Protokoll l\xF6schen",enable_logging:"Protokollierung aktivieren",general:"Login-Verfahren",ldap:"SSO v1 (LDAP)",logging:"Protokollierung",logging_delete_success:"Die ausgew\xE4hlten Protokolle wurden gel\xF6scht",logging_level:"Protokollierungsstufe",no_logging:"Keine Protokollierung vorhanden.",proxy:"Dokumentverlinkung verschl\xFCsseln",reqif:{converter_release_date:"Ver\xF6ffentlicht",converter_version:"Konverter-Version",target_system:"Zielsystem",target_system_config_saved_successfully:"Das Zielsystem wurde gespeichert"},sso_v1:"SSO v1 (SAML)",sso_v2:"SSO v2 (SAML)",unknown_location_sso:"Unbekannte Standorte bei SSO"},shibboleth:{choose_an_institute:"Institutionsauswahl",description_pseudonymity:"M\xF6chten Sie eine vordefinierte Liste f\xFCr den pseudonymisierten Login verwenden oder Attribute manuell hinzuf\xFCgen?",germany:"Deutschlandweit",international:"International",use_individual_settings:"Attribute selbst definieren",use_predefined_pseudonymity:"Vordefinierte Attribute f\xFCr pseudonymisierten Login hinzuf\xFCgen"},shibboleth_idp_url:"Shibboleth IDP URL",sync_strategy:"Abgleich",user_attribute:"Benutzer-Attribut"},statistics:{collect:"Erfassen",create_statistics:{document_access_statistics:"Statistik Dokumentzugriffe erstellen",login_statistics:"Statistik Logins erstellen",order_statistics:"Statistik Bestellungen erstellen"},delete:"Statistikdaten l\xF6schen",delete_progress:"Ihre Statistikdaten werden gel\xF6scht",delete_warning:"Es werden alle bestehenden Statistikeintr\xE4ge gel\xF6scht und k\xF6nnen nicht wieder hergestellt werden. Sind Sie sicher?",document_access_statistics:"Dokumentzugriffe",info_modal:{document_access_statistics:"Die Dokumentzugriffstatistik wird erstellt, dies kann einige Minuten dauern. Sobald Ihr Export bereitsteht, erhalten Sie eine Benachrichtigung.",login_statistics:"Die Loginstatistik wird erstellt, dies kann einige Minuten dauern. Sobald Ihr Export bereitsteht, erhalten Sie eine Benachrichtigung.",order_statistics:"Die Bestellstatistik wird erstellt, dies kann einige Minuten dauern. Sobald Ihr Export bereitsteht, erhalten Sie eine Benachrichtigung."},info_text:"Die Statistiken Ihrer Nutzer k\xF6nnen Sie als CSV-Datei anfordern. Der Zeitraum kann dabei auf monatliche Intervalle eingeschr\xE4nkt werden.",login_statistics:"Loginvorg\xE4nge",order_statistics:"Bestellvorg\xE4nge",period:"Zeitraum",statistics_activated:"Statistikdaten erfassen",success_activate:"Die Statistikerfassung wurde angepasst.",success_deactivate:"Die Statistikerfassung wurde angepasst",title:"Statistik",type:"Art"},unlink:"Zuordnung entfernen",unlink_license_title:"Lizenzzuordnung entfernen",user:"Benutzer",user_group:"Benutzer / Gruppe",users:{abbreviation:"K\xFCrzel",active:"Konto aktiviert",add_group:"Gruppe hinzuf\xFCgen",add_user_to_group:"Benutzer zu Gruppe hinzuf\xFCgen",assign_location:"Standort zuordnen",change_role:"Rolle \xE4ndern",company:"Firma",company_creation_conflict:"Es konnte keine Firma angelegt werden",company_edit_conflict:"Die Firma konnte nicht bearbeitet werden",confirm_password:"Passwort best\xE4tigen",cost_centers:"Kostenstellen",create_user:"Benutzer anlegen",delete_user:"Benutzer l\xF6schen",delete_users:"Benutzer l\xF6schen",department:"Abteilung",do_you_want_to_delete_the_users:"M\xF6chten Sie die Benutzer wirklich l\xF6schen?",do_you_want_to_delete_user_x:"M\xF6chten Sie den Benutzer \u201E{{firstName}} {{lastName}}\u201C wirklich l\xF6schen?",edit_user:"Benutzer bearbeiten",effective_until:"G\xFCltig bis",email:"E-Mail",exp
1ort_csv:"Alle Benutzer als CSV exportieren",first_name:"Vorname",groups:"Gruppen",hint_user_list:"Hinweis: Die Tabelle listet nur Benutzer, welche nicht bereits gesperrt sind.",information:"Information",last_login_label:"Zeitpunkt des letzten Logins",last_login_short:"Letzter Login",last_name:"Nachname",layout_language:"Oberfl\xE4chensprache",license_assignment_cannot_be_removed_because_of_group:"Die Zuordnung zu einer Lizenz kann nicht entfernt werden, da diese dem Benutzer \xFCber eine Gruppe zugeordnet wurde. Bitte entfernen Sie die Zuordnung \xFCber die jeweilige Gruppe. Alle weiteren Zuordnungen k\xF6nnen entfernt werden.",license_assignment_for_x_number_cannot_be_removed_because_of_group:"Die Zuordnung zu {{count}} Lizenzen kann nicht entfernt werden, da diese dem Benutzer \xFCber eine Gruppe zugeordnet wurde. Bitte entfernen Sie die Zuordnungen \xFCber die jeweilige Gruppe. Alle weiteren Zuordnungen k\xF6nnen entfernt werden.",license_removal_hint:"Beim Entfernen wird die Lizenz von dem Benutzer entfernt. Die Lizenz ist weiterhin verf\xFCgbar und wird nicht gel\xF6scht.",location:"Standort",location_needs_to_be_assigned:"Es muss ein Standort zugeordnet werden",lock_info_cause:"Gesperrt bei der Erstellung oder der \xC4nderung des Datensatzes",lock_user:"Benutzer sperren",logout:"Benutzer abmelden",no_users_assigned:"Keine Benutzer zugeordnet.",no_users_created:"Keine Benutzer vorhanden.",no_users_found:"Keine Benutzer gefunden.",password_policy_email:"Das Passwort wird durch den neu erstellten Benutzer selbst vergeben. Hierzu wird eine E-Mail an die oben angegebene E-Mail-Adresse gesendet, welche einen Link zum Vergabeprozess enth\xE4lt.",passwords_must_match:"Beide Passwort Eingaben m\xFCssen \xFCbereinstimmen",phone_number:"Telefon",please_select_a_user:"Bitte w\xE4hlen Sie einen Benutzer",please_use_valid_email:"Bitte verwenden Sie eine g\xFCltige E-Mail",role:"Rolle",roles:"Rollen",salutation:"Anrede",select_users:"Benutzer ausw\xE4hlen",send_set_or_reset_password_message:"Passwort setzen / zur\xFCcksetzen",send_set_or_reset_password_message_multiple_users:"M\xF6chten Sie den ausgew\xE4hlten Nutzern die Nachricht zur Passwortvergabe / zum Passwort zur\xFCcksetzen zuschicken?",send_set_or_reset_password_message_single_user:"M\xF6chten Sie dem ausgew\xE4hlten Nutzer die Nachricht zur Passwortvergabe / zum Passwort zur\xFCcksetzen zuschicken?",send_set_or_reset_password_title:"Nachricht zur Passwortvergabe versenden",title:"Benutzer",unlink_group_text:"M\xF6chten Sie die Gruppe vom Benutzer entfernen? Die Gruppe ist weiterhin verf\xFCgbar und wird nicht gel\xF6scht.",unlink_group_title:"Gruppenzuordnung entfernen",unlink_license_is_locked:"Die Lizenz wurde dem Benutzer \xFCber eine Gruppe zugewiesen und kann nur in dieser Gruppe entfernt werden.",unlock_user:"Benutzer entsperren",upload_users:"Benutzer importieren",user_count:"Anzahl Benutzer",user_is_locked:"Der Benutzer ist gesperrt",user_successfully_added:"Der Benutzer wurde hinzugef\xFCgt",user_successfully_assigned_to_role:"Der Benutzer wurde der Rolle zugeordnet",user_successfully_created:"Der Benutzer wurde erstellt",user_successfully_deleted:"Der Benutzer wurde gel\xF6scht",user_successfully_edited:"Der Benutzer wurde bearbeitet",user_successfully_linked_to_group:"Der Benutzer wurde der Gruppe zugeordnet",user_successfully_locked:"Der Benutzer wurde gesperrt",user_successfully_unlocked:"Der Benutzer wurde entsperrt",user_was_locked_on_by:"Dieser Benutzer wurde am {{date}} von \u201E{{user}}\u201C gesperrt.",user_was_locked_on_by_system:"Dieser Benutzer wurde am {{date}} vom System gesperrt.",username:"Benutzername",username_already_assigned:"Der Benutzername ist bereits vergeben",username_invalid:"Erlaubt sind Buchstaben, Zahlen, sowie Sonderzeichen bei einer L\xE4nge von 3\u2013100 Zeichen.",users_successfully_assigned_to_groups:"Die Benutzer wurden den Gruppen zugeordnet",users_successfully_assigned_to_role:"Die Benutzer wurden der Rolle zugeordnet",users_successfully_assigned_to_roles:"Die Benutzer wurden den Rollen zugeordnet",users_successfully_deleted:"Die Benutzer wurden gel\xF6scht",users_successfully_linked_to_group:"Die Benutzer wurden der Gruppe zugeordnet",users_successfully_locked:"Die Benutzer wurden gesperrt"}}};var Uc={common:{activated:"Activated",add:"Add",adopt:"Apply",adopt_and_save:"Accept and save",apply:"Apply",back:"Back",cache_busting:{modal_text:"A new version of Nautos is available. Would you like to reload the application?",modal_title:"Update available"},cancel:"Cancel",change:"Change",changed:"Changed",clear_selection:"Cancel selection",close:"Close",collapse:"Hide",company_name:"Company name",copied:"Copied",copy_of:"Copy of ",copy_to_clipboard:"Copy to clipboard",count_number:"Quantity",create:"Create",created:"Created",created_changed:"Created / Modified",customer_news_item_marked_as_read:"I have read / no longer show",customer_number:"Customer number",date:"Date",date_format:"YYYY-MM",date_format_error:"Please enter the date in the format YYYY-MM-DD",date_format_with_day:"YYYY-MM-DD",date_format_with_day_error:"Please enter a valid date in the format YYYY-MM-DD",date_format_with_optional_day:"YYYY-MM or YYYY-MM-DD",date_format_with_optional_day_error:"Please use the format YYYY-MM or YYYY-MM-DD",datepicker:{choose_date:"Select date",day:"Day",from:"From",month:"Month",to:"To",year:"Year"},deactivated:"Deactivated",declined:"Rejected",delete:"Delete",delete_document:"Delete document",description:"Description",document:"Document",document_type:"Document type",documents:"Documents",download:"Download",edit:"Edit",error:"Oops! Something went wrong.",error_aggregate_locked:"This section is currently blocked due to an ongoing backup.",execute:"Execute",expand:"Show",export:{disabled_no_datasets:"There are no records to export",disabled_too_many_entries:"You can export a maximum of 1000 records",export:"Export",export_all_warning:"All document links will be exported in full. With a large number of links, this can lead to longer waiting times during export.",export_successful:"The CSV export is complete",requested_deferred:"Your download is being prepared. You will be notified as soon as your export is ready.",title_text:"Export to CSV",too_many_requests:"You have already requested and export. Until then, you cannot request another export."},fade_in:"Show",fade_out:"Hide",faq:"FAQs",file_delete:"Delete file",file_download:"Download file",file_name:"File name",file_upload:"Upload file",file_upload_hint:"Upload or select a file here (max. 50 MB)",file_upload_hint_changeable:"Upload or select a file here (max. {{fileSizeLimit}})",file_upload_hint_small:"Upload or select a file here (max. 1 MB)",hello:"Hello",hint:"Please note:",id:"ID",import:{download_license_documents_template:"Download document licences template",download_license_settings_template:"Download licence settings template",download_template:"Download template",escape_char:"Escape sign",field_separator:"Text separator",file_could_not_be_parsed:"The file could not be read",file_encoding:"File code",file_properties:"File properties",file_too_big:"The file to be imported is too large.",import_failed:"Import unsuccessful",import_partially_successful:"Import partially successful",import_successful:"Import successful",info_text:"Your import data is being processed. This may take a few minutes.",protocol:"Protocol",record_could_not_be_processed:"1 entry could not be processed",record_successfully_added:"1 record has been added.",record_successfully_deleted:"1 record has been deleted",record_successfully_updated:"1 record was modified",text_qualifier:"Text identifier",title_text:"Import document links",too_many_requests:"An import is already being processed. Please try again later.",x_records_could_not_be_processed:"{{count}} lines could not be processed.",x_records_successfully_added:"{{ count }}
1 records have been added.",x_records_successfully_deleted:"{{ count }} records were deleted.",x_records_successfully_updated:"{{ count }} records were modified."},language:"Language",languages:{albanian:"Albanian",arabic:"Arabic",bosnian:"Bosnian",bulgarian:"Bulgarian",croatian:"Croatian",czech:"Czech",danish:"Danish",dutch:"Dutch",english:"English",estonian:"Estonian",finnish:"Finnish",french:"French",german:"German",greek:"Greek",hungarian:"Hungarian",italian:"Italian",japanese:"Japanese",korean:"Korean",latvian:"Latvian",lithuanian:"Lithuanian",mandarin:"Mandarin",multilingual:"Multilingual",norwegian:"Norwegian",other:"Other",polish:"Polish",portughese:"Portuguese",romanian:"Romanian",russian:"Russian",serbian:"Serbian",slovak:"Slovakian",slovenian:"Slovenian",spanish:"Spanish",swedish:"Swedish",turkish:"Turkish"},link:"Link",link_document:"Link document",metadata_label:{abstractDe:"Abstract (German)",abstractEn:"Abstract (English)",abstractFr:"Abstract (French)",abstractUnd:"Abstract (Other languages)",acCode:"AC code",admSortKey:"Sort key",amendedBy:"Amended by",amends:"Amends",appearance:"Date of issue",appearanceFrom:"Date of issue from",appearanceUntil:"Date of issue up to",author:"Committee reference",ceInfo:"CE info",citation:"Cross references",classificationIcs:"ICS classification",classificationIcs_short:"ICS",classificationOther:"Classification other",confirmation:"Confirmation date",countryCode:"Origin code",customFulltext:"Full-text search",custom_field:"User field",dateOfIssue:"Publication date",dateOfIssueFrom:"Publication date from",dateOfIssueUntil:"Publication date to",descriptorDe:"Descriptors (German)",descriptorEn:"Descriptors (English)",descriptorFr:"Descriptors (French)",descriptorUnd:"Descriptors (Other languages)",documentNumber:"Document number",documentType:"Status",draftSuperseded:"Draft superseded",edvNr:"Full text online ID",effective:"Effective date",expiration:"Expiry date",favoritesFolders:"Search in Favourites folder",flagStatus:"Update flag",flagStatus_short:"Update flag",fulltext:"Free text search",fulltextAddress:"Full text address",fulltextPages:"Pages",info_text:"Customer fields are not updated by the Nautos metadata update.",internationalRelationship:"International relationship",issuing:"Issuing body",linkCertification:"Certification",linkHandbook:"Also avail. in",linkLegislation:"Legislation",linkPublished:"Published in",metadata_update_in_progress:"Metadata is being updated",noteDe:"Notes (German)",noteEn:"Notes (English)",noteFr:"Notes (French)",noteUnd:"Notes (Other languages)",notesFolders:"Search in notes folder",originalLanguage:"Original language",overview:"Overview",priceUndetermNote:"Price",pro_metadata:{certifiedBy:"Certified by",certifiedDate:"Certification date",changeDescription:"Description of modification",classificationPro:"Classification Pro",classification_pro:{add_classification:"Add classification",add_entry:"Add entry",add_success:"The classification has been added.",as_subcategory_of:"As subclassification of",delete_confirm_text:"Do you want to delete the classification? The entry will be deleted from all data records.",delete_confirm_title:"Delete classification",dot_error:"The classification may not contain any dots ('.') in its name.",edit_classification:"Edit classification",edit_list:"Edit list",edit_success:"The classification has been edited.",no_classification:"No entries available.",space_error:"A classification may not contain any spaces in its name.",title:"Classification Pro",uniqueness_error:"No duplicate entries allowed per level."},createdAt:"Created on",createdBy:"Created by",documentOwners:"Document owner",documentTypePro:"Status Pro",info:"Info",isCited:"Cited",lastReview:"Last check",modifiedAt:"Modified on",modifiedBy:"Modified by",monitoringStatus:"Metadata update",monitoringStatus_options:{manual:"Manually",no:"No",other:"Other",yes:"Yes \u2013 automatic"},pricePro:"Price Pro",publisherPro:"Issuing body Pro",regionalValidity:"Regional validity",releaseComment:"Release commentary",releaseLevel:"Release level",releaseLevels:{approved_conditionally:"Approved with reservation",created:"Created",
1not_released:"Not released",other:"Other",released:"Released",under_review:"In review"},reminderDate:"Date of reminder",revisionVersion:"Revision (versions)",ruleSetPro:"Collection Pro",sourcePro:"Available from Pro",updateInterval:"Update interval (in months)",updatePro:"Update Pro"},productId:"Product ID",publishing:"Available from",refDocNrSpecial:"Document number search fragment",replacedBy:"Replaced by",replaces:"Replaces",reqIfConvertible:"ReqIF convertibility",sectionalList:"Profile list",titleDe:"Title (German)",titleDynamic:"Title",titleEn:"Title (English)",titleFr:"Title (French)",titleUnd:"Title (other languages)",transitionPeriod:"Transition period",translations:"Translations",valid:"Current",version:"Version history",withdrawalDate:"Withdrawal date"},months:{april:"April",august:"August",december:"December",february:"February",january:"January",july:"July",june:"June",march:"March",may:"May",november:"November",october:"October",september:"September"},more:"more",more_items:"more",name:"Name",next:"Next",no:"No",notification:"Notification",ok:"OK",one_record:"1 data record",other:"Other",page_load:"The page is loading",password:"Password",please_choose:"Please select",please_choose_a_file:"Please select a file",please_fill_this_field:"Please fill out this field",properties:"Properties",refresh:"Refresh",remove:"Remove",request:"Request",reset:"Reset",rights:"Rights",save:"Save",select_all:"Select all",show:"Show",show_document:"Show document",show_documents:"Show documents",status:"Status",table:{close_filter:"Close filter",filter:"Filter",open_filter:"Open filter",pagination:"Hits per page"},tenant_type_pilot:"Test position",theme_dark:"Activate dark mode",theme_light:"Activate light mode",type:"Type",unsaved_changes:{submit_text:"Leave page",text:"You have unsaved changes. Would you like to leave the page and discard the changes?",title:"Unsaved changes"},updatedOn:"Date of change",upload:"Upload",version:"Version",weekly_update:"Weekly update {{number}}",x_records:"{{count}} data records",yes:"Yes"},company_data:{add_new_custom_field:"Add user-defined field",code_is_generated_with_the_record:"The AC code is automatically generated when the data record is created.",create_company_data:"Create company record",custom_field_delete:"Delete user field",custom_fields_import:"The import of the customer fields has been processed",delete_company_data:"Delete company data",delete_description:"Do you really want to delete the company data?",delete_single_company_data:"Delete company record",do_update_now:"Execute now",document_upload:"Load document",duplication:{as_successor:"Copy as successor",modal_title:"Duplicate data record",note:"By activating the checkboxes, the relationships are automatically added to the predecessor and current record.",withdraw_original_record:"Withdraw original record"},edit_company_data:"Edit company record",info_text:"The system automatically creates a company record to enable your request. This is necessary because the requested standard is not currently available in the database. The record will be displayed shortly.",link_metadata:"Link records",metadata_upload:{errors:{ac_code_could_not_be_created:"AC code could not be created",ac_code_not_found:"AC code not found",could_not_be_deleted:"Could not be deleted",could_not_be_renamed:"Could not be renamed",could_not_delete_system_file:"Nautos file could not be deleted",empty:"Line empty",empty_with_fieldName:'Field "{{fieldName}}" empty',field_value_invalid:'Value in field "{{fieldName}}\u201D invalid',field_value_invalid_with_source:'"{{source}}" in field "{{fieldName}}" invalid',hosted_file_not_found:"Hosted file not found",id_not_found:"Invalid ID",invali
1d_ac_code:"Invalid AC code",invalid_role:"Invalid role",line_number_x:"Line {{number}}",not_found_with_source:'"{{source}}" in field "{{fieldName}}" not found',parse_error:"Wrong format",search_results_exceeded_threshold:"Maximum number of results (250) for this line exceeded",tenant_id_not_matching:"Value in field \u201CID\u201D invalid",unknown_error:"Unknown error",unknown_error_with_source:'Unknown error for entry "{{source}}"',unknown_group:"Unknown group",username_duplicate:"User name already taken",username_invalid:"Allowed are letters, numbers and special characters with a length of 3-100 characters",wrong_headers:"Invalid header in the .csv file"},title:"Load metadata"},please_fill_in_all_fields:"Please fill in all required fields",please_fix_all_errors:"Please fix all errors",record_successfully_created:"The company record has been created",record_successfully_deleted:"The company record has been deleted",record_successfully_requested:"A request has been made for the missing standard",record_successfully_updated:"The company record has been updated",this_code_is_created_with_the_record:"This code is assigned with the record",title:"Company data",title_single:"Company records",update_field_relation_error:"Please fill in both Update interval and Last check or neither of them",update_interval_invalid:"Please enter a value between 1 and 24 as the update interval"},dashboard:{backups:"Backups",company_details:{company_infos:"Customer and subscription information",contact_person:"Contact partner",contact_person_number:"Contact partner number",data_fields_basic:"Basic data fields",data_fields_premium:"Data fields Premium",employee_supplement_001:"up to 1000 staff",employee_supplement_002:"1000 - 10,000 staff",employee_supplement_003:"> 10,000 staff",end_date:"Expiry date",license_information:"Licence information",licenses:"Collections",licenses_basic:"Collections Basic",licenses_premium:"Premium collections",licenses_pro:"Collections Pro",metadata:"Metadata",module_delivery_portal:"Supplier portal",module_hosting:"Hosting",module_intranet:"Intranet",module_offline_client:"Offline client",module_release_workflow:"Release workflow",module_rest_service:"REST service",module_single:"Single sign-on",modules:"Modules",nautos_basic:"Basic",nautos_premium:"Premium",nautos_pro:"Pro",not_licensed:"Not licenced",software:"Software",sub_company_numbers:"Linked customer number(s)",subscription_numbers_nautos:"Subscription no(s) Nautos",subscription_numbers_norm_ticker:"Subscription no(s) StandardsTicker",supplement_001:"1 site",supplement_002:"2-4 sites",supplement_003:"5-8 sites",supplement_004:"9-12 sites",supplement_005:"13-16 sites",supplement_006:"17-20 sites",supplement_007:"21-30 sites",supplement_008:"31-40 sites",supplement_009:"41-50 sites",supplement_010:"51-60 sites",supplement_011:"61-70 sites",supplement_012:"71-80 sites",supplement_013:"81-90 sites",supplement_014:"91-100 sites",supplement_015:"individual",title:"Company information"},customer_notification:"Customer news",empty_tile:"No content available.",faq_tooltip:"Show FAQ",help:"Help",help_tooltip:"Show help",language_tooltip:"Change interface language",notification_center:{area:"Area",delete_multiple_notifications_header:"Delete notifications",delete_multiple_notifications_success:"The notifications have been deleted",delete_multiple_notifications_text:"Do you really want to delete the notifications?",delete_notification_header:"Delete notification",delete_notification_success:"The notification has been deleted",delete_notification_text:"Do you really want to delete the notification?",delete_notifications:"Delete notification(s)",mark_as_read:"Mark as read",mark_as_unread:"Mark as unread",message:"Notification",no_notifications:"There are no notifications available.",read:"read",time:"Time",title:"Notifications",unread:"unread"},notification_tooltip:"Show notifications",related_videos:"Associated videos",release_notes:"Information on version(s)",released:"Published on",shopping_cart_tooltip:"Show shopping cart",show_all_observations:"Show all monitoring",support:{allow_access:"Enable access to my account for support purposes.",contact_admin:"Contact admin",support_mailto:{actual:"Describe what IS",closing:"Best regards",estimation_of_priority:"Rate priority: [low | medium | high]",
1introduction:"Hello Nautos support team{{ linebreak }}{{ linebreak }}I would like to send you my feedback on Nautos.{{ linebreak }}{{ linebreak }}Client ID: {{ tenantToken }}",keyword:"Keyword",keyword_text:"Topic:{{ linebreak }}[What do you have feedback on? Use the navigation to the left.]",nominal:"Describe what SHOULD BE",please_fill_in:"Please fill in",subject_admin:"Nautos feedback - {{ tenantToken }} - {{ companyName }} - Time of recording: {{ dateTime }}",subject_user:"Nautos feedback - {{ username }} - {{ tenantToken }} - ({{ dateTime }}) Nautos - {{ version }}",tenant_key:"Tenant ID",time_of_occurence:"Time of occurrence",timestamp:"Time stamp",version_number:"Version"},support_ticket:"Support ticket",title:"Support"},tile_footer:"Show more",title:"Dashboard",to_dashboard:"To dashboard",upload_symbol_tooltip:"Show Hosting Explorer",useful_links:{academy_login:"Nautos Learning login",academy_registration:"Nautos Learning registration",agb_de:"Nautos terms and conditions (DE)",agb_en:"Nautos terms and conditions (EN)",imprint:"Legal notice",nautos_editor:"Nautos Editor login",tipps:"Tips and tricks",title:"Useful links"}},exports:{document_exports_request_failed:"Document CSV exports could not be downloaded.",document_license_exports_request_failed:"Document licence CSV exports could not be downloaded.",hosted_file_exports_request_failed:"Hosted files CSV exports could not be downloaded.",metadata_exports_request_failed:"Metadata CSV exports could not be downloaded.",no_exports:"No downloads available.",order_management_exports_request_failed:"Order CSV exports could not be downloaded.",reqif_downloads_request_failed:"ReqIF downloads could not be downloaded.",statistics_exports_request_failed:"Statistics CSV exports could not be downloaded.",title:"Export"},favorites:{activate_email:"Notifications on",active_email:"Notifications active",active_observation:"Active monitoring",change_owner:"Change owner",change_owner_group_info:"This folder was shared with a group. Change of owner is not possible",change_owner_info:"ReadOnly users cannot be set as the owner of a folder.",deactivate_email:"Notifications off",delete_folder_title:"Delete folder",delete_folders_title:"Delete folder",delete_multiple_shared_error:"One or more selected folders are shared. Please remove the approvals to delete them.",delete_shared_error:"This folder is currently shared. Remove the approval to delete it.",description:{connected_documents:"Linked files",file_must_not_exceed_50mb:"File must not be larger than 50MB",file_type_not_supported:"File type is not supported",folder_details:"Folder details",no_connected_documents:"No linked files available for this folder",please_provide_folder_name:"Please enter a folder name"},description_successfully_updated:"The description has been changed",email_activate:"Notifications have been activated for this folder",email_deactivate:"Notifications have been disabled for this folder",favorite:{add_to_folder:"Add to favourites folder",copy_folder:"Copy favourites folder",copy_folder_success:"The favourites folder has been copied.",copy_folders_success:"The favourites folders have been copied.",create_folder:"Create favourites folder",create_folder_success:"The favourites folder has been created.",delete_confirm_text_folder:"Do you really want to delete the Favourites folder \u201C{{folderName}}\u201D",delete_confirm_text_folders:"Do you really want to delete the {{count}} Favourites folders?",delete_confirm_title_folder:"Delete Favourites folder",delete_confirm_title_folders:"Delete Favourites folder",delete_folder_success:"The favourites folder has been deleted.",delete_folders_success:"The favourites folders have been deleted.",include_subfolders:"With subfolders",leave_shared_folder:"Leave Favourites folder",leave_shared_folder_success:"The favourites folder has been left.",no_folder_shared_yet:"No favourites shared.",select_folder:"Select Favourites folder",share_folder:"Share favourites folder",share_folder_success:"The favourites folder has been shared.",show_folders:"Show favourites folder",title:"Favourites"},favorites_and_notes:"Favourites and notes",favorites_and_notes_successfully_updated:"Favourites and notes have been updated",favorites_folder_owner_successfully_edited:"The owner has been changed",favorites_folder_share_successfully_edited:"The release has been edited",favorites_folder_share_successfully_removed:"The release has been removed",favorites_management:"Favourites management",folder_can_not_be_copied_into_own_structure:"Folder cannot be copied into its own structure",folder_description:"Folder description",folder_menu:{activate_observation:"Activate monitoring",configure_observation:"Configure monitoring",deactivate_observation:"Deactivate monitoring",preform_observation:"Execute monitoring",share_multiple:"Add releases",share_single:"Configure releases"},folder_name:"Folder name",folder_select_at_least_one:"Please select at least one folder",inactive_email:"Notifications deactivated",inactive_observation:"Inactive monitoring",leave_folder_group_info:"This folder cannot be left because it was shared via a group. Please remove the release via the respective group.",leave_folder_group_title:"Leave folder",my_favorites:"My favourites",my_n
1otes:"My notes",new_folder:"New folder",new_notes_folder:"New Notes folder",no_favorites_folders_found:"No suitable favourites found.",no_folder_description:"No folder description",no_items_in_folder:"There are no records in this folder.",no_notes_folders_found:"No suitable notes found.",not_contained_in_any_folder:"This record is not in any folder.",note:{add_to_folder:"Add to Notes folder",copy_folder:"Copy Notes folder",copy_folder_success:"The notes folder has been copied.",copy_folders_success:"The notes folders have been copied.",create_folder:"Create Notes folder",create_folder_success:"The notes folder has been created.",delete_confirm_text_folder:"Do you really want to delete the Notes folder \u201C{folderName}}\u201D?",delete_confirm_text_folders:"Do you really want to delete the {{count}} Notes folders?",delete_confirm_title_folder:"Delete Notes folder",delete_confirm_title_folders:"Delete Notes folder",delete_folder_success:"The notes folder has been deleted.",delete_folders_success:"The notes folders have been deleted.",leave_shared_folder:"Leave Notes folder",leave_shared_folder_success:"The notes folder has been left.",no_folder_shared_yet:"No notes shared.",select_folder:"Select notes folder",share_folder:"Share Notes folder",share_folder_success:"The notes folder has been shared.",show_folders:"Show notes folder"},notes:"Notes",observation_info_activate:"Please note that monitoring will be activated for all selected elements.",observation_info_deactivate:"Please note that monitoring will be deactivated for all selected elements.",observation_info_settings:"Please note that all settings will be applied for the selected elements. Existing settings will be overwritten.",observation_info_start:"Please note that all selected monitorings that are active will be executed directly. This action may take a longer time.",observation_successfully_activated:"Surveillance has been activated.",observation_successfully_changed:"Surveillance has been configured.",observation_successfully_created:"Surveillance has been started.",observation_successfully_deactivated:"Surveillance has been deactivated.",please_choose_target_folder:"Please select a target folder",save_description:"Save description",search_term:"Search folder(s)",select_folder:"Select folder",share:{assign_users_groups:"Assign Users / Groups",full_access:"Full access",read:"Read",share_folder:"Share folder",share_folder_with_name:'Share folder "{{folderName}}\u201D',share_multiple_info:"Rules for release already exist for at least one selected folder. These existing settings will be supplemented.",share_success_multiple:"Releases for {{count}} folders have been added",write:"Write"},share_folder_info:"Please note that the selected folders will be shared with all selected users.",share_multiple_folder:"Share multiple folders",shared_folder_delete_info_text:"You have shared this folder. Do you want to choose a new owner before deleting the folder?",show_favorites:"View favourites folder",show_notes:"View notes folder",start_observation_run:"Start company monitoring",start_observation_run_description:"Do you want to execute the monitoring run for all users now?",trigger_update_error_already_running:"A monitoring run has already been executed. Until then, you cannot request another run.",trigger_update_success:"The surveillance run has been started"},licenses:{add_users_or_groups:"Add users / groups",assigned_licenses:"Assigned licences",collection_license:"Collection licence",collection_license_tooltip:"Collection licences allow the release of all attached documents to metadata. Collection licences no longer distinguish on the basis of individual documents, but refer to the metadata records that documents can have attached and release these per user / group.",copy_license:"Copy licence",copy_license_success:"The licence has been copied",create_document_license:{add_license:"Add document to existing document licence",add_license_multiple:"Add documents to existing document licence",description:"Would you like to create a new document licence for the document or add the document to an existing licence?",description_multiple:"Would you like to create a new document licence for all documents or add the documents to an existing licence?",title:"Link licence"},create_license:"Create licence",create_license_search_query_error:"Search query required",create_license_success:"The licence has been created",create_license_title_error:"The licence name is already taken",delete_license_header:"Delete licence",delete_license_success:"The licence has been deleted",delete_license_text:"Do you really want to delete the licence?",delete_licenses:"Delete licence(s)",delete_multiple_licenses_header:"Delete licences",delete_multiple_licenses_success:"The licences have been deleted",delete_multiple_licenses_text:"Do you really want to delete the licences?",detail:{accept_query_denied:"The search query contains more than {{count}}
1 hits. Please limit the search parameters to save the search query.",accept_query_denied_header:"The search query produces too many hits.",accesses:"Number of accesses",application_successful:"Users / groups have been added",apply_search_query_for_license:"Apply search query for the licence?",create_license_title_blacklisted:"The words \u2018Best Collection\u2019 and \u2018Nautos Collection\u2019 must not appear in the licence name",do_you_want_to_delete_this_license:'Do you really want to delete the licence "{{name}}\u201D?',doc_limit:"Quantity",doc_limit_info:"Licence limit: Here you can set the maximum number of documents covered by your licence. We will let you know as soon as the number of documents exceeds the threshold.",doc_limit_license:"Maximum number of documents",doc_threshold:"Threshold value",edit_license:"Edit licence",edit_search:"Edit search query",existing_documents:"Documents included",for_every_single_document:"For each individual document",for_the_body_of_rules:"For the collection",name:"Licence name",no_search_added_yet:"No search query entered.",pagination_large:"large",pagination_medium:"medium",pagination_size:"Quantity of results",pagination_small:"small",please_put_integer:"Enter only positive integers",remove_documents:"Remove document(s)",remove_groups:"Remove groups",remove_users:"Remove user",save_document:"Download document (only possible when shown in Nautos Viewer)",search_documents:"Search for documents",search_query:"Search query",select_document:"Select document",simultan_license:"Simultaneous licence",successfully_removed_document_from_license:"The document has been removed from the licence",successfully_removed_documents_from_license:"The documents have been removed from the licence",type:"Licence type"},document_license:"Document licence",document_license_tooltip:"Document licences allow the release of individual documents within the scope of licences. In this way it is possible to carry out very precise assignments per user / group.",document_management:{delete_title:"Delete document link(s)",filter_license_assignment_type:"Licence assignment",filter_with_many_licenses:"Several licences available",filter_without_license:"No licence available",import_title:"Upload document links",mixed_documents_warning:"Documents automatically provided by Nautos cannot be deleted",multiple_confirm:"Do you really want to delete {{count}} document links?",no_documents_assigned:"No documents have yet been assigned to this licence.",no_documents_created:"No documents available.",no_documents_found:"No documents found.",records_successfully_deleted:"Document link(s) have been deleted",remove_from_licenses_confirm:"All document licences will be removed from the selected document links. Do you want to continue?",remove_from_licenses_succeed:"The links have been removed from the licence",remove_from_licenses_title:"Remove all licences for the links",reqif:{title:"ReqIF"},single_confirm:"Do you really want to delete this document link?",subscription:{bestcollection:"Nautos Collections",bestcollection_license:"Nautos Collections licence",individual:"Standards Ticker"},title:"Manage documents",tooltip:"Check assigned licences",url:"URL / Path"},document_stamps:{activate_stamps:"Activate document stamp",add_field:"Add field",all_pages:"all pages",bottom:"bottom",configuration:"Stamp configuration",create_stamp:"Create a stamp configuration",create_success:"The stamp configuration has been created",current_valid_withdrawn:"Current (validity/withdrawn)",default:"Standard stamp configuration",delete:"Delete stamp configuration",delete_stamp_header:"Delete stamp configuration",delete_stamp_header_multiple:"Delete stamp configurations",delete_stamp_text:"Do you really want to delete the stamp configuration?",delete_stamp_text_multiple:"Do you really want to delete the stamp configurations?",deleted:"The stamp configuration has been deleted",deleted_multiple:"The stamp configurations have been deleted",diagonal:"landscape",edit_filter:"Edit search filter",edit_stamp:"Edit document stamp",edit_success:"The stamp configuration has been edited",error_missing_selection:"Please select field and position",field:"Field",filter_info:"If the filter is active, only those documents that match the filter criteria are stamped.",forbidden:"The selected action is not permitted",freetext_fields:"Free text fields",info_text:"The stamp configuration is only available in Nautos Pro. Please note that only user data and metadata with existing content are stamped.",left:"left",metadata_fields:"Metadata fields",name:"Stamp name",no_filter_info:"Without a filter, all documents are stamped.",only_on_first_page:"on page 1 only",page_one:"Page 1",position:"Position",preview:"Preview",printing_date:"Date/time of the printout",remove_filter:"Delete search f
1ilter",reset:"reset to default",right:"right",saving_request_success:"The document stamp has been saved",search_filter:"Search filter",show_only_on_first_page:"Display only on page 1",stamps:"Stamp",table:{changed:"Modified on",created:"Created on",element_selected:"1 stamp selected",elements_selected:"{{count}} stamps selected",isActive:"Active"},title:{basic:"Document stamp",pro:"Stamp configurations"},top:"top",unselectable_readonly_stamp_note:"The default stamp cannot be selected",userdata_fields:"User data fields"},export:{license_documents:"Document licences",license_settings:"Licence settings"},export_licenses:"Export licences",export_licenses_choice_modal:"Please select the export you would like to perform",export_type:{license:"Export document licences",settings:"Export licence settings"},export_type_choice_modal:"Please select the export you would like to perform",hosting_explorer:{delete_feedback:"{{countSuccess}} files have been deleted. {{countFail}} could not be deleted.",delete_hosted_files:"Delete hosted file(s)",delete_hosted_files_confirm_text:"Do you really want to delete the selected hosted files?",document_link:"Document link",document_protected:"Protected documents are not shown in Nautos Viewer.",edit_document_link:"Edit document link",error_filename_forbidden_characters:"The following characters are not allowed: {{forbiddenCharacters}}",error_filenames_identical:"File names must not match",error_maximum_characters_error:"The maximum character length has been exceeded.",error_no_files_selected:"Please select at least one file.",error_remove_faulty_files:"Please delete all erroneous files",file_size:"Size",file_type:"File extension",file_upload:"File upload",file_uploaded_date:"Upload date",import_title:"File modification via CSV import",link_file:"Link file",link_files:"Link files",linked:"linked",linked_feedback_modal_title:"{{countSuccess}} files have been linked. {{countFail}} files could not be linked.",metadata_saved_success:"The document link has been saved",no_files_found:"No files found.",no_files_uploaded:"No files uploaded.",not_linked:"not linked",rename_file:"Rename file",rename_success_message:"The file has been renamed",rename_text:"Do you want to rename the following file?",status_upload_failed:"Cancelled",status_uploading:"Upload in process",status_validation_failed:"Validation failed",status_verifying:"Verification in process",sync_status:"Synchronization",title:"Hosting Explorer",upload_files:"Upload file(s)",upload_multi:"Multiple files are uploaded",upload_single:"A file is being uploaded",upload_text:"Leave the browser window open and do not reload the page so that your uploads are not interrupted. You can continue your work in Nautos as usual."},import:{empty:"Empty entry",fields:{ac_code:"AC code",access_count:"Simultaneous accesses",delete:"Delete",document_id:"Document ID",downloadable:"Download",groups:"Groups",license_id:"Licence ID",license_name:"Licence name",license_type:"Licence type",simultane_accesses:"Simultaneous accesses",simultanelicense_active:"Simultaneous licence",simultanelicense_type:"Simultaneous licence type",users:"User name(s)"},report:{error:{ac_code_not_found:"AC code \u201C{{fieldValue}}\u201D has no documents",empty_field_value:"Required field \u201C{{field}}\u201D is empty",field_value_invalid:"{{field}} has invalid value \u201C{{fieldValue}}\u201D",immutable:"Field \u201C{{field}}\u201D may not be edited",line_parse_error:"Field \u201C{{field}}\u201D:\u201D{{fieldValue}}\u201D could not be read due to its format",not_allowed:"\u201C{{field}}\u201D has an unauthorized value \u201C{{fieldValue}}\u201D",not_found_by_id:"\u201C{{field}}\u201D with ID:\u201D{{fieldValue}}\u201D not found",not_found_by_name:"\u201C{{field}}\u201D \u201C{{fieldValue}}\u201D not found.",parse_error:"File could not be read",record_count_x:"{{count}} entries could not be processed",tenant_id_not_match:"Value in field \u201CID\u201D invalid: \u201C{{fieldValue}}\u201D",undefined:"Unknown error for entry \u201C{{field}}\u201D"}}},import_license_successfully_added:"1 licence has been added",import_license_successfully_updated:"1 licence has been modified",import_licenses:"Licence import",import_x_licenses_successfully_added:"{{count}} licences have been added",import_x_licenses_successfully_updated:"{{count}} licences have been modified",license_type:"Licence type",license_type_description:"Please choose a licence type for the new licence.",license_type_title:"Select licence type",licenses_and_documents:"Licences & documents",metadata_license:"Metadata licence",metadata_license_tooltip:"Metadata licences allow the release of searchable metadata records for individual users / groups. In this way, it is possible to limit or expand the search scope of Nautos.",multi_license:"Multi-user licence",no_license_available:"No licences available.",no_licenses_assigned:"No licences assigned.",no_licenses_found:"No licences found.",search_licenses:"Browse licences",single_license:"Single user licence",title:"Licences",unselectable_readonly_license_note:"\u201CNautos Collections\u201D licences cannot be selected",update_license_success:"The licence has been modified"}
1,notifications:{a_document_was_changed:"A record in an order has been modified",a_document_was_changed_by:"A record in an order has been modified by {{forename}} {{surname}}",a_document_was_declined:"One document has been rejected",a_document_was_declined_by:"A document has been rejected by {{forename}} {{surname}}",a_document_was_delivered:"One document has been delivered",a_document_was_delivered_by:"A document has been delivered by {{forename}} {{surname}}",a_document_was_ordered:"One document has been ordered",a_document_was_ordered_by:"A document has been ordered by {{forename}} {{surname}}",a_document_was_ordered_directly:"One document has been ordered and delivered",a_document_was_ordered_directly_by:"A document has been directly ordered and delivered by {{forename}} {{surname}}",a_document_was_released:"One document has been released",a_document_was_released_by:"A document has been released by {{forename}} {{surname}}",a_document_was_requested:"One document has been requested",a_document_was_requested_by:"A document has been requested by {{forename}} {{surname}}",an_order_was_cancelled:"A request has been withdrawn",an_order_was_cancelled_by:"A request has been withdrawn by {{forename}} {{surname}}",an_order_was_edited:"An order has been edited",an_order_was_edited_by:"An order has been edited by {{forename}} {{surname}}",check_metadata:"Check data record",dataset_changed:"Record changed during the last update",datasets_changed:"Records changed during the last update",delete_statistics:"The Statistics data have been deleted",document_owner_reminder:"Please check the data and set a new reminder date.",document_ownership:"You are recorded as the document owner for the data record {{documentNumber}} ({{dateOfIssue}}) [{{acCode}}].",export_failed:"Your export failed.",export_link_download:"To downloads",export_ready_for_download:"Your export is ready for downloading.",export_statistics:"The statistics for the document accesses are avail. for download",export_statistics_login:"The statistics for the logins are avail. for download.",export_statistics_order:"The statistics for the orders are available for download.",hosting_space_invalid:"\u201C{{fileName}}\u201D could not be uploaded. The limit for hosting files has been exceeded, please contact Nautos Support",import_filelist_done:"Your file list import is complete.",license_threshold_reached:"The licence limit for the \u201C{{licenseName}}\u201D licence has been reached or exceeded. {{documentCount}} out of {{documentLimit}} documents have been saved.",license_threshold_reminder:"Extend the licence or reduce the number of documents.",license_threshold_title:"Licence threshold reached",mark_all_as_read:"Mark all as read",mark_as_read:"Mark as read",no_new_notifications:"No new messages",observation_no_changes:"No changes were detected within your monitoring",release_level_changed:'was set to "{{releaseLevel}}".',release_level_reset_default:"has been reset.",reqif:{conversion_failed:"Conversion of the document \u201C{{documentNumber}} ({{dateOfIssue}}) ({{language}}
1)\u201D has failed. Please forward the process data to the Service Desk. Click here to copy.",conversion_succeeded:"\u201C{{documentNumber}} ({{dateOfIssue}}) ({{language}})\u201D has been converted and is ready for downloading",process_id_copied:"The ProcessId was copied to the clipboard."}},observation:{ac_code_amended_by:"AC code 'amended by'",ac_code_predecessor:"AC code predecessor",ac_code_successor:"AC code successor",action:"Action",add:"Add",add_another_field:"Add additional field",change:"Change",change_field:"Changes to the field",change_metadata:"Changes to record(s)",changes:"Changes",choose_field_name:"Select field name",corrective_run_for_short:"of mrun",corrective_run_info:"Correction run from {{lastUpdateDate}} to observation run from {{observationRunDate}}",corrective_run_info_short:"Corr.",create:"Create monitoring",custom_settings:"User-defined",default_settings:"Standard",doc_nr_amended_by:"Document identifier 'amended by\u2019",doc_nr_predecessor:"Document number predecessor",doc_nr_successor:"Document identifier successor",document_type_pr:"PR - Partially replaced records (relates to Status field)",field_name:"Field name",flag_a:"A - Changed during the last update (entry in \u201Camended by\u201D field)",flag_c:"C - Changes to the field during the last update",flag_h:"H - \u201CHistorical\u201D records (withdrawn more than one month ago)",flag_i:"I - Intended withdrawal reported in the last update",flag_m:"M - Modified records (entry in \u201Camended by\u201D field)",flag_n:"N - New since the last update",flag_p:"P - Partially replaced reported in the last update",flag_r:"R - Reinstated in the last update",flag_w:"W - Withdrawn in the last update",folder:"Folder",intendedWithdrawals:"Intended withdrawals",metadata:{abstract_de:"Abstract (German)",abstract_en:"Abstract (English)",abstract_fr:"Abstract (French)",abstract_other:"Abstract (Other languages)",amended_by:"Amended by",amends:"Amends",available_from:"Available from",certification:"Certification",classification:"Classification",committee_reference:"Committee reference",confirmation_date:"Confirmation date",date_of_appearance:"Date of issue",descriptors_de:"Descriptors (German)",descriptors_en:"Descriptors (English)",descriptors_fr:"Descriptors (French)",descriptors_other:"Descriptors (Other languages)",document_identifier:"Document number",draft_superseded:"Draft superseded",effective_date:"Effective date",expiry_date:"Expiry date",format_pages:"Pages",full_text_address:"Full text address",full_text_online_id:"Full text online ID",handbook:"Also avail. in",history_of_versions:"Version history",international_relationship:"International relationship",issuing_body:"Issuing body",legislation:"Legislation",notes_de:"Notes (German)",notes_en:"Notes (English)",notes_fr:"Notes (French)",notes_other:"Notes (Other languages)",origin_code:"Origin code",original_language:"Original language",overview:"Overview",price:"Price",product_id:"Product ID",publication_date:"Publication date",published_in:"Published in",replaced_by:"Replaced by",replaces:"Replaces",sectional_list:"Profile list",sort_key:"Sort key",status:"Status",title_de:"Title (German)",title_en:"Title (English)",title_fr:"Title (French)",title_other:"Title (other languages)",transition_period:"Transition period",translations:"Translations",withdrawal_date:"Withdrawal date"},new_publications:"New publications",no_observations:"No monitoring in place.",notify:"Report",observation_history:"Surveillance history",other_changes:"Other changes",partially_replaced:"Partially replaces",publication_date_change:"Publication date 'amended by\u2019",publication_date_predecessor:"Publication date of previous edition",publication_date_successor:"Publication date successor",replace:"Replace",run_finished:"Monitoring run finished",run_finished_refresh_folder_info:"There may be new content for this folder.",run_finished_refresh_folder_question:"Do you want to refresh the view now?",save_and_run_update:"Save and execute",settings:"Monitoring settings",title:"Monitoring",title_change:"Title 'amended by\u2019",title_predecessor:"Title of predecessor",title_successor:"Title of successor",withdrawals:"Withdrawn records"},orders:{activate_orders_release_title:"Activate release level in the ordering settings",add_to_shopping_cart:"Add to shopping cart",applied_data_to_all_orders:"Entries applied to all records",apply_data_to_all_orders:"Apply entries for all records",character_limit:"A maximum of {{limit}} characters are allowed",deactivate:"Deactivate",deactivate_orders_release_text:"If you deactivate the release, requests in the \u201CRelease\u201D status will be reset to requests",deactivate_orders_release_title:"Deactivate release in the ordering settings",deactivate_orders_saved_successfully:"The ordering settings have been saved",deactivate_orders_text:"You are deactivating the order function for all users. Please check whether there are any open requests before deactivating.",deactivate_orders_title:"Deactivate order function",deactivated_orders_info_text:"The order function is currently not available to all users.",deactivated_orders_info_title:"Order function deactivated",decentral:{add_entry:"Add entry",can_see:"Sees requirements from",create:"Create order allocation",edit:"Edit order allocation",error_missing_order_manager:"Order/release-manager must be selected",info:"The users in the following table can only see and edit the requests of the assigned users and groups.",manager:"Order/release-manager",save_success:"The order allocation has been saved",title:"Decentralized order view"},delivered:"Delivered",delivered_by:"Delivered by",delivered_by_email:"Sent by (email)",deliveries:"Deliveries",delivery_date:"Delivered on",details_on_invoice:"Details on the invoice",details_on_invoice_tooltip:"The text entered here will appear on the invoice.",error_greater_than:"The value must be greater than {{minVal}}",error_numeric:"The value must be a numeral",not_requested:"Not requested",order_data:"Order data",order_date:"Ordered on",order_now:{buy_now:"Order with costs",by_instant_purchase:"Order by instant download",instant_purchase_success:"The document has been purchased",instant_purchase_unavailable:"Document not available as instant download",instant_purchases_success:"The documents have been purchased",language_version_unavailable:"Language version not available",redirect_to_webshop:"Go to webshop",webshop:"Webshop",webshop_unavailable:"Article not available in webshop"},order_successfully_requested:"The document has been requested",ordered:"Ordered",ordered_by:"Ordered by",ordered_by_email:"Ordered by (email)",orders:"Orders",orders_overview:{article_successfully_deleted:"The document has been deleted",article_successfully_ordered:"The document has been ordered",article_successfully_released:"The document has been released",articles_successfully_deleted:"The documents have been deleted",articles_successfully_ordered:"The documents have been ordered",articles_successfully_released:"Die documente have been released",articles_successfully_requested:"The documents have been requested",change_dataset:"Modify record",change_dataset_success:"The record has been modified",delete_order:"Delete order",delete_orders:"Delete orders",deliver_order_success:"The order has been filled",deliver_orders_success:"The orders have been filled",do_you_want_to_delete_single_order:"Do you really want to delete the order?",do_you_want_to_delete_x_orders:"Do you really want to delete the {{count}} orders?",edit_order:"Change order data",edit_request:"Edit selected documents",mark_as_approved:"Mark as released",mark_as_delivered:"Manually set document(s) to delivered",mark_as_requested:"Mark as requested",no_filtered_items_in_delivered:"No records foun
1d in deliveries.",no_filtered_items_in_ordered:"No records found in orders.",no_filtered_items_in_releases:"No records found in releases.",no_filtered_items_in_requests:"No records found in requests.",no_filtered_items_in_shopping_cart:"No records found in the shopping cart.",no_items_in_delivered:"No records in deliveries.",no_items_in_ordered:"No records in orders.",no_items_in_releases:"No records in releases.",no_items_in_requests:"No records in requests.",no_items_in_shopping_cart:"No records in the shopping cart.",order_directly:"Order directly",order_selected:"Order selected documents",order_selected_directly:"Order document(s) directly",order_successfully_deleted:"The request has been deleted",order_successfully_rejected:"The request has been denied",order_successfully_updated:"The order has been updated",orders_successfully_deleted:"The requests have been deleted",orders_successfully_rejected:"The requests have been denied",orders_successfully_updated:"The orders have been updated",reject_selected:"Reject document(s)",release_selected:"Release document(s)",request_company_data:"Request missing standard",request_selected:"Request document(s)",send_back_to_ordered:"Document(s) back to ordered",send_back_to_released:"Document(s) back to releases",send_back_to_requested:"Document(s) back to requests",send_back_to_shopping_cart:"Document(s) back to shopping cart",set_ordered:"Manually set document(s) to ordered"},reject:{reject:"Reject",title:"Reject request"},reject_date:"Rejected on",reject_reason:"Reason for rejection",rejected_by:"Rejected by",rejected_by_email:"Rejected by (email)",released:"Released",released_by:"Released by",released_by_email:"Released by (email)",released_date:"Released on",releases:"Releases",request:{buyer_reference:"Buyer reference",format:"Format",order_directly:"Request directly",order_number:"Order number",paper:"Paper",single_purchase:"Individual purchase",subscription:"Subscription",title:"Request",type_of_request:"Request type"},request_all:"Request all",request_date:"Requested on",request_selected:"Request selected documents",request_warning:"Your company already has a document or purchase order for your request.",requested:"Requested",requested_by:"Requested by",requested_by_email:"Requested by (email)",requests:"Requests",shopping_cart:"Shopping cart",title:"Ordering"},search:{all_records:"All records",ce_search:{datasets_all:"All records",datasets_harmonized:"Harmonized records",datasets_mandated:"Mandated records",directive:"Directive",directives_all:"All directives",title:"CE search",tooltip_harmonized_or_directive:"This record is related to a CE Directive",tooltip_mandated:"This record is in concordance with a European Standard",use_ce_search:"Use CE search"},context:"Document view",control_file:{base_path:"Basic path",base_path_placeholder:"C:/Documents/",empty_base_path_error:"Please specify a basic path",import_document:"Document import",link_error_line_no:"Line {{lineNo}}: ",link_error_type:{format:"Wrong format",unknown:"Unknown error"},link_successful_count_multiple:"{{count}} records have been linked",link_successful_count_single:"1 record has been linked.",title:"Linking via control file"},create_layout:"Create layout",customer_fields:"Customer fields",document_list:{copy_link_to_clipboard_action:"copy to clipboard",copy_link_to_clipboard_description:"The link to \u201C{{link}}\u201D cannot be executed directly from Nautos. However, you can copy the link into the URL field of the browser to display the file.",document_is_locked:"Document is locked",document_protected:{prepare_for_download:"The document is protected. Protected documents are not shown in Nautos. Items are provided without a document stamp.",title:"Download document"},link_successfully_copied:"link copied to clipboard",tooltip_context:"Document available online",tooltip_mixed:"Content available for viewing",tooltip_userfiles:"Document links available"},document_locked:{no_license_text:"You are not authorized to open this document.",no_license_title:"Licence not available",simultan_license_text:"You currently have no access rights to this document. Please contact your admin.",simultan_license_title:"Document locked"},document_ownership:{info:"You are recorded as the document owner for the following data records.",no_documents_owned:"You are not currently recorded as the document owner for any data records.",title:"Data records assigned to me"},document_upload:{add_additional_document:"Add additional document",allowed_file_types:"Permitted file types: {{fileTypesList}}",building:"Building",choose_hosted:"Select hosted ...",closet:"Cabinet",connected_documents:"Linked documents",deleting:"Will be deleted",digital_document:"Online document",file:"File",hosted_file:{file_too_big:"Max. file size of {{fileSizeLimit}} exceeded",warning:"The file will be uploaded after saving and selecting the licence and is not available until the verification of the file is completed. The status of the file can be viewed in the Hosting Explorer at any time. Please do not close the browser window or reload the page during this time."},link_hosted:"Hosted file",link_local:"Local link",link_paper:"Paper link",link_type:"Type of link",link_url:"URL link",misc:"Other",other_language:"Other language",path:"Path",redline:"Redline",room:"Room",save_success:"The changes have been accepted.",trule:"Technical rule",upload_hosted:"Upload new ...",uploading:"Will be uploaded",url:"URL",wnorm:"Company standard"}
1,extended_search:{add_search_field:"Add search field",change_search:"Modify search",copied_template_successfully:"The search template has been copied",created_dynamic_folder_successfully:"The search template has been created as a folder",created_observed_template_successfully:"The monitored search template has been created",created_template_successfully:"The search template has been created",customFulltext_field_invalid:"Please enter a minimum of 3 and a maximum of 100 characters",default_layout:"Standard view",delete_layout:"Delete table layout",delete_layout_request:'Do you really want to delete the layout "{{name}}\u201D? That will permanently delete the layout.',delete_template:"Delete search template",delete_template_request:"Do you really want to delete the search template \u201C{{name}}\u201D?",deleted_template_successfully:"The search template has been deleted",dynamic_folders:"Dynamic folders",dynamic_operator_field:"Field link",dynamic_search:"Dynamic search",dynamic_search_operator:"Main link",field_value:"Field value",flag_status_modal_subfolder_headline:"Preliminary information",modified_template_successfully:"The search template has been modified",modify_template:"Edit search template",modify_template_info:"Organize the advanced searching as you wish.",my_presets:"My search templates",no_dynamic_folders_available:"No dynamic folders available",no_search_result:"No entries found.",no_shared_folders:"No folder shared with you.",no_templates_available:"No custom search templates available",remove_search_field:"Remove search field",reqIfConvertible:"Display only ReqIF convertible standards",save_changes_to_template:"Save changes in template",search_all_favorite_folders:"All favourites folders",search_all_folders:"All folders",search_all_note_folders:"All notes folders",search_field:"Search field",search_field_invalid:"The value given is invali
1d",search_templates:"Search templates",title:"Advanced search fields",to:"to",update_search_template_success:"The search templace has been updated",use_dynamic_search:"Use dynamic search",value_list_tooltip:"Select value"},extended_search_template_create:{insufficient_length:"The name must be at least {{minLength}} characters long.",search_template_already_exists:"The search template already exists.",title:"Create search template"},favorites_folder_select:{as_subfolder_of:"As a subfolder of",copy_to_new_favorites_folder:"Copy to new Favourites folder",create_dynamic_folder:"Create as a folder"},filelist_import:{one_successful:"1 record has been imported.",several_successful:"{{count}} records have been imported"},full_view_template:"all data fields",hitlist:{add_to_favorites:"Add to favourites",edit_metadata:"Use record as company record template",element_selected:"1 record selected",elements_selected:"{{count}} records selected",favorite_successfully_added:"The favourite has been added",favorite_successfully_removed:"The favourite has been deleted",favorites_successfully_added:"The favourites have been added",favorites_successfully_removed:"The favourites have been deleted",folder_actions:"Folder actions",folder_actions_tooltip:"Show folder actions",harmonized:"harmonized",layout_deleted:"The layout has been deleted",layout_saved:"The layout has been saved",link_documents_via_assignment_file:"Link documents via assignment file",mandated:"mandated",no_items_found:"Your search did not produce any hits.",note_successfully_added:"The Note has been added",note_successfully_removed:"The Note has been deleted",notes_successfully_added:"The Notes have been added",notes_successfully_removed:"The Notes have been deleted",order_added_to_shopping_cart:"The document has been added to the shopping cart",orders_added_to_shopping_cart:"{{count}} documents have been added to the shopping cart",orders_directly_requested:"{{count}} documents have been requested",record_found:"1 record found",records_found:"{{count}} records found",remove_from_favorites:"Remove as favourite",remove_from_favorites_info:"Do you really want to remove all favourites?",remove_from_favorites_title:"Remove all favourites",remove_from_notes_info:"Do you really want to remove all notes?",remove_from_notes_title:"Remove all notes",remove_note:"Remove as note",reset_search:"Reset search",save_search:"Save search",search_result:"1 search result",search_results:"{{count}} search results",validation_name_min_length:"Name must be at least 3 characters long."},import_file_list:"Import file list",item_detail:{abstract:"Abstract",classification:"Classification",customer_fields_edit:"Edit customer fields",customer_fields_edit_success:"The customer fields have been edited",descriptors:"Descriptors",notes:"Notes",show_empty_fields:"Show empty fields",title:"Full display"},main_data:"Main data",metadata_version:"Metadata status",mini_detail_layout:{create:"Create detailed display layout",delete:"Delete detailed display layout",delete_info:"The format is permanently removed when deleted and can\u2019t be recovered.",edit:"Edit detailed display layout",title:"Detailed display layout",validation_unique_name:"Please use a different name than the default name."},no_admin_rights:"No admin rights available",no_information:"No information",no_search_criteria_added:"No filter criteria added.",no_search_in_history:"No search history available",notes_folder_select:{copy_to_new_favorites_folder:"Copy to new Notes folder",note:"Notes"},options:{company_datasets:"Company records",with_document:"With document"},procurement:"Procurement",remove_field:"Remove field",reqif:{conversion:"Convert to ReqIF",conversion_create_failed_no_document:"Please purchase at least the German language version before converting.",conversion_create_failed_no_license:"Licencing required before conversion.",conversion_create_failed_title:"Conversion not possible",conversion_failed:"An error occurred during the conversion",conversion_limit_reached:"A max. of 25 records can be converted",conversion_message_multi:"{{count}} documents are being converted to ReqIF",conversion_message_single:"A document is being converted to ReqIF",language_error:"Only the original language of the documents is available for conversion.",multi:{conversion_button:"Convert {{count}}",conversion_document_all_languages:"All language versions",conversion_document_missing_count:"{{count}} document(s) not found",conversion_error_document_missing:"Document(s) not found",conversion_error_language:"{{count}} documents are not available due to their language",conversion_error_unbought:"Document must be purchased before conversion",conversion_error_unconvertible:"ReqIF conversion not available",conversion_error_unlicensed:"Document not licenced",conversion_unbought_count:"{{count}} document(s) not purchased",conversion_unconvertible_count:"{{count}} document(s) cannot be converted",conversion_unlicensed_count:"{{count}} document(s) not licensed",title:"Convert documents to ReqIF format"},no_conversion:"ReqIF conversion not available"},search_criteria:"Search criteria",search_history:"Search history",show_all_metadata:"Show all data fields",start_search:"Execute search",table_layout:{info_text:"Change the table layout by using drag & drop to re-sort the fields.",invalid_value:"Invalid name",presets:"Standard layout",title:"Tabular layout",title_create:"Create table layout",title_edit:"Edit table layout"},tenant_wide_template:"Company-wide view",title:"Search"},sign_up:{activation_error:"Oops! The link you used no longer works. Please contact your contact person.",activation_title:"Activate account",back_to_login:"Go to login",forgot_password:{help_text:"Enter the user name here that you use to log in to Nautos.",subtitle:"No problem!",success_text:"If the user name exists, you will receive an email with a link to reset the password shortly.",title:"Forgot your password?",username_not_found:"User name not found"},login:{ip_login_failed:"Login with IP address failed. Please contact your Administrator.",login:"Login",login_external:"Manual login?",login_failed:"Login failed",login_title:"Login",saml_auth_failed:"Invalid SAML response status: The responding provider was unable to successfully authenticate the principal.",saml_config_not_found:"SAML configuration has not been found/has not been loaded",saml_invalid_attr_name_or_value:"Invalid SAML response status: Unexpected or invalid content was found in a SAML attribute or SAML attribute value.",saml_no_auth_context:"Invalid SAML response status: The specified authentication context requirements cannot be met by the responder.",saml_no_available_idp:"Invalid SAML response status: None of the supported identity provider elements can be resolved or none of the supported identity providers are available.",saml_no_passive:"Invalid SAML response status: The responding provider cannot passively authenticate the principal as requested.",saml_no_supported_idp:"Invalid SAML response status: None of the identity providers are supported by the intermediary.",saml_partial_logout:"Invalid SAML response status: The session participant was not able to communicate the logout to all other session participants",saml_request_denied:"Invalid SAML response status: The SAML responder or SAML authority is capable of handling the request, but has chosen not to respond. This MAY be used when there is concern about the security context of the request message or sequence of request messages received from a particular requester.",saml_requester:"Invalid SAML response status: The request could not be executed due to an error by the requester.",saml_responder:"Invalid SAML response status: The request could not be executed due to an error on the part of the SAML responder or the SAML authority",saml_version_mismatch:"Invalid SAML response status: The SAML responder could not process the request because the version of the request message was incorrect.",support_token_title:"Token",tenant_name:"Company ID",username_password_combination_does_not_exist:"The combination of company ID, user name and password does not exist"},logout_information:"You have logged out",password_change_title:"Reset password",password_criteria:{digit_or_special:"At least one numeral or a special character",info_text:"Please choose a secure password. It must fulfil the following criteria:",lowercase:"at least one lower case letter",min_length:"at least 10 characters",passwords_do_not_match:"The passwords do not match",uppercase:"at least one upper case letter"},password_repeat:"Re-enter password",password_set_success:"The password has been set. You can now log in using your login information.",resend_invitation:{resend_invitation_success:"Password for {{successCount}} user(s) successfully reset  / for {{errorCount}} user(s) not successfully reset.",resend_invitation_success_only:"The password has been reset for {{successCount}} users"},welcome_to_nautos:"Welcome to Nautos"},user_management:{add_license:"Add licence",company_management:{added_users_successfully:"Users have been added",alternative_name:"Alternative name",companies_successfully_deleted:"The companies have been deleted",company_alias_already_exists:"The company cannot be saved as there is already a company with this alternative name.",company_conflict_default_company_name:"The name of a client\u2019s default company cannot be changed.",company_conflict_default_company_user:"Users from a client\u2019s default company cannot be deleted. Please switch to the relevant company and add the user there.",company_customernumber_empty:"A customer number must be selected.",company_failed_title:"Company cannot be saved.",company_name_already_exists:"The company cannot be saved as there is already a company with this name.",company_name_empty:"A name must be provided.",company_
1successfully_created:"The company has been created",company_successfully_deleted:"The company has been deleted",company_successfully_edited:"The company has been edited",create_company:"Create company",delete_company:"Delete company",delete_company_conflict_default_company:"A client\u2019s default company cannot be deleted.",delete_company_conflict_last_company:"A client\u2019s last remaining company cannot be deleted.",delete_company_conflict_users_assigned:"Companies with assigned users cannot be deleted. First, remove all users, save the changes, and then delete the company.",delete_company_not_possible_title:"The company cannot be deleted.",delete_selected_companies:"Delete selected companies",do_you_want_to_delete_company_x:"Do you really want to delete the company \u201C{{ companyName }}\u201D?",do_you_want_to_delete_the_companies:"Do you really want to delete the selected companies?",do_you_want_to_delete_the_company:"Do you really want to delete the selected company?",edit_company:"Edit company",title:"Companies"},cost_center:"Cost centre",do_you_want_to_remove_x_licenses:"Would you like to remove {{count}} licences?",downloads:{date_of_creation:"Creation date",date_of_deletion:"Date of deletion",export_type:{document:"Documents export",document_access_statistics:"Statistics export",document_licenses:"Document licences export",header:"Area",hosted_file:"Export hosted files",license_settings:"Export licence settings",login_statistics:"Statistics export",order_management:"Ordering export",order_statistics:"Statistics export",reqif_conversion:"ReqIF conversion",search:"Metadata export"},title:"Downloads"},groups:{add_another_field:"Add further criterion",add_user:"Add user",create_group:"Create new group",delete_group:"Delete group",delete_groups:"Delete groups",do_you_want_to_delete_group_x:'Do you really want to delete the group "{{groupName}}"?',do_you_want_to_delete_the_groups:"Do you really want to delete the groups?",edit_group:"Edit group",group_creation_requested:"The group is being created. Given the number of users, this may take some time",group_edit_requested:"The group is being edited. Given the number of users, this may take some time",group_is_locked:"This group is locked",group_name:"Group name",group_name_already_in_use:"Group name is already taken",group_successfully_created:"The group has been created",group_successfully_deleted:"The group has been deleted",group_successfully_edited:"The group has been edited",group_successfully_locked:"The group has been locked",group_successfully_unlocked:"The group has been unlocked",group_types:{dynamic_group:"Dynamic user list",static_group:"Static user list (standard)"},group_was_locked_on_by:"This group was locked on {{date}} by \u201C{{user}}\u201D.",groups_successfully_deleted:"The groups have been deleted",info_text:'Groups have an assigned role that can extend the authorizations of the assigned users. For example, if a user has the "ReadOnly" role and the "Standard" group, they automatically receive the rights of the higher "Standard" group role. If the individual role is higher (e.g. "Admin"), this remains unchanged.',info_title:"Assigning roles in groups",information_box_system_group_content:"This user group is created automatically; all users are added dynamically. The group is used for the global allocation of licences.",information_box_system_group_title:"System group",license_removal_hint:"When removed, the licences are removed from the group. The licence is still available and will not be deleted.",licenses_successfully_added:"The licences have been added",lock_group:"Lock group",no_groups_assigned:"No groups assigned.",no_groups_found:"No groups found.",system_all_users:"All users",title:"Groups",unlink_user_title:"Remove user assignment",unlock_group:"Unlock group",unselectable_system_groups_note:'The "All users" group cannot be selected',user_removal_hint:"The user will then no longer belong to this group and will lose related rights.",users_removal_hint:"The users will then no longer belong to this group and will lose related rights.",users_selected:"{{count}} users selected"},information_box_content:"Please save the new user first to be able to add groups and licences.",information_box_title:"Note on group and licence allocation",license_successfully_applied:"The licence has been taken over",lift_suspension:"Remove lock",locations:{add_alternative_name:"Add alternative name",add_locked_name:"Add locked value",alternative_names:"Alternative names",alternative_names_tip:"The alternative names are used to compare ADFS and SAML claims if you use an SSO procedure for login.",cannot_delete_location_with_users:"You can only delete a site if no user is assigned to it.",change_location:"Change site",change_location_note:"Please select a new site for the user(s) you wish to remove.",create_location:"Create company site",delete_location:"Delete site",do_you_want_to_delete_location:"Do you really want to delete the site?",edit_location:"Edit site",location_name_already_in_use:"Site name already assigned",location_successfully_created:"The site was created",location_successfully_deleted:"The site was deleted",location_successfully_edited:"The site was edited",locked_values:"Locked values",max_locations_info:"The permitted number of sites has been reached. Please contact Support for an adjustment.",no_users_in_other_locations:"No users are assigned to other sites.",search_locations:"Search sites",title:"Sites",users_add_note:"Please note: The current site will be overwritten when the user is added."},lock:"Lock",locked:"Locked",logging_settings_save_error:"The log settings could not be saved.",logging_settings_saved_successfully:"The log settings have been saved.",login_options:{headline:"Select access method for: ",iplogin:"IP login",ldap:"LDAP",password:"User & password",saml:"SAML v1"},logout_options:{headline_url_parameter:"Login behaviour via URL parameters",logout_disabled:"Log-out function deactivated",logout_option:"Log-out behaviour",logout_page:"Log-out page",logout_url_invalid:"Invalid URL: Please enter a URL that begins with \u201Chttp://\u201D or \u201Chttps://\u201D and corresponds to the general URL structure.",n
1avigate_to_custom_logout_page:"Forward to user-defined log-out page",navigate_to_logout_page:"Forward to standard log-out page"},management:"Manage",options_settings_order_notification:"Receive e-mails for orders",options_title:"Options",other:"Other",proxy_settings_saved_successfully:"The proxy-settings have been saved",reason:"Reason",role_management:{base_role:"Basic role",cannot_delete_custom_role_with_users_or_group:"You can only delete a role if no users or groups are assigned to it.",create_role:"Create role",custom_role:"Individual role",custom_role_name_already_used:"Name is already taken",custom_role_successfully_deleted:"The user-defined role has been deleted",delete_custom_role:"Delete role",do_you_want_to_delete_custom_role_x:"Do you really want to delete the user-defined role?",edit_role_title:"Edit role",no_custom_rules_created:"No own roles present.",read_only_role:"ReadOnly",rights:{admin_settings:"Show settings in Manage section",company_data:"Manage company records",manage_own_folders:"Create, edit, delete favourites and notes",manage_user_group_location_company:"Access to users, groups, sites, companies",order_documents_from_result_lists:"Request documents from results lists (view shopping cart and request)",read_orders:"Read rights in the ordering system (with export)",release_orders:"Releasing requests",search_configuration:"Configuration (results list, mini detailed display, search templates)",share_folders:"Share favourites and notes with others",show_document_management:"View document management (with export, filter and detailed view)",show_license_and_document_management:"Manage licences, document management & downloads",show_statistics_and_downloads:"View statistics"},role_successfully_changed:"The role has been edited",role_successfully_created:"The role has been created",title:"Role management"},roles:{admin:"The role authorizes full use and administration of the software.",custom_roles:"The rights of this role have been configured individually in the settings",editor:"The additive role gives a standard user the ability to create and edit their own metadata records and the right to create document links.",order_manager:"The additive role gives a standard user the right to edit and order requests in the framework of the ordering process.",read_and_request:"With the additive role Read and Request, a user with Read Only rights can add records to the shopping cart and request them.",read_only:"The role authorizes read-only of content in combination with limited search processes.",standard:"The role authorizes full use of the software. Custom views can be configured; in addition, favourites management, monitoring and the request process are available."},search_groups:"Browse groups",search_users:"Browse users",settings:"Settings",sso:{add_role:"Add role",add_user_attribute:"Add user attribute",adfs:{automatic:"Automatic",certificate_enddate:"Certificate expiration date",choose_only_one_file:"Please do not add more than one file",claim_assign:"User-attribute assignment",claim_idp_name:"IDP attribute",claim_map_successfully_deleted:"User attribute assignment has been deleted",claim_not_found:"The URI \u201C{{uri}}\u201D specified in the claim - \u201C{{attribute}}\u201D - assignment does not match any preserved claim.",claim_type_optional:"Value is optional",claim_types_offered:"Claims offered from Metadata XML",company_claim_info:"The \u2018company\u2019 user attribute is a mandatory attribute for the user account. If no value is conferred via the assignments, a new user is automatically assigned to the default company.",create_idp_connection:"Create IDP connection",create_shibboleth_connection:"Create Shibboleth connection",delete_claim_map_header:"Delete user attribute assignment",delete_idp_connection:"Delete IDP connection",delete_role_map_header:"Delete role assignment",delete_shibboleth_connection:"Delete Shibboleth connection",do_you_want_to_delete_idp_connection_x:"Do you really want to delete the IDP connection \u201C{{name}}\u201D?",do_you_want_to_delete_shibboleth_connection_x:"Do you really want to delete the Shibboleth connection \u201C{{name}}
1\u201D?",edit_idp_connection:"Edit IDP connection",edit_shibboleth_connection:"Edit Shibboleth connection",entity_id:"Entity ID",entity_id_info:"By marking it as the primary identifier, this identifier is sent for SAML responses initiated by IDP",identity_provider_claim_type_description:"Claim description",identity_provider_claim_type_display_name:"Displayed name",identity_provider_claim_type_name:"Claimed name (with namespace if available)",idp_certificate_issuer:"Name of certification body",idp_certificate_subjectname:"Name of certification subject",idp_certificate_thumbprint:"Fingerprint of certificate",idp_connection_active:"Active",idp_connection_successfully_activated:"The IDP connection has been activated",idp_connection_successfully_created:"The IDP connection has been created",idp_connection_successfully_deleted:"The IDP connection has been deleted",idp_connection_successfully_edited:"The IDP connection has been edited",idp_url:"URL of the IDP",idp_xml_file:"Upoad of the IDP metadata XML",idp_xml_url:"URL for IDP metadata.xml",info_text:"The new connection must first be saved in order to be able to add user-attribute assignments",info_title:"Note on user-attribute assignment",invalid_location_value:"Site \u201C{{location}}
1\u201D is invalid.",location_locked:"Site \u201C{{location}}\u201D is locked.",no_connections:"No SAML connection.",no_ldap_connections:"No LDAP connection.",role_map:"Assign role",role_map_ad_group:"Value assignment from user attribute \u201CRole\u201D",role_map_successfully_added:"The role assignments have been added",role_map_successfully_deleted:"The role assignments have been deleted",role_map_successfully_edited:"The role assignments have been edited",role_not_found:"The value of the role claim is invalid or does not match any Nautos role.",service_provider_metadata_url:"Nautos Metadata-Xml (Service Provider)",sign_auth_request:"Signing the SAML authentication request",user_attributes_assign:"User-attribute assignments",view_file:"View file"},connection_name:"Name of the connection",connection_name_already_in_use:"There is already a connection with this name",connection_name_limit_exceeded:"The name of the connection may only be 200 characters long",delete_claim_map:"Do you really want to delete this user attribute assignment?",delete_claims:"Delete user attribute assignment(s)",delete_role_maps:"Delete role assignment(s)",fixed_value:"Fixed value",general:{activated_unconfigured:"Activated, not configured",login_option:"Access",settings_saved_successfully:"The settings have been saved"},idp_entity_id:"Entity ID of the IDP",idp_type:"Connection type",index:"Index",index_duplicate:"Index already in use",index_error:"Invalid index, please enter index from 0-99",ip_ranges:{assign_user:"Assign user",create_ip_range:"Create IP address range",delete_ip_range:"Delete IP address range",delete_ip_ranges:"Delete IP address ranges",do_you_want_to_delete_ip_range_x:"Do you really want to delete the IP address range \u201C{{iprangeDefinition}}\u201D?",do_you_want_to_delete_the_ip_ranges:"Do you really want to delete the IP address ranges?",edit_ip_range:"Edit IP address range",ip_address_invalid:"IP address \u201C{{address}}
1\u201D is invalid",ip_address_or_ip_range:"IP address or IP address range",ip_range:"IP address range",ip_range_from:"IP address from",ip_range_information:"Specify a single IP address or address range (IPv4/IPv6). Supported formats for specifying the address ranges: 192.168.1.* or 192.168.0.0/16 or 192.168.1.10 - 192.168.1.20",ip_range_invalid:"IP range \u201C{{range}}\u201D is invalid",ip_range_not_found:"IP range not found",ip_range_overlap:"IP range \u201C{{range}}\u201D overlaps with IP range \u201C{{range2}}\u201C",ip_range_successfully_created:"The IP address range has been created",ip_range_successfully_deleted:"The IP address range has been deleted",ip_range_successfully_edited:"The IP address range has been edited",ip_range_to:"IP address to",ip_ranges:"IP address ranges",ip_ranges_successfully_deleted:"The IP address ranges have been deleted",no_ranges_created:"No IP address ranges present.",no_ranges_found:"No IP address ranges found.",upload:{description:"Create IP address ranges via CSV file",range_could_not_be_processed:"1 IP address range could not be processed",range_successfully_added:"1 IP address range has been added",title:"Upload IP address ranges",x_ranges_could_not_be_processed:"{{count}}  IP address ranges could not be processed.",x_ranges_successfully_added:"{{count}} IP address ranges have been added"},user_locked:"User set as deactivated/inactive",user_not_found:"User account not found",user_successfully_assigned:"The user has been assigned"},ldap:{base_distinguished_name:"Base Distinguished Name",bind_password:"Bind password",bind_user:"Bind user",claim_idp_name:"LDAP attribute",create_ldap_connection:"Create LDAP connection",ldap_connection_successfully_created:"The LDAP connection has been created",nautos_metadata_xml:"Nautos Metadata XML",port_number:"Port number",server:"LDAP server domain name / IP address",use_ssl:"Use SSL",use_windows_auth:"Use Windows authentication",user_attributes_assign:"Assignment of LDAP to user attributes"},logging:{claims:"Claims",error:"Error(-code)",logout:"Logged out",message:"Message",success:"Session is valid"},metadata_url:"Metadata URL",no_roles:"No role assignments available.",no_user_attributes:"No user-attribute assignments available.",optional:"Optional",priority:"Priorities",regexp:"Regular expression",roles_map:"Role assignments",settings:{automatically_create_location_if_not_exists_via_saml2:"Create unknown sites automatically",delete_log:"Delete log",enable_logging:"Activate logging",general:"Login procedure",ldap:"SSO v1 (LDAP)",logging:"Documentation",logging_delete_success:"The selected logs have been deleted",logging_level:"Logging stage",no_logging:"No logging available.",proxy:"Encrypt document link",reqif:{converter_release_date:"Published",converter_version:"Converter version",target_system:"Target system",target_system_config_saved_successfully:"The target system has been saved"},sso_v1:"SSO v1 (SAML)",sso_v2:"SSO v2 (SAML)",unknown_location_sso:"Unknown sites with SSO"},shibboleth:{choose_an_institute:"Select institution",description_pseudonymity:"Would you like to use a predefined list for the pseudonymized login or add attributes manually?",germany:"Throughout Germany",international:"International",use_individual_settings:"Define attribute(s) yourself",use_predefined_pseudonymity:"Add predefined attributes for pseudonymized login"},shibboleth_idp_url:"Shibboleth IDP URL",sync_strategy:"Comparison",user_attribute:"User-attribute"},statistics:{collect:"Compile",create_statistics:{document_access_statistics:"Create statistics for document accesses",login_statistics:"Compile login statistics",order_statistics:"Generate order statistics"},delete:"Delete statistics data",delete_progress:"Your statistics data will be deleted",delete_warning:"All existing statistics entries are deleted and cannot be restored. Are you sure?",document_access_statistics:"Document accesses",
1info_modal:{document_access_statistics:"The document access statistic will be created, this can take a few minutes. You will be notified as soon as your export is ready.",login_statistics:"The login statistics will be created, this can take a few minutes. You will be notified as soon as your export is ready.",order_statistics:"The order statistics are being created, this can take a few minutes. You will be notified as soon as your export is ready."},info_text:"You can request the statistics of your users as a CSV file. The period can be limited to monthly intervals.",login_statistics:"Login procedures",order_statistics:"Order processes",period:"Time period",statistics_activated:"Compile statistics",success_activate:"The statistics compilation has been modified.",success_deactivate:"The statistics compilation has been modified.",title:"Statistics",type:"Type"},unlink:"Remove assignment",unlink_license_title:"Remove licence assignment",user:"User",user_group:"User / group",users:{abbreviation:"Abbreviation",active:"Account activated",add_group:"Add group",add_user_to_group:"Add users to group",assign_location:"Assign site",change_role:"Change role",company:"Company",company_creation_conflict:"The company could not be created",company_edit_conflict:"The company could not be edited",confirm_password:"Confirm password",cost_centers:"Cost centres",create_user:"Create user",delete_user:"Delete user",delete_users:"Delete user",department:"Department",do_you_want_to_delete_the_users:"Do you really want to delete the users?",do_you_want_to_delete_user_x:'Do you really want to delete the user "{{firstName}} {{lastName}}"?',edit_user:"Edit user",effective_until:"Valid until",email:"Email",export_csv:"Export all users as CSV",first_name:"First name",groups:"Groups",hint_user_list:"Please note: The table lists only users that are not already locked.",information:"Information",last_login_label:"Time of last login",last_login_short:"Last login",last_name:"Surname",layout_language:"Interface language",license_assignment_cannot_be_removed_because_of_group:"The assignment to a licence cannot be removed, because it was assigned to the user via a group. Please remove the assignment via the respective group. All further assignments can be removed.",license_assignment_for_x_number_cannot_be_removed_because_of_group:"The assignment to {{count}} licences cannot be removed, because it was assigned to the user via a group. Please remove the assignments via the respective group. All further assignments can be removed.",license_removal_hint:"When removed, the licences are removed from the user. The licence is still available and will not be deleted.",location:"Site",location_needs_to_be_assigned:"A site must be assigned",lock_info_cause:"Locked when creating or modifying the record",lock_user:"Lock user",logout:"Log out user",no_users_assigned:"No users assigned.",no_users_created:"No users present.",no_users_found:"No users found.",password_policy_email:"The password is assigned by the newly created user themself. An e-mail will be sent to the above email address containing a link to the setup process.",passwords_must_match:"Both password entries must match",phone_number:"Telephone",please_select_a_user:"Please select a user",please_use_valid_email:"Please select a valid email",role:"Role",roles:"Roles",salutation:"Title",select_users:"Select user",send_set_or_reset_password_message:"Create password / reset",send_set_or_reset_password_message_multiple_users:"Would you like to send the password assignment / password reset message to the selected users?",send_set_or_reset_password_message_single_user:"Would you like to send the password assignment / password reset message to the selected user?",send_set_or_reset_password_title:"Send password assignment message",title:"User",unlink_group_text:"Do you want to remove the group from users? The group is still available and will not be deleted.",unlink_group_title:"Remove group assignment",unlink_license_is_locked:"The licence was assigned to the user via a group and can only be removed in this group.",unlock_user:"Unlock user",upload_users:"Import user(s)",user_count:"Number of users",user_is_locked:"The user is locked",user_successfully_added:"The user has been added",user_successfully_assigned_to_role:"The user has been assigned to the role",user_successfully_created:"The user has been created",user_successfully_deleted:"The user has been deleted",user_successfully_edited:"The user has been edited",user_successfully_linked_to_group:"The user has been assigned to the group",user_successfully_locked:"The user has been locked",user_successfully_unlocked:"The user has been unlocked",user_was_locked_on_by:"This user was locked on {{date}} by \u201C{{user}}\u201D.",user_was_locked_on_by_system:"This user was locked on {{date}} by the system.",username:"User name",username_already_assigned:"The user name is already taken",username_invalid:"Allowed are letters, numbers and special characters with a length of 3-100 characters",users_successfully_assigned_to_groups:"The users have been assigned to the groups",users_successfully_assigned_to_role:"The users have been assigned to the role",users_successfully_assigned_to_roles:"The users have been assigned to the roles",users_successfully_deleted:"The users have been deleted",users_successfully_linked_to_group:"The users have been assigned to the group",users_successfully_locked:"The users have been locked"}}};var Hc={common:{activated:"Activ\xE9",add:"Ajouter",adopt:"Accepter",adopt_and_save:"Accepter et sauvegarder",apply:"Appliquer",back:"Retour",cache_busting:{modal_text:"Une nouvelle version de Nautos est disponible. Souhaitez-vous recharger l'application ?",modal_title:"Mise \xE0 jour disponible"},cancel:"Annuler",change:"Changer",changed:"Modifi\xE9",clear_selection:"Annuler votre s\xE9lection",close:"Fermer",collapse:"Cacher",company_name:"Nom d\u2019entreprise",copied:"Copi\xE9",copy_of:"Copie de ",copy_to_clipboard:"Copier dans le presse-papier",count_number:"Nombre",create:"Cr\xE9er",created:"Cr\xE9\xE9",created_changed:"Cr\xE9\xE9 / Modifi\xE9",customer_news_item_marked_as_read:"D\xE9j\xE0 lu / Ne plus afficher",customer_number:"Num\xE9ro de client",date:"Date",date_format:"JJJJ-MM",date_format_error:"Veuillez saisir la date au format AAAA-MM-JJ",date_format_with_day:"AAAA-MM-JJ",date_format_with_day_error:"Veuillez saisir une date valide au format AAAA-MM-JJ",date_format_with_optional_day:"AAAA-MM ou AAAA-MM-JJ",date_format_with_optional_day_error:"Veuillez saisir au format AAAA-MM ou AAAA-MM-JJ",datepicker:{choose_date:"S\xE9lectionner une date",day:"Jour",from:"De",month:"Mois",to:"Jusqu\u2019\xE0",year:"Ann\xE9e"}
1,deactivated:"D\xE9sactiv\xE9",declined:"Rejet\xE9",delete:"Supprimer",delete_document:"Supprimer le document",description:"Description",document:"Document",document_type:"Cat\xE9gorie de document",documents:"documents",download:"T\xE9l\xE9chargement",edit:"Modifier",error:"Hop-l\xE0! Quelque chose a mal tourn\xE9.",error_aggregate_locked:"Cette plage est actuellement bloqu\xE9e en raison d'une sauvegarde en cours.",execute:"Ex\xE9cuter",expand:"Afficher",export:{disabled_no_datasets:"Il n\u2019y a aucun ensemble de donn\xE9es \xE0 exporter",disabled_too_many_entries:"Vous pouvez exporter un maximum de 1000 ensembles de donn\xE9es",export:"Exporter",export_all_warning:"Une exportation compl\xE8te de tous les liens de documents sera effectu\xE9e. Si le nombre de liens est grand, cela peut entra\xEEner des temps d'attente lors de la cr\xE9ation de l'exportation.",export_successful:"L'exportation CSV est termin\xE9e",requested_deferred:"Le t\xE9l\xE9chargement est en cours de pr\xE9paration. Vous recevrez une notification d\xE8s que votre export est pr\xEAt.",title_text:"Exporter en CSV",too_many_requests:"Vous avez d\xE9j\xE0 demand\xE9 un export. En attendant, vous ne pouvez pas demander encore un export."},fade_in:"Afficher",fade_out:"Masquer",faq:"Questions fr\xE9quemment pos\xE9es",file_delete:"Supprimer le fichier",file_download:"T\xE9l\xE9charger le fichier",file_name:"Nom de fichier",file_upload:"T\xE9l\xE9charger le fichier",file_upload_hint:"D\xE9poser ou s\xE9lectionner un fichier ici (max. 50 MB)",file_upload_hint_changeable:"D\xE9poser ou s\xE9lectionner un fichier ici (max. {{fileSizeLimit}})",file_upload_hint_small:"D\xE9poser ou s\xE9lectionner un fichier ici (max. 1 MB)",hello:"Bonjour",hint:"Remarque",id:"ID",import:{download_license_documents_template:"T\xE9l\xE9charger le mod\xE8le de licences de documents",download_license_settings_template:"T\xE9l\xE9charger le mod\xE8le des param\xE8tres de licence",download_template:"T\xE9l\xE9charger un mod\xE8le",escape_char:"Caract\xE8re Escape",field_separator:"S\xE9parateur texte",file_could_not_be_parsed:"Le fichier n\u2019a pas pu \xEAtre lu",file_encoding:"Encodage de fichier",file_properties:"Propri\xE9t\xE9s du fichier",file_too_big:"Le fichier \xE0 importer est trop volumineux.",import_failed:"L'importation a \xE9t\xE9 \xE9chou\xE9e",import_partially_successful:"Import partiellement r\xE9ussi",import_successful:"Import r\xE9ussi",info_text:"Vos donn\xE9es d'importation sont en cours de traitement. Cette op\xE9ration peut durer quelques minutes.",protocol:"Protocole",record_could_not_be_processed:"1 entr\xE9e n\u2019a pas pu \xEAtre trait\xE9e",record_successfully_added:"1 ensemble de donn\xE9es ajout\xE9",record_successfully_deleted:"1 ensemble de donn\xE9es a \xE9t\xE9 supprim\xE9",record_successfully_updated:"1 ensemble de donn\xE9es a \xE9t\xE9 chang\xE9",text_qualifier:"Qualificateur de texte",title_text:"Importer des liens de document",too_many_requests:"Une importation est d\xE9j\xE0 en cours de traitement. Nous vous invitons \xE0 r\xE9essayer plus tard.",x_records_could_not_be_processed:"{{count}} lignes n\u2019ont pas pu \xEAtre trait\xE9es.",x_records_successfully_added:"{{count}} ensembles de donn\xE9es ont \xE9t\xE9 ajout\xE9s.",x_records_successfully_deleted:"{{count}} ensembles de donn\xE9es ont \xE9t\xE9 supprim\xE9s.",x_records_successfully_updated:"{{count}} ensembles de donn\xE9es ont \xE9t\xE9 chang\xE9s."},language:"Langue",languages:{albanian:"Albanais",arabic:"Arabe",bosnian:"Bosniaque",bulgarian:"Bulgare",croatian:"Croate",czech:"Tch\xE8que",danish:"Danois",dutch:"N\xE9erlandais",english:"Anglais",estonian:"Estonien",finnish:"Finlandais",french:"Fran\xE7ais",german:"Allemand",greek:"Grec",hungarian:"Hongrois",italian:"Ital
1ien",japanese:"Japonais",korean:"Cor\xE9en",latvian:"Letton",lithuanian:"Lituanien",mandarin:"Mandarin",multilingual:"Multilingue",norwegian:"Norv\xE9gien",other:"Autres",polish:"Polonais",portughese:"Portugais",romanian:"Roumain",russian:"Russe",serbian:"Serbe",slovak:"Slovaque",slovenian:"Slov\xE8ne",spanish:"Espagnol",swedish:"Su\xE9dois",turkish:"Turc"},link:"Lier",link_document:"Lier le document",metadata_label:{abstractDe:"R\xE9sum\xE9 (allemand)",abstractEn:"R\xE9sum\xE9 (anglais)",abstractFr:"R\xE9sum\xE9 (fran\xE7ais)",abstractUnd:"R\xE9sum\xE9 (autres langues)",acCode:"Code AC",admSortKey:"Cl\xE9 de tri",amendedBy:"Modifi\xE9 par",amends:"Modifie",appearance:"Date de parution",appearanceFrom:"Date de parution \xE0 partir de",appearanceUntil:"Date de parution jusqu\u2019\xE0",author:"Auteur technique",ceInfo:"Informations CE",citation:"Renvoi",classificationIcs:"Classification ICS",classificationIcs_short:"ICS",classificationOther:"Autre classification",confirmation:"Date de confirmation",countryCode:"Code d'origine",customFulltext:"Recherche plein texte",custom_field:"Champ d\u2019utilisateur",dateOfIssue:"Date de publication",dateOfIssueFrom:"Date de publication de",dateOfIssueUntil:"Date de publication jusqu\u2019\xE0",descriptorDe:"Descripteurs (allemand)",descriptorEn:"Descripteurs (anglais)",descriptorFr:"Descripteurs (fran\xE7ais)",descriptorUnd:"Descripteurs (autres langues)",documentNumber:"Num\xE9ro de document",documentType:"Type de document",draftSuperseded:"Projet remplac\xE9",edvNr:"ID du texte int\xE9gral en ligne",effective:"Date d'entr\xE9e en vigueur",expiration:"Date de cl\xF4ture de l'enqu\xEAte public",favoritesFolders:"Recherche dans le dossier des favoris",flagStatus:"Code de mise \xE0 jour",flagStatus_short:"Code de mise \xE0 jour",fulltext:"Recherche de texte libre",fulltextAddress:"Adresse texte int\xE9gral",fulltextPages:"Pages",info_text:"Les champs clients ne sont pas mis \xE0 jour par la mise \xE0 jour des m\xE9tadonn\xE9es Nautos.",internationalRelationship:"Parent\xE9 internationale",issuing:"Origine",linkCertification:"Certifi\xE9",linkHandbook:"Reproduit dans",linkLegislation:"L\xE9gislation",linkPublished:"Source principale",metadata_update_in_progress:"Les m\xE9tadonn\xE9es sont mises \xE0 jour",noteDe:"Notes (allemand)",noteEn:"Notes (anglais)",noteFr:"Notes (fran\xE7ais)",noteUnd:"Notes (autres langues)",notesFolders:"Recherche dans le dossier des notes",originalLanguage:"Langue d'origine",overview:"Expos\xE9",priceUndetermNote:"Prix",pro_metadata:{certifiedBy:"Certifi\xE9(e) par",certifiedDate:"Date de certification",changeDescription:"Description des modifications",classificationPro:"Classification Pro",classification_pro:{add_classification:"Ajouter une classification",add_entry:"Ajouter une entr\xE9e",add_success:"La classification a \xE9t\xE9 ajout\xE9e.",as_subcategory_of:"En tant que sous-classification de",delete_confirm_text:"Voulez-vous supprimer la classification ? L'entr\xE9e est supprim\xE9e de tous les ensembles de donn\xE9es.",delete_confirm_title:"Supprimer la classification",dot_error:"La classification ne doit pas contenir de points ('.') dans son nom.",edit_classification:"Modifier la classification",edit_list:"Modifier la liste",edit_success:"La classification a \xE9t\xE9 modifi\xE9e.",no_classification:"Aucune entr\xE9e disponible.",space_error:"La classification ne doit pas contenir d\u2019espaces dans son nom.",title:"Classification Pro",uniqueness_error:"Il ne doit pas y avoir de doublons \xE0 chaque niveau."},createdAt:"Saisi le",createdBy:"Saisi par",documentOwners:"Propri\xE9taire du document",documentTypePro:"Type de document Pro",info:"Info",isCited:"Est cit\xE9(e)",lastReview:"Derni\xE8re v\xE9rification",modifiedAt:"Modifi\xE9(e) le",modifiedBy:"Modifi\xE9(e) par",monitoringStatus:"Mise \xE0 jour des m\xE9tadonn\xE9es",monitoringStatus_options:{manual:"Manuellement",no:"Non",other:"Autre",yes:"Oui - automatiquement"},pricePro:"Prix Pro",publisherPro:"Origine Pro",regionalValidity:"Validit\xE9 r\xE9gionale",releaseComment:"Commentaire de validation",releaseLevel:"Niveau de validation",releaseLevels:{approved_conditionally:"Approuv\xE9 sous r\xE9serve",created:"Cr\xE9\xE9",not_released:"Non approuv\xE9",other:"Autres",released:"Valid\xE9",under_review:"En r\xE9vision"},reminderDate:"Date de rappel",revisionVersion:"R\xE9vision (versions)",ruleSetPro:"Collection Pro",sourcePro:"En vente Pro",updateInterval:"Intervalle de mise \xE0 jour (en mois)",updatePro:"Mise \xE0 jour Pro"},productId:"ID de l'article",publishing:"En vente",refDocNrSpecial:"Num\xE9ro de document fragments de recherche",replacedBy:"Remplac\xE9 par",replaces:"Remplace",reqIfConvertible:"ReqIF convert
1ibilit\xE9",sectionalList:"Liste de profils",titleDe:"Titre (allemand)",titleDynamic:"Titre",titleEn:"Titre (anglais)",titleFr:"Titre (fran\xE7ais)",titleUnd:"Titre (autres langues)",transitionPeriod:"P\xE9riode transitoire",translations:"Traductions",valid:"Actuel",version:"Historique des versions",withdrawalDate:"Date d'annulation"},months:{april:"Avril",august:"Ao\xFBt",december:"D\xE9cembre",february:"F\xE9vrier",january:"Janvier",july:"Juillet",june:"Juin",march:"Mars",may:"Mai",november:"Novembre",october:"Octobre",september:"Septembre"},more:"plus",more_items:"autres",name:"Nom",next:"Continuer",no:"Non",notification:"Notification",ok:"OK",one_record:"1 ensemble de donn\xE9es",other:"Autres",page_load:"La page est en train de se charger",password:"Mot de passe",please_choose:"Veuillez s\xE9lectionner",please_choose_a_file:"Veuillez s\xE9lectionner un fichier",please_fill_this_field:"Veuillez remplir ce champ",properties:"Propri\xE9t\xE9s",refresh:"Mettre \xE0 jour",remove:"Supprimer",request:"Demander",reset:"R\xE9initialiser",rights:"Droits",save:"Sauvegarder",select_all:"Tout s\xE9lectionner",show:"Afficher",show_document:"Afficher le document",show_documents:"Afficher les documents",status:"\xC9tat",table:{close_filter:"Fermer le filtre",filter:"Filtre",open_filter:"Ouvrir le filtre",pagination:"R\xE9sultats par page"},tenant_type_pilot:"Position test",theme_dark:"Activer le mode sombre",theme_light:"Activer le mode clair",type:"Type",unsaved_changes:{submit_text:"Quitter la page",text:"Vous avez des modifications non enregistr\xE9es. Souhaitez-vous quitter la page et annuler les modifications?",title:"Modifications non enregistr\xE9es"},updatedOn:"Date de modification",upload:"T\xE9l\xE9charger",version:"Version",weekly_update:"Mise \xE0 jour hebdomadaire {{number}}",x_records:"{{count}} ensembles de donn\xE9es",yes:"Oui"},company_data:{add_new_custom_field:"Ajouter un champ personnalis\xE9",code_is_generated_with_the_record:"Le code AC est g\xE9n\xE9r\xE9 automatiquement lors de la cr\xE9ation de l'ensemble de donn\xE9es.",create_company_data:"Cr\xE9er un ensemble de donn\xE9es d'entreprise",custom_field_delete:"Supprimer le champ utilisateur",custom_fields_import:"L\u2019importation des champs clients a \xE9t\xE9 trait\xE9e",delete_company_data:"Supprimer les donn\xE9es d\u2019entreprise",delete_description:"Souhaitez-vous vraiment supprimer les donn\xE9es d\u2019entreprise?",delete_single_company_data:"Supprimer la donn\xE9e d\u2019entreprise",do_update_now:"Ex\xE9cuter maintenant",document_upload:"T\xE9l\xE9charger le document",duplication:{as_successor:"Copier en tant que successeur",modal_title:"Dupliquer l'ensemble des donn\xE9es",note:"En activant les cases \xE0 cocher, les relations avec l'ensemble des donn\xE9es pr\xE9c\xE9dent et l'ensemble des donn\xE9es actuel sont automatiquement compl\xE9t\xE9es.",withdraw_original_record:"Retirer l'ensemble des donn\xE9es originales"},edit_company_data:"Modifier la donn\xE9e d\u2019entreprise",info_text:"Le syst\xE8me cr\xE9e automatiquement un ensemble de donn\xE9es d\u2019entreprise pour r\xE9pondre \xE0 votre demande. Cela est n\xE9cessaire car la norme demand\xE9e n'est actuellement pas disponible dans la base de donn\xE9es. L'ensemble de donn\xE9es sera affich\xE9 sous peu.",link_metadata:"Lier les ensembles de donn\xE9es",metadata_upload:{errors:{ac_code_could_not_be_created:"Le code AC n\u2019a pas pu \xEAtre cr\xE9\xE9",ac_code_not_found:"Code AC non trouv\xE9",could_not_be_deleted:"N'a pas pu \xEAtre supprim\xE9",could_not_be_renamed:"N'a pas pu \xEAtre renomm\xE9",could_not_delete_system_file:"Le fichier de Nautos n'a pas pu \xEAtre supprim\xE9",empty:"Ligne en blanc",empty_with_fieldName:"Champ \xAB\xA0{{fieldName}}\xA0\xBB vide",field_value_invalid:"Valeur de champ \xAB\xA0{{fieldName}}\xA0\xBB invalide",field_value_invalid_with_source:"\xAB\xA0{{source}}\xA0\xBB dans le champ \xAB\xA0{{fieldName}}\xA0\xBB invalide",hosted_file_not_found:"Fichier host non trouv\xE9",id_not_found:"ID non valide",invalid_ac_code:"Code AC invalide",invalid_role:"R\xF4le invalide",line_number_x:"Ligne {{number}}",not_found_with_source:"\xAB\xA0{{source}}
1\xA0\xBB dans le champ \xAB\xA0{{fieldName}}\xA0\xBB non trouv\xE9",parse_error:"Format incorrect",search_results_exceeded_threshold:"Nombre maximum de r\xE9sultats (250) d\xE9pass\xE9 pour cette ligne",tenant_id_not_matching:"Valeur de champ \xABID\xBB invalide",unknown_error:"Erreur inconnue",unknown_error_with_source:"Erreur inconnue pour l\u2019entr\xE9e \xAB\xA0{{source}}\xA0\xBB",unknown_group:"Groupe inconnu",username_duplicate:"Le nom d\u2019utilisateur est d\xE9j\xE0 attribu\xE9",username_invalid:"Sont autoris\xE9s les lettres, les chiffres ainsi et caract\xE8res sp\xE9ciaux pour une longueur de 3 \xE0 100 caract\xE8res",wrong_headers:"En-t\xEAte invalide dans le fichier .csv"},title:"T\xE9l\xE9charger les m\xE9tadonn\xE9es"},please_fill_in_all_fields:"Veuillez remplir tous les champs requis",please_fix_all_errors:"Veuillez corriger toutes les erreurs",record_successfully_created:"L\u2019ensemble de donn\xE9es d'entreprise a \xE9t\xE9 cr\xE9\xE9",record_successfully_deleted:"L\u2019ensemble de donn\xE9es d\u2019entreprise a \xE9t\xE9 supprim\xE9",record_successfully_requested:"La norme manquante a \xE9t\xE9 demand\xE9e",record_successfully_updated:"L\u2019ensemble de donn\xE9es d'entreprise a \xE9t\xE9 mis \xE0 jour",this_code_is_created_with_the_record:"Ce code est attribu\xE9 \xE0 l'ensemble de donn\xE9es",title:"Donn\xE9es d\u2019entreprise",title_single:"Ensemble de donn\xE9es d\u2019entreprise",update_field_relation_error:"Veuillez remplir soit l'intervalle de mise \xE0 jour et la derni\xE8re v\xE9rification, soit aucun des deux.",update_interval_invalid:"Veuillez saisir une valeur entre 1 et 24 comme intervalle de mise \xE0 jour"},dashboard:{backups:"Copies de sauvegarde",company_details:{company_infos:"Informations sur les clients et les abonnements",contact_person:"Contact",contact_person_number:"Num\xE9ro de contact",data_fields_basic:"Champs de donn\xE9es Basic",data_fields_premium:"Champs de donn\xE9es Premium",employee_supplement_001:"jusqu\u2019\xE0 1000 employ\xE9s",employee_supplement_002:"1000 - 10.000 employ\xE9s",employee_supplement_003:"> 10.000 employ\xE9s",end_date:"Date d\u2019expiration",license_information:"Information dur la licence",licenses:"Collections de r\xE8gles",licenses_basic:"Collections Basic",licenses_premium:"Collections Premium",licenses_pro:"Collections Pro",metadata:"M\xE9tadonn\xE9es",module_delivery_portal:"Portail des fournisseurs",module_hosting:"Hosting",module_intranet:"Intranet",module_offline_client:"Client hors ligne",module_release_workflow:"Flux de travail de validation",module_rest_service:"Service REST",module_single:"Authentification unique",modules:"Modules",nautos_basic:"Basic",nautos_premium:"Premium",nautos_pro:"Pro",not_licensed:"Pas de licence",software:"Software",sub_company_numbers:"Num\xE9ro(s) de client li\xE9(s)",subscription_numbers_nautos:"Num\xE9ro(s) d\u2019abonnement Nautos",subscription_numbers_norm_ticker:"Num\xE9ro(s) d\u2019abonnement NormenTicker/Standards Ticker",supplement_001:"1 lieu",supplement_002:"2-4 lieux",supplement_003:"5-8 lieux",supplement_004:"9-12 lieux",supplement_005:"13-16 lieux",supplement_006:"17-20 lieux",supplement_007:"21-30 lieux",supplement_008:"31-40 lieux",supplement_009:"41-50 lieux",supplement_010:"51-60 lieux",supplement_011:"61-70 lieux",supplement_012:"71-80 lieux",supplement_013:"81-90 lieux",supplement_014:"91-100 lieux",supplement_015:"individuel",title:"Informations sur l\u2019entreprise"},customer_notification:"Information pour le client",empty_tile:"Aucun contenu disponible.",faq_tooltip:"Afficher les FAQ",help:"Aide",help_tooltip:"Afficher l\u2019aide",language_tooltip:"Changer la langue d\u2019interface",notification_center:{area:"domaine",delete_multiple_notifications_header:"Supprimer les notifications",delete_multiple_notifications_success:"Les notifications ont \xE9t\xE9 supprim\xE9s",delete_multiple_notifications_text:"Voulez-vous vraiment supprimer les notifications?",delete_notification_header:"Supprimer la notification",delete_notification_success:"La notification a \xE9t\xE9 supprim\xE9e",delete_notification_text:"Voulez-vous vraiment supprimer la notification?",delete_notifications:"Supprimer la ou les notifications",mark_as_read:"Marquer comme lu",mark_as_unread:"Marquer comme non lu",message:"Notification",no_notifications:"Il n'y a pas de notifications disponibles.",read:"lu",time:"Temps",title:"Notifications",unread:"non lu"},notification_tooltip:"Afficher les notifications",related_videos:"Vid\xE9os associ\xE9es",release_notes:"Notes de version",released:"Publi\xE9 le",shopping_cart_tooltip:"Afficher le panier",show_all_observations:"Afficher toutes les veilles",support:{allow_access:"Autoriser l'acc\xE8s \xE0 mon compte \xE0 des fins d'assistance.",contact_admin:"Contacter l\u2019administrateur",support_mailto:{actual:"\xC9tat r\xE9el",closing:"Bien \xE0 vous",estimation_of_priority:"Priorit\xE9 estim\xE9e: [faible | moyenne | \xE9lev\xE9e]",introduction:"Bonjour \xC9quipe Support Nautos,{{ linebreak }}{{ linebreak }}Je voudrais vous donner un feedback sur Nautos.{{ linebreak }}{{ linebreak }}Client-ID: {{ tenantToken }}",keyword:"Mot-cl\xE9",keyword_text:"Mot-cl\xE9:{{ linebreak }}[Vous voulez donner un feedback dans quel domaine? Pour vous orienter, vous pouvez utiliser l\u2019arbre de navigation \xE0 gauche.]",nominal:"\xC9tat actuel",please_fill_in:"Veuillez remplir",subject_admin:"Feedback sur Nautos - {{ tenantToken }} - {{ companyName }} - Quand enregistr\xE9: {{ dateTime }}",subject_user:"Feedback sur Nautos - {{ username }} - {{ tenantToken }} - ({{ dateTime }}) Nautos - {{ version }}",tenant_key:"Tenant ID",time_of_occurence:"Quand survenu",timestamp:"Horodatage",version_number:"Version"},support_ticket:"Ticket support",title:"Support"},tile_footer:"Afficher plus",title:"Dashboard",to_dashboard:"Vers le Dashboard",upload_symbol_tooltip:"Afficher l\u2019Hosting Explorer",useful_links:{academy_login:"Nautos Lernwelt connexion",academy_registration:"Nautos Lernwelt enregistrement",agb_de:"Conditions g\xE9n\xE9rales Nautos (DE)",agb_en:"Conditions g\xE9n\xE9rales Nautos (EN)",imprint:"Mentions l\xE9gales",nautos_editor:"Connexion Nautos Editor",tipps:"Trucs et astuces",title:"Liens utiles"}},exports:{document_exports_request_failed:"Document les exportations CSV n'ont pas pu \xEAtre charg\xE9es.",document_license_exports_request_failed:"Les exp
1ortations CSV de la licence de document n'ont pas pu \xEAtre charg\xE9es.",hosted_file_exports_request_failed:"Fichiers h\xE9berg\xE9s les exportations CSV n'ont pas pu \xEAtre charg\xE9es.",metadata_exports_request_failed:"M\xE9tadonn\xE9es les exportations CSV n'ont pas pu \xEAtre charg\xE9es.",no_exports:"Aucun t\xE9l\xE9chargement disponible.",order_management_exports_request_failed:"Commande les exportations CSV n'ont pas pu \xEAtre charg\xE9es.",reqif_downloads_request_failed:"Les t\xE9l\xE9chargements ReqIF n'ont pas pu \xEAtre charg\xE9s.",statistics_exports_request_failed:"Statistiques les exportations CSV n'ont pas pu \xEAtre charg\xE9es.",title:"Export"},favorites:{activate_email:"Notifications par courrier \xE9lectronique activ\xE9es",active_email:"Notifications par courrier \xE9lectronique activ\xE9es",active_observation:"Surveillance active",change_owner:"Changer de propri\xE9taire",change_owner_group_info:"Ce dossier a \xE9t\xE9 partag\xE9 avec un groupe. Le changement de propri\xE9taire n'est pas possible",change_owner_info:"Les utilisateurs ReadOnly ne peuvent pas \xEAtre d\xE9finis comme propri\xE9taires d'un dossier.",deactivate_email:"Notifications par courrier \xE9lectronique d\xE9sactiv\xE9es",delete_folder_title:"Supprimer le dossier",delete_folders_title:"Supprimer le dossier",delete_multiple_shared_error:"Un ou plusieurs dossiers s\xE9lectionn\xE9s sont partag\xE9s. Veuillez annuler les partages pour les supprimer.",delete_shared_error:"Ce dossier est actuellement partag\xE9. Annulez le partage pour le supprimer.",description:{connected_documents:"Fichiers li\xE9s",file_must_not_exceed_50mb:"Le fichier ne peut pas d\xE9passer 50 MB",file_type_not_supported:"Ce type de fichier n'est pas pris en charge",folder_details:"D\xE9tails du dossier",no_connected_documents:"Aucun fichier li\xE9 \xE0 ce dossier disponible",please_provide_folder_name:"Veuillez saisir un nom de dossier"},description_successfully_updated:"La description a \xE9t\xE9 modifi\xE9e",email_activate:"Notifications par courrier \xE9lectronique ont \xE9t\xE9 activ\xE9es pour ce dossier",email_deactivate:"Notifications par courrier \xE9lectronique ont \xE9t\xE9 d\xE9s
1activ\xE9es pour ce dossier",favorite:{add_to_folder:"Ajouter au dossier de favoris",copy_folder:"Copier le dossier de favoris",copy_folder_success:"Le dossier des favoris a \xE9t\xE9 copi\xE9",copy_folders_success:"Les dossiers de favoris ont \xE9t\xE9 copi\xE9s",create_folder:"Cr\xE9er un dossier de favoris",create_folder_success:"Le dossier des favoris a \xE9t\xE9 cr\xE9\xE9",delete_confirm_text_folder:"Voulez-vous vraiment supprimer le dossier des favoris \xAB\xA0{{folderName}}\xA0\xBB?",delete_confirm_text_folders:"Voulez-vous vraiment supprimer les {{count}} dossiers des favoris?",delete_confirm_title_folder:"Supprimer le dossier des favoris",delete_confirm_title_folders:"Supprimer le dossier des favoris",delete_folder_success:"Le dossier des favoris a \xE9t\xE9 supprim\xE9",delete_folders_success:"Les dossiers de favoris ont \xE9t\xE9 supprim\xE9s",include_subfolders:"Avec sous-dossiers",leave_shared_folder:"Quitter le dossier des favoris",leave_shared_folder_success:"Le dossier des favoris a \xE9t\xE9 quitt\xE9",no_folder_shared_yet:"Aucun favori partag\xE9.",select_folder:"S\xE9lectionner un dossier de favoris",share_folder:"Partager le dossier de favoris",share_folder_success:"Le dossier des favoris a \xE9t\xE9 partag\xE9",show_folders:"Afficher le dossier de favoris",title:"Favoris"},favorites_and_notes:"Favoris et notes",favorites_and_notes_successfully_updated:"Favoris et notes ont \xE9t\xE9 mis \xE0 jour",favorites_folder_owner_successfully_edited:"Le propri\xE9taire a \xE9t\xE9 chang\xE9",favorites_folder_share_successfully_edited:"La validation a \xE9t\xE9 modifi\xE9e",favorites_folder_share_successfully_removed:"La validation a \xE9t\xE9 supprim\xE9e",favorites_management:"Gestion des favoris",folder_can_not_be_copied_into_own_structure:"Le dossier ne peut pas \xEAtre copi\xE9 dans sa propre structure",folder_description:"Description du dossier",folder_menu:{activate_observation:"Activer la veille",configure_observation:"Configurer la veille",deactivate_observation:"D\xE9sactiver la veille",preform_observation:"Ex\xE9cuter la veille",share_multiple:"Ajouter des partages",share_single:"Configurer les partages"},folder_name:"Nom du dossier",folder_select_at_least_one:"Veuillez s\xE9lectionner au moins un dossier",inactive_email:"Notifications par courrier \xE9lectronique d\xE9sactiv\xE9es",inactive_observation:"Surveillance inactive",leave_folder_group_info:"Ce dossier ne peut pas \xEAtre quitt\xE9 car il a \xE9t\xE9 partag\xE9 via un groupe. Veuillez supprimer le partage via le groupe respectif.",leave_folder_group_title:"Quitter un dossier",my_favorites:"Mes favoris",my_notes:"Mes notes",new_folder:"Nouveau dossier",new_notes_folder:"Nouveau dossier des notes",no_favorites_folders_found:"Aucun favori correspondant n'a \xE9t\xE9 trouv\xE9.",no_folder_description:"Aucune description de dossier disponible",no_items_in_folder:"Il n\u2019y a aucun ensemble de donn\xE9es dans ce dossier.",no_notes_folders_found:"Aucun note correspondant n'a \xE9t\xE9 trouv\xE9.",not_contained_in_any_folder:"Cet ensemble de donn\xE9es n\u2019existe dans aucun dossier.",note:{add_to_folder:"Ajouter au dossier des notes",copy_folder:"Copier le dossier des notes",copy_folder_success:"Le dossier de notes a \xE9t\xE9 copi\xE9",copy_folders_success:"Les dossiers de notes ont \xE9t\xE9 copi\xE9s",create_folder:"Cr\xE9er un dossier des notes",create_folder_success:"Le dossier de notes a \xE9t\xE9 cr\xE9\xE9",delete_confirm_text_folder:"Voulez-vous vraiment supprimer le dossier des notes \xAB\xA0{{folderNamer}}\xA0\xBB?",delete_confirm_text_folders:"Voulez-vous vraiment supprimer les {{count}} dossiers des notes?",delete_confirm_title_folder:"Supprimer le dossier des notes",delete_confirm_title_folders:"Supprimer le dossier des notes",delete_folder_success:"Le dossier de notes a \xE9t\xE9 supprim\xE9",delete_folders_success:"Les dossiers de notes ont \xE9t\xE9 supprim\xE9s",leave_shared_folder:"Quitter le dossier des notes",leave_shared_folder_success:"Le dossier de notes a \xE9t\xE9 quitt\xE9",no_folder_shared_yet:"Aucune note partag\xE9e.",select_folder:"S\xE9lectionner un dossier de notes",share_folder:"Partager le dossier des notes",share_folder_success:"Le dossier de notes a \xE9t\xE9 partag\xE9",show_folders:"Afficher le dossier de notes"},notes:"Notes",observation_info_activate:"Veuillez noter que la surveillance sera activ\xE9e pour tous les \xE9l\xE9ments s\xE9lectionn\xE9s.",observation_info_deactivate:"Veuillez noter que la surveillance sera d\xE9sactiv\xE9e pour tous les \xE9l\xE9ments s\xE9lectionn\xE9s.",observation_info_settings:"Veuillez noter que tous les param\xE8tres des \xE9l\xE9ments s\xE9lectionn\xE9s seront appliqu\xE9s. Les param\xE8tres existants seront \xE9cras\xE9s.",observation_info_start:"Veuillez noter que toutes les surveillances s\xE9lectionn\xE9es qui sont actives seront directement ex\xE9cut\xE9es. L'action peut prendre un certain temps.",observation_successfully_activated:"La surveillance a \xE9t\xE9 activ\xE9e",observation_successfully_changed:"La surveillance a \xE9t\xE9 configur\xE9e",observation_successfully_created:"La surveillance a \xE9t\xE9 cr\xE9\xE9e",observation_successfully_deactivated:"La surveillance a \xE9t\xE9 d\xE9s
1activ\xE9e",please_choose_target_folder:"Veuillez s\xE9lectionner un dossier cible",save_description:"Sauvegarder la description",search_term:"Recherche de dossiers",select_folder:"S\xE9lectionner un dossier",share:{assign_users_groups:"Affecter les utilisateurs / groupes",full_access:"Acc\xE8s complet",read:"Lire",share_folder:"Partager le dossier",share_folder_with_name:"Partager le dossier \xAB\xA0{{folderName}}\xA0\xBB",share_multiple_info:"Il existe d\xE9j\xE0 des r\xE8gles de partage sur au moins un dossier s\xE9lectionn\xE9. Ces param\xE8tres existants seront compl\xE9t\xE9s.",share_success_multiple:"Partages pour {{count}} dossiers ont \xE9t\xE9 ajout\xE9s",write:"Ecrire"},share_folder_info:"Veuillez noter que les dossiers s\xE9lectionn\xE9s seront partag\xE9s avec tous les utilisateurs s\xE9lectionn\xE9s.",share_multiple_folder:"Partager plusieurs dossiers",shared_folder_delete_info_text:"Vous avez partag\xE9 ce dossier. Souhaitez-vous choisir un nouveau propri\xE9taire avant de supprimer le dossier?",show_favorites:"\xAB Afficher le dossier des favoris \xBB",show_notes:"Afficher le dossier des notes",start_observation_run:"D\xE9marrer la surveillance d'entreprise",start_observation_run_description:"Souhaitez-vous ex\xE9cuter l'ex\xE9cution de la surveillance pour tous les utilisateurs maintenant ?",trigger_update_error_already_running:"Un cycle de surveillance est d\xE9j\xE0 en cours. Tant que vous ne l'avez pas fait, vous ne pouvez pas lancer une autre ex\xE9cution.",trigger_update_success:"Le cycle de surveillance a \xE9t\xE9 d\xE9marr\xE9"},licenses:{add_users_or_groups:"Ajouter les utilisateurs / groupes",assigned_licenses:"Licences attribu\xE9es",collection_license:"Licence de collection",collection_license_tooltip:"Les licences de collection permettent l\u2019activation de tous les documents joints aux m\xE9tadonn\xE9es Les licences de collection ne distinguent plus selon les documents individuels; \xE0 la place, elles se r\xE9f\xE8rent aux m\xE9tadonn\xE9es qui peuvent \xEAtre jointes aux documents et les activent par utilisateur / groupe.",copy_license:"Copier la licence",copy_license_success:"La licence a \xE9t\xE9 copi\xE9e",create_document_license:{add_license:"Ajouter le document \xE0 une licence document existante",add_license_multiple:"Ajouter des documents \xE0 une licence document existante",description:"Souhaitez-vous cr\xE9er une nouvelle licence pour le document ou ajouter le document \xE0 une licence existante?",description_multiple:"Souhaitez-vous cr\xE9er une nouvelle licence document pour tous les documents de l'ensemble de donn\xE9es ou ajouter les documents \xE0 une licence existante?",title:"Lier la licence"},create_license:"Cr\xE9er une licence",create_license_search_query_error:"Requ\xEAte de recherche requise",create_license_success:"La licence a \xE9t\xE9 cr\xE9\xE9e",create_license_title_error:"Le nom de licence existe d\xE9j\xE0",delete_license_header:"Supprimer la licence",delete_license_success:"La licence a \xE9t\xE9 supprim\xE9e",delete_license_text:"Voulez-vous vraiment supprimer la licence?",delete_licenses:"Supprimer la (les) licence(s)",delete_multiple_licenses_header:"Supprimer les licences",delete_multiple_licenses_success:"Les licences ont \xE9t\xE9 supprim\xE9es",delete_multiple_licenses_text:"Voulez-vous vraiment supprimer les licences ?",detail:{accept_query_denied:"La requ\xEAte contient plus de {{count}} r\xE9sultats. Veuillez pr\xE9ciser les param\xE8tres de recherche pour sauvegarder la requ\xEAte.",accept_query_denied_header:"La requ\xEAte donne trop de r\xE9sultats.",accesses:"Nombre d\u2019acc\xE8s",application_successful:"Utilisateurs / groupes ont \xE9t\xE9 ajout\xE9s",apply_search_query_for_license:"Appliquer la requ\xEAte pour la licence?",create_license_title_blacklisted:"Le nom de la licence ne doit pas comprendre les termes \xAB Best Collection \xBB et \xAB Nautos Sammlung \xBB",do_you_want_to_delete_this_license:"Voulez-vous vraiment supprimer la licence \xAB\xA0{{name}}\xA0\xBB ?",doc_limit:"Nombre",doc_limit_info:"Limite de licence : Vous d\xE9finissez ici le nombre maximal de documents inclus dans votre licence. Nous vous informerons d\xE8s que le nombre de documents d\xE9passe le seuil.",doc_limit_license:"Nombre maximal de documents",doc_threshold:"Seuil",edit_license:"Modifier la licence.",edit_search:"Modifier la requ\xEAte de recherche",existing_documents:"Documents contenus",for_every_single_document:"Pour chaque document",for_the_body_of_rules:"Pour les r\xE8gles",name:"Nom de licence",no_search_added_yet:"Aucune requ\xEAte de recherche.",pagination_large:"grand",pagination_medium:"moyen",pagination_size:"Quantit\xE9 de r\xE9sultats",pagination_small:"petit",please_put_integer:"Seuls des nombres entiers positifs sont autoris\xE9s",remove_documents:"Supprimer le(s) document(s)",remove_groups:"Supprimer les groupes",remove_users:"Supprimer les utilisateurs",save_document:"T\xE9l\xE9charger le document (uniquement en cas d'affichage dans Nautos Viewer)",search_documents:"Rechercher des documents",search_query:"Requ\xEAte",select_document:"S\xE9lectionner un document",simultan_license:"Licence simultan\xE9e",successfully_removed_document_from_license:"Le document a \xE9t\xE9 supprim\xE9 de la licence",successfully_removed_documents_from_license:"Les documents ont \xE9t\xE9 supprim\xE9s de la licence",type:"Cat\xE9gorie de licence"},document_license:"Licence document",document_license_tooltip:"Les licences de documents permettent l\u2019activation de documents individuels dans le cadre des licences. De cette mani\xE8re, il est possible d\u2019effectuer une affectation pr\xE9cise par utilisateur / groupe",document_management:{delete_title:"Supprimer le(s) lien(s) de document",filter_license_assignment_type:"Attribution des licences",filter_with_many_licenses:"Plusieurs licences disponibles",filter_without_license:"Aucune licence disponible",import_title:"Charger des liens de document",mixed_documents_warning:"Les documents fournis automatiquement par Nautos 
1ne peuvent pas \xEAtre supprim\xE9s",multiple_confirm:"Voulez-vous vraiment supprimer ces {{count}} liens de documents?",no_documents_assigned:"Aucun document n\u2019est encore associ\xE9 \xE0 cette licence.",no_documents_created:"Aucun document disponible.",no_documents_found:"Aucun document trouv\xE9.",records_successfully_deleted:"Le(s) lien(s) de document a (ont) \xE9t\xE9 supprim\xE9(s)",remove_from_licenses_confirm:"Toutes les licences de documents seront supprim\xE9es des associations de documents s\xE9lectionn\xE9es. Voulez-vous continuer?",remove_from_licenses_succeed:"Les liens ont \xE9t\xE9 supprim\xE9s de la licence",remove_from_licenses_title:"Supprimer toutes les licences des liens",reqif:{title:"ReqIF"},single_confirm:"Voulez-vous vraiment supprimer ces liens de documents?",subscription:{bestcollection:"Collection Nautos",bestcollection_license:"Licence Collection Nautos",individual:"StandardsTicker"},title:"Gestion des documents",tooltip:"V\xE9rifier les licences attribu\xE9es",url:"URL / Chemin"},document_stamps:{activate_stamps:"Activer le tampon du document",add_field:"Ajouter un champ",all_pages:"toutes les pages",bottom:"en bas",configuration:"Configuration de tampon",create_stamp:"Cr\xE9er une configuration de tampon",create_success:"La configuration de tampon a \xE9t\xE9 cr\xE9\xE9e",current_valid_withdrawn:"Actuel (Validit\xE9/Annul\xE9)",default:"Configuration de tampon standard",delete:"Supprimer la configuration de tampon",delete_stamp_header:"Supprimer la configuration de tampon",delete_stamp_header_multiple:"Supprimer les configurations de tampon",delete_stamp_text:"Voulez-vous vraiment supprimer la configuration de tampon ?",delete_stamp_text_multiple:"Voulez-vous vraiment supprimer les configurations de tampons ?",deleted:"La configuration de tampon a \xE9t\xE9 supprim\xE9e",deleted_multiple:"Les configurations de tampons ont \xE9t\xE9 supprim\xE9es",diagonal:"En travers",edit_filter:"Modifier le filtre de recherche",edit_stamp:"Modifier le tampon du document",edit_success:"La configuration de tampon a \xE9t\xE9 modifi\xE9e",error_missing_selection:"Veuillez s\xE9lectionner le champ et la position",field:"Champ",filter_info:"Avec un filtre actif, seuls les documents qui correspondent aux crit\xE8res du filtre sont estampill\xE9s.",forbidden:"L\u2019action s\xE9lectionn\xE9e n\u2019est pas autoris\xE9e",freetext_fields:"Champs de texte libres",info_text:"La configuration des tampons n'est disponible que dans Nautos Pro. Veuillez noter que seules les donn\xE9es utilisateur et les m\xE9tadonn\xE9es sont estampill\xE9es avec du contenu existant.",left:"\xE0 gauche",metadata_fields:"Champs de m\xE9tadonn\xE9es",name:"Nom du tampon",no_filter_info:"Sans filtre, tous les documents sont estampill\xE9s.",only_on_first_page:"seulement sur la page 1",page_one:"Page 1",position:"Position",preview:"Aper\xE7u",printing_date:"Date/heure d'impression",remove_filter:"Supprimer le filtre de recherche",reset:"r\xE9tablir la valeur par d\xE9faut",right:"\xC1 droit",saving_request_success:"Le tampon du document a \xE9t\xE9 enregistr\xE9",search_filter:"Filtre de recherche",show_only_on_first_page:"Afficher seulement sur la page 1",stamps:"Tampon",table:{changed:"Modifi\xE9(e) le",created:"Cr\xE9\xE9(e) le",element_selected:"1 tampon s\xE9lectionn\xE9",elements_selected:"{{count}} tampons s\xE9lectionn\xE9s",isActive:"Actif"},title:{basic:"Tampon du document",pro:"Configurations de tampon"},top:"en haut",unselectable_readonly_stamp_note:"Le tampon standard ne peut pas \xEAtre s\xE9lectionn\xE9",userdata_fields:"Champs de donn\xE9es utilisateur"},export:{license_documents:"Licences de documents",license_settings:"Param\xE8tres de licence"},export_licenses:"Exporter des licences",export_licenses_choice_modal:"Veuillez choisir le type d'exportation que vous souhaitez effectuer",export_type:{license:"Exporter des licences de documents",settings:"Exporter les param\xE8tres de licence"},export_type_choice_modal:"Veuillez choisir le type d'exportation que vous souhaitez effectuer",hosting_explorer:{delete_feedback:"{{countSuccess}} fichiers supprim\xE9s. {{countFail}} n'ont pas pu \xEAtre supprim\xE9s.",delete_hosted_files:"Supprimer le(s) fichier(s) host(s)",delete_hosted_files_confirm_text:"Voulez-vous vraiment supprimer les fichiers h\xE9berg\xE9s s\xE9lectionn\xE9s?",document_link:"Raccourci de document",document_protected:"Les documents prot\xE9g\xE9s ne sont pas affich\xE9s dans le Nautos Viewer.",edit_document_link:"Modifier le lien de document",error_filename_forbidden_characters:"Les caract\xE8res suivants ne sont pas autoris\xE9s: {{forbiddenCharacters}}",error_filenames_identical:"Les noms de fichiers ne doivent pas correspondre",error_maximum_characters_error:"La longueur maximale des caract\xE8res a \xE9t\xE9 d\xE9pass\xE9e.",error_no_files_selected:"Veuillez s\xE9lectionner au moins un fichier.",error_remove_faulty_files:"Veuillez supprimer tous les fichiers erron\xE9s",file_size:"Taille",file_type:"Extension de fichier",file_upload:"T\xE9l\xE9chargement de fic
1hiers",file_uploaded_date:"Date de t\xE9l\xE9chargement",import_title:"Modification de fichiers via l'importation CSV",link_file:"Lier un fichier",link_files:"Lier des fichiers",linked:"li\xE9(s)",linked_feedback_modal_title:"{{countSuccess}} fichiers li\xE9s. {{countFail}} fichiers n'ont pas pu \xEAtre li\xE9s.",metadata_saved_success:"Les liens du document ont \xE9t\xE9 enregistr\xE9s",no_files_found:"Aucun fichier trouv\xE9.",no_files_uploaded:"Aucun fichier t\xE9l\xE9charg\xE9.",not_linked:"non li\xE9(s)",rename_file:"Renommer le fichier",rename_success_message:"Le fichier a \xE9t\xE9 renomm\xE9",rename_text:"Souhaitez-vous renommer le fichier suivant?",status_upload_failed:"Annul\xE9",status_uploading:"T\xE9l\xE9chargement en cours",status_validation_failed:"La validation a \xE9chou\xE9e",status_verifying:"V\xE9rification en cours",sync_status:"Synchronisation",title:"Hosting Explorer",upload_files:"T\xE9l\xE9charger le(s) fichier(s)",upload_multi:"Plusieurs fichiers seront t\xE9l\xE9charg\xE9s",upload_single:"Un fichier est t\xE9l\xE9charg\xE9",upload_text:"Ne fermez pas la fen\xEAtre du navigateur et ne rechargez pas la page afin de ne pas interrompre les t\xE9l\xE9chargements. Vous pouvez continuer \xE0 travailler dans Nautos comme d'habitude."},import:{empty:"Entr\xE9e vide",fields:{ac_code:"Code AC",access_count:"Acc\xE8s simultan\xE9s",delete:"Supprimer",document_id:"ID de document",downloadable:"T\xE9l\xE9charger",groups:"Groupes",license_id:"ID de licence",license_name:"Nom de licence",license_type:"Type de licence",simultane_accesses:"Acc\xE8s simultan\xE9s",simultanelicense_active:"Licence simultan\xE9e",simultanelicense_type:"Type de licence simultan\xE9e",users:"Nom d\u2019utilisateur"},report:{error:{ac_code_not_found:"Le code AC \xAB {{fieldValue}} \xBB ne contient aucun document",empty_field_value:"Le champ requis \xAB\xA0{{field}}\xA0\xBB est vide",field_value_invalid:"{{field}} a une valeur invalide \xAB\xA0{{fieldValue}}\xA0\xBB.",immutable:"Le champ \xAB\xA0{{field}}\xA0\xBB ne peut pas \xEAtre modifi\xE9",line_parse_error:"Le champ \xAB\xA0{{field}}\xA0\xBB :\xAB\xA0{{fieldValue}}\xA0\xBB n'a pas pu \xEAtre lu \xE0 cause du format",not_allowed:"\xAB\xA0{{field}}\xA0\xBB a une valeur non autoris\xE9e \xAB\xA0{{fieldValue}}\xA0\xBB.",not_found_by_id:"\xAB\xA0{{field}}\xA0\xBB avec ID: \xAB\xA0{{fieldValue}}\xA0\xBB non trouv\xE9",not_found_by_name:"\xAB\xA0{{field}}\xA0\xBB \xAB\xA0{{fieldValue}}\xA0\xBB non trouv\xE9.",parse_error:"La fichier n'a pas pu \xEAtre lu",record_count_x:"{{count}} entr\xE9es n\u2019ont pas pu \xEAtre trait\xE9es",tenant_id_not_match:"Valeur de champ \xAB ID \xBB invalide : \xAB\xA0{{fieldValue}}\xA0\xBB",undefined:"Erreur inconnue pour l\u2019entr\xE9e \xAB\xA0{{field}}\xA0\xBB"}}},import_license_successfully_added:"1 licence a \xE9t\xE9 ajout\xE9e",import_license_successfully_updated:"1 licence a \xE9t\xE9 chang\xE9",import_licenses:"Importation de licences",import_x_licenses_successfully_added:"{{count}} licences ont \xE9t\xE9 ajout\xE9s",import_x_licenses_successfully_updated:"{{count}} licences ont \xE9t\xE9 chang\xE9s",license_type:"Type de licence",license_type_description:"Veuillez s\xE9lectionner une cat\xE9gorie de licence pour la nouvelle licence.",license_type_title:"S\xE9lectionner une cat\xE9gorie de licence",licenses_and_documents:"Licences et documents",metadata_license:"Licence de m\xE9tadonn\xE9es",metadata_license_tooltip:"Les licences de m\xE9tadonn\xE9es permettent l\u2019activation de m\xE9tadonn\xE9es recherchables pour les utilisateurs / groupes individuels. De cette mani\xE8re, il est possible de limiter ou d*\xE9tendre la port\xE9e des recherches de Nautos.",multi_license:"Licence multi-utilisateurs",no_license_available:"Aucune licence disponible.",no_licenses_assigned:"Aucune licence attribu\xE9e.",no_licenses_found:"Aucune licence trouv\xE9e.",search_licenses:"Parcourir les licences",single_license:"Licence d'utilisateur unique",title:"Licences",unselectable_readonly_license_note:"Les licences \xAB\xA0Collection Nautos\xA0\xBB ne peuvent pas \xEAtre s\xE9lectionn\xE9es",update_license_success:"La licence a \xE9t\xE9 modifi\xE9e"},notifications:{a_document_was_changed:"Un ensemble de donn\xE9es d\u2019une commande a \xE9t\xE9 modifi\xE9",a_document_was_changed_by:"Un ensemble de donn\xE9es d\u2019une commande a \xE9t\xE9 modifi\xE9 par {{forename}} {{surname}}",a_document_was_declined:"Un document a \xE9t\xE9 rejet\xE9",a_document_was_declined_by:"Un document a \xE9t\xE9 rejet\xE9 par {{forename}} {{surname}}",a_document_was_delivered:"Un document a \xE9t\xE9 livr\xE9",a_document_was_delivered_by:"Un document a \xE9t\xE9 livr\xE9 par {{forename}} {{surname}}",a_document_was_ordered:"Un document a \xE9t\xE9 command\xE9",a_document_was_ordered_by:"Un document a \xE9t\xE9 command\xE9 par {{forename}} {{surname}}",a_document_was_ordered_directly:"Un document a \xE9t\xE9 directement command\xE9 et livr\xE9",a_document_was_ordered_directly_by:"Un document a \xE9t\xE9 directement command\xE9 et livr\xE9 par {{forename}} {{surname}}",a_document_was_released:"Un document a \xE9t\xE9 valid\xE9",a_document_was_released_by:"Un document a \xE9t\xE9 valid\xE9 par {{forename}} {{surname}}",a_document_was_requested:"Un document a \xE9t\xE9 demand\xE9",a_document_was_requested_by:"Un document a \xE9t\xE9 demand\xE9 par {{forename}} {{surname}}",an_order_was_cancelled:"Une demande a \xE9t\xE9 retir\xE9e",an_order_was_cancelled_by:"Une demande a \xE9t\xE9 retir\xE9e par {{forename}} {{surname}}",an_order_was_edited:"Une commande a \xE9t\xE9 trait\xE9e",an_order_was_edited_by:"Une commande a \xE9t\xE9 trait\xE9e par {{forename}} {{surname}}",check_metadata:"V\xE9rifier l'ensemble des donn\xE9es",dataset_changed:"Ensemble de donn\xE9es modifi\xE9 lors de la derni\xE8re mise \xE0 jour",datasets_changed:"Ensembles de donn\xE9es modifi\xE9s lors de la derni\xE8re mise \xE0 jour",delete_statistics:"Les donn\xE9es statistiques ont \xE9t\xE9 supprim\xE9es",document_owner_reminder:"Veuillez v\xE9rifier les donn\xE9es et d\xE9finir une nouvelle date de rappel.",document_ownership:"Vous \xEAtes le propri\xE9taire du document pour l'ensemble de donn\xE9es {{documentNumber}}. ({{dateOfIssue}}) [{{acCode}}].",export_failed:"Votre exportation a \xE9chou\xE9.",export_link_download:"Vers l\u2019espace de t\xE9l\xE9chargement",export_ready_for_download:"Votre export est pr\xEAt \xE0 \xEAtre t\xE9l\xE9charg\xE9",export_statistics:"Les statistiques des acc\xE8s aux documents int\xE9gral sont disponibles en t\xE9l\xE9chargement",export_statistics_login:"Les statistiques des logins sont disponibles en t\xE9l\xE9chargement.",export_statistics_order:"Les statistiques des commandes sont disponibles en t\xE9l\xE9chargement.",hosting_space_invalid:"\xAB\xA0{{fileName}}
1\xA0\xBB n'a pas pu \xEAtre t\xE9l\xE9charg\xE9. La limite des fichiers d'h\xE9bergement a \xE9t\xE9 d\xE9pass\xE9e, veuillez contacter le support de Nautos",import_filelist_done:"Votre import des listes de fichiers a \xE9t\xE9 effectu\xE9",license_threshold_reached:"La limite de la licence \xAB {{licenseName}} \xBB est atteinte ou d\xE9pass\xE9e. {{documentCount}} documents sur {{documentLimit}} sont enregistr\xE9s.",license_threshold_reminder:"Augmentez la licence ou r\xE9duisez le nombre de documents.",license_threshold_title:"Seuil de licence atteint",mark_all_as_read:"Tout marquer comme lu",mark_as_read:"Marquer comme lu",no_new_notifications:"Aucunes nouvelles notifications",observation_no_changes:"Aucun changement n'a \xE9t\xE9 d\xE9tect\xE9 dans votre surveillance",release_level_changed:'a \xE9t\xE9 d\xE9fini sur "{{releaseLevel}}".',release_level_reset_default:"a \xE9t\xE9 r\xE9initialis\xE9.",reqif:{conversion_failed:"La conversion du document \xAB\xA0{{documentNumber}} ({{dateOfIssue}}) ({{language}})\xA0\xBB a \xE9chou\xE9e. Veuillez transmettre les donn\xE9es du processus au Service Desk. Cliquez ici pour les copier.",conversion_succeeded:"\xAB{{documentNumber}} ({{dateOfIssue}}) ({{language}}
1)\xA0\xBB a \xE9t\xE9 converti et est pr\xEAt \xE0 \xEAtre t\xE9l\xE9charg\xE9",process_id_copied:"Le ProzessId a \xE9t\xE9 copi\xE9 dans le presse-papier."}},observation:{ac_code_amended_by:"Code AC \u2018Modifi\xE9 par\u2019",ac_code_predecessor:"Code AC pr\xE9c\xE9dent",ac_code_successor:"Code AC 'Remplac\xE9 par'",action:"Action",add:"Suppl\xE9menter",add_another_field:"Ajouter un champ suppl\xE9mentaire",change:"Modification",change_field:"Modifications dans le champ",change_metadata:"Modifications des ensembles de donn\xE9es",changes:"Modifications",choose_field_name:"S\xE9lectionner le nom du champ",corrective_run_for_short:"pr s.",corrective_run_info:"Cycle de correction du {{lastUpdateDate}} pour cycle de surveillance du {{observationRunDate}}",corrective_run_info_short:"Corr.",create:"Cr\xE9er une veille",custom_settings:"D\xE9fini par l'utilisateur",default_settings:"Standard",doc_nr_amended_by:"Num\xE9ro de document 'Modifi\xE9 par'",doc_nr_predecessor:"Num\xE9ro du document pr\xE9c\xE9dent",doc_nr_successor:"Num\xE9ro de document 'Remplac\xE9 par'",document_type_pr:"PR - Ensembles de donn\xE9es partiellement remplac\xE9s (se r\xE9f\xE8re au champ 'type de document')",field_name:"Nom de champ",flag_a:"A - Modifi\xE9 lors de la derni\xE8re mise \xE0 jour (entr\xE9e dans le champ 'Modifi\xE9 par')",flag_c:"C - Modifications du champ lors de la derni\xE8re mise \xE0 jour",flag_h:"H - Ensembles de donn\xE9es historiques (annul\xE9s depuis plus d'un mois)",flag_i:"I - Annulation intentionnelle d\xE9clar\xE9e lors de la derni\xE8re mise \xE0 jour",flag_m:"M - Ensembles de donn\xE9es modifi\xE9s (entr\xE9e dans le champ 'Modifi\xE9 par')",flag_n:"N - Nouveau lors de la derni\xE8re mise \xE0 jour",flag_p:"P - Remplacement partiel signal\xE9 lors de la derni\xE8re mise \xE0 jour",flag_r:"R - Repris lors de la derni\xE8re mise \xE0 jour",flag_w:"W - Annul\xE9 lors de la derni\xE8re mise \xE0 jour",folder:"Dossier",intendedWithdrawals:"Annulations intentionnelles",metadata:{abstract_de:"R\xE9sum\xE9 (allemand)",abstract_en:"R\xE9sum\xE9 (anglais)",abstract_fr:"R\xE9sum\xE9 (fran\xE7ais)",abstract_other:"R\xE9sum\xE9 (autres langues)",amended_by:"Modifi\xE9 par",amends:"Modifie",available_from:"En vente",certification:"Certifi\xE9",classification:"Classification",committee_reference:"Auteur technique",confirmation_date:"Date de confirmation",date_of_appearance:"Date de parution",descriptors_de:"Descripteurs (allemand)",descriptors_en:"Descripteurs (anglais)",descriptors_fr:"Descripteurs (fran\xE7ais)",descriptors_other:"Descripteurs (autres langues)",document_identifier:"Num\xE9ro de document",draft_superseded:"Projet remplac\xE9",effective_date:"Date d'entr\xE9e en vigueur",expiry_date:"Date de cl\xF4ture de l'enqu\xEAte public",format_pages:"Pages",full_text_address:"Adresse texte int\xE9gral",full_text_online_id:"ID du texte int\xE9gral en ligne",handbook:"Reproduit dans",history_of_versions:"Historique des versions",international_relationship:"Parent\xE9 internationale",issuing_body:"Origine",legislation:"L\xE9gislation",notes_de:"Notes (allemand)",notes_en:"Notes (anglais)",notes_fr:"Notes (fran\xE7ais)",notes_other:"Notes (autres langues)",origin_code:"Code d'origine",original_language:"Langue d'origine",overview:"Expos\xE9",price:"Prix",product_id:"ID de l'article",publication_date:"Date de publication",published_in:"Source principale",replaced_by:"Remplac\xE9 par",replaces:"Remplace",sectional_list:"Liste de profils",sort_key:"Cl\xE9 de tri",status:"Type de document",title_de:"Titre (allemand)",title_en:"Titre (anglais)",title_fr:"Titre (fran\xE7ais)",title_other:"Titre (autres langues)",transition_period:"P\xE9riode transitoire",translations:"Traductions",withdrawal_date:"Date d'annulation"},new_publications:"Nouvelles publications",no_observations:"Aucune veille disponible.",notify:"Rapport",observation_history:"Historique de la surveillance",other_changes:"Autres modifications",partially_replaced:"Partiellement remplac\xE9",publication_date_change:"Date de publication 'Modifi\xE9 par'",publication_date_predecessor:"Date de publication du document pr\xE9c\xE9dent",publication_date_successor:"Date de publication 'Remplac\xE9 par'",replace:"Remplacer",run_finished:"Ex\xE9cution de la surveillance achev\xE9e",run_finished_refresh_folder_info:"Nouveau contenu potentiellement disponible pour ce dossier",run_finished_refresh_folder_question:"Souhaitez-vous mettre \xE0 jour l\u2019affichage maintenant?",save_and_run_update:"Sauvegarder et ex\xE9cuter",settings:"Param\xE8tres de veille",title:"Veilles",title_change:"Titre 'Modifi\xE9 par'",title_predecessor:"Titre du document pr\xE9c\xE9dent",title_successor:"Titre du document suivant",withdrawals:"Annulations"},orders:{activate_orders_release_title:"Activer le niveau de partage dans la gestion des commandes",add_to_shopping_cart:"Au panier",applied_data_to_all_orders:"Saisies reprises de tous les ensembles de donn\xE9es",apply_data_to_all_orders:"Reprendre les saisis de tous les ensembles de donn\xE9es",character_limit:"{{limit}} caract\xE8res maximum autoris\xE9s",deactivate:"D\xE9sactiver",deactivate_orders_release_text:"Si vous d\xE9sactivez le partage, les demandes en statut \xAB\xA0Partage\xA0\xBB seront remises au statut demandes.",deactivate_orders_release_title:"D\xE9sactiver le partage dans la gestion des commandes",deactivate_orders_saved_successfully:"Les param\xE8tres de la gestion des commandes ont \xE9t\xE9 enregistr\xE9s",deactivate_orders_text:"Vous d\xE9sactivez la fonction de commande pour tous les utilisateurs. Avant de le d\xE9sactiver, veuillez v\xE9rifier s'il existe des demandes ouvertes.",deactivate_orders_title:"D\xE9sactiver la gestion des commandes",deactivated_orders_info_text:"La fonction de commande n'est actuellement pas disponible pour tous les utilisateurs.",deactivated_orders_info_title:"La gestion des commandes d\xE9sactiv\xE9e",decentral:{add_entry:"Ajouter une entr\xE9e",can_see:"Voit des demandes de",create:"Cr\xE9er une affectation de commande",edit:"Modifier une affectation de commande",error_missing_order_manager:"Le responsable de commande et de partage doit \xEAtre s\xE9lectionn\xE9",info:"Les utilisateurs du tableau peuvent exclusivement voir et modifier les demandes des utilisateurs et des groupes attribu\xE9s.",manager:"Responsable de commande et de partage",save_success:"L\u2019affectation de commande a \xE9t\xE9 enregistr\xE9s",title:"Affichage d\xE9centralis\xE9 des commandes"},delivered:"Livr\xE9",delivered_by:"Livr\xE9 par",delivered_by_email:"Livr\xE9 par (e-mail)",deliveries:"Livraisons",delivery_date:"Livr\xE9 lel",details_on_invoice:"Mention sur la facture",details_on_invoice_tooltip:"Le texte saisi ici sera affich\xE9 sur la facture.",error_greater_than:"La valeur doit \xEAtre sup\xE9rieure \xE0 {{minVal}}
1",error_numeric:"La valeur doit \xEAtre un nombre",not_requested:"Non demand\xE9",order_data:"Donn\xE9es de commande",order_date:"Command\xE9 le",order_now:{buy_now:"Commande avec obligation d'achat",by_instant_purchase:"Commander avec achat imm\xE9diat",instant_purchase_success:"Le document a \xE9t\xE9 achet\xE9",instant_purchase_unavailable:"Document non disponible en achat imm\xE9diat",instant_purchases_success:"Les documents ont \xE9t\xE9 achet\xE9s",language_version_unavailable:"Version linguistique non disponible",redirect_to_webshop:"Aller au webshop",webshop:"Boutique en ligne",webshop_unavailable:"L\u2019article n\u2019est pas disponible dans le webshop"},order_successfully_requested:"Le document a \xE9t\xE9 demand\xE9",ordered:"Command\xE9",ordered_by:"Command\xE9 par",ordered_by_email:"Command\xE9 par (e-mail)",orders:"Commandes",orders_overview:{article_successfully_deleted:"Le document a \xE9t\xE9 supprim\xE9",article_successfully_ordered:"Le document a \xE9t\xE9 command\xE9",article_successfully_released:"Le document a \xE9t\xE9 valid\xE9",articles_successfully_deleted:"Les documents ont \xE9t\xE9 supprim\xE9s",articles_successfully_ordered:"Les documents ont \xE9t\xE9 command\xE9s",articles_successfully_released:"Les documents ont \xE9t\xE9 valid\xE9s",articles_successfully_requested:"Les documents ont \xE9t\xE9 demand\xE9s",change_dataset:"Modifier l\u2019ensemble de donn\xE9es",change_dataset_success:"L\u2019ensemble de donn\xE9es a \xE9t\xE9 modifi\xE9",delete_order:"Supprimer la commande",delete_orders:"Supprimer les commandes",deliver_order_success:"La commande a \xE9t\xE9 satisfaite",deliver_orders_success:"Les commandes ont \xE9t\xE9 satisfaites",do_you_want_to_delete_single_order:"Voulez-vous vraiment supprimer la commande?",do_you_want_to_delete_x_orders:"Voulez-vous vraiment supprimer les {{count}} commandes?",edit_order:"Modifier les donn\xE9es de commande",edit_request:"Modifier les documents s\xE9lectionn\xE9s",mark_as_approved:"Marquer comme valid\xE9(s)",mark_as_delivered:"D\xE9finir manuellement le(s) document(s) comme livr\xE9(s)",mark_as_requested:"Marquer comme demand\xE9(s)",no_filtered_items_in_delivered:"Aucun ensemble de donn\xE9es trouv\xE9 dans les livraisons.",no_filtered_items_in_ordered:"Aucun ensemble de donn\xE9es trouv\xE9 dans les commandes.",no_filtered_items_in_releases:"Aucun ensemble de donn\xE9es trouv\xE9 dans les partages.",no_filtered_items_in_requests:"Aucun ensemble de donn\xE9es trouv\xE9 dans les demandes.",no_filtered_items_in_shopping_cart:"Aucun ensemble de donn\xE9es trouv\xE9 dans le panier.",no_items_in_delivered:"Aucun ensemble de donn\xE9es dans les livraisons.",no_items_in_ordered:"Aucun ensemble de donn\xE9es dans les commandes.",no_items_in_releases:"Aucun ensemble de donn\xE9es dans les partages.",no_items_in_requests:"Aucun ensemble de donn\xE9es dans les demandes.",no_items_in_shopping_cart:"Aucun ensemble de donn\xE9es dans le panier.",order_directly:"Commander directement",order_selected:"Commander les documents s\xE9lectionn\xE9s",order_selected_directly:"Commander le(s) document(s) directement",order_successfully_deleted:"La demande a \xE9t\xE9 supprim\xE9e",order_successfully_rejected:"La demande a \xE9t\xE9 rejet\xE9e",order_successfully_updated:"La commande a \xE9t\xE9 mise \xE0 jour",orders_successfully_deleted:"Les demandes ont \xE9t\xE9 supprim\xE9es",orders_successfully_rejected:"Les demandes ont \xE9t\xE9 rejet\xE9es",orders_successfully_updated:"Les commandes ont \xE9t\xE9 mises \xE0 jour",reject_selected:"Rejeter le(s) document(s)",release_selected:"Partager le(s) document(s)",request_company_data:"Demander la norme manquante",request_selected:"Demander le(s) document(s)",send_back_to_ordered:"Retourner le(s) document(s) \xE0 Command\xE9",send_back_to_released:"Retourner le(s) document(s) \xE0 partages",send_back_to_requested:"Retourner le(s) document(s) \xE0 Demandes",send_back_to_shopping_cart:"Retourner le(s) document(s) au panier",set_ordered:"D\xE9finir manuellement le(s) document(s) comme command\xE9(s)"},reject:{reject:"Rejeter",title:"Demande rejet\xE9e"},reject_date:"Rejet\xE9 le",reject_reason:"Motif du rejet",rejected_by:"Rejet\xE9 par",rejected_by_email:"Rejet\xE9 par (e-mail)",released:"Valid\xE9",released_by:"Valid\xE9 par",released_by_email:"Valid\xE9 par (e-mail)",released_date:"Valid\xE9 le",releases:"Partages",request:{buyer_reference:"R\xE9f\xE9rence acheteur",format:"Format",order_directly:"Demander directement",order_number:"Num\xE9ro de commande",paper:"Papier",single_purchase:"Achat individuel",subscription:"Abonnement",title:"Demande",type_of_request:"Type de demande"},request_all:"Tout demander",request_date:"Demande soumise le",request_selected:"Demander les documents s\xE9lectionn\xE9s",request_warning:"Il existe d\xE9j\xE0 un document ou une demande d'achat pour votre demande dans l'entreprise.",requested:"Demand\xE9",requested_by:"Demand\xE9 par",requested_by_email:"Demand\xE9 par (e-mail)",requests:"Demandes",shopping_cart:"Panier d\u2019achat",title:"Gestion des commandes"},search:{all_records:"Tous les ensembles de donn\xE9es",ce_search:{datasets_all:"Tous les ensembles de donn\xE9es",datasets_harmonized:"Ensembles de donn\xE9es harmonis\xE9es",datasets_mandated:"Ensembles de donn\xE9es mandat\xE9es",directive:"Directive",directives_all:"Toutes les directives",title:"Recherche CE",tooltip_harmonized_or_directive:"Cet ensemble de donn\xE9es est li\xE9 \xE0 une directive CE",tooltip_mandated:"Cet ensemble de donn\xE9es est en concordance avec une norme europ\xE9enne",use_ce_search:"Utiliser la recherche CE"},context:"Affichage du document",control_file:{base_path:"Chemin de base",base_path_placeholder:"C:/Documents/",empty_base_path_error:"Veuillez indiquer un chemin de base",import_document:"Import des documents",link_error_line_no:"Ligne {{lineNo}}: ",link_error_type:{format:"Format incorrect",unknown:"Erreur inconnue"},link_successful_count_multiple:"{{count}} ensembles de donn\xE9es ont \xE9t\xE9 li\xE9s",link_successful_count_single:"1 ensemble de donn\xE9es a \xE9t\xE9 li\xE9",title:"Lier par le fichier de contr\xF4le"},create_layout:"Cr\xE9er une mise en page",customer_fields:"Champs clients",document_list:{copy_link_to_clipboard_action:"Copier en m\xE9moire",copy_link_to_clipboard_description:"Le lien vers \xAB\xA0{{link}}
1\xA0\xBB ne peut \xEAtre effectu\xE9 directement de Nautos. Cependant, vous pouvez copier le lien dans le champ URL du navigateur pour afficher le fichier",document_is_locked:"Document est verrouill\xE9",document_protected:{prepare_for_download:"Le document est prot\xE9g\xE9. Les documents prot\xE9g\xE9s ne sont pas affich\xE9s dans Nautos. La mise \xE0 disposition se fait sans tampon de document.",title:"T\xE9l\xE9charger le document"},link_successfully_copied:"Lien copi\xE9 en m\xE9moire",tooltip_context:"Documents disponibles en ligne",tooltip_mixed:"Contenu disponible pour l\u2019affichage",tooltip_userfiles:"Documents sont li\xE9s"},document_locked:{no_license_text:"Vous n'avez pas l'autorisation d'ouvrir ce document.",no_license_title:"Licence n\u2019est pas disponible",simultan_license_text:"Vous n'avez aucun droit d'acc\xE8s momentan\xE9ment \xE0 ce document. Veuillez-vous adresser \xE0 votre administrateur.",simultan_license_title:"Document verrouill\xE9"},document_ownership:{info:"Pour les donn\xE9es suivantes, vous \xEAtes d\xE9fini comme propri\xE9taire des documents.",no_documents_owned:"Actuellement, vous n'\xEAtes encore d\xE9fini comme propri\xE9taire de documents pour aucun ensemble de donn\xE9es.",title:"Jeux de donn\xE9es qui me sont attribu\xE9s"},document_upload:{add_additional_document:"Ajouter un autre document",allowed_file_types:"Types de fichiers autoris\xE9s: {{fileTypesList}}",building:"B\xE2timent",choose_hosted:"Choisir h\xE9berg\xE9...",closet:"Armoire",connected_documents:"Documents li\xE9s",deleting:"Sera supprim\xE9",digital_document:"Document en ligne",file:"Fichier",hosted_file:{file_too_big:"Max. taille de fichier de {{fileSizeLimit}} d\xE9pass\xE9e",warning:"Le fichier est t\xE9l\xE9charg\xE9 \xE0 la suite de l'enregistrement et du choix de la licence et n'est disponible que lorsque la v\xE9rification du fichier est termin\xE9e. L'\xE9tat du fichier peut \xEAtre consult\xE9 \xE0 tout moment dans le Hosting Explorer. Ne fermez pas la fen\xEAtre du navigateur et ne rechargez pas la page pendant ce temps."},link_hosted:"Fichier host",link_local:"Lien local",link_paper:"Lien au papier",link_type:"Type de lien",link_url:"Lien URL",misc:"Autre",other_language:"Autre langue",path:"Chemin",redline:"Redline",room:"Pi\xE8ce",save_success:"Les modifications ont \xE9t\xE9 accept\xE9es",trule:"R\xE8gle technique",upload_hosted:"T\xE9l\xE9charger un(e) nouveau(nouvelle)...",uploading:"Sera t\xE9l\xE9charg\xE9",url:"Adresse URL",wnorm:"Norme d\u2019entreprise"},extended_search:{add_search_field:"Ajouter le champ de recherche",change_search:"Adapter la recherche",copied_template_successfully:"Le mod\xE8le de recherche a \xE9t\xE9 copi\xE9",created_dynamic_folder_successfully:"Le mod\xE8le de recherche a \xE9t\xE9 cr\xE9\xE9 comme dossier",created_observed_template_successfully:"Le mod\xE8le de recherche veill\xE9 a \xE9t\xE9 cr\xE9\xE9",created_template_successfully:"Le mod\xE8le de recherche a \xE9t\xE9 cr\xE9\xE9",customFulltext_field_invalid:"Veuillez saisir au moins 3 et au plus 100 caract\xE8res",default_layout:"Vue standard",delete_layout:"Supprimer la mise en forme du tableau",delete_layout_request:"Voulez-vous vraiment supprimer la mise en page \xAB\xA0{{name}}\xA0\xBB? La mise en page est alors irr\xE9m\xE9diablement supprim\xE9e",delete_template:"Supprimer le mod\xE8le de recherche",delete_template_request:"Voulez-vous vraiment supprimer le mod\xE8le de recherche \xAB\xA0{{name}}\xA0\xBB?",deleted_template_successfully:"Le mod\xE8le de recherche a \xE9t\xE9 supprim\xE9",dynamic_folders:"Dossier dynamique",dynamic_operator_field:"Lien de champ",dynamic_search:"Recherche dynamique",dynamic_search_operator:"Lien principal",field_value:"Valeur du champ",flag_status_modal_subfolder_headline:"Pr\xE9information",modified_template_successfully:"Le mod\xE8le de recherche a \xE9t\xE9 modifi\xE9",modify_template:"Modifier le mod\xE8le de recherche",modify_template_info:"R\xE9organisez la recherche avanc\xE9e en fonction de vos besoins.",my_presets:"Mes mod\xE8les de recherche",no_dynamic_folders_available:"Aucuns dossiers dynamiques disponibles",no_search_result:"Aucune entr\xE9e trouv\xE9e.",no_shared_folders:"Aucun dossier partag\xE9 avec vous.",no_templates_available:"Aucuns mod\xE8les de recherche disponibles",remove_search_field:"Supprimer le champ de recherche",reqIfConvertible:"Afficher uniquement les normes convert
1ibles ReqIF",save_changes_to_template:"Sauvegarder les modifications dans le mod\xE8le",search_all_favorite_folders:"Tous les dossiers de favoris",search_all_folders:"Tous les dossiers",search_all_note_folders:"Tous les dossiers de notes",search_field:"Champ de recherche",search_field_invalid:"La valeur entr\xE9e n\u2019est pas valide",search_templates:"Mod\xE8les de recherche",title:"Champs de recherche avanc\xE9e",to:"jusqu\u2019\xE0",update_search_template_success:"Le mod\xE8le de recherche a \xE9t\xE9 mis \xE0 jour",use_dynamic_search:"Utiliser la recherche dynamique",value_list_tooltip:"S\xE9lectionner la valeur"},extended_search_template_create:{insufficient_length:"Le nom doit comporter au moins {{minLength}} caract\xE8res.",search_template_already_exists:"Le mod\xE8le de recherche existe d\xE9j\xE0.",title:"Cr\xE9er un mod\xE8le de recherche"},favorites_folder_select:{as_subfolder_of:"En tant que sous-dossier de",copy_to_new_favorites_folder:"Copier dans un nouveau dossier des favoris",create_dynamic_folder:"G\xE9n\xE9rer comme dossier"},filelist_import:{one_successful:"1 ensemble de donn\xE9es import\xE9",several_successful:"{{count}} ensembles de donn\xE9es import\xE9s"},full_view_template:"tous les champs de donn\xE9es",hitlist:{add_to_favorites:"Ajouter aux favoris",edit_metadata:"Utiliser l\u2019ensemble de donn\xE9es comme mod\xE8le d\u2019ensemble de donn\xE9es d\u2019entreprise",element_selected:"1 ensemble de donn\xE9es selectionn\xE9",elements_selected:"{{count}} ensembles de donn\xE9es selectionn\xE9s",favorite_successfully_added:"Le favori a \xE9t\xE9 ajout\xE9",favorite_successfully_removed:"Le favori a \xE9t\xE9 supprim\xE9",favorites_successfully_added:"Les favoris ont \xE9t\xE9 ajout\xE9s",favorites_successfully_removed:"Les favoris ont \xE9t\xE9 supprim\xE9s",folder_actions:"Actions de dossier",folder_actions_tooltip:"Afficher les actions de dossier",harmonized:"harmonis\xE9(e)",layout_deleted:"La mise en page a \xE9t\xE9 supprim\xE9e",layout_saved:"La mise en page a \xE9t\xE9 enregistr\xE9e",link_documents_via_assignment_file:"Lier des documents via un fichier d'affectation",mandated:"mandat\xE9(e)",no_items_found:"Aucun r\xE9sultat trouv\xE9 pour vos recherches.",note_successfully_added:"La note a \xE9t\xE9 ajout\xE9e",note_successfully_removed:"La note a \xE9t\xE9 supprim\xE9e",notes_successfully_added:"Les notes ont \xE9t\xE9 ajout\xE9es",notes_successfully_removed:"Les notes ont \xE9t\xE9 supprim\xE9es",order_added_to_shopping_cart:"Le document a \xE9t\xE9 ajout\xE9 au panier",orders_added_to_shopping_cart:"{{count}} documents ajout\xE9s au panier",orders_directly_requested:"{{count}} documents demand\xE9s",record_found:"1 ensemble de donn\xE9es a \xE9t\xE9 trouv\xE9",records_found:"{{count}} ensembles de donn\xE9es trouv\xE9s",remove_from_favorites:"Supprimer comme favori",remove_from_favorites_info:"Voulez-vous vraiment supprimer tous les favoris ?",remove_from_favorites_title:"Supprimer tous les favoris",remove_from_notes_info:"Voulez-vous vraiment supprimer toutes les notes ?",remove_from_notes_title:"Supprimer toutes les notes",remove_note:"Supprimer comme note",reset_search:"R\xE9initialiser la recherche",save_search:"Sauvegarder la recherche",search_result:"1 r\xE9sultat de la recherche",search_results:"{{count}} r\xE9sultats de la recherche",validation_name_min_length:"Le nom doit comporter au moins 3 caract\xE8res."},import_file_list:"Importer la liste des fichiers",item_detail:{abstract:"R\xE9sum\xE9",classification:"Classification",customer_fields_edit:"Modifier les champs clients",customer_fields_edit_success:"Le champs clients ont \xE9t\xE9 modifi\xE9s",descriptors:"Crit\xE8res de recherche",notes:"Notes",show_empty_fields:"Afficher les champs vides",title:"Affichage complet"},main_data:"Donn\xE9es principales",metadata_version:"\xC9tat des m\xE9tadonn\xE9es",mini_detail_layout:{create:"Cr\xE9er l'affichage d\xE9taill\xE9 de la mise en page",delete:"Supprimer l'affichage d\xE9taill\xE9 de la mise en page",delete_info:"Une fois supprim\xE9, le format est d\xE9finitivement supprim\xE9 et ne peut pas \xEAtre restaur\xE9.",edit:"Modifier l'affichage d\xE9taill\xE9 de la mise en page",title:"L'affichage d\xE9taill\xE9 de la mise en page",validation_unique_name:"Veuillez utiliser un nom diff\xE9rent du nom par d\xE9faut."},no_admin_rights:"Aucun droit d'administrateur disponible",no_information:"Aucune information",no_search_criteria_added:"Aucun crit\xE8re du filtre ajout\xE9.",no_search_in_history:"Aucun historique des recherches disponible",notes_folder_select:{copy_to_new_favorites_folder:"Copier dans un nouveau dossier des notes",note:"Note"},options:{company_datasets:"Ensemble de donn\xE9es d\u2019entreprise",with_document:"Avec document"},procurement:"Acquisition",remove_field:"Supprimer le champ",reqif:{conversion:"Convertir en ReqIF",conversion_create_failed_no_document:"Veuillez acheter au moins la version linguistique allemande avant la conversion.",conversion_create_failed_no_license:"Licence n\xE9cessaire avant la conversion.",conversion_create_failed_title:"Conversion impossible",conversion_failed:"Une erreur s\u2019est produite lors de la conversion",conversion_limit_reached:"25 ensembles de donn\xE9es maximum peuvent \xEAtre convertis",conversion_message_multi:"{{count}} documents sont convertis en ReqIF",conversion_message_single:"Un document est converti en ReqIF",language_error:"Seule la langue originale des documents est disponible pour la conversion.",multi:{conversion_button:"Convertir {{count}}",conversion_document_all_languages:"Toutes les versions linguistiques",conversion_document_missing_count:"{{count}} document(s) non trouv\xE9(s)",conversion_error_document_missing:"Document(s) non trouv\xE9(s)",conversion_error_language:"{{count}} documents ne sont pas disponibles en raison de leur langue",conversion_error_unbought:"Le document doit \xEAtre achet\xE9 avant d'\xEAtre converti",conversion_error_unconvertible:"Conversion ReqIF non disponible",conversion_error_unlicensed:"Document non sous licence",conversion_unbought_count:"{{count}} document(s) non acquis",conversion_unconvertible_count:"{{count}}
1 document(s) non convertible(s)",conversion_unlicensed_count:"{{count}} document(s) non licenci\xE9(s)",title:"Convertir des documents au format ReqIF"},no_conversion:"Conversion ReqIF non disponible"},search_criteria:"Crit\xE8res de recherche",search_history:"Historique des recherches",show_all_metadata:"Afficher tous les champs de donn\xE9es",start_search:"Ex\xE9cuter la recherche",table_layout:{info_text:"Modifiez la disposition du tableau en r\xE9organisant les champs par glisser-d\xE9poser.",invalid_value:"Nom non valide",presets:"Mise en page par d\xE9faut",title:"Mise en page des tableaux",title_create:"Cr\xE9er une nouvelle mise en page du tableau",title_edit:"Modifier la mise en page du tableau"},tenant_wide_template:"Affichage \xE0 l'\xE9chelle de l'entreprise",title:"Recherche"},sign_up:{activation_error:"Hop-l\xE0! Le lien que vous avez utilis\xE9 ne fonctionne plus. Veuillez contacter votre personne de contact.",activation_title:"Activer le compte",back_to_login:"Connexion",forgot_password:{help_text:"Saisissez le nom d'utilisateur avec lequel vous vous connectez \xE0 Nautos.",subtitle:"Pas de probl\xE8me!",success_text:"Si le nom d'utilisateur existe, vous recevrez sous peu un e-mail contenant un lien pour r\xE9initialiser votre mot de passe.",title:"Mot de passe oubli\xE9?",username_not_found:"Nom d\u2019utilisateur non trouv\xE9"},login:{ip_login_failed:"Connexion via l\u2019adresse IP \xE9chou\xE9e. Veuillez contacter votre administrateur.",login:"Se connecter",login_external:"Activer la connextion manuellement?",login_failed:"Connexion \xE9chou\xE9e",login_title:"Se connecter",saml_auth_failed:"Statut de r\xE9ponse SAML non valide: Le fournisseur qui r\xE9pond ne peut pas authentifier le principal.",saml_config_not_found:"Configuration SAML non trouv\xE9e / non charg\xE9e",saml_invalid_attr_name_or_value:"Statut de r\xE9ponse SAML non valide: Un contenu inattendu ou invalide a \xE9t\xE9 trouv\xE9 dans un attribut SAML ou une valeur d\u2019attribut SAML.",saml_no_auth_context:"Statut de r\xE9ponse SAML non valide: Les exigences sp\xE9cifi\xE9es pour le contexte d\u2019authentification ne peuvent pas \xEAtre satisfaites par le r\xE9pondant.",saml_no_available_idp:"Statut de r\xE9ponse SAML non valide: Aucun des \xE9l\xE9ments de fournisseur d\u2019identit\xE9 pris en charge ne peut \xEAtre r\xE9solu ou aucun des fournisseurs d\u2019identit\xE9 pris en charge n\u2019est disponible.",saml_no_passive:"Statut de r\xE9ponse SAML non valide: Le fournisseur qui r\xE9pond ne peut pas authentifier le principal de mani\xE8re passive, comme cela a \xE9t\xE9 demand\xE9.",saml_no_supported_idp:"Statut de r\xE9ponse SAML non valide: Aucun des fournisseurs d\u2019identit\xE9 n\u2019est soutenu par l\u2019interm\xE9diaire.",saml_partial_logout:"Statut de r\xE9ponse SAML non valide: Le participant \xE0 la session n\u2019a pas \xE9t\xE9 en mesure de transmettre le message de d\xE9sinscription \xE0 tous les autres participants \xE0 la session.",saml_request_denied:"Statut de r\xE9ponse SAML non valide: Le r\xE9pondeur SAML ou l\u2019autorit\xE9 SAML est en mesure de traiter la requ\xEAte, mais a d\xE9cid\xE9 de ne pas r\xE9pondre. Cela PEUT \xEAtre utilis\xE9 en cas de doute sur le contexte de s\xE9curit\xE9 du message de demande ou de la s\xE9quence de messages de demande re\xE7us d\u2019un demandeur particulier.",saml_requester:"Statut de r\xE9ponse SAML non valide: La requ\xEAte n\u2019a pas pu \xEAtre ex\xE9cut\xE9e en raison d\u2019une erreur de la part du demandeur.",saml_responder:"Statut de r\xE9ponse SAML non valide: La requ\xEAte n\u2019a pas pu \xEAtre ex\xE9cut\xE9e en raison d\u2019une erreur de la part du r\xE9pondeur SAML ou de l\u2019autorit\xE9 SAML.",saml_version_mismatch:"Statut de r\xE9ponse SAML non valide: Le r\xE9pondeur SAML n\u2019a pas pu traiter la requ\xEAte parce que la version du message de la requ\xEAte \xE9tait incorrecte.",support_token_title:"Token",tenant_name:"Identifiant d\u2019entreprise",username_password_combination_does_not_exist:"La combinaison d\u2019identifiant d\u2019entreprise, nom d'utilisateur et mot de passe n'existe pas"},logout_information:"Vous vous \xEAtes d\xE9connect\xE9(e)",password_change_title:"R\xE9initialiser le mot de passe.",password_criteria:{digit_or_special:"Au moins un chiffre ou un caract\xE8re sp\xE9cial",info_text:"Veuillez choisir un mot de passe s\xE9curis\xE9. Il doit r\xE9pondre aux crit\xE8res suivants :",lowercase:"Au moins une lettre minuscule",min_length:"Au moins 10 caract\xE8res",passwords_do_not_match:"Les mots de passe ne correspondent pas",uppercase:"Au moins une majuscule"},password_repeat:"R\xE9p\xE9ter le mot de passe",password_set_success:"Le mot de passe a \xE9t\xE9 d\xE9fini. Vous pouvez maintenant vous connecter avec vos donn\xE9es de connexion.",resend_invitation:{resend_invitation_success:"Le mot de passe a \xE9t\xE9 r\xE9initialis\xE9 avec succ\xE8s pour {{successCount}} utilisateurs / pour {{errorCount}} utilisateurs n\u2019a pas pu \xEAtre r\xE9initialis\xE9",resend_invitation_success_only:"Le mot de passe a \xE9t\xE9 r\xE9initialis\xE9 pour {{successCount}} utilisateurs"},welcome_to_nautos:"bienvenue sur Nautos"},user_management:{add_license:"Ajouter une licence",company_management:{added_users_successfully:"Des Utilisateurs ont \xE9t\xE9 ajout\xE9s",alternative_name:"Nom alternatif",companies_successfully_deleted:"Les entreprises ont \xE9t\xE9 supprim\xE9es",company_alias_already_exists:"L\u2019entreprise ne peut pas \xEAtre enregistr\xE9e, car une entreprise avec ce nom alternatif existe d\xE9j\xE0.",company_conflict_default_company_name:"Le nom de l\u2019entreprise par d\xE9faut d\u2019un locataire ne peut pas \xEAtre modifi\xE9.",company_conflict_default_company_user:"Les utilisateurs de l\u2019entreprise par d\xE9faut d\u2019un locataire ne peuvent pas \xEAtre supprim\xE9s. Veuillez passer \xE0 l\u2019entreprise souhait\xE9e et y ajouter l\u2019utilisateur.",company_customernumber_empty:"Un num\xE9ro client doit \xEAtre s\xE9lectionn\xE9.",company_failed_title:"L\u2019entreprise ne peut pas \xEAtre enregistr\xE9e.",company_name_already_exists:"L\u2019entreprise ne peut pas \xEAtre enregistr\xE9e, car une entreprise avec ce nom existe d\xE9j\xE0.",company_name_empty:"Un nom doit \xEAtre renseign\xE9.",company_
1successfully_created:"L\u2019entreprise a \xE9t\xE9 cr\xE9\xE9e",company_successfully_deleted:"L\u2019entreprise a \xE9t\xE9 supprim\xE9e",company_successfully_edited:"L\u2019entreprise a \xE9t\xE9 modifi\xE9e",create_company:"Cr\xE9er une entreprise",delete_company:"Supprimer une entreprise",delete_company_conflict_default_company:"L\u2019entreprise par d\xE9faut d\u2019un locataire ne peut pas \xEAtre supprim\xE9e.",delete_company_conflict_last_company:"La derni\xE8re entreprise restante d\u2019un locataire ne peut pas \xEAtre supprim\xE9e.",delete_company_conflict_users_assigned:"Les entreprises avec des utilisateurs attribu\xE9s ne peuvent pas \xEAtre supprim\xE9es. Veuillez d\u2019abord supprimer tous les utilisateurs, enregistrer les modifications, puis supprimer l\u2019entreprise.",delete_company_not_possible_title:"L\u2019entreprise ne peut pas \xEAtre supprim\xE9e.",delete_selected_companies:"Supprimer les entreprises s\xE9lectionn\xE9es",do_you_want_to_delete_company_x:"Voulez-vous vraiment supprimer l\u2019entreprise \xAB\xA0{{companyName }}\xA0\xBB ?",do_you_want_to_delete_the_companies:"Voulez-vous vraiment supprimer les entreprises s\xE9lectionn\xE9es ?",do_you_want_to_delete_the_company:"Voulez-vous vraiment supprimer l\u2019entreprise s\xE9lectionn\xE9e ?",edit_company:"Modifier l\u2019entreprise",title:"Entreprises"},cost_center:"Centre de co\xFBt",do_you_want_to_remove_x_licenses:"Voulez-vous supprimer {{count}} licences?",downloads:{date_of_creation:"Date de cr\xE9ation",date_of_deletion:"Date de suppression",export_type:{document:"Exportation de documents",document_access_statistics:"Exportation des statistiques",document_licenses:"L'exportation des licences de documents",header:"domaine",hosted_file:"Exportation de fichiers h\xE9berg\xE9s",license_settings:"Exportation de param\xE8tres de licence",login_statistics:"Exportation des statistiques",order_management:"Le syst\xE8me de commande exportation",order_statistics:"Exportation des statistiques",reqif_conversion:"Conversion ReqIF",search:"Exportation de m\xE9tadonn\xE9es"},title:"Documents t\xE9l\xE9charg\xE9s"},groups:{add_another_field:"Ajouter un autre crit\xE8re",add_user:"Ajouter un utilisateur/des utilisateurs",create_group:"Cr\xE9er un groupe",delete_group:"Supprimer le groupe",delete_groups:"Supprimer les groupes",do_you_want_to_delete_group_x:"Voulez-vous vraiment supprimer le groupe \xAB\xA0{{groupName}}\xA0\xBB?",do_you_want_to_delete_the_groups:"Souhaitez-vous vraiment supprimer les groupes?",edit_group:"Modifier le groupe",group_creation_requested:"Le groupe est en cours de cr\xE9ation. En raison du nombre d\u2019utilisateurs, cela peut prendre un certain temps",group_edit_requested:"Le groupe est en cours de modification. En raison du nombre d\u2019utilisateurs, cela peut prendre un certain temps.",group_is_locked:"Ce groupe est bloqu\xE9",group_name:"Nom de groupe",group_name_already_in_use:"Le nom de groupe est d\xE9j\xE0 attribu\xE9",group_successfully_created:"Le groupe a \xE9t\xE9 cr\xE9\xE9",group_successfully_deleted:"Le groupe a \xE9t\xE9 supprim\xE9",group_successfully_edited:"Le groupe a \xE9t\xE9 modifi\xE9",group_successfully_locked:"Le groupe a \xE9t\xE9 bloqu\xE9",group_successfully_unlocked:"Le groupe a \xE9t\xE9 d\xE9bloqu\xE9",group_types:{dynamic_group:"Liste dynamique d'utilisateurs",static_group:"Liste statique d'utilisateurs (par d\xE9faut)"},group_was_locked_on_by:"Ce groupe a \xE9t\xE9 bloqu\xE9 le {{date}} par \xAB\xA0{{user}}\xA0\xBB.",groups_successfully_deleted:"Les groupes ont \xE9t\xE9 supprim\xE9s",info_text:"Les groupes ont un r\xF4le attribu\xE9 qui peut \xE9tendre les autorisations des utilisateurs qui leur sont affect\xE9s. Si un utilisateur a par exemple le r\xF4le \xAB\xA0ReadOnly\xA0\xB
1B et le groupe \xAB\xA0Standard\xA0\xBB, il obtient automatiquement les droits du r\xF4le de groupe sup\xE9rieur \xAB\xA0Standard\xA0\xBB. Si le r\xF4le individuel est plus \xE9lev\xE9 (par ex. \xAB\xA0Admin\xA0\xBB), il reste inchang\xE9.",info_title:"Attribution des r\xF4les dans les groupes",information_box_system_group_content:"Ce groupe d\u2019utilisateurs est cr\xE9\xE9 automatiquement: tous les utilisateurs sont ajout\xE9s dynamiquement Le groupe sert \xE0 l\u2019affectation globale des licences",information_box_system_group_title:"Groupe de syst\xE8me",license_removal_hint:"La suppression supprime les licences du groupe. La licence est toujours disponible et ne sera pas supprim\xE9e.",licenses_successfully_added:"Les licences ont \xE9t\xE9 ajout\xE9es",lock_group:"Bloquer le groupe",no_groups_assigned:"Aucun groupe attribu\xE9.",no_groups_found:"Aucun groupe trouv\xE9.",system_all_users:"Tous les utilisateurs",title:"Groupes",unlink_user_title:"Supprimer l\u2019affection des utilisateurs",unlock_group:"D\xE9bloquer le groupe",unselectable_system_groups_note:"Le groupe \xAB\xA0Tous les utilisateurs\xA0\xB
1B ne peut pas \xEAtre s\xE9lectionn\xE9",user_removal_hint:"Cet utilisateur n'appartient plus \xE0 ce groupe et perd les droits associ\xE9s",users_removal_hint:"Les utilisateurs n'appartiennent plus \xE0 ce groupe et perdent les droits associ\xE9s",users_selected:"{{count}} utilisateurs s\xE9lectionn\xE9s"},information_box_content:"Veuillez d\u2019abord sauvegarder le nouvel utilisateur afin de pouvoir ajouter les groupes et les licences.",information_box_title:"Information sur l\u2019affectation des groupes et des licences",license_successfully_applied:"La licence a \xE9t\xE9 ajout\xE9e",lift_suspension:"Annuler le blocage",locations:{add_alternative_name:"Ajouter un nom alternatif",add_locked_name:"Ajouter la valeur bloqu\xE9e",alternative_names:"Noms alternatifs",alternative_names_tip:"Les noms alternatifs servent \xE0 aligner les revendications ADFS et SAML si vous utilisez le SSO pour vous connecter.",cannot_delete_location_with_users:"Vous ne pouvez pas supprimer un lieu tant qu'aucun utilisateur ne lui a \xE9t\xE9 attribu\xE9.",change_location:"Changer de lieu",change_location_note:"Veuillez choisir un nouveau lieu pour le ou les utilisateur(s) que vous souhaitez supprimer.",create_location:"Cr\xE9er un lieu",delete_location:"Supprimer un lieu",do_you_want_to_delete_location:"Voulez-vous vraiment supprimer le lieu?",edit_location:"Modifier un lieu",location_name_already_in_use:"Nom du lieu d\xE9j\xE0 attribu\xE9",location_successfully_created:"Le lieu a \xE9t\xE9 cr\xE9\xE9",location_successfully_deleted:"Le lieu a \xE9t\xE9 supprim\xE9",location_successfully_edited:"Le lieu a \xE9t\xE9 modifi\xE9",locked_values:"Valeurs bloqu\xE9es",max_locations_info:"Le nombre admissible de lieux est atteint. Veuillez contacter le Support pour un ajustement.",no_users_in_other_locations:"Aucun utilisateur n'est affect\xE9 \xE0 d'autres lieux.",search_locations:"Parcourir les lieux",title:"Lieux",users_add_note:"Remarque\xA0: Le lieu actuel sera remplac\xE9 lors de l'ajout de l'utilisateur."},lock:"Bloquer",locked:"Bloqu\xE9",logging_settings_save_error:"Les param\xE8tres de journalisation n'ont pas pu \xEAtre enregistr\xE9s.",logging_settings_saved_successfully:"Les param\xE8tres de journalisation ont \xE9t\xE9 enregistr\xE9s.",login_options:{headline:"Choisir la m\xE9thode d'acc\xE8s pour: ",iplogin:"IP connexion",ldap:"LDAP",password:"Utilisateur & nom de passe",saml:"SAML v1"},logout_options:{headline_url_parameter:"Comportement de connexion via les param\xE8tres URL",logout_disabled:"D\xE9connexion d\xE9sactiv\xE9e",logout_option:"D\xE9connexion - Comportement",logout_page:"Page de d\xE9connexion",logout_url_invalid:"URL non valide: Veuillez saisir une URL qui commence par 'http://' ou 'https://' et qui correspond \xE0 la structure g\xE9n\xE9rale de l'URL.",navigate_to_custom_logout_page:"Aller \xE0 la page de d\xE9connexion personnalis\xE9e",navigate_to_logout_page:"Aller \xE0 la page de d\xE9connexion standard"},management:"Gestion",options_settings_order_notification:"Recevoir des e-mails pour les commandes",options_title:"Options",other:"Autre",proxy_settings_saved_successfully:"Les param\xE8tres proxy ont \xE9t\xE9 enregistr\xE9s",reason:"Justification",role_management:{base_role:"R\xF4le bas\xE9",cannot_delete_custom_role_with_users_or_group:"Vous ne pouvez pas supprimer un r\xF4le tant qu'aucun utilisateur ou groupe n'y est affect\xE9.",create_role:"Cr\xE9er un r\xF4le",custom_role:"R\xF4le individuel",custom_role_name_already_used:"Le nom est d\xE9j\xE0 attribu\xE9",custom_role_successfully_deleted:"Le r\xF4le personnalis\xE9 a \xE9t\xE9 supprim\xE9",delete_custom_role:"Supprimer le r\xF4le",do_you_want_to_delete_custom_role_x:"Voulez-vous vraiment supprimer le r\xF4le personnalis\xE9?",edit_role_title:"Modifier le r\xF4le",no_custom_rules_created:"Aucun r\xF4le propre disponible.",read_only_role:"Read Only",rights:{admin_settings:"Afficher les param\xE8tres dans la section Gestion",company_data:"G\xE9rer les ensembles de donn\xE9es d\u2019entreprise",manage_own_folders:"Cr\xE9er, modifier, supprimer ses propres favoris et notes",manage_user_group_location_company:"Acc\xE8s aux utilisateurs, groupes, lieux, entreprises",order_documents_from_result_lists:"Demander des documents \xE0 partir des listes de r\xE9sultats (voir le panier et la demande)",read_orders:"Droit de lecture dans le syst\xE8me de commande (avec exportation)",release_orders:"Valider des demandes",search_configuration:"Configuration (liste de r\xE9sultats, affichage des mini-d\xE9tails, mod\xE8les de recherche)",share_folders:"Partager ses favoris et ses notes avec d'autres personnes",show_document_management:"Afficher la gestion des documents (ave
1c exportation, filtre et vue d\xE9taill\xE9e)",show_license_and_document_management:"G\xE9rer les licences, la gestion des documents et le t\xE9l\xE9chargement",show_statistics_and_downloads:"Afficher les statistiques"},role_successfully_changed:"Le r\xF4le a \xE9t\xE9 modifi\xE9",role_successfully_created:"Le r\xF4le a \xE9t\xE9 cr\xE9\xE9",title:"Gestion des r\xF4les"},roles:{admin:"Le r\xF4le autorise l'utilisation et la gestion compl\xE8te du logiciel.",custom_roles:"Les droits de ce r\xF4le ont \xE9t\xE9 configur\xE9s individuellement dans les param\xE8tres",editor:"Le r\xF4le additionnel \xE9tend les droits d'un utilisateur standard avec la possibilit\xE9 de cr\xE9er et de modifier ses propres ensembles de m\xE9tadonn\xE9es, ainsi que le droit de lier des documents.",order_manager:"Le r\xF4le additionnel \xE9tend les droits d'un utilisateur standard et lui octroie le droit de modifier et de commander dans le cadre du processus de commande.",read_and_request:"Avec le r\xF4le additif Lire et Demander un utilisateur poss\xE9dant seulement une autorisation de type Lecture peut ajouter les ensembles de donn\xE9es au panier et les demander.",read_only:"Le r\xF4le autorise la lecture pure du contenu en combinaison avec des processus de recherche restreints.",standard:"Le r\xF4le vous autorise l\u2019utilisation compl\xE8te du logiciel. Les propres affichages peuvent \xEAtre configur\xE9s et la gestion des favoris est disponible avec des fonctions de veille et de demande."},search_groups:"Parcourir les groupes",search_users:"Parcourir les utilisateurs",settings:"Param\xE8tres",sso:{add_role:"Ajouter r\xF4le",add_user_attribute:"Ajouter un attribut utilisateur",adfs:{automatic:"Automatique",certificate_enddate:"Date d'expiration du certificat",choose_only_one_file:"Veuillez ne pas ajouter plus d'un fichier",claim_assign:"Affectation d'attribut d'utilisateur",claim_idp_name:"Attribut IDP",claim_map_successfully_deleted:"Affectation des attributs d'utilisateur supprim\xE9e",claim_not_found:"L\u2019Uri \xAB\xA0{{uri}}\xA0\xBB indiqu\xE9 dans l\u2019attribution de revendication \xAB\xA0{{attribute}}\xA0\xBB ne correspond \xE0 aucune revendication re\xE7ue.",claim_type_optional:"La valeur est facultative",claim_types_offered:"R\xE9clamations offertes de Metadata-XML",company_claim_info:"L\u2019attribut utilisateur \xAB\u202Fentreprise\u202F\xBB est un attribut obligatoire du compte utilisateur. Si aucune valeur n\u2019est transmise via les affectations, un nouvel utilisateur est automatiquement attribu\xE9 \xE0 l\u2019entreprise par d\xE9faut.",create_idp_connection:"\xC9tablir la connexion IDP",create_shibboleth_connection:"Cr\xE9er une connexion Shibboleth",delete_claim_map_header:"Supprimer l'affectation d'attribut d'utilisateur",delete_idp_connection:"Supprimer la connexion IDP",delete_role_map_header:"Supprimer l\u2019affectation des r\xF4les",delete_shibboleth_connection:"Supprimer la connexion Shibboleth",do_you_want_to_delete_idp_connection_x:"Voulez-vous vraiment supprimer la connexion IDP \xAB\xA0{{name}}\xA0\xBB?",do_you_want_to_delete_shibboleth_connection_x:"Voulez-vous vraiment supprimer la connexion Shibboleth \xAB\xA0{{name}}\xA0\xBB?",edit_idp_connection:"Modifier la connexion IDP",edit_shibboleth_connection:"Modifier la connexion Shibboleth",entity_id:"ID Entit\xE9",entity_id_info:"En l\u2019indiquant comme \xE9tant l\u2019identificateur primaire cet identificateur est transmis pour les r\xE9ponses SAML initialis\xE9es par IDP",identity_provider_claim_type_description:"Description des r\xE9clamations",identity_provider_claim_type_display_name:"Nom d\u2019affichage",identity_provider_claim_type_name:"Nom de r\xE9clamation (avec l\u2019espace de noms, si disponible)",idp_certificate_issuer:"Nom de l\u2019autorit\xE9 de certification",idp_certificate_subjectname:"Nom du sujet du certificat",idp_certificate_thumbprint:"Empreinte du certificat",idp_connection_active:"Actif",idp_connection_successfully_activated:"La connexion IDP a \xE9t\xE9 activ\xE9e",idp_connection_successfully_created:"La connexion IDP a \xE9t\xE9 cr\xE9\xE9e",idp_connection_successfully_deleted:"La connexion IDP a \xE9t\xE9 supprim\xE9e",idp_connection_successfully_edited:"La connexion IDP a \xE9t\xE9 modifi\xE9e",idp_url:"URL de l'IDP",idp_xml_file:"T\xE9l\xE9chargement du XML de m\xE9tadonn\xE9es IDP",idp_xml_url:"Adresse URL du fichier IDP-Metadaten.xml",info_text:"La nouvelle connexion doit d'abord \xEAtre enregistr\xE9e pour pouvoir ajouter des affectations d'attributs d'utilisateur.",info_title:"Remarque sur l'affectation des attributs utilisateur",invalid_location_value:"Le site \xAB\xA0{{location}}
1\xA0\xBB n\u2019est pas valide.",location_locked:"Le site \xAB\xA0{{location}}\xA0\xBB est bloqu\xE9.",no_connections:"Aucune connexion SAML disponible",no_ldap_connections:"Aucune connexion LDAP disponible",role_map:"Affecter le r\xF4le",role_map_ad_group:"Affectation de valeur \xE0 partir de l'attribut  de l'utilisateur 'r\xF4le'",role_map_successfully_added:"Les affectations des r\xF4les ont \xE9t\xE9 ajout\xE9es",role_map_successfully_deleted:"L\u2019affectation des r\xF4les a \xE9t\xE9 supprim\xE9e",role_map_successfully_edited:"Les affectations des r\xF4les ont \xE9t\xE9 modifi\xE9es",role_not_found:"La valeur de la revendication de r\xF4le n\u2019est pas valide ou ne correspond \xE0 aucun r\xF4le Nautos.",service_provider_metadata_url:"Nautos Metadata-Xml (prestataire de services)",sign_auth_request:"Signature de la requ\xEAte d\u2019authentification SAML",user_attributes_assign:"Affectations d'attribut d'utilisateur",view_file:"Voir le fichier"},connection_name:"Nom de la connexion",connection_name_already_in_use:"Il existe d\xE9j\xE0 une connexion avec ce nom",connection_name_limit_exceeded:"Le nom de la connexion ne doit pas d\xE9passer 200 caract\xE8res",delete_claim_map:"Voulez-vous vraiment supprimer cette affectation des attributs d\u2019utilisateur?",delete_claims:"Supprimer l'affectation/les affectations d'attribut d'utilisateur",delete_role_maps:"Supprimer l\u2019affectation/les affectations des r\xF4les",fixed_value:"Valeur fixe",general:{activated_unconfigured:"Activ\xE9, non configur\xE9",login_option:"Acc\xE8s",settings_saved_successfully:"Les param\xE8tres ont \xE9t\xE9 enregistr\xE9s"},idp_entity_id:"ID d'entit\xE9 de l'IDP",idp_type:"Type de connexion",index:"Index",index_duplicate:"Index d\xE9j\xE0 utilis\xE9",index_error:"Index non valide, veuillez saisir un index entre 0 et 99",ip_ranges:{assign_user:"Affecter les utilisateurs",create_ip_range:"Cr\xE9er une plage d\u2019adresses IP",delete_ip_range:"Supprimer la plage d\u2019adresses IP",delete_ip_ranges:"Supprimer les plages d\u2019adresses IP",do_you_want_to_delete_ip_range_x:"Souhaitez-vous vraiment supprimer la plage d\u2019adresses IP \xAB\xA0{{iprangeDefinition}}\xA0\xBB ?",do_you_want_to_delete_the_ip_ranges:"Souhaitez-vous vraiment supprimer les plages d\u2019adresses IP ?",edit_ip_range:"Modifier la plage d\u2019adresses IP",ip_address_invalid:"L\u2019adresse IP \xAB{{address}}\xA0\xBB est invalide",ip_address_or_ip_range:"Adresse IP ou plage d\u2019adresses IP",ip_range:"Plage d\u2019adresses IP",ip_range_from:"Adresse IP de",ip_range_information:"Sp\xE9cifier une adresse IP ou une plage d\u2019adresses (IPv4/IPv6). Formats support\xE9s pour sp\xE9cifier les plages d\u2019adresses: 192.168.1.* ou 192.168.0.0/16 ou 192.168.1.10 - 192.168.1.20",ip_range_invalid:"La plage de l\u2019adresses IP \xAB\xA0{{range}}\xA0\xBB est invalide",ip_range_not_found:"Plage d\u2019adresses IP non trouv\xE9e",ip_range_overlap:"La plage d\u2019adresses IP\xA0 \xAB\xA0{{range}}\xA0\xBB et la plage d\u2019adresses IP \xAB\xA0{{range2}}
1\xA0\xBB se chevauchent",ip_range_successfully_created:"La plage d\u2019adresses IP a \xE9t\xE9 cr\xE9\xE9e",ip_range_successfully_deleted:"La plage d\u2019adresses IP a \xE9t\xE9 supprim\xE9e",ip_range_successfully_edited:"La plage d\u2019adresses IP a \xE9t\xE9 modifi\xE9e",ip_range_to:"Adresse IP jusqu\u2019\xE0",ip_ranges:"Plages d\u2019adresse IP",ip_ranges_successfully_deleted:"Les plages d\u2019adresses IP ont \xE9t\xE9 supprim\xE9es",no_ranges_created:"Aucune plage d'adresses IP disponible.",no_ranges_found:"Aucune plage d'adresses IP trouv\xE9e.",upload:{description:"Cr\xE9er des plages d\u2019adresses IP par fichier CSV",range_could_not_be_processed:"1 plage d\u2019adresses IP n\u2019a pas pu \xEAtre modifi\xE9e",range_successfully_added:"1 plage d\u2019adresses IP a \xE9t\xE9 ajout\xE9e",title:"T\xE9l\xE9charger les plages d\u2019adresses IP",x_ranges_could_not_be_processed:"{{count}} plages d\u2019adresses IP n\u2019ont pas pu \xEAtre trait\xE9es.",x_ranges_successfully_added:"{{count}} plages d\u2019adresses IP ont \xE9t\xE9 ajout\xE9es"},user_locked:"L\u2019utilisateur est d\xE9sactiv\xE9/rendu inactif",user_not_found:"Compte utilisateur non trouv\xE9",user_successfully_assigned:"L\u2019utilisateur a \xE9t\xE9 affect\xE9"},ldap:{base_distinguished_name:"Base Distinguished Name",bind_password:"Mot de passe Bind",bind_user:"Utilisateur Bind",claim_idp_name:"Attribut LDAP",create_ldap_connection:"\xC9tablir la connexion LDAP",ldap_connection_successfully_created:"La connexion LDAP a \xE9t\xE9 cr\xE9\xE9e",nautos_metadata_xml:"Nautos Metadata-XML",port_number:"Num\xE9ro de port",server:"Nom de domaine / adresse IP du serveur LDAP",use_ssl:"Utiliser SSL",use_windows_auth:"Utiliser l\u2019authentification Windows",user_attributes_assign:"Affectations LDAP aux attributs utilisateur"},logging:{claims:"Revendications",error:"Erreur (code d\u2019)",logout:"D\xE9connect\xE9(e)",message:"Message",success:"Session valide"},metadata_url:"Metadata-URL",no_roles:"Aucune affectation de r\xF4le n'est disponible.",no_user_attributes:"Aucune affectation d'attributs d'utilisateur n'est disponible.",optional:"En option",priority:"Priorit\xE9",regexp:"Expression r\xE9guli\xE8re",roles_map:"Affectations des r\xF4les",settings:{automatically_create_location_if_not_exists_via_saml2:"Cr\xE9er automatiquement des lieux inconnus",delete_log:"Supprimer le journal",enable_logging:"Activer la journalisation",general:"Connexion",ldap:"SSO v1 (LDAP)",logging:"Journalisation",logging_delete_success:"Les protocoles s\xE9lectionn\xE9s ont \xE9t\xE9 supprim\xE9s",logging_level:"Niveau de journalisation",no_logging:"Aucune journalisation disponible.",proxy:"Chiffrer le lien vers le document",reqif:{converter_release_date:"Publi\xE9(e)",converter_version:"Version du convertisseur",target_system:"Syst\xE8me cible",target_system_config_saved_successfully:"Le syst\xE8me cible a \xE9t\xE9 enregistr\xE9"},sso_v1:"SSO v1 (SAML)",sso_v2:"SSO v2 (SAML)",unknown_location_sso:"Lieux inconnus \xE0 la SSO"},shibboleth:{choose_an_institute:"S\xE9lection d'institutions",description_pseudonymity:"Souhaitez-vous utiliser une liste pr\xE9d\xE9finie pour la connexion pseudonymis\xE9e ou ajouter des attributs manuellement?",germany:"Dans toute l'Allemagne",international:"International",use_individual_settings:"D\xE9finir soi-m\xEAme les attributs",use_predefined_pseudonymity:"Ajouter des attributs pr\xE9d\xE9finis pour la connexion pseudonymis\xE9e"},shibboleth_idp_url:"Shibboleth IDP URL",sync_strategy:"Alignement",user_attribute:"Attribut d'utilisateur"},statistics:{collect:"Saisir",create_statistics:{document_access_statistics:"Cr\xE9er des statistiques sur les acc\xE8s aux documents",login_statistics:"Cr\xE9er des logins statistiques",order_statistics:"Cr\xE9er les statistiques des commandes"},delete:"Supprimer les statistiques",delete_progress:"Vos donn\xE9es statistiques sont supprim\xE9es",delete_warning:"Toutes les entr\xE9es statistiques existantes sont supprim\xE9es et ne peuvent pas \xEAtre restaur\xE9es. Vous \xEAtes s\xFBr?",document_access_statistics:"Les acc\xE8s aux documents",info_modal:{document_access_statistics:"Cr\xE9ation des statistiques des acc\xE8s aux documents ... Cette op\xE9ration peut durer quelques minutes Vous recevrez une notification d\xE8s que votre export est pr\xEAt.",login_statistics:"Cr\xE9ation des statistiques des logins ... Cette op\xE9ration peut durer quelques minutes Vous recevrez une notification d\xE8s que votre export est pr\xEAt.",order_statistics:"Cr\xE9ation des statistiques des commandes... Cette op\xE9ration peut durer quelques minutes. Vous recevrez une notification d\xE8s que votre export est pr\xEAt."},info_text:"Vous pouvez demander les statistiques de vos utilisateurs sous forme de fic
1hier CSV. La p\xE9riode peut alors \xEAtre limit\xE9e \xE0 des intervalles mensuels.",login_statistics:"Op\xE9rations de login",order_statistics:"Op\xE9rations de commande",period:"P\xE9riode",statistics_activated:"Saisir les donn\xE9es statistiques",success_activate:"La saisie des statistiques a \xE9t\xE9 adapt\xE9e.",success_deactivate:"La saisie des statistiques a \xE9t\xE9 adapt\xE9e",title:"Statistiques",type:"Type"},unlink:"Supprimer l'affectation",unlink_license_title:"Supprimer l'attribution de licence",user:"Utilisateur",user_group:"Utilisateur / Groupe",users:{abbreviation:"Abr\xE9viation",active:"Compte activ\xE9",add_group:"Ajouter un groupe",add_user_to_group:"Ajouter l\u2019utilisateur au groupe",assign_location:"Affecter un lieu",change_role:"Changer de r\xF4le",company:"Entreprise",company_creation_conflict:"Impossible de cr\xE9er une entreprise",company_edit_conflict:"Impossible de modifier l\u2019entreprise",confirm_password:"Confirmer le mot de passe",cost_centers:"Centres de co\xFBt",create_user:"Cr\xE9er un utilisateur",delete_user:"Supprimer l\u2019utilisateur",delete_users:"Supprimer l\u2019utilisateur",department:"D\xE9partement",do_you_want_to_delete_the_users:"Souhaitez-vous vraiment supprimer l\u2019utilisateur?",do_you_want_to_delete_user_x:"Souhaitez-vous vraiment supprimer l\u2019utilisateur \xAB\xA0{{firstName}} {{lastName}}\xA0\xBB?",edit_user:"Modifier l\u2019utilisateur",effective_until:"Valable jusqu\u2019\xE0",email:"Courrier \xE9lectronique",export_csv:"Exporter tous les utilisateurs au format CSV",first_name:"Pr\xE9nom",groups:"Groupes",hint_user_list:"Remarque\xA0: Le tableau n`\xE9num\xE8re que les utilisateurs qui ne sont pas d\xE9j\xE0 bloqu\xE9s.",information:"Information",last_login_label:"Heure de la derni\xE8re connexion",last_login_short:"Derni\xE8re connexion",last_name:"Nom de famille",layout_language:"Langage de l\u2019interface",license_assignment_cannot_be_removed_because_of_group:"L'affectation \xE0 une licence ne peut pas \xEAtre supprim\xE9e car elle a \xE9t\xE9 attribu\xE9e \xE0 l'utilisateur via un groupe. Veuillez supprimer l'affectation du groupe respectif. Toutes les autres affectations peuvent \xEAtre supprim\xE9es.",license_assignment_for_x_number_cannot_be_removed_because_of_group:"L'attribution \xE0 {{count}} licences ne peut pas \xEAtre supprim\xE9e car elle a \xE9t\xE9 attribu\xE9e \xE0 l'utilisateur via un groupe. Veuillez supprimer les affectations via le groupe respectif. Toutes les autres affectations peuvent \xEAtre supprim\xE9es.",license_removal_hint:"La suppression supprime la licence de l\u2019utilisateur. La licence est toujours disponible et ne sera pas supprim\xE9e.",location:"Lieu",location_needs_to_be_assigned:"Un lieu doit \xEAtre affect\xE9",lock_info_cause:"Bloqu\xE9 lors de la cr\xE9ation ou la modification de l\u2019ensemble de donn\xE9es",lock_user:"Bloquer l\u2019utilisateur",logout:"D\xE9connecter l'utilisateur",no_users_assigned:"Aucun utilisateur n'est associ\xE9.",no_users_created:"Aucun utilisateur disponible.",no_users_found:"Aucun utilisateur trouv\xE9.",password_policy_email:"Le mot de passe est d\xE9fini par l'utilisateur nouvellement cr\xE9\xE9. A cet effet, un courriel est envoy\xE9 \xE0 l'adresse e-mail indiqu\xE9e ci-dessus et comporte un lien vers le processus d'attribution.",passwords_must_match:"Les deux saisies de mot de passe doivent \xEAtre identiques",phone_number:"T\xE9l\xE9phone",please_select_a_user:"Veuillez s\xE9lectionner un utilisateur",please_use_valid_email:"Veuillez utiliser une adresse courriel valable",role:"R\xF4le",roles:"R\xF4les",salutation:"Titre",select_users:"S\xE9lectionner un utilisateur",send_set_or_reset_password_message:"D\xE9finir / r\xE9initialiser le mot de passe",send_set_or_reset_password_message_multiple_users:"Souhaitez-vous envoyer une notification pour la r\xE9initialisation du mot de passe aux utilisateurs s\xE9lectionn\xE9s?",send_set_or_reset_password_message_single_user:"Souhaitez-vous envoyer une notification pour la r\xE9initialisation du mot de passe \xE0 l\u2019utilisateur s\xE9lectionn\xE9?",send_set_or_reset_password_title:"Envoyer une notification pour l\u2019attribution du mot de passe",title:"Utilisateur",unlink_group_text:"Souhaitez-vous supprimer le groupe de l'utilisateur? Le groupe est toujours disponible et ne sera pas supprim\xE9e.",unlink_group_title:"Supprimer l'affectation \xE0 un groupe",unlink_license_is_locked:"La licence a \xE9t\xE9 attribu\xE9e \xE0 l'utilisateur via un groupe et ne peut \xEAtre supprim\xE9e que dans ce groupe.",unlock_user:"D\xE9bloquer l\u2019utilisateur",upload_users:"Importer un utilisateur/des utilisateurs",user_count:"Nombre d\u2019utilisateurs",user_is_locked:"L'utilisateur est bloqu\xE9",user_successfully_added:"L\u2019utilisateur a \xE9t\xE9 ajout\xE9",user_successfully_assigned_to_role:"L'utilisateur a \xE9t\xE9 affect\xE9 au r\xF4le",user_successfully_created:"L\u2019utilisateur a \xE9t\xE9 cr\xE9\xE9",user_successfully_deleted:"L\u2019utilisateur a \xE9t\xE9 supprim\xE9",user_successfully_edited:"L\u2019utilisateur a \xE9t\xE9 modifi\xE9",user_successfully_linked_to_group:"L\u2019utilisateur a \xE9t\xE9 affect\xE9 au groupe",user_successfully_locked:"L'utilisateur a \xE9t\xE9 bloqu\xE9",user_successfully_unlocked:"L\u2019utilisateur a \xE9t\xE9 d\xE9bloqu\xE9",user_was_locked_on_by:"Cet utilisateur a \xE9t\xE9 bloqu\xE9 le {{date}} par \xAB\xA0{{user}}
1\xA0\xBB.",user_was_locked_on_by_system:"Cet utilisateur a \xE9t\xE9 bloqu\xE9 par le syst\xE8me le {{date}}.",username:"Nom d\u2019utilisateur",username_already_assigned:"Le nom d\u2019utilisateur existe d\xE9j\xE0",username_invalid:"Sont autoris\xE9s les lettres, les chiffres ainsi et caract\xE8res sp\xE9ciaux pour une longueur de 3 \xE0 100 caract\xE8res",users_successfully_assigned_to_groups:"Les utilisateurs ont \xE9t\xE9 affect\xE9s aux groupes",users_successfully_assigned_to_role:"Les utilisateurs ont \xE9t\xE9 affect\xE9s au r\xF4le",users_successfully_assigned_to_roles:"Les utilisateurs ont \xE9t\xE9 affect\xE9s aux r\xF4les",users_successfully_deleted:"Les utilisateurs ont \xE9t\xE9 supprim\xE9s",users_successfully_linked_to_group:"Les utilisateurs ont \xE9t\xE9 affect\xE9s au groupe",users_successfully_locked:"Les utilisateurs ont \xE9t\xE9 bloqu\xE9s"}}};var ia=t=>{let e=["bestcollection","nautoscollections",...[qc,Uc,Hc].map(m=>m.licenses.document_management.subscription.bestcollection).map(m=>m.replace(/[-_\s]/g,"").replace(/([A-Z])/g,f=>f.toLowerCase()))],i="[-_|!#]",n=new RegExp(i,"g"),a=t.toLowerCase().replace(n,"").replace(/\s/g,"");return!!e.filter(m=>a.search(m.toLowerCase())>-1).length};var G_=["top"],K_=["userMembersTable"],W_=["groupMembersTable"],Q_=["licenseDocumentList"],Y_=["titleControl"],na=(()=>{class t{constructor(){this.licenseNames=[],this.isCreateMode=!1,this.pageSizeForDocumentList=25,this.currentPageForDocumentList=0,this.pageSizeForSearch=25,this.collectionSize=0,this.sortField="createdOn",this.sortDirection="asc",this.currentLicense=new ta,this.canSaveAndPrint=!1,this.isReadonlyLicense=!0,this.isSimultaneousLicense=!1,this.isDocLimitLicense=!1,this.isSingleLicense=!0,this.isQueryWarningVisible=!1,this.licenseType=pe,this.showInHitlist=!0,this.filter={},this.licenseRights=er,this.canOpen=!0,this.currentSearchRequest={},this.currentSearchRequestClone={},this.isQueryEmpty=!0,this._isMaxQuerySizeReached=!1,this.addedDin21Ids=[],this.removedDin21Ids=[],this.emptySearchResult={count:0,searchResult:[]},this.changeDetectorRef=g(Be),this.documentAccessService=g(Et),this.favoritesService=g(Kt),this.feedbackService=g(Ke),this.groupService=g(Fi),this.licenseService=g(nt),this.licenseStateService=g(Ri),this.modalService=g(X),this.route=g(bt),this.router=g(De),this.searchService=g(yt),this.translocoService=g(Q),this.uiService=g(He),this.userService=g(hn),this.nautosTitleUtils=mi}set userMembersTable(e){this._userMembersTable=e}set groupMembersTable(e){this._groupMembersTable=e}set licenseDocumentList(e){e&&(this._licenseDocumentList=e)}get licenseDocumentList(){return this._licenseDocumentList}get userMembersTable(){return this._userMembersTable}get groupMembersTable(){return this._groupMembersTable}get searchRequest(){return this.currentSearchRequest}get searchRequestClone(){return this.currentSearchRequestClone}get hasSearchCriteria(){let e=this.currentSearchRequest;return!!e&&Object.keys(e).length>0}get checkFilterHasValue(){return!!(this.filter&&(this.filter.description||this.filter.documentNumber||this.filter.documentType||this.filter.language||this.filter.licenseAssignmentType!=null||this.filter.licenseName||this.filter.publicationDate||this.filter.type!=null||this.filter.withoutLicense!=null))}get foundCount(){return this.currentLicense.licenseType===this.licenseType.DOCUMENT?this.collectionSize||0:this.searchResult?.count||0}ngAfterContentChecked(){this.changeDetectorRef.detectChanges()}ngOnDestroy(){this.licenseSubscription&&this.licenseSubscription.unsubscribe(),this._groupsLocalizationSub?.unsubscribe()}onCancel(){this.router.navigate(["../../"],{relativeTo:this.route})}onSave(){this.isQueryWarningVisible=!1,this.currentLicense.licenseType===pe.COLLECTION&&(this.isQueryEmpty||this._isMaxQuerySizeReached)&&(this.isQueryWarningVisible=!0);let e=this.currentLicense.title?.trim();if(this.titleControl){if(this.validateLicenseName(e),this.titleControl.control.invalid)return}else if(!e)return;if(!this.isQueryWarningVisible){if(this.isSimultaneousLicense&&!this.simultaneousLicenseAccessCount){this.simultaneousLicenseValidationMessage="common.please_fill_this_field";return}
1if(this.isDocLimitLicense&&!this.docLimit){this.docLimitValidationMessage="common.please_fill_this_field";return}if(this.isDocLimitLicense&&!this.docThreshold){this.docThresholdValidationMessage="common.please_fill_this_field";return}this._openValidationMessage||this.simultaneousLicenseValidationMessage||this.docLimitValidationMessage||this.docThresholdValidationMessage||this.handleFinalizeLicense()}}openSearchModal(){let e=this.modalService.open(Vc,{windowClass:"modal-fullscreen",isCentered:!1});e.componentInstance.licenseType=this.currentLicense.licenseType,e.componentInstance.initialSearchRequest=ae.cloneDeep(this.currentSearchRequest),e.componentInstance.isReadonlyLicense=this.isReadonlyLicense,e.result.then(i=>{if(i){if(this.currentLicense.licenseType===this.licenseType.DOCUMENT){let n=new Set(this.currentLicense.din21Ids??[]);if(Array.isArray(i.selectedDin21Ids)){let a=i.selectedDin21Ids,m=a.filter(v=>!n.has(v));this.addedDin21Ids.push(...m),this.removedDin21Ids.length&&(this.removedDin21Ids=this.removedDin21Ids.filter(v=>!a.includes(v))),this.currentPageForDocumentList=0;let f=[...new Set([...this.currentLicense.din21Ids??[],...a])];this.loadActualDocumentList(f).subscribe()}else this.currentLicense.documents=[],this.currentLicense.din21Ids=[],this.collectionSize=0;return}i.searchRequest&&(this.currentSearchRequest=ae.cloneDeep(i.searchRequest),this.currentSearchRequestClone=ae.cloneDeep(this.currentSearchRequest),this.currentLicense.searchForm=i.searchRequest,this.isQueryEmpty=!1,this.isQueryWarningVisible=!1),this.searchResult=i.searchResult??this.emptySearchResult,this.changeDetectorRef.markForCheck()}}).catch(()=>{this.currentLicense.licenseType===pe.COLLECTION&&this.isQueryEmpty&&(this.isQueryWarningVisible=!0,this.changeDetectorRef.markForCheck())})}onSingleLicenseChange(){this.isSingleLicense=!this.isSingleLicense}onIsSimultaneousLicenseChange(e){this.isSimultaneousLicense=e,this.isSimultaneousLicense?this.simultaneousLicenseAccessCount=1:(this.simultaneousLicenseAccessCount=void 0,this.simultaneousLicenseValidationMessage=void 0)}onIsDocLimitLicenseChange(e){this.isDocLimitLicense=e,this.isDocLimitLicense?(this.docLimit=1,this.docThreshold=1):(this.docLimit=void 0,this.docThreshold=void 0,this.docLimitValidationMessage=void 0,this.docThresholdValidationMessage=void 0)}onSortChanged(e){let i=e.sortAsc?Ue.ASC:Ue.DESC;e.sortBy&&(this.sortField!==e.sortBy||i!==this.sortDirection)&&(this.sortDirection=i,this.sortField=e.sortBy,this.loadActualDocumentList(this.currentLicense.din21Ids).subscribe())}onFilterChanged(e){this.filter=e,this.currentPageForDocumentList=0,this.loadActualDocumentList(this.currentLicense.din21Ids).subscribe()}hideSpinner(){this.uiService.hideSpinner()}deleteLicense(){let e=this.modalService.open(mt);e.componentInstance.isDeleteConfirmation=!0,e.componentInstance.title="licenses.delete_license_header",e.componentInstance.text=this.translocoService.translate("licenses.detail.do_you_want_to_delete_this_license",{name:this.currentLicense.title}),e.result.then(i=>{if(i.preset){let{id:n}=this.currentLicense;this.licenseService.deleteLicense([n]).pipe(Le(()=>(this.feedbackService.showErrorModal(),qe))).subscribe(a=>{a?this.feedbackService.showSuccessModal("licenses.delete_license_success",`${localStorage.getItem(Gt)}/licenses`):this.feedbackService.showErrorModal()})}})}onCanPrintAndSaveChange(e){this.canSaveAndPrint=e}validateAccessCount(e){if(e==null){this.simultaneousLicenseValidationMessage="common.please_fill_this_field";return}this.simultaneousLicenseValidationMessage=Number.isInteger(e)&&e>0?"":"licenses.detail.please_put_integer"}validateDocLimit(e){if(e==null){this.docLimitValidationMessage="common.please_fill_this_field";return}this.docLimitValidationMessage=Number.isInteger(e)&&e>0?"":"licenses.detail.please_put_integer"}validateDocThreshold(e){if(e==null){this.docThresholdValidationMessage="common.please_fill_this_field";return}this.docThresholdValidationMessage=Number.isInteger(e)&&e>0?"":"licenses.detail.please_put_integer"}validateLicenseName(e){ia(e)?this.titleControl.control.setErrors({titleBlacklisted:!0}):delete this.titleControl.control.errors?.titleBlacklisted,this.licenseNameExists(e)?this.titleControl.control.setErrors({titleConflict:!0}):delete this.titleControl.control.errors?.titleConflict,e===""?this.titleControl.control.setErrors({required:!0}):delete this.titleControl.control.errors?.required}onAddNewMember(){let e=this.modalService.open(sl,{windowClass:"modal-extra-large"}),i=[...this.currentLicense.users.map(a=>({name:a.username,isGroup:!1,id:a.userId,forename:a.forename,surname:a.surname})),...this.currentLicense.groups.map(a=>({name:a.name,isGroup:!0,id:a.groupId}))],n=this.currentLicense.users.map(a=>({id:a.userId,name:a.username,forename:a.forename,surname:a.surname,isSelected:!0}));e.componentInstance.licenseMemberCandidates=[...i],e.componentInstance.licenseMembers=[...i],e.componentInstance.licenseMemberUsers=[...n],e.componentInstance.licenseMemberUserCandidates=[...n],e.componentInstance.usersToPass=[...this.currentLicense.users.map(a=>({id:a.userId,name:a.username,forename:a.forename,surname:a.surname}))],e.componentInstance.groupsToPass=[...this.currentLicense.groups.map(a=>({groupId:a.groupId,name:a.name,userCount:a.userCount}))],e.result.then(a=>{a?.passedUsers&&a.passedGroups&&(this.currentLicense.groups=a.passedGroups.map(m=>({groupId:m.groupId,name:m.name,userCount:m.userCount})),this.currentLicense.users=a.passedUsers.map(m=>({userId:m.id,username:m.name,forename:m.forename,surname:m.surname})),this.setupGroupNameLocalization()),this.feedbackService.showSuccessModal("licenses.detail.application_successful")}).catch(()=>{this.feedbackService.showErrorModal()})}unlinkFromLicense(){let n={din21Ids:this.licenseDocumentList.licenseDocumentListTable.selectedRows.map(a=>a.item.din21Id),licenseId:this.currentLicense.id};this.onRemoveDocumentsFromLicense(n)}unlinkUserMember(e){this.currentLicense.users=this.currentLicense.users.filter(i=>i.userId!==e)}unlinkGroupMember(e){this.currentLicense.groups=this.currentLicense.groups.filter(i=>i.groupId!==e)}unlinkUserMembers(e){let i=e.map(n=>n.item);this.currentLicense.users=this.currentLicense.users.filter(n=>!i.includes(n))}unlinkGroupMembers(e){let i=e.map(n=>n.item);this.currentLicense.groups=this.currentLicense.groups.filter(n=>!i.includes(n))}onRemoveDocumentsFromLicense(e){let i=e.din21Ids;this.removedDin21Ids.push(...i),this.currentLicense.documents=this.currentLicense.documents.filter(n=>!i.includes(n.din21Id)),this.currentLicense.din21Ids=this.currentLicense.din21Ids.filter(n=>!i.includes(n)),i.length>1?this.feedbackService.showSuccessModal("licenses.detail.successfully_removed_documents_from_license"):this.feedbackService.showSuccessModal("licenses.detail.successfully_removed_document_from_license"),this.collectionSize=this.currentLicense.documents?.length??0}onPageChange(e){this.currentPageForDocumentList=Number.parseInt(e,10)-1,this.loadActualDocumentList(this.currentLicense.din21Ids).subscribe()}onPageSizeChange(e){this.pageSizeForDocumentList=e,this.loadActualDocumentList(this.currentLicense.din21Ids).subscribe()}setupGroupNameLocalization(){this._groupsLocalizationSub?.unsubscribe(),this._groupsLocalizationSub=this.groupService.groupCollection$.subscribe(e=>{!e||!this.currentLicense?.groups||(this.currentLicense.groups=this.currentLicense.groups.map(i=>{let n=e.find(a=>a.groupId===i.groupId);return n?Ae(se({},i),{name:n.name}):i}),this.changeDetectorRef.markForCheck())})}loadActualDocumentList(e){this.uiService.showSpinner();let i={pageSize:this.pageSizeForDocumentList,pageNumber:this.currentPageForDocumentList,sortField:this.sortField,sortDir:this.sortDirection,searchString:""};return this.documentAccessService.getDocumentListForDin21Ids(e,i,this.filter).pipe(he(n=>{if((n?.totalCount??0)>0&&(!n?.fulltexts||n.fulltexts.length===0)&&this.currentPageForDocumentList>0){this.currentPageForDocumentList=0,this.loadActualDocumentList(e).subscribe();return}this.currentLicense.documents=n.fulltexts,this.currentLicense.din21Ids=e,this.collectionSize=n.totalCount,this.changeDetectorRef.markForCheck();for(let a of this.currentLicense.documents)if(!a.isUploadedByUser){a.url=jt;let m=a.publicationDate;a.description=a.description?a.description:a.documentNumber+" ("+m+")"}this.hideSpinner()}),_t(()=>this.hideSpinner()))}extractRightInputs(){let e=[];
1if(this.canOpen&&this.currentLicense.licenseType!==pe.METADATA){let i={rightName:this.licenseRights.DOCUMENT_OPEN};this.openAccessCount&&this.openAccessCount.toString()!==""&&(i.accessCount=this.openAccessCount),e.push(i)}if(this.isSimultaneousLicense&&this.isSingleLicense&&this.currentLicense.licenseType!==pe.METADATA&&e.push({rightName:this.licenseRights.DOCUMENT_SIMULTAN_SINGLE_DOCUMENTS,accessCount:+this.simultaneousLicenseAccessCount}),this.isSimultaneousLicense&&!this.isSingleLicense&&this.currentLicense.licenseType!==pe.METADATA&&e.push({rightName:this.licenseRights.DOCUMENT_SIMULTAN_COLLECTION,accessCount:+this.simultaneousLicenseAccessCount}),this.canSaveAndPrint&&this.currentLicense.licenseType!==pe.METADATA){let i={rightName:this.licenseRights.DOCUMENT_SAVE};e.push(i),i={rightName:this.licenseRights.DOCUMENT_PRINT},e.push(i)}return this.showInHitlist&&this.currentLicense.licenseType===pe.METADATA&&e.push({rightName:this.licenseRights.METADATA_VIEW,accessCount:0}),e}licenseNameExists(e){return this.licenseNames.includes(e)&&this.originalLicenseTitle!==e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=eo({type:t,viewQuery:function(i,n){if(i&1&&le(G_,7)(K_,7)(W_,7)(Q_,5)(Y_,5),i&2){let a;Y(a=Z())&&(n.topDiv=a.first),Y(a=Z())&&(n.userMembersTable=a.first),Y(a=Z())&&(n.groupMembersTable=a.first),Y(a=Z())&&(n.licenseDocumentList=a.first),Y(a=Z())&&(n.titleControl=a.first)}}})}}return t})();var oa=(()=>{class t{transform(e,i){switch(e){case pe.DOCUMENT:return i?"licenses.document_license_tooltip":"licenses.document_license";case pe.COLLECTION:return i?"licenses.collection_license_tooltip":"licenses.collection_license";case pe.METADATA:return i?"licenses.metadata_license_tooltip":"licenses.metadata_license"}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=Ht({name:"licenseDetailsType",type:t,pure:!0})}}return t})();var bi=(function(t){return t[t.INDIVIDUAL=2]="INDIVIDUAL",t[t.BESTCOLLECTION=3]="BESTCOLLECTION",t})(bi||{});var Xi=class{static checkFilterHasValue(o){return!!(o&&(o.documentNumber||o.publicationDate||o.description||o.language||o.documentType||o.type!=null||o.licenseAssignmentType!=null||o.licenseName||o.abos!=null&&o.abos.length>0||o.user||o.group||o.updatedOn&&(o.updatedOn.startDate||o.updatedOn.endDate)))}};var Fn=(function(t){return t[t.WITHOUTLICENSE=0]="WITHOUTLICENSE",t[t.MANYLICENSES=1]="MANYLICENSES",t})(Fn||{});var Z_=["focusable"];function J_(t,o){t&1&&(p(0),d(1,"transloco")),t&2&&D(" ",u(1,1,"licenses.document_management.subscription.bestcollection_license")," ")}function X_(t,o){if(t&1){let e=I();l(0,"div",7,0),y("click",function(){let n=S(e).$implicit,a=c(3);return x(a.itemClicked(n))})("keyup",function(n){S(e);let a=c(3);return x(a.onKeyReleased(n))}),C(2,J_,2,3),p(3),s()}if(t&2){let e=o.$implicit,i=o.$index,n=c(3);_("ngbTooltip",e.text)("ngClass",n.selectedItemIndex===i?"selected":"");let a=n.nautosTitleUtils.isNautosCollectionTitle(e.text),m=a?n.nautosTitleUtils.cutNautosCollectionFromTitle(e.text):e.text;r(2),b(a?2:-1),r(),D(" ",m," ")}}function eh(t,o){if(t&1&&(l(0,"div",5),ue(1,X_,4,4,"div",6,Se),s()),t&2){let e=c(2);_("itemsVisible",e.displaySize)("totalItems",e.items.length)("itemHeight",e.itemHeight),r(),_e(e.items)}}function th(t,o){if(t&1){let e=I();l(0,"form",2)(1,"label",3),p(2),d(3,"transloco"),s(),l(4,"input",4,0),y("keyup",function(n){S(e);let a=c();return x(a.onKeyReleased(n))})("focus",function(){S(e);let n=c();return x(n.onFocus())}),s(),C(6,eh,3,3,"div",5),s()}if(t&2){let e=c();W("dropdown-up",e.isDropdownUp),_("formGroup",e.inputSelectForm),r(),_("for",e.translocoKey),r(),h(u(3,7,e.translocoKey)),r(2),_("id",e.translocoKey),r(2),b(e.isDropdownOpen?6:-1)}}var $c=(()=>{class t{constructor(){this._translocoService=g(Q),this.inputSelectForm=new xt({}),this.isDropdownOpen=!1,this.isDropdownUp=!1,this.itemHeight=40,this.nautosTitleUtils=mi,this.displaySize=5,this.translocoKey="",this.inputValueChanged=new K,this.activateFilter=new K,this._initialValue=""}set initialValue(e){if(e||e===""){let i=mi.translateNautosCollectionTitle(e,this._translocoService);this._initialValue=i,this.setValue(e),this.inputValueChanged.emit(e)}}set items(e){this._items=e,this.calculateDropdownDirection()}get initialValue(){return this._initialValue}get items(){return this._items}onOutsideClick(e){e.stopPropagation();let i=["select-input"],n=e.target;i.some(m=>n.classList.contains(m))||(this.isDropdownOpen=!1)}onScroll(){this.isDropdownOpen=!1,this.calculateDropdownDirection()}ngOnInit(){this.buildForm()}onKeyReleased(e){e.key==="ArrowDown"?this.incrementIndex():e.key==="ArrowUp"?this.decrementIndex():e.key==="Enter"?this.items[this.selectedItemIndex]?(this.setValue(this.items[this.selectedItemIndex]?.text,!0),this.isDropdownOpen=!1,this.items=[]):this.activateFilter.emit():(this.inputValueChanged.emit(this.inputSelectForm.controls.valueInput.value),this.isDropdownOpen=!0)}onFocus(){this.items.length>0&&(this.items.length>1||this.items[0].value!==this.inputSelectForm.controls.valueInput.value)&&(this.isDropdownOpen=!0)}incrementIndex(){this.selectedItemIndex===void 0?this.selectedItemIndex=0:this.selectedItemIndex=(this.selectedItemIndex+1)%this.items.length}decrementIndex(){this.selectedItemIndex??=0,this.selectedItemIndex=(this.selectedItemIndex-1+this.items.length)%this.items.length}itemClicked(e){this.items=[],this.setValue(e.text,!0)}buildForm(){this.inputSelectForm=new xt({valueInput:new Me({value:this.initialValue,disabled:!1})})}setValue(e,i=!0){this.isDropdownOpen=!1;let n=mi.translateNautosCollectionTitle(e,this._translocoService);this.inputSelectForm.controls.valueInput?.patchValue(n),i&&this.inputValueChanged.emit(e)}calculateDropdownDirection(){let e=document.querySelector(".license-filter-select-items");if(!e)return;let i=e.getBoundingClientRect(),n=window.innerHeight;i.bottom<=n?this.isDropdownUp=!1:this.isDropdownUp=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-input-select"]],viewQuery:function(i,n){if(i&1&&le(Z_,5),i&2){let a;Y(a=Z())&&(n.focusableElements=a)}},hostBindings:function(i,n){i&1&&y("click",function(m){return n.onOutsideClick(m)},Ir)("scroll",function(){return n.onScroll()},Xn)},inputs:{displaySize:"displaySize",translocoKey:"translocoKey",initialValue:"initialValue",items:"items"},outputs:{inputValueChanged:"inputValueChanged",activateFilter:"activateFilter"},decls:1,vars:1,consts:[["focusable",""],[3,"formGroup","dropdown-up"],[3,"formGroup"],[3,"for"],["type","text","formControlName","valueInput","autocomplete","off","value","initialValue",1,"select-input",3,"keyup","focus","id"],[1,"filter-select-items",3,"itemsVisible","totalItems","itemHeight"],["placement","right",1,"filter-select-item","elipsicated",3,"ngbTooltip","ngClass"],["placement","right",1,"filter-select-item","elipsicated",3,"click","keyup","ngbTooltip","ngClass"]],template:function(i,n){i&1&&C(0,th,7,9,"form",1),i&2&&b(n.inputSelectForm?0:-1)},dependencies:[Ee,ze,Ps,te,Je,Ze,Ye,fe,Ie,je,$e,$,B],styles:["form[_ngcontent-%COMP%]{color:var(--color-primary-dark);
1display:flex;flex-direction:column;position:relative;z-index:1}form[_ngcontent-%COMP%]:focus-within{z-index:9999}form[_ngcontent-%COMP%]   .filter-select-items[_ngcontent-%COMP%]{margin-top:calc(var(--spacer) * 4);position:absolute;width:100%}form[_ngcontent-%COMP%]   .filter-select-items[_ngcontent-%COMP%]   .filter-select-item[_ngcontent-%COMP%]{background-color:var(--color-background);cursor:pointer;height:2.5rem;line-height:2.5rem;padding-inline:calc(var(--spacer) / 2);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;position:relative}form[_ngcontent-%COMP%]   .filter-select-items[_ngcontent-%COMP%]   .filter-select-item.selected[_ngcontent-%COMP%]{background-color:var(--color-gray-light);border-radius:var(--border-radius);color:var(--color-primary-dark);cursor:pointer;font-family:var(--font-family-bold)}form[_ngcontent-%COMP%]   .filter-select-items[_ngcontent-%COMP%]   .filter-select-item[_ngcontent-%COMP%]:not(:last-child){border-bottom:var(--border)}form[_ngcontent-%COMP%]   .filter-select-items[_ngcontent-%COMP%]   .filter-select-item[_ngcontent-%COMP%]:hover{color:var(--color-primary)}form[_ngcontent-%COMP%]   .filter-select-items[_ngcontent-%COMP%]{box-shadow:0 4px 10px #00000059}form.dropdown-up[_ngcontent-%COMP%]{flex-direction:column-reverse}form.dropdown-up[_ngcontent-%COMP%]   .filter-select-items[_ngcontent-%COMP%]{margin-bottom:calc(var(--spacer) * 2.5)}"]})}}return t})();function ih(t,o){if(t&1){let e=I();l(0,"button",23),y("click",function(){S(e);let n=c();return x(n.resetAllFilters())}),l(1,"span",24),p(2),d(3,"transloco"),s()()}t&2&&(r(2),h(u(3,1,"common.reset")))}function nh(t,o){if(t&1&&w(0,"app-select",16),t&2){let e=c();_("items",e.licenseAssignmentTypeOptions)("showUnselectItem",!0)}}function oh(t,o){t&1&&(l(0,"div",7)(1,"p",25),p(2),d(3,"transloco"),s(),w(4,"app-checkbox",26)(5,"app-checkbox",27),s()),t&2&&(r(2),h(u(3,1,"orders.request.subscription")))}var aa=(()=>{class t{constructor(){this._translocoService=g(Q),this._authService=g(Pe),this._licenseService=g(nt),this._userService=g(hn),this._groupService=g(Fi),this.documentFilter={},this.licenseAssignmentTypeFilterEnabled=!0,this.subscriptionFilterEnabled=!0,this.filterClose=new K,this.resetFilter=new K,this.filter=new K,this.isFiltered=!1,this.baseLanguages=vi,this.additionalLanguages=gi,this.selectableBaseLanguages=Object.keys(vi),this.selectableAdditionalLanguages=Object.keys(gi),this._licenseFilterValue="",this.licenseFilterItems=[],this._groupFilterValue="",this.groupFilterItems=[],this._groupFilterItemsCache=[],this._userFilterValue="",this.userFilterItems=[],this._userFilterItemsCache=[],this._fileTypeToTranslocoKeyMap={[Qe.FILE_LINK_LOCAL]:"search.document_upload.link_local",[Qe.FILE_LINK_WWW]:"search.document_upload.link_url",[Qe.FILE_PAPER]:"search.document_upload.link_paper",[Qe.FILE_DIGITAL]:"search.document_upload.digital_document",[Qe.FILE_HOSTED]:"search.document_upload.link_hosted"},this._licenseAssignmentTypeToTranslocoKeyMap={[Fn.WITHOUTLICENSE]:"licenses.document_management.filter_without_license",[Fn.MANYLICENSES]:"licenses.document_management.filter_with_many_licenses"}}ngOnInit(){this.startDate=this.documentFilter?.updatedOn?.startDate?this.documentFilter.updatedOn.startDate:"",this.endDate=this.documentFilter?.updatedOn?.endDate?this.documentFilter.updatedOn.endDate:"",this.form=new xt({documentNumber:new Me("",{nonNullable:!0}),dateOfIssue:new Me("",{nonNullable:!0}),description:new Me("",{nonNullable:!0}),selectedLanguage:new Me(this.documentFilter?.language),documentType:new Me(this.documentFilter?.documentType),type:new Me(this.documentFilter?.type),licenseName:new Me(this.documentFilter?.licenseName||""),licenseAssignmentType:new Me(this.documentFilter?.licenseAssignmentType),userName:new Me(this.documentFilter?.user?.text||""),groupName:new Me(this.documentFilter?.group?.text||""),subscriptionBestcollection:new Me(this.documentFilter?.abos?.includes(bi.BESTCOLLECTION)),subscriptionIndividual:new Me(this.documentFilter?.abos?.includes(bi.INDIVIDUAL))}),this.form.get("documentNumber").patchValue(this.documentFilter?.documentNumber?this.documentFilter.documentNumber:""),this.form.get("dateOfIssue").patchValue(this.documentFilter?.publicationDate?this.documentFilter.publicationDate:""),this.form.get("description").patchValue(this.documentFilter?.description?this.documentFilter.description:""),this.form.get("licenseName").patchValue(this.documentFilter?.licenseName?this.documentFilter.licenseName:""),this.form.get("userName").patchValue(this.documentFilter?.user?.text?this.documentFilter.user?.text:""),this.form.get("groupName").patchValue(this.documentFilter?.group?.text?this.documentFilter.user?.text:""),this.documentFilter?.user&&this._userFilterItemsCache.push(this.documentFilter?.user),this.documentFilter?.group&&this._groupFilterItemsCache.push(this.documentFilter?.group),this.initializeDropdownOptions(),this.isFiltered=Xi.checkFilterHasValue(this.documentFilter)}filterOnEnter(e){e.key==="Enter"&&this.onFilter()}onUpdateTypeAheadFilter(e,i){if(e.length<3){e.length===0&&this.clearInputDropdown(i);return}switch(this._typeaheadTimer&&clearTimeout(this._typeaheadTimer),i){case"license":this._licenseFilterValue=e,this._typeaheadTimer=setTimeout(()=>{this._licenseService.getLicenseAutoComplete(this._licenseFilterValue).subscribe(n=>{this.licenseFilterItems=n})},500);break;case"username":this._userFilterValue=e,this._typeaheadTimer=setTimeout(()=>{this._userService.filterFullUsers(this._userFilterValue).subscribe(n=>{this.userFilterItems=n.map(a=>({text:`${a.surname}, ${a.forename} (${a.username})`,value:a.id})),this.userFilterItems.length>0&&(this._userFilterItemsCache=[...this.userFilterItems])})},500);break;case"group":this._groupFilterValue=e,this._typeaheadTimer=setTimeout(()=>{this._groupService.filterFullGroups(this._groupFilterValue).subscribe(n=>{this.groupFilterItems=n.map(a=>({text:a.name,value:a.groupId})),this.groupFilterItems.length>0&&(this._groupFilterItemsCache=[...this.groupFilterItems])})},500);break}}onFilter(){let e=this._userFilterItemsCache.find(a=>a.text===this._userFilterValue)??void 0,i=this._groupFilterItemsCache.find(a=>a.text===this._groupFilterValue)??void 0,n={documentNumber:this.form.get("documentNumber").value,publicationDate:this.form.get("dateOfIssue").value,description:this.form.get("description").value,language:this.form.get("selectedLanguage").value,documentType:this.form.get("documentType").value,type:this.form.get("type").value,withoutLicense:this.form.get("showDocumentWithoutLicense")?.value,licenseName:this._licenseFilterValue??"",licenseAssignmentType:this.form.get("licenseAssignmentType").value,abos:this.getSubsciptionValues(),user:e,group:i,updatedOn:{startDate:this.normalizeDate(this.startDate),endDate:this.normalizeDate(this.endDate)}};Xi.checkFilterHasValue(n)&&(this.isFiltered=!0),this.filter.emit(n),this.filterClose.emit()}onFilterClose(){this.filterClose.emit()}resetAllFilters(){this.form.reset({}),this.documentFilter.licenseName="",this.documentFilter.group=void 0,this.documentFilter.user=void 0,this.documentFilter.updatedOn=void 0,this.licenseFilterItems=void 0,this.startDate="",this.endDate="",this.resetFilter.emit()}onDatesChanged(e){this.startDate=e.startDate,this.endDate=e.endDate}normalizeDate(e){if(!e)return e;let i=e.trim();if(!/^(?:19|20)\d{2}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12]\d|3[01]))?)?$/.test(i))return i;let[a,m="01",f="01"]=i.split("-");return`${a}-${m}-${f}`}initializeDropdownOptions(){let e=this.selectableBaseLanguages.map(f=>({text:this._translocoService.translate("common.languages."+this.baseLanguages[f]),value:f,disabled:!1})),i=this.selectableAdditionalLanguages.map(f=>({text:this._translocoService.translate("common.languages."+this.additionalLanguages[f]),value:f,disabled:!1})).sort((f,v)=>f.text.localeCompare(v.text));this.languageOptions=e.concat(i);let n=Object.keys(bn);this.documentTypeOptions=n.map(f=>({text:this._translocoService.translate(bn[f]),value:f,disabled:!1}));let a=Object.values(Qe).filter(f=>typeof f!="string"&&f!==Qe.FILE_PAPER).filter(f=>this._authService.currentTokenDecoded.hasHostingModule?!0:f!==Qe.FILE_HOSTED);this.typeOptions=a.map(f=>({text:this._translocoService.translate(this._fileTypeToTranslocoKeyMap[f]),value:f,disabled:!1}));let m=Object.keys(Fn).filter(f=>isNaN(Fn[f])).map(f=>Number(f));this.licenseAssignmentTypeOptions=m.map(f=>({text:this._translocoService.translate(this._licenseAssignmentTypeToTranslocoKeyMap[f]),value:f,disabled:!1}))}getSubsciptionValues(){let e=[];return this.form.get("subscriptionBestcollection").value&&e.push(bi.BESTCOLLECTION),this.form.get("subscriptionIndividual").value&&e.push(bi.INDIVIDUAL),e}clearInputDropdown(e){switch(e){case"license":this._licenseFilterValue="";break;case"username":this._userFilterValue="";break;case"group":this._groupFilterValue="";break}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-document-management-filter"]],inputs:{documentFilter:"documentFilter",licenseAssignmentTypeFilterEnabled:"licenseAssignmentTypeFilterEnabled",subscriptionFilterEnabled:"subscriptionFilterEnabled"},outputs:{filterClose:"filterClose",resetFilter:"resetFilter",filter:"filter"},decls:44,vars:48,consts:[[1,"filter",3,"mousedown","formGroup"],[1,"filter-header"],["data-cy","filterTitle",1,"title"],["type","button",1,"btn-filter-reset"],["type","button",1,"btn-filter-close",3,"click","ngbTooltip"],["name","cross","data-cy","iconCloseFilter"],[1,"filter-body"],[1,"field"],["for","filter-document-number"],["type","text","id","filter-document-number","formControlName","documentNumber","data-cy","documentNumber",3,"keydown","appAutoFocus"],["for","filter-date-of-issue"],["type","text","id","filter-date-of-issue","formControlName","dateOfIssue","data-cy","dateOfIssue",3,"keydown","placeholder"],["type","text","formControlName","description","data-cy","description",3,"keydown"],["label","common.language","formControlName","selectedLanguage","data-cy","language",1,"field",3,"items","itemsVisible","showUnselectItem"],["label","common.document_type","formControlName","documentType","data-cy","documentType",1,"field",3,"items","itemsVisible","showUnselectItem"],["label","search.document_upload.link_type","formControlName","type","data-cy","linkType",1,"field",3,"items","showUnselectItem"],["label","licenses.document_management.filter_license_assignment_type","formControlName","licenseAssignmentType","data-cy","licenseAssignmentType",1,"field",3,"items","showUnselectItem"],["data-cy","searchLicense",3,"inputValueChanged","activateFilter","items","initialValue","translocoKey"],["data-cy","searchGroup","translocoKey","user_management.groups.group_name",3,"inputValueChanged","activateFilter","items","initialValue"],["data-cy","searchUser","translocoKey","user_management.user",3,"inputValueChanged","activateFilter","items","initialValue"],[3,"datesChanged","keydown","hasDayInput","languageJsonKey","startDate","endDate"],[1,"filter-footer"],["type","button","data-cy","applyFilter",1,"btn-primary-outline",3,"click"],["type","button",1,"btn-filter-reset",3,"click"],["data-cy","resetFilter"],[1,"label-top"],["formControlName","subscriptionBestcollection","label","licenses.document_management.subscription.bestcollection","data-cy","bestCollection"],["formControlName","subscriptionIndividual","label","licenses.document_management.subscription.individual","data-cy","individual"]],template:function(i,n){i&1&&(l(0,"form",0),y("mousedown",function(m){return m.stopPropagation()}),l(1,"div",1)(2,"span",2),p(3),d(4,"transloco"),s(),C(5,ih,4,3,"button",3),l(6,"button",4),d(7,"transloco"),d(8,"transloco"),y("click",function(){return n.onFilterClose()}),w(9,"app-icon",5),s()(),l(10,"div",6)(11,"div",7)(12,"label",8),p(13),d(14,"transloco"),s(),l(15,"input",9),y("keydown",function(m){return n.filterOnEnter(m)}),s()(),l(16,"div",7)(17,"label",10),p(18),d(19,"transloco"),s(),l(20,"input",11),d(21,"transloco"),y("keydown",function(m){return n.filterOnEnter(m)}),s()(),l(22,"div",7)(23,"label",10),p(24),d(25,"transloco"),s(),l(26,"input",12),y("keydown",function(m){return n.filterOnEnter(m)}),s()(),w(27,"app-select",13)(28,"app-select",14)(29,"app-select",15),C(30,nh,1,2,"app-select",16),l(31,"div",7)(32,"app-input-select",17),y("inputValueChanged",function(m){return n.onUpdateTypeAheadFilter(m,"license")})("activateFilter",function(){return n.onFilter()}),s()(),l(33,"div",7)(34,"app-input-select",18),y("inputValueChanged",function(m){return n.onUpdateTypeAheadFilter(m,"group")})("activateFilter",function(){return n.onFilter()}),s()(),l(35,"div",7)(36,"app-input-select",19),y("inputValueChanged",function(m){return n.onUpdateTypeAheadFilter(m,"username")})("activateFilter",function(){return n.onFilter()}),s()(),l(37,"div",7)(38,"app-date-picker",20),y("datesChanged",function(m){return n.onDatesChanged(m)})("keydown",function(m){return n.filterOnEnter(m)}),s()(),C(39,oh,6,3,"div",7),s(),l(40,"div",21)(41,"button",22),y("click",function(){return n.onFilter()}),p(42),d(43,"transloco"),s()()()),i&2&&(_("formGroup",n.form),r(3),h(u(4,32,"common.table.filter")),r(2),b(n.isFiltered?5:-1),r(),_("ngbTooltip",u(7,34,"common.table.close_filter")),k("aria-label",u(8,36,"common.table.close_filter")),r(7),h(u(14,38,"common.metadata_label.documentNumber")),r(2),_("appAutoFocus",!0),r(3),h(u(19,40,"common.metadata_label.dateOfIssue")),r(2),_("placeholder",u(21,42,"common.date_format")),r(4),h(u(25,44,"common.description")),r(3),_("items",n.languageOptions)("itemsVisible",10)("showUnselectItem",!0),r(),_("items",n.documentTypeOptions)("itemsVisible",10)("showUnselectItem",!0),r(),_("items",n.typeOptions)("showUnselectItem",!0),r(),b(n.licenseAssignmentTypeFilterEnabled?30:-1),r(2),_("items",n.licenseFilterItems)("initialValue",(n.documentFilter==null?null:n.documentFilter.licenseName)??"")("translocoKey","licenses.detail.name"),r(2),_("items",n.groupFilterItems)("initialValue",(n.documentFilter==null||n.documentFilter.group==null?null:n.documentFilter.group.text)??""),r(2),_("items",n.userFilterItems)("initialValue",(n.documentFilter==null||n.documentFilter.user==null?null:n.documentFilter.user.text)??""),r(2),_("hasDayInput",!0)("languageJsonKey","common.updatedOn")("startDate",n.startDate)("endDate",n.endDate),r(),b(n.subscriptionFilterEnabled?39:-1),r(3),D(" ",u(43,46,"common.apply")," "))},dependencies:[pi,Dt,G,$c,te,Je,Ze,Ye,fe,Ie,je,$e,oe,$,cl,Ft,B],styles:[".filter-body[_ngcontent-%COMP%] > .field[_ngcontent-%COMP%]{flex:1 0 calc(33.333% - var(--spacer));max-width:calc(33.333% - var(--spacer));position:relative}.filter-body[_ngcontent-%COMP%] > .field[_ngcontent-%COMP%] > app-checkbox[_ngcontent-%COMP%]{display:flex;margin-bottom:calc(var(--spacer) / 2)}@media(width<=75rem){.filter-body[_ngcontent-%COMP%] > .field[_ngcontent-%COMP%]{flex:1 0 calc(50% - var(--spacer));max-width:calc(50% - var(--spacer))}}@media(width<=48rem){.filter-body[_ngcontent-%COMP%] > .field[_ngcontent-%COMP%]{flex:1 0 100%;max-width:100%}}"]})}}return t})();var ah=["licenseDocumentListTable"],rh=()=>[];function sh(t,o){if(t&1){let e=I();l(0,"app-document-management-filter",18),y("filterClose",function(){S(e),c();let n=V(1);return x(n.close())})("filter",function(n){S(e);let a=c(2);return x(a.onFilter(n))})("resetFilter",function(){S(e);let n=c(2);return x(n.onResetFilters())}),s()}if(t&2){let e=c(2);_("documentFilter",e.filter)("licenseAssignmentTypeFilterEnabled",!1)("subscriptionFilterEnabled",!1)}}function lh(t,o){if(t&1&&(l(0,"button",16,3),d(2,"transloco"),T(3,sh,1,3,"ng-template",null,4,L),w(5,"app-icon",17),s()),t&2){let e=V(4),i=c();
1_("ngbPopover",e),k("aria-label",u(2,3,"common.table.open_filter")),r(5),_("ngClass",i.checkFilterHasValue(i.filter)?"icon-filter-active":"icon-filter-inactive")}}function ch(t,o){if(t&1){let e=I();l(0,"button",19),d(1,"transloco"),d(2,"transloco"),y("click",function(){let n=S(e).item,a=c(2);return x(a.onRemoveDocumentFromLicense(n))}),w(3,"app-icon",20),s()}t&2&&(_("ngbTooltip",u(1,2,"common.remove")),k("aria-label",u(2,4,"common.remove")))}function dh(t,o){t&1&&(l(0,"div",7),T(1,ch,4,6,"ng-template",null,2,L),s())}function ph(t,o){if(t&1&&(l(0,"span",21),p(1),s()),t&2){let e=o.item;r(),h(e.url)}}function mh(t,o){if(t&1&&(l(0,"span",22),p(1),s()),t&2){let e=o.item;r(),h(e.description)}}function uh(t,o){if(t&1&&(l(0,"span",23),p(1),d(2,"uppercase"),s()),t&2){let e=o.item;r(),h(u(2,1,e.language))}}function _h(t,o){if(t&1&&(l(0,"span",24),p(1),d(2,"transloco"),s()),t&2){let e=c().item;r(),h(u(2,1,"search.document_upload."+e.documentType))}}function hh(t,o){if(t&1&&C(0,_h,3,3,"span",24),t&2){let e=o.item;b(e.documentType&&e.documentType!==""?0:-1)}}function fh(t,o){if(t&1&&(l(0,"span",25),p(1),d(2,"fileType"),d(3,"transloco"),s()),t&2){let e=o.item;r(),h(u(3,3,u(2,1,e.type)))}}function gh(t,o){if(t&1&&(l(0,"span",26),p(1),s()),t&2){let e=o.item;r(),h(e.acCode)}}function vh(t,o){if(t&1&&(l(0,"span",27),p(1),s()),t&2){let e=o.item;r(),h(e.documentNumber)}}function Ch(t,o){if(t&1&&(l(0,"span",28),p(1),s()),t&2){let e=o.item;r(),h(e.publicationDate)}}var ra=(()=>{class t{constructor(){this._licenseManagementConfig=g(Jt),this._uiService=g(He),this.isPending=!1,this.isFiltered=!1,this.pageNumber=this._licenseManagementConfig.defaultPage,this.filter={},this.removeDocumentsFromLicense=new K,this.numPages=0,this.pageSizeSet=new K,this.sortChanged=new K,this.pageSet=new K,this.filterChanged=new K,this.allowRemoval=!0}get license(){return this._license}set license(e){this._license=e}set documents(e){e&&(this._documents=e)}get documents(){return this._documents}set licenseDocumentListTable(e){this._licenseDocumentListTable=e}get licenseDocumentListTable(){return this._licenseDocumentListTable}setLoadingAndShowSpinner(){this.isPending=!0,this._uiService.showSpinner()}checkFilterHasValue(e){return!!(e&&(e.documentNumber||e.publicationDate||e.description||e.language||e.documentType||e.type!=null||e.licenseAssignmentType!=null))}onRemoveDocumentFromLicense(e){let i=e.din21Id?[e.din21Id]:[],n=e.din21Id?[]:[e],a={din21Ids:i,unidentifiedDocuments:n,licenseId:this._license.id};this.removeDocumentsFromLicense.emit(a)}onPageSelected(e){this.pageSet.emit(e)}onRowsSelected(e){this.selectedRows=e}onFilter(e){this.setLoadingAndShowSpinner(),this.pageNumber=this._licenseManagementConfig.defaultPage,this.filter=e,this.checkFilterHasValue(this.filter)?this.isFiltered=!0:this.isFiltered=!1,this.filterChanged.emit(this.filter)}onResetFilters(){this.setLoadingAndShowSpinner(),this.filter={},this.isFiltered=!1,this.filterChanged.emit(this.filter)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-license-document-list"]],viewQuery:function(i,n){if(i&1&&le(ah,5),i&2){let a;Y(a=Z())&&(n.licenseDocumentListTable=a.first)}},inputs:{allowRemoval:"allowRemoval",license:"license",documents:"documents"},outputs:{removeDocumentsFromLicense:"removeDocumentsFromLicense",pageSizeSet:"pageSizeSet",sortChanged:"sortChanged",pageSet:"pageSet",filterChanged:"filterChanged"},decls:30,vars:6,consts:[["licenseDocumentListTable",""],["tableCheckboxColumnHeader",""],["tableCell",""],["tableFilterPopover","ngbPopover"],["editableHeaderFilterTpl",""],["data-cy","documentTableContainer",1,"container-table"],["data-cy","table",3,"rowsSelected","items","hasCheckboxColumn"],["tableColumn","","styleClasses","button-column"],["tableColumn","","columnText","licenses.document_management.url","itemProperty","url","styleClasses","narrow"],["tableColumn","","columnText","common.description","itemProperty","description","styleClasses","wide"],["tableColumn","","columnText","common.language","itemProperty","language","styleClasses","narrow"],["tableColumn","","columnText","common.document_type","itemProperty","documentType"],["tableColumn","","columnText","search.document_upload.link_type","itemProperty","type","styleClasses","narrow"],["tableColumn","","columnText","common.metadata_label.acCode","itemProperty","acCode","styleClasses","border-left"],["tableColumn","","columnText","common.metadata_label.documentNumber","itemProperty","documentNumber"],["tableColumn","","columnText","common.metadata_label.dateOfIssue","itemProperty","dateOfIssue"],["type","button","popoverClass","filter-container","placement","bottom-left","autoClose","outside","data-cy","iconFilter",1,"btn-filter",3,"ngbPopover"],["name","filter",3,"ngClass"],["data-cy","filter",3,"filterClose","filter","resetFilter","documentFilter","licenseAssignmentTypeFilterEnabled","subscriptionFilterEnabled"],["type","button",1,"btn-icon",3,"click","ngbTooltip"],["name","cross","data-cy","unlinkDocumentFrom
1License"],["data-cy","url"],["data-cy","description"],["data-cy","language"],["data-cy","documentType"],["data-cy","linkType"],["data-cy","acCode"],["data-cy","documentNumber"],["data-cy","dateOfIssue"]],template:function(i,n){i&1&&(l(0,"div",5)(1,"app-table",6,0),y("rowsSelected",function(m){return n.onRowsSelected(m)}),T(3,lh,6,5,"ng-template",null,1,L),C(5,dh,3,0,"div",7),l(6,"div",8),T(7,ph,2,1,"ng-template",null,2,L),s(),l(9,"div",9),T(10,mh,2,1,"ng-template",null,2,L),s(),l(12,"div",10),T(13,uh,3,3,"ng-template",null,2,L),s(),l(15,"div",11),T(16,hh,1,1,"ng-template",null,2,L),s(),l(18,"div",12),T(19,fh,4,5,"ng-template",null,2,L),s(),l(21,"div",13),T(22,gh,2,1,"ng-template",null,2,L),s(),l(24,"div",14),T(25,vh,2,1,"ng-template",null,2,L),s(),l(27,"div",15),T(28,Ch,2,1,"ng-template",null,2,L),s()()()),i&2&&(W("readonly",!n.allowRemoval),r(),_("items",n.documents||Ct(5,rh))("hasCheckboxColumn",!0),r(4),b(n.allowRemoval?5:-1))},dependencies:[Ee,ze,aa,G,Yt,te,oe,Zt,$,zt,an,bo,B],encapsulation:2})}}return t})();function bh(t,o){if(t&1){let e=I();l(0,"button",28),y("click",function(){S(e);let n=c();return x(n.deleteLicense())}),p(1),d(2,"transloco"),s()}t&2&&(r(),D(" ",u(2,1,"common.delete")," "))}function yh(t,o){if(t&1){let e=I();l(0,"input",29,0),y("blur",function(){S(e);let n=V(1),a=c();return x(a.validateLicenseName(n.value))}),Te("ngModelChange",function(n){S(e);let a=c();return we(a.currentLicense.title,n)||(a.currentLicense.title=n),x(n)}),s()}if(t&2){let e=c();_("appAutoFocus",e.isCreateMode)("appAutoFocusSelect",!0),xe("ngModel",e.currentLicense.title)}}function Sh(t,o){t&1&&(p(0),d(1,"transloco")),t&2&&D(" ",u(1,1,"licenses.document_management.subscription.bestcollection_license")," ")}function xh(t,o){if(t&1&&(l(0,"div",15),C(1,Sh,2,3),p(2),s()),t&2){let e=c(),i=e.nautosTitleUtils.isNautosCollectionTitle(e.currentLicense.title),n=i?e.nautosTitleUtils.cutNautosCollectionFromTitle(e.currentLicense.title):e.currentLicense.title;r(),b(i?1:-1),r(),D(" ",n," ")}}function wh(t,o){t&1&&(l(0,"p"),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" ",u(2,1,"common.please_fill_this_field")," "))}function Th(t,o){t&1&&(l(0,"p"),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" ",u(2,1,"licenses.create_license_title_error")," "))}function Eh(t,o){t&1&&(l(0,"p"),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" ",u(2,1,"licenses.detail.create_license_title_blacklisted")," "))}function Dh(t,o){if(t&1&&(l(0,"div",16),C(1,wh,3,3,"p"),C(2,Th,3,3,"p"),C(3,Eh,3,3,"p"),s()),t&2){let e=c();r(),b(!(e.titleControl==null||e.titleControl.errors==null)&&e.titleControl.errors.required?1:-1),r(),b(!(e.titleControl==null||e.titleControl.errors==null)&&e.titleControl.errors.titleConflict?2:-1),r(),b(!(e.titleControl==null||e.titleControl.errors==null)&&e.titleControl.errors.titleBlacklisted?3:-1)}}function Ih(t,o){if(t&1&&(l(0,"p",34),p(1),d(2,"transloco"),s()),t&2){let e=c(3);r(),D(" ",u(2,1,e.simultaneousLicenseValidationMessage)," ")}}function Mh(t,o){if(t&1){let e=I();l(0,"div")(1,"label",32),p(2),d(3,"transloco"),s(),l(4,"input",33),y("ngModelChange",function(n){S(e);let a=c(2);return x(a.validateAccessCount(n))}),Te("ngModelChange",function(n){S(e);let a=c(2);return we(a.simultaneousLicenseAccessCount,n)||(a.simultaneousLicenseAccessCount=n),x(n)}),s(),C(5,Ih,3,3,"p",34),s(),l(6,"div")(7,"div",35)(8,"input",36),y("change",function(){S(e);let n=c(2);return x(n.onSingleLicenseChange())}),s(),l(9,"label",37),p(10),d(11,"transloco"),s()(),l(12,"div",38)(13,"input",39),y("change",function(){S(e);let n=c(2);return x(n.onSingleLicenseChange())}),s(),l(14,"label",40),p(15),d(16,"transloco"),s()()()}if(t&2){let e=c(2);W("not-valid",!!e.simultaneousLicenseValidationMessage),r(2),h(u(3,12,"licenses.detail.accesses")),r(2),xe("ngModel",e.simultaneousLicenseAccessCount),_("disabled",!e.isSimultaneousLicense),r(),b(e.simultaneousLicenseValidationMessage?5:-1),r(3),_("checked",!e.isSingleLicense)("disabled",!e.isSimultaneousLicense),r(2),D(" ",u(11,14,"licenses.detail.for_the_body_of_rules")," "),r(3),_("checked",e.isSingleLicense)("disabled",!e.isSimultaneousLicense),r(2),D(" ",u(16,16,"licenses.detail.for_every_single_document")," ")}}function kh(t,o){if(t&1&&(l(0,"p",46),p(1),d(2,"transloco"),s()),t&2){let e=c(4);r(),D(" ",u(2,1,e.docLimitValidationMessage)," ")}}function Fh(t,o){if(t&1&&(l(0,"p",49),p(1),d(2,"transloco"),s()),t&2){let e=c(4);r(),D(" ",u(2,1,e.docThresholdValidationMessage)," ")}}function Lh(t,o){if(t&1){let e=I();l(0,"div")(1,"label",44),p(2),d(3,"transloco"),s(),l(4,"input",45),y("ngModelChange",function(n){S(e);let a=c(3);return x(a.validateDocLimit(n))}),Te("ngModelChange",function(n){S(e);let a=c(3);return we(a.docLimit,n)||(a.docLimit=n),x(n)}),s(),C(5,kh,3,3,"p",46),s(),l(6,"div")(7,"label",47),p(8),d(9,"transloco"),s(),l(10,"input",48),y("ngModelChange",function(n){S(e);let a=c(3);return x(a.validateDocThreshold(n))}),Te("ngModelChange",function(n){S(e);let a=c(3);return we(a.docThreshold,n)||(a.docThreshold=n),x(n)}),s(),C(11,Fh,3,3,"p",49),s()}if(t&2){let e=c(3);W("not-valid",!!e.docLimitValidationMessage),r(2),h(u(3,12,"licenses.detail.doc_limit")),r(2),xe("ngModel",e.docLimit),_("disabled",!e.isDocLim
1itLicense),r(),b(e.docLimitValidationMessage?5:-1),r(),W("not-valid",!!e.docThresholdValidationMessage),r(2),h(u(9,14,"licenses.detail.doc_threshold")),r(2),xe("ngModel",e.docThreshold),_("disabled",!e.isDocLimitLicense),r(),b(e.docThresholdValidationMessage?11:-1)}}function Ph(t,o){if(t&1){let e=I();l(0,"div",11)(1,"div",41)(2,"app-checkbox",42),y("ngModelChange",function(n){S(e);let a=c(2);return x(a.onIsDocLimitLicenseChange(n))}),Te("ngModelChange",function(n){S(e);let a=c(2);return we(a.isDocLimitLicense,n)||(a.isDocLimitLicense=n),x(n)}),s(),w(3,"app-icon",43),d(4,"transloco"),d(5,"transloco"),s(),C(6,Lh,12,16),s()}if(t&2){let e=c(2);r(2),xe("ngModel",e.isDocLimitLicense),r(),_("ngbTooltip",u(4,4,"licenses.detail.doc_limit_info")),k("aria-label",u(5,6,"licenses.detail.doc_limit_info")),r(3),b(e.isDocLimitLicense?6:-1)}}function Ah(t,o){if(t&1){let e=I();l(0,"section")(1,"h2"),p(2),d(3,"transloco"),s(),l(4,"div",11)(5,"app-checkbox",30),y("ngModelChange",function(n){S(e);let a=c();return x(a.onCanPrintAndSaveChange(n))}),Te("ngModelChange",function(n){S(e);let a=c();return we(a.canSaveAndPrint,n)||(a.canSaveAndPrint=n),x(n)}),s()(),l(6,"div",11)(7,"app-checkbox",31),y("ngModelChange",function(n){S(e);let a=c();return x(a.onIsSimultaneousLicenseChange(n))}),Te("ngModelChange",function(n){S(e);let a=c();return we(a.isSimultaneousLicense,n)||(a.isSimultaneousLicense=n),x(n)}),s(),C(8,Mh,17,18),s(),C(9,Ph,7,8,"div",11),s()}if(t&2){let e=c();r(2),h(u(3,5,"common.rights")),r(3),xe("ngModel",e.canSaveAndPrint),r(2),xe("ngModel",e.isSimultaneousLicense),r(),b(e.isSimultaneousLicense?8:-1),r(),b(e.currentLicense.licenseType===e.licenseType.DOCUMENT&&!e.isReadonlyLicense?9:-1)}}function Nh(t,o){t&1&&(l(0,"p",51),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" ",u(2,1,"licenses.create_license_search_query_error")," "))}function Oh(t,o){if(t&1){let e=I();l(0,"div")(1,"button",50),y("click",function(){S(e);let n=c();return x(n.openSearchModal())}),l(2,"span"),p(3),d(4,"transloco"),s()(),C(5,Nh,3,3,"p",51),s()}if(t&2){let e=c();r(),k("aria-invalid",e.isQueryWarningVisible&&e.currentLicense.licenseType!==e.licenseType.DOCUMENT?"true":null),r(2),D(" ",u(4,3,e.currentLicense.licenseType===e.licenseType.DOCUMENT?"licenses.detail.search_documents":"licenses.detail.edit_search")," "),r(2),b(e.isQueryWarningVisible&&e.currentLicense.licenseType!==e.licenseType.DOCUMENT?5:-1)}}function Rh(t,o){if(t&1&&w(0,"app-search-criteria",55),t&2){let e=c(3);_("inline",!1)("searchRequest",e.searchRequestClone)}}function Bh(t,o){if(t&1&&(l(0,"div",52),w(1,"app-search-criteria",54),T(2,Rh,1,2,"ng-template",null,1,L),s()),t&2){let e=V(3),i=c(2);r(),_("searchRequest",i.searchRequestClone)("inline",!0)("ngbTooltip",e)}}function zh(t,o){t&1&&(l(0,"div",53),w(1,"app-icon",56),l(2,"p"),p(3),d(4,"transloco"),s()()),t&2&&(r(3),h(u(4,1,"licenses.detail.no_search_added_yet")))}function Vh(t,o){if(t&1&&C(0,Bh,4,3,"div",52)(1,zh,5,3,"div",53),t&2){let e=c();b(e.hasSearchCriteria?0:1)}}function qh(t,o){if(t&1){let e=I();l(0,"div",62)(1,"button",63),d(2,"transloco"),d(3,"transloco"),y("click",function(){S(e);let n=c(3);return x(n.unlinkFromLicense())}),w(4,"app-icon",64),s()()}t&2&&(r(),_("ngbTooltip",u(2,2,"licenses.detail.remove_documents")),k("aria-label",u(3,4,"licenses.detail.remove_documents")))}function Uh(t,o){t&1&&T(0,qh,5,6,"ng-template",null,4,L)}function Hh(t,o){if(t&1){let e=I();l(0,"app-pagination",65),y("pageChange",function(n){S(e);let a=c(2);return x(a.onPageChange(n))})("pageSizeChange",function(n){S(e);let a=c(2);return x(a.onPageSizeChange(n))}),s()}if(t&2){c();let e=V(2),i=c();_("collectionSize",i.collectionSize)("page",i.currentPageForDocumentList+1)("pageSize",i.pageSizeForDocumentList)("tableMenu",e)("pageSizeSelectEnabled",!0)}}function $h(t,o){t&1&&(l(0,"div",53),w(1,"app-icon",66),l(2,"p",67),p(3),d(4,"transloco"),s()()),t&2&&(r(3),D(" ",u(4,1,"licenses.document_management.no_documents_assigned")," "))}function jh(t,o){t&1&&(l(0,"div",53),w(1,"app-icon",68),l(2,"p",69),p(3),d(4,"transloco"),s()()),t&2&&(r(3),h(u(4,1,"licenses.document_management.no_documents_found")))}function Gh(t,o){if(t&1){let e=I();l(0,"div",57)(1,"app-table-menu",58,2)(3,"div",59),C(4,Uh,2,0),s()(),C(5,Hh,1,5,"app-pagination",60),s(),l(6,"app-lice
1nse-document-list",61,3),y("sortChanged",function(n){S(e);let a=c();return x(a.onSortChanged(n))})("filterChanged",function(n){S(e);let a=c();return x(a.onFilterChanged(n))})("removeDocumentsFromLicense",function(n){S(e);let a=c();return x(a.onRemoveDocumentsFromLicense(n))}),s(),C(8,$h,5,3,"div",53),C(9,jh,5,3,"div",53)}if(t&2){let e,i=V(7),n=c();r(),_("appTable",i.licenseDocumentListTable)("hasCheckbox",!n.isReadonlyLicense),r(3),b((e=!n.isReadonlyLicense)?4:-1,e),r(),b(n.collectionSize>0?5:-1),r(),_("documents",n.currentLicense.documents)("license",n.currentLicense)("allowRemoval",!n.isReadonlyLicense),r(2),b(((n.searchResult==null?null:n.searchResult.count)??0)===0&&!(!(n.currentLicense==null||n.currentLicense.documents==null)&&n.currentLicense.documents.length)&&!n.checkFilterHasValue?8:-1),r(),b(n.checkFilterHasValue&&n.collectionSize===0?9:-1)}}var jc=(()=>{class t extends na{constructor(){let e=g(Be),i=g(Et),n=g(Kt),a=g(Ke),m=g(Fi),f=g(nt),v=g(Ri),E=g(X),F=g(bt),P=g(De),z=g(yt),q=g(Q),N=g(He),U=g(hn);super(),this._hostedFilePresignedUrlService=g(Ii),this._authService=g(Pe),this._pendingFilesSaved=!1,this.changeDetectorRef=e,this.documentAccessService=i,this.favoritesService=n,this.feedbackService=a,this.groupService=m,this.licenseService=f,this.licenseStateService=v,this.modalService=E,this.route=F,this.router=P,this.searchService=z,this.translocoService=q,this.uiService=N,this.userService=U}ngOnInit(){this.isReadonlyLicense=!1,this.canSaveAndPrint=!0,this.isCreateMode=!0;let e=this.getLicenseTypeFromRoute();this.retrievePresetDocuments(history.state),this.processPresetDocuments(),this.isValidLicenseType(e)?this.currentLicense.licenseType=e:this.redirectToPreviousPage(),this.fetchLicenseNames()}ngOnDestroy(){if(this._presetPendingHostedFiles&&this._presetPendingHostedFiles.length>0&&!this._pendingFilesSaved){let e=this._authService.userInfo;this._hostedFilePresignedUrlService.upsertHostedFiles(this._presetPendingHostedFiles,e,this._presetPendingHostedFiles[0].acCodes[0])}super.ngOnDestroy()}unlinkFromLicense(){let e=this.licenseDocumentList.licenseDocumentListTable.selectedRows,i=e.map(m=>m.item.din21Id),n=e.map(m=>m.item),a={din21Ids:i,unidentifiedDocuments:n,licenseId:this.currentLicense.id};this.onRemoveDocumentsFromLicense(a)}onRemoveDocumentsFromLicense(e){this._deletedPendingHostedFiles=this._presetPendingHostedFiles.filter(i=>e.unidentifiedDocuments.some(n=>n.fileName===i.hostedFile.name&&n.acCode===i.acCodes[0])),this._presetPendingHostedFiles=this._presetPendingHostedFiles.filter(i=>!e.unidentifiedDocuments.some(n=>n.fileName===i.hostedFile.name&&n.acCode===i.acCodes[0])),super.onRemoveDocumentsFromLicense(e),this.loadActualDocumentList(this.currentLicense.din21Ids).subscribe()}loadActualDocumentList(e){return this.uiService.showSpinner(),super.loadActualDocumentList(e).pi
1pe(be(()=>{let i=this.mockPendingHostedFileFulltexts();return this.currentLicense.documents=i.concat(this.currentLicense.documents),this.collectionSize=this.collectionSize+i.length,this.changeDetectorRef.markForCheck(),this.uiService.hideSpinner(),{totalCount:this.collectionSize,fulltexts:this.currentLicense.documents}}))}handleFinalizeLicense(){let e={id:null,title:this.currentLicense.title,description:this.currentLicense.description,createdOn:new Date,rights:this.extractRightInputs(),users:this.currentLicense.users,groups:this.currentLicense.groups,licenseType:this.currentLicense.licenseType};this.currentLicense.licenseType===pe.DOCUMENT?(e.din21Ids=this.currentLicense.din21Ids,e.documentLimit=this.docLimit&&this.docThreshold?{limit:this.docLimit,threshold:this.docThreshold}:null):e.searchForm=this.currentLicense.searchForm,this.licenseService.createLicense(e).subscribe({next:i=>{i!==null&&(e.id=i.id,this.licenseStateService.passNewLicense(e,this.currentLicense.users,this.currentLicense.groups),this.savePendingHostedFiles(i.id),this.router.navigate(["../../"],{relativeTo:this.route}))},error:i=>{i.status===It.CONFLICT?this.titleControl.control.setErrors({titleConflict:!0}):this.feedbackService.showErrorModal()}})}mockPendingHostedFileFulltexts(){let e=[];
1if(!this._presetPendingHostedFiles)return e;for(let i of this._presetPendingHostedFiles){let n={documentNumber:i.documentNumber,publicationDate:i.dateOfIssue,language:i.language,acCode:i.acCodes?.[0]??"",fileName:i.file,url:i.hostedFile.name.includes(".")?i.hostedFile.name.slice(0,i.hostedFile.name.lastIndexOf(".")):i.hostedFile.name,type:i.type,description:i.description,documentType:i.documentType,id:"",fidasKey:"",din21Id:"",edvNr:"",downloadable:!1,subscribable:!1,format:"",isOwnedByUser:!1,createdOn:"",building:"",room:"",cabinet:"",location:"",fileSize:0,isUploadedByUser:!1,updatedOn:"",hostedFileId:"",abos:[]};e.push(n)}return e}getLicenseTypeFromRoute(){return this.route.snapshot.paramMap.get("licenseType")}retrievePresetDocuments(e){let i=e&&Array.isArray(e.files)&&e.files.every(n=>typeof n=="object"&&n!==null)?e:null;i&&(this._presetPendingHostedFiles=i.files.filter(n=>n.isPending&&n.type===Qe.FILE_HOSTED),this._presetFiles=i.files.filter(n=>!n.isPending||n.type!==Qe.FILE_HOSTED))}processPresetDocuments(){if(this._presetFiles&&this._presetFiles.length>0||this._presetPendingHostedFiles&&this._presetPendingHostedFiles.length>0){this.currentLicense.din21Ids=this._presetFiles&&this._presetFiles?.length>0?this._presetFiles.map(n=>n.din21Id):[],this.loadActualDocumentList(this.currentLicense.din21Ids).subscribe();let e=this._presetPendingHostedFiles.concat(this._presetFiles),i=this.buildLicenseNameFromFiles(e);this.setLicenseName(i)}}buildLicenseNameFromFiles(e){let i="";return e&&e.length>0&&e.forEach(n=>{let a=this.buildLicenseNameItems(n);i+=a.join("_")+","}),i}buildLicenseNameItems(e){let i=[];return e.description&&i.push(e.description),e.language&&i.push(e.language.toUpperCase()),e.documentType&&i.push(this.translocoService.translate("search.document_upload."+e.documentType)),i}setLicenseName(e){e&&(this.currentLicense.title=e.slice(0,-1))}isValidLicenseType(e){return Object.values(pe).includes(e)}redirectToPreviousPage(){this.router.navigate(["../../../"],{relativeTo:this.route})}fetchLicenseNames(){this.licenseSubscription=this.licenseService.getLicensesPagedAndFiltered(1,9999,"title",Ue.DESC).pipe(Le(()=>qe)).subscribe(e=>{this.licenseNames=e.items.map(i=>i.title)})}savePendingHostedFiles(e){if(!this._pendingFilesSaved){if(this._presetPendingHostedFiles&&this._presetPendingHostedFiles.length>0){this._presetPendingHostedFiles.forEach(n=>n.licenseIdsToLink=[e]);let i=this._authService.userInfo;this._hostedFilePresignedUrlService.upsertHostedFiles(this._presetPendingHostedFiles,i,this._presetPendingHostedFiles[0].acCodes[0])}if(this._deletedPendingHostedFiles&&this._deletedPendingHostedFiles.length>0){let i=this._authService.userInfo;this._hostedFilePresignedUrlService.upsertHostedFiles(this._deletedPendingHostedFiles,i,this._deletedPendingHostedFiles[0].acCodes[0])}this._pendingFilesSaved=!0}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-license-create"]],features:[to],decls:61,vars:59,consts:[["licenseNameInput","","titleControl","ngModel"],["criteriaTooltip",""],["tableMenu",""],["licenseDocumentList",""],["menuAnimatedButtons",""],[1,"detail-container",3,"focusInvalidInput"],[1,"header",3,"scrollToTopButton"],[1,"buttons"],["data-cy","deleteLicense","type","button",1,"btn-alert"],["data-cy","cancelLicense","type","button",1,"btn-primary-outline",3,"click"],["data-cy","saveLicense","type","button",1,"btn-primary",3,"click"],[1,"content-row"],[1,"license-name"],["for","license-name",1,"mandatory"],["data-cy","licenseName","id","license-name","name","title","type","text",3,"appAutoFocus","appAutoFocusSelect","ngModel"],["data-cy","licenseName",1,"text-bold"],["data-cy","errorMessage",1,"text-alert"],[1,"label-top"],[1,"license-type"],["data-cy","licenseType","id","license-type"],["data-cy","licenseInfo","name","info",1,"icon-clickable",3,"ngbTooltip"],["for","description"],["data-cy","licenseDescription","id","description","name","description",3,"ngModelChange","ngModel"],[1,"search-criterias"],[1,"sub-header-actions"],[3,"count"],[3,"addUser","bulkRemoveUsers","removeUser","users"],[3,"add","bulkRemove","remove","groups"],["data-cy","deleteLicense","type","button",1,"btn-alert",3,"click"],["data-cy","licenseName","id","license-name","name","title","type","text",3,"blur","ngModelChange","appAutoFocus","appAutoFocusSelect","ngModel"],["data-cy","saveAndPrint","label","licenses.detail.save_document","name","saveAndPrint",3,"ngModelChange","ngModel"],["data-cy","simultanLicense","label","licenses.detail.simultan_license","name","simultaneousLicense",3,"ngModelChange","ngModel"],["for","simultaneousAccesses",1,"mandatory"],["data-cy","simultaneousAccesses","id","simultaneousAccesses","name","simultaneousLicenseAccessCount","type","number",1,"input-access-count",3,"ngModelChange","ngModel","disabled"],["data-cy","errorMessageAccesses",1,"text-alert"],["data-cy","simultanCollection",1,"form-check"],["
1id","whole-collection","name","license-type-radio","type","radio",1,"form-check-input",3,"change","checked","disabled"],["for","whole-collection",1,"form-check-label"],["data-cy","simultanEachDocument",1,"form-check"],["id","each-document","name","license-type-radio","type","radio",1,"form-check-input",3,"change","checked","disabled"],["for","each-document",1,"form-check-label"],[1,"doc-limit"],["data-cy","docLimitLicense","label","licenses.detail.doc_limit_license","name","docLimitLicense",3,"ngModelChange","ngModel"],["data-cy","licenseLimitInfo","name","info",1,"icon-clickable",3,"ngbTooltip"],["for","docLimit",1,"mandatory"],["data-cy","docLimit","name","docLimit","id","docLimit","type","number",1,"input-access-count",3,"ngModelChange","ngModel","disabled"],["data-cy","errorMessageLimit",1,"text-alert"],["for","docThreshold",1,"mandatory"],["data-cy","docThreshold","name","docThreshold","id","docThreshold","type","number",1,"input-access-count",3,"ngModelChange","ngModel","disabled"],["data-cy","errorMessageThreshold",1,"text-alert"],["type","button","data-cy","editSearch",1,"btn-primary-outline",3,"click"],["data-cy","errorMessageSearch",1,"text-alert"],[1,"truncate-text"],[1,"no-content"],[3,"searchRequest","inline","ngbTooltip"],[3,"inline","searchRequest"],["sprite","icons-large","name","search-empty-large","data-cy","iconLargeNoSearchResult",1,"icon-inactive"],[1,"container-menu-pagination"],[3,"appTable","hasCheckbox"],["menu",""],["data-cy","pagination",3,"collectionSize","page","pageSize","tableMenu","pageSizeSelectEnabled"],["data-cy","documentTable",3,"sortChanged","filterChanged","removeDocumentsFromLicense","documents","license","allowRemoval"],[1,"btn-group"],["type","button","data-cy","unlinkDocuments",1,"btn-menu-static",3,"click","ngbTooltip"],["name","cross"],["data-cy","pagination",3,"pageChange","pageSizeChange","collectionSize","page","pageSize","tableMenu","pageSizeSelectEnabled"],["sprite","icons-large","name","documents-empty-large","data-cy","iconNoFoundDocuments",1,"icon-inactive"],["data-cy","textNoFoundDocuments"],["data-cy","iconNoDocuments","name","documents-empty-large","sprite","icons-large",1,"icon-inactive"],["data-cy","textNoDocuments"]],template:function(i,n){i&1&&(l(0,"form",5)(1,"div",6)(2,"h1"),p(3),d(4,"transloco"),d(5,"transloco"),s(),l(6,"div",7),C(7,bh,3,3,"button",8),l(8,"button",9),y("click",function(){return n.onCancel()}),p(9),d(10,"transloco"),s(),l(11,"button",10),y("click",function(){return n.onSave()}),p(12),d(13,"transloco"),s()()(),l(14,"section")(15,"h2"),p(16),d(17,"transloco"),s(),l(18,"div",11)(19,"div",12)(20,"label",13),p(21),d(22,"transloco"),s(),C(23,yh,3,3,"input",14)(24,xh,3,2,"div",15),C(25,Dh,4,3,"div",16),s(),l(26,"div")(27,"p",17),p(28),d(29,"transloco"),s(),l(30,"div",18)(31,"span",19),p(32),d(33,"licenseDetailsType"),d(34,"transloco"),s(),w(35,"app-icon",20),d(36,"licenseDetailsType"),d(37,"transloco"),d(38,"licenseDetailsType"),d(39,"transloco"),s()()(),l(40,"div",11)(41,"div")(42,"label",21),p(43),d(44,"transloco"),s(),l(45,"textarea",22),Te("ngModelChange",function(m){return we(n.currentLicense.description,m)||(n.currentLicense.description=m),m}),p(46,"                "),s()()()(),C(47,Ah,10,7,"section"),l(48,"section",23)(49,"div",24)(50,"div")(51,"h2"),p(52),d(53,"transloco"),d(54,"transloco"),s(),w(55,"app-record-count",25),s(),C(56,Oh,6,5,"div"),s(),C(57,Vh,2,1),C(58,Gh,10,9),s(),l(59,"app-add-users",26),y("addUser",function(){return n.onAddNewMember()})("bulkRemoveUsers",function(m){return n.unlinkUserMembers(m)})("removeUser",function(m){return n.unlinkUserMember(m)}),s(),l(60,"app-add-groups",27),y("add",function(){return n.onAddNewMember()})("bulkRemove",function(m){return n.unlinkGroupMembers(m)})("remove",function(m){return n.unlinkGroupMember(m)}),s()()),i&2&&(_("focusInvalidInput",!0),r(),_("scrollToTopButton",!0),r(2),D(" ",n.isCreateMode?u(4,24,"licenses.create_license"):u(5,26,"licenses.detail.edit_license")," "),r(4),b(!n.isCreateMode&&!n.isReadonlyLicense?7:-1),r(2),D(" ",u(10,28,"common.cancel")," "),r(3),D(" ",u(13,30,"common.save")," "),r(4),h(u(17,32,"common.properties")),r(5),h(u(22,34,"licenses.detail.name")),r(2),b(n.isReadonlyLicense?24:23),r(2),b(!n.isReadonlyLicense&&(n.titleControl!=null&&n.titleControl.invalid)?25:-1),r(3),h(u(29,36,"licenses.detail.type")),r(4),D(" ",u(34,41,J(33,38,n.currentLicense.licenseType,!1))," "),r(3),_("ngbTooltip",u(37,46,J(36,43,n.currentLicense.licenseType,!0))),k("aria-label",u(39,51,J(38,48,n.currentLicense.licenseType,!0))),r(8),h(u(44,53,"common.description")),r(2),xe("ngModel",n.currentLicense.description),r(2),b(n.currentLicense.licenseType!==n.licenseType.METADATA?47:-1),r(5),D(" ",n.currentLicense.licenseType===n.licenseType.DOCUMENT||n.isReadonlyLicense?u(53,55,"licenses.detail.existing_documents"):u(54,57,"licenses.detail.search_query")," "),r(3),_("count",n.foundCount),r(),b(n.isReadonlyLicense?-1:56),r(),b(n.currentLicense.licenseType!==n.licenseType.DOCUMENT?57:-1),r(),b(n.currentLicense.licenseType===n.licenseType.DOCUMENT?58:-1),r(),_("users",n.currentLicense==null?null:n.currentLicense.users),r(),_("groups",n.currentLicense.groups))},dependencies:[xo,wo,Dt,Co,Qt,Ze,Ye,go,fe,Ie,Wt,un,G,ra,kt,te,Pt,St,ki,xn,oe,Lt,$,pi,oa,B],styles:[".content-row[_ngcontent-%COMP%]{display:flex;gap:var(--spacer);flex-wrap:wrap;margin-bottom:var(--spacer);max-width:50rem}.content-row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1}@media(width<=75rem){.content-row[_ngcontent-%COMP%]{flex:45%}}@media(width<=36rem){.content-row[_ngcontent-%COMP%]{flex-direction:column;width:100%}}
1.content-row[_ngcontent-%COMP%]   .license-name[_ngcontent-%COMP%]{position:relative}.content-row[_ngcontent-%COMP%]   .license-type[_ngcontent-%COMP%]{align-items:center;display:flex;gap:calc(var(--spacer) / 2)}.content-row[_ngcontent-%COMP%]   .doc-limit[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:calc(var(--spacer) / 2);align-self:flex-start;flex:0 0 auto}app-add-users[_ngcontent-%COMP%], section[_ngcontent-%COMP%]:not(:last-child){border-bottom:var(--border);padding-bottom:var(--spacer)}.text-alert[_ngcontent-%COMP%]{position:static}.btn-primary-outline[aria-invalid=true][_ngcontent-%COMP%]{border:1px solid var(--color-alert)}.search-criterias[_ngcontent-%COMP%]{max-width:100%}"]})}}return t})();function Kh(t,o){if(t&1){let e=I();l(0,"button",28),y("click",function(){S(e);let n=c();return x(n.deleteLicense())}),p(1),d(2,"transloco"),s()}t&2&&(r(),D(" ",u(2,1,"common.delete")," "))}function Wh(t,o){if(t&1){let e=I();l(0,"input",29,0),y("blur",function(){S(e);let n=V(1),a=c();return x(a.validateLicenseName(n.value))}),Te("ngModelChange",function(n){S(e);let a=c();return we(a.currentLicense.title,n)||(a.currentLicense.title=n),x(n)}),s()}if(t&2){let e=c();_("appAutoFocus",e.isCreateMode)("appAutoFocusSelect",!0),xe("ngModel",e.currentLicense.title)}}function Qh(t,o){t&1&&(p(0),d(1,"transloco")),t&2&&D(" ",u(1,1,"licenses.document_management.subscription.bestcollection_license")," ")}function Yh(t,o){if(t&1&&(l(0,"div",15),C(1,Qh,2,3),p(2),s()),t&2){let e=c(),i=e.nautosTitleUtils.isNautosCollectionTitle(e.currentLicense.title),n=i?e.nautosTitleUtils.cutNautosCollectionFromTitle(e.currentLicense.title):e.currentLicense.title;r(),b(i?1:-1),r(),D(" ",n," ")}}function Zh(t,o){t&1&&(l(0,"p"),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" ",u(2,1,"common.please_fill_this_field")," "))}function Jh(t,o){t&1&&(l(0,"p"),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" ",u(2,1,"licenses.create_license_title_error")," "))}function Xh(t,o){t&1&&(l(0,"p"),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" ",u(2,1,"licenses.detail.create_license_title_blacklisted")," "))}function ef(t,o){if(t&1&&(l(0,"div",16),C(1,Zh,3,3,"p"),C(2,Jh,3,3,"p"),C(3,Xh,3,3,"p"),s()),t&2){let e=c();r(),b(!(e.titleControl==null||e.titleControl.errors==null)&&e.titleControl.errors.required?1:-1),r(),b(!(e.titleControl==null||e.titleControl.errors==null)&&e.titleControl.errors.titleConflict?2:-1),r(),b(!(e.titleControl==null||e.titleControl.errors==null)&&e.titleControl.errors.titleBlacklisted?3:-1)}}function tf(t,o){if(t&1&&(l(0,"p",34),p(1),d(2,"transloco"),s()),t&2){let e=c(3);r(),D(" ",u(2,1,e.simultaneousLicenseValidationMessage)," ")}}function nf(t,o){if(t&1){let e=I();l(0,"div")(1,"label",32),p(2),d(3,"transloco"),s(),l(4,"input",33),y("ngModelChange",function(n){S(e);let a=c(2);return x(a.validateAccessCount(n))}),Te("ngModelChange",function(n){S(e);let a=c(2);return we(a.simultaneousLicenseAccessCount,n)||(a.simultaneousLicenseAccessCount=n),x(n)}),s(),C(5,tf,3,3,"p",34),s(),l(6,"div")(7,"div",35)(8,"input",36),y("change",function(){S(e);let n=c(2);return x(n.onSingleLicenseChange())}),s(),l(9,"label",37),p(10),d(11,"transloco"),s()(),l(12,"div",38)(13,"input",39),y("change",function(){S(e);let n=c(2);return x(n.onSingleLicenseChange())}),s(),l(14,"label",40),p(15),d(16,"transloco"),s()()()}if(t&2){let e=c(2);W("not-valid",!!e.simultaneousLicenseValidationMessage),r(2),h(u(3,12,"licenses.detail.accesses")),r(2),xe("ngModel",e.simultaneousLicenseAccessCount),_("disabled",!e.isSimultaneousLicense),r(),b(e.simultaneousLicenseValidationMessage?5:-1),r(3),_("checked",!e.isSingleLicense)("disabled",!e.isSimultaneousLicense),r(2),D(" ",u(11,14,"licenses.detail.for_the_body_of_rules")," "),r(3),_("checked",e.isSingleLicense)("disabled",!e.isSimultaneousLicense),r(2),D(" ",u(16,16,"licenses.detail.for_every_single_document")," ")}}function of(t,o){if(t&1&&(l(0,"p",46),p(1),d(2,"transloco"),s()),t&2){let e=c(4);r(),D(" ",u(2,1,e.docLimitValidationMessage)," ")}}function af(t,o){if(t&1&&(l(0,"p",49),p(1),d(2,"transloco"),s()),t&2){let e=c(4);r(),D(" ",u(2,1,e.docThresholdValidationMessage)," ")}}
1function rf(t,o){if(t&1){let e=I();l(0,"div")(1,"label",44),p(2),d(3,"transloco"),s(),l(4,"input",45),y("ngModelChange",function(n){S(e);let a=c(3);return x(a.validateDocLimit(n))}),Te("ngModelChange",function(n){S(e);let a=c(3);return we(a.docLimit,n)||(a.docLimit=n),x(n)}),s(),C(5,of,3,3,"p",46),s(),l(6,"div")(7,"label",47),p(8),d(9,"transloco"),s(),l(10,"input",48),y("ngModelChange",function(n){S(e);let a=c(3);return x(a.validateDocThreshold(n))}),Te("ngModelChange",function(n){S(e);let a=c(3);return we(a.docThreshold,n)||(a.docThreshold=n),x(n)}),s(),C(11,af,3,3,"p",49),s()}if(t&2){let e=c(3);W("not-valid",!!e.docLimitValidationMessage),r(2),h(u(3,12,"licenses.detail.doc_limit")),r(2),xe("ngModel",e.docLimit),_("disabled",!e.isDocLimitLicense),r(),b(e.docLimitValidationMessage?5:-1),r(),W("not-valid",!!e.docThresholdValidationMessage),r(2),h(u(9,14,"licenses.detail.doc_threshold")),r(2),xe("ngModel",e.docThreshold),_("disabled",!e.isDocLimitLicense),r(),b(e.docThresholdValidationMessage?11:-1)}}function sf(t,o){if(t&1){let e=I();l(0,"div",11)(1,"div",41)(2,"app-checkbox",42),y("ngModelChange",function(n){S(e);let a=c(2);return x(a.onIsDocLimitLicenseChange(n))}),Te("ngModelChange",function(n){S(e);let a=c(2);return we(a.isDocLimitLicense,n)||(a.isDocLimitLicense=n),x(n)}),s(),w(3,"app-icon",43),d(4,"transloco"),d(5,"transloco"),s(),C(6,rf,12,16),s()}if(t&2){let e=c(2);r(2),xe("ngModel",e.isDocLimitLicense),r(),_("ngbTooltip",u(4,4,"licenses.detail.doc_limit_info")),k("aria-label",u(5,6,"licenses.detail.doc_limit_info")),r(3),b(e.isDocLimitLicense?6:-1)}}function lf(t,o){if(t&1){let e=I();l(0,"section")(1,"h2"),p(2),d(3,"transloco"),s(),l(4,"div",11)(5,"app-checkbox",30),y("ngModelChange",function(n){S(e);let a=c();return x(a.onCanPrintAndSaveChange(n))}),Te("ngModelChange",function(n){S(e);let a=c();return we(a.canSaveAndPrint,n)||(a.canSaveAndPrint=n),x(n)}),s()(),l(6,"div",11)(7,"app-checkbox",31),y("ngModelChange",function(n){S(e);let a=c();return x(a.onIsSimultaneousLicenseChange(n))}),Te("ngModelChange",function(n){S(e);let a=c();return we(a.isSimultaneousLicense,n)||(a.isSimultaneousLicense=n),x(n)}),s(),C(8,nf,17,18),s(),C(9,sf,7,8,"div",11),s()}if(t&2){let e=c();r(2),h(u(3,5,"common.rights")),r(3),xe("ngModel",e.canSaveAndPrint),r(2),xe("ngModel",e.isSimultaneousLicense),r(),b(e.isSimultaneousLicense?8:-1),r(),b(e.currentLicense.licenseType===e.licenseType.DOCUMENT&&!e.isReadonlyLicense?9:-1)}}function cf(t,o){t&1&&(l(0,"p",51),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" ",u(2,1,"licenses.create_license_search_query_error")," "))}function df(t,o){if(t&1){let e=I();l(0,"div")(1,"button",50),y("click",function(){S(e);let n=c();return x(n.openSearchModal())}),l(2,"span"),p(3),d(4,"transloco"),s()(),C(5,cf,3,3,"p",51),s()}if(t&2){let e=c();r(),k("aria-invalid",e.isQueryWarningVisible&&e.currentLicense.licenseType!==e.licenseType.DOCUMENT?"true":null),r(2),D(" ",u(4,3,e.currentLicense.licenseType===e.licenseType.DOCUMENT?"licenses.detail.search_documents":"licenses.detail.edit_search")," "),r(2),b(e.isQueryWarningVisible&&e.currentLicense.licenseType!==e.licenseType.DOCUMENT?5:-1)}}function pf(t,o){if(t&1&&w(0,"app-search-criteria",55),t&2){let e=c(3);_("inline",!1)("searchRequest",e.searchRequestClone)}}function mf(t,o){if(t&1&&(l(0,"div",52),w(1,"app-search-criteria",54),T(2,pf,1,2,"ng-template",null,1,L),s()),t&2){let e=V(3),i=c(2);r(),_("searchRequest",i.searchRequestClone)("inline",!0)("ngbTooltip",e)}}function uf(t,o){t&1&&(l(0,"div",53),w(1,"app-icon",56),l(2,"p"),p(3),d(4,"transloco"),s()()),t&2&&(r(3),h(u(4,1,"licenses.detail.no_search_added_yet")))}function _f(t,o){if(t&1&&C(0,mf,4,3,"div",52)(1,uf,5,3,"div",53),t&2){let e=c();b(e.hasSearchCriteria?0:1)}}function hf(t,o){if(t&1){let e=I();l(0,"div",62)(1,"button",63),d(2,"transloco"),d(3,"transloco"),y("click",function(){S(e);let n=c(3);return x(n.unlinkFromLicense())}),w(4,"app-icon",64),s()()}t&2&&(r(),_("ngbTooltip",u(2,2,"licenses.detail.remove_documents")),k("aria-label",u(3,4,"licenses.detail.remove_documents")))}function ff(t,o){t&1&&T(0,hf,5,6,"ng-template",null,4,L)}
1function gf(t,o){if(t&1){let e=I();l(0,"app-pagination",65),y("pageChange",function(n){S(e);let a=c(2);return x(a.onPageChange(n))})("pageSizeChange",function(n){S(e);let a=c(2);return x(a.onPageSizeChange(n))}),s()}if(t&2){c();let e=V(2),i=c();_("collectionSize",i.collectionSize)("page",i.currentPageForDocumentList+1)("pageSize",i.pageSizeForDocumentList)("tableMenu",e)("pageSizeSelectEnabled",!0)}}function vf(t,o){t&1&&(l(0,"div",53),w(1,"app-icon",66),l(2,"p",67),p(3),d(4,"transloco"),s()()),t&2&&(r(3),D(" ",u(4,1,"licenses.document_management.no_documents_assigned")," "))}function Cf(t,o){t&1&&(l(0,"div",53),w(1,"app-icon",68),l(2,"p",69),p(3),d(4,"transloco"),s()()),t&2&&(r(3),h(u(4,1,"licenses.document_management.no_documents_found")))}function bf(t,o){if(t&1){let e=I();l(0,"div",57)(1,"app-table-menu",58,2)(3,"div",59),C(4,ff,2,0),s()(),C(5,gf,1,5,"app-pagination",60),s(),l(6,"app-license-document-list",61,3),y("sortChanged",function(n){S(e);let a=c();return x(a.onSortChanged(n))})("filterChanged",function(n){S(e);let a=c();return x(a.onFilterChanged(n))})("removeDocumentsFromLicense",function(n){S(e);let a=c();return x(a.onRemoveDocumentsFromLicense(n))}),s(),C(8,vf,5,3,"div",53),C(9,Cf,5,3,"div",53)}if(t&2){let e,i=V(7),n=c();r(),_("appTable",i.licenseDocumentListTable)("hasCheckbox",!n.isReadonlyLicense),r(3),b((e=!n.isReadonlyLicense)?4:-1,e),r(),b(n.collectionSize>0?5:-1),r(),_("documents",n.currentLicense.documents)("license",n.currentLicense)("allowRemoval",!n.isReadonlyLicense),r(2),b(((n.searchResult==null?null:n.searchResult.count)??0)===0&&!(!(n.currentLicense==null||n.currentLicense.documents==null)&&n.currentLicense.documents.length)&&!n.checkFilterHasValue?8:-1),r(),b(n.checkFilterHasValue&&n.collectionSize===0?9:-1)}}var Gc=(()=>{class t extends na{ngOnInit(){this.isCreateMode=!1,this.getCurrentLicense(),this.licenseService.getLicensesPagedAndFiltered(1,9999,"title",Ue.DESC).pipe(Le(()=>qe)).subscribe(e=>{this.licenseNames=e.items.map(i=>i.title)})}handleFinalizeLicense(){let e={id:void 0,searchForm:void 0,din21Ids:void 0,documentLimit:void 0,title:this.currentLicense.title,description:this.currentLicense.description,users:this.currentLicense.users,groups:this.currentLicense.groups,rights:this.extractRightInputs(),createdOn:new Date,licenseType:this.currentLicense.licenseType};this.currentLicense.licenseType===pe.DOCUMENT?(e.din21Ids=this.currentLicense.din21Ids,e.documentLimit=this.docLimit&&this.docThreshold?{limit:this.docLimit,threshold:this.docThreshold}:null):e.searchForm=this.currentLicense.searchForm,this.licenseService.changeLicense(e,this.currentLicense.id,this.addedDin21Ids,this.removedDin21Ids).subscribe({next:()=>{this.licenseStateService.passChangedLicense(e,this.currentLicense.id,this.currentLicense.users,this.currentLicense.groups,this.currentLicense.createdOn),this.router.navigate(["../../"],{relativeTo:this.route})},error:()=>{this.feedbackService.showErrorModal()}})}getCurrentLicense(){this.uiService.showSpinner(),this.route.paramMap.subscribe(e=>{let i=e.get("id");i&&(this.licenseSubscription=this.licenseService.getLicenseDetailById(i).subscribe(n=>{n&&(ia(n.title)?(n.isReadonlyLicense=!0,this.isReadonlyLicense=!0):this.isReadonlyLicense=!1,this.currentLicense=n,this.setupGroupNameLocalization(),this.originalLicenseTitle=n.title,n.din21Ids=n.din21Ids.filter(a=>!!a),this.isDocLimitLicense=!!n.documentLimit,this.docLimit=n.documentLimit?.limit,this.docThreshold=n.documentLimit?.threshold,n.rights.forEach(a=>{this.processLicenseRight(a)}),this.loadLicenseDetails(n),this.hideSpinner()),n||this.router.navigate(["../../../"],{relativeTo:this.route})}))})}processLicenseRight(e){e.rightName.toLowerCase()===this.licenseRights.DOCUMENT_OPEN?(this.canOpen=!0,this.openAccessCount=e.accessCount):e.rightName.toLowerCase()===this.licenseRights.DOCUMENT_SIMULTAN_SINGLE_DOCUMENTS?(this.isSimultaneousLicense=!0,this.isSingleLicense=!0,this.simultaneousLicenseAccessCount=e.accessCount):e.rightName.toLowerCase()===this.licenseRights.DOCUMENT_SIMULTAN_COLLECTION?(this.isSimultaneousLicense=!0,this.isSingleLicense=!1,this.simultaneousLicenseAccessCount=e.accessCount):e.rightName.toLowerCase()===this.licenseRights.DOCUMENT_SAVE?this.canSaveAndPrint=!0:e.rightName.toLowerCase()===this.licenseRights.DOCUMENT_PRINT?this.canSaveAndPrint=!0:e.rightName.toLowerCase()===this.licenseRights.METADATA_VIEW&&(this.showInHitlist=!0)}loadLicenseDetails(e){e.licenseType===pe.DOCUMENT&&(this.loadActualDocumentList(e.din21Ids).subscribe(),this.pageSizeForSearch=25),e.searchForm&&(e.searchForm.favoritesFolders?.length>0&&this.getFavoriteFolderNames(e.searchForm,Bn.favoritesFoldersKey),e.searchForm.notesFolders?.length>0&&this.getFavoriteFolderNames(e.searchForm,Bn.notesFoldersKey),e.searchForm.modifiedBy?.length>0&&this.getUserNames(e.searchForm,Bn.modifiedBy),e.searchForm.documentOwners?.length>0?this.getUserNames(e.searchForm,Bn.documentOwners):this.setSearchRequest(e.searchForm))}getFavoriteFolderNames(e,i){let n=e[i].map(a=>this.favoritesService.getFavoritesFolderName(a.id));_i(n).subscribe(a=>{a&&(e[i]=a,this.setSearchRequest(e))})}getUserNames(e,i){let n=e[i].map(a=>this.userService.getUserChipInput(a.id));_i(n).subscribe(a=>{a&&(e[i]=a,this.setSearchRequest(e))})}setSearchRequest(e){this.currentSearchRequest=e,this.currentSearchRequestClone=ae.cloneDeep(this.currentSearchRequest),this.isQueryEmpty=!1,this.initFoundCountOnOpen()}
1initFoundCountOnOpen(){if(this.currentLicense?.licenseType===pe.DOCUMENT){let n=this.currentLicense?.din21Ids||[];n.length?this.loadActualDocumentList(n).subscribe():this.collectionSize=0;return}if(!(this.currentSearchRequest&&Object.keys(this.currentSearchRequest).length>0)){this.searchResult=this.emptySearchResult;return}this.uiService.showSpinner(),this.searchService.search(this.currentSearchRequest,1,1,void 0,void 0,!0).subscribe({next:n=>{this.searchResult={count:n?.count??0,searchResult:[]},this.uiService.hideSpinner(),this.changeDetectorRef.markForCheck?.()},error:()=>{this.searchResult=this.emptySearchResult,this.uiService.hideSpinner(),this.changeDetectorRef.markForCheck?.()}})}static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=Er(t)))(n||t)}})()}static{this.\u0275cmp=A({type:t,selectors:[["app-license-edit"]],features:[to],decls:61,vars:59,consts:[["licenseNameInput","","titleControl","ngModel"],["criteriaTooltip",""],["tableMenu",""],["licenseDocumentList",""],["menuAnimatedButtons",""],[1,"detail-container",3,"focusInvalidInput"],[1,"header",3,"scrollToTopButton"],[1,"buttons"],["data-cy","deleteLicense","type","button",1,"btn-alert"],["data-cy","cancelLicense","type","button",1,"btn-primary-outline",3,"click"],["data-cy","saveLicense","type","button",1,"btn-primary",3,"click"],[1,"content-row"],[1,"license-name"],["for","license-name",1,"mandatory"],["data-cy","licenseName","id","license-name","name","title","type","text",3,"appAutoFocus","appAutoFocusSelect","ngModel"],["data-cy","licenseName",1,"text-bold"],["data-cy","errorMessage",1,"text-alert"],[1,"label-top"],[1,"license-type"],["data-cy","licenseType","id","license-type"],["data-cy","licenseInfo","name","info",1,"icon-clickable",3,"ngbTooltip"],["for","description"],["data-cy","licenseDescription","id","description","name","description",3,"ngModelChange","ngModel"],[1,"search-criterias"],[1,"sub-header-actions"],[3,"count"],[3,"addUser","bulkRemoveUsers","removeUser","users"],[3,"add","bulkRemove","remove","groups"],["data-cy","deleteLicense","type","button",1,"btn-alert",3,"click"],["data-cy","licenseName","id","license-name","name","title","type","text",3,"blur","ngModelChange","appAutoFocus","appAutoFocusSelect","ngModel"],["data-cy","saveAndPrint","label","licenses.detail.save_document","name","saveAndPrint",3,"ngModelChange","ngModel"],["data-cy","simultanLicense","label","licenses.detail.simultan_license","name","simultaneousLicense",3,"ngModelChange","ngModel"],["for","simultaneousAccesses",1,"mandatory"],["data-cy","simultaneousAccesses","id","simultaneousAccesses","name","simultaneousLicenseAccessCount","type","number",1,"input-access-count",3,"ngModelChange","ngModel","disabled"],["data-cy","errorMessageAccesses",1,"text-alert"],["data-cy","simultanCollection",1,"form-check"],["id","whole-collection","name","license-type-radio","type","radio",1,"form-check-input",3,"change","checked","disabled"],["for","whole-collection",1,"form-check-label"],["data-cy","simultanEachDocument",1,"form-check"],["id","each-document","name","license-type-radio","type","radio",1,"form-check-input",3,"change","checked","disabled"],["for","each-document",1,"form-check-label"],[1,"doc-limit"],["data-cy","docLimitLicense","label","licenses.detail.doc_limit_license","name","docLimitLicense",3,"ngModelChange","ngModel"],["data-cy","licenseLimitInfo","name","info",1,"icon-clickable",3,"ngbTooltip"],["for","docLimit",1,"mandatory"],["data-cy","docLimit","name","docLimit","id","docLimit","type","number",1,"input-access-count",3,"ngModelChange","ngModel","disabled"],["data-cy","errorMessageLimit",1,"text-alert"],["for","docThreshold",1,"mandatory"],["data-cy","docThreshold","name","docThreshold","id","docThreshold","type","number",1,"input-access-count",3,"ngModelChange","ngModel","disabled"],["data-cy","errorMessageThreshold",1,"text-alert"],["type","button","data-cy","editSearch",1,"btn-primary-outline",3,"click"],["data-cy","errorMessageSearch",1,"text-alert"],[1,"truncate-text"],[1,"no-content"],[3,"searchRequest","inline","ngbTooltip"],[3,"inline","searchRequest"],["sprite","icons-large","name","search-empty-large","data-cy","iconLargeNoSearchResult",1,"icon-inactive"],[1,"container-menu-pagination"],[3,"appTable","hasCheckbox"],["menu",""],["data-cy","pagination",3,"collectionSize","page","pageSize","tableMenu","pageSizeSelectEnabled"],["data-cy","documentTable",3,"sortChanged","filterChanged","removeDocumentsFromLicense","documents","license","allowRemoval"],[1,"btn-group"],["type","button","data-cy","unlinkDocuments",1,"btn-menu-static",3,"click","ngbTooltip"],["name","cross"],["data-cy","pagination",3,"pageChange","pageSizeChange","collectionSize","page","pageSize","tableMenu","pageSizeSelectEnabled"],["sprite","icons-large","name","documents-empty-large","data-cy","iconNoFoundDocuments",1,"icon-inactive"],["data-cy","textNoFoundDocuments"],["data-cy","iconNoDocuments","name","documents-empty-large","sprite","icons-large",1,"icon-inactive"],["data-cy","textNoDocuments"]],template:function(i,n){i&1&&(l(0,"form",5)(1,"div",6)(2,"h1"),p(3),d(4,"transloco"),d(5,"transloco"),s(),l(6,"div",7),C(7,Kh,3,3,"button",8),l(8,"button",9),y("click",function(){return n.onCancel()}),p(9),d(10,"transloco"),s(),l(11,"button",10),y("click",function(){return n.onSave()}),p(12),d(13,"transloco"),s()()(),l(14,"section")(15,"h2"),p(16),d(17,"transloco"),s(),l(18,"div",11)(19,"div",12)(20,"label",13),p(21),d(22,"transloco"),s(),C(23,Wh,3,3,"input",14)(24,Yh,3,2,"div",15),C(25,ef,4,3,"div",16),s(),l(26,"div")(27,"p",17),p(28),d(29,"transloco"),s(),l(30,"div",18)(31,"span",19),p(32),d(33,"licenseDetailsType"),d(34,"transloco"),s(),w(35,"app-icon",20),d(36,"licenseDetailsType"),d(37,"transloco"),d(38,"licenseDetailsType"),d(39,"transloco"),s()()(),l(40,"div",11)(41,"div")(42,"label",21),p(43),d(44,"transloco"),s(),l(45,"textarea",22),Te("ngModelChange",function(m){return we(n.currentLicense.description,m)||(n.currentLicense.description=m),m}),p(46,"                "),s()()()(),C(47,lf,10,7,"section"),l(48,"section",23)(49,"div",24)(50,"div")(51,"h2"),p(52),d(53,"transloco"),d(54,"transloco"),s(),w(55,"app-record-count",25),s(),C(56,df,6,5,"div"),s(),C(57,_f,2,1),C(58,bf,10,9),s(),l(59,"app-add-users",26),y("addUser",function(){return n.onAddNewMember()})("bulkRemoveUsers",function(m){return n.unlinkUserMembers(m)})("removeUser",function(m){return n.unlinkUserMember(m)}
1),s(),l(60,"app-add-groups",27),y("add",function(){return n.onAddNewMember()})("bulkRemove",function(m){return n.unlinkGroupMembers(m)})("remove",function(m){return n.unlinkGroupMember(m)}),s()()),i&2&&(_("focusInvalidInput",!0),r(),_("scrollToTopButton",!0),r(2),D(" ",n.isCreateMode?u(4,24,"licenses.create_license"):u(5,26,"licenses.detail.edit_license")," "),r(4),b(!n.isCreateMode&&!n.isReadonlyLicense?7:-1),r(2),D(" ",u(10,28,"common.cancel")," "),r(3),D(" ",u(13,30,"common.save")," "),r(4),h(u(17,32,"common.properties")),r(5),h(u(22,34,"licenses.detail.name")),r(2),b(n.isReadonlyLicense?24:23),r(2),b(!n.isReadonlyLicense&&(n.titleControl!=null&&n.titleControl.invalid)?25:-1),r(3),h(u(29,36,"licenses.detail.type")),r(4),D(" ",u(34,41,J(33,38,n.currentLicense.licenseType,!1))," "),r(3),_("ngbTooltip",u(37,46,J(36,43,n.currentLicense.licenseType,!0))),k("aria-label",u(39,51,J(38,48,n.currentLicense.licenseType,!0))),r(8),h(u(44,53,"common.description")),r(2),xe("ngModel",n.currentLicense.description),r(2),b(n.currentLicense.licenseType!==n.licenseType.METADATA?47:-1),r(5),D(" ",n.currentLicense.licenseType===n.licenseType.DOCUMENT||n.isReadonlyLicense?u(53,55,"licenses.detail.existing_documents"):u(54,57,"licenses.detail.search_query")," "),r(3),_("count",n.foundCount),r(),b(n.isReadonlyLicense?-1:56),r(),b(n.currentLicense.licenseType!==n.licenseType.DOCUMENT?57:-1),r(),b(n.currentLicense.licenseType===n.licenseType.DOCUMENT?58:-1),r(),_("users",n.currentLicense==null?null:n.currentLicense.users),r(),_("groups",n.currentLicense.groups))},dependencies:[xo,wo,Dt,Co,Qt,Ze,Ye,go,fe,Ie,Wt,un,G,ra,kt,te,Pt,St,ki,xn,oe,Lt,$,pi,oa,B],styles:[".content-row[_ngcontent-%COMP%]{display:flex;gap:var(--spacer);flex-wrap:wrap;margin-bottom:var(--spacer);max-width:50rem}.content-row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1}@media(width<=75rem){.content-row[_ngcontent-%COMP%]{flex:45%}}@media(width<=36rem){.content-row[_ngcontent-%COMP%]{flex-direction:column;width:100%}}.content-row[_ngcontent-%COMP%]   .license-name[_ngcontent-%COMP%]{position:relative}.content-row[_ngcontent-%COMP%]   .license-type[_ngcontent-%COMP%]{align-items:center;display:flex;gap:calc(var(--spacer) / 2)}.content-row[_ngcontent-%COMP%]   .doc-limit[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:calc(var(--spacer) / 2);align-self:flex-start;flex:0 0 auto}app-add-users[_ngcontent-%COMP%], section[_ngcontent-%COMP%]:not(:last-child){border-bottom:var(--border);padding-bottom:var(--spacer)}.text-alert[_ngcontent-%COMP%]{position:static}.btn-primary-outline[aria-invalid=true][_ngcontent-%COMP%]{border:1px solid var(--color-alert)}.search-criterias[_ngcontent-%COMP%]{max-width:100%}"]})}}return t})();var sa=(()=>{class t{transform(e){switch(e){case pe.DOCUMENT:return"licenses.document_license";case pe.COLLECTION:return"licenses.collection_license";case pe.METADATA:return"licenses.metadata_license"}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=Ht({name:"licenseListBox",type:t,pure:!0})}}return t})();var Kc=(()=>{class t{validate(e){return this.allLicenseTitles.includes(e.value?.trim())?{titleValid:{valid:!1}}:null}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=eo({type:t,selectors:[["","duplicateLicenseTitle",""]],inputs:{allLicenseTitles:[0,"duplicateLicenseTitle","allLicenseTitles"]},features:[ao([{provide:hs,useExisting:t,multi:!0}])]})}}return t})();function yf(t,o){t&1&&(l(0,"p",5),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" ",u(2,1,"licenses.create_license_title_error")," "))}function Sf(t,o){t&1&&(l(0,"p",5),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" ",u(2,1,"common.please_fill_this_field")," "))}var Wc=(()=>{class t{constructor(){this.modalService=g(X),this._licenseService=g(nt),this._componentActive=!0}onEnter(e){this.licenseTitle.valid||e.preventDefault()}ngOnInit(){this.licenseToDuplicate.title=this.licenseToDuplicate.title+" (1)"}ngOnDestroy(){this._componentActive=!1}onSave(){this._licenseService.cloneLicense(this.licenseToDuplicate.id,this.licenseToDuplicate.title).pipe(he(e=>{if(mo.isAccepted(e.status)){let i=this.licenseToDuplicate;i.id=e.body.id,this.modalService.close(i)}}),Oe(()=>this._componentActive)).subscribe()}static{this.\u0275fac=function(i){return new(i||t)}}
1static{this.\u0275cmp=A({type:t,selectors:[["app-license-duplicate-modal"]],viewQuery:function(i,n){if(i&1&&le(Wt,5),i&2){let a;Y(a=Z())&&(n.licenseTitle=a.first)}},hostBindings:function(i,n){i&1&&y("keydown.enter",function(m){return n.onEnter(m)})},inputs:{licenseToDuplicate:"licenseToDuplicate",allLicenseTitles:"allLicenseTitles"},decls:8,vars:6,consts:[["licenseTitle","ngModel"],["modalTitle","licenses.copy_license"],[1,"modal-body"],[3,"ngSubmit"],["required","","id","title","name","title","type","text","data-cy","licenseName",3,"ngModelChange","duplicateLicenseTitle","value","ngModel"],["data-cy","errorMessage",1,"text-alert"],[3,"cancelButtonClick","saveButtonClick","border"]],template:function(i,n){if(i&1){let a=I();w(0,"app-modal-header",1),l(1,"div",2)(2,"form",3),y("ngSubmit",function(){return n.onSave()}),l(3,"input",4,0),Te("ngModelChange",function(f){return S(a),we(n.licenseToDuplicate.title,f)||(n.licenseToDuplicate.title=f),x(f)}),s(),C(5,yf,3,3,"p",5),C(6,Sf,3,3,"p",5),s()(),l(7,"app-modal-footer",6),y("cancelButtonClick",function(){return n.modalService.dismiss()})("saveButtonClick",function(){return n.onSave()}),s()}if(i&2){let a=V(4);r(3),_("duplicateLicenseTitle",n.allLicenseTitles)("value",n.licenseToDuplicate.title),xe("ngModel",n.licenseToDuplicate.title),r(2),b(!(a==null||a.errors==null)&&a.errors.titleValid&&a.touched?5:-1),r(),b(!(!(a==null||a.errors==null)&&a.errors.titleValid)&&(!(a==null||a.errors==null)&&a.errors.required)&&a.touched?6:-1),r(),_("border",!1)}},dependencies:[Kc,Qt,Ze,Ye,fe,Ie,vs,Wt,un,Xe,et,$,B],encapsulation:2})}}return t})();var en=(function(t){return t.LicenseSettings="settings",t.DocumentLicense="license",t})(en||{});var Qc=(()=>{class t{constructor(){this.modalService=g(X),this._formBuilder=g(di),this.activeModal=g(vo),this.type=new K,this.licenseExportType=en,this.isAnyCheckboxChecked=!1,this.exportTypes=Object.values(en)}ngOnInit(){let e=this.exportTypes.reduce((i,n)=>(i[n]=new Me(!1),i),{});this.checkboxForm=this._formBuilder.group({types:this._formBuilder.group(e)}),this.checkboxForm.valueChanges.subscribe(i=>{this.isAnyCheckboxChecked=Object.values(i).some(n=>n.settings||n.license)})}onSave(){let e=Object.entries(this.checkboxForm.value.types).filter(([,i])=>i).map(([i])=>i);this.activeModal.close(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-license-export-modal"]],outputs:{type:"type"},decls:10,vars:8,consts:[["modalTitle","licenses.export_licenses"],[1,"modal-body"],[3,"ngSubmit","formGroup"],[1,"label-with-colon"],["formGroupName","types",1,"export-types"],["data-cy","exportSettings","label","licenses.export_type.settings",3,"formControlName"],["data-cy","exportLicenses","label","licenses.export_type.license",3,"formControlName"],["saveButtonText","common.export.export",3,"saveButtonClick","border","isSaveButtonDisabled"]],template:function(i,n){i&1&&(w(0,"app-modal-header",0),l(1,"div",1)(2,"form",2),y("ngSubmit",function(){return n.onSave()}),l(3,"p",3),p(4),d(5,"transloco"),s(),l(6,"div",4),w(7,"app-checkbox",5)(8,"app-checkbox",6),s()()(),l(9,"app-modal-footer",7),y("saveButtonClick",function(){return n.onSave()}),s()),i&2&&(r(2),_("formGroup",n.checkboxForm),r(2),h(u(5,6,"licenses.export_type_choice_modal")),r(3),_("formControlName",n.licenseExportType.LicenseSettings),r(),_("formControlName",n.licenseExportType.DocumentLicense),r(),_("border",!1)("isSaveButtonDisabled",!n.isAnyCheckboxChecked))},dependencies:[Dt,Xe,et,Je,Ze,fe,Ie,je,$e,gs,$,B],styles:[".label-with-colon[_ngcontent-%COMP%]{margin-bottom:calc(var(--spacer) * 1.5)}.export-types[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--spacer)}"]})}}return t})();var Yc=(()=>{class t{constructor(){this.modalService=g(X),this.licenseType=pe}ngOnInit(){this.form=new xt({license:new Me(pe.DOCUMENT)})}onDone(){this.modalService.close({selectedLicense:this.form.get("license").value})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-select-license-type-modal"]],decls:35,vars:35,consts:[["modalTitle","licenses.license_type_title",3,"border"],[3,"formGroup"],[1,"modal-body"],["for","license-type-description"],[1,"license-type"],["data-cy","documentLicense",1,"form-check"],["type","radio","id","document_license","formControlName","license",1,"form-check-input",3,"value"],["for","document_license",1,"form-check-label"],["name","info","placement","bottom-left","data-cy","documentLicenseInfo",1,"icon-cl
1ickable",3,"ngbTooltip"],["data-cy","collectionLicense",1,"form-check"],["type","radio","id","collection_license","formControlName","license",1,"form-check-input",3,"value"],["for","collection_license",1,"form-check-label"],["name","info","placement","bottom-left","data-cy","collectionLicenseInfo",1,"icon-clickable",3,"ngbTooltip"],["data-cy","metadataLicense",1,"form-check"],["type","radio","id","metadata_license","formControlName","license",1,"form-check-input",3,"value"],["for","metadata_license",1,"form-check-label"],["name","info","placement","bottom-left","data-cy","metadataLicenseInfo",1,"icon-clickable",3,"ngbTooltip"],["saveButtonText","common.next",3,"cancelButtonClick","saveButtonClick"]],template:function(i,n){i&1&&(w(0,"app-modal-header",0),l(1,"form",1)(2,"div",2)(3,"span",3),p(4),d(5,"transloco"),s(),l(6,"div")(7,"div",4)(8,"div",5),w(9,"input",6),l(10,"label",7),p(11),d(12,"transloco"),s()(),w(13,"app-icon",8),d(14,"transloco"),d(15,"transloco"),s(),l(16,"div",4)(17,"div",9),w(18,"input",10),l(19,"label",11),p(20),d(21,"transloco"),s()(),w(22,"app-icon",12),d(23,"transloco"),d(24,"transloco"),s(),l(25,"div",4)(26,"div",13),w(27,"input",14),l(28,"label",15),p(29),d(30,"transloco"),s()(),w(31,"app-icon",16),d(32,"transloco"),d(33,"transloco"),s()()()(),l(34,"app-modal-footer",17),y("cancelButtonClick",function(){return n.modalService.dismiss()})("saveButtonClick",function(){return n.onDone()}),s()),i&2&&(_("border",!0),r(),_("formGroup",n.form),r(3),h(u(5,15,"licenses.license_type_description")),r(5),_("value",n.licenseType.DOCUMENT),r(2),D("",u(12,17,"licenses.document_license")," "),r(2),_("ngbTooltip",u(14,19,"licenses.document_license_tooltip")),k("aria-label",u(15,21,"licenses.document_license_tooltip")),r(5),_("value",n.licenseType.COLLECTION),r(2),D(" ",u(21,23,"licenses.collection_license")," "),r(2),_("ngbTooltip",u(23,25,"licenses.collection_license_tooltip")),k("aria-label",u(24,27,"licenses.collection_license_tooltip")),r(5),_("value",n.licenseType.METADATA),r(2),D(" ",u(30,29,"licenses.metadata_license")," "),r(2),_("ngbTooltip",u(32,31,"licenses.metadata_license_tooltip")),k("aria-label",u(33,33,"licenses.metadata_license_tooltip")))},dependencies:[G,Xe,et,te,Je,Ze,Ye,fs,fe,Ie,je,$e,$,B],styles:[".license-type[_ngcontent-%COMP%]{align-items:center;display:flex;gap:calc(var(--spacer) * 5)}"]})}}return t})();var xf=t=>({count:t});function wf(t,o){t&1&&(l(0,"span",11),p(1),d(2,"transloco"),s()),t&2&&(r(),D("(",u(2,1,"licenses.unselectable_readonly_license_note"),")"))}function Tf(t,o){if(t&1){let e=I();l(0,"button",28),d(1,"transloco"),d(2,"transloco"),y("click",function(){S(e);let n=c();return x(n.onDeleteLicenses())}),w(3,"app-icon",29),s()}t&2&&(_("ngbTooltip",u(1,2,"licenses.delete_licenses")),k("aria-label",u(2,4,"licenses.delete_licenses")))}function Ef(t,o){if(t&1){let e=I();l(0,"div",30)(1,"button",31),d(2,"transloco"),d(3,"transloco"),y("click",function(){S(e);let n=c();return x(n.onCsvExport())}),w(4,"app-icon",32),s(),l(5,"button",33),d(6,"transloco"),d(7,"transloco"),y("click",function(){S(e);let n=c();return x(n.onCsvImport())}),w(8,"app-icon",34),s()()}t&2&&(r(),_("ngbTooltip",u(2,4,"licenses.export_licenses")),k("aria-label",u(3,6,"licenses.export_licenses")),r(4),_("ngbTooltip",u(6,8,"licenses.import_licenses")),k("aria-label",u(7,10,"licenses.import_licenses")))}function Df(t,o){if(t&1){let e=I();l(0,"app-table-filter",37),y("filterClose",function(){S(e),c();let n=V(1);return x(n.close())})("filter",function(n){S(e);let a=c(2);return x(a.onFilter(n))})("resetFilter",function(){S(e);let n=c(2);return x(n.onResetFilters())}),s()}if(t&2){let e=c(2);_("activeFilter",e.activeFilter)}}function If(t,o){if(t&1&&(l(0,"button",35,5),d(2,"transloco"),w(3,"app-icon",36),T(4,Df,1,1,"ng-template",null,6,L),s()),t&2){let e=V(5),i=c();
1_("ngbPopover",e),k("aria-label",u(2,3,"common.table.open_filter")),r(3),_("ngClass",i.activeFilter?"icon-filter-active":"icon-filter-inactive")}}function Mf(t,o){if(t&1){let e=I();l(0,"div",38)(1,"button",39),d(2,"transloco"),d(3,"transloco"),y("click",function(){S(e);let n=c().item,a=c();return x(a.onDuplicateLicense(n.id))}),w(4,"app-icon",40),s()()}t&2&&(r(),_("ngbTooltip",u(2,2,"licenses.copy_license")),k("aria-label",u(3,4,"licenses.copy_license")))}function kf(t,o){if(t&1&&C(0,Mf,5,6,"div",38),t&2){let e=o.item;b(e.isReadonlyLicense?-1:0)}}function Ff(t,o){t&1&&(p(0),d(1,"transloco")),t&2&&D(" ",u(1,1,"licenses.document_management.subscription.bestcollection_license")," ")}function Lf(t,o){if(t&1){let e=I();l(0,"span",41),y("click",function(){let n=S(e).item,a=c();return x(a.openLicense(n))})("keydown.enter",function(){let n=S(e).item,a=c();return x(a.openLicense(n))}),l(1,"span"),C(2,Ff,2,3),p(3),s()()}if(t&2){let e=o.item,i=c(),n=i.nautosTitleUtils.isNautosCollectionTitle(e.title),a=n?i.nautosTitleUtils.cutNautosCollectionFromTitle(e.title):e.title;_("title",a.length>=i.showTitleWidth?a:""),r(2),b(n?2:-1),r(),D(" ",a," ")}}function Pf(t,o){if(t&1&&w(0,"app-icon",42),t&2){let e=c().item;_("ngbTooltip",e.description),k("aria-label",e.description)}}function Af(t,o){if(t&1&&C(0,Pf,1,2,"app-icon",42),t&2){let e=o.item;b(e.description&&e.description.trim()?0:-1)}}function Nf(t,o){if(t&1&&(l(0,"span",43),p(1),d(2,"licenseListBox"),d(3,"transloco"),s()),t&2){let e=o.item;r(),D(" ",u(3,3,u(2,1,e.licenseType))," ")}}function Of(t,o){if(t&1&&(l(0,"span",44),p(1),s()),t&2){let e=o.item;r(),h(e.users.length)}}function Rf(t,o){if(t&1&&w(0,"app-box-list",45),t&2){let e=c().item;_("fieldValues",e.groupNames)}}function Bf(t,o){if(t&1&&C(0,Rf,1,1,"app-box-list",45),t&2){let e=o.item;b((e.groupNames==null?null:e.groupNames.length)>0?0:-1)}}
1function zf(t,o){if(t&1&&(l(0,"span",46),p(1),d(2,"date"),s()),t&2){let e=o.item;r(),h(J(2,1,e.createdOn,"yyyy-MM-dd"))}}function Vf(t,o){if(t&1&&(l(0,"span",47),p(1),d(2,"date"),s()),t&2){let e=o.item;r(),h(J(2,1,e.changedOn,"yyyy-MM-dd"))}}function qf(t,o){if(t&1&&(l(0,"div",27),w(1,"app-icon",48),l(2,"p",49),p(3),d(4,"transloco"),d(5,"transloco"),s()()),t&2){let e=c();r(3),D(" ",e.activeFilter?u(5,3,"licenses.no_licenses_found"):u(4,1,"licenses.no_license_available")," ")}}var Zc=(()=>{class t{constructor(){this._licenseManagementConfig=g(Jt),this._feedbackService=g(Ke),this._groupService=g(Fi),this._licenseService=g(nt),this._licenseStateService=g(Ri),this._modalService=g(X),this._route=g(bt),this._router=g(De),this._translocoService=g(Q),this._uiService=g(He),this.nautosTitleUtils=mi,this.allDisplayLicenses=[],this.pageNumber=this._licenseManagementConfig.defaultPage,this.pageSize=this._licenseManagementConfig.defaultPerPage,this.showTitleWidth=300,this._lastGroups=[],this._sortOrder=Ue.ASC}get licenseTable(){return this._licenseTable}set licenseTable(e){this._licenseTable=e}ngOnInit(){this.initGroups(),this.initLicenses()}ngOnDestroy(){this._licenseStateService.clearState(),this._licenseSubscription&&this._licenseSubscription.unsubscribe(),this._deleteLicenseSubscription&&this._deleteLicenseSubscription.unsubscribe(),this._groupsSubscription?.unsubscribe()}get selectedNonReadonlyCount(){return this.licenseTable?.selectedRows?.filter(e=>!e.item.isReadonlyLicense&&e.selectedFormGroup.value).length??0}get hasReadonlyLicenseSelected(){return this.licenseTable?.selectedRows?.some(e=>e.item.isReadonlyLicense)??!1}openLicense(e){this._router.navigate(["edit",e.id],{relativeTo:this._route})}openSelectLicenseModal(){this._modalService.open(Yc).result.then(i=>{i&&this._router.navigate(["./create",i.selectedLicense],{relativeTo:this._route})})}onSortChange(e){e.changeType===ii.SORT&&(this._sortOrder=e.sortAsc?Ue.DESC:Ue.ASC,this._uiService.showSpinner(),this._licenseSubscription=this._licenseService.getLicensesPagedAndFiltered(this.pageNumber,this.pageSize,"title",this._sortOrder,this.activeFilter).pipe(_t(()=>this._uiService.hideSpinner())).subscribe(i=>{this.setLicenseResult(i)}))}onPageChange(e){this._uiService.showSpinner(),this.pageNumber=e,this._licenseSubscription=this._licenseService.getLicensesPagedAndFiltered(this.pageNumber,this.pageSize,"title",this._sortOrder,this.activeFilter).pipe(_t(()=>this._uiService.hideSpinner())).subscribe(i=>{this.setLicenseResult(i)})}onFilter(e){this._uiService.showSpinner(),this.activeFilter=e,this.pageNumber=1,this._licenseSubscription=this._licenseService.getLicensesPagedAndFiltered(this.pageNumber,this.pageSize,"title",Ue.DESC,void 0,this.activeFilter).pipe(_t(()=>this._uiService.hideSpinner())).subscribe(i=>{this.setLicenseResult(i)})}onResetFilters(){this.activeFilter=void 0,this.totalCount=void 0,this.onFilter("")}onDuplicateLicense(e){let i=se({},this.allDisplayLicenses.find(a=>a.id===e)),n=this._modalService.open(Wc);n.componentInstance.licenseToDuplicate=i,n.componentInstance.allLicenseTitles=this.allDisplayLicenses.map(a=>a.title),n.result.then(a=>{a&&(a.toString()==="CONFLICT"?this._feedbackService.showErrorModal():(this.totalCount++,this.allDisplayLicenses.unshift(a),this._feedbackService.showSuccessModal("licenses.copy_license_success")))})}onDeleteLicenses(){let e=this._licenseTable.selectedRows,i=e.map(a=>a.item).filter(a=>a.isReadonlyLicense?!1:a);if(i.length===0)return;i.length===1?(this._templateDeleteTitle="licenses.delete_license_header",this._templateDeleteText="licenses.delete_license_text"):i.length>1&&(this._templateDeleteTitle=this._translocoService.translate("licenses.delete_multiple_licenses_header",{count:i.length}),this._templateDeleteText="licenses.delete_multiple_licenses_text");let n=this._modalService.open(mt);n.componentInstance.isDeleteConfirmation=!0,n.componentInstance.title=this._templateDeleteTitle,n.componentInstance.text=this._templateDeleteText,n.result.then(a=>{if(a.preset){this._deleteLicenseSubscription&&this._deleteLicenseSubscription.unsubscribe(),this.allDisplayLicenses=this.allDisplayLicenses.filter(f=>!i.includes(f)),this.totalCount=this.totalCount-i.length;let m=[];
1i.forEach(f=>m.push(f.id)),this._deleteLicenseSubscription=this._licenseService.deleteLicense(m).subscribe(()=>{e.forEach(f=>{f.selectedForm.patchValue({selected:!1}),this.licenseTable.onSelectStatusChange(f)}),this._feedbackService.showSuccessModal(m.length===1?"licenses.delete_license_success":"licenses.delete_multiple_licenses_success")})}})}onCsvImport(){let e=this._modalService.open(gn);e.componentInstance.csvImportKey=fn.documentLicense,e.componentInstance.completed.subscribe(i=>{if(i>0){let n={selectedCount:0,sortBy:"createdOn",sortAsc:!1,changeType:ii.SORT};this.onSortChange(n)}})}onCsvExport(){this._modalService.open(Qc).result.then(i=>{if(i){let n=[];i.forEach(a=>{switch(a){case en.DocumentLicense:n.push(this.sendLicensesCsvExportRequest());break;case en.LicenseSettings:n.push(this.sendLicenseSettingsCsvExportRequest());break;default:console.error("Unsupported type",a)}}),_i(n).subscribe({next:a=>{let m=!0;a.forEach(f=>{m=m&&f.status===Di.ACCEPTED}),m?this._feedbackService.showInfoModal("licenses.export_licenses","common.export.requested_deferred",Wi.DOWNLOAD):this._feedbackService.showErrorModal()},error:a=>{a.status===It.TOO_MANY_REQUESTS?this._feedbackService.showErrorModal("common.export.too_many_requests"):this._feedbackService.showErrorModal()}})}})}initGroups(){this._groupsSubscription=this._groupService.groupCollection$.pipe(Le(()=>qe)).subscribe(e=>{if(!e)return;this._lastGroups=e;let i=new Map(e.map(n=>[n.groupId,n.name]));this.allDisplayLicenses=this.allDisplayLicenses.map(n=>{let a=[];return(n.groups??[]).forEach(m=>{let f=i.get(m.groupId)??m.name??"";a.push(f)}),Ae(se({},n),{groupNames:a})})})}initLicenses(){this._uiService.showSpinner(),this._licenseSubscription=this._licenseService.getLicensesPagedAndFiltered(this.pageNumber,this.pageSize,"title",this._sortOrder).pipe(Le(()=>qe),_t(()=>this._uiService.hideSpinner())).subscribe(e=>{e&&(this.setLicenseResult(e),this._licenseStateService.newLicense.pipe(ve(1),ei()).subscribe(i=>{i?.id&&(!this.allDisplayLicenses.some(a=>a.id===i.id)&&(++this.totalCount,this.allDisplayLicenses.push(i)),this._feedbackService.showSuccessModal("licenses.create_license_success"),this._licenseStateService.clearState())}),this._licenseStateService.changedLicense.pipe(ve(1),ei()).subscribe(i=>{if(!i)return;let n=this.allDisplayLicenses.findIndex(a=>a.id===i.id);n>=0&&(this.allDisplayLicenses[n].isReadonlyLicense=this.nautosTitleUtils.isNautosCollectionTitle(i.title)),this._feedbackService.showSuccessModal("licenses.update_license_success")}))})}sendLicensesCsvExportRequest(){return this._licenseService.requestDocumentLicensesCsvExport()}sendLicenseSettingsCsvExportRequest(){return this._licenseService.requestDocumentLicenseSettingsCsvExport()}setLicenseResult(e){this.totalCount=e.count,this.allDisplayLicenses=e.items.map(i=>yn.licenseSummaryResponseDtoToLicenseSummaryModel(i)),this.allDisplayLicenses=this.allDisplayLicenses.map(i=>Ae(se({},i),{groupNames:(i.groups??[]).map(n=>this._lastGroups.find(m=>m.groupId===n.groupId)?.name??n.name??"")})),this.allDisplayLicenses.forEach(i=>{i.isReadonlyLicense=this.nautosTitleUtils.isNautosCollectionTitle(i.title)})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-license-list"]],viewQuery:function(i,n){if(i&1&&le(zt,7),i&2){let a;Y(a=Z())&&(n.licenseTable=a.first)}},decls:54,vars:24,consts:[["tableMenu",""],["menuAnimatedButtons",""],["menuStaticButtons",""],["tableCheckboxColumnHeader",""],["tableCell",""],["filterPopover","ngbPopover"],["filterPopoverContent",""],[1,"overview-container"],[1,"header"],[3,"count"],["data-cy","numberOfSelectedEntries"],[1,"text-italic"],["type","button","data-cy","createLicense",1,"btn-primary",3,"click"],[1,"container-menu-pagination"],[3,"appTable"],["menu",""],["data-cy","pagination",3,"pageChange","collectionSize","page","tableMenu","pageSize"],[1,"container-table"],["data-cy","table",3,"stateChange","items"],["tableColumn","","styleClasses","button-column"],["tableColumn","","columnText","common.name",3,"sortable"],["tableColumn",""],["tableColumn","","columnText","licenses.license_type"],["tableColumn","","columnText","user_management.user"],["tableColumn","","columnText","user_management.groups.title"],["tableColumn","","columnText","common.created"],["tableColumn","","columnText","common.changed"],[1,"n
1o-content"],["type","button","data-cy","iconDeleteLicenses",1,"btn-menu-animated",3,"click","ngbTooltip"],["name","delete"],[1,"btn-group"],["type","button","data-cy","iconCsvExport",1,"btn-menu-static",3,"click","ngbTooltip"],["name","csv-export"],["type","button","data-cy","iconCsvImport",1,"btn-menu-static",3,"click","ngbTooltip"],["name","csv-import"],["popoverClass","filter-container","placement","bottom-left","autoClose","outside","type","button",1,"btn-filter",3,"ngbPopover"],["name","filter","data-cy","iconFilter",3,"ngClass"],["filterLabel","licenses.detail.name","data-cy","filter",3,"filterClose","filter","resetFilter","activeFilter"],[1,"table-icons"],["type","button","data-cy","iconCopyLicense",1,"btn-icon",3,"click","ngbTooltip"],["name","copy"],["data-cy","licenseName",1,"link-bold","ellipsicated",3,"click","keydown.enter","title"],["name","info","data-cy","info",1,"icon-clickable",3,"ngbTooltip"],["data-cy","licenseType"],["data-cy","usersInLicense"],["data-cy","groupsInLicense",3,"fieldValues"],["data-cy","createdOn"],["data-cy","changedOn"],["sprite","icons-large","name","licenses-empty-large","data-cy","iconNoLicenses",1,"icon-inactive"],["data-cy","textNoLicenses"]],template:function(i,n){if(i&1&&(l(0,"div",7)(1,"div",8)(2,"div")(3,"h1"),p(4),d(5,"transloco"),s(),w(6,"app-record-count",9),l(7,"p",10),p(8),d(9,"transloco"),d(10,"transloco"),C(11,wf,3,3,"span",11),s()(),l(12,"button",12),y("click",function(){return n.openSelectLicenseModal()}),l(13,"span"),p(14),d(15,"transloco"),s()()(),l(16,"div",13)(17,"app-table-menu",14,0)(19,"div",15),T(20,Tf,4,6,"ng-template",null,1,L)(22,Ef,9,12,"ng-template",null,2,L),s()(),l(24,"app-pagination",16),y("pageChange",function(m){return n.onPageChange(m)}),s()(),l(25,"div",17)(26,"app-table",18),y("stateChange",function(m){return n.onSortChange(m)}),T(27,If,6,5,"ng-template",null,3,L),l(29,"div",19),T(30,kf,1,1,"ng-template",null,4,L),s(),l(32,"div",20),T(33,Lf,4,3,"ng-template",null,4,L),s(),l(35,"div",21),T(36,Af,1,1,"ng-template",null,4,L),s(),l(38,"div",22),T(39,Nf,4,5,"ng-template",null,4,L),s(),l(41,"div",23),T(42,Of,2,1,"ng-template",null,4,L),s(),l(44,"div",24),T(45,Bf,1,1,"ng-template",null,4,L),s(),l(47,"div",25),T(48,zf,3,4,"ng-template",null,4,L),s(),l(50,"div",26),T(51,Vf,3,4,"ng-template",null,4,L),s()(),C(53,qf,6,5,"div",27),s()()),i&2){let a=V(18);r(4),h(u(5,13,"licenses.title")),r(2),_("count",n.totalCount),r(2),D(" ",n.selectedNonReadonlyCount===1?u(9,15,"search.hitlist.element_selected"):J(10,17,"search.hitlist.elements_selected",Ce(22,xf,n.selectedNonReadonlyCount))," "),r(3),b(n.hasReadonlyLicenseSelected?11:-1),r(3),h(u(15,20,"licenses.create_license")),r(3),_("appTable",n.licenseTable),r(7),_("collectionSize",n.totalCount)("page",n.pageNumber)("tableMenu",a)("pageSize",n.pageSize),r(2),_("items",n.allDisplayLicenses),r(6),_("sortable",!0),r(21),b(n.totalCount===0?53:-1)}},dependencies:[al,Ee,ze,G,kt,Yt,te,Pt,St,oe,Zt,rl,Lt,$,zt,si,sa,B],encapsulation:2})}}return t})();function Uf(t,o){t&1&&w(0,"app-spinner")}function Hf(t,o){t&1&&(l(0,"span",4),p(1),d(2,"transloco"),s()),t&2&&(r(),h(u(2,1,"licenses.no_license_available")))}function $f(t,o){t&1&&(p(0),d(1,"transloco")),t&2&&D(" ",u(1,1,"licenses.document_management.subscription.bestcollection_license")," ")}function jf(t,o){if(t&1&&(l(0,"li",17),p(1),s()),t&2){let e=o.$implicit;r(),h(e.name)}}function Gf(t,o){if(t&1&&(l(0,"li",21),p(1),s()),t&2){let e=o.$implicit;r(),oo(" ",e.surname,", ",e.forename," (",e.username,") ")}}function Kf(t,o){if(t&1){let e=I();l(0,"div",5)(1,"button",6),y("click",function(){let n=S(e).$implicit,a=c(3);return x(a.toggleExpandLicense(n.id))}),w(2,"app-icon",7),l(3,"span",8)(4,"p",9),C(5,$f,2,3),p(6),s(),l(7,"span",10),p(8),d(9,"licenseListBox"),d(10,"transloco"),s()()(),l(11,"app-collapsible",11)(12,"div",12)(13,"section")(14,"p",13)(15,"span",14),p(16),d(17,"transloco"),s(),l(18,"span",15),p(19),s()(),l(20,"ul",16),ue(21,jf,2,1,"li",17,Se),s()(),l(23,"section")(24,"p",13)(25,"span",18),p(26),d(27,"transloco"),s(),l(28,"span",19),p(29),s()(),l(30,"ul",20),ue(31,Gf,2,3,"li",21,Se),s()()()()()}if(t&2){let e=o.$implicit,i=c(3);r(2),_("direction",i.expandedLicenseId===e.id?"down":"right");let n=i.nautosTitleUtils.isNautosCollectionTitle(e.title),a=n?i.nautosTitleUtils.cutNautosCollectionFromTitle(e.title):e.title;r(3),b(n?5:-1),r(),D(" ",a," "),r(2),h(u(10,11,u(9,9,e.licenseType))),r(3),_("expanded",i.expandedLicenseId===e.id),r(5),h(u(17,13,"user_management.groups.title")),r(3),h(e.groups.length),r(2),_e(e.groups),r(5),h(u(27,15,"user_management.users.title")),r(3),h(e.users.length),r(2),_e(e.users)}}
1function Wf(t,o){if(t&1&&ue(0,Kf,33,17,"div",5,Se),t&2){let e=c();_e(e)}}function Qf(t,o){if(t&1&&(C(0,Hf,3,3,"span",4),C(1,Wf,2,0)),t&2){let e=o;b(e.length===0?0:-1),r(),b(e.length>0?1:-1)}}var Jc=(()=>{class t{constructor(){this.modalService=g(X),this._documentAccessService=g(Et),this._translocoService=g(Q),this.nautosTitleUtils=mi,this.isPending=!0}ngOnInit(){this.documentDetail?.din21Id&&(this.isPending=!0,this.licenses=this._documentAccessService.getLicensesByDin21Id(this.documentDetail?.din21Id).pipe(be(e=>(e.length>0&&(this.expandedLicenseId=e[0].id),e)),_t(()=>{this.isPending=!1})))}get modalTitle(){return`${this._translocoService.translate("licenses.document_management.filter_license_assignment_type")}: ${this.documentDetail.documentNumber} (${this.documentDetail.dateOfIssue})`}toggleExpandLicense(e){this.expandedLicenseId=e===this.expandedLicenseId?null:e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-license-detail-modal"]],inputs:{documentDetail:"documentDetail"},decls:7,vars:7,consts:[[3,"modalTitle","border"],[1,"modal-body"],[1,"scroll-box"],["cancelButtonText","common.close",3,"cancelButtonClick","isSaveButtonVisible"],["data-cy","noLicensesAssigned",1,"text-italic"],["data-cy","assignedLicense"],["type","button",1,"btn-collapse-small",3,"click"],["name","chevron",3,"direction"],[1,"license-info"],["data-cy","licenseName",1,"link-bold"],["data-cy","licenseType"],[3,"expanded"],[1,"collapsible-content"],[1,"text-important"],["data-cy","groupTitle"],["data-cy","groupCount",1,"count"],["data-cy","groupList"],["data-cy","group"],["data-cy","userTitle"],["data-cy","userCount",1,"count"],["data-cy","userList"],["data-cy","user"]],template:function(i,n){if(i&1&&(w(0,"app-modal-header",0),C(1,Uf,1,0,"app-spinner"),l(2,"div",1)(3,"div",2),C(4,Qf,2,2),d(5,"async"),s()(),l(6,"app-modal-footer",3),y("cancelButtonClick",function(){return n.modalService.dismiss()}),s()),i&2){let a;_("modalTitle",n.modalTitle)("border",!0),r(),b(n.isPending?1:-1),r(3),b((a=u(5,5,n.licenses))?4:-1,a),r(2),_("isSaveButtonVisible",!1)}},dependencies:[Cn,Ee,G,Xe,et,oe,pn,$,ct,sa,B],styles:['.scroll-box[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:calc(var(--spacer) / 4)}.scroll-box[_ngcontent-%COMP%]   .collapsible-content[_ngcontent-%COMP%]{margin-inline:calc(var(--spacer) * 2.5)}.scroll-box[_ngcontent-%COMP%]   .collapsible-content[_ngcontent-%COMP%]   .count[_ngcontent-%COMP%]:before{content:" ("}.scroll-box[_ngcontent-%COMP%]   .collapsible-content[_ngcontent-%COMP%]   .count[_ngcontent-%COMP%]:after{content:")"}.scroll-box[_ngcontent-%COMP%]   .collapsible-content[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]{padding-bottom:var(--spacer);width:100%}.scroll-box[_ngcontent-%COMP%]   .collapsible-content[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]:not(:last-child){border-bottom:var(--border);margin-block:var(--spacer)}.scroll-box[_ngcontent-%COMP%]   .license-info[_ngcontent-%COMP%]{font-family:var(--font-family-regular);text-align:left}']})}}return t})();var Xc=(()=>{class t{constructor(){this._languageService=g(ea)}transform(e){return this._languageService.getLanguageTranslocoKey(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=Ht({name:"documentLanguageKey",type:t,pure:!0})}}return t})();var ed=(()=>{class t{transform(e){switch(e){case bi.INDIVIDUAL:return"licenses.document_management.subscription.individual";case bi.BESTCOLLECTION:return"licenses.document_management.subscription.bestcollection";default:return""}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=Ht({name:"subscription",type:t,pure:!0})}}return t})();var Yf=["documentManagementList"],Zf=t=>({count:t});function Jf(t,o){if(t&1&&(l(0,"p",11),p(1),d(2,"transloco"),d(3,"transloco"),s()),t&2){c();let e=V(11);r(),D(" ",e.selectedRows.length===1?u(2,1,"search.hitlist.element_selected"):J(3,3,"search.hitlist.elements_selected",Ce(6,Zf,e.selectedRows.length))," ")}}function Xf(t,o){if(t&1){let e=I();l(0,"div",32)(1,"button",33),d(2,"transloco"),d(3,"transloco"),y("click",function(){S(e);let n=c(3);return x(n.openAutomaticDocumentLicenseCreation())}),w(4,"app-icon",34),s(),l(5,"button",35),d(6,"transloco"),d(7,"transloco"),y("click",function(){S(e);let n=c(3);return x(n.removeDocumentsFromLicenses())}
1),w(8,"app-icon",36),s(),l(9,"button",37),d(10,"transloco"),d(11,"transloco"),y("click",function(){S(e);let n=c(3);return x(n.onDeleteDocuments())}),w(12,"app-icon",38),s()()}if(t&2){let e=c(3);r(),_("ngbTooltip",u(2,7,"licenses.create_document_license.title")),k("aria-label",u(3,9,"licenses.create_document_license.title")),r(4),_("ngbTooltip",u(6,11,"licenses.document_management.remove_from_licenses_title")),k("aria-label",u(7,13,"licenses.document_management.remove_from_licenses_title")),r(4),_("disabled",e.onlyNautosDocumentsSelected)("ngbTooltip",u(10,15,"licenses.document_management.delete_title")),k("aria-label",u(11,17,"licenses.document_management.delete_title"))}}function e0(t,o){t&1&&T(0,Xf,13,19,"ng-template",null,5,L)}function t0(t,o){if(t&1){let e=I();l(0,"button",42),d(1,"transloco"),d(2,"transloco"),y("click",function(){S(e);let n=c(3);return x(n.onCsvImport())}),w(3,"app-icon",43),s()}t&2&&(_("ngbTooltip",u(1,2,"common.import.title_text")),k("aria-label",u(2,4,"common.import.title_text")))}function i0(t,o){if(t&1){let e=I();l(0,"div",32)(1,"button",39),d(2,"transloco"),d(3,"transloco"),y("click",function(){S(e);let n=c(2);return x(n.onCsvExport())}),w(4,"app-icon",40),s(),C(5,t0,4,6,"button",41),s()}if(t&2){let e=c(2);r(),_("ngbTooltip",u(2,3,"common.export.title_text")),k("aria-label",u(3,5,"common.export.title_text")),r(4),b(e.canEdit?5:-1)}}function n0(t,o){if(t&1){let e=I();l(0,"div",12)(1,"app-table-menu",27,3)(3,"div",28),C(4,e0,2,0),T(5,i0,6,7,"ng-template",null,4,L),s()(),l(7,"div",29)(8,"app-select",30),y("itemSelected",function(n){S(e);let a=c();return x(a.onPageSizeSelected(n))}),s(),l(9,"app-pagination",31),y("pageChange",function(n){S(e);let a=c();return x(a.onPageChange(n))}),s()()()}if(t&2){let e=V(2),i=c(),n=V(11);r(),_("appTable",n),r(3),b(i.canEdit?4:-1),r(3),_("formGroup",i.pageSizeForm),r(),_("items",i.pageSizeSelectOptions),r(),_("collectionSize",i.totalCount)("page",i.pageNumber)("tableMenu",e)("pageSize",i.pageSize)}}function o0(t,o){if(t&1){let e=I();l(0,"app-document-management-filter",46),y("filterClose",function(){S(e),c();let n=V(1);return x(n.close())})("filter",function(n){S(e);let a=c(2);return x(a.onFilter(n))})("resetFilter",function(){S(e);let n=c(2);return x(n.onResetFilters())}),s()}if(t&2){let e=c(2);_("documentFilter",e.filter)}}function a0(t,o){if(t&1){let e=I();l(0,"button",44,6),d(2,"transloco"),y("click",function(){S(e);let n=V(1);return x(n.open())}),w(3,"app-icon",45),T(4,o0,1,1,"ng-template",null,7,L),s()}if(t&2){let e=V(5),i=c();_("ngbPopover",e)("autoClose",!1),k("aria-label",u(2,4,"common.table.o
1pen_filter")),r(3),_("ngClass",i.isFiltered?"icon-filter-active":"icon-filter-inactive")}}function r0(t,o){if(t&1){let e=I();l(0,"button",47),d(1,"transloco"),d(2,"transloco"),y("click",function(){let n=S(e).item,a=c();return x(a.onOpenLicenseDetail(n))}),w(3,"app-icon",48),s()}t&2&&(_("ngbTooltip",u(1,2,"licenses.document_management.tooltip")),k("aria-label",u(2,4,"licenses.document_management.tooltip")))}function s0(t,o){if(t&1&&(l(0,"span",49),p(1),s()),t&2){let e=o.item,i=c();r(),D(" ",e.type===i.associatedFileTypeDto.FILE_HOSTED?e.fileName:e.url," ")}}function l0(t,o){if(t&1&&(l(0,"p"),p(1),d(2,"subscription"),d(3,"transloco"),s()),t&2){let e=o.$implicit;r(),h(u(3,3,u(2,1,e)))}}function c0(t,o){if(t&1&&(l(0,"div",50),ue(1,l0,4,5,"p",null,Se),s()),t&2){let e=o.item;r(),_e(e.abos)}}function d0(t,o){t&1&&(l(0,"div",17),T(1,c0,3,0,"ng-template",null,2,L),s()),t&2&&_("sortable",!0)}function p0(t,o){if(t&1&&(l(0,"span",51),p(1),d(2,"transloco"),s()),t&2){let e=o.item,i=c();r(),h(u(2,1,i.getLinkType(e.type)))}}function m0(t,o){if(t&1&&(l(0,"span",52),p(1),s()),t&2){let e=o.item;r(),h(e.description)}}function u0(t,o){if(t&1&&(l(0,"span",53),p(1),d(2,"documentLanguageKey"),d(3,"transloco"),s()),t&2){let e=o.item;r(),h(u(3,3,u(2,1,e.language)))}}function _0(t,o){if(t&1&&(l(0,"span",54),p(1),d(2,"transloco"),s()),t&2){let e=o.item;r(),h(u(2,1,"search.document_upload."+e.documentType))}}function h0(t,o){if(t&1&&(l(0,"span",55),p(1),s()),t&2){let e=o.item;r(),h(e.acCode)}}function f0(t,o){if(t&1&&(l(0,"span",56),p(1),s()),t&2){let e=o.item;r(),h(e.documentNumber)}}function g0(t,o){if(t&1&&(l(0,"span",57),p(1),s()),t&2){let e=o.item;r(),h(e.dateOfIssue)}}function v0(t,o){if(t&1&&(l(0,"span",58),p(1),d(2,"date"),s()),t&2){let e=o.item;r(),h(J(2,1,e.updatedOn,"yyyy-MM-dd"))}}function C0(t,o){if(t&1&&(l(0,"div",26),w(1,"app-icon",59),l(2,"p",60),p(3),d(4,"transloco"),d(5,"transloco"),s()()),t&2){let e=c();r(3),D(" ",e.isFiltered?u(4,1,"licenses.document_management.no_documents_found"):u(5,3,"licenses.document_management.no_documents_created")," ")}}var td=(()=>{class t{constructor(){this._licenseManagementConfig=g(Jt),this._authService=g(Pe),this._documentAccessService=g(Et),this._favoritesService=g(Kt),this._feedbackService=g(Ke),this._licenseService=g(nt),this._modalService=g(X),this._translocoService=g(Q),this._uiService=g(He),this.documents=[],this.canEdit=!1,this.filter={},this.isFiltered=!1,this.isPending=!1,this.onlyNautosDocumentsSelected=!1,this.pageNumber=this._licenseManagementConfig.defaultPage,this.pageSize=this._licenseManagementConfig.defaultPerPage,this.pageSizeSelectOptions=fo,this._selectedDocuments=[],this._sortField="updatedOn",this._sortDirection=Ue.DESC,this.associatedFileTypeDto=Qe}ngOnInit(){this.initForms(),this.setLoadingAndShowSpinner(),this.getAllTenantWideDocuments(),this.canEdit=this._authService.userHasOnePermission([M.EDIT_DOCUMENT_MANAGEMENT])}initForms(){this.pageSizeForm=new xt({selectedPageSize:new Me(this.pageSize??25)})}getAllTenantWideDocuments(){this._documentAccessService.getTenantWideDocuments(this.pageNumber,this.pageSize,this._sortField,this._sortDirection,this.filter).subscribe(e=>{this.documents=e.documentItems,this.totalCount=e.totalCount,this.setLoadedAndHideSpinner()})}onStateChange(e){e.changeType===ii.SORT&&(this.setLoadingAndShowSpinner(),this._sortField=e.sortBy,this._sortDirection=e.sortAsc?Ue.ASC:Ue.DESC,this.getAllTenantWideDocuments())}onRowsSelected(e){this._selectedDocuments=e?e.map(i=>i.item):[],this.onlyNautosDocumentsSelected=e?e.every(i=>i.item.url===jt):!1}onPageSizeSelected(e){typeof e!="boolean"&&(typeof e=="string"&&(e=Number.parseInt(e,10)),this.pageSize=e,this.onPageChange(1))}onPageChange(e){this.setLoadingAndShowSpinner(),this.pageNumber=e,this.getAllTenantWideDocuments()}onFilter(e){this.setLoadingAndShowSpinner(),this.pageNumber=this._licenseManagementConfig.defaultPage,this.filter=e,this.isFiltered=Xi.checkFilterHasValue(this.filter),this.getAllTenantWideDocuments()}onResetFilters(){this.setLoadingAndShowSpinner(),this.filter={},this.isFiltered=!1,this.getAllTenantWideDocuments()}
1onCsvExport(){if(this.isFiltered)this.sendCsvExportRequest();else{let e=this._modalService.open(mt);e.componentInstance.title="common.export.title_text",e.componentInstance.text="common.export.export_all_warning",e.componentInstance.saveButtonText="common.export.export",e.componentInstance.saveButtonClass="btn-primary",e.result.then(i=>{i.preset&&this.sendCsvExportRequest()})}}sendCsvExportRequest(){this._documentAccessService.requestDocumentCsvExport(this.filter).subscribe({next:e=>{e.status===Di.ACCEPTED?this._feedbackService.showInfoModal("common.export.title_text","common.export.requested_deferred",Wi.DOWNLOAD):this._feedbackService.showErrorModal()},error:e=>{e.status===It.TOO_MANY_REQUESTS?this._feedbackService.showErrorModal("common.export.too_many_requests"):this._feedbackService.showErrorModal()}})}onCsvImport(){let e=this._modalService.open(gn);e.componentInstance.csvImportKey=fn.documentLinks,e.componentInstance.completed.subscribe(i=>{if(i>0){let n={selectedCount:0,sortBy:"createdOn",sortAsc:!1,changeType:ii.SORT};this.onStateChange(n)}})}onOpenLicenseDetail(e){let i=this._modalService.open(Jc,{windowClass:"modal-large"});i.componentInstance.documentDetail=e}openAutomaticDocumentLicenseCreation(){let e=this._modalService.open(Hs);e.componentInstance.files=this.convertToAssociatedDocumentModel(this._selectedDocuments),e.result.then(i=>{i&&(i.success?this._feedbackService.showSuccessModal("user_management.groups.licenses_successfully_added"):this._feedbackService.showErrorModal())})}setLoadedAndHideSpinner(){this.isPending=!1,this._uiService.hideSpinner()}setLoadingAndShowSpinner(){this.isPending=!0,this._uiService.showSpinner()}onDeleteDocuments(){this.openDocumentDeleteModal(this.documentListRef.selectedRows.map(e=>e.item))}removeDocumentsFromLicenses(){this.openRemoveDocumentsFormLicensesModal(this.documentListRef.selectedRows.map(e=>e.item))}getLinkType(e){switch(e){case Qe.FILE_LINK_WWW:return"search.document_upload.link_url";case Qe.FILE_LINK_LOCAL:return"search.document_upload.link_local";case Qe.FILE_PAPER:return"search.document_upload.link_paper";case Qe.FILE_HOSTED:return"search.document_upload.link_hosted";default:return"search.document_upload.digital_document"}}openDocumentDeleteModal(e){let n=e.filter(f=>f.url!==jt).length>1,a=e.some(f=>f.url===jt),m=this._modalService.open(mt);m.componentInstance.isDeleteConfirmation=!0,m.componentInstance.title="licenses.document_management.delete_title",m.componentInstance.text=n?"licenses.document_management.multiple_confirm":"licenses.document_management.single_confirm",m.componentInstance.optionalText=a?"licenses.document_management.mixed_documents_warning":void 0,m.result.then(f=>{if(f.preset){let v=e.filter(E=>E.url!==jt).map(E=>E.id);this._favoritesService.deleteAcFiles(v).subscribe({next:()=>{this._feedbackService.showSuccessModal("licenses.document_management.records_successfully_deleted"),this.documents=this.documents.filter(E=>!v.includes(E.id))}})}})}openRemoveDocumentsFormLicensesModal(e){let i=this._modalService.open(mt);i.componentInstance.title=this._translocoService.translate("licenses.document_management.remove_from_licenses_title"),i.componentInstance.text=this._translocoService.translate("licenses.document_management.remove_from_licenses_confirm"),i.componentInstance.saveButtonText="common.ok",i.result.then(n=>{if(n.preset){let a=e.map(m=>m.din21Id);this._licenseService.removeDocumentsFromLicenses(a).subscribe({next:()=>{this._feedbackService.showSuccessModal("licenses.document_management.remove_from_licenses_succeed")},error:()=>{this._feedbackService.showErrorModal()}})}})}convertToAssociatedDocumentModel(e){return e.map(i=>({din21Id:i.din21Id,acCodes:[],description:i.description,language:i.language,documentType:i.documentType,documentNumber:i.documentNumber,dateOfIssue:i.dateOfIssue,url:i.url,type:i.type,saved:void 0,deleted:void 0,valid:!0,errors:[],isPending:!1}))}get canAccessSubscriptions(){let e=this._authService.userInfo;return[dt.ADMIN,dt.ORDER_MANAGER,dt.EDITOR].some(n=>e.roles.includes(n))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-document-management"]],viewQuery:function(i,n){if(i&1&&le(Yf,5),i&2){let a;Y(a=Z())&&(n.documentListRef=a.first)}},decls:46,vars:18,consts:[["documentManagementList",""],["tableCheckboxColumnHeader",""],["tableCell",""],["tableMenu",""],["menuStaticButtons",""],["menuAnimatedButtons",""],["filterPopover","ngbPopover"],["filterPopoverContent",""],[1,"overview-container"],[1,"header"],[3,"count"],["data-cy","numberOfSelectedEntries"],[1,"container-menu-pagination"],[1,"container-table"],["sortBy","updatedOn","data-cy","table",3,"stateChange","rowsSelected","items"],["tableColumn","","columnText","licenses.title"],["tableColumn","","columnText","licenses.document_management.url","styleClasses","narrow"],["tableColumn","","columnText","orders.request.subscription","itemProperty","abos",3,"sortable"],["tableColumn","","columnText","search.document_upload.link_type","itemProperty","type","styleClasses","wide",3,"sortable"],["tableColumn","","columnText","common.description","itemProperty","description","styleClasses","wide",3,"sortable"],["tableColumn","","columnText","common.language","itemProperty","language","styleClasses","narrow"],["tableColumn","","columnText","common.document_type","itemProperty","documentType",3,"sortable"],["tableColumn","","columnText","common.metadata_label.acCode","itemProperty","acCode","styleClasses","wide",3,"sortable"],["tableColumn","","columnText","common.metadata_label.documentNumber","itemProperty","documentNumber",3,"sortable"],["tableColumn","","columnText","common.metadata_label.dateOfIssue","itemProperty","dateOfIssue",3,"sortable"],["tableColumn","","columnText","common.updatedOn","itemProperty","updatedOn",3,"sortable"],[1,"no-content"],[3,"appTable"],["menu",""],[1,"table-pagination",3,"formGroup"],["label","common.table.pagination","labelPosition","left","data-cy","paginationSize","formControlName","selectedPageSize",3,"itemSelected","items"],["data-cy","pagination",3,"pageChange","collectionSize","page","tableMenu","pageSize"],[1,"btn-group"],["type","button","data-cy","iconLinkLicense",1,"btn-menu-animated",3,"click","ngbTooltip"],["name","license-add"],["type","button","data-cy","iconUnlinkLicenses",1,"btn-menu-animated",3,"click","ngbTooltip"],["name","license-unlink"],["type","button","data-cy","iconDeleteDocuments",1,"btn-menu-animated",3,"click","disabled","ngbTooltip"],["name","delete"],["type","button","data-cy","iconCsvExport",1,"btn-menu-static",3,"click","ngbTooltip"],["name","csv-export"],["type","button","data-cy","iconCsvImport",1,"btn-menu-static",3,"ngbTooltip"],["type","button","data-cy","iconCsvImport",1,"btn-menu-static",3,"click","ngbTooltip"],["name","csv-import"],["popoverClass","filter-container","triggers","manual","placement","bottom-left","type","button",1,"btn-filter",3,"click","ngbPopover","autoClose"],["name","filter","data-cy","iconFilter",3,"ngClass"],["data-cy","filter",3,"filterClose","filter","resetFilter","documentFilter"],["type","button","data-cy","iconShowLicenseDetails",1,"btn-icon",3,"click","ngbTooltip"],["name","license-show"],["data-cy","url"],["data-cy","abos"],["data-cy","linkType"],["data-cy","description"],["data-cy","language"],["data-cy","documentType"],["data-cy","acCode"],["data-cy","documentNumber"],["data-cy","dateOfIssue"],["data-cy","updatedOn"],["sprite","icons-large","name","documents-empty-large","data-cy","iconNoDocuments",1,"icon-inactive"],["data-cy","textNoDocuments"]],template:function(i,n){if(i&1&&(l(0,"div",8)(1,"div",9)(2,"div")(3,"h1"),p(4),d(5,"transloco"),s(),w(6,"app-record-count",10),C(7,Jf,4,8,"p",11),s()(),C(8,n0,10,8,"div",12),l(9,"div",13)(10,"app-table",14,0),y("stateChange",function(m){return n.onStateChange(m)})("rowsSelected",function(m){return n.onRowsSelected(m)}),T(12,a0,6,6,"ng-template",null,1,L),l(14,"div",15),T(15,r0,4,6,"ng-template",null,2,L),s(),l(17,"div",16),T(18,s0,2,1,"ng-template",null,2,L),s(),C(20,d0,3,1,"div",17),l(21,"div",18),T(22,p0,3,3,"ng-template",null,2,L),s(),l(24,"div",19),T(25,m0,2,1,"ng-template",null,2,L),s(),l(27,"div",20),T(28,u0,4,5,"ng-template",null,2,L),s(),l(30,"div",21),T(31,_0,3,3,"ng-template",null,2,L),s(),l(33,"div",22),T(34,h0,2,1,"ng-template",null,2,L),s(),l(36,"div",23),T(37,f0,2,1,"ng-template",null,2,L),s(),l(39,"div",24),T(40,g0,2,1,"ng-template",null,2,L),s(),l(42,"div",25),T(43,v0,3,4,"ng-template",null,2,L),s()(),C(45,C0,6,5,"div",26),s()()),i&2){let a=V(11);W("hide",n.isPending),r(4),h(u(5,16,"licenses.document_management.title")),r(2),_("count",n.totalCount),r(),b(a!=null&&a.selectedRows?7:-1),r(),b(n.documents?8:-1),r(2),_("items",n.documents),r(10),b(n.canAccessSubscriptions?20:-1),r(),_("sortable",!0),r(3),_("sortable",!0),r(6),_("sortable",!0),r(3),_("sortable",!0),r(3),_("sortable",!0),r(3),_("sortable",!0),r(3),_("sortable",!0),r(3),b(n.totalCount===0?45:-1)}},dependencies:[Ee,ze,aa,G,kt,Yt,te,Pt,Je,fe,Ie,je,$e,St,Ft,oe,Zt,zt,Lt,$,si,Xc,B,ed],encapsulation:2})}}return t})();function b0(t,o){if(t&1&&(l(0,"span",15),p(1),d(2,"transloco"),s()),t&2){let e=c(2);r(),lt(" ",u(2,2,"user_management.sso.fixed_value"),": ",e.item.fieldSelection," ")}}function y0(t,o){t&1&&(l(0,"span",15),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" ",u(2,1,"common.please_choose")," "))}function S0(t,o){if(t&1&&(C(0,b0,3,4,"span",15),C(1,y0,3,3,"span",15)),t&2){let e=c();b(e.item.fieldSelection!==""?0:-1),r(),b(e.item.fieldSelection===""?1:-1)}}function x0(t,o){if(t&1&&(l(0,"span",5),p(1),d(2,"transloco"),s()),t&2){let e=c();r(),D(" ",u(2,1,e.fieldValue)," ")}}function w0(t,o){t&1&&(l(0,"span",7)(1,"span",16),p(2),d(3,"transloco"),s(),w(4,"app-icon",17),s()),t&2&&(r(2),h(u(3,1,"licenses.document_stamps.error_missing_selection")))}function T0(t,o){if(t&1){let e=I();l(0,"app-select",18),y("itemSelected",function(n){S(e);let a=c();return x(a.onFieldSelected(n))}),s()}if(t&2){let e=c();_("isMandatory",!0)("items",e.availableFields)("showUnselectItem",!0)("manualValidation",e.settingsForm.errors===null)}}function E0(t,o){if(t&1){let e=I();l(0,"div")(1,"label",19),p(2),d(3,"transloco"),s(),l(4,"input",20),y("input",function(n){S(e);let a=c();return x(a.onValueChanged(n))}),s()()}if(t&2){let e=c();r(2),h(u(3,3,"user_management.sso.fixed_value")),r(2),_("value",Nn(e.item.fieldSelection))}}function D0(t,o){if(t&1){let e=I();l(0,"app-select",21),y("itemSelected",function(n){S(e);let a=c();return x(a.onPositionSelected(n))}),s()}if(t&2){let e=c();_("isMandatory",!0)("items",e.positionOptions)("showUnselectItem",!0)("manualValidation",e.settingsForm.errors===null)}}var id=(()=>{class t{constructor(){this._formBuilder=g(di),this.isExpanded=!1,this.expandingFinished=!1,this.deleted=new K,this.updated=new K}ngOnInit(){this.item.fieldType.toLowerCase()==="free"&&(this.item.fieldSelection=this.sanitizeText(this.item.fieldSelection)),this.settingsForm=this._formBuilder.group({fields:this._formBuilder.control(this.item.fieldSelection,[mn.required]),positions:this._formBuilder.control(this.item.position,[mn.required])}),this.stampsForm.controls.stamps.push(this.settingsForm),this.positionOptions$.subscribe(i=>{i.length>0&&(this.positionOptions=ae.clone(i),this.enableSelectedField(),this.fieldValue=this.getFieldText(this.item.fieldSelection),this.fieldPosition=this.getPositionText(this.item.position))})}onFieldSelected(e){let i=this.item;this.item.fieldSelection=e,this.updated.emit({orig:i,update:this.item})}onPositionSelected(e){let i=this.item;this.item.position=e,this.updated.emit({orig:i,update:this.item})}onValueChanged(e){let i=this.item,n=this.sanitizeText(e.target.value).trim();this._debounceTimer&&clearTimeout(this._debounceTimer),this.item.fieldSelection=n,this._debounceTimer=setTimeout(()=>{this.updated.emit({orig:i,update:this.item})}),this.item.fieldType.toLowerCase()==="free"&&this.settingsForm.get("fields").patchValue(n)}sanitizeText(e){if(!e)return"";let i=/<\/?[^>]+>/gi;
1return e.replace(i,"[invalid content]").trim()}toggleStamp(){this.isExpanded=!this.isExpanded}onDeleteStamp(){this.deleted.emit(this.item)}onCollapseAnimationDone(e){e.toState==="expanded"&&(this.expandingFinished=!0),e.toState==="collapsed"&&(this.expandingFinished=!1)}getPositionText(e){return this.positionOptions?.find(i=>i.value===e)?.text??"common.please_choose"}getFieldText(e){let i=this.item.fieldSelection??"common.please_choose";return this.item.fieldType.toLowerCase()!=="free"&&(i=this.availableFields.find(n=>n.value===e)?.text??"common.please_choose"),i}enableSelectedField(){let e=this.positionOptions.find(i=>i.value===this.item.position);e&&(e.disabled=!1)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-document-stamp"]],inputs:{positionOptions$:"positionOptions$",availableFields:"availableFields",item:"item",stampsForm:"stampsForm"},outputs:{deleted:"deleted",updated:"updated"},decls:28,vars:29,consts:[[1,"stamp"],[1,"header"],["type","button","data-cy","toggleField",1,"btn-collapse-small",3,"click"],["name","chevron",3,"direction"],[1,"data"],["data-cy","field"],["data-cy","position",1,"position"],[1,"error"],["type","button","data-cy","deleteField",1,"btn-icon-remove",3,"click","ngbTooltip"],["name","delete"],[1,"settings",3,"formGroup"],[1,"mandatory-fields"],["label","licenses.document_stamps.field","formControlName","fields","data-cy","selectField",3,"isMandatory","items","showUnselectItem","manualValidation"],["label","licenses.document_stamps.position","formControlName","positions","data-cy","selectPosition",3,"isMandatory","items","showUnselectItem","manualValidation"],["label","licenses.document_stamps.show_only_on_first_page","data-cy","activateOnlyFirstPage",3,"valueChange","value"],["data-cy","field",1,"field"],["data-cy","errorMessage",1,"error-text"],["name","alert",1,"icon-alert"],["label","licenses.document_stamps.field","formControlName","fields","data-cy","selectField",3,"itemSelected","isMandatory","items","showUnselectItem","manualValidation"],["for","field"],["id","field","data-cy","valueInput",3,"input","value"],["label","licenses.document_stamps.position","formControlName","positions","data-cy","selectPosition",3,"itemSelected","isMandatory","items","showUnselectItem","manualValidation"]],template:function(i,n){i&1&&(l(0,"div",0)(1,"div",1)(2,"button",2),y("click",function(){return n.toggleStamp()}),w(3,"app-icon",3),l(4,"span",4),C(5,S0,2,2),C(6,x0,3,3,"span",5),l(7,"span",6)(8,"span"),p(9),d(10,"transloco"),d(11,"transloco"),s(),l(12,"span"),p(13),d(14,"transloco"),d(15,"transloco"),s()()(),C(16,w0,5,3,"span",7),s(),l(17,"button",8),d(18,"transloco"),d(19,"transloco"),y("click",function(){return n.onDeleteStamp()}),w(20,"app-icon",9),s()(),l(21,"div"),y("@collapseAnimation.done",function(m){return n.onCollapseAnimationDone(m)}),l(22,"div",10)(23,"div",11),C(24,T0,1,4,"app-select",12),C(25,E0,5,5,"div"),C(26,D0,1,4,"app-select",13),s(),l(27,"app-checkbox",14),Te("valueChange",function(m){return we(n.item.onlyFirstPage,m)||(n.item.onlyFirstPage=m),m}),s()()()()),i&2&&(r(3),_("direction",n.isExpanded?"down":"right"),r(2),b(n.item.fieldType.toLowerCase()==="free"?5:-1),r(),b(n.item.fieldType.toLowerCase()!=="free"?6:-1),r(3),lt("",u(10,17,"licenses.document_stamps.position"),": ",u(11,19,n.fieldPosition)),r(4),h(n.item.onlyFirstPage?", "+u(14,21,"licenses.document_stamps.only_on_first_page"):u(15,23,"")),r(3),b((n.settingsForm==null?null:n.settingsForm.errors)!==null?16:-1),r(),_("ngbTooltip",u(18,25,"common.delete")),k("aria-label",u(19,27,"common.delete")),r(4),W("limit-content",!(n.isExpanded&&n.expandingFinished)),_("@collapseAnimation",n.isExpanded?"expanded":"collapsed"),r(),_("formGroup",n.settingsForm),r(2),b(n.item.fieldType.toLowerCase()!=="free"?24:-1),r(),b(n.item.fieldType.toLowerCase()==="free"?25:-1),r(),b(n.positionOptions?26:-1),r(),xe("value",n.item.onlyFirstPage))},dependencies:[Dt,G,te,Je,fe,Ie,je,$e,oe,$,Ft,B],styles:[".header[_ngcontent-%COMP%]{align-items:center;background-color:var(--color-gray-light);display:flex}.header[_ngcontent-%COMP%]   .data[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;overflow:hidden}.header[_ngcontent-%COMP%]   .data[_ngcontent-%COMP%]   .field[_ngcontent-%COMP%]{max-width:100%;overflow:hidden;text-overflow:ellipsis}.header[_ngcontent-%COMP%]   .data[_ngcontent-%COMP%]   .position[_ngcontent-%COMP%]{font-family:var(--font-family-regular)}.header[_ngcontent-%COMP%]   .btn-icon-remove[_ngcontent-%COMP%]{border-radius:0;height:2.75rem;width:2.75rem}.header[_ngcontent-%COMP%]   .error[_ngcontent-%COMP%]{display:flex;align-items:center;margin-left:var(--spacer)}.header[_ngcontent-%COMP%]   .error[_ngcontent-%COMP%]   .error-text[_ngcontent-%COMP%]{margin-right:calc(var(--spacer) / 2);color:var(--color-alert);font-family:var(--font-family-regular)}.settings[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:calc(var(--spacer) * 2);padding:var(--spacer) calc(var(--spacer) * 2.5);position:relative;overflow:visible}.settings[_ngcontent-%COMP%] > .mandatory-fields[_ngcontent-%COMP%]{display:flex;gap:var(--spacer)}.settings[_ngcontent-%COMP%] > .mandatory-fields[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{flex:1;max-width:24rem}.settings[_ngcontent-%COMP%] > .mandatory-fields[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{min-width:12rem}.limit-content[_ngcontent-%COMP%]{overflow:hidden}.hidden[_ngcontent-%COMP%]{visibility:hidden}"],data:{animation:[Rs]}})}}return t})();var nd=(()=>{class t{constructor(){this.modalService=g(X),this._searchService=g(yt),this._uiService=g(He),this._cdr=g(Be),this._initialSearchRequest={},this.isApplySearchButtonDisable=!0,this.searchRequest={},this.searchRequestClone={},this.searchResult=null,this.currentPaginationFromSearch=1,this.selectedDin21Ids=[],this._pageSizeForSearch=25}set initialSearchRequest(e){this._initialSearchRequest=e||{},this.searchRequest=ae.cloneDeep(this._initialSearchRequest),this.searchRequestClone=ae.cloneDeep(this.searchRequest),this.searchRequestClone.dynamicSearchFields=this.mapDynamicParameters(this.searchRequestClone.dynamicSearchFields),this.searchResult=null,this.currentPaginationFromSearch=1,this.selectedDin21Ids=[],this._cdr.detectChanges()}get initialSearchRequest(){return this._initialSearchRequest}get pageSizeForSearch(){return this._pageSizeForSearch}set pageSizeForSearch(e){this._pageSizeForSearch=e||25}onSearchWithParams(e){this.currentPaginationFromSearch=e.pageNumber;let i=e.searchRequest??this.searchRequest;this.searchRequest=ae.cloneDeep(i),this.searchRequest=Ae(se({},this.searchRequest||{}),{withDocument:!0}),this.searchRequestClone=ae.cloneDeep(this.searchRequest),this.executeSearch(e)}onSearchParamsChanged(e){this.pageSizeForSearch=e.pageSize,this.onSearchWithParams(e)}onRowsSelected(e){this.selectedDin21Ids=[],e?.forEach(i=>
1{let n=i?.item?.din21Id;n&&this.selectedDin21Ids.push(n)})}onResetSearch(){this.searchResult=null,this.currentPaginationFromSearch=1}executeSearch(e){if(!e)return;this._uiService.showSpinner();let i=e.sortField,n=e.sortDir;this._searchService.search(this.searchRequest,this.pageSizeForSearch,e.pageNumber,i,n,!0).subscribe({next:a=>{this.searchResult=a,this._uiService.hideSpinner(),this._cdr.markForCheck?.()},error:()=>{this._uiService.hideSpinner(),this._cdr.markForCheck?.()}}),this.isApplySearchButtonDisable=!1}onApplyClicked(){this.modalService.close({searchRequest:this.searchRequest,searchResult:this.searchResult})}mapDynamicParameters(e){return e?.map(i=>Ae(se({},i),{fieldName:i.fieldName==="documentNr"?"documentNumber":i.fieldName}))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-stamp-search-modal"]],inputs:{_initialSearchRequest:"_initialSearchRequest",initialSearchRequest:"initialSearchRequest"},decls:6,vars:11,consts:[[3,"border","modalTitle"],[1,"overlay-body"],[1,"container-table"],["data-cy","extendedSearchInModal",3,"searchWithParams","inline","isCollectionLicense","searchRequest","suppressUrlSync"],["data-cy","hitlistInModal",3,"searchChanged","resultList","currentPaginationFromSearch","disableSelection","showContextMenu"],["saveButtonText","common.adopt",3,"saveButtonClick","isSaveButtonDisabled"]],template:function(i,n){i&1&&(w(0,"app-modal-header",0),l(1,"div",1)(2,"div",2)(3,"app-extended-search",3),y("searchWithParams",function(m){return n.onSearchWithParams(m)}),s()(),l(4,"app-hitlist",4),y("searchChanged",function(m){return n.onSearchParamsChanged(m)}),s()(),l(5,"app-modal-footer",5),y("saveButtonClick",function(){return n.onApplyClicked()}),s()),i&2&&(_("border",!0)("modalTitle","licenses.detail.edit_search"),r(3),_("inline",!0)("isCollectionLicense",!0)("searchRequest",n.searchRequestClone)("suppressUrlSync",!0),r(),_("resultList",n.searchResult)("currentPaginationFromSearch",n.currentPaginationFromSearch)("disableSelection",!0)("showContextMenu",!1),r(),_("isSaveButtonDisabled",n.isApplySearchButtonDisable))},dependencies:[Xe,et,Ai,Li],styles:[".overlay-body[_ngcontent-%COMP%]{padding:calc(var(--spacer) * 2);max-height:75vh;overflow:auto}"]})}}return t})();var ge=(function(t){return t.TOP_1="TopLeft",t.TOP_2="TopCenter",t.TOP_3="TopRight",t.LEFT_1="LeftSideTop",t.LEFT_2="LeftSideCenter",t.LEFT_3="LeftSideBottom",t.RIGHT_1="RightSideTop",t.RIGHT_2="RightSideCenter",t.RIGHT_3="RightSideBottom",t.BOTTOM_1="BottomLeft",t.BOTTOM_2="BottomCenter",t.BOTTOM_3="BottomRight",t.DIAGONAL_1="DiagonalTop",t.DIAGONAL_2="DiagonalBottom",t})(ge||{});var Kn=(function(t){return t[t.ALL_PAGES=0]="ALL_PAGES",t[t.FIRST_PAGE=1]="FIRST_PAGE",t})(Kn||{});var yi=(function(t){return t.METADATA="Metadata",t.USER_DATA="Userdata",t.FREE_TEXT="Free",t.PRO_METADATA="ProMetadata",t})(yi||{});var la=(()=>{class t{constructor(){this.stampConfigurationLoaded$=new Ut(!1),this.translocoLinks={Username:"user_management.users.username",Forename:"user_management.users.first_name",Surname:"user_management.users.last_name",Email:"user_management.users.email",Location:"user_management.users.location",Language:"common.language",Roles:"user_management.users.roles",Salutation:"user_management.users.salutation",Abbreviation:"user_management.users.abbreviation",Information:"user_management.users.information",Company:"common.company_name",Department:"user_management.users.department",PhoneNumber:"user_management.users.phone_number",CostCenters:"user_management.cost_center",CurrentDate:"licenses.document_stamps.printing_date",Current:"licenses.document_stamps.current_valid_withdrawn",AcCode:"common.metadata_label.acCode",FlagStatus:"common.metadata_label.flagStatus",Product_id:"observation.metadata.product_id",LinkHandbook:"common.metadata_label.linkHandbook",Publication_date:"observation.metadata.publication_date",Author:"common.metadata_label.author",NoteUnd:"common.metadata_label.noteUnd",NoteEn:"common.metadata_label.noteEn",NoteFr:"common.metadata_label.noteFr",NoteDe:"common.metadata_label.noteDe",Custom_field:"common.metadata_label.custom_field",Confirmation_date:"observation.metadata.confirmation_date",Publishing:"common.metadata_label.publishing",CeInfo:"common.metadata_label.ceInfo",Amends:"observation.metadata.amends",Status:"observation.metadata.status",DocumentNumber:"common.metadata_label.documentNumber",Overview:"common.metadata_label.overview",Expiry_date:"observation.metadata.expiry_date",Appearance:"common.metadata_label.appearance",Amended_by:"observation.metadata.amended_by",Effective_date:"observation.metadata.effective_date",Issuing_body:"observation.metadata.issuing_body",ClassificationIcs:"common.metadata_label.classificationIcs",InternationalRelationship:"common.metadata_label.internationalRelationship",ClassificationOther:"common.metadata_label.classificationOther",Abstract_de:"observation.metadata.abstract_de",Abstract_en:"observation.metadata.abstract_en",Abstract_fr:"observation.metadata.abstract_fr",Abstract_other:"observation.metadata.abstract_other",Origin_code:"observation.metadata.origin_code",Replaced_by:"observation.metadata.replaced_by",OriginalLanguage:"common.metadata_label.originalLanguage",Price
1:"observation.metadata.price",Published_in:"observation.metadata.published_in",Sectional_list:"observation.metadata.sectional_list",LinkLegislation:"common.metadata_label.linkLegislation",Format_pages:"observation.metadata.format_pages",Sort_key:"observation.metadata.sort_key",DescriptorDe:"common.metadata_label.descriptorDe",DescriptorEn:"common.metadata_label.descriptorEn",DescriptorFr:"common.metadata_label.descriptorFr",DescriptorUnd:"common.metadata_label.descriptorUnd",TitleDynamic:"common.metadata_label.titleDynamic",TitleDe:"common.metadata_label.titleDe",TitleEn:"common.metadata_label.titleEn",TitleFr:"common.metadata_label.titleFr",TitleUnd:"common.metadata_label.titleUnd",TransitionPeriod:"common.metadata_label.transitionPeriod",Translations:"common.metadata_label.translations",Version:"common.metadata_label.version",Full_text_address:"observation.metadata.full_text_address",EdvNr:"common.metadata_label.edvNr",Replaces:"common.metadata_label.replaces",Draft_superseded:"observation.metadata.draft_superseded",LinkCertification:"common.metadata_label.linkCertification",Citation:"common.metadata_label.citation",WithdrawalDate:"common.metadata_label.withdrawalDate",DocumentTypePro:"common.metadata_label.pro_metadata.documentTypePro",UpdatePro:"common.metadata_label.pro_metadata.updatePro",MonitoringStatus:"common.metadata_label.pro_metadata.monitoringStatus",RuleSetPro:"common.metadata_label.pro_metadata.ruleSetPro",CreatedBy:"common.metadata_label.pro_metadata.createdBy",CreatedAt:"common.metadata_label.pro_metadata.createdAt",ModifiedBy:"common.metadata_label.pro_metadata.modifiedBy",ModifiedAt:"common.metadata_label.pro_metadata.modifiedAt",ClassificationPro:"common.metadata_label.pro_metadata.classificationPro",Info:"common.metadata_label.pro_metadata.info",IsCited:"common.metadata_label.pro_metadata.isCited",RegionalValidity:"common.metadata_label.pro_metadata.regionalValidity",PricePro:"common.metadata_label.pro_metadata.pricePro",PublisherPro:"common.metadata_label.pro_metadata.publisherPro",SourcePro:"common.metadata_label.pro_metadata.sourcePro",CertifiedBy:"common.metadata_label.pro_metadata.certifiedBy",CertifiedDate:"common.metadata_label.pro_metadata.certifiedDate",ReleaseLevel:"common.metadata_label.pro_metadata.releaseLevel",ReleaseComment:"common.metadata_label.pro_metadata.releaseComment",ChangeDescription:"common.metadata_label.pro_metadata.changeDescription",RevisionVersion:"common.metadata_label.pro_metadata.revisionVersion",ReminderDate:"common.metadata_label.pro_metadata.reminderDate",DocumentOwners:"common.metadata_label.pro_metadata.documentOwners",LastReview:"common.metadata_label.pro_metadata.lastReview",UpdateInterval:"common.metadata_label.pro_metadata.updateInterval"},this._translocoService=g(Q),this._httpClient=g(li),this._configService=g($t),this._authService=g(Pe),this.userId=this._authService.userInfo.userAccountId}initialize(e){this.getStampsManagementConfiguration(e).subscribe(i=>{let n=i,a=Ae(se({},n),{defaultConfiguration:Ae(se({},n.defaultConfiguration),{searchForm:nt.convertSearchFormDtoToSearchFormModel(n?.defaultConfiguration?.searchForm)}),currentConfiguration:Ae(se({},n.currentConfiguration??n.defaultConfiguration),{searchForm:nt.convertSearchFormDtoToSearchFormModel(n.currentConfiguration?n.currentConfiguration?.searchForm:n.defaultConfiguration?.searchForm)})});i&&(this.metadataFields=this.getSelectionFields(a.metadataFields),this.proMetadataFields=this.getSelectionFields(a.proMetadataFields),this.userdataFields=this.getSelectionFields(a.userdataFields),this.freetextFields=this.getSelectionFields(a.freeTextFields),this.defaultStampConfiguration=a.defaultConfiguration,this.currentStampConfiguration=a.currentConfiguration??ae.clone(this.defaultStampConfiguration),this.stampConfigurationLoaded$.next(!0))})}update(e){return this.initialize(e)}getStamps(e,i,n,a){let m=`${this._configService.baseConfig.baseUrl}${this._configService.baseConfig.extension}/documentaccess/stamp?pageSize=${i}&pageNumber=${e-1}`,f=new Gr().set("pageSize",i).set("pageNumber",e.toString()).set("sortField",n).set("sortdir",a);return this._httpClient.get(m,{params:f})}getAvailableStampLocations(e){return[{text:this._translocoService.translate("licenses.document_stamps.top")+" 1",value:ge.TOP_1,disabled:e.some(i=>i.position===ge.TOP_1)},{text:this._translocoService.translate("licenses.document_stamps.top")+" 2",value:ge.TOP_2,disabled:e.some(i=>i.position===ge.TOP_2)},{text:this._translocoService.translate("licenses.document_stamps.top")+" 3",value:ge.TOP_3,disabled:e.some(i=>i.position===ge.TOP_3)},{text:this._translocoService.translate("licenses.document_stamps.left")+" 1",value:ge.LEFT_1,disabled:e.some(i=>i.position===ge.LEFT_1)},{text:this._translocoService.translate("licenses.document_stamps.left")+" 2",value:ge.LEFT_2,disabled:e.some(i=>i.position===ge.LEFT_2)},{text:this._translocoService.translate("licenses.document_stamps.left")+" 3",value:ge.LEFT_3,disabled:e.some(i=>i.position===ge.LEFT_3)},{text:this._translocoService.translate("licenses.document_stamps.right")+" 1",value:ge.RIGHT_1,disabled:e.some(i=>i.position===ge.RIGHT_1)},{text:this._translocoService.translate("licenses.document_stamps.right")+" 2",value:ge.RIGHT_2,disabled:e.some(i=>i.position===ge.RIGHT_2)},{text:this._translocoService.translate("licenses.document_stamps.right")+" 3",value:ge.RIGHT_3,disabled:e.some(i=>i.position===ge.RIGHT_3)},{text:this._translocoService.translate("licenses.document_stamps.bottom")+" 1",value:ge.BOTTOM_1,disabled:e.some(i=>i.position===ge.BOTTOM_1)},{text:this._translocoService.translate("licenses.document_stamps.bottom")+" 2",value:ge.BOTTOM_2,disabled:e.some(i=>i.position===ge.BOTTOM_2)},{text:this._translocoService.translate("licenses.document_stamps.bottom")+" 3",value:ge.BOTTOM_3,disabled:e.some(i=>i.position===ge.BOTTOM_3)},{text:this._translocoService.translate("licenses.document_stamps.diagonal")+" 1",value:ge.DIAGONAL_1,disabled:e.some(i=>i.position===ge.DIAGONAL_1)},{text:this._translocoService.translate("licenses.document_stamps.diagonal")+" 2",value:ge.DIAGONAL_2,disabled:e.some(i=>i.position===ge.DIAGONAL_2)}]}updateStamps(e){let i=`${this._configService.baseConfig.baseUrl}${this._configService.baseConfig.extension}/documentaccess/stamp`,n={};return n.isActive=e.isActive,n.searchForm=nt.convertSearchFormModelToSearchFormDto(e.searchForm),n.stamps=e.stamps,n.name=e.name,e.id&&(n.id=e.id),this._httpClient.put(i,n,{observe:"response"}
1).pipe(be(a=>a.status===Di.OK))}bulkDelete(e){let i=`${this._configService.baseConfig.baseUrl}${this._configService.baseConfig.extension}/documentaccess/stamp/bulkDelete`;return this._httpClient.post(i,{ids:e})}getCount(){let e=`${this._configService.baseConfig.baseUrl}${this._configService.baseConfig.extension}/documentaccess/stamp/count`;return this._httpClient.get(e)}getStamp(e){let i=`${this._configService.baseConfig.baseUrl}${this._configService.baseConfig.extension}/documentaccess/stamp/${e}`;return this._httpClient.get(i).pipe(be(n=>Ae(se({},n.currentConfiguration??n.defaultConfiguration),{searchForm:nt.convertSearchFormDtoToSearchFormModel(n.currentConfiguration?n.currentConfiguration.searchForm:n.defaultConfiguration.searchForm)})))}getFieldName(e){return this._translocoService.translate(this.translocoLinks[e])}getSelectionFields(e){let i=[];return e?.forEach(n=>{i.push({text:this.getFieldName(n),value:n})}),i=i.sort((n,a)=>n.text?.localeCompare(a.text)),i}getStampsManagementConfiguration(e){let i=`${this._configService.baseConfig.baseUrl}${this._configService.baseConfig.extension}/documentaccess/stamp/${e}`;return this._httpClient.get(i,{observe:"response"}).pipe(be(n=>mo.isAccepted(n.status)?n.body:null),Le(()=>st(null)))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=ye({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var I0=["stampListContainer"],M0=(t,o)=>[t,o],od=t=>[t];function k0(t,o){t&1&&(p(0),d(1,"transloco")),t&2&&D(" ",u(1,1,"licenses.document_stamps.edit_stamp")," ")}function F0(t,o){t&1&&(p(0),d(1,"transloco")),t&2&&D(" ",u(1,1,"licenses.document_stamps.create_stamp")," ")}function L0(t,o){if(t&1){let e=I();l(0,"button",65),d(1,"transloco"),d(2,"transloco"),y("click",function(){S(e);let n=c(2);return x(n.delete())}),p(3),d(4,"transloco"),s()}t&2&&(_("ngbTooltip",u(1,3,"common.delete")),k("aria-label",u(2,5,"common.delete")),r(3),D(" ",u(4,7,"common.delete")," "))}function P0(t,o){t&1&&(l(0,"p",13),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" ",u(2,1,"licenses.document_stamps.default")," "))}function A0(t,o){t&1&&(l(0,"span",67)(1,"span",68),p(2),d(3,"transloco"),s(),w(4,"app-icon",69),s()),t&2&&(r(2),D(" ",u(3,1,"common.please_fill_this_field")," "))}function N0(t,o){if(t&1&&(w(0,"input",66),C(1,A0,5,3,"span",67)),t&2){let e,i=c(2);_("value",i.currentStampConfiguration.name),r(),b((e=i.stampsForm.get("name"))!=null&&e.invalid&&((e=i.stampsForm.get("name"))!=null&&e.touched)?1:-1)}}function O0(t,o){if(t&1&&w(0,"app-record-count",70),t&2){let e=c(3);_("size","small")("count",e.foundCount)}}function R0(t,o){t&1&&(l(0,"p",20),p(1),d(2,"transloco"),s()),t&2&&(r(),h(u(2,1,"search.all_records")))}function B0(t,o){if(t&1&&(l(0,"div"),C(1,O0,1,2,"app-record-count",70),C(2,R0,3,3,"p",20),w(3,"app-search-criteria",71),s()),t&2){let e=c(2);r(),b(e.isBlankSearch?-1:1),r(),b(e.isBlankSearch?2:-1),r(),_("searchRequest",e.currentSearchRequestClone)("inline",!0)}}function z0(t,o){t&1&&(l(0,"p",20),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" ",u(2,1,"search.all_records")," "))}function V0(t,o){t&1&&(l(0,"div",22),w(1,"app-icon",72),l(2,"p",73),p(3),d(4,"transloco"),s()()),t&2&&(r(3),h(u(4,1,"search.no_search_criteria_added")))}function q0(t,o){if(t&1){let e=I();l(0,"app-document-stamp",74),y("deleted",function(n){S(e);let a=c(2);return x(a.deleteStamp(n))})("updated",function(n){S(e);let a=c(2);return x(a.updateStamp(n))}),s()}if(t&2){let e=o.$implicit,i=c(2);_("positionOptions$",i.positionOptions$)("availableFields",i.metadataFields)("stampsForm",i.stampsForm)("item",e)}}function U0(t,o){if(t&1){let e=I();l(0,"app-document-stamp",75),y("deleted",function(n){S(e);let a=c(2);return x(a.deleteStamp(n))})("updated",function(n){S(e);let a=c(2);return x(a.updateStamp(n))}),s()}if(t&2){let e=o.$implicit,i=c(2);_("positionOptions$",i.positionOptions$)("availableFields",i.userdataFields)("stampsForm",i.stampsForm)("item",e)}}function H0(t,o){if(t&1){let e=I();l(0,"app-document-stamp",76),y("deleted",function(n){S(e);let a=c(2);return x(a.deleteStamp(n))})("updated",function(n){S(e);let a=c(2);return x(a.updateStamp(n))}),s()}if(t&2){let e=o.$implicit,i=c(2);_("positionOptions$",i.positionOptions$)("availableFields",i.freetextFields)("stampsForm",i.stampsForm)("item",e)}}function $0(t,o){if(t&1){let e=I();l(0,"form",2),y("ngSubmit",function(){S(e);let n=c();return x(n.onSubmit())}),l(1,"div",3)(2,"h1"),C(3,k0,2,3)(4,F0,2,3),s(),l(5,"div",4)(6,"button",5),d(7,"transloco"),d(8,"transloco"),y("click",function(){S(e);let n=c();return x(n.resetToDefault())}),w(9,"app-icon",6),s(),C(10,L0,5,9,"button",7),l(11,"button",8),y("click",function(){S(e);let n=c();return x(n.onCancel())}),p(12),d(13,"transloco"),s(),l(14,"button",9),p(15),d(16,"transloco"),s()()(),l(17,"div",10)(18,"h2"),p(19),d(20,"transloco"),s(),l(21,"div",11)(22,"div")(23,"label",12),p(24),d(25,"transloco"),s(),C(26,P0,3,3,"p",13)(27,N0,2,2),s(),l(28,"app-checkbox",14),Te("valueChange",function(n){S(e);let a=c();return we(a.currentStampConfiguration.isActive,n)||(a.currentStampConfiguration.isActive=n),x(n)}),s()()(),l(29,"div",15)(30,"div",16)(31,"h2"),p(32),d(33,"transloco"),s(),l(34,"div",4)(35,"button",17),d(36,"transloco"),d(37,"transloco"),y("click",function(){S(e);let n=c();return x(n.removeFilter())}),w(38,"app-icon",18),s(),l(39,"button",19),y("click",function(){S(e);let n=c();return x(n.editFilter())}),l(40,"span"),p(41),d(42,"transloco"),s()()()(),C(43,B0,4,4,"div"),l(44,"div")(45,"div"),C(46,z0,3,3,"p",20),l(47,"div",21)(48,"p"),p(49),d(50,"transloco"),s(),l(51,"p"),p(52),d(53,"transloco"),s()()(),C(54,V0,5,3,"div",22),s()(),l(55,"div",23)(56,"div",24,0)(58,"h2",25),p(59),d(60,"transloco"),s(),l(61,"div",26)(62,"div",27)(63,"div",16)(64,"h3",28),p(65),d(66,"transloco"),s(),l(67,"button",29),y("click",function(){S(e);let n=c();return x(n.addStamp(n.stampType.METADATA))}),l(68,"span"),p(69),d(70,"transloco"),s()()(),ue(71,q0,1,4,"app-document-stamp",30,Se),s(),l(73,"div",31)(74,"div",16)(75,"h3",32),p(76),d(77,"transloco"),s(),l(78,"button",33),y("click",function(){S(e);let n=c();return x(n.addStamp(n.stampType.USER_DATA))}),l(79,"span"),p(80),d(81,"transloco"),s()()(),ue(82,U0,1,4,"app-document-stamp",34,Se),s(),l(84,"div",35)(85,"div",16)(86,"h3",36),p(87),d(88,"transloco"),s(),l(89,"button",37),y("click",function(){S(e);let n=c();return x(n.addStamp(n.stampType.FREE_TEXT))}),p(90),d(91,"transloco"),s()(),ue(92,H0,1,4,"app-document-stamp",38,Se),s()()(),l(94,"div",39)(95,"h2",40),p(96),d(97,"transloco"),s(),l(98,"div",41)(99,"button",42),y("click",function(){S(e);let n=c();return x(n.setPreviewMode(n.stampPreviewMode.ALL_PAGES))}),p(100),d(101,"transloco"),s(),l(102,"button",43),y("click",function(){S(e);let n=c();return x(n.setPreviewMode(n.stampPreviewMode.FIRST_PAGE))}),p(103),d(104,"transloco"),s()(),l(105,"div",44),w(106,"div",45),l(107,"div",46),w(108,"div",47)(109,"div",48),s(),l(110,"div",49),w(111,"div",50),l(112,"div",51),p(113),d(114,"transloco"),s(),l(115,"div",52),p(116),d(117,"transloco"),s(),l(118,"div",53),p(119),d(120,"transloco"),s(),l(121,"div",54),p(122),d(123,"transloco"),s(),l(124,"div",55),p(125),d(126,"transloco"),s(),l(127,"div",56),p(128),d(129,"transloco"),s(),l(130,"div",57),p(131),d(132,"transloco"),s(),l(133,"div",58),p(134),d(135,"transloco"),s(),l(136,"div",59),p(137),d(138,"transloco"),s(),l(139,"div",60),p(140),d(141,"transloco"),s(),l(142,"div",61),p(143),d(144,"transloco"),s(),l(145,"div",62),p(146),d(147,"transloco"),s(),l(148,"div",63),p(149),d(150,"transloco"),s(),l(151,"div",64),p(152),d(153,"transloco"),s()()()()()()}if(t&2){let e=c();_("formGroup",e.stampsForm),r(3),b(e.mode==="edit"?3:4),r(3),_("ngbTooltip",u(7,77,"licenses.document_stamps.reset")),k("aria-label",u(8,79,"licenses.document_stamps.reset")),r(4),b(e.isDeletable?10:-1),r(2),D(" ",u(13,81,"common.cancel")," "),r(3),D(" ",u(16,83,"common.save")," "),r(4),h(u(20,85,"common.properties")),r(5),h(u(25,87,"licenses.document_stamps.name")),r(2),b(e.isDefault?26:27),r(2),xe("value",e.currentStampConfiguration.isActive),r(4),h(u(33,89,"licenses.document_stamps.search_filter")),r(3),_("disabled",e.currentSearchRequest===void 0)("ngbTooltip",u(36,91,"licenses.document_stamps.remove_filter")),k("aria-label",u(37,93,"licenses.document_stamps.remove_filter")),r(6),h(u(42,95,"licenses.document_stamps.edit_filter")),r(2),b(e.hasSearchCriteria?43:-1),r(3),b(e.hasSearchCriteria?-1:46),r(3),h(u(50,97,"licenses.document_stamps.no_filter_info")),r(3),h(u(53,99,"licenses.document_stamps.filter_info")),r(2),b(e.hasSearchCriteria?-1:54),r(5),h(u(60,101,"licenses.document_stamps.stamps")),r(6),D(" ",u(66,103,"licenses.document_stamps.metadata_fields")," "),r(4),h(u(70,105,"licenses.document_stamps.add_field")),r(2),_e(e.getStamps(Ti(149,M0,e.stampType.METADATA,e.stampType.PRO_METADATA))),r(5),h(u(77,107,"licenses.document_stamps.userdata_fields")),r(4),h(u(81,109,"licenses.document_stamps.add_field")),r(2),_e(e.getStamps(Ce(152,od,e.stampType.USER_DATA))),r(5),D(" ",u(88,111,"licenses.document_stamps.freetext_fields")," "),r(3),D(" ",u(91,113,"licenses.document_stamps.add_field")," "),r(2),_e(e.getStamps(Ce(154,od,e.stampType.FREE_TEXT))),r(4),h(u(97,115,"licenses.document_stamps.preview")),r(3),hi(e.previewMode===e.stampPreviewMode.ALL_PAGES?"btn-primary":"btn-primary-outline"),r(),D(" ",u(101,117,"licenses.document_stamps.all_pages")," "),r(2),hi(e.previewMode===e.stampPreviewMode.FIRST_PAGE?"btn-primary":"btn-primary-outline"),r(),D(" ",u(104,119,"licenses.document_stamps.page_one")," "),r(9),W("active",e.isStampPositionActive(e.stampPosition.TOP_1)),r(),D(" ",u(114,121,"licenses.document_stamps.top")," 1 "),r(2),W("active",e.isStampPositionActive(e.stampPosition.TOP_2)),r(),D(" ",u(117,123,"licenses.document_stamps.top")," 2 "),r(2),W("active",e.isStampPositionActive(e.stampPosition.TOP_3)),r(),D(" ",u(120,125,"licenses.document_stamps.top")," 3 "),r(2),W("active",e.isStampPositionActive(e.stampPosition.LEFT_1)),r(),D(" ",u(123,127,"licenses.document_stamps.left")," 1 "),r(2),W("active",e.isStampPositionActive(e.stampPosition.LEFT_2)),r(),D(" ",u(126,129,"licenses.document_stamps.left")," 2 "),r(2),W("active",e.isStampPositionActive(e.stampPosition.LEFT_3)),r(),D(" ",u(129,131,"licenses.document_stamps.left")," 3 "),r(2),W("active",e.isStampPositionActive(e.stampPosition.RIGHT_1)),r(),D(" ",u(132,133,"licenses.document_stamps.right")," 1 "),r(2),W("active",e.isStampPositionActive(e.stampPosition.RIGHT_2)),r(),D(" ",u(135,135,"licenses.document_stamps.right")," 2 "),r(2),W("active",e.isStampPositionActive(e.stampPosition.RIGHT_3)),r(),D(" ",u(138,137,"licenses.document_stamps.right")," 3 "),r(2),W("active",e.isStampPositionActive(e.stampPosition.BOTTOM_1)),r(),D(" ",u(141,139,"licenses.document_stamps.bottom")," 1 "),r(2),W("active",e.isStampPositionActive(e.stampPosition.BOTTOM_2)),r(),D(" ",u(144,141,"licenses.document_stamps.bottom")," 2 "),r(2),W("active",e.isStampPositionActive(e.stampPosition.BOTTOM_3)),r(),D(" ",u(147,143,"licenses.document_stamps.bottom")," 3 "),r(2),W("active",e.isStampPositionActive(e.stampPosition.DIAGONAL_1)),r(),D(" ",u(150,145,"licenses.document_stamps.diagonal")," 1 "),r(2),W("active",e.isStampPositionActive(e.stampPosition.DIAGONAL_2)),r(),D(" ",u(153,147,"licenses.document_stamps.diagonal")," 2 ")}}var ir=(()=>{class t{constructor(){this.previewMode=Kn.ALL_PAGES,this.stampPosition=ge,this.stampPreviewMode=Kn,this.stampType=yi,this.currentSearchRequest={},this.currentSearchRequestClone={},this.originalCurrentSearchRequest={},this.blankSearchRequest={useDynamicSearch:!1,dynamicParameters:void 0},this.changeDetectorRef=g(Be),this.emptySearchRequest={useDynamicSearch:!1,withDocument:!0},this.emptySearchResult={count:0,searchResult:[]},this.modalService=g(X),this.searchService=g(yt),this._createMode="create",this._editMode="edit",this._errorService=g(Ke),this._feedbackService=g(Ke),this._formBuilder=g(di),this._modalService=g(X),this._positionOptions=new Ut([]),this._route=g(bt),this._router=g(De),this._stampService=g(la),this._translocoService=g(Q),this.mode="create",this.defaultName="Default-Stempel"}get metadataFields(){return this._stampService.metadataFields?.concat(this._stampService.proMetadataFields)}get userdataFields(){return this._stampService.userdataFields}get freetextFields(){return this._stampService.freetextFields}get positionOptions$(){return this._positionOptions}ngOnInit(){this._tenantKey=localStorage.getItem(Gt),this._route.data.pipe(he(e=>this.mode=e.mode),he(()=>{this.mode===this._createMode?this.initCreate():this.mode===this._editMode&&this.initEdit()})).subscribe(),this._translocoService.langChanges$.subscribe(()=>{this.currentStampConfiguration?.stamps&&(this._stampService.update(this._id),this._positionOptions.next(this._stampService.getAvailableStampLocations(this.currentStampConfiguration.stamps)))})}updateStamp(e){let i=this.currentStampConfiguration.stamps,n=e.orig,a=e.update;e.update.fieldType===yi.PRO_METADATA&&(a.fieldType=yi.METADATA),e.update.fieldType===yi.METADATA&&e.update.fieldSelection&&this._stampService.proMetadataFields.some(m=>m.value===a.fieldSelection)&&(a.fieldType=yi.PRO_METADATA),i.forEac
1h((m,f)=>{m===n&&(this.currentStampConfiguration.stamps[f]=a)}),this.updateAvailablePositions()}getStamps(e){let i=this.currentStampConfiguration.stamps;return e?.length&&(i=i.filter(n=>e.includes(n.fieldType))),i}deleteStamp(e){this.currentStampConfiguration.stamps=this.currentStampConfiguration.stamps.filter(n=>n!==e);let i=this.stampsForm.get("stamps");for(let n=i.controls.length-1;n>=0;n--){let a=i.controls[n],m=e.fieldSelection??null,f=a.get("fields").value,v=a.get("positions").value;if(m===f&&v===a.get("positions").value){i.removeAt(n);break}}this.stampsForm.updateValueAndValidity(),this.updateAvailablePositions()}addStamp(e){this.currentStampConfiguration.stamps.unshift({fieldType:e,onlyFirstPage:!1}),e.toLowerCase()===yi.FREE_TEXT.toLowerCase()&&this.freetextFields.push({text:yi.FREE_TEXT.toLowerCase()+(this.freetextFields.length+1),value:""})}isStampPositionActive(e){return this.previewMode===Kn.FIRST_PAGE?this.currentStampConfiguration.stamps.some(i=>i.position===e):this.currentStampConfiguration.stamps.some(i=>i.position===e&&i.onlyFirstPage===!1)}resetToDefault(){let e=this.currentStampConfiguration.id,i=this.currentStampConfiguration.isDefault,n=this.currentStampConfiguration.name;this.currentStampConfiguration=ae.clone(this._stampService.defaultStampConfiguration),this.currentStampConfiguration.id=e,this.currentStampConfiguration.isDefault=i,this.currentStampConfiguration.name=n,this.currentSearchRequestClone=this.currentSearchRequest=void 0,this.updateAvailablePositions()}onCancel(){this._router.navigate([`${this._tenantKey}/stamp`])}onSubmit(){this.stampsForm.valid?this.save():this.stampsForm.controls.stamps.controls.forEach(e=>{(e.get("fields").errors||e.get("positions").errors)&&e.setErrors([{required:!0}])})}editFilter(){let e=this.modalService.open(nd,{windowClass:"modal-fullscreen",isCentered:!1});e.componentInstance.initialSearchRequest=ae.cloneDeep(this.currentSearchRequest),e.result.then(i=>{i&&(this.currentSearchRequest=ae.cloneDeep(i.searchRequest),this.currentSearchRequestClone=ae.cloneDeep(this.currentSearchRequest),this.searchResult=i.searchResult??this.emptySearchResult,this.changeDetectorRef.markForCheck())})}removeFilter(){this.currentSearchRequestClone=this.currentSearchRequest=void 0}get hasSearchCriteria(){let e=this.currentSearchRequest;return!!e&&Object.keys(e).length>0}get isBlankSearch(){return JSON.stringify(this.currentSearchRequest)===JSON.stringify(this.blankSearchRequest)}get foundCount(){return this.searchResult?.count||0}setPreviewMode(e){this.previewMode=e}delete(){let e=this._modalService.open(mt);e.componentInstance.isDeleteConfirmation=!0,e.componentInstance.title="licenses.document_stamps.delete_stamp_header",e.componentInstance.text="licenses.document_stamps.delete_stamp_text",e.result.then(i=>{i.preset&&this._stampService.bulkDelete([this._id]).pipe(ve(1)).subscribe({next:()=>{this._errorService.showSuccessModal("licenses.document_stamps.deleted"),this._router.navigate([`${this._tenantKey}/stamp`])},error:n=>{n.status===It.FORBIDDEN?this._errorService.showErrorModal("licenses.document_stamps.forbidden"):this._errorService.showErrorModal()}})})}init(){this.currentSearchRequest=this.currentStampConfiguration.searchForm,this.currentSearchRequestClone=ae.cloneDeep(this.currentSearchRequest),this.originalCurrentSearchRequest=this.currentSearchRequest?ae.clone(this.currentSearchRequest):null,this.currentSearchRequest!=null&&this.searchService.search(this.currentSearchRequest,1,1,void 0,void 0,!0).subscribe({next:e=>{this.searchResult={count:e?.count??0,searchResult:[]},this.changeDetectorRef.markForCheck?.()},error:()=>{this.searchResult=this.emptySearchResult,this.changeDetectorRef.markForCheck?.()}})}initCreate(){this._stampService.initialize("default"),this._stampService.stampConfigurationLoaded$.subscribe(e=>{e&&this._stampService.getCount().pipe(he(i=>{this.currentStampConfiguration=ae.clone(this._stampService.defaultStampConfiguration),this.currentStampConfiguration.id=void 0,this._positionOptions.next(this._stampService.getAvailableStampLocations(this.currentStampConfiguration.stamps)),this.init(),this.stampsForm=this._formBuilder.group({isActive:this._formBuilder.control(this.currentStampConfiguration.isActive),stamps:this._formBuilder.array([]),name:this._formBuilder.control(`${this._translocoService.translate("licenses.document_stamps.
1configuration")} ${i}`,mn.required)})})).subscribe()})}initEdit(){this._route.params.subscribe(e=>{this._id=e.id,this._stampService.getStamp(this._id).pipe(he(i=>{i.isDefault&&(i.name=this._translocoService.translate("licenses.document_stamps.default")),this.isDeletable=!i.isDefault,this.currentStampConfiguration=i,this._positionOptions.next(this._stampService.getAvailableStampLocations(this.currentStampConfiguration.stamps)),this.init(),this.isDefault=this.currentStampConfiguration.isDefault,this.stampsForm=this._formBuilder.group({isActive:this._formBuilder.control(this.currentStampConfiguration.isActive),stamps:this._formBuilder.array([]),name:[this.currentStampConfiguration.name,mn.required]})})).subscribe(),this._stampService.initialize(this._id)})}save(){JSON.stringify(this.currentSearchRequest)===JSON.stringify(this.emptySearchRequest)?this.currentStampConfiguration.searchForm=null:this.currentStampConfiguration.searchForm=this.currentSearchRequest,this.currentStampConfiguration.name=this.currentStampConfiguration.isDefault?this.defaultName:this.stampsForm.get("name").value,this._stampService.updateStamps(this.currentStampConfiguration).pipe(he(()=>{let e=this.mode===this._createMode?"licenses.document_stamps.create_success":"licenses.document_stamps.edit_success";this._feedbackService.showSuccessModal(e)}),he(()=>{this.mode==="edit"?this._router.navigate(["../../"],{relativeTo:this._route}):this._router.navigate(["../"],{relativeTo:this._route})}),Le(()=>(this._feedbackService.showErrorModal(),qe))).subscribe()}updateAvailablePositions(){this._positionOptions.next(this._stampService.getAvailableStampLocations(this.currentStampConfiguration.stamps))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-document-stamp-edit"]],viewQuery:function(i,n){if(i&1&&le(I0,5),i&2){let a;Y(a=Z())&&(n.stampListContainer=a.first)}},decls:1,vars:1,consts:[["stampListContainer",""],[3,"formGroup"],[3,"ngSubmit","formGroup"],[1,"header-container"],[1,"button-container"],["type","button",1,"btn-icon",3,"click","ngbTooltip"],["name","reset","data-cy","resetStampConfiguration"],["type","button","data-cy","deleteStampConfiguration",1,"btn-alert",3,"ngbTooltip"],["type","button","data-cy","cancelStampConfiguration",1,"btn-primary-outline",3,"click"],["type","submit","data-cy","saveStampConfiguration",1,"btn-primary"],[1,"properties-container"],[1,"stamp-name"],["for","stamp-configuration-name",1,"mandatory"],["data-cy","stampConfigurationName",1,"text-bold"],["label","licenses.document_stamps.activate_stamps","data-cy","activateStampConfiguration",1,"active-checkbox",3,"valueChange","value"],[1,"search-filter-container"],[1,"header"],["type","button","data-cy","removeFilter",1,"btn-icon",3,"click","disabled","ngbTooltip"],["name","delete",1,"icon"],["type","button","data-cy","editFilter",1,"btn-primary-outline",3,"click"],[1,"all-records","text-important"],["data-cy","infoBox",1,"box-info"],[1,"no-content"],[1,"stamp-overview-container"],[1,"stamp-list-container"],["data-cy","titleStamp"],[1,"stamp-list"],[1,"metadata-fields"],["data-cy","metadataFields"],["type","button","data-cy","addMetadataField",1,"btn-primary-outline",3,"click"],["data-cy","metadataStamp",3,"positionOptions$","availableFields","stampsForm","item"],[1,"userdata-fields"],["data-cy","userFields"],["type","button","data-cy","addUserField",1,"btn-primary-outline",3,"click"],["data-cy","userFieldStamp",3,"positionOptions$","availableFields","stampsForm","item"],[1,"freetext-fields"],["data-cy","freetextFields"],["type","button","data-cy","addFreetextField",1,"btn-primary-outline",3,"click"],["data-cy","freetextFieldStamp",3,"positionOptions$","availableFields","stampsForm","item"],[1,"stamp-plan-container"],["data-cy","titlePreview"],[1,"btn-group"],["type","button","data-cy","showAllPages",3,"click"],["type","button","data-cy","showFirstPage",3,"click"],[1,"sheet"],[1,"corner"],[1,"earmark-container"],[1,"earmark-border"],[1,"earmark"],[1,"content-area"],[1,"diagonal-line"],["data-cy","top1",1,"stamp","top-1"],["data-cy","top2",1,"stamp","top-2"],["data-cy","top3",1,"stamp","top-3"],["data-cy","left1",1,"stamp","left-1"],["data-cy","left2",1,"stamp","left-2"],["data-cy","left3",1,"stamp","left-3"],["data-cy","right1",1,"stamp","right-1"],["data-cy","right2",1,"stamp","right-2"],["data-cy","right3",1,"stamp","right-3"],["data-cy","bottom1",1,"stamp","bottom-1"],["data-cy","bottom2",1,"stamp","bottom-2"],["data-cy","bottom3",1,"stamp","bottom-3"],["data-cy","diagonal1",1,"stamp","diagonal-1"],["data-cy","diagonal2",1,"stamp","diagonal-2"],["type","button","data-cy","deleteStampConfiguration",1,"btn-alert",3,"click","ngbTooltip"],["data-cy","stampConfigurationName","id","stamp-configuration-name","name","title","formControlName","name","type","text",3,"value"],[1,"error"],["data-cy","errorMessage",1,"error-text"],["name","alert",1,"icon-alert"],[3,"size","count"],[3,"searchRequest","inline"],["name","info-large","sprite","icons-large","data-cy","iconLargeNoFilter",1,"icon-inactive"],["data-cy","textNoFilter"],["data-cy","metadataStamp",3,"deleted","updated","positionOptions$","availableFields","stampsForm","item"],["data-cy","userFieldStamp",3,"deleted","updated","positionOptions$","availableFields","stampsForm","item"],["data-cy","freetextFieldStamp",3,"deleted","updated","positionOptions$","availableFields","stampsForm","item"]],template:function(i,n){i&1&&C(0,$0,154,156,"form",1),i&2&&b(n.currentStampConfiguration&&n.stampsForm&&n.positionOptions$!==void 0&&n.metadataFields!==void 0?0:-1)},dependencies:[Dt,id,Qt,Ze,Ye,fe,Ie,G,St,xn,oe,te,je,$e,B],styles:[".header-container[_ngcontent-%COMP%]{border-bottom:var(--border);display:flex;align-items:center;justify-content:space-between;padding-block:var(--spacer)}.search-filter-container[_ngcontent-%COMP%]{border-bottom:var(--border);padding:calc(var(--spacer) * 2) 0}.search-filter-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{justify-content:space-between}.properties-container[_ngcontent-%COMP%]{border-bottom:var(--border);padding:calc(var(--spacer) * 2) 0}
1.stamp-name[_ngcontent-%COMP%]{gap:var(--spacer);align-items:center;display:flex;flex-direction:row}.active-checkbox[_ngcontent-%COMP%]{margin-top:20px}.stamp-overview-container[_ngcontent-%COMP%]{display:flex;gap:calc(var(--spacer) * 3);flex-wrap:wrap;min-width:50vw;padding-top:calc(var(--spacer) * 2)}.stamp-overview-container[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin-bottom:calc(var(--spacer) * 2)}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]{flex-grow:1}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .btn-group[_ngcontent-%COMP%]{width:22rem;margin-bottom:var(--spacer)}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]{background-color:var(--color-background);border:1px solid var(--color-gray-dark);width:22rem;height:30.5rem;position:relative}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .corner[_ngcontent-%COMP%]{position:absolute;top:-1px;right:-1px;height:2.188rem;width:2.188rem;background-color:var(--color-background)}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .earmark-container[_ngcontent-%COMP%]{filter:drop-shadow(0 0 .125rem rgba(0,0,0,.3))}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .earmark-container[_ngcontent-%COMP%]   .earmark[_ngcontent-%COMP%]{position:absolute;top:0;right:0;width:2.063rem;height:2.063rem;background-color:var(--color-gray-lighter);clip-path:polygon(0% 100%,0% 4%,96% 100%)}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .earmark-container[_ngcontent-%COMP%]   .earmark-border[_ngcontent-%COMP%]{position:absolute;top:-.125rem;right:-.125rem;width:2.25rem;height:2.25rem;background-color:var(--color-gray-dark);clip-path:polygon(0% 100%,0% 2.5%,97% 100%)}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%]{position:relative;height:calc(100% - 4.75rem);width:calc(100% - 3rem);margin:calc(var(--spacer) * 2.5) calc(var(--spacer) * 1.5);border:1px dashed var(--color-primary)}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%]   .diagonal-line[_ngcontent-%COMP%]{background-color:var(--color-background);position:absolute;height:0;width:31.5rem;top:12.75rem;left:-6.5rem;border-top:1px dashed var(--color-primary);transform:rotate(-54deg)}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp[_ngcontent-%COMP%]{position:absolute;background-color:var(--color-background);border:1px solid var(--color-gray-darker);color:var(--color-gray-darker);margin:calc(var(--spacer) / 4);width:4rem;height:1.5rem;text-align:center}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.active[_ngcontent-%COMP%]{border:none;color:light-dark(white,black);background-color:var(--color-primary);font-family:var(--font-family-bold)}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.top-1[_ngcontent-%COMP%]{top:0;left:0}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.top-2[_ngcontent-%COMP%]{top:0;left:0;right:0;margin-inline:auto}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.top-3[_ngcontent-%COMP%]{top:0;right:0}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.left-1[_ngcontent-%COMP%]{transform:rotate(-90deg);top:3rem;left:-1.25rem}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] >
1 .stamp.left-2[_ngcontent-%COMP%]{transform:rotate(-90deg);top:12rem;left:-1.25rem}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.left-3[_ngcontent-%COMP%]{transform:rotate(-90deg);bottom:3rem;left:-1.25rem}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.bottom-1[_ngcontent-%COMP%]{bottom:0;left:0}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.bottom-2[_ngcontent-%COMP%]{bottom:0;left:0;right:0;margin-inline:auto}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.bottom-3[_ngcontent-%COMP%]{bottom:0;right:0}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.right-1[_ngcontent-%COMP%]{transform:rotate(-90deg);top:3rem;right:-1.25rem}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.right-2[_ngcontent-%COMP%]{transform:rotate(-90deg);top:12rem;right:-1.25rem}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.right-3[_ngcontent-%COMP%]{transform:rotate(-90deg);bottom:3rem;right:-1.25rem}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.diagonal-1[_ngcontent-%COMP%]{transform:rotate(-54deg);top:12rem;left:5.6rem}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.diagonal-2[_ngcontent-%COMP%]{transform:rotate(-54deg);top:13.25rem;left:7.125rem}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-list-container[_ngcontent-%COMP%]{flex-grow:1;overflow:visible;max-width:50vw}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-list-container[_ngcontent-%COMP%]   .stamp-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:calc(var(--spacer) * 2)}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-list-container[_ngcontent-%COMP%]   .stamp-list[_ngcontent-%COMP%]   app-document-stamp[_ngcontent-%COMP%]{display:block;margin-bottom:calc(var(--spacer) / 2)}@media(width<=75rem){.stamp-overview-container[_ngcontent-%COMP%]   .stamp-list-container[_ngcontent-%COMP%]{max-width:100%}}.header[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:calc(var(--spacer) / 2)}.header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:auto}.all-records[_ngcontent-%COMP%]{font-size:var(--font-size-default)}.box-info[_ngcontent-%COMP%]{margin-bottom:0}.button-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;gap:var(--spacer)}"]})}}return t})();var ad=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-document-stamps-static"]],decls:124,vars:114,consts:[["data-cy","infoBox",1,"box-info"],[1,"stamp-overview-container"],[1,"stamp-list-container"],["data-cy","titleStamp"],[1,"stamp-list"],[1,"metadata-fields"],["data-cy","metadataFields"],["data-cy","metadataStamp",1,"stamp"],["data-cy","field",1,"text-bold"],["data-cy","position"],[1,"userdata-fields"],["data-cy","userFields"],["data-cy","userFieldStamp",1,"stamp"],[1,"freetext-fields"],["data-cy","freetextFields"],["data-cy","freetextFieldStamp",1,"stamp"],[1,"stamp-plan-container"],["data-cy","titlePreview"],[1,"sheet"],[1,"corner"],[1,"earmark-container"],[1,"earmark-border"],[1,"earmark"],[1,"content-area"],[1,"diagonal-line"],["data-cy","top1",1,"stamp","top-1","active"],["data-cy","top2",1,"stamp","top-2"],["data-cy","top3",1,"stamp","top-3"],["data-cy","left1",1,"stamp","left-1","active"],["data-cy","left2",1,"stamp","left-2"],["data-cy","left3",1,"stamp","left-3"],["data-cy","right1",1,"stamp","right-1"],["data-cy","right2",1,"stamp","right-2","active"],["data-cy","right3",1,"stamp","right-3"],["data-cy","bottom1",1,"stamp","bottom-1"],["data-cy","bottom2",1,"stamp","bottom-2","active"],["data-cy","bottom3",1,"stamp","bottom-3","active"],["data-cy","diagonal1",1,"stamp","diagonal-1","active"],["data-cy","diagonal2",1,"stamp","diagonal-2"]],template:function(i,n){i&1&&(re(0,"h1"),p(1),d(2,"transloco"),de(),re(3,"p",0),p(4),d(5,"transloco"),de(),re(6,"div",1)(7,"div",2)(8,"h2",3),p(9),d(10,"transloco"),de(),re(11,"div",4)(12,"div",5)(13,"h3",6),p(14),d(15,"transloco"),de(),re(16,"div",7)(17,"p",8),p(18),d(19,"transloco"),de(),re(20,"p",9),p(21),d(22,"transloco"),d(23,"transloco"),de()(),re(24,"div",7)(25,"p",8),p(26),d(27,"transloco"),de(),re(28,"p",9),p(29),d(30,"transloco"),d(31,"transloco"),de()()(),re(32,"div",10)(33,"h3",11),p(34),d(35,"transloco"),de(),re(36,"div",12)(37,"p",8),p(38),d(39,"transloco"),de(),re(40,"p",9),p(41),d(42,"transloco"),d(43,"transloco"),de()(),re(44,"div",12)(45,"p",8),p(46),d(47,"transloco"),de(),re(48,"p",9),p(49),d(50,"transloco"),d(51,"transloco"),de()(),re(52,"div",12)(53,"p",8),p(54),d(55,"transloco"),de(),re(56,"p",9),p(57),d(58,"transloco"),d(59,"transloco"),de()()(),re(60,"div",13)(61,"h3",14),p(62),d(63,"transloco"),de(),re(64,"div",15)(65,"p",8),p(66,"Printed copies are uncontrolled"),de(),re(67,"p",9),p(68),d(69,"transloco"),d(70,"transloco"),de()()()()(),re(71,"div",16)(72,"h2",17),p(73),d(74,"transloco"),de(),re(75,"div",18),no(76,"div",19),re(77,"div",20),no(78,"div",21)(79,"div",22),de(),re(80,"div",23),no(81,"div",24),re(82,"div",25),p(83),d(84,"transloco"),de(),re(85,"div",26),p(86),d(87,"transloco"),de(),re(88,"div",27),p(89),d(90,"transloco"),de(),re(91,"div",28),p(92),d(93,"transloco"),de(),re(94,"div",29),p(95),d(96,"transloco"),de(),re(97,"div",30),p(98),d(99,"transloco"),de(),re(100,"div",31),p(101),d(102,"transloco"),de(),re(103,"div",32),p(104),d(105,"transloco"),de(),re(106,"div",33),p(107),d(108,"transloco"),de(),re(109,"div",34),p(110),d(111,"transloco"),de(),re(112,"div",35),p(113),d(114,"transloco"),de(),re(115,"div",36),p(116),d(117,"transloco"),de(),re(118,"div",37),p(119),d(120,"transloco"),de(),re(121,"div",38),p(122),d(123,"transloco"),de()()()()()),i&2&&(r(),h(u(2,38,"licenses.document_stamps.title.basic")),r(3),h(u(5,40,"licenses.document_stamps.info_text")),r(5),h(u(10,42,"licenses.document_stamps.stamps")),r(5),h(u(15,44,"licenses.document_stamps.metadata_fields")),r(4),D(" ",u(19,46,"licenses.document_stamps.
1current_valid_withdrawn")," "),r(3),lt(" ",u(22,48,"licenses.document_stamps.position"),": ",u(23,50,"licenses.document_stamps.diagonal")," 1 "),r(5),h(u(27,52,"observation.metadata.replaced_by")),r(3),lt(" ",u(30,54,"licenses.document_stamps.position"),": ",u(31,56,"licenses.document_stamps.right")," 2 "),r(5),h(u(35,58,"licenses.document_stamps.userdata_fields")),r(4),h(u(39,60,"licenses.document_stamps.printing_date")),r(3),lt(" ",u(42,62,"licenses.document_stamps.position"),": ",u(43,64,"licenses.document_stamps.top")," 1 "),r(5),h(u(47,66,"common.company_name")),r(3),lt(" ",u(50,68,"licenses.document_stamps.position"),": ",u(51,70,"licenses.document_stamps.bottom")," 2 "),r(5),h(u(55,72,"user_management.users.username")),r(3),lt(" ",u(58,74,"licenses.document_stamps.position"),": ",u(59,76,"licenses.document_stamps.bottom")," 3 "),r(5),h(u(63,78,"licenses.document_stamps.freetext_fields")),r(6),lt(" ",u(69,80,"licenses.document_stamps.position"),": ",u(70,82,"licenses.document_stamps.left")," 1 "),r(5),h(u(74,84,"licenses.document_stamps.preview")),r(10),D("",u(84,86,"licenses.document_stamps.top")," 1"),r(3),D("",u(87,88,"licenses.document_stamps.top")," 2"),r(3),D("",u(90,90,"licenses.document_stamps.top")," 3"),r(3),D(" ",u(93,92,"licenses.document_stamps.left")," 1 "),r(3),D("",u(96,94,"licenses.document_stamps.left")," 2"),r(3),D("",u(99,96,"licenses.document_stamps.left")," 3"),r(3),D("",u(102,98,"licenses.document_stamps.right")," 1"),r(3),D(" ",u(105,100,"licenses.document_stamps.right")," 2 "),r(3),D("",u(108,102,"licenses.document_stamps.right")," 3"),r(3),D(" ",u(111,104,"licenses.document_stamps.bottom")," 1 "),r(3),D(" ",u(114,106,"licenses.document_stamps.bottom")," 2 "),r(3),D(" ",u(117,108,"licenses.document_stamps.bottom")," 3 "),r(3),D(" ",u(120,110,"licenses.document_stamps.diagonal")," 1 "),r(3),D(" ",u(123,112,"licenses.document_stamps.diagonal")," 2 "))},dependencies:[oe,B],styles:[".stamp-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:calc(var(--spacer) * 2)}.stamp-list[_ngcontent-%COMP%]   .stamp[_ngcontent-%COMP%]{border-top:var(--border);padding-block:calc(var(--spacer) / 2)}.stamp-list[_ngcontent-%COMP%]   .stamp[_ngcontent-%COMP%]:last-child{border-bottom:var(--border)}",".header-container[_ngcontent-%COMP%]{border-bottom:var(--border);display:flex;align-items:center;justify-content:space-between;padding-block:var(--spacer)}.search-filter-container[_ngcontent-%COMP%]{border-bottom:var(--border);padding:calc(var(--spacer) * 2) 0}.search-filter-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{justify-content:space-between}.properties-container[_ngcontent-%COMP%]{border-bottom:var(--border);padding:calc(var(--spacer) * 2) 0}.stamp-name[_ngcontent-%COMP%]{gap:var(--spacer);align-items:center;display:flex;flex-direction:row}.active-checkbox[_ngcontent-%COMP%]{margin-top:20px}.stamp-overview-container[_ngcontent-%COMP%]{display:flex;gap:calc(var(--spacer) * 3);flex-wrap:wrap;min-width:50vw;padding-top:calc(var(--spacer) * 2)}.stamp-overview-container[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin-bottom:calc(var(--spacer) * 2)}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]{flex-grow:1}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .btn-group[_ngcontent-%COMP%]{width:22rem;margin-bottom:var(--spacer)}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]{background-color:var(--color-background);border:1px solid var(--color-gray-dark);width:22rem;height:30.5rem;position:relative}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .corner[_ngcontent-%COMP%]{position:absolute;top:-1px;right:-1px;height:2.188rem;width:2.188rem;background-color:var(--color-background)}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .earmark-container[_ngcontent-%COMP%]{filter:drop-shadow(0 0 .125rem rgba(0,0,0,.3))}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .earmark-container[_ngcontent-%COMP%]   .earmark[_ngcontent-%COMP%]{position:absolute;top:0;right:0;width:2.063rem;height:2.063rem;background-color:var(--color-gray-lighter);clip-path:polygon(0% 100%,0% 4%,96% 100%)}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .earmark-container[_ngcontent-%COMP%]   .earmark-border[_ngcontent-%COMP%]{position:absolute;top:-.125rem;right:-.125rem;width:2.25rem;height:2.25rem;background-color:var(--color-gray-dark);clip-path:polygon(0% 100%,0% 2.5%,97% 100%)}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%]{position:relative;height:calc(100% - 4.75rem);width:calc(100% - 3rem);margin:calc(var(--spacer) * 2.5) calc(var(--spacer) * 1.5);border:1px dashed var(--color-primary)}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%]   .diagonal-line[_ngcontent-%COMP%]{background-color:var(--color-background);position:absolute;height:0;width:31.5rem;top:12.75rem;left:-6.5rem;border-top:1px dashed var(--color-primary);transform:rotate(-54deg)}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp[_ngcontent-%COMP%]{position:absolute;background-color:var(--color-background);border:1px solid var(--color-gray-darker);color:var(--color-gray-darker);margin:calc(var(--spacer) / 4);width:4rem;height:1.5rem;text-align:center}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.active[_ngcontent-%COMP%]{border:none;color:light-dark(white,black);background-color:var(--color-primary);font-family:var(--font-family-bold)}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.top-1[_ngcontent-%COMP%]{top:0;left:0}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.top-2[_ngcontent-%COMP%]{top:0;left:0;right:0;margin-inline:auto}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.top-3[_ngcontent-%COMP%]{top:0;right:0}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.left-1[_ngcontent-%COMP%]{transform:rotate(-90deg);top:3rem;left:-1.25rem}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] >
1 .stamp.left-2[_ngcontent-%COMP%]{transform:rotate(-90deg);top:12rem;left:-1.25rem}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.left-3[_ngcontent-%COMP%]{transform:rotate(-90deg);bottom:3rem;left:-1.25rem}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.bottom-1[_ngcontent-%COMP%]{bottom:0;left:0}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.bottom-2[_ngcontent-%COMP%]{bottom:0;left:0;right:0;margin-inline:auto}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.bottom-3[_ngcontent-%COMP%]{bottom:0;right:0}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.right-1[_ngcontent-%COMP%]{transform:rotate(-90deg);top:3rem;right:-1.25rem}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.right-2[_ngcontent-%COMP%]{transform:rotate(-90deg);top:12rem;right:-1.25rem}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.right-3[_ngcontent-%COMP%]{transform:rotate(-90deg);bottom:3rem;right:-1.25rem}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.diagonal-1[_ngcontent-%COMP%]{transform:rotate(-54deg);top:12rem;left:5.6rem}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-plan-container[_ngcontent-%COMP%]   .sheet[_ngcontent-%COMP%]   .content-area[_ngcontent-%COMP%] > .stamp.diagonal-2[_ngcontent-%COMP%]{transform:rotate(-54deg);top:13.25rem;left:7.125rem}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-list-container[_ngcontent-%COMP%]{flex-grow:1;overflow:visible;max-width:50vw}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-list-container[_ngcontent-%COMP%]   .stamp-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:calc(var(--spacer) * 2)}.stamp-overview-container[_ngcontent-%COMP%]   .stamp-list-container[_ngcontent-%COMP%]   .stamp-list[_ngcontent-%COMP%]   app-document-stamp[_ngcontent-%COMP%]{display:block;margin-bottom:calc(var(--spacer) / 2)}@media(width<=75rem){.stamp-overview-container[_ngcontent-%COMP%]   .stamp-list-container[_ngcontent-%COMP%]{max-width:100%}}.header[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:calc(var(--spacer) / 2)}.header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:auto}.all-records[_ngcontent-%COMP%]{font-size:var(--font-size-default)}.box-info[_ngcontent-%COMP%]{margin-bottom:0}.button-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;gap:var(--spacer)}"]})}}return t})();var j0=t=>({count:t}),G0=()=>["create"];function K0(t,o){t&1&&(l(0,"span",8),p(1),d(2,"transloco"),s()),t&2&&(r(),D(" (",u(2,1,"licenses.document_stamps.unselectable_readonly_stamp_note"),") "))}function W0(t,o){if(t&1){let e=I();l(0,"button",21),d(1,"transloco"),d(2,"transloco"),y("click",function(){S(e);let n=c(2);return x(n.delete())}),w(3,"app-icon",22),s()}t&2&&(_("ngbTooltip",u(1,2,"licenses.document_stamps.delete")),k("aria-label",u(2,4,"licenses.document_stamps.delete")))}function Q0(t,o){if(t&1){let e=I();l(0,"span",23),y("keydown.enter",function(){let n=S(e).item,a=c(2);return x(a.navigateToItem(n))})("click",function(){let n=S(e).item,a=c(2);return x(a.navigateToItem(n))}),p(1),s()}if(t&2){let e=o.item;r(),D(" ",e.name," ")}}function Y0(t,o){if(t&1&&(l(0,"span",24),w(1,"app-icon",25),p(2),d(3,"transloco"),s()),t&2){let e=o.item;r(),hi(e.isActive?"icon-success":"icon-alert"),_("name",e.isActive?"check-mark-filled":"cross-filled"),r(),D(" ",u(3,4,e.isActive?"common.yes":"common.no")," ")}}function Z0(t,o){if(t&1&&(l(0,"span",26),p(1),d(2,"date"),s()),t&2){let e=o.item;r(),h(J(2,1,e.createdAt,"yyyy-MM-dd"))}}function J0(t,o){if(t&1&&(l(0,"span",27),p(1),d(2,"date"),s()),t&2){let e=o.item,i=c(2);r(),h(i.isDefaultDate(e.changedAt)?"":J(2,1,e.changedAt,"yyyy-MM-dd"))}}function X0(t,o){if(t&1){let e=I();l(0,"div",10)(1,"app-table-menu",11,0)(3,"div",12),T(4,W0,4,6,"ng-template",null,1,L),s()(),l(6,"div",13)(7,"app-select",14),y("itemSelected",function(n){S(e);let a=c();return x(a.onPageSizeSelected(n))}),s(),l(8,"app-pagination",15),y("pageChange",function(n){S(e);let a=c();return x(a.onPageChange(n))}),s()()(),l(9,"app-table",16,2),y("stateChange",function(n){S(e);let a=c();return x(a.onSortChange(n))})("rowsSelected",function(n){S(e);let a=c();return x(a.onRowsSelected(n))}),l(11,"div",17),T(12,Q0,2,1,"ng-template",null,3,L),s(),l(14,"div",18),T(15,Y0,4,6,"ng-template",null,3,L),s(),l(17,"div",19),T(18,Z0,3,4,"ng-template",null,3,L),s(),l(20,"div",20),T(21,J0,3,4,"ng-template",null,3,L),s()()}if(t&2){let e=V(2),i=V(10),n=c();r(),_("appTable",i),r(5),_("formGroup",n.pageSizeForm),r(),_("items",n.pageSizeSelectOptions),r(),_("collectionSize",n.totalCount)("page",n.pageNumber)("tableMenu",e)("pageSize",n.pageSize),r(),_("items",n.stamps),r(2),_("sortable",!0),r(3),_("sortable",!1),r(3),_("sortable",!0),r(3),_("sortable",!0)}}var eg=(()=>{class t{constructor(){this.selectedRows=[],this.totalCount=null,this.stamps=new Array,this.pageSizeSelectOptions=fo,this._licenseManagementConfig=g(Jt),this.pageNumber=this._licenseManagementConfig.defaultPage,this.pageSize=this._licenseManagementConfig.defaultPerPage,this._sortDir="desc",this._sortField="CreatedAt",this._stampService=g(la),this._route=g(bt),this._router=g(De),this._uiService=g(He),this._errorService=g(Ke),this._translocoService=g(Q),this._modalService=g(X)}get hasReadonlyLicenseSelected(){return this.selectedRows?.some(e=>e.item.isDefault)??!1}get selectedNonReadonlyCount(){return this.selectedRows.filter(e=>!e.item.isDefault&&e.selectedFormGroup.value).length??0}onRowsSelected(e){this.selectedRows=e}ngOnInit(){this._uiService.showSpinner(),this.initForms(),_i({stamps:this._stampService.getStamps(this.pageNumber,this.pageSize,this._sortField,this._sortDir),count:this._stampService.getCount()}).pipe(he(({stamps:e,count:i})=>{this.stamps=e,this.totalCount=i}),he(()=>
1this._uiService.hideSpinner())).subscribe({error:()=>{this._uiService.hideSpinner(),this._errorService.showErrorModal()}})}onPageChange(e){this.pageNumber=e,this.loadCurrentPageContent()}initForms(){this.pageSizeForm=new xt({selectedPageSize:new Me(this.pageSize??25)})}onPageSizeSelected(e){typeof e!="boolean"&&(typeof e=="string"&&(e=Number.parseInt(e,10)),this.pageSize=e,this.loadCurrentPageContent())}navigateToItem(e){e?.id&&this._router.navigate(["./edit",e.id],{relativeTo:this._route})}onSortChange(e){(this._sortField!==e.sortBy||this._sortDir!==(e.sortAsc?"desc":"asc"))&&(this._sortDir=e.sortAsc?"desc":"asc",this._sortField=e.sortBy,this.loadCurrentPageContent())}delete(){let e=this._modalService.open(mt);e.componentInstance.isDeleteConfirmation=!0,e.componentInstance.title=this.selectedRows.length>1?"licenses.document_stamps.delete_stamp_header_multiple":"licenses.document_stamps.delete_stamp_header",e.componentInstance.text=this.selectedRows.length>1?"licenses.document_stamps.delete_stamp_text_multiple":"licenses.document_stamps.delete_stamp_text",e.result.then(i=>{i.preset&&this._stampService.bulkDelete(this.selectedRows.map(n=>n.item).filter(n=>!n.isDefault).map(n=>n.id)).pipe(ve(1)).subscribe({next:()=>{this._errorService.showSuccessModal(this.selectedRows.length>1?"licenses.document_stamps.deleted_multiple":"licenses.document_stamps.deleted"),this.loadCurrentPageContent()},error:n=>{n.status===It.FORBIDDEN?this._errorService.showErrorModal("licenses.document_stamps.forbidden"):this._errorService.showErrorModal()}})})}loadCurrentPageContent(){this._uiService.showSpinner(),this._stampService.getStamps(this.pageNumber,this.pageSize,this._sortField,this._sortDir).pipe(_t(()=>this._uiService.hideSpinner())).subscribe(e=>{this.selectedRows=[],this._uiService.hideSpinner(),this.stamps=e.map(i=>i.isDefault?{createdAt:i.createdAt,changedAt:i.changedAt,id:i.id,isActive:i.isActive,isDefault:!0,name:this._translocoService.translate("licenses.document_stamps.default")}:i)})}isDefaultDate(e){return e?new Date(e).getFullYear()===1:!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-document-stamps-management"]],decls:17,vars:19,consts:[["tableMenu",""],["menuAnimatedButtons",""],["stampsTable",""],["tableCell",""],[1,"overview-container"],[1,"header"],[3,"count"],["data-cy","numberOfSelectedEntries"],[1,"text-italic"],["type","button","data-cy","createStampConfiguration",1,"btn-primary",3,"routerLink"],[1,"container-menu-pagination"],[3,"appTable"],["menu",""],[1,"table-pagination",3,"formGroup"],["formControlName","selectedPageSize","label","common.table.pagination","labelPosition","left","data-cy","paginationSize",3,"itemSelected","items"],["data-cy","pagination",3,"pageChange","collectionSize","page","tableMenu","pageSize"],["id","stamps-table",3,"stateChange","rowsSelected","items"],["tableColumn","","columnText","common.name","itemProperty","name",3,"sortable"],["tableColumn","","columnText","licenses.document_stamps.table.isActive",3,"sortable"],["tableColumn","","itemProperty","createdAt","columnText","licenses.document_stamps.table.created",3,"sortable"],["tableColumn","","itemProperty","changedAt","columnText","licenses.document_stamps.table.changed",3,"sortable"],["type","button",1,"btn-menu-animated",3,"click","ngbTooltip"],["name","delete","data-cy","deleteStampConfiguration"],["data-cy","stampConfigurationName",1,"link","ellipsicated",3,"keydown.enter","click"],["data-cy","stampConfigurationStatus",1,"link","ellipsicated"],[3,"name"],["data-cy","createdOn"],["data-cy","changedOn"]],template:function(i,n){i&1&&(l(0,"div",4)(1,"div",5)(2,"div")(3,"h1"),p(4),d(5,"transloco"),s(),w(6,"app-record-count",6),l(7,"p",7),p(8),d(9,"transloco"),d(10,"transloco"),C(11,K0,3,3,"span",8),s()(),l(12,"button",9)(13,"span"),p(14),d(15,"transloco"),s()()()(),C(16,X0,23,12)),i&2&&(r(4),h(u(5,7,"licenses.document_stamps.title.pro")),r(2),_("count",n.totalCount),r(2),D(" ",(n.selectedRows==null?null:n.selectedRows.length)!==1?J(9,9,"licenses.document_stamps.table.elements_selected",Ce(16,j0,n.selectedNonReadonlyCount)):u(10,12,"licenses.document_stamps.table.element_selected")," "),r(3),b(n.hasReadonlyLicenseSelected?11:-1),r(),_("routerLink",Ct(18,G0)),r(2),h(u(15,14,"licenses.document_stamps.
1create_stamp")),r(2),b(n.stamps?16:-1))},dependencies:[G,kt,te,Pt,Je,fe,Ie,je,$e,St,sn,Ft,Zt,zt,Lt,$,si,B],encapsulation:2})}}return t})(),rd=eg;function tg(t,o){t&1&&w(0,"app-document-stamps-management")}function ig(t,o){t&1&&w(0,"app-document-stamps-static")}function ng(t,o){if(t&1&&C(0,tg,1,0,"app-document-stamps-management")(1,ig,1,0,"app-document-stamps-static"),t&2){let e=c();b(e.isNautosProActive?0:1)}}var sd=(()=>{class t{constructor(){this._tenantStateService=g(pt)}get isNautosProActive(){return this._tenantStateService.isNautosProActive()}get isTenantSoftwareLoaded(){return this._tenantStateService.isTenantSoftwareLoaded()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-document-stamps"]],decls:1,vars:1,template:function(i,n){i&1&&C(0,ng,2,1),i&2&&b(n.isTenantSoftwareLoaded?0:-1)},dependencies:[oe,ad,rd],encapsulation:2})}}return t})();var og=[{path:":tenant/licenses",children:[{path:"",canActivate:[ke],component:Zc,data:{permissions:[M.EDIT_LICENSE_PANEL]}},{path:"create/:licenseType",canActivate:[ke],data:{permissions:[M.EDIT_LICENSE_PANEL]},component:jc},{path:"edit/:id",canActivate:[ke],data:{permissions:[M.EDIT_LICENSE_PANEL]},component:Gc}]},{path:":tenant/document-management",canActivate:[ke],data:{permissions:[M.EDIT_LICENSE_PANEL,M.VIEW_LICENSE_PANEL,M.EDIT_DOCUMENT_MANAGEMENT,M.VIEW_DOCUMENT_MANAGEMENT]},component:td},{path:":tenant/hosting-explorer",canActivate:[ke],data:{permissions:[M.EDIT_DOCUMENT_MANAGEMENT],requiresHostingModule:!0},component:Bc},{path:":tenant/stamp",canActivate:[ke],data:{permissions:[M.EDIT_DOCUMENT_MANAGEMENT]},children:[{path:"",canActivate:[ke],component:sd,data:{permissions:[M.STAMP_PANEL]}},{path:"create",canActivate:[ke],data:{permissions:[M.STAMP_PANEL],mode:"create"},component:ir},{path:"edit/:id",component:ir,canActivate:[ke],data:{permissions:[M.STAMP_PANEL],mode:"edit"}}]}],ld=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=vt({type:t})}static{this.\u0275inj=gt({providers:[ke],imports:[fi.forChild(og),fi]})}}return t})();var cd=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=vt({type:t})}static{this.\u0275inj=gt({providers:[nt,Ri],imports:[ol,ld,$]})}}return t})();var dd=(()=>{class t{constructor(){this._router=g(De),this._authService=g(Pe),this._router.events.pipe(it(e=>e instanceof rn)).subscribe(()=>{this.checkRedirectQueryParams()})}checkRedirectQueryParams(){let e=this._router.routerState.root;for(;e.firstChild;)e=e.firstChild;e.queryParams.subscribe(i=>{i.redirected&&this._authService.completeShibbolethLogin().subscribe({next:n=>{let a=n.tenantKey;this._router.navigate([`${a}/search`])}})})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=ye({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ln=class{constructor(o={}){this.documentTypePro=o.documentTypePro??"",this.updatePro=o.updatePro??"",this.monitoringStatus=o.monitoringStatus??"",this.ruleSetPro=o.ruleSetPro??"",this.createdBy=o.createdBy,this.createdAt=o.createdAt??"",this.modifiedBy=o.modifiedBy,this.modifiedAt=o.modifiedAt??"",this.classificationPro=o.classificationPro??"",this.info=o.info??"",this.isCited=o.isCited??[],this.regionalValidity=o.regionalValidity??"",this.pricePro=o.pricePro??"",this.publisherPro=o.publisherPro??"",this.sourcePro=o.sourcePro??"",this.certifiedBy=o.certifiedBy??"",this.certifiedDate=o.certifiedDate??"",this.releaseLevel=o.releaseLevel??"",this.releaseComment=o.releaseComment??"",this.changeDescription=o.changeDescription??"",this.revisionVersion=o.revisionVersion??"",this.reminderDate=o.reminderDate??"",this.documentOwners=o.documentOwners??[],this.lastReview=o.lastReview??"",this.updateInterval=o.updateInterval??""}};var tn=(function(t){return t.CUSTOM="customInputField",t.DATE="dateField",t.INPUT="inputField",t.INPUT_NUMERIC="inputFieldNumeric",t.REFERENCE="referenceField",t.TEXTAREA="textareaField",t.VALUELIST="valuelistField",t.STATIC_OPTIONS_LIST="staticOptionsListField",t.SELECT="selectField",t})(tn||{});function ag(t,o){if(t&1&&(l(0,"label",11),p(1),d(2,"transloco"),s()),t&2){let e=c(2);_("for",e.field),k("data-cy",e.field+"Label"),r(),h(u(2,3,e.label))}}
1function rg(t,o){if(t&1&&(l(0,"label",12),p(1),d(2,"transloco"),s()),t&2){let e=c(2);_("for",e.field),k("data-cy",e.field+"Label"),r(),h(u(2,3,e.label))}}function sg(t,o){t&1&&w(0,"div")}function lg(t,o){if(t&1&&T(0,sg,1,0,"div",13),t&2){c(2);let e=V(2);_("ngTemplateOutlet",e)}}function cg(t,o){t&1&&w(0,"div")}function dg(t,o){if(t&1&&T(0,cg,1,0,"div",13),t&2){c(2);let e=V(4);_("ngTemplateOutlet",e)}}function pg(t,o){t&1&&w(0,"div")}function mg(t,o){if(t&1&&T(0,pg,1,0,"div",13),t&2){c(2);let e=V(6);_("ngTemplateOutlet",e)}}function ug(t,o){t&1&&w(0,"div")}function _g(t,o){if(t&1&&T(0,ug,1,0,"div",13),t&2){c(2);let e=V(12);_("ngTemplateOutlet",e)}}function hg(t,o){t&1&&w(0,"div")}function fg(t,o){if(t&1&&T(0,hg,1,0,"div",13),t&2){c(2);let e=V(14);_("ngTemplateOutlet",e)}}function gg(t,o){t&1&&w(0,"div")}function vg(t,o){if(t&1&&T(0,gg,1,0,"div",13),t&2){c(2);let e=V(16);_("ngTemplateOutlet",e)}}function Cg(t,o){t&1&&w(0,"div")}function bg(t,o){if(t&1&&T(0,Cg,1,0,"div",13),t&2){c(2);let e=V(18);_("ngTemplateOutlet",e)}}function yg(t,o){t&1&&w(0,"div")}function Sg(t,o){if(t&1&&T(0,yg,1,0,"div",13),t&2){c(2);let e=V(20);_("ngTemplateOutlet",e)}}function xg(t,o){t&1&&w(0,"div")}function wg(t,o){if(t&1&&T(0,xg,1,0,"div",13),t&2){c(2);let e=V(8);_("ngTemplateOutlet",e)}}function Tg(t,o){t&1&&w(0,"div")}function Eg(t,o){if(t&1&&T(0,Tg,1,0,"div",13),t&2){c(2);let e=V(10);_("ngTemplateOutlet",e)}}function Dg(t,o){if(t&1&&(l(0,"div",10),C(1,ag,3,5,"label",11),C(2,rg,3,5,"label",12),l(3,"div"),C(4,lg,1,1,"div"),C(5,dg,1,1,"div"),C(6,mg,1,1,"div"),C(7,_g,1,1,"div"),C(8,fg,1,1,"div"),C(9,vg,1,1,"div"),C(10,bg,1,1,"div"),C(11,Sg,1,1,"div"),C(12,wg,1,1,"div"),C(13,Eg,1,1,"div"),s()()),t&2){let e=c();_("ngClass",e.styleConnected?"form-container-no-border":"form-container"),r(),b(e.mandatory?1:-1),r(),b(e.mandatory?-1:2),r(),W("flex",e.templateString==="referenceField"),r(),b(e.templateString==="textDisplay"?4:-1),r(),b(e.templateString==="inputField"?5:-1),r(),b(e.templateString==="inputFieldNumeric"?6:-1),r(),b(e.templateString==="textareaField"?7:-1),r(),b(e.templateString==="dateField"?8:-1),r(),b(e.templateString==="valuelistField"?9:-1),r(),b(e.templateString==="staticOptionsListField"?10:-1),r(),b(e.templateString==="referenceField"?11:-1),r(),b(e.templateString==="customInputField"?12:-1),r(),b(e.templateString==="selectField"?13:-1)}}function Ig(t,o){if(t&1&&(l(0,"span",14),p(1),d(2,"transloco"),s()),t&2){let e=c();_("id",e.field)("ngClass",e.field==="acCode"?"text-bold":""),k("data-cy",e.field),r(),D("",u(2,4,e.value)," ")}}function Mg(t,o){if(t&1&&(l(0,"p",16),p(1),d(2,"transloco"),s()),t&2){let e=c(2);k("data-cy",e.field+"ErrorMessage"),r(),h(u(2,2,e.errorMessage))}}function kg(t,o){if(t&1){let e=I();l(0,"input",15),y("input",function(n){S(e);let a=c();return x(a.onValueChange(n))}),s(),C(1,Mg,3,4,"p",16)}if(t&2){let e=c();W("invalid",e.mandatory&&e.isValid===!1),_("id",e.field)("value",e.value),k("data-cy",e.field),r(),b(e.mandatory&&e.isValid===!1?1:-1)}}function Fg(t,o){if(t&1&&(l(0,"p",16),p(1),d(2,"transloco"),s()),t&2){let e=c(2);k("data-cy",e.field+"ErrorMessage"),r(),h(u(2,2,e.errorMessage))}}function Lg(t,o){if(t&1){let e=I();l(0,"input",17),y("input",function(n){S(e);let a=c();return x(a.onValueChange(n))}),s(),C(1,Fg,3,4,"p",16)}if(t&2){let e=c();W("invalid",e.mandatory&&e.isValid===!1),_("id",e.field)("value",e.value),k("data-cy",e.field),r(),b(e.mandatory&&e.isValid===!1?1:-1)}}function Pg(t,o){if(t&1){let e=I();l(0,"div",18)(1,"input",19),y("input",function(n){S(e);let a=c();return x(a.onValueChange(n))}),s(),l(2,"button",20),d(3,"transloco"),d(4,"transloco"),y("click",function(){S(e);let n=c();return x(n.onRemoveCustomField(n.field))}),w(5,"app-icon",21),s()()}if(t&2){let e=c();r(),_("value",e.value),r(),_("ngbTooltip",u(3,3,"company_data.custom_field_delete")),k("aria-label",u(4,5,"company_data.custom_field_delete"))}}function Ag(t,o){if(t&1){let e=I();l(0,"app-select",22),y("itemSelected",function(n){S(e);let a=c();return x(a.onSelectValueChange(n))}),s()}if(t&2){let e=c();_("selectedKey",e.value)("isMandatory",!0)("items",e.items)("showUnselectItem",!0),k("data-cy",e.field)}}function Ng(t,o){if(t&1){let e=I();l(0,"textarea",23),y("change",function(n){S(e);let a=c();return x(a.onValueChange(n))})("blur",function(n){S(e);let a=c();return x(a.onValueChange(n))}),p(1),d(2,"transloco"),s()}if(t&2){let e=c();W("invalid",e.mandatory&&e.isValid===!1),k("data-cy",e.field),r(),h(u(2,4,e.value))}}
1function Og(t,o){if(t&1&&(l(0,"p",16),p(1),d(2,"transloco"),s()),t&2){let e=c(2);k("data-cy",e.field+"ErrorMessage"),r(),h(u(2,2,e.errorMessage))}}function Rg(t,o){if(t&1){let e=I();l(0,"div",18)(1,"input",24),d(2,"transloco"),y("change",function(n){S(e);let a=c();return x(a.onValueChange(n))}),s(),l(3,"button",25),d(4,"transloco"),d(5,"transloco"),y("click",function(){S(e);let n=c();return x(n.iconClickedAction())}),w(6,"app-icon",26),s()(),C(7,Og,3,4,"p",16)}if(t&2){let e=c();r(),W("invalid",e.isValid===!1),_("placeholder",u(2,9,"common.date_format_with_optional_day"))("value",e.value),k("data-cy",e.field),r(2),_("ngbTooltip",u(4,11,"common.datepicker.choose_date")),k("aria-label",u(5,13,"common.datepicker.choose_date")),r(3),k("data-cy",e.field+"AddDate"),r(),b(e.isValid===!1?7:-1)}}function Bg(t,o){if(t&1&&(l(0,"p",16),p(1),d(2,"transloco"),s()),t&2){let e=c(2);k("data-cy",e.field+"ErrorMessage"),r(),h(u(2,2,e.errorMessage))}}function zg(t,o){if(t&1){let e=I();l(0,"app-autocomplete",27),y("iconClick",function(){S(e);let n=c();return x(n.iconClickedAction())})("change",function(n){S(e);let a=c();return x(a.onValueChange(n))})("optionSelected",function(n){S(e);let a=c();return x(a.processNewValue(n))}),s(),C(1,Bg,3,4,"p",16)}if(t&2){let e=c();_("value",e.value)("searchField",e.field)("isMandatory",e.mandatory)("isValid",e.isValid),r(),b(e.mandatory&&e.isValid===!1&&e.value.length===0?1:-1)}}function Vg(t,o){if(t&1){let e=I();l(0,"div",29)(1,"span",30),p(2),s(),l(3,"button",31),y("click",function(){let n=S(e).$implicit,a=c(2);return x(a.removeOption(n))}),w(4,"app-icon",32),s()()}if(t&2){let e=o.$implicit;r(2),h(e)}}function qg(t,o){if(t&1){let e=I();l(0,"div",18)(1,"div",28),ue(2,Vg,5,1,"div",29,Se),s(),l(4,"button",25),d(5,"transloco"),d(6,"transloco"),y("click",function(){S(e);let n=c();return x(n.iconClickedAction())}),w(7,"app-icon",26),s()()}if(t&2){let e=c();k("data-cy",e.field),r(2),_e(e.value),r(2),_("ngbTooltip",u(5,4,"search.extended_search.value_list_tooltip")),k("aria-label",u(6,6,"search.extended_search.value_list_tooltip")),r(3),k("data-cy",e.field+"AddValue")}}function Ug(t,o){if(t&1){let e=I();l(0,"div",29)(1,"span",30),p(2),s(),l(3,"button",31),y("click",function(){let n=S(e).$implicit,a=c(2);return x(a.removeReference(n))}),w(4,"app-icon",32),s()()}if(t&2){let e=o.$implicit;r(2),h(e.value)}}function Hg(t,o){if(t&1){let e=I();l(0,"div",18)(1,"div",28),ue(2,Ug,5,1,"div",29,Se),s(),l(4,"button",33),d(5,"transloco"),d(6,"transloco"),y("click",function(){S(e);let n=c();return x(n.searchActivated())}),w(7,"app-icon",34),s()()}if(t&2){let e=c();k("data-cy",e.field),r(2),_e(e.value),r(2),_("ngbTooltip",u(5,3,"company_data.link_metadata")),k("aria-label",u(6,5,"company_data.link_metadata"))}}var pd=(()=>{class t{constructor(){this._translocoService=g(Q),this._valueListService=g(Pi),this.errorMessage="common.please_fill_this_field",this.mandatory=!1,this.changed=new K,this.optionRemoved=new K,this.customFieldRemoved=new K}ngOnInit(){this.field==="acCode"&&!this.value&&this._translocoService.selectTranslate("company_data.code_is_generated_with_the_record").pipe(ve(1)).subscribe(e=>this.value=e)}searchActivated(){this.iconClickedAction()}onValueChange(e){let i;if(Object.values(tn).includes(this.templateString))if(this.templateString===tn.INPUT_NUMERIC){let n=e.target.value;i=n===""?"":Number(n)}else i=e.target.value;else i=!1;this.processNewValue(i)}processNewValue(e){this.resetErrorMessages();let i=this.field;this.isValid=e.toString().length>=1,this.templateString===tn.DATE&&(this.isValid=va.isDateValid(e.toString(),"YYYY-MM-DD")||va.isDateValid(e.toString(),"YYYY-MM"),e.toString().length===0&&!this.mandatory&&(this.isValid=!0),this.isValid||(this.errorMessage="common.date_format_with_optional_day_error")),this.templateString===tn.VALUELIST&&(e.toString().length===0&&!this.mandatory?this.isValid=!0:e.toString().length>0&&this._valueListService.isValidValueListEntry(this.field,e.toString()).pipe(Le(()=>st(!1))).subscribe(n=>{this.isValid=n})),this.changed.emit({field:i,newValue:e,isValid:this.isValid})}onSelectValueChange(e){this.resetErrorMessages();let i=[tn.SELECT.valueOf()],n;i.includes(this.templateString)&&(n=e),this.isValid=this.mandatory?e?.toString().length>0:!0,this.changed.emit({field:this.field,newValue:n,isValid:this.isValid})}onRemoveCustomField(e){this.customFieldRemoved.emit(e)}removeReference(e){this.value=this.value.filter(i=>i.acCode!==e.acCode||i.value!==e.value),this.optionRemoved.emit({field:this.field,itemToRemove:e,newValue:this.value})}removeOption(e){this.value=this.value.filter(i=>i!==e),this.optionRemoved.emit({field:this.field,itemToRemove:e,newValue:this.value})}resetErrorMessages(){this.errorMessage="common.please_fill_this_field"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-activate-form-element"]],inputs:{value:"value",inline:"inline",templateString:"templateString",data:"data",label:"label",elementId:"elementId",field:"field",mandatory:"mandatory",isValid:"isValid",styleConnected:"styleConnected",iconClickedAction:"iconCl
1ickedAction",inUserPackage:"inUserPackage",items:"items"},outputs:{changed:"changed",optionRemoved:"optionRemoved",toggled:"toggled",customFieldRemoved:"customFieldRemoved"},decls:21,vars:1,consts:[["textDisplay",""],["inputField",""],["inputFieldNumeric",""],["customInputField",""],["selectField",""],["textareaField",""],["dateField",""],["valuelistField",""],["staticOptionsListField",""],["referenceField",""],[3,"ngClass"],[1,"mandatory",3,"for"],[3,"for"],[4,"ngTemplateOutlet"],[3,"id","ngClass"],["type","text",3,"input","id","value"],[1,"text-alert"],["type","number","step","1",3,"input","id","value"],[1,"input-group"],["data-cy","customField","type","text",3,"input","value"],["type","button","data-cy","iconDelete",1,"btn-icon-border",3,"click","ngbTooltip"],["name","delete"],[3,"itemSelected","selectedKey","isMandatory","items","showUnselectItem"],[3,"change","blur"],["type","text","maxlength","10",3,"change","placeholder","value"],["type","button",1,"btn-icon-border",3,"click","ngbTooltip"],["name","add"],[3,"iconClick","change","optionSelected","value","searchField","isMandatory","isValid"],[1,"reference-field"],["data-cy","referenceEntry",1,"reference-entry"],[1,"reference-entry-text","ellipsicated"],["type","button","data-cy","iconRemove",1,"btn-icon-remove",3,"click"],["name","cross"],["type","button","data-cy","iconLinkReference",1,"btn-icon-border",3,"click","ngbTooltip"],["name","link"]],template:function(i,n){i&1&&(C(0,Dg,14,15,"div",10),T(1,Ig,3,6,"ng-template",null,0,L)(3,kg,2,6,"ng-template",null,1,L)(5,Lg,2,6,"ng-template",null,2,L)(7,Pg,6,7,"ng-template",null,3,L)(9,Ag,1,5,"ng-template",null,4,L)(11,Ng,3,6,"ng-template",null,5,L)(13,Rg,8,15,"ng-template",null,6,L)(15,zg,2,5,"ng-template",null,7,L)(17,qg,8,8,"ng-template",null,8,L)(19,Hg,8,7,"ng-template",null,9,
1L)),i&2&&b(n.inUserPackage?0:-1)},dependencies:[Os,Ee,ze,qr,G,te,oe,$,Ft,B],styles:[".form-container-no-border[_ngcontent-%COMP%]{align-items:center;display:flex;gap:var(--spacer);margin-left:calc(var(--spacer) * 2.5);align-content:center;padding-bottom:var(--spacer);padding-top:var(--spacer)}.form-container-no-border[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{margin:0}.form-container-no-border[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]   .mandatory[_ngcontent-%COMP%]{margin-left:3px}.form-container-no-border[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative}.form-container-no-border[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%] > .invalid[_ngcontent-%COMP%]{z-index:3}.form-container-no-border[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{flex:0 0 23%}.form-container-no-border[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{flex:1;max-width:30rem;box-sizing:border-box}.form-container[_ngcontent-%COMP%]{align-items:center;display:flex;gap:var(--spacer);margin-left:calc(var(--spacer) * 2.5);padding-block:var(--spacer)}.form-container[_ngcontent-%COMP%]:not(:last-child){border-bottom:var(--border)}.form-container[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{margin:0}.form-container[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]   .mandatory[_ngcontent-%COMP%]{margin-left:3px}.form-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative}.form-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%] > .invalid[_ngcontent-%COMP%]{z-index:3}.form-container[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{flex:0 0 23%}.form-container[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{flex:1;max-width:30rem;box-sizing:border-box}.reference-field[_ngcontent-%COMP%]{border-radius:var(--border-radius);border:var(--border);display:flex;flex-flow:row wrap;gap:calc(var(--spacer) / 4);min-height:2.5rem;overflow:hidden;padding:calc(var(--spacer) / 8);width:100%}.reference-field[_ngcontent-%COMP%]   .reference-entry[_ngcontent-%COMP%]{box-shadow:0 1px 2px #00000040;align-items:center;background-color:var(--color-gray-light);border-radius:var(--border-radius);border:solid 1px var(--color-gray-dark);display:flex;gap:calc(var(--spacer) / 4);height:2rem}.reference-field[_ngcontent-%COMP%]   .reference-entry[_ngcontent-%COMP%]   .reference-entry-text[_ngcontent-%COMP%]{color:var(--color-text);font-family:var(--font-family-regular);font-size:var(--font-size-default);margin-left:calc(var(--spacer) / 2)}.reference-field[_ngcontent-%COMP%]   .reference-entry[_ngcontent-%COMP%]   .btn-icon-remove[_ngcontent-%COMP%]{max-height:1.75rem;min-height:1.75rem;max-width:1.75rem;min-width:1.75rem}.reference-field[_ngcontent-%COMP%]   .reference-entry[_ngcontent-%COMP%]   .btn-icon-remove[_ngcontent-%COMP%]:hover{border:none}.reference-field[_ngcontent-%COMP%]   .ellipsicated[_ngcontent-%COMP%]{line-clamp:1;-webkit-line-clamp:1}"]})}}return t})();var $g=["appSearch"],jg=["firstElement"],Gg=t=>({"even-margins":t}),Kg=()=>[];function Wg(t,o){t&1&&w(0,"app-spinner")}function Qg(t,o){t&1&&(l(0,"div"),w(1,"div",null,0),s())}function Yg(t,o){if(t&1){let e=I();l(0,"app-hitlist",10),y("rowsSelected",function(n){S(e);let a=c(8);return x(a.onRowsSelected(n))})("searchChanged",function(n){S(e);let a=c(8);return x(a.doSearch(n))}),s()}if(t&2){let e=c(8);_("resultList",e.resultItems)("currentPaginationFromSearch",e.currentPaginationFromSearch)("showContextMenu",!1)}}function Zg(t,o){if(t&1){let e=I();l(0,"div",6)(1,"div",7)(2,"app-extended-search",8),y("searchWithParams",function(n){S(e);let a=c(7);return x(a.doSearch(n))})("searchReset",function(){S(e);let n=c(7);return x(n.resetSearch())}),s(),C(3,Yg,1,3,"app-hitlist",9),s()()}if(t&2){let e=c(7);r(3),b(e.resultItems?3:-1)}}function Jg(t,o){if(t&1){let e=I();l(0,"div",4),C(1,Qg,3,0,"div"),l(2,"app-activate-form-element",5),y("changed",function(n){S(e);let a=c(6);return x(a.onInput(n))})("customFieldRemoved",function(n){S(e);let a=c(6);return x(a.onRemoveCustomField(n))})("optionRemoved",function(n){S(e);let a=c(6);return x(a.onRemoveSelection(n))}),s()(),C(3,Zg,4,1,"div",6)}if(t&2){let e=c(),i=e.$implicit,n=e.$index,a=c(2),m=a.$implicit,f=a.$index,v=c(3);_("ngClass",Ce(16,Gg,m.evenMargins)),r(),b(i.template==="referenceField"&&i.showSearch?1:-1),r(),_("inUserPackage",v.isInUserMetadataPackage(i.field))("label",i==null?null:i.label)("data",i==null?null:i.data)("elementId","1_"+(f+1)+"_"+(n+1))("field",i==null?null:i.field)("iconCl
1ickedAction",(i==null?null:i.iconClickedAction)||null)("inline",i==null?null:i.inline)("isValid",v.dataValid[i.field])("mandatory",i.mandatory||!1)("templateString",i.template.toString())("styleConnected",i.styleConnected)("items",(i==null?null:i.items)??Ct(18,Kg))("value",(i==null?null:i.value())||""),r(),b(i.template==="referenceField"&&i.showSearch?3:-1)}}function Xg(t,o){if(t&1&&C(0,Jg,4,19),t&2){let e=o.$implicit;b(e?0:-1)}}function ev(t,o){if(t&1){let e=I();l(0,"button",11),y("click",function(){S(e);let n=c(5);return x(n.allowAddCustomField&&n.onAddCustomField())}),w(1,"app-icon",12),l(2,"span"),p(3),d(4,"transloco"),s()()}if(t&2){let e=c(5);_("ngClass",e.allowAddCustomField===!1?"disabled":""),r(3),h(u(4,2,"company_data.add_new_custom_field"))}}function tv(t,o){if(t&1&&(l(0,"app-collapsible-section",2),ue(1,Xg,1,1,null,null,Se),C(3,ev,5,4,"button",3),s()),t&2){let e=c().$implicit;_("expanded",e.expanded)("headline",e.headline)("info",e.headline==="search.customer_fields"&&"common.metadata_label.info_text"),r(),_e(e.formElements),r(2),b(e.headline==="common.other"?3:-1)}}function iv(t,o){if(t&1&&C(0,tv,4,4,"app-collapsible-section",2),t&2){let e=o.$index,i=c(3);b(i.isAtLeastOneFieldAvailable(e)?0:-1)}}function nv(t,o){if(t&1&&(l(0,"p",1),p(1),d(2,"transloco"),s()),t&2){let e=c(3);r(),D(" ",u(2,1,e.errorMessage)," ")}}function ov(t,o){if(t&1&&(ue(0,iv,1,1,null,null,Se),C(2,nv,3,3,"p",1)),t&2){let e=c(2);_e(e.formConfig[0].collapseBlocks),r(2),b((e.errorMessage==null?null:e.errorMessage.length)>0?2:-1)}}function av(t,o){if(t&1&&C(0,ov,3,1),t&2){let e=c();b(e.formConfig?0:-1)}}var md=new Jn("CustomFieldsUnsavedChangesService"),ud=(()=>{class t{constructor(){this._authService=g(Pe),this._changeDetectorRef=g(Be),this._favoritesService=g(Kt),this._feedbackService=g(Ke),this._location=g(ro),this._metadataFieldsService=g(ln),this._metadataService=g(Vs),this._modalService=g(X),this._route=g(bt),this._router=g(De),this._searchService=g(yt),this._tenantStateService=g(pt),this._translocoService=g(Q),this._unsavedChangesService=g(ba),this._unsavedChangesServiceCustomFields=g(md),this._valueListService=g(Pi),this._classificationProHelper=g(ml),this.updated=new K,this.canceled=new K,this.dataValid=new Map,this.metadataModel=new zs,this.proFieldsModel=new Ln,this.errorMessage="",this.allowAddCustomField=!0,this.showOverlay=!1,this.isPending=!0,this.isDeleting=!0,this._mandatoryFields=[],this._dateFields=[],this._valueListFields=[],this._componentActive=!0,this._days=[],this._isFavoritesAndNotesOpen=!0,this._proKeys=["documentTypePro","updatePro","monitoringStatus","ruleSetPro","createdBy.userName","createdAt","modifiedAt","modifiedBy.userName","classificationPro","info","isCited","regionalValidity","pricePro","publisherPro","sourcePro","certifiedBy","certifiedDate","releaseLevel","releaseComment","changeDescription","revisionVersion","reminderDate","documentOwners.userName","lastReview","updateInterval"],this._isSuccessor=!1,this._withdrawOriginal=!1;let e=this._location.getState();this._type=e?.type??[]}get isFavoritesAndNotesOpen(){return this._isFavoritesAndNotesOpen}static buildDaysArray(){let e=[];for(let i=0;i<31;i++)e.push({label:i+1,value:i+1,selected:i===0});return e}static getFieldNumberByFieldName(e){let i=e.match(/\d+$/),n;return i?.length&&i[0]&&(n=i[0]),n}ngOnInit(){this._isSuccessor=this._type.includes(Ca.Successor),this._withdrawOriginal=this._type.includes(Ca.WithdrawOriginalRecord),this._tenantStateService.getTenantData(this._authService.userInfo.tenantId).subscribe(()=>{this.isEditMode=!0,this.isCreateMode=!1,this.isTemplate=this._route.snapshot.data.isTemplate,this._tenantKey=localStorage.getItem(Gt),this._route.params.subscribe(e=>{this._id=e.id,this._id?(this.getCurrentMetadata(this.isTemplate),this.isEditMode=!0):(this.isCreateMode=!0,this.isPending=!1),this.isTemplate&&(this.isEditMode=!1,this.isCreateMode=!0),this._metadataFieldsService.getMetadataList().subscribe(i=>{if(i){let n=["valid","ceInfo"],a=Array.from(i.values()).filter(m=>!n.includes(m.id));this._metadataList=new Map(a.map(m=>[m.id,m])),this._valueListService.initializeValueListFields(this._metadataList)}}),this._translocoService.selectTranslate("common.metadata_label.").pipe(ve(1)).subscribe(()=>{this._days=t.buildDaysArray(),this.processFormData()})})})}isInUserMetadataPackage(e){if(e==="documentNumber"&&(e="documentNr"),this._proKeys.includes(e))return this.isNautosPro;let i=e.toLowerCase();return this.metadataWidth?.includes(i)}isAtLeastOneFieldAvailable(e){return this.formConfig[0].collapseBlocks?this.formConfig[0].collapseBlocks[e].formElements.some(n=>this.isInUserMetadataPackage(n.field)):!1}onSubmit(){sessionStorage.clear();let e=!1;for(let i of this.formConfig)for(let n of i.collapseBlocks)for(let a of n.formElements)a?.mandatory&&(this.metadataModel[a.field]||(this.dataValid[a.field]=!1,e=!0));e?this.errorMessage="company_data.please_fix_all_errors":(this._unsavedChangesService.trackChanges(!1),this.onSave())}onCancel(){this._unsavedChangesService.trackChanges(!1),this._unsavedChangesServiceCustomFields.trackChanges(!1),this.isTemplate?this._router.navigate([`${this._tenantKey}/search`]):(sessionStorage.clear(),this.isEditMode=!1,this.canceled.emit(),this.isCreateMode&&this._router.navigate([`${this._tenantKey}/search`]))}onDelete(){this.isDeleting=!0;let e=this._modalService.open(mt);e.componentInstance.isDeleteConfirmation=!0,e.componentInstance.title="company_data.delete_company_data",e.componentInstance.text="company_data.delete_description",e.result.then(i=>{if(this.isDeleting=!1,i.preset){let n=this.metadataModel.acCode;this._metadataService.deleteMetadata(n).subscribe({next:()=>{this._unsavedChangesService.trackChanges(!1),this._unsavedChangesServiceCustomFields.trackChanges(!1),this._feedbackService.showSuccessModal("company_data.record_successfully_deleted",`${this._tenantKey}/search`)},error:()=>{this._feedbackService.showErrorModal()}})}})}onInput(e){let{field:i,newValue:n,isValid:a}=e,m=i.includes("."),f=i.includes("custom_");this._unsavedChangesService.trackChanges(!0);let v=this.proFieldsModel[i.split(".")[0]]!==void 0?this.proFieldsModel:this.metadataModel;if(v===this.proFieldsModel&&this._unsavedChangesServiceCustomFields.trackChanges(!0),f){let E=this.metadataModel.customFields.find(F=>F.fieldName===i);E&&(E.fieldValue=n)}else m?this.setNestedValue(v,i,n):v[i]=n;this.checkDateField(i,a),this.checkValueList(i,a),this.checkMandatory(i,n,a),this.checkLastReview(i,n),this.validateUpdateFields(i,n,a)}hideAndResetSearch(){this.formConfig[0].collapseBlocks[3].formElements[7].showSearch=!1,this.showOverlay=!1;let e=this.formConfig[0];for(let i=0;i<e.collapseBlocks.length;i++){let n=e.collapseBlocks[i];for(let a=0;a<n.formElements.length;a++)n.formElements[a].showSearch&&(this.formConfig[0].collapseBlocks[i].formElements[a].showSearch=!1)}this.resetSearch()}resetSearch(){this.resultItems=null}onRemoveSelection(e){let i=e.field;this.metadataModel[i]=this.metadataModel[i].filter(n=>n.acCode!==e.itemToRemove.acCode||n.value!==e.itemToRemove.value),i==="documentOwners"&&(this.proFieldsModel[i]=this.proFieldsModel[i].filter(n=>n.userName!==e.itemToRemove),this._unsavedChangesServiceCustomFields.trackChanges(!0))}doSearch(e){if(e){this.currentPaginationFromSearch=e.pageNumber;let i=e.searchRequest?e.searchRequest:this._searchService.lastSearchRequest;this._searchService.search(i,e.pageSize,e.pageNumber,e.sortField,e.sortDir,!0).subscribe(n=>(this.resultItems=n,st(n)))}}onRowsSelected(e){this._currentSearchSelection=e.map(i=>{let n=i.item.dateOfIssue.split("-"),a=`(${n[0]}-${n[1]})`;return{value:`${i.item.documentNumber} ${a}`,acCode:i.item.acCode}})}applySelection(e,i=!1){let n=this.metadataModel[e];if(!this._currentSearchSelection){this.hideAndResetSearch();return}(!n||!Array.isArray(n))&&(n=[]),n=n.concat(this._currentSearchSelection),i&&(n=[...n.filter(a=>!a.acCode||a.acCode.trim()===""),...Array.from(new Map(n.filter(a=>a.acCode&&a.acCode.trim()!=="").map(a=>[a.acCode,a])).values())]),this.metadataModel[e]=n,this.hideAndResetSearch()}onRemoveCustomField(e){let i=this.formConfig[0]?.collapseBlocks[3]?.formElements??[];for(let a=0;a<i.length;a++){let m=i[a];if(m&&m.field===e){this.formConfig[0].collapseBlocks[3].formElements.splice(a,1);break}}i=this.metadataModel.customFields;for(let a=0;a<i.length;a++){let m=i[a];if(m){let f=t.getFieldNumberByFieldName(m.fieldName);e==="custom_"+f&&this.metadataModel.customFields.splice(a,1)}}let n=this.metadataModel.customFields.filter(a=>a!==null);this.allowAddCustomField=n.length<3}onAddCustomField(){this.metadataModel.customFields||(this.metadataModel.customFields=[]);let e=this.getCurCustomFieldIndex(),i=this.createCustomField(e),n=this.formConfig[0].collapseBlocks[3];n.formElements=[...n.formElements,i],this.metadataModel.customFields.push({f
1ieldName:i.field,fieldValue:i.value()}),this.allowAddCustomField=e<=1}getFolderIcon(e){return this._favoritesService.getNodeIcon(e)}fieldIsMandatory(e){return this._mandatoryFields.includes(e)}fieldIsDate(e){return this._dateFields.includes(e)}fieldIsValueList(e){return this._valueListFields.includes(e)}formIsValid(){return Object.values(this.dataValid).every(e=>e!==!1)}mapCommaStringToArray(e){if(e.length>0){let i=ae.detectStringSeparator(e);return e.split(i).map(n=>n.trim())}else return[]}mapChangedFlags(e){let i=new Set(["AB","AD","AF","AL","AN","AS","AV","AZ","CA","CM","CT","DC","DI","DP","DV","DX","ET","FM","FT","HB","IF","II","IU","LE","NB","NF","NG","OV","PQ","PU","RH","RX","RZ","SL","TF","TG","TI","TN","TP","TR","TS","WD","XD"]);return e.filter(n=>i.has(n))}mapStandardRequest(e){return Array.isArray(e)?e.map(i=>({relation:i.value,id:"",internationalRelationType:"",isHyperlink:!1})):[]}mapStringToArray(e){return e?[e]:[]}mapEditToPartialFullDetail(e,i){let n=this.mapCommaStringToArray(e.flagStatus),a=this.mapCommaStringToArray(e.author),m=this.mapCommaStringToArray(e.originalLanguage),f=this.mapCommaStringToArray(e.documentType),v=new Set(["W","H"]),E=!n.some(N=>v.has(N)),F=[];
1typeof e.linkLegislation=="string"&&(F=this.mapCommaStringToArray(e.linkLegislation).map(U=>({relation:U,begin:"",end:"",ceType:"",isHyperlink:!1,id:"",toBeAnnounced:!1})));let P=[];typeof e.linkPublished=="string"&&(P=this.mapCommaStringToArray(e.linkPublished).map(U=>({relation:U,isHyperlink:!1,id:"",internationalRelationType:""})));let z=[];typeof e.internationalRelationship=="string"&&(z=this.mapCommaStringToArray(e.internationalRelationship).map(U=>({relation:U,isHyperlink:!1,id:"",internationalRelationType:""})));let q=this.mapChangedFlags(n);return{abstractDe:this.mapStringToArray(e.abstractDe),abstractEn:this.mapStringToArray(e.abstractEn),abstractFr:this.mapStringToArray(e.abstractFr),abstractUnd:this.mapStringToArray(e.abstractUnd),admPerinormSortkey:null,admSectional:this.mapStringToArray(e.sectionalList),admSortKey:e.admSortKey,amendedBy:this.mapStandardRequest(e.amendedBy),amends:this.mapStandardRequest(e.amends),appearance:e.appearance,author:a,ceInfo:i.ceInfo,citations:this.mapStandardRequest(e.citation),classificationIcs:this.mapStringToArray(e.classificationIcs),classificationOther:this.mapStringToArray(e.classificationOther),confirmation:e.confirmation,countryCode:e.countryCode,customFields:Array.isArray(e.customFields)&&e.customFields.length>0?e.customFields.map(N=>({value:N?.fieldValue??"",id:N?.fieldName??""})):[],dateOfIssue:e.dateOfIssue,descriptorDe:this.mapStringToArray(e.descriptorDe),descriptorEn:this.mapStringToArray(e.descriptorEn),descriptorFr:this.mapStringToArray(e.descriptorFr),descriptorUnd:this.mapStringToArray(e.descriptorUnd),documentNumber:e.documentNumber,documentType:f,documents:[],draftSuperseded:this.mapStandardRequest(e.draftSuperseded),effective:e.effective,expiration:e.expiration,fullTextDocument:[],fulltextAddress:this.mapStringToArray(e.fulltextAddress),fulltextId:"",hasFavorites:i.hasFavorites,id:i.id,isCeDirective:i.isCeDirective,isDraft:i.isDraft,isHarmonized:i.isHarmonized,isMandated:i.isMandated,isOwnStandard:i.isOwnStandard,issuing:this.mapStringToArray(e.issuing),linkCertification:this.mapStandardRequest(e.linkCertification),linkHandbook:this.mapStandardRequest(e.linkHandbook),linkLegislation:Array.isArray(e.linkLegislation)?e.linkLegislation.map(N=>({relation:N.value,id:"",begin:"",end:"",ceType:"",isHyperlink:!1,toBeAnnounced:!1})):F,linkPublished:Array.isArray(e.linkPublished)?this.mapStandardRequest(e.linkPublished):P,noteDe:e.noteDe,noteEn:e.noteEn,noteFr:e.noteFr,noteUnd:e.noteUnd,notes:i.notes,originalLanguage:m,overviewUnd:e.overview,pdfDeVt:null,pdfEnVt:i.pdfEnVt,pdfFrVt:i.pdfFrVt,pdfVt:i.pdfVt,priceUndetermNote:e.priceUndetermNote,productId:e.productId,publishing:this.mapStringToArray(e.publishing),qualityXml:i.qualityXml,refDocNrSpecial:i.refDocNrSpecial,replacedBy:this.mapStandardRequest(e.replacedBy),replaces:this.mapStandardRequest(e.replaces),reqIfConvertible:i.reqIfConvertible,tenantId:i.tenantId,titleDe:e.titleDe,titleFr:e.titleFr,titleEn:e.titleEn,titleUnd:e.titleUnd,transition:e.transitionPeriod,translations:this.mapStringToArray(e.translations),valid:E,version:this.mapStandardRequest(e.version),withdrawal:e.withdrawalDate,flagNew:n.includes("N"),flagHistorical:n.includes("H"),flagIntendedWithdrawal:n.includes("I"),flagModified:n.includes("M"),flagReinstated:n.includes("R"),flagDeleted:n.includes("D"),flagAmendment:n.includes("A"),flagChanged:n.includes("C"),flagUnchanged:n.includes("U"),flagPartiallyReplaced:n.includes("P"),flagWithdrawn:n.includes("W"),flagStatusChanged:n.includes("S"),flagAmendmentWeekly:!1,flagPartiallyReplacedWeekly:!1,flagReinstatedWeekly:!1,flagWithdrawnWeekly:!1,flagNewWeekly:!1,flagCNote:q,referenceIdentical:z,referenceNecessary:[],referenceUseful:[],referenceModified:[],referenceNotEquivalent:[]}}processFormData(){this.formConfig=this.getFormConfig(),this.formConfig.forEach(e=>{e.collapseBlocks.forEach(i=>{i.formElements.forEach(n=>{this.processField(n)})})}),yn.convertValueListSeparator(this.metadataModel,", "),this.isDeleting=!1}processField(e){if(Object.hasOwn(e,"mandatory")&&e.mandatory){let i=e.field;this._mandatoryFields.push(i),this.dataValid[i]=!!e.value}if(Object.hasOwn(e,"template")&&e.template==="dateField"){let i=e.field;this._dateFields.push(i),this.dataValid[i]=!!e.value}if(e?.template==="valuelistField"&&e?.field==="classificationPro"){let i=e.field;this._valueListFields.push(i),this.dataValid[i]=!!e.value}}getCurCustomFieldIndex(){let i=this.formConfig[0].collapseBlocks[3].formElements.filter(a=>a&&a.field.indexOf("custom_")===0).map(a=>Number.parseInt(a.field.replace("custom_",""),10)),n=0;return i.length>0&&(n=Math.max(...i)),n}createCustomField(e){let i=this.metadataModel.customFields[e];return{template:"customInputField",label:this._translocoService.translate("common.metadata_label.custom_field"),field:"custom_"+(e+1),value:()=>i?i.fieldValue:"",iconClickedAction:this.showSearch.bind(this,["version"])}}onSave(){if(this.isTemplate&&this.proFieldsModel&&this._unsavedChangesServiceCustomFields.trackChanges(!0),this.isPending=!0,!this.formIsValid())this.errorMessage="company_data.please_fix_all_errors",this.isPending=!1;else if(this.isEditMode)if(this.isCompanyData){let e=this.getFullMetadataModel();this._metadataService.updateMetadata(e).subscribe({next:()=>{let i=this.mapEditToPartialFullDetail(this.metadataModel,this.result);this.updated.emit({updatedResult:i,updatedProFields:this._unsavedChangesServiceCustomFields.hasUnsavedChanges()?this.proFieldsModel:null}),this._feedbackService.showSuccessModal("company_data.record_successfully_updated"),this.isPending=!1,this._unsavedChangesServiceCustomFields.trackChanges(!1)},error:()=>{this._feedbackService.showErrorModal(),this.isPending=!1}})}else{this.updateProMetadata(this.proFieldsModel,this.metadataModel.acCode);let e=this.mapEditToPartialFullDetail(this.metadataModel,this.result);this.updated.emit({updatedResult:e,updatedProFields:this.proFieldsModel}),this._feedbackService.showSuccessModal("search.item_detail.customer_fields_edit_success"),this.isPending=!1}else{let e=this.getFullMetadataModel();this._metadataService.createMetadata(e,this._isSuccessor,this._withdrawOriginal,this._id).subscribe({next:()=>{this._feedbackService.showSuccessModal("company_data.record_successfully_created",`${this._tenantKey}/search`)},error:()=>{this._feedbackService.showErrorModal(),this.isPending=!1}})}}showSearch(e,i=!1){let n=this._modalService.open(To,{windowClass:"modal-fullscreen",isCentered:!1});if(i){let a=this.metadataModel[e];n.componentInstance.acCodesToHide=a.map(m=>m.acCode)}n.componentInstance.modalTitle="company_data.link_metadata",n.componentInstance.showContextMenu=!1,n.c
1omponentInstance.selectedDocuments.subscribe(a=>{let m=a.map(f=>{let v=f.dateOfIssue.split("-"),E=`(${v[0]}-${v[1]})`;return{value:`${f.documentNumber} ${E}`,acCode:f.acCode}});this._currentSearchSelection=m,this.applySelection(e,i)})}validateUpdateFields(e,i,n){if(e==="lastReview"||e==="updateInterval"){let a=this.proFieldsModel.updateInterval,m=!0,f="company_data.please_fix_all_errors",v=this.proFieldsModel.lastReview,E=this.dataValid.lastReview;if(e==="updateInterval"?a=i:e==="lastReview"&&(v=i,E=n),a){let F=Number(a);F<1||F>24||!Number.isInteger(F)?(m=!1,f="company_data.update_interval_invalid"):v||(m=!1,f="company_data.update_field_relation_error")}else v&&(m=!1,f="company_data.update_field_relation_error");this.dataValid.updateInterval=m,this.dataValid.lastReview=E,this.errorMessage=this.formIsValid()?"":f}}getCurrentMetadata(e=!1){this._route.params.pipe(Hi(i=>this._metadataService.getMetadataDetails(i.id)),Oe(()=>this._componentActive)).subscribe({next:i=>{if(!i){this.isPending=!1;return}if(this.metadataModel=i,this.customFieldsResult&&(this.proFieldsModel=se({},this.customFieldsResult)),this.metadataModel.linkLegislation=this.metadataModel.linkLegislation.map(n=>n.value).join(", "),this.metadataModel.linkPublished=this.metadataModel.linkPublished.map(n=>n.value).join(", "),this.metadataModel.internationalRelationship=this.metadataModel.internationalRelationship.map(n=>n.value).join(", "),e&&(this.metadataModel.acCode=void 0),e&&this._isSuccessor){this.metadataModel.acCode=void 0;let n={acCode:this._id,value:`${this.metadataModel.documentNumber} (${this.metadataModel.dateOfIssue})`},a=[...this.metadataModel.replaces,n];this.metadataModel.replaces=[...a].filter((m,f,v)=>f===v.indexOf(m)),this.metadataModel.version=Array.from(new Map([n,...this.metadataModel.version].map(m=>[m.value,m])).values())}this.finalizeFormSetup()},error:i=>{i.status===It.NOT_FOUND&&this._router.navigate([`${this._tenantKey}/search`]),this.isPending=!1}})}finalizeFormSetup(){this.formConfig=this.getFormConfig(),this._changeDetectorRef.markForCheck(),this.metadataModel=yn.convertValueListSeparator(this.metadataModel,", "),this.isPending=!1}getFormConfig(){let e=[{headline:"search.main_data",expanded:!0,formElements:[{field:"acCode",label:"common.metadata_label.acCode",mandatory:!1,template:"textDisplay",value:()=>this.metadataModel?.acCode??"company_data.code_is_generated_with_the_record"},{data:this._days,field:"documentNumber",label:"common.metadata_label.documentNumber",mandatory:!0,template:"inputField",value:()=>this.metadataModel.documentNumber},{field:"dateOfIssue",iconClickedAction:this.openDatepickerModal.bind(this,["dateOfIssue"]),label:"common.metadata_label.dateOfIssue",mandatory:!0,template:"dateField",value:()=>this.metadataModel.dateOfIssue},{field:"documentType",iconClickedAction:this.openDoctypeModal.bind(this),label:"common.metadata_label.documentType",mandatory:!0,template:"valuelistField",value:()=>this.metadataModel.documentType},{field:"flagStatus",iconClickedAction:this.openUpdateModal.bind(this),label:"common.metadata_label.flagStatus",mandatory:!0,template:"valuelistField",value:()=>this.metadataModel.flagStatus},{field:"titleDe",label:"common.metadata_label.titleDe",template:"inputField",value:()=>this.metadataModel.titleDe,styleConnected:!0},{field:"titleEn",label:"common.metadata_label.titleEn",template:"inputField",value:()=>this.metadataModel.titleEn,styleConnected:!0},{field:"titleFr",label:"common.metadata_label.titleFr",template:"inputField",value:()=>this.metadataModel.titleFr,styleConnected:!0},{field:"titleUnd",label:"common.metadata_label.titleUnd",template:"inputField",value:()=>this.metadataModel.titleUnd},{field:"originalLanguage",iconClickedAction:this.openOriginalLanguageModal.bind(this),label:"common.metadata_label.originalLanguage",template:"valuelistField",value:()=>this.metadataModel.originalLanguage},{field:"effective",iconClickedAction:this.openDatepickerModal.bind(this,["effective"]),label:"common.metadata_label.effective",template:"dateField",value:()=>this.metadataModel.effective},{field:"countryCode",iconClickedAction:this.openCountryCodeModal.bind(this),label:"common.metadata_label.countryCode",template:"valuelistField",value:()=>this.metadataModel.countryCode},{field:"sectionalList",label:"common.metadata_label.sectionalList",template:"textareaField",value:()=>this.metadataModel.sectionalList},{field:"productId",label:"common.metadata_label.productId",template:"inputField",value:()=>this.metadataModel.productId},{field:"admSortKey",label:"common.metadata_label.admSortKey",template:"inputField",value:()=>this.metadataModel.admSortKey}]},{headline:"common.metadata_label.linkLegislation",expanded:!0,formElements:[{field:"linkLegislation",iconClickedAction:this.openLinkLegislationModal.bind(this),label:"common.metadata_label.linkLegislation",template:"valuelistField",value:()=>this.metadataModel.linkLegislation},{field:"linkPublished",iconClickedAction:this.openLinkPublishedModal.bind(this),label:"common.metadata_label.linkPublished",template:"valuelistField",value:()=>this.metadataModel.linkPublished},{field:"transitionPeriod",iconClickedAction:this.openDatepickerModal.bind(this,["transitionPeriod"]),label:"common.metadata_label.transitionPeriod",template:"dateField",value:()=>this.metadataModel.transitionPeriod}]},{headline:"search.procurement",expanded:!0,formElements:[{field:"priceUndetermNote",label:"common.metadata_label.priceUndetermNote",template:"inputField",value:()=>this.metadataModel.priceUndetermNote},{field:"issuing",label:"common.metadata_label.issuing",template:"inputField",value:()=>
1this.metadataModel.issuing},{field:"publishing",label:"common.metadata_label.publishing",template:"textareaField",value:()=>this.metadataModel.publishing}]},{headline:"common.other",expanded:!0,formElements:[{field:"linkHandbook",iconClickedAction:this.showSearch.bind(this,["linkHandbook"]),label:"common.metadata_label.linkHandbook",template:"referenceField",value:()=>this.metadataModel.linkHandbook},{field:"author",iconClickedAction:this.openAuthorModal.bind(this),label:"common.metadata_label.author",template:"valuelistField",value:()=>this.metadataModel.author},{field:"noteDe",label:"common.metadata_label.noteDe",template:"inputField",value:()=>this.metadataModel.noteDe,styleConnected:!0},{field:"noteEn",label:"common.metadata_label.noteEn",template:"inputField",value:()=>this.metadataModel.noteEn,styleConnected:!0},{field:"noteFr",label:"common.metadata_label.noteFr",template:"inputField",value:()=>this.metadataModel.noteFr,styleConnected:!0},{field:"noteUnd",label:"common.metadata_label.noteUnd",template:"inputField",value:()=>this.metadataModel.noteUnd},{field:"confirmation",iconClickedAction:this.openDatepickerModal.bind(this,["confirmation"]),label:"common.metadata_label.confirmation",template:"dateField",value:()=>this.metadataModel.confirmation},{field:"amends",iconClickedAction:this.showSearch.bind(this,["amends"]),label:"common.metadata_label.amends",template:"referenceField",value:()=>this.metadataModel.amends},{field:"overview",label:"common.metadata_label.overview",template:"inputField",value:()=>this.metadataModel.overview},{field:"expiration",iconClickedAction:this.openDatepickerModal.bind(this,["expiration"]),label:"common.metadata_label.expiration",template:"dateField",value:()=>this.metadataModel.expiration},{field:"appearance",iconClickedAction:this.openDatepickerModal.bind(this,["appearance"]),label:"common.metadata_label.appearance",template:"dateField",value:()=>this.metadataModel.appearance},{field:"amendedBy",iconClickedAction:this.showSearch.bind(this,["amendedBy"]),label:"common.metadata_label.amendedBy",template:"referenceField",value:()=>this.metadataModel.amendedBy},{field:"internationalRelationship",label:"common.metadata_label.internationalRelationship",template:"valuelistField",value:()=>this.metadataModel.internationalRelationship,iconClickedAction:this.openInternationalRelationshipModal.bind(this)},{field:"classificationIcs",iconClickedAction:this.openClassificationModal.bind(this),label:"common.metadata_label.classificationIcs",template:"valuelistField",value:()=>this.metadataModel.classificationIcs},{field:"abstractDe",label:"common.metadata_label.abstractDe",template:"textareaField",value:()=>this.metadataModel.abstractDe,styleConnected:!0},{field:"abstractEn",label:"common.metadata_label.abstractEn",template:"textareaField",value:()=>this.metadataModel.abstractEn,styleConnected:!0},{field:"abstractFr",label:"common.metadata_label.abstractFr",template:"textareaField",value:()=>this.metadataModel.abstractFr,styleConnected:!0},{field:"abstractUnd",label:"common.metadata_label.abstractUnd",template:"textareaField",value:()=>this.metadataModel.abstractUnd},{field:"replacedBy",iconClickedAction:this.showSearch.bind(this,["replacedBy"]),label:"common.metadata_label.replacedBy",template:"referenceField",value:()=>this.metadataModel.replacedBy},{field:"descriptorDe",label:"common.metadata_label.descriptorDe",template:"inputField",value:()=>this.metadataModel.descriptorDe,styleConnected:!0},{field:"descriptorEn",label:"common.metadata_label.descriptorEn",template:"inputField",value:()=>this.metadataModel.descriptorEn,styleConnected:!0},{field:"descriptorFr",label:"common.metadata_label.descriptorFr",template:"inputField",value:()=>this.metadataModel.descriptorFr,styleConnected:!0},{field:"descriptorUnd",label:"common.metadata_label.descriptorUnd",template:"inputField",value:()=>this.metadataModel.descriptorUnd},{field:"replaces",iconClickedAction:this.showSearch.bind(this,["replaces"]),label:"common.metadata_label.replaces",template:"referenceField",value:()=>this.metadataModel.replaces},{field:"draftSuperseded",iconClickedAction:this.showSearch.bind(this,["draftSuperseded"]),label:"common.metadata_label.draftSuperseded",template:"referenceField",value:()=>this.metadataModel.draftSuperseded},{field:"citation",iconClickedAction:this.showSearch.bind(this,["citation"],[!0]),label:"common.metadata_label.citation",template:"referenceField",value:()=>this.metadataModel.citation},{field:"withdrawalDate",iconClickedAction:this.openDatepickerModal.bind(this,["withdrawalDate"]),label:"common.metadata_label.withdrawalDate",template:"dateField",value:()=>this.metadataModel.withdrawalDate},{field:"translations",label:"common.metadata_label.translations",template:"inputField",value:()=>this.metadataModel.translations},{field:"version",iconClickedAction:this.showSearch.bind(this,["version"]),label:"common.metadata_label.ver
1sion",template:"referenceField",value:()=>this.metadataModel.version},{field:"linkCertification",iconClickedAction:this.showSearch.bind(this,["linkCertification"]),label:"common.metadata_label.linkCertification",template:"referenceField",value:()=>this.metadataModel.linkCertification},{field:"classificationOther",label:"common.metadata_label.classificationOther",template:"inputField",value:()=>this.metadataModel.classificationOther},{field:"fulltextPages",label:"common.metadata_label.fulltextPages",template:"inputField",value:()=>this.metadataModel.fulltextPages},{field:"fulltextAddress",label:"common.metadata_label.fulltextAddress",template:"inputField",value:()=>this.metadataModel.fulltextAddress},{field:"edvNr",label:"common.metadata_label.edvNr",template:"inputField",value:()=>this.metadataModel.edvNr}]}],i=[{headline:"search.customer_fields",expanded:!0,formElements:[{field:"documentTypePro",label:"common.metadata_label.pro_metadata.documentTypePro",template:"inputField",value:()=>this.proFieldsModel?.documentTypePro},{field:"updatePro",label:"common.metadata_label.pro_metadata.updatePro",template:"inputField",value:()=>this.proFieldsModel?.updatePro},{field:"monitoringStatus",label:"common.metadata_label.pro_metadata.monitoringStatus",template:"selectField",items:So.map(m=>({text:this._translocoService.translate("common.metadata_label.pro_metadata.monitoringStatus_options."+m.translocoKey),value:m.value})),value:()=>this.proFieldsModel?.monitoringStatus},{field:"ruleSetPro",label:"common.metadata_label.pro_metadata.ruleSetPro",template:"inputField",value:()=>this.proFieldsModel?.ruleSetPro},{field:"classificationPro",label:"common.metadata_label.pro_metadata.classificationPro",template:"valuelistField",iconClickedAction:this.openProClassificationModal.bind(this),value:()=>this.proFieldsModel?.classificationPro},{field:"info",label:"common.metadata_label.pro_metadata.info",template:"inputField",value:()=>this.proFieldsModel?.info},{field:"regionalValidity",label:"common.metadata_label.pro_metadata.regionalValidity",template:"inputField",value:()=>this.proFieldsModel?.regionalValidity},{field:"pricePro",label:"common.metadata_label.pro_metadata.pricePro",template:"inputField",value:()=>this.proFieldsModel?.pricePro},{field:"publisherPro",label:"common.metadata_label.pro_metadata.publisherPro",template:"inputField",value:()=>this.proFieldsModel?.publisherPro},{field:"sourcePro",label:"common.metadata_label.pro_metadata.sourcePro",template:"inputField",value:()=>this.proFieldsModel?.sourcePro},{field:"certifiedBy",label:"common.metadata_label.pro_metadata.certifiedBy",template:"inputField",value:()=>this.proFieldsModel?.certifiedBy},{field:"certifiedDate",label:"common.metadata_label.pro_metadata.certifiedDate",template:"dateField",iconClickedAction:this.openDatepickerModal.bind(this,["certifiedDate",!0]),value:()=>this.proFieldsModel?.certifiedDate},{field:"releaseLevel",label:"common.metadata_label.pro_metadata.releaseLevel",template:"selectField",items:Ws.map(m=>({text:this._translocoService.translate("common.metadata_label.pro_metadata.releaseLevels."+m.translocoKey),value:m.value})),value:()=>this.proFieldsModel?.releaseLevel},{field:"releaseComment",label:"common.metadata_label.pro_metadata.releaseComment",template:"inputField",value:()=>this.proFieldsModel?.releaseComment},{field:"changeDescription",label:"common.metadata_label.pro_metadata.changeDescription",template:"inputField",value:()=>this.proFieldsModel?.changeDescription},{field:"revisionVersion",label:"common.metadata_label.pro_metadata.revisionVersion",template:"inputField",value:()=>this.proFieldsModel?.revisionVersion},{field:"documentOwners",label:"common.metadata_label.pro_metadata.documentOwners",template:"staticOptionsListField",iconClickedAction:this.openDocumentOwnersModal.bind(this),value:()=>this.proFieldsModel?.documentOwners?.map(m=>m.userName)},{field:"lastReview",label:"common.metadata_label.pro_metadata.lastReview",template:"dateField",iconClickedAction:this.openDatepickerModal.bind(this,["lastReview",!0]),value:()=>this.proFieldsModel?.lastReview},{field:"updateInterval",label:"common.metadata_label.pro_metadata.updateInterval",template:"inputFieldNumeric",value:()=>this.proFieldsModel?.updateInterval}]}],n=[];this.isNautosPro?this.isCompanyData?n=[...e,...i]:n=[...i]:n=[...e];let a=[{pageNum:1,collapseBlocks:n}];if(this.metadataModel.customFields?.length){for(let m=0;m<this.metadataModel.customFields.length;m++)this.metadataModel.customFields[m]&&a[0].collapseBlocks[3].formElements.push(this.createCustomField(m));this.metadataModel.customFields=this.metadataModel.customFields.filter(m=>m),this.allowAddCustomField=this.metadataModel.customFields.length<3}return a}openDatepickerModal(e){let i=e[0],n=e[1]??!1,a=this._modalService.open(ll);a.componentInstance.showUntil=!1,a.componentInstance.hasDayPicker=!0,n?a.componentInstance.selectedFrom=this.proFieldsModel[i]:a.componentInstance.selectedFrom=this.metadataModel[i],a.componentInstance.modalHeaderDisplayTitle="common.datepicker.choose_date",a.result.then(m=>{if(!m||m==="cross click")return;let f;switch(i){case"appearance":case"confirmation":case"dateOfIssue":case"effective":case"expiration":case"transitionPeriod":case"void":case"withdrawalDate":case"lastReview":case"reminderDate":case"certifiedDate":case"modifiedAt":case"createdAt":{let E=new Date(m[0]),F=E.getFullYear(),P=(E.getMonth()+1).toString().padStart(2,"0"),z=E.getDate().toString().padStart(2,"0");f=`${F}-${P}-${z}`;break}default:f=m[0];break}let v={field:i,action:"store",newValue:f};this.onInput(v)})}openDoctypeModal(){let e={fieldModalType:ci.DOCUMENTTYPE,valueListType:null,expandable:null,showTitlesOfEntries:!0,initiallySelectedNodeIds:this.metadataModel.documentType??[]},i=this.resultHandler.bind(this,"documentType");this.openValueListModal(e,i)}openValueListModal(e,i,n={}){n||(n={windowClass:"modal-large"});let a=this._modalService.open(_l,n),m=this._metadataList?this._metadataList.get(e.fieldModalType).type:null;a.componentInstance.fieldModalType=e.fieldModalType,a.componentInstance.valueListType=m,a.componentInstance.expandable=e.expandable,a.componentInstance.showTitlesOfEntries=e.showTitlesOfEntries,a.componentInstance.initiallySelectedNodeIds=e.initiallySelectedNodeIds,a.result.then(i)}
1resultHandler(e,i){if(!e||!i)return;let n;if(typeof i=="string"?n=i:n=i&&i.length>1?i[1]:"",!n&&n!=="")return;let a={field:e,action:"store",newValue:n};this.onInput(a)}openInternationalRelationshipModal(){let e=typeof this.metadataModel.internationalRelationship=="string"?this.metadataModel.internationalRelationship.split(", ").map(n=>n.trim()):[],i={fieldModalType:ci.INTERNATIONALRELATIONSHIP,showTitlesOfEntries:!1,expandable:!1,initiallySelectedNodeIds:e,valueListType:this._metadataList.get("internationalRelationship").type};this.openValueListModal(i,this.resultHandler.bind(this,"internationalRelationship"))}openClassificationModal(){let e={fieldModalType:ci.CLASSIFICATION_ICS,showTitlesOfEntries:!0,expandable:!0,initiallySelectedNodeIds:this.metadataModel.classificationIcs.split(", ").map(n=>n.trim())},i=this.resultHandler.bind(this,"classificationIcs");this.openValueListModal(e,i)}openProClassificationModal(){let e=this._modalService.open(ul);e.componentInstance.showTitlesOfEntries=!0,e.componentInstance.expandable=!0,e.componentInstance.disableFilter=!0,e.componentInstance.actualSelectedValue=this.proFieldsModel.classificationPro??"",e.result.then(i=>{let n=this.proFieldsModel?.classificationPro,a=i.deletedNodes.map(v=>v.fullPath),f={field:"classificationPro",action:"store",newValue:this._classificationProHelper.updateClassifications(n,i.deselectedNodes,i.selectedNodes,a,i.renamedPaths)};this.onInput(f)},()=>{})}openUpdateModal(){let e={fieldModalType:ci.FLAGSTATUS,expandable:!0,actualSelectedValue:this.metadataModel.flagStatus.replaceAll(", ",", ").replaceAll("  "," ")},i=this.resultHandler.bind(this,"flagStatus");this.openSelectFlagValueListModal(e,i)}openOriginalLanguageModal(){let e={fieldModalType:ci.ORIGINALLANGUAGE,showTitlesOfEntries:!0,initiallySelectedNodeIds:this.metadataModel.originalLanguage.split(",").map(n=>n.trim())},i=this.resultHandler.bind(this,"originalLanguage");this.openValueListModal(e,i)}openSelectFlagValueListModal(e,i){let n=this._modalService.open(hl,{windowClass:"modal-large"});n.componentInstance.actualSelectedValue=e.actualSelectedValue,n.componentInstance.isMetadataMode=!0,n.result.then(i)}openLinkLegislationModal(){let e;Array.isArray(this.metadataModel.linkLegislation)?e=this.metadataModel.linkLegislation.map(n=>n.acCode).join(", "):e=this.metadataModel.linkLegislation;let i={fieldModalType:ci.LINKLEGISLATION,showTitlesOfEntries:!1,expandable:!1,initiallySelectedNodeIds:e.split(", ").map(n=>n.trim())};this.openValueListModal(i,this.resultHandler.bind(this,"linkLegislation"))}openCountryCodeModal(){let e={fieldModalType:ci.COUNTRYCODE,showTitlesOfEntries:!0,initiallySelectedNodeIds:this.metadataModel.countryCode.split(", ").map(n=>n.trim())},i=this.resultHandler.bind(this,"countryCode");this.openValueListModal(e,i)}openLinkPublishedModal(){let e;Array.isArray(this.metadataModel.linkPublished)?e=this.metadataModel.linkPublished.map(n=>n.acCode):e=this.metadataModel.linkPublished.split(", ").map(n=>n.trim());let i={fieldModalType:ci.LINKPUBLISHED,showTitlesOfEntries:!1,expandable:!1,initiallySelectedNodeIds:e,valueListType:this._metadataList.get("linkPublished").type};this.openValueListModal(i,this.resultHandler.bind(this,"linkPublished"))}openAuthorModal(){let e;Array.isArray(this.metadataModel.author)?e=this.metadataModel.author.join(", "):e=this.metadataModel.author;let i={fieldModalType:ci.AUTHOR,showTitlesOfEntries:!1,expandable:!1,actualSelectedValue:e,valueListType:this._metadataList?.get("author").type};this.openValueListModal(i,this.resultHandler.bind(this,"author"))}openDocumentOwnersModal(){let e=this.proFieldsModel?.documentOwners?.map(i=>i.userGuid);this.openMultiUserSelectModal(e,"documentOwners")}openMultiUserSelectModal(e,i){let n=this._modalService.open(fl);n.componentInstance.title=this._translocoService.translate("common.metadata_label.pro_metadata."+i),n.componentInstance.preselectedUserIds=e??[],n.componentInstance.init(),n.result.then(a=>{a?.passedUsers&&(this.proFieldsModel[i]=a?.passedUsers.map(m=>({userGuid:m.id,userName:`${m.surname}, ${m.forename} (${m.username})`})),this._changeDetectorRef.detectChanges(),this._unsavedChangesServiceCustomFields.trackChanges(!0))})}setNestedValue(e,i,n){let a=i.split("."),m=e;
1a.slice(0,-1).forEach(f=>{(!(f in m)||typeof m[f]!="object")&&(m[f]={}),m=m[f]}),m[a[a.length-1]]=n}updateProMetadata(e,i){this.isNautosPro&&this._unsavedChangesServiceCustomFields.hasUnsavedChanges()&&this._metadataService.updateProCustomerFields(yn.normalizeEmptyStrings(e),i).subscribe({next:()=>{this._unsavedChangesServiceCustomFields.resetUnsavedChangesFlag()},error:()=>{this._feedbackService.showErrorModal()}})}getFullMetadataModel(){return se(se({},this.metadataModel),this.proFieldsModel)}checkLastReview(e,i){e==="lastReview"&&i&&!this.proFieldsModel?.updateInterval&&(this.proFieldsModel.updateInterval=12,this._changeDetectorRef.detectChanges(),this._unsavedChangesServiceCustomFields.trackChanges(!0))}checkMandatory(e,i,n){this.fieldIsMandatory(e)&&(this.dataValid[e]=!!(e?.length&&i?.length)&&n,this.errorMessage=this.formIsValid()?"":"company_data.please_fill_in_all_fields")}checkValueList(e,i){this.fieldIsValueList(e)&&(this.dataValid[e]=i)}checkDateField(e,i){this.fieldIsDate(e)&&!this.fieldIsMandatory(e)&&(this.dataValid[e]=i,this.errorMessage=this.formIsValid()?"":"company_data.please_fix_all_errors")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-item-detail-edit"]],viewQuery:function(i,n){if(i&1&&le($g,5,Dr)(jg,5),i&2){let a;Y(a=Z())&&(n.appSearch=a.first),Y(a=Z())&&(n.firstElement=a.first)}},inputs:{result:"result",favoritesResult:"favoritesResult",notesResult:"notesResult",showEmpty:"showEmpty",isNautosPro:"isNautosPro",isEditMode:"isEditMode",isCreateMode:"isCreateMode",isCompanyData:"isCompanyData",formConfig:"formConfig",customFieldsResult:"customFieldsResult",metadataFields:"metadataFields",metadataWidth:"metadataWidth",duplicationType:"duplicationType"},outputs:{updated:"updated",canceled:"canceled"},features:[ao([{provide:md,useClass:ba}])],decls:2,vars:2,consts:[["appSearch",""],["data-cy","errorMessage",1,"error-message-full"],[3,"expanded","headline","info"],["type","button","data-cy","addField",1,"btn-icon-text",3,"ngClass"],[3,"ngClass"],[3,"changed","customFieldRemoved","optionRemoved","inUserPackage","label","data","elementId","field","iconClickedAction","inline","isValid","mandatory","templateString","styleConnected","items","value"],[1,"search-container-wrapper"],[1,"search-container"],["data-cy","extendedSearch",3,"searchWithParams","searchReset"],["data-cy","searchResult",1,"h-100",3,"resultList","currentPaginationFromSearch","showContextMenu"],["data-cy","searchResult",1,"h-100",3,"rowsSelected","searchChanged","resultList","currentPaginationFromSearch","showContextMenu"],["type","button","data-cy","addField",1,"btn-icon-text",3,"click","ngClass"],["name","add"]],template:function(i,n){i&1&&(C(0,Wg,1,0,"app-spinner"),C(1,av,1,1)),i&2&&(b(n.isPending?0:-1),r(),b(n.isPending?-1:1))},dependencies:[pn,yo,Ee,ze,pd,Ai,Li,G,B],styles:[".error-message-full[_ngcontent-%COMP%]{color:var(--color-alert);width:100%;text-align:center}.btn-icon-text[_ngcontent-%COMP%]{margin-left:calc(var(--spacer) * 2);margin-top:var(--spacer)}"]})}}return t})();var _d=(()=>{class t{transform(e){return!e||e.length===0?"":e.map(i=>i?.userName).filter(i=>!!i).join(", ")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=Ht({name:"listUserNames",type:t,pure:!0})}}return t})();var rv=["firstElement"],sv=()=>["valid","documentNumber","dateOfIssue","effective","documentType","updateStatus","admSectional","titleDe","titleEn","titleFR","titleUnd"],lv=()=>["linkLegislation","linkPublished","transitionPeriod"],cv=()=>["priceUndetermNote","issuing","publishing"],dv=()=>["abstractDe","abstractEn","abstractFr","abstractUnd","amendedBy","amends","appearance","author","ceInfo","citation","classificationIcs","classificationOther","confirmation","custom_field","descriptorDe","descriptorEn","descriptorFr","descriptorUnd","draftSuperseded","expiration","fulltextAddress","fulltextPages","internationalRelationship","linkCertification","linkHandbook","noteDe","noteEn","noteFr","noteUnd","overviewUnd","replacedBy","replaces","translations","version","withdrawal"],pv=t=>[t],mv=()=>["descriptorDe","descriptorEn","descriptorFr","descriptorUnd"];function uv(t,o){if(t&1&&(l(0,"div",18),p(1),s()),t&2){let e=c().$implicit;r(),D(" (",e.fullPath,") ")}}function _v(t,o){if(t&1&&(l(0,"div",19),p(1),s()),t&2){let e=c().$implicit;r(),h(e.description)}}
1function hv(t,o){if(t&1&&(ie(0),l(1,"div",12)(2,"div",13),w(3,"app-icon",14),l(4,"span",15),p(5),s(),T(6,uv,2,1,"div",16),s(),T(7,_v,2,1,"div",17),s(),ne()),t&2){let e=o.$implicit,i=c(4);r(3),_("name",i.getFolderIcon(e))("ngClass",e.isSharedWithMe||e.isSharedFromMe?"icon-success":"icon-clickable-dark"),r(2),h(e.path),r(),_("ngIf",e.isSharedWithMe),r(),_("ngIf",e.description)}}function fv(t,o){if(t&1&&(l(0,"div",10)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div"),T(5,hv,8,5,"ng-container",11),s()()),t&2){let e=c(3);r(2),h(u(3,3,"favorites.favorite.title")),r(3),_("ngForOf",e.favoritesResult)("ngForTrackBy",e.trackByFn)}}function gv(t,o){if(t&1&&(l(0,"div",18),p(1),s()),t&2){let e=c().$implicit;r(),D("(",e.fullPath,")")}}function vv(t,o){if(t&1&&(l(0,"div",19),p(1),s()),t&2){let e=c().$implicit;r(),h(e.description)}}function Cv(t,o){if(t&1&&(ie(0),l(1,"div",20)(2,"div",13),w(3,"app-icon",14),l(4,"span",15),p(5),s(),T(6,gv,2,1,"div",16),s(),T(7,vv,2,1,"div",17),s(),ne()),t&2){let e=o.$implicit,i=c(4);r(3),_("name",i.getFolderIcon(e))("ngClass",e.isSharedWithMe||e.isSharedFromMe?"icon-success":"icon-clickable-dark"),r(2),h(e.path),r(),_("ngIf",e.isSharedWithMe),r(),_("ngIf",e.de
1scription)}}function bv(t,o){if(t&1&&(l(0,"div",10)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div"),T(5,Cv,8,5,"ng-container",11),s()()),t&2){let e=c(3);r(2),h(u(3,3,"favorites.notes")),r(3),_("ngForOf",e.notesResult)("ngForTrackBy",e.trackByFn)}}function yv(t,o){if(t&1&&(l(0,"div",8),T(1,fv,6,5,"div",9)(2,bv,6,5,"div",9),s()),t&2){let e=c(2);r(),_("ngIf",(e.favoritesResult==null?null:e.favoritesResult.length)>0||e.showEmpty),r(),_("ngIf",(e.notesResult==null?null:e.notesResult.length)>0||e.showEmpty)}}function Sv(t,o){if(t&1&&(l(0,"app-collapsible-section",6),T(1,yv,3,2,"div",7),s()),t&2){let e=c();_("headline","favorites.favorites_and_notes"),r(),_("ngIf",e.isFavoritesAndNotesOpen)}}function xv(t,o){if(t&1&&(l(0,"div",36)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div",37),w(5,"app-icon",38),l(6,"span"),p(7),d(8,"transloco"),d(9,"transloco"),s()()()),t&2){let e=c(3);r(2),h(u(3,4,"common.metadata_label.valid")),r(3),_("name",e.result!=null&&e.result.valid?"check-mark-filled":"cross-filled")("ngClass",e.result!=null&&e.result.valid?"icon-success":"icon-alert"),r(2),h(e.result!=null&&e.result.valid?u(8,6,"common.yes"):u(9,8,"common.no"))}}function wv(t,o){if(t&1&&(l(0,"div",39)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.acCode")),r(3),h(e.result==null?null:e.result.id)}}function Tv(t,o){if(t&1&&(l(0,"div",40)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.documentNumber")),r(3),h(e.result==null?null:e.result.documentNumber)}}function Ev(t,o){if(t&1&&(l(0,"div",41)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.dateOfIssue")),r(3),h(e.result==null?null:e.result.dateOfIssue)}}function Dv(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c().$implicit;r(),h(e.germanTitle)}}function Iv(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c().$implicit;r(),h(e.englishTitle)}}function Mv(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c().$implicit;r(),h(e.frenchTitle)}}function kv(t,o){if(t&1&&(ie(0),l(1,"div",43),d(2,"async"),l(3,"span"),p(4),s(),T(5,Dv,2,1,"span",44)(6,Iv,2,1,"span",44)(7,Mv,2,1,"span",44),s(),ne()),t&2){let e=o.$implicit,i=c(4);r(),_("ngSwitch",u(2,5,i.currentLanguage$)),r(3),h(e.shortKey),r(),_("ngSwitchCase","de"),r(),_("ngSwitchCase","en"),r(),_("ngSwitchCase","fr")}}function Fv(t,o){if(t&1&&(l(0,"div",42)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div"),T(5,kv,8,7,"ng-container",29),d(6,"async"),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.documentType")),r(3),_("ngForOf",u(6,4,e.documentDetailsResult$))}}function Lv(t,o){t&1&&Pr(0)}function Pv(t,o){if(t&1&&(ie(0),l(1,"div"),p(2),d(3,"async"),d(4,"valueListTooltip"),d(5,"async"),s(),T(6,Lv,1,0,"ng-container",47),ne()),t&2){let e=o.$implicit,i=o.last,n=c(4);r(2),D(" ",u(5,8,ji(4,4,Ce(10,pv,e),"flagStatus",u(3,2,n.currentLanguage$)))," "),r(4),_("ngIf",!i)}}function Av(t,o){if(t&1&&(l(0,"div",45)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div",46),T(5,Pv,7,12,"ng-container",29),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.flagStatus")),r(3),_("ngForOf",e.result==null?null:e.result.flagStatus)}}function Nv(t,o){if(t&1&&(l(0,"div")(1,"span",48),p(2),s(),w(3,"span",49),s()),t&2){let e=o.$implicit;k("data-cy","title"+e.key),r(2),h(e.short),r(),_("innerHTML",e.value,wi)}}function Ov(t,o){if(t&1&&(l(0,"div",50)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.originalLanguage")),r(3),h(e.result==null?null:e.result.originalLanguage)}}function Rv(t,o){if(t&1&&(l(0,"div",51)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.effective")),r(3),h(e.result==null?null:e.result.effective)}}function Bv(t,o){if(t&1&&(l(0,"div",52)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.countryCode")),r(3),h(e.result==null?null:e.result.countryCode)}}function zv(t,o){t&1&&(l(0,"span"),p(1,",\xA0"),s())}function Vv(t,o){if(t&1&&(ie(0),l(1,"span"),p(2),s(),T(3,zv,2,0,"span",47),ne()),t&2){let e=o.$implicit,i=o.last;r(2),h(e),r(),_("ngIf",!i)}}function qv(t,o){if(t&1&&(l(0,"div",53)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div",54),T(5,Vv,4,2,"ng-container",11),s()()),t&2){let e=c(3);r(2),h(u(3,3,"common.metadata_label.sectionalList")),r(3),_("ngForOf",e.result==null?null:e.result.admSectional)("ngForTrackBy",e.trackByFn)}}function Uv(t,o){if(t&1&&(l(0,"div",55)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.productId")),r(3),h(e.result==null?null:e.result.productId)}}
1function Hv(t,o){if(t&1&&(l(0,"div",56)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.admSortKey")),r(3),h(e.result==null?null:e.result.admSortKey)}}function $v(t,o){if(t&1&&(l(0,"div",8),T(1,xv,10,10,"div",22)(2,wv,6,4,"div",23)(3,Tv,6,4,"div",24)(4,Ev,6,4,"div",25)(5,Fv,7,6,"div",26)(6,Av,6,4,"div",27),l(7,"div",28)(8,"span"),p(9),d(10,"transloco"),s(),l(11,"div"),T(12,Nv,4,3,"div",29),s()(),T(13,Ov,6,4,"div",30)(14,Rv,6,4,"div",31)(15,Bv,6,4,"div",32)(16,qv,6,5,"div",33)(17,Uv,6,4,"div",34)(18,Hv,6,4,"div",35),s()),t&2){let e=c(2);r(),_("ngIf",e.showItem(e.result==null?null:e.result.valid)),r(),_("ngIf",e.showItem(e.result==null?null:e.result.id)&&e.metadataFields.includes("acCode")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.documentNumber)&&e.metadataFields.includes("documentNumber")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.dateOfIssue)&&e.metadataFields.includes("dateOfIssue")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.documentType)&&e.metadataFields.includes("documentType")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.flagStatus)&&e.metadataFields.includes("flagStatus")),r(3),h(u(10,14,"common.metadata_label.titleDynamic")),r(3),_("ngForOf",e.getLanguageValues(e.result,"title")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.originalLanguage)&&e.metadataFields.includes("originalLanguage")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.effective)&&e.metadataFields.includes("effective")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.countryCode)&&e.metadataFields.includes("countryCode")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.admSectional)&&e.metadataFields.includes("sectionalList")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.productId)&&e.metadataFields.includes("productId")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.admSortKey)&&e.metadataFields.includes("admSortKey"))}}function jv(t,o){if(t&1&&(l(0,"app-collapsible-section",21),T(1,$v,19,16,"div",7),s()),t&2){let e=c();r(),_("ngIf",e.isMainDataOpen)}}function Gv(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c(2).$implicit;r(),D("<",e.ceType,">")}}function Kv(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c(2).$implicit;r(),D(" HARMBEGIN=",e.begin)}}function Wv(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c(2).$implicit;r(),D(" END=",e.end)}}function Qv(t,o){if(t&1){let e=I();l(0,"span",63),y("click",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))})("keydown.enter",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))}),l(1,"span"),p(2),s(),T(3,Gv,2,1,"span",47)(4,Kv,2,1,"span",47)(5,Wv,2,1,"span",47),s()}if(t&2){let e=c().$implicit;r(2),h(e.relation),r(),_("ngIf",e==null?null:e.ceType),r(),_("ngIf",e==null?null:e.begin),r(),_("ngIf",(e==null?null:e.begin)&&(e==null?null:e.end))}}function Yv(t,o){if(t&1){let e=I();l(0,"span",63),y("click",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))})("keydown.enter",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))}),p(1),s()}if(t&2){let e=c().$implicit;r(),h(e.id)}}function Zv(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c(2).$implicit;r(),D("<",e.ceType,">")}}function Jv(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c(2).$implicit;r(),D(" HARMBEGIN=",e.begin)}}function Xv(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c(2).$implicit;r(),D(" END=",e.end)}}function eC(t,o){if(t&1&&(l(0,"span")(1,"span"),p(2),s(),T(3,Zv,2,1,"span",47)(4,Jv,2,1,"span",47)(5,Xv,2,1,"span",47),s()),t&2){let e=c().$implicit;r(2),h(e.relation),r(),_("ngIf",e==null?null:e.ceType),r(),_("ngIf",e==null?null:e.begin),r(),_("ngIf",(e==null?null:e.begin)&&(e==null?null:e.end))}}function tC(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c().$implicit;r(),h(e.id)}}function iC(t,o){t&1&&(l(0,"span"),p(1,",\xA0"),s())}function nC(t,o){if(t&1&&(ie(0),T(1,Qv,6,4,"span",62)(2,Yv,2,1,"span",62)(3,eC,6,4,"span",47)(4,tC,2,1,"span",47)(5,iC,2,0,"span",47),ne()),t&2){let e=o.$implicit,i=o.last;r(),_("ngIf",(e==null?null:e.isHyperlink)&&e.relation),r(),_("ngIf",(e==null?null:e.isHyperlink)&&!e.relation),r(),_("ngIf",!(e!=null&&e.isHyperlink)&&(e==null?null:e.relation)),r(),_("ngIf",!(e!=null&&e.isHyperlink)&&!(e!=null&&e.relation)),r(),_("ngIf",!i)}}function oC(t,o){if(t&1&&(l(0,"div",61)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div",54),T(5,nC,6,5,"ng-container",11),s()()),t&2){let e=c(3);r(2),h(u(3,3,"common.metadata_label.linkLegislation")),r(3),_("ngForOf",e.result==null?null:e.result.linkLegislation)("ngForTrackBy",e.trackByFn)}}function aC(t,o){if(t&1){let e=I();l(0,"span",63),y("click",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))})("keydown.enter",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))}),p(1),s()}if(t&2){let e=c().$implicit;r(),h(e.relation)}}function rC(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c().$implicit;r(),h(e.relation)}}function sC(t,o){t&1&&(l(0,"span"),p(1,",\xA0"),s())}function lC(t,o){if(t&1&&(ie(0),T(1,aC,2,1,"span",62)(2,rC,2,1,"span",47)(3,sC,2,0,"span",47),ne()),t&2){let e=o.$implicit,i=o.last;r(),_("ngIf",e==null?null:e.isHyperlink),r(),_("ngIf",!(e!=null&&e.isHyperlink)),r(),_("ngIf",!i)}}function cC(t,o){if(t&1&&(l(0,"div",64)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div",54),T(5,lC,4,3,"ng-container",11),s()()),t&2){let e=c(3);r(2),h(u(3,3,"common.metadata_label.linkPublished")),r(3),_("ngForOf",e.result==null?null:e.result.linkPublished)("ngForTrackBy",e.trackByFn)}}function dC(t,o){if(t&1&&(l(0,"div",65)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.transitionPeriod")),r(3),h(e.result==null?null:e.result.transition)}}function pC(t,o){if(t&1&&(l(0,"div",8),T(1,oC,6,5,"div",58)(2,cC,6,5,"div",59)(3,dC,6,4,"div",60),s()),t&2){let e=c(2);r(),_("ngIf",e.showItem(e.result==null?null:e.result.linkLegislation)&&e.metadataFields.includes("linkLegislation")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.linkPublished)&&e.metadataFields.includes("linkPublished")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.transition)&&e.metadataFields.includes("transitionPeriod"))}}function mC(t,o){if(t&1&&(l(0,"app-collapsible-section",57),T(1,pC,4,3,"div",7),s()),t&2){let e=c();r(),_("ngIf",e.isLegislationOpen)}}function uC(t,o){if(t&1&&(l(0,"div",70)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.priceUndetermNote")),r(3),h(e.result==null?null:e.result.priceUndetermNote)}}function _C(t,o){if(t&1&&(l(0,"div",71)(1,"span"),p(2),d(3,"transloco"),s(),w(4,"span",72),s()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.issuing")),r(2),_("innerHTML",e.result==null?null:e.result.issuing,wi)}}function hC(t,o){if(t&1&&(l(0,"div",73)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.publishing")),r(3),h(e.result==null?null:e.result.publishing)}}function fC(t,o){if(t&1&&(l(0,"div",8),T(1,uC,6,4,"div",67)(2,_C,5,4,"div",68)(3,hC,6,4,"div",69),s()),t&2){let e=c(2);r(),_("ngIf",e.showItem(e.result==null?null:e.result.priceUndetermNote)&&e.metadataFields.includes("priceUndetermNote")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.issuing)&&e.metadataFields.includes("issuing")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.publishing)&&e.metadataFields.includes("publishing"))}}function gC(t,o){if(t&1&&(l(0,"app-collapsible-section",66),T(1,fC,4,3,"div",7),s()),t&2){let e=c();r(),_("ngIf",e.isProcurementOpen)}}function vC(t,o){if(t&1){let e=I();l(0,"span",63),y("click",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))})("keydown.enter",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))}),p(1),s()}if(t&2){let e=c().$implicit;r(),h(e.relation)}}function CC(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c().$implicit;r(),h(e.relation)}}function bC(t,o){t&1&&(l(0,"span"),p(1,",\xA0"),s())}function yC(t,o){if(t&1&&(ie(0),T(1,vC,2,1,"span",62)(2,CC,2,1,"span",47)(3,bC,2,0,"span",47),ne()),t&2){let e=o.$implicit,i=o.last;r(),_("ngIf",e==null?null:e.isHyperlink),r(),_("ngIf",!(e!=null&&e.isHyperlink)),r(),_("ngIf",!i)}}function SC(t,o){if(t&1&&(l(0,"div",103)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div",54),T(5,yC,4,3,"ng-container",11),s()()),t&2){let e=c(3);r(2),h(u(3,3,"common.metadata_label.linkHandbook")),r(3),_("ngForOf",e.result==null?null:e.result.linkH
1andbook)("ngForTrackBy",e.trackByFn)}}function xC(t,o){if(t&1&&(l(0,"div",104)(1,"span"),p(2),d(3,"transloco"),s(),w(4,"div",72),s()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.author")),r(2),_("innerHTML",e.result==null?null:e.result.author,wi)}}function wC(t,o){if(t&1&&(l(0,"div")(1,"span",48),p(2),s(),l(3,"span"),p(4),s()()),t&2){let e=o.$implicit;k("data-cy","note"+e.key),r(2),h(e.short),r(2),h(e.value)}}function TC(t,o){if(t&1&&(l(0,"div",105)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.confirmation")),r(3),h(e.result==null?null:e.result.confirmation)}}function EC(t,o){if(t&1){let e=I();l(0,"span",63),y("click",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))})("keydown.enter",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))}),p(1),s()}if(t&2){let e=c().$implicit;r(),h(e.relation)}}function DC(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c().$implicit;r(),h(e.relation)}}function IC(t,o){t&1&&(l(0,"span"),p(1,",\xA0"),s())}function MC(t,o){if(t&1&&(ie(0),T(1,EC,2,1,"span",62)(2,DC,2,1,"span",47)(3,IC,2,0,"span",47),ne()),t&2){let e=o.$implicit,i=o.last;r(),_("ngIf",e==null?null:e.isHyperlink),r(),_("ngIf",!(e!=null&&e.isHyperlink)),r(),_("ngIf",!i)}}function kC(t,o){if(t&1&&(l(0,"div",106)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div"),T(5,MC,4,3,"ng-container",11),s()()),t&2){let e=c(3);r(2),h(u(3,3,"common.metadata_label.amends")),r(3),_("ngForOf",e.result==null?null:e.result.amends)("ngForTrackBy",e.trackByFn)}}function FC(t,o){if(t&1&&(l(0,"div",107)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.overview")),r(3),h(e.result==null?null:e.result.overviewUnd)}}function LC(t,o){if(t&1&&(l(0,"div",108)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.expiration")),r(3),h(e.result==null?null:e.result.expiration)}}function PC(t,o){if(t&1&&(l(0,"div",109)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.appearance")),r(3),h(e.result==null?null:e.result.appearance)}}function AC(t,o){if(t&1){let e=I();l(0,"span",63),y("click",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))})("keydown.enter",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))}),p(1),s()}if(t&2){let e=c().$implicit;r(),h(e.relation)}}function NC(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c().$implicit;r(),h(e.relation)}}function OC(t,o){t&1&&(l(0,"span"),p(1,",\xA0"),s())}function RC(t,o){if(t&1&&(ie(0),T(1,AC,2,1,"span",62)(2,NC,2,1,"span",47)(3,OC,2,0,"span",47),ne()),t&2){let e=o.$implicit,i=o.last;r(),_("ngIf",e==null?null:e.isHyperlink),r(),_("ngIf",!(e!=null&&e.isHyperlink)),r(),_("ngIf",!i)}}function BC(t,o){if(t&1&&(l(0,"div",110)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div",54),T(5,RC,4,3,"ng-container",11),s()()),t&2){let e=c(3);r(2),h(u(3,3,"common.metadata_label.amendedBy")),r(3),_("ngForOf",e.result==null?null:e.result.amendedBy)("ngForTrackBy",e.trackByFn)}}function zC(t,o){if(t&1){let e=I();l(0,"span",63),y("click",function(){S(e);let n=c().$implicit,a=c(6);return x(a.onHyperlinkCalled(n.id))})("keydown.enter",function(){S(e);let n=c().$implicit,a=c(6);return x(a.onHyperlinkCalled(n.id))}),p(1),s()}if(t&2){let e=c().$implicit,i=c(2).$implicit,n=c(4);r(),lt(" ",e.relation,", ",n.internationalRelationshipToken[i.key]," ")}}function VC(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c().$implicit,i=c(2).$implicit,n=c(4);r(),lt("",e.relation,", ",n.internationalRelationshipToken[i.key])}}function qC(t,o){if(t&1&&(ie(0),T(1,zC,2,2,"span",62)(2,VC,2,2,"span",47),ne()),t&2){let e=o.$implicit;r(),_("ngIf",e==null?null:e.isHyperlink),r(),_("ngIf",!(e!=null&&e.isHyperlink))}}function UC(t,o){if(t&1&&(l(0,"div")(1,"span",48),p(2),s(),l(3,"span",54),T(4,qC,3,2,"ng-container",29),s()()),t&2){let e=c().$implicit,i=c(4);r(2),h(i.internationalRelationshipToken[e.key]),r(2),_("ngForOf",e.value)}}function HC(t,o){if(t&1&&(ie(0),T(1,UC,5,2,"div",47),ne()),t&2){let e=o.$implicit,i=c(4);r(),_("ngIf",i.showItem(e.value))}}function $C(t,o){if(t&1&&(l(0,"div",111)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div"),T(5,HC,2,1,"ng-container",11),d(6,"keyvalue"),s()()),t&2){let e=c(3);r(2),h(u(3,3,"common.metadata_label.internationalRelationship")),r(3),_("ngForOf",u(6,5,e.result==null?null:e.result.internationalRelationship
1))("ngForTrackBy",e.trackByFn)}}function jC(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c().$implicit;r(),h(e.germanTitle)}}function GC(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c().$implicit;r(),h(e.englishTitle)}}function KC(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c().$implicit;r(),h(e.frenchTitle)}}function WC(t,o){if(t&1&&(ie(0),l(1,"div",43),d(2,"async"),l(3,"span"),p(4),s(),T(5,jC,2,1,"span",44)(6,GC,2,1,"span",44)(7,KC,2,1,"span",44),s(),ne()),t&2){let e=o.$implicit,i=c(4);r(),_("ngSwitch",u(2,5,i.currentLanguage$)),r(3),h(e.icsKey),r(),_("ngSwitchCase","de"),r(),_("ngSwitchCase","en"),r(),_("ngSwitchCase","fr")}}function QC(t,o){if(t&1&&(l(0,"div",112)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div"),T(5,WC,8,7,"ng-container",29),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.classificationIcs")),r(3),_("ngForOf",e.icsClassificationDetailsResult)}}function YC(t,o){if(t&1&&(l(0,"div")(1,"span",48),p(2),s(),l(3,"span"),p(4),s()()),t&2){let e=o.$implicit;k("data-cy","abstract"+e.key),r(2),h(e.short),r(2),h(e.value)}}function ZC(t,o){if(t&1){let e=I();l(0,"span",63),y("click",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))})("keydown.enter",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))}),p(1),s()}if(t&2){let e=c().$implicit;r(),h(e.relation)}}function JC(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c().$implicit;r(),h(e.relation)}}function XC(t,o){t&1&&(l(0,"span"),p(1,",\xA0"),s())}function eb(t,o){if(t&1&&(ie(0),T(1,ZC,2,1,"span",62)(2,JC,2,1,"span",47)(3,XC,2,0,"span",47),ne()),t&2){let e=o.$implicit,i=o.last;r(),_("ngIf",e==null?null:e.isHyperlink),r(),_("ngIf",!(e!=null&&e.isHyperlink)),r(),_("ngIf",!i)}}function tb(t,o){if(t&1&&(l(0,"div",113)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div"),T(5,eb,4,3,"ng-container",11),s()()),t&2){let e=c(3);r(2),h(u(3,3,"common.metadata_label.replacedBy")),r(3),_("ngForOf",e.result==null?null:e.result.replacedBy)("ngForTrackBy",e.trackByFn)}}function ib(t,o){if(t&1&&(ie(0),l(1,"span"),p(2),s(),ne()),t&2){let e=o.$implicit;r(2),h(e)}}function nb(t,o){if(t&1&&(l(0,"div",119)(1,"span",48),p(2),s(),l(3,"span",54),T(4,ib,3,1,"ng-container",11),s()()),t&2){let e=c(4);r(2),h(e.languageShorts.german),r(2),_("ngForOf",e.result==null?null:e.result.descriptorDe)("ngForTrackBy",e.trackByFn)}}function ob(t,o){if(t&1&&(ie(0),l(1,"span"),p(2),s(),ne()),t&2){let e=o.$implicit;r(2),h(e)}}function ab(t,o){if(t&1&&(l(0,"div",120)(1,"span",48),p(2),s(),l(3,"span",54),T(4,ob,3,1,"ng-container",11),s()()),t&2){let e=c(4);r(2),h(e.languageShorts.english),r(2),_("ngForOf",e.result==null?null:e.result.descriptorEn)("ngForTrackBy",e.trackByFn)}}function rb(t,o){if(t&1&&(ie(0),l(1,"span"),p(2),s(),ne()),t&2){let e=o.$implicit;r(2),h(e)}}function sb(t,o){if(t&1&&(l(0,"div",121)(1,"span",48),p(2),s(),l(3,"span",54),T(4,rb,3,1,"ng-container",11),s()()),t&2){let e=c(4);r(2),h(e.languageShorts.french),r(2),_("ngForOf",e.result==null?null:e.result.descriptorFr)("ngForTrackBy",e.trackByFn)}}function lb(t,o){if(t&1&&(ie(0),l(1,"span"),p(2),s(),ne()),t&2){let e=o.$implicit;r(2),h(e)}}function cb(t,o){if(t&1&&(l(0,"div",122)(1,"span",48),p(2),d(3,"transloco"),s(),l(4,"span",54),T(5,lb,3,1,"ng-container",11),s()()),t&2){let e=c(4);r(2),h(u(3,3,"common.languages.other")),r(3),_("ngForOf",e.result==null?null:e.result.descriptorUnd)("ngForTrackBy",e.trackByFn)}}function db(t,o){if(t&1&&(l(0,"div",114)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div"),T(5,nb,5,3,"div",115)(6,ab,5,3,"div",116)(7,sb,5,3,"div",117)(8,cb,6,5,"div",118),s()()),t&2){let e=c(3);r(2),h(u(3,5,"search.item_detail.descriptors")),r(3),_("ngIf",e.showItem(e.result==null?null:e.result.descriptorDe)&&e.metadataFields.includes("descriptorDe")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.descriptorEn)&&e.metadataFields.includes("descriptorEn")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.descriptorFr)&&e.metadataFields.includes("descriptorFr")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.descriptorUnd)&&e.metadataFields.includes("descriptorUnd"))}}function pb(t,o){if(t&1){let e=I();l(0,"span",63),y("click",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))})("keydown.enter",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))}),p(1),s()}if(t&2){let e=c().$implicit;r(),h(e.relation)}}function mb(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c().$implicit;r(),h(e.relation)}}function ub(t,o){t&1&&(l(0,"span"),p(1,",\xA0"),s())}function _b(t,o){if(t&1&&(ie(0),T(1,pb,2,1,"span",62)(2,mb,2,1,"span",47)(3,ub,2,0,"span",47),ne()),t&2){let e=o.$implicit,i=o.last;r(),_("ngIf",e==null?null:e.isHyperlink),r(),_("ngIf",!(e!=null&&e.isHyperlink)),r(),_("ngIf",!i)}}function hb(t,o){if(t&1&&(l(0,"div",123)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div",54),T(5,_b,4,3,"ng-container",11),s()()),t&2){let e=c(3);r(2),h(u(3,3,"common.metadata_label.replaces")),r(3),_("ngForOf",e.result==null?null:e.result.replaces)("ngForTrackBy",e.trackByFn)}}
1function fb(t,o){if(t&1){let e=I();l(0,"span",63),y("click",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))})("keydown.enter",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))}),p(1),s()}if(t&2){let e=c().$implicit;r(),h(e.relation)}}function gb(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c().$implicit;r(),h(e.relation)}}function vb(t,o){t&1&&(l(0,"span"),p(1,",\xA0"),s())}function Cb(t,o){if(t&1&&(ie(0),T(1,fb,2,1,"span",62)(2,gb,2,1,"span",47)(3,vb,2,0,"span",47),ne()),t&2){let e=o.$implicit,i=o.last;r(),_("ngIf",e==null?null:e.isHyperlink),r(),_("ngIf",!(e!=null&&e.isHyperlink)),r(),_("ngIf",!i)}}function bb(t,o){if(t&1&&(l(0,"div",124)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div",54),T(5,Cb,4,3,"ng-container",11),s()()),t&2){let e=c(3);r(2),h(u(3,3,"common.metadata_label.draftSuperseded")),r(3),_("ngForOf",e.result==null?null:e.result.draftSuperseded)("ngForTrackBy",e.trackByFn)}}function yb(t,o){if(t&1){let e=I();l(0,"span",63),y("click",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))})("keydown.enter",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))}),p(1),s()}if(t&2){let e=c().$implicit;r(),h(e.relation)}}function Sb(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c().$implicit;r(),h(e.relation)}}function xb(t,o){t&1&&(l(0,"span"),p(1,",\xA0"),s())}function wb(t,o){if(t&1&&(ie(0),T(1,yb,2,1,"span",62)(2,Sb,2,1,"span",47)(3,xb,2,0,"span",47),ne()),t&2){let e=o.$implicit,i=o.last;r(),_("ngIf",e==null?null:e.isHyperlink),r(),_("ngIf",!(e!=null&&e.isHyperlink)),r(),_("ngIf",!i)}}function Tb(t,o){if(t&1&&(l(0,"div",125)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div",54),T(5,wb,4,3,"ng-container",11),s()()),t&2){let e=c(3);r(2),h(u(3,3,"common.metadata_label.citation")),r(3),_("ngForOf",e.result==null?null:e.result.citation)("ngForTrackBy",e.trackByFn)}}function Eb(t,o){if(t&1&&(l(0,"div",126)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.withdrawalDate")),r(3),h(e.result==null?null:e.result.withdrawal)}}function Db(t,o){if(t&1&&(l(0,"div",127)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.translations")),r(3),h(e.result==null?null:e.result.translations)}}function Ib(t,o){if(t&1){let e=I();l(0,"span",63),y("click",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))})("keydown.enter",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))}),p(1),s()}if(t&2){let e=c().$implicit;r(),h(e.relation)}}function Mb(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c().$implicit;r(),h(e.relation)}}function kb(t,o){t&1&&(l(0,"span"),p(1,",\xA0"),s())}function Fb(t,o){if(t&1&&(ie(0),T(1,Ib,2,1,"span",62)(2,Mb,2,1,"span",47)(3,kb,2,0,"span",47),ne()),t&2){let e=o.$implicit,i=o.last;r(),_("ngIf",e==null?null:e.isHyperlink),r(),_("ngIf",!(e!=null&&e.isHyperlink)),r(),_("ngIf",!i)}}function Lb(t,o){if(t&1&&(l(0,"div",128)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div",54),T(5,Fb,4,3,"ng-container",11),s()()),t&2){let e=c(3);r(2),h(u(3,3,"common.metadata_label.version")),r(3),_("ngForOf",e.result==null?null:e.result.version)("ngForTrackBy",e.trackByFn)}}function Pb(t,o){if(t&1){let e=I();l(0,"span",63),y("click",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))})("keydown.enter",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))}),p(1),s()}if(t&2){let e=c().$implicit;r(),h(e.relation)}}function Ab(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c().$implicit;r(),h(e.relation)}}function Nb(t,o){t&1&&(l(0,"span"),p(1,",\xA0"),s())}function Ob(t,o){if(t&1&&(ie(0),T(1,Pb,2,1,"span",62)(2,Ab,2,1,"span",47)(3,Nb,2,0,"span",47),ne()),t&2){let e=o.$implicit,i=o.last;r(),_("ngIf",e==null?null:e.isHyperlink),r(),_("ngIf",!(e!=null&&e.isHyperlink)),r(),_("ngIf",!i)}}function Rb(t,o){if(t&1&&(l(0,"div",129)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div",54),T(5,Ob,4,3,"ng-container",11),s()()),t&2){let e=c(3);r(2),h(u(3,3,"common.metadata_label.linkCertification")),r(3),_("ngForOf",e.result==null?null:e.result.linkCertification)("ngForTrackBy",e.trackByFn)}}function Bb(t,o){t&1&&(w(0,"app-icon",133),d(1,"transloco"),d(2,"transloco")),t&2&&(_("ngbTooltip",u(1,2,"search.ce_search.tooltip_harmonized_or_directive")),k("aria-label",u(2,4,"search.ce_search.tooltip_harmonized_or_directive")))}function zb(t,o){t&1&&(w(0,"app-icon",134),d(1,"transloco"),d(2,"transloco")),t&2&&(_("ngbTooltip",u(1,2,"search.ce_search.tooltip_mandated")),k("aria-label",u(2,4,"search.ce_search.tooltip_mandated")))}function Vb(t,o){if(t&1&&(l(0,"div",130)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div"),T(5,Bb,3,6,"app-icon",131)(6,zb,3,6,"app-icon",132),s()()),t&2){let e=c(3);r(2),h(u(3,3,"common.metadata_label.ceInfo")),r(3),_("ngIf",(e.result.isCeDirective||e.result.isHarmonized)&&!e.result.isMandated),r(),_("ngIf",!e.result.isCeDirective&&!e.result.isHarmonized&&e.result.isMandated)}}function qb(t,o){t&1&&(l(0,"span"),p(1,",\xA0"),s())}function Ub(t,o){if(t&1&&(ie(0),l(1,"span"),p(2),s(),T(3,qb,2,0,"span",47),ne()),t&2){let e=o.$implicit,i=o.last;r(2),h(e),r(),_("ngIf",!i)}}function Hb(t,o){if(t&1&&(l(0,"div",135)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div",54),T(5,Ub,4,2,"ng-container",11),s()()),t&2){let e=c(3);r(2),h(u(3,3,"search.item_detail.classification")),r(3),_("ngForOf",e.result==null?null:e.result.classificationOther)("ngForTrackBy",e.trackByFn)}}
1function $b(t,o){if(t&1&&(l(0,"div",136)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.fulltextPages")),r(3),h(e.formatPages(e.result==null?null:e.result.fulltextPages))}}function jb(t,o){t&1&&(l(0,"span"),p(1,",\xA0"),s())}function Gb(t,o){if(t&1&&(ie(0),l(1,"span"),p(2),s(),T(3,jb,2,0,"span",47),ne()),t&2){let e=o.$implicit,i=o.last;r(2),h(e),r(),_("ngIf",!i)}}function Kb(t,o){if(t&1&&(l(0,"div",137)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div",54),T(5,Gb,4,2,"ng-container",11),s()()),t&2){let e=c(3);r(2),h(u(3,3,"common.metadata_label.fulltextAddress")),r(3),_("ngForOf",e.result==null?null:e.result.fulltextAddress)("ngForTrackBy",e.trackByFn)}}function Wb(t,o){t&1&&(l(0,"span"),p(1,",\xA0"),s())}function Qb(t,o){if(t&1&&(ie(0),l(1,"span"),p(2),s(),T(3,Wb,2,0,"span",47),ne()),t&2){let e=o.$implicit,i=o.last;r(2),h(e==null?null:e.edvNr),r(),_("ngIf",!i)}}function Yb(t,o){if(t&1&&(l(0,"div",138)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div",54),T(5,Qb,4,2,"ng-container",11),s()()),t&2){let e=c(3);r(2),h(u(3,3,"common.metadata_label.edvNr")),r(3),_("ngForOf",e.result==null?null:e.result.documents)("ngForTrackBy",e.trackByFn)}}function Zb(t,o){if(t&1&&(ie(0),l(1,"li"),p(2),s(),ne()),t&2){let e=o.$implicit;r(2),h(e.value)}}function Jb(t,o){if(t&1&&(l(0,"div",139)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"ol"),T(5,Zb,3,1,"ng-container",11),s()()),t&2){let e=c(3);r(2),h(u(3,3,"common.metadata_label.custom_field")),r(3),_("ngForOf",e.result.customFields)("ngForTrackBy",e.trackByFn)}}function Xb(t,o){t&1&&(l(0,"span"),p(1,",\xA0"),s())}function e1(t,o){if(t&1&&(ie(0),l(1,"span"),p(2),s(),T(3,Xb,2,0,"span",47),ne()),t&2){let e=o.$implicit,i=o.last;r(2),h(e),r(),_("ngIf",!i)}}function t1(t,o){if(t&1&&(l(0,"div",140)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div",54),T(5,e1,4,2,"ng-container",11),s()()),t&2){let e=c(3);r(2),h(u(3,3,"common.metadata_label.refDocNrSpecial")),r(3),_("ngForOf",e.result==null?null:e.result.refDocNrSpecial)("ngForTrackBy",e.trackByFn)}}function i1(t,o){if(t&1&&(l(0,"div",8),T(1,SC,6,5,"div",75)(2,xC,5,4,"div",76),l(3,"div",77)(4,"span"),p(5),d(6,"transloco"),s(),l(7,"div"),T(8,wC,5,3,"div",29),s()(),T(9,TC,6,4,"div",78)(10,kC,6,5,"div",79)(11,FC,6,4,"div",80)(12,LC,6,4,"div",81)(13,PC,6,4,"div",82)(14,BC,6,5,"div",83)(15,$C,7,7,"div",84)(16,QC,6,4,"div",85),l(17,"div",86)(18,"span"),p(19),d(20,"transloco"),s(),l(21,"div"),T(22,YC,5,3,"div",29),s()(),T(23,tb,6,5,"div",87)(24,db,9,7,"div",88)(25,hb,6,5,"div",89)(26,bb,6,5,"div",90)(27,Tb,6,5,"div",91)(28,Eb,6,4,"div",92)(29,Db,6,4,"div",93)(30,Lb,6,5,"div",94)(31,Rb,6,5,"div",95)(32,Vb,7,5,"div",96)(33,Hb,6,5,"div",97)(34,$b,6,4,"div",98)(35,Kb,6,5,"div",99)(36,Yb,6,5,"div",100)(37,Jb,6,5,"div",101)(38,t1,6,5,"div",102),s()),t&2){let e=c(2);r(),_("ngIf",e.showItem(e.result==null?null:e.result.linkHandbook)&&e.metadataFields.includes("linkHandbook")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.author)&&e.metadataFields.includes("author")),r(3),h(u(6,30,"search.item_detail.notes")),r(3),_("ngForOf",e.getLanguageValues(e.result,"note")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.confirmation)&&e.metadataFields.includes("confirmation")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.amends)&&e.metadataFields.includes("amends")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.overviewUnd)&&e.metadataFields.includes("overview")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.expiration)&&e.metadataFields.includes("expiration")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.appearance)&&e.metadataFields.includes("appearance")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.amendedBy)&&e.metadataFields.includes("amendedBy")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.internationalRelationship)&&e.metadataFields.includes("internationalRelationship")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.classificationIcs)&&e.metadataFields.includes("classificationIcs")),r(3),h(u(20,32,"search.item_detail.abstract")),r(3),_("ngForOf",e.getLanguageValues(e.result,"abstract")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.replacedBy)&&e.metadataFields.includes("replacedBy")),r(),_("ngIf",e.isAtLeastOneFieldAvailable(Ct(34,mv))),r(),_("ngIf",e.showItem(e.result==null?null:e.result.replaces)&&e.metadataFields.includes("replaces")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.draftSuperseded)&&e.metadataFields.includes("draftSuperseded")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.citation)&&e.metadataFields.includes("citation")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.withdrawal)&&e.metadataFields.includes("withdrawalDate")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.translations)&&e.metadataFields.includes("translations")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.version)&&e.metadataFields.includes("version")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.linkCertification)&&e.metadataFields.includes("linkCertification")),r(),_("ngIf",(e.showItem(e.result==null?null:e.result.isMandated)||e.showItem(e.result==null?null:e.result.isHarmonized))&&e.metadataFields.includes("ceInfo")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.classificationOther)&&e.metadataFields.includes("classificationOther")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.fulltextPages)&&e.metadataFields.includes("fulltextPages")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.fulltextAddress)&&e.metadataFields.includes("fulltextAddress")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.documents)&&e.metadataFields.includes("edvNr")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.customFields)&&e.metadataFields.includes("custom_field")),r(),_("ngIf",e.showItem(e.result==null?null:e.result.refDocNrSpecial)&&e.metadataFields.includes("refDocNrSpecial"))}}function n1(t,o){if(t&1&&(l(0,"app-collapsible-section",74),T(1,i1,39,35,"div",7),s()),t&2){let e=c();r(),_("ngIf",e.isOtherOpen)}}function o1(t,o){if(t&1&&(l(0,"div",167)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.documentTypePro")),r(3),h(e.formatPages(e.customFieldsResult==null?null:e.customFieldsResult.documentTypePro))}}function a1(t,o){if(t&1&&(l(0,"div",168)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.updatePro")),r(3),h(e.formatPages(e.customFieldsResult==null?null:e.customFieldsResult.updatePro))}}function r1(t,o){if(t&1&&(l(0,"div",169)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),d(6,"transformMonitoringStatus"),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.monitoringStatus")),r(3),h(u(6,4,e.customFieldsResult==null?null:e.customFieldsResult.monitoringStatus))}}function s1(t,o){if(t&1&&(l(0,"div",170)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.ruleSetPro")),r(3),h(e.formatPages(e.customFieldsResult==null?null:e.customFieldsResult.ruleSetPro))}}function l1(t,o){if(t&1&&(l(0,"div",171)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.createdBy")),r(3),h(e.formatPages(e.customFieldsResult==null||e.customFieldsResult.createdBy==null?null:e.customFieldsResult.createdBy.userName))}}function c1(t,o){if(t&1&&(l(0,"div",172)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.createdAt")),r(3),h(e.formatPages(e.customFieldsResult==null?null:e.customFieldsResult.createdAt))}}function d1(t,o){if(t&1&&(l(0,"div",173)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.modifiedBy")),r(3),h(e.formatPages(e.customFieldsResult==null||e.customFieldsResult.modifiedBy==null?null:e.customFieldsResult.modifiedBy.userName))}}function p1(t,o){if(t&1&&(l(0,"div",174)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.modifiedAt")),r(3),h(e.formatPages(e.customFieldsResult==null?null:e.customFieldsResult.modifiedAt))}}function m1(t,o){if(t&1&&(l(0,"div",175)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.classificationPro")),r(3),h(e.formatPages(e.customFieldsResult==null?null:e.customFieldsResult.classificationPro))}}function u1(t,o){if(t&1&&(l(0,"div",176)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.info")),r(3),h(e.formatPages(e.customFieldsResult==null?null:e.customFieldsResult.info))}}function _1(t,o){if(t&1){let e=I();l(0,"span",63),y("click",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))})("keydown.enter",function(){S(e);let n=c().$implicit,a=c(4);return x(a.onHyperlinkCalled(n.id))}),p(1),s()}if(t&2){let e=c().$implicit;r(),h(e.relation)}}function h1(t,o){if(t&1&&(l(0,"span"),p(1),s()),t&2){let e=c().$implicit;r(),h(e.relation)}}function f1(t,o){t&1&&(l(0,"span"),p(1,",\xA0"),s())}function g1(t,o){if(t&1&&(ie(0),T(1,_1,2,1,"span",62)(2,h1,2,1,"span",47)(3,f1,2,0,"span",47),ne()),t&2){let e=o.$implicit,i=o.last;r(),_("ngIf",e==null?null:e.isHyperlink),r(),_("ngIf",!(e!=null&&e.isHyperlink)),r(),_("ngIf",!i)}}function v1(t,o){if(t&1&&(l(0,"div",177)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"div",54),T(5,g1,4,3,"ng-container",11),s()()),t&2){let e=c(3);r(2),h(u(3,3,"common.metadata_label.pro_metadata.isCited")),r(3),_("ngForOf",e.customFieldsResult==null?null:e.customFieldsResult.isCited)("ngForTrackBy",e.trackByFn)}}function C1(t,o){if(t&1&&(l(0,"div",178)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.regionalValidity")),r(3),h(e.formatPages(e.customFieldsResult==null?null:e.customFieldsResult.regionalValidity))}}function b1(t,o){if(t&1&&(l(0,"div",179)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.pricePro")),r(3),h(e.formatPages(e.customFieldsResult==null?null:e.customFieldsResult.pricePro))}}function y1(t,o){if(t&1&&(l(0,"div",180)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.publisherPro")),r(3),h(e.formatPages(e.customFieldsResult==null?null:e.customFieldsResult.publisherPro))}}function S1(t,o){if(t&1&&(l(0,"div",181)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.sourcePro")),r(3),h(e.formatPages(e.customFieldsResult==null?null:e.customFieldsResult.sourcePro))}}function x1(t,o){if(t&1&&(l(0,"div",182)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.certifiedBy")),r(3),h(e.formatPages(e.customFieldsResult==null?null:e.customFieldsResult.certifiedBy))}}function w1(t,o){if(t&1&&(l(0,"div",183)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.certifiedDate")),r(3),h(e.formatPages(e.customFieldsResult==null?null:e.customFieldsResult.certifiedDate))}}function T1(t,o){if(t&1&&(l(0,"div",184)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),d(6,"transformReleaseLevel"),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.releaseLevel")),r(3),h(u(6,4,e.customFieldsResult==null?null:e.customFieldsResult.releaseLevel))}}function E1(t,o){if(t&1&&(l(0,"div",185)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.releaseComment")),r(3),h(e.formatPages(e.customFieldsResult==null?null:e.customFieldsResult.releaseComment))}}function D1(t,o){if(t&1&&(l(0,"div",186)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.changeDescription")),r(3),h(e.formatPages(e.customFieldsResult==null?null:e.customFieldsResult.changeDescription))}}function I1(t,o){if(t&1&&(l(0,"div",187)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.revisionVersion")),r(3),h(e.formatPages(e.customFieldsResult==null?null:e.customFieldsResult.revisionVersion))}}function M1(t,o){if(t&1&&(l(0,"div",188)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.reminderDate")),r(3),h(e.formatPages(e.customFieldsResult==null?null:e.customFieldsResult.reminderDate))}}function k1(t,o){if(t&1&&(l(0,"div",189)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),d(6,"listUserNames"),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.documentOwners")),r(3),h(u(6,4,e.customFieldsResult==null?null:e.customFieldsResult.documentOwners))}}function F1(t,o){if(t&1&&(l(0,"div",190)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.lastReview")),r(3),h(e.formatPages(e.customFieldsResult==null?null:e.customFieldsResult.lastReview))}}function L1(t,o){if(t&1&&(l(0,"div",191)(1,"span"),p(2),d(3,"transloco"),s(),l(4,"span"),p(5),s()()),t&2){let e=c(3);r(2),h(u(3,2,"common.metadata_label.pro_metadata.updateInterval")),r(3),h(e.formatPages(e.customFieldsResult==null||e.customFieldsResult.updateInterval==null?null:e.customFieldsResult.updateInterval.toString()))}}function P1(t,o){if(t&1&&(l(0,"div",8),T(1,o1,6,4,"div",142)(2,a1,6,4,"div",143)(3,r1,7,6,"div",144)(4,s1,6,4,"div",145)(5,l1,6,4,"div",146)(6,c1,6,4,"div",147)(7,d1,6,4,"div",148)(8,p1,6,4,"div",149)(9,m1,6,4,"div",150)(10,u1,6,4,"div",151)(11,v1,6,5,"div",152)(12,C1,6,4,"div",153)(13,b1,6,4,"div",154)(14,y1,6,4,"div",155)(15,S1,6,4,"div",156)(16,x1,6,4,"div",157)(17,w1,6,4,"div",158)(18,T1,7,
16,"div",159)(19,E1,6,4,"div",160)(20,D1,6,4,"div",161)(21,I1,6,4,"div",162)(22,M1,6,4,"div",163)(23,k1,7,6,"div",164)(24,F1,6,4,"div",165)(25,L1,6,4,"div",166),s()),t&2){let e=c(2);r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.documentTypePro)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.updatePro)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.monitoringStatus)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.ruleSetPro)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.createdBy)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.createdAt)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.modifiedBy)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.modifiedAt)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.classificationPro)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.info)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.isCited)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.regionalValidity)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.pricePro)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.publisherPro)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.sourcePro)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.certifiedBy)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.certifiedDate)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.releaseLevel)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.releaseComment)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.changeDescription)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.revisionVersion)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.reminderDate)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.documentOwners)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.lastReview)),r(),_("ngIf",e.showItem(e.customFieldsResult==null?null:e.customFieldsResult.updateInterval))}}function A1(t,o){if(t&1&&(l(0,"app-collapsible-section",141),T(1,P1,26,25,"div",7),s()),t&2){let e=c();r(),_("ngIf",e.isCustomerFieldsOpen&&e.isNautosPro)}}var hd=(()=>{class t{constructor(){this._route=g(bt),this._router=g(De),this._favoritesService=g(Kt),this._translocoService=g(Q),this.reqIfConvertible=!1,this.internationalRelationshipToken=ks,this.languageShorts={german:"DE",english:"EN",french:"FR"},this.metadataUpdatesMap=new Map(So.map(e=>[e.value,e.translocoKey])),this._isCustomerFieldsOpen=!0,this._isFavoritesAndNotesOpen=!0,this._isLegislationOpen=!0,this._isMainDataOpen=!0,this._isOtherOpen=!0,this._isProcurementOpen=!0}get isFavoritesAndNotesOpen(){return this._isFavoritesAndNotesOpen}get isMainDataOpen(){return this._isMainDataOpen}get isLegislationOpen(){return this._isLegislationOpen}get isProcurementOpen(){return this._isProcurementOpen}get isOtherOpen(){return this._isOtherOpen}get isCustomerFieldsOpen(){return this._isCustomerFieldsOpen}trackByFn(e){return e}showItem(e){return this.showEmpty?!0:this.itemExists(e)}getLanguageValues(e,i){return["De","En","Fr","Und"].map(a=>{let m=e?.[i+a];if(!this.showItem(m)||!this.metadataFields.includes(i+a))return null;let f;return a==="De"?f=this.languageShorts.german:a==="En"?f=this.languageShorts.english:a==="Fr"?f=this.languageShorts.french:f=this._translocoService.translate("common.languages.other"),{key:a,short:f,value:m}}).filter(a=>a!==null)}formatPages(e){for(;e!=null&&e.startsWith("0")&&e.length>1;)e=e.substring(1,e.length);return e}isAtLeastOneFieldAvailable(e){let i=!1;if(this.result&&this.metadataFields?.length>0)for(let n of e){if(n==="custom_field"&&this.metadataFields.includes(n)&&this.showItem(this.result.customFields)){i=!0;break}if(n==="transitionPeriod"&&this.metadataFields.includes(n)&&this.showItem(this.result.transition)){i=!0;break}if(this.metadataFields.includes(n)&&this.showItem(this.result[n])){i=!0;break}}return i}onHyperlinkCalled(e){this._router.navigate(["..",e],{relativeTo:this._route}),this.firstElement&&this.firstElement.nativeElement.scrollIntoView()}getFolderIcon(e){return this._favoritesService.getNodeIcon(e)}hasValidValue(e){return!e||typeof e!="object"||Array.isArray(e)?!1:Object.values(e).some(i=>i!=null&&i!==""&&!((typeof i=="string"||Array.isArray(i))&&i.length<1))}itemExists(e){if(typeof e=="boolean")return!0;let i;if(e?.identical){let n=Object.keys(e),a=0;for(let m of n)a+=e[m].length;i=!!a}else i=!(e==null||e===""||e.length<1);return i}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-item-detail"]],viewQuery:function(i,n){if(i&1&&le(rv,5),i&2){let a;Y(a=Z())&&(n.firstElement=a.first)}},inputs:{result:"result",favoritesResult:"favoritesResult",notesResult:"notesResult",metadataFields:"metadataFields",documentDetailsResult$:"documentDetailsResult$",currentLanguage$:"currentLanguage$",icsClassificationDetail
vendor: 5,985 bytes, line 1
1sResult:"icsClassificationDetailsResult",isNautosPro:"isNautosPro",customFieldsResult:"customFieldsResult",showEmpty:"showEmpty"},decls:6,vars:10,consts:[[3,"headline",4,"ngIf"],["headline","search.main_data",4,"ngIf"],["headline","common.metadata_label.linkLegislation",4,"ngIf"],["headline","search.procurement",4,"ngIf"],["headline","common.other",4,"ngIf"],["headline","search.customer_fields","info","common.metadata_label.info_text",4,"ngIf"],[3,"headline"],["class","container-content",4,"ngIf"],[1,"container-content"],["class","details-row",4,"ngIf"],[1,"details-row"],[4,"ngFor","ngForOf","ngForTrackBy"],["data-cy","favorites",1,"container-favorites-details"],[1,"folder"],["sprite","icons-folders","data-cy","iconFolder",3,"name","ngClass"],["data-cy","folderName",1,"folder-path"],["data-cy","folderPathShared",4,"ngIf"],["data-cy","folderDescription",4,"ngIf"],["data-cy","folderPathShared"],["data-cy","folderDescription"],["data-cy","notes",1,"container-notes-details"],["headline","search.main_data"],["class","details-row","data-cy","valid",4,"ngIf"],["class","details-row","data-cy","acCode",4,"ngIf"],["class","details-row","data-cy","documentNumber",4,"ngIf"],["class","details-row","data-cy","dateOfIssue",4,"ngIf"],["class","details-row","data-cy","documentType",4,"ngIf"],["class","details-row","data-cy","flagStatus",4,"ngIf"],["data-cy","title",1,"details-row"],[4,"ngFor","ngForOf"],["class","details-row","data-cy","originalLanguage",4,"ngIf"],["class","details-row","data-cy","effective",4,"ngIf"],["class","details-row","data-cy","countryCode",4,"ngIf"],["class","details-row","data-cy","sectionalList",4,"ngIf"],["class","details-row","data-cy","productId",4,"ngIf"],["class","details-row","data-cy","admSortKey",4,"ngIf"],["data-cy","valid",1,"details-row"],[1,"icon-with-text"],[3,"name","ngClass"],["data-cy","acCode",1,"details-row"],["data-cy","documentNumber",1,"details-row"],["data-cy","dateOfIssue",1,"details-row"],["data-cy","documentType",1,"details-row"],[1,"entry-list",3,"ngSwitch"],[4,"ngSwitchCase"],["data-cy","flagStatus",1,"details-row"],[1,"entry-list"],[4,"ngIf"],[1,"label-with-colon"],[3,"innerHTML"],["data-cy","originalLanguage",1,"details-row"],["data-cy","effective",1,"details-row"],["data-cy","countryCode",1,"details-row"],["data-cy","sectionalList",1,"details-row"],[1,"inline-list"],["data-cy","productId",1,"details-row"],["data-cy","admSortKey",1,"details-row"],["headline","common.metadata_label.linkLegislation"],["class","details-row","data-cy","linkLegislation",4,"ngIf"],["class","details-row","data-cy","linkPublished",4,"ngIf"],["class","details-row","data-cy","transitionPeriod",4,"ngIf"],["data-cy","linkLegislation",1,"details-row"],["class","link",3,"click","keydown.enter",4,"ngIf"],[1,"link",3,"click","keydown.enter"],["data-cy","linkPublished",1,"details-row"],["data-cy","transitionPeriod",1,"details-row"],["headline","search.procurement"],["class","details-row","data-cy","priceUndetermNote",4,"ngIf"],["class","details-row","data-cy","issuing",4,"ngIf"],["class","details-row","data-cy","publishing",4,"ngIf"],["data-cy","priceUndetermNote",1,"details-row"],["data-cy","issuing",1,"details-row"],[1,"inline-list",3,"innerHTML"],["data-cy","publishing",1,"details-row"],["headline","common.other"],["class","details-row","data-cy","linkHandbook",4,"ngIf"],["class","details-row","data-cy","author",4,"ngIf"],["data-cy","note",1,"details-row"],["class","details-row","data-cy","confirmation",4,"ngIf"],["class","details-row","data-cy","amends",4,"ngIf"],["class","details-row","data-cy","overview",4,"ngIf"],["class","details-row","data-cy","expiration",4,"ngIf"],["class","details-row","data-cy","appearance",4,"ngIf"],["class","details-row","data-cy","amendedBy",4,"ngIf"],["class","details-row","data-cy","internationalRelationship",4,"ngIf"],["class","details-row","data-cy","classificationIcs",4,"ngIf"],["data-cy","abstract",1,"details-row"],["class","details-row","data-cy","replacedBy",4,"ngIf"],["class","details-row","data-cy","descriptor",4,"ngIf"],["class","details-row","data-cy","replaces",4,"ngIf"],["class","details-row","data-cy","draftSuperseded",4,"ngIf"],["class","details-row","data-cy","citation",4,"ngIf"],["class","details-row","data-cy","withdrawalDate",4,"ngIf"],["class","details-row","data-cy","translations",4,"ngIf"],["class","details-row","data-cy","version",4,"ngIf"],["class","details-row","data-cy","linkCertification",4,"ngIf"],["class","details-row","data-cy","ceInfo",4,"ngIf"],["class","details-row","data-cy","classificationOther",4,"ngIf"],["class","details-row","data-cy","fulltextPages",4,"ngIf"],["class","details-row","data-cy","fulltextAddress",4,"ngIf"],["class","details-row","data-cy","edvNr",4,"ngIf"],["class","details-row","data-cy","customFields",4,"ngIf"],["class","details-row","data-cy","refDocNrSpecial",4,"ngIf"],["data-cy","linkHandbook",1,"details-row"],["data-cy","author",1,"details-row"],["data-cy","confirmation",1,"details-row"],["data-cy","amends",1,"details-row"],["data-cy","overview",1,"details-row"],["data-cy","expiration",1,"details-row"],["data-cy","appearance",1,"details-row"],["data-cy","amendedBy",1,"details-row"],["data-cy","internationalRelationship",1,"details-row"],["data-cy","classificationIcs",1,"details-row"],["data-cy","replacedBy",1,"details-row"],["data-cy","descriptor",1,"details-row"],["data-cy","descriptorDe",4,"ngIf"],["data-cy","descriptorEn",4,"ngIf"],["data-cy","descriptorFr",4,"ngIf"],["data-cy","descriptorUnd",4,"ngIf"],["data-cy","descriptorDe"],["data-cy","descriptorEn"],["data-cy","descriptorFr"],["data-cy","descriptorUnd"],["data-cy","replaces",1,"details-row"],["data-cy","draftSuperseded",1,"details-row"],["data-cy","citation",1,"details-row"],["data-cy","withdrawalDate",1,"details-row"],["data-cy","translations",1,"details-row"],["data-cy","version",1,"details-row"],["data-cy","linkCertification",1,"details-row"],["data-cy","ceInfo",1,"details-row"],["name","search-ce","class","icon-cl
1ickable-dark","data-cy","iconCeHarmonizedOrDirective",3,"ngbTooltip",4,"ngIf"],["name","search-ce","class","icon-clickable","data-cy","iconCeMandated",3,"ngbTooltip",4,"ngIf"],["name","search-ce","data-cy","iconCeHarmonizedOrDirective",1,"icon-clickable-dark",3,"ngbTooltip"],["name","search-ce","data-cy","iconCeMandated",1,"icon-clickable",3,"ngbTooltip"],["data-cy","classificationOther",1,"details-row"],["data-cy","fulltextPages",1,"details-row"],["data-cy","fulltextAddress",1,"details-row"],["data-cy","edvNr",1,"details-row"],["data-cy","customFields",1,"details-row"],["data-cy","refDocNrSpecial",1,"details-row"],["headline","search.customer_fields","info","common.metadata_label.info_text"],["class","details-row","data-cy","documentTypePro",4,"ngIf"],["class","details-row","data-cy","updatePro",4,"ngIf"],["class","details-row","data-cy","monitoringStatus",4,"ngIf"],["class","details-row","data-cy","ruleSetPro",4,"ngIf"],["class","details-row","data-cy","createdBy",4,"ngIf"],["class","details-row","data-cy","createdAt",4,"ngIf"],["class","details-row","data-cy","modifiedBy",4,"ngIf"],["class","details-row","data-cy","modifiedAt",4,"ngIf"],["class","details-row","data-cy","classificationPro",4,"ngIf"],["class","details-row","data-cy","info",4,"ngIf"],["class","details-row","data-cy","isCited",4,"ngIf"],["class","details-row","data-cy","regionalValidity",4,"ngIf"],["class","details-row","data-cy","pricePro",4,"ngIf"],["class","details-row","data-cy","publisherPro",4,"ngIf"],["class","details-row","data-cy","sourcePro",4,"ngIf"],["class","details-row","data-cy","certifiedBy",4,"ngIf"],["class","details-row","data-cy","certifiedDate",4,"ngIf"],["class","details-row","data-cy","releaseLevel",4,"ngIf"],["class","details-row","data-cy","releaseComment",4,"ngIf"],["class","details-row","data-cy","changeDescription",4,"ngIf"],["class","details-row","data-cy","revisionVersion",4,"ngIf"],["class","details-row","data-cy","reminderDate",4,"ngIf"],["class","details-row","data-cy","documentOwners",4,"ngIf"],["class","details-row","data-cy","lastReview",4,"ngIf"],["class","details-row","data-cy","updateInterval",4,"ngIf"],["data-cy","documentTypePro",1,"details-row"],["data-cy","updatePro",1,"details-row"],["data-cy","monitoringStatus",1,"details-row"],["data-cy","ruleSetPro",1,"details-row"],["data-cy","createdBy",1,"details-row"],["data-cy","createdAt",1,"details-row"],["data-cy","modifiedBy",1,"details-row"],["data-cy","modifiedAt",1,"details-row"],["data-cy","classificationPro",1,"details-row"],["data-cy","info",1,"details-row"],["data-cy","isCited",1,"details-row"],["data-cy","regionalValidity",1,"details-row"],["data-cy","pricePro",1,"details-row"],["data-cy","publisherPro",1,"details-row"],["data-cy","sourcePro",1,"details-row"],["data-cy","certifiedBy",1,"details-row"],["data-cy","certifiedDate",1,"details-row"],["data-cy","releaseLevel",1,"details-row"],["data-cy","releaseComment",1,"details-row"],["data-cy","changeDescription",1,"details-row"],["data-cy","revisionVersion",1,"details-row"],["data-cy","reminderDate",1,"details-row"],["data-cy","documentOwners",1,"details-row"],["data-cy","lastReview",1,"details-row"],["data-cy","updateInterval",1,"details-row"]],template:function(i,n){i&1&&T(0,Sv,2,2,"app-collapsible-section",0)(1,jv,2,1,"app-collapsible-section",1)(2,mC,2,1,"app-collapsible-section",2)(3,gC,2,1,"app-collapsible-section",3)(4,n1,2,1,"app-collapsible-section",4)(5,A1,2,1,"app-collapsible-section",5),i&2&&(_("ngIf",(n.favoritesResult==null?null:n.favoritesResult.length)>0||(n.notesResult==null?null:n.notesResult.length)>0||n.showEmpty),r(),_("ngIf",n.isAtLeastOneFieldAvailable(Ct(6,sv))),r(),_("ngIf",n.isAtLeastOneFieldAvailable(Ct(7,lv))),r(),_("ngIf",n.isAtLeastOneFieldAvailable(Ct(8,cv))),r(),_("ngIf",n.isAtLeastOneFieldAvailable(Ct(9,dv))),r(),_("ngIf",n.isNautosPro&&(n.customFieldsResult&&n.hasValidValue(n.customFieldsResult)||n.showEmpty)))},dependencies:[yo,Ee,ze,Rr,Br,zr,Vr,G,te,$,ct,Hr,_d,Ks,Qs,B,Gs],styles:['@charset "UTF-8";.container-content[_ngcontent-%COMP%]{align-items:center;display:flex;flex-wrap:wrap;justify-content:center}.container-content[_ngcontent-%COMP%]   .details-row[_ngcontent-%COMP%]{width:100%;gap:var(--spacer);margin-left:calc(var(--spacer) * 2.5);border-bottom:var(--border);display:flex;padding-block:calc(var(--spacer) / 2)}.container-content[_ngcontent-%COMP%]   .details-row[_ngcontent-%COMP%]   .container-favorites-details[_ngcontent-%COMP%]{background-color:var(--color-gray-lighter)}.container-content[_ngcontent-%COMP%]   .details-row[_ngcontent-%COMP%]   .container-notes-details[_ngcontent-%COMP%]{background-color:var(--color-warning-light)}.container-content[_ngcontent-%COMP%]   .details-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{flex:23%}.container-content[_ngcontent-%COMP%]   .details-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{flex:75%}.container-content[_ngcontent-%COMP%]   .details-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child   .entry-list[_ngcontent-%COMP%]{display:flex;gap:calc(var(--spacer) / 4)}.container-content[_ngcontent-%COMP%]   .details-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child   .entry-list[_ngcontent-%COMP%]:first-child:after{content:"\\a0"}.container-content[_ngcontent-%COMP%]   .details-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child   .inline-list[_ngcontent-%COMP%]{flex-flow:row wrap}.container-content[_ngcontent-%COMP%]   .details-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child   .inline-list[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:not(:last-child):after{content:", "}.container-content[_ngcontent-%COMP%]   .details-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child   .container-favorites-details[_ngcontent-%COMP%], .container-content[_ngcontent-%COMP%]   .details-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child   .container-notes-details[_ngcontent-%COMP%]{border-radius:var(--border-radius);border:var(--border);color:var(--color-primary-dark);margin-bottom:calc(var(--spacer) / 2);padding:calc(var(--spacer) / 2) var(--spacer)}.container-content[_ngcontent-%COMP%]   .details-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child   .container-favorites-details[_ngcontent-%COMP%]:last-child, .container-content[_ngcontent-%COMP%]   .details-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child   .container-notes-details[_ngcontent-%COMP%]:last-child{margin-bottom:0}.container-content[_ngcontent-%COMP%]   .details-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child   .container-favorites-details[_ngcontent-%COMP%]   .folder[_ngcontent-%COMP%], .container-content[_ngcontent-%COMP%]   .details-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child   .container-notes-details[_ngcontent-%COMP%]   .folder[_ngcontent-%COMP%]{align-items:center;display:flex;flex-flow:row wrap}.container-content[_ngcontent-%COMP%]   .details-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child   .container-favorites-details[_ngcontent-%COMP%]   .folder[_ngcontent-%COMP%]   .folder-path[_ngcontent-%COMP%], .container-content[_ngcontent-%COMP%]   .details-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child   .container-notes-details[_ngcontent-%COMP%]   .folder[_ngcontent-%COMP%]   .folder-path[_ngcontent-%COMP%]{font-family:var(--font-family-bold)}'],changeDetection:0})}}return t})();var N1=["editComponent"],O1=(t,o)=>({"icon-warning":t,"icon-inactive":o});function R1(t,o){t&1&&w(0,"app-spinner")}function B1(t,o){if(t&1){let e=I();l(0,"button",10),y("click",function(){S(e);let n=c(3);return x(n.onDelete())}),p(1),d(2,"transloco"),s()}t&2&&(r(),D(" ",u(2,1,"common.delete")," "))}function z1(t,o){if(t&1){let e=I();l(0,"div",6),C(1,B1,3,3,"button",7),l(2,"button",8),y("click",function(){S(e);let n=c(2);return x(n.onCancel())}),p(3),d(4,"transloco"),s(),l(5,"button",9),y("click",function(){S(e);let n=c(2);return x(n.onSubmit())}),p(6),d(7,"transloco"),s()()}if(t&2){let e=c(2);r(),b(e.isEditMode&&e.isCompanyData?1:-1),r(2),D(" ",u(4,3,"common.cancel")," "),r(3),D(" ",u(7,5,"common.save")," ")}}function V1(t,o){if(t&1&&w(0,"app-icon",16),t&2){let e=c(3);_("ngClass",e.result!=null&&e.result.reqIfConvertible?"icon-active":"icon-inactive")}}function q1(t,o){if(t&1){let e=I();l(0,"button",30),d(1,"transloco"),d(2,"transloco"),d(3,"transloco"),d(4,"transloco"),y("click",function(){S(e);let n=c(4);return x(n.onFavoriteMenuAction())}),w(5,"app-icon",31),s()}if(t&2){let e=c(4);_("ngbTooltip",e.isRootFavorite?u(1,3,"search.hitlist.remove_from_favorites"):u(2,5,"search.hitlist.add_to_favorites")),k("aria-label",e.isRootFavorite?u(3,7,"search.hitlist.remove_from_favorites"):u(4,9,"
1search.hitlist.add_to_favorites")),r(5),_("name",e.isRootFavorite?"cross":"favorite-star")}}function U1(t,o){if(t&1){let e=I();l(0,"button",32),d(1,"transloco"),d(2,"transloco"),y("click",function(){S(e);let n=c(4);return x(n.onFavoriteFolderAction())}),w(3,"app-icon",33),s()}t&2&&(_("ngbTooltip",u(1,2,"favorites.favorite.add_to_folder")),k("aria-label",u(2,4,"favorites.favorite.add_to_folder")))}function H1(t,o){if(t&1){let e=I();l(0,"button",34),d(1,"transloco"),d(2,"transloco"),y("click",function(){S(e);let n=c(4);return x(n.onNoteAction())}),w(3,"app-icon",35),s()}if(t&2){let e=c(4);_("disabled",e.isCreateMode)("ngbTooltip",u(1,3,"favorites.note.add_to_folder")),k("aria-label",u(2,5,"favorites.note.add_to_folder"))}}function $1(t,o){if(t&1){let e=I();l(0,"button",36),d(1,"transloco"),d(2,"transloco"),y("click",function(){S(e);let n=c(4);return x(n.onDocumentLinkAction())}),w(3,"app-icon",37),s()}t&2&&(_("ngbTooltip",u(1,2,"common.link_document")),k("aria-label",u(2,4,"common.link_document")))}function j1(t,o){if(t&1&&(T(0,q1,6,11,"button",26)(1,U1,4,6,"button",27)(2,H1,4,7,"button",28),C(3,$1,4,6,"button",29)),t&2){let e=c(3);_("permissions",e.permissions.EDIT_FAVORITES),r(),_("permissions",e.permissions.EDIT_FAVORITES),r(),_("permissions",e.permissions.EDIT_FAVORITES),r(),b(e.hasLinkActionPermission?3:-1)}}function G1(t,o){if(t&1){let e=I();l(0,"button",39),d(1,"transloco"),d(2,"transloco"),y("click",function(){S(e);let n=c(4);return x(n.onAddItemsToCartAction())}),w(3,"app-icon",40),s()}t&2&&(_("ngbTooltip",u(1,2,"orders.add_to_shopping_cart")),k("aria-label",u(2,4,"orders.add_to_shopping_cart")))}function K1(t,o){if(t&1&&T(0,G1,4,6,"button",38),t&2){let e=c(3);_("permissions",e.permissions.ADD_TO_BASKET)}}function W1(t,o){if(t&1){let e=I();l(0,"button",41),d(1,"transloco"),d(2,"transloco"),y("click",function(){S(e);let n=c(3);return x(n.onMetadataTemplate())}),w(3,"app-icon",42),s()}t&2&&(_("ngbTooltip",u(1,2,"search.hitlist.edit_metadata")),k("aria-label",u(2,4,"search.hitlist.edit_metadata")))}function Q1(t,o){if(t&1){let e=I();l(0,"button",43),d(1,"transloco"),d(2,"transloco"),y("click",function(){S(e);let n=c(3);return x(n.onReqIFConversion())}),w(3,"app-icon",44),s()}t&2&&(_("ngbTooltip",u(1,2,"search.reqif.conversion")),k("aria-label",u(2,4,"search.reqif.conversion")))}function Y1(t,o){if(t&1&&w(0,"app-document-list",22),t&2){let e=c(3);_("itemId",e.result==null?null:e.result.id)("isItemDetail",!0)}}function Z1(t,o){if(t&1){let e=I();l(0,"button",46),y("click",function(){S(e);let n=c(4);return x(n.onEditMetadata())}),w(1,"app-icon",47),l(2,"span"),p(3),d(4,"transloco"),s()()}t&2&&(r(3),h(u(4,1,"company_data.edit_company_data")))}function J1(t,o){if(t&1){let e=I();l(0,"button",46),y("click",function(){S(e);let n=c(4);return x(n.onEditMetadata())}),w(1,"app-icon",47),l(2,"span"),p(3),d(4,"transloco"),s()()}t&2&&(r(3),h(u(4,1,"search.item_detail.customer_fields_edit")))}function X1(t,o){if(t&1&&(ie(0),C(1,Z1,5,3,"button",45),C(2,J1,5,3,"button",45),ne()),t&2){let e=c(3);r(),b(e.isCompanyData?1:-1),r(),b(!e.isCompanyData&&e.isNautosPro?2:-1)}}function ey(t,o){if(t&1&&(l(0,"div",11,0)(2,"h2"),p(3),s(),l(4,"div"),w(5,"app-icon",12)(6,"app-icon",13)(7,"app-icon",14)(8,"app-icon",15),C(9,V1,1,1,"app-icon",16),s()(),l(10,"div",17)(11,"div",6)(12,"div",18),C(13,j1,4,4),C(14,K1,1,1,"button",19),T(15,W1,4,6,"button",20),C(16,Q1,4,6,"button",21),s(),C(17,Y1,1,2,"app-document-list",22),T(18,X1,3,2,"ng-container",23),s(),l(19,"form",24),w(20,"app-checkbox",25),s()()),t&2){let e=c(2);_("scrollToTopButton",!0),r(3),lt("",e.result==null?null:e.result.documentNumber," (",e.result==null?null:e.result.dateOfIssue,")"),r(2),_("ngClass",Ti(15,O1,e.isRootFavorite||e.isFavorite,!e.isRootFavorite&&!e.isFavorite)),r(),_("ngClass",e.hasNotes?"icon-active":"icon-inactive"),r(),_("ngClass",e.isCompanyData?"icon-active":"icon-inactive"),r(),_("ngClass",e.isDraft?"icon-active":"icon-inactive"),r(),b(e.hasReqIFModule?9:-1),r(4),b(e.rootFolderId?13:-1),r(),b(e.isOrderManagementEnabled?14:-1),r(),_("permissions",e.permissions.EDIT_METADATA),r(),b(e.hasReqIFModule?16:-1),r(),b(e.result?17:-1),r(),_("permissions",e.permissions.EDIT_METADATA),r(),_("formGroup",e.showEmptyForm)}}function ty(t,o){if(t&1&&(l(0,"div",2)(1,"div",5)(2,"h1"),p(3),d(4,"transloco"),s(),C(5,z1,8,7,"div",6),s(),C(6,ey,21,18),s()),t&2){let e=c();r(3),h(u(4,3,e.title)),r(2),b(e.isCreateMode||e.isEditMode?5:-1),r(),b(!e.isCreateMode&&!e.isEditMode?6:-1)}}function iy(t,o){if(t&1){let e=I();l(0,"app-item-detail-edit",48,1),y("updated",function(n){S(e);let a=c();
1return x(a.onUpdated(n))})("canceled",function(){S(e);let n=c();return x(n.onCancelSuccess())}),s()}if(t&2){let e,i=c();_("result",i.result)("duplicationType",i.duplicationType)("favoritesResult",i.favoritesResult)("notesResult",i.notesResult)("showEmpty",(e=i.showEmptyForm.get("showEmpty"))==null?null:e.value)("isCreateMode",i.isCreateMode)("isEditMode",i.isEditMode)("isNautosPro",i.isNautosPro)("isCompanyData",i.isCompanyData)("customFieldsResult",i.customFieldsResult)("metadataWidth",i.metadataWidth)}}function ny(t,o){if(t&1&&w(0,"app-item-detail",4),t&2){let e,i=c();_("result",i.result)("favoritesResult",i.favoritesResult)("notesResult",i.notesResult)("metadataFields",i.metadataFields)("documentDetailsResult$",i.documentDetailsResult$)("currentLanguage$",i.currentLanguage$)("icsClassificationDetailsResult",i.icsClassificationDetailsResult)("isNautosPro",i.isNautosPro)("customFieldsResult",i.customFieldsResult)("showEmpty",(e=i.showEmptyForm.get("showEmpty"))==null?null:e.value)}}var Wn=(()=>{class t{constructor(){this._authService=g(Pe),this._changeDetectorRef=g(Be),this._documentAccessService=g(Et),this._favoritesService=g(Kt),this._feedbackService=g(Ke),this._formBuilder=g(di),this._itemDetailService=g(Ts),this._linkDocumentService=g($s),this._location=g(ro),this._metadataFieldsService=g(ln),this._modalService=g(X),this._reqifConversionService=g(Ds),this._route=g(bt),this._router=g(De),this._searchService=g(yt),this._tenantStateService=g(pt),this._translocoService=g(Q),this._valueListService=g(Pi),this.customFieldsResult=new Ln,this.permissions=M,this.isOrderManagementEnabled=!0,this.hasReqIFModule=!1,this.hasLinkActionPermission=!1,this.isPending=!0,this.isFavorite=!1,this.isRootFavorite=!1,this.hasNotes=!1,this.isCompanyData=!1,this.isDraft=!1,this.isCreateMode=!1,this.isEditMode=!1,this._isComponentActive=!0,this._reqifConversionPrefixes=["DIN","ISO"],this.duplicationType=[],this.duplicationType=this._router.getCurrentNavigation().extras.state?.type,this._userInfo=this._authService.userInfo}ngOnDestroy(){this._isComponentActive=!1}ngOnInit(){let e=this._route.snapshot.data;this.isTemplate=e?.isTemplate,this.initializeLanguages(),this._route.params.pipe(Oe(()=>this._isComponentActive)).subscribe(i=>{this.itemDetailId=i.id,this.itemDetailId?this.loadItemDetails(this.itemDetailId):(this.isCreateMode=!0,this.isCompanyData=!0,this.isPending=!1)}),this.initializeForm(),this.isTemplate&&(this.isEditMode=!1,this.isCreateMode=!0,this.isCompanyData=!0),this._metadataFieldsService.getMetadataList().pipe(fr(i=>!!i),he(i=>{i?.size>0&&(this.metadataFields=Array.from(i.keys()))})).subscribe(),this._metadataFieldsService.getFullMetadataList().subscribe(i=>{this.metadataWidth=i.map(n=>n.toLowerCase())}),this._tenantStateService.hasReqIFModuleAndAdminAccess(this._authService.userInfo.tenantId).subscribe(i=>{this.hasReqIFModule=i}),this._tenantStateService.tenant$.pipe(Oe(()=>this._isComponentActive)).subscribe(i=>{i&&(this.isOrderManagementEnabled=i.isOrderManagementEnabled)})}get title(){return this.isCreateMode||this.isEditMode?this.headerString:"search.item_detail.title"}onSubmit(){this._editComponent.isCreateMode=this.isCreateMode,this._editComponent.isEditMode=this.isEditMode,this._editComponent.onSubmit()}onCancel(){this._editComponent.onCancel()}onCancelSuccess(){this.isEditMode=!1,this.isCreateMode=!1}onDelete(){this._editComponent.onDelete()}onBack(){sessionStorage.setItem("lastVisitedPage","details"),this._location.back()}onUpdated(e){let{updatedResult:i,updatedProFields:n}=e;if(this.isEditMode=!1,!i)return;this.result=this._itemDetailService.convertToFullDetailItemModel(i);let a=this._allDocumentDetailsResult$.pipe(be(m=>m.filter(f=>i.documentType.includes(f.shortKey))));this.documentDetailsResult$=a,(n||this.isTemplate)&&this.isNautosPro&&(this.customFieldsResult=n,this.customFieldsResult.modifiedBy={userName:`${this._userInfo.surname}, ${this._userInfo.forename} (${this._userInfo.username})`,userGuid:this._userInfo.userAccountId},this.customFieldsResult.modifiedAt=ws.getDateFormattedWithDay(new Date)),this._changeDetectorRef.detectChanges()}get isNautosPro(){return this._tenantStateService.isNautosProActive()}get headerString(){let e;return this.isCreateMode?e="company_data.create_company_data":this.isCompanyData?e="company_data.edit_company_data":e="search.item_detail.customer_fields_edit",e}onFavoriteMenuAction(){this.isRootFavorite?this._favoritesService.unsetFavoriteAcCodes([this.itemDetailId],_n.Folder,this.rootFolderId).pipe(Le(()=>(this._feedbackService.showErrorModal(),qe))).subscribe({next:()=>{this.favoritesResult=this.favoritesResult.filter(e=>
1e.name!==this.rootFolderName),this.handleIconStatesAndRootFolderInformation(this.result),this._feedbackService.showSuccessModal("search.hitlist.favorite_successfully_removed")}}):this._favoritesService.setFavoriteAcCodesToFolders([this.itemDetailId],[this.rootFolderId],_n.Folder).subscribe({next:()=>{this.isRootFavorite=!0,this.favoritesResult.push({favoritesFolderId:"",name:this.rootFolderName,path:this.rootFolderName,fullPath:"",description:"",isSharedWithMe:!1,isSharedFromMe:!1}),this._changeDetectorRef.detectChanges(),this.favoritesResult=[...this.favoritesResult],this._feedbackService.showSuccessModal("search.hitlist.favorite_successfully_added")},error:()=>{this._feedbackService.showErrorModal()}})}onFavoriteFolderAction(){let e=this._modalService.open(ga);e.componentInstance.acCodes=[this.itemDetailId],e.componentInstance.folderType=_n.Folder,e.componentInstance.createdFolderInCreateMode.pipe(he(i=>{i.success?this._feedbackService.showSuccessModal("favorites.favorite.create_folder_success"):this._feedbackService.showErrorModal()}),Oe(()=>this._isComponentActive)).subscribe(),e.result.then(i=>{if(i&&!i.cancel){this.isFavorite=!0;let n=this.favoritesResult.map(a=>a.name);i.selectedNodesValues?.forEach(a=>{if(!n.includes(a.title)){let m={favoritesFolderId:a.id,name:a.title,path:a.path,fullPath:a.fullPath,description:a.description.text,isSharedWithMe:a.isSharedWithMe,isSharedFromMe:a.isSharedFromMe};this.favoritesResult.push(m)}}),this._changeDetectorRef.detectChanges(),this.favoritesResult=[...this.favoritesResult],this._feedbackService.showSuccessModal("search.hitlist.favorite_successfully_added")}})}onNoteAction(){let e=this._modalService.open(ga);e.componentInstance.acCodes=[this.itemDetailId],e.componentInstance.folderType=_n.Note,e.componentInstance.createdFolderInCreateMode.pipe(he(i=>{i.success?this._feedbackService.showSuccessModal("favorites.note.create_folder_success"):this._feedbackService.showErrorModal()}),Oe(()=>this._isComponentActive)).subscribe(),e.result.then(i=>{if(i&&!i.cancel){this.hasNotes=!0;let n=this.notesResult.map(a=>a.name);i.selectedNodesValues?.forEach(a=>{if(!n.includes(a.title)){let m={favoritesFolderId:a.id,name:a.title,path:a.path,fullPath:a.fullPath,description:a.description.text,isSharedWithMe:a.isSharedWithMe,isSharedFromMe:a.isSharedFromMe};this.notesResult.push(m)}}),this._changeDetectorRef.detectChanges(),this.notesResult=[...this.notesResult],this._feedbackService.showSuccessModal("search.hitlist.note_successfully_added")}})}onDocumentLinkAction(){this._linkDocumentService.showDocumentLinkModal(this.searchItemResult?[this.searchItemResult]:[this.result],[this.itemDetailId])}onAddItemsToCartAction(){if(this._authService.userHasOnePermission([dt.ADMIN,dt.STANDARD,dt.READ_AND_REQUEST,M.ADD_TO_BASKET])){let e=this._modalService.open(Bs,{windowClass:"modal-large"});e.componentInstance.loading=!0;let i={document:this.searchItemResult,documentDetails:this.result};e.componentInstance.documentsWithDetails=[i],e.componentInstance.loading=!1,e.result.then(n=>{if(n?.success)switch(n.action){case"addedToCart":this._feedbackService.showSuccessModal("search.hitlist.order_added_to_shopping_cart");break;case"ordered":this._feedbackService.showSuccessModal("orders.order_successfully_requested");break}},()=>{this._feedbackService.showErrorModal()})}else this._feedbackService.showErrorModal("search.no_admin_rights")}onMetadataTemplate(){if(this.itemDetailId.startsWith("CS")&&this._tenantStateService.isNautosProActive()){let e=this._modalService.open(qs);e.componentInstance.isCustomerStandard=this.itemDetailId.startsWith("CS"),e.result.then(i=>{this._router.navigate(["../../company-data/template",this.result.id],{relativeTo:this._route,state:{type:i}})})}else this._router.navigate(["../../company-data/template",this.result.id],{relativeTo:this._route})}onEditMetadata(){this.isEditMode=!0}onReqIFConversion(){let e=[{acCode:this.result.id,documentNumber:this.result.documentNumber,dateOfIssue:this.result.dateOfIssue,reqIfConvertible:this.isReqIfConvertible(),documents:this.result.documents,originalLanguage:this.result.originalLanguage.split(",").map(i=>i.trim())}];this._reqifConversionService.openMultiConvertionModal(e)}isReqIfConvertible(){let e=this._reqifConversionPrefixes.some(i=>this.result.documentNumber.startsWith(i));return(this.result.qualityXml==null||Number.parseInt(this.result.qualityXml)>2)&&(e=!1),e}loadItemDetails(e){this._itemDetailService.searchFullDetailItem(e).pi
1pe(An(this._searchService.searchResponse$),Ne(([i,n])=>{if(!i)return this._router.navigate(["/dashboard"]),st(null);this.result=i,this.loadFavoritesAndNotesDetails();let a=this._valueListService.getIcsClassificationByIcsKeyList(i.classificationIcs),m=this.isNautosPro?this._itemDetailService.fetchProMetadataFields(e):st(null);return _i({customFields:m,item:st(i),searchResponse:st(n),icsClassification:a})})).subscribe(i=>{if(this.isPending=!1,!i)return;let{customFields:n,item:a,searchResponse:m,icsClassification:f}=i;this.icsClassificationDetailsResult=f,this.loadValueListDetails(a),this.customFieldsResult=n,m.searchResult.length<1||m.count<1?this.searchItemResult=this._searchService.convertFullDetailItemModelToSearchItemModelDirty(a):this.searchItemResult=m.searchResult.find(v=>v.acCode===this.result.id),this.result.customFields.sort(ae.compareCustomFields),this._itemDetailScrollToField||document.querySelector("#appContainer")?.scrollTo({top:0}),this._itemDetailScrollToField="",this.handleIconStatesAndRootFolderInformation(a),this.hasLinkActionPermission=this._authService.userHasPermission(M.ADD_DOC_TO_META),this._documentAccessService.refreshDocumentList([a.id]),this._changeDetectorRef.markForCheck()})}loadFavoritesAndNotesDetails(){this._favoritesService.getFavoritesByAcCode(this.itemDetailId).subscribe(e=>{this.favoritesResult=e.favorites,this.notesResult=e.notes,this._changeDetectorRef.markForCheck()})}loadValueListDetails(e){this.documentDetailsResult$=this._valueListService.getDocumentTypeDetailsByKeyList(e.documentType),this.flagStatusDetailsResult$=this._valueListService.getFlagStatusDetailsByKeyList(e.flagStatus),this._allDocumentDetailsResult$=this._valueListService.getAllDocumentTypesDetails()}handleIconStatesAndRootFolderInformation(e){this._favoritesService.getRootFolderAndNotification(_n.Folder).subscribe(i=>{i?.length&&(this.rootFolderId=i[0].id,this.rootFolderName=i[0].title,this._changeDetectorRef.markForCheck())}),this._favoritesService.getFavoriteOrNoteInformationListByAcCodes([e.id]).subscribe(i=>{i?.length===1&&i[0].acCode===e.id&&(this.hasNotes=i[0].isNote,this.isFavorite=i[0].isFavorite,this.isRootFavorite=i[0].isFavoriteRoot,this._changeDetectorRef.markForCheck())}),e.tenantId!=="DEFAULT"&&(this.isCompanyData=!0),this.isDraft=cs.isDraftDocument(this.result.documentType),this._changeDetectorRef.markForCheck()}initializeLanguages(){this.currentLanguage$=this._translocoService.langChanges$.pipe(ei(),Oe(()=>this._isComponentActive))}initializeForm(){this.itemDetailsConfigurationForm=new xt({selectedConfiguration:new Me({value:"Standard",disabled:!0})}),this.showEmptyForm=this._formBuilder.group({showEmpty:this._formBuilder.control(!1)})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-item-detail-container"]],viewQuery:function(i,n){if(i&1&&le(N1,5),i&2){let a;Y(a=Z())&&(n._editComponent=a.first)}},decls:4,vars:3,consts:[["firstElement",""],["editComponent",""],[1,"header-sticky"],[3,"result","duplicationType","favoritesResult","notesResult","showEmpty","isCreateMode","isEditMode","isNautosPro","isCompanyData","customFieldsResult","metadataWidth"],[3,"result","favoritesResult","notesResult","metadataFields","documentDetailsResult$","currentLanguage$","icsClassificationDetailsResult","isNautosPro","customFieldsResult","showEmpty"],[1,"header"],[1,"buttons"],["type","button","data-cy","deleteCompanyData",1,"btn-alert"],["type","button","data-cy","cancelCompanyData",1,"btn-primary-outline",3,"click"],["type","button","data-cy","saveCompanyData",1,"btn-primary",3,"click"],["type","button","data-cy","deleteCompanyData",1,"btn-alert",3,"click"],[1,"sub-header",3,"scrollToTopButton"],["name","folder-favorite","data-cy","iconFavorite",3,"ngClass"],["name","note-folder","data-cy","iconNote",3,"ngClass"],["name","company-data","data-cy","iconCompanyData",3,"ngClass"],["name","metadata-draft","data-cy","iconDraft",3,"ngClass"],["name","reqif","data-cy","iconReqIf",3,"ngClass"],[1,"container-actions"],[1,"btn-group"],["type","button","data-cy","iconAddToCart",1,"btn-menu-animated",3,"ngbTooltip"],["type","button","class","btn-menu-animated","data-cy","iconMetadataAsTemplate",3,"ngbTooltip","click",4,"permissions"],["type","button","data-cy","iconReqIfConversion",1,"btn-menu-animated",3,"ngbTooltip"],[3,"itemId","isItemDetail"],[4,"permissions"],[3,"formGroup"],["formControlName","showEmpty","label","search.item_detail.show_empty_f
1ields","data-cy","showEmptyFields"],["type","button","class","btn-menu-animated","data-cy","iconAddToRootFavorite",3,"ngbTooltip","click",4,"permissions"],["type","button","class","btn-menu-animated","data-cy","iconAddToFavorite",3,"ngbTooltip","click",4,"permissions"],["type","button","class","btn-menu-animated","data-cy","iconAddToNote",3,"disabled","ngbTooltip","click",4,"permissions"],["type","button","data-cy","iconLinkDocument",1,"btn-menu-animated",3,"ngbTooltip"],["type","button","data-cy","iconAddToRootFavorite",1,"btn-menu-animated",3,"click","ngbTooltip"],[3,"name"],["type","button","data-cy","iconAddToFavorite",1,"btn-menu-animated",3,"click","ngbTooltip"],["name","folder-favorite"],["type","button","data-cy","iconAddToNote",1,"btn-menu-animated",3,"click","disabled","ngbTooltip"],["name","note-folder"],["type","button","data-cy","iconLinkDocument",1,"btn-menu-animated",3,"click","ngbTooltip"],["name","document-link"],["type","button","class","btn-menu-animated","data-cy","iconAddToCart",3,"ngbTooltip","click",4,"permissions"],["type","button","data-cy","iconAddToCart",1,"btn-menu-animated",3,"click","ngbTooltip"],["name","order-add"],["type","button","data-cy","iconMetadataAsTemplate",1,"btn-menu-animated",3,"click","ngbTooltip"],["name","copy"],["type","button","data-cy","iconReqIfConversion",1,"btn-menu-animated",3,"click","ngbTooltip"],["name","reqif-conversion"],["type","button","data-cy","editCompanyData",1,"btn-icon-text"],["type","button","data-cy","editCompanyData",1,"btn-icon-text",3,"click"],["name","edit"],[3,"updated","canceled","result","duplicationType","favoritesResult","notesResult","showEmpty","isCreateMode","isEditMode","isNautosPro","isCompanyData","customFieldsResult","metadataWidth"]],template:function(i,n){i&1&&(C(0,R1,1,0,"app-spinner"),C(1,ty,7,5,"div",2),C(2,iy,2,11,"app-item-detail-edit",3)(3,ny,1,10,"app-item-detail",4)),i&2&&(b(n.isPending?0:-1),r(),b(n.isPending?-1:1),r(),b(n.isEditMode||n.isCreateMode?2:3))},dependencies:[ud,Je,Ze,fe,Ie,je,$e,G,Dt,hd,Ms,te,Mi,Mt,Ee,ze,ki,pn,B],styles:[".header-sticky[_ngcontent-%COMP%]{background-color:var(--color-background);border-bottom:var(--border);display:flex;flex-direction:column;justify-content:space-between;padding-bottom:calc(var(--spacer) / 2);position:sticky;top:calc(var(--spacer) * -3);width:100%;z-index:100}.header-sticky[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;gap:var(--spacer)}.header-sticky[_ngcontent-%COMP%]   .sub-header[_ngcontent-%COMP%]{display:flex;gap:var(--spacer);flex-wrap:wrap;align-items:center;margin-bottom:var(--spacer)}.container-actions[_ngcontent-%COMP%]{display:flex;gap:var(--spacer);flex-wrap:wrap;align-items:center;justify-content:space-between;margin-block:var(--spacer)}.buttons[_ngcontent-%COMP%]{display:flex;gap:var(--spacer);flex-wrap:wrap}"]})}}return t})();function oy(t,o){if(t&1){let e=I();l(0,"app-hitlist",3),y("searchChanged",function(n){S(e);let a=c();return x(a.searchChanged(n))}),s()}if(t&2){let e=c();_("showHitlist",!e.isExtendedSearchOpen)("resultList",e.resultItems)("currentPaginationFromSearch",e.currentPaginationFromSearch)("currentPageSize",e.customPageSize)}}var fd=(()=>{class t{get customPageSize(){return this._searchService.customPageSize}constructor(){this._changeDetectorRef=g(Be),this._listPresetService=g(Es),this._router=g(De),this._searchService=g(yt),this._uiService=g(He),this._ngZone=g(on),this.isExtendedSearchOpen=!1,this._router.events.pipe(it(e=>e instanceof ts),ve(1)).subscribe(e=>{!e.urlAfterRedirects.includes("/search")&&this._searchService.lastSearchParamsForNavigation?.searchRequest&&(this._searchService.lastSearchParamsForNavigation.searchRequest=null)})}ngOnInit(){this._searchService.lastSearchParamsForNavigation?.searchRequest&&(this._searchService.customPageSize&&(this._searchService.lastSearchParamsForNavigation.pageSize=this._searchService.customPageSize),this.searchChanged(this._searchService.lastSearchParamsForNavigation)),this._listPresetService.getPresetsForUserFromBackendServices().subscribe(e=>{this._searchService.customPageSize||(this._searchService.customPageSize=e.current.itemsPerPage>=25?e.current.itemsPerPage:25)}),this.resultItems=null,this._changeDetectorRef.detectChanges()}searchChanged(e){this._searchService.customPageSize=e.pageSize,this.doSearch(e)}doSearch(e){e&&(this._uiService.showSpinner(),this.extendedSearchIsOpenStateChanged(!1),this._searchService.lastSearchParamsForNavigation=e,this.currentPaginationFromSearch=e.pageNumber,this.currentSearchRequest=e.searchRequest?e.searchRequest:this._searchService.lastSearchRequest,this._searchService.search(this.currentSearchRequest,this.customPageSize??e.pageSize,e.pageNumber,e.sortField,e.sortDir,!0).pipe(Ne(i=>(this.resultItems=i,st(i))),_t(()=>
1{this._uiService.hideSpinner()})).subscribe())}extendedSearchIsOpenStateChanged(e){this.isExtendedSearchOpen=e}resetSearch(){setTimeout(()=>{this._ngZone.run(()=>{this.resultItems=null,this._changeDetectorRef.detectChanges()})})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["app-search"]],decls:3,vars:3,consts:[[1,"search-container",3,"scrollToTopButton"],["data-cy","extendedSearch",3,"searchWithParams","searchReset","extendedSearchIsOpenStateChanged","searchRequest"],["data-cy","searchResult",3,"showHitlist","resultList","currentPaginationFromSearch","currentPageSize"],["data-cy","searchResult",3,"searchChanged","showHitlist","resultList","currentPaginationFromSearch","currentPageSize"]],template:function(i,n){i&1&&(l(0,"div",0)(1,"app-extended-search",1),y("searchWithParams",function(m){return n.doSearch(m)})("searchReset",function(){return n.resetSearch()})("extendedSearchIsOpenStateChanged",function(m){return n.extendedSearchIsOpenStateChanged(m)}),s(),C(2,oy,1,4,"app-hitlist",2),s()),i&2&&(_("scrollToTopButton",!0),r(),_("searchRequest",n.currentSearchRequest),r(),b(n.resultItems?2:-1))},dependencies:[ki,Ai,Li],styles:[".search-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.search-container[_ngcontent-%COMP%]   app-hitlist[_ngcontent-%COMP%]{overflow:auto}"]})}}return t})();var ay=[{path:":tenant/search",canActivate:[ke],data:{permissions:M.EXTENDED_SEARCH},children:[{path:"",component:fd},{path:"item-detail/:id",component:Wn,canDeactivate:[Rn]},{path:"item-detail/template/:id",component:Wn,canDeactivate:[Rn],data:{isTemplate:!0}},{path:"company-data",children:[{path:"create",component:Wn,canDeactivate:[Rn],data:{permissions:[M.EDIT_METADATA],mode:"create"}},{path:"template/:id",component:Wn,canDeactivate:[Rn],data:{permissions:[M.EDIT_METADATA],isTemplate:!0,mode:"edit"}}]}]}],gd=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=vt({type:t})}static{this.\u0275inj=gt({imports:[fi.forChild(ay),fi]})}}return t})();so(Yr,"de");so(Zr,"fr");so(gl,"en");function ry(t){return()=>t.load()}function sy(t){return()=>pr(t.load("de"))}function ly(t,o){return()=>ry(t)().then(()=>sy(o)())}var vd=(()=>{class t{constructor(){this._config=g(ha),this._config.triggers="hover",this._config.container="body",this._config.tooltipClass="tooltip",this._config.placement="bottom"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=vt({type:t,bootstrap:[Ic]})}static{this.\u0275inj=gt({providers:[{provide:kr,useFactory:ly,deps:[$t,Q],multi:!0},ha,Ii,dd,Kr(Wr()),Ns(),{provide:us,useValue:_s}],imports:[lo,hc,gd,Yo,dl,cd,Pc,Is,oe,Mc,Cc.register("ngsw-worker.js",{enabled:!Or(),registrationStrategy:"registerWhenStable:30000"}),Zo,Xo]})}}return t})();var Cd={production:!0};Cd.production&&void 0;jr().bootstrapModule(vd,{applicationProviders:[Nr()]});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.