@fluid-topics/ft-link 2.0.30 → 2.0.32

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.
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var qo=Object.create;var y2=Object.defineProperty;var Qo=Object.getOwnPropertyDescriptor;var Jo=Object.getOwnPropertyNames;var er=Object.getPrototypeOf,tr=Object.prototype.hasOwnProperty;var Ue=(t,o)=>()=>(o||t((o={exports:{}}).exports,o),o.exports);var or=(t,o,a,c)=>{if(o&&typeof o=="object"||typeof o=="function")for(let l of Jo(o))!tr.call(t,l)&&l!==a&&y2(t,l,{get:()=>o[l],enumerable:!(c=Qo(o,l))||c.enumerable});return t};var O=(t,o,a)=>(a=t!=null?qo(er(t)):{},or(o||!t||!t.__esModule?y2(a,"default",{value:t,enumerable:!0}):a,t));var M=Ue((fa,h2)=>{h2.exports=ftGlobals.wcUtils});var H=Ue((pa,x2)=>{x2.exports=ftGlobals.lit});var ge=Ue((ua,b2)=>{b2.exports=ftGlobals.litDecorators});var St=Ue((ma,L2)=>{L2.exports=ftGlobals.litClassMap});var Tt=Ue((il,C1)=>{C1.exports=ftGlobals.litUnsafeHTML});var jo=O(M());var bt=O(H()),Ie=O(ge()),Zo=O(St()),Be=O(M());var vt=globalThis,tt=vt.trustedTypes,C2=tt?tt.createPolicy("lit-html",{createHTML:t=>t}):void 0,R2="$lit$",Q=`lit$${Math.random().toFixed(9).slice(2)}$`,N2="?"+Q,rr=`<${N2}>`,ie=document,ot=()=>ie.createComment(""),De=t=>t===null||typeof t!="object"&&typeof t!="function",_t=Array.isArray,ar=t=>_t(t)||typeof t?.[Symbol.iterator]=="function",Ot=`[
1
+ "use strict";(()=>{var qo=Object.create;var y2=Object.defineProperty;var Qo=Object.getOwnPropertyDescriptor;var Jo=Object.getOwnPropertyNames;var er=Object.getPrototypeOf,tr=Object.prototype.hasOwnProperty;var Ue=(t,o)=>()=>{try{return o||t((o={exports:{}}).exports,o),o.exports}catch(a){throw o=0,a}};var or=(t,o,a,c)=>{if(o&&typeof o=="object"||typeof o=="function")for(let l of Jo(o))!tr.call(t,l)&&l!==a&&y2(t,l,{get:()=>o[l],enumerable:!(c=Qo(o,l))||c.enumerable});return t};var O=(t,o,a)=>(a=t!=null?qo(er(t)):{},or(o||!t||!t.__esModule?y2(a,"default",{value:t,enumerable:!0}):a,t));var M=Ue((fa,h2)=>{h2.exports=ftGlobals.wcUtils});var H=Ue((pa,x2)=>{x2.exports=ftGlobals.lit});var ge=Ue((ua,b2)=>{b2.exports=ftGlobals.litDecorators});var St=Ue((ma,L2)=>{L2.exports=ftGlobals.litClassMap});var Tt=Ue((il,C1)=>{C1.exports=ftGlobals.litUnsafeHTML});var jo=O(M());var bt=O(H()),Ie=O(ge()),Zo=O(St()),Be=O(M());var vt=globalThis,tt=vt.trustedTypes,C2=tt?tt.createPolicy("lit-html",{createHTML:t=>t}):void 0,R2="$lit$",Q=`lit$${Math.random().toFixed(9).slice(2)}$`,N2="?"+Q,rr=`<${N2}>`,ie=document,ot=()=>ie.createComment(""),De=t=>t===null||typeof t!="object"&&typeof t!="function",_t=Array.isArray,ar=t=>_t(t)||typeof t?.[Symbol.iterator]=="function",Ot=`[
2
2
  \f\r]`,He=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,S2=/-->/g,O2=/>/g,ne=RegExp(`>|${Ot}(?:([^\\s"'>=/]+)(${Ot}*=${Ot}*(?:[^
3
3
  \f\r"'\`<>=]|("|')|))|$)`,"g"),E2=/'/g,A2=/"/g,v2=/^(?:script|style|textarea|title)$/i,Mt=t=>(o,...a)=>({_$litType$:t,strings:o,values:a}),_2=Mt(1),M2=Mt(2),k2=Mt(3),We=Symbol.for("lit-noChange"),R=Symbol.for("lit-nothing"),z2=new WeakMap,le=ie.createTreeWalker(ie,129);function P2(t,o){if(!_t(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return C2!==void 0?C2.createHTML(o):o}var cr=(t,o)=>{let a=t.length-1,c=[],l,i=o===2?"<svg>":o===3?"<math>":"",f=He;for(let p=0;p<a;p++){let m=t[p],g,x,L=-1,S=0;for(;S<m.length&&(f.lastIndex=S,x=f.exec(m),x!==null);)S=f.lastIndex,f===He?x[1]==="!--"?f=S2:x[1]!==void 0?f=O2:x[2]!==void 0?(v2.test(x[2])&&(l=RegExp("</"+x[2],"g")),f=ne):x[3]!==void 0&&(f=ne):f===ne?x[0]===">"?(f=l??He,L=-1):x[1]===void 0?L=-2:(L=f.lastIndex-x[2].length,g=x[1],f=x[3]===void 0?ne:x[3]==='"'?A2:E2):f===A2||f===E2?f=ne:f===S2||f===O2?f=He:(f=ne,l=void 0);let A=f===ne&&t[p+1].startsWith("/>")?" ":"";i+=f===He?m+rr:L>=0?(c.push(g),m.slice(0,L)+R2+m.slice(L)+Q+A):m+Q+(L===-2?p:A)}return[P2(t,i+(t[a]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),c]},$e=class t{constructor({strings:o,_$litType$:a},c){let l;this.parts=[];let i=0,f=0,p=o.length-1,m=this.parts,[g,x]=cr(o,a);if(this.el=t.createElement(g,c),le.currentNode=this.el.content,a===2||a===3){let L=this.el.content.firstChild;L.replaceWith(...L.childNodes)}for(;(l=le.nextNode())!==null&&m.length<p;){if(l.nodeType===1){if(l.hasAttributes())for(let L of l.getAttributeNames())if(L.endsWith(R2)){let S=x[f++],A=l.getAttribute(L).split(Q),v=/([.?@])?(.*)/.exec(S);m.push({type:1,index:i,name:v[2],strings:A,ctor:v[1]==="."?At:v[1]==="?"?zt:v[1]==="@"?Rt:he}),l.removeAttribute(L)}else L.startsWith(Q)&&(m.push({type:6,index:i}),l.removeAttribute(L));if(v2.test(l.tagName)){let L=l.textContent.split(Q),S=L.length-1;if(S>0){l.textContent=tt?tt.emptyScript:"";for(let A=0;A<S;A++)l.append(L[A],ot()),le.nextNode(),m.push({type:2,index:++i});l.append(L[S],ot())}}}else if(l.nodeType===8)if(l.data===N2)m.push({type:2,index:i});else{let L=-1;for(;(L=l.data.indexOf(Q,L+1))!==-1;)m.push({type:7,index:i}),L+=Q.length-1}i++}}static createElement(o,a){let c=ie.createElement("template");return c.innerHTML=o,c}};function ye(t,o,a=t,c){if(o===We)return o;let l=c!==void 0?a._$Co?.[c]:a._$Cl,i=De(o)?void 0:o._$litDirective$;return l?.constructor!==i&&(l?._$AO?.(!1),i===void 0?l=void 0:(l=new i(t),l._$AT(t,a,c)),c!==void 0?(a._$Co??=[])[c]=l:a._$Cl=l),l!==void 0&&(o=ye(t,l._$AS(t,o.values),l,c)),o}var Et=class{constructor(o,a){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=a}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:a},parts:c}=this._$AD,l=(o?.creationScope??ie).importNode(a,!0);le.currentNode=l;let i=le.nextNode(),f=0,p=0,m=c[0];for(;m!==void 0;){if(f===m.index){let g;m.type===2?g=new rt(i,i.nextSibling,this,o):m.type===1?g=new m.ctor(i,m.name,m.strings,this,o):m.type===6&&(g=new Nt(i,this,o)),this._$AV.push(g),m=c[++p]}f!==m?.index&&(i=le.nextNode(),f++)}return le.currentNode=ie,l}p(o){let a=0;for(let c of this._$AV)c!==void 0&&(c.strings!==void 0?(c._$AI(o,c,a),a+=c.strings.length-2):c._$AI(o[a])),a++}},rt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,a,c,l){this.type=2,this._$AH=R,this._$AN=void 0,this._$AA=o,this._$AB=a,this._$AM=c,this.options=l,this._$Cv=l?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,a=this._$AM;return a!==void 0&&o?.nodeType===11&&(o=a.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,a=this){o=ye(this,o,a),De(o)?o===R||o==null||o===""?(this._$AH!==R&&this._$AR(),this._$AH=R):o!==this._$AH&&o!==We&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):ar(o)?this.k(o):this._(o)}O(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}T(o){this._$AH!==o&&(this._$AR(),this._$AH=this.O(o))}_(o){this._$AH!==R&&De(this._$AH)?this._$AA.nextSibling.data=o:this.T(ie.createTextNode(o)),this._$AH=o}$(o){let{values:a,_$litType$:c}=o,l=typeof c=="number"?this._$AC(o):(c.el===void 0&&(c.el=$e.createElement(P2(c.h,c.h[0]),this.options)),c);if(this._$AH?._$AD===l)this._$AH.p(a);else{let i=new Et(l,this),f=i.u(this.options);i.p(a),this.T(f),this._$AH=i}}_$AC(o){let a=z2.get(o.strings);return a===void 0&&z2.set(o.strings,a=new $e(o)),a}k(o){_t(this._$AH)||(this._$AH=[],this._$AR());let a=this._$AH,c,l=0;for(let i of o)l===a.length?a.push(c=new t(this.O(ot()),this.O(ot()),this,this.options)):c=a[l],c._$AI(i),l++;l<a.length&&(this._$AR(c&&c._$AB.nextSibling,l),a.length=l)}_$AR(o=this._$AA.nextSibling,a){for(this._$AP?.(!1,!0,a);o&&o!==this._$AB;){let c=o.nextSibling;o.remove(),o=c}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},he=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,a,c,l,i){this.type=1,this._$AH=R,this._$AN=void 0,this.element=o,this.name=a,this._$AM=l,this.options=i,c.length>2||c[0]!==""||c[1]!==""?(this._$AH=Array(c.length-1).fill(new String),this.strings=c):this._$AH=R}_$AI(o,a=this,c,l){let i=this.strings,f=!1;if(i===void 0)o=ye(this,o,a,0),f=!De(o)||o!==this._$AH&&o!==We,f&&(this._$AH=o);else{let p=o,m,g;for(o=i[0],m=0;m<i.length-1;m++)g=ye(this,p[c+m],a,m),g===We&&(g=this._$AH[m]),f||=!De(g)||g!==this._$AH[m],g===R?o=R:o!==R&&(o+=(g??"")+i[m+1]),this._$AH[m]=g}f&&!l&&this.j(o)}j(o){o===R?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},At=class extends he{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===R?void 0:o}},zt=class extends he{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==R)}},Rt=class extends he{constructor(o,a,c,l,i){super(o,a,c,l,i),this.type=5}_$AI(o,a=this){if((o=ye(this,o,a,0)??R)===We)return;let c=this._$AH,l=o===R&&c!==R||o.capture!==c.capture||o.once!==c.once||o.passive!==c.passive,i=o!==R&&(c===R||l);l&&this.element.removeEventListener(this.name,this,c),i&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},Nt=class{constructor(o,a,c){this.element=o,this.type=6,this._$AN=void 0,this._$AM=a,this.options=c}get _$AU(){return this._$AM._$AU}_$AI(o){ye(this,o)}};var nr=vt.litHtmlPolyfillSupport;nr?.($e,rt),(vt.litHtmlVersions??=[]).push("3.3.0");var G2=Symbol.for(""),lr=t=>{if(t?.r===G2)return t?._$litStatic$},xe=t=>({_$litStatic$:t,r:G2});var w2=new Map,kt=t=>(o,...a)=>{let c=a.length,l,i,f=[],p=[],m,g=0,x=!1;for(;g<c;){for(m=o[g];g<c&&(i=a[g],(l=lr(i))!==void 0);)m+=l+o[++g],x=!0;g!==c&&p.push(i),f.push(m),g++}if(g===c&&f.push(o[c]),x){let L=f.join("$$lit$$");(o=w2.get(L))===void 0&&(f.raw=f,w2.set(L,o=f)),a=p}return t(o,...a)},be=kt(_2),ha=kt(M2),xa=kt(k2);var Pt=O(ge()),F2=O(M());var at;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"})(at||(at={}));var G=O(H()),h=O(M()),T2=h.FtCssVariableFactory.extend("--ft-typography-font-family","",h.designSystemVariables.titleFont),Z=h.FtCssVariableFactory.extend("--ft-typography-font-family","",h.designSystemVariables.contentFont),C={fontFamily:Z,fontSize:h.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:h.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:h.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:h.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:h.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Le={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-title-font-family","",T2),fontSize:h.FtCssVariableFactory.extend("--ft-typography-title-font-size","",C.fontSize,"20px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",C.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",C.letterSpacing,"0.15px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-title-line-height","",C.lineHeight,"1.2"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",C.textTransform,"inherit")},Ce={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",T2),fontSize:h.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",C.fontSize,"14px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",C.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",C.letterSpacing,"0.105px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",C.lineHeight,"1.7"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",C.textTransform,"inherit")},Se={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Z),fontSize:h.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",C.fontSize,"16px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",C.fontWeight,"600"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",C.letterSpacing,"0.144px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",C.lineHeight,"1.5"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",C.textTransform,"inherit")},Oe={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Z),fontSize:h.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",C.fontSize,"14px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",C.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",C.letterSpacing,"0.098px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",C.lineHeight,"1.7"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",C.textTransform,"inherit")},Ee={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Z),fontSize:h.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",C.fontSize,"16px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",C.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",C.letterSpacing,"0.496px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",C.lineHeight,"1.5"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",C.textTransform,"inherit")},Ae={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Z),fontSize:h.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",C.fontSize,"14px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",C.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",C.letterSpacing,"0.252px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",C.lineHeight,"1.4"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",C.textTransform,"inherit")},ze={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Z),fontSize:h.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",C.fontSize,"12px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",C.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",C.letterSpacing,"0.396px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",C.lineHeight,"1.33"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",C.textTransform,"inherit")},Re={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Z),fontSize:h.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",C.fontSize,"10px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",C.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",C.letterSpacing,"0.33px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",C.lineHeight,"1.6"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",C.textTransform,"inherit")},Ne={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Z),fontSize:h.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",C.fontSize,"10px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",C.fontWeight,"normal"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",C.letterSpacing,"1.5px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",C.lineHeight,"1.6"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",C.textTransform,"uppercase")},ve={fontFamily:h.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Z),fontSize:h.FtCssVariableFactory.extend("--ft-typography-button-font-size","",C.fontSize,"14px"),fontWeight:h.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",C.fontWeight,"600"),letterSpacing:h.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",C.letterSpacing,"1.246px"),lineHeight:h.FtCssVariableFactory.extend("--ft-typography-button-line-height","",C.lineHeight,"1.15"),textTransform:h.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",C.textTransform,"uppercase")},I2=G.css`
4
4
  .ft-typography--title {