From 1a37d63b5578eea18896af2e1ff4f38e53e1d5f9 Mon Sep 17 00:00:00 2001 From: Tiavina Date: Wed, 25 Dec 2024 20:56:51 +0300 Subject: [PATCH] finish api to export thanato statistique, WIP add distance km to csv , develop frontend --- gestion/appinfo/routes.php | 1 + gestion/js/adminSection.app.js | 2 +- gestion/js/apercusTousDevis.app.js | 2 +- gestion/js/apercusToutesFactures.app.js | 2 +- gestion/js/article.app.js | 2 +- gestion/js/bibliotheque.app.js | 2 +- gestion/js/client.app.js | 2 +- gestion/js/configuration.app.js | 2 +- gestion/js/defunt.app.js | 2 +- gestion/js/defuntShow.app.js | 2 +- gestion/js/devis.app.js | 2 +- gestion/js/devisShow.app.js | 2 +- gestion/js/facture.app.js | 2 +- gestion/js/factureShow.app.js | 2 +- gestion/js/legalnotice.app.js | 2 +- gestion/js/lieu.app.js | 2 +- gestion/js/pdf.app.js | 2 +- gestion/js/produit.app.js | 2 +- gestion/js/statistique.app.js | 2 +- gestion/js/thanatopracteur.app.js | 2 +- gestion/js/trajet.app.js | 2 +- gestion/js/trajetdetails.app.js | 2 +- gestion/lib/Controller/PageController.php | 87 +++++++++++++++ gestion/lib/Db/Bdd.php | 102 ++++++++++++++++++ gestion/src/js/listener/main_listener.js | 33 ++++++ gestion/src/js/objects/thanatopracteur.mjs | 1 + gestion/templates/content/thanatopracteur.php | 4 + 27 files changed, 249 insertions(+), 21 deletions(-) diff --git a/gestion/appinfo/routes.php b/gestion/appinfo/routes.php index 4612526..26b1db0 100644 --- a/gestion/appinfo/routes.php +++ b/gestion/appinfo/routes.php @@ -29,6 +29,7 @@ return [ ['name' => 'page#getThanatopracteurs', 'url' => '/getThanatopracteurs', 'verb' => 'PROPFIND'], ['name' => 'page#insertThanatopracteur', 'url' => '/thanatopracteur/insert', 'verb' => 'POST'], + ['name' => 'page#exportThanatoStatistic', 'url' => '/thanatopracteur/exportThanatoStatistic', 'verb' => 'POST'], ['name' => 'page#getDevis', 'url' => '/getDevis', 'verb' => 'PROPFIND'], ['name' => 'page#getDevisDelphine', 'url' => '/getDevisDelphine/{idtrajetdetails}', 'verb' => 'PROPFIND'], diff --git a/gestion/js/adminSection.app.js b/gestion/js/adminSection.app.js index 70f7e43..0637aa9 100644 --- a/gestion/js/adminSection.app.js +++ b/gestion/js/adminSection.app.js @@ -1,2 +1,2 @@ /*! For license information please see adminSection.app.js.LICENSE.txt */ -(()=>{var e={9498:(e,t,n)=>{"use strict";n(5852),t.Jv=void 0,n(9218),n(7136),n(173),n(5086),n(6048),n(9693);var r=function(e,t,n){var r,a=Object.assign({escape:!0},n||{});return"/"!==e.charAt(0)&&(e="/"+e),r=(r=t||{})||{},e.replace(/{([^{}]*)}/g,(function(e,t){var n=r[t];return a.escape?"string"==typeof n||"number"==typeof n?encodeURIComponent(n.toString()):encodeURIComponent(e):"string"==typeof n||"number"==typeof n?n.toString():e}))};t.Jv=function(e,t,n){var o,l,s,i=Object.assign({noRewrite:!1},n||{});return!0!==(null===(o=window)||void 0===o||null===(l=o.OC)||void 0===l||null===(s=l.config)||void 0===s?void 0:s.modRewriteWorking)||i.noRewrite?a()+"/index.php"+r(e,t,n):a()+r(e,t,n)};var a=function(){var e,t;return(null===(e=window)||void 0===e||null===(t=e.OC)||void 0===t?void 0:t.webroot)||""}},4601:(e,t,n)=>{var r=n(8420),a=n(3838),o=TypeError;e.exports=function(e){if(r(e))return e;throw o(a(e)+" is not a function")}},7234:(e,t,n)=>{"use strict";var r=n(7804).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},3938:(e,t,n)=>{var r=n(5335),a=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw o(a(e)+" is not an object")}},8186:(e,t,n)=>{var r=n(5476),a=n(6539),o=n(3493),l=function(e){return function(t,n,l){var s,i=r(t),u=o(i),c=a(l,u);if(e&&n!=n){for(;u>c;)if((s=i[c++])!=s)return!0}else for(;u>c;c++)if((e||c in i)&&i[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:l(!0),indexOf:l(!1)}},2349:(e,t,n)=>{"use strict";var r=n(2074);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},8569:(e,t,n)=>{var r=n(281),a=r({}.toString),o=r("".slice);e.exports=function(e){return o(a(e),8,-1)}},3062:(e,t,n)=>{var r=n(3129),a=n(8420),o=n(8569),l=n(1602)("toStringTag"),s=Object,i="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),l))?n:i?o(t):"Object"==(r=o(t))&&a(t.callee)?"Arguments":r}},4361:(e,t,n)=>{var r=n(6490),a=n(5816),o=n(7632),l=n(3610);e.exports=function(e,t,n){for(var s=a(t),i=l.f,u=o.f,c=0;c{var r=n(5077),a=n(3610),o=n(6843);e.exports=r?function(e,t,n){return a.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},6843:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7485:(e,t,n)=>{var r=n(8420),a=n(3610),o=n(8218),l=n(9430);e.exports=function(e,t,n,s){s||(s={});var i=s.enumerable,u=void 0!==s.name?s.name:t;if(r(n)&&o(n,u,s),s.global)i?e[t]=n:l(t,n);else{try{s.unsafe?e[t]&&(i=!0):delete e[t]}catch(e){}i?e[t]=n:a.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},9430:(e,t,n)=>{var r=n(200),a=Object.defineProperty;e.exports=function(e,t){try{a(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},5077:(e,t,n)=>{var r=n(2074);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},6568:e=>{var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},3262:(e,t,n)=>{var r=n(200),a=n(5335),o=r.document,l=a(o)&&a(o.createElement);e.exports=function(e){return l?o.createElement(e):{}}},7061:e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},6845:(e,t,n)=>{var r,a,o=n(200),l=n(7061),s=o.process,i=o.Deno,u=s&&s.versions||i&&i.version,c=u&&u.v8;c&&(a=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!a&&l&&(!(r=l.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=l.match(/Chrome\/(\d+)/))&&(a=+r[1]),e.exports=a},290:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1605:(e,t,n)=>{var r=n(200),a=n(7632).f,o=n(7712),l=n(7485),s=n(9430),i=n(4361),u=n(4977);e.exports=function(e,t){var n,c,p,f,m,d=e.target,h=e.global,g=e.stat;if(n=h?r:g?r[d]||s(d,{}):(r[d]||{}).prototype)for(c in t){if(f=t[c],p=e.dontCallGetSet?(m=a(n,c))&&m.value:n[c],!u(h?c:d+(g?".":"#")+c,e.forced)&&void 0!==p){if(typeof f==typeof p)continue;i(f,p)}(e.sham||p&&p.sham)&&o(f,"sham",!0),l(n,c,f,e)}}},2074:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},779:(e,t,n)=>{"use strict";n(7136);var r=n(3091),a=n(7485),o=n(54),l=n(2074),s=n(1602),i=n(7712),u=s("species"),c=RegExp.prototype;e.exports=function(e,t,n,p){var f=s(e),m=!l((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),d=m&&!l((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!m||!d||n){var h=r(/./[f]),g=t(f,""[e],(function(e,t,n,a,l){var s=r(e),i=t.exec;return i===o||i===c.exec?m&&!l?{done:!0,value:h(t,n,a)}:{done:!0,value:s(n,t,a)}:{done:!1}}));a(String.prototype,e,g[0]),a(c,f,g[1])}p&&i(c[f],"sham",!0)}},9070:(e,t,n)=>{var r=n(8823),a=Function.prototype,o=a.apply,l=a.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?l.bind(o):function(){return l.apply(o,arguments)})},8823:(e,t,n)=>{var r=n(2074);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},2368:(e,t,n)=>{var r=n(8823),a=Function.prototype.call;e.exports=r?a.bind(a):function(){return a.apply(a,arguments)}},2071:(e,t,n)=>{var r=n(5077),a=n(6490),o=Function.prototype,l=r&&Object.getOwnPropertyDescriptor,s=a(o,"name"),i=s&&"something"===function(){}.name,u=s&&(!r||r&&l(o,"name").configurable);e.exports={EXISTS:s,PROPER:i,CONFIGURABLE:u}},3091:(e,t,n)=>{var r=n(8569),a=n(281);e.exports=function(e){if("Function"===r(e))return a(e)}},281:(e,t,n)=>{var r=n(8823),a=Function.prototype,o=a.call,l=r&&a.bind.bind(o,o);e.exports=r?l:function(e){return function(){return o.apply(e,arguments)}}},6492:(e,t,n)=>{var r=n(200),a=n(8420);e.exports=function(e,t){return arguments.length<2?(n=r[e],a(n)?n:void 0):r[e]&&r[e][t];var n}},6457:(e,t,n)=>{var r=n(4601),a=n(8406);e.exports=function(e,t){var n=e[t];return a(n)?void 0:r(n)}},4433:(e,t,n)=>{var r=n(281),a=n(2612),o=Math.floor,l=r("".charAt),s=r("".replace),i=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,p,f){var m=n+e.length,d=r.length,h=c;return void 0!==p&&(p=a(p),h=u),s(f,h,(function(a,s){var u;switch(l(s,0)){case"$":return"$";case"&":return e;case"`":return i(t,0,n);case"'":return i(t,m);case"<":u=p[i(s,1,-1)];break;default:var c=+s;if(0===c)return a;if(c>d){var f=o(c/10);return 0===f?a:f<=d?void 0===r[f-1]?l(s,1):r[f-1]+l(s,1):a}u=r[c-1]}return void 0===u?"":u}))}},200:(e,t,n)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},6490:(e,t,n)=>{var r=n(281),a=n(2612),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(a(e),t)}},7708:e=>{e.exports={}},8890:(e,t,n)=>{var r=n(6492);e.exports=r("document","documentElement")},7694:(e,t,n)=>{var r=n(5077),a=n(2074),o=n(3262);e.exports=!r&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},8664:(e,t,n)=>{var r=n(281),a=n(2074),o=n(8569),l=Object,s=r("".split);e.exports=a((function(){return!l("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?s(e,""):l(e)}:l},9965:(e,t,n)=>{var r=n(281),a=n(8420),o=n(9310),l=r(Function.toString);a(o.inspectSource)||(o.inspectSource=function(e){return l(e)}),e.exports=o.inspectSource},9206:(e,t,n)=>{var r,a,o,l=n(8369),s=n(200),i=n(5335),u=n(7712),c=n(6490),p=n(9310),f=n(5904),m=n(7708),d="Object already initialized",h=s.TypeError,g=s.WeakMap;if(l||p.state){var v=p.state||(p.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,r=function(e,t){if(v.has(e))throw h(d);return t.facade=e,v.set(e,t),t},a=function(e){return v.get(e)||{}},o=function(e){return v.has(e)}}else{var y=f("state");m[y]=!0,r=function(e,t){if(c(e,y))throw h(d);return t.facade=e,u(e,y,t),t},a=function(e){return c(e,y)?e[y]:{}},o=function(e){return c(e,y)}}e.exports={set:r,get:a,has:o,enforce:function(e){return o(e)?a(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!i(t)||(n=a(t)).type!==e)throw h("Incompatible receiver, "+e+" required");return n}}}},8420:(e,t,n)=>{var r=n(6568),a=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===a}:function(e){return"function"==typeof e}},4977:(e,t,n)=>{var r=n(2074),a=n(8420),o=/#|\.prototype\./,l=function(e,t){var n=i[s(e)];return n==c||n!=u&&(a(t)?r(t):!!t)},s=l.normalize=function(e){return String(e).replace(o,".").toLowerCase()},i=l.data={},u=l.NATIVE="N",c=l.POLYFILL="P";e.exports=l},8406:e=>{e.exports=function(e){return null==e}},5335:(e,t,n)=>{var r=n(8420),a=n(6568),o=a.all;e.exports=a.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===o}:function(e){return"object"==typeof e?null!==e:r(e)}},6926:e=>{e.exports=!1},2328:(e,t,n)=>{var r=n(6492),a=n(8420),o=n(7658),l=n(5225),s=Object;e.exports=l?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return a(t)&&o(t.prototype,s(e))}},3493:(e,t,n)=>{var r=n(3747);e.exports=function(e){return r(e.length)}},8218:(e,t,n)=>{var r=n(281),a=n(2074),o=n(8420),l=n(6490),s=n(5077),i=n(2071).CONFIGURABLE,u=n(9965),c=n(9206),p=c.enforce,f=c.get,m=String,d=Object.defineProperty,h=r("".slice),g=r("".replace),v=r([].join),y=s&&!a((function(){return 8!==d((function(){}),"length",{value:8}).length})),x=String(String).split("String"),T=e.exports=function(e,t,n){"Symbol("===h(m(t),0,7)&&(t="["+g(m(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!l(e,"name")||i&&e.name!==t)&&(s?d(e,"name",{value:t,configurable:!0}):e.name=t),y&&n&&l(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity});try{n&&l(n,"constructor")&&n.constructor?s&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=p(e);return l(r,"source")||(r.source=v(x,"string"==typeof t?t:"")),e};Function.prototype.toString=T((function(){return o(this)&&f(this).source||u(this)}),"toString")},9830:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},1688:(e,t,n)=>{"use strict";var r=n(5077),a=n(281),o=n(2368),l=n(2074),s=n(1641),i=n(8916),u=n(9304),c=n(2612),p=n(8664),f=Object.assign,m=Object.defineProperty,d=a([].concat);e.exports=!f||l((function(){if(r&&1!==f({b:1},f(m({},"a",{enumerable:!0,get:function(){m(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),a="abcdefghijklmnopqrst";return e[n]=7,a.split("").forEach((function(e){t[e]=e})),7!=f({},e)[n]||s(f({},t)).join("")!=a}))?function(e,t){for(var n=c(e),a=arguments.length,l=1,f=i.f,m=u.f;a>l;)for(var h,g=p(arguments[l++]),v=f?d(s(g),f(g)):s(g),y=v.length,x=0;y>x;)h=v[x++],r&&!o(m,g,h)||(n[h]=g[h]);return n}:f},3105:(e,t,n)=>{var r,a=n(3938),o=n(5318),l=n(290),s=n(7708),i=n(8890),u=n(3262),c=n(5904),p="prototype",f="script",m=c("IE_PROTO"),d=function(){},h=function(e){return"<"+f+">"+e+""},g=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;v="undefined"!=typeof document?document.domain&&r?g(r):(t=u("iframe"),n="java"+f+":",t.style.display="none",i.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):g(r);for(var a=l.length;a--;)delete v[p][l[a]];return v()};s[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d[p]=a(e),n=new d,d[p]=null,n[m]=e):n=v(),void 0===t?n:o.f(n,t)}},5318:(e,t,n)=>{var r=n(5077),a=n(4491),o=n(3610),l=n(3938),s=n(5476),i=n(1641);t.f=r&&!a?Object.defineProperties:function(e,t){l(e);for(var n,r=s(t),a=i(t),u=a.length,c=0;u>c;)o.f(e,n=a[c++],r[n]);return e}},3610:(e,t,n)=>{var r=n(5077),a=n(7694),o=n(4491),l=n(3938),s=n(6032),i=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,p="enumerable",f="configurable",m="writable";t.f=r?o?function(e,t,n){if(l(e),t=s(t),l(n),"function"==typeof e&&"prototype"===t&&"value"in n&&m in n&&!n[m]){var r=c(e,t);r&&r[m]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:p in n?n[p]:r[p],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(l(e),t=s(t),l(n),a)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw i("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},7632:(e,t,n)=>{var r=n(5077),a=n(2368),o=n(9304),l=n(6843),s=n(5476),i=n(6032),u=n(6490),c=n(7694),p=Object.getOwnPropertyDescriptor;t.f=r?p:function(e,t){if(e=s(e),t=i(t),c)try{return p(e,t)}catch(e){}if(u(e,t))return l(!a(o.f,e,t),e[t])}},4789:(e,t,n)=>{var r=n(6347),a=n(290).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},8916:(e,t)=>{t.f=Object.getOwnPropertySymbols},7658:(e,t,n)=>{var r=n(281);e.exports=r({}.isPrototypeOf)},6347:(e,t,n)=>{var r=n(281),a=n(6490),o=n(5476),l=n(8186).indexOf,s=n(7708),i=r([].push);e.exports=function(e,t){var n,r=o(e),u=0,c=[];for(n in r)!a(s,n)&&a(r,n)&&i(c,n);for(;t.length>u;)a(r,n=t[u++])&&(~l(c,n)||i(c,n));return c}},1641:(e,t,n)=>{var r=n(6347),a=n(290);e.exports=Object.keys||function(e){return r(e,a)}},9304:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!n.call({1:2},1);t.f=a?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},4972:(e,t,n)=>{"use strict";var r=n(3129),a=n(3062);e.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}},9751:(e,t,n)=>{var r=n(2368),a=n(8420),o=n(5335),l=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&a(n=e.toString)&&!o(s=r(n,e)))return s;if(a(n=e.valueOf)&&!o(s=r(n,e)))return s;if("string"!==t&&a(n=e.toString)&&!o(s=r(n,e)))return s;throw l("Can't convert object to primitive value")}},5816:(e,t,n)=>{var r=n(6492),a=n(281),o=n(4789),l=n(8916),s=n(3938),i=a([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=l.f;return n?i(t,n(e)):t}},6793:(e,t,n)=>{var r=n(2368),a=n(3938),o=n(8420),l=n(8569),s=n(54),i=TypeError;e.exports=function(e,t){var n=e.exec;if(o(n)){var u=r(n,e,t);return null!==u&&a(u),u}if("RegExp"===l(e))return r(s,e,t);throw i("RegExp#exec called on incompatible receiver")}},54:(e,t,n)=>{"use strict";var r,a,o=n(2368),l=n(281),s=n(5362),i=n(6844),u=n(2192),c=n(2),p=n(3105),f=n(9206).get,m=n(1036),d=n(8121),h=c("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,v=g,y=l("".charAt),x=l("".indexOf),T=l("".replace),b=l("".slice),w=(a=/b*/g,o(g,r=/a/,"a"),o(g,a,"a"),0!==r.lastIndex||0!==a.lastIndex),L=u.BROKEN_CARET,C=void 0!==/()??/.exec("")[1];(w||C||L||m||d)&&(v=function(e){var t,n,r,a,l,u,c,m=this,d=f(m),S=s(e),F=d.raw;if(F)return F.lastIndex=m.lastIndex,t=o(v,F,S),m.lastIndex=F.lastIndex,t;var k=d.groups,E=L&&m.sticky,j=o(i,m),N=m.source,A=0,O=S;if(E&&(j=T(j,"y",""),-1===x(j,"g")&&(j+="g"),O=b(S,m.lastIndex),m.lastIndex>0&&(!m.multiline||m.multiline&&"\n"!==y(S,m.lastIndex-1))&&(N="(?: "+N+")",O=" "+O,A++),n=new RegExp("^(?:"+N+")",j)),C&&(n=new RegExp("^"+N+"$(?!\\s)",j)),w&&(r=m.lastIndex),a=o(g,E?n:m,O),E?a?(a.input=b(a.input,A),a[0]=b(a[0],A),a.index=m.lastIndex,m.lastIndex+=a[0].length):m.lastIndex=0:w&&a&&(m.lastIndex=m.global?a.index+a[0].length:r),C&&a&&a.length>1&&o(h,a[0],n,(function(){for(l=1;l{"use strict";var r=n(3938);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},353:(e,t,n)=>{var r=n(2368),a=n(6490),o=n(7658),l=n(6844),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||a(e,"flags")||!o(s,e)?t:r(l,e)}},2192:(e,t,n)=>{var r=n(2074),a=n(200).RegExp,o=r((function(){var e=a("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),l=o||r((function(){return!a("a","y").sticky})),s=o||r((function(){var e=a("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:s,MISSED_STICKY:l,UNSUPPORTED_Y:o}},1036:(e,t,n)=>{var r=n(2074),a=n(200).RegExp;e.exports=r((function(){var e=a(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},8121:(e,t,n)=>{var r=n(2074),a=n(200).RegExp;e.exports=r((function(){var e=a("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},1229:(e,t,n)=>{var r=n(8406),a=TypeError;e.exports=function(e){if(r(e))throw a("Can't call method on "+e);return e}},5904:(e,t,n)=>{var r=n(2),a=n(665),o=r("keys");e.exports=function(e){return o[e]||(o[e]=a(e))}},9310:(e,t,n)=>{var r=n(200),a=n(9430),o="__core-js_shared__",l=r[o]||a(o,{});e.exports=l},2:(e,t,n)=>{var r=n(6926),a=n(9310);(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.28.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.28.0/LICENSE",source:"https://github.com/zloirock/core-js"})},7804:(e,t,n)=>{var r=n(281),a=n(9328),o=n(5362),l=n(1229),s=r("".charAt),i=r("".charCodeAt),u=r("".slice),c=function(e){return function(t,n){var r,c,p=o(l(t)),f=a(n),m=p.length;return f<0||f>=m?e?"":void 0:(r=i(p,f))<55296||r>56319||f+1===m||(c=i(p,f+1))<56320||c>57343?e?s(p,f):r:e?u(p,f,f+2):c-56320+(r-55296<<10)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},2072:(e,t,n)=>{var r=n(6845),a=n(2074);e.exports=!!Object.getOwnPropertySymbols&&!a((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},6539:(e,t,n)=>{var r=n(9328),a=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?a(n+t,0):o(n,t)}},5476:(e,t,n)=>{var r=n(8664),a=n(1229);e.exports=function(e){return r(a(e))}},9328:(e,t,n)=>{var r=n(9830);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},3747:(e,t,n)=>{var r=n(9328),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},2612:(e,t,n)=>{var r=n(1229),a=Object;e.exports=function(e){return a(r(e))}},874:(e,t,n)=>{var r=n(2368),a=n(5335),o=n(2328),l=n(6457),s=n(9751),i=n(1602),u=TypeError,c=i("toPrimitive");e.exports=function(e,t){if(!a(e)||o(e))return e;var n,i=l(e,c);if(i){if(void 0===t&&(t="default"),n=r(i,e,t),!a(n)||o(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},6032:(e,t,n)=>{var r=n(874),a=n(2328);e.exports=function(e){var t=r(e,"string");return a(t)?t:t+""}},3129:(e,t,n)=>{var r={};r[n(1602)("toStringTag")]="z",e.exports="[object z]"===String(r)},5362:(e,t,n)=>{var r=n(3062),a=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return a(e)}},3838:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},665:(e,t,n)=>{var r=n(281),a=0,o=Math.random(),l=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+l(++a+o,36)}},5225:(e,t,n)=>{var r=n(2072);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},4491:(e,t,n)=>{var r=n(5077),a=n(2074);e.exports=r&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8369:(e,t,n)=>{var r=n(200),a=n(8420),o=r.WeakMap;e.exports=a(o)&&/native code/.test(String(o))},1602:(e,t,n)=>{var r=n(200),a=n(2),o=n(6490),l=n(665),s=n(2072),i=n(5225),u=r.Symbol,c=a("wks"),p=i?u.for||u:u&&u.withoutSetter||l;e.exports=function(e){return o(c,e)||(c[e]=s&&o(u,e)?u[e]:p("Symbol."+e)),c[e]}},9693:(e,t,n)=>{"use strict";var r=n(1605),a=n(3091),o=n(8186).indexOf,l=n(2349),s=a([].indexOf),i=!!s&&1/s([1],1,-0)<0;r({target:"Array",proto:!0,forced:i||!l("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return i?s(this,e,t)||0:o(this,e,t)}})},9218:(e,t,n)=>{var r=n(1605),a=n(1688);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},5852:(e,t,n)=>{var r=n(1605),a=n(5077),o=n(3610).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!a},{defineProperty:o})},5086:(e,t,n)=>{var r=n(3129),a=n(7485),o=n(4972);r||a(Object.prototype,"toString",o,{unsafe:!0})},7136:(e,t,n)=>{"use strict";var r=n(1605),a=n(54);r({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},6048:(e,t,n)=>{"use strict";var r=n(2071).PROPER,a=n(7485),o=n(3938),l=n(5362),s=n(2074),i=n(353),u="toString",c=RegExp.prototype[u],p=s((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),f=r&&c.name!=u;(p||f)&&a(RegExp.prototype,u,(function(){var e=o(this);return"/"+l(e.source)+"/"+l(i(e))}),{unsafe:!0})},173:(e,t,n)=>{"use strict";var r=n(9070),a=n(2368),o=n(281),l=n(779),s=n(2074),i=n(3938),u=n(8420),c=n(8406),p=n(9328),f=n(3747),m=n(5362),d=n(1229),h=n(7234),g=n(6457),v=n(4433),y=n(6793),x=n(1602)("replace"),T=Math.max,b=Math.min,w=o([].concat),L=o([].push),C=o("".indexOf),S=o("".slice),F="$0"==="a".replace(/./,"$0"),k=!!/./[x]&&""===/./[x]("a","$0");l("replace",(function(e,t,n){var o=k?"$":"$0";return[function(e,n){var r=d(this),o=c(e)?void 0:g(e,x);return o?a(o,e,r,n):a(t,m(r),e,n)},function(e,a){var l=i(this),s=m(e);if("string"==typeof a&&-1===C(a,o)&&-1===C(a,"$<")){var c=n(t,l,s,a);if(c.done)return c.value}var d=u(a);d||(a=m(a));var g=l.global;if(g){var x=l.unicode;l.lastIndex=0}for(var F=[];;){var k=y(l,s);if(null===k)break;if(L(F,k),!g)break;""===m(k[0])&&(l.lastIndex=h(s,f(l.lastIndex),x))}for(var E,j="",N=0,A=0;A=N&&(j+=S(s,N,P)+R,N=P+O.length)}return j+S(s,N)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!F||k)},2838:function(e){e.exports=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(e,r,a){return n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,n,r){var a=[null];a.push.apply(a,n);var o=new(Function.bind.apply(e,a));return r&&t(o,r.prototype),o},n.apply(null,arguments)}function r(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?n-1:0),a=1;a/gm),$=p(/\${[\w\W]*}/gm),G=p(/^data-[\-\w.\u00B7-\uFFFF]/),K=p(/^aria-[\-\w]+$/),V=p(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),J=p(/^(?:\w+script|data):/i),Y=p(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),X=p(/^html$/i),Z=function(){return"undefined"==typeof window?null:window};return function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Z(),a=function(e){return t(e)};if(a.version="2.4.4",a.removed=[],!n||!n.document||9!==n.document.nodeType)return a.isSupported=!1,a;var o=n.document,l=n.document,s=n.DocumentFragment,i=n.HTMLTemplateElement,u=n.Node,p=n.Element,f=n.NodeFilter,m=n.NamedNodeMap,d=void 0===m?n.NamedNodeMap||n.MozNamedAttrMap:m,h=n.HTMLFormElement,g=n.DOMParser,E=n.trustedTypes,Q=p.prototype,ee=A(Q,"cloneNode"),te=A(Q,"nextSibling"),ne=A(Q,"childNodes"),re=A(Q,"parentNode");if("function"==typeof i){var ae=l.createElement("template");ae.content&&ae.content.ownerDocument&&(l=ae.content.ownerDocument)}var oe=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,a="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(a)&&(r=n.currentScript.getAttribute(a));var o="dompurify"+(r?"#"+r:"");try{return t.createPolicy(o,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(E,o),le=oe?oe.createHTML(""):"",se=l,ie=se.implementation,ue=se.createNodeIterator,ce=se.createDocumentFragment,pe=se.getElementsByTagName,fe=o.importNode,me={};try{me=N(l).documentMode?l.documentMode:{}}catch(e){}var de={};a.isSupported="function"==typeof re&&ie&&void 0!==ie.createHTMLDocument&&9!==me;var he,ge,ve=q,ye=W,xe=$,Te=G,be=K,we=J,Le=Y,Ce=V,Se=null,Fe=j({},[].concat(r(O),r(P),r(_),r(D),r(R))),ke=null,Ee=j({},[].concat(r(I),r(H),r(B),r(z))),je=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ne=null,Ae=null,Oe=!0,Pe=!0,_e=!1,Ue=!0,De=!1,Me=!1,Re=!1,Ie=!1,He=!1,Be=!1,ze=!1,qe=!0,We=!1,$e=!0,Ge=!1,Ke={},Ve=null,Je=j({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ye=null,Xe=j({},["audio","video","img","source","image","track"]),Ze=null,Qe=j({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),et="http://www.w3.org/1998/Math/MathML",tt="http://www.w3.org/2000/svg",nt="http://www.w3.org/1999/xhtml",rt=nt,at=!1,ot=null,lt=j({},[et,tt,nt],b),st=["application/xhtml+xml","text/html"],it=null,ut=l.createElement("form"),ct=function(e){return e instanceof RegExp||e instanceof Function},pt=function(t){it&&it===t||(t&&"object"===e(t)||(t={}),t=N(t),he=he=-1===st.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,ge="application/xhtml+xml"===he?b:T,Se="ALLOWED_TAGS"in t?j({},t.ALLOWED_TAGS,ge):Fe,ke="ALLOWED_ATTR"in t?j({},t.ALLOWED_ATTR,ge):Ee,ot="ALLOWED_NAMESPACES"in t?j({},t.ALLOWED_NAMESPACES,b):lt,Ze="ADD_URI_SAFE_ATTR"in t?j(N(Qe),t.ADD_URI_SAFE_ATTR,ge):Qe,Ye="ADD_DATA_URI_TAGS"in t?j(N(Xe),t.ADD_DATA_URI_TAGS,ge):Xe,Ve="FORBID_CONTENTS"in t?j({},t.FORBID_CONTENTS,ge):Je,Ne="FORBID_TAGS"in t?j({},t.FORBID_TAGS,ge):{},Ae="FORBID_ATTR"in t?j({},t.FORBID_ATTR,ge):{},Ke="USE_PROFILES"in t&&t.USE_PROFILES,Oe=!1!==t.ALLOW_ARIA_ATTR,Pe=!1!==t.ALLOW_DATA_ATTR,_e=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ue=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,De=t.SAFE_FOR_TEMPLATES||!1,Me=t.WHOLE_DOCUMENT||!1,He=t.RETURN_DOM||!1,Be=t.RETURN_DOM_FRAGMENT||!1,ze=t.RETURN_TRUSTED_TYPE||!1,Ie=t.FORCE_BODY||!1,qe=!1!==t.SANITIZE_DOM,We=t.SANITIZE_NAMED_PROPS||!1,$e=!1!==t.KEEP_CONTENT,Ge=t.IN_PLACE||!1,Ce=t.ALLOWED_URI_REGEXP||Ce,rt=t.NAMESPACE||nt,t.CUSTOM_ELEMENT_HANDLING&&ct(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(je.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ct(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(je.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(je.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),De&&(Pe=!1),Be&&(He=!0),Ke&&(Se=j({},r(R)),ke=[],!0===Ke.html&&(j(Se,O),j(ke,I)),!0===Ke.svg&&(j(Se,P),j(ke,H),j(ke,z)),!0===Ke.svgFilters&&(j(Se,_),j(ke,H),j(ke,z)),!0===Ke.mathMl&&(j(Se,D),j(ke,B),j(ke,z))),t.ADD_TAGS&&(Se===Fe&&(Se=N(Se)),j(Se,t.ADD_TAGS,ge)),t.ADD_ATTR&&(ke===Ee&&(ke=N(ke)),j(ke,t.ADD_ATTR,ge)),t.ADD_URI_SAFE_ATTR&&j(Ze,t.ADD_URI_SAFE_ATTR,ge),t.FORBID_CONTENTS&&(Ve===Je&&(Ve=N(Ve)),j(Ve,t.FORBID_CONTENTS,ge)),$e&&(Se["#text"]=!0),Me&&j(Se,["html","head","body"]),Se.table&&(j(Se,["tbody"]),delete Ne.tbody),c&&c(t),it=t)},ft=j({},["mi","mo","mn","ms","mtext"]),mt=j({},["foreignobject","desc","title","annotation-xml"]),dt=j({},["title","style","font","a","script"]),ht=j({},P);j(ht,_),j(ht,U);var gt=j({},D);j(gt,M);var vt=function(e){x(a.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=le}catch(t){e.remove()}}},yt=function(e,t){try{x(a.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){x(a.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!ke[e])if(He||Be)try{vt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},xt=function(e){var t,n;if(Ie)e=""+e;else{var r=w(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===he&&rt===nt&&(e=''+e+"");var a=oe?oe.createHTML(e):e;if(rt===nt)try{t=(new g).parseFromString(a,he)}catch(e){}if(!t||!t.documentElement){t=ie.createDocument(rt,"template",null);try{t.documentElement.innerHTML=at?le:a}catch(e){}}var o=t.body||t.documentElement;return e&&n&&o.insertBefore(l.createTextNode(n),o.childNodes[0]||null),rt===nt?pe.call(t,Me?"html":"body")[0]:Me?t.documentElement:o},Tt=function(e){return ue.call(e.ownerDocument||e,e,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT,null,!1)},bt=function(t){return"object"===e(u)?t instanceof u:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},wt=function(e,t,n){de[e]&&v(de[e],(function(e){e.call(a,t,n,it)}))},Lt=function(e){var t,n;if(wt("beforeSanitizeElements",e,null),(n=e)instanceof h&&("string"!=typeof n.nodeName||"string"!=typeof n.textContent||"function"!=typeof n.removeChild||!(n.attributes instanceof d)||"function"!=typeof n.removeAttribute||"function"!=typeof n.setAttribute||"string"!=typeof n.namespaceURI||"function"!=typeof n.insertBefore||"function"!=typeof n.hasChildNodes))return vt(e),!0;if(F(/[\u0080-\uFFFF]/,e.nodeName))return vt(e),!0;var r=ge(e.nodeName);if(wt("uponSanitizeElement",e,{tagName:r,allowedTags:Se}),e.hasChildNodes()&&!bt(e.firstElementChild)&&(!bt(e.content)||!bt(e.content.firstElementChild))&&F(/<[/\w]/g,e.innerHTML)&&F(/<[/\w]/g,e.textContent))return vt(e),!0;if("select"===r&&F(/