@orangelogic/design-system 2.118.0 → 2.119.0

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.
Files changed (165) hide show
  1. package/library/assets/diff.worker-ClilI1xm.js +1 -0
  2. package/library/chunks/{animation.8MjXJybe.js → animation.hpY88RxG.js} +106 -100
  3. package/library/chunks/{asset.CIWxY-Aw.js → asset.D_MQwP1C.js} +4 -4
  4. package/library/chunks/browser.BHOCIF_A.js +84 -0
  5. package/library/chunks/{button.DwJEeW2t.js → button.bufNNyTc.js} +1 -1
  6. package/library/chunks/{color-swatch-group.BvLicLI4.js → color-swatch-group.CeazdbIe.js} +6 -6
  7. package/library/chunks/{color-swatch.DVzEaNeL.js → color-swatch.LEvHo5G_.js} +2 -2
  8. package/library/chunks/{confirm-popover.BifwpSuf.js → confirm-popover.BLQFU6Hs.js} +3 -3
  9. package/library/chunks/{content-builder.OsUmm8Wu.js → content-builder.BGzxZUgi.js} +1 -1
  10. package/library/chunks/debounce.DaHuiSGU.js +15 -0
  11. package/library/chunks/{dialog.BYCWepBc.js → dialog.DdsJ_WqU.js} +2 -2
  12. package/library/chunks/{document-viewer.CKCX8ueu.js → document-viewer.B5VtBEEP.js} +7 -7
  13. package/library/chunks/{dot-pagination.C4l5vKor.js → dot-pagination.Bny2T6DA.js} +1 -1
  14. package/library/chunks/{endpoints.D4h8hp1m.js → endpoints.6E17hFiK.js} +385 -385
  15. package/library/chunks/{file-on-demand.AwMj4AfO.js → file-on-demand.DDuWnvmy.js} +10 -10
  16. package/library/chunks/{folder-select.CrWjwQcw.js → folder-select.D1jO1hB_.js} +295 -203
  17. package/library/chunks/{header.Cf9ujCpg.js → header.CfiA4TRu.js} +1 -1
  18. package/library/chunks/{i18n.CH-wak_P.js → i18n.DDj5y9px.js} +106 -11
  19. package/library/chunks/{icon-button.CQiBjznj.js → icon-button.DOrACmes.js} +1 -1
  20. package/library/chunks/{iframe.BQPVygBJ.js → iframe.qaVD1n1m.js} +1 -1
  21. package/library/chunks/{image.cT-FziNS.js → image.BugewF1g.js} +129 -146
  22. package/library/chunks/{input.CH4lKxPM.js → input.BYj6YXcM.js} +1 -1
  23. package/library/chunks/keyed.C0rkKrxH.js +22 -0
  24. package/library/chunks/{list-editor.BfpDIsU5.js → list-editor.D5szxqSM.js} +11 -11
  25. package/library/chunks/math.DuKzLacZ.js +26 -0
  26. package/library/chunks/{option.Bvh35v8S.js → option.CnxdM30G.js} +1 -1
  27. package/library/chunks/{pagination.zQ2FFtxB.js → pagination.Dxig0LoI.js} +6 -6
  28. package/library/chunks/{responsive.C8NCkfCG.js → responsive.Cf65FCWd.js} +1 -1
  29. package/library/chunks/{tab-group.DvMX02hY.js → tab-group.CGg9lPLP.js} +3 -3
  30. package/library/chunks/{table.GCs54Y2t.js → table.BkdcDorc.js} +1471 -1400
  31. package/library/chunks/{tree.Btf2Q4YZ.js → tree.yYbWIRnc.js} +3 -3
  32. package/library/components/alert.js +2 -2
  33. package/library/components/animation.js +1 -1
  34. package/library/components/asset-link-format.js +8 -8
  35. package/library/components/atoms.js +144 -142
  36. package/library/components/audio.js +2 -2
  37. package/library/components/border-input-group.js +2 -2
  38. package/library/components/breadcrumb.js +1 -1
  39. package/library/components/button.js +2 -2
  40. package/library/components/color-picker.js +5 -5
  41. package/library/components/color-swatch-group.js +7 -7
  42. package/library/components/color-swatch.js +3 -3
  43. package/library/components/confirm-popover.js +4 -4
  44. package/library/components/copy-button.js +1 -1
  45. package/library/components/corner-position-input-group.js +3 -3
  46. package/library/components/date-calendar.js +1 -1
  47. package/library/components/details.js +1 -1
  48. package/library/components/dialog.js +3 -3
  49. package/library/components/diff.d.ts +3 -0
  50. package/library/components/diff.js +104 -0
  51. package/library/components/document-viewer.js +3 -3
  52. package/library/components/dot-pagination.js +2 -2
  53. package/library/components/drawer.js +2 -2
  54. package/library/components/dropdown.js +2 -2
  55. package/library/components/dynamic-select.js +282 -211
  56. package/library/components/e-chart.js +1 -1
  57. package/library/components/element-clamp.js +2 -2
  58. package/library/components/file-on-demand.js +11 -11
  59. package/library/components/folder-select.js +5 -5
  60. package/library/components/format-bytes.js +1 -1
  61. package/library/components/format-date.js +1 -1
  62. package/library/components/format-number.js +1 -1
  63. package/library/components/format-time.js +1 -1
  64. package/library/components/header.js +2 -2
  65. package/library/components/icon-button.js +2 -2
  66. package/library/components/iframe.js +2 -2
  67. package/library/components/image-comparer.js +2 -2
  68. package/library/components/image.js +5 -4
  69. package/library/components/input.js +2 -2
  70. package/library/components/line-clamp.js +6 -5
  71. package/library/components/list-editor.js +8 -8
  72. package/library/components/masonry.js +2 -2
  73. package/library/components/menu-item.js +1 -1
  74. package/library/components/menu.js +1 -1
  75. package/library/components/molecules.js +4 -4
  76. package/library/components/option.js +2 -2
  77. package/library/components/organisms.js +2 -2
  78. package/library/components/padding-input-group.js +1 -1
  79. package/library/components/pagination.js +7 -7
  80. package/library/components/popup.js +76 -75
  81. package/library/components/position-picker.js +1 -1
  82. package/library/components/progress-bar.js +1 -1
  83. package/library/components/progress-ring.js +1 -1
  84. package/library/components/range.js +3 -3
  85. package/library/components/rating.js +2 -2
  86. package/library/components/relative-time.js +1 -1
  87. package/library/components/select.js +33 -32
  88. package/library/components/shadow-input-group.js +1 -1
  89. package/library/components/share-option-list.js +2 -2
  90. package/library/components/sidebar.js +1 -1
  91. package/library/components/size-input-group.js +3 -3
  92. package/library/components/spinner.js +1 -1
  93. package/library/components/split-panel.js +2 -2
  94. package/library/components/tab-group.js +4 -4
  95. package/library/components/tab.js +2 -2
  96. package/library/components/table.js +62 -60
  97. package/library/components/tag.js +2 -2
  98. package/library/components/tooltip.js +1 -1
  99. package/library/components/tree-item.js +2 -2
  100. package/library/components/tree.js +3 -3
  101. package/library/components/typeface.js +2 -2
  102. package/library/components/types.js +35400 -32968
  103. package/library/components/video.js +3 -3
  104. package/library/package.json +1 -1
  105. package/library/packages/atoms/src/animations/index.d.ts +2 -1
  106. package/library/packages/atoms/src/animations/rotating/rotate.d.ts +4 -0
  107. package/library/packages/atoms/src/components/diff/diff.d.ts +46 -0
  108. package/library/packages/atoms/src/components/diff/diff.styles.d.ts +2 -0
  109. package/library/packages/atoms/src/components/diff/utils/diff-worker-client.d.ts +10 -0
  110. package/library/packages/atoms/src/components/select/select.d.ts +9 -9
  111. package/library/packages/atoms/src/components/tab-group/tab-group.d.ts +1 -1
  112. package/library/packages/atoms/src/components/table/components/index.d.ts +1 -0
  113. package/library/packages/atoms/src/components/table/components/table-footer/table-footer.d.ts +25 -0
  114. package/library/packages/atoms/src/components/table/components/table-footer/table-footer.styles.d.ts +2 -0
  115. package/library/packages/atoms/src/components/table/components/table-toolbar/table-toolbar.d.ts +7 -1
  116. package/library/packages/atoms/src/components/table/table.d.ts +14 -3
  117. package/library/packages/atoms/src/index.d.ts +1 -0
  118. package/library/packages/events/src/cx-capacity-change.d.ts +20 -0
  119. package/library/packages/events/src/cx-capacity-week-bar.d.ts +26 -0
  120. package/library/packages/events/src/cx-folder-select-children-loaded.d.ts +10 -0
  121. package/library/packages/events/src/cx-list-editor-change.d.ts +1 -1
  122. package/library/packages/events/src/cx-sb-dam-view-config-change.d.ts +8 -0
  123. package/library/packages/events/src/events.d.ts +4 -0
  124. package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/diff.d.ts +5 -0
  125. package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters.d.ts +2 -0
  126. package/library/packages/molecules/src/dynamic-select/dynamic-select.d.ts +19 -1
  127. package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +11 -0
  128. package/library/packages/organisms/src/capacity-planner/capacity-core.d.ts +81 -0
  129. package/library/packages/organisms/src/capacity-planner/capacity-planner.d.ts +194 -0
  130. package/library/packages/organisms/src/capacity-planner/capacity-planner.styles.d.ts +2 -0
  131. package/library/packages/organisms/src/capacity-planner/components/capacity-toolbar/capacity-toolbar.d.ts +35 -0
  132. package/library/packages/organisms/src/capacity-planner/components/capacity-toolbar/capacity-toolbar.styles.d.ts +2 -0
  133. package/library/packages/organisms/src/capacity-planner/components/capacity-week-bar/capacity-week-bar.d.ts +101 -0
  134. package/library/packages/organisms/src/capacity-planner/components/capacity-week-bar/capacity-week-bar.styles.d.ts +2 -0
  135. package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts +12 -0
  136. package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.d.ts +6 -0
  137. package/library/packages/organisms/src/content-builder/configs/dam-view.d.ts +66 -0
  138. package/library/packages/organisms/src/content-builder/configs/index.d.ts +1 -0
  139. package/library/packages/organisms/src/content-builder/configs-controller.d.ts +110 -0
  140. package/library/packages/organisms/src/content-builder/content-builder-config.d.ts +3 -0
  141. package/library/packages/organisms/src/content-builder/content-builder.d.ts +1 -0
  142. package/library/packages/organisms/src/content-builder/plugins/dam-view.d.ts +5 -0
  143. package/library/packages/organisms/src/content-builder/plugins/index.d.ts +1 -0
  144. package/library/packages/organisms/src/content-builder/styleController.d.ts +7 -3
  145. package/library/packages/organisms/src/dam-custom-toolbar-buttons-editor/dam-custom-toolbar-buttons-editor.d.ts +176 -0
  146. package/library/packages/organisms/src/dam-custom-toolbar-buttons-editor/dam-custom-toolbar-buttons-editor.styles.d.ts +2 -0
  147. package/library/packages/organisms/src/index.d.ts +2 -0
  148. package/library/packages/services/src/api/cms5/cms5.d.ts +17 -1
  149. package/library/packages/services/src/api/endpoints.d.ts +13 -1
  150. package/library/packages/services/src/api/metadata/index.d.ts +1 -0
  151. package/library/packages/services/src/api/metadata/metadata.d.ts +3 -1
  152. package/library/packages/services/src/api/metadata/metadata.types.d.ts +53 -0
  153. package/library/packages/styles/src/table-select.styles.d.ts +2 -0
  154. package/library/packages/types/src/content-builder.d.ts +13 -5
  155. package/library/packages/types/src/dam-view.d.ts +48 -0
  156. package/library/packages/types/src/table.d.ts +17 -1
  157. package/library/packages/utils/src/custom-element/i18n.d.ts +95 -0
  158. package/library/packages/utils/src/custom-element/math.d.ts +8 -0
  159. package/library/packages/utils/src/date/index.d.ts +1 -0
  160. package/library/packages/utils/src/date/iso-week-number.d.ts +9 -0
  161. package/library/react-web-component.d.ts +545 -438
  162. package/library/utils.js +267 -253
  163. package/package.json +1 -1
  164. package/library/chunks/debounce.CIEhztrj.js +0 -97
  165. package/library/chunks/math.DqTA6ya4.js +0 -7
