1import { c as e, o as t, s as n } from "./index-3f35facaBX8as_Jd.js"; 2import { pn as r } from "./templates-managerBkYu4lmL.js"; 3import "./esmDc86wdRn.js"; 4import "./stencil-item-decorators-6c453c11tzShwdP_.js"; 5import { n as i } from "./stencil-result-template-decorators-f989bc6bCC8Umc14.js"; 6import "./purify-c7ebd240DkaZp2jN.js"; 7import "./utils-6400ebdeCTjtEpHS.js"; 8import { n as a } from "./props-utils-6040b5d2DTtSRiAN.js"; 9import "./item-layout-sections-26123790DKM7vMvc.js"; 10import { r as o } from "./stencil-result-template-common-7dc3918aBM8vjgmx.js"; 11//#region node_modules/@coveo/atomic/dist/esm/atomic-field-condition.entry.js 12var s = "atomic-field-condition{max-width:100%}", c = function(e, t, n, r) { 13 var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o; 14 if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r); 15 else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a); 16 return i > 3 && a && Object.defineProperty(t, n, a), a; 17}, l = class { 18 constructor(t) { 19 e(this, t), this.mustMatch = {}, this.mustNotMatch = {}, this.conditions = [], this.shouldBeRemoved = !1, this.ifDefined = void 0, this.ifNotDefined = void 0, this.mustMatch = {}, this.mustNotMatch = {}; 20 } 21 componentWillLoad() { 22 if (this.ifDefined) { 23 let e = this.ifDefined.split(","); 24 this.conditions.push(r.fieldsMustBeDefined(e)); 25 } 26 if (this.ifNotDefined) { 27 let e = this.ifNotDefined.split(","); 28 this.conditions.push(r.fieldsMustNotBeDefined(e)); 29 } 30 this.conditions.push(...o(this.mustMatch, this.mustNotMatch)); 31 } 32 render() { 33 return this.conditions.every((e) => e(this.result)) ? n("slot", null) : (this.shouldBeRemoved = !0, ""); 34 } 35 componentDidLoad() { 36 this.shouldBeRemoved && this.host.remove(); 37 } 38 get host() { 39 return t(this); 40 } 41}; 42c([a({ splitValues: !0 })], l.prototype, "mustMatch", void 0), c([a({ splitValues: !0 })], l.prototype, "mustNotMatch", void 0), c([i()], l.prototype, "result", void 0), l.style = s; 43//#endregion 44export { l as atomic_field_condition };
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.