@coveo/atomic-react 3.11.18 → 3.11.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/atomic-react.cjs +602 -318
- package/dist/cjs/atomic-react.cjs.map +1 -1
- package/dist/cjs/commerce/atomic-react.cjs +224 -70
- package/dist/cjs/commerce/atomic-react.cjs.map +1 -1
- package/dist/cjs/recommendation/atomic-react.cjs +602 -318
- package/dist/cjs/recommendation/atomic-react.cjs.map +1 -1
- package/package.json +3 -3
|
@@ -606,7 +606,7 @@ const renderBreadcrumbContainer = ({ props })=>(children)=>{
|
|
|
606
606
|
</div>`;
|
|
607
607
|
};
|
|
608
608
|
|
|
609
|
-
/*! @license DOMPurify 3.4.
|
|
609
|
+
/*! @license DOMPurify 3.4.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.1/LICENSE */
|
|
610
610
|
|
|
611
611
|
const {
|
|
612
612
|
entries,
|
|
@@ -655,13 +655,19 @@ const arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);
|
|
|
655
655
|
const arrayPop = unapply(Array.prototype.pop);
|
|
656
656
|
const arrayPush = unapply(Array.prototype.push);
|
|
657
657
|
const arraySplice = unapply(Array.prototype.splice);
|
|
658
|
+
const arrayIsArray = Array.isArray;
|
|
658
659
|
const stringToLowerCase = unapply(String.prototype.toLowerCase);
|
|
659
660
|
const stringToString = unapply(String.prototype.toString);
|
|
660
661
|
const stringMatch = unapply(String.prototype.match);
|
|
661
662
|
const stringReplace = unapply(String.prototype.replace);
|
|
662
663
|
const stringIndexOf = unapply(String.prototype.indexOf);
|
|
663
664
|
const stringTrim = unapply(String.prototype.trim);
|
|
665
|
+
const numberToString = unapply(Number.prototype.toString);
|
|
666
|
+
const booleanToString = unapply(Boolean.prototype.toString);
|
|
667
|
+
const bigintToString = typeof BigInt === 'undefined' ? null : unapply(BigInt.prototype.toString);
|
|
668
|
+
const symbolToString = typeof Symbol === 'undefined' ? null : unapply(Symbol.prototype.toString);
|
|
664
669
|
const objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty);
|
|
670
|
+
const objectToString$1 = unapply(Object.prototype.toString);
|
|
665
671
|
const regExpTest = unapply(RegExp.prototype.test);
|
|
666
672
|
const typeErrorCreate = unconstruct(TypeError);
|
|
667
673
|
/**
|
|
@@ -711,6 +717,9 @@ function addToSet(set, array) {
|
|
|
711
717
|
// Prevent prototype setters from intercepting set as a this value.
|
|
712
718
|
setPrototypeOf(set, null);
|
|
713
719
|
}
|
|
720
|
+
if (!arrayIsArray(array)) {
|
|
721
|
+
return set;
|
|
722
|
+
}
|
|
714
723
|
let l = array.length;
|
|
715
724
|
while (l--) {
|
|
716
725
|
let element = array[l];
|
|
@@ -754,7 +763,7 @@ function clone$1(object) {
|
|
|
754
763
|
for (const [property, value] of entries(object)) {
|
|
755
764
|
const isPropertyExist = objectHasOwnProperty(object, property);
|
|
756
765
|
if (isPropertyExist) {
|
|
757
|
-
if (
|
|
766
|
+
if (arrayIsArray(value)) {
|
|
758
767
|
newObject[property] = cleanArray(value);
|
|
759
768
|
} else if (value && typeof value === 'object' && value.constructor === Object) {
|
|
760
769
|
newObject[property] = clone$1(value);
|
|
@@ -765,6 +774,58 @@ function clone$1(object) {
|
|
|
765
774
|
}
|
|
766
775
|
return newObject;
|
|
767
776
|
}
|
|
777
|
+
/**
|
|
778
|
+
* Convert non-node values into strings without depending on direct property access.
|
|
779
|
+
*
|
|
780
|
+
* @param value - The value to stringify.
|
|
781
|
+
* @returns A string representation of the provided value.
|
|
782
|
+
*/
|
|
783
|
+
function stringifyValue(value) {
|
|
784
|
+
switch (typeof value) {
|
|
785
|
+
case 'string':
|
|
786
|
+
{
|
|
787
|
+
return value;
|
|
788
|
+
}
|
|
789
|
+
case 'number':
|
|
790
|
+
{
|
|
791
|
+
return numberToString(value);
|
|
792
|
+
}
|
|
793
|
+
case 'boolean':
|
|
794
|
+
{
|
|
795
|
+
return booleanToString(value);
|
|
796
|
+
}
|
|
797
|
+
case 'bigint':
|
|
798
|
+
{
|
|
799
|
+
return bigintToString ? bigintToString(value) : '0';
|
|
800
|
+
}
|
|
801
|
+
case 'symbol':
|
|
802
|
+
{
|
|
803
|
+
return symbolToString ? symbolToString(value) : 'Symbol()';
|
|
804
|
+
}
|
|
805
|
+
case 'undefined':
|
|
806
|
+
{
|
|
807
|
+
return objectToString$1(value);
|
|
808
|
+
}
|
|
809
|
+
case 'function':
|
|
810
|
+
case 'object':
|
|
811
|
+
{
|
|
812
|
+
if (value === null) {
|
|
813
|
+
return objectToString$1(value);
|
|
814
|
+
}
|
|
815
|
+
const valueAsRecord = value;
|
|
816
|
+
const valueToString = lookupGetter(valueAsRecord, 'toString');
|
|
817
|
+
if (typeof valueToString === 'function') {
|
|
818
|
+
const stringified = valueToString(valueAsRecord);
|
|
819
|
+
return typeof stringified === 'string' ? stringified : objectToString$1(stringified);
|
|
820
|
+
}
|
|
821
|
+
return objectToString$1(value);
|
|
822
|
+
}
|
|
823
|
+
default:
|
|
824
|
+
{
|
|
825
|
+
return objectToString$1(value);
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
}
|
|
768
829
|
/**
|
|
769
830
|
* This method automatically checks if the prop is function or getter and behaves accordingly.
|
|
770
831
|
*
|
|
@@ -790,6 +851,14 @@ function lookupGetter(object, prop) {
|
|
|
790
851
|
}
|
|
791
852
|
return fallbackValue;
|
|
792
853
|
}
|
|
854
|
+
function isRegex(value) {
|
|
855
|
+
try {
|
|
856
|
+
regExpTest(value, '');
|
|
857
|
+
return true;
|
|
858
|
+
} catch (_unused) {
|
|
859
|
+
return false;
|
|
860
|
+
}
|
|
861
|
+
}
|
|
793
862
|
|
|
794
863
|
const html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'search', 'section', 'select', 'shadow', 'slot', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);
|
|
795
864
|
const svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'enterkeyhint', 'exportparts', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'inputmode', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'part', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);
|
|
@@ -805,7 +874,7 @@ const mathMl$1 = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mgly
|
|
|
805
874
|
const mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);
|
|
806
875
|
const text = freeze(['#text']);
|
|
807
876
|
|
|
808
|
-
const html$2 = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'exportparts', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inert', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'part', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'slot', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns'
|
|
877
|
+
const html$2 = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'exportparts', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inert', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'part', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'slot', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns']);
|
|
809
878
|
const svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'mask-type', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);
|
|
810
879
|
const mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnalign', 'columnlines', 'columnspacing', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lquote', 'lspace', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);
|
|
811
880
|
const xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);
|
|
@@ -825,17 +894,17 @@ const DOCTYPE_NAME = seal(/^html$/i);
|
|
|
825
894
|
const CUSTOM_ELEMENT = seal(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
826
895
|
|
|
827
896
|
var EXPRESSIONS = /*#__PURE__*/Object.freeze({
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
897
|
+
__proto__: null,
|
|
898
|
+
ARIA_ATTR: ARIA_ATTR,
|
|
899
|
+
ATTR_WHITESPACE: ATTR_WHITESPACE,
|
|
900
|
+
CUSTOM_ELEMENT: CUSTOM_ELEMENT,
|
|
901
|
+
DATA_ATTR: DATA_ATTR,
|
|
902
|
+
DOCTYPE_NAME: DOCTYPE_NAME,
|
|
903
|
+
ERB_EXPR: ERB_EXPR,
|
|
904
|
+
IS_ALLOWED_URI: IS_ALLOWED_URI,
|
|
905
|
+
IS_SCRIPT_OR_DATA: IS_SCRIPT_OR_DATA,
|
|
906
|
+
MUSTACHE_EXPR: MUSTACHE_EXPR,
|
|
907
|
+
TMPLIT_EXPR: TMPLIT_EXPR
|
|
839
908
|
});
|
|
840
909
|
|
|
841
910
|
/* eslint-disable @typescript-eslint/indent */
|
|
@@ -904,7 +973,7 @@ const _createHooksMap = function _createHooksMap() {
|
|
|
904
973
|
function createDOMPurify() {
|
|
905
974
|
let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
|
|
906
975
|
const DOMPurify = root => createDOMPurify(root);
|
|
907
|
-
DOMPurify.version = '3.4.
|
|
976
|
+
DOMPurify.version = '3.4.1';
|
|
908
977
|
DOMPurify.removed = [];
|
|
909
978
|
if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
|
|
910
979
|
// Not running in a browser, provide a factory function
|
|
@@ -1152,15 +1221,15 @@ function createDOMPurify() {
|
|
|
1152
1221
|
// HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.
|
|
1153
1222
|
transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase;
|
|
1154
1223
|
/* Set configuration parameters */
|
|
1155
|
-
ALLOWED_TAGS = objectHasOwnProperty(cfg, 'ALLOWED_TAGS') ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;
|
|
1156
|
-
ALLOWED_ATTR = objectHasOwnProperty(cfg, 'ALLOWED_ATTR') ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;
|
|
1157
|
-
ALLOWED_NAMESPACES = objectHasOwnProperty(cfg, 'ALLOWED_NAMESPACES') ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;
|
|
1158
|
-
URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, 'ADD_URI_SAFE_ATTR') ? addToSet(clone$1(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR, transformCaseFunc) : DEFAULT_URI_SAFE_ATTRIBUTES;
|
|
1159
|
-
DATA_URI_TAGS = objectHasOwnProperty(cfg, 'ADD_DATA_URI_TAGS') ? addToSet(clone$1(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS, transformCaseFunc) : DEFAULT_DATA_URI_TAGS;
|
|
1160
|
-
FORBID_CONTENTS = objectHasOwnProperty(cfg, 'FORBID_CONTENTS') ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;
|
|
1161
|
-
FORBID_TAGS = objectHasOwnProperty(cfg, 'FORBID_TAGS') ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : clone$1({});
|
|
1162
|
-
FORBID_ATTR = objectHasOwnProperty(cfg, 'FORBID_ATTR') ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : clone$1({});
|
|
1163
|
-
USE_PROFILES = objectHasOwnProperty(cfg, 'USE_PROFILES') ? cfg.USE_PROFILES : false;
|
|
1224
|
+
ALLOWED_TAGS = objectHasOwnProperty(cfg, 'ALLOWED_TAGS') && arrayIsArray(cfg.ALLOWED_TAGS) ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;
|
|
1225
|
+
ALLOWED_ATTR = objectHasOwnProperty(cfg, 'ALLOWED_ATTR') && arrayIsArray(cfg.ALLOWED_ATTR) ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;
|
|
1226
|
+
ALLOWED_NAMESPACES = objectHasOwnProperty(cfg, 'ALLOWED_NAMESPACES') && arrayIsArray(cfg.ALLOWED_NAMESPACES) ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;
|
|
1227
|
+
URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, 'ADD_URI_SAFE_ATTR') && arrayIsArray(cfg.ADD_URI_SAFE_ATTR) ? addToSet(clone$1(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR, transformCaseFunc) : DEFAULT_URI_SAFE_ATTRIBUTES;
|
|
1228
|
+
DATA_URI_TAGS = objectHasOwnProperty(cfg, 'ADD_DATA_URI_TAGS') && arrayIsArray(cfg.ADD_DATA_URI_TAGS) ? addToSet(clone$1(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS, transformCaseFunc) : DEFAULT_DATA_URI_TAGS;
|
|
1229
|
+
FORBID_CONTENTS = objectHasOwnProperty(cfg, 'FORBID_CONTENTS') && arrayIsArray(cfg.FORBID_CONTENTS) ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;
|
|
1230
|
+
FORBID_TAGS = objectHasOwnProperty(cfg, 'FORBID_TAGS') && arrayIsArray(cfg.FORBID_TAGS) ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : clone$1({});
|
|
1231
|
+
FORBID_ATTR = objectHasOwnProperty(cfg, 'FORBID_ATTR') && arrayIsArray(cfg.FORBID_ATTR) ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : clone$1({});
|
|
1232
|
+
USE_PROFILES = objectHasOwnProperty(cfg, 'USE_PROFILES') ? cfg.USE_PROFILES && typeof cfg.USE_PROFILES === 'object' ? clone$1(cfg.USE_PROFILES) : cfg.USE_PROFILES : false;
|
|
1164
1233
|
ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true
|
|
1165
1234
|
ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true
|
|
1166
1235
|
ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false
|
|
@@ -1176,19 +1245,20 @@ function createDOMPurify() {
|
|
|
1176
1245
|
SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false; // Default false
|
|
1177
1246
|
KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true
|
|
1178
1247
|
IN_PLACE = cfg.IN_PLACE || false; // Default false
|
|
1179
|
-
IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP
|
|
1180
|
-
NAMESPACE = cfg.NAMESPACE
|
|
1181
|
-
MATHML_TEXT_INTEGRATION_POINTS = cfg.MATHML_TEXT_INTEGRATION_POINTS
|
|
1182
|
-
HTML_INTEGRATION_POINTS = cfg.HTML_INTEGRATION_POINTS
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1248
|
+
IS_ALLOWED_URI$1 = isRegex(cfg.ALLOWED_URI_REGEXP) ? cfg.ALLOWED_URI_REGEXP : IS_ALLOWED_URI; // Default regexp
|
|
1249
|
+
NAMESPACE = typeof cfg.NAMESPACE === 'string' ? cfg.NAMESPACE : HTML_NAMESPACE; // Default HTML namespace
|
|
1250
|
+
MATHML_TEXT_INTEGRATION_POINTS = objectHasOwnProperty(cfg, 'MATHML_TEXT_INTEGRATION_POINTS') && cfg.MATHML_TEXT_INTEGRATION_POINTS && typeof cfg.MATHML_TEXT_INTEGRATION_POINTS === 'object' ? clone$1(cfg.MATHML_TEXT_INTEGRATION_POINTS) : addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']); // Default built-in map
|
|
1251
|
+
HTML_INTEGRATION_POINTS = objectHasOwnProperty(cfg, 'HTML_INTEGRATION_POINTS') && cfg.HTML_INTEGRATION_POINTS && typeof cfg.HTML_INTEGRATION_POINTS === 'object' ? clone$1(cfg.HTML_INTEGRATION_POINTS) : addToSet({}, ['annotation-xml']); // Default built-in map
|
|
1252
|
+
const customElementHandling = objectHasOwnProperty(cfg, 'CUSTOM_ELEMENT_HANDLING') && cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING === 'object' ? clone$1(cfg.CUSTOM_ELEMENT_HANDLING) : create(null);
|
|
1253
|
+
CUSTOM_ELEMENT_HANDLING = create(null);
|
|
1254
|
+
if (objectHasOwnProperty(customElementHandling, 'tagNameCheck') && isRegexOrFunction(customElementHandling.tagNameCheck)) {
|
|
1255
|
+
CUSTOM_ELEMENT_HANDLING.tagNameCheck = customElementHandling.tagNameCheck; // Default undefined
|
|
1186
1256
|
}
|
|
1187
|
-
if (
|
|
1188
|
-
CUSTOM_ELEMENT_HANDLING.attributeNameCheck =
|
|
1257
|
+
if (objectHasOwnProperty(customElementHandling, 'attributeNameCheck') && isRegexOrFunction(customElementHandling.attributeNameCheck)) {
|
|
1258
|
+
CUSTOM_ELEMENT_HANDLING.attributeNameCheck = customElementHandling.attributeNameCheck; // Default undefined
|
|
1189
1259
|
}
|
|
1190
|
-
if (
|
|
1191
|
-
CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements =
|
|
1260
|
+
if (objectHasOwnProperty(customElementHandling, 'allowCustomizedBuiltInElements') && typeof customElementHandling.allowCustomizedBuiltInElements === 'boolean') {
|
|
1261
|
+
CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = customElementHandling.allowCustomizedBuiltInElements; // Default undefined
|
|
1192
1262
|
}
|
|
1193
1263
|
if (SAFE_FOR_TEMPLATES) {
|
|
1194
1264
|
ALLOW_DATA_ATTR = false;
|
|
@@ -1225,36 +1295,36 @@ function createDOMPurify() {
|
|
|
1225
1295
|
EXTRA_ELEMENT_HANDLING.tagCheck = null;
|
|
1226
1296
|
EXTRA_ELEMENT_HANDLING.attributeCheck = null;
|
|
1227
1297
|
/* Merge configuration parameters */
|
|
1228
|
-
if (cfg
|
|
1298
|
+
if (objectHasOwnProperty(cfg, 'ADD_TAGS')) {
|
|
1229
1299
|
if (typeof cfg.ADD_TAGS === 'function') {
|
|
1230
1300
|
EXTRA_ELEMENT_HANDLING.tagCheck = cfg.ADD_TAGS;
|
|
1231
|
-
} else {
|
|
1301
|
+
} else if (arrayIsArray(cfg.ADD_TAGS)) {
|
|
1232
1302
|
if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
|
|
1233
1303
|
ALLOWED_TAGS = clone$1(ALLOWED_TAGS);
|
|
1234
1304
|
}
|
|
1235
1305
|
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
|
1236
1306
|
}
|
|
1237
1307
|
}
|
|
1238
|
-
if (cfg
|
|
1308
|
+
if (objectHasOwnProperty(cfg, 'ADD_ATTR')) {
|
|
1239
1309
|
if (typeof cfg.ADD_ATTR === 'function') {
|
|
1240
1310
|
EXTRA_ELEMENT_HANDLING.attributeCheck = cfg.ADD_ATTR;
|
|
1241
|
-
} else {
|
|
1311
|
+
} else if (arrayIsArray(cfg.ADD_ATTR)) {
|
|
1242
1312
|
if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
|
|
1243
1313
|
ALLOWED_ATTR = clone$1(ALLOWED_ATTR);
|
|
1244
1314
|
}
|
|
1245
1315
|
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
|
1246
1316
|
}
|
|
1247
1317
|
}
|
|
1248
|
-
if (cfg.ADD_URI_SAFE_ATTR) {
|
|
1318
|
+
if (objectHasOwnProperty(cfg, 'ADD_URI_SAFE_ATTR') && arrayIsArray(cfg.ADD_URI_SAFE_ATTR)) {
|
|
1249
1319
|
addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
|
|
1250
1320
|
}
|
|
1251
|
-
if (cfg.FORBID_CONTENTS) {
|
|
1321
|
+
if (objectHasOwnProperty(cfg, 'FORBID_CONTENTS') && arrayIsArray(cfg.FORBID_CONTENTS)) {
|
|
1252
1322
|
if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
|
|
1253
1323
|
FORBID_CONTENTS = clone$1(FORBID_CONTENTS);
|
|
1254
1324
|
}
|
|
1255
1325
|
addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);
|
|
1256
1326
|
}
|
|
1257
|
-
if (cfg.ADD_FORBID_CONTENTS) {
|
|
1327
|
+
if (objectHasOwnProperty(cfg, 'ADD_FORBID_CONTENTS') && arrayIsArray(cfg.ADD_FORBID_CONTENTS)) {
|
|
1258
1328
|
if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
|
|
1259
1329
|
FORBID_CONTENTS = clone$1(FORBID_CONTENTS);
|
|
1260
1330
|
}
|
|
@@ -1580,7 +1650,6 @@ function createDOMPurify() {
|
|
|
1580
1650
|
const childCount = childNodes.length;
|
|
1581
1651
|
for (let i = childCount - 1; i >= 0; --i) {
|
|
1582
1652
|
const childClone = cloneNode(childNodes[i], true);
|
|
1583
|
-
childClone.__removalCount = (currentNode.__removalCount || 0) + 1;
|
|
1584
1653
|
parentNode.insertBefore(childClone, getNextSibling(currentNode));
|
|
1585
1654
|
}
|
|
1586
1655
|
}
|
|
@@ -1655,6 +1724,10 @@ function createDOMPurify() {
|
|
|
1655
1724
|
} else ;
|
|
1656
1725
|
return true;
|
|
1657
1726
|
};
|
|
1727
|
+
/* Names the HTML spec reserves from valid-custom-element-name; these must
|
|
1728
|
+
* never be treated as basic custom elements even when a permissive
|
|
1729
|
+
* CUSTOM_ELEMENT_HANDLING.tagNameCheck is configured. */
|
|
1730
|
+
const RESERVED_CUSTOM_ELEMENT_NAMES = addToSet({}, ['annotation-xml', 'color-profile', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'missing-glyph']);
|
|
1658
1731
|
/**
|
|
1659
1732
|
* _isBasicCustomElement
|
|
1660
1733
|
* checks if at least one dash is included in tagName, and it's not the first char
|
|
@@ -1664,7 +1737,7 @@ function createDOMPurify() {
|
|
|
1664
1737
|
* @returns Returns true if the tag name meets the basic criteria for a custom element, otherwise false.
|
|
1665
1738
|
*/
|
|
1666
1739
|
const _isBasicCustomElement = function _isBasicCustomElement(tagName) {
|
|
1667
|
-
return tagName
|
|
1740
|
+
return !RESERVED_CUSTOM_ELEMENT_NAMES[stringToLowerCase(tagName)] && regExpTest(CUSTOM_ELEMENT, tagName);
|
|
1668
1741
|
};
|
|
1669
1742
|
/**
|
|
1670
1743
|
* _sanitizeAttributes
|
|
@@ -1715,12 +1788,14 @@ function createDOMPurify() {
|
|
|
1715
1788
|
/* Full DOM Clobbering protection via namespace isolation,
|
|
1716
1789
|
* Prefix id and name attributes with `user-content-`
|
|
1717
1790
|
*/
|
|
1718
|
-
if (SANITIZE_NAMED_PROPS && (lcName === 'id' || lcName === 'name')) {
|
|
1791
|
+
if (SANITIZE_NAMED_PROPS && (lcName === 'id' || lcName === 'name') && stringIndexOf(value, SANITIZE_NAMED_PROPS_PREFIX) !== 0) {
|
|
1719
1792
|
// Remove the attribute with this value
|
|
1720
1793
|
_removeAttribute(name, currentNode);
|
|
1721
1794
|
// Prefix the value and later re-create the attribute with the sanitized value
|
|
1722
1795
|
value = SANITIZE_NAMED_PROPS_PREFIX + value;
|
|
1723
1796
|
}
|
|
1797
|
+
// Else: already prefixed, leave the attribute alone — the prefix is
|
|
1798
|
+
// itself the clobbering protection, and re-applying it is incorrect.
|
|
1724
1799
|
/* Work around a security issue with comments inside attributes */
|
|
1725
1800
|
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, value)) {
|
|
1726
1801
|
_removeAttribute(name, currentNode);
|
|
@@ -1837,13 +1912,9 @@ function createDOMPurify() {
|
|
|
1837
1912
|
}
|
|
1838
1913
|
/* Stringify, in case dirty is an object */
|
|
1839
1914
|
if (typeof dirty !== 'string' && !_isNode(dirty)) {
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
throw typeErrorCreate('dirty is not a string, aborting');
|
|
1844
|
-
}
|
|
1845
|
-
} else {
|
|
1846
|
-
throw typeErrorCreate('toString is not a function');
|
|
1915
|
+
dirty = stringifyValue(dirty);
|
|
1916
|
+
if (typeof dirty !== 'string') {
|
|
1917
|
+
throw typeErrorCreate('dirty is not a string, aborting');
|
|
1847
1918
|
}
|
|
1848
1919
|
}
|
|
1849
1920
|
/* Return dirty HTML if DOMPurify cannot run */
|
|
@@ -1862,8 +1933,9 @@ function createDOMPurify() {
|
|
|
1862
1933
|
}
|
|
1863
1934
|
if (IN_PLACE) {
|
|
1864
1935
|
/* Do some early pre-sanitization to avoid unsafe root nodes */
|
|
1865
|
-
|
|
1866
|
-
|
|
1936
|
+
const nn = dirty.nodeName;
|
|
1937
|
+
if (typeof nn === 'string') {
|
|
1938
|
+
const tagName = transformCaseFunc(nn);
|
|
1867
1939
|
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
|
1868
1940
|
throw typeErrorCreate('root node is forbidden and cannot be sanitized in-place');
|
|
1869
1941
|
}
|
|
@@ -2056,13 +2128,13 @@ const withTailwindStyles = (Base)=>class extends Base {
|
|
|
2056
2128
|
}
|
|
2057
2129
|
};
|
|
2058
2130
|
|
|
2059
|
-
function _ts_decorate$
|
|
2131
|
+
function _ts_decorate$1I(decorators, target, key, desc) {
|
|
2060
2132
|
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
2061
2133
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
2062
2134
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2063
2135
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2064
2136
|
}
|
|
2065
|
-
function _ts_metadata$
|
|
2137
|
+
function _ts_metadata$1y(k, v) {
|
|
2066
2138
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
2067
2139
|
}
|
|
2068
2140
|
let AtomicComponentError$1 = class AtomicComponentError extends lit.LitElement {
|
|
@@ -2080,19 +2152,19 @@ let AtomicComponentError$1 = class AtomicComponentError extends lit.LitElement {
|
|
|
2080
2152
|
`;
|
|
2081
2153
|
}
|
|
2082
2154
|
};
|
|
2083
|
-
_ts_decorate$
|
|
2155
|
+
_ts_decorate$1I([
|
|
2084
2156
|
decorators_js.property({
|
|
2085
2157
|
type: Object
|
|
2086
2158
|
}),
|
|
2087
|
-
_ts_metadata$
|
|
2159
|
+
_ts_metadata$1y("design:type", "u" < typeof HTMLElement ? Object : HTMLElement)
|
|
2088
2160
|
], AtomicComponentError$1.prototype, "element", void 0);
|
|
2089
|
-
_ts_decorate$
|
|
2161
|
+
_ts_decorate$1I([
|
|
2090
2162
|
decorators_js.property({
|
|
2091
2163
|
type: Object
|
|
2092
2164
|
}),
|
|
2093
|
-
_ts_metadata$
|
|
2165
|
+
_ts_metadata$1y("design:type", "u" < typeof Error ? Object : Error)
|
|
2094
2166
|
], AtomicComponentError$1.prototype, "error", void 0);
|
|
2095
|
-
AtomicComponentError$1 = _ts_decorate$
|
|
2167
|
+
AtomicComponentError$1 = _ts_decorate$1I([
|
|
2096
2168
|
decorators_js.customElement('atomic-component-error'),
|
|
2097
2169
|
withTailwindStyles
|
|
2098
2170
|
], AtomicComponentError$1);
|
|
@@ -2185,6 +2257,7 @@ const ATOMIC_CUSTOM_ELEMENT_TAGS = new Set([
|
|
|
2185
2257
|
'atomic-generated-answer',
|
|
2186
2258
|
'atomic-generated-answer-content',
|
|
2187
2259
|
'atomic-generated-answer-feedback-modal',
|
|
2260
|
+
'atomic-generated-answer-inline-link',
|
|
2188
2261
|
'atomic-generated-answer-thread',
|
|
2189
2262
|
'atomic-generated-answer-thread-item',
|
|
2190
2263
|
'atomic-html',
|
|
@@ -2590,13 +2663,13 @@ const memoizedFetchIcon = memoize(fetchIconUnmemoized, (url)=>url, {
|
|
|
2590
2663
|
});
|
|
2591
2664
|
const fetchIcon = memoizedFetchIcon.fn;
|
|
2592
2665
|
|
|
2593
|
-
function _ts_decorate$
|
|
2666
|
+
function _ts_decorate$1H(decorators, target, key, desc) {
|
|
2594
2667
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2595
2668
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
2596
2669
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2597
2670
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2598
2671
|
}
|
|
2599
|
-
function _ts_metadata$
|
|
2672
|
+
function _ts_metadata$1x(k, v) {
|
|
2600
2673
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
2601
2674
|
}
|
|
2602
2675
|
let AtomicIcon$1 = class AtomicIcon extends LightDomMixin(InitializeBindingsMixin(lit.LitElement)) {
|
|
@@ -2643,39 +2716,39 @@ let AtomicIcon$1 = class AtomicIcon extends LightDomMixin(InitializeBindingsMixi
|
|
|
2643
2716
|
}
|
|
2644
2717
|
};
|
|
2645
2718
|
AtomicIcon$1.styles = lit.css`@layer components{atomic-icon{aspect-ratio:1/1;display:inline-block;fill:currentColor;height:auto;@supports not (aspect-ratio:1/1){height:auto}>svg{aspect-ratio:1/1;height:auto;max-height:100%;width:100%}}}`;
|
|
2646
|
-
_ts_decorate$
|
|
2719
|
+
_ts_decorate$1H([
|
|
2647
2720
|
decorators_js.property({
|
|
2648
2721
|
type: String,
|
|
2649
2722
|
reflect: true
|
|
2650
2723
|
}),
|
|
2651
|
-
_ts_metadata$
|
|
2724
|
+
_ts_metadata$1x("design:type", String)
|
|
2652
2725
|
], AtomicIcon$1.prototype, "icon", void 0);
|
|
2653
|
-
_ts_decorate$
|
|
2726
|
+
_ts_decorate$1H([
|
|
2654
2727
|
decorators_js.state(),
|
|
2655
|
-
_ts_metadata$
|
|
2728
|
+
_ts_metadata$1x("design:type", "u" < typeof AnyBindings ? Object : AnyBindings)
|
|
2656
2729
|
], AtomicIcon$1.prototype, "bindings", void 0);
|
|
2657
|
-
_ts_decorate$
|
|
2730
|
+
_ts_decorate$1H([
|
|
2658
2731
|
decorators_js.state(),
|
|
2659
|
-
_ts_metadata$
|
|
2732
|
+
_ts_metadata$1x("design:type", "u" < typeof Error ? Object : Error)
|
|
2660
2733
|
], AtomicIcon$1.prototype, "error", void 0);
|
|
2661
|
-
_ts_decorate$
|
|
2734
|
+
_ts_decorate$1H([
|
|
2662
2735
|
decorators_js.state(),
|
|
2663
|
-
_ts_metadata$
|
|
2736
|
+
_ts_metadata$1x("design:type", Object)
|
|
2664
2737
|
], AtomicIcon$1.prototype, "svg", void 0);
|
|
2665
|
-
_ts_decorate$
|
|
2738
|
+
_ts_decorate$1H([
|
|
2666
2739
|
watch('icon'),
|
|
2667
|
-
_ts_metadata$
|
|
2668
|
-
_ts_metadata$
|
|
2669
|
-
_ts_metadata$
|
|
2740
|
+
_ts_metadata$1x("design:type", Function),
|
|
2741
|
+
_ts_metadata$1x("design:paramtypes", []),
|
|
2742
|
+
_ts_metadata$1x("design:returntype", Promise)
|
|
2670
2743
|
], AtomicIcon$1.prototype, "updateIcon", null);
|
|
2671
|
-
_ts_decorate$
|
|
2744
|
+
_ts_decorate$1H([
|
|
2672
2745
|
bindingGuard(),
|
|
2673
2746
|
errorGuard(),
|
|
2674
|
-
_ts_metadata$
|
|
2675
|
-
_ts_metadata$
|
|
2676
|
-
_ts_metadata$
|
|
2747
|
+
_ts_metadata$1x("design:type", Function),
|
|
2748
|
+
_ts_metadata$1x("design:paramtypes", []),
|
|
2749
|
+
_ts_metadata$1x("design:returntype", void 0)
|
|
2677
2750
|
], AtomicIcon$1.prototype, "render", null);
|
|
2678
|
-
AtomicIcon$1 = _ts_decorate$
|
|
2751
|
+
AtomicIcon$1 = _ts_decorate$1H([
|
|
2679
2752
|
decorators_js.customElement('atomic-icon')
|
|
2680
2753
|
], AtomicIcon$1);
|
|
2681
2754
|
|
|
@@ -3864,11 +3937,11 @@ const renderCategoryFacetSearchValue = ({ props })=>{
|
|
|
3864
3937
|
|
|
3865
3938
|
const renderCategoryFacetTreeValueContainer = ()=>(children)=>lit.html`<li class="contents">${children}</li>`;
|
|
3866
3939
|
|
|
3867
|
-
const styles$
|
|
3868
|
-
const facet_common_tw_css = styles$
|
|
3940
|
+
const styles$q = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}.value-count{color:var(--atomic-neutral-dark);margin-left:calc(var(--spacing,.25rem)*1.5)}[part=value-exclude-button]+.value-count{margin-right:calc(var(--spacing,.25rem)*2)}:host(.popover-nested){min-width:var(--container-2xs,18rem)}:host(.popover-nested)::part(label-button){display:none}:host(.popover-nested)::part(facet){--tw-shadow:0px 2px 8px var(--tw-shadow-color,#e5e8e8bf);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}:host(.popover-nested)::part(values){margin-top:calc(var(--spacing,.25rem)*0);max-height:calc(var(--spacing,.25rem)*96);overflow-y:auto}:host(.popover-nested)::part(search-wrapper){margin-bottom:calc(var(--spacing,.25rem)*2)}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}`;
|
|
3941
|
+
const facet_common_tw_css = styles$q;
|
|
3869
3942
|
|
|
3870
|
-
const styles$
|
|
3871
|
-
const facet_search_tw_css = styles$
|
|
3943
|
+
const styles$p = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */input[type=text]:focus-visible~.search-icon{color:var(--atomic-primary)}input[type=text]:hover~.search-icon{color:var(--atomic-primary-light)}.search-icon atomic-icon{height:var(--atomic-facet-search-icon-size,.75rem);width:var(--atomic-facet-search-icon-size,.75rem)}.search-clear-button atomic-icon{height:var(--atomic-facet-search-clear-icon-size,.625rem);width:var(--atomic-facet-search-clear-icon-size,.625rem)}`;
|
|
3944
|
+
const facet_search_tw_css = styles$p;
|
|
3872
3945
|
|
|
3873
3946
|
class LocalizedStringDirective extends directive_js.Directive {
|
|
3874
3947
|
render(props) {
|
|
@@ -4250,16 +4323,16 @@ const renderFacetValue = ({ props: { facetSearchQuery, displayValuesAs, enableEx
|
|
|
4250
4323
|
}
|
|
4251
4324
|
};
|
|
4252
4325
|
|
|
4253
|
-
const styles$
|
|
4254
|
-
const facet_value_box_tw_css = styles$
|
|
4326
|
+
const styles$o = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */.box-container{display:grid;gap:var(--atomic-facet-boxes-gap,.5rem);grid-template-columns:repeat(var(--atomic-facet-boxes-per-row,4),minmax(0,1fr));padding-inline:calc(var(--spacing,.25rem)*2)}.value-box{overflow:hidden;position:relative}.value-box .value-label,.value-box-count{display:block;width:100%}.value-box.selected{box-shadow:0 0 0 1px var(--atomic-primary)}`;
|
|
4327
|
+
const facet_value_box_tw_css = styles$o;
|
|
4255
4328
|
|
|
4256
|
-
const styles$
|
|
4257
|
-
const facet_value_checkbox_tw_css = styles$
|
|
4329
|
+
const styles$n = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */.value-checkbox{height:var(--atomic-facet-checkbox-size,1rem);left:calc(var(--spacing,.25rem)*2);position:absolute;width:var(--atomic-facet-checkbox-size,1rem);z-index:1}.value-checkbox+label{color:var(--atomic-on-background);cursor:pointer;display:flex;flex-direction:row;overflow:hidden;padding-block:calc(var(--spacing,.25rem)*2.5);padding-left:calc(var(--spacing,.25rem)*8);padding-right:calc(var(--spacing,.25rem)*2);text-overflow:ellipsis;white-space:nowrap;width:100%}@media (hover:hover){.value-checkbox+label:hover{background-color:var(--atomic-neutral-light)}}.value-checkbox.selected:focus-visible+label .value-label,.value-checkbox.selected:hover+label .value-label{color:var(--atomic-primary)}.value-checkbox.excluded:focus-visible+label .value-label,.value-checkbox.excluded:hover+label .value-label{color:var(--atomic-error)}`;
|
|
4330
|
+
const facet_value_checkbox_tw_css = styles$n;
|
|
4258
4331
|
|
|
4259
|
-
const styles$
|
|
4260
|
-
const facet_value_exclude_tw_css = styles$
|
|
4332
|
+
const styles$m = lit.css`.value-exclude-button:focus-visible atomic-icon{visibility:visible}`;
|
|
4333
|
+
const facet_value_exclude_tw_css = styles$m;
|
|
4261
4334
|
|
|
4262
|
-
function _ts_decorate$
|
|
4335
|
+
function _ts_decorate$1G(decorators, target, key, desc) {
|
|
4263
4336
|
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
4264
4337
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
4265
4338
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -4296,13 +4369,13 @@ class AtomicFacetPlaceholder extends lit.LitElement {
|
|
|
4296
4369
|
super(...args), this.valueCount = 8;
|
|
4297
4370
|
}
|
|
4298
4371
|
}
|
|
4299
|
-
_ts_decorate$
|
|
4372
|
+
_ts_decorate$1G([
|
|
4300
4373
|
decorators_js.property({
|
|
4301
4374
|
type: Number,
|
|
4302
4375
|
attribute: 'value-count'
|
|
4303
4376
|
})
|
|
4304
4377
|
], AtomicFacetPlaceholder.prototype, "valueCount", void 0);
|
|
4305
|
-
AtomicFacetPlaceholder = _ts_decorate$
|
|
4378
|
+
AtomicFacetPlaceholder = _ts_decorate$1G([
|
|
4306
4379
|
decorators_js.customElement('atomic-facet-placeholder'),
|
|
4307
4380
|
withTailwindStyles
|
|
4308
4381
|
], AtomicFacetPlaceholder);
|
|
@@ -4490,20 +4563,20 @@ const renderNumericFacetValue = ({ props })=>{
|
|
|
4490
4563
|
}
|
|
4491
4564
|
};
|
|
4492
4565
|
|
|
4493
|
-
const styles$
|
|
4566
|
+
const styles$l = [
|
|
4494
4567
|
facet_value_checkbox_tw_css,
|
|
4495
4568
|
facet_value_exclude_tw_css,
|
|
4496
4569
|
facet_common_tw_css
|
|
4497
4570
|
];
|
|
4498
|
-
const numeric_facet_common_tw_css = styles$
|
|
4571
|
+
const numeric_facet_common_tw_css = styles$l;
|
|
4499
4572
|
|
|
4500
|
-
function _ts_decorate$
|
|
4573
|
+
function _ts_decorate$1F(decorators, target, key, desc) {
|
|
4501
4574
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4502
4575
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
4503
4576
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
4504
4577
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
4505
4578
|
}
|
|
4506
|
-
function _ts_metadata$
|
|
4579
|
+
function _ts_metadata$1w(k, v) {
|
|
4507
4580
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
4508
4581
|
}
|
|
4509
4582
|
class AtomicFacetDateInput extends LightDomMixin(lit.LitElement) {
|
|
@@ -4660,52 +4733,52 @@ class AtomicFacetDateInput extends LightDomMixin(lit.LitElement) {
|
|
|
4660
4733
|
super(...args), this.startRef = ref_js.createRef(), this.endRef = ref_js.createRef(), this.max = '9999-12-31';
|
|
4661
4734
|
}
|
|
4662
4735
|
}
|
|
4663
|
-
_ts_decorate$
|
|
4736
|
+
_ts_decorate$1F([
|
|
4664
4737
|
decorators_js.state(),
|
|
4665
|
-
_ts_metadata$
|
|
4738
|
+
_ts_metadata$1w("design:type", "u" < typeof Date ? Object : Date)
|
|
4666
4739
|
], AtomicFacetDateInput.prototype, "start", void 0);
|
|
4667
|
-
_ts_decorate$
|
|
4740
|
+
_ts_decorate$1F([
|
|
4668
4741
|
decorators_js.state(),
|
|
4669
|
-
_ts_metadata$
|
|
4742
|
+
_ts_metadata$1w("design:type", "u" < typeof Date ? Object : Date)
|
|
4670
4743
|
], AtomicFacetDateInput.prototype, "end", void 0);
|
|
4671
|
-
_ts_decorate$
|
|
4744
|
+
_ts_decorate$1F([
|
|
4672
4745
|
decorators_js.property({
|
|
4673
4746
|
type: Object
|
|
4674
4747
|
}),
|
|
4675
|
-
_ts_metadata$
|
|
4748
|
+
_ts_metadata$1w("design:type", Object)
|
|
4676
4749
|
], AtomicFacetDateInput.prototype, "inputRange", void 0);
|
|
4677
|
-
_ts_decorate$
|
|
4750
|
+
_ts_decorate$1F([
|
|
4678
4751
|
decorators_js.property(),
|
|
4679
|
-
_ts_metadata$
|
|
4752
|
+
_ts_metadata$1w("design:type", String)
|
|
4680
4753
|
], AtomicFacetDateInput.prototype, "facetId", void 0);
|
|
4681
|
-
_ts_decorate$
|
|
4754
|
+
_ts_decorate$1F([
|
|
4682
4755
|
decorators_js.property(),
|
|
4683
|
-
_ts_metadata$
|
|
4756
|
+
_ts_metadata$1w("design:type", String)
|
|
4684
4757
|
], AtomicFacetDateInput.prototype, "label", void 0);
|
|
4685
|
-
_ts_decorate$
|
|
4758
|
+
_ts_decorate$1F([
|
|
4686
4759
|
decorators_js.property(),
|
|
4687
|
-
_ts_metadata$
|
|
4760
|
+
_ts_metadata$1w("design:type", String)
|
|
4688
4761
|
], AtomicFacetDateInput.prototype, "min", void 0);
|
|
4689
|
-
_ts_decorate$
|
|
4762
|
+
_ts_decorate$1F([
|
|
4690
4763
|
decorators_js.property(),
|
|
4691
|
-
_ts_metadata$
|
|
4764
|
+
_ts_metadata$1w("design:type", String)
|
|
4692
4765
|
], AtomicFacetDateInput.prototype, "max", void 0);
|
|
4693
|
-
_ts_decorate$
|
|
4766
|
+
_ts_decorate$1F([
|
|
4694
4767
|
decorators_js.state(),
|
|
4695
|
-
_ts_metadata$
|
|
4768
|
+
_ts_metadata$1w("design:type", "u" < typeof Error ? Object : Error)
|
|
4696
4769
|
], AtomicFacetDateInput.prototype, "error", void 0);
|
|
4697
|
-
_ts_decorate$
|
|
4770
|
+
_ts_decorate$1F([
|
|
4698
4771
|
decorators_js.state(),
|
|
4699
|
-
_ts_metadata$
|
|
4772
|
+
_ts_metadata$1w("design:type", "u" < typeof AnyBindings ? Object : AnyBindings)
|
|
4700
4773
|
], AtomicFacetDateInput.prototype, "bindings", void 0);
|
|
4701
|
-
_ts_decorate$
|
|
4774
|
+
_ts_decorate$1F([
|
|
4702
4775
|
bindingGuard(),
|
|
4703
4776
|
errorGuard(),
|
|
4704
|
-
_ts_metadata$
|
|
4705
|
-
_ts_metadata$
|
|
4706
|
-
_ts_metadata$
|
|
4777
|
+
_ts_metadata$1w("design:type", Function),
|
|
4778
|
+
_ts_metadata$1w("design:paramtypes", []),
|
|
4779
|
+
_ts_metadata$1w("design:returntype", void 0)
|
|
4707
4780
|
], AtomicFacetDateInput.prototype, "render", null);
|
|
4708
|
-
AtomicFacetDateInput = _ts_decorate$
|
|
4781
|
+
AtomicFacetDateInput = _ts_decorate$1F([
|
|
4709
4782
|
decorators_js.customElement('atomic-facet-date-input'),
|
|
4710
4783
|
bindings()
|
|
4711
4784
|
], AtomicFacetDateInput);
|
|
@@ -7060,7 +7133,7 @@ function getWindow$1() {
|
|
|
7060
7133
|
}
|
|
7061
7134
|
function getAtomicEnvironment(headlessVersion) {
|
|
7062
7135
|
return {
|
|
7063
|
-
version: "3.57.
|
|
7136
|
+
version: "3.57.3",
|
|
7064
7137
|
headlessVersion
|
|
7065
7138
|
};
|
|
7066
7139
|
}
|
|
@@ -7110,7 +7183,51 @@ function getNextAnalyticsConfig(searchEngineConfig, enabled) {
|
|
|
7110
7183
|
return configuration;
|
|
7111
7184
|
}
|
|
7112
7185
|
|
|
7186
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: true } : { done: false, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = true, u = false; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = true, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
|
|
7187
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
7188
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
7113
7189
|
function _typeof$2(o) { "@babel/helpers - typeof"; return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$2(o); }
|
|
7190
|
+
var UNSAFE_KEYS$1 = ['__proto__', 'constructor', 'prototype'];
|
|
7191
|
+
function isSafeUrlSegmentBase(v) {
|
|
7192
|
+
if (typeof v !== 'string') return false;
|
|
7193
|
+
if (v.length === 0 || v.length > 128) return false;
|
|
7194
|
+
if (UNSAFE_KEYS$1.indexOf(v) > -1) return false;
|
|
7195
|
+
if (v.indexOf('..') > -1) return false;
|
|
7196
|
+
if (v.indexOf('\\') > -1) return false;
|
|
7197
|
+
if (/[?#%\s@]/.test(v)) return false;
|
|
7198
|
+
if (/[\x00-\x1F\x7F]/.test(v)) return false;
|
|
7199
|
+
return true;
|
|
7200
|
+
}
|
|
7201
|
+
function isSafeLangUrlSegment(v) {
|
|
7202
|
+
if (!isSafeUrlSegmentBase(v)) return false;
|
|
7203
|
+
if (v.indexOf('/') > -1) return false;
|
|
7204
|
+
return true;
|
|
7205
|
+
}
|
|
7206
|
+
function isSafeNsUrlSegment(v) {
|
|
7207
|
+
return isSafeUrlSegmentBase(v);
|
|
7208
|
+
}
|
|
7209
|
+
var SAFETY_CHECK_BY_KEY = {
|
|
7210
|
+
lng: isSafeLangUrlSegment,
|
|
7211
|
+
ns: isSafeNsUrlSegment
|
|
7212
|
+
};
|
|
7213
|
+
function sanitizeLogValue(v) {
|
|
7214
|
+
if (typeof v !== 'string') return v;
|
|
7215
|
+
return v.replace(/[\r\n\x00-\x1F\x7F]/g, ' ');
|
|
7216
|
+
}
|
|
7217
|
+
function redactUrlCredentials(u) {
|
|
7218
|
+
if (typeof u !== 'string' || u.length === 0) return u;
|
|
7219
|
+
try {
|
|
7220
|
+
var parsed = new URL(u);
|
|
7221
|
+
if (parsed.username || parsed.password) {
|
|
7222
|
+
parsed.username = '';
|
|
7223
|
+
parsed.password = '';
|
|
7224
|
+
return parsed.toString();
|
|
7225
|
+
}
|
|
7226
|
+
return u;
|
|
7227
|
+
} catch (e) {
|
|
7228
|
+
return u.replace(/(\/\/)[^/@\s]+@/g, '$1');
|
|
7229
|
+
}
|
|
7230
|
+
}
|
|
7114
7231
|
function hasXMLHttpRequest() {
|
|
7115
7232
|
return typeof XMLHttpRequest === 'function' || (typeof XMLHttpRequest === "undefined" ? "undefined" : _typeof$2(XMLHttpRequest)) === 'object';
|
|
7116
7233
|
}
|
|
@@ -7124,11 +7241,33 @@ function makePromise(maybePromise) {
|
|
|
7124
7241
|
return Promise.resolve(maybePromise);
|
|
7125
7242
|
}
|
|
7126
7243
|
var interpolationRegexp = /\{\{(.+?)\}\}/g;
|
|
7127
|
-
function
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7244
|
+
function interpolateUrl(str, data) {
|
|
7245
|
+
var unsafe = false;
|
|
7246
|
+
var result = str.replace(interpolationRegexp, function (match, key) {
|
|
7247
|
+
var k = key.trim();
|
|
7248
|
+
if (UNSAFE_KEYS$1.indexOf(k) > -1) return match;
|
|
7249
|
+
var value = data[k];
|
|
7250
|
+
if (value == null) return match;
|
|
7251
|
+
var check = SAFETY_CHECK_BY_KEY[k] || isSafeLangUrlSegment;
|
|
7252
|
+
var segments = String(value).split('+');
|
|
7253
|
+
var _iterator = _createForOfIteratorHelper(segments),
|
|
7254
|
+
_step;
|
|
7255
|
+
try {
|
|
7256
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
7257
|
+
var seg = _step.value;
|
|
7258
|
+
if (!check(seg)) {
|
|
7259
|
+
unsafe = true;
|
|
7260
|
+
return match;
|
|
7261
|
+
}
|
|
7262
|
+
}
|
|
7263
|
+
} catch (err) {
|
|
7264
|
+
_iterator.e(err);
|
|
7265
|
+
} finally {
|
|
7266
|
+
_iterator.f();
|
|
7267
|
+
}
|
|
7268
|
+
return segments.join('+');
|
|
7131
7269
|
});
|
|
7270
|
+
return unsafe ? null : result;
|
|
7132
7271
|
}
|
|
7133
7272
|
|
|
7134
7273
|
function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -7167,10 +7306,13 @@ if (!fetchApi && !XmlHttpRequestApi && !ActiveXObjectApi) {
|
|
|
7167
7306
|
}).catch(function () {});
|
|
7168
7307
|
} catch (e) {}
|
|
7169
7308
|
}
|
|
7309
|
+
var UNSAFE_KEYS = ['__proto__', 'constructor', 'prototype'];
|
|
7170
7310
|
var addQueryString = function addQueryString(url, params) {
|
|
7171
7311
|
if (params && _typeof$1(params) === 'object') {
|
|
7172
7312
|
var queryString = '';
|
|
7173
|
-
for (var
|
|
7313
|
+
for (var _i = 0, _Object$keys = Object.keys(params); _i < _Object$keys.length; _i++) {
|
|
7314
|
+
var paramName = _Object$keys[_i];
|
|
7315
|
+
if (UNSAFE_KEYS.indexOf(paramName) > -1) continue;
|
|
7174
7316
|
queryString += '&' + encodeURIComponent(paramName) + '=' + encodeURIComponent(params[paramName]);
|
|
7175
7317
|
}
|
|
7176
7318
|
if (!queryString) return url;
|
|
@@ -7203,7 +7345,6 @@ var fetchIt = function fetchIt(url, fetchOptions, callback, altFetch) {
|
|
|
7203
7345
|
fetchApi(url, fetchOptions).then(resolver).catch(callback);
|
|
7204
7346
|
}
|
|
7205
7347
|
};
|
|
7206
|
-
var omitFetchOptions = false;
|
|
7207
7348
|
var requestWithFetch = function requestWithFetch(options, url, payload, callback) {
|
|
7208
7349
|
if (options.queryStringParams) {
|
|
7209
7350
|
url = addQueryString(url, options.queryStringParams);
|
|
@@ -7218,7 +7359,7 @@ var requestWithFetch = function requestWithFetch(options, url, payload, callback
|
|
|
7218
7359
|
method: payload ? 'POST' : 'GET',
|
|
7219
7360
|
body: payload ? options.stringify(payload) : undefined,
|
|
7220
7361
|
headers: headers
|
|
7221
|
-
},
|
|
7362
|
+
}, options._omitFetchOptions ? {} : reqOptions);
|
|
7222
7363
|
var altFetch = typeof options.alternateFetch === 'function' && options.alternateFetch.length >= 1 ? options.alternateFetch : undefined;
|
|
7223
7364
|
try {
|
|
7224
7365
|
fetchIt(url, fetchOptions, callback, altFetch);
|
|
@@ -7231,7 +7372,7 @@ var requestWithFetch = function requestWithFetch(options, url, payload, callback
|
|
|
7231
7372
|
delete fetchOptions[opt];
|
|
7232
7373
|
});
|
|
7233
7374
|
fetchIt(url, fetchOptions, callback, altFetch);
|
|
7234
|
-
|
|
7375
|
+
options._omitFetchOptions = true;
|
|
7235
7376
|
} catch (err) {
|
|
7236
7377
|
callback(err);
|
|
7237
7378
|
}
|
|
@@ -7260,7 +7401,9 @@ var requestWithXmlHttpRequest = function requestWithXmlHttpRequest(options, url,
|
|
|
7260
7401
|
var h = options.customHeaders;
|
|
7261
7402
|
h = typeof h === 'function' ? h() : h;
|
|
7262
7403
|
if (h) {
|
|
7263
|
-
for (var
|
|
7404
|
+
for (var _i2 = 0, _Object$keys2 = Object.keys(h); _i2 < _Object$keys2.length; _i2++) {
|
|
7405
|
+
var i = _Object$keys2[_i2];
|
|
7406
|
+
if (UNSAFE_KEYS.indexOf(i) > -1) continue;
|
|
7264
7407
|
x.setRequestHeader(i, h[i]);
|
|
7265
7408
|
}
|
|
7266
7409
|
}
|
|
@@ -7375,10 +7518,15 @@ var Backend = function () {
|
|
|
7375
7518
|
loadPath = makePromise(loadPath);
|
|
7376
7519
|
loadPath.then(function (resolvedLoadPath) {
|
|
7377
7520
|
if (!resolvedLoadPath) return callback(null, {});
|
|
7378
|
-
var url =
|
|
7521
|
+
var url = interpolateUrl(resolvedLoadPath, {
|
|
7379
7522
|
lng: languages.join('+'),
|
|
7380
7523
|
ns: namespaces.join('+')
|
|
7381
7524
|
});
|
|
7525
|
+
if (url == null) {
|
|
7526
|
+
var safeLngs = languages.map(sanitizeLogValue).join(', ');
|
|
7527
|
+
var safeNss = namespaces.map(sanitizeLogValue).join(', ');
|
|
7528
|
+
return callback(new Error('i18next-http-backend: unsafe lng/ns value — refusing to build request URL for languages=[' + safeLngs + '] namespaces=[' + safeNss + ']'), false);
|
|
7529
|
+
}
|
|
7382
7530
|
_this2.loadUrl(url, callback, loadUrlLanguages, loadUrlNamespaces);
|
|
7383
7531
|
});
|
|
7384
7532
|
}
|
|
@@ -7389,16 +7537,17 @@ var Backend = function () {
|
|
|
7389
7537
|
var lng = typeof languages === 'string' ? [languages] : languages;
|
|
7390
7538
|
var ns = typeof namespaces === 'string' ? [namespaces] : namespaces;
|
|
7391
7539
|
var payload = this.options.parseLoadPayload(lng, ns);
|
|
7540
|
+
var safeUrl = sanitizeLogValue(redactUrlCredentials(url));
|
|
7392
7541
|
this.options.request(this.options, url, payload, function (err, res) {
|
|
7393
|
-
if (res && (res.status >= 500 && res.status < 600 || !res.status)) return callback('failed loading ' +
|
|
7394
|
-
if (res && res.status >= 400 && res.status < 500) return callback('failed loading ' +
|
|
7542
|
+
if (res && (res.status >= 500 && res.status < 600 || !res.status)) return callback('failed loading ' + safeUrl + '; status code: ' + res.status, true);
|
|
7543
|
+
if (res && res.status >= 400 && res.status < 500) return callback('failed loading ' + safeUrl + '; status code: ' + res.status, false);
|
|
7395
7544
|
if (!res && err && err.message) {
|
|
7396
7545
|
var errorMessage = err.message.toLowerCase();
|
|
7397
7546
|
var isNetworkError = ['failed', 'fetch', 'network', 'load'].find(function (term) {
|
|
7398
7547
|
return errorMessage.indexOf(term) > -1;
|
|
7399
7548
|
});
|
|
7400
7549
|
if (isNetworkError) {
|
|
7401
|
-
return callback('failed loading ' +
|
|
7550
|
+
return callback('failed loading ' + safeUrl + ': ' + sanitizeLogValue(err.message), true);
|
|
7402
7551
|
}
|
|
7403
7552
|
}
|
|
7404
7553
|
if (err) return callback(err, false);
|
|
@@ -7410,7 +7559,7 @@ var Backend = function () {
|
|
|
7410
7559
|
ret = res.data;
|
|
7411
7560
|
}
|
|
7412
7561
|
} catch (e) {
|
|
7413
|
-
parseErr = 'failed parsing ' +
|
|
7562
|
+
parseErr = 'failed parsing ' + safeUrl + ' to json';
|
|
7414
7563
|
}
|
|
7415
7564
|
if (parseErr) return callback(parseErr, false);
|
|
7416
7565
|
callback(null, ret);
|
|
@@ -7431,10 +7580,15 @@ var Backend = function () {
|
|
|
7431
7580
|
if (typeof _this4.options.addPath === 'function') {
|
|
7432
7581
|
addPath = _this4.options.addPath(lng, namespace);
|
|
7433
7582
|
}
|
|
7434
|
-
var url =
|
|
7583
|
+
var url = interpolateUrl(addPath, {
|
|
7435
7584
|
lng: lng,
|
|
7436
7585
|
ns: namespace
|
|
7437
7586
|
});
|
|
7587
|
+
if (url == null) {
|
|
7588
|
+
finished += 1;
|
|
7589
|
+
if (callback && finished === languages.length) callback(dataArray, resArray);
|
|
7590
|
+
return;
|
|
7591
|
+
}
|
|
7438
7592
|
_this4.options.request(_this4.options, url, payload, function (data, res) {
|
|
7439
7593
|
finished += 1;
|
|
7440
7594
|
dataArray.push(data);
|
|
@@ -7733,13 +7887,13 @@ function debounce$1(execute, wait) {
|
|
|
7733
7887
|
};
|
|
7734
7888
|
}
|
|
7735
7889
|
|
|
7736
|
-
function _ts_decorate$
|
|
7890
|
+
function _ts_decorate$1E(decorators, target, key, desc) {
|
|
7737
7891
|
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
7738
7892
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
7739
7893
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7740
7894
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7741
7895
|
}
|
|
7742
|
-
function _ts_metadata$
|
|
7896
|
+
function _ts_metadata$1v(k, v) {
|
|
7743
7897
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
7744
7898
|
}
|
|
7745
7899
|
let AtomicAriaLive$1 = class AtomicAriaLive extends LightDomMixin(lit.LitElement) {
|
|
@@ -7810,11 +7964,11 @@ let AtomicAriaLive$1 = class AtomicAriaLive extends LightDomMixin(lit.LitElement
|
|
|
7810
7964
|
};
|
|
7811
7965
|
}
|
|
7812
7966
|
};
|
|
7813
|
-
_ts_decorate$
|
|
7967
|
+
_ts_decorate$1E([
|
|
7814
7968
|
decorators_js.state(),
|
|
7815
|
-
_ts_metadata$
|
|
7969
|
+
_ts_metadata$1v("design:type", "u" < typeof Readonly ? Object : Readonly)
|
|
7816
7970
|
], AtomicAriaLive$1.prototype, "regions", void 0);
|
|
7817
|
-
AtomicAriaLive$1 = _ts_decorate$
|
|
7971
|
+
AtomicAriaLive$1 = _ts_decorate$1E([
|
|
7818
7972
|
decorators_js.customElement('atomic-aria-live')
|
|
7819
7973
|
], AtomicAriaLive$1);
|
|
7820
7974
|
|
|
@@ -9110,7 +9264,7 @@ function ItemSectionMixin(superClass, styles) {
|
|
|
9110
9264
|
return ItemSectionMixinClass;
|
|
9111
9265
|
}
|
|
9112
9266
|
|
|
9113
|
-
function _ts_decorate$
|
|
9267
|
+
function _ts_decorate$1D(decorators, target, key, desc) {
|
|
9114
9268
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9115
9269
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
9116
9270
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9118,11 +9272,11 @@ function _ts_decorate$1C(decorators, target, key, desc) {
|
|
|
9118
9272
|
}
|
|
9119
9273
|
let AtomicResultSectionActions$1 = class AtomicResultSectionActions extends ItemSectionMixin(lit.LitElement, lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */atomic-result-section-actions.with-sections{overflow:hidden;text-overflow:ellipsis}atomic-result-section-actions{text-align:left}atomic-result-section-actions.with-sections{grid-area:actions}atomic-result-section-actions.with-sections atomic-result-quickview{display:inline-block}atomic-result-section-actions.with-sections{max-height:calc(var(--row-height,2rem)*2 + .5rem);--row-height:2rem;display:flex;flex-wrap:wrap;gap:.5rem}@media (min-width:1024px){atomic-result-section-actions.with-sections.display-list.density-comfortable{margin-bottom:1.5rem}atomic-result-section-actions.with-sections.display-list.density-compact,atomic-result-section-actions.with-sections.display-list.density-normal{margin-bottom:1rem}atomic-result-section-actions.with-sections.display-grid.density-comfortable{--row-height:2.5rem;margin-top:2.25rem}atomic-result-section-actions.with-sections.display-grid.density-normal{margin-top:1.75rem}atomic-result-section-actions.with-sections.display-grid.density-compact,atomic-result-section-actions.with-sections.display-grid.density-normal{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-actions.with-sections.display-grid.density-compact{margin-top:1.25rem}}@media not all and (min-width:1024px){atomic-result-section-actions.with-sections.display-list.density-comfortable{margin-top:1rem}atomic-result-section-actions.with-sections.display-list.density-normal{margin-top:.75rem}atomic-result-section-actions.with-sections.display-list.density-compact{margin-top:.5em}atomic-result-section-actions.with-sections.display-list{--row-height:2.5rem}atomic-result-section-actions.with-sections.display-grid.image-large.density-comfortable{margin-top:1rem}atomic-result-section-actions.with-sections.display-grid.image-large.density-normal{margin-top:.75rem}atomic-result-section-actions.with-sections.display-grid.image-large.density-compact{margin-top:.5em}atomic-result-section-actions.with-sections.display-grid.image-large{--row-height:2.5rem}:is(atomic-result-section-actions.with-sections.display-grid.image-small,atomic-result-section-actions.with-sections.display-grid.image-icon,atomic-result-section-actions.with-sections.display-grid.image-none).density-comfortable{margin-top:1.25rem}:is(atomic-result-section-actions.with-sections.display-grid.image-small,atomic-result-section-actions.with-sections.display-grid.image-icon,atomic-result-section-actions.with-sections.display-grid.image-none).density-normal{margin-top:1rem}:is(atomic-result-section-actions.with-sections.display-grid.image-small,atomic-result-section-actions.with-sections.display-grid.image-icon,atomic-result-section-actions.with-sections.display-grid.image-none).density-compact{margin-top:.75rem}}atomic-result-section-actions.with-sections.display-table.density-comfortable{margin-bottom:1.5rem}atomic-result-section-actions.with-sections.display-table.density-compact,atomic-result-section-actions.with-sections.display-table.density-normal{margin-bottom:1rem}`) {
|
|
9120
9274
|
};
|
|
9121
|
-
AtomicResultSectionActions$1 = _ts_decorate$
|
|
9275
|
+
AtomicResultSectionActions$1 = _ts_decorate$1D([
|
|
9122
9276
|
decorators_js.customElement('atomic-result-section-actions')
|
|
9123
9277
|
], AtomicResultSectionActions$1);
|
|
9124
9278
|
|
|
9125
|
-
function _ts_decorate$
|
|
9279
|
+
function _ts_decorate$1C(decorators, target, key, desc) {
|
|
9126
9280
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9127
9281
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
9128
9282
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9130,11 +9284,11 @@ function _ts_decorate$1B(decorators, target, key, desc) {
|
|
|
9130
9284
|
}
|
|
9131
9285
|
let AtomicResultSectionBadges$1 = class AtomicResultSectionBadges extends ItemSectionMixin(lit.LitElement, lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */atomic-result-section-badges{text-align:left}atomic-result-section-badges.with-sections{max-height:calc(var(--row-height,2rem)*2 + .5rem);text-overflow:ellipsis;--row-height:2rem;display:flex;flex-wrap:wrap;gap:.5rem;grid-area:badges;margin-bottom:1rem;overflow:hidden}@media (min-width:1024px){atomic-result-section-badges.with-sections.display-list.density-comfortable{margin-bottom:1.5rem}atomic-result-section-badges.with-sections.display-grid.image-icon.density-comfortable{margin-bottom:2rem}atomic-result-section-badges.with-sections.display-grid.image-icon.density-normal{margin-bottom:1.5rem}atomic-result-section-badges.with-sections.display-grid{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}}@media not all and (min-width:1024px){atomic-result-section-badges.with-sections.display-grid.image-icon,atomic-result-section-badges.with-sections.display-grid.image-none,atomic-result-section-badges.with-sections.display-grid.image-small,atomic-result-section-badges.with-sections.display-list{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}}atomic-result-section-badges.with-sections.display-table.density-comfortable{margin-bottom:1.5rem}`) {
|
|
9132
9286
|
};
|
|
9133
|
-
AtomicResultSectionBadges$1 = _ts_decorate$
|
|
9287
|
+
AtomicResultSectionBadges$1 = _ts_decorate$1C([
|
|
9134
9288
|
decorators_js.customElement('atomic-result-section-badges')
|
|
9135
9289
|
], AtomicResultSectionBadges$1);
|
|
9136
9290
|
|
|
9137
|
-
function _ts_decorate$
|
|
9291
|
+
function _ts_decorate$1B(decorators, target, key, desc) {
|
|
9138
9292
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9139
9293
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
9140
9294
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9142,11 +9296,11 @@ function _ts_decorate$1A(decorators, target, key, desc) {
|
|
|
9142
9296
|
}
|
|
9143
9297
|
let AtomicResultSectionBottomMetadata$1 = class AtomicResultSectionBottomMetadata extends ItemSectionMixin(lit.LitElement, lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */atomic-result-section-bottom-metadata.with-sections{color:var(--atomic-neutral-dark);text-overflow:ellipsis;--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));grid-area:bottom-metadata;line-height:var(--line-height);overflow:hidden}@media (min-width:1024px){atomic-result-section-bottom-metadata.with-sections.display-list.density-comfortable{margin-top:1.25rem;max-height:4rem}atomic-result-section-bottom-metadata.with-sections.display-list.density-normal{margin-top:.875rem;max-height:3.5rem}atomic-result-section-bottom-metadata.with-sections.display-list.density-compact{margin-top:.6875rem;max-height:3.25rem}atomic-result-section-bottom-metadata.with-sections.display-grid.density-comfortable{margin-top:1.75rem;max-height:4rem}atomic-result-section-bottom-metadata.with-sections.display-grid.density-normal{margin-top:1.375rem;max-height:3.5rem}atomic-result-section-bottom-metadata.with-sections.display-grid.density-compact{margin-top:.9375rem;max-height:3.25rem}}@media not all and (min-width:1024px){atomic-result-section-bottom-metadata.with-sections.display-list.density-comfortable{margin-top:.75rem;max-height:4rem}atomic-result-section-bottom-metadata.with-sections.display-list.density-normal{margin-top:.625rem;max-height:3.5rem}atomic-result-section-bottom-metadata.with-sections.display-list.density-compact{margin-top:.4375rem;max-height:3.25rem}atomic-result-section-bottom-metadata.with-sections.display-grid.image-large.density-comfortable{margin-top:.75rem;max-height:4rem}atomic-result-section-bottom-metadata.with-sections.display-grid.image-large.density-normal{margin-top:.625rem;max-height:3.5rem}atomic-result-section-bottom-metadata.with-sections.display-grid.image-large.density-compact{margin-top:.4375rem;max-height:3.25rem}atomic-result-section-bottom-metadata.with-sections.display-grid.image-icon,atomic-result-section-bottom-metadata.with-sections.display-grid.image-none,atomic-result-section-bottom-metadata.with-sections.display-grid.image-small{max-height:3rem}:is(atomic-result-section-bottom-metadata.with-sections.display-grid.image-small,atomic-result-section-bottom-metadata.with-sections.display-grid.image-icon,atomic-result-section-bottom-metadata.with-sections.display-grid.image-none).density-comfortable{margin-top:1rem}:is(atomic-result-section-bottom-metadata.with-sections.display-grid.image-small,atomic-result-section-bottom-metadata.with-sections.display-grid.image-icon,atomic-result-section-bottom-metadata.with-sections.display-grid.image-none).density-normal{margin-top:.75rem}:is(atomic-result-section-bottom-metadata.with-sections.display-grid.image-small,atomic-result-section-bottom-metadata.with-sections.display-grid.image-icon,atomic-result-section-bottom-metadata.with-sections.display-grid.image-none).density-compact{margin-top:.5rem}}atomic-result-section-bottom-metadata.with-sections.display-table.density-comfortable{margin-top:1.25rem;max-height:4rem}atomic-result-section-bottom-metadata.with-sections.display-table.density-normal{margin-top:.875rem;max-height:3.5rem}atomic-result-section-bottom-metadata.with-sections.display-table.density-compact{margin-top:.6875rem;max-height:3.25rem}`) {
|
|
9144
9298
|
};
|
|
9145
|
-
AtomicResultSectionBottomMetadata$1 = _ts_decorate$
|
|
9299
|
+
AtomicResultSectionBottomMetadata$1 = _ts_decorate$1B([
|
|
9146
9300
|
decorators_js.customElement('atomic-result-section-bottom-metadata')
|
|
9147
9301
|
], AtomicResultSectionBottomMetadata$1);
|
|
9148
9302
|
|
|
9149
|
-
function _ts_decorate$
|
|
9303
|
+
function _ts_decorate$1A(decorators, target, key, desc) {
|
|
9150
9304
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9151
9305
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
9152
9306
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9154,11 +9308,11 @@ function _ts_decorate$1z(decorators, target, key, desc) {
|
|
|
9154
9308
|
}
|
|
9155
9309
|
let AtomicResultSectionExcerpt$1 = class AtomicResultSectionExcerpt extends ItemSectionMixin(lit.LitElement, lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */atomic-result-section-excerpt.with-sections{color:var(--atomic-neutral-dark);-webkit-line-clamp:2;text-overflow:ellipsis;-webkit-box-orient:vertical;display:-webkit-box;grid-area:excerpt;overflow:hidden}@media (min-width:1024px){atomic-result-section-excerpt.with-sections.density-comfortable{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:3;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}atomic-result-section-excerpt.with-sections.density-compact{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}atomic-result-section-excerpt.with-sections.display-list.density-comfortable{margin-top:1.75rem;max-height:4.5rem}atomic-result-section-excerpt.with-sections.display-list.density-normal{margin-top:1.25rem;max-height:2.5rem}atomic-result-section-excerpt.with-sections.display-list.density-compact{margin-top:1rem;max-height:1.25rem}atomic-result-section-excerpt.with-sections.display-grid.density-comfortable{margin-top:2.25rem}atomic-result-section-excerpt.with-sections.display-grid.density-normal{margin-top:1.75rem}atomic-result-section-excerpt.with-sections.display-grid.density-compact{margin-top:1.25rem}}@media not all and (min-width:1024px){atomic-result-section-excerpt.with-sections.display-list.density-comfortable,atomic-result-section-excerpt.with-sections.display-list.density-normal{max-height:2.5rem}atomic-result-section-excerpt.with-sections.display-list.density-comfortable{margin-top:1.25rem}atomic-result-section-excerpt.with-sections.display-list.density-normal{margin-top:1rem}atomic-result-section-excerpt.with-sections.display-grid.image-large.density-comfortable,atomic-result-section-excerpt.with-sections.display-grid.image-large.density-normal{max-height:2.5rem}atomic-result-section-excerpt.with-sections.display-grid.image-large.density-comfortable{margin-top:1.25rem}atomic-result-section-excerpt.with-sections.display-grid.image-large.density-normal{margin-top:1rem}:is(atomic-result-section-excerpt.with-sections.display-grid.image-small,atomic-result-section-excerpt.with-sections.display-grid.image-icon,atomic-result-section-excerpt.with-sections.display-grid.image-none).density-comfortable{margin-top:1.25rem}:is(atomic-result-section-excerpt.with-sections.display-grid.image-small,atomic-result-section-excerpt.with-sections.display-grid.image-icon,atomic-result-section-excerpt.with-sections.display-grid.image-none).density-normal{margin-top:1rem}:is(atomic-result-section-excerpt.with-sections.display-grid.image-small,atomic-result-section-excerpt.with-sections.display-grid.image-icon,atomic-result-section-excerpt.with-sections.display-grid.image-none).density-compact{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;margin-top:.75rem;overflow:hidden}}atomic-result-section-excerpt.with-sections.display-table.density-comfortable{margin-top:1.75rem;max-height:4.5rem}atomic-result-section-excerpt.with-sections.display-table.density-normal{margin-top:1.25rem;max-height:2.5rem}atomic-result-section-excerpt.with-sections.display-table.density-compact{margin-top:1rem;max-height:1.25rem}`) {
|
|
9156
9310
|
};
|
|
9157
|
-
AtomicResultSectionExcerpt$1 = _ts_decorate$
|
|
9311
|
+
AtomicResultSectionExcerpt$1 = _ts_decorate$1A([
|
|
9158
9312
|
decorators_js.customElement('atomic-result-section-excerpt')
|
|
9159
9313
|
], AtomicResultSectionExcerpt$1);
|
|
9160
9314
|
|
|
9161
|
-
function _ts_decorate$
|
|
9315
|
+
function _ts_decorate$1z(decorators, target, key, desc) {
|
|
9162
9316
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9163
9317
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
9164
9318
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9166,40 +9320,40 @@ function _ts_decorate$1y(decorators, target, key, desc) {
|
|
|
9166
9320
|
}
|
|
9167
9321
|
let AtomicResultSectionTitle$1 = class AtomicResultSectionTitle extends ItemSectionMixin(lit.LitElement, lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */atomic-result-section-title.with-sections{color:var(--atomic-on-background);text-overflow:ellipsis;--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));grid-area:title;line-height:var(--line-height);overflow:hidden}atomic-result-section-title.with-sections.density-comfortable{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}@media (min-width:1024px){atomic-result-section-title.with-sections.display-grid{-webkit-line-clamp:2;word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}}@media not all and (min-width:1024px){atomic-result-section-title.with-sections.display-grid.image-large,atomic-result-section-title.with-sections.display-list{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-title.with-sections.display-grid.image-icon,atomic-result-section-title.with-sections.display-grid.image-none,atomic-result-section-title.with-sections.display-grid.image-small{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;max-height:3rem;overflow:hidden}}`) {
|
|
9168
9322
|
};
|
|
9169
|
-
AtomicResultSectionTitle$1 = _ts_decorate$
|
|
9323
|
+
AtomicResultSectionTitle$1 = _ts_decorate$1z([
|
|
9170
9324
|
decorators_js.customElement('atomic-result-section-title')
|
|
9171
9325
|
], AtomicResultSectionTitle$1);
|
|
9172
9326
|
|
|
9173
|
-
function _ts_decorate$
|
|
9327
|
+
function _ts_decorate$1y(decorators, target, key, desc) {
|
|
9174
9328
|
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
9175
9329
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
9176
9330
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9177
9331
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9178
9332
|
}
|
|
9179
|
-
function _ts_metadata$
|
|
9333
|
+
function _ts_metadata$1u(k, v) {
|
|
9180
9334
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
9181
9335
|
}
|
|
9182
9336
|
let AtomicResultSectionVisual$1 = class AtomicResultSectionVisual extends ItemSectionMixin(lit.LitElement, lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */atomic-result-section-visual.with-sections{grid-area:visual;overflow:hidden;text-overflow:ellipsis}atomic-result-section-visual.with-sections.image-icon{border-radius:var(--atomic-border-radius);height:2rem;width:2rem}atomic-result-section-visual.with-sections.image-none{display:none}@media (min-width:1024px){atomic-result-section-visual.with-sections.display-list{margin-right:1rem}atomic-result-section-visual.with-sections.display-list.density-comfortable{margin-right:1.5rem}atomic-result-section-visual.with-sections.display-list.image-large.density-compact{height:10rem;width:10rem}atomic-result-section-visual.with-sections.display-list.image-large.density-comfortable,atomic-result-section-visual.with-sections.display-list.image-large.density-normal{height:20.375rem;width:20.375rem}atomic-result-section-visual.with-sections.display-list.image-small{height:10rem;width:10rem}atomic-result-section-visual.with-sections.display-grid{margin-bottom:.5rem}:is(atomic-result-section-visual.with-sections.display-grid.image-large,atomic-result-section-visual.with-sections.display-grid.image-small).density-comfortable{margin:0 auto 2rem}:is(atomic-result-section-visual.with-sections.display-grid.image-large,atomic-result-section-visual.with-sections.display-grid.image-small).density-normal{margin:0 auto 1.5rem}:is(atomic-result-section-visual.with-sections.display-grid.image-large,atomic-result-section-visual.with-sections.display-grid.image-small).density-compact{margin:0 auto 1rem}atomic-result-section-visual.with-sections.display-grid.image-large,atomic-result-section-visual.with-sections.display-grid.image-small{width:100%}atomic-result-section-visual.with-sections.display-grid.image-large{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){atomic-result-section-visual.with-sections.display-grid.image-large{height:19.75rem}}atomic-result-section-visual.with-sections.display-grid.image-small{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){atomic-result-section-visual.with-sections.display-grid.image-small{height:14rem}}}@media not all and (min-width:1024px){atomic-result-section-visual.with-sections.display-list{margin-right:1rem}atomic-result-section-visual.with-sections.display-list.image-large{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){atomic-result-section-visual.with-sections.display-list.image-large{height:7.25rem}}atomic-result-section-visual.with-sections.display-list.image-large{margin-bottom:1rem;margin-right:0;width:100%}atomic-result-section-visual.with-sections.display-list.image-small{height:24vw;margin-bottom:1rem;width:24vw}atomic-result-section-visual.with-sections.display-list.image-icon{margin-bottom:0}atomic-result-section-visual.with-sections.display-grid.image-large{margin-right:1rem}atomic-result-section-visual.with-sections.display-grid.image-large.image-large{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){atomic-result-section-visual.with-sections.display-grid.image-large.image-large{height:7.25rem}}atomic-result-section-visual.with-sections.display-grid.image-large.image-large{margin-bottom:1rem;margin-right:0;width:100%}atomic-result-section-visual.with-sections.display-grid.image-large.image-small{height:24vw;margin-bottom:1rem;width:24vw}atomic-result-section-visual.with-sections.display-grid.image-large.image-icon{margin-bottom:0}:is(:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-large,:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-small).density-comfortable{margin-bottom:1rem}:is(:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-large,:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-small).density-normal{margin-bottom:.75rem}:is(:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-large,:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-small).density-compact{margin-bottom:.5rem}:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-large,:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-small{width:100%}:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-small{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-small{height:9rem}}:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-small{height:10.25rem;width:10.25rem}}atomic-result-section-visual.with-sections.display-table{margin-right:1rem}atomic-result-section-visual.with-sections.display-table.density-comfortable{margin-right:1.5rem}atomic-result-section-visual.with-sections.display-table.image-large.density-compact{height:10rem;width:10rem}atomic-result-section-visual.with-sections.display-table.image-large.density-comfortable,atomic-result-section-visual.with-sections.display-table.image-large.density-normal{height:20.375rem;width:20.375rem}atomic-result-section-visual.with-sections.display-table.image-small{height:10rem;width:10rem}`) {
|
|
9183
9337
|
};
|
|
9184
|
-
_ts_decorate$
|
|
9338
|
+
_ts_decorate$1y([
|
|
9185
9339
|
decorators_js.property({
|
|
9186
9340
|
reflect: true,
|
|
9187
9341
|
attribute: 'image-size',
|
|
9188
9342
|
type: Object
|
|
9189
9343
|
}),
|
|
9190
|
-
_ts_metadata$
|
|
9344
|
+
_ts_metadata$1u("design:type", "u" < typeof Omit ? Object : Omit)
|
|
9191
9345
|
], AtomicResultSectionVisual$1.prototype, "imageSize", void 0);
|
|
9192
|
-
AtomicResultSectionVisual$1 = _ts_decorate$
|
|
9346
|
+
AtomicResultSectionVisual$1 = _ts_decorate$1y([
|
|
9193
9347
|
decorators_js.customElement('atomic-result-section-visual')
|
|
9194
9348
|
], AtomicResultSectionVisual$1);
|
|
9195
9349
|
|
|
9196
|
-
function _ts_decorate$
|
|
9350
|
+
function _ts_decorate$1x(decorators, target, key, desc) {
|
|
9197
9351
|
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
9198
9352
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
9199
9353
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9200
9354
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9201
9355
|
}
|
|
9202
|
-
function _ts_metadata$
|
|
9356
|
+
function _ts_metadata$1t(k, v) {
|
|
9203
9357
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
9204
9358
|
}
|
|
9205
9359
|
const placeholderClasses = 'block bg-neutral w-full h-full rounded';
|
|
@@ -9256,37 +9410,37 @@ class AtomicResultPlaceholder extends lit.LitElement {
|
|
|
9256
9410
|
}
|
|
9257
9411
|
}
|
|
9258
9412
|
AtomicResultPlaceholder.styles = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-font-weight:initial;--tw-border-style:solid}}}@layer components{:host :host{font-family:var(--atomic-font-family);--tw-font-weight:var(--atomic-font-normal);font-weight:var(--atomic-font-normal)}:host atomic-result-section-actions,:host atomic-result-section-badges{text-align:left}:host atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.5rem}:host .result-root.with-sections{display:grid;justify-items:stretch}:host .result-root.with-sections atomic-result-section-visual{grid-area:visual}:host .result-root.with-sections atomic-result-section-badges{grid-area:badges}:host .result-root.with-sections atomic-result-section-actions{grid-area:actions}:host .result-root.with-sections atomic-result-section-actions atomic-result-quickview{display:inline-block}:host .result-root.with-sections atomic-result-section-title{color:var(--atomic-on-background);grid-area:title}:host .result-root.with-sections atomic-result-section-title-metadata{grid-area:title-metadata}:host .result-root.with-sections atomic-result-section-emphasized{grid-area:emphasized}:host .result-root.with-sections atomic-result-section-excerpt{color:var(--atomic-neutral-dark);grid-area:excerpt}:host .result-root.with-sections atomic-result-section-bottom-metadata{color:var(--atomic-neutral-dark);grid-area:bottom-metadata}:host .result-root.with-sections atomic-result-section-children{grid-area:children}:host .result-root.with-sections atomic-result-section-actions,:host .result-root.with-sections atomic-result-section-badges{display:flex;flex-wrap:wrap;gap:.5rem;max-height:calc(var(--row-height,2rem)*2 + .5rem)}:host .result-root.with-sections atomic-result-section-actions,:host .result-root.with-sections atomic-result-section-badges,:host .result-root.with-sections atomic-result-section-bottom-metadata,:host .result-root.with-sections atomic-result-section-emphasized,:host .result-root.with-sections atomic-result-section-excerpt,:host .result-root.with-sections atomic-result-section-title,:host .result-root.with-sections atomic-result-section-title-metadata,:host .result-root.with-sections atomic-result-section-visual{overflow:hidden;text-overflow:ellipsis}:host .result-root.with-sections.image-icon atomic-result-section-visual{border-radius:var(--atomic-border-radius)}@media (min-width:1024px){:host .result-root.with-sections.display-list.image-large.density-compact atomic-result-section-visual{height:10.25rem;width:10.25rem}:host .result-root.with-sections.display-list atomic-result-section-children atomic-insight-result-children::part(children-root),:host .result-root.with-sections.display-list atomic-result-section-children atomic-result-children::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-visual{margin-right:1.5rem}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-actions,:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-badges{--row-height:2rem;margin-bottom:1.5rem}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-title{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-excerpt{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:3;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.75rem;max-height:4.5rem;overflow:hidden}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.25rem;max-height:4rem}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-list.density-comfortable atomic-result-children,:host .result-root.with-sections.display-list.density-comfortable atomic-insight-result-children)::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:1.25rem;padding:1.75rem}:is(:host .result-root.with-sections.display-list.density-comfortable atomic-result-children,:host .result-root.with-sections.display-list.density-comfortable atomic-insight-result-children)::part(show-hide-button){margin-bottom:1.25rem;margin-top:1.25rem}:host .result-root.with-sections.display-list.density-comfortable .placeholder,:host .result-root.with-sections.display-list.density-comfortable.child-result:not(.last-child){margin-bottom:1.75rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-actions,:host .result-root.with-sections.display-list.density-normal atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-list.density-normal atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.25rem;max-height:2.5rem;overflow:hidden}:host .result-root.with-sections.display-list.density-normal atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.875rem;max-height:3.5rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-list.density-normal atomic-result-children,:host .result-root.with-sections.display-list.density-normal atomic-insight-result-children)::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:.875rem;padding:1.5rem}:is(:host .result-root.with-sections.display-list.density-normal atomic-result-children,:host .result-root.with-sections.display-list.density-normal atomic-insight-result-children)::part(show-hide-button){margin-bottom:.875rem;margin-top:.875rem}:host .result-root.with-sections.display-list.density-normal .placeholder,:host .result-root.with-sections.display-list.density-normal.child-result:not(.last-child){margin-bottom:1.5rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-actions,:host .result-root.with-sections.display-list.density-compact atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-list.density-compact atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:1;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1rem;max-height:1.25rem;overflow:hidden}:host .result-root.with-sections.display-list.density-compact atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.6875rem;max-height:3.25rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-list.density-compact atomic-result-children,:host .result-root.with-sections.display-list.density-compact atomic-insight-result-children)::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:.475rem;padding:1rem}:is(:host .result-root.with-sections.display-list.density-compact atomic-result-children,:host .result-root.with-sections.display-list.density-compact atomic-insight-result-children)::part(show-hide-button){margin-bottom:.475rem;margin-top:.475rem}:host .result-root.with-sections.display-list.density-compact .placeholder,:host .result-root.with-sections.display-list.density-compact.child-result:not(.last-child){margin-bottom:1rem}:host .result-root.with-sections.display-list.image-large,:host .result-root.with-sections.display-list.image-small{grid-template-areas:"badges badges.actions""visual title title title""visual title-metadata title-metadata title-metadata""visual emphasized emphasized emphasized""visual excerpt excerpt excerpt""visual bottom-metadata bottom-metadata bottom-metadata""visual children children children";grid-template-columns:minmax(0,min-content) auto 1fr auto;grid-template-rows:repeat(6,auto) minmax(0,1fr)}:is(:host .result-root.with-sections.display-list.image-large.density-comfortable,:host .result-root.with-sections.display-list.image-large.density-normal) atomic-result-section-visual{height:20.375rem;width:20.375rem}:is(:host .result-root.with-sections.display-list.image-small,:host .result-root.with-sections.display-list.image-large.density-compact) atomic-result-section-visual{height:10rem;width:10rem}:host .result-root.with-sections.display-list.image-icon{grid-template-areas:"badges badges.actions""visual title title title""visual title-metadata title-metadata title-metadata""visual emphasized emphasized emphasized""visual excerpt excerpt excerpt""visual bottom-metadata bottom-metadata bottom-metadata""visual children children children";grid-template-columns:minmax(0,min-content) auto 1fr auto;grid-template-rows:repeat(7,minmax(0,min-content))}:host .result-root.with-sections.display-list.image-icon atomic-result-section-visual{height:2rem;width:2rem}:host .result-root.with-sections.display-list.image-none{grid-template-areas:"badges.actions""title title title""title-metadata title-metadata title-metadata""emphasized emphasized emphasized""excerpt excerpt excerpt""bottom-metadata bottom-metadata bottom-metadata""children children children";grid-template-columns:auto 1fr auto;grid-template-rows:repeat(6,auto)}:host .result-root.with-sections.display-list.image-none atomic-result-section-visual{display:none}}@media not all and (min-width:1024px){:host .result-root.with-sections.display-list atomic-result-section-children atomic-insight-result-children::part(children-root),:host .result-root.with-sections.display-list atomic-result-section-children atomic-result-children::part(children-root){border-top:1px var(--tw-border-style) var(--atomic-neutral)}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-actions{--row-height:2.5rem;margin-top:1rem}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.25rem;max-height:2.5rem;overflow:hidden}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.75rem;max-height:4rem}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-list.density-comfortable atomic-result-children,:host .result-root.with-sections.display-list.density-comfortable atomic-insight-result-children)::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1.75rem;padding-inline:1rem}:is(:host .result-root.with-sections.display-list.density-comfortable atomic-result-children,:host .result-root.with-sections.display-list.density-comfortable atomic-insight-result-children)::part(show-hide-button){margin-bottom:1.25rem;margin-top:1.25rem}:host .result-root.with-sections.display-list.density-comfortable .placeholder,:host .result-root.with-sections.display-list.density-comfortable.child-result:not(.last-child){margin-bottom:1.75rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-actions{--row-height:2.5rem;margin-top:.75rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-list.density-normal atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1rem;max-height:2.5rem;overflow:hidden}:host .result-root.with-sections.display-list.density-normal atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.625rem;max-height:3.5rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-list.density-normal atomic-result-children,:host .result-root.with-sections.display-list.density-normal atomic-insight-result-children)::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1.5rem;padding-inline:1rem}:is(:host .result-root.with-sections.display-list.density-normal atomic-result-children,:host .result-root.with-sections.display-list.density-normal atomic-insight-result-children)::part(show-hide-button){margin-bottom:.875rem;margin-top:.875rem}:host .result-root.with-sections.display-list.density-normal .placeholder,:host .result-root.with-sections.display-list.density-normal.child-result:not(.last-child){margin-bottom:1.5rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-actions{--row-height:2.5rem;margin-top:.5em}:host .result-root.with-sections.display-list.density-compact atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-list.density-compact atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:1;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:.75rem;max-height:1.25rem;overflow:hidden}:host .result-root.with-sections.display-list.density-compact atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.4375rem;max-height:3.25rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-list.density-compact atomic-result-children,:host .result-root.with-sections.display-list.density-compact atomic-insight-result-children)::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1rem;padding-inline:1rem}:is(:host .result-root.with-sections.display-list.density-compact atomic-result-children,:host .result-root.with-sections.display-list.density-compact atomic-insight-result-children)::part(show-hide-button){margin-bottom:.475rem;margin-top:.475rem}:host .result-root.with-sections.display-list.density-compact .placeholder,:host .result-root.with-sections.display-list.density-compact.child-result:not(.last-child){margin-bottom:1rem}:host .result-root.with-sections.display-list.image-large{grid-template-areas:"visual""badges""title""title-metadata""emphasized""excerpt""bottom-metadata""actions""children";grid-template-columns:100%;grid-template-rows:repeat(8,auto)}:host .result-root.with-sections.display-list.image-large atomic-result-section-visual{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:host .result-root.with-sections.display-list.image-large atomic-result-section-visual{height:7.25rem}}:host .result-root.with-sections.display-list.image-large atomic-result-section-visual{margin-bottom:1rem;margin-right:0;width:100%}:host .result-root.with-sections.display-list.image-small{grid-template-areas:"badges badges""visual title""visual title-metadata""visual emphasized""visual.""excerpt excerpt""bottom-metadata bottom-metadata""actions actions""children children";grid-template-columns:auto minmax(0,1fr);grid-template-rows:repeat(4,auto) minmax(0,1fr) repeat(3,auto)}:host .result-root.with-sections.display-list.image-small atomic-result-section-visual{height:24vw;margin-bottom:1rem;width:24vw}:host .result-root.with-sections.display-list.image-icon{grid-template-areas:"badges badges""visual title""visual title-metadata""visual emphasized""visual excerpt""visual bottom-metadata""visual actions""visual children";grid-template-columns:auto minmax(0,1fr);grid-template-rows:repeat(7,auto) 1fr}:host .result-root.with-sections.display-list.image-icon atomic-result-section-visual{height:2rem;margin-bottom:0;width:2rem}:host .result-root.with-sections.display-list.image-none{grid-template-areas:"badges""title""title-metadata""emphasized""excerpt""bottom-metadata""actions""children";grid-template-columns:100%;grid-template-rows:repeat(7,auto)}:host .result-root.with-sections.display-list.image-none atomic-result-section-visual{display:none}}:host .result-root.with-sections.display-grid a,:host .result-root.with-sections.display-grid button{position:relative}@media (min-width:1024px){:host .result-root.with-sections.display-grid.image-large{grid-template-areas:"badges""visual""title""title-metadata""emphasized""excerpt""children""bottom-metadata""actions";grid-template-columns:100%;grid-template-rows:repeat(9,auto)}:is(:host .result-root.with-sections.display-grid.image-large.density-comfortable.image-large,:host .result-root.with-sections.display-grid.image-large.density-comfortable.image-small) atomic-result-section-visual{margin:0 auto 2rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable.image-icon atomic-result-section-badges{margin-bottom:2rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable.image-icon atomic-result-section-visual{height:2rem;width:2rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-visual{margin-bottom:.5rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-actions{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2.5rem;margin-top:2.25rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-title{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-excerpt{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:3;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:2.25rem;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.75rem;max-height:4rem}:is(:host .result-root.with-sections.display-grid.image-large.density-normal.image-large,:host .result-root.with-sections.display-grid.image-large.density-normal.image-small) atomic-result-section-visual{margin:0 auto 1.5rem}:host .result-root.with-sections.display-grid.image-large.density-normal.image-icon atomic-result-section-badges{margin-bottom:1.5rem}:host .result-root.with-sections.display-grid.image-large.density-normal.image-icon atomic-result-section-visual{height:2rem;width:2rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-visual{margin-bottom:.5rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-actions{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-top:1.75rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.75rem;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.375rem;max-height:3.5rem}:is(:host .result-root.with-sections.display-grid.image-large.density-compact.image-large,:host .result-root.with-sections.display-grid.image-large.density-compact.image-small) atomic-result-section-visual{margin:0 auto 1rem}:host .result-root.with-sections.display-grid.image-large.density-compact.image-icon atomic-result-section-badges{margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.density-compact.image-icon atomic-result-section-visual{height:2rem;width:2rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-visual{margin-bottom:.5rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-actions{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-top:1.25rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:1;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.25rem;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.9375rem;max-height:3.25rem}:host .result-root.with-sections.display-grid.image-large.image-large atomic-result-section-visual{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:host .result-root.with-sections.display-grid.image-large.image-large atomic-result-section-visual{height:19.75rem}}:host .result-root.with-sections.display-grid.image-large.image-large atomic-result-section-visual{width:100%}:host .result-root.with-sections.display-grid.image-large.image-large atomic-result-section-badges{margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.image-small atomic-result-section-visual{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:host .result-root.with-sections.display-grid.image-large.image-small atomic-result-section-visual{height:14rem}}:host .result-root.with-sections.display-grid.image-large.image-small atomic-result-section-visual{width:100%}:host .result-root.with-sections.display-grid.image-large.image-none atomic-result-section-visual{display:none}}@media not all and (min-width:1024px){:host .result-root.with-sections.display-grid.image-large atomic-result-section-children atomic-insight-result-children::part(children-root),:host .result-root.with-sections.display-grid.image-large atomic-result-section-children atomic-result-children::part(children-root){border-top:1px var(--tw-border-style) var(--atomic-neutral)}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-actions{--row-height:2.5rem;margin-top:1rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.25rem;max-height:2.5rem;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.75rem;max-height:4rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-children,:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-insight-result-children)::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1.75rem;padding-inline:1rem}:is(:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-children,:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-insight-result-children)::part(show-hide-button){margin-bottom:1.25rem;margin-top:1.25rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable .placeholder,:host .result-root.with-sections.display-grid.image-large.density-comfortable.child-result:not(.last-child){margin-bottom:1.75rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-actions{--row-height:2.5rem;margin-top:.75rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1rem;max-height:2.5rem;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.625rem;max-height:3.5rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-children,:host .result-root.with-sections.display-grid.image-large.density-normal atomic-insight-result-children)::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1.5rem;padding-inline:1rem}:is(:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-children,:host .result-root.with-sections.display-grid.image-large.density-normal atomic-insight-result-children)::part(show-hide-button){margin-bottom:.875rem;margin-top:.875rem}:host .result-root.with-sections.display-grid.image-large.density-normal .placeholder,:host .result-root.with-sections.display-grid.image-large.density-normal.child-result:not(.last-child){margin-bottom:1.5rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-actions{--row-height:2.5rem;margin-top:.5em}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:1;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:.75rem;max-height:1.25rem;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.4375rem;max-height:3.25rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-children,:host .result-root.with-sections.display-grid.image-large.density-compact atomic-insight-result-children)::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1rem;padding-inline:1rem}:is(:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-children,:host .result-root.with-sections.display-grid.image-large.density-compact atomic-insight-result-children)::part(show-hide-button){margin-bottom:.475rem;margin-top:.475rem}:host .result-root.with-sections.display-grid.image-large.density-compact .placeholder,:host .result-root.with-sections.display-grid.image-large.density-compact.child-result:not(.last-child){margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.image-large{grid-template-areas:"visual""badges""title""title-metadata""emphasized""excerpt""bottom-metadata""actions""children";grid-template-columns:100%;grid-template-rows:repeat(8,auto)}:host .result-root.with-sections.display-grid.image-large.image-large atomic-result-section-visual{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:host .result-root.with-sections.display-grid.image-large.image-large atomic-result-section-visual{height:7.25rem}}:host .result-root.with-sections.display-grid.image-large.image-large atomic-result-section-visual{margin-bottom:1rem;margin-right:0;width:100%}:host .result-root.with-sections.display-grid.image-large.image-small{grid-template-areas:"badges badges""visual title""visual title-metadata""visual emphasized""visual.""excerpt excerpt""bottom-metadata bottom-metadata""actions actions""children children";grid-template-columns:auto minmax(0,1fr);grid-template-rows:repeat(4,auto) minmax(0,1fr) repeat(3,auto)}:host .result-root.with-sections.display-grid.image-large.image-small atomic-result-section-visual{height:24vw;margin-bottom:1rem;width:24vw}:host .result-root.with-sections.display-grid.image-large.image-icon{grid-template-areas:"badges badges""visual title""visual title-metadata""visual emphasized""visual excerpt""visual bottom-metadata""visual actions""visual children";grid-template-columns:auto minmax(0,1fr);grid-template-rows:repeat(7,auto) 1fr}:host .result-root.with-sections.display-grid.image-large.image-icon atomic-result-section-visual{height:2rem;margin-bottom:0;width:2rem}:host .result-root.with-sections.display-grid.image-large.image-none{grid-template-areas:"badges""title""title-metadata""emphasized""excerpt""bottom-metadata""actions""children";grid-template-columns:100%;grid-template-rows:repeat(7,auto)}:host .result-root.with-sections.display-grid.image-large.image-none atomic-result-section-visual{display:none}}@media (min-width:1024px){:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none,:host .result-root.with-sections.display-grid.image-small{grid-template-areas:"badges""visual""title""title-metadata""emphasized""excerpt""children""bottom-metadata""actions";grid-template-columns:100%;grid-template-rows:repeat(9,auto)}:is(:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable.image-large,:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable.image-small) atomic-result-section-visual{margin:0 auto 2rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable.image-icon atomic-result-section-badges{margin-bottom:2rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable.image-icon atomic-result-section-visual{height:2rem;width:2rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-visual{margin-bottom:.5rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-actions{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2.5rem;margin-top:2.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-title{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-excerpt{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:3;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:2.25rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.75rem;max-height:4rem}:is(:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal.image-large,:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal.image-small) atomic-result-section-visual{margin:0 auto 1.5rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal.image-icon atomic-result-section-badges{margin-bottom:1.5rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal.image-icon atomic-result-section-visual{height:2rem;width:2rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-visual{margin-bottom:.5rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-actions{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-top:1.75rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.75rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.375rem;max-height:3.5rem}:is(:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact.image-large,:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact.image-small) atomic-result-section-visual{margin:0 auto 1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact.image-icon atomic-result-section-badges{margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact.image-icon atomic-result-section-visual{height:2rem;width:2rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-visual{margin-bottom:.5rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-actions{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-top:1.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:1;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.25rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.9375rem;max-height:3.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-large atomic-result-section-visual{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-large atomic-result-section-visual{height:19.75rem}}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-large atomic-result-section-visual{width:100%}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-large atomic-result-section-badges{margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-small atomic-result-section-visual{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-small atomic-result-section-visual{height:14rem}}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-small atomic-result-section-visual{width:100%}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-none atomic-result-section-visual{display:none}}@media not all and (min-width:1024px){:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none,:host .result-root.with-sections.display-grid.image-small{grid-template-areas:"badges""visual""title""title-metadata""emphasized""excerpt""children""bottom-metadata""actions";grid-template-columns:100%;grid-template-rows:repeat(9,auto)}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-visual{margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable.image-small atomic-result-section-visual{height:10.25rem;width:10.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-actions{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-top:1.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-title{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;max-height:3rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.25rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1rem;max-height:3rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-children{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-visual{margin-bottom:.75rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal.image-small atomic-result-section-visual{height:10.25rem;width:10.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-actions{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-top:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-title{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;max-height:3rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.75rem;max-height:3rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-children{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-visual{margin-bottom:.5rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact.image-large atomic-result-section-visual{width:100%}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact.image-small atomic-result-section-visual{height:10.25rem;width:10.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-actions{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-top:.75rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-title{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;max-height:3rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:1;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:.75rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.5rem;max-height:3rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-children{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.75rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-small atomic-result-section-visual{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-small atomic-result-section-visual{height:9rem}}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-small atomic-result-section-visual{width:100%}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-icon atomic-result-section-visual{height:2rem;width:2rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-none atomic-result-section-visual{display:none}}:host .result-root.with-sections.display-table.image-large.density-compact atomic-result-section-visual{height:10.25rem;width:10.25rem}:host .result-root.with-sections.display-table atomic-result-section-children atomic-insight-result-children::part(children-root),:host .result-root.with-sections.display-table atomic-result-section-children atomic-result-children::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px}:host .result-root.with-sections.display-table.density-comfortable atomic-result-section-visual{margin-right:1.5rem}:host .result-root.with-sections.display-table.density-comfortable atomic-result-section-actions,:host .result-root.with-sections.display-table.density-comfortable atomic-result-section-badges{--row-height:2rem;margin-bottom:1.5rem}:host .result-root.with-sections.display-table.density-comfortable atomic-result-section-title{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-table.density-comfortable atomic-result-section-excerpt{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:3;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.75rem;max-height:4.5rem;overflow:hidden}:host .result-root.with-sections.display-table.density-comfortable atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.25rem;max-height:4rem}:host .result-root.with-sections.display-table.density-comfortable atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-table.density-comfortable atomic-result-children,:host .result-root.with-sections.display-table.density-comfortable atomic-insight-result-children)::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:1.25rem;padding:1.75rem}:is(:host .result-root.with-sections.display-table.density-comfortable atomic-result-children,:host .result-root.with-sections.display-table.density-comfortable atomic-insight-result-children)::part(show-hide-button){margin-bottom:1.25rem;margin-top:1.25rem}:host .result-root.with-sections.display-table.density-comfortable .placeholder,:host .result-root.with-sections.display-table.density-comfortable.child-result:not(.last-child){margin-bottom:1.75rem}:host .result-root.with-sections.display-table.density-normal atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-table.density-normal atomic-result-section-actions,:host .result-root.with-sections.display-table.density-normal atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-table.density-normal atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-table.density-normal atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.25rem;max-height:2.5rem;overflow:hidden}:host .result-root.with-sections.display-table.density-normal atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.875rem;max-height:3.5rem}:host .result-root.with-sections.display-table.density-normal atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-table.density-normal atomic-result-children,:host .result-root.with-sections.display-table.density-normal atomic-insight-result-children)::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:.875rem;padding:1.5rem}:is(:host .result-root.with-sections.display-table.density-normal atomic-result-children,:host .result-root.with-sections.display-table.density-normal atomic-insight-result-children)::part(show-hide-button){margin-bottom:.875rem;margin-top:.875rem}:host .result-root.with-sections.display-table.density-normal .placeholder,:host .result-root.with-sections.display-table.density-normal.child-result:not(.last-child){margin-bottom:1.5rem}:host .result-root.with-sections.display-table.density-compact atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-table.density-compact atomic-result-section-actions,:host .result-root.with-sections.display-table.density-compact atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-table.density-compact atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-table.density-compact atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:1;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1rem;max-height:1.25rem;overflow:hidden}:host .result-root.with-sections.display-table.density-compact atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.6875rem;max-height:3.25rem}:host .result-root.with-sections.display-table.density-compact atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-table.density-compact atomic-result-children,:host .result-root.with-sections.display-table.density-compact atomic-insight-result-children)::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:.475rem;padding:1rem}:is(:host .result-root.with-sections.display-table.density-compact atomic-result-children,:host .result-root.with-sections.display-table.density-compact atomic-insight-result-children)::part(show-hide-button){margin-bottom:.475rem;margin-top:.475rem}:host .result-root.with-sections.display-table.density-compact .placeholder,:host .result-root.with-sections.display-table.density-compact.child-result:not(.last-child){margin-bottom:1rem}:host .result-root.with-sections.display-table.image-large,:host .result-root.with-sections.display-table.image-small{grid-template-areas:"badges badges.actions""visual title title title""visual title-metadata title-metadata title-metadata""visual emphasized emphasized emphasized""visual excerpt excerpt excerpt""visual bottom-metadata bottom-metadata bottom-metadata""visual children children children";grid-template-columns:minmax(0,min-content) auto 1fr auto;grid-template-rows:repeat(6,auto) minmax(0,1fr)}:is(:host .result-root.with-sections.display-table.image-large.density-comfortable,:host .result-root.with-sections.display-table.image-large.density-normal) atomic-result-section-visual{height:20.375rem;width:20.375rem}:is(:host .result-root.with-sections.display-table.image-small,:host .result-root.with-sections.display-table.image-large.density-compact) atomic-result-section-visual{height:10rem;width:10rem}:host .result-root.with-sections.display-table.image-icon{grid-template-areas:"badges badges.actions""visual title title title""visual title-metadata title-metadata title-metadata""visual emphasized emphasized emphasized""visual excerpt excerpt excerpt""visual bottom-metadata bottom-metadata bottom-metadata""visual children children children";grid-template-columns:minmax(0,min-content) auto 1fr auto;grid-template-rows:repeat(7,minmax(0,min-content))}:host .result-root.with-sections.display-table.image-icon atomic-result-section-visual{height:2rem;width:2rem}:host .result-root.with-sections.display-table.image-none{grid-template-areas:"badges.actions""title title title""title-metadata title-metadata title-metadata""emphasized emphasized emphasized""excerpt excerpt excerpt""bottom-metadata bottom-metadata bottom-metadata""children children children";grid-template-columns:auto 1fr auto;grid-template-rows:repeat(6,auto)}:host .link-container,:host .result-root atomic-table-element,:host .result-root.with-sections.display-table.image-none atomic-result-section-visual{display:none}}:host .result-root.display-grid atomic-result-section-actions{display:none}:host .result-root .badge{width:14rem}:host .result-root .action{width:10rem}:host .result-root .title{grid-gap:.5rem;display:grid;grid-auto-flow:column;height:var(--line-height);max-width:100%;width:30rem}:host .result-root .fields-placeholder{grid-column-gap:.5rem;display:grid;grid-template-columns:repeat(auto-fill,min(11rem,40%))}:host .result-root .fields-placeholder .field-value-placeholder{height:var(--font-size);margin:calc((var(--line-height) - var(--font-size))/2) 0}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`;
|
|
9259
|
-
_ts_decorate$
|
|
9413
|
+
_ts_decorate$1x([
|
|
9260
9414
|
decorators_js.property({
|
|
9261
9415
|
type: String
|
|
9262
9416
|
}),
|
|
9263
|
-
_ts_metadata$
|
|
9417
|
+
_ts_metadata$1t("design:type", "u" < typeof ItemDisplayLayout ? Object : ItemDisplayLayout)
|
|
9264
9418
|
], AtomicResultPlaceholder.prototype, "display", void 0);
|
|
9265
|
-
_ts_decorate$
|
|
9419
|
+
_ts_decorate$1x([
|
|
9266
9420
|
decorators_js.property({
|
|
9267
9421
|
type: String
|
|
9268
9422
|
}),
|
|
9269
|
-
_ts_metadata$
|
|
9423
|
+
_ts_metadata$1t("design:type", "u" < typeof ItemDisplayDensity ? Object : ItemDisplayDensity)
|
|
9270
9424
|
], AtomicResultPlaceholder.prototype, "density", void 0);
|
|
9271
|
-
_ts_decorate$
|
|
9425
|
+
_ts_decorate$1x([
|
|
9272
9426
|
decorators_js.property({
|
|
9273
9427
|
type: String,
|
|
9274
9428
|
attribute: 'image-size'
|
|
9275
9429
|
}),
|
|
9276
|
-
_ts_metadata$
|
|
9430
|
+
_ts_metadata$1t("design:type", "u" < typeof ItemDisplayImageSize ? Object : ItemDisplayImageSize)
|
|
9277
9431
|
], AtomicResultPlaceholder.prototype, "imageSize", void 0);
|
|
9278
|
-
AtomicResultPlaceholder = _ts_decorate$
|
|
9432
|
+
AtomicResultPlaceholder = _ts_decorate$1x([
|
|
9279
9433
|
decorators_js.customElement('atomic-result-placeholder'),
|
|
9280
9434
|
withTailwindStyles
|
|
9281
9435
|
], AtomicResultPlaceholder);
|
|
9282
9436
|
|
|
9283
|
-
function _ts_decorate$
|
|
9437
|
+
function _ts_decorate$1w(decorators, target, key, desc) {
|
|
9284
9438
|
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
9285
9439
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
9286
9440
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9287
9441
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9288
9442
|
}
|
|
9289
|
-
function _ts_metadata$
|
|
9443
|
+
function _ts_metadata$1s(k, v) {
|
|
9290
9444
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
9291
9445
|
}
|
|
9292
9446
|
class AtomicResultTablePlaceholder extends lit.LitElement {
|
|
@@ -9357,26 +9511,26 @@ class AtomicResultTablePlaceholder extends lit.LitElement {
|
|
|
9357
9511
|
}
|
|
9358
9512
|
}
|
|
9359
9513
|
AtomicResultTablePlaceholder.styles = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-border-style:solid}}}:host{display:grid}.list-root.display-table{border-collapse:separate;border-spacing:0;min-width:100%}.list-root.display-table td,.list-root.display-table th{border-color:var(--atomic-neutral);border-style:var(--tw-border-style);border-width:1px;font-family:var(--atomic-font-family);font-size:var(--atomic-text-sm);line-height:var(--tw-leading,var(--text-sm--line-height,1.42857));line-height:1rem;white-space:nowrap}:is(.list-root.display-table th,.list-root.display-table td):not(:first-child){border-left:none}:is(.list-root.display-table th,.list-root.display-table td):first-child{min-width:19rem}.list-root.display-table th{background-color:var(--atomic-neutral-light);border-bottom:none;color:#000;font-weight:700;padding:1rem var(--padding);text-align:left}.list-root.display-table th:first-child{border-top-left-radius:var(--atomic-border-radius-xl)}.list-root.display-table th:last-child{border-top-right-radius:var(--atomic-border-radius-xl)}.list-root.display-table td{border-top:none;color:var(--atomic-neutral-dark);padding:var(--padding);vertical-align:top}.list-root.display-table.density-comfortable{--padding:2rem}.list-root.display-table.density-normal{--padding:1.5rem}.list-root.display-table.density-compact{--padding:1rem}.list-root.display-table{border-color:var(--atomic-neutral);border-radius:var(--atomic-border-radius-xl);border-style:var(--tw-border-style);border-width:1px}.list-root.display-table tbody tr:not(:last-child),.list-root.display-table thead tr{position:relative}:is(.list-root.display-table thead tr,.list-root.display-table tbody tr:not(:last-child)):after{background-color:var(--atomic-neutral);bottom:0;content:" ";display:block;height:1px;left:var(--padding);position:absolute;right:var(--padding)}.list-root.display-table td,.list-root.display-table th{border-color:#0000;border-radius:initial}.list-root.display-table th{background-color:#0000}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`;
|
|
9360
|
-
_ts_decorate$
|
|
9514
|
+
_ts_decorate$1w([
|
|
9361
9515
|
decorators_js.property({
|
|
9362
9516
|
type: String
|
|
9363
9517
|
}),
|
|
9364
|
-
_ts_metadata$
|
|
9518
|
+
_ts_metadata$1s("design:type", "u" < typeof ItemDisplayDensity ? Object : ItemDisplayDensity)
|
|
9365
9519
|
], AtomicResultTablePlaceholder.prototype, "density", void 0);
|
|
9366
|
-
_ts_decorate$
|
|
9520
|
+
_ts_decorate$1w([
|
|
9367
9521
|
decorators_js.property({
|
|
9368
9522
|
type: String,
|
|
9369
9523
|
attribute: 'image-size'
|
|
9370
9524
|
}),
|
|
9371
|
-
_ts_metadata$
|
|
9525
|
+
_ts_metadata$1s("design:type", "u" < typeof ItemDisplayImageSize ? Object : ItemDisplayImageSize)
|
|
9372
9526
|
], AtomicResultTablePlaceholder.prototype, "imageSize", void 0);
|
|
9373
|
-
_ts_decorate$
|
|
9527
|
+
_ts_decorate$1w([
|
|
9374
9528
|
decorators_js.property({
|
|
9375
9529
|
type: Number
|
|
9376
9530
|
}),
|
|
9377
|
-
_ts_metadata$
|
|
9531
|
+
_ts_metadata$1s("design:type", Number)
|
|
9378
9532
|
], AtomicResultTablePlaceholder.prototype, "rows", void 0);
|
|
9379
|
-
AtomicResultTablePlaceholder = _ts_decorate$
|
|
9533
|
+
AtomicResultTablePlaceholder = _ts_decorate$1w([
|
|
9380
9534
|
decorators_js.customElement('atomic-result-table-placeholder'),
|
|
9381
9535
|
withTailwindStyles
|
|
9382
9536
|
], AtomicResultTablePlaceholder);
|
|
@@ -9457,25 +9611,25 @@ const renderItemList = ({ props })=>(children)=>{
|
|
|
9457
9611
|
return children;
|
|
9458
9612
|
};
|
|
9459
9613
|
|
|
9460
|
-
const styles$
|
|
9461
|
-
const grid_display_tw_css = styles$
|
|
9614
|
+
const styles$k = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-border-style:solid}}}:host [part~=outline][part~=result-list-grid-clickable-container]{border:1px solid #0000;border-radius:1rem;padding:1rem;position:relative;transition:all .12s ease-out}:host [part~=outline][part~=result-list-grid-clickable-container]:hover{border-color:var(--atomic-neutral);border-style:var(--tw-border-style);border-width:1px;box-shadow:0 10px 25px var(--atomic-neutral);cursor:pointer}:host [part=result-list-grid-clickable]:focus-visible{border-color:var(--atomic-primary);border-radius:2px;border-style:var(--tw-border-style);border-width:2px;color:var(--atomic-primary);cursor:pointer;display:inline-block;position:absolute;text-align:center;text-decoration:underline}:host [part=result-list-grid-clickable]:not(:focus){clip:rect(1px,1px,1px,1px);overflow:hidden;padding:0;position:absolute}:host .list-wrapper{word-break:break-word}:host .list-root.display-grid{display:grid;justify-content:space-evenly}:host .list-root.display-grid .result-component{box-sizing:border-box;height:100%}@media (min-width:1024px){:host .list-root.display-grid{grid-template-columns:repeat(auto-fit,minmax(17rem,1fr))}:host .list-root.display-grid.density-comfortable{grid-row-gap:4rem;grid-column-gap:1.5rem}:host .list-root.display-grid.density-compact,:host .list-root.display-grid.density-normal{grid-row-gap:3rem;grid-column-gap:1.5rem}:host .list-root.display-grid.image-large{grid-template-columns:repeat(auto-fill,minmax(19rem,1fr))}@media not all and (min-width:1024px){:host .list-root.display-grid.image-small{grid-template-columns:repeat(3,1fr)}}@media (min-width:1024px){:host .list-root.display-grid.image-small{grid-template-columns:repeat(3,1fr)}}@media (min-width:1280px){:host .list-root.display-grid.image-small{grid-template-columns:repeat(4,1fr)}}}@media not all and (min-width:1024px){@media not all and (min-width:768px){:host .list-root.display-grid.image-large.density-comfortable [part~=outline]:before{margin:2rem 0}:host .list-root.display-grid.image-large.density-normal [part~=outline]:before{margin:1.5rem 0}@media not all and (min-width:1024px){:host .list-root.display-grid.image-large.density-normal [part~=outline]:before{margin:1.75rem 0}}:host .list-root.display-grid.image-large.density-compact [part~=outline]:before{margin:1rem 0}@media not all and (min-width:1024px){:host .list-root.display-grid.image-large.density-compact [part~=outline]:before{margin:1.5rem 0}}:host .list-root.display-grid.image-large [part~=outline]:before{background-color:var(--atomic-neutral);content:" ";display:block;height:1px}:host .list-root.display-grid.image-large [part~=outline]:first-of-type:before{display:none}:host .list-root.display-grid.image-large atomic-result-placeholder:before{background-color:#0000}:host .list-root.display-grid.image-large{grid-template-columns:minmax(auto,35rem)}}@media (min-width:768px){:host .list-root.display-grid.image-large [part~=outline]{border-color:var(--atomic-neutral);border-radius:1rem;border-style:var(--tw-border-style);border-width:1px;padding:1rem}:host .list-root.display-grid.image-large atomic-result-placeholder{border-color:#0000}:host .list-root.display-grid.image-large{grid-column-gap:.5rem;grid-row-gap:.5rem;grid-template-columns:1fr 1fr}}:is(:host .list-root.display-grid.image-small,:host .list-root.display-grid.image-icon,:host .list-root.display-grid.image-none) [part~=outline]{border-color:var(--atomic-neutral);border-radius:1rem;border-style:var(--tw-border-style);border-width:1px;padding:1rem}:is(:host .list-root.display-grid.image-small,:host .list-root.display-grid.image-icon,:host .list-root.display-grid.image-none) atomic-result-placeholder{border-color:#0000}:host .list-root.display-grid.image-icon,:host .list-root.display-grid.image-none,:host .list-root.display-grid.image-small{grid-column-gap:.5rem;grid-row-gap:.5rem}@media not all and (min-width:640px){:host .list-root.display-grid.image-icon,:host .list-root.display-grid.image-none,:host .list-root.display-grid.image-small{grid-template-columns:minmax(0,1fr)}}@media (min-width:768px){:host .list-root.display-grid.image-icon,:host .list-root.display-grid.image-none,:host .list-root.display-grid.image-small{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}@media (min-width:1024px){:host .list-root.display-grid.image-icon,:host .list-root.display-grid.image-none,:host .list-root.display-grid.image-small{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)}}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`;
|
|
9615
|
+
const grid_display_tw_css = styles$k;
|
|
9462
9616
|
|
|
9463
|
-
const styles$
|
|
9464
|
-
const list_display_tw_css = styles$
|
|
9617
|
+
const styles$j = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-border-style:solid}}}[part~=divider]:not(:last-child){border-bottom-color:var(--atomic-neutral);padding-bottom:1rem}[part~=divider]{margin-bottom:1rem}.list-root.display-list{display:flex;flex-direction:column}.list-root.display-list .result-component,.list-root.display-list atomic-result-placeholder{width:auto}@media (min-width:1024px){.list-root.display-list.density-comfortable [part~=outline]:before{margin:2rem 0}.list-root.display-list.density-normal [part~=outline]:before{margin:1.5rem 0}@media not all and (min-width:1024px){.list-root.display-list.density-normal [part~=outline]:before{margin:1.75rem 0}}.list-root.display-list.density-compact [part~=outline]:before{margin:1rem 0}@media not all and (min-width:1024px){.list-root.display-list.density-compact [part~=outline]:before{margin:1.5rem 0}}.list-root.display-list [part~=outline]:before{background-color:var(--atomic-neutral);content:" ";display:block;height:1px}.list-root.display-list [part~=outline]:first-of-type:before{display:none}.list-root.display-list atomic-result-placeholder:before{background-color:#0000}}@media not all and (min-width:1024px){.list-root.display-list.image-large.density-comfortable [part~=outline]:before{margin:2rem 0}.list-root.display-list.image-large.density-normal [part~=outline]:before{margin:1.5rem 0}@media not all and (min-width:1024px){.list-root.display-list.image-large.density-normal [part~=outline]:before{margin:1.75rem 0}}.list-root.display-list.image-large.density-compact [part~=outline]:before{margin:1rem 0}@media not all and (min-width:1024px){.list-root.display-list.image-large.density-compact [part~=outline]:before{margin:1.5rem 0}}.list-root.display-list.image-large [part~=outline]:before{background-color:var(--atomic-neutral);content:" ";display:block;height:1px}.list-root.display-list.image-large [part~=outline]:first-of-type:before{display:none}.list-root.display-list.image-large atomic-result-placeholder:before{background-color:#0000}.list-root.display-list.image-large{display:grid;grid-template-columns:minmax(auto,35rem);justify-content:space-evenly}.list-root.display-list.image-icon,.list-root.display-list.image-none,.list-root.display-list.image-small{grid-row-gap:1rem}:is(.list-root.display-list.image-small,.list-root.display-list.image-icon,.list-root.display-list.image-none) [part~=outline]{border-color:var(--atomic-neutral);border-radius:1rem;border-style:var(--tw-border-style);border-width:1px;padding:1rem}:is(.list-root.display-list.image-small,.list-root.display-list.image-icon,.list-root.display-list.image-none) atomic-result-placeholder{border-color:#0000}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`;
|
|
9618
|
+
const list_display_tw_css = styles$j;
|
|
9465
9619
|
|
|
9466
|
-
const styles$
|
|
9467
|
-
const placeholders_tw_css = styles$
|
|
9620
|
+
const styles$i = lit.css`.list-wrapper.placeholder{.result-component,table.list-root{display:none}}.list-wrapper:not(.placeholder){atomic-result-placeholder,atomic-result-table-placeholder{display:none}}.list-root.loading{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes pulse{0%,to{opacity:.6}50%{opacity:.2}}`;
|
|
9621
|
+
const placeholders_tw_css = styles$i;
|
|
9468
9622
|
|
|
9469
|
-
const styles$
|
|
9470
|
-
const table_display_tw_css = styles$
|
|
9623
|
+
const styles$h = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-border-style:solid}}}.list-wrapper.display-table{display:grid;overflow-x:auto}.list-root.display-table{border-collapse:separate;border-spacing:0;min-width:100%}.list-root.display-table td,.list-root.display-table th{border-color:var(--atomic-neutral);border-style:var(--tw-border-style);border-width:1px;font-family:var(--atomic-font-family);font-size:var(--atomic-text-sm);line-height:var(--tw-leading,var(--text-sm--line-height,1.42857));line-height:1rem;white-space:nowrap}:is(.list-root.display-table th,.list-root.display-table td):not(:first-child){border-left:none}:is(.list-root.display-table th,.list-root.display-table td):first-child{min-width:19rem}.list-root.display-table th{background-color:var(--atomic-neutral-light);border-bottom:none;color:#000;font-weight:700;padding:1rem var(--padding);text-align:left}.list-root.display-table th:first-child{border-top-left-radius:var(--atomic-border-radius-xl)}.list-root.display-table th:last-child{border-top-right-radius:var(--atomic-border-radius-xl)}.list-root.display-table td{border-top:none;color:var(--atomic-neutral-dark);padding:var(--padding);vertical-align:top}.list-root.display-table.density-comfortable{--padding:2rem}.list-root.display-table.density-normal{--padding:1.5rem}.list-root.display-table.density-compact{--padding:1rem}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`;
|
|
9624
|
+
const table_display_tw_css = styles$h;
|
|
9471
9625
|
|
|
9472
|
-
function _ts_decorate$
|
|
9626
|
+
function _ts_decorate$1v(decorators, target, key, desc) {
|
|
9473
9627
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9474
9628
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
9475
9629
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9476
9630
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9477
9631
|
}
|
|
9478
|
-
function _ts_metadata$
|
|
9632
|
+
function _ts_metadata$1r(k, v) {
|
|
9479
9633
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
9480
9634
|
}
|
|
9481
9635
|
let AtomicText$1 = class AtomicText extends lit.LitElement {
|
|
@@ -9507,40 +9661,40 @@ AtomicText$1.propsSchema = new Schema({
|
|
|
9507
9661
|
required: false
|
|
9508
9662
|
})
|
|
9509
9663
|
});
|
|
9510
|
-
_ts_decorate$
|
|
9664
|
+
_ts_decorate$1v([
|
|
9511
9665
|
decorators_js.state(),
|
|
9512
|
-
_ts_metadata$
|
|
9666
|
+
_ts_metadata$1r("design:type", "u" < typeof Bindings ? Object : Bindings)
|
|
9513
9667
|
], AtomicText$1.prototype, "bindings", void 0);
|
|
9514
|
-
_ts_decorate$
|
|
9668
|
+
_ts_decorate$1v([
|
|
9515
9669
|
decorators_js.state(),
|
|
9516
|
-
_ts_metadata$
|
|
9670
|
+
_ts_metadata$1r("design:type", "u" < typeof Error ? Object : Error)
|
|
9517
9671
|
], AtomicText$1.prototype, "error", void 0);
|
|
9518
|
-
_ts_decorate$
|
|
9672
|
+
_ts_decorate$1v([
|
|
9519
9673
|
decorators_js.property({
|
|
9520
9674
|
type: String,
|
|
9521
9675
|
reflect: true
|
|
9522
9676
|
}),
|
|
9523
|
-
_ts_metadata$
|
|
9677
|
+
_ts_metadata$1r("design:type", String)
|
|
9524
9678
|
], AtomicText$1.prototype, "value", void 0);
|
|
9525
|
-
_ts_decorate$
|
|
9679
|
+
_ts_decorate$1v([
|
|
9526
9680
|
decorators_js.property({
|
|
9527
9681
|
type: Number,
|
|
9528
9682
|
reflect: true
|
|
9529
9683
|
}),
|
|
9530
|
-
_ts_metadata$
|
|
9684
|
+
_ts_metadata$1r("design:type", Number)
|
|
9531
9685
|
], AtomicText$1.prototype, "count", void 0);
|
|
9532
|
-
_ts_decorate$
|
|
9686
|
+
_ts_decorate$1v([
|
|
9533
9687
|
bindingGuard(),
|
|
9534
9688
|
errorGuard(),
|
|
9535
|
-
_ts_metadata$
|
|
9536
|
-
_ts_metadata$
|
|
9537
|
-
_ts_metadata$
|
|
9689
|
+
_ts_metadata$1r("design:type", Function),
|
|
9690
|
+
_ts_metadata$1r("design:paramtypes", []),
|
|
9691
|
+
_ts_metadata$1r("design:returntype", void 0)
|
|
9538
9692
|
], AtomicText$1.prototype, "render", null);
|
|
9539
|
-
AtomicText$1 = _ts_decorate$
|
|
9693
|
+
AtomicText$1 = _ts_decorate$1v([
|
|
9540
9694
|
decorators_js.customElement('atomic-text'),
|
|
9541
9695
|
bindings(),
|
|
9542
|
-
_ts_metadata$
|
|
9543
|
-
_ts_metadata$
|
|
9696
|
+
_ts_metadata$1r("design:type", Function),
|
|
9697
|
+
_ts_metadata$1r("design:paramtypes", [])
|
|
9544
9698
|
], AtomicText$1);
|
|
9545
9699
|
|
|
9546
9700
|
const renderTableLayout = ({ props })=>{
|
|
@@ -10009,13 +10163,13 @@ const renderRefineModalFiltersClearButton = ({ props })=>lit.html`${renderButton
|
|
|
10009
10163
|
|
|
10010
10164
|
const ATOMIC_MODAL_EXPORT_PARTS = 'backdrop,container,header-wrapper,header,header-ruler,body-wrapper,body,footer-wrapper,footer';
|
|
10011
10165
|
|
|
10012
|
-
function _ts_decorate$
|
|
10166
|
+
function _ts_decorate$1u(decorators, target, key, desc) {
|
|
10013
10167
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10014
10168
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
10015
10169
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
10016
10170
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10017
10171
|
}
|
|
10018
|
-
function _ts_metadata$
|
|
10172
|
+
function _ts_metadata$1q(k, v) {
|
|
10019
10173
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
10020
10174
|
}
|
|
10021
10175
|
class AtomicModal extends InitializeBindingsMixin(lit.LitElement) {
|
|
@@ -10202,43 +10356,43 @@ class AtomicModal extends InitializeBindingsMixin(lit.LitElement) {
|
|
|
10202
10356
|
}
|
|
10203
10357
|
}
|
|
10204
10358
|
AtomicModal.styles = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@keyframes scaleUp{0%{opacity:0;transform:scale(.7)translateY(150vh)}to{opacity:1;transform:scale(1)translateY(0)}}@keyframes slideDown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(150vh)}}article.animate-open{animation:var(--animate-scale-up-modal,scaleUp .5s cubic-bezier(.165,.84,.44,1) forwards)}article.animate-close{animation:var(--animate-slide-down-modal,slideDown .5s linear forwards)}.grid-template-modal{grid-template:". . ."1fr".modal."". . ."3fr/1fr min(30rem,100%) 1fr}`;
|
|
10205
|
-
_ts_decorate$
|
|
10359
|
+
_ts_decorate$1u([
|
|
10206
10360
|
decorators_js.state(),
|
|
10207
|
-
_ts_metadata$
|
|
10361
|
+
_ts_metadata$1q("design:type", "u" < typeof AnyBindings ? Object : AnyBindings)
|
|
10208
10362
|
], AtomicModal.prototype, "bindings", void 0);
|
|
10209
|
-
_ts_decorate$
|
|
10363
|
+
_ts_decorate$1u([
|
|
10210
10364
|
decorators_js.state(),
|
|
10211
|
-
_ts_metadata$
|
|
10365
|
+
_ts_metadata$1q("design:type", "u" < typeof Error ? Object : Error)
|
|
10212
10366
|
], AtomicModal.prototype, "error", void 0);
|
|
10213
|
-
_ts_decorate$
|
|
10367
|
+
_ts_decorate$1u([
|
|
10214
10368
|
decorators_js.property({
|
|
10215
10369
|
type: String,
|
|
10216
10370
|
reflect: true
|
|
10217
10371
|
}),
|
|
10218
|
-
_ts_metadata$
|
|
10372
|
+
_ts_metadata$1q("design:type", String)
|
|
10219
10373
|
], AtomicModal.prototype, "boundary", void 0);
|
|
10220
|
-
_ts_decorate$
|
|
10374
|
+
_ts_decorate$1u([
|
|
10221
10375
|
decorators_js.property({
|
|
10222
10376
|
type: Object,
|
|
10223
10377
|
attribute: false
|
|
10224
10378
|
}),
|
|
10225
|
-
_ts_metadata$
|
|
10379
|
+
_ts_metadata$1q("design:type", Function)
|
|
10226
10380
|
], AtomicModal.prototype, "close", void 0);
|
|
10227
|
-
_ts_decorate$
|
|
10381
|
+
_ts_decorate$1u([
|
|
10228
10382
|
decorators_js.property({
|
|
10229
10383
|
type: Object,
|
|
10230
10384
|
attribute: false
|
|
10231
10385
|
}),
|
|
10232
|
-
_ts_metadata$
|
|
10386
|
+
_ts_metadata$1q("design:type", "u" < typeof HTMLElement ? Object : HTMLElement)
|
|
10233
10387
|
], AtomicModal.prototype, "container", void 0);
|
|
10234
|
-
_ts_decorate$
|
|
10388
|
+
_ts_decorate$1u([
|
|
10235
10389
|
decorators_js.property({
|
|
10236
10390
|
type: Boolean,
|
|
10237
10391
|
reflect: true,
|
|
10238
10392
|
converter: booleanConverter
|
|
10239
10393
|
})
|
|
10240
10394
|
], AtomicModal.prototype, "fullscreen", void 0);
|
|
10241
|
-
_ts_decorate$
|
|
10395
|
+
_ts_decorate$1u([
|
|
10242
10396
|
decorators_js.property({
|
|
10243
10397
|
type: Boolean,
|
|
10244
10398
|
reflect: true,
|
|
@@ -10246,45 +10400,45 @@ _ts_decorate$1t([
|
|
|
10246
10400
|
converter: booleanConverter
|
|
10247
10401
|
})
|
|
10248
10402
|
], AtomicModal.prototype, "isOpen", void 0);
|
|
10249
|
-
_ts_decorate$
|
|
10403
|
+
_ts_decorate$1u([
|
|
10250
10404
|
decorators_js.property({
|
|
10251
10405
|
type: Object,
|
|
10252
10406
|
attribute: false
|
|
10253
10407
|
}),
|
|
10254
|
-
_ts_metadata$
|
|
10408
|
+
_ts_metadata$1q("design:type", Function)
|
|
10255
10409
|
], AtomicModal.prototype, "onAnimationEnded", void 0);
|
|
10256
|
-
_ts_decorate$
|
|
10410
|
+
_ts_decorate$1u([
|
|
10257
10411
|
decorators_js.property({
|
|
10258
10412
|
type: Object,
|
|
10259
10413
|
attribute: false
|
|
10260
10414
|
}),
|
|
10261
|
-
_ts_metadata$
|
|
10415
|
+
_ts_metadata$1q("design:type", "u" < typeof HTMLElement ? Object : HTMLElement)
|
|
10262
10416
|
], AtomicModal.prototype, "scope", void 0);
|
|
10263
|
-
_ts_decorate$
|
|
10417
|
+
_ts_decorate$1u([
|
|
10264
10418
|
decorators_js.property({
|
|
10265
10419
|
type: Object,
|
|
10266
10420
|
attribute: false
|
|
10267
10421
|
}),
|
|
10268
|
-
_ts_metadata$
|
|
10422
|
+
_ts_metadata$1q("design:type", "u" < typeof HTMLElement ? Object : HTMLElement)
|
|
10269
10423
|
], AtomicModal.prototype, "source", void 0);
|
|
10270
|
-
_ts_decorate$
|
|
10424
|
+
_ts_decorate$1u([
|
|
10271
10425
|
errorGuard(),
|
|
10272
|
-
_ts_metadata$
|
|
10273
|
-
_ts_metadata$
|
|
10274
|
-
_ts_metadata$
|
|
10426
|
+
_ts_metadata$1q("design:type", Function),
|
|
10427
|
+
_ts_metadata$1q("design:paramtypes", []),
|
|
10428
|
+
_ts_metadata$1q("design:returntype", void 0)
|
|
10275
10429
|
], AtomicModal.prototype, "render", null);
|
|
10276
|
-
_ts_decorate$
|
|
10430
|
+
_ts_decorate$1u([
|
|
10277
10431
|
watch('isOpen', {
|
|
10278
10432
|
waitUntilFirstUpdate: false
|
|
10279
10433
|
}),
|
|
10280
|
-
_ts_metadata$
|
|
10281
|
-
_ts_metadata$
|
|
10434
|
+
_ts_metadata$1q("design:type", Function),
|
|
10435
|
+
_ts_metadata$1q("design:paramtypes", [
|
|
10282
10436
|
Boolean,
|
|
10283
10437
|
Boolean
|
|
10284
10438
|
]),
|
|
10285
|
-
_ts_metadata$
|
|
10439
|
+
_ts_metadata$1q("design:returntype", Promise)
|
|
10286
10440
|
], AtomicModal.prototype, "watchToggleOpen", null);
|
|
10287
|
-
AtomicModal = _ts_decorate$
|
|
10441
|
+
AtomicModal = _ts_decorate$1u([
|
|
10288
10442
|
decorators_js.customElement('atomic-modal'),
|
|
10289
10443
|
bindings(),
|
|
10290
10444
|
withTailwindStyles
|
|
@@ -11081,7 +11235,7 @@ var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
|
11081
11235
|
var consoleError = (e, el) => (0, console.error)(e, el);
|
|
11082
11236
|
|
|
11083
11237
|
// src/client/client-style.ts
|
|
11084
|
-
var styles$
|
|
11238
|
+
var styles$g = /* @__PURE__ */ new Map();
|
|
11085
11239
|
var modeResolutionChain = [];
|
|
11086
11240
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
11087
11241
|
var XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
@@ -11363,7 +11517,7 @@ var parsePropertyValue = (propValue, propType) => {
|
|
|
11363
11517
|
};
|
|
11364
11518
|
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
11365
11519
|
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
11366
|
-
let style = styles$
|
|
11520
|
+
let style = styles$g.get(scopeId2);
|
|
11367
11521
|
if (supportsConstructableStylesheets && allowCS) {
|
|
11368
11522
|
style = style || new CSSStyleSheet();
|
|
11369
11523
|
if (typeof style === "string") {
|
|
@@ -11374,12 +11528,12 @@ var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
|
11374
11528
|
} else {
|
|
11375
11529
|
style = cssText;
|
|
11376
11530
|
}
|
|
11377
|
-
styles$
|
|
11531
|
+
styles$g.set(scopeId2, style);
|
|
11378
11532
|
};
|
|
11379
11533
|
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
11380
11534
|
var _a;
|
|
11381
11535
|
const scopeId2 = getScopeId(cmpMeta, mode);
|
|
11382
|
-
const style = styles$
|
|
11536
|
+
const style = styles$g.get(scopeId2);
|
|
11383
11537
|
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
11384
11538
|
if (style) {
|
|
11385
11539
|
if (typeof style === "string") {
|
|
@@ -12360,7 +12514,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
12360
12514
|
}
|
|
12361
12515
|
}
|
|
12362
12516
|
const scopeId2 = getScopeId(cmpMeta, hostRef.$modeName$);
|
|
12363
|
-
if (!styles$
|
|
12517
|
+
if (!styles$g.has(scopeId2)) {
|
|
12364
12518
|
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
|
12365
12519
|
registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
|
|
12366
12520
|
endRegisterStyles();
|
|
@@ -12682,8 +12836,8 @@ const sortGuard = ({ firstSearchExecuted, hasError, hasResults, isLoading }, sor
|
|
|
12682
12836
|
return sortTemplate();
|
|
12683
12837
|
};
|
|
12684
12838
|
|
|
12685
|
-
const styles$
|
|
12686
|
-
const atomic_rating_tw_css = styles$
|
|
12839
|
+
const styles$f = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer components{:is(:is(atomic-product-rating,atomic-result-rating) .text-rating-icon-active,:is(atomic-product-rating,atomic-result-rating) .text-rating-icon-inactive) svg path{stroke:var(--atomic-rating-icon-outline-color,none)}}`;
|
|
12840
|
+
const atomic_rating_tw_css = styles$f;
|
|
12687
12841
|
|
|
12688
12842
|
const computeNumberOfStars = (value, field)=>{
|
|
12689
12843
|
if (null === value) return null;
|
|
@@ -12745,16 +12899,16 @@ const renderRating = ({ props })=>{
|
|
|
12745
12899
|
</div>`;
|
|
12746
12900
|
};
|
|
12747
12901
|
|
|
12748
|
-
const styles$
|
|
12749
|
-
const atomic_ask_follow_up_input_tw_css = styles$
|
|
12902
|
+
const styles$e = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}[part=input-container]{min-height:calc(2.5rem + 2px)}[part=textarea-expander]:after{content:attr(data-replicated-value) " ";visibility:hidden}[part=textarea-expander]{margin-right:calc(var(--spacing,.25rem)*10)}[part=textarea-expander]:after,[part=textarea-expander]>[part=input-field]{-ms-overflow-style:none;scrollbar-width:none}:is([part=textarea-expander]>[part=input-field])::-webkit-scrollbar{display:none}[part=textarea-expander]:after,[part=textarea-expander]>[part=input-field]{background-color:#0000;overflow:hidden;padding-block:calc(var(--spacing,.25rem)*2);padding-inline:calc(var(--spacing,.25rem)*4);resize:none;white-space:nowrap}:is([part=textarea-expander]>[part=input-field])::placeholder{color:var(--atomic-neutral-dark)}[part=textarea-expander]:after,[part=textarea-expander]>[part=input-field]{--tw-outline-style:none;grid-area:1/1/2/2;min-height:2.5rem;outline-style:none;padding-right:3rem}[part=textarea-expander].expanded{background-color:var(--atomic-background);border-color:var(--atomic-primary);border-radius:var(--atomic-border-radius-md);border-style:var(--tw-border-style);border-width:1px;margin-right:calc(var(--spacing,.25rem)*0);--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--atomic-primary);bottom:-1px;left:-1px;overflow:visible;position:absolute;right:-1px;z-index:10}[part=textarea-expander].expanded:after,[part=textarea-expander].expanded>[part=input-field]{max-height:8rem;overflow-y:auto;white-space:pre-wrap}[part=submit-button]{z-index:11}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}`;
|
|
12903
|
+
const atomic_ask_follow_up_input_tw_css = styles$e;
|
|
12750
12904
|
|
|
12751
|
-
function _ts_decorate$
|
|
12905
|
+
function _ts_decorate$1t(decorators, target, key, desc) {
|
|
12752
12906
|
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
12753
12907
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
12754
12908
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
12755
12909
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12756
12910
|
}
|
|
12757
|
-
function _ts_metadata$
|
|
12911
|
+
function _ts_metadata$1p(k, v) {
|
|
12758
12912
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
12759
12913
|
}
|
|
12760
12914
|
class AtomicAskFollowUpInput extends lit.LitElement {
|
|
@@ -12853,29 +13007,29 @@ class AtomicAskFollowUpInput extends lit.LitElement {
|
|
|
12853
13007
|
}
|
|
12854
13008
|
}
|
|
12855
13009
|
AtomicAskFollowUpInput.styles = atomic_ask_follow_up_input_tw_css;
|
|
12856
|
-
_ts_decorate$
|
|
13010
|
+
_ts_decorate$1t([
|
|
12857
13011
|
decorators_js.property({
|
|
12858
13012
|
attribute: false
|
|
12859
13013
|
}),
|
|
12860
|
-
_ts_metadata$
|
|
13014
|
+
_ts_metadata$1p("design:type", Boolean)
|
|
12861
13015
|
], AtomicAskFollowUpInput.prototype, "submitButtonDisabled", void 0);
|
|
12862
|
-
_ts_decorate$
|
|
13016
|
+
_ts_decorate$1t([
|
|
12863
13017
|
decorators_js.property({
|
|
12864
13018
|
attribute: false
|
|
12865
13019
|
}),
|
|
12866
|
-
_ts_metadata$
|
|
13020
|
+
_ts_metadata$1p("design:type", "u" < typeof i18n ? Object : i18n)
|
|
12867
13021
|
], AtomicAskFollowUpInput.prototype, "i18n", void 0);
|
|
12868
|
-
_ts_decorate$
|
|
13022
|
+
_ts_decorate$1t([
|
|
12869
13023
|
decorators_js.property({
|
|
12870
13024
|
attribute: false
|
|
12871
13025
|
}),
|
|
12872
|
-
_ts_metadata$
|
|
13026
|
+
_ts_metadata$1p("design:type", Function)
|
|
12873
13027
|
], AtomicAskFollowUpInput.prototype, "askFollowUp", void 0);
|
|
12874
|
-
_ts_decorate$
|
|
13028
|
+
_ts_decorate$1t([
|
|
12875
13029
|
decorators_js.state(),
|
|
12876
|
-
_ts_metadata$
|
|
13030
|
+
_ts_metadata$1p("design:type", Boolean)
|
|
12877
13031
|
], AtomicAskFollowUpInput.prototype, "isSubmitting", void 0);
|
|
12878
|
-
AtomicAskFollowUpInput = _ts_decorate$
|
|
13032
|
+
AtomicAskFollowUpInput = _ts_decorate$1t([
|
|
12879
13033
|
decorators_js.customElement('atomic-ask-follow-up-input'),
|
|
12880
13034
|
withTailwindStyles
|
|
12881
13035
|
], AtomicAskFollowUpInput);
|
|
@@ -14674,8 +14828,8 @@ var createPopper = /*#__PURE__*/popperGenerator({
|
|
|
14674
14828
|
defaultModifiers: defaultModifiers
|
|
14675
14829
|
}); // eslint-disable-next-line import/no-unused-modules
|
|
14676
14830
|
|
|
14677
|
-
const styles$
|
|
14678
|
-
const atomic_citation_tw_css = styles$
|
|
14831
|
+
const styles$d = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */:host{display:contents;position:relative}[part=citation]{--height:2.2em;--index-height:1.1em;--max-citation-width:400px;height:var(--height);max-width:var(--max-citation-width)}[part=citation-popover]{--popover-width:350px;width:var(--popover-width)}[part=citation-popover] p{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}`;
|
|
14832
|
+
const atomic_citation_tw_css = styles$d;
|
|
14679
14833
|
|
|
14680
14834
|
function extractTextToHighlight(text) {
|
|
14681
14835
|
text = text.trim();
|
|
@@ -14696,13 +14850,13 @@ function generatePdfPageUrl(uri, pageNumber) {
|
|
|
14696
14850
|
return `${uri}#page=${pageNumber}`;
|
|
14697
14851
|
}
|
|
14698
14852
|
|
|
14699
|
-
function _ts_decorate$
|
|
14853
|
+
function _ts_decorate$1s(decorators, target, key, desc) {
|
|
14700
14854
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14701
14855
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
14702
14856
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14703
14857
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
14704
14858
|
}
|
|
14705
|
-
function _ts_metadata$
|
|
14859
|
+
function _ts_metadata$1o(k, v) {
|
|
14706
14860
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
14707
14861
|
}
|
|
14708
14862
|
class AtomicCitation extends lit.LitElement {
|
|
@@ -14851,57 +15005,57 @@ class AtomicCitation extends lit.LitElement {
|
|
|
14851
15005
|
}
|
|
14852
15006
|
}
|
|
14853
15007
|
AtomicCitation.styles = atomic_citation_tw_css;
|
|
14854
|
-
_ts_decorate$
|
|
15008
|
+
_ts_decorate$1s([
|
|
14855
15009
|
decorators_js.property({
|
|
14856
15010
|
type: Object
|
|
14857
15011
|
}),
|
|
14858
|
-
_ts_metadata$
|
|
15012
|
+
_ts_metadata$1o("design:type", "u" < typeof GeneratedAnswerCitation ? Object : GeneratedAnswerCitation)
|
|
14859
15013
|
], AtomicCitation.prototype, "citation", void 0);
|
|
14860
|
-
_ts_decorate$
|
|
15014
|
+
_ts_decorate$1s([
|
|
14861
15015
|
decorators_js.property({
|
|
14862
15016
|
type: Number
|
|
14863
15017
|
}),
|
|
14864
|
-
_ts_metadata$
|
|
15018
|
+
_ts_metadata$1o("design:type", Number)
|
|
14865
15019
|
], AtomicCitation.prototype, "index", void 0);
|
|
14866
|
-
_ts_decorate$
|
|
15020
|
+
_ts_decorate$1s([
|
|
14867
15021
|
decorators_js.property({
|
|
14868
15022
|
type: Object
|
|
14869
15023
|
}),
|
|
14870
|
-
_ts_metadata$
|
|
15024
|
+
_ts_metadata$1o("design:type", Function)
|
|
14871
15025
|
], AtomicCitation.prototype, "sendHoverEndEvent", void 0);
|
|
14872
|
-
_ts_decorate$
|
|
15026
|
+
_ts_decorate$1s([
|
|
14873
15027
|
decorators_js.property({
|
|
14874
15028
|
type: Object
|
|
14875
15029
|
}),
|
|
14876
|
-
_ts_metadata$
|
|
15030
|
+
_ts_metadata$1o("design:type", "u" < typeof InteractiveCitation ? Object : InteractiveCitation)
|
|
14877
15031
|
], AtomicCitation.prototype, "interactiveCitation", void 0);
|
|
14878
|
-
_ts_decorate$
|
|
15032
|
+
_ts_decorate$1s([
|
|
14879
15033
|
decorators_js.property({
|
|
14880
15034
|
type: Boolean,
|
|
14881
15035
|
attribute: 'disable-citation-anchoring'
|
|
14882
15036
|
})
|
|
14883
15037
|
], AtomicCitation.prototype, "disableCitationAnchoring", void 0);
|
|
14884
|
-
_ts_decorate$
|
|
15038
|
+
_ts_decorate$1s([
|
|
14885
15039
|
decorators_js.state()
|
|
14886
15040
|
], AtomicCitation.prototype, "isOpen", void 0);
|
|
14887
|
-
_ts_decorate$
|
|
15041
|
+
_ts_decorate$1s([
|
|
14888
15042
|
watch('isOpen'),
|
|
14889
|
-
_ts_metadata$
|
|
14890
|
-
_ts_metadata$
|
|
14891
|
-
_ts_metadata$
|
|
15043
|
+
_ts_metadata$1o("design:type", Function),
|
|
15044
|
+
_ts_metadata$1o("design:paramtypes", []),
|
|
15045
|
+
_ts_metadata$1o("design:returntype", void 0)
|
|
14892
15046
|
], AtomicCitation.prototype, "sendHoverAnalytics", null);
|
|
14893
|
-
AtomicCitation = _ts_decorate$
|
|
15047
|
+
AtomicCitation = _ts_decorate$1s([
|
|
14894
15048
|
decorators_js.customElement('atomic-citation'),
|
|
14895
15049
|
withTailwindStyles
|
|
14896
15050
|
], AtomicCitation);
|
|
14897
15051
|
|
|
14898
|
-
function _ts_decorate$
|
|
15052
|
+
function _ts_decorate$1r(decorators, target, key, desc) {
|
|
14899
15053
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14900
15054
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
14901
15055
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14902
15056
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
14903
15057
|
}
|
|
14904
|
-
function _ts_metadata$
|
|
15058
|
+
function _ts_metadata$1n(k, v) {
|
|
14905
15059
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
14906
15060
|
}
|
|
14907
15061
|
class AtomicFacetNumberInput extends LightDomMixin(lit.LitElement) {
|
|
@@ -15014,66 +15168,66 @@ class AtomicFacetNumberInput extends LightDomMixin(lit.LitElement) {
|
|
|
15014
15168
|
}
|
|
15015
15169
|
}
|
|
15016
15170
|
AtomicFacetNumberInput.styles = lit.css`[part=input-form]{display:grid;grid-template-areas:"label-start label-end ." "input-start input-end apply-button";grid-template-columns:1fr 1fr auto}[part=label-start]{grid-area:label-start}[part=label-end]{grid-area:label-end}[part=input-start]{grid-area:input-start}[part=input-end]{grid-area:input-end}[part=input-apply-button]{grid-area:apply-button}`;
|
|
15017
|
-
_ts_decorate$
|
|
15171
|
+
_ts_decorate$1r([
|
|
15018
15172
|
decorators_js.property({
|
|
15019
15173
|
type: String
|
|
15020
15174
|
}),
|
|
15021
|
-
_ts_metadata$
|
|
15175
|
+
_ts_metadata$1n("design:type", "u" < typeof NumberInputType ? Object : NumberInputType)
|
|
15022
15176
|
], AtomicFacetNumberInput.prototype, "type", void 0);
|
|
15023
|
-
_ts_decorate$
|
|
15177
|
+
_ts_decorate$1r([
|
|
15024
15178
|
decorators_js.property({
|
|
15025
15179
|
type: String
|
|
15026
15180
|
}),
|
|
15027
|
-
_ts_metadata$
|
|
15181
|
+
_ts_metadata$1n("design:type", String)
|
|
15028
15182
|
], AtomicFacetNumberInput.prototype, "label", void 0);
|
|
15029
|
-
_ts_decorate$
|
|
15183
|
+
_ts_decorate$1r([
|
|
15030
15184
|
decorators_js.property({
|
|
15031
15185
|
type: Object
|
|
15032
15186
|
}),
|
|
15033
|
-
_ts_metadata$
|
|
15187
|
+
_ts_metadata$1n("design:type", "u" < typeof NumericFilter ? Object : NumericFilter)
|
|
15034
15188
|
], AtomicFacetNumberInput.prototype, "filter", void 0);
|
|
15035
|
-
_ts_decorate$
|
|
15189
|
+
_ts_decorate$1r([
|
|
15036
15190
|
decorators_js.property({
|
|
15037
15191
|
type: Object,
|
|
15038
15192
|
attribute: 'filter-state'
|
|
15039
15193
|
}),
|
|
15040
|
-
_ts_metadata$
|
|
15194
|
+
_ts_metadata$1n("design:type", "u" < typeof NumericFilterState ? Object : NumericFilterState)
|
|
15041
15195
|
], AtomicFacetNumberInput.prototype, "filterState", void 0);
|
|
15042
|
-
_ts_decorate$
|
|
15196
|
+
_ts_decorate$1r([
|
|
15043
15197
|
decorators_js.state(),
|
|
15044
|
-
_ts_metadata$
|
|
15198
|
+
_ts_metadata$1n("design:type", "u" < typeof AnyBindings ? Object : AnyBindings)
|
|
15045
15199
|
], AtomicFacetNumberInput.prototype, "bindings", void 0);
|
|
15046
|
-
_ts_decorate$
|
|
15200
|
+
_ts_decorate$1r([
|
|
15047
15201
|
decorators_js.state(),
|
|
15048
|
-
_ts_metadata$
|
|
15202
|
+
_ts_metadata$1n("design:type", "u" < typeof Error ? Object : Error)
|
|
15049
15203
|
], AtomicFacetNumberInput.prototype, "error", void 0);
|
|
15050
|
-
_ts_decorate$
|
|
15204
|
+
_ts_decorate$1r([
|
|
15051
15205
|
decorators_js.state(),
|
|
15052
|
-
_ts_metadata$
|
|
15206
|
+
_ts_metadata$1n("design:type", Number)
|
|
15053
15207
|
], AtomicFacetNumberInput.prototype, "start", void 0);
|
|
15054
|
-
_ts_decorate$
|
|
15208
|
+
_ts_decorate$1r([
|
|
15055
15209
|
decorators_js.state(),
|
|
15056
|
-
_ts_metadata$
|
|
15210
|
+
_ts_metadata$1n("design:type", Number)
|
|
15057
15211
|
], AtomicFacetNumberInput.prototype, "end", void 0);
|
|
15058
|
-
_ts_decorate$
|
|
15212
|
+
_ts_decorate$1r([
|
|
15059
15213
|
bindingGuard(),
|
|
15060
15214
|
errorGuard(),
|
|
15061
|
-
_ts_metadata$
|
|
15062
|
-
_ts_metadata$
|
|
15063
|
-
_ts_metadata$
|
|
15215
|
+
_ts_metadata$1n("design:type", Function),
|
|
15216
|
+
_ts_metadata$1n("design:paramtypes", []),
|
|
15217
|
+
_ts_metadata$1n("design:returntype", void 0)
|
|
15064
15218
|
], AtomicFacetNumberInput.prototype, "render", null);
|
|
15065
|
-
AtomicFacetNumberInput = _ts_decorate$
|
|
15219
|
+
AtomicFacetNumberInput = _ts_decorate$1r([
|
|
15066
15220
|
decorators_js.customElement('atomic-facet-number-input'),
|
|
15067
15221
|
bindings()
|
|
15068
15222
|
], AtomicFacetNumberInput);
|
|
15069
15223
|
|
|
15070
|
-
function _ts_decorate$
|
|
15224
|
+
function _ts_decorate$1q(decorators, target, key, desc) {
|
|
15071
15225
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15072
15226
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
15073
15227
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
15074
15228
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15075
15229
|
}
|
|
15076
|
-
function _ts_metadata$
|
|
15230
|
+
function _ts_metadata$1m(k, v) {
|
|
15077
15231
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
15078
15232
|
}
|
|
15079
15233
|
let AtomicFocusTrap$1 = class AtomicFocusTrap extends LightDomMixin(lit.LitElement) {
|
|
@@ -15153,63 +15307,63 @@ let AtomicFocusTrap$1 = class AtomicFocusTrap extends LightDomMixin(lit.LitEleme
|
|
|
15153
15307
|
};
|
|
15154
15308
|
}
|
|
15155
15309
|
};
|
|
15156
|
-
_ts_decorate$
|
|
15310
|
+
_ts_decorate$1q([
|
|
15157
15311
|
decorators_js.property({
|
|
15158
15312
|
type: Boolean,
|
|
15159
15313
|
converter: booleanConverter
|
|
15160
15314
|
})
|
|
15161
15315
|
], AtomicFocusTrap$1.prototype, "active", void 0);
|
|
15162
|
-
_ts_decorate$
|
|
15316
|
+
_ts_decorate$1q([
|
|
15163
15317
|
decorators_js.property({
|
|
15164
15318
|
type: Object
|
|
15165
15319
|
}),
|
|
15166
|
-
_ts_metadata$
|
|
15320
|
+
_ts_metadata$1m("design:type", "u" < typeof HTMLElement ? Object : HTMLElement)
|
|
15167
15321
|
], AtomicFocusTrap$1.prototype, "source", void 0);
|
|
15168
|
-
_ts_decorate$
|
|
15322
|
+
_ts_decorate$1q([
|
|
15169
15323
|
decorators_js.property({
|
|
15170
15324
|
type: Object
|
|
15171
15325
|
}),
|
|
15172
|
-
_ts_metadata$
|
|
15326
|
+
_ts_metadata$1m("design:type", "u" < typeof HTMLElement ? Object : HTMLElement)
|
|
15173
15327
|
], AtomicFocusTrap$1.prototype, "container", void 0);
|
|
15174
|
-
_ts_decorate$
|
|
15328
|
+
_ts_decorate$1q([
|
|
15175
15329
|
decorators_js.property({
|
|
15176
15330
|
type: Boolean,
|
|
15177
15331
|
attribute: 'should-hide-self',
|
|
15178
15332
|
converter: booleanConverter
|
|
15179
15333
|
})
|
|
15180
15334
|
], AtomicFocusTrap$1.prototype, "shouldHideSelf", void 0);
|
|
15181
|
-
_ts_decorate$
|
|
15335
|
+
_ts_decorate$1q([
|
|
15182
15336
|
decorators_js.property({
|
|
15183
15337
|
type: Object
|
|
15184
15338
|
}),
|
|
15185
|
-
_ts_metadata$
|
|
15339
|
+
_ts_metadata$1m("design:type", "u" < typeof Element ? Object : Element)
|
|
15186
15340
|
], AtomicFocusTrap$1.prototype, "scope", void 0);
|
|
15187
|
-
_ts_decorate$
|
|
15341
|
+
_ts_decorate$1q([
|
|
15188
15342
|
watch('active', {
|
|
15189
15343
|
waitUntilFirstUpdate: true
|
|
15190
15344
|
}),
|
|
15191
|
-
_ts_metadata$
|
|
15192
|
-
_ts_metadata$
|
|
15345
|
+
_ts_metadata$1m("design:type", Function),
|
|
15346
|
+
_ts_metadata$1m("design:paramtypes", [
|
|
15193
15347
|
Boolean,
|
|
15194
15348
|
Boolean
|
|
15195
15349
|
]),
|
|
15196
|
-
_ts_metadata$
|
|
15350
|
+
_ts_metadata$1m("design:returntype", Promise)
|
|
15197
15351
|
], AtomicFocusTrap$1.prototype, "handleActiveChange", null);
|
|
15198
|
-
AtomicFocusTrap$1 = _ts_decorate$
|
|
15352
|
+
AtomicFocusTrap$1 = _ts_decorate$1q([
|
|
15199
15353
|
decorators_js.customElement('atomic-focus-trap')
|
|
15200
15354
|
], AtomicFocusTrap$1);
|
|
15201
15355
|
|
|
15202
|
-
const styles$
|
|
15203
|
-
const generated_markdown_content_tw_css = styles$
|
|
15356
|
+
const styles$c = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-font-weight:initial;--tw-leading:initial;--tw-border-style:solid}}}[part=generated-text] [part=answer-heading-1]{font-size:var(--atomic-text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height,1.33333))}[part=generated-text] [part=answer-heading-2]{font-size:var(--atomic-text-xl);line-height:var(--tw-leading,var(--text-xl--line-height,1.4))}[part=generated-text] [part=answer-heading-3],[part=generated-text] [part=answer-heading-4],[part=generated-text] [part=answer-heading-5],[part=generated-text] [part=answer-heading-6]{font-size:var(--atomic-text-lg);line-height:var(--tw-leading,var(--text-lg--line-height,1.55556))}[part=generated-text] [part=answer-heading-1],[part=generated-text] [part=answer-heading-2],[part=generated-text] [part=answer-heading-3],[part=generated-text] [part=answer-heading-4],[part=generated-text] [part=answer-heading-5],[part=generated-text] [part=answer-heading-6]{margin-bottom:calc(var(--spacing,.25rem)*2);margin-top:calc(var(--spacing,.25rem)*3);--tw-font-weight:var(--atomic-font-bold);font-weight:var(--atomic-font-bold)}[part=generated-text] [part=answer-paragraph]{margin-bottom:calc(var(--spacing,.25rem)*3)}[part=generated-text] [part^=answer-heading-] atomic-generated-answer-inline-link::part(answer-link){color:inherit}[part=generated-text] [part^=answer-heading-] atomic-generated-answer-inline-link::part(answer-link-text){text-decoration-line:none}[part=generated-text] [part=answer-list-item],[part=generated-text] [part=answer-paragraph],[part=generated-text] [part=answer-quote-block],[part=generated-text] [part=answer-table-content],[part=generated-text] [part=answer-table-header]{--tw-leading:calc(var(--spacing,.25rem)*5);line-height:calc(var(--spacing,.25rem)*5)}[part=generated-text] [part=answer-strong]{--tw-font-weight:var(--atomic-font-bold);font-weight:var(--atomic-font-bold)}[part=generated-text] [part=answer-ordered-list]{list-style-type:decimal;margin-bottom:calc(var(--spacing,.25rem)*2);padding-inline-start:calc(var(--spacing,.25rem)*8)}[part=generated-text] [part=answer-unordered-list]{list-style-type:disc;margin-bottom:calc(var(--spacing,.25rem)*2);padding-inline-start:calc(var(--spacing,.25rem)*8)}[part=generated-text] [part=answer-inline-code]{border-color:var(--atomic-neutral);border-radius:var(--atomic-border-radius);border-style:solid;border-width:1px;color:var(--atomic-inline-code);padding-block:calc(var(--spacing,.25rem)*.5);padding-inline:calc(var(--spacing,.25rem)*1)}[part=generated-text] [part=answer-code-block],[part=generated-text] [part=answer-inline-code]{--tw-border-style:solid;background-color:var(--atomic-neutral-light);font-size:var(--atomic-text-sm);line-height:var(--tw-leading,var(--text-sm--line-height,1.42857))}[part=generated-text] [part=answer-code-block]{border-color:var(--atomic-neutral);border-radius:var(--atomic-border-radius-md);border-style:solid;border-width:1px;color:var(--atomic-on-background);margin-block:calc(var(--spacing,.25rem)*4);max-height:calc(var(--spacing,.25rem)*96);overflow:auto;padding:calc(var(--spacing,.25rem)*2);scrollbar-color:var(--atomic-neutral)}[part=generated-text] [part=answer-quote-block]{font-style:italic;margin-inline:calc(var(--spacing,.25rem)*16)}[part=generated-text] [part=answer-table-container]{border-radius:var(--atomic-border-radius-md);margin-bottom:calc(var(--spacing,.25rem)*6);max-height:calc(var(--spacing,.25rem)*96);--tw-border-style:solid;border-color:var(--atomic-neutral-dim);border-style:solid;border-width:1px;display:inline-block;max-width:100%;overflow:auto}[part=generated-text] [part=answer-table-container] [part=answer-table-header]{position:sticky;top:calc(var(--spacing,.25rem)*0)}[part=generated-text] [part=answer-table]{font-size:var(--atomic-text-base);line-height:var(--tw-leading,var(--text-base--line-height,1.5))}[part=generated-text] [part=answer-table] thead [part=answer-table-header]{background-color:var(--atomic-neutral);border-bottom-color:var(--atomic-neutral-dim);border-left-color:var(--atomic-neutral-dim);padding:calc(var(--spacing,.25rem)*4);text-align:left;--tw-font-weight:var(--atomic-font-bold);font-weight:var(--atomic-font-bold)}[part=generated-text] [part=answer-table] thead [part=answer-table-header]:first-of-type{border-left:none}[part=generated-text] [part=answer-table] tbody tr:nth-child(2n){background-color:var(--atomic-neutral-light)}[part=generated-text] [part=answer-table] tbody tr [part=answer-table-content]{border-bottom-color:var(--atomic-neutral-dim);border-left-color:var(--atomic-neutral-dim);border-style:var(--tw-border-style);border-width:1px;padding:calc(var(--spacing,.25rem)*4)}[part=generated-text] [part=answer-table] tbody tr [part=answer-table-content]:first-of-type{border-left:none}[part=generated-text] [part=answer-table] tbody tr:last-of-type [part=answer-table-content]{border-bottom:unset}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-leading{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`;
|
|
15357
|
+
const generated_markdown_content_tw_css = styles$c;
|
|
15204
15358
|
|
|
15205
|
-
const styles$
|
|
15206
|
-
const copy_button_tw_css = styles$
|
|
15359
|
+
const styles$b = lit.css`[part=copy-button] .icon-container atomic-icon:hover{color:var(--atomic-primary)}[part=copy-button].copied .icon-container atomic-icon{color:var(--atomic-success)}[part=copy-button].error .icon-container atomic-icon{color:var(--atomic-error)}[part=copy-button] .icon-container{line-height:0}`;
|
|
15360
|
+
const copy_button_tw_css = styles$b;
|
|
15207
15361
|
|
|
15208
|
-
const styles$
|
|
15209
|
-
const feedback_buttons_tw_css = styles$
|
|
15362
|
+
const styles$a = lit.css`.feedback-buttons [part=feedback-button]{height:2.2rem;width:2.2rem}`;
|
|
15363
|
+
const feedback_buttons_tw_css = styles$a;
|
|
15210
15364
|
|
|
15211
|
-
const styles$
|
|
15212
|
-
const generated_text_tw_css = styles$
|
|
15365
|
+
const styles$9 = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */[part=generated-text]{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}[part=generated-text].cursor:after{animation:cursor-blink 1.5s steps(2) infinite;background-color:var(--atomic-neutral-dark);content:"";display:inline-block;height:1em;margin-left:.1em;vertical-align:text-bottom;width:8px}`;
|
|
15366
|
+
const generated_text_tw_css = styles$9;
|
|
15213
15367
|
|
|
15214
15368
|
const baseStyle = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@keyframes cursor-blink{0%{opacity:0}}@keyframes generation-steps-rolodex{0%{opacity:.75;transform:translateY(105%)rotateX(-82deg)}to{opacity:1;transform:translateY(0)rotateX(0)}}[part=container]{contain:layout;container-type:inline-size}.footer{display:flex}.footer .source-citations{margin-right:calc(var(--spacing,.25rem)*2)}@container (max-width:37.5rem){.footer{flex-direction:column;gap:calc(var(--spacing,.25rem)*4)}.footer .source-citations{margin-right:calc(var(--spacing,.25rem)*0)}[part=generated-answer-footer]{flex-direction:column;gap:calc(var(--spacing,.25rem)*1)}}@media not all and (min-width:768px){.footer{flex-direction:column;gap:calc(var(--spacing,.25rem)*4)}.footer .source-citations{margin-right:calc(var(--spacing,.25rem)*0)}[part=generated-answer-footer]{flex-direction:column;gap:calc(var(--spacing,.25rem)*1)}}@container (max-width:25rem){.footer{margin-top:calc(var(--spacing,.25rem)*4)}.footer .feedback-buttons{position:relative;right:calc(var(--spacing,.25rem)*0);top:calc(var(--spacing,.25rem)*0)}}.is-collapsible{justify-content:space-between}.is-collapsible [part=answer-show-button]{display:flex}[part=header-icon]{color:var(--atomic-primary)}[part=feedback-and-copy-buttons]{min-width:var(--atomic-generated-answer-actions-reserved-width,8rem)}[part=header-icon] svg,[part=header-icon] svg *{fill:currentColor;stroke:currentColor}.generating-label-visible [part=is-generating]{display:flex}[part=agent-generation-status] .generation-steps-container{display:inline-flex;overflow:hidden;perspective:700px}[part=agent-generation-status] .generation-steps-value{animation:generation-steps-rolodex 1s cubic-bezier(.22,.9,.26,1) both;backface-visibility:hidden;display:inline-block;transform-origin:50% 100%;white-space:nowrap;will-change:transform}[part=generated-container].answer-collapsed{max-height:var(--atomic-crga-collapsed-height,16rem);overflow:hidden;position:relative}[part=generated-container].answer-collapsed:before{background:linear-gradient(transparent calc(var(--atomic-crga-collapsed-height,16rem)*.7),var(--atomic-background));content:"";height:100%;left:calc(var(--spacing,.25rem)*0);position:absolute;top:calc(var(--spacing,.25rem)*0);width:100%}[part=generated-container].answer-collapsed .feedback-buttons{display:none}[part=generated-content-container] .agent-scrollable{height:var(--atomic-generated-answer-content-fixed-height,50vh);overflow-y:auto}.query-text{-webkit-line-clamp:3;text-overflow:ellipsis;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}`;
|
|
15215
15369
|
const generated_answer_tw_css = [
|
|
@@ -15222,6 +15376,117 @@ const generated_answer_tw_css = [
|
|
|
15222
15376
|
|
|
15223
15377
|
const atomic_generated_answer_tw_css = generated_answer_tw_css;
|
|
15224
15378
|
|
|
15379
|
+
const styles$8 = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */:host{display:inline}a{color:var(--atomic-primary);text-decoration-line:none}a [part=answer-link-text]{text-decoration-line:underline}.icon-wrapper{display:inline-block;height:1em;vertical-align:text-bottom;width:1em}`;
|
|
15380
|
+
const atomic_generated_answer_inline_link_tw_css = styles$8;
|
|
15381
|
+
|
|
15382
|
+
const answerContext = context.createContext(Symbol('answer-id'));
|
|
15383
|
+
|
|
15384
|
+
function _ts_decorate$1p(decorators, target, key, desc) {
|
|
15385
|
+
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15386
|
+
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
15387
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
15388
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15389
|
+
}
|
|
15390
|
+
function _ts_metadata$1l(k, v) {
|
|
15391
|
+
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
15392
|
+
}
|
|
15393
|
+
class AtomicGeneratedAnswerInlineLink extends lit.LitElement {
|
|
15394
|
+
initialize() {
|
|
15395
|
+
if (this.answerId && this.href) this.interactiveLink = headless.buildInteractiveGeneratedAnswerInlineLink(this.bindings.engine, {
|
|
15396
|
+
options: {
|
|
15397
|
+
answerId: this.answerId,
|
|
15398
|
+
link: {
|
|
15399
|
+
linkText: this.textContent?.trim() || '',
|
|
15400
|
+
linkURL: this.href
|
|
15401
|
+
}
|
|
15402
|
+
}
|
|
15403
|
+
});
|
|
15404
|
+
}
|
|
15405
|
+
render() {
|
|
15406
|
+
return lit.html`
|
|
15407
|
+
<a
|
|
15408
|
+
part="answer-link"
|
|
15409
|
+
href=${this.href}
|
|
15410
|
+
title=${ifDefined_js.ifDefined(this.title || void 0)}
|
|
15411
|
+
target="_blank"
|
|
15412
|
+
rel="noopener noreferrer"
|
|
15413
|
+
@click=${this.handleSelect}
|
|
15414
|
+
@contextmenu=${this.handleSelect}
|
|
15415
|
+
@mousedown=${this.handleSelect}
|
|
15416
|
+
@mouseup=${this.handleSelect}
|
|
15417
|
+
@touchstart=${this.handleBeginDelayedSelect}
|
|
15418
|
+
@touchend=${this.handleCancelPendingSelect}
|
|
15419
|
+
>
|
|
15420
|
+
<span part="answer-link-text"><slot></slot></span>
|
|
15421
|
+
<span class="icon-wrapper">
|
|
15422
|
+
<svg
|
|
15423
|
+
part="answer-link-icon"
|
|
15424
|
+
width="100%"
|
|
15425
|
+
height="100%"
|
|
15426
|
+
viewBox="0 0 640 640"
|
|
15427
|
+
aria-hidden="true"
|
|
15428
|
+
focusable="false"
|
|
15429
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
15430
|
+
>
|
|
15431
|
+
<path
|
|
15432
|
+
fill="currentColor"
|
|
15433
|
+
d="M354.4 83.8C359.4 71.8 371.1 64 384 64L544 64C561.7 64 576 78.3 576 96L576 256C576 268.9 568.2 280.6 556.2 285.6C544.2 290.6 530.5 287.8 521.3 278.7L464 221.3L310.6 374.6C298.1 387.1 277.8 387.1 265.3 374.6C252.8 362.1 252.8 341.8 265.3 329.3L418.7 176L361.4 118.6C352.2 109.4 349.5 95.7 354.5 83.7zM64 240C64 195.8 99.8 160 144 160L224 160C241.7 160 256 174.3 256 192C256 209.7 241.7 224 224 224L144 224C135.2 224 128 231.2 128 240L128 496C128 504.8 135.2 512 144 512L400 512C408.8 512 416 504.8 416 496L416 416C416 398.3 430.3 384 448 384C465.7 384 480 398.3 480 416L480 496C480 540.2 444.2 576 400 576L144 576C99.8 576 64 540.2 64 496L64 240z"
|
|
15434
|
+
/>
|
|
15435
|
+
</svg>
|
|
15436
|
+
</span>
|
|
15437
|
+
</a>
|
|
15438
|
+
`;
|
|
15439
|
+
}
|
|
15440
|
+
handleSelect() {
|
|
15441
|
+
this.interactiveLink?.select();
|
|
15442
|
+
}
|
|
15443
|
+
handleBeginDelayedSelect() {
|
|
15444
|
+
this.interactiveLink?.beginDelayedSelect();
|
|
15445
|
+
}
|
|
15446
|
+
handleCancelPendingSelect() {
|
|
15447
|
+
this.interactiveLink?.cancelPendingSelect();
|
|
15448
|
+
}
|
|
15449
|
+
constructor(...args){
|
|
15450
|
+
super(...args), this.initialized = false, this.href = '', this.title = '';
|
|
15451
|
+
}
|
|
15452
|
+
}
|
|
15453
|
+
AtomicGeneratedAnswerInlineLink.styles = atomic_generated_answer_inline_link_tw_css;
|
|
15454
|
+
_ts_decorate$1p([
|
|
15455
|
+
context.consume({
|
|
15456
|
+
context: answerContext
|
|
15457
|
+
}),
|
|
15458
|
+
_ts_metadata$1l("design:type", Object)
|
|
15459
|
+
], AtomicGeneratedAnswerInlineLink.prototype, "answerId", void 0);
|
|
15460
|
+
_ts_decorate$1p([
|
|
15461
|
+
decorators_js.state(),
|
|
15462
|
+
_ts_metadata$1l("design:type", "u" < typeof AnyBindings ? Object : AnyBindings)
|
|
15463
|
+
], AtomicGeneratedAnswerInlineLink.prototype, "bindings", void 0);
|
|
15464
|
+
_ts_decorate$1p([
|
|
15465
|
+
decorators_js.state(),
|
|
15466
|
+
_ts_metadata$1l("design:type", "u" < typeof Error ? Object : Error)
|
|
15467
|
+
], AtomicGeneratedAnswerInlineLink.prototype, "error", void 0);
|
|
15468
|
+
_ts_decorate$1p([
|
|
15469
|
+
decorators_js.property({
|
|
15470
|
+
reflect: true
|
|
15471
|
+
})
|
|
15472
|
+
], AtomicGeneratedAnswerInlineLink.prototype, "href", void 0);
|
|
15473
|
+
_ts_decorate$1p([
|
|
15474
|
+
decorators_js.property({
|
|
15475
|
+
reflect: true
|
|
15476
|
+
})
|
|
15477
|
+
], AtomicGeneratedAnswerInlineLink.prototype, "title", void 0);
|
|
15478
|
+
_ts_decorate$1p([
|
|
15479
|
+
bindingGuard(),
|
|
15480
|
+
errorGuard(),
|
|
15481
|
+
_ts_metadata$1l("design:type", Function),
|
|
15482
|
+
_ts_metadata$1l("design:paramtypes", []),
|
|
15483
|
+
_ts_metadata$1l("design:returntype", void 0)
|
|
15484
|
+
], AtomicGeneratedAnswerInlineLink.prototype, "render", null);
|
|
15485
|
+
AtomicGeneratedAnswerInlineLink = _ts_decorate$1p([
|
|
15486
|
+
decorators_js.customElement('atomic-generated-answer-inline-link'),
|
|
15487
|
+
bindings()
|
|
15488
|
+
], AtomicGeneratedAnswerInlineLink);
|
|
15489
|
+
|
|
15225
15490
|
/**
|
|
15226
15491
|
* marked v12.0.2 - a markdown parser
|
|
15227
15492
|
* Copyright (c) 2011-2024, Christopher Jeffrey. (MIT Licensed)
|
|
@@ -17695,6 +17960,12 @@ const customRenderer = {
|
|
|
17695
17960
|
const tag = ordered && 1 !== start ? `<${type} part="${part}" start="${start}">` : `<${type} part="${part}">`;
|
|
17696
17961
|
return `${tag}${body}</${type}>`;
|
|
17697
17962
|
},
|
|
17963
|
+
link (href, title, text) {
|
|
17964
|
+
const titleAttribute = title ? ` title="${escapeHtml(title)}"` : '';
|
|
17965
|
+
const safeHref = href ? escapeHtml(href) : '';
|
|
17966
|
+
if (!safeHref) return `<span>${text}</span>`;
|
|
17967
|
+
return `<atomic-generated-answer-inline-link href="${safeHref}"${titleAttribute}>${text}</atomic-generated-answer-inline-link>`;
|
|
17968
|
+
},
|
|
17698
17969
|
listitem (text) {
|
|
17699
17970
|
const unwrappedText = text.replace(/^<p[^>]*>/, '').replace(/<\/p>\n?$/, '');
|
|
17700
17971
|
const withClosedElement = completeUnclosedElement(unwrappedText);
|
|
@@ -17727,7 +17998,11 @@ const renderGeneratedMarkdownContent = ({ props })=>{
|
|
|
17727
17998
|
const answerAsHtml = purify.sanitize(transformMarkdownToHtml(props.answer ?? ''), {
|
|
17728
17999
|
ADD_ATTR: [
|
|
17729
18000
|
'part'
|
|
17730
|
-
]
|
|
18001
|
+
],
|
|
18002
|
+
CUSTOM_ELEMENT_HANDLING: {
|
|
18003
|
+
tagNameCheck: /^atomic-generated-answer-inline-link$/,
|
|
18004
|
+
attributeNameCheck: /^(href|title)$/
|
|
18005
|
+
}
|
|
17731
18006
|
});
|
|
17732
18007
|
return lit.html`
|
|
17733
18008
|
<div
|
|
@@ -17932,6 +18207,7 @@ class AtomicGeneratedAnswerContent extends lit.LitElement {
|
|
|
17932
18207
|
}
|
|
17933
18208
|
render() {
|
|
17934
18209
|
const { answer, answerContentFormat, isStreaming, generationSteps, citations = [], answerId, error, cannotAnswer } = this.generatedAnswer || {};
|
|
18210
|
+
this.answerId = answerId || '';
|
|
17935
18211
|
if (error) return this.renderError();
|
|
17936
18212
|
if (cannotAnswer) return this.renderCannotAnswer();
|
|
17937
18213
|
if (!answerId) return lit.html``;
|
|
@@ -18034,12 +18310,17 @@ class AtomicGeneratedAnswerContent extends lit.LitElement {
|
|
|
18034
18310
|
`;
|
|
18035
18311
|
}
|
|
18036
18312
|
constructor(...args){
|
|
18037
|
-
super(...args), this.renderCitations = ()=>lit.html``, this.onClickLike = ()=>{}, this.onClickDislike = ()=>{}, this.onCopyToClipboard = ()=>{}, this.copyState = 'idle';
|
|
18313
|
+
super(...args), this.answerId = '', this.renderCitations = ()=>lit.html``, this.onClickLike = ()=>{}, this.onClickDislike = ()=>{}, this.onCopyToClipboard = ()=>{}, this.copyState = 'idle';
|
|
18038
18314
|
}
|
|
18039
18315
|
}
|
|
18040
18316
|
AtomicGeneratedAnswerContent.styles = [
|
|
18041
18317
|
atomic_generated_answer_tw_css
|
|
18042
18318
|
];
|
|
18319
|
+
_ts_decorate$1o([
|
|
18320
|
+
context.provide({
|
|
18321
|
+
context: answerContext
|
|
18322
|
+
})
|
|
18323
|
+
], AtomicGeneratedAnswerContent.prototype, "answerId", void 0);
|
|
18043
18324
|
_ts_decorate$1o([
|
|
18044
18325
|
decorators_js.property({
|
|
18045
18326
|
attribute: false
|
|
@@ -20290,12 +20571,12 @@ class GeneratedAnswerController {
|
|
|
20290
20571
|
if (!state) return '';
|
|
20291
20572
|
const isHidden = !state.isVisible;
|
|
20292
20573
|
const isGenerating = !!state.isStreaming;
|
|
20293
|
-
const
|
|
20574
|
+
const hasNonEmptyAnswer = !!state.answer?.trim();
|
|
20294
20575
|
const hasError = !!state.error;
|
|
20295
20576
|
if (isHidden) return bindings.i18n.t('generated-answer-hidden');
|
|
20296
20577
|
if (isGenerating) return bindings.i18n.t('generating-answer');
|
|
20297
20578
|
if (hasError) return bindings.i18n.t('answer-could-not-be-generated');
|
|
20298
|
-
if (
|
|
20579
|
+
if (hasNonEmptyAnswer) return bindings.i18n.t('answer-generated', {
|
|
20299
20580
|
answer: state.answer
|
|
20300
20581
|
});
|
|
20301
20582
|
return '';
|
|
@@ -20307,7 +20588,10 @@ class GeneratedAnswerController {
|
|
|
20307
20588
|
}
|
|
20308
20589
|
get hasNoAnswerGenerated() {
|
|
20309
20590
|
const { answer, citations } = this.options.getGeneratedAnswerState() ?? {};
|
|
20310
|
-
|
|
20591
|
+
const isAnswerEmpty = !answer?.trim();
|
|
20592
|
+
const hasNoCitations = !citations?.length;
|
|
20593
|
+
const hasNoRetryableError = !this.hasRetryableError;
|
|
20594
|
+
return isAnswerEmpty && hasNoCitations && hasNoRetryableError;
|
|
20311
20595
|
}
|
|
20312
20596
|
get isAnswerVisible() {
|
|
20313
20597
|
return !!this.options.getGeneratedAnswerState()?.isVisible;
|