@@ -0,0 +1 @@
1
+ (function(){"use strict";const N=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"],w=["<table>"];function x(e){return e?N.includes(e.match(/^<(\w+)/)?.[1]?.toLowerCase()||e.match(/^<\/(\w+)/)?.[1]?.toLowerCase()||""):!1}function B(e){return!e||x(e.key)?!1:/<([a-z]+)(?![^>]*\/>)[^>]*>/.test(e.key)}function M(e){return!e||x(e.key)?!1:/<\/\w+>/.test(e.key)}let J=new RegExp("^<(iframe|object|math|svg|script|video|head|style|a|source)\b");function v(e){return e===">"}function C(e){return e==="<"}function j(e){return/^\s+$/.test(e)}function _(e){const n=e.match(/^\s*<([^!>][^>]*)>\s*$/);return!!n&&n[1].trim().split(" ")[0]}function Q(e){return!_(e)}function X(e){return/^<!--/.test(e)}function Y(e){return/-->$/.test(e)}function L(e){const n=J.exec(e);return n&&n[1]}function Z(e,n){return e.substring(e.length-n.length-2)==="</"+n}function ee(e){const n=/^<img[\s>]/.test(e);return!/^<source[\s>]/.test(e)&&(n||Q(e)||!!L(e)||x(e))}function g(e){return{key:e,string:e}}function R(e,n,t,s){this.segment=s,this.length=t,this.startInBefore=e+s.beforeIndex,this.startInAfter=n+s.afterIndex,this.endInBefore=this.startInBefore+this.length-1,this.endInAfter=this.startInAfter+this.length-1,this.segmentStartInBefore=e,this.segmentStartInAfter=n,this.segmentEndInBefore=this.segmentStartInBefore+this.length-1,this.segmentEndInAfter=this.segmentStartInAfter+this.length-1}function V(e){let n="char",t="",s="";const o=[];for(let c=0;c<e.length;c++){const r=e[c];switch(n){case"tag":var i=L(t);i?(n="atomic_tag",s=i,t+=r):X(t)?(n="html_comment",t+=r):v(r)?(t+=">",o.push(g(t)),t="",j(r)?n="whitespace":n="char"):t+=r;break;case"atomic_tag":v(r)&&Z(t,s)?(t+=">",o.push(g(t)),t="",s="",n="char"):t+=r;break;case"html_comment":t+=r,Y(t)&&(t="",n="char");break;case"char":C(r)?(t&&o.push(g(t)),t="<",n="tag"):/\s/.test(r)?(t&&o.push(g(t)),t=r,n="whitespace"):/[\w\d#@]/.test(r)?t+=r:/&/.test(r)?(t&&o.push(g(t)),t=r):(t+=r,o.push(g(t)),t="");break;case"whitespace":C(r)?(t&&o.push(g(t)),t="<",n="tag"):j(r)?t+=r:(t&&o.push(g(t)),t=r,n="char");break;default:throw new Error("Unknown mode "+n)}}return t&&o.push(g(t)),o}function E(e){const n=/^<img.*src=['"]([^"']*)['"].*>$/.exec(e);if(n)return'<img src="'+n[1]+'">';const t=/^<a.*href=['"]([^"']*)['"]/.exec(e);if(t)return'<a href="'+t[1]+'"></a>';const s=/^<object.*data=['"]([^"']*)['"]/.exec(e);if(s)return'<object src="'+s[1]+'"></object>';if(/^<(svg|math|video)[\s>]/.test(e)){const c=e.indexOf('data-uuid="');if(c!==-1){const r=e.slice(0,c),l=e.slice(c+44);return r+l}else return e}const o=/^<iframe.*src=['"]([^"']*)['"].*>/.exec(e);if(o)return'<iframe src="'+o[1]+'"></iframe>';const i=/<([^\s>]+)[\s>]/.exec(e);return i?"<"+i[1].toLowerCase()+">":e&&e.replace(/(\s+|&nbsp;|&#160;)/g," ")}function H(e){return e.reduce((n,t,s)=>(n[t.key]?n[t.key].push(s):n[t.key]=[s],n),Object.create(null))}function te(e,n){return n.endInBefore<e.startInBefore&&n.endInAfter<e.startInAfter?-1:n.startInBefore>e.endInBefore&&n.startInAfter>e.endInAfter?1:0}function q(){this._root=null}q.prototype={add:function(e){const n={left:null,right:null,value:e};let t=this._root;if(t)for(;;){const s=te(t.value,e);if(s===-1)if(t.left)t=t.left;else{t.left=n;break}else if(s===1)if(t.right)t=t.right;else{t.right=n;break}else break}else this._root=n},toArray:function(){function e(n,t){return n&&(e(n.left,t),t.push(n.value),e(n.right,t)),t}return e(this._root,[])}};function ne(e,n,t){const s=e.beforeTokens,o=e.afterMap;let i=null,c=null;for(var r=0;r<s.length;r++){var l=!1;const u=s.length-r;if(c&&u<c.length)break;const a=s[r];if(w.includes(E(a.key)))continue;if(a.key===" "){i=r;continue}i===r-1&&(l=!0);const f=o[a.key];f&&f.forEach(h=>{const T=c?c.length:0,p=re(e,r,h,T,l);if(p&&p.length>T){let d=0,A="",y="",k=0,W=0,O=0;for(let I=p.endInBefore;I>=p.startInBefore;I--)M(n[I])?d++:B(n[I])&&d>0&&d--;for(let I=p.endInAfter;I>=p.startInAfter;I--)M(t[I])?k++:B(t[I])&&k>0&&k--;let m=p.startInBefore-1,b=p.startInAfter-1,z=!0;const le=n.length+t.length;let K=0;for(;(m>=0||b>=0)&&!(K>le);)if(K++,m>=0&&!A&&(B(n[m])?W>0?W--:d>0?(A=n[m].string,d--):A=n[m].string:M(n[m])&&W++,m--),b>=0&&!y&&(B(t[b])?O>0?O--:k>0?(y=t[b].string,k--):y=t[b].string:M(t[b])&&O++,b--),A&&y||A&&b<0||y&&m<0){if(A!==y||w.includes(E(A))){z=!1;break}A="",y="";continue}z&&(c=p)}})}return c||null}function re(e,n,t,s,o){const i=e.beforeTokens,c=e.afterTokens,r=n+s,l=t+s;if(r>=i.length||l>=c.length)return;let u="";if(s){const p=i[r].key,d=c[l].key;if(p!==d&&!w.includes(E(p)))return}let a=!0,f=1,h=n+f,T=t+f;for(;a&&h<i.length&&T<c.length;){u=i[h].key;const p=c[T].key;u===p&&!w.includes(E(u))?(f++,h=n+f,T=t+f):a=!1}if(o&&n>0&&t>0){const p=i[n-1].key,d=c[t-1].key;p===" "&&d===" "&&(n--,t--,f++)}return new R(n,t,f,e)}function $(e,n,t,s){return{afterIndex:s,afterMap:H(n),afterTokens:n,beforeIndex:t,beforeMap:H(e),beforeTokens:e}}function se(e){const n=new q;let t;const s=[e],o=e.beforeTokens,i=e.afterTokens;for(;s.length;)if(e=s.pop(),t=ne(e,o,i),t&&t.length){if(t.segmentStartInBefore>0&&t.segmentStartInAfter>0){const a=e.beforeTokens.slice(0,t.segmentStartInBefore),f=e.afterTokens.slice(0,t.segmentStartInAfter);s.push($(a,f,e.beforeIndex,e.afterIndex))}const c=e.beforeTokens.slice(t.segmentEndInBefore+1),r=e.afterTokens.slice(t.segmentEndInAfter+1),l=e.beforeIndex+t.segmentEndInBefore+1,u=e.afterIndex+t.segmentEndInAfter+1;c.length&&r.length&&s.push($(c,r,l,u)),n.add(t)}return n.toArray()}function ie(e,n){if(!e)throw new Error("Missing beforeTokens");if(!n)throw new Error("Missing afterTokens");let t=0,s=0;const o=[],i=$(e,n,0,0),c=se(i);c.push(new R(e.length,n.length,0,i));for(let a=0;a<c.length;a++){const f=c[a];let h="none";t===f.startInBefore?s!==f.startInAfter&&(h="insert"):(h="delete",s!==f.startInAfter&&(h="replace")),h!=="none"&&o.push({action:h,endInAfter:h!=="delete"?f.startInAfter-1:null,endInBefore:h!=="insert"?f.startInBefore-1:null,startInAfter:s,startInBefore:t}),f.length!==0&&o.push({action:"equal",endInAfter:f.endInAfter,endInBefore:f.endInBefore,startInAfter:f.startInAfter,startInBefore:f.startInBefore}),t=f.endInBefore+1,s=f.endInAfter+1}const r=[];let l={action:"none",endInAfter:null,endInBefore:null};function u(a){return a.action!=="equal"||(a.endInBefore??0)-a.startInBefore!==0?!1:/^\s$/.test(e.slice(a.startInBefore,(a.endInBefore??0)+1))}for(let a=0;a<o.length;a++){const f=o[a];u(f)&&l.action==="replace"||f.action==="replace"&&l.action==="replace"?(l.endInBefore=f.endInBefore,l.endInAfter=f.endInAfter):(r.push(f),l=f)}return r}function G(e){this.tokens=e,this.notes=e.reduce((n,t,s)=>{n.notes.push({insertedTag:B({key:t}),isWrappable:ee(t)});const o=!x(t)&&_(t),i=n.tagStack[n.tagStack.length-1];return o&&(i&&"/"+i.tag===o?(n.notes[i.position].insertedTag=!0,n.tagStack.pop()):n.tagStack.push({position:s,tag:o})),n},{notes:[],tagStack:[]}).notes}G.prototype.combine=function(e,n){const t=this.notes,s=this.tokens.slice();return s.reduce((i,c,r)=>{t[r].insertedTag&&(s[r]=n(s[r])),i.status===null&&(i.status=t[r].isWrappable);const l=t[r].isWrappable;return l!==i.status&&(i.list.push({isWrappable:i.status,tokens:s.slice(i.lastIndex,r)}),i.lastIndex=r,i.status=l),r===s.length-1&&i.list.push({isWrappable:i.status,tokens:s.slice(i.lastIndex,r+1)}),i},{lastIndex:0,list:[],status:null}).list.map(e).join("")};function D(e,n,t,s,o){const i=new G(n);s=s?s+"-":"";let c=" data-"+s+'operation-index="'+t+'"';return o&&(c+=' class="'+o+'"'),i.combine(r=>{if(r.isWrappable){const l=r.tokens.join("");return l.trim()?"<"+e+c+">"+l+"</"+e+">":l}else return r.tokens.join("")},r=>{let l=' data-diff-node="'+e+'"';return l+=" data-"+s+'operation-index="'+t+'"',r.replace(/>\s*$/,l+"$&")})}const S={delete:function(e,n,t,s,o,i){const r=n.slice(e.startInBefore,(e.endInBefore??0)+1).map(l=>l.string);return D("del",r,s,o,i)},equal:function(e,n,t){return t.slice(e.startInAfter,(e.endInAfter??0)+1).reduce((o,i)=>o+i.string,"")},insert:function(e,n,t,s,o,i){const r=t.slice(e.startInAfter,(e.endInAfter??0)+1).map(l=>l.string);return D("ins",r,s,o,i)},replace:function(e,n,t){const s=n.slice(e.startInBefore,(e.endInBefore??0)+1).reduce((i,c)=>i+c.string,""),o=t.slice(e.startInAfter,(e.endInAfter??0)+1).reduce((i,c)=>i+c.string,"");return s===o?o:S.delete.apply(null,arguments)+S.insert.apply(null,arguments)}};function oe(e,n,t,s,o){return t.reduce((i,c,r)=>i+S[c.action](c,e,n,r,s,o),"")}function F(e){const n=/(\w+)=("[^"]*")/g;return e.replaceAll(n,(t,s,o)=>{const i=o.replaceAll("<","&lt;").replaceAll(">","&gt;");return`${s}=${i}`})}function ce(e){const n=/(\w+)=("[^"]*")/g;return e.replaceAll(n,(t,s,o)=>{const i=o.replaceAll("&lt;","<").replaceAll("&gt;",">");return`${s}=${i}`})}function P(e,n,t,s,o){if(e===n)return e;const i=F(e),c=F(n),r=V(i),l=V(c),u=ie(r,l),a=oe(r,l,u,s,t);return ce(a)}function U(e){const n=/<[^>]*\sstyle="([^"]*)"[^>]*>/,t=e.match(n),s=t?.[1]?Object.fromEntries(t[1].split(";").map(r=>r.split(":"))):{};let o="",i="";Object.keys(s).filter(r=>r?r.includes("border")||r.includes("padding")||["width","height"].includes(r)?(o+=`${r}:${s[r]};`,!1):!0:!1).forEach(r=>{i+=`${r}:${s[r]};`});const c=t?e.replace(n,r=>r.replace(/style="[^"]*"/,`style="${o}"`)):e;return[i,c]}typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&(self.onmessage=function(e){if(e.data.type==="cx-diff-request"){const{id:n,newValue:t,oldValue:s}=e.data.payload;try{const o=P(s,t);self.postMessage({payload:{id:n,result:o},type:"cx-diff-response"})}catch{self.postMessage({payload:{id:n,result:""},type:"cx-diff-response"})}}if(e.data.type==="diffHTMLRequest"){const{changeRecordID:n,newValue:t,oldValue:s}=e.data.payload;try{let o=P(s,t).replaceAll(/<ins[^>]*>/g,'<span class="mce-item-ins-node">').replaceAll("</ins>","</span>").replaceAll(/<del[^>]*>/g,'<span class="mce-item-del-node">').replaceAll("</del>","</span>");const i=["video","code","iframe"],c=new RegExp(`<(${i.join("|")})[^>]*>`,"g"),r=new RegExp(`</(${i.join("|")})[^>]*>`,"g");o=o.replaceAll(c,l=>{const u=U(l);return`<span class="block-wrapper" style="${u[0]}">${u[1]}`}).replaceAll(r,l=>`${l}</span>`).replaceAll(new RegExp("<(img)[^>]*>","g"),l=>{const u=U(l);return`<span class="block-wrapper" style="${u[0]}">${u[1]}</span>`}),self.postMessage({payload:{changeRecordID:n,diff:o,newValue:t,oldValue:s},type:"diffHTML"})}catch{self.postMessage({payload:{changeRecordID:n,diff:"",newValue:t,oldValue:s},type:"diffHTML"})}}})})();
@@ -324,7 +324,37 @@ const h = b`:host{display:contents}`, x = [
324
324
  opacity: "0",
325
325
  transform: "translate3d(0, -2000px, 0) scaleY(3)"
326
326
  }
327
- ], K = [
327
+ ], l = {
328
+ ease: "ease",
329
+ easeIn: "ease-in",
330
+ easeInBack: "cubic-bezier(0.6, -0.28, 0.735, 0.045)",
331
+ easeInCirc: "cubic-bezier(0.6, 0.04, 0.98, 0.335)",
332
+ easeInCubic: "cubic-bezier(0.55, 0.055, 0.675, 0.19)",
333
+ easeInExpo: "cubic-bezier(0.95, 0.05, 0.795, 0.035)",
334
+ easeInOut: "ease-in-out",
335
+ easeInOutBack: "cubic-bezier(0.68, -0.55, 0.265, 1.55)",
336
+ easeInOutCirc: "cubic-bezier(0.785, 0.135, 0.15, 0.86)",
337
+ easeInOutCubic: "cubic-bezier(0.645, 0.045, 0.355, 1)",
338
+ easeInOutExpo: "cubic-bezier(1, 0, 0, 1)",
339
+ easeInOutQuad: "cubic-bezier(0.455, 0.03, 0.515, 0.955)",
340
+ easeInOutQuart: "cubic-bezier(0.77, 0, 0.175, 1)",
341
+ easeInOutQuint: "cubic-bezier(0.86, 0, 0.07, 1)",
342
+ easeInOutSine: "cubic-bezier(0.445, 0.05, 0.55, 0.95)",
343
+ easeInQuad: "cubic-bezier(0.55, 0.085, 0.68, 0.53)",
344
+ easeInQuart: "cubic-bezier(0.895, 0.03, 0.685, 0.22)",
345
+ easeInQuint: "cubic-bezier(0.755, 0.05, 0.855, 0.06)",
346
+ easeInSine: "cubic-bezier(0.47, 0, 0.745, 0.715)",
347
+ easeOut: "ease-out",
348
+ easeOutBack: "cubic-bezier(0.175, 0.885, 0.32, 1.275)",
349
+ easeOutCirc: "cubic-bezier(0.075, 0.82, 0.165, 1)",
350
+ easeOutCubic: "cubic-bezier(0.215, 0.61, 0.355, 1)",
351
+ easeOutExpo: "cubic-bezier(0.19, 1, 0.22, 1)",
352
+ easeOutQuad: "cubic-bezier(0.25, 0.46, 0.45, 0.94)",
353
+ easeOutQuart: "cubic-bezier(0.165, 0.84, 0.44, 1)",
354
+ easeOutQuint: "cubic-bezier(0.23, 1, 0.32, 1)",
355
+ easeOutSine: "cubic-bezier(0.39, 0.575, 0.565, 1)",
356
+ linear: "linear"
357
+ }, K = [
328
358
  { offset: 0, opacity: "0" },
329
359
  { offset: 1, opacity: "1" }
330
360
  ], V = [
@@ -526,60 +556,65 @@ const h = b`:host{display:contents}`, x = [
526
556
  transform: "translate3d(100%, 0, 0) skewX(30deg)"
527
557
  }
528
558
  ], Lt = [
529
- { offset: 0, opacity: "0", transform: "rotate3d(0, 0, 1, -200deg)" },
530
- { offset: 1, opacity: "1", transform: "translate3d(0, 0, 0)" }
559
+ { offset: 0.25, transform: "rotate3d(0, 0, 1, 90deg)" },
560
+ { offset: 0.5, transform: "rotate3d(0, 0, 1, 180deg)" },
561
+ { offset: 0.75, transform: "rotate3d(0, 0, 1, 270deg)" },
562
+ { offset: 1, transform: "rotate3d(0, 0, 1, 360deg)" }
531
563
  ], Dt = [
532
- { offset: 0, opacity: "0", transform: "rotate3d(0, 0, 1, -45deg)" },
564
+ { offset: 0, opacity: "0", transform: "rotate3d(0, 0, 1, -200deg)" },
533
565
  { offset: 1, opacity: "1", transform: "translate3d(0, 0, 0)" }
534
566
  ], At = [
535
- { offset: 0, opacity: "0", transform: "rotate3d(0, 0, 1, 45deg)" },
567
+ { offset: 0, opacity: "0", transform: "rotate3d(0, 0, 1, -45deg)" },
536
568
  { offset: 1, opacity: "1", transform: "translate3d(0, 0, 0)" }
537
569
  ], Bt = [
538
570
  { offset: 0, opacity: "0", transform: "rotate3d(0, 0, 1, 45deg)" },
539
571
  { offset: 1, opacity: "1", transform: "translate3d(0, 0, 0)" }
540
572
  ], Ut = [
541
- { offset: 0, opacity: "0", transform: "rotate3d(0, 0, 1, -90deg)" },
573
+ { offset: 0, opacity: "0", transform: "rotate3d(0, 0, 1, 45deg)" },
542
574
  { offset: 1, opacity: "1", transform: "translate3d(0, 0, 0)" }
543
575
  ], Et = [
544
- { offset: 0, opacity: "1" },
545
- { offset: 1, opacity: "0", transform: "rotate3d(0, 0, 1, 200deg)" }
576
+ { offset: 0, opacity: "0", transform: "rotate3d(0, 0, 1, -90deg)" },
577
+ { offset: 1, opacity: "1", transform: "translate3d(0, 0, 0)" }
546
578
  ], Tt = [
547
579
  { offset: 0, opacity: "1" },
548
- { offset: 1, opacity: "0", transform: "rotate3d(0, 0, 1, 45deg)" }
580
+ { offset: 1, opacity: "0", transform: "rotate3d(0, 0, 1, 200deg)" }
549
581
  ], _t = [
550
582
  { offset: 0, opacity: "1" },
551
- { offset: 1, opacity: "0", transform: "rotate3d(0, 0, 1, -45deg)" }
583
+ { offset: 1, opacity: "0", transform: "rotate3d(0, 0, 1, 45deg)" }
552
584
  ], Pt = [
553
585
  { offset: 0, opacity: "1" },
554
586
  { offset: 1, opacity: "0", transform: "rotate3d(0, 0, 1, -45deg)" }
555
587
  ], Qt = [
556
588
  { offset: 0, opacity: "1" },
557
- { offset: 1, opacity: "0", transform: "rotate3d(0, 0, 1, 90deg)" }
589
+ { offset: 1, opacity: "0", transform: "rotate3d(0, 0, 1, -45deg)" }
558
590
  ], jt = [
591
+ { offset: 0, opacity: "1" },
592
+ { offset: 1, opacity: "0", transform: "rotate3d(0, 0, 1, 90deg)" }
593
+ ], Nt = [
559
594
  { offset: 0, transform: "translate3d(0, -100%, 0)", visibility: "visible" },
560
595
  { offset: 1, transform: "translate3d(0, 0, 0)" }
561
- ], Nt = [
596
+ ], Ft = [
562
597
  { offset: 0, transform: "translate3d(-100%, 0, 0)", visibility: "visible" },
563
598
  { offset: 1, transform: "translate3d(0, 0, 0)" }
564
- ], Ft = [
599
+ ], Mt = [
565
600
  { offset: 0, transform: "translate3d(100%, 0, 0)", visibility: "visible" },
566
601
  { offset: 1, transform: "translate3d(0, 0, 0)" }
567
- ], Mt = [
602
+ ], $t = [
568
603
  { offset: 0, transform: "translate3d(0, 100%, 0)", visibility: "visible" },
569
604
  { offset: 1, transform: "translate3d(0, 0, 0)" }
570
- ], $t = [
605
+ ], qt = [
571
606
  { offset: 0, transform: "translate3d(0, 0, 0)" },
572
607
  { offset: 1, transform: "translate3d(0, 100%, 0)", visibility: "hidden" }
573
- ], qt = [
608
+ ], Gt = [
574
609
  { offset: 0, transform: "translate3d(0, 0, 0)" },
575
610
  { offset: 1, transform: "translate3d(-100%, 0, 0)", visibility: "hidden" }
576
- ], Gt = [
611
+ ], Ht = [
577
612
  { offset: 0, transform: "translate3d(0, 0, 0)" },
578
613
  { offset: 1, transform: "translate3d(100%, 0, 0)", visibility: "hidden" }
579
- ], Ht = [
614
+ ], Jt = [
580
615
  { offset: 0, transform: "translate3d(0, 0, 0)" },
581
616
  { offset: 1, transform: "translate3d(0, -100%, 0)", visibility: "hidden" }
582
- ], Jt = [
617
+ ], Kt = [
583
618
  { easing: "ease-in-out", offset: 0 },
584
619
  { easing: "ease-in-out", offset: 0.2, transform: "rotate3d(0, 0, 1, 80deg)" },
585
620
  {
@@ -596,7 +631,7 @@ const h = b`:host{display:contents}`, x = [
596
631
  transform: "rotate3d(0, 0, 1, 60deg)"
597
632
  },
598
633
  { offset: 1, opacity: "0", transform: "translate3d(0, 700px, 0)" }
599
- ], Kt = [
634
+ ], Vt = [
600
635
  {
601
636
  offset: 0,
602
637
  opacity: "0",
@@ -606,24 +641,24 @@ const h = b`:host{display:contents}`, x = [
606
641
  { offset: 0.5, transform: "rotate(-10deg)" },
607
642
  { offset: 0.7, transform: "rotate(3deg)" },
608
643
  { offset: 1, opacity: "1", transform: "scale(1)" }
609
- ], Vt = [
644
+ ], Wt = [
610
645
  {
611
646
  offset: 0,
612
647
  opacity: "0",
613
648
  transform: "translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)"
614
649
  },
615
650
  { offset: 1, opacity: "1", transform: "translate3d(0, 0, 0)" }
616
- ], Wt = [
651
+ ], Zt = [
617
652
  { offset: 0, opacity: "1" },
618
653
  {
619
654
  offset: 1,
620
655
  opacity: "0",
621
656
  transform: "translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg)"
622
657
  }
623
- ], Zt = [
658
+ ], te = [
624
659
  { offset: 0, opacity: "0", transform: "scale3d(0.3, 0.3, 0.3)" },
625
660
  { offset: 0.5, opacity: "1" }
626
- ], te = [
661
+ ], ee = [
627
662
  {
628
663
  easing: "cubic-bezier(0.55, 0.055, 0.675, 0.19)",
629
664
  offset: 0,
@@ -636,7 +671,7 @@ const h = b`:host{display:contents}`, x = [
636
671
  opacity: "1",
637
672
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)"
638
673
  }
639
- ], ee = [
674
+ ], ae = [
640
675
  {
641
676
  easing: "cubic-bezier(0.55, 0.055, 0.675, 0.19)",
642
677
  offset: 0,
@@ -649,7 +684,7 @@ const h = b`:host{display:contents}`, x = [
649
684
  opacity: "1",
650
685
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0)"
651
686
  }
652
- ], ae = [
687
+ ], se = [
653
688
  {
654
689
  easing: "cubic-bezier(0.55, 0.055, 0.675, 0.19)",
655
690
  offset: 0,
@@ -662,7 +697,7 @@ const h = b`:host{display:contents}`, x = [
662
697
  opacity: "1",
663
698
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0)"
664
699
  }
665
- ], se = [
700
+ ], oe = [
666
701
  {
667
702
  easing: "cubic-bezier(0.55, 0.055, 0.675, 0.19)",
668
703
  offset: 0,
@@ -675,11 +710,11 @@ const h = b`:host{display:contents}`, x = [
675
710
  opacity: "1",
676
711
  transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)"
677
712
  }
678
- ], oe = [
713
+ ], re = [
679
714
  { offset: 0, opacity: "1" },
680
715
  { offset: 0.5, opacity: "0", transform: "scale3d(0.3, 0.3, 0.3)" },
681
716
  { offset: 1, opacity: "0" }
682
- ], re = [
717
+ ], fe = [
683
718
  {
684
719
  easing: "cubic-bezier(0.55, 0.055, 0.675, 0.19)",
685
720
  offset: 0.4,
@@ -692,7 +727,7 @@ const h = b`:host{display:contents}`, x = [
692
727
  opacity: "0",
693
728
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)"
694
729
  }
695
- ], fe = [
730
+ ], ne = [
696
731
  {
697
732
  offset: 0.4,
698
733
  opacity: "1",
@@ -703,7 +738,7 @@ const h = b`:host{display:contents}`, x = [
703
738
  opacity: "0",
704
739
  transform: "scale(0.1) translate3d(-2000px, 0, 0)"
705
740
  }
706
- ], ne = [
741
+ ], ie = [
707
742
  {
708
743
  offset: 0.4,
709
744
  opacity: "1",
@@ -714,7 +749,7 @@ const h = b`:host{display:contents}`, x = [
714
749
  opacity: "0",
715
750
  transform: "scale(0.1) translate3d(2000px, 0, 0)"
716
751
  }
717
- ], ie = [
752
+ ], ce = [
718
753
  {
719
754
  easing: "cubic-bezier(0.55, 0.055, 0.675, 0.19)",
720
755
  offset: 0.4,
@@ -727,37 +762,7 @@ const h = b`:host{display:contents}`, x = [
727
762
  opacity: "0",
728
763
  transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0)"
729
764
  }
730
- ], l = {
731
- ease: "ease",
732
- easeIn: "ease-in",
733
- easeInBack: "cubic-bezier(0.6, -0.28, 0.735, 0.045)",
734
- easeInCirc: "cubic-bezier(0.6, 0.04, 0.98, 0.335)",
735
- easeInCubic: "cubic-bezier(0.55, 0.055, 0.675, 0.19)",
736
- easeInExpo: "cubic-bezier(0.95, 0.05, 0.795, 0.035)",
737
- easeInOut: "ease-in-out",
738
- easeInOutBack: "cubic-bezier(0.68, -0.55, 0.265, 1.55)",
739
- easeInOutCirc: "cubic-bezier(0.785, 0.135, 0.15, 0.86)",
740
- easeInOutCubic: "cubic-bezier(0.645, 0.045, 0.355, 1)",
741
- easeInOutExpo: "cubic-bezier(1, 0, 0, 1)",
742
- easeInOutQuad: "cubic-bezier(0.455, 0.03, 0.515, 0.955)",
743
- easeInOutQuart: "cubic-bezier(0.77, 0, 0.175, 1)",
744
- easeInOutQuint: "cubic-bezier(0.86, 0, 0.07, 1)",
745
- easeInOutSine: "cubic-bezier(0.445, 0.05, 0.55, 0.95)",
746
- easeInQuad: "cubic-bezier(0.55, 0.085, 0.68, 0.53)",
747
- easeInQuart: "cubic-bezier(0.895, 0.03, 0.685, 0.22)",
748
- easeInQuint: "cubic-bezier(0.755, 0.05, 0.855, 0.06)",
749
- easeInSine: "cubic-bezier(0.47, 0, 0.745, 0.715)",
750
- easeOut: "ease-out",
751
- easeOutBack: "cubic-bezier(0.175, 0.885, 0.32, 1.275)",
752
- easeOutCirc: "cubic-bezier(0.075, 0.82, 0.165, 1)",
753
- easeOutCubic: "cubic-bezier(0.215, 0.61, 0.355, 1)",
754
- easeOutExpo: "cubic-bezier(0.19, 1, 0.22, 1)",
755
- easeOutQuad: "cubic-bezier(0.25, 0.46, 0.45, 0.94)",
756
- easeOutQuart: "cubic-bezier(0.165, 0.84, 0.44, 1)",
757
- easeOutQuint: "cubic-bezier(0.23, 1, 0.32, 1)",
758
- easeOutSine: "cubic-bezier(0.39, 0.575, 0.565, 1)",
759
- linear: "linear"
760
- }, ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
765
+ ], de = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
761
766
  __proto__: null,
762
767
  backInDown: D,
763
768
  backInLeft: A,
@@ -813,56 +818,57 @@ const h = b`:host{display:contents}`, x = [
813
818
  flipOutY: Xt,
814
819
  headShake: O,
815
820
  heartBeat: I,
816
- hinge: Jt,
817
- jackInTheBox: Kt,
821
+ hinge: Kt,
822
+ jackInTheBox: Vt,
818
823
  jello: k,
819
824
  lightSpeedInLeft: Yt,
820
825
  lightSpeedInRight: Rt,
821
826
  lightSpeedOutLeft: Ct,
822
827
  lightSpeedOutRight: St,
823
828
  pulse: v,
824
- rollIn: Vt,
825
- rollOut: Wt,
826
- rotateIn: Lt,
827
- rotateInDownLeft: Dt,
828
- rotateInDownRight: At,
829
- rotateInUpLeft: Bt,
830
- rotateInUpRight: Ut,
831
- rotateOut: Et,
832
- rotateOutDownLeft: Tt,
833
- rotateOutDownRight: _t,
834
- rotateOutUpLeft: Pt,
835
- rotateOutUpRight: Qt,
829
+ rollIn: Wt,
830
+ rollOut: Zt,
831
+ rotate: Lt,
832
+ rotateIn: Dt,
833
+ rotateInDownLeft: At,
834
+ rotateInDownRight: Bt,
835
+ rotateInUpLeft: Ut,
836
+ rotateInUpRight: Et,
837
+ rotateOut: Tt,
838
+ rotateOutDownLeft: _t,
839
+ rotateOutDownRight: Pt,
840
+ rotateOutUpLeft: Qt,
841
+ rotateOutUpRight: jt,
836
842
  rubberBand: w,
837
843
  shake: X,
838
844
  shakeX: Y,
839
845
  shakeY: R,
840
- slideInDown: jt,
841
- slideInLeft: Nt,
842
- slideInRight: Ft,
843
- slideInUp: Mt,
844
- slideOutDown: $t,
845
- slideOutLeft: qt,
846
- slideOutRight: Gt,
847
- slideOutUp: Ht,
846
+ slideInDown: Nt,
847
+ slideInLeft: Ft,
848
+ slideInRight: Mt,
849
+ slideInUp: $t,
850
+ slideOutDown: qt,
851
+ slideOutLeft: Gt,
852
+ slideOutRight: Ht,
853
+ slideOutUp: Jt,
848
854
  swing: C,
849
855
  tada: S,
850
856
  wobble: L,
851
- zoomIn: Zt,
852
- zoomInDown: te,
853
- zoomInLeft: ee,
854
- zoomInRight: ae,
855
- zoomInUp: se,
856
- zoomOut: oe,
857
- zoomOutDown: re,
858
- zoomOutLeft: fe,
859
- zoomOutRight: ne,
860
- zoomOutUp: ie
857
+ zoomIn: te,
858
+ zoomInDown: ee,
859
+ zoomInLeft: ae,
860
+ zoomInRight: se,
861
+ zoomInUp: oe,
862
+ zoomOut: re,
863
+ zoomOutDown: fe,
864
+ zoomOutLeft: ne,
865
+ zoomOutRight: ie,
866
+ zoomOutUp: ce
861
867
  }, Symbol.toStringTag, { value: "Module" }));
862
- var de = Object.defineProperty, le = Object.getOwnPropertyDescriptor, e = (f, s, n, o) => {
863
- for (var r = o > 1 ? void 0 : o ? le(s, n) : s, i = f.length - 1, c; i >= 0; i--)
868
+ var le = Object.defineProperty, pe = Object.getOwnPropertyDescriptor, e = (f, s, n, o) => {
869
+ for (var r = o > 1 ? void 0 : o ? pe(s, n) : s, i = f.length - 1, c; i >= 0; i--)
864
870
  (c = f[i]) && (r = (o ? c(s, n, r) : c(r)) || r);
865
- return o && r && de(s, n, r), r;
871
+ return o && r && le(s, n, r), r;
866
872
  };
867
873
  let t = class extends p {
868
874
  constructor() {
@@ -891,7 +897,7 @@ let t = class extends p {
891
897
  this.destroyAnimation(), this.createAnimation();
892
898
  }
893
899
  async createAnimation() {
894
- const f = l[this.easing] ?? this.easing, s = this.keyframes ?? ce[this.name], o = (await this.defaultSlot).assignedElements()[0];
900
+ const f = l[this.easing] ?? this.easing, s = this.keyframes ?? de[this.name], o = (await this.defaultSlot).assignedElements()[0];
895
901
  return !o || !s ? !1 : (this.destroyAnimation(), this.animation = o.animate(s, {
896
902
  delay: this.delay,
897
903
  direction: this.direction,
@@ -992,6 +998,6 @@ t = e([
992
998
  ], t);
993
999
  export {
994
1000
  t as C,
995
- ce as a,
1001
+ de as a,
996
1002
  l as e
997
1003
  };
@@ -1,12 +1,12 @@
1
- import { h as l, C as Z, S as z, A as B, a as X, b as Y } from "./endpoints.D4h8hp1m.js";
1
+ import { h as l, C as Z, S as z, A as B, a as X, b as Y } from "./endpoints.6E17hFiK.js";
2
2
  import { M as G } from "./asset-link-format.QzzboHHE.js";
3
- import "./debounce.CIEhztrj.js";
3
+ import "./browser.BHOCIF_A.js";
4
4
  import "./lit-element.jLBm65_O.js";
5
5
  import "./form.B-5nQJva.js";
6
- import "./i18n.CH-wak_P.js";
6
+ import "./i18n.DDj5y9px.js";
7
7
  import { a as Q } from "./string.DUgD4c9f.js";
8
8
  import "./date-picker.D0SJADN6.js";
9
- import "./content-builder.OsUmm8Wu.js";
9
+ import "./content-builder.BGzxZUgi.js";
10
10
  import "./unsafe-html.Dff7-rCx.js";
11
11
  import { b as J } from "./_baseUniq.HFKneygy.js";
12
12
  function ee(e) {
@@ -0,0 +1,84 @@
1
+ const y = () => {
2
+ const t = window.navigator && window.navigator.userAgent || "";
3
+ return /Firefox/i.test(t);
4
+ }, w = () => navigator.userAgent.indexOf("Chrome") > -1, l = () => {
5
+ const t = window.navigator && window.navigator.userAgent || "";
6
+ return w() ? !1 : t.indexOf("Safari") > -1;
7
+ }, C = !l() && "VideoEncoder" in window, A = "showPopover" in document.createElement("div");
8
+ function c(t) {
9
+ if (t.assignedSlot)
10
+ return t.assignedSlot;
11
+ if (t.parentElement)
12
+ return t.parentElement;
13
+ const o = t.getRootNode();
14
+ return o instanceof ShadowRoot ? o.host : null;
15
+ }
16
+ function u(t, o) {
17
+ if (!t)
18
+ return null;
19
+ let n = c(t);
20
+ if (!n)
21
+ return null;
22
+ for (; n; ) {
23
+ if (n === document.body)
24
+ return;
25
+ if (o(n))
26
+ return n;
27
+ n = c(n);
28
+ }
29
+ return n;
30
+ }
31
+ function b(t) {
32
+ return u(t, (o) => {
33
+ const n = window.getComputedStyle(o), e = n.clipPath !== "none" && n.clipPath !== "", i = o.hasAttribute(
34
+ "data-overlayscrollbars-viewport"
35
+ ), s = n.transform !== "none", a = ["auto", "scroll", "hidden"].includes(
36
+ n.overflow
37
+ );
38
+ return !!(e || i || s && a);
39
+ });
40
+ }
41
+ const m = [
42
+ "transform",
43
+ "translate",
44
+ "scale",
45
+ "rotate",
46
+ "perspective"
47
+ ], S = [
48
+ "transform",
49
+ "translate",
50
+ "scale",
51
+ "rotate",
52
+ "perspective",
53
+ "filter"
54
+ ], v = ["paint", "layout", "strict", "content"];
55
+ function E(t) {
56
+ return u(
57
+ t,
58
+ (n) => {
59
+ const e = window.getComputedStyle(n), i = m.some(
60
+ (r) => e[r] ? e[r] !== "none" : !1
61
+ ), s = e.backdropFilter, a = !!s && s !== "none", f = e.filter !== "none", d = e.containerType !== "normal", g = S.some(
62
+ (r) => (e.willChange || "").includes(r)
63
+ ), p = v.some(
64
+ (r) => (e.contain || "").includes(r)
65
+ ), h = e.contentVisibility === "auto";
66
+ return l() && d ? !0 : i || g || p || a || h || f;
67
+ }
68
+ );
69
+ }
70
+ function P() {
71
+ return /iPad|iPhone|iPod/.test(navigator.userAgent);
72
+ }
73
+ export {
74
+ E as a,
75
+ y as b,
76
+ P as c,
77
+ w as d,
78
+ u as e,
79
+ b as f,
80
+ c as g,
81
+ l as i,
82
+ A as p,
83
+ C as s
84
+ };
@@ -2,7 +2,7 @@ import { n as i, C as v } from "./lib-cortex-element.CVMmyPMC.js";
2
2
  import { c as g } from "./component.styles.CRO4Odto.js";
3
3
  import { c as C } from "./custom-element.L4WJXn1j.js";
4
4
  import { F as x, v as w } from "./form.B-5nQJva.js";
5
- import { L as $ } from "./i18n.CH-wak_P.js";
5
+ import { L as $ } from "./i18n.DDj5y9px.js";
6
6
  import { H as S, g as O } from "./slot.j5oheLJC.js";
7
7
  import { w as m } from "./watch.CThbualB.js";
8
8
  import { r as u } from "./state.CSDxrqLd.js";
@@ -1,15 +1,15 @@
1
1
  import z from "../components/space.js";
2
- import { C as $ } from "./table.GCs54Y2t.js";
2
+ import { C as $ } from "./table.BkdcDorc.js";
3
3
  import { C as k } from "./typography.DJC_UXgs.js";
4
4
  import { n as h, C as F } from "./lib-cortex-element.CVMmyPMC.js";
5
- import { C, a as g } from "./color-swatch.DVzEaNeL.js";
5
+ import { C, a as g } from "./color-swatch.LEvHo5G_.js";
6
6
  import { c as A } from "./component.styles.CRO4Odto.js";
7
- import { D as p } from "./content-builder.OsUmm8Wu.js";
7
+ import { D as p } from "./content-builder.BGzxZUgi.js";
8
8
  import { c as S } from "./custom-element.L4WJXn1j.js";
9
- import { d as T } from "./debounce.CIEhztrj.js";
10
- import { L as E } from "./i18n.CH-wak_P.js";
9
+ import { d as T } from "./debounce.DaHuiSGU.js";
10
+ import { L as E } from "./i18n.DDj5y9px.js";
11
11
  import { w as x } from "./watch.CThbualB.js";
12
- import { g as D, a as R } from "./responsive.C8NCkfCG.js";
12
+ import { g as D, a as R } from "./responsive.Cf65FCWd.js";
13
13
  import { x as l, B as H, i as O } from "./lit-element.jLBm65_O.js";
14
14
  import { r as d } from "./state.CSDxrqLd.js";
15
15
  import { e as P } from "./query.BBf1UFkC.js";
@@ -7,8 +7,8 @@ import { n as a, C as k } from "./lib-cortex-element.CVMmyPMC.js";
7
7
  import { c as F } from "./component.styles.CRO4Odto.js";
8
8
  import { c as n, C as h, H as $, l as z } from "./color.LzSGBy7o.js";
9
9
  import { c as O } from "./custom-element.L4WJXn1j.js";
10
- import { d as W } from "./debounce.CIEhztrj.js";
11
- import { L as A } from "./i18n.CH-wak_P.js";
10
+ import { d as W } from "./debounce.DaHuiSGU.js";
11
+ import { L as A } from "./i18n.DDj5y9px.js";
12
12
  import { w as i } from "./watch.CThbualB.js";
13
13
  import { i as G, x as u } from "./lit-element.jLBm65_O.js";
14
14
  import { r as c } from "./state.CSDxrqLd.js";
@@ -1,11 +1,11 @@
1
- import { C as _ } from "./button.DwJEeW2t.js";
2
- import { C as u, D as h } from "./dialog.BYCWepBc.js";
1
+ import { C as _ } from "./button.bufNNyTc.js";
2
+ import { C as u, D as h } from "./dialog.DdsJ_WqU.js";
3
3
  import g from "../components/dropdown.js";
4
4
  import { C as x } from "./typography.DJC_UXgs.js";
5
5
  import { n as e, C as b } from "./lib-cortex-element.CVMmyPMC.js";
6
6
  import { c as y } from "./component.styles.CRO4Odto.js";
7
7
  import { c as w } from "./custom-element.L4WJXn1j.js";
8
- import { L as $ } from "./i18n.CH-wak_P.js";
8
+ import { L as $ } from "./i18n.DDj5y9px.js";
9
9
  import { i as z, x as d } from "./lit-element.jLBm65_O.js";
10
10
  import { e as m } from "./query.BBf1UFkC.js";
11
11
  import { e as a } from "./class-map.BiVq-cVR.js";
@@ -37,7 +37,7 @@ const C = {
37
37
  /* Mobile */
38
38
  )
39
39
  }, L = [C, u, h];
40
- var A = /* @__PURE__ */ ((a) => (a.All = "ALL", a.CanDelete = "CanDelete", a.CanDownload = "CanDownload", a.CanFind = "CanFind", a.CanManageRights = "CanManageRights", a.CanMove = "CanMove", a.CanRead = "CanRead", a.CanReadAll = "CanReadAll", a.CanReadAndWrite = "CanReadAndWrite", a.CanReadLarge = "CanReadLarge", a.CanReadMedium = "CanReadMedium", a.CanReadOriginal = "CanReadOriginal", a.CanShare = "CanShare", a.CanUpload = "CanUpload", a.CanWrite = "CanWrite", a.None = "NONE", a))(A || {}), g = /* @__PURE__ */ ((a) => (a.All = "all", a.Audio = "audio", a.Image = "image", a.Other = "other", a.Video = "video", a))(g || {}), R = /* @__PURE__ */ ((a) => (a.Content = "content", a.Template = "template", a))(R || {}), b = /* @__PURE__ */ ((a) => (a.Administrator = "Administrator", a.Designer = "Designer", a.Editor = "Editor", a))(b || {}), r = /* @__PURE__ */ ((a) => (a.Accordion = "BlockAccordion", a.Analytics = "BlockAnalytics", a.Audio = "BlockAudio", a.Button = "BlockButton", a.Carousel = "BlockCarousel", a.ColorSwatches = "BlockColorSwatches", a.Column = "BlockCell", a.ColumnGroup = "BlockColumns", a.Divider = "BlockDivider", a.DocumentViewer = "BlockDocumentViewer", a.FontKit = "BlockFontKit", a.Gallery = "BlockGallery", a.Header = "BlockHeader", a.Image = "BlockImage", a.RichText = "BlockRichText", a.SearchBox = "BlockSearchBox", a.TabGroup = "BlockTabs", a.Text = "BlockText", a.Timeline = "BlockTimeline", a.Video = "BlockVideo", a))(r || {});
40
+ var A = /* @__PURE__ */ ((a) => (a.All = "ALL", a.CanDelete = "CanDelete", a.CanDownload = "CanDownload", a.CanFind = "CanFind", a.CanManageRights = "CanManageRights", a.CanMove = "CanMove", a.CanRead = "CanRead", a.CanReadAll = "CanReadAll", a.CanReadAndWrite = "CanReadAndWrite", a.CanReadLarge = "CanReadLarge", a.CanReadMedium = "CanReadMedium", a.CanReadOriginal = "CanReadOriginal", a.CanShare = "CanShare", a.CanUpload = "CanUpload", a.CanWrite = "CanWrite", a.None = "NONE", a))(A || {}), g = /* @__PURE__ */ ((a) => (a.All = "all", a.Audio = "audio", a.Image = "image", a.Other = "other", a.Video = "video", a))(g || {}), R = /* @__PURE__ */ ((a) => (a.Content = "content", a.Template = "template", a))(R || {}), b = /* @__PURE__ */ ((a) => (a.Administrator = "Administrator", a.Designer = "Designer", a.Editor = "Editor", a))(b || {}), r = /* @__PURE__ */ ((a) => (a.Accordion = "BlockAccordion", a.Analytics = "BlockAnalytics", a.Audio = "BlockAudio", a.Button = "BlockButton", a.Carousel = "BlockCarousel", a.ColorSwatches = "BlockColorSwatches", a.Column = "BlockCell", a.ColumnGroup = "BlockColumns", a.DamView = "BlockDamView", a.Divider = "BlockDivider", a.DocumentViewer = "BlockDocumentViewer", a.FontKit = "BlockFontKit", a.Gallery = "BlockGallery", a.Header = "BlockHeader", a.Image = "BlockImage", a.RichText = "BlockRichText", a.SearchBox = "BlockSearchBox", a.TabGroup = "BlockTabs", a.Text = "BlockText", a.Timeline = "BlockTimeline", a.Video = "BlockVideo", a))(r || {});
41
41
  const f = Object.values(r).filter(
42
42
  (a) => a !== "BlockCell"
43
43
  /* Column */
@@ -0,0 +1,15 @@
1
+ const c = (s, n = !1) => {
2
+ const a = Symbol(), o = Symbol();
3
+ return (u, d, t) => {
4
+ const l = t.value;
5
+ t.value = function(...i) {
6
+ const e = this;
7
+ clearTimeout(e[a]), n && !e[o] && (l.apply(this, i), e[o] = !0), e[a] = window.setTimeout(() => {
8
+ n || l.apply(this, i), e[o] = !1;
9
+ }, s);
10
+ }, t.configurable === !1 && (t.configurable = !0);
11
+ };
12
+ };
13
+ export {
14
+ c as d
15
+ };
@@ -3,7 +3,7 @@ import { c as S } from "./component.styles.CRO4Odto.js";
3
3
  import { O, C as D, H, z as A, o as B } from "./overlayscrollbars.BMav4RQ4.js";
4
4
  import { a as c, s as p, w as x } from "./event.BeKOsirN.js";
5
5
  import { c as $ } from "./custom-element.L4WJXn1j.js";
6
- import { L } from "./i18n.CH-wak_P.js";
6
+ import { L } from "./i18n.DDj5y9px.js";
7
7
  import { M as P } from "./modal.U1QltQKe.js";
8
8
  import { l as w, u as _ } from "./scroll.xtO5yojm.js";
9
9
  import { H as E } from "./slot.j5oheLJC.js";
@@ -17,7 +17,7 @@ import { o as q } from "./style-map.llVFPd__.js";
17
17
  import { n as b } from "./when.Dr1es41R.js";
18
18
  import { s as u, g as h } from "./animation-registry.HmpwNuGH.js";
19
19
  import F from "../components/divider.js";
20
- import { C as I } from "./icon-button.CQiBjznj.js";
20
+ import { C as I } from "./icon-button.DOrACmes.js";
21
21
  import U from "../components/popup.js";
22
22
  var l = /* @__PURE__ */ ((e) => (e.Both = "both", e.Footer = "footer", e.Header = "header", e.None = "none", e))(l || {});
23
23
  const j = R`:host{--width:31rem;--header-spacing:var(--cx-spacing-small) var(--cx-spacing-large);--body-spacing:var(--cx-spacing-medium) var(--cx-spacing-large);--divider-spacing:0;--footer-spacing:var(--cx-spacing-medium);--max-width:100%;--max-height:100%;--overlay-background-color:var(--cx-overlay-background-color);display:contents}.dialog{justify-content:center;align-items:center;display:flex}.dialog--absolute{position:absolute}.dialog__panel{width:var(--width);height:var(--dialog-height,auto);background-color:var(--cx-panel-background-color);border-radius:var(--cx-border-radius-medium);box-shadow:var(--cx-shadow-x-large);max-width:calc(var(--max-width) - var(--cx-spacing-2x-large));max-height:calc(var(--max-height) - var(--cx-spacing-2x-large));flex-direction:column;display:flex;overflow:hidden}.dialog__panel:focus{outline:none}@media screen and (width<=420px){.dialog__panel{max-height:80vh}}.dialog--open .dialog__panel{opacity:1;display:flex}.dialog__header{padding:var(--header-spacing);flex:none;display:flex}.dialog__header-divider,.dialog__footer-divider{--spacing:0;padding:var(--divider-spacing)}.dialog__title{font:inherit;font-family:var(--cx-font-sans);font-size:var(--cx-font-size-large);font-weight:var(--cx-font-weight-regular);line-height:var(--cx-line-height-large);flex:auto;align-items:center;margin:0;display:flex}.dialog__header-actions{justify-content:end;gap:var(--cx-spacing-2x-small);flex-wrap:wrap;flex-shrink:0;display:flex}.dialog__header-actions cx-icon-button,.dialog__header-actions ::slotted(cx-icon-button){font-size:var(--cx-font-size-3x-large);flex:none;align-items:center;display:flex}.dialog__body{padding:var(--body-spacing);-webkit-overflow-scrolling:touch;font-size:var(--cx-font-size-medium);font-weight:var(--cx-font-weight-regular);line-height:var(--cx-line-height-small);z-index:2;flex:auto;display:block;position:relative;overflow:auto}.dialog--overlay-scrollbar .dialog__body{flex-direction:column;display:flex}.dialog__footer{text-align:right;padding:var(--footer-spacing);z-index:1;flex:none;position:relative}.dialog__footer ::slotted(cx-button:not(:first-of-type)){margin-inline-start:var(--cx-spacing-x-small)}.dialog:not(.dialog--has-footer) .dialog__footer{display:none}@media (forced-colors:active){.dialog__panel{border:solid 1px var(--cx-color-neutral-0)}}.dialog__overlay{background-color:var(--overlay-background-color);opacity:0;pointer-events:none;z-index:1;justify-content:center;align-items:center;display:flex}.dialog--open .dialog__overlay{opacity:1;pointer-events:auto}`;