@cntrl-site/components 1.0.109 → 1.0.110

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.
@@ -0,0 +1,196 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react/jsx-runtime"),s=require("react"),Mt=require("react-dom"),b=require("classnames"),Ot=require("./scalingValue-CSHYgTZl.js"),Tt=require("./buildColorVars-CE2D5cQV.js"),Nt=require("./useScopedStyles-Bf6yohVQ.js"),_t=require("./buildValidUrl-CtJWFCPi.js"),Y=require("./textStylesToCss-CNN3zZTV.js"),jt=require("./useLightboxScrollLock-Hf16Eq4g.js"),Ue=["title2","title3","title4"],A=["column1Width","column2Width","column3Width","column4Width"],Ye=["column1","column2","column3","column4","column5"],Ht=["title",...Ue],Ge={center:{x:"50%",y:"50%"},"left-top":{x:"0%",y:"0%"},"top-center":{x:"50%",y:"0%"},"top-right":{x:"100%",y:"0%"},"left-center":{x:"0%",y:"50%"},"right-center":{x:"100%",y:"50%"},"left-bottom":{x:"0%",y:"100%"},"bottom-center":{x:"50%",y:"100%"},"right-bottom":{x:"100%",y:"100%"}},kt=Object.keys(Ge),z=300,le=300,G=.004,zt=20,De=/\.(mp4|webm|ogg|mov)(\?|$)/i,Xe=["--cntrl-article-width","--cntrl-article-top","--cntrl-article-left","--cntrl-viewport-height"],At={triggerColor:"trigger-color",triggerHoverColor:"trigger-hover-color",closeColor:"close-color",closeHoverColor:"close-hover-color",panelColor:"panel-color",textColor:"text-color",textHoverColor:"text-hover-color",overlayColor:"overlay-color"},Ft=[{side:"top",axis:"y",variant:"row-padding"},{side:"bottom",axis:"y",variant:"row-padding",reverse:!0},{side:"left",axis:"x",variant:"column-padding",opposite:"right"},{side:"right",axis:"x",variant:"column-padding",opposite:"left",reverse:!0}];function Ze({columns:e,columnGap:o,panelWidth:n,panelPadding:l}){return Math.max(0,n-l.left-l.right-(e-1)*o)}function Je(e){const o=Ze(e)/e.columns;return Object.fromEntries(A.slice(0,e.columns-1).map(n=>[n,o]))}function Vt(e,o){return typeof e.columns!="number"||e.columns===o.columns?e:{...e,...Je({...o,...e})}}function Wt(e){const o=Ze(e),n=A.slice(0,e.columns-1).map(d=>{const f=e[d];return typeof f=="number"?Math.max(0,f):o/e.columns}),l=n.reduce((d,f)=>d+f,0),a=l>o?o/l:1;return[...n.map(d=>d*a),Math.max(0,o-l*a)]}function qt(e){const o=e.reduce((n,l)=>n+l,0);return e.map(n=>`minmax(0, ${o>0?n/o*100:1}fr)`).join(" ")}function Dt(e){const o=[];return e.forEach((n,l)=>{var f;const a=((f=n.group)==null?void 0:f.trim())??"",d=o[o.length-1];if(!d||a!==""&&a!==d.label){o.push({label:a,rows:[{item:n,index:l}]});return}d.rows.push({item:n,index:l})}),o}function k(e){return((e==null?void 0:e.image)??[]).filter(o=>!!(o!=null&&o.assetId))}function Be(e,o,n){return`${e}-${o}-${n}`}function Qe({type:e,name:o,assetId:n}){return e?e==="video":De.test(o??"")||De.test(n)}function Pe(e){const o=e?getComputedStyle(e).getPropertyValue("--cntrl-article-width").trim():"";if(!o)return e;let n=e;for(let l=n.parentElement;l&&getComputedStyle(l).getPropertyValue("--cntrl-article-width").trim()===o;l=l.parentElement)n=l;return n}function se(e){const o=Pe(e);if(!o)return{};const n=getComputedStyle(o);return Object.fromEntries(Xe.map(l=>[l,n.getPropertyValue(l).trim()]).filter(([,l])=>l))}function Ke(e,o){const n=l=>e[`${o}${l}`];return{fontSettings:{fontFamily:n("FontFamily"),...n("FontSettings")},fontSize:n("FontSize"),lineHeight:n("LineHeight"),letterSpacing:n("LetterSpacing"),wordSpacing:n("WordSpacing"),textAlign:n("TextAlign"),textAppearance:n("TextAppearance"),color:"#000000"}}function Bt(e){return`
2
+ .${e}-trigger,
3
+ .${e}-close {
4
+ display: inline-block;
5
+ margin: 0;
6
+ padding: 0;
7
+ border: 0;
8
+ background: none;
9
+ cursor: pointer;
10
+ white-space: nowrap;
11
+ transition: color 150ms ease;
12
+ -webkit-appearance: none;
13
+ appearance: none;
14
+ -webkit-tap-highlight-color: transparent;
15
+ }
16
+ .${e}-trigger {
17
+ color: var(--${e}-trigger-color);
18
+ transition: color 150ms ease, opacity ${z}ms ease;
19
+ }
20
+ .${e}-trigger-hidden {
21
+ opacity: 0;
22
+ }
23
+ .${e}-close {
24
+ position: absolute;
25
+ z-index: 2;
26
+ color: var(--${e}-close-color);
27
+ }
28
+ .${e}-trigger:focus,
29
+ .${e}-close:focus {
30
+ outline: none;
31
+ }
32
+ .${e}-trigger:focus-visible,
33
+ .${e}-close:focus-visible {
34
+ outline: 1px solid currentColor;
35
+ outline-offset: 2px;
36
+ }
37
+ .${e}-interactive .${e}-trigger:hover {
38
+ color: var(--${e}-trigger-hover-color, var(--${e}-trigger-color));
39
+ }
40
+ .${e}-close:hover {
41
+ color: var(--${e}-close-hover-color, var(--${e}-close-color));
42
+ }
43
+ .${e}-editor .${e}-trigger {
44
+ cursor: default;
45
+ }
46
+ .${e}-overlay {
47
+ position: fixed;
48
+ inset: 0;
49
+ z-index: 9997;
50
+ overflow: hidden;
51
+ overscroll-behavior: none;
52
+ opacity: 0;
53
+ pointer-events: none;
54
+ transition: opacity ${z}ms ease;
55
+ }
56
+ .${e}-inline-layer {
57
+ position: fixed;
58
+ inset: 0;
59
+ z-index: 9997;
60
+ overflow: hidden;
61
+ pointer-events: none;
62
+ }
63
+ .${e}-overlay-editor {
64
+ inset: auto;
65
+ top: var(--cntrl-article-top, 0);
66
+ left: var(--cntrl-article-left, 0);
67
+ width: var(--cntrl-article-width, 100vw) !important;
68
+ height: var(--cntrl-viewport-height, 100vh) !important;
69
+ }
70
+ .${e}-overlay-edit-mode {
71
+ z-index: 1;
72
+ }
73
+ .${e}-overlay-active {
74
+ opacity: 1;
75
+ pointer-events: auto;
76
+ }
77
+ .${e}-backdrop {
78
+ position: absolute;
79
+ inset: 0;
80
+ background-color: var(--${e}-overlay-color);
81
+ }
82
+ .${e}-media-layer {
83
+ position: absolute;
84
+ inset: 0;
85
+ pointer-events: none;
86
+ }
87
+ .${e}-media {
88
+ position: absolute;
89
+ inset: 0;
90
+ width: 100%;
91
+ height: 100%;
92
+ object-fit: cover;
93
+ opacity: 0;
94
+ }
95
+ .${e}-media-contain {
96
+ object-fit: contain;
97
+ }
98
+ .${e}-media-visible,
99
+ .${e}-media-fading {
100
+ transition: opacity ${le}ms cubic-bezier(0, 0, 0.58, 1);
101
+ }
102
+ .${e}-media-visible {
103
+ z-index: 1;
104
+ opacity: 1;
105
+ }
106
+ .${e}-media-covered {
107
+ opacity: 1;
108
+ }
109
+ .${e}-media-fading {
110
+ opacity: 0;
111
+ }
112
+ .${e}-media-layer-instant .${e}-media {
113
+ transition: none;
114
+ }
115
+ .${e}-panel {
116
+ position: absolute;
117
+ top: var(--${e}-panel-y);
118
+ left: var(--${e}-panel-x);
119
+ z-index: 1;
120
+ box-sizing: border-box;
121
+ max-width: 100%;
122
+ max-height: 100%;
123
+ overflow-y: auto;
124
+ transform: translate(calc(-1 * var(--${e}-panel-x)), calc(-1 * var(--${e}-panel-y) + 12px));
125
+ background-color: var(--${e}-panel-color);
126
+ color: var(--${e}-text-color);
127
+ overscroll-behavior: contain;
128
+ transition: transform ${z}ms cubic-bezier(0, 0, 0.58, 1);
129
+ }
130
+ .${e}-overlay-active .${e}-panel {
131
+ transform: translate(calc(-1 * var(--${e}-panel-x)), calc(-1 * var(--${e}-panel-y)));
132
+ }
133
+ .${e}-panel-settled {
134
+ transition: none;
135
+ }
136
+ .${e}-panel-inline {
137
+ position: relative;
138
+ top: auto;
139
+ left: auto;
140
+ max-height: none;
141
+ transform: none;
142
+ transition: none;
143
+ }
144
+ .${e}-panel-copy {
145
+ position: absolute;
146
+ pointer-events: none;
147
+ }
148
+ @media (prefers-reduced-motion: reduce) {
149
+ .${e}-panel {
150
+ transition: none;
151
+ }
152
+ }
153
+ .${e}-group {
154
+ display: grid;
155
+ grid-template-columns: var(--${e}-grid-columns);
156
+ column-gap: var(--${e}-column-gap);
157
+ }
158
+ .${e}-group ~ .${e}-group {
159
+ margin-top: var(--${e}-group-gap);
160
+ }
161
+ .${e}-group-label {
162
+ grid-column: 1;
163
+ align-self: start;
164
+ min-width: 0;
165
+ overflow-wrap: anywhere;
166
+ }
167
+ .${e}-row {
168
+ grid-column: 2 / -1;
169
+ display: grid;
170
+ grid-template-columns: subgrid;
171
+ align-items: baseline;
172
+ }
173
+ a.${e}-row {
174
+ color: inherit;
175
+ text-decoration: none;
176
+ }
177
+ .${e}-group-unlabeled .${e}-row {
178
+ grid-column: 1 / -1;
179
+ }
180
+ .${e}-title {
181
+ min-width: 0;
182
+ overflow-wrap: anywhere;
183
+ white-space: pre-line;
184
+ transition: color 150ms cubic-bezier(0, 0, 0.58, 1);
185
+ }
186
+ .${e}-interactive .${e}-row:hover .${e}-title,
187
+ .${e}-row:focus-visible .${e}-title,
188
+ .${e}-panel-copy .${e}-row-active .${e}-title {
189
+ color: var(--${e}-text-hover-color, var(--${e}-text-color));
190
+ }
191
+ .${e}-control-anchor {
192
+ position: absolute;
193
+ pointer-events: none;
194
+ z-index: 2;
195
+ }
196
+ `}function Kt({P:e,media:o,isVisible:n,isLoaded:l,isCovered:a,isFading:d,onLoad:f}){const y=s.useRef(null),r=Qe(o),R=b(`${e}-media`,o.objectFit==="contain"&&`${e}-media-contain`,n&&l&&`${e}-media-visible`,a&&`${e}-media-covered`,d&&`${e}-media-fading`);return s.useEffect(()=>{var F;const I=y.current;I&&(n?(F=I.play())==null||F.catch(()=>{}):I.pause())},[n]),r?u.jsx("video",{ref:y,className:R,src:o.assetId,muted:!0,loop:!0,playsInline:!0,preload:"auto",onLoadedData:f}):u.jsx("img",{className:R,src:o.assetId,alt:"",decoding:"async",onLoad:f})}function Ut(e,o,n,l,a){const d=o[o.length-1];let f=n;return o.slice(0,-1).map((y,r)=>{const R=f+y+l/2;return f+=y+l,u.jsx("div",{"data-controls":A[r],"data-controls-axis":"x","data-controls-variant":"column-width","data-controls-min":String(zt),"data-controls-max-fraction":String(y+d),className:`${e}-control-anchor`,style:{top:0,left:a(R-G/2),width:a(G),height:"100%"}},A[r])})}function Yt(e,o,n,l){return Ft.map(a=>{const d=l(Math.max(n[a.side],G)),f=a.axis==="x";return u.jsx("div",{"data-controls":`panelPadding.${a.side}`,"data-controls-axis":a.axis,"data-controls-variant":a.variant,"data-controls-reverse":"reverse"in a?"":void 0,"data-controls-min":"0","data-controls-max-fraction":"opposite"in a?String(Math.max(0,o-n[a.opposite])):void 0,className:`${e}-control-anchor`,style:{[a.side]:0,...f?{top:0,width:d,height:"100%"}:{left:0,width:"100%",height:d}}},a.side)})}function Gt({settings:e,content:o,isEditor:n,isEditMode:l,isPreviewMode:a,portalId:d,currentState:f,unavailableStates:y}){var Fe;const{prefix:r}=Nt.useScopedStyles(),{type:R,triggerLabel:I,closeLabel:F,columns:X,columnGap:ie,hoverInterval:ae,panelPosition:et,panelWidth:ce,panelPadding:M,panelRadius:tt,groupGap:ue,triggerColor:ot,triggerHoverColor:nt,closeColor:rt,closeHoverColor:st,panelColor:lt,textColor:it,textHoverColor:at,overlayColor:ct}=e,x=s.useMemo(()=>o??[],[o]),V=s.useRef(null),W=s.useRef(null),Z=s.useRef(null),de=s.useRef(null),pe=s.useRef(null),fe=s.useRef(null),me=s.useRef(null),[ut,q]=s.useState(!1),[O,ge]=s.useState(!1),[_,ve]=s.useState(!1),[he,ye]=s.useState(!1),[v,T]=s.useState(null),[$e,we]=s.useState(0),[J,dt]=s.useState(()=>new Set),[Ce,pt]=s.useState(()=>new Set),[D,be]=s.useState(null),[ft,mt]=s.useState(null),[E,gt]=s.useState(null),[Q,P]=s.useState({}),[ee,te]=s.useState(null),[vt,xe]=s.useState(!1),N=n&&!a,$=!N,m=R==="a",ht=N&&f==="open"&&!(y!=null&&y.includes("open")),w=!m&&(ht||($||l)&&ut),Se=$&&(m||w),h=t=>Ot.scalingValue(t,n??!1),yt=s.useMemo(()=>Bt(r),[r]),Le=Ge[et],Ee=Wt(e),$t=Ht.slice(0,X-1),j=X>1,wt=s.useMemo(()=>j?Dt(x):[{label:"",rows:x.map((t,i)=>({item:t,index:i}))}],[x,j]),B=v===null?[]:k(x[v]),Re=B[$e],S=v!==null&&Re?Be(v,$e,Re.assetId):null,Ie=S!==null&&Ce.has(S);jt.useLightboxScrollLock(w&&!N),s.useEffect(()=>{N&&!l&&q(!1)},[N,l]),s.useEffect(()=>{if(w){P(se(V.current)),ge(!0);return}ve(!1),T(null);const t=window.setTimeout(()=>ge(!1),z);return()=>window.clearTimeout(t)},[w]),s.useEffect(()=>{var i;if(!w||!O)return;(i=Z.current)==null||i.getBoundingClientRect();const t=requestAnimationFrame(()=>ve(!0));return()=>cancelAnimationFrame(t)},[w,O]),s.useEffect(()=>{if(!_){ye(!1);return}const t=window.setTimeout(()=>ye(!0),z);return()=>window.clearTimeout(t)},[_]);const K=s.useCallback(()=>{const t=W.current,i=Z.current;if(!t||!i)return;const p=t.getBoundingClientRect(),c=i.getBoundingClientRect();gt({top:p.top-c.top,left:p.left-c.left})},[]),Me=O||m&&J.size>0;s.useEffect(()=>{const t=V.current;if(!Me||!t||typeof ResizeObserver>"u")return;const i=()=>P(C=>{const L=se(t);return Xe.every(U=>C[U]===L[U])?C:L}),p=new ResizeObserver(i);p.observe(t);const c=new MutationObserver(i),g=Pe(t);return g&&g!==t&&(p.observe(g),c.observe(g,{attributes:!0,attributeFilter:["style"]})),()=>{p.disconnect(),c.disconnect()}},[Me]),s.useLayoutEffect(()=>{if(O)return K(),window.addEventListener("resize",K),()=>window.removeEventListener("resize",K)},[O,Q,K]),s.useEffect(()=>{var i;if(!w||!$)return;(i=de.current)==null||i.focus({preventScroll:!0});const t=p=>{var c;p.key==="Escape"&&(q(!1),(c=W.current)==null||c.focus({preventScroll:!0}))};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[w,$]),s.useLayoutEffect(()=>{if(!m||v===null)return;const t=pe.current,i=fe.current;if(!t||!i)return;const p=t.getBoundingClientRect(),c=i.getBoundingClientRect();te({top:p.top-c.top,left:p.left-c.left,width:p.width})},[m,v]),s.useEffect(()=>{if(v!==null)return;const t=window.setTimeout(()=>te(null),le);return()=>window.clearTimeout(t)},[v]);const Oe=ee!==null;s.useEffect(()=>{if(!m||!Oe)return;const t=()=>{xe(!0),T(null),te(null)};return document.addEventListener("scroll",t,{capture:!0,passive:!0}),window.addEventListener("resize",t),()=>{document.removeEventListener("scroll",t,{capture:!0}),window.removeEventListener("resize",t)}},[m,Oe]),s.useEffect(()=>{Se&&x.forEach(t=>k(t).forEach(i=>{Qe(i)||(new Image().src=i.assetId)}))},[Se,x]),s.useEffect(()=>{if(B.length<2)return;const t=window.setInterval(()=>{we(i=>(i+1)%B.length)},ae);return()=>window.clearInterval(t)},[v,B.length,ae]),s.useLayoutEffect(()=>{const t=me.current;me.current=S,S!==null&&(mt(S),be(t))},[S]),s.useEffect(()=>{if(!Ie||D===null)return;const t=window.setTimeout(()=>be(null),le);return()=>window.clearTimeout(t)},[Ie,D]);const Te=()=>{var t;$&&(q(!1),(t=W.current)==null||t.focus({preventScroll:!0}))},Ne=t=>{if(!$||k(x[t]).length===0){T(null);return}dt(i=>i.has(t)?i:new Set(i).add(t)),m&&v===null&&P(se(V.current)),v!==t&&we(0),xe(!1),T(t)},_e=t=>{T(i=>i===t?null:i)},Ct=t=>{!$&&t.target.closest("a")&&t.preventDefault()},je=Y.omitTextColors(Y.textStylesToCss(Ke(e,"trigger"),n)),H=Ye.slice(0,X).map(t=>Y.omitTextColors(Y.textStylesToCss(Ke(e,t),n))),He=H[0].lineHeight,ke=(Fe=H[1])==null?void 0:Fe.lineHeight,bt=He!==void 0&&ke!==void 0?`calc((${ke} - ${He}) / 2)`:void 0,oe=Tt.buildColorVars(r,{triggerColor:ot,triggerHoverColor:nt,closeColor:rt,closeHoverColor:st,panelColor:lt,textColor:it,textHoverColor:at,overlayColor:ct},At,[]),ne=$?`${r}-interactive`:"",xt=!!l&&(m||he),ze=u.jsx("div",{className:b(`${r}-media-layer`,vt&&`${r}-media-layer-instant`),"aria-hidden":"true",children:[...J].flatMap(t=>k(x[t]).map((i,p)=>{const c=Be(t,p,i.assetId);return u.jsx(Kt,{P:r,media:i,isVisible:c===S,isLoaded:Ce.has(c),isCovered:c===D,isFading:S===null&&(c===ft||c===D),onLoad:()=>pt(g=>g.has(c)?g:new Set(g).add(c))},c)}))}),re=t=>{const i=!t&&xt;return u.jsxs("div",{ref:t?void 0:pe,className:b(`${r}-panel`,_&&he&&`${r}-panel-settled`,m&&`${r}-panel-inline`,t&&`${r}-panel-copy`),style:{width:h(ce),paddingTop:h(M.top),paddingRight:h(M.right),paddingBottom:h(M.bottom),paddingLeft:h(M.left),borderRadius:h(tt),[`--${r}-group-gap`]:h(ue),[`--${r}-panel-x`]:Le.x,[`--${r}-panel-y`]:Le.y,[`--${r}-grid-columns`]:qt(Ee),[`--${r}-column-gap`]:h(ie),...t&&ee},"data-lightbox-scrollable":m?void 0:"","aria-hidden":t||void 0,onMouseLeave:t?void 0:()=>T(null),onClickCapture:t?void 0:Ct,children:[i&&Yt(r,ce,M,h),i&&Ut(r,Ee,M.left,ie,h),wt.map((p,c)=>u.jsxs(s.Fragment,{children:[i&&c>0&&u.jsx("div",{"data-controls":"groupGap","data-controls-paired":"","data-controls-axis":"y","data-controls-reverse":"","data-controls-min":"0",className:`${r}-control-anchor`,style:{left:0,width:"100%",height:h(Math.max(ue,G))}}),u.jsxs("div",{className:b(`${r}-group`,!j&&`${r}-group-unlabeled`),style:{gridTemplateRows:`repeat(${p.rows.length}, auto) 1fr`},children:[j&&u.jsx("span",{className:`${r}-group-label`,style:{...H[0],gridRow:`1 / span ${p.rows.length+1}`,marginTop:bt},children:p.label}),p.rows.map(({item:g,index:C})=>{var We;const L=!t&&((We=g.link)!=null&&We.value)?g.link:void 0,Ve=L?"a":"div",U=L?{href:_t.buildValidUrl(L.value),...L.target==="blank"&&{target:"_blank",rel:"noreferrer"}}:{},Et=!L&&$&&k(g).length>0,Rt=t?{}:{tabIndex:Et?0:void 0,onMouseEnter:()=>Ne(C),onMouseLeave:()=>_e(C),onFocus:()=>Ne(C),onBlur:()=>_e(C)};return u.jsxs(Ve,{className:b(`${r}-row`,t&&C===v&&`${r}-row-active`),...U,...Rt,children:[!j&&u.jsx("div",{className:`${r}-title`,style:H[0],children:g.group}),$t.map((qe,It)=>u.jsx("div",{className:`${r}-title`,style:H[It+1],children:g[qe]},qe))]},C)})]})]},c))]})},St=O&&!m?u.jsxs("div",{ref:Z,className:b(`${r}-overlay`,n&&`${r}-overlay-editor`,l&&`${r}-overlay-edit-mode`,_&&`${r}-overlay-active`,ne),style:{...oe,...Q},role:"dialog","aria-modal":"true","aria-label":I,"data-selection":"none",children:[u.jsx("div",{className:`${r}-backdrop`,"aria-hidden":"true",onClick:Te}),ze,u.jsx("button",{ref:de,type:"button",className:`${r}-close`,style:{...je,top:(E==null?void 0:E.top)??0,left:(E==null?void 0:E.left)??0,visibility:E?"visible":"hidden"},onClick:Te,children:F}),re(!1)]}):null,Lt=m&&J.size>0?u.jsxs("div",{ref:fe,className:b(`${r}-inline-layer`,n&&`${r}-overlay-editor`,ne),style:{...oe,...Q},"aria-hidden":"true","data-selection":"none",children:[ze,ee&&re(!0)]}):null,Ae=St??Lt;return u.jsxs(u.Fragment,{children:[u.jsx("style",{dangerouslySetInnerHTML:{__html:yt}}),u.jsx("div",{ref:V,className:b(N&&`${r}-editor`,ne),style:oe,children:m?re(!1):u.jsx("button",{ref:W,type:"button",className:b(`${r}-trigger`,_&&`${r}-trigger-hidden`),style:je,"aria-haspopup":"dialog","aria-expanded":w,onClick:()=>{$&&q(!0)},children:I})}),Ae&&typeof document<"u"&&Mt.createPortal(Ae,(d?document.getElementById(d):null)??document.body)]})}exports.CHRONICLES_COLUMN_STYLE_PREFIXES=Ye;exports.CHRONICLES_COLUMN_WIDTH_KEYS=A;exports.CHRONICLES_EXTRA_TITLE_KEYS=Ue;exports.CHRONICLES_PANEL_POSITIONS=kt;exports.Chronicles=Gt;exports.applyChroniclesColumnCountChange=Vt;exports.getChroniclesEqualColumnWidths=Je;