@limetech/lime-elements 39.24.0 → 39.24.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/cjs/{_assignValue-DpsLUlF4.js → _assignValue-DQh76m39.js} +2 -2
- package/dist/cjs/{_baseEach-C570gT5Y.js → _baseEach-Bygi-un6.js} +2 -2
- package/dist/cjs/{_baseIsEqual-aOPReRWl.js → _baseIsEqual-CQZKiKbe.js} +20 -365
- package/dist/cjs/{_baseIteratee-DggA4e7a.js → _baseIteratee-DDklwtn9.js} +6 -4
- package/dist/cjs/{_defineProperty-BDFOiqJL.js → _defineProperty-Csu6P9HT.js} +1 -1
- package/dist/cjs/{_getAllKeysIn-BQIV8aw7.js → _getAllKeysIn-BJsgUTAt.js} +5 -4
- package/dist/cjs/{_getNative-B4n5HX2B.js → _getNative-Cf52giNE.js} +2 -2
- package/dist/cjs/_getTag-BC28Za7d.js +355 -0
- package/dist/cjs/_isIndex-Bu45fvR7.js +27 -0
- package/dist/cjs/{_isIterateeCall-CPWXFS_s.js → _isIterateeCall-BUGt9SrH.js} +4 -3
- package/dist/cjs/{cloneDeep-CxFNKF1Y.js → cloneDeep-hE40Q8aw.js} +13 -12
- package/dist/cjs/{difference-Bfsq4sXB.js → difference-B543MGsY.js} +5 -4
- package/dist/cjs/eq-DFcUoVzv.js +39 -0
- package/dist/cjs/file-metadata-BrhOssGG.js +76 -0
- package/dist/cjs/{files-Cf615Ytp.js → files-Bt11HLi4.js} +1 -1
- package/dist/cjs/{focus-trigger-element-Brw8VubX.js → focus-trigger-element-BfnJmxKO.js} +1 -1
- package/dist/{esm/file-metadata-BwF9vTXN.js → cjs/icons-isR5V1X0.js} +4 -69
- package/dist/cjs/{isArrayLike-_dR1U5-Y.js → isArrayLike-C2RwZMG4.js} +2 -27
- package/dist/cjs/{isEmpty-EBCFxX1S.js → isEmpty-CCxl3bYc.js} +6 -6
- package/dist/cjs/{isEqual-bXyw7kXo.js → isEqual-Cd9J8a5-.js} +1 -1
- package/dist/cjs/{eq-B1KBAwmK.js → isFunction-RSHwsz1x.js} +0 -37
- package/dist/cjs/lime-elements.cjs.js +1 -1
- package/dist/cjs/{limel-breadcrumbs_7.cjs.entry.js → limel-breadcrumbs_8.cjs.entry.js} +74 -8
- package/dist/cjs/limel-chip-set.cjs.entry.js +578 -0
- package/dist/cjs/limel-chip_2.cjs.entry.js +33 -528
- package/dist/cjs/limel-dialog.cjs.entry.js +9 -6
- package/dist/cjs/limel-email-viewer.cjs.entry.js +15 -10
- package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +12 -8
- package/dist/cjs/limel-file.cjs.entry.js +2 -1
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +5 -3
- package/dist/cjs/limel-form.cjs.entry.js +247 -71
- package/dist/cjs/limel-helper-line.cjs.entry.js +42 -0
- package/dist/cjs/limel-popover_2.cjs.entry.js +6 -5
- package/dist/cjs/limel-profile-picture.cjs.entry.js +3 -2
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +16 -12
- package/dist/cjs/limel-tab-bar.cjs.entry.js +11 -8
- package/dist/cjs/limel-table.cjs.entry.js +14 -11
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{pickBy-kLjYLoam.js → pickBy-D-X6S5kg.js} +5 -5
- package/dist/collection/components/chip-set/chip-set.js +14 -2
- package/dist/collection/components/email-viewer/email-viewer.css +12 -32
- package/dist/collection/components/email-viewer/email-viewer.js +16 -9
- package/dist/esm/{_assignValue-DOEO9byf.js → _assignValue-CEFvyZxO.js} +2 -2
- package/dist/esm/{_baseEach-C4UJIc96.js → _baseEach-lvj-g1Zj.js} +2 -2
- package/dist/esm/{_baseIsEqual-DCZXUzsZ.js → _baseIsEqual-B6bIeexY.js} +10 -346
- package/dist/esm/{_baseIteratee-CI-QZdpx.js → _baseIteratee-CEZRuq23.js} +4 -2
- package/dist/esm/{_defineProperty-yVdnnt__.js → _defineProperty-C69Btzid.js} +1 -1
- package/dist/esm/{_getAllKeysIn-v-KlW5r_.js → _getAllKeysIn-kT3KizYN.js} +3 -2
- package/dist/esm/{_getNative-aN4R8EiP.js → _getNative-COawFdVX.js} +1 -1
- package/dist/esm/_getTag-CMJL-6hk.js +344 -0
- package/dist/esm/_isIndex-B--C3qwe.js +25 -0
- package/dist/esm/{_isIterateeCall-CTcCv8Mb.js → _isIterateeCall-Bb4gUZLK.js} +3 -2
- package/dist/esm/{cloneDeep-V4fB8wfG.js → cloneDeep-CL7UD3mR.js} +4 -3
- package/dist/esm/{difference-CWrdq-hd.js → difference-DND5tWiA.js} +4 -3
- package/dist/esm/eq-CZ30nDJE.js +37 -0
- package/dist/esm/file-metadata-BHzkIH4g.js +71 -0
- package/dist/esm/{files-P324wLau.js → files-CZAZotms.js} +1 -1
- package/dist/esm/{focus-trigger-element-DubROLkE.js → focus-trigger-element-BOFcjLq3.js} +1 -1
- package/dist/{cjs/file-metadata-rQ0WzFlZ.js → esm/icons-Bu_YRgCL.js} +1 -75
- package/dist/esm/{isArrayLike-D1QkaJU2.js → isArrayLike-CyVGB489.js} +2 -26
- package/dist/esm/{isEmpty-BFxMjh_H.js → isEmpty-DHgukT5k.js} +2 -2
- package/dist/esm/{isEqual-CsrptmTU.js → isEqual-4tbMaaf_.js} +1 -1
- package/dist/esm/{eq-D7VMHFyO.js → isFunction-9zQTeQI8.js} +1 -37
- package/dist/esm/lime-elements.js +1 -1
- package/dist/esm/{limel-breadcrumbs_7.entry.js → limel-breadcrumbs_8.entry.js} +71 -6
- package/dist/esm/limel-chip-set.entry.js +576 -0
- package/dist/esm/limel-chip_2.entry.js +35 -530
- package/dist/esm/limel-dialog.entry.js +9 -6
- package/dist/esm/limel-email-viewer.entry.js +15 -10
- package/dist/esm/limel-file-dropzone_2.entry.js +12 -8
- package/dist/esm/limel-file.entry.js +2 -1
- package/dist/esm/limel-flatpickr-adapter.entry.js +5 -3
- package/dist/esm/limel-form.entry.js +237 -61
- package/dist/esm/limel-helper-line.entry.js +40 -0
- package/dist/esm/limel-popover_2.entry.js +6 -5
- package/dist/esm/limel-profile-picture.entry.js +3 -2
- package/dist/esm/limel-prosemirror-adapter.entry.js +16 -12
- package/dist/esm/limel-tab-bar.entry.js +11 -8
- package/dist/esm/limel-table.entry.js +14 -11
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{pickBy-D8CUtxE4.js → pickBy-C4C3CM4m.js} +4 -4
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/p-00b424d7.entry.js +1 -0
- package/dist/lime-elements/p-01651634.entry.js +1 -0
- package/dist/lime-elements/p-4ecd565b.entry.js +1 -0
- package/dist/lime-elements/p-5442e09e.entry.js +13 -0
- package/dist/lime-elements/p-56bkn1D-.js +1 -0
- package/dist/lime-elements/p-60327283.entry.js +1 -0
- package/dist/lime-elements/{p-cfe85e59.entry.js → p-6eaa9776.entry.js} +10 -10
- package/dist/lime-elements/p-72b9d03e.entry.js +1 -0
- package/dist/lime-elements/p-80162ba0.entry.js +1 -0
- package/dist/lime-elements/p-86ff06d1.entry.js +1 -0
- package/dist/lime-elements/p-9W8bTt2G.js +1 -0
- package/dist/lime-elements/p-B--C3qwe.js +1 -0
- package/dist/lime-elements/p-B8yl2MCT.js +1 -0
- package/dist/lime-elements/p-BAR6am-7.js +1 -0
- package/dist/lime-elements/p-BCq5M9TE.js +1 -0
- package/dist/lime-elements/p-BE1Efiuj.js +1 -0
- package/dist/lime-elements/p-BYfPV0O4.js +1 -0
- package/dist/lime-elements/p-BcJ-TDVt.js +1 -0
- package/dist/lime-elements/p-BsX7ma3n.js +1 -0
- package/dist/lime-elements/p-Bu_YRgCL.js +1 -0
- package/dist/lime-elements/p-ByzvFNMm.js +1 -0
- package/dist/lime-elements/{p-CWuGCKo1.js → p-C4caLnTg.js} +1 -1
- package/dist/lime-elements/p-CR7u-m0b.js +1 -0
- package/dist/lime-elements/p-CVzgpz9P.js +1 -0
- package/dist/lime-elements/p-CZ30nDJE.js +1 -0
- package/dist/lime-elements/{p-BvDmWgCs.js → p-D0F7gOYG.js} +1 -1
- package/dist/lime-elements/p-D4RdItCq.js +1 -0
- package/dist/lime-elements/p-D8H5afYg.js +1 -0
- package/dist/lime-elements/p-DbBZn7JO.js +1 -0
- package/dist/lime-elements/p-DtrvybFR.js +1 -0
- package/dist/lime-elements/{p-8139d26a.entry.js → p-a712087a.entry.js} +3 -3
- package/dist/lime-elements/p-b1645d2d.entry.js +1 -0
- package/dist/lime-elements/{p-e720f65c.entry.js → p-d00ec6c2.entry.js} +3 -3
- package/dist/lime-elements/{p-a416d439.entry.js → p-e5c7cac0.entry.js} +2 -2
- package/dist/lime-elements/p-f6e58e6c.entry.js +1 -0
- package/dist/lime-elements/p-f867b424.entry.js +1 -0
- package/dist/lime-elements/p-mmkVLOjW.js +1 -0
- package/dist/types/components/chip-set/chip-set.d.ts +5 -0
- package/dist/types/components/email-viewer/email-viewer.d.ts +0 -1
- package/package.json +1 -1
- package/dist/cjs/limel-helper-line_2.cjs.entry.js +0 -107
- package/dist/cjs/limel-linear-progress.cjs.entry.js +0 -59
- package/dist/esm/limel-helper-line_2.entry.js +0 -104
- package/dist/esm/limel-linear-progress.entry.js +0 -57
- package/dist/lime-elements/p-34d1d00a.entry.js +0 -1
- package/dist/lime-elements/p-48db87d3.entry.js +0 -1
- package/dist/lime-elements/p-4e9baf08.entry.js +0 -1
- package/dist/lime-elements/p-59f1460d.entry.js +0 -1
- package/dist/lime-elements/p-7uuv3HUP.js +0 -1
- package/dist/lime-elements/p-811c4820.entry.js +0 -1
- package/dist/lime-elements/p-9758568e.entry.js +0 -13
- package/dist/lime-elements/p-9a378cf0.entry.js +0 -1
- package/dist/lime-elements/p-BTHqaZIi.js +0 -1
- package/dist/lime-elements/p-Bj622DVt.js +0 -1
- package/dist/lime-elements/p-Bp0tNo1s.js +0 -1
- package/dist/lime-elements/p-C3Myy3mA.js +0 -1
- package/dist/lime-elements/p-CXgJVvTe.js +0 -1
- package/dist/lime-elements/p-CxfAgSVd.js +0 -1
- package/dist/lime-elements/p-DNIqLXTL.js +0 -1
- package/dist/lime-elements/p-D_uMnX5g.js +0 -1
- package/dist/lime-elements/p-DbC-smVQ.js +0 -1
- package/dist/lime-elements/p-DlJXKdhK.js +0 -1
- package/dist/lime-elements/p-DtS35Df5.js +0 -1
- package/dist/lime-elements/p-SvuA3Boo.js +0 -1
- package/dist/lime-elements/p-b306735b.entry.js +0 -1
- package/dist/lime-elements/p-c1c635c1.entry.js +0 -1
- package/dist/lime-elements/p-cebdd797.entry.js +0 -1
- package/dist/lime-elements/p-efBXH4mj.js +0 -1
- package/dist/lime-elements/p-f_1nwOC8.js +0 -1
- package/dist/lime-elements/p-fd4a4f87.entry.js +0 -1
- package/dist/lime-elements/p-v6b303K5.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as o,h as t,a as r}from"./p-DBTJNfo7.js";import{c as i}from"./p-JbKhhoXs.js";import{E as s}from"./p-rI0IeKpx.js";import{f as a,z as n}from"./p-BvDmWgCs.js";import"./p-v6b303K5.js";import"./p-f_1nwOC8.js";import"./p-efBXH4mj.js";import"./p-DtS35Df5.js";import"./p-BJQylLSL.js";function p(e,o){var t;if(e.contains(o)||(null===(t=e.shadowRoot)||void 0===t?void 0:t.contains(o)))return!0;const r=function(e){const o=e.closest(".limel-portal--container");if(o)return o.portalSource;return e.getRootNode().host}(o);return!!r&&p(e,r)}const c=class{constructor(t){e(this,t),this.close=o(this,"close"),this.open=!1,this.shouldRestoreFocusOnClose=!1,this.handleGlobalKeyPress=e=>{e.key===s&&(e.stopPropagation(),e.preventDefault(),this.requestCloseAndRestoreFocus())},this.requestCloseAndRestoreFocus=()=>{this.shouldRestoreFocusOnClose=!0,this.close.emit()},this.setTriggerRef=e=>{this.triggerSlot=e},this.focusTrigger=()=>{var e,o;const t=null===(o=null===(e=this.triggerSlot)||void 0===e?void 0:e.assignedElements())||void 0===o?void 0:o[0];a(t)},this.setTriggerAttributes=e=>{const o={"aria-haspopup":!0,"aria-expanded":this.open,"aria-controls":this.portalId,role:"button"};for(const[t,r]of Object.entries(o))r?e.setAttribute(t,String(r)):e.removeAttribute(t)},this.portalId=i(),this.globalClickListener=this.globalClickListener.bind(this)}watchOpen(){this.setupGlobalHandlers(),!this.open&&this.shouldRestoreFocusOnClose&&(this.shouldRestoreFocusOnClose=!1,setTimeout(this.focusTrigger,0))}componentWillLoad(){this.setupGlobalHandlers()}componentDidRender(){this.triggerSlot&&this.triggerSlot.assignedElements().forEach(this.setTriggerAttributes)}setupGlobalHandlers(){this.open?(document.addEventListener("click",this.globalClickListener,{capture:!0}),document.addEventListener("keydown",this.handleGlobalKeyPress)):(document.removeEventListener("click",this.globalClickListener),document.removeEventListener("keydown",this.handleGlobalKeyPress))}render(){const e=this.getCssProperties(),o=getComputedStyle(this.host).getPropertyValue("--popover-z-index");return t("div",{key:"7bc94b0e636ab16a04e76947731eb815f9a33e38",class:"trigger-anchor"},t("slot",{key:"e35b20eb6e38755cd50f71ada0413efcc79ce9e0",name:"trigger",ref:this.setTriggerRef}),t("limel-portal",{key:"397107a1f1fa9f796f0801da60df81084a0862ea",visible:this.open,containerId:this.portalId,containerStyle:{"z-index":o},openDirection:this.openDirection},t("limel-popover-surface",{key:"f63f011a8d529a68b535fcbed4685a5bb508dded",contentCollection:this.host.children,style:e})))}globalClickListener(e){const o=p(this.host,e.target);this.open&&!o&&(e.stopPropagation(),e.preventDefault(),this.close.emit())}getCssProperties(){const e=["--popover-surface-width","--popover-body-background-color","--popover-border-radius","--popover-box-shadow"],o=getComputedStyle(this.host),t=e.map((e=>o.getPropertyValue(e)));return n(e,t)}get host(){return r(this)}static get watchers(){return{open:[{watchOpen:0}]}}};c.style=".trigger-anchor{display:inline-block;position:relative}";const l=class{constructor(o){e(this,o)}componentDidLoad(){this.appendElement()}render(){return t("div",{key:"2ade664e817c3559b6721f0567736c8942afd2f1",class:"limel-popover-surface",tabindex:"0"})}appendElement(){const e=this.host.shadowRoot.querySelector(".limel-popover-surface"),o=[...this.contentCollection];for(const t of o)"trigger"!==t.slot&&e.append(t)}get host(){return r(this)}};l.style='@charset "UTF-8";:host(limel-popover-surface){isolation:isolate;position:relative;display:flex;width:var(--popover-surface-width, auto);max-height:inherit;max-width:calc(100vw - 2rem);margin:0 0.25rem}.limel-popover-surface{flex:1;min-width:0;min-height:0;border-radius:var(--popover-border-radius, 0.75rem);box-shadow:var(--popover-box-shadow, var(--shadow-depth-16));backdrop-filter:blur(0.3125rem);-webkit-backdrop-filter:blur(0.3125rem)}.limel-popover-surface:after{transition:opacity 0.4s ease;pointer-events:none;content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;opacity:0.95;border-radius:var(--popover-border-radius, 0.75rem);background-color:var(--popover-body-background-color, var(--lime-elevated-surface-background-color))}.limel-popover-surface:focus{outline:none}.limel-popover-surface:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}.limel-popover-surface:focus:after,.limel-popover-surface:focus-within:after{opacity:1}.limel-popover-surface>*{box-sizing:border-box}';export{c as limel_popover,l as limel_popover_surface}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{M as n,S as r,g as t,k as u,b as i}from"./p-DNIqLXTL.js";import{S as o,i as f}from"./p-BJQylLSL.js";import{i as e}from"./p-B8VKuhvH.js";import{i as a}from"./p-BOEi1C7r.js";import{a as c,b as s}from"./p-D_uMnX5g.js";import{i as v}from"./p-CK4jS9_E.js";function l(n,r){for(var t=-1,u=null==n?0:n.length,i=Array(u);++t<u;)i[t]=r(n[t],t,n);return i}var p=o?o.prototype:void 0,d=p?p.toString:void 0;function m(n){if("string"==typeof n)return n;if(e(n))return l(n,m)+"";if(a(n))return d?d.call(n):"";var r=n+"";return"0"==r&&1/n==-1/0?"-0":r}var b=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function y(n,r){if(e(n))return!1;var t=typeof n;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=n&&!a(n))||j.test(n)||!b.test(n)||null!=r&&n in Object(r)}function g(r,t){if("function"!=typeof r||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var u=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=u.cache;if(o.has(i))return o.get(i);var f=r.apply(this,n);return u.cache=o.set(i,f)||o,f};return u.cache=new(g.Cache||n),u}g.Cache=n;var h,w,O,E=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,L=/\\(\\)?/g,S=(h=function(n){var r=[];return 46===n.charCodeAt(0)&&r.push(""),n.replace(E,(function(n,t,u,i){r.push(u?i.replace(L,"$1"):t||n)})),r},w=g(h,(function(n){return 500===O.size&&O.clear(),n})),O=w.cache,w);function B(n){return null==n?"":m(n)}function $(n,r){return e(n)?n:y(n,r)?[n]:S(B(n))}function k(n){if("string"==typeof n||a(n))return n;var r=n+"";return"0"==r&&1/n==-1/0?"-0":r}function x(n,r){for(var t=0,u=(r=$(r,n)).length;null!=n&&t<u;)n=n[k(r[t++])];return t&&t==u?n:void 0}function C(n,r,t){var u=null==n?void 0:x(n,r);return void 0===u?t:u}function D(n){return n==n&&!f(n)}function K(n,r){return function(t){return null!=t&&t[n]===r&&(void 0!==r||n in Object(t))}}function M(n,r){return null!=n&&r in Object(n)}function T(n,r,t){for(var u=-1,o=(r=$(r,n)).length,f=!1;++u<o;){var a=k(r[u]);if(!(f=null!=n&&t(n,a)))break;n=n[a]}return f||++u!=o?f:!!(o=null==n?0:n.length)&&c(o)&&s(a,o)&&(e(n)||i(n))}function X(n,r){return null!=n&&T(n,r,M)}function _(n){return"function"==typeof n?n:null==n?v:"object"==typeof n?e(n)?(a=n[1],y(f=n[0])&&D(a)?K(k(f),a):function(n){var r=C(n,f);return void 0===r&&r===a?X(n,f):t(a,r,3)}):(o=function(n){for(var r=u(n),t=r.length;t--;){var i=r[t],o=n[i];r[t]=[i,o,D(o)]}return r}(i=n),1==o.length&&o[0][2]?K(o[0][0],o[0][1]):function(n){return n===i||function(n,u,i){var o=i.length,f=o;if(null==n)return!f;for(n=Object(n);o--;){var e=i[o];if(e[2]?e[1]!==n[e[0]]:!(e[0]in n))return!1}for(;++o<f;){var a=(e=i[o])[0],c=n[a],s=e[1];if(e[2]){if(void 0===c&&!(a in n))return!1}else{var v=new r;if(!t(s,c,3,void 0,v))return!1}}return!0}(n,0,o)}):function(n){return y(n)?(r=k(n),function(n){return null==n?void 0:n[r]}):function(n){return function(r){return x(r,n)}}(n);var r}(n);var i,o,f,a}export{l as a,x as b,_ as c,$ as d,k as e,T as f,C as g,X as h,S as s,B as t}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r,r as t,t as a,u as n,q as o,m as s,v as u}from"./p-DNIqLXTL.js";import{i}from"./p-BJQylLSL.js";import{i as f}from"./p-D_uMnX5g.js";var c=Object.prototype.hasOwnProperty;function e(a){return f(a)?t(a,!0):function(t){if(!i(t))return function(r){var t=[];if(null!=r)for(var a in Object(r))t.push(a);return t}(t);var a=r(t),n=[];for(var o in t)("constructor"!=o||!a&&c.call(t,o))&&n.push(o);return n}(a)}var j=a(Object.getPrototypeOf,Object),v=Object.getOwnPropertySymbols?function(r){for(var t=[];r;)o(t,s(r)),r=j(r);return t}:n;function m(r){return u(r,e,v)}export{m as a,v as b,j as g,e as k}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as r}from"./p-D6dCQvwl.js";import{e as t}from"./p-DtS35Df5.js";import{i,b as o}from"./p-D_uMnX5g.js";import{i as s}from"./p-BJQylLSL.js";var n=1/0;function p(t){return t?(t=r(t))===n||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function a(r,n,p){if(!s(p))return!1;var a=typeof n;return!!("number"==a?i(p)&&o(n,p.length):"string"==a&&n in p)&&t(p[n],r)}export{a as i,p as t}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{k as r}from"./p-DNIqLXTL.js";import{i as n}from"./p-D_uMnX5g.js";var t=function(r,n,t){for(var a=-1,f=Object(r),o=t(r),u=o.length;u--;){var e=o[++a];if(!1===n(f[e],e,f))break}return r};function a(n,a){return n&&t(n,a,r)}var f,o=(f=a,function(r,t){if(null==r)return r;if(!n(r))return f(r,t);for(var a=r.length,o=-1,u=Object(r);++o<a&&!1!==t(u[o],o,u););return r});export{o as a,t as b,a as c}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as r,q as n,c as t,d as u}from"./p-DNIqLXTL.js";import{S as i}from"./p-BJQylLSL.js";import{i as o}from"./p-B8VKuhvH.js";import{i as a}from"./p-CK4jS9_E.js";import{d as e}from"./p-f_1nwOC8.js";import{i as f}from"./p-D_uMnX5g.js";import{i as s}from"./p-oiMYqRQ0.js";var c,v,m,p=Date.now,l=e?function(r,n){return e(r,"toString",{configurable:!0,enumerable:!1,value:(t=n,function(){return t}),writable:!0});var t}:a,d=(c=l,v=0,m=0,function(){var r=p(),n=16-(r-m);if(m=r,n>0){if(++v>=800)return arguments[0]}else v=0;return c.apply(void 0,arguments)});function j(r){return r!=r}function b(r,n,t){return n==n?function(r,n,t){for(var u=t-1,i=r.length;++u<i;)if(r[u]===n)return u;return-1}(r,n,t):function(r,n,t){for(var u=r.length,i=t+-1;++i<u;)if(n(r[i],i,r))return i;return-1}(r,j,t)}function h(r,n){return!(null==r||!r.length)&&b(r,n,0)>-1}var w=Math.max;function L(r,n,t){return n=w(void 0===n?r.length-1:n,0),function(){for(var u=arguments,i=-1,o=w(u.length-n,0),a=Array(o);++i<o;)a[i]=u[n+i];i=-1;for(var e=Array(n+1);++i<n;)e[i]=u[i];return e[n]=t(a),function(r,n,t){switch(t.length){case 0:return r.call(n);case 1:return r.call(n,t[0]);case 2:return r.call(n,t[0],t[1]);case 3:return r.call(n,t[0],t[1],t[2])}return r.apply(n,t)}(r,this,e)}}function S(r,n){return d(L(r,n,a),r+"")}var g=i?i.isConcatSpreadable:void 0;function q(n){return o(n)||r(n)||!!(g&&n&&n[g])}function y(r,t,u,i,o){var a=-1,e=r.length;for(u||(u=q),o||(o=[]);++a<e;){var f=r[a];t>0&&u(f)?t>1?y(f,t-1,u,i,o):n(o,f):i||(o[o.length]=f)}return o}function D(r){return s(r)&&f(r)}var M=S((function(r,n){return D(r)?function(r,n){var i=-1,o=h,a=!0,e=r.length,f=[],s=n.length;if(!e)return f;n.length>=200&&(o=u,a=!1,n=new t(n));r:for(;++i<e;){var c=r[i],v=c;if(c=0!==c?c:0,a&&v==v){for(var m=s;m--;)if(n[m]===v)continue r;f.push(c)}else o(n,v,undefined)||f.push(c)}return f}(r,y(n,1,D,!0)):[]}));export{y as a,S as b,b as c,h as d,M as e,D as i,L as o,d as s}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{f as r,d as t,e as n,b as o,a,c as u}from"./p-BTHqaZIi.js";import{a as i}from"./p-v6b303K5.js";import{b as s}from"./p-D_uMnX5g.js";import{i as e}from"./p-BJQylLSL.js";import{a as f}from"./p-Bj622DVt.js";var c=Object.prototype.hasOwnProperty;function p(r,t){return null!=r&&c.call(r,t)}function v(t,n){return null!=t&&r(t,n,p)}function m(r){if("function"!=typeof r)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!r.call(this);case 1:return!r.call(this,t[0]);case 2:return!r.call(this,t[0],t[1]);case 3:return!r.call(this,t[0],t[1],t[2])}return!r.apply(this,t)}}function l(r,o,a,u){if(!e(r))return r;for(var f=-1,c=(o=t(o,r)).length,p=c-1,v=r;null!=v&&++f<c;){var m=n(o[f]),l=a;if("__proto__"===m||"constructor"===m||"prototype"===m)return r;if(f!=p){var h=v[m];void 0===(l=u?u(h,m,v):void 0)&&(l=e(h)?h:s(o[f+1])?[]:{})}i(v,m,l),v=v[m]}return r}function h(r,n,a){for(var u=-1,i=n.length,s={};++u<i;){var e=n[u],f=o(r,e);a(f,e)&&l(s,t(e,r),f)}return s}function j(r,t){if(null==r)return{};var n=a(f(r),(function(r){return[r]}));return t=u(t),h(r,n,(function(r,n){return t(r,n[0])}))}export{l as a,h as b,v as h,m as n,j as p}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as r}from"./p-DtS35Df5.js";import{g as t,t as n}from"./p-efBXH4mj.js";import{r as e,b as i,f as o,S as u}from"./p-BJQylLSL.js";import{i as a}from"./p-B8VKuhvH.js";import{i as s}from"./p-oiMYqRQ0.js";import{a as f,b as c,i as v}from"./p-D_uMnX5g.js";var h=t(e,"WeakMap"),b=Object.prototype;function j(r){var t=r&&r.constructor;return r===("function"==typeof t&&t.prototype||b)}function l(r,t){for(var n=-1,e=Array(r);++n<r;)e[n]=t(n);return e}function p(r){return s(r)&&"[object Arguments]"==i(r)}var d=Object.prototype,m=d.hasOwnProperty,_=d.propertyIsEnumerable,w=p(function(){return arguments}())?p:function(r){return s(r)&&m.call(r,"callee")&&!_.call(r,"callee")},y="object"==typeof exports&&exports&&!exports.nodeType&&exports,O=y&&"object"==typeof module&&module&&!module.nodeType&&module,g=O&&O.exports===y?e.Buffer:void 0,x=(g?g.isBuffer:void 0)||function(){return!1},S={};function A(r){return function(t){return r(t)}}S["[object Float32Array]"]=S["[object Float64Array]"]=S["[object Int8Array]"]=S["[object Int16Array]"]=S["[object Int32Array]"]=S["[object Uint8Array]"]=S["[object Uint8ClampedArray]"]=S["[object Uint16Array]"]=S["[object Uint32Array]"]=!0,S["[object Arguments]"]=S["[object Array]"]=S["[object ArrayBuffer]"]=S["[object Boolean]"]=S["[object DataView]"]=S["[object Date]"]=S["[object Error]"]=S["[object Function]"]=S["[object Map]"]=S["[object Number]"]=S["[object Object]"]=S["[object RegExp]"]=S["[object Set]"]=S["[object String]"]=S["[object WeakMap]"]=!1;var M="object"==typeof exports&&exports&&!exports.nodeType&&exports,k=M&&"object"==typeof module&&module&&!module.nodeType&&module,D=k&&k.exports===M&&o.process,B=function(){try{return k&&k.require&&k.require("util").types||D&&D.binding&&D.binding("util")}catch(r){}}(),V=B&&B.isTypedArray,L=V?A(V):function(r){return s(r)&&f(r.length)&&!!S[i(r)]},q=Object.prototype.hasOwnProperty;function E(r,t){var n=a(r),e=!n&&w(r),i=!n&&!e&&x(r),o=!n&&!e&&!i&&L(r),u=n||e||i||o,s=u?l(r.length,String):[],f=s.length;for(var v in r)!t&&!q.call(r,v)||u&&("length"==v||i&&("offset"==v||"parent"==v)||o&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,f))||s.push(v);return s}function H(r,t){return function(n){return r(t(n))}}var P=H(Object.keys,Object),Q=Object.prototype.hasOwnProperty;function R(r){if(!j(r))return P(r);var t=[];for(var n in Object(r))Q.call(r,n)&&"constructor"!=n&&t.push(n);return t}function W(r){return v(r)?E(r):R(r)}var X=t(Object,"create"),J=Object.prototype.hasOwnProperty,K=Object.prototype.hasOwnProperty;function N(r){var t=-1,n=null==r?0:r.length;for(this.clear();++t<n;){var e=r[t];this.set(e[0],e[1])}}function U(t,n){for(var e=t.length;e--;)if(r(t[e][0],n))return e;return-1}N.prototype.clear=function(){this.__data__=X?X(null):{},this.size=0},N.prototype.delete=function(r){var t=this.has(r)&&delete this.__data__[r];return this.size-=t?1:0,t},N.prototype.get=function(r){var t=this.__data__;if(X){var n=t[r];return"__lodash_hash_undefined__"===n?void 0:n}return J.call(t,r)?t[r]:void 0},N.prototype.has=function(r){var t=this.__data__;return X?void 0!==t[r]:K.call(t,r)},N.prototype.set=function(r,t){var n=this.__data__;return this.size+=this.has(r)?0:1,n[r]=X&&void 0===t?"__lodash_hash_undefined__":t,this};var Y=Array.prototype.splice;function z(r){var t=-1,n=null==r?0:r.length;for(this.clear();++t<n;){var e=r[t];this.set(e[0],e[1])}}z.prototype.clear=function(){this.__data__=[],this.size=0},z.prototype.delete=function(r){var t=this.__data__,n=U(t,r);return!(n<0||(n==t.length-1?t.pop():Y.call(t,n,1),--this.size,0))},z.prototype.get=function(r){var t=this.__data__,n=U(t,r);return n<0?void 0:t[n][1]},z.prototype.has=function(r){return U(this.__data__,r)>-1},z.prototype.set=function(r,t){var n=this.__data__,e=U(n,r);return e<0?(++this.size,n.push([r,t])):n[e][1]=t,this};var C=t(e,"Map");function F(r,t){var n,e,i=r.__data__;return("string"==(e=typeof(n=t))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function G(r){var t=-1,n=null==r?0:r.length;for(this.clear();++t<n;){var e=r[t];this.set(e[0],e[1])}}function I(r,t){for(var n=-1,e=t.length,i=r.length;++n<e;)r[i+n]=t[n];return r}function T(r){var t=this.__data__=new z(r);this.size=t.size}function Z(){return[]}G.prototype.clear=function(){this.size=0,this.__data__={hash:new N,map:new(C||z),string:new N}},G.prototype.delete=function(r){var t=F(this,r).delete(r);return this.size-=t?1:0,t},G.prototype.get=function(r){return F(this,r).get(r)},G.prototype.has=function(r){return F(this,r).has(r)},G.prototype.set=function(r,t){var n=F(this,r),e=n.size;return n.set(r,t),this.size+=n.size==e?0:1,this},T.prototype.clear=function(){this.__data__=new z,this.size=0},T.prototype.delete=function(r){var t=this.__data__,n=t.delete(r);return this.size=t.size,n},T.prototype.get=function(r){return this.__data__.get(r)},T.prototype.has=function(r){return this.__data__.has(r)},T.prototype.set=function(r,t){var n=this.__data__;if(n instanceof z){var e=n.__data__;if(!C||e.length<199)return e.push([r,t]),this.size=++n.size,this;n=this.__data__=new G(e)}return n.set(r,t),this.size=n.size,this};var $=Object.prototype.propertyIsEnumerable,rr=Object.getOwnPropertySymbols,tr=rr?function(r){return null==r?[]:(r=Object(r),function(t){for(var n=-1,e=null==t?0:t.length,i=0,o=[];++n<e;){var u=t[n];$.call(r,u)&&(o[i++]=u)}return o}(rr(r)))}:Z;function nr(r,t,n){var e=t(r);return a(r)?e:I(e,n(r))}function er(r){return nr(r,W,tr)}var ir=t(e,"DataView"),or=t(e,"Promise"),ur=t(e,"Set"),ar="[object Map]",sr="[object Promise]",fr="[object Set]",cr="[object WeakMap]",vr="[object DataView]",hr=n(ir),br=n(C),jr=n(or),lr=n(ur),pr=n(h),dr=i;(ir&&dr(new ir(new ArrayBuffer(1)))!=vr||C&&dr(new C)!=ar||or&&dr(or.resolve())!=sr||ur&&dr(new ur)!=fr||h&&dr(new h)!=cr)&&(dr=function(r){var t=i(r),e="[object Object]"==t?r.constructor:void 0,o=e?n(e):"";if(o)switch(o){case hr:return vr;case br:return ar;case jr:return sr;case lr:return fr;case pr:return cr}return t});var mr=e.Uint8Array;function _r(r){var t=-1,n=null==r?0:r.length;for(this.__data__=new G;++t<n;)this.add(r[t])}function wr(r,t){for(var n=-1,e=null==r?0:r.length;++n<e;)if(t(r[n],n,r))return!0;return!1}function yr(r,t){return r.has(t)}function Or(r,t,n,e,i,o){var u=1&n,a=r.length,s=t.length;if(a!=s&&!(u&&s>a))return!1;var f=o.get(r),c=o.get(t);if(f&&c)return f==t&&c==r;var v=-1,h=!0,b=2&n?new _r:void 0;for(o.set(r,t),o.set(t,r);++v<a;){var j=r[v],l=t[v];if(e)var p=u?e(l,j,v,t,r,o):e(j,l,v,r,t,o);if(void 0!==p){if(p)continue;h=!1;break}if(b){if(!wr(t,(function(r,t){if(!yr(b,t)&&(j===r||i(j,r,n,e,o)))return b.push(t)}))){h=!1;break}}else if(j!==l&&!i(j,l,n,e,o)){h=!1;break}}return o.delete(r),o.delete(t),h}function gr(r){var t=-1,n=Array(r.size);return r.forEach((function(r,e){n[++t]=[e,r]})),n}function xr(r){var t=-1,n=Array(r.size);return r.forEach((function(r){n[++t]=r})),n}_r.prototype.add=_r.prototype.push=function(r){return this.__data__.set(r,"__lodash_hash_undefined__"),this},_r.prototype.has=function(r){return this.__data__.has(r)};var Sr=u?u.prototype:void 0,Ar=Sr?Sr.valueOf:void 0,Mr=Object.prototype.hasOwnProperty,kr="[object Arguments]",Dr="[object Array]",Br="[object Object]",Vr=Object.prototype.hasOwnProperty;function Lr(t,n,e,i,o){return t===n||(null==t||null==n||!s(t)&&!s(n)?t!=t&&n!=n:function(t,n,e,i,o,u){var s=a(t),f=a(n),c=s?Dr:dr(t),v=f?Dr:dr(n),h=(c=c==kr?Br:c)==Br,b=(v=v==kr?Br:v)==Br,j=c==v;if(j&&x(t)){if(!x(n))return!1;s=!0,h=!1}if(j&&!h)return u||(u=new T),s||L(t)?Or(t,n,e,i,o,u):function(t,n,e,i,o,u,a){switch(e){case"[object DataView]":if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=n.byteLength||!u(new mr(t),new mr(n)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+n);case"[object Error]":return t.name==n.name&&t.message==n.message;case"[object RegExp]":case"[object String]":return t==n+"";case"[object Map]":var s=gr;case"[object Set]":if(s||(s=xr),t.size!=n.size&&!(1&i))return!1;var f=a.get(t);if(f)return f==n;i|=2,a.set(t,n);var c=Or(s(t),s(n),i,o,u,a);return a.delete(t),c;case"[object Symbol]":if(Ar)return Ar.call(t)==Ar.call(n)}return!1}(t,n,c,e,i,o,u);if(!(1&e)){var l=h&&Vr.call(t,"__wrapped__"),p=b&&Vr.call(n,"__wrapped__");if(l||p){var d=l?t.value():t,m=p?n.value():n;return u||(u=new T),o(d,m,e,i,u)}}return!!j&&(u||(u=new T),function(r,t,n,e,i,o){var u=1&n,a=er(r),s=a.length;if(s!=er(t).length&&!u)return!1;for(var f=s;f--;){var c=a[f];if(!(u?c in t:Mr.call(t,c)))return!1}var v=o.get(r),h=o.get(t);if(v&&h)return v==t&&h==r;var b=!0;o.set(r,t),o.set(t,r);for(var j=u;++f<s;){var l=r[c=a[f]],p=t[c];if(e)var d=u?e(p,l,c,t,r,o):e(l,p,c,r,t,o);if(!(void 0===d?l===p||i(l,p,n,e,o):d)){b=!1;break}j||(j="constructor"==c)}if(b&&!j){var m=r.constructor,_=t.constructor;m==_||!("constructor"in r)||!("constructor"in t)||"function"==typeof m&&m instanceof m&&"function"==typeof _&&_ instanceof _||(b=!1)}return o.delete(r),o.delete(t),b}(t,n,e,i,o,u))}(t,n,e,i,Lr,o))}export{G as M,T as S,mr as U,L as a,w as b,_r as c,yr as d,l as e,ur as f,Lr as g,dr as h,x as i,j,W as k,R as l,tr as m,A as n,B as o,er as p,I as q,E as r,xr as s,H as t,Z as u,nr as v}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as n}from"./p-DtS35Df5.js";var r=/^(?:0|[1-9]\d*)$/;function t(n,t){var u=typeof n;return!!(t=null==t?9007199254740991:t)&&("number"==u||"symbol"!=u&&r.test(n))&&n>-1&&n%1==0&&n<t}function u(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=9007199254740991}function o(r){return null!=r&&u(r.length)&&!n(r)}export{u as a,t as b,o as i}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{k as r,m as e,U as t,j as n,h as o,n as a,o as c,i as u,S as i,p as s}from"./p-DNIqLXTL.js";import{b as f,a as j}from"./p-v6b303K5.js";import{k as b,b as v,g as p,a as m}from"./p-Bj622DVt.js";import{i as y,r as d,S as w}from"./p-BJQylLSL.js";import{i as l}from"./p-B8VKuhvH.js";import{i as A}from"./p-oiMYqRQ0.js";var x=Object.create,S=function(){function r(){}return function(e){if(!y(e))return{};if(x)return x(e);r.prototype=e;var t=new r;return r.prototype=void 0,t}}();function g(r,e){var t=-1,n=r.length;for(e||(e=Array(n));++t<n;)e[t]=r[t];return e}function B(r,e){for(var t=-1,n=null==r?0:r.length;++t<n&&!1!==e(r[t],t,r););return r}function U(r,e,t){var n=!t;t||(t={});for(var o=-1,a=e.length;++o<a;){var c=e[o],u=void 0;void 0===u&&(u=r[c]),n?f(t,c,u):j(t,c,u)}return t}var h="object"==typeof exports&&exports&&!exports.nodeType&&exports,D=h&&"object"==typeof module&&module&&!module.nodeType&&module,F=D&&D.exports===h?d.Buffer:void 0,I=F?F.allocUnsafe:void 0;function L(r,e){if(e)return r.slice();var t=r.length,n=I?I(t):new r.constructor(t);return r.copy(n),n}var O=Object.prototype.hasOwnProperty;function M(r){var e=new r.constructor(r.byteLength);return new t(e).set(new t(r)),e}var V=/\w*$/,k=w?w.prototype:void 0,q=k?k.valueOf:void 0;function K(r,e){var t=e?M(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.length)}function N(r){return"function"!=typeof r.constructor||n(r)?{}:S(p(r))}var Q=c&&c.isMap,R=Q?a(Q):function(r){return A(r)&&"[object Map]"==o(r)},C=c&&c.isSet,E=C?a(C):function(r){return A(r)&&"[object Set]"==o(r)},G="[object Arguments]",H="[object Function]",J="[object Object]",T={};function X(t,n,a,c,f,p){var d,w=1&n,A=2&n,x=4&n;if(a&&(d=f?a(t,c,f,p):a(t)),void 0!==d)return d;if(!y(t))return t;var S=l(t);if(S){if(d=function(r){var e=r.length,t=new r.constructor(e);return e&&"string"==typeof r[0]&&O.call(r,"index")&&(t.index=r.index,t.input=r.input),t}(t),!w)return g(t,d)}else{var h=o(t),D=h==H||"[object GeneratorFunction]"==h;if(u(t))return L(t,w);if(h==J||h==G||D&&!f){if(d=A||D?{}:N(t),!w)return A?function(r,e){return U(r,v(r),e)}(t,function(r,e){return r&&U(e,b(e),r)}(d,t)):function(r,t){return U(r,e(r),t)}(t,function(e,t){return e&&U(t,r(t),e)}(d,t))}else{if(!T[h])return f?t:{};d=function(r,e,t){var n,o,a=r.constructor;switch(e){case"[object ArrayBuffer]":return M(r);case"[object Boolean]":case"[object Date]":return new a(+r);case"[object DataView]":return function(r,e){var t=e?M(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.byteLength)}(r,t);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return K(r,t);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(r);case"[object RegExp]":return(o=new(n=r).constructor(n.source,V.exec(n))).lastIndex=n.lastIndex,o;case"[object Symbol]":return q?Object(q.call(r)):{}}}(t,h,w)}}p||(p=new i);var F=p.get(t);if(F)return F;p.set(t,d),E(t)?t.forEach((function(r){d.add(X(r,n,a,r,t,p))})):R(t)&&t.forEach((function(r,e){d.set(e,X(r,n,a,e,t,p))}));var I=S?void 0:(x?A?m:s:A?b:r)(t);return B(I||t,(function(r,e){I&&(r=t[e=r]),j(d,e,X(r,n,a,e,t,p))})),d}function Y(r){return X(r,5)}T[G]=T["[object Array]"]=T["[object ArrayBuffer]"]=T["[object DataView]"]=T["[object Boolean]"]=T["[object Date]"]=T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Map]"]=T["[object Number]"]=T[J]=T["[object RegExp]"]=T["[object Set]"]=T["[object String]"]=T["[object Symbol]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T["[object Error]"]=T[H]=T["[object WeakMap]"]=!1;export{g as a,L as b,U as c,K as d,B as e,X as f,S as g,Y as h,N as i}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as r,b as o,g as a}from"./p-CgNJbSP4.js";const e="rgba(var(--color-gray-lighter), 0.4)",l="rgba(var(--color-cyan-lighter), 0.4)",t="rgba(var(--color-gray-lighter), 0.4)",g="rgba(var(--color-blue-lighter), 0.4)",p="rgba(var(--color-yellow-lighter), 0.4)",c="rgba(var(--color-green-lighter), 0.4)",s="rgba(var(--color-coral-lighter), 0.4)",d="rgba(var(--color-sky-lighter), 0.4)",i="rgba(var(--color-lime-lighter), 0.4)",m="rgba(var(--color-magenta-lighter), 0.4)",n="rgba(var(--color-blue-lighter), 0.4)",v="rgba(var(--color-orange-lighter), 0.4)",b="rgba(var(--color-indigo-lighter), 0.4)",f="rgba(var(--color-red-lighter), 0.4)",h="rgba(var(--color-orange-lighter), 0.4)",x="rgba(var(--color-glaucous-lighter), 0.4)",u={msg:"rgba(var(--color-yellow-lighter), 0.4)",ics:l,ical:l,icalendar:l,ifb:l,email:t,eml:t,oft:t,ost:t,emlx:t,html:g,xml:g,txt:p,rtf:p,dot:d,doc:d,docx:d,dotx:d,docm:d,dotm:d,odt:v,pages:v,pdf:"rgba(var(--color-red-lighter), 0.4)",ppt:s,pot:s,pps:s,pptx:s,pptm:s,potx:s,potm:s,ppam:s,ppsx:s,ppsm:s,sldx:s,sldm:s,odp:n,key:n,xls:c,xlsx:c,csv:e,numbers:"rgba(var(--color-green-lighter), 0.4)",bmp:i,jpg:i,jpeg:i,heic:i,png:i,gif:i,psd:n,ai:v,svg:m,svgz:m,ep:m,eps:m,sketch:m,mp3:b,wav:b,wma:b,ogg:b,flv:f,h264:f,mov:f,mp4:f,mwv:f,zip:h,"7z":h,rar:h,json:x,yaml:x,sql:x,db:x,dbf:x},k="rgb(var(--color-gray-dark))",y="rgb(var(--color-cyan-dark))",_="rgb(var(--color-gray-dark))",w="rgb(var(--color-blue-dark))",j="rgb(var(--color-yellow-darker))",z="rgb(var(--color-green-dark))",q="rgb(var(--color-coral-dark))",P="rgb(var(--color-sky-dark))",C="rgb(var(--color-lime-dark))",D="rgb(var(--color-magenta-dark))",F="rgb(var(--color-blue-dark))",J="rgb(var(--color-orange-dark))",N="rgb(var(--color-indigo-dark))",S="rgb(var(--color-red-dark))",A="rgb(var(--color-brown-default))",B="rgb(var(--color-glaucous-dark))",E={msg:"rgb(var(--color-yellow-dark))",ics:y,ical:y,icalendar:y,ifb:y,email:_,eml:_,oft:_,ost:_,emlx:_,html:w,xml:w,txt:j,rtf:j,dot:P,doc:P,docx:P,dotx:P,docm:P,dotm:P,odt:J,pages:J,pdf:"rgb(var(--color-red-dark))",ppt:q,pot:q,pps:q,pptx:q,pptm:q,potx:q,potm:q,ppam:q,ppsx:q,ppsm:q,sldx:q,sldm:q,odp:F,key:F,xls:z,xlsx:z,csv:k,numbers:"rgb(var(--color-green-dark))",bmp:C,jpg:C,jpeg:C,heic:C,png:C,gif:C,psd:F,ai:J,svg:D,svgz:D,ep:D,eps:D,sketch:D,mp3:N,wav:N,wma:N,ogg:N,flv:S,h264:S,mov:S,mp4:S,mwv:S,zip:A,"7z":A,rar:A,json:B,yaml:B,sql:B,db:B,dbf:B},G="tear_off_calendar",H="email",I="internet",K="text_box",L="ms_excel_copyrighted",M="ms_word_copyrighted",O="ms_powerpoint_copyrighted",Q="picture",R="camera",T="vector",U="presentation_filled",V="overview_pages_2",W="data_sheet",X="audio_wave",Y="video_file",Z="condom_package",$="database",rr={msg:"ms_outlook_copyrighted",ics:G,ical:G,icalendar:G,ifb:G,email:H,eml:H,oft:H,ost:H,emlx:H,html:I,xml:I,txt:K,rtf:K,dot:M,doc:M,docx:M,dotx:M,docm:M,dotm:M,odt:V,pages:V,pdf:"PDF_2",ppt:O,pot:O,pps:O,pptx:O,pptm:O,potx:O,potm:O,ppam:O,ppsx:O,ppsm:O,sldx:O,sldm:O,odp:U,key:U,xls:L,xlsx:L,csv:W,numbers:W,jpg:R,jpeg:R,heic:R,bmp:Q,png:Q,gif:Q,psd:"adobe_photoshop_copyrighted",ai:"adobe_illustrator_copyrighted",svg:T,svgz:T,ep:T,eps:T,sketch:T,mp3:X,wav:X,wma:X,ogg:X,avi:Y,flv:Y,h264:Y,mov:Y,mp4:Y,mwv:Y,zip:Z,"7z":Z,rar:Z,json:"json",yaml:$,sql:$,db:$,dbf:$};function or(r){const o=a(r.icon);if(o)return o;const e=tr(r);return e?function(r){return rr[r.toLowerCase()]||"file"}(e):void 0}function ar(r){const a=o(r.icon,r.iconColor);if(a)return a;const e=tr(r);return e?function(r){return E[r.toLowerCase()]||k}(e):void 0}function er(o){const a=r(o.icon,o.iconBackgroundColor);if(a)return a;const l=tr(o);return l?function(r){return u[r.toLowerCase()]||e}(l):void 0}function lr(r){return a(r.icon)||tr(r)}function tr(r){if(r)return r.filename.split(".").pop()}export{ar as a,lr as b,or as c,er as g}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as n,b as t}from"./p-BJQylLSL.js";function o(o){if(!n(o))return!1;var r=t(o);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}function r(n,t){return n===t||n!=n&&t!=t}export{r as e,o as i}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as r}from"./p-DNIqLXTL.js";function o(o,t){return r(o,t)}export{o as i}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,H as o}from"./p-DBTJNfo7.js";import{i as r}from"./p-CWuGCKo1.js";import{g as s}from"./p-CgNJbSP4.js";import{t as a}from"./p-Dv3YcsA7.js";import{c as l}from"./p-JbKhhoXs.js";import{r as n}from"./p-DPcww8rE.js";import"./p-DlJXKdhK.js";const h=class{constructor(o){t(this,o),this.change=e(this,"change"),this.filesRejected=e(this,"filesRejected"),this.language="en",this.icon="user",this.disabled=!1,this.readonly=!1,this.required=!1,this.invalid=!1,this.loading=!1,this.imageFit="cover",this.accept="image/jpeg,image/png,image/heic,.jpg,.jpeg,.png,.heic",this.imageError=!1,this.isErrorMessagePopoverOpen=!1,this.removeButtonId=l(),this.browseButtonId=l(),this.renderHelperText=()=>{if(this.helperText)return i("limel-tooltip",{elementId:this.browseButtonId,label:this.helperText})},this.handleNewFiles=async t=>{var e,i;if(t.stopPropagation(),this.disabled)return;const o=null===(e=t.detail)||void 0===e?void 0:e[0];if(!o)return;if(!r(o,this.accept))return void this.filesRejected.emit([o]);this.revokeObjectUrl(),this.imageError=!1;let s=o;if(this.resize&&o.fileContent instanceof File)try{const t=await n(o.fileContent,Object.assign(Object.assign({},this.resize),{fit:null!==(i=this.resize.fit)&&void 0!==i?i:this.imageFit}));s=Object.assign(Object.assign({},o),{filename:t.name,size:t.size,contentType:t.type,fileContent:t})}catch(t){s=o}!s.href&&s.fileContent instanceof File&&(this.objectUrl=URL.createObjectURL(s.fileContent)),this.change.emit(s)},this.handleRejectedFiles=t=>{t.stopPropagation(),this.filesRejected.emit(t.detail)},this.handleClear=t=>{t.stopPropagation(),this.revokeObjectUrl(),this.imageError=!1,this.change.emit(void 0)},this.onImageError=()=>{this.imageError=!0},this.openPopover=t=>{t.stopPropagation(),this.isErrorMessagePopoverOpen=!0},this.onPopoverClose=t=>{t.stopPropagation(),this.isErrorMessagePopoverOpen=!1},this.getTranslation=t=>a.get(t,this.language)}disconnectedCallback(){this.revokeObjectUrl()}handleValueChange(){this.revokeObjectUrl(),this.imageError=!1;const t=this.value;t&&"string"!=typeof t&&!t.href&&t.fileContent instanceof File&&(this.objectUrl=URL.createObjectURL(t.fileContent))}render(){const t={"has-image-error":this.imageError};return this.readonly?i(o,{class:t},this.renderAvatar()):i(o,{class:t},i("limel-file-dropzone",{disabled:this.disabled,accept:this.accept,onFilesSelected:this.handleNewFiles,onFilesRejected:this.handleRejectedFiles},i("limel-file-input",{accept:this.accept,disabled:this.disabled,"aria-required":this.required?"true":void 0,"aria-invalid":this.invalid?"true":void 0},this.renderBrowseButton())),this.renderClearButton(),this.renderSpinner(),this.renderErrorMessage(),this.renderHelperText())}get hasValue(){return"string"==typeof this.value?!!this.value:!(!this.value||!this.value.href&&!this.value.fileContent)||!!this.objectUrl}renderBrowseButton(){return i("button",{id:this.browseButtonId,type:"button",class:"avatar",disabled:this.disabled,"aria-label":this.label,"aria-busy":this.loading?"true":"false","aria-live":"polite"},this.renderAvatar())}renderAvatar(){const t=this.getImageSrc();return t?i("img",{src:t,alt:"",style:{"--limel-profile-picture-object-fit":this.imageFit},loading:"lazy",onError:this.onImageError}):this.renderIcon()}renderIcon(){var t,e;const o=s(this.icon);return i("limel-icon",{name:o,style:{color:`${null===(t=this.icon)||void 0===t?void 0:t.color}`,"background-color":`${null===(e=this.icon)||void 0===e?void 0:e.backgroundColor}`}})}renderClearButton(){if(this.hasValue&&!this.disabled)return[i("button",{class:"remove",type:"button",id:this.removeButtonId,onClick:this.handleClear}),i("limel-tooltip",{label:this.getTranslation("profile-picture.remove"),elementId:this.removeButtonId})]}renderSpinner(){if(this.loading)return i("limel-spinner",null)}getUnsupportedPreviewContext(){const t=this.value;return{hasNoSrc:!this.getImageSrc(),hasLocalFile:!(!(t&&"string"!=typeof t&&t.fileContent instanceof File)||t.href),isResizeConfigured:!!this.resize}}shouldShowErrorMessage(){const{hasNoSrc:t,hasLocalFile:e,isResizeConfigured:i}=this.getUnsupportedPreviewContext();return(t||this.imageError)&&e&&i}renderErrorMessage(){if(this.shouldShowErrorMessage())return i("limel-popover",{open:this.isErrorMessagePopoverOpen,onClick:this.openPopover,onClose:this.onPopoverClose},i("limel-icon-button",{slot:"trigger",elevated:!0,icon:{name:"error",color:"rgb(var(--color-orange-dark))"},"aria-live":"polite",label:this.getTranslation("profile-picture.unsupported-preview.title")}),i("limel-callout",{type:"warning",style:{maxWidth:"20rem",borderRadius:"0.75rem"},heading:this.getTranslation("profile-picture.unsupported-preview.title")},this.getTranslation("profile-picture.unsupported-preview.description")))}getImageSrc(){return this.value?"string"==typeof this.value?this.value:this.value.href?this.value.href:this.value.fileContent instanceof File?this.objectUrl:void 0:this.objectUrl}revokeObjectUrl(){this.objectUrl&&(URL.revokeObjectURL(this.objectUrl),this.objectUrl=void 0)}static get watchers(){return{value:[{handleValueChange:0}]}}};h.style="@charset \"UTF-8\";:host(limel-profile-picture){position:relative;display:inline-flex;min-width:1.5rem;min-height:1.5rem;border-radius:var(--profile-picture-border-radius, 100vw);background-color:rgb(var(--contrast-400))}*{box-sizing:border-box}limel-file-dropzone,limel-file-input,button.avatar{display:flex;align-items:center;justify-content:center;width:100%;height:100%}button{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;display:block}button:focus{outline:none}button:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button.avatar{overflow:hidden;border-radius:var(--profile-picture-border-radius, 100vw)}:host(:not([disabled]):not([disabled=true])) button.avatar{transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:transparent}:host(:not([disabled]):not([disabled=true])) button.avatar:hover,:host(:not([disabled]):not([disabled=true])) button.avatar:focus,:host(:not([disabled]):not([disabled=true])) button.avatar:focus-visible{will-change:color, background-color, box-shadow, transform}:host(:not([disabled]):not([disabled=true])) button.avatar:hover,:host(:not([disabled]):not([disabled=true])) button.avatar:focus-visible{transform:translate3d(0, 0.01rem, 0);color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color)}:host(:not([disabled]):not([disabled=true])) button.avatar:hover{box-shadow:var(--button-shadow-hovered)}:host(:not([disabled]):not([disabled=true])) button.avatar:active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}:host(:not([disabled]):not([disabled=true])) button.avatar:hover,:host(:not([disabled]):not([disabled=true])) button.avatar:active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}:host([invalid]:not([invalid=false])) button.avatar{box-shadow:var(--shadow-error-state)}button.remove{transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:rgb(var(--contrast-900))}button.remove:hover,button.remove:focus,button.remove:focus-visible{will-change:color, background-color, box-shadow, transform}button.remove:hover,button.remove:focus-visible{transform:translate3d(0, 0.01rem, 0);color:rgb(var(--color-white));background-color:rgb(var(--color-red-default))}button.remove:hover{box-shadow:var(--button-shadow-hovered)}button.remove:active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}button.remove:hover,button.remove:active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}button.remove{cursor:pointer;height:1.25rem;width:1.25rem;border-radius:50%;background-repeat:no-repeat;background-position:center;background-size:0.75rem;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2032%2032'%3E%3Cdefs/%3E%3Cpath%20fill='rgb(255,255,255)'%20d='M7.219%205.781L5.78%207.22%2014.563%2016%205.78%2024.781%207.22%2026.22%2016%2017.437l8.781%208.782%201.438-1.438L17.437%2016l8.782-8.781L24.78%205.78%2016%2014.563z'/%3E%3C/svg%3E\");position:absolute;top:0;left:0;opacity:0}:host(:hover) button.remove,:host(:focus) button.remove,:host(:focus-visible) button.remove,:host(:focus-within) button.remove,:host(:active) button.remove{animation:show 0.4s ease-in-out forwards}@keyframes show{0%{transform:scale(0.9);opacity:0}100%{transform:scale(1);opacity:1}}button.avatar,img,limel-icon{border-radius:var(--profile-picture-border-radius, 100vw)}limel-icon{width:calc(100% - 1rem);min-width:1rem;max-width:4rem;color:var(--limel-theme-text-secondary-on-background-color);margin:auto}img{object-fit:var(--limel-profile-picture-object-fit);width:100%;height:100%}:host(.has-image-error) img{border:1px dashed rgb(var(--contrast-600));background:url(\"data:image/svg+xml;charset=utf-8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' style='fill-rule:evenodd;'><path fill='rgba(186,186,192,0.16)' d='M0 0h4v4H0zM4 4h4v4H4z'/></svg>\");background-size:0.5rem}limel-spinner{position:absolute;inset:0;margin:auto}limel-popover{position:absolute;inset:auto 0 0 auto;display:block;width:2.25rem;height:2.25rem}";export{h as limel_profile_picture}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t,h as a,H as r}from"./p-DBTJNfo7.js";import{t as i}from"./p-Dv3YcsA7.js";import{a as o}from"./p-Dgcw_h7C.js";function l(e){const t=e.trim().toLowerCase();return t.startsWith("https://")||t.startsWith("http://")}function n(e,t,a){return!!t.escapeNext&&(a(e),t.escapeNext=!1,!0)}function s(e,t,a){return!(!t.inQuotes||"\\"!==e||(a(e),t.escapeNext=!0,0))}function d(e,t,a){return'"'===e&&0===t.angleDepth&&(a(e),t.inQuotes=!t.inQuotes,!0)}function m(e,t,a){return!t.inQuotes&&("<"===e?(a(e),t.angleDepth+=1,!0):">"===e&&0!==t.angleDepth&&(a(e),t.angleDepth-=1,!0))}function c(e,t){return","===e&&!t.inQuotes&&0===t.angleDepth}function h(e,t=1){if(null==e||Number.isNaN(e))return"";if(e<0)return"";if(0===e)return"0 B";const a=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],r=Math.max(0,Math.min(a.length-1,Math.floor(Math.log(e)/Math.log(1024)))),i=e/Math.pow(1024,r),o=Number.isFinite(t)?Math.trunc(t):0,l=i<10?Math.min(100,Math.max(0,o)):0;return`${Number.parseFloat(i.toFixed(l))} ${a[r]}`}const u=class{constructor(r){e(this,r),this.allowRemoteImagesChange=t(this,"allowRemoteImagesChange"),this.language="en",this.allowRemoteImagesState=!1,this.renderAttachment=(e,t)=>{var r,i;const o=(null===(r=e.filename)||void 0===r?void 0:r.trim())||this.getTranslation("file-viewer.email.attachment.unnamed"),l=(null===(i=e.mimeType)||void 0===i?void 0:i.trim())||"";return a("li",{key:`attachment-${t}`},a("span",{class:"attachment-filename"},o),a("span",{class:"attachment-mime-type"}," ",l),this.renderSizeBadge(e.size))},this.renderSizeBadge=e=>{if("number"==typeof e)return a("limel-badge",{class:"attachment-size",label:h(e)})},this.onEnableRemoteImagesClick=e=>{var t;null===(t=null==e?void 0:e.stopPropagation)||void 0===t||t.call(e),this.enableRemoteImages()},this.enableRemoteImages=()=>{void 0===this.allowRemoteImages?this.allowRemoteImagesState=!0:this.allowRemoteImagesChange.emit(!0)}}resetAllowRemoteImages(e,t){e?e.from!==(null==t?void 0:t.from)&&(this.allowRemoteImagesState=!1):this.allowRemoteImagesState=!1}componentDidRender(){var e;(null===(e=this.bodyElement)||void 0===e?void 0:e.isConnected)&&o(this.bodyElement)}render(){return a(r,{key:"25592be91649a98427363488998f461470346f06"},a("div",{key:"e07d2c18bc5ebd7ff922afa4c8becb1f987bb0da",class:"email",part:"email"},this.renderHeaders(),this.renderRemoteImageBanner(),a("section",{key:"aa174224531cbcc77f1b29b0c828d7dc8fab5d7c"},this.renderAttachments(),this.renderBody())))}renderHeaders(){return a("div",{class:"email-headers",part:"email-headers"},["subject","from","to","cc","date"].map((e=>{var t;return this.renderEmailHeader(e,this.getTranslation(`file-viewer.email.${e}`),null===(t=this.email)||void 0===t?void 0:t[e])})))}renderBody(){return this.renderBodyHtml()||this.renderBodyText()||this.renderFallbackUrl()||a("slot",{name:"fallback"})}renderBodyHtml(){var e;const t=null===(e=this.email)||void 0===e?void 0:e.bodyHtml;if(!t)return;const r=function(e,t){if(!t)return e;const a=(new DOMParser).parseFromString(e,"text/html"),r=a.querySelectorAll("img[data-remote-src]");for(const e of r){const t=e.dataset.remoteSrc;t&&l(t)?(e.setAttribute("src",t),delete e.dataset.remoteSrc):delete e.dataset.remoteSrc}return`${[...a.head.querySelectorAll("style")].map((e=>e.outerHTML)).join("")}${a.body.innerHTML}`}(t,this.getAllowRemoteImages());return a("div",{class:"body",innerHTML:r,part:"email-body",ref:e=>this.bodyElement=e})}renderBodyText(){var e;const t=null===(e=this.email)||void 0===e?void 0:e.bodyText;if(t)return a("pre",{class:"body plain-text",part:"email-body"},t)}renderFallbackUrl(){if(this.fallbackUrl)return a("object",{data:this.fallbackUrl,type:"text/plain"},a("slot",{name:"fallback"}))}renderEmailHeader(e,t,r){if(!r)return;const i=this.getHeaderValues(e,r);return a("dl",{class:`headers ${e}`},a("dt",null,t),i.map(((t,r)=>a("dd",{key:`${e}-${r}`},t))))}getHeaderValues(e,t){return"to"===e||"cc"===e?function(e){const t=[];let a="";const r={inQuotes:!1,escapeNext:!1,angleDepth:0},i=e=>{a+=e},o=()=>{const e=a.trim();e&&t.push(e),a=""};for(const t of e)n(t,r,i)||s(t,r,i)||d(t,r,i)||m(t,r,i)||(c(t,r)?o():i(t));return o(),t}(t):[t]}renderAttachments(){var e;const t=null===(e=this.email)||void 0===e?void 0:e.attachments;if(!(null==t?void 0:t.length))return;const r=this.getTranslation("file-viewer.email.attachments");return a("div",{class:"attachments"},a("span",null,r),a("ul",null,t.map(((e,t)=>this.renderAttachment(e,t)))))}getTranslation(e){return i.get(e,this.language)}shouldShowRemoteImagesBanner(){var e;const t=null===(e=this.email)||void 0===e?void 0:e.bodyHtml;return!(!t||this.getAllowRemoteImages())&&(a=t,null!==(new DOMParser).parseFromString(a,"text/html").querySelector("img[data-remote-src]"));var a}renderRemoteImageBanner(){if(!this.shouldShowRemoteImagesBanner())return;const e=this.getTranslation("file-viewer.email.remote-images.warning"),t=this.getTranslation("file-viewer.email.remote-images.warning.description"),r=this.getTranslation("file-viewer.email.remote-images.load");return a("limel-collapsible-section",{header:e,icon:{name:"warning_shield",color:"rgb(var(--color-orange-default))"},language:this.language},a("button",{type:"button",class:"load-images",slot:"header",onClick:this.onEnableRemoteImagesClick},r),a("limel-markdown",{value:t}))}getAllowRemoteImages(){var e;return null!==(e=this.allowRemoteImages)&&void 0!==e?e:this.allowRemoteImagesState}static get watchers(){return{email:[{resetAllowRemoteImages:0}]}}};u.style='@charset "UTF-8";:host(limel-email-viewer){display:block;width:100%;height:100%;box-sizing:border-box}*,*::before,*::after{box-sizing:border-box;min-width:0;min-height:0}.email{display:flex;flex-direction:column;width:100%;height:100%;padding-bottom:0.5rem;box-shadow:var(--shadow-depth-8)}.email-headers{position:relative;flex-shrink:0;display:flex;flex-direction:column}.email-headers dl,.email-headers dt,.email-headers dd{margin:0}.email-headers dl{display:flex;flex-wrap:wrap;gap:0 0.5rem;padding:0.5rem 0.75rem;font-size:0.75rem}.email-headers dl:nth-child(even){background-color:rgb(var(--contrast-800), 0.1)}.email-headers dl dt{opacity:0.6;min-width:3rem}.email-headers dl dt::after{content:":"}.email-headers dl dd:not(:last-child)::after{content:",";opacity:0.6}.email-headers dl.subject dd{font-weight:bold}.email-headers dl.date{position:absolute;right:0.25rem;bottom:0;transform:translateY(50%);font-size:0.625rem;border-radius:9rem;padding:0.125rem 0.25rem;background-color:rgb(var(--contrast-100), 0.8);border:rgb(var(--contrast-600)) solid 1px}.email-headers dl.date dt{position:absolute;width:0;height:0;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap}.attachments{flex-shrink:0;padding:0.5rem;border-bottom:1px dashed rga(var(--contrast-700))}.attachments span{padding-left:0.25rem;font-size:0.75rem;opacity:0.6}.attachments span:first-child::after{content:":"}.attachments ul{all:unset;display:grid;grid-template-columns:repeat(auto-fill, minmax(8rem, 1fr));gap:0.5rem;padding:0.5rem 0}.attachments li{all:unset;position:relative;display:flex;flex-direction:column;gap:0.25rem;font-size:0.6875rem;line-height:normal;padding:0.5rem 0.5rem 1rem 0.5rem;border-radius:0.5rem;border:1px solid rgba(var(--contrast-600));background-color:rgba(var(--contrast-400))}.attachments .attachment-filename{font-weight:500}.attachments .attachment-mime-type{opacity:0.7}.attachments limel-badge{--badge-max-width:auto;--badge-background-color:rgb(var(--contrast-1000), 0.7);--badge-text-color:rgb(var(--color-white));position:absolute;bottom:0.125rem;right:0.125rem;box-shadow:var(--shadow-brighten-edges-outside)}section{flex-grow:1;display:flex;flex-direction:column;border-top:1px dashed rgba(var(--contrast-700));min-height:2rem;overflow-y:auto}limel-collapsible-section{--closed-header-background-color:var( --lime-elevated-surface-background-color );flex-grow:1;flex-shrink:0;margin:0.5rem;border-radius:0.75rem;box-shadow:var(--shadow-depth-8)}limel-collapsible-section button{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;flex-shrink:0;border-radius:0.375rem;padding:0.25rem 0.5rem;font-size:var(--limel-theme-small-font-size);margin:0 0.5rem}limel-collapsible-section button.load-images{transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--lime-primary-color, var(--limel-theme-primary-color));background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-normal)}limel-collapsible-section button.load-images:hover,limel-collapsible-section button.load-images:focus,limel-collapsible-section button.load-images:focus-visible{will-change:color, background-color, box-shadow, transform}limel-collapsible-section button.load-images:hover,limel-collapsible-section button.load-images:focus-visible{transform:translate3d(0, -0.04rem, 0);color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}limel-collapsible-section button.load-images:active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}limel-collapsible-section button.load-images:hover,limel-collapsible-section button.load-images:active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}limel-collapsible-section limel-markdown{padding:0.5rem}.body{flex-grow:1;max-width:100%;padding:0.75rem}.body.plain-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-family:inherit}.body img{max-width:100% !important}';export{u as limel_email_viewer}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as e,H as i,a as t}from"./p-DBTJNfo7.js";import{t as a}from"./p-Dv3YcsA7.js";const s=class{constructor(e){r(this,e),this.language="en",this.value=0,this.indeterminate=!1}render(){if(!this.isFinite(this.value))return;const r=a.get("loading",this.language),t=a.get("progress-bar",this.language);return e(i,{role:"progressbar","aria-label":this.accessibleLabel||t,"aria-live":"polite","aria-valuemin":"0","aria-valuemax":"1","aria-valuenow":this.indeterminate?void 0:this.value,"aria-valuetext":this.indeterminate?r:void 0,style:{"--percentage":100*this.value+"%"}},e("div",{class:"progress"}))}watchValue(r){this.isFinite(r)&&this.updateProgress(r)}updateProgress(r){this.host&&this.host.style.setProperty("--percentage",100*r+"%")}isFinite(r){return Number.isFinite(r)}get host(){return t(this)}static get watchers(){return{value:[{watchValue:0}]}}};s.style=':host(limel-linear-progress){isolation:isolate;position:relative;overflow:hidden;display:flex;width:100%;height:0.25rem;border-radius:0.25rem;background-color:var(--background-color, rgb(var(--contrast-800), 0.5))}.progress{height:100%;width:var(--percentage, 0%);border-radius:0.25rem;background-color:var(--lime-primary-color, var(--limel-theme-primary-color))}:host(limel-linear-progress[indeterminate]) .progress{background-color:transparent;width:100%}:host(limel-linear-progress[indeterminate]) .progress:before,:host(limel-linear-progress[indeterminate]) .progress:after{will-change:left, right, opacity;content:"";position:absolute;inset:0;height:100%;border-radius:0.25rem;opacity:0;background-color:var(--lime-primary-color, var(--limel-theme-primary-color))}:host(limel-linear-progress[indeterminate]) .progress:before{animation:indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite}:host(limel-linear-progress[indeterminate]) .progress:after{animation:indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite 1.15s}@keyframes indeterminate{0%{left:-35%;right:100%;opacity:0}10%,80%{opacity:1}60%{left:100%;right:-90%}100%{left:100%;right:-90%;opacity:0}}@keyframes indeterminate-short{0%{left:-200%;right:100%;opacity:0}10%,80%{opacity:1}60%{left:107%;right:-8%}100%{left:107%;right:-8%;opacity:0}}';export{s as limel_linear_progress}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as r}from"./p-DtS35Df5.js";import{r as t,i as n}from"./p-BJQylLSL.js";var o,u=t["__core-js_shared__"],c=(o=/[^.]+$/.exec(u&&u.keys&&u.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"",i=Function.prototype.toString;function a(r){if(null!=r){try{return i.call(r)}catch(r){}try{return r+""}catch(r){}}return""}var e=/^\[object .+?Constructor\]$/,f=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function s(t,o){var u=function(r,t){return null==r?void 0:r[t]}(t,o);return function(t){return!(!n(t)||(o=t,c&&c in o))&&(r(t)?f:e).test(a(t));var o}(u)?u:void 0}export{s as g,a as t}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as r}from"./p-efBXH4mj.js";var t=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(r){}}();export{t as d}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,H as e,a as r}from"./p-DBTJNfo7.js";import{c as o,i as a}from"./p-CWuGCKo1.js";import{a as n}from"./p-C3Myy3mA.js";import{c as h}from"./p-BTHqaZIi.js";import{i as l}from"./p-B8VKuhvH.js";import{c}from"./p-JbKhhoXs.js";import"./p-DlJXKdhK.js";import"./p-CgNJbSP4.js";import"./p-DNIqLXTL.js";import"./p-DtS35Df5.js";import"./p-BJQylLSL.js";import"./p-efBXH4mj.js";import"./p-oiMYqRQ0.js";import"./p-D_uMnX5g.js";import"./p-BOEi1C7r.js";import"./p-CK4jS9_E.js";function p(t,i,s,e){for(var r=-1,o=null==t?0:t.length;++r<o;){var a=t[r];i(e,a,s(a),t)}return e}function f(t,i,s,e){return n(t,(function(t,r,o){i(e,t,s(t),o)})),e}var d,m,b=(d=function(t,i,s){t[s?0:1].push(i)},m=function(){return[[],[]]},function(t,i){var s=l(t)?p:f,e=m?[[],[]]:{};return s(t,d,h(i),e)});const u=class{constructor(e){t(this,e),this.filesSelected=i(this,"filesSelected"),this.filesRejected=i(this,"filesRejected"),this.accept="*",this.disabled=!1,this.helperText="",this.hasFileToDrop=!1,this.renderOnDragLayout=()=>{if(!this.disabled&&this.hasFileToDrop)return s("div",{class:"has-file-to-drop"},s("limel-icon",{class:"icon",name:"upload_2"}),s("div",{class:"text-helpertext"},this.renderText(),this.renderHelperText()))},this.renderText=()=>{if(this.text)return s("span",{class:"text"},this.text)},this.renderHelperText=()=>{if(this.helperText)return s("span",{class:"helper-text"},this.helperText)},this.handleDrop=t=>{if(t.stopPropagation(),t.preventDefault(),this.hasFileToDrop=!1,this.disabled)return;const i=[...t.dataTransfer.files].map(o),[s,e]=b(i,(t=>a(t,this.accept)));s.length>0&&this.filesSelected.emit(s),e.length>0&&this.filesRejected.emit(e)},this.handleDragOver=t=>{this.hasFileToDrop=!0,t.preventDefault()},this.handleDragLeave=t=>{this.hasFileToDrop=!1,t.preventDefault()}}render(){return s(e,{key:"a66ef9c3d9a005567749b61967a63caa4496135a",onDrop:this.handleDrop,onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave},s("slot",{key:"7a770aa9f98365da4b83038662f04c0e9e5c20c6"}),this.renderOnDragLayout())}};u.style=":host(limel-file-dropzone){display:block;position:relative}.has-file-to-drop{animation:display-drop-zone 0.6s ease forwards;box-sizing:border-box;isolation:isolate;z-index:1;position:absolute;inset:0.25rem;overflow:hidden;display:flex;justify-content:center;align-items:center;gap:0.5rem;color:rgb(var(--contrast-700));border:0.125rem dashed rgb(var(--color-cyan-light));border-radius:0.75rem}.text-helpertext{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.icon{width:clamp(2rem, 5vh, 7rem)}.text{font-size:clamp(1rem, 2vh, 1.75rem)}.helper-text{font-size:clamp(0.75rem, 1.5vh, 1rem)}@keyframes display-drop-zone{0%{background-color:rgb(var(--contrast-1100), 0);backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0);scale:0.9;opacity:0}50%{scale:1;opacity:1}100%{background-color:rgb(var(--contrast-1100), 0.8);backdrop-filter:blur(0.25rem);-webkit-backdrop-filter:blur(0.25rem)}}";const y=class{constructor(s){t(this,s),this.filesSelected=i(this,"filesSelected"),this.accept="*",this.disabled=!1,this.multiple=!1,this.fileInputId=c(),this.handleClick=t=>{if(this.disabled)return t.stopPropagation(),void t.preventDefault();this.triggerFileDialog(),t.stopPropagation()},this.handleKeyUp=t=>{t.stopPropagation(),t.preventDefault(),"Enter"===t.code&&this.triggerFileDialog()},this.handleFileChange=t=>{const i=[...this.fileInput.files];i.length>0&&(t.stopPropagation(),this.filesSelected.emit(i.map(o)),this.fileInput.value="")}}componentDidLoad(){this.fileInput=this.element.shadowRoot.getElementById(this.fileInputId)}render(){return s(e,{key:"62d72f49b1a71bef9c5b91c36f34f763a04d78e2",onClick:this.handleClick,onKeyUp:this.handleKeyUp,onKeyDown:this.handleKeyDown},s("input",{key:"72272f710f8ffb09eec2ace7409ab516ec4f80bd",hidden:!0,id:this.fileInputId,onChange:this.handleFileChange,type:"file",accept:this.accept,disabled:this.disabled,multiple:this.multiple}),s("slot",{key:"7ecff23ba41d76a23a2b8a542f56044615cb8b24"}))}handleKeyDown(t){"Tab"!==t.code&&"Backspace"!==t.code&&"Enter"!==t.code&&(t.preventDefault(),t.stopPropagation())}triggerFileDialog(){this.fileInput.click()}get element(){return r(this)}};export{u as limel_file_dropzone,y as limel_file_input}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as a}from"./p-f_1nwOC8.js";import{e as o}from"./p-DtS35Df5.js";function r(o,r,e){"__proto__"==r&&a?a(o,r,{configurable:!0,enumerable:!0,value:e,writable:!0}):o[r]=e}var e=Object.prototype.hasOwnProperty;function t(a,t,i){var n=a[t];e.call(a,t)&&o(n,i)&&(void 0!==i||t in a)||r(a,t,i)}export{t as a,r as b}
|