From ae818481660123652d43b1125ebbc65ef786e6ec Mon Sep 17 00:00:00 2001 From: Nicolas pierre Date: Fri, 17 Nov 2023 15:27:30 +0100 Subject: [PATCH] Updates --- assets/{index-2cd99827.js => index-af50f18b.js} | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename assets/{index-2cd99827.js => index-af50f18b.js} (96%) diff --git a/assets/index-2cd99827.js b/assets/index-af50f18b.js similarity index 96% rename from assets/index-2cd99827.js rename to assets/index-af50f18b.js index d163694..3a5994a 100644 --- a/assets/index-2cd99827.js +++ b/assets/index-af50f18b.js @@ -644,7 +644,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho border-radius: 50%; } } -`,xa=Te.extend({defaultProps:{__TYPE:"Badge",__parentMetadata:null,value:null,severity:null,size:null,style:null,className:null,children:void 0},css:{classes:G0,styles:e2}});function Qd(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),e.push.apply(e,r)}return e}function t2(t){for(var n=1;n=L?$:""+Array(L+1-F.length).join(A)+$},S={s:v,z:function($){var L=-$.utcOffset(),A=Math.abs(L),F=Math.floor(A/60),w=A%60;return(L<=0?"+":"-")+v(F,2,"0")+":"+v(w,2,"0")},m:function $(L,A){if(L.date()1)return $(z[0])}else{var Q=L.name;b[Q]=L,w=Q}return!F&&w&&(x=w),w||!F&&x},k=function($,L){if(C($))return $.clone();var A=typeof L=="object"?L:{};return A.date=$,A.args=arguments,new ee(A)},H=S;H.l=P,H.i=C,H.w=function($,L){return k($,{locale:L.$L,utc:L.$u,x:L.$x,$offset:L.$offset})};var ee=function(){function $(A){this.$L=P(A.locale,null,!0),this.parse(A),this.$x=this.$x||A.x||{},this[O]=!0}var L=$.prototype;return L.parse=function(A){this.$d=function(F){var w=F.date,M=F.utc;if(w===null)return new Date(NaN);if(H.u(w))return new Date;if(w instanceof Date)return new Date(w);if(typeof w=="string"&&!/Z$/i.test(w)){var z=w.match(D);if(z){var Q=z[2]-1||0,B=(z[7]||"0").substring(0,3);return M?new Date(Date.UTC(z[1],Q,z[3]||1,z[4]||0,z[5]||0,z[6]||0,B)):new Date(z[1],Q,z[3]||1,z[4]||0,z[5]||0,z[6]||0,B)}}return new Date(w)}(A),this.init()},L.init=function(){var A=this.$d;this.$y=A.getFullYear(),this.$M=A.getMonth(),this.$D=A.getDate(),this.$W=A.getDay(),this.$H=A.getHours(),this.$m=A.getMinutes(),this.$s=A.getSeconds(),this.$ms=A.getMilliseconds()},L.$utils=function(){return H},L.isValid=function(){return this.$d.toString()!==E},L.isSame=function(A,F){var w=k(A);return this.startOf(F)<=w&&w<=this.endOf(F)},L.isAfter=function(A,F){return k(A)0)return`Prochain affichage dans ${o} Heures et ${a} Minutes`;if(o=0)return`Prochain affichage dans ${a} Minutes et ${l} Secondes`;if(o<=0&&a<=0)return""}const Jd=({data:t,actions:n})=>{const e=()=>{n.setDialogVisibility(),n.setCardInfo(t)};function r(i){const{lastView:o,position:a}=i,l=new Mo;function u(s){const f=l.diff(Mo(s).add(a+1,"day"),"second");return i2(f*-1)}return u(o)}return V.jsxs(vv,{className:"card",title:t.title,subTitle:!t.form&&"Niveau "+t.position,style:{maxHeight:t.form?"800px":"450px"},children:[t.form?t.form:V.jsx("p",{children:t.ask}),!t.form&&V.jsxs(V.Fragment,{children:[V.jsx(Ni,{onClick:e,children:"Voir la réponse"}),V.jsx("p",{children:r(t)})]})]})};function Ol(){return Ol=Object.assign?Object.assign.bind():function(t){for(var n=1;n=0)&&(e[i]=t[i]);return e}function Rs(t,n){return Rs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Rs(t,n)}function df(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,Rs(t,n)}function o2(t,n){return t.classList?!!n&&t.classList.contains(n):(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+n+" ")!==-1}function a2(t,n){t.classList?t.classList.add(n):o2(t,n)||(typeof t.className=="string"?t.className=t.className+" "+n:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+n))}function Gd(t,n){return t.replace(new RegExp("(^|\\s)"+n+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function l2(t,n){t.classList?t.classList.remove(n):typeof t.className=="string"?t.className=Gd(t.className,n):t.setAttribute("class",Gd(t.className&&t.className.baseVal||"",n))}const ep={disabled:!1},Pl=Wt.createContext(null);var wv=function(n){return n.scrollTop},ro="unmounted",Lr="exited",jr="entering",ii="entered",Fs="exiting",tr=function(t){df(n,t);function n(r,i){var o;o=t.call(this,r,i)||this;var a=i,l=a&&!a.isMounting?r.enter:r.appear,u;return o.appearStatus=null,r.in?l?(u=Lr,o.appearStatus=jr):u=ii:r.unmountOnExit||r.mountOnEnter?u=ro:u=Lr,o.state={status:u},o.nextCallback=null,o}n.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===ro?{status:Lr}:null};var e=n.prototype;return e.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},e.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==jr&&a!==ii&&(o=jr):(a===jr||a===ii)&&(o=Fs)}this.updateStatus(!1,o)},e.componentWillUnmount=function(){this.cancelNextCallback()},e.getTimeouts=function(){var i=this.props.timeout,o,a,l;return o=a=l=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,l=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:l}},e.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===jr){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:no.findDOMNode(this);a&&wv(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Lr&&this.setState({status:ro})},e.performEnter=function(i){var o=this,a=this.props.enter,l=this.context?this.context.isMounting:i,u=this.props.nodeRef?[l]:[no.findDOMNode(this),l],s=u[0],f=u[1],p=this.getTimeouts(),g=l?p.appear:p.enter;if(!i&&!a||ep.disabled){this.safeSetState({status:ii},function(){o.props.onEntered(s)});return}this.props.onEnter(s,f),this.safeSetState({status:jr},function(){o.props.onEntering(s,f),o.onTransitionEnd(g,function(){o.safeSetState({status:ii},function(){o.props.onEntered(s,f)})})})},e.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),l=this.props.nodeRef?void 0:no.findDOMNode(this);if(!o||ep.disabled){this.safeSetState({status:Lr},function(){i.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:Fs},function(){i.props.onExiting(l),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:Lr},function(){i.props.onExited(l)})})})},e.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},e.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},e.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(l){a&&(a=!1,o.nextCallback=null,i(l))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},e.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:no.findDOMNode(this),l=i==null&&!this.props.addEndListener;if(!a||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],s=u[0],f=u[1];this.props.addEndListener(s,f)}i!=null&&setTimeout(this.nextCallback,i)},e.render=function(){var i=this.state.status;if(i===ro)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var l=ff(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Wt.createElement(Pl.Provider,{value:null},typeof a=="function"?a(i,l):Wt.cloneElement(Wt.Children.only(a),l))},n}(Wt.Component);tr.contextType=Pl;tr.propTypes={};function ei(){}tr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ei,onEntering:ei,onEntered:ei,onExit:ei,onExiting:ei,onExited:ei};tr.UNMOUNTED=ro;tr.EXITED=Lr;tr.ENTERING=jr;tr.ENTERED=ii;tr.EXITING=Fs;const u2=tr;var s2=function(n,e){return n&&e&&e.split(" ").forEach(function(r){return a2(n,r)})},Iu=function(n,e){return n&&e&&e.split(" ").forEach(function(r){return l2(n,r)})},pf=function(t){df(n,t);function n(){for(var r,i=arguments.length,o=new Array(i),a=0;at.length)&&(n=t.length);for(var e=0,r=new Array(n);e=L?$:""+Array(L+1-F.length).join(A)+$},S={s:v,z:function($){var L=-$.utcOffset(),A=Math.abs(L),F=Math.floor(A/60),w=A%60;return(L<=0?"+":"-")+v(F,2,"0")+":"+v(w,2,"0")},m:function $(L,A){if(L.date()1)return $(z[0])}else{var Q=L.name;b[Q]=L,w=Q}return!F&&w&&(x=w),w||!F&&x},k=function($,L){if(C($))return $.clone();var A=typeof L=="object"?L:{};return A.date=$,A.args=arguments,new ee(A)},H=S;H.l=P,H.i=C,H.w=function($,L){return k($,{locale:L.$L,utc:L.$u,x:L.$x,$offset:L.$offset})};var ee=function(){function $(A){this.$L=P(A.locale,null,!0),this.parse(A),this.$x=this.$x||A.x||{},this[O]=!0}var L=$.prototype;return L.parse=function(A){this.$d=function(F){var w=F.date,M=F.utc;if(w===null)return new Date(NaN);if(H.u(w))return new Date;if(w instanceof Date)return new Date(w);if(typeof w=="string"&&!/Z$/i.test(w)){var z=w.match(D);if(z){var Q=z[2]-1||0,B=(z[7]||"0").substring(0,3);return M?new Date(Date.UTC(z[1],Q,z[3]||1,z[4]||0,z[5]||0,z[6]||0,B)):new Date(z[1],Q,z[3]||1,z[4]||0,z[5]||0,z[6]||0,B)}}return new Date(w)}(A),this.init()},L.init=function(){var A=this.$d;this.$y=A.getFullYear(),this.$M=A.getMonth(),this.$D=A.getDate(),this.$W=A.getDay(),this.$H=A.getHours(),this.$m=A.getMinutes(),this.$s=A.getSeconds(),this.$ms=A.getMilliseconds()},L.$utils=function(){return H},L.isValid=function(){return this.$d.toString()!==E},L.isSame=function(A,F){var w=k(A);return this.startOf(F)<=w&&w<=this.endOf(F)},L.isAfter=function(A,F){return k(A)0)return`Prochain affichage dans ${i} Heures et ${o} Minutes`;if(i=0)return`Prochain affichage dans ${o} Minutes et ${a} Secondes`;if(i<=0&&o<=0)return""}const Jd=({data:t,actions:n})=>{const e=()=>{n.setDialogVisibility(),n.setCardInfo(t)};function r(i){const{lastView:o,position:a}=i,l=new Mo;function u(s){const f=l.diff(Mo(s).add(a+1,"day"),"second");return i2(f*-1)}return u(o)}return V.jsxs(vv,{className:"card",title:t.title,subTitle:!t.form&&"Niveau "+t.position,style:{maxHeight:t.form?"800px":"450px"},children:[t.form?t.form:V.jsx("p",{children:t.ask}),!t.form&&V.jsxs(V.Fragment,{children:[V.jsx(Ni,{onClick:e,children:"Voir la réponse"}),V.jsx("p",{children:r(t)})]})]})};function Ol(){return Ol=Object.assign?Object.assign.bind():function(t){for(var n=1;n=0)&&(e[i]=t[i]);return e}function Rs(t,n){return Rs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Rs(t,n)}function df(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,Rs(t,n)}function o2(t,n){return t.classList?!!n&&t.classList.contains(n):(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+n+" ")!==-1}function a2(t,n){t.classList?t.classList.add(n):o2(t,n)||(typeof t.className=="string"?t.className=t.className+" "+n:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+n))}function Gd(t,n){return t.replace(new RegExp("(^|\\s)"+n+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function l2(t,n){t.classList?t.classList.remove(n):typeof t.className=="string"?t.className=Gd(t.className,n):t.setAttribute("class",Gd(t.className&&t.className.baseVal||"",n))}const ep={disabled:!1},Pl=Wt.createContext(null);var wv=function(n){return n.scrollTop},ro="unmounted",Lr="exited",jr="entering",ii="entered",Fs="exiting",tr=function(t){df(n,t);function n(r,i){var o;o=t.call(this,r,i)||this;var a=i,l=a&&!a.isMounting?r.enter:r.appear,u;return o.appearStatus=null,r.in?l?(u=Lr,o.appearStatus=jr):u=ii:r.unmountOnExit||r.mountOnEnter?u=ro:u=Lr,o.state={status:u},o.nextCallback=null,o}n.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===ro?{status:Lr}:null};var e=n.prototype;return e.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},e.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==jr&&a!==ii&&(o=jr):(a===jr||a===ii)&&(o=Fs)}this.updateStatus(!1,o)},e.componentWillUnmount=function(){this.cancelNextCallback()},e.getTimeouts=function(){var i=this.props.timeout,o,a,l;return o=a=l=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,l=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:l}},e.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===jr){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:no.findDOMNode(this);a&&wv(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Lr&&this.setState({status:ro})},e.performEnter=function(i){var o=this,a=this.props.enter,l=this.context?this.context.isMounting:i,u=this.props.nodeRef?[l]:[no.findDOMNode(this),l],s=u[0],f=u[1],p=this.getTimeouts(),g=l?p.appear:p.enter;if(!i&&!a||ep.disabled){this.safeSetState({status:ii},function(){o.props.onEntered(s)});return}this.props.onEnter(s,f),this.safeSetState({status:jr},function(){o.props.onEntering(s,f),o.onTransitionEnd(g,function(){o.safeSetState({status:ii},function(){o.props.onEntered(s,f)})})})},e.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),l=this.props.nodeRef?void 0:no.findDOMNode(this);if(!o||ep.disabled){this.safeSetState({status:Lr},function(){i.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:Fs},function(){i.props.onExiting(l),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:Lr},function(){i.props.onExited(l)})})})},e.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},e.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},e.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(l){a&&(a=!1,o.nextCallback=null,i(l))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},e.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:no.findDOMNode(this),l=i==null&&!this.props.addEndListener;if(!a||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],s=u[0],f=u[1];this.props.addEndListener(s,f)}i!=null&&setTimeout(this.nextCallback,i)},e.render=function(){var i=this.state.status;if(i===ro)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var l=ff(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Wt.createElement(Pl.Provider,{value:null},typeof a=="function"?a(i,l):Wt.cloneElement(Wt.Children.only(a),l))},n}(Wt.Component);tr.contextType=Pl;tr.propTypes={};function ei(){}tr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ei,onEntering:ei,onEntered:ei,onExit:ei,onExiting:ei,onExited:ei};tr.UNMOUNTED=ro;tr.EXITED=Lr;tr.ENTERING=jr;tr.ENTERED=ii;tr.EXITING=Fs;const u2=tr;var s2=function(n,e){return n&&e&&e.split(" ").forEach(function(r){return a2(n,r)})},Iu=function(n,e){return n&&e&&e.split(" ").forEach(function(r){return l2(n,r)})},pf=function(t){df(n,t);function n(){for(var r,i=arguments.length,o=new Array(i),a=0;at.length)&&(n=t.length);for(var e=0,r=new Array(n);e=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(s){throw s},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,a=!1,l;return{s:function(){e=e.call(t)},n:function(){var s=e.next();return o=s.done,s},e:function(s){a=!0,l=s},f:function(){try{!o&&e.return!=null&&e.return()}finally{if(a)throw l}}}}function D2(t,n){if(t){if(typeof t=="string")return ip(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);if(e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set")return Array.from(t);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return ip(t,n)}}function ip(t,n){(n==null||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e=e.length&&(i%=e.length,r%=e.length),e.splice(i,0,e.splice(r,1)[0]))}},{key:"findIndexInList",value:function(e,r,i){var o=this;return r?i?r.findIndex(function(a){return o.equals(a,e,i)}):r.findIndex(function(a){return a===e}):-1}},{key:"getJSXElement",value:function(e){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o1?r-1:0),o=1;o1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=e?e[r]:void 0;return o===void 0?i[r]:o}},{key:"getPropCaseInsensitive",value:function(e,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this.toFlatCase(r);for(var a in e)if(e.hasOwnProperty(a)&&this.toFlatCase(a)===o)return e[a];for(var l in i)if(i.hasOwnProperty(l)&&this.toFlatCase(l)===o)return i[l]}},{key:"getMergedProps",value:function(e,r){return Object.assign({},r,e)}},{key:"getDiffProps",value:function(e,r){return this.findDiffKeys(e,r)}},{key:"getPropValue",value:function(e){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.isNotEmpty(e)?this.getProp(e.props,r,i):void 0}},{key:"getComponentProps",value:function(e,r){return this.isNotEmpty(e)?this.getMergedProps(e.props,r):void 0}},{key:"getComponentDiffProps",value:function(e,r){return this.isNotEmpty(e)?this.getDiffProps(e.props,r):void 0}},{key:"isValidChild",value:function(e,r,i){if(e){var o=this.getComponentProp(e,"__TYPE")||(e.type?e.type.displayName:void 0),a=o===r;try{var l}catch{}return a}return!1}},{key:"getRefElement",value:function(e){return e?on(e)==="object"&&e.hasOwnProperty("current")?e.current:e:null}},{key:"combinedRefs",value:function(e,r){e&&r&&(typeof r=="function"?r(e.current):r.current=e.current)}},{key:"removeAccents",value:function(e){return e&&e.search(/[\xC0-\xFF]/g)>-1&&(e=e.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),e}},{key:"toFlatCase",value:function(e){return this.isNotEmpty(e)&&this.isString(e)?e.replace(/(-|_)/g,"").toLowerCase():e}},{key:"toCapitalCase",value:function(e){return this.isNotEmpty(e)&&this.isString(e)?e[0].toUpperCase()+e.slice(1):e}},{key:"trim",value:function(e){return this.isNotEmpty(e)&&this.isString(e)?e.trim():e}},{key:"isEmpty",value:function(e){return e==null||e===""||Array.isArray(e)&&e.length===0||!(e instanceof Date)&&on(e)==="object"&&Object.keys(e).length===0}},{key:"isNotEmpty",value:function(e){return!this.isEmpty(e)}},{key:"isFunction",value:function(e){return!!(e&&e.constructor&&e.call&&e.apply)}},{key:"isObject",value:function(e){return e!==null&&e instanceof Object&&e.constructor===Object}},{key:"isDate",value:function(e){return e!==null&&e instanceof Date&&e.constructor===Date}},{key:"isArray",value:function(e){return e!==null&&Array.isArray(e)}},{key:"isString",value:function(e){return e!==null&&typeof e=="string"}},{key:"isPrintableCharacter",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return this.isNotEmpty(e)&&e.length===1&&e.match(/\S| /)}},{key:"isLetter",value:function(e){return e&&(e.toUpperCase()!=e.toLowerCase()||e.codePointAt(0)>127)}},{key:"findLast",value:function(e,r){var i;if(this.isNotEmpty(e))try{i=e.findLast(r)}catch{i=np(e).reverse().find(r)}return i}},{key:"findLastIndex",value:function(e,r){var i=-1;if(this.isNotEmpty(e))try{i=e.findLastIndex(r)}catch{i=e.lastIndexOf(np(e).reverse().find(r))}return i}},{key:"sort",value:function(e,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,o=arguments.length>3?arguments[3]:void 0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,l=this.compare(e,r,o,i),u=i;return(this.isEmpty(e)||this.isEmpty(r))&&(u=a===1?i:a),u*l}},{key:"compare",value:function(e,r,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,a=-1,l=this.isEmpty(e),u=this.isEmpty(r);return l&&u?a=0:l?a=o:u?a=-o:typeof e=="string"&&typeof r=="string"?a=i(e,r):a=er?1:0,a}},{key:"localeComparator",value:function(e){return new Intl.Collator(e,{numeric:!0}).compare}},{key:"findChildrenByKey",value:function(e,r){var i=A2(e),o;try{for(i.s();!(o=i.n()).done;){var a=o.value;if(a.key===r)return a.children||[];if(a.children){var l=this.findChildrenByKey(a.children,r);if(l.length>0)return l}}}catch(u){i.e(u)}finally{i.f()}return[]}},{key:"mutateFieldData",value:function(e,r,i){if(!(on(e)!=="object"||typeof r!="string"))for(var o=r.split("."),a=e,l=0,u=o.length;l0&&arguments[0]!==void 0?arguments[0]:"pr_id_";return op++,"".concat(t).concat(op)}var Cv=c.memo(c.forwardRef(function(t,n){var e=Yt.getPTI(t),r=c.useState(t.id),i=C2(r,2),o=i[0],a=i[1];return c.useEffect(function(){L2.isEmpty(o)&&a(j2("pr_icon_clip_"))},[o]),c.createElement("svg",Vs({ref:n,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),c.createElement("g",{clipPath:"url(#".concat(o,")")},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z",fill:"currentColor"})),c.createElement("defs",null,c.createElement("clipPath",{id:o},c.createElement("rect",{width:"14",height:"14",fill:"white"}))))}));Cv.displayName="WindowMaximizeIcon";function Hs(){return Hs=Object.assign?Object.assign.bind():function(t){for(var n=1;nt.length)&&(n=t.length);for(var e=0,r=new Array(n);e