Spade
Mini Shell
| Directory:~$ /home/lmsyaran/www/administrator/components/com_sppagebuilder/assets/editor/dist/js/ |
| [Home] [System Details] [Kill Me] |
/*! For license information please see 254.min.js.LICENSE.txt */
"use
strict";(self.webpackChunkreact_typescript_webpack_backend_editor=self.webpackChunkreact_typescript_webpack_backend_editor||[]).push([[254],{6626:(t,e,n)=>{n.d(e,{Z:()=>l});var
r=n(824),o=n(4185),i=n(917),a=n(5944);const l=function(t){var
e=t.variation,n=void
0===e?"default":e,r=t.badgeCss,o=t.children;return(0,a.tZ)("div",{css:[c.wrapper({variation:n}),r,";label:Badge;"],children:o})};var
c={wrapper:function(t){var e=t.variation,n=void
0===e?"default":e;return(0,i.iv)(o.c.body(),";padding:",r.W0[2],"
",r.W0[12],";width:fit-content;border-radius:",r.E0[14],";background-color:",r.qo.background.primary,";color:",r.qo.text.default,";","success"===n&&(0,i.iv)("background-color:",r.qo.background.success,";color:",r.qo.text.success,";;label:wrapper;"),"
","error"===n&&(0,i.iv)("background-color:",r.qo.background.error,";color:",r.qo.text.error,";;label:wrapper;"),";;label:wrapper;")}}},3254:(t,e,n)=>{n.d(e,{Z:()=>Z});var
r=n(6626),o=n(3871),i=n(7264),a=n(824),l=n(4185),c=n(917),s=n(1234),u=n(680),d=n(4101),f=n(5944),p={100:"Thin",200:"ExtraLight",300:"Light",400:"Regular",500:"Medium",600:"SemiBold",700:"Bold",800:"ExtraBold",900:"Black"};const
h=function(t){var
e=t.font,n=t.variant,d=t.isSelected,h=t.isInstalled,v=t.onChange,g=t.onRemove,b=(0,s.$)(),m=b("COM_SPPAGEBUILDER_EDITOR_FONT_BOOK_CONTENT_TEXT"),w=(0,u.vn)(n),_=w.weight,O=void
0===_?400:_,E=w.style,x=[O];return
400!==O&&x.push(E),p[O]&&x.unshift(p[O]),(0,f.BX)("div",{css:y.wrapper(d),children:[(0,f.tZ)("div",{css:y.contentWrapper,children:(0,f.BX)("div",{css:y.content,children:[(0,f.BX)("div",{css:(0,c.iv)("display:flex;gap:",a.W0[4],";align-items:center;;label:FontVariantCard;"),children:[(0,f.tZ)("span",{css:l.c.caption("medium"),children:x.join("
")}),h&&(0,f.tZ)(r.Z,{variation:"success",badgeCss:(0,c.iv)(l.c.tiny(),";color:",a.qo.text.hover,";;label:FontVariantCard;"),children:"Added"})]}),(0,f.tZ)("h4",{css:y.fontText(e.family,O,E),children:m})]})}),(0,f.tZ)(o.Z,{variant:"secondary",buttonCss:y.selectDeselectButton({isSelected:d,isInstalled:h}),onClick:function(t){t.stopPropagation(),h?g():v()},children:h||d?(0,f.BX)("div",{css:y.selectButton,children:[(0,f.tZ)(i.Z,{name:"minus"}),"
",(0,f.tZ)("span",{children:b("COM_SPPAGEBUILDER_EDITOR_FONT_BOOK_DESELECT")})]}):(0,f.BX)("div",{css:y.selectButton,children:[(0,f.tZ)(i.Z,{name:"plus"}),"
",b("COM_SPPAGEBUILDER_EDITOR_FONT_BOOK_SELECT")]})})]})};var
v={name:"a3qq9n-selectDeselectButton",styles:"visibility:hidden;label:selectDeselectButton;"},y={wrapper:function(t){return(0,c.iv)("padding:",a.W0[16],"
",a.W0[24],";background-color:",a.qo.background.white,";border-radius:",a.E0[6],";display:flex;justify-content:space-between;align-items:center;:hover{button{visibility:visible;}}",!t&&(0,c.iv)(":hover{background-color:",a.qo.background.active,";};label:wrapper;"),"
",t&&(0,c.iv)("background-color:",(0,d.m4)(a.qo.base.highlight,.2),";;label:wrapper;"),";;label:wrapper;")},contentWrapper:(0,c.iv)("display:flex;align-items:start;gap:",a.W0[12],";;label:contentWrapper;"),content:(0,c.iv)("display:flex;flex-direction:column;gap:",a.W0[8],";;label:content;"),fontText:function(t,e,n){return(0,c.iv)(l.c.heading4(),"
color:",a.qo.text.default,";font-family:",t,";font-size:",a.W0[20],";",e&&(0,c.iv)("font-weight:",e,";;label:fontText;"),"
",n&&(0,c.iv)("font-style:",n,";;label:fontText;"),";;label:fontText;")},selectButton:(0,c.iv)("display:flex;gap:",a.W0[6],";color:",a.qo.text.default,";span{color:",a.qo.icon.default,";};label:selectButton;"),selectDeselectButton:function(t){var
e=t.isSelected,n=t.isInstalled;return(0,c.iv)("svg{color:",a.qo.icon.default,";}",(e||n)&&v,";;label:selectDeselectButton;")}},g=n(7839),b=n(1921),m=n(7294),w=n(1709),_=n(9781);function
O(t){return O="function"==typeof
Symbol&&"symbol"==typeof
Symbol.iterator?function(t){return typeof t}:function(t){return
t&&"function"==typeof
Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof
t},O(t)}function E(){E=function(){return t};var
t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof
Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function
c(t,e,n){return
Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,n){return
t[e]=n}}function s(t,e,n,o){var i=e&&e.prototype instanceof
f?e:f,a=Object.create(i.prototype),l=new T(o||[]);return
r(a,"_invoke",{value:_(t,n,l)}),a}function
u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var
d={};function f(){}function p(){}function h(){}var
v={};c(v,i,(function(){return this}));var
y=Object.getPrototypeOf,g=y&&y(y(B([])));g&&g!==e&&n.call(g,i)&&(v=g);var
b=h.prototype=f.prototype=Object.create(v);function
m(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return
this._invoke(e,t)}))}))}function w(t,e){function o(r,i,a,l){var
c=u(t[r],t,i);if("throw"!==c.type){var s=c.arg,d=s.value;return
d&&"object"==O(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){o("next",t,a,l)}),(function(t){o("throw",t,a,l)})):e.resolve(d).then((function(t){s.value=t,a(s)}),(function(t){return
o("throw",t,a,l)}))}l(c.arg)}var
i;r(this,"_invoke",{value:function(t,n){function r(){return new
e((function(e,r){o(t,n,e,r)}))}return i=i?i.then(r,r):r()}})}function
_(t,e,n){var r="suspendedStart";return
function(o,i){if("executing"===r)throw new Error("Generator
is already
running");if("completed"===r){if("throw"===o)throw
i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var
a=n.delegate;if(a){var l=x(a,n);if(l){if(l===d)continue;return
l}}if("next"===n.method)n.sent=n._sent=n.arg;else
if("throw"===n.method){if("suspendedStart"===r)throw
r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var
c=u(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function
x(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return
e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void
0,x(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new
TypeError("The iterator does not provide a '"+n+"'
method")),d;var
o=u(r,t.iterator,e.arg);if("throw"===o.type)return
e.method="throw",e.arg=o.arg,e.delegate=null,d;var i=o.arg;return
i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void
0),e.delegate=null,d):i:(e.method="throw",e.arg=new
TypeError("iterator result is not an
object"),e.delegate=null,d)}function L(t){var e={tryLoc:t[0]};1 in
t&&(e.catchLoc=t[1]),2 in
t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function
S(t){var e=t.completion||{};e.type="normal",delete
e.arg,t.completion=e}function
T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function
B(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof
t.next)return t;if(!isNaN(t.length)){var r=-1,o=function
e(){for(;++r<t.length;)if(n.call(t,r))return
e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return
o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return
p.prototype=h,r(b,"constructor",{value:h,configurable:!0}),r(h,"constructor",{value:p,configurable:!0}),p.displayName=c(h,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var
e="function"==typeof
t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return
Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,c(t,l,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},m(w.prototype),c(w.prototype,a,(function(){return
this})),t.AsyncIterator=w,t.async=function(e,n,r,o,i){void
0===i&&(i=Promise);var a=new w(s(e,n,r,o),i);return
t.isGeneratorFunction(n)?a:a.next().then((function(t){return
t.done?t.value:a.next()}))},m(b),c(b,l,"Generator"),c(b,i,(function(){return
this})),c(b,"toString",(function(){return"[object
Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in
e)n.push(r);return n.reverse(),function t(){for(;n.length;){var
r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return
t.done=!0,t}},t.values=B,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void
0,this.done=!1,this.delegate=null,this.method="next",this.arg=void
0,this.tryEntries.forEach(S),!t)for(var e in
this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void
0)},stop:function(){this.done=!0;var
t=this.tryEntries[0].completion;if("throw"===t.type)throw
t.arg;return this.rval},dispatchException:function(t){if(this.done)throw
t;var e=this;function r(n,r){return
a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void
0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var
i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return
r("end");if(i.tryLoc<=this.prev){var
l=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return
r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else
if(l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw
new Error("try statement without catch or
finally");if(this.prev<i.finallyLoc)return
r(i.finallyLoc)}}}},abrupt:function(t,e){for(var
r=this.tryEntries.length-1;r>=0;--r){var
o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var
i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var
a=i?i.completion:{};return
a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw
t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var
e=this.tryEntries.length-1;e>=0;--e){var
n=this.tryEntries[e];if(n.finallyLoc===t)return
this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(t){for(var
e=this.tryEntries.length-1;e>=0;--e){var
n=this.tryEntries[e];if(n.tryLoc===t){var
r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return
o}}throw new Error("illegal catch
attempt")},delegateYield:function(t,e,n){return
this.delegate={iterator:B(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void
0),d}},t}function x(t,e){var
n=Object.keys(t);if(Object.getOwnPropertySymbols){var
r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return
Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return
n}function L(t){for(var e=1;e<arguments.length;e++){var
n=null!=arguments[e]?arguments[e]:{};e%2?x(Object(n),!0).forEach((function(e){S(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return
t}function S(t,e,n){return(e=function(t){var
e=function(t,e){if("object"!==O(t)||null===t)return t;var
n=t[Symbol.toPrimitive];if(void 0!==n){var
r=n.call(t,"string");if("object"!==O(r))return r;throw
new TypeError("@@toPrimitive must return a primitive
value.")}return
String(t)}(t);return"symbol"===O(e)?e:String(e)}(e))in
t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function
T(t,e,n,r,o,i,a){try{var l=t[i](a),c=l.value}catch(t){return void
n(t)}l.done?e(c):Promise.resolve(c).then(r,o)}function B(t){return
function(){var e=this,n=arguments;return new Promise((function(r,o){var
i=t.apply(e,n);function a(t){T(i,r,o,a,l,"next",t)}function
l(t){T(i,r,o,a,l,"throw",t)}a(void 0)}))}}function C(t){return
function(t){if(Array.isArray(t))return
D(t)}(t)||function(t){if("undefined"!=typeof
Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return
Array.from(t)}(t)||W(t)||function(){throw new TypeError("Invalid
attempt to spread non-iterable instance.\nIn order to be iterable,
non-array objects must have a [Symbol.iterator]()
method.")}()}function P(t,e){return
function(t){if(Array.isArray(t))return t}(t)||function(t,e){var
n=null==t?null:"undefined"!=typeof
Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var
r,o,i,a,l=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else
for(;!(c=(r=i.call(n)).done)&&(l.push(r.value),l.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw
o}}return l}}(t,e)||W(t,e)||function(){throw new TypeError("Invalid
attempt to destructure non-iterable instance.\nIn order to be iterable,
non-array objects must have a [Symbol.iterator]()
method.")}()}function W(t,e){if(t){if("string"==typeof
t)return D(t,e);var
n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?D(t,e):void
0}}function D(t,e){(null==e||e>t.length)&&(e=t.length);for(var
n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var k=function(t){var
e=t.closeModal,n=t.title,r=t.font,i=P((0,m.useState)([]),2),a=i[0],c=i[1],d=P((0,m.useState)(r.installed_variants),2),p=d[0],v=d[1],y=(0,s.$)(),b=(0,g.nZ)(),w=0===a.length,O=new
Set([].concat(C(a),C(p))).size>=r.variants.length;return(0,f.tZ)(_.Z,{onClose:function(){return
e({action:"CLOSE"})},title:n,wrapperCss:A.modalWrapperCss,contentCss:A.contentCss,children:(0,f.BX)("div",{css:A.wrapper,children:[(0,f.BX)("div",{css:A.headerAndVariants(a.length>0),children:[(0,f.BX)("div",{css:A.header,children:[(0,f.tZ)("h1",{css:A.familyName(r.family),children:"AaLl"}),(0,f.BX)("div",{css:A.content,children:[(0,f.tZ)("h3",{css:l.c.heading2("medium"),children:r.family}),(0,f.tZ)("p",{css:l.c.body(),children:y("COM_SPPAGEBUILDER_EDITOR_FONT_DESCRIPTION")})]})]}),(0,f.tZ)("div",{css:A.variantList,children:r.variants.map((function(t){return(0,f.tZ)(h,{font:r,variant:t,isInstalled:!!p.includes(t),isSelected:a.includes(t),onChange:function(){c((function(e){return
e.includes(t)?e.filter((function(e){return
e!==t})):[].concat(C(e),[t])}))},onRemove:function(){v((function(e){return
e.includes(t)?e.filter((function(e){return
e!==t})):[].concat(C(e),[t])}))}},t)}))})]}),(0,f.BX)("div",{css:A.footerWrapper,children:[(0,f.BX)("div",{css:A.selectionAction,children:[(0,f.tZ)(o.Z,{variant:"secondary",disabled:O,onClick:function(){c(r.variants)},children:y("COM_SPPAGEBUILDER_EDITOR_SELECT_ALL_FONTS")}),(0,f.tZ)(o.Z,{variant:"text",disabled:w,onClick:function(){c([])},children:y("COM_SPPAGEBUILDER_EDITOR_DESELECT_ALL_FONTS")})]}),(a.length>0||p.length!==r.installed_variants.length)&&(0,f.tZ)("div",{children:(0,f.tZ)(o.Z,{onClick:B(E().mark((function
t(){return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return
t.next=2,b.mutateAsync({family_name:r.family,data:JSON.stringify(L(L({},r),{},{variants:C(new
Set([].concat(C(p),C(a))))})),type:"google",url:(0,u.Js)(r)});case
2:e();case 3:case"end":return
t.stop()}}),t)}))),loading:b.isLoading,children:y(r.installed_variants.length?"COM_SPPAGEBUILDER_EDITOR_FONT_BOOK_UPDATE_FONT_STYLES":"COM_SPPAGEBUILDER_EDITOR_FONT_BOOK_ADD_FONT_STYLES",{count:a.length},a.length)})})]})]})})},A={modalWrapperCss:{name:"1v69jya-modalWrapperCss",styles:"max-width:934px;label:modalWrapperCss;"},contentCss:{name:"cozuwt-contentCss",styles:"width:934px;display:flex;label:contentCss;"},wrapper:{name:"1smul8y-wrapper",styles:"width:100%;position:relative;label:wrapper;"},selectionAction:(0,c.iv)("display:flex;justify-content:end;gap:",a.W0[8],";align-items:center;;label:selectionAction;"),headerAndVariants:function(t){return(0,c.iv)("padding:",a.W0[32],"
",a.W0[24],";height:min(70vh,
700px);",b.iZ.overflowYAuto,"
margin-bottom:",a.W0[32],";",t&&(0,c.iv)("padding-bottom:",a.W0[72],";;label:headerAndVariants;"),";;label:headerAndVariants;")},header:(0,c.iv)("padding:",a.W0[32],";display:grid;grid-template-columns:repeat(2,
1fr);;label:header;"),familyName:function(t){return(0,c.iv)("font-family:",t,";font-style:normal;font-weight:400;font-size:120px;line-height:58px;color:",a.qo.text.neutral,";display:flex;justify-content:center;align-items:center;;label:familyName;")},content:(0,c.iv)("display:flex;flex-direction:column;gap:",a.W0[16],";;label:content;"),variantList:(0,c.iv)("display:flex;flex-direction:column;gap:",a.W0[16],";;label:variantList;"),footerWrapper:(0,c.iv)("display:flex;justify-content:space-between;align-items:center;gap:",a.W0[8],";padding:",a.W0[8],"
",a.W0[24],";background-color:",a.qo.background.white,";border-top:1px
solid
",a.qo.stroke.neutral,";position:absolute;bottom:0;left:0;width:100%;;label:footerWrapper;")};const
Z=function(t){var e,n=t.font,i=t.isChecked,d=t.installed,p=void
0!==d&&d,h=n.family,v=n.variants,y=(0,s.$)(),b=(0,g.nZ)(),m=(0,g.a4)(),_=y("COM_SPPAGEBUILDER_EDITOR_FONT_BOOK_CONTENT_TEXT"),O=(e=(0,w.d)().showModal,function(t){return
e({component:k,props:t})}),E=(0,u.Js)(n),x="@import
url(".concat(E,");");return(0,f.tZ)(f.HY,{children:(0,f.BX)("div",{css:I.wrapper(i),children:[!p&&(0,f.tZ)("style",{children:x}),(0,f.BX)("div",{css:I.contentWrapper,children:[(0,f.tZ)("div",{css:I.familyWrapper,children:(0,f.tZ)("span",{css:l.c.caption("medium"),children:h})}),(0,f.tZ)("div",{css:I.fontText(h),children:_})]}),(0,f.BX)("div",{css:I.footerWrapper,children:[v.length>0&&(0,f.BX)("div",{css:I.styleCount,children:[v.length,"
styles"]}),(0,f.tZ)(o.Z,{buttonCss:I.installButton(!!n.installed_variants.length),variant:p?"error":"primary",loading:b.isLoading||m.isLoading,onClick:function(t){t.stopPropagation(),p?m.mutate({type:n.type,family_name:n.family}):O({title:y("COM_SPPAGEBUILDER_EDITOR_FONT_STYLES"),font:n})},children:y(p?"COM_SPPAGEBUILDER_EDITOR_FONT_BOOK_UNINSTALL":"COM_SPPAGEBUILDER_EDITOR_FONT_BOOK_ADD")}),!!n.installed_variants.length&&(0,f.tZ)("div",{"data-badge":!0,children:(0,f.tZ)(r.Z,{variation:"success",badgeCss:(0,c.iv)(l.c.tiny(),";color:",a.qo.text.hover,";;label:FontCard;"),children:y("COM_SPPAGEBUILDER_EDITOR_FONT_BOOK_N_ITEMS_ADDED",{count:n.installed_variants.length})})})]})]})})};var
j={name:"94jt3m-installButton",styles:"display:none;label:installButton;"},I={wrapper:function(t){return(0,c.iv)(b.iZ.resetButton,"
background-color:",a.qo.background.white,";padding:",a.W0[12],"
",a.W0[8]," ",a.W0[8],"
",a.W0[12],";border-radius:",a.E0[5],";box-shadow:",a.AF.base,";width:100%;height:220px;display:flex;flex-direction:column;justify-content:space-between;cursor:default;position:relative;&::before{content:'';position:absolute;inset:0;transition:background-color
0.3s
ease-in-out;}&:hover{button{display:inline;opacity:1;}[data-badge]{display:none;}}",t&&(0,c.iv)("background-color:",(0,d.m4)(a.qo.base.highlight,.2),";;label:wrapper;"),";;label:wrapper;")},contentWrapper:(0,c.iv)("display:flex;flex-direction:column;gap:",a.W0[16],";;label:contentWrapper;"),familyWrapper:(0,c.iv)("display:flex;gap:",a.W0[8],";align-items:center;;label:familyWrapper;"),fontText:function(t){return(0,c.iv)(l.c.heading4(),"
color:",a.qo.text.default,";font-family:",t,";font-size:",a.W0[20],";max-height:135px;overflow:auto;;label:fontText;")},styleCount:(0,c.iv)(l.c.tiny(),"
color:",a.qo.text.neutral,";;label:styleCount;"),footerWrapper:{name:"6sdu0t-footerWrapper",styles:"width:100%;display:flex;justify-content:space-between;align-items:center;min-height:32px;label:footerWrapper;"},installButton:function(t){return(0,c.iv)("margin-left:auto;opacity:0;",t&&j,";;label:installButton;")}}}}]);